| Android Studio | Eclipse | AIDe | |||
|---|---|---|---|---|---|
Installation: |
Good on Linux | Good on Windows | Good on Tablet | ||
| Interface | Google style clean | Lots of tools | Good for tablet | ||
| Debugging | Better debug pane | Inconsistent and slow | LogCat on device | ||
| Compilation | Slow | Slow | Slow | ||
| Speed | Okay on Linux | Slow on Windows | Okay on tablet | ||
| Publishing | Fluid and keystore built in | Multi-step and awkward | Fluid and keystore built in |
Nothing fancy, just a personal log with a built in search function so I can recall what is easily forgotten.
Tuesday, May 20, 2014
Android Integrated Development Environments
Wednesday, April 23, 2014
We Work Tech Meet Up in Hollywood
A fireside chat with Grindr's Lukas Sliwka covered the following:
- Scalability from PHP to Java and Ruby on Rails.
- Do not reinvent the wheel
- Sanitizing member profiles
- Approving user uploads
- User analytics to user preferences
- Pattern recognition and heuristics
- Shortened deliverable cycles.
- App ratings and client app crashes
Friday, April 18, 2014
More Enhancements to the W.A.R. app at Google Play
The Widespread Augmented Reality networking app at Google Play allows both photos and notes to be posted at geographical points of interest.
The Camera activity implies an intent with:
Intent intent = new Intent(MediaStore.ACTION_IMAGE_CAPTURE);
intent.putExtra(MediaStore.EXTRA_OUTPUT, pictureFile);
startActivityForResult(intent, TAKE_PICTURE);
The EXTRA_OUTPUT is passed as the "data" argument to:
@Override
protected void onActivityResult(int requestCode, int resultCode, Intent data) {
super.onActivityResult(requestCode, resultCode, data);
The data is then passed to the activity ImageView field with the following conversions:
case TAKE_PICTURE:
try {
Uri picFile = data.getData();
String picPath = picFile.getPath();
yourSelectedImage=BitmapFactory.decodeFile(picPath,ops);
getChosenImage().setImageBitmap(yourSelectedImage);
The Note activity is proprietary, for now. Notes are saved as images and BLOBs and therefore not susceptible to nosy bots or web crawlers.
Sign up with an anonymous handle at SpiderOnFire (a reference to enhanced web crawling).
The Camera activity implies an intent with:
Intent intent = new Intent(MediaStore.ACTION_IMAGE_CAPTURE);
intent.putExtra(MediaStore.EXTRA_OUTPUT, pictureFile);
startActivityForResult(intent, TAKE_PICTURE);
The EXTRA_OUTPUT is passed as the "data" argument to:
@Override
protected void onActivityResult(int requestCode, int resultCode, Intent data) {
super.onActivityResult(requestCode, resultCode, data);
The data is then passed to the activity ImageView field with the following conversions:
case TAKE_PICTURE:
try {
Uri picFile = data.getData();
String picPath = picFile.getPath();
yourSelectedImage=BitmapFactory.decodeFile(picPath,ops);
getChosenImage().setImageBitmap(yourSelectedImage);
The Note activity is proprietary, for now. Notes are saved as images and BLOBs and therefore not susceptible to nosy bots or web crawlers.
Sign up with an anonymous handle at SpiderOnFire (a reference to enhanced web crawling).
Thursday, April 17, 2014
Recover Full Capacity of USB Drive
1) Type "DISKPART" from the Command Prompt
2) Type "LIST DISK" to see what number your USB drive is listed as.
3) Type "SELECT DISK 2"
4) Type "SELECT PARTITION 1"
5) Type "DELETE PARTITION".
6) Type "CLEAN".
7) Type "CREATE PARTITION PRIMARY" to create a new, full-size partition.
8) Type "EXIT"
Now create a boot disk with http://pogostick.net/~pnh/ntpasswd/bootdisk.html
2) Type "LIST DISK" to see what number your USB drive is listed as.
3) Type "SELECT DISK 2"
4) Type "SELECT PARTITION 1"
5) Type "DELETE PARTITION".
6) Type "CLEAN".
7) Type "CREATE PARTITION PRIMARY" to create a new, full-size partition.
8) Type "EXIT"
Now create a boot disk with http://pogostick.net/~pnh/ntpasswd/bootdisk.html
Thursday, April 10, 2014
W.A.R. Party enhancement
Major enhancement to Widespread Augmented Reality app with the Gallery button: W.A.R. Party
Sunday, March 30, 2014
SpiderOnFire and the Companion Android app
I maintain a database of geotagged images at SpiderOnFire. The companion Kit Kat targeted app at Google Play retrieves the images but does not resize them. Rather I have the PHP download script do the work. Here is my code:
array('header'=>'Connection: close\r\n'))); $orig = file_get_contents("$dirfile",false, $context ); $imgstr = imagecreatefromstring($orig); $width = imagesx($imgstr); $height = imagesy($imgstr); $newwidth = '75'; $newheight = '50'; $thumb = imagecreatetruecolor($newwidth, $newheight); imagecopyresized($thumb, $imgstr, 0, 0, 0, 0, $newwidth, $newheight, $width, $height); header("Content-Type: image/jpg"); imagejpeg($thumb); //image as jpg imagedestroy($thumb); imagedestroy($imgstr); ?>
Saturday, March 1, 2014
Widespread Augmented Reality on Android Demo
Subscribe to:
Posts (Atom)