[android-developers] Re: About the NeighboringCellInfo information

2009-07-30 Thread
why the cll id from TelephonyManager.getNeighboringCellInfo, is different TelephonyManager.getCellLocation. It's more larger. eg. 8321 //cid from TelephonyManager.getCellLocation. getCid() 415506483 //fromo TelephonyManager.getNeighboringCellInfo.getCid() On Jul 11, 5:44 pm, mikewuth

[android-developers] Class Cast Exception after classLoader.loadClass() and newInstance!

2009-03-26 Thread
I load a class from another installed package. Class c = classLoader.loadClass(..); Object o = c.newInstance(); and create a instance using newInstance(). if i use getMethod() and invoke(), i can invoke that class' method. but if use MyInterface instance = (MyInterface) o; it failed:

[android-developers] Re: Cupcake Emulator do not mount SD card image

2009-03-26 Thread
me too. On Mar 27, 10:41 am, Eric Chan jude...@gmail.com wrote: I met the same question Best Regards Eric Chan On Wed, Mar 25, 2009 at 3:57 PM, Victor vkrugli...@gmail.com wrote: I just download a cupcake branch of source code and build it. I configured Eclipse for a new SDK, and

[android-developers] Re: After the ADT 0.9 update, Eclipse can not create R.java automatically

2009-02-24 Thread
i changed the UNCOMPRESS_DATA_MAX, but the bug still exist. may be it works in linux, my eclipse works in windows. However, i found another way to avoid the bug, Just like what Khunong said. I change the andorid.jar/resources.arsc to the old version instead of the new version which i compiled

[android-developers] Re: After the ADT 0.9 update, Eclipse can not create R.java automatically

2009-02-24 Thread
but not all project could word well for example, SoftKeyboard (in cupcake source code ) res/xml/qwerty.xml has some error. On 2月24日, 下午4时50分, 冰咖啡不加糖 xinyu...@gmail.com wrote: i changed the UNCOMPRESS_DATA_MAX, but the bug still exist. may be it works in linux, my eclipse works in windows

[android-developers] Re: After the ADT 0.9 update, Eclipse can not create R.java automatically

2009-02-24 Thread
fix it. just do it, replace the andorid.jar/resources.arsc you compiled with the old version which could work. On 2月24日, 下午5时01分, 冰咖啡不加糖 xinyu...@gmail.com wrote: but not all project could word well for example, SoftKeyboard (in cupcake source code ) res/xml/qwerty.xml has some error

[android-developers] Re: Using my own SQLite database

2009-02-22 Thread
hi,gus. let me tell you the db path. /data/data/YOUR_PACKAGE/databases/ just copy your db file to that directory. i successly copy note_pad.db to that dir, and successly read the data in note_pad.db using SQLiteDatabase API. but ,when i copy another db file which is larger (about 16Mb), i

[android-developers] Re: Using my own SQLite database

2009-02-22 Thread
i know the reason. there is max size 1048576bytes 02-23 11:11:55.037: DEBUG/asset(16273): Data exceeds UNCOMPRESS_DATA_MAX (37623808 vs 1048576) it's too small. On 2月23日, 上午11时00分, 冰咖啡不加糖 xinyu...@gmail.com wrote: hi,gus. let me tell you the db path. /data/data/YOUR_PACKAGE/databases/ just

[android-developers] how to distinguish Button and EditTex -------about EditorInfo in IMF

2009-02-15 Thread
how can i distinguish Button and EditText, using these EditorInfo in a inputmethod application. EditorInfo.inputType always is 1, whatever the component is Button, or EditText. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the

[android-developers] BUG of IMF

2009-02-15 Thread
Although the IMF has provided EditorInfo to get the attributes of components with focus. However, the attributes is not fully. First of all, we could not distinguish between Button and EditText components, they have the same InputType value EditorInfo.TYPE_CLASS_TEXT Secondly,after the

[android-developers] Re: How get horizontal and vertical events in android

2009-02-15 Thread
put the different xml files to different directory: layout or layout-land or this.getResource().getConfiguration.orientation== On Feb 16, 3:15 pm, Gulfam gulfa...@gmail.com wrote: Hi all,     I have two splash screens for my android app one for horizontal and second for vertical and

[android-developers] Re: ADT0.9 plugin can't work

2009-02-04 Thread
could you give me your new ADT0.09 ? my email : xinyu...@gmail.com thanks. On 2月4日, 上午9时25分, tony shangyun...@gmail.com wrote: I have built a ADT0.9 plugin with the android release of 20090102,but seems it still have error in recognizing resource files. Does anyone have succeeded in using the

[android-developers] bug? InputMethodManager.isWatchingCursor()

2009-01-09 Thread
why the method InputMethodManager.isWatchingCursor() always returns false. so, i can not get the cursor position of TextView. it's a bug? --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Developers group. To

[android-developers] Re: Camera.takePicture()

2008-12-18 Thread
I call Camera.takePicture(null,rawCallback,null); in onPictureTaken(data,camera) of rawCallback, data is null. I cann't get the raw data. but if I call Camera,takePicture(null,null,rawCallback), the data is not null, it contains picture pixels data. do u know why? On 10月22日, 下午10时19分, Hong