**** BEGIN LOGGING AT Sat Aug 01 02:59:58 2009 Aug 01 03:43:27 KNY: I was going to say the same thing :-D Aug 01 03:43:50 well more like "it's less than 10% of what anyone would ever need" Aug 01 03:45:06 hahah Aug 01 03:45:09 I was paraphrasing Aug 01 03:50:17 Okay, this is freaky: http://www.youtube.com/watch?v=UNo6pn-dnSQ Aug 01 03:50:49 VMware on the Nokia N800 running Windows CE and Android in VMs Aug 01 03:51:07 yo dawg ... Aug 01 03:52:44 kroot, I had no idea the n800 was so powerful Aug 01 03:53:20 They're pretty nice, but I'm not a huge fan of Maemo.. Aug 01 03:53:31 It might be better now (I tried it when it first was released) Aug 01 03:55:00 Actually, I guess I tried it when it was on the N770 Aug 01 03:57:06 could anyone here point me to a tutorial that would help me figure out how to develop/write a basic android 1.5 app that uses magpie to pull and display a simple rss feed? Aug 01 04:03:26 wrb123, don't cross-post questions between the channels. Aug 01 04:03:50 im sorry to disrupt the channel on such an active/busy night Aug 01 04:04:17 haha Aug 01 04:04:22 my my, someone's a bit touchy tonight Aug 01 04:30:24 anyone here looking for a development team Aug 01 04:30:33 its so hard to find one Aug 01 04:31:25 has anyone used oauth for a app Aug 01 04:31:49 Radzell: it usually works better to start by writing cool code and then inviting people to help make it better, then to start by looking for people, who may or may not be interested in what you actually end up doing. Aug 01 04:32:07 mostly people won't be interested Aug 01 04:32:13 unfortunately Aug 01 04:33:48 cool i'm making a app that links with facebook, myspace blogger wordpress, yahoofire, linked in, twitter and pretty much every single social networking site out i already started Aug 01 04:34:31 really what i want to do is join someone project i dont like opensource though it is to inpersonal Aug 01 04:35:09 OSS is too impersonal? Aug 01 04:35:25 Radzell, just start by making a google code project Aug 01 04:35:33 if people are interested in joining, they will Aug 01 04:36:59 yeah i like talking and discussing in realtime most of the time with open source i just type the code and upload without talking much to anyone about changes Aug 01 04:37:19 Radzell, that all depends on how the project is run Aug 01 04:37:46 read a mailing list like lkml and tell me it doesn't get personal :-) Aug 01 04:38:41 haha Aug 01 04:39:02 Can anyone confirm that the SENSOR_DELAY values map to size of delay? ie: SENSOR_DELAY_GAME (1) is a shorter delay than SENSOR_DELAY_NORMAL (3) Aug 01 04:43:56 Is using the java.util.Timer and java.util.TimerTask the prefered classes used for Service events? I am having an unusual problem trying to get things to work. I created a very minimal program to show the behavior. Anyone willing to have a look and tell me what I am doing wrong? Aug 01 04:44:56 Heres the url : http://www.filesavr.com/gpsocial Aug 01 04:59:31 how do i pass an instance of a class to onItemListClick to manipulate the same data? Aug 01 05:02:20 i have -- Remote test = new Remote(ADDRESS, PORT) and test.listFiles() which creates an arraylist of files in a directory. that arraylist is then parsed in ArrayAdapter for a list view. Aug 01 05:03:06 onItemListClick, i can send a debug message that an item has been clicked, but my 'test' object can't been seen from that function. Aug 01 05:03:08 any ideas? Aug 01 05:03:19 is it public? Aug 01 05:03:27 make a function outside of it that it can call Aug 01 05:03:44 the object? yes. Aug 01 05:03:50 a function outside of what? Aug 01 05:04:05 tmb, pastebin what you have? Aug 01 05:04:32 oo .. outside of onItemListClick .. make a function that maniuplates the data i want .. Aug 01 05:04:36 pastebin? Aug 01 05:04:45 Is using the java.util.Timer and java.util.TimerTask the prefered classes used for Service events? I am having an unusual problem trying to get things to work. I created a very minimal program to show the behavior (2 classes). Any of you guys willing to have a look and tell me what I am doing wrong? Aug 01 05:04:52 pastebin.com Aug 01 05:04:58 http://www.filesavr.com/gpsocial Aug 01 05:04:59 post a link back here Aug 01 05:06:26 so, I want to write a nice little android app that authenticates via an appengine app. guessing I just have a browser in my app and bounce around a bit? anyone here doing such a thing? Aug 01 05:07:05 spackest, you can either use WebView or you can use HttpClient Aug 01 05:07:54 android.webkit has alot of the ssl stuff built in too... might have a look there. Aug 01 05:08:19 so, to login to a google app engine site with a google account, it has to physically bounce to google, so that is sounding like WebView, I guess? Aug 01 05:08:24 http://pastebin.com/d1ca110c7 Aug 01 05:08:28 wow .. that was neat Aug 01 05:08:58 thinking I want to upload android app data to an app engine site Aug 01 05:09:20 tmb, just make Remote an instance variable Aug 01 05:09:45 CrumbTracker, which to start, will just track everywhere your phone goes, adding other features over time Aug 01 05:10:05 create it within onItemListClick? Aug 01 05:10:55 my mytouch says something about usb debugging. does that mean I can deploy apps to it from say eclipse and debug them? :) Aug 01 05:11:18 http://pastebin.com/d6666d428 & http://pastebin.com/m2bbcf20 Aug 01 05:12:23 GPSocialUpdateServiceTimerWork() ... the debugger passes over it, no exceptions, nothing happens Aug 01 05:12:27 I dont get it Aug 01 05:15:14 spackest, yeah. Buy a G1 dev phone and you can deploy and debug on your phone. Aug 01 05:20:47 http://pastebin.com/d6666d428 & http://pastebin.com/m2bbcf20 Aug 01 05:21:21 can I just deploy to the marketplace and get it on my phone that way? maybe just mark my app alpha for awhile? Aug 01 05:22:36 is that just a touch too flaky? Aug 01 05:22:51 You can compile the APK, set you phone to install/run Unknown Sources Aug 01 05:23:05 then run it fine Aug 01 05:23:26 saw that in there, cool, sounds good Aug 01 05:23:38 Settings->Applications->->Unknown Sources Aug 01 05:29:15 ok .. so i set the Remote as an instance variable by placing right after the class, and before any functions Aug 01 05:30:08 i get stackoverflow and a forceclose Aug 01 05:31:28 oastebin Aug 01 05:31:31 pastebin, too Aug 01 05:33:55 http://pastebin.com/d3268e625 Aug 01 05:34:24 unless i'm not doing something right, which is likely. Aug 01 05:35:13 it looks like the error would be in Remote() Aug 01 05:36:31 what do i need to do to the Remote class to have it be global like i want it? Aug 01 05:37:16 your change shouldn't have caused a stackoverflow unless something is broken in Remote Aug 01 05:37:24 pastebin your error? Aug 01 05:39:20 http://pastebin.com/d42009ef4 <-- from logcat Aug 01 05:39:25 anyone here help out on the apps-for-android.googlecode.com code? Aug 01 05:39:45 not me Aug 01 05:39:49 cause, yeah, I used the webview example and have a browser in my emulator :) Aug 01 05:39:52 so, thanks :) Aug 01 05:40:04 tmb, oh, try not constructing the test object until onCreate() Aug 01 05:40:27 i do that, and onItemClickList can't see the object Aug 01 05:41:10 and i'm back where i started, needing to have the object malleable Aug 01 05:46:56 ok .. creating the object in onCreate allows me to maniuplate it there, but once i leave the onCreate method, it's done., kaput, finished over .. i can't access it from anywhere else anymore ... isn't there a way? creating the object outside of the methods .. but doing that creates a stack overflow .. which means i need to rewrite my class constructor .... Aug 01 05:46:57 right? Aug 01 05:48:23 or .. i could recreate the class everytime i needed to use it and have local variables store any necessary data that needs to be retained .. Aug 01 05:48:37 but that just seems like a waste of programming and bandwidth Aug 01 05:49:21 what on earth are you doing? Aug 01 05:49:22 * tmb needs a beer Aug 01 05:49:38 hehe --- ripping my hair out Aug 01 05:49:45 also, why are your objects creating each other? Aug 01 05:50:01 see, i have no idea what you mean by that Aug 01 05:50:22 i'm trying to apply single-flow c alorithms to an object-oriented seperate flow program Aug 01 05:51:08 yeah, I have a feeling you need to nuke it from orbit and try again Aug 01 05:51:15 and think about your flow this time Aug 01 05:51:21 very nooooOOO! Aug 01 05:52:08 what do you mean by "objects creating each other"? Aug 01 05:52:50 there's no reason why having what you had earlier should cause a stack overflow Aug 01 05:54:05 i agree .. and i shouldn't be having any issues .. Aug 01 05:54:21 soo .. let me try it under cupcake ... in stead of hero??? Aug 01 06:01:32 public class Remote extends mpRemote { Aug 01 06:01:36 i'll bet that's my problem Aug 01 06:02:34 haha Aug 01 06:02:35 exactly Aug 01 06:02:56 soo .. just remove the extends mpRemote? and i should be golden?? Aug 01 06:03:25 I don't know--I don't know what you're trying to do nor do I know what code you have Aug 01 06:03:33 take a step back and think about what you're doing Aug 01 06:04:25 hehe .. if i take a step back everytime i have something i can't figure out regarding java nad the android ui, i'll never get anything done and likely step my way out my window .. Aug 01 06:04:41 i've got backups, so if i bork my phone, i can restore .. Aug 01 06:04:50 this isn't a race Aug 01 06:05:00 true true .. Aug 01 06:05:25 but i can do all the thinking i want and still not know if it's going to work or not until i hit 'run' .. so Aug 01 06:06:48 and that was it! the app loads now. now i need to get things rolling. Aug 01 06:06:54 kny, thank you for the help Aug 01 06:24:57 Could anyone try my app on his device? => http://www.2shared.com/file/6940046/17b89d24/City_Tower_Defense.html Aug 01 06:25:05 what I need to know is fps when you swipe (aka push and 'move around') the screen and if its laggy or not Aug 01 06:27:27 so, I am calling this String provider = locationManager.getBestProvider(criteria, true); with what looks to be a valid criteria and my app just crashes Aug 01 06:27:59 the exception or whatever just gets swallowed. any ideas? Aug 01 06:28:27 spackest1: nothing in logcat? Aug 01 06:29:26 let me look, I wasn't looking there Aug 01 06:29:35 forgot it existed :) Aug 01 06:31:26 yip, got a null pointer in there, will have to dig around, thanks Aug 01 07:07:24 So, when Sony Ericsson releases their Android device with 400x800 resolution - does that mean game-developers have to create different sized graphics just like they do with JavaME? Aug 01 07:08:05 mr_lou: there is a compatibility mode for apps Aug 01 07:08:42 if you dont specify that you handle higher resoultion screens, your app still thinks its rendering onto 320x480 screen Aug 01 07:08:53 it just streches to fit larger screens when needed Aug 01 07:09:10 Oh.... and what about the other way around? It scales down too? Aug 01 07:09:38 no, the minimum spec for android devices is 320x480 Aug 01 07:09:41 Then it would make sense to make graphics in double-size, to support future devices. Aug 01 07:10:00 sure, you could do that, and scale them down Aug 01 07:10:04 but it would be a performance hit Aug 01 07:10:19 Yes... Aug 01 07:10:26 But... not much I think. Aug 01 07:10:54 also, the skia down-scale algorithm isnt the best looking Aug 01 07:11:01 bummer Aug 01 07:11:10 mkay then. Aug 01 07:11:29 So the best thing is to depend on the compatibility mode, which I'm guessing is a device-feature, and not something *I* code. Aug 01 07:11:29 *doing the scaling manually in gimp, or even using imagemagick would produce better results Aug 01 07:11:37 :-o Aug 01 07:11:41 actually, thats a great idea, just build all the assets in high-res Aug 01 07:11:54 then have an imagemagick script that bulk-resizes for other resolutions Aug 01 07:12:23 Ah yes of course. Android supports alpha transparency without problems. Not like JavaME. Aug 01 07:12:38 Such a trick wouldn't work with JavaME stuff. Aug 01 07:49:55 anyone played around with a mock location provider before? my guy is pretty well all set, and I change locations and I never get a callback Aug 01 08:13:10 hi Aug 01 08:38:10 i have elicpse 3.2 from ubuntu repository...i can use the android plugin for 3.3 version? Aug 01 08:42:25 has anyone use oauth for a ap i using a api and i can get it to callback to the app Aug 01 08:45:42 not a plugin for netbeans? :) Aug 01 08:58:45 vicente_: dont apt-get eclipse, just get the package from their site Aug 01 08:58:47 vicente_, I went through that yesterday. I've also ever only used NetBeans. Haven't tried a NetBeans plugin though. Instead I uninstalled v3.2 of Eclipse, and downloaded v3.5 online. Aug 01 08:59:36 thanks, sometimes ubuntu repository sucks Aug 01 10:10:50 hmm, mapview.getZoomControls() is deprecated, anyone know how to set the zoom controls location when using mapview.setBuiltInZoomControls(true) Aug 01 10:49:04 hmm i added a slidingDrawer to my app ontop of a relativelayout Aug 01 10:49:18 it works fine, but its "invisible", doesnt it get default graphics from somwhere? Aug 01 10:49:29 i only got it visible by setting android:background="#ff0000" Aug 01 10:49:43 (for both handle and content) Aug 01 11:51:11 hi all, can anyone help. I am getting the error "Unable to stop activity". Any ideas why this happens ? Aug 01 12:45:14 hi guys! does anybody have some experience to develop GUI on android platform? Aug 01 13:06:31 anyone idea why my MyLocationOverlay's location indicator disapperas after like a minute Aug 01 13:06:41 i have to restart the app and give a new location fix Aug 01 13:26:15 Can anyone tell me what "genious" at Google decided to call a Label for TextView and a Textfield for EditText? He must have thought "Hmm, what can we do to make things more complicated for developers? I know! We'll rename every common object to something else!" Aug 01 13:52:57 anyone dealt with gps stuff? Aug 01 13:53:14 the gps is updating just fine, i created a thread to test it via LocationManager Aug 01 13:53:25 but for some reason its not updating MyLocationOverlay in the maps api Aug 01 13:53:34 it only updates the first fix, after that it doesnt update any more Aug 01 14:23:24 um, hi everyone Aug 01 14:23:26 I'm going to pester you with silly questions just because. Aug 01 14:23:29 question one: Aug 01 14:23:30 is there a layout that allows me to specify exact x, y coordinates for subviews? Aug 01 14:31:07 AbsoluteLayout, but it's highly discouraged Aug 01 14:32:55 I have good reasons to do that Aug 01 14:33:09 I have a set of directly manipulable (draggable) screen elements. Aug 01 14:35:33 (grrr, IRC client glitched on me.) Aug 01 15:01:12 hi Aug 01 15:01:29 how can I draw a circle when the user touches the screen? Aug 01 15:23:59 im trying to write my first simple android app and can't work out how to obtain an integer from an edittext. Am I supposed to use .getText()? It returns an Editable Aug 01 15:27:43 do you know java? Aug 01 15:27:52 you just need to parse it Aug 01 15:27:59 oh i think i got it Aug 01 15:28:04 integer.parseint Aug 01 15:28:07 right? Aug 01 15:28:13 yep Aug 01 15:28:29 ty Aug 01 15:37:45 is there any error output from the android emulator? Aug 01 15:41:07 I'm pretty upset by the fact that while all the code in AbsoluteLayout is reasonable, the class is deprecated. Aug 01 15:41:24 I understand that when dealing with regular UIs it's abhorrent to go pixel-by-pixel Aug 01 15:41:39 but it DOES have its uses when layout isn't a concern, regardless of a device's resolution. Aug 01 15:48:11 deweylewie: look up android.util.Log, and open up the logcat perspective in eclipse Aug 01 15:52:55 Do I need to switch SDKs when developing for Donut? Aug 01 15:56:30 Or maybe I'm doing something else wrong. The app gets killed when launched from Eclipse, and when I try to launch it manually on the phone it says that it's not installed O_o Aug 01 15:56:45 Manually, as in take my finger and press the icon. Aug 01 15:57:41 go into settings and remove it by hand Aug 01 16:05:15 Queue29: Tried that and reinstalled. Same. Aug 01 16:06:39 is the icon in the tray or on the homescreen? Aug 01 16:11:30 Queue29: The tray (full app list) Aug 01 16:12:22 Very peculiar. I managed to launch it once, though I had forgotten to add a permission. After correcting that it wouldn't launch anymore. Aug 01 16:36:10 huh? "iPhone SDK 3.1 beta cannot be used for submitting iPhone OS 2.2.1 or iPhone OS 3.0 applications to the App Store." you can build 3.0 apps just fine Aug 01 16:36:41 oops kinda wrong channel Aug 01 16:36:52 valexa: just a bit, yeah Aug 01 16:38:32 :D Aug 01 17:15:03 someone can help me with this: http://www.anddev.org/viewtopic.php?p=25015#25015 ? Aug 01 17:15:21 i need to draw a circle when the user touches the screen Aug 01 17:25:46 gah, still cant get this gps stuff to work on the emulator Aug 01 17:26:00 i open my app which has a LocationListener Aug 01 17:26:15 then i set 'geo fix 30 30', and my listener says "location changed to 30,30" Aug 01 17:26:30 BUT, if i do 'geo fix 31, 31', nothing happens Aug 01 17:26:44 but if i PULL the location from the LocationManager, it gives me 31, 31 Aug 01 17:28:34 only the first 'geo fix' command goes all the way to the LocationListener Aug 01 17:28:48 but i can still pull the geo fix from the manager Aug 01 17:28:52 and this makes zero sense Aug 01 18:19:23 morning all Aug 01 18:19:26 http://code.google.com/p/android/issues/detail?id=2828 Aug 01 18:19:29 the reply Aug 01 18:19:55 I have a problem with my app recreating glthreads each time you pause / unpause Aug 01 18:21:55 meh might haveit Aug 01 18:24:08 or not Aug 01 18:26:43 hmm any ideas why Toast would not work? Aug 01 18:26:57 Toast.makeText(this, "Finding location...", Toast.LENGTH_SHORT); Aug 01 18:27:08 in a MapActivity Aug 01 18:28:10 i know it gets run, just nothing gets drawn Aug 01 18:29:34 hola Aug 01 18:30:06 arf, im being retarded again, nevermind Aug 01 18:30:32 .show() helps substantially Aug 01 18:35:08 meh gotta redo my engine.. it fux up when paused :/ Aug 01 18:35:29 pfft, in my day we didn't have pause Aug 01 18:35:38 and we liked it! Aug 01 18:35:46 yeah I'd like it as well ;p Aug 01 19:01:25 hi, is the MediaPlayer supposed to be able to stream ogg vorbis? Aug 01 19:01:40 Elleo, http://d.android.com/guide/appendix/media-formats.html Aug 01 19:01:47 my app will happily stream mp3 with it, but when I pass it a URL to a vorbis file it just hangs Aug 01 19:02:12 I know vorbis is supposed to be supported generally Aug 01 19:02:42 but are there any issues specifically with streaming it via the MediaPlayer class? Aug 01 19:38:15 How can i get where a scrollview is currently scrolled to? Aug 01 19:38:21 i want to save the state of it Aug 01 19:49:12 whats the easy/correct way to draw a Drawable on a Canvas? Aug 01 19:49:17 at x,y Aug 01 20:12:10 deebo, look at AnyCut (part of the apps-for-android project) Aug 01 20:12:51 already did BitmapFactory.decodeResource(...) and canvas.drawBitmap(...) Aug 01 20:12:52 worked nicely Aug 01 20:31:37 I've done some serious refactoring to an app that has both an Activity and a Service. The app is now dying when the Activity calls ConnectService. It looks like the interface to my service didn't get regenerated. How can I force regeneration in Eclipse? Aug 01 20:33:12 project -> clean Aug 01 20:37:09 Thanks, KNY. Looks like I have to go track down some other issues, though. Aug 01 20:39:10 there we go, restarted my engine.. ah well :) Aug 01 20:43:46 Is there any reason why the "Unmount SD card" doesn't change to "Mount SD card" when it's unmounted? I thought that's how it used to behave. Aug 01 20:44:00 hi guys, I have a problem when I tried to install an app in my android phone, the answer of my android is: this app could be not installed in this phone. the app is like "hello world" , so I made the .apk with eclipse, I saved it in my sd card, and then I tried to install it in y htc g1 Aug 01 20:44:07 Now you have to physically remove the SD card to get it to remount. Aug 01 20:44:15 someone can help me? Aug 01 20:45:24 fbesoain: You know you can use adb install file.apk Aug 01 20:45:33 fbesoain: How did you copy it to the SD card? Aug 01 20:46:30 kroot: the sd card should auto mount when you unplug Aug 01 20:46:55 kroot, yeah I did it Aug 01 20:47:07 is currently in my sd card like a .apk app Aug 01 20:47:13 fbesoain, stop trying to install via sd card Aug 01 20:47:29 fbesoain, http://d.android.com/guide/developing/device.html Aug 01 20:49:12 kny I will check the link and then i will write my comments thanks Aug 01 20:53:47 kny, I am working on linux Aug 01 20:54:01 fbesoain, congratulations Aug 01 20:54:04 in the web is just for windows vista , mac os Aug 01 20:54:09 wrong Aug 01 20:54:12 keep scrolling :) Aug 01 20:55:00 ok i am working on it Aug 01 20:55:28 also, it says "Ubuntu linux", but that set of instructions will also work on any other distro (well, as long as it uses udev, anyway. most do) Aug 01 21:02:57 kny,ok I did it, but when I tried to list my adb with adb devices , my laptop doesnt find anything Aug 01 21:03:24 you probably need to start adb as root or configure your udev rule properly Aug 01 21:03:46 try sudo $(which adb) kill-server && sudo $(which adb) devices Aug 01 21:03:54 ok Aug 01 21:04:37 sudo: kill-server: command not found Aug 01 21:05:13 adb isn't on your PATH Aug 01 21:05:32 is in a folder Aug 01 21:05:59 doesn't mean that your folder is on your PATH Aug 01 21:06:13 try replacing $(which adb) with the path to your adb executable Aug 01 21:06:25 ok Aug 01 21:06:40 fbesoain: also, make sure to unplug and re-plug your phone if you haven't already done so since creating the rule Aug 01 21:07:40 * daemon not running. starting it now * Aug 01 21:07:40 * daemon started successfully * Aug 01 21:07:40 List of devices attached Aug 01 21:08:59 and now: ./adb devices Aug 01 21:08:59 List of devices attached Aug 01 21:09:27 did you not start it as root? Aug 01 21:09:27 I am sorry if I am bothering so much, :-( Aug 01 21:09:35 sudo ./adb kill-server Aug 01 21:09:47 KNY: it doesn't need to be started as root... Aug 01 21:10:04 PSquid, yes it does, unless you configure your udev rules differently than they describe Aug 01 21:10:18 (on Ubuntu, anyway) Aug 01 21:10:18 nuh-uh Aug 01 21:10:23 oh right Aug 01 21:10:38 ok i did it Aug 01 21:10:54 I'm not on Ubuntu, and it works w/out root, with exactly the rules they give Aug 01 21:11:10 PSquid, then why are we having this debate? Aug 01 21:11:17 fbesoain, sudo ./adb devices Aug 01 21:11:25 KNY: good question... Aug 01 21:11:57 sudo ./adb devices Aug 01 21:11:58 List of devices attached Aug 01 21:11:58 emulator-5554 device Aug 01 21:12:45 and you have your device configured correctly? Aug 01 21:13:04 yeah Aug 01 21:13:50 sudo ./adb devices Aug 01 21:13:50 List of devices attached Aug 01 21:13:50 emulator-5554 device Aug 01 21:13:50 HT839GZ40123 device Aug 01 21:14:09 I am sorry I clicked now USB debugging Aug 01 21:14:14 :-) Aug 01 21:15:17 so now how I can install my app? Aug 01 21:15:30 hmpf, seems my app does it needs to for now Aug 01 21:15:37 just cant get LocationListener to work Aug 01 21:15:58 it only receives the first 'geo fix' command, rest are ignored, altho properly set as the gps location Aug 01 21:16:45 anyone had issues with gps updating on the emulator? Aug 01 21:17:53 kny, the last tip please, now how I can select install in my device? Aug 01 21:17:54 deebo: I've heard that complaint many times. Aug 01 21:18:13 kroot: guess its a feature of the emulator then Aug 01 21:18:14 fbesoain, either close your emulator or open your run configuration dialog and select "Manual" Aug 01 21:18:26 just annoying as hell, especially since theres no android hardware available here Aug 01 21:18:32 deebo, whenever I do GPS stuff, I just use the device :-/ Aug 01 21:18:33 deebo: which SDK are you using? Aug 01 21:18:39 1.5r3 Aug 01 21:19:16 the Listener never gets the new gps coordinates, even tho i can get them via LocationManager, so its just weird Aug 01 21:19:19 an annoying as hell Aug 01 21:22:27 someone can help me with this http://www.anddev.org/viewtopic.php?p=25015#25015 ? Aug 01 21:23:42 patrick91, just store the coords, call invalidate, and then in onDraw, read the coords and draw the circle Aug 01 21:23:56 KNY: mhm Aug 01 21:24:01 ok thanks :D Aug 01 21:25:06 I'm getting an exception at startup stating I must supply a layout_height attribute. I've checked all my layouts, and as far as I can tell i've always specified a layout_height. Is there any way of narrowing down which XML file is causing this? Aug 01 21:26:23 kny, here another question I have my code without warnings and it was working in the normal emulator but now in the real phone isn't working I have the error : this app is stopped Aug 01 21:28:59 do you know where it stops? Aug 01 21:30:01 no I dont know just says: app has stopped unexpectedly . please try again Aug 01 21:31:36 Add some Log.d calls Aug 01 21:31:44 and find out where it stops Aug 01 21:33:16 ugh, use an actual debugger Aug 01 21:33:47 99% of the time it's faster to debug by print Aug 01 21:34:02 because as soon as you see where is stops you know the problem Aug 01 21:34:07 whaledawg: don't pretend like you know what you're talking about Aug 01 21:34:23 what else would I pretend? Aug 01 21:34:26 elprespufferfish is right -- use a debugger. Aug 01 21:34:49 or, if you are getting ANR, just look at ... hmm, somewhere in /data is a trace file or all ANRs Aug 01 21:34:52 i think its in /data/trace/ maybe Aug 01 21:34:54 or /data/anr Aug 01 21:34:57 look around :) Aug 01 21:35:27 or take 30 seconds to throw logs in there and find the actual problem Aug 01 21:35:45 it's not the right way to do things at all Aug 01 21:36:00 whaledawg, now I know for why stops, is because I have a DB, but the DB is not with the data Aug 01 21:36:40 how I can pull the DB in the phone? cuz when I was looking for DDMS in data/data/app/db I can not find this path Aug 01 21:40:30 http://groups.google.com/group/android-developers/browse_thread/thread/6dab8d53c2954e76/b04529a7be10b6f8?lnk=gst&q=copy+database Aug 01 21:42:51 thank you. thats helpme a lot Aug 01 21:44:46 more than a debugger? ;) Aug 01 21:46:40 btw, the guy who answers that question (Mark Murphy) sells his android books on his site and I can't recomend them enough. 3 for $35 and I've found them super useful Aug 01 21:47:20 whaledawg: link? Aug 01 21:47:54 KNY: Well, there, my refactoring is now only breaking things I knew it was going to break. :) Aug 01 21:47:55 Hi, I want to do an application that depends on where I touch it shows different images, what should I read? Aug 01 21:48:11 Macarse: Have you done the "Hello, Android" tutorials? Aug 01 21:48:12 commonsware.com Aug 01 21:48:17 Poeir: yes. Aug 01 21:48:28 whaledawg: oh hes the writer, i have the first edition paperback Aug 01 21:48:39 nice book Aug 01 21:48:46 there's a paperback? Aug 01 21:49:00 I thought pdf was the only option lol Aug 01 21:49:22 Macarse: Okay. What I *think* you're going to want to dig up, and I'm not sure, is there's an "OnTouchEvent" or something like that. I remember running across it when I put my UI in place. As I recall, it gives you X and Y coordinates. Give me a moment to dig that out. Aug 01 21:49:40 i wanted a paperback so i can read while in transit etc Aug 01 21:49:57 Macarse: Here we go. Give the View.OnClickListener documentation a try. Aug 01 21:50:08 http://developer.android.com/reference/android/view/View.OnClickListener.html Aug 01 21:50:47 deebo: I just print stuff out at work and then throw it away as I go. But I hate trees :D Aug 01 21:51:06 is there any way at all to tell which layout is causing this runtimeexception? Aug 01 21:51:47 what's the matter elprespufferfish, your debugger isn't helping? Aug 01 21:51:49 :D Aug 01 21:51:55 .. Aug 01 21:52:10 whaledog: It's weird, I find adb better for tracking down problems than Eclipse's. Aug 01 21:52:31 adb switches views on me and I get vertigo Aug 01 21:52:46 I mean eclipse Aug 01 21:52:54 lol Aug 01 21:53:35 Poeir: thanks Aug 01 21:55:20 Poeir: I am willing to do something similar to this. http://es.wikipedia.org/wiki/Truco_argentino#Modo_de_anotar Two columns and when you move your finger down, it will add parts to those figures. Aug 01 21:56:27 Macarse: Most of what I've worked with so far has been with File I/O and the media libraries; so I'm afraid I won't be very helpful here. Aug 01 21:56:38 Poeir: what do you think it would be the best for that? I was thinking of a class holding images all with visible = false; and depending on where you touch it will turn visible to true. Aug 01 21:56:43 Poeir: k, thanks. Aug 01 21:57:01 Macarse: Well, I can talk design, but I don't know enough of the Android libraries to be able to say "Go use this library." Aug 01 21:57:23 (And my Java's not super-strong, either; Android's the first thing that has me doing it since 2003.) Aug 01 21:57:38 Poeir: np, I will try something out. Aug 01 21:57:39 thakns Aug 01 21:57:46 Macarse: Welcome. Aug 01 22:21:18 is there a way to outline views? Aug 01 22:21:26 im trying to figure out why there's space between these two items Aug 01 22:25:53 KNY: I tried your solution but it doesn't draw the circle :( Aug 01 22:26:27 KNY: here is the code: http://nopaste.me/4460 Aug 01 22:26:32 elprespufferfish: Isn't that handled by the padding setting? Aug 01 22:26:51 Poeir, i would think so, but I haven't set a bottom padding for the top element, or any padding for the bottom one Aug 01 22:28:15 Is it possible it's being inherited from something else? Some sort of global default? Aug 01 22:29:18 I would see the problem elsewhere, i would think Aug 01 22:29:26 i tried setting padding=0px anyways Aug 01 22:39:48 hey guys, I still trying to move my app from my emulator at my device, but in my device I need force to close the app, someone can tell me or give a link how make logs or any idea? Aug 01 22:42:01 Log.d("TAG", "message"); Aug 01 22:43:22 and if you're running it from eclipse, go to the bottom left corner an click on the +, then choose other-->Android-->LogCat and you'll be able to see them as they print Aug 01 22:45:57 thanks I will try with this Aug 01 22:46:03 well, if u r developing on linux(I don't know about windows and mac), i would suggest not to use logcat from eclipse, instead run it from a shell adb -s _emulator_ logcat otherwise eclipse logcat will hog system resources to the point that you can't use it Aug 01 22:46:29 "adb -s _emulator_ logcat" Aug 01 22:47:07 I've never had a resource problem with eclipse Aug 01 22:47:21 but it is java, so it's definatly possible Aug 01 22:51:13 lol I have read the log but it is weird for me., can I paste some code? Aug 01 22:51:52 put it up on pastebin and then link to it here Aug 01 22:54:26 http://pastebin.com/m420a3a21 Aug 01 22:55:14 your formatting makes me cry inside Aug 01 22:56:18 sorry Aug 01 22:58:44 is there any information about what happens exactly when a application is updated ? Aug 01 22:58:59 fbesoain, pastebin the exception you're getting Aug 01 23:00:31 elprespufferfish, this is the log http://pastebin.com/m77bff864 Aug 01 23:02:13 fbesoain, are you using eclipse? Aug 01 23:02:22 yes Aug 01 23:02:38 fbesoain, i suggest firing up the debugger Aug 01 23:02:51 it should stop when then exception is thrown Aug 01 23:02:56 you can then inspect the values of the variables Aug 01 23:03:09 do you understand how to read the stack trace? Aug 01 23:03:25 no, I cant understand that Aug 01 23:04:22 it shows the code path that caused your app to throw that exception Aug 01 23:04:40 so a NullPointerException was thrown from dms.group.dialer.DMSdialer.validatePhoneNumber Aug 01 23:04:44 which caused your app to forcequit Aug 01 23:05:29 validatePhoneNumber seems pretty simple, so i'd guess you're passing in a null number Aug 01 23:05:39 yeah Aug 01 23:05:52 ok, I will figure out more about that, Aug 01 23:06:05 String numero=_cursor.getString(_cursor.getColumnIndex(People.NUMBER)); Aug 01 23:06:05 numero= validatePhoneNumber(numero); Aug 01 23:06:18 most likely Aug 01 23:06:24 i didnt look at the line numbers Aug 01 23:06:27 but I cant understand why in the eclipse , + emulator my app works fine Aug 01 23:07:53 because it doesn't make a real call Aug 01 23:09:24 and also, your request code should be a class variable and not equal to zero Aug 01 23:24:18 With an AudioTrack, is there a way to say "Discard any data that has been written to you that you have not yet played?" Aug 01 23:32:15 ok, do layoutAnimation's need to be declared anywhere in particular? whenever I try to reference one eclipse compliens loudly about "android.content.res.Resources$NotFoundException: Could not find anim resource matching value 0x7F040000 (resolved name: layout_mainfadein) in current configuration.", despite the resolved name existing as a file of the appropriate type (the SDK found it to generate R after all) Aug 01 23:45:41 anyone here using Eclipse on Arch Linux for their app development? Aug 02 00:01:59 Could anyone help me find some guidelines for rss dowload and parsing? Completely new to androd development. Aug 02 00:16:54 hi Aug 02 00:17:09 im writing a game for the android platform and currently use a GLSurfaceView for drawing my game in OpenGL ES Aug 02 00:17:17 is there a way to use SurfaceView as layer on top to draw text and menus in an easy way? Aug 02 01:03:41 anyone succeeded in playing a video with the sdk ?? Aug 02 01:03:59 ive been trying for 3 hours...can't even get the apidemos video to work... Aug 02 01:24:03 hunter: are you launching a new intent with the video? Aug 02 01:43:04 hi all, how can i align my Textview at the right side of my imageView ? Aug 02 01:43:19 what i want is this ( Left 1 image, right 4 lines of text ) Aug 02 01:54:58 MikeYV, use a RelativeLayout Aug 02 01:58:43 yeah i know, i did something wrong, i putted the image in the layout and the text outside :) Aug 02 01:59:08 KNY: are you good with posting en getting XML ? Aug 02 01:59:25 i have an API and i want to send data to it and retrieve data from it Aug 02 02:01:50 MikeYV, it's not tough; just use SAX Aug 02 02:02:10 ok, is there enough docs ? Aug 02 02:02:21 yeah Aug 02 02:02:47 I think there's an entire book on SAX Aug 02 02:03:15 Bachelor's Guide to Good SAX by O'Reilly and Associates Aug 02 02:03:29 http://oreilly.com/catalog/9781886411777/ Aug 02 02:31:28 i just released ZooShaker on android. publicity anyone? Aug 02 02:44:19 zooshaker? :P Aug 02 02:45:58 hunterp_, why are you spamming this across the channels? :) Aug 02 02:45:59 "Shake the phone and watch the zoo come to you. Over 25 animals to choose from. Great for kids!" for the interested ppl :) Aug 02 02:52:08 where else would you spam it KNY? Aug 02 02:52:28 whaledawg, email, like a regular spammer! :P **** ENDING LOGGING AT Sun Aug 02 02:59:57 2009