Soft Keyboard in Landscape Configuration

by Mike » Fri, 06 Mar 2009 02:32:05 GMT


Sponsored Links
 I would like some information on a) if the Cupcake Soft Keyboard is
supported in Landscape and if so b) the manner in which the build
option (or other config method) should be set up to do an emulator
build for a device that has no physical keyboard?  I am presuming the
Cupcake emulator does not show the Soft keyboard in Landscape because
it has been configured to do this.

Regards,
Mike
--~--~---------~--~----~------------~-------~--~----~

-~----------~----~----~----~------~----~------~--~---



Soft Keyboard in Landscape Configuration

by Dianne Hackborn » Mon, 16 Mar 2009 19:07:28 GMT


 Look at InputMethodService.






-- 
Dianne Hackborn
Android framework engineer
hack...@android.com

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.

--~--~---------~--~----~------------~-------~--~----~

-~----------~----~----~----~------~----~------~--~---


Sponsored Links


Soft Keyboard in Landscape Configuration

by Dianne Hackborn » Tue, 17 Mar 2009 02:29:06 GMT


 There is a complete sample .apk, SoftKeyboard, which links only against the
SDK.







-- 
Dianne Hackborn
Android framework engineer
hack...@android.com

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.

--~--~---------~--~----~------------~-------~--~----~

-~----------~----~----~----~------~----~------~--~---



Soft Keyboard in Landscape Configuration

by Mike » Thu, 19 Mar 2009 00:34:28 GMT


 Still looking for information on my original question.  I have found
the following in PhoneWindowManager.java:

// Debugging: set this to have the system act like there is no hard
keyboard.
    static final boolean KEYBOARD_ALWAYS_HIDDEN = false;

Seting this achieves the result I want, which is a device with no hard
keyboard.  Again, I question if this is the proper way to really
achieve this when setting up a device target with softkeyboard only.
Is there not a .conf, .ini, etc file that feeds into the build system
describing the high level hardware capabilities?

- Mike



--~--~---------~--~----~------------~-------~--~----~

-~----------~----~----~----~------~----~------~--~---



Soft Keyboard in Landscape Configuration

by Dianne Hackborn » Thu, 19 Mar 2009 00:48:23 GMT


 There is currently no emulator that doesn't have a hard keyboard, so there
is no way to see the landscape keyboard in the emulator (without hacking the
system as you found).







-- 
Dianne Hackborn
Android framework engineer
hack...@android.com

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.

--~--~---------~--~----~------------~-------~--~----~

-~----------~----~----~----~------~----~------~--~---



Soft Keyboard in Landscape Configuration

by Mike » Thu, 19 Mar 2009 01:06:56 GMT


 Thank you for the response.  One last clarification.  So even if I
were building towards my new hardware device target -- not emulator --
my only option is to make this code change to achieve no hard keyboard
correct?

- Mike





--~--~---------~--~----~------------~-------~--~----~

-~----------~----~----~----~------~----~------~--~---



Soft Keyboard in Landscape Configuration

by Dianne Hackborn » Thu, 19 Mar 2009 01:25:05 GMT


 'm not sure if I understand...  if you are running on hardware that doesn't
have a keyboard, there shouldn't be a keyboard device found, so the system
will run in the appropriate state and the default IME will show itself all
the time since there is never a keyboard.

Likewise if you have a device that always has a keyboard, that the default
IME will never show its UI.

Also whether or not to show is ultimately up to the particular IME -- some
may very well want to show their UI even if there is a keyboard. And some
will show parts of their UI while you type on a hard keyboard to show
candidates and such as you type.

On Wed, Mar 18, 2009 at 6:06 PM, Mike <mdcart...@gmail.com> wrote:



--
Dianne Hackborn
Android framework engineer
hack...@android.com

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.

--~--~---------~--~----~------------~-------~--~----~

-~----------~----~----~----~------~----~------~--~---



Other Threads

1. Fwd: Android porting on IMX31 board

Hi mike,

 Now I have finally decided to use u  r kernel for the project it is latest
kernel which u have sent me.
 I went through the "make menuconfig" of kernel which u have sent me
surprisingly I found there was support
 for freescale i.mx31 borad in kernel itself!


 I have few questions to ask to u.

1. If freescale Imx31 board support is given in the release of Android
kernel linux2.6.25 , can I generate a kernel image which can directly work
with my board with any diff's and patches?  There is a option for
enable/disable for goldfish drivers in kernel , I can disable it by which I
dont think so any of the goldfish related things can come into picture ! is
there any thing other I have to disable???

2. I tried to compile u r kernel sources which u sent me, but it was giving
some compilation errors, I m using codesoucery gcc-none-eabi  toolchains,
but I am getting  unknow errors(at least to me!).

3. Can u send me u r .config (I believe this is the file which contains the
details of all wat we would have selected in make menuconfig), so that I can
place the same file which u have complied for, and again I do make
menuconfig by which I will get u r configration !, now I can only change the
platform from this make menuconfig and compile it for once to get image
related to my target.


correct me if I m wrong anyways.


Best Regards,
Rajesh N

--~--~---------~--~----~------------~-------~--~----~
unsubscribe: android-porting+unsubscr...@googlegroups.com
website: 

2. problem acquiring a WakeLock

This code:

            PowerManager pm = (PowerManager)
ftaContext.getSystemService(Context.POWER_SERVICE);
            PowerManager.WakeLock wl = pm.newWakeLock
(PowerManager.PARTIAL_WAKE_LOCK, "My Tag");
            wl.acquire();

with this permission:

    <uses-permission android:name="android.permission.WAKE_LOCK"></
uses-permission>

produces this exception:


01-19 18:50:13.961: ERROR/Mo_call_end2(18463):
android.os.Parcel.readException(Parcel.java:1234)
01-19 18:50:13.961: ERROR/Mo_call_end2(18463):
android.os.Parcel.readException(Parcel.java:1222)
01-19 18:50:13.961: ERROR/Mo_call_end2(18463):
android.os.IPowerManager$Stub$Proxy.acquireWakeLock(IPowerManager.java:
160)
01-19 18:50:13.961: ERROR/Mo_call_end2(18463):
android.os.PowerManager$WakeLock.acquire(PowerManager.java:228)
01-19 18:50:13.961: ERROR/Mo_call_end2(18463):
qcom.cta.fta.fta_voice.FTACommand$DefaultPhoneThread.run
(FTACommand.java:741)

Any insights appreciated.

Thanks much.

Paul
--~--~---------~--~----~------------~-------~--~----~

3. Port-Forwarding

4. sending Monkey commands in a test application

5. Not able to access Google Login Service in Cup cake version

6. modifying text formatting in PreferenceActivity

7. Google please give us 'su -' was:Am I root?