You should move this over to android-platform since you are asking about
working on the platform code.  Thanks!

On Wed, Jan 14, 2009 at 7:57 PM, Ram <[email protected]> wrote:

>
> Thanks for the confirmation.
>
> 1) As we don't have the numeric keypad, can we just modify the code
> (as mentioned below) to enable Soft keypad for Landscape mode as
> well.
> 2) If the above could be done, can we change the nColumns parameter
> (in ButtonGridLayout.java) value from 3 to 4, as Landscape view can
> accomodate more columns & less rows.
> 3) We are also not seeing any notification of the incoming calls. When
> we enable the Soft keypad, would we get notification & accept/reject
> call buttons as well.
>
> Original code:
> if (view != null) {
>            if (DBG) log("portrait mode setup");
>            setupKeypad();
>        } else {
>            if (DBG) log("landscape mode setup");
>            // Adding hint text to the field to indicate that keyboard
>            // is needed while in landscape mode.
>            mDigits.setHint(R.string.dialerKeyboardHintText);
>        }
>
> Modified code:
> if (view != null) {
>            if (DBG) log("portrait mode setup");
>            setupKeypad();
>        } else {
>            if (DBG) log("landscape mode setup");
>            // Adding hint text to the field to indicate that keyboard
>            // is needed while in landscape mode.
>            setupKeypad(); // Call setupKeypad always.
>        }
>
>
> Thanks,
> Regards,
> - Ram
>
> On Jan 14, 1:39 am, "Dianne Hackborn" <[email protected]> wrote:
> > Yes the current implementation only displays the soft keypad in portrait
> > mode.
> >
> >
> >
> >
> >
> > On Mon, Jan 12, 2009 at 11:18 PM, Ram <[email protected]> wrote:
> >
> > > We have ported Android on our Custom board. When we open the 'Dialer'
> > > application, it doesn't have a soft keypad. The application window
> > > shows the Dialer, Call log, Contacts & Favourites tabs. The focus is
> > > on the Dialer tab displaying the following message: "Use keyboard to
> > > dial". As our keyboard doesn't have the numeric keypad, we cannot
> > > enter the numbers. I presume the dialer application has a softkepad
> > > for entering numbers.
> > > 1) How do I enable it?
> > > 2) Our display is always in Landscape mode. Could that be a reason for
> > > the soft keypad not to appear?
> >
> > > Thanks,
> > > Regards,
> > > - RK
> >
> > --
> > Dianne Hackborn
> > Android framework engineer
> > [email protected]
> >
> > Note: please don't send private questions to me, as I don't have time to
> > provide private support.  All such questions should be posted on public
> > forums, where I and others can see and answer them.- Hide quoted text -
> >
> > - Show quoted text -
> >
>


-- 
Dianne Hackborn
Android framework engineer
[email protected]

Note: please don't send private questions to me, as I don't have time to
provide private support.  All such questions should be posted on public
forums, where I and others can see and answer them.

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to