Contents
No, it is not possible to run java source code directly on android because, android uses Davik Virtual Machine and not traditional JVM.
Is it possible to run java code directly on Android?
You can use JBED. JBED is an . apk Android application which run java games and app on your android Device. JBED is a java android emulator, by using this application we can install .
How do I run a java program on my phone?
Step 1: Create a new project
- Open Android Studio.
- In the Welcome to Android Studio dialog, click Start a new Android Studio project.
- Select Basic Activity (not the default). …
- Give your application a name such as My First App.
- Make sure the Language is set to Java.
- Leave the defaults for the other fields.
- Click Finish.