First post here, so please be gentle
I'm working on a little app that cleans up a lot of the problems I saw in the stock text messaging app my Hero has. Basically I have one person I text an awful lot, and the text messaging thread I have is becoming very large (about 3500 at last count). I don't particularly want to delete them, so when viewing the thread the phone struggles quite a bit to load up the massive number of messages. So I wanted to make an app that saved incoming text messages in a better way, probably to a database, and allowed a more customisable view, only showing the 50 most recent messages say, rather than all.
Obviously this wouldn't be much use if I couldn't import all existing messages, so that is my first question. How does Android save the messages as standard? Are they retrievable or accessible?
My second issue came up when I tried to intercept and save new messages. I'm using a BroadcastReceiver, and I can intercept the incoming messages fine, displaying a Toast with the information I need when they come in. However, when I came to saving them to a database, I hit a brick wall. I've used the DBAdapter idea in the past, and hoped I could do the same again, but can't see any way to make it work using this. Is there another way that I'm not seeing?
Any help would be much appreciated
I'm working on a little app that cleans up a lot of the problems I saw in the stock text messaging app my Hero has. Basically I have one person I text an awful lot, and the text messaging thread I have is becoming very large (about 3500 at last count). I don't particularly want to delete them, so when viewing the thread the phone struggles quite a bit to load up the massive number of messages. So I wanted to make an app that saved incoming text messages in a better way, probably to a database, and allowed a more customisable view, only showing the 50 most recent messages say, rather than all.
Obviously this wouldn't be much use if I couldn't import all existing messages, so that is my first question. How does Android save the messages as standard? Are they retrievable or accessible?
My second issue came up when I tried to intercept and save new messages. I'm using a BroadcastReceiver, and I can intercept the incoming messages fine, displaying a Toast with the information I need when they come in. However, when I came to saving them to a database, I hit a brick wall. I've used the DBAdapter idea in the past, and hoped I could do the same again, but can't see any way to make it work using this. Is there another way that I'm not seeing?
Any help would be much appreciated