ApplicationInfo ai = ctx.getPackageManager().getApplicationInfo(ctx.getPackageName(), PackageManager.GET_META_DATA); String myvalue = ai.metaData.getString("myname");
On Jul 2, 9:58 pm, carrerasrodrigo <carrerasrodr...@gmail.com> wrote: > hi! i would like to put the following tag in the manifest file. > > <manifest xmlns:android="http://schemas.android.com/apk/res/android" > package="org.package.app"> > <application> > ...... > <meta-data android:value="myvalue" android:name="myname" ></ > meta-data> > </application> > </manifest> > > The question is, how i can read the value of the meta-data tag > (myname) ?? > > thanks a lot! -- 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