Granny's Programming Pearls
"inside of every large program is a small program struggling to get out"
A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Win a copy of
EJB 3 in Action
this week in the
EJB and other Java EE Technologies
extract missed call numbers and time
Joined: Nov 25, 2008
Jul 11, 2013 08:56:20
I need to get details from SMS.When we received missed call alert,i need to get callers phone numbers and time for each.Below is the example SMS Alert for missed call.
Alert; message: Missed Calls details : 1 from 718478054 on 11/07 20:13, 1 from 772070614 on 11/07 20:14.
I am able to get whole SMS..but i need to show "772070614 called you 11/07 20:14".
how to extract them from SMS?
Joined: Mar 22, 2005
Jul 11, 2013 10:09:12
A combination of String.indexOf(...) and String.substring(...) ?
Ping & DNS
- updated with new look and Ping home screen widget
Joined: Mar 07, 2007
Jul 11, 2013 11:36:19
Or with capture groups in a regular expression.
I agree. Here's the link:
subject: extract missed call numbers and time
Search on a string
Cache Always Misses (using Hibernate + EhCache)
map app gives me error
Importance of jbossjta-properties.xml
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2014