Does The Famo.us web platform support phonegap? [closed]
Asked Answered
E

5

7

I would like to integrate notifications and bluetooth via phonegap to my web app built with famo.us. Is it possible?

Exodontics answered 19/2, 2014 at 0:48 Comment(3)
Try a google search for this. This site is for programming specific questions and code debugging help.Pharmacopoeia
We do not know yet, because famo.us is not yet released. Besides, famo.us is planning to release its own phonegap: vimeo.com/86727807 So I would conclude that it is very well possible.Tatum
They're working on their own phonegap wrapper. infoworld.com/t/mobile-development/…Trebizond
A
6

Famo.us includes the Famo.us Toolbar which itself is a mod of Cordova (similar to Phonegap) and includes all of the plugins Cordova supports. It's driven from the command line.

I've emailed the CEO of Famo.us and his response was:

We are alpha testing the Famo.us Wrapper now. It's a mod of Cordova with all of the plugins from Cordova. The difference is that it's much more performant, especially on Android, than PhoneGap or Cordova.

Airship answered 28/3, 2014 at 1:40 Comment(2)
Yes, and their wrapper is more performant because they package the latest chrome/blink engine in the app. If you read their FAQ, you'll see that with each version of chrome, the FPS goes significantly upKrissykrista
It's important to note, that there is almost no difference in performance as iOS always uses it's own webView, and so there is no difference in performace.Marleenmarlen
S
6

To achieve better performance than the standard Android webview, you could try to wrap your application with the Crosswalk runtime, it works with famo.us:

This will produce an .apk that you can install to the device.

More information: https://crosswalk-project.org

Simpkins answered 31/5, 2014 at 11:55 Comment(0)
M
1

Yes,

Famo.us DOES support phoneGap. It's just HTML, CSS and javascript so it can be wrapped like anything else. The main difference is that PhoneGap and Cordova use an old version of Chromium which gives it bad performance on Android, which is why Famo.us's own wrapper will be more performant.

Specially on Android.

Marleenmarlen answered 27/4, 2014 at 19:41 Comment(0)
G
0

Right now The Famous Toolbelt has not been released publicly (only to a small subset of testers) but if you've used the Yeoman Generator you can quite easily wrap the compiled code into a normal Phonegap project. The only thing you should avoid doing is directly manipulating the DOM (i.e not using Famous to modify the layout & contents)

The rest is the same as writing any other Cordova app from a Javascript perspective. Just make sure to include and initialise Cordova and your plugins correctly beforehand.

Greasepaint answered 22/4, 2014 at 15:37 Comment(0)
F
0

I have tested famo.us with phonegap and it works. However the performance when starting up is terrible. Some reason phonegap takes a long time to load. But after that it works just fine. Basically these are the steps:

1. Install phonegap

2. Create the project

# phonegap create helloworld

# cd helloworld

3. Build the project

Then copy the famo.us project folder into www folder

# phonegap build ios

(or android)

Flotow answered 13/5, 2014 at 8:59 Comment(0)

© 2022 - 2024 — McMap. All rights reserved.