Wouter Lagerweij, thank you very much for your answer. I already had consider the second alternative that you mentioned but I think that there must be another way. Your first option was very interesting. I didn't know that was possible to create "updates" for an android application. Can you tell me how to refer to the fully qualified classname for the 'R' class and which permissions did you used in you application? Finally I got one more doubt. How did you manage to show you "update layouts", for example to save information that the user writes on a text field of the app's layout? Thank you in advance.
Regards On 23 feb, 16:50, Wouter Lagerweij <woute...@gmail.com> wrote: > The LayoutInflator docs > (http://developer.android.com/reference/android/view/LayoutInflater.html) are > very explicitly saying this is not possible. > > You could possibly do something by getting 'install' permissions for your > app, and installing additional .apk files containing extra layouts. I've > just tried, and instantiating a layout from an already installed .apk seems > to work, as long as you refer to the fully qualified classname for the 'R' > class you're refering to. > > Or you could parse the files yourself, of course, and built the UI in your > own code. Not very nice, but doable if the layout elements used can be > limited. > > Wouter > > On Mon, Feb 23, 2009 at 7:09 PM, Rafa <rbenavidesagu...@gmail.com> wrote: > > > Hi every one, I trying to create an application similar to the > > notepad3 tutorial. The main difference is that I need to be able to > > create different "note formats". Is possible to obtain an xml file > > from the web and use it in the creation of an android interface? I > > have researched about the Metawidget library that is a very useful > > tool for android but I haven't been able to create interfaces > > dynamically. Does any one knows how this can be done? Thanks in > > advance. > > > Regards, > > Helios --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers-unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~----------~----~----~----~------~----~------~--~---