Questions tagged [applicationmanager]

11 questions
11
votes
2 answers

The name 'DefaultAuthenticationTypes' does not exist in the current context

I'm trying to implement role-based authorization in my web application like following: [HttpPost] [ActionName("Login")] public ActionResult Login(LoginViewModel model) { if (ModelState.IsValid) { string userName = model.Username; …
User987
  • 3,663
  • 15
  • 54
  • 115
4
votes
0 answers

Android: Broadcast receiver for any app launch or if any app comes to foreground

I have a service which has to monitor which application is in the foreground and based on the application do some functionality. I can get the list of foreground applications, using ActivityManager.getRunningAppProcesses(). But with this I cannot…
3
votes
1 answer

How to use ApplicationManager to load an object with out GAC'ing it?

I'm trying to use the Cassini webserver to create a deployment test host- a sort of embedded web server to isolate web server config issues from app deployment issues. Okay, so this line of code blows up until I put Cassini in the GAC: // physical…
MatthewMartin
  • 32,326
  • 33
  • 105
  • 164
3
votes
0 answers

How to detect if user force stop my service

I need to detect if the user force stop my service (from application manager). In onDestroy() I need to implement different function when service stopped by the user("force stop") or by the system(low memory)/reboot.
Andy
  • 301
  • 1
  • 11
3
votes
0 answers

Unable To Start Opera Mini With The Given URL

I am using the following code to start the Opera Mini web browser with the given URL; try { ApplicationManager.getApplicationManager().launch("operette$2dhifi?" + url); } catch (ApplicationManagerException e) { …
Mudassir
  • 13,031
  • 8
  • 59
  • 87
2
votes
2 answers

How long an application is used in BlackBerry

I've seen is posible to know what applications are running with getVisibleApplications()from "ApplicationManager" class but, is it possible to know how long were these applications used? Thanks
esteban
  • 543
  • 4
  • 18
1
vote
1 answer

Is there any class on BlackBerry similar to DevicePolicyManager on Android?

I have an Android application that uses DevicePolicyManager. In that application, I can call some methods to lock phone, reset password, ... Now, I'm cloning this application on BlackBerry. I tried to use the ApplicationManager class and call…
Phuc Tran
  • 7,555
  • 1
  • 39
  • 27
0
votes
1 answer

How do you call your enviroment variables set in application manager using cpanel and PHP

So I created a test app using Application Manager. Inside of my application path how would I call my pre set variables using PHP. Also I would like to note I am using linux godaddy shared hosting. additional info: I am just trying to have…
CynicWays
  • 3
  • 1
0
votes
0 answers

Monitor Cassandra Database Remotely using Application Manager 14

Im having trouble monitoring a cassandra database that I have in a remote machine. I have already done the steps from: https://docs.datastax.com/en/ddacsecurity/doc/ddacsecurity/secureJmxAuthentication.html However, I cant seem to connect to it…
0
votes
1 answer

Application manager in YARN setup

I have setup of 1 Name Node, 2 Data Nodes, 1 Resource Manager and 2 Node Managers.All components are running as docker containers. Every time when I execute a spark submit (yarn cluster mode) from 2 machines (2 clients), job gets completed in a…
0
votes
0 answers

Why wouldn't application manager run trouble script?

I have a job named X, and I have a condition on X as below: But interestingly, when the condition is not met and the job is aborted, trouble script is not run. Instead I get Executing SUCCESS. Any idea? Thank you!
Dax
  • 438
  • 1
  • 8
  • 29