[android-developers] Re: Contacts FAQ?

2010-03-03 Thread HCH
From my reading of the sources (2.1) a custom account contact is not editable on the phone outside of the name fields. The contact editor does not read the relevant information out of the contacts.xml. It only reads enough to support what you'd see in the Facebook type account. The source fix

[android-developers] Re: username and password for sample sync adapter

2010-02-19 Thread HCH
, please let me know if you have more questions. Thanks, Megha On Feb 18, 10:28 am, HCH hayeshau...@gmail.com wrote: Could someone on the android team please tell us what we should use for thepasswordwhen connecting to the SampleSyncAdapter server? On Feb 16, 4:19 pm, HCH hayeshau

[android-developers] Re: username and password for sample sync adapter

2010-02-18 Thread HCH
Could someone on the android team please tell us what we should use for the password when connecting to the SampleSyncAdapter server? On Feb 16, 4:19 pm, HCH hayeshau...@gmail.com wrote: as for 1) - The source tree is not available for download that I can tell.  You have to cut and paste each

[android-developers] Re: username and password for sample sync adapter

2010-02-18 Thread HCH
your server instance. Sorry for the confusion so far, please let me know if you have more questions. Thanks, Megha On Feb 18, 10:28 am, HCH hayeshau...@gmail.com wrote: Could someone on the android team please tell us what we should use for the password when connecting

[android-developers] Re: username and password for sample sync adapter

2010-02-16 Thread HCH
2) Use 2.0.1 emulator - it's fixed. In fact I would not bother with 2.0 as they have all been upgraded to 2.0.1 (not sure, but most likely). On Feb 16, 3:50 am, Sameer AM sam2...@gmail.com wrote: Hello, I just got thesamplesyncadaptercode running on the emulator, but how do I add account in

[android-developers] Re: username and password for sample sync adapter

2010-02-16 Thread HCH
as for 1) - The source tree is not available for download that I can tell. You have to cut and paste each individual file from the html and reconstruct the source tree locally. - The source to the server has a directory but is not actually there. - What to use as a password isn't clear and I

[android-developers] Re: Contacts FAQ?

2010-02-02 Thread HCH
Thanks so much for the link and of course many thanks to the original poster (Sam Steele). Anyone with android account and syncadapter questions should read his posts. My issue now is having the contacts app display and edit the standard fields (the stuff that lives in CommonDataKinds). I

[android-developers] Re: HTTP Post with header

2008-12-18 Thread HCH
generally: http post requires content-length unless you use chunked encoding. In the example you give set the content-length to the length of your StringEntity. On Dec 17, 4:00 am, agal allgreekandla...@gmail.com wrote: Hi, I want to do an HTTP Post in Android, using the HttpClient 4.0

[android-developers] Re: HTTP compression lost when using 3G connection

2008-12-03 Thread HCH
If you are doing socket based communication to an HTTP server and tell it that you accept gzipped data then you'll get back gzipped data if it supports it. If the network (T-Mobile's proxy) thinks that's a bad idea and removes your accept gzip header then you won't get back gzipped data. If the

[android-developers] Re: Yet another HTTPS problem with HttpClient in Android SDK v1.0r1

2008-12-02 Thread HCH
I'm pretty new to Java so it took some digging, but here's my solution: HttpParams parameters = new BasicHttpParams(); SchemeRegistry schemeRegistry = new SchemeRegistry(); SSLSocketFactory sslSocketFactory = SSLSocketFactory.getSocketFactory (); sslSocketFactory.setHostnameVerifier