Reputation: 3 Apprentice
- Active Members
- Active Posts:
- 54 (0.07 per day)
- 07-March 12
- Profile Views:
- Last Active:
- Feb 14 2014 02:01 AM
- OS Preference:
- Favorite Browser:
- Who Cares
- Favorite Processor:
- Favorite Gaming Platform:
- Your Car:
- Who Cares
- Dream Kudos:
Posts I've Made
Posted 13 Feb 2014I discovered the problem. As it turns out, yes the issue occurred when the code I posted fires, but the issue was actually in the referenced bit of code. For some bizarre reason, I put all the code for UI updates, HTTP requests, JSON parseing, etc, under an AsyncTask, but I had then proceeded to run that code on the UI Thread. I found that while performance can be a little choppy at times, it worked fine under Android 2.3.2, but the Newer Android versions imposed a restriction, preventing apps from doing too much work on the UI Thread, which results in any UI tasks having to halt, or wait...which is not good anyway, so fair enough.
I have now altered my code so that the runOnUiThread() section is now under the Post execution section, and it runs UI updates.
It was strange, because I only did this in a particular section of the code, but no where else in the app...oh well! Fixed now. And the above explanation serves for those who stumble upon here with the same issues (maybe).
Posted 4 Feb 2014I am currently trying to use the JSON Simple library, which has been added and imported
Hope this gives you some more info for use.
Posted 10 Dec 2013Oh wow, I actually can't believe I missed that after HOURS of pouring over this code!
...too many late nights I think />
Yes, it was supposed to be 'nw_date', not 'nw_type'.
Thanks again you two for you help (twice in one night /> ).
Posted 10 Dec 2013Fantastic, thanks guys!
Looks like I'll need to update my stone-age coding practices then
Posted 10 Dec 2013Darn,
thanks guys. I suppose that means I have to declare the variables with $_POST right?
- Member Title:
- D.I.C Head
- Age Unknown
- December 4
- Years Programming:
- Programming Languages:
- JAVA, PHP, MySQL, HTML, CSS
kosmro hasn't added any friends yet.