Blackberry: Access Blackberry desktop manager and install application programmatically - deployment

I want to know using my desktop application can i access Blackberry desktop manager (or) any USB interface programmatically to load(install) a blackberry application into blackberry device? Basically i want to load(install) any blackberry developed application to the device using my desktop application interface.
Any help would be appreciated.
Thank you.

There is no BB Desctop API to install application:
BlackBerry Desktop Software - 4.1 - Desktop API Reference Guide
Similar questions:
Install/Uninstall App from Desktop Manager
SO - How to properly force a Blackberry Java application to install using Loader.exe
BB Forum - How to properly force a Blackberry Java application to install using Loader.exe
UPDATE
You can send data to device, but to open named channel you will need running application on device side which will register and operate with same-named channel... although there are speculation about "using RIM API calls to compose *.cod file directly in device internal memory." I have no idea how to do this without installing any app on device previously.

Related

Is there a internet permission command to be added in the Windows Folder of the Flutter Application for internet usage?

I am developing a simple flutter application for my manufacturing facility, where we want to input the stock ids of the raw materials which were used to develop the product. I made a simple Flutter Application with Windows and macOS and Android & IOS enabled while initiating the project in Android Studio. I am using Mysql1 dependency from pub dev to avoid writing large amounts of backend and use other frameworks.
Furthermore, I also added internet permission for the app in the Androids folder. However, when I was trying to do it on the windows app, the MySQL query would not go through. The MySql server is hosted on Digital Ocean. I entered the exact details,
But works on the android phone and not on windows applications. Do we need to add any same permission line in the Windows Folder?
I installed the application on my physical, it is perfectly sending the data to the MySQL table in the DigitalOcean server. However, doesn't seem to do the same in the windows application. I want it to run the query the same as in the windows desktop app as in the android app.
Any help would be appreciated,
Thanks and Regards.

Telerik Nativescript for Blackberry

We know that Blackberry 10 can run Android app. Does somebody tried Telerik Nativescript for Android and make it run for Blackberry 10?
If so, is it possible to explain the steps to be able to do it? Does Webworks gives any help?
Telerik NativeScript for Android does indeed work on BlackBerry OS 10 I've tried on (10.3.2.2474). I'll list some tips to get you started, but please keep in mind that NativeScript doesn't officially support BlackBerry OS.
Deployment with the {N} CLI tool (tns) might be problematic - it produces an apk for the app, but it can't deploy it on the device itself, so you need to transfer it somehow and install it on the device.
Alternatively you can use Telerik AppBuilder to build the app (either version will work - VS plugin, CLI tool, Windows or Web clients) and deploy it on the device via QR code scan and install. However, apk installation is a bit slow process on a BB10, so you may choose to use the NativeScript companion app for development. Deployment to the companion app is done via QR codes - it has an integrated QR code reader - and since no installation is necessary, development cycle is faster. There is a small issue with the app - it may seem to crash on the first run, but you can still find the Sync and Scan buttons in the BlackBerry Hub, which you can use to scan the code and start your app.
Releasing the app in the BlackBerry store is out of my scope, but you can check these documents:
https://developer.blackberry.com/android/documentation/rpkg_with_bb_plugin_for_android_stdio.html
https://developer.blackberry.com/android/documentation/publsh_your_app_to_appworld.html
Make sure you've built the app for release as mentioned.
Let me know if this helps.

How can i deploy my worklight project to my blackberry device..?

I have packaged my application successfully using ripple with chrome.
What process i have to follow to deploy my app to my blackberry device for testing purpose?
There are several ways.
You can try using the BlackBerry Desktop Manager software which should allow you application syncing.
You can use the JavaLoader commandline tool, provided by BlackBerry.
Personally, I use JavaLoader.
It is a simple one-liner in CMD: javaloader load path-to-cod-file
The one-liner above assumes you have added JavaLoader (an .exe in the bin folder of the BlackBerry WebWorks SDK for BlackBerry OS 6/7) to your PATH, so that it will be available for useage like in the example)
Please keep an mind that after you generate the .cod file using Ripple, what you basically have is an actual BlackBerry (WebWorks) project, the way to deploy it would be the same as any other BlackBerry application, whether it was created by Worklight or any other software.

Start service in blackberry 10 application

Hi I am new to Blackberry 10 application development and I am developing an application that can run as a service in background and start another application at particular interval. I want to know is it possible to create services that can run in background?
Running application or any service in background is currently not supported by BlackBerry 10 sdk.
It will be supported in upcoming sdk release. Check out Headless apps in roadmap
read the documents that describe Android features that are not supported by the BlackBerry Runtime for Android apps on BlackBerry 10. =)
Software Features
No support to run services in the background. Applications can run
services only while the user runs them, either in fullscreen or in
thumbnail mode

How can I check the device platform before deployment in the .NET Compact Framework?

I've developed an application for Windows Mobile using Windows Mobile 6 Pro with CF 3.5 and I have some deployment questions.
I'm targeting only Pocket PC and I don't want to let users install it on their smartphone (because it simply won't work).
How can I check for the platform on which the user is installing the application and show him some error message?
Just to let you know, I have an .msi in order to install the app into the device from the desktop (setup project with cab inside), and it's fine.
I just need this extra verification.
See this link on how you can detect the platform. Cab files support an optional setup.dll, which can be used for registering custom actions in Install init, Install exit, Uninstall init and Unistall exit. You could use the install init entry point and stop the installation or show a dialog if the platform doesn't match. This of course has to be native development.