Forum Cross Platform with Xamarin

How to connect my xamarin form apps to my pc xampp?

How to connect my xamarin form apps to my pc xampp? I looking for MySQL Plugin in my nutget but i cant find in the list, anyone can share some ideas with me?

I wish to connect to my pc xampp because when I snap photo it will directly store in my computer instead of my phone gallery.

Best Answers

  • juanzeta33juanzeta33 USMember ✭✭
    Accepted Answer

    I wish to connect to my pc xampp because when I snap photo it will directly store in my computer instead of my phone gallery.

    For do that, you need to create a service in your app project, this service connect to your xampp url (not localhost, use the ip of you mache like http://xxx.xxx.xxx.xxx/pathToStore) using HttpClient. Be sure that you have permission for save files in the path that you want.

Answers

  • juanzeta33juanzeta33 USMember ✭✭
    Accepted Answer

    I wish to connect to my pc xampp because when I snap photo it will directly store in my computer instead of my phone gallery.

    For do that, you need to create a service in your app project, this service connect to your xampp url (not localhost, use the ip of you mache like http://xxx.xxx.xxx.xxx/pathToStore) using HttpClient. Be sure that you have permission for save files in the path that you want.

  • VivianTio94VivianTio94 MYMember ✭✭

    For do that, you need to create a service in your app project, this service connect to your xampp url (not localhost, use the ip of you mache like http://xxx.xxx.xxx.xxx/pathToStore) using HttpClient. Be sure that you have permission for save files in the path that you want.

    Hi may I know what kind of the service? Sorry I new to that , so can share me more about this info?

Sign In or Register to comment.