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
Previous revision
Last revision Both sides next revision
en:sdk_api [2019/01/02 10:35]
simba
en:sdk_api [2019/01/02 10:46]
simba
Line 54: Line 54:
 ===Return Code=== ===Return Code===
 Returns "​SUCCESS"​ if successfully launched; returns the corresponding error code if an error occurs. Returns "​SUCCESS"​ if successfully launched; returns the corresponding error code if an error occurs.
 +
 +\\
 +=====setAutoStartApplication=====
 +Automatically launch the application when Android starts.
 +<code java>
 +int setAutoStartApplication(boolean enable)
 +</​code>​
 +===Return Code ===
 +Returns "​SUCCESS"​ if successfully launched; returns the corresponding error code if an error occurs. ​
  
 \\ \\
Line 62: Line 71:
 </​code>​ </​code>​
 ===Parameters=== ===Parameters===
-  * ''​cardType''​ : Parameters+  * ''​cardType''​ : RF Card type
 <WRAP group 50%> <WRAP group 50%>
 ^  No.  ^ Description ​ ^ ^  No.  ^ Description ​ ^
Line 72: Line 81:
 ===Return Code=== ===Return Code===
 Returns "​SUCCESS"​ if successfully launched; returns the corresponding error code if an error occurs. Returns "​SUCCESS"​ if successfully launched; returns the corresponding error code if an error occurs.
 +<callout type="​info"​ icon="​true">​
 +It is set up automatically on the device. Used only when card type change is required.
 +</​callout>​
  
 \\ \\
Line 127: Line 139:
 <code xml> <code xml>
 <​uses-permission android:​name="​android.permission.INTERNET"/>​ <​uses-permission android:​name="​android.permission.INTERNET"/>​
-<​uses-permission android:​name="​android.permission.WRITE_EXTERNAL_STORAGE"​ /> 
 </​code>​ </​code>​
 </​callout>​ </​callout>​
 +
 +\\
 +=====getUsbFileList=====
 +Get a list of firmware file names for USB.
 +<code java>
 +int getUsbFileList(ArrayList<​String>​ fileList)
 +</​code>​
 +===Parameters===
 +  * ''​fileList'':​ file name list
 +===Return Code===
 +Returns "​SUCCESS"​ if successfully launched; returns the corresponding error code if an error occurs.
  
 \\ \\