Click here to Skip to main content
15,905,614 members
Home / Discussions / Android
   

Android

 
AnswerRe: Need help with android studio java. my app keeps crashing due to an null error but cant figure out why? Pin
Afzaal Ahmad Zeeshan15-Jul-18 9:21
professionalAfzaal Ahmad Zeeshan15-Jul-18 9:21 
QuestionRe: Need help with android studio java. my app keeps crashing due to an null error but cant figure out why? Pin
Member 1391233215-Jul-18 11:49
Member 1391233215-Jul-18 11:49 
AnswerRe: Need help with android studio java. my app keeps crashing due to an null error but cant figure out why? Pin
Afzaal Ahmad Zeeshan15-Jul-18 12:31
professionalAfzaal Ahmad Zeeshan15-Jul-18 12:31 
GeneralRe: Need help with android studio java. my app keeps crashing due to an null error but cant figure out why? Pin
Member 1391233215-Jul-18 12:39
Member 1391233215-Jul-18 12:39 
GeneralRe: Need help with android studio java. my app keeps crashing due to an null error but cant figure out why? Pin
Member 1391233215-Jul-18 20:51
Member 1391233215-Jul-18 20:51 
QuestionLooking for somebody to write app with in Android Studio Pin
Ramona_Android9-Jul-18 4:54
Ramona_Android9-Jul-18 4:54 
AnswerRe: Looking for somebody to write app with in Android Studio Pin
Richard MacCutchan9-Jul-18 5:29
mveRichard MacCutchan9-Jul-18 5:29 
GeneralRe: Looking for somebody to write app with in Android Studio Pin
Ramona_Android9-Jul-18 5:41
Ramona_Android9-Jul-18 5:41 
AnswerRe: Looking for somebody to write app with in Android Studio Pin
Kelly Ferguson19-May-19 22:53
Kelly Ferguson19-May-19 22:53 
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 
AndroidVH wrote:
one `JSON` file in the `PHP` server to collect the orders from different customers
Unlike an ASP or PHP page, a JSON file does not "collect" anything. Based on what you've provided, unless you are doing something totally wrong, there should be no way for it to become locked. If multiple clients request the same JSON file, the web server will deliver the file to each client without issue.

AndroidVH wrote:

Any suggestion?
The whole "upload a file containing a customer number and/or order" approach seems way wrong to me.

When you make contact with a web server, a one-on-one relationship has been established. When you interact with a web page (e.g., PHP file), you are doing so with your "copy" of it. If some other client is also interacting with that same page, again it's on their own "copy" of it. The web server keeps track of all those connections (up to some upper limit).

Admittedly, I may be completely wrong on this. It borders on ecommerce which I have zero experience with. But what you are doing just seems kludgy and prone to error.

"One man's wage rise is another man's price increase." - Harold Wilson

"Fireproof doesn't mean the fire will never come. It means when the fire comes that you will be able to withstand it." - Michael Simmons

"You can easily judge the character of a man by how he treats those who can do nothing for him." - James D. Miles


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 

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.