android - Getting appid using package name -
i use market api in order gather information applications market.
i use following code in order app id.
public void getappinfo() { appsrequest appsrequest = appsrequest.newbuilder() .setappid("org.ajeje.locservice15") .setwithextendedinfo(true) .build(); session.append(appsrequest, new callback<appsresponse>() { @override public void onresult(responsecontext context, appsresponse response) { list<app> apps = response.getapplist(); (app app : apps) { system.out.println("title of application is:"+app.gettitle()); } } }); session.flush(); }
except "com.example.android" setappid , above code not yield response.
is there alternate method appid of application when have package name application in market?
any appreciated.
Comments
Post a Comment