If you just started programming your first 2D game using AndEngine, here are some tips for you. These tips are more about "Game Programing" in general, then about AndEngine, but I think you should know it before get started programming your own game.
If you recently started to develop applications for the Android platform (or any other mobile platform) it is likely that you will encounter the problem of designing user interfaces. Have you realized the importance of ListView control in developing android applications? That is what I learned the hard way. Don't allow this to happen to you too.
How to connect to your localhost web server (localhost) from the Android application.
Here you will find instructions how to:
- connect to your local web server (localhost) from Android application.
- request web page using http GET method
- send data to a web page using QueryString parameters
- request web page and send data to it using http POST method
See how you can check in your code if your Android application is running in debug or release mode.
If you found that your R (resource) generated class in Android project have errors you will want to force Eclipse to rebuild that class. To force Eclipse to rebuild generated resource class (R), you just need to click on Project->Clean menu, and then select which projects you want to clean.
In my case rebuilding generated class did not helped because there was error in my XML layout file and class again had the same error. So if you ever have error in your R (resource) generated class, it is better to first check your error log and find where in the layout or resource files you have error. Usual error is wrongly named resource id of control. After you fix that error and save changes error in R class will usually disappear.
Learn how to create android buttons with image and text.. Here you will find how to create basic buttons with image and text and how to create button with complex layout using realative layout to define position of text and image controls on the button.
Learn how to convert date and time to text in Android.
If you are programming for Android then you know how hard is to create and manage all that icons for different screen sizes and resoultions. Here is GIMP script for creating all that icons at once.
What you should know abot textures before get started programming your first game.
Script for creating Android icons for different screen resolutions at once. Icons can be saved using standard Android icons naming conventions and saved in appropriate folders.
Source code with examples how to use relative layout to create nice buttons with text and images in Android
Tutorial about connecting to the web pages on the Internet from Android application, using both POST and GET web requests.