Quantcast
Channel: xda-developers - Android Software and Hacking General [Developers Only]
Viewing all articles
Browse latest Browse all 3614

[dev][mod]sgs3 music player port for cm10/aokp [almost all devices]

$
0
0
Hi, :D :D

I've started porting samsung galaxy s3's music player for primou cm10 and other all cm10s and some activities working buddies :D
i'm checking which activities working from adb :D 6 of 12 activities working :D

Important thing for us : main app activity(screen)
when i starting app
i'm getting resource not found from logcat
Code:

I/ActivityManager( 1762): Start proc com.sec.android.app.music for activity com.
sec.android.app.music/.MusicActionTabActivity: pid=6722 uid=10094 gids={3003, 30
02, 1015, 1028}
E/Trace  ( 6722): error opening trace file: No such file or directory (2)
D/Launcher( 2070): onTrimMemory. Level: 20
D/MusicActionTabActivity( 6722):  onCreate
D/SecretWallpaper( 2013): Engine pause
I/ActivityManager( 1762): Process com.android.systemui:screenshot (pid 5700) has
 died.
D/SecretWallpaper( 2013): DESTROYED
W/drawable( 6722): Bad element under <shape>: background
D/dalvikvm( 6722): GC_FOR_ALLOC freed 1734K, 38% free 5179K/8259K, paused 14ms,
total 16ms
I/dalvikvm-heap( 6722): Grow heap (frag case) to 13.818MB for 635812-byte alloca
tion
D/MusicActionTabActivity( 6722): sending intent for refreshing VOS Songs...
E/MusicActionTabActivity( 6722): AS: updateAllShareTab() - service is null so re
turn
D/TabListener( 6722): onTabReselected mFragment : MusicListFragment{4136a850 id=
0x7f0e0070 music_list}
D/CorePlayerService( 6563): onCreate()
I/AudioService( 1762):  Remote Control  registerMediaButtonIntent() for Pendin
gIntent{41fd3a00: PendingIntentRecord{41d12218 com.sec.android.app.music broadca
stIntent}}
D/MusicPlayerController( 6563): setShuffle : 0
D/SecAudioManager( 6563): isAudioPathSpeaker() : false current path : audioParam
=;outDevice=
D/CorePlayerService( 6563): isAVPlayerMode(): false
D/CorePlayerService( 6563): isAVPlayerMode(): false
D/CorePlayerService( 6563): setSoundAlive() mPlayer is com.sec.android.app.music
.CorePlayerService$MultiPlayer@413fc720 isPlaying() : false
D/CorePlayerService( 6563): isAVPlayerMode(): false
D/CorePlayerService( 6563): isAVPlayerMode(): false
D/CorePlayerService( 6563): setPlaySpeed() mPlayer is com.sec.android.app.music.
CorePlayerService$MultiPlayer@413fc720 isPlaying : false
D/CorePlayerService( 6563): LGT DRM LIB !!!!
D/CorePlayerService( 6563): procCommndIntent() action: null
D/CorePlayerService( 6563): procCommndIntent() command: null
D/CorePlayerService( 6563): mSystemReceiver - batteryLevel: 100 batteryStatus: 5

D/CorePlayerService( 6563): onBind()
D/SecBargeInRecognizer( 6722): try to create
E/NotificationService( 1762): Ignoring notification with icon==0: Notification(p
ri=0 contentView=null vibrate=null sound=null defaults=0x0 flags=0x62 kind=[null
])
E/BargeInRecognizer( 6722): Error : Could not find libsasr-jni.so
E/BargeInRecognizer( 6722): stringLanguage : en
E/BargeInRecognizer( 6722): sVoiceLanguage : null
E/BargeInRecognizer( 6722): isEnableBargeIn : false
E/BargeInRecognizer( 6722): uselanguage : 1
D/MusicActionTabActivity( 6722):  onCreate End
D/MusicListFragment( 6722): onAttach
D/MusicListFragment( 6722): onCreate savedInstanceState : null
D/MusicListFragment( 6722): onCreateView savedInstanceState : null
D/dalvikvm( 6722): GC_CONCURRENT freed 588K, 29% free 6361K/8903K, paused 4ms+5m
s, total 20ms
W/ResourceType( 6722): No known package when getting value for resource number 0
x02060016
D/AndroidRuntime( 6722): Shutting down VM
W/dalvikvm( 6722): threadid=1: thread exiting with uncaught exception (group=0x4
105c300)
E/AndroidRuntime( 6722): FATAL EXCEPTION: main
E/AndroidRuntime( 6722): java.lang.RuntimeException: Unable to start activity Co
mponentInfo{com.sec.android.app.music/com.sec.android.app.music.MusicActionTabAc
tivity}: android.content.res.Resources$NotFoundException: Resource ID #0x2060016

E/AndroidRuntime( 6722):        at android.app.ActivityThread.performLaunchActiv
ity(ActivityThread.java:2185)
E/AndroidRuntime( 6722):        at android.app.ActivityThread.handleLaunchActivi
ty(ActivityThread.java:2210)
E/AndroidRuntime( 6722):        at android.app.ActivityThread.access$600(Activit
yThread.java:142)
E/AndroidRuntime( 6722):        at android.app.ActivityThread$H.handleMessage(Ac
tivityThread.java:1208)
E/AndroidRuntime( 6722):        at android.os.Handler.dispatchMessage(Handler.ja
va:99)
E/AndroidRuntime( 6722):        at android.os.Looper.loop(Looper.java:137)
E/AndroidRuntime( 6722):        at android.app.ActivityThread.main(ActivityThrea
d.java:4931)
E/AndroidRuntime( 6722):        at java.lang.reflect.Method.invokeNative(Native
Method)
E/AndroidRuntime( 6722):        at java.lang.reflect.Method.invoke(Method.java:5
11)
E/AndroidRuntime( 6722):        at com.android.internal.os.ZygoteInit$MethodAndA
rgsCaller.run(ZygoteInit.java:791)
E/AndroidRuntime( 6722):        at com.android.internal.os.ZygoteInit.main(Zygot
eInit.java:558)
E/AndroidRuntime( 6722):        at dalvik.system.NativeStart.main(Native Method)

E/AndroidRuntime( 6722): Caused by: android.content.res.Resources$NotFoundExcept
ion: Resource ID #0x2060016
E/AndroidRuntime( 6722):        at android.content.res.Resources.getValue(Resour
ces.java:1013)
E/AndroidRuntime( 6722):        at android.content.res.Resources.getDimension(Re
sources.java:521)
E/AndroidRuntime( 6722):        at com.sec.android.touchwiz.widget.TwIndexScroll
View.<init>(TwIndexScrollView.java:247)
E/AndroidRuntime( 6722):        at com.sec.android.app.music.widget.TwIndexListF
ragment.ensureList(TwIndexListFragment.java:392)
E/AndroidRuntime( 6722):        at com.sec.android.app.music.widget.TwIndexListF
ragment.onViewCreated(TwIndexListFragment.java:124)
E/AndroidRuntime( 6722):        at android.app.FragmentManagerImpl.moveToState(F
ragmentManager.java:843)
E/AndroidRuntime( 6722):        at android.app.FragmentManagerImpl.moveToState(F
ragmentManager.java:1035)
E/AndroidRuntime( 6722):        at android.app.BackStackRecord.run(BackStackReco
rd.java:635)
E/AndroidRuntime( 6722):        at android.app.FragmentManagerImpl.execPendingAc
tions(FragmentManager.java:1397)
E/AndroidRuntime( 6722):        at android.app.Activity.performStart(Activity.ja
va:5017)
E/AndroidRuntime( 6722):        at android.app.ActivityThread.performLaunchActiv
ity(ActivityThread.java:2148)
E/AndroidRuntime( 6722):        ... 11 more
W/ActivityManager( 1762):  Force finishing activity com.sec.android.app.music/.
MusicActionTabActivity
W/ActivityManager( 1762): Activity pause timeout for ActivityRecord{41d0c220 com
.sec.android.app.music/.MusicActionTabActivity}

application almost starting successfully music list refreshing libraries and services starting etc.

but how can i fix this : java.lang.RuntimeException: Unable to start activity Co
mponentInfo{com.sec.android.app.music/com.sec.android.app.music.MusicActionTabAc
tivity}: android.content.res.Resources$NotFoundException: Resource ID #0x2060016

:) i need help





widget showing music list but when i press buttons i'm getting FC .. but this part of porting :D:D hope i can port completely :D



also i can access some screens without FC from adb shell :D

[/SIZE][/COLOR]








I NEED HELP FROM OTHER DEVELOPERS
I THINK , I ALMOST COMPLETED.
ONLY I CAN'T START MAIN APPLICATION
IMAGES FROM CM10 BASED PSS ROM ON PRIMOU(A.K.A HTC ONE V)

Viewing all articles
Browse latest Browse all 3614

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>