Skip to main content

Home/ Android Dev/ Group items tagged permission

Rss Feed Group items tagged

Vincent Tsao

Authenticating against App Engine from an Android app - Nick's Blog - 0 views

  • Authentication with App Engine, regardless of where you're doing it, is a three-stage process: Obtain an authentication token. This can be done with ClientLogin for installed apps, for example, or with AuthSub for a webapp. When logging in directly to an application, this is the part of the login process where your user sees a Google signin screen. Take that authentication token, and use it to obtain an authentication cookie. Use that authentication cookie in all subsequent requests.
  • <uses-permission android:name="android.permission.GET_ACCOUNTS"></uses-permission> <uses-permission android:name="android.permission.USE_CREDENTIALS"></uses-permission> <uses-permission android:name="android.permission.INTERNET"></uses-permission>
Vincent Tsao

关闭程序 - mingkg21 - JavaEye技术网站 - 0 views

  • final ActivityManager am = (ActivityManager) getSystemService(Context.ACTIVITY_SERVICE);  am.restartPackage(getPackageName());  
  • <uses-permission android:name="android.permission.RESTART_PACKAGES"></uses-permission>  
Vincent Tsao

Android: java.lang.SecurityException: Permission Denial: start Intent - Stack Overflow - 1 views

  •  
    我也遇到了相同问题,但是为什么这种办法就解决了问题呢,谁能解释?
Vincent Tsao

Application does not show up in Android Market for Motorola XOOM tablet - Stack Overflow - 0 views

  • I had the same issue. Along with including android:xlargeScreens="true" I found this to be the fix.
  • The Android Market treats as though requesting a permission like CALL_PHONE also requests: <uses-feature android:name="android.hardware.telephony" /> The XOOM does not have telephony — the first Android Market-compliant device with that limitation. While it can have a data plan, it has no voice or SMS capability, and so it is treated as not having android.hardware.telephony. But, if you request permissions like CALL_PHONE, the Android Market by default will assume you need android.hardware.telephony. As a result, you will be filtered out of the Market for the XOOM. The solution is simple: for any hardware features that might be implied by permissions but that you do not absolutely need, manually add the appropriate element to your manifest with android:required="false": <uses-feature android:name="android.hardware.telephony" android:required="false" />
Vincent Tsao

Android Cloud to Device Messaging Framework - Google Projects for Android - 1 views

  • It allows third-party application servers to send lightweight messages to their Android applications. The messaging service is not designed for sending a lot of user content via the messages. Rather, it should be used to tell the application that there is new data on the server, so that the application can fetch it. C2DM makes no guarantees about delivery or the order of messages. So, for example, while you might use this feature to tell an instant messaging application that the user has new messages, you probably would not use it to pass the actual messages. An application on an Android device doesn’t need to be running to receive messages. The system will wake up the application via Intent broadcast when the the message arrives, as long as the application is set up with the proper broadcast receiver and permissions.
  • It uses an existing connection for Google services. This requires users to set up their Google account on their mobile devices.
  • C2DM imposes the following limitations: The message size limit is 1024 bytes. Google limits the number of messages a sender sends in aggregate, and the number of messages a sender sends to a specific device
  • ...1 more annotation...
  • The ClientLogin token authorizes the application server to send messages to a particular Android application. An application server has one ClientLogin token for a particular 3rd party app, and multiple registration IDs. Each registration ID represents a particular device that has registered to use the messaging service for a particular 3rd party app.
Simon Pan

Administering In-app Billing | Android Developers - 0 views

    • Simon Pan
       
      此頁已閱讀完畢 重點︰ 1.要加入permission: com.android.vending.BILLING 2.新增in app product到publish裡 3.product ID開頭必定為小寫或數字、且由a-z,數字、底線、點組合而成。另外,android.test被保留 4.Product ID一旦被建立後,無法再被重覆使用,即使己經刪除了這個Product ID 5.記得要設定測試帳戶 6.底下提供了幾個官方的討論串
  • does not
  • request to Android Market
  • ...1 more annotation...
  • You can then process the refund through your Google Checkout Merchant account.
1 - 7 of 7
Showing 20 items per page