[android-developers] SQL aggregate functions via SqlQueryBuilder

2008-06-27 Thread Gavin Bong
Hi, I want to run a query of the form: select sum(salary) from people where department=23 I'm not sure how to do it via the SqlQueryBuilder? Is there an alternative solution ? Thanks all. Regards. Gavin --~--~-~--~~~---~--~~ You received this message because y

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

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

2008-06-27 Thread Digit
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 share emulator audio with the rest of your system. On Sat, Jun 28, 2008 at 12:41 AM, Jeremy Villalobos < [EMAIL PROTECTED]> wrote: >

[android-developers] android emulator takes over sound card

2008-06-27 Thread Jeremy Villalobos
Hello: I have notice that on Kubuntu (or ubuntu), when I run the Android emulator the sound cards cannot be used by any other programs. This is not a big problem to develop programs, but just wanted to inform the community. As soon as the emulator is shutdown the sound card is accesible to othe

[android-developers] Re: NullPointer Exception error at simple application

2008-06-27 Thread Mark Murphy
> I'm kinda new to Android, but got some Java experience, but still got > this annoying error even before i see anything on the screen: Move your setContentView(R.layout.search); statement to immediately after your super.onCreate(icicle); statement. You don't have a content view at the time you'r

[android-developers] how can connect gps in android emulater

2008-06-27 Thread [EMAIL PROTECTED]
hi friends i develop location base system so i get possition on mobile through gps but problem is that how can we connect gps through emulater. does any other device require to get gps possion. Thank You Suresh Kerai [EMAIL PROTECTED] --~--~-~--~~~---~--~~ You

[android-developers] NullPointer Exception error at simple application

2008-06-27 Thread MichaMicha
Hello, I'm kinda new to Android, but got some Java experience, but still got this annoying error even before i see anything on the screen: ERROR/AndroidRuntime(1593): Uncaught handler: thread Main exiting due to uncaught exception ERROR/AndroidRuntime(1593): java.lang.RuntimeException: Unable to

[android-developers] Re: SDK Update?

2008-06-27 Thread Shane Isbell
As a technology Android is a marginal improvement over say a full CDC platform; the real excitement, at least for me personally, was that individual developers could move in and change the industry because they would finally be able to enter and push ideas before the platform was mature and before

[android-developers] Re: SDK Update?

2008-06-27 Thread Shane Isbell
If that's the case, Google is just another closed, mobile player and Android is just another mobile system that will fragment the market. We've all been had. But thanks for the update. Shane On Fri, Jun 27, 2008 at 10:13 AM, Josh Guilfoyle <[EMAIL PROTECTED]> wrote: > > There is no official comm

[android-developers] Re: ListView in ScrollView

2008-06-27 Thread kelvin
Oops. That was meant to be in response to Romain's message. Mark, yea, the Spinner control doesn't really go with the UI effect that I'm attempting to accomplish, but again, thanks for the time. On Jun 27, 12:12 pm, kelvin <[EMAIL PROTECTED]> wrote: > I have thought about using a single ListVie

[android-developers] Re: ListView in ScrollView

2008-06-27 Thread Romain Guy
Spinner has changed dramatically since M5. It now behaves more like a combo box on a desktop. When you click it, it shows a ListView in a popup window on top of the activity. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google G

[android-developers] Re: ListView in ScrollView

2008-06-27 Thread kelvin
I have thought about using a single ListView, but unfortunately it doesn't really go with my "design" such as it is. I haven't looked into what it'd take to do what you're saying with an Adapter-backed LinearLayout, but that sounds what exactly like what I need. I can hopefully figure it out, bu

[android-developers] Re: ListView in ScrollView

2008-06-27 Thread Mark Murphy
> Thanks for the response. Yea, I probably wasn't clear. I actually > don't care about the scrollability since yes, I am in a ScrollView. I > DO care about the AdapterView characteristics. I am using the > ScrollView because I have a number of other views in the activity > besides the ScrollVi

[android-developers] Re: ListView in ScrollView

2008-06-27 Thread Romain Guy
Have you thought about adding your other elements in the ListView as headers and footers instead? This will give you an efficient "single page" scrolling ListView with all of your items. You could also easily populate a LinearLayout from an adapter. All you need is to set change listeners on the

[android-developers] Re: ListView in ScrollView

2008-06-27 Thread kelvin
Thanks for the response. Yea, I probably wasn't clear. I actually don't care about the scrollability since yes, I am in a ScrollView. I DO care about the AdapterView characteristics. I am using the ScrollView because I have a number of other views in the activity besides the ScrollView and I a

[android-developers] Re: ListView in ScrollView

2008-06-27 Thread kelvin
On Jun 27, 11:44 am, "Romain Guy" <[EMAIL PROTECTED]> wrote: > Why would you do it this way? ListView will already load and display > as many elements as it can. You are just forcing ListView to work in a > way that's it is not meant for and, worse, you are forcing it to work > in a very inefficie

[android-developers] Re: ListView in ScrollView

2008-06-27 Thread Mark Murphy
Maybe I'm misreading your message, but I don't see where the ScrollView comes into play. You say you want to use ListView, because you want scrollability (which ListView has) and you want AdapterView characteristics (and ListView has AdapterView as an ancestor). So, just use a ListView. If I'm

[android-developers] Re: ListView in ScrollView

2008-06-27 Thread Romain Guy
> So I would like to have all the views in the ListView loaded and > displayed if possible. I've managed this by instantiating and > measuring each element inside of the ListView when onMeasure is called > on the ListView, adding them all up (and padding for dividers), and > setting the measured

[android-developers] ListView in ScrollView

2008-06-27 Thread kelvin
I know that this topic has been covered many times in this group, but I still have a question I'm hoping to get answered. Referring to this thread, http://groups.google.com/group/android-developers/browse_thread/thread/3bfb013704d886fb/a556ab75f22c8dd1 hackbod wrote: The ScrollView gives its con

[android-developers] Re: Question about LayoutAnimation2.java from the ApiDemos sample project

2008-06-27 Thread Romain Guy
Hi, We are aware of this. However what needs to be done at this time is to make the software works. Before the SDK 1.0 ships, we will spend time cleaning it up and adding documentation. Unfortunately, this is not our priority today (but it will be :). In the meantime feel free to ask questions, w

[android-developers] Re: Wifi SDK Available ?

2008-06-27 Thread iovis80
Hi Digit, i need to get power from different AP and to modify some parameters regarding the rate that the sensor use to get the measurment of the power. Obviously I'm searching also a wifi board with a good support for linux ('m thinking on some Atheros chipset). What I don't understand is if i ca

[android-developers] Re: Should I use HashMap in Android project?

2008-06-27 Thread Romain Guy
Hi, HashMap is a very useful class that performs well. Without knowing how you intend to use this class, we cannot really tell you whether it will impact performance or not. However, HashMap can be used without any problem in a large number of situations without impacting performance. The only s

[android-developers] Re: Question about LayoutAnimation2.java from the ApiDemos sample project

2008-06-27 Thread Disco Stu 010
Hi, Thanks for your response. Certainly clarifies a few things. The sample code has been immensely valuable in getting a better understanding of the Android APIs. I totally understand the 'too many things to do' problem, I have been guilty of that many times. However, I would like to respe

[android-developers] Codec Support in Android

2008-06-27 Thread Rama
Hi Does Android support Windows Media Video(i.e WMV format) codec. Regards Rama --~--~-~--~~~---~--~~ 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@goog

[android-developers] Should I use HashMap in Android project?

2008-06-27 Thread Daniel
Hi All, I did not develop mobile project before, and now I must to develop an Android project. >From my friend, I have known the classes J2ME is less than J2SE. For example, J2ME doesn't contain HashMap class. I think it is under the consideration of performing. I just want to know if I use so

[android-developers] Re: SDK Update?

2008-06-27 Thread Josh Guilfoyle
There is no official comment from Google, but after talking to several sources on the team, it is quite clear that they do not expect a release until the handsets launch. The ADC round 1 winners are now under NDA with Google to get access to private updates which they are not allowed to discuss o

[android-developers] Re: Changing focus order programmatically

2008-06-27 Thread Karl Rosaen
This is a known issue internally. I just created: http://code.google.com/p/android/issues/detail?id=758 I'll be sure to update that bug as we make changes internally. On Jun 27, 12:14 am, kelvin <[EMAIL PROTECTED]> wrote: > Is it possible to specify a focus order programmatically?  I know it >

[android-developers] Re: Check within App whether running on Android platform?

2008-06-27 Thread Josh Guilfoyle
Under what condition would you not be running an Android app on Dalvik? The emulator doesn't use your native JVM, it uses Dalvik as well. On Jun 24, 11:52 am, kobica <[EMAIL PROTECTED]> wrote: > On Jun 24, 11:49 am, Josh Guilfoyle <[EMAIL PROTECTED]> wrote: > > > You mean check if it's running o

[android-developers] Re: Dynamic Class Loading

2008-06-27 Thread Bob
On Jun 25, 11:22 pm, Hsun-Cheng Hu <[EMAIL PROTECTED]> wrote: > Hi all, > > Is it possible to load class dynamically from file system or > Internet?? With a bit of work loading from the file system is barely possible. Loading from any other source is not possible in the current public release o

[android-developers] Re: Javamail "no such label 0104"

2008-06-27 Thread William Enck
I had a number of issues importing the javamail jars from Sun's website (using Mac OS X 10.5). I eventually found that the jars at maven repository didn't produce the dex conversion error. Try giving those a shot: http://download.java.net/maven/1/javax.mail/jars/ Good luck, -Will PS: You

[android-developers] Re: android on NVIDA Tegra ?

2008-06-27 Thread Eric
I would interested to know too. Nvidia's site says it is ONLY for Windows...doesn't mention Linux, so sad Eric Wong Portable Electronics Ltd www.hdmp4.com On Jun 26, 10:17 pm, rezar <[EMAIL PROTECTED]> wrote: > Does any body have any information about android integrity with NVIDA >

[android-developers] Re: android.speech.recognition???

2008-06-27 Thread Wesley
or did any of developers successful doing speech recognition system on android??? any guideline please??? Wesley. On Fri, Jun 27, 2008 at 5:04 PM, Wesley Sagittarius <[EMAIL PROTECTED]> wrote: > > hi all, > is there any example or tutorial for android speech recognition??? > > > http://lamp.epf

[android-developers] android.speech.recognition???

2008-06-27 Thread Wesley Sagittarius
hi all, is there any example or tutorial for android speech recognition??? http://lamp.epfl.ch/~linuxsoft/android/android-m3-rc20a/docs/reference/android/speech/recognition/package-summary.html Wesley. --~--~-~--~~~---~--~~ You received this message because you a

[android-developers] Changing focus order programmatically

2008-06-27 Thread kelvin
Is it possible to specify a focus order programmatically? I know it can be done in XML via nextFocusDown, Left, Right, Up, but I'm wondering if it can be done via java. Thanks. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Googl