Thomas,

In emulator, we can use skin by,
emulator -skin option

but i am using android on hardware device (beagle).

i am getting screen vertical and when playing video, the movie plays
vertically. how to tilt the orientation for my resolution 640x480.

how to load skin for different resolution in hardware other than emulator.

Regards,
HarishKumar.V

On Fri, Mar 13, 2009 at 7:02 PM, Thomas Bandelier <
thomas.bandel...@gmail.com> wrote:

> Hi,
>
> This is the same problem as for Dialer application.
> It seems due to missing resource in the current master branch, due to
> cupcake merges inside it.
> The only solution seems to be using HVGA resolution/layouts.....
> I am facing the same problem as you, and google does not care about
> non-supported resolutions actually....
> So maybe the only solution would be to go back to 1.0 release.
>
> Thomas
>
>
>
>
> On Fri, Mar 13, 2009 at 2:04 PM, Harishkumar V <harishpres...@gmail.com>wrote:
>
>> Hi,
>>
>> 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.VideoBrowserActivity.init(VideoBrowserActivity.java:52)
>> E/AndroidRuntime( 1328):        at
>> com.android.music.VideoBrowserActivity.onCreate(VideoBrowserActivity.java:45)
>> E/AndroidRuntime( 1328):        at
>> android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1123)
>> E/AndroidRuntime( 1328):        at
>> android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2119)
>> E/AndroidRuntime( 1328):        ... 11 more
>> E/AndroidRuntime( 1328): Caused by:
>> java.lang.reflect.InvocationTargetException
>> E/AndroidRuntime( 1328):        at
>> android.widget.ImageView.<init>(ImageView.java:102)
>> E/AndroidRuntime( 1328):        at
>> java.lang.reflect.Constructor.constructNative(Native Method)
>> E/AndroidRuntime( 1328):        at
>> java.lang.reflect.Constructor.newInstance(Constructor.java:451)
>> E/AndroidRuntime( 1328):        at
>> android.view.LayoutInflater.createView(LayoutInflater.java:499)
>> E/AndroidRuntime( 1328):        ... 25 more
>> E/AndroidRuntime( 1328): Caused by:
>> android.content.res.Resources$NotFoundException: File
>> res/drawable/title_bar_shadow.png9
>> E/AndroidRuntime( 1328):        at
>> android.content.res.Resources.loadDrawable(Resources.java:1595)
>> E/AndroidRuntime( 1328):        at
>> android.content.res.TypedArray.getDrawable(TypedArray.java:520)
>> E/AndroidRuntime( 1328):        at
>> android.view.View.<init>(View.java:1688)
>> E/AndroidRuntime( 1328):        at
>> android.widget.ImageView.<init>(ImageView.java:106)
>> E/AndroidRuntime( 1328):        ... 29 more
>> E/AndroidRuntime( 1328): Caused by: java.io.FileNotFoundException:
>> res/drawable/title_bar_shadow.png
>> E/AndroidRuntime( 1328):        at
>> android.content.res.AssetManager.openNonAssetNative(Native Method)
>> E/AndroidRuntime( 1328):        at
>> android.content.res.AssetManager.openNonAsset(AssetManager.java:392)
>> E/AndroidRuntime( 1328):        at
>> android.content.res.Resources.loadDrawable(Resources.java:1588)
>> E/AndroidRuntime( 1328):        ... 32 more
>> I/Process (  815): Sending signal. PID: 1328 SIG: 3
>> I/dalvikvm( 1328): threadid=7: reacting to signal 3
>> I/dalvikvm( 1328): Wrote stack trace to '/data/anr/traces.txt'
>>
>>
>> What might be the problem, how to fix it ...
>>
>> Regards,
>> HarishKumar.V
>>
>>
>>
>
> >
>

--~--~---------~--~----~------------~-------~--~----~
unsubscribe: android-porting+unsubscr...@googlegroups.com
website: http://groups.google.com/group/android-porting
-~----------~----~----~----~------~----~------~--~---

Reply via email to