Joke Collection Website - Public benefit messages - How to connect to mobylinuxvm

How to connect to mobylinuxvm

Step 1: Download the SDK from mob official website.

The directory of "SMSSDK" contains all the contents of SMS SDK, "SMSSDKSample" contains the demonstration project code of SMS SDK, and "SMSSDKSample.apk" is the executable program of "SMSSDKSample".

Step 2: Import SDK (SMS SDK uses project-dependent method to complete integration).

1. Copy the "SMSSDK" directory to the same directory of your own project (you can add a folder if you report an error) and import it into Eclipse.

2. Right-click your project, select Properties, select Android in the sidebar of the pop-up window, and select SMSSDK in the referenced project.

Step 3: Configure AndroidManifest.xml

[java] View Plain Text

& lt! -SMS SDK permissions->

& ltuses-permission Android:name = " Android . permission . read _ CONTACTS "/& gt;

& ltuses-permission Android:name = " Android . permission . read _ PHONE _ STATE "/& gt;

& ltuses-permission Android:name = " Android . permission . write _ EXTERNAL _ STORAGE "/& gt;

& ltuses-permission Android:name = " Android . permission . access _ NETWORK _ STATE "/& gt;

& ltuses-permission Android:name = " Android . permission . access _ WIFI _ STATE "/& gt;

& ltuses-permission Android:name = " Android . permission . internet "/& gt;

& ltuses-permission Android:name = " Android . permission . receive _ SMS "/& gt;

& ltuses-permission Android:name = " Android . permission . get _ TASKS "/& gt;

& ltuses-permission Android:name = " Android . permission . access _ FINE _ LOCATION "/& gt;

Then type "Application" and add the following activities:

[java] View Plain Text

& lt! -Add activities in mob.com->

& lt activities

Android:name = " com . mob . tools . mobuishell "

Android:config changes = " keyboard hidden | orientation | screenSize "

Android:Theme = "@ Android:style/ theme. Translucent. No title bar "

Android:windowSoftInputMode = " state hidden | adjust size "/& gt;