Libraryless. Click here for Pure Java version (22L/1K/2K).
!636 import android.app.Activity; import android.widget.*; import android.graphics.*; import android.hardware.Camera; main { psvm { print "Listing cameras..." int n = Camera.getNumberOfCameras(); System.out.println("Cameras: " + n); } }
Began life as a copy of #710
download show line numbers debug dex old transpilations
Travelled to 16 computer(s): aoiabmzegqzx, bhatertpkbcr, cbybwowwnfue, cfunsshuasjs, exkalrxbqyxc, gwrvuhgaqvyk, ishqpsrjomds, lpdgvwnxivlt, mqqgnosmbjvj, mrjhfnjfopze, onxytkatvevr, pyentgdyhuwx, pzhvpgtvlbxg, tslmcundralx, tvejysmllsmz, vouqrxazstgt
No comments. add comment
| Snippet ID: | #1000429 |
| Snippet name: | Android: Get number of cameras |
| Eternal ID of this version: | #1000429/1 |
| Text MD5: | 47c867b75c5bb52380ca5505f18ebf1c |
| Transpilation MD5: | 781ba5cfa53008b3ed7f5161929d827e |
| Author: | stefan |
| Category: | javax android |
| Type: | JavaX source code (Android) |
| Public (visible to everyone): | Yes |
| Archived (hidden from active list): | No |
| Created/modified: | 2015-08-05 21:09:18 |
| Source code size: | 273 bytes / 15 lines |
| Pitched / IR pitched: | No / Yes |
| Views / Downloads: | 972 / 974 |
| Referenced in: | [show references] |