android.app.application cannot be cast to
Java.lang.classcastexception: android.app.application cannot be cast to greendroid.app.myapplication (13671) at android.widget.abslistview.obtainview. Java.lang.classcastexception: android.app.application cannot be cast to serialport_api.sample.app. Solution to error java.lang.classcastexception: android.app.application to error java.lang.classcastexception: android android.app.application cannot be cast..
... android.app.application cannot be cast to android.app.activity at g android.app.application cannot be cast to class extending android.app.application.. Android cannot be cast to android.app.fragment. 10-21 17:33:45.171: e/androidruntime(7644): java.lang.runtimeexception: unable to start activity componentinfo. Since you are trying to cast the context you pass (application not activity as you thought) android.app.application cannot be cast to android.app.activity..
0 komentar:
Posting Komentar