API to delete SIM contacts & Messages AND erasing the SD card contents

by Surendra Reddy T » Thu, 16 Apr 2009 20:02:42 GMT


Sponsored Links
 Hi,

Is there any API which can delete the contacts and messages on the SIM card?
And the API to format (erase all) the SD card ?

IF not, please suggest me a way to delete all on SIM and SD card. Any help
will be appriciated.
Is there anyway to access lower level (driver lever) APIs exposed in C/C++?

Regards
Surendra

--~--~---------~--~----~------------~-------~--~----~



API to delete SIM contacts & Messages AND erasing the SD card contents

by tsreddy » Mon, 20 Apr 2009 13:22:54 GMT


 Hi Android Engineers/framework Engineers, please answer my questions.
It is very important for me to finisg my application.
Your help will be higly appriciated.

Regards
Surendra

On Apr 16, 5:02pm, Surendra Reddy T <surendraredd...@gmail.com>


--~--~---------~--~----~------------~-------~--~----~


Sponsored Links


API to delete SIM contacts & Messages AND erasing the SD card contents

by brian.schimmel » Wed, 29 Apr 2009 20:17:59 GMT


 Hi Surendra,

as far as I know, access to the SIM data is restricted to applications
which are signed by the same entity that signed the system image. That
is, you either have to be Google/the Open Handset Alliance, or you
have to build a custom system image. Then users of your sofware would
have to flash their firmware with yours. If you plan to publish your
app to end-users, that's not an option, because they cannot flash
their firmware with yours.

If you application definitely needs access to the SIM, you could join
the community and provide some effort so that the SIM-API will be
opend in one of the upcoming Versions (like 1.6) of android. I got the
same advice when I asked for the same feature, but sadly I and my
company currently have no spare resources to do that.

The data on the SD-card is secured by the file system permissions, and
your app will never have the permissions to delete the files that
other apps created. For card formatting, there might be some API, but
I guess the same restrictions as for SIM access apply here. But while
accessing the SIM is a rather common need, which might show up in a
public API in future (at least I hope so, I don't have any information
on that), I guess this will never happen for SD-Card-formating.

best regards,
Brian Schimmel




--~--~---------~--~----~------------~-------~--~----~



Other Threads

1. How often does an activity run?

If we run a simple little hello world program that just puts some text
in a textview, I see the the onCreate runs, and I guess it calls
ondraw once, then it sort of returns to the os, and if we have
registered a sensor changed or an onclick listener, we can read the
sensor and call invalidate and the os will call ondraw again, and it
all is usually 'fast enough'. But my question is: Does ondraw ever get
called again? Or is this now a 'zombie process' that will just sit
there taking up memory until we kill it?

-- 

2. playing YUV files from generated by the PVplayer test

Hello,

I am trying  to visualize the out put of PVPlayer unit tests.
I ran the PVPlayer  Test Case 1. It looks that it ran successfully.
Then I tried to play/visualize  the output file generated by this test
i.e. "test_player_openplaystop_test_mp4_video.dat". My understanding
is that  the output is a YUV 420 file, however the tools I used
( YUVPlayer Deluxe and YUVTools3.0 ) cannot play it or more precisely
the output displayed is bogus (nothing to do with the input test file
test.mp4, just a bunch of distorted colors). The same happened when I
ran other tests (for instance Test 54). Any suggestion why these files
cannot be played/visualized?

Thanks,

George

-- 
unsubscribe: android-porting+unsubscr...@googlegroups.com
website: 

3. Problem with insertion into SqLite Database..

4. Beginner Question: Is it possible to put each class into it's own java file in Eclispe?

5. Access Listview from TabActivity

6. Specifying LinearLayout orientation in resource "values"

7. Iconic list View gets very slow when a service (running music) starts in the background