Login  Register

RE: Best approach for mobile app

Posted by Derek Lew-2 on Sep 08, 2015; 5:27pm
URL: http://ofbiz.116.s1.nabble.com/Best-approach-for-mobile-app-tp4671862p4671954.html

Hi all,

What would be the approach on the Ofbiz server side?  Using Restful?  Am looking at this https://cwiki.apache.org/confluence/display/OFBIZ/Export+service+using+REST

Stuck at this point:

LocalDispatcher dispatcher = GenericDispatcher.getLocalDispatcher("default",delegator);

Cannot resolve GenericDispatcher.

But it seems like Json already enabled, any example?

Divesh,

I am looking at this https://code.google.com/a/apache-extras.org/p/ofbiz-on-smartphone/
Not familiar enough to install the server patches.

Thanks.

Derek

-----Original Message-----
From: Ravi Shekhar [mailto:[hidden email]]
Sent: Wednesday, 9 September 2015 1:21 AM
To: [hidden email]
Subject: Re: Best approach for mobile app

Hi Derek

You can do Photo taking and GPS navigation in Hybrid as well as native.

I have done a mobile project on Photo taking using Cordova-Crosswalk, and its easy and portable to Android and iOS. Have seen some demo for GPS navigation to via Cordova-ionic framework

If you want to extend it to iOS too, and your requirement will not extend beyond this (Photo taking and GPS), then IMHO, go for an ionic-cordova hybrid model.

But if you only want to target Android, and you need it very fast and stable, go for a native app.

P.S., now a days, with hardware catching up on mobile platform too, fast is a relative term but native still looks more efficient and light as compare to a hybrid app.



On Tue, Sep 8, 2015 at 9:53 PM, Brajesh Patel <[hidden email]>
wrote:

> Dear Derek,
>
> Both(Hybrid and native) type of application having merit and demerit
>
> 1) If you will chose hybrid then some time it will slow depend on
> server configuration, but you can manage UI according to your
> requirement, both UI and data will come from server only need to display in web-view.
>
> 2) native application is very fast compare to hybrid, in native app
> just send internally request to get data , but need extra costing for
> dev,
>
>
>
>
>
>
> On Tue, Sep 8, 2015 at 7:05 PM, Divesh Dutta <
> [hidden email]
> > wrote:
>
> > Not sure which is better approach. But definitely GPS and mobile
> > taking
> can
> > be achieved using Apache Cordova plugins if you go with  mobile web
> (HTML5)
> > or you can say hybrid app approach.
> >
> > What do you mean by :
> >  I have taken a look at obfiz-on-smartphone, couldn’t get the server
> > side patches to be loaded.  Any advice?
> >
> > Thanks
> > --
> > Divesh Dutta.
> >
> >
> >
> > On Fri, Sep 4, 2015 at 4:08 PM, Derek Lew <
> [hidden email]>
> > wrote:
> >
> > > Hi
> > >
> > >
> > >
> > > I have a requirement for the GPS tracking and photo taking, would
> > > it be better for mobile web (HTML5) or native app approach?
> > >
> > >
> > >
> > > I have taken a look at obfiz-on-smartphone, couldn’t get the
> > > server
> side
> > > patches to be loaded.  Any advice?
> > >
> > >
> > >
> > > Best regards.
> > >
> > > Derek Lew 刘绍雄
> > >
> > >
> > >
> > >
> >
>
>
>
> --
> Thanks
> Brajesh Patel
> skype: brajesh.patel11
> Cell:- +91 8750709907
>



--
Regards

Ravi.Shekhar
--------------------------------------------