Skip to content

Commit ade8bc7

Browse files
committed
Update README.md
1 parent 6be4864 commit ade8bc7

File tree

1 file changed

+21
-3
lines changed

1 file changed

+21
-3
lines changed

README.md

Lines changed: 21 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,21 @@
1-
Demo app for SQLiteOpenHelper
2-
-----------------------------
3-
![Screenshot](http://imgur.com/mfxDMcZ.png)
1+
# Demo app for SQLiteOpenHelper
2+
3+
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.
15+
16+
Check the following guides for more details:
17+
18+
* [Sending-and-Managing-Network-Requests](http://guides.codepath.com/android/Sending-and-Managing-Network-Requests#displaying-remote-images-the-hard-way)
19+
* [Local Databases with SQLiteOpenHelper](http://guides.codepath.com/android/Local-Databases-with-SQLiteOpenHelper)
20+
21+
![Screenshot](http://imgur.com/mfxDMcZ.png)

0 commit comments

Comments
 (0)