**** BEGIN LOGGING AT Sat Jan 24 02:59:57 2009 Jan 24 03:00:08 is it against google's tos to sell an app that uses google maps? Jan 24 04:59:20 hello, does anyone know how i can get a mapview to display in terrain (topo) mode? i know the maps app can do it... Jan 24 05:08:06 maps app is closed source. it can do a lot. Jan 24 05:08:17 that said, i dunno if mapview can switch views or not. Jan 24 05:08:24 i'd bet not if its not obvious from the docs Jan 24 05:09:53 I see setSatellite(), setTraffice(), setStreetView()... Jan 24 05:09:57 that looks pretty obvious to me Jan 24 05:10:12 setSatellite sounds like the winner Jan 24 05:10:19 and yah, like i said, if its obvious.. :) Jan 24 05:10:30 :) Jan 24 05:21:47 satellite isn't the same thing as terrain. Jan 24 05:21:58 i cheched the docs Jan 24 05:23:09 terrain shows just topo lines, which show altitide and physical features Jan 24 05:24:12 romainguy: ..so there ;) Jan 24 05:30:15 wait, maps doesn't do that...uh i must have seen that somewhere else. Jan 24 05:30:20 my bad. Jan 24 06:46:43 hmm yea i wonder if there is a good reason why topo maps arent included on android Jan 24 07:49:24 yo I gots this problem with animation-list Jan 24 07:49:34 anyone know if there is a way to get a callback when the animation finishes? Jan 24 07:50:17 one alternative I thought of would require a way to manually register a callback from another thread? Jan 24 11:20:39 jsharkey: hehe, you commented on one of my bugs ;) Jan 24 11:20:41 yay Jan 24 11:20:46 lol Jan 24 11:20:50 yea i fixed it earlier this week Jan 24 11:21:05 needed it for home screen gadgets ;) Jan 24 11:21:51 what does CL mean? Jan 24 11:21:59 ohsry CL=changelist Jan 24 11:22:10 changelist? thats not a term i'd ever heard before Jan 24 11:22:21 perforce terminology i guess Jan 24 11:22:33 commit? :) Jan 24 11:22:40 kinda Jan 24 11:22:57 patchset? Jan 24 11:22:58 stuff becomes a changelist, and might get committed eventually Jan 24 11:23:04 yea patchset is more like it Jan 24 11:27:37 i thought you guys were moving to git Jan 24 11:28:15 yes, soon(tm) ;) Jan 24 11:29:49 :) how is your new job going Jan 24 11:30:29 lovin it ^^ Jan 24 11:30:43 ive been letting it take over my life tho Jan 24 11:30:54 need to make time for other open-source stuff Jan 24 11:31:23 i hope sergey and larry go crazy and start making you all wear silver jumpsuits Jan 24 11:31:29 like a james bond movie Jan 24 11:32:07 well, that would help facilitate moving staff to the moon later :P Jan 24 11:32:19 hehe lol Jan 24 11:39:53 jsharkey: yeah, other open source stuff :-) Jan 24 11:40:38 lol Jan 24 11:40:46 the shift and alt keys not actually working the same way on the emulator is maddening Jan 24 11:40:49 ive been meaning to peek at how easy it is to add custom keys to the keyboard Jan 24 11:41:13 to give an ime with / and tab ;) Jan 24 11:41:31 jsharkey: All you have to do is get some resin and pour it into a mold... then pop the resulting key into the keyboard.. Jan 24 11:42:54 lol Jan 24 11:43:22 hmm resin -> Bitmap and mold -> 9patch Jan 24 11:44:17 jsharkey: you just joined the google army? Jan 24 11:44:31 TD: yea ~month ago Jan 24 11:44:37 nice. welcome aboard :) Jan 24 11:45:30 you work for google? Jan 24 11:45:46 yes. but not on android. Jan 24 11:46:00 i am here in my alter-ego as a regular droid app developer. Jan 24 11:46:05 ah cool, looks like switzerland? Jan 24 11:46:12 right, in the zurich office Jan 24 11:47:00 jsharkey: were you working on android before you got hired? Jan 24 11:47:17 yea, since the first drop over a year ago Jan 24 11:47:30 *sdk drop Jan 24 11:47:41 that's awesome. i didn't realise we were hiring external contributors already. Jan 24 11:48:29 actually, was i the first? idk Jan 24 11:48:37 i have no idea. Jan 24 11:48:46 i doubt it tho Jan 24 11:48:48 so what are you working on exactly? Jan 24 11:49:36 if you could fix the alarm clock that'd be perfect :) Jan 24 11:49:42 well, contacts stuff mostly to begin with, but now gadgets ^^ Jan 24 12:30:03 \ð/ switzerland Jan 24 12:34:48 you live here too? Jan 24 12:38:20 * TD has to head out for a bit. bbl Jan 24 14:27:33 Hi, I need help on service development Jan 24 14:27:50 esses: sup? Jan 24 14:29:56 have you seen the post before my ex-nick esses disconnected? Jan 24 14:30:37 i don't know ow to solve this issue :-( Jan 24 14:32:24 sorry no. i just reconnected. Jan 24 14:32:37 could you repeat the problem? Jan 24 14:33:49 yes I've a service and some methods I wrote in aidl and then cnverted into servie interface . I use this methods to send and get values from and to the service Jan 24 14:34:46 but It seems that this methods aren't called on onServiceConnected Jan 24 14:35:25 but It seems that this methods aren't called on onServiceConnectedpointerexception Jan 24 14:35:27 1334.48 you live here too? Jan 24 14:35:30 yep : ) Jan 24 14:35:34 eldenz: which part? Jan 24 14:35:39 zh Jan 24 14:35:51 you are from zurich as well, right? Jan 24 14:35:54 cool. i'm in wiedikon Jan 24 14:36:15 and so the service get null values and a method into it sends a nullpointerexception Jan 24 14:36:17 phoenix77: so what happens? your method invocation just silently disappears? is anything printed in logcat? Jan 24 14:36:22 i live close to schaffhauserplatz Jan 24 14:37:06 eldenz: do you also work for the big G or is it just co-incidence? :) Jan 24 14:38:03 TD, no i'm just a G1/android addict :) and i'm not yet out in the working field, about to finish up my studies soon though Jan 24 14:38:55 the log says that when i try to use the var that it is filled by the nameofMyServiceInterface.Stub() it is null and so the exception Jan 24 14:39:01 TD, were you studying in zh? or moved here for your job? Jan 24 14:39:09 eldenz: eth? nah i moved here for the job Jan 24 14:39:31 TD, yep Jan 24 14:39:49 phoenix77: not sure, sorry. i am gonna do some services stuff this afternoon, if I see the same problem I'll let you know Jan 24 14:39:58 the value I send is okay so the method into the .Stub(){} block isn't called Jan 24 14:40:41 eldenz: nice. we're planning an android hackathon at the office some time, i'll ask if non-googlers are allowed to join, if you're interested Jan 24 14:40:53 TD, where did you live previously? Jan 24 14:41:10 the UK. well, they sent me to live in mountain view for three months, if that counts Jan 24 14:41:16 after those three months i moved to zurich Jan 24 14:41:44 ah nice, somehow i just assumed you are a swiss guy natively^^ Jan 24 14:41:59 'fraid not. actually my german is shameful :( Jan 24 14:42:45 i bet the different dialects don't make it easy on you to learn german Jan 24 14:42:48 TD: Woo, let me know, I'll hop on the Eurail over to there Jan 24 14:42:57 kRutOn: whereabouts are you? Jan 24 14:43:10 TD: Not anywhere close. Just fantasizing. Jan 24 14:43:16 oh well :) Jan 24 14:43:58 eldenz: that doesn't help, although i can figure out zuerideutsch better than i expected. it's more lack of practice - we speak english at the office, and usually people here are so good at english that i'd be wasting their time to use german. so getting regular practice is pretty tough. Jan 24 14:44:13 i read blick am abend - simple stories in simple german :) Jan 24 14:44:31 TD, anytime @ hackathon :) Jan 24 14:45:25 if my knowledge in that part it takes place in, is proper enough i guess Jan 24 14:45:26 TD: Closest I've been is in Lucerne. Although once I had a plane ticket for Switzerland and train ticket to Grenoble for work, but cancelled it Jan 24 14:45:56 TD, heh, but don't believe everything that Blick writes :p Jan 24 14:46:08 no one can help me with this service? Jan 24 14:46:43 kRutOn, i'm originally from lucerne :) Jan 24 14:46:48 i know :) they are way better than the uk equivalents though. the sun makes blick look like the work of intellectual giants :) Jan 24 14:46:56 haha Jan 24 14:47:18 kRutOn, i bet you were visiting the kapellbruecke, right? :) Jan 24 14:49:38 phoenix77: How are you instantiating it? Jan 24 14:52:59 with this.bindService(new Intent(skiimapResortList.this, Jan 24 14:52:59 skiimapDownloadMaps.class), mConnection, Context.BIND_AUTO_CREATE); Jan 24 14:54:16 sorry disconnected Jan 24 14:54:24 i was phoenix-77 Jan 24 14:54:33 you didn't miss anything Jan 24 14:55:27 esses: So you never get an onServiceConnected call to mConnection? Jan 24 14:55:47 no I enter into on-servicecnnected Jan 24 14:56:05 i check it with debugger Jan 24 14:56:12 and log class Jan 24 14:56:33 so I create with aidl an interface with 3 methods Jan 24 14:57:18 1- returns a List and now that isn't the problem I haven't still tested it Jan 24 14:57:36 but nameofMyServiceInterface.Stub.asInterface(IBinder) returns null? Jan 24 14:58:27 2- return void I pass it a list that i want to use to set a member list of service class Jan 24 14:58:42 i check it now. wait... Jan 24 14:58:56 the number 2 however is the problem Jan 24 15:00:04 what happens when you do #2 Jan 24 15:00:50 nothing the app doesn't enter into it. i put a breakpoint never used by debuger Jan 24 15:01:36 do any calls into your service succeed? Jan 24 15:03:58 yes the app enters into onCreate but when it calls a method that uses one Jan 24 15:04:27 of the values passed with the 2nd method i wrote before Jan 24 15:04:43 obviously it throws a nullpointerexception Jan 24 15:05:18 You're trying to use the service in onCreate of the Activity? It might not be connected yet. Jan 24 15:05:38 no I create the binding when a button is clicked Jan 24 15:06:30 Does the #1 method succeed? You said you hadn't tested it yet.. Jan 24 15:07:13 I check it now Jan 24 15:07:15 ... Jan 24 15:10:06 connection troubles too, bad day today .-) Jan 24 15:13:59 brb Jan 24 15:14:55 hi Jan 24 15:15:03 did you read my last post Jan 24 15:15:05 ? Jan 24 15:15:51 the #1 method is KO too Jan 24 15:16:00 any sugestion? Jan 24 15:18:02 binding troubles? Jan 24 15:22:55 iwasEsses: maybe try running dmesg on the emulator/device to see if there are any binder related messages? Jan 24 15:27:55 I'm checking... Jan 24 15:28:14 maybe you can see the code Jan 24 15:34:31 Huh. Git web interface b0rken? http://android.git.kernel.org/ Jan 24 15:53:45 okay the facts are: bindinService returns true but onServiceConnected isn't called Jan 24 15:54:31 here is the problem :-) Jan 24 16:03:01 USians can use http://android2.git.kernel.org/ until the usual machine works. Jan 24 16:47:26 when using Toast.makeText(), is duration in seconds or milliseconds? The documentation doesn't say. Jan 24 16:49:02 seems like lots of places the documentation where an argument is an amount of time, it doesn't mention what the unit of time it is :-P Jan 24 16:55:15 yeah. if only java had strong typedefs .... Jan 24 16:55:33 i have a copy of the master tree checked out and am improving the docs as i go, or at least trying to .... Jan 24 16:56:56 savid, It's almost always milliseconds. Jan 24 16:57:45 CardinalFang, ok, thanks :) Jan 24 16:58:54 does the SDK support creating widgets? doesn't look like it.. :| Jan 24 17:03:57 SystemWizard: not yet, no Jan 24 17:04:15 ok thanks. Jan 24 17:04:40 is there a way to tell a TextView to center its text? Jan 24 17:05:08 i mean, independent of centering itself within its parent Jan 24 17:08:04 Hmm, i want to reuse some resources defined in the default apps. I expected to be able to just refer to them in java, but "package com.android.contacts.R does not exist". What might be the problem? Jan 24 17:08:21 they aren't a part of the public API Jan 24 17:08:35 you could copy them into your own app Jan 24 17:10:10 Dang. I want to avoid that. Jan 24 17:19:34 CardinalFang, I find the amount of stuff that's hidden in the API frustrating as well :-P But, from what I understand it's more of a stability issue. Jan 24 17:25:34 well, contacts is Just Another App, and you can't import stuff from other apps. you can only access them via their intents, content providers, services etc Jan 24 17:44:28 the last two entries on the android developers blog are scary Jan 24 17:44:46 how could somebody other than the author easily find that stuff out? Jan 24 17:58:10 how do i capture an onKeyUp even on any key on a a EditView? Jan 24 17:58:28 i want to be able to count the chars in the box as the user types Jan 24 18:03:33 digitalspaghetti, key presses != characters. Jan 24 18:04:06 Cf. cut/paste, key repeat. Jan 24 18:08:26 digitalspaghetti, I'd first look for methods mentioning "Listener". If that's only post-hoc events, then perhaps a thread that reads the state very often and updates some other widget. Jan 24 18:13:34 yea, basically i'm not limiting the box, but updating a countdown from 140 chars Jan 24 18:13:44 i'll try it that way Jan 24 18:14:39 Ah, SMS-fu. Jan 24 18:18:53 close, Brightroid - similar to twitter Jan 24 18:20:18 brightkite, even Jan 24 18:20:24 Brighroid is my app name :) Jan 24 18:21:22 digitalspaghetti, If the count doesn't *really* matter, I suggest making the font monospace and the field 140 characters wide. It's obvious then what too much means. Jan 24 18:22:21 Web 3.0 is a lot like 2, except there isn't so much Look-what-I-learned-to-do! Jan 24 20:39:29 How do I make a "headless" activity (ie. an activity with no UI)? I'm not making a service, basically an activity that does something, pops up a toast or two, then finish()es Jan 24 20:39:44 exactly what you said Jan 24 20:39:50 create an Activity that finish() in onCreate() Jan 24 20:39:52 that's all Jan 24 20:40:22 hmm, ok. it seems like a blank UI pops up for a second, though Jan 24 20:40:31 ie, a dark background Jan 24 20:40:47 I guess I need to change the "theme"? Jan 24 20:42:26 if you call finish() in onCreate() you should not see the dark background Jan 24 20:42:36 you might also want to reconsider whether you need an Activity to do this Jan 24 20:54:27 i'm asking for a usefull guide for android GUI programming and if there's any usefull samples Jan 24 20:54:51 f00bar80, check the ApiDemos/ in the sdk Jan 24 20:55:22 f00bar80, and http://code.google.com/android/intro/index.html Jan 24 20:56:25 eldenz, the api different upgrades do include a lot changes ? Jan 24 20:56:56 dunno i'm only following it since r1 Jan 24 21:00:14 eldenz, android.graphics or android.view or android.widget ? for gui developement ? Jan 24 21:02:40 eldenz, ?? Jan 24 21:04:41 i've used all three packages in my GUI apps Jan 24 21:04:44 is there an example of how to connectthis demo: http://code.google.com/android/samples/ApiDemos/src/com/example/android/apis/view/Gallery1.html to the main picture content provider? Jan 24 21:04:50 so... i don't know what exactly you are asking Jan 24 21:04:54 i want to show users their images on their SD card Jan 24 21:11:22 Is there a way to send a "slide keyboard open/closed" signal in the emulator? Jan 24 21:15:30 eldenz, or which examples from the api that clearly show a UI samples Jan 24 21:16:14 2154.51 f00bar80, check the ApiDemos/ in the sdk Jan 24 21:16:14 2155.21 f00bar80, and http://code.google.com/android/intro/index.html Jan 24 21:16:42 romainguy, what alternatives would I have to an activity other than a service? Jan 24 21:17:07 f00bar80, probably 95% percent of the demos are UI related... Jan 24 21:26:23 eldenz, is it a good idea to design the screen using XML ?? Jan 24 21:51:15 ok, i;ve got my gallery, and Ive created a cursor using MediaStore.getMediaScannerUri() Jan 24 21:51:37 how do i get the actual photos into my view ImageView? Jan 24 21:54:01 this is what i have so far: http://paste.ifies.org/280 Jan 24 22:04:18 anyone know how to get a callback for an animationdrawable? Jan 24 22:04:46 I'd like to set a callback for when the animationdrawable finishes Jan 24 22:18:15 Can you make IM work in the simulator. For me it just slides a window open and then closes it... dont know why Jan 24 22:29:30 yikes. the eclipse weirdness that affects app stacking seems to make it easy to leak services too :( :( Jan 24 22:29:38 s/app/activity/ Jan 24 22:38:55 Does anyone have an example of android.database.CursorJoiner in action? Jan 24 22:40:22 argh, that looks efficient :)( Jan 24 22:40:24 er :) Jan 24 22:43:38 CardinalFang: as it looks like you've delt with cursors, have yo used them to load images from teh SD card by any chance? Jan 24 22:43:40 "A suitable private key is one that: * Is in your possession ..." lol, who was drunk when he wrote this? Jan 24 22:44:42 digitalspaghetti: your problem doesn't sound too complicated Jan 24 22:44:57 pjv, Someone, somewhere generated a private key on a shared university machine already, I'm sure. Jan 24 22:46:11 university machines are actually quite secure as they drown in the sheer bandwidth of data that passes through them Jan 24 22:46:39 pjv: yea, http://paste.ifies.org/281 is my activity - it's line 59 where i want to get all the images from the dcim folder and display them in the gallery Jan 24 22:46:42 it just sounded like the authors didn't want you to use stolen keys Jan 24 22:47:28 digitalspaghetti, I haven't read from the SD card, no. Jan 24 22:48:01 it doesn't actually matter if they are on the SD card or not Jan 24 22:48:27 all the examples uses drawables from the resources folder Jan 24 22:48:40 i've googled for one using the MediaStore, but no luck so far Jan 24 22:52:44 oh, hmm, maybe not Jan 24 22:52:50 i think i see how i'm leaking this service Jan 24 22:56:18 imageView.setImageURI(MediaStore.Images.Media.getContentUri().append...(cursor.getString(MediaStore.Images.Media._ID)); Jan 24 22:56:46 something like that? this is really hard to do without eclipse and out of the top of my mind Jan 24 22:58:09 read this carefully: http://code.google.com/intl/nl-BE/android/devel/data/contentproviders.html Jan 24 22:59:02 in short: you need the uri of the image, this is the uri that points to its id in the media content provider Jan 24 22:59:14 you need the _id column from the cursor Jan 24 22:59:37 loop over the rows in the cursor (moveToFirst and then next in a while) Jan 24 23:00:39 cursor.getInt(_ID) and append the _id to the base uri of the provider Jan 24 23:00:42 strange. is it normal that a call to unbindService() might not be matched by a call to onUnbind() ? Jan 24 23:01:32 I hope this helps you digitalspaghetti? Jan 24 23:02:23 i'll check it out Jan 24 23:03:08 it's actually a rather basic question, so I advise you to read and google a lot first Jan 24 23:04:39 oh. onUnbind is for when everything has disconnected, not for each disconnection. Jan 24 23:11:23 * macpod help Jan 24 23:11:28 help Jan 24 23:14:25 whoops, wrong everything Jan 24 23:17:38 hi all. I'm here again (I ask something, sometimes some help other times I have to google for a full day ;-) ) Jan 24 23:18:00 new question for android developers here Jan 24 23:19:24 i'm downloading lage images from the net, heap goes out of memory :-( . Someone suggested to call explicitly System.gc but no results. Suggestions? Jan 24 23:20:55 Maybe the solution could be to download one piece and save to file, then download other piece and save in append mode and to continue following this way. But I don't know how to do it Jan 24 23:21:30 .-P Jan 24 23:23:22 esses: how large is large? you should have 16mb to play with Jan 24 23:23:29 unless most of your phones memory is taken up by other things Jan 24 23:23:53 esses: i mean what will you do with these images? display them? there is a limit to how usefully large an image can be on a phone ... Jan 24 23:24:57 TD: yes there is a limit if...you don't want to do scrolling .-) Jan 24 23:24:59 TD: unless most of your phones memory is taken up by other things << Android will make room so that you can use your 16 MB Jan 24 23:26:11 esses: how big are the images uncompressed? if you want to scroll around really large images yeah, i guess you'll need to tile them Jan 24 23:26:27 romainguy: ok, thanks Jan 24 23:26:36 so foreground apps are guaranteed 16mb. nice. Jan 24 23:33:35 wow. making this sync run in the background is a lot of work. i've got it running in a service, but i still need to hold a partial wake lock, checkpoint the sync so it can restart if oom killed, and persist the results so the service can shut down when done but the gui can still show the results. Jan 24 23:33:45 pjv: you still there? Jan 24 23:33:49 * TD bets it won't be long before somebody writes a library to abstract a lot of this out Jan 24 23:34:01 or to make a buff Jan 24 23:34:41 i'm trying to apply that code above like this: Jan 24 23:34:44 i.setImageURI(MediaStore.Images.Media.getContentUri("sdcard://dcim")).append(cursor.getLong(MediaStore.Images.Media._ID)); Jan 24 23:35:20 however, the cursor.getLong keeps complaining it should be a string, and when a string that it should be a long Jan 24 23:35:57 digitalspaghetti: yep Jan 24 23:36:04 i tried toString() too and it#s still complained Jan 24 23:41:05 you need to supply the column number Jan 24 23:41:20 if you only have the column _id in your projection then this would be 0 Jan 24 23:44:36 digitalspaghetti: with eclipse this time, but it still only is indicative: http://paste.ifies.org/282 Jan 24 23:52:34 ok, seems a bit more logical Jan 25 00:00:36 should cursor.getCount(); not return the total count of images found? Jan 25 00:05:37 hrmm, it;s the cursor that is null :| Jan 25 00:25:03 ok, seems to be set now, but .getCount() is still returning null Jan 25 00:25:11 i think i'll sleep on it Jan 25 00:30:50 ahh, i'm getting that, because when i pass a fake value the view works, but is empty Jan 25 00:37:17 hey Jan 25 00:37:38 i'm using locationManager.getLastKnownLocation to get GPS location Jan 25 00:37:48 but finding it's often out of date Jan 25 00:37:58 anyone know a way to check the age of the GPS data? Jan 25 00:38:08 steve731: i've seen that too - not sure why though Jan 25 00:38:28 it happens if the phone can't get a GPS fix Jan 25 00:39:11 i don't know if it depends on the parity of the fix? Jan 25 00:39:36 for example the last fix might have only been 0.3, but the one before it 0.9, so more accurate? Jan 25 00:40:17 yeah, maybe Jan 25 00:40:42 i just need to warn the user - say "your location is out of date, make sure you can see the sky" Jan 25 00:40:57 what you writing steve731 ? Jan 25 00:41:11 just a tiny app Jan 25 00:41:55 i'm in the UK and want to get GPS locations of public postboxes (mailboxes) Jan 25 00:42:03 so i want an app that people can use to report them Jan 25 00:42:21 hehe, i was just looking at http://www.freethepostcode.org/ :) Jan 25 00:42:32 with the big red post box Jan 25 00:42:49 yeah, similar :) Jan 25 00:43:02 i wanna write an android app for this; http://www.dracos.co.uk/play/locating-postboxes/ Jan 25 00:43:30 i want to screen scrape the crappy edinburgh bus tracker website and turn it into a useful app :) Jan 25 00:43:40 cool Jan 25 00:44:05 although thats down the line, i want to get my first app really good Jan 25 00:44:13 once we have postbox nos and GPS locations, can add them to opensteetmap and so on Jan 25 00:44:41 cool, we'll i can help up here in edinburgh :) Jan 25 00:45:00 so basically the app's a big button that says "postbox here" Jan 25 00:45:24 plus a text field for the postbox number Jan 25 00:45:27 you could even use the same API i am using to help. brightkite Jan 25 00:45:50 although to need an account, you can give it a string address and it will return a place with lat/lng Jan 25 00:46:00 i use it instead of the google geocoder Jan 25 00:46:33 oh right - not seen brightkite before Jan 25 00:46:55 just need an up to date gps location really Jan 25 00:47:50 although my app isn't open source, because of the OAuth requirements, it is free and I'd be happy to share code if you like Jan 25 00:48:31 although i'm off to bed now Jan 25 00:48:44 gonna sleep on this MediaStore issue Jan 25 00:49:07 great - good luck - what's your app? Jan 25 00:49:13 brightroid Jan 25 00:49:18 it's in the appstore Jan 25 00:49:28 quite alpha, but has some basic features Jan 25 00:49:48 if your on twitter, follow brightroid and i'll ping you Jan 25 00:50:04 night Jan 25 00:50:05 thanks - night Jan 25 00:55:57 woot. full checkpointing, OOM recovery and backgrounding of my service: done Jan 25 00:56:28 tomorrows stuff should be more fun Jan 25 01:33:51 can the data sync settings be programatically controlled? Jan 25 01:34:19 probably Jan 25 01:35:39 iv looked in settings and have not found anything Jan 25 01:40:47 vol, you thinks its Jan 25 01:41:21 it is possible to send intents to the settings activity to accomplish this? Jan 25 02:39:38 hey guys, so adb stopped seeing my device overnight (worked last night when I shut off the computer, doesn't see it now). Any ideas? Jan 25 02:39:47 Ubuntu 8.10, I've done the directions on the site Jan 25 02:44:41 KNY, Seen that too. :( Jan 25 02:44:51 CardinalFang, any solutions? Jan 25 02:45:34 No. Well, maybe. "Don't care enough to debug and run it on the OSX machine that's one foot away instead." Jan 25 02:45:50 *sigh* Jan 25 02:46:29 KNY, strace? Jan 25 02:47:11 CardinalFang, do you want me to pastebin it? Jan 25 02:48:32 KNY, eh, not really. I don't have the energy to eyeball it now, anyway. Just suggesting starting points for you. Jan 25 02:48:38 Does it see the emulator? Jan 25 02:49:21 I think so, yes, but let me try Jan 25 02:49:39 I get a bunch of messages like this in strace: open("/home/kny/sources/android-sdk-linux_x86-1.0_r1/tools/../lib/tls/i686/librt.so.1", O_RDONLY) = -1 ENOENT (No such file or directory) Jan 25 02:49:51 all looking for librt.so.1 Jan 25 02:50:05 That's normal, looking for libraries at the start. Blame LD. Jan 25 02:50:14 ok Jan 25 02:50:19 yep, it seems the emulator Jan 25 02:50:28 sees* Jan 25 02:52:41 The last syscalls should be waiting for something. That should point the way. Jan 25 02:54:39 nothing really seems to stand out Jan 25 02:55:50 All, how are android.database.CursorJoiner supposed to be used? I think all it gives are an iterable of constants, LEFT, RIGHT, BOTH. Am I supposed to iterate through the cursors manually with that? Jan 25 02:58:04 Gary|tp, all you missed was that I did an strace dump but nothing really stood out, as far as I could see, haha Jan 25 02:58:06 KNY, The communication with the device and the emulator should be very similar, from ADB. I think it talks to some socket layer that hides the differences. At that layer is where you would find what's broken. ...I think. Jan 25 02:58:33 Doesn't one say "starting blah blah server"? Jan 25 02:58:52 yes Jan 25 02:59:18 Okay. Find out what that is. Contrast the differences. **** ENDING LOGGING AT Sun Jan 25 02:59:58 2009