Solved

What is the easiest way to pass an array from a server to a mobile device?

Posted on 2016-12-28
4
86 Views
Last Modified: 2016-12-29
I would like to pass an array of text information from my server to a smart phone that requests it. For example, the phone says "Send me all the information you have about product xyz." What is the simplest way to do this? The information will be pulled from the server database. I imagine some PHP on the server collecting the requested information into an array and then dropping the array down some "channel" to the mobile device. I'm just not sure what that "channel" should look like.

Thanks for any ideas.
0
Comment
Question by:steva
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
  • 2
4 Comments
 
LVL 30

Accepted Solution

by:
Shaun Vermaak earned 500 total points
ID: 41941173
I would use a Web Service on Server that responds to requests from clients with JSON data object containing the product information
0
 

Author Comment

by:steva
ID: 41941763
Ok.  After digging a bit more it looks like IOS and Android support jQuery Mobile, and with that they could issue a jQuery.getJSON() to my server URL, specifying the product they wanted information about, and I could respond by gathering the data from the database and returning it.

Does that sound reasonable?
0
 
LVL 30

Expert Comment

by:Shaun Vermaak
ID: 41941764
Yes, that can work. Just remember that it is just a web call to an address and cleartext coming back so very compatible.
0
 

Author Closing Comment

by:steva
ID: 41941773
Thanks.
0

Featured Post

Threat Trends for MSPs to Watch

See the findings.
Despite its humble beginnings, phishing has come a long way since those first crudely constructed emails. Today, phishing sites can appear and disappear in the length of a coffee break, and it takes more than a little know-how to keep your clients secure.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

By this time the large percentage of day-to-day transactions have shifted to mobile banking; here are some overriding areas QAs must investigate while testing mobile banking apps.  
If you use the Google Now Launcher, as an aftermarket add on, have a Samsung Note 5 and are worried about power consumption be wary of using the ultra power saving mode.  Here is what happened to me when I made the mistake of trying this out...
This video is in connection to the article "The case of a missing mobile phone (https://www.experts-exchange.com/articles/28474/The-Case-of-a-Missing-Mobile-Phone.html)". It will help one to understand clearly the steps to track a lost android phone.
This video demonstrates how to sync Microsoft Exchange Public Folders with smartphones using CodeTwo Exchange Sync and Exchange ActiveSync. To learn more about CodeTwo Exchange Sync and download the free trial, go to: http://www.codetwo.com/excha…

751 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question