Split Contacts List (Optional)

A couple of people were asking me for something like SlidingMenu, but it think SlidingMenu can get a bit difficult for some people to use. What I’ve done is created something similar to Google Play’s partial fragment screen. I”m not entirely sure how other people are doing it, but I got it to work pretty... Continue Reading →

Advertisements

SQL Update

Just going to post the new changes I did because Sender/Recipient is redundant with IsIncoming. I changed it to use ExternalAddress and indexed it. private static final String DATABASE_CREATE = "CREATE TABLE Messages " + "(" + "MessageID INTEGER PRIMARY KEY AUTOINCREMENT, " + "ProviderID INTEGER NOT NULL, " + "MessageStatusID UNSIGNED INTEGER NOT NULL,... Continue Reading →

Raw SQL queries and why you should care

Almost every android application uses SQLite in the background. It’s pretty powerful if you know what you’re doing. I’m going to show you what well done SQL script does for performance. This is the old getContactList function: public List<ContactItem> getContactsList() { Cursor senderCursor = db.query(DATABASE_TABLE, new String[] { "ProviderID", "Sender", "MAX(MessageID)" }, "Sender IS NOT... Continue Reading →

Google Voice: Push limitations

I’m going to explain a couple of things about the Google Voice protocols and how push works. As far as I know, (please correct me if I’m wrong), Google has only created 4 push implementations. Google Talk message on text message/voicemail receipt Email on text message/voicemail receipt SMS on text message/voicemail receipt Android C2DM trigger on text message/voicemail receipt... Continue Reading →

Conversation UI (Sneak Peek)

Here’s a very preliminary UI design for messaging. It’s modelled (read: stolen) from the stock MMS XML. I’m going to change what the status text says since the full date is just a placeholder. The icons signify “Sent via” and “Received via”. Here I’m messaging myself. Take a look at how long it takes to... Continue Reading →

GVoice Push Notification: FINISHED

It took forever to get a working Google Voice Push Notification system. I’ve tried using the old MASF protocol, the new JSON protocol with a custom intent, trying to intercept the official Google Voice app’s intents. None of that was working. But as of a few minutes ago, it’s done. It works. It works completely independent... Continue Reading →

More Google Voice API information

So it turns out there is a THIRD api: MASF I have SMS out working on this “new” protocol. It’s actually the old mobile protocol based on MASF (Mobile Application Sensing Framework). It doesn’t use JSON. It uses Google’s custom ProtoBuf design. I was looking into this because I’ve run into a problem with notifications.... Continue Reading →

Blog at WordPress.com.

Up ↑