Difficulties with showing android calendar in different versions -
i trying open user's calendar. wrote following code:
startmillis = calendar.getinstance().gettimeinmillis(); uri.builder builder = uri.parse("content://com.android.calendar").buildupon(); builder.appendpath("time"); contenturis.appendid(builder, startmillis); intent intent = new intent(intent.action_view).setdata(builder.build()); startactivity(intent);
the problem works in version 4.0 not in 2.2, target version.
what doing wrong?
after trying different things, installed different calendar on avd , workes now.
Comments
Post a Comment