Hi guys
I’m developing game on android using push notification on Corona.
When i click on push to return app, crash error is occurred. This is content of error:
java.lang.RuntimeException: Unable to start receiver com.ansca.corona.notifications.StatusBarBroadcastReceiver: android.content.ActivityNotFoundException: Unable to find explicit activity class {me.xxx.xxx/com.ansca.corona.CoronaActivity}; have you declared this activity in your AndroidManifest.xml?
me.xxx.xxx is package name.
android main activity is declared in AndroidMainifest.xml
\<!-- The main Corona activity that runs the Corona project. --\> \<activity android:name="me.xxx.xxx.CoronaActivity" android:screenOrientation="portrait" android:configChanges="keyboardHidden|orientation|screenSize" android:label="@string/app\_name" android:launchMode="singleTask" android:theme="@android:style/Theme.NoTitleBar.Fullscreen"\> \<intent-filter\> \<action android:name="android.intent.action.MAIN" /\> \<category android:name="android.intent.category.LAUNCHER" /\> \</intent-filter\> \<intent-filter\> \<action android:name="android.intent.action.VIEW"/\> \<category android:name="android.intent.category.DEFAULT" /\> \<category android:name="android.intent.category.BROWSABLE" /\> \<data android:scheme="scheme name" /\> \</intent-filter\> \</activity\>
My question is why the name activity of push notification is “com.ansca.corona.CoronaActivity” while i declared main activity name in AndroidManifest.xml is me.xxx.xxx.CoronaActivity
i can config activity name of push notification or not ? How?
Thanks!