'This code will be applied to the manifest file during compilation.
'You do not need to modify it in most cases.
'See this link for for more information: http://www.basic4ppc.com/forum/showthread.php?p=78136
AddManifestText(
<uses-sdkandroid:minSdkVersion="4"android:targetSdkVersion="17"/><supports-screensandroid:largeScreens="true"android:normalScreens="true"android:smallScreens="true"android:anyDensity="true"/>)
SetApplicationAttribute(android:icon, "@drawable/icon")
SetApplicationAttribute(android:label, "$LABEL$")
RemovePermission(android.permission.CAMERA)
RemovePermission(android.permission.ACCESS_FINE_LOCATION)
AddPermission("android.permission.ACCESS_NETWORK_STATE")
SetApplicationAttribute(android:theme,"@android:style/Theme.Holo.Light")
'End of default text.
SetApplicationAttribute(android:largeHeap,"true")
AddApplicationText(
<activityandroid:name="ir.adad.AdadActivity"android:theme="@android:style/Theme.Dialog"></activity><meta-dataandroid:name="ir.adad.token"android:value="cfa97536ac2649f6b94e83099dcce68a"></meta-data><meta-dataandroid:name="ir.adad.test_mode"android:value="false></meta-data>
)
AddManifestText(
<permissionandroid:name="com.kodakan.ebook.permission.C2D_MESSAGE"android:protectionLevel="signature"/><uses-permissionandroid:name="com.kodakan.ebook.permission.C2D_MESSAGE"/><!-- Optional permissions --><uses-permissionandroid:name="android.permission.ACCESS_COARSE_LOCATION"/><uses-permissionandroid:name="android.permission.ACCESS_NETWORK_STATE"/>
)
AddApplicationText(
<receiverandroid:name="co.ronash.pushe.receiver.UpdateReceiver"><intent-filter><actionandroid:name="android.intent.action.PACKAGE_REPLACED"/><dataandroid:path="com.kodakan.ebook"android:scheme="package"/></intent-filter></receiver><receiverandroid:name="com.google.android.gms.gcm.GcmReceiver"android:exported="true"android:permission="com.google.android.c2dm.permission.SEND"><intent-filter><actionandroid:name="com.google.android.c2dm.intent.RECEIVE"/><actionandroid:name="com.google.android.c2dm.intent.REGISTRATION"/><categoryandroid:name="com.kodakan.ebook"/></intent-filter></receiver><serviceandroid:name="co.ronash.pushe.service.GcmService"android:exported="false"><intent-filter><actionandroid:name="com.google.android.c2dm.intent.RECEIVE"/></intent-filter></service><receiverandroid:name="co.ronash.pushe.receiver.FallbackGcmNetworkManagerReceiver"android:exported="true"><intent-filter><actionandroid:name="co.ronash.pushe.CHECK_TASKS"/></intent-filter></receiver><serviceandroid:name="co.ronash.pushe.service.FallbackGcmTaskRunner"android:exported="false"><intent-filter><actionandroid:name="co.ronash.pushe.ACTION_TASK_READY"/></intent-filter></service><serviceandroid:name="co.ronash.pushe.task.scheduler.gcm.GcmTaskRunner"android:exported="true"android:permission="com.google.android.gms.permission.BIND_NETWORK_TASK_SERVICE"><intent-filter><actionandroid:name="com.google.android.gms.gcm.ACTION_TASK_READY"/></intent-filter></service><serviceandroid:name="co.ronash.pushe.service.IntentTaskRunner"android:exported="false"/><serviceandroid:name="co.ronash.pushe.service.InstanceIDService"android:exported="false"><intent-filter><actionandroid:name="com.google.android.gms.iid.InstanceID"/></intent-filter></service><activityandroid:name="co.ronash.pushe.activities.PopupDialogActivity"android:theme="@style/PusheTransparent"></activity><receiverandroid:name="co.ronash.pushe.receiver.BootAndScreenReceiver"><intent-filter><actionandroid:name="android.intent.action.BOOT_COMPLETED"/></intent-filter></receiver><serviceandroid:name="co.ronash.pushe.service.ScreenStateService"><intent-filter><actionandroid:name="co.ronash.pushe.service.ScreenStateService"/></intent-filter></service><activityandroid:name="co.ronash.pushe.activities.WebviewActivity"></activity><receiverandroid:name="co.ronash.pushe.receiver.AppUsageAlarmReceiver"></receiver><receiverandroid:name="co.ronash.pushe.receiver.ConnectivityReceiver"><intent-filter><actionandroid:name="android.net.conn.CONNECTIVITY_CHANGE"/></intent-filter></receiver><receiverandroid:name="co.ronash.pushe.receiver.AddReceiver"android:exported="false"><intent-filter><actionandroid:name="com.evernote.android.job.ADD_JOB_CREATOR"/></intent-filter></receiver><receiverandroid:name="co.ronash.pushe.receiver.AppChangeReceiver"><intent-filter><actionandroid:name="android.intent.action.PACKAGE_INSTALL"/><actionandroid:name="android.intent.action.PACKAGE_ADDED"/><actionandroid:name="android.intent.action.PACKAGE_FULLY_REMOVED"/><dataandroid:scheme="package"/></intent-filter></receiver><serviceandroid:name="com.evernote.android.job.v21.PlatformJobService"android:exported="false"android:permission="android.permission.BIND_JOB_SERVICE"/><serviceandroid:name="com.evernote.android.job.v14.PlatformAlarmService"android:exported="false"/><receiverandroid:name="com.evernote.android.job.v14.PlatformAlarmReceiver"android:exported="false"><intent-filter><actionandroid:name="com.evernote.android.job.v14.RUN_JOB"/><actionandroid:name="net.vrallev.android.job.v14.RUN_JOB"/></intent-filter></receiver><receiverandroid:name="com.evernote.android.job.JobBootReceiver"android:exported="false"><intent-filter><actionandroid:name="android.intent.action.BOOT_COMPLETED"/></intent-filter></receiver><serviceandroid:name="com.evernote.android.job.gcm.PlatformGcmService"android:exported="true"android:permission="com.google.android.gms.permission.BIND_NETWORK_TASK_SERVICE"><intent-filter><actionandroid:name="com.google.android.gms.gcm.ACTION_TASK_READY"/></intent-filter></service><meta-dataandroid:name="com.google.android.gms.version"android:value="@integer/google_play_services_version"/><meta-dataandroid:name="co.ronash.pushe.token"android:value="PUSHE_873073594504"/><meta-dataandroid:name="co.ronash.pushe.cr"android:value="aHR0cDovL2FlNGE3MjY3N2Q1MjQxYjI4MzBiOWZhODJlMGZmOTExOjBlZTRhYThmOTkwZjRkM2JhNjk1NTljNTEwNmI0Njk4QGNhLnB1c2hlLmNvLzI5OTM="/>
)
سوال
reza644 435
سلام دوستان
با یه ارور مزخرف خدتمتتونیم
B4A version: 6.50 BETA #2 Parsing code. (0.70s) Compiling code. (1.90s) Compiling layouts code. (0.18s) Organizing libraries. (0.00s) Generating R file. Error AndroidManifest.xml:41: error: Error parsing XML: not well-formed (invalid token)
فکر کنم از AndroidManifest باشه
اینم محتوای AndroidManifest
لینک ارسال
به اشتراک گذاری در سایت های دیگر
2 پاسخ به این سوال تاکنون داده شده است
ارسالهای توصیه شده
بایگانی شده
این موضوع بایگانی و قفل شده و دیگر امکان ارسال پاسخ نیست.