Display message when roaming in BlackBerry - blackberry

I want to make an application where I show a message when the user enters a roaming area. Can I do it in blackberry?

You will need to implement RadioStatusListener. And in networkStatusChanged
you can check if RadioInfo is in Roaming state

Related

Broadcast pop up message when iPhone devices comes in the iBeacon range

I have developed one application which will get connected with the iBeacon & will give notifications while user enters or exits from the iBeacon range.
Important Note :
I am using the inbuilt CoreLocation class to handle the iBeacon devices
Now with iBeacon device what I want to achieve is whenever any iOS device comes in the range of iBeacon it will send the pop up message to that device. It will be normal welcome message.
Kindly note that I do not want any application to get installed on that device. Still iBeacon should be able to detect the device through Bluetooth & send pop up message.
My question is, This is feasible ? If so how can It be able to send the pop up message to the any iPhone device that comes into range ?
Any hint or guidance will be highly appreciated.
Sorry, there is no way to trigger such a message if you don't have installed an application which listening for this.

How to detect button action in a BLE PIN input popup

After connected to a BLE device, it will show a PIN number popup by system.
How to detect whether user canceled or inputed the PIN number?
For a very strange reason iOS does not tell you the pairing status, so you can't know anything. Depending on how the peripheral handles GATT requests, it might deny access to unpaired devices. In that case you can guess that you are paired if you got access to a characteristic you didn't previously.
If you write the peripheral's software, you can also send notifications about the pairing status.

How to run ios app continuously in background with user's permission

I'm developing one iOS application which is related with OBD2. The app provides feature like connecting with obd2 device and read out data.
With user's permission, I want to implement below feature even if app is not running at all :
Now I want to do When user enters car, connection to obd2 device is to be done automatically and check for some params if i gets failure on those data then i need to send data to cloud for analysis.
How can i know about user enter car ? I'm thinking one way like continuously checking the Wifi Availability to OBD2 device and if i get wifi available then i can say "user is nearer to car or in the car".
But again problem is that if app is not running in the background then how can trigger this kind of event.My app is not supporting any background mode like voip, audio, location, newstand etc..
Is there any other way like local notification or any other way by which i can trigger event that user has entered in car even if app is not running at all ?
Can Background mode like Receive updates from External Accessory mode or External Accessory framework support me in this feature implementation ?
Can i develop this feature in such way that Apple approves this feature ?
Any other feedback or suggestion will be appreciated !

Disable "Location Accuracy" message when using iBeacon

I have an app that uses iBeacon. I plan to provide all of the feedback about the state of Location Services and Bluetooth to the user within the app.
The problem is: When I disable Bluetooth while the app is running. An alert view comes up titled "Location Accuracy" saying "Turning on Bluetooth will improve location accuracy." This degrades from the user experience that I am trying to set up. I want to guide users into turning on Bluetooth using custom UI.
I would like to disable this alert. Is that possible?
You can't. iBeacon based on Bluetooth so it just not work without turning it On.
Upd. but of course you can check that bluetooth disabled with CBCentralManager and inform user in other way before using iBeacon code

How to detect disconnect event on a channel with Faye

I am trying to make a chat on my website looking like google talk. I
want to manage the disconnect event. A user can disconnect on several
way :
By clicking the disconnect button (easy to push the event to his
friends)
By close his windows (I can send the event to windows close
javascript event but if the user has many windows open on my website,
i don't want to disconnect him.)
So, how can i detect when my connection on a channel is closed? Each
user has his own channel build with his id.
Thank you for help.
You can check out the meta events, /meta/unsubscribe and /meta/disconnect.
More info here: Faye Monitoring

Resources