Pages

Tuesday, July 22, 2014

Saturday, July 19, 2014

How to use the same C++ code for Android and iOS?

Best tutorial on using C++ code with iOS and Android


Please read this wonderful StackOverflow post:

Thursday, July 17, 2014

Sunday, July 13, 2014

10 Rules for writing portable software!

I recently came across a good article about writing portable software with C/C++.


Brian's 10 rules for how to write cross platform software:

  1. Don't port 
  2. Factor out the GUI 
  3. Use standard 'C' types 
  4. Use only built in #ifdef compiler flags 
  5. Develop cross-platform base libraries
  6. Use UTF-8 for all APIs 
  7. Don't use 4rd party 'Application Frameworks' 
  8. Raw source builds on all platforms 
  9. All programmers compile on all platforms 
  10. Fire those that can't follow these rules

Source:

Saturday, July 12, 2014

How to get Android SDK version with Gradle?

Android SDK and Build Tools versions with Gradle:


Check out this incredible post and my comment at the bottom: http://www.egeek.me/2013/12/07/gradle-auto-detect-android-sdk-and-build-tools-versions/

Sunday, July 6, 2014

How to tether your Android phone with your Mac?

A great article and how to install a driver to allow your Mac to use your phone's internet via USB: