Archive for May, 2013

my dll was occupied so i couldn’t rebuild my proj

 

Process explorer really helped me to find who holds my dll occupied.

 

http://technet.microsoft.com/en-us/sysinternals/bb896653.aspx

 

 

i’m looking for a UI menu for my ndk app.

found this nice project http://gameplay3d.org/

from this q&a http://stackoverflow.com/questions/15859521/ui-using-opengl-es-in-bb10

also, this looks nice: http://blogs.gnome.org/clutter/

and this http://www.cegui.org.uk/wiki/index.php/Main_Page

 

many shit here http://gamedev.stackexchange.com/questions/3617/good-gui-for-opengl

After SDK upgrade my app kept on failing with errors on launch

FATAL EXCEPTION: main

java.lang.ClassNotFoundException

I spent 2 hours on this bullshit

solution:
under project libs, right click on cordova-2.3.0.jar and click Build Path –> Add to Build Path

Found a VERY nice html5 template for jquery mobile and for desktops

http://html5up.net/

 

just change in your Application.mk to android-9 in the APP_PLATFORM

APP_STL = gnustl_shared
APP_CPPFLAGS = -fexceptions
APP_PLATFORM := android-9
APP_ABI := armeabi

Building Boost with NDK

Posted: May 9, 2013 in android, c++, JNI/NDK, mobile

found this nice post, I hope it works

http://www.codexperiments.com/android/2011/05/tips-tricks-building-boost-with-ndk-r5/

http://stackoverflow.com/questions/14036311/official-boost-library-support-for-android-and-ios

https://github.com/markshiz/cross-platform-tutorial

It didn’t. this is shit.


Another try:

found this nice code

https://github.com/mcxiaoke/boost-ndk

download + extract + put the “boost” dir in the same level of your android project (not inside, but in the same level).

Edit boost\tools\build\v2\user-config.jam –> change “ANDROID_NDK = E:/android/ndk ;” to ANDROID_NDK = <YOUR NDK LOCATION> ;

Final thoughts

I didn’t manage to build boost with android. Just use plain POSIX threading. Works great.

got that exception of error inflating. and found the fix in here:

http://stackoverflow.com/questions/2108600/surfaceview-glsurfaceview-framelayout

just change the constructor to include AttributeSet

public ChildGlSurface(Context context, AttributeSet attrs) {
super(context, attrs);