Issue 1:Android.database.cursorindexoutofboundsexception:index-1 requested, with a size of 1
Workaround: This problem occurs when using the cursor, querying the data table in Android, the returned result set needs to be received with the cursor , but when traversing the cursor , it is important to note that the cursor the initial position starts at the place where the subscript is 1, that is, when the query is returned to the cursor query results, the value cannot be extracted from the cursor immediately. Therefore, when you do a traversal operation on the cursor , you need to call Cursor.movetofirst () First, for example:
if (Cursor.movetofirst ()) {Traversal operation}
Issue 2:error "Dataset and renderer should is not null and should has the same number of series" in Android
Workaround: The cause of this problem is that the renderer and dataset do not match, check the code, and see if the parameters passed in one by one correspond.
Issue 3:java.lang.NullPointerException
Resolution: Remember to initialize the array, for example: double[] arg = new DOUBLE[24];
This article from the "Program Ape Advanced Siege Lion" blog, declined reprint!
Android Achartengine Problem Summary