Click here to Skip to main content
14,638,468 members
Home » Discussions » Android
   

Android

 
GeneralRe: Current Android Studio // Is it 2017 ? Pin
C-P-User-311-Nov-18 20:46
MemberC-P-User-311-Nov-18 20:46 
Question(ANDROID) -->How can data be send from the run method of a thread in a service to a client using Handler and Messeger? Pin
Member 119110659-Jun-18 22:36
MemberMember 119110659-Jun-18 22:36 
AnswerRe: (ANDROID) -->How can data be send from the run method of a thread in a service to a client using Handler and Messeger? Pin
Richard MacCutchan10-Jun-18 4:18
mveRichard MacCutchan10-Jun-18 4:18 
GeneralRe: (ANDROID) -->How can data be send from the run method of a thread in a service to a client using Handler and Messeger? Pin
Member 1191106510-Jun-18 9:24
MemberMember 1191106510-Jun-18 9:24 
GeneralRe: (ANDROID) -->How can data be send from the run method of a thread in a service to a client using Handler and Messeger? Pin
Richard MacCutchan10-Jun-18 22:06
mveRichard MacCutchan10-Jun-18 22:06 
SuggestionRe: (ANDROID) -->How can data be send from the run method of a thread in a service to a client using Handler and Messeger? Pin
David Crow11-Jun-18 2:16
MemberDavid Crow11-Jun-18 2:16 
QuestionAddition,Sub,Mul & divide issue Pin
Member 1126111131-May-18 2:22
MemberMember 1126111131-May-18 2:22 
AnswerRe: Addition,Sub,Mul & divide issue Pin
Richard MacCutchan2-Jun-18 2:44
mveRichard MacCutchan2-Jun-18 2:44 
You are treating each part of the calculation as the complete result, rather than saving the interim value. When you click the + button you set Value1 equal to the number in the txt box. But next time you press the + button you overwrite Value1. So typing 23+56+36 actually only gives the result of 56+36, which is 92. You need to keep a running total as each operator button is pressed. So the sequence should be something like:
Set Value1 to zero
set next operator to +
DO
    if an operator button is pressed
    if it is the '=' operator
        display the result
    else
        parse the text into the number
        apply the current operation to Value1 (i.e add, subtract etc. this number to Value1)
        set the 'next' operator to the pressed button
WHILE operator is not '='

QuestionXamarin WebView please help. Pin
Member 1335044424-May-18 6:03
MemberMember 1335044424-May-18 6:03 
AnswerRe: Xamarin WebView please help. Pin
David Crow24-May-18 9:34
MemberDavid Crow24-May-18 9:34 
GeneralRe: Xamarin WebView please help. Pin
Member 1335044425-May-18 11:07
MemberMember 1335044425-May-18 11:07 
QuestionRe: Xamarin WebView please help. Pin
David Crow28-May-18 15:59
MemberDavid Crow28-May-18 15:59 
QuestionAndroid code obfuscating Pin
AndroidVH21-May-18 23:14
MemberAndroidVH21-May-18 23:14 
SuggestionRe: Android code obfuscating Pin
Jochen Arndt21-May-18 23:54
professionalJochen Arndt21-May-18 23:54 
GeneralRe: Android code obfuscating Pin
AndroidVH22-May-18 2:23
MemberAndroidVH22-May-18 2:23 
GeneralRe: Android code obfuscating Pin
Jochen Arndt22-May-18 2:53
professionalJochen Arndt22-May-18 2:53 
GeneralRe: Android code obfuscating Pin
AndroidVH22-May-18 18:18
MemberAndroidVH22-May-18 18:18 
AnswerRe: Android code obfuscating Pin
David Crow22-May-18 2:28
MemberDavid Crow22-May-18 2:28 
Questionhow to append new elements in to an array list in android? Pin
rathilesh c20-May-18 0:10
Memberrathilesh c20-May-18 0:10 
QuestionRe: how to append new elements in to an array list in android? Pin
Richard MacCutchan20-May-18 1:23
mveRichard MacCutchan20-May-18 1:23 
AnswerRe: how to append new elements in to an array list in android? Pin
rathilesh c20-May-18 2:04
Memberrathilesh c20-May-18 2:04 
GeneralRe: how to append new elements in to an array list in android? Pin
Richard MacCutchan20-May-18 2:12
mveRichard MacCutchan20-May-18 2:12 
GeneralMessage Closed Pin
11-Jun-18 12:28
MemberLucifer rick11-Jun-18 12:28 
GeneralMessage Closed Pin
11-Jun-18 12:31
MemberLucifer rick11-Jun-18 12:31 
QuestionRe: how to append new elements in to an array list in android? Pin
David Crow21-May-18 7:47
MemberDavid Crow21-May-18 7:47 

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.