posted by 433 Spaceman, 6/10/2020

Controlling Zello outside of Zello

Here is a collection of Deep Links and Intent Broadcasts that can be used outside of Zello. Some will have examples on what they can be used for.

Active Key in Zello (Transmit)

Intent intent = new Intent("com.zello.ptt.down");

intent.putExtra("com.zello.stayHidden", true);

activity.sendBroadcast(intent);

Inactive Key in Zello (Stop Transmitting)

Intent intent = new Intent("com.zello.ptt.up");

intent.putExtra("com.zello.stayHidden", true);

activity.sendBroadcast(intent);

PTT Toggle

Intent intent = new Intent("com.zello.ptt.toggle");

intent.putExtra("com.zello.stayHidden", true);

activity.sendBroadcast(intent);

Note: If zello is not responding to PTT Down, PTT UP, or PTT Toggle commands, try doing the following until it does start working:

  1. Remove any custom button mappings (and do not remap any buttons). If that doesn't work, try:

  2. Go into settings / apps / Zello, and remove data (and do not remap any buttons) If that doesn't work, try:

  3. uninstall/reinstall zello (and do not remap any buttons)

Channel Up / Channel Down

com.zello.intent.channelUp

com.zello.intent.channelDown

Zello Deep Link: Add/Activate/Go To Channel

zello://[channelname]?add_channel

  • I currently use this in Tasker for running channel beacons. Here's how I use it.

  • Also, I have used this with the combination of Tasker and Button Mapper to assign a channel to a specific hardware button. Not as a PTT, but to bring a certain channel up to the forefront. Here's some notes on it

  • This works in Android, and it seems to work in iOS as well - like if you were linking from a webpage, Zello would open and it will take you right to the channel.

Zello Deep Link: Add/Go To Contact

zello://[username]?add_user

  • I currently use this in Tasker for the beacon that currently runs in PNR. I'll make a page soon showing how I set up the beacon.

  • Also, I have used this with the combination of Tasker and Button Mapper to assign a channel to a specific hardware button. Not as a PTT, but to bring a certain channel up to the forefront. Here's some notes on it

  • This works in Android, and it seems to work in iOS as well - like if you were linking from a webpage.


WANTED:

I would like a way to set a hardware button or buttons to select Available and Solo Status Mode

Does anyone out there in Cyberland know how to do this?!?!


I found the following code on the web, but I've tried manipulating bits and pieces of it every which way in Button mapper, but I can't get it to do anything.

//region Status

void setStatus(@NonNull Status status) {

if (!_serviceBound) {

return;

}

Context context = _context;

if (context == null) {

return;

}

Intent intent = new Intent(_package + "." + Constants.ACTION_COMMAND);

intent.putExtra(Constants.EXTRA_COMMAND, Constants.VALUE_SET_STATUS);

intent.putExtra(Constants.EXTRA_STATE_BUSY, status == Status.BUSY);

intent.putExtra(Constants.EXTRA_STATE_SOLO, status == Status.SOLO);

context.sendBroadcast(intent);

}

Uncle Sam Wants YOU


If YOU have any information on how to do this, please contact me.

Windows Version Only: Transmit a .wav file directly through the Zello application

Command Line:


"C:\Program Files\Zello\Zello.exe" /contact="50kUW" /audio="E:\Voice\Audioclip.wav" /report="E:\Voice\log.txt" /timeout=2


/contact -- Required. The name of the channel to send audio to


/audio -- Required. The full path to audio file. The file must be in WAV format.


/report -- Optional. The path to the file where the operation result (success or fail) will be written. If a file already exists, it will be appended. You can use this file to audit which messages were sent, when they were sent, and to use for troubleshooting.


/timeout -- Optional. Operation timeout in seconds. Defaults to 30 seconds.