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
en:sdk_api [2019/01/02 10:35]
simba
en:sdk_api [2019/07/17 17:01] (current)
jbkim [setCardType]
Line 56: Line 56:
  
 \\ \\
-=====setCardType===== +=====setAutoStartApplication===== 
-Set the RF card type.+Automatically launch ​the application when Android starts.
 <code java> <code java>
-int setCardType(int cardType)+int setAutoStartApplication(boolean enable)
 </​code>​ </​code>​
-===Parameters=== +===Return Code === 
-  * ''​cardType''​ : Parameters +Returns "​SUCCESS"​ if successfully launched; returns the corresponding error code if an error occurs. ​
-<WRAP group 50%> +
-^  No.  ^ Description ​ ^ +
-|  1  |HIGH_FREQUENCY ​ | +
-|  2  |HIGH_FREQUENCY_ICLASS ​ | +
-|  3  |LOW_FREQUENCY ​ | +
-|  4  |LOW_FREQUENCY_PROX ​ | +
-</​WRAP>​ +
-===Return Code=== +
-Returns "​SUCCESS"​ if successfully launched; returns the corresponding error code if an error occurs.+
  
 \\ \\
 +
 =====connectFtpServer===== =====connectFtpServer=====
 connect to the FTP server. connect to the FTP server.
Line 127: Line 119:
 <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.
  
 \\ \\