This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan on-line!
See this thread for details.
The moose likes iOS and the fly likes Mobile app development general question Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Mobile » iOS
Bookmark "Mobile app development general question" Watch "Mobile app development general question" New topic
Author

Mobile app development general question

Saurabh Pillai
Ranch Hand

Joined: Sep 12, 2008
Posts: 506
We are planing to develop an app for two platforms, iPhone and Android. I have question regarding that.

- Is it possible to use same set of webservices to feed data to both devices as the app is going to be same? I guess a point to consider here is processing power, internal memory etc. On one end we have iPhone. Period. but on other end we have whole lot of Android devices. How do you guys handle it?
Mark Spritzler
ranger
Sheriff

Joined: Feb 05, 2001
Posts: 17249
    
    6

If I have a web service on the server side, I have it to support whoever wants to call it, whether it is a Swing, VB 6.0, .net, web site, iPhone, Windows Phone, Cobol app, Android phone. Anyone.

the data returned from the web service could be anything I like, xml, json, byte[]. Then the clients just have to convert it. Most if not all development languages can read xml, json.

Mark


Perfect World Programming, LLC - Two Laptop Bag - Tube Organizer
How to Ask Questions the Smart Way FAQ
Saurabh Pillai
Ranch Hand

Joined: Sep 12, 2008
Posts: 506
Do you think different processing power, internal memory etc. make any difference?

Thank you Mark.
Mark Spritzler
ranger
Sheriff

Joined: Feb 05, 2001
Posts: 17249
    
    6

Saurabh Pillai wrote:Do you think different processing power, internal memory etc. make any difference?

Thank you Mark.


How do you mean? On the devices? On the server side? Both are different things. Service Side has nothing to do with any devices or clients.

For devices making Web Service requests are available on all those devices done very simply, don't really see how processing power or internal memory has any difference, specifically to calling and consuming a web service.

Mark
Saurabh Pillai
Ranch Hand

Joined: Sep 12, 2008
Posts: 506
Mark Spritzler wrote:
For devices making Web Service requests are available on all those devices done very simply, don't really see how processing power or internal memory has any difference, specifically to calling and consuming a web service.

Mark


Yeah actually I was wondering if it makes any speed difference in processing received data and rendering a screen on mobile devices. but from your answer it looks like it does not.

Thank you.
Mark Spritzler
ranger
Sheriff

Joined: Feb 05, 2001
Posts: 17249
    
    6

Saurabh Pillai wrote:
Mark Spritzler wrote:
For devices making Web Service requests are available on all those devices done very simply, don't really see how processing power or internal memory has any difference, specifically to calling and consuming a web service.

Mark


Yeah actually I was wondering if it makes any speed difference in processing received data and rendering a screen on mobile devices. but from your answer it looks like it does not.

Thank you.


Yes and no, but it isn't necessarily specific related to an iPhone or an Android phone, but a developer doing it incorrectly that might cause a performance problem. Typically these web services calls will be done asynchronously from the device so the perception of wait isn't there. If you make a web service that passes back tons and tons of data, of course it will be slow because of bandwidth and network IO and maybe even File IO. But it is no different than you would see in a StandAlone Java Swing, or Java based Web site, or command line Java application.

Mark
 
 
subject: Mobile app development general question
 
Similar Threads
Porting of Android apps across other mobiles O/S
Your mobile , your style
Samsung Bada
Android vs iPhone
Android web app x other devices web app