Commit 88e1ea28828e693bcea760bb11789aec7e9957c5
Exists in
master
Merge branch 'master' of http://git.letsgame.mobi/document/gumptech-document
Showing 1 changed file Side-by-side Diff
doc/AndroidDocument.md
| ... | ... | @@ -67,6 +67,12 @@ Help==>About Eclips点击Android对应的图标就可以查看版本了. |
| 67 | 67 | <!-- for card.io card scanning --> |
| 68 | 68 | <uses-permission android:name="android.permission.CAMERA" /> |
| 69 | 69 | <uses-permission android:name="android.permission.VIBRATE" /> |
| 70 | + <uses-permission android:name="android.permission.SEND_SMS" /> | |
| 71 | + <!--coda--> | |
| 72 | + <uses-permission android:name="android.permission.RECEIVE_SMS" /> | |
| 73 | + <uses-permission android:name="android.permission.READ_SMS" /> | |
| 74 | + <uses-permission android:name="android.permission.WRITE_SMS" /> | |
| 75 | + <uses-permission android:name="android.permission.GET_TASKS" /> | |
| 70 | 76 | <uses-feature android:name="android.hardware.camera" android:required="false" /> |
| 71 | 77 | <uses-feature android:name="android.hardware.camera.autofocus" android:required="false" /> |
| 72 | 78 | <!-- VERY IMPORTANT! Don't forget this permission, or in-app billing won't work. --> |
| ... | ... | @@ -109,15 +115,29 @@ Help==>About Eclips点击Android对应的图标就可以查看版本了. |
| 109 | 115 | android:name="io.card.payment.CardIOActivity" |
| 110 | 116 | android:configChanges="keyboardHidden|orientation" /> |
| 111 | 117 | <activity android:name="io.card.payment.DataEntryActivity" /> |
| 118 | + <activity | |
| 119 | + android:name="com.android.easy2pay.Easy2PayScreen" | |
| 120 | + android:theme="@android:style/Theme.Translucent.NoTitleBar" /> | |
| 121 | + <activity | |
| 122 | + android:name="com.codapayments.sdk.pay.CodaWeb" | |
| 123 | + android:alwaysRetainTaskState="true" | |
| 124 | + android:configChanges="orientation|screenSize" | |
| 125 | + android:screenOrientation="unspecified" > | |
| 126 | + </activity> | |
| 127 | + | |
| 128 | + <receiver | |
| 129 | + android:name="com.codapayments.sdk.message.PendingTxnReceiver" | |
| 130 | + android:enabled="true" > | |
| 131 | + </receiver> | |
| 112 | 132 | |
| 113 | 133 | #### 2、 向Gump平台索要游戏ID(GID),完成代码接入 |
| 114 | 134 | 1.调用GumpSDK前需要执行初始化。 |
| 115 | 135 | 若不需要分渠道 |
| 116 | 136 | |
| 117 | - GumpSDK.init(Appid, Appkey,FacebookId); | |
| 137 | + GumpSDK.init(Context,Appid, Appkey,FacebookId); | |
| 118 | 138 | 如果需要定义渠道,必须使用如下方法 |
| 119 | 139 | |
| 120 | - GumpSDK.init(Appid, Appkey,FacebookId,ChannelId); | |
| 140 | + GumpSDK.init(Context,Appid, Appkey,FacebookId,ChannelId); | |
| 121 | 141 | 2.调用GumpSDK的开始方法,将执行登录流程,需要一个Activity实例作参数 |
| 122 | 142 | |
| 123 | 143 | GumpSDK.start(Activity); |