Click here to Skip to main content
15,895,746 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
hi, for my project,i should give activity user in android,such as sms sent and receive,or incoming and outgoing call and etc. for example when user new sms sent,my program should save details in data base.but i can not understand how give details when user sent sms or call to other people. can guide me or show me a reference?
Posted

1 solution

You can certainly use SmsManager[^].

As you're sending message from your application, that means that you have the data in your hands. So you can easily play with it.
See,
How to send SMS from Android[^]
Sending a SMS Message from an Android Application[^]

and see,
How to store the data in database in Android[^]
android-sqlite-database-with-multiple-tables/[^]

-KR
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900