android - Use remote fonts (typeface) -


i need use external fonts android app. receive urls fonts in json object on app start, , have use these fonts textviews , buttons.

what's best way proceed? assume have download *.otf files, can download them? possible store them in internal storage don't have request external write permissions?

where can download them?

internal storage (getfilesdir() or getcachedir(), depending on preference).

is possible store them in internal storage don't have request external write permissions?

sure. other apps not need access fonts use them in widgets.

i not know choosing fonts, make sure adequate testing: fonts on android os versions supporting. android's font support has changed on years, , while better now, on older devices fonts quietly ignored, system has problems loading font.


Comments

Popular posts from this blog

account - Script error login visual studio DefaultLogin_PCore.js -

xcode - CocoaPod Storyboard error: -