[android-developers] Android Developer Console and the Market - Several Issues

2009-02-15 Thread Koush
The Android Developer Console doesn't allow me to unpublish my previously published applications. I thought it may be a browser/ javascript issue, but I tried several browsers with no luck. In addition, the applications I've published that are not free do not show up on the Market. --~--~

[android-developers] Re: Compass X & Y inverted on G1 phone?

2008-12-03 Thread Koush
relative to the surface of the Earth appears as -STANDARD_GRAVITY in the Z axis and X and Z values close to zero. Acceleration values are given in SI units (m/s^2) On Dec 3, 10:44 am, Koush <[EMAIL PROTECTED]> wrote: > That actually sounds like it is working properly. > > On the G1 acce

[android-developers] Re: Compass X & Y inverted on G1 phone?

2008-12-03 Thread Koush
That actually sounds like it is working properly. On the G1 accelerometer, (and all other HTC devices), the positive Z axis is face up, the positive X axis is from the center of the screen to the right, and the positive y axis is from the center of the screen to the mouthpiece. Hence, if you are

[android-developers] Re: Iptables

2008-12-03 Thread Koush
You won't be able to get iptables onto an actual phone unless it is rooted. Incidentally, iptables has already been cross compiled. It's actually being used on rooted phones to make them serve as wireless routers. See this thread: http://forum.xda-developers.com/showthread.php?t=444004 On Dec 3,

[android-developers] Re: Loading a bitmap from a byte buffer

2008-12-02 Thread Koush
ty trivial) and then decode the bytes. But that is still a hack... On Dec 2, 1:15 am, Christine <[EMAIL PROTECTED]> wrote: > As John says, why don't you use BitmapFactory.decodeByteArray? > > On Dec 2, 10:03 am, Koush <[EMAIL PROTECTED]> wrote: > > > Also, the Bi

[android-developers] Re: Loading a bitmap from a byte buffer

2008-12-02 Thread Koush
TED]> wrote: > As John says, why don't you use BitmapFactory.decodeByteArray? > > On Dec 2, 10:03 am, Koush <[EMAIL PROTECTED]> wrote: > > > Also, the Bitmap class internally (in the C++ JNI atleast) supports > > the all familiar lockPixels and unlockPixels metho

[android-developers] Re: Loading a bitmap from a byte buffer

2008-12-02 Thread Koush
Also, the Bitmap class internally (in the C++ JNI atleast) supports the all familiar lockPixels and unlockPixels methods, which allows direct access to the byte buffer. I would suggest extending the Java API to include those methods. On Dec 2, 1:00 am, Koush <[EMAIL PROTECTED]> wrote: &g

[android-developers] Re: Loading a bitmap from a byte buffer

2008-12-02 Thread Koush
http://code.google.com/android/reference/android/graphics/BitmapFacto... > > On Dec 1, 5:58 pm, Koush <[EMAIL PROTECTED]> wrote: > > > I inspected Bitmap.cpp and found this function: > > > static jboolean Bitmap_writeToParcel(JNIEnv* env, jobject, >

[android-developers] Re: Loading a bitmap from a byte buffer

2008-12-01 Thread Koush
me indirect access to creating a bitmap directly from a byte buffer. It's a bit of a hack obviously, and not ideal. Is there a better way to do this? On Dec 1, 2:41 pm, Koush <[EMAIL PROTECTED]> wrote: > I'm trying to populate a create a bitmap from something other than an &g

[android-developers] Loading a bitmap from a byte buffer

2008-12-01 Thread Koush
I'm trying to populate a create a bitmap from something other than an RGBA int array. However, the Bitmap creation overloads only take int arrays as inputs. In particular, I have a byte buffer that is in the R5G6B5 format that I want to load directly into a bitmap. The format is supposedly suppor

[android-developers] Re: Interfacing with AndNav (via Intent-Broadcast)

2008-11-25 Thread Koush
Why did you implement it as a broadcast? On Nov 25, 12:35 pm, plusminus <[EMAIL PROTECTED]> wrote: > Hello Developers, > > I want to introduce the nice and small AndNav-API to you all. With a > tiny snippet you can make any application use the full navigation > capabilities of AndNav2 and or AndN

[android-developers] Re: Dalvik and BOOTCLASSPATH

2008-11-25 Thread Koush
6 pm, fadden <[EMAIL PROTECTED]> wrote: > On Nov 14, 1:37 pm, Koush <[EMAIL PROTECTED]> wrote: > > > From adb shell on the emulator, I am prepend theBOOTCLASSPATHto > > include a jar that contains an implementation of > > android.widget.EditText. > > This w

[android-developers] Re: Dalvik and BOOTCLASSPATH

2008-11-25 Thread Koush
<[EMAIL PROTECTED]> wrote: > On Nov 14, 1:37 pm, Koush <[EMAIL PROTECTED]> wrote: > > > From adb shell on the emulator, I am prepend theBOOTCLASSPATHto > > include a jar that contains an implementation of > > android.widget.EditText. > > This won't work.  

[android-developers] Re: How to debug G1 on Vista 64

2008-11-17 Thread Koush
There is now a 64 bit version of the drivers. http://www.koushikdutta.com/2008/11/android-debug-bridge-x64-windows.html On Nov 14, 6:05 pm, Mark Murphy <[EMAIL PROTECTED]> wrote: > Robert Green wrote: > > Anyone?? > > I am not aware of a 64-bit Vista driver for the G1, though I'm not a > Vista

[android-developers] Re: Dalvik and BOOTCLASSPATH

2008-11-14 Thread Koush
Yes, I ran the jar through dx. On Nov 14, 5:39 pm, shyamal <[EMAIL PROTECTED]> wrote: > I don't know about the BOOTCLASSPATH, but did actually run the jar > through dx --dex etc? > > On Nov 14, 1:37 pm, Koush <[EMAIL PROTECTED]> wrote: > > > From adb s

[android-developers] Dalvik and BOOTCLASSPATH

2008-11-14 Thread Koush
>From adb shell on the emulator, I am prepend the BOOTCLASSPATH to include a jar that contains an implementation of android.widget.EditText. Then from ADB, I launch an activity using the "am" tool. However, "am" is failing to launch at all with the following errors in logcat. Any ideas on how to

[android-developers] issues with system.img created from the android source

2008-10-30 Thread Koush
root: emulator -image system.img -ramdisk ramdisk.img -data userdata.img - kernel ../../../../prebuilt/android-arm/kernel/kernel-qemu. Am I missing an argument or some built parameter to enable networking on the built output image? Thanks,

[android-developers] Using Google Gears in a WebView

2008-10-27 Thread Koush
Does anyone know how to set Google Gears up to work properly in a WebView? The following fails with the error "Gears is not installed" on the web page. public class HelloAndroid extends Activity { /** Called when the activity is first created. */ @Override public void onCreate(Bundl

[android-developers] Using Google Gears inside a web view

2008-10-27 Thread Koush
Hi, I am trying to use a Google Gears enabled site in Android's WebView, but it fails, saying Gears is not installed. For example, my test application sets up a WebView and loadUrls: http://code.google.com/apis/gears/samples/hello_world_geolocation.html and I see a "Gears is not installed" messa