android - filtering the products returned by launching google play intent with market:// protocol -
i'm trying leverage google play purchase of saved songs in music player app i'm working on; far searching via https follows works:
intent searchinplay = new intent(intent.action_view); searchinplay.setdata(uri.parse("https://play.google.com/store/search? q="+productquery+"&c=music")); startactivity(searchinplay);
this brings dialog of choices user, including web browsers , google play app itself. selecting web browser navigates google play website , uri given above filters music based on input query string (which consists of song title, artist, etc.) selecting google play app leads 'no results found {query}' screen. i've tried market uri protocol detailed google here follows:
intent searchinplay = new intent(intent.action_view); searchinplay.setdata(uri.parse("market://search?q="+productquery+"&c=music")); startactivity(searchinplay);
but yields same 'no results found {query}' view. suspect &c=music category filter not being read google play app, i'm not sure.
how can search products category in google play app using market uri protocol?
Comments
Post a Comment