Tabhost with icons

walterf25

Expert
Licensed User
Longtime User
Hello all, i'm working on an app where i'm adding a tabhost with icons, but i seem to have came across an issue where i can see the tabs but i don't see the images on each tab, maybe this is an issue related to the custom rom i'm using in my phone, i receive this error in the unfiltered logs, maybe someone has any ideas about this!

Calling main entry com.android.commands.am.Am
GC_CONCURRENT freed 468K, 9% free 10936K/11911K, paused 12ms+22ms, total 55ms
START {act=android.intent.action.MAIN cat=[android.intent.category.LAUNCHER] flg=0x10000000 cmp=com.genesis.tabhost/.main u=0} from pid 31865


Generate customized icon for com.genesis.tabhost.png
java.io.FileNotFoundException: /data/system/customized_icons/com.genesis.tabhost.png: open failed: EACCES (Permission denied)
at libcore.io.IoBridge.open(IoBridge.java:416)
at java.io.FileOutputStream.<init>(FileOutputStream.java:88)
at java.io.FileOutputStream.<init>(FileOutputStream.java:73)
at miui.content.res.IconCustomizer.saveCustomizedIconBitmap(IconCustomizer.java:225)
at android.app.MiuiThemeHelper.getDrawable(MiuiThemeHelper.java:76)
at android.content.pm.PackageItemInfo.loadIcon(PackageItemInfo.java:143)
at com.android.internal.widget.ActionBarView.<init>(ActionBarView.java:251)
at java.lang.reflect.Constructor.constructNative(Native Method)
at java.lang.reflect.Constructor.newInstance(Constructor.java:417)
at android.view.LayoutInflater.createView(LayoutInflater.java:587)
at android.view.LayoutInflater.createViewFromTag(LayoutInflater.java:687)
at android.view.LayoutInflater.rInflate(LayoutInflater.java:746)
at android.view.LayoutInflater.rInflate(LayoutInflater.java:749)
at android.view.LayoutInflater.inflate(LayoutInflater.java:489)
at android.view.LayoutInflater.inflate(LayoutInflater.java:396)
at android.view.LayoutInflater.inflate(LayoutInflater.java:352)
at com.android.internal.policy.impl.PhoneWindow.generateLayout(PhoneWindow.java:2832)
at com.android.internal.policy.impl.PhoneWindow.installDecor(PhoneWindow.java:2892)
at com.android.internal.policy.impl.PhoneWindow.getDecorView(PhoneWindow.java:1578)
at com.android.internal.policy.impl.PhoneWindowManager.addStartingWindow(PhoneWindowManager.java:1572)
at com.android.server.wm.WindowManagerService$H.handleMessage(WindowManagerService.java:6987)
at android.os.Handler.dispatchMessage(Handler.java:99)
at android.os.Looper.loop(Looper.java:137)
at com.android.server.wm.WindowManagerService$WMThread.run(WindowManagerService.java:828)
Caused by: libcore.io.ErrnoException: open failed: EACCES (Permission denied)
at libcore.io.Posix.open(Native Method)
at libcore.io.BlockGuardOs.open(BlockGuardOs.java:110)
at libcore.io.IoBridge.open(IoBridge.java:400)
... 23 more

i'm running android version 4.1.2
on Mui.us Rom version 2.12.7

has anyone came across this issue?

Thanks All!
 
Top