MyFonts → use your own custom fonts (a modified version of @Ken's YourFont extension)

The path to the assets for devices with Android < 10 has changed (since the nb187 release) from:
/storage/emulated/0/AppInventor/assets/
to:
/storage/emulated/0/Android/data/edu.mit.appinventor.aicompanion3/files/AppInventor/assets/

Therefore, the extension no longer worked under Android <10 with Companion.
Here is the update that fixes this problem:
MyFonts.aix (5.8 KB)

7 Likes

Hallo @Anke,
once again, one really awesome extension !!!
You're a Square(Power-User)
:+1: :+1: :+1:
Cheers, Ugo.

4 Likes

@Anke Can you please make one modified version for me that doesn't adds storage permission requirement in manifest PLEASE /\

Here is a new version that does not add READ permission to the Manifest.

If you use this version the fonts must be stored in the assets.
MyFonts_3.aix (5.9 KB)

(WRITE permission was never declared before anyway.)

2 Likes

Thank you so much you are too good I was thinking that I have to compromise with it but you have done the work for me thanks a lot it really means a lot.

Hello this is returning error in companion

Which error? Post a screenshot.

It isn't even working in companion no error.
image

@Anke It started working after reconnecting companion.

Sometimes you need to delete Companion's assets folder.

1 Like

Ok thanks for the tip next time I will keep in mind.

1 Like

hi
i have problem , when the number of character is lenght too i see barcode in two line!!!
can u help me?

I tink you have to set the weidth of the label/text box to "fill container"
Here a screen of the interface :
image

PS IN ITALIAN "RIEMPI CONTENITORE" IS "FILL PARENT/CONTAINER"
sorry for my english but i'm italian.
:slight_smile:

:question:

Hello, it says "Upload Error" everytime I try to import it as an extension.

  • Remove all assets from the Companion app (on your test device)
  • reload the browser and
  • try again.

See also here:

My devices (both phone and laptop) can't seem to access the .aia file. Can I send you a PM? I tried searching for ways online on how I can do it, but I'm lost. I'm a newbie in MIT App Inventor.

Ok, send me the aia via PM.

guys I have a Question where to download AIX fonts ?

Hello Mohammed

You can use True Type Fonts - however, you can't just rip them off your PC, those are copyrighted. Search the internet for the style of font you require - you should find some that are completely free (perhaps requiring a mention in the credits page of your App). You can simply upload a True Type Font to App Inventor's media tray (assets), just as you would other files such as images.