+ 2
how to transform my codes js to real application that can run in Android's system or other system mobile?
hi guys...most of the time I write programs by JavaScript as applications but the problem that these programs remain as files with the extension .html or .js . there are any possibilities to transform my programs codes to real applications can run in the operating system like android or other systems mobiles
6 Answers
+ 2
Node.js -> Electron for cross platform desktop app.
for mobile, as oh Common says ReactNative
ReactNative
https://www.sololearn.com/post/93189/?ref=app
https://www.sololearn.com/post/182934/?ref=app
https://www.sololearn.com/post/144238/?ref=app
https://code.sololearn.com/WKKkpq0efxai/?ref=app
+ 4
This is actually very easy to do but would reccomend making apps in java or kotlin because although the process is easy to make a hybrid app using html,javacsript and css getting ads to work is a nightmare and you will lose alot of $$ to third party github plugins as the developer takes a small percentage each time.
+ 3
Martin Taylor I've never heard about them, I'll probably take a look! Thanks
+ 2
I would recommend taking a look at react-native, it's a framework for building native apps with React. It's well documented and there are plenty of courses out there. https://github.com/facebook/react-native
To be more specific about your question, I don't think you can run native code just from changing the extension.
+ 1
thanks guys.. of course it's impossible to make application based in code program by changing extension of the file.. for example file.js or file.html to file.apk..that's illogical way I know.