How to set the video display to the horizon or vertical of display panel in video playing

by waterblood » Fri, 13 Mar 2009 05:38:02 GMT


Sponsored Links
 Hi All,

    We want change our video displaying direction when we use Gallery
or video playing in Android. But cannot find any setting or code for
this. If you know that , please point me how i can do it. Thanks
advance.


Guoyin

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



Other Threads

1. Detecting Task Resume

Hi,

I'm trying to write some initialization code for my app which
differentiates between the cases when it it launched from scratch and
when it it is resumed (i.e. the user launches the app, hits the home
button, starts another task, then at some later time navigates back to
my app).  From the doc:

http://developer.android.com/guide/practices/ui_guidelines/activity_task_design.html

It looks like what I want to do is to detect when the "Task" for my
application is resumed.

What is the cleanest way to do this?  Is there an API for monitoring
Task state?

Any info would be much appreciated.

-D

-- 

2. Intent loading issue in MenuItem

Hi all,

I have problem with loading google map when click on Menu Item. When click
on menu item every time it give this error:





11-20 14:38:08.877: ERROR/AndroidRuntime(428):
java.lang.NoClassDefFoundError: com.chandana.testcode.ChandanaActivity

11-20 14:38:08.877: ERROR/AndroidRuntime(428):     at
com.chandana.Test.testcode.loadMap(testcode.java:262)

11-20 14:38:08.877: ERROR/AndroidRuntime(428):     at
com.chandana.Test.testcode.onMenuItemSelected(testcode.java:241)

11-20 14:38:08.877: ERROR/AndroidRuntime(428):     at
com.android.internal.policy.impl.PhoneWindow.onMenuItemSelected(PhoneWindow.java:730)

11-20 14:38:08.877: ERROR/AndroidRuntime(428):     at
com.android.internal.view.menu.MenuItemImpl.invoke(MenuItemImpl.java:139)

11-20 14:38:08.877: ERROR/AndroidRuntime(428):     at
com.android.internal.view.menu.MenuBuilder.performItemAction(MenuBuilder.java:855)

11-20 14:38:08.877: ERROR/AndroidRuntime(428):     at
com.android.internal.view.menu.IconMenuView.invokeItem(IconMenuView.java:525)

11-20 14:38:08.877: ERROR/AndroidRuntime(428):     at
com.android.internal.view.menu.IconMenuItemView.performClick(IconMenuItemView.java:122)

11-20 14:38:08.877: ERROR/AndroidRuntime(428):     at
android.view.View.onTouchEvent(View.java:4179)

11-20 14:38:08.877: ERROR/AndroidRuntime(428):     at
android.widget.TextView.onTouchEvent(TextView.java:6540)

11-20 14:38:08.877: ERROR/AndroidRuntime(428):     at
android.view.View.dispatchTouchEvent(View.java:3709)

11-20 14:38:08.877: ERROR/AndroidRuntime(428):     at
android.view.ViewGroup.dispatchTouchEvent(ViewGroup.java:884)

11-20 14:38:08.877: ERROR/AndroidRuntime(428):     at
android.view.ViewGroup.dispatchTouchEvent(ViewGroup.java:884)

11-20 14:38:08.877: ERROR/AndroidRuntime(428):     at
com.android.internal.policy.impl.PhoneWindow$DecorView.dispatchTouchEvent(PhoneWindow.java:1643)
11-20 14:38:08.877: ERROR/AndroidRuntime(428):     at
android.view.ViewRoot.handleMessage(ViewRoot.java:1691)

11-20 14:38:08.877: ERROR/AndroidRuntime(428):     at
android.os.Handler.dispatchMessage(Handler.java:99)

11-20 14:38:08.877: ERROR/AndroidRuntime(428):     at
android.os.Looper.loop(Looper.java:123)

11-20 14:38:08.877: ERROR/AndroidRuntime(428):     at
android.app.ActivityThread.main(ActivityThread.java:4363)

11-20 14:38:08.877: ERROR/AndroidRuntime(428):     at
java.lang.reflect.Method.invokeNative(Native Method)

11-20 14:38:08.877: ERROR/AndroidRuntime(428):     at
java.lang.reflect.Method.invoke(Method.java:521)

11-20 14:38:08.877: ERROR/AndroidRuntime(428):     at
com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:860)

11-20 14:38:08.877: ERROR/AndroidRuntime(428):     at
com.android.internal.os.ZygoteInit.main(ZygoteInit.java:618)

11-20 14:38:08.877: ERROR/AndroidRuntime(428):     at
dalvik.system.NativeStart.main(Native Method)

11-20 14:38:10.917: WARN/InputManagerService(58): Got RemoteException
sending setActive(false) notification to pid 428 uid 10026


My Load Map code is:

private void loadMap() {

        Intent mapInt= new Intent(getApplicationContext(),
ChandanaActivity.class);
        this.startActivity(mapInt);

    }

Any one know why this happned?

-- 

3. List child item focus change

4. Query on Customs Map application

5. Handling Android device without Menu button

6. Guidelines on using Webview to render UI - getting approval for Market

7. Stopping activity problem