• After 15+ years, we've made a big change: Android Forums is now Early Bird Club. Learn more here.

Search results

  1. B

    Java and SQL

    I get no compiler error. The execution does not return from the following method...It crashes. public boolean deleteOne(CustomerModel customerModel) { SQLiteDatabase db = this.getWritableDatabase(); String queryString = "DELETE FROM CUSTOMER_TABLE" + " WHERE " + COLUMN_ID + "="...
  2. B

    Java issue

    The following Java code: if (txtEmail.toString().indexOf('@' , 0) == -1) { showSnackbar("Test Invalid Email"); } It executes showSnackbar when there IS an @ in the txtEmail input field.. Why? Thank you anyone for your help.
  3. B

    xml error in Android Studio

    I have this code. I get an error at <ImageView....The error message is Resource Linking Failed...Why? <?xml version="1.0" encoding="utf-8"?> <androidx.cardview.widget.CardView xmlns:android="http://schemas.android.com/apk/res/android" xmlns:app="http://schemas.android.com/apk/res-auto"...
  4. B

    Android Studio emulator does not display updates

    I tried different virtual devices. It only displays a strip at the top with the current time but not my layout. Thanks anyone for your help!
  5. B

    Cannot set Button background color in Android Studio

    Can't change the button background and onClick to execute the Java code doesn't work
  6. B

    Android Studio has strange error

    When I start a new project and do a click to build the project I get this error: app:checkDebugAarMetaData issues found when checking AAR meta data value It never used to do that.