Android learning-(1) Getting Started example

Source: Internet
Author: User

AsProgramThe employee simply said that he did not practice it by himself, but that would not work, even if it looked very easy and very simple, haha! In the past three days, I took a noon break to read Android-related blog posts/books and spent the evening writing an entry-level demo, which mainly includes the following functions:

1. Use of basic controls (textview, edittext, button, and imageview)

 

2. Menu, prompt dialog box, and progress dialog box (optionsmenu, toast, alertdialog, progressdialog)

 

3. Thread and Message Processing (thread, message, handler, org. Apache. http)

The user enters the user name and password on the mobile phone, and then submits the data to the central web server through http post for legality verification.

 

RelatedCodeDownloadAndroiddemo.rarI hope it will be helpful for new users. Android development is mainly based on the Java language. Therefore, it is easy to get started if you have a certain degree of development basics for object-oriented languages such as Java and C; in addition, the documentation resources are quite rich. You can search for the documentation on the internet and find the handler. (If you don't want to find it, you can refer to my previous blog post.Android learning materials SummaryIn a simple manner, you can find some Android learning materials). In fact, you can see the docs (complete and complete content) and samples (demonstration examples of Functions) provided by the SDK, and then go to the next SDK.Source codeThen let yourself calm down and take a look at it. It is quite interesting to have a deep understanding of its programming ideas.

It is worth mentioning that android interface development is similar to ASP.. net, you can also customize the theme style (. NET 2.0), layout (HTML Tag elements), resources (such as resources that are frequently used in winform development. resx file). This is much more convenient than using C ++ to develop the windows mobile app UI. Moreover, Android comes with many UI controls, and the default style looks quite good, you can also customize a topic. If you want to improve your skills as soon as possible, you still need to practice more. You have not seen a great generation of people say that they have practiced the truth.

 

Related Article

Contact Us

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.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.