Android Question Load Font From Device?

Discussion in 'Android Questions' started by treehousefrog, Jun 30, 2015.

  1. treehousefrog

    treehousefrog Member Licensed User

    Hey guys,

    I'm building a launcher and I want to give the user the option to add their own fonts. Unfortunately the only option I can find is typeface.loadfromassets... is there a way I can load the fonts from rootexternal? Or is there another way I should be doing this? Thanks a ton in advance!
     
  2. Cableguy

    Cableguy Expert Licensed User

    The only way I can see it doable is, after the user choses the font from its current folder, copy it to the assets folder. I also recal a thread about loading fonts from other than the assets and it was done using refletion.

    Sorry not to of much help, but it can be done...
     
    JordiCP likes this.
  3. NJDude

    NJDude Expert Licensed User

    You cannot copy to the Assets folder that folder is read only (part of the APK).
     
    DonManfred likes this.
  4. JordiCP

    JordiCP Well-Known Member Licensed User

    Here is the thread

    (I tested it and it didn't work for me, but I assume was doing something wrong)
     
    Cableguy and LucaMs like this.
Loading...