hi all i have made application for blackberry .it is working on my Blackberry 8310 device .i m using vodafone Blackberry dataservice in 8310 and app working fine .but when i install this app in my 9550 and i want to used this app using wifi but i app not working using wifi so what is the reason for that. ? therer is any extra setting for wifi ?
From your question it looks like you haven't heard about network transports. If this is the case, then it's a miracle your app worked OK on the first device! :)
Network transports is a BB specific concept. Check Connecting your BlackBerry - http and socket connections to the world. Basically you end up with a url that is appended with a specific string that tells to the BB internals what network transport to use.
Try this:
HttpConnection httpConnector = (HttpConnection) Connector.open(url + ";interface=wifi");
Related
I'm currently working on a project that needs communication between a Raspberry Pi 3 and an iOS device.
I have achieved to pair the two devices and connect them (im using RxBluetoothKit for that) but when it comes to communication I just cant find any ressources to even guide me.
In fact I need to send a string from the RPi 3 to the iOS device and send a string from the iPhone to the RPi3
Does anyone know where i could find some help ?
I code in Swift for the app.
I´m developing an iOS App using Texas Instruments Launchpad CC3200. But the awesome SmartConfig feature is only working for 2,4Ghz WiFi Network connections.
Users trying to do SmartConfig on hybrid or 5Ghz only WiFi connections are failing.
Does anybody know if it is possible to programmatically determine what type of WiFi connection (2,4Ghz or 5Ghz) an iOS device currently has?
Unfortunately, this is not possible unless your device is jailbroken or if you have access to private headers in the API.
The only thing you can do is tell the difference between cellular and WiFi connection using the Reachability class by Apple. The networking tools are very limited in this case.
I am developing a iPhone app like " Eject device" on computer. which means, when I connect USB cable for connecting to computer, this application just disconnect that connection by a single Click. I was googled about this, and I got some idea about EAAccessoryManager . this EAAccessoryManager only for notification. when USB cable connects or disconnect it can notify to the user. But I need to disconnect connection programmatically . is there any API or Tutorial available for this ? Kindly help me please.
You should probably look at IOKit. I believe IOKit works with USB device both on iOS and OS X.
You may be interested to take a look at these link:
https://developer.apple.com/library/mac/#documentation/DeviceDrivers/Conceptual/USBBook/USBIntro/USBIntro.html
http://iphonedevwiki.net/index.php/IOKit.framework
Also, there is very good book on iOS/OS X kernel and I believe there is a whole chapter regarding IOKit:
http://www.amazon.com/Mac-OS-iOS-Internals-Apples/dp/1118057651
You can find the private API for the iOS Frameworks in https://github.com/kennytm/iphone-private-frameworks, but I don't think that this capability is present. The reason I think this is because there is no reason to want to do this from the iPhone, and therefore no reason for Apple to include it in the API.
I am trying to connect to an rtmps endpoint in AIR.
The code looks like this:
private function onCreationComplete():void{
var conn:NetConnection = new NetConnection();
conn.connect("rtmps://someserver.com/someapplication");
conn.proxyType = "best";
conn.addEventListener(NetStatusEvent.NET_STATUS,statusHandler);
}
private function statusHandler(event:NetStatusEvent):void{
var conn:NetConnection = NetConnection(event.target);
trace(event.info.code);
}
This actually works perfectly when running the app on the desktop in ADL (emulator).
However when I install the application (.ipa) on the iPad, the connection fails.
Both my desktop and the iPad connect to the same wireless network (thus use the same network architecture to connect)
Has anyone experienced this kind of behaviour before?
Cheers
This is still a problem with Air 3.1.
I have raised a bug report with Adobe - https://bugbase.adobe.com/index.cfm?event=bug&id=3133542
After some serious efforts to figure out what was wrong here,
We were unable to establish a connection to our server via rtmps.
Regular rtmp seems to be fine but is not unfortunately not an option for us.
*EDIT*
This problem was solved in the AIR 3.1 release.
Turns out connecting via WIFI + Proxy via RTMPS was failing for iOS.
Check out the AIR 3.1 release notes for more information on this.
We establish connection to the server only through the RTMP protocol.use rtmp instead rtmps,the connection can be established.
In my blackberry application I'm establishing network connection by appending ;deviceSide=true in the url. It is working fine on simulator but its not working on device. I've correct APN settings as other third party apps are running fine.
Please let me know the possible reason for this issue!!!
Its not necessary that your app always connect via direct TCP.
For taking care all types of networks available in blackberry for your app refer this article.
How to programmatically connect to the internet in blackberry
Network Diagnostic Tool
download this network diagnostic tool developed by RIM and check weather direct TCP is working or not in your mobile.