« first day (1001 days earlier)      last day (3101 days later) » 

9:57 AM
try {
Bitmap captureBmp = MediaStore.Images.Media.getBitmap(this.getContentResolver(), Uri.fromFile(file));

Bitmap out = Bitmap.createScaledBitmap(captureBmp, newWidth, newHeight, true);

i++;
ByteArrayOutputStream bytes = new ByteArrayOutputStream();
out.compress(Bitmap.CompressFormat.JPEG, 80, bytes);

File destination = new File(Environment.getExternalStorageDirectory(),
id + "_" + i + ".jpg");
sendBroadcast(new Intent(Intent.ACTION_MEDIA_SCANNER_SCAN_FILE));
// sendBroadcast(new Intent(Intent.ACTION_MEDIA_MOUNTED, Uri.parse("file://" + Environment.getExternalStorageDirectory())));
 
1 message moved from [Java and Android era ](chat.stackoverflow.com/rooms/19132/java-and-android-era)
 
 
2 hours later…
12:01 PM
funtion foo(){

return sc = {
'lala' : '1',
'baba' : '2'
}

}
 
 
4 hours later…
4:00 PM
`var picture = {
allowedTypes: ["image/gif", "image/png", "image/bmp", "image/jpeg"],
file: null,
setFile: function (file) {
this.file = file;
return this;
},
isFileTypeAllowed: function () {
return (function (file, allowedTypes) {
return (file != null && allowedTypes.indexOf(file.type) >= 0);
})(this.file, this.allowedTypes);
},
errorsMessage: '',
validate: function (options) {
return (function (isValid) {
if (isValid) {
$scope.errorsMessage = '';
$scope.hasErrors = false;
if (typeof options.ifValid === 'function') {
 
 
3 hours later…
bob
6:58 PM
 
user4639281
15 secs ago, by gunr2171
1 min ago, by rene
Can we keep the one boxes to a minimum please? That includes room owners
 
2 messages moved from SO Close Vote Reviewers
 
 
3 hours later…
9:58 PM
such as
```
aRuleFunction(parsedContent, filename=null, {} = {}) {

}
```
 

« first day (1001 days earlier)      last day (3101 days later) »