Friday, June 7, 2013

Tech Review: Android Development: Friday, June 7, 2013

Working with the Navigation Drawer

Load the Google Android Development Environment



Google UI Guidelines for Navigation Drawer

NoNonsense Notes

Example Applications using the navigation Drawer


Creating a Navigation Drawer
  • code with sample project and icons
    • NavigationDrawer.zip
    • Andriod_Navigation_Drawer_Icon_20130516.zip
Other articles related to Navigation Drawer



How to Add icons adjacent to titles for Android Navigation Drawer



Want to Add a Navigation Drawer to Your Android App?



OK, what do I need to test and run this sample project?


Getting Started

Building Your First App
  • How do I tell if which SDK I have?

Getting Started with Android Studio
  • New Android development environment based on IntelliJ IDEA
  • Similar to Eclipse with ADT Plugin
  • Integrated Android developer tools
Installing Android Studio v0.1.1

Will this cause any conflict for the Xamarin environment I already have installed?

No problems installing.



Updating to 0.1.3

The Check for updates is at the very bottom of the screen.

Installing some missing things for the SDK.  The are not missing on Xamarin Android SDK install.





Error on starting the ADB server.




Updating to 0.1.3

Applying patch

Trying to run my first app from Android Studio

Looking for AD?




Why does it says that the device is offline?
  • Because I had not selected the let debug button on the phone.



Android 4.2.2 Jelly Bean





the load status in the very bottom right corner.

Hmmm, the load status says 350M of 711M; however, the app is up and running on the phone.

The source code is a little buried.

Look like this app is for android-syooirt-v4.jar

Little hard to tell what is happening.  The Choose Device window pop's up before anything is loaded.

Works like a charm.



Android Tools Projedct Site:  Recent


OK, time to try the Navigation Application Sample


Creating a Navigation Drawer

Download sample app



Import the NavigationDrawer Project





Is the something being loaded from NavigationDrawer are something be load to.  Let's hope is loaded from.



Nope, I was wrong.  This is where it is going to.

Wow, that just failed.  Looks like I have to import and save in the same location.










What is the 249M of 711M at the bottom?
  • allocated heap size
  • found by clicking on the field
coming up in the vertual and not the real thing.  Arg!!!!




Waiting for device.
C:\Users\sh25\AppData\Local\Android\android-studio\sdk\tools\emulator.exe -avd AVD_for_Nexus_4_by_Google -netspeed full -netdelay none

Device connected: emulator-5554
Device is online: emulator-5554
Target device: emulator-5554 (AVD_for_Nexus_4_by_Google)
Uploading file
local path: C:\Users\sh25\Downloads\NavigationDrawer\NavigationDrawer\out\production\NavigationDrawer\NavigationDrawer.apk
remote path: /data/local/tmp/com.example.android.navigationdrawerexample
Installing com.example.android.navigationdrawerexample
DEVICE SHELL COMMAND: pm install -r "/data/local/tmp/com.example.android.navigationdrawerexample"
Device is not ready. Waiting for 20 sec.
DEVICE SHELL COMMAND: pm install -r "/data/local/tmp/com.example.android.navigationdrawerexample"
Device is not ready. Waiting for 20 sec.

This is taking forever

Should kill the device and start over?



Work!!!!

Now to get it to run on the phone.

The default configuration was set to use the Emulator and not the USB device.



Has lost a bunch of my images :-(



Looking at the code.

Left side drawer for
  • view switches
  • selective up
Right side drawer for
  • actions, not a navigation drawer
Looking at the code

mDrawerLayout

DrawerLayout
  • assigned the DrawerLayout found for R.id.drawer_Layout
What is an IML file?

activity_main.xml
  • defines drawer_layout
    • match parent for width and height 
    • Nothing else

Fragments




OnItemClickListener Navigation Drawer
  • Use fragment not Activities
Navigation Drawer ActionBar button not working
  • forgot to implement the onOptionsItemSelected method
PrashamTrivedi / DrawerLayoutTest
  • not really a complete implementation



Android Navigation drawer with actionbarsherlock
  • Would havrd
Getting Started - Android Training

Android Application Fundamentals

Tech Review: Android Development Thursday, June 6, 2013

Creating a Navigation Drawer for Xamarin

Navigation Drawer
  • bring on to screen by on of the following
    • swiping from the left edge of the screen
    • touching the application icon
  • overlays content but 
Android Virtual Device Manager (AVD)


Wednesday, April 17, 2013

Tech Review: Tuesday, April 16, 2013




Parallella: The $99 Linux supercomputer
  • sending out this summer
  • Linux number one supercomputer OS
  • credit-card sized parallel-processing board
  • 90 GLOPS
    • like 45GHz CPU
  • Ubuntu 12.04

Parallella – Supercomputing for the masses
  • Epiphany 16 and 64 cores
  • Parallella
    • ARM Cortex-A9
    • Epiphany based co-processor
  • Releasing all specs under opensource
  • C and C++

Fast, Faster, Fastest: Linux rules supercomputing
  • Beowulf was first a NASA
  • 90% of the top 500
  • supercomputers are running linux

Adapteva

  • Nice video 
  • host machine through USB port
  • goal of 100TFLOPS by 2017




Xen becomes a Linux Foundation project





Amid great expectations, the Samsung Galaxy S4 has arrived
  • both cameras at once
  • 25 pics per second
  • common phrase translator that works off line
  • 100Mbps download and 50Mbps updloads

Samsung Galaxy S4 up for preorder in U.S. today
  • $639

Toshiba Excite 10.1" 16GB Tablet w/ Quad-Core Processor, Android 4.0 OS, 1GB RAM ($200)
  • Tegra 3 Quad core
  • Refurb
  • very nice for price
  • 1.3 lbs
  • 14 day return policy
  • 1 Sale A Day
    • 98% positive rating

Monday, August 27, 2012

Tech Review: Android: Friday, August 25

product image
HTC Nexus One PB99100 (Gray) Unlocked T-Mobile 3G - 00300389 - Reconditioned ($120)
  • Just like the one which is current misplaced.








Monday, August 13, 2012

Tech Review: Android Hardware: Friday, August 10, 2012

ASUS TF300T 10.1" 32GB Tegra 3 Android 4.0 Tablet

ASUS TF300T-B1-BL Eee Pad Transformer Tablet - Android Ice Cream Sandwich, NVIDIA Tegra 3 1.2GHz, 1GB DDR3, 32GB Flash Storage, 10.1" Multi-Touch Screen, Dual Webcams, Blue ($374? or $400)

  • 1.4 lbs or 22.4 ounces
  • 10.1"
  • Android 4.0 Ice Cream Sandwich
  • NVIDIA Tegra 3 Guad-core at 1.2GHz
  • GPU/VPU (Graphics processing unig and Visual processing unit)
  • 28 review at 4.7 or 5 stars
This is the machine I would buy if I could afford it.

Pandigital 8" 4GB Android 2.3 Internet Tabl Bundle


Pandigital 8" 4GB Android 2.3 Internet Tablet and Transcend 16GB Class 4 microSDHC Flash Card Bundle ($100)


  • 8" Capacitive multi-touch
    • how many points (5?)
  • Blutooth 2.1
  • Dual camera (3PM and 0.3MP)
  • GetJar App Store
    • Warning!!!!!!
  • 16 GB class 4 microSDHC
    • would be better with a class 10
Not having the normal app store is a major draw back.

Velocity Micro Cruz T410 10" Internet Table Bundle

Velocity Micro Cruz T410 10" Internet Tablet and Transcend 16GB Class 4 microSDHC Flash Card Bundle ($160)


  • 10" 
    • capacitive
      • how many points (5?)
    • 1024x600
  • Android 2.3 (Ginger Bread)
  • ARM Cortex A8 1.0GHz
  • 512 Memory
  • 4 GB internal
  • 16 GB class 4 microSDHC card included
  • Amazon Appstore
    • not really what I would want
  • front camera
    • no idea of quality
  • Refurbished
  • 4.6 of 5 starts with 49 reviews

Arnova by Archos 7" 4GB Child pad Tablet for Kids

Arnova by Archos ChildPad 502171 Internet Tablet for Kids - Android 4.0, ARM Cortex A8 1GHz, 7" Multi-Touch Capacitive LCD, 1GB RAM, 4GB Memory, WiFi, Webcam, Pre-loaded Kid Apps, Parental Control App ($130)

  • for children
  • Android 4.0 (Ice Cream Sandwich)
  • 1 GHz Cortex 8
  • 7" 
    • Capacitive
      • points?
    • 800x480
  • new
  • Google Play
  • no Blutooth