Re: [android-developers] CalendarContract on Samsung's ICS update

2012-03-17 Thread Zsolt Vasvari
Here's the relevant section from the CTS that applies to the Contact 
Provider:

Areas Covered

The unit test cases cover the following areas to ensure compatibility:
AreaDescription
Platform Data ModelThe CTS tests the core platform data model as exposed to 
application developers through content providers, as documented in the SDK 
android.providerhttp://code.google.com/android/reference/android/provider/package-summary.html
 package: 
contacts, browser, settings, etc.

On Saturday, March 17, 2012 1:31:19 PM UTC+8, Zsolt Vasvari wrote:

 No, this should work as it's a public API even with their own Calendar 
 implementation.  If it doesn't, is a big issue for many apps.

 This error should have been caught during the CTS run. ( 
 http://source.android.com/compatibility/cts-intro.html ).

 I'd suggest you create the smallest app that demos this issue and:

 a) Send it to Samsung
 b) Create a bug report with the same app on b.android.com and ask Google 
 to update the CTS to add test cases for these new APIs.




 On Saturday, March 17, 2012 9:49:32 AM UTC+8, Ralph Bergmann wrote:

 Am 16.03.12 13:51, schrieb roee88:
  It works fine on Galaxy Nexus and other ICS devices and ROMs.
  On Samsung SGSII with their recent ICS update it simply doesn't do
  anything.

 I think this happens because the SGS2 does not have the Google calendar
 app. Samsung use their own calendar app which does not use this new
 calendar api.

 So you can use this api but you can't see the results because there is
 no calendar which shows you the results.


 Ralph



-- 
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+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

[android-developers] CalendarContract on Samsung's ICS update

2012-03-16 Thread roee88
Hi,

I'm using Intent.ACTION_INSERT exactly as described in
http://developer.android.com/guide/topics/providers/calendar-provider.html#intent-insert

It works fine on Galaxy Nexus and other ICS devices and ROMs.
On Samsung SGSII with their recent ICS update it simply doesn't do
anything.

The logs:
03-16 13:31:27.470 D/Instrumentation(11087):
checkStartActivityResult  :Intent { act=android.intent.action.INSERT
dat=content://com.android.calendar/events flg=0x1000 (has
extras) }
03-16 13:31:27.470 I/ActivityManager( 1992): START
{intent.toShortString} from pid 11087
03-16 13:31:27.470 D/PowerManagerService( 1992):
acquireDVFSLockLocked : type : DVFS_MIN_LIMIT  frequency : 120
uid : 1000  pid : 1992  tag : ActivityManager
03-16 13:31:27.470 W/ActivityManager( 1992): mDVFSLock.acquire()
03-16 13:31:27.475 D/Instrumentation(11087): checkStartActivityResult
inent is instance of inent:
03-16 13:31:27.480 I/ApplicationPolicy( 1992): isIntentDisabled
start :Intent { act=android.intent.action.INSERT dat=content://
com.android.calendar/events flg=0x1000 (has extras) }
03-16 13:31:27.490 I/ApplicationPolicy( 1992): isIntentDisabled
resolve info :null
03-16 13:31:27.490 I/ApplicationPolicy( 1992): isIntentDisabled
return :true

-- 
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+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en


Re: [android-developers] CalendarContract on Samsung's ICS update

2012-03-16 Thread Ralph Bergmann | the4thFloor.eu
Am 16.03.12 13:51, schrieb roee88:
 It works fine on Galaxy Nexus and other ICS devices and ROMs.
 On Samsung SGSII with their recent ICS update it simply doesn't do
 anything.

I think this happens because the SGS2 does not have the Google calendar
app. Samsung use their own calendar app which does not use this new
calendar api.

So you can use this api but you can't see the results because there is
no calendar which shows you the results.


Ralph

-- 
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+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en


Re: [android-developers] CalendarContract on Samsung's ICS update

2012-03-16 Thread Zsolt Vasvari
No, this should work as it's a public API even with their own Calendar 
implementation.  If it doesn't, is a big issue for many apps.

This error should have been caught during the CTS run. ( 
http://source.android.com/compatibility/cts-intro.html ).

I'd suggest you create the smallest app that demos this issue and:

a) Send it to Samsung
b) Create a bug report with the same app on b.android.com and ask Google to 
update the CTS to add test cases for these new APIs.




On Saturday, March 17, 2012 9:49:32 AM UTC+8, Ralph Bergmann wrote:

 Am 16.03.12 13:51, schrieb roee88:
  It works fine on Galaxy Nexus and other ICS devices and ROMs.
  On Samsung SGSII with their recent ICS update it simply doesn't do
  anything.

 I think this happens because the SGS2 does not have the Google calendar
 app. Samsung use their own calendar app which does not use this new
 calendar api.

 So you can use this api but you can't see the results because there is
 no calendar which shows you the results.


 Ralph



-- 
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+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en