i want to install a .jar file on my SGM..how to do??i converted .jar tto apk n installed but it force closes every time..
which app should i use as a third party app?
I don't think it's that easy since Android doesn't support native Java code, and renaming a .Jar to .Apk isn't gonna help.
Try this:
http://www.xda-developers.com/android/jbed-run-java-games-and-apps-on-your-android-device/
Akath19 said:
I don't think it's that easy since Android doesn't support native Java code, and renaming a .Jar to .Apk isn't gonna help.
Try this:
http://www.xda-developers.com/android/jbed-run-java-games-and-apps-on-your-android-device/
Click to expand...
Click to collapse
i havent just renamed it from jar to apk..i saw one thread in general section of android n there some lnik was given ..we have to upload .jar n download .apk of dat..!! btw ThaNks for this!!
changing the extension of the file will not work
use the j2me app runner and it may work
here's the link->
http://www.netmite.com/android/
Related
Hello,
how can i sign framework-res.apk on Windows x86????
a.woellert said:
Hello,
how can i sign framework-res.apk on Windows x86????
Click to expand...
Click to collapse
I forgot how you do it, search it. Search "Test sign windows"
a.woellert said:
Hello,
how can i sign framework-res.apk on Windows x86????
Click to expand...
Click to collapse
Why do u want to sign it ? if you are editing images you can simply open the apk as a zip file and drag the newly edited png's into the correct folders. Then adb push it to your phone. If you are compiling from source thats a different story, i havent done that so i would not know sorry.
Use Metamorph, but first try using the "SEARCH" option to get your answers. It's really not that hard.
Hi,
I try autosign.zip...Bootloop.
Then i try Win-sign.zip.....Bootloop
Next i will try metamorph
Why i become allways a bootloop.
I just editing one png picture (stat_sys_battery_charge_anim5.png)
The ROM is "SuperEclairv30BETA2.zip" and i want to port the xperia theme.
Here is the Original ROM:
http://sharebee.com/8a52ab3f
and here is my bootloop ROM:
http://sharebee.com/d93c1367
i change one .png picture, with the same pixel (25x25) and the same bit (8bit)
Best Regards
Andi
a.woellert said:
Hi,
I try autosign.zip...Bootloop.
Then i try Win-sign.zip.....Bootloop
Next i will try metamorph
Why i become allways a bootloop.
I just editing one png picture (stat_sys_battery_charge_anim5.png)
The ROM is "SuperEclairv30BETA2.zip" and i want to port the xperia theme.
Here is the Original ROM:
http://sharebee.com/8a52ab3f
and here is my bootloop ROM:
http://sharebee.com/d93c1367
i change one .png picture, with the same pixel (25x25) and the same bit (8bit)
Best Regards
Andi
Click to expand...
Click to collapse
Try making the rom by signing the entire ROM without signing the individual .apk. It should boot then.
An idea!
a.woellert said:
Hi,
I try autosign.zip...Bootloop.
Then i try Win-sign.zip.....Bootloop
Next i will try metamorph
Why i become allways a bootloop.
I just editing one png picture (stat_sys_battery_charge_anim5.png)
The ROM is "SuperEclairv30BETA2.zip" and i want to port the xperia theme.
Here is the Original ROM:
http://sharebee.com/8a52ab3f
and here is my bootloop ROM:
http://sharebee.com/d93c1367
i change one .png picture, with the same pixel (25x25) and the same bit (8bit)
Best Regards
Andi
Click to expand...
Click to collapse
Andi,
If you have Eclipse setup, you could use a sample apk for testing your png edit. Drop it in your res/drawable folder of the sample apk. Eclipse will tell you if your png is valid for the android version chosen or tell you it not going to work with the error code. You would be saving steps and headaches before your flash. I also recommend using MetaMorph for the job to further skip your steps in signing apk's or zips...
K dude, if ur editing a png you DONT need to sign framework-res.apk
All u have to do is open it in your favorite compressed archive viewer 7zip/winzip blah blah
Then go into appropriate folder, drag the picture u want to edit out of it to ur computer somewhere, edit it and drag it back into the zip n then push it to your phone. SIMPLE.
Not for nothin' fellas but this page is the #1 google return on "sign apk windows7" and though I know you're just talking themes here but ... throw the rest of us googlers a bone and copypaste some instructions pretty please
In the meantime I'll keep googling.
d0ugie said:
Not for nothin' fellas but this page is the #1 google return on "sign apk windows7" and though I know you're just talking themes here but ... throw the rest of us googlers a bone and copypaste some instructions pretty please
In the meantime I'll keep googling.
Click to expand...
Click to collapse
NewYork love! lol
There is a apk on the market called signapktic.apk it should be able to sign it for you.
To sign on windows, you must have java jre or jdk installed to use the signapk.jar or the testsign.jar .
I love ebuddy on android, it's better than the official chinese MSN I posted a few weeks ago but I am sick of silver, white and orange. I am unfamiliar with how to get the apk files from apps installed from the android market.
Could someone, anyone please provide me with the apk file for ebuddy 1.9.1 (the most recent) so I can do some colour variations?
Cheers.
Uppy said:
I love ebuddy on android, it's better than the official chinese MSN I posted a few weeks ago but I am sick of silver, white and orange. I am unfamiliar with how to get the apk files from apps installed from the android market.
Could someone, anyone please provide me with the apk file for ebuddy 1.9.1 (the most recent) so I can do some colour variations?
Cheers.
Click to expand...
Click to collapse
www.developer.android.com
Install the Android SDK, open Command Prompt and write:
Code:
adb devices
adb pull /data/app app
Or if you know the .apk name
Code:
adb pull /data/app/apkname.apk
That will create a new folder called app in your /tools folder with all your apps.
Ah cheers man, done it
will post some colour variations asap.
Any idea why when i repackage the files as a zip then rename as an apk it fails to install?
I have re-signed the apk but it still wont install, any ideas why?
Uppy said:
Any idea why when i repackage the files as a zip then rename as an apk it fails to install?
I have re-signed the apk but it still wont install, any ideas why?
Click to expand...
Click to collapse
Better if you use apk tool: http://code.google.com/p/android-apktool/
Decompile: apktool d name.apk
Compile: apktool b name
Hmm still doesnt work. I'm not sure what I'm doing wrong...
Uppy said:
Hmm still doesnt work. I'm not sure what I'm doing wrong...
Click to expand...
Click to collapse
These resources seems 0 byte in the apk:
"drawable-hdpi-v6/chat_gray_back.9.png"
"drawable-hdpi-v6/chat_orange_back.9.png"
"drawable/chat_gray_back.9.png"
"drawable-hdpi-v4/chat_orange_back.9.png"
"drawable/chat_orange_back.9.png"
"drawable-hdpi-v4/chat_gray_back.9.png"
here's the zip file, if you can tell me what I've done wrong I'd really appreciate it.
Hmm..I let it compile, but fails to install the apk..
Hope someone much expert than me can help you
yeah, its weird how it wont install. like what I was trying to do though?
Uppy said:
Any idea why when i repackage the files as a zip then rename as an apk it fails to install?
I have re-signed the apk but it still wont install, any ideas why?
Click to expand...
Click to collapse
Download APKManager and you should be good.
EDIT: Didn't see the answers below mine for some reason ... I'm not at my desktop right now, but if no one has checked it by the time I get hope I'll see if I'm any help.
If you're just changing pngs, try to just extract the apk then zip it when changed. Ie. Don't decompile it
Do this using apkmanager
Sent from my HTC Desire using XDA App
zHk3R said:
Download APKManager and you should be good.
EDIT: Didn't see the answers below mine for some reason ... I'm not at my desktop right now, but if no one has checked it by the time I get hope I'll see if I'm any help.
Click to expand...
Click to collapse
Thanks dude.
and to mikep99: Already tried that too, thats what I did first. its annoying me now lol cheers anyway.
shameless self bump.
can no one help? i really want to know what the issue is for future reference...
Uppy said:
shameless self bump.
can no one help? i really want to know what the issue is for future reference...
Click to expand...
Click to collapse
no idea why your file wont install...
I decompiled a fresh version of ebuddy, compiled back and installed, no probs.
But, for exchanging some png´s only, that´s what I do:
- take a fresh original version (v1.9.1 attached)
- open com.ebuddy.android-1.apk with 7-Zip
- copy/paste new png´s
- close file
- sign
- install
Just though I'd take the time to update apk_manager_4.9 and call it apk_manager_4.9_Honeycomb_Edition. I've modified a few tools inside apk manager to now work with honeycomb apk's. Hopefully this will come in handy for you all.
Credits:
All credits go to the prior developers of APK MANAGER 4.9 HERE. I just took the time to update it for Honeycomb. Please refer to this link for instructions as well.
Thanks to Daneshm90 for giving me the okay to release this version so hopefully all you themers/developers out there will take this and run with it.
Changelog:
aapt - (From updated SDK)
apktool - (From updated SDK & MAD Industries)
zipalign - (From updated SDK)
Here is the download
APK_Manager_4.9_Honeycomb_Edition
Mirror_1
Mirror_2
MAC USERS:
Please click HERE for everything you need for APK Manager for a MAC courtesy of MAD Industries
Updated 08/18/11
Changelog:
Cleaned up script to and compile settings and systemui apks
Code:
echo Building Apk
IF EXIST "%~dp0place-apk-here-for-modding\%capp%" (del /Q "%~dp0place-apk-here-for-modding\%capp%")
java -Xmx%heapy%m -jar apktool.jar b -f "../projects/%capp%" "%~dp0place-apk-here-for-modding\%capp%"
if errorlevel 1 (
echo "An Error Occured, Please Check The Log (option 21)"
PAUSE
)
(Lines 489-495 if you're using Notepad++)
You can either re-download the APK-Manager_4.9_Honeycomb_Edition.zip from above or you can download the new Script.bat HERE
Just extract the Script.bat and replace the old one.
Some Extra Instructions:
To do this U MUST make a new folder in C:/users/<yourname>/ and call it apktool and a sub folder within it called framework. If you have this there already YOU ROCK!!
Mine reads:
Code:
C:/Users/Thomas/apktool/framework
Now within that framework folder you need a copy of a complete stock framework-res.apk and you need to rename it to 1.apk
You also need a copy of a complete stock twframework-res.apk and rename it 2.apk
So it should read:
Code:
C:/Users/<yourname>/apktool/framework/1.apk
and
Code:
C:/Users/<yourname>/apktool/framework/2.apk
Remember any apk you are attempting to decompile MUST BE COMPLETE STOCK to do so.
I have done all of this and tested over and over again and I am getting no errors whatsoever. If you do get some errors please make sure all your paths for SDK are setup correctly including setting a path for Java JDK as well.
PM me with any questions or concerns regarding all this. I will do my best to respond within a timely manner.
reserved for future
this one too hehe
Nice tool, will be useful.
PhantomHacker said:
Nice tool, will be useful.
Click to expand...
Click to collapse
Just hope more people will use it to it's fullest potential. And this tool does a lot of different things. Thanks PhantomHacker.
Very nice, thanks
Makes work easier
Thanks Doc I found this tool to become very handy when I did some things for the Samsung Epic 4G. I had to be able to use it for the Tab lol. Thanks again. Keep up the fantastic work yourself.
works like a charm Asus eee pad
depulle87 said:
works like a charm Asus eee pad
Click to expand...
Click to collapse
Awesome depulle87 glad to hear
Sent from my Nexus S 4G using XDA Premium App
I was to early with that, it seems to ''shrink'' my framework-res.apk so I can't use it.
It was 6.506kb and after a decompile and than compile it is 4.082kb, no changes made.
I didn't see it yesterday and I ended reflashing my TF
depulle87 said:
I was to early with that, it seems to ''shrink'' my framework-res.apk so I can't use it.
It was 6.506kb and after a decompile and than compile it is 4.082kb, no changes made.
I didn't see it yesterday and I ended reflashing my TF
Click to expand...
Click to collapse
Try after you select your project (Option 22) select (Option 19) Set your compression level and change it to 0.
That shouldn't shrink it at all.
Sorry about that let me know if that works as well so I can update OP
sorry man, it still shrinks my apk
Okay let me look into it. Sorry man.
Thanks man, should I upload my apk file so you can test it ?
yeah pm me with the link
Updated 8/18/2011
I've updated the OP a ton so please read away.
Well, that was easy
One small nitpick: What is the rationale behind overwriting the original files when compiling? Just curious.
And, for us antiquated old geezers building on something like a Windows Server 2003, framework-res.apk and twframework-res.apk should be present as
C:\Docume~1\<username>\apktool\framework\1.apk and 2.apk respectively.
Edit: Which sort of happens automagically, if you ...
java -jar other/apktool.jar if place-apk-here-for-modding/twframework-res.apk
... on that sort of platform.
what's the function of this app?
denis_sianto said:
what's the function of this app?
Click to expand...
Click to collapse
It's not an app
Sent from my MB855 using xda premium
denis_sianto said:
what's the function of this app?
Click to expand...
Click to collapse
It makes creating a theme fairly easy. It allows access to xml's, smali files(****ed up java files lawl!(i know what they are, i just like that version better)), and all the images in whatever apk you put in it. SO you can put in your new images, edit old images, edit xml files, edit smali files.
Have found this very easy and fast tool here on XDA,have tested and its awesome,just try it and hit thanx for the dev on original thread!!!
-----------------------------------------
[Decompile/Compile] Quick Mod Tool 5.0 [decompile and compile with speed]Windows+Linux
-----------------------------------
Sick of having to download multiple tools to get one job done? heres one that does JUST the basics
Installs framework
Decompiles .apk files
Decompiles .jar files(classes.dex)
Compiles .apk files
Compiles .jar files(classes.dex)
Decompiles classes.dex file
Cecompiles classes.dex file
Signs .apk files
Clear working files
Integrated process log
Integrated verbose log
Link to original thread: http://forum.xda-developers.com/showthread.php?t=2536073
-CALIBAN666- said:
Have found this very easy and fast tool here on XDA,have tested and its awesome,just try it and hit thanx for the dev on original thread!!!
-----------------------------------------
[Decompile/Compile] Quick Mod Tool 2.0 [decompile and compile with speed]
-----------------------------------
Sick of having to download multiple tools to get one job done? heres one that does JUST the basics
Installs framework
Decompiles .apk files
Decompiles .jar files(classes.dex)
Compiles .apk files
Compiles .jar files(classes.dex)
Decompiles classes.dex file
Cecompiles classes.dex file
Signs .apk files
Clear working files
Integrated process log
Integrated verbose log
Link to original thread: http://forum.xda-developers.com/showthread.php?t=2536073
Click to expand...
Click to collapse
thanks mate, i appreciate you sharing my work
linux version is updated on original thread.
tool is updated to v4.0 in original thread.
its updated to version 5.0 in original thread.
I recently developed an app through android online developers and I received the apk. but my problem now is how to import the apk to android studio to be able to insert & implement my google admob for monitization of my app. Please, help me & good contribution needed. Thanks.
Angelica6 said:
I recently developed an app through android online developers and I received the apk. but my problem now is how to import the apk to android studio to be able to insert & implement my google admob for monitization of my app. Please, help me & good contribution needed. Thanks.
Click to expand...
Click to collapse
apk file is already compiled so I don't think you will be able to edit the whole project just by importing it. You can open your file with WinRAR to retrieve a specific file and then edit it.
Dezash said:
apk file is already compiled so I don't think you will be able to edit the whole project just by importing it. You can open your file with WinRAR to retrieve a specific file and then edit it.
Click to expand...
Click to collapse
Thanks Dezach; How do I find and modify a build.gradle file from the extracted file. I need to modify it before modifying manifest file for my admob integration process. Thanks
You need to have the sourse code. This cannot be done by simple open the apk with winrar or similar programs. You need to decompile the apk to have access to source code. There are a lot of tools for this job in Android section("development and hacking" and "software development"), but is better if you can get the source code from online developers.
Angelica6 said:
Thanks Dezach; How do I find and modify a build.gradle file from the extracted file. I need to modify it before modifying manifest file for my admob integration process. Thanks
Click to expand...
Click to collapse
You can not do it. Gradle is a build tool. There are no gradle files in your .apk
Essayer avec Eclipse c la sollution
you can open as debug APK ( by android studio )