Click here to Skip to main content
14,669,198 members
Home » Discussions » Android
   

Android

 
AnswerMessage Closed Pin
26-Jul-18 21:13
Membernazneen shaikh26-Jul-18 21:13 
AnswerRe: Looking for somebody to write app with in Android Studio Pin
Kelly Ferguson19-May-19 22:53
MemberKelly Ferguson19-May-19 22:53 
QuestionAndroid- Accessing an asset folder using file browsing dialog window Pin
NiKHiLMS6-Jul-18 23:48
MemberNiKHiLMS6-Jul-18 23:48 
SuggestionRe: Android- Accessing an asset folder using file browsing dialog window Pin
David Crow9-Jul-18 3:40
MemberDavid Crow9-Jul-18 3:40 
GeneralRe: Android- Accessing an asset folder using file browsing dialog window Pin
NiKHiLMS9-Jul-18 19:18
MemberNiKHiLMS9-Jul-18 19:18 
SuggestionRe: Android- Accessing an asset folder using file browsing dialog window Pin
David Crow10-Jul-18 1:56
MemberDavid Crow10-Jul-18 1:56 
QuestionDialog with Landscape Orientation Pin
Django_Untaken4-Jul-18 20:16
MemberDjango_Untaken4-Jul-18 20:16 
Questionput orders from android and receive from PHP Pin
AndroidVH22-Jun-18 20:13
MemberAndroidVH22-Jun-18 20:13 
I have an Android application where customers can purchase and put orders
Every customer can put order and I just have one `JSON` file in the `PHP` server to collect the orders from different customers
The problem is if one customer puts his/her order, the `JSON` file shall be locked in order to prevent collision and if it is locked, how can another customer put order at the exact same time?

To solve this issue, and for test, I decided to have a folder in the server where every customer (who is going to put an order) can put his unique ID there (uploading a text file with the name of the customer's ID) and I just read that folder to see who has put any order and then I delete the file which was uploaded by the customer indicating he/she has just put an order to be ready from another order from that customer
(every customer creates a folder with his/her unique ID name to put detailed list of his/her orders and this is handled by PHP code)

It works fine but does not seem to be a true manner from performance point of view

Any suggestion?
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
MemberAndroidVH22-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
MemberDavid Crow24-Jun-18 10:36 
GeneralRe: put orders from android and receive from PHP Pin
AndroidVH24-Jun-18 18:58
MemberAndroidVH24-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
MemberMember 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
MemberArindam Mukherjee20-Jun-18 19:29 
QuestionCurrent Android Studio // Is it 2017 ? Pin
C-P-User-313-Jun-18 22:41
MemberC-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
MemberGanza Charles20-Jun-18 22:42 
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 

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.