2
I have a project 3 years ago and I need to make it come back to life, however it is full of complications with updates, I came across an impace that Browser Bookmark Changes was removed.
Does anyone know how I can fix this?
In this method I’m using the call of Browser.BookmarkColumns
:
@Override
protected void onListItemClick(ListView l, View view, int position, long id) {
Adapter adapter = getListAdapter();
if (position >= 0 && position < adapter.getCount()) {
String packageName = ((AppInfo) adapter.getItem(position)).getPackageName();
Intent intent = new Intent();
intent.addFlags(Intent.FLAG_ACTIVITY_CLEAR_WHEN_TASK_RESET);
intent.putExtra(Browser.BookmarkColumns.URL, "market://details?id=" + packageName);
setResult(RESULT_OK, intent);
} else {
setResult(RESULT_CANCELED);
}
finish();
}
Elsewhere I also make the call of that Browser.BookmarkColumns
or of Browser.BOOKMARKS_URI
Is there any example of how I would have to change my code where I am trying to save the bookmarks with Bookmarks to do this local?
– Marcius Leandro
You will eventually need to use Sqlite. There are many examples of how to use it, just search.
– ramaral