Related
I know I sound like a broken record, and I ask "Does this build support java" all the time for android builds
but most builds do not support java, or simply does not include a java J2ME runtime manager. So far I think only a build Zen put out months ago runs java apps and it ran them perfectly.
Instead of asking for it to be added all the time, I was wondering if there was some way that I could do it myself. Is there some magical .apk I can install?
(The one on the market is poor and does not work)
Any help would be appreciated, thank you.
skydirt said:
I know I sound like a broken record, and I ask "Does this build support java" all the time for android builds
but most builds do not support java, or simply does not include a java J2ME runtime manager. So far I think only a build Zen put out months ago runs java apps and it ran them perfectly.
Instead of asking for it to be added all the time, I was wondering if there was some way that I could do it myself. Is there some magical .apk I can install?
(The one on the market is poor and does not work)
Any help would be appreciated, thank you.
Click to expand...
Click to collapse
if you still have one of zens old builds with it in it you can pull the java.apk and the libjbed.so (something like that, its been a while). and you could try to push the lib into /system/lib and the apk into /system/app
The old xrom build has the files you need. The only problem is it doesn't seem to work in qvga.
zenulator said:
The old xrom build has the files you need. The only problem is it doesn't seem to work in qvga.
Click to expand...
Click to collapse
By qvga you mean, not 240x320? But it will still work under 320x480?
Could you please point me to that old build? I've been searching and it's rather difficult picking through the builds when I don't know which is which.
zenulator said:
The old xrom build has the files you need. The only problem is it doesn't seem to work in qvga.
Click to expand...
Click to collapse
hey didnt that tattoo dump have java?
ill check when i get home
I remember trying to get this running on my Eris but I couldnt because it's not rooted, but here is the thread where I found the files.
http://forum.xda-developers.com/showthread.php?t=552846
jamezelle said:
hey didnt that tattoo dump have java?
ill check when i get home
Click to expand...
Click to collapse
I found an old Xrom version that Zen was taking about
system-xrom1.5r4c.sqsh
However, I run into a small problem of not being able to open an extract files from the .sqsh.
That would be awesome if the tattoo dump had the java, which would mean it will work in qvga.
xDan's Java.apk --> http://www.androidspin.com/downloads.php?dir=enomther/APPS/&file=jbed_vsapp.zip
Ported jbed. Have not tested this at all but please let us know if this works.
refthemc said:
I remember trying to get this running on my Eris but I couldnt because it's not rooted, but here is the thread where I found the files.
http://forum.xda-developers.com/showthread.php?t=552846
Click to expand...
Click to collapse
Thanks, I tried it but it does not work. Force closes every time.
THanks Myn, trying it out now.
Edit: Same results. Java has stopped unexpectedly, then force close.
skydirt said:
Thanks, I tried it but it does not work. Force closes every time.
THanks Myn, trying it out now.
Edit: Same results. Java has stopped unexpectedly, then force close.
Click to expand...
Click to collapse
did you push libjbed.so /system/lib?
jamezelle said:
hey didnt that tattoo dump have java?
ill check when i get home
Click to expand...
Click to collapse
yes it does but it's limited to sdk 3. i've tried to hex edit it with no luck so far. i decompiled the AndroidManifest.xml but thats no help because i can't recompile it. so the only way is to find it in the hex editor and change the value.
ok the java from xDan works in qvga....running opera mini on it right now.
i attached a androidupdate.tar for it. just unzip the androidupdate.zip and copy it to /sdcard/andboot/ and launch the fancy new menu if your using the new non rootfs system and select the update option. let me know how it goes.
View attachment androidupdate.zip
reattached a zip of the working files pulled from my phone. java.zip. manually push these or create an androidupdate.tar by making a system dir and putting in /app/Jbed.apk and /lib/libjbedvm.so in and tar it up.
zenulator said:
did you push libjbed.so /system/lib?
Click to expand...
Click to collapse
Um, if by push you mean opening the androidinstaller.tar with 7zip and manually placing the the lib and ajava.apk into thier respective folders, yes.
Otherwise no, and I'm not that proficient.
see my post above there is a link to an androidupdate.tar. it's only tested in donut in qvga 240x320 with lcd density @ 120 but should work for all resolutions.
if you have adb installed you can do it manually from your already installed system if your running on nand or ext2 and can write to it. if you get an error about the system being read only then.
Code:
adb shell
Code:
mount -o remount rw /system
then exit the adb shell usually by issuing the command
Code:
exit
then go to where you have xDans java downloaded and
Code:
adb push Jbed.apk /system/app
then
Code:
adb push libjbedvm.so /system/lib
and you should be set.
zenulator said:
see my post above. this is only tested in donut in qvga 240x320 with lcd density @ 120 but should work for all resolutions.
Click to expand...
Click to collapse
Perfect, great work guys, I'll include it in my update pack I'm working on for the build.
Thank you! Very much appreciated.
uploaded a zip of the working apk/lib pulled from my personal donut build a couple posts back. i didn't make an androidupdate.tar for it. but like i said the files are confirmed working for me in donut so if someone else running donut or eclair wants to try them out let me know if they work.
Just wanted to give you an update Zen.
I could not get java to work on Eclair 2.1
It would force close every time.
I have added java to Myn's newest donut build and it works. Kinda. The apps install and open up, but they are stretched to the right and skewed.
Any suggestions on how to fix this?
Running 240x320/110
Well, I have discovered why the screen gets skewed. It's because of the 110 screen density. If I change it to 120, it looks and works perfectly. However, this effectively break Myns build as you can not even use the dialer in 120.
Is there anyway to modify the java files you posted to work in 110?
zenulator said:
uploaded a zip of the working apk/lib pulled from my personal donut build a couple posts back. i didn't make an androidupdate.tar for it. but like i said the files are confirmed working for me in donut so if someone else running donut or eclair wants to try them out let me know if they work.
Click to expand...
Click to collapse
I've tried with a Donut build. Resolution: 320x240.
Installed right BUT... Opera Mini 5 Beta 2 is shown skewed. Unusable, indeed!
EDIT:
New version for Froyo, support for 24bit color and the full resolution on your camera!
Download HERE
Hey,
Here's the file to install Gallery 3D to the Desire.
You have 2 ways of installing:
1) Install Android USB Driver (search for it) run the following commands:
adb install <filename and path>
2) Copy to SD Card, open in a file manager (make sure "install from unknown sources" is checked in menu) (untested)
New version:
Gallery works great, launches camera, and plays videos!
Download
brummiesteven said:
Hey,
Here's the file to install Gallery 3D to the Desire.
You have 2 ways of installing:
1) Install Android USB Driver (search for it) run the following commands:
adb install <filename and path>
2) Copy to SD Card, open in a file manager (make sure "install from unknown sources" is checked in menu) (untested)
Click to expand...
Click to collapse
hmm isnt the Android 3D gallery is inside the Desire by default? or is that something else?
irkan said:
hmm isnt the Android 3D gallery is inside the Desire by default? or is that something else?
Click to expand...
Click to collapse
No it includes Sense's gallery "Photos".
It just gives you 2.1 style gallery that's on the nexus one which looks better than the default for HTC, just install using astro file manager and off you go just place a short cut on one of the screens.
If anyone can figure out how to get launcher 2 style all programs and keep sense ui that be top
Thanks, brummiesteven
Sorry, what is Gallery3D and why do I want it?
It works but not well, for example pressing the camera icon, will crash the application and prompt a force close, there also seems to be some issue with the screen going black for a few seconds.
Jabbypants said:
It just gives you 2.1 style gallery that's on the nexus one which looks better than the default for HTC, just install using astro file manager and off you go just place a short cut on one of the screens.
If anyone can figure out how to get launcher 2 style all programs and keep sense ui that be top
Click to expand...
Click to collapse
Ive been trying to get Launcher2 working, but still get crashes when selecting it
any ideas?
This is gallery3d:
http://www.youtube.com/watch?v=sMwoPS8ts7Y
Edit: Direct link to camera is the only thing I have found which doesn't work in gallery3d so far.
Jabbypants said:
It just gives you 2.1 style gallery that's on the nexus one which looks better than the default for HTC, just install using astro file manager and off you go just place a short cut on one of the screens.
If anyone can figure out how to get launcher 2 style all programs and keep sense ui that be top
Click to expand...
Click to collapse
What other programs are you looking for?
Im trying to connect this up using eclipse but it aint happening
jonneymendoza said:
Im trying to connect this up using eclipse but it aint happening
Click to expand...
Click to collapse
Connect up using eclipse?
Eclipse is a programming environment =/
brummiesteven said:
Connect up using eclipse?
Eclipse is a programming environment =/
Click to expand...
Click to collapse
Yea but i want to develope and test apps on it. i could also run apk files and let it install on its phone via eclipse.
Eclipse cant recognise it via the ddms.
Bet you aint got a clue what im on about
jonneymendoza said:
Bet you aint got a clue what im on about
Click to expand...
Click to collapse
Of course I know what you're on about.
jonneymendoza said:
Yea but i want to develope and test apps on it. i could also run apk files and let it install on its phone via eclipse.
Eclipse cant recognise it via the ddms.
Bet you aint got a clue what im on about
Click to expand...
Click to collapse
brummiesteven said:
Of course I know what you're on about.
Click to expand...
Click to collapse
Eclipse is an IDE, you can develop/run/deploy jar files from it to the phone (also apk I assume). NetBeans works too with JAR files, not sure with APK though.
BTW, you cannot transfer the APK file directly to your phone and install it from there?
Does the 3D gallery replace the Sense one? Or is it just an alternate app?
irkan said:
Eclipse is an IDE, you can develop/run/deploy jar files from it to the phone (also apk I assume). NetBeans works too with JAR files, not sure with APK though.
BTW, you cannot transfer the APK file directly to your phone and install it from there?
Click to expand...
Click to collapse
I *think* he's trying to test his own code via the phone which I'm not sure is possible or not, pretty sure you have to use the emulator.
Ghisy said:
Does the 3D gallery replace the Sense one? Or is it just an alternate app?
Click to expand...
Click to collapse
You'd get 2 apps, "photos" which is the sense UI version and "Gallery" which is Gallery3D
brummiesteven said:
Of course I know what you're on about.
Click to expand...
Click to collapse
irkan said:
Eclipse is an IDE, you can develop/run/deploy jar files from it to the phone (also apk I assume). NetBeans works too with JAR files, not sure with APK though.
BTW, you cannot transfer the APK file directly to your phone and install it from there?
Click to expand...
Click to collapse
If you know what im on about, have you guys got it hooked up to eclipse successfully on windows 7 OS?
btw, you can transfer the apk file directly to your phone but you cant launch it.
edit: really need a sub forum for us developers
brummiesteven said:
I *think* he's trying to test his own code via the phone which I'm not sure is possible or not, pretty sure you have to use the emulator.
Click to expand...
Click to collapse
Your spot on. i want to test apps on my phone and yes you can do it on a nexus one, G1 and the hero.
jonneymendoza said:
Your spot on. i want to test apps on my phone and yes you can do it on a nexus one, G1 and the hero.
Click to expand...
Click to collapse
Are you saying that you can't test your own apps on the Desire through the standard developer tools? That's more than strange. brummiestevens said he could install apps via adb, so testing your own apps should work.
im having trouble resigning zip files and apks. can anyone help. i tried using fresh kitchen and also JF autosigning files. with fresh kitchen i get jave not recognized as an internal or external command. With JF i just get ERROR. HELP
So what are you trying to sign? And do you have Java installed? We need more details to help you.
Make sure that PATH variable is set to 'C:\Program Files\Java\jre6\bin' or whatever your install location is.
Assuming you're running Vista or 7, you can set this under:
My Computer>Properties>Advanced system settings>Environment Variables
obannvi said:
So what are you trying to sign? And do you have Java installed? We need more details to help you.[/QUOTE
here is what i did...
i opened up the clear keyboard file from the zip i downloaded. I copied the two files i needed to get it to work in dc 2. I took the keyboard app from dc v2.05 and replaced the two files. then ziped the apk file. I then went to flips kitchen and went to tools and tried to resign the zip file. I have java installed. I installed it last night from the link on the sticky about theming. i get the error...java is not recognized as in internal or external command, operable program or batch file.
I also tried using the JF auto sign but couldnt get it to work
Click to expand...
Click to collapse
cbarlan said:
obannvi said:
So what are you trying to sign? And do you have Java installed? We need more details to help you.[/QUOTE
here is what i did...
i opened up the clear keyboard file from the zip i downloaded. I copied the two files i needed to get it to work in dc 2. I took the keyboard app from dc v2.05 and replaced the two files. then ziped the apk file. I then went to flips kitchen and went to tools and tried to resign the zip file. I have java installed. I installed it last night from the link on the sticky about theming. i get the error...java is not recognized as in internal or external command, operable program or batch file.
I also tried using the JF auto sign but couldnt get it to work
Click to expand...
Click to collapse
Need to install the java runtime environment.
http://androidforums.com/developer-101/8665-how-signing-roms.html
Here's a good signing guide
Click to expand...
Click to collapse
regaw_leinad said:
cbarlan said:
Need to install the java runtime environment.
http://androidforums.com/developer-101/8665-how-signing-roms.html
Here's a good signing guide
Click to expand...
Click to collapse
thanks downloaDING NOW. FEEL STUPID. new to this but hope to be able to contribute some new ideas of my own. no roms but customizations o plenty lol
Click to expand...
Click to collapse
thread can close now lol. got it to work. yea...expect to lots of me now
Hello,
I need beta testers running Mac OS X to test a new application.
This application is for people who are either uncomfortable or unwilling to use Terminal and ./adb for pushing files to their device.
This first beta version is just to test how it works on different computers. It pushes the file to the sdcard of the phone using ./adb. The only input needed from the user is to select the file.
Later releases will let the user choose which folder on the device to copy to, but the next release will probably just involve pushing .apk to the /system/app folder.
Please let me know the results.
http://derekcwilkinson.com/PushFile.zip
Beta 2:
http://derekcwilkinson.com/Push_File_Beta_2.zip
Change Log:
Added option to choose the location that the file is to be pushed to.
Added Recovery application
Added Reboot application.
Planned Updates:
Pull File - Done
Device Backup - Testing (having issues)
Device Backup w/SD - Testing (having issues)
Install .apk - Done
Uninstall .apk
Restore Backup - Needs Device Backup
Restore Backup w/SD - Needs Device Backup
Flash ROM - Need help, PM me
I'll test it Downloading it now.
Works fine, I look forward to seeing it progress. I'll probably just use adb when I need to push something, but I'll keep testing whenever you update.
I've updated the first post with a new beta. This new beta includes:
Push file to specified location.
Reboot device
Reboot device into recovery.
derekwilkinson said:
Hello,
I need beta testers running Mac OS X to test a new application.
This application is for people who are either uncomfortable or unwilling to use Terminal and ./adb for pushing files to their device.
This first beta version is just to test how it works on different computers. It pushes the file to the sdcard of the phone using ./adb. The only input needed from the user is to select the file.
Later releases will let the user choose which folder on the device to copy to, but the next release will probably just involve pushing .apk to the /system/app folder.
Please let me know the results.
http://derekcwilkinson.com/PushFile.zip
Beta 2:
http://derekcwilkinson.com/Push_File_Beta_2.zip
Change Log:
Added option to choose the location that the file is to be pushed to.
Added Recovery application
Added Reboot application.
Planned Updates:
Pull File - Ready
Device Backup - Testing
Device Backup w/SD - Testing
Install .apk
Uninstall .apk
Restore Backup
Restore Backup w/SD
Flash ROM - Need help, PM me
Click to expand...
Click to collapse
nice this looks like it could be the underpinnings of droid explorer for Mac.
gunnyman said:
nice this looks like it could be the underpinnings of droid explorer for Mac.
Click to expand...
Click to collapse
It could be, but I'm going to need someone to help me create the UI for running the scripts. Right now they are all just separate applications
derekwilkinson said:
It could be, but I'm going to need someone to help me create the UI for running the scripts. Right now they are all just separate applications
Click to expand...
Click to collapse
Perhaps, since it's free, you could build the whole thing to run as a Safari extension? I don't know how feasible this is, just spitballing ideas.
Well I just finished the app to install applications. This could be especially useful for newbies who want to install custom applications. All they have to do is select the .apk and it installs.
The .apk installer is now ready for download.
http://derekcwilkinson.com/Derek_Wi...0/6/9_Push_File_for_Android__Install_APK.html
Just downloaded... I'll give it a try, thanks
Something very similar is being developed or Windows and Linux, maybe you can use it or work with the developer to get a working port to MAC. http://forum.xda-developers.com/showthread.php?t=683223
As a Mac user, it's very much appreciated that people like you put an effort to developing for our platform. Resources are very scarce and people new to Android are often discouraged with the more advanced stuff of the OS.
srkmagnus said:
Something very similar is being developed or Windows and Linux, maybe you can use it or work with the developer to get a working port to MAC. http://forum.xda-developers.com/showthread.php?t=683223
As a Mac user, it's very much appreciated that people like you put an effort to developing for our platform. Resources are very scarce and people new to Android are often discouraged with the more advanced stuff of the OS.
Click to expand...
Click to collapse
Great idea, it would be nice to allow users to browse the device for files. Right now, unless an app is being installed, they have to know the name of the file and location
Hi all!
I have downloaded the source of Omni to my desktop computer and I want to transfer it to my laptop. Is there anyway to do it without having to download the whole source again?
I was thinking of copy paste, but I don't know if that will work at the time that I run a repo sync....
Thanks in advance
quiquegabriel said:
Hi all!
I have downloaded the source of Omni to my desktop computer and I want to transfer it to my laptop. Is there anyway to do it without having to download the whole source again?
I was thinking of copy paste, but I don't know if that will work at the time that I run a repo sync....
Thanks in advance
Click to expand...
Click to collapse
Well you didn't say what OS your desktop and laptop are using.
For linux machines conected via a local network I would use scp or rsync.
HippyTed said:
Well you didn't say what OS your desktop and laptop are using.
For linux machines conected via a local network I would use scp or rsync.
Click to expand...
Click to collapse
Yeah, forgot to say that, both are running Ubuntu. Will look for what you've said scp or rsync...
It doesn't matter how you copy it, as long as you do the entire directory, including the .repo directory. Repo syncing should work fine afterwards
Sent from my Nexus 4 using Tapatalk
You mentioned in another thread that you are still having issues building the ROM. What your problem?
Gesendet von meinem Nexus 5 mit Tapatalk
You can just copy the .repo folder and paste it in you laptop directory, but you need to setup the laptop for the necessary things to build android.