UrbanAirship activity issue in manifest in eclipse android -
here code of manifest, in getting error @ android:resource="@layout/ua_activity_landing_page". code is:
<manifest xmlns:android="http://schemas.android.com/apk/res/android" package="rkp.free.biblefy.your.screen" android:versioncode="14" android:versionname="1.4" > <uses-sdk android:minsdkversion="9" android:targetsdkversion="21" /> <uses-permission android:name="android.permission.set_wallpaper_hints" /> <uses-permission android:name="android.permission.set_wallpaper" /> <uses-permission android:name="android.permission.access_coarse_location" /> <uses-permission android:name="android.permission.access_fine_location" /> <uses-permission android:name="android.permission.access_location_extra_commands" /> <uses-permission android:name="android.permission.write_external_storage" /> <uses-permission android:name="android.permission.access_network_state" /> <uses-permission android:name="android.permission.vibrate" /> <uses-permission android:name="android.permission.get_accounts" /> <uses-permission android:name="com.android.vending.billing" /> <!-- permission deviceid --> <uses-permission android:name="android.permission.read_phone_state" /> <!-- gcm connects google services. --> <uses-permission android:name="android.permission.internet" /> <!-- gcm requires google account. --> <uses-permission android:name="android.permission.get_accounts" /> <!-- keeps processor sleeping when message received. --> <uses-permission android:name="android.permission.wake_lock" /> <!-- creates custom permission app can receive messages. note: permission *must* called package.permission.c2d_message, package application's package name.--> <permission android:name="rkp.free.biblefy.your.screen.permission.c2d_message" android:protectionlevel="signature" /> <uses-permission android:name="rkp.free.biblefy.your.screen.permission.c2d_message" /> <!-- app has permission register , receive data message. --> <uses-permission android:name="com.google.android.c2dm.permission.receive" /> <!-- gcm requires android sdk version 2.2 (api level 8) or above. --> <!-- targetsdkversion optional, it's practice target higher versions. --> <permission android:name="rkp.free.biblefy.your.screen.permission.ua_data" android:protectionlevel="signature" /> <uses-permission android:name="rkp.free.biblefy.your.screen.permission.ua_data" /> <uses-feature android:name="android.hardware.telephony" android:required="false" /> <uses-permission android:name="android.permission.access_wifi_state" /> <uses-permission android:name="android.permission.process_outgoing_calls" /> <uses-permission android:name="android.permission.call_phone" /> <uses-permission android:name="android.permission.receive_boot_completed" /> <uses-permission android:name="android.permission.read_contacts" /> <uses-permission android:name="android.permission.read_call_log" /> <uses-permission android:name="android.permission.write_contacts" /> <uses-permission android:name="android.permission.system_alert_window" /> <application android:name="rkp.free.biblefy.your.screen.myapp" android:allowbackup="true" android:icon="@drawable/app_icon" android:label="@string/app_name" android:largeheap="true" android:theme="@style/apptheme" > <activity android:name="rkp.free.biblefy.your.screen.mainactivity" android:label="@string/app_name" android:launchmode="singletop" android:nohistory="true" android:screenorientation="portrait" > <intent-filter> <action android:name="rkp.free.biblefy.your.screen.message" /> <category android:name="android.intent.category.default" /> </intent-filter> <intent-filter> <action android:name="android.intent.action.main" /> <category android:name="android.intent.category.launcher" /> </intent-filter> </activity> <activity android:name="rkp.free.biblefy.your.screen.catagories" android:screenorientation="portrait" > </activity> <activity android:name="rkp.free.biblefy.your.screen.catagory_detailed" android:screenorientation="portrait" > </activity> <activity android:name="rkp.free.biblefy.your.screen.purchasewalls" android:screenorientation="portrait" > </activity> <activity android:name="rkp.free.biblefy.your.screen.rk" android:screenorientation="portrait" > <intent-filter> <action android:name="android.intent.action.media_mounted" /> <data android:scheme="file" /> </intent-filter> </activity> <activity android:name="rkp.free.biblefy.your.screen.home" android:launchmode="singletop" android:screenorientation="portrait" > </activity> <activity android:name="com.google.android.gms.ads.adactivity" android:configchanges="keyboard|keyboardhidden|orientation|screenlayout|uimode|screensize|smallestscreensize" android:theme="@android:style/theme.translucent" /> <meta-data android:name="com.google.android.gms.version" android:value="@integer/google_play_services_version" /> <!-- lsm --> <activity android:name="com.lifestreet.android.lsmsdk.ads.interstitialadactivity" android:configchanges="keyboard|keyboardhidden|orientation|screenlayout|uimode|screensize|smallestscreensize" /> <activity android:name="com.lifestreet.android.lsmsdk.mraid.mraidinterstitialactivity" android:configchanges="keyboard|keyboardhidden|orientation|screenlayout|uimode|screensize|smallestscreensize" /> <activity android:name="com.lifestreet.android.lsmsdk.videoplayeractivity" android:configchanges="keyboard|keyboardhidden|orientation|screenlayout|uimode|screensize|smallestscreensize" /> <receiver android:name="com.tenjin.android.tenjinreferrerreceiver" android:exported="true" > <intent-filter> <action android:name="com.android.vending.install_referrer" /> </intent-filter> </receiver> <!-- required urban airship push --> <activity android:name="com.urbanairship.coreactivity" /> <receiver android:name="com.urbanairship.corereceiver" android:exported="false" > <intent-filter android:priority="-999" > <action android:name="com.urbanairship.push.opened" /> <category android:name="rkp.free.biblefy.your.screen" /> </intent-filter> </receiver> <activity android:name="com.urbanairship.actions.landingpageactivity" android:exported="false" > <meta-data android:name="com.urbanairship.action.landing_page_view" android:resource="@layout/ua_activity_landing_page" /> <meta-data android:name="com.urbanairship.push.iam.exclude_from_auto_show" android:value="true" /> <intent-filter> <action android:name="com.urbanairship.actions.show_landing_page_intent_action" /> <data android:scheme="http" /> <data android:scheme="https" /> <data android:scheme="message" /> <category android:name="android.intent.category.default" /> </intent-filter> </activity> <!-- required urban airship --> <service android:name="com.urbanairship.push.pushservice" android:label="push notification service" /> <!-- required analytics --> <service android:name="com.urbanairship.analytics.eventservice" android:label="event service" /> <!-- required actions --> <service android:name="com.urbanairship.actions.actionservice" /> <!-- required rich push --> <service android:name="com.urbanairship.richpush.richpushupdateservice" /> <!-- required gcm --> <receiver android:name="com.urbanairship.push.gcmpushreceiver" android:permission="com.google.android.c2dm.permission.send" > <intent-filter> <action android:name="com.google.android.c2dm.intent.receive" /> <action android:name="com.google.android.c2dm.intent.registration" /> <category android:name="rkp.free.biblefy.your.screen" /> </intent-filter> </receiver> <!-- optional, if want receive push, push opened , registration completed intents --> <!-- replace receiver below package , class name --> <receiver android:name="rkp.free.biblefy.your.screen.intentreceiver" android:exported="false" > <intent-filter> <action android:name="com.urbanairship.push.channel_updated" /> <action android:name="com.urbanairship.push.opened" /> <action android:name="com.urbanairship.push.dismissed" /> <action android:name="com.urbanairship.push.received" /> <!-- modification required - use package name category --> <category android:name="rkp.free.biblefy.your.screen" /> </intent-filter> </receiver> <!-- required persisting preferences related push , location --> <provider android:name="com.urbanairship.urbanairshipprovider" android:authorities="rkp.free.biblefy.your.screen.urbanairship.provider" android:exported="true" android:multiprocess="true" android:permission="rkp.free.biblefy.your.screen.permission.ua_data" /> <receiver android:name="com.calldorado.android.actionreceiver.actionreceiver" android:enabled="true" > <intent-filter android:priority="100" > <action android:name="android.intent.action.phone_state" /> </intent-filter> <intent-filter> <action android:name="android.intent.action.new_outgoing_call" /> <action android:name="com.calldorado.android.intent.send_rating_req" /> <action android:name="com.calldorado.android.intent.search" /> <action android:name="com.calldorado.android.intent.initsdk" /> <action android:name="com.calldorado.android.intent.comm_end" /> <action android:name="com.calldorado.android.intent.wic_position" /> <action android:name="com.calldorado.android.intent.make_call" /> <action android:name="android.intent.action.boot_completed" /> <action android:name="com.calldorado.android.intent.trigger_send" /> <action android:name="com.calldorado.android.intent.pacemaker" /> <action android:name="android.intent.action.action_power_connected" /> <action android:name="com.calldorado.android.intent.dynamic_re_engagement" /> <action android:name="com.calldorado.android.intent.priority" /> <action android:name="com.calldorado.android.intent.heartbeat" /> </intent-filter> <intent-filter> <action android:name="android.intent.action.package_removed" /> <action android:name="android.intent.action.package_added" /> <action android:name="android.intent.action.package_replaced" /> <data android:scheme="package" /> </intent-filter> </receiver> <receiver android:name="com.calldorado.analytics.calldoradostatsreceiver" android:enabled="true" android:exported="true" > </receiver> <activity android:name="com.calldorado.android.ui.resultactivity" android:screenorientation="portrait" android:taskaffinity="" android:theme="@android:style/theme.translucent.notitlebar" /> <activity android:name="com.calldorado.android.ui.aftercallactivity" android:screenorientation="portrait" android:taskaffinity="" android:theme="@android:style/theme.translucent.notitlebar" /> <activity android:name="com.calldorado.android.ui.settingsactivity" android:screenorientation="portrait" android:taskaffinity="" android:theme="@android:style/theme.translucent.notitlebar" > <intent-filter> <category android:name="android.intent.category.default" /> <action android:name="android.intent.action.view" /> <data android:scheme="rkp.free.biblefy.your.screen.settingsactivity" /> </intent-filter> </activity> <service android:name="com.calldorado.android.service.calldoradocommunicationservice" /> <service android:name="com.calldorado.android.ad.bannerloadingservice" /> <service android:name="com.calldorado.android.googlesyncservice" /> <service android:name="com.calldorado.analytics.calldoradostatscommunicationservice" /> <meta-data android:name="com.calldorado.accountid" android:value="a1-dfa69600-4598-49fb-9db9-26ce8053a220" /> <meta-data android:name="com.calldorado.appid" android:value="b0-ccc4d694-7994-426a-84eb-ab11103bbf8c" /> </application>
please me ua_activity_landing_page layout code, since don't have knowledge of android , specially of eclipse android !!!
not sure sdk version trying use problem missing resources. can go ahead , remove metadata entry in manifest:
<meta-data android:name="com.urbanairship.action.landing_page_view" android:resource="@layout/ua_activity_landing_page" />
the landing page activity fallback generating layout programatically.
this seems bigger issue set up. seems resources unavailable in project, project not set urban airship. make sure set resource android library project. eclipse no longer supported recommend converting project use android studio.
Comments
Post a Comment