Android Question How to get strings from my web site?

DonManfred

Expert
Licensed User
Longtime User
PHP:
<?php
echo "ID,email,gender";
?>
 
Upvote 0

Douglas Farias

Expert
Licensed User
Longtime User
yes i make this in the php page but how get this values in my app ?
example

dim gender as string

function open site and if site have string gender
return to app gender = 101010
else
make nothing
 
Upvote 0

Douglas Farias

Expert
Licensed User
Longtime User
i m using this

B4X:
Sub google_Click
 
  'job1.Download2("https://accounts.google.com/o/oauth2/auth?response_type=code&redirect_uri=http%3A%2F%2Fwww.likeapps.net%2Fgoogle&client_id=1027389441775-erqhdb52b29eijrrgrnpuenqgp90jvj8.apps.googleusercontent.com&scope=https%3A%2F%2Fwww.googleapis.com%2Fauth%2Fuserinfo.profile+https%3A%2F%2Fwww.googleapis.com%2Fauth%2Fuserinfo.email&access_type=offline&approval_prompt=force", _
'  Array As String("", "$user"))
    'Msgbox("Aqui vai ser o login com Google+", "Click Fight")
    WebView1.LoadUrl("https://accounts.google.com/o/oauth2/auth?response_type=code&redirect_uri=http%3A%2F%2Fwww.likeapps.net%2Fgoogle&client_id=1027389441775-erqhdb52b29eijrrgrnpuenqgp90jvj8.apps.googleusercontent.com&scope=https%3A%2F%2Fwww.googleapis.com%2Fauth%2Fuserinfo.profile+https%3A%2F%2Fwww.googleapis.com%2Fauth%2Fuserinfo.email&access_type=online&approval_prompt=auto")
    WebView1.Visible = True
   
  job1.Download("https://accounts.google.com/o/oauth2/auth?response_type=code&redirect_uri=http%3A%2F%2Fwww.likeapps.net%2Fgoogle&client_id=1027389441775-erqhdb52b29eijrrgrnpuenqgp90jvj8.apps.googleusercontent.com&scope=https%3A%2F%2Fwww.googleapis.com%2Fauth%2Fuserinfo.profile+https%3A%2F%2Fwww.googleapis.com%2Fauth%2Fuserinfo.email&access_type=online&approval_prompt=auto")
End Sub


Sub JobDone (Job As HttpJob)
  Log(Job)
End Sub



but dont return the values in php
 
Upvote 0
Top