**** BEGIN LOGGING AT Sat May 12 02:59:58 2012 May 12 03:21:11 its friday night.. where is everyone? having a life? May 12 03:21:22 life? what's that? May 12 03:21:35 I thought it was something you spend in front of a computer May 12 03:21:40 sexually transmitted disease with a 100% fatality rate May 12 03:21:53 brilliant May 12 03:23:21 any of you messed with the framebuffer based xserver on android? May 12 03:24:05 oh yes, I did that instead of having sex May 12 03:30:00 http://betanews.com/2012/05/09/android-malware-woes-look-a-lot-like-windows/ May 12 03:56:49 is there a way to turn on the context sensitive help on always? May 12 03:59:38 anyone? May 12 04:10:17 it's friday, everyone's having a life May 12 04:11:11 pfn: no me May 12 04:11:17 pfn: not me May 12 04:11:26 poor you May 12 04:11:34 pfn: working for the man May 12 04:11:44 on a friday night? May 12 04:11:47 hope you get overtime May 12 04:13:37 pfn: nope .....just gotta get his project done May 12 04:17:23 pfn: hey, do you know if there is a way to always have context senstive help on ...so I don't have to press Control + Spacebar to see it in eclipse? May 12 04:17:32 what is context sensitive help? how does that happen? May 12 04:17:43 oh May 12 04:17:58 ctrl + space doesnt even work for me it seems May 12 04:19:17 i just tried in eclipse, String a; a. May 12 04:22:25 dude May 12 04:22:45 eclipse + adt latest version basically nuked code insight or code completeion May 12 04:22:56 it was an AWESOME excuse to talk my coworkers into using idea May 12 04:23:17 ron_frown: well, all the tutorials are in eclipse though May 12 04:23:42 ron_frown: idea just don't have a lot of things eclipse has May 12 04:23:52 uhh its not the same May 12 04:24:14 but idea will do anything eclipse will regarding android dev May 12 04:24:21 well minus a full blown drag/drop gui editor May 12 04:24:24 you can preview May 12 04:24:26 ron_frown: yes, for example where's the grid lines when adding items ...you just get a preview in idea May 12 04:24:37 thats the only thing May 12 04:25:16 ron_frown: alright ....that's true but a lot of the tutorials are on eclipse out there and that's what I'm learning on so I kinda gave up on idea May 12 04:25:42 fair enough May 12 04:25:57 unfortunatetly eclipe is broke, and I dont know of any wya to fix May 12 04:27:09 ron_frown: you mean the context sensitve help? May 12 04:28:06 ep May 12 04:28:21 everyone I work with upgraded and at some point it just broke May 12 04:29:29 ron_frown: true...I've had the same problem May 12 04:31:51 I prefer to just edit xml anyway May 12 04:32:00 readme May 12 04:32:01 I am not as fast with the GUI editor as I am with just xml May 12 04:32:05 I've recently gotten to that point May 12 04:32:22 and the xml editor in idea is like 10x better anwyay May 12 04:32:28 usable intellisense May 12 04:32:30 how are you guys working on a friday night/saturday morning May 12 04:32:50 new company... finally gettin gmy ass in gear and getting some moeny made for myself =) May 12 04:33:15 canadiancow|away: i dislike working during the day because of the sunlight May 12 04:33:19 lol May 12 04:34:49 it's too late to buy shades at this point, and I live on the ocean, so the sun is intense during the day. I have a blanket over my sliding glass door, which makes it a little better. May 12 04:34:50 * TheBunny yawns May 12 04:35:00 my next place will be a cave. May 12 04:42:13 ron_frown: hey, I imported a project from eclipse into idea and now it can't find android.app.Activity...any ideas why? It looks like it's missing the android libraries or something May 12 04:45:02 when I do a NDK build in eclipse my .apk file does not seem to be updated UNLESS I do a clean build… ideas on how to fix? May 12 04:45:09 john_doe_jr: try android update project --path . --target in the project root May 12 04:45:15 find the target # with android list targets May 12 04:45:19 then refresh your project in idea. May 12 04:45:30 I don't use idea, though. Waiting for a mac so I can run it properly. May 12 04:45:54 (it doens't work very well on linux mint 12) May 12 04:45:54 haha May 12 04:46:03 doesn't* May 12 04:46:24 wora == lol May 12 04:49:15 "The latest attacks tap IRC bots, where the malware gets further operating instructions from an Internet chatroom." May 12 04:49:45 When you create a new module in idea ....what is that doing? May 12 04:50:56 I am pulling data from mysql using php into a ListView with an ArrayList. How do I check the database for new data and add it to the ListView? Here is what i'm working with: http://pastebin.com/n8FGNSbK May 12 04:51:51 Everything I try to read about states that i need to use notifyDataSetChanged(), but i'm not really understanding how to use it in my senario. May 12 04:52:14 g00s: lol, the "latest" May 12 04:52:33 this just in, script kiddies use irc to control botnets. May 12 04:53:38 dschuett: ideally you'd implement a server side mechanism that only returns you "new" data May 12 04:53:48 that way you don't replicate any downloading or have to do any checking on the client May 12 04:53:57 and can just add the new rows and notifyDataSetChanged() and done May 12 04:54:57 if you don't do that, you'll need to use a 'dirty' field in your object to check whether it has been updated or not. May 12 04:55:57 to update your data: iterate all, mark dirty: download. if found in new data, mark clean, if not, add to list. May 12 04:57:10 readme, ok that makes sense. Where/how do I implement notifyDataSetChange() ? Persay, if I wanted to make a call to the server every x minutes May 12 04:57:32 you call notifyDataSetChanged() after you change the data set that backs the adapter. May 12 04:58:12 readme, sorry... you're speaking pretty far over my head. I litterally just started to teach myself java a few weeks ago May 12 04:58:37 when you created the adapter, you gave it a List<> or something. May 12 04:58:39 thats the "data set" May 12 04:58:45 ok May 12 04:59:01 t May 12 04:59:26 canadiancow|out: t, indeed May 12 04:59:35 readme: so how to i tell it to execute the AsyncTask every minute or so? May 12 04:59:50 i was going to type "test" May 12 04:59:52 but that was faster May 12 05:00:13 dschuett: you might want to put a simple refresh button in, instead of doing that... May 12 05:00:43 but if you really wanna, then there's ScheduledExecutorService, and Timer, which I believe is deprecated. Also you can create your own solution. May 12 05:01:00 If you're going to poll over and over I'd say ditch the AsyncTask and use a Handler instead. May 12 05:01:17 readme: ok, perfect. Thanks for the input. May 12 05:02:42 gotta make sure IRC is working while you are out :) May 12 05:03:19 wat May 12 05:05:04 where are you going May 12 05:05:11 im here May 12 05:05:15 im going to bed soon i guess May 12 05:05:17 it says your out May 12 05:05:19 im at a friend's May 12 05:05:20 you're* May 12 05:05:22 canadiancow is at home May 12 05:05:28 but i'm at a friend's May 12 05:05:36 O.O May 12 05:05:38 nice, sleepovers May 12 05:05:40 wat May 12 05:06:00 * readme is going to reach the ballmer peak tonight. May 12 05:06:02 basically May 12 05:06:10 sleeping over is fun May 12 05:06:31 my parents always gave me a hard time about sleepovers when I was a kid because they were homophobic May 12 05:06:48 should have invited girls over May 12 05:07:04 oh, I never hosted any. May 12 05:08:02 yeah, i'd rather have girls for a sleepover than cows May 12 05:09:55 lol May 12 05:10:00 readme: lolol homophobia May 12 05:10:05 IF YOU SLEEP AT A GUY'S HOUSE YOU'RE GAY May 12 05:10:10 qed May 12 05:10:45 actually im not sure the definition of homophobia, but wouldnt there actually have to be something...homosexual...before you can be afraid? May 12 05:10:45 only if you're the guy going over, if you're the host its ok May 12 05:11:03 damn...im the guy going over May 12 05:11:12 "Facebook testing whether you’ll pay to ensure friends see your status updates" … i think all updates should be like this - that way, there would probably be very few updates :D May 12 05:11:23 lol May 12 05:11:29 canadiancow|out: one of the scariest moments of my life was when I crashed my gay friend's place drunk May 12 05:11:41 why May 12 05:11:54 was he drunk? May 12 05:11:56 have you ever done it? May 12 05:12:08 your gay friend/ May 12 05:12:11 I was extremely intoxicated. May 12 05:12:11 unlikely May 12 05:12:31 good point. May 12 05:12:48 but no...if im drunk, im not afraid May 12 05:12:52 if they're actually my friend, im not afraid May 12 05:13:04 yeah, he wasn't really that well known to me at the time. May 12 05:13:08 oh May 12 05:13:18 i had only met this guy a few weeks ago at work May 12 05:13:20 when a drunk girl comes over to your place, do you have sex with her? May 12 05:13:41 I am almost married now, but May 12 05:13:53 only if she initiates it :) May 12 05:13:57 ok May 12 05:14:07 so either you're initiating it with your gay friend May 12 05:14:09 or it's not happening May 12 05:14:10 right? May 12 05:14:16 so why would you be scared :P May 12 05:14:17 no, because that's *my* rule. May 12 05:14:25 other people are more aggressive than me. May 12 05:14:26 i think most people have that rule May 12 05:14:47 if evancharlton was here i'd tell him to kick us for this discussion May 12 05:15:12 i've taken enough pisses at a gay bar to call myself comfortably straight. May 12 05:15:28 i cant say id even know the difference May 12 05:15:35 once i was at a bar that a few friends told me was a gay bar May 12 05:15:43 yeah, that happened to me once too May 12 05:15:47 but ... there were lots of straight woemen May 12 05:15:48 and men May 12 05:15:52 they vary May 12 05:16:00 one I went to didn't have a single woman in it May 12 05:16:09 I went with a couple of dudes May 12 05:16:45 drank a lot of fruit flavored martinis. May 12 05:16:48 im not sure i want to continue this discussion in #android-dev May 12 05:16:54 im going to regret it when my friends read it May 12 05:16:55 ;) May 12 05:17:34 lol May 12 05:18:38 we are borg May 12 05:20:22 * TheBunny logs everything ;) May 12 05:21:32 I assume anything I say on IRC will be logged. May 12 05:21:41 yea May 12 05:21:43 basically May 12 05:23:27 this weekend is studying weekend... meh May 12 05:23:33 lol May 12 05:23:56 must cram crap in brain May 12 05:24:21 lol May 12 05:24:32 just remember that e=mc^2 May 12 05:24:39 but you're mostly empty space May 12 05:24:42 so m is like 0 May 12 05:24:45 so you can cross it out May 12 05:24:49 and then e equals the speed of light May 12 05:25:12 pfn: what are you studying for ? May 12 05:25:21 an interview May 12 05:25:24 +1 May 12 05:25:26 me too :) May 12 05:25:27 :) May 12 05:25:30 got 2 on monday May 12 05:25:38 9:45 to 2:45, then 3:30 to 6:30+ May 12 05:25:58 bow down to your new leader May 12 05:25:59 mostly it's for the morning one May 12 05:26:19 shit May 12 05:26:21 now i have to behave May 12 05:26:30 evancharlton: what is wrong with you? May 12 05:26:39 \o/ May 12 05:26:58 /o\ May 12 05:27:03 \o/ May 12 05:27:07 /o\ May 12 05:27:29 * g00s is studying … obj-c May 12 05:27:46 O____O May 12 05:28:34 damn aws May 12 05:28:36 pissing me off May 12 05:28:36 "Apparently, the most notable example of chocolate rage occurred in 1648 when the women of Chiapas Real arranged for the murder of their bishop who forbade them to drink chocolate during mass" May 12 05:28:53 maybe chocolate is my problem :| May 12 05:28:57 o_o May 12 05:29:13 g00s - remember... any questions correlating, I can help =_ May 12 05:29:29 :) May 12 05:29:44 lolol May 12 05:29:47 * g00s puts the 1 lb trader joe chocolate bar back in the drawer May 12 05:30:05 trader joes... boo May 12 05:30:16 thats the store of hippies and lesbians May 12 05:30:41 [01:26:31] evancharlton: what is wrong with you? May 12 05:30:42 1b of belgium chocolate for $5, i don't care if its lesbian central May 12 05:30:43 ron_frown gets his groceries at wal-mart May 12 05:30:44 yo pragma- May 12 05:30:47 dont talk bout my friends that way May 12 05:30:52 :( May 12 05:32:54 I can't wait to go to austin, for the whole foods May 12 05:36:41 I get my groceries at wal-mart May 12 05:39:33 groceries? May 12 05:39:33 psh May 12 05:41:17 groceries May 12 05:41:35 it's convenient May 12 05:41:40 oh no i meant May 12 05:41:49 my fridge is like...beer, coke zero, ketchup.... May 12 05:41:53 thats probably about it May 12 05:42:20 well, it's convenient to pick up what I need on the way home from work... and some of the stuff I get an employee discount on May 12 05:42:21 <_Auron_> my fridge is potentially expired beer, juices, water, and a few things to eat that may or may not be rotting May 12 05:42:35 you work for walmart? May 12 05:42:48 only because they pay me May 12 05:42:52 what do you do? May 12 05:43:01 wax floors mostly May 12 05:43:02 <_Auron_> I work for red lobster and get paid to work out May 12 05:43:21 this is always the interesting time of day in #android-dev May 12 05:43:29 yeah, cause us weirdos come out May 12 05:43:33 not weirdos May 12 05:43:39 M-F 9-5 it's professional android devs and dumbass noobs May 12 05:43:56 off hours you get people who are in completely different professionals May 12 05:44:07 there was an elevator/escalator mechanic here before...dont remember his name May 12 05:44:09 _Auron_: you have expired water in your fridge ? O.O May 12 05:44:16 g00s: +1 May 12 05:44:24 hm.. I'll have to log in m-f 9-5 to get advice on using the NDK with C++ May 12 05:44:32 <_Auron_> potentially expired beer [comma] other things May 12 05:44:44 _Auron_, use parentheses May 12 05:44:51 expired water... isn't that water that's been drunk and passed through the bladder? May 12 05:44:51 <_Auron_> meh May 12 05:45:03 (potentially expired beer) and juices and water May 12 05:45:15 it's really easy to get drunk on water, btw. May 12 05:45:22 <_Auron_> I'm in the middle of working a 60 hour week May 12 05:45:27 just as easy as it is to get drunk on land. May 12 05:45:40 <_Auron_> so excuse me if I don't type messages that are perfectly interpreted by everyone :| May 12 05:45:56 I like using /* comment blocks */ May 12 05:46:04 but now Hiraghm, you can get good advice any time....but its not often we get into discussions with floor waxers who comeptently do android-dev May 12 05:46:19 and im assuming you're competent based on your lack of "HOW DO I START AN ACTIVITY" questions May 12 05:46:47 canadiancow|out: you're full of fallacies and assumptions tonight May 12 05:47:07 aren't you supposed to be hanging out with your friend that you're supposed to be visiting? May 12 05:47:10 i have one assumption, although i did not explain it too well May 12 05:47:12 I'm full of phallacies tonight. May 12 05:47:18 yea he's working on making my internet faster May 12 05:47:51 y'know, the speed of your car is in no way related to the speed of your cellular connection? May 12 05:48:01 that's not entirely true May 12 05:48:03 so driving faster doesn't make stuff download to your phone any faster. May 12 05:48:06 I'm watching this movie on IFC about this girl who has teeth in her vagina and she attacks would-be rapists or something May 12 05:48:10 I'm only 15 minutes into it May 12 05:48:22 if you're moving quickly relative to the tower, you'll likely get slower speeds May 12 05:48:30 * Hiraghm panics and screams May 12 05:48:33 canadiancow|out: before I was a programmer, I was a bus boy May 12 05:48:42 I used to code then, too. May 12 05:48:55 is that like "before i was a programmer, i was in high school" ? May 12 05:48:59 because that's less exciting May 12 05:49:16 nah, I was a bus boy when i was in my 20s. May 12 05:49:21 I'm still in my 20s. May 12 05:49:36 not proud of it, just making a point. May 12 05:49:56 early in life, people take suboptimal jobs May 12 05:50:09 I had one of the better bus boy gigs. May 12 05:50:12 i just find it much more interesting when someone comes in here, says he fixes elevators, makes a ton of money, and loves his work May 12 05:50:18 and yet wants to become a pro android dev May 12 05:50:38 yeah, there's no reason to leave stable work to do this. May 12 05:50:42 just do it on the side. May 12 05:51:05 you fix horses in a stable May 12 05:51:10 in 5 years all of us will have to learn to develop for another platform, anyway. May 12 05:51:18 lol May 12 05:51:25 less than May 12 05:54:50 less than 3? May 12 05:54:58 canadiancow|out: the sad part is the "dumbass noobs" who come in 9-5 May 12 05:55:04 are probably working in our field May 12 05:55:17 yep May 12 05:55:28 and that's why you need to say "im good, give me more money" May 12 05:55:47 or find a company who will pay you what you're worth May 12 05:56:58 it's illegal to pay less than minimum wage May 12 05:57:16 ... May 12 05:57:35 it's just pragma-'s sense of humor. May 12 05:57:39 ugh why did i deop myself May 12 05:57:44 heh May 12 05:59:45 thar she blows May 12 06:05:50 save ithttp://www.reddit.com/r/IAmA/comments/sq7cy/iama_a_malware_coder_and_botnet_operator_ama/ May 12 06:06:02 ignore the 'save it' bad paste May 12 06:14:24 hello, i am trying to share a picture from my app to twitter, whatsapp, email... using this : http://paste.ubuntu.com/982950/ May 12 06:15:13 i have tweetcaster installed as twitter client, and when i select it, it shows a +1 as attachement , but if i tap on it it says : file not found May 12 06:15:25 same thing for whatsapp, it does not show any file May 12 06:15:34 any idea what might be missing from my code / manifest / May 12 06:36:34 asterisk-Tester: what is the full URI you are passing as EXTRA_STREAM May 12 06:37:29 mImagePath is smthg like : /mnt/sdcard/Pictures/a.png so the result concatenated string would be : file:///mnt/sdcard/Pictures/a.png May 12 06:37:42 i even tried it without the file:// so it would be : /mnt/sdcard/Pictures/a.png May 12 06:37:49 but either case it isnt working May 12 06:38:05 why did you define an intent-filter? May 12 06:40:14 http://www.openintents.org/en/node/121 May 12 06:40:19 see "To send a file attachment" May 12 06:40:31 btw, you don't need the intent-filter. it's for receiving, not sending. May 12 06:43:44 readme: yeah i wasnt sure abt that but i felt when i removed it that it didnt open my share menu, maybe it was smthg in the code May 12 06:43:53 i only want to send / post pictures from my app May 12 06:48:23 eadme: i guess i should remove the mnt, the path should start at sdcard ? May 12 06:50:58 The google play market is forbidding someone to install an app - but I don't see why. The requirements are very loose, the android version is fine - what can I do to debug this? May 12 06:50:59 readme: btw, i am getting the mImagePath from an activity result : Cursor cursor = getContentResolver().query(selectedImage,filePathColumn,null,null,null); May 12 06:50:59 cursor.moveToFirst(); May 12 06:50:59 cursor.getString(columnIndex); May 12 06:56:05 back.. May 12 06:56:32 print the image path May 12 06:56:40 the full thing that you construct, print it and show May 12 07:01:45 readme: mmm it worked using the following hard coded string : file:///sdcard/Pictures/a.png May 12 07:02:15 however, tweetcaster also showed me while "edit" the post "File not found" , however on post it posted the pic May 12 07:02:22 and it also wokred in whatsapp May 12 07:03:40 vadi2: it can also be location of user, screen size, and hardware requirements May 12 07:04:56 mmm but how can i get this path without delving into string manipulation, and should i be using smthg like : Environment.getExternalStorageDirectory() to make sure it works on all android device ? May 12 07:08:37 asterisk-Tester: yes May 12 07:09:29 having a strange issue, I have a practically empty activity that wont print anything to Log or show Toast messages. all other activities are fine. anyone experienced this before? May 12 07:12:28 sounds like a context issue May 12 07:12:44 check the context which you use to launch the activity May 12 07:12:51 i mean, I put Log.d("BLA", "BLA"); as frist line in onCreate and it wont show up May 12 07:13:04 asterisk-Tester: i think it's obvious that something is going wrong with your construction of the URI. May 12 07:13:25 Napalm, what d oyou mean by check the context? May 12 07:14:32 i go to this activity from the home screen same as all other activities, it has no problem rendering May 12 07:14:37 ahh May 12 07:15:32 mahamoti: did you put them after super.onCreate(icile); May 12 07:17:46 pastebin.com/RKiuJ2Ny May 12 07:18:40 http://techcrunch.com/2012/05/11/this-is-what-developing-for-android-looks-like/ May 12 07:19:06 i am going to click that link, but I do expect to be pissed off after reading the article. May 12 07:20:28 mahamoti: your filter on logcat is probably wrong rather than the code May 12 07:20:42 hm, pretty cool actually. but the misconception by everyone that you *must* have 10000 devices to write a portable android app is annoying. May 12 07:21:11 Napalm, I put the same Log line in my other activities and they all have no problem writing to log May 12 07:21:13 whenever i am calling Environment.getExternalStorageDirectory().getAbsolutePath() or any other method i am always getting /mnt/sdcard/, how can i transform this into file:///sdcard/ ? i mean is it safe to just do a string replacement of "/mnt/" to "file://" ? would it be garanteed to work on all android devices (including tablets such as kindle fire) ? May 12 07:21:40 apparently you only need 400 May 12 07:22:00 if you're a big company and you have money to blow then great May 12 07:22:05 mahamoti: you said that this was the activity being launched, so how are other activities involved May 12 07:22:38 asterisk-Tester: you have the correct result nothing needs to change /mnt/sdcard is correct May 12 07:22:44 I hope to see more innovation in the cloud-testing platforms May 12 07:22:57 so far testdroid looks very promising. May 12 07:23:06 asterisk-Tester: so your result is file:///mnt/sdcard/Pictures/a.png May 12 07:23:11 Napalm, this is not the main activity. The main activity calls it by: Intent intentToSwitch = new Intent(v.getContext(), MyConversationsActivity.class); startActivityForResult(intentToSwitch,0); May 12 07:23:20 which i use on other activities and they have no problem with logging May 12 07:24:55 mahamoti: the only other unique thing here that i would look at is the Manifest.. if thats correct then its a code path issue May 12 07:25:54 readme: well with the ARM servers and on the opposite side of the coin having intel working on android x86 stuff we could be closer to gettting a decent test platform May 12 07:26:01 yeah I added it to the manifest same as my other activities. May 12 07:26:11 then its as i first said May 12 07:26:13 a context issue May 12 07:26:22 May 12 07:26:30 its how in that one instance you are starting the activity May 12 07:26:51 Napalm: no, when loading a pic in my application from an activity result the path is : /mnt/sdcard/Pictures/a.png, if i try to send it / share it this way it is not working May 12 07:27:04 file:///mnt/sdcard/Pictures/a.png is also not working May 12 07:27:19 If I replace the name of the activity being switched to, and nothing else, than that activity can display Log messages May 12 07:27:20 the only way it wokred is when i hard coded the path as file:///sdcard/Pictures/a.png May 12 07:27:34 tweetcaster and whatsapp successfully shared the image May 12 07:28:22 mahamoti: do a clean build May 12 07:28:52 bleh, im turning in for the night. thanks for ideas. maybe tomorrow it will work magically. May 12 07:29:10 asterisk-Tester: do all apps fail with /mnt/sdcard? May 12 07:29:46 asterisk-Tester: have you tried this one http://developer.android.com/reference/android/os/Environment.html#getExternalStoragePublicDirectory%28java.lang.String%29 May 12 07:30:06 thats getExternalStoragePublicDirectory not getExternalStorageDirectory May 12 07:31:42 Environment.getExternalStoragePublicDirectory( May 12 07:31:51 opsy May 12 07:32:26 mmm didnt know there were 2 similar function names :-P May 12 07:32:31 asterisk-Tester: File picturesDir = Environment.getExternalStoragePublicDirectory(Environment.DIRECTORY_PICTURES); May 12 07:32:35 Would anyone be willing to help me with a small android game development project? May 12 07:32:35 looks like what you want May 12 07:33:38 I Have an awesome idea for an android game but No idea how to start May 12 07:34:23 shubshub: you can start by giving me money May 12 07:34:49 pragma- no its fine i dont need to IM NOT FREAKIN STUPID May 12 07:35:00 > No idea how to start May 12 07:35:01 are you sure? May 12 07:35:18 shubshub: your caps don't sound convincing May 12 07:35:22 you might want to start by not making yourself look like an ass :P May 12 07:35:27 .... May 12 07:35:44 What Programming lang do most people use? May 12 07:36:03 basic May 12 07:36:11 really May 12 07:36:18 ya, it's very popular for android gamedev. May 12 07:36:33 * pragma- wonders if Google can name the language "the Android Programming Language" after the case May 12 07:36:41 Napalm File picturesDir = Environment.getExternalStoragePublicDirectory(Environment.DIRECTORY_PICTURES); is returning /mnt/sdcard/Pictures... May 12 07:36:50 Readme ur not shittingme right? May 12 07:36:54 shubshub: of course. May 12 07:37:01 I mean, of course I'm shitting you. May 12 07:37:10 .... so they dont use basic then May 12 07:37:17 no, java and c/c++ May 12 07:37:24 oh god... May 12 07:37:26 asterisk-Tester: are you testing to see if the directory exists, if you cant access it its probably because the sdcard is mounted to the pc or something May 12 07:37:41 readme: arent there easier ways? May 12 07:37:44 Apparently its also possible to make a crappy app in C# too May 12 07:38:04 shubshub: no May 12 07:38:19 there are frameworks that help to write games. May 12 07:38:41 * shubshub goes and googles sum stuff May 12 07:39:05 while you're at it, google some stuff as well. May 12 07:39:23 <_Auron_> I wrote my own game engine. I still haven't done any native code.. just lazy I suppose. May 12 07:39:42 i've got a 'game engine' that I wrote too, but i'm not particularly proud of it May 12 07:39:50 hopefully yours is better than mine May 12 07:40:03 Napalm: Nooo i dont have a problem accessing the file in term of permissions May 12 07:40:11 mine does at least power a trivial platformer game, but, it's got some very difficult to pinpoint floating point quirks in it. May 12 07:40:21 <_Auron_> http://darkauron.dyshost.com/Images/Android/devGUI_05.png May 12 07:40:24 i start an activity that selects an image from the gallery, on activity result i save the path i get May 12 07:40:55 _Auron_: java and opengl? May 12 07:40:57 <_Auron_> I recently started working on a runtime developer GUI that can be accessed while the game is running (and thus pauses it automatically) May 12 07:40:58 <_Auron_> yeah May 12 07:41:10 my 'engine' is just written on top of the canvas ;) May 12 07:41:26 which is usuaaly /mnt/sdcard/Pictures/a.png (seems logical) however when i start an intent for sharing the pic, i have to pass it file:///sdcard/Pictures/a.png May 12 07:41:33 <_Auron_> I haven't written any code with the canvas since summer of '09 :X May 12 07:41:33 Whats the easiest way to make android games? May 12 07:41:35 I'll write a better game when I have time, hopefully May 12 07:41:57 so my question is ; is it safe to blindly do string replacement from "/mnt/" to file:// or it might brok on some android devices / May 12 07:42:36 <_Auron_> last screenshot I took when working on my game: http://darkauron.dyshost.com/Images/Android/stroids_rev19.png May 12 07:42:43 shubshub: try java with andengine. May 12 07:42:54 Whats andengine? May 12 07:42:59 lmgtfy May 12 07:43:05 <_Auron_> heh May 12 07:43:12 ggifmt May 12 07:43:30 asterisk-Tester: if you read the API docs it does state that it could break May 12 07:43:32 _Auron_: pretty cool May 12 07:43:43 asterisk-Tester: the path you have is correct May 12 07:43:51 give me the lmgtfy link May 12 07:43:57 <_Auron_> still has a lot of work to go though May 12 07:44:04 asterisk-Tester: what apps are having trouble with the sharing operation? all apps or just a specific one or two May 12 07:44:42 Napalm: exactly thats why i was trying to use getExternalStorageDirectory() May 12 07:45:25 only tried those 2 for now , will try more and let u know, but i think it make sense that the "post" request be file:// as in any browser since sharing is a mime type... May 12 07:45:57 i firefox and chrome u dont load a local pic by passing : C:\\mypic but smthg like file://mypic May 12 07:46:39 asterisk-Tester: what are you talking about? May 12 07:46:46 Are there any simpler languages that compile directly to java similar to coffeescript? May 12 07:47:03 simpler? lol May 12 07:47:25 what? May 12 07:47:33 java is taught as a learning language with a huge community and wealth of knowledge sites May 12 07:47:42 *teached May 12 07:48:04 it's taught May 12 07:48:11 blah May 12 07:48:13 So java is easy then? May 12 07:48:49 shubshub: so what your really telling us is, i cant be bothered learning Java, I would rather have something given to me May 12 07:48:53 most programming languages are easy. it's a matter of how willing you are to put in the work to understand them. May 12 07:49:34 * shubshub walks off to go and learn java May 12 07:49:41 good idea. May 12 07:50:22 readme: best idea he's had all day May 12 07:50:27 Is LOOKUP_KEY used to identify an individual person or a result in a contact like an Email address or a phone/mobile number? May 12 07:52:48 If I get while compiling an error about missing symbols, what does that mean? May 12 07:54:19 netchip: it means your missing symbols May 12 07:54:36 d'oh May 12 07:54:45 What are missing symbols? May 12 07:54:46 netchip: honestly if your talking about NDK then you need to add the right libraries to your make file May 12 07:55:00 Napalm: I'm talking about a Java app May 12 07:55:12 pastebin the error May 12 07:55:49 Napalm: http://pastie.org/3898864 May 12 07:59:40 netchip: it means there's no BootConf class. May 12 07:59:49 Did you use a jar that depends on another jar and not include both jars? May 12 07:59:55 I didn't May 12 08:00:01 Napalm: I don't think anything is special about that. Is there a way to have it explain why the app is not installable? May 12 08:00:06 how did you produce this error May 12 08:00:13 The author of the app simply forgot to push another part May 12 08:00:17 i guess May 12 08:43:10 I would like to use a gridlayout but stretch all the children..is that possible? May 12 08:44:19 Stretching children is child abuse. May 12 08:44:37 lol May 12 08:45:11 lol May 12 08:45:16 any ideas? May 12 08:45:57 what does the columnCount and rowCount methods do ? May 12 09:05:16 hello May 12 09:05:58 i have a little question: Is the folder /system/app only accesible with root permissions ??? May 12 09:10:24 Hello. May 12 09:11:35 hi May 12 09:11:58 Pinas: i'd bet a folder called system is protected from none system admins May 12 09:13:06 vectory_ yes I thought so too, but when I connect to the emulator via adb I can cd into this directory (do I have root access on the emulator by default) ?? May 12 09:13:56 <`z> noyes May 12 09:16:07 Is it possible to view Google Play with a country setting that isn't your typical one? May 12 09:17:46 I'm working on an project in which I need to update GPS location and sent it to a server in specified intervals. I need to send the information even when my application is not focused. I guess it's best to use a started service to do that, but I have troubles with requestLocationUpdates(). I've read it should be called from a Looper, such as Activity, but I probably need to call it from a service, or May 12 09:17:46 more precisely from a thread spawned by it. I don't seem to grasp the idea behind Loopers though… Can someone guide me how to get constant location updates sent to a server in the background without the app focused/running? May 12 09:25:43 Hello May 12 09:26:15 jagruti_: Hello. May 12 09:26:43 f8l: do you know how can i add the contact number in favorite ? May 12 09:29:23 jagruti_: Unfortunately no. I'm looking for help here – I'm not an Android expert. In fact I don't even own and Android phone. ;-) May 12 09:29:23 f8l: Re you there May 12 09:29:43 f8l:ok May 12 09:31:18 jagruti_: Keep in mind IRC is an asynchronous means of communication. Nobody's going to stare at his IRC client waiting for new messages. ;-) May 12 09:32:00 f8l: I do! ;) May 12 09:33:48 Zider: If you have nothing better to do… ;-P May 12 09:34:57 I hope someone can help me because I am a bit stuck: Why can I access /system/app without root privileges and with plain java commands (no shell) ??? May 12 09:37:03 f8l:i am also new in android and so i need the help May 12 09:39:10 is anybody there who will help me May 12 09:39:40 jagruti_: My way is just to wait patiently trying to figure the problem out myself. May 12 09:40:19 f8l:thx May 12 09:40:24 :) May 12 09:47:13 <_Lucretia_> anyone know what this error means: [2012-05-12 10:42:13 - Emulator] shm_open() failed: No such file or directory May 12 09:47:25 <_Lucretia_> I know it's shared memory, but I have no idea why it's failing May 12 09:47:35 it failed to open a file or directory... May 12 09:47:44 perhaps you lack something in /dev ? May 12 09:48:45 <_Lucretia_> oh, it's pulse May 12 09:49:10 Anyone know if the Android XML namespace URI is defined somewhere such that it can be accessed programatically? "http://schemas.android.com/apk/res/android" May 12 09:50:59 <_Lucretia_> let's see if an update will help May 12 09:56:01 Pinas: emulators are root and differ from actual devices May 12 09:57:56 jagruti_: have you looked at the contacts app source? May 12 09:58:20 no dear from where? May 12 09:59:08 http://source.android.com/source/downloading.html May 12 10:01:56 Napalm:But in this link there is no source code of the contacts application May 12 10:02:21 yes there is if you download the source May 12 10:04:05 Napalm:in this link just given the command and not given the link at anywhere for directly download just like double click May 12 10:04:42 correct, its not possible to download it in that manner May 12 10:04:48 you have to use the repo utility May 12 10:05:06 Napalm:that means i have to configure the Repo? May 12 10:05:23 Napalm:and have to perform all command right? May 12 10:05:45 yes May 12 10:17:01 git clone https://android.googlesource.com/platform/packages/apps/Contacts.git May 12 10:20:24 SimonVT: is there any source code that we can directly download.. May 12 10:20:32 because it takes too much time May 12 10:20:52 it takes less than 5 minutes to get repo and set up your manifest to pull contacts May 12 10:21:35 You don't have git installed? May 12 10:21:39 jagruti_: http://developer.android.com/reference/android/provider/ContactsContract.Contacts.html May 12 10:21:43 see STARRED May 12 10:23:20 in LinearLayout, elements hava some spacing between each other, is there a way to remove it? May 12 10:23:40 Fisiu: not by default May 12 10:24:02 Fisiu: they dont have padding/margin by default, you are adding that somehow May 12 10:24:19 setting margin=0dp didn't change anything May 12 10:25:14 Views don't have spacing by default. It's either added by you, or whatever background image the view has May 12 10:25:24 Fisiu: each element controls its margin/padding May 12 10:26:01 ok, so if I have 2 buttons in row, can I remove this space between them? May 12 10:26:22 Give them another background image. One that doesn't have a padding May 12 10:26:48 I'm trying to have a TextView containing html (set with Html.fromHtml()) to have clickable links launching an activity. the intent anchor is specified using Intent.toUri() as Blargh. You would expect the clickable link to launch the specified intent in the href but instead it spawn a intent with actionName = ACTION_VIEW and May 12 10:26:48 dat="intent:#Intent;...", which result in a ActivityNotFoundException. Any way to work around that (without resorting to a WebView) ? May 12 10:27:20 SimonVT: thanks, I'll give a try with custom background for those buttons May 12 10:28:14 i keep having this weird problem in eclipse. in the main java compiler settings, compliance is set to 1.6. in my project, java compiler settings has "enable project specific settings" disabled (so its also at 1.6 compliance) May 12 10:28:41 yet, i get this error: Android requires compiler compliance level 5.0 or 6.0. Found '1.4' instead. Please use Android Tools > Fix Project Properties. May 12 10:29:21 my first question is, where is 'android tools' ? May 12 10:29:39 <`z> in somewhere May 12 10:29:59 Napalm:in your given link at Starred no any cod given..it just explain me as it will set as true or false..but manually how can code for that? May 12 10:30:03 g00s: in content-menu of project May 12 10:30:04 <`z> $files.androidsdk.tools May 12 10:30:11 context May 12 10:30:16 <`z> $files.com.google.android.sdk.tools May 12 10:30:36 bubbleguuum: oh sweet, thanks May 12 10:40:34 Napalm:Thanks for kindly your help May 12 10:41:04 napalm:but i cant get any code which will implement my requierement May 12 10:41:57 <_Lucretia_> is it better to create a ui using xml or programmatically? May 12 10:41:58 <_Lucretia_> ta May 12 10:42:03 Does anybody have the code or idea about store the contact in favorite contact when we click on star? May 12 10:45:37 _Lucretia_ : use xml May 12 10:46:36 <_Lucretia_> k, ta May 12 11:08:26 this is good news http://www.h-online.com/security/news/item/Adobe-backs-down-will-release-patches-for-critical-holes-1574341.html May 12 11:09:01 I've solved my problem. Just for the record. ;-) May 12 11:14:48 hi May 12 11:16:23 I use my phone instead of the emulator to test apps on mac, but it for some reason, it often lose the connection and launches the emulator, why ? May 12 11:18:50 I have to replug it to re-enable it May 12 11:19:24 once every ~3 times I launch an app May 12 11:34:55 Taking this code as an example: http://pastebin.com/aAgFh4G4 Will the comparisons against the string value be done twice? Or will the compiler understand this? May 12 11:35:02 Is it bad form? May 12 11:40:28 hi, how can i use intent in intent? (tabhost as main activity, in first tab I want to use intent for menu) May 12 11:41:14 hi, i create ArrayList in eclipse, but it gives me an error: ArrayList MyArray= new ArrayList(); May 12 11:41:15 MyArray.add(new BasicNameValuePair("Ex1", "Ex2")); May 12 11:41:22 what i do wrong? May 12 11:43:21 szikael: What error are you getting? May 12 11:43:45 Syntax error on token(s), misplaced construct(s) May 12 11:44:18 ".add" is on read May 12 11:44:21 red May 12 11:45:12 szikael: You've imported all the necessary classes? May 12 11:47:31 hmm. i move all code inside public void ... and it start to work May 12 11:51:14 hi all! why, after the completion of the asynctask, he does not disappear from the debug window? May 12 12:16:33 I have two valid json files from different servers, I can load them in my browser, but only one of them in downloadable by jParser.getJSONFromUrl(my_json_url), the other one is always null, where could it come from ? May 12 12:24:58 the problem seems to come from the issuer May 12 12:25:14 is there a way to say some browser issuer ? May 12 12:39:04 Does anyone see whether it would be illegal to have an android app that downloads mp3 from youtube videos? May 12 12:39:20 sunbeam: it would probably violate youtubes ToS May 12 12:39:35 sunbeam: so it would be removed from android market, sooner or later May 12 12:39:54 ok May 12 12:40:18 How can i make RelativeLayout scroll-able? (using Eclipse for android 2.1) May 12 12:40:33 You can put it in a scrollview May 12 12:41:47 SimonVT: i tried, but then the Views get messed up May 12 12:42:11 SimonVT: they would appear all in the top half of the screen May 12 12:44:47 They'd appear from the top in the order you specify May 12 12:46:52 SimonVT: without the ScrollView it would appear as i specified, but with the ScrollView it gets messy May 12 12:47:10 Then you did something wrong May 12 12:50:49 SimonVT: How can i find out what? i designed the RelativeLayout as i wanted and then put before it May 12 12:53:51 Figure out the first view where it goes wrong May 12 12:53:53 Fix that one May 12 12:53:55 Go from there May 12 12:55:50 Starting with the top left view is usually easiest May 12 12:56:02 Go from there, place your views May 12 12:56:38 SimonVT: so i need to start over with the design? May 12 12:56:46 I don't know, do you? May 12 12:58:53 SimonVT: i will try that.. what about the layout_width and height of the scrollview and relativelayout ? May 12 12:59:51 match_parent on scrollview, wrap_content on the relativelayout in the direction of the scroll May 12 13:00:33 SimonVT: just to clarify, fill_parent = match_parent right? May 12 13:00:37 yes May 12 13:00:46 SimonVT: i will give it a try, thanks May 12 13:17:20 is it possible to disable the automatic translation in google play store? it really sucks May 12 13:20:29 At the bottom of the page is a drop down language picker May 12 13:21:23 hi all! why, after the completion of the asynctask, he does not disappear from the debug window? May 12 13:22:14 They are kept in a pool May 12 13:22:24 So they can be reused May 12 13:23:48 Knossos: only on the web interface, not in the app :( May 12 13:24:00 Ahh I see May 12 13:24:31 Is it a different language to the one on your phone? May 12 13:26:55 Knossos: what different language? May 12 13:31:09 Knossos: my phone is set to german, and google forcefully translates anything without a german description... May 12 13:38:56 Hello May 12 13:39:15 jagruti_: Hello again. May 12 13:40:33 f8l:do you know how can we get the user's photo which is set in contact photo in phone? May 12 13:42:06 Hello May 12 13:42:57 <`Zuko> hi (again) I have a problem with onActivityResult, its execute too early (when i just click on menu item) May 12 13:47:12 f8l:? May 12 13:47:50 Can anybody know how to autoscroll the listview? May 12 13:48:53 jagruti_: I don't know. I'm still the same newbie I was four hours ago. ;-P May 12 13:49:26 f8l:okay May 12 13:49:32 f8l:) May 12 13:51:43 jagruti_: isn't there a smoothScroll(int, int) method for ListView? May 12 13:52:13 Knossos:thx yar i will try now that May 12 13:52:47 Knossos:but 1st int will be 0 and 2nd int will????????? May 12 13:55:43 hi all May 12 13:57:38 huh jagruti_? May 12 13:58:20 Knossos: do you know ehich will be next paramater in int May 12 13:58:45 it is X and Y May 12 13:59:02 but how can get that? May 12 13:59:42 I am not 100% sure off the top of my head, that is how you scroll to a specific point May 12 14:00:04 You can also use setSelected() or similar to scroll directly to a specific row May 12 14:03:05 Hello May 12 14:03:46 I am trying to send a sms by using SmsManager.sendTextMessage and nothing happens May 12 14:04:03 I am using it in a service May 12 14:04:12 someone can help me ? May 12 14:09:19 EvOox-: any errors in logcat? May 12 14:09:29 <`Zuko> hi I have a problem with onActivityResult, its execute too early (when i just click on menu item) May 12 14:09:31 if not, add debug messages and make sure each part of the code is actually firing May 12 14:10:14 permissions, for example... debugging is tedious, but you aren't going to find any help with a question that vague May 12 14:10:57 `Zuko: too early according to whom? May 12 14:11:19 root66: I already did it May 12 14:11:27 there is no errors oO May 12 14:11:31 <`Zuko> before I choose something in listview May 12 14:11:38 it seems that sometimes it works May 12 14:11:41 sometimes not May 12 14:11:51 .. It makes no sense May 12 14:14:18 root66: I find.. May 12 14:14:27 it seems that I can't send more than 160 char May 12 14:19:04 in other news, "no shit" May 12 14:19:22 that's the hard limit May 12 14:19:33 just like when you are typing manually and the little counter pops up May 12 14:21:06 hey guys May 12 14:21:28 <`Zuko> root66: I "startActivityForResult(intent, 0);" -> (onActivityResult executes here oO) -> new activity with listview is displayed -> I choose something (setResult is executed) - finally in "main" activity new "settings" are not updated May 12 14:27:03 can any one assist me May 12 14:27:10 i am stuck on recovery mode May 12 14:27:20 i cant acces my sd card :( May 12 14:27:26 xperia s May 12 14:40:18 hi, is there a way to access raw ip packets from an android app? May 12 14:48:17 anyone knows which hex color the holo theme - blue has exactly? May 12 14:49:40 hello, I would like to style my textview beatifully, nice fonts, gradient, etc - any links? May 12 14:51:53 Aeefire: They're defined in the framework colors.xml, look it up May 12 14:52:35 lol yeah, thanks for the tipp... it's probably too early for me to code. hehe thanks though May 12 15:02:06 hello, I would like to style my textview beatifully, nice fonts, gradient, etc - any links? May 12 15:06:56 amoxibos: http://developer.android.com/guide/practices/ui_guidelines/index.html May 12 15:09:08 EvOox-: thanks a lot May 12 15:09:13 found some great stuff May 12 15:18:55 hello May 12 15:19:00 hmm May 12 15:19:12 i have a problem with linking to static gnustl May 12 15:19:12 i wonder if using Preferences is still "in" ... do people still use it? May 12 15:19:22 Here is example of my problem: http://pastebin.com/40nYe5DW May 12 15:23:40 Can someone tell me what is wrong with this? http://pastebin.com/Ev966z05 May 12 15:33:52 hi, i am trying to develop an live wallpaper everything is ok when compiling, but its giving a Stopped working popup message...i am unable to find out what seems to be the problem... here is the logcat http://pastebin.com/xk95ANTZ May 12 15:36:15 PrivateAlpha: There's no guarantee that finalize is called May 12 15:37:20 SimonVT: Yeah, not worried about that for now, will repaste what I have now, which still doesnt work May 12 15:37:55 http://pastebin.com/EcuGBYPu May 12 15:38:15 SimonVT: Can you give that a glance please? May 12 15:38:30 I don't know what it is you want us to look at May 12 15:38:31 hi, i am trying to develop an live wallpaper everything is ok when compiling, but its giving a Stopped working popup message...i am unable to find out what seems to be the problem... here is the logcat http://pastebin.com/xk95ANTZ May 12 15:38:36 Might want to tell what's wrong May 12 15:38:55 The flash doesnt go on when button is clicked May 12 15:41:34 dunno May 12 15:42:27 SimonVT: I found it, after I change the params I need to write it back to the cam with cam.setParams... May 12 15:42:51 SimonVT ... what would you say... do people still use Preferences or are they deprecated? :P May 12 15:43:07 Eh, what? :P May 12 15:43:27 Yeah, people still use preferences ;O May 12 15:44:04 just askin because i haven't seen them in a while in most apps... May 12 15:44:22 Like, shared preferences, right? :p May 12 15:44:36 Hey =) Anything about undefined references here: http://pastebin.com/40nYe5DW May 12 15:44:40 ? May 12 15:45:22 hi May 12 15:45:29 I'm having some trouble May 12 15:45:37 Hi everyone. Sorry if this is a stupid question but how do I remove an item from a spinner's adapter? remove() throws an UnsupportedOperationException and google does not give me anything helpful May 12 15:45:40 I'm trying to create application shortcuts on the home screen. May 12 15:45:48 yes, for example :P May 12 15:45:52 I'm creating a shortcutIntent as shortcutIntent.setAction("com.android.launcher.action.INSTALL_SHORTCUT"); May 12 15:46:05 and it works. But how do I set the icon of the application? May 12 15:46:30 Aeefire: Just keep it simple May 12 15:46:31 http://www.quickmeme.com/meme/3orp5p/ May 12 15:46:49 or you end up with that :P May 12 15:49:13 haha great. ... i'll probably just use them to let the user set some order type for a list view ;) May 12 15:50:08 Put that in the action bar May 12 15:51:34 ya, i am about to do that... in some special way :) May 12 15:57:27 Hey guys, I was about to try to create a custom sqlite function using C and Android JNI. But i saw a post this is impossible. Any idea May 12 15:58:20 anyone know how to theme a spinner's dropdown background? (i.e. I'd like to change the ics dark grey dropdown background with a semi-transparent one) May 12 15:58:48 Manavan: this is impossible with the stock sqlite implementation May 12 15:59:03 Manavan: but you can of course build your own and talk to it through the JNI May 12 15:59:50 Manavan: but sadly the default java interface to sqlite does not expose the custom function api May 12 16:00:51 MDijkstra, so if i were to do it through JNI to implement sqlite3_create_function, Do I have to replace the whole sqlite stack with my own? May 12 16:01:35 MDijkstra, this is the post i was refering: http://stackoverflow.com/questions/4124229/android-is-it-posible-to-write-custom-function-on-c-c-and-use-it-in-sql-query May 12 16:02:05 Manavan: yes, I think you'd have to replace the entire sqlite implementation May 12 16:02:26 Manavan: I ran into the same problem when trying to port over my FTS3 query ranking function from iOS to android May 12 16:02:36 *result ranking May 12 16:04:02 MDijkstra, Oh that is slightly disppointing :( I am just writing a feature to look by for items that are close to a given GPS location. I really dont want to replace the whoe Sqlite stack for this. Now I have to get all the data and then do that calculation within android which is going to be slower. May 12 16:04:41 Manavan: yeah, kind of May 12 16:04:55 Manavan: OTOH, you can implement a more efficient algorithm May 12 16:05:01 quad tree or something May 12 16:05:38 rather than calculating the (euclidean?) distance between your location and all others May 12 16:07:06 MDijkstra, i am looking up for what you just said. I will try it thanks. May 12 16:07:24 np May 12 16:08:12 how do I get the icon of an already installed application May 12 16:16:40 lol why the hell does the android-sdk platform android-15 only include ic_menu_settings_holo_light but not holo_dark :/ May 12 16:17:45 Dear Sirs, did anybody tried to parse the video stream from the android camera, using the localsocketserver? May 12 16:19:27 aeefire: whenever you just see 'holo' that is holo dark May 12 16:21:11 still can't find it ;/ May 12 16:21:54 Wait on that, let me connect from somewhere else, this isn't working May 12 16:21:57 be right back May 12 16:23:11 aeefire: by any chance is ic_menu_preferences what you're looking for? May 12 16:23:59 yes... but thought there would be a "lighter" version of it... it's nearly invisible like that one my GUI, but will try to photoshop it a bit to fit my preferences :) May 12 16:24:32 ic_menu_settings_holo_light does appear to be the light themed version of it despite the different naming conventions May 12 16:25:32 I'm still stuck May 12 16:25:43 I can't figure out a way to get the icon of pre-installed applications May 12 16:26:13 OK, hey I asked before, but disconnected...someone please explain this...I do not free objects that I have created, for instance a toast object? May 12 16:26:23 with "lighter" i didn't mean light-themed actually... i meant.. more fit for dark sorroundings ;) still thanks.. will try it with that May 12 16:27:49 ahh... well whichever direction you go, those do appear to be the two versions of that icon (i.e. light and dark) May 12 16:28:07 yeah just saw it May 12 16:28:10 additionally May 12 16:28:14 there is a difference between May 12 16:28:26 ldpi (it's the really old settings button) and mdpi and higher May 12 16:28:26 ^^ May 12 16:30:17 so I just ignore memory in java? like it's not OK to free memory? May 12 16:30:52 GeeksOnHugs: hehe, yes, pretty much. May 12 16:31:22 GeeksOnHugs: for the most part, Java keeps track of references to objects and if none are left, the garbage collector cleans it up. May 12 16:31:31 OK, seems wierd to me, I'm coming from an old school programming language I guess...I don't fully understand "garbage collection" May 12 16:31:35 aeefire: now you're just getting crazy... wanting consistency and such :-) May 12 16:31:50 so there is no advantage for me to free it manually when I'm done, or is it even possible? May 12 16:32:24 killring hahaha ye.... still sucks that they don't even follow their own name conventions and stuff liek that... grml May 12 16:32:29 geeksonhugs: just let go of your references (i.e. set any variables hanging on to what you want to get rid of to null) May 12 16:32:48 GeeksOnHugs: there is System.gc() which forces garbage collection, but for the most.. it's a waste of time and effort to bother with it. May 12 16:33:11 OK, so best practice don''t even bother setting to null? May 12 16:33:19 geeksonhugs: that's the simple case and there are more complex situations but generally don't worry about it unless it's a problem May 12 16:33:37 Yes, "don't worry about it unless it's a problem" is the best advice. May 12 16:33:44 kk, cool thank you May 12 16:34:02 worry about it at the macro level (i.e. don't create god classes that hang on to everything etc.) May 12 16:34:16 ah that makes sense May 12 16:34:49 There are times you should be careful with, not technically GC. But things that can keep running in the background after you go back to the homescreen. May 12 16:35:16 Example, if you make a loop from a Handler, that can continue in the background and you may never notice it May 12 16:35:24 my app is going to have a service to monitor location May 12 16:35:54 hi, i am trying to develop an live wallpaper everything is ok when compiling, but its giving a Stopped working popup message...i am unable to find out what seems to be the problem... here is the logcat http://pastebin.com/xk95ANTZ May 12 16:37:25 geeksonhugs: then you're probably going to want to spend far more time making sure your service isn't needlessly doing/redoing work in the background than if it's hanging on to a few extra objects May 12 16:37:57 blue_pearl: it seems you've cut off the useful part of the message May 12 16:38:35 TheTrash: ooh, let me check again. May 12 16:39:11 kk, i c...I will keep that in mind....thanks :) May 12 16:46:32 TheTrash: check this pls it may help http://pastebin.com/V1rHNkC6 May 12 16:51:11 getting stopped unexpectedly message after my app gets compiled here is the logcat http://pastebin.com/V1rHNkC6 can any one let me know what seems to be the problem? May 12 16:53:36 Have you added that activity to your manifest? May 12 16:53:51 and does com.packagename.colorfun.ColorFunSettings really exist? May 12 16:54:00 * killring has had enough of spinners May 12 16:54:14 packagename.com seem wrong too :) May 12 16:54:50 killring i know that feeling. rofl May 12 16:55:00 the package name isn't wrong, pretty sure he has just forgotten to put it in the manifest May 12 16:55:40 Knossos: I meant wrong in the sense that I don't think he owns that domain :) May 12 16:55:47 Ahh right May 12 16:56:19 aeefire: sadly, it just mean more work for me. I can't figure out how to f*ing style a spinner to do what I want so it looks I get to create a custom widget that duplicates its functionality May 12 16:58:42 Does anyone of a ressource for ics styled actionbar/menu icons? May 12 16:59:15 I need a symbol for import and cannot find a good one in the default icons May 12 16:59:38 plaisthos: have you looked at the icons you can download from the design site? May 12 17:00:27 killring: I will into that May 12 17:02:41 the \ic_action_bar_template folder is empty on my download .. :( May 12 17:07:07 I haven't found it so difficult to customize spinner killring ... but mine was nothing fancy, just a new background essentially.. May 12 17:07:14 is there any tutorial (with screenshots) about controls gravity tag using and/or layouts placeing? May 12 17:08:04 aeefire: I have been able to figure out how to do just about anything to a spinner except the one thing I'm trying to do: customize the background of the dropdown/popup May 12 17:08:19 mom let me look it up a second May 12 17:09:12 ArrayAdapter arrays = new ArrayAdapter(this,android.R.layout.simple_spinner_item,column_names); arrays.setDropDownViewResource(R.layout.spinneritem); typespinner.setAdapter(arrays); May 12 17:09:15 did it for me May 12 17:10:06 spinneritem.xml is a checkedtextview May 12 17:12:53 I'm able to do that too provided I want an opaque background. what isn't working for me is when I want a semi-transparent one... there seems to be a style item I just can't seem to find May 12 17:13:13 basically I want to style the dropdown so that it looks like my other popup windows on 3.x/4.x May 12 17:13:32 ah.. hmpf May 12 17:13:44 parent theme alert dialog or something? May 12 17:13:44 frustrating as hell :-( May 12 17:15:48 I've looked at dropDownListViewStyle, spinnerDropDownItemStyle, dropDownSpinnerStyle, cacheColorHint, background, popupBackground, popupMenuStyle, dropDownSelector and every other stupid attribute that my google searches came back with and nothing yet is touching that stupid grey background that just sits there mocking me May 12 17:16:51 isn't there a background setting attribute where the first value is alpha? May 12 17:17:10 like #00FFFFFF? May 12 17:17:49 sure, but you need to find the actual attribute that the spinner is using for it's popup background in order to set it May 12 17:18:05 I'm talking about the *popup* background, not the *item* background May 12 17:18:24 since that seems to be where the styling is happening May 12 17:25:52 The problem I have is, the C++ code I'm trying to work with is a class: LWIO. And I'm trying to figure out how to call its functions from a java class May 12 17:26:11 * Hiraghm is very frustrated May 12 17:27:02 ugh... I don't think I could take the pain of dealing with java *and* c++ May 12 17:27:35 that's basically misery ^ 2 May 12 17:28:51 I don't think you can do without a C wrapper, can you? May 12 17:29:17 * Hiraghm sniffles miserably May 12 17:36:51 Guys. I'm trying to implment runtime overlay layouts. There is my code of activity: http://hash.su/7395 And there are layouts: http://hash.su/7396 May 12 17:37:42 I can see overlay button that added by .addContentView(), but I cant when I'm using .addView of inner layout. May 12 17:37:50 How it could be fixed? May 12 17:40:32 Ingersol: boo :) May 12 17:40:43 oob ) May 12 17:41:09 How can I use background gradient dithering with actionbarsherlock? I am testing on Nexus S with ICS and getWindow().setFormat(PixelFormat.RGBA_8888); getWindow().addFlags(WindowManager.LayoutParams.FLAG_DITHER); does nothing. May 12 17:41:45 janhouse: do you have hardware accel enabled? May 12 17:46:07 killring, thx, I did not. I had forgot to set targetSdkVersion to 14 May 12 17:46:33 not sure what happens in older version May 12 17:46:42 will check in emulator now May 12 17:46:50 I think you actually have to have it disabled (iirc, dithering doesn't work with hw accel enabled) May 12 17:48:03 Could help me with a problem I have with Actionbar and Fragments. I do not really understand how to use Fragments with the Actionbar, because I want more than one Fragment beeing display when I click on a new Tab... Does someone know a good example or Could someone explain it to me? May 12 17:50:53 killring, I did not enable it in any special way. Just have minsdk set to 10 and targetSDK to 14 May 12 17:51:07 I guess it then automatically enables dithering on ICS May 12 17:51:14 and it is disabled on older versions May 12 17:52:00 I think in sdk 14 they flipped the default so that hw accel is enabled by default (you specifically have to disable it if you don't want to) where in sdk 13 and prior it was disabled by default May 12 17:52:08 now in the emulator (2.3.3) it looks like it is using the dithering but it still looks terrible on my monitor. May 12 17:54:17 bah i lost my +o :( May 12 18:04:19 Hi have a question. I would like to kick of a few things in parallel on first launch of my app. for example download a file and setup the SQLite Database. The problem I am having is how to wait for both to finish before kicking of a task that should load something from the file into the database. May 12 18:06:01 I was thinking of Async Tasks but just read that they aren't processed in paralell at least that it isn't guaranteed that they will May 12 18:12:52 little question: i have a list populated with a little database... can i just populate it again and it will be overwritten or do i somehow have to "delete" the current content of the list before populating it again? May 12 18:13:04 notifydatasetchanged() May 12 18:13:35 Grunewald, you can specify your own executor for asycntask to do whatever you want May 12 18:13:42 or you can just have a plain old thread May 12 18:13:56 what is the better pattern May 12 18:14:00 have each thread call back to some method, and if both threads ahve finished there, you can do whatever you want May 12 18:14:01 i am changing the "order by"-type (dunno how to call it in english) ... will this also work with notifydatasetchanged? May 12 18:14:22 depends if you made a sane adapter May 12 18:14:36 Grunewald, how long does it take you to "setup the SQLite Database" ? May 12 18:14:52 that doesnt sound like something that should take long, so im not sure its worth doing it "in parallel" May 12 18:15:16 i am just using the simplecursoradapter May 12 18:15:26 (if u are talking to me actually :P ) May 12 18:15:47 canadiancow: it is noticable like 1-2 seconds especially on older devices May 12 18:16:33 And loading the data then takes another 5-10 seconds depending on device so I want to bring that all down to 3 seconds. May 12 18:16:44 dont' want to make the user wait May 12 18:16:46 so you have three things you need to do May 12 18:16:49 one of them depends on the other two May 12 18:16:54 one of them takes 5+ seconds May 12 18:17:00 yup May 12 18:17:01 and you want all three to finish in 3 seconds? May 12 18:18:45 well that would be ideal. I don't think I can optimize much on the download so that will just have to be as long as it is, but I wqnt to optimize both the set up of the database and the load of the data to be as fast as possible May 12 18:19:01 so moving what I can do in parallel into something in parallel would shave of a few seconds there May 12 18:21:32 private boolean mFileDownloaded = false; private boolean mDatabaseCreated = false; private void downloadFile() { new Thread(new Runnable() { @Override public void run() { /* download your file */ mFileDownloaded = true; callback(); } }).start(); } private void createDatabase() { new Thread(new Runnable() { @Override public void run() { /* create your database */ mDatabaseCreated = true; May 12 18:21:33 callback(); } }).start(); } private synchronized void callback() { if (!mFileDownloaded || !mDatabaseCreated) { return; } populateDatabase(); } private void populateDatabase() { /* use your downloaded file to populate your database */ } May 12 18:21:48 get that in eclipse, run the formatter, and fill in the /* */ comments with real code May 12 18:22:18 hi May 12 18:22:29 is there anyway to use write android apps in Jython instead of Java? May 12 18:22:44 that is some nice code canadiancow so you'd prefer the plain old thread model over an executor simply because one has more conrtol over them ? May 12 18:22:45 or perhaps a python binding to android sdk? May 12 18:22:50 anything of the sort? May 12 18:23:36 id prefer that because youre not doing anything complicated May 12 18:23:38 there are only two threads May 12 18:23:42 there are always only two threads May 12 18:23:45 there are never more, never less May 12 18:23:56 very good point May 12 18:23:58 thanks May 12 18:24:27 stoned: look at sl4a May 12 18:24:40 i have May 12 18:24:44 is that all there is atm May 12 18:24:45 ? May 12 18:25:06 I mean to produce apps for the app store May 12 18:25:21 that's the goal May 12 18:25:29 nah, you write apps for the app store in ObjC May 12 18:25:53 oh jeez. May 12 18:26:02 you're one of them lot May 12 18:26:09 no, there is no way to write first class apps for Android in Python May 12 18:26:19 as you no doubt found in your extensive research on the subject May 12 18:26:40 alright May 12 18:26:58 is it still possible to embed python in a native app and use some python functionality there? May 12 18:27:18 probably... May 12 18:29:19 stoned i think it is absolutely possible but I am doubtfull there is a turnkey solution, you might have to write a full on pythin interpreter/compiler write all the api connectors and so on. Doubtfull you find that out of the box May 12 18:29:29 ah May 12 18:29:42 I was hoping someone had already done the work May 12 18:29:47 no matter May 12 18:30:00 thank you May 12 18:30:39 canadiancow: may I dm you ? May 12 18:30:53 id rather you keep it out here :P May 12 18:30:58 maybe other people have the same question May 12 18:31:31 Well ok May 12 18:31:42 Do you have apps in the market? May 12 18:31:45 * alankila wonders if people seriously want python on android at all. Sounds like the people who do are not the ones to really make it happen May 12 18:31:46 is it possible to have a menuitem that doesnt dismiss the menu? May 12 18:31:53 i do May 12 18:31:54 something like a header? May 12 18:32:06 which ones? May 12 18:33:02 https://play.google.com/store/apps/developer?id=Scott+Kennedy May 12 18:33:30 ah cool May 12 18:35:30 canadiancow are you aware that the website Urls for navlauncher and your developer homepage both don't work? May 12 18:35:55 no lol May 12 18:36:22 well i guess i knew navlauncher had no website May 12 18:36:24 i accidentally deleted it May 12 18:36:30 and i have no motivation to remake it May 12 18:36:33 it was just a forum May 12 18:36:52 hmm i actually dont have a website url specified for the "developer" May 12 18:36:57 its an optional field May 12 18:37:14 hmm very odd that google puts a link on their page then May 12 18:37:19 i should just point it to my linkedin page or something May 12 18:37:37 Ya maybe May 12 18:40:52 ok ive added that May 12 18:40:56 might take some time to propogate though May 12 18:41:00 thanks for pointing it out :) May 12 18:41:04 no problem May 12 18:41:21 thank you for your help May 12 18:41:26 np May 12 18:41:34 if you want to see a much larger app that i had a huge part in: https://play.google.com/store/apps/details?id=com.zynga.scramble May 12 18:41:41 but it's not "mine" May 12 18:43:46 canadiancow nice May 12 18:45:05 ok, here's my question/problem from another angle since this seems to be where the problem lies: how does one use a custom listview for a spinner's dropdown? May 12 18:45:37 make your own spinner May 12 18:45:48 a TextView with a custom background that pops up a dialog May 12 18:46:05 seriously... that can't be customized? May 12 18:46:16 not the last time i checked =\ May 12 18:46:23 * killring slams head on desk May 12 18:46:31 that would explain it then May 12 18:49:43 http://heyyeyaaeyaaaeyaeyaa.com/ May 12 18:49:56 this will keep you folks busy while I dominate the world May 12 18:59:46 do we have a prefered paste bin? May 12 19:00:24 no May 12 19:01:07 uargh May 12 19:01:31 aeefire: I couldn't have said it better May 12 19:02:00 i just thoght May 12 19:02:05 hey i have the solution to all my problems May 12 19:02:08 coded for 1,5 hours May 12 19:02:10 now... May 12 19:02:12 Oh... May 12 19:02:15 it's all wrong. May 12 19:02:16 :D May 12 19:03:03 isn't development fun? May 12 19:03:18 yeah, that's why i am loving it so much May 12 19:11:12 Is there a convenience method to open the "/sdcard/Android/data/my_app" directory directly? May 12 19:11:27 how do you want to "open" it? May 12 19:11:44 on 2.2+ there is May 12 19:12:22 Well in the same way as Context.getExternalFilesDir(String type), returning a File object May 12 19:12:52 canadiancow: Thanks, will roll a small method then May 12 19:13:06 this is something ive done >9000 times May 12 19:13:16 i need to publish this May 12 19:14:00 yea hold on i'll give you mine May 12 19:14:18 http://pastebin.com/aH42Sjxd May 12 19:15:30 mhh May 12 19:15:44 love my freely sortable new list May 12 19:15:51 and it seems to even get saved <3 May 12 19:16:17 noob question: http://pastebin.com/KiVuPij5 May 12 19:17:10 GeeksOnHugs: chkActive is in the outer class May 12 19:17:14 this refers to the inner class May 12 19:17:32 MainActivity.this.chkActive will work. May 12 19:18:08 canadiancow: sweet, thanks :-) May 12 19:18:34 OK, thank you...man this is going to be painful...I've been doing Object Pascal for 17 years lol...ty :) May 12 19:22:34 canadiancow: Do you know if there is a similar API method to get "Android\data\com.dropbox.android\files"? May 12 19:26:21 i dont know May 12 19:26:23 look it up :P May 12 19:28:58 canadiancow: was trying ^.^ return mContext.getExternalFilesDir(null) did the trick May 12 19:30:02 gives you the directory "/mnt/sdcard/Android/data/x/files" May 12 19:32:08 * Aeefire abuses his preferenceActivity for help-screens lolz May 12 19:32:24 :( May 12 19:32:27 webview yo May 12 19:32:34 nah May 12 19:32:49 i want to keep unnecessary permissions out of the app :) May 12 19:32:59 you dont need any perms to use a webview May 12 19:33:06 you need perms to access the web with it :) May 12 19:33:15 local html files can be put in assets/ May 12 19:33:18 ah you mean i should make some helpscreen with html ? May 12 19:33:23 thats what i do May 12 19:33:24 ah now i get it :P May 12 19:33:46 you can even make the webview transparent May 12 19:33:53 ya, probably something to consider, thanks for the tipp.. but at first some plain text has to be enough :) May 12 19:33:54 so it seamlessly integrates with the rest of your theme May 12 19:34:28 hi, i got an openglES app, and when i resume my app all textures are lost May 12 19:34:32 i guess this is normal May 12 19:34:35 yes May 12 19:34:47 ok and what is the recommended way to solve this issue? May 12 19:34:52 reload them May 12 19:34:57 or use an engine that does it for you May 12 19:35:11 reload in the onResume call? May 12 19:35:17 I need technique for dynamically changing the local sqlite structure db without updating the app. May 12 19:35:22 i dont know exactly where the best place to resume is May 12 19:35:24 err May 12 19:35:25 reload May 12 19:36:30 When dealing with server/client design, it would be nice to not be forced to update the app to adapt to new server changes, if this was possible dynamically? May 12 19:36:50 i keep getting this IDE error: "Error generating final archive: Debug Certificate expired on 8/19/11 4:54 PM" and can't compile? May 12 19:36:59 so delete your debug cert file May 12 19:37:05 it will make you a new one May 12 19:37:14 Not everyone is able to keep their app upto date, unless you force them May 12 19:37:16 OK...lemme see if I can find it May 12 19:37:29 which 3d opengl engine can you propose? May 12 19:37:32 ~/.android/debug.keystore May 12 19:39:27 lol can't find that directory...I guess that's not a project directory? May 12 19:39:52 That's in your homefolder? May 12 19:40:06 oh i''m using windows May 12 19:40:42 ok.. May 12 19:40:57 c:\users\username\.android\debug.keystore May 12 19:43:05 doh, thank you May 12 19:46:50 hello, I need a quick help: I'm about to capture a picture with the phone camera but I'm having issues on saving it in raw format. Is there a way to save the picture in non compressed state (jpg)? May 12 19:47:33 Last time I looked the API provided jpeg bytes... May 12 19:47:40 * alankila wonders if he missed some raw method May 12 19:47:53 Is it allowed to distribute a copy of ADB if your application just uses it? I didn't find the license of adb. May 12 19:47:58 dunno May 12 19:48:20 ah yes, there's camera.takePicture() with multiple ways to acquire the result May 12 19:48:29 alankila: exactly May 12 19:48:45 but using the raw callback crashes the app! o.0 May 12 19:48:47 there's one for the raw bytestream... May 12 19:49:13 at saving time, it says that the file is 0byte May 12 19:49:34 nullpointer exception while saving the raw file May 12 19:49:58 there are some conditions when the result is null May 12 19:50:14 android is ever starved of memory. This may be one of the constraints. May 12 19:50:32 uhm May 12 19:50:33 * alankila dimly remembers that there are 8 MB cameras out there... and if you capture this at 24 bits per pixel, that's 24 MB of heap gone in one alloc. May 12 19:50:42 DP: Which degree program are you graduating from? May 12 19:50:42 TF: Master of Science in Computer Science May 12 19:50:42 I WANT THAT DEGREE JUST BECAUSE IT SOUNDS COOL May 12 19:51:31 alankila: so, since I only need to capture a string of numbers for recognition, what should the camera settings be? May 12 19:51:44 dunno... max resolution, jpeg? May 12 19:51:50 grayscale? if you can get it May 12 19:52:02 jpeg you said May 12 19:52:08 that is compressed format May 12 19:52:15 so what? May 12 19:52:35 so could be better to use untouched file May 12 19:52:39 no? May 12 19:52:43 * alankila shrugs May 12 19:52:55 i'm new to this kind of ocr and such May 12 19:53:24 I doubt it matters. jpeg artifacts are subtle compared to text in any reasonable conditions. May 12 19:53:33 ah May 12 19:53:36 good to know May 12 19:53:47 you have seen a jpeg in your life before, right? May 12 19:54:09 so best way would be to capture the pic, set it to grayscale May 12 19:54:13 anyway you want to sort of zoom into any text or other features you want to recognize. jpeg artifacts are confined to 8x8 pixel areas May 12 19:54:41 the grayscale is just a processing suggestion. Not sure if jpeg supports such a thing natively, but it could lessen memory constraints May 12 19:54:51 true May 12 19:56:11 then my last issue will be creating a box inside preview screen to set as resize box for the pic May 12 19:57:32 Like the image picker one from the gallery? May 12 19:58:07 uhm May 12 19:58:43 more like a white wireframe square May 12 19:59:01 all inside that box will be the pic. May 12 19:59:32 all external will be thrown away May 12 19:59:38 To apply the cropping on the preview? May 12 19:59:45 Or afterwards? May 12 19:59:48 so not a resize, a crop May 12 20:00:00 crop on the preview May 12 20:00:12 so that it saves the picture already cropped May 12 20:00:32 Hm. Reminds me of Google Goggles. They have a really nice preview crop feature May 12 20:00:42 similar, yes May 12 20:01:24 I think it isn't possible to tell the sensor to deliver just a part of the image? Or am I wrong May 12 20:01:40 dunno May 12 20:02:25 well, in the worst case, i could apply the crop afterward but still with that same box dimension and position May 12 20:02:56 I'd use a custom view May 12 20:03:17 Some canvas & touch listener stuff May 12 20:03:22 ok May 12 20:03:24 thanks May 12 20:03:47 But there could be a library for that :) May 12 20:04:02 i'll search for it too May 12 20:05:25 stupid question, but how can i find out which layout file usual android preferences use? May 12 20:09:27 I want to get started on my first app May 12 20:09:36 what is the best tutorial May 12 20:10:06 Check the android developer page May 12 20:12:50 What is the drawback of using App Inventor May 12 20:13:12 You can't (I think) put it on the Play Store May 12 20:13:25 it being an app made in AI May 12 20:13:33 aniasis: That also depends on what you are trying to accomplish. May 12 20:13:42 True May 12 20:14:27 aniasis: If you're out to start learning how to actually develop applications, the SDK and developer.android.com website is your best bet for starters. May 12 20:14:53 Actually you can publish your app, but it needs some extra work for that May 12 20:15:30 I want to get my app finished and on the play store as soon as possible. May 12 20:15:34 aniasis: If you're only in for making smaller apps to prove concepts and whatnot, without having to worry all that much about actually programming the language to any extent, by all means use App Inventor May 12 20:16:02 I just want the app to load up my webpage which is the actual interaface May 12 20:16:14 then why even bother with an app? May 12 20:16:17 and then be able to use the phone's camera and gps May 12 20:16:31 killring: Well, there you have it. :) May 12 20:16:36 kill because I want to use the phone's camera and gps May 12 20:17:00 that's still not possible purely from webpage? May 12 20:17:00 Can I do that with App Inventor? May 12 20:17:05 aniasis: Try out App Inventor and see how far it takes you. I have never used it. May 12 20:17:11 alankila, not the GPS May 12 20:17:21 doubt it... ai doesn't do all that much May 12 20:17:24 I mean not the camera May 12 20:17:44 (re: sensors etc.) May 12 20:19:13 isn't gps doable via most current mobile browsers? and I think chrome for android added camera capability (i.e. it's likely coming to browsers as well) May 12 20:20:06 killring, my point is I need all that now May 12 20:20:12 I am playing with AI now May 12 20:20:26 I will let you guys know my progress May 12 20:29:47 Hey guys, I have a quick question. May 12 20:30:00 fire away May 12 20:30:04 I'm really a big C++ programmer (I've used it for near everything except for scripts) and from my understanding, the Android platform programming market is primarily Java. Now I know the NDK allows for C++ native code, but it looks more or less like something you'd only do if you needed to port a program over to the Android OS. May 12 20:30:18 So should I just bite the bullet and program in Java (which I dislike) or is the NDK worth looking into? May 12 20:30:30 bite the bullet, imo May 12 20:30:44 * killring hates java as well May 12 20:30:46 should be possible to write full apps in C++. No idea how easy/nice it is May 12 20:30:57 is C++ easy to learn? May 12 20:31:14 C is easy to learn but all the tools C++ has to offer is hard to learn. May 12 20:31:34 if you use c/c++ you won't be able to get to some stuff like content providers May 12 20:31:34 so is it easy to make android games with C++ May 12 20:31:36 You can write an app in C++ but it isn't worth it. Java is perfectly easy to learn May 12 20:31:50 Oh, I guess I'll just bite the bullet. May 12 20:31:54 alright ill go learn java saves me from asking my question May 12 20:32:10 I already know some Java from my Minecraft mod insertion days. May 12 20:32:27 Does anyone have some good and linear literature to getting a grasp on Android development? May 12 20:32:36 Like learning the libraries and the basics of an Android program. May 12 20:32:50 in this oracle vs google thing, i didn't see (until now) this bit about "Google infringed on Oracle’s copyrights by decompiling eight Java files and copying them in their entirety for use with Android." May 12 20:33:11 rosenzweig: if nothing else, you'll probably need to write some java for some glue code even if you went with c++ (idk if the ndk provides access to *all* the android apis or not currently) May 12 20:33:22 g00s, dont discuss the case here =\ May 12 20:33:33 I looked at the NDK and you have to write some baisc Java code. May 12 20:33:41 For getting the header files and such. May 12 20:33:43 It looks like a mess. May 12 20:33:46 yep May 12 20:33:46 canadiancow: ok, just reading today's wired May 12 20:33:55 that sounds alot more complicated than learning java :P May 12 20:33:57 I just wish Android supported C++ development. May 12 20:34:00 I'm always more efficient in it. May 12 20:34:06 I've only done a bit with the ndk and it was far from pretty or easy re: the android side of things May 12 20:34:07 g00s: afaik they did not actually use them. Those files could just be deleted. May 12 20:34:15 Learning Java is a matter of looking over a few documents. May 12 20:34:21 If you already know how to program. May 12 20:34:35 alankila: what have you been working on these days ? May 12 20:35:02 But yeah, is there some easy literature on Android development? I'd like to learn the basics and then branch off with some app development. May 12 20:35:03 Finishing touches on the RFID reader + PTP camera thingy, and a web gui to examine the results of using that program May 12 20:35:04 i remember a while back we talked about a fast FFT algo, but reading about it again last week, it might actually be patent encumbered by MIT May 12 20:35:12 alankila: oh yeah, cool May 12 20:35:22 rosenzweig: java combines all the performance of smalltalk with all of the oo capabilities of c :-) May 12 20:35:47 killring combines hyperbole and falsehoods in a particularly pointless cocktail :-p May 12 20:36:44 I'd say my statement was rather accurate since I use all 3 languages I referenced May 12 20:36:54 Weird, getting "W/ActivityManager(189): Permission Denial: Accessing service ComponentInfo" when using "am startservice ..." in adb shell, then a segfault when I try the same command as root May 12 20:37:03 No multiple inheritance, no easy way of abstracting an internal type, no easy way of changing an internal type into a class, et cetera. I just really dislike Java. May 12 20:37:09 I'll be off now. May 12 20:37:13 And learn the Android tool kits. May 12 20:37:20 enjoy May 12 20:37:33 java's idea is to use C-like expression language, and the only means of abstraction is method call. May 12 20:38:03 :\ May 12 20:38:10 not necessarily elegant, but that is how it is. May 12 20:38:33 What ever. May 12 20:38:36 Each tool has its place. May 12 20:38:44 And Java seems efficient for the Android. May 12 20:38:47 the clean split however separates expressions -- there is never any question what an expression can mean, it is simply fixed -- from the OO aspects May 12 20:38:47 So I'll take it for what it is. May 12 20:39:03 I noticed that a lot of UI code for Android programs is in an xml file. May 12 20:39:03 canadiancow: did anyone tip you last night at the sleep over ? :D May 12 20:39:05 Is that the norm? May 12 20:39:12 no May 12 20:39:14 Because it's not like I really dislike UI programming. May 12 20:39:15 you can do it in java as well May 12 20:39:20 excellent ! May 12 20:39:21 Rosenzweig: yeah there's a kind of designer for this, that's why the XML I think. May 12 20:39:37 you can do layouts either in xml or in code... your choice depending on what you need May 12 20:39:42 So if I'm a programmer, and I don't mind programming, then I shouldn't feel obliged to use xml layouts. May 12 20:39:46 right May 12 20:39:52 if you want to do it that way May 12 20:39:53 Rosenzweig: no, but you probably will do it anyway May 12 20:39:57 I wouldn't recommend it for most cases though May 12 20:40:04 simply easier to use the designer, I'd imagine May 12 20:40:13 anyone have the device: endeavoru, holiday, lexicon, pyramid, shooter, shooteru, speedy, or vivoW? I need the partition number of /data of all those May 12 20:40:23 Rosenzweig: XML layouts are a much clear way of putting together UI stuff, you should try it out a bit and see how you can reference other resource types from it May 12 20:40:39 Well it doesn't hurt to try. May 12 20:40:43 And it does seem tidy. May 12 20:40:46 Like an HTML page. May 12 20:41:19 Well, if the designer wasn't so messed up it could be a useful tool for mocking up a fast design but in the end you'll muck around with the XML more than dragging widgets in the designer May 12 20:41:44 Microsoft has a great widget designer for C#. May 12 20:41:47 I played with it a bit. May 12 20:42:05 I'm mainly on a linux computer though. May 12 20:42:47 * alankila wonders how many people know that the 9 lines of code google actually copied from official java were actually written by the same guy. He plagiarized himself May 12 20:43:45 oh, quick question: Has anybody here got a Galaxy Tab? May 12 20:44:20 yup, but no immediate access to it May 12 20:45:05 upfront: Alright, I'm having a horrible time trying to develop for it on the emulator. Seems like Samsung attached a virtual keyboard they designed tehemselves. May 12 20:45:09 themselves* May 12 20:45:25 drlaban: yeah, I know the one May 12 20:45:55 And I'm interested in trying to see if it's at all possible to install that on the emulator to make more consistent testing. May 12 20:46:17 upfront: Would you be up for trying to help me out and see if that's possible? May 12 20:46:49 drlaban: well, it's currently at my sisters… what is it you need me to do? just verify it's the correct one? May 12 20:47:02 Seems kind of unbelievable that this was my first smartphone. May 12 20:47:18 this is* May 12 20:47:34 upfront: Well, I can talk to you in private about it, so as to not clog up the chat here. :) May 12 20:47:44 Hi guys, I have a new project since feb 2012 called eBackupSMS. This project is open source and I am searching for beta testers, one coder. eBackupSMS is a real time sms backup with many improvements and features. Have a look on my blog > blog.evoxmusic.fr ;) Cheers May 12 20:50:08 Why are there like 10+ SDK Packages? May 12 20:50:21 Can I just download one and start writing code? May 12 20:50:24 one for each released version of android May 12 20:50:28 Crap, in Eclipse, the IDE opens an xml with a designer thing. May 12 20:50:34 Is there anyway to get it to just go to the code? May 12 20:50:46 pick the lowest version you want to target as a starting point and use that May 12 20:50:48 Rosenzweig: bottom of that window is a tab May 12 20:50:57 Oh, I see. May 12 20:51:01 Stupid question. May 12 20:51:08 killring, what is the difference in the packages? May 12 20:51:14 just features? May 12 20:51:30 aniasis: improvements and recommandations May 12 20:51:44 aniasis: features/design... pretty much the whole ball of wax re: what that particular release was and did May 12 20:51:44 sometimes May 12 20:52:50 the biggest change in recent versions is from SDK 10 (2.3) to 11 (3.0)... there are a ton of visual/style changes as well as new apis May 12 20:52:55 So if I want to access the GPS will I have to do it different ways from 2.3 to 4.0?? May 12 20:53:07 that should work the same May 12 20:53:19 though you'll probably want to target 2.2 or 2.3 as those are what most users currently have May 12 20:53:23 aniasis: sometimes yes sometimes no May 12 20:53:31 aniasis: if you look at the documentation it will say "since X" with the version number May 12 20:53:41 yep May 12 20:54:15 aniasis: and if something is deprecated. Eclipse will warning you May 12 20:55:10 Where can I get stats on version usage? May 12 20:55:29 http://developer.android.com/resources/dashboard/platform-versions.html May 12 20:55:52 I don't know if there are official report about this May 12 20:56:08 evoox: see the link I just posted May 12 20:56:29 updated monthly... May 12 20:56:40 biweekly, excuse me May 12 20:57:21 killring: thanks for this :) May 12 20:57:48 np... as you get more into android devel, you'll find yourself looking at this often :-) May 12 20:58:19 hehe May 12 20:58:42 the main point to take from the stats over the last several months is that 2.2/2.3 is still the 'sweet spot' where the bulk of the users are May 12 20:58:45 killring: also known as "countdown until I can target ics" May 12 20:59:12 haha upfront May 12 20:59:23 upfront: tell me about it... I've already (somewhat suicidally) gone 3.x+ with all of my developement May 12 21:09:26 killring: what was your experience with that? i think 2/3 of my users are 2.3 May 12 21:10:10 g00s: I don't really have a frame of reference re: 2.x since all my apps have been 3.x only May 12 21:10:39 but there are people out there looking for apps that look and feel like true 3.x and 4.x apps May 12 21:11:04 yeah, there are some things like context menus, used in pre-ics … May 12 21:11:47 or pre-HC rather May 12 21:12:00 I should have a better feel in a few weeks as I have an app coming out that I think will mainly be competing against a single app designed for 2.x devices May 12 21:12:45 right now I'm in bug hunting mode and fighting with layouts to polish it up and get it out the door May 12 21:14:15 i have been thinking about minSdk = ics though. i don't care much about HC, hardly anybody has those May 12 21:14:36 it would relieve a lot of stress :/ May 12 21:15:16 hc gives you most of the features of ics so it's not really costing you anything to support it as well for the time being May 12 21:15:16 :D i love actionbarsherlock, gives you the ics feel on 2.x May 12 21:16:16 I guess it really depends on how tied your ui design is to the stock theme of 3.x or 4.x May 12 21:16:55 aeefire: yep, it helps a lot of older apps have a more current look and feel May 12 21:35:30 [17:09:28] killring: what was your experience with that? i think 2/3 of my users are 2.3 May 12 21:35:30 this May 12 21:36:26 wait g00s minSdk = 14/15? O____O May 12 21:36:29 way to have no market :P May 12 21:37:08 * killring suspects that was g00s wishing out loud May 12 21:37:22 but even then...i dont pick my minsdk version until ive written the damn app May 12 21:37:31 because if it's no effort to support back to 2.1, then why not? May 12 21:37:48 but if i reach a point where i REALLY need a 2.3+ feature, then that determines it ofr me May 12 21:38:04 but i think 2.2 is still too big to "ignore" May 12 21:38:11 2.1 can gtfo though :) May 12 21:38:14 depends on whether or not ui design is considered a feature or not May 12 21:39:01 but I don't disagree that for most devs, size of installed base is going to dictate the decision May 12 21:39:08 yea May 12 21:39:17 sure, id love to use holo May 12 21:39:29 but im not going to cut off 90% of potential customers for it May 12 21:39:49 * killring will :-) May 12 21:39:59 i bumped up an app from supporting 1.5 to 2.1 recently May 12 21:40:06 the only reason was i wanted to use ABS, which required 2.1 May 12 21:40:12 but it was amazing how much code i was able to remove May 12 21:40:17 no longer having to support pre-2.1 stuff May 12 21:40:21 but that's because I'm mainly working on apps designed primarily for tablets May 12 21:41:11 Hi, I'm trying to switch between activities but when I run my app on the emulator it is telling me that my app has stopped. http://pastebin.com/8BmGRHJv what is happening? May 12 21:42:14 look at logcat for an error specific to your app May 12 21:42:36 you probably forgot to list an activity in your manifest May 12 21:42:43 or perhaps a permission May 12 21:43:38 stack trace or gtfo May 12 21:46:27 kg020: without more info, I'd guess you don't have your JogActivity declared in your manifest May 12 21:46:52 upfront, you're right. thanks. May 12 21:49:38 bwahaha.... I have defeated you, wretched spinner! May 12 21:50:04 <`Zuko> hi, I have a problem with playing rtsp stream in videoview, most of the times I get "this video cannot be played", but sometimes stream works for ~5sec and then appears message with:... cannot be played? whats wrong? my stream is encoded with h264 May 12 21:56:42 hello everyone :) May 12 21:59:38 Need some help about GC. I'm getting a lot of ("GC_EXTERNAL_ALLOC freed <1K") messages when using DecelerateInterpolator (15~20 GC calls per second). Not sure what causes this behaviour. There is the part of code: http://hash.su/7400 May 12 22:00:31 xa0c: animators? probably not anything you can do about it May 12 22:01:18 I'm just trying to scroll layout to top smoothly May 12 22:01:23 i.e. a bunch of small gc's seem to be part of the cost of doing animation May 12 22:01:34 kinda pull-to-refresh control impl. May 12 22:02:40 sure. given the tiny size of the gc's, why do you care? is the animation choppy? May 12 22:02:58 yes May 12 22:03:21 ah... then that's a different story May 12 22:04:00 are you using the 'old' (pre-hc) or the 'new' (hc+) style animations? May 12 22:05:04 if anyone can describe me briefly the concept behind game development. I am not entirely sure how graphics work beyond "you have a square, apply a transformation to translate or shear it etc.". I will try to be more explicit, so consider Cut My Rope. how would they display the Om Nom character on screen and animate it? in general, how would you animate complex shapes such of Om Nom or, let's say, a fluid? May 12 22:05:29 I mean the candy from Cut the rope can be easily described conceptually as a translation transformation of a circle. May 12 22:05:41 but I don't quite understand the more complex cases. May 12 22:06:02 killring: Sorry, I'm new in anddev. I didnt get what you asked. :) As you see, I'm using standard AlphaAnimation class and 'custom' interpolator (just to get 'smooth' y-coordinates) May 12 22:06:22 cut my rope might actually be doing opengl May 12 22:06:32 So, honestly, it's not an 'animation' May 12 22:06:55 xa0x: what's your minimum android target? older targets = older animation framework May 12 22:06:57 magn3tar: the candy would be a sprite (probably a simplistic textured flat mesh), with the mesh being translated according to time keeping May 12 22:07:00 xa0c: np... so it's old style animation. May 12 22:07:13 upfront: 10 May 12 22:07:24 I am lost how do I set the title of a Activity? May 12 22:07:40 which means not hw accellerated so you have to be even more careful about not asking for too much in too short a period of time May 12 22:08:30 plaisthos: setTitle() in the activity? otherwise.. the manifest May 12 22:09:07 upfront: thanks I search the whole time for something called setLabel May 12 22:09:09 p_l: I see! But it's a lot harder to understand the more complex animations May 12 22:09:18 because of the android:label in the manfiset May 12 22:09:43 magn3tar: that's the basic from which you form everything else May 12 22:09:44 or consider for example the fluids from Where's My Water May 12 22:09:46 killring: i checked it with seekbar it works smooth. the problem is in GC calls. why it called so frequently? Not sure it's optimal GC realization. May 12 22:10:00 magn3tar: the fluids are probably done with a shader May 12 22:10:24 in fact, GLES2 favours shader-based approach May 12 22:10:32 xa0c: I haven't done animation pre-sdk 11 but I assume there's some way you can tell the animation either how many steps or the increment per step to make... can you try scaling that back? (i.e. do it in fewer steps/larger increments per step) May 12 22:10:55 lemme check May 12 22:10:59 p_l: Thanks a million! I'll have a look now May 12 22:11:52 killring: nah... one step == one GC call. awful. May 12 22:12:42 xa0c: what are you trying to animate anyways? scrolling a listview? May 12 22:12:58 cuz you can always do a timertask while setting the position May 12 22:13:40 upfront: nope. all I do is changing marginTop value of the LinearLayout. May 12 22:14:33 As I said: it works fine without animation usage (when I manually changing margin based on seekView value). May 12 22:19:08 I choosed animation+interpolator trick to produce gradient Y values. As you see in code I posted above, I didn't use animation in the real meaning. May 12 22:24:51 restarting BBL May 12 22:44:56 I assume it's in the manifest, but where exacty is it specified that my app needs the googleapi? I apparently set it to on and don't want it on May 12 22:45:00 i think May 12 22:54:22 canadiancow|work: have youused abs yet? yeah, i mean - if you aren't going to use new apis, why do minSdk = ics. for me it really just comes down to, wanting to follow the newest design guidelines with the least hassle. i'm not writing immersive / gaming stuff, so i would have an action bar and all that jazz May 12 22:54:44 i have used abs... May 12 22:54:53 was it hassle free ? May 12 22:55:10 no more of a hassle than doing anything fancy with the native actionbar :P May 12 22:55:16 :) May 12 22:55:29 for the most part it was s/getWhatever/getSupportWhatever/ and removing all my "how hsould we do this pre-3.0" code May 12 22:55:39 cool May 12 22:57:36 as long as i don't have to worry about one set of bugs in the natice ab, and another set of bugs in abs May 12 22:57:44 *native May 12 22:58:01 well...not really May 12 22:58:05 i think the only bug i still hear about has to do with fragments and menus not updating correctly in some circumstances May 12 22:58:12 im not sure if jake has fixed anything in abs that wasnt fixed in aosp May 12 22:59:47 where is it specified that my app requires the google api? May 12 23:00:24 cause the IDE isnt letting me use an AVD without google api May 12 23:00:53 so I have a Motorola Droid Razr avd and it says it doesn't have google api May 12 23:01:47 canadiancow|work weird stuff like this https://github.com/JakeWharton/ActionBarSherlock/issues/351 May 12 23:04:04 does the issue occur on native? May 12 23:05:32 i'm not sure. i always check out the defect tracker for projects before i use them. many times bugs are reported but they are PEBKAC May 12 23:05:42 i'm considering using abs in my project May 12 23:06:35 its labeled 'Framework bug' May 12 23:12:26 Hi, I have 2 java file Main.java and Insert.java (both working well) , now i want to run all fuctions of Inser.java inside Main.java May 12 23:13:01 i've tried somethink like it : Insert ac = new Insert(); May 12 23:13:01 ac.getApplicationContext(); but ain't work ( new with java) May 12 23:13:55 szikael: Insert would have to inherit from Context or a child of Context for that to work. does it ? May 12 23:14:41 so, what you probably want to do, is Inset ac = new Insert(getApplicationContext()) from Main, assuming Main is an activity May 12 23:16:33 szikael: also, you'll want to learn java well. maybe 'head first java' 'thinking in java' or 'core java' May 12 23:18:02 g00s: i whating for this book :) soon will get it May 12 23:23:41 Hi, has anyone used LocationManager to get lat and longit from GPS? Does it return radians or degrees? May 12 23:24:16 it returns degrees * 1e6 May 12 23:25:03 so i add this: Intent insert = new Intent(getApplicationContext(), Insert.class); May 12 23:25:03 startActivity(insert); May 12 23:25:20 but still not working May 12 23:25:30 theres no reason to use getApplicationContext() there. May 12 23:25:39 use 'this' May 12 23:25:49 use getApplicationContext() when you need a long living reference to the context. May 12 23:25:55 readme, so a conversion would need / 1e6... and then convert to radians, right? May 12 23:26:37 kg020: i don't recall precisely, but it's all definitely documented. also check out http://code.google.com/p/android-protips-location May 12 23:26:52 i don't understand why you want to convert to radians May 12 23:27:00 i think degrees, minutes, and seconds are the standard way May 12 23:27:11 long/lat is usually displayed in sexigesimal May 12 23:28:21 hej, just got re-directed. In onCreate() I purely set up the list and call "setListAdapter( new CustomAdapter( this, 1, list ) );" and though the app shows up fine the screen stays blank. I'm sure I'm missing something super obvious :C May 12 23:28:24 szikael: sorry, i wasn't clear on what you were trying to do. May 12 23:28:46 What is the convention behind prefixing variable names with an "m" ? May 12 23:28:53 Everything else is fine (extending ListActivity and ArrayAdapter, passing in an ArrayList ) May 12 23:29:43 so i want to call for public class : public class Insert extends ListActivity { May 12 23:30:03 wich is sanding data to mysql serwer May 12 23:30:38 readme, I'm trying to use hareversine's formula May 12 23:31:21 Hi, I want to make ready my internet-project for an app. What is the best comminucation way? JSON, XML etc? May 12 23:32:02 sukram: if data is simple enough json is more leightweight = less data transmit - weeee :) May 12 23:32:41 and handling is nice with JSONObject and JSONArray with toString() you can even save full data in SharedPreferences (super dirty!) May 12 23:33:41 kg020: well then.. i think it's divide by 10^6 and the convert May 12 23:34:35 kg020: is that just fancy talk for finding the distance between two lat,long pairs? May 12 23:34:38 because there's an api for that May 12 23:34:44 I apologize, I'm not a math wiz (yet) May 12 23:34:55 readme, yes... really? lol that would be great May 12 23:35:04 yeah I think it's in the GeoPoint class. May 12 23:36:45 here it is: https://developer.android.com/reference/android/location/Location.html#distanceBetween(double, double, double, double, float[]) May 12 23:36:56 sorry, it's in Location May 12 23:37:56 I am searching an APP wich just turn on the GPS also when no APP requesting it. May 12 23:49:39 so I investigated. I call setListAdapter() from my ListActivity instead setContentView. Though the xml files are ok (no errors, preview looks fine) the screen remains blank. May 12 23:50:46 For testing I did a main_layout for ListActivity like foo but same: the screen stay blank not even the Text is shown. So I suspect I'm missing something fundamental after setListAdapter() call May 12 23:52:52 y2E0: you still need to define a ListView that's either in your layout (in which setContentView() is called), or you need to add the ListView… no sense setting a ListAdapter if there's nothing to set it to May 12 23:53:10 y2E0: it's not automatic by merely defining a ListActivity May 12 23:53:52 yeah but its defined wait i pastebin the layout.xml May 12 23:54:55 pastecode.com/Gu May 12 23:54:59 http://pastecode.com/Gu May 12 23:55:44 does your adapter have anything in it? May 12 23:57:27 hm I'm calling im like this: new CustomAdapter( this, 1, list) May 12 23:57:58 where list is an ArrayList (CustomObject only holds public int id, which is set on construction in a for loop) May 12 23:58:21 [it's just for demonstration purposes. i guess before teaching I've to learn more :3 ) May 12 23:58:49 y2E0: well, I guess it depends on custom adapter… I'm assuming it's a class that extends BaseAdapter or something? May 12 23:58:59 ArrayAdapter May 12 23:59:47 y2E0: pastebin it, and I can look… but the main things are: does the list contain data? is it returning views? May 13 00:00:28 hang on i meant to github it anyway. May 13 00:08:12 https://yoshigreen@github.com/yoshigreen/viewHolder.git May 13 00:09:08 y2E0: your ViewHolder inner class should be static May 13 00:12:20 no effect May 13 00:12:50 no effect? May 13 00:12:54 what do you mean May 13 00:13:30 he isn't getting views to show up… y2E0: it wasn't meant to fix your problem May 13 00:13:41 ah May 13 00:13:45 so, I don't use array adapters… I always just extend BaseAdapter… but May 13 00:14:03 first, I think your ArrayAdapter needs to be of type CustomObject May 13 00:14:07 ah damn sorry. I'm so into my problem i just assumed i'm the center of the universe, xD May 13 00:14:24 it was about you, view holders should be static May 13 00:14:41 o,o May 13 00:15:56 ok so static and changing to "extends ArrayAdapter {" did no help either. May 13 00:16:39 i'm trying to modify an application and it's chocked full of "linear layout"s i tried removing all the linear layouts in the xml, and then changing the top level to a grid layout, and i get this: com.android.layoutlib.bridge.MockView cannot be cast to android.view.ViewGroup and everything is gone. May 13 00:17:09 how to get it where i can just move stuff around where i want it (buttons, text boxes, etc.) May 13 00:20:36 BaseAdapter was the spell I needed :) May 13 00:20:51 yeah, BaseAdapter is much better imo May 13 00:20:57 I was looking for the most "basic" one but got a lil bit spoiled away by the documentation, May 13 00:20:59 you're going to have some weird sideeffects from your events, btw May 13 00:21:54 like what? May 13 00:22:20 I could be wrong... May 13 00:24:48 btw it's not for me to work but to help answering this question on SO http://stackoverflow.com/questions/10567173/android-listview-custom-layout :) May 13 00:34:35 re May 13 00:41:42 anyone know of an SMS statistics app? something that will analyze all my SMS over the past [time period] and present some useful information May 13 00:41:51 like total sent, percentage breakdown by person, etc May 13 01:20:06 anyone know any good guides on extending layouts? May 13 01:20:15 i'm not new to development, but very new to android sdk May 13 01:20:38 i want to make a base layout (have the xml already), but have it extended by children that determine the content pane May 13 01:43:58 Hi could someone tell me in what units the android accelerometer calculates values? is it microtesla? May 13 01:48:01 app that checks your voice mail for you and can either play the message or display it as text? May 13 01:55:38 so finally thats how the "ListActivity quest" turned out: https://yoshigreen@github.com/yoshigreen/viewHolder.git May 13 01:56:22 nothing fancy just a little bit demonstrating usage of lists, holders, events etc. thanks a lot for the help! May 13 02:16:27 What is the convention behind prefixing variable names with an "m" ? May 13 02:19:08 hungarian notation May 13 02:20:05 g00s: lol .. no really May 13 02:20:27 hmm .. looks right May 13 02:20:59 g00s: so what does the "m" stand for ? May 13 02:21:08 member, i think May 13 02:21:10 member May 13 02:21:24 I see May 13 02:21:47 g00s: upfront: Thanks a lot May 13 02:23:50 I have a class MyLocationListener that implements LocationListener .. and I use it in my main activity by registering it with a locationManager through manager.requestLocationUpdates() ... I want to know how can I send my location updates to my main activity ? May 13 02:36:12 * g00s loves his eclipse + lion full screen plugin :) May 13 02:36:30 fullscreen plugin? May 13 02:37:05 help me. never found my way through all this plugin stuff. installing android sdk is still somewhat of an adventure for me :) May 13 02:41:09 y2E0: where did you get stuck ? May 13 02:41:32 nah just interesting in a full screen plugin. how can i try it? May 13 02:42:18 for lion - i just followed the directions here http://alblue.bandlem.com/2011/07/full-screen-support-for-eclipse-on-osx.html May 13 02:42:40 so you go to 'install new software' or whatever, and add http://github.bandlem.com/ as a website May 13 02:43:00 one thing though - esc takes it out of full screen mode, which i thought was weird May 13 02:43:11 but thats the way they designed it May 13 02:43:13 * g00s shrugs May 13 02:47:33 will try at work with our 24" or whatever. they're massive :) May 13 02:47:54 this helps a lot with my 15" monitor May 13 02:48:10 on my mbp May 13 02:48:26 hnm I run ubuntu and I admit eclipse is plain ugly here :C May 13 02:49:07 just the separting lines between different UI elements (toolbar, logcat, editor) are kinda bulky. not fun on a laptop :/ May 13 02:49:31 os x UI is much more friendly I think May 13 02:50:55 y2E0: when i used eclipse on a small ubuntu laptop, i used something called the gtk compact theme May 13 02:51:13 although, one might argue it helped eclipse - but could make everything else weird :) May 13 02:51:57 I simply don't use eclipse. May 13 02:52:09 * pragma- vomits rainbows. May 13 02:52:17 y2E0: there are a few of them; YMMV May 13 02:54:03 ron_frown: oi oi :) May 13 02:55:31 why did it helped eclipse? i'm running kde not sure bout gtk support but anway I think in near future I'll update my system to some other window manager. will see but ubuntu starts to feel to much like a beginner thing :) May 13 02:56:13 at the time, ubuntu / gnome came with a theme called clearlooks, and it had a lot of padding May 13 02:56:33 ah and now I see whats worst here: scrollbars. That's so f*ckng smart at OS X to just fade in the bars when needed. so helpful! May 13 02:57:36 yeah probably it was designed for different screens. though i never found installation of themes so easy with kde as well. or support was not at every program. usually it made everything worse (my experience) May 13 02:58:11 g00s oi May 13 02:59:17 ron_frown: do the changes to c# 5 look interesting ? i only have c# 4 books and stuff May 13 02:59:48 and i really dont know c# at all. if i like it, i may look at that xamarin stuff **** ENDING LOGGING AT Sun May 13 02:59:59 2012