473,320 Members | 1,896 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,320 software developers and data experts.

reading messages from cell phones

how to write a C programme to read a new sms from a particular cell
came to a cell connected to that computer through a usb port

Jul 10 '06 #1
9 1495
sagar wrote:
how to write a C programme to read a new sms from a particular cell
came to a cell connected to that computer through a usb port
not topical here we deal with the implementation-independant parts
of C find a newsgroup which deals with these matters for expert
advice ps might help to use Captials and Punctuation in the
conventional way

--
Chris "..." Dollin
"No-one here is exactly what he appears." G'kar, /Babylon 5/

Jul 10 '06 #2
In article <11**********************@35g2000cwc.googlegroups. com>,
sagar <ch******@gmail.comwrote:
>how to write a C programme to read a new sms from a particular cell
came to a cell connected to that computer through a usb port
Off topic. Not portable. Cant discuss it here. Blah, blah, blah.

Note that what is really needed is some kind of newbie-accessible note
that tells them that, despite the name, clc is *not* about C in any
tangible sense. That is, it is not about useful C, but rather, about
theoretical, dogmatic C (and endless trolling and counter-trolling -
which is the fun part). Too bad there is no way to get that message out
to them in time.

Useful clc-related links:

http://en.wikipedia.org/wiki/Clique
http://en.wikipedia.org/wiki/Aspergers
http://en.wikipedia.org/wiki/C_programming_language

Jul 10 '06 #3
Kenny McCormack wrote:
In article <11**********************@35g2000cwc.googlegroups. com>,
sagar <ch******@gmail.comwrote:
>>how to write a C programme to read a new sms from a particular cell
came to a cell connected to that computer through a usb port

Off topic. Not portable. Cant discuss it here. Blah, blah, blah.
Can't discuss the /implementation-specific/ things here.
>
Note that what is really needed is some kind of newbie-accessible note
that tells them that, despite the name, clc is *not* about C in any
tangible sense.
Just like any programing language, really - they're intangible for
pretty much any non-metaphorical meaning of "tangible".
That is, it is not about useful C,
Ah, the first post-lunch hysterically funny news posting! Permit me
an echuckle.
but rather, about theoretical, dogmatic C
Actually, it's about portable, standard C: you only need dogmatic
C for chasing postmen and grouse.
(and endless trolling and counter-trolling - which is the fun part).
Admission is the better part of malour.

--
Chris "nonce" Dollin
"Who are you? What do you want?" /Babylon 5/

Jul 10 '06 #4
in 685873 20060710 133644 Chris Dollin <ch**********@hp.comwrote:
>sagar wrote:
>how to write a C programme to read a new sms from a particular cell
came to a cell connected to that computer through a usb port

not topical here we deal with the implementation-independant parts
of C find a newsgroup which deals with these matters for expert
advice ps might help to use Captials and Punctuation in the
conventional way
Classic!!
Jul 10 '06 #5
In article <e8**********@malatesta.hpl.hp.com>,
Chris Dollin <ch**********@hp.comwrote:
....
>That is, it is not about useful C,

Ah, the first post-lunch hysterically funny news posting! Permit me
an echuckle.
I suppose there are (at least) 2 ways to interpret the word "useful":

1) Of value (to someone - whoever that may be)
2) Of direct utility (to a real world problem)

I do not intend to assert (the negation of) #1 (although I personally
think said assertion would be valid).

The truth of (the negation of) #2 has already been stipulated to by at
least some of the "regulars", so I don't think there is any need to
debate it further.

Jul 10 '06 #6
Kenny McCormack wrote:
In article <e8**********@malatesta.hpl.hp.com>,
Chris Dollin <ch**********@hp.comwrote:
...
>>That is, it is not about useful C,

Ah, the first post-lunch hysterically funny news posting! Permit me
an echuckle.

I suppose there are (at least) 2 ways to interpret the word "useful":

1) Of value (to someone - whoever that may be)
2) Of direct utility (to a real world problem)

I do not intend to assert (the negation of) #1 (although I personally
think said assertion would be valid).

The truth of (the negation of) #2 has already been stipulated to by at
least some of the "regulars", so I don't think there is any need to
debate it further.
I find your text above sufficiently opaque that I don't know what it
means, and your offered choice of interpretations seems to have too
much slack in it to be useful.

--
Chris "indiscrete irregular ivoried" Dollin
"Reaching out for mirrors hidden in the web." - Renaissance, /Running Hard/

Jul 10 '06 #7
I though is very "nothing" to we thing about because you donīt specify
what kind of news you are ussing... But i will try to take a guess..
IF, i did say IF, you are interested to read a regular newslatter, i
can use you cell phone as a modem, and then you just will need to build
a programmang with socket (great reference on: Unix network programming
- BSD referentece (universal net lib)). So... i hope have help you..
and have a nice trip through it!

sagar escreveu:
how to write a C programme to read a new sms from a particular cell
came to a cell connected to that computer through a usb port
Jul 10 '06 #8
On 10 Jul 2006 05:28:59 -0700, "sagar" <ch******@gmail.comwrote:

<Post takes Off Topicality to new heights - sorry too much to resist>
>how to write a C programme to read a new sms from a particular cell
came to a cell connected to that computer through a usb port
Cause you are obviously almost done, this may be already too late.

Anyway below are two programs which should almost[*] do the tasks you
want.
/* cell.c
* compile and put the program into your
* cell phone / came... something. Then run
* the program note it expects your SMS
* messages being files in a folder
* "incoming_SMS_messages". You may
* need to modify these parameters to meet
* your local settings.
*/

#include "tele3d.h"

int main (void)
{
int x=0;
time stamp1 =.0;
time stamp2 =.0;
barray *message = NULL;

t3d_measure_filepath_Rtime_CREATED_n_LAST("incomin g_SMS_messages",&stamp1);
while(1)
{

t3d_measure_filepath_Rtime_CREATED_n_LAST("incomin g_SMS_messages",&stamp2);
if(stamp1 < stamp2)
{
t3d_read_file_Rbarray_CREATED_n_LAST(NULL,&message );
x =
t3d_write_barray_Rurl_CREATE_n_OVERWRITE(message," C:\\temp\\SMS.txt");
if(x < 0)
{
x= abs(x);
t3d_write_int_Rbarray_ERROR_CODE(x,&message);
fprintf(stderr,"Error writing SMS to comp: (reason
%s)",message);
t3d_create_BEEP();
continue;
}
else
stamp1 = stamp2;
}
t3d_create_SLEEP_n_SECONDS(5);
}
return(0);
}

/* END OF cell.c */
/** BEGIN of compSMS.c
* Compile this using GCC
* and then run the program.
*/

#include "tele3d.h"

int main (void)
{
int x=0;
time stamp1 =.0;
time stamp2 =.0;
barray *message = NULL;

t3d_measure_filepath_Rtime_CREATED_n_LAST("C:\\tem p\\SMS.txt",&stamp1);
while(1)
{

t3d_measure_filepath_Rtime_CREATED_n_LAST("C:\\tem p\\SMS.txt",&stamp2);
if(stamp1 < stamp2)
{
t3d_create_BEEP();
x = t3d_write_file_2MESSAGEBOX("C:\\temp\\SMS.txt");
if(x < 0)
{
x= abs(x);
t3d_write_int_Rbarray_ERROR_CODE(x,&message);
fprintf(stderr,"could not write SMS to messagebox
(reason %s)",message);
t3d_create_BEEP();
continue;
}
else
stamp1 = stamp2;
}
t3d_create_SLEEP_n_SECONDS(5);
}
return(0);
}

/* END OF compSMS.c */
[*] almost means that you will need to write the presented t3d
functions - good luck.

If needed, t3d language documentation is available at
http://www.tele3d.com/t3d/language.pdf
Juuso Hukkanen
www.tele3d.com
(to reply by e-mail set addresses month and year to correct)
"t3d programming language" and the structure of t3d function prototype
are trademarks of Juuso Hukkanen. (Currently discussing the
transfer of those to a major charity organization).
</OT>
Jul 10 '06 #9
Chris Dollin <ch**********@hp.comwrites:
Kenny McCormack wrote:
[the usual]

Chris, please don't feed the troll.

--
Keith Thompson (The_Other_Keith) ks***@mib.org <http://www.ghoti.net/~kst>
San Diego Supercomputer Center <* <http://users.sdsc.edu/~kst>
We must do something. This is something. Therefore, we must do this.
Jul 10 '06 #10

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

0
by: Carlos Eduardo Peralta | last post by:
Hello dotnet frineds: I make a decision in the 2001 year: i want to be a dotnet guru. I want to consume all my learning hours just learning this applications plataforms and NOT THE JAVA ONE. ...
2
by: HateSpam | last post by:
Can I develop cell phone apps with VB .NET? What would you suggest as a target phone for testing, and would I need any other special equipment? Are there any good books for developing for this...
3
by: squash | last post by:
I have a client who wants to be able to automatically send a text message to a cell phone after a user submits a form with a valid cell phone number. Is this possible? Which websites provide this...
2
by: eSolTec, Inc. 501(c)(3) | last post by:
Thank you for any and all assistance in finding information on this, it is greatly appreciated. I have a client that wishes to integrate into a desktop application three things from an Access...
2
by: jl | last post by:
I have a J2ME cell phone application that via the AMS (Application Manager) delivers a status report to my server indicating whether the suite was successfully installed and identifying the reason...
5
by: Stefano Peduzzi | last post by:
Hi, I'm building an application where I've defined a custom class Customer. Customer can have many phones (defined by phoneType and phoneNumber). I want to check that a phoneNumber is not already...
9
by: Patrick Jox | last post by:
Hi, I want to create an application that communicates with a cell phone (not smartphone) to synchronize data (contacts, appointments and tasks). could this be done by extending Activesync. In...
0
by: Shawn Milochik | last post by:
I wrote a little something so I could check my current minutes used to see how I was doing for the month. I only get 1,000 minutes, and I have three phones (two other family members share the...
0
by: ryjfgjl | last post by:
ExcelToDatabase: batch import excel into database automatically...
0
by: Vimpel783 | last post by:
Hello! Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
0
by: ArrayDB | last post by:
The error message I've encountered is; ERROR:root:Error generating model response: exception: access violation writing 0x0000000000005140, which seems to be indicative of an access violation...
1
by: PapaRatzi | last post by:
Hello, I am teaching myself MS Access forms design and Visual Basic. I've created a table to capture a list of Top 30 singles and forms to capture new entries. The final step is a form (unbound)...
0
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
0
by: Defcon1945 | last post by:
I'm trying to learn Python using Pycharm but import shutil doesn't work
0
by: af34tf | last post by:
Hi Guys, I have a domain whose name is BytesLimited.com, and I want to sell it. Does anyone know about platforms that allow me to list my domain in auction for free. Thank you
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.