#2 App Builder's Javascript plugins » Toast Message - Native Toasts (a little text popups) on your apps » 2016-07-18 00:26:06

Andreas
Replies: 1

Hello!

This App Builder's Toast plugin allows you to show a native Toast (a little text popup) on iOS, Android and Windows Phone

The Toast Plugin gets you following Arguments

Toast "Message", "Duration", "Position", "PixelFromPosition"

The "Toast" argument allows you to show a native Toast (a little text popup).

Message:             Toast Message
Duration:            Duration of the Toast Message ('short', 'long', '3000', 900 (the latter are milliseconds)
Position:            Postion of the Toast Message ('top', 'center', 'bottom')
PixelFromPosition:   Pixels from the original position (for example negative value to move it up a bit)

The "StylingToast" argument allows you to show a native Toast (a little text popup) without your own styling.

StylingToast "Message", "Duration", "Position", "PixelFromPosition", "Opacity", "BackgroundColor", "TextColor", "TextSize", "CornerRadius", "HorizontalPadding", "VerticalPadding"

Message:             Toast Message
Duration:            Duration of the Toast Message ('short', 'long', '3000', 900 (the latter are milliseconds)
Position:            Postion of the Toast Message ('top', 'center', 'bottom')
PixelFromPosition:   Pixels from the original position (for example negative value to move it up a bit)
Opacity:             0.0 (transparent) to 1.0 (opaque). Default 0.8
BackgroundColor:     Make sure you use #RRGGBB. Default #333333
TextColor:           Make sure you use #RRGGBB. Default #FFFFFF
TextSize:            Default is approx. 13.
CornerRadius:        Minimum is 0 (square). iOS has default 20.0, Android has default 100.0
HorizontalPadding:   iOS has default 16.0, Android has default 50.0
VerticalPadding:     iOS has default 12.0, Android has default 30.0

Tested on Android, iOS and Windows Phone.

Installation:

Copy the content from the .zip file in

C:\Users\[Your Windows User Name]\Documents\AppBuilder\Plugins

After that run App Builder go to the Program Options -> Plugins and check the Toast click on the Okay button.

If have this step finished Click in the Menu App-> App Options Click on Plugins and check the Toast Plugin.

That's it you can use Toast for you app.

How can i use this:

Just create an push button for example click on the code window and search in the Actions Search field "Toast" or StylingToast that's it fill out the information you would like to share.

Happy Toasting wink

Toast.zip

#3 App Builder's Javascript plugins » Statusbar - Fixed iOS Statusbar overlapping UI » 2016-07-18 00:14:23

Andreas
Replies: 1

Hello!

This App Builder plugin fixed iOS Statusbar overlapping UI.

Tested on iOS.

Installation:

Copy the content from the .zip file in

C:\Users\[Your Windows User Name]\Documents\AppBuilder\Plugins

After that run App Builder go to the Program Options -> Plugins and check the Statusbar click on the Okay button.

If have this step finished Click in the Menu App-> App Options Click on Plugins and check the Statusbar Plugin.

That's it you can use Statusbar for you app.

No other options needed!

Happy Scrolling in the FRAME! wink

Statusbar.zip

#4 App Builder's Javascript plugins » Privacy Screen - Keeps sensitive information private! » 2016-07-18 00:09:32

Andreas
Replies: 1

Hello!

This App Builder's plugin secures your app from displaying a screenshot in task switchers under Android and iOS. Keeps sensitive information private!

Tested on Android and iOS!

Installation:

Copy the content from the .zip file in

C:\Users\[Your Windows User Name]\Documents\AppBuilder\Plugins

After that run App Builder go to the Program Options -> Plugins and check the Privacy Screen click on the Okay button.

If have this step finished Click in the Menu App-> App Options Click on Plugins and check the Privacy Screen Plugin.

That's it you can use Privacy Screen for you app.

No extra usage is needed! Your Task Switchers not showing any informations wink

Happy Privacy wink

Privacy_Screen.zip

#5 App Builder's Javascript plugins » Keep Awake - Prevent the screen of the device from falling asleep » 2016-07-17 23:57:52

Andreas
Replies: 3

Hello!

The App Builder's KeepAwake plugin allow us to prevent the screen of the mobile device from falling asleep.

Tested on Android, iOS and Windows Phone

Installation:

Copy the content from the .zip file in

C:\Users\[Your Windows User Name]\Documents\AppBuilder\Plugins

After that run App Builder go to the Program Options -> Plugins and check the KeepAwake click on the Okay button.

If have this step finished Click in the Menu App-> App Options Click on Plugins and check the KeepAwake Plugin.

That's it you can use KeepAwake or AllowSleep for you app.

You have two new Actions in your Action Search menu "KeepAwake" and "AllowSleep".

Happy Wakeup wink

KeepAwake.zip

#6 App Builder's Javascript plugins » Native Sharing - Use a native sharing dialog in your apps » 2016-07-17 23:38:52

Andreas
Replies: 1

Hello!

This plugin allows you to integrate Native Sharing in your App.

The Native Sharing Plugin gets you following Arguments

ShareMessage:   Sharing Message
ShareSubject:   Share Subject
ShareURL:       URL you want to Share
File1:          File you want to Share (either locally or remotely)
File2:          File you want to Share (either locally or remotely)
File3:          File you want to Share (either locally or remotely)
File4:          File you want to Share (either locally or remotely)
File5:          File you want to Share (either locally or remotely)

Tested on Android, iOS and Windows Phone

Installation:

Copy the content from the .zip file in

C:\Users\[Your Windows User Name]\Documents\AppBuilder\Plugins

After that run App Builder go to the Program Options -> Plugins and check the NativeSharing click on the Okay button.

If have this step finished Click in the Menu App-> App Options Click on Plugins and check the NativeSharing Plugin.

That's it you can use Native Sharing for you app.

How can i use this:

Just create an push button for example click on the code window and search in the Actions Search field "NativeSharing" that's it fill out the information you would like to share.

I wish Happy Sharing wink

NativeSharing.zip

#8 Topics related with App Builder » Print Documents (AirPrint and Android Printing Framework) » 2016-07-12 19:17:14

Andreas
Replies: 3

Hello,

Here is an tutorial how to print over iOS AirPrint and Android Printing Framework using a Cordova Plugin.

Open your App Options and write in the Custom plugins Textfield under the Cordova Tab following Line:

de.appplant.cordova.plugin.printer

Next Click on the OK Button and Save your work.

After that create a new JScript function in the (Functions Manager) call them print or another clear name.

if you have done this write the following in the empty function:

// This is for the Checking if it's running on Cordova
if(App.Cordova) {
  alert('This function only works in Android and iOS.');
  return;
}

// This is the Text what we have on the Printed Document
var printInformation = '<h1>Hy this is an Test-Print from Device!</h1>';

cordova.plugins.printer.print(printInformation, 'Document.html',

// This function would be fired if the user Printed or Canceled the Process.
function () {
    alert('printing finished or canceled')
});

Close the "Function window" create an push element under (Buttons) in your designer Change the Text to "Print Me" or another clear name.

Double Click on your Created Push Button and search from your actions your created function click on them.

Save your work and compile your App!

You can Print a Text over AirPrint (iOS) and Android Printing Framework.

Hopeful this was clear to understand and would help some of you.

CloudPrintExample.zip

Board footer

Powered by FluxBB


Copyright ©2018 DecSoft. All rights reserved.