android.R

satya - Thursday, October 02, 2008 1:15:25 PM

on the question of assets

Not sure. But here is some analysis and a guess

Consider the following code in one of the samples


TypeFace mFace = Typeface.createFromAsset(
                          getContext().getAssets(),
                                  "font/samplefont.ttf");

The directory and file "font/samplefont.ttf" exists in the sub directory of "assets".

Although most sample applications seem to have an empty assets directory, the idea of assets seem to be tightly plugged into Resources.

The class "AssetManager" indicates that this allows to read "raw" files from this sub directory.

In short the answer may be that all "raw" files that you want to read you want to place them in this subdirectory as the path to the AssetManager is off this root path.

For more see the "open" method of the AssetManager class.

satya - Thursday, October 02, 2008 1:16:45 PM

API for AssetManager class

API for AssetManager class

satya - Friday, October 03, 2008 9:21:55 PM

what are android resource references?

what are android resource references?

Search for: what are android resource references?

satya - Friday, October 03, 2008 9:22:48 PM

what is android batch retrieval of resources?

what is android batch retrieval of resources?

Search for: what is android batch retrieval of resources?

satya - Friday, October 03, 2008 9:23:33 PM

what is the functionality and behavior of resource compiler in android?

what is the functionality and behavior of resource compiler in android?

Search for: what is the functionality and behavior of resource compiler in android?

satya - Wednesday, October 08, 2008 8:55:06 AM

How to use Android raw resources?

How to use Android raw resources?

Search for: How to use Android raw resources?

satya - Wednesday, October 08, 2008 3:19:44 PM

How to use XmlPull API?

How to use XmlPull API?

satya - Wednesday, October 08, 2008 8:49:37 PM

OpenRawResource

OpenRawResource

Search for: OpenRawResource

satya - Tuesday, November 11, 2008 8:51:04 AM

Where are standard colors defined for Android?

Where are standard colors defined for Android?

Search for: Where are standard colors defined for Android?

satya - Tuesday, November 11, 2008 8:52:32 AM

what are stretchable images in Android?

what are stretchable images in Android?

Search for: what are stretchable images in Android?

satya - Tuesday, November 11, 2008 8:52:56 AM

Validate the id creation concept and why?

Validate the id creation concept and why?

satya - Tuesday, November 11, 2008 8:54:18 AM

Read through theme resources and elaborate

Read through theme resources and elaborate

satya - Tuesday, November 11, 2008 9:05:16 AM

elaborate on drawable resources

elaborate on drawable resources

satya - Thursday, January 01, 2009 12:45:24 PM

What is Android Color Format?

What is Android Color Format?

Search Google for: What is Android Color Format?

Search Android Developers Group for: What is Android Color Format?

Search Android Beginers Group for: What is Android Color Format?

Search Google Code for: What is Android Color Format?

Search Android Issues Database for: What is Android Color Format?

satya - Thursday, January 01, 2009 12:45:58 PM

How does Android map XML attributes to Java code?

How does Android map XML attributes to Java code?

Search Google for: How does Android map XML attributes to Java code?

Search Android Developers Group for: How does Android map XML attributes to Java code?

Search Android Beginers Group for: How does Android map XML attributes to Java code?

Search Google Code for: How does Android map XML attributes to Java code?

Search Android Issues Database for: How does Android map XML attributes to Java code?

satya - Thursday, January 01, 2009 12:53:29 PM

What does shape xml tag translates to in Android

What does shape xml tag translates to in Android

Search Google for: What does shape xml tag translates to in Android

Search Android Developers Group for: What does shape xml tag translates to in Android

Search Android Beginers Group for: What does shape xml tag translates to in Android

Search Google Code for: What does shape xml tag translates to in Android

Search Android Issues Database for: What does shape xml tag translates to in Android

satya - Thursday, January 01, 2009 1:26:32 PM

What are limitations of drawable tag in the values sub directory?

What are limitations of drawable tag in the values sub directory?

Search for: What are limitations of drawable tag in the values sub directory?

satya - Thursday, January 01, 2009 1:27:07 PM

How can I specify a rounded rectangle drawable?

How can I specify a rounded rectangle drawable?

Search for: How can I specify a rounded rectangle drawable?

satya - Thursday, January 01, 2009 1:27:33 PM

How many drawables are allowed as Resources in Android?

How many drawables are allowed as Resources in Android?

Search for: How many drawables are allowed as Resources in Android?

satya - Thursday, January 01, 2009 1:27:57 PM

Can I construct a PaintDrawable through a resource?

Can I construct a PaintDrawable through a resource?

Search for: Can I construct a PaintDrawable through a resource?

satya - Thursday, January 01, 2009 1:45:00 PM

Study Resources.getDrawable() source code

Study Resources.getDrawable() source code

satya - Thursday, January 01, 2009 1:46:00 PM

Example of a shape drawable


<shape xmlns:android="http://schemas.android.com/apk/res/android">
    <solid android:color="#f0600000"/>
    <stroke android:width="3dp" color="#ffff8080"/>
    <corners android:radius="13dp" />
    <padding android:left="10dp" android:top="10dp"
        android:right="10dp" android:bottom="10dp" />
</shape>

satya - Thursday, January 01, 2009 1:46:45 PM

This will become a gradientshape

This will become a gradientshape

satya - Thursday, January 01, 2009 1:51:39 PM

GradientDrawable

GradientDrawable

Search Google for: GradientDrawable

Search Android Developers Group for: GradientDrawable

Search Android Beginers Group for: GradientDrawable

Search Google Code for: GradientDrawable

Search Android Issues Database for: GradientDrawable

satya - Thursday, January 01, 2009 2:57:47 PM

understand layout_width and height

understand layout_width and height

satya - Thursday, January 01, 2009 3:03:59 PM

Look into the following additional resource types


array
attr
id
plurals
style
xml