[android-developers] Retrieve Contact Photo type

2010-08-30 Thread sazilla
Hi guys, is there any way to retrieve the data type of a contact's photo? (e.g. image/png or image/jpeg) Using the Contacts Provider I can read the photo byte array only. In this case can we get the image type from the image stream? Thanks in advance Carlo -- You received this message because

[android-developers] Retrieve Image size for HTC devices

2010-06-15 Thread sazilla
Hi all, In my application I need to read Images file size before reading and send them through the network. Actually it uses the MediaStore provider in order to read the SIZE field of the Images. All works as expected except for some HTC devices (e.g. Legend and Desire) where the returned SIZE

[android-developers] Changing device locale doesn't restart application

2010-05-04 Thread sazilla
Hi all, I've found an issue about localization. I've added support for strings localization in my application, but after I change the device locale, my application is not restarted and keeps the older language. The only way to switch language is to force the app to stop (under the Manage

[android-developers] Google sync removes third party calendars

2010-04-14 Thread sazilla
Hi all, I've found a problem related to the Google calendar synchronization. Every time a google sync starts for the calendar source, it removes all the calendars which don't belong to a google account (see also http://code.google.com/p/android/issues/detail?id=7714). See the following snippet

[android-developers] Keep account information after application uninstall

2010-03-10 Thread sazilla
Hi guys, I've an issue related to the application uninstall. Actually when my application is removed, all the related accounts are removed, and consequently all the account contacts disappear from the device. I was wondering if there is a way to keep the accounts information or eventually to be

[android-developers] Re: Keep account information after application uninstall

2010-03-10 Thread sazilla
Hi Mark, thank you for your fast reply, do you (or anyone) know if there's any work in progress on this topic? Carlo On Mar 10, 4:23 pm, Mark Murphy mmur...@commonsware.com wrote: sazilla wrote: I've an issue related to the application uninstall. Actually when my application is removed, all

[android-developers] Re: Contacts FAQ?

2010-02-26 Thread sazilla
Hi Berto, do you managed to render the contacts edit fields from a custom account using the native contacts app? or for contacts view only? thanks Carlo On 25 Gen, 17:25, Berto mstbe...@gmail.com wrote: Just an update for those of you still lost on adding custom accounts, sync adapters, etc.  

[android-developers] Re: Adding contacts to a custom account

2010-01-20 Thread sazilla
did anyone fix this problem? any suggestion? does it mean that there's no application providing contacts sync? On Dec 29 2009, 3:14 pm, sazilla sazi...@gmail.com wrote: Hi Vadim, Actually for what I've understood thecustommime type can be used to specify how to render thecustomfields when

[android-developers] Re: Adding contacts to a custom account

2009-12-29 Thread sazilla
methods and write a service that returns implemented AccountAuthenticator. Or there is more simple way to create a custom account for Contacts? On Dec 15, 4:52 pm, sazilla sazi...@gmail.com wrote: Hi everyone, I encountered an issue while configuring my own account for android

[android-developers] Re: Contacts SyncAdapter issues

2009-12-15 Thread sazilla
Any feedback would be appreciated... thank you -- 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 to

[android-developers] Re: Contacts FAQ?

2009-12-15 Thread sazilla
Hi everyone, I encountered an issue while configuring my own account for android contacts sync. When the user choses to add a new contact to the custom account, only the name fields and the photo are showed. This behaviour can be found in the ExternalSource.java android source file. My question

[android-developers] Adding contacts to a custom account

2009-12-15 Thread sazilla
Hi everyone, I encountered an issue while configuring my own account for android contacts sync. When the user choses to add a new contact to the custom account, only the name fields and the photo are showed. This behaviour can be found in the ExternalSource.java android source file. My question

[android-developers] Re: Contacts SyncAdapter issues

2009-12-15 Thread sazilla
Thank you Dmitri, 1) SyncResult is your friend. A SyncResult object is passed to the sync adapter's onPerformSync method.  Fill it up before returning. Ok, but if a sync request is not propagated to the sync adapter for some reason, how can I observe this fail? Actually I'm blocked with the

[android-developers] Android 2.1 SDK

2009-12-15 Thread sazilla
Hi everyone, does anybody have been able to get/build the Android 2.1 SDK? I was wondering if the following issues was fixed there: http://groups.google.com/group/android-developers/browse_thread/thread/6caa57135927e242 Thanks Carlo -- You received this message because you are subscribed to

[android-developers] Contacts SyncAdapter issues

2009-12-14 Thread sazilla
Hi everyone, I've implemented a SyncAdapter correctly registered through the application manifest which allows to sync contacts with our backend. The sync requests are correctly sent to the SyncAdapter but actually I have a couple of dubts: 1) How a client (the object which calls requestSync of