Icon View Thread

The following is the text of the current message along with any replies.
Messages 1 to 10 of 10 total
Thread Mobile app or Browser app
Tue, Jul 18 2017 8:20 PMPermanent Link

KimHJ

Comca Systems, Inc

I just want to see if most app made with EWB are app's you would view in a browser on your device or are you creating an App for the app store that just have a browser?

Thanks,
Kim
Wed, Jul 19 2017 5:14 AMPermanent Link

Matthew Jones

Most of mine are "desktop" browser applications. I've encapsulated one in a desktop exe too (like Electron), and did one for the iPhone using PhoneGap a while back. Myself, I think the normal browser will be the biggest use - it is very good for that.

--

Matthew Jones
Wed, Jul 19 2017 5:42 AMPermanent Link

Uli Becker

> I just want to see if most app made with EWB are app's you would view in a browser on your device or are you creating an App for the app store that just have a browser?

Generally there are 3 approaches:

1. You can create an app with PhoneGap
Advantage: fast loading and possibility to access contacts, camera etc.
on the device
Disadvantage: Easy to deploy for Android (just ship the apk-file) not as
easy for IOS); you have to deploy a new version of your app if you
change your website.

2. You can create an app (using Android Studio e.g. for Android)
containing just a browser and display your website.

3. Just create a website optimized for mobile devices and modify the
html-header to "transform" it into a WebApp.
By doing so the user can create a shortcut on his home screen and the
app will be displayed in the browser without title bar and navigation
bar. Even a splash screen will be displayed.
(Please note that with IOS you won't be able to navigate any more, so
you would have to place a navigation button in your app).

I prefer approach 3). It works great for me and the apps look exactly
like native apps.
To enable navigation between the different forms in your app you can use
Address.OnAnchorChange:

https://www.elevatesoft.com/forums?action=view&category=ewb&id=ewb_general&page=1&msg=11605#11605

Some links:

https://developers.google.com/web/updates/2014/11/Support-for-installable-web-apps-with-webapp-manifest-in-chrome-38-for-Android

https://developers.google.com/web/fundamentals/native-hardware/fullscreen/

https://developer.mozilla.org/en-US/docs/Web/Manifest

https://developers.google.com/web/fundamentals/engage-and-retain/web-app-manifest/

Uli





Wed, Jul 19 2017 4:44 PMPermanent Link

alexza

Thanks a lot Uli, you're precious as always.
Any suggestion on a way to bind an app to a specific device ?
I'm wondering if a simple way exists and if you already found it.
Thanks in advance
alex
Thu, Jul 20 2017 6:24 AMPermanent Link

Uli Becker

> Any suggestion on a way to bind an app to a specific device ?

What do you mean by "specific device"?

Uli
Thu, Jul 20 2017 10:15 AMPermanent Link

alexza

Uli Becker wrote:

> What do you mean by "specific device"?

I was thinking about selling an app: which is the best approach if a mobile device has intermittent or no connection to the Internet after installing the app ?

Thinking about traditional PC sw protection, I'd try to read the device IMEI or something like that (ANDROID_ID) to bind my app to that specific device. But I think it's not feasible in JS alone without Cordova, not to mention legal problems which could arise (privacy infringments and so on) in some Countries.

I've developed an OTP login system, and this is another way to handle the problem (you push the OTP to the device using the customer declared phone number) but it needs a connection.

Having always valued your clever choices, I was wondering which way you selected or can suggest.

Thanks a lot

Alex
Thu, Jul 20 2017 10:19 AMPermanent Link

Uli Becker

Alex,

> Thinking about traditional PC sw protection, I'd try to read the device IMEI or something like that (ANDROID_ID) to bind my app to that specific device. But I think it's not feasible in JS alone without Cordova, not to mention legal problems which could arise (privacy infringments and so on) in some Countries.
> Having always valued your clever choices, I was wondering which way you selected or can suggest.

OK, I understand what you mean. Thanks, but in this case I can't help.

Uli
Thu, Jul 20 2017 12:30 PMPermanent Link

KimHJ

Comca Systems, Inc

Uli Becker wrote:

Thanks Uli.

I can create and app for Android in Android Studio as fast as I can create one in EWB.

My problem is the iOS thanks for all the links.

Kim
Thu, Jul 20 2017 12:33 PMPermanent Link

KimHJ

Comca Systems, Inc

alexza wrote:


>>Any suggestion on a way to bind an app to a specific device ?

I use this in Android I know nothing about iOS.

String androidId = Settings.Secure.getString(getContentResolver(), Settings.Secure.ANDROID_ID);

Kim
Thu, Jul 20 2017 3:32 PMPermanent Link

alexza

Kim

>I use this in Android I know nothing about iOS.

Thanks a lot
Alex
Image