Search Results

Search found 3 results on 1 pages for 'rankor'.

Page 1/1 | 1 

  • Ubuntu 11.10 on MacBook Air 2011 - problems with drivers

    - by RankoR
    I had just installed Ubuntu 11.10 on my MacBook Air, and have a lot of problems. I used this tutorial, after executing script and rebooting some problems were solved, but now I have completely not working touchpad, keyboard & screen backlight works incorrect (screen brightness is not 100%, but it is 100% in settings, keyboard backlight turns on/off randomly). How to fix it? P. S. Script said that it's no such file or directory for some .icc file. Google says, that I should copy it from Mac OS X drive, but I completely replaced it with Ubuntu.

    Read the article

  • Missing nativeInit when compiling multimple files

    - by RankoR
    Android.mk: LOCAL_PATH := $(call my-dir) include $(CLEAR_VARS) LOCAL_MODULE := pacman LOCAL_SRC_FILES := main.cpp \ Pacman.cpp LOCAL_CFLAGS := -DANDROID_NDK \ -DDISABLE_IMPORTGL LOCAL_LDLIBS := -lGLESv1_CM -ldl -llog include $(BUILD_SHARED_LIBRARY) In main.cpp: void Java_com_wiagames_pacman_PacmanRenderer_nativeInit(JNIEnv* env) { ... } The package is com.wiagames.pacman; The Java class, containing the nativeInit method, is PacmanRenderer in the com.wiagames.pacman package. It works fine before I added pacman.cpp, but after adding it I have: E/AndroidRuntime( 2238): FATAL EXCEPTION: GLThread 1104 E/AndroidRuntime( 2238): java.lang.UnsatisfiedLinkError: Native method not found: com.wiagames.pacman.PacmanRenderer.nativeInit:()V E/AndroidRuntime( 2238): at com.wiagames.pacman.PacmanRenderer.nativeInit(Native Method) E/AndroidRuntime( 2238): at com.wiagames.pacman.PacmanRenderer.onSurfaceCreated(MainActivity.java:120) E/AndroidRuntime( 2238): at android.opengl.GLSurfaceView$GLThread.guardedRun(GLSurfaceView.java:1494) E/AndroidRuntime( 2238): at android.opengl.GLSurfaceView$GLThread.run(GLSurfaceView.java:1240) W/ActivityManager( 306): Force finishing activity com.wiagames.pacman/.MainActivity main.c: http://pastebin.com/GPexqwcv MainActivity.java: http://pastebin.com/yWfWpyNb

    Read the article

  • How to make Android not to recycle my Bitmap until I don't need it?

    - by RankoR
    I'm getting drawing cache of the view, that is set as contentView to the Activity. Then I set new content view to the activity and pass that drawing cache to it. But Android recycles my bitmaps and I'm getting this exception: 06-13 01:58:04.132: E/AndroidRuntime(15106): java.lang.RuntimeException: Canvas: trying to use a recycled bitmap android.graphics.Bitmap@40e72dd8 Any way to fix it? I had an idea to extend Bitmap class, but it's final. Why GC is recycling it?

    Read the article

1