I have created BB application and I have called webservice in this apps . App is working great in Simulator but when I sign application and install app in device. But through HttpConnectionFactory and HttpConnection have problem to get Internet process has been stop after Homescreen. So how can I get internet of my application? Is there any other way to get internet in device? I search a lot about that but I get that this is known issue for blackberry developer. So please tell me how can I solve this problem ?
Blackberry is a device which can connect to internet in many many ways. Each of them are specified as a service book. Different types of transports that are possible are WAP, Blackberry Enterprise Service, Blackberry Internet Service, (old) Blackberry Unite, Wi-Fi etc. When you create a network connection, you will need to specify what type of connection you are interested in.
A more detailed information is provided in this article - Different ways of connecting to internet
Related
I have a web application (hobby project) with a chat function that is implemented with Express.js and socket.io.
Everything works fine on PC and on Android phones, but as soon as you connect with an Apple device, there will be problems since it seems that no websocket connection can be established between the server and the Apple device.
After a bit of googling I found this page:
https://socket.io/docs/v4/troubleshooting-connection-issues/?fbclid=IwAR2XeuehqJkkgFoshFKSVN7sz4UUfWkZ0CPYmsWnqXm-0Q17iVC3dRDyEEI#problem-the-socket-is-stuck-in-http-long-polling
I have limited abilities to troubleshoot on the client side since we do not have a Mac but I followed the troubleshooting that they recommend for the server side. When you connect with an Apple device, it seems that the event "upgrade" is never triggered and you therefore have to settle with HTTP Polling instead of web socket, which does not provide a good user experience.
I have got a certificate from Lets Encrypt and am using HTTPS to access the webpage. I have also tried with several different browsers on the Apple devices.
Anyone have an idea why you can not create a web socket connection with Apple devices and what you could do about it?
Feeling a bit lost and would love some help!
I am developing a mobile application in which i need to show internet service provider name(when phone is connected via wifi). I searched on google and we can do it easily with NSHost but it is only mac so i am wondering if there is alternate way for iOS.
You can use the following library to get all the information of the device
https://github.com/Shmoopi/iOS-System-Services
I hope this helps...
I just started working on BES10 for Blackberry 10 devices, for Mobile Device Managerment(MDM) . I just gone through the documentation that are provided in the link http://docs.blackberry.com/en/.
Based on the given information, I understand that, I should have Blackberry Device Service configured in one machine and a client application.
Now my question is how does server notifies the client application to enable/disable particular settings, and what is API. If possible please provide a snippet of code. Thanks in advance.
i have been working on developing an blackberry application. as per now i want the application to connect to a local server on my network and fetch a file from that machine. i have been using the library given by a named blackberry developer Mr.peter strange....here is the link for the same Http connection through BIS-B
my requirement would be setting up connection to the local server using any transport mode but it should be able to render the text downloaded.
i tried using the demos provided by blackberry samples as it comes with the plugin for eclipse the http demo from those samples shows only trying to setup an http connection string and the networkapidemo sample shows diffrent http codes when the url is entered as desired.i am running all the applications on the simulator. i havent tried running any of my apps on the hardware
may i know why this problem arises of http codes....ill also want to know guidelines about how to set a simple http connection just to download a file(text file) from a local server.
I have tried many forums too. if anybody would have a look at it i would post it here.
Only a simple connection is becoming a headache!
anyways...waiting for replies..
thanx in advance guys :)
It does not matter whether you want to communicate with local or remote server.
1) See the API docs on HttpConnection. There are sample code in there.
2) Unfortunatelly, on BB you should be aware of Network Transports. Check this thread to get all info you need on Network Transports.
UPDATE:
The second point explains an approach that will work on any OS. If you need an OS 5+ only approach, then check the ConnectionFactory API. ConnectionFactory usage sapmles.
i developed a j2me application that access url from the app, its working very well on nokia mobiles but when i installed it on a blackberry device i couldnt access the web, i dont know how to let the BB device to access the web
You have to mention interface with url in blackberry. The BlackBerry knowledge center has an article that explains how to make Http Connections: What Is - Different ways to make an HTTP or socket connection
which device you are using and what OS version?