[android-developers] How can I change my developer's country setting?

2010-10-03 Thread Urakagi
Hi, today finally my country is available to sell paid apps, but my account was set to US with invalid informations, so I need to change it now. Eric told me that I can change it once my country becomes available, but I can't find it. Anyone knows how to do it? Thanks! And when can we get a

[android-developers] Unexpected MEDIA_BUTTON action broadcasting when unplugging headset

2010-02-26 Thread Urakagi
I'm writing music app, and find a confusing issue about headset buttons. My app has a BroadcastReceiver class to receive headset button controls, with action android:name=android.intent.action.MEDIA_BUTTON/ as intent filter. The problem is, when I unplug a wired headset slowly, sometimes

[android-developers] How to decide widget size in a configure Activity?

2010-02-07 Thread Urakagi
Hi, in HTC Sense, we can choose widgets of different size after tapping a single entry in the widget list. Is this also possible in pure Android Framework? I have tried to modify the widget's size in the configure Activity, but failed. -- You received this message because you are subscribed to

[android-developers] Re: How to force MediaStore to rescan the SD card

2009-03-15 Thread Romulus Urakagi Ts'ai
I'm writing a Video Player and is supposed to cowork with Youtube Downloader, which does not imeplemet MediaScanner when downloading a file. Is the only way for me is to scan whole SD card and update all found files? On 2月18日, 下午12時05分, Dave Sparks davidspa...@android.com wrote: I'm not sure

[android-developers] Re: the android's built in video player, supports which file format

2009-02-11 Thread Urakagi
No matter which video player, they all can only support mp4/3gp and WMV7/8. I'm really sad to get one star because of that. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Developers group. To post to this

[android-developers] How to handle orientation changing of VideoView/MediaPlayer?

2009-01-16 Thread Urakagi
Hi, I'm writting a Video Player, and I wonder how can I handle orientation changing of VideoView/MediaPlayer. I wrote it without special issues, then it always restart when orientation changes since Activity is destroyed and recreated. But the App Video Player can rotate screen with only a little

[android-developers] Re: Utterly confounded trying to create horizontal scrolling

2008-12-09 Thread Urakagi
I also has this problem. I call setHorizontalScrollBarEnabled(true) for a TextView, but the horizontal scroll bar does not appear at all. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Developers group. To

[android-developers] Re: INSTALL_FAILED_UPDATE_INCOMPATIBLE

2008-12-05 Thread Urakagi
I'm also stuck at here, this is really terrible... The final way is factory reset, buy I honestly don't want to do it... On 11月4日, 午前12:57, Cheryl Sedota [EMAIL PROTECTED] wrote: What do you mean by uninstall it fully? I did an adb uninstall package name but that does not appear to fully

[android-developers] How to access native functions in standard library?

2008-11-17 Thread Urakagi
Hi, I have a G1, and downloaded the Android source code. When I open, say, android.hardware.Camera.java, it uses native functions without calling loadLibrary(). Of course if I do the same in my application, UnsatisfiedLinkError will come. I tried to load libandroid_runtime.so, but the device just

[android-developers] Re: How to access native functions in standard library?

2008-11-17 Thread Urakagi
that any API's you use are subject to change without notice. On Nov 17, 2:03 am, Urakagi [EMAIL PROTECTED] wrote: Hi, I have a G1, and downloaded the Android source code. When I open, say, android.hardware.Camera.java, it uses native functions without calling loadLibrary(). Of course if I do

[android-developers] java.lang.VerifyError in Android

2008-10-07 Thread Urakagi
Android uses different Java Compiler with Sun's, so if you build a project with class file(like a compiled jar library) compiled with Sun's Java Compiler that uses classes/interfaces/fields/methods not supported by Android (Actually dakvik), you'll get java.lang.VerifyError. To fix this, you must

[android-developers] Re: How to use onListItemClick() while overriding dispatchTouchEvent() in ListActivity?

2008-09-23 Thread Urakagi
? Should I report it to google? On 9月22日, 下午5時45分, Urakagi [EMAIL PROTECTED] wrote: Oops, I'm wrong, I can't get position. Is there other ways to get position in a ListView using X and Y message in MotionEvent? On 9月22日, 上午9時24分, Urakagi [EMAIL PROTECTED] wrote: That sounds good, but I also

[android-developers] Coordinate difference between pointToPosition() and MotionEvent.getY()

2008-09-23 Thread Urakagi
Hi, I have a ListActivity, so I also have a ListView in it. I want to use ListView.pointToPosition() in dispatchTouchEvent() of ListActivity. But when I call MotionEvent.getY(), it returns the Y coordinate of whole screen, but pointToPosition() needs an local coordinate. I tried many getTop() or

[android-developers] Re: How to use onListItemClick() while overriding dispatchTouchEvent() in ListActivity?

2008-09-22 Thread Urakagi
Oops, I'm wrong, I can't get position. Is there other ways to get position in a ListView using X and Y message in MotionEvent? On 9月22日, 上午9時24分, Urakagi [EMAIL PROTECTED] wrote: That sounds good, but I also have a problem for it. protected void onListItemClick(ListView l, View v, int

[android-developers] Re: How to use onListItemClick() while overriding dispatchTouchEvent() in ListActivity?

2008-09-21 Thread Urakagi
in dispatchTouchEvent can determine that the gesture is empty, then you can call onListItemClick() within dispatchTouchEvent. If the gesture is not empty, then do whatever you want to do. On Sep 19, 2:45 am, Urakagi [EMAIL PROTECTED] wrote: Um, I want to use dispatchTouchEvent() to implement a gesture

[android-developers] How to use onListItemClick() while overriding dispatchTouchEvent() in ListActivity?

2008-09-19 Thread Urakagi
Hi, I have a class extending ListActivity, and I want to catch touchevent on it so I override dispatchTouchEvent. @Override public boolean dispatchTouchEvent(MotionEvent ev) { ... } And since it's a ListActivity, of cource I want to override the onListItemClick(), too: @Override protected

[android-developers] Re: How to use onListItemClick() while overriding dispatchTouchEvent() in ListActivity?

2008-09-19 Thread Urakagi
(MotionEvent ev) { return super.dispatchTouchEvent(ev); } it will behave exactly the same as if you didn't override the method, so I'm not sure what you mean by it not working. What are you trying to accomplish? On Sep 19, 12:12 am, Urakagi [EMAIL PROTECTED] wrote: Hi, I have