i want to use ini file as my config files. how to use ini file in android instead of xml file. i mean replace xml with ini in android
On Jan 30, 11:48 am, Dianne Hackborn <hack...@android.com> wrote: > Android doesn't do ini files; we generally use XML for these kinds of > things. You will probably need to find a parser elsewhere, or write your > own, and compile it into your app. > > > > On Thu, Jan 29, 2009 at 6:59 PM, Paranoia <zheny...@gmail.com> wrote: > > > Thanks > > but it seems that this method can not handle the ini file with > > multiple sections. > > e.g. > > > [Section1] > > X=a > > Y=b > > > [Section2] > > U=c > > V=d > > ... > > > On Jan 22, 2:37 pm, Freepine <freep...@gmail.com> wrote: > > > Hi, maybe you can try > > > java.util.Properties.load(InputStream< > >http://code.google.com/android/reference/java/io/InputStream.html> > > > in) > >http://code.google.com/intl/zh-CN/android/reference/java/util/Propert...) > > > > On Thu, Jan 22, 2009 at 2:14 PM, Paranoia <zheny...@gmail.com> wrote: > > > > > i can not find any utility to parse the ini file in android. any one > > > > can help me? > > -- > Dianne Hackborn > Android framework engineer > hack...@android.com > > Note: please don't send private questions to me, as I don't have time to > provide private support. All such questions should be posted on public > forums, where I and others can see and answer them. --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---