Music player got crashed in android running on beagle

by Harishkumar V » Fri, 13 Mar 2009 21:04:52 GMT


Sponsored Links
 i,

I have android running on beagle.

When i click Music player, i got the following error on screen,

"The application Music (process com.android.music) has stopped unexpectedly.
Please try again"

in beagle, when i did logcat,

I/ActivityManager( 815): Starting activity: Intent {
action=android.intent.action.MAIN categories={android.intent.category}
I/ActivityManager( 815): Start proc com.android.music for activity
com.android.music/.VideoBrowserActivity: pid=1328 uid=1}
I/jdwp ( 1328): received file descriptor 10 from ADB
W/ResourceType( 1328): Failure getting entry for 0x7f020019 (t=1 e=25) in
package 0: 0xffffffb5
D/AndroidRuntime( 1328): Shutting down VM
W/dalvikvm( 1328): threadid=3: thread exiting with uncaught exception
(group=0x4000fe68)
E/AndroidRuntime( 1328): Uncaught handler: thread main exiting due to
uncaught exception
E/AndroidRuntime( 1328): java.lang.RuntimeException: Unable to start
activity ComponentInfo{com.android.music/com.android.mr
E/AndroidRuntime( 1328): at
android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2156)
E/AndroidRuntime( 1328): at
android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2172)
E/AndroidRuntime( 1328): at
android.app.ActivityThread.access$1800(ActivityThread.java:112)
E/AndroidRuntime( 1328): at
android.app.ActivityThread$H.handleMessage(ActivityThread.java:1586)
E/AndroidRuntime( 1328): at
android.os.Handler.dispatchMessage(Handler.java:99)
E/AndroidRuntime( 1328): at android.os.Looper.loop(Looper.java:123)
E/AndroidRuntime( 1328): at
android.app.ActivityThread.main(ActivityThread.java:3790)
E/AndroidRuntime( 1328): at
java.lang.reflect.Method.invokeNative(Native Method)
E/AndroidRuntime( 1328): at
java.lang.reflect.Method.invoke(Method.java:521)
E/AndroidRuntime( 1328): at
com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:745)
E/AndroidRuntime( 1328): at
com.android.internal.os.ZygoteInit.main(ZygoteInit.java:503)
E/AndroidRuntime( 1328): at dalvik.system.NativeStart.main(Native
Method)
E/AndroidRuntime( 1328): Caused by: android.view.InflateException: Binary
XML file line #18: Error inflating class java.lanr
E/AndroidRuntime( 1328): at
android.view.LayoutInflater.createView(LayoutInflater.java:512)
E/AndroidRuntime( 1328): at
com.android.internal.policy.impl.PhoneLayoutInflater.onCreateView(PhoneLayoutInflater.ja)
E/AndroidRuntime( 1328): at
android.view.LayoutInflater.createViewFromTag(LayoutInflater.java:562)
E/AndroidRuntime( 1328): at
android.view.LayoutInflater.rInflate(LayoutInflater.java:617)
E/AndroidRuntime( 1328): at
android.view.LayoutInflater.parseInclude(LayoutInflater.java:676)
E/AndroidRuntime( 1328): at
android.view.LayoutInflater.rInflate(LayoutInflater.java:613)
E/AndroidRuntime( 1328): at
android.view.LayoutInflater.inflate(LayoutInflater.java:407)
E/AndroidRuntime( 1328): at
android.view.LayoutInflater.inflate(LayoutInflater.java:320)
E/AndroidRuntime( 1328): at
android.view.LayoutInflater.inflate(LayoutInflater.java:276)
E/AndroidRuntime( 1328): at
com.android.internal.policy.impl.PhoneWindow.setContentView(PhoneWindow.java:226)
E/AndroidRuntime( 1328): at
android.app.Activity.setContentView(Activity.java:1614)
E/AndroidRuntime( 1328): at
com.android.music



Music player got crashed in android running on beagle

by nagamatu » Sun, 15 Mar 2009 14:47:08 GMT


  couldn't load necessary resources for Music and Dialer applications
because of missing touchscreen configuration on my target environment.

--
nagamatu

On 33 10:32, Thomas Bandelier <thomas.bandel...@gmail.com>
wrote:
--~--~---------~--~----~------------~-------~--~----~

-~----------~----~----~----~------~----~------~--~---


Sponsored Links


Other Threads

1. Context from which to initiate Service via Alarm Manager; Application Model Questions

I've created a simple app. to help me better understand a few key
components in the real app I'm making.  A snippet of what I've done:

- an Activity is launched (lets call it the Home Activity) -> from
here I schedule an alarm -> the alarm sets off a Pending Intent that
starts a Service.

- the above steps appear to do what I want them to do.

My questions:

- is a scheduled alarm persistent with respect to its creating process
(I believe so) ?  If the Home Activity is destroyed, the alarm still
goes off, correct?

- the PendingIntent that the alarm calls as well as the Intent nestled
within both have a Context of the Home Activity.  Is this a problem?
Does the system launch the Home Activity again (if it has been
destroyed since scheduling the alarm) just to launch the Service?

- the Service does its task (some networking which will take a couple
seconds) and then possibly creates a notification before killing
itself (the alarm is repeating so it will get called again later).
Does the Service need to make a new Thread to do its work in?  The
user is not interacting with the Home Activity at this point so I
don't think a new Thread is needed.

I think that sums up my questions for now.  Advice will be greatly
appreciated!

--~--~---------~--~----~------------~-------~--~----~

2. Windows ADB Driver?

For some reason I'm not able to connect to my G1 android device using
windows xp. I can connect fine with linux (ubuntu), however when
connecting to a windows machine I receive "USB Device not recognized".

I've looked at the documentation here;
http://code.google.com/android/intro/develop-and-debug.html#developingondevicehardware

And followed it to no avail. I've also tried specifically selecting
the "android_usb.inf" file when searching for drivers however it says
it is not the correct hardware. I have this occuring on two windows xp
machines.

Has anyone gotten this to work on their windows XP machine? I know
someone running vista that it worked for, though I don't see THAT
being the problem. Any come across an error like this and happen to
know a fix?

--~--~---------~--~----~------------~-------~--~----~

3. adb devices command sees multiple offline devices attached - but it's the same device

4. SDCard and SQLiteOpenHelper problem

5. : How to stops the activity from getting restarted when mode changes from LandScape to Portrait or vice-versa

6. activity doesn't seem to end, despite calling .finish()...

7. "Wiring" emulator services to PC's