Click here to Skip to main content
15,900,108 members
Home / Discussions / Android
   

Android

 
QuestionAndroid- Accessing an asset folder using file browsing dialog window Pin
NiKHiLMS6-Jul-18 23:48
NiKHiLMS6-Jul-18 23:48 
SuggestionRe: Android- Accessing an asset folder using file browsing dialog window Pin
David Crow9-Jul-18 3:40
David Crow9-Jul-18 3:40 
GeneralRe: Android- Accessing an asset folder using file browsing dialog window Pin
NiKHiLMS9-Jul-18 19:18
NiKHiLMS9-Jul-18 19:18 
SuggestionRe: Android- Accessing an asset folder using file browsing dialog window Pin
David Crow10-Jul-18 1:56
David Crow10-Jul-18 1:56 
QuestionDialog with Landscape Orientation Pin
Django_Untaken4-Jul-18 20:16
Django_Untaken4-Jul-18 20:16 
Questionput orders from android and receive from PHP Pin
AndroidVH22-Jun-18 20:13
AndroidVH22-Jun-18 20:13 
SuggestionRe: put orders from android and receive from PHP Pin
Richard MacCutchan22-Jun-18 21:27
mveRichard MacCutchan22-Jun-18 21:27 
GeneralRe: put orders from android and receive from PHP Pin
AndroidVH22-Jun-18 21:58
AndroidVH22-Jun-18 21:58 
GeneralRe: put orders from android and receive from PHP Pin
Richard MacCutchan22-Jun-18 23:14
mveRichard MacCutchan22-Jun-18 23:14 
SuggestionRe: put orders from android and receive from PHP Pin
David Crow24-Jun-18 10:36
David Crow24-Jun-18 10:36 
GeneralRe: put orders from android and receive from PHP Pin
AndroidVH24-Jun-18 18:58
AndroidVH24-Jun-18 18:58 
QuestionHow to broadcast audio 3gp format over wifi converting audio file in udp packets? Pin
Member 1114560021-Jun-18 18:36
Member 1114560021-Jun-18 18:36 
SuggestionRe: How to broadcast audio 3gp format over wifi converting audio file in udp packets? Pin
Richard MacCutchan21-Jun-18 21:03
mveRichard MacCutchan21-Jun-18 21:03 
QuestionFetching JSON data in recyclerview using retrofit and implement scroll to load or infinitescroll Pin
Arindam Mukherjee20-Jun-18 19:29
Arindam Mukherjee20-Jun-18 19:29 
QuestionCurrent Android Studio // Is it 2017 ? Pin
C-P-User-313-Jun-18 22:41
C-P-User-313-Jun-18 22:41 
AnswerRe: Current Android Studio // Is it 2017 ? Pin
Richard Deeming14-Jun-18 2:36
mveRichard Deeming14-Jun-18 2:36 
AnswerRe: Current Android Studio // Is it 2017 ? Pin
Ganza Charles20-Jun-18 22:42
Ganza Charles20-Jun-18 22:42 
GeneralRe: Current Android Studio // Is it 2017 ? Pin
C-P-User-311-Nov-18 20:46
C-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
Member 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
Member 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
David Crow11-Jun-18 2:16 
QuestionAddition,Sub,Mul & divide issue Pin
Member 1126111131-May-18 2:22
Member 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 '='

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.