Access sim card via code in Android

by ilana » Tue, 09 Feb 2010 01:41:54 GMT

Sponsored Links
 Hi All

I am quite new to Android.
I develope telephony tests that checks SIM functionality
Can somebody provide code examples of how we can access sim card via
What Android APIs can I use to read contacks to write sim etc.
I have an access to internal apis (that are not a part of Android)



Other Threads

1. ListView and Touch mode

Hello all,

I have a question about ListView behaviour when user is in the touch

I have an application which has a list of items (stored in the
database, thus I use SimpleCursorAdapter), and user can add new, edit
and delete existing items to/from the list.

I want to implement following behaviour:
- when the user adds an item and returns (from the form screen) to the
list screen newly created item should be selected in the list;
- when the user edits an item and returns to the list, the item that
was edited should be selected in the list;
- when the user deletes an item, the next list item should be
displayed (or last but one when the last item is deleted).

So after the operation is performed I'm trying to set proper selection
in the list to make the item that has been added or edited visible
(and selected). Things works pretty good when I do this with buttons
(emulator+keyboard, or do all operations with trackball on my G1), but
when I do all operations touching the screen I can not make last added/
edited item selected.

I know that selection is not applicable in the touch mode, but I want
to have this item at least visible (and when user moves track ball
next time, this item will be selected). Is there any way to do that?

I investigated Contacts application (on my G1, and friend's Hero) -
they don't do that (in both touch and non-touch modes). If I see
contacts from A to C on the screen and add a new contact that starts
on M, then after returning to the list I still see contacts from A to
C, but not the contact I've just added. Not much intuitive, eh?


2. Strange behavior using alignParentBottom in a Relative Layout for a ListView item

Does someone has a solution for this issue?




3. How can I listen for WebView page load completed event for consecutive URL load

4. Filter Label Gmail

5. Problem while sending unicode character via SMS

6. How can the vold detect the SD card insert/remove?

7. How to replace JPEG codec with our own hw codec?