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.
Is there any way to make the font load from an URL? I wanna use google fonts API so you can search and choose any font.
Have a look at the google fonts documentation to see what you can do with google fonts. You should find that you require a web based solution (e.g. html pages) to use google fonts, you cannot download a google font as a font file. (corrected)
There is a download font button in google fonts tho
Try it, what do you get?
Looks like I stand corrected...
So is it possible to set texts in appinventor loading the font by making the user choose any font they want from the google fonts api?
Looks like the developer will need to download the fonts first, then offer a selection in the app.
Dang, welp, thanks for helping
Switch to landscape
But, on searching, perhaps you can:
Process:
- get list of font names (link 1)
- select item from list
- make web call to the named font to return static url (link2)
- download font file (extract static url from responseContent)
- make font file available to user in app
I managed to make a website to get the ttf of a font from google fonts, my idea is to now make a website, using the costumwebview extension were it uses the google fonts api to display lots of fonts and then uses the endpoint i made to print the ttf URL to the console, then it uses the detect when smth is printed in console block and use asd downloader extension to download the file, and then use it as the font of all the texts in my app using the myfonts extension, what do you think of my idea?
Example of the endpoint i managed to make: https://s4api.vercel.app/font_url?font_name=Roboto
Does your "website" display an example of how the fonts look?