[Q] Android PUSH service monitoring - Android Q&A, Help & Troubleshooting

Hello i'm new to the nadorid world but this is bassically what i'm stuck with:
i know that andorid devices use a TCP conection to mobile-gtalk.l.google.com or mtalk.google.com on port 5228 this is continuos conection to recive incoming push data and if other data i do not know.
Emulators like andy do a conection to that url and por from the Oracleheadless virtual box they use to run android. Bluestacks connect to it from the exe file HD-Networking.exe.
This bring me to an interesting point bassically a client app can be created on a computer to recive incoming push from our devices too with. i tried to see what is the protocol or how to do this but i have not found any documentation on the subject the closes thing to any like that is this post that is veru old i canĀ“t post links yet but just google for faking-the-green-robot-part-1 )
i want to know if any of you guys know or have an idea of how to monitor the push channel of a phone or emulator to learn the protocol and implement it on an app or if there is a place i can look to learn that.
i want to create something similar to bluestack runnign natively for specif android app but i need to be able to recive push notifications in some way.
if only way is using a virtual box i'm open to it but also i do not know how to read the notification from it.
thanks in advance.

Related

[Q] Emulated WIFI connection - is it possible?

Hi there,
I have an interesting (in my opinion) topic for my university bachelor work (dunno how to call that correctly in english) - I wanna make an android app which should be able to command PC applications which support OSC (open sound control) messages via wifi. Like tons of apps that are already on the market, but they support only MIDI messages.
Problem is...my droid phone got stolen
So i know there is some kinda Android environment emulator in AndroidSDK, but, does it support wifi connection emulation somehow? Is the development of such thing possible in this way?

[NEEDED] LAN Messenger or CHAT Program or similar w/o Internet connection

Hello people, I am looking an app that let me send messages (like chatting) using WiFi connection in my Android Device and my PC....I mean, a LAN messenger but in OFFLINE MODE (no internet required)...
IF it is very light or simple but GOOD will be really better....
thanks in advance
BR,
CHATFAN
chatfan said:
IF it is very light or simple but GOOD will be really better....
Click to expand...
Click to collapse
You can try using netcat (command: nc) !
It should be on Android (i dunno if it's part of the stock or Busybox...)
It's also available for windows, and default in almost all *nix.
Open up a shell on both computer and android (this works from<->to any device so you can open on 2 androids or 2 pcs...). One will be the client and the other will be the server (doesnt really matter who is who)
start the SERVER first:
Code:
nc -l -p 5000
then on the other device CLIENT type
Code:
nc [I]<ip of server>[/I] 5000
then just type !
this is a very basic form of communication, it's in plain text (can be sniffed/tampered) but it's damn lightweight, effective and cross platform (though only a 2 ppl conversation is allowed, and there is no funky UI, just text based conversation).
I suggest you also do "man nc" or "nc -h" ... that's a damn useful tool born many years ago
IF
you need to connect more than 2 devices or have more control over the chat, you could use IRC as a messenger ! For windows, I could suggest setting up an ircd (one quick comes into my mind: bircd) that will act as a server, then use any irc client app to connect and chat. That's a lil more complicated but you see... there is not only one way, depends on your needs !
This is good, but there is NOT a simple command like the old "NET SEND" or something similar, or a easier server/client (a light one)...of course...always using WiFi network
thanks
What would best fit your needs ?
A notifier command-line system like NET SEND that sends alert popup on target pc or
a chat system with a gui that lets you send/recv messages in a conversation ?
And on what system should it run ? Win/OsX/nix/all ?
Other features requested ?
Some coder might take up this challange
Also i need something like this. would be very useful

[Q] can someone help me with making this app?

hi i subscribed to a site that gives premium access to many file hosting sites by setting up their dns and logging in their web page... this works flawlessly on the pc but on android well it consumes a little of ram to have many tabs open and you have to open it everytime you want to download something so the question is is there a way to make an app where you put your login data and the app automatically logs in the website everytime you connect to the internet? (wifi/3g)
if yes can someone help me making it or can someone (best option beacuse i don't know a single thing about programming ) make this app for me nad the rest of android users that would like this service on their phone? thanks in advice and sorry for my english

[Q] Unified Remote - Launch Chrome, and open specific URL

Hi guys,
I want to know how to do this, I've been fiddling with Tasker and Unified Remote but can't get it to work.
Basically, I've got an NFC tag outside my apartment, when I step in, I tag it, and that triggers a tasker profile which does a few tasks:
1) Switch off data
2) Switch on Wifi (and connect to home wifi)
3) Launch Airdroid on phone
4) Launch Chrome on PC and open Airdroid url (this doesn't work!)
5) Launch Foobar2000 on PC (this works)
6) Launch Foobar2000 android controller.
Everything works, except for launching the address in chrome. I can launch chrome just fine, but the url I've set doesn't open. How do I do this? Any ideas?
Thanks!
No one? I'm sorry to bump this, but I really wanna know, I've tired doing it myself, and I've tried Googling it.
I just wanna be able to get Unified remote to launch Google Chrome AND open a specific address on my PC. Using tasker.
Try Command Prompt
Have you tried UR's Command remote to open a URL on your PC that way?
I too need to make this work, so I'm going to dabble with the Command remote now...
Hey! I was searching for the same thing but couldn't find any easy solution. One solution I have in my mind is to integrate join and Eventghost on windows. But this will be lot more difficult than on android. I have noticed that eventghost has a steap learning curve. Do let me know if you have a better solution for the same.
Cheers!

Taking Screenshot on Android Smartphones Locally via Python (Without a second smartphone, PC, Wifi or USB Connection)

Hi All,
I am totally new in XDA forum and Android app development. So I hope I am in the right place now
I want to take screenshots of my Android smartphone screen(not only screenshot of my app but whole screen) locally in background (without a second smartphone, PC , Wifi or USB connection) in my application via Python,
but unfortunately I could not find a proper way to do it. I tried and researched following methods but none of them is the right way in my case:
Android Screen Buffer: I guess this is used for screenshot, but I could not achieve to install it. I get following error:
The conflict is caused by: ash 0.3, 0.2 and 0.1 depends on opencv-python==4.1.2.30
but this version does not support any arm base platform. So I cannot install it. Moreover it has also dependencies with ADB tool,
so it looks like wifi or serial connection required.
ADB(Android Debug Bridge Tool): It requires either USB Cable or Wifi connection. The problem is that I do not want that my app users
requires necessary the same Wifi connection(I know internet connection not required but they need to be somewhere around a modem) to be able to use my app.
LADB: This requires also USB Cable or Wifi connection
scrcpy: It has also ADB dependencies. I get no devices/emulators found if I do not start any server from a PC.
Note: is it possible to do it via an other programming language and if it is so, then which language and library would you recommend? I found some examples via Java but all of them were capturing the window within the application not whole smartphone screen, I want to implement an app which works as a service in background.
Thanks a lot in advance.
Environment: Android 11
Prog Language: Python 3.7
Smartphone:Samsung Galaxy A8
Do a related Google search. You'll get dozens of findings.
An example:
Android: The Perfect And Easy Way to Make Screen Recorder
How to Make Screen Recorder in Android Studio
codingwithsaud.medium.com
xXx yYy said:
Do a related Google search. You'll get dozens of findings.
An example:
Android: The Perfect And Easy Way to Make Screen Recorder
How to Make Screen Recorder in Android Studio
codingwithsaud.medium.com
Click to expand...
Click to collapse
Hi, thanks a lot for your fast response. Actually a second language was the worst case for me. My app is already implemented in a cross platform via Python for MacOS and Windows, so unfortunately it will be really painful to implement everything via Java again. Moreover I just want to take screenshot instead of screen recording. But if none can give me a better solution, maybe i can try to integrate your java app into my python code(maybe intentservice), so my code can start/stop the screen cap code and the rest of implementation i can keep in python

Categories

Resources