this is in reference to the link https://code.google.com/p/android/issues/detail?can=2&start=0&num=100&q=&colspec=ID%20Type%20Status%20Owner%20Summary%20Stars&groupby=&sort=&id=40003
the topic is about UPnP SSDP over WI-FI direct .
I have a Galaxy note and Galaxy s3 , i have a simple Server/Client application. galaxy s3 is server , which i am trying to connect using Galaxy note (client) over WI_FI direct .
the server will be detected using UPnP SSDP discovery . When i see the pcap logs , there is notify from client to server but there is no M Search happening . I not am sure whether this is the right behaviour .
Is this a known problem ?
Related
I have created a Flutter app with Laravel/MySQL as the backend side.
I've got my api's using the localhost:port .
Everything works fine , using Xampp.
Now , as you may have noticed this my first time trying to deploy my work , how can I deploy my server side(Laravel,MySQL) to any paid service ?
Then, how can I change the api from localhost to an actual address valid everywhere using the app that will be deployed to Google Playstore .
you can use any hosting service like heroku, hostinger, aws basically you can use any and also with that hosting you will get an ip for that hosting and that ip will work every instead of local host.
Yes that ip will also work in google play store app.
Especially if you lack any experience deploying, consider using Laravel Forge https://forge.laravel.com. It is made for Laravel and will massively simplify the deployment and take a lot of configuration needs of your back.
Im pretty new to React Native and im trying to make an application.
I have a JSON post request that works on Postman and on Expo when i run it on web browser (with http://127.0.0.1:8080). But when i try to run it on an attached Android device my app doesn't actually fetch the data.
As far as i can tell there is some problem with the connection between my phone and my computer. But i can't seem to find it.
Extra info:
- both devices are connected to my internet
- calls to the firebase API work just fine
- changing the "http://localhost:8080/route" with my computers IPv4 address or 10.0.2.2:8080 doesnt work
First try this
- For android: run the following command in terminal and try again
adb reverse tcp:8081 tcp:8081
If it doesn't work try this
Shake device(android)
Select dev settings and click "Debug server host & port for device"
Under debugging type local ip address and port number. (Ex: http://127.0.0.1:8080)
I'm working on a certain project that uses RasberryPi debian 7 google chrome to open get some work done, the thing is, the server (I made it with django) asks the rasberry pi about its location.
RasberryPi's google chrome gets the location from the wifi IP location service.
How can I change it to get the location from a GPS module I connected to RasberryPi USB port?
I configured the GPS module and it's ready the location well and everythin works fine, now I only need to force chrome to get its location from that GPS module.
I do not have RasberryPi but this way works in Android: Start a native GPS app alongside Chrome, and Chrome will use the GPS positions that have already been produced for the native app.
i want to connect my android mobile with raspberry pi so that i can send some data from pi to mobile through UDP sockets and vice versa. This is because i want to use android screen as remote control , some rPI data display and live video view of pi camera output from android web browser. i am interested to use wifi connection but without using any access point/wireless router in between i.e i want to create a peer to peer wifi adhoc network. in home with access network this will work , but its not possible to have wireless network or carry wireless router where ever the pi go.
for prototyping purpose i tried creating Adhoc wifi network in windows vista but my mobile didnt detect the wifi possibly because the frequency of the wifi network cant be recognised by android. i tried wifi direct feature of my galaxy Note2 (android jelly bean) but i seems to work with only samsung specific phones. it didnt work with nexus 4 neither with windows vista.
so i am quite sure that none of the above technique will work with raspbian OS.
any idea how to achieve my requirements. if connecting raspberry pi with android by USB to microUSB cable will solve the purpose , please let me know how.
Thanks
agoswami
as of now i have used USB/Wifi tethering method which has worked for me.i first tried with USB tethering , it was assigning some IP to Rpi. i changed the /etc/network/interfaces file so that this IP remain static. i used android Ip address as gateway and was able to ping them and even i was able to SSH from connectBot app.
i think the same approah will work for wifi also. i will give it a try later.
this discussion can be closed now :) my issue was resolved.
I am trying to create a windows phone 8 application but the emulator does not show me the map. all I get is this.
as you can see no land mass is show and no roads are shown. I have panned around and come across nothing and the emulator location is set to an area where land should show.
If I run it on my device it works fine and the map loads.
Could this be due to a port blocking issue or something silly like that.
Cheers
Mark
The approved answer might not be 100% correct. Check out the following blog post, and you will notice, that your emulator probably doesn't have an access to the internet.
http://michalstawarz.pl/2013/01/26/windows-phone-8-emulator-maps-display/
Windows Phone emulator supports Bing Map for sure.
It seems the Problem may be due to
Network Connectivity Issues with Host PC
Proxy Issues
Other Issues
Workaround for the above Issues.
If you see blank blue map screen as in http://michalstawarz.pl/2013/01/26/windows-phone-8-emulator-maps-display/ as Michael referred.
Then its good to go. Problem is Internet connectivity / proxy not configured.
If its is Network Connectivity, then troubleshoot your system network adapter. Problem may be due to limited network connectivity / PC not connected to internet.
If it is proxy then,
Get IP Address of "Internal Ethernet Port Windows Phone Emulator
Internal Switch" using IPCONFIG in CMD prompt
Then Enter it under Exception List in IE's LAN Settings >> Advanced >> Exception
Other Issues may be due to Not Configured / improper IP configuration when adapter's IP setting changed manually.
If it is the case -- then Remove all virtual adapters using Virtual Switch Manager Menu in Hyper-V Manager and RUN Emulator with ADMIN Privileges.
Maps are not supported on the Windows Phone 8 emulator.
Maps are now supported, and the original question is no longer valid.
If the answers from Micheal and Prakash doesn't solve your problem.Then try this-
Open regedit in the C:\Windows folder.
In Registry Editor open
for 64 bit Windows-
HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Microsoft\InternetExplorer\MAIN
\FeatureControl\FEATURE_BROWSER_EMULATION and then create XDETools.exe with hex value 2328.
for 64 bit Windows-
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\InternetExplorer\MAIN
\FeatureControl\FEATURE_BROWSER_EMULATION and then create XDETools.exe with hex value 2328.
Source-http://igrali.com/2012/07/30/windows-phone-location-tool-in-emulator-down-no-problem/