-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathDeveloper_BuildGuide.txt
More file actions
112 lines (96 loc) · 4.86 KB
/
Copy pathDeveloper_BuildGuide.txt
File metadata and controls
112 lines (96 loc) · 4.86 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
/*
* newssup- Open Source Android application which shows news updates using
* Google and BBC News API. User can read as well as listen to the news.
*
* Copyright (C) 2012 Pratibha Natani
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*
* Please see the file License in this distribution for the license terms. Link is:
* https://github.com/Pnatani/newssup/blob/master/LICENSE.odt
*
* Following is the link for the repository: https://github.com/Pnatani/newssup
*
* Written by Pratibha Natani <pnatani@pdx.edu>
*
* References: (Detailed references at the end of the page)
* -Tutorial by IBM on building a mobile RSS Reader.
* https://www.ibm.com/developerworks/xml/tutorials/x-androidrss/
* This tutorial introduces XML handling on the Android platform.
* It demonstrates you'll build out the important elements which are relevant to XML handling and rendering on the Android platform.
*
* -Taken inspiration from below link for implementing XMLParsing:
* http://code.google.com/p/krvarma-android-samples/
*
* -Application is powered by Google News API.
* http://support.google.com/news/bin/answer.py?hl=en&answer=59255
*
* -Application is powered by BBC News API.
* http://www.bbc.co.uk/news/10628494
*
*/
Instructions to build the application:
1. The development system should meet the following requirements:
JDK 6 or JDK 7 (JRE alone is not sufficient)
Follow link: (http://www.oracle.com/technetwork/java/javase/downloads/index.html)
Install Eclipse IDE, Juno or later from http://www.eclipse.org/downloads/
2. Download Android SDK.
Follow link: (http://developer.android.com/sdk/index.html)
3. Install SDK platform:
Select Windows > Android SDK and AVD Manager, choose Available Packages in the left panel.
Click the repository site checkbox to display the components available for installation.
Select SDK Platform Android 4.1, API 16 and click Install Selected.
For detailed instructions follow: (http://developer.android.com/sdk/installing/index.html)
4. Download and Install ADT plugin for Eclipse.
Follow link: (http://developer.android.com/sdk/installing/installing-adt.html)
5. Create an Android virtual device.
In Eclipse, choose Window > AVD Manager. Click New.
The Create New AVD dialog appears. Give name for the AVD, like "newssup_avd".
Choose target as Google APIs (API level 16). Provide SD card size as 512 Mb.
click Create AVD.
6. Open Windows > Preferences > Make sure the Android SDK and JDK are pointing to the SDK and JDK installed on your computer.
7. Open eclipse and import the project folder in your current workspace.
File-> Import-> Android-> Existing Android code into workspace
Select the root directory to be the project folder and tick "Copy projects into workspace". Next. Finish.
8. Click on Run to run the application as Android application.
/*
* Reference details:
*
* 1) https://www.ibm.com/developerworks/xml/tutorials/x-androidrss/
* This tutorial introduces XML handling on the Android platform.
* This tutorial is explains following sections:
* RSS basics
* Android RSS reader application architecture
* Fetching and parsing XML data with SAX
* Rendering RSS data in Android
*
* 2) http://code.google.com/p/krvarma-android-samples/
* This site has various sample Android applications which have helped me in coding
* in Android, including RSS Parsing.
*
* 3) Application is powered by Google News API.
* http://support.google.com/news/bin/answer.py?hl=en&answer=59255
* In an effort to provide our users with easier access to updates about news topics
* of interest to them, we offer RSS feeds of Google News. Feeds are available for
* any section of Google News (such as Sports or Business), for your Google News
* search results, or for your customized Google News page. When you subscribe to a
* Google News feed using a feed reader, you'll receive a regularly updated summary
* of relevant news articles along with links to the full articles.
* Google News feeds are available in RSS 2.0 format.
*
* 4) Application is powered by BBC News API.
* http://www.bbc.co.uk/news/10628494
* BBC News provides feeds for both the desktop website as well as for our mobile
* site and the most popular feeds are listed here.
*/