FORUMS
Remove All Ads from XDA
H10 Turbo

[MOD][XPOSED][4.0+] PerAppFonts v0.3.2 (BETA) - Apply custom fonts on a Per-App Basis

442 posts
Thanks Meter: 3,355
 
By zst123, Inactive Recognized Developer on 23rd November 2013, 04:47 AM
Post Reply Email Thread
2nd January 2014, 04:22 AM |#101  
natezire71's Avatar
Senior Member
Thanks Meter: 343
 
More
Quote:
Originally Posted by zst123

I still need to worry about permission. Other apps CANNOT access the root folder of PerAppFonts. /assets/fonts can only be used when compiling which defeats the purpose. (you have to compile and recompile for every single font.

The current problem is NOT permissions now. It is the directory that the fonts are being stored. /sdcard/ , /mnt/sdcard/ and /storage/sdcard/ are the directories that is usable by the system in the boot process. However, due to multi-user capabilities in Android 4.2+, Android has /storage/emulated/<UserNumber>/ which is initialized after PerAppFonts attempts to find the fonts.

Did you see my post? I can't even change the path.
 
 
2nd January 2014, 11:08 AM |#102  
Member
Thanks Meter: 28
 
More
So does the problem solve if you load all the fonts stored in sd card instead of specific location (like some apps do). This is just my idea. Is possible?

Sent from my Nexus 7 using XDA Premium HD app
4th January 2014, 05:46 AM |#103  
OP Inactive Recognized Developer
Flag Singapore
Thanks Meter: 3,355
 
Donate to Me
More
Quote:
Originally Posted by natezire71

Did you see my post? I can't even change the path.

Try this

<b>Version 0.3 (04 January 2013 / 1345 / GMT+8)</b>
• Add Russian Translation (By Teinharm from 4pda.ru)
• Hardcode the starting folder to be /sdcard/
(Prevents users from choosing /storage/emulated/0/ which is linked to
the sdcard but is not a symbolic link. Therefore, it will "not exist"
when booting up the system.)
• Show Warning if Emulated path is selected
4th January 2014, 05:57 AM |#104  
natezire71's Avatar
Senior Member
Thanks Meter: 343
 
More
Quote:
Originally Posted by zst123

Try this

<b>Version 0.3 (04 January 2013 / 1345 / GMT+8)</b>
• Add Russian Translation (By Teinharm from 4pda.ru)
• Hardcode the starting folder to be /sdcard/
(Prevents users from choosing /storage/emulated/0/ which is linked to
the sdcard but is not a symbolic link. Therefore, it will "not exist"
when booting up the system.)
• Show Warning if Emulated path is selected

Someone is on fire with their modules. :P

I'll let ya know of this works.

---------- Post added at 12:57 AM ---------- Previous post was at 12:50 AM ----------

Quote:
Originally Posted by zst123

Try this

<b>Version 0.3 (04 January 2013 / 1345 / GMT+8)</b>
• Add Russian Translation (By Teinharm from 4pda.ru)
• Hardcode the starting folder to be /sdcard/
(Prevents users from choosing /storage/emulated/0/ which is linked to
the sdcard but is not a symbolic link. Therefore, it will "not exist"
when booting up the system.)
• Show Warning if Emulated path is selected

It's force closing and none of my fonts loaded upon a reboot. :/
4th January 2014, 07:41 AM |#105  
claytonjn's Avatar
Senior Member
Thanks Meter: 843
 
Donate to Me
More
Quote:
Originally Posted by natezire71

It's force closing and none of my fonts loaded upon a reboot. :/

Same here, even after wiping data.

Also, this is in the Xposed log:
Code:
 java.lang.NoClassDefFoundError: com/zst/xposed/perappfonts/Common
at com.zst.xposed.perappfonts.hooks.MainXposed.initZygote(MainXposed.java:24)
at de.robv.android.xposed.XposedBridge.loadModule(XposedBridge.java:364)
at de.robv.android.xposed.XposedBridge.loadModules(XposedBridge.java:317)
at de.robv.android.xposed.XposedBridge.main(XposedBridge.java:114)
at dalvik.system.NativeStart.main(Native Method)
Caused by: java.lang.ClassNotFoundException: Didn't find class "com.zst.xposed.perappfonts.Common" on path: /data/app/com.zst.xposed.perappfonts-2.apk
at dalvik.system.BaseDexClassLoader.findClass(BaseDexClassLoader.java:64)
at java.lang.ClassLoader.loadClass(ClassLoader.java:501)
at java.lang.ClassLoader.loadClass(ClassLoader.java:461)
... 5 more
-Sent from my Developer Edition Galaxy S4 using Tapatalk
4th January 2014, 08:21 AM |#106  
Senior Member
Thanks Meter: 1,182
 
More
Same here. Immediate FC. I use a gt-i9205 with 4.4.2 Slimkat.
4th January 2014, 08:36 AM |#107  
OP Inactive Recognized Developer
Flag Singapore
Thanks Meter: 3,355
 
Donate to Me
More
Quote:
Originally Posted by treare

Same here. Immediate FC. I use a gt-i9205 with 4.4.2 Slimkat.



Quote:
Originally Posted by JamMasterClay

Same here, even after wiping data.

Also, this is in the Xposed log:

Code:
 java.lang.NoClassDefFoundError: com/zst/xposed/perappfonts/Common
at com.zst.xposed.perappfonts.hooks.MainXposed.initZygote(MainXposed.java:24)
at de.robv.android.xposed.XposedBridge.loadModule(XposedBridge.java:364)
at de.robv.android.xposed.XposedBridge.loadModules(XposedBridge.java:317)
at de.robv.android.xposed.XposedBridge.main(XposedBridge.java:114)
at dalvik.system.NativeStart.main(Native Method)
Caused by: java.lang.ClassNotFoundException: Didn't find class "com.zst.xposed.perappfonts.Common" on path: /data/app/com.zst.xposed.perappfonts-2.apk
at dalvik.system.BaseDexClassLoader.findClass(BaseDexClassLoader.java:64)
at java.lang.ClassLoader.loadClass(ClassLoader.java:501)
at java.lang.ClassLoader.loadClass(ClassLoader.java:461)
... 5 more
-Sent from my Developer Edition Galaxy S4 using Tapatalk


Quote:
Originally Posted by natezire71

Someone is on fire with their modules. :P

I'll let ya know of this works.

---------- Post added at 12:57 AM ---------- Previous post was at 12:50 AM ----------



It's force closing and none of my fonts loaded upon a reboot. :/


Haizz.. The APK is corrupted or the APK was signed wrongly...
(Happened 3 times for this module already... This is getting weird)


Sent from my GT-I9300 using XDA Premium 4 mobile app
4th January 2014, 10:27 AM |#108  
Senior Member
Thanks Meter: 1,182
 
More
Downloaded the latest 1.3. It opens up but again: only the included (gray) fonts work.
4th January 2014, 10:40 AM |#109  
Senior Member
Thanks Meter: 149
 
More
I gave a try but by me it doesn't work there's an error each way I open it . . xposed is already installed i have other modules

Envoyé de mon Tender en utilisant Tapatalk
4th January 2014, 10:51 AM |#110  
Senior Member
Thanks Meter: 1,182
 
More
Quote:
Originally Posted by Mchasard

I gave a try but by me it doesn't work there's an error each way I open it . . xposed is already installed i have other modules

Envoyé de mon Tender en utilisant Tapatalk

There's a new version in xposed repo that doesn't crash but doesn't work either
4th January 2014, 11:51 AM |#111  
OP Inactive Recognized Developer
Flag Singapore
Thanks Meter: 3,355
 
Donate to Me
More
Quote:
Originally Posted by treare

Downloaded the latest 1.3. It opens up but again: only the included (gray) fonts work.

Quote:
Originally Posted by treare

There's a new version in xposed repo that doesn't crash but doesn't work either


Did both of you receive a warning that the folder you have selected is emulated? Also, what is the the path that is shown after selecting the folder
Post Reply Subscribe to Thread

Guest Quick Reply (no urls or BBcode)
Message:
Previous Thread Next Thread
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes