Web-connected scheduler BlackBerry Application - blackberry

I want to create an blackberry application that acts as a scheduler, which scheduled time can be updated via a website (not only from the app itself) as well. I am thinking of using a .txt file from a website that contains the String of the time, then let the app connects to the file every time it is started or refreshed. The app will also upload back the file to the web site every time a change is saved. Do you guys have any other ideas? Thank you

You may want to have a look at the following:
Blackberry Push Service
OR
Pusher | HTML5 WebSocket Powered Realtime Messaging Service

Related

Unity Chat application

i am currently working on a real-time chat app in Unity
and i found those platforms to work with,
Firebase : Can we send Videos efficiently ??
MatriX : https://www.ag-software.net/matrix-xmpp-sdk/
but i am not sure that we can send videos with MatriX ?
i wanted to know from your experience
what is the best way to make real-time chatting (support photos and videos sending) in Unity ?
thanks in advance
You need to find or create services where your clients can connect and:
upload files (photos, videos .etc) and get an public and downloadable URL.
send messages to other connected clients that apart from the string, also contain media metadata (.eg a list of file attachments which are actually URLs uploaded at service (1))
Now, if you cannot find a single service that supports those two then you could try to find two different ones.
here is an example of a chat console application in C#. It contains a web service and client library that is used by the console app. Instead of a console app, it could be used in a Unity app. It does not support file uploading but it can send messages between clients over web sockets.
If you were to create something yourself, instead of finding a 3rd party service, I would recommend node.js/express and socket.io for a server since its quite beginner friendly.
here is a C# client library that can listen to socket.io events from the server. It must be the same that is used in the console application I shared above.

How to get notification when data change in firebase storage?

I am working in photo vault app. So i need to detect changes of firebase database from my app when someone insert new photo or delete photo.I can log in from different device using same user id. I need to reload my collection view in that time. I saw cloud message notification. But i need a notification for data entry. Please help me.
Firebase now have a new tool called Cloud Functions.
With this you can execute code without a server, listen to Firebase Database and send notifications.
Take a look to the documentation, it's easy:
https://firebase.google.com/docs/functions/use-cases
Jaime reply about the cloud function suites well if you are inclined to use google offerings. If not, here's how one would approach the problem... Any database is not exposed to client applications directly. Normally there's a web server that writes to the database. So from the web server when you write to database, you can integrate with a unified push notification provider (Amazon SNS, Bluemix Push, etc) to send a notification to the client application on mobile or web.

Applications that require a web server for full functionality

Is it possible to deploy an iOS application that requires a Node.js socket to do something on a computer?
For example:
Application -> Node.js socket -> Doing something on a computer
Computer does his job -> Response from Node.js socket -> Processing data with application
I don't think that Apple allows this, but one of my friends is sure about it. My point is that this solution does not reflect to an easy usage instead of making it a little bit complicated for average users.
The answer is yes. I don't know how to integrate Node.js into app, but there are many other server that can be easily added to app, such as CocoaHTTPServer. I have created a project to manage files inside app sandbox. Open web page hosted by app to manage files. I know some other apps, which provide web page hosted by app to transfer media files.

Running iOS App In the background for getting data from Twitter

I am in the process of developing a Twitter App on iOS, which will connect Twitter API in every 15 minutes, to Collect some data. I'm really not planing to have any server side script to Collect that data as I want everything inside the app itself.
Any idea on how to keep the app Running in Background?
Thanks.
You can follow the Apple's guideline before proceeding to create such background jobs. If it fits with all such requirements then you can go ahead. Follow this link for further details:
https://developer.apple.com/library/ios/#documentation/iPhone/Conceptual/iPhoneOSProgrammingGuide/ManagingYourApplicationsFlow/ManagingYourApplicationsFlow.html

Blackberry app that periodically sends GPS to webserver?

I want to create a background app on a Blackberry that starts when the phone boots and sends gps locations to a webserver periodically. Is this possible without the BES server? I am most likely targeting OS 4.5. Any gotchas I should know about?
thanks
Nick
if you want only background process.
How to - Set up a background application
if you want GUI part also in your application.
How to - Set up an alternate entry point
and for gps update
Get location information updates
You can skip the BES server if you use a PHP or ASP.NET WebService. You can consume that WebService on the Blackberry device using a JSON library found here:
http://www.json.org/
PHP and ASP.NET can receive JSON objects and parse them into objects on that specific programming language.

Resources