Home
last modified time | relevance | path

Searched refs:RssContentProvider (Results 1 – 5 of 5) sorted by relevance

/development/samples/MySampleRss/src/com/example/codelab/rssexample/
DMyRssReader4.java52 mCur = managedQuery(RssContentProvider.CONTENT_URI, // Query for all items. in onCreate()
55 RssContentProvider.DEFAULT_SORT_ORDER); in onCreate()
61 new String[]{RssContentProvider.TITLE}, // Columns to retrieve. in onCreate()
133 getContentResolver().delete(RssContentProvider.CONTENT_URI.addId(itemID), null); in onOptionsItemSelected()
153 … vals.put(RssContentProvider.TITLE, data.getStringExtra(RssContentProvider.TITLE)); in onActivityResult()
154 vals.put(RssContentProvider.URL, data.getStringExtra(RssContentProvider.URL)); in onActivityResult()
155 … vals.put(RssContentProvider.CONTENT, data.getStringExtra(RssContentProvider.CONTENT)); in onActivityResult()
156 … vals.put(RssContentProvider.LAST_UPDATED, data.getIntExtra(RssContentProvider.LAST_UPDATED, 0)); in onActivityResult()
158 RssContentProvider.CONTENT_URI, in onActivityResult()
186 RssContentProvider.HAS_BEEN_READ); in getView()
DMyRssReader5.java61 mCur = managedQuery(RssContentProvider.CONTENT_URI, // Query for all items. in onCreate()
64 RssContentProvider.DEFAULT_SORT_ORDER); in onCreate()
70 new String[]{RssContentProvider.TITLE}, // Columns to retrieve. in onCreate()
89 content = mCur.getString(mCur.getColumnIndex(RssContentProvider.CONTENT)); in onItemSelected()
167 getContentResolver().delete(RssContentProvider.CONTENT_URI.addId(itemID), null); in onOptionsItemSelected()
190 … vals.put(RssContentProvider.TITLE, data.getStringExtra(RssContentProvider.TITLE)); in onActivityResult()
191 vals.put(RssContentProvider.URL, data.getStringExtra(RssContentProvider.URL)); in onActivityResult()
192 … vals.put(RssContentProvider.CONTENT, data.getStringExtra(RssContentProvider.CONTENT)); in onActivityResult()
193 … vals.put(RssContentProvider.LAST_UPDATED, data.getIntExtra(RssContentProvider.LAST_UPDATED, 0)); in onActivityResult()
195 RssContentProvider.CONTENT_URI, in onActivityResult()
[all …]
DAddRssItem.java48 res.putExtra(RssContentProvider.TITLE, title);
49 res.putExtra(RssContentProvider.URL, url);
50 res.putExtra(RssContentProvider.LAST_UPDATED, 0);
51 … res.putExtra(RssContentProvider.CONTENT, "<html><body><h2>Not updated yet.</h2></body></html>");
DRssService.java74 mCur = rslv.query(RssContentProvider.CONTENT_URI, null, null, null, null); in onCreate()
149 int urlColumnIndex = mCur.getColumnIndex(RssContentProvider.URL); in queryRssItems()
178 int lastUpdatedColumnIndex = mCur.getColumnIndex(RssContentProvider.LAST_UPDATED); in queryItem()
183 int contentColumnIndex = mCur.getColumnIndex(RssContentProvider.CONTENT); in queryItem()
184 int updatedColumnIndex = mCur.getColumnIndex(RssContentProvider.HAS_BEEN_READ); in queryItem()
DRssContentProvider.java36 public class RssContentProvider extends ContentProvider { class