**** BEGIN LOGGING AT Sat Sep 29 02:59:57 2012 Sep 29 03:00:32 dx.jar doesn't rely on native code Sep 29 03:01:25 p_l: Thanks. Sep 29 03:01:50 A cusoradapter is calling bindView on average around 4*cursor.size() times. Should I be alarmed? Sep 29 03:01:55 it was succesfully used by at least one project in order to reuse jvm codegen Sep 29 03:02:52 It is working perfectly in the Ruboto project, and installs fine when downloaded or installed by USB. Sep 29 03:02:54 p_l: presumably that's what donV is doing Sep 29 03:03:29 Yes, we reuse the JRuby code generation to generate classes at runtime. Sep 29 03:04:13 The only problem is that Google Play filters the uploaded apk. Sep 29 03:04:59 shmooz: you there man ? ? Sep 29 03:05:18 donV: Google play filters based on Manifest, iirc. Which in turn makes interesting questions about just wtf did you upload ;) Sep 29 03:05:54 :) Sep 29 03:06:01 Hi guys, I have a little bit of a problem. I'm currently Taking an intro to android development class and I was assigned to make a very simple blackjack app (just need to be able to hit and stand) I'm however having some trouble with making my buttons work when clicked. Right now I just end up crashing the app. Can anyone help? Sep 29 03:06:04 p_l i believe they scan through the res of the code as well Sep 29 03:06:15 like some malware detection ect Sep 29 03:06:21 * Jug6ernaut could be 100% wrong tho Sep 29 03:07:07 Jug6ernaut: some of the resources, yes. There's now some automated malware scanner, but I don't think the publish action would succeed if it considered your code broken... Sep 29 03:09:18 When looking at the AndroidManifest.xml inside the apk, it is in a binary format. Is that right? Sep 29 03:11:27 donV: you can use a program to unpack it Sep 29 03:11:52 SDK has a tool that can show you Market badging details Sep 29 03:13:38 Do you know what the tool is called? Sep 29 03:14:29 don't remember. frankly speaking, I somehow spent more time in internals ^^; Sep 29 03:14:56 anyone? Sep 29 03:17:27 I have to call it a day. Thanks to all who tried to help. See you tomorrow. Sep 29 03:19:14 do you have any exceptions Sep 29 03:19:27 some nullpointer exception is what I am expecting Sep 29 03:22:03 Has anyone successfully used Xstream on android without modifying the source? Supposedly >1.4.2 will work without patches, but I'm having no luck Sep 29 03:32:50 p_l probably right Sep 29 03:37:43 I will send someone 30$ paypal if they login with teamviewer and help me with the code lol Sep 29 03:39:49 anyone know where i can find some nice boilerplate apps to learn from Sep 29 03:43:12 johnnny22: uhh, everywhere. Sep 29 03:43:54 i'm looking for good ones that involve a custom system account and a nice simple authenticator Sep 29 03:44:43 i'm sifting through the SampleSyncAdapter :o Sep 29 03:45:27 took a peek at https://github.com/donnfelker/android-bootstrap Sep 29 03:47:28 I find that the SampleSyncAdapter has a lot of messy code showing lots of features with the Contacts and it's sync'ing. While i like the android-bootstrap since it seems to be cleaner... but uses a lot of third-party libs that I'm not very familiar with. Sep 29 03:51:22 brfitzp: stack trace or it didn't happen Sep 29 04:21:18 . Sep 29 04:29:39 http://i.imgur.com/jacoj.jpg Sep 29 04:37:03 muhoo: stack trace this Sep 29 04:37:05 In the NDK, what is the difference between BUILD System and HOST System? Sep 29 04:38:58 is possible get the latitude information of my friends I the Sep 29 04:39:24 Is possible get latitude information from Google maps? Sep 29 04:40:02 To use in a particular android program Sep 29 04:40:18 don't you get latitude don't you need to use GPS Sep 29 04:40:37 don't you get your latitude using GPS Sep 29 04:42:44 'latitude' the Google location service, not 'latitude' one half of a global co-ordinate Sep 29 04:43:15 oops, my bad Sep 29 04:46:55 I'm taking about the Google latitude, sorry for any confuse Sep 29 04:47:01 Is possible? Sep 29 04:47:32 if so it'd be documented in the google APIs Sep 29 04:48:32 a quick google for 'google latitude api' would indicate yes, so. https://developers.google.com/latitude/ Sep 29 04:54:30 Google? Then what is IRC for? Sep 29 04:54:31 ;-) Sep 29 04:57:00 To remind people to use Google. :D Sep 29 04:57:01 KNERD, for when google is down. Sep 29 05:01:03 Where do I download the Android SDK from? Sep 29 05:02:06 who knows, I heard it got deleted. Sep 29 05:02:57 and how do I install it Sep 29 05:03:19 i hear it formats your drive Sep 29 05:04:21 and then you loose all your contacts Sep 29 05:04:54 Then you lose them. Sep 29 05:05:15 then your lost Sep 29 05:05:30 it gets really disorienting Sep 29 05:05:50 but then you click on the restore button and all seems back to normal. Sep 29 05:08:49 Thanks Sep 29 05:09:58 groovy, baby Sep 29 05:10:15 thats about it ;) Sep 29 05:13:08 What is a frush? Sep 29 05:14:14 doesn't google know ? Sep 29 05:15:21 wtf are you asking us? Sep 29 05:20:35 oi oi Sep 29 05:22:29 oi ! Sep 29 05:24:13 youtube knows the answer Sep 29 05:24:26 http://www.youtube.com/watch?v=JprubgAoEoQ Sep 29 05:25:18 oh thank youuu Sep 29 05:26:06 anyone know of other sources of system authenticators Sep 29 05:28:47 Hi, I was wondering if anyone has any suggestions what to do if Google doesn't respond to an email from the complaining party of a trademark infringement that my app can go back on the market, I've been waiting for 16 days now and I don't know what else I can do besides email them (10 emails and counting) Sep 29 05:29:49 Danny84: your app was complained against? Sep 29 05:30:06 Sue the fuck out of them for trillions Sep 29 05:30:20 Did you email ti ti the correct email? Sep 29 05:30:27 Yes, I was using the word MSN in the title of my app, Microsoft mailed back that it's ok as long as I change the name Sep 29 05:30:48 removals@google.com Sep 29 05:31:12 and also a few others as cc to see if that worked.. Sep 29 05:31:21 MSN is not word Sep 29 05:31:47 You could state is means "My Sorry Noobish app" Sep 29 05:32:16 yeah but my app is a MSN messenger so that's gonna be a bit difficult ;-) Sep 29 05:32:37 then call it MSNM Sep 29 05:33:08 it's MM now as a second app, but I want my first app back.. Sep 29 05:34:09 MS messenger would do fine i think Sep 29 05:34:31 Hello everyone , is there anyone from Australia here ? Sep 29 05:34:47 MS is abbreviation for a lot of things. Sep 29 05:35:40 Yeah I know, I don't mind changing it into whatever, as long as I get my users back.. That's the problem, emails are ignored.. Sep 29 05:35:50 Like mitral stenosis, multiple sclerosis etc. Sep 29 05:35:51 then change the name and resubmit as a new app Sep 29 05:36:13 I did, but my user count started at 0 again... Sep 29 05:36:36 then get on the phone and find their main number and start calling Sep 29 05:36:43 it's taken a year to get to 1 million, I prefer not to wait another year.. Sep 29 05:36:57 I tried googling, it's not as easy as it sounds :P Sep 29 05:37:05 i think you'd better post in Google groups. Sep 29 05:37:25 yeah right Sep 29 05:37:37 google groups does not respond either Sep 29 05:37:44 Yeah I tried that as well Sep 29 05:37:47 also no responde Sep 29 05:37:54 Google has been spamming the shit outta my contact list and they don't respond Sep 29 05:38:26 I'm out of ideas then. Sep 29 05:39:01 sue the fuck outta them for trillions..that will get them awake Sep 29 05:39:18 Thanks for thinking with me at least.. Sep 29 05:39:38 Marouane53: why? Sep 29 05:39:47 I need a tester from there Sep 29 05:39:59 call information in the city where the main office is and call the number Sep 29 05:40:07 KNERD: I don't think you get to sue someone because you were abusing their trademark Sep 29 05:40:28 it is not google Sep 29 05:40:36 google is abusing Sep 29 05:40:41 if the app had been called "A messenger app" I doubt it would have had a million users Sep 29 05:41:05 About suing , I just got sued by the major telephony carrier in my Country Morocco over an app I made last month Sep 29 05:41:21 Why? Sep 29 05:41:46 because I used their white page website in my app Sep 29 05:42:00 but they have no legal charte in the website that forbid me from doing that Sep 29 05:42:13 really, there are no terms of use? Sep 29 05:42:25 No they just added them and then sued me Sep 29 05:42:38 Data cannot be copyrighted Sep 29 05:42:39 so... there *are* terms? Sep 29 05:42:54 KNERD: it can in Europe Sep 29 05:43:01 or should I say facts Sep 29 05:43:10 the arrangement and collection of facts can be Sep 29 05:43:16 my app is a real time reverse look up Sep 29 05:43:27 reprinting cannot Sep 29 05:43:48 The thing is I took off the app after they added the terms Sep 29 05:43:56 but they still suing me Sep 29 05:44:06 reverse dns lookup? Sep 29 05:44:14 No , reverse phone lookup Sep 29 05:44:18 reverse sue them Sep 29 05:44:28 Oh Sep 29 05:44:47 it shows the data of the caller at real time before you answer the call Sep 29 05:44:48 just take their data and make your own lookup Sep 29 05:45:14 Yeah. Sep 29 05:45:44 I was web scraping their website Sep 29 05:45:46 Or just agree to show their ads. Sep 29 05:46:10 I have like 50000 active users in 2 weeks Sep 29 05:46:22 I suggested that Sep 29 05:46:28 but they didn't agree Sep 29 05:46:45 most companies don't like their data being scraped Sep 29 05:46:48 they already have an app in the play store for white pages , but with no real time reverse lookup Sep 29 05:46:58 Marouane53: did they actually *sue* you, or did they just ask you to stop? Sep 29 05:47:11 They are suing me Sep 29 05:47:26 without asking me anything Sep 29 05:47:47 well the only good thing in this , is that I made the headlines in my country Sep 29 05:51:20 well, that's pretty cool Sep 29 05:52:33 It's because half of that company is owned by the state , so People are arguing that their data should be public and be used by everyone Sep 29 05:53:13 were you scraping it and keeping it, or was the app doing the lookup live? Sep 29 05:53:28 No it was live Sep 29 05:53:34 I didn't copy their DB Sep 29 05:54:08 Now the app is not working because they shut down the reverse lookup in their webstie Sep 29 05:54:18 im not sure about the laws in your country, but assuming you weren't making money that's pretty messed up Sep 29 05:54:29 It was free Sep 29 05:54:54 reverse lookup can be trouble for girls. Sep 29 05:55:10 so they're suing on grounds of lost ad revenue? Sep 29 05:55:22 Exactly Sep 29 05:55:27 it seems like it'd be in their best interest to strike a deal with you Sep 29 05:55:29 I think there are specific limitations on reverse lookup in some places Sep 29 05:56:12 The app was so popular they could strike a deal , but I guess they are planing on launching their own app Sep 29 05:56:55 maybe they're embarassed Sep 29 05:57:05 They changed their code like 5 times to prevent me from scrapping but in vain Sep 29 05:57:05 simple fact is, if you launch an app using someone else's data, they get to pull your app whenever they want Sep 29 05:57:20 they had two things to do , shut down the service or use captcha Sep 29 05:57:35 *particularly* if they're tried to limit you technically and you've fought to get around them Sep 29 05:57:36 not if it's public domain, but i guess it isn't **** BEGIN LOGGING AT Sat Sep 29 06:04:57 2012 Sep 29 06:06:10 microsoft skydrive android api is pretty simple and nice Sep 29 06:09:48 stfu Sep 29 06:11:22 i wanna make an android-account-authenticator that works with normal website session cookies basically :o/ Sep 29 06:16:01 ron_frown: looked at the webOS stuff lately ? Sep 29 06:16:16 no Sep 29 06:16:40 I was on all the internal developer lists and shit until I recently got sick and tired of my dropbox getting filled up then deleted then filled up then deleted Sep 29 06:17:28 webOS?? yuck... Sep 29 06:17:28 it's just palmOS redux Sep 29 06:18:00 it's not related to palmOS in any way Sep 29 06:21:42 no? Sep 29 06:21:45 "Open webOS, formerly HP webOS or simply webOS, is a mobile operating system based on a Linux kernel, initially developed by Palm, which was later acquired by Hewlett-Packard" Sep 29 06:22:25 KNERD: reread that carefully Sep 29 06:22:57 :Palm launched webOS in January 2009 as the successor to Palm OS. The first webOS device was the original Palm Pre, released on Sprint in June 2009" Sep 29 06:23:48 As I said..Palm OS redux Sep 29 06:24:04 what is the purpose of onStart(), why need an extra step between onCreate() and onResume()? Sep 29 06:26:42 danixn: onStart()/stop() is when your activity becomes visible or is hidden Sep 29 06:27:02 fully, that is Sep 29 06:27:12 g00s: why i unserstand that but why we need an extra step? Sep 29 06:27:25 wouldn't it be better to just have onCreate() >>> onResume() Sep 29 06:27:40 we set up the activity then we show it Sep 29 06:28:31 danixn: look at the docs closely, about being partially hidden and certain guarantees about being called Sep 29 06:29:07 but on a more philosophical note, yeah … the fragments have a lot of callbacks too. i'm not too fond of them Sep 29 06:31:47 (the multitude of callbacks, that is) Sep 29 06:33:08 webos was a huge leap in the user experience dept Sep 29 06:33:23 infact some cases I'd say still ahead of android and iphone Sep 29 06:33:32 other features have been stolen by either =) Sep 29 06:35:54 adroind cam eout in 2007 if I am not mistaken Sep 29 06:36:14 and? Sep 29 06:36:25 webOS 2009 Sep 29 06:36:27 the end of the new features didnt end with android 1.0 Sep 29 06:36:46 shit look at android 3.0 and 4.0 the whole fling shit off the screen to dismiss was definitely a webos first Sep 29 06:37:32 i do winder if you can put WebOS on a Plam TX Sep 29 06:47:19 Hey, is there an AdMob wiz around? i need to find a way to rotate the ad 90 degrees so it would be vertical instead of horizontal. is that possible? Sep 29 06:47:41 but why mess with palm OS since HP has made it defunt a year ago Sep 29 06:48:19 well kinda, isn't it open source now? Sep 29 06:57:11 well, a version call Open webOS Sep 29 06:57:30 whats the best way to synchronize a content provider with a webservice and vice-versa, are there any standards that I could search for that might help me in my adventure ? Sep 29 06:58:13 is there any user from Australia ? I need a beta tester to an app I made Sep 29 07:00:58 johnnny22 there are synchornization providers... but honestly the transport is still up to you Sep 29 07:01:10 there are protocols like rsync that fit certain content models Sep 29 07:01:14 not so much on others Sep 29 07:02:25 i'll try some searches based on that ;) Sep 29 07:02:46 just us 1.2 billion muslims Sep 29 07:06:49 haven't found much yet :o/ Sep 29 07:36:09 android:rotation="90" rotates the object but keeps it's original width so i get a lot of "padding" after rotation. anyone knows how to get rid of that? Sep 29 07:36:46 http://i.stack.imgur.com/64l4O.png here's an image Sep 29 07:46:36 sitting by my heater Sep 29 07:46:56 glancing at some lines Sep 29 07:48:34 heater? Sep 29 07:48:39 no wonde ryou are having issues Sep 29 07:48:48 it's hot as hell..I am sying here of heat stroke Sep 29 07:49:03 im freezing here Sep 29 07:49:15 up north Sep 29 07:49:56 then you can come down here and sweat while I freeze Sep 29 07:50:08 i like the cold ;) Sep 29 07:50:13 when heat is available :) Sep 29 07:50:36 it's like hybernation Sep 29 07:50:41 i hate heat Sep 29 07:50:47 when heat is available Sep 29 07:50:49 i hate the sun Sep 29 07:50:51 seriously eff the heat Sep 29 07:51:06 my people are from the north Sep 29 07:51:24 scandanavian... naturally I'm gonna lean towards cold over hot Sep 29 07:51:39 scandinavian Sep 29 07:51:51 freaking 26 here in the middle of the night Sep 29 07:52:00 already? Sep 29 07:52:12 nice Sep 29 07:52:13 will be 33 in the afternoon Sep 29 07:52:20 supposed to be over 100f here on mon Sep 29 07:52:32 what?? no way Sep 29 07:53:08 yep Sep 29 07:53:20 wish it was cold at night and hot during the day :) Sep 29 07:53:20 would be 40 tomorrow, but for the rain Sep 29 07:53:26 it gets into the 20's here in wintertime Sep 29 07:53:31 I wish it was cold all the time Sep 29 07:53:33 but usually summer lasts until nov here Sep 29 07:53:41 I couldnt deal with the god damn snow Sep 29 07:53:45 I'd have to kill someone Sep 29 07:53:51 luckily we get cold without snow Sep 29 07:53:57 I need to move to england where average summer temp is 70f Sep 29 07:54:11 imagine -10 at night, and 30 during a nice sunny day :) Sep 29 07:54:30 i would die from heat Sep 29 07:54:42 or -40 and 30 :P Sep 29 07:54:56 careful, night is coming !:P Sep 29 07:55:09 its nearly 1am Sep 29 07:55:13 that describes mars ;-) Sep 29 07:55:18 yeah Sep 29 07:55:43 run, get your snow suite Sep 29 07:55:58 run! get your shorts! Sep 29 07:56:32 put your winter jacket away, we're at the beach now Sep 29 07:56:49 *but it's a fur coat Sep 29 07:57:24 maybe to Alaska where in the winter so remote and cold only thing to eat is moose fat with berries Sep 29 07:57:35 fuck Sep 29 07:57:37 fuck fuck Sep 29 07:57:51 I didnt record god damn dexter Sep 29 07:58:03 who needs a recorder? Sep 29 07:58:10 oh, you'll find it online.. dont worry Sep 29 07:58:20 hahah Sep 29 07:58:24 tvtorrents to the RESCUE! Sep 29 07:58:40 http://www.free-tv-video-online.me/ Sep 29 07:59:04 porbably already on there Sep 29 07:59:09 oh nice Sep 29 07:59:13 its tomorow, not today Sep 29 07:59:28 well then look about 1-2 afters after it airs Sep 29 08:01:12 the nice thing abotu that sie is all shows must be in English Sep 29 08:03:13 anyone ever implemented a account authenticator ? Sep 29 08:04:41 I am still trying to figure out the NDK and it's "documentation" Sep 29 08:05:33 NDK ? Sep 29 08:07:37 native dev kit Sep 29 08:08:30 I ran into errors but the "documention" does not even mention them Sep 29 08:09:05 sounds more complicated than implementing a custom account authenticator and its service :P Sep 29 08:09:43 it should be...all the docs say is "cd into your project and type ndk-build" Sep 29 08:10:58 thats relaly all there is to it Sep 29 08:11:18 create a .mk file, edit your c, create jni wrappers Sep 29 08:11:21 then ndk-build Sep 29 08:11:40 it generates the .so's for the diff platforms automatically, places them in lib folder and your jni should just work Sep 29 08:13:07 I'm having the same problem reported here, can someone help me out with a working answer to this question : http://stackoverflow.com/questions/4404177/classcastexception-with-listview-when-executing-notifydatasetchanged Sep 29 08:13:09 :) Sep 29 08:13:53 napster, you know there ARE answers listed there Sep 29 08:14:25 ron_frown: and I asked for 'working' answers if possible! :) Sep 29 08:14:52 did you try answers in the stackoverflow post, or just assume since there was no input Sep 29 08:14:56 they were worng Sep 29 08:14:58 wrong Sep 29 08:15:07 Very wrong he says! Sep 29 08:15:26 I tried the first answer, second one is not usable in my case ron_frown :( Sep 29 08:18:03 napster are you overriding get view, and do you implement viewholder/convertview pattern? Sep 29 08:19:00 if so, it MAY try and call getview passing in the header, and that would be easy enough to test for, work around Sep 29 08:19:09 yes I'm using convertView pattern. But actually I have an on scroll listener Sep 29 08:19:11 set breakpoint in getview see what convertview works out to Sep 29 08:19:41 ok let me see Sep 29 08:19:50 thanks ron_frown Sep 29 09:28:11 Hey guys Sep 29 09:28:27 How do I use the hprof file to see what's taking the most time and so on? :D Sep 29 09:29:41 I can use traceview, right Sep 29 09:49:43 Hi, can one of you please look up something for me in the developer console, please? I don't have a developer account... Sep 29 09:50:20 neumaennl, dont expect answers to meta questions Sep 29 09:50:45 as far as I know there is a device list in the developer console. Can you see device properties there, too? Sep 29 09:52:41 I'd like to know what screen size (large or xlarge) is shown in the developer console for the ASUS PadFone Sep 29 09:52:45 neumaennl, no properties, just manufacturer, model and a kind of code name Sep 29 09:52:53 -.- Sep 29 09:52:59 too bad Sep 29 09:55:34 so when you upload an apk to Google Play you see which devices it is compatible with and which devices it is not compatible with, but you don't see why it isn't compatible with a certain device? Sep 29 10:06:04 I remember there are public source code for google event or something like that, but I forgot where I can get it. Can anybody tell me name or url of it? Sep 29 10:08:06 I think it's this one: http://code.google.com/p/iosched/source/checkout Sep 29 10:08:07 thanks Sep 29 10:13:49 what is hackkitten up to ? Sep 29 10:15:42 * hackkitten glomps g00s :D Sep 29 10:15:49 * hackkitten is just doing some debuggin' today :3~ Sep 29 10:16:00 hackkitten: :) Sep 29 10:16:06 are you still doing android dev ? Sep 29 10:16:15 neumaennl: Because of versions or missing device capabilities. If you require a camera (or request camera permissions), and the user's device doesn't have a camera, it's not compatible with the user's device. Sep 29 10:18:12 freeone3000: sure, but I want to know if you can see the exact reason why an app is not compatible with a certain device in the developer console (e.g. app requires xlarge screen, device has normal screen) Sep 29 10:18:32 g00s > yup, together with WP7 dev. Starting on a new game soon :) Sep 29 10:18:33 I found http://developer.android.com/distribute/googleplay/about/distribution.html#captargeting but it's not that clear Sep 29 10:18:47 hackkitten: ooh! how do you like wp7 dev so far ? Sep 29 10:18:55 very shiny :> Sep 29 10:19:02 start wp8 dev yet ? Sep 29 10:19:45 neumaennl: Google Play uses a whitelist, not a blacklist, so the "Show devices" is the best info you'll get. Sep 29 10:20:54 neumaennl: If you're looking for why a particular device isn't displayed, compare the device capabilities to the ones you're requiring (and note that telephony and guesture-touch are required by default) Sep 29 10:23:35 freeone3000: but how can I find out the device capabilities? I can search the web for the screen size in inches and the amount of pixels, but that won't tell me if it is configured as large or xlarge device in Google Play, for example Sep 29 10:26:37 neumaennl: i guess this doesn't help http://www.inadaydevelopment.com/android-oracle.php Sep 29 10:28:15 g00s: thank you very much, but the ASUS PadFone is unfortunately not listed there Sep 29 10:35:39 The thing with the PadFone is that it is a phone with a large screen that can be slided into a tablet cover which features an xlarge screen. Apps that require an xlarge screen are automatically put into a tab-only drawer in the launcher so that these apps can not be launched when the phone is outside the tablet cover. Sep 29 10:36:22 The problem is that a lot of "tablet" apps are listed as incompatible with the PadFone in Google Play. Sep 29 10:37:28 I guess that the PadFone is listed as device with a large screen instead of an xlarge screen in Google Play, but I'd like to confirm that somehow Sep 29 10:39:20 Hi. Sep 29 10:39:29 where I can find the console? Sep 29 10:39:43 If I use Eclipse + Android development plugin ? Sep 29 10:40:20 Because I get an error, But I don't know where I can find it. Sep 29 10:40:47 bluesm: logcat window. Sep 29 10:42:34 freeone3000: There is any different console ? Sep 29 10:42:55 bluesm: No. Sep 29 10:44:46 "your project contins error(s), please fix them before running you application" Sep 29 10:44:50 Nothing in console. Sep 29 10:45:03 I've changed "android:name=".MainActivity"" Sep 29 10:45:06 bluesm: So you have compiler errors. Sep 29 10:45:29 freeone3000: Where I can debug it ? Sep 29 10:51:54 App crashes: http://pastebin.com/qMw4U3ps Sep 29 10:53:09 bluesm: click the problems tab Sep 29 10:54:39 g00s: http://i.imgur.com/pbHv0.png Sep 29 10:55:49 These logs are 'errors logs' are irrelevant. Sep 29 10:56:28 make sure you have Window -> Show Views -> Problems selected Sep 29 10:56:37 god damn, that is ugly. linux still looks like shit Sep 29 10:57:08 Who wants an OS for looks Sep 29 10:57:15 I use cli most of the time. Sep 29 10:57:34 Today is the rare excaption I bring out my dusty laptop. Sep 29 10:57:48 exception* Sep 29 10:57:49 well, in this case, the problem is the gtk theme is taking up way too much padding … wasting a ton of screen real estate Sep 29 10:57:58 there is a gtk compact theme though Sep 29 10:58:07 but it just makes shit look more compact :) Sep 29 10:58:14 lol Sep 29 10:59:33 Does the android manefest still need the permissions for loacation if its a non-play store install? Sep 29 10:59:39 Yes. Sep 29 11:00:14 Would that make an app crash if it didnt have the permissions and the app needed them? Sep 29 11:00:21 Yes. Sep 29 11:00:54 Thats why my app was crashing then. Sep 29 11:01:37 g00s: Thank you very very much :) Sep 29 11:04:48 It says 'App isnt installed' in a toast when i launch it :/ Sep 29 11:05:08 Did you install it? Sep 29 11:07:24 yep Sep 29 11:21:01 anyone knows about free sql server which i can deploy my app to? I need something very small, it's experimental thing im working on. so no heavy traffic and scalability are required here. Sep 29 11:21:50 AppEngine provides JDO. (You probably don't want to have a direct SQL connection to a remote server.) Sep 29 11:22:34 AppEngine has a cloud SQL service, but they charge you for that. Sep 29 11:23:33 I'll tell you what i need, and maybe you might give me a direction for it. I need a server that supports actions like the drawSomething's application server. but way less scalable Sep 29 11:24:14 the first thing i thought about was the google sql cloud. but then i thought maybe the DataStore would be enough Sep 29 11:24:37 it will just complicate things a little, since i don't know much about designing web applications Sep 29 11:25:17 Okay, so you basically need to write your own cloud transaction service. You probably do not want a direct SQL connection, both because it's cheaper to get a webserver running PHP or Java or whatever with data storage included than it is to get just datastorage, and because having an open SQL server on the internet isn't the greatest idea. Sep 29 11:25:56 Deploy an AppEngine WAR with JAX-RS and JDO, do your turn logic, and you're done in a day or two. Sep 29 11:31:34 thanks a lot. can you point about a good guide to start with ? (JDO guide can be found on the appengine's page, but JAX-RS isn't) if there's some good example/project that comes along with it, it could be very helpful. Sep 29 11:32:39 btw, which one is is more relevant, JDO 2.3/3.0 ? Sep 29 11:33:45 guys, please take a look at my question: http://stackoverflow.com/questions/12650809/android-rotation-of-an-object-and-extra-spacing Sep 29 12:09:12 hi guys. is there any way i can display an actionView inside my actionBar programmatically and without the user clicking the actionButton ? Sep 29 12:13:20 Well. Sep 29 12:13:32 Apparently it's not the substrings or indexOfs bottlenecking my app. Sep 29 12:13:32 finally foudn the solution: MenuItem item.expandActionView() Sep 29 12:22:59 is there some speed advantage when using invalidate(Rect) instead of invalidate()? Sep 29 12:44:56 i cant download/validate my apk ("try later" ...) Sep 29 12:45:55 raz86, did you publish it recently? Sep 29 12:46:24 yes, it is an update of my first release last week Sep 29 12:46:37 hm, link? Sep 29 12:46:47 why ? Sep 29 12:47:40 I will try the new interface.. Sep 29 12:50:03 it occurs during validation "importation failure...impossible to save modification...try again) Sep 29 12:51:00 I will try a release on an other project Sep 29 12:53:13 raz86, are you trying to _up_load the apk? Sep 29 12:53:24 found this question on S.O. http://stackoverflow.com/questions/10065640/fragment-replace-not-replacing-all-fragments , I have the same problem. Does anyone know how to use the fragmenttransaction.replace() method correctly? Sep 29 12:54:27 EPG, it works on an other application project... Sep 29 12:56:20 I just would like change some ressources, signature is good,.. manifest version is up to date, but validation say "please try again" without other messages Sep 29 12:57:41 hey guys Sep 29 12:57:47 android can open several connections at once, right? Sep 29 12:57:49 In different threads Sep 29 12:57:54 yes Sep 29 12:58:02 So threading my parser should make it faster Sep 29 12:58:34 I LIKE THREADS Sep 29 12:58:36 RazielZ, you have to parse many url ? or just one ? Sep 29 12:59:13 About three Sep 29 12:59:30 I got my tracefile and the thing slowing it down is Sep 29 12:59:39 mostly getaddrinfo Sep 29 12:59:47 ok, parsing is quite fast no ? Sep 29 12:59:58 Yeah, parsing itself is fast Sep 29 13:00:25 but connect+getaddrinfo+recvfrombytes isn't Sep 29 13:01:51 ok, so downloading 3 files at same times is a good idea (whereas, reduce a little your speed 3ko/s => 1ko/s for example ) Sep 29 13:02:33 Parsing itself apparently takes less than 0.1 seconds Sep 29 13:02:40 about 0.7 lol. Sep 29 13:02:52 getaddrinfo takes like 6 whole seconds Sep 29 13:02:52 :/ Sep 29 13:07:00 So nobody has any idea why the .replace() method doesn't do what it's supposed to? Sep 29 13:07:50 it replaces strings? Sep 29 13:07:52 ^ Sep 29 13:07:57 Works fine here Sep 29 13:08:11 currentAbility = currentAbility.replace("{", ""); as so Sep 29 13:08:59 lets say i have a android.view.View object, how can i resize it? setWidth() does not exist Sep 29 13:09:07 .setMinWidth Sep 29 13:09:11 or Minimum Sep 29 13:09:13 * RazielZ checks Sep 29 13:09:18 Chronolitus: i have the exact same problem right now, couldn't find a solution after several hours of searching :S Sep 29 13:09:38 setMinimumWidth, setMinimumHeight Sep 29 13:09:48 sorry, I should specify that it is the Fragmenttransaction.replace() method Sep 29 13:09:49 You might want to do setMaxHeight, setMaxWidth as well Sep 29 13:10:34 yea my problem is also happening with the fragmenttransaction.replace() method Sep 29 13:10:36 thanks RazielZ Sep 29 13:10:39 mrmaffen: it's annoying. I think that manually removing each fragment should work Sep 29 13:10:39 socket, np Sep 29 13:10:59 mrmaffen: but then what's the point of the .replace method... Sep 29 13:11:17 Chronolitus: yea but this would mean that i need to handle the whole backstack record myself Sep 29 13:11:37 mrmaffen: I know, same thing here Sep 29 13:12:22 right now i think it's a bug :S Sep 29 13:12:47 and if nobody comes up with a solution. we'll need to workaround by implementing the whole procedure ourself Sep 29 13:13:03 5,429.047 to getaddrinfo from one URL Sep 29 13:13:08 Why dafuq Sep 29 13:13:35 And then 518ms to connect and 2,940s to recvfromBytes Sep 29 13:13:37 how could google mess up such an important method... Sep 29 13:13:59 The connect and receive times seem fine, it's a pretty big html file Sep 29 13:14:06 But why would it take that long to getaddrinfo Sep 29 13:14:36 Chronolitus: no idea, are you adding your initial fragment within a xml layout file? or programmaticaly ? Sep 29 13:14:37 mrmaffen: any ideas on the most efficient way to remove every fragment in a view? Sep 29 13:14:55 everything is done programmatically Sep 29 13:15:02 yea same here Sep 29 13:16:47 write your own replace method: http://paste.kde.org/559226/ Sep 29 13:16:50 something like that Sep 29 13:17:08 inside your class you then need to store the whole fragment backtrace Sep 29 13:17:28 or just find every fragment in a particular view Sep 29 13:18:07 i think that depends on what exactly your'e trying to achieve with your implementation Sep 29 13:18:35 well, assuming that the original replace method simply removes every fragment in the view Sep 29 13:19:17 I plan on finding each fragment in a particular view, and calling a "remove" transaction on them Sep 29 13:19:31 found it Sep 29 13:19:47 mrmaffen: "findFragmentById(int id) Sep 29 13:19:47 Finds a fragment that was identified by the given id either when inflated from XML or as the container ID when added in a transaction." Sep 29 13:20:19 so if my container ID is "R.id.MainLayout" Sep 29 13:20:23 hey guys, this is a very basic question but i want to be able to input text (the user inputs text) and i want that text to appear on another android client. not concerned right now with networking it, but what element should i use to input the text and display the text on the 2 android clients respectively Sep 29 13:20:28 so you wanna store and remove every fragment inside the current view, and then add your newFragment ? Sep 29 13:22:18 how about repeating getFragmentTransaction().remove(fragmentManager.findFragmentById(R.id.MainLayout) Sep 29 13:22:22 ) Sep 29 13:22:41 I'll try that Sep 29 13:24:25 Is it possible to make list views non-sticking on top? Sep 29 13:24:44 hey guys, this is a very basic question but i want to be able to input text (the user inputs text) and i want that text to appear on another android client. not concerned right now with networking it, but what element should i use to input the text and display the text on the 2 android clients respectively Sep 29 13:25:05 RazielZ: there's no setMaxHeight/Width are you sure about that? Sep 29 13:25:15 Uuh Sep 29 13:25:20 What kind of view are you using? Sep 29 13:26:04 panegyric: i would suggest that you work on some basic tutorials before asking such a question. there are great tutorials on the web, that'll get you going with android pretty fast Sep 29 13:26:21 i know i just need this part done quickly Sep 29 13:26:25 panegyric: EditText and TextView Sep 29 13:26:43 awesome mrmaffen thanks Sep 29 13:26:45 RazielZ, android.view.View Sep 29 13:26:52 np Sep 29 13:27:03 i got a view using findViewById() Sep 29 13:27:37 Ummm Sep 29 13:27:42 You should be using a specific type of view Sep 29 13:28:09 Like, if you want to get a textView by using findViewById, you should save it in a TextView object, not a View object Sep 29 13:28:22 mates! can someone guide me to the page containing the database of telephones vs API? Sep 29 13:28:38 Just make sure to cast it to that type Sep 29 13:28:38 and vs specs Sep 29 13:28:46 RazielZ, yeah, but im trying to play with AdView by google's AdMob which is a bit restrictive Sep 29 13:28:53 Hmmm Sep 29 13:32:18 http://www.thephonedatabase.com/Search_For_Phones_Running_Android Sep 29 13:32:40 socket, not sure what AdView provides, I can't test it unfortunately as I don't seem to have the ad package... Sep 29 13:34:21 ok, thanks anyway RazielZ Sep 29 13:34:34 I think it has fixed sizes, not sure if you can bypass that Sep 29 13:35:09 mrmaffen: doesn't work, findFragmentById() always returns the same fragment Sep 29 13:37:05 Chronolitus: i don't know what you're trying to achieve right now Sep 29 13:37:29 mrmaffen: i manually tried to remove every fragment within a view Sep 29 13:37:56 so you don't care about your fragment backtrace ? Sep 29 13:38:09 it didn't work when I used the method findFragmentById("View_ID") Sep 29 13:38:23 no, since the order in which they are removed is irrelevant Sep 29 13:38:39 and I am removing all fragments in that particular view Sep 29 13:39:28 Chronolitus: you should store a reference to every single fragment whenever you add one to your view Sep 29 13:39:48 I did, and it worked, but it's much less efficient Sep 29 13:39:48 that way you could also implement a backtrace Sep 29 13:40:20 because I already use the backstack Sep 29 13:41:07 i don't think you have direct access to the backstack Sep 29 13:41:30 so you cannot combine your custom replace implementation with the standard backstack implementation Sep 29 13:41:31 no, but I haven't needed to mess with it yet Sep 29 13:42:26 and since my custom replace() method uses standard remove() and add() methods, it would still function with the backstack Sep 29 13:42:33 if you don't need the backstack function at all. you could just remove the last fragment everytime you add a new one Sep 29 13:43:24 menubar/actionbar icons have different guidelines for 2.3 and 4.0 - should one design icons to fit both versions (as in providing alternative resources) or just go with the newest look & feel? Sep 29 13:43:25 I do use the backstack, but I keep it simple Sep 29 13:43:52 basically, I add every transaction to the backstack Sep 29 13:44:56 Hi all! Sep 29 13:45:23 SpaG: i personally would go for the newest look&feel only. combined with support lib, actionbarsherlock etc, you'll end up with a good looking holo style app even on gingerbread devices. and i would assume that the average user appreciates the newest look even on their older devices Sep 29 13:45:52 Spag: +1 Sep 29 13:46:11 thanks for the insight, mrmaffen Sep 29 13:46:25 np :) Sep 29 13:47:53 what can interfer with an apk update? Sep 29 13:50:42 gotta go. bye Sep 29 14:18:19 Anyone else had a problem with their apk being filtered by "native platforms" ? Sep 29 14:22:58 whats the package name for messaging app? Sep 29 14:28:13 Hey guys, can anyone explain traceview and why the timeline is only 23 seconds long when the app ran much longer and there's function calls totalling to much more exclusive real time then that? Sep 29 14:28:41 Also, why is String. and StringBuilder.append so SLOW, and how to make it faster? <.< Sep 29 14:40:35 RazielZ: by writing your own routines Sep 29 14:41:17 Hmm, yesterday I was told using regex instead of many .indexOf and .substring should be faster, should I try that? Sep 29 14:41:24 None of my apps are working through adb install Sep 29 14:41:53 Slightly annoying, since that the emulator doesnt work with location stuff or ping stuff :/ Sep 29 14:41:58 RazielZ: then try? Sep 29 14:42:16 Well, that requires I learn regex, so I'll get to it Sep 29 14:42:26 tomtiger11, is usb debugging enabled on your device? Sep 29 14:42:57 RazielZ: yes Sep 29 14:43:02 Hmmm Sep 29 14:43:11 So how is it not working? Sep 29 14:43:15 Any error or such? Sep 29 14:43:29 It says 'App not installed' when i try to launch it Sep 29 14:43:59 Uh Sep 29 14:44:27 Do you have enough space? Is accept apps from unkown sources enabled? Sep 29 14:44:40 RazielZ: Yes, and yes Sep 29 14:47:30 Hmmm Sep 29 14:47:36 No idea then :/ Sep 29 14:48:56 Oh, It says Package Installer has stopped. Sep 29 14:49:42 Somthing tells me thats not good. Sep 29 14:49:59 Can you install other apps? Like, from the market or downloaded apks or anything? Sep 29 14:50:12 I can install from the market Sep 29 15:01:05 impossible to update my apk :/ Sep 29 15:02:48 uploading ok, validation KO=> the server cant "treat" your APK, please try again Sep 29 15:04:52 I found my problem: http://stackoverflow.com/questions/2274284/android-marketplace-error-the-server-could-not-process-your-apk-try-again Sep 29 15:31:33 resolved, I change the order of my permissions uses in manifest :/ Sep 29 15:36:47 can i plug my galaxy tab 7' to non US power outlet (with simple plug adapter? http://www.samsung.com/us/mobile/galaxy-tab/SGH-T849ZKATMB-features Sep 29 15:37:09 you can plug it into anything which gives USB power - car, mains, PC, etc. Sep 29 15:37:11 i bought it in the US so it has a US connector Sep 29 15:37:26 Leeds: i am talking about the wall Sep 29 15:37:38 what country? Sep 29 15:37:53 that's the point - the *tablet* doesn't have a US connector, just the power cable... use a generic USB cable and you can use it anywhere Sep 29 15:38:07 you can *probably* use the US charger with an adapter, but why bother? Sep 29 15:38:37 i bought it in the US and my dad wants to use it in Israel. and sometimes he will plug it the the wall. not always usb. Sep 29 15:38:51 get a regular USB mains charger Sep 29 15:39:08 just want to make sure. since israel uses different walt than the us Sep 29 15:42:27 israel uses 220v and the US 120V, right? so it doesn't matter? Sep 29 15:42:59 how can I let Eclipse "recompile" the drawables in a project? I changed the contents of a drawable but it doesn't update it and still shows the old drawables... Sep 29 15:44:31 evident: clean your project Sep 29 15:55:23 Leeds: that's the adapter - http://www.samsung.com/us/mobile/galaxy-tab-accessories/ETA-P10JBEGSTA i should be able to plug i simple plastic that convert the 2 pins into the 3 pins that they use in Israel, right? Sep 29 15:57:15 yes Sep 29 15:57:50 owen1: just get a simple USB cable Sep 29 15:58:28 Leeds: i got a usb -> tablet cable but it's longer to charge it to a laptop compare to the wall. Sep 29 15:58:53 then don't plug it into the laptop Sep 29 15:58:59 get a simple wall adapter Sep 29 15:59:15 which you can also use to charge other things, faster than your laptop Sep 29 15:59:59 cool. thanks! Sep 29 16:00:07 hmm, i tried to use an external library which provides a color picker preference, but the library cannot be built: error: No resource identifier found for attribute 'layerType' in package 'android' Sep 29 16:00:20 does anyone know why this may be? Sep 29 16:02:05 abhoriel: are you building for an API level < 11? Sep 29 16:02:23 is this a good car charger? it's only $3 -http://www.amazon.com/iShoppingdeals-2000mah-Charger-Samsung-Galaxy/dp/B004MUBXO6/ref=sr_1_4?s=electronics&ie=UTF8&qid=1348934478&sr=1-4&keywords=galaxy+tab+car+charger Sep 29 16:03:00 Leeds, yes I'm building for API level 8 Sep 29 16:03:13 layerType is an API11 attribute Sep 29 16:03:50 ah, and so if I use this library, I cannot support devices with android 2.x Sep 29 16:03:52 http://developer.android.com/reference/android/view/View.html#setLayerType(int, android.graphics.Paint) Sep 29 16:04:10 or at least the setLayerType method is - for some reason, attributes don't get their API level marked in the docs Sep 29 16:04:26 Leeds, thanks. retarded libraries :) Sep 29 16:04:48 what library is it? Sep 29 16:05:19 can someone give some insight (im a novice developer) into how exactly would my android client communicate with a sql database that's hosted on a webserver: my understanding is that i'd make use of the HTTPClient class and pass the URL to the php script that i need to make to manipulate the sql database....is this right...or is there another way that this should look like? Sep 29 16:05:36 Leeds, i've tried two now: http://code.google.com/p/android-color-picker/ and https://github.com/attenzione/android-ColorPickerPreference Sep 29 16:05:44 both will not build with exactly the same error Sep 29 16:06:04 "You need to link against Android 3.0 or higher since there is an XML attribute layerType in use. This doesn't mean you can use this only for applications requiring Android 3.0 to operate. It works even in Android 1.6. You just need to select Android 3.0 (API level 11) on the project settings." Sep 29 16:06:14 right there on the front page of the project Sep 29 16:06:19 Leeds: thank you! Sep 29 16:06:43 why don't people read?!?!?! ;) Sep 29 16:06:43 Leeds, ah. thanks Sep 29 16:07:39 can someone give some insight (im a novice developer) into how exactly would my android client communicate with a sql database that's hosted on a webserver: my understanding is that i'd make use of the HTTPClient class and pass the URL to the php script that i need to make to manipulate the sql database....is this right...or is there another way that this should look like? Sep 29 16:08:00 panegyric: something like that, yes Sep 29 16:09:22 is something fundamentally wrong, i feel like there is Sep 29 16:10:07 like what? Sep 29 16:11:11 well any information thats to be manipulated in the db has to be done witha scripting language? Sep 29 16:12:00 the fundamental thing wrong is your way of thinking Sep 29 16:12:24 heh Sep 29 16:12:34 (your phrase, not mine :) ) Sep 29 16:12:49 it's nothing to do with the languages or classes you're using Sep 29 16:13:24 the point is that you've got a database on the server and a client app on the Android device, and you need some way to communicate between them Sep 29 16:13:53 database native APIs aren't generally designed for direct access by remote client apps like that, so you probably want to use something else Sep 29 16:14:06 the simplest 'something else' is an HTTP interface, with a thin control layer on the server Sep 29 16:14:21 or a thick control layer, depending on what the data is and what you're doing with it Sep 29 16:15:25 Android is good at communicating over HTTP, and scripting languages are generally good at communicating over HTTP *and* at communicating with databases, so it makes sense to use python or ruby for your thick/thin layer Sep 29 16:15:37 it doesn't make sense to use php, because php sucks - but if you must, you can Sep 29 16:16:02 panegyric: any questions? :) Sep 29 16:17:00 okay, so that's all cleared up then Sep 29 16:17:44 man Sep 29 16:17:54 i'm really surprised that even in jellybean android's proximity alerts API is this shitty Sep 29 16:17:55 Still don't know whats up with my phones package installer... :/ Sep 29 16:18:09 or rather, it's implementation Sep 29 16:19:04 it seriously just fires up all the location providers (gps + network) and then brute force tests whether any proximity alert matches against that location. Sep 29 16:19:58 panegyric: have I blown a fuse in your brain? Sep 29 16:20:14 nevermind that some of the alerts might be, for example, much further away than the others, it'll still test them. nevermind the fact that there's a much faster way to do crude distance calculations (pythagorean's theorem works for crying out loud) when you are given an error tolerance and its very low. Sep 29 16:20:14 ha sorry leeds Sep 29 16:20:26 i just have to read and figure how to implement Sep 29 16:20:46 just wanted someone to maybe poij=nt me in the right direction Sep 29 16:21:04 I'm reasonably sure that's what I just did Sep 29 16:22:31 wth, i should really patch this crap. where are the unit tests? :) Sep 29 16:23:02 i did a huge amount of work in the past working around this garbage, basically implementing my own proximity alert system that wasn't brute force. Sep 29 16:37:09 * jasta taps his foot impatiently. no unit tests? Sep 29 16:38:25 I can't get regexes. Sep 29 16:38:28 I must be retarded. Sep 29 16:47:33 http://developer.android.com/guide/practices/ui_guidelines/icon_design_action_bar.html#size11 states that icons should be, say 36x36 for hdpi, yet the sdk has these icons @ 48x48 (hdpi) (though the actual drawing is <36). Am I missing something? Sep 29 17:08:49 Hey Sep 29 17:09:11 Anybody have any android projects, that you guys need help with Sep 29 17:09:23 maybe a extra hand on the programming side? Sep 29 17:11:45 Bored_: are you really bored to this extent :-P Sep 29 17:15:00 yes Sep 29 17:15:18 plus i havent coded in a month Sep 29 17:15:28 need practice, Sep 29 17:15:51 Looney, got any work for me? Sep 29 17:16:33 nah, I am stuck myself Sep 29 17:16:43 working on two project Sep 29 17:16:51 one paid and other is open source Sep 29 17:17:34 \ah cool Sep 29 17:17:42 I have a app i need to release Sep 29 17:17:54 but im waiting on a new credit card Sep 29 17:18:02 so i can put the ads in the app Sep 29 17:18:09 so, you want to release it on app store Sep 29 17:18:19 is it paid or free Sep 29 17:18:20 I aint planning on releasing a completely free app :/ Sep 29 17:18:23 free Sep 29 17:18:44 so friends with admob I guess :-P Sep 29 17:18:54 blah Sep 29 17:19:06 nah Sep 29 17:19:10 admob seems bad Sep 29 17:19:17 i aint even gonna waste my time Sep 29 17:19:28 im going with different ad networks Sep 29 17:19:45 may I know which one ? ? Sep 29 17:20:56 millenia and gray stripe Sep 29 17:21:25 whats nice about them Sep 29 17:22:06 just trying them out Sep 29 17:22:18 are you trying to find a ad network? Sep 29 17:23:13 not really Sep 29 17:23:28 one app of mine is paid, doing it for someone Sep 29 17:23:55 and I just wanted to release an open source app as well Sep 29 17:24:07 so no need for me to find ad networ Sep 29 17:24:18 unless I get good at UI Sep 29 17:25:25 why a good UI? Sep 29 17:25:47 cause I rock at making bad ones :-( Sep 29 17:31:58 Bad ones are too easy to make :( Sep 29 17:36:14 meh Sep 29 17:37:31 I just released my first app, and I added an update, but the page on the play store won't reflect that update. I'm assuming the store just takes a while to reflect new updates? Sep 29 17:49:27 helichopter: i found on google: Usually it start reflecting in couple of hours but sometimes it can take upto 6 hours or more after publishing it to market. Sep 29 17:49:37 Just wait another couple of hours and check your application again. As long as the market says that the app is compatible with your device there shouldn't be a serious error. Sep 29 17:49:52 jrockjiggz: Okay, thank you very much Sep 29 18:11:50 Hi. Sep 29 18:12:27 i want to make an app in which it should always start at 11.00am...What should I do ?? Sep 29 18:16:01 It should start? What do you want it to do? Sep 29 18:16:24 means I want to run a function...for eg. A toast Sep 29 18:16:25 Is there any simpler explanation of "view" and "vievgropup?" Sep 29 18:17:18 aagam94: http://developer.android.com/reference/android/app/AlarmManager.html Sep 29 18:18:17 bluesm: simpler than what? Sep 29 18:18:44 Estel, I checked that...But the problem is how does SET function work?? Sep 29 18:19:16 Estel: What does men this division... Sep 29 18:19:23 aagam94: What bit don't you understand Sep 29 18:19:36 trigeratMIlis Sep 29 18:19:45 Estel, Sep 29 18:20:05 That's the exact time you want to set the alarm Sep 29 18:20:16 In milliseconds since Jan 1 1970 Sep 29 18:20:53 You probably want setRepeating for the alarm to go off every day Sep 29 18:22:04 Estel, check this http://pastebin.com/DWZSDf2h Sep 29 18:22:25 now in that ,what should I do to run at 11am?? Sep 29 18:24:57 Calendar.add(Calendar.DAY_OF_MONTH, 1); Calendar.set(Calendar.HOUR_OF_DAY, 11); // perhaps? Sep 29 18:29:30 What does mean in "android language" activity ? Sep 29 18:29:45 try doing a tutorial Sep 29 18:29:49 lol Sep 29 18:30:49 me ? Sep 29 18:30:56 uhuh Sep 29 18:31:28 "The BlankActivity template you used to start this project " Sep 29 18:31:34 I don't get this part. Sep 29 18:32:06 What does mean BlankActivity... It's from Eclipse terminology not Java ? Sep 29 18:32:22 it looks like a class name Sep 29 18:32:27 bluesm, android activity Sep 29 18:32:33 http://developer.android.com/guide/components/activities.html Sep 29 18:34:19 Im trying to make an app to find someones Longitude, Lattitude, Speed and Altitude, and just write it to the screen of the app, but when i compile it, and install it via adb install, It doesnt like it, and doesnt install it. Sep 29 18:34:22 Ok... Sep 29 18:35:03 Thanks. Sep 29 18:35:47 tomtiger11: what do you mean by "doesn't like it" Sep 29 18:36:39 It says it installed, but clicking on the launcher icon doesnt launch it. I know its not a phone problem, because it has worked on some other of my applications. Sep 29 18:37:14 so clicking the icon does absolutely nothing? Sep 29 18:37:28 It gives me a toast saying 'App not installed' Sep 29 18:37:38 that's odd Sep 29 18:37:48 i assume you've tried uninstalling/reinstalling? Sep 29 18:37:53 yep. Sep 29 18:38:09 have you checked logcat to see if anything funny happens? Sep 29 18:38:17 or tried it on the emulator? Sep 29 18:38:29 Noob question: How do i access logcat? Sep 29 18:38:35 Are you in eclipse? Sep 29 18:38:41 hopefully not Sep 29 18:38:56 In eclipse? Sep 29 18:39:27 All the cool kids use eclipse :( Sep 29 18:39:38 I use eclipse, Why? Sep 29 18:39:41 I have a question : Is it better to program on console for android (in my computer) than a IDE, or have to I use it ? (sorry for my bad english, I'm french) Sep 29 18:39:51 :) just kidding, but i don't know the answer if you use eclipse Sep 29 18:40:07 the sdk comes with a command line utility that lets you view the log Sep 29 18:40:11 ps : I prefer to program with vim Sep 29 18:40:15 tomtiger11: in the bottom pane of the default Android perspective should be a window the the logcat Sep 29 18:40:26 If there isn't, open the DDMS or debug perspective Sep 29 18:40:55 Gaulois94: It's probably less of a hassle to use eclipse of intelij Sep 29 18:41:08 Estel: Im trying to install it on my phone, so im not sure what help eclipse would be. Sep 29 18:41:16 sampullman: Whats the command? Sep 29 18:41:39 tomtiger11: he's saying you can view the logs from eclipse Sep 29 18:41:46 Oh! Sep 29 18:41:51 tomtiger11: Huh? If you're developing your app in eclipse, you can install it to the phone and view the logs all from within eclipse Sep 29 18:41:51 sampullman: an IDE is only the solution ? Sep 29 18:42:04 Estel: Really?!? Sep 29 18:42:12 Gaulois94: no, i use emacs Sep 29 18:42:15 I'm more comfortable with vim than eclipse Sep 29 18:42:15 well Sep 29 18:42:20 i guess that's an ide in itself Sep 29 18:42:42 tomtiger11: do you have the Eclipse ADT plugin installed? Sep 29 18:43:11 In default I have not "" in activity_main.xml Sep 29 18:43:12 Estel: Pretty sure i do, Yep. Sep 29 18:43:25 Gaulois94: eclipse has a nice android plugin that handles a lot of things for you, but you can certainly use vim Sep 29 18:43:31 Should I add this declaration about xml and encoding ? Sep 29 18:43:59 Then provided you're in the correct perspective, you should just be able to use the Run / Debug buttons to access the device. You'll probably need to set up a run configuration Sep 29 18:43:59 Weel, I see if I can use only vim, else I start the project with eclpse and continue with vim for coding Sep 29 18:44:16 i suppose that's possible Sep 29 18:45:15 all hail the vim Sep 29 18:45:20 but one of the points of using eclipse is to make the build process simple Sep 29 18:45:53 Can't you get emacs/vim plugins for the Eclipse editor? Sep 29 18:46:11 yeah Sep 29 18:48:00 which phones are ldpi? should i be worried if my app doesnt layout well on that resolution? Sep 29 18:48:08 Estel: I don't know Sep 29 18:48:44 Il pastebin the logcat then... XD Sep 29 18:48:57 I think that program in consol is more comfortable. I have all only with my keyboard and productive (faster) Sep 29 18:49:41 and I'm faster* Sep 29 18:49:45 http://pastebin.com/pQRg308W Sep 29 18:50:34 tomtiger11: what is your main activity called? Sep 29 18:50:59 WhereAmIActivity Sep 29 18:51:04 socket: http://www.inadaydevelopment.com/android-oracle.php Dell Streak, HTC Wildfire, basically quite a few low end devices from last year Sep 29 18:52:04 tomtiger11: what device do you have? Sep 29 18:52:27 HTC Explorer / Pico Sep 29 18:52:53 tomtiger11: there may be several issues Sep 29 18:52:55 here's one Sep 29 18:53:00 requires android.permission.ACCESS_FINE_LOCATION Sep 29 18:53:52 Whats the issue with that? Sep 29 18:54:33 You're doing something that needs that permission but havne't declared it in the manifest Sep 29 18:54:41 also, make sure you have an intent filter that looks similar to this in your manifest: Sep 29 18:54:44 Sep 29 18:54:44 Sep 29 18:54:44 Sep 29 18:54:44 Sep 29 18:54:48 in your main activity Sep 29 18:55:29 Il pastebin my manifest Sep 29 18:56:19 http://pastebin.com/6bBuQSq0 Sep 29 18:58:00 huh. well, lines 1020-1024 in your logcat pastbin are pretty clear Sep 29 18:58:13 have you tried a clean/build? Sep 29 18:59:24 Umm, Not yet, no. Sep 29 19:00:15 Why does your application tag have android:permission="android.permission.ACCESS_FINE_LOCATION" Sep 29 19:00:25 somehow it's not recognizing your permissions Sep 29 19:00:27 How can I compile my program for running in the android emulator (on console) ? Sep 29 19:01:00 sampullman: Just rebuilt, Il try now Sep 29 19:01:29 and by rebuilt you mean you turned of auto-build, did a project clean, and then rebuilt, right? Sep 29 19:01:52 or whatever madness eclipse puts you through to clean/build Sep 29 19:02:11 sampullman: Yes, I do mean that. Sep 29 19:02:53 Hey guys, in traceview, the times in the profile table, are they in ms? Sep 29 19:03:14 Gaulois94: you can do "ant debug" from the cmd line Sep 29 19:03:19 Because there's no time unit specified and, uh, they don't really make sense in seconds or miliseconds, and I can't figure it out. Sep 29 19:03:23 it produces a debug apk in your libs folder Sep 29 19:03:27 ok, I will test Sep 29 19:03:46 hi guys Sep 29 19:03:47 google has documentation for all this stuff Sep 29 19:03:50 sampullman: Still didnt work, Il pastebin the logcat Sep 29 19:04:15 I am making an alarm... http://pastebin.com/JHBusybd But its not working fine Sep 29 19:04:21 our company got a project where we need to design an interface for android based tv box Sep 29 19:04:40 Also, shouldn't the timeline view have, like, the whole time from starttracing to stoptracing? Taking into account it says it's real time in msec? Sep 29 19:04:40 what would u suggest Sep 29 19:04:52 go with opengl or web interface Sep 29 19:05:19 http://pastebin.com/CYV5fAbS Sep 29 19:06:09 tomtiger11: You are requiring whatever interacts with your app (read: the launcher) by giving your tag android:permission="android.permission.ACCESS_FINE_LOCATION" Sep 29 19:06:19 to have that permission Sep 29 19:06:40 he has that Sep 29 19:07:00 .. does the launcher? Sep 29 19:07:12 Cus that's what he's requiring by putting the tag there Sep 29 19:07:22 good point Sep 29 19:07:39 android:permission Sep 29 19:07:39 The name of a permission that clients must have in order to interact with the application. This attribute is a convenient way to set a permission that applies to all of the application's components. It can be overwritten by setting the permission attributes of individual components. Sep 29 19:07:51 Client being launcher, application being your app Sep 29 19:07:52 i was about to suggest that the cyangen mod launcher doesn't have that permission Sep 29 19:08:12 It does not grant your app that permission Sep 29 19:08:19 That's what well, do you have a solution? im out of my comfort zone with custom roms Sep 29 19:09:41 Remove the attribute.. Sep 29 19:09:56 im assuming he needs it for his app, though Sep 29 19:10:04 You are not listening Sep 29 19:10:33 im listening, just not comprehending :-/ Sep 29 19:10:45 says that whatever interacts with your app MUST have the SOMETHING permission Sep 29 19:10:51 It does not grant his application the SOMETHING permission Sep 29 19:11:04 does Sep 29 19:11:21 he has the uses-permission tag Sep 29 19:11:29 right Sep 29 19:11:30 i see Sep 29 19:11:44 :) Sep 29 19:12:04 tomtiger11: did you read that? your answer above Sep 29 19:12:41 *is above Sep 29 19:14:53 Hmm, so can anyone help me with the profiling and traceview stuff? :D Sep 29 19:21:08 * RazielZ watches the tumbleweeds Sep 29 19:25:35 sampullman: Was afk, sorry Sep 29 19:29:52 hi Sep 29 19:29:58 SimonVT: It starts now, But then it crashes. Sep 29 19:30:36 after recent update to Eclipse 4.2.1, my ADT plugin is not found, any clue how to solve this ? Sep 29 19:31:59 SimonVT: http://pastebin.com/aEU3Ldwx Sep 29 19:32:20 09-29 20:30:32.977: E/AndroidRuntime(2430): Caused by: java.lang.NullPointerException Sep 29 19:32:20 09-29 20:30:32.977: E/AndroidRuntime(2430): at uk.co.tom4u.android.whereami.WhereAmIActivity.onCreate(WhereAmIActivity.java:21) Sep 29 19:32:58 SimonVT: Yes? Sep 29 19:33:23 Something is null on that line Sep 29 19:33:28 Make it not null Sep 29 19:34:03 SimonVT: double longitude = lastKnownLocation.getLongitude(); Sep 29 19:34:32 Pretty much only 1 possibility there Sep 29 19:34:44 This is before that line Location lastKnownLocation = locationManager.getLastKnownLocation(LOCATION_SERVICE); Sep 29 19:35:30 To be honest, Thats not what I really want. I want it to get the current location. Sep 29 19:39:08 I'm guessing getLastKnownLocation can return null Sep 29 19:40:52 SimonVT: Indeed. Sep 29 19:41:07 So, Should i pastebin my code, so you can see what i need to fix? Sep 29 19:41:48 I haven't worked with locations, so can't really help Sep 29 19:42:02 SimonVT: Oh. :( Sep 29 19:42:04 all I ever did was use javascript to get a location in a browser Sep 29 19:42:10 not very impressive :) Sep 29 19:42:13 I just know that you have to register for location updates somehow, and wait for it to call whatever callback it takes Sep 29 19:42:26 tomtiger11: also, make sure you check out reto's blog in gps / location stuff Sep 29 19:42:54 g00s: Link moi Si vous plais? Sep 29 19:43:05 you'll have to google it :) Sep 29 19:43:19 on the official android blog Sep 29 19:47:40 has anyone got any problem when upgrading from Eclipse 4.2.0 to 4.2.1 ? My Android plugins appear as loaded in the package manager, but they can't be loaded Sep 29 19:47:59 I'm really sick of Eclipse, thinking about moving to Netbeans :( Sep 29 19:52:44 xroberx: What's Android development in Netbeans like? Sep 29 19:52:54 I know plenty of folks who swear by Netbeans over Eclipse Sep 29 19:53:21 hello guys, i want to create an app for recording my jogging routes similar to my tracks app. I need to begin from smth. How should i start? Sep 29 19:53:41 Hodapp: It's a _much_ better IDE, but the nbandroid plugin lacks some of the functionality of the Eclipse ADT plugin, like the visual layout editor Sep 29 19:54:33 no visual layout editor?! Sep 29 19:55:07 nope Sep 29 19:55:17 that's half the reason I use Eclipse :| Sep 29 19:55:54 but if you know how layouts are built, it's not really a big deal Sep 29 19:56:29 I still really prefer the tighter feedback loop of being able to see it more immediately Sep 29 19:57:16 Im going to have to go. Sep 29 19:57:24 Bye, And il see you guys tomorrow! Sep 29 19:57:40 Hodapp: the thing about Eclipse is that it gets buggier with every new version Sep 29 19:57:54 There's layout previews in intellij Sep 29 19:58:07 Just can't drag'n'drop ui components yet Sep 29 20:00:02 Drag & drop never seems to work right for me Sep 29 20:00:12 not in the Android visual layout editor, not in something like Qt Designer Sep 29 20:00:20 SimonVT: yeah, but intellij is intellij :) Sep 29 20:00:53 every time I try to drop a widget someplace it comes out by trying to convey "move widget A from parent widget 1 to parent widget 2" what I actually meant was "make everything explode". Sep 29 20:01:19 lol Sep 29 20:01:31 yeah, I feel that way with Eclipse all the time Sep 29 20:01:39 the UI designer coming in intellij 12 looks pretty slick Sep 29 20:03:16 xroberx: I do too, but I feel like Qt Designer is only marginally better. Sep 29 20:12:43 stupid fucking Eclipse. Sep 29 20:13:01 it kept telling me an error existed on line 15 of a 6-line XML file it generated. Sep 29 20:13:07 no matter how many times I refreshed the project. Sep 29 20:13:24 now, after restarting, it's showing me the other 20 lines that shouldn't even be there Sep 29 20:13:52 why do you use eclipse if it's so frustrating? Sep 29 20:14:07 because I don't know of what else is effective to use. Sep 29 20:14:58 i use eclipse sometimes, but usually i just use emacs or some text editor Sep 29 20:15:06 i don't think it slows me down in the slightest Sep 29 20:15:07 also, the adt is full of its own bugs, unfortunately people blame eclipse when its the adt. i guess in the end it doesn't matter Sep 29 20:15:53 Having to go to another application to refer to API calls slows me down. Sep 29 20:16:30 I don't know, in a lot of cases, what a valid way to complete something is, and ADT does help me here, for instance, with showing me what resources are present. Sep 29 20:16:57 there are plugins for that in emacs, but i like forcing myself to retain that stuff in memory Sep 29 20:17:09 I don't. I have better stuff to remember. Sep 29 20:17:36 it's not like you can only remember one thing or the other Sep 29 20:17:48 It's not like remembering things takes zero time or effort. Sep 29 20:18:00 fair enough Sep 29 20:18:41 I develop from Windows at work as well and I don't feel like trying to set up Emacs there and keep it in sync with my OS X / Linux set up here, knowing that it's then going to require me to memorize a bunch of API calls to work effectively too. Sep 29 20:20:03 that makes sense. i guess for me the cost of using eclipse seems greater than its benefits, that's all Sep 29 20:21:26 if I'm using a real language, Eclipse is typically not necessary Sep 29 20:33:06 i've created a values/values-mdpi and placed there dimension.xml inside the file i have 20dp ; how do i access that value from strings.xml? @dimension/text_size does work Sep 29 20:34:00 any one have experience developing android tv box app? Sep 29 20:34:31 how would u approach on developing the gui Sep 29 20:35:53 doesnt* Sep 29 20:46:02 I need help, I think. I'm writing an android app using Eclipse. In my XML layout, I defined a checkbox with id "remember". I access it using findViewById(R.id.remember) in my code and cast it to a CheckBox. However, it fails and complains that findViewById returns a Button, not a CheckBox. What could I be doing wrong? Sep 29 20:48:53 TheJH, no idea, paste your xml and code somwhere Sep 29 20:50:23 RazielZ, https://gist.github.com/b2812ea50385c06fa80c Sep 29 20:51:57 RazielZ, ah, nevermind, clean and rebuild fixed it Sep 29 20:52:05 Lol, nice. Sep 29 20:52:27 Yeah, I couldn't find anything wrong, the only thing that fit was the fact that the next thing was a button Sep 29 20:52:35 But it was properly defined with its own ID and everything Sep 29 20:54:21 socket: you dont. set android:textSize="@dimen/text_size" in the view xml Sep 29 20:56:32 saik0: the other way works too, i place my values-ldpi under values insted under res... Sep 29 20:56:44 so it failed, but thanks Sep 29 21:30:24 Hello everybody. I am using a custom layout in my action bar (which inflates from the left hand side) and setting splitActionWhen narrow. My custom layout has a textview and two buttons, and my action bar menu layout has 4 buttons. The problem is on a tablet this will work fine since there is enough room w/o a split, and on a phone it'll work fine since it'll split and there is enough Sep 29 21:30:25 room. However I was recently testing the app out on a nexus 7 (medium sized screen) and the problem is the textview in the custom action bar layout is cut off so that the custom action bar layout and the menu item are all bunched at the top, ie it is not splitting it is as I would hope it would. Anyone got a suggestion how to fix? Sep 29 21:46:28 i love motorolas facebook page Sep 29 21:46:43 been trolling it nonstop today cause they screwed atrix/photon/electrify Sep 29 21:47:12 Is it possible to force the action bar to include the width of a custom inflated action bar viewgroup when calculating whether there is not enough space to split it? Sep 29 21:50:15 Is there a less ugly way to make a new thread than, uh, new Thread(new Runnable() {}? Sep 29 21:50:44 Considering this is supposed to be a pretty small thread so making an asynctask for it would be meh. Sep 29 21:51:46 no Sep 29 21:52:16 Eh well. Sep 29 21:52:20 i mean, you could abstract it to make it less ugly (Thead t = MakeThread()) Sep 29 21:52:29 but then, why not just use an async task Sep 29 21:52:49 True Sep 29 21:52:58 I'll just use new Thread Sep 29 21:53:03 It's not THAT ugly anyway. Sep 29 21:53:07 Is it okay to cast DecorView to a ViewGroup and get it Sep 29 21:53:13 Specially since I won't be defining the function inside it, just calling it Sep 29 21:53:14 's first child and assume that this is the content view? Sep 29 21:53:52 You mean your content view? Sep 29 21:54:38 hwrd|work: no, not okay :) Sep 29 21:54:44 SimonVT: No, I mean the fist child in the DecorView. Sep 29 21:54:53 romainguy: hehe. Maybe, not then. Sep 29 21:55:01 hwrd|work: instead, do findViewById(R.id.content) Sep 29 21:55:04 That holds the action bar etc etc Sep 29 21:55:38 what we call the content view does not contain the action bar btw Sep 29 21:55:43 romainguy: Does that view include the ActionBar as well? Sep 29 21:55:49 no Sep 29 21:55:50 romainguy: Ah. I didn't think so. Sep 29 21:58:41 Is there a way to determine with code whether the action bar is split? Sep 29 22:01:26 lasserix: Not that I know of. Sep 29 22:02:04 I have a problem with the action bar custom view layout being overlapped by the action bar menu buttons, is there a way to force the actionbar to include in its measure of placing the menu (via split) with the custom view? Sep 29 22:02:16 hwrd|work: yeah seems to be the consesus Sep 29 22:03:30 hi there, my SDK manager doesn't have API level 16 (4.1) in the list and reloading doesn't add it - any ideas? Sep 29 22:04:03 are you sure? for me it's there, but 'hidden' by default Sep 29 22:04:16 you have to click the right pointy arrow Sep 29 22:04:32 it's just not there at all, sam. Sep 29 22:04:58 What's this java syntax called (and doing)? List> fillMaps = new ArrayList>(); Sep 29 22:05:00 shucks Sep 29 22:05:02 sampullman; http://puu.sh/19PHO Sep 29 22:05:05 that's my SDK screen Sep 29 22:05:07 after reloading Sep 29 22:05:16 jaggz: That just makes a new list of a HashMaps Sep 29 22:06:08 have you tried turning it off and then on again? Sep 29 22:06:16 .-. Sep 29 22:06:35 I don't see it. What's the "Type>" syntax? Sep 29 22:06:54 i mean restarting the sdk :p Sep 29 22:07:01 sampullman; wat. I'm getting it straight from the google repo Sep 29 22:07:01 and yes Sep 29 22:07:05 I have tried that Sep 29 22:08:15 ChrizC: Try doing - Tools (menu bar) > Settings > Manifest cache > Clear Cache (and maybe uncheck "Use download cache") Sep 29 22:08:46 jaggz, that is generally related to Java Generics Sep 29 22:08:48 sampullman; only think under tools is manage add-on sites. Sep 29 22:08:57 s/think/thing Sep 29 22:09:14 tools/options ? Sep 29 22:09:15 i have it Sep 29 22:09:50 jaggz, This web page http://docs.oracle.com/javase/tutorial/java/generics/types.html and the ones previous and next of it talk about generics somewhat Sep 29 22:09:54 are you running it eclipse? Sep 29 22:09:57 yes Sep 29 22:10:07 yeah just went there.. thanks a buncha Sep 29 22:10:12 try running as administrator outside of eclipse Sep 29 22:11:24 sampullman; erm, a cmd prompt just opens and closes. Sep 29 22:11:35 what exactly are you running Sep 29 22:11:35 same with AVD manager Sep 29 22:11:41 it should be Sep 29 22:11:48 /android Sep 29 22:12:02 sampullman... yes, that one... Sep 29 22:12:33 sounds like something is totally feezed, maybe you should re-download the sdk Sep 29 22:13:04 im pretty sure clearing the cache will fix it, and re-downloading is a roundabout way of doing that Sep 29 22:14:34 wait Sep 29 22:15:00 make sure java is in your path statement before windows/system32 Sep 29 22:15:19 it is. Sep 29 22:16:07 have you tried starting it from the cmd prompt using android.bat? Sep 29 22:21:30 ah, finally, sampullman, reinstalled the SDK. Sep 29 22:21:35 I want to change my name on nexus 7 Sep 29 22:21:38 where can I do that? Sep 29 22:21:44 boom! Sep 29 22:21:50 the name the first time you turn on your nexus it asks you Sep 29 22:22:08 mindlogger: the people at #android might be more inclined to answer that question Sep 29 22:22:17 they are all dead Sep 29 22:23:06 my nexus 7 never asked for a name :S Sep 29 22:23:16 ChrizC: how come? Sep 29 22:23:27 I dunno, it just never did Sep 29 22:23:30 as far as I remember Sep 29 22:23:31 mindlogger: Log into your play.google.com account and click on my orders and settings and then click on the settings tab. Sep 29 22:23:39 I have a problem with the action bar, if anyone knows solution so I don't have to ultimatly abandon using it. Anyways I inflate a custom view into it, however this customview gets overlapped by the action bar's menu buttons. On a xlarge screen there's no problem since enough room exists; on a small/medium screen there's no problem because it splits. However on large screen it overlaps. Sep 29 22:23:39 Does anyone know how to force the ab to measure if it should split including the width of a custom view inflated into it? Sep 29 22:23:48 the thing is that I don't wanna log in to google on this device Sep 29 22:24:19 well, now you're just being difficult Sep 29 22:24:28 do it on a pc Sep 29 22:24:53 reset factory worked Sep 29 22:24:57 removed my name :) Sep 29 22:25:53 can anyone recommend me tutorial on building backround service which runs all the time when resources are available and if gets killed becuse of resrouce constraints it will be called to bootup again once resources become available Sep 29 22:26:02 yeah lol my nexus 7 is unnamed Sep 29 22:26:59 if i have ICS can i update it to a more current version? Sep 29 22:27:12 if so, how? Sep 29 22:33:21 <[deXter]> panegyric, Wrong channel. Ask in #android or #android-root Sep 29 22:33:35 wow..ok Sep 29 22:35:40 i just wnt to know if thats possible Sep 29 22:35:52 <[deXter]> Yeah, and it's still the wrong channel. Sep 29 22:35:53 depends on your device... Sep 29 22:36:11 if you can sampullman how do you do it Sep 29 22:36:24 no idea Sep 29 22:40:12 panegyric: deXter is correct. And (I believe) it involves rooting and flashing a new version of w/e OS you want. CM9 or maybe it's at 10 now is for this purpose specifically. Google CyanogenMod if you're interested further. Sep 29 22:40:57 thanks Sep 29 22:41:10 De nada. Sep 29 22:42:15 hmm, what do you guys suggest for a grid of buttons? GridView? Or just use an ImageView and draw on it, and intercept clicks myself? Sep 29 22:42:20 Is there any way to have the actionbar include the width of a custom view inflated into it when it decides to split or not? Right now I'm having a problem with a custom view getting overlapped/cut off by the menu buttons because it decides not to split. Sep 29 22:42:50 I don't need MxN views, I just need MxN rectangles whose colors I can control Sep 29 22:42:53 Hodapp gridview so if you decide to do something else/more later you don't have to refactor the whole thing Sep 29 22:43:21 well I guess it doesn't matter after all ;p Sep 29 23:09:10 Just been looking at this Sep 29 23:09:14 http://developer.android.com/guide/topics/manifest/instrumentation-element.html Sep 29 23:09:19 Is there any way I can load the package without setting targetPackage in the instrumentation node? Sep 29 23:09:38 I don't want to have to recompile every time the package changes. Sep 29 23:10:44 why would your target package be changing? Sep 29 23:11:15 mrenouf: Because I'm trying to write something I can reuse for different apps Sep 29 23:13:09 okay, why can't I launch my app on my nexus 7? It's connected, in usb debug mode, but it doesn't show up on the available devices list Sep 29 23:13:39 ChrizC: try running 'adb kill-server' in a terminal, force it to refresh Sep 29 23:14:59 mrenouf; did that, still nothing Sep 29 23:15:15 and assuming 'adb devices' shows nothing? Sep 29 23:15:29 mrenouf; correct Sep 29 23:15:44 did you plug it into a different computer? (don't laugh, I've done that ;-)) Sep 29 23:16:07 there's only one computer in my room, so nope, mrenouf. Sep 29 23:16:08 :P Sep 29 23:16:20 did the phone recognize debug connection? (icon on status bar) ? Sep 29 23:16:25 yep Sep 29 23:16:34 it's a tablet - asus nexus 7, if that helps Sep 29 23:16:37 4.1 jelly bean Sep 29 23:17:54 mrenouf; I'll try rebooting the tablet Sep 29 23:19:01 mrenouf; rebooted tablet, still nothing Sep 29 23:19:29 * Hodapp is mildly amazed at how simple a Canvas is to draw on. Sep 29 23:19:44 all I did was subclass View and override onDraw... Sep 29 23:20:41 oh, mrenouf, a little googling brought back some interesting info Sep 29 23:22:24 oh, that still didn't work Sep 29 23:22:25 strange Sep 29 23:24:41 Can anyone recommend an Android-friendly embeddable scripting language that isn't Rhino? Sep 29 23:24:58 I'm accustomed to Groovy, but apparently it's unsupported on Android. Sep 29 23:25:27 eropple, I cannot recommend scripting languages ;-) Sep 29 23:25:40 That's wonderful for you. I don't care. Sep 29 23:25:52 I don't believe anything is officially supported Sep 29 23:26:04 I have a requirements-based need for one, and Rhino looks problematic Sep 29 23:26:05 but people have been using Python Sep 29 23:26:10 mrenouf; ah, turns out I had to change to PTP mode, and manually install the Nexus 7 using google's USB driver. Sep 29 23:26:38 ChrizC, ahh yes. On linux, never had to mess with that stuff. Sep 29 23:26:43 I know Python is supported as a scripting-ish language, but I haven't found a working Jython build (though I haven't looked too closely; it has a lot of the same problems as Rhino anyway) Sep 29 23:27:06 Jython should work, it compiles down to java bytecode, right? Sep 29 23:27:19 eropple: scala may be what you're looking for Sep 29 23:27:21 If it compiles to Java bytecode it almost certainly won't work. That's most of why groovy doesn't. Sep 29 23:27:29 you're not going to be able to add new code at runtime Sep 29 23:27:29 although it's not exactly a "scripting" language Sep 29 23:27:45 sampullman: I'm fairly familiar with Scala but I'm unsure how you mean that, could you explain? Sep 29 23:27:49 you need an interpreted solution I guess Sep 29 23:28:25 im not sure what your use case is, so im not exactly sure what i mean Sep 29 23:30:23 sampullman: I need a runtime scripting system. AFAIK there's no actually-interpreted mode in Scala. Sep 29 23:30:24 (My issue with Rhino is the wonky extension of Java classes/interfaces, which may be endemic to non-bytecode-generating scripting languages in general, which might mean I'm screwed.) Sep 29 23:30:47 There is some Android scripting language interface whose name I can't remember. Sep 29 23:31:22 ah, SL4A Sep 29 23:31:25 Thinking of this, maybe? http://code.google.com/p/android-scripting/ Sep 29 23:31:36 "Python, Perl, JRuby, Lua, BeanShell, JavaScript, Tcl, and shell are currently supported, and we're planning to add more." Sep 29 23:32:06 Right - not in an embedded form, unfortunately. I spent some time poking at what they're doing but it didn't look particularly promising. :/ Sep 29 23:33:04 how full featured does it need to be? access to android APIs? Sep 29 23:33:38 sampullman: I'd like something that can extend Java classes; for comparison, if this was on the desktop I'd likely be using Groovy. Sep 29 23:34:25 i don't think that exists atm, but i could be wrong Sep 29 23:34:39 That's what I was afraid of, but I figured I'd ask. Sep 29 23:48:26 I have an android app, and I need to reference another android app in a folder next to the first one. I can't use .classpath because I'm not using eclipse. Is there any alternative? Sep 29 23:53:20 andrewvos: in your project.properties you can have something like this: Sep 29 23:53:22 android.library.reference.1=../gridlayout/ Sep 29 23:53:48 with ../gridlayout/ being whatever the relative path to the library you want to include is Sep 29 23:53:59 @ChrizC you have to install the asus nexus 7 drivers first Sep 29 23:54:23 *err nm was scroll locked ;p Sep 29 23:54:27 sampullman: Thanks! Sep 29 23:54:35 Is there any way to have the actionbar include the width of a custom view inflated into it when it decides to split or not? Right now I'm having a problem with a custom view getting overlapped/cut off by the menu buttons because it decides not to split. Sep 29 23:55:15 andrewvos: no problem. but just to make sure, the thing you're referencing must be a library project Sep 29 23:55:18 not a regular app Sep 29 23:56:01 sampullman: Oh. Nope it's a regular app :( Sep 29 23:56:18 then copy paste the files Sep 29 23:57:14 sampullman: You mean the source files? Sep 29 23:57:37 yup, i don't know of any other way besides making it a library project Sep 29 23:59:00 sampullman: Ok thanks Sep 30 00:00:09 sampullman: I don't think this is possible then. Problem is I'm getting ClassNotFoundException when trying to load a class from a seperate package. Sep 30 00:00:18 sampullman: I found this code https://gist.github.com/3805443 Sep 30 00:00:27 sampullman: Which made me think it was possible. Sep 30 00:00:31 So, :( Sep 30 00:01:54 i think they must have linked the other package as a library proj Sep 30 00:02:18 but you could just copy paste the files and correct all the references Sep 30 00:02:26 (package names, imports, etc) Sep 30 00:02:44 sampullman: The thing is I'm trying to test the actual project using instrumentation, so I'm guessing it has to be real references. Sep 30 00:02:53 sampullman: This is promising though https://github.com/calabash/calabash-android/blob/master/ruby-gem/test-server/instrumentation-backend/src/sh/calaba/instrumentationbackend/CalabashInstrumentationTestRunner.java Sep 30 00:03:35 i dunno Sep 30 00:03:51 it's easy enough to convert a project to a library, though Sep 30 00:05:42 sampullman: The project I'm referencing is an application though Sep 30 00:05:54 sampullman: It has to be an application, is what I mean. Sep 30 00:06:07 beats me then, sorry Sep 30 00:06:27 hopefully someone with more knowledge can help Sep 30 00:07:32 Thanks anyway! Sep 30 00:32:21 hey why do i keep getting [10053] Software caused connection abort Sep 30 00:32:24 please tell before i get disconnected Sep 30 00:33:41 is anyone getting my messages Sep 30 00:33:47 yupp Sep 30 00:33:49 i think im not gettin disconnected Sep 30 00:33:59 usuallyy gets d/c in 20 sec Sep 30 00:34:02 after i connect Sep 30 00:34:19 Problem is mentioned here: http://www.mirc.net/newbie/problems.php Sep 30 00:34:20 any idea why this is happening Sep 30 00:34:54 i looked yes doesnt seem to be any of those issues Sep 30 00:35:15 no idea, try different client/server? Sep 30 00:35:16 or are not specific enough Sep 30 00:35:41 seems to be workin g now on this server Sep 30 00:35:48 nice! Sep 30 00:35:49 i keep gettig PONG Sep 30 00:36:10 from freenode.net Sep 30 00:36:38 this is what it says on my server window (im on mIRC) Sep 30 00:36:39 PONG from morgan.freenode.net: Anti-10053 Sep 30 00:36:40 - Sep 30 00:38:29 also read it can be fixed by puttin this in the script editor: Sep 30 00:38:30 ; --- General --- Sep 30 00:38:30 on *:START:.timerAnti-10053 -o 0 60 scon -at1 raw -q ping Anti-10053 Sep 30 00:38:30 on ^*ONG:if ($2 == Anti-10053) haltdef Sep 30 00:38:30 ; --------------- Sep 30 00:38:34 anyone know how to do that Sep 30 00:39:37 sophistry, can you use a pastebin in general. Sep 30 00:39:47 pastebin? Sep 30 00:40:03 http://pastebin.com/ Sep 30 00:40:18 oh sorry Sep 30 00:40:34 it's cool it just makes things easier. ;) Sep 30 00:40:41 http://pastebin.com/YLE21PuD Sep 30 00:41:14 man u guys are so cool with ur tools Sep 30 00:44:27 Hi guys! Sep 30 00:45:49 A newbie question... is it possible to create a service without any user inerface activity linked to it, isn't it? I mean, can I create a service at startup which do something each 30 min and, if condicion success, show a notification to the user? Sep 30 00:54:04 sepho yes Sep 30 00:56:03 i want to allow users to log in to my app via facebook and twitter, and i want to post things from my app to facebook and twitter (with their permission of course!). are there cut-and-dried sdks for these things, or do i have to jerry-rig it? Sep 30 00:56:31 facebook has an API for that sort of thing Sep 30 00:56:40 i assume twitter does as well Sep 30 00:58:06 anyone happen to know how to run/compile python code on a tablet? I know this is a #android question, since I do not want to develop for android with python, but just run python on my tablet, hoping someone might know here? Sep 30 00:58:36 <|KNERD|> lasserix: ./configure ;-) Sep 30 00:59:16 don't have it rooted Sep 30 00:59:38 *Don't want to root it for now, but maybe that is the best solution Sep 30 01:00:08 yes I would agree...why should EVERYONE have root access to their own device they bought? Sep 30 01:01:14 I agree with you and my friends keep bugging me to do it but honestly I have to much to do as it is than to start spending time playing around with a rooted device Sep 30 01:05:48 i love 3d programming Sep 30 01:05:58 does anyone know of a good 3d texture mapping tutorial? Sep 30 01:15:37 lasserix: itf it was rooted, you would not be playing..but being productive Sep 30 01:18:00 Does anyone else still support android os 1.6, or has everyone moved on to supporting 2.2 as their minimum sdk? Sep 30 01:18:53 i support 1.6 if it is easy to do so Sep 30 01:19:46 sampullman: I can't find a way to support 1.6 with google ads =\ Sep 30 01:19:54 or admob, not sure what the proper name for it is Sep 30 01:20:25 what sdk version is 1.6? Sep 30 01:21:08 sampullman: 4 Sep 30 01:21:38 i think it's in the admob docs somewhere that you have to set the minSDK to 5 or greater Sep 30 01:23:00 so 2.0 would be as low as you can go Sep 30 01:23:48 actually, 4 should work, i just looked it up Sep 30 01:24:25 sampullman: oh, can you link me it? Sep 30 01:29:08 sorry, here it is Sep 30 01:29:09 https://developers.google.com/mobile-ads-sdk/docs/ Sep 30 01:29:17 in the android tab Sep 30 01:29:37 target must be >= 13, min must be 1.5 or later Sep 30 01:30:01 also, i just verified that i have an app with a minSDK of 1.5 running admob Sep 30 01:30:16 Snuupy: ^^ Sep 30 01:30:28 sampullman: awesome, thanks! Sep 30 01:30:57 sampullman: also, what's the diff between admob v4 and admob v6? Sep 30 01:31:02 should I make my users upgrade? Sep 30 01:31:27 your users don't have a choice...it's whatever you use in your app Sep 30 01:31:49 hey yall Sep 30 01:32:17 how do i keep a php file with my mysql database credentials (username/pass) ina non-web accesible directory Sep 30 01:32:36 or how do i change the permissions for it, so i dont compromise the security of the database Sep 30 01:33:18 sampullman: what's different between admob v4 and v6 (or where can I find this info)? Sep 30 01:33:27 Think the next nexus device(s) will be sold via the play store? I want a GSM version that works like the current nexus. would buy the current nexus but i won't cuase of its age... having trouble deciding Sep 30 01:33:32 (i read i was to put it outside of a web-accessible directory) but that doesnt make sense , since its gonna be included with the other php anyway Sep 30 01:33:51 so it has to be web accessible right Sep 30 01:34:00 * panegyric is confused Sep 30 01:34:03 Snuupy: try google, i have no idea. i thought you were required to use 6.0 or higher. i don't see why you wouldn't use the latest version Sep 30 01:34:46 panegyric: you don't want it to be world readable, mostly. also, this is the wrong channel for that question Sep 30 01:34:50 sampullman: my previous apps were 4.1.x, is it needed to have to redownload the jar files, then relink them in eclipse? Am I losing out on anything if I don't upgrade? Sep 30 01:35:23 Snuupy: it's not hard to upgrade, and at some point admob could stop serving ads to older versions Sep 30 01:35:53 sampullman: okay, that means I have to release a new apk file, right? Sep 30 01:36:22 erm, an update, yeah. just bundle it with another update Sep 30 01:36:57 sampullman: cool, thanks Sep 30 01:37:11 sampullman it has to do with my android app Sep 30 01:37:49 tangentially..my point is that there are better places to find an answer for that Sep 30 01:38:03 like where? Sep 30 01:38:38 google, for starters Sep 30 01:38:38 http://stackoverflow.com/questions/659970/why-is-it-not-advisable-to-have-the-database-and-web-server-on-the-same-machine Sep 30 01:39:29 youre fast sampullman Sep 30 01:39:37 youre girlfriend is lucky Sep 30 01:39:50 well actually she wouldnt be if you were fast, but you get what im saying Sep 30 01:53:24 Hello, is there anyone here that wouldn't mind helping me recover my contacts real quick? Sep 30 01:55:17 Basically, I was on stock ICS, then I installed CWM and did a backup, then I installed a ROM. Now I want to restore my contacts from my backup, but when I use CWM to restore, it seems like all my google processes just force close immediately. Sep 30 01:55:21 Any ideas? Sep 30 01:58:31 ask #android Sep 30 01:58:50 isn't it #android-root ? Sep 30 01:58:54 :P Sep 30 01:59:20 eh **** ENDING LOGGING AT Sun Sep 30 02:59:59 2012