is possible launch play store app? follwing works fine don't need search key words. want show top page. idea?
public void launchplaystore(string package) { intent intent = new intent(intent.action_view, uri.parse("market://details?id=" + package)); try { startactivity(intent); } catch (exception e) { e.printstacktrace(); } }
instead of writing method call intent with
intent intent = new intent(intent.action_view, uri.parse("https://play.google.com/store"));
Comments
Post a Comment