Click here to Skip to main content
15,888,968 members
Home / Discussions / Android
   

Android

 
GeneralRe: Code for screen touch input in android Pin
Hitesh Goel4-May-15 8:29
Hitesh Goel4-May-15 8:29 
AnswerRe: Code for screen touch input in android Pin
Richard MacCutchan4-May-15 21:16
mveRichard MacCutchan4-May-15 21:16 
JokeRe: Code for screen touch input in android Pin
Peter_in_278030-May-15 22:29
professionalPeter_in_278030-May-15 22:29 
GeneralRe: Code for screen touch input in android Pin
Richard MacCutchan30-May-15 22:31
mveRichard MacCutchan30-May-15 22:31 
Questionhow to develop app to convert pdf to image file ? Pin
Member 1114560022-Apr-15 0:09
Member 1114560022-Apr-15 0:09 
AnswerRe: how to develop app to convert pdf to image file ? Pin
Richard MacCutchan22-Apr-15 0:58
mveRichard MacCutchan22-Apr-15 0:58 
GeneralRe: how to develop app to convert pdf to image file ? Pin
Ashley33317-May-15 4:50
Ashley33317-May-15 4:50 
QuestionCatch not working, why? Pin
Crazy Joe Devola18-Apr-15 0:49
Crazy Joe Devola18-Apr-15 0:49 
When the following code runs, an exception occurs at the setImageResource line. When I debug it, the right after that line the debugger jumps to the finally part, and then it goes into some java code in Runtimeinit.java to a method called private static class UncaughtHandler implements Thread.UncaughtExceptionHandler If I remark the finally section, then the exception is not caught by the catch part?

Why isn't the catch part working? Isn't "catch (Exception ex)" supposed to catch any type of exception?
Java
try {
    ImageView imageV = (ImageView) findViewById(R.id.imageView);

    Log.i(TAG, "before setImageResource");
    imageV.setImageResource(R.drawable.merle);
} catch (Exception ex) {
    Log.e(TAG,ex.getMessage().toString());
} finally {
    Log.i(TAG,"finally");
}

AnswerRe: Catch not working, why? Pin
Crazy Joe Devola18-Apr-15 0:57
Crazy Joe Devola18-Apr-15 0:57 
AnswerRe: Catch not working, why? Pin
Awesome Sohel29-Apr-15 22:55
Awesome Sohel29-Apr-15 22:55 
GeneralRe: Catch not working, why? Pin
Awesome Sohel29-Apr-15 22:58
Awesome Sohel29-Apr-15 22:58 
GeneralRe: Catch not working, why? Pin
Crazy Joe Devola30-Apr-15 17:47
Crazy Joe Devola30-Apr-15 17:47 
Questiondatabase chart engine Pin
Pungkas Soebarkah15-Apr-15 15:51
Pungkas Soebarkah15-Apr-15 15:51 
QuestionRe: database chart engine Pin
Richard MacCutchan15-Apr-15 21:46
mveRichard MacCutchan15-Apr-15 21:46 
QuestionRe: database chart engine Pin
David Crow16-Apr-15 10:43
David Crow16-Apr-15 10:43 
AnswerRe: database chart engine Pin
Farhan Ghumra25-May-15 2:22
professionalFarhan Ghumra25-May-15 2:22 
QuestionHow to make sender and receiver images to appear on different sides in an android messaging app(like whatsapp and other apps)? Pin
Sreja10-Apr-15 19:42
Sreja10-Apr-15 19:42 
SuggestionRe: How to make sender and receiver images to appear on different sides in an android messaging app(like whatsapp and other apps)? Pin
Richard MacCutchan10-Apr-15 22:26
mveRichard MacCutchan10-Apr-15 22:26 
AnswerRe: How to make sender and receiver images to appear on different sides in an android messaging app(like whatsapp and other apps)? Pin
David Crow12-Apr-15 16:58
David Crow12-Apr-15 16:58 
QuestionAndroid Audio player Pin
Member 106630783-Apr-15 4:24
Member 106630783-Apr-15 4:24 
AnswerRe: Android Audio player Pin
Afzaal Ahmad Zeeshan3-Apr-15 5:11
professionalAfzaal Ahmad Zeeshan3-Apr-15 5:11 
Questionhow to create a chart from a database in android eclipse .. please help me :D Pin
Pungkas Soebarkah24-Mar-15 23:22
Pungkas Soebarkah24-Mar-15 23:22 
AnswerRe: how to create a chart from a database in android eclipse .. please help me :D Pin
David Crow25-Mar-15 3:46
David Crow25-Mar-15 3:46 
QuestionWant code Pin
Afiya khanum M19-Mar-15 3:11
Afiya khanum M19-Mar-15 3:11 
AnswerRe: Want code Pin
David Crow19-Mar-15 3:43
David Crow19-Mar-15 3:43 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.