[android-developers] Re: Your feedback on Samples/Tutorials/Articles

2010-04-07 Thread DulcetTone
On Mar 23, 1:41 pm, Yahel kaye...@gmail.com wrote: add a comments system to the reference pages That's what they did in the PHP documentation and it is pure gold. Examples, implementations, work around, bug reportsVery often way more instructive than the actual content of the official

[android-developers] Re: how to find out memory usage by pid?

2010-04-07 Thread Bob Kerns
I've been meaning to ask about this... When I try to run procrank on my device, a Nexus One, I get an error that libpagemap.so is not found (and indeed, it's nowhere on my device). Is this not present by default in non-debug builds? Is there some way I could obtain it? While I'm at it, when the

[android-developers] Re: Initializing a custom view via XML

2010-04-07 Thread jrichards1...@googlemail.com
Yea i tried that already and diddnt work at all On Apr 6, 10:37 am, Yahel kaye...@gmail.com wrote: Hi, Not sure at all but try to make sure you call the super.onXXX in each method you override. So that Android can works its magic before you do your own things Like in your onMeasure Yahel

Re: [android-developers] Re: Any way to get some equivalent to the adb log while the device is not plugged into computer?

2010-04-07 Thread ~ TreKing
On Wed, Apr 7, 2010 at 1:29 AM, Kumar Bibek coomar@gmail.com wrote: There are some apps which do this. aLogCat as well. I'm using this one for offline debugging and it's quite useful. - TreKing

[android-developers] Re: handling rotation...

2010-04-07 Thread sdphil
thanks bob for your reply. i do understand it doesn't doesn't mean i don't have to handle activity lifecycle, but not having to deal with the entire activity being destroyed and recreated seems useful. I am definitely getting the correct version of the layout -- i tried changing something in the

[android-developers] Is WebView suitable for what I need?

2010-04-07 Thread jfbaro
Hi, I am working on my first Android project (for studying purposes). It's a simple file browser. One thing which needs implementing is an Activity which shows TXT (xml, css, txt, html...) and IMAGES (jpeg, png, gif...) when the user clicks on the file. From what I have read (I am really new to

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

2010-04-07 Thread Mark Murphy
And the truth is that even then the odds are that no one will answer you. I highly disagree. Actually, I would agree with DonFrench on this point. I haven't tried running the numbers, but I suspect that fewer than 50% of questions asked here get answers, which is all it takes to meet

[android-developers] Re: Getting the url of an http response

2010-04-07 Thread jw
mscws01, that is an own implementation of some http class, which from what I can see, you're only able to make get requests, not post. Kevin, I'm not sure I follow. Could you give me an code example of your solution? /J On Apr 7, 5:08 pm, mscwd01 mscw...@gmail.com wrote: I think your asking

[android-developers] Re: Selling apps from Canada in the Market?

2010-04-07 Thread gosh
I hope you're right Brill, but the 7 months with 'zero' movement on this issue in 'any' country, doesn't sit well with it. The trouble for ALL Android app developers who want to sell applications for years to come, is that developers from the countries 'not' in those 9 (Germany, Austria, Japan,

[android-developers] Re: Listadapter issue

2010-04-07 Thread raqz
hi, thanks for the suggestion..i got it right now On Apr 6, 5:17 pm, Bob Kerns r...@acm.org wrote: ArrayList would be a better choice; Vector has extraneous method synchronization. But either one suffers from the problem that you'll need to store Integer objects rather than int values, which

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

2010-04-07 Thread MrChaz
100 is a low estimate but it's around that point that the frame-rate seems to get into the sub 30's. I'm already doing pretty much everything you've mentioned except using VBOs - most sprites are rendered via the draw_texture extension. Unfortunately pretty much all the sprites have some

[android-developers] Displaying ArrayList in list

2010-04-07 Thread raqz
Hi, I wish to display data in the the arraylist in a listview. The arraylist is not a generic list but a object defined by me. I want to display only certain data of the object. Something like, an object of a student, I want to display the student's name only, the student id and the student dob

[android-developers] Re: Displaying ArrayList in list

2010-04-07 Thread Kumar Bibek
Refer to this tutorial http://tech-droid.blogspot.com/2009/07/custom-listview-for-android.html Thanks and Regards, Kumar Bibek On Apr 7, 8:54 pm, raqz abdulraqee...@gmail.com wrote: Hi, I wish to display data in the the arraylist in a listview. The arraylist is not a generic list but a

[android-developers] Can anyone give me a Socket Client and Server source code?

2010-04-07 Thread xlshe
I want to make my phone communicate with computer with socket. I have try many kinds of source in internet. None of them works. The phone always display HelloWorld ActivityName. Log.d() seems not work on my phone, because, I have used that, but nothing was printed. Can anyone help me? Thank you

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

2010-04-07 Thread Eddie Ringle
By the way, that is invalid JSON. On Apr 7, 5:05 am, Maxood maqs...@salsoft.net wrote: I have the following JSON text that i need to parse to get pageName, pagePic, post_id, etc. What is the required code? pageInfo: { pageName: abc pagePic:http://profile.ak.fbcdn.net/object2/367/…} posts:

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

2010-04-07 Thread DonFrench
On Apr 7, 8:14 am, ~ TreKing treking...@gmail.com wrote: On Tue, Apr 6, 2010 at 7:44 PM, DonFrench dcfre...@gmail.com wrote: And the truth is that even then the odds are that no one will answer you. I highly disagree. I recently posted a very simple and clear one-sentence question

[android-developers] Re: Displaying ArrayList in list

2010-04-07 Thread raqz
hey thanks kumar...I am getting an array of objects from the webserver. is it possible to convert it into xml and then display it as u have done? please let me know On Apr 7, 11:57 am, Kumar Bibek coomar@gmail.com wrote: Refer to this tutorial

[android-developers] Re: Displaying ArrayList in list

2010-04-07 Thread raqz
great tutorial On Apr 7, 11:57 am, Kumar Bibek coomar@gmail.com wrote: Refer to this tutorial http://tech-droid.blogspot.com/2009/07/custom-listview-for-android.html Thanks and Regards, Kumar Bibek On Apr 7, 8:54 pm, raqz abdulraqee...@gmail.com wrote: Hi, I wish to display data

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

2010-04-07 Thread Ralf Schneider
There exists (GL_UNSIGNED_SHORT_4_4_4_4) Textures. May be this helps a litle bit. I'm not sure but switching to VBOs might not bring an improvement. My observation on a Nexus One is: VBOs are great if there are many tris (250) to render per call. For billboards it really doesn't matter that

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

2010-04-07 Thread roundhill
Hi there, Some users are reporting that they can't find our app (WordPress for Android) in Android Market. We have it enabled for all devices and locations with copy protection turned off. One user reported that he is from Sweden (see comments at

[android-developers] Can't pass image to default image viewer since 2.1 upgrade.

2010-04-07 Thread gnugu
Hi, The following works fine on 2.1 emulator. It does NOT work on a 2.1 device :(. I pull encrypted image from my storage and want to show it using a default built in image viewer. For that I have built my own ImageProvider class. Here is how I invoke it: // pass data to image provider

[android-developers] Re: Going forever into /sys folder? Why?

2010-04-07 Thread jfbaro
Hi fadden, Is it sure a case of Symbolic Links? Anyway, I have found that code: Path file = ...; boolean isSymbolicLink = Attributes.readBasicFileAttributes(file, LinkOption.NOFOLLOW_LINKS).isSymbolicLink(); Which, unfortunately, works only on Java 7 (SE). I couldn't find any way of checking

[android-developers] Set Spinner select to 'none' ?

2010-04-07 Thread Mark Wyszomierski
Hi, Is there a way to set a Spinner's selection to 'none' ? When my activity launches, it looks like a spinner will automatically select the 0th element in the spinner. I'd like to explicitly make the user choose a selection instead. Thanks -- You received this message because you are

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

2010-04-07 Thread Jonas Petersson
Hi, roundhill wrote: Some users are reporting that they can't find our app (WordPress for Android) in Android Market. We have it enabled for all devices and locations with copy protection turned off. One user reported that he is from Sweden (see comments at

[android-developers] Virtual Keyboard

2010-04-07 Thread dan
Hello,Is there a way to configure the virtual keyboard to "hide" once the return key is pressed? I have numerous EditText fields in my application and I want the user to be able to enter a single line value, press return, and the keyboard goes away.Is there a way to override the virtual keyboard

[android-developers] Header View height in a ListView

2010-04-07 Thread Marshall Culpepper
Is it possible to control the height of a ListView's header view(s)? If I try containing my header view in a layout and set the height to say, 50 or 100, the height in the view seems to stay around 30. -- You received this message because you are subscribed to the Google Groups Android

[android-developers] Re: Virtual Keyboard

2010-04-07 Thread HeHe
//the keyboard now ((InputMethodManager)getSystemService(Context.INPUT_METHOD_SERVICE)).hideSoftInputFromWindow(v.getWindowToken(), 0); On Apr 7, 10:09 am, d...@rolph.com wrote: Hello, Is there a way to configure the virtual keyboard to hide once the return key is pressed?  I have numerous

[android-developers] ImageView and ViewRoot

2010-04-07 Thread McD
Hey all, Question on an oddity I am seeing. I have an ImageView that I am using to display a splash screen for a couple of seconds: ImageView android:id=@+id/splashsScreen android:src=@drawable/logosplash android:layout_width=fill_parent

Re: [android-developers] Connect two emulator instances through the network

2010-04-07 Thread David Turner
You only need to use port forwarding from one machine to the other. This can be setup with ssh, and without touching the emulator. There are already several posts on the forums explaining this, try to look at them for examples. On Wed, Apr 7, 2010 at 5:16 AM, Yuri Morais yurimorai...@gmail.com

Re: [android-developers] Re: Virtual Keyboard

2010-04-07 Thread dan
HeHe,I added that line to my activity, and I still get the virtual keyboard after the return key is pressed. Pressing the return key only adds a new line to my EditText. Did I implement it improperly? Here is a sample piece of code testing the functionality:public class Login extends Activity {

[android-developers] Incorrect documentation for Xml Attributes (onclick, padding, etc), all API Levels?

2010-04-07 Thread Greg Giacovelli
Hi, The documentation seems to specify API Level Blank for a lot of the XML attributes in View. I haven't checked others. I have my filters set to only look for API 3 and it seems that this misses the filter. So it shows up and low and behold since it's XML it will parse, compile and then just not

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

2010-04-07 Thread String
I've specifically had 2 users this week contact me about not being able to see one of my apps from the new HTC Desire. I'm guessing it's the usual problem where Google hasn't gotten the handset's profile in the Market database, but of course, I have no way to tell anything other than that I'm

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

2010-04-07 Thread roundhill
Ok, we also had some desire users report that they couldn't find it as well. On Apr 7, 11:18 am, String sterling.ud...@googlemail.com wrote: I've specifically had 2 users this week contact me about not being able to see one of my apps from the new HTC Desire. I'm guessing it's the usual

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

2010-04-07 Thread Bob Kerns
Perhaps -- but since I don't really understand the question, perhaps question quality had something to do with it? The radio button. What radio button? What's a a simple_list_item_single_choice layout? These things probably seem obvious to you, but they're not to me. So I can only guess at the

[android-developers] Emma code coverage for UI events on device

2010-04-07 Thread androiduser mobile
Hi, I would like to measure the code coverage for the UI application without using JUnit test cases. Is there any way that we can capture the report for the user key events on the application which is running on device. Thanks, Android user. -- You received this message because you are

[android-developers] Re: Can anyone give me a Socket Client and Server source code?

2010-04-07 Thread Bob Kerns
I would guess that you failed to supply two arguments to Log.d(tag, message), or that you aren't looking for the message using logcat, but expecting it to show up somewhere else. Otherwise, your question is too unclear to answer. You CAN use sockets to communicate with your computer. That, or any

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

2010-04-07 Thread Lance Nanek
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 agent. So the server wouldn't know if it should send the

[android-developers] Re: Set Android application dependency from custom Java library

2010-04-07 Thread spachner
On 2 Apr., 15:18, Tatyana Ulyanova levkat...@gmail.com wrote: Hello, spachner! Thanks many times for your help! It works great!!! But I have a question about build.xml file. Should I specify something in depends properties of target tag? Could you recommend some good article about

[android-developers] Re: Virtual Keyboard

2010-04-07 Thread HeHe
Dan, please add the line in OnFocusChange() or setOnEditorAction() listener of your EditText view. added there, it works for me. On Apr 7, 11:08 am, d...@rolph.com wrote: HeHe, I added that line to my activity, and I still get the virtual keyboard after the return key is pressed.  Pressing

[android-developers] Re: Set Android application dependency from custom Java library

2010-04-07 Thread spachner
On 2 Apr., 15:34, Tatyana Ulyanova levkat...@gmail.com wrote: Hello, spachner! I have one more question to you. If my project for library uses other jar files (in lib directory), where should I specify its in build.xml? Thanks)) Extending the ant script should be easy, if you would like to

Re: [android-developers] Re: handling rotation...

2010-04-07 Thread ~ TreKing
On Wed, Apr 7, 2010 at 10:25 AM, sdphil phil.pellouch...@gmail.com wrote: but not having to deal with the entire activity being destroyed and recreated seems useful. You still have to deal with this if the user navigates away from your app temporarily by pressing home and comes back a short

[android-developers] Re: Any way to get some equivalent to the adb log while the device is not plugged into computer?

2010-04-07 Thread patbenatar
Thanks so much guys! Apps like this will come in VERY handy. On Apr 7, 8:16 am, ~ TreKing treking...@gmail.com wrote: On Wed, Apr 7, 2010 at 1:29 AM, Kumar Bibek coomar@gmail.com wrote: There are some apps which do this. aLogCat as well. I'm using this one for offline debugging and

[android-developers] Re: Flashing the android device

2010-04-07 Thread patbenatar
Anybody know how to flash to a Motorola Droid? I don't have a dev phone, and production models do not come with Fastboot, so this may not be possible...? -Nick On Apr 7, 12:25 am, MobDev developm...@mobilaria.com wrote: HTC got a page for developers on which they also have some versions of

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

2010-04-07 Thread patbenatar
Look into JSONObject and JSONArray.. Makes it real easy to parse JSON. On Apr 7, 9:12 am, Eddie Ringle ed...@eringle.net wrote: By the way, that is invalid JSON. On Apr 7, 5:05 am, Maxood maqs...@salsoft.net wrote: I have the following JSON text that i need to parse to get pageName,

Re: [android-developers] ImageView and ViewRoot

2010-04-07 Thread Dianne Hackborn
ViewRoot.performTraversals() is the main engine of the view hierarchy, driving all layout and drawing in it. Most things you see happening in your views are likely to come from there, but that doesn't mean it is to blame. :) On Wed, Apr 7, 2010 at 10:59 AM, McD mcd...@gmail.com wrote: Hey all,

[android-developers] Re: connecting to internet via app

2010-04-07 Thread patbenatar
Here's a nifty tutorial on creating a RESTful client on Android. http://senior.ceng.metu.edu.tr/2009/praeda/2009/01/11/a-simple-restful-client-at-android/ On Apr 7, 6:40 am, theSmith chris.smith...@gmail.com wrote: What do you mean enable? If you mean bypass the permission, then no. But if

[android-developers] Re: Listview append with new element on RUNTIME

2010-04-07 Thread patbenatar
Yea, learn about the Adapter you are using with your list. You can Adapter.add() items to the adapter and then Adapter.notifyDataSetChanged() On Apr 7, 6:58 am, Mark Murphy mmur...@commonsware.com wrote: Hi all ! Guys we need some help with the following task:  My problem, I would like

[android-developers] Fire event to the upper level activity

2010-04-07 Thread Eric
Hi, I have a customized listview and listitem. On the list item, I have one checkbox and it listens the check event. When the status of the checkbox is changed, I want to tell the upper level list activity. How can I do it? thanks, -Eric -- You received this message because you are subscribed

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

2010-04-07 Thread unixseb
i can't tell you if my code works for the droid (i dont own one) but it help fixing issues on the N1. anyway i still have issues, sometimes it looks like i have 2 opengl surfaces swapping from each other after a resume. i'm gonna implement your modifications and tell you the effect on the N1

[android-developers] Re: ImageView and ViewRoot

2010-04-07 Thread McD
Totally understood. Didn't mean to blame really. ;) Is it possible that my splash ImageView (which is in a separate layout from my FinderView), is getting displayed because I'm not closing the ImageView or destorying it? It seems that I am not destroying/closing something correctly as when I

[android-developers] values-land not being picked up for Android 1.5

2010-04-07 Thread songs
Hi, I have a widget with a set of layout parameters in the values and values-land folders for portrait and landscape display respectively. On my G1 running 1.6, everything looks great in either orientation. On a 1.5 emulator, things look fine in portrait, but not in landscape. It's clearly using

[android-developers] Camera taking upside down pictures

2010-04-07 Thread Aaron
I'm working on an application that uses the camera to take pictures of objects. I have built a small frame to set my phone on while I move things in and out to take pictures of. The problem is that occasionally the pictures will come out upside down. I have been experimenting with the camera

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

2010-04-07 Thread unixseb
i'm currently using the code on your blog, i have an issue on N1, when the orientation change, the surfacechanged function of the rendrerer isn't called, so i can't reset the frustum to the correct window size. i guess it's around the following code, i'm trying to fix it :

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

2010-04-07 Thread Robert Green
That's strange.. First of all, how are you getting orientation changes on an N1? I never found a way to get it to do that. I tested my latest code on www.rbgrn.net on both the N1 and Droid and both seem to be working well now. It includes your wait-hack and my updates. On Apr 7, 3:57 pm,

[android-developers] Re: Sending email with attachment

2010-04-07 Thread powder
Hi, Thanks so much Kumar! It turned out to be the placement of the line: sendIntent.setType(text/csv) Regards Jonas. On Apr 5, 2:43 pm, Kumar Bibek coomar@gmail.com wrote: public static void sendFile(Context context) {                 File exportDir = new

Re: [android-developers] getting the SDK samples (a tale of woe and intrigue and two questions)

2010-04-07 Thread Xavier Ducrohet
On Wed, Apr 7, 2010 at 8:12 AM, greg sep...@eduneer.com wrote: it contains only a '/android-7/ApiDemos/.metadata' directory and all the sample code is still in a 'android-sdk-windows/temp/ samples-2.1_r01-linux.zip/samples-2.1_r01-linux' directory.  In my previous download of the SDK samples,

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

2010-04-07 Thread seb boyart
I use helixlauncher2 to rotate the desktop on n1. Le 7 avr. 2010 23:01, Robert Green rbgrn@gmail.com a écrit : That's strange.. First of all, how are you getting orientation changes on an N1? I never found a way to get it to do that. I tested my latest code on www.rbgrn.net on both the N1

[android-developers] Re: Why launch is canceled

2010-04-07 Thread Lance Nanek
I was getting that recently with a Nexus One. What fixed it in my case was updating everything and restarting. Both Eclipse plugin and all the available packages in the AVD/SDK manager. On Apr 5, 6:42 am, Umer Farooq uu_far...@hotmail.com wrote: [2010-04-05 11:43:21 - Notepadv2]

[android-developers] How to prevent virtual keyboard from moving and resizing views

2010-04-07 Thread Hayden
Is there a way to prevent the virtual keyboard from moving and resizing views? I have a table with a row of 4 buttons at the bottom of a relative layout that are centered and equally sized, very similar to the 3 buttons that appear at the bottom of the Gmail app when an email is checked. When the

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

2010-04-07 Thread Ralf Schneider
I didn't know about helixlauncher2. It's cool! Now I can navigate the home screen just with the thumb. That never worked reliable for me with the stock homescreen of the N1. And everything is smooth. Feels like an iphone... 2010/4/7 seb boyart unix...@gmail.com I use helixlauncher2 to rotate

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

2010-04-07 Thread seb boyart
forget it, your code is fine, it call the surfacechanged right, passing good values for width and height. for obvious reasons, my sphere isn't restreched after a rotation (it does approx 5% of the time only), but all initialization is done in surfacechanged using passed width and height, it worked

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

2010-04-07 Thread DonFrench
Sure, I guess if you have never read anything about specifying a row template when instantiating an ArrayAdapter or checked out the APIDemos example, you never would have heard of the single choice layout that displays a radio button on every list item. But my guess is that most people who have

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

2010-04-07 Thread ~ TreKing
On Wed, Apr 7, 2010 at 10:30 AM, Mark Murphy mmur...@commonsware.comwrote: Actually, I would agree with DonFrench on this point. I haven't tried running the numbers, but I suspect that fewer than 50% of questions asked here get answers, which is all it takes to meet DonFrench's claim. I

Re: [android-developers] Set Spinner select to 'none' ?

2010-04-07 Thread ~ TreKing
On Wed, Apr 7, 2010 at 11:47 AM, Mark Wyszomierski mar...@gmail.com wrote: Is there a way to set a Spinner's selection to 'none' ? Not that I know of, but you can set a prompt as the first item and ignore its selection. See this thread:

[android-developers] Re: How to prevent virtual keyboard from moving and resizing views

2010-04-07 Thread Hayden
After playing around off and on with this issue for a few months, I finally found the answer if anyone else has this problem: I set android:layout_weight=1 for the table, table row, and all the buttons On Apr 7, 5:39 pm, Hayden hayden.stew...@gmail.com wrote: Is there a way to prevent the

[android-developers] Set progress bar drawable

2010-04-07 Thread ls02
How do I change progress bar drawable at runtime? I have set of drawables and I thought setProgressDrawable would change the drawable but it does not seem to work on horizontal progress bar. -- You received this message because you are subscribed to the Google Groups Android Developers group. To

[android-developers] Problem with Vertical ScrollBar thumb in WebView

2010-04-07 Thread AJ
Hi Group, I have LinearLayout in which I show webview at top and 2 buttons at the bottom. I am load local Html file from my asset folder and it loads properly. But the problem is Vertical scroll bar *thumb* appears quite big as it looks its size does not gets updated. But as soon as I press the

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

2010-04-07 Thread AJ
Hi Group, I have Linear Layout in which I show web-view at top and 2 buttons at the bottom. I load local HTML file from my asset folder and it loads properly. But it looks there is a some problem with the Vertical Scroll Bar *THUMB*, which appears quite big as the HTML page loads. But the thumb

[android-developers] add calendar_alerts error.

2010-04-07 Thread arnoldl
Hello all, i'm trying to add a new record to the calendar_alert table..just as is done when creating a new event with alarm or snoozing a event. values = new ContentValues(); values.put( event_id, 4 ); values.put( begin, beginTime); values.put( end, endTime);

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

2010-04-07 Thread Richard
I sent an email to Google, this is the reply: Hi Richard, No one has been forgotten. There's a large volume of phones being shipped out, and apparently we overestimated the capacity of our shipping vendor. We have sent them the addresses and the inventory and they are working through the list.

[android-developers] NexusOne lifecycle issues, continued

2010-04-07 Thread THill
On the NexusOne, there is a known issue with onStop not being called soon after an activity is no longer visible (e.g., by pressing Home key, or calling finish()). See related forum threads http://code.google.com/p/android/issues/detail?id=6094. If my activity uses a service that is doing

[android-developers] Keeping service alive across configuration changes

2010-04-07 Thread THill
The default way configuration changes (i.e., rotates) are handled is to destroy the activity recreate it with a new one. What is the recommended way to handle these changes in an activity that binds/ unbinds to a service (that is possibly heavy/slow to start)? When the activity gets destroyed,

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

2010-04-07 Thread Thomas Riley
I just had a similar email. If your reading this Neel, thanks for the reply! Tom. On Apr 8, 12:38 am, Richard rtaylor...@googlemail.com wrote: I sent an email to Google, this is the reply: Hi Richard, No one has been forgotten. There's a large volume of phones being shipped out, and

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

2010-04-07 Thread Dan Sherman
Has anyone been able to get their Droid transferred off the free month of service (through a Google Account), and onto their personal Verizon account? - Dan On Wed, Apr 7, 2010 at 7:52 PM, Thomas Riley tomrile...@googlemail.comwrote: I just had a similar email. If your reading this Neel,

[android-developers] Lcd on/off

2010-04-07 Thread Dilip Dilip
Dear All, if I need to turn on/off the lcd and backlight , how to do it ? Thanks and Regards, Vivek R -- 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

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

2010-04-07 Thread Dianne Hackborn
You can use the ApplicationContext to bind to the service, and propagate the binding to the next instance via Activity.onRetainNonConfigurationInstance(). Yeah, sorry, obtuse and awkward. In the future I'd like to have something better. On Wed, Apr 7, 2010 at 4:44 PM, THill

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

2010-04-07 Thread DonFrench
I don't know what light up a radio button means for example). REALLY??? So do you not know what a radio button is or do you not know what happens when you select one? OK, here is the explanation of radio buttons. Radio buttons are used for single-choice lists (and spinners and AlertDialogs

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

2010-04-07 Thread raqz
Hi, I wish to send a list containing objects from server to client and vice versa through httpurlconnection. Elaborating the same, the list contains a set of objects which is defined both in the server and the client. Its just that the server queries a database and sends the object to the client

[android-developers] Tiled bitmap gets distorted?

2010-04-07 Thread Ozymandias
I created a bitmap to fill in some empty area on my toolbar. I want it to tile as it expands. ?xml version=1.0 encoding=UTF-8? bitmap xmlns:android=http://schemas.android.com/apk/res/android; android:src=@drawable/map_toolbar_background android:gravity=top android:tileMode=repeat /

[android-developers] Re: Set progress bar drawable

2010-04-07 Thread Fred Grott(Android Expert, http://mobilebytes.wordpress.com)
ProgressBar mProgressBar = (ProgressBar) findViewById(R.id.progress_bar); mProgressBar.setProgressDrawable(getResources().getDrawable(R.drawable.progress_drawable)); set the drawables up in a selector xml file On Apr 7, 5:47 pm, ls02 agal...@audible.com wrote: How do I change progress

[android-developers] Re: getting the SDK samples (a tale of woe and intrigue and two questions)

2010-04-07 Thread greg
Thanks, Xav. After deleting the ApiDemos project from Eclipse, the Android SDK and AVD manager correctly downloaded, installed, and unzipped the samples directory. I think my SDK directory is now fully recovered from my accidental creation of 100+ ApiDemos nested subdirectories. As far as I

Re: [android-developers] Lcd on/off

2010-04-07 Thread Dianne Hackborn
You can't do that directly. You can use various facilities to keep the screen on (window flag is the preferred way) if needed. On Wed, Apr 7, 2010 at 5:16 PM, Dilip Dilip dileep2m...@gmail.com wrote: Dear All, if I need to turn on/off the lcd and backlight , how to do it ? Thanks and

[android-developers] @id/myid namespace issues?

2010-04-07 Thread Ozymandias
When I create an XML layout using a custom layout class I have problems using @ids between it and other layouts. They all work fine between standard android views, but my custom ones won't work. Based off this: http://dlee0113.blogspot.com/2009/05/differences-between-idfoo-and.html I tried this

Re: [android-developers] @id/myid namespace issues?

2010-04-07 Thread Mark Murphy
When I create an XML layout using a custom layout class I have problems using @ids between it and other layouts. What are the problems? What are the other layouts? FWIW, here is a sample project using a custom View that uses @id without incident:

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

2010-04-07 Thread THill
Thanks Dianne, I was wondering if there was a way to preserve that binding. If I go with that approach, I guess the ServiceConnection object will have to be static or belong to the Application also. What about the other scenario, where one activity launches another then calls finish(). Is

[android-developers] ActivityManager vs Socket

2010-04-07 Thread Tunneling
I'm trying to catch socket errors (invalid ip, wrong port, etc.). It seems like the ActivityManager is shutting me down before I have time to catch these errors. I really have no idea what's going on here. My splash screen Haus attempts to start the service from a thread, however when the thread

[android-developers] Re: Urgent : GPS timeout in android

2010-04-07 Thread Farha Ansari
can anyone please share with me the code for it. i really can't understand how to go about it. Thanks. On Apr 7, 6:16 pm, Brill Pappin br...@pappin.ca wrote: I'm doing that by using a Timer as a watchdog. It wakes periodically and checks to see if we have a fix yet. If it doesn't over a

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

2010-04-07 Thread Disconnect
This is getting me too :/ Its nice that its a free month, but it'd be better if it could be used ;) On Wed, Apr 7, 2010 at 8:01 PM, Dan Sherman impact...@gmail.com wrote: Has anyone been able to get their Droid transferred off the free month of service (through a Google Account), and onto

[android-developers] Re: My location not getting in real device

2010-04-07 Thread Beena
Thanks all, Its working fine. I missing updateLocation() that is why it was not working. Thanks again. On Apr 2, 2:28 pm, Vaikunth vaikunth.kraffs...@gmail.com wrote: Hi, Closing XML tag is not affecting. And my application working fine now. Hi Mark, The sample is still not working. In

[android-developers] Re: Urgent : GPS timeout in android

2010-04-07 Thread Farha Ansari
i m using background service On Apr 7, 6:16 pm, Brill Pappin br...@pappin.ca wrote: I'm doing that by using a Timer as a watchdog. It wakes periodically and checks to see if we have a fix yet. If it doesn't over a specified period of time, it can set a flag or generate an event to let the

Re: [android-developers] Re: How to save both Image and Text with SQLiteDatabase? And how to binding this images to a simpleCursorAdapter?

2010-04-07 Thread D.Y
Hi theSmith, Thanks for you advice, that's great. And AJ already provided a solution as the following link: http://groups.google.com/group/android-developers/browse_thread/thread/0eca3 333d32a314c/8f17cf4ea95964e0?lnk=raot Do you have sample project to debug and run? That

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

2010-04-07 Thread schwiz
http://androidplayground.net/web/ they have been spamming the market all day, hope someone can get them shut down. -- 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

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

2010-04-07 Thread JP
We've been chasing around over the last year or so but seem to have set up shop in the Netherlands. You could try to see if you could get them through their ISP Kaabelfon. On Apr 7, 9:01 pm, schwiz sch...@gmail.com wrote: http://androidplayground.net/web/ they have been spamming the market all

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

2010-04-07 Thread JP
Trigger happy tonight... On Apr 7, 9:05 pm, JP joachim.pfeif...@gmail.com wrote: We've been chasing them around over the last year or so but they seem to have set up shop in the Netherlands. You could try to see if you could get them through their ISP Kaabelfon. -- You received this

[android-developers] Re: how an activity transfers the value from one activity

2010-04-07 Thread Nubh
Please Suggest on the Storage part I need to save the values in a file, I am slightly confused whether to use Preferences or Databases , Please help, Actually I am in college working on a Project for submission. Thanks NUBH -- You received this message because you are subscribed to the Google

[android-developers] Re: how an activity transfers the value from one activity

2010-04-07 Thread Tunneling
I would recommend Preferences. On Apr 7, 11:10 pm, Nubh nubh.bharg...@gmail.com wrote: Please Suggest on the Storage part I need to save the values in a file, I am slightly confused whether to use Preferences or Databases , Please help, Actually I am in college working on a Project for

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

2010-04-07 Thread Pipen
Dear all, I create my dialog like this, Dialog dialog = new Dialog(this, R.style.popup); dialog.setContentView(R.layout.popup); dialog.setTitle(); TextView text = (TextView) dialog.findViewById(R.id.popupText);

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

2010-04-07 Thread Farha Ansari
How can I find out that the GPS provider has failed to get location in android? Thanks -- 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,

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

2010-04-07 Thread Kevin Duffey
What do you mean spamming the market? Where/how do I see this? I checked the just-in section of games and apps and am not sure what to be looking for? On Wed, Apr 7, 2010 at 9:07 PM, JP joachim.pfeif...@gmail.com wrote: Trigger happy tonight... On Apr 7, 9:05 pm, JP joachim.pfeif...@gmail.com

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

2010-04-07 Thread Maps.Huge.Info (Maps API Guru)
They've been adding spam comments to apps. -John Coryat -- 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

<    1   2   3   >