开发者

simple example to access phone book and calendar in android? [closed]

It's difficult to tell what is being asked here. This question is ambiguous, vague, incomplete, overly broad, or rhetorical and cannot be reasonably answered in its current form. For help clarifying this question so tha开发者_高级运维t it can be reopened, visit the help center. Closed 11 years ago.

where can i find something like this?


You can access the phoneboook through intents:

Intent newcontact_intent = new Intent(v.getContext(), Contact.class);
            newcontact_intent.putExtra("partyid", partyid);
                 startActivityForResult(newcontact_intent, 1);

And It is true that the calendar feature is not officially supported by google. we have to make our custom classe and use them.But you can access Calendar class if you want current date and time.


This will help with accessing calendar functionality. But be warned: it's not officially supported by google.

Calendar Tutorial

There are many similar tutorials available for accessing contacts, such as this

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜