Build JavaScript "Android App" with android | Sololearn: Learn to code for FREE!

+1

Build JavaScript "Android App" with android

A tool for javascript android programming in android My system is android(not windows) Dont send a tool for windows Only only only android Example: let wv1 = findViewById(R.id.wv1)

20 Answers

New Answer

+3

Perhaps you can find some answers here. https://www.quora.com/Can-we-create-APK-files-in-Android-mobiles

+3

Sorry but what you want to attempt relies on you being able to understand the instructions or documentation that are given.. Use a search engine to find more info about the issues you are seeing. Browse a technical forum about the software you are using. Or just learn more about coding and the tools that are needed in general. Good luck.

+2

Maybe is not that you want exactly, but see here https://play.google.com/store/apps/details?id=com.smartphoneremote.androidscriptfree

+2

aliz6398suisiTerminatorEmpireBot If im not wrong, the plugin for build apks is a premium feature

+2

aliz6398suisiTerminatorEmpireBot The site i linked isn't about the program KrOW mentioned. The site is about other solutions that are available.

+2

https://appsgeyser.com/blog/convert-html-to-apk-for-free/

+1

KrOW Can you guide me how to use this program(create android apk with this program)?

+1

Chris Coder There is nothing on that website, this program keeps saying that the plugin must be installed, how should I do this?

+1

https://www.webintoapp.com/html-to-app

+1

Then simply create a document and name it MainActivity.js

+1

Also How do you intend to build a Android app with JS? You need a frame work. https://android-js.github.io/

+1

You are right it is not possible to run native app written in JavaScript on Andorid. But I have provided you tools and information to convert webapps into APK. You're running around in circles.

0

KrOW How should we install it? It does not install

0

Chris Coder I want to do this with javascript a example code class MainActivity extends Activity{ function onCreate(savedInstanceState){ super.onCreate(savedInstanceState) setContentView(R.layout.activity_main) let x = findViewById(R.id.b1) y = findViewById(R.id.wv) x.setOnClickListener(new View.OnClickListener(){ function onClick(v){ y.loadUrl("http://www.google.com") } }) z = Toast.makeText(MainActivity.this,"text",1) z.show() } }

0

Chris Coder We did not mean to create programs with html, but we meant to use JavaScript syntax instead of Java syntax. Our intention is to write the MainActivity file with JavaScript Filename : MainActivity.js We want to have built-in JavaScript functions Example:eval()

0

Chris Coder It is not possible because there is no tool to compile it, for example, format it as kt and write it with Kotlin, the program "crash" during execution.

0

On the website, it says to write $node7, but this is not a programming code, and how should I run it?

0

1- Write a program that has variables to store Car data like: CarModel, CarName, CarPrice And CarOwner. The program should include functions to assign user defined values to the above mentioned variable and a display function to show the values. Write a main that calls these functions. Now write another runner class that declares three Car Objects and displays the data of all three.

0

1- Write a program that has variables to store Car data like: CarModel, CarName, CarPrice And CarOwner. The program should include functions to assign user defined values to the above mentioned variable and a display function to show the values. Write a main that calls these functions. Now write another runner class that declares three Car Objects and displays the data of all three.

0

There is an Droid Script IDE for Android, you can use it.