Package 

Class MetaDataUtils


  • 
    public class MetaDataUtils
    
                        

    Utility class to easily access the manifest meta-data info

    • Method Summary

      Modifier and Type Method Description
      static Bundle getAppMetaData(Context context) Get the bundle meta data info from the AndroidManifest
      static boolean getBooleanMetaData(Context context, String key) Get a boolean meta-data info value from the manifest
      static int getIntMetaData(Context context, String key) Get an integer meta-data info value from the manifest
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Method Detail

      • getAppMetaData

         static Bundle getAppMetaData(Context context)

        Get the bundle meta data info from the AndroidManifest

        Parameters:
        context - Application context
      • getBooleanMetaData

         static boolean getBooleanMetaData(Context context, String key)

        Get a boolean meta-data info value from the manifest

        Parameters:
        context - Application context
        key - key of the meta-data info
      • getIntMetaData

         static int getIntMetaData(Context context, String key)

        Get an integer meta-data info value from the manifest

        Parameters:
        context - Application context
        key - key of the meta-data info