Saturday, February 1, 2014

LINUX UBUNTU 12.04 64-bit and Android SDK 32-bit issue - gradle: Cannot run program sdk build-tools android-4.4 aapt No such file or directory

If you got this kind of error during the building of Android app: Execution failed for task mergeDebugResources Cannot run program sdk build-tools android-4.4 aapt No such file or directory -- this happen because you run Android SDK 32-bit on Linux Ubuntu 12.04 64-bit.

You can fix it easily by installing this libraries:
sudo apt-get install lib32stdc++6
sudo apt-get install lib32z1

More about this issue here:
http://askubuntu.com/questions/147400/problems-with-eclipse-and-android-sdk
http://stackoverflow.com/questions/18928164/android-studio-cannot-find-aapt
 

Friday, January 31, 2014

The excelent HOW TO install JAVA on Linux Ubuntu

UBUNTU 12.04 BROADBAND WiFi firmware issues

THIS POST IS WORTH TO BE WRITTEN IN CAPITALS

If you've installed Ubuntu 12.04 or etc and your WiFi does not work install b43 driver!!!

FOLLOW THE INSTRUCTIONS OF THIS LINK:

download these 2 files:

http://downloads.openwrt.org/sources/wl_apsta-3.130.20.0.o
and
http://mirror2.openwrt.org/sources/broadcom-wl-4.150.10.5.tar.bz2

cd ~ 
tar -xjvf broadcom-wl-4.150.10.5.tar.bz2 
sudo b43-fwcutter -w /lib/firmware wl_apsta-3.130.20.0.o 
sudo b43-fwcutter --unsupported -w /lib/firmware broadcom-wl-4.150.10.5/driver/wl_apsta_mimo.o 
sudo chmod 775 /lib/firmware/b43 
sudo chmod 775 /lib/firmware/b43legacy

REBOOT THE PC AND CHECK WiFi connection.

How to write right an *.iso file on Mac

In short: Do it through DiskUtility app on your Mac!!!

https://help.ubuntu.com/community/BurningIsoHowto

Thursday, January 30, 2014

The Science Behind Why Small Teams Work More Productively: Jeff Bezos’ 2 Pizza Rule

http://blog.bufferapp.com/small-teams-why-startups-often-win-against-google-and-facebook-the-science-behind-why-smaller-teams-get-more-done?fb_action_ids=633422390027265&fb_action_types=readabilityapp%3Abookmark&fb_source=other_multiline&action_object_map=[397861940320260]&action_type_map=[%22readabilityapp%3Abookmark%22]&action_ref_map=[]

Monday, January 13, 2014

Get the view size and position on ViewTreeObserver

If you have to get view's position coordinates, size and etc do it using ViewTreeObserver class.

Read this article:
http://stackoverflow.com/questions/7733813/how-can-you-tell-when-a-layout-has-been-drawn

How to update your Android apps

In one sentance:
Open on your mobile Play Store app, find out the app you want to update among the installed apps and run update process.

Read more about it here:
http://www.pcadvisor.co.uk/how-to/google-android/3435989/how-update-android-apps/

Be strong

http://www.lubyanchenko.ru/wp-content/uploads/2012/04/turnik30.png

Saturday, January 11, 2014

Getting View's coordinates relative to the root layout

If you get only ZERO's by view.getLeft()... try to use
view.getLocationOnScreen() and/or getLocationInWindow().

Here is the link of this issue:
http://stackoverflow.com/questions/2224844/how-to-get-the-absolute-coordinates-of-a-view