[Free] ⚠ ImageNotifier

1. Introduction

  • Description: a sister extension to the AltNotifier, this simple extension has two methods not found in the standard notifier component that allow the developer to display an image in a notifier.
  • Latest version: 1.0
  • Released: 2021-09-15T23:00:00Z
  • Last updated: 2021-09-15T23:00:00Z
  • Tested: Android 10 & 11, companion and compiled
  • Built: Using the Rush Extension Builder by @ Shreyash

2. Blocks

  • In both method blocks the developer can provide a Title and a Caption for the imageNotifier. Use a blank text block if not required.
  • Both blocks also offer a maxSize feature. A value of 600 works well for most images, a lower number will provide a smaller image, a higher number a bigger image.

Displaying an image from file. The developer needs, as a minimum, to provide an absolute file path to the image

component_method

There is an after display event

Displaying an image from a base64 string

There is an after display event

  1. Usage

Blocks and Screenshots demonstrating usage

assetINDD

  1. Files

AIX: uk.co.metricrat.imagenotifier.aix (8.3 KB)
JAVA: imageNotifier.java.txt (4.8 KB)

Enjoy :slight_smile:

  1. Procedure AddOn

Only for the methods in this extension, if you use this draggable procedure in your "title" socket, it will make the buttons fill the width of the notifier in Classic theme.

Changelog

...

Available for use in any MIT AppInventor projects or competitions

  1. Credits & Thanks

go to @Shreyash, @KUMARASWAMY_B.G, @vknow360, @Juan_Antonio for their help, advice and input along the way

24 Likes

Nice extension @TIMAI2

Great Extension @TIMAI2

1 Like

Great extention :ok_hand: @TIMAI2

1 Like

That's Dope

:star_struck: :+1:

1 Like

Super extension @TIMAI2 ! :star_struck: :star_struck:

1 Like

does gif or any other animation format work

Unfortunately, this extension will only handle jpg, jpeg, png image files.

2 Likes