How do programmatically turn ON blackberry's internal GPS? - blackberry

Does anyone know how to programmatically turn on the Blackberry internal GPS receiver?
Curve 9230

LocationInfo.setLocationOn()?
Check the API documentation for restrictions.

Related

Redirecting Data flow to either wifi or Cellular in ios

I want ot redirect my iPhone data to either wifi or Cellular. Based on some criteria. Is it possible to redirect whole of the iPhone data to a particular interface like to either wifi or cellular. ?
I heard that this can be done using VPN but no idea how it can be done.
Any help on this?
By default, iOS help you with redirection when you have weak/good WiFi and switch on in Setting - WLAN Assist
MultiPath is a technology switching automatically by OS
Just read this Apple Doc for more help.
You can't manipulate it easily with high level API.
After all, changing device data flow is kind of low level thing. Just like NetworkExtension is Apple provided. As far as I know, Apple does not mention it in public.

Cast video using Google chromecast feature

I have read the document here https://developers.google.com/cast/ for casting purpose.
Requirement of application is to develop application than allow user to cast video on TV.
My question is as a developer we need to take care of only sender side, right ?
If no than how to create receiver side coding ?
Is there any way to test it without using TV and chromecast device?
Thank you
It might be good if you read some more on cast on the same site under "Guides", that tells you all the components needed.
You don't have to write a receiver if you are happy with the Default/Styled receiver that is provided by Google. Read the link above to see how it can be done.
For testing, you need a real cast device like a Chromecast or Android TV.

Paring iOS app to Samsung TV as remote controller

I have been using Upnpx library to discover the TV using Upnp protocol.
What I have to do now is to pare my iOS app with the TV as a remote controller.
The first objectives are to take control of the sound volume, move the mouse cursor, browse through web-browsers, etc.
I have tried to google for urn:samsung.com:device:RemoteControlReceiver1 specification but I had a hard time to find useful informations.
Has someone already done this before and could give me directions or the technical specification to control the TV from a remote app ?
Regards,
You could try to use Charles. That way you will be able to sniff your network. Then try to duplicate the functionality in your app.
Just for the people who will face the same issues.
I paired my iOS app to the samsung TV through TCP socket (I used GCDAsyncSocket to handle this) and using the great informations I found here :
http://sc0ty.pl/2012/02/samsung-tv-network-remote-control-protocol/

CLLocationManager/MKMapView with external GPS

I've had reports from multiple users saying that their external GPS units (Bad Elf, mostly) aren't working with my GPS-enabled app. I'm not doing any manually detection for GPS units; the app assumes the device has a unit and just displays an error if no location is found. My question is:
Is there any additional setup that needs to be done to allow a CLLocationManager and MKMapView to interact with an external GPS on a device with no internal GPS unit?
I don't think you can do anything about this. This is an issue for Apple and the GPS vendor. You are using an API to access the internal GPS.
As Till pointed out in his comment, it seems that this is a problem with iOS 6. You can read more about it here as well as in the link that he provided.

Detect Bump on No internet stackoverflow

When there is no Internet connection, is there a way to tell the user that they cannot Bump their iPhone to transfer data. I have used motionEnded: method to detect the shake, but the sensitivity is less compared to the Bump feature.
Any help?
use apple's reachability class to check for connection availability and pop up a alertview with your desired message for user.
Your question is not clear. Can you tell more about what you are trying to achieve, what you have done so far?
Anyway If I am getting this right, you want to transfer data when there is no internet connection. Remember bluetooth? Apple has built a GameKit framework on top of it. You can explore that.

Resources