I want to make a python program controlling my browser on my Raspberry Pi Model B+ using Raspberry Pi OS, but am running into a very basic issue. When opening web.whatsapp.com on the installed Chromium browser, the QR code used to link one's phone with the web app doesn't load.
I have not run into issues on other websites, which is why I belive it has something to do with Whatsapp Web. Research led me to other problems people have when using Whatsapp Web on their Raspberry, but nobody mentioned the QR code not even loading.
Help would be appreciated.
Related
I am trying to build a project based on IoT with flutter, android things, and raspberry pi. For that, I need to access raspberry pi GPIO pins through my flutter app.
Firstly I have installed android things os onto the raspberry pi and connect a display to it. After that, I have to build a flutter app and uploaded and it's working perfectly but now I need to control GPIO so I have googled it but found nothing except the rpi_gpio dart library which can access raspberry pi GPIO pins but apparently it is not working on flutter dependencies.
So is there a way then suggest me so that I can complete my project.
I know that this posting is a bit old, but another option might be to use the pigpio library. It has a feature that pushes the entire API out to a network connection (this feature is called "pigs").
I struggled trying to use FFI to interface with the C-based pigpio library on a Pi Zero W. Then I was reminded that Dart support for the older, less powerful devices had been dropped from Dart, so I was stuck with no graceful solution until I tried out pigs. The pigs interface completely removed the headaches associated with either FFI on Dart or JNI in Java and just made it a happy Socket interface over the network. I was doing an I2C interface to a temperature/humidity sensor. Pigs should also make a browser-based Flutter app happy as long as you deal properly with the single origin requirements.
Here's a link to pigs on pigpio
I've recently seen a Dart library for the Raspi's GPIOs. As Dart is the underlying language of Flutter, shouldn't you be able to then use the pins by importing this library?
https://pub.dev/packages/rpi_gpio
As far as I know there is no plugin for Flutter to interact with Peripheral IO. Given Flutter's nature of targeting multiplatform and Android Things being very specific, I do not think something like that will exist.
Most IoT applications have quite simple logic, so it should be reasonable easy to write the UI on Android directly (given you are not planning to release in any other platform anyway.
Your other option would be to create a Flutter plugin for GPIO and port it only to Android, but IMHO it will be harder to do than just code the UI of the app directly on Android.
There is now another FFI-based gpio on RPI Dart package called gpiod.
Its use is described in this article on running Flutter on a RPI based device.
I want to develop an app which can be used in mobile phones and desktops and laptops. The app should be compatible to all mobile phone Operating Systems(Android, iOS etc.). The app should also be connected to Raspberry Pi. So please suggest me the best free framework for this purpose.
I have a test WordPress website hosted locally by my PC. This is fine but i am now wanting to test the website on a phone and tablet (iPhone and iPad).
I have looked online for all the options and i can't get any to work (changing the httpd files and i have tried everything else) I can type my IP address of my PC with the port number added at the end and this takes me to the Xampp control panel page but i cant access my website by typing 'IPaddress/websitename'.
Can someone please give me a full step by step of what i need to do to be able to see my locally xampp WordPress website from my iPhone and iPad.
Your phone is probably not on the same network as your PC, and you might not be sharing your XAMPP website over the network. It would be possible to make your website available to your phone, but it is likely to be quite a lot of work, and might be insecure.
A better idea would be to shrink your desktop browser down to phone / tablet size, and check the layout that way. You can even throttle the internet speed, to simulate slower connections, and choose specific device models. On Chrome, this is called device mode. You will need to turn on Chrome developer tools first, which is done by clicking View -> Developer -> Developer Tools, in the Chrome toolbar. You will see a little icon there (see the link for a screenshot).
If you are going to make the site live, you should still probably check it with a real phone / tablet, but for the first steps, using 'device mode' is a good place to start.
I'm trying to view the JavaScript console output of a WebVR scene, that's being loaded in the Samsung GearVR browser. If it was in the Chrome browser I could use some form of remote debugging, but with the Samsung browser that wouldn't work.
I looked around the web, but nothing mentioned the particular Samsung Browser WebVR debugging situation.
Does anyone have any ideas or links?
I appreciate your help :)
Actually, chrome remote debugging works on Samsung Internet for GearVR. Just connect adb through wifi (GearVR USB won't work, it's charging only), open chrome://inspect in the desktop chrome and when the headset is active, the page should be visible on the list. All active webkit instances are on that list, not only Chrome. For example you can also sniff gmail app html views.
For this to work, you have to have the headset's screen active - it's hard to have it on your head while debugging so I suggest you use some paper sticky tape to cover the sensor that is between the lenses.
I wanted to get a head start on how I can control my beaglebone Black from the internet preferably I will have android app there on the other part!
I have gone through a lot of tutorials but all they do is access it using the browser and I want to access it through my Android phone's app that may be a TCP/IP app.
So wanted to know whether I should use the Webserver or not if yes which? Tornado, node.js and some headstart on how to do it step by step