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

Popular posts from this blog

javascript - How to get current YouTube IDs via iMacros? -

c# - Maintaining a program folder in program files out of date? -

emulation - Android map show my location didn't work -