Archives
- January 2020
- October 2018
- September 2018
- August 2018
- June 2018
- April 2018
- February 2018
- January 2018
- July 2017
- June 2017
- March 2017
- October 2016
- July 2016
- September 2015
- August 2015
- February 2015
- October 2014
- September 2014
- August 2014
- June 2014
- May 2014
- March 2014
- February 2014
- January 2014
- December 2013
- November 2013
- October 2013
- September 2013
- August 2013
- July 2013
- May 2013
- April 2013
- March 2013
- February 2013
- January 2013
- December 2012
- November 2012
- October 2012
- September 2012
- August 2012
- July 2012
- June 2012
- May 2012
- April 2012
- March 2012
- February 2012
- January 2012
- December 2011
- November 2011
- October 2011
- September 2011
Meta
Categories
- add
- admob
- algorithm
- android
- app
- App Idea
- beagleboard xm
- BigQuery
- broken
- C++
- cakephp
- case-sensitive
- clone
- codeigniter
- coding
- composer
- coursera
- cross compile
- crosstool
- dbus
- default value
- dependency injection
- diff
- eclipse
- emulator
- error
- file
- forbidden
- fragment
- gdb
- git
- gitolite
- google maps
- inorder
- install
- interview
- java
- jQuery
- link
- linux
- marakana
- mongodb
- NFS
- not working
- php
- preferences
- preorder
- process
- pulseaudio
- push
- qnx
- qt
- rails
- refactored
- reference
- relink
- remote
- ruby
- ruby on rails
- ruby on rails tutorial
- server
- service
- singleton
- svn
- TDD
- topcoder
- tortoisesvn
- troubleshooting
- ubuntu
- UI properties
- undefined
- user
- v3
- virtualbox
- zend
Top Clicks
- None
Category Archives: Android
Android difference between task and process
Found this area to be pretty murky even though it looks like a pretty common question. There is no one to one relationship between tasks and process. It can be one or multiple task spread across multiple processes. Easier way … Continue reading
Android AVD emulator not starting on Ubuntu
Ran into this error where the Android Emulator API 8 or 10 on Ubuntu 12.04 would not start. It just looks like it’s hanging there. The solution is this: in android-sdk you need to rename the libOpenglRender.so library. cd /path/to/android-sdk-linux/tools/lib … Continue reading
Posted in Android, Linux
Tagged android, avd, emulator, linux, not starting, not working, ubuntu
Leave a comment
Android: Adding a default app when building by source
I’m building Android for my TAO 3530 board, booting for a SD card, and wanted to install my own app onto the Android “image”. Here is how I did it If you’ve got a built apk place it in: /rootfs/data/app … Continue reading
Android: Fragment v4 support exception
After trying out fragments without using the v4 support library, I tried a layout using fragments and kept running into this exception. What does this exception mean and how do I fix it? It’s pretty simple. This is the main … Continue reading
Posted in Android, troubleshooting
Tagged android, error inflating class fragment, exception, fragment, v4 support
3 Comments
Android: HelloFragment
Created one of the most basic examples of using Fragments. Seems like most people are using Fragments these days so spent some time trying it out. If you’re trying to see a real basic example here is one. https://github.com/fangstar/HelloFragment res/layout/main.xml … Continue reading
Android: BroadcastReceiver example of RECEIVE_BOOT_COMPLETED, ACTION_BOOT_COMPLETED
As usual right when I ask for help, I realize the error myself. Here is was my question on stackoverflow, http://stackoverflow.com/questions/11460941/broadcast-receiver-not-receiving-action-boot-completed . Ended up I misunderstood the BOOT_COMPLETED concept. Here’s my code on github: https://github.com/fangstar/BootAtStartup
Posted in Android
Tagged ACTION_BOOT_COMPLETED, android, Broadcast Receiver, RECEIVE_BOOT_COMPLETED
Leave a comment
Android: Preferences – setting default values from prefs.xml
I’ve been working on the Marakana Bootcamp Yamba app. Since I don’t keep my emulator up all day, it’s really annoying setting the preferences all the time. Therefore I looked into how to set the default value in the prefs.xml. … Continue reading
Android: Common UI View Properties
Most likely you’ll only care about these: Layout Width: FILL_PARENT or WRAP_CONTENT (required) Layout Height: FILL_PARENT or WRAP_CONTENT (required) Layout Weight: How greedy (0 default) or generous (1) a widget is. 0 (greedy, myself first) or 1 (generous yield to everyone … Continue reading
Android: Eclipse and Emulator link broken
Watching the Marakana Android Bootcamp 2012 videos and noticed a handy fix to something I’ve experienced quite a bit. There are times when Eclipse loses connection and doesn’t realize that there’s an Emulator already running and then tries to start … Continue reading
Android: Marakana Android Internal Course
Got back from the Marakana Android Internals Course. Whew it was a lot of information and geared more for platform developers who want to know how the OS works how it enforces sandboxing, security, and building a custom ROM. It … Continue reading