HomeStoreForumsWikiiPhone Native AppsiPhone AppsiPhone Apps modmyifone Downloadsmodmyifone Links





Go Back   ModMyiFone.com | iPhone forums, iPhone hacks, iPhone unlock > 3rd Party Apps For iPhone | iPod Touch > iPhone / iPod Touch SDK | Development Discussion
Register FAQ Members List READ THIS Today's Posts Mark Forums Read

iPhone / iPod Touch SDK | Development Discussion SDK questions. A place for iPhone developers to post code snippets, discuss creating iPhone apps, and any other iPhone developing.


iPhone Optimized MMi | Browser Optimized MMi

Get more out of ModMyiFone by joining our free community. By registering you get privileges to download files from our downloads section and you may also post your questions in our forums! It's fast, free, and easy!

Opportunities at MMi | 1.1.4 Unlock|Jailbreak OS X / Win
Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 05-17-2008, 10:21 AM
What's Jailbreak?
 
Join Date: Dec 2007
Posts: 19
Thanks: 1
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 10:21 AM. Reason: Automerged Doublepost
Digg StumbleUpon Delicious Reddit Newsvine Google Yahoo Thanks Reply With Quote
  #2 (permalink)  
Old 05-17-2008, 12:32 PM
Green Apple
 
Join Date: Sep 2007
Device + Firmware: iPhone 4GB 1.1.4 Jailbroken
Operating System: OSX 10.5.2
Posts: 30
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 (permalink)  
Old 05-17-2008, 01:52 PM
What's Jailbreak?
 
Join Date: Dec 2007
Posts: 19
Thanks: 1
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 (permalink)  
Old 05-18-2008, 11:11 PM
What's Jailbreak?
 
Join Date: May 2008
Posts: 4
Thanks: 0
Thanked 0 Times in 0 Posts

"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 (permalink)  
Old Yesterday, 05:28 PM
What's Jailbreak?
 
Join Date: Dec 2007
Posts: 19
Thanks: 1
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
Reply

  ModMyiFone.com | iPhone forums, iPhone hacks, iPhone unlock > 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

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

ModMyMoto.com - ModMyGPhone.com - ModMyiFone.com - Managed Dedicated Servers by SingleHop - iPhone Wallpapers - Contact Us - Link to us - Archive - Privacy Statement - - Top
All times are GMT -6. The time now is 03:01 AM. Powered by vBulletin® Version 3.6.10
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.2.0 RC5 Copyright © 2007-08, ModMyiFone.com Forum skin by poetic_folly
ModMyiFone.com is an independent publication and has not been authorized, sponsored, or otherwise approved by Apple, Inc or Cisco Systems, Inc. The information contained on this site is for educational purposes only.