[Q] Can I run java on Galaxy i5500??? - General Topics

Guyz help me use java on my fone. Plz!!!!

No, if you mean *.jar package (Java ARchive). You can only translate jar's application to Dalvik bytecode (Micro Emulator or Android J2ME Runner).
Yes, if you want to program some new application in Java (programming language). You need to Eclipse (Development Environments) and Android SDK.

Related

help needed with jar files

Hi guys
m new to J2ME programming. i built a small application through java wireless toolkit 2.5.2..... it run well in the emulators provided with the tool kit. but when i deploy that application in my HTC pharos it gives an error "JAD CHECKING FAILED" .......Please someone help me out with it........
jad
.
Try this:
Convert j2me MIDP (jad) into Android package (apk)
.
You need to keep the java files,jad,exe file in same folder

[Q] Any way to compile java programs in android ?

Is there a way to compile .java file to .class file and execute it
I wanted to compile c/c++/java programs, not for my phone but in my phone...
I searched but did not find an easy way for it.
At last I found out a real easy way to compile c/c++ by using adosbox for android.
I copied the turbo c 'tc' folder from my pc to my sdcard and used adosbox like command promt to go to 'bin' folder in tc and start tc.exe...
Then I could easily write and compile programs just like i did on the pc
But still no luck for java programs...
I copied the reqired java folder and then used adosbox to run the command "javac file.java" but it said "This Program Cannot Be Run in DOS Mode"
So if there is any other way to compile java programs in my phone
please help
Thanx in advance
Try looking at Eclipse, although Eclipse is a large desktop IDE, it includes its own Java compiler written in Java (in the part called "JDT core"), and if (as I hope) that Java compiler is not copyrighted by Sun/Oracle, you (or someone else already maybe) may be able to compile that part of Eclipse into a "native" Dalvik/Android App.
Googling the issue, I see that others have been asking for an Android port of Eclipse too, so maybe there will be some momentum going for this soon.

SDK has reduced API

Please help.
I need repack android.jar
Yesterday i read android source codes and i realize that classes have more methods than casual sdk provide.
So
1.download android 2.2 rev 1.1
2.Unjar it
3.unjar android 2.2 rev 3 from sdk
4.Replace classes
5.repack to jar
6.rewrite android.jar in sdk folder
Some classes causes warning due to missing objects. So you can delete them or replace from default.
But i have problem with classes that does not been in native android.jar. eclipse see namespace of package but classes not.
Idea: because android.jar contain only empty stub classes. it is only compiler reference and eclipse use it only to know android api.
So is absolutely right add stub if they exist in android system.
Question: why android not support all api functions?
Is somewhere cookbook "how to"
Create own android.jar?
"Try google" is not answer.
Sent from my HTC Wildfire using XDA App

Port Java Apps to android To run Without Emulator

Porting Java apps To Android For Running them Without Emulator
I have seen many java apps ported to android.
i.e. uc browser, opera mod.
They run without any emulator like netmite.
Can any1 help me on how to make java app an android app that doesnt need any emulator.
I know how to convert .jar to .apk with netmite online.
THANX EVERY1!!

java decompiler required for android phone

I want to decompile .class file to .java file in my android mobile. i tried 5-6 apps from playstore but it's not working.
Please suggest me any app and procedure also

Categories

Resources