Results 1 to 3 of 3

Thread: PhoneGap in Lianja v2.0

  1. #1
    Lianja Development Team barrymavin's Avatar
    Join Date
    Feb 2012
    Location
    UK, USA, Thailand
    Posts
    6,076

    PhoneGap in Lianja v2.0

    If you have been following the development roadmap at http://www.lianja.com/resources/roadmap you will know that in Lianja v2.0 we are focussing a lot on mobile app development.

    The two main features in v2.0 for mobile app developers are:

    1. PhoneGap Live App View

    and

    2. PhoneGap cloud build

    I've had several people ask me about PhoneGap building of Apps. Here are some of the questions:

    Question 1: If I build a Lianja mobile App and use the PhoneGap build cloud service can I still use WebView sections and populate them dynamically by referencing a .rsp or .jssp page on a remote Lianja Cloud Server.

    Answer: Yes. A WebView is a standard built-in section that can be generated dynamically.

    Question 2: Can that WebView section contain my own UI components that I build out of third party components?

    Answer: Yes of course. When a WebView is loaded it also has access to the Lianja system object globally within the browser tab or the mobile App instance. This lets you manipulate other parts of the UI in your App.

    Question 3: If I use PhoneGap do I have any access to the camera?

    Answer: Yes, that's the whole point of PhoneGap. It provides a layer of abstraction above the device platform (iOS or Android) so that you can build cross platform Apps.

    Question 4: What is the advantage of using Lianja for building a PhoneGap App rather than hand coding it all myself.

    Answer: Lianja is a platform. It provides a client side framework and server side data connectivity as well as the ability to generate dynamic content on the server that is injected into the client app at runtime. All CRUD operations are handled automatically for you as well as image/photo uploads and document editing. And let's not forget the UI navigation which is all embedded within the mobile app. In summary, Lianja is a complete platform for building business Apps.
    Principal developer of Lianja, Recital and other products

    Follow me on:

    Twitter: http://twitter.com/lianjaInc
    Facebook: http://www.facebook.com/LianjaInc
    LinkedIn: http://www.linkedin.com/in/barrymavin

  2. #2
    Senior Member
    Join Date
    Feb 2012
    Posts
    1,236
    Hi Barry,

    I love being able to test my phone app directly on my phone - thank you!

    I have an app where the client wants three buttons as the menu. It's a very unsophisticated user base -to say the least.

    I cant use a canvas section since they may be using a different size devices, so I need something responsive.

    I decided to try and do this with a custom javascript section and not an rsp page. The click functions work on the phone, but the text for the buttons are not showing up.

    Are the custom javascripts sections not yet fully supported on web/mobile?

    Thanks.

    HerbName:  customJavascriptPhone.jpg
Views: 106
Size:  85.8 KB

  3. #3
    Lianja Development Team barrymavin's Avatar
    Join Date
    Feb 2012
    Location
    UK, USA, Thailand
    Posts
    6,076
    Hi Herb,

    Yes they are fully supported, both canvas and custom.

    Due to the responsive nature of CSS and the fonts used on mobile devices you may need to increase the size of the buttons if you want to implement it that way. To get all this to work across all types of devices I do some scaling.

    You may want to just use a footer menu and prefix the captions with a + e.g.

    +Add,View,Delete

    That will layout the buttons across any device size and you can just use the footer menu delegate to do whatever you want.
    Principal developer of Lianja, Recital and other products

    Follow me on:

    Twitter: http://twitter.com/lianjaInc
    Facebook: http://www.facebook.com/LianjaInc
    LinkedIn: http://www.linkedin.com/in/barrymavin

Bookmarks

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Journey into the Cloud
Join us