**** BEGIN LOGGING AT Mon Jul 20 02:59:57 2009 Jul 20 03:08:41 er, internal to the key listener Jul 20 03:08:58 sigh Jul 20 04:49:18 Cannot change year over 2038 or under 1901" romainguy changed labels: -Priority-Medium +Priority-VeryLow Jul 20 04:49:29 If I miss this meeting in 2039, I'm going to be upset. Jul 20 04:54:05 i actually just recently read the line that is responsible for that limitation Jul 20 04:54:31 in CalendarSyncAdapter:entryToContentValues :) Jul 20 05:41:39 bah, Gerrit can find Google employees when I put them in the reviewer box, but not many are registered. Jul 20 06:04:59 uhh, there's like 5 places in this code where it does: if (len >= x) { char c = mystr[x]; ... } Jul 20 06:05:13 well, more than that.. Jul 20 06:58:44 Is range checking in JNI passe or something? Jul 20 08:29:56 <_Auron_> god, this is where android pisses me off Jul 20 08:30:05 <_Auron_> how do I 'end' the program with code? Jul 20 09:07:51 hi Jul 20 10:27:50 any UI wiz around ? http://www.anddev.org/viewtopic.php?p=24547#24547 i am looking for the services pulldown widget ? Jul 20 10:53:19 Hello. I am trying to access the context of my Android system. More precisely the Wifi information. In the sample code I've found (and edited) there is a variable called "context" and I don't know where it is declared. Can someone help out? Here's the code:WifiInfo wi = ((WifiManager) context.getSystemService(Context.WIFI_SERVICE)).getConnectionInfo(); Jul 20 11:00:50 Neverind, found it. Just do: this.getApplicationContext() Jul 20 11:09:18 can somebody give me some insight into why these lines dont work when i press a button tryna start a map activity Jul 20 11:09:39 Intent map = new Intent(context,MyLocation.class); Jul 20 11:09:39 map.addFlags(Intent.FLAG_ACTIVITY_NEW_TASK); Jul 20 11:09:39 context.startActivity(map); Jul 20 11:09:49 it says it cannot find map acvitity Jul 20 11:12:11 ??? Jul 20 11:22:01 anyone Jul 20 11:22:02 ... Jul 20 11:22:05 trull la la la Jul 20 12:23:29 AndyArmstrong: pretty quiet here Jul 20 12:56:30 can somebody give me some insight into why these lines dont work when i press a button tryna start a map activity Jul 20 12:56:30 Intent map = new Intent(context,MyLocation.class); Jul 20 12:56:30 map.addFlags(Intent.FLAG_ACTIVITY_NEW_TASK); Jul 20 12:56:30 context.startActivity(map); Jul 20 12:56:30 it says it cannot find map acvitity Jul 20 13:00:36 is this compile time or run time ? Jul 20 13:03:25 runtime Jul 20 13:03:33 it says it cannot find MapActivity superclass Jul 20 13:03:39 sorry MyLocation superclass Jul 20 13:03:44 and MyLocation extends MapActivity Jul 20 13:03:53 did you put it in the manifest ? Jul 20 13:04:01 what line should exist Jul 20 13:04:08 * wmealing finds the docs Jul 20 13:04:17 did you read the docs on activities ? Jul 20 13:04:43 http://developer.android.com/reference/android/app/Activity.html Jul 20 13:04:44 and Jul 20 13:05:08 http://developer.android.com/guide/topics/manifest/activity-element.html Jul 20 13:05:31 http://developerlife.com/tutorials/?p=302 Jul 20 13:05:35 as an example. Jul 20 13:05:56 is android's "Music" activity using a TableLayout with some custom button images? Jul 20 13:06:19 *app Jul 20 13:06:26 the main activity Jul 20 13:06:41 the one with artists, albums songs, playslits ? Jul 20 13:06:58 yes Jul 20 13:07:13 i think the music player is in the main tree, go check the code out Jul 20 13:07:19 there are a few ways you could do it Jul 20 13:07:57 ah yes Jul 20 13:07:59 it is Jul 20 13:08:56 also which is the activity that displays a contact photo on receiving an incoming call, LogCat mentions InCallScreen Jul 20 13:09:13 or is it CallNotifier? Jul 20 13:10:05 I truthfully dont know. Jul 20 13:16:13 vmealing i dont get what you are referring to precisely Jul 20 13:16:23 wmealing, btw. Jul 20 13:16:38 you need to modify your mainifest or you can't start activities. Jul 20 13:16:45 from within your activitiy Jul 20 13:16:55 thats all that i'm getting at. Jul 20 13:17:03 the above examples should show you enough to get started. Jul 20 13:17:05 so what do i add into the manifest Jul 20 13:17:09 as an example line Jul 20 13:18:56 the information i have provided is enough information, i guess you didnt read it.. which you really should if you want to do this properly.. Jul 20 13:19:02 but however. something like this Jul 20 13:19:03 android:label="@string/backend_file_manager"> Jul 20 13:19:03 Jul 20 13:19:20 you'll need to make an entry in your strings.xml to match up backend_file_manager Jul 20 13:41:02 wmealing Jul 20 13:41:05 i get this error continualy Jul 20 13:41:05 http://pastebin.com/m3ee8dba2 Jul 20 13:41:10 even although its defined in the manifest Jul 20 13:41:54 07-20 14:40:03.460: WARN/dalvikvm(753): Unable to resolve superclass of Lcom/android/driverwidget/MyLocation; (61 <-- may be a hint. Jul 20 13:42:37 yeah Jul 20 13:42:39 and the class looks like this Jul 20 13:42:54 http://pastebin.com/m4e4dc771 Jul 20 13:43:00 so it must be talking about MapActivity? Jul 20 13:43:08 so do i need to install simething on the emulator Jul 20 13:43:16 i even get the same error when i run this on the fone also Jul 20 13:49:07 doesn't using maps require you to have selected "Google APIs" or whichever it is instead of / as well as Android 1.5 when you make the project? Jul 20 13:51:35 in your run configurations have you used a virtual device supporting google apis? Jul 20 13:54:06 yeah Jul 20 13:54:08 i selected it Jul 20 13:55:24 i duno if i need to do anything else tho Jul 20 13:55:26 to the emulator... Jul 20 13:58:15 Wow, calendar totally fails at the back button. Jul 20 13:59:36 anyone come on Jul 20 13:59:41 this is such a rdiculous problem Jul 20 13:59:45 been stuck on it forever Jul 20 14:03:08 AndyArmstrong: Do you have a book or are only going on the Docs? Jul 20 14:03:29 AndyArmstrong: Are you using SDK 1.5_r3, by the way? Jul 20 14:04:49 <_Auron_> can someone point me to a decent guide on how onSaveInstanceState() and onRestoreInstanceState() work for saving/restoring runtime data? Jul 20 14:04:53 wow, just rebooted my phone with voice dialer, great feature ^^ Jul 20 14:05:58 lianj: How do you do that? Jul 20 14:07:49 i think the app just crashed everthing. i did: press phone dailer and did some laughing and said "call ute". screen went blank immediately (full battery) Jul 20 14:08:21 Yeah, those voice apps aren't as simple as just pushing them onto your phone. ;/ Jul 20 14:08:23 and the android boot splash started showing up Jul 20 14:09:04 maybe adb logcat would be a good idea. Jul 20 14:09:18 hi Jul 20 14:09:47 they arent working with german anyway. you have to speak "a e i o u" in english in order to recognice anything right in german. so its not usable anyhow, but to be crashy is worth ;) Jul 20 14:09:55 is there a possibility to create dex files from class files on android itself? Jul 20 14:10:37 Kinnoken: thanks, will try to resolve it when i see it happen more. for now there is no time for it Jul 20 14:11:04 All I can get the voice dialing to do is call my voicemail... Jul 20 14:11:13 * _Auron_ does NOT understand how saving/restoring data works with android. none of the examples give any details as to *how* or *what*, just "do it" which is useless when you're doing your own program Jul 20 14:11:27 wm_eddie: hehe Jul 20 14:11:39 lianj, I understand completely. Jul 20 14:11:44 I barely have time to type full sentences. Jul 20 14:18:02 kruton i dont no Jul 20 14:18:06 how would i find out Jul 20 14:18:14 wm_eddie just docs Jul 20 14:18:15 no books Jul 20 14:18:25 * wm_eddie also suggests to ask questions in Stack Overflow rather than here. Jul 20 14:18:38 in where Jul 20 14:19:22 stackoverflow.com Jul 20 14:20:02 wm_eddie just wants the points. Jul 20 14:20:16 oh right ok Jul 20 14:20:18 ill try asking their Jul 20 14:20:19 hehe Jul 20 14:20:29 looks awfully broad doubt will be able ot help me there on such a specific android issue Jul 20 14:20:38 you'd be surprised Jul 20 14:20:44 yeha so i added the activity etc Jul 20 14:20:47 yeah Jul 20 14:20:50 do i need to load maps onto the emulator Jul 20 14:25:00 http://stackoverflow.com/questions/1153920/android-appwidget-maps-activity-problem Jul 20 14:25:03 ok there is the question! Jul 20 14:27:07 has anyone used the accelerometer sensor with any success? Jul 20 14:27:50 somebody ANSWER IT Jul 20 14:27:51 :'( Jul 20 14:27:53 may cry Jul 20 14:28:01 AndyArmstrong: calm down Jul 20 14:28:06 It usually takes a few minutes. Jul 20 14:28:07 lol Jul 20 14:28:08 ok Jul 20 14:28:36 AndyArmstrong: I've never used MapActivity but I looked through my android book and it looks right on the surface. Jul 20 14:28:56 AndyArmstrong: http://davanum.wordpress.com/2007/11/15/working-with-google-androids-maps-aka-search-for-pizza/ <-- see this example.. may be similar. Jul 20 14:29:38 http://www.devx.com/wireless/Article/39239/1954 may help too Jul 20 14:54:28 AndyArmstrong: have you tried giving you activity the following permission: Jul 20 14:54:32 Jul 20 14:58:12 he left. Jul 20 14:58:29 must have got too much for him Jul 20 15:03:07 gg Jul 20 15:06:45 mk ? Jul 20 15:07:54 Ok, i just got my hello world working Jul 20 15:08:05 and modified it to send me hello-world text messages :-) Jul 20 15:08:54 now how do I run it from the command line? Jul 20 15:09:09 wmealing: yeah I think so too Jul 20 15:09:21 fotoflo: with great difficulty! Jul 20 15:09:24 look into the "am" command Jul 20 15:09:44 I'm assuming you mean you made a java app Jul 20 15:09:52 yes, a java app Jul 20 15:09:57 if it's a native app, you can always just try compiling as a statically linked executable binary Jul 20 15:10:05 fotoflo: then yeah, look into the "am" command Jul 20 15:10:20 that should let you send arbitrary intents (required to launch your app) Jul 20 15:11:01 reading Jul 20 15:11:32 yuch Jul 20 15:11:48 i guess ill need an alias as well :-) Jul 20 15:11:50 err Jul 20 15:12:04 uhh, is an argv possible? Jul 20 15:14:15 fotoflo: you can pass thing in the intents, like data. Jul 20 15:14:19 how do I get the Agenda on the simulator? It that a google app? Jul 20 15:14:20 *things Jul 20 15:14:53 fotoflo: take a look at the Intent class in the docs Jul 20 15:16:41 its been way too long since ive done any serious programming.... and this is really some different stuff.. Jul 20 15:17:08 fotoflo: what's your goal? and yeah, android is a little different from what you're probably used to Jul 20 15:17:28 goal: to send text messages from my computer keyboard Jul 20 15:17:44 now i can do it, but i have to recompile every time ;-P Jul 20 15:18:21 i think the next step is to telnet (or ssh) into the phone and send messages from an existing app Jul 20 15:18:58 fotoflo: if your device is rooted, there should be a dropbear bin you can use. Jul 20 15:19:36 telnetd is fine for now Jul 20 15:19:40 device is rooted Jul 20 15:19:53 if it's rooted, just use adb for terminal connections Jul 20 15:20:00 unless you want to do it wirelessly Jul 20 15:20:08 telnet is just asking for someone to steal your password :P Jul 20 15:20:14 id rather do it wirelessly Jul 20 15:20:22 well right now im at home on a secure network... Jul 20 15:20:45 whatever floats your boat : ) Jul 20 15:20:47 anyway Jul 20 15:20:50 im conscious of that, but its not the foremost priority Jul 20 15:21:03 more important to figure out how to pass data in from the command line (more fun) Jul 20 15:21:34 fotoflo: if you have the android source, you might want to just peek at the am source Jul 20 15:21:41 it will probably be the simplest way to figure out the args Jul 20 15:21:58 im pretty sure it will look like greek to me Jul 20 15:22:18 (and i dont have the src) Jul 20 15:22:20 alternately, use am at the command line on your device, and try and make the arguments work. you can use ddms logcat to determine what the intents look like for apps Jul 20 15:23:37 much more complicated then i had hoped Jul 20 15:23:52 heh, sms should be bash scriptable Jul 20 15:25:08 # am start -a android.intent.action.MAIN -c android.intent.category.LAUNCHER -n com.google.zxing.client.android/com.google.zxing.client.android.Captur Jul 20 15:25:11 eActivity Jul 20 15:25:14 (argh, 1 line) Jul 20 15:25:19 that starts the barcode scanner for me Jul 20 15:25:58 anyway, you can pass data in the intent, which in your case can be a phone number and/or message Jul 20 15:26:46 whats eActivity Jul 20 15:26:48 ? Jul 20 15:26:53 (thanks btw) Jul 20 15:26:58 sorry, that should be one line Jul 20 15:27:03 .android.CaptureActivity Jul 20 15:27:14 i think i have to do a LOT of reading Jul 20 15:27:17 com.google.zxing.client.android is the package name Jul 20 15:27:28 com.google.zxing.client.android.CaptureActivity is the activity to run Jul 20 15:27:41 android.intent.category.LAUNCHER is the category Jul 20 15:27:46 android.intent.action.MAIN is the action Jul 20 15:27:52 there is no man page for AM (or anything else for that matter) Jul 20 15:27:56 please, look at the docs for the Intent class to get a better idea how this works Jul 20 15:28:05 fotoflo: no, not really, but at least there's a small set of instructions. Jul 20 15:28:12 im looking Jul 20 15:28:17 i remember reading about the long tail of cost of software maintenance. Does anyone know a book that would talk about this with research figures ? Jul 20 15:28:18 but... i need to absorb Jul 20 15:29:04 thanks... ill do some reading and absorbition tommorow night-- its already 11:30pm and i pulled an all nighter last night so I gotta crashout Jul 20 15:29:46 good luck Jul 20 15:29:57 Thanks Jul 20 15:37:11 how do you supply the submit button image/text to the on screen keyboard? Jul 20 15:50:30 I've got a question. And no, I haven't been too lazy to look in a forum. Its just everyone has a problem finds the solution and just says they found the solution without typing it up Jul 20 15:50:45 i am on Mac OS X (Leopard) Jul 20 15:50:55 i have the SDK installed Jul 20 15:51:03 I'm trying to make my own themes Jul 20 15:51:34 so i made a mydroid dmg with case-sensitive HFS+ journaling Jul 20 15:52:24 i installed repo, did repo sync Jul 20 15:52:58 as soon as i get to make though, it freezes on make: *** [out/target/common/docs/offline-sdk-timestamp] Error 45 Jul 20 15:54:03 and something about clearsilver. so i "sudo port install clearsilver" and it still doesn't work Jul 20 15:54:57 any help? Jul 20 15:57:23 sigma87: no idea, #android might be more helpful Jul 20 15:57:30 i've seen this before... Jul 20 15:57:56 sigma87: did you modify frameworks/base/ in any way that would change the API? Jul 20 15:58:00 thus requiring make update-api? Jul 20 15:58:35 unrelated to android: I've a mirrored RAID drive in an NAS, if I remove one of the drives and place it in my computer, will it work normally or is their RAID data stored on the drive... for mirrored I would assume normally Jul 20 15:58:48 i could try that. just wondering, what types of operations modify the frameworks? Jul 20 15:59:11 sigma87: using a text editor on any of the files and typing in changes that affect the API? :) Jul 20 15:59:29 jasta: ahh maybe, lol Jul 20 15:59:43 martin___: mirrored means it will still work in the nas, can't guarantee your system can mount whatever metadata the format from the nas uses though. Jul 20 15:59:58 sigma87: run make (not make -j) and look carefully trhough the output for anything that might indicate you should run make update-api Jul 20 16:00:00 martin___: and.. dont do that.. why not just copy it Jul 20 16:00:17 from the nas, to your machine. Jul 20 16:00:24 wmealing, because the NAS is reporting disk not found, I'm wanting to know if it's a hdd failure or a NAS failure -> test it in a PC Jul 20 16:01:10 jasta: i just tried make update-api and i got the same output Jul 20 16:01:19 did the semi-recent spate of failing 1tb 7200.11 seagate drives also effect the 500gb ones? Jul 20 16:02:14 martin___: ah no loss then Jul 20 16:02:15 sigma87: as i said, run make and carefully look through the output. Jul 20 16:02:25 jasta: ok Jul 20 16:02:27 the problem will reveal itself, make doesn't just fail "randomly" Jul 20 16:02:30 i thought this was an attempt to move data. Jul 20 16:02:47 but make -j can make the output on failure very hard to read, so don't use it Jul 20 16:02:54 btw, you know that if you have two disks from the same manufacturer, made in the same batch, its likely they will fail around the same time ? Jul 20 16:02:59 so, i'd start backing up your data now Jul 20 16:03:13 the data is backed up daily, that's not the problem Jul 20 16:03:18 ok Jul 20 16:03:37 hard disks exist in 3 states.. not mutually exclusive. About to die, Dead and on fire. Jul 20 16:04:13 I have a quantum fireball SE (4.3gb) that was in my computer when lightning blew up the conductor outside the house Jul 20 16:04:25 the PSU was melted but the drive still works Jul 20 16:04:44 conductor... transformer I assume Jul 20 16:04:50 the big dustbin things on poles Jul 20 16:05:13 * wmealing knows of them Jul 20 16:05:22 ugly things Jul 20 16:05:22 but unrelated, if it's either of the drives... the NAS should still be able to read one individually if I remove one yes? Jul 20 16:05:34 that being the point of mirrored, yep Jul 20 16:06:18 the drives are approximately a month old however (+ sitting in factory time) Jul 20 16:06:34 so is the NAS Jul 20 16:10:55 * wmealing remembers bidding for 150 servers for a uni, they brought out 10 demo units, and i put it under a load test. Redundant everything.. apparently. Jul 20 16:11:22 one of the psu's caught fire during the first hour of burn in Jul 20 16:11:48 turns out servers dont work so well when the motherboard is on fire. Jul 20 16:12:54 funny that. Jul 20 16:16:58 I don't work well when I'm on fire, either. Jul 20 16:25:23 go #android Jul 20 16:26:01 go! Jul 20 16:27:24 * _Auron_ can't figure out how to 'rebuild' his openGL surface correctly upon resuming.... Jul 20 16:31:53 slightly off topic, but im going to write an app for an example.. i remember this game when i was younger, you flip 3 coins, you bet on the chance of the the third one being the same as the first two, and you'd think its 50/50 but its not... thats not the entire game.. but Its something _like_ that. Jul 20 16:31:56 Hm, I wonder if there is any chance of Android upgrading to ICU4C 4.2 :-) Jul 20 16:31:57 does anyone know what this was called ? Jul 20 16:32:34 * wmealing waits for the "statistics" boom tish comment Jul 20 16:35:02 Ah, i remember, its the monty hall problem Jul 20 16:35:04 thanks for playing. Jul 20 16:35:15 you're welcome Jul 20 16:37:36 I thought it was the "21" problem :-) Jul 20 16:37:39 http://en.wikipedia.org/wiki/Monty_Hall_problem Jul 20 16:37:49 is there a 21 problem ? Jul 20 16:37:53 tell me about it Jul 20 16:37:59 No, it's just in that movie 21. Jul 20 16:38:03 oh ok. Jul 20 16:40:09 i do like probability tricks, always fun Jul 20 16:40:15 i'm going to model it, then run a test case. Jul 20 16:40:18 or 100,000. Jul 20 16:40:35 wmealing: It only works if the person that reveals one of the choices knows where the "prize" is Jul 20 16:40:39 corect. Jul 20 16:40:42 correct rather. Jul 20 16:41:01 Oh, you mentioned that's not the entire game. Jul 20 16:41:06 yeah. Jul 20 16:41:19 crap, you're right, its explained in 21. Jul 20 16:41:23 http://www.youtube.com/watch?v=cXqDIFUB7YU Jul 20 16:42:27 does it have any other good logic tricks ? Jul 20 16:42:40 why would android have downloaded and is trying to update to 1.5 when I already have 1.5, and how do I tell it to stop asking me to install o_O Jul 20 16:42:57 plediii_: it's an incremental update Jul 20 16:43:19 so i only have partial 1.5? Jul 20 16:43:33 No. Think of it like 1.5.0, 1.5.1, etc Jul 20 16:44:25 that would make sense, but i've never seen a 3rd number mentioned Jul 20 17:17:08 hi does anybody have information (or a link) on this incremental security update? The one that pl.ediii_ asked about? Jul 20 17:21:07 is this r2 people are talking about? Jul 20 17:21:52 ah, it's r3 Jul 20 17:22:20 http://developer.android.com/sdk/RELEASENOTES.html Jul 20 17:26:01 hey, does HTC have the r3 firmware up on their site yet? Jul 20 17:26:14 their site doesn't say which release of 1.5 they have up Jul 20 17:26:15 ... Jul 20 17:31:27 hiya Jul 20 17:31:47 can somebody PLESE PLEASE PLEASE hep me thru this problem http://stackoverflow.com/questions/1153920/android-appwidget-maps-activity-problem Jul 20 17:33:32 AndyArmstrong: i linked you to a thread yesterday about this Jul 20 17:33:47 yeah j but i didnt underatdn what the solution was Jul 20 17:33:51 it was to do with processes Jul 20 17:33:53 but i have no idea Jul 20 17:35:06 you tried android:process method? Jul 20 17:37:24 no i didnt understand it Jul 20 17:37:29 cuold you take a sec and explain it to me please mate? Jul 20 17:38:43 herriojr, thanks for the link, it's got the technical information i was looking for Jul 20 17:51:12 please? Jul 20 17:57:07 anyone know if there is a callback out there to be notified when network state changes? (ie, wifi vs cell) Jul 20 18:04:52 hi, i have a, that extends linearlayout... there i have an imageview... where i setImageDrawable ... in en AsyncTask.... Jul 20 18:05:15 3 images get loaded... the rest is repeating the 3 fetched images Jul 20 18:05:43 does anybody have an idea how to fix this? Jul 20 18:06:53 finfin82, http://pastebin.com/ -- start there Jul 20 18:07:17 good idea ;-) Jul 20 18:08:26 http://pastebin.com/d7d299246 Jul 20 18:10:01 i dont know where to start to search for the problem Jul 20 18:17:55 hmmm Jul 20 18:18:03 KNY: ? ;-) Jul 20 18:19:27 what is defined as an Upgraded Application in the release notes for 1.5_r3? Jul 20 18:20:48 can anyone help me Jul 20 18:20:51 i changed my package name Jul 20 18:20:56 and since i get these errors http://pastebin.com/m4d39b6a6 Jul 20 18:21:01 (to answer my own question: looks like there are some broadcasted intents when connected/disconnected from wifi) Jul 20 18:21:20 trying to figure out what this applies to: "When you use adb to uninstall an upgraded application, the Android system now properly restores any permissions that had already been granted to the previous (downgrade) version of the application" Jul 20 18:22:35 AndyArmstrong: if you changed your package name, did you make sure to update the location of your activity/services in your AndroidManifest? Jul 20 18:22:45 yep Jul 20 18:22:50 aha Jul 20 18:22:52 cleaning the project did it Jul 20 18:23:25 AndyArmstrong: I was about to say I had no idea other than that :) Jul 20 18:24:06 crap, my damn sharedUserId bug wasn't fixed in 1.5_r3 Jul 20 18:24:46 herriojr: no it wasn't Jul 20 18:26:55 romainguy_: my boss wants me to submit a patch for it even though jsharkey told me that all that code is being rewritten, so don't knock me for submitting ;) Jul 20 18:28:39 I know it's a waste of time Jul 20 18:31:06 herriojr: at least your boss wants you to submit a patch, or understands what android is :) Jul 20 18:32:48 yeah, I guess you're right about that Jul 20 18:33:28 romainguy_: do you think the architect council will turn my patch if it adds java.net.IDN (Java 1.6 API) Jul 20 18:33:38 yes Jul 20 18:33:43 we're not going to add bits of 1.6 Jul 20 18:33:46 * kRutOn snaps. Jul 20 18:33:50 either we move to 1.6 or we don't Jul 20 18:34:22 hey what's OpenWnn? :) Jul 20 18:34:33 So I have to put it somewhere else and hide it. Jul 20 18:35:31 romainguy_: I was going to add IDN support to Browser, but I suppose I can just make the native calls in Browser itself. Jul 20 18:35:43 anyone know how to disable/enable wifi from the command line on a device? Jul 20 18:36:06 romainguy_: Plus UTS#39 isn't implemented in ICU until 4.2 Jul 20 18:36:21 I have no clue what you're talking about kRutOn :) Jul 20 18:36:30 a small question, if i have a piece of code which uses asm to generate java bytecode on the fly, there is no way to use this code on android right, because i have no way to convert java bytecode into the dex format on the fly? Jul 20 18:36:39 tarzan: nope Jul 20 18:36:41 romainguy_: IDN = Internationalized Domain Name, UTS#39 = Spoofing With Unicode Jul 20 18:37:06 romainguy, and it is unlikely this will ever change because of suns licensing restrictions? Jul 20 18:37:19 it has nothing to do with this Jul 20 18:39:15 can you elaborate a bit? Jul 20 18:54:13 is there anyway to differentiate between a sticky broadcast that you receive right when you register a broadcast receiver and a fresh broadcast being sent right now? Jul 20 18:57:17 i need these buttons in a 2x2 grid Jul 20 18:57:25 but for some reason the bottom right grid is not in the rtight place Jul 20 18:57:27 sum1 help me! Jul 20 18:57:28 http://pastebin.com/m2f88de Jul 20 18:57:32 its a relative layout Jul 20 19:03:37 AndyArmstrong: The you never specify that it should be to the right of anything.. Jul 20 19:03:45 so it's doing what you ask. Jul 20 19:06:58 AndyArmstrong: Is upsetpc.com your website? Jul 20 19:09:50 yea Jul 20 19:09:53 totally needs work tho Jul 20 19:09:56 without a doubt Jul 20 19:09:57 emm Jul 20 19:10:04 kruton, what should i specify to be right of and where Jul 20 19:10:14 cos i do android:layout_toRightOf="@+id/drive" Jul 20 19:10:23 hello Jul 20 19:10:39 which one isn't aligning correctly on the horizontal? Jul 20 19:28:41 the world should be on the bottom right Jul 20 19:28:49 and the configurre should be bottom left Jul 20 19:40:06 What is the easiest way to just download a webpage and parse it? Jul 20 19:40:54 Because using an HttpGet and a DefaultHttpClient doesn't give me the same file as it does in firefox. Jul 20 19:44:14 balachmar: Is the website changing the output based on User-Agent? Jul 20 19:44:50 hey can someone explain to me how minTime and minDistance affect LocationManager's requestLocationUpdates method? Jul 20 19:45:49 kRut0n: don't know Jul 20 19:46:56 krut0n: no it doesn't using URL instead of HttpGet is a lot easier! Jul 20 19:47:03 :) Jul 20 20:00:02 Hi! Does someone know if it's possible to show "OK", "Cancel" buttons in the bottom of a selecttion list options of a spinner once the user taps the spinner, such as an alert dialog list? Jul 20 20:00:54 What I mean is that Spinners don't have "OK", "Cancel" buttons in the bottom... Is it possible to create a spinner that includes these kind of buttons at the bottom? Jul 20 20:09:26 does the htc hero have the 1.5 version? alot of people think its the 2.0 lol Jul 20 20:09:43 stavrosLinux, there is no 2.0 Jul 20 20:10:49 is the next version near? Jul 20 20:11:17 stavrosLinux, donut? maybe, but it's not (yet) 2.0 Jul 20 20:11:41 until Google calls it 2.0, it's not 2.0, regardless what some idiotic bloggers want to call it Jul 20 20:12:13 I hope not, can;t buy a phone and have it outdated the next day ! Jul 20 20:12:26 :) Jul 20 20:12:29 stavrosLinux, err, you know that they can (and are) updated over-the-air, right? Jul 20 20:13:08 yes but they always add stuff that need hardware support as well Jul 20 20:13:24 Hero (and other phones that aren't "google experience" phones) aren't updated OTA by Google, but they can still be updated Jul 20 20:13:31 stavrosLinux, like what? Jul 20 20:13:34 so its a combo software + hardware Jul 20 20:14:09 google experience ?? Jul 20 20:14:33 Google it. Jul 20 20:14:41 :) Jul 20 20:14:49 Regardless, that's the burden of the manufacturer if they want to customize their builds Jul 20 20:14:58 if they don't provide you with a new update, then bitch to them. Jul 20 20:15:19 KNY: can you tell me how this exception may happen and how i could fix it? Jul 20 20:15:20 Caused by: android.database.sqlite.SQLiteException: duplicate column name: TEXT: CREATE TABLE IF NOT EXISTS presence_db.presence (_id INTEGER PRIMARY KEY,person INTEGER REFERENCES people(_id), TEXT, TEXT, TEXT,mode INTEGER,status TEXT,UNIQUE(, , )); Jul 20 20:15:35 the_alien, I saw it in #android--do not cross-post questions Jul 20 20:15:43 oh sorry Jul 20 20:15:55 just saw you were active here Jul 20 20:16:05 yes, but someone is already helping you in #android Jul 20 20:16:28 what I mean is that the updates must have a logical interval so the phones dont lose value Jul 20 20:17:45 I am from greece, anyone knows about official greek support in android ? Jul 20 20:20:56 kRutOn, Jul 20 20:21:05 kRutOn could you help me with this relativelayout then? Jul 20 20:21:10 cos as far as i can see it should be fine Jul 20 20:21:16 however 2 buttons are in the bottom left of the 2x2 Jul 20 20:21:33 http://pastebin.com/m2f88de Jul 20 20:24:19 right.. you haven't specified that you want that button to be to the right of anything Jul 20 20:35:31 yes i have Jul 20 20:35:32 i say Jul 20 20:35:35 to the right of drive Jul 20 20:35:57 ok so what should it be? Jul 20 20:36:04 Yes, and that particular button is to the right of drive. Jul 20 20:36:48 But that's not the one you're complaining about, right? Jul 20 20:37:07 correct Jul 20 20:37:40 it should be Jul 20 20:37:42 drive top right Jul 20 20:37:46 sorry Jul 20 20:37:48 drive top left Jul 20 20:37:51 phone top right Jul 20 20:37:54 configure bottom left Jul 20 20:37:58 map bottom right Jul 20 20:38:21 so drive seems ok, phone seems ok Jul 20 20:38:26 but bottom 2 both appear on the left Jul 20 20:39:19 Again: you never gave any indication you want the button you're complaining about to be to the right of anything. Jul 20 20:43:26 lol army :D Jul 20 20:43:35 hooah! Jul 20 20:44:24 ?? Jul 20 20:46:09 Jul 20 20:46:09 Jul 20 20:46:09 Jul 20 20:46:09 Jul 20 20:46:14 oh good oops Jul 20 20:46:18 *god Jul 20 20:50:03 that still isnt right Jul 20 20:54:59 This is wrong now because the bottom left is fine, but the phone is not in top right, the world is http://pastebin.com/m7fc83804 Jul 20 21:08:44 no Jul 20 21:08:46 you fail at life Jul 20 21:09:34 hi all. I'm trying to launch an intent from a notification.. but when I do a myIntent.putExtra("Name","Value), it doesn't arrive at the started intent. Any ideas? Jul 20 21:12:53 you're using a pendingintent? Jul 20 21:12:58 martin___: yes Jul 20 21:13:13 and Notification.setLatestEventInfo()? Jul 20 21:13:35 Hello. Does anyone know if it's possible to have an ImageButton on top of of another image? I'm looking to have an icon image and then layer a "play" button on top of it that will respond to click events. Jul 20 21:13:42 like this: notification.setLatestEventInfo(this, getText(R.string.SMSListenerNotificationLabel), text, launchAppIntent); Jul 20 21:14:07 yes Jul 20 21:16:58 i've got an app which notifies the user about who's calling based on searching the calling numer against a local search service, i'm using toast notifications right now but it seems like you can't set the duration to any lenght you want. is there another way of notifying the user with the callers name, address etc ? Jul 20 21:36:40 hi everyone, I've been meaning to get into programming a long time. I never had the persevere... *cough* time to actually start doing anything usefil, until I came across this lovely channel :) Jul 20 21:37:17 so please do tell, with what languages can one work with Google Android? Jul 20 21:37:24 java Jul 20 21:42:02 Scala works too Jul 20 21:42:08 apparently there's an early port of Groovy Jul 20 21:43:08 I've heard also something about C++ ? Jul 20 21:43:15 oh yeah Jul 20 21:43:17 the NDK :) Jul 20 21:43:59 Scala mostly works, I hear. Jul 20 21:44:06 NDK? Jul 20 21:44:30 write2copy: The Native Development Kit is made for parts that need high performance, but you can't write applications that interact with the framework (very easily) in it. Jul 20 21:44:46 Java is probably what you want. Jul 20 21:45:09 fror app development, it's a one horse town Jul 20 21:45:11 java Jul 20 21:45:19 romainguy_: is there a publicly available roadmap for the proprietary Google applications? Jul 20 21:45:20 you can do libs in C++ Jul 20 21:45:56 ok, also an eternal question I had in my mind: is java somehow connected to javascript? Jul 20 21:46:03 no Jul 20 21:46:05 well, not so eternal anymore I guess hehe Jul 20 21:46:07 aVirulence: no Jul 20 21:46:08 write2copy: only in name Jul 20 21:46:15 write2copy: just by name :) Jul 20 21:46:21 JavaScript was formerly LiveScript Jul 20 21:46:23 ECMAScript was named Javascript to catch onto the hype Jul 20 21:46:23 a loooong time ago Jul 20 21:46:39 LiveScript was initially separate, though. Jul 20 21:46:40 hehe talk about code of confusion Jul 20 21:46:46 romainguy_: thanks Jul 20 21:46:52 kRutOn: LiveScript was Netscape's Jul 20 21:46:52 write2copy: that's the point, I think Jul 20 21:47:08 unless I'm mistaken (again :) Jul 20 21:47:30 and I'd guess JS is somehow dedicated to web-apps, and Java is somehow more powerfull? Jul 20 21:47:31 romainguy_: Oh, no, I was thinking of JScript Jul 20 21:47:57 write2copy: you could write non web apps in JS if you wanted Jul 20 21:48:01 romainguy_: Until they got it somewhat straightened out by Ecma Jul 20 21:48:07 yes Jul 20 21:48:29 you can still find some of the LiveScript roots in browsers Jul 20 21:48:43 the tech used to talk between applets and JS used to be called LiveConnect Jul 20 21:48:47 and it kept that name for quite a while Jul 20 21:48:57 write2copy: js is dynamicly typed and java is static compiled! that the first huge different. at beginning of learning. good and bad use cases of both Jul 20 21:49:53 Javascript is really more like Scheme or LISP, I guess.. lots of closures Jul 20 21:50:08 well, in non-trivial JS Jul 20 21:50:10 kRutOn: when used this way :) Jul 20 21:50:12 yeah, as I've observed, you can do same things with all languages, only it depends on the speed and the implementation Jul 20 21:50:16 you can write JS that looks a lot like Java Jul 20 21:50:22 so for easy learning you would propably take a dynamic langaue like ruby,js,python and poke inside and see results, so on.. Jul 20 21:50:24 and that's how it's been used for the longest time Jul 20 21:50:57 oh yeah, I'm gonna be learning LISP at my school hehe (mainly for audio synthesis) Jul 20 21:51:07 but that's over a year from now Jul 20 21:51:30 it will help you think different(tm) Jul 20 21:51:37 hehehe Jul 20 21:51:48 lisp? so you gotta learn some ruby and forget the python :P Jul 20 21:52:19 (greenspun's 10th rule) Jul 20 21:52:21 also I've heard that LISP is not so much older then FORTRAN :S Jul 20 21:52:43 lol I've yet to venture in those worlds :p Jul 20 21:53:27 but generally, for writing apps (GUI modules etc.) on android, it's best to learn Java right? Jul 20 21:53:34 how can I test "emulator->Dev Tools->Google Login Service" Jul 20 21:53:45 what is the text field for? Jul 20 21:53:54 username? Jul 20 21:54:35 write2copy: yes Jul 20 21:55:16 when i click on 'google' 'hosted' 'list' tabs, the app just crashes Jul 20 21:56:19 cool, I'll check out java and ruby and make up my choice, I guess it really depends on what I want to do in the future with code, but also how I am going to use an android phone Jul 20 21:57:55 and I _was_ in the beginning, very very enthousiastic about the android OS Jul 20 21:58:03 still am, but I think I missed the train a little Jul 20 21:58:28 I knew from the beginning that it would take the mobile market, phone by phone ;) Jul 20 21:58:41 company by company ... Jul 20 21:59:46 answering to my own question. http://code.google.com/p/android/issues/detail?id=2679 Jul 20 21:59:47 http://groups.google.com/group/android-developers/browse_thread/thread/504e396083d13920?pli=1 Jul 20 22:02:30 write2copy: java is huge and conky, do not follow any path ;) .. Jul 20 22:04:12 I would like to, but that prohibits me of learning the android OS deep deep :( Jul 20 22:06:43 i meant, that some javas history youre allowed to miss - saving you some lifetime. dont need it all to master android/dalvik Jul 20 22:09:14 oooh, it's like that Jul 20 22:09:16 For those interested. I solved my problem by putting my icon as background in a LinearLayout and then put the play icon on ImageButton, set the background as transparent and it seems to have worked. Jul 20 22:17:41 with what are these codes written? - http://developer.android.com/guide/topics/ui/menus.html Jul 20 22:20:33 write2copy: java. Jul 20 22:20:44 there's a few xml snippets in there too Jul 20 22:23:43 hmm, doesn't seem really that hardcore to me Jul 20 22:23:52 but it could also be because it's a very basic code... Jul 20 22:24:21 it is very basic code :P Jul 20 22:24:43 also this thing is awesome for rubynuubs like me - http://tryruby.hobix.com/ Jul 20 22:50:05 if we want to contribute at this point, we need to be working on the eclair branch, correct? Jul 20 22:52:36 herriojr: master of the app widgets :) Jul 20 22:52:46 huh? Jul 20 22:53:01 I think the master is jsharkey ;) Jul 20 22:53:32 he wrote it :) Jul 20 22:54:25 oh ok Jul 20 22:54:45 but jsharkey wont talk to the normal newbie ;) Jul 20 22:54:46 :D Jul 20 22:55:00 actually, he did quite a bit for a while Jul 20 22:55:14 hm Jul 20 22:55:16 ok Jul 20 22:55:17 haven't seen him on much lately though, so he's probably really busy Jul 20 22:55:21 i never met him here ;) Jul 20 22:56:28 the_alien: yeah, sorry I haven't been helping with the widget, I've been quite busy as of late Jul 20 22:56:53 no problem, herriojr. working on it all of my own ;) Jul 20 22:57:06 ok, reused some code from smspopup lately Jul 20 22:57:39 oh, you haven't found a solution for the lag with buttons and pending intents? Jul 20 22:58:09 unfortunately no, that's something I wanted to ask jsharkey about Jul 20 22:59:29 people keep posting in the market about the lag :/ Jul 20 23:06:30 hello, can anyone tell me what the latest G1 build number is? i was comparing mine to others people and we all have the same firmware ver. but diff build numbers, is this normal? Jul 20 23:07:41 i keep having issues where my data connection kicks off IM programs and such even when my signal is fine so i'm not sure if this is a build issue and if I need an update or something or if the phone sleeps after a while which causes this to happen? Jul 20 23:14:17 wt1: stop reposting in both forums. This one is dev related - stick with #android and just be patient - if someone can help you they will respond. Jul 20 23:14:30 the_alien: I wish I had found the solution, but I haven't, which is why I wish jsharkey would answer my pings :-/ Jul 20 23:24:22 herriojr: yeah would be nice to know why this happens and if we can't do anything about it, if it will be fixed Jul 20 23:25:28 the_alien: I wonder if it is something due to Intent optimization in the subsystem, meaning if they get multiple of the same intent, maybe they combine them into one Jul 20 23:25:36 within a time period Jul 20 23:25:52 I'm just making guesses at this point Jul 20 23:26:10 that would be easy to try Jul 20 23:28:03 the_alien: I forgot, do you add your handling of the request as a service or is it all in the receiver? Jul 20 23:29:44 receiver Jul 20 23:30:36 I wonder if it has to do with that...I do the same thing Jul 20 23:31:02 what some people do is they have a service handle it, maybe that would fix it? Jul 20 23:31:25 doing some major changes right now, will try it Jul 20 23:33:09 *yawn* 1:30am here. have to go to bed. Jul 20 23:40:44 the_alien: goodnight Jul 21 00:45:04 http://www.anddev.org/adding_dialog_to_incoming_call_screen-t6804.html anyone know the answer to this one? Jul 21 00:59:18 hello im brand new to android, where can i go to learn how to build a hello world, and it shows an explanation on what each command is doing? Jul 21 01:06:18 Mastrgamr buy this book http://www.pragprog.com/titles/eband/hello-android Jul 21 01:06:29 it's a good start Jul 21 02:49:52 question: is there a way to tell when soft keyboard is invoked ? like callback function to override ? **** ENDING LOGGING AT Tue Jul 21 02:59:57 2009