Hi,
I've cleaned this up a little bit now and put together a simple web
page for it. It's still pretty rough -- sorry -- What I'd give to have
more time to work on these things.
http://www.it.usyd.edu.au/~massad/project-android.html
I've updated the code so that it now outputs to files instead of the
Android Log, and I've collected all the files into one .tgz file.
(This is just for the android.R.layout)
Mark.
On Feb 20, 7:54 am, Peli <
peli0...@googlemail.com> wrote:
> Thanks a lot! Now I got it. Actually I had also tried what you
> suggested, but probably got confused by the many XML layouts that came
> as output.. I had not realized that start++ also iterates through all
> following layouts... So if I just look at the first one, everything is
> fine!
>
> Thanks!
>
> Peli
>
> On 19 Feb., 18:06, Bob Pesner <
pcdial...@gmail.com> wrote:
>
> > Hi,
>
> > You can replace:
>
> > int start = R.layout.main;
>
> > at the begining with:
>
> > int start = android.R.layout.simple_list_item_1;
>
> > On Feb 19, 6:21 am, Peli <
peli0...@googlemail.com> wrote:
>
> > > Thank you Mark! The code is really great!
>
> > > Do you know by chance how I would have to change your code so that I
> > > could access the android resources directly? Like to display the xml
> > > for android.R.layout.simple_list_item_1? (I'd like to know the padding
> > > used there)
>
> > > Peli
>
> > > On Feb 11, 9:10 am, Mark Assad <
mas...@gmail.com> wrote:
>
> > > > I've been using the code below to decode theXML. Not pretty. but it
> > > > gives you a summary of theXML. It should be cleaned up, but I haven't
> > > > had the time to do that yet. I was hoping if I put it here someone
> > > > else might like clean it up. :)
>
> > > > The code will load (and decode!) allXMLresources in an application,
> > > > and display them on the log.
>
> > > > Resources r2;
> > > > r2 =
> > > > this.getPackageManager().getResourcesForApplication("com.google.android.con tacts");
> > > > > > > Thanks- Zitierten Text ausblenden -
>
> > - Zitierten Text anzeigen -