skip to Main Content

Fix app keeps stopping made with android studio

I'm new in the android development field. Last night I made a simple calculator from a youtube tutorial and fortunately I've successfully made it. Here is the code main.xml:- <?xml version="1.0" encoding="utf-8"?> <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" android:orientation="vertical" android:layout_width="match_parent" android:layout_height="match_parent" android:gravity="top|center"> <ImageView android:layout_height="120dp"…

VIEW QUESTION

Android Studio – I want to make a listview of some details,it needs to print out the details that are entered.error:Couldn't read row 0, col -1 from CursorWindow

Caused by: java.lang.IllegalStateException: Couldn't read row 0, col -1 from CursorWindow. Make sure the Cursor is initialized correctly before accessing data from it. I changed android:allowBackup="true" into "False" In android manifest. public class ListViewActivity extends Activity { SQLiteHelper SQLITEHELPER; SQLiteDatabase…

VIEW QUESTION
Back To Top
Search