how to get String by spliting url in android? -
i have google play store url "https://play.google.com/store/apps/details?id=com.apusapps.launcher&hl=en" url have store"com.example.launcher" in seperate variable , compare package name "com.example.launc" if compare have send json request .how can
try this:
string s = "https://play.google.com/store/apps/details?id=com.apusapps.launcher&hl=en"; string s2 = s.substring(s.indexof("=")+1, s.indexof("&")); toast.maketext(this,"milad: "+s2,toast.length_long).show();
Comments
Post a Comment