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

2009-10-12 Thread Huebi
ean implementing ListActivty, what it does is trivial. > > On Mon, Oct 12, 2009 at 10:04 AM, Huebi wrote: > > > > > > > > > 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 > >

[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 wrote: > Huebi wrote: > > I almost don't dare to write it but I want to implement iPhone

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

2009-10-12 Thread Huebi
usually containing tabs, with each child > activity a leaf, not a group). > > On Sun, Oct 11, 2009 at 1:07 PM, Huebi wrote: > > > > > > > > > Hi, > > > I have a tab bar and within one tab want to implement an activity flow > > (without leaving the

[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 mai

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

2009-04-24 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 00:

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

2009-04-24 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 wrote: > Yes it works : > as first child. > > THX !!! > > On 25 avr, 04:22, clark wrote: >

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

2009-04-24 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 00:0

[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 e

[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
in the constructor. > > On Jan 18, 12:08 pm, Huebi 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.ArrayIndexOutOfBoundsExc

[android-developers] Problem with ItemizedOverlay

2009-01-18 Thread Huebi
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 are

[android-developers] Dialog not reopened after orientation change in Tab Activity

2009-01-15 Thread Huebi
dialog is not displayed again after an orientation change. Any explanation or is this a bug? Thanks Huebi --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, sen

[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 > IOE

[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 M

[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

[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. So

[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 boun

[android-developers] Detecting activity create difference (through tab pressing or restart)

2008-11-12 Thread Huebi
I need to know if my activity has been startd by pressing the tab (so through a tab change) or just through a restart of my application. The OnTabChangedListener for TabHost seems to get called after my tab content activity has been started. Is there a way to get information about the tab change b

[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 sev

[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 but

[android-developers] Map synch problem

2008-09-08 Thread Huebi
In the old SDK I already had the issue that if I call a subactivity displaying a map and the parent activity also displaying a map, after returning from the sub activity the map in the parent is not updated correctly (tiles are not loaded). This bug seems to be still existent. Any info on that? Wi

[android-developers] Re: Alert Dialog never displayed in when call in the run() method of a separate process.

2008-09-08 Thread Huebi
Hi, you can only display UI stuff from the main thread. You can use the Handler classes post() method to put the Dialog display in the event queue. Just have a look at the API docs. On 8 Sep., 18:16, CG <[EMAIL PROTECTED]> wrote: > Hello, > > I am facing a strange issue. I suppose it is due to

[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-18 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