1. Kevin Ridley
  2. PowerBuilder
  3. Friday, 9 February 2018 17:33 PM UTC

Hello, I did some searching and didn't find what I'm looking for.  I'm evaluating PB2017 (long time PB developer > 20 years) and trying to get my current company to buy.  I was able to get our current app (PB 12.5 w DB2) compiled and running in PB2017, so that's a good start.  What I'd like to do as a POC is a super simple PB app with no db connection or anything, just a basic Hello World type app.  I don't want anything running on a server, I want it entirely on android/ios.  Is this possible?

Thanks,

Kevin

Govinda Lopez @Appeon Accepted Answer Pending Moderation
  1. Friday, 9 February 2018 17:55 PM UTC
  2. PowerBuilder
  3. # 1

Hi Kevin,

 

PowerServer Mobile can help you with this. You can create Andoid (.apk) installer and iOS (.ipa) installer. That means that you can actually create offline apps with PowerBuilder and PowerServer Mobile. But you would still require connection (at least once) to the Server. That is because the app needs to verify the license and download images and resources from the server. But still, the application can run offline.

 

You can find a Demo app here. This app uses SQLite and Ultralite databases hosted in the mobile device and runs offline.

 

I hope this helps.

 

 

Regards,

Comment
  1. Armeen Mazda @Appeon
  2. Friday, 9 February 2018 18:48 PM UTC
The connection to the server needs to happen under two situations:



1. Each time you make a change to your PB app on the server the connection is required to update the app on the user's device.  If no connection then the user will be on an outdated version of the app until they connect.



2. Each time you update the PowerServer Mobile version (e.g. PowerServer 2017 --> PowerServer 2018).

  1. Helpful
  1. Kevin Ridley
  2. Friday, 9 February 2018 20:03 PM UTC
Thanks Govinda. I already have a demo app I just need to create a .apk file for it. Is there documentation anywhere on how to do this and where I can setup a server to connect to in order to get the license info, or is that an APPEON server? I'm not really going to have a publicly available web server that I can connect my personal phone to. Currently evaluating PB2017 on my work machine and want to deploy to my personal mobile phone. I may be able to setup IIS on my personal computer and figure out how to connect to it from my phone connected to the same router I imagine, but that wouldn't help me if I wanted to deploy the app to others. Just a bit confused about how this works to start off, but I'll catch on.
  1. Helpful
  1. Govinda Lopez @Appeon
  2. Friday, 9 February 2018 23:54 PM UTC
Hi Kevin,



 



To be able to deploy Mobile Offline applications you need a combination of both PowerBuilder 2017 or PowerBuilder 2017 R2 Universal Edition and PowerServer Mobile (Developer, Testing, Workgroup or Enterprise Edition, note that PB Edition does not support Offline applications). So that means that you do require a web server (IIS, J2EE, etc...)



Following are some links that may help you understand these Appeon features better:





Getting Started: https://www.appeon.com/system/files/product-manual/getting_started.pdf

Video for PowerServer Mobile: https://www.appeon.com/developers/library/videos/real-life-mobile-application-appeon.html

Appeon-U: https://www.appeon.com/appeon-u/powerserver-web-mobile-tutorial/unit01/class01

Installation Guide for .NET: https://www.appeon.com/system/files/product-manual/installation_guide_for_net_0.pdf

For the PowerServer Toolkit: https://www.appeon.com/system/files/product-manual/powerserver_toolkit_user_guide.pdf

PowerServer Mobile Offline Tutorials: https://www.appeon.com/system/files/product-manual/appeon_mobile_offline_tutorials.pdf

Mobile UI Design & Development Guide: https://www.appeon.com/system/files/product-manual/mobile_ui_design_and_development_guide.pdf





 



Here is an Android (.apk) installer for the same Offline Demo app I shared with you before. Please do note that since this app is hosted in a development server, the server will usually be available for demo during normal Appeon business hours. That means that the server will be available for the first connection required by the application during those hours. The mobile app is offline so it doesn't require the server connection after the mobile device has all the resources it needs from the server.







I hope this helps.



 



Regards,

  1. Helpful
There are no comments made yet.
  • Page :
  • 1


There are no replies made for this question yet.
However, you are not allowed to reply to this question.
We use cookies which are necessary for the proper functioning of our websites. We also use cookies to analyze our traffic, improve your experience and provide social media features. If you continue to use this site, you consent to our use of cookies.