these days, although encounter bottlenecks, but also getting better, because no contact with Android, so as a novice will not give themselves too high requirements. Compared to last year's distributed resource retrieval, this year's mobile development is really simple, although its nature is not much different, but from the user experience to inspire the interest of every learner, this may be the charm of Android
This is my collection of the classic books on Android development, high-definition PDF electronic version, can be downloaded in my Baidu network free of charge, I hope that the need for friends to help. Directory:Android 4 Advanced Programming (full source code included)"Crazy Android Handout""Android App Development (Guo Hongzhi)""
Android development and learning: Call and text message, android text message
1. Create an android Project
File -- New -- Other -- android application project
Enter the application name (that is, the application name, for example, daily cool run)
Enter the project name (for example, TTKP)
Enter the package name (for ex
Android Android-use Eclipse to develop the first android Application, android-android
Open Eclipse and select File-New-Android Application Project
Application Name is our Application Name, which is also the Name we see in the mob
pendingintent literal meaning: waiting, intent not determined. Pendingintent object, use the static method of the method class:getActivity(Context, int, Intent, int)------->跳转到一个activity组件、 getBroadcast(Context, int, Intent, int)------>打开一个广播组件 getService(Context, int, Intent, int)-------->打开一个服务组件。 The 3 behaviors and parameters corresponding to intent are 4, the third and the first, the second is the fourth one and the second one. As you can see, to get this object, you must pass in a in
Android listener-based event processing
Android provides powerful event processing mechanisms, mainly including:
1. listener-based event processing mechanism: bind a specific event listener to the Android interface component.
2. Callback-based event processing mechanism: the main method is to rewrite the specific callback method of the
Android SDK Android NDK android Studio officialIf the download speed is too slow, please use thunder, Baidu cloud offline and other methods to download.For Linux systems, if you cannot upgrade online, see belowsudo vi/etc/hostsAdd to74.125.206.93 dl-ssl.google.comHere are the various.
2014.7ADT BundleHttp://dl.google.com/
Android can send text messages in two ways
First, call the system's text message function. The main code is as follows:
Uri uri = Uri.parse("smsto:10010"); Intent it = new Intent(Intent.ACTION_SENDTO, uri); it.putExtra("sms_body", "102"); activity.startActivity(it);
Second, call the system SMS interface to send text messages directly. The main code is as follows:
// Directly call the SMS interface to send a text message
Author: Li Gang [Translator's introduction] Press: Electronic Industry Press ISBN: 2nd Release Date: March 2013: 16 open pages: 796 versions: 1-1 categories: Computer> Software and programming> mobile development> android
For more information, "" crazy android handout (2nd) "computer books mobile Internet has become the world's fastest growing business with the largest market potential and the most attracti
current network connection. deprecated HTTP classes:Org.apache.http classes and android.net.http have been deprecated in Android 5.1. Androidhttpclient class. These classes will no longer be retained and you should migrate any application code using these APIs to the URLConnection class as soon as possible . Carrier Services:Android 5.1 supports communication service providers to create apps that can perform carrier configuration tasks on
);/** received SMS content * *String message = Mess.getmessagebody ();/** the phone number of the person who sent the message * *String telephonenum = mess.getdisplayoriginatingaddress ();/* Reciprocity, let's give him a reply. Message: Now becomes the receiver phone number */String sendTo = Telephonenum;/** SMS Manager Smsmanager Object */Smsmanager Smsmanager =
, beautiful girl"; string number = "135 *** 6784"; smsmanager SMS = smsmanager. getdefault (); pendingintent Pi = pendingintent. getbroadcast (smsactivity. this, 0, new intent (...), 0); SMS. sendtextmessage (number, null, MSG, PI, null); toast. maketext (smsactivity. this, "sent successfully", toast. lenght_long ). show ();
Pendingintent is an intent description. We can give this description to other progr
Android Learning Series (41)-simple use of Android Studio, android-android1. Environment
UBUNTU 14.04 + Android Studio 0.8.22. Install jdk
Openjdk-7 is a good choice:
sudo apt-get updatesudo apt-get install openjdk-7-jdkIt is not excluded that you need to select a default version:
sudo update-alternatives --config
) {
Get cell phone number edit box based on ID
EditText Mobiletext = (edittext) Findviewbyid (r.id.mobile);
Get cell phone number
String mobile = Mobiletext.gettext (). toString ();
Get Information content edit box based on ID
EditText MessageText = (edittext) Findviewbyid (r.id.message);
Get information Content
String message = Messagetext.gettext (). toString ();
Mobile operators allow a limited amount of byte data to be sent each time, and we can use the SMS tool provided b
Android Android-build an android development environment, android-android
Android official website address: http://developer.android.com/, download and install AndroidSDK following the steps below:
Download ADT and SDK: http://dev
First, understand the Android operating system
Android was first founded by Andy Robin (Andy Rubin) and was acquired by Google in 2007, and Google has achieved great success with its Android operating system on smartphones.
1, the characteristics of the Android operating system
The
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.