[android-developers] Reuse a control
Hi, What I would like to do is create a table layout one time that displays all the data I need and has the code that controls what happens when elements inside the table are clicked. I then want to add this control to each of my activities that need to show this table. As of right now I have all the XML and all the code duplicated on each page that the table needs to be on. Is there a way to do this in Android? If so is there also a way to create one for each of the different screen sizes(small,normal,large,x-large)? If anyone could send some links to examples or if it is simple just briefly explain the steps I need to take to do something like this I would greatly appreciate it! I know with .net I could create a custom User control and design the UI and add the code then I could just add a reference to the control on any webpage I wanted it on. This kept the code clean and short and if I needed to make a change I only had to do it in one place. That is the functionality I am looking for. Thanks in Advance for any help/input, Tommy -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
RE: [android-developers] Re: Nexus 7 has no menu button?
Yeah what is the app name, I might have access to a nexus 7. I do have access to a 4.0 tablet that does not have any hard menu keys. I'd be happy to take a look and see if I can find the menu. I would consider myself an above average user who should be able to find the menu if it really is there hidden someplace J From: android-developers@googlegroups.com [mailto:android-developers@googlegroups.com] On Behalf Of Francisco Marzoa Sent: Wednesday, September 19, 2012 5:46 PM To: android-developers@googlegroups.com Subject: Re: [android-developers] Re: Nexus 7 has no menu button? What's your app? Is on Google play? On Sep 19, 2012 11:36 PM, Keith Wiley kbwi...@gmail.com wrote: Well, that's fair. I'm not denying the the current release is a little old and targets older SDKs. The app could certainly benefit from some sprucing up. However, I wanted to verify whether the app *should* essentially work on modern hardware given that some users were emailing me saying they didn't know how to access the menus. There's a big difference between saying I ought to update my app when I get a chance to keep things smooth and modern and saying the app is effectively broken on modern hardware and won't work until I release an emergency patch to get it going again. I was just trying to get a better picture of the circumstances. I *think* this discussion has cleared it up, and I *think* my app should be working on modern devices, albeit through an OS sidedoor meant as a temporary fix until older apps are updated. I'll have to try to find a Nexus to test it on myself to be absolutely certain of the circumstances. Thanks again. On Wednesday, September 19, 2012 2:27:36 PM UTC-7, Fran wrote: What Mark said is that you did things the standard way, users without hard menu button will see a soft one. But if you did it another way, it won't be shown. So you should update your app. On Sep 19, 2012 11:08 PM, Keith Wiley kbw...@gmail.com wrote: On Wednesday, September 19, 2012 1:58:42 PM UTC-7, bob wrote: Many of the latest Android devices have eliminated the hard menu key found on earlier hardware. Consequently, it's now the responsibility of app developers to include soft menu keys in their apps. Um, forgive me, but this response seems fundamentally at odds with Mark's initial response. Which response is closer to the correct answer? Is my app inherently broken on such devices or not? Thank you. -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com mailto:android-developers%2bunsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
RE: [android-developers] Re: Nexus 7 has no menu button?
On my Acer Iconia Tab I get the soft menu represented by 3 horizontal lines on the toolbar at the bottom that contains the time and battery information. So it defently shows even if there isn't a hard button for the menu. I will say from experience it took me a while to figure out what button was the menu button on this thing as it was my first tablet and I was accustomed to seeing the word MENU as a hard button on the phone itself. Seems like it might just be an Id10T error. From: android-developers@googlegroups.com [mailto:android-developers@googlegroups.com] On Behalf Of Francisco Marzoa Sent: Wednesday, September 19, 2012 6:37 PM To: android-developers@googlegroups.com Subject: Re: [android-developers] Re: Nexus 7 has no menu button? Well, bear in mind that I was about to install the application just for helping you for free, so I am actually not interested on it enough to read the app description... Anyway I realized after writing my previous message that N7 has no phone at all, so that permission has no effect neither... so I installed the app and it actually SHOWS the menu soft button at bottom right as expected. May be some users are just special... On Sep 20, 2012 12:26 AM, Keith Wiley kbwi...@gmail.com wrote: OYE! We're off topic and this is a very common complaint. People butt heads with me over the permissions all. the. time. It's so frustrating. I do the best I can to explain these things up front on the Android Market (or Google Play [worst name ever]) but the Google Play interface is not amenable to disseminating this kind of information efficiently. For example, I offer an explanation for the various permissions right there on Google Play in the app description, but people don't read it anyway...and then they give me a hard time about the permissions even though I explained before they ever install the app! I can't stand it!!! :-D laughing-at-the-absurdity-of-the-situation The app is a spreadsheet. The ability to jump to the phone dialer was a specific user request (not even my idea) to enable users to tap phone numbers in spread sheets and jump to the dialer app to easy calling. It's really quite an intuitive concept when you think about it, I thought it was a fantastic suggestion from a user interfaced point of view, but you honestly would not believe how much grief I've gotten over it. On Wednesday, September 19, 2012 3:09:30 PM UTC-7, Fran wrote: Why it needs permission to call phone numbers? I rather like to try it on my N7, but no with such permission, indeed. On Sep 19, 2012 11:53 PM, Keith Wiley kbw...@gmail.com wrote: Shead Spreet Lite. I would also be curious about WildSpectra Mobile Lite. Since they are built in very similar ways (w.r.t. the basic OS framework and model) I expect their menu behavior to be similar such that verifying with either one should inform me about both...I presume. Thanks a bunch! On Wednesday, September 19, 2012 2:47:56 PM UTC-7, Fran wrote: What's your app? Is on Google play? On Sep 19, 2012 11:36 PM, Keith Wiley kbw...@gmail.com wrote: Well, that's fair. I'm not denying the the current release is a little old and targets older SDKs. The app could certainly benefit from some sprucing up. However, I wanted to verify whether the app *should* essentially work on modern hardware given that some users were emailing me saying they didn't know how to access the menus. There's a big difference between saying I ought to update my app when I get a chance to keep things smooth and modern and saying the app is effectively broken on modern hardware and won't work until I release an emergency patch to get it going again. I was just trying to get a better picture of the circumstances. I *think* this discussion has cleared it up, and I *think* my app should be working on modern devices, albeit through an OS sidedoor meant as a temporary fix until older apps are updated. I'll have to try to find a Nexus to test it on myself to be absolutely certain of the circumstances. Thanks again. On Wednesday, September 19, 2012 2:27:36 PM UTC-7, Fran wrote: What Mark said is that you did things the standard way, users without hard menu button will see a soft one. But if you did it another way, it won't be shown. So you should update your app. On Sep 19, 2012 11:08 PM, Keith Wiley kbw...@gmail.com wrote: On Wednesday, September 19, 2012 1:58:42 PM UTC-7, bob wrote: Many of the latest Android devices have eliminated the hard menu key found on earlier hardware. Consequently, it's now the responsibility of app developers to include soft menu keys in their apps. Um, forgive me, but this response seems fundamentally at odds with Mark's initial response. Which response is closer to the correct answer? Is my app inherently broken on such devices or not? Thank you. -- -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to
RE: [android-developers] School project help needed.
I had no concept of java or c++ I was a VB.net guy up until I needed to learn android. I just jumped right into Marks book as noted below and then started messing around with sample apps. If you have any programming background pickup up Java isn't hard as long as you know how to use google. If you get stuck, like I have in the past many times, ask a well thought out and detailed question to this forum and people WILL help, I have learned a lot from this forum. If you have 0 programming experience you might be in for a rough ride and you will want to make sure any project you come up with is rather basic or you may not have time to finish it. Learning how to design and layout your application is in my opinion the hardest part of android, but once you get it and figure it out it is smooth sailing from there. From: android-developers@googlegroups.com [mailto:android-developers@googlegroups.com] On Behalf Of Lew Sent: Wednesday, September 05, 2012 3:37 PM To: android-developers@googlegroups.com Subject: Re: [android-developers] School project help needed. Kristopher Micinski wrote: I don't think that Android is a significantly new API or programming Compared to what? environment, and if you know Java (and even if you don't, but know C++ or something similar-ish well enough) will be very easy to pick up.. You elide over the difficulties. Java is more than a language, it's an environment, and that environment is quite different between Android and other platforms. For example, you could go through years of standard or enterprise Java programming without every defining a UI in XML. If this is new to you, it takes some getting used to, and no amount of Java or C++ knowledge is directly applicable. If you have a year of time to do so, I'd start by doing the following: - reading the developer guide - playing with a bunch of the sample apps - perhaps buying a copy of Mark Murphy's android book (the commonsware guide) if you find yourself needing more explained examples of the API, etc... You consider a year easy to pick up? I consider three days easy to pick up. A year seems on the long end of what it should take to be competent at Android programming. -- Lew -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
RE: [android-developers] Getting the google voice synthesizer
I don't think the source code is available. What exactly are you needing to change? From: android-developers@googlegroups.com [mailto:android-developers@googlegroups.com] On Behalf Of TreKing Sent: Wednesday, August 29, 2012 5:48 PM To: android-developers@googlegroups.com Subject: Re: [android-developers] Getting the google voice synthesizer On Wed, Aug 29, 2012 at 3:31 PM, nikulau nmur...@gmail.com wrote: I need to edit a couple of things to de google voice synthesizer What is de google voice synthesizer? - TreKing http://sites.google.com/site/rezmobileapps/treking - Chicago transit tracking app for Android-powered devices -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
RE: [android-developers] scratching the surface
Here is a nice video tutorial. http://bit.ly/QvTjUv From: android-developers@googlegroups.com [mailto:android-developers@googlegroups.com] On Behalf Of Justin Anderson Sent: Wednesday, August 01, 2012 1:55 PM To: android-developers@googlegroups.com Subject: Re: [android-developers] scratching the surface Seriously... for a question like that... do a little homework. Step 1: Translate your question into searchable terms... maybe something like android glsurfaceview transparency Step 2: Type www.google.com in your browser's address bar Step 3: Search for the phrase you came up with in Step 1 Step 4: Figure it out on your own! Thanks, Justin Anderson MagouyaWare Developer http://sites.google.com/site/magouyaware On Wed, Aug 1, 2012 at 11:44 AM, bob b...@coolfone.comze.com wrote: Is there any way to make a GLSurfaceView that isn't 100% opaque? -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com mailto:android-developers%2bunsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
RE: [android-developers] Re: Sending image from server to app
See how this works. I'm not sure of your process but if you can send the URL of the image to the phone so it knows where to download from you can then use the following example. http://www.helloandroid.com/tutorials/how-download-fileimage-url-your-device From: android-developers@googlegroups.com [mailto:android-developers@googlegroups.com] On Behalf Of RichardC Sent: Wednesday, August 01, 2012 2:41 PM To: android-developers@googlegroups.com Subject: [android-developers] Re: Sending image from server to app Server sends message hey look here is a new image, phone then pulls new image from server It's is easier to pull as the phone knows where to store the incoming image and can just restart the pull if/when the connection drops mid transfer. On Wednesday, August 1, 2012 7:35:01 PM UTC+1, Wolfgang wrote: Thanks for the response. I have already gone through GCM tutorials and accomplished sending messages. I've also accomplished establishing a HTTP connection and sending strings back and forth between the server and app. So now I want to send an image from my server to the app with a HTTP connection. GCM does not accomplish this. I hope this cleared up what I'm trying to do. Suggestions? Thanks, -W On Wednesday, August 1, 2012 2:29:32 PM UTC-4, RichardC wrote: Google Cloud Messaging for Android http://developer.android.com/guide/google/gcm/index.html On Wednesday, August 1, 2012 7:21:15 PM UTC+1, Wolfgang wrote: Hi guys, I'm currently trying to send an image from my server to the app. I can't seem to find any good resources on the subject. My server is written in VB. Any suggestions or good resources? Thanks, -W -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
RE: [android-developers] Re: Sending image from server to app
Cool. That is the example I used to get images off our server to the phone. Let me know if that works for you. From: android-developers@googlegroups.com [mailto:android-developers@googlegroups.com] On Behalf Of Wolfgang Sent: Wednesday, August 01, 2012 3:05 PM To: android-developers@googlegroups.com Subject: [android-developers] Re: Sending image from server to app Thanks for the replies. I'm sorry, I am attempting to pull from the server. I should have worded my question better. Tommy, I'll give that example a try. -W -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
RE: [android-developers] scratching the surface
J From: android-developers@googlegroups.com [mailto:android-developers@googlegroups.com] On Behalf Of bob Sent: Wednesday, August 01, 2012 3:40 PM To: android-developers@googlegroups.com Subject: Re: [android-developers] scratching the surface This was the trick: setZOrderOnTop(true); By the way, excellent video. On Wednesday, August 1, 2012 1:19:34 PM UTC-5, Tommy wrote: Here is a nice video tutorial. http://bit.ly/QvTjUv From: android-developers@googlegroups.com [mailto:android-developers@googlegroups.com] On Behalf Of Justin Anderson Sent: Wednesday, August 01, 2012 1:55 PM To: android-developers@googlegroups.com Subject: Re: [android-developers] scratching the surface Seriously... for a question like that... do a little homework. Step 1: Translate your question into searchable terms... maybe something like android glsurfaceview transparency Step 2: Type www.google.com in your browser's address bar Step 3: Search for the phrase you came up with in Step 1 Step 4: Figure it out on your own! Thanks, Justin Anderson MagouyaWare Developer http://sites.google.com/site/magouyaware On Wed, Aug 1, 2012 at 11:44 AM, bob b...@coolfone.comze.com wrote: Is there any way to make a GLSurfaceView that isn't 100% opaque? -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com mailto:android-developers%2bunsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
RE: [android-developers] Search
Why not pass the text as extras to your search activity. Check out the first answer here http://stackoverflow.com/questions/2582690/android-passing-paramters-between -classes From: android-developers@googlegroups.com [mailto:android-developers@googlegroups.com] On Behalf Of TreKing Sent: Tuesday, July 24, 2012 5:05 PM To: android-developers@googlegroups.com Subject: Re: [android-developers] Search On Tue, Jul 24, 2012 at 1:24 PM, Jagadeesh mjagadeeshb...@gmail.com wrote: In My application two expandible list views are there in other actvity i have search screen , when iam searching from search screen how to get those texts which contains in expandible list how can i get can any one give some guide lines to finish this. Your question is not very clear. - TreKing http://sites.google.com/site/rezmobileapps/treking - Chicago transit tracking app for Android-powered devices -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
RE: [android-developers] Re: adb devices is showing the device as offline.what is reason? How can i switch the device from online - offline viceversa?
I usually just unplug the phone then re-connect it. That has always solved the problem for me. From: android-developers@googlegroups.com [mailto:android-developers@googlegroups.com] On Behalf Of Indicator Veritatis Sent: Monday, July 23, 2012 3:26 PM To: android-developers@googlegroups.com Subject: [android-developers] Re: adb devices is showing the device as offline.what is reason? How can i switch the device from online - offline viceversa? You are right to be skeptical of the answers already give you. Clearly, adb is running. But what is not clear is whether or not adb has already got itself into a confused state. Although I have not had the exact same problem you report, I have been able to address similar problems by stopping and then restarting the adb server: that is what I do when I know the device is there, but adb devices does not report it. And although I cannot think of why it would make a difference, it seems to work more reliably if I do this as superuser (on my development system, which runs Linux) than if I do it as a regular user. Of course, that is not much help to you if you have to run a monkey over night. But it might at least help you narrow down what the problem is. On Wednesday, July 18, 2012 12:00:45 AM UTC-7, Sreedhar Reddy V wrote: Hi I connected My android ICS device to my windows PC using USB. I executed adb devices from my pc. The output --- List of devices attached id device --- After a long time of say 12 hours, i ran the same command adb devices from my pc. The output --- List of devices attached id offline --- I am not sure what went wrong. i did not even touch my pc, and my device. I made settings in my PC so that it will never sleep. I am running monkey scripts which wont make android device to lock as well. Many people said that ur device is offline because adbd deamon is not running on android device. But this is wrong, why because if adbd is not running then the device will not be listed at all. I came across adbd deamon process which will be running on my android device. For my device to get detected by adb(server on my pc) adbd must be running. I went to adb shell I stopped adbd using the command stop adbd This stopped my adbd deamon on android device.because adbd is stopped mt adb(server on my pc will not detect my device) Now adbd is not running, I execute the adb devices command the output is, list of devices with empty list. The output --- List of devices attached --- because the device it self is not detected i cannot log in to adb shell again to start adbd adbd deamon on my device. so I shutdown and rebooted my android device, this made my adbd deamon to run again. Now when i executed adb devices on my PC The output --- List of devices attached id device --- By seeing this output it is very clear that adbd deamon is running on device, because if adbd is not running then the device will not be listed at all. Now the question is? what is the reason for the device to go to offline? (i am very sure that adbd deamon not running is not at all a reason for this.) How can i switch the device from online - offline viceversa? I am very very thank full to any android expert who solve my confusion. -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
RE: [android-developers] Re: Service launch issues
You can't run an activity in the background. You can start the service, have it run its code and save that data. When my app first starts after boot it goes right into a service. When the service is done I create a notification icon. When the user clicks the notification it then loads the Activity. The activity then pulls in the info the service gathered from the SQLlite DB. If you are using eclipse, turn debug on in the mainifest, then flip over to debug view in eclipse and you should be able to see the logcat. From: android-developers@googlegroups.com [mailto:android-developers@googlegroups.com] On Behalf Of Cythes Sent: Friday, July 13, 2012 5:11 PM To: android-developers@googlegroups.com Subject: [android-developers] Re: Service launch issues Alright first thing is first, I dont have logcat since I am running it all out of my phone. I know there is a way to get logcat to run with phone tethering. Also sorry for the cross post it seemed at the time the topic was dead so I wanted to post it over here to get a second look. On Friday, July 13, 2012 4:58:28 PM UTC-4, Nobu Games wrote: http://stackoverflow.com/questions/11476906/service-launches-then-crashes If you feel like cross-posting your own questions then please take the advice of the guys over at Stackoverflow seriously and post the exception message / log cat / stack trace, too. It crashes after 30 seconds can have a billion different reasons. -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
RE: [android-developers] Re: Service launch issues
Activities have to run in the foreground. Services run in the background. Maybe we are just misunderstanding. What exactly do you want to run in the background? From: android-developers@googlegroups.com [mailto:android-developers@googlegroups.com] On Behalf Of Cythes Sent: Friday, July 13, 2012 5:20 PM To: android-developers@googlegroups.com Subject: Re: [android-developers] Re: Service launch issues I seem to be getting This isn't possible quite a bit. I know I'm not a genius at this stuff in fact I'm far from it but every time someone says that I have been finding usable workaround's. Please note this is not me being cocky. Just something I am noticing. On Friday, July 13, 2012 5:04:25 PM UTC-4, MagouyaWare wrote: Wait, I just realized something... you are wanting your activity to run in the background? AFAIK this isn't possible... why are you wanting to do this? Thanks, Justin Anderson MagouyaWare Developer http://sites.google.com/site/magouyaware On Fri, Jul 13, 2012 at 2:58 PM, Nobu Games dev.nobu.ga...@gmail.com wrote: http://stackoverflow.com/questions/11476906/service-launches-then-crashes If you feel like cross-posting your own questions then please take the advice of the guys over at Stackoverflow seriously and post the exception message / log cat / stack trace, too. It crashes after 30 seconds can have a billion different reasons. -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com mailto:android-developers%2bunsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
RE: [android-developers] Re: Service launch issues
If I were you assuming everything is working now and your app isn't crashing, I would put the code you want to run in the background into your service. If you need to save any data save it to a SQLlite database or xml file or whatever. I would then create a notification icon in the top menu of the phone. When the user clicks the icon have it launch your activity there. Inside your activity either in onResume or onStart have it pull the most recent data from you DB or xml file. Now when the user closes your app it will stil have the service running and the next time the enter the app your activity will refresh itself from the database or other file. From: android-developers@googlegroups.com [mailto:android-developers@googlegroups.com] On Behalf Of Cythes Sent: Friday, July 13, 2012 6:42 PM To: android-developers@googlegroups.com Subject: Re: [android-developers] Re: Service launch issues Actually to be specific I am looking to make my main activity run from the service via intent. however if need be I can just take my code from the main activity, I can just put the code into the service. On Friday, July 13, 2012 5:39:22 PM UTC-4, Tommy wrote: Activities have to run in the foreground. Services run in the background. Maybe we are just misunderstanding. What exactly do you want to run in the background? From: android-developers@googlegroups.com [mailto:android-developers@googlegroups.com] On Behalf Of Cythes Sent: Friday, July 13, 2012 5:20 PM To: android-developers@googlegroups.com Subject: Re: [android-developers] Re: Service launch issues I seem to be getting This isn't possible quite a bit. I know I'm not a genius at this stuff in fact I'm far from it but every time someone says that I have been finding usable workaround's. Please note this is not me being cocky. Just something I am noticing. On Friday, July 13, 2012 5:04:25 PM UTC-4, MagouyaWare wrote: Wait, I just realized something... you are wanting your activity to run in the background? AFAIK this isn't possible... why are you wanting to do this? Thanks, Justin Anderson MagouyaWare Developer http://sites.google.com/site/magouyaware On Fri, Jul 13, 2012 at 2:58 PM, Nobu Games dev.nobu.ga...@gmail.com wrote: http://stackoverflow.com/questions/11476906/service-launches-then-crashes If you feel like cross-posting your own questions then please take the advice of the guys over at Stackoverflow seriously and post the exception message / log cat / stack trace, too. It crashes after 30 seconds can have a billion different reasons. -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com mailto:android-developers%2bunsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
[android-developers] Automated Email Setup Via XML
Hi all, I have done a bit of digging around on Google to try to find a way to auto generate an XML file that contains user info that will automatically setup their android phone to be used for Exchange/POP3. I just finished doing this for the iphone and it was pretty easy. I just used the .mobileconfig file as a template and replaced the needed values. The user then goes to the url I provide, it downloads the file and boom, they are set up. I can't seem to find anything about doing this on Android. Does anyone know how or does anyone have a link to a tutorial or example that explains how this is done? Thank you for your time, Tommy -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
[android-developers] AlarmManager not waiting to fire off alarm...
Hi everyone, I have a calendar feature in my app that the user will be able to select a day and time and set an event. My problem is if the date is the current date the alarmIntent fires off immediately, not waiting for the proper time. I have been running tests with it and I set the time for the current day and a few minutes in the future via a datePicker and a TimePicker. Below is my code. //Set Alarm alarmEvent = (AlarmManager)getSystemService(Context.ALARM_SERVICE); String ALARM_ACTION; ALARM_ACTION = EventAlarmReceiver.ACTION_EVENT_ALARM; Intent intentToFire = new Intent(ALARM_ACTION); Calendar cal = Calendar.getInstance(); cal.set(Calendar.DAY_OF_MONTH, dpEvent.getDayOfMonth()-1); cal.set(Calendar.MONTH, dpEvent.getMonth()); cal.set(Calendar.YEAR, dpEvent.getYear()); cal.set(Calendar.HOUR, tpAddEvent.getCurrentHour()); cal.set(Calendar.MINUTE, tpAddEvent.getCurrentMinute()); alarmEventIntent = PendingIntent.getBroadcast(this, 0, intentToFire, 0); int alarmType = AlarmManager.RTC_WAKEUP; long timeToNotify = cal.getTimeInMillis(); alarmEvent.set(alarmType, timeToNotify, alarmEventIntent); Now when I check the timeToNotify variable and use a website to convert the Millisecond time to regular time, it shows me the correct time that I set on the phone. I am confused as to why it fires off immediately. If I set the event for a day in the future it does not go off immediately. I will have to wait until tomorrow to verify that it does go off. Any help or input is greatly appreciated! Tommy -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
RE: [android-developers] Re: AlarmManager not waiting to fire off alarm...
tpAddEvent.getCurrentHour() returns 24 hour format. I updated Calendar.HOUR to Calendar.HOUR_OF_DAY but I have the same issue From: android-developers@googlegroups.com [mailto:android-developers@googlegroups.com] On Behalf Of Nobu Games Sent: Monday, July 02, 2012 5:51 PM To: android-developers@googlegroups.com Subject: [android-developers] Re: AlarmManager not waiting to fire off alarm... Just an educated guess. The documentation about the get method states, that alarm dates in the past will be triggered immediately, which is your case. Following line might be the problem because of a possibly wrong 12 / 24 hour conversion: cal.set(Calendar.HOUR, tpAddEvent.getCurrentHour()); What does tpAddEvent return? Is it in hour of day format? Then you need to rewrite the line to cal.set(Calendar.HOUR_OF_DAY, tpAddEvent.getCurrentHour()); If it is in 12 hour format, then you must also set AM/PM on your calendar: cal.set(Calendar.AM_PM, tpAddEvent.isAM() ? Calendar.AM : Calendar.PM); -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
RE: [android-developers] Re: AlarmManager not waiting to fire off alarm...
If I don't it gives me the following day for some reason. From: android-developers@googlegroups.com [mailto:android-developers@googlegroups.com] On Behalf Of Nobu Games Sent: Monday, July 02, 2012 6:43 PM To: android-developers@googlegroups.com Subject: Re: [android-developers] Re: AlarmManager not waiting to fire off alarm... Ok... another thing I just noticed: You are subtracting 1 day from your day of month, which would yield a date in the past. Is there a reason for that line of code: cal.set(Calendar.DAY_OF_MONTH, dpEvent.getDayOfMonth()-1); Maybe you confused that with the month. Months have the offset 0, not day of month. On Monday, July 2, 2012 5:31:32 PM UTC-5, Tommy wrote: tpAddEvent.getCurrentHour() returns 24 hour format. I updated Calendar.HOUR to Calendar.HOUR_OF_DAY but I have the same issue From: android-developers@googlegroups.com [mailto:android-developers@googlegroups.com] On Behalf Of Nobu Games Sent: Monday, July 02, 2012 5:51 PM To: android-developers@googlegroups.com Subject: [android-developers] Re: AlarmManager not waiting to fire off alarm... Just an educated guess. The documentation about the get method states, that alarm dates in the past will be triggered immediately, which is your case. Following line might be the problem because of a possibly wrong 12 / 24 hour conversion: cal.set(Calendar.HOUR, tpAddEvent.getCurrentHour()); What does tpAddEvent return? Is it in hour of day format? Then you need to rewrite the line to cal.set(Calendar.HOUR_OF_DAY, tpAddEvent.getCurrentHour()); If it is in 12 hour format, then you must also set AM/PM on your calendar: cal.set(Calendar.AM_PM, tpAddEvent.isAM() ? Calendar.AM : Calendar.PM); -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
RE: [android-developers] Re: AlarmManager not waiting to fire off alarm...
You know what. I must have been looking at the wrong variable when using getDayOfMonth. It seems to be working great now that I removed the - 1 after it. Sorry to have bothered everyone with such a dumb issue! Thanks for the help! I hate those 1d10T errors J From: android-developers@googlegroups.com [mailto:android-developers@googlegroups.com] On Behalf Of Nobu Games Sent: Monday, July 02, 2012 6:43 PM To: android-developers@googlegroups.com Subject: Re: [android-developers] Re: AlarmManager not waiting to fire off alarm... Ok... another thing I just noticed: You are subtracting 1 day from your day of month, which would yield a date in the past. Is there a reason for that line of code: cal.set(Calendar.DAY_OF_MONTH, dpEvent.getDayOfMonth()-1); Maybe you confused that with the month. Months have the offset 0, not day of month. On Monday, July 2, 2012 5:31:32 PM UTC-5, Tommy wrote: tpAddEvent.getCurrentHour() returns 24 hour format. I updated Calendar.HOUR to Calendar.HOUR_OF_DAY but I have the same issue From: android-developers@googlegroups.com [mailto:android-developers@googlegroups.com] On Behalf Of Nobu Games Sent: Monday, July 02, 2012 5:51 PM To: android-developers@googlegroups.com Subject: [android-developers] Re: AlarmManager not waiting to fire off alarm... Just an educated guess. The documentation about the get method states, that alarm dates in the past will be triggered immediately, which is your case. Following line might be the problem because of a possibly wrong 12 / 24 hour conversion: cal.set(Calendar.HOUR, tpAddEvent.getCurrentHour()); What does tpAddEvent return? Is it in hour of day format? Then you need to rewrite the line to cal.set(Calendar.HOUR_OF_DAY, tpAddEvent.getCurrentHour()); If it is in 12 hour format, then you must also set AM/PM on your calendar: cal.set(Calendar.AM_PM, tpAddEvent.isAM() ? Calendar.AM : Calendar.PM); -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
RE: [android-developers] Re: image show with zoom/pan
http://bit.ly/NqThF7 not that hard was it.. From: android-developers@googlegroups.com [mailto:android-developers@googlegroups.com] On Behalf Of guich Sent: Monday, July 02, 2012 8:33 PM To: android-developers@googlegroups.com Subject: [android-developers] Re: image show with zoom/pan nobody? -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
RE: [android-developers] Android + asp.net Web Service (returns data set) + SQL Server
I have a few .net REST webservices that my app connects to. I just return back a comma separated string. Then I parse that and toss that data into variables on the phone. From: android-developers@googlegroups.com [mailto:android-developers@googlegroups.com] On Behalf Of TreKing Sent: Sunday, July 01, 2012 7:26 PM To: android-developers@googlegroups.com Subject: Re: [android-developers] Android + asp.net Web Service (returns data set) + SQL Server On Fri, Jun 29, 2012 at 1:53 PM, Yamil Font ya...@imfont.com wrote: I have gotten to the point where the web service returns the correct information but I am not sure how to translate that information and display it in my android app. It's your information, correct? You're in control of the format the web service presents it in, correct? So just connect to your web service (see URLConnection) read the data, parse it, and do what you will with it. - TreKing http://sites.google.com/site/rezmobileapps/treking - Chicago transit tracking app for Android-powered devices -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
RE: [android-developers] centering
Well if you are using a RelativeLayout you can do android:layout_centerInParent=true From: android-developers@googlegroups.com [mailto:android-developers@googlegroups.com] On Behalf Of bob Sent: Thursday, June 21, 2012 4:36 PM To: android-developers@googlegroups.com Subject: [android-developers] centering This is probably an easy one, but I'm stumped. What is the best way to position a View object in the exact center of the screen? -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
RE: [android-developers] Please Help...Android 4.0.3 WebView Crash...
Good Idea. -Original Message- From: android-developers@googlegroups.com [mailto:android-developers@googlegroups.com] On Behalf Of Mark Murphy Sent: Wednesday, June 20, 2012 6:37 AM To: android-developers@googlegroups.com Subject: Re: [android-developers] Please Help...Android 4.0.3 WebView Crash... On Wed, Jun 20, 2012 at 1:12 AM, Tommy Hartz droi...@gmail.com wrote: There is no force close. It just closes to the main home screen :: shrug :: Don't know what to tell you. If you can create a sample app that demonstrates this problem, upload the source somewhere. -- Mark Murphy (a Commons Guy) http://commonsware.com | http://github.com/commonsguy http://commonsware.com/blog | http://twitter.com/commonsguy Android Training in DC: http://marakana.com/training/android/ -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
RE: [android-developers] Re: Career for a Android Developer
LOL I get it, it's funny because it's a play on words!!! Hahahaha. I don't find myself giggling alone a lot and this was one of those times From: android-developers@googlegroups.com [mailto:android-developers@googlegroups.com] On Behalf Of Nobu Games Sent: Wednesday, June 20, 2012 1:24 PM To: android-developers@googlegroups.com Subject: [android-developers] Re: Career for a Android Developer Here is some educational material about the salary structure https://www.google.com/search?q=celery+structurehl=enprmd=imvnstbm=isch; tbo=u -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
RE: [android-developers] Re: Help, eclipse does'nt show any errors, but app does'nt work on phone.
I too would recommend getting the feel for java and at least understand the basics of classes and syntax. Then I would recommend getting a Book Beginning Android by Mark L. Murphy the ISBN is 978-1-4302-2419-8 This book really helped me out and I only had a basic understanding of java, although I have had previous programming experience in VB. From: android-developers@googlegroups.com [mailto:android-developers@googlegroups.com] On Behalf Of Lars Sent: Wednesday, June 20, 2012 3:16 PM To: android-developers@googlegroups.com Subject: Re: [android-developers] Re: Help, eclipse does'nt show any errors, but app does'nt work on phone. Thank you I really appreciate you post=) I just misunderstood the point of this forum. You know any beginner forums?(english or danish). Den onsdag den 20. juni 2012 21.08.36 UTC+2 skrev Nobu Games: Hey Lars, good to see that you want to learn programming at your young age and picked Android for doing your first few steps. It's a great choice for that, in my opinion. But you need to understand that this forum is not meant to answer beginner questions. We actually assume that you already know programming and especially Java by your heart. And all your questions here clearly show that you still have quite some way to go. You should try and find a beginners level Java forum where people are glad to help you out with your questions. But anyway, keep up your spirit. I think playing around with existing code samples is the way to go. On Wednesday, June 20, 2012 1:53:26 PM UTC-5, Lars wrote: Eclipse (of some reason) tells me to type them, or i will get errors. I'm very new at making apps(+ I do this in my free time I'am fifteen years old). All do is: I read in my book trying to type in eclipse, and then i try to get help from here. -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
RE: [android-developers] Re: Help, eclipse does'nt show any errors, but app does'nt work on phone.
If you have any question feel free to email me off list and I'll see what I can do to help you. -Original Message- From: android-developers@googlegroups.com [mailto:android-developers@googlegroups.com] On Behalf Of Lars Sent: Wednesday, June 20, 2012 3:33 PM To: android-developers@googlegroups.com Subject: Re: [android-developers] Re: Help, eclipse does'nt show any errors, but app does'nt work on phone. That's okay dude:-) -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
[android-developers] Please Help...Android 4.0.3 WebView Crash...
Hi, On android 4.0.3 I have an Activity that contains a webview. This webview loads a Google Maps webpage that is stored on our servers. The Map is overlaid with a Radar. When I double tab to zoom in on the map my app crashes. It is crashing and gives me an error com.android.launcher/com.android.launcher2.Launcher (server)' ~ Channel is unrecoverably broken and will be disposed! Does anyone have any idea why this is happening? It seems to work fine on my phones 2.3.3 and 2.3.4 as well as a few other devices that I have tried it on. The table however is the one giving me the issue. It is an Acer A200 Thank you for your time, Tommy -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
RE: [android-developers] Please Help...Android 4.0.3 WebView Crash...
That's the weird part, it happens inside my app but I assume if it was a problem with my app it would happen on all devices. It seems like it might be a bug with WebView on 4.0.3 I was kind of hopeing someone else has seen the issue or knows about it. It only happens when I try to zoom in on the Google map that is inside the WebView. -Original Message- From: android-developers@googlegroups.com [mailto:android-developers@googlegroups.com] On Behalf Of Mark Murphy Sent: Tuesday, June 19, 2012 3:54 PM To: android-developers@googlegroups.com Subject: Re: [android-developers] Please Help...Android 4.0.3 WebView Crash... On Tue, Jun 19, 2012 at 1:47 PM, Tommy Hartz droi...@gmail.com wrote: When I double tab to zoom in on the map my app crashes. It is crashing and gives me an error com.android.launcher/com.android.launcher2.Launcher (server)' ~ Channel is unrecoverably broken and will be disposed! Unless you decided to name your app com.android.launcher, this message is not from your app and may have nothing to do with your problem. -- Mark Murphy (a Commons Guy) http://commonsware.com | http://github.com/commonsguy http://commonsware.com/blog | http://twitter.com/commonsguy Android Training in NYC: http://marakana.com/training/android/ -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
RE: [android-developers] Please Help...Android 4.0.3 WebView Crash...
There is no force close. It just closes to the main home screen -Original Message- From: android-developers@googlegroups.com [mailto:android-developers@googlegroups.com] On Behalf Of Mark Murphy Sent: Tuesday, June 19, 2012 6:14 PM To: android-developers@googlegroups.com Subject: Re: [android-developers] Please Help...Android 4.0.3 WebView Crash... If it is crashing (as in you get a Force Close-style dialog), there should be a Java stack trace at the end of your LogCat associated with that crash. On Tue, Jun 19, 2012 at 6:08 PM, Tommy Hartz droi...@gmail.com wrote: That's the weird part, it happens inside my app but I assume if it was a problem with my app it would happen on all devices. It seems like it might be a bug with WebView on 4.0.3 I was kind of hopeing someone else has seen the issue or knows about it. It only happens when I try to zoom in on the Google map that is inside the WebView. -Original Message- From: android-developers@googlegroups.com [mailto:android-developers@googlegroups.com] On Behalf Of Mark Murphy Sent: Tuesday, June 19, 2012 3:54 PM To: android-developers@googlegroups.com Subject: Re: [android-developers] Please Help...Android 4.0.3 WebView Crash... On Tue, Jun 19, 2012 at 1:47 PM, Tommy Hartz droi...@gmail.com wrote: When I double tab to zoom in on the map my app crashes. It is crashing and gives me an error com.android.launcher/com.android.launcher2.Launcher (server)' ~ Channel is unrecoverably broken and will be disposed! Unless you decided to name your app com.android.launcher, this message is not from your app and may have nothing to do with your problem. -- Mark Murphy (a Commons Guy) http://commonsware.com | http://github.com/commonsguy http://commonsware.com/blog | http://twitter.com/commonsguy Android Training in NYC: http://marakana.com/training/android/ -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -- Mark Murphy (a Commons Guy) http://commonsware.com | http://github.com/commonsguy http://commonsware.com/blog | http://twitter.com/commonsguy _The Busy Coder's Guide to Android Development_ Version 3.7 Available! -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
[android-developers] Google Maps Crash Insite WebView
Hi, On android 4.0.3 I have an Activity that contains a webview. This webview loads a Google Maps webpage that is stored on our servers. The Map is overlaid with a Radar. When I double tab to zoom in on the map my app crashes. It is crashing and gives me an error com.android.launcher/com.android.launcher2.Launcher (server)' ~ Channel is unrecoverably broken and will be disposed! Does anyone have any idea why this is happening? It seems to work fine on my phones 2.3.3 and 2.3.4 as well as a few other devices that I have tried it on. The table however is the one giving me the issue. It is an Acer A200 Thank you for your time, Tommy -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
RE: [android-developers] Android DPI problems
If I insert a picture will it come through on these posts? I am so confused as to why this isn't showing up correctly on phones that say they have a normal screen From: android-developers@googlegroups.com [mailto:android-developers@googlegroups.com] On Behalf Of Dianne Hackborn Sent: Thursday, June 07, 2012 4:28 PM To: android-developers@googlegroups.com Subject: Re: [android-developers] Android DPI problems You shouldn't be thinking about dpi at all. You will currently encounter devices with only 5 densities: 120, 160, 213, 240, 320. Every device will have one of those densities; 217dpi and 220dpi are not valid densities. You will care about this pretty much only for your graphics, though the platform will scale your graphics if it does. This is also relevant for text sizes and units used in layouts, but in those cases you just use sp or dp units and it is taken care of for you. So for your layouts you should basically not care about densities at all, just do your layouts in dp units as if you were on a medium density screen and let the platform take care of it for you. I strongly discourage the use of other units like in and mm -- many devices do not report the correct true physical density, so you unfortunately can't count on them working correctly. Fortunately you shouldn't need to, because 99% of the time you want to be operating in density units not true dpi. On Thu, Jun 7, 2012 at 12:44 PM, Tommy Hartz droi...@gmail.com wrote: Hey everyone, I am a little confused on something. I have created multiple layouts for different screen sizes. The problem I run into is that on my HTC Inspire I have a normal screen with ~217dpi, on the droid X it reports to have a normal screen but it has ~220 dpi. When I run my app it pulls the right layout but the images on the screen have huge spaces in between them yet on my HTC everything appears how it should. How can I avoid this issue? It is incredibly frustrating. -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com mailto:android-developers%2bunsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -- Dianne Hackborn Android framework engineer hack...@android.com Note: please don't send private questions to me, as I don't have time to provide private support, and so won't reply to such e-mails. All such questions should be posted on public forums, where I and others can see and answer them. -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
[android-developers] Android DPI problems
Hey everyone, I am a little confused on something. I have created multiple layouts for different screen sizes. The problem I run into is that on my HTC Inspire I have a normal screen with ~217dpi, on the droid X it reports to have a normal screen but it has ~220 dpi. When I run my app it pulls the right layout but the images on the screen have huge spaces in between them yet on my HTC everything appears how it should. How can I avoid this issue? It is incredibly frustrating. -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
RE: [android-developers] Android DPI problems
Well all of my layouts are using dp to specify the width/height of the images. Is there a way I can get what density the screen reports back to android and drop it in a toast or something so I can see which of the 5 it is? The phone that really gives me the issue is the Droid X. The dimensions are nearly idendical as far as resolution but I guess the Droid X has a higher density than the HTC Inspire. From: android-developers@googlegroups.com [mailto:android-developers@googlegroups.com] On Behalf Of Dianne Hackborn Sent: Thursday, June 07, 2012 4:28 PM To: android-developers@googlegroups.com Subject: Re: [android-developers] Android DPI problems You shouldn't be thinking about dpi at all. You will currently encounter devices with only 5 densities: 120, 160, 213, 240, 320. Every device will have one of those densities; 217dpi and 220dpi are not valid densities. You will care about this pretty much only for your graphics, though the platform will scale your graphics if it does. This is also relevant for text sizes and units used in layouts, but in those cases you just use sp or dp units and it is taken care of for you. So for your layouts you should basically not care about densities at all, just do your layouts in dp units as if you were on a medium density screen and let the platform take care of it for you. I strongly discourage the use of other units like in and mm -- many devices do not report the correct true physical density, so you unfortunately can't count on them working correctly. Fortunately you shouldn't need to, because 99% of the time you want to be operating in density units not true dpi. On Thu, Jun 7, 2012 at 12:44 PM, Tommy Hartz droi...@gmail.com wrote: Hey everyone, I am a little confused on something. I have created multiple layouts for different screen sizes. The problem I run into is that on my HTC Inspire I have a normal screen with ~217dpi, on the droid X it reports to have a normal screen but it has ~220 dpi. When I run my app it pulls the right layout but the images on the screen have huge spaces in between them yet on my HTC everything appears how it should. How can I avoid this issue? It is incredibly frustrating. -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com mailto:android-developers%2bunsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -- Dianne Hackborn Android framework engineer hack...@android.com Note: please don't send private questions to me, as I don't have time to provide private support, and so won't reply to such e-mails. All such questions should be posted on public forums, where I and others can see and answer them. -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
[android-developers] Any Thoughts on LiveCode runrev
I am not sure if this is the place to ask this but I thought some of you might have some input on the LiveCode RunRev software for mobile phone development. Is it any good? Is it worth putting in the time to learn how to use it or is it better to just use Eclipse for a pure android app and the other IDE's for say iphone and blackberry? Thanks for the input, Tommy -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
[android-developers] Is there a way to Bypass bluetooth and play directly through phone speakers
Hi, I was wondering if it is possible to play audio through the phone speakers while a Bluetooth headset is connected. It is important that this audio is played through the phone rather than the Bluetooth incase the Bluetooth is not in the persons ear. Thanks in advance, Tommy -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
RE: [android-developers] Is there a way to Bypass bluetooth and play directly through phone speakers
Thanks, I will give this a try and see what happens. No one would happen to have any links to some examples that do work so I am not screwing around with stuff? I don't have a Bluetooth so I have to export the app, send it to a co-worker who has one then have them try to get the right conditions to happen for the sound to go off. From: android-developers@googlegroups.com [mailto:android-developers@googlegroups.com] On Behalf Of vijay Badawadagi Sent: Monday, May 14, 2012 4:36 PM To: android-developers@googlegroups.com Subject: Re: [android-developers] Is there a way to Bypass bluetooth and play directly through phone speakers check Audio policy manager in Android, there is priority based routing changing that should help Thanks Vijay On Mon, May 14, 2012 at 3:23 PM, Tommy Hartz droi...@gmail.com wrote: Hi, I was wondering if it is possible to play audio through the phone speakers while a Bluetooth headset is connected. It is important that this audio is played through the phone rather than the Bluetooth incase the Bluetooth is not in the persons ear. Thanks in advance, Tommy -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com mailto:android-developers%2bunsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
RE: [android-developers] need help working with very large (photo) bitmaps
Jumping in kind of late here, but if memory is a huge deal couldn't you pass the image to a web service that will then handle all the manipulation then return the image URL, download it ,save it then clean up the file from the server via another REST request? And do this on images larger than X. -Original Message- From: android-developers@googlegroups.com [mailto:android-developers@googlegroups.com] On Behalf Of Jim Graham Sent: Wednesday, April 18, 2012 6:41 PM To: android-developers@googlegroups.com Subject: Re: [android-developers] need help working with very large (photo) bitmaps On Wed, Apr 18, 2012 at 03:28:11PM -0700, Streets Of Boston wrote: The size of the JPG/PNG file has almost nothing to do with the size of the corresponding image in memory. Hopefully those who HAVE been saying that will read this. An RGB_565 takes 2 bytes per pixel (5+6+5=16bits=2bytes). Yes, but you lose color detail...again, that goes directly against the entire objective of my app. For the goofy stuff, sure, RGB_565 is fine. But for photographic filters (solid color, graduated, split-field, fog, diffusion, etc. And given their semi-transparency, RGB_565 definitely isn't a fit for those bitmaps (which don't need to be full-sized until saving the photos with filters, and then there's only one bitmap with all of the combined filters).). An ARGB_ takes 4 bytes per pixel. This means a 5MPixel image will take 5M*2 = 10MByte in RAM when using RGB_565 or 5M*4=20MByte in RAM when using ARGB_. Hmm, here's a thought...is there a bitmap type that I missed, that has alpha values like ARGB_, but only uses 16-bit color? Those definitely don't need 24-bit color---only the actual photo needs 24-bit. I have an image editor in the market and I managed to process full-sized images, reverting back to RGB_565 when necessary. My image editor only applies *linear *filters. I.e. filters that modify every pixel in an image the same way, regardless of the pixel's position or its neighbors. This allows my app to chop up large images into smaller ones and deal with the smaller ones one by one. If not, i would need, at some point in time 2 copies of the image: The original and the modified. Can you point me to the right docs, tutorials, etc., to work out how to do that? Thanks, --jim -- THE SCORE: ME: 2 CANCER: 0 73 DE N5IAL (/4)| My spell checker eloped with a wiccan spooky1...@gmail.com| and I've not seen it since! Running FreeBSD 7.0 | ICBM / Hurricane: |(from news.admin.net-abuse.email) 30.44406N 86.59909W | Android Apps Listing at http://www.jstrack.org/barcodes.html -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
RE: [android-developers] If statement help and text displaying on the screen
What about this? string PleaseEnter = (EditText)FindViewById(R.id.PleaseEnter).getText(); if(PleaseEnter.equals(1)){ tv.setText(PleaseEnter); }else if(PleaseEnter.equals(2)){ tv.setText(PleaseEnter); } -Original Message- From: android-developers@googlegroups.com [mailto:android-developers@googlegroups.com] On Behalf Of Ma Sent: Thursday, February 23, 2012 2:44 PM To: Android Developers Subject: [android-developers] If statement help and text displaying on the screen I ran my code and in eclipse in the log it is showing under text the output as what my else statement is set to. I do not see this text on the screen. I am trying to compare a number to a number in my if statement. I have stated PleaseEnter as android:inputType=number in the layout. I have included some of the ways that I have tried to change my if statement to compare the values. I need help with 1. Having if statement validated to show what it needs to and 2. Have the output show on the screen. try PleaseEnter=(EditText)findViewById(R.id.PleaseEnter); { if (1.equals(PleaseEnter)) //(PleaseEnter.getText().equals(1)) //(PleaseEnter.equals(1)) { // tv.setText(This is the display 1); System.out.println(This is 1); } else if (PleaseEnter.equals(2)) System.out.println(This 2); else if (PleaseEnter.equals(3)) System.out.println(This 3); else System.out.println(That number is not recognized.); }} catch (Exception ex) -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
RE: [android-developers] Re: Windows 7 tablet
I just got the Acer Icona A200. It works GREAT with windows 7 and at 330$ is a great tablet. -Original Message- From: android-developers@googlegroups.com [mailto:android-developers@googlegroups.com] On Behalf Of bob Sent: Wednesday, February 22, 2012 10:14 AM To: Android Developers Subject: [android-developers] Re: Windows 7 tablet On Feb 21, 6:24 am, Kostya Vasilyev kmans...@gmail.com wrote: Don't almost all of them work? Some may require hacking the driver's inf file, some have official drivers. Out of the ones I have, Sony tablet S requires hacking, while Asus Tf101 has official drivers. I recommend the Sony over the Asus because of separate power and usb connectors. 21.02.2012 17:11 пользователь bob b...@coolfone.comze.com написал: Can someone recommend an Android tablet for me that definitely works for development on Windows 7? 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, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en I'm having trouble with the VIZIO tablet. Can you be specific about what hacking the inf file involves? 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, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
RE: [android-developers] Re: Button for dynamic text
Why not connect the button click event to a function EX public void onClick(View v) { Toast.makeText(Num.this, stringFunction(),Toast.LENGTH_SHORT).show(); } Public string stringFunction(){ If(whatever){ Return = Hello; } } From: android-developers@googlegroups.com [mailto:android-developers@googlegroups.com] On Behalf Of TreKing Sent: Wednesday, February 22, 2012 3:22 PM To: android-developers@googlegroups.com Subject: Re: [android-developers] Re: Button for dynamic text On Wed, Feb 22, 2012 at 2:13 PM, Pram goodp...@gmail.com wrote: when I try to use return in my if statement that does not work the tv statements do not show anything on the screen when it is executed. The code in your original post is extremely hard to read. Try a smaller snippet that illustrates what you're talking about. Have you put in logging and used your debugger to step through and see what the code is doing? - TreKing http://sites.google.com/site/rezmobileapps/treking - Chicago transit tracking app for Android-powered devices -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
RE: [android-developers] Re: Button for dynamic text
Copy and paste the code so I can see exactly what you have. -Original Message- From: android-developers@googlegroups.com [mailto:android-developers@googlegroups.com] On Behalf Of Pram Sent: Wednesday, February 22, 2012 5:47 PM To: Android Developers Subject: [android-developers] Re: Button for dynamic text At publicstring stringFunction(){ I am getting syntax error need ; to complete Field Decleration. On Feb 22, 3:39 pm, Tommy Hartz droi...@gmail.com wrote: Why not connect the button click event to a function EX public void onClick(View v) { Toast.makeText(Num.this, stringFunction(),Toast.LENGTH_SHORT).show(); } Public string stringFunction(){ If(whatever){ Return = Hello; } } From: android-developers@googlegroups.com [mailto:android-developers@googlegroups.com] On Behalf Of TreKing Sent: Wednesday, February 22, 2012 3:22 PM To: android-developers@googlegroups.com Subject: Re: [android-developers] Re: Button for dynamic text On Wed, Feb 22, 2012 at 2:13 PM, Pram goodp...@gmail.com wrote: when I try to use return in my if statement that does not work the tv statements do not show anything on the screen when it is executed. The code in your original post is extremely hard to read. Try a smaller snippet that illustrates what you're talking about. Have you put in logging and used your debugger to step through and see what the code is doing? -- -- - TreKing http://sites.google.com/site/rezmobileapps/treking - Chicago transit tracking app for Android-powered devices -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group athttp://groups.google.com/group/android-developers?hl=en -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
RE: [android-developers] SOAP on Android
I used KSOAP2 http://code.google.com/p/ksoap2-android/ it is pretty good. If you have the ability to go RESTful I would go that way. I converted all my services from SOAP to RESTful and it is noticeable more responsive. -Original Message- From: android-developers@googlegroups.com [mailto:android-developers@googlegroups.com] On Behalf Of bob Sent: Tuesday, February 21, 2012 3:40 PM To: Android Developers Subject: [android-developers] SOAP on Android Can someone point me towards a good example of how to use SOAP on 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, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
RE: [android-developers] Re : Save output data as XML
Just write to a file and save it as XML. http://stackoverflow.com/questions/1239026/how-to-create-a-file-in-android -Original Message- From: android-developers@googlegroups.com [mailto:android-developers@googlegroups.com] On Behalf Of vivek elangovan Sent: Tuesday, February 21, 2012 11:56 PM To: Android Developers Subject: [android-developers] Re : Save output data as XML Hi members, I want to develope an application where after entering the required input fields i want to save the output data as XML in my local (eg : memory card) . Is there any sample available ? -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
[android-developers] clearAnimation() Causes onAnimationEnd to fire Twice?? Please Help
Hi, I am trying to fade an ImageView Out, change the Image, then fade it back in. Here is the code I am using: private void fadeOut(){ AnimationSet myAnimationOut = new AnimationSet(true); myAnimationOut.setAnimationListener(new AnimationListener(){ @Override public void onAnimationEnd(Animation arg0) { currWeatherAdRotator.clearAnimation(); if(currAd == 0){ currWeatherAdRotator.setBackgroundResource(R.drawable.lbanner2); currAd = 1; }else if(currAd == 1){ currWeatherAdRotator.setBackgroundResource(R.drawable.lbanner3); currAd = 2; }else if(currAd == 2){ currWeatherAdRotator.setBackgroundResource(R.drawable.lbanner4); currAd = 3; }else if(currAd == 3){ currWeatherAdRotator.setBackgroundResource(R.drawable.lbanner1); currAd = 0; } fadeIn(); } @Override public void onAnimationRepeat(Animation arg0) { // TODO Auto-generated method stub } @Override public void onAnimationStart(Animation arg0) { // TODO Auto-generated method stub } }); It seems however that currWeatherAdRotator.clearAnimation(); causes this bit of code to run twice which messes up my sequence. If I remove currWeatherAdRotator.clearAnimation(); It creates a black flicker at the end of the animation. I have the fadeout feature set up on a timer that goes off every 15 seconds. I tried creating a new class that extends the ImageView (as I read was a work around) but when I do this I can't run my timers because I get an error when calling runOnUiThread. Basically I want to rotate through these image every 15 seconds continuously. Can someone please tell me how I can do this or what I am doing wrong? Thanks for your help! -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
[android-developers] Does anyone Use the SBA API for City Data?
Does anyone in this group use the SBA API for gathering city data? http://api.sba.gov/geodata/all_data_for_city_of/City/StateAbrev.xml ? I noticed this is now throwing an Internal server error 500. I have been unable to find any related posts on their site and was wondering if maybe any one else had any useful information about this. I use it to retrieve the county a certain city is in. Does anyone know of another way I could find this data out? I know this isn't exactly android related but I figured maybe someone else has either used these services or knows of another free service I can use to gather the county a city is located in. Thanks in advance -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
RE: [android-developers] good videos
This works pretty good. http://code.google.com/p/androidscreencast/ -Original Message- From: android-developers@googlegroups.com [mailto:android-developers@googlegroups.com] On Behalf Of bob Sent: Saturday, November 26, 2011 9:58 PM To: Android Developers Subject: [android-developers] good videos What can I use to make good videos of my Android games? I tried filming my tablet, but those videos are kind of low quality. -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
[android-developers] Default HttpTransportSE Timeout
Does anyone know the default timeout time for HttpTransportSE From: android-developers@googlegroups.com [mailto:android-developers@googlegroups.com] On Behalf Of ANKUR GOEL Sent: Wednesday, November 23, 2011 5:23 PM To: android-developers@googlegroups.com Subject: [android-developers] StackView of images how to achieve stack view for number of images horizantall scroll and i shud able to see the layers background when i move left to right one by one image should move -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
RE: [android-developers] Re: Extreme battery life
Have you considered a solar phone charger? http://www.rei.com/gear/feature/search/Google/solar%20charger?s_kwcid=TC|130 29|solar%20phone%20charger||S|e|8644334045cm_mmc=ps_google_CH-_-Category%20 -%20Nav%2fCom-_-Nav%2fCom_Solar_Charger_General-_-solar%20phone%20chargergc lid=CMzSxdazy6wCFQLj7QodmB--qA -Original Message- From: android-developers@googlegroups.com [mailto:android-developers@googlegroups.com] On Behalf Of Bret Foreman Sent: Tuesday, November 22, 2011 6:22 PM To: Android Developers Subject: [android-developers] Re: Extreme battery life On Nov 22, 2:52 pm, Mark Murphy mmur...@commonsware.com wrote: If you want, give me an idea of what sort of device you'd want to be running, and I can try to find something roughly equivalent here in my Secret Mountain Lair. I'll charge it up, put it on airplane mode, and let it sit for a couple of weeks, and we'll see what the battery level dropped to, with the stock battery. You could run that test too, of course, if you have a spare device lying around. While it wouldn't include the drain from your app, it'd at least give you an idea as to whether or not there's a prayer of it working for four months. Mark, that would be very nice of you. If it turns out that Android truly stops the CPU then I'm in business...I can shop around for the lowest sleep-mode power model with the fattest extended life battery. If it turns out the CPU is still running in some fashion then I don't think any phone will work. -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
RE: [android-developers] Re: Extreme battery life
Ah ok well best of luck with your endeavor! -Original Message- From: android-developers@googlegroups.com [mailto:android-developers@googlegroups.com] On Behalf Of Bret Foreman Sent: Tuesday, November 22, 2011 6:47 PM To: Android Developers Subject: [android-developers] Re: Extreme battery life On Nov 22, 3:33 pm, Tommy Hartz droi...@gmail.com wrote: Have you considered a solar phone charger? The environment is too dirty for a solar charger. It doesn't take much dust to cut the panel efficiency down to almost nothing. -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
RE: [android-developers] Re: Please Help with GPS Provider Switch
Well I am not using them at the same time. Here is my process. 1) Start with GPS, set timer for 30 seconds. If GPS has not got a location in that time my timer goes off and stops the GPS. I then request the Passive provider. I allow again 30 seconds for that. If nothing happens in 30 seconds the timer goes off, and starts my Network Provider. 2) Once the network provider gets called nothing happens it just sits there. 3) If I bypass the GPS and Passive the network provider works as it is suppose to. I am just trying to find out if I am doing something wrong or maybe there is a bug that screws the network provider up if the GPS provider has been requested and stopped before hand. Below is my original post with my code included: Hey, Right now when trying to get a user location I start with the GPS Provider. I have a timer set for 30 seconds, If a location is not found in 30 seconds the timer goes off and stops that location request. When that happens I move to the Passive Provider. After 30 seconds if a location is not found I stop the location request and move to the Network Provider. My issue is that when the network provider gets called it never does anything. If I start with the network provider it goes off just fine and returns a location back to me. Below is the code I am trying to use: gpsTimer.schedule(new TimerTask(){ @Override public void run() { startPassive(); } }, 3); currentTimer = GPS; locationManager.requestLocationUpdates(LocationManager.GPS_PROVIDER, 0, 0, locationListener); private void startPassive(){ locationManager.removeUpdates(locationListener); //Now we want to try for a Passive Fix currentTimer = Passive; passiveTimer.schedule(new TimerTask(){ @Override public void run() { startNetwork(); } }, 3); Looper.prepare(); Looper.myLooper().quit(); locationManager.requestLocationUpdates(LocationManager.PASSIVE_PROVIDER, 0, 0, locationListener); private void startNetwork(){ locationManager.removeUpdates(locationListener); currentTimer = Network; Looper.prepare(); Looper.myLooper().quit(); locationManager.requestLocationUpdates(LocationManager.NETWORK_PROVIDER, 0, 0, locationListener); any help or suggestions would be greatly appreciated. Thank so much in advance. -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
[android-developers] Best way to handle incoming call and Network connectivity
Hi everyone, I am trying to figure out the best way to handle this situation. My app will need to use the internet to check for certain things. Sometimes it is a multi part request, meaning I call one web service to get certain data pass it back to the phone and if needed call another web service. My question is what would be a good way to handle stopping these requests if a phone call comes in and it kills my network connectivity so I can avoid a force close? -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
RE: [android-developers] Re: Please Help with GPS Provider Switch
Good call I guess I could do all three at once then check to see which is more accurate. startNetwork does get called which is why its so why it is so weird. I though maybe I was doing some wrong. I'll give it a shot with all 3 and see what happens. Thanks for your time and input! -Original Message- From: android-developers@googlegroups.com [mailto:android-developers@googlegroups.com] On Behalf Of gjs Sent: Monday, November 21, 2011 9:22 PM To: Android Developers Subject: [android-developers] Re: Please Help with GPS Provider Switch Hi, Yes I understand what you are attempting, I was just suggesting doing all three at the same time in parallel , that way you'd have a results in 30 seconds or less not have to wait for up 90 seconds. And no I don't know why your network provider is no working, try adding some debug statement to see if startNetwork() is being called ok. Other suggestion is to use getLastKnownLocation(String). Regards On Nov 22, 5:00 am, Tommy Hartz droi...@gmail.com wrote: Well I am not using them at the same time. Here is my process. 1) Start with GPS, set timer for 30 seconds. If GPS has not got a location in that time my timer goes off and stops the GPS. I then request the Passive provider. I allow again 30 seconds for that. If nothing happens in 30 seconds the timer goes off, and starts my Network Provider. 2) Once the network provider gets called nothing happens it just sits there. 3) If I bypass the GPS and Passive the network provider works as it is suppose to. I am just trying to find out if I am doing something wrong or maybe there is a bug that screws the network provider up if the GPS provider has been requested and stopped before hand. Below is my original post with my code included: Hey, Right now when trying to get a user location I start with the GPS Provider. I have a timer set for 30 seconds, If a location is not found in 30 seconds the timer goes off and stops that location request. When that happens I move to the Passive Provider. After 30 seconds if a location is not found I stop the location request and move to the Network Provider. My issue is that when the network provider gets called it never does anything. If I start with the network provider it goes off just fine and returns a location back to me. Below is the code I am trying to use: gpsTimer.schedule(new TimerTask(){ @Override public void run() { startPassive(); } }, 3); currentTimer = GPS; locationManager.requestLocationUpdates(LocationManager.GPS_PROVIDER, 0, 0, locationListener); private void startPassive(){ locationManager.removeUpdates(locationListener); //Now we want to try for a Passive Fix currentTimer = Passive; passiveTimer.schedule(new TimerTask(){ @Override public void run() { startNetwork(); } }, 3); Looper.prepare(); Looper.myLooper().quit(); locationManager.requestLocationUpdates(LocationManager.PASSIVE_PROVIDE R, 0, 0, locationListener); private void startNetwork(){ locationManager.removeUpdates(locationListener); currentTimer = Network; Looper.prepare(); Looper.myLooper().quit(); locationManager.requestLocationUpdates(LocationManager.NETWORK_PROVIDE R, 0, 0, locationListener); any help or suggestions would be greatly appreciated. Thank so much in advance. -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
RE: [android-developers] Re: Please Help with GPS Provider Switch
The timer is there to only allow it to check for 30 seconds. Once the 30 seconds are up if it hasn't got a location it cancels the GPS and tries the Passive, after 30 seconds it stops the passive and goes to network. The problem is once it gets to the network nothing happens. From: android-developers@googlegroups.com [mailto:android-developers@googlegroups.com] On Behalf Of Deepu George Jacob Sent: Saturday, November 19, 2011 11:07 AM To: android-developers@googlegroups.com Subject: Re: [android-developers] Re: Please Help with GPS Provider Switch GPS never use timer it will automatically update At first check your is GPS enabled..It also done by programatically ... To check the location changed by using location.getSpeed(); location.getLatitude() some thing like that -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
RE: [android-developers] Re: Please Help with GPS Provider Switch
Thanks for the link, but it doesn't really explain why the network provider isn't kicking in after trying the GPS and Passive providers. -Original Message- From: android-developers@googlegroups.com [mailto:android-developers@googlegroups.com] On Behalf Of BelvCompSvs Sent: Thursday, November 17, 2011 11:50 PM To: Android Developers Subject: [android-developers] Re: Please Help with GPS Provider Switch http://www.youtube.com/watch?v=twmuBbC_oB8feature=player_embedded On Nov 16, 11:24 am, Tommy Hartz droi...@gmail.com wrote: Hey, Right now when trying to get a user location I start with the GPS Provider. I have a timer set for 30 seconds, If a location is not found in 30 seconds the timer goes off and stops that location request. When that happens I move to the Passive Provider. After 30 seconds if a location is not found I stop the location request and move to the Network Provider. My issue is that when the network provider gets called it never does anything. If I start with the network provider it goes off just fine and returns a location back to me. Below is the code I am trying to use: gpsTimer.schedule(new TimerTask(){ @Override public void run() { startPassive(); } }, 3); currentTimer = GPS; locationManager.requestLocationUpdates(LocationManager.GPS_PROVIDER, 0, 0, locationListener); private void startPassive(){ locationManager.removeUpdates(locationListener); //Now we want to try for a Passive Fix currentTimer = Passive; passiveTimer.schedule(new TimerTask(){ @Override public void run() { startNetwork(); } }, 3); Looper.prepare(); Looper.myLooper().quit(); locationManager.requestLocationUpdates(LocationManager.PASSIVE_PROVIDE R, 0, 0, locationListener); private void startNetwork(){ locationManager.removeUpdates(locationListener); currentTimer = Network; Looper.prepare(); Looper.myLooper().quit(); locationManager.requestLocationUpdates(LocationManager.NETWORK_PROVIDE R, 0, 0, locationListener); any help or suggestions would be greatly appreciated. Thank so much in advance. -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
[android-developers] Please Help with GPS Provider Switch
Hey, Right now when trying to get a user location I start with the GPS Provider. I have a timer set for 30 seconds, If a location is not found in 30 seconds the timer goes off and stops that location request. When that happens I move to the Passive Provider. After 30 seconds if a location is not found I stop the location request and move to the Network Provider. My issue is that when the network provider gets called it never does anything. If I start with the network provider it goes off just fine and returns a location back to me. Below is the code I am trying to use: gpsTimer.schedule(new TimerTask(){ @Override public void run() { startPassive(); } }, 3); currentTimer = GPS; locationManager.requestLocationUpdates(LocationManager.GPS_PROVIDER, 0, 0, locationListener); private void startPassive(){ locationManager.removeUpdates(locationListener); //Now we want to try for a Passive Fix currentTimer = Passive; passiveTimer.schedule(new TimerTask(){ @Override public void run() { startNetwork(); } }, 3); Looper.prepare(); Looper.myLooper().quit(); locationManager.requestLocationUpdates(LocationManager.PASSIVE_PROVIDER, 0, 0, locationListener); private void startNetwork(){ locationManager.removeUpdates(locationListener); currentTimer = Network; Looper.prepare(); Looper.myLooper().quit(); locationManager.requestLocationUpdates(LocationManager.NETWORK_PROVIDER, 0, 0, locationListener); any help or suggestions would be greatly appreciated. Thank so much in advance. -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
[android-developers] Help with GPS Provider Switch
Hey, Right now when trying to get a user location I start with the GPS Provider. I have a timer set for 30 seconds, If a location is not found in 30 seconds the timer goes off and stops that location request. When that happens I move to the Passive Provider. After 30 seconds if a location is not found I stop the location request and move to the Network Provider. My issue is that when the network provider gets called it never does anything. If I start with the network provider it goes off just fine and returns a location back to me. Below is the code I am trying to use: gpsTimer.schedule(new TimerTask(){ @Override public void run() { startPassive(); } }, 3); currentTimer = GPS; locationManager.requestLocationUpdates(LocationManager.GPS_PROVIDER, 0, 0, locationListener); private void startPassive(){ locationManager.removeUpdates(locationListener); //Now we want to try for a Passive Fix currentTimer = Passive; passiveTimer.schedule(new TimerTask(){ @Override public void run() { startNetwork(); } }, 3); Looper.prepare(); Looper.myLooper().quit(); locationManager.requestLocationUpdates(LocationManager.PASSIVE_PROVIDER, 0, 0, locationListener); private void startNetwork(){ locationManager.removeUpdates(locationListener); currentTimer = Network; Looper.prepare(); Looper.myLooper().quit(); locationManager.requestLocationUpdates(LocationManager.NETWORK_PROVIDER, 0, 0, locationListener); any help or suggestions would be greatly appreciated. Thank so much in advance. -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
[android-developers] Help with GPS Provider Switch
Hey, Right now when trying to get a user location I start with the GPS Provider. I have a timer set for 30 seconds, If a location is not found in 30 seconds the timer goes off and stops that location request. When that happens I move to the Passive Provider. After 30 seconds if a location is not found I stop the location request and move to the Network Provider. My issue is that when the network provider gets called it never does anything. If I start with the network provider it goes off just fine and returns a location back to me. Below is the code I am trying to use: gpsTimer.schedule(new TimerTask(){ @Override public void run() { startPassive(); } }, 3); currentTimer = GPS; locationManager.requestLocationUpdates(LocationManager.GPS_PROVIDER, 0, 0, locationListener); private void startPassive(){ locationManager.removeUpdates(locationListener); //Now we want to try for a Passive Fix currentTimer = Passive; passiveTimer.schedule(new TimerTask(){ @Override public void run() { startNetwork(); } }, 3); Looper.prepare(); Looper.myLooper().quit(); locationManager.requestLocationUpdates(LocationManager.PASSIVE_PROVIDER, 0, 0, locationListener); private void startNetwork(){ locationManager.removeUpdates(locationListener); currentTimer = Network; Looper.prepare(); Looper.myLooper().quit(); locationManager.requestLocationUpdates(LocationManager.NETWORK_PROVIDER, 0, 0, locationListener); any help or suggestions would be greatly appreciated. Thank so much in advance. -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
[android-developers] QR Code Question (the sort of barcode looking thing)
I was wondering how one gets the QR code(I think that's what its called) The sort of barcode looking thing that you can take a picture of and have it take you to the app on the market place. Is that provided for you by the market when you put your app up? Thanks for the help, Tommy -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
RE: [android-developers] Re: How to detect nearby devices
I think you are going to have to go with Studio LFP. Checking an update say ever 5 or 10 minutes with GPS won't kill the battery that fast. Atleast with my application it doesn't just don't leave the GPS listener open. I set an alarm to go off every X minutes, first I try a course location (off 3g or wifi) if I can't get a location I try a fine location (off GPS) I have had the app run for 24 hours in the background checking every 5 minutes and didn't notice much of a difference from when it wasn't running. -Original Message- From: android-developers@googlegroups.com [mailto:android-developers@googlegroups.com] On Behalf Of juankar Sent: Friday, October 07, 2011 3:00 PM To: Android Developers Subject: [android-developers] Re: How to detect nearby devices Wifi broadcast would be ideal, since it is less power-consuming than GPS, but is it possible to send a wifi broadcast from my application and other users with the same application can detect that broadcast and get the information from the emisor? If so, problem solved! If not, as Studio LFP said, my only idea in mind was updating (every 5 min, for example) with the latest location coordinates, upload to db, check for coords in range and then get the information from the users in range. However, that would obviously require having GPS turned on (or maybe not, if wifi or 3g can provide location coordinates) with the inherent battery draining :(. -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
RE: [android-developers] Re: Can I use google weather api in commercial app?
LOL, Seriously if you people would just use GOOGLE and SEARCH for these question you will find an answer. http://www.google.com/support/forum/p/apps-apis/thread?tid=18820aa4b444f705 http://www.google.com/support/forum/p/apps-apis/thread?tid=18820aa4b444f705 hl=en hl=en http://stackoverflow.com/questions/5307831/weather-apis-for-android as it is unsupported you will need to either find the TERMS OF SERVICE PROVIDED BY GOOGLE OR CONTACT GOOGLE YOURSELF AND ASK. I am under the impression from a blog post that the Weather API if for Google Gadget Use ONLY No one in this forum is going to be able to answer the legal questions for you. I suggest you use the NOAA/NWS apis for your weather needs. (NDFD) http://www.weather.gov/xml/ And I for one have never got a bad response from TreKing, he is one of the few who usually answers my questions right the first time. Learn how to ask questions in forums and you won't have issues in the future my friend. From: android-developers@googlegroups.com [mailto:android-developers@googlegroups.com] On Behalf Of TreKing Sent: Wednesday, August 03, 2011 3:50 PM To: android-developers@googlegroups.com Subject: Re: [android-developers] Re: Can I use google weather api in commercial app? Oh Jesus, here we go again. On Wed, Aug 3, 2011 at 2:39 PM, Abhishek Akhani abhishek.akh...@gmail.com wrote: If you know then reply I did know - I knew this post had nothing to do with Android ... so I replied ... don't be over-smart everywhere. I have no idea what over-smart means. Thank you? Why do you reply like this to every post?? I don't reply like this to every post. I reply to posts how I think they should be replied to. If a question has nothing to do with Android, then I state such in my reply. If a question is on topic I often try to help. Some people here seem to gloss over that fact ... You have some psychological problem or what? better you hire a psychiatrist Maybe, but psychiatrists are expensive. And I've already broken the bank on doctors trying to fix my bladder problems. Want to help me out? Buy my $3 app. If you don't the voices in my head will tell me where you live. - TreKing http://sites.google.com/site/rezmobileapps/treking - Chicago transit tracking app for Android-powered devices -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
RE: [android-developers] distance formula
http://tinyurl.com/3h259mn -Original Message- From: android-developers@googlegroups.com [mailto:android-developers@googlegroups.com] On Behalf Of bob Sent: Friday, July 01, 2011 4:48 PM To: Android Developers Subject: [android-developers] distance formula what's the formula for the distance between two GPS coordinates? -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
RE: [android-developers] distance formula
Lol you beat me to it L now I just feel like a copy cat From: android-developers@googlegroups.com [mailto:android-developers@googlegroups.com] On Behalf Of TreKing Sent: Friday, July 01, 2011 4:56 PM To: android-developers@googlegroups.com Subject: Re: [android-developers] distance formula On Fri, Jul 1, 2011 at 3:48 PM, bob b...@coolgroups.com wrote: what's the formula for the distance between two GPS coordinates? Dude: http://tinyurl.com/3zwsv6r - TreKing http://sites.google.com/site/rezmobileapps/treking - Chicago transit tracking app for Android-powered devices -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
[android-developers] ANR when sending broadcast from service...Please help
Hi, I am slightly confused as to why I am receiving an ANR when trying to send a broadcast from a service. Here is what is happening. I have a service that goes off every X minutes. If this service finds a valid reason to alert me it sends a broadcast if(validAlert == true){ sendBroadcast(Alertbroadcast); Log.i(WeatherDog,Valid Alert. User Alerted.); stopSelf(); } Now it seems that everytime the sendBroadcast(Alertbroadcast) is hit I get an android ANR that pops up with the following in logcat: ANR in X.X Reason: Executing service x.x/ .MyService Now if I hit wait on the error that comes up I find that my broadcast receiver worked properly and display's the Icon and text it needs to display. Does anyone have any idea what could be the issue? I have other broadcast/receiver I use elsewhere in the app that work without flaw. -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
RE: [android-developers] career in android
U r sofa king retarded -Original Message- From: android-developers@googlegroups.com [mailto:android-developers@googlegroups.com] On Behalf Of jeniffer hills Sent: Thursday, June 16, 2011 1:31 PM To: Android Developers Subject: [android-developers] career in android hey ol!! well m doin engg wid cs deptt. n rcntly m done wid my 4th sem xams. few dayz back i hv learnt about android apps n also registerd for the same. Though i hv learnt dat in future android may achieve sm demand in the market. still i hv a cnfusion regardin d CAREER IN ANDROID as android apps r used only in cellphones. dere is no pc or laptop wch is based on android apps so far. i hv several ques in my mind like 1. is dere any career in android apps? 2. hw good it is frm career point of view? 3. cellphons r smthing wch will olwayz be in demand so r dere sufficient nmbr of cmpanies dat provide gadgets based on android apps? 4. in outside country, is android a good technology wch hav a good demand and future as well? 5. in a career for engg, wat is more imprtnt? a good programming skills or knowldge of sch apps. ladies n gentlements plz go thru my quries n help me out by tellin me ol ups n dwns of android apps n guiding me for selecting a crrct path for a good future carrer. -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
RE: [android-developers] Where to start from for Internet Radio on Android
This might help get you started There are additional links through this forum link that might be of more use than the actual thread linked here. http://stackoverflow.com/questions/1965784/streaming-audio-from-a-url-in-and roid-using-mediaplayer From: android-developers@googlegroups.com [mailto:android-developers@googlegroups.com] On Behalf Of TreKing Sent: Friday, June 10, 2011 10:03 AM To: android-developers@googlegroups.com Subject: Re: [android-developers] Where to start from for Internet Radio on Android On Wed, Jun 8, 2011 at 6:12 AM, Mohammad mohamed...@gmail.com wrote: I need to develop an internet audio stream playback application. I do not know where to start from. My target is Android Froyo on TI's DM3730 Can somebody help or give me a pointer? Honestly, if you don't know where to start with an internet audio streaming app, you've probably bit off more than you can chew already. This is not a trivial undertaking. But you got to start somewhere and that would usually be with the basics: read the documentation and run through the samples. - TreKing http://sites.google.com/site/rezmobileapps/treking - Chicago transit tracking app for Android-powered devices -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
Re: [android-developers] List of task killers
Yeah those task killers do get in the way of my app as well. I had planned on putting a message up upon first instal after the TOS acceptance saying something like If you use a Task Killer be sure to set this application on the ignore list or suffer application issues On Thu, Oct 7, 2010 at 11:02 AM, { Devdroid } webnet.andr...@gmail.comwrote: Hi, The so called task killers are sort of pain in my *** as users keep using it w/o understanding it, so I decided to check installed apps to find out if TK is installed and if so, warn the user about the potential consequences. Anyone got by any chance list of such apps (or packages) to share? -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.comandroid-developers%2bunsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
Re: [android-developers] Widget Layout Help Please
Right I under stand that its a grid layout but my Icon is taking up 2 - 3 grid spacesHTC Aria shows you the grid space and mine is massive 2010/9/9 Kostya Vasilyev kmans...@gmail.com Home screen Widgets are laid out on a grid, so no matter how compact you make your layout, it won't get any closer to other widgets. Also, you should not be using pixel dimensions in the layout - use device-independent do units. -- Kostya Vasilyev -- http://kmansoft.wordpress.com 09.09.2010 23:42 пользователь Tommy droi...@gmail.com написал: Hi everyone, I am trying to make a widget to show on the home screen(s). My problem is lets say I set my icon to 30x30 when I load the widget on the screen the Icon is the correct size BUT the layout itself takes up a lot more space than what is actually needed. This means that I can't really place my widget next to other icons on the screen. Its like the bounding box is 3 times bigger than the content that fills it. How do I fix this? Here is my XML ?xml version=1.0 encoding=utf-8? RelativeLayout xmlns:android=http://schemas.android.com/apk/res/ android android:id=@+id/widget android:layout_width=30px android:layout_height=30px android:focusable=true ImageView android:id=@+id/widgWeatherIcon android:layout_width=30px android:layout_height=30px android:src=@drawable/asdf_widgettester /ImageView TextView android:id=@+id/widgCurrTemp android:layout_width=wrap_content android:layout_height=wrap_content android:text=100 android:layout_below=@id/widgWeatherIcon /TextView /RelativeLayout I have tried wrap_content and other width/height settings but nothing seems to reduce the Box around my widget content. Im super confused. I clicked on my ATK widget and started to drag it around on my HTC Aria and it shows the bounding box around the widget and that one is the same size of the content inside same with all the other widgets on my screens. Thanks so much for the help and advice! Tommy -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.comandroid-developers%2bunsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.comandroid-developers%2bunsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
Re: [android-developers] Re: Can I use my personal 'VERIZON' droid 2 as a dev device also?
Yeah Verizon is pretty cool about not restricting their line of phones. I have a Moto Droid that I use for testing as well as an HTC Aria(ATT) and I have no issues when it comes to testing my apps from eclipse On Tue, Aug 24, 2010 at 3:53 PM, Maps.Huge.Info (Maps API Guru) cor...@gmail.com wrote: If all you want to do is develop apps, then any approved Android device should work. There are some issues with the current stable of ATT devices in that they can't load apps from non-market sources, except when they are loaded from adb. If you have any doubt about a particular device, check to make sure there is a setting for development under: menu button-settings-applications-development: there should be a USB debugging option. I believe all Android devices have this. That's all you need to develop apps. On the other hand, if you want to develop Android itself or load a custom ROM, then you'll need to root the device. There is no inherent advantage to rooting for straight app development, at least as far as I know. -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 android-developers+unsubscr...@googlegroups.comandroid-developers%2bunsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
Re: [android-developers] hiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiii
GTFO with this crap. This is a developers forum not a religion forum On Wed, Feb 10, 2010 at 1:03 PM, chris harper ch393...@gmail.com wrote: If I wanted religion I would go to church. If I want to develop with the android community then I sign up with android-developers. Figure it out and please don't post religious email here. 2010/2/10 Ricardo A. Sá azeved...@gmail.com This is the religion.. http://www.thechurchofgoogle.org/ Relax fanatics.. Its just a jokey.. =) hugs 2010/2/10 Miguel Morales therevolti...@gmail.com I'm not a jew, I'm Christian. Mohammad was a prophet for the catholic church. Not of God, his teachings directly contradict God's word in the old testament. Ishmael was a bastard child, not part of Isaac's covenant. There is a covenant with Ishmael, but as it says in the old testament, it is not the chosen one. There is NO prophesy of a 'prophet' after the coming of Christ. When Jesus comes back and rules in Jerusalem, you will have a chance to repent. Only because God has mercy on you. Anyone who claims that Jesus was just a prophet is a liar and a hypocrite. They claim he was a prophet but don't believe what he said. The kuran is derived from the secret knowledge of the catholic church at the time. These are just facts coming from a book (the old testament) that muslims claim to believe in. YOU guys are agents of the anti-christ. I spread the good news of Christ. You reject him. Just look at the world, if God loved Muslims so much why are bombs falling on them and tearing their children apart? Why does Israel still exist? You are no better than jew pulling out the anti-semite card because of their inability to defend their words or actions. On Feb 10, 2010 5:15 AM, Abdul Mateen abmat...@gmail.com wrote: Mohammad(SAW) is the last prophet of God. This is the truth in your Bible also there are prophecies in Bible. I think you are a Jew or Illuminati worshiping Anti-Christ ( Dajjal ). On Tue, Feb 9, 2010 at 2:43 AM, Miguel Morales therevolti...@gmail.com wrote: Read the old testament, god's covenant is with isaac not ishmael. That's why israel still exist... -- You received this message because you are subscribed to the Google Groups Android Developers g... -- You received this message because you are subscribed to the Google Groups Android Developers... -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.comandroid-developers%2bunsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.comandroid-developers%2bunsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.comandroid-developers%2bunsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
Re: [android-developers] How to display unicode text received from a web API
what are you using on your webside to generate the XML? You may need to do special encoding of the text before sending it out. On Sat, Jan 30, 2010 at 10:03 AM, Marko Anastasov marko.anasta...@gmail.com wrote: Hello, I'm fetching some data from my web API that returns XML with content which includes escaped unicode characters. So there is content such as Izlo#382;ba which I need to display in a TextView as word Izložba. How can I do this? Right now these characters are either ommitted or displayed as that raw escaped value. -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.comandroid-developers%2bunsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
Re: [android-developers] Re: How to display unicode text received from a web API
Is the text being ommited when it is being sent from your webservice or are you getting the full correct text back to android then android is omitting stuff? On Mon, Feb 1, 2010 at 1:51 PM, Bob Kerns r...@acm.org wrote: How are you parsing the XML? It's the XML parser's job to understand this stuff, not yours. If you're taking the XML as text and trying to understand it -- don't. For example, DOM gives you getData() on a Text node, SAX informs you via a characters(...) method call, and XMLPull offers you getText(). Similar options apply if the text appears in an attribute. However, I'm puzzled that you say the characters are either omitted or I don't know who'd be omitting them. I'd be concerned that you have a font problem where it's not displaying that character. I'd be surprised at this for any of the system-supplied fonts for a European language, but for other fonts, it'd not be unusual to find one that only supports ISO 8859-1, for example, which does not include this character (though it's in ISO-8859-15). On Jan 30, 7:03 am, Marko Anastasov marko.anasta...@gmail.com wrote: Hello, I'm fetching some data from my web API that returns XML with content which includes escaped unicode characters. So there is content such as Izlo#382;ba which I need to display in a TextView as word Izložba. How can I do this? Right now these characters are either ommitted or displayed as that raw escaped value. -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.comandroid-developers%2bunsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
Re: [android-developers] Saving ListView Scroll Location?
Beautiful, what do I use to set it though? ListView. ? On Wed, Jan 20, 2010 at 5:47 PM, Joshua Frank frankjos...@gmail.com wrote: You can do somthing like this: setSelection(n) where n is the last selected location. I like to save this value in the preferences. @Override public boolean performItemClick(View view, int position, long id) { myMethodToSave(position); return true; } On Wed, Jan 20, 2010 at 1:04 PM, Tommy droi...@gmail.com wrote: Hi Devs, I'm trying to figure out how to save the location my ListView is scrolled to. Currently I am saving the ArrayList of the ListView. When the user comes back to the screen I reload the ArrayList but can't figure out how to make it scroll to the last location. -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.comandroid-developers%2bunsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -- Joshua Frank -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.comandroid-developers%2bunsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
Re: [android-developers] Re: Android Pirate Site
I would suggest contacting the company and informing them of their infringement of your software. If they refuse to remove it you have the right to get a lawyer. Check out this site http://www.justice.gov/criminal/cybercrime/ and on the right check out How to report intellectual property crime. The more people you can get in on this with you is also better. Especially if your app is normally a paid app. I hope that link helps you out. On Sat, Jan 16, 2010 at 1:18 PM, Greg Donald gdon...@gmail.com wrote: On Sat, Jan 16, 2010 at 11:09 AM, MakeMobile makemobileinnovati...@gmail.com wrote: I'd like to know what Google is doing about this, and who to forward abuse complaints to. You must be new around here. Google doesn't do support. But good luck all the same. -- Greg Donald http://destiney.com/ -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.comandroid-developers%2bunsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
Re: [android-developers] Re: Creating custom button looks?
Ok so its shape will changed based on the image I assign to it? On Fri, Jan 15, 2010 at 2:11 PM, theSmith chris.smith...@gmail.com wrote: use an imagebutton On Jan 15, 1:35 pm, Tommy droi...@gmail.com wrote: Hey, Is there a way to create a custom button style? Say I want a round button do I simply take the pre-made round graphic and make it the background of the button or will the button still be a rectangle? -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.comandroid-developers%2bunsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
Re: [android-developers] LocationManager.getLastKnownLocation Question
Hmm ok so how would you subtract the current time from that time to see if it is greater than say 20 minutes? On Thu, Jan 14, 2010 at 3:45 PM, Mark Murphy mmur...@commonsware.comwrote: Tommy wrote: Hey devs, Is there a way to get the time or date stamp of the last time the GPS was updated? Call getTime() on the Location object. Returns the UTC time of this fix, in milliseconds since January 1, 1970. http://developer.android.com/reference/android/location/Location.html#getTime%28%29 -- Mark Murphy (a Commons Guy) http://commonsware.com | http://twitter.com/commonsguy _Android Programming Tutorials_ Version 1.1 Available! -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.comandroid-developers%2bunsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
Re: [android-developers] LocationManager.getLastKnownLocation Question
Ah found my answer I need to use currentTimeMillis On Thu, Jan 14, 2010 at 3:49 PM, Tommy Hartz droi...@gmail.com wrote: Hmm ok so how would you subtract the current time from that time to see if it is greater than say 20 minutes? On Thu, Jan 14, 2010 at 3:45 PM, Mark Murphy mmur...@commonsware.comwrote: Tommy wrote: Hey devs, Is there a way to get the time or date stamp of the last time the GPS was updated? Call getTime() on the Location object. Returns the UTC time of this fix, in milliseconds since January 1, 1970. http://developer.android.com/reference/android/location/Location.html#getTime%28%29 -- Mark Murphy (a Commons Guy) http://commonsware.com | http://twitter.com/commonsguy _Android Programming Tutorials_ Version 1.1 Available! -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.comandroid-developers%2bunsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
Re: [android-developers] Re: LocationManager.getLastKnownLocation Question
I did it this way so the receiver will not be running the whole time. I don't need constant updates only when it is requested. I am also using the method you suggested in other areas. Thanks to everyone who submitted! On Fri, Jan 15, 2010 at 12:16 AM, Kumar Bibek coomar@gmail.com wrote: Why would you do that? While registering for location changes, you have an option to specify the time interval, and the displacement, so that only when these values are exceeded, the GPS provider will be updated. Have a look at the requestLocationUpdates method for LocationManager. Kumar Bibek On Jan 15, 2:13 am, Tommy Hartz droi...@gmail.com wrote: Ah found my answer I need to use currentTimeMillis On Thu, Jan 14, 2010 at 3:49 PM, Tommy Hartz droi...@gmail.com wrote: Hmm ok so how would you subtract the current time from that time to see if it is greater than say 20 minutes? On Thu, Jan 14, 2010 at 3:45 PM, Mark Murphy mmur...@commonsware.com wrote: Tommy wrote: Hey devs, Is there a way to get the time or date stamp of the last time the GPS was updated? Call getTime() on the Location object. Returns the UTC time of this fix, in milliseconds since January 1, 1970. http://developer.android.com/reference/android/location/Location.html. .. -- Mark Murphy (a Commons Guy) http://commonsware.com|http://twitter.com/commonsguy _Android Programming Tutorials_ Version 1.1 Available! -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.comandroid-developers%2bunsubscr...@googlegroups.com android-developers%2bunsubscr...@googlegroups.comandroid-developers%252bunsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.comandroid-developers%2bunsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
Re: [android-developers] Developing mobily?
I have a droid and I simply plug it in via usb, set usb debugging on the phone and you can target it from eclipse. I think you can do that will any android phone after configuring certain settings on the phone for development. On Tue, Jan 12, 2010 at 8:57 AM, Jhild jhildz...@gmail.com wrote: Does anyone have any clue if it's possible to develop on an android device or if it will happen anytime soon? -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.comandroid-developers%2bunsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
Re: [android-developers] Re: Getting data back from service?
Thanks I'll give this a try and read that article and see what I can do. Thanks again for your time. On Tue, Jan 12, 2010 at 3:06 PM, ponkin alexey.pon...@gmail.com wrote: Hello, This is from http://developer.android.com/reference/android/content/BroadcastReceiver.html A BroadcastReceiver object is only valid for the duration of the call to onReceive(Context, Intent). Once your code returns from this function, the system considers the object to be finished and no longer active. - it means that you can not just say: aa.notifyDataSetChanged (); your onReceive(Context, Intent) executes in different thread than your main activity. So you should use Handler(http:// developer.android.com/reference/android/os/Handler.html). I`d probably this way: public MainActivity extends Activity{ final static int UPDATE_STATIONS = 1; final Handler mainActivityHandler = new Handler(){ public handleMessage(Message msg){ switch(msg.what){ case UPDATE_STATIONS: String sname = msg.peekData().getString(StationName); String sloc = msg.peekData().getString(StationLoc); String ids = imsg.peekData().getString(Sid); String dist = imsg.peekData().getString(Distance); String stype = msg.peekData().getString(Types); Stations station = new Stations (sname,sloc,ids,dist,stype); stations.add(station); aa.notifyDataSetChanged(); break; } } public class StationReceiver extends BroadcastReceiver{ @Override public void onReceive(Context context, Intent intent){ Message mes = Mesage.obtain(mainActivityHandler, UPDATE_STATIONS); Bundle data = mes.peekData(); data.putString(StationName, intent.getExtras ().getString(StationName)); data.putString(StationLoc, intent.getExtras ().getString(StationLoc)); data.putString(Sid, intent.getExtras().getString (Sid)); data.putString(Distance, intent.getExtras().getString (Distance)); data.putString(Types, intent.getExtras().getString (Types)); mainActivityHandler.sendMessge(mes); mes = null; } } } Or to be more effective:) public MainActivity extends Activity{ final static int UPDATE_STATIONS = 1; final Handler mainActivityHandler = new Handler(){ public handleMessage(Message msg){ switch(msg.what){ case UPDATE_STATIONS: String sname = msg.peekData().getString(StationName); String sloc = msg.peekData().getString(StationLoc); String ids = imsg.peekData().getString(Sid); String dist = imsg.peekData().getString(Distance); String stype = msg.peekData().getString(Types); Stations station = new Stations (sname,sloc,ids,dist,stype); stations.add(station); aa.notifyDataSetChanged(); break; } } public class StationReceiver extends BroadcastReceiver{ WeakreferenceHandler mHandler = new WeakReferenceHandler (MainActivity.this.mainActivityHandler); @Override public void onReceive(Context context, Intent intent){ Handler target = mHandler.get(); if(target != null){ Message mes = Mesage.obtain(target, UPDATE_STATIONS); Bundle data = mes.peekData(); data.putString(StationName, intent.getExtras ().getString(StationName)); data.putString(StationLoc, intent.getExtras ().getString(StationLoc)); data.putString(Sid, intent.getExtras().getString (Sid)); data.putString(Distance, intent.getExtras().getString (Distance)); data.putString(Types, intent.getExtras().getString (Types)); target.sendMessge(mes); mes = null; } } } } } I hope this would help. On 12 янв, 22:17, Tommy droi...@gmail.com wrote: I have created an activity that calls a service. This service receive an XML feed and parse the info. Each time I get the info for a new station i want to send the details (Name,Id,Location all as string) back to my main activity so it can load it inside a list view. When I run my code inside the main activity it works. When I move it to a service I cant send the data back. This is what I have tried. After getting the current station info from I do this: submitStation(namer, loc, ids, dis, types); then: private void submitStation(String names, String loca, String idss, String diss, String typess){ Intent intent = new Intent(NEW_STATION_LISTING); intent.putExtra(StationName,names); intent.putExtra(Sid, loca); intent.putExtra(StationLoc, idss);
Re: [android-developers] Re: Calling .net webservice from app?
Yes a soap request gets boiled down to the same thing after u build the request from the calling language for the most part. I currently use ksoap2 to call a .net web service that returns a simple string file location On Jan 11, 2010 5:33 PM, Kumar Bibek coomar@gmail.com wrote: If you know the request/response structure, you can create you own requests without using kSoap. The apache Http Client that comes bundled with Android will provide you with everything. Kumar Bibek http://tech-droid.blogspot.com On Jan 12, 1:48 am, Kevin Duffey andjar...@gmail.com wrote: Is ksoap2 part of Android? I am int... On Mon, Jan 11, 2010 at 10:54 AM, Tommy droi...@gmail.com wrote: Hey Developers,I wa... android-developers+unsubscr...@googlegroups.comandroid-developers%2bunsubscr...@googlegroups.com android-developers%2bunsubscr...@googlegroups.comandroid-developers%252bunsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en... -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.comandroid-developers%2bunsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
RE: [android-developers] Re: Android Dev Phone with Verizon?
Ok, how would I be able to install my apps on the non dev phone? Is there a crack kind of like jail breaking and iPhone or would I need to upload it to the android market place and install it that way? Respectfully, Tommy Hartz | DBA WEBPRO the web people ™ Savannah GA. - 912.988.3065 | Charlotte NC. - 704.814.7277 | Toll 888.999.4887 *** CONFIDENTIALITY: The information contained in this email communication, including any attached documents or information, is confidential and may contain proprietary information or legally privileged information. This email communication is intended solely for use of the named addressee. The intended recipient may not use, copy, distribute, forward or otherwise disseminate any part of this email communication except as expressly permitted by WEBPRO International Inc. If the reader of this email communication is not the intended recipient, you are hereby notified that the use, copying, distribution, forwarding or other dissemination of any part of this communication is strictly prohibited. If you have received this email communication in error, please immediately notify us by calling 888-999-4887 or an e-mail message addressed to the following: mailto:le...@webpro.com *** -Original Message- From: android-developers@googlegroups.com [mailto:android-develop...@googlegroups.com] On Behalf Of schwiz Sent: Monday, January 04, 2010 2:20 PM To: Android Developers Subject: [android-developers] Re: Android Dev Phone with Verizon? I remember reading a hack somewhere a long time ago to enable the phones on verizon, but honestly if you are going to spend that much money on buying a dev phone, might as well save up an extra 100 bucks and buy yourself a droid if you are going with verizon. On Jan 4, 1:07 pm, to...@webpro.com to...@webpro.com wrote: I know the dev phones are sim unlocked will they also work with non sim carriers like verizon? -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
RE: [android-developers] Re: Android Dev Phone with Verizon?
Thank you for you advice. I'll just go with Verizon for the company dev phone. Respectfully, Tommy Hartz | DBA WEBPRO the web people ™ Savannah GA. - 912.988.3065 | Charlotte NC. - 704.814.7277 | Toll 888.999.4887 *** CONFIDENTIALITY: The information contained in this email communication, including any attached documents or information, is confidential and may contain proprietary information or legally privileged information. This email communication is intended solely for use of the named addressee. The intended recipient may not use, copy, distribute, forward or otherwise disseminate any part of this email communication except as expressly permitted by WEBPRO International Inc. If the reader of this email communication is not the intended recipient, you are hereby notified that the use, copying, distribution, forwarding or other dissemination of any part of this communication is strictly prohibited. If you have received this email communication in error, please immediately notify us by calling 888-999-4887 or an e-mail message addressed to the following: mailto:le...@webpro.com *** -Original Message- From: android-developers@googlegroups.com [mailto:android-develop...@googlegroups.com] On Behalf Of Mark Sent: Monday, January 04, 2010 2:45 PM To: Android Developers Subject: [android-developers] Re: Android Dev Phone with Verizon? Any phone can work as a dev phone. It doesn't need to be unlocked or rooted or anything. You just have to enable a few things in the phone settings. There is nothing special about the Google dev phones, they are just phones you can buy directly from Google if you don't feel like buying one from a cell service provider. And as to your original question, a GMS phone (phone that uses a SIM card) can not and will not ever work on Sprint or Verizon. The guy saying there is some hack to make that work is incorrect. On Jan 4, 2:35 pm, Tommy Hartz to...@webpro.com wrote: Ok, how would I be able to install my apps on the non dev phone? Is there a crack kind of like jail breaking and iPhone or would I need to upload it to the android market place and install it that way? Respectfully, Tommy Hartz | DBA WEBPRO the web people ™ Savannah GA. - 912.988.3065 | Charlotte NC. - 704.814.7277 | Toll 888.999.4887 *** CONFIDENTIALITY: The information contained in this email communication, including any attached documents or information, is confidential and may contain proprietary information or legally privileged information. This email communication is intended solely for use of the named addressee. The intended recipient may not use, copy, distribute, forward or otherwise disseminate any part of this email communication except as expressly permitted by WEBPRO International Inc. If the reader of this email communication is not the intended recipient, you are hereby notified that the use, copying, distribution, forwarding or other dissemination of any part of this communication is strictly prohibited. If you have received this email communication in error, please immediately notify us by calling 888-999-4887 or an e-mail message addressed to the following: mailto:le...@webpro.com *** -Original Message- From: android-developers@googlegroups.com [mailto:android-develop...@googlegroups.com] On Behalf Of schwiz Sent: Monday, January 04, 2010 2:20 PM To: Android Developers Subject: [android-developers] Re: Android Dev Phone with Verizon? I remember reading a hack somewhere a long time ago to enable the phones on verizon, but honestly if you are going to spend that much money on buying a dev phone, might as well save up an extra 100 bucks and buy yourself a droid if you are going with verizon. On Jan 4, 1:07 pm, to...@webpro.com to...@webpro.com wrote: I know the dev phones are sim unlocked will they also work with non sim carriers like verizon? -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group athttp://groups.google.com/group/android-developers?hl=en -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -- You received this message because you are subscribed
RE: [android-developers] Re: Android Dev Phone with Verizon?
Wonderful, I'll look around in the help files online and figure out settings need to be adjusted. Thanks again for the help Respectfully, Tommy Hartz | DBA WEBPRO the web people ™ Savannah GA. - 912.988.3065 | Charlotte NC. - 704.814.7277 | Toll 888.999.4887 *** CONFIDENTIALITY: The information contained in this email communication, including any attached documents or information, is confidential and may contain proprietary information or legally privileged information. This email communication is intended solely for use of the named addressee. The intended recipient may not use, copy, distribute, forward or otherwise disseminate any part of this email communication except as expressly permitted by WEBPRO International Inc. If the reader of this email communication is not the intended recipient, you are hereby notified that the use, copying, distribution, forwarding or other dissemination of any part of this communication is strictly prohibited. If you have received this email communication in error, please immediately notify us by calling 888-999-4887 or an e-mail message addressed to the following: mailto:le...@webpro.com *** -Original Message- From: android-developers@googlegroups.com [mailto:android-develop...@googlegroups.com] On Behalf Of Vladimir Sent: Monday, January 04, 2010 2:48 PM To: Android Developers Subject: [android-developers] Re: Android Dev Phone with Verizon? You wiil be able to install your apps on non dev phone OTA or over USB without issues. On Jan 4, 9:35 pm, Tommy Hartz to...@webpro.com wrote: Ok, how would I be able to install my apps on the non dev phone? Is there a crack kind of like jail breaking and iPhone or would I need to upload it to the android market place and install it that way? Respectfully, Tommy Hartz | DBA WEBPRO the web people ™ Savannah GA. - 912.988.3065 | Charlotte NC. - 704.814.7277 | Toll 888.999.4887 *** CONFIDENTIALITY: The information contained in this email communication, including any attached documents or information, is confidential and may contain proprietary information or legally privileged information. This email communication is intended solely for use of the named addressee. The intended recipient may not use, copy, distribute, forward or otherwise disseminate any part of this email communication except as expressly permitted by WEBPRO International Inc. If the reader of this email communication is not the intended recipient, you are hereby notified that the use, copying, distribution, forwarding or other dissemination of any part of this communication is strictly prohibited. If you have received this email communication in error, please immediately notify us by calling 888-999-4887 or an e-mail message addressed to the following: mailto:le...@webpro.com *** -Original Message- From: android-developers@googlegroups.com [mailto:android-develop...@googlegroups.com] On Behalf Of schwiz Sent: Monday, January 04, 2010 2:20 PM To: Android Developers Subject: [android-developers] Re: Android Dev Phone with Verizon? I remember reading a hack somewhere a long time ago to enable the phones on verizon, but honestly if you are going to spend that much money on buying a dev phone, might as well save up an extra 100 bucks and buy yourself a droid if you are going with verizon. On Jan 4, 1:07 pm, to...@webpro.com to...@webpro.com wrote: I know the dev phones are sim unlocked will they also work with non sim carriers like verizon? -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group athttp://groups.google.com/group/android-developers?hl=en -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
RE: [android-developers] Clickable hyperlinks in AlertDialog
you can set the android:autoLink=all or whatever attribute you need in place of all Respectfully, Tommy Hartz | DBA WEBPRO the web people ™ Savannah GA. - 912.988.3065 | Charlotte NC. - 704.814.7277 | Toll 888.999.4887 *** CONFIDENTIALITY: The information contained in this email communication, including any attached documents or information, is confidential and may contain proprietary information or legally privileged information. This email communication is intended solely for use of the named addressee. The intended recipient may not use, copy, distribute, forward or otherwise disseminate any part of this email communication except as expressly permitted by WEBPRO International Inc. If the reader of this email communication is not the intended recipient, you are hereby notified that the use, copying, distribution, forwarding or other dissemination of any part of this communication is strictly prohibited. If you have received this email communication in error, please immediately notify us by calling 888-999-4887 or an e-mail message addressed to the following: mailto:le...@webpro.com *** -Original Message- From: android-developers@googlegroups.com [mailto:android-develop...@googlegroups.com] On Behalf Of Thilo-Alexander Ginkel Sent: Sunday, January 03, 2010 10:11 PM To: Android Developers Subject: [android-developers] Clickable hyperlinks in AlertDialog Hello everyone, apologies if I missed something obvious... What I am trying to accomplish is to have clickable hyperlinks in the message text displayed by an AlertDialog. While the AlertDialog implementation happily underlines and colors any hyperlinks (defined using a href=... in the string resource passed to Builder.setMessage) supplied the links do not become clickable. The code I am currently using looks like this: new AlertDialog.Builder(MainActivity.this).setTitle( R.string.Title_About).setMessage( getResources().getText(R.string.about)) .setPositiveButton(android.R.string.ok, null) .setIcon(R.drawable.icon).show(); I'd like to avoid using a WebView to just display a text snippet, so any advice how to get this working is much appreciated! Thanks, Thilo -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en