Can I deploy a standard non db basic PB app to run on just mobile with no server?

1
0
-1

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

Question Tags: 

Answers

Govinda Lopez answered Can I deploy a standard non db basic PB app to run on just mobile with no server?

1
0
-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,

Roland's picture

Is the 'license verify' step a one time deal or is it needed on each run? If 'one time' and you deploy a new version, do you have to do it again?

Armeen Mazda's picture

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).

kjr_23_29271's picture
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.
Govinda Lopez's picture

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:

 

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,