B4J Tutorial [BANanoVuetifyAD3] Create Professional Looking Vuetify WebSites & WebApps with BANano

Mashiane

Expert
Licensed User
Longtime User
Upcoming Updates: Taking & Saving Pictures with the Camera

The camera component has been updated: 1. one is able to select the camera to use from a list of available cameras on your device. 2. You can either flip the camera in case you have a front / back camera

The example on the kitchen demo saves the taken picture to the ./assets folder.


 

Mashiane

Expert
Licensed User
Longtime User

 
Reactions: LJG

Mashiane

Expert
Licensed User
Longtime User
IMPORTANT NOTIFICATION -

The code below is in BANanoVuetifyAD3.Main.App_Start


Please note that after careful consideration, the BANanoVuetifyAD3 library will be in "debug" mode. To explain, lets see this image.



vue.js is the DEBUG mode of Vue.JS whilst vue.min.js is for PRODUCTION.

With debug mode, its easy to debug ones app and see where problems are. In most cases, the production version will NEVER tell you where problems are with your app. So from now on the DEFAULT mode is DEBUG MODE.

This as a result will log stuff in your web console.log. When happy with your app, comment the DEBUG mode (vue.js) and uncomment the PRODUCTION mode (vue.min.js), run the library (IN B4J RELEASE MODE) to produce he b4xlib and then PRODUCE your app.

PLEASE NOTE: In DEBUG mode, some warnings are not to cause ALARM, as long as your app works well and as expected in both DEBUG & PRODUCTION versions, you have nothing to worry about, just ignore the warnings. ONLY and ONLY ask for help IF and ONLY IF your project does not work and you don't know how to solve the problem.

Ta!
 

Mashiane

Expert
Licensed User
Longtime User
A simple Excel Reporting Example that still works..



BANanoXML is internal to BVAD3 however these examples here still apply.

 
Last edited:

Mashiane

Expert
Licensed User
Longtime User
Last edited:

Mashiane

Expert
Licensed User
Longtime User

Mashiane

Expert
Licensed User
Longtime User
What's Coming - Pre-App Progress Loaders

T
hese help show a progress loader before the app is rendered.

Found some nice spinners here, https://www.cssscript.com/9-css-only-loaders/

Actually there is a lot on the net. We have applied this for both normal and BANanoServer apps, so far looking good.

In BANanoServer Apps

1. Add this to BrowserIndex.Initialize

B4X:
BANanoShared.AddLoader

2. Add this before Vuetify.Initialize

B4X:
BANanoShared.ShowLoader

3. Add this after Vuetify.Serve

B4X:
BANanoShared.HideLoader

In normal apps...

1. Add this before Vuetify.Initialize

B4X:
BANanoShared.AddLoader
BANanoShared.ShowLoader

2. Add this after Vuetify.Serve

B4X:
BANanoShared.HideLoader
 
Cookies are required to use this site. You must accept them to continue using the site. Learn more…