XML architecture

by JRL » Thu, 16 Apr 2009 07:57:24 GMT

Sponsored Links
 I am looking for resources concerning Android's use of XML - not how
to's, but technical articles or whitepapers concerning the XML
architecture in Android. Why were things designed the way they were,
what considerations were made - all specific to the XML part.

Can anyone point me to some good articles/websites/books/whitepapers/
videos ?


Other Threads

1. Display issue on i.MX51

Hi, all,

There's display output in WVGA LCD via DISP2, but the color is
incorrect (not reversed), and the backlight is very dark.

Could anybody give some hints?



2. SDK-addon development


I am working on implementing an SDK-addon and wonder how to setup my
components and source codes.

I have seen the sample-addon but somehow it does not feel like this
offers enough of a sample to explain all I would like because my SDK-
addon also contains a service.

My setup looks pretty much like this

     Sample Activity
          | SDK-addon jar(when compiling)
          | /system/lib/myaddon.jar on the target at runtime
 Client facing Java API
          | (AIDL generated stubs)
     Library code used by the service (optional)

D1) An APK to get my service running  (on the target/emulator)
D2) A jar + /etc/permission/myaddon.xml so my sample activity can find
    the classes at runtime 
D3) a SDK-addon (containing javadoc  the file system images and the 

I am trying to understand how I can best setup my android makefile/source 
eclipse project

P1) myaddonClientLib (Java code wrapping AIDL)
P2) myaddonInternalInterfaces (AIDL code and constants) this is a "library" 
P3) myaddonImpl (The service implementation)

P2 is shared between the "client and server" as library project

How can I setup something like this in the android source code repository?

I have the follow problems/questions:
At first I "just" did put all the code into one source repository is this 
the right approach?
Is it normal that I need to generate booth the myaddon.jar and use the same 
code in a APK package?
The {@hide} tags and such don't work in the sample addon should I put my 
API's somewhere else?
I have been quite happy developing using the SDK but it looks like my 
productivity is going down
when creating this addon. What does the flow look like when developing a 
I found this workflow 
Can I do something like that?



3. Hide each view after LayoutAnimation

4. How many ways to find out..?

5. Permission Denied exception on SD Card Write - Manifest has the permission

6. (WTB) Samsung Epic 4g

7. Error installing Android SDK Tools, revision 9