**** BEGIN LOGGING AT Wed Feb 22 02:59:59 2012 Feb 22 03:00:00 t0mless: holy mother of god you're right Feb 22 03:00:07 i unplugged my android, mouse doesn't lag anymore Feb 22 03:00:14 plugged it back it, it lags again Feb 22 03:00:27 how could there be malware on my android? Feb 22 03:00:29 you have anything like the desktop sharing application open? Feb 22 03:00:29 i don't install any apps Feb 22 03:00:33 no Feb 22 03:00:49 maybe just bad drivers Feb 22 03:00:51 actually....scratch what i said before, my android _is_ in debug mode Feb 22 03:01:03 t0mless: just to be sure, is there anyway i could scan for a virus? Feb 22 03:01:13 there are android virus scanners in the market Feb 22 03:01:20 * ra4king searches market Feb 22 03:02:02 ehhh i don't know if i want to trust AVG Feb 22 03:02:05 i never liked it Feb 22 03:02:15 oh what the hell... Feb 22 03:02:57 t0mless: some peculiar behavior...abd jumps from 2 threads to 4 threads when i connect my android to my computer Feb 22 03:02:59 is this normal? Feb 22 03:03:04 adb.exe* Feb 22 03:04:15 no idea Feb 22 03:04:24 mine is sitting at 5 threads with no devices on Feb 22 03:04:55 t0mless: ok AVG said no threads found Feb 22 03:05:08 but it did recommend against keeping USB debugging on Feb 22 03:05:29 t0mless: with debugging off, system is back to normal Feb 22 03:05:36 and adb.exe is down to 2 Feb 22 03:05:38 threads Feb 22 03:06:01 something on your device is interfacing over adb Feb 22 03:06:15 t0mless: no clue what it could be Feb 22 03:06:57 I also have no clue, but pretty sure that's what's happening Feb 22 03:07:04 time to factory reset your device maybe Feb 22 03:07:22 :S Feb 22 03:13:02 can adw launcher source be compiled with eclipse? Feb 22 03:13:34 does it use the ndk? Feb 22 03:15:20 FFS 8th Eclipse crash of the day, this program is crap... Feb 22 03:16:39 optimusM is it even open source? Feb 22 03:17:12 Snwspeckle: Eclipse has never crashed for me Feb 22 03:17:15 you're doing something wrong :) Feb 22 03:17:34 Everyone says I am doing something wrong, its just always crashing on me.... Feb 22 03:17:43 I have the best hardware on the market also Feb 22 03:18:09 except for the OS Feb 22 03:18:13 can you be more specific than crashing? Feb 22 03:19:05 Like half the time I launch the emulator or debug it crashes, as well as just openeing a file... Feb 22 03:19:26 yea Feb 22 03:20:15 I can't seem to be able to find a link to their source... Feb 22 03:20:23 thats emulator problem Feb 22 03:20:34 i use my phone for developing not emulator Feb 22 03:20:41 Snwspeckle are you closing the emulator between launches? Feb 22 03:20:52 ill give you the link tomless Feb 22 03:21:01 Well my phone doesn't work either, everytime I go to debug, it timesout Feb 22 03:21:13 I have to unplug-replug the USB and then it works Feb 22 03:21:25 that's probably a driver issue Feb 22 03:21:45 yea thats what it sounds like is driver issues what are your computer specS? Feb 22 03:21:47 specs Feb 22 03:21:49 Everyone says it is but its not Feb 22 03:22:08 i7, ASUS Z68, 120GB OCZ SSD Feb 22 03:22:21 I have tried everything, its something with the software or something Feb 22 03:22:32 Maybe the motherboard is bad? Feb 22 03:22:38 possibly Feb 22 03:23:03 oh yea, didn't we suggest you reseat your ram and run a memtest overnight? Feb 22 03:23:06 like... last week Feb 22 03:24:00 https://github.com/AnderWeb/android_packages_apps_Launcher here you go Tomless Feb 22 03:24:02 Yes I ran it all and it was fine Feb 22 03:24:22 I updated the firmware on the SSD and that fixed the BSOD but this USB port is still broken so idk Feb 22 03:25:21 Snwspeckle: i have almost exactly specs: i7 2600k, Z68, 60GB SSD, 16GB RAM Feb 22 03:25:30 everything runs smoothly for me Feb 22 03:25:51 Its go to be my motherboard because I have tried all the USB 2.0 ports on the MB and none work Feb 22 03:26:02 I swear to god, everything I buy breaks. Pisses me off 24/7... Feb 22 03:26:36 make sure they're enabled in the bios Feb 22 03:26:41 and that you have all your MB drivers installed Feb 22 03:27:16 I am going to run the MC chipset again tomorrow and make sure that is all correct. Feb 22 03:27:35 Snwspeckle: well i have my android plugged into a USB 3.0 port Feb 22 03:27:35 what eclipse are you using? Feb 22 03:27:41 indigo? Feb 22 03:27:42 and I have a Gigabyte motherboard Feb 22 03:27:55 On the programming end, anyone have any idea how to add in a WebView with fragments, ra4king, mine is in the USB 3.0 port atm aswell lol Feb 22 03:28:18 idk, i don't work with Android directly Feb 22 03:28:23 I use this library called libGDX Feb 22 03:28:25 optimusM should be no reason why that won't compile with eclipse Feb 22 03:28:26 great for making games Feb 22 03:29:01 anyone wanna finish wiring my home theatre? :( Feb 22 03:29:25 a contractor? Feb 22 03:29:26 you gunna pay for a charter jet to get me to canada and back in time for work tomorrow? Feb 22 03:29:27 canadiancow|work: I <3 WIRES! Feb 22 03:29:35 :( Feb 22 03:29:44 im actually almost done Feb 22 03:29:45 taser fetish? Feb 22 03:29:48 :) Feb 22 03:29:52 the wires are laid out... i just need to strip them and plug em in Feb 22 03:29:56 for two speakers Feb 22 03:30:00 psh Feb 22 03:30:05 less than 5 mins Feb 22 03:30:08 srsly Feb 22 03:30:12 yo usay that Feb 22 03:30:12 but Feb 22 03:30:13 no Feb 22 03:30:17 canadian work ethic Feb 22 03:30:23 Word. Feb 22 03:30:34 ... Feb 22 03:30:41 http://i.imgur.com/SMxMq.gif Feb 22 03:30:41 damnit Feb 22 03:30:42 android doesn't have grep! Feb 22 03:30:44 JakeWharton: hahahahaha Feb 22 03:30:44 say the two guys in the channel ive actually helped today Feb 22 03:30:49 or in the past few days Feb 22 03:30:49 2 speakers = 4 wires Feb 22 03:31:03 JakeWharton: looks like that baby is having a heart attack :P Feb 22 03:31:37 gets funnier the more you watch it Feb 22 03:31:50 i whipped up an html page with it tiled that I set as people's backgrounds Feb 22 03:31:51 Can someone help me with converting this example into a WebView inside a fragment pleaseee - https://github.com/JakeWharton/ActionBarSherlock/blob/4.0-wip/samples/fragments/src/com/actionbarsherlock/sample/fragments/FragmentStackSupport.java Feb 22 03:32:10 public View onCreateView() { return new WebFragment(getActivity()); } Feb 22 03:32:44 lololol Feb 22 03:32:46 JakeWharton +1 Feb 22 03:32:51 er Feb 22 03:32:54 WebView Feb 22 03:33:14 But what about all the onCreate methods etc..' Feb 22 03:34:45 has anyone done theme for android? Feb 22 03:34:52 theming Feb 22 03:35:24 http://pastebin.com/76b07mt3 GAHHHHHHHHHH errors :( Feb 22 03:35:27 yes Feb 22 03:35:28 a lot Feb 22 03:35:58 Snwspeckle, that's an activity, not a fragment Feb 22 03:36:13 do you know how to change the primary color of text Feb 22 03:36:22 without getting force closes on any settings? Feb 22 03:36:30 So I need to write a seperate void for the WebView? Feb 22 03:37:07 where is your error:\ Feb 22 03:37:09 i think you need a tutorial or something Feb 22 03:37:09 you may be jumping too far ahead Feb 22 03:37:27 I have tried online but they are full of random crap lol Feb 22 03:37:38 what is the full error Feb 22 03:37:46 cause what you just pasted i dont see no error lol Feb 22 03:38:18 All I am trying to do is create a WebView inside this fragment region Feb 22 03:38:44 can you take a pic and paste it somewhere so i can see what your trying to do Feb 22 03:38:45 ? Feb 22 03:39:14 Yes 1 second Feb 22 03:39:24 wouldnt the webview be a sub child? Feb 22 03:39:44 like have a RelativeLayout then the webview inside the RelativeLayout? Feb 22 03:40:26 are you new to Android Deving? Feb 22 03:41:41 Yes, http://imgur.com/tkeA0 Feb 22 03:41:46 Thats what i am trying to do Feb 22 03:41:48 I* Feb 22 03:44:04 what do you have done so far? Feb 22 03:45:16 I have it working with the example but I am just a little confused on how to set the WebView to the whole region Feb 22 03:45:30 Currently, the example is just defining it to text Feb 22 03:45:52 like without all the francy screens? Feb 22 03:46:01 With the francy screens Feb 22 03:46:13 Should I just apply the WebView to the text id? Feb 22 03:46:50 so you want your app to look like what that screen looks like correct Feb 22 03:46:54 the image you sent me Feb 22 03:47:19 Yes but have the WebView content in the large red region which is the content region Feb 22 03:47:27 Currently it shows 1 string of text there Feb 22 03:47:38 just set the view content of that tab to a new webview.... Feb 22 03:47:59 so your webview isnt in the red region? Feb 22 03:48:14 No its not Feb 22 03:48:15 Are you using action bar tabs or a tab activity? Feb 22 03:48:46 it's a TabHost Feb 22 03:48:49 er Feb 22 03:48:51 TabWidget Feb 22 03:48:56 Yea that Feb 22 03:48:56 have you tried the hello tutorial? Feb 22 03:49:06 tutorials Feb 22 03:49:13 Yes i have tried it but its killling my brain to understand how to integrate it with this widget Feb 22 03:49:43 oh so your also trying to make a widget or a app like webview browsers? Feb 22 03:49:44 just set the tab's content to be that view Feb 22 03:49:58 webview* Feb 22 03:50:04 or a new activity with a webview Feb 22 03:50:18 Instead of the text? Feb 22 03:50:46 id do new activity Feb 22 03:50:48 Unless you want the text... Feb 22 03:51:03 and have that activity target the same xml for the webview Feb 22 03:51:10 no TabActivities Feb 22 03:51:14 kill it with FIRE Feb 22 03:52:22 and i like the ics feel of the tabs lol Feb 22 03:53:05 it's running on ICS... Feb 22 03:53:15 oh lol Feb 22 03:53:20 Cannot make a static reference to the non-static method findViewById(int) from the type Activity? Feb 22 03:53:57 why are you calling by Activity.findViewById().... Feb 22 03:54:16 Snwspeckle might want to step back and learn some basic java. Feb 22 03:54:22 Good lord I am confused as hell! lol I am trying to add the WebView to the onCreateview.. Feb 22 03:54:48 you on windows snwpeckle? Feb 22 03:54:55 Yes Feb 22 03:55:28 brb Feb 22 03:55:32 Ok Feb 22 03:58:41 Every email I get I cringe that it's going to be another bug filed on GitHub... Feb 22 04:01:25 JakeWharton, would you prefer to find out about them AFTER the release of 1.0? Feb 22 04:01:28 :-) Feb 22 04:01:37 JakeWharton, write a filter Feb 22 04:01:40 problem solved Feb 22 04:03:34 true, and true Feb 22 04:03:51 trying to pack Feb 22 04:03:56 WHO SAID IT WOULD TAKE ME FIVE MINUTES Feb 22 04:03:59 i've thrown away 300% more than i've packed Feb 22 04:03:59 because to you Feb 22 04:04:00 i say Feb 22 04:04:02 FUCK YOU Feb 22 04:04:09 that just speaks to your abilities if it took you longer Feb 22 04:04:12 speakers are now wired, but i have to strip and conncet it to the receiver Feb 22 04:04:14 :( Feb 22 04:04:37 canadiancow|work, fix ABS bugs Feb 22 04:04:46 ok Feb 22 04:04:47 if you come here Feb 22 04:04:50 and finish hooking up the speakers Feb 22 04:05:17 i'm going to file a bug 'Move to San Francisco' and set it as a blocker so I can just refer people to it Feb 22 04:05:45 is that next tues? Feb 22 04:05:54 departure is Feb 22 04:06:01 omg Feb 22 04:06:04 i just got a company email Feb 22 04:06:09 its the most hiliarious thing ever Feb 22 04:06:11 i want to share it :( Feb 22 04:06:18 ABS v4 FINAL is supposed to be in 14 days too Feb 22 04:06:28 two big bugs Feb 22 04:06:31 the other can F-off Feb 22 04:07:02 You could push the v4 release back a day and release it as a birthday gift to me :) Feb 22 04:07:16 nah it has to be the 7th Feb 22 04:07:22 JakeWharton clench em tight is all I can say Feb 22 04:07:23 Boo Feb 22 04:08:16 one more hour of packing then two hours of coding Feb 22 04:08:59 you find a place in SF yet JakeWharton? Feb 22 04:09:03 is there an android ndk channel? Feb 22 04:09:11 yep, nope, respectively Feb 22 04:09:24 You shipping all your shit out there? Feb 22 04:09:38 via moving company Feb 22 04:09:47 and is Square paying for it/ Feb 22 04:10:02 driving uhaul Feb 22 04:10:10 I can't find the styles for the diagonal background from here: http://developer.android.com/design/static/content/notifications_pattern_real_time_people.png Feb 22 04:10:12 Yikes Feb 22 04:10:18 oh god thats a long ass drive through the armpits of the united states Feb 22 04:10:20 My aunt did that, Kansas to Cali Feb 22 04:10:25 3 day cross-country beer drinking and driving marathon Feb 22 04:10:27 and trust me Feb 22 04:10:30 Does anyone know the XML setting for that background ^ ? Feb 22 04:10:30 hopefully not at the same time Feb 22 04:10:36 last uhaul I had was a serious death trap Feb 22 04:10:53 I shouldn't say uhaul because it's not a uhaul Feb 22 04:11:01 it's a knock off rental van? Feb 22 04:11:05 I just did the people-calling-android-droid thing Feb 22 04:11:06 penske or some shit Feb 22 04:11:06 good Feb 22 04:11:33 t0mless, basically Feb 22 04:11:40 does it have a CB?? Feb 22 04:11:44 haha Feb 22 04:11:44 no Feb 22 04:11:48 Damn Feb 22 04:11:53 Truckers are funny as hell Feb 22 04:12:01 they'll try and sell you naked pics of their wives/gfs Feb 22 04:12:07 I rented a diesel truck from ryder thinking diesel = power and fuel economy Feb 22 04:12:07 fucking hillarious Feb 22 04:12:20 disel is the way to go if hauling anything Feb 22 04:12:22 that mf would do exactly 64mph with pedal all the way to the floor Feb 22 04:12:28 diesel = looking like a douche at the pumps next to a big-rig Feb 22 04:12:36 lol Feb 22 04:12:41 disel is not meant to go fast Feb 22 04:12:47 no cruise control, so I jammed my foot on the gas and crammed up under the dash Feb 22 04:12:51 haha Feb 22 04:12:56 you should see my diesel truck Feb 22 04:13:15 disel is meant to have constant torque at all RPMs Feb 22 04:13:15 I fill up at the big rig station because I can pick up 40gal of fuel in like 2 minutes Feb 22 04:13:28 Does anyone know why I keep getting banned on this channel? Feb 22 04:13:35 Are you a jerk? Feb 22 04:13:41 I like, don't do anything, but when I try to talk it says I'm banned. Feb 22 04:13:49 register you rnick? Feb 22 04:13:50 wait... we let ron_frown stay so that can't be it Feb 22 04:13:50 no, it says you're not authenticated Feb 22 04:13:51 ZING Feb 22 04:13:53 Except maybe misuse commas... Feb 22 04:13:56 haha Feb 22 04:14:01 well Feb 22 04:14:08 my other nicks are registered Feb 22 04:14:11 When in doubt, add extra, commas. Feb 22 04:14:18 whats the ndk channel? Feb 22 04:14:23 #C++ Feb 22 04:14:25 let me take a guess Feb 22 04:14:28 android-ndk? Feb 22 04:14:32 welp Feb 22 04:14:33 not android-ndk Feb 22 04:14:34 you're a jerk Feb 22 04:14:37 :P Feb 22 04:14:38 at least theres nobody in there Feb 22 04:14:48 but like acutally Feb 22 04:14:50 this problem Feb 22 04:14:54 test Feb 22 04:14:57 WTF Feb 22 04:15:00 you're still identified Feb 22 04:15:05 it just said i was banned like 2 seconds ago Feb 22 04:15:09 no Feb 22 04:15:11 because you weren't identified Feb 22 04:15:15 it said you weren't identified Feb 22 04:15:21 it says some shit like "Can't change nicks while banned on a channel" Feb 22 04:15:36 [23:12:18] Error(435): oddu #android-dev Cannot change nickname while banned on channel Feb 22 04:15:39 but it's not banned as much as not identified and unregistered nicks aren't allowed to talk Feb 22 04:15:39 c++ is fine cept I'd like to find another windoing toolkit Feb 22 04:15:44 so it counts as a "ban" Feb 22 04:15:48 ugh Feb 22 04:15:50 neccesitas + qt works nicely Feb 22 04:15:54 #firstworldproblems Feb 22 04:15:59 infact I'd say its amazing how fast apps can be Feb 22 04:16:04 but big ass runtime has to be donwloaded Feb 22 04:17:10 ass-runtime? Feb 22 04:17:32 hvga is 320x480 amirite? Feb 22 04:18:01 I want an answer from hackbod/romain Feb 22 04:18:37 other than backwards compatibility. why must ui shit in android be so wonky Feb 22 04:18:46 KeLopez, that falls into the range, yes Feb 22 04:18:49 whats the deal with contexts Feb 22 04:18:50 ok Feb 22 04:21:09 I have to hope the Android team is thinking of a new activity stack in the next few major versions Feb 22 04:22:49 I dont mean to just bitch nonstop, I'd like to contribute, but i suspect the input android dev team takes... is bug fixes primarily Feb 22 04:25:48 give me a brand new stack built on Dart with DI and an event bus at the core with pre/post events :) Feb 22 04:31:14 how do I shot web Feb 22 04:31:16 (?) Feb 22 04:31:27 o_O Feb 22 04:31:28 how do I make an EditText's bigger Feb 22 04:31:34 EditText's text* Feb 22 04:31:45 on the main.xml layout Feb 22 04:31:52 android:textSize="40sp" Feb 22 04:32:06 ok Feb 22 04:34:12 :20:31:14:. ( KeLopez ) how do I shot web <-- point a shotgun at your monitor? Feb 22 04:34:19 maybe lol Feb 22 04:34:29 does normal tv not play out rear speakers? Feb 22 04:34:46 would depend on your tv Feb 22 04:34:54 and your source Feb 22 04:34:56 it would appear not Feb 22 04:35:01 basic analog cable Feb 22 04:35:04 ok Feb 22 04:35:06 but if i stream a downloaded show it does Feb 22 04:35:14 so how do I programatically add items to a ListView Feb 22 04:35:19 analog cable probably not Feb 22 04:35:26 now how the fuck do i test which one is rear left and which is rear right Feb 22 04:35:29 i wonder if my receiver has a test mode Feb 22 04:35:37 my reciver did Feb 22 04:35:45 downloading is illegal cow Feb 22 04:35:47 my reciever was also labeled.... Feb 22 04:36:24 JakeWharton, no it isnt Feb 22 04:36:28 you're downloading my message rigtht now Feb 22 04:36:43 lolz Feb 22 04:37:07 50% chance i hooked these up right Feb 22 04:37:08 come on baby Feb 22 04:37:14 more like 48% Feb 22 04:37:57 FUCK BALLS Feb 22 04:38:02 LOL Feb 22 04:38:03 like seriously Feb 22 04:38:11 Is your reciever not labeled? Feb 22 04:38:12 every time theres a 50% chance i did something rgiht Feb 22 04:38:14 i get it wrong Feb 22 04:38:16 EVERY time Feb 22 04:38:27 son of a cock Feb 22 04:38:37 daughter of a bull Feb 22 04:39:17 i'm pretty sure the entirety of my non-electronic life can fit in a 2' x 2' x 3' box Feb 22 04:39:35 Mine definitely cannot Feb 22 04:39:42 I have a lot of kitchen shit Feb 22 04:39:56 and books Feb 22 04:40:13 books, bikes, kitchen stuff... Feb 22 04:40:20 I don't even think all my clothes would fit in a 2'x2'x3' box... Feb 22 04:40:26 while my electronic life takes up two Feb 22 04:40:26 and a backpack Feb 22 04:40:26 and three small boxes Feb 22 04:40:28 i moved house recently, when i arrived in this country i had a backpack and a camera bag Feb 22 04:40:43 now it was a nightmare Feb 22 04:40:48 and i only moved around the corner Feb 22 04:40:58 I used to be able to fit it all in the back of my tacoma Feb 22 04:41:02 now it's like 3 trips Feb 22 04:41:14 time for a tundra Feb 22 04:41:21 Word Feb 22 04:41:27 Wish I could afford one Feb 22 04:42:01 queen size bed + my dresser + my bookcase is one full truck bed Feb 22 04:43:06 i didn't count dresser or TV in my estimates Feb 22 04:43:10 nor bed Feb 22 04:43:11 nor desk Feb 22 04:43:25 I meant more personal affects Feb 22 04:43:35 affects? Feb 22 04:43:39 halp! Feb 22 04:43:40 I bed I could fit all my books into one 2'x2'x3' box Feb 22 04:43:45 but it would be heavy as fuck Feb 22 04:43:52 how do I add a item to a ListView Feb 22 04:44:08 you using a custom adapter? Feb 22 04:44:08 kinda late but i really wanna test out this surround Feb 22 04:44:14 best buy still hasnt charged me for it :) Feb 22 04:44:23 nope t0mless Feb 22 04:44:33 what adapter are you using, ListAdapter? Feb 22 04:44:39 I don't know :c Feb 22 04:44:41 I'm a n0000000b Feb 22 04:44:44 .... Feb 22 04:44:49 xD Feb 22 04:44:52 you have to set your adapter... Feb 22 04:45:09 unless you did it in xml... can you specify entries in xml for a list view? Feb 22 04:45:34 looks like you can Feb 22 04:45:43 I mean, programatically Feb 22 04:45:52 aka at the touch of a button Feb 22 04:45:52 Well Feb 22 04:46:01 how is your list populated right now? Feb 22 04:46:46 it has nothing Feb 22 04:47:11 what are you trying to populate it with? Feb 22 04:47:21 integers Feb 22 04:48:28 ok.. that's a little weird... but you can use an ArrayAdapter for that Feb 22 04:48:41 ArrayAdapter Feb 22 04:48:52 then you can just use adapter.add(Integer) Feb 22 04:48:52 okay Feb 22 04:48:57 no I mean doubles Feb 22 04:49:02 values with decimals Feb 22 04:49:06 floats Feb 22 04:49:06 like 2,5 Feb 22 04:49:11 yeah Feb 22 04:49:11 better make it Triples to be safe Feb 22 04:49:17 lolz Feb 22 04:49:21 HomeRuns! Feb 22 04:49:59 ok Feb 22 04:50:02 still the same idea though Feb 22 04:50:34 because with an array adapter it will just populate a textview with the toString of the object in the array at the current position Feb 22 04:50:48 yep Feb 22 04:52:04 I understand the idea of a more versatile "widget platform" Feb 22 04:52:07 hmmm… Does anyone know if Fragments work well with the existing action bar tab implementation and what not? Feb 22 04:52:25 Like, I mean fragment ontop of a fragment ontop of a fragment Feb 22 04:52:37 inception type stuff… because i'm getting problems with the backstack and using fragments Feb 22 04:53:08 are you using addToBackStack on the fragment transaction? Feb 22 04:54:40 Yes, but that doesn't work so well when I switch tabs…. you know what i mean? Feb 22 04:55:02 Becuase lets say i'm on tab a and have a back stack… when i switch to tab b and hit the back button it shouldn't take me back to tab a… should it? Feb 22 04:58:23 mainly i'm wondering if i should hijack the back button and implement my own back stack on each tab... Feb 22 04:59:11 don't do that Feb 22 04:59:47 unless you are really, really careful Feb 22 04:59:57 good night Feb 22 05:00:17 Has anyone had their Admob fill rate plummet yesterday? Feb 22 05:00:44 Some guy on Twitter did...as did I...but I've been mucking with my ads Feb 22 05:03:08 "Syntax error on token(s), misplaced construct(s)" Feb 22 05:04:02 "Syntax error on token "double", Dimensions expected after this token" oops Feb 22 05:07:39 halp! Feb 22 05:19:02 halp? Feb 22 05:19:06 Hi there, is the nexus one a better phone if i want custom rome and support (than the desire? Feb 22 05:19:15 get a nexus s Feb 22 05:19:16 it's better Feb 22 05:19:46 KeLopez: i know it's better than the nexus one, but it's also a lot more expensive Feb 22 05:19:51 yep Feb 22 05:19:53 :P Feb 22 05:20:06 Can anyone tell me why my video ends up on the top left instead of centered? http://cl.ly/2Y3H1f1F3V0w2N1P2y1e Feb 22 05:20:09 Also, I just bought a non-functioning, but supposedly in mint physical conviction nexus one. I haven't received it yet, but it won't boot past the X boot logo. Just by knowing this, does it sound like software problem? This is my first android phone. I was hoping I could fix it with fast boot… Any tips? Feb 22 05:21:57 I'm using a RelativeLayout … thought that would work Feb 22 05:23:12 anyone? Feb 22 05:29:09 are there any widgets which aren't totally dependent on private shit? Feb 22 05:29:16 ridiculous Feb 22 05:43:57 What layout is the android:layout_width applied to for a view in your layout xml? Feb 22 05:44:06 The view's layout or the parent's layout? Feb 22 05:44:35 the view Feb 22 05:44:51 JakeWharton: So how do you specify the layout type for the view? Feb 22 05:45:03 JakeWharton: Does each view imply a specific type of layout? Feb 22 05:46:00 For instance, I can specify android:layout_gravity for a WebView element Feb 22 05:46:10 does that mean that WebView's all have linear layouts? Feb 22 05:46:32 uhh... Feb 22 05:46:43 because linear layouts are the only ones that allow you to set gravity Feb 22 05:46:48 layout_gravity specifies where the vew will be positioned in its parent Feb 22 05:47:04 JakeWharton: How do I set that programatically? Feb 22 05:47:09 layout params Feb 22 05:47:11 LinearLayout.LayoutParams Feb 22 05:47:25 linear layout is the only layout to use layout_weight Feb 22 05:47:41 JakeWharton: So if I want to create a view that is centered within it's parent, I have to set that view's layout params to be a LinearLayout? Feb 22 05:48:02 JakeWharton, t0mless This is what I was trying to do: http://cl.ly/2Y3H1f1F3V0w2N1P2y1e Feb 22 05:48:07 but the view ended up in the top left Feb 22 05:48:57 you're using RelativeLayout params on a framelayout Feb 22 05:50:01 t0mless: So the params that I supply to addView have to match the parent's layout params as defined in the layout xml file? Feb 22 05:50:24 Yea, if you're adding it to a RelativeLayout it will want RelativeLayout params Feb 22 05:50:37 if you're adding it to a frame layout, it wants FrameLayout params Feb 22 05:51:16 if you want to keep the frame layout Feb 22 05:51:27 use FrameLayout.LayoutParams and set the gravity Feb 22 05:51:29 t0mless: That worked. Thanks! Feb 22 05:58:04 Guys, I've been trying to find this texture for a while: http://i.imgur.com/9pIaX.png . Is it available with the Holo theme or do I need to make it myself? Feb 22 05:59:46 vladikoff it's just a pattern Feb 22 06:00:00 americans, how much salary do you guys get? Feb 22 06:00:00 look in frameworks/base/core/res/res/ Feb 22 06:00:00 Draw the lines and use a pattern to repeat them Feb 22 06:00:03 it'll be in there somewhere Feb 22 06:04:42 JakeWharton, found it! "notify_panel_notification_icon_bg.png" :) Feb 22 06:05:02 scellent Feb 22 06:05:07 excellent Feb 22 06:05:25 I averaged the 'e' and 'x' keys on that first try... Feb 22 06:05:58 JakeWharton: sexcelent! Feb 22 06:06:01 you know you meant sexcelent! Feb 22 06:06:11 Lol Feb 22 06:06:16 * SeligArkin bats at Leeds "My head! Out!" Feb 22 06:06:23 my a s d keys are all worn away so they're just blue blobs Feb 22 06:06:30 makes me wonder how this pattern will work on skins like Sense and stuff Feb 22 06:07:26 http://store.razerzone.com/store/razerusa/en_US/pd/productID.169417800/parentCategoryID.35156900/categoryId.54626400 I have that keyboard Feb 22 06:07:52 like 6 or 7 of my keys have worn away and are just little blue circles now Feb 22 06:09:41 where can i get jsr-330.jar? Feb 22 06:09:46 javax.inject? Feb 22 06:10:45 why the gc are running in such a high frequency of my app? Feb 22 06:10:57 found it Feb 22 06:11:02 how the hell do you people manage .jars manually Feb 22 06:11:02 ugh Feb 22 06:11:10 because you are allocating and releasing lots of objects CrazyWoods Feb 22 06:11:20 then what shall i do Feb 22 06:11:28 even specifying deps in project.properties and running something like android deps --sync wouldbe fine with me Feb 22 06:11:35 this libs/ folder thing is such crap Feb 22 06:14:35 NoorulIslaam, it's a large project how to know what cause the gc run? Feb 22 06:15:08 use ddms Feb 22 06:15:28 JakeWharton: you've been spoiled by maven :P Feb 22 06:15:35 seriously Feb 22 06:16:04 man up and deal with it! Feb 22 06:16:10 The bad part is Feb 22 06:16:14 i'm using both Feb 22 06:16:36 I have to write all the samples so that they can be opened in eclipse normally (with libs folder) and compiled via maven Feb 22 06:16:42 same with the library and plugins Feb 22 06:51:54 JakeWharton I think the spinner styles aren't quite working right Feb 22 06:52:24 the spinner text is black no matter what theme is selected in the demos Feb 22 06:54:34 any of you tried using resources in a library project? Feb 22 06:56:14 * t0mless points at JakeWharton Feb 22 06:56:17 he uses a lot of 'em Feb 22 07:03:29 Any Google employee here? Feb 22 07:03:42 meta-coder, Pretend not; why? Feb 22 07:08:46 Gambit-, the Hertz doodle is displaying worldwide today, right? Feb 22 07:09:21 those things usually go out global, yeah. Feb 22 07:09:30 The doodle on Google.com today is taking 80% of CPU! wasting lots energy! Then my CPU fan is going to use more energy to cool the CPU. Do you have any idea how many BILLIONS of Joules it is going to waste today! Are you crazy Google??? Efforts of http://www.blackle.com/ in vain! Feb 22 07:09:48 it doesn't seem to be doing that for mine. Feb 22 07:09:54 I have it on my screen and it's still running idle. Feb 22 07:11:09 8-9% for me Feb 22 07:11:28 i use P4, with Linux 2.6.18 Feb 22 07:11:57 only 3% in chrome Feb 22 07:12:07 Gambit-, alex_PP CPU specs? Feb 22 07:12:23 macbook pro 5,2 running windows 7 Feb 22 07:12:31 Intel(R) Core(TM)2 Duo CPU P8600 @ 2.40GHz Feb 22 07:12:39 Is anyone familiar with a way to get your ViewFlipper to move partially with onScroll, to give the user more of a notice that the view can flip? Feb 22 07:12:59 Knossos, try a ViewPager Feb 22 07:13:10 * Knossos scurries to google Feb 22 07:14:11 Ah ha, thanks alex_PP. Exactly what I was looking for. Feb 22 07:25:21 meta-coder: ... you must have something ancient, then Feb 22 07:25:35 wait, P4, as in Pentium 4? Feb 22 07:26:38 So... how are you supposed to embed string and other language resourcs in a library project? Feb 22 07:27:36 didn't library projects support resources? Feb 22 07:27:41 p_l, yes Pentium 4 (1.8 Ghz) Feb 22 07:27:53 yeah, I thought it did too Feb 22 07:28:07 p_l, not all people have fast processors. Feb 22 07:28:45 * Gambit- points his friend at http://developer.android.com/resources/samples/TicTacToeLib/index.html and lets him figure it out a bit. Feb 22 07:28:53 meta-coder: I'm not talking about fast, you automatically lose any right to complain about power efficiency by using a NetBurst cpu Feb 22 07:33:21 p_l, what's wrong with NetBurst microarchitecture? It uses the same power irrespective of whether it's processing? Feb 22 07:33:22 oh that's right Feb 22 07:33:30 ahh I remember the netburst days.. my computer room was so warm and cozy.. :P Feb 22 07:33:32 libraries only work with resources when you compile them in a separate apk Feb 22 07:33:38 they don't/can't be packaged up independently. Feb 22 07:34:42 meta-coder: When intel finally fessed up that it was braindamaged, they described it as "we would need to mount nuclear powerplants on motherboards to take this cpu further" Feb 22 07:35:40 ok why the fuck isn't git playing nice Feb 22 07:35:57 my old Tualatin Celeron (Pentium III based) was faster at 1.5GHz than Pentium 4 at 1.8GHz and used probably half the power Feb 22 07:36:26 oh no!! Feb 22 07:36:36 p_l: half? it must be a very inefficient cpu then :P Feb 22 07:37:03 Zider: overclocked ;) Feb 22 07:37:13 normally ran cold at 1.1GHz Feb 22 07:37:31 I flipped a switch and it ran at 1.5 ;) Feb 22 07:39:00 hehe Feb 22 07:39:28 I remember running a dual-P3 system.. ah memories Feb 22 07:39:35 then I am not even thinking of overclocking this Pentium 4! never ever! Feb 22 07:40:15 it got upgraded to a Prescott 3GHz, and all my lamps suddenly were very dim Feb 22 07:40:33 meta-coder: given that it's probably a desktop system... grab amd a8 Feb 22 07:41:03 they are quite affordable and have better efficiency in terms of performance/power :) Feb 22 07:44:52 What about Sandy Bridge or the newer Ivy Bridge? Feb 22 07:45:52 meta-coder: if you fit with prices, sure Feb 22 07:46:05 anything would be an improvement in every way Feb 22 07:46:19 * p_l looks more into a8 due to having a laptop, and thus not being able to switch graphics at will Feb 22 07:46:56 p_l, switching graphics?? Feb 22 07:47:51 meta-coder: you know, change the graphics card. On a desktop I can go out and buy a different card, in a laptop not really Feb 22 07:48:42 p_l, oh. and also adding & removing hard disks Feb 22 07:48:49 and the price of a sensible intel-based laptop with non-intel graphics (and preferably no "optimus" and similar) is quite higher than price of an AMD a8 Feb 22 07:49:07 disks are easy Feb 22 07:51:00 changing the gpu requires changing the motherboard or whole laptop Feb 22 08:03:04 are there some one here are good at DDMS tracking? Feb 22 08:16:10 is there a way to tell a horizontal linearlayout to automatically put elements that don't fit in the current line into the next line? Feb 22 08:17:55 ecraven: don't think so, but you can write your own layout that works that way.. or grab one of many available on the internet Feb 22 08:18:01 in what way would that be horizontal? :) Feb 22 08:18:18 Leeds: it would be mainly horizontal, but with vertical spilling :) Feb 22 08:18:27 appel1: any hints what this might be called? Feb 22 08:18:43 HorizontalAndABitVerticalLayout Feb 22 08:19:00 ecraven: I've seen some call it flowlayout Feb 22 08:47:19 http://dpaste.com/706687/, any idea? Feb 22 08:49:20 um, lots of memory use happening? any other ideas you're expecting? Feb 22 08:49:24 this seems to be random garbage collector debug output Feb 22 08:50:09 24 lines of it, but 3 of them look different Feb 22 08:51:39 zeeZ: good analysis Feb 22 08:52:01 CrazyWoods: if you want us to help you reduce your GC load - posting a random bit of log isn't going to help us help you :) Feb 22 08:53:17 bah Feb 22 08:53:39 mediaplayer is reporting a duration of N on a file, but only plays until N-(something small) and doesn't invoke the completion handler Feb 22 08:54:11 Leeds, then what shall i do Feb 22 08:54:24 CrazyWoods: post some code and ask nicely? Feb 22 08:54:33 Leeds, ok Feb 22 08:56:08 Leads, http://dpaste.com/706690/ Feb 22 08:56:16 Leeds, sorry Feb 22 08:57:41 CrazyWoods: you're taking the piss, right? Feb 22 09:00:01 Leeds, yes Feb 22 09:00:20 but the head report Point are allocate Feb 22 09:00:51 yes, you are taking the piss? Feb 22 09:01:34 what does that even mean? Feb 22 09:02:06 Leeds, http://dpaste.com/706691/ Feb 22 09:02:24 Leeds, if that's true what shall i do using cache? Feb 22 09:03:32 Zider: messing us around, joking, trying to waste our time - British/Commonwealth slang Feb 22 09:03:39 ah Feb 22 09:03:51 trolling :) Feb 22 09:03:58 yeah, pretty much Feb 22 09:22:37 I'm lost! I have a String, let's say "foo:" Feb 22 09:23:16 It might be "foo:bar:car" too, but let's start with just "foo:". I'm trying to do "foo:".split(":"), but it returns an empty array. :( Feb 22 09:23:34 Shouldn't I be getting String[] { "foo" } Feb 22 09:23:35 ? Feb 22 09:27:43 I think you should, yes... can you post your code? Feb 22 09:28:58 Leeds: logcat: http://codepad.org/phwX1K8L || code: http://codepad.org/ejl7nN1Q Feb 22 09:29:25 Or wait, is it my -1 that's killing me? Feb 22 09:29:55 you should be getting, String[] { "foo", "" } Feb 22 09:29:56 imo Feb 22 09:30:14 Right, isn't it that way it works? Feb 22 09:30:26 I got that last time I "exploded" a string Feb 22 09:30:30 so that was why I had -1 Feb 22 09:30:36 (to keep the empty part away) Feb 22 09:30:36 that's how I would expect it to work Feb 22 09:30:51 But it seems like I only get String[] { "foo" } Feb 22 09:31:05 as -1 would make the loop complete itself on/before the first lap Feb 22 09:31:09 trailing empties are trimmed according tot he docs Feb 22 09:31:47 That's odd Feb 22 09:31:58 I could've sworn that I had a trailing empty that became an array Feb 22 09:32:01 I'm having trouble with user interface bugs if an app starts while the screen is locked. Feb 22 09:32:01 last time I used it Feb 22 09:32:36 I have a case where an app needs to get started based on certain conditions even when the screen is locked, and it'll vibrate to tell the user that something's happening Feb 22 09:33:17 when I unlock the screen, the device will make the UI look all weird, as the app will have somehow started in portrait mode or something similar to portrait, even though the app *should* be fixed to landscape only Feb 22 09:33:27 any ideas on what might be causing this? Feb 22 09:37:37 Dragonene: in some cases an app can get started in portrait even if fixed to landscape and you have to handle that. but when your app is in the foreground it should switch over to landscape. Feb 22 09:39:16 right. appel1: are you appel from jgo? :) Feb 22 09:39:24 (and #lwjgl) Feb 22 09:39:51 Dragonene: no, that's someone else :) Feb 22 09:40:02 okay. :) Feb 22 09:40:15 Hm, okay. The problem is, it doesn't seem to immediately switch over to landscape Feb 22 09:40:28 it seems to do so at an arbitrary point sometime after unlocking Feb 22 09:41:40 hello Feb 22 09:41:49 Dragonene: after a few seconds or is it much longer than that? Feb 22 09:42:03 who can help me with coding ... especially with -pop up menus- Feb 22 09:42:30 Spend 5 seconds to read topic Feb 22 09:43:13 well... it seems to me (though I could be wrong) that it switches to landscape after the lock screen is fully disengaged, but that the application gets its unpaused notification before that Feb 22 09:43:25 meaning I don't know how I should detect when the screen is no longed locked Feb 22 09:43:34 Mikellip ... which channel would i have to go to then ??? Feb 22 09:43:39 Dragonene: yeah, that's because "your" orientation is different from the lock screens Feb 22 09:45:05 Anyone knows a good replacement camcorder app? Feb 22 09:45:50 appel1: right... But how do I detect it so that I can solve it? :/ Feb 22 09:45:51 Surfer2010: that question shows that you didn't take the 5 seconds to read the topic :) Feb 22 09:46:16 lov: Hello world! Feb 22 09:47:02 Mikellip: or that he misunderstood it. Feb 22 09:47:20 i did read it Feb 22 09:47:42 Surfer2010: I think what Mikellip means is that you should ask specific questions, not say "who can help me" Feb 22 09:47:48 there is a website with documentations ... which i read yesturday ... a ton of them ... and it didn't help me to find an answer Feb 22 09:47:51 The last link in the topic isn't working :( Feb 22 09:47:53 that way anybody who knows the answer can respond Feb 22 09:48:03 Surfer2010: "Ask your question, don't ask to ask" is part of the topic Feb 22 09:48:10 okay sry :) Feb 22 09:48:30 how do you implement a pop-up menu Feb 22 09:48:43 Mikellip: I understood that, because I'm used to channels like this. But it's not clear what part of the topic you were referring to, really Feb 22 09:48:46 :) Feb 22 09:49:01 Dragonene: either make a dummy portrait layout or configure your activity to handle orientation changes yourself I think Feb 22 09:49:29 appel1: Didn't you help me out with the Service-thinking yesterday? Feb 22 09:49:59 n20: yes, don't know if I helped though.. Feb 22 09:50:11 I think it's already configured that way, appel1. Not sure what level I should be working on (I should add that I'm using Unity, so I have a little less control than I might have otherwise) Feb 22 09:50:12 appel1: I think you did, you got me on the right track. :-D Feb 22 09:50:28 Surfer2010: have you read the documentation of menues? There's many types of menues. Specifically there's the "PopupMenu" but it's not very useful because of it's high API requirement. Check out context menues (registerForContextMenu(view)) that gives you a context menu on longclick Feb 22 09:50:46 appel1: Just thought I'd say thank you, and let you know that I'm now using AlarmManager and recreate the *session* in my onResume() if needed. :-D Feb 22 09:50:47 Surfer2010: http://developer.android.com/guide/topics/ui/menus.html Feb 22 09:50:54 n20: cool! Feb 22 09:50:59 Good morning Feb 22 09:51:07 appel1: Seems to be working so far, as I haven't had to login since... yesterday. Feb 22 09:51:25 appel1: Even though my .split() wasn't working, the session was still intact by the time I got that working. :) Feb 22 09:51:32 how does androids in-app billing work if you have multiple users. Would they all have to use the same account? Feb 22 09:51:38 how would i add text colors to these? Feb 22 09:51:41 http://pastebin.com/0aZVLYAg Feb 22 09:52:26 jiduvah: Not sure I follow, but that might just be a case of "I woke up not too long ago" Feb 22 09:53:54 Dragonene: don't know about unity but here's the docs on how to handle configuration changes (like screen orientation yourself) http://developer.android.com/guide/topics/resources/runtime-changes.html Feb 22 09:54:51 n20: my app allows different users to log on. But as far as i understand in app billing it is linked to the google account on the phone. Is it possible to use different in-app billing accounts for different users? Feb 22 09:55:11 right, cheers. Feb 22 09:55:25 I think I've been there before to no avail, but I'll have another look :) Feb 22 09:56:16 jiduvah: Ah, I see your problem. You could always download the data from your server upon each login, connecting an "account" to an e-mail address. :-) Feb 22 09:57:01 jiduvah: Otherwise your user would have to log out of their current Google Account and login with the other one... I think, but I'm not 100% sure Feb 22 09:57:52 n20: yeah as I thought. I think it is a silly idea to have different users on one phone, so I will try and convince them to not do it in the meeting later Feb 22 09:58:11 who would want to put there bank details in somebody else's phone anyways Feb 22 09:58:52 jiduvah: I wouldn't. ;-) Feb 22 09:59:35 jiduvah: and most expect in-app purchases to be connected to their Google account Feb 22 10:00:22 appel1: yeah that was my first question. How would I handle different users Feb 22 10:01:10 the project is a bit of a fuck up all over. We had a graphic designer how has never used Android design how it would work Feb 22 10:01:32 then i have to somehow make an app from the shit I have been given Feb 22 10:02:52 can a framework-res.apk be compiled with eclipse? Feb 22 10:03:05 framework-res open source Feb 22 10:03:12 #android-root Feb 22 10:03:14 probably Feb 22 10:04:24 jiduvah: android market does support multiple Google accounts now, but I've only ever seen in-app billing working with the primary (first) account on a device Feb 22 10:04:39 is their a way to set text colors in java format and not xml? Feb 22 10:04:42 appel1: cheers Feb 22 10:05:37 optimusM: textView.setTextColor(android.R.color.black) Feb 22 10:05:55 ok ill try that Feb 22 10:12:00 how would i add it to this http://pastebin.com/HEaaQ8zN Feb 22 10:15:31 add it where? Feb 22 10:16:06 optimusM: that's not a textview Feb 22 10:16:20 menu colors are based on device theme or application theme Feb 22 10:16:42 im trying to change the text colors Feb 22 10:16:57 http://stackoverflow.com/questions/3519277/how-to-change-the-text-color-of-menu-item-in-android Feb 22 10:16:58 like would that all be framework-res.apk making the colors? Feb 22 10:17:43 just what i was looking for lol Feb 22 10:18:22 http://code.google.com/p/android/issues/detail?id=4441#c6 Feb 22 10:18:34 yes, I think so Feb 22 10:20:29 http://pastebin.com/2gmj1q91 Feb 22 10:20:39 is this what it would look like? Feb 22 10:23:40 optimusM: you should do the hello world tutorial Feb 22 10:23:54 i have Feb 22 10:24:28 im customizing adw to my liking and changing text colors on it is kinda confusing Feb 22 10:24:57 optimusM: you are setting a TextView to null and then casting it to a TextView? Feb 22 10:25:12 thats what it asked lol Feb 22 10:25:13 And expect it to impact the style of a TextView? Feb 22 10:25:42 i just wanna change the colors of everything that is primary and secondary Feb 22 10:26:01 the text colors that is Feb 22 10:28:07 is there a way to update scrollview and horizontalscrollview size after i scale image in imageview with setImageMatrix ? Feb 22 10:28:23 would like to have zoom... Feb 22 10:47:07 hey Feb 22 10:47:21 I'm trying to upload a new version of my app to the android market Feb 22 10:47:32 "The server could not process your apk. Try again" Feb 22 10:47:40 i have no idea what's wrong Feb 22 10:47:41 help? Feb 22 10:48:37 I'm using eclipse's "export signed apk", btw Feb 22 10:48:43 worked fine until now Feb 22 10:49:06 any other reason why it couldn't process it? Feb 22 10:49:33 Hi Guys, i just started developing android apps for google tv, now i want to figure out how to call another activity from another, i read it would work like this Intent intent = new Intent(this, PairingActivity.class); but my eclipse always thinks there is a n error.... Feb 22 10:49:52 Have you actually tried to "try again"? Feb 22 10:49:56 t0mless, nope, that's all it says Feb 22 10:50:04 and ndim, I've tried about ten times now Feb 22 10:50:06 could just be an upload issue Feb 22 10:50:18 are you sure you signed it with the same keystore and alias> Feb 22 10:50:23 kazoooka: and what does the error say? Feb 22 10:50:33 t0mless, yeah, those are the same Feb 22 10:51:14 kazoooka you're calling that from inside an onlick listener aren't you Feb 22 10:51:42 @appel1 : The constructor new Intent(new Handler(){}, Class) is undefined Feb 22 10:51:57 from inside a handler?? Feb 22 10:52:02 and @t0mless i call it from within a handleMessage Feb 22 10:52:02 yeah Feb 22 10:52:08 oook Feb 22 10:52:25 you need to use OuterClass.this to say you're passing in the Activity object Feb 22 10:53:02 though if that Handler is for a new thread Feb 22 10:53:07 it might explode on you Feb 22 10:53:31 not sure if startActivity() counts as a UI operation Feb 22 10:53:39 but I imagine it does Feb 22 10:53:45 mmhm ok, OuterClass cannot be resolved... how could i handle that properly? Feb 22 10:53:53 kazoooka: if you look at the docs you'll notice that the compiler error is correct and there is no ctor for Intent that takes a Handler as first argument. Feb 22 10:53:53 Well Feb 22 10:53:58 OuterClass is the name of your outer class Feb 22 10:54:05 since you didn't post code I was being generic Feb 22 10:54:09 ah ok :D thx Feb 22 10:54:24 :-D Feb 22 10:54:32 any other ideas regarding the market issue? Feb 22 10:54:45 hi Feb 22 10:54:45 that works, ill code further and see if my programm starts to explode - thx t0mless Feb 22 10:54:51 &appel1 Feb 22 10:54:53 wait an hour for the market servers to be less stupid? Feb 22 10:55:41 mots: using the same certificate you did before? Feb 22 10:56:01 Why are activities in Android so isolated? Are there ways to show a new screen without starting a new activity? Feb 22 10:56:02 mots: make sure you are using the one you first signed your apk with Feb 22 10:56:17 that's the keystore and I already asked him that Feb 22 10:56:18 :p Feb 22 10:56:22 is there some way to pass aritrary data to an intent? Feb 22 10:56:23 Ah Feb 22 10:56:45 oh extras? Feb 22 10:56:53 thoradam use fragments Feb 22 10:57:50 mots you didn't do something silly like not increment your versionCode or change the package did you? Feb 22 10:58:16 t0mless: Thank you, but I have to support 2.3 Feb 22 10:58:28 fragements are backported Feb 22 10:58:35 in the compatability library Feb 22 10:58:45 Oh, nice! Feb 22 10:58:47 allll the way to 2.1 I believe Feb 22 10:58:56 <_Lewellyn> look at the newsreader sample. backported to api version 4. Feb 22 10:59:24 Awesome, thanks Feb 22 10:59:31 how do i add adb to my path on windows? Feb 22 10:59:52 <_Lewellyn> thoradam: for whatever reason, the only version of newsreader that worked for me was on the web. lemme find it for you. Feb 22 11:00:04 AT&T carrier billing must suck Feb 22 11:00:22 I've had 3 app purchases fail because of carrier billing declines Feb 22 11:00:23 <_Lewellyn> http://developer.android.com/resources/samples/newsreader/index.html i'm 99% sure that did fragments. Feb 22 11:00:30 <_Lewellyn> (i was looking at it for the action bar) Feb 22 11:00:40 Mikellip, t0mless, same certificate, same package name, increased versionCode Feb 22 11:00:53 _Lewellyn: Thanks! Feb 22 11:01:02 optimusM add the tools and platform-tools to your path Feb 22 11:01:10 how lol Feb 22 11:01:15 what do i click on Feb 22 11:01:18 <_Lewellyn> thoradam: no problem. i only remembered where it was because it was a pain to find a version that didn't have random fail in eclipse. :/ Feb 22 11:01:25 you don't know how to change environment variables? Feb 22 11:01:44 optimusM: control panel > system and security > system > advanced system settings > environment variables Feb 22 11:02:06 ty Feb 22 11:02:13 now what one do i add it too? Feb 22 11:02:26 optimusM: are you trolling? Feb 22 11:02:27 oh Path lol Feb 22 11:02:31 optimusM: path Feb 22 11:02:35 sorry Feb 22 11:03:09 they're seperated by ; Feb 22 11:03:24 no im not trolling Feb 22 11:03:26 http://pastie.org/private/csqig6dqnritoot2zkcpng Feb 22 11:03:32 this is my manifest, if that helps Feb 22 11:03:39 I need some help with an issue that is driving me crazy... I'm trying to create a RadioButton programmatically, but I can't make the background image to render (you know: there is the button image and the background image inherited from View) on a real device ? It works on the android emulator though. Here is a link to a picture so you can see the problem: http://img29.imageshack.us/img29/5282/radiobutton.png Feb 22 11:04:01 optimusM and adb is in the platform-tools directory Feb 22 11:04:12 that i do know lol Feb 22 11:04:45 xroberx post your codes Feb 22 11:04:55 via pastebin plz Feb 22 11:05:14 blarg Feb 22 11:05:17 3am I should be sleeping Feb 22 11:05:42 t0mless: the relevant part is just the setBackgroundDrawable() method Feb 22 11:05:52 When I replace/add an fragment, and also add it to the backStack.. then, when the fragment that was added is displayed, and I press the back button, it flickers a lot.. using compatability-package :/ Feb 22 11:06:20 t0mless: i *guess* there is nothing wrong with the code because it works on platform version on the android emulator Feb 22 11:06:22 also, it fades out/in perfectly when I switch to the added fragment (works properly). THe problem is when I press back Feb 22 11:06:48 what resource are you using for your background? Feb 22 11:06:53 t0mless: s/platform version/all platform versions/ Feb 22 11:07:02 is anyone else having problems with apk uploads today? Feb 22 11:07:27 t0mless: I've tried with a simple BitmapDrawable, and with a StateListDrawable, both methods work on the emulator, but not on a real device Feb 22 11:08:04 are you trying to just use java and not xml/png files? Feb 22 11:08:23 optimusM: I'd suggest you use Eclipse if you're not, and follow installation steps in the developer guide, and then do the beginner tutorials again (they are both good and helpful to start with) Feb 22 11:08:23 t0mless: the tint you see in the picture is a ColorDrawable(Color.rgb(66, 33, 33, 33)) Feb 22 11:08:34 t0mless: yes, java code Feb 22 11:08:49 im sick and really tired lol Feb 22 11:08:59 this is why im acting this way and i do apologize Feb 22 11:09:21 t0mless: the thing is the button (not the background) doesn't seem to dissapear on a real device using android.R.color.transparent, and setButtonDrawable(null) doesn't work with java code Feb 22 11:10:22 wait... you're trying to get the button to disappear? Feb 22 11:10:33 t0mless: In xml one uses android:button="@null" and that works correctly Feb 22 11:11:09 t0mless: yeah, I'm trying to make the button dissapear so I can overlay some text on the background statelistdrawable, something which I had already accomplished with xml Feb 22 11:13:37 t0mless: If only i could see the code that is used to load the button from xml... But I've no idea where to look at Feb 22 11:13:53 LayoutInflater probably Feb 22 11:14:07 hmm i have imageview inside horizontalscrollview inside scrollview inside framelayout... while scrollview works, horizontalscrollview doesnt. any ideas? :( Feb 22 11:14:15 t0mless: the code is hosted on github, isn't it ? Feb 22 11:14:32 yup Feb 22 11:14:44 ok, i'll take a look, thanks Feb 22 11:24:32 An unexpected error occurred. Please try again later. Feb 22 11:24:35 is what it says now Feb 22 11:24:42 seems like an issue on their side? Feb 22 11:27:02 I'm doing something, but not sure it's in the good way... I have a custom adapter in its own class file, it contain a setOnClickListener changing a variable in the main activity, and it's called from the main activity, knowing that, how should I refresh my adapter once the variable is changed ? Feb 22 11:27:14 I mean change the adapter and refresh the view Feb 22 11:49:59 is it possible to record audio in a jni lib? Feb 22 11:52:59 Ge0rG: why? Feb 22 11:54:05 Hi does the maps api key differ from OS to OS? Feb 22 11:54:11 Rrjois: no Feb 22 11:54:17 Rrjois: they are unrelated Feb 22 11:54:29 storkme: I have a native lib to decode AFSK which I need for my ham radio app. Currently I'm recording in java code, pushing it to the native code and getting back the results. however, this causes a permanent 20% cpu load on my g2 Feb 22 11:54:57 didn't OpenSL include recording support? Feb 22 11:55:05 p_l: But my map dosen show up. Jus grey tiles. I hve given Internet permission. Feb 22 11:55:37 i've done the same Ge0rG, didn;t think it was too much of a problem in my case since they are really short audio clips (speech input) Feb 22 11:55:40 p_l: is OpenSL supported on android devices? Feb 22 11:55:56 but i imagine it'd be possible.. maybe take a look at the native code for AudioRecorder and see how it does it? Feb 22 11:56:17 storkme: I'm sure I'll fail at some permissions in that case Feb 22 11:56:28 Ge0rG: only on recent enough OS, I think Feb 22 11:56:52 so I'll go the long way. Feb 22 11:57:24 i'm not sure you would Feb 22 11:57:51 i thought the c libraries were accessible (but undocumented and liable to change) Feb 22 11:59:58 storkme: ok, thanks. I'll have a look Feb 22 12:00:51 maybe I should just port the crazy demodulation code from C to java without unterstanding it. Feb 22 12:02:43 why port it from c to java? your current approach sounds very sensible to me Feb 22 12:02:53 (maybe slightly biased because I'm doing the same thing :p) Feb 22 12:05:09 hi hooo Feb 22 12:05:10 t0mless, yeah that's been fixed Feb 22 12:05:11 sort of Feb 22 12:05:15 hi ho Feb 22 12:05:15 Spinner's suck ass Feb 22 12:05:17 its off to work i go Feb 22 12:05:21 spinners are dumb Feb 22 12:08:21 good morning wharton Feb 22 12:47:51 how can I refresh my activity adapter/display after a variable has been changed from an setOnClickListener in an external class ? Feb 22 12:50:10 Hi all...I'm having problems with Android 2.1: Feb 22 12:50:26 Hi all...My company use 802.1x Wireless on WPA2-Enterprise with PEAP MSChapV2 and I'm trying to connect our company's Samsung Galaxy Tab (on Android 2.1) to the Wireless Enterprise APs but I can't the Galaxy Tab to connect the Wireless AP. I always get this: COnnecting --> Authenticating --> (and immediately) Disconnected. This happens to all 30x Galaxy Tab. Why is this happening? Feb 22 12:50:48 http://pastebin.com/TiM6VXjp Feb 22 12:59:10 hi!! does anybody know where can i find some good android tutos? Feb 22 12:59:44 try the android developer site Feb 22 13:01:19 Hi guys, I am interested in developing some NFC application for Android, but my phone does not have any NFC chip inside, may I use Moneto miniSD adapter (http://www.moneto.me/) to bring NFC capability to my phone? Feb 22 13:02:02 jay_gridley: yes and no. technically, you will gain NFC in the phone, but it won't support the android NFC API Feb 22 13:03:44 jay_gridley: if you are planning something big, you can ask the people behind moneto for an SDK Feb 22 13:04:29 GeOrG: and is there any other way? any other NFC adapter? Feb 22 13:04:58 hey guys im getting No address associated with hostname when i try to connect to a url i have permissiosn set up - any ideas? Feb 22 13:06:07 jay_gridley: for using the android sdk, you will need a phone with built-in nfc. Feb 22 13:07:33 is there any working example how to have scrollview + horizontalscrollview and actually have both scrollbars always visible? :) Feb 22 13:07:34 GeOrG: understood, thanks a lot Feb 22 13:11:36 oh i had it in wrong place Feb 22 13:11:46 is there any really simple xml plugins for android to make parsing easier? Feb 22 13:14:06 what problems are yuo having wiht parsing Feb 22 13:16:56 Anyone in here? Feb 22 13:17:30 no Feb 22 13:18:22 Except for you? Feb 22 13:21:36 no Feb 22 13:21:38 eh Feb 22 13:21:38 yes Feb 22 13:23:45 Any ideas on why remotecontrolclient won't work on this android stock music player? Feb 22 13:33:00 Can I choose which Android version to upgrade to if I'm using Samsung Kies to perform the upgrade? Feb 22 13:33:44 You can upgrade to whatever is available from Samsung. Feb 22 13:35:29 you mean I can't choose? Feb 22 13:35:59 You are bound to what Samsung makes available, so no, you cannot Feb 22 13:41:20 let's say i need to create a datastructure at application start and it needs to be accessed from several activities. normally i would use the singleton pattern for this.. Feb 22 13:41:48 but i'm new to android development and my searches on the web confused me a bit. Feb 22 13:42:23 what is the canonical android way of doing this? Feb 22 13:43:08 the data structure is rather leightweight, but creating it is I/O intensive (data on the external storage).. so recreating it over and over is not an options Feb 22 13:50:26 oh ok, it seems subclassing Application is the way to go.. Feb 22 13:58:49 When I'm doing git init https:....... for the android source, whate do I use with -b to get android 2.3.3 source? Feb 22 14:03:34 Anyone know of a way to identify which Activity is being started, from Application.onStart() ? Feb 22 14:04:04 why do you need to do that Feb 22 14:04:26 I do some init stuff in SplashScreen, but if my app is backgrounded and killed (but still in LRU), opening it causes it to go directly to the last activity (skipping the init steps) Feb 22 14:05:05 why dont you just do the init stuff if everything is not init'ed? Feb 22 14:05:27 I was hoping to avoid doing that checking in every activity Feb 22 14:05:37 making changes/publishing on android market apps seems a bit shifty today :-/ Feb 22 14:05:46 is there even an application onstart? Feb 22 14:06:01 sorry, onCreate() Feb 22 14:06:02 mrenouf: if your app depends on some prep work being done, it probably behooves you to create a subclass of activity that does that checking in onCreate, and then subclass that. Feb 22 14:06:30 noooo Feb 22 14:06:43 oh god. permutation explosion Feb 22 14:06:54 how so? Feb 22 14:06:58 I already have sets of subclassed activities for other reasons Feb 22 14:07:03 ah. Feb 22 14:07:12 I'd have to add another N classes Feb 22 14:07:17 well, not necessarily. Feb 22 14:07:30 create some helper class that does the checking, let your subclass of activity mostly just use that helper Feb 22 14:07:36 let your other subclasses of activities reference that helper Feb 22 14:07:39 idk Feb 22 14:07:50 right, thats simple. Was hoping to avoid having to check in each activity Feb 22 14:07:55 there's no pretty way to do this, there's no magic "onBeforeNewActivity" method in Application. Feb 22 14:08:19 well, registerActivityLifecycleCallbacks would be nice, but 14+ Feb 22 14:08:30 theres so many people with dirty heads foreheads today Feb 22 14:08:30 wtf Feb 22 14:08:38 maybe Jake has some crazy ideas Feb 22 14:08:45 mikedg-givesbada: stop working out of a subway tunnel Feb 22 14:09:20 Hi, i am getting the following error when using JNI library Caused by: java.lang.UnsatisfiedLinkError: swig_module_init Feb 22 14:09:23 what causes it Feb 22 14:09:40 ? Feb 22 14:09:41 you drank too much too quickly Feb 22 14:10:07 ven0m: JNI can't find that method. Feb 22 14:10:17 ven0m, you're missing the native library, or a method doesn't match Feb 22 14:10:22 ven0m: look further back in your logcat output, for messages from dalvikvm when attempting to load the library. Feb 22 14:10:52 Oh. you are right Feb 22 14:10:53 02-21 07:56:52.540: WARN/dalvikvm(7244): No implementation found for native Lorg/pjsip/pjsua/pjsuaJNI;.swig_module_init ()V Feb 22 14:11:17 i think the problem is with the method name Feb 22 14:11:32 or should it be pjsuaJNI;. ? Feb 22 14:12:00 what is your method name? Feb 22 14:12:06 did you use javah to generate? Feb 22 14:13:07 i used swig to create the wrapper Feb 22 14:13:10 if thats what you mean Feb 22 14:14:53 ven0m: in your C code, post generated or whatever after you've run swig, is there an actual swig_module_init that's registered with JNI? Feb 22 14:15:19 or is the function name named in the older form of org_pjsip_pjsua_pjsuaJNI_swig_module_init(...) or something? Feb 22 14:16:01 I have absolutely no idea how SWIG works. Feb 22 14:16:24 The typical path is to use javah on java files which have "native" methods, which then generates a .h file to use. Feb 22 14:16:44 alternately, to register all of the mappings in whatever function it is that gets called whtn the lib is loaded by the jvm Feb 22 14:17:38 The thing is - the C code isnt mine Feb 22 14:17:46 its actually a wrapper of PJSIP library Feb 22 14:20:17 lov in the JNI (java) file, i see a call for a method swig_module_init(); Feb 22 14:20:34 and above that line, there is the following line: private final static native void swig_module_init(); Feb 22 14:22:49 anyone used Simple simple.sourceforge.net for android xml parsing Feb 22 14:27:37 ven0m: right, so, you need to make sure that your .so actually has something that can use that. Feb 22 14:27:41 that's what the error means. Feb 22 14:27:50 you have a native method, and it's not actually matching up with anything in your .so Feb 22 14:36:00 i'm still not really sure how this works.. if you're doing some sort of async processing (not with an asynctask) and you want to change stuff on the ui thread when your other thread finishes, what's the *proper* way of doing it? use a Handler with some empty messages and a couple of MSG_CODE_XXX constants defined? Feb 22 14:36:22 storkme: yeah, use a Handler, or use runOnUiThread Feb 22 14:36:54 runOnUiThread seems like it'd be slower because of more inner classes, or is that just nonsensical trash? Feb 22 14:37:00 (it's certainly not as nice looking) Feb 22 14:39:23 storkme: it's totally up to you. Feb 22 14:39:28 a handler will probably be simplest. Feb 22 14:39:32 fair enough Feb 22 14:39:38 cheers Feb 22 14:52:24 anyone have any experince creating heatmaps? Feb 22 14:53:02 so.. if you have a dialog, you can make touching outside of it exit. But, on a phone with actionbar list navigation, when you open the list it opens a dialog that presents the list elements... can you make _that_ dialog do this? Feb 22 14:54:51 * abaratican pokes JakeWharton with an uglystick. Feb 22 14:55:00 :o Feb 22 14:55:04 not the uglystick Feb 22 14:57:36 [09:52:25] anyone have any experince creating heatmaps? Feb 22 14:57:47 make an open source library :) Feb 22 14:57:55 me? xD Feb 22 14:58:06 * Jug6ernaut wants to avoid that Feb 22 14:58:21 hi guys i've a problem with my developing, actually I would to make appears and disappears some ImageView like in the front of the K2000 car. So I use the setVisibility(View.VISIBLE) or INVISIBLE with my ImageView and everything is in FOR loop … but it doesn't work… do you know why? Feb 22 14:58:22 What kind of heatmap? Feb 22 14:58:34 Map mymap; Feb 22 14:58:59 isn't there any? Feb 22 14:59:02 guigui22: paste the code Feb 22 14:59:11 http://en.wikipedia.org/wiki/Heat_map kind Feb 22 14:59:34 http://code.google.com/p/mapex/ Feb 22 15:00:03 lampe0 = (ImageView) main.findViewById(R.id.lampe0); Feb 22 15:00:03 lampe1 = (ImageView) main.findViewById(R.id.lampe1); Feb 22 15:00:03 lampe2 = (ImageView) main.findViewById(R.id.lampe2); Feb 22 15:00:03 lampe3 = (ImageView) main.findViewById(R.id.lampe3); Feb 22 15:00:04 for (int i = 0; i < 30; i++) { Feb 22 15:00:04 try { Feb 22 15:00:05 if (i % 4 == 0) { Feb 22 15:00:06 System.out.println("algo chenillard : " + tab[0] + "true"); Feb 22 15:00:08 lampe0.setVisibility(View.VISIBLE); Feb 22 15:00:08 lampe2.setVisibility(View.INVISIBLE); Feb 22 15:00:09 no Feb 22 15:00:09 System.out.println("algo chenillard : " + tab[2] + "flase"); Feb 22 15:00:09 no Feb 22 15:00:10 Feb 22 15:00:10 lov Feb 22 15:00:11 lov Feb 22 15:00:11 Feb 22 15:00:11 you're the coolest person ever Feb 22 15:00:11 lov Feb 22 15:00:12 } Feb 22 15:00:13 if (i % 4 == 1) { Feb 22 15:00:13 what Feb 22 15:00:13 System.out.println("algo chenillard : " + tab[1] + "true"); Feb 22 15:00:14 lampe1.setVisibility(View.VISIBLE); Feb 22 15:00:15 lampe3.setVisibility(View.INVISIBLE); Feb 22 15:00:16 System.out.println("algo chenillard : " + tab[3] + "flase"); Feb 22 15:00:16 romainguy Feb 22 15:00:17 Feb 22 15:00:17 the Feb 22 15:00:17 Feb 22 15:00:18 } Feb 22 15:00:18 evancharlton Feb 22 15:00:19 if (i % 4 == 2) { Feb 22 15:00:19 System.out.println("algo chenillard : " + tab[2] + "true"); Feb 22 15:00:20 COOLEST EVER Feb 22 15:00:20 michaelnovakjr Feb 22 15:00:20 lampe2.setVisibility(View.VISIBLE); Feb 22 15:00:21 lampe0.setVisibility(View.INVISIBLE); Feb 22 15:00:21 System.out.println("algo chenillard : " + tab[0] + "flase"); Feb 22 15:00:22 Feb 22 15:00:22 hack Feb 22 15:00:23 Feb 22 15:00:30 i added him to my ignore list Feb 22 15:00:31 le boulet.... Feb 22 15:00:33 ./kick guigui22 please! Feb 22 15:00:34 woah Feb 22 15:00:38 I meant :D Feb 22 15:00:40 pastebin? Feb 22 15:00:49 lov evancharlton michaelnovakjr Feb 22 15:00:55 guigui22: http://pastebin.com/ Feb 22 15:00:56 this is DashCC fault. Blame him Feb 22 15:01:01 Look at this manpage! Feb 22 15:01:05 * abaratican copies to clipboard. Feb 22 15:01:14 It is, I thought he knew what I mean. :-) Feb 22 15:01:28 ugh Feb 22 15:01:47 lov: you're getting slow, old man. Feb 22 15:01:56 lol Feb 22 15:01:59 omg im gone for like a second and this channel exploded or something Feb 22 15:02:05 better late than never Feb 22 15:02:11 abaratican: sorry that I don't literally spend all day watching irc Feb 22 15:02:17 yhpark that might work actually thanks :D Feb 22 15:02:25 lies. pure lies. Feb 22 15:02:29 <3 lov Feb 22 15:02:36 :) Feb 22 15:02:37 love lov? Feb 22 15:02:46 Less than three lov. Feb 22 15:03:22 I scrotum you too Feb 22 15:03:22 shame i dont kno whow to unignore someone Feb 22 15:03:47 ok google needs to be less stupid with the market dev console Feb 22 15:03:57 i need to be able to access dev features for certain apps Feb 22 15:03:58 but not all apps Feb 22 15:04:06 and i dont need to be able to change prices Feb 22 15:04:58 is there any detriment for having access with all apps? Feb 22 15:06:06 can you assign developers to a market account?? Feb 22 15:06:06 if you work in an organization with a lot of apps, you don't want everyone to be able to access everything Feb 22 15:06:12 but you DO want developers to be able to look at stacktraces Feb 22 15:06:35 hi sorry for my code i didn't know past bin now it's ok i will use it Feb 22 15:06:58 and have access to the LVL stuff Feb 22 15:07:00 i need our public key Feb 22 15:07:04 i need to add my email to the test Feb 22 15:07:10 and i need to be able to change the test response Feb 22 15:07:22 does anybody know why this doesn't work? http://pastebin.com/hJX76uDK Feb 22 15:07:33 how is this not part of the market yet Feb 22 15:08:32 guigui22: you're probably blocking the UI thread. Feb 22 15:08:42 guigui22: consider using an asynctask and/or handlers. Feb 22 15:08:55 i % 4 == 3 ??? Feb 22 15:09:00 guigui22: considering that you haven't told us what doesn't actually work.... Feb 22 15:09:27 when do you expect all those to be true Feb 22 15:09:34 i would that my ImageView become Visible and Invisible Feb 22 15:09:54 hah i still have guigui22 ignored and i dont know how to unignore :) Feb 22 15:09:58 In order to use *.so files in armeabi-v7a, should i have appropriate *.mk file for them? Feb 22 15:10:02 but when i run the code my ImageView stay invisible Feb 22 15:10:12 10:08:38 < lov> guigui22: you're probably blocking the UI thread. Feb 22 15:10:13 10:08:48 < lov> guigui22: consider using an asynctask and/or handlers. Feb 22 15:10:23 those visibility changes won't happen until you return from there Feb 22 15:10:42 until i return what? Feb 22 15:11:26 canadiancow|work: I don't know how to ignore :p Feb 22 15:11:55 From your method, guigui22 Feb 22 15:12:37 but how can i make it works? Feb 22 15:12:45 16:10 10:08:38 < lov> guigui22: you're probably blocking the UI thread. Feb 22 15:12:45 16:10 10:08:48 < lov> guigui22: consider using an asynctask and/or handlers. Feb 22 15:13:09 what is an asynctask? Feb 22 15:13:24 you know google ? Feb 22 15:13:24 A class which executes tasks asynchronously Feb 22 15:13:33 guigui22: this code is in onCreate, right? onCreate runs on the UI thread. This is the same thread that does the drawing. Feb 22 15:13:44 guigui22: you need to sleep on a background thread. Feb 22 15:13:45 yes it is Feb 22 15:13:50 ok Feb 22 15:14:09 Use this http://developer.android.com/reference/android/os/AsyncTask.html and this http://developer.android.com/reference/android/os/Handler.html Feb 22 15:14:27 Have your asynctask's background method send messages to your handler telling it to set the views to visible/invisible as necessary Feb 22 15:14:34 ok i'm gonna read it thanks Feb 22 15:14:35 and let your asynctask's background method do the sleeping. Feb 22 15:14:46 ok Feb 22 15:15:00 In order to use *.so files in armeabi-v7a, should i have appropriate *.mk file for them? Feb 22 15:15:50 ven0m: as long as the files are in /libs/armeabi-v7a in your app, it's fine. Feb 22 15:16:28 I am still trying to resolve the previous problem i had Feb 22 15:16:39 could it be that the libraries are not being loaded for some reason? Feb 22 15:17:00 I have both libs/armeabi and /libs-armeabi-v7n Feb 22 15:17:14 and an appropriate *.so file in each one of them Feb 22 15:17:27 People on Twitter are talking about their Admob fill rate plummeting as of 24 or so hours ago Feb 22 15:18:13 canadiancow|work: does guigui22 still need the boot? Feb 22 15:18:19 no Feb 22 15:18:21 k Feb 22 15:18:22 lol Feb 22 15:18:32 no idea actually, he's been on ignore since i pinged you Feb 22 15:18:37 so maybe :) Feb 22 15:19:14 he seems to be in control now Feb 22 15:19:17 lov, could this be the problem? Feb 22 15:19:28 no everything is ok ;) I''m reading some document on handler and asynctask ;) thanks Feb 22 15:19:53 holy bitch Feb 22 15:19:59 the licensing code is garbage Feb 22 15:20:02 unused imports all around Feb 22 15:20:12 no indentation Feb 22 15:20:14 lol good to see this room isn't annoying Feb 22 15:20:24 indentation fix is one keypress away. Feb 22 15:20:33 * This file is auto-generated. DO NOT MODIFY. Feb 22 15:20:46 unnecessary casts Feb 22 15:21:23 ven0m: wrong Feb 22 15:21:32 ven0m: /libs/armeabi and /libs/armeabi-v7a Feb 22 15:21:38 that's what your android project structure should have Feb 22 15:21:50 where /libs is in the same place as /res, etc Feb 22 15:22:07 thats exactly what i have Feb 22 15:23:12 * The_Coolest slaps ven0m around a bit with a Wall Clock Feb 22 15:23:37 havent had that done to me in a while ;) Feb 22 15:23:40 you alive! Feb 22 15:23:52 :] Feb 22 15:24:16 10:17:06 < ven0m> I have both libs/armeabi and /libs-armeabi-v7n Feb 22 15:24:20 which is it? Feb 22 15:24:30 /libs-armeabi-v7n or /libs/armeabi-v7a ? Feb 22 15:24:39 there's 2 differences there. Feb 22 15:24:39 a Feb 22 15:24:40 b7a Feb 22 15:24:43 v7a* Feb 22 15:24:54 is it /libs-armeabi-... or /libs/armeabi-... Feb 22 15:25:01 ven0m what are you up to? Feb 22 15:25:18 - or / Feb 22 15:25:41 What is the difference? i read somewhere that armeabi runs on all device,but the later has more features Feb 22 15:25:46 i might be mistaken Feb 22 15:25:57 The_Coolest - building a PJSIP client for android Feb 22 15:25:59 ... Feb 22 15:26:10 how would one center a linear layout? Feb 22 15:26:10 :O Feb 22 15:26:13 is it /libs-armeabi-... or /libs/armeabi-... Feb 22 15:26:29 is it /libs - armeabi or /libs / armeabi Feb 22 15:26:33 dash or slash? Feb 22 15:26:35 i have both libs/ Feb 22 15:26:39 ok Feb 22 15:26:45 because you wrote libs-armeabi-v7n Feb 22 15:26:51 my bad Feb 22 15:27:04 go to /data/data/your.package.name/libs, verify that all the libs are there that you expect. Feb 22 15:27:33 Android prior to 3.0 or 4.0 had a bug where if you have /libs/armeabi and /libs/armeabi-v7a, anything in armeabi but not armeabi-v7a wouldn't be extracted Feb 22 15:29:01 First of all, i see that the content of both libraries is identical Feb 22 15:30:22 should i check the former in Eclipse it self? Feb 22 15:32:27 ven0m: anyhoo, does dalvikvm actually load the libs? Feb 22 15:32:34 ven0m: do they actually contain the appropriate methods to initialize? Feb 22 15:32:39 can you look at the symbols to check? Feb 22 15:33:13 How can i know if it loads the libraries? Feb 22 15:34:08 ven0m: look at the logcat output for the dalvikvm tag. See if it emits any warnings when it attempts to load your library. Feb 22 15:34:14 adb logcat dalvikvm:V *:F Feb 22 15:34:24 or *:E if your device isn't horrifically spamming Feb 22 15:34:26 *spammy Feb 22 15:35:46 is there anyone here who's using ABS 3.x with Ant? Feb 22 15:35:50 ven0m: I'm selling my company do you want to buy it Feb 22 15:37:19 02-21 09:33:18.271: DEBUG/AndroidRuntime(7739): CheckJNI is OFF Feb 22 15:37:55 does it have anything to do with htis? Feb 22 15:37:58 anyone ever launched Dialer app ? I've tried ACTION_DIAL, ACTION_NEW_OUTGOING_CALL etc Feb 22 15:38:06 oh nm. its debugger Feb 22 15:38:13 but always there is exception "no activity found to handle intent" Feb 22 15:38:35 Intent callIntent = new Intent(Intent.ACTION_NEW_OUTGOING_CALL); Feb 22 15:38:38 startActivity(callIntent); Feb 22 15:38:43 doesn't work. Feb 22 15:40:28 aolin: if you're doing an implicit intent, you need a category Feb 22 15:40:29 iirc Feb 22 15:40:37 and/or data Feb 22 15:40:45 ven0m: no Feb 22 15:40:50 lov: I tried with data callIntent.setData(Uri.parse(getTask().getAddressMobilePhone())); Feb 22 15:41:16 all of the examples in the internets seems to be broken like this Feb 22 15:41:27 lov, other than that - i dont see anything being done, related to so etc Feb 22 15:41:46 ven0m: pastebin the logcat output, if you don't mind, let me take a look. Feb 22 15:41:59 gladly, thank you Feb 22 15:45:24 lov one sec please Feb 22 15:47:38 lov, http://pastebin.com/XFZtmrge Feb 22 15:48:42 oh, uh Feb 22 15:48:45 did you call System.loadLibrary? Feb 22 15:50:04 no Feb 22 15:51:18 should i call it uppon those *.so files? Feb 22 15:51:53 kind of vital, that Feb 22 15:52:22 ... Feb 22 15:52:25 hey ven0m Feb 22 15:52:29 please read up on what JNI is and how it works >_< Feb 22 15:52:48 (yes, you must actually load libraries before you can call functions that exist within them) Feb 22 15:54:18 i thought this was neccessary since SWIG created java erapper for the CPP library Feb 22 15:54:20 sec lemme check Feb 22 15:54:53 but this might be it, since i do notice that it throws exactly same exception Feb 22 15:55:28 >_< Feb 22 15:55:34 well check the Java wrapper that SWIG generates. Feb 22 15:55:43 if it's not calling System.loadLibrary it really needs to. Feb 22 15:56:51 Awesome Feb 22 15:56:53 looks like its solved Feb 22 15:57:02 02-21 09:52:46.851: DEBUG/Zygote(67): Process 7987 terminated by signal (11) Feb 22 15:57:54 whats a typical xhdpi screensize? Feb 22 15:58:59 lov, here's what i get now Feb 22 16:00:08 http://pastebin.com/6dq1AgPy Feb 22 16:00:11 ven0m: hell if I know why you're getting SIGWhatever that is Feb 22 16:00:48 ven0m: congratulations, you get to use gdb to figure out why you're crashing at the native layer Feb 22 16:00:51 glhf I'm off to a meeting Feb 22 16:01:06 Anyways, thank you very much Feb 22 16:04:45 hello i have a question. I am currently looking at the depricated Contacts Service Provider source code. But i can't find any code that actually gets the data out of the database - can someone help me how this "getting the data" is acutally done in a ContentProvider ?? Feb 22 16:05:01 sorry i dont mean ServiceProvider but ContentProvider :) Feb 22 16:05:22 i've been using WebViews to give my images pinch zoom… would i be better off with a Mapview? Feb 22 16:06:01 what? Feb 22 16:06:17 Gaz`: galaxy nexus is 1280x720, xhdpi Feb 22 16:06:25 pigsnowball: do you know what a MapView is? Feb 22 16:07:10 hey i tried using asynctask like that http://pastebin.com/DgrrGQXq but i've an error Feb 22 16:07:18 is my code correct?? Feb 22 16:07:50 canadiancow|work: yeah it displays and image, it has pinch toom, i'm guessing it has tiling support, but i don't need zoom levels Feb 22 16:08:10 you cannto disable the map tiles though Feb 22 16:08:11 displays and image and haz pinch zoom Feb 22 16:08:21 and the pinch zoom doesnt zoom overlays Feb 22 16:08:34 really, i can't just set the parameters up to single tile? Feb 22 16:08:46 i thought i overheard someone talk about it from google Feb 22 16:08:50 no Feb 22 16:09:03 there are very few people as pissed with the MapView as i am Feb 22 16:09:04 so webview is the better bet.. Feb 22 16:09:12 and thats because i know exactly what it can (and cannot) do Feb 22 16:09:20 hello i have a question. I am currently looking at the depricated Contacts Content Provider source code. But i can't find any code that actually gets the data out of the database - can someone help me how this "getting the data" is acutally done in a ContentProvider ?? Feb 22 16:09:22 guigui22: dude, read the error message in logcat. Spoiler alert: no, you're not using asynctask correctly. Feb 22 16:09:50 LOL Feb 22 16:09:51 LOLOL Feb 22 16:09:51 atcually i've a NullPointerException… Feb 22 16:09:56 why is that even in a fucking asynctask Feb 22 16:10:29 asynctasks are for simple little things that need to be done in the background Feb 22 16:10:30 guigui22: a general rule of thumb is that if your code crashes, your code isn't correct Feb 22 16:10:36 fucking with views needs to be on the main thread Feb 22 16:10:55 calling four O(1) methods is not worth the overhead of a new thread Feb 22 16:10:59 actually i've a thread.sleep Feb 22 16:11:08 o.O Feb 22 16:11:10 why? Feb 22 16:11:16 I remember seeeing outsourced code that made a new thread, slept N seconds, then sent a message on a handler... instead of just sendMessageDelayed. Feb 22 16:11:38 cause for my application i want to make Image appears an dissapears Feb 22 16:11:54 and* Feb 22 16:12:05 abaratican: ugh, that pattern is used all over the place Feb 22 16:12:35 abaratican: even though there's an article specifically talking about how stupid it is: http://developer.android.com/resources/articles/timed-ui-updates.html Feb 22 16:13:08 exist a virtual joistick api to android game dev? Feb 22 16:13:24 evancharlton: sadly that was the least of the problems in that outsourcer's code. :( Feb 22 16:13:35 abaratican: it usually is Feb 22 16:20:16 hi all Feb 22 16:20:27 looking for how to obtain ota_from_target_files Feb 22 16:20:40 its supposed to be in tools/release-tools/ Feb 22 16:20:46 but i have no release-tools folder Feb 22 16:22:57 what options do I have if I need to draw a triangle? Feb 22 16:23:04 basically I'm trying to create a popup balloon Feb 22 16:23:15 the triangle is the bottom base of the balloon Feb 22 16:23:36 the ballon itself is a simple rounded-corner textview Feb 22 16:32:58 http://www.ubuntu.com/devices/android <--- i so wish :p Feb 22 16:33:25 How would one figure out which views in the current activity have ids declared in the xml files? Feb 22 16:33:43 Does anyone know why I can't read the socket? Read always return 0. http://pastebin.com/w6DSWQ9m Feb 22 16:34:02 marklar: that sounds like you're doing something you shouldn't be doing. What are you trying to accomplish? Feb 22 16:35:42 miha: ubuntse Feb 22 16:35:42 evancharlton: I'm working on a framework similar to app inventor. I need a way to get references to views for components that will be managed by a service Feb 22 16:36:02 components need to live over multiple activities, and their ui piece will come and go Feb 22 16:36:02 a service is managing your views? Feb 22 16:36:06 no Feb 22 16:36:09 managing the components Feb 22 16:36:12 lov: i use ubuntu on desktop. ubuntu+android would be killer for me. debian + android would do as well :) Feb 22 16:36:40 marklar: well you can loop over all the views (recursing to its children) and check for getId() == NO_ID Feb 22 16:36:51 when will be ubuntu + android testable ? Feb 22 16:36:59 Estragon: ask in ##ubuntu Feb 22 16:37:07 or #ubuntu; whatever their channel is Feb 22 16:37:16 evancharlton: thanks, thought views had generated ids even if you didn't declare them Feb 22 16:37:28 marklar: nope ;) Feb 22 16:37:47 They do, it's -1 :p Feb 22 16:37:59 good point :) Feb 22 16:38:08 aka View.NO_ID Feb 22 16:39:57 lov: i actually teased #ubuntu with ubuntu+android mix quite some time ago :) back then nobody wanted to comment on it :) Feb 22 16:41:16 miha: I was referring to their goatse-esque icon Feb 22 16:41:46 Hey guys quick quesiton Feb 22 16:41:57 is the Galaxy Tab still the best tablet for android around? Feb 22 16:42:00 lov: "Ubuntu and Android share the same kernel, running at the same time, accessing data and applications" i remember saying this would be cool :) Feb 22 16:42:02 miha: Personally I'm a little skeptical about the use case they present. Plug the phone in, it's ubuntu. Remove it, it's android. What are you supposed to actually do with the phone aside from using it as a tiny filesystem? Feb 22 16:42:28 lov: well, there could be simple X server for android... and ssh Feb 22 16:42:45 .... and? Feb 22 16:42:47 lov: have phone or tablet for ultraportable test web server? Feb 22 16:42:48 what'd be the point? Feb 22 16:42:52 o_O Feb 22 16:42:55 you can run a web server on android Feb 22 16:43:10 storkme: but i'm much more comfortable with debian/ubuntu? Feb 22 16:43:19 Give me a usecase that doesn't boil down to "I can carry around a tiny linux laptop" Feb 22 16:43:31 lov: i can use openoffice? Feb 22 16:43:32 ;) Feb 22 16:43:37 or.. TeX Feb 22 16:43:39 >_< Feb 22 16:43:59 lov: well windows 8 main sale point will be "tablet with real Office" Feb 22 16:44:02 miha: A) arm build required, B) godawful slow Feb 22 16:44:21 * lov shrugs Feb 22 16:44:27 :p Feb 22 16:44:28 I guess I'll take the wait and see approach Feb 22 16:45:23 sounds a bit gimmicky Feb 22 16:45:41 anyone? thoughts? best tablet? Feb 22 16:45:56 lov: this is my problem too. I have the bionic; it's not as good as the ubuntu port but it's the same idea Feb 22 16:46:13 lov: It's "a real PC" for some definition of real pc, but requires so much external hardware to be useful Feb 22 16:46:17 transformer prime Feb 22 16:46:38 lov: so it fails at being a desktop, it fails at being a laptop (since if I'm going to carry a laptop shell with me, I'll just carry a real laptop) Feb 22 16:48:25 thanks storkme Feb 22 16:48:28 i'll buy it Feb 22 16:48:34 Does anyone know why I can't read the socket? Read always return 0. http://pastebin.com/w6DSWQ9m Feb 22 16:49:12 i'm tempted to buy one but they don't seem to be available in the uk anywhere Feb 22 16:49:24 buuuut i might wait for mwc 2012 to finish Feb 22 16:49:39 theres always something better in the works ... Feb 22 16:49:40 it's only next week after all Feb 22 16:50:33 oh I thought that was another tablet some sort of convention Feb 22 16:52:59 lfamorim: I'd recommend doing bulk reads to/from the socket buffer instead of 1 byte at a time, but that's an aside. Feb 22 16:53:09 lfamorim: I need more information than "Read always returns 0" Feb 22 16:53:36 lfamorim: are you possibly timing out? How long between your first read attempt and the return? Feb 22 16:53:47 lfamorim: does read block, or does it opportunistically scan? Feb 22 16:53:52 lov, I't is a nonblocking socket Feb 22 16:54:25 lfamorim: .... Feb 22 16:54:32 ok so you're reading 0 and there are 0 bytes available. Feb 22 16:54:38 awesome, I think I figured out why it's returning 0? Feb 22 16:54:53 lov, exactaly Feb 22 16:55:01 so, uh, what's the problem? Feb 22 16:55:07 ive noticed that calling overridePendingTransition(int enterAnim, int exitAnim) properly shows the enterAnim when going from Activity A to Activity B but when going from Activity B to A by pressing the back button, the default animation is used instead of the supplied exitAnim. Is this supposed to happen? Feb 22 16:55:12 I'm testing with netcat. $ Nc-l-p 9090, and what I write and send by pressing enter should go back, no? Feb 22 16:56:32 lfamorim: as long as the device connects to your computer properly, yeah, that should be fine. Feb 22 16:56:43 lfamorim: you could always use tcpdump or wireshark and see if anything is actually being sent... Feb 22 16:56:52 hello i have a question. I am currently looking at the depricated Contacts Content Provider source code. But i can't find any code that actually gets the data out of the database - can someone help me how this "getting the data" is acutally done in a ContentProvider ?? Feb 22 16:56:54 lov, good idea Feb 22 16:57:00 lfamorim: you might not actually be flushing the content from nc Feb 22 16:57:26 lov, yeh, thats can be the problem Feb 22 17:00:39 lov, no, that was sended =/ Feb 22 17:00:48 15:00:16.842310 IP 192.168.1.100.9090 > 192.168.1.101.57931: Flags [P.], seq 493276194:493276199, ack 1809976818, win 46, options [nop,nop,TS val 135504557 ecr 1522351], length 5 Feb 22 17:00:49 ......*........d...e#..K.f."k. Feb 22 17:00:49 ......:.>Oi< Feb 22 17:00:54 anyone know a way to force a certain method to be inlined? Feb 22 17:01:08 at any point in the build process, or in proguard Feb 22 17:01:14 lfamorim: gehsundheit Feb 22 17:01:35 ? Feb 22 17:01:37 canadiancow|work: I don't think you can inline methods Feb 22 17:01:37 rs... Feb 22 17:01:52 lov: proguard does it Feb 22 17:02:03 and it can definitely be done Feb 22 17:02:04 canadiancow|work: well then why don't you just marry proguard since you love it so much huh Feb 22 17:02:13 but i want to force a certain method Feb 22 17:02:14 :( Feb 22 17:02:21 lfamorim: sorry, I'm not sure what to suggest. I don't tend to use non-blocking sockets. Feb 22 17:02:24 man-code marriages are not legal here Feb 22 17:02:25 :( Feb 22 17:02:32 lfamorim: you might want to try something that you know works on desktop first. Feb 22 17:02:33 :o Feb 22 17:02:44 maybe in california? Feb 22 17:02:57 more like vermont Feb 22 17:03:02 ah Feb 22 17:12:16 anyone used LVL and know what LICENSED_OLD_KEY means? Feb 22 17:12:22 The application is licensed to the user, but there is an updated application version available that is signed with a different key. Feb 22 17:12:41 so that means someone has decompiled, recompiled, and resigned it with their own key? Feb 22 17:13:12 hi a little question Feb 22 17:13:54 in my application want show a map of location, after register email and obtain key, i can use any type project in ADT Feb 22 17:16:41 canadiancow|work: yeah, how can that even work, since you can't change certificates? I'm guessing they have a locally-signed one that doesn't match the Market-published one Feb 22 17:16:45 but they have bought it in the past Feb 22 17:17:06 heh Feb 22 17:17:12 thats confusing though Feb 22 17:17:16 they're clearly fucking with shit Feb 22 17:17:20 but..they bought it Feb 22 17:17:21 :S Feb 22 17:17:24 canadiancow|work: right Feb 22 17:17:41 tell them to uninstall and install from Market Feb 22 17:17:58 oh LVL... Feb 22 17:18:17 with my luck im going to spend a week implementing it, and then get told "nah, we dont want it" Feb 22 17:19:13 it prevents casual piracy by people with root but no coding skill Feb 22 17:19:14 there are some warez apps which leverage root permissions to force-upgrade apps with a mismatching cert Feb 22 17:32:57 hi guys Feb 22 17:33:05 hola Feb 22 17:33:34 i've some problems with a method which modify some layout elements Feb 22 17:33:40 here is my code http://pastebin.com/6xtRJAXt Feb 22 17:34:08 and i've this error android.view.ViewRoot$CalledFromWrongThreadException: Only the original thread that created a view hierarchy can touch its views. Feb 22 17:37:23 anybody? Feb 22 17:37:28 guigui22, simple: you can't modify any view property from another thread Feb 22 17:38:23 but if i don't use an other thread the modification doesn't appears Feb 22 17:39:53 what's the easiest way to scan to see if my project is making use of any functions above the minSDK i've specified? Feb 22 17:40:26 rciovati, do you know how can modify view property? Feb 22 17:40:48 guigui22, modifications don't appears because without using a separate thread you lock the main thread Feb 22 17:41:25 rciovati but in my first code i use an other thread... Feb 22 17:41:59 guigui22, probably i would use something like a timer Feb 22 17:42:03 or an handelr Feb 22 17:42:17 pigsnowball: Wait for ADT17 and scan with lint Feb 22 17:42:29 or build it yourself Feb 22 17:42:37 guigui22, try this: http://developer.android.com/reference/android/os/CountDownTimer.html Feb 22 17:43:06 onTick method is executed in the main thread so you wouldn't get that error Feb 22 17:43:12 SimonVT: oh cool, good to hear about incoming tools Feb 22 17:43:20 instead of the thread.sleep? Feb 22 17:43:56 instead of the whole thread Feb 22 17:44:29 ok i understand i put my loop in this method Feb 22 17:45:21 yep Feb 22 17:46:00 sorry, no! Feb 22 17:46:48 something like that http://pastebin.com/gM1QTuRB Feb 22 17:48:21 ok i see Feb 22 17:48:24 i try :) Feb 22 17:51:34 perfect it's works thanks a lot :) Feb 22 18:03:18 evancharlton, you know anything about AntiLVL? Feb 22 18:13:18 I know that most LVL protected apps are easy-peasy to crack ;) Feb 22 18:16:52 Cus they use the sample implementation :p Feb 22 18:16:53 I wonder why people take the time to crack 3-buck apps... Feb 22 18:17:06 that's because most LVL apps copy/paste the LVL code Feb 22 18:17:38 OTOH, it really feels strange to pay more than 3$ for a smartphone app, irregardless of its functionality Feb 22 18:19:30 why would you crack a $3 smartphone app anyway, it takes liek 5 minutes to earn $3 Feb 22 18:20:20 storkme: because earning money is such an abstract thing. Feb 22 18:20:31 but spending money isn't. Feb 22 18:20:45 good point Feb 22 18:20:50 okay that was a flippant comment, disregard that Feb 22 18:21:22 what i meant is that if it's a good app i'd happily pay $3 for it because i know as a developer I'd like it if someone paid for something I wrote Feb 22 18:21:26 which reminds me. I should finally stand up and pay for that podcast player app I'm using for the last two years or so. Feb 22 18:21:51 god fucking damnit Feb 22 18:21:54 dick move, bro. Feb 22 18:21:58 this fucking stupid sdk and its stupid fucking libraries Feb 22 18:22:04 god why the fuck can't dx just IGNORE duplicates Feb 22 18:22:07 because they're the same fucking phone Feb 22 18:22:11 s/phone/file/ Feb 22 18:22:17 storkme: as a developer, I'm offering my app for 4.49$ or for free from the homepage. so far, around 60% of my users are actually paying Feb 22 18:22:54 Ge0rG: not really relevant since you're not linking to your homepage in the android market description Feb 22 18:23:01 but then again, market does not allow to easily upgade from a downloaded to a paid version of an app. Feb 22 18:23:07 storkme: I am Feb 22 18:23:12 oh, you added it in? Feb 22 18:23:19 storkme: I'm just not writing "get it for free from the homepage" Feb 22 18:23:43 storkme: https://market.android.com/details?id=org.aprsdroid.app - judge for yourself Feb 22 18:23:43 i don't really see how that justifies app piracy? Feb 22 18:23:46 Hi I just bought a non-functioning, but supposedly in mint physical conviction nexus one. I haven't received it yet, but it won't boot past the X boot logo. Just by knowing this, does it sound like software problem? This is my first android phone. I was hoping I could fix it with fast boot… Any tips? Feb 22 18:23:48 Ge0rG: what do you mean? you just install the paid over the downlaoded Feb 22 18:23:59 My Samsung Galaxy Nexus doesn't appear under adb devices on OS X. I've turned on USB debugging. Any other ideas? Feb 22 18:24:10 richcollins: lsusb Feb 22 18:24:18 you might need to edit adb_usb.ini Feb 22 18:25:32 mikedg-givesbada: nope. the "Update" button fails because the app is unpaid Feb 22 18:26:12 did you sign the apps the same? Feb 22 18:26:16 yeah, different app signature (unless you somehow manage to grab Ge0rG's keystore too) Feb 22 18:27:32 mikedg-givesbada: I got an official APK from another source, installed it, then tried to upgrade to the paid version on market. when you tap "Update", you get an error message that you did not pay Feb 22 18:27:45 instead of a payment processing dialog Feb 22 18:27:59 I love that onItemClick returns a long for the item id, as if someone is going to display more than 2 million items in a single list Feb 22 18:28:05 wtf is the "retrieve running applications" permission? Feb 22 18:29:48 Ge0rG: ask packagemanage what processes are actually running Feb 22 18:29:59 and why does a podcast player need it? Feb 22 18:30:51 lov: Why would it be different for the galaxy nexus vs other phones that work (like nexus one) Feb 22 18:31:15 lsusb is an os x command? Feb 22 18:31:17 thoradam: itemid does not need to be linear Feb 22 18:31:43 position is an int Feb 22 18:31:47 if that makes you happy Feb 22 18:32:06 Guys I set text Size for list using setSize, but it did not affect the list -> layout file http://pastebin.com/exgagUzN Feb 22 18:32:11 richcollins: it just is. samsung distributes the galaxy nexus driver (which is rediculous) Feb 22 18:32:21 wow proguard doenst change enum constant names... const-string v1, "LICENSED" Feb 22 18:32:33 ah so I need a driver -- Thanks I'll have a look Feb 22 18:32:36 i guess enums are strnage like that Feb 22 18:32:40 Yeah exactly, but that is for the view Feb 22 18:32:42 well, I'm not sure you can do that on os x Feb 22 18:33:18 hrm it seems like other people have been able to connect it Feb 22 18:34:08 How can I convert 003 String to 3 int? Feb 22 18:34:17 yeah there's something special you have to do for galaxy nexus for os x but I don't know what to do here Feb 22 18:34:37 lfamorim: Integer.parseInt. Bear in mind that if your number starts with 0, it might be converted to octal; check the documentation. Feb 22 18:34:57 Interger.parseInt throws NullException Feb 22 18:35:28 =/ Feb 22 18:35:53 wow the LVL library code is the shitties shit shit ever Feb 22 18:35:54 :( Feb 22 18:41:17 fucking canadians https://market.android.com/details?id=com.remedy.DeathRallyFREE&feature=search_result&rdid=com.remedy.DeathRallyFREE&rdot=1 Feb 22 18:42:36 Size: 98M .. when'd they up that? Feb 22 18:43:05 is that the original death rally game? Feb 22 18:43:08 * iivvoo is trying to figure out how to make his app properly suppor anyDensity=true Feb 22 18:43:09 remake Feb 22 18:43:15 in order to get rid of ugly drawing artefacts Feb 22 19:26:09 how do you spoof gps coordinates? Feb 22 19:26:13 via adb Feb 22 19:26:14 shell Feb 22 19:27:23 you don't. Feb 22 19:27:29 the emulator allows you to telnet in and do certain things Feb 22 19:27:37 the ddms view in eclipse allows you to do various things to the emulator Feb 22 19:28:12 "in Applications/Development" there is a checkbox "Allow mock locations" Feb 22 19:28:15 there has to be Feb 22 19:28:25 that's mock locations, not faked locations. Feb 22 19:28:28 it's different. Feb 22 19:28:34 for mock locations you register for a mock listener Feb 22 19:28:46 it's for use in unit testing Feb 22 19:29:42 snooplsm: http://developer.android.com/guide/developing/devices/emulator.html#geo Feb 22 19:29:55 that's the part of the "Using the emulator" guide that talks about how to spoof gps coords for testing Feb 22 19:30:32 how do you set a view to be to top most view in a heirarchy? Feb 22 19:31:15 Hi, i'm running ADB PULL from a file in a RAMDISK to my PC and it transfers at about 4-4.5MB/s, yet when I connect my SG2 as a MTP USB Storage device to my computer, the transfer speed is about 12MB/sec, how can this difference be explained ? Feb 22 19:32:33 canadiancow|work: http://www.dotnetspeaks.com/DisplayArticle.aspx?ID=168 Feb 22 19:32:41 db42: adb isn't not meant for data transfer. Feb 22 19:32:44 canadiancow|work: i meant http://www.developermovement.com/manifesto/ Feb 22 19:32:51 actually http://www.developermovement.com/manifesto/ Feb 22 19:32:54 god sorry for the spam Feb 22 19:32:57 * iivvoo 's still wrapping his wrap around supporting densities, canvasses and bitmaps Feb 22 19:33:02 anyone ever handled that before? Feb 22 19:33:03 hah canada Feb 22 19:33:04 :D Feb 22 19:33:04 db42: you CAN use it for data transfer but you'll always have suboptimal speeds compared to MTP or direct USB Feb 22 19:33:13 yeahits canada only Feb 22 19:33:27 and ugh im a fucking idiot because I thought it was all of the rewards Feb 22 19:33:33 if you're moving more than 20MB or so, just mount the device and use MTP, etc to move your data. Feb 22 19:33:36 wait what is this Feb 22 19:33:39 waht am i signing up for Feb 22 19:33:40 gsingh: PopupWindow Feb 22 19:33:46 make windows phone 7 apps get free crap Feb 22 19:33:52 snooplsm: I don't think that's what he was asking. Feb 22 19:33:57 its less impressive now that i realized its only 1 reward per category Feb 22 19:34:14 gsingh: http://developer.android.com/reference/android/view/ViewGroup.html#bringChildToFront(android.view.View) Feb 22 19:34:14 lov: 1/3 the speed ? Feb 22 19:34:27 db42: yes. This is not a bug. You're doing data transfer over a debugging protocol. Feb 22 19:34:30 mikedg-givesbada the captcha doesnt show up in chrome Feb 22 19:34:34 :( Feb 22 19:34:34 lov: my issue is that i'm having slow transfer speeds when using the android as an USB HOST device for another MTP device Feb 22 19:34:36 db42: again, ADB is not meant for bulk data transfer. Feb 22 19:34:47 db42: i'm getting speeds which are a bit slower then ADB, and i'm trying to figure out why Feb 22 19:35:08 http://bits.blogs.nytimes.com/2012/02/21/google-to-sell-terminator-style-glasses-by-years-end Feb 22 19:35:33 lov: any ideas ? Feb 22 19:36:06 g00s old news Feb 22 19:36:08 :P Feb 22 19:36:18 :( Feb 22 19:36:24 the problem is that I'm trying to do this in AlertDialog Feb 22 19:36:37 so I call setItems using the builder Feb 22 19:36:50 canadiancow|work: use ie6 Feb 22 19:37:09 lol Feb 22 19:37:10 then setView in my own subclassed version of alertdialog Feb 22 19:37:14 db42: no, sorry. Feb 22 19:38:17 got disco, did anyone reply to my inqury ? Feb 22 19:40:36 any reasons for usb host transfer being slow (4mb/sec) ? Feb 22 19:42:56 lov ? Feb 22 19:43:04 db42: no idea, sorry. Feb 22 19:43:10 :( Feb 22 19:43:18 any pointers online where to look ? couldn't find too much info regarding this Feb 22 19:43:58 hm i cant find any precise definition for android on the internet Feb 22 19:44:19 ANdi``: android is a metadistribution :) Feb 22 19:44:28 ANdi``: it's a framework and an OS. Feb 22 19:45:24 google itself says its a software stack for mobile devices that includes an operating system, middleware and key applications Feb 22 19:45:41 but u cant translate software stack to german ^^ Feb 22 19:46:05 ze zoftware ztack Feb 22 19:46:33 Der Software Stacken Feb 22 19:46:40 :D Feb 22 19:46:52 heil software stock Feb 22 19:47:00 what have i done :) Feb 22 19:48:52 :) Feb 22 19:49:54 Der lustige grüne Wanze Mann-Programmierung Feb 22 19:50:41 "the funny green bug man-programming" ? Feb 22 19:51:06 Does anyone know if this guy is being paranoid? http://forum.xda-developers.com/showthread.php?t=1511527 Feb 22 19:51:23 ANdi``: blame translate.google.com Feb 22 19:51:24 JakeWharton yea, I saw that when I pulled the newest 4.0-wip branch Feb 22 19:51:35 JakeWharton I see my tabs aren't good enough for you! Feb 22 19:51:37 vil33: if you have to ask the answer is invariably yes Feb 22 19:52:11 JakeWharton though that was just IDEA's formatting, I should probably fix that because it was tabbed pretty deep for the xml attributes Feb 22 19:53:15 vil33: dude should either blackhole that address in his hosts, or he should try and figure out WHICH app is doing that. Feb 22 19:53:34 vil33: this sounds like a repeat though, I could have sworn I've seen this before. Feb 22 19:53:35 Hello everyone! :P Feb 22 19:53:36 He said he noticed it on 3 different samsng phones...hmm Feb 22 19:53:48 It was something like networking was broken, and this is just reenabling market behavior that's supposed to be there Feb 22 19:54:03 I'm getting a serious sense of deja vu about this, because I know I've heard about this before Feb 22 19:54:07 same here Feb 22 19:54:09 and everyone was "ZOMG" and then an answer came out Feb 22 19:54:15 and it was like "oh, ok..." Feb 22 19:54:19 but my money is on market Feb 22 19:54:54 yea that would make sense Feb 22 19:56:08 Can anyone here help me with setting a WebView into a fragment? Feb 22 19:57:51 * iivvoo doesn't quite understand how his 256x256 bitmaps gets scaled to 384x384 because the screendensity is 1.5 (sure, it's multiplication) Feb 22 19:58:01 but I don't want this - I expect the image to be 256x256 Feb 22 19:58:29 set the dimensions to 256x256dp in the view Feb 22 19:58:42 or put the inmage in res/drawable-nodpi Feb 22 19:59:13 t0mless: When something says fill_parent, specifically the parent part, what exactly does the _parent do? Feb 22 19:59:49 that means the width/height will stretch to the maximum allowed by the parent view Feb 22 19:59:50 Snwspeckle: i was told here 'same size as parent' Feb 22 20:00:12 So the container region? Feb 22 20:00:24 if that is what the parent is Feb 22 20:00:35 Ok Feb 22 20:00:52 if the parent is a linear layout you can use layout_weight to distribute the space between multiple views Feb 22 20:01:29 Ok got yea, Also if your using a WebView, do you need to create a seperate void to call the url etc? Feb 22 20:02:03 dunno what you mean by seperate void Feb 22 20:02:40 if you mean a new method Feb 22 20:02:41 Nevermind, I just call it in the OnCreate method Feb 22 20:02:45 it's not required Feb 22 20:02:50 Cleaner imo Feb 22 20:04:17 t0mless, -nodpi does the trick (tried the inScale=false option, doesn't seem to make a difference) Feb 22 20:10:31 Hello Feb 22 20:10:39 I am Japanese Feb 22 20:10:52 I am Android application developer Feb 22 20:11:21 now I have 60 applications releases Feb 22 20:11:44 Is there a special way to inflate a WebView because I am getting an error saying that I cannot convert from View to WebView Feb 22 20:11:46 http://jp.androlib.com/android.application.angel-birth-jp-zjBEz.aspx Feb 22 20:15:05 licksjp: How would I convert view to a webview? Feb 22 20:15:58 Snwspeckle: I don't use basically webview Feb 22 20:16:11 TextView use Feb 22 20:16:23 https://sites.google.com/a/android.com/tools/recent/detailednetworkusageinddms Feb 22 20:16:25 But I am trying to push a map using WebView Feb 22 20:16:31 ^^^ so, does thsi required 4.0.3 ? Feb 22 20:16:36 So it needs to be like WebView Feb 22 20:16:55 How would I go about inflating a webview Feb 22 20:16:56 i guess, oh well Feb 22 20:17:20 froyo ftw ! Feb 22 20:18:55 you can tell how broke a programmer is by how much room they leave available for balance Feb 22 20:19:07 ? Feb 22 20:19:36 balance was being truncated after $10,000.00 Feb 22 20:20:00 hah Feb 22 20:21:07 you can tell how broke your mom is by how little she wears Feb 22 20:21:59 wtf is up with bada? Feb 22 20:23:27 bad advice Feb 22 20:23:31 i give bad advice Feb 22 20:23:48 oh i thought you were a bada fanboy or something now Feb 22 20:24:36 yay Feb 22 20:24:44 I can get the icon of an APK Feb 22 20:24:44 :D Feb 22 20:25:26 KeLopez: thats hardcore ! Feb 22 20:26:50 To position a view I need to know its size, but I can't get its size until it's show (which will of course be on the wrong position) Feb 22 20:26:59 Anybody had any issues with renderscript compute scripts on short (32..64) 1D arrays? Feb 22 20:27:04 has anyone here gotten a JetStream or Flyer emulator working via the HTC add-in? Feb 22 20:35:51 Guys how do you inflate a webview? Feb 22 20:37:50 Snwspeckle... the same way you inflate any other view Feb 22 20:38:34 WebView mWebView = inflater.inflate(R.layout.hello_world, container, false); ---- This is erroring though... Feb 22 20:38:47 by calling hanz and franz to PUMP YOU UP Feb 22 20:39:13 all new google docs app still doesnt target 14+ Feb 22 20:39:43 Snwspeckle, so read the damn stacktrace Feb 22 20:39:55 errors almost always tell yo uexactly whats wrong Feb 22 20:40:22 Type mismatch: cannot convert from View to WebView -- That's what I need to know, how do you load it as a WebView Feb 22 20:40:36 Gambit-: pummela pummela pummela ! Feb 22 20:41:41 Snwspeckle: Does hello_world.xml only contain a webview? Feb 22 20:41:49 yes Feb 22 20:42:43 Do you want the Github link for the example I am basing this off of? Feb 22 20:42:46 Snwspeckle: that line sholdnt compile Feb 22 20:42:56 oh.. Feb 22 20:43:01 yea lol Feb 22 20:43:04 cast it to (WebView) Feb 22 20:43:08 sigh Feb 22 20:43:09 https://github.com/JakeWharton/ActionBarSherlock/blob/4.0-wip/samples/fragments/src/com/actionbarsherlock/sample/fragments/FragmentStackSupport.java Feb 22 20:43:09 I thought it was a runtime error.. Feb 22 20:43:23 isnt there a fucking thing in the window that pops up when you hover over the error Feb 22 20:43:28 that says "OPTION 1: CAST TO WEBVIEW" Feb 22 20:43:40 God damn, why the yelling man :( and holdon Feb 22 20:43:45 yeah dude if you are using a real IDE, it fixes that shit automatically Feb 22 20:43:52 MAN ILL F U UP Feb 22 20:43:56 I know I wanted to understand why though... Feb 22 20:43:57 +1 Feb 22 20:44:03 THEY DONT CALL ME THE BAD GUY FOR NOTHING Feb 22 20:44:06 you want to understand why a View isn't a WebView? Feb 22 20:44:23 I know why now... Feb 22 20:44:42 cool hi five Feb 22 20:47:14 Also does anyone know why my eclipse fails almost every time I do USB debugging? Feb 22 20:47:20 Its timesout all the time Feb 22 20:47:50 pebcak? Feb 22 20:47:51 "adb refused request" Feb 22 20:50:22 canadiancow|work, TIL pekback Feb 22 20:50:23 have you you tried using the command lines to see if the device is online Feb 22 20:50:32 pegcock you me Feb 22 20:50:44 canadiancow|work, "pebcak" Feb 22 20:51:03 what are you going on about Feb 22 20:52:30 canadiancow|work, first time I see this acronym :) Feb 22 20:54:13 I hate adb... Feb 22 21:03:42 pebcak = Problem Exists Between Chair And Keyboard Feb 22 21:04:04 similar to an ID-10T error. Feb 22 21:11:15 Snwspeckle: That usually means it's time to reboot the phone, or buy a new cable. Feb 22 21:11:30 tophyr: what about a Pen 15 error Feb 22 21:11:56 lol Feb 22 21:12:58 * pfn gives mikedg-givesbada some cialis to fix said error Feb 22 21:13:01 i don't encounter those very often, if you do you may want to speak to a doctor Feb 22 21:13:17 or perhaps consider a lifestyle change Feb 22 21:17:30 things seem quiet in android land Feb 22 21:18:23 they are Feb 22 21:18:30 how's your kepler app? Feb 22 21:18:38 although the android powered oven looks cool Feb 22 21:18:51 pfn: hmm, no sales :( Feb 22 21:19:01 really hard with a super-niche app Feb 22 21:19:06 especially with no trial version Feb 22 21:19:13 15 miuntes! Feb 22 21:20:29 that's what she said Feb 22 21:21:55 i used to read phandroid, but lately its like drinking out of a fire hose. so many new models, so many updates, its becomes just noise. but then i also miss more interesting android developments Feb 22 21:22:11 g00s: just follow the verge instead Feb 22 21:22:12 androidcentral seems like a decent blog Feb 22 21:22:28 * g00s looks up the verge Feb 22 21:22:40 the verge is actually decent and they spend time researching what they write instead of just copy-pasting whatever drivel someone claims on twitter Feb 22 21:22:49 Ugh eclipse is shit, timeout again.... Feb 22 21:22:52 Too many subpar devices being released Feb 22 21:23:36 On top of ADB failing, eclipse keeps crashing.... Feb 22 21:26:07 WTF, 6 Eclipse crashes in a god damn row, wtf is wrong with this program! Feb 22 21:26:18 maybe it's your machine ... Feb 22 21:26:18 what is the error message from the crash Feb 22 21:26:31 Snwspeckle: look at the eclipse logs in your workspace Feb 22 21:26:33 and yeah, probably your machine as I dont' have problems when running eclipse + adt Feb 22 21:26:48 I have a brand new machine... Feb 22 21:27:16 How come linear layouts divider padding does nothing? Feb 22 21:28:50 where are the eclipse crash logs again? Feb 22 21:29:04 nvm Feb 22 21:30:06 hi guys!! Feb 22 21:30:25 bestKoderEver: from the worst coder evar, hello Feb 22 21:30:38 ive followed this tutorial, on how to style a theme.. Feb 22 21:30:38 http://www.androidengineer.com/2010/06/using-themes-in-android-applications.html Feb 22 21:30:42 Why is it returning "adb refused request"... Feb 22 21:31:18 very nice indeed.. but.. is there any place / site ..where one can find styled themes? Feb 22 21:31:32 since im trying to take a shortcut :D Feb 22 21:31:34 eclipse and ADB don't always talk very happily :S Feb 22 21:32:01 Mine never talk happily, it just crashed AGAIN on me Feb 22 21:32:03 do you all style your themes? huh! Feb 22 21:32:32 Snwspeckle: run it from CLI and have a look at it's output Feb 22 21:32:41 CLI? Feb 22 21:32:59 oh, you're using windows, aren't ya ? Feb 22 21:33:14 I have a friend who's wanting to put a MapView in an ActivityFragment, but can't because apparently MapView needs to be in a MapActivity, does anybody know a solution/workaround to this particular problem? Feb 22 21:33:14 Yes and I am getting a NullPointerException, its when I try and run USB debug Feb 22 21:33:17 Snwspeckle: do you have ddms running? Feb 22 21:33:25 Snwspeckle: the ADT plugin has a version of DDMS Feb 22 21:33:27 DDMS is running Feb 22 21:33:32 Snwspeckle: if you run DDMS and Eclipse at the same time, they will conflict. Feb 22 21:33:40 I think its running Feb 22 21:33:47 How do I disable it Feb 22 21:33:51 Snwspeckle: please check, and if it is open, close it, close eclipse, then open eclipse again. Feb 22 21:34:15 Where would DDMS be located? Feb 22 21:34:43 Hi, just a simple question cause I can't find it, is there a way to use "default" images such as reload or parameters Feb 22 21:35:33 Crashed on my again, FFS!!!!!!!! Feb 22 21:35:40 Everytime I try and run USB debug it crashes Feb 22 21:36:44 Snwspeckle: ok, so. Feb 22 21:36:55 Snwspeckle: what programs are running right now, on your computer? Feb 22 21:36:58 What OS are you using? Feb 22 21:37:06 What version of Eclipse are you trying to use? Feb 22 21:37:14 Chrome, XChat, Steam, Windows 7, Indigo Feb 22 21:37:29 oh, windows? reboot. Feb 22 21:37:32 trolololo Feb 22 21:37:49 "adb refused request: ".... Feb 22 21:37:55 Snwspeckle: yeah, that's extremely abnormal. Feb 22 21:37:55 Hi, I'm having some trouble using git to clone a 2.3.3 verson of the AOSP music player. For some reason when I use -b android-2.3.3_r1 or any others I still only get the newest version (which uses remotecontrolclient) Feb 22 21:37:58 Snwspeckle: have you rebooted your phone? Feb 22 21:38:06 Yes I have a ton Feb 22 21:38:13 What phone is it? Feb 22 21:38:20 reformatting and putting ubuntu on it is likely the better choice... (I'd say Gentoo, but we'll take baby steps) Feb 22 21:38:29 You might want to try using a 2.3 emulator and seeing if the same behavior persists Feb 22 21:38:32 Awesome, I am number 666 to join the channel. Feb 22 21:38:39 Galaxy Nexus Feb 22 21:38:42 that will at least tell you whether it's the phone, or your software stack Feb 22 21:38:46 Its throwing nullpointers at me.... Feb 22 21:38:52 "35 percent of British adults sleep with bear" … oh my Feb 22 21:39:03 chmod +x the7ak3 Feb 22 21:39:05 O_O Feb 22 21:39:05 Hey does layout_weight=1 means occupy the entire parent space? Feb 22 21:39:07 Beer, surely. Feb 22 21:39:25 is there anything faster than the emulator, i want to do a video but don't want to resort to all the hassle of a real shoot…. Feb 22 21:39:34 sorry to jump in the middle here.. but what is it that's crashing? the app? the emulator? Feb 22 21:39:55 :) Feb 22 21:40:08 Eclipse and my app Feb 22 21:40:11 cause ive had crazy amounts of emulator crashes Feb 22 21:40:20 I cant get eclipse to run so I can check the reason why my app is crashing.. Feb 22 21:40:34 I am using USB debugging also, the emulator is shittier than shit Feb 22 21:40:42 yea, hate the emulator Feb 22 21:40:44 Its about a 10 second delay for anything Feb 22 21:41:02 you should be able to just run a command prompt and run adb to pull the logs and see what the crash is Feb 22 21:41:11 so that you don't have to run eclipse to get it Feb 22 21:41:33 yeah, Snwspeckle, look at adb logcat. Feb 22 21:41:49 if you're just looking at "Console" in eclipse that's only information local to eclipse. Feb 22 21:41:52 I can't once it throw the adb refused it unselects logcat.. Feb 22 21:42:06 Snwspeckle: does this behavior happen when you use the emulator? Feb 22 21:42:27 I never had an issue then, also my USB 2.0 port on my front doesnt work so idk wtf is wrong Feb 22 21:42:34 I spent $1000 to build this and this shit doesnt work Feb 22 21:43:16 i'm going to guess it's the agrivated owner more than the computer Feb 22 21:43:32 I have spent weeks trying to fix this.. Feb 22 21:43:54 use adb logcat from a terminal Feb 22 21:43:59 I've got an ant build script that is running adb to launch my application - problem though is that when it is done adb does not exit the shell. Is there a way to get it to issue 1 command then exit? Feb 22 21:44:03 and yeah, the emulator is teh suck Feb 22 21:44:06 develop on a real device Feb 22 21:44:13 test on the emulator for versions of android you do not have Feb 22 21:44:34 I love the emulator, never had a problem with it ( yet ) Feb 22 21:44:40 Is it possible for an app to turn off HDCP if it doesn't want to protect its content? Feb 22 21:44:51 Failed to install Hello_World.apk on device '016B7DFD06007012': adb rejected install command with: device not found --- WTF IS WRONG.. Feb 22 21:45:05 Or do apps have arbitrary access to media playback which might then allow them to expose unprotected copyright content? Feb 22 21:45:20 Snwspeckle: does it work from the command line ? Feb 22 21:45:24 Snwspeckle, just type adb -d install -r hello_world.apk Feb 22 21:45:31 Never tried it from there Feb 22 21:45:56 learn to use the commandline Feb 22 21:45:59 ides are the suck Feb 22 21:46:02 work of the debil they are Feb 22 21:46:06 Snwspeckle: eclipse does have issues talking to adb quite often, so using the CLI is necessary sometimes Feb 22 21:47:38 can't find my .apk..... Feb 22 21:48:29 Snwspeckle: i put it under your couch Feb 22 21:48:43 Well what is the name of an apk if it has spaces... Feb 22 21:49:24 Snwspeckle: it's in something like workspace/project/bin/app.apk Feb 22 21:49:59 I have spaces in my apk and its not working... Feb 22 21:50:11 why would you ever have spaces in your apk ? Feb 22 21:50:29 it set it like that?.. Feb 22 21:50:34 How do I remove them.. Feb 22 21:51:37 Crashed again... Feb 22 21:52:42 'So wait, do we have to move the apk to the platform-tools folder? Feb 22 21:53:12 Snwspeckle: no Feb 22 21:53:18 Snwspeckle: it sounds like there's a problem with your hardware Feb 22 21:53:20 Well it is not finding it.. Feb 22 21:53:24 Snwspeckle: that's why you're constantly crashing. Feb 22 21:53:27 God damn, best hardwrae and of course its broken Feb 22 21:53:28 Snwspeckle: this is NOT TYPICAL Feb 22 21:53:32 How do I check which is what Feb 22 21:53:44 How would I check what is bad?.. Feb 22 21:54:02 Snwspeckle: in fact, I'm willing to bet that it's a loose USB cable :> Feb 22 21:54:10 or a shitty one Feb 22 21:54:10 Its plugged in 100% Feb 22 21:54:15 Snwspeckle: do you have the usb drivers installed for the device you're testing with? Feb 22 21:54:18 I say this because I've had the same kind of stuff happen with me. Feb 22 21:54:24 How would I go about making an add on/extension for the default android music player that adjusts a part of it's code when you download it off the market? Feb 22 21:54:29 Galaxy Nexus drivers are installed Feb 22 21:54:34 my cable will just decide to detach the data connectors while leaving the power connectors active Feb 22 21:54:38 the Google USB drivers? Feb 22 21:54:59 noah023: step one is to download the android music player :P I don't think that it does plugins by default Feb 22 21:55:27 lov: I have the music player source in my eclipse right now. So what I need to search on google is how to do plugins? Feb 22 21:56:04 well, no. Feb 22 21:56:06 ok, so. Feb 22 21:56:11 Yes those Feb 22 21:56:21 And wtf, I renamed my project and its not loading, WTF!!! Feb 22 21:56:24 are you tryin to make something that anyone can just download from market without a custom rom? Feb 22 21:56:33 Yes Feb 22 21:56:38 Snwspeckle: did you rename it from outside of eclipse? >:| Feb 22 21:56:44 No Feb 22 21:57:07 noah023: Unless the music player has some sort of plugin functionality, which I don't THINK it does, you can't really do this. Feb 22 21:57:14 This is pissing me the hell off tonight Feb 22 21:57:18 you might want to look through the source and see if there are hooks or events or anything Feb 22 21:57:26 Snwspeckle: borrow someone else's computer, and for the love of god borrow another cable Feb 22 21:57:34 Its not the cable... Feb 22 21:57:41 Snwspeckle: I can almost guarantee that it is. Feb 22 21:57:47 you're sporadically losing your adb connection Feb 22 21:57:55 I have tried 3 others though Feb 22 21:57:58 hmph Feb 22 21:58:17 also want to tell me how I change the location in eclipse?... Feb 22 21:58:27 Install the Android SDK on another computer, use a different cable, plug the device in there, and use adb shell to just play around with the device. Feb 22 21:58:35 if you suddenly get dumped out, it was because the adb connection was lost. Feb 22 21:58:44 lov: Is it possible then to just program my code on top of the AOSP music player then sell that on the market as a completely different app? Feb 22 21:58:44 if that's the case, your phone is probably a dud or something Feb 22 21:59:07 noah023: probably, check the licensing terms of the music player. If it's Apache 2 you can follow those terms. Feb 22 21:59:56 Anyone know how to fix this?.. Feb 22 22:00:38 lov: it is. When I try and run it on my simulator it wants me to uninstal the original music player. Will it stop making me do that when I add some programming to it, or do I have to find a way to rename the package? Feb 22 22:00:48 noah023: you should rename the package. Feb 22 22:00:53 the packagename is the unique identifier for android Feb 22 22:01:04 Snwspeckle: "change the location" meaning what exactly Feb 22 22:01:21 In eclipse none of my classes or files show now Feb 22 22:01:28 Its not finding the location or something Feb 22 22:01:49 lov: where in eclipse do I go to change the package name. I can't seem to find it Feb 22 22:02:30 anyone know why default proguard config has: -optimizations !code/simplification/arithmetic,!field/*,!class/merging/* Feb 22 22:03:22 oh ffs this is bs, I change a name and now my project wont even god damn load! Feb 22 22:03:55 I added _ between the spaces and now its all fucked up... Feb 22 22:04:08 Oh, refractor. Nm Feb 22 22:05:01 noah023: it's part of the android manifest Feb 22 22:05:36 Snwspeckle: I don't know how you changed the name. Right click the project, hit refresh. Feb 22 22:05:42 Close all open code windows if you have any Feb 22 22:06:25 I got it but it says "Android requires compiler compliance level 5 or 6. Found 1.7 instead?... Feb 22 22:06:59 hi all! i have subclass of Application class, activity and subclass of AsyncTask class. i need change value of control located on activity from subclass of AsyncTask class. how should i do? Feb 22 22:07:19 Hmm, so in Eclipse I have an Android project, and an Android test project. The latter just contains test classes, and I have a project reference to the application project. When I run my test project with Android junit, I get a java.lang.NoClassDefFoundError. How should I structure my projects to avoid this?? My application project isn't a library. Feb 22 22:07:25 Snwspeckle: window -> preferences Feb 22 22:07:34 java -> compiler Feb 22 22:07:39 compiler complience level, set to 1.65 Feb 22 22:07:45 Android doesn't quite work with 1.7 yet Feb 22 22:07:48 set to 1.6 rather Feb 22 22:08:13 Do I need JDK 1.6 installed? Feb 22 22:08:24 Or does 1.7 grandfather 1.6? Feb 22 22:08:54 This worked fine until we updated ADT a month back hmm Feb 22 22:09:14 Well, Eclipse crashed again! Every time I click debug it crashes!.. Feb 22 22:09:20 It is as if the Test project cannot reference the application project when being ran with test runner. Feb 22 22:09:42 lov: when I rename it in manifest I get errors everywhere. How do I change the package globally throughout the program? Feb 22 22:10:20 noah023: refactor your source. Eclipse has ways to do that. Feb 22 22:10:22 can anyone comment as to why my galaxy nexus has 4.0.2 and doesn't detect an update to 4.0.3? Thought it started a roll out a month ago... Feb 22 22:10:37 noah023: this is a very uncommon thing to do, and now you ahve to worry about importing the R.java file in places you didn't before. Feb 22 22:11:00 lov: exactly my problem. How do I import the R.java file? Feb 22 22:11:01 Snwspeckle: so don't click "debug" :> Feb 22 22:11:09 noah023: ctrl-shift-O probably. Feb 22 22:11:11 then how do I debug it.. Feb 22 22:11:26 Snwspeckle: go into #eclipse, see if they can give you some idea on what logs to look at to figure out why you're crashing. Feb 22 22:11:48 I will in a little but how do I debug then Feb 22 22:11:53 >_< Feb 22 22:12:04 well, you can use Log to emit logs to logcat Feb 22 22:12:37 in console under platform-tools the command is just adb -d install -r hello.apk Feb 22 22:13:25 yes, that works Feb 22 22:13:32 It says it cannot find my apk.. Feb 22 22:13:47 of course you have to give it a path that exists Feb 22 22:13:56 oh so the path to the apk? Feb 22 22:16:22 Another question, you know how in WebView, it asks what action you want to use when a link is hit, how do I just tell it to display it in the WebView container? Feb 22 22:17:35 hardyNH: There's no chance you're this person, is there? http://www.mips.com/blog/?p=169&cpage=1#comment-810 Feb 22 22:18:04 Gumboot: no Feb 22 22:18:54 Aww. Feb 22 22:19:18 I have exactly the same question. I don't want to just post "me too" in the hope that I might also get a private message answer or something. Feb 22 22:21:30 * Gumboot wonders what other really really long shots he can try. Feb 22 22:23:57 Try a hole in one on a par 5. Feb 22 22:25:14 Hi. I just bought a non-functioning, but supposedly in mint physical conviction nexus one. I haven't received it yet, but it won't boot past the X boot logo. Just by knowing this, does it sound like software problem? This is my first android phone. I was hoping I could fix it with fast boot… Any tips? Feb 22 22:25:54 If I am using onCreateView with fragments, where in my class would I need to put my "WebViewClient" which makes any links load in the WebView container? Feb 22 22:26:18 abaratican: Do you suppose that's better or worse than asking random people on the internet if they're the same as random other people on the internet? Feb 22 22:26:29 abaratican: Are you hardy from that MIPS blog? Feb 22 22:27:40 lov: It's saying this aidl file IMediaPlaybackService should be declared in a file called com/android/music/IMediaPlaybackService.aidl... What's it want me to do with this thing? Feb 22 22:28:22 move it? Feb 22 22:28:27 change the packagename inside of it? Feb 22 22:28:36 noah023: frankly, until you know what you're doing, this might be kind of an ambition project. Feb 22 22:29:27 lov: I know, but I'm going to go with it anyway. Worst case scenario I learn something while doing it. Best case scenario it works. I figure if I never try to do anything after I learned java then why did I learn it? Feb 22 22:29:49 noah023: that's fine, you might want to just start with something a little smaller :P Feb 22 22:29:53 Gumboot: no...? Feb 22 22:30:52 lov: haha yeah, but I'm in an entrepreneurship class at my school and we're supposed to start a business/sell a product of some sort... It's too late to switch what I'm doing and I don't have the $2000 to hire someone who knows what their doing :P Feb 22 22:31:08 *they're Feb 22 22:31:16 abaratican: It was worth a shot. Feb 22 22:35:22 noah023: erm... Feb 22 22:35:37 Oh, I know what I have to do. That'd be really hard. I might just give up instead. Feb 22 22:35:52 noah023: there are plenty of types of apps you can create that don't involve reusing someone else's app. Feb 22 22:36:15 hi Feb 22 22:36:22 noah023: unless you're a big, aggressive business or you really know what you're doing developmentwise, you're going to make roughly $0 on market, too Feb 22 22:38:47 lov: I guess we'll see when it happens. I still would like to use this app. I'm not making any HUGE changes to the source code. I'm sure I can program the part I want to change, and I'm pretty sure I could at least sell it to the area around my town. Feb 22 22:38:53 Is there a way to install a shortcut to my app when the user runs it for the first time (and remove it when they uninstall the app)? Feb 22 22:39:20 Niya: that's controlled by the launcher and the answer is generally "no" Feb 22 22:39:29 mostly because no one WANTS an icon appearing there by itself. Feb 22 22:39:38 (this is the behavior of malware! :D ) Feb 22 22:40:03 Yeah, I agree. I am not being asked if it is polite or good, only if it is possible =/ Feb 22 22:40:41 Is there a way to unsign the AOSP music player so I can install it onto my emulator Feb 22 22:40:47 Niya: modern markets have an auto-shortcut option Feb 22 22:41:33 Niya: you CAN make a shortcut on the desktop; I don't know offhand how, but you can definitely place a launcher icon. It's generally considered pretty obnoxious. You can't remove it on uninstall yourself - I don't know offhand if the homescreen would detect and remove it for you, I kind of suspect it will. Feb 22 22:42:03 lov: Maybe they fixed it in newer launchers, I know you could in the past. I was profoundly annoyed at apps which did it Feb 22 22:42:03 dragorn: It totally doesn't ._. Feb 22 22:42:37 The icon's still there, and you touch it and it says the apps' been uninstalled. Feb 22 22:42:48 Niya: maybe depends on how you identify the shortcut. I don't, to be honest, know a ton about how shortcuts are handled by most home screens, I do know it's smart enough to clean up shortcuts I make through the home screen except in rare instances. Feb 22 22:43:00 Niya: well, sucks for you then. You can't perform actions on your own uninstall Feb 22 22:43:12 can you somehow get an OAuth token using the phone's Google account? w\o sending the user to a webpage i mean. Feb 22 22:43:14 Yeah, I know ._. Thanks. Feb 22 22:43:16 Niya: otherwise malware would re-install itself when you try to uninstall Feb 22 22:43:29 Oh, I understand. Feb 22 22:44:03 If I am using onCreateView with fragments, where in my class would I need to put my "WebViewClient" which makes any links load in the WebView container? Feb 22 22:44:07 Niya: I'd investigate exactly how the AOSP home launcher makes shortcuts and how you make them. Maybe it's not associated with your app properly so it's not being cleaned up. Or maybe it's just not going to work, but that's my idea. Feb 22 22:44:28 ugh, don't crap icons to launcher Feb 22 22:45:01 Anyone? Feb 22 22:45:33 evancharlton: it's extra fun when you have to play the "what the hell desktop did it clutter up now" game Feb 22 22:46:01 dragorn: or the "what the hell app just crapped some adspam to launcher?" game Feb 22 22:46:04 that one's fun Feb 22 22:47:10 Can anyone assist me? Feb 22 22:50:47 Anyone know how to change an xml file to open in the code editor? Feb 22 22:51:56 you can just click the tab at the bottom of the gui editor and select to view source Feb 22 22:54:13 Got it thanks, in WebView, is there a way to load data quicker or so? Feb 22 23:00:25 lov: Can you set a page to not have the PageViewer ability? (Horizontal Page Scrolling) Feb 22 23:08:06 Does anyone have a good build.xml file that I can copy? I need to figure out how to do like a test compile and jar my project Feb 22 23:09:24 Snwspeckle: probably, sorry, I haven't used viewpager at all at this point. Feb 22 23:09:50 I am just going to put the WebView nested in a linear layout and add padding to it Feb 22 23:10:01 Sounds like it would work better? Feb 22 23:10:17 hwrd|work: create a new project somewhere via android create project Feb 22 23:10:35 lov: I did…. i did andoid update project -p Feb 22 23:10:47 no Feb 22 23:10:49 but it doesn't give me the jar/compile-only possiblities Feb 22 23:10:56 android create project -p somewhere else Feb 22 23:11:07 that will give you a bog standard hello world project Feb 22 23:11:18 also, project, or project-lib ? Feb 22 23:11:23 are you making a library? Feb 22 23:12:01 He's making us sandwiches. Feb 22 23:12:18 lov: I'm making a library, but not a library project. Feb 22 23:12:25 I don't need the acitivties in my jar. Feb 22 23:12:38 What layout can you use with a WebView if you nest WebView inside it? Feb 22 23:13:00 Linear layout > WebView - I can't use Linear Layout with WebView? Feb 22 23:13:22 Snwspeckle: you can Feb 22 23:13:32 Its telling me I can't when I run my app Feb 22 23:13:43 what is it really telling you Feb 22 23:13:49 java.lang.ClassCastException: android.widget.LinearLayout cannot be cast to android.webkit.WebView Feb 22 23:14:19 yeah, it's not saying what you think at all Feb 22 23:14:19 Snwspeckle: That seems like you're trying to do something like (WebView)findViewById(R.id.linearLayout) Feb 22 23:15:14 WebView webSub = (WebView) web.findViewById(R.id.webview); ---- Thats what I use,do I need to access the main part of the xml before accessing the webview? Feb 22 23:15:26 Snwspeckle: pastebin your xml Feb 22 23:15:44 I bet you have the linearlayout marked as @+id/webview Feb 22 23:16:00 Nope I don't but 1 second Feb 22 23:16:27 http://codepad.org/pBmIY5pJ Feb 22 23:16:32 [18:15:44] I bet you have the linearlayout marked as @+id/webview Feb 22 23:16:37 this ^ Feb 22 23:16:43 Snwspeckle: what is "web" in that example? Feb 22 23:16:46 web.findView Feb 22 23:16:56 Who has a Razr/Razr Maxx? Feb 22 23:17:09 That is used to determine the region Feb 22 23:17:26 hah, ok, pastebin your java :) Feb 22 23:17:34 I basically wanted to add a border around the webview so I was going to nest it in a LinearLayout but I think its causing errors Feb 22 23:17:41 Is there a better way to do this? Feb 22 23:18:08 Or am I able to restrict a tab from being able to horizontally scroll? Feb 22 23:20:10 hi there! is any away to check if the memory card is avaiable? thanks! Feb 22 23:20:28 yep. Feb 22 23:20:36 There's a nice tutorial on that metsys23. Feb 22 23:20:40 hold on... Feb 22 23:20:42 Snwspeckle: you have used up your questions for today ;) Feb 22 23:21:14 metsys23: http://developer.android.com/reference/android/os/Environment.html#getExternalStorageState() Feb 22 23:21:21 See the section "using the External Storage" at http://developer.android.com/guide/topics/data/data-storage.html Feb 22 23:21:23 :P I have learned a lot today though Feb 22 23:21:30 ... that too :-) Feb 22 23:22:04 I've been doing Android development as my full time job for a few years now and I still learn a lot :-) Feb 22 23:23:30 Anyone know how to sync the Google Chrome Beta app on Android with your current browser? I don't see the sync button? Feb 22 23:23:51 sign in on both devices Feb 22 23:24:11 coderroadie and lov thanks!!! Feb 22 23:24:30 I am and its not syncing on my phone? Feb 22 23:24:49 idk then sorry Feb 22 23:24:54 it Just Worked (TM) for me Feb 22 23:24:55 Wierd Feb 22 23:32:54 t0mless, that was you?!? Feb 22 23:34:05 Greetings Feb 22 23:34:59 , earthlings Feb 22 23:35:37 Hi there. I just bought a non-functioning, but supposedly in mint physical conviction nexus one. I haven't received it yet, but it won't boot past the X boot logo. Just by knowing this, does it sound like software problem? This is my first android phone. I was hoping I could fix it with fast boot… Any tips? Feb 22 23:36:26 If device chooser says the target is unkown for USB debugging, whats the issue? Feb 22 23:37:32 jphreak: i would suspect software, yes, though there's always the possibility of wackiness Feb 22 23:38:02 Also how do you stop certain files from openeing when you launch eclipse? Like 5 random class files are opening Feb 22 23:38:17 dragorn: oh ok, let's hope so. i should be getting it in the mail very soon. any tips on what the first thing i should try to fix it? Feb 22 23:38:29 Snwspeckle: they're whatever you had open before. Close them before quitting and it wont' restore your workspace. Feb 22 23:38:38 k thanks Feb 22 23:38:41 jphreak: I think you're on the right track for fastboot Feb 22 23:38:45 I was thinking first I could try to get to the recovery menu on the phone itself and do a recover, and if that doesn't work, can I still use fast boot or something from my lpaotp? Feb 22 23:39:20 how can I install Android on my HTC HD7? Feb 22 23:39:39 jphreak: probably more applicable to #android-root since this is mostly appdev here, but yeah - fastboot a recovery image. You ought to be able to fb a clockworkmod and wipe and re-install from a base image Feb 22 23:39:42 If anyone who's good with Android could take a look at this, I would appreciate: http://stackoverflow.com/q/9404969/354247 Feb 22 23:39:53 ^ More like good with Ant and Android Feb 22 23:40:01 Anarchy7: try android-root or the channel for whatever firmware you're trying to install, this is for app dev Feb 22 23:40:20 Anarchy7: go to #android-root Feb 22 23:40:21 thanks Feb 22 23:40:29 dragorn: sweet, thanks. I'll check out android-root Feb 22 23:40:32 dragorn: thanks Feb 22 23:42:15 jphreak: I think you're on the right track tho. There's always the outside chance something is seriously broken causing the boot to fail, but more likely someone was messing with it and pooched the firmware. If you can get into fastboot and you can boot a recovery image, you can at least know you're dealing with a clean system. If it still fails, worry about hw. Feb 22 23:42:41 heya :D Feb 22 23:43:27 I am starting up my project to make a custom rom for Samsung i9100 (SGS2) Feb 22 23:44:18 ssebastiane: #android-root Feb 22 23:44:35 yawn Feb 22 23:44:39 aha, I was pointed here by a friend, but ty =) Feb 22 23:44:44 ty lov Feb 22 23:45:10 creating command-line getopt java applications feels so perverse :) i love it Feb 22 23:48:16 My god, why is ADB refusing requests 24/7... Feb 22 23:48:26 huh Feb 22 23:49:10 My eclipse debugger is broken.. Feb 22 23:49:16 jasta: a long time ago i used jOpt, seems like it is still alive and kicking Feb 22 23:49:19 * Jug6ernaut never uses the debugger Feb 22 23:49:20 like Feb 22 23:49:21 ever Feb 22 23:49:34 Snwspeckle: someone probably already owns that port Feb 22 23:49:45 Whatcha mean Feb 22 23:49:59 ADB can't connect to the correct port because another process is using it already Feb 22 23:50:23 How can I check what is using what Feb 22 23:51:20 note to self, never hire Jug6ernaut... Feb 22 23:51:45 I can't even fricken use Logcat because as soon as adb refused request hits, logcat wipes everything.... Feb 22 23:51:48 g00s: i found a Getopt library purely in java that seemed to work perfectly Feb 22 23:51:57 jasta dont be mad bcz my mad skill exempt me from needing a debugger Feb 22 23:51:59 you guys see GitHub Guag.es app? Feb 22 23:52:02 reference-quality shit Feb 22 23:52:09 not to mention they use a few good libraries :) Feb 22 23:52:37 https://github.com/blog/1054-gaug-es-for-android Feb 22 23:53:09 interesting Feb 22 23:53:22 i moved all my sites from Google analytics to it after it was announced Feb 22 23:53:26 pretty badass service Feb 22 23:53:28 only $6/mo Feb 22 23:53:40 what github? Feb 22 23:53:49 no guag.es Feb 22 23:54:07 oooooooooo Feb 22 23:54:19 better then google analytics u say? Feb 22 23:54:33 arg Feb 22 23:54:35 netsplits Feb 22 23:58:02 lol Feb 22 23:58:46 but… but... Feb 22 23:58:50 google analytics is free Feb 22 23:59:06 this is realtime Feb 23 00:03:26 Eclipse crash once again... I clicked LogCat and it crashed, wtf is wrong with this program for gods sake Feb 23 00:03:40 Snwspeckle: it got rewritten in Java? Feb 23 00:03:50 Huh? Feb 23 00:04:17 Snwspeckle: Eclipse is the fruit of rewriting a different IDE from Smalltalk to Java Feb 23 00:04:29 Its based off the IBM IDE Feb 23 00:04:35 and started evolving from there Feb 23 00:05:16 And failed now Feb 23 00:05:39 Snwspeckle: it's actually a descendant of IBM's Smalltalk-based IDE, which for Java *ME* got rewritten in Java (the 'normal' Java support was written in smalltalk, and included its own JVM built in smalltalk) Feb 23 00:05:56 You know the history :P Feb 23 00:06:17 * Jug6ernaut has never heard of smalltalk Feb 23 00:07:28 org.eclipse.jdt.ui.CompilationUnitEditor: The file does not exist --- Anyone know how to fix this, it is causing most of my eclipse crashes.. Feb 23 00:07:40 Jug6ernaut, yeah better Feb 23 00:07:50 doesn't have as detailed metrics Feb 23 00:07:59 but it has 99% of what most people need Feb 23 00:08:02 and it looks about 10x better Feb 23 00:08:04 * Jug6ernaut doesnt use 1/2 of them anyways Feb 23 00:08:08 new google analytics is a mess Feb 23 00:08:36 * Jug6ernaut will have to look into it Feb 23 00:08:59 JakeWharton, yea, I'm Sleepybear Apps Feb 23 00:09:11 so blogger and github are as Sleepybear Feb 23 00:09:23 ah gotcha Feb 23 00:09:41 it was a hippie name my friend came up with when we were sitting around drinking beer Feb 23 00:09:43 I didn't know if that was ADT or what that did the styling Feb 23 00:09:49 i know they have the new formatter for XML Feb 23 00:09:57 my GF is Tofu Panda, he is Morning Wood... another one was Jawbone Sunshine Feb 23 00:10:27 should have been Mourning Wood, logo is a 2x4 wearing a black veil Feb 23 00:12:13 http://pastebin.com/DaRRxfdi --- Anyone know why this is throwing me an error? Feb 23 00:13:14 the error window in Eclipse might? Feb 23 00:13:20 what does it say? Feb 23 00:13:32 I doubt WebView has a gravity attribute Feb 23 00:13:39 that may be the problem Feb 23 00:13:51 My app keeps crashing when I start it and its when I add the LinearLayout that I crash Feb 23 00:14:03 The WebView content is not inflicting the error Feb 23 00:14:22 paste the error Feb 23 00:14:40 JakeWharton: but that will inflict it upon us ! Feb 23 00:14:47 * JakeWharton RUNS Feb 23 00:14:52 hide yo kids Feb 23 00:14:54 I can't my eclipse always hits adb refused before I have time to extract the error from LogCat.... Feb 23 00:14:54 hide yo wives Feb 23 00:15:05 run adb logcat in the console Feb 23 00:15:22 eclipse is as reliable as the mayan apocolypse Feb 23 00:15:35 so, i just unpacked my playbook. weird interface Feb 23 00:15:37 :P So how do you read an error in cmd lol! Feb 23 00:15:49 JakeWharton: given that there isn't an apocalypse... :D Feb 23 00:16:27 adb logcat Feb 23 00:16:33 it'll tail itself Feb 23 00:16:41 Its hard as hell to read lol Feb 23 00:17:09 errors are hard to miss Feb 23 00:17:20 they're like 50+ lines of a stacktrace Feb 23 00:17:39 So wait, how do I push the newest debug to my phone through cmd> Feb 23 00:17:47 adb -d install ir apk? Feb 23 00:17:50 -r* Feb 23 00:23:08 Anyone know why it trys to upload my apk but always does a timeout?... Feb 23 00:24:08 Now eclipse crashed as soon as I click LogCat ffs Feb 23 00:25:43 try just "adb install ir.apk" without the -d option Feb 23 00:26:45 make sure the apk is your current dir where you're issuing the command from also Feb 23 00:27:36 hey Feb 23 00:27:50 I'm having an issue with my bluetooth keyboard layout Feb 23 00:28:15 or more, I'm not able to change the layout to dvorak as I could with my transform Feb 23 00:28:35 good god, was that a netsplit? Feb 23 00:28:49 netsplit it was Feb 23 00:29:23 that was a netmerge Feb 23 00:29:27 netjoin Feb 23 00:29:31 netharmony Feb 23 00:29:47 netconsummation Feb 23 00:30:01 I've edited the /system/usr/keylayout/qwerty.kl file to my liking (dvorak standard) but it doesn't seem to be changing the way the keyboard inputs, any ideas? Feb 23 00:33:12 Hello all Feb 23 00:33:41 To Do Mapr is dropping for beta testing tonight. New site will be up later tonight but please go to www.todomapr.com to check out the promo video. Please support us. App is free :) Feb 23 00:34:20 do i have to be signed up to test? Feb 23 00:34:42 JakeWharton: the Beta Invitation will require email address and confirmation... but not from that main site. Feb 23 00:34:49 The Beta Invite link will be on the new site tonight. Feb 23 00:34:55 ok Feb 23 00:35:27 But if you sign up on that main link now, we'll send you the link to download the app without having go through the Facebook Like etc.. process. Feb 23 00:35:41 i don't have facebook Feb 23 00:35:46 so i probably should do that... Feb 23 00:36:02 JakeWharton: k Feb 23 00:36:22 YOU GUYS KNOW HOW TO POST VIDEOS TO.. FACEBOOK? Feb 23 00:36:23 http://www.youtube.com/watch?v=h03oaRIJ8W0 Feb 23 00:36:29 hehe Feb 23 00:39:09 [NotHere], you here? Feb 23 00:39:23 JakeWharton: are you bored or what? :P Feb 23 00:39:34 taking a mental break Feb 23 00:39:39 usually that involves harassing other people Feb 23 00:40:05 no one is entertaining you bro :( Feb 23 00:40:08 I need an issue tracker for my life Feb 23 00:40:15 todo lists don't cut it Feb 23 00:40:19 I need full-on JIRA Feb 23 00:40:30 heh Feb 23 00:40:32 JakeWharton, that's a great idea Feb 23 00:40:34 i'd like to write one Feb 23 00:41:07 $10/mo for hosted JIRA Feb 23 00:41:14 or $10 one-time if you host yourself Feb 23 00:41:31 JakeWharton: Im going the hosted route, you get 2 months free so its $100 Feb 23 00:41:41 nice Feb 23 00:41:42 you get 24x7 support and less headache. Feb 23 00:41:49 and they do the upgrades Feb 23 00:41:52 exactly Feb 23 00:42:01 i backed up our self-hosted instance at work trying to go from 4.3 to 4.4 Feb 23 00:42:03 botched the upgrade Feb 23 00:42:11 said F-it, and bought the hosted, restored the backup Feb 23 00:42:15 I am moving from Basecamp, I just used the free tier while To Do Mapr was being developed and readied. Now we're moving to JIRA Feb 23 00:42:49 I'm trying to move to hosted (nearly) everything Feb 23 00:43:17 same here, moving to JIRA soon then EC2 for the todomapr.com website and Google AppEngine is where our web service is currently being developed. Feb 23 00:43:21 <-- sleeps better at night Feb 23 00:43:36 no official JIRA app for android, not cool Feb 23 00:43:44 i thought about making one Feb 23 00:43:49 but then i didn't Feb 23 00:43:51 :D Feb 23 00:43:53 lol Feb 23 00:43:56 vladikoff: i thought i read there was one? Feb 23 00:44:04 there's a couple ones but they all suck Feb 23 00:44:09 ^ Feb 23 00:44:09 JakeWharton: dont worry, your gift to the world is ABS Feb 23 00:44:38 you say gift to the world, I read incredible time suck and craziness inducer Feb 23 00:45:03 potato, potato Feb 23 00:45:11 that expression doesn't work on the internet Feb 23 00:45:15 tomato, tomato Feb 23 00:46:05 PO-TA-TOES Feb 23 00:46:05 http://www.youtube.com/watch?v=V3CgeJED9SU Feb 23 00:46:51 JakeWharton: because it was incredibly time sucking and craziness inducing... we appreciate the effort you put into it. Feb 23 00:47:01 thats exactly the reason its a gift Feb 23 00:47:04 haha Feb 23 00:47:06 well thanks Feb 23 00:47:14 was that too emo for you? haha Feb 23 00:47:27 one day i hope to actually write an app Feb 23 00:47:30 a man can dream... Feb 23 00:47:39 lol Feb 23 00:47:42 I just appreciate people that write libraries... shit aint easy but you make it easier for us using it. Thats fucking awesome. Feb 23 00:47:48 JakeWharton, i saw this today, comments all about you http://news.ycombinator.com/item?id=3622373 Feb 23 00:48:01 JakeWharton all i know, is the person who made that video had WAY to much time on htere hands lol Feb 23 00:48:02 JakeWharton: you have written apps, in the philosophical sense, because people are using ABS in their apps. Feb 23 00:48:23 ladies and gentlemen, i think i have fixed a bug Feb 23 00:48:30 :o Feb 23 00:48:51 QubeZ, that's why i work on it so much Feb 23 00:49:08 I get to enjoy the spoils of people who now don't have to worry about action bar BS and can focus on making better apps Feb 23 00:49:16 hey JakeWharton, you ever have any success using R.java-type resources from within a library w/o distributing the source to the library? Feb 23 00:49:23 not supported Feb 23 00:49:25 yet Feb 23 00:49:28 JakeWharton: Feb 23 00:49:43 Any tricks, then? Feb 23 00:49:44 vladikoff, thanks for the link. i saw it on GitHub's blog but not there Feb 23 00:49:54 Gambit-, library projects for now... Feb 23 00:49:56 or use maven :) Feb 23 00:50:55 has anyone had issues upgrading a previously free app to a paid one? Feb 23 00:51:14 can't be done Feb 23 00:51:51 diff packages right? sometimes you get that license add-on as in-app purchase Feb 23 00:52:28 does anyone know what does exactly the xml parser do when it reads "@null" ? Feb 23 00:53:02 that's a shortcut for the Java null Feb 23 00:53:05 nah, same package name. so just remove old one and upload with a new package name? Feb 23 00:53:12 JakeWharton: are you sure ? Feb 23 00:53:42 dro_: why did you say same package name then follow-up by saying remove the old one and upload new package name? Feb 23 00:53:45 so you have a new package name? Feb 23 00:53:58 xroberx, yes Feb 23 00:54:54 Jamoka: Take a look at the method setButtonDrawable(Drawable d) in CompoundButton.java, you'll see it does nothing if "d" is null. But in xml, if you set the equivalent attribute (button) to "@null" it makes the button dissapear... Feb 23 00:54:55 QubeZ: no it's the same package name Feb 23 00:55:25 xroberx: how do you explain that ? Feb 23 00:55:37 i think once you have a packagename of an app that you uploaded as "free", you cannot upload the same package name as Paid Feb 23 00:55:42 you have to have a new package name Feb 23 00:55:57 that is what com.example.android.myapplite and myapppro are for Feb 23 00:56:04 lite vs pro Feb 23 00:56:39 QubeZ: oh ok Feb 23 00:56:56 appreciate it Feb 23 00:57:02 not a prob Feb 23 00:58:42 Jamoka: I think it depends on the specific attribute, it doesn't mean "null" as in java code null always, but I haven't been able to find the specific code on the SDK Feb 23 01:01:37 xroberx, if you're talking to me, that value is parsed in the constructor, it doesn't call any methods Feb 23 01:01:51 JakeWharton: yes, sorry :) Feb 23 01:02:21 here: https://github.com/android/platform_frameworks_base/blob/master/core/java/android/widget/CompoundButton.java#L74-77 Feb 23 01:02:40 grah Feb 23 01:02:53 I still can't get the app to not crash when checking for wifi Feb 23 01:02:55 harg Feb 23 01:03:39 wootwootwoot Feb 23 01:03:45 JakeWharton: btw, I really like the "big trouble in little china" movie :) I've seen it 7 or 8 times Feb 23 01:05:40 i like that movie cause it's in san francisco :D like me Feb 23 01:06:17 So, I'm trying to see if a device is connected to wifi, but whenever I run with this code, the app crashes: http://pastebin.com/ZiMLzDvs Feb 23 01:06:26 Any ideas what I'm doing wrong? Feb 23 01:07:25 what's the error you get when it crashes? Feb 23 01:07:45 the debug tab fills up with a whiole bunch of crazy stuff Feb 23 01:07:54 you probably need to add the permission to your manifest Feb 23 01:07:57 Feb 23 01:08:01 i have that Feb 23 01:08:28 well the debug window should explain the problem... can you paste it into the pastebin? Feb 23 01:08:51 this should work maybe the same: http://dl.dropbox.com/u/3270519/pics/Screenshots/Capture.PNG Feb 23 01:08:58 that's what it does when i run it Feb 23 01:09:33 oh erm well do you have the loggcat errors? Feb 23 01:09:39 that's what i wanted to see :) Feb 23 01:10:30 the debugger settles and then nothing Feb 23 01:10:39 at least nothing involving my app Feb 23 01:10:52 honestly, in your CheckWiFi() i would just get a refernce to the connectivity manager right there and then, instead of caching the network info and accessing it later Feb 23 01:11:28 same thing happens Feb 23 01:13:13 This is the logcat when I try to debug: http://dl.dropbox.com/u/3270519/log.txt Feb 23 01:15:39 I think i might have found the problem Feb 23 01:15:54 Yep Feb 23 01:16:08 ah what was it? Feb 23 01:16:11 In the manifest instead of just a typo Feb 23 01:16:17 ha Feb 23 01:16:22 good catch ;) Feb 23 01:16:28 yup Feb 23 01:16:31 thanks for the help Feb 23 01:16:38 aye Feb 23 01:18:30 Would using a socket ot HTTP communication be better for a chatbox that communicates with a web app as well? Feb 23 01:18:34 or* Feb 23 01:21:40 JakeWharton: so, how do I achieve the same result as the xml parser when calling the RadioButton constructor ? I guess the parses uses the largest constructor and passes in the AttributeSet parameter, whereas If i create a RadioButton in code, I use the shortest form of the constructor (RadioButton(context)) and then setButtonDrawable(null) fails to remove the button drawable because it does nothing if its parameter is null... Feb 23 01:22:14 xroberx: Would it be better to parse a chatbox using HTTP or sockets? Feb 23 01:22:19 I am using JSON Feb 23 01:23:17 JakeWharton: What does using maven have to do with library project resources? Feb 23 01:23:24 Snwspeckle: I don't know sorry, I've never implented one Feb 23 01:23:33 Ok Feb 23 01:23:34 maven can bundle resources in .apklibs Feb 23 01:23:40 orly Feb 23 01:23:56 how does it do that? Feb 23 01:24:08 JakeWharton: What would be better for parsing a chatroom between an android app and a desktop app using JSON, HTTP or Socket? Feb 23 01:24:08 I thought the android resources were all loaded in via mmap'ed file? Feb 23 01:24:34 Gambit-, when you're compiling your app it downloads the .apklib, explodes it in the target dir, and adds it to the build path Feb 23 01:24:38 JakeWharton: Any cross-referencing documentation would be appreciated. Feb 23 01:24:53 ah interesting Feb 23 01:24:57 o.0 Feb 23 01:25:02 it's just a .jar with a different file extension Feb 23 01:25:05 so you could distribute an apklib with class files and the resources blown out? Feb 23 01:25:16 developer page lists that my apps are api 3-16+ compatible Feb 23 01:25:20 basically, except you don't distribute with maven Feb 23 01:25:21 there is no apit 16 Feb 23 01:25:24 api* Feb 23 01:25:25 you just push to a repo somewhere Feb 23 01:25:36 cr5315, yeah everyone's does Feb 23 01:25:44 does that integrate at all with eclipse or intellij or do you ahve to use maven through-and-through? Feb 23 01:25:50 so then what's api 16? Feb 23 01:25:59 the next version of android Feb 23 01:26:00 * Gambit- hasn't used maven at all and only has a rough idea of what it actually is. Feb 23 01:26:11 it integrates with both Feb 23 01:26:15 intellij better than eclipse Feb 23 01:26:18 interesting. Feb 23 01:26:26 do you have an example or a sample doc that you can point me at? Feb 23 01:26:42 https://github.com/github/gauges-android/tree/master/app Feb 23 01:26:45 no libs/ folder Feb 23 01:26:50 but look at in the pom.xml Feb 23 01:27:15 ah interesting Feb 23 01:27:24 so it'll resolve all of those by pulling from the repositories at the top? Feb 23 01:27:37 well it'll resolve them using central Feb 23 01:27:44 the repos at the top are additional ones Feb 23 01:27:49 for things not in a central repo Feb 23 01:28:02 gotcha Feb 23 01:28:06 that's an interesting technique. Feb 23 01:28:22 to update a dependency all you do is change one number in the pom.xml Feb 23 01:28:32 next time you run, it auto fetches the new .jar and bundles it in Feb 23 01:28:38 s/run/compile/ Feb 23 01:28:54 gotcha Feb 23 01:29:09 Alright, I'll pass that on to my friend who actually has this problem as a potential resource, thanks :) Feb 23 01:37:01 JakeWharton: did you add +todomapr.com in your email address? Feb 23 01:37:12 i did Feb 23 01:37:23 you can put anything after + in gmail addresse Feb 23 01:37:32 didnt know that Feb 23 01:38:46 like foo@google.com+barbarbar? Feb 23 01:38:50 or foo+barbarbar@google.com? Feb 23 01:38:57 Gambit-: latter Feb 23 01:38:59 second one Feb 23 01:39:04 ah, yeah Feb 23 01:39:07 I just have my own domain. Feb 23 01:39:11 periods don't matter Feb 23 01:39:15 neither do anything after + Feb 23 01:39:35 oh, you mean foo.bar@gmail.com is the same as foobar@gmail.com? Feb 23 01:40:05 you can do j.a.k.e.w.h.a.r.t.o.n@gmail.com and it'll still go to me Feb 23 01:40:05 QubeZ, I put the domain of services I'm signing up for in the signup email address so I can see who sells my email to spammers Feb 23 01:40:12 correct Feb 23 01:40:20 Hah, I do the same thing. Feb 23 01:40:34 and people, too Feb 23 01:40:44 so I get some weird, "Oh, are you related to me?" questions every now and then. Feb 23 01:40:52 JakeWharton: but wouldn't smart people just strip the + and after that then sell that to spammers? Feb 23 01:41:07 JakeWharton, makes me wonder, why can't they just run a regex and remove the "+" and everything after Feb 23 01:41:14 yea QubeZ Feb 23 01:41:22 yes, but usually they're doing a SELECT email FROM users and sending it Feb 23 01:41:24 probably because not enough people do that to make it worth thile. Feb 23 01:41:38 its more for organization purposes but ya, i guess its still low-tech security Feb 23 01:41:38 vladikoff, because + is valid in email addresses and may mean something on other domains/services Feb 23 01:41:51 ah Feb 23 01:41:57 jake+wharton@yahoo.com is not the same as jake@yahoo.com Feb 23 01:42:03 not that I know if they allow + or not Feb 23 01:42:05 but the RFC does Feb 23 01:42:33 Would I need to use a TCP Stream to communicate with a chatroom using JSON? Feb 23 01:43:01 yes but if you're using that don't bother with JSON Feb 23 01:43:06 use protocol buffers or something Feb 23 01:43:29 I am using a JSONAPI so wouldn't I need to stream the API over a socket though? Feb 23 01:43:50 you could do that Feb 23 01:44:15 I believe I will need to since the server is sending the information via JSON Feb 23 01:44:40 Also, streams are live, so when an action on the server is made, isn't it automatically parsed to the client then? Feb 23 01:45:21 yes Feb 23 01:46:00 HOW DO I make a pre-3.0 dialog not fill up the width of the screen? Feb 23 01:46:06 sorry about the caps, didn't feel like going back Feb 23 01:46:17 onward and upward only Feb 23 01:46:21 android:gravity ? Feb 23 01:46:55 could probably set it explicitly with android:layout_width Feb 23 01:47:05 well it needs to be expandable Feb 23 01:47:20 on 3.0+ it works fine and doesn't expand the whole way Feb 23 01:48:03 how much space does the ICS source take up, like 6 gigs? Feb 23 01:48:14 about Feb 23 01:48:21 a lot more if you compile Feb 23 01:48:31 I guess I can spare some space for it Feb 23 01:48:55 not as interested in compiling as having easier access that a shitload of github windows Feb 23 01:49:15 than* Feb 23 01:49:41 yeah Feb 23 01:49:43 same Feb 23 01:49:51 that and stealing from frameworks/base/core/res/res Feb 23 01:50:12 JakeWharton: https://github.com/alecgorge/jsonapi/wiki/How-to-use-the-stream-api-over-a-socket-connection ---- Would I be able to use this plugin to stream data to an Android app? Feb 23 01:50:17 word Feb 23 01:51:14 if it's written in java Feb 23 01:51:17 probably Feb 23 01:51:52 I believe the plugin creates a JSON object but then I just need to stream it via a socket? Feb 23 01:54:33 Can you send information back over a socket stream? Feb 23 01:54:53 socket is two way Feb 23 01:55:10 ok Feb 23 01:55:11 how do I make http://i.imgur.com/QQq67.png look like http://i.imgur.com/UFj8e.png :) Feb 23 01:55:16 This is going to be hard :P Feb 23 01:55:21 ignore the density changes Feb 23 01:55:29 Oh its umm Feb 23 01:55:40 i've never used pre-3.0 dialog themes Feb 23 01:55:51 guess is should see what it looks like normally Feb 23 01:55:54 android:gravity="center_vertical | center_horizontal" Feb 23 01:55:56 JakeWharton: can't you just 9-patch it out? Feb 23 01:56:00 it is a 9-patch Feb 23 01:56:01 That would set it center in the container Feb 23 01:56:11 it's already centered Feb 23 01:56:21 it's just expanding to fill the window Feb 23 01:56:26 Reduce the spac horizontally? Feb 23 01:56:29 span* Feb 23 01:56:41 Set it to a percentage inward of the width? Feb 23 01:56:42 whups, time to go camp the meetup. Feb 23 01:56:43 ciao all. Feb 23 01:56:51 i can't set the width Feb 23 01:56:54 i needs to expand Feb 23 01:57:01 if there's the content to expand it Feb 23 01:57:20 I am not sure then sorr Feb 23 01:58:19 considering the ANR dialog I just got did the same thing Feb 23 01:58:21 I'm not hopeful Feb 23 01:58:28 wait Feb 23 01:58:29 no Feb 23 01:59:02 it is me, somehow Feb 23 01:59:18 the default dialog theme isn't partially transparent either... Feb 23 01:59:54 if any of you are fans of Guild Wars, the Guild Wars 2 beta signup is open for today and tomorrow Feb 23 02:00:11 and I'll leave my off topicness at that. Feb 23 02:03:22 fuck balls http://www.androidpolice.com/2012/02/22/psa-californias-new-app-privacy-policy-requirement-just-made-life-harder-for-developers-everywhere-heres-what-you-need-to-know/ Feb 23 02:04:47 cow Feb 23 02:04:48 Do I need an SDK to call an API's functions? Feb 23 02:04:49 fix mah dialogs Feb 23 02:05:04 Or do I just need to setup a connection to the server Feb 23 02:05:27 Snwspeckle: what? Feb 23 02:05:34 JakeWharton: what? Feb 23 02:05:48 cow: how do I make http://i.imgur.com/QQq67.png look like http://i.imgur.com/UFj8e.png :) Feb 23 02:06:22 My... what a long... dialog you have... Feb 23 02:06:31 i dont know Feb 23 02:06:34 The better to prompt you with Feb 23 02:06:37 JakeWharton: fix the LVL library code Feb 23 02:06:39 LEARN Feb 23 02:06:52 IDK WUT DAT IS Feb 23 02:07:40 JakeWharton you add maxWidth to the attributes for dialog? Feb 23 02:07:46 i fixed it Feb 23 02:07:50 no thanks to anyone canadian Feb 23 02:07:54 ... Feb 23 02:08:01 can i git revert all the changes i made to ABS Feb 23 02:08:03 or of bovine descent Feb 23 02:08:03 LVL is fucking bat shit crazy shit Feb 23 02:08:03 like that one example Feb 23 02:08:14 t0mless, put LVL on your resume :P Feb 23 02:08:19 haha Feb 23 02:08:27 I was going to use it in my v2.0 Feb 23 02:08:33 but I don't have a verification server Feb 23 02:08:37 nor do i Feb 23 02:08:38 well i mean Feb 23 02:08:40 and fuck app engine Feb 23 02:08:41 i could make one Feb 23 02:08:43 what is lvl Feb 23 02:08:53 licence shit via market Feb 23 02:08:53 license verification library? Feb 23 02:09:02 oh Feb 23 02:09:11 you can then provide like beta testers with free licenses Feb 23 02:09:28 and then revoke them! Feb 23 02:09:43 but it pretty much just checks if the current user has a valid license to use the app Feb 23 02:10:14 On the plus side I don't think using the LVL requires internet permission... though not sure how you're supposed to check that with your own server Feb 23 02:10:26 or maybe I'm thinking IAB + LVL Feb 23 02:10:28 1. you dont need your own server Feb 23 02:10:30 because I was looking at both Feb 23 02:10:38 2. you talk to the market app, which has internet Feb 23 02:10:46 *internets Feb 23 02:11:01 would be stupid to ask for internet permission just for LVL Feb 23 02:11:57 ive been playing with AntiLVL Feb 23 02:12:07 i think ive got my app setup so if you run AntiLVL, it locks you out :P Feb 23 02:12:27 there's an AntiLVL? Feb 23 02:13:44 lol Feb 23 02:13:47 google it Feb 23 02:13:50 its actually pretty neat Feb 23 02:13:52 windowMinWidthMajor Feb 23 02:13:52 Since: API Level 11 Feb 23 02:13:57 culprit: located Feb 23 02:14:34 I'm pondering putting the leaked ICS build on my A500 Feb 23 02:14:53 you won't do it Feb 23 02:15:04 Feb 23 02:16:19 Huh... I wonder if it resigns it with a new key Feb 23 02:16:38 JakeWharton: https://github.com/JakeWharton/ActionBarSherlock/blob/4.0-wip/samples/fragments/src/com/actionbarsherlock/sample/fragments/FragmentListArraySupport.java --- In that example, where does it call the layout? Feb 23 02:16:57 Another easy way to get around that is to have your app store a CRC of your LVL code or something at compile time and then check it to see if it's been changed Feb 23 02:17:29 https://github.com/JakeWharton/ActionBarSherlock/blob/4.0-wip/samples/fragments/src/com/actionbarsherlock/sample/fragments/FragmentListArraySupport.java#L41 Feb 23 02:17:30 right thar Feb 23 02:17:45 Which I saw somewhere I think google IO about LVL, is super easy since it's been zipaligned you have the CRC already to go to check, so it makes it fast Feb 23 02:18:34 Which layout is it attempting to call though? Feb 23 02:19:32 non Feb 23 02:19:33 e Feb 23 02:19:41 it creates the fragment and attaches it to the root view Feb 23 02:19:48 the fragment is a list fragment so it takes care of its own view Feb 23 02:19:53 you just supply the adapter for the contents Feb 23 02:20:04 ok Feb 23 02:20:22 t0mless: AntiLVL disables checks like that Feb 23 02:20:29 it can disable all calls to get the signature Feb 23 02:20:30 the package name Feb 23 02:20:35 the install source Feb 23 02:20:41 file size Feb 23 02:21:08 interesting Feb 23 02:21:21 they would have to sign it with a new key though Feb 23 02:21:28 yes Feb 23 02:21:28 JakeWharton: https://github.com/JakeWharton/ActionBarSherlock/blob/4.0-wip/samples/fragments/res/layout/fragment_pager_list.xml --- Would I use this layout for this class? Feb 23 02:21:35 wonder if you can check that Feb 23 02:21:50 for what? Feb 23 02:22:20 Would I use that layout for the ListFragment example class? Feb 23 02:22:35 You like how I picked the easiest tiny little bug to fix last night when I couldn't sleep JakeWharton Feb 23 02:22:45 still a bug Feb 23 02:22:54 it was like 3am so no way was I going to even start on anything else :p Feb 23 02:22:55 that's all i care about Feb 23 02:27:14 Snwspeckle, that layout is for an entire fragment Feb 23 02:27:17 not a list item Feb 23 02:27:22 Ok Feb 23 02:29:00 Once again, Eclipse has crashed for the 22nd time tonight... Feb 23 02:30:06 you're doing it wrong Feb 23 02:30:11 i probably get one crash in 22 days Feb 23 02:31:06 Make it crash 23.... Every time I click debug I crash Feb 23 02:31:17 my eclipse will just exit randomly with no explanation Feb 23 02:31:23 bit of a PITA Feb 23 02:31:44 Mine crashes everytime I debug, as well as it saying its installing the apk, then fails and says device not found... Feb 23 02:31:57 ditch Eclipse, get IntelliJ Feb 23 02:32:03 are you still having problems, Snwspeckle ? Feb 23 02:32:12 Of course... Feb 23 02:32:20 even with the apk with no spaces? Feb 23 02:32:32 Yes... Feb 23 02:32:40 does it work from CLI ? Feb 23 02:32:46 It says installing my apk, then it says device not found Feb 23 02:33:07 emulator or phone? Feb 23 02:33:13 USB debug, phone Feb 23 02:33:19 work on the emulator? Feb 23 02:33:26 CLI seems stuck in a loop and I will not run the emulator Feb 23 02:33:33 It has basically no response Feb 23 02:33:58 I am trying to install via CLI and its just stuck and not giving me a success message or anything Feb 23 02:34:12 oh your "new machine" it has "no response" ? i find that very hard to believe Feb 23 02:34:41 what do you get when you open a CLI and type "adb devices" Feb 23 02:34:42 Its acting dumber than a rock Feb 23 02:34:59 its stuck on the install... Feb 23 02:35:10 It just is blinking with the "-" Feb 23 02:35:16 underscore* Feb 23 02:35:33 open a new window and see what it returns Feb 23 02:35:56 Its showing it in the adb, eclipse debug plugin is shit.... Feb 23 02:35:57 Is there anyway to change the color of the title divider in alert dialog? Feb 23 02:36:11 Snwspeckle: when you run from CLI, what are you typing in? Feb 23 02:36:14 setting a custome title only replaces the area above the title divider Feb 23 02:36:29 I have it working via CLI Feb 23 02:36:34 screw eclipse debug.. Feb 23 02:36:41 so there's no problem then... Feb 23 02:36:53 don't run every build as debug Feb 23 02:36:56 With eclipse still but adb in CLI is fine then Feb 23 02:36:57 that'll help a lot Feb 23 02:37:04 ctrl+f11 Feb 23 02:37:06 not f11 Feb 23 02:38:39 hey fools, accounts/accountmanager question: if I have the user pick an account and they pick foo@gmail.com, I'd still need to request an auth token and validate that against google, right? Feb 23 02:38:41 So how do we make a custom listview? I need to design one for a chatroom... Feb 23 02:38:54 since they could've installed a fake gmail account provider which let them type in whatever account they wanted Feb 23 02:39:03 Snwspeckle: you need a custom adapter Feb 23 02:39:40 Alrighty Feb 23 02:40:47 How would you set text horizontal of each other then? Feb 23 02:46:06 hey, do you guys preffer if i paste 3 classes into 1 pastebin, or do you want 3 different? the 2 help classes are pretty small. Feb 23 02:49:58 evancharlton, depends on what you're doing Feb 23 02:50:21 but what you said would be possible I guess, so you'd need to do a full auth if you needed to ensure they're a google user Feb 23 02:50:47 JakeWharton: well I don't need to ensure they're a google user, but I would need to ensure they're the owner of the account they're saying they are Feb 23 02:50:59 if I was storing data keyed by their account name, for example Feb 23 02:53:01 if the data is to be transmitted somewhere then for sure Feb 23 02:54:36 the GitHub gaug.es app does autocomplete on the login field with email addresses from your accounts Feb 23 02:54:40 awesome UX Feb 23 02:54:59 So just asking now. Trying to make a simple chat application that communicates with a simple java server i made earlier. However my android client crash on startup in the eclipse emulator. Any ideas? Feb 23 02:55:04 http://pastebin.com/ZXMm81ja code and error messages included Feb 23 02:55:16 JakeWharton! Feb 23 02:55:25 canadiancow|work, ! Feb 23 02:56:36 I feel emasculated without a gold badge on StackOverflow Feb 23 02:57:02 0 [unknown (0x13F8)] python 6796 fork: child 4648 - died waiting for dll loading, errno 11 Feb 23 02:57:04 owned Feb 23 02:58:14 Does anyone know where I can view the default layout for a ListFragment? Feb 23 02:58:31 I made my own custom layout but I need to customize it for the class code **** ENDING LOGGING AT Thu Feb 23 02:59:58 2012