Is it available to use UIBackgroundModes and bluetooth-central to send a meesage who is in close area?

I want to create an Application that will send a message or pop up an alert when an people is using a same Iphone Application. And the requirement is , it also need to pop up an alert even it is in background or in sleep mode. I found an function named UIBackgroundModes and bluetooth-central that will allow to move bluetooth in background. Somebody help me and i will also be happy if there is sample code.


Not while app is in background mode. For background mode, you will have to fallback to push notification.

Excerpt from Apple Docs:

Peer-to-Peer Connectivity Provides Local Wireless and Bluetooth Networking

Peer-to-peer connectivity allows your game to create an ad-hoc Bluetooth or local wireless network between multiple iOS-based devices. Although designed with games in mind, this network is useful for any type of data exchange among users of your application. For example, an application could use peer-to-peer connectivity to share electronic business cards or other data.

Peer-to-peer connectivity is provided in iOS 3.0 and later.

Need Your Help

Drupal FileField remove file from node but leave on Server

drupal drupal-6

I have a cck FileField attached to a content type. When I remove a file from a node I want to remove the reference to the file but keep the file on the server. The reason for this is because we use...

What exaclty happens when a you call a constructor(new Class),do instance initializer blocks runs first?

java oop object constructor

Im a complete beginner in the Java especially OOP so please pardon my naivety but recently while going through Head First Java,they said,A constructor is a code that runs when somebody says new on a

About UNIX Resources Network

Original, collect and organize Developers related documents, information and materials, contains jQuery, Html, CSS, MySQL, .NET, ASP.NET, SQL, objective-c, iPhone, Ruby on Rails, C, SQL Server, Ruby, Arrays, Regex, ASP.NET MVC, WPF, XML, Ajax, DataBase, and so on.