Hello,
I've already posted this in --> Android Development and Hacking --> Android Apps and Games>
but it hasn't had any replies there so I thought I'd post it here too.
I've been working on porting the sgs3 clockpackage.apk
I've gotten to a point where all the touchwiz dependencies are removed/internalized and it should install (in theory) but it doesn't. I'm wondering if it is because of hardware limitations on my i9000 as I've noticed that the world clock is now a 3d model on the sgs3.
Maybe if there is someone with a Sgs2 or another phone a little bit more powerful might be able to try it out please.
I was wondering if someone with a bit of knowledge in apks and smali might be able to look at it for me, or if anyone is willing to work together to get this to work.
Just so you know I've been working by following this thread by Tortel1210 http://forum.xda-developers.com/show...php?p=21540104 his instructions are here http://epiccm.blogspot.fr/2012/01/po...s-for-cm7.html
And before you ask, yes, I have tried contacting Tortel1210 but he hasn't responded to any of my messages or thread replies.
Like I said, it is not yet working for me, so please don't post "It's not working" because I already know that.
The goal is to find out WHY it isn't working and to fix it.
Here is a link to the apk. It is CWM flashable, but if you have any trouble with the package, take out the apk and push it across manually and set your permissions.
http://www.mediafire.com/download.php?v6183n77n6xn336
and if anyone is having trouble decompiling ICS apks there is a program here I've been using http://forum.xda-developers.com/show....php?t=1577025 AutoAPKTool 2.0.4 by xavierjohn22 and edited by agat63 to work more successfully with ICS apks
Here is the android manifest if anyone wants to take a look at that too. Maybe there is something obvious that I missed...
<?xml version="1.0" encoding="utf-8"?>
<manifest android:versionCode="1" android:versionName="1.0" package="com.sec.android.app.clockpackage"
xmlns:android="http://schemas.android.com/apk/res/android">
<permission android:label="READ_WCCONTENT" android:name="com.sec.android.app.clockpackage.per mission.READ_WCCONTENT" androidrotectionLevel="normal" />
<permission android:label="WRITE_WCCONTENT" android:name="com.sec.android.app.clockpackage.per mission.WRITE_WCCONTENT" androidrotectionLevel="normal" />
<permission android:label="READ_ALARM" android:name="com.sec.android.app.clockpackage.per mission.READ_ALARM" androidrotectionLevel="normal" />
<permission android:label="WRITE_ALARM" android:name="com.sec.android.app.clockpackage.per mission.WRITE_ALARM" androidrotectionLevel="normal" />
<application android:label="@string/app_name" android:icon="@drawable/icon">
<activity android:theme="@style/Theme.CustomTheme" android:label="@string/app_name" android:name=".ClockPackage" android:configChanges="orientation|screenSize">
<intent-filter>
<action android:name="android.intent.action.MAIN" />
<action android:name=".TIMER_ACTION" />
<category android:name="android.intent.category.LAUNCHER" />
</intent-filter>
</activity>
<activity android:label="@string/alarm" android:name=".alarm.Alarm" android:configChanges="orientation|screenSize" android:windowNoTitle="true">
<intent-filter android:label="alternativelistCreate">
<category android:name="android.intent.category.ALTERNATIVE" />
<category android:name="android.intent.category.SELECTED_ALT ERNATIVE" />
<category android:name="android.intent.category.DEFAULT" />
<data android:scheme="content" android:host="com.sec.android.app.clockpackage" androidath="/alarmlist/" />
<data android:scheme="content" android:host="com.sec.android.app.clockpackage" androidath="/alarmcreate/" />
<action android:name="android.intent.action.VIEW" />
</intent-filter>
</activity>
<activity android:theme="@style/ClockTheme" android:label="@string/set_alarm" android:name=".alarm.AlarmDetail" android:taskAffinity="" android:excludeFromRecents="true" android:configChanges="keyboardHidden|orientation| screenSize" android:windowSoftInputMode="stateAlwaysHidden|adj ustPan" />
<activity android:theme="@android:style/Theme.NoTitleBar" android:name=".alarm.AlarmAlert" android:taskAffinity="" android:excludeFromRecents="true" android:launchMode="singleInstance" android:configChanges="keyboardHidden|orientation| screenSize" />
<activity android:theme="@android:style/Theme.NoTitleBar" android:name=".alarm.AlarmSmartAlert" android:taskAffinity="" android:excludeFromRecents="true" android:launchMode="singleInstance" android:configChanges="orientation|screenSize" />
<activity android:theme="@android:style/Theme.NoTitleBar" android:name=".alarm.AlarmBriefingAlert" android:taskAffinity="" android:excludeFromRecents="true" android:launchMode="singleInstance" android:configChanges="orientation|screenSize" />
<activity android:label="@string/alarmrepeat" android:name=".alarm.AlarmRepeat" />
<activity android:theme="@style/ClockTheme" android:label="@string/snooze" android:name=".alarm.AlarmSnooze" android:configChanges="keyboardHidden|orientation| screenSize" />
<activity android:theme="@style/ClockTheme" android:label="@string/alarm_smartalarm" android:name=".alarm.AlarmSmartAlarm" android:configChanges="keyboardHidden|orientation| screenSize" />
<activity android:theme="@style/ClockTheme" android:label="@string/delete" android:name=".alarm.AlarmDelete" />
<activity android:label="@string/alarm_setting_title" android:name=".alarm.AlarmSetting" />
<activity android:label="@string/alarm_setting_title" android:name=".alarm.SettingsActivity" android:taskAffinity="" android:excludeFromRecents="true" android:configChanges="orientation|screenSize" />
<activity android:label="@string/auto_power_up_setting" android:name=".alarm.AutoPowerupSetting" />
<activity android:theme="@android:style/Theme.Translucent" android:name=".alarm.HandleSetAlarm" androidermission="com.android.alarm.permission.S ET_ALARM" android:taskAffinity="" android:excludeFromRecents="true" android:launchMode="singleInstance" android:configChanges="orientation|screenSize">
<intent-filter>
<action android:name="android.intent.action.SET_ALARM" />
<action android:name="com.samsung.sec.android.clockpackage .alarm.NOTIFY_ALARM_DIRECTSAVED" />
<category android:name="android.intent.category.DEFAULT" />
</intent-filter>
</activity>
<receiver android:name=".alarm.AlarmReceiver">
<intent-filter>
<action android:name="android.intent.action.BOOT_COMPLETED " />
<action android:name="android.intent.action.TIME_SET" />
<action android:name="android.intent.action.TIMEZONE_CHANG ED" />
<action android:name="com.samsung.sec.android.clockpackage .alarm.ALARM_ALERT" />
<action android:name="android.intent.action.SET_ALARM" />
<action android:name="com.samsung.sec.android.clockpackage .alarm.NOTIFY_ALARM_DIRECTSAVED" />
<action android:name="com.samsung.sec.android.clockpackage .alarm.START_INFO_ALARM" />
<action android:name="com.sec.android.clockpackage.ALARM_A PPWIDGET_EDIT" />
<action android:name="android.intent.action.LOCALE_CHANGED " />
<action android:name="com.android.calendar.preference.CscR eceiver" />
</intent-filter>
</receiver>
<provider android:name=".alarm.AlarmProvider" android:authorities="com.samsung.sec.android.clock package" />
<service android:name=".alarm.AlarmAlertInCallService" />
<service android:name=".alarm.AlarmSmartAlertInCallService" />
<service android:name=".alarm.AlarmBriefingAlertInCallServi ce" />
<receiver android:label="@string/alarm" android:name=".alarmwidget.AlarmWidgetProvider">
<meta-data android:name="android.appwidget.provider" android:resource="@xml/alarmwidget_info" />
<meta-data android:name="com.sec.android.appwidget.widgetinfo " android:resource="@xml/alarmwidget_provider_info" />
<intent-filter>
<action android:name="com.sec.android.widgetapp.APPWIDGET_ RESIZE" />
<action android:name="android.appwidget.action.APPWIDGET_U PDATE" />
<action android:name="com.sec.android.clockpackage.ALARM_A PPWIDGET_UPDATE" />
<action android:name="com.sec.android.clockpackage.ALARM_A PPWIDGET_SELECT" />
<action android:name="com.samsung.sec.android.clockpackage .alarm.NOTIFY_ALARM_CHANGE" />
</intent-filter>
</receiver>
<service android:name=".alarmwidget.AlarmWidgetService" androidermission="android.permission.BIND_REMOTE VIEWS" android:exported="false" />
<receiver android:name=".alarmwidget.AlarmWidgetProxy" android:exported="false" />
<activity android:label="@string/worldclock" android:name=".worldclock.WCMain">
<intent-filter>
<action android:name="android.intent.action.MAIN" />
</intent-filter>
<meta-data android:name="com.samsung.3dlist.disable" android:value="true" />
</activity>
<activity android:theme="@android:style/Theme.NoTitleBar" android:name="com.samsung.stri.s1worldclock.Ui3dMa inActivity" android:screenOrientation="portrait" android:configChanges="locale" />
<activity android:theme="@style/ClockTheme" android:name=".worldclock.WCCities" android:configChanges="orientation|screenSize" android:windowSoftInputMode="stateAlwaysHidden">
<intent-filter>
<category android:name="android.intent.category.ALTERNATIVE" />
<category android:name="android.intent.category.SELECTED_ALT ERNATIVE" />
<category android:name="android.intent.category.DEFAULT" />
<data android:scheme="content" android:host="com.sec.android.app.clockpackage.wor ldclock" androidath="/worldclock/" />
<action android:name="android.intent.action.VIEW" />
</intent-filter>
</activity>
<activity android:theme="@style/ClockTheme" android:label="@string/wc_delete" android:name=".worldclock.WCDelete" android:configChanges="orientation|screenSize">
<meta-data android:name="com.samsung.3dlist.disable" android:value="true" />
</activity>
<activity android:label="@string/wc_dst_settings" android:name=".worldclock.WCDST" android:configChanges="orientation|screenSize" />
<activity android:theme="@style/ClockTheme" android:label="@string/wc_reorder" android:name=".worldclock.WCReOrder" android:configChanges="orientation|screenSize">
<meta-data android:name="com.samsung.3dlist.disable" android:value="true" />
</activity>
<provider android:name=".worldclock.common.DataContentProvid er" android:readPermission="com.sec.android.app.clockp ackage.permission.READ_WCCONTENT" android:writePermission="com.sec.android.app.clock package.permission.WRITE_WCCONTENT" android:authorities="com.sec.android.provider.stri _s1_worldclock" />
<activity android:label="@string/stopwatch" android:name=".stopwatch.Stopwatch" />
<activity android:theme="@android:style/Theme.NoTitleBar" android:label="@string/timer" android:name=".timer.Timer">
<intent-filter>
<action android:name="android.intent.action.MAIN" />
</intent-filter>
</activity>
<activity android:theme="@style/ClockTheme" android:label="@string/setting" android:name=".timer.TimerDetail" android:configChanges="orientation|screenSize" android:windowSoftInputMode="stateAlwaysHidden|adj ustPan" />
<activity android:theme="@android:style/Theme.NoTitleBar" android:name=".timer.TimerAlarm" android:taskAffinity="" android:excludeFromRecents="true" android:launchMode="singleInstance" android:configChanges="keyboardHidden|orientation| screenSize" />
<service android:name=".timer.TimerService">
<intent-filter>
<action android:name=".timer.popup" />
<action android:name=".timer.playsound" />
</intent-filter>
</service>
<receiver android:name=".timer.TimerReceiver">
<intent-filter>
<action android:name=".timer.popup" />
<action android:name=".timer.playsound" />
</intent-filter>
</receiver>
<activity android:theme="@android:style/Theme.DeviceDefault.NoActionBar" android:label="@string/desk_app_name" android:name=".deskclock.CradleMain" android:launchMode="singleTask" android:configChanges="orientation|screenSize">
<meta-data android:name="android.dock_home" android:value="true" />
<intent-filter>
<action android:name="android.intent.action.MAIN" />
<category android:name="android.intent.category.DEFAULT" />
<category android:name="android.intent.category.DESK_DOCK" />
</intent-filter>
</activity>
<activity android:theme="@android:style/Theme.Wallpaper" android:label="@string/desk_app_name" android:name=".deskclock.CradleMainTab" android:launchMode="singleTask" android:configChanges="orientation|screenSize">
<meta-data android:name="android.dock_home" android:value="true" />
<intent-filter>
<action android:name="android.intent.action.MAIN" />
<category android:name="android.intent.category.DEFAULT" />
</intent-filter>
</activity>
<activity android:theme="@style/ClockTheme" android:label="@string/cradle_home_settings" android:name=".deskclock.CradleHomeSettingsTab" android:launchMode="singleTask">
<intent-filter>
<action android:name="android.intent.action.MAIN" />
<category android:name="android.intent.category.DESK_DOCK" />
</intent-filter>
</activity>
<activity android:theme="@style/ClockTheme" android:label="@string/cradle_home_settings" android:name=".deskclock.CradleHomeSettings" android:launchMode="singleTask">
<intent-filter>
<action android:name="android.intent.action.MAIN" />
<category android:name="android.intent.category.DESK_DOCK" />
</intent-filter>
</activity>
<activity android:theme="@style/ClockTheme" android:label="@string/setting_weather" android:name=".deskclock.CradleWeatherSettings" android:launchMode="singleTask" android:configChanges="orientation|screenSize">
<intent-filter>
<action android:name="android.intent.action.MAIN" />
<category android:name="android.intent.category.DESK_DOCK" />
</intent-filter>
</activity>
<activity android:label="@string/pick_wallpaper" android:name=".deskclock.CradleWallpaperChooser" android:screenOrientation="nosensor" android:configChanges="locale" android:finishOnCloseSystemDialogs="true">
<intent-filter>
<action android:name="android.intent.action.MAIN" />
<category android:name="android.intent.category.DESK_DOCK" />
</intent-filter>
</activity>
</application>
<permission android:label="READ_CLOCK" android:name="com.sec.android.permission.READ_CLOC K" androidrotectionLevel="normal" />
<uses-permission android:name="android.permission.WAKE_LOCK" />
<uses-permission android:name="android.permission.VIBRATE" />
<uses-permission android:name="android.permission.READ_PHONE_STATE" />
<uses-permission android:name="android.permission.RECEIVE_BOOT_COMP LETED" />
<uses-permission android:name="android.permission.STATUS_BAR" />
<uses-permission android:name="android.permission.GET_TASKS" />
<uses-permission android:name="android.permission.WRITE_SETTINGS" />
<uses-permission android:name="android.permission.DISABLE_KEYGUARD" />
<uses-permission android:name="android.permission.ACCESS_FINE_LOCAT ION" />
<uses-permission android:name="android.permission.READ_CALENDAR" />
<uses-permission android:name="android.permission.ACCESS_COARSE_LOC ATION" />
<uses-permission android:name="android.permission.ACCESS_NETWORK_ST ATE" />
<uses-permission android:name="com.sec.android.daemonapp.ap.accuwea ther.permission.ACCU_DAEMON_ACCESS_INTENT" />
<uses-permission android:name="com.sec.android.daemonapp.ap.yahoost ock.stockclock.permission.YAHOO_DAEMON_ACCESS_PROV IDER" />
<uses-permission android:name="com.sec.android.daemonapp.ap.yahoost ock.stockclock.permission.YAHOO_DAEMON_ACCESS_INTE NT" />
<uses-permission android:name="com.sec.android.daemonapp.ap.yahoone ws.permission.YAHOO_DAEMON_ACCESS_PROVIDER" />
<uses-permission android:name="com.sec.android.daemonapp.ap.yahoone ws.permission.YAHOO_DAEMON_ACCESS_INTENT" />
<uses-permission android:name="com.sec.android.daemonapp.ap.kweathe r.permission.KW_DAEMON_ACCESS_INTENT" />
<uses-permission android:name="com.sec.android.widgetapp.ap.edaily. stockclock.permission.EDAILY_DAEMON_ACCESS_PROVIDE R" />
<uses-permission android:name="com.sec.android.widgetapp.ap.edaily. stockclock.permission.EDAILY_DAEMON_ACCESS_INTENT" />
<uses-permission android:name="com.sec.android.daemonapp.ap.yonhapn ews.permission.YONHAP_DAEMON_ACCESS_PROVIDER" />
<uses-permission android:name="com.sec.android.widgetapp.ap.yonhapn ews.permission.YONHAP_DAEMON_ACCESS_INTENT" />
<uses-permission android:name="com.sec.android.daemonapp.ap.sinawea ther.permission.SINA_DAEMON_ACCESS_INTENT" />
<uses-permission android:name="com.sec.android.widgetapp.ap.sinasto ck.stockclock.permission.SINA_DAEMON_ACCESS_PROVID ER" />
<uses-permission android:name="com.sec.android.widgetapp.ap.sinasto ck.stockclock.permission.SINA_DAEMON_ACCESS_INTENT " />
<uses-permission android:name="com.sec.android.daemonapp.ap.sinanew s.permission.SINA_DAEMON_ACCESS_PROVIDER" />
<uses-permission android:name="com.sec.android.widgetapp.ap.sinanew s.permission.SINA_DAEMON_ACCESS_INTENT" />
<uses-permission android:name="android.permission.RECORD_AUDIO" />
<uses-sdk android:minSdkVersion="14" android:targetSdkVersion="15" />
</manifest>
if anyone wants the original clockpackage.apk from the Sgs3 so they can see what things I've edited, let me know and I'll post a link
ps. here is a link to my other thread where I have the touchwiz clockpackage working from a GB build on any ICS rom
http://forum.xda-developers.com/show....php?t=1558337
I just noticed that I overlooked something in the manifest.
It is asking for some permissions for some outside widgets and stuff
<uses-permission android:name="com.sec.android.daemonapp.ap.accuwea ther.permission.ACCU_DAEMON_ACCESS_INTENT" />
<uses-permission android:name="com.sec.android.daemonapp.ap.yahoost ock.stockclock.permission.YAHOO_DAEMON_ACCESS_PROV IDER" />
<uses-permission android:name="com.sec.android.daemonapp.ap.yahoost ock.stockclock.permission.YAHOO_DAEMON_ACCESS_INTE NT" />
<uses-permission android:name="com.sec.android.daemonapp.ap.yahoone ws.permission.YAHOO_DAEMON_ACCESS_PROVIDER" />
<uses-permission android:name="com.sec.android.daemonapp.ap.yahoone ws.permission.YAHOO_DAEMON_ACCESS_INTENT" />
<uses-permission android:name="com.sec.android.daemonapp.ap.kweathe r.permission.KW_DAEMON_ACCESS_INTENT" />
<uses-permission android:name="com.sec.android.widgetapp.ap.edaily. stockclock.permission.EDAILY_DAEMON_ACCESS_PROVIDE R" />
<uses-permission android:name="com.sec.android.widgetapp.ap.edaily. stockclock.permission.EDAILY_DAEMON_ACCESS_INTENT" />
<uses-permission android:name="com.sec.android.daemonapp.ap.yonhapn ews.permission.YONHAP_DAEMON_ACCESS_PROVIDER" />
<uses-permission android:name="com.sec.android.widgetapp.ap.yonhapn ews.permission.YONHAP_DAEMON_ACCESS_INTENT" />
<uses-permission android:name="com.sec.android.daemonapp.ap.sinawea ther.permission.SINA_DAEMON_ACCESS_INTENT" />
<uses-permission android:name="com.sec.android.widgetapp.ap.sinasto ck.stockclock.permission.SINA_DAEMON_ACCESS_PROVID ER" />
<uses-permission android:name="com.sec.android.widgetapp.ap.sinasto ck.stockclock.permission.SINA_DAEMON_ACCESS_INTENT " />
<uses-permission android:name="com.sec.android.daemonapp.ap.sinanew s.permission.SINA_DAEMON_ACCESS_PROVIDER" />
<uses-permission android:name="com.sec.android.widgetapp.ap.sinanew s.permission.SINA_DAEMON_ACCESS_INTENT" />
I'll try to either port those over too, or to remove any references from the apk, manifest and smali.
It is already a pretty large size app (20mb) I'm worried that if it needs these other widgets and stuff it will be too big to fit into the /system/app folder of some roms
I'll take a look at these permissions when I get some spare time and see if I can get this thing working
I've been doing a little bit more work on porting this apk and yesterday I removed the lines from the manifest linking to the various touchwiz widgets, I also disabled the smart alarm from the menus (which is wanting to use the TW widgets).
The apk installs and is visible in the app drawer, I ran a logcat to see what was going on and I got this.
Code:
I/dalvikvm( 4088): Could not find method com.sec.android.app.CscFeature.getInsta
nce, referenced from method com.sec.android.app.clockpackage...
So I managed to search and find this thread I noticed a response from wanam saying that it was looking for things in the framework.jar
So I added the missing CscFeature stuff from the framework.jar from the Sgs3, but now I'm getting new errors in the logcat results...
Code:
I/ActivityManager( 223): START {act=android.intent.action.MAIN cat=[android.intent.category.LAUNCHER] flg=0x10200000 cmp=com.sec.android.app.clockpackage/.ClockPackage} from pid 660
I/ActivityManager( 223): Start proc com.sec.android.app.clockpackage for activity com.sec.android.app.clockpackage/.ClockPackage: pid=2450 uid=10011 gids={}
D/OpenGLRenderer( 660): Flushing caches (mode 1)
D/dalvikvm( 2450): GC_CONCURRENT freed 162K, 6% free 8323K/8839K, paused 2ms+3ms
D/dalvikvm( 2450): GC_CONCURRENT freed 154K, 6% free 8704K/9223K, paused 1ms+2ms
D/OpenGLRenderer( 660): Flushing caches (mode 0)
I/ActivityThread( 2450): Pub com.sec.android.provider.stri_s1_worldclock: com.sec.android.app.clockpackage.worldclock.common.DataContentProvider
I/ActivityThread( 2450): Pub com.samsung.sec.android.clockpackage: com.sec.android.app.clockpackage.alarm.AlarmProvider
D/dalvikvm( 2450): GC_FOR_ALLOC freed 33K, 7% free 9030K/9607K, paused 28ms
D/dalvikvm( 2450): GC_CONCURRENT freed 439K, 10% free 9030K/9927K, paused 1ms+2ms
D/dalvikvm( 2450): GC_FOR_ALLOC freed 53K, 10% free 9006K/9927K, paused 17ms
I/dalvikvm-heap( 2450): Grow heap (frag case) to 10.361MB for 1280016-byte allocation
D/dalvikvm( 2450): GC_CONCURRENT freed <1K, 9% free 10255K/11207K, paused 2ms+2ms
D/dalvikvm( 2450): GC_FOR_ALLOC freed 0K, 9% free 10256K/11207K, paused 16ms
I/dalvikvm-heap( 2450): Grow heap (frag case) to 10.887MB for 552316-byte allocation
D/dalvikvm( 2450): GC_FOR_ALLOC freed 0K, 9% free 10795K/11783K, paused 18ms
D/Alarm ( 2450): onResume called
I/dalvikvm( 2450): Failed resolving Lcom/sec/android/touchwiz/widget/TwAbsListView$4; interface 122 'Landroid/hardware/motion/MRListener;'
W/dalvikvm( 2450): Link of class 'Lcom/sec/android/touchwiz/widget/TwAbsListView$4;' failed
E/dalvikvm( 2450): Could not find class 'com.sec.android.touchwiz.widget.TwAbsListView$4', referenced from method com.sec.android.touchwiz.widget.TwAbsListView.<init>
W/dalvikvm( 2450): VFY: unable to resolve new-instance 911 (Lcom/sec/android/touchwiz/widget/TwAbsListView$4;) in Lcom/sec/android/touchwiz/widget/TwAbsListView;
D/dalvikvm( 2450): VFY: replacing opcode 0x22 at 0x0064
I/dalvikvm( 2450): Failed resolving Lcom/sec/android/touchwiz/widget/TwAbsListView$4; interface 122 'Landroid/hardware/motion/MRListener;'
W/dalvikvm( 2450): Link of class 'Lcom/sec/android/touchwiz/widget/TwAbsListView$4;' failed
E/dalvikvm( 2450): Could not find class 'com.sec.android.touchwiz.widget.TwAbsListView$4', referenced from method com.sec.android.touchwiz.widget.TwAbsListView.<init>
W/dalvikvm( 2450): VFY: unable to resolve new-instance 911 (Lcom/sec/android/touchwiz/widget/TwAbsListView$4;) in Lcom/sec/android/touchwiz/widget/TwAbsListView;
D/dalvikvm( 2450): VFY: replacing opcode 0x22 at 0x00cd
I/dalvikvm( 2450): Could not find method com.sec.android.touchwiz.widget.TwAbsListView.CheckStatusBarHide, referenced from method com.sec.android.touchwiz.widget.TwAbsListView.initAbsListView
W/dalvikvm( 2450): VFY: unable to resolve virtual method 5829: Lcom/sec/android/touchwiz/widget/TwAbsListView;.CheckStatusBarHide ()Z
D/dalvikvm( 2450): VFY: replacing opcode 0x6e at 0x0054
I/dalvikvm( 2450): Could not find method android.hardware.motion.MotionRecognitionManager.registerListenerEvent, referenced from method com.sec.android.touchwiz.widget.TwAbsListView.registerMotionListener
W/dalvikvm( 2450): VFY: unable to resolve virtual method 487: Landroid/hardware/motion/MotionRecognitionManager;.registerListenerEvent (Landroid/hardware/motion/MRListener;I)V
D/dalvikvm( 2450): VFY: replacing opcode 0x6e at 0x000f
I/dalvikvm( 2450): Could not find method android.hardware.motion.MotionRecognitionManager.unregisterListener, referenced from method com.sec.android.touchwiz.widget.TwAbsListView.unregisterMotionListener
W/dalvikvm( 2450): VFY: unable to resolve virtual method 489: Landroid/hardware/motion/MotionRecognitionManager;.unregisterListener (Landroid/hardware/motion/MRListener;)V
D/dalvikvm( 2450): VFY: replacing opcode 0x6e at 0x000d
I/dalvikvm( 2450): Could not find method android.hardware.motion.MotionRecognitionManager.setMotionAngle, referenced from method com.sec.android.touchwiz.widget.TwAbsListView.onTouchEvent
W/dalvikvm( 2450): VFY: unable to resolve virtual method 488: Landroid/hardware/motion/MotionRecognitionManager;.setMotionAngle (Landroid/hardware/motion/MRListener;I)V
D/dalvikvm( 2450): VFY: replacing opcode 0x74 at 0x001e
I/dalvikvm( 2450): Could not find method com.sec.android.touchwiz.widget.TwAbsListView.getVelocityPolynomialType, referenced from method com.sec.android.touchwiz.widget.TwAbsListView.onTouchEvent
W/dalvikvm( 2450): VFY: unable to resolve virtual method 5972: Lcom/sec/android/touchwiz/widget/TwAbsListView;.getVelocityPolynomialType ()I
D/dalvikvm( 2450): VFY: replacing opcode 0x74 at 0x0711
I/dalvikvm( 2450): Failed resolving Lcom/sec/android/touchwiz/widget/TwAbsListView$4; interface 122 'Landroid/hardware/motion/MRListener;'
W/dalvikvm( 2450): Link of class 'Lcom/sec/android/touchwiz/widget/TwAbsListView$4;' failed
D/dalvikvm( 2450): DexOpt: unable to opt direct call 0x164e at 0x66 in Lcom/sec/android/touchwiz/widget/TwAbsListView;.<init>
I/dalvikvm( 2450): Failed resolving Lcom/sec/android/touchwiz/widget/TwAbsListView$4; interface 122 'Landroid/hardware/motion/MRListener;'
W/dalvikvm( 2450): Link of class 'Lcom/sec/android/touchwiz/widget/TwAbsListView$4;' failed
D/dalvikvm( 2450): DexOpt: unable to opt direct call 0x164e at 0xd1 in Lcom/sec/android/touchwiz/widget/TwAbsListView;.<init>
D/AndroidRuntime( 2450): Shutting down VM
W/dalvikvm( 2450): threadid=1: thread exiting with uncaught exception (group=0x40a5c1f8)
E/AndroidRuntime( 2450): FATAL EXCEPTION: main
E/AndroidRuntime( 2450): java.lang.RuntimeException: Unable to resume activity {com.sec.android.app.clockpackage/com.sec.android.app.clockpackage.ClockPackage}: java.lang.RuntimeException: Unable to resume activity {com.sec.android.app.clockpackage/com.sec.android.app.clockpackage.alarm.Alarm}: android.view.InflateException: Binary XML file line #15: Error inflating class com.sec.android.app.clockpackage.alarm.CustomListView
E/AndroidRuntime( 2450): at android.app.ActivityThread.performResumeActivity(ActivityThread.java:2444)
E/AndroidRuntime( 2450): at android.app.ActivityThread.handleResumeActivity(ActivityThread.java:2472)
E/AndroidRuntime( 2450): at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:1986)
E/AndroidRuntime( 2450): at android.app.ActivityThread.access$600(ActivityThread.java:123)
E/AndroidRuntime( 2450): at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1147)
E/AndroidRuntime( 2450): at android.os.Handler.dispatchMessage(Handler.java:99)
E/AndroidRuntime( 2450): at android.os.Looper.loop(Looper.java:137)
E/AndroidRuntime( 2450): at android.app.ActivityThread.main(ActivityThread.java:4424)
E/AndroidRuntime( 2450): at java.lang.reflect.Method.invokeNative(Native Method)
E/AndroidRuntime( 2450): at java.lang.reflect.Method.invoke(Method.java:511)
E/AndroidRuntime( 2450): at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:784)
E/AndroidRuntime( 2450): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:551)
E/AndroidRuntime( 2450): at dalvik.system.NativeStart.main(Native Method)
E/AndroidRuntime( 2450): Caused by: java.lang.RuntimeException: Unable to resume activity {com.sec.android.app.clockpackage/com.sec.android.app.clockpackage.alarm.Alarm}: android.view.InflateException: Binary XML file line #15: Error inflating class com.sec.android.app.clockpackage.alarm.CustomListView
E/AndroidRuntime( 2450): at android.app.ActivityThread.performResumeActivity(ActivityThread.java:2444)
E/AndroidRuntime( 2450): at android.app.LocalActivityManager.moveToState(LocalActivityManager.java:178)
E/AndroidRuntime( 2450): at android.app.LocalActivityManager.dispatchResume(LocalActivityManager.java:523)
E/AndroidRuntime( 2450): at android.app.ActivityGroup.onResume(ActivityGroup.java:61)
E/AndroidRuntime( 2450): at android.app.Instrumentation.callActivityOnResume(Instrumentation.java:1154)
E/AndroidRuntime( 2450): at android.app.Activity.performResume(Activity.java:4539)
E/AndroidRuntime( 2450): at android.app.ActivityThread.performResumeActivity(ActivityThread.java:2434)
E/AndroidRuntime( 2450): ... 12 more
E/AndroidRuntime( 2450): Caused by: android.view.InflateException: Binary XML file line #15: Error inflating class com.sec.android.app.clockpackage.alarm.CustomListView
E/AndroidRuntime( 2450): at android.view.LayoutInflater.createView(LayoutInflater.java:606)
E/AndroidRuntime( 2450): at android.view.LayoutInflater.createViewFromTag(LayoutInflater.java:680)
E/AndroidRuntime( 2450): at android.view.LayoutInflater.rInflate(LayoutInflater.java:739)
E/AndroidRuntime( 2450): at android.view.LayoutInflater.inflate(LayoutInflater.java:489)
E/AndroidRuntime( 2450): at android.view.LayoutInflater.inflate(LayoutInflater.java:396)
E/AndroidRuntime( 2450): at android.view.LayoutInflater.inflate(LayoutInflater.java:352)
E/AndroidRuntime( 2450): at com.android.internal.policy.impl.PhoneWindow.setContentView(PhoneWindow.java:251)
E/AndroidRuntime( 2450): at android.app.Activity.setContentView(Activity.java:1835)
E/AndroidRuntime( 2450): at com.sec.android.app.clockpackage.alarm.Alarm.InitAlarmList(Alarm.java:240)
E/AndroidRuntime( 2450): at com.sec.android.app.clockpackage.alarm.Alarm.onResume(Alarm.java:738)
E/AndroidRuntime( 2450): at android.app.Instrumentation.callActivityOnResume(Instrumentation.java:1154)
E/AndroidRuntime( 2450): at android.app.Activity.performResume(Activity.java:4539)
E/AndroidRuntime( 2450): at android.app.ActivityThread.performResumeActivity(ActivityThread.java:2434)
E/AndroidRuntime( 2450): ... 18 more
E/AndroidRuntime( 2450): Caused by: java.lang.reflect.InvocationTargetException
E/AndroidRuntime( 2450): at java.lang.reflect.Constructor.constructNative(Native Method)
E/AndroidRuntime( 2450): at java.lang.reflect.Constructor.newInstance(Constructor.java:417)
E/AndroidRuntime( 2450): at android.view.LayoutInflater.createView(LayoutInflater.java:586)
E/AndroidRuntime( 2450): ... 30 more
E/AndroidRuntime( 2450): Caused by: java.lang.NoClassDefFoundError: com.sec.android.touchwiz.widget.TwAbsListView$4
E/AndroidRuntime( 2450): at com.sec.android.touchwiz.widget.TwAbsListView.<init>(TwAbsListView.java:7436)
E/AndroidRuntime( 2450): at com.sec.android.touchwiz.widget.TwListView.<init>(TwListView.java:160)
E/AndroidRuntime( 2450): at com.sec.android.touchwiz.widget.TwListView.<init>(TwListView.java:156)
E/AndroidRuntime( 2450): at com.sec.android.app.clockpackage.alarm.CustomListView.<init>(CustomListView.java:26)
E/AndroidRuntime( 2450): ... 33 more
W/ActivityManager( 223): Force finishing activity com.sec.android.app.clockpackage/.ClockPackage
W/ActivityManager( 223): Activity pause timeout for ActivityRecord{41981430 com.sec.android.app.clockpackage/.ClockPackage}
I/ActivityManager( 223): No longer want com.android.vending (pid 2146): hidden #16
I/Process ( 2450): Sending signal. PID: 2450 SIG: 9
W/InputManagerService( 223): Window already focused, ignoring focus gain of: [email protected]
I/ActivityManager( 223): Process com.sec.android.app.clockpackage (pid 2450) has died.
if anyone has any ideas let me know...
I am also stuck on similar errors regarding android/hardware/motion/ classes that are missing (specifically MotionRecognitionManager). This is not part of the Android SDK and I can't actually find this class on the Internet.
I am trying to port a Samsung app (Music Player) to CM10.1 because it has SoundAlive equalizer and CM10.1 sound sucks on i9100.
Let me know if you find that class somewhere, even as part of a framework.
Related
Im writing my first app, and right off the start, when creating a new project in eclipse, I get 2 errors in the manifest.
this is my manifest, note that I didn't change anything. The line of *'s is where eclipse gives me the error. It says;
"no resource identifier found for attribute 'allowBackup' in package 'android' ... line 11"
"no resource identifier found for attribute 'tragetSdkVersion' in package 'android' ... line 7"
<?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="com.helloworld"
android:versionCode="1"
android:versionName="1.0" >
<uses-sdk ****************************************************************************************
android:minSdkVersion="3"
android:targetSdkVersion="3" />
<application ****************************************************************************************
android:allowBackup="true"
android:icon="@drawable/ic_launcher"
android:label="@string/app_name"
android:theme="@style/AppTheme" >
<activity
android:name="com.helloworld.HelloWorld"
android:label="@string/app_name" >
<intent-filter>
<action android:name="android.intent.action.MAIN" />
<category android:name="android.intent.category.LAUNCHER" />
</intent-filter>
</activity>
</application>
</manifest>
thanks in advance!
Hello world!
I was testing and messing everything with my old tablet (ViewSonic gTablet), I was running ICS on it and, I've pulled my old Honeycomb stock launcher of and older rom on it, put on system/apps and chaged permissions, voi'la! It was running amazingly fast and without bugs, i was surprised at first time so I've decided to try it on my Galaxy s3.
Put on SGS3 the history was diferent, I am on CM10.1 too, and when I pushed it to system/apps and changed its permissions, when I try to launch it via 'home' key, it gives me an error. It would not run, so I've decompiled it, but as a noobie user I can't identify the problem with it.
So I've uploaded the honeycomb stock launcher from my old tablet rom here, and maybe someone who understands it may help me!
A Brief explanation of why I like too much the honeycomb stock launcher:
Honeycomb Stock Launcher has a beautiful animation when you go to your Apps drawer or just try to add icons and widgets to your homescreen, the launcher fly around your wallpaper, and it is super smooth, like the newest JB launchers.
So, please, someone help me! =))
Also, if someone wants it, i've made a honeycomb clock (google sourcers), it is exactly the same as the stock.
==/ UPDATE \==
Here is the Android Manifest, maybe the problem is here, I would expect bugs with xmls res values, with orientation bugs of course, but it should've run first.
<?xml version="1.0" encoding="utf-8"?>
<manifest android:sharedUserId="@string/sharedUserId" android:versionCode="13" android:versionName="3.2-140714" package="com.android.launcher"
xmlns:android="http://schemas.android.com/apk/res/android">
<original-package android:name="com.android.honey" />
<permission android:label="@string/permlab_install_shortcut" android:name="com.android.launcher.permission.INSTALL_SHORTCUT" androidrotectionLevel="normal" androidermissionGroup="android.permission-group.SYSTEM_TOOLS" android:description="@string/permdesc_install_shortcut" />
<permission android:label="@string/permlab_uninstall_shortcut" android:name="com.android.launcher.permission.UNINSTALL_SHORTCUT" androidrotectionLevel="normal" androidermissionGroup="android.permission-group.SYSTEM_TOOLS" android:description="@string/permdesc_uninstall_shortcut" />
<permission android:label="@string/permlab_read_settings" android:name="com.android.launcher.permission.READ_SETTINGS" androidrotectionLevel="normal" androidermissionGroup="android.permission-group.SYSTEM_TOOLS" android:description="@string/permdesc_read_settings" />
<permission android:label="@string/permlab_write_settings" android:name="com.android.launcher.permission.WRITE_SETTINGS" androidrotectionLevel="normal" androidermissionGroup="android.permission-group.SYSTEM_TOOLS" android:description="@string/permdesc_write_settings" />
<uses-permission android:name="android.permission.CALL_PHONE" />
<uses-permission android:name="android.permission.EXPAND_STATUS_BAR" />
<uses-permission android:name="android.permission.GET_TASKS" />
<uses-permission android:name="android.permission.READ_CONTACTS" />
<uses-permission android:name="android.permission.SET_WALLPAPER" />
<uses-permission android:name="android.permission.SET_WALLPAPER_HINTS" />
<uses-permission android:name="android.permission.VIBRATE" />
<uses-permission android:name="android.permission.WRITE_SETTINGS" />
<uses-permission android:name="android.permission.BIND_APPWIDGET" />
<uses-permission android:name="com.android.launcher.permission.READ_SETTINGS" />
<uses-permission android:name="com.android.launcher.permission.WRITE_SETTINGS" />
<application android:label="@string/application_name" android:icon="@drawable/ic_launcher_home" android:name="com.android.launcher2.LauncherApplication" androidrocess="@string/process" android:hardwareAccelerated="true" android:largeHeap="true" android:allowTaskReparenting="true" android:enabled="true">
<activity android:theme="@style/Theme" android:name="com.android.launcher2.Launcher" android:clearTaskOnLaunch="true" android:stateNotNeeded="true" android:launchMode="singleTask" android:windowSoftInputMode="adjustNothing">
<intent-filter>
<action android:name="android.intent.action.MAIN" />
<category android:name="android.intent.category.HOME" />
<category android:name="android.intent.category.DEFAULT" />
<category android:name="android.intent.category.MONKEY" />
</intent-filter>
</activity>
<activity android:theme="@style/Theme.WallpaperPicker" android:label="@string/pick_wallpaper" android:icon="@drawable/ic_launcher_wallpaper" android:name="com.android.launcher2.WallpaperChooser" android:finishOnCloseSystemDialogs="true" style="@style/config_orientation">
<intent-filter>
<action android:name="android.intent.action.SET_WALLPAPER" />
<category android:name="android.intent.category.DEFAULT" />
</intent-filter>
<meta-data android:name="android.wallpaper.preview" android:resource="@xml/wallpaper_picker_preview" />
</activity>
<receiver android:name="com.android.launcher2.InstallShortcutReceiver" androidermission="com.android.launcher.permission.INSTALL_SHORTCUT">
<intent-filter>
<action android:name="com.android.launcher.action.INSTALL_SHORTCUT" />
</intent-filter>
</receiver>
<receiver android:name="com.android.launcher2.UninstallShortcutReceiver" androidermission="com.android.launcher.permission.UNINSTALL_SHORTCUT">
<intent-filter>
<action android:name="com.android.launcher.action.UNINSTALL_SHORTCUT" />
</intent-filter>
</receiver>
<provider android:name="com.android.launcher2.LauncherProvider" android:readPermission="com.android.launcher.permission.READ_SETTINGS" android:writePermission="com.android.launcher.permission.WRITE_SETTINGS" android:authorities="com.android.launcher2.settings" />
</application>
</manifest>
Click to expand...
Click to collapse
No luck for me? (and for another users who will install it if they could)
='(
Android honeycomb was the best android
Sent from my GT-I9300 using xda app-developers app
Possible to port so you don't need to push to system/app?
Sent from my super rare, old Scroll Excel running Android 2.3 using the offical app.
DOES DAT APP RUN ON DEVICES SSTILL ROCKIN 2.3?
I have a certain App that was using different layouts for different activities, but much of the xml content was same. So I moved the content to a common xml and included that in the different layouts.
This is the common layout xml:
Code:
<LinearLayout xmlns:android="http;//schemas.android.com/apk/res/android"
xmlns:app="http;//schemas.android.com/apk/res-auto"
android:layout_width="fill_parent"
android:layout_height="fill_parent"
android:orientation="vertical"
android:background="@color/background_color">
<LinearLayout
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:layout_marginTop="0dp"
android:layout_marginLeft="10dp"
android:layout_marginRight="10dp"
android:orientation="horizontal" >
<ImageView
android:id="@+id/img_newslist"
android:layout_width="35dp"
android:layout_height="35dp"
android:scaleType="centerCrop"
android:layout_margin="0dp"
android:layout_gravity="center_vertical" />
<LinearLayout
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:padding="5dp"
android:orientation="vertical"
android:gravity="center_vertical">
<TextView
android:id="@+id/txt_newslistheading"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:maxLines="2"
android:textAppearance="?android:attr/textAppearanceMedium"
android:textColor="@color/text_color"
android:textSize="14sp"
android:text="Heading"/>
<TextView
android:id="@+id/txt_newslistdate"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginTop="5dp"
android:textColor="@color/text_color"
android:text="Date"
android:visibility="invisible"/>
</LinearLayout>
</LinearLayout>
</LinearLayout>
This is the layout xml that includes the above xml:
Code:
<include
android:layout="@layout/lsv_item_list"
android:id="@+id/lsv_item_recent"
xmlns:android="http;//schemas.android.com/apk/res/android"
xmlns:app="http;//schemas.android.com/apk/res-auto"/>
With these changes the app is failing at run time with the following error:
08-29 13:48:59.717 32104-32104/com.apps.nis D/AndroidRuntime﹕ Shutting down VM
08-29 13:48:59.717 32104-32104/com.apps.nis E/AndroidRuntime﹕ FATAL EXCEPTION: main
Process: com.apps.nis, PID: 32104
android.view.InflateException: Binary XML file line #1: Error inflating class include
at android.view.LayoutInflater.createViewFromTag(LayoutInflater.java:757)
at android.view.LayoutInflater.inflate(LayoutInflater.java:482)
at android.view.LayoutInflater.inflate(LayoutInflater.java:414)
at android.view.LayoutInflater.inflate(LayoutInflater.java:365)
at com.apps.nis.Adapter_Recent.getView(Adapter_Recent.java:43)
at android.widget.AbsListView.obtainView(AbsListView.java:2347)
at android.widget.ListView.makeAndAddView(ListView.java:1864)
at android.widget.ListView.fillDown(ListView.java:698)
at android.widget.ListView.fillFromTop(ListView.java:759)
at android.widget.ListView.layoutChildren(ListView.java:1673)
at android.widget.AbsListView.onLayout(AbsListView.java:2151)
at android.view.View.layout(View.java:15671)
at android.view.ViewGroup.layout(ViewGroup.java:5038)
at android.widget.RelativeLayout.onLayout(RelativeLayout.java:1076)
at android.view.View.layout(View.java:15671)
at android.view.ViewGroup.layout(ViewGroup.java:5038)
at android.widget.FrameLayout.layoutChildren(FrameLayout.java:579)
at android.widget.FrameLayout.onLayout(FrameLayout.java:514)
at android.view.View.layout(View.java:15671)
at android.view.ViewGroup.layout(ViewGroup.java:5038)
at android.support.v4.view.ViewPager.onLayout(ViewPager.java:1594)
at android.view.View.layout(View.java:15671)
at android.view.ViewGroup.layout(ViewGroup.java:5038)
at android.widget.RelativeLayout.onLayout(RelativeLayout.java:1076)
at android.view.View.layout(View.java:15671)
at android.view.ViewGroup.layout(ViewGroup.java:5038)
at android.widget.FrameLayout.layoutChildren(FrameLayout.java:579)
at android.widget.FrameLayout.onLayout(FrameLayout.java:514)
at android.view.View.layout(View.java:15671)
at android.view.ViewGroup.layout(ViewGroup.java:5038)
at android.widget.LinearLayout.setChildFrame(LinearLayout.java:1703)
at android.widget.LinearLayout.layoutVertical(LinearLayout.java:1557)
at android.widget.LinearLayout.onLayout(LinearLayout.java:1466)
at android.view.View.layout(View.java:15671)
at android.view.ViewGroup.layout(ViewGroup.java:5038)
at android.widget.FrameLayout.layoutChildren(FrameLayout.java:579)
at android.widget.FrameLayout.onLayout(FrameLayout.java:514)
at android.view.View.layout(View.java:15671)
at android.view.ViewGroup.layout(ViewGroup.java:5038)
at android.widget.LinearLayout.setChildFrame(LinearLayout.java:1703)
at android.widget.LinearLayout.layoutVertical(LinearLayout.java:1557)
at android.widget.LinearLayout.onLayout(LinearLayout.java:1466)
at android.view.View.layout(View.java:15671)
at android.view.ViewGroup.layout(ViewGroup.java:5038)
at android.widget.FrameLayout.layoutChildren(FrameLayout.java:579)
at android.widget.FrameLayout.onLayout(FrameLayout.java:514)
at android.view.View.layout(View.java:15671)
at android.view.ViewGroup.layout(ViewGroup.java:5038)
at android.view.ViewRootImpl.performLayout(ViewRootImpl.java:2086)
at android.view.ViewRootImpl.performTraversals(ViewRootImpl.java:1843)
at android.view.ViewRootImpl.doTraversal(ViewRootImpl.java:1061)
at android.view.ViewRootImpl$TraversalRunnable.run(ViewRootImpl.java:5885)
at android.view.Choreographer$CallbackRecord.run(Choreographer.java:767)
at android.view.Choreographer.doCallbacks(Choreographer.java:580)
at android.view.Choreographer.doFrame(Choreographer.java:550)
at android.view.Choreographer$FrameDisplayEventReceiver.run(Choreographer.java:753)
at android.os.Handler.handleCallback(Handler.java:739)
at android.os.Handler.dispatchMessage(Handler.java:95)
at android.os.Looper.loop(Looper.java:135)
at android.app.ActivityThread.main(ActivityThread.java:5257)
at java.lang.reflect.Method.invoke(Native Method)
at java.lang.reflect.Method.invoke(Method.java:372)
at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:903)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:698)
Caused by: java.lang.Cla
Click to expand...
Click to collapse
Previously the app was working fine. Can somebody help me understand what I am doing wrong? The relevant code that is failing is as follows:
Code:
public View getView(final int position, View convertView, ViewGroup parent) {
View view = convertView;
ViewHolder holder;
if (view == null) {
LayoutInflater inflater = (LayoutInflater) activity
.getSystemService(Context.LAYOUT_INFLATER_SERVICE);
view = inflater.inflate(row, null);
holder = new ViewHolder();
view.setTag(holder);
} else {
holder = (ViewHolder) view.getTag();
}
if ((itemsLatest == null) || ((position + 1) > itemsLatest.size()))
return view;
if (position % 2 == 1) {
view.setBackgroundColor(row2Color);
} else {
view.setBackgroundColor(row1Color);
}
objLatestBean = itemsLatest.get(position);
holder.txt_newsheadinglatest=(TextView)view.findViewById(R.id.txt_newslistheading);
holder.txt_newsdatelatest=(TextView)view.findViewById(R.id.txt_newslistdate);
holder.img_newslatest=(ImageView)view.findViewById(R.id.img_newslist);
holder.txt_newsheadinglatest.setText(objLatestBean.getNewsHeading().toString());
holder.txt_newsdatelatest.setText(objLatestBean.getNewsDate().toString());
imageLoader.DisplayImage(Constant.getServerImageThumbs () + objLatestBean.getNewsImage().toString(), holder.img_newslatest);
return view;
}
PS: I have changed : to ; in the URL above. That is not an error.
Try to include this line in main layout XML file
Code:
<include xmlns:android="http;//schemas.android.com/apk/res/android"
xmlns:app="http;//schemas.android.com/apk/res-auto"
android:layout="@layout/lsv_item_list"
android:id="@+id/lsv_item_recent"/>
So, I recently found a liking in this app: https://play.google.com/store/apps/details?id=com.rootuninstaller.taskbarw8&hl=de
However, it seems that the only way it brings by itself to open the Panel is a XPosed Navbar edit (worthless, as I abolished it) and an annoying floating button.
It should be possible to invoke the expanding activity using an intent I surmise, but I haven't figured out how yet.
This is the Android manifest:
Code:
<manifest android:versionCode="2257" android:versionName="4.4" package="com.rootuninstaller.taskbarw8" platformBuildVersionCode="21" platformBuildVersionName="5.0.1-1624448">
<uses-sdk android:minSdkVersion="9" android:targetSdkVersion="21"/>
<permission-tree android:name="com.rootuninstaller.taskbarw8"/>
<permission android:name="com.rootuninstaller.taskbarw8.BROADCAST_PERMISSION" android:protectionLevel="1"/>
<uses-permission android:name="com.rootuninstaller.taskbarw8.BROADCAST_PERMISSION"/>
<uses-permission android:name="android.permission.SYSTEM_ALERT_WINDOW"/>
<uses-permission android:name="android.permission.CHANGE_CONFIGURATION"/>
<uses-permission android:name="android.permission.RECEIVE_BOOT_COMPLETED"/>
<uses-permission android:name="android.permission.GET_TASKS"/>
<uses-permission android:name="android.permission.ACCESS_WIFI_STATE"/>
<uses-permission android:name="android.permission.ACCESS_FINE_LOCATION"/>
<uses-permission android:name="android.permission.BLUETOOTH"/>
<uses-permission android:name="android.permission.BLUETOOTH_ADMIN"/>
<uses-permission android:name="android.permission.ACCESS_NETWORK_STATE"/>
<uses-permission android:name="android.permission.CHANGE_WIFI_STATE"/>
<uses-permission android:name="android.permission.READ_CONTACTS"/>
<uses-permission android:name="android.permission.WRITE_SETTINGS"/>
<uses-permission android:name="android.permission.KILL_BACKGROUND_PROCESSES"/>
<uses-permission android:name="android.permission.GET_ACCOUNTS"/>
<uses-permission android:name="android.permission.READ_CALL_LOG"/>
<uses-permission android:name="android.permission.CALL_PHONE"/>
<uses-permission android:name="com.android.browser.permission.READ_HISTORY_BOOKMARKS"/>
<uses-permission android:name="android.permission.CAMERA"/>
<uses-permission android:name="com.android.vending.BILLING"/>
<uses-permission android:name="android.permission.INTERNET"/>
<uses-permission android:name="android.permission.READ_PHONE_STATE"/>
<uses-permission android:name="android.permission.READ_SMS"/>
<uses-permission android:name="android.permission.READ_PROFILE"/>
<uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE"/>
<uses-permission android:name="android.permission.FLASHLIGHT"/>
<uses-permission android:name="android.permission.ACCESS_SUPERUSER"/>
<uses-feature android:name="android.hardware.location" android:required="false"/>
<uses-feature android:name="android.hardware.location.gps" android:required="false"/>
<uses-feature android:name="android.hardware.bluetooth" android:required="false"/>
<uses-feature android:name="android.hardware.wifi" android:required="false"/>
<uses-feature android:name="android.hardware.telephony" android:required="false"/>
<uses-feature android:name="android.hardware.camera" android:required="false"/>
<uses-feature android:name="android.hardware.camera.autofocus" android:required="false"/>
<application android:theme="@id/0x7F0F0079" android:label="@id/0x7F0E0023" android:icon="@id/0x7F020156" android:name="com.rootuninstaller.taskbarw8.TaskbarApp" android:allowBackup="true">
<activity android:theme="@id/0x7F0F0067" android:label="@id/0x7F0E0023" android:icon="@id/0x7F020156" android:name="com.rootuninstaller.taskbarw8.ui.MainActivity">
<intent-filter>
<action android:name="android.intent.action.MAIN"/>
<category android:name="android.intent.category.LAUNCHER"/>
</intent-filter>
</activity>
<activity android:label="@id/0x7F0E0076" android:name="com.rootuninstaller.taskbarw8.ui.ActionEditorActivity"/>
<activity android:label="@id/0x7F0E0078" android:name="com.rootuninstaller.taskbarw8.ui.TaskbarDesignActivity"/>
<activity android:label="@id/0x7F0E0113" android:name="com.rootuninstaller.taskbarw8.ui.FolderActivity" android:configChanges="1184" android:windowSoftInputMode="16"/>
<activity android:theme="@id/0x01030009" android:name="com.rootuninstaller.taskbarw8.model.action.ui.SearchLight" android:excludeFromRecents="true" android:screenOrientation="5"/>
<activity android:name="com.rootuninstaller.taskbarw8.ui.HelperActivity"/>
<service android:name="com.rootuninstaller.taskbarw8.service.TaskbarService" android:exported="true">
<intent-filter>
<action android:name="com.rootuninstaller.taskbarw8.action.TASK_BAR_EXPAND_PANEL"/>
</intent-filter>
</service>
<service android:name="com.rootuninstaller.taskbarw8.service.ControlService" android:exported="true">
<intent-filter>
<action android:name="action.com.rootuninstaller.taskbarw8.ACTION_TOAST"/>
</intent-filter>
The "com.rootuninstaller.taskbarw8.action.TASK_BAR_EXPAND_PANEL" is what I think is the key here.
(Sadly the developer won't reply to mails...)
Any help is appreciated:
-Rye-
I was able to get a hold of the LG Game Pad apk but I'm unable to get it to install so I wanted to put it here if anyone wants to take a crack at getting it installed.
Game Pad APK:
https://drive.google.com/file/d/1H0hpGShg43uH5ORicvqbYE815R_LCy9d/view?usp=sharing
or here is the full LG Velvet Apps backup (2.5gb):
https://drive.google.com/file/d/10gwZ3CKxyqckgoo2FN4oB8IW1LAQGKme/view?usp=sharing
The install error I am seeing is
[INSTALL_FAILED_SHARED_USER_INCOMPATIBLE: Reconciliation failed...: Package com.lge.gamepad has no signatures that match those in shared user android.uid.system; ignoring!]
I installed apktool and decoded the app. I assume something needs to changed in the manifest file, but I googled around a bit and I'm out of my depth. For anyone else looking at this thread, here is the manifest.xml:
Code:
<?xml version="1.0" encoding="utf-8" standalone="no"?><manifest xmlns:android="http://schemas.android.com/apk/res/android" android:sharedUserId="android.uid.system" package="com.lge.gamepad">
<uses-permission android:name="android.permission.BROADCAST_STICKY"/>
<permission android:name="android.permission.MANAGE_ACTIVITY_STACKS" android:protectionLevel="development|privileged|signature"/>
<meta-data android:name="android.allow_multiple_resumed_activities" android:value="true"/>
<application android:allowBackup="false" android:appComponentFactory="android.support.v4.app.CoreComponentFactory" android:icon="@drawable/lg_iconframe_game" android:label="@string/lg_game_pad" android:maxAspectRatio="2.4" android:resizeableActivity="false" android:supportsRtl="true" android:theme="@android:style/Theme.Holo.NoActionBar.Fullscreen">
<activity android:excludeFromRecents="true" android:exported="true" android:name="com.lge.gamepad.GamePadActivity" android:theme="@style/GamePadTheme">
<intent-filter>
<action android:name="com.lge.gamepad.intent.action.START_GAMEPAD"/>
<category android:name="android.intent.category.DEFAULT"/>
<data android:scheme="com.lge.gamepad"/>
</intent-filter>
</activity>
<meta-data android:name="com.lge.app.forceHideImmersiveConfirm" android:value="true"/>
<meta-data android:name="com.lge.special_display" android:value="true"/>
<service android:exported="true" android:name="com.lge.gamepad.GamePadService">
<intent-filter>
<action android:name="com.lge.gamepad.intent.action.START_GAMEPAD"/>
<action android:name="com.lge.gamepad.intent.action.END_GAMEPAD"/>
<action android:name="com.lge.gamepad.intent.action.START_GAMEPAD_SERVICE_ONLY"/>
<category android:name="android.intent.category.MONKEY"/>
</intent-filter>
</service>
<provider android:authorities="com.lge.provider.gamepad" android:exported="false" android:name="com.lge.gamepad.database.GamePadProvider"/>
<activity android:configChanges="orientation" android:excludeFromRecents="true" android:exported="false" android:launchMode="singleTop" android:name="com.lge.gamepad.EditorSubActivity" android:taskAffinity="com.lge.gamepad.sub" android:theme="@style/Theme.AppCompat.Light.NoActionBar.Translucent"/>
</application>
</manifest>
Can't wait to see a fully ported version
I am no expert but I would start by changing these two lines:
<meta-data android:name="com.lge.app.forceHideImmersiveConfirm" android:value="true"/>
<meta-data android:name="com.lge.special_display" android:value="true"/>
Maybe try false on both see if that works.
Did anyone get this to work?
Hello any news about?