Skip to content

# anyRemote

# Set(icons ...) command and available icon set

This command used tune view of the control (main) screen of J2ME/Android clients. ## Format Set(icons, _title_, [button#, icon_name]*) ## Usage
    1=Set(icons,TheTitle,\
      1,vol_down,2,mute,3,vol_up,\
      4,rewind,5,play,6,forward,\
      7,prev,8,pause,9,next,\
      *,question,0,stop,#,pause);
The word SAME can be used instead of title if there are no needs to change existing title.

## Icon set

This is a set of icons which shipped with J2ME/Android clients and can be used by Set(icons ...) command:

Icon set
click_icon | default | down | file | fit | folder | forward | fullscreen | left
minus | mute | next | no | pause | play | plus | prev | question
| rewind | refresh | right | stop | up | vol_down | vol_up |

## Uploading icons

In addition to this icon set it is possible to upload PNG icons from the PC with Set(image,icon ...).

- J2ME client supports 16x16, 32x32, 48x48, 64x64, 96x96 and 128x128 PNG icons
- For Android client it is recommended to use icons with size 64x64 or higher

## Icon auto-uploading

If there is a command

    1=Set(icons,TheTitle,1,my-new-icon);

and my-new-icon.png is absent in J2ME/Android anyRemote client, then anyRemote will search it in $(CfgDir)/Icons/_icon_size_ directory and automatially upload it to the phone if found.

J2ME client can requests 16x16, 32x32, 48x48, 64x64 or 128x128 icons depending of supported icon set and value of icon_size parameter.

Android client requests 128x128 icons only.

It is not recommended to use this feature on non-Android Samsung phones because of terrible upload speed.

This is an additional set of icons which shipped with anyRemote and can be used by Set(icons ...) command:

Additional icon set
bottom | eject | exit | favorites | first | info
last | launch | ok | record | top |

## Icons size

If J2ME contains all icon sets then if heigth of the screen is less than

- 192pt. then 16x16 icons will be used by default
- 288pt. then 32x32 icons will be used by default
- 320pt. then 48x48 icons will be used by default
- 480pt. then 64x64 icons will be used by default
- 640pt. then 96x96 icons will be used by default
- overwise 128x128 icons will be used by default

It is possible to change icon size with Set(parameter,icon_size,...) command.

Note: to make this command work it needs to use J2ME client which supports specified icon set.

Maintained by anyRemote. Website by m.lettner.