Re: [android-developers] What to do on TransactionTooLargeException

2012-08-07 Thread Bin Dou
I have got the same error, and the crash log was just like yours.Have you got the solution,or some ideas? 2012/7/13 user123 ivanschu...@gmail.com I got in error track of an app TransactionTooLargeException. Not reproducible and never had it before. In the docs it says The Binder transaction

[android-developers] Activity flickers,when i add surfaceview to my layout first time

2012-06-05 Thread Bin Dou
Hi all: I got a problem : Activity flickers,when i add surfaceview to my layout through “layout.addView(sfv, new LayoutParams(LayoutParams.MATCH_PARENT, LayoutParams.MATCH_PARENT));” first time. After first time i added the surfaceview to layout,no matter how many time i add

[android-developers] Can not get the source from https://android.googlesource.com/platform/manifest -b android-4.0.1_r1

2012-04-27 Thread Bin Dou
Hi all: I have already repo initialized in my workdirectory, but I got the problem when i try to repo sync. DownloadError: android.googlesource.com: urlopen error [Errno 111] Connection refused failing all week long, anybody can help me. Thanks in advance -- You received this message

[android-developers] How to detect the phone has been connected

2010-08-29 Thread Bin Dou
Hi all How to detect a dialing or ringing call has been connected? .Are there any methods in the APIs? -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe

[android-developers] Re: How to invoke hide method?

2010-08-24 Thread Bin Dou
anybody could help me? 2010/8/23 Bin Dou doubin...@gmail.com I want to judge the call has been connected. So I want to invoke method called isAlive() in the hide abstract class Connection(com.android.internal.telephony)? -- You received this message because you are subscribed

Re: [android-developers] Re: How to invoke hide method?

2010-08-24 Thread Bin Dou
, 2010 at 7:07 AM, Bin Dou doubin...@gmail.com wrote: anybody could help me? 2010/8/23 Bin Dou doubin...@gmail.com I want to judge the call has been connected. So I want to invoke method called isAlive() in the hide abstract class Connection(com.android.internal.telephony)? -- You

Re: [android-developers] Re: How to invoke hide method?

2010-08-24 Thread Bin Dou
ok,i got it ,thanks 2010/8/24 Mark Murphy mmur...@commonsware.com On Tue, Aug 24, 2010 at 7:35 AM, Bin Dou doubin...@gmail.com wrote: So how could I detect the call has been connected ? I have already knew three kinds of telephone states,CALL_STATE_IDLE, CALL_STATE_RINGING

[android-developers] How to invoke hide method?

2010-08-23 Thread Bin Dou
I want to judge the call has been connected. So I want to invoke method called isAlive() in the hide abstract class Connection(com.android.internal.telephony)? -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email

[android-developers] How to delete data from Table_data

2010-08-02 Thread Bin Dou
How can I delete data from table data which is in the database named contacts2.db something wrong with my code. Here is: String path=/data/data/com.android.providers.contacts/databases/contacts2.db; SQLiteDatabase database=SQLiteDatabase.openDatabase(path,

Re: [android-developers] How to delete data from Table_data

2010-08-02 Thread Bin Dou
ContentResolver resolver = this.getContentResolver(); resolver.delete(RawContacts.CONTENT_URI, null, null); I can delete the contacts in the phone, but i can not delete the data in the databases. 2010/8/2 Mark Murphy mmur...@commonsware.com On Mon, Aug 2, 2010 at 6:11 AM, Bin

Re: [android-developers] How to delete data from Table_data

2010-08-02 Thread Bin Dou
mmur...@commonsware.com On Mon, Aug 2, 2010 at 7:05 AM, Bin Dou doubin...@gmail.com wrote: ContentResolver resolver = this.getContentResolver(); resolver.delete(RawContacts.CONTENT_URI, null, null); I can delete the contacts in the phone, but i can not delete the data

Re: [android-developers] How to delete data from Table_data

2010-08-02 Thread Bin Dou
okay. I got it. Thank you. 2010/8/2 Mark Murphy mmur...@commonsware.com On Mon, Aug 2, 2010 at 7:25 AM, Bin Dou doubin...@gmail.com wrote: String path=/data/data/com.android.providers.contacts/databases/contacts2.db; SQLiteDatabase database=SQLiteDatabase.openDatabase(path, null

Re: [android-developers] I want Activity,Service to communicate with Intent.

2010-08-02 Thread Bin Dou
Did you regist thisservice android:enabled=true android:name=.yourservicename/in your manifest? 2010/8/2 汪健飞 wangjf...@gmail.com In my program into OnCreate method after Activity startService method,dont't run onStart method after OnCreate.I use android 1.5.I don't know why? 2010/8/2

[android-developers] How can i make contacts backups to vcard file?

2010-07-12 Thread Bin Dou
Hi all How can i make contacts backups to vcard file through programming? -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email