I need more of a pointer in the right direction here...
I want my users to scan a QR code that takes them to a webpage from which they can do XYZ. I need them to simultaneously be able to connect to the internet.
I have seen QR codes which connect users to Wifi (assuming of course you know provide them with credentials), but I need them to then further redirect them to a webpage, without scanning a second code (speed is very important here).
Alternatively, is there a way to background connect to a preprovided wifi given credentials through a phone browser? It seems like there should be because you can connect to restaurants/shops wifi through a browser - but I'm not sure if that's because your phone is already trying to access that browser?
Thanks
I tried looking up how to create multiple redirect link QR codes that call 2 urls at once.
Related
I try to build my custom IoT device that will be controlled via Google Home device, and serve people with disabilities.
The device itself is Tiva C Launchpad, that I program from scratch, meaning I will have a full control on it.
In my vision, the user wil say something like: "Ok Google, press play button", and as a result, the Google Home device will send a direct command of press_play_button to the IoT device, preferably via the local network.
I found the Google Action SDK, alongside with the Local SDK extention, but if I understood correctly, I have to be in the app mode first ("OK Google, play {app_name}") before pronouncing the action I want, which is inconvenient.
Is there any way to achieve my requirement?
If not, I may give up on the local network control, and use sort of a webhook to send HTTP request to my smart device, and in that case I wonder if MQTT will be more suitable.
Thanks.
The Local SDK is an extension to the Smart Home API. If your device matches up with the device types and traits that the Smart Home API supports then you can use that to control your device.
It has support for media players so things like play/stop should be possible.
I have build generic Smart Home control using MQTT to reach the device, but you have to provide a HTTP endpoint for the Google System to interface with. This take a little thought as you have to map MQTT asynchronous approach to HTTP's synchronous nature.
In short i'm trying to build an App that will grant/block wifi access to my son's wifi for his Ipad and his PS4 remotely using an App. I researched the topic and can't figure out how this can be done. Ideally i'd like to be able to grant/block wifi access independently Ie. block wifi to the Ipad and allow PS4.
How can this be done, no need for the full code ( well if you insist i'll take it ) but just point me in the right direction.
Depending on the router you're using you're going to need to write something that interacts with the router's API, if it has one. If it doesn't, you will need to replace the firmware on your router with something like ddwrt that can be scripted. From there, you might be able to create an app that talks to the router's API.
TLDR: You're probably better off simply bookmarking the management page for the router and enabling/disabling access for the devices.
Edit:
It occurred to me that some mainstream consumer router/access point manufacturers (Linksys, Asus, etc) have companion apps for managing their devices from the LAN side. You should see if such an app exists for your router, and if not, perhaps consider getting a different router that supports such an app.
I configured my app for receiving location update in the background, and everything works fine except one thing - location not update during phone call (when used only 3G, WI-FI is off).
Can someone explain me why this happens?
Whenever you make a call and access data at the same time then you may see this type of problem, it totally depends upon on the mobile phone that you are using. To access data during calls, your phone should support dual band technology. When making a call you are already using some bandwidth. This same bandwidth is used for accessing internet by your phone if it does not support dual band channels then you will face this type of problems. Also, sometimes the network providers themselves do not allow you to make a call and access internet at the same time. Try with other mobile network or other mobile phone. For confirming whether you are getting data during the call or not, try to open some other apps like "youtube" during the call and check whether you are able to view the app. If you are able to view the app then you are doing something wrong with your location based services code. Ask another question by posting your code for fetching the location, so that We can help you.
you'll go to setting -- privacy -- location on -- your app -- set always or while using app
Apologies in advance for the general-ness of the question.
I'm writing a multiple client iOS app for viewing the video feed from a single camera. Can the QX10 api support two (or 3) iPad's discovering/viewing the same QX10 at the same time?
I've been looking QX10 sample code, the camera api docs, StackOverflow, and of course the dev website and haven't seen an answer. I'd just buy the bloody thing to test with, but there are none nearby and I was hoping to avoid having to mail order/return it if it didn't work.
....And we're not locked into HW. If there's a better option, I'm open....
I don't believe it does. For ios, the camera creates a network that the ios connects to. (In ios settings/wireless) Any further attempts to connect to the camera from another device fail. Since the API only works after a network connection is established, I don't see how the API could possibly allow 2 devices could connect at once.
(No extraneous words in this post b/c that will get edited which auto down votes the question.....ahhh internet)
I did not try it, but you could use a computer with nat. For example an openrwt router to open up multiple wifi interfaces, one to connect to the camera, using the 10.0.0.0 network the camera uses and then an other network to connect your clients with NAT.
The question would be when the API would start to get confused.
So depending on what you want, maybe some mapper on that helper-computer could
do some proxying of information.
So in theory with an external box, maybe, but as Oldmicah said, it seems that only
one device can connect at the time (at least my QX100 also behaves like that). :(
I am developing an app that requires the user to be able to request a server and get back some JSON Data. Here are my question and my reasoning behind it:
1) Would this require the user to have "Data" on their cell phone plan?
Dealing with Android, I have figured out that when I do not have "Data" on my cellphone plan, that I can not access the internet, but I am allowed to use twitter. Instagram, however does not load when I do not have "Data".
When I do have Data on my cellphone plan, I am allowed to go onto the internet, use twitter, and use Instagram.
Will my App act as twitter or Instagram in this case? and how do I make the app work without a Data plan?
If your app needs to access the Internet (which is does to reach the server) then the user must either be connected via WiFi or if connected via cellular, the user must have a data plan.
A cellular connection with no data plan will prevent your app from accessing the Internet.
You need to have some sort of connection to the Internet to be able to access the internet.
You don't need a data plan, if your device is connected over wifi (such as iPod touches) then that will allow a connection to the internet.
The apps you mention do run on a device without an internet connection because they handle the case where there is not an internet connection sensibly, and although they load, they don't crash because of a lack of connection.
If you want to do the same thing, then you need to have a way of handling this too.