I'm trying to load all my gamefiles using a AsyncTask, but the AsyncTask does not run in a seperate Thread :S
LoadInBackground extends AsyncTask and all the loading is done in doInBackground();
Am I using it wrong and is there a better way to do it?
I tried to declare a sep]erate thread and then call thread.start(); before showing the ad, but I got the same result, first it loads the game and then shows the ad.
Thanks in advance
rbroome!
PHP:
LoadInBackground load = new LoadInBackground();
load.setContinent(continent);
load.execute(eur);
((SquaresApplication) getApplication()).displayAdWrapper(this);
Log.d(TAG, "Displaying ad, while loading the map");
Am I using it wrong and is there a better way to do it?
I tried to declare a sep]erate thread and then call thread.start(); before showing the ad, but I got the same result, first it loads the game and then shows the ad.
Thanks in advance
rbroome!