Android :: Missing OpenGL Drivers On Emulator

Jul 11, 2009

I am trying to set up an Android emulator to do some playing around with OpenGL ES on it, but I am stymied by the fact that, every time I run my program on it, it unceremoniously grenades itself. The problem (at least the first nasty red error line in the log) is a missing package called libhgl.so. This is the OpenGL driver file required for running OpenGL ES on Android devices, but for some reason, my emulator doesn't have it. Does anyone know where I can get drivers for the emulator, or how to get an emulator that already has them?

Android :: Missing OpenGL drivers on emulator


Android :: OpenGL ES Missing Some Components?

Oct 1, 2009

I'm trying to run the "HelloTriangle" example, from The OpenGL ES 2.0 Programming Guide, in the Android emulator.I import egl.EGLConfig and opengles.GL10 from javax.microedition.khronos, but the ESContext type and definitions such as GL_COMPILE_STATUS and GL_FRAGMENT_SHADER can't be resolved.I reworked the triangle example somewhat for Android in that I'm using GLSurfaceView. I undertand that it is supposed to be used instead of OpenGLContext in the newer versions of the SDK.Am I using a "non-Android" approach to OpenGL ES? If so, what's the right one?

View 1 Replies View Related

Android :: SIGSEGV 11 OpenGL - Only On Droid - Not 2.0 Emulator

Nov 10, 2009

We are getting a SIGSEGV 11 when launching our OpenGL activity. Here is the logcat. It appears to happen on Droid Hardware, but not the 2.0 Emulator. We are trying to do some testing to see if we can slowly build up some code to cause a crash.

CODE:....................

View 3 Replies View Related

Android :: Opengl Texture Working On Emulator But Not On HTC HERO

Jul 14, 2010

In my application, I have a NDK native code that uses OpenGL 1.0 to apply a texture to a rectangle in order to draw an image on the screen. It is working fine on the emulator, but when I test it on the HTC HERO android device, it only draws a white rectangle without texture. Anybody else had the same problem? Did anybody find a solution?

Here is how I initialize openGL in native code:

CODE:............

And here is how I draw the frame in native code:

CODE:..................

View 3 Replies View Related

Android :: OpenGL Coding - Emulator Doesn't Work

May 26, 2009

After spending the better half of this day getting my HTC Magic to work in developer mode, I've now found that some of my frist openGL coding attempts that appeared to work fine in the emulator doesn't work as expected on the device. I've narrowed this down to glColorf(r, g, b, a) not working as expected on the device itself. The provided OpenGL samples do work though. So for example, after modifying Cube.java from the samples to the below code I find that I get the expected grey square on the emulator but a blank white screen (background fill colour) on the device.

class Cube { public Cube() { int one = 0x10000; int vertices[] = { -one, -one, -one, one, one, -one, one, one, };
// Buffers to be passed to gl*Pointer() functions // must be direct, i.e., they must be placed on the // native heap where the garbage collector cannot // move them. // // Buffers with multi-byte datatypes (e.g., short, int, float) // must have their byte order set to native order
ByteBuffer vbb = ByteBuffer.allocateDirect(vertices.length*4); vbb.order(ByteOrder.nativeOrder()); mVertexBuffer = vbb.asIntBuffer(); mVertexBuffer.put(vertices); mVertexBuffer.position(0); }
public void draw(GL10 gl) { gl.glFrontFace(GL10.GL_CW); gl.glVertexPointer(2, gl.GL_FIXED, 0, mVertexBuffer); gl.glColor4f(0.5f, 0.5f, 0.5f, 0.5f); gl.glDrawArrays(GL10.GL_TRIANGLE_STRIP, 0, 4); }
private IntBuffer mVertexBuffer;

View 5 Replies View Related

Android :: OpenGL ES Works Fine On Emulator But On HTC Hero 1.5 It Does Not Render Vertices

Nov 8, 2009

Running into REALLY interesting problems with OpenGL ES. Basically when I start my program in 1.5 or 1.6 emulator, it works just fine but on HTC Hero 1.5 it does not. The problem is that the vertices are not being rendered but the gl.glClear() command is working just fine. I followed in with the debugger and it does go into the rendering function and such but still not rendering the vertices...

Here is the code in PasteBin (easier to read: http://pastebin.com/m706686e6 )

And here is the same thing pasted here:

CODE:............

Also I got my projection set in 2D ortho projection to match screen coordinates so that's why scale to 50,50 to actually make a bit bigger. I've tried using glDrawElements and glDrawArrays and nothing on the actual phone but works perfectly fine on the actual emulator. Any ideas where I might be going wrong? Why is the actual phone not rendering the vertices like the emulator is?

View 7 Replies View Related

Android :: Missing Accounts In Emulator

Sep 10, 2010

I've an app that uses Android accounts - GoogleLoginService on (< 2.1) and AccountManager on 2.1 or greater. the app works fine on phones, but doesn't work on any of the emulators.

When I try adding accounts in emulator, it fails. In 1.6, option doesn't even exist.

Is there a workaround? I heard that there is a custom system.img that has Accounts inbuilt, but cant find one. I need it for 1.6, 2.1, 2.2

View 1 Replies View Related

General :: Missing Arch-specific Emulator Program

Oct 22, 2012

I tried to launch emulator I got this Message:

"Missing arch-specific emulator program: C:Program FilesAndroidandroid-sdk ools/emulator-mips.exe".

I installed mips images & I tried to reinstall the SDK.

View 3 Replies View Related

Android :: OpenGL Speed Issue - Code Contribution To Other OpenGL

Feb 25, 2009

Single Threaded OpenGL game ! (check bottom, you can download and use the helper class) Lighting disabled ! Depth Buffer disabled ! Culling enabled ! Textures disabled !

Just 176 integers (x,y values only) making 88 vertexes along with 132 index numbers making "44 triangles only"

Framerates I get is

with GL_BLENDING disabled - 145 fps approx only! enabled - 110 fps approx only!

I have the screenshot of exact code in the draw function here.. just 2 damn lines ! I have hidden only the comments.. click here to see it http://prasna991.googlepages.com/drawframe.png

variable details in the 2 lines of code =========================== ipts = 176 elements (only x and y for each vertex) totallinetriangles * 3 = 176 lineindexes = 132 elements - type "short"

Here is the screenshot of output drawing and how it will look like http://prasna991.googlepages.com/screen.png

OpenGL single threaded Initialization Helper ================================ Here is my OpenGL helper class.. makes the OpenGL initialization for newbies a cakewalk http://prasna991.googlepages.com/OpenGLHelperclass.txt

I tested by rendering on the touch event only.. frame rate drops only when u touch and drag and here I have just tested by tapping and releasing gently on the emulator and on the device

Is this the device limitations ? So graphics is actually a lot lot lot slower than on iPhone ?

View 8 Replies View Related

Android :: NDK OpenGL - Mixing Java And Native - C - Calls To OpenGL API

Jul 24, 2010

I would like to be able to use the OpenGL API from both Java and C (via NDK).

In Java, there is a GL object passed, which has all GL methods on it.

In C, you just talk to the native library.

In a single onDrawFrame callback (for which Java is passed a GL), can I use methods on the GL object, and also call NDK methods which access the openGL library?

In other words, is the GL object just a wrapper for the same instance of the native library?

View 3 Replies View Related

Android :: SQLite - Works Perfect In 1.6 Emulator - Won't Work On The Phone - 2.2 - Or 2.0 - Emulator

Aug 6, 2010

I created a sqlite database to store playlists for a media player I am developing because of extended feature (rather than using the Content Provider). It works perfectly on the 1.6 emulator but FCs on anything higher than 2.0... what has changed that I need to know about as far as opening databases in SDK 2.0+? Here is the logcat.

CODE:.............

Here is the dbhelper class

CODE:................

why can't stackoverflow just use tags like a normal syntax highlighter.

View 2 Replies View Related

Android :: Unable To Play Youtube Videos On SDK 1.5 Emulator - But Playing Well On SDK 1.0 Emulator

May 19, 2009

Unable to play youtube videos on SDK 1.5 emulator - but playing well on SDK 1.0 emulator. Can you update the source....

View 7 Replies View Related

Android :: Emulator - ERROR - User Data Image Is Used By Another Emulator

Apr 13, 2010

Finally strace gave me this:

CODE:................

And several other attempts to call "link" that also fail (sshfs does not support hard links).

Is it possible to change the emulator's behavior to create lock files somewhere in /tmp (using some hash of image path as lock file name)? I am OK to try this myself: which repositories from https://android.git.kernel.org/ are necessary to rebuild the emulator alone, and where in the sources is the code responsible for image locks?

View 4 Replies View Related

Android :: Emulator - SDK 1.1_r1 For Widndows XP - Crash Using Emulator -data

Apr 20, 2009

I need to run several emulator instances to test my application. When i try to run instances using emulator -data <path> option, the emulator crashes.

I got a MS Visual Studio window informing that emulator throws a "unhandled win32 exception".

The exception message in the debugger (MS Visual Studio 2008) is: "Unhandled exception at 0x77c4706c in emulator.exe: 0xC0000005: Access violation reading location 0x03216848"

The emulator runs normally without "-data" option.

View 2 Replies View Related

Android :: Emulator Error - User Data Image Is Used By Another Emulator

Nov 1, 2010

I am getting the following error when I try running my program in the emulator:

emulator: ERROR: the user data image is used by another emulator. aborting`

View 1 Replies View Related

HTC Incredible :: 64 Bit Android USB Drivers

Sep 8, 2010

Trying to root my DINC for the first time and the USB drivers provided by the guide do not work, I'm running Windows 7 64bit. I thought I saw some 64 bit USB drivers some where while browsing one day on here.

View 3 Replies View Related

Android :: Application In Emulator Without Restarting Emulator In Eclipse?

Apr 8, 2009

Is there a way to reload an Android application in the emulator without closing the emulator, saving any code changes, and running the emulator again? If I make even a simple change to the layout, it takes about 30 seconds by time I run it in Eclipse and Android "boots", and I can unlock the emulator to run the application. Is there any way to shorten this time when making changes, or is it something I just have to deal with?

View 3 Replies View Related

Android :: Start-emulator Task Never Gets Emulator Running

Mar 16, 2010

I downloaded the most recent version of Android for linux (android-sdk_r05-linux_86.tgz). I was trying to use the the Android Ant task(s) for packaging, building, and deploying my code. I should mention that I'm running AMD64, but have the 32-bit libraries installed. The Android Ant tasks are all broken.

First, the start-emulator task never gets the emulator running. It does get past starting adb, but then just sits there.

Second, the SDK is missing the aapt binary in the tools directory. So, the example notepad sample application will not even package correctly.

I have all the dependencies configured for Android. I can run it from the command line just fine.I assume the Ant code is out of sync with the recent SDK updates. Can anyone shed some light on this problem? At this point, I'm considering writing my own Python scripts to interact with the Android SDK. Ugh.

View 1 Replies View Related

Android :: Connect The G1 Usb Drivers For Fedora 9

Feb 27, 2009

tried to connect the G1 Android phone on Fedora 9. Is it required to install the USB drivers or not, if yes then where i will find the drivers.

View 2 Replies View Related

Android :: USB Drivers For HTC Legend - Or How To Add Your Own To Android_winusb.inf

Apr 10, 2010

Just got a HTC Legend and am very keen to get into Android development (having previously been expirenced with eclipse/java/gwt).

However, the USB ADB driver on the SDK doesnt support it, so I wondered how I could add it myself.

I feebly tried adding;

CODE:.......

to the inf file. But it didnt help. (mainly because I have no clue what I was doing)

View 10 Replies View Related

Android :: Installing USB Drivers On Vista 64 Bit

Jul 5, 2009

I am currently having issues installing my G1 in development mode on Vista 64 Premium SP1. I have tried both installing the drivers that come with the latest SDK and also the ones here: http://forum.xda-developers.com/showthread.php?t=446274.

Whenever I plug the phone in it comes up as an unknown USB device under device manger. When I go to update driver and point the installer at the correct driver location it either says 'the device driver is up to date' or when using the have disk option it says 'the folder specified does not contain a compatible software driver for your device'.

View 3 Replies View Related

Android :: USB Drivers Work On XP64?

Apr 18, 2010

I have two machines, one a WindowsXP32, and one 64. Both with AMD64 chips. I have eclipse on both, and the SDK on both. I'm using the usb drivers with the HTC Legend (http:// groups.google.com/group/android-developers/browse_thread/thread/ 2b54d2ce1202b04b/dd6f9152cd50d64b?lnk=gst&q=usb+#dd6f9152cd50d64b).

On the 32bit one things work just peachy. Device recognised, and debugging working fine. However, the 64bit one doesn't seem to recognise the device. Windows recognise's the device, and windows device manage shows it, but "adb devices" lists nothing, and nothing shows up when trying to manually launch from eclipse.

View 2 Replies View Related

General :: Android USB Drivers Not Functioning?

Mar 2, 2013

I'm trying to use the SWM and when I have everything all set up it tells me I have no device set up. I looked to see if I could find drivers for me Xperia X10 and all I kept getting linked to was the sony PC companion that apparently had those drivers installed. When I installed it and did all the set up stuff it still wouldn't recognize my phone other than as a removable disk. I have the USB debugging turned on, .Net framework installed, and supposed the drives yet it still won't read my phone.

View 1 Replies View Related

General :: How To Uninstall Drivers From Android

Oct 10, 2012

How to do this? is this possible? if yes, where is the driver.

View 5 Replies View Related

Android :: Cannot Install USB Drivers For HTC Slide 2.1 - Vista 32 Bit

Jul 23, 2010

Is anyone able to install the usb drivers for this configuration? device: htc slide Windows Vista 32 bit Java 1.6.20 USB driver for windows installed: Revision 3. Android 2.1. I followed the steps here http://developer.android.com/sdk/win-usb.html but it cannot find the drivers at step #6. I get error message, "Windows was unable to install your adb. Windows could not find driver software for your device".

Directory of C:android-sdk-windowsusb_driver
07/22/2010 02:55 PM <DIR> . 07/22/2010 02:55 PM <DIR>
07/22/2010 02:55 PM <DIR> amd64 07/22/2010 02:55 PM
8,938 androidwinusb86.cat 07/22/2010 02:55 PM
8,974 androidwinusba64.cat 07/22/2010 02:55 PM
3,835 android_winusb.inf 07/22/2010 02:55 PM <DIR>
i386 07/22/2010 02:55 PM 16,447 source.properties

View 5 Replies View Related

Sprint HTC Hero :: How To Set Up ADB / USB Drivers For Android Devices?

Nov 24, 2010

I will post useful post and links as I see them and try to keep it updated: All useful HTC Hero CDMA info originally posted here by Andy Click HERE Titanium Backup video Barnacle Wireless WiFi Instructions ClockWorkMod Manager Videos Setting up CM6How To Flash a Custom ROM Flash amon ra recovery image [ROOT] Easy Root, works with any Stock ROM (Including 2.31.651.7!)[APP]SuperOneClick v1.5.5 (Root, Unroot, Enable Non-Market App, Get UNLOCK code)Youmail great app for your phone!How To: Set Up ADB/USB Drivers for Android Devices

View 4 Replies View Related

Android :: Drivers Removed From Mainstream Kernel?

Feb 4, 2010

Why isn't Google playing nice with regards to the Linux Kernel Android code? Greg KH says the Android code is stagnant and as a result got removed recently: http://www.kroah.com/log/linux/android-kernel-problems.html

I know for a fact Greg KH bends over backwards to help Linux Kernel developers maintain their code, so hearing this news about the Android drivers being removed is very troubling. Hearing about all the hardware companies that now cannot get their own Android drivers into the main kernel is the worst of it. Google seems fairly evil lately, but everyone who should care (fellow Android developers, I'm looking at you) seems to just want to put their hands over their ears and sing "la la la la".

Android is not being handled in the true spirit of open source, and Greg KH's assessment of the situation is even more proof of that fact.

View 12 Replies View Related

General :: Where To Find Touchscreen Drivers In Android

Jun 15, 2012

I have two tablets but on of them I've flashed and messed up (touch screen is not working).

How can I get this to work? How can I get the touch-screen drivers and replace them?

View 1 Replies View Related

Android :: Dream Drivers Not Recognized By Windows Vista 64 Bit

Jan 31, 2010

Has anyone else had issues getting windows to recognize the drivers for their phone? I'm in the process of rooting my phone and I can't get fastboot to work with my phone. When I look under device manager on my laptop it says the drivers aren't recognized. I've tried windows vista 64 bit and windows xp 32 bit.

View 2 Replies View Related

Android : Moto Droid ADB Drivers No Longer Work After HTC Evo Used

Jun 25, 2010

I have owned my Droid since day 1 and I have been doing Android development, with ADB working, on my Windows 2003 Server laptop all this time. I'll try to be as detailed as possible. Things to note right off the bat: - Motorola Droid 2.1 - Windows Server 2003 laptop - ADB has worked perfectly with this for ~ 8 months My work gave me a HTC Evo to do some development on. I installed the HTC drivers, ADB worked fine, did my development and now I am done with the Evo. The problem is my Droid no longer works with ADB.

View 10 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved