Quantcast
Channel: Ivanti User Community : Popular Discussions - Supply Chain (formerly Wavelink)
Viewing all articles
Browse latest Browse all 7290

How to send data from a thrid android app to Velocity

$
0
0

My goal is to send data to  Velocity client. For this reason I am using an intent on my custom Application. the code is the following:

 

 

public void  SendToVelocity(View view)
{  Intent sendIntent = new Intent();  sendIntent.setAction("com.wavelink.intent.action.EMDK.SEND");  sendIntent.addCategory("android.intent.category.DEFAULT");  sendIntent.putExtra(Intent.EXTRA_TEXT, "RFID data");  sendIntent.setType("text/plain");   if (sendIntent.resolveActivity(getPackageManager()) != null) {  startActivity(sendIntent);  }

}

However the above code does not get inside if statement. This means that it can not resolve current intent action.

My questions are:

  1. Is the above (com.wavelink.intent.action.EMDK.SEND) action string valid for calling corresponding Velocity Action? If not what is the corrcet string?
  2. The above method would like to be called on a key press. What script to I need to write in Velocity console in order to call a method of another application?

Viewing all articles
Browse latest Browse all 7290

Latest Images

Trending Articles



Latest Images

<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>