natvie code try/catch statement support or not

by Jean-Baptiste Queru » Mon, 22 Dec 2008 10:44:25 GMT

Sponsored Links
 Native code development is not currently supported.


Jean-Baptiste M. "JBQ" Queru
Android Engineer, Google.


Other Threads

1. Retrieving the default email from the email client provided by Android

Hi Everyone,
I am developing an application which requires to autopopulate a
default email field.
The logical choice is to retrieve the email address from the email
client provided by android.
I searched the content providers and did not find anything about the
email client.
How is this information stored?
How can I reach it?



2. Spinner to play sound.


I am currently doing an application which will play a sound from a
selection via a spinner. I've tried many ways but I still cannot get
it to play a sound.

Here is my code for the constraints and spinner.

// List-based Constants
        public static final int HAPPY = 0;
        public static final int LAUGHTER = 1;

//code for spinner
Spinner s = (Spinner) findViewById(;
                ArrayAdapter adapter = ArrayAdapter.createFromResource
                       this, R.array.Sounds,

                Spinner.OnItemSelectedListener OnItemSelectedListerner
= new
                OnItemSelectedListener() {
                        public void onItemSelected(AdapterView parent,
View v, int idNum,
                long id) {

                                                        switch (idNum){
                                case HAPPY:
                        , R.raw.happy);
                                        case LAUGHTER:

                         public void onNothingSelected(AdapterView
arg0) {}

I know android's spinner does not respond to setOnItemClickListener.
However, when I changed it to onClick, I get confused with the code
and the application quits by itself when I run it on the emulator. Can
anyone help me? Thank you so much! (:


3. Metal replacement battery cover?

4. Build apk from command line

5. Does anyone make video recording work at Android 1.5?

6. Help on video recording

7. porting on ZOOM MDK Redux