Re: iPhone List? - few questions
Re: iPhone List? - few questions
- Subject: Re: iPhone List? - few questions
- From: Gustavo Pizano <email@hidden>
- Date: Fri, 24 Jul 2009 09:01:08 +0200
Roland hello.
Thanks for the advises, I think I will stick with the reply SMS-> save
my app status-> close my app -> (hit the link of the sms if comes with
url, or copy the access code and relaunch my app)-> complete the
authentication with the access code.
well, if that;s they way to do things, then so be it, pity I can't
listen to incoming sms.
Thanks for your help... I will keep you informed with my progress.\
G.
On Jul 24, 2009, at 3:12 AM, Roland King wrote:
Well you can't register to listen to SMSes, that hook just doesn't
exist. So if you rely on proving who someone is by sending something
to a specific phone (ie making use of the telephone companys vast
network ability to locate one device with that particular SIM card
in it at that point in time anywhere in the world), SMS is kind of
about the only way to do it.
I took a look to see what happens when you're running an app and an
SMS comes in, with a URL on it . it's not totally pretty, you get to
option to 'reply', which closes your app, or 'close' which closes
the SMS. So the best you could do like that is hit reply, close your
app, hit the link in the SMS which opens it up again, you'd need a
quick-start app for that.
The only other way is to have done the SMS thing way in advance and
cached a token on the phone you use at the time direct to the
server, but that's not very good security, the token would go with
the phone, swap SIM cards and someone else is now you.
Gustavo Pizano wrote:
@ Jesse:
Yes the idea is to distribute the App through the AppStore, so I
guess I can't go any deeper.
The idea is that in the server there is gonna be a sms application
that will send the Authorization code to the registered iPhone that
is asking for it, then My app should take that access code and
connect to the server, its kinda a 2 step Login system. So if
there is gonna be an inpediment, then the sms app in the server
will send the sms with the Auth Code, then my iPhone will receive
the sms, and the sms app of the iPhone will say "Hey you I have a
new sms", so now that I have the code, I can just copy-paste it in
the access code of my app and do the second part of the
authentication. (well that is what its on my mind due that i can't
get the data of the incoming sms without leaving my iPhone app ).
I dunno how user friendly is to do such a authentication, as you
can see we are working with very critical data that requires a
strong authentication and data encryption , like a bank sort to
speak.
G.
On Jul 23, 2009, at 4:42 PM, Roland King wrote:
Right, but you can register your own url schemes which will
launch your app and let it handle the data. I've assumed that the
SMS displaying framework will parse out such URLs, realize they
are registered and put the correct hotlink into the message to
launch your app.
On Jul 23, 2009, at 9:55 PM, Jesse Armand wrote:
The sms: URL on the iPhone only supports phone number, unless if
you're willing to go deep into the private API, but you couldn't
distribute your app into the App Store.
My advice is, better to install some kind of sms application or
gateway on your server, so your iPhone app could send the text into
the server, and the server will forward the message through sms.
Jesse Armand
----------------------------------------
(http://jessearmand.com)
On Thu, Jul 23, 2009 at 2:43 PM, Gustavo
Pizano<email@hidden> wrote:
Nop you didn\'t miss understood the question, I will have a
look at the
docs, because the idea is that once Im in my app, put the first
credentials,
then the server will send me an authorizaiton code, and the
idea is to don't
leave my app to get the data from the sms, but the app fetch
the data of the
incoming sms, but if you tell me that you think its not
possible to get
more automated than clicking the ">" arrow in the Iphone sms
app to launch
mine with the data in the url then Im kinda stuck... I will take
a look at
the docs and see what I find out.
I will let you know if something as you have been thinking
about doing the
same, if find a workaround.
G.
On Jul 23, 2009, at 9:27 AM, Roland King wrote:
If you're trying to use data which has been sms'ed to your
user, which is
something I've thought about doing before, the only way which
I thought it
could be done is to register your own url for the application
and then have
the sms you send include the data in a URL format, eg if your
app registered
URL is foobar you might have foobar://yourdatahere in the SMS.
I believe
that you'll then have the opportunity in the SMS screen to
click the ">"
arrow at the side of the screen and your app will launch with
that URL as
data and you can process it.
I don't think you can get any more automated than that. It
also relies on
you sending the data in a compatible format.
Not totally sure this is related to the
UIRequiredDeviceCapabilities
though, go hunt around the docs for url or 'phone:' and
'text:', I think
those are a couple of the URLs that apple registers for stuff
and the
documentation is around there.
If I have misunderstood what you're asking .. sorry
Gustavo Pizano wrote:
Aha ok.. thanks.
I need to develop an iPhone app that fetches sms data form
the sender,
the data are access keys, so I was wondering if tis possible
to do such an
application.
I was reading the iPhone App programing Guide, and there is
something
interesting, I can register my app with some particular
keys, in my case,
"sms" into the UIRequiredDeviceCapabilities, so I can
comunicate with teh
iPhone app that handles the sms, and fetch the data... am I
correct?
Thx
G.
On Jul 23, 2009, at 9:11 AM, Roland King wrote:
if your questions are Cocoa, Core Foundation etc related and
about
released software (ie not iPhone OS 3.1), ask away.
you can try the apple iphone dev forums too if you like (but
I dont
find them anywhere as nearly useful as this list)
Gustavo Pizano wrote:
Hello, I wish to know if this list works also for iPhone
developer, I
hadn't found one related to iPhone except the govIphone,
that its for
goverment iPhone apps... so.. :S.
If this is the correct list to write then please let me
know so I can
ask few questions related.. Im a mac developer but starting
to dev for
iPhone..
Thanks
Gustavo
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please do not post admin requests or moderator comments to
the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please do not post admin requests or moderator comments to the
list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden