ZenonZ / mixare

Automatically exported from code.google.com/p/mixare
0 stars 0 forks source link

Download in a different thread #66

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
The download of the data is done until now, when the user clicks on the camera 
tab on the tabbar, which freezes the app for some seconds. It would be nice if 
the apps switches immediately to the cam and downloads the data in the 
background. 

Original issue reported on code.google.com by jakob.ob...@gmail.com on 10 Dec 2010 at 3:42

GoogleCodeExporter commented 8 years ago

Original comment by jakob.ob...@gmail.com on 10 Dec 2010 at 3:59

GoogleCodeExporter commented 8 years ago

Original comment by jakob.ob...@gmail.com on 16 Dec 2010 at 8:32

GoogleCodeExporter commented 8 years ago
This is due to initContentsWithUrl being single threaded.  I have noticed that 
the camera view never opens if the user has no location.  Possible solution is 
to use an asynchronous JSON retrieval such as ASIHTTPRequest.  
http://allseeing-i.com/ASIHTTPRequest/How-to-use

If i get this coded up before the next release I will submit it a solution 
here, as of now I am currently taking notes on the source for integration into 
another app.

Original comment by p.cl...@textmimedia.com on 9 Sep 2011 at 8:41