Goran Siric
Blog about programming

Unity start guide

by admin on Thursday, September 15, 2016 11:43 AM

The answers to the questions I had during the creation of the game in the Unity

AndEngine - Textures tips and tricks

by admin on Wednesday, September 7, 2016 11:51 PM

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.


Calculated variables

by admin on Saturday, February 28, 2015 2:07 PM

Avoid calculated variables in a code.

Use them in a database.

Cisco AnyConnect Client and termination of existing LAN connections

by admin on Thursday, December 4, 2014 4:12 AM

Because the Cisco VPN client is not working properly on Windows 8.1, we had to use Cisco AnyConnect Client.

Here begins a nightmare that lasted for several days.

After the AnyConnect client connects to a remote computer all local TCP connections are interrupted. 

If your computer has initiated an application that for example communicates with the database, it loses the connection to the database and must be restarted.

It took several days to find a reason why this is happening:

VPN connection that is established does not allow the IPv6 protocol, and all of  local TCP connections that have been established over IPv6 protocol were terminated.

Therefore, the solution is very simple:

disable IPv6 protocol on the local network adapter or in the connection to the database use a fixed IPv4 address (n.n.n.n) instead of the computer name

 This will force connection to use IPv4 protocol.

Android "DataEntry ListView" Design Pattern

by admin on Tuesday, February 28, 2012 12:59 PM

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.

Connecting to localhost web server from android application

by admin on Monday, December 12, 2011 12:24 PM

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

Android application and the Internet

by admin on Wednesday, November 30, 2011 12:14 AM

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 

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

by admin on Tuesday, October 25, 2011 6:31 AM

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

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

by admin on Tuesday, October 25, 2011 12:27 AM

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.

Keep my DNN site alive

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

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

  Hi folks! I am proud to present: 
Bubble Zoo Escape, my first Android game built using AndEngine 
If you have a time, please download and give feedback!

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

By me a coffe through PayPal :)

Featured articles

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.