[android-developers] Re: a little help with soft keyboard / InputMethodService

2009-11-09 Thread LouisB
What if I put an invisible EditText in the layout and pull the keystrokes out of there? On Nov 7, 8:26 am, LouisB louisbhi...@gmail.com wrote: Good day, my application is an Apple 2 Emulator and I’m getting reports from MyTouch 3G users that my softkeyboard implementation isn’t outputting

[android-developers] Re: Handling back button with Soft keypad

2009-11-09 Thread LouisB
I need to capture this event as well - did you find out anything? Thanks. On Nov 6, 1:07 pm, gshetty gshett...@gmail.com wrote: Hi I have a simple edit control in my application and as expected thesoftkeypad comes up on tapping it. Now what I want to do is that when the user presses the

[android-developers] Re: synchronized SurfaceHolder hanging on my market app

2009-11-07 Thread LouisB
Thanks for the reply - I wanted to follow up on this - I fixed it by taking out the synchronized blocks where I didn't need them. I was just blindly putting them in everywhere in my view, but they aren't needed unless there's some modification to the view properties. On Oct 25, 12:06 pm, Streets

[android-developers] a little help with soft keyboard / InputMethodService

2009-11-07 Thread LouisB
Good day, my application is an Apple 2 Emulator and I’m getting reports from MyTouch 3G users that my softkeyboard implementation isn’t outputting proper keystrokes for some of the shift keys. Right now everything is captured by doKeyDown via the SurfaceHolder Callback so this is understandable.

[android-developers] synchronized SurfaceHolder hanging on my market app

2009-10-24 Thread LouisB
Would appreciate some help here, my app (Apple2 Emulator) runs great on the emulator, but when I put it up on my G1 it becomes extremely flakey. Force quit / hang like crazy. I uploaded to the market and everyone is force quitting the app. Not good! The code is based on the old lunar lander

[android-developers] Re: 6502 Emulator

2009-06-23 Thread LouisB
fadden, thanks for taking a looksy into the emulator. Great ideas for optimization BTW. I've been looking at your ideas plus this document (http://slack.net/~ant/nes-emu/6502.html) and wondering how much mhz I can squeeze out of her. How are you determining performance? Mhz is calculated by

[android-developers] Re: 6502 Emulator

2009-06-20 Thread LouisB
Fadden, thanks for taking interest. I've been racking my brain for a few weeks now trying to come up with optimizations. Sofar nada. I definitely have an Apple][ APK - how can I share? p.s. i'm looking in traceview and a function (_eaimm_ - fetches an immediate from mem[PC] and increments the

[android-developers] 6502 Emulator

2009-06-18 Thread LouisB
Hello, i'm porting a 6502 Emulator to android. I have it working, but only at roughly .3mhz (1 required.) After running the profiler I see the simply reading memory (byte[]) is one of the most costly operations. Does anyone have any ideas for speeding this up? Should I wait for the NDK? Or

[android-developers] MemoryImageSource - HEAD HURTING

2009-06-08 Thread LouisB
Ok, so I'm porting an apple ][ emulator to android - unfortunately MR Hugg has quote use(d) the heck out of the MemoryImageSource class for his AppleDisplay.class (map memory image = emulator image display) Any idea how I can make this happen (efficiently of course) on Android? I've delved

[android-developers] MemoryImageSource / IndexColorModel

2009-06-08 Thread LouisB
Hi All - looking for suggestions - I'm porting a piece of code that extensively uses java awt MemoryImageSource IndexColorModel objects to efficiently transform a bitmap made up of (int)pixels[w*h] custom color's into (int)pixels[w*h] RGB colors. in a nutshell, if color#1 = blue and: if