**** BEGIN LOGGING AT Sat Oct 12 02:59:59 2013 Oct 12 03:03:21 JakeWharton: You there? Oct 12 03:03:29 half Oct 12 03:03:36 JakeWharton: That's speed! Oct 12 03:04:05 JakeWharton: I'll try to integrate Picasso and okHTTP into my project... and then maybe volley too... Any tips to make that happen smoothly? Oct 12 03:04:35 my app loads a lot of images from internet to a listview.... Oct 12 03:04:41 and I need to make that as fast as possible Oct 12 03:04:44 and smooth Oct 12 03:04:47 and never crash Oct 12 03:05:09 Picasso.with(context).load(url).into(imageView); Oct 12 03:05:13 As simple as it gets Oct 12 03:05:35 And add the okhttp jar to your project Oct 12 03:05:55 k, thanks... Oct 12 03:06:27 I already have a background thread pool, and a ui handler... Should I try to integrate picasso and okHTTP with those? Oct 12 03:06:34 how to do it? Oct 12 03:06:36 no Oct 12 03:06:50 picasso manages its own threading and moving on and off the main thread Oct 12 03:07:28 JakeWharton: What I mean is that, I have my own pool of threads to call to the WebServices... Wouldn't it be a good idea to share that pool with picasso? Oct 12 03:08:51 no Oct 12 03:08:57 you don't want images blocking API calls and vice versa Oct 12 03:15:01 JakeWharton: mmmm I'll belive you on that one.... Oct 12 03:15:36 Picasso is smart and will scale the number of threads based on the quality of connection Oct 12 03:16:42 JakeWharton: How do you do that? Oct 12 03:16:50 I'd like that for my API connections too.... Oct 12 03:17:11 anyway, is it possible to play with the priority of the picasso threads? Oct 12 03:17:14 broadcast receiver and querying network info Oct 12 03:17:16 no Oct 12 03:17:24 they're always background priority Oct 12 03:17:49 do all the threads of a pool have the same priority? Oct 12 03:17:58 yes Oct 12 03:19:25 is it possible to change it? Oct 12 03:23:42 Is it possible to control when some runnables are posted to the UI thread? Oct 12 03:24:15 I have some background processes with low priority, and I wouldn't want them to post while the user is scrolling for example Oct 12 03:24:27 I use handler.post(runnable); Oct 12 03:26:55 no Oct 12 03:29:54 I have developed an app, but have about 6 expansion packs that I would like to put on playstore, how do I go about doing this? Oct 12 03:33:14 is there anybody here? Oct 12 03:33:54 on a friday night :) Oct 12 03:34:25 what day do I get better response? Oct 12 03:34:39 any week day US is busy etc Oct 12 03:35:00 pr try later this weekend Oct 12 03:35:04 i see... I guess I shall come back then Oct 12 03:35:19 what are the expansion packs? why not use IAB? Oct 12 03:35:20 or leave your client running as you work etc Oct 12 03:35:21 trying to find out how to publish app Oct 12 03:35:46 resource files, and an XML Oct 12 03:36:22 so if I provide a free app, but the playstore just serves expansion files, 6 different packs Oct 12 03:36:38 is that possible? Oct 12 03:37:16 if the expansions are just resources, I'd ship a single apk - unless it's going to be huge - and just unlock extra content when the user pays Oct 12 03:37:19 TheBunny: Before I forget, asked the friend of mine at Bethesda about ESO, said he hadn't gotten into the beta and only played it for about 2 hours, so couldn't say much. Oct 12 03:37:37 Was apparently fun from what little he did play, anyway, but I think that was a while ago. Oct 12 03:38:01 so would that be part of licensing? Oct 12 03:38:38 that would be in-app billing Oct 12 03:40:00 would the user be able to move from device to device using same account and be able to use the program with the same settings? Oct 12 03:40:12 Nilium: I thouhght we opened the beta up to people in the compant Oct 12 03:40:20 anyhow good to know he liked it so far Oct 12 03:40:27 They're apparently being picky about it. Oct 12 03:40:33 ha Oct 12 03:40:35 hmm ok Oct 12 03:40:44 So many slots and they're playing favorites. Oct 12 03:41:12 3m+ people signed up so far Oct 12 03:41:21 we let maybe 100k play at the most so far Oct 12 03:41:34 asdf8fdsa: they would if you implement it properly Oct 12 03:42:12 is there a particular mode that is called, that I should read up on? Oct 12 03:42:48 it's called "in-app billing" which is why I called it that Oct 12 03:43:13 using that phrase and an Internet Search Engine like bing.com you should be able to find some more information Oct 12 03:44:54 yea, I see it's the top highlighted feature in version3. Thanks for your info Leeds! Oct 12 03:45:23 you're welcome! Oct 12 03:54:41 JakeWharton: Damn :(... Another thing, I need to download some images, and I have a maximum width and size, and I need to resize them to that size if they are bigger, respecting the ratio, and then I want to keep that version in the cache/memory, as to not waste memory... does picasso does that automagically? Oct 12 03:56:20 It does explicit resize, not max Oct 12 03:56:32 You can do a custom transform to accomplish that thoight Oct 12 03:57:18 JakeWharton: explicit resize? like to a specific x, y? Oct 12 03:58:01 JakeWharton: BTW: My images don't use the alpha channel... Is it possible to only use 24 bits per point? Oct 12 03:58:09 RGB888? instead of RGBA8888? Oct 12 04:00:36 JakeWharton: The transformation seems to Take a bitmap, and return a bitmap... Is it possible to create the bitmap in the proper size directly from the stream/byte[] returned by the URL? Oct 12 04:01:09 you can just measure the image and if it exceeds your max params resize to those params Oct 12 04:01:56 shmooz: yes, but the thing is I have the byte[]... If I put that in a bitmap, then that copies the byte[] to memory inside the bitmap, and then if I resize it to another bitmap, then I'm using mem for 3xbyte.size() Oct 12 04:02:20 I want to just use 2xbyte.size() if possible... 1xbyte.size() would be ideal... Oct 12 04:04:06 JakeWharton: Another question... do you support showing a progress bar while the image is being downloaded? in top of the imageview? Oct 12 04:04:11 is the image remote to begin with ? Oct 12 04:04:22 shmooz: yes... lots of imgages Oct 12 04:04:33 then you'd be able to parse the header to find the size ? Oct 12 04:04:40 without downloading perhaps Oct 12 04:05:01 shmooz: errr... shouldn't picasso do that for me? :) Oct 12 04:05:18 anyway, the images are in general the same aspect ratio, but there are some differents in width and size Oct 12 04:05:29 and I always resize them to exactly the same max width + max height Oct 12 04:06:05 I've done that in php using curl and wget , not sure how you do it in android Oct 12 04:06:37 to resize stuff to fit a shoutbox and stop people from posting huge images Oct 12 04:09:33 Your uses cases are too specific Oct 12 04:10:04 I don't know how you can expect a general purpose library to afford such extreme specific behavior Oct 12 04:10:16 Fork it and change whatever you want to make it what you need Oct 12 04:14:32 g00s: https://github.com/google/hesokuri <--- interesting uses of clojure Oct 12 04:22:48 When I define my own selector for a button and I'm supposed to put it in the "drawable" folder which one should I put it in? Oct 12 04:23:25 or should I make my own folder "drawable" instead of using the ones there? Oct 12 04:28:57 oh hai Oct 12 04:31:29 This crap: http://developer.android.com/guide/topics/resources/drawable-resource.html#StateList <-- says put it in /res/drawable but I have 5 different drawable folders. Oct 12 04:31:43 JakeWharton: I can certanly expect it :) Oct 12 04:32:23 I declare my own button states in main_button.xml and put it one of the drawable folders it won't recognize them. In addition it can't see my colors I've put in colors.xml in the /res/values folder? Oct 12 04:33:09 using Eclipse btw. Oct 12 05:00:58 p_l cool! but would you trust it :) Oct 12 05:07:58 g00s: yes. I've got more trust for that code than what typically goes into "FSF-approved linux distro" ;) Oct 12 05:09:04 GNU code is pretty horrible; look at screen if you'd like to vomit in your mouth Oct 12 05:10:34 g00s: more importantly I figure that even low-priority unofficial projects from Google got more release management behind them than, let's say, key generation in certain distros and automating tools ;P Oct 12 05:13:26 g00s, p_l, what're we talking about, sounds interesting Oct 12 05:14:03 alex_PP p_l posted this above https://github.com/google/hesokuri Oct 12 05:14:26 i have a hard enough time getting git to work normally; any other automagical layers would scare me Oct 12 05:15:23 as for my comments on code: first was reference to Debian maintainer breaking crypto key generation in either OpenSSL or OpenSSH *HORRIBLY*, the other was Saltstack devs making HUGE mistake in their "mass-key-gen" for Salt's RSA keys Oct 12 05:15:43 both required revoking and regenerating all keys created with those two tools Oct 12 05:15:43 hm, never heard of saltstack Oct 12 05:15:51 g00s: one of the server automation tools Oct 12 05:16:28 since it uses RSA keys for authentication, they added a tool in some release to ease up mass generation of keys for new nodes Oct 12 05:17:10 and didn't ask anyone with experience about whether the parameters to RSA that they use were sensible at all Oct 12 05:19:12 p_l did you read this? https://news.ycombinator.com/item?id=6517553 Oct 12 05:19:50 if this sentiment was correct "The US Government has no problem with seizing your private keys. It claims the right to impersonate you without your permission." , troubling Oct 12 05:22:08 is there some specific process to adding a new API to AOSP? what are the chances of such a submission being accepted? Oct 12 05:24:07 veeti just submit an enhancement request to the defect tracker Oct 12 05:25:47 well, it would be a fun learning experience to try and do it myself but not if the effort would be certainly fruitless Oct 12 05:26:46 oh, well - a hole api , i dunno how much luck you would have with that Oct 12 05:26:50 *whole Oct 12 05:27:37 well, not a whole api, just an addition to an existing one Oct 12 05:27:39 not a very huge one either Oct 12 05:28:20 g00s, i dare say this could lead to some nasty tangles Oct 12 05:28:26 if not used very carefully Oct 12 05:29:58 alex_PP hesokuri ? Oct 12 05:30:17 when should I use application context and when should I use activity context? Oct 12 05:30:37 veeti: you can make a patch for AOSP and submit it Oct 12 05:30:51 gavilan2 app context when you need a context that outlives the activity Oct 12 05:30:52 yeah Oct 12 05:31:35 i would be nervous :) Oct 12 05:32:00 seems it pushes to specially names branches on the other machines so you can keep stuff you're updating on many machines synced up Oct 12 05:32:19 i'd prefer to push to a draft change in gerrit and pull that when i want to update it Oct 12 05:32:21 g00s: is there any difference between those 2 context? why not use always the app context? Oct 12 05:32:47 i think the UI stuff needs activity context because the the ContextThemeWrapper or something like that Oct 12 05:33:43 g00s: then the guys at android should make those methods take Activity instead of Context Oct 12 05:33:58 not sure what you're referring to Oct 12 05:34:27 gavilan2: some (if not majority) of those methods can be used in different contexts Oct 12 05:34:48 different contexts? Oct 12 05:34:59 what other UI contex is available? Oct 12 05:45:45 wow, the FB beta testing program has 1 million users Oct 12 05:46:37 "Our beta testers currently use phones from over 50 manufacturers, run multiple versions of Android, and use our app in varying network conditions. " Oct 12 05:47:06 what i read into this, if that even FB can't buy enough devices to test all conditions ;) Oct 12 05:47:22 gavilan2: Services might want to do something with Contexts, for example... UI is not the only stuff that uses them Oct 12 05:49:28 wow, and FB is also using the regular Play infrastructure for this too Oct 12 06:06:30 Hello, folks! Can anyone please suggest me how could I launch an activity in background (i.e. during the Splash screen in separate thread) and once after "reuse Oct 12 06:06:38 "reuse" it Oct 12 06:07:27 Also it would be great, if I could also just switch back to main activity from this reusable one, and each time I click special button it would be reused again instead of creating new instance. Oct 12 07:52:34 hey guys, i am trying to launch another fragment inside viewpager's fragment, and launches the backbutton Oct 12 07:52:39 just like how android market is handling it Oct 12 07:52:42 how would I do that? Oct 12 07:53:12 using getChildFragmentManager does not follow hte back button Oct 12 07:54:01 gona try http://d.hatena.ne.jp/yohpapa/20130317/1363509114 Oct 12 08:10:21 guys Oct 12 08:10:23 anybody here? Oct 12 08:13:13 ssh, we're trying to sleep ;) Oct 12 08:13:17 lol Oct 12 08:13:21 hey, on android market app Oct 12 08:13:28 when you click something from the list to detail Oct 12 08:13:33 is it opening up another Activity? Oct 12 08:13:43 or is there some sort of fragment transition Oct 12 08:13:56 nvm, its opening up another activity Oct 12 08:14:44 there is no other way they can manage the tabbar that efficiently Oct 12 08:57:19 it's all fragments Oct 12 09:08:03 JakeWharton for gradle sub-projects, which do not have any resources, do you use the plain java plugin ? Oct 12 09:08:11 only twice Oct 12 09:08:51 so normally, i guess i would be using android-library plugin for these sub-projects which the app depends on Oct 12 09:08:58 same as a top level project, i suppose Oct 12 09:09:01 yep Oct 12 09:09:04 ok, thanks Oct 12 09:13:42 guys I do not understand what synchronized (this) means, I've read a few definitions but still not sure Oct 12 09:15:20 zquad: think of it like a gated area, that only 1 thing can be in at one time Oct 12 09:16:00 once one thread enters the synchronized area, any other thread will sit there at wait to enter, until the first thread exits Oct 12 09:16:08 for example if I have a timer to download a file every 10 seconds, then putting the download in there will prevent another download as long as the previous download is still occuring? Oct 12 09:16:26 and this applies to anything that synchronizes on that particular object instance Oct 12 09:17:09 zquad: possibly, it depends on how you have it implemented. There are better ways to solve that issue Oct 12 09:17:24 as an example, I mean Oct 12 09:17:51 in other words one download runs to completion before the next Oct 12 09:17:54 Generally, you rarely need to use synchronized yourself. There are almost always better and easer to use (i.e. harder to screw up) ways of doing whatever it is Oct 12 09:18:12 ok Oct 12 09:18:16 in that particular case, you could have a single thread that processes the download tasks Oct 12 09:18:29 yup Oct 12 09:18:34 and once its done, it just grabs the next task and starts to run it Oct 12 09:18:48 you would only need the synchronized block if you had multiple threads processing the tasks Oct 12 09:21:21 next question: in terms of best practice, I created a service which I want execute a series of events every few seconds. In my onStartCommand I have: http://pastebin.com/buWSzLp7 Oct 12 09:21:45 is this best practice? I read somewhere that I should use AlarmManager alarm instead Oct 12 09:22:15 why every 5s? Oct 12 09:22:35 well lets say 1 minute, any random period of time Oct 12 09:24:17 but why wait at all? Are the events such that you could process them as they arrive? Oct 12 09:24:39 its a background process which monitors a webservice Oct 12 09:24:44 indefinitely Oct 12 09:25:31 well, that won't work since its on the main thread ;) Oct 12 09:26:06 zquad i recommend watching the devbyte videos on power consumption and radio Oct 12 09:28:12 :)g00s I will but lets say I want to consume the webservice every hour indefinitely Oct 12 09:28:29 then you use alarm manager, or a sync adapter Oct 12 09:28:30 I just want to make sure I am using best practice as far as the webservice is concerned Oct 12 09:29:58 and you also have to look at the users' prefs on background data Oct 12 09:30:20 and of course, you wouldn't be waking up if there is no connectivity ;) Oct 12 09:30:25 so , its quite involved Oct 12 09:30:46 Yup, one piece at a time :) Oct 12 09:32:11 two days ago I ran into a problem where I couldn't call ssl and that really sucked No Peer Certificate. Oct 12 09:38:01 JesusFreke you're up late ! :P Oct 12 10:36:38 I am trying to figure out how to automate long press with monkeyrunner. please guide. Oct 12 10:36:51 long press on screen or screen widget Oct 12 11:58:03 guys, is there a fast android emulator for windows 8 Oct 12 11:58:29 use intel images with GPU accelration Oct 12 11:58:33 or genymotion Oct 12 11:59:01 thanks Mavrik downloading now Oct 12 12:22:57 Good book to jump into Android dev for an intermediate programmer? Oct 12 12:23:17 I've got Apress' Learning Android App Development Oct 12 12:23:22 Good enough? Oct 12 12:24:05 have you worked through the training on the d.android.com site? Oct 12 12:24:24 Cyph0n, d.android.com training is usually way better than books Oct 12 12:24:49 But Reto Meier's book is pretty good. Oct 12 12:54:30 before my application load, before MainActivity.onCreate is called I see an an error on my android app, asking me to Force Close. I am not sure how to debug that to see the cause, any suggestions as to how to debug it. I thought MainActivity was the application's entry point Oct 12 12:56:02 logcat Oct 12 12:57:35 hi everyone, could you please help me with ListView recycling - http://stackoverflow.com/questions/19320980/how-to-show-more-lines-in-listview-on-user-click ? Oct 12 13:13:40 Leeds, Mavrik: I've worked through the training, but after the first section, it just went all over the place I think. I usually like a focused approach, like building a single application all the way through. Oct 12 13:29:24 Cyph0n, well the point is to read the things you need Oct 12 13:39:53 Is there a way to achieve the following automisation? On Bluetooth connection launch google play music, play song for 2 seconds, close play music, launch spotify Oct 12 13:40:05 this is the only way the metadata gets displayed Oct 12 13:40:20 hmm Oct 12 13:40:24 tasker could do that probably Oct 12 13:42:43 I dont have a credit card though; does this seem like a difficult task to program an app for that myself? Oct 12 14:07:44 what do you think most cell phones are 16:9, 16:10 ratio for screen? Oct 12 14:24:09 pancakeface 16/9 Oct 12 14:27:16 <^cheeky> morning/evening Oct 12 14:28:35 <^cheeky> oh pancakes sound so g00d rightt now Oct 12 14:38:51 lol :D Oct 12 14:39:50 anyone launch google now intentionally ? Oct 12 14:42:22 It launches accidently with that swipe from bottom even when I 'disable' it, wtf Oct 12 14:44:17 yay disabling everything google fixed it ! Oct 12 14:57:44 hi there, i am using account picker in the onResume method, if i picked an account, it restarts the onResume method again, is this expected behaviour?? Oct 12 15:03:50 Hey everyone ^^ I'm new to Android Development and now I've got a question which the web couldn't really answer me: I have got this code here for a button to play a sound when pressed: http://pastebin.com/EL8rxYh7 Now I want to add more buttons with different sound, do I have to add the same code for each button again or is there an easier way? ^^ Oct 12 15:05:46 i am new too, but i think you have to add a new button everytime (via xml and declare an onclick-listener) Oct 12 15:07:57 fr4nk235: Yea that what I intended to do but I thought there would be an easier way then adding about 50 onclick-listeners :D Oct 12 15:09:01 :) make it an array with incremented ids and the iterate over it XD no srsly, maybe someone else has a better solution Oct 12 15:13:41 hello. is there some sample code to make and recieve network requests so that i can test working of traffic stats Oct 12 15:35:26 fr4nk235, expected behavior Oct 12 15:36:04 jeah i see, account picker is just an activity put on the stack, if it returns, main activity is resumed... Oct 12 15:59:30 the dodumentation says: "When Activity A starts Activity B, Activity A is stopped, ..." but the onResume method is running until the end, then the main activity is stopped? Oct 12 16:00:27 how do I start using achartengine in android-studio? Oct 12 16:12:08 fr4nk235, huh? Oct 12 16:14:13 i logged the execution, in onResume i have an if-stmt if first run, works nice, in this if the acccount picker is called, but after the if-else i have also a log() and if the acc-picker opens, the log stmt is shown in logcat, so i assume, that onResume is executed until the end and then account picker is started.. Oct 12 16:14:40 yes, it runs in its entirety Oct 12 16:15:10 ah ok hm :-| Oct 12 16:20:33 hey, at notifications, does every app has its own notification-ids or are they system-wide, so that it would be possible to change notifications of other apps? Oct 12 16:23:20 <|0xD34D|> MoeMorox: I believe it's by package Oct 12 16:23:35 <|0xD34D|> would be horrible if it were system wide Oct 12 16:24:04 heh, yeah Oct 12 16:24:25 does anyone have an idea how apps like light flow work then? Oct 12 16:26:30 <|0xD34D|> they probably did it using some accessibility stuff Oct 12 16:26:33 <|0xD34D|> at least prior to 4.3 Oct 12 16:27:22 <|0xD34D|> 4.3 allows apps to access all notifications provided the user enables an app to do so Oct 12 16:28:05 yes, lightflow used the accessibility api Oct 12 16:30:38 okay, thanks Oct 12 17:01:02 <^cheeky> after than conversation regarding leaking with fragments confused me so much :( tried to fix think i broke everything :( Oct 12 17:02:07 <^cheeky> instead of passing in the context to the fragment, i read that its better to use getActivity, Oct 12 17:04:39 how do I set so the screen does not turn off allt he time, it is very annoying. Oct 12 17:05:04 <^cheeky> using getAvctivity.getApplicationContext does not let me cast to call say the Action bar on create Oct 12 17:05:26 <^cheeky> S_J: developer options Oct 12 17:05:28 S_J: there's an option in developer opt. Oct 12 17:09:51 <^cheeky> if i do getActivity and cast to Activity it works fine i guess , but in memory analyzer i see multiple instances of my gridView Oct 12 17:09:54 <^cheeky> :( Oct 12 17:10:00 <^cheeky> b00 Oct 12 17:32:43 <^cheeky> i have been using to commit to changes i have but if i want to start from my last commit with android studio how would i load it in ? Oct 12 18:10:43 <^cheeky> how do i load my last git commit into android studio ? Oct 12 18:12:17 git checkout that commit Oct 12 18:12:29 <^cheeky> in terminal ? Oct 12 18:12:34 what does android studio have to do with it Oct 12 18:12:50 or use the version control windows in studio Oct 12 18:12:55 <^cheeky> or in android studio , under VCS-> Git -> should i just do Revert ? Oct 12 18:12:58 either way, same result Oct 12 18:13:36 Google what the commands do Oct 12 18:14:10 <^cheeky> ok Oct 12 18:16:33 <^cheeky> i did not create .. different branches ... :( Oct 12 18:19:01 <^cheeky> ok here goes it .. :( git GIT RESET HEAD Oct 12 18:21:23 that just undoes you current uncommitted changes Oct 12 18:21:30 not even Oct 12 18:21:40 it just marks stuff not for adding ng Oct 12 18:29:25 textview.setGravity(Gravity.CENTER); doesn't center the textview (RelativeLayout). why? Oct 12 18:37:27 ^cheeky: http://pcottle.github.io/learnGitBranching/ Oct 12 18:37:51 (serious suggestion, not trying to be snarky :) Oct 12 18:38:41 Give it to me straight guys. Does my app icon suck? http://i.imgur.com/Gn5iVcT.png Oct 12 18:39:19 <^cheeky> JesusFreke: no no thank you i need to , i am doing too many things @ once Oct 12 18:39:24 <^cheeky> i appreciate ti Oct 12 18:39:26 <^cheeky> *it Oct 12 18:43:57 desmin88: yes Oct 12 18:44:56 vedu: :(\ Oct 12 18:45:34 how can i improve it Oct 12 18:46:32 im terrible at all things ui Oct 12 18:49:52 I've bought a book about that from amazon called "Design for hackers" xD I've to start reading it too Oct 12 18:50:18 Yes, your app icon sucks. Oct 12 18:50:39 atleast you guys are honest Oct 12 18:50:54 Are you seriously going with the cross of a crusader? Oct 12 18:50:58 umm Oct 12 18:51:03 I can't tell what it is Oct 12 18:51:15 cross templar? Oct 12 18:51:33 It's one of them. Either way, it's something associated with widespread bloodshed and murder. Oct 12 18:51:57 http://www.ucatholic.com/ Oct 12 18:52:29 i was more talking about how the cross templar is presented rather than the cross templar itself, lol Oct 12 18:52:48 I'm talking more about what the symbol represents. Oct 12 18:52:56 You have to be aware of these things. Oct 12 18:53:08 its not something i can change Oct 12 18:53:27 next time, do it with a svastika :) Oct 12 18:53:30 it's how how churches work after all! Oct 12 18:53:37 bloodshed and murder. Oct 12 18:53:47 DwordKnight, duly noted. Oct 12 18:53:58 I'd guess if you're making an app for catholics, though, they're mostly unaware of the history. So, contact them and ask them to make you an icon. Oct 12 18:54:01 nah just a joke man Oct 12 18:54:20 DwordKnight: i know i know Oct 12 18:54:40 Nilium: its an app for the website ucatholic.com, not just a general catholicism app Oct 12 18:54:52 I know. The point is you should be asking them to make you an icon. Oct 12 18:54:58 They have designers. Probably. Oct 12 18:55:15 nope :( Oct 12 18:55:38 im in a pickle here Oct 12 18:56:11 Ok, then safe mode: no border around the cross, put some newspapery like stuff around the cross (but it shouldn't intersect). Oct 12 18:56:43 Just figure out what the hell uCatholic does and try to make sure that comes through. Oct 12 18:56:51 i see Oct 12 18:56:53 Or hire a designer. Oct 12 18:58:33 I could make a lot of snarky comments about the church and its vileness and how it could be integrated into an icon, but I'd guess you're already aware of the comedy potential. Oct 12 19:00:05 what do I need to import to work with JSON? Oct 12 19:01:00 Something in org.json? Oct 12 19:01:25 Nilium: yeah i dont really want to discuss opinion of any church, just the suggestions for the ion Oct 12 19:01:28 icon* Oct 12 19:06:00 ahh yay, android emulator has a black screen Oct 12 19:09:49 Never use the emulator if you've got a device. Oct 12 19:09:55 If you don't have a device, never develop for Android. Oct 12 19:11:50 I should figure out how to get play services on an emulator, sometimes I'm so lazy about testing on device Oct 12 19:12:26 Performance on the emulator is so awful that I just can't figure why I should bother with anything other than a device. Oct 12 19:12:44 findViewById(R.id.id1) returns null. any ideas? Oct 12 19:12:48 The only use I've had for it so far is testing different layouts Oct 12 19:12:59 vedu: Check your layouts. Oct 12 19:13:42 Nilium: x86 image with intel HAXM is super fast for me.. Oct 12 19:13:58 oh, just need to install vending and gms apk Oct 12 19:14:17 It's still slow and cumbersome for me, considering using a mouse as a finger equivalent is really not a great idea. Oct 12 19:15:06 Nilium: I checked. they seem fine Oct 12 19:15:12 Check again. Oct 12 19:15:25 what exactly am I looking for? Oct 12 19:15:26 Check your code, check your layouts, etc. Oct 12 19:15:35 anyone have any issue with samgsuong g3 showing up in the samgsion original dock ? i bought the dock so that i can better see phone when developing but eclipse cant see it ... Oct 12 19:15:37 What do you think you're looking for? Oct 12 19:15:43 I am not getting any compiler error Oct 12 19:16:01 correctly defining the ID of the view Oct 12 19:16:08 What else could you be looking for? Oct 12 19:16:25 yes I have seen them. There are only 2 Oct 12 19:16:32 its a very small app Oct 12 19:17:16 Is your view inflated? Oct 12 19:20:27 * Nilium feels like that was either an ah-ha question or vedu was attacked by spiders. Oct 12 19:21:30 lol Oct 12 19:24:20 LOL Oct 12 19:24:52 is it possible that eclipse is acting up? I am getting some strange GUI errors Oct 12 19:25:01 Do a clean rebuild. Oct 12 19:27:47 how can I add via code textview in relativelayout one under other one? Oct 12 19:28:02 By reading the documentation. Oct 12 19:28:09 b00m. Oct 12 19:28:19 tough love from Nilium. Oct 12 19:28:26 is that easy? nice Oct 12 19:28:34 it's pretty easy Oct 12 19:28:37 Nilium: I think you are right. my view isn't inflated Oct 12 19:28:42 thanks Oct 12 19:28:42 I wrote some stuff in Scala to make it easier. Oct 12 19:28:57 Downside: the chance of you ever doing layouts programmatically is extremely low. Oct 12 19:29:08 Well, assuming you're not insane. Oct 12 19:29:32 LOL Oct 12 19:29:43 I don't know how many textview I need Oct 12 19:41:02 addRule! Oct 12 19:41:30 wtf what is the poing of a DOCK if the computer cant see the phone ... Oct 12 19:41:52 not even kies can see it and it is a original dock ... !!! Oct 12 20:01:55 is there some tool that will analyze my project and generate a list of all translatable strings? i wish to gather them for localization Oct 12 20:02:24 right now they are a bit clustered in several files Oct 12 20:05:04 What counts as translatable? Oct 12 20:05:16 <|0xD34D|> I got myself accustomed to putting all strings into strings.xml Oct 12 20:05:28 <|0xD34D|> only hardcoded strings are for log and debugging stuff Oct 12 20:05:32 I just put them all in a resource files. Oct 12 20:05:46 *file Oct 12 20:13:05 sounds like gettext Oct 12 20:13:52 osxorgate, you should just use the android resource files and folders Oct 12 20:14:43 Or did you put a bunch of strings in your source code instead of putting them in the resource files? Oct 12 20:15:07 sonOfRa: doing that, what i mean is that i want to give my translator a big list of all blah , to output that list automatically Oct 12 20:15:26 since it's scattered over a bunch of files Oct 12 20:15:49 <|0xD34D|> why not put them all in something like strings.xml? Oct 12 20:16:48 why is it scattered? Shouldn't all your strings be in res/strings.xml anyways? Oct 12 20:17:26 I keep mine in a few different files so I know where to look for strings for a specific situation. Oct 12 20:17:48 but all of them are xml files? Do they have a proper name? Oct 12 20:18:09 Do the strings have proper names? Or the resource files? Oct 12 20:18:46 'Cause I'm extremely picky about resource names. Oct 12 20:19:24 a fragment/activity gets its own resource xml file here, keeps things organized Oct 12 20:19:49 but for translations i could just extract the translatable strings to 1 file Oct 12 20:20:22 Probably. Oct 12 20:22:57 What about strings that are used in several fragments? Oct 12 20:23:09 Put 'em in a file that makes sense. Oct 12 20:23:18 It's not like there are hard rules for everything. Oct 12 20:27:40 StringsThatAreUsedInSeveralFragments.xml, obviously Oct 12 20:28:01 StringsWotHaveNoRealPolarCenterInTheirLivesResideHere.xml Oct 12 20:28:09 Ah, makes sense Oct 12 20:28:41 I should crib translations off some of my friends who speak other languages. Oct 12 20:28:59 Not actually sure if that's how I use the verb 'crib' Oct 12 20:29:23 Hm, no, apparently means steal. Oct 12 20:29:38 Naw, your crib is where you live Oct 12 20:29:40 We need a verb for "offer beer in exchange for work" Oct 12 20:41:05 entice? Oct 12 20:46:57 omg i feel so cheated !!! aparently the "docking station" i bought is only a charger ... WTF why would you call a table charger a dock .. i cant dock it to anythin ... well it has audio out so i guess you could dock it to useless speekers ... Oct 12 20:50:35 LOL Oct 12 20:54:09 grrr Oct 12 20:55:38 you got punked Oct 12 20:55:51 i guess so Oct 12 20:56:07 what else should it have? :P Oct 12 20:56:34 i should have read english version of prodduct description.... Oct 12 20:56:57 deebo: pehaps ability to connect to the computer ????? so i can use the doc while coding/testing Oct 12 20:57:10 deebo: that would be a dock in my eyes Oct 12 20:57:25 it has no usb input? Oct 12 20:57:29 i has Oct 12 20:57:39 but it is only a charger ... Oct 12 20:57:43 its so BS Oct 12 20:57:50 calling it a docking station Oct 12 20:58:07 i just have a case with a stand Oct 12 21:00:24 i dont like having a case =P Oct 12 21:00:52 Hello. Did anyone ever created a MQTT Client which reconnects in background even without wake lock (just a service, not foreground)? Oct 12 21:05:42 aw :( first thing i noticed was romain's not on the top of the list any more Oct 12 21:06:27 2 days till kitkat and nexus 5 ?? Oct 12 21:06:33 mmm kitkat Oct 12 21:06:52 where is the countdown livestream ? Oct 12 21:07:54 and version 5 will start with L maybe ? I say either liqorice or lollypop Oct 12 21:08:05 * hackkitten hands g00s a romain hat to wear instead :3 Oct 12 21:09:06 ;) Oct 12 21:09:59 did they say what was in kit kat? i can't remember now Oct 12 21:10:14 chocolate and waffles Oct 12 21:10:41 with a slight taste of key lime pie Oct 12 21:11:15 can anyone see why this is not RECONNECTING when the display is off and the connection drops/connect again? https://github.com/JesseFarebro/Android-Paho-MQTT-Service/blob/master/src/com/jessefarebro/mqtt/MqttService.java It uses the Eclipse PAHO lib... Oct 12 21:13:56 hackkitten is that a hat with a few romain lettuce leafs stuck in the band ? Oct 12 21:14:23 should be a hit with the local rabbits Oct 12 21:20:57 D34d still there ? :) Oct 12 21:23:07 When i go to the recovery option menu, can i easily update now to 4.3 ? Oct 12 21:24:55 sadolino: not really an app-dev question which this channel is intended for... but you could manually update from fastboot. Oct 12 21:25:10 sadolino: maybe better luck in #android if you need help for that. Oct 12 21:25:46 Ah k, i thought is developing because tab 3 dont have the jb 4.3 Oct 12 21:27:13 > 9 >>= return . (+1) Oct 12 21:27:33 hello. how to get the size of inputstream returned by HttpURLConnection.getInputStream(); Oct 12 21:27:43 > Just 9 >>= return . (+1) Oct 12 21:49:16 is there an Google Maps v3 for Android ?? Oct 12 21:52:35 hi Oct 12 21:57:01 how do you dereference a library project? I thought I could just edit project.properties but its still being pulled in Oct 12 22:02:32 @zquad u mean the app ? Oct 12 22:02:46 yes Oct 12 22:04:09 Look on gstore ver. 7 Oct 12 22:04:32 Hey guys, whats a reason logcat wouldn't show any exceptions from a force closing program? Oct 12 22:06:08 My app is crashing with no stacktrace left behind to figure out why./ Oct 12 22:10:55 @desmin88 the app make the force close or logcat dont show it ? Oct 12 22:11:01 i ran into an issue where my app was creation a new MediaPlayer onCreate, and had two instances running playing music. I solved it by making the variable containing the MediaPlayer instance static, but I was wondering whether there are cleaner ways to do it Oct 12 22:11:52 sadolino: app force closes after a couple seconds, logcat shows no record Oct 12 22:11:59 i am aware that there are still ongoing discussions whether singletons are good or evil, but i am interested in a solution where i don't need static variables or singletons Oct 12 22:15:06 @desmin88 did u try the log class ? Oct 12 22:15:26 Its a app in developing state ? Oct 12 22:15:33 Sry an app Oct 12 22:15:52 what? Oct 12 22:17:29 dragorn: remember couple days ago you linked me to your fragment/tabs example? Oct 12 22:17:29 Try to make a generator for the variabel, perhaps there is a final script Oct 12 22:17:44 desmin88: are you you getting literally nothing? Or do you get a segfault or something else? Oct 12 22:18:08 mmarklar: literally nothing in logcat remotely resembles a crash from my app. Oct 12 22:18:27 it opens, then force closes a second later, nothing in logcat Oct 12 22:18:55 @desmin88 try to integrate a running log method into your app with external output file Oct 12 22:19:05 want to pastebin the logs between when the activity starts + stops? I have no suggestions right now but it can't hurt Oct 12 22:19:20 Either you're filtering logcat or you're viewing the log for the wrong device/emulator Oct 12 22:19:29 There'll be something somewhere telling you it has died Oct 12 22:20:08 @desmin88 , so u dont need logcat Oct 12 22:20:35 logcat works just fine, I wouldn't redirect to a file Oct 12 22:21:05 im going to restart the emulator /as and try 1 more time. Oct 12 22:21:05 But there is no signal for the crash Oct 12 22:21:41 I couldn't use the emulator for more than a day, it was torture Oct 12 22:21:53 get a device Oct 12 22:22:00 emulator is fine for me Oct 12 22:22:04 usually. Oct 12 22:22:27 <^cheeky> shmoooz: so ... do you ever use SetRetainInstance in yoru fragments ? Oct 12 22:22:51 ^cheeky: I don't use fragments Oct 12 22:23:08 I save the states of everything and keep track of my own backstack Oct 12 22:23:56 @desmin88 try this http://developer.android.com/reference/android/util/Log.htm Oct 12 22:24:58 <^cheeky> oh man this has put me back so far behind, its insanely sad Oct 12 22:25:05 ok Oct 12 22:25:08 logcat works now Oct 12 22:25:09 yay. Oct 12 22:26:12 oh fuck me, wow that was a super simple bug. Oct 12 22:26:33 oh boy it works Oct 12 22:26:45 gee willikers Oct 12 22:26:47 ok ill stop sorry. Oct 12 22:27:02 desmin88 is "comming" :D Oct 12 22:27:21 hehe ;p Oct 12 22:27:38 just got a bit excited because i hate working with fragments Oct 12 22:29:05 let me see if I can have an erection when I get my emulator running the shitty gplay login service and the store Oct 12 22:29:17 lol Oct 12 22:29:38 @desmin88 try also this link, mainly for the last two exceptions http://developer.android.com/reference/android/app/package-summary.html Oct 12 22:29:54 sadolino: thank you but i fixed it Oct 12 22:34:32 well thats no good Oct 12 22:34:55 using setIcon on the actionbar results in the original icon showing first, then the new one showing up Oct 12 22:40:06 That's basically just an empty window based on your theme displayed until the Activity is created Oct 12 22:45:41 hi, is there anybody who can help me out with a clipboard issue? Oct 12 22:45:51 Its possible to set a feature to view the screen of the phone or tablet directly on a hdmi tv through micro usb to hdmi ? Oct 12 22:46:34 tell the clipboard issue Oct 12 22:48:32 the internal web browser of android is capable of copying images to the clipboard Oct 12 22:48:51 I like to do this with my App, but it does not work Oct 12 22:48:58 I am creating a Android Game in which i will use Finger Swipe feature as it will give direction and speed to the objects user will swipe , which framework will work better in this ? Oct 12 22:49:28 google play store depends on vending.apk googleloginservice.apk and googleserviceframework.apk, am I missing something more? Oct 12 22:51:41 @drstikko did u try to find something in the reference of android ? Oct 12 22:52:07 I'm using the gradle-anroid-test-plugin with an android library project to run unit tests, but when I run './gradlew clean check' the test class compiles but none of the tests are run. ANy idea why that'd happen? Oct 12 22:54:37 @sadolino yes, one can use txt, intents, or Uri. But all the info of the web is not helping. It just does not work or gives me text when I paste. I really like to know how the web browser does it Oct 12 22:59:19 @drstikko which internal, the one of google chrome or the other one ? Oct 12 22:59:46 hi there, I want an receiver to receive intents when someone clicks on a link with a special schema. Can someone help me formatting my manifest? Oct 12 23:00:39 the other one Oct 12 23:00:53 SimonVT: so is there a way to set the icon so it shows first rather than ic_launcher? Oct 12 23:01:16 what should I use for a thread with infinite lopp and a sleep to catch data from web and notify adapter? I can't use Thread, I can't use runOnUiThread. So what? Oct 12 23:01:27 *loop Oct 12 23:01:43 @sadolino the other one Oct 12 23:03:40 desmin88: Set android:icon on the action bar style Oct 12 23:03:54 SimonVT: thank you. Oct 12 23:04:00 (I think.. google if that's the right attribute) Oct 12 23:04:26 it is :) Oct 12 23:06:30 <^cheeky> can some one please suggest links or advice please, i am not passing context into a gridView in a fragment, but i am using getActivity.getApplicationContext(). do i need to do any clean up code in my fragment, if i am using getActivity? i have also set setRetainInstance on the fragments as well. i know on ondetatch() and onAttatch the getActivity gets destroyed Oct 12 23:07:37 @drstikko did u already look here ? http://developer.android.com/reference/android/webkit/WebView.html Oct 12 23:08:28 ^cheeky: pass context Oct 12 23:11:22 <^cheeky> ahhhhhhhhhhh, oh man you guys messing with me :(, ... i was told not pass context ... coz it will cause memory leaks , and i have seen memory leaks Oct 12 23:11:27 [00:46] (sadolino) Its possible to set a feature to view the screen of the phone or tablet directly on a hdmi tv through micro usb to hdmi ? Oct 12 23:11:43 You can't create a gridview without passing a context Oct 12 23:11:49 Noone told you not to use context Oct 12 23:12:02 Just checked, my apps are now on 1 million phones, cool Oct 12 23:12:19 We told you not to keep references to your activity after the fragment is detached from it Oct 12 23:12:37 <^cheeky> my adapter is an inner class in my fragment and i pass the context using getActivity() Oct 12 23:12:55 any suggestion for my issue guys? Should I use AsyncTask? Oct 12 23:13:03 @sadolino yes that would be a good option (was already looking at that one ;) ) but first I just wanted it to do from a 'normal' ImageView Oct 12 23:13:28 Then you need to null your reference to the adapter in onDetach Oct 12 23:13:50 <^cheeky> thank you , ill give it i a shot Oct 12 23:14:20 Just.. don't keep references to your views after onDestroyView, don't keep references to the activity after onDetach Oct 12 23:14:31 That includes any classes that has a reference to the activity Oct 12 23:14:48 You were told the same last time Oct 12 23:23:26 <^cheeky> SimonVT: sorry, my fault Oct 12 23:25:45 @drstikko try something like this , on keytouch -> open context Oct 12 23:25:59 You are trying this in a webbrowser right ? Oct 12 23:26:26 So u have to make a container with the webview to call the object Oct 12 23:27:08 Try also to integrate the picturelistener Oct 12 23:30:15 @sadolino no I am trying do do this from the app I am developing. It has an ImageView that contains a bitmap that I want to copy Oct 12 23:30:29 sorry I was offline for a view minutes. Did someone reply to my question? Oct 12 23:30:42 @saladino but maybe by replacing the ImageView for a WebView it will work Oct 12 23:30:54 Are u wotking also with java ? Oct 12 23:31:10 @saladino yes Oct 12 23:31:47 Look also at this its a mirror but it should help http://stackoverflow.com/questions/3413683/disabling-the-context-menu-on-long-taps-on-android Oct 12 23:31:59 Why does my AB Tab have this strip of holo blue at the bottom really thick? Oct 12 23:32:00 http://gyazo.com/7bca50a63a252308d19f5129277c3eba Oct 12 23:32:57 <|0xD34D|> isn't that the active tab indicator Oct 12 23:33:18 doh. Oct 12 23:35:02 @saladino maybe that's something indeed Oct 12 23:38:46 @saladino seems not to react on long presses Oct 12 23:40:05 http://developer.android.com/reference/android/view/package-summary.html Oct 12 23:40:18 Here is the context thing Oct 12 23:49:12 The way should be , ontouchevent -> open context -> ontouchevent -> choose option -> leave context after choose Oct 12 23:51:17 Drstikko the touchevent dont work ? Try it first with a button Oct 12 23:51:52 no way, google play is not running in my emulator Oct 12 23:52:06 did someone get it working? Oct 12 23:53:56 "officially" there's no way to do it Oct 12 23:54:35 @Dwo4dKnight u mean the context from your app to gstore ? Oct 12 23:55:06 Its possible to set a feature to view the screen of the phone or tablet directly on a hdmi tv through micro usb to hdmi on a tab 3 7.0 ? Oct 13 00:04:01 No one an idea ? Oct 13 00:04:19 bankai_ I see. Oct 13 00:10:18 i've created a spinner adapter in my oncreate method. How do I set the style of the spinner? it is currently light and I'd like it to be dark. I also would like it to work with actionbarsherlock Oct 13 00:12:33 @sadolino one has to implement how the context menu items will behave, so the copy behaviour has to be coded, back where I starte :( Oct 13 00:14:24 If I want to change adapter data, it's enought to edit the object that I pass to adapter and then call notifysetdatachanged right? this http://stackoverflow.com/questions/8613324/how-to-use-notifydatasetchanged tells the contrary? Oct 13 00:15:23 by the way, with this I'm not unable to update the list http://pastebin.com/4qT6f0P9 Oct 13 00:15:54 Yeah, that answer is wrong Oct 13 00:16:53 And only touch the dataset on the ui thread Oct 13 00:16:58 What should be coded the copy thing ? Oct 13 00:17:31 SimonVT: lol look at the 7 upvotes Oct 13 00:17:47 ops 6 Oct 13 00:18:04 I downvoted it Oct 13 00:18:31 will be 5 Oct 13 00:18:48 Not 6 ? ;) Oct 13 00:19:06 * gdrc have not enought reputation :( Oct 13 00:20:55 @sadolino Oct 13 00:21:08 copy bitmp to clipboard Oct 13 00:23:50 SimonVT: you say that I have to edit hd on the ui thread? mmmh so inner class is not ok Oct 13 00:30:44 Hi guys Oct 13 00:30:49 I am looking for someone to help me Oct 13 00:30:54 That might take about an hour Oct 13 00:32:19 I know it doesnt sound very...interesting Oct 13 00:32:23 But plz do help me out Oct 13 00:33:03 just ask ... Oct 13 00:33:58 hi all. is it possible to figure out the list of currently paired *and available* bluetooth devices with android? when i check the 'bluetooth settings' on my device, it lists paired devices, but those have to be cached results because the devices aren't even in range Oct 13 00:34:21 Well, I mean i kinda cant. I need someone to help me just basically teach me I guess. I am trying to learn android programming from the dev.android.com guide, but well will it benefit me? I got an idea for a app that will help a gaming comm Oct 13 00:35:20 KingInTheNorth10: d.adroid.com is the best way to learn android dev Oct 13 00:36:04 kk :? Oct 13 00:36:06 :/ Oct 13 00:36:15 How long does it take usually? S Oct 13 00:36:22 Since I am kinda rushed to make this app Oct 13 00:36:27 And am only 13 Oct 13 00:38:16 It is just really complicated Oct 13 00:38:22 KingInTheNorth10 when you are ready, the teacher will appear ;) doesn't sound like you're ready yet though. Oct 13 00:38:49 Urghh Oct 13 00:38:55 What does that mean? Oct 13 00:39:01 Well, should I learn Java first? Oct 13 00:39:06 yes Oct 13 00:39:12 O.O Oct 13 00:40:16 Should I just give up? Maybe Im rushing making the app too much? Oct 13 00:45:15 KingInTheNorth10: whats the app? Oct 13 00:47:13 It is going to be a helper to a game that will calculate the amount of something that will be made once combined. Oct 13 00:47:24 Algorithm really simple...Just dont know how to start Oct 13 01:01:31 does anyone know what BluetoothAdapter.getBondedDevices () actually does? does it just return a list of devices that may have been paired to your adapter at some point in time? Oct 13 01:02:01 it seems so useless Oct 13 01:13:45 KingInTheNorth10: uhh that is the most vague description of an app ive ever heard Oct 13 01:14:23 I need to make an app that allows someone to select 1 of 10 fields, and then input a number. It then uses input/2*Sucess_chance to find the amount of ancient, chaos, ultimate, god, s god, ss god, u god, supremes, elders, and outers Oct 13 01:14:31 Better demin88 ^? Oct 13 01:14:59 bit better Oct 13 01:15:02 do you know java? Oct 13 01:15:23 No...That's my problem. Oct 13 01:15:33 And this specific gaming community needs this app Oct 13 01:15:35 badly Oct 13 01:15:36 You're not getting around learning java for Oct 13 01:15:52 yeah then you're not gonna be able to make this app sadly Oct 13 01:15:55 Then it badly needs to find someone else to do it. It might sound tough, but you will not get anywhere without java Oct 13 01:16:07 U sure? Oct 13 01:16:10 positive Oct 13 01:16:23 Couldn't I find an example of an app somewhat like it and modify? Oct 13 01:16:26 no Oct 13 01:16:38 Y not? Oct 13 01:16:49 you dont know java Oct 13 01:17:23 O.O Oct 13 01:17:28 so, learn java well Oct 13 01:17:31 then, learn android Oct 13 01:17:34 then, make app. Oct 13 01:18:13 haah Oct 13 01:18:22 u make it sound simple Oct 13 01:18:33 not really Oct 13 01:18:34 KIngOfNorth: you can try phonegap Oct 13 01:18:43 phonegap? Oct 13 01:18:49 google it Oct 13 01:19:03 yep Oct 13 01:19:05 One sec Oct 13 01:19:39 I need assistance in understanding the Context parameter for the PendingIntent constructor getReceiver(Context context, int requestCod, Intent intent, int flags) Oct 13 01:21:27 In the developers guide, the Context is defined as 'the Context in which this Pendingintent should start the Activity' Oct 13 01:22:17 sorry, 'should perform the broadcast' * Oct 13 01:23:34 KIngOfNorth guess what, you're in luck. Big Nerd android e-book is 50% off *today* only http://www.informit.com/ Oct 13 01:23:56 grab it, read it, learn java, and then come back with some real questions Oct 13 01:24:03 so would this mean that the Intent, the action to be performed, is to be broadcasted to whichever Activity contains an assigned BroadcastReceiver that can handle this action? Oct 13 01:25:05 of course, after learning all of that, you might be the one answering questions ;) Oct 13 01:27:25 Hi everyone, I want to pass an objetc do a constructor and change it's value in a different method (other inside the class that has the constructor that recieves the objetc, is it possible? How can I do that? Oct 13 01:28:26 It is possible. Oct 13 01:29:19 Seeing how all files within the same project hierarchy can make contact with one another. Oct 13 01:33:04 create a constructor that accepts whatever object you want as a parameter and pass that object into the desired method, which should be included in the constructor, as a parameter to that very method. Oct 13 01:35:26 thanks! Oct 13 01:35:30 I'll try it Oct 13 01:40:33 guys i followed googles guide to make a spinner adapter for navigation in the actionbar. It works well except it doesn't load instantly when I open the app, theres like 2-3 seconds lag before it replaces the title with the adapter. The default calendar app has it open instantly, how can I mimick this? Oct 13 02:24:33 hi how can i edit a string in my project Oct 13 02:24:37 like @string/blahblah Oct 13 02:24:41 i dont know where that string is located Oct 13 02:25:18 res/values/strings.xml Oct 13 02:25:35 thanks Oct 13 02:33:18 Anyone still online here ? Oct 13 02:33:38 nope Oct 13 02:33:54 Im wondering something, the fota service of samsung is it working with certificates ? Oct 13 02:34:38 * SpeedEvil misread that as futa service. Oct 13 02:34:45 :) Oct 13 02:34:49 :facepalm: Oct 13 02:35:10 What ? Oct 13 02:36:07 What does it mean misread futa service ? Oct 13 02:36:36 nothing Oct 13 02:37:07 sadolino: as for the samsung's ota, I think it does check signatures, but no idea about the rest Oct 13 02:37:21 checking signatures of updates is part of standard recovery image, iirc Oct 13 02:38:05 If i have a completly finished jb 4.3 with drivers for galax. Tab 3 can i send it through the fota serv. . Oct 13 02:38:09 ? Oct 13 02:38:56 no Oct 13 02:39:19 Also when i had the signatures Oct 13 02:39:32 you have to flash it locally, you don't have signatures for samsung's code to accept them Oct 13 02:40:37 i would like to hide the label for an activity entire, how can I do it? I did requestFeature with Feature_No_Title, but no luck Oct 13 02:41:05 But when i flash it, i have to use a custom rom Oct 13 02:42:16 sadolino: yes. Because Samsung's code won't accept update package not signed by samsung. You'll have to flash custom kernel (if it's exynos-based. Dunno about qualcomm versions) Oct 13 02:43:10 Rom = firmware right ? Oct 13 02:43:29 yes Oct 13 02:43:51 anyway, good folks at #android-root, #xda-developers and few other places might be more helpful Oct 13 02:43:59 xximjasonxx: did you call it before the super ? Oct 13 02:44:23 super.onCreate* Oct 13 02:44:23 neigh Oct 13 02:45:27 you gotta dothat, or set a theme that uses noTitleBar Oct 13 02:45:36 * xximjasonxx curses Oct 13 02:46:07 For example, i have a custom rom what is similiar to the original one, only a signature is integrated, i have a custom fota service updater also with the same signature and the jb 4.3 which has also the signature, is it working then ? Oct 13 02:46:26 sadolino: #android-root ... Oct 13 02:47:10 sadolino: while Samsung is very happy to leave stuff unlocked, no, they won't allow you to push your own code through their own update procedure Oct 13 02:47:33 and as I said, other channels might be more fitting Oct 13 02:47:36 Why root , its a generall question to update to jb 4.3 and for the fota service in relation with signatures Oct 13 02:48:11 And when u hsve your own update service created ? Oct 13 02:48:16 sadolino: because you're not doing an update of official firmware (that would fit more in #android, btw), but custom one Oct 13 02:48:26 Ok i try in another channel Oct 13 02:48:27 thus, -> #android-root Oct 13 02:49:02 as for OTA, it works simply by placing the file in the right place and rebooting to recovery in a way that lets recovery script understand that it has to apply an update file Oct 13 02:49:20 Yh but there is always the question if the last uptodate os is good enough ;) Oct 13 02:49:36 So the next strp is the develope Oct 13 02:49:47 ok so, is there a way to get the action bar WITHOUT any text on the left, just the action items? Oct 13 02:49:49 Sry step Oct 13 02:50:16 without a custom view being used Oct 13 02:50:47 Use android:displayOptions to tell it what to show Oct 13 02:50:57 And when samsung cant help u have help by yourself Oct 13 02:51:11 To Oct 13 02:51:44 .... Oct 13 02:53:06 anyway, I have no reason to assume that somehow Samsung left open a way to load unsigned updates through their OTA process (they left the bootloader open for tinkerers, though) Oct 13 02:53:18 SimonVT, still shows the damn icon Oct 13 02:53:39 so without signing keys, you can push anything through it Oct 13 02:54:37 Naw, it doesn't Oct 13 02:54:48 Yh u are right when u using thd fota but if u have another updater, i meant Oct 13 02:54:58 The sry Oct 13 02:55:35 sadolino: and to put in another updater you need to root and replace recovery. Simple :) Oct 13 02:56:10 SimonVT, then i must be doing something wrong :) Oct 13 02:56:19 Most likely Oct 13 02:56:48 I just tried to install Android Studio 0.2.13 over my old install.. and now I can not create a new project... I am getting this message: Oct 13 02:56:50 Your Android SDK is out of date or is missing templates. Please ensure you are using SDK version 22 or later. Oct 13 02:57:04 After the flash process the root right is away until I will activate it ? Oct 13 02:57:31 And I have tried to goto configure, project, proj structure, sdk.... reset them... and still get a problem Oct 13 02:57:35 any ideas out there? Oct 13 02:57:44 JakeWharton: you there? Oct 13 02:58:02 sadolino: I really, really suggest #android-root or #xda-developers - they might be better equipped to teach you about it Oct 13 02:58:18 SimonVT, anything more needed besides this: getActionBar().setDisplayShowTitleEnabled(false); Oct 13 02:58:19 @irishgringo backup projects and uninstall it all, reinstall " Oct 13 02:58:58 xximjasonxx: Well yeah.. That just hides the title, not the icon(/home button) Oct 13 02:59:39 sadolino: I fixed it... not sure what i did right... but I reselected the SDK for the 15th million time... Oct 13 02:59:51 funny how things work just after you have asked the quesiton **** ENDING LOGGING AT Sun Oct 13 02:59:58 2013