views:

15

answers:

0

Hello,

I am adding calendar items from my source with this code:

 Intent oIntent = new Intent (Intent.ACTION_EDIT);
 oIntent.setType ("vnd.android.cursor.item/event");

 oIntent.putExtra ("title", "test");
 oIntent.putExtra ("description", "test2");
 oIntent.putExtra ("eventLocation", "somewhere");
 oIntent.putExtra ("beginTime", System.currentTimeMillis () + 60 * 60 * 1000);
 oIntent.putExtra ("endTime", System.currentTimeMillis () + 2 * 60 * 60 * 1000);

 startActivity (oIntent);      

It works great on all phones I have tested it on except for Sony Ericssons Xperia mini. On this phone all fields are blank except for beginTime and endTime.

Does anyone know if this is due to SE not implementing support for title, description and eventLocation or if they are using different extended data names?

Best regards Lorents