+ 3
How to convert my codes into an app?
And how i can i upload it to the play store !!?
18 Respostas
+ 4
learn java and Android app development.
then place all codes in assests .
read it and display it on your app
+ 4
web codes or any specific language
+ 4
it would be a very difficult task . you have to build a compiler that compiles code on Android app and ask user for input.
simple way to.learn java and convert your code to java and build the app.
+ 3
one more question do you want a app that display code and its output
explain a little more, maybe i can help you
+ 3
Yeah that will result to a non cross platform app but you shouldn't use ("convert c++ and python programs")
rather
("make an app with c++ and python")
+ 2
Where's the code
+ 2
Learn Java. Download Android Studio.
After you build and test goto Google and search for Google Developer console.. Get out your credit card and pay the one time developer fee of $25. Follow the guidelines and post your app to the playstore
+ 1
If you're thinking about how to use markup languages to make apps then there's no solution to your problem, because at least one programming language is needed to make an app
+ 1
@nomeh uchenna gabriel. sorry it's mistake ..i am a newbie..thanks to rectify.
+ 1
what if I want to convert my c++ program into java one !? so I can easily add it in android studio. to make my app
0
@nomeh uchenna gabriel. i am asking about the process to make any code to an app...is there any process !?!
0
Mr Programmer i am currently working on c++ and I am already having some instance about HTML and Python
0
@nomeh uchenna gabriel i want to convert c++ and Python programs to an app...
0
@Mr Programmer No.. only the output must be displayed ...
let's say a simple bodmas calculator then the app should only ask user inputs not display the codes ..
0
@justin Hill Only by learning java, an app can be made ? i mean what if I want to use Python or c++ or any other language !?
0
You can use various languages for app design
http://www.androidauthority.com/want-develop-android-apps-languages-learn-391008/
0
Can I run a game's code and play it in Sololearn app?
0
import 'package:flutter/material.dart';
import 'package:video_player/video_player.dart';
import 'package:flutter_ffmpeg/flutter_ffmpeg.dart';
void main() {
runApp(MyApp());
}
class MyApp extends StatelessWidget {
@override
Widget build(BuildContext context) {
return MaterialApp(
title: 'Video Editor',
theme: ThemeData(
primarySwatch: Colors.blue,
),
home: VideoEditorScreen(),
);
}
}
class VideoEditorScreen extends StatefulWidget {
@override
_VideoEditorScreenState createState() => _VideoEditorScreenState();
}
class _VideoEditorScreenState extends State<VideoEditorScreen> {
VideoPlayerController _controller;
FlutterFFmpeg _flutterFFmpeg = FlutterFFmpeg();
@override
void initState() {
super.initState();
_controller = VideoPlayerController.network(
'https://www.sample-videos.com/video123/mp4/720/big_buck_bunny_720p_1mb.mp4')
..initialize().then((_) {
setState(() {});
});
}
@override
Widget build(BuildContext context) {
return Scaffold(
appBar: AppBar(
title: Text('Video Editor'),
),
body: Center(
child: _controller.value.isInitialized
? AspectRatio(
aspectRatio: _controller.value.aspectRatio,
child: VideoPlayer(_controller),
)
: CircularProgressIndicator(),
),
floatingActionButton: FloatingActionButton(
onPressed: _trimVideo,
tooltip: 'Trim Video',
child: Icon(Icons.edit),
),
);
}
void _trimVideo() async {
String outputPath = '/path/to/trimmed/video.mp4';
String command =
'-i /path/to/input/video.mp4 -ss 00:00:10 -to 00:00:20 -c copy $outputPath';
setState(() {
_controller.pause();
});
await _flutterFFmpeg.execute(command);
setState(() {
_controller = VideoPlayerController.file(File(outputPath))
..initialize().then((_) {
setState(() {});
});
});
}
@override
void dispose()