Accessing local database from android phone using mobile tethering - laravel

I'm developing an mobile attendance application and I want to submit the data gathered from my phone to my web-based application in my laptop. Is there any way I can submit those data using only mobile tethering?

Set up a private network and set up a VPN on your phone to access that network

Related

How to communicate mobile (Xamarin) with a desktop Application (.NET)

Is it possible to send some kind of message from mobile app (developed using Xamarin.forms with C#) to a desktop application (developed using VB.net or C#)? I would like to send messages from mobile to desktop app. I was thinking on using Bluetooth or maybe WIFI protocol
Other idea that I was thinkin is making desktop application to use a rest service, then also make mobile app to use same rest server. In this way It could be possible to create some kind of bridge between these techs.
Do you have any example or any experience on this?
You can create a web API https://learn.microsoft.com/en-us/aspnet/web-api/overview/older-versions/build-restful-apis-with-aspnet-web-api then host it on your desktop/laptop. That would be the channel between your mobile app and your desktop app.

Windows Store App, VPN, RAS Api

Our windows store app allows user to manage (create or dial) VPN profiles.
For this functionality we use
RAS Api (create and dial VPN profile)
RAS Api
Wlan Api (listen to wifi networks) - will be changed to classes with Windows.Networking.Connectivity in windows8
Wlan Api
We face following troubles for Windows Store application:
RAS API functions don't work properly under windows store application template (as example RasEnumDevices return error code 5 - Access Denied).
However it works good from desktop application launched on windows 8.
Question: how we could get RAS API to work under window store applications? If that is absolutely impossible - is there any other way to create VPN connection in app developed for Windows Store?
All user's VPN profiles stored by Windows OS in "..\Microsoft\Network\Connections\Pbk\rasphone.pbk", file could be found on file system manually, but we don't have access to this file via API, either we can't access it directrly. Current workarround uses own created PBK file located in users profile folder.
Question: how we could get access to system VPN connections stored in OS.
Thanks.
Hotspot Shield VPN for Windows offers private browsing to ensure the privacy of your web session.
Check it out here: http://www.anchorfree.com/hotspot-shield-VPN-download-windows.php

Why can't I connect to a site on my local network with WP7 via Wifi?

I am working on a WP7 application that retrieves data from a web service. The web service was written by a co-worker and is hosted on a server connected to the office network. The app works just fine in the emulator. However, when I run the app on the actual phone (HTC Surround) it can't connect to the web service. If I try to open a website hosted on the same server that doesn't work either. However I can connect to other websites just fine.
One thing to note is - I don't have a SIM card in the phone, so the only available data connection is via WiFi, which connects to the office network (the same network that the service is hosted on).
I'm able to hit this website just fine from my laptop (on the wired office network), via an Android phone using WiFi, and via an Android phone using 4G.
What could be going on here? Alternatively - how can I debug this issue?
Thanks
I'd start debugging it by using Connectify.me (or something similar) to re-broadcast the wifi network you're having problems with, start Fiddler up and analyze what happens when the device's browser connects to some external site vs the site hosted on your network.

Does Windows Phone allow developer to build ad hoc connection in Application?

I just started to build an App for Windows Phone 7 and I want to know if the WP7 support the ad hoc connection for app since I want to use the ad hoc connection to do something for my app. Actually I searched the library and I don't get anything useful related to this issue.
Actually what I want to do is to connect two phones via the ad hoc network. My app initiates the ad hoc network wait for other phone running the same app to join the network and communicate
No. WP7 does not allow you to create an adhoc network through the public APIs.
If you have 2 devices on the same wireless netowrk you can create a UDP conenction between the two though.

Messenger connect desktop API for Windows Phone 7

Is there Messenger Connect API for Windows Phone 7 to use in Silverlight phone application to allow user authentication with windows live id and get a user consent to share profile data with my app? It all works great for PC desktop app or ASP.Net. I want the same experience for my users with the phone: login using windows live id and access the same data they can access on their desktop through a web site or desktop app. The backend is, obviously, multi-tenant, one database, many app users - everyone sees his own data based on his windows live id.
Nick Randolph demonstrated some interaction with the messenger api's here if you'd like to check it out.
Windows Phone 7 Beta with Windows Live Messenger Connect

Resources