The first applet made by Android

Source: Internet
Author: User

The day before yesterday and yesterday spent two nights tossing and tossing. Finally, I configured the Android environment and wrote a Demo that could be smelly. I have a rough understanding of Android. First, upload the simple interface of the program.







I learned a few things through doing this little stuff:

1. In Android, each screen or page is displayed with something called Activity, and in the first project, activity display is similar to WPF (I have never used java before. net)

2. Communication between the interface and the interface: Passing numbers and returning numbers are done through an item called Intent.

3. There are three types of data stored in Android: SharePreferences. Similar to. net configuration files, this type of configuration file is suitable for saving brief information, such as user accounts. The other is SQLite, which is a simple database that uses SQL statements. The other is ContentPrivder. Sorry, I have not mastered it yet, I haven't even read that knowledge yet.

4. For Android development, if it is just simple to develop software of this type of application, it is easy to call some Android APIs through java.

Something lacking through this little stuff:

1. Lack of java syntax and class library introduction knowledge, because I have done. net. I didn't even see java, so I started to get started. So many can only be understood by boredom.

2. I need to find a game production tutorial. My experience tells me that there is no way to create a superb interface, hardware rendering game, or even 3D game through XML, there is something similar to GDI or something that can be drawn. Of course, it is also some interface.

3. It is the best way to learn how to download some Android API manuals and plan a project.

4. For simple Android development, IDE will separate directories. But how should we design the project structure for a large game? What do you mean?

 

It only takes three nights for the first Android project.

(The log was saved in the draft because the network was disconnected at the time.) I hope you can give me more advice.

 

From technical Column

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.