The process...stopped unexpectedly. Please try again

by Faber Fedor » Mon, 02 Mar 2009 07:35:04 GMT


Sponsored Links
 On Sun, Mar 1, 2009 at 6:22 PM, Kevin J. Brooks




An exception was thrown...




Repeat



     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^


And your answer is...?

-- 

Faber Fedor
Linux New Jersey
 http://linuxnj.com 
faberfedor.blogspot.com

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



The process...stopped unexpectedly. Please try again

by Kevin J. Brooks » Mon, 02 Mar 2009 07:41:51 GMT


 In my original post I included the declaration.  That is what has me
confused.





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


Sponsored Links


The process...stopped unexpectedly. Please try again

by Faber Fedor » Mon, 02 Mar 2009 08:06:22 GMT


 On Sun, Mar 1, 2009 at 6:41 PM, Kevin J. Brooks






What happens if you change the AndroidManifest to read "Settings" instead of
".Settings"?

(And Istill think you need to preface the 'this' in the Intent with the
current class name.)


-- 

Faber Fedor
Linux New Jersey
 http://linuxnj.com 
faberfedor.blogspot.com

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



The process...stopped unexpectedly. Please try again

by Kevin J. Brooks » Mon, 02 Mar 2009 10:22:11 GMT


 I took the period out, and I also prefaced 'this' with the current class
name.  It still does the same thing.

Just a side note, this code was duplicated for the Suduko example in the
"Hello, Android" book by Ed Burnette.

I accidentally created settings.xml under another project I am working
on.  I then moved it to my current project.  That didn't create the
reference R.java, so I deleted it, then created it again from scratch.

I don't know if that will help.

Kevin





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



Other Threads

1. Open GMail Attachments with my app

Hi,

I've managed with INTENTS to open files with certain mime types from
the Download-Manager for example. Unfortunately I'm not able to open
the attachments from GMail-App with my application.

How can I achieve that?

Thanks
--~--~---------~--~----~------------~-------~--~----~

2. Image from internet won't display.

Hi all, I'm trying to get an image to display from an internet source
but nothing it coming up on my screen. After the button click which
calls the code I am presented with a blank screen. The code I'm using
is:

try {
                        URL url = new URL("http://code.google.com/android/
images/logo_android.gif");
                        URLConnection conn = url.openConnection();
                        conn.connect();
                        InputStream is = conn.getInputStream();
                        BufferedInputStream bis = new BufferedInputStream
(is);
                        Bitmap bm = BitmapFactory.decodeStream(bis);
                        bis.close();
                        is.close();

                        ImageView image = (ImageView)findViewById
(R.id.timetableImage);
                        setContentView(R.layout.timetable);
                        image.setImageBitmap(bm);

                    } catch (Exception e) {
                        // TODO Auto-generated catch block
                                        e.printStackTrace();
                        }

Can any one see what's wrong?
--~--~---------~--~----~------------~-------~--~----~

3. Removal / Recovery from Android Emulator on OS X

4. Help connecting localhost to android app

5. How to fix landscape mode when boot on device?

6. Something wrong with sync between audio and video when I integrate OMX core in 2.0

7. Freedom cuts both ways (Cupcake coming in April? Where is the SDK?)