jpToast

jpToast

Native popup message for Android.
Version : 2.0
Price : $20
State : Outandroid

Downloads

Changelog

v2.0

  • Now compatible with ShiVa 2.0.
  • Compiled for Mac and Linux in addition to Windows, so you can now use it while working with ShiVa Editor for each of these operating systems.
  • Now uses a user token instead of an email to activate

v1.1

  • Optimized for ShiVa 1.9.2

API

--jpToast API jpToast.activate ( sUserToken, sActivationKey ) jpToast.showToast ( sText, kOptDuration, kOptGravity, nOptOffsetX, nOptOffsetY, nOptHorizontalMargin, nOptVerticalMargin ) -- sText is the only required parameter -- kOptDuration must be one of the jpToast duration constants -- kOptGravity must be one of the jpToast gravity constants -- The offset is the one of the toast in the game view, in pixels -- The margin is the one of the game view, in percentage (0 to 100). --Constants --Duration jpToast.kDurationShort jpToast.kDurationLong --Gravity jpToast.kGravityCenter jpToast.kGravityBottom jpToast.kGravityTop jpToast.kGravityLeft jpToast.kGravityRight jpToast.kGravityBottomLeft jpToast.kGravityBottomRight jpToast.kGravityTopLeft jpToast.kGravityTopRight

Description

A toast provides simple feedback about an operation in a small popup.

It only fills the amount of space required for the message and the current activity remains visible and interactive.

Toasts automatically disappear after a timeout.