Android Question preferenceactivity error

holdemadvantage

Active Member
Licensed User
Longtime User
Before updating sdk it was working, now, according to: https://www.b4x.com/android/forum/threads/preferenceactivity-tutorial.10608/

package name com.holdemadvantage.crucinew2014

In manifest i added
AddApplicationText(<activity android:name="anywheresoftware.b4a.objects.preferenceactivity"/>)

when i click on menu i have to start line: 2419 that is:
StartActivity(screen.CreateIntent)


Error occurred on line: 2419 (Main)
android.content.ActivityNotFoundException: Unable to find explicit activity class {com.holdemadvantage.crucinew2014/anywheresoftware.b4a.objects.preferenceactivity}; have you declared this activity in your AndroidManifest.xml, or does your intent not match its declared <intent-filter>?
at android.app.Instrumentation.checkStartActivityResult(Instrumentation.java:2203)
at android.app.Instrumentation.execStartActivity(Instrumentation.java:1841)
at android.app.Activity.startActivityForResult(Activity.java:5616)
at android.app.Activity.startActivityForResult(Activity.java:5569)
at android.app.Activity.startActivity(Activity.java:6087)
at android.app.Activity.startActivity(Activity.java:6054)
at anywheresoftware.b4a.keywords.Common.StartActivity(Common.java:857)
at com.holdemadvantage.crucinew2014.main._slidemenu_click(main.java:4707)
at java.lang.reflect.Method.invoke(Native Method)
at anywheresoftware.b4a.shell.Shell.runMethod(Shell.java:732)
at anywheresoftware.b4a.shell.Shell.raiseEventImpl(Shell.java:351)
at anywheresoftware.b4a.shell.Shell.raiseEvent(Shell.java:255)
at java.lang.reflect.Method.invoke(Native Method)
at anywheresoftware.b4a.ShellBA.raiseEvent2(ShellBA.java:157)
at anywheresoftware.b4a.keywords.Common.CallSub4(Common.java:1114)
at anywheresoftware.b4a.keywords.Common.CallSubNew2(Common.java:1069)
at com.holdemadvantage.crucinew2014.slidemenu._mlistview_itemclick(slidemenu.java:320)
at java.lang.reflect.Method.invoke(Native Method)
at anywheresoftware.b4a.shell.Shell.runMethod(Shell.java:732)
at anywheresoftware.b4a.shell.Shell.raiseEventImpl(Shell.java:351)
at anywheresoftware.b4a.shell.Shell.raiseEvent(Shell.java:255)
at java.lang.reflect.Method.invoke(Native Method)
at anywheresoftware.b4a.ShellBA.raiseEvent2(ShellBA.java:157)
at anywheresoftware.b4a.BA$1.run(BA.java:360)
at android.os.Handler.handleCallback(Handler.java:942)
at android.os.Handler.dispatchMessage(Handler.java:99)
at android.os.Looper.loopOnce(Looper.java:210)
at android.os.Looper.loop(Looper.java:299)
at android.app.ActivityThread.main(ActivityThread.java:8261)
at java.lang.reflect.Method.invoke(Native Method)
at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:559)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:954)
 
Top