v0.3.0: bubble for Android 0.3.0 — texts over the Rabbit's own SIM card
A third source next to voip.ms and Google Voice, while bubble is Android's default SMS app (Settings → SIM card asks for the role). SMS and MMS in and out, group chats as MMS, the phone's existing texts imported, and Android's message store kept as the record so another app still agrees. - Sim: role check, sending (SmsManager, waits for the radio), receiving, chunked import from content://sms and content://mms - Pdu: MMS wire format (notification-ind, retrieve-conf, send-req, ack) - SmsReceiver, MmsReceiver, MmsDownloaded, MmsFiles, RespondService, SendToActivity: what Android requires of a default SMS app - The import no longer shares a lock with Config.get, which froze the screens on the first copy of a long history
This commit is contained in:
@@ -74,5 +74,18 @@ Install/Sync buttons then target the dev app with the sandbox's made-up data.
|
||||
marks unread or read (magenta band).
|
||||
- Opening a chat shows its newest 60 messages first, then the full history;
|
||||
marking it read (and telling Google Voice) waits until it's on screen.
|
||||
- SIM card (`Sim`, `Pdu`): the third source, while bubble is Android's default
|
||||
texting app (Settings → SIM card asks for that). Chats are did `sim` ("via
|
||||
SIM"). Android's shared message store (`content://sms`, `content://mms`) stays
|
||||
the record, as a default SMS app must keep it: `SmsReceiver`/`MmsReceiver`
|
||||
write incoming messages there and sends are written there too, then `Sim.sync`
|
||||
copies whatever is new into `Store` (ids `2^51 + _id` for SMS, `2^51 + 2^49 +
|
||||
_id` for MMS). The phone's existing texts come over the first time, and an
|
||||
Install to Rabbit that replaces messages.db just copies them in again. MMS
|
||||
photos are read from the store when first shown (`mmspart:` refs). `Pdu`
|
||||
reads/writes the MMS wire format (no libraries); `SmsManager` does the carrier
|
||||
side, through `MmsFiles`. Long texts go as multipart SMS; photos, voice notes
|
||||
and group chats as MMS (needs mobile data on). The dev app's sandbox never
|
||||
uses the SIM.
|
||||
- The scroll wheel is left alone: it stays the volume control (and volume
|
||||
down + the side button still takes a screenshot).
|
||||
|
||||
Reference in New Issue
Block a user