Differences
This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision Next revision Both sides next revision | ||
en:sdk_api [2019/01/02 10:32] simba |
en:sdk_api [2019/01/02 10:38] simba |
||
---|---|---|---|
Line 40: | Line 40: | ||
===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. | ||
+ | |||
+ | \\ | ||
+ | =====getDeviceInfo===== | ||
+ | Get the device information. | ||
+ | <code java> | ||
+ | int getDeviceInfo(Device device) | ||
+ | </code> | ||
+ | ===Parameters=== | ||
+ | * ''device'' : device information | ||
+ | <callout type="info"> | ||
+ | [[references#Device |Refer to Device Class]] | ||
+ | </callout> | ||
+ | ===Return Code=== | ||
+ | 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. | ||
\\ | \\ |