[android-developers] Re: Sensor values returned by tricorder

2008-08-25 Thread Bruno Sauer
Wow, this has really got me excited too Peli! I'm sitting on The Island now and can't wait to scan the environs with my HTC Dream : thank you! Bruno Peli wrote: Hi, I've seen excitedly that the improved sensor classes SensorManager and SensorListener allow for a fully functional

[android-developers] Re: SDK Update?

2008-06-30 Thread Bruno Sauer
my two US cents ain't worth much these days but IMO, Shane hit the nail on the head a couple of emails back, Google is eroding the goodwill of their community Google is going to do what they want irregardless even if morally Andr makes the right arguments, especially on how Sergey led the

[android-developers] Re: android emulator takes over sound card

2008-06-27 Thread Bruno Sauer
or if you're not doing sound with the emulator try starting it with the -noaudio option ( see emulator -help) Digit wrote: that's because KDE's 'arts' sound server is not supported. you need to either install the "esd" sound daemon or the alsa-dmix package on your machine to be able to

[android-developers] Re: Hello world problems

2008-06-26 Thread Bruno Sauer
My best suggestion is don't be embarrassed : It looks like you might be having the same problem I, and undoubtedly countless others have had. After firing up the emulator, the solution (which I found by accident) is to go take a coffee break ! The emulator is a BIG program and there's a lot

[android-developers] Re: off by one mapping on string file

2008-06-20 Thread Bruno Sauer
9, 7:20 pm, Bruno Sauer [EMAIL PROTECTED] wrote: your code is probably okay - eclipse does seem to get "out of synch" sometimes with android - especially when using multiple projects. On the 'Project' menu, instead of 'Build Project' have you tried 'Clean'? The problem was getti

[android-developers] Re: About highlightbar in the List

2008-06-20 Thread Bruno Sauer
Would it be possible to "turn on" highlighting as an option? This would be very useful for cases where the user selects/touches an item on the screen and then uses the menu button to select an action on the item selected - I agree with Biosopher's POV - if the highlight goes away then menu

[android-developers] force focus on item in ListView

2008-06-20 Thread Bruno Sauer
is there a trick to "force focus" on a list item? I've been playing around with these statements: // try to get focus siteListView.setFocusType( View.WEAK_FOCUS ); // View.NORMAL_FOCUS siteListView.setFocusable( true ); boolean tookFocus = siteListView.requestFocus(); and

[android-developers] Re: off by one mapping on string file

2008-06-19 Thread Bruno Sauer
your code is probably okay - eclipse does seem to get "out of synch" sometimes with android - especially when using multiple projects. On the 'Project' menu, instead of 'Build Project' have you tried 'Clean'? The problem was getting so bad in my case, and after spending a lot of time

[android-developers] Re: LifeCycleDemo - android.app.Activity

2008-06-04 Thread Bruno Sauer
The sound volume worked fine for me set at 60% - so that kind of indicates that the problem is on the client side instead of the server side. (btw. nice job Damien. My thumbs up. It'd probably also be useful to illustrate how variables in an activity can get "wiped out" if the programmer

[android-developers] Re: HELP bundle/intent problems with non strings

2008-06-02 Thread Bruno Sauer
you're doing nothing wrong - the only problem is it just doesn't work : plenty of non-string data types are in the documentation for Intents but if you look at http://code.google.com/android/reference/com/google/android/gtalkservice/IGTalkSession.html under sendDataMessage() you'll find

[android-developers] Re: Web Service Deployment

2008-05-15 Thread Bruno Sauer
there doesn't appear to be any web services client support available with Android so that's a good indication that it will not be possible (without a lot of effort) to drop a server such as Apache Tomcat with Axis on a "phone" either. Although the term "phone" is a misnomer - it should be

[android-developers] Re: Static variables or variables, saved in Bundle?

2008-05-09 Thread Bruno Sauer
click BACK causes onPause() called, click HOME causes onFreeze() called and onPause(), click your app again in HOME screen should cause onCreate() and/or onResume() called. The last one I dont remember whether it is the case, can you try and report here? On Fri, May 9, 2008 at 12:54 PM, Bruno Sa

[android-developers] Re: Static variables or variables, saved in Bundle?

2008-05-08 Thread Bruno Sauer
, and possibly even kill, your app. So I'm just hoping somebody knows how to herd these cows : wave connexion(BQ) wrote: try using debug, set breakpoints in those callbacks etc... On Fri, May 9, 2008 at 11:37 AM, Bruno Sauer [EMAIL PROTECTED] wrote: This is a non-trivial topic - so

[android-developers] Re: Static variables or variables, saved in Bundle?

2008-05-05 Thread Bruno Sauer
without having looked at snake, that's probably got to do with the "Activity Lifecycle" described in http://code.google.com/android/reference/android/app/Activity.html There's also a good description of architecture fundamentals on youtube

[android-developers] Re: How to do file handling in android

2008-05-04 Thread Bruno Sauer
here's a start: put a "Hello World" message in a file named 'res/raw/helloworld' then try this: String message = ""; // get message from file Resources resources = getResources(); InputStream xmlStream = resources.openRawResource( R.raw.helloworld ); try { while ( true ) { int b