[android-developers] Re: Trying to start a thread dedicated to sending and receiving data

2010-04-08 Thread raqz
I tried placing the breakpoint right at the beginning of the code but the app crashes anyways. Am I supposed to run it in debug mode or something like that? On Apr 8, 1:55 am, Tommy droi...@gmail.com wrote: Well in order to help I need to know what is causing the NullPointerException. You need

[android-developers] Recreating the Menu .

2010-04-08 Thread praj
Hi All, In my application I am required to recreate the menu every time. So for doing this I override the onPrepareOptionsMenu, where i initially removethe items from my menu and then add the items depending on my conditions. So I was just wondering if this is the correct approach to recreate

[android-developers] Re: Trying to start a thread dedicated to sending and receiving data

2010-04-08 Thread raqz
I started it in debug mode. But when I click on 'f5' it says Source Not Found On Apr 8, 1:55 am, Tommy droi...@gmail.com wrote: Well in order to help I need to know what is causing the NullPointerException. You need to set up a break point at the start of your code and step through(f5) Keep an

RE: [android-developers] Re: Trying to start a thread dedicated to sending and receiving data

2010-04-08 Thread Tommy
ensure that debugging is enabled in your mainifest file as well as on your phone(if you are using one) if that break point crashes leave it there and place another one either in the calling activity or higher up in your code in that activity if you can. -Original Message- From:

RE: [android-developers] Re: Trying to start a thread dedicated to sending and receiving data

2010-04-08 Thread Tommy
when that happens hit F7 one time. It should pop you back out to your code. Then hit F5 until you get that screen...Rinse and repeat :) -Original Message- From: android-developers@googlegroups.com [mailto:android-develop...@googlegroups.com] On Behalf Of raqz Sent: Thursday, April 08,

[android-developers] [SOLVED]Re: sending lists from a server to client (android)

2010-04-08 Thread raqz
well.. i got this from my java trainer/friend since the list is an object, we could use the belo code OutputStream os = socket.getOuputStream(); ObjectOuputStream out = new ObjectOutputStream(os); out.writeObject(list); out.close(); InputStream is = socket.getInputStream(); ObjectInputStream

[android-developers] Re: MediRecorder query

2010-04-08 Thread Anandi
Thanks for the reply ani. I am tracing the code flow of setAudioSource() from java layer to jni and to cpp. After reaching at IMediaRecorder-setAudioSource() i can not trace the code further. I mean i couldn't find the code trace going in android_audio_output.cpp anyway. I know this is very

[android-developers] Re: Trying to start a thread dedicated to sending and receiving data

2010-04-08 Thread raqz
Tommy, thanks for helping me out man. I just tried debugging. I entered android:debuggable=true in the manifest and started debugging. I placed a breakpoint at the beginning of the code so that I can see what happens right from the start. But the output just says Source not found Class file

RE: [android-developers] Re: Trying to start a thread dedicated to sending and receiving data

2010-04-08 Thread Tommy
When the Source code not found error comes up have you hit F7? That should step over that java source code for android that you don't have(not a problem) and return you back to your code. Then you can hit F5 until it comes back to Source code not found. let me know what happens. If you feel like

[android-developers] Re: How to parse JSON in Java?

2010-04-08 Thread ko5tik
... and you can also [un]marshal it into java beans: http://github.com/ko5tik/jsonserializer -- 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

Re: [android-developers] [SOLVED]Re: sending lists from a server to client (android)

2010-04-08 Thread Frank Weiss
In most cases, all you really need is a request and a response. The request is basically a list of name-value pairs that become the query parameter part of the request URL. The response, in addition to error codes, is not a list of objects, but a data structure that's been serialized. Popular

[android-developers] Re: Trying to start a thread dedicated to sending and receiving data

2010-04-08 Thread raqz
i managed to reach that error line. but when the control is in that position, what is the information that i should be looking out for.. I dont find anything relating the error iin any of the screens On Apr 8, 2:32 am, Tommy droi...@gmail.com wrote: When the Source code not found error comes

RE: [android-developers] [SOLVED]Re: sending lists from a server to client (android)

2010-04-08 Thread Tommy
I agree. I currently use an asp.net web service to create and XML file full of what I want. Then I parse it and create my Lists or Arrays or whatever from the XML. Although I don't know what your purpose is sterilization might be a better option. From: android-developers@googlegroups.com

[android-developers] Re: Problem with Vertical Scroll Bar *thumb* in WebView !!!

2010-04-08 Thread AJ
My code is like that :- LinearLayout WebView TableLayout TableRow Button / Button / /TableRow /TableLayout /LinearLayout I don't know why the scroll thumb is not being calculated properly for first time. On

[android-developers] Re: new service: link to android market from device and computer

2010-04-08 Thread ko5tik
On Apr 7, 8:49 pm, Lance Nanek lna...@gmail.com wrote: In this case just stream out your apk That would be great if it could be made to work. The problem is that, as far as I know, there is no way to tell if the particular device accessing the URL has Market installed. It isn't in the user

Re: [android-developers] Trying to start a thread dedicated to sending and receiving data

2010-04-08 Thread Frank Weiss
I think you're doing it the hard way, but maybe that's on purpose. The easy way is to use UrlConnection instead of sockets and use AsyncTask instead of creating threads by hand. AsyncTask uses a thread pool and makes it really easy to hook up actions and responses with the UI. Trying to get a

Re: [android-developers] [SOLVED]Re: sending lists from a server to client (android)

2010-04-08 Thread Frank Weiss
Sterilization is not really what I had in mind. LOL Actually, when you parse the XML and create an object graph of lists and arrays, that's called de-serialization. What serialization/de-serialization means is to turn a nested data structure into a stream of characters and vice-versa. On Wed,

Re: [android-developers] Cancel a Dialog by clicking on it (no buttons)

2010-04-08 Thread Frank Weiss
Pressing the Android back button is the normal way of canceling the dialog. On Wed, Apr 7, 2010 at 9:39 PM, Pipen erik.ing...@gmail.com wrote: Dear all, I create my dialog like this, Dialog dialog = new Dialog(this, R.style.popup);

[android-developers] Re: find that GPS provider has failed to get location in android

2010-04-08 Thread patbenatar
LocationListeners provide some great methods for determining things like this... onProviderDisabled [so you know its completely off] and onStatusChanged [which will return one of three status codes]. Check out the docs, this should be precisely what you need. If GPS is straight off,

[android-developers] Re: Multiple Listviews in single Activity?

2010-04-08 Thread patbenatar
Really guys? How about we save our energy for answering questions, not bitching back and forth.. and that way we can hopefully improve this 50% unanswered situation. I don't know about you guys, but I read through the entire list of topics every day and if any title sounds like a

[android-developers] Re: Trying to start a thread dedicated to sending and receiving data

2010-04-08 Thread raqz
Hi Frank, Thanks for the suggestion. Are you aware of any tutorial or anything like that which would help me do all what you said. Tommy is also trying to get me a code which uses SOAP request to talk to the server. Thanks, Raqeeb On Apr 8, 2:42 am, Frank Weiss fewe...@gmail.com wrote: I think

[android-developers] Re: Device Seeding Program for Top Android Market Developers

2010-04-08 Thread fhucho
I received something similar, the only additional info is that A lot of people in Europe have received their phones already. I'd wait another couple weeks; trust me, there is a phone assigned to you and it will get to you in due time. On Apr 8, 5:38 am, Disconnect dc.disconn...@gmail.com wrote:

Re: [android-developers] Re: Performance comparison NDK vs SDK

2010-04-08 Thread Ralf Schneider
You are benchmarking some math functions. If you compile the C Code with the default setting from the NDK all floating point operations are emulated. The Java version executed on the Dalvik VM will hopefully use real floating point instructions - if the CPU supports it. So, as all benchmarks

[android-developers] Re: [SOLVED]Re: sending lists from a server to client (android)

2010-04-08 Thread patbenatar
Good tutorial on setting up a RESTful client to receive JSON data from the Web: http://senior.ceng.metu.edu.tr/2009/praeda/2009/01/11/a-simple-restful-client-at-android/ On Apr 7, 11:47 pm, Frank Weiss fewe...@gmail.com wrote: Sterilization is not really what I had in mind. LOL Actually,

[android-developers] Re: Header View height in a ListView

2010-04-08 Thread patbenatar
Hmmm You sure you're properly setting the height of the View that you're loading in as a Header View? You're doing this in XML? Have you tested this View outside of a List? I have never had any trouble with shrinking Header Views, although I've never set a height explicitly but rather allowed

Re: [android-developers] Re: Application as root

2010-04-08 Thread jitendra kumar
Hi All, I got the following message in the phone log while installing CMdroidapp.apk D/AndroidRuntime( 1277): --- registering native functions --- D/ddm-heap( 1277): Got feature list request D/PackageParser( 71): Scanning package: /data/app/vmdl24900.tmp E/PackageManager( 71): Package

Re: [android-developers] Re: Multiple Listviews in single Activity?

2010-04-08 Thread nubh bhargava
Whosever asked it I think if this might be able because I am generating multiple listviews in spinner just have a look if this helps. Its my blog I am creating few things so you might find a lot of things empty on this

Re: [android-developers] Re: Multiple Listviews in single Activity?

2010-04-08 Thread nubh bhargava
The main thing for making the list view is your XML should contain this ListView android:id=@+id/listView android:layout_width=fill_parent android:layout_height=wrap_content/ and now for the code part, try this I call phonebook into my code in form of list where on the right there

[android-developers] Re: sending lists from a server to client (android)

2010-04-08 Thread raqz
thank you for sharing your views guy. would you mind suggesting one serialization method..either xml or jason.. i need to learn how that works and then implement the same. Ah..things are getting so complicated :) :) :) Thank you once again guys... On Apr 8, 3:19 am, patbenatar

[android-developers] Re: Recreating the Menu .

2010-04-08 Thread Kumar Bibek
onPrepare is the place where you should write your code if your menu options change within an activity. If they are same throughout, then you can write it onCreate method. This is the correct method. Go ahead. Thanks and Regards, Kumar Bibek On Apr 8, 11:08 am, praj prajakt...@gmail.com wrote:

Re: [android-developers] Re: any lawyer types out there that can get this site down?

2010-04-08 Thread Kevin Duffey
Really? how did you even find that? But even so.. they sell apps on there site..why would that site spam comments? On Wed, Apr 7, 2010 at 10:11 PM, Maps.Huge.Info (Maps API Guru) cor...@gmail.com wrote: They've been adding spam comments to apps. -John Coryat -- You received this message

Re: [android-developers] Re: twitter and facebook api ?

2010-04-08 Thread Kevin Duffey
Also rest-like apis that you can use with http calls directly. sign up for their dev api keys, get to work. On Wed, Apr 7, 2010 at 10:51 PM, Kumar Bibek coomar@gmail.com wrote: Yes there are, Please do a search. You will find atleast 2-3 apis for each of these. Thanks and Regards, Kumar

[android-developers] Re: sharing data between activities.

2010-04-08 Thread poohtbear
A friend gave my an idea, I thought if doing a query twice in the past, one for the first list and the other once a row was chosen, since i don't use projects parameter the queries are not efficient, however if for the first list i need just two rows and for the second i take only a single column

[android-developers] Re: Recreating the Menu .

2010-04-08 Thread Nubh
Can also make a menu by dragging the buttons, a simple one but effective. Just need to call the activity from one place to another. I know using the in built provides a better perspective but our motive is to make menu, so enjoy!!! Thanks NUBH -- You received this message because you are

RE: [android-developers] [SOLVED]Re: sending lists from a server to client (android)

2010-04-08 Thread Tommy
LOL woops From: android-developers@googlegroups.com [mailto:android-develop...@googlegroups.com] On Behalf Of Frank Weiss Sent: Thursday, April 08, 2010 2:48 AM To: android-developers@googlegroups.com Subject: Re: [android-developers] [SOLVED]Re: sending lists from a server to client (android)

[android-developers] Re: any lawyer types out there that can get this site down?

2010-04-08 Thread jamesc
If you visit the Market via your phone, you'll more than likely stumble across one of these spam comments (I just had a quick look on various paid apps' review, but can't seem to see any; perhaps they've been removed?). AFAIK, the 'playground' site charges a fixed fee and allows unlimited

[android-developers] Re: Cancel a Dialog by clicking on it (no buttons)

2010-04-08 Thread Will
just use the dismiss() method. Change your dialog declaration in final, implements onClickListener for the dialog (or setOnClickListener, i don't remember) and in the onClick method, call dialog.dismiss(); On 8 avr, 06:39, Pipen erik.ing...@gmail.com wrote: Dear all, I create my dialog like

[android-developers] Using Trusting All Certificate but still getting SSLPeerNotVerified exception

2010-04-08 Thread swapnil kamble
Hi All, I want client authentication on my server. I want to trust peer certificate based on user's confirmation. So for that first time i want to trust all received cert, but at this point itself I am getting excpetion in getPeerCertificate as SSLPeerUnVerified. I tried adding handshakecompleted

RE : Re: RE : [android-developers] Re: Droid 2.1-update1 EGL10.eglCreateWindowSurface() deadlocks intermittently

2010-04-08 Thread seb boyart
Here's a crashlog. It happened on n1 after a rotation. Looks like the swap function is called with a wrong arg. 04/08/2010 09:30:00 [DEBUG] EglHelperSLWP(465) start() 04/08/2010 09:30:00 [DEBUG] EglHelperSLWP(465) getting new EGL 04/08/2010 09:30:00 [DEBUG] EglHelperSLWP(465) getting new display

[android-developers] Re: Sending email with attachment

2010-04-08 Thread Ferm
Where should it be placed? I also get size = 0 and then I get a error saying file//: attachment paths must point to file:///sdcard Igonoring attachment file On Apr 7, 11:11 pm, powder jonas.hey...@gmail.com wrote: Hi, Thanks so much Kumar! It turned out to be the placement of the line:

Re: [android-developers] Re: sending lists from a server to client (android)

2010-04-08 Thread Frank Weiss
I use JSON mostly for Javascript clients. The Java FlexJSON library is simple to use and provides full control of serialization and de-serialization. I use XML for other cases. I prefer using SAX because it's fast and fairly easy for not too deep object graphs. Others prefer XPP (pull parser).

Re: [android-developers] Launcher2 is not coming up on Eclair

2010-04-08 Thread Fei Zhang
The launcher2 need libRS.so.But the libRS.so is not included by default. First , edit Android.mk in frameworks/base/graphics/jni, alter the line 41 #LOCAL_MODULE_TAGS := optional Second, edit Android.mk in frameworks/base/libs/rs , alter the line 106 #LOCAL_MODULE_TAGS := optional Third, make in

Re: [android-developers] Re: Trying to start a thread dedicated to sending and receiving data

2010-04-08 Thread Frank Weiss
I simply followed the SDK reference for AsyncTask at developer.android.com. I did run into some gothchas. You really really need to pay attention to which methods can and cannot call the methods in your Activity. But once you get it right it's solid. I use it to make a request to a server and

[android-developers] How to detect blowing in to the microphone?

2010-04-08 Thread Kakyoin
How to detect blowing in to the microphone? I saw an iPhone app which simulate flute instrument. You blow through the mic and use your fingers to play. Can Android do that? I've looked at the voice recognition in the API demos but it seems that is not the case. -- You received this message

Re: [android-developers] How to detect blowing in to the microphone?

2010-04-08 Thread Timo Prill
check AudioRecord. this should do what you need. http://developer.android.com/intl/de/reference/android/media/AudioRecord.html cheers Am 08.04.2010 10:04, schrieb Kakyoin: How to detect blowing in to the microphone? I saw an iPhone app which simulate flute instrument. You blow through the

[android-developers] Re: EditText functionality

2010-04-08 Thread a2ronus
Concerning the EditText with a single line in XML: adding this XML code to your EditText should work: android:singleLine=true On 7 apr, 14:54, Nandan . bhavesh2...@gmail.com wrote: yaa you can do this using coding in java EditText1.setSingleLine(true); Regards** Bhavesh kumar **

[android-developers] Re: Device Seeding Program for Top Android Market Developers

2010-04-08 Thread fhucho
Sorry, I put the second paragraph in my previous post accidentaly... On Apr 8, 9:07 am, fhucho fhu...@gmail.com wrote: I received something similar, the only additional info is that A lot of people in Europe have received their phones already. I'd wait another couple weeks; trust me, there is

[android-developers] Question on showing contacts with all numbers

2010-04-08 Thread Jiri
Hello, I am struggling on how to display all the contacts and all their phonenumbers in one ListView. Because the persons and their phonenumbers are in two seperate dbase tables I need to do two queries. First one, is to get the user _ID the second one is lookup the phones tabel and based on

[android-developers] Do i need to call DatabaseHelper.close()?

2010-04-08 Thread Teo [GD API Guru]
I have a DatabaseHelper instance for db stuff. Until now i kind of had a mess of everything but made it a singleton so it won't need to be created over and over again. The same object is used both in the fullscreen app and in the widget. The thing is, in case the user also has my widget on the

[android-developers] 3GP audio support in Eclair

2010-04-08 Thread Uander
Hi ALL , I have observe issue while playing with Android Music app : The Music application in Android 2.0 {eclair} and 2.1 does not recognize an AMR-NB formatted audio file with the .3gp extension although it is listed in the Android Supported Media Formats in Android Developer's Guide:-

[android-developers] Re: Device Seeding Program for Top Android Market Developers

2010-04-08 Thread JDS
Can anybody here, from EU, confirm that they have received a Nexus One from this seeding program and not ADC since Google claim that many already have received their phone? -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this

[android-developers] List View Item Strange Behavior

2010-04-08 Thread Binesy
Hi, I have been having some strange behavior when refreshing a listview from a button in a list item. Say you have a list of 4 items, indexes 0-3 and you click on item 4, and print the index. 3 is printed correctly, then i refresh the list. I click on item 4 again, but this time index 0 is

[android-developers] Re: Can't get animations working.

2010-04-08 Thread Yahel
On 6 avr, 20:35, Ozymandias jor...@gmail.com wrote: And how do you apply it? Mine works applied using code, but if I try to apply it using android:layoutAnimation I get that error. I'm applying it using code as well. Never tried manually. Yahel -- You received this message because you are

[android-developers] Re: (Update) Re: Talking to wpa_supplicant for TTLS / PEAP / TLS (Runtime+wpa_cli / JNI / LocalSocket(Unix domain socket) / wpa_supplicant.conf?)

2010-04-08 Thread a2ronus
Ok, I realize now that my post above is way too long. Sorry for that. Let's keep it simple: I currently have an app that runs with the system sharedUserId by siging it with the platform key. See also:

[android-developers] lock_layer

2010-04-08 Thread manjunath
Hi when i type continuously in the browser's search bar, I keep getting those lock_layer timed out messages and the browser hangs. please help me in understanding why these lock_layer timed out messages keep coming and what is the possible solution to this issue. Regards, Manjunath -- You

[android-developers] Re: Question on showing contacts with all numbers

2010-04-08 Thread Nubh
Check one earlier mail where I have posted almost the same issue. I hope it might help. I have few problems, if you know then please help me storing these values. Thanks regards NUBH -- You received this message because you are subscribed to the Google Groups Android Developers group. To post

Re: [android-developers] Re: Trying to start a thread dedicated to sending and receiving data

2010-04-08 Thread Jason LeBlanc
I'm really new to this, so just flog me if I give bad information. However, I think you should set up your ConnectSocket as a Service. Then in each of your Activities, you bind to that service and access your send and receive methods directly. I recently went through some struggles that were

[android-developers] Re: (Update) Re: Talking to wpa_supplicant for TTLS / PEAP / TLS (Runtime+wpa_cli / JNI / LocalSocket(Unix domain socket) / wpa_supplicant.conf?)

2010-04-08 Thread a2ronus
And I've also tried using the wpa_supplicant.conf file. However, when I use the FileInputStream to read /data/misc/wifi/wpa_supplicant.conf file I get a FileNotFoundException. My app is again running as system user. Apparantly the system user cannot access a wifi-user-secured- directory. The acces

[android-developers] Re: Some users are not finding our app in Android Market

2010-04-08 Thread Yahel
It happened to my app for htc Tatoo. The reason was that the screen resolution was lower than what I specified in the manifest. In this case, the Android Market won't show the app because downscaling doesn't work well. So to make the app show in the market you have to specifically state that the

[android-developers] Re: Multiple Listviews in single Activity?

2010-04-08 Thread Bob Kerns
Rather than going off on me and TreKing and acting like we are idiots -- how about instead, you focused on communicating better what you are doing? I am sure TreKing knows what a radio button is. The phrase light up a radio button is rather ambiguous, however. Focused? Checked? There are actual

[android-developers] Dialog box not (onClick event is not invoked) coming up while scanning for devices

2010-04-08 Thread guru
HI This is regarding Bluetooth application. Some times when I do scan for devices and device name change simultaneously, the dialog for name change request is not coming up. I am not getting why how scanning affects the device name change? how these are internally organized so that one can

Re: [android-developers] Re: Keeping service alive across configuration changes

2010-04-08 Thread Jason LeBlanc
I think she's saying that if you bind with the ApplicationContext, your service won't go away until the Application goes away. If that's the case, you don't have to worry about the order in which the Activities are created/destroyed. For my information, does the ServiceConnection unbind by

[android-developers] Re: How to detect blowing in to the microphone?

2010-04-08 Thread Yahel
Hi mate, Just to let you know, you won't be able to mimic the flute app from the iphone. Android doesn't know how to handle multitouch. At least not correctly on most phones. You can get two inacurate point but that is the best Android has to offer. But if you find another control input, then

[android-developers] LED problems on Droid with the 2.1 update

2010-04-08 Thread jarkman
We're getting lots of complaints from our users with Droids that the LED colours associated with notifications aren't working properly. Has anyone else seen this ? Any idea what's up ? Thanks, Richard -- You received this message because you are subscribed to the Google Groups Android

[android-developers] Stream videos from Youtube

2010-04-08 Thread Pratap
Hi I am trying to stream videos from you tube on my emulator. As per the you tube data api documentation I only see rtsp support from youtube.When I try to use the rtsp url in Media Player, I get an error in prepare() method and the video does not play. Going through the API demos media example

[android-developers] Re: any lawyer types out there that can get this site down?

2010-04-08 Thread Bob Kerns
It looks to me like they may be doing this to the apps they offer on their site. It might even be with permission -- though if the OP was complaining of their doing it to one of his apps, I guess not. HOWEVER -- as a developer, I can find no way to list my paid app on their site. This makes me

[android-developers] Re: Keeping service alive across configuration changes

2010-04-08 Thread Bob Kerns
Another approach, which may have benefits beyond the configuration change issue, is to make your service only tear down the expensive resource after a delay. Then, if you reconnect before that timeout, you can simply reuse the resource. So if you exit and come back soon into your app, for example,

[android-developers] Re: How to detect blowing in to the microphone?

2010-04-08 Thread wurp
I agree, Fourier analysis is the way to go. I also recommend installing the Tricorder app and going to the Aco tab. It does spectral analysis (aka Fourier analysis) and graphs it, so you can see what talking versus music versus blowing in the mic looks like. Bobby On Apr 8, 7:14 am, Yahel

[android-developers] Re: Question on showing contacts with all numbers

2010-04-08 Thread adel zalok
Hi , First of all ,as you said you have to qouery the database for both the numbers and the names using the People.NAMES and the People.NUMBERS , and then you have to map them to some view of your choice , but you must use one view fro each mapping , i think this will solve your problem . best of

Re: [android-developers] Re: Question on showing contacts with all numbers

2010-04-08 Thread nubh bhargava
I think I have posted the whole source code in earlier topic, just check thanks NUBH -- 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: Can anyone give me a Socket Client and Server source code?

2010-04-08 Thread mah
As Bob says, standard Java socket code will work correctly -- any tutorial you feel comfortable with will be fine, nothing Android- specific is necessary (except the android.permission.INTERNET entry in your manifest). If using the network over 3G rather than WiFi, you might need to address things

[android-developers] Re: How to detect blowing in to the microphone?

2010-04-08 Thread Tim
On Apr 8, 1:49 pm, wurp bobbymart...@gmail.com wrote: I agree, Fourier analysis is the way to go. I doubt you need to calculate the STFT. Here are some simpler approaches that probably will work - experiment! 1. Detect clipping. Talking probably doesn't clip much but blowing into the mic

[android-developers] Re: Source code for keyboard in Android 2.1

2010-04-08 Thread Macarse
Dianne: I am willing to add voice input to my IME. Should I wait for the froyo release to use android's source code, or I should do it myself using http://developer.android.com/intl/fr/resources/articles/speech-input.html Thanks. On Mar 17, 2:07 pm, Dianne Hackborn hack...@android.com wrote:

[android-developers] Re: Device Seeding Program for Top Android Market Developers

2010-04-08 Thread carknue
I'm also still waiting for my nexus here in Germany.:( I don't think, that they ship the phones direcly from the US to EU, because of duty issues. Declaring several hundreds of brand new mobile phones, all declared as a gift would be too funny to pass thru the EU customs. -- You received this

Re: [android-developers] Re: Multiple Listviews in single Activity?

2010-04-08 Thread ~ TreKing
On Wed, Apr 7, 2010 at 7:57 PM, DonFrench dcfre...@gmail.com wrote: REALLY??? Yes! Really! I wouldn't lie to you! So do you not know what a radio button is or do you not know what happens when you select one? Yes, I do know what a radio button is and I know what happens when you SELECT

[android-developers] Spinner dropdown causes status bar to show in fullscreen

2010-04-08 Thread Ferm
Hi I am using fullscreen mode, e.g. I do not have any statusbar. When I click a spinner, which opens the dropdown view, the status bar is shown for a short second then it hides again. This happens only when there are a certain amount of items in the dropdown. If its only about 5 items, the

[android-developers] Re: Device Seeding Program for Top Android Market Developers

2010-04-08 Thread Thomas Riley
Yes carknue, they ship from Brightpoint Holland. On Apr 8, 2:56 pm, carknue pynetm...@googlemail.com wrote: I'm also still waiting for my nexus here in Germany.:( I don't think, that they ship the phones direcly from the US to EU, because of duty issues. Declaring several hundreds of brand

[android-developers] Top Apps in Market

2010-04-08 Thread Siva G
In which basis does the apps qualify to be in top in the market? Any concrete understanding on that? Please let me know. -- 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

Re: [android-developers] Re: any lawyer types out there that can get this site down?

2010-04-08 Thread ~ TreKing
On Thu, Apr 8, 2010 at 7:23 AM, Bob Kerns r...@acm.org wrote: Are the developers getting paid, or are these pirates? My money's on them being pirates. Their selling point is that they can get you access to all paid apps you want for one monthly fee. Odds are they are pirating paid apps and

[android-developers] Accelerometer - direction of shake?

2010-04-08 Thread Neilz
Hi all. I've been playing with the data given by the accelerometer, trying to work out how I can gauge a shake from front to back or side to side. This all seems straightforward enough. But I'd love to know the direction of the shake. So, if the user is shaking backwards and forwards, I want to

Re: [android-developers] Re: Multiple Listviews in single Activity?

2010-04-08 Thread Jason LeBlanc
Hey, when you guys are done.. I have a question about Sockets and their Exception behavior on the Android platform. I've rewritten the question in different ways and tried to be more clear/concise each time. I'm finding that my overall lack of experience is contributing to the obscurifcation of

Re: [android-developers] Top Apps in Market

2010-04-08 Thread ~ TreKing
On Thu, Apr 8, 2010 at 9:41 AM, Siva G sivarama...@gmail.com wrote: In which basis does the apps qualify to be in top in the market? You mean in the Top Paid and Top Free lists? Any concrete understanding on that? Not really. I presume Google has some super-secret algorithm for

[android-developers] How do know when user launches application

2010-04-08 Thread Ferm
I want to play a video when the main activity launches from the appicon. Application.onCreate() is not always called and Activity.onResume/ onCreate is called to many times (e.g. when user goes back from child activity). How can I do this? Thanks! -- You received this message because you are

[android-developers] how to get device's movement speed?

2010-04-08 Thread Paolo
Hi! Imagine to have the device perpediculare to the table, in portrait. The Z axis is watching to you and the Y axis to the sky. I want to misure the device's movement speed when I rotate it on the X axis. How can i get it? -- You received this message because you are subscribed to the Google

[android-developers] Re: Service that can report my location all the time

2010-04-08 Thread Kateling
Thanks for the message. :P The solutions sounds cool. I'll try it out. On Mar 24, 10:11 am, Mark Murphy mmur...@commonsware.com wrote: Kateling wrote: Hi, there I want to create a service that runs on Android which can collect all ofmylocationinformation. Either write the information to a

[android-developers] Re: Device Seeding Program for Top Android Market Developers

2010-04-08 Thread gambiting
I'm in Poland and I sent the email to google yesterday, the reply received today was: Wojciech, All of the phones have been shipped already. Please be patient; if your phone has not arrived yet, it is probably in transit and will arrive shortly. I am sorry, but we cannot provide individual

[android-developers] Re: Keeping service alive across configuration changes

2010-04-08 Thread THill
Thank you for the replies. Jason -- I am binding the ServiceConnection in onCreate unbinding in onDestroy. Don't know of a way to unbind by default. The drawback I see with using the application context to bind the service, is that somebody still has to own the ServiceConnection. If it is

Re: [android-developers] List View Item Strange Behavior

2010-04-08 Thread ~ TreKing
On Thu, Apr 8, 2010 at 4:42 AM, Binesy ross.bi...@gmail.com wrote: 3 is printed correctly, then i refresh the list. Refresh the list how? Also, what's the point of the Container class? AFAICT, it's completely redundant and unnecessary.

Re: [android-developers] Re: Question on showing contacts with all numbers

2010-04-08 Thread Jiri
Hello NUBH, did u mean this post ? http://groups.google.com/group/android-developers/browse_thread/thread/6844d4d5e7fe4f17/1354dd88444f6528?show_docid=1354dd88444f6528 Thank you, Jiri On 08/04/2010 15:20, nubh bhargava wrote: I think I have posted the whole source code in earlier topic,

Re: [android-developers] Re: any lawyer types out there that can get this site down?

2010-04-08 Thread Michael MacDonald
On 04/08/10 08:23, Bob Kerns wrote: HOWEVER -- as a developer, I can find no way to list my paid app on their site. This makes me very suspicious. Are the developers getting paid, or are these pirates? 100% pirates -- You received this message because you are subscribed to the Google

[android-developers] Re: any lawyer types out there that can get this site down?

2010-04-08 Thread niko20
They are pirates, period. And everytime I see their spam I long press and mark the comment as spam. -b On Apr 8, 10:43 am, Michael MacDonald googlec...@antlersoft.com wrote: On 04/08/10 08:23, Bob Kerns wrote: HOWEVER -- as a developer, I can find no way to list my paid app on their site.

[android-developers] photo URI of contact's image so i can use it with SimpleCursorAdapter

2010-04-08 Thread poohtbear
I want to write a short app for getting some info from contacts, the first list screen i have should display the user Image (or an Image from resources if no such image exists) an the user display name. The problem is i don't seem to find a query that will provide me with the display name and a

[android-developers] Re: any lawyer types out there that can get this site down?

2010-04-08 Thread nexbug
Basically you can get a subscription to their site for a nominal fee and they will give you access to pirated android apps. The same apps that you publish for a fee, the seem to download them from the market by paying you once and distribute to their paid users for free. Nice business model. I

[android-developers] Re: how to get device's movement speed?

2010-04-08 Thread Kumar Bibek
Well, speed you cannot get it or calculate from the accelerometer. The best you can do is use the GPS for getting an approx speed. Thanks and Regards, Kumar Bibek On Apr 8, 8:09 pm, Paolo brand...@gmail.com wrote: Hi! Imagine to have the device perpediculare to the table, in portrait. The Z

[android-developers] Re: Accelerometer - direction of shake?

2010-04-08 Thread Kumar Bibek
Well, only the accelerometer might not be useful in this scenario. You should also think on the lines of orientation. If you use only the accelerometer, obviously you will not get consistent results. Say, if someone is sleeping or turned up side down. :) Try searching for some examples. I am sure

[android-developers] Re: LED problems on Droid with the 2.1 update

2010-04-08 Thread nexbug
we have had reports from Droid users in the past when the the LED notification color had red component in it. But that used to happen even before 2.1 -g On Apr 8, 5:18 am, jarkman jark...@gmail.com wrote: We're getting lots of complaints from our users with Droids that the LED colours

[android-developers] Re: Using Trusting All Certificate but still getting SSLPeerNotVerified exception

2010-04-08 Thread Kumar Bibek
You can check the code of K9 Mail. It's open source. I am sure you will get some info from there. Thanks and Regards, Kumar Bibek On Apr 8, 12:51 pm, swapnil kamble abhay.gauranga@gmail.com wrote: Hi All, I want client authentication on my server. I want to trust peer certificate based on

[android-developers] Re: Multiple Listviews in single Activity?

2010-04-08 Thread DonFrench
I am sorry that I offended you. I had no intention of doing that or turning this into a flame war. I honestly thought that you didn't know what a radio button was from your reply and I assume even now that many others don't either. I had no way of knowing what your level and areas of expertise

[android-developers] Service.startForeground() messes with scheduling?

2010-04-08 Thread Mariano Kamp
Hi. I updated my app to use the new startForeground() method of Service. Now beta testers are complaining about the foreground app going slow. Is that a coincidence or does startForeground() mess with the thread's prio or does anything else but what is written below? Just as an additional

Re: [android-developers] Accelerometer - direction of shake?

2010-04-08 Thread Frank Weiss
The accelerometer axis on the Droid are X, Y, Z and relative to the physical device. As for detecting shake, I was successful using a digital band pass filter. Here's another thread about shaking with my code (however I found that the 2 Hz center band is a bit too fast.)

  1   2   >