[DEV] how to store extra data in APK files - G1 Android Development

Hello,
I'm trying to skink my widget...
I'd like to store my skin into :
/data/data/org.jsharkey/sky/skins/default/*.png
How can I do to store this PNG files into a 'skins' folder ?
Is there a better way ?
thanks !!!

Related

[Q] Modify a protected apk ?

Hi,
I downloaded on the Market a free app, but it's a protected apk.
I'd like to modify this apk to change the language of the app.
Is it possible ?
Thxs.
Sure. classes.dex file was separated from resources, so you have to merge them. And if it was odexed, then you have to deodex it. Not a big deal.
Thanks. I gonna to try this.

[Q] Where can I find the Wallpapers folder?

Hello
Where can I find the Wallpapers folder?
Where the stock wallpapers are stored...
Is it in the System or what?
Thanks in advance!
Looking for the same...
Been in front of google for 2 days now..
It's in the launcher.apk app.
Like the guy above said its in the system/app/launcher2.apk and from there it is normally in res/drawable-nodpi but that can change depending on the rom and device

Install New Fonts to read books / without Root

I am trying to add more fonts, popular microsoft word fonts, and read books with those fonts. I use fbreader app for reading books and the font choice is very limited as is. Can anyone show how to add fonts without rooting the device? Galaxy tab 2 7 Android ice cream sandwich
Decompile the fbreader.apk , change fonts.( Thats if it uses a custom font and is included in the .apk) Recompile / sign , Push to device.
http://forum.xda-developers.com/showthread.php?t=1633333
Why not just root and use a custom App to change fonts ( ROM ToolBox Pro for example)? Much easier IMO , but up to you as its your device :laugh:
Read the link below , VERY cool app and most of us have used it and had no problems. Makes your device all "new" in case of warranty issues.
http://www.xda-developers.com/android/triangle-away-updated-to-support-new-devices/
Edit : Is it a free App ? Post a link and I will see if the fonts can be changed
Sean_Seany said:
Decompile the fbreader.apk , change fonts.( Thats if it uses a custom font and is included in the .apk) Recompile / sign , Push to device.
http://forum.xda-developers.com/showthread.php?t=1633333
Why not just root and use a custom App to change fonts ( ROM ToolBox Pro for example)? Much easier IMO , but up to you as its your device :laugh:
Read the link below , VERY cool app and most of us have used it and had no problems. Makes your device all "new" in case of warranty issues.
http://www.xda-developers.com/android/triangle-away-updated-to-support-new-devices/
Edit : Is it a free App ? Post a link and I will see if the fonts can be changed
Click to expand...
Click to collapse
Thanks Sean....Is what a free App?
I heard that fbreader uses whatever fonts thats already on the system?
Sorry I meant is fbreader a free app. Tried to download it via the play store and it says its incompatible with my tab ? SGT2 3110.
Pretty sure you will need root access to alter font settings. If it was in the fbreader.apk I could change them to what ever you wanted. If it uses stock fonts , You would have to change the system font it uses ( just swap the fonts over keeping the same font name so they are referenced in the system )and that would be a system wide change, kinda gets tricky messing with stuff, fun....but tricky
You could , If you had root , decompile system./framework apks and reference new fonts to use. You will need some tools to do this ( All free ) and some knowledge of editing .xml with something like notepad++.
lol Sometimes the easiest way is the best way .......
Can I use my own fonts with FBReader?
Yes. Put your *.ttf and/or *.otf files into Fonts directory on the memory card. Then new fonts will be available in Text section of the preferences dialog.
Click to expand...
Click to collapse
http://www.fbreader.org/faq-page#t29n240

How to change Default Apps and Wallpapers on Mediatek Devices

Hi everybody
I'm looking for "how to change the default apps and wallpapers on mediatek devices" in order to make my own custom ROM.
For default apps, I tried to put .apk files in /system/app, and created a backup using MTKDroidTools, but it didn't work (like the MX Player apk file). Can someone help me for this.
Also I couldn't find how to replace defalut wallpapers in my stock ROM.
I have a iNew i2000 (MT6589)
Thanks
for that you have to put .so files in system / lib folder...btw putting apps like mx player is not a good idea.... as user can install them... it just make rom bulky...
Sent from my IRIS_501 using xda premium
akash akya said:
for that you have to put .so files in system / lib folder...btw putting apps like mx player is not a good idea.... as user can install them... it just make rom bulky...
Sent from my IRIS_501 using xda premium
Click to expand...
Click to collapse
Thanks for answering
I have to edit .so files? if so, which ones? and I will have to do it with which software?
For default apps, I used MX Player for testing purposes, I want to put a custom app in order to be a default app in my ROM
Thank you again
ilyasovich said:
Hi everybody
I'm looking for "how to change the default apps and wallpapers on mediatek devices" in order to make my own custom ROM.
For default apps, I tried to put .apk files in /system/app, and created a backup using MTKDroidTools, but it didn't work (like the MX Player apk file). Can someone help me for this.
Also I couldn't find how to replace defalut wallpapers in my stock ROM.
I have a iNew i2000 (MT6589)
Thanks
Click to expand...
Click to collapse
To change default wallpaper you have to edit framework-res.apk, and replace defaultwallpaper.jpg
To change wallpapers in launcher you have to edit Launcher2.apk, and replace wallpaperXX.jpg and their thumbnails for your dpi
To add apps, put them in /system/app, and if it contains any lib in apk package (check it using 7zip or winrar), extract it and put inside /system/lib/
lolet said:
To change default wallpaper you have to edit framework-res.apk, and replace defaultwallpaper.jpg
To change wallpapers in launcher you have to edit Launcher2.apk, and replace wallpaperXX.jpg and their thumbnails for your dpi
To add apps, put them in /system/app, and if it contains any lib in apk package (check it using 7zip or winrar), extract it and put inside /system/lib/
Click to expand...
Click to collapse
Thanks, I'm going to try it and I will tell you the result

[Q]HOW TO EDIT .xml Files?

Hey , I want to customize my system apps but whenever i open .xml files Like AndroidManifest , layouts etc it didn't open in simple language .
So my question is can anyone tell me how to edit the .xml files...
Any help is really appreciated
Thanks
Rajaks said:
Hey , I want to customize my system apps but whenever i open .xml files Like AndroidManifest , layouts etc it didn't open in simple language .
So my question is can anyone tell me how to edit the .xml files...
Any help is really appreciated
Thanks
Click to expand...
Click to collapse
First decompile a android app with apktool,after that u can easily edit any .xml file with notepad++ without any language problem.
If u extract an app.apk with winrar,7zip...etc or any android app like esfile explorer,zarchiver....etc then u can't edit .XML file & u face language problem.
So, decompile apk with apktool & then edit .XML files.
How to decompile apk, just Google it.
Thanks:
Yes! THANKS DUDE
Sent from my Sparkle V using XDA Premium 4 mobile app

Categories

Resources