**** BEGIN LOGGING AT Thu May 09 02:59:58 2013 May 09 03:16:22 argh, why google, why!? May 09 03:16:29 Parcel#readStringArray is @hide? May 09 03:17:57 welcome to android May 09 03:18:29 i'm really sitting here looking at the code wondering what possible reason thre could be for this May 09 03:18:44 so i have to read it in using readStringList, which is of course compatible but it doesnt tell you that, and then conver tit to an array after May 09 03:18:54 _or_ i have to know the size of the array im trying to read ahead of time May 09 03:20:34 jsharkey: hey :) May 09 03:20:46 jasta: hey :) May 09 03:20:59 i forgot i had this shell sitting around May 09 03:21:06 it fell off irc awhile back May 09 03:45:38 g00s git her done!? May 09 03:45:58 ron_frown: its not a 1 day project :| May 09 03:46:04 i hope to have it done in 2 weeks May 09 03:46:08 must forgive me May 09 03:46:09 dude, i;m fucking slow May 09 03:46:13 I'm used to my day job May 09 03:46:23 my boss literally says "... so 15 minutes right" May 09 03:46:25 What would you say the best way to display a splashscreen is? May 09 03:46:28 after EVERYTHING May 09 03:46:46 oh gawd ... please don't! May 09 03:46:46 an activity or a custom dialog May 09 03:46:47 Not displaying a splashscreen at all! May 09 03:46:58 I know son of ra!!! May 09 03:47:11 but it serves a use to do a connectivity check! May 09 03:47:12 problem solved then! yay May 09 03:47:25 um May 09 03:47:32 TinkerTailorHC: if you think a splash screen is an answer, you're asking the wrong question May 09 03:47:36 are you gonna do the connectivity check too, if suspended? May 09 03:47:40 its a requirement that makes a twisted sort of sense May 09 03:47:50 because if you hit the home button from another activity May 09 03:48:00 and go back to your app, your splash screen will NOT be shown May 09 03:48:12 (unless you do real black magic) May 09 03:48:22 magic isnt eal May 09 03:48:27 BUT May 09 03:48:29 i hate eal May 09 03:48:36 save the eal ! May 09 03:48:37 yay! question answered May 09 03:48:44 ancient aliens BITCHES May 09 03:48:46 activity it is! May 09 03:48:53 reason being: May 09 03:49:22 sadly I bet those crazy mf's are closest to fact of them all May 09 03:49:44 The app shows time sensitive data(8 secs) and whenever connectivity is lost it has to show a diff screen May 09 03:50:06 aaaaand how is a splashscreen solving this? May 09 03:50:11 answer: it's not! May 09 03:52:38 I want to show a splashscreen on onresume so I can update data May 09 03:53:46 sounds like more splashscreen than app May 09 03:55:26 have you guys ever seen the episode of Simpsons where Mr burns pays homer to do stupid things May 09 03:56:10 I'm currently in homers position - (wife+ kids) May 09 03:56:27 TinkerTailorHC, someone's paying you to do stupid things? May 09 03:59:15 what percentage of app sales does google take? May 09 03:59:50 what is this thing called "app sales" you speak of ? May 09 04:01:13 where people sell their app for money instead of the free+ads May 09 04:01:31 i've seen apps that say over 10k+ downloads that you can't even download unless paying the $3 or whatever May 09 04:01:48 so am guessing that's $30k? but trying to figure what google takes out of that May 09 04:02:36 google takes 30% May 09 04:02:58 ugh May 09 04:03:01 also the download numbers on the play store include refunded purchases. so your app can say 10k+ before you've earned 10k worth of sales money May 09 04:03:27 that's ontop of the $35 a year for store access? May 09 04:03:43 it's a one time fee May 09 04:03:47 kevinb: so , if 101 people buy and app and 100 get a refund, it still says 100+ ? May 09 04:04:03 yes, though you'd have to have a pretty crappy app to manage that :P May 09 04:04:29 kevinb: its probably pretty common :D May 09 04:04:37 if google takes 30% and the irs takes about 30% being self employeed May 09 04:04:45 I've made 19 sales from my app May 09 04:04:47 yay May 09 04:04:48 means i'm not even getting half the profit May 09 04:05:02 wabz done any marketing? May 09 04:05:06 haha nah May 09 04:05:15 but I built the app for samsung's global app competition May 09 04:05:19 and won $30k May 09 04:05:23 so not too bad May 09 04:05:24 serious? May 09 04:05:29 yeah May 09 04:05:33 oh yeah, wabz is on apple's shit list May 09 04:05:35 what's it do if you don't mind me asking May 09 04:05:38 no that's my company May 09 04:05:47 this was a personal adventure ;p May 09 04:05:51 https://play.google.com/store/apps/details?id=net.whatsbeef.sketch May 09 04:06:00 it used their s-pen sdk thing May 09 04:06:35 Speedstick: http://www.fiercedeveloper.com/story/vision-mobile-67-developers-fall-below-app-poverty-line/2013-05-07 May 09 04:06:54 the full Vision Mobile report is very interesting May 09 04:07:00 i would highly recommend reading it May 09 04:07:07 Speedstick, that seems like a pretty normal tax for a job ;) May 09 04:07:24 I think as a dev the most promising way to make money is to just sell yourself :p May 09 04:07:45 I'd hate to work in agency land though May 09 04:07:48 yeah, join an escort service May 09 04:07:51 oh May 09 04:07:52 :D May 09 04:08:00 $500 per app each month May 09 04:08:07 i'd be happy with that, depending on the app May 09 04:08:24 you can't make money with small scale app sales May 09 04:08:32 especially not on android :) May 09 04:08:48 wabz, your app is sweet May 09 04:08:49 I don't think that's quite true (the android part) May 09 04:09:07 Mavrik: I was at a local conference not long ago where a pouplar dev company said they're making more from android sales now May 09 04:09:22 on average. Subscriptions, on the other hand, generate an average of $2,000 per month. May 09 04:09:22 possibly May 09 04:09:31 haven't seen any subscription apps May 09 04:09:31 brx_: thanks, it was fun to make, but it's really only useful on devices with s-pen May 09 04:09:35 wabz, but they're still a dev company with probably larger amount of sales May 09 04:09:37 wabz: did you do that ? May 09 04:09:38 which is why I haven't marketed it much May 09 04:10:09 did I do what? May 09 04:10:17 wabz, have you thought about making it free and putting a donate version on? May 09 04:10:27 brx_: I had it free in the samsung app store with ads May 09 04:10:35 I made about $1 in ads over 3 months? May 09 04:10:36 where can i find a decent example of programmatically creating a listview? May 09 04:10:56 god I hate when people don't use the right content types in EditTexts May 09 04:11:02 * Mavrik glares at AirDroid. May 09 04:11:08 typing emails with autocomplete on is a pain May 09 04:12:05 wabz: oh yeah, it says Richard "wabz" :D May 09 04:12:12 Is there anything that prevents someone from taking a FOSS android app and re-releasing it as their own? May 09 04:12:19 hehe May 09 04:12:24 the scumbag police May 09 04:12:28 ? May 09 04:12:32 depends on the license May 09 04:12:41 but no, not really May 09 04:13:02 nothing is stopping you from going and selling ubuntu cds either May 09 04:13:11 http://www.seek.com.au/Job/android-developer-for-yahoo-7-apps-with-global-reach/in/sydney-cbd-inner-west-eastern-suburbs/24465313 anyone? May 09 04:14:26 wabz I belive that for some linux dists May 09 04:14:38 but I'd be surprised if thats ok in ubuntu world May 09 04:15:25 yeah you can sell GPL stuff May 09 04:15:43 just have to provide source if asked and keep copyrights on it May 09 04:15:49 Im gonna make a variant called superbuntu May 09 04:15:57 999$ a copy May 09 04:15:59 maslen, law. May 09 04:16:03 I'd be surprised if that doesn't already exist May 09 04:16:08 there's actually a cool tool for that, it takes ubuntu and lets you roll your own distro May 09 04:16:15 they have like 100 variations already don't they? May 09 04:16:18 by copying its core files, lets you change the installer pic etc... May 09 04:16:36 is called uh...remaster ubuntu or something May 09 04:16:36 ron_frown, you can actually do that May 09 04:16:49 haha May 09 04:16:51 Mavrik, get out May 09 04:16:54 ron_frown, they might not like you using their branding. May 09 04:17:02 SpeedEvil I've done that very thing already =) May 09 04:17:09 http://en.wikipedia.org/wiki/Remastersys May 09 04:17:20 it's speedstick :P May 09 04:17:24 ron_frown, see Mozilla and opensource projects. May 09 04:17:50 where Firefox for example can be rebuilt and changed (according to GPL) but you're not allowed to use logos and branding May 09 04:17:53 CocoStorm, ? May 09 04:18:01 g00s: one interesting thing with the app was pulling in ffmepg (that's why it's kinda big) and recording to avi May 09 04:18:12 Firefox isn't under GPL I don't believe May 09 04:18:17 Mavrik, turn off your computer May 09 04:18:29 http://www.mozilla.org/MPL/ May 09 04:18:40 Speedstick, yeah, you are right May 09 04:18:45 my mistake :) May 09 04:19:29 it seems they allow mixing with proprietary code May 09 04:19:58 I still need to attach a license to my github code one of these days. May 09 04:20:27 maslen, please do :) May 09 04:20:44 Mavrik nice :) May 09 04:21:20 i'm curious if LGPL is compatible with android apps or not. I once saw some android github project that was LGPL, and i gathered that the intention was to use the code in your closed source app, but if you change the library share it. but i think the LGPL only really allows that for dynamic linking and if the library can be swapped out in some way, which doesn't lend well to java/dex android development May 09 04:21:22 Mavrik: I think I was recommended to use MIT - all I care about is attribution, but I might go with something even more permissive. I'll put time into thinking about it when I have the time for it. May 09 04:21:26 I think webkit these days is where the action's at, with it powering safari, chrome, and soon opera, well whatever fork of webkit google makes will anyway May 09 04:21:59 maslen, hmm, dunno, choose one which you think is best May 09 04:22:24 maslen, having code on github without license is annoying… since "default" state is that you can't reuse it :) May 09 04:22:42 anyway when I get my sync cable going to start developing some apps I had in mind, if evne 1 takes off i'll be happy :) May 09 04:22:48 $$ May 09 04:23:00 kevinb, hmm, I'm not sure how LGPL works for non-library projects May 09 04:23:05 Mavrik: If someone does, they can always just send me a message on github. It's not like it's been forked yet. May 09 04:23:10 kevinb, that seems like a question for FSF/FSFE lawyers May 09 04:23:28 if you can get them to say anything other than propaganda -_- May 09 04:23:35 it was a library project, but an android library project. i had emailed the dev and he wasn't exactly sure and said he'd look into it and potentially relicense May 09 04:23:47 mozilla always been about the openness of their stuff so doubt you can sell it like GPL May 09 04:24:04 just a guess though May 09 04:24:15 kevinb, hmm yes… I think there has actually been an "official" FSF stance for those cases (since they are the same for python and some other languages) May 09 04:24:28 even though they really don't like people using LGPL May 09 04:25:01 Speedstick, openness and monetization are two different things :) May 09 04:25:21 apparently lot threw a hissy fit over sqlite's lack of license :) I think it rocks, and Mavrik very true May 09 04:25:53 I meant to say openesses and it being free, in firefox download I remember their video on how they aren't at the mercy of corporate interests and rather the people May 09 04:25:56 of course, if you don't explicitly define a license it's fully copyrighted to you by default May 09 04:26:03 which means other people can't use it :9 May 09 04:26:11 so i'd be shocked if their license allows you to sell code under it May 09 04:26:15 with parse.com, what is the column name for an object? May 09 04:26:25 sorry, the column name for the id column May 09 04:27:03 Mozilla makes hundreds of millions of dollars from google every year :) they doing pretty well May 09 04:27:43 Speedstick, why wouldn't they allow it? May 09 04:28:04 you can package it (same with GPL and MIT and others) and sell it May 09 04:28:11 none of those licenses forbid that May 09 04:28:20 you do have to be able to give source though for GPL and MPL :) May 09 04:28:30 so anyone else can do the same and give it out for free :) May 09 04:30:05 Mavrik you're right http://stackoverflow.com/questions/4459171/mozilla-public-license-commercial-software I would say i'm shocked but then it dawned on me, GPL is very parasitic, and to use it with another license that license has to follow its rules, so since you can sell GPL not suprised now about the MPL May 09 04:30:08 that's interesting though May 09 04:33:24 MIT, Apache, BSD, get me excited, awesome licenses for code IMHO May 09 04:33:44 because I like my code closed, protects my hardwork, to a degree May 09 04:37:39 can anyone comment on this please http://forums.androidcentral.com/general-news-discussion/276377-permissions-far-ideal-ill-probably-never-have-android-device-3.html#post2766200 May 09 04:37:49 #android talking about it, whether apps can see that stuff or not May 09 04:38:34 of course, it's in the docs. May 09 04:38:56 dont bring lame #android topics over here. May 09 04:39:14 what those guys are talking about, we really dont care. thats why we're here not there :) May 09 04:39:37 don't be a dick. May 09 04:40:06 jasta you think that topic is lame? I find it disturbing to be honest May 09 04:40:43 and the fact that it's apparently true and according to Mavrik permissions can't be denied without root, i'm stumped to why Google made it that way May 09 04:41:36 Speedstick: I see a complete lack of citing the docs. Which means everyone who posted is silly. May 09 04:41:36 you can do so much worse than this post is talking about with the right permissions... May 09 04:41:41 the official stance should be users can disable any access request the apps asks for, and the dev should handle things if it's denied if possible, otherwise just not work at all if it's critical, try/catch May 09 04:41:48 Speedstick: this isn't alarming, or news. May 09 04:42:03 Speedstick: please, do not begin this topic. May 09 04:42:13 It belongs in #android, where it came from. May 09 04:42:33 it's more a dev topic don't you think? May 09 04:42:53 Read the docs. May 09 04:42:54 It may have been, years and years and years ago. May 09 04:43:00 when this shit was being designed and iterated on. May 09 04:43:10 maslen, why silly? May 09 04:43:15 ahh the channel nazis are about May 09 04:43:17 If the docs are not clear, file a bug report claiming that May 09 04:43:21 he's linking to this permission: http://developer.android.com/reference/android/Manifest.permission.html#READ_PHONE_STATE May 09 04:43:48 which opens access to http://developer.android.com/reference/android/telephony/TelephonyManager.html#getLine1Number() May 09 04:43:57 and bunch of other fields in telephonymanager May 09 04:44:47 and people (wrongly) use it to get IMEI for device indentification May 09 04:44:51 instead of ANDROID_ID May 09 04:45:05 Mavrik thats not entirely reliable either tho May 09 04:45:13 OEMS tend to fuck about with lots May 09 04:45:17 after 2.3 it's more than reliable May 09 04:45:17 well that sounds like a huge security problem to me and I still think google should of given the user the option to deny certain permissions like that May 09 04:45:24 for 99% of use cases people have it May 09 04:45:28 even recommended denial based off the app type, like screensaver doesn't need that May 09 04:45:29 it's used to track ads anyway May 09 04:45:31 our hardware vendor built hardware / software that had every serial as exactly the same thing May 09 04:45:43 ron_frown, I'm not talking about serial May 09 04:45:48 ANDROID_ID is generated on first boot May 09 04:45:50 android_id May 09 04:45:58 hahahahahha May 09 04:46:04 ron_frown, yes, those were Motorolas on 2.2 May 09 04:46:11 Mavrik you havent seen how these oems mangle the build system May 09 04:46:21 I am actually not talking about anything motorola at all May 09 04:46:59 you're right May 09 04:47:05 ANDROID_ID is not very commonly manipulated Mavrik. Of course it is possible, but if you were to sample all Android phones, you'd find that it is very uncommonly modified from the aosp behaviour. May 09 04:47:05 I havent seen an OEM mess with that May 09 04:47:15 err ron_frown May 09 04:47:24 I've seen mainstream hardware mfg's have it so that you cant even easily suck down changes to minor revisions and actually get a good build May 09 04:47:28 ron_frown, that's why I'm very interested in just which vendors and devices are affected May 09 04:47:52 let alone actually be able to build x version for multiple devices May 09 04:48:25 name one please. May 09 04:48:25 Mavrik I am a hardware mfg now for android equipment ,and I've got aosp build system as about vanilla as I could get it May 09 04:48:58 and even then I had to generate id information off chip die id's May 09 04:49:29 in any case all I meant to suggest is that I wouldnt just assume anything is a super safe id to use May 09 04:49:30 for any version May 09 04:49:59 its easy enough to build a scheme that requiers minimal info from device May 09 04:50:03 or end user May 09 04:50:39 you still havent listed a single device in the wild that shows that behaviour May 09 04:51:10 I dont owe it to you May 09 04:51:15 I believe that is possible but there are several sources claiming that this does nt happen after 2.2 May 09 04:51:23 I've signed nda with teams I've consulted on etc May 09 04:51:33 or you just made that up. May 09 04:51:42 believe what you want to believe =) May 09 04:52:53 I can tell you it wasnt motorola =) May 09 04:53:06 I can tell you freescale shit is that way May 09 04:53:41 I've seen a couple reference implementations for samsung exynos processors that didnt do shit the right way May 09 04:53:50 and android stuff was about as fucked as it could get May 09 04:53:57 mhm May 09 04:54:04 that I can believe :) May 09 04:54:36 ron_frown, any tips on what to use to fix that issue? besides requesting PHONE_STATE for the heck of it? May 09 04:54:45 I didnt see the issue May 09 04:59:01 regarding issues May 09 04:59:10 everyone has something else to bitch about when it comes to android May 09 04:59:26 ltes bitch about permissions... does IOS even let you do that? May 09 04:59:35 everyone wants to bitch May 09 04:59:45 there's always something to bitch about when developing D May 09 04:59:47 nobody wants to do shit about it May 09 04:59:51 especially google =) May 09 04:59:57 iOS does permissions slightly better in new iterations though May 09 05:00:03 at least from a dev's perspective May 09 05:00:05 prove me wrong IOS! May 09 05:00:07 er May 09 05:00:08 android May 09 05:00:19 I dont know how ios did permissions originally May 09 05:00:22 hopefully we'll see some change in 4.3 on I/O May 09 05:00:28 ron_frown, they didn't May 09 05:00:32 I know how android app permissions are, are probably why they havent changed May 09 05:00:35 until people started stealing contact lists :D May 09 05:00:47 ron_frown, now you get a popup when the app wants access to sensitive data May 09 05:01:01 aww sounds like XP May 09 05:01:02 oh thats right May 09 05:01:26 I'm actually for giving people options, but I htink thats gonne require a lot as far as how to code around the user saying no May 09 05:01:38 mhm May 09 05:01:44 ron_frown, but it's less user hostile I think May 09 05:02:12 they don't have to explain to users "NO! We ONLY want access to your contacts when you click on import contacts, NOT ANY OTHER TIME!!" May 09 05:02:12 how does google pay May 09 05:02:20 since on Android you're forced to accept it May 09 05:02:27 you can choose not ot install May 09 05:02:33 for play sales, google check or something? I doubt they pay via paypal? May 09 05:02:37 permissions are setup to pid at install time May 09 05:02:41 ron_frown, yeah, but that's a shitty choice May 09 05:02:58 its done that way for a reason... not to say it couldnt also do what ios does May 09 05:03:05 choosing "I still wanna use that app and prevent it from accessing the contacts" is usually better for user :) May 09 05:03:10 its letting linux enforce per pid permissioning May 09 05:03:20 ron_frown, LBE has shown it can be done that way I think May 09 05:03:32 I have no doubt about that May 09 05:03:43 anything is possible given requisite time and money May 09 05:04:03 can't java be decompiled? google should make a app that decompiles submissions and looks for shaddy code then flags it prior to accepting upload May 09 05:04:09 same for updates on existing cleared apps May 09 05:04:21 they do that? May 09 05:04:23 Speedstick they do some of that alreayd May 09 05:04:24 oh May 09 05:04:28 nice :) May 09 05:04:30 you dont even need to deocmpile it May 09 05:04:40 its dalvik bytecode which are just simplified instructions May 09 05:05:29 I think moving to an entirely different permissions mechnasim would require os update + all existing permissions to be modified i nhow it handles May 09 05:05:35 how is malware slipping by them so much then? May 09 05:05:39 its a lot easier to say tihs app needs x if you want to install May 09 05:05:42 where apple it's far less apparently May 09 05:06:03 ron_frown, hmm, I think a possibility of denying permissions at app install wouldn't require that much effort May 09 05:06:05 Speedstick the spyware I've heard of was 3rd party installed apps in sketchy ares of th enet May 09 05:06:12 ron_frown, and then kicking devs to work around it May 09 05:06:29 eg, some dude installed osme porn app not from appstore May 09 05:06:42 google has no way of enforcing that May 09 05:06:42 makes sense May 09 05:06:54 decompilation shit doesnt happen as a part of package-manager May 09 05:06:56 at least yet =) May 09 05:07:37 google should just sell an av that does that among other things May 09 05:07:40 they actually do have a sideload malware scan thin in 4.2 or 4.2.2 or something May 09 05:07:41 built in antivirus, gross May 09 05:07:44 don't know how advanced it is May 09 05:07:47 they could make big $$$, everyone would buy it May 09 05:07:53 I wouldnt May 09 05:07:59 I wouldnt May 09 05:08:07 Im not retarded enough to get malware on my phone May 09 05:08:08 well most would i'd imagine May 09 05:08:17 comparing apple to android here is a big apples and oranges thing May 09 05:08:25 AVG falsely flagged my app last update. it was obnixious, they just say "This app is malware" and provide no information and users contact me either super pissed or really confused May 09 05:08:34 people dont understand where grey area is when intsalling apps May 09 05:08:41 and i contact AVG and they don't reply. had to track down some friend of a friend who worked there who finally replied May 09 05:08:46 whereas ios you have to hack your phone to install apps May 09 05:08:48 outside of appstore May 09 05:09:12 avg for android has over 50 million downloads May 09 05:09:14 granted it's free May 09 05:09:33 its like anything... exaggerate the need, people clammor to it May 09 05:09:39 they sell a subscription May 09 05:09:46 and scare people into buying it by falsely flagging apps May 09 05:10:13 not to be an ass, but every case of virus/malware infection I've seen in the past 10yr including myself May 09 05:10:23 I/they were doing sketchy shit May 09 05:10:33 trying to pirate windows and virus in a keygen or May 09 05:10:39 looking up pictures of some celeb nude May 09 05:10:48 thats not the issue here anywya May 09 05:11:02 that's how windows viruses accumlate too, porn or shaddy downloads May 09 05:11:14 I think permissions debate is a valid one, I just want people to realize what kind of change that would require May 09 05:11:23 if that's the case with android then i'm good, in terms of the store itself being clean for the most part May 09 05:11:27 ios as far as I know does the little popup and continues business as usual May 09 05:11:31 android jails apks May 09 05:11:36 sites I read made android sound like a cess poll May 09 05:11:39 of malware May 09 05:11:54 and even has protection for permission creep across versions (albeit I dont recall how exactly that worked now) May 09 05:11:57 my understand was iOS gave a lot more permissions, like internet, to every app without prompting or declaration or anything May 09 05:12:08 <_August_> does anyone here know what is java.lang.NullPointerException ??? May 09 05:12:11 Speedstick - fud from apple and wp8 market May 09 05:12:13 hahaha May 09 05:12:17 user u = null; May 09 05:12:19 _August_, it means you have a null pointer May 09 05:12:20 user.name = blah May 09 05:12:21 like there was a tethering app that snuck onto the app store by pretending to be a flashlight. if you had to declare permissions you really couldn't get away with that. but maybe that was some iOS versions again May 09 05:12:24 feel bad for windows phones May 09 05:12:36 but Microsoft too greedy and lot of apps are expensive apparently May 09 05:12:50 frankly its sad what ms managed... May 09 05:12:54 and their market is tiny, my missus use to have a blackberry and you had to pay like $30 *just to get access to the apps May 09 05:13:01 is insanity May 09 05:13:03 wp8 technology stack is FAR FAR FAR superior to anytihng else out there I've seen May 09 05:13:16 and yet the ui is shitty, and they went auschwitz lockdown as well May 09 05:13:20 <_August_> pfn: im very new to developing with android, do you know how i can go about fixing it? i think it will solve my forced closed issue i am having May 09 05:13:41 Android does the prompt thing for the bind widget permission on Android 4.1. If you install a third party launcher and add a widget to it via the built in interface (not the Android 2.x style dialog window) you'll get a little prompt saying "Launcher requests permission to access this widget and all it's data. Do you want to allow this?" and a checkbox for allowing future widget bindings May 09 05:13:42 august create an instance of the object? =) May 09 05:13:45 _August_, you're new to developing period; you fix a null pointer by making sure it's not null May 09 05:13:46 initialize it May 09 05:14:07 _August_, read the stack trace, identify the broken line, and fix it May 09 05:14:10 i'm mostly a windows dev so was a big fan of Microsofts from that, being their api so indepth/free compared to linux posix etc...apis(I dev for both) but Microsoft in mobile and even xbox dev too greedy May 09 05:14:40 they going down wrong path and being they're not big dogs in those areas google in their do no evil is getting the attention, justly, and ios May 09 05:14:40 Speedstick go look at mono... I've realized looked into a lot of the technical aspects of mono and its fucking mindblowing May 09 05:14:40 :) May 09 05:14:41 haha May 09 05:14:43 microsoft apis free? May 09 05:14:45 way more advanced than c# May 09 05:14:45 huh? May 09 05:14:46 hmm, in other news... May 09 05:14:54 minus slighty behind =( May 09 05:14:55 I haven't used Caliper in a really long time. I wonder if it's gotten much more mature May 09 05:14:56 in comparison to posix? May 09 05:15:00 pfn yeah you can dev windows software completely free, well short of 64bit drivers May 09 05:15:05 Considering it for a pretty wild/advanced Android project May 09 05:15:07 er .net in windows not c# May 09 05:15:16 what is caliper May 09 05:15:24 windows api supports lot of posix too :) May 09 05:15:28 performance timing thing, I think May 09 05:15:33 pj May 09 05:15:33 ron_frown: https://code.google.com/p/caliper/wiki/CaliperOnAndroid May 09 05:15:35 windows api breaks posix where it can May 09 05:15:36 oh May 09 05:16:00 wondering if i can make this work to run a legit AndroidTestCase May 09 05:16:16 I wonder when windows will decide that supporting a standard libc/posix etc is important May 09 05:16:34 I love all these badass primaryily linux techs that have lik ea couple years before you start seeing builds for windows May 09 05:16:44 mono is an incomplete way to run .net stuff on nix :) last I checked is still a work in progress May 09 05:16:51 and only through mingw or whatchamacallit May 09 05:16:57 its alway sa work in progress May 09 05:17:02 ron_frown, probably never May 09 05:17:11 yeah but stuff like reactos been a work in progress over a decade May 09 05:17:16 and hasn't gotten far :( May 09 05:17:16 since nothing shows that it's important May 09 05:17:40 <_August_> fixed it =) May 09 05:17:46 <_August_> i think im getting the hang of this May 09 05:17:48 they had compiler as a service at least a year before ms, AOT which .net wont do, CXXI which just hurts the brain May 09 05:18:17 have any of you used phonegap for android app dev? May 09 05:18:38 Speedstick, yeah, stay away May 09 05:18:38 as far as support goes they ditched a few of the straglers that nobody really prioritized like wwf, and wpf May 09 05:18:48 Speedstick, hide in the corner every time anyone mentions it May 09 05:18:52 and you'll keep your sanity May 09 05:19:05 Mavrik really? seems legit, popular, any big downsides? May 09 05:19:50 web pages as native apps... YAY! May 09 05:20:05 engineering to lowest common denominator May 09 05:20:06 YAYA! May 09 05:20:23 I think it makes sense for most apps, not games of course May 09 05:20:24 we can write out super shitty app once and it will just work everywhere May 09 05:20:28 Speedstick, performance, sanity, impossible to debug, performance, performance, terrible UX, JavaScript, did I say impossible to debug issues? May 09 05:20:43 lol at you listing javascript May 09 05:20:51 ok :) May 09 05:20:57 it's a total pain to develop even on iOS which has the most consistent and working webkit May 09 05:21:08 Android… is just worth jumping off golden gate May 09 05:21:08 whoa wait a minute May 09 05:21:35 Mavrik - I'm just one guy... but I've been very very involved with android at a shitload of diff levels May 09 05:21:37 jesse wilson wrote caliper? *interesting* May 09 05:21:49 and recently come to realize all the god damn hoops I have to jump through to build simple apps May 09 05:21:58 I'd almost rather just write them in c++ and not have to deal wit hth ebs May 09 05:22:00 the bs May 09 05:22:12 ron_frown, hmm May 09 05:22:20 like what? :) May 09 05:22:24 or objective-c May 09 05:22:39 I don't remember C++ GUI toolkits being any better May 09 05:22:51 fragments, ui controls that just dont exist and are wonky if you want to support multiple versions May 09 05:23:02 contexts having to be passed around everywhere May 09 05:23:27 http frameworks that need to not shit memory like they have giardia when parent acitivity dies mid request May 09 05:23:27 that won't be really solved by change of language :) May 09 05:23:53 unmanaged dialogs that when used can also shit memory like non other May 09 05:24:09 Mavrik - its a LOT easier to build ios apps May 09 05:24:21 hmm, really? May 09 05:24:33 I remember being pissed off by the constant mixing of ObjC and C semantics May 09 05:24:35 inconsistency May 09 05:24:41 language isnt as obvious to me, and sure you dont have to contend with androids attempt to meet 100 diff form factors May 09 05:24:44 crappy debugger, apps crapping out without stack traces May 09 05:24:50 Mavrik thats the nature of c May 09 05:24:54 go look at c++ examples May 09 05:24:57 no it's not really May 09 05:25:00 90% are part c May 09 05:25:01 C is clean and simple May 09 05:25:01 haha May 09 05:25:04 haha May 09 05:25:20 to be fair visual studio .net is incredibly, never seen a GUI system so easy, maybe one day google will knock something like that for android :) May 09 05:25:21 ObjC just randomly mixes semantics from pure C and the objective extensions May 09 05:25:25 and objectivec is a subset of c++ anyway May 09 05:25:26 if you mean "simple" as "primitive", I agree. if you mean "simple" as "easy to learn", then you just must be wrong. May 09 05:25:29 *incredible May 09 05:25:36 not to mention that I've manage to find way more iOS libraries to just not work May 09 05:25:48 XAVeRY, yes, I mean simple as primitive May 09 05:25:50 ;) May 09 05:25:53 Mavrik: ah, good. :) May 09 05:25:53 XAVeRY I could build shit faster in ios... and thats saying a lot May 09 05:26:02 XAVeRY, only people on drugs claim C is easy to learn :D May 09 05:26:10 I used to write ios apps off because writing in objc was basically c and its hard to make that work and work well May 09 05:26:14 C as in regular C? May 09 05:26:27 with ARC, building ios stuff is SUPER easy May 09 05:26:29 I love C :) May 09 05:26:47 I just hate apple and their fucked up business practices May 09 05:26:48 ron_frown: I don't do mobile programming, I was just passing through here. May 09 05:27:00 Speedstick: you're not the only one! May 09 05:27:11 I believe google has a good tihng going, but they need to take care May 09 05:27:15 ron_frown, until gdb craps out on you again or you found that core iOS api doesn't work and there are no sources abuot it since Apple hammers down on anyone claiming their shit doesn't work May 09 05:27:16 yeah apple are dictators, and elitests, they seem to always been that way but pre-ipod+iphone explosion they weren't really on the radar that much May 09 05:27:20 seems like I've heard a lot of apathy towards android lately May 09 05:27:21 had lots of fun times with ObjC yeah May 09 05:27:23 since mac not a big deal May 09 05:27:41 Java is… an improvement :D May 09 05:27:59 linux is a good base, java sucks... but we're not really talking about jsut java May 09 05:28:00 a ViewFlipper is standard if I want to switch from a loading screen to the main screen? if I have the ID of each view to flip between, how do I tell the flipper to show the one I want? or can I only use child indexes? May 09 05:28:07 we're talking about java and jni converted to dalvik May 09 05:28:11 layers on layers on layers May 09 05:28:22 all I gotta say is go look at source for network manager shit May 09 05:28:28 in android May 09 05:28:34 erisco, yeah May 09 05:28:40 its like a wild goose chase on lsd May 09 05:28:49 ron_frown, you're just biased because you can actually see shit May 09 05:29:00 see shit? May 09 05:29:02 Apple will hide non-working stuff from you May 09 05:29:09 ron you should fix it for them May 09 05:29:13 and then tell you you're making stuff up when you find a bug May 09 05:29:17 which is frustrating as fuck May 09 05:29:18 Mavrik, is there a conversion I can make? it is too flimsy to rely on child indexes... anyone editing the GUI could easily reorder the children and not know better May 09 05:29:29 (I work in joint iOS/Android shop) May 09 05:29:57 Mavrik I know that shit happens... but to be fair thers just a lot less application lifecycle shit you have to worry about May 09 05:29:58 Mavrik as in your company makes apps for them, or you sell the devices like a phone store? May 09 05:30:19 Speedstick, we do development for those platforms May 09 05:30:25 ron_frown, yes, that I do agree May 09 05:30:37 ron_frown, I just don't agree iOS does so much things better to be worth talking about :D May 09 05:30:41 Mavrik that's all your company does? business must be good :) May 09 05:31:10 I think memory stuff is always going to be a big ass potential for failure in ios, but I dont see you getting like 100 mil ways to do x in the apis they provide, and 99.999 ways are wrong May 09 05:31:23 99999 in 100 mil is not that many. May 09 05:31:28 % May 09 05:31:33 oh. May 09 05:31:56 I thin kthere is hope its a matter of cleaning up apis May 09 05:31:57 Mavrik I just have 1 question, is the income discrepancy between android and ios that big? or does your company do pretty well with both? May 09 05:32:09 if java8 ever gets here, I'd be on top of getting that shit into dalvik May 09 05:32:14 articles I read makes it sound like no one making anything on android May 09 05:32:23 and ios has the money flowing out the ears May 09 05:32:25 Speedstick, it's noticable May 09 05:32:31 in favor of? May 09 05:32:34 Speedstick, piracy is annoying especially May 09 05:32:36 in favor of iOS May 09 05:32:44 diff people use ios too tho May 09 05:32:49 especially since we're targeting US market where iOS % is much higher than EU or Asia May 09 05:32:49 its a hard comparison to make May 09 05:32:55 look at apple fanboys May 09 05:33:01 I'd rather not. May 09 05:33:03 ready to plop down whatever kinda cash May 09 05:33:09 for what someone says is cool May 09 05:33:09 Speedstick, but ignoring Android is not an option anymore though May 09 05:33:16 but you do have a point. May 09 05:33:23 Speedstick, just don't expect to be living off app sales (even on iOS) :) May 09 05:33:26 mostly non super technical people that want to worry about jailbreaking their devices May 09 05:33:34 unless you have a strong team behind you May 09 05:33:56 I make my living off android, but in a round about kinda way May 09 05:34:10 ron_frown, I'd kill for friggin closures in android May 09 05:34:17 would slice 20% off my codebases :D May 09 05:34:18 precisely May 09 05:34:22 thats part of the problem May 09 05:34:27 java is so god damn verbose May 09 05:34:28 Mavrik well I already do freelance as my main income, eventually focusing on services cause that's where big money is, but but added app revenue stream wouldn't hurt May 09 05:34:35 having written gobs of .net code, java is torture May 09 05:34:49 ron how do you mean round about May 09 05:35:12 ron_frown, yeah, C# is just way cleaner May 09 05:35:19 yeah .net is really nice, its ide is incredible, Microsoft pulled out some serious effort with that May 09 05:35:22 up to the point where I seriously considered Xamarin's stuff May 09 05:35:32 but always stopped at the price :\ May 09 05:35:41 Speedstick my company deals in industrial automation, I designed and build custom embedded hardware and ported android to it May 09 05:35:54 Speedstick, I think there's lots of income to be had in freelancing in mobile space May 09 05:35:54 I maintian the ports and the infrastructure for the apps May 09 05:36:08 Speedstick, you just need connections and location :) May 09 05:36:14 Mavrik yeah there is, but I wanna write apps for me :) May 09 05:36:25 elance.com has lot of work May 09 05:36:29 lots of work May 09 05:36:29 thats where the money is for most... build apps for peopl ewho think they got great ideas May 09 05:36:39 not for your "great Ideas" May 09 05:36:39 haha May 09 05:36:52 yeah, unless you want to spend 90% of time figuring out how to market the thing May 09 05:36:59 I love the fact there are other people doing it ;) May 09 05:38:01 yeah marketing makes or breaks products May 09 05:38:11 look at mcafee, absolutely terrible av, always has been May 09 05:38:18 but marketing has made it soar May 09 05:38:30 sold for over billion to intel I think May 09 05:38:52 Speedstick thats making pacts with the devlish dell/gateway/compac/hp May 09 05:39:35 where as awesome av like uh, eset barely gets any real attention May 09 05:39:41 ron yeah probably : May 09 05:39:45 :/ May 09 05:41:39 services where the money at, hardware, brick and morder, and even app dev is too much work/upkeep May 09 05:41:55 where as services where someone pages you monthly, whatever for ideally something digital $$$$$$$$$$$$ May 09 05:42:24 I bet elance.com is make huge monye and they don't really do anything besides probably market and support May 09 05:42:44 and do payments, so I guess they're doing things May 09 05:43:09 should I be embarassed I just created a class called "FireHose" May 09 05:43:10 haha May 09 05:44:14 I read the angry birds team spend over 100k on that app, idk if that included marketing or what(this was before it was a hit) May 09 05:44:18 seems like massive gamble to me May 09 05:44:29 *spent rather May 09 05:44:42 I bet the first one was no where near that May 09 05:44:54 Speedstick, they also made quite a few apps that failed miserably :) May 09 05:45:22 dirty secret noone tells you: pretty much all successful and profitable apps were made from money, blood, sweat and tears ;) May 09 05:45:54 http://www.develop-online.net/news/37242/Angry-Birds-cost-Rovio-100k-has-made-50m May 09 05:46:20 The game itself cost around €100,000 ($140k) to build and update, Wired claimed. May 09 05:46:40 http://en.wikipedia.org/wiki/Rovio_Entertainment#Games_developed May 09 05:46:41 ;) May 09 05:47:52 what does J2ME run on May 09 05:48:00 uh May 09 05:48:05 bunch of crappy feature phones May 09 05:48:06 and symbian May 09 05:48:25 yeah I thought so May 09 05:48:34 so to be fair that's what most their games were done in prior to angry birds May 09 05:49:07 funny I remember reading symbian talking crap about google when google announced they were going to dev a mobile os May 09 05:49:33 saying they didn't know what they were doing etc...something along those lines. Now look where they're at :D May 09 05:49:51 symbian pretty much extinct and android #1 May 09 05:50:57 they are still doing that May 09 05:51:42 heh May 09 05:52:57 I think once google fixes the fractorization and maybe the permission thing for android, it's be awesome May 09 05:53:25 fractorization? May 09 05:53:38 yeah May 09 05:53:46 fragmentation May 09 05:53:59 ahh there you go, that ^ May 09 05:54:16 fractorization not even a word, herm... May 09 05:54:58 it's a good word, for a word which doesn't exist :) May 09 05:55:15 thanks Leeds :) May 09 05:55:42 nothing to fix there May 09 05:55:53 the whole point of Android is that you can buy a device that suits your needs May 09 05:56:05 we already have an iPhone with nazi ecosystem, don't need another May 09 05:56:36 we just need better APIs and abstractions to ease dev May 09 05:56:56 in the Android 2.x days it was pretty difficult to develop an app with a consistent look and feel with itself as you'd basically have to skin every view or on some phones it'll look weird/bogus May 09 05:57:12 but with Holo it's a lot easier to use system components (and they look good) May 09 05:57:41 they should just throw EVERYTHING into support lib May 09 05:57:47 there's still things that differ from device to device, and need to be tested against, but it's not that bad. similar to web where you have to test against a handful of major browsers May 09 05:59:02 yep May 09 05:59:18 most noticable warts are still the crappy camera API implementations May 09 05:59:27 and OpenGL implementations, especially texture compression mess May 09 06:25:04 i wish the android devs had the foresight to make the uri matching stuff in ContentObserver more flexible, like matching on parts of hierarchy May 09 06:26:15 g00s: well, there's not too much performance hit to match aggressively and then filter on changes May 09 06:26:41 the framework that triggers the observer callbacks is pretty rock solid in terms of performance May 09 06:27:07 not a real solution, but eh...it should work May 09 06:27:24 yeah, could do that May 09 06:28:29 pleasure talking with you fellahs, have a good night, cya May 09 06:39:17 Ah ha! finally something to do with old crt moniters May 09 06:51:51 hey pfn, for your espresso machine http://www.limpkin.fr/index.php?post/2013/04/26/The-whistled%3A-how-to-remake-a-dozen-years-old-project-the-right-way May 09 06:56:16 g00s, what does it do? can't youtube in the office May 09 06:57:06 i got the impression the other day pfn wanted to listen or time his mechanical expresso machine … based on some sound May 09 06:57:38 g00s, espresso, no x May 09 06:57:49 :D May 09 06:57:54 apparently ... May 09 06:58:27 and totally not useful, not in that device's present state May 09 06:59:46 pfn: do you do any hw ? May 09 07:01:44 goos: ahh that is cool thanks May 09 07:02:49 i am going to totally use this to turn on the marvin gaye and dim the lights with style whenever i get home and need to set "the mood" ;p May 09 07:04:15 seems like everything thats needed to detect the sounds from the espresso machine; 80 2048 point FFTs second isn't shabby. interesting to learn about the CMSIS library May 09 07:04:59 g00s, also not interested in application-specific hardware May 09 07:05:23 i remember a special case ultra-efficient FFT algorithm developed at MIT last year, maybe it could be made to do more points / second May 09 07:06:01 nah, it wasn't all that great May 09 07:06:10 it worked well in some very specific situations though May 09 07:06:20 yeah, can't remember those special cases May 09 07:06:40 g00s, basically you had to know where all your frequencies will fall May 09 07:06:45 and setup buckets accordingly May 09 07:06:51 they did something like a histogram algorithm May 09 07:07:16 ok May 09 07:07:17 and if you knew where all your freqs are it's faster than FFT… if you didn't it's slower since you had to have huge granularity across spectrum May 09 07:18:36 I'm having trouble parsing a string to an int here because instead of having "364056" in the string I get "364056 " <-- null terminations. How do I trim whatever is trailing the integer? May 09 07:19:13 String.valueOf() doesn't strip that ? May 09 07:21:14 huh, guess they updated the I/O 2013 app May 09 07:21:46 string.trim() ?? May 09 07:22:38 aw crap, 2.3 and onward only :D May 09 07:22:43 i meant :( May 09 07:23:11 g00s doesn't seem like it May 09 07:23:19 java.lang.NumberFormatException: Invalid long: "368084136����������" May 09 07:23:39 yeah, just do what alex_PP mentioned May 09 07:35:08 alex_PP: i dont like where Adobe is going with Creative Cloud; i hope Lr doesn't go this way too May 09 07:37:25 don't we all May 09 07:37:27 :( May 09 07:38:48 Hello guys May 09 07:38:55 does anyone has motorola ET1 May 09 07:38:59 ? May 09 07:39:48 the adb can't recongnize it. I put the required id's in the usb ini file and setup the aproppriate udev rules but still no luck May 09 07:42:39 is it still recommended to use the ViewHolder pattern, or is that a premature optimization these days May 09 07:42:54 meh, guess it still makes sense May 09 07:44:48 still makes sense May 09 07:45:19 Hi all, Just wondering, in an Android App, is it possible to EXPAND an IFRAME inside the APP, or do I need for force a Web Based App object to be integrated into an Advert so that it can work? May 09 07:53:36 thanks kevinb May 09 08:09:29 Hi, I am using ISurfaceComposer to capture the screen but on some devices this causes the screen to hang on every call to captureScreen, any idea why ? May 09 08:14:39 gangam, maybe capturing the screen capture is not being handled properly and causing a gc? May 09 08:20:48 lasserix, no logs on gc, also on other devices my code works perfectly. May 09 08:21:28 I am getting this log that can be a clue : I/Choreographer( 579): Skipped 519 frames! The application may be doing too much work on its main thread May 09 08:26:30 is anything wrong with the following sql statement ? "create table "+ TABLE_NAME + "(" + COLUMN_ID+ " integer primary key autoincrement, " + COLUMN_TIMESTAMP + COLUMN_POWER_VALUE+ " text not null);"; May 09 08:27:20 sql injection via reflection!!1 May 09 08:28:06 anyone d/l the iosched 2013 app? i wonder if a teardown reveals appcompat library or if it still has ABS May 09 08:28:16 i get the following : android.database.sqlite.SQLiteException: table powerentries has no column named timestamp (code 1): , while compiling: INSERT INTO powerentries(timestamp,powerentry) VALUES (?,?) May 09 08:43:09 lite_: yes :) so what's a coding error May 09 08:43:18 lite_: what's your question? May 09 08:58:31 Hi, I just wanted to present a small open source Service Class I wrote called SystemWidePanel (https://github.com/cygery/SystemWidePanel). It displays a draggable/clickable panel which stays on top of the screen almost all the time. With appropriate layouts for landscape/portrait orientation, it even keeps its exact position after a rotation change whenever possible. May 09 09:06:49 mst3kfan DGMurdockIII i just bloody told you. bluetooth and headphone jacks are the ONLY TWO WAYS to get you music from your android phone into a dock May 09 09:06:57 that not true is it May 09 09:11:46 http://developer.android.com/reference/android/app/NotificationManager.html wtf? there is no method to get notification by id? o_O May 09 09:12:05 why would you need it? May 09 09:13:05 To check if the infomration displayed in the notification is different then the one i am going to show. May 09 09:13:25 just update it to what it should be May 09 09:13:36 but if it's the same, it will blink May 09 09:13:41 http://www.youtube.com/watch?v=1G2sJ8hA7oo May 09 09:17:16 how likely is it that you'll be looking at it when it changes? May 09 09:28:49 Hello :0 May 09 09:28:51 :) May 09 09:30:07 Oh man these Matrix opengl helper class is convient May 09 09:31:18 I follow this guide: https://github.com/octo-online/robospice/wiki/Starter-Guide but the TweetRequestListener() is undefined when i use abstract base class, so should i move refreshTweets() to my final activity and made SpiceManager as a public? or is there other way ? May 09 09:31:37 DGMurdockIII am i missing something? this is just like many other docks May 09 09:32:17 yah but it never came out May 09 09:32:38 i want somthing like that that dose exzatly that May 09 09:32:48 tht was the perfect dock May 09 09:32:55 i was looking for May 09 09:49:46 hi, is it possible to capture device screen using gralloc ? May 09 10:46:27 hello! i'm researching about lint and i wanted to know from your experience what are the lint warnings/errors that make the application really crash. can you help me? May 09 11:12:06 hello! i'm researching about lint and i wanted to know from your experience what are the lint warnings/errors that make the application really crash. can you help me? May 09 11:12:42 I start a service with an intent where I provide some extra infos with putExtra. In the service I want to use the onStartCommand method to get this data from the intent. But when I perform getStringExtra on the received intent it returns null. How can I debug an Intent to see if there is any extra data at all? May 09 11:36:39 ARGHHHH this is such a messy! May 09 11:36:41 -sy May 09 11:36:44 +s May 09 11:40:53 is it possible to know when a fragment is opened from onBackPressed which is overriden in my main activity? May 09 12:12:32 Is it possible to use a regular app as an ebook on amazon? May 09 12:15:17 public boolean onCreateOptionsMenu(Menu menu){ getMenuInflater().inflate(R.menu.activity_quiz, menu); May 09 12:15:31 Is the above should create an entry in R.java? May 09 12:25:51 Hello guys, i have some troblues while export myapp from eclipse and obfuscating the code using proguard. I get this error http://pastebin.com/N655xAhw. Searching on google i found only a solution, but it doesn't work. This is my proguard config file http://pastebin.com/aL38RdQK. Thanks :) May 09 12:38:19 are there any guarantees around postDelayed ? May 09 12:48:35 Hey guys, anyone know which android OS component is responsible for restarting crashed services? i.e. START_STICKY etc? May 09 13:12:33 Is it possible for an amazon ebook to have ads? May 09 13:12:50 I hope not, but I don't know. May 09 13:13:38 I have a client who wants to make their book free but I don't know too much about this area myself. May 09 13:14:37 Better check the Amazon Website then May 09 13:40:39 anyone know anything about making swipe gestures in a listview? May 09 13:40:41 :) May 09 13:44:50 having a little issue with maven, I am trying to add android-menudrawer as a dependency but it keeps saying it can't find it in the repo, but it is right here http://search.maven.org/#artifactdetails%7Cnet.simonvt%7Candroid-menudrawer%7C2.0.2%7Capklib May 09 13:45:14 Failure to find net.simonvt:android-menudrawer:jar:2.0.2 in http://repo1.maven.org/maven2 May 09 13:46:16 what am i doing wrong? May 09 13:50:54 drudge, what does your dependency look like May 09 13:51:21 Zharf: i copy/pasted from the maven search site May 09 13:51:29 under "Dependency Information" May 09 13:51:44 hmm May 09 13:51:53 IDEA tells me that there's only 1.0.0 available May 09 13:51:56 interesting May 09 13:52:20 How do you check the maven repo in IDEA? May 09 13:52:30 For versions May 09 13:52:38 drudge, oh, it's an apklib? May 09 13:52:44 ahhh May 09 13:52:49 yes it is Zharf May 09 13:53:33 drudge, add apklib May 09 13:53:44 Zharf: yeah that works. Thanks! May 09 13:54:24 no problem May 09 14:39:22 is ListView lv = new ListView(this); not working for anyone else? May 09 14:42:11 ddr2, no May 09 14:42:34 why isnt it working for me? it says the constructor is undefined May 09 14:42:55 because you're calling the constructor wrong May 09 14:43:00 you're passing the wrong argument May 09 14:43:09 'this' isn't the universal constructor argument May 09 14:44:38 oh i see the problem. it wanted the activity of the fragment May 09 14:44:44 this is why I love Android. I needed to port the HttpResponseCache to gingerbread, found that this fine gentleman had already done it https://github.com/candrews/HttpResponseCache May 09 14:44:53 this works ListView listViewCatalog = new ListView(getActivity()); :) May 09 14:45:33 basilisk, i needed a horizontal listview and found out someone had wrote one as well May 09 14:45:38 what is library usually used to send emails in Android? May 09 14:46:03 why would you send emails May 09 14:46:23 if you want, you could use one of the emailing intents to bring up your email client May 09 14:46:23 Why not just send them to their e-mail app? May 09 14:50:44 hello! im very very noob in android dev, and i have question about what im doing wrong ive created broadcastreceiver in activity and in service with two different action names, communication from service -> activity works fine, but activity -> service, last doesnt receive message. May 09 14:55:49 i need to customizing a spinner layout (not list of item) http://pastebin.com/36DrrDti it skin fine but spinner become uncliccable, why? May 09 15:00:06 Using Lint from command line and it keeps telling me no projects found... May 09 15:00:36 I implemented a ContentProvider and query it using a CursorLoader in my ListFragment. somehow, there are still issues in the UI, e.g. when I scroll quickly through a 1000 item list using the fastscroll indicator on the right, the ui stops for 4 seconds and StrictMode prints a violation because of a onReadFromDisk. what is going on there? May 09 15:04:59 hi. I've got some trouble with copycats of my game. in the last couple weeks, two games have appeared that copy my game idea and even use the same name as mine. However, they didn't copy any assets. Is there much I can do about it? May 09 15:05:05 here: https://play.google.com/store/search?q=2+player+reactor&c=apps May 09 15:05:48 basically "2 Player Reactor" appears several times, but mine (the cool cherry tree one) is the original, and has been on the market since 2009 May 09 15:06:21 RobinB: ideas get copied.... not much you can do about it unless you got some guys or cash May 09 15:07:09 spike|spiegel: wrong. The ideas are protected by copyright May 09 15:07:24 Anybody have any experience setting up Swipe Gestures on a VideoView? I can capture them on the MediaController that I display above the video, but I can't capture any swipes on the video view itself. May 09 15:07:58 elegos: to fight, RobinB still needs the people or cash.. no? May 09 15:08:56 spike|spiegel: no, he can ask Google to remove the other games. If Google doesn't, only then he can hire a lawyer May 09 15:09:36 obviously RobinB you need to demonstrate the idea was yours and that they're copying the very same idea/rules/game mechanics May 09 15:09:54 and google actually entertains such requests from small folks? May 09 15:09:54 it could be tricky because they didn't actually copy assets. but the wording is exactly the same on parts of them. it's not a very complicated game really, but it was unique and i invented it May 09 15:10:08 spike|spiegel: Google has to, it's the law May 09 15:10:14 it was a finalist in one of the first android developer challenges back in the day May 09 15:10:43 Google never talk to individuals May 09 15:10:59 that's what I was assuming May 09 15:11:02 i've got contact so some android developer evangelists, might be worth a shot May 09 15:11:15 RobinB: when you create something, anything, you assume the rights of that "something" May 09 15:11:23 I know for a fact that I'm using an API only available in 17 and yet lint isnt showing me the error, despite my min sdk being 13! May 09 15:11:42 But it does show me InlinedApi errors...! May 09 15:12:13 LuxuryMode: use TargetApi(17) if you want to remove the warnings May 09 15:12:29 if Google won't reply to you, start sending them legal letters. It's your right and you should never stop fighting for yours May 09 15:12:29 nioncode, my whole point is that im not getting the warnings... May 09 15:12:37 not for NewApi May 09 15:13:04 LuxuryMode: it's not clear what's the error, and when it shows then. May 09 15:13:28 elegos, eh? May 09 15:13:33 LuxuryMode: have you any exclusions defined? or any @TargetApi annotations? May 09 15:13:40 LuxuryMode: what's the exact error and when does it appear May 09 15:14:02 LuxuryMode: any code snippet? May 09 15:14:37 elegos, simple…in one custom view i call postOnAnimation May 09 15:14:54 that is a newer api and should result in an error bc my minsdk is specified as 13 May 09 15:15:13 LuxuryMode: thus the problem is the error not appearing? May 09 15:15:21 elegos, correct May 09 15:15:40 LuxuryMode: if you know it, make an if condition to check the SDK version May 09 15:16:03 LuxuryMode: do you use the support library? May 09 15:16:09 ^-- that too May 09 15:16:20 elegos, you serious? my point is the error is NOT appearing and you're just advising on how to do a check. I already have a check May 09 15:16:28 nioncode, good point i am using the support lib May 09 15:16:49 LuxuryMode: check your import, it is provided in the support lib May 09 15:16:50 nioncode, is there a way to tell lint to ignore that library or something like that? May 09 15:17:01 which import? May 09 15:17:12 LuxuryMode: why should you? the support library is there as a bridge May 09 15:17:20 LuxuryMode: android.support.v4.view.ViewCompat May 09 15:17:24 gotcha May 09 15:17:35 LuxuryMode: btw if you stand with the mouse over the method, it says you which class derives from May 09 15:17:50 but why do you want to exclude it? May 09 15:17:51 so you're saying i should just import that? May 09 15:17:51 i have a view that just extends from LinearLayout May 09 15:18:24 RobinB: http://support.google.com/bin/request.py?&product=androidmarket&contact_type=lr_dmca May 09 15:18:28 why are you using the support library, if your minsdk is set to 13 anyway? May 09 15:18:41 nioncode, v4 May 09 15:19:09 don't know what you try to say by that May 09 15:20:14 the max support library is v13, so when you set your minsdk to 13, you won't need the support library at all, because the application will not be run on < 13 May 09 15:20:22 I have the v4 support lib which brings backwards compatability to android 1.6 May 09 15:20:22 haha im an idiot May 09 15:20:22 sorry May 09 15:20:22 slow day May 09 15:20:53 LuxuryMode: what nioncode said :) May 09 15:20:56 nioncode, my understanding was that v13 support provides support for features introduced AFTER API level 13 May 09 15:21:09 elegos: cheers. May 09 15:21:18 RobinB: you're welcome :) May 09 15:21:52 LuxuryMode: oh yes, you are right May 09 15:22:09 In other words, if the device is running API 13, then I need the support library for certain things to work... May 09 15:22:19 yes May 09 15:22:38 but your point about ViewCompat is a good one, im just not sure if that actually helps me May 09 15:22:49 lemme see what even happens when i run this on an older sdk device May 09 15:22:50 one sec.. May 09 15:23:13 support v13 is a support lib for apps with a minsdk >= 13 May 09 15:24:00 It contains the full v4 support lib, as well as some extra classes e.g. a viewpager adapter for native fragments May 09 15:24:04 Is there a PDF file for the whole android API? May 09 15:24:41 SimonVT, Thanks. so how does that affect my usage of postOnAnimation? May 09 15:25:06 What do you mena May 09 15:25:24 LuxuryMode: think what you want to do is replace your call to postOnAnimation with static postOnAnimation(View view, Runnable action) from the compat class May 09 15:25:41 crised: nope, but you can download it from the SDK Manager and, with some tools, PDFy it May 09 15:26:00 SimonVT, support lib doesn't change anything in terms of my usage of postOnAnimation, right? I still need to check that API is 17 at runtime otherwise just do post(runnable) May 09 15:26:10 elegos: mm, but that won't look good when printed May 09 15:26:16 when i tried to replace a fragment in a tab i got the error "can't change container id of fragment". is there a way around this? May 09 15:26:17 Yep May 09 15:26:18 elegos: HTML to PDF May 09 15:26:31 crised: you're a fool if you want to print the SDK documentation :P May 09 15:26:33 elegos: why do you want to print the entire api? May 09 15:26:34 Or use ViewCompat#postOnAnimation May 09 15:26:35 SimonVT, or do what nioncode said? May 09 15:26:37 right May 09 15:26:45 elegos: not the documentation, just the libraries May 09 15:26:55 elegos: my eyes hurt so I print stuff :) May 09 15:26:58 crised: oh well, thousand of pages in any case :P May 09 15:27:17 in any case it could become outdated very soon May 09 15:27:33 elegos: yep, but 90% will be there May 09 15:27:43 elegos: in any case, there is not such stuff :( May 09 15:27:48 crised: there is no printable version of the SDK docs May 09 15:28:07 elegos: :( May 09 15:28:39 crised: in any case you need the monitor to program and turning the eyes up and down from backlighted monitor to printed sheets is more fatiguing for your eyes May 09 15:29:03 elegos: Dark IDE to white browser :) May 09 15:29:15 OSX? May 09 15:29:27 nope dark therme May 09 15:29:36 archlinux May 09 15:29:40 crised: https://chrome.google.com/webstore/detail/high-contrast/djcfdncoelnlbldjfhinnjlhdjlikmph May 09 15:29:45 that may help :)= May 09 15:30:45 elegos: sort of... May 09 15:31:29 elegos: but yes, it's nnot bad May 09 15:31:51 crised: I use it when I'm still awake and start programming at 2 am :P May 09 15:31:59 elegos: cool, thx May 09 15:33:34 btw conna switch to linux to code, eclipse theming on Win8 sucks May 09 15:33:38 any libraries people use for retrieveing remote images asynchrnously and caching them? May 09 15:33:48 or I should use Aptana as base IDE May 09 15:34:21 wolfehr: yes :) try this one (doesn't work with GIFs, I'm still searching): https://github.com/zonghai-li/android-http-image-manager May 09 15:34:45 perfect, thx elegos May 09 15:47:36 in spinner if i use android.R.layout.simple_spinner_item in arrayadapter works , if i clone that file from android soruce and use same file from my layout doesent works? May 09 15:48:41 i clone that file from here https://github.com/android/platform_frameworks_base/blob/master/core/res/res/layout/simple_spinner_item.xml May 09 15:52:52 Hi there, what would be the best way to implement buttons in fragments, as of now im running everything in the mainactivity, but it gets a bit crowded and since each of my fragments are running on seperate classes it would be better to implement the onclick listeners and button logic in specific fragment classes. Will this work ? May 09 15:55:07 yes May 09 15:55:29 Is there an equivalent of setStartDelay in API 13 ? May 09 15:55:38 for ViewPropertyAnimator May 09 15:57:14 imo, Justice, your Activity class should handle showing/hiding/switching fragments, and inter-fragment communication May 09 16:11:05 Is it ok that Bundle is a sort of Map < String, Parcelable Type> ? May 09 16:15:06 crised: why shouldn't it? May 09 16:15:30 nioncode: just asking May 09 16:15:55 nioncode: Parcelable a protocol... for what? May 09 16:16:26 crised: what? May 09 16:16:31 canadiancow: yeas but right now with "MainActivity" getting large nad having each fragment in seperete fragment classes it would be allot easyer to just have that logic in specific classes. Atleast i think it would be better than having ~800 lines in one class filled with button logic. May 09 16:17:01 nioncode: please expand about parcelable protocol? May 09 16:17:34 crised: http://developer.android.com/reference/android/os/Parcelable.html May 09 16:19:12 nioncode: The Parcelable protocol provides an extremely efficient (but low-level) protocol for objects to write and read themselves from Parcels.  May 09 16:19:22 nioncode: I don't quite follow what Parcelable is May 09 16:19:29 Can anyone explain Parcelable in own words? May 09 16:20:08 A class that can be written to a parcel May 09 16:20:37 SimonVT: Why the word protocol> May 09 16:20:38 ? May 09 16:21:29 crised: because it follows a protocol :) May 09 16:21:50 ouch... May 09 16:22:05 crised: http://en.wikipedia.org/wiki/Protocol_(object-oriented_programming) May 09 16:22:33 What is TestFlight? May 09 16:22:43 http://www.engadget.com/2013/05/09/testflight-expands-android-app-testing/ May 09 16:22:49 elegos: so protocol = interface? May 09 16:23:10 crised: somewhat, interface is a very general noun May 09 16:23:11 :) May 09 16:23:40 elegos: What's the use of Parcelable objects in Android? May 09 16:23:48 crised: "These are definitions of methods and values which the objects agree upon in order to cooperate." May 09 16:24:07 elegos: to me, that's an interface :( May 09 16:24:09 :) May 09 16:24:20 crised: you can send information within a Parcel - for example via IBinder May 09 16:24:38 or via an Intent with an extraParceable May 09 16:24:41 elegos: Why this strange interface Parcel, what is about it? May 09 16:24:43 so that you can send objects May 09 16:25:09 Android decided to adopt this protocol, nothing to say further :P May 09 16:25:43 parceable objects are able to be sent via intents, ibinder interfaces... and most commonly all the methods that support a generic "parceable" object as argument May 09 16:25:49 they're incapsulated data May 09 16:26:00 elegos: now I'm understanding.... May 09 16:26:19 crised: as an example: you want to send an object to a new activity May 09 16:26:19 elegos: Which type of object typically implement Parceleable interface? May 09 16:26:45 what do you do? You may pass it via a Singleton, but in a very unlucky case the singleton is being garbaged May 09 16:26:49 elegos: ok. So it passes serialized objects? May 09 16:27:11 you may pass EVERY SINGLE variable with putExtra... but what about complex objects you may have created with... 20 variables? May 09 16:27:33 elegos: got it May 09 16:27:48 ^-- for that you define the Parceable protocol within your class and put it as a parceable "object" (notice that becomes a generic object) May 09 16:28:07 elegos: What does a generic object means? May 09 16:28:28 String... is a String May 09 16:28:42 Object may be a String, or an Integer, or YourClass May 09 16:28:52 or a pure Object itself May 09 16:29:04 that's "generic" May 09 16:29:05 elegos: yess... what does it have to do with Parceleable? May 09 16:29:23 public class MyClass implements Parceleable May 09 16:29:41 then I can pass that parcel object with intent? that's it? May 09 16:29:46 when you pass a parceable object into the extras of an intent, you put an object which can be transmitted via the Parceable protocol May 09 16:30:03 elegos: ok got it May 09 16:30:14 you can't pass YourClass as an extra, because the Intent class doesn't know how to parse it :) May 09 16:30:20 that's all I think ^_^ May 09 16:30:21 si it's mainly used on intents to pass objects May 09 16:30:56 crised: http://developer.android.com/reference/android/os/Parcel.html - class overview ^_^ May 09 16:30:59 elegos: but you are saying to me that is possible to pass YourClass if it implements Parceleable May 09 16:31:05 right or wrong? May 09 16:31:16 right, because it detects the Parceable protocol May 09 16:31:34 SO -> If you're just passing objects around then Parcelable was designed for this. May 09 16:31:43 http://stackoverflow.com/questions/16452880/use-bytebuffer-in-mediaextractor I was thinking of using a ParcelFileDescriptor, but I'm still not sure how the MediaExtractor knows how to read the data May 09 16:31:45 Like, read the size of the data May 09 16:32:13 crised: yep, you can send a serializable object from one process to another May 09 16:32:16 elegos: thx for the help, let me digest now May 09 16:32:21 ^_^ May 09 16:46:32 hi all! intents don't work after bringing task to front by gcm-message... any idea? May 09 16:47:41 elegos: In the context previously talked... What is an IBinder? May 09 16:53:28 I have a uri that is pointing to a file in external storage. How do i create a File using that uri May 09 16:54:59 meh, why isn't there a roboto monospaced font May 09 16:55:05 I want to try it out as a programming font May 09 17:03:04 crised: look @ Service class :) May 09 17:03:27 crised: it's a way to bind (you don't say :P) a service from another activity May 09 17:03:36 for example to execute methods May 09 17:04:17 elegos: from another activity? May 09 17:04:34 elegos: means from an activity different that the one that called the service? May 09 17:04:34 crised: yes, for example if you want to execute a service's method from your activity May 09 17:04:51 crised: the service is not bound to any activity :) May 09 17:04:53 dinner May 09 17:05:01 elegos: thx May 09 17:47:24 Can you guys suggest me a simple http server app / library for android? May 09 17:47:30 is it possible to have different themes for different fragments in one activity? same question as this guy: http://stackoverflow.com/questions/15663613/android-apply-different-themes-to-fragments-of-one-activity suggested answers don't work. May 09 17:48:54 No, that's not possible May 09 17:48:59 no, the theme can't be changed on the fly May 09 17:49:10 nioncode: I don't need to change it May 09 17:49:31 you can change the background color explicitly May 09 17:49:38 How do I change a TextView in an Async? May 09 17:50:08 you can not assign different themes per Fragment May 09 17:50:19 wuppy21_: you don't, use callbacks instead May 09 17:50:20 (I have to change the text about 3 times in 1 Async May 09 17:50:24 how? May 09 17:50:32 alright, bummer, thanks May 09 17:50:36 with onProgressUpdate? May 09 17:50:56 when is ContextThemeWrapper useful then? May 09 17:51:20 wuppy21_: yes should work May 09 17:51:34 is onProgressUpdate in the main thread? May 09 17:51:50 don't think so May 09 17:52:18 yes it is May 09 17:52:23 nice May 09 17:52:56 called after you use publishProgress May 09 17:53:04 yup May 09 17:53:07 thanks for the help May 09 18:01:29 I have an inputstream that i am passing to BitmapFactory.decodeStream() as well as writing to file. Can I reuse the same stream or is it better to reopen. For some reason second action is not done properly. May 09 18:08:34 is there an easy way to get thumbnails for videos for use in a ListView? May 09 18:08:45 my current code seems to generate the thumbnail each time May 09 18:08:52 so even with 3 videos, it takes some time... May 09 18:08:55 ok... probably being pretty dumb here, but May 09 18:09:17 I'm getting an error "error: Error: Resource type cannot be an empty string (at 'id' with value '@+/test_fragment')." May 09 18:09:58 here's my code currently: https://gist.github.com/5549336 May 09 18:10:20 and this: https://gist.github.com/5549339 May 09 18:10:51 http://hastebin.com/xodorefoso.xml < my xml May 09 18:13:20 nvm May 09 18:13:23 that was pretty dumb May 09 18:41:24 I'm not sure what's a better use of my time, learning how to android graphics/games or arduino ? May 09 18:42:00 do both May 09 18:42:42 :O that would be ambitious of me? wouldn't that take agesss May 09 18:43:33 Hey, every once in awhile, calling progress.dismiss doesn't work :/ May 09 18:43:42 final ProgressDialog progress = ProgressDialog.show(this, "", "Loading image..", true, true); May 09 18:44:10 I'm running the dismiss in self.runOnUiThread as I can't guarantee that urlimageviewhelper will fire on the ui thread May 09 18:44:13 dialogfragments are better May 09 18:44:49 in what way May 09 18:44:57 they handle orientation change May 09 18:45:01 If you manually manage dialogs, you're gonna have a bad time May 09 18:45:11 and what SimonVT said May 09 18:45:34 :/ May 09 18:46:46 hi, I have some fragments in a viewpager and I want to run code one one becomes available, onStart() starts too early how can I fix this? May 09 18:46:47 Is there an example of a recreation of the functionality I want? May 09 18:46:49 Does anyone know of a resource for analyzing live video frames from the camera? May 09 18:50:17 I have a simple preference text (money deduction) that is editable by the user. should they have more than 1 deduction, I'd like to create an additional preference if they press a 'plus' button. I'm not really sure what to google to research this. A point in the right direction would be helpful. May 09 18:59:17 re :) May 09 19:00:00 Q: How to avoid afterTextChanged to be called when item is selected from list? May 09 19:14:51 so I've made changes to the SystemUI (frameworks/base/packages/SystemUI/res/layout/status_bar_expanded_header.xml) and done `make frameworks/base/packages/SystemUI`. now I need to do frameworks/base as well, and push both SystemUI.apk and framework.jar to the device? May 09 19:16:45 sounds like you're in for a world of hurt, heh May 09 19:17:03 rebuilding framework and replacing it on device is pretty painful May 09 19:17:12 anyway, #android-root probably has more info about that May 09 19:18:30 I'm not against re-building the whole thing. May 09 19:18:36 fair enough, though. thanks May 09 19:23:29 from within a dialog I created a listener so I can notify the caller May 09 19:23:38 but is there a way to close the dialog and return to the caller? May 09 19:24:17 ProgramMax: this.dismiss() ? May 09 19:24:19 and same question except -dialog +regular old action May 09 19:24:26 nion will try that May 09 19:24:40 what is a regular old action? May 09 19:25:07 I'm probably saying that wrong...uhhh for Android 3.0+ I can use a dialog fragment May 09 19:25:13 but I can't for older versions May 09 19:25:21 so I am doing the normal, full-screen thing on older versions May 09 19:25:49 an activity? May 09 19:26:13 you can also use a Dialog or even better use the support library and just juse your dialog fragment May 09 19:26:16 oh activity, yeah May 09 19:26:17 sorry May 09 19:26:30 what is the support library? May 09 19:26:44 http://developer.android.com/tools/extras/support-library.html May 09 19:28:13 hrmmm .dismiss() is part of the dialog, not the dialog fragment, I guess? May 09 19:28:20 any way I can do it within the dialog fragment's code? May 09 19:30:04 oh wait, it is on the dialog fragment May 09 19:30:13 I just need to get the instance from the inner client May 09 19:30:16 err inner class May 09 19:30:29 DialogFragment.this May 09 19:30:40 or your ClassName.this May 09 19:30:48 got ya May 09 19:30:48 thanks May 09 19:31:58 that dismiss worked. Thank you :D May 09 19:32:20 still reading that support library page May 09 19:33:15 oh, looks like we are already using the support library for some things May 09 19:33:22 I see some import android.support May 09 19:34:35 hrmmmm the .dismiss doesn't work when I treat the dialog like a normal activity May 09 19:35:24 can anyone suggest me an android HTTP server which would not close connection after every request? May 09 19:35:31 nanohttpd seems to do si May 09 19:36:53 so * May 09 19:37:06 Is there no way to use native fragments with v4 getChildFragmentManager? May 09 19:37:32 I'm calling getCurrentInputConnection() from onBindInput() in an InputMethodService subclass. For some reason, the InputConnection I get this way doesn't seem to support deleting text: I can commitText() fine, but deleteSurroundingText(1, 0) appears to do nothing. The InputConnection retrieved by calling getCurrentInputConnection() in onCreateInputView() doesn't have this problem. May 09 19:37:41 What could be causing this? May 09 19:38:10 (the InputConnection is valid, and no errors are printed to the log: it just doesn't do anything) May 09 19:38:15 hi all! intents don't work after bringing task to front by gcm-message... any idea? May 09 19:58:39 I am getting a pic uri from camera and then passing it to com.android.camera.action.CROP. Frequently I get "Coudn't load image" at random times. In error log it says "Image failed to decode using JPEG decoder". Any idea May 09 20:00:30 hm, i thought this " Unexpected value from nativeGetEnabledTags: " logcat spamming stuff was supposed to be fixed. is this still a problem with the x86 image ? May 09 20:07:39 ha! a bug in frameworks/base ? how did this make it out the door May 09 20:08:11 this is an emulator bug? May 09 20:08:45 "Workarounds in between are to use the emulator with API 16 (doesn't help if you need the APIs for 17 of course) or use a real device such as N4 or N7 or N10 that has API 17 on it." May 09 20:08:54 however, people are reporting it with real devices May 09 20:09:08 so again, why the hell doesn't intel update their images ? May 09 20:09:17 who is responsible for this mess ? May 09 20:09:45 canadiancow: no, not the emu. either image in the emu, or real images also May 09 20:09:54 http://code.google.com/p/android/issues/detail?id=39723 May 09 20:10:46 I'm using a selector to draw a button background a different color on click, how can I modify that to allow for a border radius May 09 20:11:46 nvm I found a good article on it, thank you May 09 20:12:00 ah, k "the issue is in the system-image that runs in the emulator and/or the phones. We'll have a fixed system-image for the emulator at some point, I do not know when exactly." May 09 20:12:14 g00s, the comments on that say it has been fixed, but not published May 09 20:12:19 yeah May 09 20:12:43 it was opened in 2012. its may 2013 … May 09 20:13:19 a random issue opened by one person with no bugreport attached is not going to get anyone's attention May 09 20:13:27 when i add the logcat filter, my cpu for the emu and eclipse are crazy. its like tons of spam are clogging the intersockets May 09 20:13:37 bah, acer iconia tab a200, anyone got reports that their app is not available on them ? May 09 20:18:19 hm, still no way to filter logcat by package name ... May 09 20:18:32 i have to use ddms / eclipse for that still i guess :/ May 09 20:18:44 logging was so much easier on 2.2 :P May 09 20:18:53 wtf did you guys do ... May 09 20:19:05 i don't use logging May 09 20:19:13 when using CROP I often get Image failed to decode using JPEG decoder. Anyone familiar May 09 20:19:47 there's a script called proclogcat that can filter by package. it's a bit broken on samsung devices though as those filter some ActivityManager messages it uses May 09 20:19:56 and it breaks if you use more than one process in the same app May 09 20:20:00 but it's still awesome May 09 20:20:10 kevinb: yeah, jasta's old script … i had a lot of problems with it tho May 09 20:20:31 it would catch the first process, but then lose things after the next version was uploaded and the pid changed May 09 20:20:33 i'll try it again May 09 20:21:20 it /should/ be as easy as 'adb -d logcat | grep com.me.myapp | ...' May 09 20:23:13 i modified the script slightly to better support samsung devices. Looks like I also aded something to check for the "Killing proc" line May 09 20:24:18 https://gist.github.com/teslacoil/5550294 May 09 20:24:37 kevinb: thanks May 09 20:26:58 when scrolling my listview (each row has a CheckedTextView) after i touch a row when i scroll the alignment of random rows is changing May 09 20:27:38 Anyone use com.android.camera.action.CROP in production May 09 20:28:19 hey guys May 09 20:28:23 got an interesting question May 09 20:28:39 I have a webview widget that I'm pointing at an OAuth 2.0 page May 09 20:29:13 when the user completes their sign-in it sends them to a particular redirect url, which I intercept May 09 20:30:06 problem is, that oauth page also notices that I have a cookie saved from last time May 09 20:30:14 so I can't log in a second time with a new user account May 09 20:30:36 it brings up the page, sees the cookie, and then automatically sends me to the redirect url that I intercept May 09 20:30:45 so what I need to do is somehow have a webview with no cookies May 09 20:32:49 ProgramMax, clear cookies before opening webview May 09 20:32:51 for your app May 09 20:33:02 how? May 09 20:33:43 oh hey May 09 20:33:53 CookieManager.getInstance().setAcceptCookie(false); May 09 20:33:56 * monsti clears cookies, too May 09 20:36:39 Hey guys have anyone used CROP intent on pictures taken from camera May 09 20:39:44 it's super unreliable. it's not part of the API and different vendors do different things with it May 09 20:40:05 better to copy the Gallery2 CropImage (and it's dependencies) code into your own project May 09 20:40:52 hey! have problems with intents after app has been woken up by gcm message... where might the mistake be? May 09 20:53:05 kevinb >> Isnt Gallery2 CropImage invoked by CROP intent? May 09 20:54:10 that is not guaranteed May 09 20:54:21 Samsung, HTC, LG, Motorola, etc replace the gallery with their own May 09 20:54:46 some have the intent, but just always set the wallpaper when it's called. some don't have the intent. some don't return the cropped image May 09 20:54:54 i used to use it, it was a mistake May 09 20:55:19 generally anything starting with "com.android" should not be used. it's private and subject to change May 09 20:56:04 kevinb >> Thanks for the insight. I am actually testing on Samsung Galaxy tab and it seems when I use galary image it works great. but When I use an image that was just captured from Camera it gives this error: "Image failed to decode using JPEG decoder". Now wouldn't that same error potentially happen in Gallery2 CropImage May 09 20:57:00 hrmm May 09 20:57:05 got a new interesting problem May 09 20:57:14 by the way, I really appreciate your help so far May 09 20:57:25 I should make that more clear :) May 09 20:57:37 Manavan: i don't know. But if you plan on supporting more devices than the Galaxy Tab, you need to use your own cropping method anyway. and if you're using your own cropping method you can tune the code to fix the error :P May 09 20:57:46 anyway...when I present the oauth page inside the webview control things are working fine May 09 20:58:01 when I go to present it a second time, it is automatically redirecting because of those cookies, like I said May 09 20:58:10 I added .setAcceptCookie(false); May 09 20:58:13 and now it never lets me log in May 09 20:58:22 so it sounds like I need to allow cookies, but then clear them out once I'm done May 09 20:58:25 that seems fine May 09 20:58:32 but I only see a .removeAllCookie() May 09 20:58:52 I don't know if that is removing all cookies for my app, all cookies for this instance...all cookies for the browser as a whole... May 09 20:59:03 I don't want to delete every cookie the user ever had...would mess up other apps May 09 21:01:03 kevinb >> Thanks May 09 21:01:34 ProgramMax: i don't have experience with it, but i'd guess it would only remove cookies from your app. I don't think any kind of state like that is shared between apps as it's be a security issue (you use your browser to login to amazon, then install a malicious app that abuses your amazon cookie to ship a bunch of stuff overseas May 09 21:02:09 I think you are right. That makes sense. I'm testing it now May 09 21:02:16 got a cookie setup in my browser May 09 21:03:13 okay...clearing my cookies in the app fixed my problem....checking if my browser was affected May 09 21:03:20 it was not May 09 21:03:22 Hi. I'm using Windows 8 with the Google USB driver installed, but can't get adb devices to find my Nexus S. Does anyone know where I can get reliable drivers for it? May 09 21:03:22 goodie :D May 09 21:04:37 Ermm. never mind. I think I found them at http://www.samsung.com/us/support/owners/product/GT-I9020FSTTMB. Hope they work. May 09 21:08:58 the drivers available in the sdk manager work for every device ive ever used May 09 21:10:55 hi, i get a nullpointerexeption while launching an activity, it seems to be the intent, but how can it be null? (Intent i = getIntent();) May 09 21:13:35 Sigh, I really wish I knew what google was going to release at Google IO before I start embarking on a huge project May 09 21:13:45 they'll probably come out with a set of api's that render my code useless haha May 09 21:16:45 Hi guys. A/c to http://developer.android.com/sdk/win-usb.html, Google USB Driver for Windows is supposed to support Nexus S since revision 4. I just installed revision 5 of the Google USB driver, but adb devices doesn't detect my Nexus S on my Windows 8 laptop. May 09 21:17:08 Would someone be so kind as to suggest a fix? Or perhaps I can provide any debug information someone can use to figure out why? May 09 21:18:18 Do note, however, that my Ubuntu machine can detect my Nexus S just fine May 09 21:22:48 Issue solved by following this guide: http://visualgdb.com/tutorials/android/usbdebug/ May 09 21:24:32 hwrd|work: you can't wait a few days? i waited years for them to get their act together May 09 21:25:37 g00s: hahaha. Guess I go back to writing quant finance algo's instead of Android code May 09 21:25:51 yes, that sounds easier May 09 21:26:47 or at least, more fun ;) May 09 21:28:45 anybody know anything about MediaPlayer error (1, -2147483648)? May 09 21:31:45 Could someone check why i got error IllegalStateException ? http://pastebin.com/2peD2pQ5 May 09 21:33:01 05-09 23:27:50.681: E/AndroidRuntime(16899): Caused by: android.os.NetworkOnMainThreadException May 09 21:35:14 ye but why ? May 09 21:36:56 The exception name says why May 09 21:37:03 so it seems for api 15,16, and 17, the x86 images never get updated. i'm going to file a bug 'intel images not updated in timely manner' May 09 21:38:11 not really :P May 09 21:38:22 in a textField setText I can't do (variable + variable) May 09 21:38:23 really ? May 09 21:38:24 Network On Main Thread Exception May 09 21:38:31 exception means that is bad May 09 21:38:36 i read just now that "You cannot perform network IO on the UI thread on Honeycombe. Technically it is possible on earlier versions of Android, but is a really bad idea as it will cause your app to stop responding, and can result in the OS killing your app for being badly behaved. " May 09 21:39:06 P3nnyw1se: its a charsequence May 09 21:39:46 hrmf May 09 21:39:52 a char squence is just a string man May 09 21:39:57 I can do it in a string May 09 21:40:23 no, a string is a charsequence May 09 21:41:05 ... but May 09 21:41:08 that still makes it the same May 09 21:41:25 A charsequence isn't necessarily a string May 09 21:42:27 its just an amount thing ain't it.. May 09 21:45:28 P3nnyw1se: read bout liskov substitution principle May 09 21:45:55 'sure' :P May 09 21:46:50 g00s: it definitely makes me more money than android code! May 09 21:46:59 maybe i'm just programming the android code wrong though... May 09 21:47:04 g00s: this reminds me on linus torwalds java <-> gay comparison ;) May 09 22:04:32 anyone know why the iosched code has a lot of these 'tryExecuteDeferredUiOperations()' things? seems like a hack around some race condition or something May 09 22:26:53 can anybody help out a newbie with a specific problem? i am trying to do time-measurements on softkeyboards like swipe, and i am not sure what the best approch is, i.e. is there a way to capture a touch event before it is passed down to the IME? May 09 22:35:35 yay got my glass invite May 09 22:39:06 argh how'd you get that ? >_< May 09 22:39:51 Are there any good tutorials on how to make android games? May 09 22:40:42 bankai_: i signed up at IO last year and have been waiting May 09 22:41:51 lucky bugga May 09 22:42:51 Hi May 09 22:46:14 does anyone have an idea why the ansyctask is not processed? http://pastebin.com/DVjq0GuQ May 09 22:50:56 Is there anyway with universal image loader to load an image without compressing it? May 09 22:58:57 ORMLite. Do I need foriegncollections, really? can't i just simply store objects in the same table w/o using a 1-M relation ? May 09 23:03:03 Are there any good tutorials on how to make android games? May 09 23:03:15 tortal: i don't use foreign collections May 09 23:03:19 is looking up graphics and animation on android docs good enough? May 09 23:03:29 CocoStorm: Google.com May 09 23:03:36 funkbox: so what do you do May 09 23:03:39 just ignore it? May 09 23:03:45 tortal: store the ids and then query as i need it May 09 23:03:51 basically roll my own May 09 23:03:56 funkbox, ermm May 09 23:04:02 funkbox, doesn't help May 09 23:04:16 how do i get an ID if it field isn't in a table May 09 23:04:25 or you mean to have multiple indexes May 09 23:04:33 CocoStorm: in that box, try entering "android game tutorial" and then click on "google search" May 09 23:04:40 yep multiple indices May 09 23:04:50 cool May 09 23:05:10 permoance hit ? May 09 23:05:21 nah May 09 23:20:18 Is there anyway to do runtime changes in screen resolutions on Android? May 09 23:20:25 using fbset? May 09 23:21:38 change resolutions? May 09 23:25:38 yes on an Android running on a TV for example May 09 23:27:17 there isn'nt May 09 23:27:23 android is no linux May 09 23:27:35 however androvm can change the resolution May 09 23:42:23 anyebody has experience with edittext in combination with softkeyboards/IMEs like Swype? i am trying to capture touch events inside IME, before they are consumed by the ime itself May 09 23:43:06 guys if I set an activity in a constructor of another class.. like this.activity = activity May 09 23:43:11 how do I reach the variables and methods ? May 09 23:45:17 hah May 09 23:45:26 it was FragmentActivity... stupid...apiowdmawopm May 09 23:51:50 anybody know of any nice UI libraries or something to compose styles and/or state drawables or something in something else than XML? May 09 23:51:55 maybe something a little less verbose May 09 23:52:07 i'm willing to pay good money May 09 23:52:10 actually no money May 09 23:52:17 but would use such a lib May 09 23:52:38 1 meeeelion dollars, and I'll quit my day job and write you something May 09 23:55:15 hi all May 09 23:55:21 Just a question.. May 09 23:56:52 For the Adverts that are displayed, is there a way to generate an image that when clicked it generates a frame as a browser to display a page WITHOUT having to go off to an actual web browser? May 09 23:56:53 got a question for you guys :) May 09 23:57:25 I have a dialog fragment and it also acts as an activity for android devices before 3.0, which do not support dialog fragments May 09 23:58:03 from within that dialog fragment I have a this.dismiss() May 09 23:58:10 it works perfectly when presented as a dialog fragment May 09 23:58:20 but when presented as a regular activity, it doesn't do anything May 09 23:59:43 Use the support lib, dialogfragment back to 1.6 May 09 23:59:55 huh? May 10 00:00:35 like the minimum supported version in the support lib? May 10 00:02:11 yep May 10 00:03:58 ehhhhh I get logcat error I can't backstrace May 10 00:04:19 backstackrecord.doAddOP May 10 00:04:59 oh lol May 10 00:23:45 anyone here know of any Android Test Environment that allows for easy update and testing of an APP? May 10 00:24:06 As in a REAL APP, not a browser based app? May 10 00:24:23 Also, is it possible to use JAVASCRIPT inside an app itself? May 10 00:24:32 ARHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHH May 10 00:24:32 Or does it need to be pure HTML 5? May 10 00:24:55 you should be able to use javascript in a webview May 10 00:26:06 is it possible to generate a webview inside an APP? May 10 00:26:27 As in, when there is an advert, can a webview be generated inside it? May 10 00:27:11 hi, i'm using shlerlock action bar and sliding menu. ok all works but i want show slidemenu when click logo, how can do it May 10 00:29:12 why on gods holy earth is a textArea giving me a nullPointerExcept when I dog textArea.setText("hello"); May 10 00:29:14 awodimawoidmawiodm May 10 00:29:32 YOU LIAR! May 10 00:31:37 hey guys, is there a way to know when the phone is about to receive a call without needing the read_phone_state permission? That permission also gives you access to a whole lot of private data so some people don't like it. May 10 00:31:44 anyone know if an iFRAME is supported in native Android App? May 10 00:33:47 this error isn't true.. I'm getting an error thats not true May 10 00:33:49 awpodawo May 10 00:34:51 Hi! I have an activity displaying car info. Under a couple of TextViews, I have two TableLayouts with TextViews in them. Is it possible to not show these tables if the TextViews in them doesn't have values? May 10 00:36:39 the tables are now created in the xml-layout file. One possibility is to programatically create the tables only if the values that will be in the TextViews have values. Maybe that's the most preferred way? May 10 00:37:12 View#setVisibility(View.GONE) May 10 00:40:35 findViewById(R.id.caribou).setVisibility(View.GONE) May 10 00:41:00 caribou... GOOOONE May 10 00:41:09 SimonVT, JesusFreke: thanks, it works like a charm :) May 10 00:46:31 What sort of ADS can be used in Android? May 10 00:47:15 Can it be a separate app that loads within? May 10 00:48:15 google.ima.CompanionAd .getContent() <-- can this load a URL? May 10 00:48:27 The API reference is VERY vague May 10 00:53:36 the debug keystore generated by eclipse will be different for everyone building the project? if so, how does one configure the keystore location so that we can add it to source control to share it? May 10 01:01:06 erisco: why do you want to share it? May 10 01:01:12 everyone should have their own May 10 01:01:37 sampullman, that's a problem because when authenticating with google services they expect only one signature May 10 01:02:43 seems the only available configuration option is a global default location for all android projects May 10 01:03:07 i see May 10 01:03:10 The debug keystore is in your .android folder.. Just decide on one and have everytime copy that to .android May 10 01:03:14 yeah May 10 01:03:16 ~/.android/debug.keystore May 10 01:03:22 or something May 10 01:03:27 I know where it is May 10 01:03:48 just have everyone working on the project overwrite their's with yours May 10 01:05:30 do people actually use the state drawable stuff for pressed states etc .. at least with gradients etc May 10 01:05:41 i've found them to be very very slow compared to custom drawing May 10 01:05:56 i've done enough xml now to start hating it with such passion May 10 01:06:33 it's so much easier to write, read and understand normal code. and it's easier to separate your view stuff from the application logic if you don't use xml May 10 01:09:21 doesn't using xml make it easier to separate view/app logic? May 10 01:09:24 i dont follow May 10 01:11:48 it's supposed to May 10 01:11:54 but it's so fucking horrible to work with May 10 01:12:05 i don't know what kind of a designer would prefer that over just normal code May 10 01:12:19 anyways.. is there an android development hate support group May 10 01:12:30 i'm about to cry from months of built up frustration May 10 01:12:37 and i really could use somebody to talk to May 10 01:13:20 and by someone i mean a googler working on android that can listen while i tell him how stupid the whole xml thing is May 10 01:16:25 android xml can be annoying, but I find it much more convenient than building an interface in code. May 10 01:16:39 If you prefer building it in code, why don't you just do that? May 10 01:16:53 Nobody is forcing you to use xml May 10 01:19:44 Noone's forcing you to use xml, it's just a lot cleaner once you start making decent apps. Handling several configurations in code is messy May 10 01:26:39 got a question May 10 01:26:44 onAttach takes an activity May 10 01:27:35 I have a listener class and I'm storing an instance of that activity May 10 01:28:04 how come nobody solved the ebook problem May 10 01:28:16 it's really fucking dumb that it doens't act like normal world May 10 01:28:21 but really, I want the listener callback code to go in the fragment code, not the activity code May 10 01:30:06 can I maybe have the activity implement the listener interface and then send the event on to that activity's fragment somehow? May 10 01:41:15 anyone run into an SSL exception when posting a large file? http works fine May 10 01:43:30 meetoman, android ebook problem? May 10 02:08:12 Hello guys, running myapp in release mode i get this error http://pastebin.com/uUccGXGT. It should be caused from proguard...somebody can tell me how to solve this? Thanks! May 10 02:23:21 uragano2, presumably it can not find the removeRule method in the RelativeLayout class/object May 10 02:24:08 As far as proguard - sometimes if I have trouble I zero it out, see if it compiles, and if it does, I start adding piece by piece back May 10 02:31:41 removeRule is new as of api17 May 10 02:31:55 do not use removeRule if you need to use apilevel <17 May 10 02:32:27 instead, use addRule(RULE_NAME, 0), that is the equivalent of removeRule, perhaps if (build.version.sdk_int >= 17) around it May 10 02:32:49 (a device under android 4.2) May 10 02:37:02 addRule removes a rule? that's like using git push to remove remote branches o_O May 10 02:37:05 Thanks for your answers!!! May 10 02:37:13 software devs have a weird sense of humor May 10 02:38:10 more like, google has more interns/high-school kids than engineers May 10 02:53:20 did anybody see this? eclipse can't reinstall apk (debug) while the app is running. **** ENDING LOGGING AT Fri May 10 02:59:58 2013