Open T-vK opened 4 years ago
+1, anbox project is very promising, and this https://github.com/fython-tools/DocUIProxy-Android albeit abandoned might be useful
Hi guys, before doing anything with the app (only thing would be extracting the qr code), the "fake" whatsapp instance has to be set up. I think this is out of scope of the application. If something like this does exist and has a proper api, we can look into extracting the qr code to that api. Best, Leo
@92lleo did you hear of this? soon whatsapp web should allow user to use whatsapp without a phone being connected to the internet so maybe we are moving towards the solution to this ticket? :)
https://wabetainfo.com/whatsapp-messenger-beta-for-ios-2-21-60-11-whats-new/
Just stumbled upon this project, and saw this issue.
If anyone is interessted, this might serve as a good starting point for running whatsapp "off" your phone.
https://docs.mau.fi/bridges/go/whatsapp/android-vm-setup.html
Just stumbled upon this project, and saw this issue.
If anyone is interessted, this might serve as a good starting point for running whatsapp "off" your phone.
https://docs.mau.fi/bridges/go/whatsapp/android-vm-setup.html
I did it thanks to your suggestion. I am so happy right now! :)
The instructions in the link are a bit out of date.
Here how you can have WhatsApp on your PC:
android-studio/bin/studio.sh
~/Android/Sdk/emulator/emulator -list-avds
~/Android/Sdk/emulator/emulator -no-boot-anim -avd MYID
~/Android/Sdk/emulator/emulator -no-boot-anim -camera-back webcam0 -avd VIRTUAL_PHONE_ID
if it doesn't open, try to run:
rm /home/raffaele/.android/avd/VIRTUAL_PHONE_ID.avd/*.lock
and try again. Now just have the WhatsApp on your virtual phone scan the QR code on your real phone. Done!
To run the virtual phone in headless mode, I have tried with:
~/Android/Sdk/emulator/emulator -no-boot-anim -no-audio -no-window -avd VIRTUAL_PHONE_ID
as suggested in the link, but it crashes :( I have opened a bug report to Google.
I've been able to run Android including WhatsApp using Docker in the past which is headless by default. I don't know which Docker image I used though and it's been at least 2 years.
I realize this is not a trivial feature request, but it would be cool if you could use this app without having whatsapp installed on any phone. For example by having whatsapp run inside of an emulator on a server. Then we'd just have to send the QR code to that server and pass it to whatsapp through a fake camera interface. Monkeyrunner could help opening the menu in Whatsapp.