This information my project: This code from airbop: I have changed package name



Download 26.24 Kb.
Date19.06.2017
Size26.24 Kb.
#21095
This information my project:




This code from airbop: I have changed package name: vn.mobgame and GOOGLE_PROJECT_NUMBER, AIRBOP_APP_KEY, AIRBOP_APP_SECRET



The file: AndroidManifest.xml


"1.0" encoding="utf-8"?>

- Copyright 2012 Indigo Rose Software Design Corporation

- Copyright 2012 Google Inc.

-

- Licensed under the Apache License, Version 2.0 (the "License"); you may not



- use this file except in compliance with the License. You may obtain a copy

- of the License at

-

- http://www.apache.org/licenses/LICENSE-2.0



-

- Unless required by applicable law or agreed to in writing, software

- distributed under the License is distributed on an "AS IS" BASIS, WITHOUT

- WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the

- License for the specific language governing permissions and limitations

- under the License.

-->

"http://schemas.android.com/apk/res/android"

package="vn.mobgame"

android:versionCode="1"

android:versionName="1.0" >


to target higher versions. -->

"8" android:targetSdkVersion="16"/>


"android.permission.INTERNET" />


"android.permission.GET_ACCOUNTS" />


"android.permission.WAKE_LOCK" />

Un-comment this if you want to be able to get the users location -->



-->


Creates a custom permission so only this app can receive its messages.
NOTE: the permission *must* be called PACKAGE.permission.C2D_MESSAGE,

where PACKAGE is the application's package name.

-->

android:name="vn.mobgame.permission.C2D_MESSAGE"



android:protectionLevel="signature" />

android:name="vn.mobgame.permission.C2D_MESSAGE" />


app has permission to register and receive data message. -->

android:name="com.google.android.c2dm.permission.RECEIVE" />




android:icon="@drawable/ic_launcher"

android:logo="@drawable/ic_logo"

android:label="@string/app_name" >



android:name="vn.mobgame.DemoActivity"

android:label="@string/app_name"

android:screenOrientation="landscape"

android:theme="@style/AirBop" >



"android.intent.action.MAIN" />
"android.intent.category.LAUNCHER" />




BroadcastReceiver that will receive intents from GCM

services and handle them to the custom IntentService.
The com.google.android.c2dm.permission.SEND permission is necessary

so only GCM services can send data messages for the app.

-->

android:name="com.google.android.gcm.GCMBroadcastReceiver"

android:permission="com.google.android.c2dm.permission.SEND" >



"com.google.android.c2dm.intent.RECEIVE" />

"com.google.android.c2dm.intent.REGISTRATION" />

"vn.mobgame" />




Application-specific subclass of GCMBaseIntentService that will

handle received messages.
By default, it must be named .GCMIntentService, unless the

application uses a custom BroadcastReceiver that redefines its name.



-->

"vn.mobgame.GCMIntentService" />

"vn.mobgame.AirBopIntentService">








Download 26.24 Kb.

Share with your friends:




The database is protected by copyright ©ininet.org 2024
send message

    Main page