29 Nov
Posted by support as General 71 views, 0 Comments
Original From: http://blog.sina.com.cn/s/blog_4ca975460100g5yj.html Android if they had to switch on the screen solution The time in the development of the game, some games are only horizontal screen play, so when placed in the erection of mobile phone, to keep the game screen is still horizontal screen. To achieve this requirement is very simple to configure [...]
Custom ContentProvider —- The content provider is used to deal with data sources, while the content parser (ContentResolver) responsible for operating the specific content provider. The data source can be a file or database. More content resolver can simultaneously access the content provider because it is thread – safe. A URI can identify a resource, [...]
24 Nov
Posted by support as General 100 views, 0 Comments
In the Android application development, usually using JAVA language, in addition to the familiar with the basics of JAVA language, they also need to understand Android provides extended functionality JAVA JAVA applications in the general, if you need to use reference-based library, usually need to use the following method: import javax.swing .*; JAVA expressed above [...]
ListView control is relatively common, but have always felt a bit tedious steps to create a ListView, so to sum up what, for easy access. The program's performance is to achieve a ListView, ListView inside title, content and images, and to join click and long press response. First, the definition in the xml inside a [...]
22 Nov
Posted by support as General 181 views, 0 Comments
Glossary: SDK: Software Development Kit AVD: Android Virtual Devices ADT: Android Development Tools 1. Installing Android SDK Download windows android sdk link: http://androidappdocs.appspot.com/sdk/download.html?v=android-sdk_r3-windows.zip Details Address: http://androidappdocs.appspot.com/sdk/index.html Note: I downloaded to D: Android 2. Installing the ADT Plugin Eclipse -> Help> Software Updates …. In the dialog that appears, click the Available Software tab. Click Add [...]
Using the HTTP service: 1. Apache HttpClinet Http GET Http POST a. Create HttpClient b. The initial HTTP GET method or POST method. c. set the parameters of key pairs d. implementation of the HTTP call e. processing HTTP reply HTTP GET example: 1 2 3 4 5 6 7 8 9 10 11 12 [...]
20 Nov
Posted by support as General 33 views, 0 Comments
Android 2.0 (formerly codenamed 'Éclair') is the latest evolution ofthe mobile OS developed by Google and the Open Handset Alliance. This version is a chunky upgrade, superceding the current Android 1.6 software (dubbed 'Donut'), which was actually considered "a minor platform release". The first phone to feature Android 2.0 will be Motorola's comeback phone, the [...]
AndroidManifest.xml 1 <? xml version = "1.0" encoding = "utf-8"?> <manifest xmlns: android = "http://schemas.android.com/apk/res/android" package = "com.example.android.notepad "> <application android:icon="@drawable/app_notes" android:label="@string/app_name"> <provider android:name="NotePadProvider" android:authorities="com.google.provider.NotePad" /> < activity android: name = "NotesList" android: label = "@ string / title_notes_list"> <intent-filter> <action android:name="android.intent.action.MAIN" /> <category android: name = "android. intent.category.LAUNCHER "/> </ intent-filter> <intent-filter> <action android:name="android.intent.action.VIEW" [...]
[url] http://nilvec.com/sending-email-without-user-interaction-in-android/ [/ url] by nilvecTo send emails from an Activity in Android the easiest way is to fire up the built-in mail application with an Intent, and let it take care of the low-level details about how to assemble the message, negotiate a secure connection with the mail server and send it using the [...]