[android-developers] Re: Barcode Reader and Soft Input

2011-01-05 Thread Kai Sam
Update:

2.3 does not work as well.

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


[android-developers] Barcode Reader and Soft Input

2010-12-28 Thread Kai Sam
Hello together,

I use an Opticon OPN-2002 which I have configured as an HID device
(keyboard).
The SPP application crashes with a NullPointerException, hence it's
useless and I do not want to wait for an update.

Long story, short meaning:
The problem is, that I still need the soft keyboard for text input.

I already tried to force show it via


InputMethodManager imm = (InputMethodManager)
this.getSystemService(Context.INPUT_METHOD_SERVICE);
if(imm != null) {
imm.toggleSoftInput(InputMethodManager.SHOW_FORCED,
InputMethodManager.HIDE_IMPLICIT_ONLY);
}

The other approach was to use the iOS - Toggle Soft Keyboard-Option
of the device. However, this just works on an old version of Android;
the current version (2.2.1) behaves not the way I intented.

However, this still does not work if my scanner is attached via
Bluetooth.


Ideas/Suggestions are very welcome.

Thanks in advance.


Cheers,
Kai

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