I want to create android app using backend has wamp server - android-studio

I want to create android application in android studio.
backend database i wamp server which is stored in a computer.
And the computer and my android devices are connect via wifi router.
How to i access the wamp server from my computer to android device please
provide me a full solution to do this.
And I using windows 7 in computer my android device is dell venue 7 tablet and then i using wamp server 2.5 and anroid studio. finally my router is d-link.
my computer connected with router usign lan cable and my android device connect with router using wifi.
main thing is i want to use this app without internet.
Is it possible?

You donot need internet to connect to the server in your pc. You can do it as follows:-
Connect your device to the computer with a usb cable
Use "10.10.0.2:portnumber/test.php" in your application which points to the server in your computer. test.php is your server code to access the database.

Related

Connecting to and syncing with localhost from android device not working

I am using the Azure Mobile App quickstart ToDoList example to get started with cross platform app. I have set up the back-end and it is working on localhost - I can hit it using Swagger and gets posts etc are working.
I then set up the client application (Xamarin.Forms). I am running the client application on my Android device and all works great when back-end is in Azure, including the offline sync element. The problem is that I have to work locally for now but I cannot sync with the db when running on localhost.
At first the debugger was giving me a "connection refused" error, so I followed the steps here and in various other sources including using my laptop IP and setting firewall rule, adding binding to port in IIS Manager and applicationhost.config, and changing ApplicationURL in Constants.cs.
Now, I get no connection refused error, but the data is not getting to the db, athough the localdb on the tablet seems to be working - it is failing when I try to sync to/from db.
Not too familiar with networking but it may be important to note that when I use localhost:portnum/tables/todoitem in browser I get results in XML but when I use 192.168.0.10:portnum/tables/todoitem I get "Bad Request - Invalid Hostname".
By default, your Mobile App .NET server backend application will run in IIS Express. This is problematic when debugging with a client application running in another device on your network, or in a virtual machine in Hyper-V (such as Windows Phone Emulator). IIS Express will host your server application under localhost, which makes the application unreachable to other devices or virtual machines. Your client application running on Windows Phone Emulator has a different meaning for localhost. The same is true for the Visual Studio Emulator (which runs in Hyper-V) and the Google Emulator.
It is simpler to configure your machine to host your Mobile App .NET server backend application on IIS, as this allows you to control the binding of the server application to an IP address, rather than localhost.
For information on this, see: https://github.com/Azure/azure-mobile-apps-net-server/wiki/Local-development-and-debugging-the-Mobile-App-.NET-server-backend

Enable internet in Tizen wearable emulator

How do I configure my Tizen wearble SDK emulator to use my system's internet connection. This artcle explains Connecting emulator to a network. But I was not sure what port to use in place of "HOST_PORT" and "GUEST_PORT". Kindly help me on this. I am using Windows 7 OS.
When you try to connect from emulator to outside, you don't need any network configuration. The Connecting emulator to a network explains how to connect from outside to emulator.

Browse local dev site from an iPhone

I want to use a physical iPhone to test a web site I am developing without having to deploy to a public URL.
My development machine is a MacBook Air and I have it tethered to the iPhone 5S via USB. The two are unable to pair via Bluetooth (Error: "device not compatible") which I think means I cannot use Internet Sharing to access mycomputername.local from the iPhone. The Air is running Yosemite and the web server is Node.js which serves the site locally on the Air on port 3000.
Let your macbook and your iphone connect to the same LAN, then your iphone can access your macbook by its IP directly. (remember to start node server first).

WinCE device and VS2008 connectivity for debugging and deploying

I have WinCE device and visual studio 2008 project. I want to deploy and debug the project without active sync (I am using Win7 as my developemnt machine). I have established the connection between my device and developemnt machine using network cable. When I ran Conmanclient2.exe and CMAccept.exe from windows directory of my device I still got the error when I perform Test Connection from VS2008 that
Active sync bootstrapper failed. Please connect real device...
I have set my device IP - 10.0.0.1
My dev machine IP - 10.0.0.2
I think you have to configure the device to not use Active Sync as described here.
Windows mobile 6 classic emulator selection does not fail

Remote desktop FROM a WinCE 6.0 TO big Windows

I have a Windows Embedded CE 6.0 Device that I want to use to remote IN to a big Windows client. Is there any tool/app/utility that would basically make the CE device a Remote server and connect to a big windows client?
Thanks
Rishi
Sure, contact the OEM and have the RDP client included as part of the OS image.

Resources