**** BEGIN LOGGING AT Tue Dec 17 03:00:00 2013 Dec 17 03:02:53 CocoStorm, I think I understand what's going on. Google probably split as keywords, and the big names are the most popular so they still appear on top fine. We have less than 100 installs, so we are still there, just at the very bottom. I told the boss we can't do anything more for now. Dec 17 03:03:21 hm Dec 17 03:03:29 I have over 100 installs Dec 17 03:03:30 and Dec 17 03:03:35 mine doesn't do that Dec 17 03:03:42 but yeah, for sure :) maybe it will work out soon Dec 17 03:04:05 For Rank? Dec 17 03:04:52 For Search Dec 17 03:05:03 Yeah Dec 17 03:05:09 your app ranking (position) ? Dec 17 03:05:16 ohhh Dec 17 03:05:31 I think several factors take in affect Dec 17 03:05:34 somewhere between terrible and why did i bother Dec 17 03:05:36 Like Google +1s Dec 17 03:05:44 Downlaods Dec 17 03:05:47 and your package nam Dec 17 03:05:50 *name Dec 17 03:06:10 not sure what rank AndreYonadam it's this https://play.google.com/store/apps/details?id=com.marco.numbersnap Dec 17 03:06:48 Yeah its different depending on keywords Dec 17 03:07:04 number snap wont work Dec 17 03:07:05 hey nerds Dec 17 03:07:09 like it doens't even show up for "Contact Photo App" Dec 17 03:07:14 Sup GEEGEEGEE Dec 17 03:07:20 AndreYonadam, yeah that's pretty awks haha Dec 17 03:07:20 how wouldI go about implementing a horizontal scrolling set of images Dec 17 03:07:31 GEEGEEGEE: Scrollview? Dec 17 03:07:31 actually dm ill just use a grid Dec 17 03:07:38 pager? Dec 17 03:07:45 depends what effect you want Dec 17 03:08:17 My app's images render on only 10mb of heap even on tablets :D Dec 17 03:08:23 I think thats enough optimization Dec 17 03:08:41 CocoStorm: Did you get any downloads Dec 17 03:08:44 10mb sounds like a lot Dec 17 03:08:54 of Heap? Dec 17 03:09:13 not really Dec 17 03:09:16 the whole emulator is 10mb Dec 17 03:09:25 AndreYonadam, around 150 Dec 17 03:10:00 The galaxy nexus has 256MB max I think shmooz Dec 17 03:10:03 So I'm good Dec 17 03:10:03 lol Dec 17 03:10:17 CocoStorm: Congrats. Dec 17 03:10:22 I had my app for $$$ origionally Dec 17 03:10:26 didn't work that well. Dec 17 03:10:30 Just made it free and put ads Dec 17 03:11:09 wtf does number snap do? Dec 17 03:11:37 is there a way to make it free but take donations ? Dec 17 03:11:39 It's NumberSnap Dec 17 03:11:47 AndreYonadam, I gave you the link :P Dec 17 03:12:07 I still have a long way to go before I can put mine on play store Dec 17 03:12:09 shmooz: Maybe this payment model is better though :D Dec 17 03:12:17 shmooz: This is my third. Dec 17 03:12:26 CocoStorm: Checking at out as we speak. Dec 17 03:12:39 but I'm thinking make it free while being open to donations Dec 17 03:12:58 so those that appreciate it will donate Dec 17 03:13:14 CocoStorm: Doens't the dialer already have some of those features Dec 17 03:13:26 shmooz: Depends. Dec 17 03:13:32 shmooz: Ads are mostly the way to go. Dec 17 03:13:39 AndreYonadam, doubt it? Dec 17 03:14:10 What networks do you guys use? Dec 17 03:14:13 *Ad Dec 17 03:16:14 Guess no one uses ads here then... Dec 17 03:16:27 Not sure if I should give a user demo for the first time use. Dec 17 03:24:14 AndreYonadam: that's a good idea Dec 17 03:24:25 I think most people do use ads Dec 17 03:24:34 shmooz: Adding the demo is a good idea? Dec 17 03:24:43 yes Dec 17 03:24:50 yeah most people do Dec 17 03:24:52 I use MMEdia Dec 17 03:25:05 I'm looking for other alternatives though Dec 17 03:25:10 they are okay Dec 17 03:25:53 Admob is still #1 in marketshare Dec 17 03:25:54 lol Dec 17 03:27:52 yes Dec 17 03:27:59 my new app is only ~350kb Dec 17 03:28:05 Its pretty good too Dec 17 03:28:17 which one Dec 17 03:28:23 Its coming out at the moment Dec 17 03:28:29 I'll link you up Dec 17 03:29:10 Question. How do you manage your apps and like commits from version to version. Is there any good eclipse plugin? Dec 17 03:31:39 AndreYonadam: maybe this ? http://www.eclipse.org/subversive/ Dec 17 03:31:58 shmooz: Thanks. I'll look into it. I knew of it just didn't know if it was that good. Dec 17 03:32:07 I know xcode's is good. Dec 17 04:04:57 Im trying to import import android.support.v4.view.ViewPager; and its saying it cant find symbol ViewPager Dec 17 04:44:06 put android-support-v4.jar in you projects_path/libs/,you can find this jar in android_sdk/extras/xxx Dec 17 04:44:27 hello. The top bar where the app name is shown. I don't like that on the Nexus 4 the last letters of the word is cut off. It fits fine for the WVGA because the text is shown smaller. How do I apply the same size text for the Nexus 4? Dec 17 04:52:58 skinkitten, how are you sizing the text? Dec 17 04:53:23 use dp unit Dec 17 04:53:25 not px Dec 17 04:54:16 sp for text Dec 17 04:55:36 good morning y'all Dec 17 04:55:45 right, sp Dec 17 04:57:16 i work very closely with my design guy... waay too close except for hes on the other side of the country, no matter how many fucking times i explain i need designs with relative units Dec 17 04:57:25 i always get designs that look like shit unless everything is pixel perfect placement Dec 17 04:58:06 is he a web design person ? Dec 17 04:58:45 his dayjob involves mostly print work, magazines, posters and the like Dec 17 05:00:34 which explains why he's able to make money as a designer when he has that fairly major hangup Dec 17 05:03:50 working with designers is a special skill Dec 17 05:04:08 just like working with product owners ;) Dec 17 05:04:11 or busines Dec 17 05:07:53 i'm fortunate enough to be so awful at doing even simple design tasks like matching colors that i can tell i shouldnt be doing design work myself Dec 17 05:13:12 LiENUS what is he using to design Dec 17 05:13:27 fuck if i know hes in joisey Dec 17 05:13:43 he uses a lot of photoshop naturally Dec 17 05:18:12 photoshop is for photos, people adapt it to design for everything else Dec 17 05:18:37 if you give me a more specific example, i might be able to help Dec 17 05:21:49 i dont understand how this ever happens http://www.androidpolice.com/2013/12/16/sony-z-ultra-gpe-bugs-preventing-access-to-security-settings-and-uninstalling-apps-google-is-aware-and-working-on-a-fix/ Dec 17 05:21:59 Attempting to access the "Security" area under the phone settings results in a crash of the settings app. Dec 17 05:22:09 i cannot even start eclipse adt... says error occured. see the log... Dec 17 05:22:28 so clearly this mean, nobody even tested that Dec 17 05:23:29 sad really Dec 17 05:23:49 you what? really ?... crazy Dec 17 05:24:19 nothing like testing in production, right? ;) Dec 17 05:25:32 LiENUS this was a big reason i switched to illustrator, but it's definitely possible to adapt your photoshop work flow Dec 17 05:26:22 i generally work from whats essentially a screenshot of what he wants it to look like Dec 17 05:28:13 you lose a lot of functionality, because to do certain stuff quickly you need to rasterize layers, losing ability to resize it later without pixelation Dec 17 05:28:53 also when switching between print/digital you need very specific settings for each or you screw stuff up, easily Dec 17 05:35:45 LiENUS, use illustrator, and utilize art boards Dec 17 05:36:40 i dont use the design application i essentially ask him for a screenshot and resources then drop it into whatever development tool/environment i'm using Dec 17 05:37:31 I wonder if someone has some advice. I upgraded to Win 8 in hopes in using the Window Phne 8 Emulator. I have two Android phones here and the abd.exe cannot find them when I connec via USB. I have even followed this advice: http://stackoverflow.com/questions/2256884/android-device-chooser-device-not-showing-up Dec 17 05:37:32 hello i have recently published my app which supports devices Android 4.0 and up. I realized that i don't support the 25% of the devices. Will it be better to publish an update to support from gingebird and up or i should remove the app and republish it after the changes? Dec 17 05:38:15 which is the more profeesional. Since now i have only 16 donwloads. Dec 17 05:38:38 hawa: try giving some more information about your problem - people aren't waiting here just to help you, they have their own conversations Dec 17 05:38:54 i would also check the log for eclipse Dec 17 05:39:00 it might give you some idea what the error is Dec 17 05:40:05 resu01: I'd be a lot more 'worried' about having 16 downloads than supporting old devices... is it a paid app, or a small niche? Dec 17 05:40:32 Leeds, okie dude... well atleast u responded... Dec 17 05:40:51 hawa: if I used eclipse, I might try to help - but I don't, so I won't Dec 17 05:40:51 it is a free app. I published the app 6 days ago Dec 17 05:41:16 resu01: go on then, link us Dec 17 05:41:39 https://play.google.com/store/apps/details?id=mc.casino.bjcounter Dec 17 05:42:26 okie... sbd plz help... i am using eclipse from adt bundle... it worked just fine till yesterday... bt before startup says"an error occured. please see the log file" here's paste of logfile... http://pastebin.com/r577Ka59 Dec 17 05:43:14 I'd call that pretty niche... Dec 17 05:43:40 mildly illegal/dangerous as well Dec 17 05:44:38 hawa: ask in #eclipse Dec 17 05:44:46 hawa, looks like a resource was corrupted Dec 17 05:44:55 Caused by: java.util.zip.ZipException: ZIP_Read: error reading zip file Dec 17 05:44:59 that looks to be the relevant error Dec 17 05:45:22 LiENUS, so is there a fix??/ Dec 17 05:46:06 resu01, i'm new so there may be a better way, but can't you change manifest to only show it to compatible devices, until you're able to release update to support the rest? Dec 17 05:46:13 i've no idea what zip file its trying to load Dec 17 05:46:34 resu01: There were a lot of 4.x phones on sale for Black Friday Dec 17 05:46:35 Leeds: Thanks a lot. I don't want to be arrogant but i think my app is better from others with 50000 - 100000 downloads in its category Dec 17 05:46:47 resu01: and how has your marketing been compared with theirs? Dec 17 05:47:10 ^ winner winner chicken dinner Dec 17 05:47:18 LiENUS, tnx anwz Dec 17 05:47:30 i will start from today to adverise my app in other android apps review sites Dec 17 05:48:26 resu01: got an example of one of the others? Dec 17 05:48:37 but before that i want to be sure that i am on the right way, because it will not be difficult for me to support older devices Dec 17 05:48:44 * Leeds fails to avoid making an obvious joke Dec 17 05:48:57 also, I think you've got to be pretty OCD to actually need to count blowjobs Dec 17 05:48:58 bj counters in casinos? Dec 17 05:49:03 Eeeeeee: you can't do this Dec 17 05:49:08 Eeeeeee: yeah that was going through my head lol Dec 17 05:49:22 always wanted to count the bjs i've received in casinos lol Dec 17 05:49:30 Eeeeeee: it is for online casinos Dec 17 05:49:45 you can play live blackjack online Dec 17 05:50:05 Why does it have to be in casino's? Dec 17 05:51:50 can i count bjs in movie theatres too? Dec 17 05:51:58 need a separate app for that Dec 17 05:52:04 I'm just saying, how high does the counter go? Dec 17 05:52:15 30 seconds Dec 17 05:53:11 Thanks for your interest about my app. My question is: 1) Leave the app as it is, 2)Make update for the published app to support older devices , 3)Unpublish and republish it with support to older devices? Dec 17 05:53:13 Obvious joke aside on that one, that's a pretty small category and without advertisement I don't see you getting many downloads Dec 17 05:53:28 resu01: don't worry about older devices would be my advice Dec 17 05:53:33 resu01 definitely not #3 Dec 17 05:53:48 probably #1 Dec 17 05:53:48 resu01 #1 just make sure you advertise it Dec 17 05:54:08 at a conservative estimate, you have an audience of approximately 750,000,000 devices Dec 17 05:54:13 i had a friend who was a genius and counted in his head Dec 17 05:54:17 Thank you all for your advices!I will start from today to advertise it Dec 17 05:54:29 he got on a list and could not play at casinos Dec 17 05:54:34 and i will leave it as it is Dec 17 05:55:08 g00s: i thought that only happened in the movies lol good on him Dec 17 05:55:36 they get caught because you can visually tell they're solving in their head Dec 17 05:55:36 at 50, he signed up at uni for his PhD in applied math Dec 17 05:55:52 unless doing with team Dec 17 05:56:10 "i can tell you've been thinking, that's it, get out!" Dec 17 05:56:21 g00s it will be my honor if i receive a feedback from your friend about my app Dec 17 05:57:06 to be fair, it's about the only way to avoid losing money in a casino Dec 17 05:57:07 Akuma713: the count deppends on the betting spread you have choosed Dec 17 05:57:14 real app would be google glass determining count from video feed, sending vibration signal to your smart phone Dec 17 05:57:17 oh, and when he wasn't doing all this he was competing in IronMan Dec 17 05:57:23 the higher it can go is 1 - 50 Dec 17 05:57:48 Eeeeeee: do you *really* think any casino is going to allow Glass on the floor? Dec 17 05:57:52 hhaha Dec 17 05:57:56 LiENUS: of course you can Dec 17 05:58:54 Eeeeeee, why would you need a vibration signal on your phone Dec 17 05:59:00 glass has a HUD doesnt it? Dec 17 05:59:06 true Dec 17 05:59:12 never used one Dec 17 06:00:42 maybe only for stealth reasons then Dec 17 06:03:59 i've got a friend with one but i've never put it on, my understanding is it has a HUD though Dec 17 06:09:02 Goddamnit, why the fucking fuck did the idiots at google make this godawful new UI for setting time Dec 17 06:09:21 the circle thingy ? Dec 17 06:09:25 I managed to place a meeting's time in the night because of this Dec 17 06:09:41 yes, that thing Dec 17 06:10:20 I guess I never read what it said, the 1 and 13 are really close Dec 17 06:10:51 I mean, it *did* report it as 01:00 but it's another thing for me to notice that it didn't register the press correctly Dec 17 06:11:26 i think it allows you to choose time faster than before Dec 17 06:11:32 my 2c Dec 17 06:11:48 it also allows you to choose it incorrectly at far higher likelihood than before Dec 17 06:12:11 be careful, time is precious :P Dec 17 06:18:21 * g00s is reading a great paper "Why Eve and Mallory Love Android: An Analysis of Android SSL (In)Security" Dec 17 06:18:41 so easy to fuck all this up; best not to trust any app :| Dec 17 06:20:43 nevermind that Android is using RC4 & MD5 as the first default cipher on all SSL connections. Dec 17 06:20:51 i dont think they even got into that one Dec 17 06:26:50 that paper focuses on apps it's not much of an analysis of android so much as it is of the apps Dec 17 06:27:41 hm, does any OS do this? "the Android OS does not provide any visual feedback to the user whether or not the underlying communication channel is secure." Dec 17 06:27:59 i guess i can see in my browser Dec 17 06:28:23 it'd be a decent paper if it didnt pretend it was an analysis of android itself :/ Dec 17 06:28:42 they offer some suggestions of improvements to android but the reality is the flaws lie in the apps they analyzed Dec 17 06:30:04 true... Dec 17 06:35:02 LiENUS i was interested in the paper because i didn't want to wind up on the list :D Dec 17 06:35:22 i'm using ssl for the first time, and trying to get it all right Dec 17 06:35:33 pinned certs, etc Dec 17 06:44:21 Heh, I'm trying to get my dungeon crawl 2D game to actually work, only 1/2 way done and found so many bugs. Dec 17 07:03:20 Is there a wayh to access objects from a parent activity? Dec 17 07:12:27 I'd say there isn't. Dec 17 07:13:03 if you need to pass information, do it via intent extras and re-create Dec 17 07:14:49 thats one aspect where i like iOS better; you can actually have a pointer to the view controller, as opposed to being like 'awake, magic activity, and live!' and just have it do whatever Dec 17 07:17:01 well, sort of. Dec 17 07:17:47 the the other hand, if your activity has to rely on something that was in previous activity that might or might not be in memory, it is a mess anyway and is better of rewritten or forgotten. Dec 17 07:19:41 when I was in this situation with my first multi activity android app, I realized that I really have to redesign my application. Dec 17 07:19:57 I redesigned and didn't have this problem anymore. Dec 17 07:20:04 I suggest you to do the same. Dec 17 07:36:00 hokkaido, Are you familiar with the official Twitter app for Android? Dec 17 07:36:09 Im trying to implement something like when you press a tweet Dec 17 07:36:20 and get taken to the new screen where you can see more details of that list item Dec 17 07:36:31 no, I use plume. Dec 17 07:37:07 hokkaido, is your plummage the best in town? Dec 17 07:38:32 GEEGEEGEE: couldn't it be, that you pass that tweet as xml in Intent with putExtra() and then parse and display it in new activity? Dec 17 07:38:50 GEEGEEGEE: I mean there is no need to past-activity black magik, right? Dec 17 07:39:36 no lol it just needs to pass the object to the activity that displays more details Dec 17 07:41:44 seems like Intent.putExtra() also supports Bundle as an passable data. Dec 17 07:41:50 that should do it, right? Dec 17 07:44:40 Ill try it now Dec 17 07:44:43 thanks Dec 17 07:46:46 anyway, let me assure you, that the official twitter app is not accessing data directly from the previous activity :) Dec 17 08:17:35 Hey, when working with Bitmap.createBitmap(...) - When I'm done with the image, do I need to release the memory? Dec 17 08:17:44 My app throws - java.lang.OutOfMemoryError: bitmap size exceeds VM budget Dec 17 08:18:33 which doesnt really makes sense, I work with one Bitmap, of size 2000x200 or 4000x200 Dec 17 08:18:48 but I do recreate it several times... Dec 17 08:19:18 viran: have you seen this? http://developer.android.com/training/displaying-bitmaps/load-bitmap.html Dec 17 08:20:07 bitmaps and memory is one of those /fun/ parts of android :) Dec 17 08:20:56 Leeds, I'm not loading it, I'm createing it. I take a bitmap, make it a canvas and draw on it. Dec 17 08:21:22 viran: that wasn't what I asked... Dec 17 08:21:31 viran: You are probably keeps references to objects you do not need. Dec 17 08:21:36 * keeping Dec 17 08:23:03 maybe.. :/ Dec 17 08:24:15 any way having image to aspect respect scale and at the same time have text overlayed at 2/3 offset from its top Dec 17 08:28:18 g00s: and others sorry for leaving the conversation before, i had a problem with my PC Dec 17 08:34:52 do I send images via sms or mms? Dec 17 08:34:59 if I send a picture to someone else, is it over mms or sms? Dec 17 08:35:12 you certainly can't send an image over SMS Dec 17 08:41:12 On the developer console, crashes and ANRs - Do I get a report only if the users choose to send a report or eveytoem the app crashed? Dec 17 08:41:26 everytime* Dec 17 08:53:26 Leeds: sorry for leaving the conversation about blackjack android app. I had i problem with my pc Dec 17 08:56:11 guys, how to add TextView overlapped in LinearLayout ? Dec 17 08:56:33 I don't want to add RelativeLayout, because I've constructed well my design. Dec 17 08:57:07 hello Dec 17 08:57:13 woozly i don't think LL has the notion of z-order Dec 17 08:57:24 so its not possible Dec 17 08:57:37 What developer-friendly devices with android you could recommend? Dec 17 08:57:45 and why Dec 17 08:59:06 every nexus brand, because you can basically do whatever you want with them Dec 17 08:59:21 and warranty? Dec 17 08:59:44 dont know how it is in your country sorry Dec 17 08:59:54 is it still valid? Oh, so it depends on region? Dec 17 09:00:52 dont know, but then again its insanely hard to brick a android device Dec 17 09:01:32 only thing i can think of is if you compile yourn own aosp and then screw around with some power stuff Dec 17 09:01:49 so unless your doing that, i wouldnt worry that much :P Dec 17 09:02:02 okay... that's cool. So latest nexus has been released with asteroid 4.4. What about older hardware... is there also regular software update? Can I expect first nexus to official update for and 5.0 in the future? Dec 17 09:02:51 google operates at a ~18month support cycle Dec 17 09:03:00 my galaxy nexus has been stuck on 4.2.2 for a long time Dec 17 09:03:26 it really bugs me that ViewPagerIndicator doesn't have an AAR as a gradle repo.. anyone know the best way of getting it into my project? Dec 17 09:03:27 huh? you should have 4.3 Phlow Dec 17 09:03:41 storkme: copy the java files in Dec 17 09:03:44 verizon hasn't pushed it to me Dec 17 09:03:54 the man himself. Dec 17 09:03:57 alright, cheers Jake. Dec 17 09:04:09 Phlow: ah you have verizon Dec 17 09:04:12 i haven't used VPI in about 18 months Dec 17 09:04:18 probably more Dec 17 09:04:21 yea, toro is stuck at 4.2.2 Dec 17 09:04:33 serrghi: Does it mean that i.e. my nexus will be supported for 18 months and then no updates at all? Dec 17 09:04:34 how come? Dec 17 09:04:43 karab44: yes Dec 17 09:04:44 i seem to be using it for every project :s Dec 17 09:04:56 karab44: or that is "most likely" Dec 17 09:04:57 it's poorly written. i usually just hack up a purpose-built indicator every time i need one Dec 17 09:05:19 karab44: but there is nothing wrong with you flashing a custom rom which as the newest android.. easy peasy. Dec 17 09:05:48 sure, after warranty expiration there's nothing to worry about Dec 17 09:05:56 karab44: im running 4.4 Cyanogenmod11 nightly, which works just great given that its still a nightly build Dec 17 09:06:02 fairs. Dec 17 09:07:11 i think google should support devices longer than 18 mos; thats lame - shit winds up in the landfill Dec 17 09:07:36 g00s: true Dec 17 09:08:21 yeah. on those 2 phones that they make... Dec 17 09:08:49 it's actually kinda impractical at this point... mobile cpu/gpu processing power is still advancing at quick paces Dec 17 09:08:54 one of which is a tablet... Dec 17 09:09:17 exactly, hardware is still efficient enough to handle new software Dec 17 09:09:57 to run smoothly not just system itself but latest apps as well Dec 17 09:10:50 i think it more often has to do with not being able to get drivers / firmware for the baseband Dec 17 09:11:05 maybe i'm wrong Dec 17 09:15:30 so if nex is for developement purpose would it be a big deal to buy devices for different region in example? I don't know... are there any bootloaders locked or simlocks or any other security systems that could prevent developer from doing his job? Dec 17 09:16:32 karab44 an argument can be made for developing on popular devices; that means sgs3/4 and samsung note also Dec 17 09:16:48 if the moto g takes off, that too Dec 17 09:16:55 moto x seems dead Dec 17 09:18:07 8 hours later, port to android studio still not entirely successful >__> Dec 17 09:18:09 I have sgs4 and I don't mess in it because of knox and other weirdo things inside... I think it's cool gadget for daily use but I don't want to break my warranty. That's why I am looking for a something unbreakable. Dec 17 09:18:23 'duplicate files in apk' Dec 17 09:20:42 karab44 can't you use that device for dev without disabling knox ? Dec 17 09:21:03 unless you want to put different versions of android on it i guess Dec 17 09:21:53 I heard a rumour that's possible but what about knox warranty void flag 0x1 in bootloader? Is it hacked already? Dec 17 09:22:45 I want to root my device and feel free using it. I don't want to worry and most important thing is that sgs4 is my daily use phone. Dec 17 09:23:40 what is Build.HOST ? documentation is just empty here Dec 17 09:24:17 I had problems with updating it to 4.3 already because of root. Finally I did successful update but it wasn't easy. Dec 17 09:26:37 Hi, I'm trying to view an image (using Intent.ACTION_VIEW) that was provided using KitKat's new storage access framework, but when choosing the Gallery to do this I just see a black screen Dec 17 09:28:27 I could use getContentResolver().openInputStream(uri) to just get the image data, but would rather just use the Gallery to manage the viewing of the image like in JellyBean and below - how should one go about doing it? Dec 17 09:29:33 ok I am conviced to nex7 sec gen. Thanks for opinion :) Dec 17 09:30:22 that is what i have :) Dec 17 09:30:32 i think they are also on sale too in a few places Dec 17 09:42:02 I just found that there is also nex10 and now I feel a bit confused. I have 5inch device screen already so why no to have 10inch screen... Hard choice... I have to buy something today. Dec 17 09:44:19 karab44 i wouldn't get a 2012 nexus 10 Dec 17 09:44:28 too old. 18 mos ! Dec 17 09:45:04 /j #arduino Dec 17 09:45:07 sure it's older than nex7 but it has so many features! Dec 17 09:45:19 wait for a 2013 version :) Dec 17 09:45:53 seriously? Is there a note about release of new nex10? Okay that's a breaking news Dec 17 09:46:41 maybe Leeds has more info, i don't keep up with the android tablets much. i was never happy with the ones i tried Dec 17 09:46:42 that's to bad. I was almost clicking the buy button Dec 17 09:47:24 I've found that after getting the 2013 Nexus 7 I'm not really using my phone anymore - the bigger screen is just so much nicer. Dec 17 09:48:09 would be nice if the 2014 n7 (LG, i think) was the same size but had a bigger display. has quite a bit of padding Dec 17 09:48:40 it wouldn't be called 7 if that will happen :) Dec 17 09:49:13 the names are all stupid anyhow, what will the successor to the n6 be Dec 17 09:49:54 yes, the margin between screen and total device size is sometimes unacceptable. This is one of the reasons why I have sgs4. It's almost just screen. Dec 17 09:50:56 Note 2 feels the same way, too much padding above and below Dec 17 09:53:03 It's a good ocassion for a producer to place nice logo in there. Dec 17 09:57:11 hehe Dec 17 10:14:40 hey folks... I've done some git merging and managed to somehow screw up my project in two, probably related ways Dec 17 10:15:07 looking at the source it doesn't appear as a java project anymore... it's not separate in packages, just the folders, src -> com -> etc etc Dec 17 10:15:28 it doesn't show any errors, but trying to run it gives me a runtime error of ClassNotFound Dec 17 10:19:04 Gradle version 1.8 is required. Current version is 1.9-rc-3. If using the gradle wrapper, try editing the distributionUrl in Dec 17 10:21:14 no idea how to get the gradle wrapper working :/ Dec 17 10:22:39 let's just assume it isn't important and use the local distribution. Dec 17 11:21:26 Hello, I've come to a question which is the following: so there are 4 density qualifiers (without nodpi and tvdpi). I want to create a logo for each of them. I know their dpi, can anyone help me out by figuring out what square sizes to use? Dec 17 11:22:37 Dreeass: http://developer.android.com/design/style/iconography.html Dec 17 11:23:16 serrghi, well I found that some time ago. This link isn't updated I guess: http://developer.android.com/guide/practices/screens_support.html Dec 17 11:41:08 is it possible to define the width of a button to be the same as the height without setting it explicitly programmatically? i.e. in the layouts xml? Dec 17 11:46:59 Hi. Is it possible to use a custom URLStreamHandler with Android's Uris? Dec 17 11:50:32 how to fix nasty error R cannot be resolved to a variable Dec 17 11:51:52 cleaned project many times and there is no error in xml files Dec 17 11:52:27 there is no R.java in project folder Dec 17 11:52:58 cannot build project because of the error Dec 17 11:54:07 there is no import of R Dec 17 11:54:19 i have checked on google Dec 17 11:55:22 its long time issue with android, 2years ago this problem was with android and still it hanging on there Dec 17 11:55:49 why dont android fix such nasty issue? Dec 17 11:56:39 i thought it was eclipse but this time android got own editor based on eclipse and problem of damn R is still there Dec 17 11:57:56 some ppl suggested to close and open ide again. lol... what a damn issue Dec 17 11:58:14 Hello, I wanted to start working and understanding SQlite, so that's why I started to try to understand and programm the Notepad-Tutorial at the android developer page. But in the ListView they only display the title of the Note you create but not the body. So I want to show the title and the body in a ListView-item. Here is my code: Dec 17 11:58:30 The NoteActivity --> http://pastebin.com/sYJUZrhA I used the menu buttons to create the notes but you can ignore them, the importat method is "fillData()". I don't understand that why the ListView displays the two strings "titl" and "body" and not the content of the title and body. Dec 17 11:58:50 And here is my NoteEdit class which I use to create/edit the notes --> http://pastebin.com/8biFrbpX Dec 17 11:59:25 And the NotesDB Class --> http://pastebin.com/yC6kKD7c I won't post the xml-files because I think you don't you need them, the main problem is the "fillData" method, I don't know how to post 2 lines from the database in a listView I also tried some other tutorials but I couldn't managed to get it work Dec 17 12:00:08 oh well there is whole notepad story out there .. Dec 17 12:00:52 only 2 are not zombies here? Dec 17 12:01:33 me no zombie... But me a total newb... Dec 17 12:02:21 androidBeginner, dont worry you will get answer when its complete dark Dec 17 12:02:36 sorry I thought I should post the whole code in order to understand it better, but the main problem is the method "fillData()" in the NoteActivity Class Dec 17 12:02:53 yeh Dec 17 12:03:50 i hate to be newb but cant help with that nast R error Dec 17 12:04:04 nasty** Dec 17 12:04:24 In the method "fillData" you can see that the code which only display the title in the ListView and works is commented, But I want to display the body and not only the title...I thought I could use a SimpleAdapter to achieve it.. Dec 17 12:05:37 androidBeginner, you are asking for free support wait for an hour. Dec 17 12:05:49 i was told the same Dec 17 12:05:52 lol Dec 17 12:06:23 jaami-win: I never said that I don't want to wait Dec 17 12:06:54 ok, keep on writing and complete your story Dec 17 12:07:51 just keep that saved , you may have to repeat it androidBeginner Dec 17 12:10:38 any newb waiting for answer? can sing a sad country song untill it gets complete dark? Dec 17 12:10:53 jaami-win: I will post my question after an hour again^^ I don't want to spam right now, I hope I will get an answer till then^^ Dec 17 12:11:10 jaami-win: instead I am trying fix it myself^^ Dec 17 12:11:38 yeah, have to fixed the R cannot be resolved error? Dec 17 12:11:48 have you*** Dec 17 12:12:29 you will see it for sure, sooner or later Dec 17 12:14:28 that R error is a curse on android Dec 17 12:14:35 lol Dec 17 12:15:48 i dont understand why huge companies like google and microsoft realse products full of errors. Dec 17 12:19:22 you haven't tried to implement a streaming video app on Android yet ;-) Although all my problems are fixed in 4.2.2 ... Dec 17 12:21:57 and now my chat client crashing.. lol Dec 17 12:22:54 somebody should answer plz. i have to do alot of work and cannot fix the R error Dec 17 12:25:41 what's your error? Dec 17 12:27:21 oh flow is there... hmmm Dec 17 12:27:38 some ppl live and die for google Dec 17 12:32:32 jaami-win: so called ants Dec 17 12:38:02 my disctionary shows only aunts Dec 17 12:46:16 in my android mobile , taping on version pops up zombies picture. it is same case with other android mobiles i checked. go to about and then tapp few times on version , you will see zombies Dec 17 12:47:20 what zomies and android share in common? Dec 17 12:48:31 whole world is in hands of develpers. lets see when it crashes Dec 17 12:49:15 lol.. Dec 17 12:49:34 1 left , 380 Dec 17 12:50:59 hi CallumTaylor Dec 17 12:51:05 sup Dec 17 12:51:10 good Dec 17 12:51:13 newb? Dec 17 12:51:31 ? Dec 17 12:51:41 hmm, sorry for wrong question Dec 17 12:52:01 waiting on answer to my question Dec 17 12:52:21 cannot resolve R to a variable Dec 17 12:52:35 if you dont mind CallumTaylor Dec 17 12:52:51 something is stopping your R class from getting generated Dec 17 12:52:57 are you using eclipse or android studio Dec 17 12:53:23 yes, its based on eclipse downloaded from android bundle Dec 17 12:53:33 ok you want to open up the "problems" tab Dec 17 12:53:38 should i get rid of it? Dec 17 12:53:43 it'll tell you in there if you have any xml errors Dec 17 12:54:00 oh, where is problem tab Dec 17 12:54:05 usually its a missing attribute or some other XML parsong error that prevents the R class from getting generated and thus getting imported Dec 17 12:54:06 erm Dec 17 12:54:19 window->open windows->problems Dec 17 12:54:20 i believe Dec 17 12:54:39 oh yes, sorry Dec 17 12:54:50 i see error detail there Dec 17 12:54:52 what used-phone buying site you people use Dec 17 12:55:00 I liked swappa Dec 17 12:55:03 thhanks alot CallumTaylor Dec 17 12:55:05 np Dec 17 12:55:12 ebay, has some tough rates Dec 17 12:55:15 :) Dec 17 12:55:22 not many people willing to ship overseas Dec 17 12:55:28 I tend to get one device from each manufacturer and then user test with a beta group Dec 17 12:55:45 so 1 samsung, 1 htc, 1 nexus, 1 moterolea etvc Dec 17 12:55:51 most of them are just my old devices Dec 17 12:57:46 that is good approach Dec 17 12:58:14 most of the time there's no difference between an S2 and an S3 apart from CPU/Memory and stuff Dec 17 12:58:16 note to self, CallumTaylor has givem you a reason to not ditch your HTC Wildfire :-P Dec 17 12:58:22 the same samsung bullshit is on both Dec 17 12:58:34 i have a wildfire and wildfire s, both are piles of shit Dec 17 12:58:51 hey, Wildfire is my everyday phone so, respect Dec 17 12:59:07 no respect for the wildfire Dec 17 12:59:07 I only use phone to make calls Dec 17 12:59:11 useless device Dec 17 12:59:15 so, works for me Dec 17 12:59:25 I know, it sux Dec 17 12:59:25 can't even install some of my apps because it only has 10mb of internal space Dec 17 13:00:18 true that if I have to use, say LinkedIn app, I have to install it fresh Dec 17 13:00:29 and guess what, if I need to use Whatsapp Dec 17 13:00:34 Hi, i am trying to port a VOIP stack developed for linux to android. What things related to my application change in android? like different Networking or different audio interface, etc. Dec 17 13:00:55 I will have to either move LinkedIn to sdcard or uninstall altogether Dec 17 13:01:01 lol Dec 17 13:01:20 Hello, does someone know how to use methods available in API level 16 when requiring lvl 11? Of course only when the user is using API level 16+. I'd like to use this for expandable notifications. Dec 17 13:01:31 but, it gives me how app will look on low res phones Dec 17 13:01:38 if it looks good on my screen Dec 17 13:02:06 it will look sexy on your high-end phone as well Dec 17 13:02:10 i just say "fuck those devices" and pretend they don't exist Dec 17 13:02:28 depends on your market mate Dec 17 13:03:08 ohai. I'm working on a self-patching application and I was wondering if anyone here had a few good references on runtime apk modification? Dec 17 13:03:44 Dreeass: are you looking for this? http://developer.android.com/tools/support-library/index.html Dec 17 13:04:57 osmij_, I once got into that library. But before I'd like to get my application working first and backwards-compatiblity later. I'm looking for something optional, tell the app to use it when it can and when it cannot. Dec 17 13:05:59 android studio is working better than eclipse? Dec 17 13:06:10 any suggestion plz Dec 17 13:06:17 jaami-win, no. There are so many bugs in Android Studio. Dec 17 13:06:33 Dreeass: I don't think it is possible. In manifest.xml file you declare minimal API level - app will not be installed on lower API versions. If you don't have a device with latest API - use AVD Dec 17 13:06:36 I find it unusable for the time beeing. Dec 17 13:07:00 oh, ok. thanks Dreeass i was expecting this. that is the reason i downloaded bundle Dec 17 13:07:41 hope next year there will be stable version on android studio Dec 17 13:07:46 osmij_, I've got Android 4.4.2 on my device so that won't be a problem. I just wanted to know whether it was possible, it's a bummer though and I don't get why there is the possibility then to check what API level the consumer is using then. Dec 17 13:07:56 I, personally, pospone using Android Studio for better times (when it actually becomes usable...) Dec 17 13:08:22 I can't make Android Studio work for me for now... Dec 17 13:09:00 i was afraid to use it , wont tuch it untill next year or so Dec 17 13:09:04 jaami-win, osmij_: There are a lot of bugs in Android Studio that make it totally useless. The graphical editors are totally useless for the time being, they don't show the right interface as they should or don't update correctly. It's very frustrating. Dec 17 13:09:30 Hi, i am trying to port a VOIP stack developed for linux to android. What things may change in android? like different Networking or different audio interface, etc. Dec 17 13:10:56 many software manufacturers are not testing products before throughing it on face of developers Dec 17 13:11:11 i hate that nasty situation Dec 17 13:11:12 mistry: you most likely will have to use Android Media Player class. Also check whether your audio codec is supported by default android os Dec 17 13:11:24 osmij_, well since there are still a lot of people that have the API level 11-16. I'll leave the expandable notifications for later. Dec 17 13:12:59 osmij_ : the codec is a custom one. Dec 17 13:15:10 jaami-win: this sounds like the android sip-client :P Dec 17 13:15:17 I'm very frustrated about that one Dec 17 13:16:17 osmij_: we are currently using IDEA which works great when comparing with eclipse Dec 17 13:16:47 osmij_: but I was unable to use android studio too... Dec 17 13:16:59 and that is? if you dont mind makubi Dec 17 13:17:28 oh idea Dec 17 13:17:33 nice Dec 17 13:18:16 jaami-win: well, linphone worked out of the box (ok, with stun, but nevertheless) and it took me hours to configure asterisk to work with the internal sip client Dec 17 13:18:33 jaami-win: but well, this maybe was just a misconfiguration of asterisk on my side Dec 17 13:19:09 jaami-win: but it seems like they remove echo cancellation, at least there is a BIG echo when speaking to other clients Dec 17 13:19:37 which seemed to have worked before Dec 17 13:20:24 i see. will check that late. can spare time in current situation. thanks:) Dec 17 13:20:38 later, cant *** Dec 17 13:21:20 jaami-win: hehe, but nevertheless, IDEA: we got a project with maven set up + some apklibs that works Dec 17 13:21:54 ah sounds great Dec 17 13:22:01 it doesn't work perfect at all but much better than eclipse Dec 17 13:24:06 yeah, that R cannot be resolved error is still with eclipse that i fixed 2 years agon in my first android app Dec 17 13:24:19 ago** Dec 17 13:24:35 mistry: are you going to make android app on C or Java?.. Dec 17 13:25:42 osmij_ : not yet decided. Probably the VOIP stack is in C/C++ . what would be favourable ? Dec 17 13:25:55 brb Dec 17 13:28:26 osmij_ : c/c++ would be more comfortable since we dont have previous experience with JAVA/Android. Dec 17 13:29:30 mistry: was writing just the same thing - for me it would be simpler to develope brand new project on Java since I don;t have much experience on C/C++... Dec 17 13:32:25 SQLite is Evil Dec 17 13:32:35 Amen DarkSlay3r Dec 17 13:32:56 i just spent an hour looking for a rogue " " Dec 17 13:33:00 I try to avoid SQLite and use XML instead... Dec 17 13:33:11 DarkSlay3r: rogue quotes or a rogue space? Dec 17 13:33:21 it's hard to find something that you can't see Dec 17 13:33:30 rogue space Dec 17 13:33:37 what's rogue space? Dec 17 13:33:50 osmij_: push the space bar Dec 17 13:33:53 DarkSlay3r: I think there is also some inconsistency with uppler/lower case Dec 17 13:33:54 see that? Dec 17 13:34:10 DarkSlay3r: oh! Where was it? I was wondering where exactly an extra space would be a problem Dec 17 13:34:43 you know 'whitespace'? Dec 17 13:34:46 yuvipanda: db.query Dec 17 13:34:56 DarkSlay3r: yes... What's the difference between space and rogue space? Or do you just mean that extra space was causing a bug?.. Dec 17 13:35:00 hmm, ok Dec 17 13:35:07 space caused bug Dec 17 13:35:15 oh, I see ) Dec 17 13:36:54 I think if you want to rename a table Foo --> foo it says 'table foo exists', but if I try to query Foo by using 'foo' as name, it says 'table foo does not exist'... Dec 17 13:37:50 DarkSlay3r: this is why i have whitespace visibility turned on Dec 17 13:38:08 well, that and I can then see when shits not tabbed correctly Dec 17 13:38:26 i... i use eclipse Dec 17 13:38:38 I don't know if it has that feature Dec 17 13:38:41 yep Dec 17 13:38:53 preferences then just search whitespace Dec 17 13:41:33 CallumTaylor: Thanks Dec 17 13:41:37 +1 for the tip Dec 17 13:42:30 space does not cause bug, aliens do :-P Dec 17 13:43:18 Looney: i'm pretty sure bugs can't survive in the vacuum of space Dec 17 13:43:23 Dec 17 13:43:43 ayo Dec 17 13:43:47 yuvipanda, I just wanted to make fun of Eclipse. Dec 17 13:44:11 well they can since alien have provided them with immunity against "void" Dec 17 13:44:14 Dreeass: I used to too, but it is too easy, so I've stopped doing it :) Dec 17 13:44:22 I can't even add an activity for some reason, I need to do it all manually now. This is getting on my nerves. Dec 17 13:44:42 I would like to make fun of eclipse too but i feel ashamed that it's running on my computer and i rely on it so heavily Dec 17 13:45:05 well, I can mock Eclipse all I want Dec 17 13:45:25 I have it and its been quite some time since I last fired it up Dec 17 13:45:34 very sure I'd have stopped doing Android dev early on if not for IntelliJ Dec 17 13:45:46 i haven't used eclipse for about 4 weeks now Dec 17 13:45:49 and I'm loving every second Dec 17 13:46:11 but I will have to go back at some point :/ old projects and all Dec 17 13:46:18 I just wished Google had just endoresd IntelliJ rather than build their own Dec 17 13:46:29 android studio is very good Dec 17 13:46:33 What does it mean when adb tells me "run-as: Package ... has corrupt installation" Dec 17 13:46:33 ? Dec 17 13:46:39 and got some awesome stuff that is specific to android dev Dec 17 13:46:56 (I'm trying to pull a db) Dec 17 13:47:11 CallumTaylor: IntelliJ can import most Eclipse projects Dec 17 13:47:54 CallumTaylor, Android Studio is way too buggy. Dec 17 13:48:00 really? Dec 17 13:48:05 it's not been too bad for me Dec 17 13:48:09 google has not been helpful... Dec 17 13:48:12 i had like one issue and the next day there was a hot fix Dec 17 13:48:14 like literally Dec 17 13:48:37 CallumTaylor, yes. It's so furstrating. The graphical interface doesn't update as it should with me and a lot of other little bugs that are just so frustrating. Dec 17 13:48:48 http://i.imgur.com/kRbHxJB.png Dec 17 13:49:08 lolwat Dec 17 13:49:13 that's eclipse Dec 17 13:49:14 CallumTaylor: I've found AS buggy too. Just use IntelliJ instead Dec 17 13:50:28 well, I am sure that all Android dev's either side with IntelliJ or AS, no one takes side with poor Eclipse Dec 17 13:50:43 CallumTaylor: I can tell you that I have not opened Eclipse for over 4 months Dec 17 13:50:47 Looney, how dare you say that! Dec 17 13:50:59 CallumTaylor, it is. Dec 17 13:51:22 i don't understand, you're complaining that AS is too buggy then show a screenshot of eclipse being buggy Dec 17 13:51:31 I'm just used to Eclipse after all of my time spent with is. Dec 17 13:51:36 AS is so buggy that it looks like Eclipse Dec 17 13:52:00 CallumTaylor, this bug isn't preventing me of working further. The bugs in AS are majour ones. Dec 17 13:52:22 And I don't think this is a bug, me just retarted ;) Dec 17 13:52:32 Ok, we have spotted a Eclipse sympathiser :-P Dec 17 13:52:48 * procton shrugs. Dec 17 13:52:57 * Dreeass feels offended. Dec 17 13:53:02 yeah, no bug Dreeass Dec 17 13:53:05 * yuvipanda calls everyone Hitler. Dec 17 13:53:15 * karrboloaded would love some help Dec 17 13:53:20 you can simply click the back button and see whay you did wrong Dec 17 13:53:29 but wait there is no back button Dec 17 13:53:33 karrboloaded: with what? Dec 17 13:53:55 But I think I'll make the switch to IntelliJ for the simple reason that I'll switch to PHPStorm too for PHP which is based on IntelliJ. Dec 17 13:53:58 we are all kidding Dreeass Dec 17 13:54:10 * yuvipanda uses PHPStorm too Dec 17 13:54:16 * Dreeass still feels offended. Dec 17 13:54:29 you have no idea what I have to go through once I ditched Eclipse Dec 17 13:54:49 I have to manually type my layout file in using vi Dec 17 13:55:00 yuvipanda: What does it mean when adb tells me "run-as: Package ... has corrupt installation"? Dec 17 13:55:00 (I'm trying to pull a db) Dec 17 13:55:00 google has not been helpful... Dec 17 13:55:11 and the operation worked fine just last week Dec 17 13:55:19 and the app runs fine Dec 17 13:55:29 karrboloaded: what android version is this? Dec 17 13:55:29 Ugh, vi. I have no idea how you can be productive with those kind of command line 90's poop software. Dec 17 13:55:35 so, we all have our issues ... Dec 17 13:55:43 Looney, we do. Dec 17 13:56:19 I am not productive at all Dec 17 13:56:22 :-P Dec 17 13:56:30 karrboloaded: I use this small script to pull sqlite dbs out of the device, works like a charm https://github.com/wikimedia/apps-android-wikipedia/blob/master/scripts/pullfiles.bash Dec 17 13:56:37 Now let's look on those websites that offer paid software for free. Dec 17 13:56:51 * Dreeass goes shopping to TPB. Dec 17 13:56:57 but I do not have to boil my blood when something breaks with Eclipse Dec 17 13:57:02 wait, I do not use it Dec 17 13:57:23 ThePirateBay :-P ? ? Dec 17 13:57:37 * Dreeass still asks why TPB's popups get through Google Chrome... Dec 17 13:57:40 what are you buying Dec 17 13:57:52 thanks yuvipanda, i'll give it a try Dec 17 13:58:06 * Dreeass wonders whether Looney is retarded or doesn't know whether I'm beeing sarcastic. Dec 17 13:58:11 karrboloaded: sweet. that script has the package name of my app hardcoded, so you need to replace it with yours Dec 17 13:58:41 well, retarted at moment, because caffeine will take sometime to enter in bloodstream Dec 17 13:59:18 http://i.qkme.me/3ofxwf.jpg Dec 17 14:00:01 that would be me :'( Dec 17 14:01:12 i code hardcore mode Dec 17 14:01:19 hi Dec 17 14:01:27 What's the advantage of IntelliJ Ultimate? Dec 17 14:01:30 karrboloaded: let me know if that works for you Dec 17 14:01:31 i write the whole app in one go and if it doesn't compile and work first time, i re-write everything from scratch Dec 17 14:01:47 CallumTaylor, same here. Dec 17 14:02:16 CallumTaylor, I'll be like. Nope this is not going to work out or is going to take too long. Let's Google for a different approach! Dec 17 14:02:32 i don't do it for a specific problem Dec 17 14:02:36 i do it for the whole app Dec 17 14:02:48 single session or go home Dec 17 14:02:50 That's overkill Dec 17 14:02:52 yuvipanda, will do Dec 17 14:03:26 CallumTaylor: but... wait... you cheat. AS helps you. Get back to me when you do that in vi (without background compilation of course). Dec 17 14:03:33 lol Dec 17 14:03:36 I'll be in those stages where I'll hardcode. I just got out of one because I'm starting to enter the boring part of the app which is storing the information and I'm not sure whether I'll use the sharedpreferences or SQLIte Dec 17 14:03:38 im trying to modify android's Log class and add a function that takes byte arrays as a parameter, so i should modify jni function in it internals: { "println_native", "(IILjava/lang/String;Ljava/lang/String;)I", (void*) android_util_Log_println_native }, what i need instad of java/lang/String ? Dec 17 14:04:06 Dreeass: awesome :) Dec 17 14:04:18 * Looney likes to code activity by activity Dec 17 14:04:40 * Dreeass Hates to add activities. Dec 17 14:04:53 squ, what is awesome, Dec 17 14:05:46 well, I am coding for Android part-time/freelance so, it works best for me :-P Dec 17 14:06:24 Dreeass: you could also store your data on the internal memory Dec 17 14:06:27 once, activity is complete, its time to mess up (read, uglify) the code by fixing things that do not work :-D Dec 17 14:06:33 No IntelliJ, I do not want a Desktop icon. Look at my desktop! http://i.imgur.com/MqeRGHq.jpg Dec 17 14:06:48 oh god Dec 17 14:06:55 why do you have 2 different screens? Dec 17 14:06:56 makubi, I know. But why would I want to do that for some simple strings and data? Dec 17 14:07:16 makubi, I think I'll go with the painful SQLite then. Dec 17 14:07:19 Dreeass: well, because you could serialize everything e.g. as json Dec 17 14:07:40 makubi, nah. I need to dynamically add things and stuff. Would be way too slow. Dec 17 14:07:42 Dreeass: what I do: I use jackson to de/serialize everything as json, this scales well Dec 17 14:07:56 Dreeass: did you try it? Dec 17 14:08:11 makubi, no. I do have experience with it in PHP and C#. Dec 17 14:08:25 Dreeass: lol Dec 17 14:08:41 Okay Dec 17 14:08:46 Dreeass: de/serialization is very fast, storing it may be slow Dec 17 14:08:55 Let's look on how I can import Eclipse into IntelliJ. Dec 17 14:09:04 but this should not happen on the main thread Dec 17 14:09:18 Well it has to happen in a service. Dec 17 14:09:27 But even then, nah Dec 17 14:09:58 I even de/serialize with jackson between activies Dec 17 14:12:19 Dreeass: services also work on the main thread, if im not mistaken Dec 17 14:12:37 is there a free barcode scan sdk ? Dec 17 14:13:01 makubi, I know. I'm just not interested in the hassle that I have to go through since SQL would be a better solution. Dec 17 14:13:26 Does anyone know a good tutorial on how to get everything from Eclipse to IntelliJ? Dec 17 14:13:27 but you have to add a new column for each new field you add Dec 17 14:13:55 makubi, I don't get the problem with that. Dec 17 14:14:06 pfn: Are you there? I was wondering what way you recommend to add library dependencies which are not publicly hosted on some maven website to a scala android project? Dec 17 14:14:07 backup the folder and try to import it via idea as an eclipse project Dec 17 14:14:21 Dreeass: this does not scale well Dec 17 14:14:21 Well, how? Dec 17 14:14:22 marrrk, setup your own prrivate repository Dec 17 14:14:32 in idea, import project Dec 17 14:14:44 Baluse: sdk? Dec 17 14:14:44 Okay, I will look into this. You mean an externally hosted one, right? Dec 17 14:14:50 makubi, the user isn't going to use a ton of them so it won't be a problem. Dec 17 14:15:00 marrrk, depends, you can just keep it local in .ivy/.m2 Dec 17 14:15:32 Hmm, this would complicate things if I want to write this software with two people, though. Dec 17 14:15:36 Dreeass: ok, you do know better what you need, I just dont know what you exactly have to do :) Dec 17 14:15:40 then host it somewhere Dec 17 14:15:48 marrrk, some people publish to a fake maven repo on github Dec 17 14:15:55 Dreeass: About a year ago, we also switched from eclipse to idea and never back Dec 17 14:16:14 that last suggestion sounds good. Dec 17 14:16:23 The fake repo. Dec 17 14:16:26 but there's a ton of options Dec 17 14:16:30 makubi, I like the design of IntelliJ more. I just haven't found the time to change my habits. Dec 17 14:16:40 Now that time arrived. Dec 17 14:16:51 you can use a private artifactory, host your own nexus, or put it on some website you own, or check it in to github, etc. Dec 17 14:16:55 But IntelliJ crashes when I launch it, are you kidding me? Dec 17 14:16:55 Dreeass: yep, same was here, but after a few days, you will love it Dec 17 14:17:00 o.0 Dec 17 14:17:13 Nevermind, it takes 5 minutes for the first launch I guess. Dec 17 14:17:34 I bet you are on windows Dec 17 14:17:43 intellij never took 5 minutes to start for me... Dec 17 14:18:00 Yes, I don't really have any private webspace and the github option is probably widespread enough so that I can make it work by looking at what other people are doing. Dec 17 14:18:03 makubi, yes. Switching to Mac soon because of Windows 8-shit. Dec 17 14:18:18 i use AS on OSX and it runs really well Dec 17 14:18:25 also i use a trackpad because fuck yeah gestures Dec 17 14:18:34 lol Dec 17 14:18:45 i have custom gestures set up on a per-app Dec 17 14:18:56 you guys with your mac Dec 17 14:18:57 like 5 finger click = cmd+shift+w Dec 17 14:19:07 pinch in = cmd+w Dec 17 14:19:14 pinch out = cmd+shift+t Dec 17 14:19:16 I am way faster with the keyboard Dec 17 14:19:27 I'll buy a Macbook Pro that's for sure, but whether I'll even use a Mac keyboard is still to be decided. Dec 17 14:19:40 I'll still use my current keyboard for gaming though. Dec 17 14:19:45 three finger swipe left/right = shift tab Dec 17 14:19:49 save some money, get another good laptop and install linux Dec 17 14:20:05 CallumTaylor, go to Apple fanboy channel to talk about those things. Dec 17 14:20:13 lol I'm not an apple fanboy Dec 17 14:20:16 i just love gestures Dec 17 14:20:27 its the only reason i even use a mac Dec 17 14:20:40 makubi, laptops look shit these days. Not an Apple fanboy here, but you've got to be honest with me. Dec 17 14:20:41 well that and my boss only buys macs >.> Dec 17 14:20:58 makubi, I need a good looking, slim and fast laptop. Dec 17 14:21:07 have you looked a chromebook? Dec 17 14:21:10 I'm prepared to pay the extra price for it. Dec 17 14:21:11 i have no idea if they're any good Dec 17 14:21:23 I'm not gonna buy a Chromebook lol Dec 17 14:21:28 I need my basic applications Dec 17 14:21:34 i think you can install linux on them Dec 17 14:21:50 Still, I need 512Gb minimum Dec 17 14:22:00 so? Dec 17 14:22:02 ah Dec 17 14:22:19 why you need so much minimum space? Dec 17 14:22:21 I don't think there's a slim, good looking, NON-TOUCH laptop Dec 17 14:22:34 I got a Dell notebook + extended warranty, this is what you need imo Dec 17 14:22:39 512Gb SSD's are expensive lol Dec 17 14:22:40 laptops are hard to buy for Dec 17 14:22:44 yes Dec 17 14:22:52 or what about HP, ThinkPads? Dec 17 14:22:56 i only have 128 ssd in my laptop and desktop Dec 17 14:23:05 makubi, let me tell you something.. Dec 17 14:23:06 512gb ssd in my desktop Dec 17 14:23:08 but it's an ocz Dec 17 14:23:09 fuckers Dec 17 14:23:13 lol Dec 17 14:23:14 they've gone bankrupt Dec 17 14:23:19 whats the r/w? Dec 17 14:23:26 over 300MB/s Dec 17 14:23:26 aren't ocz pretty shit for SSDs? Dec 17 14:23:27 Why in the name of god do you want a touchscreen on a f* laptop? Dec 17 14:23:33 CallumTaylor: I heard that too Dec 17 14:23:34 CallumTaylor, only the budget ssd are shit Dec 17 14:23:36 ah Dec 17 14:23:40 their nice ssd are nice Dec 17 14:23:45 and I bought their nice drives Dec 17 14:23:48 Dreeass: who wants a touchscreen on a notebook? :D Dec 17 14:23:49 * pfn has 2x500gb ssd Dec 17 14:23:53 Samsung's SSD's are godly Dec 17 14:23:56 yeah i thought it was strange because their RAM is usually pretty good Dec 17 14:24:22 Dreeass: Because Windows 8 is unusable otherwise :D Dec 17 14:24:24 Dreeass, I don't give a shit about the name of a laptop lol Dec 17 14:24:30 windows 8.1 is supposedly better Dec 17 14:24:30 haha :D Dec 17 14:24:35 you're taling to yourself :) Dec 17 14:24:38 bobek, Start8 saved me from Windows 8. Dec 17 14:24:40 pfn: Do you have an example of such a fake github android library project maven repo that I can have a look at? Dec 17 14:24:40 *talking Dec 17 14:24:45 and windows 8.2 is supposed to be even better in returning Dec 17 14:24:51 back to windows 7-like behavior Dec 17 14:24:57 EVEN better lol Dec 17 14:24:58 marrrk, there's an sbt-github plugin, I think Dec 17 14:25:14 Start8, the saviour of Windows 8: http://www.stardock.com/products/start8/ Dec 17 14:25:18 yuvipanda, it didn't work out of the box, but I played in python and got what i needed :) Dec 17 14:25:56 I once met somebody who told me about linux and since then I only got a dual-boot for gaming, but I could never think of working on it again Dec 17 14:26:12 *working on windows Dec 17 14:26:15 (yuvipanda, your version says syntax error on zlib.decompress. maybe a typo on my part) Dec 17 14:26:39 I'd like to build my own PC now with Mac and Windows dual-boot. But I don't have the money for a laptop and a gaming PC. Dec 17 14:26:48 but i got the db, so that's what's important :) it's not what i was hoping, but that's the idea of checking it... :) Dec 17 14:26:58 the question is, what do you need a mac for? Dec 17 14:27:19 makubi: same you need a linux for Dec 17 14:27:34 mac = hardware, linux = software Dec 17 14:27:46 makubi, Mac OS X Dec 17 14:27:54 to be fair my mabcook retina is a glorious piece of hardware Dec 17 14:27:57 yeah, what d you need os x for? Dec 17 14:28:09 yeah, that hw rly is nice, but OSX? Dec 17 14:28:13 makubi, what is hardware without software? Dec 17 14:28:15 i also got it £200 cheaper which is great Dec 17 14:28:35 but I think you can get another nice notebook for the same price Dec 17 14:28:39 probably Dec 17 14:28:43 with same resolution and so on Dec 17 14:28:48 Probably, but I won't buy it. Dec 17 14:28:54 I don't want Windows. Dec 17 14:28:57 higher resolutions are starting to become the norm which is nice Dec 17 14:28:58 I need a good touchpad Dec 17 14:28:59 I'm running a hackintosh since march, running smoothly since Dec 17 14:29:10 Mac on windows machines is horrible Dec 17 14:29:17 Hackintosh laptop or desktop? Dec 17 14:29:19 makubi: a laptop with a beefy specs != a nice hardware Dec 17 14:29:25 There is no difference, desktop Dec 17 14:29:26 marrrk, https://github.com/hexx/sbt-github-repo looks like it's dead Dec 17 14:29:26 thinkpads cost the same Dec 17 14:29:28 CallumTaylor: yeah, I wonder that it just happens now, because a Nexus 5 vs. my notebook... they share the same resolution Dec 17 14:29:33 lol Dec 17 14:29:40 pfn: I was looking at this: http://alvinalexander.com/scala/using-github-projects-scala-library-dependencies-sbt-sbteclipse Dec 17 14:29:41 my phone shares the same res as my 37" tv Dec 17 14:29:47 xD Dec 17 14:29:49 Let's just stop this bullshit Dec 17 14:30:01 We all care about our stuff and no one can change either of our minds Dec 17 14:30:12 some just know it better Dec 17 14:30:13 =D Dec 17 14:30:22 let's just all agree that i'm right, and move on Dec 17 14:30:25 Dreeass: The only difference between Mac OS X on Apple Hardware and Mac OS on "Windows" hardwere is the amount of money you spend Dec 17 14:30:31 It looks interesting, but I'm confused Dec 17 14:30:38 * bobek thinks CallumTaylor is right and moves on Dec 17 14:30:43 marrrk, that's just referencing a project on github directly Dec 17 14:30:43 CallumTaylor: ok Dec 17 14:30:46 marrrk, not as an artifact Dec 17 14:30:53 Oh okay, so that's wrong then. Dec 17 14:31:17 Fellow programmers: http://www.9thgencivic.com/forum/attachments/water-cooler/14602d1352934270-random-meme-thread-uploadfromtaptalk1352934263047.jpg Dec 17 14:31:18 Alltough I prefer Mac Hardware, because it's looks sexy Dec 17 14:31:26 *apple Dec 17 14:31:39 Dreeass: http://s.scruffyfox.me/dwit.gif Dec 17 14:31:39 yeah, they rly know how to build a solid notebook Dec 17 14:31:48 I wonder why other manufactures don't Dec 17 14:32:05 CallumTaylor, old one though. Dec 17 14:32:09 Alright, I'll start with the .ivy/m2 thing. I guess I will have to invent a few files and put everything in the correct folders. Dec 17 14:32:15 Wait Dec 17 14:32:21 I think we can all agree on one thing Dec 17 14:32:31 Let's take the Nexus 5 for example Dec 17 14:32:33 marrrk, or you can use webdav4sbt it looks like Dec 17 14:32:53 We all know it has some problems, but comes very close to becoming the best smartphone for its price Dec 17 14:33:09 If it had those things right, it would be perfect; Dec 17 14:33:16 o.0 what problems? I think Im not up to date Dec 17 14:33:24 pfn: What would be my webdav location, though? Dec 17 14:33:28 i think the only problem i have with the n5 is the camera, but that's a SW issue not hardware Dec 17 14:33:28 And we all just don't get why the engineers don't get it right. Dec 17 14:33:33 marrrk, any webdav server of your choice Dec 17 14:33:47 CallumTaylor, I got a Nexus 5. Camera is fine. Dec 17 14:33:52 marrrk, e.g. you can trivially run webdav on apache Dec 17 14:33:52 the camera is fine, the app isnt Dec 17 14:33:58 it doesn't focus properly for me Dec 17 14:34:04 or most any servlet container Dec 17 14:34:11 i took like 15 photos, only 3 of them were properly in focus Dec 17 14:34:22 CallumTaylor, if the Nexus 5 had an OLED display, the battery would last longer, better quality image. -> Perfect smartphone Dec 17 14:34:24 CallumTaylor: maybe you were drunk Dec 17 14:34:25 I thought 4.4.2 fixes camera issues Dec 17 14:34:33 I don't like how oled screens burn in :( Dec 17 14:34:43 makubi: that is a fair point, i am uasuerlly alllaways drenk Dec 17 14:34:44 my galaxy nexus is burned in on the status bar and nav menus Dec 17 14:34:45 pfn: I think I'll pass for now, since the other guy most probably won't be working on this and in the worst case I'll just send him the contents of my local folder. Dec 17 14:34:51 4.4.2 fixed *some* issues Dec 17 14:34:53 CallumTaylor: haha :D Dec 17 14:34:59 CallumTaylor, the 4.4.2's camera is good. Dec 17 14:35:02 marrrk, you can just publish your local folder to a website somewhere Dec 17 14:35:07 and add it to your resolvers Dec 17 14:35:15 yeah its good, and just that Dec 17 14:35:23 But not on Github (without further work)? Dec 17 14:38:17 well, you can probably check it into ghpages Dec 17 14:38:23 * pfn shrugs Dec 17 14:39:34 I will really start locally once that works I will have a better idea of how to set one up and I can go to the next step and host it somewhere Dec 17 14:44:29 So here's a stupid question: is there some way with the google stuff to give someone a refund if they get cranky a week later, or are they SOL if they're not w/in the 15 minutes for the automated refund? Poking around I didn't see any option but maybe I'm missing it Dec 17 14:44:41 dragorn, just go into the merchant account Dec 17 14:44:46 dragorn, and refund from there Dec 17 14:45:11 pfn: ah, fair. Dec 17 14:46:35 pfn: now lets see if they know their receipt transaction ID, since that's all I have to search by :P Dec 17 14:46:43 they should Dec 17 14:47:28 it's in their email from their purchase Dec 17 14:47:32 yes well Dec 17 14:47:34 they can just forward it to you Dec 17 14:47:35 this person, not so clueful Dec 17 14:47:39 and aggressively clueless :P Dec 17 14:47:42 hi Dec 17 14:49:05 i have this class: public class MapViewPage extends fragment Dec 17 14:50:06 then in i do: mapViewPage = new MapViewPage(R.layout.viewpage_aroundme_map, 0, "MAP"); Dec 17 14:50:14 Okay, I just imported my projects from Eclipse to IntelliJ. There still are a ton of excess files. Does anyone know which files I can delete? Dec 17 14:51:09 Dreeass: that really depends on your project setup Dec 17 14:51:22 is it possible to do this: public class MapFragment extends SupportMapFragment { Dec 17 14:51:51 i cant extend any google map classes.. :-/ Dec 17 14:51:57 makubi, well the files and folders that eclipse needs. Dec 17 14:52:14 ive read they are final.. but that most be possible? Dec 17 14:52:45 dannyD: I believe as of the maps v2 api (the one everyone is now using), the maps classes are non-extendable, deliberately Dec 17 14:53:01 dannyD: look up uh... polaris maps, he did a major extension to v1 and then has a writeup about the limits in v2 Dec 17 14:53:07 Dreeass: you might google it and see what you set in idea, but I think something like .classpath, .project, .settings, .metadata, bin/ Dec 17 14:54:46 makubi, got it: http://stackoverflow.com/questions/16586514/how-to-remove-eclipse-project-related-files-without-deleteing-the-source-from-ec Dec 17 14:56:47 dragorn thanks! look: http://cyrilmottier.com/2013/05/02/enhancing-google-maps-api-v2-with-polaris-v2/ Dec 17 14:57:26 dragorn he was done some more.. Dec 17 14:57:42 dannyD: yeah; that was exactly the writeup i was thinking of. he explains some of the limits, too. Dec 17 14:57:46 keepshare is slowly picking up traffic, yay Dec 17 14:57:50 I should advertise that shit, heh Dec 17 14:59:00 Caused by: java.net.URISyntaxException: Illegal character in query at index 61: https://secure.disneymovierewards.go.com/mobile/login?cmp=DMR|EMC|PointsExp|Hero|Login|DMRLIST Dec 17 14:59:00 at libcore.net.UriCodec.validate(UriCodec.java:63) Dec 17 14:59:03 hmm, that's annoying Dec 17 15:01:21 pfn: How can I make sbt look in ~/.m2/ for dependencies? Dec 17 15:02:20 marrrk, Resolvers.mavenLocal Dec 17 15:02:28 okay Dec 17 15:02:31 I will try that Dec 17 15:02:32 thanks Dec 17 15:02:36 Resolver.mavenLocal, rather, I suppose Dec 17 15:04:52 dragorn if a class is final..then you cant extend from it.. whats the point of having such a class? is this class final really? : http://developer.android.com/reference/com/google/android/gms/maps/SupportMapFragment.html Dec 17 15:06:50 pfn: I tried in both build.sbt and project/build.sbt but it still doesn't check there Dec 17 15:07:01 resolvers += Resolver.mavenLocal Dec 17 15:07:11 and you don't put it in project/build.sbt Dec 17 15:07:22 do I need to have ad unit ID for every banner different activities or one will do just fine ? ? Dec 17 15:07:48 I have this line in build.sbt: resolvers += Resolver.mavenLocal Dec 17 15:08:00 then it's fine Dec 17 15:08:16 did you actually publish in maven? Dec 17 15:08:18 Dreeass: do you use a cvs? Dec 17 15:08:22 ah you're right Dec 17 15:08:35 makubi, not at the moment, why? Dec 17 15:08:42 Dreeass: vcs >.< Dec 17 15:09:02 it somehow appends _2.10 to the folder Dec 17 15:09:02 Dreeass: well, just dont check in ide specific files Dec 17 15:09:30 Probably the %% Dec 17 15:09:47 makubi, what are you talking about right now? Dec 17 15:10:15 Dreeass: if you are going to use a vcs, you should not check in ide files like .classpath, *.iml and so on Dec 17 15:11:35 yes, that was it Dec 17 15:11:39 I forgot the keystore password. I saw this method by which I can reset it. https://plus.google.com/+ZachKlippenstein/posts/6jshPnmn2PW Now I have resetted it. But eclipse asks for the password 2 times. So What should I do. Give the resetted new password both times? Dec 17 15:12:46 makubi, alright. Dec 17 15:17:11 i ha-te google maps V2 ... how can i EXTEND SupportMapFragment Dec 17 15:17:15 gah! Dec 17 15:18:03 Why oh why does android studio have to have line cut be ctrl+y Dec 17 15:18:23 because thats IDEAs standard Dec 17 15:18:53 I get that, but why would you make ctrl+y be line cut for anything Dec 17 15:19:02 many programs in windows use that as undo Dec 17 15:19:15 and a line cut screws your undo stack Dec 17 15:20:34 The TextToSpeech seems to have trouble with some common words. For example, "zoo" is pronounced as "Jew" and Hezekiah is just silence. Is there any way to tune it to say these words correctly? Dec 17 15:31:12 Resources.getDrawable(R.id.someBitmap) <- this call is cached in Android right? There is a small cache it uses for drawables? And I assume recycling of Bitmaps is handled for this by the API as well? Dec 17 15:33:04 Can I close modules in IntelliJ? Dec 17 15:39:15 How come IntelliJ is so laggy for me? Dec 17 15:39:30 I don't have a bad pc whatsoever Dec 17 15:41:08 It's unworkable! It just freezes from time to time.... Dec 17 15:44:49 I think it's written in Java. Java runs faster than your processor. The parts where it is freezing are where your computer is trying to catch up with how fast Java is running. Dec 17 15:45:56 Pinhole, nah. Found it, I was running a complete system scan. Solved now. Dec 17 16:00:34 Perhaps someone can share a sample-app capable of online video streaming (mpeg-ts, hls, anything...) Dec 17 16:06:19 hi guys, Dec 17 16:06:21 hi Dec 17 16:06:40 is there anyway, I can longpress/save images from spanned html ? Dec 17 16:07:17 I am using these 2 lines of code : Dec 17 16:07:18 URLImageParser p = new URLImageParser(description, context); Dec 17 16:07:19 Spanned htmlSpan = Html.fromHtml(news, p, null); Dec 17 16:07:40 then showing them via : Dec 17 16:07:47 description.setText(htmlSpan); Dec 17 16:07:48 description.setMovementMethod(LinkMovementMethod.getInstance()); Dec 17 16:19:58 no, use a clickable span Dec 17 16:22:24 pfn, i am getting the text via rss parsing from wordpress site. Dec 17 16:22:36 and showing it in a textview, Dec 17 16:23:22 would replacing spanned to a clickable span do the trick ? Dec 17 16:23:26 no Dec 17 16:23:39 see what Html.fromHtml documents say Dec 17 16:23:53 okay, let me head there. Dec 17 16:26:37 and in any case, what you can do is iterate through the resulting spanned to see what spans were applied, and you can add your own click span Dec 17 16:27:57 pfn, that seems a neat workaround Dec 17 16:28:24 so apparently the short answer for the question 'can this be done the easy way' is a no. Dec 17 16:28:39 This uses TagSoup to handle real HTML, including all of the brokenness found in the wild. - lol @ the docs Dec 17 16:28:49 html is broken Dec 17 16:28:57 lax parsers ftl Dec 17 16:29:32 mmm Dec 17 16:30:52 Hey how can I use GSON to deserialize a base64 GIF image? Dec 17 16:33:26 Im trying to do this: public class PlaceMapFragment extends SupportMapFragment Dec 17 16:33:54 as in the second post: http://stackoverflow.com/questions/13739990/map-view-following-user-mylocationoverlay-type-functionality-for-android-maps Dec 17 16:34:09 but then in my layout file i write: Dec 17 16:34:47 Dec 17 16:39:52 Hey Dec 17 16:39:59 oki i seem to done it correct.. Dec 17 16:40:04 f-king google.. Dec 17 16:40:05 :-) Dec 17 16:40:16 Is there any way to upload an update for an app without having the key store for it? Dec 17 16:40:20 so little info on that stuff.. Dec 17 16:41:51 No, you need the key Dec 17 16:42:09 markyosullivan, no way. Dec 17 16:42:20 That's what I thought :( Dec 17 16:42:30 Lost all my downloads Dec 17 16:42:38 over 1600 downloads for my app Dec 17 16:42:44 Have a backup of the new key store Dec 17 16:42:59 pfn, this is what I plan to do. scan my text, and get the img sources from them, and apply the clickable span on them.. Dec 17 16:43:15 markyosullivan, do a new version, as PRO, or 2 etc.. Dec 17 16:43:22 Is it possible to get the data from the old application and transfer it over? Dec 17 16:43:38 markyosullivan what do you mean by data ? Dec 17 16:43:40 I'm going to do a PRO version eventually tonySoprano9099 but feel it's not worth paying for atm Dec 17 16:43:51 should i exclude the gen-directory from vcs? Dec 17 16:43:55 PRO will be the version you need to pay for Dec 17 16:44:06 tonySoprano9099: like the downloads, ratings etc Dec 17 16:44:19 mrhanky: yes Dec 17 16:44:29 markyosullivan, no. the new app will be treated as a totally new app. Dec 17 16:44:39 Damn. Dec 17 16:44:46 markyosullivan, big time :( Dec 17 16:45:01 Yeah, I checked the downloads from yesterday Dec 17 16:45:03 6 downloads Dec 17 16:45:07 6! Dec 17 16:45:07 always good to save 34 copies of the key lol and write the pass. Dec 17 16:45:10 :( Dec 17 16:45:24 On the other version of my app I was getting at least 20 a day Dec 17 16:45:34 and I was #1 when you search for 'Student Budget' Dec 17 16:45:56 markyosullivan, how did u lose it ? Dec 17 16:45:58 my app was #2 when you searched robin, but now robin thicke's crappy app has replaced it Dec 17 16:46:07 CallumTaylor hahahahahahaha Dec 17 16:46:11 hahaha Dec 17 16:46:19 tonySoprano9099: Windows 8.1 Dec 17 16:46:26 CallumTaylor, well, not everyone can get hold miley's ass. Dec 17 16:46:42 https://play.google.com/store/apps/details?id=com.nebulosa.soundboard.blurredlines Dec 17 16:46:46 what the fuck even is this Dec 17 16:46:54 a fucking sound board Dec 17 16:47:01 CallumTaylor, commerical stuff bro Dec 17 16:47:04 The audio drivers for my laptop stopped working for my laptop when I upgraded to 8.1 Dec 17 16:47:12 so I reinstalled 7, clean installed Dec 17 16:47:16 backed up all my code Dec 17 16:47:25 only to find out the key store was stored else where Dec 17 16:47:27 :( Dec 17 16:47:36 the guy is making millions, lol Dec 17 16:47:39 markyosullivan :( Dec 17 16:47:56 Hi. Is there any good source of documentation to connect from Android to an HTTPS server using self-signed private/public keys & certificates? Dec 17 16:47:59 I dont want to pour oil on the pain, but you should start utilizing cloud back ups.. Dec 17 16:48:06 You only keep your code on your pc as well? Talk about single point of failure Dec 17 16:48:11 source control is where its at Dec 17 16:48:19 Worse thing is, someone created an app similar to mine after mine was released Dec 17 16:48:26 so now, they have more downloads than I do Dec 17 16:48:29 T_T Dec 17 16:48:39 markyosullivan, u'll learn the hard way. Dec 17 16:48:47 Yeah I wont make that mistake again Dec 17 16:48:48 no way Dec 17 16:48:49 thx CallumTaylor Dec 17 16:48:57 Send the key store to myself in an email Dec 17 16:49:02 CallumTaylor, have u ever worked with spans ? Dec 17 16:49:08 markyosullivan, exactly. Dec 17 16:49:12 tonySoprano9099: yes, but i don't want to answer your question Dec 17 16:49:15 Do you guys want to download my app and give feedback? Dec 17 16:49:33 CallumTaylor, i'll DL thicke's app immediately. Dec 17 16:49:41 go for it Dec 17 16:49:53 hehehehehe why not Dec 17 16:49:58 this is what I am trying to achieve HTTPS: http://pastebin.com/YYxfKV7f Dec 17 16:49:59 help? :) Dec 17 16:50:00 my app targets a specific market anyway Dec 17 16:51:00 I posted it on reddit but it wasn't as successful as it first was Dec 17 16:51:08 https://play.google.com/store/apps/details?id=com.mostexpensive wow Dec 17 16:51:22 1st time I posted about my app (worldwide release) - http://www.reddit.com/r/Android/comments/1rd4d8/just_released_student_budget_worldwide_it_now/ Dec 17 16:51:36 2nd time: http://www.reddit.com/r/androidapps/comments/1t3di1/student_budget_a_finance_app_for_students/ Dec 17 16:51:36 wtf Dec 17 16:51:46 It was a different sub reddit Dec 17 16:51:57 I want to make a most expensive app now Dec 17 16:51:59 but I tried posting it on the Android sub reddit and it didn't do as well :( Dec 17 16:52:24 Btw it'd be great if you could up my post on reddit ;) Dec 17 16:52:31 this is my app it barely gets any downloads https://play.google.com/store/apps/details?id=com.marco.numbersnap Dec 17 16:52:31 Here's my app on the store atm: https://play.google.com/store/apps/details?id=mos.studentbudget&hl=en_GB Dec 17 16:52:32 :( Dec 17 16:52:57 quite a nice idea, doesn't necesserially have to be targeted for students though Dec 17 16:53:03 mine is https://play.google.com/store/apps/details?id=com.marco.numbersnap Dec 17 16:53:11 Installs Dec 17 16:53:12 1 - 5 Dec 17 16:53:20 actually some1 bought it lol Dec 17 16:53:30 What does your app do? Dec 17 16:53:40 I +1 it on Google+ btw Dec 17 16:53:45 uhhhh… what about discussing development? :| Dec 17 16:53:57 do you have a question? Dec 17 16:54:14 markyosullivan, mine? thanks Dec 17 16:54:15 yes Dec 17 16:54:16 nvm, just saw it Dec 17 16:54:21 http://pastebin.com/YYxfKV7f <— not working Dec 17 16:54:21 Yeah I did CocoStorm Dec 17 16:54:26 cheers! :D Dec 17 16:54:59 oh geez self signed certificates Dec 17 16:55:06 Where's the error line lemos ? Dec 17 16:55:15 CallumTaylor, why dont you want to answer ? (I just wanna know) Dec 17 16:55:30 Could you guys download my app and try it out? Dec 17 16:55:33 because spannables are nasty, and also html is even worse Dec 17 16:55:50 on the backends I get this: javax.net.ssl.SSLProtocolException: SSL handshake terminated: ssl=0x513c5f08: Failure in SSL library, usually a protocol error Dec 17 16:55:53 oh ok. I tought you had a problem with me or so.. Dec 17 16:55:56 (Frontend, Android, I mean) Dec 17 16:55:57 markyosullivan, I will when I get home Dec 17 16:55:58 lol no Dec 17 16:56:04 Thank you CocoStorm Dec 17 16:56:05 on the backend I get: SSLHandshakeException: null cert chain Dec 17 16:56:08 markyosullivan, i'll dl it it Dec 17 16:56:15 at a later stage. Dec 17 16:56:20 it it tonySoprano9099 ? Dec 17 16:56:22 lol Dec 17 16:56:25 Okay :) Dec 17 16:56:29 Thank you! Dec 17 16:56:34 You got any apps tonySoprano9099 ? Dec 17 16:57:03 markyosullivan, yes. quite a bit. Dec 17 16:57:15 deleted directory, and directory keeps appearing in project with .iml in folder Dec 17 16:57:20 Could I see your developer page? Dec 17 16:57:30 can't get rid of it.. android studio Dec 17 17:00:41 nm guess closing AS, and then deleting fixed Dec 17 17:06:12 well, thank you anyway... Dec 17 17:06:47 lemos: does it not say what line the error is in? Dec 17 17:07:44 markyosullivan: final InputStream in = urlConnection.getInputStream(); Dec 17 17:12:45 tonySoprano9099, parsing the html is lane, just search for the image span and add a clickable span around it Dec 17 17:14:30 aiight Dec 17 17:15:04 s/lane/lame Dec 17 17:21:17 any way to set a minimum height on a listview? Dec 17 17:21:35 maybe i'm using it wrong Dec 17 17:34:33 is there no way to view the current APN url, proxy, port etc? Dec 17 17:40:00 seems i have some problem with my app. if my app has focus and i hit the back button im not able to get back into my app. it just has a black display Dec 17 17:40:09 but pressing home i can go back into it Dec 17 17:45:54 I440r: something weird with your fragment back stack maybe? Dec 17 18:01:28 not using fragments Dec 17 18:01:58 I'm not getting IntelliJ, loving the better experience than Eclipse. But I don't get why it doesn't show me imports and stuff when I hover over something that's missing.... Dec 17 18:02:15 Or it doesn't say add missing methods Dec 17 18:02:42 I know you have to use alt+enter but WHY Dec 17 18:02:42 to add missing methods, use alt-enter Dec 17 18:02:46 to quickfix anything, use alt-enter Dec 17 18:02:51 I know, but it's so slow Dec 17 18:02:54 but it's not Dec 17 18:02:59 just hit alt enter when there's an error Dec 17 18:03:02 Lol Dec 17 18:03:03 put your cursor there, and alt-enter Dec 17 18:03:10 how is it slow? because you type 5wpm? Dec 17 18:03:14 using a mouse is slow Dec 17 18:03:24 Can't I use hover or something? Loved that in Eclipse. Dec 17 18:03:34 dunno, I don't use the mouse Dec 17 18:03:39 it's a worthless contrapion Dec 17 18:03:43 only useful for games Dec 17 18:04:12 I have to get my hand of the mouse and press enter every single time Dec 17 18:13:34 What's the best way of storing a date in SQLite for Android? I have to check whether that date has passed and such. Dec 17 18:28:20 Dreeass: http://www.sqlite.org/lang_datefunc.html Dec 17 18:28:46 I find it's easiest to just store the date in millis and then SELECT * FROM table WHERE col < System.currentTimeMillis() Dec 17 18:29:23 Dreeass, might consider always using a unix timestamp in UTC stored as an integer. You won't run into trouble at daylight savings time boundaries, etc. Dec 17 18:29:57 evanc's is just as good as long as all time is UTC. Dec 17 18:59:47 * g00s thinks he'll turn off his wireless more often http://www.dailydot.com/lifestyle/wireless-router-wi-fi-plants/ Dec 17 19:00:08 will be fun to see the 'professional' version :) Dec 17 19:03:24 anyone here working on a video or audio player ? Dec 17 19:04:56 pfn: Still there? Dec 17 19:05:05 none other than you shmooz :-P Dec 17 19:05:31 hi Looney :) Dec 17 19:05:57 hi Dec 17 19:06:33 I'm still working on the part where it scans the files lol Dec 17 19:06:54 but I think I found the fast way to do it Dec 17 19:08:11 using MediaStore Dec 17 19:08:35 g00s: don't forget your tinfoil hat, too! http://www.pepijnvanerp.nl/2013/05/danish-school-experiment-with-wifi-routers-and-garden-cress-good-example-of-bad-science/ Dec 17 19:09:51 g00s: the problem with that news is , they are pondering redoing the experiment in a controlled professional environment Dec 17 19:11:46 and maybe they should ponder repeating the experiment a few times as well Dec 17 19:14:07 considering it's the same 2.4 Ghz band that microwave ovens use, it's not surprising Dec 17 19:25:09 shmooz :) Dec 17 19:25:24 i thought the story sounded familiar, seems like i read it back in may Dec 17 19:28:31 g00s: in the over they are concentrated into one spot, in devices they disperse so as long as you keep a certain distance from it you sould be ok, I forgot what it was like 10 cm or 20 cm Dec 17 19:28:37 s/over/oven Dec 17 19:29:40 the guy that invented the microwave over supposedly was standing in front of an antenna and the chocolate bar in his pocket melted Dec 17 19:33:50 that's what i heard in a podcast today. I wonder if he didn't notice the heat on the skin Dec 17 19:41:34 evanc , i was looking at this website http://android-ssl.org/ Dec 17 19:41:44 and reading this paper Rethinking SSL Development in an Appified World Dec 17 19:42:12 they did some interesting implementation work described in section 5.1 Dec 17 19:42:31 have you guys considered adding some helper classes / etc to the support library for this ? Dec 17 19:42:56 to realize their vision completely think the os needed to be updated, if i'm correct Dec 17 19:43:33 i did read this http://developer.android.com/training/articles/security-ssl.html , and it was pretty helpful ... Dec 17 19:44:36 but still had an http slant, and didn't go much into pinning, etc. i'm just doing this with arbitrary tcp Dec 17 19:46:39 the cool part about that is pluggable certificate validation, although i haven't seen a TACK implementation maybe moxie has it out there Dec 17 19:47:45 i think a user should be able to know and see that the app us using ssl, and using it properly. in browsers, we have some indication of this. the same authors did a follow up study, and found many apps, including banking apps with over 500k users, totally screwing this up Dec 17 19:47:59 this would somehow have to be built into the platform Dec 17 19:48:04 do i sound crazy ? Dec 17 19:48:05 :) Dec 17 19:49:02 i have a normal netbook with simcard reader. i can connect to umts/hsdpa/gprs with my normal sim card. is there a way to turn this notebook into a fully working phone? maybe from winxp, linux, or even a real android os?! Dec 17 19:51:13 hi developers Dec 17 19:51:57 plz see why i amgetting multiple markers at this line ArrayAdapter aa = new ArrayAdapter(this, android.R.layout.simple_list_item_1, ecodes); Dec 17 19:52:52 can someone tell me my mistake in the line. plz check Dec 17 19:52:56 ArrayAdapter aa = new ArrayAdapter(this, android.R.layout.simple_list_item_1, ecodes); Dec 17 19:53:05 jaami-win: for one thing, String, not string. Dec 17 19:53:24 oh thanks alot jeane_napoles Dec 17 19:53:24 second, you should use ArrayAdapter aa = .... Dec 17 19:53:37 ohh Dec 17 19:54:07 can android phone be remotely accessed using teamviewer ? ? Dec 17 19:55:03 JesusFreke, please check this link , i followed the code example from there http://developer.android.com/guide/topics/ui/declaring-layout.html#AdapterViews Dec 17 19:56:04 Yes, it works like that, but it will likely give you a warning. Dec 17 19:56:51 so i am following this http://developer.android.com/guide/topics/ui/controls/spinner.html#Populate Dec 17 19:57:04 but I keep getting an error on the setDropDwnViewResource part Dec 17 19:57:06 anyone know why? Dec 17 19:57:12 jeane_napoles, yes it gave warning, ArrayAdapter is a raw type. References to generic type ArrayAdapter should be parameterized Dec 17 19:58:15 http://pastebin.com/TA5xHvjf Dec 17 19:58:19 it errors on line 11 and 13 Dec 17 20:03:41 Looney: i think its still under development Dec 17 20:03:48 you can see offical forums about it Dec 17 20:04:29 yup, I get incompatible version toast if I try to access using my phone Dec 17 20:04:47 and cannot access the device directly from laptop Dec 17 20:07:36 http://stackoverflow.com/questions/20643564/error-creating-spinner-for-android Dec 17 20:07:42 anyone understand why I am getting these errors Dec 17 20:08:08 over and out for now cruel world ;-) Dec 17 20:08:37 ArrayAdapter aa = new ArrayAdapter(this, android.R.layout.simple_list_item_1, ecodes); this line shows warming ArrayAdapter is a raw type. References to generic type ArrayAdapter should be parameterized Dec 17 20:09:27 i cannot write it other way around like aa = .... plz change it for me Dec 17 20:09:46 JesusFreke already told you that Dec 17 20:09:52 And what wouldn't give you a warning Dec 17 20:10:09 yes dear, but my little brain got no clue Dec 17 20:11:31 he told me to change the statement but he did not type full line. that is why i could not understand. can you change the line for mr SimonVT ? Dec 17 20:11:55 ArrayAdapter adapter = ArrayAdapter.createFromResource(this, R.array.type_array, android.R.layout.simple_spinner_item); Dec 17 20:11:55 Dec 17 20:11:56 ArrayAdapter adapter = ArrayAdapter.createFromResource(this, R.array.type_array, android.R.layout.simple_spinner_item); Dec 17 20:11:56 Dec 17 20:11:57 ArrayAdapter adapter = ArrayAdapter.createFromResource(this, R.array.type_array, android.R.layout.simple_spinner_item); Dec 17 20:11:58 Dec 17 20:12:01 opps Dec 17 20:12:08 oops Dec 17 20:12:09 hold your horses Dec 17 20:12:14 lol Dec 17 20:12:17 thats what i have down and it works Dec 17 20:12:24 im stuck on teh next part though lol Dec 17 20:12:34 actually making the dropdown Dec 17 20:12:36 haann ? stuck? Dec 17 20:13:26 you talking to me? Dec 17 20:13:56 yes, but i thought you was answering but i guess you are facing same issue Dec 17 20:14:03 lol Dec 17 20:14:24 i guess i got clue Dec 17 20:14:34 ah i got it Dec 17 20:14:41 thought i was doing it in the onCreate Dec 17 20:14:44 what is your issue Dec 17 20:15:09 hmm, change of this line ArrayAdapter aa = new ArrayAdapter(this, android.R.layout.simple_list_item_1, ecodes); Dec 17 20:15:36 it shows warning Dec 17 20:15:41 i cant for the hell of me figure out how service lifecycle works. whenever i swype away my activity, the whole zygote gets nuked even with START_STICKY. but according to the app settings, its still running Dec 17 20:16:08 why dont you change it to this ArrayAdapter aa = ArrayAdapter.... Dec 17 20:16:29 yes that is what i want to do. but plz type full line for me. Dec 17 20:16:30 you have to specify before aa Dec 17 20:16:50 ArrayAdapter aa = new ArrayAdapter(this, android.R.layout.simple_list_item_1, ecodes); Dec 17 20:17:08 im assuming ecodes is your string Dec 17 20:17:16 just followed example on android site. i guess they did not check what they wrote. Dec 17 20:17:18 that you declare before it Dec 17 20:17:36 i followed it too it works right? you are just missing the before it Dec 17 20:17:40 to specify what it is Dec 17 20:17:41 ecode is stringarray Dec 17 20:18:17 kk Dec 17 20:18:18 haann nn really? Dec 17 20:18:25 so are you all good now? Dec 17 20:18:43 hehehe, great man with light in hand Dec 17 20:19:03 yes, thank you for helping a newb Dec 17 20:19:22 np Dec 17 20:19:41 im new to this as well, just been coding on diff languages so it is easy for me to get a hang of things Dec 17 20:20:12 what language you are coding in? Dec 17 20:20:26 C? Dec 17 20:20:45 should i code in C instead of java? Dec 17 20:21:05 any suggestions ? Dec 17 20:21:19 for an Android app, java unless you have a REALLY good reason not to Dec 17 20:21:38 hmm okay, Dec 17 20:22:10 just learning basic things of android Dec 17 20:22:31 Hi Dec 17 20:23:01 hi DwordKnight Dec 17 20:25:45 I'm trying to write a test for some classes that I have implemented the Parcelable interface. I want to use a Parcel object to write there the data and see if the object gets marshalled properly and builds and exact copy of the original Dec 17 20:26:20 I've written this but its just creating an empty object. What is wrong? https://gist.github.com/anonymous/9c93fe8a3670cfac2b0a#file-test-attempt Dec 17 20:32:17 i think i made it not public, sorry: https://gist.github.com/anonymous/8012064 Dec 17 20:33:55 Is it necessary to test whether the Parcel can be marshalled/unmarshalled? Dec 17 20:34:11 and this is the way I create the parcel and use it to test it https://gist.github.com/anonymous/8012112 Dec 17 20:34:39 now another synatx error plz check this also ListView LV = (ListView) findViewById(R.id.foodCodesList); LV.setAdapter(aa); Dec 17 20:34:58 jaami-win you want to learn Java first Dec 17 20:35:35 the 2nd line got error. but look like its correct. i am following code from android guide. Dec 17 20:36:03 just pasted example in my code and renamed variables Dec 17 20:36:26 g00s, plz fix that error for me Dec 17 20:36:29 SimonVT well, I'm doing it to see if that piece of code works and is not, so I'd say it was useful. Helps to see if I'm understanding what I see in the documentation. Dec 17 20:36:45 but I'm a bit stuck Dec 17 20:37:47 LV.setAdapter(aa); what is wrong with this line? Dec 17 20:38:05 your naming conventions Dec 17 20:38:14 opps really? Dec 17 20:38:36 did i use reserve words? Dec 17 20:39:00 i check again Dec 17 20:41:17 jaami-win: really, you need to go learn java. This copy/paste trial-and-error thing you've got going on is not going to work. Dec 17 20:42:04 yes, look like i am wasting time Dec 17 20:42:08 DwordKnight: I'm just wondering whether it's necessary to unit test marshalling of the Parcel.. If you can write to it and create from it, that would seem like enough.. Anyway, maybe you need to reset the data position? Dec 17 20:43:15 Hey guys, so I have a simple Java game that draws itself on a JPanel by overriding the panel's paintComponent() method, and painting on a Graphics2d object. Would it be easy to make it work on Android? I'm hoping to reuse lot's of Java code I already have. Dec 17 20:45:33 trusktr: well, you'll obviously have to refactor all of the drawing to use android's components, because there is no JPanel or Graphics2d in android :) Dec 17 20:45:56 but there are similar objects/apis.. Dec 17 20:48:09 trusktr i noticed there is a new book on canvas; dunno if its any good. packt stuff is pretty iffy Dec 17 20:48:39 http://www.amazon.com/Learning-Android-Canvas-Nauman-Tahir/dp/1783285397 Dec 17 20:48:42 plz once again tell me what is wrong with this listView.setAdapter(adapter); imused same naming convention as written in guide on anrdoid site. Dec 17 20:48:49 SimonVT yes, that was it, thanks :) I don't know why I assumed the unmarshall method did reset the data position when is not doing it lol Dec 17 20:48:49 hi channel; How I can write service and communicate with it in c++ Dec 17 20:50:39 jaami-win: what's wrong is that you're not reading your error message, or thinking about what it means, or both Dec 17 20:50:59 oh ok Dec 17 20:52:04 Syntax error on token "adapter", VariableDeclaratorId expected after this token Dec 17 20:53:25 sounds like good advice. do it ! Dec 17 20:54:30 jaami-win: and what do you think that means? Dec 17 20:54:31 guys, im really confused. just fix the line for me for the last time. i will sure start reading book instead of following guide on android site. really appriciate that Dec 17 20:54:47 please start reading _something_ Dec 17 20:54:57 lol Dec 17 20:55:16 kindly fix the line for me. that is last line in my little app. Dec 17 20:55:47 plz!!!! Dec 17 20:56:27 Noone's going to write your code for you Dec 17 20:56:48 yes, i know but that is just last line. Dec 17 20:57:02 somehow i doubt it :) Dec 17 20:57:16 please try to,understand, i just want to get rid of this app before reading the book Dec 17 20:57:31 Come back when you've read the book Dec 17 20:57:31 yes, i swear its last line Dec 17 20:57:57 jaami-win whats the point? if you fix that line and don't understand it, you finished but failed Dec 17 20:58:16 lol, SimonVT that will take more time to test something done already. just want to deploy on emulator Dec 17 20:58:57 just want to see app running on emulator. wont ask anymore questions Dec 17 20:59:19 yeah, sorry you got to learn what you are doing not just ask questions, unless you do not understand a technicality that is different Dec 17 20:59:20 i will read book i swear Dec 17 20:59:31 hmm Dec 17 20:59:34 you are just wasting your own time too copy and pasting code without understanding Dec 17 20:59:58 just one line i am asking for. Dec 17 21:00:05 jaami-win if you just want to run something on the emu, there are plenty of samples you can build & run without any code changes ... Dec 17 21:00:13 you asked for one before? Dec 17 21:00:13 jaami-win: multiple people have told you "no". take a hint :) Dec 17 21:00:27 Is there any way to do something like super.super.onActivityCreated()? I'm overriding a function that is overriding a function, and I'd like to skip the parent, but call the grandparent before executing my code there Dec 17 21:00:37 and i gave it to u, it was so easy to do it urself too and u didnt even understand how to include Dec 17 21:00:49 right before it you had to see me write it out Dec 17 21:00:55 g00s, JesusFreke, thanks. I'm gonna researchon android canvas. Dec 17 21:00:57 you have a lot of learning to do Dec 17 21:01:03 man this is screwing me up. Textual changed its nick highlighting in 4; now JesusFreke is blue and JakeWharton is pink - it used to be the other way around Dec 17 21:01:07 you guys are right. i agree but just line to fix and i will go read book. plz let me knowwhat title is good Dec 17 21:01:08 Alright, just that one line, then you'll go read a book. Looking at the one line, and nothing else, there's nothing wrong with it. You're welcome. Dec 17 21:01:22 lol Dec 17 21:01:30 g00s: haha, yeah. I think I've subconsiously associated colors with nicks too. Dec 17 21:01:37 you're a light-purple :) Dec 17 21:01:45 heh Dec 17 21:03:13 LoneSoldier728, plz help me out once again and i will pray for you Dec 17 21:03:30 majuscule: In your parent you could call a method and implement your logic there.. Then in your subclass override that method and don't call super Dec 17 21:03:41 You can't call super.super Dec 17 21:03:57 it should be super.duper Dec 17 21:04:47 what is the line jaami Dec 17 21:04:48 g00s++ Dec 17 21:04:54 put it in a pastebin and show me Dec 17 21:05:04 at least you will learn how to use pastebin right now Dec 17 21:05:05 ++g00s :D Dec 17 21:05:26 SimonVT: thanks for the idea Dec 17 21:10:27 Anyone know an open source example of content provider with *prepopulated* db? Trying to use androidsqliteassethelper, master detail fragment, contentprovider, loader, and cursor adapter. Failing with the contentprovider implementation Dec 17 21:11:03 is there an ART developer in the channel? :-) Dec 17 21:15:28 I haven't associated nicks with colors yet Dec 17 21:15:33 even though all my clients colorize nicks now Dec 17 21:16:21 oh crap pfn was green now purple. this is going to take a while to get used to Dec 17 21:16:54 string array adapter was successfully declared now need to set adapter to the list view declared. but line 39 show multiple markers. according to guide it should work but if guide is not telling me correct way to write code. i can ask question from you guys. plz check line 39. Dec 17 21:16:59 http://pastebin.com/1azzaC6P Dec 17 21:17:20 Something like contactslist from the developer docs, but without the bloat? Dec 17 21:18:33 Eeeeeee i dont see whats to it. just to it like any CP example. in provider onCreate, don't call getWritebladatabase … that should only happen in provider crud methods which will be off the main thread Dec 17 21:18:37 if you do it right Dec 17 21:18:52 then the openhelper can move the file in its create hook or whatever Dec 17 21:19:33 it is kinda hacky, but works Dec 17 21:21:06 roger Dec 17 21:21:22 i think i'm failing with the cursor query Dec 17 21:21:46 bah just need to understand this a little better probably Dec 17 21:24:19 which part of the training docs exactly discusses instant messaging/cloud messaging etc? http://developer.android.com/training/index.html Dec 17 21:25:12 google services i think Dec 17 21:25:25 they have a search function Dec 17 21:27:46 I'll check it out Dec 17 21:34:59 Guys, hi, iam using libstreaming library for streaming the video, Does anyone have any experience with it ? If yes, iam using example 2 , which is streaming to public IP and is using rtsp server for communication.. How do i retrieve stream? do i type to browser something like rtsp:// or what ? Thanks in advance Dec 17 21:35:10 the demo talks about using web server is it necessary for communicating between two devices?# Dec 17 21:36:43 LiENUS yesterday we talked about that SSL paper. the researchers followed up with recommendations to android in the form ofa dummy-proof framework; true this isn't android's fault, (more like JSSE) but still the improvement should happen somewhere Dec 17 21:37:10 Sorry i dont understand how do you mean it ? I saw that example 03 has some wierd player you can open in browser but what about 2nd example Dec 17 21:40:44 user guide declare an arrayadapter and set that arrayadapter to list view with setAdapter method. that is wrong becuse setAdapter takes list adaptr as parameter. what is correct , my understanding or the guide on http://developer.android.com/guide/topics/ui/declaring-layout.html#AdapterViews Dec 17 21:42:13 the guide Dec 17 21:42:19 how ? Dec 17 21:42:56 plz explain, that is really confusing thing Dec 17 21:45:53 help of listview--> setAdapter method takes listAdapter http://developer.android.com/reference/android/widget/ListView.html Dec 17 21:46:04 I'm having a rough time with the AccountManager because my client has some pretty precise needs. It seems that the REST API I need to use for login requires a name and a password to get a list of accounts, but cannot then obtain a token until it adds an account number to the request. Is there any way I can add multiple accounts with the same username and password in the AccountManager, but using different Dec 17 21:46:05 account numbers? Dec 17 21:46:22 hello, has anybody started working with the new captioningManager? Dec 17 21:47:07 Eeeeeee, how guide is correct? Dec 17 21:47:55 are there any sites like bootstrap for websites for android layout markups? Dec 17 21:48:07 ArrayAdapter is a ListAdapter Dec 17 21:49:20 basically trying to write xml markup for a good layout Dec 17 21:49:23 for an app Dec 17 21:49:45 SimonVT its best not to talk about ArrayAdapter Dec 17 21:49:48 :) Dec 17 21:50:29 Why? Dec 17 21:52:12 SimonVT, that means code should compile without errors. http://pastebin.com/rhsa7PSi Dec 17 21:52:26 g00s, they talked about making the framework less capable, ie the framework gets in the way of what devs want to do Dec 17 21:52:46 hmm, Dec 17 21:52:50 No, that's not what it means Dec 17 21:52:51 what framework? Dec 17 21:53:48 something is wrong for sure Dec 17 21:54:29 but still i got nomclue what is wrong in code Dec 17 21:55:35 Simply googling an arrayadapter tutorial would show you what you're doing wrong Dec 17 21:55:54 ok, i do it Dec 17 21:55:59 The dev page assumes you know java, so that probably shouldn't be your first pick Dec 17 21:56:16 ah, ic, thanks for the tip Dec 17 21:56:41 as you said guide is correct i believe so Dec 17 21:58:23 g00s, sounds like the colors were changed to match xchat Dec 17 21:58:56 ah, that color game sounds real fun Dec 17 21:59:06 you guys love it? Dec 17 21:59:21 i have no clue really Dec 17 21:59:28 just pocking Dec 17 22:00:28 can anyone verify this statement is true regarding default TrustManager "hostname-to-CN verification happens by default. If it's skipping that, something is disabling that check, which isn't right" Dec 17 22:00:53 i think the only way i can test this is to fuzz it Dec 17 22:01:24 ugh, pragma- moved on to troll in #java Dec 17 22:01:33 lol Dec 17 22:03:27 i see an angel swinging on rainbow Dec 17 22:07:14 heh, funny when you mention android in #java they're like gtfo, android isn't java and has too many differences, we dont talk about it here Dec 17 22:07:37 sonOfRa :) Dec 17 22:07:41 oops Dec 17 22:07:53 got pissed of? Dec 17 22:08:19 enjoy Dec 17 22:08:34 play with it but make sure you dont break it Dec 17 22:08:45 g00s, so ture Dec 17 22:08:48 ok, so i guess android doesn't have X509ExtendedTrustManager Dec 17 22:08:49 *true Dec 17 22:09:24 ugh Dec 17 22:10:40 is there some googly replacement for X509ExtendedTrustManager? Dec 17 22:10:44 is a web server essential for gcm instant messaging? Dec 17 22:11:11 yes. Dec 17 22:11:18 some sort of web service at least. Dec 17 22:11:20 i thought adding SSL was going to be like a 1 or 2 day thing, i'm stuck in a quagmire of SSL gotchas Dec 17 22:11:27 oh ok Dec 17 22:11:33 doing this right to avoid mitm is /not easy/ Dec 17 22:11:36 cheers Dec 17 22:12:25 somebody could probably write a book on how to do SSL right on Android :) Dec 17 22:14:18 http://security.stackexchange.com/questions/22965/what-is-the-potential-impact-of-these-ssl-certificate-validation-vulnerabilities Dec 17 22:14:35 " the API atrocious." ++++++ Dec 17 22:19:28 Hello, Do any of the Android profiling tools currently work? I assume that one of the one's I've tried must be failing due to user error... Dec 17 22:19:39 <[twisti]> does anyone know of pico (picocontainer) works without issues on android ? Dec 17 22:22:16 [twisti] i think Dagger might be a better choice Dec 17 22:22:28 well, i suspect. haven't used either, but seems its popular here Dec 17 22:22:43 <[twisti]> g00s: can dagger be used on desktop ? Dec 17 22:22:52 i think so Dec 17 22:23:13 <[twisti]> i was looking at pico because it seemed to be a cross platform one, which i need because i build my game as jar for desktop as well as android apk Dec 17 22:23:29 yeah, you should be ok Dec 17 22:23:42 JakeWharton would know for sure Dec 17 22:23:45 it's java Dec 17 22:23:46 uhj, pink Dec 17 22:24:05 works where java works Dec 17 22:24:17 <[twisti]> fantastic, thanks for the tip Dec 17 22:24:51 <[twisti]> oh and its tiny! and on maven! Dec 17 22:25:13 we take care of you Dec 17 22:25:13 'dagger' 'thanks for the tip' ....... Dec 17 22:30:37 The search in DDMS method profiling doesn't work for me, the systrace python script will not execute, and the html generated by invoking the systrace tool in DDMS does not load in chrome. Dec 17 22:37:00 No support anyone knows of? Time to start building my own tools? Does anyone have a profiling tool that works for them? Dec 17 22:41:40 well, ##java is terrible Dec 17 22:41:44 they're filled with idiots Dec 17 22:41:52 they're even a little worse than #android-dev in terms of idiots per capita Dec 17 22:41:53 ;-) Dec 17 22:41:58 yes definitely Dec 17 22:42:04 lol Dec 17 22:44:07 <[twisti]> other than tjsnell ##java is quite awesome and mostly populated by people who forgot more about java than most devs learned Dec 17 22:44:27 <[twisti]> they do have their share of trolls of course Dec 17 22:45:58 Sometimes I join ##java just for the entertainment Dec 17 22:46:24 evanc has a lot of the android team gone home / taking vacation for the holidays ? Dec 17 22:47:08 CocoStorm i posit there is a causal relationship between shitastic languages and the demeanor of their users Dec 17 22:47:29 Remvaras, does the html load in notepad? Dec 17 22:47:43 that's the case of all #programming-languages Dec 17 22:48:36 ! Dec 17 22:49:00 LiENUS: Oh yeah, there's stuff in there. Uncaught TypeError: Cannot set property 'focusElement' of undefined is the error I get when I open it up. Dec 17 22:50:00 this all sounds like something is broken in your dev environment, you might want to figure out what that might be before calling the tool itself broken Dec 17 22:51:26 Well, other tools work and this one does not work... I can build run trace dump all that good stuff... I can profile it with the Debug methods but viewers are lacking, I can logcat, I can shell into the device, all that good stuff. Any idea where I should look in my dev environment to determine what's wrong? Dec 17 22:54:35 Is there an "easy" way to permit only one checked radio button at the time? I have two radio buttons and there can only be one selected. Dec 17 22:55:14 mp19uy: that's the whole point of a RadioButton Dec 17 22:55:19 hehe Dec 17 22:55:25 (only one can be toggled at a time) Dec 17 22:55:39 mp19uy: http://developer.android.com/guide/topics/ui/controls/radiobutton.html Dec 17 22:55:45 Isn't there something like Radiogroup? Dec 17 22:55:45 yes! "This class is used to create a multiple-exclusion scope for a set of radio buttons. Checking one radio button that belongs to a radio group unchecks any previously checked radio button within the same group." Dec 17 22:55:49 mp19uy: I'm guessing you didn't put them in one RadioGroup? Dec 17 22:57:57 No I didn't, thanks for the link and I'll read the documentation in the future before asking here what's very clear explained in the docs. My bad. Dec 17 22:58:17 wow i wanna quote that last message! haha Dec 17 22:59:38 g00s: you would be very proud of me - i tried gradle again, i still don't like it and i'm sticking with my stubborn ways of anti-gradle dev :) Dec 17 22:59:49 haha Dec 17 23:03:03 anyone used jefit? it's got some weird background service that crashes if you even look at it the wrong way >_< very frustrating Dec 17 23:04:19 bankai_: crashes are best solved looking at stacktraces Dec 17 23:05:01 i'll send the dude a msg - "Join #android-dev and post your ST, ya bitch!" Dec 17 23:05:09 :) Dec 17 23:07:09 <[twisti]> bankai_: i use it, but not in relation to any development work Dec 17 23:07:19 <[twisti]> bankai_: its very annoying because it doesnt pause right Dec 17 23:07:39 <[twisti]> if you tab away to something else and come back, itll often have forgotten what exercise you were on Dec 17 23:08:03 yeah i noticed the same Dec 17 23:11:22 just fired them an email, [twisti]. mentioned the ANRs and what you just said Dec 17 23:11:43 <[twisti]> ANRs ? Dec 17 23:11:51 "Application Not Responding" Dec 17 23:12:03 <[twisti]> ah, those i havent experienced Dec 17 23:12:13 just lucky me then i guess :( Dec 17 23:13:56 LiENUS: I think I might have a hunch about what's going wrong. Do you happen to know which version of Python the systrace tool is supposed to use? Dec 17 23:14:28 no idea Dec 17 23:15:17 LiENUS: It's not compatable with 2, 2.7, 3, or 3.3. Are there any other common versions of Python that might work? Dec 17 23:20:06 did you check the documentation? Dec 17 23:21:58 LiENUS: Yes, it says 'python' Dec 17 23:22:28 so what makes you think its the version of python thats whats broken? Dec 17 23:22:59 LiENUS: Because when I attempt to run the script I get back "SyntaxError: invalid syntax" Dec 17 23:24:19 that doesnt sound like the wrong version of python Dec 17 23:24:25 that sounds like you're calling it with the wrong arguments Dec 17 23:24:42 File "systrace.py", line 220 Dec 17 23:24:42 print " done\n" Dec 17 23:24:42 ^ Dec 17 23:24:42 SyntaxError: invalid syntax Dec 17 23:25:54 That's python 3 Dec 17 23:25:56 File "systrace-legacy.py", line 93 Dec 17 23:25:56 print '\nSet enabled tags to: %s\n' % ', '.join(tags) Dec 17 23:25:56 ^ Dec 17 23:25:56 SyntaxError: invalid syntax Dec 17 23:26:01 That's python2.7 Dec 17 23:30:19 huh, gradle 1.10 is out … we haven't seen support for 1.9 yet. Dec 17 23:32:55 Remvaras, yeah as far as i can tell it should just work it autodetects python version and calls the appropriate code Dec 17 23:34:15 LiENUS: Well... The DDMS documentation is "Click the button" and when I "Click the button" it doesn't work so I fell back on the commandline version, which most definitely doesn't do anything of the sort. Dec 17 23:36:05 ¥ Dec 17 23:36:07 whops Dec 17 23:37:30 oh shit, i have a FactoryFactory Dec 17 23:37:51 * Nilium hands g00s a gun with one bullet. Dec 17 23:37:57 your build environment seems very broken Remvaras you need to figure that out Dec 17 23:38:01 i am off to taekwondo Dec 17 23:38:22 g00s : I've seen that before :) Dec 17 23:38:42 LiENUS: Fails in the exact same way in a co-worker's different environment. Dec 17 23:38:43 i need a factory to make SSLSocketFactory, so i guess thats a FactoryFactory ... Dec 17 23:39:15 It's a breeder Dec 17 23:39:39 Seems broken... Does anyone know where I need to go to report a bug in the sdk platform-tools? Dec 17 23:39:43 SSLSocketFactoryBreeder ? Dec 17 23:39:58 There ya go! Dec 17 23:40:04 XD Dec 17 23:40:19 * capella actually kinda likes that Dec 17 23:40:44 i like agriculture, so maybe i'll call it a Farmer Dec 17 23:40:54 SSLSocketFactoryFarm Dec 17 23:41:29 mmmm ... cows spring to mind instead Dec 17 23:53:36 I'm trying to play a notification sound after a phone call starts, but it's not playing.. is there a specific stream I should use. Dec 17 23:53:47 (P.S. I've googled the heck out of this and come up with nothing) Dec 17 23:54:09 I can see the notification appear, but the sound does not accompany it. Dec 17 23:56:38 you probably can't do that Dec 17 23:56:39 :) Dec 17 23:56:48 maybe.. Dec 17 23:57:04 Obviously it's possible -- SMS notifications and map directions come through. Dec 17 23:57:24 does it work without the call? Dec 17 23:59:40 Yes Dec 18 00:00:00 In fact, if I don't delay it, it starts playing and then is cut off by the phone call. Dec 18 00:07:43 notification sounds don't play in the middle of a call, I think Dec 18 01:09:03 Does anyone have any profiling tools that they like to use? I need to see if I'm getting any real performance benefits from using HW/SW rendering. Dec 18 01:09:45 In some cases it seems like HW is faster than SW and vice versa, but I'm having a hard time getting visibility into why. Dec 18 01:12:49 Remvaras: have you tried using traceview? Dec 18 01:13:11 (http://developer.android.com/tools/debugging/debugging-tracing.html) Dec 18 01:14:04 The only thing you have to be aware of is that I believe that slows the VM down, which would likely impact your SW rendering more than HW rendering Dec 18 01:14:18 Yes, The search functionality in DDMS isn't working, which makes it more or less unusable when I try to dig down. Dec 18 01:14:42 Also, I'm testing on physical devices. Dec 18 01:14:54 traceview can be used with a physical device Dec 18 01:15:22 you can always just sprinkle in manual profiling Dec 18 01:15:36 but not ideal, obviously :) Dec 18 01:16:02 QUESTION: I am using the 1 activity / 2 fragments approach (instead of the 1 activity per fragment approach) for the master/detail flow. In case of a small screen (smartphone), I am obviously using the same view container for the master and the detail, calling FragmentTransaction.replace(). My question is: how can I determine which of the two fragment (master or detail) is currently displayed in the container? Dec 18 01:16:07 Obviously =P I've been using traceview, but without the search it's been pretty tedious, I guess I was half-hoping there'd be something else out there. Dec 18 01:16:20 Remvaras: also, have you looked at systrace? Dec 18 01:16:25 (http://developer.android.com/tools/debugging/systrace.html) Dec 18 01:16:38 iirc, that has much less of a performance impact Dec 18 01:18:52 IN ESSENSE: How can I uniquely identify two fragments which use the same view container? Dec 18 01:19:47 JesusFreke: systrace doesn't seem to be working at all... I get js errors when I try to open the resulting html Dec 18 01:22:17 is anyone using https://github.com/square/mortar it seems like a very interesting alternative to fragments. Dec 18 01:29:13 maybe google should just hire square to rewrite all the apis Dec 18 01:29:19 i think they are like 90% there anyhow Dec 18 01:29:21 lol Dec 18 01:30:13 g00s: I know :p haha! mortar seems a little more complicated to get setup. but by far superior. Dec 18 01:47:09 is there a thenewboston type tutorial for GCM? Dec 18 01:58:05 i should file a bug against adb, it crashes every day Dec 18 01:58:43 adb is a shit shit shit application Dec 18 02:04:10 personally, I think adb is pretty freakin' awesome :) Dec 18 02:05:54 someone should write a wrapper around adb that just does `adb kill-server` and retries a bunch of times if things fail Dec 18 02:09:28 maybe square should rewrite adb Dec 18 02:09:44 lol Dec 18 02:09:49 no Dec 18 02:12:11 adb itself isn't a problem Dec 18 02:12:21 it's the nature of devices disconnecting and working improperly Dec 18 02:12:27 e.g. mtp is always a problem for it Dec 18 02:12:34 but it isn't really mtp's fault, or implementations there of Dec 18 02:12:37 s/for it/for me Dec 18 02:12:48 mostly hardware interfaces sucking ass Dec 18 02:22:31 if I can compile/build java by doing javac and java in command line does this mean I have ant? Dec 18 02:22:57 CocoStorm: no Dec 18 02:23:15 4~/uit Dec 18 02:23:17 jaynewstrom, I see, so what is ant for? Dec 18 02:23:51 It's more complicated than just javac. Dec 18 02:25:17 heh Dec 18 02:25:22 how so Dec 18 02:25:38 ant is a build system. javac is just a compiler Dec 18 02:29:05 oh Dec 18 02:31:46 ant is to make like javac is to cc Dec 18 02:32:52 and calling it a build system is a bit generous Dec 18 02:35:47 I'm not sure if I understand the difference between compiling and building Dec 18 02:36:03 :( Dec 18 02:36:16 And I've been programming for 3 years Dec 18 02:36:29 Confession bear moment Dec 18 02:37:49 how is default linespacing calculated? Dec 18 02:37:52 "Amazon’s Flexible Payments Service PHP library attempts to enable hostname verification by setting cURL’s CURLOPT_SSL_VERIFYHOST parameter to true. Un- fortunately, the correct, default value of this parameter is 2" Dec 18 02:37:59 * g00s headdesk Dec 18 02:38:18 hahah Dec 18 02:38:54 I know that it is font-dependent, is all Dec 18 02:41:21 JesusFreke whats pretty amazing, this study analyzed apps from iOS and Android with ssl problems; and part of the study design involved contacting the authors and asking if they would like help fixing ... Dec 18 02:41:38 even with help, only a few apps were actually fixed 30 days later Dec 18 02:42:17 my former boss wouldn't have, I can see that mindset being 90% Dec 18 02:42:57 the paper makes a compelling argument that SSL should be handled by the OS as a policy Dec 18 02:43:13 configurable in the manifest Dec 18 02:44:43 * g00s is now reading "The Most Dangerous Code in the World: Validating SSL Certificates in Non-Browser Software" Dec 18 02:48:01 these punks want their iphone app done in android, their app has a way for users to add text onto stuff, text with kerning and linespacing. Dec 18 02:48:03 The Chase Mobile Baninking app "Decompilation and analysis of this app’s code show that it over- rides the default X509TrustManager. The replacement code simply returns without checking the server’s certificate." Dec 18 02:48:15 android doesn't have a mechanism for linespacing and kerning built in, does it Dec 18 02:48:31 oh wow Dec 18 02:48:51 explodes i think Mavrik could help with the kerning; i thought it was him - they were looking to replace android's kerning stuff because it sucked so bad Dec 18 02:49:00 *why roboto is mostly a block font Dec 18 02:49:37 "ACRA, an Android library for posting application crash reports to a Google Doc, overrides the default trust manager. Any app Dec 18 02:49:37 using this library is insecure against a man-in-the-middle attack." Dec 18 02:59:51 That report sounds like a bundle of laughs :( **** ENDING LOGGING AT Wed Dec 18 02:59:59 2013