Goran Siric
Blog about programming
RssIcon

Connecting to localhost web server from android application

by admin on Monday, December 12, 2011 11:24 AM

How to connect to your localhost web server (localhost) from the Android application.

android
internet
localhost

Android application and the Internet

by admin on Tuesday, November 29, 2011 11:14 PM

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 

android
GET
HTTP
internet
localhost
POST
Query

How to force Eclipse to rebuild generated resource class (R) in Android project ?

by admin on Monday, October 24, 2011 10:27 PM

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.



android
class
Eclipse
force
generated
R
rebuild
resource

How to check if your android application is running in debug or release mode ?

by admin on Monday, October 24, 2011 6:31 PM

See how you  can check in your code if your Android application is running in debug or release mode. 

android
check
debug
release
version

Keep my DNN site alive

by admin on Thursday, October 13, 2011 12:04 AM

Here you can download simple program I made for keeping my DNN site alive. 


dnn
KeepAlive.aspx

Android default icons

by admin on Sunday, October 9, 2011 11:36 PM
If you are new to Android it is good to know that there are some default icons in Android you can use in your own applications. 
android
android icons

Creating Android button with image and text using relative layout

by admin on Monday, October 3, 2011 5:06 AM

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. 

android
button
image
layout
relative
text

Critical error while adding DNN 6 blog module part to a page

by admin on Tuesday, September 27, 2011 1:01 AM

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.

Blog
critical
dnn
error
module
part
permissions

How to format code blocks in DotNetNuke 6

by admin on Monday, September 26, 2011 4:21 AM

Here you will find story about problems I had while trying to enable formatting of code blocks in DotNetNuke 6 

How to convert date and time to text in Android

by admin on Monday, September 26, 2011 12:03 AM

Learn how to convert date and time to text in Android.

android
convert
Date
string
text
Time


If you found this useful,
you can buy me a coffe :)

By me a coffe through PayPal :)


Featured articles

Integrating ChatGPT shared links with Sourcetree

We'll guide you through the process of incorporating ChatGPT shared links into your commit messages.

AndEngine - Textures tips and tricks

What you should know abot textures before get started programming your first game.

GIMP script for creating Android icons at once

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.

Creating Android button with image and text using relative layout

Source code with examples how to use relative layout to create nice buttons with text and images in Android

Android application and the Internet

Tutorial about connecting to the web pages on the Internet from Android application, using both POST and GET web requests.