[android-developers] Re: How to process this kind of HTTP POST request/reponse

2010-01-14 Thread ponkin
Hello, I`m not sure, but what if just use SerializableEntity( http://developer.android.com/reference/org/apache/http/entity/SerializableEntity.html ) instead of StringEntity? Create a serializable wrapper class for your request parameters, implement private void writeObject(java.io.ObjectOutputS

[android-developers] Re: ListView inside of a TabWidget

2010-01-12 Thread ponkin
Hello, If I understood you well just try the following: inside you TabActivity.onCreate() call final TabHost mTabHost = getTabHost(); mTabHost.addTab(mTabHost.newTabSpec("tab_test2").setIndicator("Tab with ListView").setContent(ne Intent ("INTENT_THAT_FIRE_UP_YOULIST_ACTIVITY")); and don`t for

[android-developers] Re: Getting data back from service?

2010-01-12 Thread ponkin
Hello, This is from http://developer.android.com/reference/android/content/BroadcastReceiver.html "A BroadcastReceiver object is only valid for the duration of the call to onReceive(Context, Intent). Once your code returns from this function, the system considers the object to be finished and no

[android-developers] Re: EditText`s hint disappeared when "Input Type" is set.

2009-10-01 Thread ponkin
Ok I think I`ve found the cause of bug, at least, you can reproduce it on your SDK. Just set EditText`s "Input Type" attribute to, for example, "textPassword" and then set "Gravity" attribute to "center" or "center_horizontal" - these steps will make EditText`s hint disappear. If you switch "Gravi

[android-developers] Re: EditText`s hint disappeared when "Input Type" is set.

2009-09-27 Thread ponkin
The same issue appears on Vista. Does anybody know how to make EditText show hint when "Input type" is set? Do I need to do any additional work? I just want to label password field with hint. When I use deprecated "password" properties everything is ok. --~--~-~--~~~---

[android-developers] EditText`s hint disappeared when "Input Type" is set.

2009-09-27 Thread ponkin
Recently I`ve faced the following problem: I use EditText widget on my "Log in" screen. I use EditText`s "hint" property to label that field . But when I set "Input type" property, for example, to "typePassword" (for password fields), the actual "hint" is disappearing from EditText. In Eclipse`s U