Communicate with KaiOS webapp

638 views
Skip to first unread message

hagen

unread,
Mar 27, 2021, 9:25:33 AM3/27/21
to comp.mobile.nokia.8110
I'm trying to read and write SMS on my PC, or connect bridge SMS to Matrix in the future. Building your own SMS app is not too hard thanks to the Mobile Messaging API [1]. However, I wonder how I best setup the connection to my PC. Can I somehow communicate over USB/adb, or is it smarter to start a webserver on my PC and let my phone connect over HTTP? Any good ideas?

perry

unread,
Apr 4, 2021, 3:21:54 PM4/4/21
to comp.mobile.nokia.8110
I use this script: 
in my cli to write/send sms from the desktop->phone->send sms
---
maybe it helps

hagen

unread,
Apr 4, 2021, 4:29:15 PM4/4/21
to comp.mobile.nokia.8110
Hi perry,
I successfully tried this before, but I wasn't happy that sent sms are not visible in the sms app and also I can't see the previous sms on my PC. So I'm trying to build a separate KaiOS app that mediates between the Mobile Messaging API, which perfectly integrates with the system's sms app, and a PC/Server. So my question aims on sending messages from inside an app
over USB or Network. I think having a local webserver and starting a Websockets connection from the app will be the best solution, since I didn't find anything considering USB.

perry

unread,
Apr 7, 2021, 11:30:15 AM4/7/21
to comp.mobile.nokia.8110
how about doing something like my sms templater app? it uses a json file as sources and then sends it with the sms api (the app is very old and I should write it again better) 

Reply all
Reply to author
Forward
0 new messages