This week's book giveaway is in the Servlets forum.
We're giving away four copies of Murach's Java Servlets and JSP and have Joel Murach on-line!
See this thread for details.
The moose likes Android and the fly likes extract missed call numbers and time Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Mobile » Android
Bookmark "extract missed call numbers and time" Watch "extract missed call numbers and time" New topic
Author

extract missed call numbers and time

sam liyanage
Ranch Hand

Joined: Nov 25, 2008
Posts: 1071
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.



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?
Ulf Dittmer
Marshal

Joined: Mar 22, 2005
Posts: 41064
    
  43
A combination of String.indexOf(...) and String.substring(...) ?


Ping & DNS - my free Android networking tools app
Marco Ehrentreich
best scout
Bartender

Joined: Mar 07, 2007
Posts: 1280

Or with capture groups in a regular expression.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: extract missed call numbers and time
 
Similar Threads
Strange SQLException
Importance of jbossjta-properties.xml
map app gives me error
Cache Always Misses (using Hibernate + EhCache)
Search on a string