x86 target build

by oclee » Tue, 05 Oct 2010 06:47:01 GMT


Sponsored Links
 Hi all,

I'd like to make a windows build of the emulator that runs an x86
build of android linux on top of the android qemu code running in x86
mode rather than arm. My assumption is that it will lack arm jni
support but will run more quickly and still have all the virtual
devices/drivers. Please let me know if this assumption is incorrect.

I'd guess I need to do something like:
TARGET_PRODUCT=sdk
TARGET_ARCH=x86
HOST_ARCH=x86
HOST_OS=windows

Is such a build possible and how would I set it up using the
choosecombo etc tools?

Thanks,
Lee.

-- 



Other Threads

1. GPS (mock) problems in SDK / emulator

Hello everybody,

I have a stupid problem with the Android emulator: I am not able to
send a GPS location to the emulator and all apps always report that
they cannot determine my location.

My virtual device has GPS support (hw.gps=yes), "allow mock locations"
in the settings is enabled.
I have tried two things:
1) telnet into the virtual device and issue a "geo fix <x> <y>"
2) use ddms to send a gps location

No result. "Googling" suggests that I should see a message about the
location update in the ddms-log / logcat.
But I don't :-(
Also, there used to be a problem with non-English locales. I have
already set the "java_debug" environment variable to "-
Duser.language=en" as suggested in this 
http://code.google.com/p/android/issues/detail?id=915
issue.

My current device's target version is Android 2.2, all SDK software is
the latest I could find yesterday (Dalvik Debug Monitor Revision 10,
AVD Manager Revision 10).

I'd appreciate any help, I don't know what else to look for!

Finch

-- 

2. Text will not draw properly

I'm drawing text to a canvas, but the text is not rendered properly
into the bitmap. I create a GL Texture and render it to the screen
with a full-screen quad. This is the result: http://i56.tinypic.com/259lthw.png

Here's the code I'm using:

Bitmap me = Bitmap.createBitmap(320, 80, Bitmap.Config.ARGB_8888);
Canvas canvas = new Canvas(me);
me.eraseColor(0);
Paint p = new Paint();
p.setTextSize(16);
p.setColor(Color.BLUE);
canvas.drawText("ABCDEFGHIJKLMNOPQRSTUVWXYZ", 0, 30, p);

Then I create the texture with:

int[] textureHolder = new int[1];

gl.glGenTextures(1, textureHolder, 0);
textureID = textureHolder[0];
gl.glBindTexture(GL10.GL_TEXTURE_2D, textureID);
GLUtils.texImage2D(GL10.GL_TEXTURE_2D, 0, me, 0);

me.recycle();

If i use a shorter string like "123", nothing shows up. If i set the
coords to 0, 0, barely anything shows up. Does anyone have any idea
what i could be doing wrong?

-- 

3. Zoom event on Webview

4. How to use Local Notification in Android 2.3.1??

5. List view from database

6. Verizon Case for Samsung Fascinate

7. Cursor management issue with Honeycomb