top button
Flag Notify
    Connect to us
      Facebook Login
      Site Registration Why to Join

Facebook Login
Site Registration
Print Preview

Compiled and uncompiled resources in Android

0 votes
328 views

During the build of Android application some resources files are compiled and put in a binary file (resources.arsc) and some other not. In the book "Beginning Android 4" I've found the following phrase: "The .apk file is a ZIP archive containing the .dex file, the compiled edition of your resources (resources.arsc), any uncompiled resources (such as what you put in res/raw/), and the AndroidManifest.xml file." However, after examining several apk files I've found that usually layout files are not put into resources.arsc and sometime other xml files from resources folder are also left untouched.
Could someone clarify me which resources are called compiled and which are not and also when they are compiled, under which circumstances?

posted Jul 19, 2013 by anonymous

Share this question
Facebook Share Button Twitter Share Button Google+ Share Button LinkedIn Share Button Multiple Social Share Button

1 Answer

+1 vote

Which resources do you think are not compiled? All Android resources are compiled -- the only usable representation of them is as the binary resources.arsc format. Traditional Java resources are not compiled, but we generally dont use those in Android. (There is probably a place or two that does use them, though.)

answer Jul 20, 2013 by anonymous
Similar Questions
+1 vote

I am using GsmCellLocation to get LAC and cell id for 3G network with below code :

mCid = gmsCellLocation.getCid() & 0xffff;
mLac = gmsCellLocation.getLac();

and is there any library or formula how to get/calculate the correct LAC and cell id for LTE network (4G) ?

0 votes

I am searching for the smallest and largest in term of size of android app ever built and launched in google play store?

+1 vote

Hi, Being a learner. I am here to participate just like other android developer forum to enhance my knowledge regarding Android Programming & I would like to know that "how to debug my database and shared preferences in an android application", which has become difficult to debug. I hope any tech developer help me in resolving this issue.


Useful Links with Similar Problem
Contact Us
+91 9880187415
sales@queryhome.net
support@queryhome.net
#470/147, 3rd Floor, 5th Main,
HSR Layout Sector 7,
Bangalore - 560102,
Karnataka INDIA.
QUERY HOME
...