**** BEGIN LOGGING AT Sun Oct 13 02:59:59 2013 Oct 13 03:00:08 Reselect ? Aha Oct 13 03:00:10 SimonVT, so am I missing the call off the getActionBar() to hide the icon? Oct 13 03:00:19 cause I dont see anything that jumps out at me Oct 13 03:02:27 nevermind SimonVT, I think i foundit Oct 13 03:03:06 ok i got it Oct 13 03:03:24 Why after a long time andrirc is slow ? Caching isdues ? Oct 13 03:03:32 Issues ? Oct 13 03:04:48 what's andrirc Oct 13 03:05:18 Sry androirc Oct 13 03:05:56 sadolino: You're in the wrong channel. This isn't app support Oct 13 03:06:03 dunno, don't care about why an app might be slow Oct 13 03:07:23 But simon there are also normal communications what isnt group logical :) Oct 13 03:07:31 I added the android sdk source code somehow to my project some time ago, and now every time my project builds it says... blah blah blah, thing requires API level 4, blah blah blah..... Oct 13 03:07:35 huh Oct 13 03:07:46 you're not logical, sadolino Oct 13 03:07:58 I don't know why, but it seems it's taking the minsdk declared in the android sdk, instead of the one in my project Oct 13 03:08:01 any idea how to fix it? Oct 13 03:08:05 Not group logicall Oct 13 03:08:36 Logic :) Oct 13 03:09:25 sadolino: This isn't a debate :) Oct 13 03:12:08 No, but i see it more than one time , its the same logic about the update with custom componrnts, the view is going away from the target, and its very frustrating when some gives u a wrong answer, mainly when the theme is going for systematically things or group orientations and some try to isolate humans views in it :) Oct 13 03:13:27 Yeah, I don't care. So far, your questions do not belong here Oct 13 03:13:37 The other thing is when u change the theme, someone i still talking about something already sad :, Oct 13 03:14:07 No problem but its still wrong Oct 13 03:14:56 Sry said Oct 13 03:15:51 Hey Simon , you know where this group logic first come from ? If u wanna make a conversation :) Oct 13 03:16:43 it was Microsoft Oct 13 03:19:26 sadolino do you just type random words, you speak but don't say anything Oct 13 03:19:36 It took his way through political women , finally it started on the internet in germany ^^ and goes worldwide Oct 13 03:20:17 in the Tuesday, when who was the big one always? Oct 13 03:20:30 yes. Oct 13 03:20:33 U know that the internet is connected like pipes everywhere, als humans copy logics like this :) Oct 13 03:21:17 I want to include picasso in my project, but by using the source code given that I probably need to customize it... how to do it? I already cloned the repository from git, how the hell do I create an eclipse project from that? Oct 13 03:21:33 open the root pom.xml Oct 13 03:21:43 But i dont imagine that a characteristic of german boards comes until to a os for a smartphone :) Oct 13 03:22:18 JakeWharton: My project doesn't uses maven... Oct 13 03:22:37 then do whatever you want with it Oct 13 03:22:48 U see they wake all up :) Oct 13 03:22:53 But how to create the proper eclipse project for this stuff? Oct 13 03:23:47 file > new project Oct 13 03:23:55 copy and paste the source files Oct 13 03:24:03 thx, I'll try that Oct 13 03:24:15 JakeWharton: do you know ruby? Oct 13 03:24:21 enough to hate it Oct 13 03:24:36 JakeWharton: the load.into thing seems kind of rubyish.... Oct 13 03:30:11 What are the next device releases for jb 4.3 ? Oct 13 03:32:11 i thought, another weird question … then i see sadolino renamed to IOriginalSandro Oct 13 03:32:24 time for an ignore pattern Oct 13 03:33:13 IOriginalSandro: If you wish to stay in this channel, ask app dev questions Oct 13 03:33:41 Ok, human chat logic no ? Oct 13 03:34:07 JakeWharton: you have some Jetbrains specific thing on the requestcreator Oct 13 03:34:32 kick IOriginalSandro my logic Oct 13 03:34:38 damn Oct 13 03:35:19 Lol what are u doing, u kick ? Oct 13 03:35:25 Me ? Oct 13 03:38:07 JakeWharton: Is there any listener or callback I can use to get notified when an image succesfully downloads, or fails to download? Oct 13 03:38:14 Simon why u try to kick me ? Oct 13 03:38:17 yes. Oct 13 03:38:32 JakeWharton: BTW is there any docs around? I haven't found them yet Oct 13 03:38:39 they're linked on the website Oct 13 03:39:47 Can i kill a service in an app while the app is running ? Oct 13 03:40:03 IOriginalSandro: This channel is for app dev, but you don't seem to get that Oct 13 03:41:13 I dont understand, u said for developing apps, its not enough the android ? Or do u have a problem what u wanna tell me ? Oct 13 03:41:18 omg, wtf. I didn't know android studio could use a phone as a testing device straight up Oct 13 03:41:26 JakeWharton: I found onImageLoadFailed for the failed case... Is there something for the succesful case? Oct 13 03:41:34 there's a callback to into Oct 13 03:41:58 IOriginalSandro: This isn't up for discussion Oct 13 03:42:46 I asked a normal question about a service in an app Oct 13 03:43:20 If i can shut down Oct 13 03:43:34 Sry shut it down Oct 13 03:44:26 Yes, you call either http://developer.android.com/reference/android/content/Context.html#stopService(android.content.Intent), or http://developer.android.com/reference/android/content/Context.html#unbindService(android.content.ServiceConnection), depending on how the service was started. Oct 13 03:44:53 JesusFreke: I love you. Oct 13 03:45:14 um. ok :) Oct 13 03:45:26 Yh this knows simon :), what a disaster this android os Oct 13 03:45:28 JesusFreke loves you ;) Oct 13 03:45:31 That response was great Oct 13 03:45:37 I know Oct 13 03:46:06 I go to sleep bye :) Oct 13 03:46:10 Bye. Oct 13 03:46:22 Hey simon this is perfection :) Oct 13 03:46:45 only in his dreams Oct 13 03:47:12 ugh.. Oct 13 03:47:18 some people man. Oct 13 03:47:19 man, well question, why didn't this ignore mask work: *!sadolino@* Oct 13 03:47:48 My *!g00s@* doesn't work either ;/ Oct 13 03:47:56 :/ Oct 13 03:48:24 lol Oct 13 03:48:42 textual sucks Oct 13 03:48:49 Do you guys know a way to tell AS the default device to run stuff on? Oct 13 03:49:03 desmin88 yeah, you can set that Oct 13 03:49:08 pls. tell. me Oct 13 03:49:09 its on the top button bar Oct 13 03:49:19 i dont have AS running atm though Oct 13 03:49:28 there should be something like configurations Oct 13 03:50:35 i see settings Oct 13 03:50:48 you have the option to ask each time, run on a device, etc Oct 13 03:50:58 desmin88: its under Run->Edit Configurations Oct 13 03:51:32 under General->Target Device Oct 13 03:52:06 I loev you all Oct 13 03:52:11 JakeWharton: The context in Picasso.with... Should I create picasso just once? and reuse that same instance always? or should I call Picasso.with each time? Also, can I pass the application context there? or does it needs an activity context? Oct 13 03:52:15 i hated so much having to pick it each time Oct 13 04:04:00 Ok guys, feedback please. http://gyazo.com/71aaf9e124269420ccf1c2c6c7005546 Oct 13 04:04:24 gah, the fucking cards ! Oct 13 04:04:55 I already know you're opinion g00s :) Oct 13 04:04:57 hehe Oct 13 04:05:20 do you really have to say each time 'Mass readings for … ' Oct 13 04:05:35 no Oct 13 04:05:58 and the pictures convey nothing Oct 13 04:06:09 this screen has low information density Oct 13 04:06:33 give it to me straight doctor :( Oct 13 04:06:45 ok i admit im terrible at ui design Oct 13 04:06:55 the verse info looks disorderly Oct 13 04:07:09 yes Oct 13 04:07:39 ok looks like i got a lotta work to Oct 13 04:07:53 dont use a card unless it more alive of a thing Oct 13 04:08:01 maybe it flips and the back has the verses Oct 13 04:08:06 or it has a menu button Oct 13 04:08:15 it will Oct 13 04:08:24 maybe the user could filter by verses Oct 13 04:08:34 so you have to think of your navigation structure Oct 13 04:09:10 Daily Reading / Readings by Book / Readings by Topic Oct 13 04:09:24 so there are 3 ways already to filter on that Oct 13 04:10:08 topic? Oct 13 04:10:18 yeah, like Suffering Oct 13 04:12:14 Also, get rid of October and make that a heading Oct 13 04:13:06 section header, whatever Oct 13 04:13:10 ? Oct 13 04:13:45 also might be nice to let people add a reading to their favorites, to personalize Oct 13 04:14:07 maybe a reading really resonated, and they want to get back to it Oct 13 04:14:17 good. shit. Oct 13 04:14:37 man it just goes to show how unimaginative i am Oct 13 04:15:38 but i think the service should annotate items with tags Oct 13 04:16:00 so you might get the title, a few tags, and the verses. people can then search the tags Oct 13 04:16:13 just flat tags, not hierarchical Oct 13 04:16:20 yea Oct 13 04:17:02 mayeb a share option, to send to a friend. after all , lots of people suffering Oct 13 04:17:06 def. Oct 13 04:17:08 ;) Oct 13 04:18:25 i wish there was a drop-in bible view for android Oct 13 04:18:48 i bet there is a web service Oct 13 04:19:12 dunno what translation catholics use, probably king james right? Oct 13 04:19:36 have a little encrypted remote confession section Oct 13 04:19:40 this website wants the douay-Rheims bible Oct 13 04:19:46 whatever the hell that is Oct 13 04:19:51 never heard of it Oct 13 04:20:23 neither have i Oct 13 04:20:50 give them a NASB and they'll all go crazy Oct 13 04:20:57 :) Oct 13 04:21:48 lol Oct 13 04:21:48 how many jesus freaks do we have here ? Oct 13 04:21:57 none i think Oct 13 04:22:01 except for JesusFreke Oct 13 04:22:25 desmin88 dont; that would seriously piss them off ;) Oct 13 04:24:12 time to redo my xml Oct 13 04:25:00 desmin88 i dunno how this works with catholics; maybe have a function where the user can request people pray for a topic or for them; it would be better if this was to allows others to contact the user directly though; this is where things become too impersonal if mediated only by tech Oct 13 04:25:19 they have some wacky "prayer petition" thing Oct 13 04:25:26 which is just a daily post with fb comments Oct 13 04:26:09 im not sure how to integrate that in Oct 13 04:26:41 flash a big red devil face with the laughter from michael jackson's thriller Oct 13 04:26:53 : Oct 13 04:26:59 :/* Oct 13 04:28:52 desmin88 maybe something there to locate nearest catholic church ? Oct 13 04:29:00 maybe google maps does that, dunno Oct 13 04:29:02 that is a possibilit Oct 13 04:29:31 trying to design the card atm Oct 13 04:29:36 doing bad at it. Oct 13 04:29:49 designfor usage first ;) Oct 13 04:29:54 hehe Oct 13 04:30:05 that is, a distraction Oct 13 04:30:22 wireframes, information architecture, navigation Oct 13 04:30:31 dont get bogged down in the card ;) Oct 13 04:30:49 maybe the fad will pass soon anyhow :D Oct 13 04:30:54 lol Oct 13 04:31:38 Do any of you guys have a powerschool account Oct 13 04:32:13 you need to log in with a powerbook Oct 13 04:32:26 g00s, what Oct 13 04:32:44 http://en.wikipedia.org/wiki/PowerBook Oct 13 04:33:13 pffft Oct 13 04:35:54 desmin88 sorry i can't help any more; dunno anything about catholicism - ask yourself , what would a catholic person's needs be in the mobile context Oct 13 04:36:06 that is - not at their desk ;) Oct 13 04:36:49 its fine, thanks for all your help Oct 13 04:57:52 aren't you building this app for someone? don't these people know what they want? Oct 13 04:57:58 you build your app around their needs Oct 13 05:01:49 pfn, what Oct 13 05:02:07 pfn: i have a lot of direction in which way i take it Oct 13 05:03:31 you mean you have a lot of independence Oct 13 05:03:36 uhh Oct 13 05:03:37 sure Oct 13 05:04:33 otherwise you're saying they're telling you how to do everything :p Oct 13 05:04:34 desmin88 ask the site owner if he could find you a few people for feedback .and beta testing Oct 13 05:04:46 in which case, this isn't really a problem Oct 13 05:05:08 g00s: i can certainly do that. Oct 13 05:12:39 Pls gradle. Already added when trying to install a library Oct 13 05:16:25 desmin88, what? Oct 13 05:16:39 Q48VW: had a small issue where gradle wouldnt let me ' Oct 13 05:16:41 Q48VW what ? Oct 13 05:16:44 'gradlew install' Oct 13 05:16:49 what is gradle Oct 13 05:17:33 srs Oct 13 05:20:04 desmin88, yeah Oct 13 05:20:06 what is it Oct 13 05:20:26 build automation system Oct 13 05:20:33 interesting fact Oct 13 05:21:00 nvm Oct 13 05:21:03 fact is not interesting Oct 13 05:23:04 desmin88, <3 Oct 13 05:30:34 gosh i am so terrible with xml ui design Oct 13 05:53:24 g00s: isnt it pretty? http://gyazo.com/3058028bd2ea6484ffe36641f0bbe91f :'( Oct 13 05:53:49 no :( Oct 13 05:54:28 i just Oct 13 05:54:28 ugh Oct 13 05:54:32 im terrible at this Oct 13 05:54:41 :P Oct 13 05:56:40 how do people size the icons just right Oct 13 05:56:46 desmin88: what are you trying to do here? Oct 13 05:56:54 a bible study group? Oct 13 05:56:57 no Oct 13 05:58:17 so? Oct 13 05:58:21 let me make an amazing mspaint representation Oct 13 05:59:24 hmmm Oct 13 05:59:29 asciiflow Oct 13 05:59:39 the words amazing and MSpaint don't go together Oct 13 05:59:49 I'm starting to fear you Oct 13 06:00:42 MASTERPIECE: http://gyazo.com/7cc9457f6b8feadebd762564a71cb39d Oct 13 06:01:35 you get a general idea Oct 13 06:01:40 its a simple card Oct 13 06:01:54 but only if you're good with xml ui design, which i am not. Oct 13 06:01:56 the star means favorite Oct 13 06:01:59 yes Oct 13 06:02:11 oh, share icon under Oct 13 06:02:13 yes Oct 13 06:02:18 has nothing to do with being good with xml ui design Oct 13 06:02:22 m, lots of noise Oct 13 06:02:27 just put it in the menu Oct 13 06:02:33 if you have a design, it's pretty easy to make it look like the design Oct 13 06:03:42 I'm with g00s, put the share in the menu Oct 13 06:04:03 and move the star a bit inward Oct 13 06:04:20 they all need to be aligned to the center Oct 13 06:04:40 maybe put the star on the far left and the menu in the far right Oct 13 06:06:06 ok Oct 13 06:06:10 share can go in menu' Oct 13 06:06:28 how big is this card going to be? Oct 13 06:06:33 1 sec Oct 13 06:06:59 thepoosh: around this size: http://gyazo.com/71aaf9e124269420ccf1c2c6c7005546 Oct 13 06:07:17 ok Oct 13 06:07:44 do you can definitely fit in the star and the menu on one side Oct 13 06:07:50 yeah Oct 13 06:07:56 and it'll totally kill the card to use both sides Oct 13 06:08:01 yes Oct 13 06:08:29 you should add marquee at the end of the subtitles Oct 13 06:08:56 they're gonna give out tablets in church? Oct 13 06:08:59 :P Oct 13 06:09:07 idk Oct 13 06:09:17 would you say relativelayout or linear for this one? Oct 13 06:09:37 atm im using linearlayout Oct 13 06:12:35 nvm dont answer that Oct 13 06:12:36 thats too much Oct 13 06:16:10 http://gyazo.com/0e79c3899980765c771bea23f8ffbe27 progress at least.. Oct 13 06:24:11 urggh Oct 13 06:24:47 desmin88 ditch the lines ! Oct 13 06:29:05 i want to ditch it all :/ Oct 13 06:29:27 desmin88 did you do wireframes? Oct 13 06:30:22 no Oct 13 06:31:14 focus on that first ;) Oct 13 06:40:28 JakeWharton: You there? Oct 13 06:46:53 gavilan2: you there? Oct 13 06:57:04 xml ui design is just not cool man. Oct 13 06:57:31 yeah command line is king Oct 13 07:07:50 pragma-: yes, sir! Oct 13 07:11:04 kk just gonna hire somebody to do ui design for me Oct 13 07:11:24 gavilan2: darn. well, I'll try again later then. Thanks anyway. Oct 13 07:12:04 pragma-: what? Oct 13 08:33:55 <^cheeky> pretty quiet Oct 13 08:34:03 <^cheeky> everyone partying !!!! Oct 13 08:37:13 * capella wrestling with Robotium Oct 13 08:38:05 <^cheeky> ohh !! Oct 13 08:38:36 <^cheeky> i need to wrestle with that .. .perhaps in the next millennia with awsome N00b skillz i have Oct 13 08:38:46 <^cheeky> thank you !!!! capella 4 telling me Oct 13 08:42:02 <^cheeky> that is freaking awsome Oct 13 09:18:27 need some help to understand this android code snippets --> https://gist.github.com/anonymous/b73185e5f5c157a87b5b Oct 13 09:25:59 that's java Oct 13 09:26:35 looks like some decompiled app for me Oct 13 09:27:47 <^cheeky> ummm i am gonna save that code, thats new to me and i am slow with completing my stupid, love hate relationshp with the thingy himansudas thank you Oct 13 09:33:03 <^cheeky> i need to go do something else, perhaps, recycle my cache from droid && java Oct 13 09:33:21 I'm playing around with event listeners (onKey) and I keep getting a NullPointerException when I define the UI components in the root of the Activity, right after the class name. Something like `private TextView message = (TextView) findViewById(R.id.message);`. Oct 13 09:33:27 Why is this the case? Oct 13 09:40:42 because setContentView hasn't been called Oct 13 09:40:50 therefore all findViewById's return null Oct 13 09:41:21 JakeWharton: Got it, thanks Oct 13 09:42:16 How would I add an event listener that is triggered whenever a TextView is edited? Oct 13 09:43:05 textview isn't editable Oct 13 09:43:11 are you sure you don't mean EditText? Oct 13 09:44:14 Mavrik: Sorry, yes Oct 13 09:44:34 well Oct 13 09:44:40 if you check the doc Oct 13 09:44:52 you'll find that there's a suspiciously named method called addTextChangedListener. Oct 13 09:45:08 OK, thanks Oct 13 09:45:17 Still new to Android :p Oct 13 10:00:32 hello Oct 13 10:03:28 please help me on this http://stackoverflow.com/questions/19343518/edittext-backgroud-streches-to-fill-the-entire-area Oct 13 10:03:37 I really can use some help with copying a bitmap to the clipboard, anyone knows how to do this? (like the internal webbrowser can do: long click> copy)) Oct 13 10:29:44 I really can use some help with copying a bitmap to the clipboard, anyone knows how to do this? Oct 13 10:33:29 help needed plz http://stackoverflow.com/questions/19343518/edittext-backgroud-streches-to-fill-the-entire-area Oct 13 10:49:39 hi, question: is there some framework i could create programmatic UI more easily compared to the SDK ? Oct 13 10:50:57 maybe like HTML5-canvas , no tabbed-layout and all that stuff Oct 13 10:54:18 easy and difficult are subjective terms Oct 13 10:54:57 in other words: something where i dont have to learn all that Android related stuff like components, and XML - maybe just map a method to a rectangle in a canvas Oct 13 10:55:35 you can't ... maybe look at phonegap or something Oct 13 10:58:51 creating UI in eclipse feels like a pain, it doesnt even autocreate the method when doubleclicking on abutton Oct 13 10:59:11 eclipse is a pain :) Oct 13 11:06:15 ktwo, if Android UI is causing you problems, you'll have even more issues getting the rest of the code to work Oct 13 11:06:24 I suggest maybe a career change if that is too hard for you. Oct 13 11:07:39 nah, im not doing it for career, i work in JavaEE environments, ist just that i would like to create an app for personal usage, i have the "backend" code already working, but id like to create the UI programmatically, but i dont want to learn all that stuff like LinearLayout etc Oct 13 11:08:19 well. Oct 13 11:08:45 if you want UI you need to learn how to do UI Oct 13 11:09:03 it's not rocket science and it's about as easy as it can get. Oct 13 11:09:07 hehe, well i just asked if there is some other way. For instance OpenGL would be one - but i think its an overkill Oct 13 11:09:16 don't use Eclipse GUI editor though since you'll have huge problems Oct 13 11:09:30 is there a way to determine if a device has SMS sending capabilities? Oct 13 11:10:19 thepoosh: it's in the permissions of the app Oct 13 11:10:53 no no no Oct 13 11:11:06 if you don't set the feature to be forced you can't Oct 13 11:11:22 android:name="android.hardware.telephony" Oct 13 11:11:22 android:required="false" /> Oct 13 11:11:31 if it's not required you can't know Oct 13 11:51:05 is it possible to create an AVD with a combined bar (i.e., system + navigation bar combined in a single bar at the bottom)? Oct 13 11:59:20 EPG: if you mean for 4.2 or 4.3 no Oct 13 12:00:13 veeti, thanks, do you know about 4.1? Why doesn't it work on 4.2/4.3? Oct 13 12:00:23 because it was removed Oct 13 12:00:27 every device has two bars now Oct 13 12:00:34 4.1 will use the joined configuration for 10 inch tablets Oct 13 12:16:19 where would I find the latest version of com.google.android.gms:play-services: ?? As of sept 5th 2013 it was 3.2.25 but where can I find out what the latest version is? Oct 13 12:35:02 Im having an android studio problem... Oct 13 12:35:04 http://stackoverflow.com/questions/19345288/android-studio-button-onclick Oct 13 12:35:10 can someone giv eme a hint please Oct 13 12:36:13 hi I'm trying to call setTheme on an activity to set it to Theme.Translucent.NoTitleBar. I'm getting no title bar, but the activity background is black. Has anyone run into this? Oct 13 12:36:38 or is there any way to ensure that an activity in a library project gets a particular theme? I don't want to rely on users having to set it in their Manifest Oct 13 12:43:28 Got a problem: http://goo.gl/cOJxpB Oct 13 12:52:31 hello, Spanned content = Html.fromHtml("aaabbbcccd"); will create 3 spans aaa,bbb,d ; c is being skipped since it's not in an HTML tag, i need a way to get all the section, aaa,bbb,ccc,d how can i break it down? Oct 13 12:52:47 do you know Oct 13 12:52:47 sections* Oct 13 12:53:03 do I have to code an actual VPN server for an implementation of VpnService to work? Oct 13 12:54:03 and that would probably require root Oct 13 13:00:41 IrishGringo: android:onClick="" that's nonsense Oct 13 13:01:19 osxorgate: yea... but it keeps reseting to unset Oct 13 13:01:24 IrishGringo: android:onClick refers to the name of a method. Either do that, or do .setOnClickListener() in your onCreate() Oct 13 13:01:28 but I figuured out a little trick Oct 13 13:01:37 just a couple second ago Oct 13 13:01:46 i'd not set the handler in xml, but in code Oct 13 13:02:47 there is an option to "Associate with Main Activity" Oct 13 13:02:57 and now I can add a handler name Oct 13 13:03:03 in the onCLick event Oct 13 13:03:34 I am an iPHONE developer,,... and I like adding my onClick handlers to the object.. not code... Oct 13 13:05:23 Graddle error: cannot find symbol class View Oct 13 13:05:55 I thknk I need to Import VIew... but its not automatically doing that... Oct 13 13:06:07 what is the keystroke to use on Android Studio? Oct 13 13:09:19 is there anyone who would know to answer my VpnService question? :( Oct 13 13:11:47 you're asking if you can write a VpnService without a VPN server? Oct 13 13:14:11 yes Oct 13 13:14:37 one that would simply direct data to the internet Oct 13 13:14:42 on-device Oct 13 13:14:54 for monitoring purposes Oct 13 13:14:55 Leeds: Oct 13 13:14:57 ^ Oct 13 13:16:18 I apologize for the consecutive messages, I'll try to be more aware of it (line of thought being interrupted repeatedly by environment) Oct 13 13:16:57 hmm... okay, that's a vaguely interesting idea Oct 13 13:21:12 Hey guys is there anywhere or anyone that might be able to help me with appinventor ? rather quick and hopefully easy question for someone that knows Oct 13 13:26:05 I just want to know if its possible to check/ hook the charging event Oct 13 14:02:46 i'm completely new to java, and I have to fix the error in this line: Oct 13 14:02:49 label262: FileOutputStream localFileOutputStream = new FileOutputStream(paramFile); Oct 13 14:03:12 the errors i get are not a statement and ';' expected Oct 13 14:03:28 any help would be very much appreciated Oct 13 14:06:27 Hi, does anyone have an idea for an app that uses opendata and geolocation? Oct 13 14:07:02 lunarjar: is this a programming question? Oct 13 14:07:39 thepoosh, it will be Oct 13 14:08:52 well, when it is a programming question come back here Oct 13 14:10:35 thepoosh, does my question belong here, or should i ask somewhere else? Oct 13 14:11:11 fefifofum: I'm not a moderator, but from what I see, you should be adding some code Oct 13 14:11:29 try paste.org Oct 13 14:11:33 *pastie.org Oct 13 14:12:38 yes, from what i see syntax is wrong, but i don't know how to fix it Oct 13 14:12:53 and people cant help you unless you show the code Oct 13 14:13:53 fefifofum: is this a runtime bug or a compelling issue? Oct 13 14:15:28 [A3G1S]: DUDE!!! Oct 13 14:15:35 haven't seen you in months Oct 13 14:15:45 <[A3G1S]> hi dude Oct 13 14:15:48 sup? Oct 13 14:16:17 <[A3G1S]> drinking beer Oct 13 14:16:25 a compiling issue Oct 13 14:16:41 <[A3G1S]> its festive season in india Oct 13 14:16:46 <[A3G1S]> hbu thepoosh Oct 13 14:16:54 <[A3G1S]> hwz things at ur end ? Oct 13 14:17:06 here is the code: https://github.com/fefifofum/android_packages_apps_Settings/blob/cm-10.1/src/com/android/settings/HdmiScreenZoomPreference.java#L192 Oct 13 14:17:40 <[A3G1S]> fefifofum error ? Oct 13 14:18:06 "not a statement" and ';' expected Oct 13 14:18:52 [A3G1S]: things are hairy here Oct 13 14:19:04 <[A3G1S]> hairy Oct 13 14:19:06 we're trying to close round A and the iOS client is having issues Oct 13 14:19:17 Im just trying this Andriod Studio :| Oct 13 14:19:21 see em fun Oct 13 14:19:40 <[A3G1S]> thepoosh iOS is nice... Oct 13 14:19:44 from what I read it sucks balls Oct 13 14:19:50 I don't do iOS Oct 13 14:19:51 <[A3G1S]> well Oct 13 14:19:55 pure Android guy Oct 13 14:19:59 <[A3G1S]> haha Oct 13 14:20:09 * [A3G1S] is Android + iOS Oct 13 14:20:12 <[A3G1S]> guy Oct 13 14:20:15 <[A3G1S]> ;) Oct 13 14:20:32 * thepoosh is condescendingly saying pffft Oct 13 14:20:44 <[A3G1S]> rite now I am working on a project which doesn't have any UI Oct 13 14:20:49 <[A3G1S]> Android project Oct 13 14:20:50 <[A3G1S]> :P Oct 13 14:21:06 fun Oct 13 14:21:12 just a background service? Oct 13 14:21:17 <[A3G1S]> yes Oct 13 14:21:23 <[A3G1S]> broadcast receivers Oct 13 14:21:27 <[A3G1S]> and some awesome stuff Oct 13 14:21:35 ??? Oct 13 14:21:49 <[A3G1S]> using Android privilege API Oct 13 14:22:06 <[A3G1S]> client has its own ROM Oct 13 14:22:49 ooooohh Oct 13 14:23:16 <[A3G1S]> thats once in a lifetime experience Oct 13 14:23:56 cool client. Oct 13 14:24:18 [A3G1S]: is this going to be an embedded system? Oct 13 14:25:23 <[A3G1S]> thepoosh Oct 13 14:25:41 <[A3G1S]> u just need to add coreApp=true in manifest Oct 13 14:25:41 ? Oct 13 14:25:55 <[A3G1S]> and sign the app with ROM certs Oct 13 14:26:04 <[A3G1S]> and w00t u can do almost everything Oct 13 14:26:07 <[A3G1S]> without any hacks Oct 13 14:26:40 <[A3G1S]> screenshots/logs/restart Oct 13 14:27:10 hmmm Oct 13 14:52:59 I have a custom view, in the onDraw() call i use canvas.drawText() a few times, the text almost never change so there isn't a need to recreate it every onDraw(). how can i make it once, and then just replicate the bits into the canvas? Oct 13 15:26:29 do android phones have chip other than Qualcomm MSM ? ? Oct 13 15:26:54 yup, quite a few different chips out there Oct 13 15:27:05 I would like to know about sibling variant of msm_pcm_out/in Oct 13 15:27:39 do you know about some starting up point/site where I can look for this sort of HW info ?? Oct 13 15:28:09 Looney: SoC datasheets Oct 13 15:28:27 find SoC used by the phone, find its datasheet Oct 13 15:28:39 SoC as system on chip ? Oct 13 15:28:43 yes Oct 13 15:29:04 darn, I curse the day I started engineering :'( Oct 13 15:29:24 never missed any of this and similar TLAs :-P Oct 13 15:30:03 common difference, at least on older devices, is that Qualcomms usually had modem integrated with the application processor on one die, leading to some more direct interfaces, while on older devices you'd often have real or simulated serial port(s) + I2C lines for audio Oct 13 15:31:12 ok, I know that Google has some demographics of the people using OS version Oct 13 15:31:26 does there exist some for hardware Oct 13 15:31:34 afaik no Oct 13 15:31:52 or rather, not from google. There are some sites that try to aggregate that data, though Oct 13 15:32:05 I would like to know that which segment of phone is likely to buy apps from app store Oct 13 15:32:58 and yes, is there some section on app store which lets you tell people that this app is for rooted phones only Oct 13 15:33:31 what are you actually trying to achieve? Oct 13 15:34:04 world domination, like any normal sane person :-D Oct 13 15:34:22 good shitty answer Oct 13 15:34:35 well, I am trying to make an audio app Oct 13 15:34:49 well I was trying to be funny Oct 13 15:34:58 Looney. Forget phone type Oct 13 15:35:05 Android version is what you need Oct 13 15:35:14 2.3 and above Oct 13 15:35:22 but coding and caffeine has messed up your 6th sense Leeds Oct 13 15:35:22 you hit 90% of users Oct 13 15:35:37 yeah, thanks DarkSlay3r Oct 13 15:35:44 I knew this before hand Oct 13 15:35:52 it's Sunday night, I'm chilled out and gently trolling Oct 13 15:36:18 well, then if trolling it is, then I am fine Oct 13 15:36:33 also, reading about US politics and conspiracy nuts - is there a difference now? - and loling... but that's off-topic Oct 13 15:36:42 else mods would have banned us :-P Oct 13 15:36:57 nah, trolling is fine Oct 13 15:38:27 meh, these channels barely have mods nowadays Oct 13 15:48:58 does anyone here has nexus 4 Oct 13 15:49:36 can he confirm that there exists msm_pcm_out ? ? Oct 13 15:53:03 Looney: /dev/msm_pcm_out: No such file or directory Oct 13 15:53:20 I get that on `ls /dev/msm_pcm_out` so I am going to say it's not there. :) Oct 13 15:53:35 hmm Oct 13 15:53:45 I think that you need to cd in /dev/snd Oct 13 15:53:48 and then ls Oct 13 15:53:53 a nexus 4 with pa but I don't think that the rom will change anything. Oct 13 15:54:01 oh, /dev/snd ? Oct 13 15:54:43 hmm, /dev/snd/ doesn't have anything with the msm_ prefix whatsoever. Oct 13 15:56:38 ran `find / -name '*msm_pcm_out*'` and it did not output any found files. Oct 13 15:56:41 what do you have, if you do not mind sharing Oct 13 15:57:09 what does ls inside /dev/snd/ show Oct 13 15:57:17 what do you mean? Oct 13 15:57:30 cd /dev/snd && ls Oct 13 15:58:24 controlC0, multiple files called "pcmC0D" and timer Oct 13 15:58:57 the multiple files are for example pcmC0D4p and pcmC0D8c and others. Oct 13 15:59:12 hmm Oct 13 15:59:37 the integer isn't always in the range from 0 to 10 (excluding). it can also be for example pcmC0D13p Oct 13 15:59:51 and the letter is always c or p. Oct 13 15:59:57 does that help? Oct 13 16:00:15 * sigv has no idea what you are doing Oct 13 16:00:43 Hi everybody! I would like to know the best to way to share a Bluetooth Socket between Activities. I create the Bluetooth Socket in the Main Activity, but I need to use it in a second Acitivity. Any suggestion? Oct 13 16:00:55 it does, thanks for help and patience sigv Oct 13 16:01:01 s/best to way/best way Oct 13 16:01:06 I owe you one ;-) Oct 13 16:01:24 Thales: some kind of singleton? Oct 13 16:01:32 Looney: heh, no problem. what are you working on? Oct 13 16:01:43 some audio cracking Oct 13 16:03:23 sounds nice. why you working on that for a device you don't have? or is this just some bug report? Oct 13 16:03:52 ok, I will assume that Google Nexus is widely used phone in US Oct 13 16:04:13 sigv, Yes... I have a Bluetooth communication with another device and I would like to create a Bluetooth Socket in my Android Application once a time and then share it with another Acitivities . Oct 13 16:04:16 uhm, if you want widely used, I think Samsung phones are the best. Oct 13 16:04:41 Samsung, thats a shame Oct 13 16:04:45 HTC rox Oct 13 16:04:57 they let you unlock the bootloader even Oct 13 16:05:01 as I have heard, in the US, they don't buy phones off-contract that often. they go for the "cheap" ones for which you don't pay much when receiving. Oct 13 16:05:23 hmm, Samsung it is Oct 13 16:05:28 that's at least what I've heard. you could ask around in #android about popularity maybe or something. Oct 13 16:06:01 Thales: google singleton. Oct 13 16:07:36 Thales: don't know about Android standards but I would just throw in what I want to keep the same (with no need of making a new) as a singleton. Oct 13 16:10:08 sigv, At this moment, I have a class called Bluetooth which implements Serializable. Then I'm passing a instance of Bluetooth that I created in the main acitivity to the others by using Intent.putExtra Oct 13 16:10:32 sigv, do you think it works? Oct 13 16:10:53 Thales: well, that works. Oct 13 16:10:55 you cannot do that Oct 13 16:11:06 intent extras are copies Oct 13 16:11:08 pfn: why not? Oct 13 16:11:12 you probably want to store it in the Application Oct 13 16:11:20 ah, okay. Oct 13 16:11:27 unless, if you're fine with a copy Oct 13 16:12:09 to know is something works, the second best way is to try it out. Oct 13 16:12:28 (the best being finding appropriate docs for the regarding version) Oct 13 16:15:36 has anyone ever encountered a strictmode violation for inflating a map view? Oct 13 16:18:24 Leeds, pfn do you have any suggestions to solve that problem? Oct 13 16:19:38 Thales: Leeds suggested storing it in an Application class. Oct 13 16:20:11 sigv, I already do that, but I got error Oct 13 16:20:21 what error> Oct 13 16:20:27 and with our telepathy, we can solve that error Oct 13 16:20:32 brains tuned to Thales, chaps... Oct 13 16:20:49 no, NO, not that much, we'll melt his mind! Oct 13 16:21:14 Thales: show code, show error, show traceback Oct 13 16:21:20 sigv, I retrieve it using getApplicationContext right? Oct 13 16:21:30 Leeds, take it easy :) Oct 13 16:21:49 * sigv wonders if rtfd exists... Oct 13 16:22:00 replacing manual with docs... Oct 13 16:22:11 rtfm serves just fine Oct 13 16:22:17 suppose so. Oct 13 16:22:29 Thales: what do the docs tell you getApplicationContext returns? Oct 13 16:24:58 hm Oct 13 16:25:12 JakeWharton: You there? Oct 13 16:27:30 Thales: well, the application's Context is returned. I would suggest using getApplication(). in your Application class you will also need to specify a getter and a setter (or just a public variable, if you don't care about initialization when getting the variable if it hasn't been done). Oct 13 16:28:10 if anyone has any better suggestions, go at it. I am off for now. Oct 13 16:28:22 sigv, okay, thank you for your valuable help. I'm going go test it :) Oct 13 16:29:12 oh, and a simple getApplication() will return your Application instance so you will also need to get the variable / call the getter function, Oct 13 16:29:26 * sigv is really away now Oct 13 16:30:43 stupid map fragment, causing all these strictmode violations Oct 13 16:32:16 even xda people do not have any hardware sheets of phones mentioning chipset :-( Oct 13 16:32:54 probably because it requires warranty voiding Oct 13 16:38:21 Code like a real man and make all your variables public Oct 13 16:38:49 DarkSlay3r: seriously Oct 13 16:39:24 I try to make people whom I teach/preach to make class variables private Oct 13 16:40:33 Real men don't need constructors Oct 13 16:41:13 Looney: i am bored, so i am giving bad advice Oct 13 16:41:27 real men code in assembly. Oct 13 16:41:44 well said sigv, that was what I was going to say Oct 13 16:42:05 real men code on legal pads Oct 13 16:42:07 mov cl, 0b11001100 Oct 13 16:42:16 heh Oct 13 16:42:21 punch that code. Oct 13 16:42:52 Real men love SVN Oct 13 16:43:24 oh my, now you are going too far. Oct 13 16:43:29 real men make PCB using gates/ICs to get things done :-D Oct 13 16:43:52 (too far with the svn/git comment) Oct 13 16:45:19 sigv: You got a thing agains SVN? Oct 13 16:46:13 svn is for kids who are not sure that they can get their code to some older working state :-P Oct 13 16:46:15 yes, yes I do. Oct 13 16:46:16 dark no, real men code by using hard drive and magnets Oct 13 16:46:34 XXCoder1: butterfly? Oct 13 16:46:58 made the point of designing PCBs already XXCoder1 Oct 13 16:47:10 Real men code with paper and a hand puncher Oct 13 16:47:19 :-P welcome to the healthy discussion nonetheless Oct 13 16:47:22 lol Oct 13 16:47:32 <|0xD34D|> you said "make" not "design" Oct 13 16:48:37 agreed |0xD34D|, XXCoder1 I stand corrected that I said "real men make PCB ..." Oct 13 16:49:00 yeah I was wondering a bit, but decided to let it ride lol Oct 13 16:49:56 so, Sunday evening is getting better of the people in here Oct 13 16:50:12 morning for me lol 9:50 am Oct 13 16:50:44 I wake up at 6 am daily for work, weekends I usually wake 7-7:50 am Oct 13 16:50:51 aha, so east coast I assume Oct 13 16:50:55 nope Oct 13 16:50:57 west Oct 13 16:51:15 should be 12:51 at east coast Oct 13 16:51:26 daylight time saving makes it difficult to guess time Oct 13 16:51:30 I hate it Oct 13 16:51:56 I dont like it either Oct 13 16:52:13 upcoming nov 10 will be "fun" for me. suddenly needing to wake up at "5 am" :( Oct 13 16:52:20 real men don't need a clock Oct 13 16:52:33 shmoooz: you alive dude Oct 13 16:52:37 wassup Oct 13 16:52:37 Looney: what are you working on ? Oct 13 16:52:47 nothing much Oct 13 16:52:57 had a prospective client Oct 13 16:52:59 nice app idea Oct 13 16:53:07 not a copy paste project per se Oct 13 16:53:22 he said that he would only pay once app is working Oct 13 16:53:22 audio player ? Oct 13 16:53:41 and I was not interested in starting work unless I see some money Oct 13 16:53:45 no Oct 13 16:53:51 not audio player Oct 13 16:54:05 that is something devil is coming up in my mind Oct 13 16:54:38 its like a half cooked idea Oct 13 16:54:47 oh brother Oct 13 16:54:59 sounds like year worth of ever-changing app requirements Oct 13 16:55:05 I'd stay the hell out Oct 13 16:55:32 what came to your mind about real men now XXCoder1 :-P Oct 13 16:55:42 lol Oct 13 16:55:47 so, what are you doing these days shmoooz Oct 13 16:55:52 working on something Oct 13 16:55:57 nothing Oct 13 16:56:15 I want to make my video player play audio as well Oct 13 16:56:22 and how is your site going Oct 13 16:56:28 it is quite possible Oct 13 16:56:37 learned that you can use vitamio Oct 13 16:56:42 will MediaPlayer be enough or do I have to find some linux libraries and compile in native Oct 13 16:57:12 well if you are using the codecs android support then VideoView is what you need Oct 13 16:57:14 yeah but vitamio just uses ffmpeg and you have to install vitamio separately Oct 13 16:57:45 tell me that you are interested in codecs which android support, yes or no answer ? ? Oct 13 16:57:46 so everytime you want them to install your app, you have to tell them to go install vitamio first Oct 13 16:57:58 no Oct 13 16:58:08 but you did not answer my question Oct 13 16:58:15 maaaybe yes, maaaybe no , I guess we'll never know Oct 13 16:58:24 couldnt you amke your app check if presence of vitamio and let user know? Oct 13 16:58:43 XXCoder1: in most cases it won't already exist Oct 13 16:58:45 why would you use vitamio Oct 13 16:58:55 you can use vitamio as library project Oct 13 16:58:55 when you have a perfectly fine hardware video decoder on the device Oct 13 16:59:11 Mavrik: that's not true Oct 13 16:59:21 he want to play codecs not supported by Android Mavrik Oct 13 16:59:24 Mavrik: you need ffmpeg to support the wide range of formats Oct 13 16:59:42 Looney, hard to figure out with that dialog :P Oct 13 16:59:48 so, you can have vitamio as library Oct 13 17:00:05 that's mostly not worth it, vitamio is terrible when it comes to performance and quality Oct 13 17:00:06 vitamio is just ffmpeg Oct 13 17:00:12 and you can use in code the player with a lot of goodies Oct 13 17:00:23 ok Oct 13 17:01:03 go on, what else would you suggest Mavrik Oct 13 17:01:09 hopefully Google get's their shit together with MediaCodec so we can get rid of those libs Oct 13 17:02:15 we can all cross our fingers on this one Mavrik Oct 13 17:02:36 Whats the easiest IDE to use coming from someone that codes c# ? Oct 13 17:02:45 maybe eclipse Oct 13 17:02:46 For android development? Oct 13 17:02:51 yeah Oct 13 17:02:52 I always use eclipse Oct 13 17:02:54 No reason not to Oct 13 17:03:10 I tried eclipse Im finding it really hard to grasp Oct 13 17:03:11 Jimmy06, try both, choose the one that fits you well Oct 13 17:03:16 doesn't Visual Studio do android yet ? Oct 13 17:03:17 if an IDE is "hard" for you Oct 13 17:03:25 you might reconsider developing for Android ;) Oct 13 17:03:28 :P Oct 13 17:03:42 for java there's nothing that comes close unless you are one of those people who like using really simple text editors Oct 13 17:03:46 its not the IDE its just writing in java :P Oct 13 17:03:47 and then compiling in the terminal Oct 13 17:03:56 tbgconnor: I prefer IDEAJ over eclipse Oct 13 17:03:58 *cough* IDEA *cough* Oct 13 17:04:20 gavilan2: *googling that* Oct 13 17:04:33 oh that looks sick! Oct 13 17:04:35 lol Oct 13 17:04:36 well Oct 13 17:04:43 wow Oct 13 17:05:21 That's impressive, too bad it's not free. Looks sick Oct 13 17:05:33 er Oct 13 17:05:34 it is free Oct 13 17:05:34 I tried one that allowed me to code in basically C# Oct 13 17:05:41 that worked well Oct 13 17:05:43 :P Oct 13 17:05:49 ew mono Oct 13 17:05:58 tbgconnor, IDEA Community is free, Android Studio (Google's IDEA fork) is free as well. Oct 13 17:06:18 thats what im trying now Android studio Oct 13 17:06:29 then what's this? http://www.jetbrains.com/idea/buy/index.jsp Oct 13 17:06:40 Oh, free for open source. Oct 13 17:07:11 tbgconnor, not Ultimate. Oct 13 17:07:14 Community Edition. Oct 13 17:08:05 Oh. Just found the community edition page. Sorry for the confusion... *downloads Oct 13 17:08:23 :) Oct 13 17:08:32 The part i didnt get was how to store settings. I'm sure I'll get it one year :P Oct 13 17:09:10 Store what settings? Oct 13 17:09:26 just ones that I define Oct 13 17:09:37 strings i suppose would be better Oct 13 17:09:52 just store strings between launches Oct 13 17:09:56 OH Oct 13 17:10:09 http://developer.android.com/training/basics/data-storage/index.html Oct 13 17:10:11 darn Oppo Find 5 is like 500 USD :-o Oct 13 17:10:39 Nexus 5 and KitKat is tomorrow ??? Oct 13 17:10:44 nah tuesday Oct 13 17:10:48 and yes, it is only 16 GB Oct 13 17:11:01 seriously??? They really want to get us using their cloud crap Oct 13 17:11:14 there's no 32 or 64GB ? Oct 13 17:11:16 I had a Nexus S, it was 16 GB Oct 13 17:11:18 shmoooz: where was that announced? :o Oct 13 17:11:27 And now i have an N4, IT IS STILL ONLY 16 GB Oct 13 17:11:32 * sigv has missed out on something! Oct 13 17:11:36 32 GB Find 5 is 569 USD Oct 13 17:11:41 I saw various news that the release date was on the 14th Oct 13 17:11:50 I am happy with my 46gb n4. Oct 13 17:11:52 16gb* Oct 13 17:11:54 lol Oct 13 17:11:55 d'oh. Oct 13 17:12:10 sigv: It is just about everybody's consensus that it'll be released on Tuesday Oct 13 17:12:17 There's going to be some sort of dev conference Oct 13 17:12:32 and people are pretty sure they'll release a new nexus phone, and a new Asus nexus 10 Oct 13 17:12:32 except for the people who say it's going to be at the end of the month, although it was originally aimed at the 14th Oct 13 17:12:39 tbgconnor: okay. nice to know. Oct 13 17:12:55 Yeah it was supposed to be tomorrow but everyone's now saying it's just the day after. We'll see I suppose. Oct 13 17:12:58 and the people who think they'll pull a surprise 360 and announce KLP Oct 13 17:13:17 and the people who think this will be the grand union between ChromeOS and Android Oct 13 17:13:20 ^^ I'm pretty sure kit kat is what's sticking Oct 13 17:13:22 hehe Oct 13 17:13:32 I'm hoping there'll be a union. I want an android chromebook Oct 13 17:13:33 see, I can make up rumours as well as anyone else Oct 13 17:13:45 http://www.oppomart.com/oppo-phones/oppo-find-5-16gb-white.html Oct 13 17:13:45 drop the deal with kitkat :) Oct 13 17:13:55 lol screw Nestle Oct 13 17:13:56 I just keep refreshing The Verge, personally Oct 13 17:13:59 I mean 13 MP rear camera Oct 13 17:14:24 Looney: is that MIUI? Oct 13 17:14:27 nah Oct 13 17:14:28 I heard they're going to dumb that down to 8MP Oct 13 17:14:33 it is oppo Oct 13 17:14:50 OH right it's the cm10 phone right? Oct 13 17:14:54 I think I heard about that Oct 13 17:14:56 just check out the specs Oct 13 17:15:04 well you can use CM10 on it Oct 13 17:15:13 what specs? LG2 ? Oct 13 17:15:33 5" 1080p display Oct 13 17:15:35 Looks great, but I don't like the hardware buttons on the front Oct 13 17:15:39 Find 5 by oppo Oct 13 17:15:43 and It's probably plastic Oct 13 17:16:01 kind of overpriced when you could just get the htc one Oct 13 17:16:11 darn, I thought they are software ones Oct 13 17:16:24 One Max due to be announced this week as well, apparently - and right here in Hong Kong! Oct 13 17:16:43 Leeds: "right here"? ;) Oct 13 17:16:44 yay. does max just mean a bigger battery? Oct 13 17:16:52 sigv: as opposed to right now? Oct 13 17:16:54 which "one" tbgconnor ? ? Oct 13 17:17:10 lol. The "HTC One" Oct 13 17:17:11 Leeds: Hong Kong isn't really right here. Oct 13 17:17:15 tbgconnor: no, bigger screen (and fingerprint sensor on the back), according too all rumours, leaked sales flyers, etc. Oct 13 17:17:17 :P Oct 13 17:17:20 sigv: it certainly is right here Oct 13 17:17:26 lmgtfy http://www.htc.com/www/smartphones/htc-one/ Oct 13 17:17:39 Leeds: it's not even in Europe! Oct 13 17:17:40 I could take a picture out the window, but it's dark and the camera on my One is screwed Oct 13 17:17:40 Leeds, are you from Leeds? Oct 13 17:17:45 tbgconnor: yes Oct 13 17:17:48 there are variants of HTC One Oct 13 17:17:50 Cool. Oct 13 17:17:51 x, s Oct 13 17:17:55 haha Oct 13 17:17:55 x+ Oct 13 17:18:16 Looney: no... the X/S/V/etc. were last year's models - this year there's the One, One Mini and almost-released One Max Oct 13 17:18:19 HTC One XP Home Oct 13 17:18:50 ok, I have to admit that I am not much updated when it comes to hardware/phone Oct 13 17:18:54 to be honest Oct 13 17:18:59 I own a Wildfire Oct 13 17:19:03 as well as the Butterfly S, which is similar innards but plastic casing Oct 13 17:19:11 and no, I am not from stone age Oct 13 17:19:22 would there be any issue to setting publicly accessible static variables on my Service so i can access them from my Activity? Oct 13 17:19:27 you are if you've got an original wildfire... that was a terrible phone Oct 13 17:20:29 well it is not original, if you consider that its rooted Oct 13 17:20:50 no, I mean wildfire as opposed to wildfire S which succeeded it Oct 13 17:20:56 I still love my htc MyTouch4G clone Oct 13 17:21:02 ok Oct 13 17:21:28 there is not much shape difference between the two, I think Oct 13 17:22:05 the UI on the oppo find 5 looks horrible Oct 13 17:22:26 you can flash CM Oct 13 17:22:36 if you do not like the default/custom Oct 13 17:22:56 and even google liked cm ui Oct 13 17:24:55 google will regret not buying them out Oct 13 17:26:15 sure they would Oct 13 17:31:44 http://pastebin.com/trW1gPNF http://imgur.com/qmkyKpZ Guys, Im working on a list view, but there`s this padding that is showing up and I have no idea why. Can anyone help me on this? Oct 13 17:32:53 so, this HTC One is the one with UltraPixel technology Oct 13 17:33:34 my colleague would always tell me about HTC phone with lesser pixel camera with superior picture quality Oct 13 17:34:34 <|0xD34D|> SidGBF: take a look at the layout using hierarchy viewer in ddms Oct 13 17:34:52 <|0xD34D|> it may give you a better idea of what is going on in your layout. Oct 13 17:35:13 SidGBF: that's not the default font, is it? what font are you using? Oct 13 17:36:30 seand: Well, It should be the default... I don't remember changing it... but Im running on 2.2/2.3 Oct 13 17:36:51 oh Oct 13 17:37:35 <-- pro android guy. Anyone hiring? Oct 13 17:37:36 <|0xD34D|> in that case scratch using hierarchy viewer Oct 13 17:37:51 <|0xD34D|> pro, lol Oct 13 17:38:30 I know someone Oct 13 17:38:38 who will pay good Oct 13 17:38:49 but only when app is complete Oct 13 17:39:05 you CSer or Engineer CocoStorm ? ? Oct 13 17:39:38 Looney, CSer :) Oct 13 17:39:58 well you won't be able to do the task then perhaps Oct 13 17:40:31 lol, you know someone who will only pay when the app is complete? Oct 13 17:41:05 yeah, I said I can send you the design document Oct 13 17:41:15 and pay me for the design phase Oct 13 17:41:19 You sure he wont do a runner? Oct 13 17:41:28 coding won't be my headache Oct 13 17:41:44 i doubt that guy will find a coder Oct 13 17:41:46 had I been sure, I would have offered my services CocoStorm Oct 13 17:42:07 thats why I said that he agreed on a decent price tag Oct 13 17:42:19 but said that there is no advance Oct 13 17:42:26 Ah I see Oct 13 17:42:38 and no I am not colour blind to ignore red flag Oct 13 17:44:03 does anyone know how gmail implements the progress bar during sync? Oct 13 17:46:34 its just me or I only see very badly paid dev jobs to do online? Oct 13 17:48:08 its a cruel world for devs DwordKnight Oct 13 17:48:58 you may have read about my interaction with a prospective client Oct 13 17:49:10 your best bet is making vaporware that threatens rich companies apps, and then sell it to them Oct 13 17:49:35 yup it made me think about what I'm seeing Oct 13 17:50:42 i don't think i'd ever try to take up android dev professionally Oct 13 17:50:55 it's fun as a hobby Oct 13 17:51:30 you better not, I would love to have minimum competition :-P Oct 13 17:52:12 first to market can be powerful thing Oct 13 17:53:55 it certainly is XXCoder1 Oct 13 17:54:36 xd thats about 7 years late for android Oct 13 17:55:19 well it is harder but you can overcome first to market Oct 13 17:55:25 android did it Oct 13 17:55:30 apple did it too Oct 13 17:55:34 I enjoy programming android, but for online freelancing i see it sucks,although I prefer to be paid while I code lol Oct 13 17:55:55 who doesn't like being paid Oct 13 17:56:06 even the escorts love it Oct 13 17:56:12 * sigv notices someone in the audience raising a hand Oct 13 17:58:27 Money is the root of all evil Oct 13 17:58:32 Unless it's google Oct 13 17:59:41 if I recall, its desire of money thats root of all evil Oct 13 17:59:42 and so is admob Oct 13 17:59:50 not money Oct 13 18:00:14 XXCoder1: No no no apple has all the money Oct 13 18:00:21 and they are clearly evil Oct 13 18:00:40 lol Oct 13 18:00:54 XXCoder1 I'd say its Greed Oct 13 18:01:14 Ok... once and for all Oct 13 18:01:40 Money, desire for money, and apple are the root of all evil Oct 13 18:01:50 did i mention apple? don't forget apple Oct 13 18:01:51 I can want money, and that has nothing bad with it. I mean I need to eaaaat!! xD Oct 13 18:02:01 I don't buy from companies that have slaves Oct 13 18:02:03 apple do Oct 13 18:02:13 DwordKnight: you can eat anything except apple Oct 13 18:02:20 xDDDD Oct 13 18:02:39 yes, we need to define an amount of money that every person should have and then everyone should give their excess money to me so nobody has to worry about anyone having spare money! Oct 13 18:02:56 DwordKnight: https://dl.dropboxusercontent.com/u/53432577/smiley_faces.png ;) Oct 13 18:03:38 but apple a day keeps me away from Doctor DarkSlay3r Oct 13 18:04:02 I can't wait for our species to evolve past the use of money Oct 13 18:04:10 Too bad i'd be long dead Oct 13 18:05:32 Looney: you should seek a new doctor. I heard DarkSlay3r once slew two patients... Oct 13 18:05:41 it's a dark story, man. Oct 13 18:05:42 hehehe Oct 13 18:05:53 well Oct 13 18:05:59 I can't confirm or deny that Oct 13 18:06:24 maybe we need to find some other fruit to keep Doctor DarkSlay3r at an arms length then ;-) Oct 13 18:06:25 Looney: I suggest Dr. Applecrisp Oct 13 18:06:28 DarkSlay3r: not evolve but invention. there is actually PLENTY of any material we want once we figure how to mine astroids for example. Once nano assemblers exist Oct 13 18:06:44 we can have all crap we want, and can perfectly recycle everything we trash Oct 13 18:06:45 Looney: but he might be on a vacation or something Oct 13 18:07:11 XXCoder1: i want a civilization like in Star Trek Oct 13 18:07:22 DarkSlay3r: you mean communist? ;> Oct 13 18:07:41 More like, money is useless Oct 13 18:07:48 yeah Oct 13 18:07:51 you talk to a wall and get what you need Oct 13 18:07:57 or want Oct 13 18:08:06 wall, make me sandwitch! Oct 13 18:08:26 Wall: yes mister DarkSlay3r Oct 13 18:08:38 * DarkSlay3r now has a sandwich Oct 13 18:08:52 DarkSlay3r: hell no Oct 13 18:09:42 is it possible use action bar in android for an app that has targetSdkVersion="17" but minSdkVersion="10" Oct 13 18:11:04 ruser: Actionbar sherlock Oct 13 18:11:54 DarkSlay3r: and withouht the 3rd party libs? Oct 13 18:11:58 No Oct 13 18:12:01 i saw that stackoverflow Oct 13 18:12:09 unless you make your own Actionbar Oct 13 18:12:20 Manually Oct 13 18:12:22 DarkSlay3r: but docs say if you use android-support-v7-appcompat you should be able to, no? Oct 13 18:13:03 The ActionBar APIs were first added in Android 3.0 (API level 11) but they are also available in the Support Library for compatibility with Android 2.1 (API level 7) and above. Oct 13 18:13:57 seems as though it's possible with it Oct 13 18:14:10 Never tried Oct 13 18:14:18 didn't know it existed until now Oct 13 18:14:37 https://developer.android.com/guide/topics/ui/actionbar.html Oct 13 18:19:16 DarkSlay3r: yeah, i read the page Oct 13 18:20:58 DarkSlay3r: i'm extending the proper v7... but still having some runtime issues. my understanding i have to use Theme.AppCompat.Light for styles up to v11, after that i can use the Holo.... but apparently that brakes if i use a v17 emulator Oct 13 18:22:17 and the bar doesn't show up for the v11 emulator Oct 13 18:23:47 mind you i'm very new to the android dev, just tryigng my first project Oct 13 18:26:57 http://imgur.com/a/hUFuA#0 http://pastebin.com/trW1gPNF |0xD34D| Tried the hierarchy, didn't got any clue. Im wondering if the issue may be some scaling or something... Oct 13 18:29:24 hello. how to calculate the bytes sent and recieved after calling httpURLConnection.connect() ? Oct 13 18:36:43 Anyone had a problem with the compiler not importing the correct class? I import RelativeLayout.LayoutParams, but when I use LayoutParams it uses LinearLayout.LayoutParams for some reasons. There's no mention of LinearLayout at all in this file. What's wrong? Oct 13 18:37:34 Nevermind, found it -_- Oct 13 18:38:17 I'm extending a LinearLayout, so even if I import RelativeLayout.LayoutParams, it still uses the one LinearLayout provides because I extend it. Oct 13 18:39:21 <|0xD34D|> bingo Oct 13 18:40:16 ? Oct 13 18:45:12 http://imgur.com/a/hUFuA#0 http://pastebin.com/trW1gPNF Im having some issues with an imageview aving a width larger than should (it is set to wrap content) Oct 13 18:57:22 SidGBF have you tried messing around with the scale type Oct 13 18:57:25 http://stackoverflow.com/questions/4236568/android-scrollview-adds-extra-padding-on-top-and-bottom-of-child-imageview Oct 13 18:58:10 seand: Yeah, I just found out that the issue was due to the height of the row, causing some scale :) Oct 13 19:04:34 seand: Do you have an idea of the default scale? Oct 13 19:05:31 i don't know what the default is, let me see what i'm using in my project Oct 13 19:05:46 android:scaleType="centerCrop" Oct 13 19:06:49 <|0xD34D|> mScaleType = ScaleType.FIT_CENTER; Oct 13 19:06:57 if the image ratio doesn't match the container it's being used in then you'll have to use some kind of crop, i think Oct 13 19:06:58 <|0xD34D|> that's from initImageView() in ImageView.java Oct 13 19:07:48 |0xD34D|, does that happen before properties from xml are applied? Oct 13 19:07:49 seand: thanks :) Oct 13 19:08:01 <|0xD34D|> yes it is called first in the constructor Oct 13 19:08:11 oh sorry, you were answering his original question about default value Oct 13 19:08:25 <|0xD34D|> correct Oct 13 19:38:15 Hey guys, I'm trying to get a collaborative environment going for my friends and I when developing android apps. Is there a way to ensure that if a project has dependencies, my friends also have them available upon build? Oct 13 19:38:35 I'm currently using Git & Github as a VCS. Oct 13 19:39:28 use a build system that supports dependency management Oct 13 19:39:31 gradle or maven Oct 13 19:43:07 ProfElm: http://www.reddit.com/r/androiddev/comments/1ocvfn/how_to_deal_with_development_dependencies_using/ Oct 13 19:51:29 so i managed to get the v7 to create action control bar... but if i run the emulator the in v14 it creates a runtime exception Oct 13 19:53:13 guys I use gridview but my elements have different width, what do you suggest me to use? Oct 13 19:54:34 seeing your reddit post seand, I raise you http://www.reddit.com/r/RandomActsOfBlowJob/ Oct 13 19:54:44 I thought reddit is civilised Oct 13 19:54:55 not my reddit post, and i'm not clicking that link Looney Oct 13 19:55:21 and I forgot to mention nsfw Oct 13 19:55:35 lol Oct 13 19:55:42 <|0xD34D|> omg, why would anything with "BlowJob" in the title not be nsfw Oct 13 19:55:52 <|0xD34D|> s/not/ Oct 13 19:56:32 well reddit does have an entire "porn" network that is completely safe for wokr Oct 13 19:57:06 Looney: i didn't know it was a thing... TIL Oct 13 19:59:20 ruser: well you can do TIL submission on reddit about the reddit I posted here :-P Oct 13 20:03:57 Looney: i dont' have a reddit account, so you can call me a lurker :) Oct 13 20:04:13 which in this context sound rather aweful Oct 13 20:04:33 lurker is me ;-) Oct 13 20:07:57 hey, what's the new font that i've seen used in card layouts and stuff in new/updated apps? Oct 13 20:09:16 roboto? Oct 13 20:09:39 ah, thanks Oct 13 20:10:01 i have to download that to use it in my app, right? Oct 13 20:12:25 it's available by default on api 14+ Oct 13 20:12:48 or 11 is it? Oct 13 20:13:04 um, the light version is 16+ iirc Oct 13 20:14:42 how hard is it for learning Android if you already know Java? how many hours do you guess it would take for learning the basics and writing and publishing your first app to the Play Store? Oct 13 20:15:04 for example, I wanted to write a small loan app, which would be actually useful not a simple hello world Oct 13 20:16:46 anybody succeeded to copy Image(bitmap) to clipboard like the web browser can do? Oct 13 20:18:17 mark06, there is some work involved, but if you know Java you're just fine Oct 13 20:18:31 mark06, d.android.com has pretty nice training docs, choose ones you need and that's that Oct 13 20:20:42 I need the basics, do you think this would do it? http://developer.android.com/training/index.html Oct 13 20:22:03 hmm, doesn't look like a few hours training, right? I know I'm asking too much, I should be more organized and have more proper time for doing things I want :( Oct 13 20:49:32 That does it robotium ... you've lost your brain priviledges!!! Oct 13 20:49:45 hi guys i need some help Oct 13 20:49:59 need to find a room to my defy xt560 Oct 13 20:50:34 can anybody help me please? Oct 13 20:51:32 try #flashrom maybe? this is for app software development Oct 13 20:52:01 thanks i will try Oct 13 20:52:15 or |/msg alis list *rom*| Oct 13 20:52:31 |/msg alis list *rom*| Oct 13 20:52:35 just type this? Oct 13 20:53:10 any kernel devs in here? :p Oct 13 20:56:56 "Android application development" Oct 13 21:00:41 Creating a media player service using startService() from an activity, still the media players stops playing when the activity is closed from the app manager. Any clues? shouldnt the service be uninterrupted? Oct 13 21:14:27 heathen2 yes it does stop. Oct 13 21:16:42 tonyMontana9099 any way of preventing it from stopping? I was so sure it shouldnt stop Oct 13 21:16:45 i mean, it should not stop. Oct 13 21:16:59 that makes more sense Oct 13 21:17:00 unless you are stopping it inside onPause() or Oct 13 21:17:06 nope Oct 13 21:17:14 if it stops, it totally misses the point of being a service Oct 13 21:17:27 idd it does Oct 13 21:17:34 does FEATURE_INDETERMINATE_PROGRESS work for all API levels? Oct 13 21:18:05 I'm having a hell of a time getting it to show up Oct 13 21:18:32 jedir0x it should Oct 13 21:18:36 it was since api1 Oct 13 21:20:12 i guess there's just a lot of rules for which order you call things in Oct 13 21:20:24 guess so Oct 13 21:20:27 what are you using it for ? Oct 13 21:20:45 a progress bar for when some long processing happens Oct 13 21:20:52 i originally had a progress bar in my layout Oct 13 21:20:55 but i'd rather use this one Oct 13 21:20:57 which api ? Oct 13 21:21:03 11+ Oct 13 21:21:11 should would without issues Oct 13 21:21:47 https://gist.github.com/briandilley/16fd53fccaaaabe750be Oct 13 21:21:49 that's what i'm doing Oct 13 21:21:55 requestWindowFeature(Window.FEATURE_INDETERMINATE_PROGRESS); Oct 13 21:21:55 setProgressBarIndeterminateVisibility(false); Oct 13 21:22:00 but it doesn't show up - i would expect it to be visible immediately Oct 13 21:22:20 weird. Oct 13 21:22:30 oh, i need to set it's visibility before super.onCreate Oct 13 21:22:51 i dont think so. Oct 13 21:23:00 I have it after super, and it works Oct 13 21:25:57 it's Window.FEATURE_PROGRESS that isn't working Oct 13 21:26:31 why do you need that ? Oct 13 21:26:37 just use the indeterminate progress Oct 13 21:28:51 tonyMontana9099: shouldn't you be using setSupportProgressBarIndeterminateVisibility(true); instead of false ??? Oct 13 21:29:16 if you want it to be visible Oct 13 21:29:19 yes Oct 13 21:29:22 ofcourse Oct 13 21:29:34 the default for boolean is false :) Oct 13 21:29:43 this was just showing example code Oct 13 21:38:09 so, the indeterminate shows up - but not the other Oct 13 21:38:26 i was hoping for the little progress bar at the bottom of the actionbar in some apps Oct 13 21:40:07 bit silly, but how can i force logcat to show my emulator's logs? i only have one emulator running Oct 13 21:40:16 and no other devices connected Oct 13 21:40:49 The progress bar is at the top.. And you have to set some progress, otherwise it's just at 0.. Which isn't visible Oct 13 21:41:45 I use a eclipse project as a library and I don't like it. Is there a way to have the jar equivalent? Oct 13 21:42:49 so i can get the indeterm. one working - just not the progress one. Oct 13 21:43:04 i am setting a value too Oct 13 21:43:20 Maybe i shold just go back to the progress bar that i put in the layout Oct 13 21:47:48 ugh, restarting eclipse seemed to fix it.. Oct 13 21:48:19 no matter what you do, when you start it again it'll still be eclipse ;) Oct 13 21:48:35 g00s: i'm about ready to give up, lol Oct 13 21:53:32 ah, that progress bar _WAS_ visible - it was just so small it could barely be seen Oct 13 21:54:07 height need to be set or something? Oct 13 21:57:07 Hey all, i'm trying to use the sample code from Google on the google play services SDK to get the current location here - https://developer.android.com/training/location/retrieve-current.html#CheckServices It's throwing errors though and I can't start the sample application Oct 13 21:57:34 I'm running on an Android 4.2.2 emulator with Google API Level 17, I reference the google-play-services-lib Oct 13 21:58:47 what's the error Oct 13 21:58:49 Hi Oct 13 21:58:58 I need to know java correct for android apps Oct 13 22:01:35 bankai_: error is: "java.lang.RuntimeException: Unable to instantiate activity ComponentInfo(com.example.android.location/com.example.android.location.MainActivity): java.lang.ClassNotFoundException: Didn't find class "com.example.android.location.MainActivity" on path: /data/app/com.example.android.location-1.apk" Oct 13 22:02:02 KingInTheNorth10, still do, didn't change since yesterday Oct 13 22:02:56 kk, just making sure Oct 13 22:02:56 So learn Java Oct 13 22:03:31 no, it has changed now Oct 13 22:03:38 learn perl Oct 13 22:03:43 no, its brainfuck Oct 13 22:03:52 no that is tomorrow's Oct 13 22:03:58 you forgot language change list Oct 13 22:04:33 god help us Oct 13 22:04:50 when I told him to use PhoneGap, he said 'But I have to HTML right ??' Oct 13 22:05:04 he wants to know nothing and make apps Oct 13 22:05:25 people do need to learn but expecting answer to change is silly when its such a basic question Oct 13 22:05:39 "do my pc need power" "yes" who would say no? Oct 13 22:05:49 unless its troll of course Oct 13 22:06:23 this is why I'm thinking about making a GUI appmaker Oct 13 22:06:47 shm I remember apple having something like that in ye olde days Oct 13 22:06:50 * g00s points to the overflowing graveyard of gui app makers Oct 13 22:06:56 no code at all just pick Widgets and drag them around and link them to each other or remote storage Oct 13 22:07:14 lego did something like that too, to program mindstorm Oct 13 22:07:28 ohh poor little kid you just trolled him. now he may never know that he just have to imagine and his dream app will come true Oct 13 22:08:14 its not too differen't from this current generation's youth which thinks they can all be celebrities since they are on FB; special, and don't have to do anything Oct 13 22:08:25 no gui, but no (or not much) typing either. you put in blocks for if then and stuff like that Oct 13 22:08:49 bankai_ any idea? Oct 13 22:08:52 or maybe one that listens to you talk, and then tries to build your mumblings Oct 13 22:08:55 goos yeah we are all born expecing to be successful as soon as hit puberityu Oct 13 22:09:13 evenually we downgrade to "still living is success" Oct 13 22:09:16 Or if anyone could let me know where i can find working examples of using google location service's.. let me know Oct 13 22:10:27 puddy: it tells you what the problem is Oct 13 22:11:56 but i have a class MainActivity in the com.example.. package Oct 13 22:12:28 king apparently was in android, asking about android dev there too. typed crappily Oct 13 22:13:28 he just wants some simple calculator app for his warcraft game or something Oct 13 22:13:55 i'm not sure what the whole /data/app path thing is about though.. is that the real issue? Oct 13 22:14:07 doesn't eclipse/emulator take care of the whole path thing Oct 13 23:04:07 i need any rom for pantech p9060 Oct 13 23:06:44 #android-root Oct 13 23:07:52 ty Oct 13 23:15:38 IntelliJ, or Eclipse? Oct 13 23:16:35 IntelliJ Oct 13 23:17:07 Checking out now, thanks. Oct 13 23:17:09 <|0xD34D|> apocryphon: whichever you are most comfortable with using Oct 13 23:17:15 <|0xD34D|> I use intelliJ idea Oct 13 23:17:41 Which is easier to configure for builds? Oct 13 23:17:44 <|0xD34D|> but it's all a matter of preference. I think I am more productive when using intellij Oct 13 23:17:57 Eclipse kept on claiming that "*.apk not found" Oct 13 23:18:05 So I tried cleaning up my project and re-building afterwards. Oct 13 23:18:16 <|0xD34D|> both have been fairly easy to get up and running Oct 13 23:18:19 But for some reason it wouldn't rebuild the project. the R.java file never got regenerated. Oct 13 23:18:32 <|0xD34D|> well check for errors Oct 13 23:18:46 <|0xD34D|> problems in resource xml files can cause R.java not to be rebuilt Oct 13 23:20:50 Will do, thanks. Oct 13 23:29:11 Can I create an activity which will respond to an intent like this: Intent { act=android.intent.action.PICK dat=content://com.android.contacts/groups } Oct 13 23:29:36 this is the problem: E/AndroidRuntime( 7985): Caused by: android.content.ActivityNotFoundException: No Activity found to handle Intent { act=android.intent.action.PICK dat=content://com.android.contacts/groups } Oct 13 23:31:16 I'm trying something liek this... https://gist.github.com/snot/6968522 Oct 13 23:32:23 |0xD34D|: damn no wonder I had problems with R file while ago Oct 13 23:32:40 it randomly went away as I was working on xml table for settings Oct 13 23:33:03 this is why I'm here. to learn stuff Oct 13 23:33:57 <|0xD34D|> I learned the hard way Oct 13 23:34:14 <|0xD34D|> but for me that's been the reason for no R.java generation after cleaning Oct 13 23:34:46 well its not random anymore for me. :) I really hate problem that solve itself since I learned nothing and it might return! Oct 13 23:35:42 I feel that the more I learn the less random things happen :) Oct 13 23:36:01 indeed Oct 13 23:37:19 I sure had my R issues as well. But most of them was solved by cleaning, including or not including R Oct 13 23:41:46 nobody who can learn me a thing or two about intent filters? I want to catch content://com.android.contacts/groups Oct 13 23:50:34 Does anyone knows how to optimize picasso configuration? Oct 13 23:51:16 Optimize how? Oct 13 23:51:39 JakeWharton: It's catching too little... (BTW: The debugging thing doesn't seem to work) Oct 13 23:51:49 It does Oct 13 23:51:52 JakeWharton: I make heavy use of images, so I want a loooooooooot of caching Oct 13 23:52:04 So specify a big cache. Oct 13 23:52:25 JakeWharton: I know, you have some weird algorithm that specifies the 15% of something like the available memory in your lrucache Oct 13 23:52:47 JakeWharton: What would be an "aggresive" value for the cache? like... I like to cache a lot, but I don't want to crash the app nor get out of memory crashes Oct 13 23:53:15 I have no idea. Just pick something. Oct 13 23:53:30 JakeWharton: Another question... Is it possible to get notified when a .fetch finishes? The load has the callback, but the fetch doesn't has an opption as far as I could find... Oct 13 23:53:52 No. It's for prefetching Oct 13 23:54:04 JakeWharton: Another thing, the .resize() option, does it maintains aspect ratio? Oct 13 23:54:11 No Oct 13 23:54:21 Use centerCrop or centerInside Oct 13 23:54:25 JakeWharton: mmm weird... but when you set the options in the bitmap factory, you only set one value.... Oct 13 23:54:46 Of? Oct 13 23:55:38 JakeWharton: ahhh I think it's an integer... I though it was a float... inSampleSize Oct 13 23:56:31 JakeWharton: can I apply a resize that preserves aspect ratio to a byte[] and get a Bitmap? or do I *need* to load the byte[] into a Bitmap before resizing it into an other Bitmap maintaining aspect ratio? Oct 13 23:57:36 If you have a byte array then just use BitmapFactory directly to resize. Oct 13 23:58:18 oh thats nice Oct 13 23:58:35 been learning bitmap stuff since my app uses it Oct 13 23:59:04 is there also way to paint bytearray? Oct 13 23:59:27 No. Oct 13 23:59:28 either it into something or some paint into bytearray Oct 13 23:59:36 JakeWharton: Another question, if I use a custom transformer, will the transformed image be saved in the cache, or the original image? Oct 13 23:59:46 Transformed is always saved Oct 13 23:59:48 drat would have been decent way to save space in memory Oct 14 00:01:13 No. It's for prefetching ---> I'm prefetching, but I like knowing how much time it takes to prefetch all the images of the view Oct 14 00:01:53 If you have a byte array then just use BitmapFactory directly to resize. --> how do you do that? for the moment I've been only able to found this method: Bitmap.createScaledBitmap Oct 14 00:02:20 That'll work. Or use a Matrix to scale. Oct 14 00:02:29 JakeWharton: Matrix? Oct 14 00:02:34 Timing prefetch is pointless.. It depends entirely on network speed Oct 14 00:02:42 tried BitmapFactory.(whatever functionname) ? Oct 14 00:04:49 Still no one who have an idea about my intent filter issue? Oct 14 00:04:52 JakeWharton: another question... does the library recycle() bitmaps and/or reuses them? Oct 14 00:05:17 Neither Oct 14 00:05:45 JakeWharton: Is it possible to make it do it without modifying the library? Oct 14 00:05:59 No Oct 14 00:06:03 k :( Oct 14 00:06:14 You can't do either without complex reference counting. Not worth 100s or lines of code. Oct 14 00:06:47 isnt it recycle right away if I do bit.recycle(); then System.gc(); ? Oct 14 00:07:20 How is not hard. It's when. Oct 14 00:07:35 JakeWharton: Another question... are the there any plans to add cookies to okHTTP? Oct 14 00:07:57 No. Implement at a higher layer. Oct 14 00:08:51 You can give it a CookieManager I think Oct 14 00:09:02 Never needed them so never bothered to look Oct 14 00:09:23 k Oct 14 00:10:35 JakeWharton: Thx for the library... I'll keep playing with it, and I'll bother you tomorrow with a few more questions.... Oct 14 00:23:16 is it possible to register a sync adapter for more than one type of account? Oct 14 00:54:17 Quick (two-part) question on Drawables to see if my brain is right... 1) I need the number 54 as a graphic, I can draw that with code? 2) Can said drawable/code be used in the notification bar? Oct 14 00:55:03 You can drawa on Canvas Oct 14 00:58:16 that's the term Oct 14 00:58:17 :) Oct 14 01:00:54 hi, i have some problem with fragment Oct 14 01:01:03 i have this code : http://pastebin.com/npvx1hGj Oct 14 01:01:44 i create 4 fragment instance and show in viewpager by fragmentadapter Oct 14 01:03:55 problem is : fragments are not destroyed Oct 14 01:04:54 when user showes frag1 in this frag load data... user select frag2 and back frag1..this fragment is loading data Oct 14 01:08:00 i dont suppose that there's a way around drawing text dynamically in the collpased notification bar is there? Oct 14 01:37:00 how might I draw two perpendicular lines? Oct 14 01:37:14 I know how to make a thin rectangle to look like a line Oct 14 01:38:10 depends on what you are trying to do but you can use generic views in xml and just use 1px, height and width, 1px with color background (or a shape gradient) Oct 14 01:39:38 specifically I want to make an "L" shape that is centered in the table cell Oct 14 01:40:57 so I have to make two shapes, I presume, for each segment Oct 14 01:41:02 then do I layer them somehow? Oct 14 01:44:35 ah a layer-list perhaps Oct 14 02:00:51 I don't understand :( the drawables don't seem to overlay properly Oct 14 02:00:58 all I get is a solid colour square Oct 14 02:01:06 like it is really zoomed in Oct 14 02:06:37 is the nexus 7 a good tablet for general android development, seeing as it's running "pure" android? Oct 14 02:08:10 how can one drawable be a vertical line, the other a horizontal line, and the layer-list of the two a solid red square? Oct 14 02:17:42 the bitmap trick doesn't work completely because nothing actually draws Oct 14 02:26:00 hi, how can reset fragment in viewpager, i have a viewpager and 4 instance of fragment. viewpager showes a newsFragment i want reset fragment every time user selects news Oct 14 02:26:19 how fragment news have ListView with news Oct 14 02:26:31 i want reset this fragment Oct 14 02:33:13 hi! I'm a noob at android. I'm trying to add an android support lib to my project. I can't seem to find a quick description on how to do this from command line. Oct 14 02:33:54 when you say from the command line, you mean just using ant? Oct 14 02:34:30 yes. Oct 14 02:35:12 I did it a few weeks ago for the first time - definitely can't say I did it right, but I got it working. It's not that easy Oct 14 02:37:04 problem is, if it's just a jar, you can just include it in your tree and have it built into your apk... if it includes resources, which the support library does, you need to merge that in Oct 14 02:43:55 * Leeds waiting for any sign of life Oct 14 02:44:27 so, what's the easiest option there? import it into eclipse, add the support lib, and quit? Oct 14 02:44:59 thanks, btw, Leeds. Oct 14 02:46:01 ah, life! Oct 14 02:46:52 in my project.properties I have "android.library.reference.1=../../../../../../../../../home/richardc/android/android-sdk-linux/extras/android/support/v7/appcompat/" Oct 14 02:47:13 because apparently it wants a relative path and my code is buried quite deeply in my filesystem... Oct 14 02:47:44 And that covered it? Oct 14 02:49:08 I also had to make the library itself buildable - "android update -p ." etc **** ENDING LOGGING AT Mon Oct 14 02:59:58 2013