Activity
1. Role
Control container
2. Create an activity2.1 inherit the activity class2.2 rewrite the oncreate method (the first operation will be called in the window)2.3 Register in mainifest. xml2.4 Add controls
Protected void oncreate
(Contains the source code and complete project ):Http://loon-simple.googlecode.com/files/barrage%2Bslg.7z
Some time has not updated the blog, so the younger brother specially prepared two game examples at a time.
1. Bullet screen example:
This
Public class androidgoolemapdemo extends mapactivity {
/** Called when the activity is first created .*/
Private mapview mmapview;
Private mapcontroller mmapcontroller;
Private geopoint mgeopoint;
Public void oncreate (bundle savedinstancestate
Summarize the knowledge points of AutoComplete and SQLite in Android.
1 SQLite help class
Public class sqlitecountryassistant extends sqliteopenhelper {
Private Static final string db_name = "usingsqlite. DB ";
Private Static final int
The countdown is used in Android development. I checked some information, read the source code, write it out, and share it with you. If it is inappropriate, please correct it.
Write a class to inherit countdowntimer. As shown in the code below,
It is still the source code of JAVA games. As the saying goes, "source code is power ~~~
Continue to group the android game source code (15 more, mainly developed by andengine and libgdx. It is said that open-source game publishers are mainly
Android is a great solution, but the simulator is not very good. without replacing the old hardware, the efficiency problem is usually encountered when using the android simulator. Besides, you can debug it under logcat, it is never as intuitive as
Message:
Currently, SVN has a 0.3 small patch (LGame-Android-Core-0.3 (revise). Jar) that fixes the inefficient self-screen adaptation problem when initializing mode. fill. In addition, max (set the game view size to the maximum mobile phone screen
Android APK file signature-keytool and jarsigner
1. Generate a keystoreLocate the position in the JDK binfile and enter the following name line:
Keytool-genkey-alias changebackgroundwid get. keystore-keyalg RSA-validity
/*************************************** **************************************** ************** Author: conowen @ Dazhong* E-mail: conowen@hotmail.com* Http://blog.csdn.net/conowen* Note: This article is original and only used for learning and
/*************************************** **************************************** ************** Author: conowen @ Dazhong* E-mail: conowen@hotmail.com* Http://blog.csdn.net/conowen* Note: This article is original and only used for learning and
/*************************************** **************************************** ************** Author: conowen @ Dazhong* E-mail: conowen@hotmail.com* Http://blog.csdn.net/conowen* Note: This article is original and only used for learning and
/*************************************** **************************************** ************** Author: conowen @ Dazhong* E-mail: conowen@hotmail.com* Http://blog.csdn.net/conowen* Note: This article is original and only used for learning and
/*************************************** **************************************** ************** Author: conowen @ Dazhong* E-mail: conowen@hotmail.com* Http://blog.csdn.net/conowen* Note: This article is original and only used for learning and
/*************************************** **************************************** ************** Author: conowen @ Dazhong* E-mail: conowen@hotmail.com* Http://blog.csdn.net/conowen* Note: This article is original and only used for learning and
/* Customize the book return time and alarm */Selfdefcalendar = calendar. getinstance (); // obtain the calendar instance, that is, initialize selfdefcalender.Selfdefcalendar. settimeinmillis (system. currenttimemillis (); // you can set the
/*************************************** **************************************** ************** Author: conowen @ Dazhong* E-mail: conowen@hotmail.com* Http://blog.csdn.net/conowen* Note: This article is original and only used for learning and
/*************************************** **************************************** ************** Author: conowen @ Dazhong* E-mail: conowen@hotmail.com* Http://blog.csdn.net/conowen* Note: This article is original and only used for learning and
/*************************************** **************************************** ************** Author: conowen @ Dazhong* E-mail: conowen@hotmail.com* Http://blog.csdn.net/conowen* Note: This article is original and only used for learning and
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