[android-developers] Re: Nesting an ActivityGroup as atTab content

2009-10-12 Thread Huebi
containing tabs, with each child activity a leaf, not a group). On Sun, Oct 11, 2009 at 1:07 PM, Huebi konrad.hueb...@googlemail.comwrote: Hi, I have a tab bar and within one tab want to implement an activity flow (without leaving the tab screen). I tried to get this up

[android-developers] Re: Nesting an ActivityGroup as atTab content

2009-10-12 Thread Huebi
True but one is a Map and the other a list and I don't want to implement all the control code again. Simpler cases can be done through views for sure On 12 Okt., 18:43, Mark Murphy mmur...@commonsware.com wrote: Huebi wrote: I almost don't dare to write it but I want to implement iPhone like

[android-developers] Re: Nesting an ActivityGroup as atTab content

2009-10-12 Thread Huebi
: If you mean implementing ListActivty, what it does is trivial. On Mon, Oct 12, 2009 at 10:04 AM, Huebi konrad.hueb...@googlemail.comwrote: True but one is a Map and the other a list and I don't want to implement all the control code again. Simpler cases can be done through views for sure

[android-developers] Nesting an ActivityGroup as atTab content

2009-10-11 Thread Huebi
Hi, I have a tab bar and within one tab want to implement an activity flow (without leaving the tab screen). I tried to get this up with an ActivityGroup and it partly works, but certain commands like the onCreateOptionsMenu must be dispatched to the ActivityGroup child activity manually. The

[android-developers] Re: Think twice before turning on the Copy Protection option! -- there's a serious bug in Market

2009-04-25 Thread Huebi
I just hit the same issue and cannot disable copy protection any more. And the description in the Market is not exactly long enough to provide all the required information... :( In my case, the _new_ SQLite Database fails. There has never been one before in our app and still it breaks: 04-25

[android-developers] Re: Can't upload my app in the market ! Market requires the minSdkVersion to be set in AndroidManifest.xml.

2009-04-25 Thread Huebi
which is nice because even the new (I know, it is a pre-release, but stull) Eclipse plugin does not put this as the first line... Thanks for those who fought until it worked :) On 25 Apr., 07:30, 6real xirgon...@gmail.com wrote: Yes it works : uses-sdk android:minSdkVersion=2 / as first

[android-developers] Re: Think twice before turning on the Copy Protection option! -- there's a serious bug in Market

2009-04-25 Thread Huebi
I just hit the same issue and cannot disable copy protection any more. And the description in the Market is not exactly long enough to provide all the required information... :( In my case, the _new_ SQLite Database fails. There has never been one before in our app and still it breaks: 04-25

[android-developers] AutoCompleteTextView and Theme.Light

2009-04-23 Thread Huebi
Hi, if I use an AutoCompleteTextView and the Theme.Light, I cannot see the text in the dropdown-box as the font is changed to white and the background of the dropdown is white as well. Any help on how to change the font color of the dropdown list?

[android-developers] Uninstall / Signature problem on G1 device

2009-04-19 Thread Huebi
Hi, I installed a development version of an app on my G1 with 1.1 firmware build TMI-RC9 128600 running through adb. I then tried to uninstall it with adb and install a newer version for which I used a different signature. This has always worked but now even after uninstalling I get a signature

[android-developers] Geocoder not returning results in 1.5 preview

2009-04-16 Thread Huebi
I do not get any results from the Geocoder in the 1.5 preview release. Any information on this? In the maps application it works but my calls simply return an empty list (no exception, all permissions I know of (in this case only Internet) are set. Thanks.

[android-developers] Re: Problem with ItemizedOverlay

2009-01-20 Thread Huebi
it for example in the constructor. On Jan 18, 12:08 pm, Huebi konrad.hueb...@googlemail.com wrote: Hi, I use the ItemizedOverlay to display POIs. From time to time I get the following exception: 01-18 01:53:39.102: ERROR/AndroidRuntime(2348): java.lang.ArrayIndexOutOfBoundsException 01-18

[android-developers] Problem with ItemizedOverlay

2009-01-18 Thread Huebi
it to the overlays List of the MapView within a synchronized block. In addition, the getOverlays() method is supposed to return a synchronized List. But somehow this still is messed up. Any ideas? Cheers Huebi --~--~-~--~~~---~--~~ You received this message because you

[android-developers] Re: unknown socket error -1

2008-12-01 Thread Huebi
You need to add the INTERNET permission to your app in the Manifest. That should solve the issue On 1 Dez., 15:27, sal [EMAIL PROTECTED] wrote: 1. Can anyone point me to simple TCP client/server program on android ?? 2. Whenever i try to create socket with port and IPaddress i get

[android-developers] strange Geocoder response locale

2008-11-28 Thread Huebi
I just had a funny change in behaviour from the Geocoder. So far, I have used the Geocoder without providing a Locale. I expect it to use the default system locale, which seemed to be English so far on the G1. Now, all of a sudden, the results I get when performing a reverse geocoding request in

[android-developers] Querys involving more than one table of Contatcs Content Provider

2008-11-24 Thread Huebi
I'd like to get a Cursor for all contacts in the My Contacts group. I could not figure out how to do this with the ContentProvider. As far as I understood the table structure, I need to use the GroupMembership table, the Groups table (to get the ID of the My Contacts group and the People table to

[android-developers] Why do many data classes not implement Serializable

2008-11-23 Thread Huebi
I was wondering why data classes like Address or GeoPoint do not implement Serializable but only Parcelable. I'd like to store these into a file which does not seem to be possible. I can use Preferences instead, making it a data container, which is surely not what it is intended to be used for.

[android-developers] how to use TouchDelegate

2008-11-17 Thread Huebi
I have tried to use the TouchDelegate class but couldn't figure out how to really do it. It is terribly documented. Has anyone succeeded with it? I want to extend the touchable region of a small button. If you do it programatically you need bounds but in onCreate and onResume the position and

[android-developers] Re: MapView and SDK 1.0

2008-10-25 Thread Huebi
You need a valid Map API key by now. Read here: http://android-developers.blogspot.com/2008/10/new-android-maps-api-terms-of-service.html on how to get it. On Oct 25, 9:39 am, Nanard [EMAIL PROTECTED] wrote: Hi, I am learning how to use Google Map in an application. I have founded several

[android-developers] Re: If you have G1, can you check this for me?

2008-10-19 Thread Huebi
The iPhone doesn't ask as always-on internet access is one of the key features. This is the same for Android so I would not expect any kind of popup. You probably can allow it to roam or not but that's it. The emulator control allows you to play with all these settings (data connection available

[android-developers] screen orientation values in Display class

2008-09-20 Thread Huebi
There are several classes where int values for screen orientations are available (Configuration, ActivityInfo). Unfortunately, none matches the values returned from the Display.getOrientation() method and there is no documentation on the returned values. I can take the ints and compare to them

[android-developers] getFromLocation not returning street names

2008-09-07 Thread Huebi
I am just wondering why the Geocoder does not return street names if I do reverse geocoding. Will that be added somewhen? Will it be available in the final version used on the phones? --~--~-~--~~~---~--~~ You received this message because you are subscribed to the

[android-developers] Re: How do I get the user's phone number?

2008-08-19 Thread Huebi
You need the permission READ_PHONE_STATE, then use TelephonyManager.getDefault() to get hold of the TelephonyManager. On the returned instance call mgr.getLine1Number() and there it is :) Cheers -Huebi On 19 Aug., 07:30, j [EMAIL PROTECTED] wrote: How do I get the user's phone number in 0.9