[Q] Compiling and running Java in nook? - Nook Color Q&A, Help & Troubleshooting

Is there any way to compile and run java in nook or any android device?
So far I've found Terminal IDE, it compiles it, but it doesn't run it.
Thanks for any help.

Have you tried the program "Eclipse"? That is a Java runtime tool that is used by the developers to run Java programs. There is also some videos you can watch on cyanogenMods wiki to show you how to use and run that program. The wiki for this tool can be found here. http://en.wikipedia.org/wiki/Eclipse_(software)
Here is the website for this tool. http://www.eclipse.org/

Yes, I use eclipse. Perhaps you misunderstood my question, I'm asking if there is any way to compile java choose and run in in my nook color. The question is because I'm always in the road, usually in the subway.
Thanks
Sent from my Incredible 2 using XDA

joanchoma said:
Yes, I use eclipse. Perhaps you misunderstood my question, I'm asking if there is any way to compile java choose and run in in my nook color. The question is because I'm always in the road, usually in the subway.
Click to expand...
Click to collapse
I haven't tried it, but it sounds like you want something like this to allow editing and compiling directly on your Android device.

You can use Botbrew. It has jamvm working pretty well in Anise.
It has the JRE and JDK in the Basil dpkg version, but I haven't played with that yet. But with jamvm you can write your code with something like droidedit or use the terminal.
I have used AIDE, but it seems to be made for a very specific thing. I am just more comfortable working out of a terminal. Maybe the more familar with IDEs would feel otherwise.

joanchoma said:
Is there any way to compile and run java in nook or any android device?
So far I've found Terminal IDE, it compiles it, but it doesn't run it.
Thanks for any help.
Click to expand...
Click to collapse
joanchoma said:
Yes, I use eclipse. Perhaps you misunderstood my question,
Click to expand...
Click to collapse
Nothing to misunderstand if you did not include that in your original question now is there? So obtuse.

Related

Can install .Net CF2 on PPC2002 Device?

How to install .net cf2 on ppc2002 device?
fantom2007 said:
How to install .net cf2 on ppc2002 device?
Click to expand...
Click to collapse
Here ya' go. Install to the device, not the storage card.
Next time please search for your needs before posting.
ThankU.
I'm having file upload problems at the moment. Anywhere you see my name (in blue) click on it, then click on find all posts made by me. You should find the cab file where I posted in previous threads.
hotdog53 said:
Here ya' go. Install to the device, not the storage card.
Next time please search for your needs before posting.
ThankU.
I'm having file upload problems at the moment. Anywhere you see my name (in blue) click on it, then click on find all posts made by me. You should find the cab file where I posted in previous threads.
Click to expand...
Click to collapse
Download the file from here:
www.ppcfreewarez.com
bottom of page.
hotdog53 said:
Download the file from here:
www.ppcfreewarez.com
bottom of page.
Click to expand...
Click to collapse
Well, actually, it's the WM5-only CAB file of the very first version (after that, two Service Packs have been released; the latest can be found at http://www.winmobiletech.com/sekalaiset/CF2SP2/ for both WM5+ and WM2003(SE)). Completely useless on a PPC2k2 device.
CF2, in general, isn't compatible with PPC2k2 at all. There MIGHT be hacks that made it work on WinCE 3.0-based devices but I don't know of any of them.
Thank for all.
For reason, I created 1st "Hello world" in vs2005 and debug & deploy it in to ppc2002 device but vs2005 show alert "Can't not deploy to your device, It not supported"
.....
Sorry my English so bad.
fantom2007 said:
Thank for all.
For reason, I created 1st "Hello world" in vs2005 and debug & deploy it in to ppc2002 device but vs2005 show alert "Can't not deploy to your device, It not supported"
.....
Sorry my English so bad.
Click to expand...
Click to collapse
Try compiling it for CF1.
I know this sounds very rude and I apologize in advance but I just can't stop my self from saying it:
Try using a real programing language
Seriously though, VS 2005 is not a good tool if you want to develop for devices as old as those based on PPC 2002.
It doesn't even recognize the SDK for that platform.
That among other things means you will have to deploy manually and will not be able to use any of the remote tools including the debugger.
Plus, having to install CF 1 is not too pleasant for the users of these devices because it takes up quite a lot of precious RAM memory.
Personally I would recommend using eMbedded Visual C 3 (not 4!) for that particular platform.
If you do not know C/C++ you could try eMbedded VB (comes in same package as EVC 3).

[app]JAVA solution for phones with no JAVA

after all my hard work and no one helpong me i have done the update.zip to enable java on any phone most likely tried it on my HTC Desire with RCMix HD Rom that doesnt have the JAVA app in it
u can download from the attachments...
Sure guys u need RoOt
NOTE: DO Nandroid & Flash on your own Risk... but most important its working please test
Thanks too TheGhost1233 giving me one hint
if u like this just give me stars thanks
tnx bro ... that's amazing
JAVA is important
5 stars ..
l3zawi said:
tnx bro ... that's amazing
JAVA is important
5 stars ..
Click to expand...
Click to collapse
How is java important, android is based on java, an .apk is just a modified .jar and there are tools to change a .jar into an .apk so a jre or java vm isnt required
Nice. Can this use for website that require java applet security?
Sent from my HTC Desire using XDA App
java is very important for me thanks bro....
coolexe said:
java is very important for me thanks bro....
Click to expand...
Click to collapse
you r welcome
l3zawi said:
tnx bro ... that's amazing
JAVA is important
5 stars ..
Click to expand...
Click to collapse
AndroHero said:
How is java important, android is based on java, an .apk is just a modified .jar and there are tools to change a .jar into an .apk so a jre or java vm isnt required
Click to expand...
Click to collapse
this app can let u use any file that has a .jar or .jad ending and it has lots of usefull apps that u can u
najar360 said:
Nice. Can this use for website that require java applet security?
Sent from my HTC Desire using XDA App
Click to expand...
Click to collapse
i dont knw about that give it a try and tell me
overall this app is to make it easy to use java files so have fun and plz report if there is anything wrong i can do
thanks for this
but it doesn't seem to integrate into the browser.. i flashed it and went to java.com and it couldn't confirm that i have java installed. not sure if this was your goal, but it would have been awesome
omniwolf said:
thanks for this
but it doesn't seem to integrate into the browser.. i flashed it and went to java.com and it couldn't confirm that i have java installed. not sure if this was your goal, but it would have been awesome
Click to expand...
Click to collapse
:s that is something else this app is just to let JAVA files or apps work on the phone
Why is there no java.apk in this zip file? Also, recovery throws up an error: Unable to find "system/customize/MNS/52099.xml" in Manifest file or something like that when tried to flash this zip..
I get an error for a missing file system/customize/MNS/52099.xml and then it says verification failed... anyone know how to fix this
ashkool said:
Why is there no java.apk in this zip file? Also, recovery throws up an error: Unable to find "system/customize/MNS/52099.xml" in Manifest file or something like that when tried to flash this zip..
Click to expand...
Click to collapse
There is ... in sdext and then app_s
New update
K so i made this updated Java update that should work on everyone else's thats giving the error that it gave me so test it out and always do nandroid backups!!
how exactly do i use that once flashed? i have a .jad file but it wont work...the only way i've got it work is with foundation profile midp installed, and that is very ugly. not even sure about security since i want to use it for m-banking?
works on CM RC2 ?
Sorry , Mistakenly Posted.

[Q] I want to start coding some Android applications. Where to start from? Guides?

I've only studied pseudocode for only 2 years. And I want to learn how to code android apps. I downloaded the SDK. Installed the platform-tools and the API10 needed for the 2.3.3. I made a virtual device, but I get an error:
invalid command-line parameter: Files\Android\android-sdk\tools/emulator-arm.exe.
Hint: use '@foo' to launch a virtual device named 'foo'.
please use -help for more information
Also, I would like to ask for some links to learn how to code. Obviously, coding an Android application isn't ONLY done on Java, but C, C++ and some visual coding apps. So any help for your fellow Android friend? ^^;;
Hi,
How are you trying to launch the emulator? from SDK Manager or Eclipse?
In case you are trying to launch from Eclipse it seems like you SDK location is set incorrectly. Try changing Window->Preferences->Android->SDK location to:
c:\Progra~1\Android\android-sdk
Also, I would like to ask for some links to learn how to code. Obviously, coding an Android application isn't ONLY done on Java, but C, C++ and some visual coding apps. So any help for your fellow Android friend? ^^;;
Click to expand...
Click to collapse
Development is done mainly in Java using the SDK.
You can use the NDK and code in C++ but I wouldn't recommend it for a beginner.
Start with learning OOP in general, then learn Java, then read Android's developers guide. After that it really depends on what your app should do (e.g. for 2D games development learn AndEngine).
I don't have any links to offer. Just google it
Hello and thanks for the reply! No, I'm using the SDK. Fortunately, I found out what was going on and moved the folder From C:\Programs\ to C:\ That did the trick.
And finally, I made that virtual machine. And all I see is... an Android OS... How do I make an app now...? Seeing the Android OS doesn't help me... xD
How do I make an app now
Click to expand...
Click to collapse
Running an emulator won't teach you how to program
The emulator is just for running Android OS on your PC so you could test your applications even without a real device.
Be sure to follow all steps in http://developer.android.com/sdk/installing.html
They will guide you how to set up Eclipse IDE for android development.
After actually learning how to program in Java, follow http://developer.android.com/guide/index.html

[Q] APK

Whats the easiest yet effective way to create an apk???
and what languages do i need to learn??
can i make an apk as a base use itz xml layouts and make my own apk??
thanks for answering a Noob!
Prerequisites:
Android sdk
Eclipse juno/helios whatever
Java jdk 1.6
Knows Xml editing
Java language
Usable brain
If above requirements are fulfilled, then there is no problem in making an android app... Any questions, ask google! That guy is the guy I like to play with! You can see those search buttons, that tickles when you click... Or i meant to say poke. Tickle him and he gives you answers.
Sent from my GT-S5360 using xda app-developers app
Gaurav8651000 said:
Whats the easiest yet effective way to create an apk???
and what languages do i need to learn??
Click to expand...
Click to collapse
Do you know any programming language? Java is the best choice, because Android OS API is in Java, but you can also use C++ (NDK) or C# (Mono, Unity).
Eclipse basic should be good,
and VTS for finalizing and editing

[Q] Learning App Development.

So I would like to learn how to develop apps for the android OS. I'm not sure where I should put this (sorry if in wrong section). I would like to learn how to code and do all the steps in app development. I have absolutely ZERO experience in coding other then changing the dedicated RAM for Minecraft. If someone could tutor me maybe twice a week or link me to other forums that explain this sort of thing and provide support for people. I would be very happy for either if the two! Thank you guys!
Learning Java
Hi NamesBass
Android development is basically Java. I learned it from a while. The easiest way is to watch some YouTube videos. Also very helpful are the official tutorials and sample apps. You can find them here: developer.android.com/training (Sorry I haven't 10 posts yet so I can't post direct URLs). Then start coding and when you stuck somewhere use google and learn from it
~LoXeras
read book
read books, good books on programming - Android in 24 hours (loren Dersy( i ), Sheyn Kondor), and Android 2 ( Reto Mayer)
Thank you for the help.
Sent from my Nexus 5 using XDA Free mobile app
Thanks for your help. I'm going to start tonight.
Sent from my Nexus 5 using XDA Free mobile app
Java, java, java. Not JavaScript! Java, java, java!!!!
I'm having problems
LoXeras said:
Hi NamesBass
Android development is basically Java. I learned it from a while. The easiest way is to watch some YouTube videos. Also very helpful are the official tutorials and sample apps. You can find them here: developer.android.com/training (Sorry I haven't 10 posts yet so I can't post direct URLs). Then start coding and when you stuck somewhere use google and learn from it
~LoXeras
Click to expand...
Click to collapse
So I have run into trouble doing this lesson and I'm not sure why I didn't do it right. I thought I followed all the steps but my code lines and the ones on the website are different. Could you give your thoughts? Thanks!
gyazo.com(slash) febe01e0840369e9a4d6ebfc5c3abfea (ScreenShot)
NamesBass said:
So I have run into trouble doing this lesson and I'm not sure why I didn't do it right. I thought I followed all the steps but my code lines and the ones on the website are different. Could you give your thoughts? Thanks!
gyazo.com(slash) febe01e0840369e9a4d6ebfc5c3abfea (ScreenShot)
Click to expand...
Click to collapse
Use Android Studio download and work though the tutorials or android app development. loads of videos to follow. (Java)
uuugh
Just Call It said:
Use Android Studio download and work though the tutorials or android app development. loads of videos to follow. (Java)
Click to expand...
Click to collapse
okay so i downloaded that and tried to set it up but an error message came up saying I need to add an environment variable for JAVA_HOME. I did this and it went something like C: Program Files\Java\jre7\bin\Java and when I launched the program, it told me to direct it to JDK not jre7, but I dont have a JDK file. I did a system search and nothing came up.
NamesBass said:
okay so i downloaded that and tried to set it up but an error message came up saying I need to add an environment variable for JAVA_HOME. I did this and it went something like C: Program Files\Java\jre7\bin\Java and when I launched the program, it told me to direct it to JDK not jre7, but I dont have a JDK file. I did a system search and nothing came up.
Click to expand...
Click to collapse
You are pointing to the jre7 folder in Program Files/Java. You should change that to the jdk folder.
e.g. My JAVA_HOME variable is C:\Program Files\Java\jdk1.8.0_05
So I change jre7 to JDK(whatever)?
Sent from my Nexus 5 using XDA Free mobile app
how
hey please help me how to devlop own anrohd apps
Jogny said:
You are pointing to the jre7 folder in Program Files/Java. You should change that to the jdk folder.
e.g. My JAVA_HOME variable is C:\Program Files\Java\jdk1.8.0_05
Click to expand...
Click to collapse
Why are you using JDK 8 for Android? It's not officially supported by Android SDK. Do you see any improvements/problems in compare with JDK 7?

Categories

Resources