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
--~--~---------~--~----~------------~-------~--~----~