Hey,
Maybe a stupid question, but I can't find the answer.
I created an application, I have some images res/drawable-...
I can create an apk, ready for release and I can install it on my phone.
When I open the apk (with winzip for example), I can see the folder "res" and all the images. I can extract these images on my computer and see them.
Are images not "compiled" or "compressed" ?
When I look here: http://developer.android.com/tools/building/index.html, I think with "aapt", the resources are compiled.
But not in my case. What am I missing ?
Thanks
ps: when I check "yes this thread is a question", I have this message "This is not a Q&A forum. By posting questions in this forum you are breaking the forum rules." But I'm in Coding Discussion, Q&A, and Educational Resources > Java for Android App Development
That's normal.
An apk file is an archieve like zip files. So everything is just compressed.
As far as I know, aapt just compiles resources written in xml (like layouts or menus) and creates all necessary IDs.
If you want to hide the images, you can try this: http://stackoverflow.com/questions/11735198/how-to-hide-images-of-apk
And it is the right forum. It's a bit confusing, I know.
Thanks you for your answer.
Good to know that.
Sent from my SC-06D using xda app-developers app
Related
I need to create a shortcut to a .htm file so that it opens with resco explorer's viewer. So what should i write in .lnk file.
Are there any parameters to Include? I dont know what parameters to include in shortcut file.
This is not the section for questions.
there is a Questions & Answers section in the forum, please use it.
thank you
nir36 said:
This is not the section for questions.
there is a Questions & Answers section in the forum, please use it.
thank you
Click to expand...
Click to collapse
I dont think there is any official help for this, as i have searched. So some developer would know how to use parameters and what are they.
Hi everyone. My respect to all xda developers. As I can't post this thread in developers section I have to post it here. I am new in android but not in computing. Simple I export an apk with tasker wich changes the permissions of /dev/exynos-mem file to 666 on camera apps start and back to 600 on camera apps stop. Both .apk and .xml included in .zip file. I also want to ask developers , expecially Chainfire can it be usefull is some ways? Please report. Thanks.
Hi all, not sure where to put this thread, so I thought this would be a good start.
I have a Motorola MC40 device that is used for scanning items in a retail store. I am need to write a little app for it, but cannot get Eclipse to see the device. I've tried the only suggestion I can find on the internet on StackOverflow (search mc40, i can't post links here yet), but my Win7/64bit computer isn't seeing the device.
I've tried viewing it with adb devices and have made sure that I am updating the correct SDK files... still no go.
I remember having to do something like this with my Kindle fire initially, but it wasn't this hard to get working.
Any thoughts or advice would be appreciated.
Thanks!
...Still looking for a solution. I cannot figure this out! BLAH...
This is the APP development section. This is not for driver and therefore kernel related things.
Thanks for the reply. I've posted it Android Development and Hacking > Miscellaneous Android Development. Appreciate the guidance!
nikwen said:
This is the APP development section. This is not for driver and therefore kernel related things.
Click to expand...
Click to collapse
Posted an answer in your new thread.
This thread was closed because this was being taken care of in a different thread: http://forum.xda-developers.com/showthread.php?t=2299622
Where can I get the original files for the phone? Is there a download from Samsung. I see the leaked files on this board but wondering if there is official files.
Specifically I would like to go back to the original baseband from MH1 but I don't see the baseband files.
Thanks
dpmanter said:
Where can I get the original files for the phone? Is there a download from Samsung. I see the leaked files on this board but wondering if there is official files.
Specifically I would like to go back to the original baseband from MH1 but I don't see the baseband files.
Thanks
Click to expand...
Click to collapse
No where, they have not published the factory images for our device and I don't think they will ever..
dpmanter said:
Where can I get the original files for the phone? Is there a download from Samsung. I see the leaked files on this board but wondering if there is official files.
Specifically I would like to go back to the original baseband from MH1 but I don't see the baseband files.
Thanks
Click to expand...
Click to collapse
There are modem files if you do a search and you need to post these questions in Q&A this does not belong here. Plus there are some images floating around. SEARCH
There is a list of forum rules to help you at the top of each section to help you.
Moderator has been notified to move this to the proper section.
Sent from my GT-I9505G using Tapatalk 2
MJHawaii said:
There are modem files if you do a search and you need to post these questions in Q&A this does not belong here. Plus there are some images floating around. SEARCH
There is a list of forum rules to help you at the top of each section to help you.
Moderator has been notified to move this to the proper section.
Sent from my GT-I9505G using Tapatalk 2
Click to expand...
Click to collapse
Yeah, it's too bad we can't have a reference ROM from the manufacturer to validate these other, floating ROMs against. It's always good to implicitly trust no trojan code has been injected into any of those leaked or custom images. Why would anyone have motivation to do that?
This tool generate's flashable zips from system.img to flash GSIs.
Extract the file and place your system.img in that directory(It has to be named system.img)
Then run makezip.bat.
A file called system.zip will be created.
Flash the file in twrp.
apersomany said:
...
Click to expand...
Click to collapse
@apersomany THREAD CLOSED as you've created already another thread with this topic, and to which your above posts have been copied: https://forum.xda-developers.com/nubia-red-magic-5g/how-to/how-to-flash-gsis-red-magic-5g-how-to-t4089919/
XDA Forum Rules (excerpt):
...
5. Create a thread topic or post a message only once, this includes external links & streaming media.
As a large forum, we don't need unnecessary clutter. You're free to edit your message as you like, so if you do not receive an answer, revisit your message and see if you can describe your problem better. Not everyone is online at the same time so it might take a while before you receive an answer.
You can bump your unanswered question once every 24 hours
Duplicate threads and posts will be removed
Always post in an existing thread if a topic already exists, before creating a new thread.
Use our search function to find the best forum for your device.
Links to an external source are only allowed if relevant to the topic in hand. A description must be included, no copy & pasting from the original source.
Self-promotion is forbidden, this includes blogs, social media and video channels etc. Random links will be removed.
...
Click to expand...
Click to collapse
Please note above that I've highlighted in red, and please refrain from creating a new thread everytime!