[android-developers] [HoneyComb]GIF Movie can't draw when hardware acceleration is enabled...

2011-09-20 Thread wsgfz...@gmail.com
I use android.graphics.Movie to display a animated GIF image (just like the BitmapDecode sample in APIDemos do). this works well if i turned off hardware acceleration. it looks like the android.graphics.Movie hasn't been updated since API level 1. And i guess the canvas' drawing logic is

[android-developers] How could I disable all the over scroll effect in my app?

2011-08-10 Thread wsgfz...@gmail.com
the blue shadow over scroll effect looks really ugly in our app. Is there a way to disable all the over scroll effect? you know there are lots of ScrollView and Lists in it... that would be a shame if i have to disable it in every widget that can scroll... thx~ -- You received this message

[android-developers] Re: InputMethod overlayed the edit area in webview when the hardware accelerate is enabled!

2011-04-06 Thread wsgfz...@gmail.com
Added: i test it on xoom, 3.0.1. On Apr 6, 5:49 pm, Deng Liang wsgfz...@gmail.com wrote: The activity is set up like this ==     android:theme=@android:style/Theme.NoTitleBar     android:hardwareAccelerated=true     android:screenOrientation

[android-developers] Re: InputMethod overlayed the edit area in webview when the hardware accelerate is enabled!

2011-04-06 Thread wsgfz...@gmail.com
that can't resize themselves to account for the IME.  It is intrinsically a poorer user experience than adjustResize because when the IME is displayed the user can't scroll around in the window's content. On Wed, Apr 6, 2011 at 2:58 AM, wsgfz...@gmail.com wsgfz...@gmail.comwrote: Added

[android-developers] how to make a cust om view shown on home screen as AppWi dget?

2009-05-24 Thread wsgfz...@gmail.com
at first, i create a custom View class BlablaView BlablaView.java=== Package com.custom.bla; import public class BlablaView { } == and then create a layout xml file ... it's quite simple... --bla.xml ?xml version=1.0 encoding=utf-8?

[android-developers] Re: how to make a custom view shown on home screen as AppWidget?

2009-05-24 Thread wsgfz...@gmail.com
thanks for your reply:) On May 25, 2:40 am, Mark Murphy mmur...@commonsware.com wrote: but when i use this layout as a initial layout of a AppWidget, the home screen shows a TextView saying problem loading widget so i'm just wondering if it possible to do this... No, it is not possible.

[android-developers] Re: Replacing the dialer responding to [number keys] pressed ?

2009-02-22 Thread wsgfz...@gmail.com
/ category android:name=android.intent.category.BROWSABLE / data android:scheme=tel / /intent-filter On Feb 21, 11:50 pm, wsgfz...@gmail.com wsgfz...@gmail.com wrote: hi~ I want to launch my own app when number keys are pressed ... after reading the post online,it seems

[android-developers] Replacing the dialer responding to [number keys] pressed ?

2009-02-21 Thread wsgfz...@gmail.com
hi~ I want to launch my own app when number keys are pressed ... after reading the post online,it seems to be the following code would solve such issue intent-filter action android:name=android.intent.action.MAIN / action android:name=android.intent.action.DIAL

[android-developers] Question about sqlite query with regular expression

2009-02-16 Thread wsgfz...@gmail.com
Is there any way out to achieve SELECT * FROM tblname WHERE name LIKE '%[0-9]%' i know we can't do this with sqlite~ but how to deal with such query task with sqlite??? i tried to use REGEXP ~but unluckily it is not pre-defined~ so i tried to define it by myself...but even i couldn't find a

[android-developers] Simulate a KeyEvent

2009-01-28 Thread wsgfz...@gmail.com
Hi~ I just met a problem about how to reject an incoming call. At first, i wanna find some method already exists that can directly reject a phone call, but unluckily i failed. now i come up with an idea ,to simulate a ENDCALL KeyEvent. here is one solution to achieve it