0
So, I have a php program that created a connection to the database. Now I want to know, necessarily I need to convert this information from php to Json to use in Xamarin ? And if it’s really necessary, how can I do it? I passed the data to json with json_encode(), but I don’t know how I would integrate with my application. You can help me ?
Your question was not very clear. In Xamarin you make a request for this PHP to get some information? If yes, try at the end of your PHP function to add the following code:
exit(json_encode($variavel))
, and take this feedback on your app in Xamarin.– Mauricio Cantú
I’m having a hard time creating this "connection" between PHP and Xamarin.
– Matheus Alves
Take a look at this documentation Xamarin to learn how to consume webservices. I think it will help to solve your problem.
– Mauricio Cantú
You helped too much! Thanks a lot man!
– Matheus Alves