[Q] Installing .apk appls on Android - Touch Pro2, Tilt 2 Android Development

Hi there,
can someone help/guide me on how to install *.apk applications on the TP2 ported Android through the terminal if possible?

dfrans said:
Hi there,
can someone help/guide me on how to install *.apk applications on the TP2 ported Android through the terminal if possible?
Click to expand...
Click to collapse
Why can't you just put them in the AndroidApps folder? There is a way, but the 'drop-in-folder' method is much easier.

Related

WeTravel - How to make it run under WM

Hi everybody!
I'm trying to make WeTravel (open Source offline Navi: http://we-travel.co.cc/) run with my xperia. Unfortunatelly there is a problem with JAVA, directory access etc.
Anybody there who knows a workaround?
Ric
rictomo said:
Hi everybody!
I'm trying to make WeTravel (open Source offline Navi: http://we-travel.co.cc/) run with my xperia. Unfortunatelly there is a problem with JAVA, directory access etc.
Anybody there who knows a workaround?
Ric
Click to expand...
Click to collapse
Can you change the security settings on the Java app (i.e. bofore you click the app to open it, highlight it hten click |MENU|ACTIONS|SECURITY|)?
Which Java KVM do you use ?
You need to have a recent KVM, allowing access to the file system. Best results are with Esmertec's JBed engines. Mind that not all versions have the file system access though.
The we-travel website has a list of JBed versions that are capable of running we-travel.

[REF] Porting 2.1 (JM8) Samsung Keyboard to 2.2 (JPK)

Tools needed: smali, baksmali (google them), a JDK, and an extracted factoryfs.rfs from an éclair ROM.
(If you don't have a linux machine to mount an .rfs file to a directory never forget that your device has linux on it, so it can actually mount the .rfs file to a directory)
First collect the files you need from factoryfs.rfs:
/app/AxT9IME.apk
/app/AxT9IME.odex
/lib/libXt9core.so (this is actually the same file that's inside the apk)
/lib/libDHWR.so
/framework/android.policy.odex
/framework/core.odex
/framework/ext.odex
/framework/framework.odex
/framework/services.odex
Copy all the odex files into the same directory as baksmali is. Disassemble it with:
java -jar baksmali.jar -x AxT9IME.odex
This should create an out directory, with the disassembled, and deoptimized files. Now reassemble them, with smali:
java -jar out
This should create an out.dex file. Rename it to classes.dex, and put it into the AxT9IME.apk (don't be fooled by the extension, it's a simple zip file)
Now copy the following files to your phone:
AxT9IME.apk --> /system/app
libXt9core.so --> /system/lib
libDHWR.so --> /system/lib
Remove the following files:
/system/app/AxT9IME.odex
/system/lib/libdhwr.so (this is lowercase. The above was uppercase. Case does matter!)
Now try to enable the samsung keyboard. If everything goes well then you can now use the old keyboard.
-----
Alternatively if you needed the keyboard from the XWJM8 version, you can download the result files from here: http://android.sztupy.hu/dl/SamsungKeyboardFroyo.zip
Thank you
can I use this method in order to replace framework.jar/framework.odex from another build?
JHJP4 support proper BIDI (for Hebrew/Arabic and other RTL languages)
And how do we do the opposite? Want 2.44 on eclair =)
Should work the same
omrij said:
Thank you
can I use this method in order to replace framework.jar/framework.odex from another build?
JHJP4 support proper BIDI (for Hebrew/Arabic and other RTL languages)
Click to expand...
Click to collapse
No, framework.jar is too much different between eclair and froyo. You can only port simple applications (in /system/app) this way.
dupel said:
And how do we do the opposite? Want 2.44 on eclair =)
Click to expand...
Click to collapse
It would only work if the new keyboard doesn't use anything FroYo specific (like gesture support, or enhanced multitouch support). If it does use froyo specific api functions it will break under eclair.
sztupy said:
No, framework.jar is too much different between eclair and froyo. You can only port simple applications (in /system/app) this way.
Click to expand...
Click to collapse
Both frameworks are from Froyo
just different version
JP4 framework has proper BIDI support
omrij said:
Both frameworks are from Froyo
just different version
JP4 framework has proper BIDI support
Click to expand...
Click to collapse
If framework.jar changes then all pre-optimized files (odex) have to be reoptimized (the same way as the tutorial above shows), and even after that it might not work...
hi can I ask a few questions. I don't know much about these complicated things, but I will try my best.
can we collect files you asked us from factoryfs, through root explorer.
you asked to copy file with capital letters to phone and then asked to remove same file name with small letters. can one directory have two files with same name?
and finally how would we copy files to the phone?
thanks.
Sent from my Nexus One using Tapatalk
pitsyapa said:
hi can I ask a few questions. I don't know much about these complicated things, but I will try my best.
can we collect files you asked us from factoryfs, through root explorer.
you asked to copy file with capital letters to phone and then asked to remove same file name with small letters. can one directory have two files with same name?
and finally how would we copy files to the phone?
thanks.
Sent from my Nexus One using Tapatalk
Click to expand...
Click to collapse
You can use rootexplorer to transfer the files to /sdcard modify them on the PC, tran transfer them back from /sdcard to their location.
thanks I really appreciate your help can I ask you another simple question. I have downloaded jdk.
and installed it. how do I use these commands to disessemble, java jar. is there any special java prograame. thanks.
thanks v much. problem solved. ported urdu keyboard from eclair to jpk. thanks again.
How do I know which files from /lib do I need to replace?
I'm trying to use contacts apk from other froyo rom
So, I tried the above instructions, and all I get is errors with bksmali, but i get the out directory, then when I run smali, it get another bunch of errors, but no out.dex. Any help would be amazing.
I haven't tried any of this other than trying to just install the AxT9IME.apk which obviously didn't work. I can enable it but trying to switch to it or access its settings instantly resorts in a force closure.
What I don't think I've seen mentioned is whether or not the end result of this allows you to have both the 2.2 and the 2.1 keyboards. Could anyone clarify for me if you get both or just the 2.1 keyboard in the end?
Lastly, would it be possible for someone to write an app (downloadable via market) for this keyboard for any android version? Because that'd be pretty awesome.
It'd be nice if it didnt create an app-drawer icon, but I wouldn't mind as Go Launcher allows me to hide unwanted apps.
I honestly like the 2.2 keyboard, but the 2.1 one (with its 4 pages) has symbols in on it that I have seen no where else, which is pretty cool and why I'm wanting it.

Delete Programs from Cooked ROM

Hi people!
this is my first post here ^^
i have an HTC Tilt2 with the latest Energy Rom " Standard 'Reference' ".
The problem is that the ROM itself comes with a lot of programs that i dont Like / need and i want to delete them.
How can i do that if they arent shown on the Uninstaller Manager ? Is there any program that can do that? or can i edit the rom with my custom settings ?
thanks in advance!
If it is in ROM, it can not be deleted. Find a different ROM that has what you want and don't want or cook your own.
cletus8 said:
Hi people!
this is my first post here ^^
i have an HTC Tilt2 with the latest Energy Rom " Standard 'Reference' ".
The problem is that the ROM itself comes with a lot of programs that i dont Like / need and i want to delete them.
How can i do that if they arent shown on the Uninstaller Manager ? Is there any program that can do that? or can i edit the rom with my custom settings ?
thanks in advance!
Click to expand...
Click to collapse
what are the programs that you NEED to delete and why? just remove them from the tabs if they bother you. deleting them (which you cant do) wont do anything anyway.

anroid apps for diamond

hiiii....
i m using android on my diamond & want to have some cool apps to work on but downloading from market is a task i dont want to do...is there any place where i can download the .apk file & install it on my diamond...plz help me with link or reply...
thanks!
What sort of apps do you want?
Im sure that if you looked around the desire forums in the apps sections you will find some .apk Then you just copy them onto your internal memory in winmo and then in android you just find them in a whatever filemanager is included in android and I think you can install them there!

[PHP][HTML][APK][Q] Creating basic app/webapp.

Hello ,
I want to make am basic app of website . To be accessable offline.
I have files:
database/database.txt
css/style.css
img/logo.jpg
index.php
My question and ask:
Would You help me how to put that files info apk file and make it all working (php) ?
Pawelelo520 said:
Hello ,
I want to make am basic app of website . To be accessable offline.
I have files:
database/database.txt
css/style.css
img/logo.jpg
index.php
My question and ask:
Would You help me how to put that files info apk file and make it all working (php) ?
Click to expand...
Click to collapse
You could just simply use a WebView ?
Google - Android WebView example
Should help you out.

Categories

Resources