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.
Here you can download simple program I made for keeping my DNN site alive.
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.
Today I tried to add Recent blog entries blog module part to my Blog page and have got following error:
A critical error has occurred. An unexpected error has occurred
See how I solved this error.
Here you will find story about problems I had while trying to enable formatting of code blocks in DotNetNuke 6
Learn how to convert date and time to text in Android.
Have you realized the importance of ListView control in developing android applications ?
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.