**** BEGIN LOGGING AT Wed Jun 10 02:59:57 2009 Jun 10 03:03:41 I'm getting a stack overflow exception if I use SPannable to format some text in ListView rows...unformatted everything is fine Jun 10 03:03:44 can dev apps for myself on a g1 bought from tmobile Jun 10 03:03:57 sorry: can i dev apps for myself on a g1 bought from tmobile? Jun 10 03:04:00 neonfreon: yes Jun 10 03:04:10 neonfreon: d.android.com Jun 10 03:04:45 i haven't bought one yet; do i need do some unlock or pay any money or anything? Jun 10 03:04:48 nope Jun 10 03:04:52 awesome Jun 10 03:04:59 any retail device can be used to develop Android apps Jun 10 03:05:05 and the SDK is freely available Jun 10 03:05:14 ==zhobbs_ for the download Jun 10 03:05:19 and mucho documentation Jun 10 03:05:29 cool, thanks Jun 10 03:09:46 kRutOn: I wrote my first game on an Acer Aspire One ... The netbook survived ... somehow Jun 10 03:11:12 Once eclipse is started (around 5mn or so;) it runs pretty well Jun 10 03:12:11 can StackOverflowExceptions be triggered at different points on different systems? Jun 10 03:13:06 apparently I'm close, because if I use a Spannable in my TextView it puts me over...just wondering if that means I am over on some devices Jun 10 03:16:46 12 levels of views in this hierchy Jun 10 03:18:15 zhobbs: according to romain on one of his google io talks, relative layout will reduce the amount of stack space you're using... (i think) I havent played with them yet Jun 10 03:18:37 because you're not nesting layouts etc. Jun 10 03:18:57 yeah, it can... Jun 10 03:33:36 hmm Jun 10 03:33:43 do i have to do all dev in java Jun 10 03:35:13 zhobbs_: belated, it'll depend on what version of the OS they're running Jun 10 03:35:33 because sometimes we make framework changes that e.g. affect just how much stack space each nesting level uses Jun 10 03:37:12 neonfreon: the only language that appears to work reasonably well is kawa scheme Jun 10 03:38:25 kawa scheme Jun 10 03:38:28 ok. Jun 10 03:44:27 question, is there a way in the emulator to more accurately represent a g1? Jun 10 03:44:30 and all such keys on it? Jun 10 04:01:27 nyt: there are G1 skins for the emu Jun 10 04:04:55 zhobbs_: with proper keyboard? Jun 10 04:05:06 dunno Jun 10 04:08:42 nyt: no, some of the keys on jsharkey's G1 skin don't work Jun 10 04:24:50 Hey, I want to package up an emulator, image, and my app all in one to send to somebody. Jun 10 04:25:19 You just double click on a bat file or something and it'll just launch the emulator...is thre a way to just package up a a device image and run it? Jun 10 04:29:29 the most foolproof way is probably putting everything in a VMware Player intance Jun 10 04:29:47 until someone puts in some time to package it up the way you suggest Jun 10 04:35:27 listviews, is it better to build the view for each item by code rather than XML? what kind of overhead does inflating XML have? anybody know? Jun 10 04:38:17 you reuse the views anyway Jun 10 04:38:39 that's the trick with the viewholder? (this is my first venture into listviews) :) Jun 10 04:38:54 no, it's the convertView argument Jun 10 04:39:18 but ViewHolder lets you quickly find the reference to the Views inside you're interested in Jun 10 04:39:30 instead of calling findViewById() each time Jun 10 04:40:13 oh aye, I remember, so once I've created a screen's worth of views, creation times irrelevant as they're already created? Jun 10 04:40:32 I just replace the values in them? Jun 10 04:41:33 something I'm not sure of, although I may be getting ahead of myself, I'm working through the API demo (List4), I realise I can add data to the member array, do I need to tell the listview that the data has changed? Jun 10 04:54:12 I think you'd have a DataSetObserver.. can't remember the name Jun 10 04:58:01 found it, hiding under Adapter :) you are correct, it is DataSetObserver, I feel like I'm drowning in new classes :) Jun 10 04:58:09 thanks for your help kRutOn Jun 10 04:58:31 no problem Jun 10 05:38:41 cccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccc Jun 10 05:38:52 sorry Jun 10 05:38:55 button got stuc Jun 10 05:45:21 is there any way to create a universal exception handler that will always trigger when an app exception bubbles to the top and it would normally present the user with a "force close" ? Jun 10 05:47:14 can it be done using Thread.UncaughtExceptionHandler ? Jun 10 05:48:08 scootley:ive got something Jun 10 05:48:51 scootley: http://code.google.com/p/android-remote-stacktrace/ Jun 10 05:49:56 interesting. thanks i'll check it out Jun 10 05:53:33 does any one know how to get cupcake code? Jun 10 05:53:37 sorry Jun 10 05:53:40 donut code? Jun 10 05:54:12 source.android.com Jun 10 05:55:26 repo init -u git://android.git.kernel.org/platform/manifest.git -b cupcake Jun 10 05:55:42 is there a branch in git for donut? Jun 10 05:55:47 that part i am not sure Jun 10 05:56:03 or how can i find out what branch are out there? Jun 10 05:56:30 there is Jun 10 05:56:32 it's called donut Jun 10 05:56:40 android.git.kernel.org Jun 10 05:56:50 ok Jun 10 05:57:10 hunterp: ok so this does use Thread.UncaughtExceptionHandler, then Jun 10 06:14:28 question: say I wanted to make an app for general usage. Up to now I kept using com.example.____ for the package name of my helloworld apps :P is there a specific format for an app meant for mainstream usage? Jun 10 06:51:30 the9a3eedi: it is customary to use your domain name as the package roots. ie http://google.com converts to com.google.package.hirarchy Jun 10 06:53:06 i would/should/do Jun 10 07:07:23 is there a way to get the wifi channel for a scan result? or do I have to use the frequency? Jun 10 07:49:12 is there a bug with the emulator and listviews when the orientation changes? it seems to be randomly loosing it's scroll position, but seems ok on a device Jun 10 07:49:37 well I guess more to the point, when saving/restoring it's state Jun 10 09:16:11 hallo...is ther a java/android order like system("") from C in jave? Jun 10 09:18:41 schasch, yes. Jun 10 09:18:52 schasch, one moment Jun 10 09:19:11 http://developer.android.com/reference/java/lang/Runtime.html Jun 10 09:19:17 however, you'll find that is not included on the phone Jun 10 09:19:31 i'm getting you a url which shows you how to do it Jun 10 09:19:41 wmealing: you are so nice... Jun 10 09:19:48 :-) Jun 10 09:19:59 yawww Jun 10 09:20:09 wmealing: are you in sf? Jun 10 09:20:11 the only reason why, is because this annoyed me also. Jun 10 09:20:14 sf ? Jun 10 09:20:17 sanfran Jun 10 09:20:36 negative, I'm in singapore. Jun 10 09:20:39 wow Jun 10 09:20:47 are you developing any local android apps Jun 10 09:20:59 i'm working on one or two Jun 10 09:21:08 my priority at the moment is the vpn app Jun 10 09:21:15 COOL Jun 10 09:21:23 i needed that shit 6 months ago Jun 10 09:21:29 pptp? Jun 10 09:21:42 no, cisco vpn Jun 10 09:21:46 schasch, http://gimite.net/en/index.php?Run%20native%20executable%20in%20Android%20App Jun 10 09:21:51 why not pptp?? Jun 10 09:21:57 dont have a pptp server. Jun 10 09:22:03 although i'm thinking about other vpn style access Jun 10 09:22:07 once i have this up and running Jun 10 09:22:27 good Jun 10 09:22:29 vpnc, ipsec, pptp was the order in my head. Jun 10 09:22:43 pptp is the most popular Jun 10 09:22:55 could be, although my work doesn't provide me a pptp server Jun 10 09:22:56 that app will have purchases in evry country Jun 10 09:23:06 oh, you are making for work.... Jun 10 09:23:06 i dont plan to sell it, i plan to give it away for free. Jun 10 09:23:24 no Jun 10 09:23:29 i just want to get my work email. Jun 10 09:23:42 sell the app. retire Jun 10 09:24:10 pptp would probably make you enough money to live for more than a year Jun 10 09:24:39 in a year...you can develop other apps Jun 10 09:24:53 wmealing:thanks:I will have a look!!! Jun 10 09:25:12 hunterp, perhaps. Jun 10 09:25:34 hunterp, i dont think i'm going to get rich or even make money from android Jun 10 09:25:44 im planning on it :-) Jun 10 09:25:48 http://code.google.com/p/get-a-robot-vpnc/ <-- its a little behind local, only because i'm having to re-write some of the c code. Jun 10 09:25:52 i'm not that good Jun 10 09:26:31 this is my first month writing java code. Jun 10 09:26:50 well. if the app works, and is robust... Jun 10 09:27:51 i guess Jun 10 09:28:56 wmealing:cool...source is running in my eclipse!!!!!!!!! Jun 10 09:29:18 schasch, thats great ! Jun 10 09:52:55 Hi I have a question Jun 10 09:53:06 I want to overlay a listview over my mapsview Jun 10 09:53:10 mapsview is working np Jun 10 09:53:24 so I have created a second xml layout Jun 10 09:53:47 and using the menu I switch to this second layout Jun 10 09:54:10 but I can't work out how to assign my listview class to this layout Jun 10 10:25:24 Does someone know how to get a Drawable from a Bitmap ? Jun 10 10:25:35 Or how to get and ressource id for a bitmap ? Jun 10 11:12:28 I have activities A, B and C - if the user is going from A to B and then C, can I clear the back stack when starting C? (so that pressing back in C won't take the user back to A or B) Jun 10 11:45:47 uhm.. how is Activity.finishFromChild() supposed to work? I call A.startActivityForResult(B); B.finish(); but A.finishFromChild() is never called Jun 10 11:45:55 am I misreading the docs? Jun 10 11:46:04 it does say that "This is called when a child activity of this one calls its finish() method. The default implementation simply calls finish() on this activity (the parent), finishing the entire group." Jun 10 11:47:55 ..or "child" does not mean that one is started from another using startActivityForResult? :) Jun 10 11:48:00 I guess not Jun 10 12:10:30 romainguy: are you available? Jun 10 12:39:33 anno^da-, I think he's spoken for Jun 10 12:40:55 Well I think he is not here :) Jun 10 12:41:56 Do you know something about using DrawableLeft in a TextView and how to set the bounds the right way. I'm seeing the drawable taking its space when I set the bounds but I can't see the drawable itself :) Jun 10 12:48:37 I've only used setCompoundDrawablesWithIntrinsicBounds(int,int,int,int) from code and this one works just fine Jun 10 12:54:18 define layout width 300dip and height 100dip, but the viewgroup is full screen, what's the reason? Jun 10 13:35:48 <_3c5x9> Hi, i am trying to stream videos with vlc trascoded to the g1. normal remote uriś are working well, but streams coming from the vlc arent. does anyone knows why or can point me to the right direction? Jun 10 13:36:08 <_3c5x9> android is in cupcake 1.5 Jun 10 13:38:29 _3c5x9: did you try rtsp-streaming from vlc? Jun 10 13:38:58 <_3c5x9> yes, but same effect... i will provide a errormessage... come in a moment Jun 10 13:39:05 _3c5x9: you could join #videolan and tell me your sout-line what did you try to use Jun 10 13:41:40 <_3c5x9> got it? Jun 10 13:46:02 tauno: Yeah. This one works. But if I want to control the size of the image I have to set custom bounds. Jun 10 13:46:06 Which don't work. Jun 10 14:08:06 anno^da-, did you set the bounds of the image also? Jun 10 14:14:43 ahhhh let me test that Jun 10 14:15:33 tauno: Hmm well how could I set bounds for a Bitmap? Jun 10 14:15:51 I'm getting the Bitmap from the ContactsProvider (contact picture) Jun 10 14:16:06 I'm converting it to a BitmapDrawable Jun 10 14:16:12 and set the bounds for it Jun 10 14:22:58 is there a way to store object on onSaveInstanceState Jun 10 14:28:16 uh, yes Jun 10 14:28:18 store it :P Jun 10 14:29:50 i have an arraylist of Path. Jun 10 14:30:05 is Path parcelable? Jun 10 14:30:21 you might want to try just getting the array out of the arraylist Jun 10 14:31:13 Parcel: unable to marshal value android.graphics.Path Jun 10 14:31:34 I guess that's a no Jun 10 14:32:32 hmm, that's disappointing. doesn't appear to be serializable either. Jun 10 14:33:03 yap Jun 10 14:33:19 doesn't really have any way to access its internals at all Jun 10 14:33:21 mmm. Jun 10 14:33:43 not really sure what to tell you about that one. stick around and see if someone else can answer it, or ask about this on the android dev group Jun 10 14:35:03 k tnx Jun 10 14:49:18 hello everyone. does someone here know whether the android default gui can be rendered to an opengl texture? Jun 10 15:04:58 hello,how can I mount my /dev/block/mmcblk0p2 to /sdcard2 in android-shell? it is ext3... Jun 10 15:06:40 you want to mount it, or remount it ? Jun 10 15:06:51 mkdir /sdcard2 Jun 10 15:07:03 mount /dev/block/mmcblk0p2 /sdcard2 Jun 10 15:07:05 at a guess Jun 10 15:11:27 (17:14:13) schasch: # mount -t ext3 /dev/block/mmcblk0p2 /sdcard2 Jun 10 15:11:27 (17:14:13) schasch: mount: Invalid argument Jun 10 15:13:18 it isnt ext3 Jun 10 15:13:26 unless you made it ext3 ? Jun 10 15:13:50 yes it is ext3... Jun 10 15:15:40 try this, not sure if it'll work then Jun 10 15:15:57 wait, is there ext3 in /proc/filesystems ? Jun 10 15:17:39 # cat /proc/filesystems Jun 10 15:17:39 nodev sysfs Jun 10 15:17:39 nodev rootfs Jun 10 15:17:39 nodev bdev Jun 10 15:17:39 nodev proc Jun 10 15:17:40 nodev securityfs Jun 10 15:17:42 nodev sockfs Jun 10 15:17:44 nodev usbfs Jun 10 15:17:46 nodev pipefs Jun 10 15:17:48 nodev anon_inodefs Jun 10 15:17:50 nodev tmpfs Jun 10 15:17:52 nodev inotifyfs Jun 10 15:17:54 nodev devpts Jun 10 15:17:56 ext3 Jun 10 15:17:58 ext2 Jun 10 15:18:00 cramfs Jun 10 15:18:02 nodev ramfs Jun 10 15:18:04 vfat Jun 10 15:18:06 msdos Jun 10 15:18:08 nodev jffs2 Jun 10 15:18:10 romfs Jun 10 15:18:12 yaffs Jun 10 15:18:14 yaffs2 Jun 10 15:18:16 # Jun 10 15:18:43 pastebin Jun 10 15:18:43 ffs Jun 10 15:18:50 oh, that was.. a little much Jun 10 15:19:06 sorry Jun 10 15:19:16 yeah Jun 10 15:19:29 mount -t ext3 -o remount,rw /dev/blockwhatever /sdcard2 Jun 10 15:19:33 try giving it a -o Jun 10 15:21:14 # mount -t ext3 -o remount,rw /dev/block/mmcblk0p2 /sdcard2 Jun 10 15:21:15 mount: Invalid argument Jun 10 15:21:35 # ls -l /dev/block/ Jun 10 15:21:35 brw------- root root 179, 3 2000-01-01 00:00 mmcblk0p3 Jun 10 15:21:35 brw------- root root 179, 2 2000-01-01 00:00 mmcblk0p2 Jun 10 15:22:56 ok, i'm out of ideas then. Jun 10 15:23:40 schasch: which partition on the sdcard is your ext3 filesystem? Jun 10 15:24:20 4GB : 100MB FAT 1,4GB EXT3 2.3GB FAT Jun 10 15:24:37 schasch: did you check dmesg Jun 10 15:25:08 yes....only batmsg..... Jun 10 15:25:23 means ext2 is partition number 2? Jun 10 15:25:27 batman? Jun 10 15:25:48 na na na Jun 10 15:26:14 yes EXT3 is the second...the third is mount at boottime... Jun 10 15:26:24 holy partition madness, batman Jun 10 15:27:01 ????? Jun 10 15:27:04 what is output of mount? (use pastebin) Jun 10 15:28:25 schasch: And logread or dmesg doesn't show any error about the "Invalid argument"" ? Jun 10 15:28:53 http://pastebin.com/m6963ae93 Jun 10 15:29:46 er, logcat Jun 10 15:30:33 # mount -t ext3 -o remount,rw /dev/block/mmcblk0p2 /sdcard2 no logcat=nothing only on console -> mount: Invalid argument Jun 10 15:35:43 so, does this say the same thing: mount -t ext2 -o ro /dev/block/mmcblk0p2 /sdcard2 Jun 10 15:37:17 kRutOn:shame on me........THANKX!!! Jun 10 15:37:49 that's read-only, though.. Jun 10 15:38:09 there might be a filesystem error if it won't mount rw Jun 10 15:38:26 how to specify the build android language, such as french? Jun 10 15:39:21 you can also try this to get to rw: tune2fs -O ^journal /dev/block/mmcblk0p2 Jun 10 15:39:53 your kernel version could have some kind of issue with the journal Jun 10 15:42:30 kRutOn:seemed my partition was ext2 and not ext3..... Jun 10 15:43:17 kRutOn:I always format ext3 but something must have been happened whils auto-install Jun 10 15:43:58 schasch: Well, it should 'auto-upgrade' to ext3 if you mount it like that. Jun 10 15:44:17 schasch: There's something wrong with the journal maybe. Jun 10 15:46:20 kRutOn:thanks... Jun 10 15:55:59 i need to change animation(AnimationDrawable) after like 5 secs from beginning, even though http://pastebin.ca/1455466 isnt working at all, it stops the animation. Anyone would advice me where am i wrong? :| Jun 10 16:09:23 can anyone think of a reason that dns would work differently from an application, to a command being run at logcat Jun 10 16:30:43 moving along Jun 10 16:33:10 wmealing_: command being run at logcat meaning command line, or meaning you're outputting the response to logcat? Jun 10 16:34:31 i run the command through the application, its dns response.. it fails host not found Jun 10 16:34:35 i see that in logcat Jun 10 16:34:42 i run the command through adb, it resolves Jun 10 16:35:47 you mean adb shell blahblahblah? Jun 10 16:36:10 your command line command is not going through the java framework, so maybe it would act differently? Jun 10 16:36:13 I'm not the right person to ask, though Jun 10 16:37:23 yes Jun 10 16:37:43 * wmealing_ nods Jun 10 16:46:17 ok, this is strange, apparently no bar signal , no data type, yet internet seemms to work Jun 10 18:13:02 bump Jun 10 18:13:18 i need to change animation(AnimationDrawable) after like 5 secs from beginning, even though http://pastebin.ca/1455466 isnt working at all, it stops the animation. Anyone would advice me where am i wrong? :| Jun 10 18:22:28 you know, with the talk about home screens, I'm curious, is there something in place that makes sure the user can go to the Settings application if they have an application with an overridden home screen? Jun 10 18:23:04 if the user's home screen is dumb enough to not include access to settings, you can boot in safe mode Jun 10 18:24:20 I was just curious, since the only way I can get my sharedUserId bug fixed before Donut is to find some huge security issue ;) Jun 10 18:25:28 gps isn't kept on using a partial wake lock (at least as best I can tell), is there any way to keep it on without keeping the screen on too? Jun 10 18:50:41 doc_savage: My Tracks(google app) manages it Jun 10 18:51:42 herriojr: the answer is "don't uninstall single parts of the shared system" :) Jun 10 18:52:02 ewon: thanks I'll check it out, atm I'm running it as a thread in my UI to poll GPS, which ... it seems to still be getting updates, even though the GPS icon flashes once the screen comes back on... the apps not developed enough for me to take it out and test Jun 10 18:52:21 my tracks definitely keeps a lock Jun 10 18:52:27 and probably runs a Service Jun 10 18:52:33 start it up, hit record track, hit red button, screen goes dark Jun 10 18:52:38 track keeps recording Jun 10 18:52:46 at least, if it keeps running while things are powered down / backgrounded Jun 10 18:52:54 right Jun 10 18:52:55 yeah, I was trying to avoid a service (one step at a time), but have been thinking thats the direction Jun 10 18:53:26 if you're doing stuff while your activity is not undergoing direct user interaction, you want a service :) Jun 10 18:54:00 ctate: ok cool, well I semi-planned for this, so it shouldn't be too hard to slap the polling class into a service, once I've figured out how a service works :) Jun 10 18:54:32 background operation is what services are *for* Jun 10 18:54:35 ctate: it worked in 1.1, and I can't force my users not to delete the other parts Jun 10 18:54:46 herriojr: i know. :( Jun 10 18:54:52 our bad. Jun 10 18:55:25 so, since we have a lot of influence in carriers/oems, who should we target to get a new revision pushed, or is it up to you guys? Jun 10 18:55:38 ctate: yeah, I know, I'm just really new and right in the deep end, my first app is a wifi/gps scanner :D I'll finish the class, then investigate services (and notifications), thanks for the info guys Jun 10 18:56:08 herriojr: a new revision of what? Android? Jun 10 18:56:19 romainguy: yes Jun 10 18:56:29 romainguy: they're hit hard by the sharedUid bug :( Jun 10 18:56:36 like if I were to put my patch in, do I get the carrier to push it, or do I get the oem, I don't know who handles it Jun 10 18:56:50 ask them :) Jun 10 18:57:19 especially since one of the members of our board is a member of t-mo's board Jun 10 18:58:10 I just need to figure out if I lean on the OEM or the carrier Jun 10 18:58:42 well, I guess i could get the carrier to lean on the oem to push it Jun 10 18:59:05 well the carrier has probably its say in this Jun 10 18:59:14 pushing an OTA costs the carrier, not the OEM :p Jun 10 18:59:31 ok, I'll start the ball rolling with them I guess Jun 10 19:00:04 honestly I would be surprised if carriers decided to roll out an OTA just for this bug fix Jun 10 19:00:09 no matter how annoying it is Jun 10 19:00:35 ==romainguy_ Jun 10 19:03:05 romainguy: that's why I wanted to start looking for security holes ;) Jun 10 19:03:22 piggy back my fix along Jun 10 19:04:10 romainguy_: speaking of... :D Jun 10 19:04:28 yes? Jun 10 19:05:29 ctate: just to check I've got the right mindset, user clicks scan in the UI, that starts/binds to existing service, which does all the scanning and saving, then gives that inof back to the UI to display? Jun 10 19:05:40 herriojr: yeah piggybacking probably wouldn't work Jun 10 19:05:50 herriojr: any change is risky :p Jun 10 19:06:39 romainguy: I tested it ;) Jun 10 19:07:07 herriojr: yeah... Jun 10 19:07:13 heh Jun 10 19:11:28 romainguy: on a side note, my manager is complaining about the black shadow that gets cast between a view and a DecorView contributed by another activity, is it possible to remove this "shadow"? Jun 10 19:11:53 it was introduced in 1.5 Jun 10 19:13:40 I don't think it's a big deal but she keeps yelling about it Jun 10 19:24:45 i would guess that this is like yelling about the drop shadows in MacOS X, asking if you can remove them. Jun 10 19:27:04 ctate: yeah, I was just checking Jun 10 19:27:35 in general having unambiguous visual clues as to which content is provided by which activity is important Jun 10 19:27:51 spoofing is bad, mmkay? Jun 10 19:28:08 ctate: the only things you can contribute to an activity are those that have your signature Jun 10 19:28:23 so I wouldn't consider it spoofing Jun 10 19:28:58 you can't just grab an activity and get its DecorView without that activity's package having your signature Jun 10 19:29:34 unless you guys plan on being able to do just that without a signature, then I'd say, yes, you probably do need that visual cue Jun 10 19:30:16 anyways, I'll stop bugging you guys ;) Jun 10 19:40:00 my developer phone crashes when trying to view the contact info of.. my contact Jun 10 19:40:02 funny Jun 10 19:48:17 Rexxars: you must have entered something invalid into the database Jun 10 19:48:32 do you have the dump? Jun 10 19:55:31 herriojr: leave the shadow alone Jun 10 20:00:22 romainguy: does that mean you guys are planning on supporting grabbing activities from packages without shared signatures/shared user? Jun 10 20:00:59 romainguy: np with the shadow btw, I just needed some more ammo to tell my boss we can't do it Jun 10 20:01:11 *or rather can't get rid of it Jun 10 20:14:33 it really reinforces things when I say, "Google said you can't do it", then I don't get bothered about it anymore Jun 10 20:20:42 romainguy_ : i got one question regarding the usage of the DrawableLeft in the textview. you told me that I should use setBounds to controll the size and position of the image.I have tried that but the drawable doesnt rendered. The drawable takes the space but you cant see it. Jun 10 20:21:13 What could be wrong. When I use the default bounds it gets rendered. Jun 10 20:29:51 I didn't say the position Jun 10 20:29:53 just the size Jun 10 20:30:15 the bounds should be 0,0,width,height Jun 10 20:32:09 hmm yeah ok the size. I will try that once more. Jun 10 20:50:39 romainguy: Thank you very much. Jun 10 21:07:02 Hi all! just installed the android SDK and got everything up and running. But my problem is that I'm not that used to java. Does anyone have any good links for getting started for someone that normally do C++,PHP,Actionscript (mostly C++)? Jun 10 21:09:07 Hi all. I have an app that allows you to create Home "shortcuts" to a specific Activity. It turns out that some of my users will use the app, hit the home key to go do something else, then use one of the shortcuts to jump back to that Activity. Since the app is still in memory it just opens the new Activity on top of the others and the "Back" key will take them back through the whole history. What I'd like to have happen is if they use a Jun 10 21:24:56 hi Jun 10 21:25:03 hello Jun 10 21:25:42 i want to know if it's possible to get all applications which use android.intent.action.BOOT_COMPLETED Jun 10 21:26:01 probably. check with the packagemanager Jun 10 21:26:45 and you know what is the "Launch by default" option in the application info ? Jun 10 21:31:53 jasta thks Jun 10 21:35:44 is a 10,000 item int array a stupid thing to do? Jun 10 21:36:07 it's only like 40kB Jun 10 21:36:37 zhobbs_: generally, yes. Jun 10 21:36:40 it's possible to disabled another activity ? Jun 10 21:37:09 zhobbs_: what problem are you trying to solve? Jun 10 21:37:20 jasta: I just noticed that the music player's playback service is just an int array, and it seems like you could probably fit 10k songs on a 32 GB sd Jun 10 21:37:32 I mean, stores the playlist as an int[] Jun 10 21:37:41 Hi there, anyone figured how the orientation accuracity is calibrateD? Jun 10 21:37:44 i think not because each activity is lauching in a closed space Jun 10 21:38:15 zhobbs_: well they obviously felt that was an acceptable scalability trade-off for better best case performance Jun 10 21:38:25 a linked list, for instance, would introduce memory overhead per item;. Jun 10 21:39:04 I use a cursor...but switching to an int[] has lots of advantages...just wondering what trade-offs there are Jun 10 21:40:23 no one played with the compass in the hhhmm room? Jun 10 21:42:44 mobidroid As far as I can tell you can't calibrate it Jun 10 21:45:23 fixedd: yeah that's what I think but it's pretty random, like 2 min ago the acc was low and now it's high !? Jun 10 21:45:49 I guess the app must be running and it will automagicly fix the accuracity using mystic forces... Jun 10 21:45:57 mobidroid The ony advice I've found has to do with basically twirling the phone around for a min Jun 10 21:46:01 you do figure 8's to calibrate the compass Jun 10 21:46:29 and it'll STILL be off (at least in MY G1) Jun 10 21:46:30 8's ? Jun 10 21:46:40 yeah Jun 10 21:47:00 sorry 8's is not in my dictionnary :P Jun 10 21:47:41 mobidroid http://blog.davidcarrington.co.uk/2008/11/10/how-to-calibratefix-the-compass-in-androidg1/ Jun 10 21:48:18 fixedd: thx for the link i goole whole day about this and dindt found it this one :S Jun 10 21:48:47 hold phone in hand, draw an 8 in front of you with phone Jun 10 21:48:54 over and over again :) Jun 10 21:48:59 like you're at a rave party Jun 10 21:49:03 hi all i may be "stupid" or missing something but i am looking at http://developer.android.com/guide/developing/eclipse-adt.html it say i need "Eclipse IDE with ADT" but here http://www.eclipse.org/downloads/ i see Eclipse IDE for Java EE Developers (163 MB) and Eclipse IDE for Java Developers (85 MB) and Eclipse IDE for C/C++ Developers (68 MB), i asume i need the one for java but it matter what one i pick ? Jun 10 21:49:12 mobidroid Well, it's crappy. It's a hack at best, but it helpd Jun 10 21:49:32 fanno: just get eclipse classic, or eclipse for j2se Jun 10 21:49:46 fanno ADT is the Android plugin for Eclipse Jun 10 21:49:48 ADT is part of the android sdk Jun 10 21:49:51 lol ok now i see what the 8's mean :D Jun 10 21:50:08 vol: do you have a link ? i wanna make sure i get started correct so i dont "waste time with wrong apps" Jun 10 21:50:08 so, yeah, Eclipse IDE for Java Developers is just fine for your purposes. Jun 10 21:50:09 zhobbs_: usually for electronic compasses, you set it on a flat surface and spin it around slowly Jun 10 21:50:16 fanno: http://www.eclipse.org/downloads/download.php?file=/technology/epp/downloads/release/ganymede/SR2/eclipse-java-ganymede-SR2-win32.zip Jun 10 21:50:16 yeah I'm going to be flamed about this hack on the market since my app use the compass : Jun 10 21:50:18 :S Jun 10 21:50:29 zhobbs_: Is the G1 compass designed to be used vertically or horizontally Jun 10 21:50:30 kRutOn: that makes more sense to me... Jun 10 21:50:35 vol: ya i think i know i need to download it seperal Jun 10 21:50:35 kRutOn: yes Jun 10 21:50:58 vol: the ADT thing what ever it is ( just start as you can propearly guess ) Jun 10 21:50:58 fanno: there are instructions on how to install the ADT plugin once you finish installing eclipse, in the android sdk install instructions Jun 10 21:51:13 vol: ya i see them thanks =) Jun 10 21:51:22 romainguy_: any thoughts on why drawables (those defined in XML) can't refer to themed attributes, as with ?android:attr? i could imagine at least colors would be useful to reference in this way. Jun 10 21:51:30 vol: it was just the ide confising me because there were more than one Jun 10 21:51:40 Thx all for the answers, I will update my post on the google group since no one answered :( Jun 10 21:51:57 it seems like the only reason it isnt possible is because the getColor and other calls dont handle TYPE_ATTRIBUTE? Jun 10 21:52:03 but they totally could Jun 10 21:53:45 fanno: right, you're not the first person to complain about that. Jun 10 21:54:27 speaking of complaints, why doesn't DDMS in Eclipse have the allocation tracker Jun 10 21:54:42 vol: i also use eclipse for php but i have limited java experiance but i have to start somewhere =) Jun 10 21:54:43 jasta: no idea Jun 10 21:54:59 just like yesterday I discovered you cannot declare a that points to an ?attr Jun 10 21:55:00 fanno: that's fine, here's a good place to start. Jun 10 21:55:18 romainguy_: doesnt make a lot of sense. i wonder if a patch would be accepted for this... Jun 10 21:55:34 would be nice to be able to make certain colors part of the themes and build drawables that respcet that Jun 10 21:55:40 it makes sense: we probably never needed it/got the time to do it Jun 10 21:57:38 Do they remove question on the google groups Developers ?! I'm sure I posted a question and can't find it using the search, by chance a other site cached the content: http://osdir.com/ml/AndroidDevelopers/2009-06/msg01516.html Jun 10 21:57:44 I'm paranoid?! Jun 10 21:58:43 By the way romainguy, help your home country by putting a bit more pressure on this issue: http://code.google.com/p/android/issues/detail?id=2510&q=404%20file%20not%20found&colspec=ID%20Type%20Version%20Security%20Status%20Owner%20Summary Jun 10 21:59:50 (i know it's not too related to your field, but you can't imagine how much it's irritating to get 404090490 404 not found by day) Jun 10 22:02:21 mobidroid: hmm ... who's your ISP? Wanadoo? Jun 10 22:02:44 free.fr Jun 10 22:03:24 It's a toy google put in there mod_rewrite by local thingnie I guess Jun 10 22:03:39 works for me, but I'm using a DOM ISP who supposedly uses France Telecom's connection Jun 10 22:03:54 if I remove the "/intl/fr/" I can get the page Jun 10 22:04:12 DOM as in sunny and lots of really big cockroaches Jun 10 22:04:24 well at work I get the same problem, it's a other ISP. I guess the ISO code for DOM isnt the same Jun 10 22:04:40 Could somebody give me a example of how to use GLU look at to look at position 0 0 from 10.0f away? Jun 10 22:04:55 might be Jun 10 22:08:00 it's possible to disabled another application ? and it's possible to get the application which use android.intent.action.BOOT_COMPLETED Jun 10 22:09:00 revo221: I dont think you can disable other apps, maybe only if they share a service that autokill them on command Jun 10 22:09:13 revo221: It's a security constraint Jun 10 22:10:23 mobidroid: yes and no i don't see why close an application add security Jun 10 22:10:38 there is no way to put an application to root mode ? ^^' Jun 10 22:11:34 revo221: allowing any app to kill any other app is a receipe for disaster in my book :P Jun 10 22:11:36 mobidroid: what the heck?! Jun 10 22:11:51 ctate: about? Jun 10 22:12:09 about somehow something is translating the Android docs into french Jun 10 22:12:41 when i search with www.google.fr on "PackageManager android", for example, i get a link to developer.android.com Jun 10 22:12:43 not a french thing Jun 10 22:12:45 ctate: I really don't know, I'm starting to think it's a google experiment to make me go crazy and switch for iphone dev ;) Jun 10 22:12:48 admittedly, i am not in France Jun 10 22:13:10 have you told it to automatically translate pages or something? Jun 10 22:13:16 ctate: Yeah I know the switch is done by the google site itself when i click the right url Jun 10 22:13:28 so it's a bug in the translation stuff Jun 10 22:13:35 which has nothing to do with the Android group :) Jun 10 22:14:19 ctate: I partly agree, the sdk is hosted on the android site which make the translation switch Jun 10 22:15:18 no Jun 10 22:15:25 the android site does not provide any translation switches Jun 10 22:15:36 that i am aware of Jun 10 22:15:38 let me try with Konqueror Jun 10 22:16:03 if you go to http://developer.android.com/ directly, do you get any translation options? Jun 10 22:16:24 nope Jun 10 22:16:29 this page work fine Jun 10 22:16:46 that is evidence that the translation is coming from somewhere else Jun 10 22:16:50 probably from www.google.fr Jun 10 22:16:57 but i don't know for sure Jun 10 22:17:17 well for example on this page: http://groups.google.com/group/android-developers Jun 10 22:17:24 if I click FAQ i get the same problem Jun 10 22:17:38 Read the Faq = http://developer.android.com/intl/fr/guide/appendix/faq/index.html Jun 10 22:17:57 I never got this kind of problems on any other site I surf... Jun 10 22:17:57 Read the FAQs = http://code.google.com/android/kb/index.html Jun 10 22:18:13 when i go to the android-developers link that you quoted Jun 10 22:18:25 lol even when I click the link you just put on the chat I get this: http://developer.android.com/intl/fr/guide/appendix/faq/index.html Jun 10 22:18:35 in any browser? Jun 10 22:18:57 when i click on the link i quoted, it takes me eventually to http://developer.android.com/guide/appendix/faq/index.html Jun 10 22:19:01 not intl/fr Jun 10 22:19:10 ctate: he's in france... Jun 10 22:19:28 kRutOn: i'm trying to figure out *what* is munging the links. i'm assuming it's Google France. Jun 10 22:19:33 it is Jun 10 22:19:38 ahhh Konqueror don't have this annoying behavior maybe the local is set to other thing than US Jun 10 22:19:39 it drives me nuts when I'm in France Jun 10 22:19:42 oups FR Jun 10 22:19:45 going to the US google.com is a pain Jun 10 22:19:53 it auto redirects you to the fr sites Jun 10 22:20:00 even when the fr sites DO NOT EXIST Jun 10 22:20:04 yep Jun 10 22:20:04 great so I'm not crazy the whole france is impacted Jun 10 22:20:12 it also happens when your OS is in FR Jun 10 22:20:21 american imperialism! :-) Jun 10 22:20:46 on depends of navigator selected language no? Jun 10 22:21:08 any suggestion about how make google something about it? Jun 10 22:21:22 I don't know if it does the same thing about GWT pages Jun 10 22:21:24 I'll check Jun 10 22:21:29 mpbiI might ressent that .. I 'm not impacted and I'm in France ... kind of ;) Jun 10 22:21:53 (my keyboard is definitely impacted though:( Jun 10 22:22:39 *headdesk* Jun 10 22:26:38 mobidroid i have change the firefox language to spain, restart firefox and now i have google in spain, it's what you want to get? Jun 10 22:27:09 ctate: yeah, I even tried setting my proxy to a server in France and setting my locale to fr-FR.. no luck reproducing it. Jun 10 22:27:19 well I can change my local, but I think in a "better world" google would fix this annoying behavior :P Jun 10 22:28:39 if i put en/us i am redirecting to google.fr ~~ Jun 10 22:28:55 dongs Jun 10 22:29:44 kruton: I think it's the IP that make the switch not the local Jun 10 22:30:01 I tried in the past setting my local to US no sucess Jun 10 22:30:27 IP + local Jun 10 22:30:30 I'll try with a vpn in the US before making a killdozer Jun 10 22:30:36 probably Jun 10 22:31:00 (sorry just learned about the killdozer today epic rampage) Jun 10 22:31:26 try it : ww-in-f103.google.com Jun 10 22:31:42 it's more sexy Jun 10 22:32:37 revo?! Jun 10 22:33:16 not sure what's the diff its a french subdomain Jun 10 22:33:17 ? Jun 10 22:33:35 woo, I got it to do it Jun 10 22:33:44 redirects me to http://developer.android.com/intl/fr-FR/reference/android/widget/TextView.html Jun 10 22:33:51 no i have google in english with it Jun 10 22:33:53 mobidroid: yay killdozer Jun 10 22:33:56 welcome in hell kRuton :P Jun 10 22:33:56 stairs? Jun 10 22:34:40 vol: I'm a lifetime fan now Jun 10 22:34:42 mobidroid: I'm in the US, and with Opera, it used to pop up as Japanese for me every time Jun 10 22:34:52 when I went to developer.android.com Jun 10 22:35:18 herriojr: My company routed my office network traffic through our Japan site for a week once Jun 10 22:35:32 heh Jun 10 22:35:35 herriojr: They also gave us an IP address network that was repurposed from our office in Spain once Jun 10 22:35:47 killdozer epic rampage what huh? Jun 10 22:35:53 herriojr: For that I actually had to go to MaxMind and places like that to get them to change their IP database Jun 10 22:35:58 * ctate knows "Killdozer" only as the title of a rather good short story by Theodore Sturgeon Jun 10 22:36:04 that's not what happened to me, in IE or Firefox, it was in english, but Opera was in japanese ;) Jun 10 22:36:16 herriojr: those wacky Norwegians! Jun 10 22:36:18 ctate let me introduce you to the KILLLDOZZZEERRRRRRR Jun 10 22:36:30 mobidroid: is that a quote from something? Jun 10 22:36:38 I <3 Opera Jun 10 22:36:46 http://en.wikipedia.org/wiki/Marvin_Heemeyer Jun 10 22:36:58 but better watch the "movie" http://dsc.discovery.com/videos/destroyed-in-seconds-bulldozer-rampage.html Jun 10 22:37:06 I thought it was from Idiocracy Jun 10 22:37:08 ohhhhh, i remember when that happened Jun 10 22:37:24 I loled so hard I cried at the office Jun 10 22:37:35 the end is a bit sad thought Jun 10 22:37:49 ctate: it's pretty amazing. Jun 10 22:37:55 vol: yeah Jun 10 22:38:05 but really sad Jun 10 22:38:35 I thought Killdozer was an Idiocracy reference....great movie if you haven't seen it Jun 10 22:38:36 and i guess i'm a little sensitive to wackos just now; someone took a rifle into the Holocaust Museum today Jun 10 22:38:46 hope I never piss off a welder Jun 10 22:38:48 anyway Jun 10 22:39:04 herriojr: nope, I'll add it to my watch list Jun 10 22:39:34 ctate: orly Jun 10 22:39:50 http://code.google.com/android/reference/widget/TextView.html redirects to http://code.google.com/intl/fr-FR/android/etc and then that redirects to http://developer.android.com/intl/fr-FR/reference/etc Jun 10 22:39:53 ctate: yeah wacko sux but this guy only destroyed stuff no one been hurt Jun 10 22:39:53 yeah. shot a guard, was himself shot [dunno about any fatalities] Jun 10 22:40:07 security guard died Jun 10 22:40:12 gack Jun 10 22:40:17 welp. Jun 10 22:40:27 they dont speak about it in wikipedia or discovery Jun 10 22:40:43 the shooter's page is blank and locked down on wikipedia Jun 10 22:41:06 http://news.google.com/news/more?pz=1&ncl=dM7dP0VpXPLMaAMAYJEx_tt_3pB0M&topic=h Jun 10 22:41:20 (does that work?) Jun 10 22:41:33 wow the information square up right: Known for Bulldozer rampage Jun 10 22:42:05 the "no one hurt" was for the Bulldozer rampage Jun 10 22:42:23 I was near the holocost museum two months ago :S Jun 10 22:43:08 ctate: that works as in doesn't redirect to localized stuff Jun 10 22:43:18 kRutOn: oh well Jun 10 22:43:35 so, I'm having issues with a "contributed" DecorView losing focus when the adapter changes, so the menu won't pop up anymore....I tried using a ViewTreeObserver.OnGlobalFocusChanged to see what is happening, but I don't see the focus changing or even being set to null...and my views are focusable in touch mode, so I don't know what is going on Jun 10 22:44:01 ctate: http://code.google.com/intl/fr-FR/android/ works.. just not anything underneat that Jun 10 22:44:37 heh Jun 10 22:45:28 when I do someView.requestFocus(View.FOCUS_FORWARD), it will focus its next available focusable child first, correct? Jun 10 22:46:19 http://code.google.com/intl/fr-FR/android/ work for me too Jun 10 22:47:30 essentially my contributed DecorView is organized as Jun 10 22:47:50 yo homies. San Francisco android app release party, hosted by me: http://upcoming.yahoo.com/event/2888698?v=1&w=attend Jun 10 22:48:23 hunterp: what's the app? Jun 10 22:48:32 herriojr: muni finder Jun 10 22:48:38 ah ok Jun 10 22:48:53 not even close to finished Jun 10 22:48:59 but its a good way to self-motivate!!!! Jun 10 22:49:33 I haven't found a good train schedule app yet...they're usually too static Jun 10 22:49:47 this one is dynamic :-) Jun 10 22:49:53 GPS search, live updates... Jun 10 22:50:03 and free! Jun 10 22:50:15 I will probably download it then ;) Jun 10 22:50:18 (cause the muni people currently don't let me charge) Jun 10 22:50:20 free is overrated ,;9+) Jun 10 22:50:25 does it include Caltrain/BART? Jun 10 22:50:28 but I'm gonna put a donation box Jun 10 22:50:35 herriojr: not yet Jun 10 22:50:43 hunterp: Be prepare to be disapointed :P Jun 10 22:50:52 mobidroid: ? Jun 10 22:50:59 25k hit today on my site, 66 hits on the dontation page, 0 donation Jun 10 22:51:19 well i really want to charge, and the same app on the iphone charges Jun 10 22:51:29 but they are going against the data provider....bad karma Jun 10 22:51:49 bah maybe SF peeps are more generous Jun 10 22:51:54 i wonder if free + ads == non-commercial Jun 10 22:52:25 anyway, I have like 3 whole days to make up my mind Jun 10 22:52:27 mobidroid what is your web site? Jun 10 22:52:33 if you get too much exposure you will receive a "mise en demeure" Jun 10 22:52:37 www.mobidroid.com Jun 10 22:53:09 hunterp: yeah, you won't get any money from donations if any Jun 10 22:53:11 I WAN’T TO DONATE TO MOBIDROID … Jun 10 22:53:11 MOBIDROID IS MY NEW DRUG… Jun 10 22:53:11 I LOVE MOBIDROID… Jun 10 22:53:11 MOBIDROID LOVE ME…. Jun 10 22:53:15 I know the guy who made goVelib (a geoloc for free bike in Paris) he received lawyer letters saying dont touch our stuff Jun 10 22:53:15 lol ? Jun 10 22:53:21 lol Jun 10 22:53:34 you can't say I dind't try :P Jun 10 22:53:57 hunterp: I'd do a different business model Jun 10 22:54:03 gizmodo talked about dildroid yesterday, now dildroid is on the map Jun 10 22:54:18 what is it? Jun 10 22:54:22 hunterp: i'm with herriojr on this Jun 10 22:54:26 or should I just take a guess? Jun 10 22:54:37 you guess might be right :P Jun 10 22:54:41 your* Jun 10 22:54:59 hunterp: I know I'm cheap and am not willing to pay even a dollar for most apps Jun 10 22:55:15 which is why I've pushed for my company's app (yet to be released) to be free Jun 10 22:55:30 so if you can get other revenue out of it, I'd try that if you want to keep it free Jun 10 22:55:40 ads? Jun 10 22:55:53 mine aren't really ads Jun 10 22:55:53 if you think ads+free==non-commercial i'd like to know your opinion Jun 10 22:56:24 hunterp: that's a weird question Jun 10 22:56:39 if they thing ads+free = non commercial, then you KNOW their opinion already ;) Jun 10 22:56:44 oh, you're using a library which requires you not to make money? Jun 10 22:57:08 let me rephrase. do you guys think ads + free qualifies as non-commercial ? Jun 10 22:57:17 dildroid it's a "vibromasseur"? Jun 10 22:57:19 making any money off of it is commercial Jun 10 22:57:21 herriojr: more or less Jun 10 22:57:44 revo221: yes but the phone is not vibrating enought Jun 10 22:57:47 but its not exclusively commercial, its *optionally* commercial :-) Jun 10 22:57:53 yep. what herriojr said. the moment you make money of it, it's commercial Jun 10 22:58:11 unless you're a caritative organisation or all the income goes to one Jun 10 22:58:12 donation != commercial Jun 10 22:58:12 hunterp: see if you can get some kind of profit sharing deal with them Jun 10 22:58:31 yeah, i have an email in to them Jun 10 22:58:35 waiting for reply Jun 10 22:59:03 mobidroid: I'd argue that mobidroid, do you have any legal cases that show otherwise? Jun 10 23:01:04 herriojr: well not a legal case, but I read a bit about the subject in france, and if it's not family donation == commercial don't know elsewere Jun 10 23:02:42 but so far with my wonderfull 0$ donation I'm not too scared about any tax Jun 10 23:04:50 mobidroid: im looking to do in-app donations Jun 10 23:05:34 hunterp: I'm maybe it will be easier, but usually by default users are cheap Jun 10 23:06:06 Pop up window :-) Jun 10 23:06:08 "DONATE" Jun 10 23:06:27 lol yeah remove this annoying donation popup by donate Jun 10 23:06:31 yep :-) Jun 10 23:06:53 my other app, wifinder has a lite version that expires after a day Jun 10 23:07:00 but in this case donation extends commercialTransaction Jun 10 23:07:09 why do say Jun 10 23:07:20 did u manage to make a buck out of it? Jun 10 23:07:23 hunterp: what if the user reinstalls? Jun 10 23:07:30 mobidroid: a buck, yes Jun 10 23:08:15 im almost a dozen-dollar-aire Jun 10 23:08:26 10'aire Jun 10 23:08:34 :| Jun 10 23:08:38 bah gpl projects ask for donations Jun 10 23:08:41 non-commercial Jun 10 23:08:43 imho Jun 10 23:09:06 jsharkey: GPL licenses aren't commercial restricted. Jun 10 23:09:15 actually, as soon as things calm down around my work, I'm going to do a game Jun 10 23:09:16 (in fact, commercial restriction is against the GPL) Jun 10 23:09:26 according to cyrket <50 buck :P Jun 10 23:10:07 mobidroid: its barely been out a week, and received pretty bad karma the first few days, but the lite version is starting to pick up Jun 10 23:10:19 actually, when i only had the pay version up Jun 10 23:10:22 people bought it more Jun 10 23:10:36 dildroid has been released for like two months and only yesterday america found it really exist Jun 10 23:10:52 now it's 1000 download a day Jun 10 23:11:00 why do you think that is ? Jun 10 23:11:26 well you need to get your product good reviews on big hits site Jun 10 23:11:57 other wise the market is total crap to promot a app Jun 10 23:12:07 whats a good site? Jun 10 23:12:23 well got 30k hit from gizmodo.com Jun 10 23:12:59 but I dind't contact them they found the app on a blog about teledildronics heheh Jun 10 23:13:39 I have a bunch of people wanting to beta my app, but I don't want to put it out until the sharedUserId gets fixed Jun 10 23:13:42 and for two days it's been crazy, about 20 blogs around the world spoke about it Jun 10 23:14:04 which probably won't happen until december Jun 10 23:14:14 mobidroid it's the begin of the celibrity Jun 10 23:14:46 herriojr: sharedUserId ? Jun 10 23:14:50 revo221: my next product will be the next buzz :P I was supposed to code it tonight Jun 10 23:15:39 revo221: your in the us? Jun 10 23:15:52 fr Jun 10 23:16:07 arggg :P I got enought review from fr :P Jun 10 23:16:27 I want to know if my sense of humor is "perceptible" in the us Jun 10 23:18:42 hunterp: sharedUserId allows interaction between applications of yours that you normally don't get....so you can have tighter integration Jun 10 23:19:00 herriojr: "normally don't get" ? Jun 10 23:19:24 as in I can directly get the DecorView from an activity from another application Jun 10 23:19:32 or I can access its databases Jun 10 23:19:34 etc. Jun 10 23:19:44 if I don't want to allow outside applications to also access it Jun 10 23:19:45 ohh Jun 10 23:19:49 hrm, how do I query the emulator to discover what services are running Jun 10 23:20:13 herriojr: come out to the mission the Sunday for the android gathering ? Jun 10 23:20:50 b0nn: use the console and use top ? Jun 10 23:21:58 in my case, it allows me to break down my application into pieces, so they only have the functionality in the app that the user wants Jun 10 23:24:20 hmm Jun 10 23:24:31 my debug isnt in the logcat output Jun 10 23:26:00 hunterp: I might, I live in Redwood City, however Jun 10 23:26:12 I'm not much of a partier, either ;) Jun 10 23:26:20 I either program, play video games, or play sports Jun 10 23:26:29 herriojr: yeah its a little far. its a meetup in a coffee shop, fyi Jun 10 23:26:37 herriojr: how are the houses in RWC Jun 10 23:26:56 I'm too young and from Ohio to be able to afford a house here :) Jun 10 23:27:07 I'm a renter Jun 10 23:27:25 anyways, I have to go, I'll see about coming up to the release party Jun 10 23:27:50 see ya Jun 10 23:27:51 but yeah, the houses are nice Jun 10 23:36:38 * ctate used to work in RWC Jun 10 23:39:01 hrm Jun 10 23:39:10 I edited some example code Jun 10 23:39:14 http://pastebin.com/m23164f29 Jun 10 23:39:28 I cant tell if the service is running or not Jun 10 23:39:34 any ideas ? Jun 10 23:40:36 bed time for me cya all Jun 10 23:45:06 Hello all, Somebody knows if there is an application for geolocation using wifi routers? Jun 10 23:45:34 (only wiki routers signal, not internet connection) Jun 10 23:53:50 torkiano: it may exist. i wrote a similar app called wifinder that finds free hotspots, like in cafes Jun 10 23:54:54 http://www.mobiletopsoft.com/board/5602/press-release-android-application-lifeaware-incorporates-skyhook-technology.html Jun 10 23:56:50 hi Jun 10 23:58:32 I edited some example code Jun 10 23:58:36 I cant tell if the service is running or not Jun 10 23:58:43 http://pastebin.com/m23164f29 any ideas? Jun 10 23:58:54 hunterp_, thank you, but I don't want search wifi ap, I'd like geolocation with wifi sigal only (no internet, no GPS, no cell towers) Jun 10 23:59:01 oh, I meant to say before, the service doesnt show up in top, or ps Jun 11 00:00:23 torkiano: what is that technique of geolocation called? Jun 11 00:01:00 he wants to get a gps location, without using the internet Jun 11 00:01:23 I'm searchin for an app that detects the wifi siganl router and, knowing previously thei position of the routers, can tell you where you are in the room, for exmple Jun 11 00:01:36 hunterp_, but maybe it doesn't exists Jun 11 00:02:00 Sot, not a gps location, only relative location betwen the routers Jun 11 00:02:09 Im sure the locationProviders can do that Jun 11 00:02:22 yeah i know what you mean Jun 11 00:03:27 b0nn, Sot Do you know any app that do that? Jun 11 00:03:47 the thing is Jun 11 00:03:48 or a project that work on it? Jun 11 00:04:01 how will the phone know where the Access Point is located? you either need to download the whole skyhook database on your phone (dont know if its available), or make an app that uses wifi+gps, and teach your own databse Jun 11 00:04:11 there is nothing like that yet though Jun 11 00:05:06 Sot, I don't want to know where I am (as GPS), only my relative position betwen router(s) Jun 11 00:05:24 how do I get my service to write to console/screen/log on boot? Jun 11 00:05:38 import android.util.Log; Jun 11 00:05:53 you cant you have to edit the ipl/spl (bootloader) Jun 11 00:05:58 ctate: http://pastebin.com/m23164f29 Jun 11 00:06:02 it's there Jun 11 00:06:11 but I'm not seeing anything when I logcat Jun 11 00:06:38 Sot: was that for me? Jun 11 00:06:39 then it isn't being started. Jun 11 00:06:59 that's the most likely explanation Jun 11 00:07:01 but Jun 11 00:07:05 torkiano, im not sure what you mean by relative location Jun 11 00:07:09 that leaves me with the question of why not Jun 11 00:07:36 b)nn, i thought you wanted to see kernel/init output on boot, my fault Jun 11 00:07:46 oh Jun 11 00:08:07 all I want at this point is my service to start, and to send me some feedback (log) Jun 11 00:08:43 D/HomeLoaders( 611): --> package:nz.ac.waikato.sah54 Jun 11 00:08:44 D/HomeLoaders( 611): --> update package nz.ac.waikato.sah54 Jun 11 00:08:48 that happens Jun 11 00:09:03 but none of my debug gets dumped to log Jun 11 00:09:45 how are you testing this? Jun 11 00:09:50 Hello, can somebody help. How to detect when app from launcher dropped on my widget? And how to get name or package of dropped app? Jun 11 00:09:50 The IntentReceiver is supposed to start the service Jun 11 00:09:56 ctate: emulator Jun 11 00:10:18 if( "android.intent.action.BOOT_COMPLETED".equals( action ) ) Jun 11 00:10:25 have you verified that your BOOT_COMPLETED is being called when the emulator finishes starting up? Jun 11 00:10:26 Sot, Example: AP1 is ~12 meters from me, AP2 is ~2 meters from me and AP5 is ~30 meters from me Jun 11 00:10:33 err, your BOOT_COMPLETED broadcast handler Jun 11 00:10:46 oh i c Jun 11 00:11:10 then, if you (manually) set where the AP's are, you can get your location in the room Jun 11 00:11:11 is starting the example code names :D Jun 11 00:11:14 awesome thanks Jun 11 00:12:42 there is no such ap yet, but you can only calculate your distance from the signal quality that the driver reports, which is very very relative Jun 11 00:13:09 Sot, Do you understand me now? Sorry if it is confusing Jun 11 00:13:20 E/BootCompletedIntentReceiver( 684): ######ARGUS##### was not started Jun 11 00:13:20 E/BootCompletedIntentReceiver( 684): ######ARGUS##### was not started Jun 11 00:13:24 oops sorry Jun 11 00:13:29 Sot, the drivers is not very precise? Jun 11 00:13:42 hmm how do you calculate the bearing? Jun 11 00:13:45 not at all Jun 11 00:14:01 so it could be any direction 300 meters(for example) Jun 11 00:14:03 its not the drivers fault though, its the hardware Jun 11 00:15:20 ive seen attempts to make an ap like this before, for laptops... but the physics on radiowaves wont let any app like this to be made Jun 11 00:15:46 Sot, Can you explain me more? Jun 11 00:16:20 or give me some link? Jun 11 00:16:32 http://www.cisco.com/en/US/prod/collateral/wireless/ps5755/ps6301/ps6386/prod_white_paper0900aecd80477957_ns386_Networking_Solutions_White_Paper.html Jun 11 00:16:41 you need to move the device about to calculate the direction that the signal is coming from Jun 11 00:16:48 I guess Jun 11 00:16:51 but thats special hardware being used Jun 11 00:17:25 read this part : Location Tracking Technology Jun 11 00:18:17 Sot, thank you very much Jun 11 00:18:31 you welcome Jun 11 00:18:36 b0nn, yes, you are rigth Jun 11 00:19:03 you might want to look at the kismet network centre tracking code Jun 11 00:20:19 Sot (and others), I'm going to do a project about this, so if you have more info It will be very welcome ;) Jun 11 00:20:50 ewon, Is there a kismet app for android? Jun 11 00:20:55 torkiano: nope Jun 11 00:21:00 at least, not that I've seen Jun 11 00:21:13 but the source might give you some ideas Jun 11 00:21:31 not even sure one can put the wifi transceiver in monitor mode Jun 11 00:21:47 u cant Jun 11 00:21:52 ewon, I'll look at this, thank you again! Jun 11 00:22:19 Sot: alas Jun 11 00:22:28 Sot, is not possible to turn your phone in monitor mode? Jun 11 00:23:04 no tiwlan (wifi) firmware does not support it Jun 11 00:23:17 and its closed source so it cant be edited Jun 11 00:23:32 but you can do aggressive scanning Jun 11 00:26:24 Sot, I found compareSignalLevel method in the API, maybe I can use it Jun 11 00:29:58 http://developer.android.com/reference/android/net/wifi/ScanResult.html seem to be useful too Jun 11 00:30:26 Sot, What do you mean with "aggresive scanning"? Jun 11 00:30:54 i mean regural scanning, sending probe requests :p Jun 11 00:32:23 afk 10 Jun 11 00:32:41 Sot, with startScan () ? Jun 11 00:50:05 is there a list of intent Fields Jun 11 00:50:16 like android.intent.BOOT_COMPLETED Jun 11 00:50:22 er Jun 11 00:50:28 like android.intent.action.BOOT_COMPLETED Jun 11 00:58:35 Question: Why is ListActivity a seperate class from Activity? Jun 11 01:14:21 the9a3eedi, because they serve different purposes Jun 11 01:41:14 i had a problem with an import Jun 11 01:41:24 s/had/have/ Jun 11 01:41:31 import android.content.pm.IPackageStatsObserver; Jun 11 01:41:43 keeps giving me error in eclipse Jun 11 01:42:01 is there anything I did wrong? Jun 11 01:42:16 what's the error? Jun 11 01:42:29 cant be resolved Jun 11 01:43:11 so i cannot use IPackageStatsObserver.Stub as well Jun 11 01:43:22 since the import was not resolved Jun 11 01:44:09 * b0nn shrugs Jun 11 01:44:17 i got this from a code in android source, so should be fine Jun 11 01:44:25 but it just dun work on eclipse Jun 11 01:44:37 Is IPackageStatsObserver in the 1.5 SDK Jun 11 01:44:58 and is the 1.5 SDK loaded into eclipse? Jun 11 01:45:05 got to check Jun 11 01:45:07 one sec Jun 11 01:45:26 gmm Jun 11 01:45:35 looks like its changed Jun 11 01:45:40 belah Jun 11 01:45:47 thans b0nn Jun 11 01:45:54 np Jun 11 01:46:00 now you have to help me :P Jun 11 01:46:03 haha Jun 11 01:46:13 i try Jun 11 01:46:15 ziyong: I think that's a hidden API. Jun 11 01:46:19 I want to detect incoming calls Jun 11 01:46:33 as per http://www.androidsoftwaredeveloper.com/2009/04/20/how-to-detect-call-state/ Jun 11 01:47:02 do I put the example code into my BroadcastReceiver Jun 11 01:47:19 or into my Service Jun 11 01:47:54 hmm Jun 11 01:47:56 let me see Jun 11 01:48:45 I will give BroadcastReceiver a shot Jun 11 01:48:57 i never did this before though. Jun 11 01:49:10 why i chose that is because service will keep running on the background Jun 11 01:49:10 heh Jun 11 01:49:16 I tried both earlier Jun 11 01:49:25 while in this case you are looking for a onCallStateChange Jun 11 01:49:33 but I think I need to edit the XML Jun 11 01:49:40 which sounds more like a receiver.. Jun 11 01:52:21 heh Jun 11 01:52:33 Jun 11 01:52:50 Im fairly sure if I edit that I will be heading in the right direction Jun 11 01:53:02 not sure :( Jun 11 01:57:59 heh Jun 11 02:04:28 * _Auron_ is still trying to solve his opengl es issue Jun 11 02:04:52 <_Auron_> somehow its screwing up whenever I go back into it or re-run it Jun 11 02:05:17 <_Auron_> documentation says if the device goes to sleep, the egl context is lost, and textures are as well, so they need to be recreated in onSurfaceCreated(), which is what I do. Jun 11 02:07:56 KNY: yes, they serve different purposes, but why make a seperate subclass of Activity (I assume this is how it is), when one can use a regular Activity and set a List layout? Jun 11 02:08:08 or maybe I got my concepts wrong Jun 11 02:09:12 the9a3eedi, well ListActivity provides some convenience methods like getList() and such Jun 11 02:10:17 the9a3eedi, there might also be some optimizations in ListActivity, I'm not sure. You could peek at the source Jun 11 02:19:30 * _Auron_ rips his hair out Jun 11 02:21:57 <_Auron_> I don't know what's wrong! Jun 11 02:36:29 KNY: I see. Makes sense I guess Jun 11 02:36:48 hmm... is it me, or does uploading a package to an emulator take forever? Any way to speed it up? Jun 11 02:48:05 <_Auron_> hmm Jun 11 02:48:31 <_Auron_> the only thing I can see that would possibly mess up anything is if/because the context is lost, and isn't restored in my variable because the constructor isn't called Jun 11 02:48:44 Hello Jun 11 02:48:59 Is there a way to make the TextEdit box only allow numbers to be but in it? Jun 11 02:49:06 *put Jun 11 02:49:13 Sinani201, android:inputType Jun 11 02:49:20 <_Auron_> but I don't know how I'm supposed to look up the context in onSurfaceCreated() Jun 11 02:50:00 Thank you, KNY Jun 11 02:52:08 <_Auron_> .. oh my freaking shit. Jun 11 02:52:12 * _Auron_ facepalms Jun 11 02:54:05 Wait... how do I use inputType to change the behaviour of the textEdit? Jun 11 02:55:37 Sinani201, look at the docs on TextView Jun 11 02:55:44 (specifically on inputType) Jun 11 02:56:01 oh, whoops Jun 11 02:56:07 I was looking at the wrong article in the reference **** ENDING LOGGING AT Thu Jun 11 02:59:57 2009