Posts

Showing posts from March, 2018

Android SQLite CRUD and ListView - Android Studio Tutorial

Image
      DESCRIPTION       ✔Enter data(Text, Image) in SQLite ✔Read data(Text, Image) from SQLite in Custom ListView ✔Custom dialog to update record ✔Update data(Text, Image) by onLongClicking the row of ListView ✔Delete data(Text, Image) by onLongClicking the row of ListView ✔Select Image from gallery using Library, crop/rotate image. Link of image library used: https://github.com/ArthurHub/Android-Image-Cropper       VIDEO             SOURCE CODE       Step 1:  Create a new project   OR   Open your project Step 2:  Create New Activity File>New>Activity>EmptyActivity Step 3: Add following libraries in build.gradle(Module:app)  implementation 'com.android.support:design:27.1.0' /*cardview library for our row.xml*/ implementation 'com.android.support:cardview-v7:27.1.0' /*image choosing/cropping library*/ implementation 'com.theartofdev.edmodo:android-image-cropper:2.6.+' Step 4: Code AndroidManifest.xml <?xml