Send data directly between phones that are not located

I have an idea for an iPhone app that will make billions of dollars for me and help me take over the world. I am currently developing an application architecture. Initially, I assumed that I would need to create and host a database that would allow users to upload their data and share it with other, targeted users. But I thought it would be better if users could send their data directly to each other without saving them in the database. However, I could not find anything that could suggest that this is possible.

Can I send data between iPhones that are not in close proximity (bluetooth), and not on the local network? For example ... User number 1, who is in Tennessee, creates some information and hits "Send to others", and he sends this information directly to User number 2, which is located in Arizona, and User number 3, which is located in Maine. Can I hack text messaging features?

(I understand that the phones belonging to users No. 2 and No. 3 must be turned on and run an application that will receive data)

I'm new to mobile development, and I'm still used to the functionality of mobile devices, so I'm sure this is a dumb question. But it’s worth asking, because if it can be done, it will dramatically change the architecture (and maintenance costs) of this application.

Thanks in advance for any tips / pointers you can give.

+5
source share
4 answers

This is something being processed using the publication template - the subscription. You might want to look into plug-in play services like pubnub . This will allow you to do just that. Phones that should receive messages to each other will have listeners configured on one pubnub and will be notified when any of the other phones publish on that channel. Something like pubnub has a pretty simple API / SDK that you can use for a quick and prototype prototype (and free, at least at first).

+1
source

# # . APNS push # 2 # 3. .

, .

+1

Amazon Simple Queue Service (Amazon SQS), , tat.

:

Amazon Simple Queue Service (Amazon SQS) , , . Amazon SQS, , , . Amazon SQS , Amazon Elastic Compute Cloud (Amazon EC2) - AWS.

Amazon SQS , Amazons -. - . Amazon SQS , .

API iOS, , 100 000 , 0,01 10 000 .

: http://aws.amazon.com/sqs/

+1

iPhone, (bluetooth), ?

, , - .

... β„–1, , " ", β„– 2, , β„– 3, . ?

:

  • ...

  • , .

IP- . , 3G-, , . , wifi , . , , , IP- DHCP- . .

A server, on the other hand, is usually located at an address that is easy to find (thanks to the domain name system), easily accessible, and almost always accessible. For these reasons, you usually have to communicate with mobile devices with each other by going through an intermediate server.

0
source

All Articles