[android-beginners] embeded web browser with custom width and height

2009-11-24 Thread lei
I try to create a web browser with custom width and height rather than fill screen, is that possible to do in android? Below is my snippet code: AbsoluteLayout.LayoutParams params = new AbsoluteLayout.LayoutParams( 180, 180,

[android-beginners] Does styled text support html tag: p and br ?

2009-11-16 Thread lei
Styled text supports: b,i, does it support more html tags, like p or br ? The code below is used for testing styled text: CharSequence str = getText(R.string.styled_text); //retrieve the styled text as char sequence, so it won't lose any formatting TextView tv =

[android-beginners] Re: play video encounter PV SW DECODER IS USED FOR MPEG4

2009-11-11 Thread lei
I figure it out, sometimes the width and height values from player.getVideoWidth() and player.getVideoHeight() are zero, I do not know why? ; On Nov 10, 6:19 pm, lei eirst...@gmail.com wrote: I am using the Android SDK 1.6. On Nov 10, 6:18 pm, lei eirst...@gmail.com wrote: I wrote

[android-beginners] Re: play video encounter PV SW DECODER IS USED FOR MPEG4

2009-11-10 Thread lei
I am using the Android SDK 1.6. On Nov 10, 6:18 pm, lei eirst...@gmail.com wrote: I wrote a media player for playing video, but it encounter an error of PV SW DECODER IS USED FOR MPEG4 when I try to play back a 3gp format video, anyone knows what is it? How to solve this problem? I paste my

[android-beginners] Re: android service repaint

2009-09-29 Thread lei
to be serviced immediately, is there any thing similar for Android or alternative way to do that? On Sep 28, 12:56 pm, Mark Murphy mmur...@commonsware.com wrote: lei wrote: I just found postInvalidate() does not paint the view immediately, is there a method like serviceRepaint() in J2ME

[android-beginners] android service repaint

2009-09-28 Thread lei
I just found postInvalidate() does not paint the view immediately, is there a method like serviceRepaint() in J2ME ? --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Beginners group. To post to this group, send

[android-beginners] blob type size in SQLite database?

2009-07-29 Thread lei
The question is that I store the large file as Blob type in the SQLite database, the CursorWindow try to grow window size 1048576, then it failed to allocating the large file in the database, I just wonder is there limitation for Blob size, it seems only contain the file that not exceeds 1048576?

[android-beginners] Could not find AVD file

2009-04-29 Thread lei
Hi, I am using eclipse with ADT plugin to develop an Android app, the problem is I could not find a AVD file in the run configuration - Android application-target. I've created a AVD following the steps on the Android website which is located in the default directory C: \Documents and

[android-beginners] how to run multiple instances of the emulator concurrently?

2008-11-12 Thread Lei
Hi all how to run multiple instances of the emulator concurrently with eclipse? Thanks, Regards, Lei --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Beginners group. To post to this group, send email