i am developing an application for blackberry i want alarm to ring on a specific date please help me out how to do it.
Just a short tips:
Write background application to make alarm and UI application to configure things
UPDATE
Just extand you application class from Application instead of UiApplication
See examples:
BlackBerry background applications on StackOverflow.com
Also, in Eclipse, in Project Properties->BlackBerry Project Properties->Application you can set process to be system module (hide app icon on device), as well to be start-up.
Save configuration to Persistent Store
Blackberry - application settings save/load
Use different types of notification (from Dialog to Alarm)
Blackberry - How to use notification icon in statusbar
Notification Service for Blackberry OS 4.5 application
Add a notification icon at the status bar in BlackBerry JDE 4.5.0
BlackBerry - Reminder and SMS feature implementation
Related
I'm using MobileFirst Platform 7.1 with Paho MQTT (Internet of Things), I'm trying to implement a Hybrid Application with mqtt for Android and iOS.
I have tested the app in Android and it is working as expected, when it is in the foreground and background,
While in iOS, it does not work as expected. It works correctly in the foreground, but not in the background. I was testing using the iPhone Simulator of XCode and iPhone 6.
I found a project which implemented with MobileFirst and MQTT. from https://developer.ibm.com/mobilefirstplatform/documentation/integration/mq-telemetry-transport/
i am just adding host and port number and adding android,ios environment.but same problem facing android working iOS not.
at this moment what can i do ?
UPDATE:
in iOS, it works correctly foreground.but when i send background the "MQTT client" connection lost form broker.
this method fire :
this.client.onConnectionLost = function() {
alert("Connection lost!");
};
on the other hand , android , windows it work perfectly for foreground and background
For example :
I have a room there have a PIR sensor. it work like publisher . my application user is a subscriber .
when user out the room that that time she open application,subscribe and
send application background.
anytime someone entire the room that time , she will be get a notification.
Details on how to run in the background on iOS can be found here. This link also lists the actions that Apple allows to run in the background, if your app does not meet those criteria then it is likely to get bumped from the app store.
The list also shows which UIBackgroundModes to place in your Info.plist to flag that your app needs background access.
I can not found at least one way to mange it for hybrid application ,tried with several way ,failed and mange it easily for native application MQTT iOS background.
Todos
Plan support for new platforms (iOS, Windows Phone)
Add background service support in Android version
more check this link https://github.com/arcoirislabs/cordova-plugin-mqtt
My app is working on background.
I want to hide my Application in Blackberry Application Management.
option -> Device -> Appliation Management
Is it possible ?
How I can achieve this ?
This is not possible for BlackBerry 10 currently or in the future. The end user is required to have control of all third-party applications running on the device at all times. An application running in the background needs to be visible and accessible from within an application panel.
I am developing a BlackBerry application in PhoneGap, Cordova. I need to run the application in the background to send the SMS at an interval of 15 minutes.
Is this possible in a PhoneGap project?
If you are making a project for BBOS based devices (6.0, 7.0) then this can be done by adding an entry to your config.xml - http://developer.blackberry.com/html5/documentation/rim_background_element_1265316_11.html.
If you want the app to remain running in the background when the user closes the app, you will need to trap the back event.
I am developing a mobile app using phonegap for the Android, iPhone and Blackberry platforms.
I need a notification to be send from a Java EE server to BB when a new message gets created. This means the Java EE server pushes this notification and the BB mobile device gets the notification. I need to put a push notification feature in my app, so that my server can poll my app and then put the notification if there is any new notification.
On browsing the net I found out that there are plugins for Phonegap for both iPhone and Android, which help in showing the notification. But I did not find any useful resources for Blackberry.
I am following http://docs.blackberry.com/en/developers/deliverables/30152/Push_Service_SDK-Installation_and_Configuration_Guide--1648741-0622124431-001-1.1.0.16-US.pdf.
However, I'm facing some environment challenge (setting up the SDK in the IDE for Blackberry in Phonegap).
To use that SDK the IDE is needed, but I think using ANT is not possible. I need some examples for creating the Phonegap project for Blackberry using the IDE.
I want to get a push notification in Blackberry using phonegap. Can someone help me in performing this? Any links that explain this with HTML or JavaScript would be really helpful.
Phonegap does not provide plugins for Blackberry. Instead BB already have an API for HTML5 for push notifications (BIS/BES). They are a bit limited comparing to the native code: for example there is no sound support.
You can use Blackberry Webworks SDK and Ripple as BB emulator. The only problem is that Ripple does not support push notifications and in the end you have to test your app on a real device anyway.
For more information take a look on the tutorial here:
http://www.pushwoosh.com/programming-push-notification/blackberry-html5-webworks-push-notification-sdk/
I am not sure whether Phone Gap has the plugin to support BlackBerry. I think Phone Gap forums might be a better place to post this question.
Thanks
Naveen M
Is there an API in OSX that I can use to launch my application when users open any app? Something like a global App Launched event?
No. There is no meaningful multitasking functionality in iOS API.