I've read here that HTTPClient is intended for a single request. Currently I'm using HTTPClient for multiple requests (getting several xml files from a server to create menus and load information when a menu item is tapped) and experiencing that the HTTPClient is not intended for multipe requests. It crashes after loading the menu and tapping an item or after tapping several items. The error I receive is:
[WARN] : IdleConnectionHandler: Removing a connection that never existed! [ERROR] : TiHttpClient: (TiHttpClient-2) [14537,14537] HTTP Error (org.apache.http.client.HttpResponseException): Not Found [ERROR] : TiHttpClient: org.apache.http.client.HttpResponseException: Not Found [ERROR] : TiHttpClient: at ti.modules.titanium.network.TiHTTPClient$LocalResponseHandler.handleResponse(TiHTTPClient.java:258) [ERROR] : TiHttpClient: at ti.modules.titanium.network.TiHTTPClient$LocalResponseHandler.handleResponse(TiHTTPClient.java:217) [ERROR] : TiHttpClient: at org.apache.http.impl.client.AbstractHttpClient.execute(AbstractHttpClient.java:974) [ERROR] : TiHttpClient: at org.apache.http.impl.client.AbstractHttpClient.execute(AbstractHttpClient.java:954) [ERROR] : TiHttpClient: at ti.modules.titanium.network.TiHTTPClient$ClientRunnable.run(TiHTTPClient.java:1287) [ERROR] : TiHttpClient: at java.lang.Thread.run(Thread.java:864)Is there another way to load data from a server? I've read a tutorial which uses SQLite (which I have no experience with) and understand the concept of the tutorial but is it the right solution for me?