[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: ImageNotifier
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

#####################################################################
This work by TIMAI2 is licensed under an
MIT Licence.
#####################################################################

  1. Credits & Thanks

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

28 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:

2 Likes

does gif or any other animation format work

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

2 Likes

Can I show a png in asset ? this block does not run

You will need to define the path to the asset (or copy the asset to the ASD)

Make a procedure with file component:

1 Like

Thanks, it runs

Hello
Where the block "Call File1.makeFullpath" comming from.
i can't find it
Thanks Peter

The File component

it works. thanks