Find Your Forum
  
Welcome, Guest. Please login or register.
Did you miss your activation email?

News: Do you like Samsung Instinct?      
Instinct Forum, Samsung Instinct message board, Samsung Instinct By Sprint, Samsung Instinct phone, new Samsung Instinct, Samsung Instinct phone, Sprint Instinct, Samsung Instinct phone
Best Screen Protector for Samsung Instinct                 Free Sprint Phones and Cheap Plans
                Samsung Instinct Scratch Protection
Pages: [1]
Reply Print
Author Topic: overriding parts of LCDUI  (Read 1697 times)
KillerBeagle
Instinct Fanatic
******

Cookies: 234
Hometown: Wilmington
Posts: 1282



« on: September 11, 2008, 08:35:06 PM »

Speaking of things to collaborate on...

Before people get too excited, this idea won't get you a keyboard in Opera.

I've been investigating this concept for a while, but the implementation is beyond my capabilities due to my lack of OO training.  It would allow us to recompile J2ME MIDP apps for which source code is available to work in the Instinct.  (If we could override the default classpath for apps, it might work for other apps, but I doubt we can do that).

Premise: touch parts of low-level LCDUI (Canvas, GameCanvas) work fine, but needs key support;  high-level LCDUI (Screen) doesn't have Command or keyboard support.  SIWL's BasicFrame extends GameCanvas which extends Canvas.

So, would it be possible to override parts of LCDUI to replace "broken" parts with SIWL stuff that works?  For example, if we reserve the lower 1/3 of the screen for a keypad / soft keys, and tell LCDUI apps that they only have a 2/3-size screen (I think sizeChanged is made for that).  Then our replacement code keeps track of addCommand() calls, and when the soft key is pressed, draws the menu on the lower left or right part of the reserved screen.

Alert could map to Popup, Form maps to BasicFrame, List maps to ListFrame, TextBox maps to ListFrame.

Is this possible?  It would have a limited lifetime, because it would be obsoleted by Sprint/Samsung's LCDUI fixes, so maybe even if it's possible it's not worth the effort.  It's just that I have seen plenty of open-source / GPL MIDP apps that could be converted fairly easily with this technique.
« Last Edit: September 11, 2008, 08:37:02 PM by KillerBeagle » Logged
KillerBeagle
Instinct Fanatic
******

Cookies: 234
Hometown: Wilmington
Posts: 1282



« Reply #1 on: September 12, 2008, 08:14:47 AM »

Never mind - given the LCDUI update is now 5-8 weeks away, I don't think this is worth the effort.
Logged
sjsamphex
Instinct Fanatic
******

Cookies: 19
Phone Before Samsung Instinct: Palm Centro
Hometown: Duluth, Ga
Posts: 1041


My instinct is a knife.

sjsamphex
Email
« Reply #2 on: September 12, 2008, 02:16:42 PM »

If the idea can work you should go for it as many people aren't wiling to wait 5-8 weeks.
Logged

Cookies are nutritional(at least to me!)
zacko
[I][N]
**

Cookies: 0
Hometown: woodstock
Posts: 11


Email
« Reply #3 on: September 12, 2008, 02:31:08 PM »

Never mind - given the LCDUI update is now 5-8 weeks away, I don't think this is worth the effort.

So what exactly is being updated?
Logged
duckdive117
[I][N][S][T][I][N][C][T]
********

Cookies: 0
Posts: 81


Email
« Reply #4 on: September 12, 2008, 03:34:59 PM »

so your saying something similar to the dark night game in witch the controles for the game are on the bottom of the screen(up,down,left,right,ok). but insted it would be a keyboard?
Logged
Pages: [1]
Reply Print
Jump to:  

Got a new phone? Find the forum here


Subject Started by Replies Views Last post
What exactly is LCDUI?
General Instinct Discussions
SquireSCA 1 472 Last post September 26, 2008, 09:01:03 PM
by stormygal_indy
Instinct Replacement Parts...
Instinct Market Place
LT1FirebirdSLP 4 2733 Last post December 28, 2008, 05:06:08 AM
by BenBarker
LCDUI fix
Third-Party Instinct Software
JF_Bouchard 9 1661 Last post January 12, 2009, 09:36:10 AM
by mbrulla
LCDUI
Bell
Sidak14 5 1969 Last post February 01, 2009, 11:45:28 PM
by sirsabre
A upside to no LCDUI?
Bell
instinctisamaze 3 785 Last post February 07, 2009, 09:04:45 AM
by MagicA




Galaxy S3 | Galaxy Note | Galaxy Nexus | Kindle Fire | Atrix 4G | Motorola Xoom | Windows Phone 7
Nokia Lumia | Top Hosts | Samsung Galaxy Tab | Samsung Galaxy S2 | Samsung Galaxy S | Samsung Wave
HTC Evo 3D | HTC Evo 4G | HTC Incredible | HTC Incredible 2 | HTC Incredible S | HTC Thunderbolt
Motorola Droid Razr
| HTC Desire | HTC Desire HD | HTC Desire Z | HTC Desire S | HTC Wildfire
Motorola Droid | Galaxy Indulge | Nokia N8 | Droid Charge | Droid X | Droid X2 | Droid 2| Droid 3 | Fascinate
HTC Sensation | HTC Flyer | LG Revolution | Asus Transformer | Xperia Play | iPhone 4 | Nexus S | Droid Bionic
HTC One | HTC Wildfire S | HTC Droid Eris


This is an Un-Official fan based Website. The views expressed on this website are solely those of the proprietor, or contributors to the site, and do not necessarily reflect the views or opinions of the parties it covers, and is not affiliated with, endorsed or sponsored by parties involved.
If you have a problem with any of the content posted on this website, please contact "sales@verticalscope.com"
Term of Use | Privacy Policy | BlackRain 2006 by, Crip





















CopyRight 2008 www.instinct-samsung.com
Powered by SMF 1.1.11 | SMF © 2006-2007, Simple Machines LLC