Air App, Adding Activity To Manifest Changes The App Design
I have a small problem, probably because I'm a newbie in Android development. I am making an Air mobile App, with an Air Native Extension. My extension is used to create alarms. In
Solution 1:
I answer to myself so if someone faces the same problem he can see an answer. The problem was in the AIR manifest. I had to change the declaration of the activity to this :
<manifest><uses-permissionandroid:name="android.permission.INTERNET"/><uses-permissionandroid:name="android.permission.VIBRATE"/><uses-permissionandroid:name="android.permission.WAKE_LOCK" /><uses-permissionandroid:name="android.permission.RECEIVE_BOOT_COMPLETED"/><uses-permissionandroid:name="android.permission.DISABLE_KEYGUARD"/><application><receiverandroid:name="com.atnetplanet.alarminterface.AlarmInterfaceBroadcastReceiver"><intent-filter><actionandroid:name="com.atnetplanet.alarminterface.AlarmInterfaceBroadcastReceiver.onReceive"/></intent-filter></receiver><activity><intent-filter><actionandroid:name="android.intent.action.MAIN"/><actionandroid:name="air.com.atnetplanet.pikup.AppEntry" /><categoryandroid:name="android.intent.category.LAUNCHER"/><categoryandroid:name="android.intent.category.DEFAULT" /><dataandroid:scheme="pikup" /></intent-filter></activity></application></manifest>
Note that the activity node doesn't have the name inserted, and that I must put the or I'll have a misformed Manifest error when compiling.
Hope it will help someone.
Post a Comment for "Air App, Adding Activity To Manifest Changes The App Design"