You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This is a demo of how to build a basic image loading app that keeps track of the number of times each image is loaded using SQLite. This app is a useful demo of the following topics:
4
+
5
+
* How to perform networking using `HttpURLConnection` to load remote images and turn them into `Bitmap`
6
+
* How to create a database using `SQLiteOpenHelper` and create the database schema
7
+
* How to query and update data from tables within a database using `Cursor`
8
+
9
+
You can review the following key files below:
10
+
11
+
*[ImageLinksCount](https://github.com/codepath/android-sqlite-links-demo/blob/master/app/src/main/java/codepath/com/sqlitelinksdemo/ImageLinkCount.java) - This is the model representing the table storing the links and the open counts.
12
+
*[ImageLinksCountDatabase](https://github.com/codepath/android-sqlite-links-demo/blob/master/app/src/main/java/codepath/com/sqlitelinksdemo/ImageLinksCountDatabase.java) - The `SQLiteOpenHelper` that creates and opens a connection to the underlying database.
13
+
*[ImageLoaderLibrary](https://github.com/codepath/android-sqlite-links-demo/blob/master/app/src/main/java/codepath/com/sqlitelinksdemo/ImageLoaderLibrary.java) - Simple image loader library built from scratch on top of basic. `HttpURLConnection`
14
+
*[MainActivity](https://github.com/codepath/android-sqlite-links-demo/blob/master/app/src/main/java/codepath/com/sqlitelinksdemo/MainActivity.java) - The activity which brings this app together.
0 commit comments