How to convert my codes into an app? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 3

How to convert my codes into an app?

And how i can i upload it to the play store !!?

28th May 2017, 5:14 PM
Miral Thakkar
Miral Thakkar - avatar
18 Answers
+ 4
learn java and Android app development. then place all codes in assests . read it and display it on your app
28th May 2017, 5:23 PM
MR Programmer
MR Programmer - avatar
+ 4
web codes or any specific language
28th May 2017, 5:26 PM
MR Programmer
MR Programmer - avatar
+ 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.
28th May 2017, 5:39 PM
MR Programmer
MR Programmer - avatar
+ 3
one more question do you want a app that display code and its output explain a little more, maybe i can help you
28th May 2017, 5:32 PM
MR Programmer
MR Programmer - avatar
+ 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")
28th May 2017, 5:38 PM
Nomeh Uchenna Gabriel
Nomeh Uchenna Gabriel - avatar
+ 2
Where's the code
28th May 2017, 5:21 PM
Nomeh Uchenna Gabriel
Nomeh Uchenna Gabriel - avatar
+ 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
28th May 2017, 5:41 PM
LordHill
LordHill - avatar
+ 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
28th May 2017, 5:31 PM
Nomeh Uchenna Gabriel
Nomeh Uchenna Gabriel - avatar
+ 1
@nomeh uchenna gabriel. sorry it's mistake ..i am a newbie..thanks to rectify.
28th May 2017, 5:39 PM
Miral Thakkar
Miral Thakkar - avatar
+ 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
30th May 2017, 12:03 PM
Miral Thakkar
Miral Thakkar - avatar
0
@nomeh uchenna gabriel. i am asking about the process to make any code to an app...is there any process !?!
28th May 2017, 5:23 PM
Miral Thakkar
Miral Thakkar - avatar
0
Mr Programmer i am currently working on c++ and I am already having some instance about HTML and Python
28th May 2017, 5:30 PM
Miral Thakkar
Miral Thakkar - avatar
0
@nomeh uchenna gabriel i want to convert c++ and Python programs to an app...
28th May 2017, 5:32 PM
Miral Thakkar
Miral Thakkar - avatar
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 ..
28th May 2017, 5:37 PM
Miral Thakkar
Miral Thakkar - avatar
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 !?
28th May 2017, 5:48 PM
Miral Thakkar
Miral Thakkar - avatar
28th May 2017, 5:50 PM
LordHill
LordHill - avatar
0
Can I run a game's code and play it in Sololearn app?
2nd May 2023, 3:13 PM
Tauhid F.C.
Tauhid F.C. - avatar
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()
6th Apr 2024, 6:37 PM
Hair Colour
Hair Colour - avatar