Thursday, June 15, 2017

Android Recipes A Problem Solution Approach 5th Edition

Android Recipes A Problem Solution Approach 5th Edition


Discover more than 100 down-to-earth code recipes, covering a wide range of useful topics using complete and real-world working code examples. This book is updated to include the Android N SDK (7.0), as well as earlier releases.

Android Recipes: A Problem-Solution Approach

Crammed with insightful instruction and helpful examples, this fifth edition of Android Recipes is your guide to writing apps for one of today�s hottest mobile platforms. It offers pragmatic advice that will help you get the job done quickly and well. This can save you a great deal of work over creating a project from scratch.

Instead of abstract descriptions of complex concepts, in Android Recipes youll find live code examples. When you start a new project you can consider copying and pasting the code and configuration files from this book and then modifying them for your own customization needs.

What Youll Learn

  • Code for Android smartphones and tablets
  • Use external libraries to save time and effort
  • Boost app performance by using the Android NDK and RenderScript
  • Design apps for performance, responsiveness, and seamlessness
  • Send data between devices and other external hardware
  • Persist application data and share it between applications
  • Capture and play back various device media items
  • Communicate with web services
  • Get the most out of your user interface

Who This Book Is For
All Android app developers.

Read full post »

Wednesday, May 31, 2017

AOC monitor white screen problem

AOC monitor white screen problem


Problem
My monitor suddenly turns into white.
Problem
Another monitor is having problem with white screen,  but this time its the side.
Problem
Blackspot appeared

Details
Made in China (I should have known)
E1670Swu


Todo list

Clean the connector as shown in this video
https://www.youtube.com/watch?v=FfbmQRuqDD0

Note
Id avoid buying from this company.   I only use this brand for one less than 2 years.  3 units died already in the same month.

 
Read full post »

Friday, May 26, 2017

Android Virtual Devices AVD Problem on Ubuntu 12 04

Android Virtual Devices AVD Problem on Ubuntu 12 04


While creating a new AVD for an Android 4.0.3 (Ice Cream Sandwich) device, I discovered several peculiarities in the emulator. Upon starting the newly created AVD, it displayed a message ("Unfortunately, System UI has stopped") as shown in the figure below.


        Error message

Upon clicking OK, the emulator displayed the login screen after a brief red flash along the borders. Then I noticed that the hardware buttons (second row of buttons) and the DPAD has not been enabled (see figure below with the messages pointed by the yellow arrows).


        Not enabled items

Upon doing some research on the internet, I found the solution to this problem. To reiterate the solution:

  1. Open a terminal and then edit the AVD config file by executing:

      nano .android/avd/(avdname).avd/config.ini

    NOTE: Replace the (avdname) with the name used when creating the AVD.

    The file would look something like this:

    ---------------------------------------------------
    hw.dPad=no
    hw.lcd.density=160
    sdcard.size=128M
    hw.cpu.arch=arm
    hw.device.hash=-1537072293
    disk.dataPartition.size=200M
    hw.gpu.enabled=yes
    skin.path=1024x600
    skin.dynamic=yes
    hw.keyboard=yes
    hw.cpu.model=cortex-a8
    hw.ramSize=768
    hw.device.manufacturer=Generic
    hw.sdCard=yes
    hw.mainKeys=no
    hw.accelerometer=yes
    skin.name=1024x600
    abi.type=armeabi-v7a
    hw.trackBall=no
    hw.device.name=7in WSVGA (Tablet)
    hw.battery=yes
    hw.sensors.proximity=yes
    image.sysdir.1=system-images/android-15/armeabi-v7a/
    hw.sensors.orientation=yes
    hw.audioInput=yes
    hw.camera.front=webcam0
    hw.gps=yes
    vm.heapSize=16
    ------------------------------------------------------
     
  2. Notice that the hw.dPad and hw.mainKeys have both been set to no - i.e., they are disabled. Change both items to yes so that they are enabled. They should look like this:

    hw.dPad=yes
    hw.mainKeys=yes


    Save the changes and exit the editor and terminal.
Start the AVD again - this time, you should not see any error messages upon startup and both the hardware buttons and DPAD has been enabled. You can check it out by playing around with AVD and using these keys.
Read full post »
 

Copyright © Video game tester Design by Free CSS Templates | Blogger Theme by BTDesigner | Powered by Blogger