Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Closed 9 years ago.
Improve this question
I'm running Apache/MySQL/PHP and I want to view my localhost on my android tablet. I've read in here that if the tablet is also in the same WiFi network that the server on my laptop, I could find out what the ip address of my laptop is with the ipconfig command and make it work...
So the IP is
192.168.0.199
I went to my tablet, entered the IP and nothing. Kept researching in here and found out what the problem was: My windows firewall!!!
If I disable the windows firewall, I can access my localhost from my tablet. Obviously, i don't want to disable my firewall, so the question is how do I allow my windows firewall to give access to my android tablet?
I figure that I need to add an exception, but i have no idea what the parameters are.
Help!
you can allow your device to access your localhost without disabling the firewall by following the steps:
1- get know your mobile IP address, it differs how to get it from android device to device, In my device, I can have it by going through settings -> WIFI -> advanced then search for my mobile IP address.
2- follow the right answer of the is question to make your firewall allow access of specific IP address.
but as #Alexei said.. you should know the port you want to access otherwise you will end up accessing nothing.
hope this is useful for you
Related
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Closed 2 years ago.
Improve this question
How would I find a device on the local network? I'm building an IoT device that needs to find another device connected to the same network.
There will be two ESP8266 modules that need to communicate with each other on the local network, how would I achive this?
Using mDNS doesn't work router just gives it a generic name.
I was thinking about storing the local IP in a database on my server but that seems very cumbersome and wouldn't work if it failed to establish a connection.
The devices will be using the ESP8266 and interfaced with an Android application.
Open your router admin page.
In the DHCP section give the two ESP8266 static IP addresses.
Remember the IP addresses and use them in your code.
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Closed 8 years ago.
Improve this question
I am developing an application which need to use both networks at the same time - via WiFi the app has connection with some external device, and control it, using of 3G network needs to download a firmware for device. But the problem is when you connect to WiFi the system automatically do the disconnect of 3G network. It seems that WiFi has high priority than 3G network, but I need to use them at the same time, it's wrong behavior of the system for me in this case
I saw a couple similar questions, but they have no solution. Is really android has no way for developers to control both networks even for versions higher than 4.03?
How we can solve the problem?
Do it in a linear fashion. Turn off the wifi and download the firmware. Subsequently re-connect to the device (re-enable the wifi) and transfer the locally stored firmware.
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Closed 9 years ago.
Improve this question
after I rooted a Nexus 10 the app I have written which connects to an Arduino in USB Host mode no longer works properly. I'm pretty sure this is because the USB Host mode is no longer available.
I have checked the original unrooted device with Chainfire's 'USB Host Diagnostics' tool and it recognises the plugged in Arduino whilst scanning for connected devices, but nothing is detected after rooting.
Originally the device had Android 4.3 - build JWR66Y, and USB Host mode worked.
I rooted via the Nexus Root Toolkit and installed a rooted image of the same build, now the device isn't detected.
Any ideas what could be causing this?
Thanks
This is not a question of your app not working. I have seen it plenty of times that when someone roots a device the USB host no longer works. Its a problem with the ROM or method that was used to root the device. Best bet is to reset the device and try something else.
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Closed 5 years ago.
Improve this question
I wonder how Android determines when you connect to an open network whether you need to authenticate in your browser or not for the internet connection to be established.
Does it just check if it can reach the WAN by pinging some server or does it query the default gateway address and checks the reply for some kind of information that hints authentication?
I'm curious how this works but I haven't been able to find an answer. Your thoughts?
Android OS is just another Linux distro, hence it works like in any Linux. The rules for connecting to a wireless are independent from the OS, and regulated by the international standard IEEE_802.11. You will find tons of info, just Google it. The connection to a wireless network is done by a special deamon in Linux, called of course usually "network manager". The connection process is too complex to explain here, but you can find everywhere on Google or Wikipedia.
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Closed 5 years ago.
Improve this question
I use HTC Explorer and I have created an ad-hoc network on my laptop. Although other laptops are easily able to connect to it, my mobile device is not even detecting the Wi-Fi.
How can I connect my mobile to the Wi-Fi hotspot on my laptop (running Windows 7)?
There is an alternative solution involving "Microsoft Virtual WiFi Miniport Adapter":
netsh wlan set hostednetwork mode=allow ssid=NAME key=PASSWORD
netsh wlan stop hostednetwork
netsh wlan start hostednetwork
For additional details and troubleshooting see this post on XDA-developers:
http://forum.xda-developers.com/galaxy-s2/general/guide-alternate-to-ad-hoc-wi-fi-network-t1924911
Ad Hoc networks are not supported natively by Android devices, unless you get your device rooted and make some tricks in the underlying linux system.
There are a lot of pages talking about that:
http://dev.gadgeticworld.com/how-to-connect-android-devices-to-adhoc-network/
http://www.pcadvisor.co.uk/how-to/google-android/3372947/connect-android-phone-ad-hoc-network/
http://code.google.com/p/adhoc-on-android/
You can try this at your risk:
http://www.arenddeboer.com/wifi-ad-hoc-enabler-for-android