BlackBerry BIS Push Simple App IllegalStateException: no application instance - blackberry

Hi There
I've tried to implement BB BIS Push notification in my app with the example from the "Can't register the push server : "no application instance" error" thread on the BlackBerry developer forum. I also tried to use Urban Airship's sample client to workaround this.
Both applications throw the same exception: IllegalStateException: no application instance If you look at the developer forum thread, it's very clear, simple and more understandable than Urban's example.
I didn't understand where is the problem? I've tried many things, but I haven't found any solution for this.

Let me answer to my question.
If your cell line doesn't support to BIS service of BlackBerry, you will get this error. I know thats not understandable exception but that is true. I talked with my cell provider and then they opened BIS service for my cell line.
So, it's working now.

Related

Issue using Codename One iOS Certificate Wizard, getting error "REST request failed"

I have been trying to generate an iOS certificate from the Codename One Control Center, launched from Intellij. Every time I submit my apple iOS developer credentials, and then input the 2 factor authentication code, it returns with this error:
REST request failed due to internal CLI failure. See server error log.c5307525-1805-4360-d4ca9d46cad0
I enrolled in the Apple Developer Program, and I believe I've agreed to all of the Apple Developer agreements and such, and I have exactly one device registered, as well as that one device set as the trusted device, so it receives the 2 factor authentication notifications. I'm also not sure where I am expected to be able to see the "Server error log" as I have searched around for that.
I've only been able to find 2 other cases that seem similar to mine but neither give me a clear idea of what the problem is or how to fix it. They do however seem to resolve their problems. I really don't have any more ideas as to what the problem could be.
Codename One IOS signing
Unable to Login to iOS Account from CodeNameOne
Another odd thing about this problem is that usually I get this error after being prompted to input the 2-factor authentication code, but sometimes I'm never prompted to input the code before getting the error, yet I will still receive the 2-factor authentication code text message on my phone despite there being nowhere to use it.
Any help is appreciated.
I have made some updates to the certificate wizard to try to work around this issue. Please give it another try. If you run into another problem, please post the error message again, and I'll look it up in the logs.
Ok so after looking around a bit further, I was finally able to find a git issue post that seemed similar to mine, and at the very end of the thread (linked below), someone mentioned that you need to be signed into that apple id on the device, not just have it as a trusted device. My iOS phone was showing up in the account because I was logged into the Apple Developer App, but this is not enough. Thanks for helping.
https://github.com/codenameone/CodenameOne/issues/2779

MailCore2 Alternative

I've spent a great deal of time creating an Objective-C based application for the iPhone. I incorporated MailCore2 so that emails could be sent without a dialog popping up (Apple's system of in-app email). My app works perfectly on all of my devices, including all outside devices associated with TestFlight beta testing. Unfortunately, the moment Apple reviews the app, they always reject it, saying that MailCore2 made an AlertView with the contents: "Error! Please connect to the internet or try again later.", and the email never properly sends.
My question is, is there an alternative to MailCore2? I've heard of MailGun, but I see no documentation on their site for either Objective-C or Swift.
Thanks in advance to all who reply.
Mailigun is a services and yes you can send mail with Mailgun, but not receive mail like normal email app. Anyway it is completely different from mailcore (Imap/pop). Mailcore is so hard to use...
If you need only send email i can provide you entirely code for achieve this using mailgun.

Razer Nabu iOS Authorisation

I'm trying to setup a test iOS app to see what I can do with the Razer Nabu but I'm struggling with the patchy documentation. The example for authentication only mentions a 'fitness' scope and with that I don't seem to be able to send a notification to the band (the main thing I'd like to try).
When I try and send a notification I get Operation 36 returned and no notification on the band so I assume that means it failed (return codes from the SDK aren't documented it seems).
Does anyone know if there is a different scope for notifications? I tried 'notification' and 'notifications' but they resulted in failure to authorise in the Nabu Utility app.
Any help or pointers to documentation/samples/guides I might have missed would be very helpful!
NB I managed to get authorised with the 'fitness' scope and read some fitness data so everything's working except for the notifications!
Having got in touch with the Razer support guys and talking to this lovely chap called Brandon the issue was that I had the Nabu Utility app from the App Store and the version from the developer site was actually more up to date in this respect, so getting that one installed (and uninstalling the App Store version) made everything work correctly!

iOS Push Notifications using NodeJS

I have a requirement to implement the server side code for pushing notifications to an iOS app. I have followed the link below.
https://blog.engineyard.com/2013/developing-ios-push-notifications-nodejs
The problem is I always get 'Insufficient credentials' message. I've also tried with another node.js module by name 'apn' but with no help.
Has anyone tried either of these modules successfully? Are there any other alternatives?

Complete procedure to implement APNS in ios application

I am trying to implement the push notification in my application .
For this i searched and i found that when my application is not running in foreground then user can be notified by using APNS . And i read many related articles and blogs for this however i got confused because it is not clearly mentioned how to create the server and where it will physically exist .Also APNS (assuming that it is the service provided by apple )will reside with ios on device.
IF some has link which will clearly shows each and every step involved to implement the APNS then please do tell me ..
Thnx in advnce
Paggggyyy123
http://www.raywenderlich.com/3443/apple-push-notification-services-tutorial-part-12
This will get you the basics..
http://www.raywenderlich.com/3525/apple-push-notification-services-tutorial-part-2
the above will get you with the server part..
If you have any problem..do tell ..

Resources