User Tools

Site Tools


sdk

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision Both sides next revision
sdk [2015/01/11 03:35]
superdupersms
sdk [2015/01/11 03:37]
superdupersms
Line 13: Line 13:
 ==== Modify Your Manifest ==== ==== Modify Your Manifest ====
  
-To use SDMM features, you will need to modify your manifest. The SDMM_SDK requires ​two permissions. ​Include ​the following in your manifest:+To use SDMM features, you will need to modify your manifest. ​ 
 + 
 +**UPDATE** ​The SDMM_SDK ​no longer ​requires ​custom ​permissions. ​You can keep the following ​permission requests ​in your manifest ​to be backward compatible with older versions of SDMM:
  
 <code java> <code java>
     <​uses-permission android:​name="​com.sdmmllc.superdupersmsmanager.SEND_SMS"​ />     <​uses-permission android:​name="​com.sdmmllc.superdupersmsmanager.SEND_SMS"​ />
     <​uses-permission android:​name="​com.sdmmllc.superdupersmsmanager.WRITE_SMS"​ />     <​uses-permission android:​name="​com.sdmmllc.superdupersmsmanager.WRITE_SMS"​ />
-</​code>​ 
- 
-You must define the permissions for situations when SDMM is not already installed on the user's device. If you do not, then Android will ignore the request for permissions,​ even after SDMM is installed. 
- 
-**Pre-KitKat Warning** 
- 
-Some versions of Android will not recognize permissions (or grant them) if they are not defined **when** requested. In other words, if your app is installed on pre-KitKat devices, if you are using SDMM for some reason, you need to also define the permissions in your manifest, as follows: 
- 
-<code java> 
-    <​permission android:​name="​com.sdmmllc.superdupersmsmanager.SEND_SMS"​ 
-        android:​label="​@string/​perm_send"​ 
-        android:​description="​@string/​permdescr_send"​ 
-        android:​protectionLevel="​dangerous"​ /> 
-    <​permission android:​name="​com.sdmmllc.superdupersmsmanager.WRITE_SMS"​ 
-        android:​label="​@string/​perm_send"​ 
-        android:​description="​@string/​permdescr_send"​ 
-        android:​protectionLevel="​dangerous"​ /> 
 </​code>​ </​code>​
  
sdk.txt · Last modified: 2015/01/11 18:01 by superdupersms