Yes, I think that the best strategy is to copy the SMS to the phone memory and delete the message from the SIM (in order to avoid that the SIM becomes full and the phone goes crazy :) ).
Or better, if it could be done, check if the SIM is full or not: copy the sms and leave a copy on the SIM if there's available space on SIM card and, on the contrary, if the SIM is full (or almost full) move the sms to the phone and delete it from the SIM. I guess that this could be a good solution, but i'm not sure about. ----- Original Message ----- From: "Michael Trimarchi" To: "Android on Freerunner Development" Subject: Re: [android-freerunner] Store SMS messages Date: Wed, 25 Feb 2009 10:37:06 +0100 Hi, Giorgio M. wrote: > Hi, > > i've a question about the storage of sms messages within the v14 > jffs2 of Michael Tremarchi. > > When I receive a message, where is it stored? is it stored into > SIM card or phone/sdcard memory? for now it works like that. If the phone is not in the suspend state, it have time to move to the TE, but if the phone it is in sustend state I copy from ME and show. So I don't have a complete support of message on the sim card. Basically I don't know, what is the correct strategy. I don't remove from the sim. Basically I copy to the TE and send a new message notification. I see look at the code that exist and NEW_SMS_ON_SIM message but I don't understand how it read the message from memory. Because It has a command for write and delete, maybe I can delete the message from the memory when I copy to the phone? Michael _______________________________________________ android-freerunner mailing list [email protected] http://android.koolu.org/listinfo.cgi/android-freerunner-koolu.org -- Be Yourself @ mail.com! Choose From 200+ Email Addresses Get a Free Account at www.mail.com
_______________________________________________ android-freerunner mailing list [email protected] http://android.koolu.org/listinfo.cgi/android-freerunner-koolu.org
