On Wed, May 11, 2011 at 6:45 AM, wilkas <[email protected]> wrote: > catch (ClassNotFoundException e) { > Log.d(myTag, "Shoudnt get here"); > } > I'm trying to launch Opera MiniBrowser, but I get exception message "Shoudnt > get here". > > What am I doing wrong? >
Given that you get the message "Shoudnt get here", which is in the catch for ClassNotFoundExeption, my guess would be that some class is not being found. The exception object should have more information for you. In a broader sense, what you're doing wrong is trying to explicitly launch another application. Specially for something as generic as a Browser, you should be using a generic intent and letting the user pick the one they want to use to view the content. ------------------------------------------------------------------------------------------------- TreKing <http://sites.google.com/site/rezmobileapps/treking> - Chicago transit tracking app for Android-powered devices -- You received this message because you are subscribed to the Google Groups "Android Discuss" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/android-discuss?hl=en.
