Implement fetching of titles for the list view and set it dynamically

Add permission to access Network State.
This branch dynalist was created for the dynamic title setting
implementation.Also a footer for the listview has been created, it
will be used to start fetching next set of articles.
The app now checks for internet connectivity and then chooses to
populate the list's titles with hardcoded values or starts to fetch
them accordingly.
The titles in listview of the app is now more readable and in cases of
large titles it doesnt overflow out of the rowview.
A lint error has been introduced now in the adapter of the footer
The app is working as of this commit.

Signed-off-by: Aditya Prasad <adityaprasadiskool@gmail.com>
Fixed some minor problems

Changed variable names in customlist.java to suit its purpose
Tried to eliminate the misplacing of hardcoded titles in home, FAILED.
Removed all trailing whitespace.

Signed-off-by: Aditya Prasad <adityaprasadiskool@gmail.com>
APP is BROKEN, in the middle of implementing Fetch more articles

The footer's Onclick is only triggering after the first 10 articles
have been fetched.The app crashes after the next 10 titles have been
, during populating of the listview. I belive its because the
string array is set with a size of 10 during the first fetching of
titles.
The units for text size in textview was corrected.
Added the string value to be displayed at the footer during the
time before the first article is fetched.
Also trying to set a onItemClickListener.
Gota Sleep, Jaana.

Signed-off-by: Aditya Prasad <adityaprasadiskool@gmail.com>
Add the License to this project.

I have to spend some more time, looking for maybe a better license

Signed-off-by: Aditya Prasad <adityaprasadiskool@gmail.com>
Add screenshots to README

I have taken screenshots of the app when the dynamic listview is being
implemented. The screenshots show the navigationbar and the listview.

Signed-off-by: Aditya Prasad <adityaprasadiskool@gmail.com>
Update README.md with inline images

Images have been made inline.
Merge branch 'Mindstormer619-patch-1' into dynalist
Replace 10,11 in terms of final static int NO_TITLES

I have replaced the constants 10,11 with No_TITLES so that
we can at a future date make changes around the number of threads
which are launched at any time to fetch the JSON objects.

Signed-off-by: Aditya Prasad <adityaprasadiskool@gmail.com>
Fix the crash on fetching 2nd batch of titles

The app had crashed because the array of images used in the rows were
hardcoded only upto 10 numbers.When further images were sought
 the ArrayIndexOutOfBoundsException was encountered.

Signed-off-by: Aditya Prasad <adityaprasadiskool@gmail.com>
Add permission to WRITE_EXTERNAL_STORAGE. Set a better color contrast
for the navigation drawer - black.Make class to retrive and save image

In order to save the downloaded image to the sd card, we need the
WRITE_EXTERNAL_STORAGE permission. The greyish transparent background
for the navigation drawer wasnt satisfactory, so I made it black,
which makes the white titles prominent to our eyes.
The new classes are written by [Droidman][1] -
[1]: https://stackoverflow.com/users/1199662/droidman ,
with his permission - "As always, feel free to use this code for any
purposes and modify it in any way." I have modified them to suit my
purpose.
Now once the [primary link][2] has been modified to also contain both
title and image url, the code should fetch the image and store it in the
mobile.while the [secondary link][3] will be used to display the content
when a particular article is selected.
[2]: http://www.motorindiaonline.in/android/?s_i=<start>&e_i=<end>
[3]: http://www.motorindiaonline.in/android/index.php?a_id=<article no>

Signed-off-by: Aditya Prasad <adityaprasadiskool@gmail.com>
Edit README and Implement storage for titles

I have changed the README to reflect the app's features as of now.
I have removed the printing to Log from retriveJSON.java, as its
volume and frequency made debugging other classes difficult.
Also the titles as they are fetched from the server are also stored
via shared preferences, and displayed on the listview if Internet is
not available.

Signed-off-by: Aditya Prasad <adityaprasadiskool@gmail.com>
Edit Readme - Update the screenshots

I updated the screenshots in the server and got the screenshot
in landscape mode too

Signed-off-by: Aditya Prasad <adityaprasadiskool@gmail.com>
Update the Images

update the links in order to update the images
Update reason for restored titles being jumbled.

In the comments I added the reason for the restored titles being
jumbled up in the listview.

Signed-off-by: Aditya Prasad <adityaprasadiskool@gmail.com>
Merge branch 'dynalist'