Drawing over the soft buttons | developer.brewmp.com Drawing over the soft buttons | developer.brewmp.com

Developer

Drawing over the soft buttons

Forums:

Hi.

I need to label two boxes at the bottom of my display to map onto a coupla keys that are always active during my game. I'd rather draw them myself but at least on the moto the screen bitmap I get doesn't reach that far down, so I guess this isn't possible ?

So, plan b) - re-label the O/S supplied buttons to match my functions. Can anyone shed any light on this please, as I can't find anything in the help. It must be doable otherwise these things coulda been simply drawn onto the glass of the display, but I can't seem to unearth the secret.

Thanks...

Nope, you can't change 'em, can't remove 'em. People have been trying for years.

Nope, you can't change 'em, can't remove 'em. People have been trying for years.

But the O/S does it all the time. Is this protected behaviour ?

But the O/S does it all the time. Is this protected behaviour ?

Applewood wrote:But the O/S does it all the time. Is this protected behaviour ?
On this phone, yes. Sucks don't it ;)
Tom

Applewood wrote:But the O/S does it all the time. Is this protected behaviour ?
On this phone, yes. Sucks don't it ;)
Tom

It is because Motorola put such restriction.

It is because Motorola put such restriction.

Yes, its protected behavior. I'm sure if you REALLY want to change it, you could remove the ROM from the phone, break its encryption, dump the ROM, disassemble it, find the function that displays the soft buttons, and call that function from your program...
But a much simpler approach that I've used in the past is to just display your own menu bar above it. And anyone who complains about wasted screen space knows its their fault, 'cause they bought that crappy phone :)
Seriously, though, just forget about that part of the screen, might as well just pretend it IS etched under the glass.

Yes, its protected behavior. I'm sure if you REALLY want to change it, you could remove the ROM from the phone, break its encryption, dump the ROM, disassemble it, find the function that displays the soft buttons, and call that function from your program...
But a much simpler approach that I've used in the past is to just display your own menu bar above it. And anyone who complains about wasted screen space knows its their fault, 'cause they bought that crappy phone :)
Seriously, though, just forget about that part of the screen, might as well just pretend it IS etched under the glass.

Oh, that's quite serious to me.
I'm known on the arcade emulator circuit as the guy who cracked the "commando" roms doing exactly that. Borrowed some chips, used a logic probe to see exactly what number came out based on what went in, wrote a look-up table and converted all the opcodes on the fly! :)
I kinda take your point though. lol

Oh, that's quite serious to me.
I'm known on the arcade emulator circuit as the guy who cracked the "commando" roms doing exactly that. Borrowed some chips, used a logic probe to see exactly what number came out based on what went in, wrote a look-up table and converted all the opcodes on the fly! :)
I kinda take your point though. lol