Second Activity doesnt start , App force closes : Fatal exception main ; java.lang.ClassCastException:android.app.Application -


i trying make app gives list of installed apps , when item clicked , starts activity states permissions required installed apps. got installed application list, when click app instead of starting new activity , application force closes.

mainactivity

package com.example.appslist;  import java.util.list; import com.example.appslist.adapter.apkadapter; import com.example.appslist.app.appdata; import android.os.bundle; import android.app.activity; import android.content.intent; import android.content.pm.packageinfo; import android.content.pm.packagemanager; import android.view.view; import android.widget.adapterview; import android.widget.adapterview.onitemclicklistener; import android.widget.listview;   public class apklistactivity extends activity implements onitemclicklistener {      packagemanager packagemanager;       @override     public void oncreate(bundle savedinstancestate) {         super.oncreate(savedinstancestate);         setcontentview(r.layout.main);           packagemanager = getpackagemanager();         list<packageinfo> packagelist = packagemanager                 .getinstalledpackages(packagemanager.get_permissions);          listview mylistview= (listview) findviewbyid(android.r.id.list);         mylistview.setadapter(new apkadapter(this, packagelist, packagemanager));         mylistview.setonitemclicklistener(this);         }      @override     public void onitemclick(adapterview<?> parent, view view, int position,             long row) {          packageinfo packageinfo = (packageinfo) parent                 .getitematposition(position);         appdata appdata = (appdata) getapplication();         appdata.setpackageinfo(packageinfo);          intent appinfo = new intent(apklistactivity.this, apkinfo.class);         startactivity(appinfo);     } } 

apkinfo.java

package com.example.appslist;  import android.os.bundle; import android.app.activity; import com.example.appslist.app.appdata; import android.content.pm.featureinfo; import android.content.pm.packageinfo; import android.widget.textview;  public class apkinfo extends activity {    textview applabel, packagename, version, features;     textview permissions, andversion,path;     packageinfo packageinfo;      @override     public void oncreate(bundle savedinstancestate) {         super.oncreate(savedinstancestate);         setcontentview(r.layout.apkinfo);          findviewsbyid();          appdata appdata = (appdata) getapplicationcontext();         packageinfo = appdata.getpackageinfo();          setvalues();      }      private void findviewsbyid() {         applabel = (textview) findviewbyid(r.id.applabel);         packagename = (textview) findviewbyid(r.id.package_name);         version = (textview) findviewbyid(r.id.version_name);         features = (textview) findviewbyid(r.id.req_feature);         permissions = (textview) findviewbyid(r.id.req_permission);         andversion = (textview) findviewbyid(r.id.andversion);         path = (textview) findviewbyid(r.id.path);      }      private void setvalues() {         // app name         applabel.settext(getpackagemanager().getapplicationlabel(                 packageinfo.applicationinfo));          // package name         packagename.settext(packageinfo.packagename);          // version name         version.settext(packageinfo.versionname);          // target version         andversion.settext(integer                 .tostring(packageinfo.applicationinfo.targetsdkversion));          // path         path.settext(packageinfo.applicationinfo.sourcedir);           // features         if (packageinfo.reqfeatures != null)             features.settext(getfeatures(packageinfo.reqfeatures));         else             features.settext("-");          // uses-permission         if (packageinfo.requestedpermissions != null)             permissions                     .settext(getpermissions(packageinfo.requestedpermissions));         else             permissions.settext("-");     }      // convert string array comma separated string     private string getpermissions(string[] requestedpermissions) {         string permission = "";         (int = 0; < requestedpermissions.length; i++) {             permission = permission + requestedpermissions[i] + ",\n";         }         return permission;     }      // convert string array comma separated string     private string getfeatures(featureinfo[] reqfeatures) {         string features = "";         (int = 0; < reqfeatures.length; i++) {             features = features + reqfeatures[i] + ",\n";         }         return features;     } } 

appdata class

package com.example.appslist.app;  import android.app.application; import android.content.pm.packageinfo;  public class appdata extends application {      packageinfo packageinfo;      public packageinfo getpackageinfo() {         return packageinfo;     }      public void setpackageinfo(packageinfo packageinfo) {         this.packageinfo = packageinfo;     } } 

i have tried registering appdata in manifest,tried using bundle, force closes. please .

manifest file

<?xml version="1.0" encoding="utf-8"?> <manifest xmlns:android="http://schemas.android.com/apk/res/android"     package="com.example.appslist"     android:versioncode="1"     android:versionname="1.0" >      <uses-sdk         android:minsdkversion="8"         android:targetsdkversion="17" />      <application         android:allowbackup="true"         android:icon="@drawable/ic_launcher"         android:label="@string/app_name"         android:theme="@style/apptheme"      >          <activity             android:name="com.example.appslist.apklistactivity"             android:label="@string/app_name" >             <intent-filter>                 <action android:name="android.intent.action.main" />                  <category android:name="android.intent.category.launcher" />             </intent-filter>         </activity>         <activity             android:name=".apkinfo"             android:label="@string/title_activity_apk_info" >         </activity>     </application>    </manifest> 

here logcat

04-09 12:17:47.305: e/asset(5752): mas: getapppckgandvercode package: com.example.appslist === version 1 04-09 12:17:47.329: d/dalvikvm(5752): trying load lib lib_glossary.so 0x0 04-09 12:17:47.329: i/dalvikvm(5752): unable dlopen(lib_glossary.so): cannot load library: load_library[1083]: library 'lib_glossary.so' not found 04-09 12:17:47.329: e/mbglossarymanager(5752): lib_glossary.so can't loaded 04-09 12:17:47.469: e/asset(5752): mas: getapppckgandvercode package: com.google.android.location === version 8 04-09 12:17:47.469: e/asset(5752): mas: getapppckgandvercode package: com.android.launcher === version 8 04-09 12:17:47.477: e/asset(5752): mas: getapppckgandvercode package: com.android.defcontainer === version 8 04-09 12:17:47.477: e/asset(5752): mas: getapppckgandvercode package: com.navngo.igo.javaclient === version 148360 04-09 12:17:47.485: e/asset(5752): mas: getapppckgandvercode package: com.android.contacts === version 8 04-09 12:17:47.493: e/asset(5752): mas: getapppckgandvercode package: com.example.backgroundapp === version 1 04-09 12:17:47.493: e/asset(5752): mas: getapppckgandvercode package: com.arcsoft.photoworkshop === version 5 04-09 12:17:47.548: d/dalvikvm(5752): gc_external_alloc freed 934 objects / 65512 bytes in 49ms 04-09 12:17:47.555: e/asset(5752): mas: getapppckgandvercode package: com.android.phone === version 8 04-09 12:17:47.563: e/asset(5752): mas: getapppckgandvercode package: com.android.calculator2 === version 8 04-09 12:17:47.563: e/asset(5752): mas: getapppckgandvercode package: com.android.htmlviewer === version 8 04-09 12:17:47.563: e/asset(5752): mas: getapppckgandvercode package: com.example.myfirstapp === version 1 04-09 12:17:47.571: e/asset(5752): mas: getapppckgandvercode package: com.android.providers.calendar === version 8 04-09 12:17:47.571: e/asset(5752): mas: getapppckgandvercode package: com.android.bluetooth === version 8 04-09 12:17:47.571: e/asset(5752): mas: getapppckgandvercode package: com.example.sessionmanagement === version 1 04-09 12:17:47.579: e/asset(5752): mas: getapppckgandvercode package: com.google.android.location === version 8 04-09 12:17:47.579: e/asset(5752): mas: getapppckgandvercode package: com.android.launcher === version 8 04-09 12:17:47.587: e/asset(5752): mas: getapppckgandvercode package: com.android.defcontainer === version 8 04-09 12:17:47.587: e/asset(5752): mas: getapppckgandvercode package: com.navngo.igo.javaclient === version 148360 04-09 12:17:47.594: e/asset(5752): mas: getapppckgandvercode package: com.android.contacts === version 8 04-09 12:17:47.641: e/asset(5752): mas: getapppckgandvercode package: com.example.backgroundapp === version 1 04-09 12:17:47.782: w/iinputconnectionwrapper(5752): showstatusicon on inactive inputconnection 04-09 12:17:47.782: w/iinputconnectionwrapper(5752): clearmetakeystates on inactive inputconnection 04-09 12:17:49.704: d/androidruntime(5752): shutting down vm 04-09 12:17:49.704: w/dalvikvm(5752): threadid=1: thread exiting uncaught exception (group=0x400207e0) 04-09 12:17:49.719: e/androidruntime(5752): fatal exception: main 04-09 12:17:49.719: e/androidruntime(5752): java.lang.classcastexception: android.app.application 04-09 12:17:49.719: e/androidruntime(5752):     @ com.example.appslist.apklistactivity.onitemclick(apklistactivity.java:42) 04-09 12:17:49.719: e/androidruntime(5752):     @ android.widget.adapterview.performitemclick(adapterview.java:284) 04-09 12:17:49.719: e/androidruntime(5752):     @ android.widget.listview.performitemclick(listview.java:3444) 04-09 12:17:49.719: e/androidruntime(5752):     @ android.widget.abslistview$performclick.run(abslistview.java:1696) 04-09 12:17:49.719: e/androidruntime(5752):     @ android.os.handler.handlecallback(handler.java:587) 04-09 12:17:49.719: e/androidruntime(5752):     @ android.os.handler.dispatchmessage(handler.java:92) 04-09 12:17:49.719: e/androidruntime(5752):     @ android.os.looper.loop(looper.java:143) 04-09 12:17:49.719: e/androidruntime(5752):     @ android.app.activitythread.main(activitythread.java:4717) 04-09 12:17:49.719: e/androidruntime(5752):     @ java.lang.reflect.method.invokenative(native method) 04-09 12:17:49.719: e/androidruntime(5752):     @ java.lang.reflect.method.invoke(method.java:521) 04-09 12:17:49.719: e/androidruntime(5752):     @ com.android.internal.os.zygoteinit$methodandargscaller.run(zygoteinit.java:858) 04-09 12:17:49.719: e/androidruntime(5752):     @ com.android.internal.os.zygoteinit.main(zygoteinit.java:616) 04-09 12:17:49.719: e/androidruntime(5752):     @ dalvik.system.nativestart.main(native method) 04-09 12:17:51.118: i/process(5752): sending signal. pid: 5752 sig: 9 04-09 12:24:48.087: e/asset(5827): mas: getapppckgandvercode package: com.example.appslist === version 1 04-09 12:24:48.102: d/dalvikvm(5827): trying load lib lib_glossary.so 0x0 04-09 12:24:48.110: i/dalvikvm(5827): unable dlopen(lib_glossary.so): cannot load library: load_library[1083]: library 'lib_glossary.so' not found 04-09 12:24:48.110: e/mbglossarymanager(5827): lib_glossary.so can't loaded 04-09 12:24:48.212: e/asset(5827): mas: getapppckgandvercode package: com.google.android.location === version 8 04-09 12:24:48.219: e/asset(5827): mas: getapppckgandvercode package: com.android.launcher === version 8 04-09 12:24:48.219: e/asset(5827): mas: getapppckgandvercode package: com.android.defcontainer === version 8 04-09 12:24:48.219: e/asset(5827): mas: getapppckgandvercode package: com.navngo.igo.javaclient === version 148360 04-09 12:24:48.227: e/asset(5827): mas: getapppckgandvercode package: com.android.contacts === version 8 04-09 12:24:48.235: e/asset(5827): mas: getapppckgandvercode package: com.example.backgroundapp === version 1 04-09 12:24:48.235: e/asset(5827): mas: getapppckgandvercode package: com.arcsoft.photoworkshop === version 5 04-09 12:24:48.298: d/dalvikvm(5827): gc_external_alloc freed 971 objects / 66752 bytes in 58ms 04-09 12:24:48.305: e/asset(5827): mas: getapppckgandvercode package: com.android.phone === version 8 04-09 12:24:48.313: e/asset(5827): mas: getapppckgandvercode package: com.android.calculator2 === version 8 04-09 12:24:48.313: e/asset(5827): mas: getapppckgandvercode package: com.android.htmlviewer === version 8 04-09 12:24:48.313: e/asset(5827): mas: getapppckgandvercode package: com.example.myfirstapp === version 1 04-09 12:24:48.321: e/asset(5827): mas: getapppckgandvercode package: com.android.providers.calendar === version 8 04-09 12:24:48.321: e/asset(5827): mas: getapppckgandvercode package: com.android.bluetooth === version 8 04-09 12:24:48.329: e/asset(5827): mas: getapppckgandvercode package: com.example.sessionmanagement === version 1 04-09 12:24:48.329: e/asset(5827): mas: getapppckgandvercode package: com.google.android.location === version 8 04-09 12:24:48.329: e/asset(5827): mas: getapppckgandvercode package: com.android.launcher === version 8 04-09 12:24:48.337: e/asset(5827): mas: getapppckgandvercode package: com.android.defcontainer === version 8 04-09 12:24:48.337: e/asset(5827): mas: getapppckgandvercode package: com.navngo.igo.javaclient === version 148360 04-09 12:24:48.344: e/asset(5827): mas: getapppckgandvercode package: com.android.contacts === version 8 04-09 12:24:48.391: e/asset(5827): mas: getapppckgandvercode package: com.example.backgroundapp === version 1 04-09 12:24:49.805: d/androidruntime(5827): shutting down vm 04-09 12:24:49.805: w/dalvikvm(5827): threadid=1: thread exiting uncaught exception (group=0x400207e0) 04-09 12:24:49.821: e/androidruntime(5827): fatal exception: main 04-09 12:24:49.821: e/androidruntime(5827): java.lang.classcastexception: android.app.application 04-09 12:24:49.821: e/androidruntime(5827):     @ com.example.appslist.apklistactivity.onitemclick(apklistactivity.java:42) 04-09 12:24:49.821: e/androidruntime(5827):     @ android.widget.adapterview.performitemclick(adapterview.java:284) 04-09 12:24:49.821: e/androidruntime(5827):     @ android.widget.listview.performitemclick(listview.java:3444) 04-09 12:24:49.821: e/androidruntime(5827):     @ android.widget.abslistview$performclick.run(abslistview.java:1696) 04-09 12:24:49.821: e/androidruntime(5827):     @ android.os.handler.handlecallback(handler.java:587) 04-09 12:24:49.821: e/androidruntime(5827):     @ android.os.handler.dispatchmessage(handler.java:92) 04-09 12:24:49.821: e/androidruntime(5827):     @ android.os.looper.loop(looper.java:143) 04-09 12:24:49.821: e/androidruntime(5827):     @ android.app.activitythread.main(activitythread.java:4717) 04-09 12:24:49.821: e/androidruntime(5827):     @ java.lang.reflect.method.invokenative(native method) 04-09 12:24:49.821: e/androidruntime(5827):     @ java.lang.reflect.method.invoke(method.java:521) 04-09 12:24:49.821: e/androidruntime(5827):     @ com.android.internal.os.zygoteinit$methodandargscaller.run(zygoteinit.java:858) 04-09 12:24:49.821: e/androidruntime(5827):     @ com.android.internal.os.zygoteinit.main(zygoteinit.java:616) 04-09 12:24:49.821: e/androidruntime(5827):     @ dalvik.system.nativestart.main(native method) 04-09 12:24:51.688: i/process(5827): sending signal. pid: 5827 sig: 9 04-09 12:24:55.165: e/asset(5835): mas: getapppckgandvercode package: com.example.appslist === version 1 04-09 12:24:55.188: d/dalvikvm(5835): trying load lib lib_glossary.so 0x0 04-09 12:24:55.188: i/dalvikvm(5835): unable dlopen(lib_glossary.so): cannot load library: load_library[1083]: library 'lib_glossary.so' not found 04-09 12:24:55.188: e/mbglossarymanager(5835): lib_glossary.so can't loaded 04-09 12:24:55.313: e/asset(5835): mas: getapppckgandvercode package: com.google.android.location === version 8 04-09 12:24:55.321: e/asset(5835): mas: getapppckgandvercode package: com.android.launcher === version 8 04-09 12:24:55.329: e/asset(5835): mas: getapppckgandvercode package: com.android.defcontainer === version 8 04-09 12:24:55.329: e/asset(5835): mas: getapppckgandvercode package: com.navngo.igo.javaclient === version 148360 04-09 12:24:55.337: e/asset(5835): mas: getapppckgandvercode package: com.android.contacts === version 8 04-09 12:24:55.337: e/asset(5835): mas: getapppckgandvercode package: com.example.backgroundapp === version 1 04-09 12:24:55.344: e/asset(5835): mas: getapppckgandvercode package: com.arcsoft.photoworkshop === version 5 04-09 12:24:55.391: d/dalvikvm(5835): gc_external_alloc freed 993 objects / 67608 bytes in 49ms 04-09 12:24:55.407: e/asset(5835): mas: getapppckgandvercode package: com.android.phone === version 8 04-09 12:24:55.415: e/asset(5835): mas: getapppckgandvercode package: com.android.calculator2 === version 8 04-09 12:24:55.415: e/asset(5835): mas: getapppckgandvercode package: com.android.htmlviewer === version 8 04-09 12:24:55.415: e/asset(5835): mas: getapppckgandvercode package: com.example.myfirstapp === version 1 04-09 12:24:55.423: e/asset(5835): mas: getapppckgandvercode package: com.android.providers.calendar === version 8 04-09 12:24:55.423: e/asset(5835): mas: getapppckgandvercode package: com.android.bluetooth === version 8 04-09 12:24:55.423: e/asset(5835): mas: getapppckgandvercode package: com.example.sessionmanagement === version 1 04-09 12:24:55.430: e/asset(5835): mas: getapppckgandvercode package: com.google.android.location === version 8 04-09 12:24:55.430: e/asset(5835): mas: getapppckgandvercode package: com.android.launcher === version 8 04-09 12:24:55.438: e/asset(5835): mas: getapppckgandvercode package: com.android.defcontainer === version 8 04-09 12:24:55.438: e/asset(5835): mas: getapppckgandvercode package: com.navngo.igo.javaclient === version 148360 04-09 12:24:55.446: e/asset(5835): mas: getapppckgandvercode package: com.android.contacts === version 8 04-09 12:24:55.493: e/asset(5835): mas: getapppckgandvercode package: com.example.backgroundapp === version 1 04-09 12:24:56.641: d/androidruntime(5835): shutting down vm 04-09 12:24:56.641: w/dalvikvm(5835): threadid=1: thread exiting uncaught exception (group=0x400207e0) 04-09 12:24:56.657: e/androidruntime(5835): fatal exception: main 04-09 12:24:56.657: e/androidruntime(5835): java.lang.classcastexception: android.app.application 04-09 12:24:56.657: e/androidruntime(5835):     @ com.example.appslist.apklistactivity.onitemclick(apklistactivity.java:42) 04-09 12:24:56.657: e/androidruntime(5835):     @ android.widget.adapterview.performitemclick(adapterview.java:284) 04-09 12:24:56.657: e/androidruntime(5835):     @ android.widget.listview.performitemclick(listview.java:3444) 04-09 12:24:56.657: e/androidruntime(5835):     @ android.widget.abslistview$performclick.run(abslistview.java:1696) 04-09 12:24:56.657: e/androidruntime(5835):     @ android.os.handler.handlecallback(handler.java:587) 04-09 12:24:56.657: e/androidruntime(5835):     @ android.os.handler.dispatchmessage(handler.java:92) 04-09 12:24:56.657: e/androidruntime(5835):     @ android.os.looper.loop(looper.java:143) 04-09 12:24:56.657: e/androidruntime(5835):     @ android.app.activitythread.main(activitythread.java:4717) 04-09 12:24:56.657: e/androidruntime(5835):     @ java.lang.reflect.method.invokenative(native method) 04-09 12:24:56.657: e/androidruntime(5835):     @ java.lang.reflect.method.invoke(method.java:521) 04-09 12:24:56.657: e/androidruntime(5835):     @ com.android.internal.os.zygoteinit$methodandargscaller.run(zygoteinit.java:858) 04-09 12:24:56.657: e/androidruntime(5835):     @ com.android.internal.os.zygoteinit.main(zygoteinit.java:616) 04-09 12:24:56.657: e/androidruntime(5835):     @ dalvik.system.nativestart.main(native method) 04-09 12:24:58.040: i/process(5835): sending signal. pid: 5835 sig: 9 04-09 12:39:54.556: i/process(5930): sending signal. pid: 5930 sig: 9 04-09 12:43:51.244: e/asset(5972): mas: getapppckgandvercode package: com.example.appslist === version 1 04-09 12:43:51.283: d/dalvikvm(5972): trying load lib lib_glossary.so 0x0 04-09 12:43:51.291: i/dalvikvm(5972): unable dlopen(lib_glossary.so): cannot load library: load_library[1083]: library 'lib_glossary.so' not found 04-09 12:43:51.291: e/mbglossarymanager(5972): lib_glossary.so can't loaded 04-09 12:43:51.494: e/asset(5972): mas: getapppckgandvercode package: com.google.android.location === version 8 04-09 12:43:51.494: e/asset(5972): mas: getapppckgandvercode package: com.android.launcher === version 8 04-09 12:43:51.502: e/asset(5972): mas: getapppckgandvercode package: com.android.defcontainer === version 8 04-09 12:43:51.509: e/asset(5972): mas: getapppckgandvercode package: com.navngo.igo.javaclient === version 148360 04-09 12:43:51.509: e/asset(5972): mas: getapppckgandvercode package: com.android.contacts === version 8 04-09 12:43:51.517: e/asset(5972): mas: getapppckgandvercode package: com.example.backgroundapp === version 1 04-09 12:43:51.517: e/asset(5972): mas: getapppckgandvercode package: com.arcsoft.photoworkshop === version 5 04-09 12:43:51.580: d/dalvikvm(5972): gc_external_alloc freed 1059 objects / 70176 bytes in 57ms 04-09 12:43:51.588: e/asset(5972): mas: getapppckgandvercode package: com.android.phone === version 8 04-09 12:43:51.595: e/asset(5972): mas: getapppckgandvercode package: com.android.calculator2 === version 8 04-09 12:43:51.595: e/asset(5972): mas: getapppckgandvercode package: com.android.htmlviewer === version 8 04-09 12:43:51.595: e/asset(5972): mas: getapppckgandvercode package: com.example.myfirstapp === version 1 04-09 12:43:51.603: e/asset(5972): mas: getapppckgandvercode package: com.android.providers.calendar === version 8 04-09 12:43:51.603: e/asset(5972): mas: getapppckgandvercode package: com.android.bluetooth === version 8 04-09 12:43:51.611: e/asset(5972): mas: getapppckgandvercode package: com.example.sessionmanagement === version 1 04-09 12:43:51.611: e/asset(5972): mas: getapppckgandvercode package: com.google.android.location === version 8 04-09 12:43:51.619: e/asset(5972): mas: getapppckgandvercode package: com.android.launcher === version 8 04-09 12:43:51.619: e/asset(5972): mas: getapppckgandvercode package: com.android.defcontainer === version 8 04-09 12:43:51.619: e/asset(5972): mas: getapppckgandvercode package: com.navngo.igo.javaclient === version 148360 04-09 12:43:51.627: e/asset(5972): mas: getapppckgandvercode package: com.android.contacts === version 8 04-09 12:43:51.673: e/asset(5972): mas: getapppckgandvercode package: com.example.backgroundapp === version 1 04-09 12:43:56.166: d/androidruntime(5972): shutting down vm 04-09 12:43:56.166: w/dalvikvm(5972): threadid=1: thread exiting uncaught exception (group=0x400207e0) 04-09 12:43:56.189: e/androidruntime(5972): fatal exception: main 04-09 12:43:56.189: e/androidruntime(5972): java.lang.classcastexception: android.app.application 04-09 12:43:56.189: e/androidruntime(5972):     @ com.example.appslist.apklistactivity.onitemclick(apklistactivity.java:43) 04-09 12:43:56.189: e/androidruntime(5972):     @ android.widget.adapterview.performitemclick(adapterview.java:284) 04-09 12:43:56.189: e/androidruntime(5972):     @ android.widget.listview.performitemclick(listview.java:3444) 04-09 12:43:56.189: e/androidruntime(5972):     @ android.widget.abslistview$performclick.run(abslistview.java:1696) 04-09 12:43:56.189: e/androidruntime(5972):     @ android.os.handler.handlecallback(handler.java:587) 04-09 12:43:56.189: e/androidruntime(5972):     @ android.os.handler.dispatchmessage(handler.java:92) 04-09 12:43:56.189: e/androidruntime(5972):     @ android.os.looper.loop(looper.java:143) 04-09 12:43:56.189: e/androidruntime(5972):     @ android.app.activitythread.main(activitythread.java:4717) 04-09 12:43:56.189: e/androidruntime(5972):     @ java.lang.reflect.method.invokenative(native method) 04-09 12:43:56.189: e/androidruntime(5972):     @ java.lang.reflect.method.invoke(method.java:521) 04-09 12:43:56.189: e/androidruntime(5972):     @ com.android.internal.os.zygoteinit$methodandargscaller.run(zygoteinit.java:858) 04-09 12:43:56.189: e/androidruntime(5972):     @ com.android.internal.os.zygoteinit.main(zygoteinit.java:616) 04-09 12:43:56.189: e/androidruntime(5972):     @ dalvik.system.nativestart.main(native method) 04-09 12:43:57.486: i/process(5972): sending signal. pid: 5972 sig: 9 

if extend application class, should modify manifest [add android:name]. in case, should add manifest:

 <application         android:name=".app.appdata" 

Comments

Popular posts from this blog

android - getbluetoothservice() called with no bluetoothmanagercallback -

sql - ASP.NET SqlDataSource, like on SelectCommand -

ios - Undefined symbols for architecture armv7: "_OBJC_CLASS_$_SSZipArchive" -