(MenuCommand c, VirtualList d)
| 112 | } |
| 113 | |
| 114 | public void menuAction(MenuCommand c, VirtualList d) { |
| 115 | if (c==cmdRefresh) { |
| 116 | VCard.request(vcard.getJid(), vcard.getId().substring(5)); |
| 117 | destroyView(); |
| 118 | } |
| 119 | |
| 120 | //#if FILE_IO |
| 121 | if (c==cmdLoadPhoto) { |
| 122 | st=1; |
| 123 | new Browser(null, this, false); |
| 124 | } |
| 125 | if (c==cmdSavePhoto) { |
| 126 | st=2; |
| 127 | new Browser(null, this, true); |
| 128 | } |
| 129 | //#endif |
| 130 | //#ifndef NOMMEDIA |
| 131 | //# if (c==cmdCamera) |
| 132 | //# new CameraImage(this, this); |
| 133 | //#endif |
| 134 | if (c==cmdDelPhoto) { |
| 135 | vcard.dropPhoto(); |
| 136 | setPhoto(); |
| 137 | } |
| 138 | if (c==cmdPublish) |
| 139 | publish(); |
| 140 | |
| 141 | super.menuAction(c, d); |
| 142 | } |
| 143 | |
| 144 | |
| 145 | public void run() { |
nothing calls this directly
no test coverage detected