I have a project of 3 years ago and I need to make it come back to life, but it is full of complications with updates, I came across an impace that Browser Bookmark Changes was removed.
Does anyone know how I can resolve this?
In this method I'm using the Browser.BookmarkColumns
call:
@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();
}
In other places I also call this Browser.BookmarkColumns
or Browser.BOOKMARKS_URI