I have an application. And in application i put a folder xyz.zip in assets folder which is extracting and made a folder with same name(xyz) at same place which have lots of files. So i need to hide all files from xyz folder after installation of application.Please suggest me how can i do this in my app.
Thanks in advance.
If I remember correctly, you rename the folder that you want hidden using a period before the name of the folder i.e. .appfolder
Sent from my Desire HD using xda app-developers app
After Installation hide folder from SDCARD
romuloxiii said:
If I remember correctly, you rename the folder that you want hidden using a period before the name of the folder i.e. .appfolder
Sent from my Desire HD using xda app-developers app
Click to expand...
Click to collapse
Thank you for reply dear.
I did above thing but its not working. Can you elaborate pro-grammatically how can i do this. Because at run time how can i change name of the folder with "." prefix.
Related
Hi..
I wanted to change the contact images in the framework-res. I've done so far, but when I folded the new framework-res with the mod-tool push, then that too, but he shows me the new image does not accumulate in handy.
I can do or what?
My steps:
1. I replace the corresponding image (PNG format) with 7zip
2. im sending the new framework-res or contact.apk via adb mask controller on my x10i
3. reboot
4. im showing in contacts and the image ist the same as before
looking like a rat i handle it?
"Title: Edit Contact Picture"
you should edit "contacts.apk" located in "/system/app" not "framework-res.apk"
DynamicRam said:
you should edit "contacts.apk" located in "/system/app" not "framework-res.apk"
Click to expand...
Click to collapse
the contact image I have is in the framework-res. in the contact.apk another is available.
I am using CM 4.5.7 by Wolf Break
Have you resigned the apk?
Sent from my X10i using XDA App
no, like I do that?
Google it. But you will need the Android SDK or at least latest JDK and there is a script somewhere here on XDA called autosign or something like that. You will need to install those than remove the meta-inf from the modified apk put the apk file in the folder for autosign (make sure theres only one apk in the folder) then run autosign and it will create a new apk called your_signed_apk then rename it and push back to your phone.
Search "resigning apk files" and read. Theres an old thread somewhere for changing app icons i think that has everything you need to know.
Sent from my X10i using XDA App
Here is the thread
http://forum.xda-developers.com/showthread.php?t=503007
Read this thread and use the OPs modified tool found here:
http://www.mediafire.com/?yw24z5m4yya
Sent from my X10i using XDA App
Thx for this.
Sent from my X10i using XDA Premium App
CMoney87 said:
But you will need the Android SDK or at least latest JDK and there is a script somewhere here on XDA called autosign or something like that. You will need to install those than remove the meta-inf from the modified apk put the apk file in the folder for autosign (make sure theres only one apk in the folder) then run autosign and it will create a new apk called your_signed_apk then rename it and push back to your phone.
Click to expand...
Click to collapse
System apps don't need to be signed. If you look in framework-res.apk, there's no META-INF directory.
Are you sure you replaced the framework-res.apk file correctly? I posted some info about framework-res.apk here: http://forum.xda-developers.com/showthread.php?p=11193663#post11193663
As always, back up with xRecovery before messing around with framework-res.apk. One mistake and you won't be able to boot.
I think most stock apps actually might not need to be signed, now that i think about it though. You might just need to make sure you remove the unmodified app first (copy it somewhere first for a backup) and then manually put the apk in, set permissions correctly and then reboot. This apk signing trick allows you to modify any app to change shortcut icons or customize anything you want and reinstall it correctly so it should come in handy anyways.
Sent from my X10i using XDA App
How do i Change the boot animation on Samsung Galaxy Y s5360
We need more info then that.
Kernel
ROM
Sent from my SGH-I777
How to find kernel.. rom. ...
I am using infected ablaze rom. ..
Sent from my GT-S5360 using XDA App
I don't know how to get information about kernel
Sent from my GT-S5360 using XDA App
I've never messed around with that rom. I'd take a look around and see if you can find a file called Bootanimation.zip.
Sent from my SGH-I777
if you have a root, download a alternative boot animation, and with root manager put this in system/media folder
In /system/media there is no bootanimation.Zip
Sent from my GT-S5360 using XDA App
There is no such a file. .... I found following in /system/media :
BootSamsung.qmg
BootSamsungloop.qmg
Sent from my GT-S5360 using XDA App
zacpac2020 said:
How to Change Via an Image Editor
1. Navigate to /system/media with Root Explorer or a similar app.
2. There should be a zip file named "bootanimation.zip".
3. Copy this file to your SD Card.
4. Plug device into computer.
5. Copy to your Desktop (assuming you're using Windows).
6. Unzip the file.
7. Navigate to bootanimation/part0.
8. All of the pictures for your boot animations are here. Modify them to your liking.
9. Copy file to SD Card.
10. Mount /system R/W in Root Explorer.
11. Zip bootanimation in /sdcard.
12. Copy and paste in /system/media, deleting the old one.
13. Restart your phone.
If I have helped you, please click "Thanks"
Click to expand...
Click to collapse
There is no such a file. .... I found following in /system/media :
BootSamsung.qmg
BootSamsungloop.qmg
pls help me ....
swap.blue said:
There is no such a file. .... I found following in /system/media :
BootSamsung.qmg
BootSamsungloop.qmg
pls help me ....
Click to expand...
Click to collapse
Copy "BootSamsung.qmg" "BootSamsungloop.qmg"
to your pc. change the file extension to .zip and then open with Winrar . You will see a series of numbered images. Edit them or replace them with your image inside winrar. Save it .
Now change the extension .zip to original .qmg and transfer them on phone. set the permission .
musarraf172 said:
Copy "BootSamsung.qmg" "BootSamsungloop.qmg"
to your pc. change the file extension to .zip and then open with Winrar . You will see a series of numbered images. Edit them or replace them with your image inside winrar. Save it .
Now change the extension .zip to original .qmg and transfer them on phone. set the permission .
Click to expand...
Click to collapse
Its not working bro.....
It asks for a password....>
Ive don this before. copy paste bootanimation.zip of your choice to media folder.
If above fails try doing it before flashing the ROM. (this works for me)
Hope i help you...
Sent from my GT-S5360 using XDA Premium App
swap.blue said:
Its not working bro.....
It asks for a password....>
Click to expand...
Click to collapse
Your rom should be rooted.
musarraf172 said:
Your rom should be rooted.
Click to expand...
Click to collapse
Its rooted
tried this http://forum.xda-developers.com/showthread.php?t=1353561
but phone stucks at animation.....even the phone is wrking but displaying the animation
Hi,
Can someone remind me where to place the .apk`s data file please? Google is not my friend!
I have installed the apk and have the com. file but for the life of me can remember where to put it!?
Com. Files go in sdcard/android/data
However there are some apps that require it to be on a folder named obb which you need to create on sdcard/android. Normally the website where you downloaded the app should say where to put it down, if not try the first one
Hope it helps
Sent from my KFTT using xda app-developers app
Now is that a com.xxxxxxxxxx.whatever.huh folders? Or com.appnamehere.apk's?
Having a problem with ICS Oficial. 587 and root.
I downloaded a few mod. This modes write to:
system\lib\soundfx
But it is a problem!
In this directory, but I can not copy some files. Delete (and its files) and create a folder SoundFX be OK.
Write/copy does not work. Not even install zip through CWM-Recovery.
Where is the problem? Can you help?
Which file manager do you use
Sent from my WT19i using xda app-developers app
NooK_SU said:
Which file manager do you use
Sent from my WT19i using xda app-developers app
Click to expand...
Click to collapse
Copy the same files (overwrite) OK. New files can not be copied.
The files have the extension *. so
LeClair said:
Copy the same files (overwrite) OK. New files can not be copied.
The files have the extension *. so
Click to expand...
Click to collapse
Sorry I mean which app you use for that.
Sent from my WT19i using xda app-developers app
Download I sound mode. Needs to write eg:
system\lib\SoundFX
In this directory, but I can not copy it. If you delete an application system\app
SemcMusik, SemcVisualiser and copying work.
Then NOT work back then copied by SemcMusik, SemcVisualiser to system\app
I tried to test create installation ZIP and make install-over CWM Recovery.
Not working: (
Install APK classic OK. But I do not see in system\app
Hi guys
Hope someone help me
Can someone help or my one apk:
Settings.apk
My rom will be finish but i have problem with this apk so i could finish it
I try to push it but it doesnt work
Even a stock.
But my friend gave me a one settings.apk it work
But i need to edit more so i not use it.
Please someone help at once..
Sent from my GT-S5300 using xda app-developers app
Seems like you want to "mod" your ROM?
janreytuazon15 said:
Hi guys
Hope someone help me
Can someone help or my one apk:
Settings.apk
My rom will be finish but i have problem with this apk so i could finish it
I try to push it but it doesnt work
Even a stock.
But my friend gave me a one settings.apk it work
But i need to edit more so i not use it.
Please someone help at once..
Sent from my GT-S5300 using xda app-developers app
Click to expand...
Click to collapse
First of all, which ROM are you using? Get the ROM's "zip" file. In the "zip" file, you will find the "system" folder. Open the "system" folder, and you will find the "app" folder. In the "app" you will get the apk named "Settings.apk".
If you are modding your ROM, it is necessary that you "sign" the apk. Else, it won't work.
Assuming that you are using apktool:
Unpack apk using apktool, do all the editing and stuff.
Open up the original "Settings.apk", and extract the "META-INF" folder and "AndroidManifest.xml" file from it.
Pack the apk using "apktool b Settings"
Now, copy the META-INF and the AndroidManifest.xml files/folders into Settings/build/apk folder and paste it (replace files if necessary)
Then, re-build the apk using "apktool b Settings"
Now, push the app, and apply the permissions correctly. In most cases, it is 644.
Iam using my rom
But its not finish because of that apk
Sent from my GT-S5300 using xda app-developers app
vineethraj49 said:
First of all, which ROM are you using? Get the ROM's "zip" file. In the "zip" file, you will find the "system" folder. Open the "system" folder, and you will find the "app" folder. In the "app" you will get the apk named "Settings.apk".
If you are modding your ROM, it is necessary that you "sign" the apk. Else, it won't work.
Assuming that you are using apktool:
Unpack apk using apktool, do all the editing and stuff.
Open up the original "Settings.apk", and extract the "META-INF" folder and "AndroidManifest.xml" file from it.
Pack the apk using "apktool b Settings"
Now, copy the META-INF and the AndroidManifest.xml files/folders into Settings/build/apk folder and paste it (replace files if necessary)
Then, re-build the apk using "apktool b Settings"
Now, push the app, and apply the permissions correctly. In most cases, it is 644.
Click to expand...
Click to collapse
If i edit other thing in my apk i will do ur method up there in apktool
Then i will sign and zipalign? Or only sign?
Sent from my GT-S5300 using xda app-developers app
Use any of the tools available for zipaligning
janreytuazon15 said:
If i edit other thing in my apk i will do ur method up there in apktool
Then i will sign and zipalign? Or only sign?
Sent from my GT-S5300 using xda app-developers app
Click to expand...
Click to collapse
I just sign the apk and push it, and it works. If you would like to zipalign, use dsixda's kitchen, or any other apk tools available
vineethraj49 said:
I just sign the apk and push it, and it works. If you would like to zipalign, use dsixda's kitchen, or any other apk tools available
Click to expand...
Click to collapse
Did i do your apktool method an sign and push?
Sent from my GT-S5300 using xda app-developers app
Yes, without signing, it wouldn't work.
janreytuazon15 said:
Did i do your apktool method an sign and push?
Sent from my GT-S5300 using xda app-developers app
Click to expand...
Click to collapse
As I said, system apps don't work if they aren't signed properly. And, the method that I use for signing is just "another" method. There are other methods too For simplicity, you can use any of the "apk tools" that other developers have created for simplicity.
vineethraj49 said:
As I said, system apps don't work if they aren't signed properly. And, the method that I use for signing is just "another" method. There are other methods too For simplicity, you can use any of the "apk tools" that other developers have created for simplicity.
Click to expand...
Click to collapse
Hi try to decompile it in apktool
But
I see a errors when get decompiling..
And when i get to the directory
I only see
Res
Androidmanifest.xml
And one other folder
Sent from my GT-S5300 using xda app-developers app
You need to install required frameworks...
janreytuazon15 said:
Hi try to decompile it in apktool
But
I see a errors when get decompiling..
And when i get to the directory
I only see
Res
Androidmanifest.xml
And one other folder
Sent from my GT-S5300 using xda app-developers app
Click to expand...
Click to collapse
Get the framework-res.apk from the /system/frameworks folder, and install it using apktool if framework-res.apk and try compiling :silly: