[android-developers] Problems with ListView using buttons on each row

2008-11-30 Thread Stefan
you can click on both the row and the rating bar independently and they all work correctly as expected. Does anyone know why would the Button behave differently than the RatingBar and what is the correct way to make both the button and row be independently clickable. Stefan

[android-developers] saving and restoring scrollbar position

2009-03-13 Thread Stefan
Hi, I have an ExpandableListView with lots of elements in it. I need to remember how much the list is scrolled, save it and later on restore the list scrolled at the same position. Because of that I have two problems: First: how to get the scrolled coordinates? I tried with getScrollX() and

[android-developers] What is the proper handling of action.MEDIA_BUTTON?

2009-04-03 Thread Stefan
Does anyone know what is the proper way of subscribing for the action.MEDIA_BUTTON - (this is sent by the button on the headset and currently controls the play/pause of the built in player). The built in music application, registers a broadcast receiver for that action in the AndroidMainfest

[android-developers] SlidingDrawer not working with RC33

2009-02-07 Thread Stefan
android:background=@color/grid_dark_background/ /com.android.internal.widget.SlidingDrawer The XML above has both the content and the handle attribute and worked fine in RC30? Does anyone know what has changed and how to fix it? Stefan --~--~-~--~~~---~--~~ You

[android-developers] Re: SlidingDrawer not working with RC33

2009-02-07 Thread Stefan
this issue inhttp://b.android.com/? (a plain copy-paste will do). Thanks, JBQ On Sat, Feb 7, 2009 at 6:54 AM, Stefan skyntc...@gmail.com wrote: It appears that  android.internal.widget.SlidingDrawer widget had changed between RC30 and RC33. On RC33 it fails to inflate the layout XML

[android-developers] Re: SlidingDrawer not working with RC33

2009-02-07 Thread Stefan
what has changed and what bugs have been fixed. Stefan On Feb 7, 6:21 pm, Jean-Baptiste Queru j...@android.com wrote: Even worse, it hurts the entire ecosystem, by making users believe that plaftorm upgrades have bugs when in fact the applications are broken to start with. JBQ On Sat, Feb

[android-developers] Re: SlidingDrawer not working with RC33

2009-02-08 Thread Stefan
at 4:10 PM, Stefan skyntc...@gmail.com wrote: Yes, I do agree that relying on private APIs is dangerous and should be avoided for all the reasons you mention. (The only reason I posted my findings is to save somebody the debugging time as it was not obvious what was the reason at first

[android-developers] Re: SlidingDrawer not working with RC33

2009-02-08 Thread Stefan
are broken to start with. JBQ On Sat, Feb 7, 2009 at 3:18 PM, Romain Guy romain...@google.com wrote: That means your app will break in cupcake though. Please, please don't use private APIs, it only hurts the users :( On Feb 7, 2009 1:43 PM, Stefan skyntc...@gmail.com wrote

[android-developers] Re: SlidingDrawer not working with RC33

2009-02-09 Thread Stefan
Dianne, To finish that dreaded SlidingDrawer topic - yes the use of the SlidingDrawer was in the Layout xml file only so I guess its was a loophole that I end up using without realizing. Thanks for your comments on the rest of the issues. I think we all agree that changes in the APIs happen

[android-developers] How to get the current battery level of the device using an API call

2009-02-18 Thread Stefan
Is there a way to get the current battery status of the device (battery level and if the battery is currently charging). The only way I found so far is by using a Broadcast receiver to listen for battery status changes. Is there a way to get the battery status using a direct API call? I my

[android-developers] problems with the usage of sdcard iso in android sdk 1.6

2009-09-16 Thread Stefan
with the mksdcard tool from sdk 1.6r1 tools folder, but nothing changed. Thanks for help, Stefan PS: I have of course changed the emulator line to: -sdcard /Users/Stefan/android-sdk-mac_x86-1.6_r1/tools/newone.iso --~--~-~--~~~---~--~~ You received this message because

[android-developers] Re: problems with the usage of sdcard iso in android sdk 1.6

2009-09-16 Thread Stefan
Thanks for the fast answer. How can I request the permission? With a uses-permission ... tag?? I dont find something like/for that?? Thanks, Stefan On Sep 16, 8:38 pm, Dianne Hackborn hack...@android.com wrote: You now need to request the permission to write the SD card. On Wed, Sep 16

[android-developers] Re: problems with the usage of sdcard iso in android sdk 1.6

2009-09-16 Thread Stefan
in this email are those of the author solely in their individual capacity, and do not necessarily represent those of T-Mobile USA, Inc. On Sep 16, 12:05 pm, Stefan ebay-dah...@web.de wrote: Thanks for the fast answer. How can I request the permission? With a uses-permission ... tag?? I dont find

[android-developers] taking picture / use camera in android sdk 1.6

2009-09-19 Thread Stefan
Hello, i tried an old(er) example / tutorial to capture a picture from the camera. But android.hardware.CameraDevice; cannot be resolved. Has the name changed or have somebody a good tutorial for android 1.6 and the camera?? Thanks, Stefan PS: If I press a button, I want to open the Camera

[android-developers] Re: taking picture / use camera in android sdk 1.6

2009-09-19 Thread Stefan
thanks a lot, the example work fine!! Greets, Stefan On Sep 19, 11:31 am, Mark Murphy mmur...@commonsware.com wrote: Stefan wrote: Hello, i tried an old(er) example / tutorial to capture a picture from the camera. But android.hardware.CameraDevice; cannot be resolved. Has the name

[android-developers] Route between two GeoPoints/ lat-lon pairs

2009-09-21 Thread Stefan
a straight line between the points)? On straight routes that would be no problem, but in curves/turns? What I want is, that i only get the GPS-points. Then some functions should reconstruct the route with all curves/turns. Thanks, Stefan --~--~-~--~~~---~--~~ You

[android-developers] how can i use my kml file in a html file

2009-09-21 Thread Stefan
is to use: HttpGet get = new HttpGet(A_HTML_FILE_WITH_HTMLGOOGLEAPI.html); client.execute(get); In this html file i load the javascript. Must i append ? param=THE_KML_FILE_IN_A_BUFFERED_READER_OBJECT_OR_SOMETHING_LIKE_THAT to get the data available? Thanks, Stefan PS: I don't find a GGeoXml

[android-developers] ddms doesn't work (issue 2545)

2009-09-25 Thread Stefan
/trk /gpx Thanks, Stefan --~--~-~--~~~---~--~~ 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

[android-developers] Re: ddms doesn't work (issue 2545)

2009-09-30 Thread Stefan
Hello, On Sep 30, 5:07 pm, piuccio piuc...@gmail.com wrote: Have you tried sending the coordinates through the terminal ? telnet localhost 5554  geo fix 50.8780618 6.6014193 Does this work ? yes that work, i know. but i want to get new gps data very fast (1 gps point per second) and my

[android-developers] java.lang.OutOfMemoryError after orientation changed

2009-10-01 Thread Stefan
(R.id.map); ... } Must i use mapView = new MapView(Context.getApplicationContext()) or something like that to avoid the OutOfMemoryError?? I will post the logcat in a reply message. Thanks, Stefan --~--~-~--~~~---~--~~ You received this message because you are subscribed

[android-developers] Re: java.lang.OutOfMemoryError after orientation changed

2009-10-01 Thread Stefan
Here my logcat: E/dalvikvm-heap( 961): Out of memory on a 167772196-byte allocation. I/dalvikvm( 961): main prio=5 tid=3 RUNNABLE I/dalvikvm( 961): | group=main sCount=0 dsCount=0 s=N obj=0x4001ab08 self=0xbc60 I/dalvikvm( 961): | sysTid=961 nice=0 sched=0/0 handle=-1343996920

[android-developers] Re: java.lang.OutOfMemoryError after orientation changed

2009-10-01 Thread Stefan
i can start an intent, where i can take pictures. So I don't know, why i allocate 160 MB?! Thanks, Stefan --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email

[android-developers] Re: java.lang.OutOfMemoryError after orientation changed

2009-10-01 Thread Stefan
, the MapView will be rendered, but is not visible for the user, because the display size in landscape is to small??? Is the only way to write a new layout xml file for landscape mode? Thanks, Stefan --~--~-~--~~~---~--~~ You received this message because you are subscribed

[android-developers] saveInstanceState problem

2009-10-07 Thread Stefan
get one return value?!? And if I use the onConfigurationChanged-function and android:configChanges=keyboardHidden|orientation in my AndroidManifest.xml, the app will recreate after other configuration changes, too So what is the best way for me?? Thanks, Stefan

[android-developers] Re: saveInstanceState problem

2009-10-08 Thread Stefan
. Thanks, Stefan --~--~-~--~~~---~--~~ 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

[android-developers] Re: saveInstanceState problem

2009-10-08 Thread Stefan
and so on?? Thanks, Stefan --~--~-~--~~~---~--~~ 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

[android-developers] GPS-Tracking application and telephone call

2009-10-08 Thread Stefan
, is that right? So must I implement a service to save all gps points, while i am calling?? Thanks, Stefan --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email

[android-developers] onConfigurationChanged-function

2009-10-08 Thread Stefan
and so on?? I don't think so!? Thanks, Stefan --~--~-~--~~~---~--~~ 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

[android-developers] Re: onConfigurationChanged-function

2009-10-08 Thread Stefan
...) So how can i save all(!!!) important variables?? With the onRetainNonConfigurationInstance(), i can only save one complex data??? And in a bundle, i can't save a Location variable and my class instance?! Thanks, Stefan --~--~-~--~~~---~--~~ You received this message

[android-developers] Re: onConfigurationChanged-function

2009-10-08 Thread Stefan
); ??? If my question is to complex to understand, you must not answer me. Thanks, Stefan --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android

[android-developers] Re: onConfigurationChanged-function

2009-10-08 Thread Stefan
)savedInstanceState.getParcelable(sh); ??? Thanks, Stefan --~--~-~--~~~---~--~~ 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

[android-developers] Re: onConfigurationChanged-function

2009-10-08 Thread Stefan
, Stefan --~--~-~--~~~---~--~~ 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

[android-developers] Re: saveInstanceState problem

2009-10-08 Thread Stefan
the configuration change cases, haven't I? One open question is what happened, if someone calls me on my phone. Does my app stop to get gps points (in my app i implement a locationListener)?? I do think so, because the app will be in the background and the phone app will be on the foreground?? Thanks, Stefan

[android-developers] this.getApplication() returns NULL pointer

2009-10-09 Thread Stefan
I'm running the following line in an Activity, which is within the same application, but in a different package: AppObject appObj = (AppObject)this.getApplication(); // FYI: AppObject is my extension class of Application. It returns only a null pointer, while when I move it to the main package

[android-developers] can I get XML information step by step using SaxParser??

2009-10-14 Thread Stefan
to read the trackpoints step by step (for example the first 20 trackpoints will be returned and then the next 20 points and so on)? Thanks, Stefan PS: I want/have an own class for the Handler --~--~-~--~~~---~--~~ You received this message because you are subscribed

[android-developers] Re: can I get XML information step by step using SaxParser??

2009-10-14 Thread Stefan
for your answer, Stefan --~--~-~--~~~---~--~~ 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

[android-developers] Re: this.getApplication() returns NULL pointer

2009-10-15 Thread Stefan
Hackborn hack...@android.com wrote: Are you calling it in the constructor?  The activity is not yet fully initialized at that point. On Fri, Oct 9, 2009 at 2:28 AM, Stefan stefan.klu...@gmail.com wrote: I'm running the following line in an Activity, which is within the same application

[android-developers] xmlpullparser does not work

2009-10-15 Thread Stefan
msecs W/AudioFlinger( 554): write blocked for 50 msecs W/AudioFlinger( 554): write blocked for 52 msecs W/AudioFlinger( 554): write blocked for 52 msecs W/AudioFlinger( 554): write blocked for 50 msecs W/AudioFlinger( 554): write blocked for 55 msecs Thanks for help, Stefan

[android-developers] Re: xmlpullparser does not work

2009-10-15 Thread Stefan
I have forgot the gpx/xml-file: ?xml version=1.0 encoding=utf-8? gpxxmlns:xsi=http://www.w3.org/2001/XMLSchema-instance; xmlns=http://www.topografix.com/GPX/1/1; version=1.1 creator=Stefan Dahmen xsi:schemaLocation=http://www.topografix.com/GPX/1/1 http://www.topografix.com/GPX/1/1/gpx.xsd

[android-developers] Unable to receive AVRC Bbuetooth buttons presses on HTC Hero devices

2009-10-15 Thread Stefan
)) { //handle buttons } } Stefan --~--~-~--~~~---~--~~ 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

[android-developers] Re: xmlpullparser does not work

2009-10-15 Thread Stefan
and I hope, I will find a good way now with this, Stefan --~--~-~--~~~---~--~~ 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

[android-developers] Re: can I get XML information step by step using SaxParser??

2009-10-15 Thread Stefan
to overwrite the trackpoint object, if i have send it back to my Main-class (my sax Parser is in another java file) Thanks, Stefan --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Developers group. To post

[android-developers] E/AndroidRuntime( 321): java.lang.VerifyError: de.stefandahmen.android.TourList

2009-10-20 Thread Stefan
{43359428 {de.stefandahmen.android/de.stefandahmen.android.TourList}} Thanks for help, Stefan --~--~-~--~~~---~--~~ 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

[android-developers] Re: E/AndroidRuntime( 321): java.lang.VerifyError: de.stefandahmen.android.TourList

2009-10-20 Thread Stefan
Hi, my TourList.java is very small: //imports and package public class TourList extends ListActivity { File dir = Environment.getExternalStorageDirectory(); String[] fileList = dir.list(new FilenameFilter() { public boolean accept(File d, String name) { return

[android-developers] Re: E/AndroidRuntime( 321): java.lang.VerifyError: de.stefandahmen.android.TourList

2009-10-20 Thread Stefan
i have found the error... The NavTrack class includes the new TTS engine, which isnt included in the sdk 1.5 So the NavTrack class could not be compiled and in the onListItemClick function, the Intent couldnt find NavTrack.class Regards, Stefan

[android-developers] ProximityAlert problem

2009-10-20 Thread Stefan
the removeProximityAlert do the right job (delete the proximity alerts for the checked gps point)??? Thanks, Stefan --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email

[android-developers] battery life with proximity Alert

2009-10-21 Thread Stefan
walk to the next POI. Thanks, Stefan --~--~-~--~~~---~--~~ 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

[android-developers] BaseAdapter getView() gets called 3x per item

2009-10-22 Thread Stefan
was investigating, however, I'm wondering why getView() is not only called once per item? Thanks -Stefan --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android

[android-developers] ExpandableListActivity issue

2009-10-22 Thread Stefan
); return managedQuery(phoneNumbersUri, null, null, null, null); } } } -- Thank you for your help Stefan

[android-developers] differential GPS in android

2009-10-27 Thread Stefan
and save them into a gpx file. i let the gpx file draw on http://www.gpsvisualizer.com and i saw, that the accuracy is really only 15-25m. Btw, how can i interpolate the gps points in a map view. The track looks wavy, but i want a nearly straight line. Thanks, Stefan

[android-developers] how to call an Activity method from another java file

2009-10-30 Thread Stefan
, Stefan --~--~-~--~~~---~--~~ 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

[android-developers] Re: how to call an Activity method from another java file

2009-10-30 Thread Stefan
XMLHandler (Activity act) { this.main = act; } I now want to call the specific function, but i can't say: act.callMethodOfMainActivity (aValue); I also try to pass the Context, but first i dont think, that this is the activity and secondly, the same error occur. Thanks, Stefan PS: Is it also possilbe

[android-developers] Re: how to call an Activity method from another java file

2009-10-30 Thread Stefan
Thanks a lot. That was the error :) Now it works. Regards, Stefan On Oct 30, 1:48 pm, Mark Murphy mmur...@commonsware.com wrote: Stefan wrote: thanks for your answer. i try option 1 today, but i couldnt call the funtion in my MainActivity class: My steps: in MainActivity

[android-developers] Re: how to update a ListView in a Tab

2009-11-05 Thread Stefan
, but the loading time of the activity seems to be long; before i see my tabs) Thanks, Stefan On Nov 5, 1:35 pm, Mark Murphy mmur...@commonsware.com wrote: Stefan wrote: Hi Mark, hi @all, i saw Mark M. example (http://www.androidguys.com/2008/07/28/fancy- listviews-part-five/ ) and test

[android-developers] Re: Need an invitation to google Wave?

2009-11-05 Thread Stefan
Hi, it will be great, if someone can send me an invitation, too. Thanks, Stefan -- 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

[android-developers] How to read resource based on the current theme

2009-11-22 Thread Stefan
that. Stefan -- 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

[android-developers] Re: How to read resource based on the current theme

2009-11-22 Thread Stefan
TypedArray atts = context.obtainStyledAttributes(new int[] { R.attr.PrimaryColor, R.attr.PrimaryReadColor}); _primaryColor = atts.getColorStateList(0); _primaryReadColor = atts.getColorStateList(1); Stefan On Nov 22, 2:48 pm, Dianne Hackborn hack...@android.com wrote: Resources does not let you

[android-developers] Re: How to read resource based on the current theme

2009-11-23 Thread Stefan
(R.styleable.PrimaryItemColors_PrimaryColor); _PrimaryReadColor = atts.getColorStateList (R.styleable.PrimaryItemColors_PrimaryReadColor); atts.recycle(); Thank you again for your help. Stefan On Nov 22, 8:39 pm, Dianne Hackborn hack...@android.com wrote: Note: you really really should not be creating these arrays

[android-developers] SQLlite database

2009-11-28 Thread Stefan
I was just trying to make a SQL lite database in Android, I will show you my first try... SQLiteDatabase database = SQLiteDatabase.create(null); database.execSQL(CREATE TABLE gps(longtitude Char(50),latitude Char (50))); database.execSQL(INSERT INTO gps(54.555, 54.544));

[android-developers] java.lang.IllegalArgumentException while parsing xml file

2010-01-28 Thread Stefan
: public double [] getTrkptLat(int pos) { ... line 40: sublist = this.trkpt.subList(pos, getTrkptSize()-1); //i search for the next 50 trackpoints in the gpx file ... } XMLHandler 110: this.tp.setTrkpt(newAddress); //address with lat and lon Thanks in advance, Stefan PS: i test it with one file

[android-developers] removing item from ListView

2010-02-03 Thread Stefan
delete = (((MyAdapter)lv.getAdapter()).getItem(0)); my_adapter.remove(delete); lv.setAdapter(my_adapter); But it only remove the description, but not the whole row!? Thanks in advance, Stefan -- You received this message because you are subscribed to the Google Groups Android Developers group

[android-developers] Re: removing item from ListView

2010-02-03 Thread Stefan
, that it is so difficult to delete one row... Thanks, Stefan -- 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

[android-developers] Re: removing item from ListView

2010-02-04 Thread Stefan
; } Thanks for your help again, Stefan -- 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

[android-developers] Strange NullPointerException in WebView.onTouchEvent in Android 2.1 Update 1

2010-02-10 Thread Stefan
that matches the released 2.1 Update 1? Stefan -- 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

[android-developers] MapView draw Overlays

2010-02-14 Thread Stefan
through every list item and check, wheter its visible or not?? Thanks, Stefan -- 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

[android-developers] Re: MapView draw Overlays

2010-02-15 Thread Stefan
, if gps point is visible) into the bitmap and the perfomance is still fast?? Thanks again, Stefan -- 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

[android-developers] Toast or AlertDialog problem

2009-07-31 Thread Stefan
the AlertDialog, because this one will wait for some user inputs!? But can I include Buttons in a Toast?? Thanks for help, Stefan --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group

[android-developers] Re: Toast or AlertDialog problem

2009-08-01 Thread Stefan
something like that, but it didn't work. I will continue testing now ;) Thanks for help. Stefan PS: whats the meaning of EDT?? Event dispatching thread?? --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Developers

[android-developers] Re: Toast or AlertDialog problem

2009-08-03 Thread Stefan
Thanks for your answers. Now I work with threads. But I dont use the AlertDialog - i make some buttons visible and invisible. Thats good enough for the first time. If someone has a better idea, please let me know. greets, Stefan --~--~-~--~~~---~--~~ You

[android-developers] Thread problem

2009-08-04 Thread Stefan
seconds.. It seems, thats my app sleep for 3 seconds and after that, the buttons are show for ~1ms. Thanks for tips. Greets, Stefan --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Developers group. To post

[android-developers] Mock up developing / creation tool for android

2009-08-07 Thread Stefan
for android and so the look of the elements isn't equal to the android widgets (button, menu/list item etc.). If someone knows a tool, please let me know. Regards, Stefan --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android

[android-developers] Re: How can i fetch builtin contacts in mobile...?

2009-08-07 Thread Stefan
to Chapter5_Sample_ContactPicker.zip an unzip this again. I hope I could help you. Regards, Stefan On Aug 7, 11:17 am, android.vinny vinny.s...@gmail.com wrote: Hi I need to fetch all the built in contacts we added in contacts app How is it possible to fetch the contacts Can any body

[android-developers] Re: Mock up developing / creation tool for android

2009-08-07 Thread Stefan
This is the best tool that I have used until now. I have test it a little bit, but the MapView is missing for example?!? But nevertheless a useful tool. Thanks, Stefan --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups

[android-developers] get current location after pressing button

2009-08-28 Thread Stefan
the requestLocationUpdates - function back to xxx seconds and yyy meters?? I hope you can understand my problem and have some tipps for me. Thanks and regards, Stefan --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups

[android-developers] Efficiency of requestLocationUpdates() and how to save these gps data

2009-09-02 Thread Stefan
save a specific point during the minTime and minDist (for example if there is a landmark)? Thanks, Stefan --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email

[android-developers] NullPointerException in getFromLocation function

2009-09-08 Thread Stefan
to fix it?? Thanks, Stefan --~--~-~--~~~---~--~~ 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

[android-developers] Re: NullPointerException in getFromLocation function

2009-09-08 Thread Stefan
Sorry, i have found my stupid error. I don't initialize my Geocoder object. Regards, Stefan --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android

[android-developers] show information after click on overlay

2009-12-30 Thread Stefan
, Stefan -- 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

[android-developers] Re: MapView Overlays Containing Widgets/View

2009-12-30 Thread Stefan
the new window (with a button for example??) or make something invisible/gone?! } How can I show this information in this seperate overlay class?? Thanks, Stefan PS: this was my question in my thread http://groups.google.com/group/android-developers/browse_thread/thread/b1f285209001b782

[android-developers] SeekBar with Text?

2010-01-02 Thread Stefan
hello, is there a xml attribute to define text below the seekbar for the values? or must i set TextViews below the seekbar? Or is there a other similar widget for that problem?? I want to change km/h values with the seekbar. and the user wants to see, which value they set. Thanks, Stefan

[android-developers] how can i save my overlays?

2010-01-04 Thread Stefan
, Stefan -- 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

[android-developers] MapView Overlay problem

2010-01-05 Thread Stefan
hello, i have an activity with a MapView ad overlays. If i start a new activity and go back to my Activity with the map, i only see the map without my overlays. How can i save my overlays?? The mapView.onSaveInstanceState() does not save the overlays, does it? Or have i implement something wrong

[android-developers] Re: MapView Overlay problem

2010-01-05 Thread Stefan
. Ne0 Thanks for your fast answer. Because this is the best idea until know, i will test your solution and if i find a better way, i will let you know. Thanks again, Stefan -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group

[android-developers] Re: MapView Overlay problem

2010-01-05 Thread Stefan
On Jan 5, 6:48 pm, TreKing treking...@gmail.com wrote: Couldn't figure a way to save my overlay class to bundle Have your Overlay class implement the Parceable interface, which you can then save to / restore from a Bundle. hmmm, in my case i have always a new overlay for each line on my

[android-developers] Re: MapView Overlay problem

2010-01-05 Thread Stefan
. If i want to describe a specific point, i start a new activity (via menue). and if i come back to this activity, i cant see the overlays any more. So how can I save my overlays?? Thanks, Stefan PS: I hope this help you... -- You received this message because you are subscribed to the Google Groups

[android-developers] Re: MapView Overlay problem

2010-01-05 Thread Stefan
solution and i will optimize it soon :) I hope that makes sense and helps some. Thanks for your detailed answer. Stefan -- 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

[android-developers] Re: MapView Overlay problem

2010-01-06 Thread Stefan
On Jan 6, 4:57 am, Peter SSK sasikumar.it1...@gmail.com wrote: see this link http://www.androidpeople.com/category/google-map/ is that the right link? There i only see, how to display a Map. Thats not the problem. But perhaps i dont find the right part?! -- You received this message because

[android-developers] Re: HTC Incredible no default external storage?

2010-04-29 Thread Stefan
guess this is the price to pay for having an open platform where each vendor is free to define their own standards. Stefan On Apr 27, 7:19 pm, Streets Of Boston flyingdutc...@gmail.com wrote: Thank you Mark. I just updated my app's description that it requires an SD-card. On Apr 27, 7:11 pm

[android-developers] Android 1.5 performance profiling

2009-05-01 Thread Stefan
One of the new features mentioned in the 1.5 SDK is Easier application performance profiling. Can somebody shed some light on what new profiling features are available in the new SDK? Are those enhancements to TraceView, DDMS, or new profiling APIs ? Stefan

[android-developers] Re: 2.3: WebView's JavaScriptInterface throwing exception 100% of time

2010-12-08 Thread Stefan
I also found this to cause be a repeatable crash in 2.3 emulator. The crash log always starts with: 12-08 09:35:15.945: WARN/dalvikvm(8823): JNI WARNING: jarray 0x40540b30 points to non-array object (Ljava/lang/String;) then 12-08 09:35:16.185: INFO/DEBUG(7347): signal 11 (SIGSEGV), code 1

[android-developers] Any guidelines for handling the Headset and Bluetooth AVRC buttons in Froyo?

2010-05-24 Thread Stefan
provide some guidelines that we all can follow. Having a standard approach may make headset button controls a bit more predictable for the end users. Stefan -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email

[android-developers] Problem using Debug.setAllocationLimit

2009-06-24 Thread Stefan
); Debug.setAllocationLimit(-1); expecting the second line to throw an allocation exception but it does not. What is the correct way to track allocations between 2 points in the code execution? Is there some global place where allocations tracking must be turned on before they can be counted? Stefan

[android-developers] PendingIntent / addProximityAlert problem

2009-07-20 Thread Stefan
I implement a subactivity, which starts when I entered the first position, than raise a counter and go back into the main activity? I think the problem will be the same? Greets, Stefan PS: I'm german, so apologize some mistakes. And this project is my first in the Android world. So i'm

[android-developers] addProximityAlert problem

2009-07-20 Thread Stefan
); } } I hope that I discribe my problem well enough. I'm german, so apologize some mistakes with the english syntax. Greets, Stefan PS: I try to write a message last night, but this message isn't visible?! --~--~-~--~~~---~--~~ You received this message because you

[android-developers] Re: PendingIntent / addProximityAlert problem

2009-07-21 Thread Stefan
Hello again, one more information: i test my app with this gps data: lat, lon 3 3 lat, lon 10 10 I use the geo fix command as follows: 1. geo fix 3 3: fires one time == entering true... OK 2. geo fix 5 5: enters the ProximityIntentReceiver class - but not my if clause == entering is false! OK 3.

[android-developers] how to wrap content in optionsmenu?

2010-03-10 Thread Stefan
| SHORT so how could i solve this problem? I try to define a long string with a \n character, but this does not work Thanks, Stefan -- You received this message because you are subscribed to the Google Groups Android Developers group. To post

[android-developers] How to stream ADTS AAC on Android 3.0?

2011-05-05 Thread Stefan
for the stream. However, if that has to be present in each file, then the latency for playback would be linear to the total size of the file. Any help or pointer would be highly appreciated! regards, Stefan Burstrom -- You received this message because you are subscribed to the Google Groups Android

[android-developers] Specification of strings.xml available?

2011-04-20 Thread Stefan
somebody know which part of the Android code processes strings.xml files? Thanks and best regards, Stefan -- 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

[android-developers] Multiple Threads

2011-05-04 Thread Stefan
I'm making a app which got it's data from parsing a website, and I have to download around 100 webpages. This is a time consuming task, so I created a AsyncTask for downloading the data, so I can show a Loading message on the UI Thread. Only problem is, that the 100 webpages are now downloaded

[android-developers] Re: Multiple Threads

2011-05-04 Thread Stefan
and have the handler report back to the main thread much like the async task. Satya On Wed, May 4, 2011 at 10:03 AM, Stefan stefankru...@hotmail.com wrote: I'm making a app which got it's data from parsing a website, and I have to download around 100 webpages. This is a time

  1   2   3   >