The ModMyTM Family of Sites:
ModMyMotoModMyiModMyGphone




 
 
Register or Connect with Facebook

Discuss AppStore Apps | Browse / Search Cydia | MMi Cydia Stats




  Apple Forums & iPhone Forums, Mods, Hacks, News, Themes, Downloads, and more! | ModMyi.com > 3rd Party Apps For iPhone | iPod Touch > iPhone / iPod Touch SDK | Development Discussion
Reply
 
LinkBack Thread Tools Display Modes
  #1  
Old 05-17-2008, 11:21 AM
What's Jailbreak?
 
Join Date: Dec 2007
Posts: 21
Thanks: 2
Thanked 2 Times in 2 Posts
Send SMS to myself from terminal?

I'm wondering if it is possible to do one of the following in order to post a new SMS into my SMS 'mailbox' (for alerts from CLI apps I'm developing, etc):

1) A commandline app (similiar to the iphone CLI apps Erica released) that would allow me to send an SMS to myself for alerts, etc



2) A way to insert required fields into the sms.db sqlite db manually (using ported sqlite3), which would equate to '1 new SMS message'.

a) Would the iPhone SMS app even notice and _know_ that it is a new SMS if I insert it manually into the database?



3)Use AT&T's free tool for sending SMS online <-- Will not work since it requires login to access


4) Any other ideas??


Thanks!

Could a moderator please move this thread to a forum that is likely to generate an answer to my question so I don't have to double-post this elsewhere

Last edited by craftyguy; 05-17-2008 at 11:21 AM.. Reason: Automerged Doublepost
Digg StumbleUpon Delicious Reddit Newsvine Google Yahoo Thanks Reply With Quote
  #2  
Old 05-17-2008, 01:32 PM
Green Apple
 
Join Date: Sep 2007
Device + Firmware: iPhone 3GS 3.0 Jailbroken
Operating System: OSX 10.5.7
Posts: 41
Thanks: 1
Thanked 2 Times in 2 Posts
Send a message via AIM to CHI3F Send a message via Yahoo to CHI3F

If its just the new sms badge on the sms icon that you want, there is a commandline app that can change the badge for any app on the springboard. Try looking for Erica's Utilities.
Digg StumbleUpon Delicious Reddit Newsvine Google Yahoo Thanks Reply With Quote
  #3  
Old 05-17-2008, 02:52 PM
What's Jailbreak?
 
Join Date: Dec 2007
Posts: 21
Thanks: 2
Thanked 2 Times in 2 Posts

That's a start I suppose.

1)Is there a more efficient way to create a new SMS message in my Inbox (with the iPhone's SMS app knowing it's 'new') than using sqlite3 to inject a new message into my sms.db, and using erica's app to set the SMS badge on the icon?

2)Would the iPhone's SMS app break if a new message is manually injected into the sms.db??

Thanks!
Digg StumbleUpon Delicious Reddit Newsvine Google Yahoo Thanks Reply With Quote
  #4  
Old 05-19-2008, 12:11 AM
What's Jailbreak?
 
Join Date: May 2008
Posts: 9
Thanks: 0
Thanked 1 Time in 1 Post

"Send SMS from terminal"
Do you mean the terminal of your iPhone or the terminal of your PC/Mac?
If you mean the terminal of your iPhone, you can open a connection to your /dev/tty.debug file and use AT commands to request sending a message.
This website has some nice introduction about AT commands:
SMS Tutorial: How to Send SMS Messages from a Computer/PC Using a Mobile Phone or GSM/GPRS Modem? AT Commands
Digg StumbleUpon Delicious Reddit Newsvine Google Yahoo Thanks Reply With Quote
  #5  
Old 05-19-2008, 06:28 PM
What's Jailbreak?
 
Join Date: Dec 2007
Posts: 21
Thanks: 2
Thanked 2 Times in 2 Posts

Very interesting.
Yes I would like to send from iPhone terminal.

The ideal situation would be if I could do so without actually _sending_ an SMS (like inserting directly into sms.db), so a user wouldn't get charged an SMS on their phone plan. Any ideas?

Thanks!
Digg StumbleUpon Delicious Reddit Newsvine Google Yahoo Thanks Reply With Quote
  #6  
Old 05-20-2008, 04:56 PM
NetMage's Avatar
Developer
 
Join Date: Aug 2007
Device + Firmware: iPhone 2.2.0
Operating System: Windows XP / OS X
Location: Virginia
Posts: 1,231
Thanks: 45
Thanked 202 Times in 162 Posts

1)Is there a more efficient way to create a new SMS message in my Inbox (with the iPhone's SMS app knowing it's 'new') than using sqlite3 to inject a new message into my sms.db, and using erica's app to set the SMS badge on the icon?

There may be a procedure to add a new SMS message but I imagine it is buried in the phone and not designed to be publicly accessible. Unfortunately Apple hasn't yet realized the concept of making the standard iPhone applications common use (as they have with the AddressBook).

2)Would the iPhone's SMS app break if a new message is manually injected into the sms.db??

I would think it shouldn't break, but I would bet there is a notification that is supposed to be sent in case the application is running so it knows when a new message is received. I would think the notification would also take care of the badge update. The trick is figuring it out.
Digg StumbleUpon Delicious Reddit Newsvine Google Yahoo Thanks Reply With Quote
  #7  
Old 10-26-2008, 07:32 PM
Green Apple
 
Join Date: Jul 2008
Device + Firmware: iPhone 3G 2.0
Operating System: Windows Vista
Posts: 33
Thanks: 7
Thanked 7 Times in 4 Posts

cydia has sendsms app might be useful check it out
Digg StumbleUpon Delicious Reddit Newsvine Google Yahoo Thanks Reply With Quote
Reply

  Apple Forums & iPhone Forums, Mods, Hacks, News, Themes, Downloads, and more! | ModMyi.com > 3rd Party Apps For iPhone | iPod Touch > iPhone / iPod Touch SDK | Development Discussion

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



Go to Top
ModMyI

All times are GMT -6. The time now is 06:05 AM. Powered by vBulletin® Version 3.8.4
If you need Dedicated Server Hosting, you should check out SingleHop. | Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.3.0 Copyright © 2007-09 by ModMy, LLC. All rights reserved.

iPhone News / iPhone Forums / Apple News / Apple Forums / RSS / Contact Us / / Top