htcsense

EditText Alternatives in a Widget? There has to be a way

老子叫甜甜 提交于 2019-12-29 06:42:32
问题 Has anyone ever successfully implemented an EditText in a widget? I realize Android does not support this, however, "Friend Stream" on HTC devices does it... Is this due to an HTC feature? Could I implement this on HTC? Anyone have any crazy creative ideas for implementing a textbox which actually allows typing on a homescreen widget? ANY possible leads on this would be much appreciated! 回答1: Most of this can be google-ed, expept for the style of TextViews (you can not use EditText in widget.

EditText Alternatives in a Widget? There has to be a way

左心房为你撑大大i 提交于 2019-12-29 06:41:33
问题 Has anyone ever successfully implemented an EditText in a widget? I realize Android does not support this, however, "Friend Stream" on HTC devices does it... Is this due to an HTC feature? Could I implement this on HTC? Anyone have any crazy creative ideas for implementing a textbox which actually allows typing on a homescreen widget? ANY possible leads on this would be much appreciated! 回答1: Most of this can be google-ed, expept for the style of TextViews (you can not use EditText in widget.

Looking for a universal TabHost style that will work on Android, HTC Sense, Samsung, etc. skins

爱⌒轻易说出口 提交于 2019-12-03 19:59:45
问题 The default style for the Android TabHost works fine for straight Android systems. However, on HTC Sense, they use dark text on a dark background, which is unreadable. What's the easiest way to have a TabHost that has visible text across all the various flavors of android skins? I would prefer to not have to make a completely custom look-and-feel if possible. My targetSDK is 10 and my minSDK is 7. 回答1: I'll give you the advise to get completely independent from the TabWidget and create your

Changing screen brightness on a HTC Sense device

拟墨画扇 提交于 2019-12-01 06:08:17
The old approach Window window = getWindow(); LayoutParams layoutParams = window.getAttributes(); layoutParams.screenBrightness = newFloatValue; window.setAttributes(layoutParams); doesn't work on HTC Desire with Automatic brightness checked in Settings > Display > Brightness . Is there a HTC-specific workaround for that? Of course you don't see any changes since the settings are set to Automatic Brightness . That means, any manual changes are disregarded. Or am I missing something? I've just tested it on a HTC Desire HD (2.3.5) and the screen brightness DOES change for about a second, but

Changing screen brightness on a HTC Sense device

家住魔仙堡 提交于 2019-12-01 03:32:46
问题 The old approach Window window = getWindow(); LayoutParams layoutParams = window.getAttributes(); layoutParams.screenBrightness = newFloatValue; window.setAttributes(layoutParams); doesn't work on HTC Desire with Automatic brightness checked in Settings > Display > Brightness . Is there a HTC-specific workaround for that? 回答1: Of course you don't see any changes since the settings are set to Automatic Brightness . That means, any manual changes are disregarded. Or am I missing something? I've

Input-Elements in WebViews always have the same style if highlighted on HTC Devices

早过忘川 提交于 2019-11-28 19:32:00
I'm currently writing an app which uses an embedded WebView to display its content or to sometimes query data from the user using input forms. The input fields in these forms are styled using -webkit-css Styles. This works fine on all Devices (tested on Nexus One, LG Optimus 500, Samsung Galaxy S) so far, except on Devices with HTC Sense. On Devices with HTC Sense the styling gets lost if the input element gets selected. Using input:focus {} in the css doesn't help, the HTC Devices with Sense simply ignore. This image illustrates it, the "Nickname" is currently selected but should still be

Android: Highlighted tab of TabWidget not readable on HTC Sense

跟風遠走 提交于 2019-11-27 23:06:44
问题 In my Android app I use a TabWidget without any special customization. I'd like Android to take care of the specific appearance, which works fine if you compare Android 1.6 with 2.1 for example. By just using a TabWidget the same code leads to different forms of tabs because the SDK defines how to draw it. Here is how it looks on 2.1 for example: So, the highlighted tab is gray and the font is white and you can read it quite well. But, if you have HTC Sense, it looks like this: The picture

Input-Elements in WebViews always have the same style if highlighted on HTC Devices

╄→гoц情女王★ 提交于 2019-11-27 20:33:30
问题 I'm currently writing an app which uses an embedded WebView to display its content or to sometimes query data from the user using input forms. The input fields in these forms are styled using -webkit-css Styles. This works fine on all Devices (tested on Nexus One, LG Optimus 500, Samsung Galaxy S) so far, except on Devices with HTC Sense. On Devices with HTC Sense the styling gets lost if the input element gets selected. Using input:focus {} in the css doesn't help, the HTC Devices with Sense

Android: softkeyboard control on HTC desire

无人久伴 提交于 2019-11-26 17:16:08
问题 I wanted a numeric keypad that had a go or done button that closed and executed a calculation class. Thanks to a tip from commonware on where to start I got this working beautifully on the emulator. Then I came to load it on to my HTC desire for testing and it doesn't work at all. I'm sure it must be because of HTC sense having it's own ime but there must surely be a way to make this work on HTC phones? Anyone else managed to get around this issue? 回答1: I can replicate what I think you are