**** BEGIN LOGGING AT Thu Jul 17 02:59:59 2014 Jul 17 03:02:30 bankai_au taking a break from android :) no idea; gradle Jul 17 03:02:58 taking a break and doing what ? Jul 17 03:05:26 R Jul 17 03:05:33 JS, D3 Jul 17 03:05:44 clojure Jul 17 03:06:20 maybe julia if there is any room left Jul 17 03:06:27 in my small brain :) Jul 17 03:06:42 *coughs*robovm Jul 17 03:06:47 lol Jul 17 03:07:07 i'll have some rx questions when i get back to java / android land :) Jul 17 03:07:13 nearly finished my surefire provider for it ;) w00t unit testing... but no mockito/powermock :( Jul 17 03:10:10 thats great bankai_au Jul 17 03:10:30 what is surefire? that sounds like a flashlight :) Jul 17 03:12:04 surefire is for maven (specifically?) for unit testing Jul 17 03:12:10 bankai_au, why surefire if you're not using maven Jul 17 03:12:28 or rather why are you using maven in the age of gradle Jul 17 03:12:47 coz the robovm gradle plugins is shite Jul 17 03:13:21 g00s: so this provider compiles your java code with robovm, generates a java class to run your tests, then starts the sim, runs it and returns the results Jul 17 03:13:38 I see, so you're building for ios... Jul 17 03:13:50 interesting Jul 17 03:14:17 i wouldn't mind writing this for gradle coz maven is annoying the f outta me, but i don't know anything about it other than the limited stuff i do with android. How does it run unit tests? Jul 17 03:15:34 ideally i'd love to fake the environment like robolectric does, but i'm not sure how possible that is Jul 17 03:15:40 bankai_au hm i thought one of the complaints against gradle-plugin is thats its 'hecky' to do unit tests Jul 17 03:16:15 do you know any more detail than that ? Jul 17 03:16:55 no, not really. i bet JakeWharton does. i remember either xav or someone acknowledging that people wanted that, but at the same time reaffirming that testing on the emu was the best way Jul 17 03:17:30 as far as the plain vanilla gradle stuff - not android - you can ask in #gradle Jul 17 03:18:02 i was going to write a gradle plugin, but it would need to integrate with the android build one - and i think that api is in flux Jul 17 03:18:53 i guess they are working on stabilizing that Jul 17 03:19:15 AS and gradle seem to be in a constant state of 'stabilising' Jul 17 03:19:34 we have to clarify gradle vs gradle-plugin Jul 17 03:19:47 gradle itself, they do a good job of backward compat Jul 17 03:20:07 as i understand, in gradle 2.0 basically they shed a bunch of deprecated stuff Jul 17 03:20:24 but the android gradle-plugin - yeah, thats in a lot of flux Jul 17 03:21:20 somebody will get rich writing a book about that :) Jul 17 03:21:30 * g00s nominates bankai_au to write the book Jul 17 03:22:24 still smoke and mirrors to me Jul 17 03:22:49 luckily now, as opposed to 6 mos ago, there is a thorough book on gradle itself Jul 17 03:22:58 AS is pretty stable and works better than Eclipse even with its glitches Jul 17 03:23:03 for example, if you wanted to write a plugin, it seemed to have enough beef Jul 17 03:23:20 its from manning Jul 17 03:23:45 http://www.amazon.com/Gradle-Action-Benjamin-Muschko/dp/1617291307 Jul 17 03:26:52 unit test support is coming Jul 17 03:27:10 also, nobody gets rich writing books Jul 17 03:27:32 maybe famous, a little bit :) Jul 17 03:27:57 yah, i would like see a book published by JakeWharton Jul 17 03:28:02 :) Jul 17 03:28:09 i would never write a book Jul 17 03:28:26 'The collected writings of JakeWharton' Jul 17 03:28:28 condemning knowledge to an immutable form is just about the most idiotic thing one could do Jul 17 03:28:37 Too bad. we could all benefit from your knowledge Jul 17 03:29:17 maybe a book on how to think like JakeWharton that would be much better than a book on the techinal part. Jul 17 03:30:42 Leeds: I communicate =P just slowly Jul 17 03:30:57 that's a combination of Effective Java and the Encyclopedia of Beer Jul 17 03:31:49 i'll print/bind up his blog and twitter feed and sell it to you, eln Jul 17 03:32:33 too bad, bankai_au. Anyone in this channel will be able to google his works. :P the book is DOA. :) Jul 17 03:34:40 i would think most people who come here can use google, but time and time again it's evident they can't Jul 17 03:40:54 hey, so I'm running arch. I had platform tools sitting in my Documents folder. Then I installed android-tools from community, so that I wouldn't have to keep typing the full path to the executable. Now android studio seems to have screwed up. When I click run, I get "waiting for ADB", and then "ADB not responding". I'm not 100% that installing the android-tools package was the problem but it might be. Any ideas? Jul 17 03:41:10 God, I hate the changed permissions dialog in the play store... Jul 17 03:41:28 it doesn't show anything changed anymore, it just lists all permissions... Jul 17 03:42:13 sullyj3, set ANDROID_HOME maybe... Jul 17 03:42:28 I don't recall how the sdk path is set Jul 17 03:42:40 maybe in project structure Jul 17 03:42:50 pfn: Cheers. I'll research that, and check in if I have issues. Jul 17 03:43:21 pfn but wait, you said android permission system was fine :) Jul 17 03:43:48 yeah , its a ton of BS now. if you had SMS_READ, you can update with SMS_WRITE and the user CAN'T FUCKING TELL Jul 17 03:43:59 that, my friends, is bullshit Jul 17 03:44:47 99.999% of people don't care Jul 17 03:45:18 if people didn't care, then they wouldn't even bother prompting Jul 17 03:45:30 at this point, the prompt is useless Jul 17 03:45:42 and it further encourages people to not care Jul 17 03:46:04 now people WILL blindly accept Jul 17 03:46:20 rather than evaluate the required permissions Jul 17 03:50:31 wouldn't it be better for google to form a team to filter the app just like AppStore? it reduces the hassle for users. Jul 17 03:51:00 That kinda goes against the whole spirit of android. Jul 17 03:51:00 but well, google would probably not do that. lol Jul 17 03:51:02 fuck the appstore Jul 17 03:51:57 actually, I'd consider fucking with iOS if I could do it in haskell, but that looks basically impossible Jul 17 03:52:07 to protect users, sometimes it is needed. . Users are like lamb, i believe stevejob agrees on this. Jul 17 03:52:09 lol Jul 17 03:52:11 about as effective as doing haskell on android Jul 17 03:52:16 which isn't Jul 17 03:52:32 eln: those are two completely separate things Jul 17 03:52:40 and I care what Steve Jobs thinks? Jul 17 03:53:07 you don't have to.. i am just saying. it's his perspective. Jul 17 03:53:13 to each its own Jul 17 03:53:16 and? Jul 17 03:53:41 psst. pfn don't get to work up. i am just saying :) Jul 17 03:53:51 eln: just ignore him Jul 17 03:53:54 or her Jul 17 03:54:57 JakeWharton :) Jul 17 03:54:59 pfn: lol I ended up restarting android studio, and it worked. Jul 17 03:56:48 ok who farted. Jul 17 03:57:50 Say I do a System.out.println(), will it actually show up anywhere? Like in the logcat, maybe? Jul 17 03:58:14 ron_frown lolwut Jul 17 03:58:36 meh it was on a hat my grandfather had, that looked like it had been all burned up Jul 17 03:59:10 i have a layout composed of a bunch of different images, and i want the images to scale with the layout. e.g., i might want one layout to stay 10% to the right of the left edge and occupy 30% of the width of the layout. what would be the best way to do this? Jul 17 03:59:49 JakeWharton just came across cubism (looking at d3). looks nice Jul 17 04:00:00 'tis Jul 17 04:00:12 hahah Jul 17 04:00:16 g00s: good job buddy Jul 17 04:00:23 got right into the d3 stuff eh? Jul 17 04:00:35 sullyj3: yes Jul 17 04:00:51 ron_frown yeah, looking .. i have time series environmental data Jul 17 04:00:57 nice Jul 17 04:01:07 if you have any questions lemme know Jul 17 04:01:11 I am no expert Jul 17 04:01:16 i was going to throw it into cassandra Jul 17 04:01:35 but I'd say there is a bit of learning curve to d3 Jul 17 04:01:39 cool Jul 17 04:01:46 thanks ron_frown Jul 17 04:01:49 I've yet to do any columnar work cept a bit of hbase shit Jul 17 04:01:58 any ideas? g00s? Jul 17 04:02:12 but to be honest, it seems like nothing hadoop based is really as performant as I need it to be Jul 17 04:02:14 whomp_ i'm on sabbatical Jul 17 04:02:19 sullyj3, it shows up in logcat, but better to just use Log Jul 17 04:02:31 pfn? Jul 17 04:02:40 pfn dont be a dick Jul 17 04:02:47 pfn: Yeah, found that out after a bit of googling. Jul 17 04:02:59 ron_frown,? Jul 17 04:03:02 hahahahaha Jul 17 04:03:06 just fucking around Jul 17 04:03:10 whomp_, layout weights Jul 17 04:03:21 been like 6mo since I been up in this bitch Jul 17 04:03:48 pfn, ty :) Jul 17 04:05:43 hehe, Lego movie was great. 'Everything is awesome …. ' Jul 17 04:06:02 'we are here from planet duplo, and we come to kill you" Jul 17 04:06:57 g00s: you got reliable internets now I hope Jul 17 04:07:07 yeah the tubes are working Jul 17 04:07:17 good Jul 17 04:07:19 library was such a pita :) Jul 17 04:07:33 working on anything interesting g00s? Jul 17 04:07:53 btw someone called sinbad might bug you about blue tooth but his real problem is a (im guessing) NPE with a listview Jul 17 04:08:22 lasserix i have a project that is incredibly unsuccessful. but i get interesting one-off requests from people; like this person working at a research lab in spain wanting me to hack something for CitiSense Jul 17 04:08:32 (because of that project) Jul 17 04:08:46 ahh yeah i remember that app Jul 17 04:08:49 cool Jul 17 04:09:07 that game idea i mentioned is coming along, every seems to think it might take off so we'll see ;p Jul 17 04:09:12 g00s: you got all the ingredients for good shit Jul 17 04:09:21 you just need to figure out how you can make money off it Jul 17 04:10:28 yeah, i talk to lots of interesting people from hvac to weather research, crop dusting, lots of fun Jul 17 04:11:16 lasserix: What game are you making? Jul 17 04:11:28 sullyj3 a kind of word game Jul 17 04:11:37 ron_frown check this out http://www.gizmag.com/minispec-consumer-gamma-ray-spectrometer-radiation-detector/32947/ Jul 17 04:11:41 Cool. Jul 17 04:12:05 cool thing is i'll be able to use c++ for the important part of it that makes it playable, so even if it gets cloned no one will be able to rip off the important stuff ;p Jul 17 04:13:58 lasserix, even easier to ripoff Jul 17 04:14:17 just take your so and call the lib functions directly ;-) Jul 17 04:14:32 and wrap it with a different ui Jul 17 04:20:12 pfn how do you know how to call lib functions correctly? Jul 17 04:20:54 in fact, without the correct auth key, you can just scramble the function pointers Jul 17 04:21:37 if i could only figure out how to correctly implement a finite state machine Jul 17 04:21:50 lasserix in what language ? Jul 17 04:21:56 c Jul 17 04:21:59 for the so Jul 17 04:22:06 i bet smc works for c Jul 17 04:22:12 smc? Jul 17 04:22:22 http://smc.sourceforge.net/ Jul 17 04:22:24 yup Jul 17 04:22:46 o this is just for java level stuff Jul 17 04:22:57 no, its for a bunch of languages Jul 17 04:23:17 http://smc.sourceforge.net/SmcManual.htm Jul 17 04:23:26 i've seen some guides you define an abstract state class, then make a bunch of subclasses for your state types, then each has transition(object o) where the object is the game object, which the subclass operates on to transition to such a state Jul 17 04:23:37 yeah, this basically does that Jul 17 04:23:48 doing it manually really sucks Jul 17 04:23:53 ajj Jul 17 04:23:54 ahh Jul 17 04:23:56 cool! Jul 17 04:23:57 thank you Jul 17 04:24:02 lasserix also, ragel is fucking awesome Jul 17 04:24:13 but thats is more for recognizing strings Jul 17 04:24:23 http://www.complang.org/ragel/ Jul 17 04:24:25 lasserix: woo word game! Jul 17 04:24:25 ahh man i remember when i first started out and disdained using libraries ;p Jul 17 04:24:38 Pick me if you want beta testers :D Jul 17 04:25:01 it was useful then, cause geting your hands dirty that way makes you learn a lot, but now i just want to get something working and am happy to use a library and avoid reinventing the wheel Jul 17 04:25:15 lut4rp cool msg me an email and i'll add you when i get there Jul 17 04:25:44 lasserix ragel also works very well for C Jul 17 04:25:47 lasserix: done! Jul 17 04:25:51 i've asked this before, but does anyone know an effective way to combine an enum and a bitmask? Jul 17 04:26:15 combine how ? Jul 17 04:26:39 well like you know how you can combine gravities in views? Jul 17 04:26:43 i would like to do that but with enums Jul 17 04:32:00 pfn but thanks for reminding that that is very true Jul 17 04:32:48 Hi everybody! Jul 17 04:33:50 I'm new in this channel Jul 17 04:34:21 Hello dr kerpie Jul 17 04:34:42 Hi lasserix Jul 17 04:34:43 dr derpie would be a great nick Jul 17 04:34:53 jajaja Jul 17 04:35:04 drderp Jul 17 04:35:12 * g00s wonders if a nick change is in order Jul 17 04:35:35 not my mother language, but know that you mention it... Jul 17 04:35:37 XD Jul 17 04:36:14 kerpie did you have a question? Jul 17 04:36:49 Actually I do Jul 17 04:38:28 I was playing around with the basics of Android Jul 17 04:38:39 and I found something 'funny' Jul 17 04:39:23 with the res/colors values Jul 17 04:40:05 go on.. Jul 17 04:40:20 sorry, phone call Jul 17 04:40:29 derp Jul 17 04:40:44 Dr Derp and Mr Herp Jul 17 04:41:34 In one activity layout Jul 17 04:41:43 By day doctor derp cures your cancerous moles, beautifies your skin and removes embarrasing rashes from your body. By night, mr herp is a pick up artist spreading his herp to every unsuspecting victim he comes across... Jul 17 04:42:07 the background is set to @color/custom_color Jul 17 04:42:08 this is a total meme internet troll comic waiting to happen Jul 17 04:42:19 sorry kerpie go on Jul 17 04:42:28 and I created 2 values folder for portrait and landscape Jul 17 04:42:51 kerpie, you want to do res/values-land and res/values-portrait Jul 17 04:43:02 give them the same name, but set their values different Jul 17 04:43:12 that's what I did Jul 17 04:43:14 now android will automatically resolve the correct value based on the orientation Jul 17 04:43:23 but it always loads the first values folder Jul 17 04:43:26 oh sorry you said you created two values Jul 17 04:43:43 you only have one item with two different values Jul 17 04:44:47 the background is a radial gradient (in drawable folder) pointing to colors in colors.xml Jul 17 04:46:17 it should change when orientation changes but it doesn't Jul 17 04:47:33 can you first not use the drawable, use just background? Jul 17 04:47:40 on some random view Jul 17 04:47:50 to verify the color is switching Jul 17 04:47:51 activity layout background points to gradient in drawable, drawable color points to colors.xml which should change according to portrait or landscape Jul 17 04:48:01 lasserix: hi morning Jul 17 04:48:05 are you there? Jul 17 04:48:16 kerpie: yeah you should first check that the color is switching, without using the drawable gradient Jul 17 04:48:29 kerpie: then you can try using drawable-port / land Jul 17 04:48:48 it should change, but maybe since its nested it doesn't respect the change Jul 17 04:48:54 niru sure Jul 17 04:50:01 I was using values-port / land with different colors.xml in each one Jul 17 04:50:49 I'll give it a try Jul 17 04:51:33 kerpie: yeah verify that is working Jul 17 04:51:57 by setting like a textview background (android:background="@color/whatevercolornameyoudid") Jul 17 04:52:03 then rotate your phone, see if it does change Jul 17 04:54:24 I created drawable-land and now it loads the values-land with the color I want Jul 17 04:55:16 It is weird Jul 17 04:56:29 yeah i guess nested values dont work Jul 17 04:56:35 It was supposed to load drawable (default) and then values-land to apply the new values, right? Jul 17 04:57:06 Anyway, thanks for the help Jul 17 05:00:02 anyone know if there is a finalize callback for views? Jul 17 05:00:09 i want to clear a handler of some runnables Jul 17 05:00:13 when the view gets destroyed Jul 17 05:01:04 Yeah kerpie you should see maybe you can find one of the android developers Jul 17 05:04:21 wow, this channel lost all the OG's Jul 17 05:04:31 bunch of people lurking Jul 17 05:13:54 join android Jul 17 05:21:05 * capella is a lurker, and so much more :) Jul 17 05:27:44 lasserix: I have added a MainActivity.java file in the git repository that comes with the ADT Jul 17 05:28:03 Now I want to delete the local copy of the java file and bring it from the git Jul 17 05:28:20 Do I need to just delete the local file or first I need to remove from index? Jul 17 05:28:27 What does add to index do? Jul 17 05:28:28 Good morning people Jul 17 05:28:35 solofight: morning :) Jul 17 05:29:12 i would like to become an expert in usability and user experience design for mobile and web apps (primarily mobile apps) Jul 17 05:29:43 Any genuine sources from where i can learn ? Jul 17 05:30:21 Which also gives an certificate (primarily because its an entry point) Jul 17 05:30:22 ? Jul 17 05:30:48 solofight i don't know of any UX certs. but 'The UX book" is pretty good Jul 17 05:31:02 there are 2 UX books for mobile that i am aware of Jul 17 05:31:07 one is MIt press Jul 17 05:32:19 g00s: http://www.amazon.in/The-UX-Book-Guidelines-Experience/dp/0123852412 Jul 17 05:32:21 that one ? Jul 17 05:32:29 and the other one from the MIT press ? Jul 17 05:33:02 http://www.amazon.in/Building-Mobile-Experiences-Frank-Bentley/dp/0262017938 Jul 17 05:33:12 oops, .in hehe Jul 17 05:33:32 g00s: the other one is this ? http://mitpress.mit.edu/books/building-mobile-experiences-0 Jul 17 05:33:49 yeah, one more Jul 17 05:33:58 but i can't remember :| Jul 17 05:34:17 not sure if its from MKP Jul 17 05:34:37 How to get a project from git to my local workspace? Jul 17 05:34:42 g00s: but how do companies recruit you with just the statement that i have read books ? Jul 17 05:34:59 solofight well, here at least they don't Jul 17 05:35:01 even if i do sample designs, the entry point will be a certificate or something right ? Jul 17 05:35:11 so i understand why you look for a cert, in the US i can't think of one Jul 17 05:35:22 niru: git pull ? Jul 17 05:35:48 g00s: ohhh Jul 17 05:35:51 solofight: I am not seeing that option in the gui Jul 17 05:36:03 niru: which GUI are you using ? Jul 17 05:36:23 ADT+Git (Git is a perspective in ADT) Jul 17 05:36:49 ahh, ok .. sorry i use git as a seperate instance Jul 17 05:37:08 g00s: so how do one proceed ? Jul 17 05:37:44 solofight i think many devs, assume a UI / UX role if they are in a startup - otherwise, larger companies might look for HCI people specifically Jul 17 05:38:17 this is the other one i saw, but i don't know if its good http://www.amazon.com/Mobile-User-Experience-Patterns-Sense/dp/0124095143 Jul 17 05:38:26 from MKP Jul 17 05:38:31 g00s: oh Jul 17 05:38:57 sorry i can't be more helpful there, i don't consider myself a UX expert. I just find the area interesting ;) Jul 17 05:39:37 solofight maybe try to hook up with other UX experts and ask them how they got into their roles Jul 17 05:39:47 i figure, since you sent me to amazon.com , you are in india ? Jul 17 05:39:50 amazon.in Jul 17 05:40:25 so larger companies like wipro, infosys, they would probably take in engineers, and at that point you could specialize in an area if you wanted to Jul 17 05:40:35 i had a few friends at infosys Jul 17 05:40:52 but they all wanted to go into management, otherwise it was considered a failure :| Jul 17 05:41:56 solofight: when I give $ git pull sample/src/com/example/sample/MainActivity.java in command line it says Jul 17 05:42:06 btw, the UX book is huge. it will take some time to get through :) Jul 17 05:42:07 Invalid gitfile format: sample/src/com/example/sample/MainActivity.java Jul 17 05:42:30 g00s: yes Jul 17 05:42:34 i am from INDIA Jul 17 05:44:40 g00s: i have been striving to talk to some experts in the field to understand the career path which a person could take selecting this field.. I am personally interested in these topics but if it does not lead to a promising future in my country then its something i have to think about again.. Jul 17 05:45:19 they specifically wanted to move to management because they did not like UX and considered management the way to proceed or .. ? Jul 17 05:46:44 solofight it seems to be cultural, if after a certain time at infosys/etc you were not a manager, it was like you were a failure. they considered management to be "the place to get to". myself, i'm just a dev - and don't aspire to be a manager Jul 17 05:47:12 they were just developers also working on enterprise IT systems Jul 17 05:48:12 niru: you have to be inside a git repository to pull that .java file form another git repository... if you explain clearly what is that you are trying to do, i might be of little more help Jul 17 05:49:22 g00s: oh yes, here the career improvement is like that.. anybody who wants to start as developer after x number of years move into pure management.. Jul 17 05:49:55 solofight i think UX will be in demand wherever you are. if you are interested in it, and become good at it, i would guess you'll be fine Jul 17 05:50:21 but one thing about UX, is its tough to do without being /with/ the user Jul 17 05:50:36 so, in that case, you may have to travel to visit people's working environments, etc Jul 17 05:50:44 g00s: oh Jul 17 05:50:49 which would be ethnography, etc Jul 17 05:51:36 you will typically, as part of usability, bring in a small number of users, like 5-10 , and test them Jul 17 05:51:46 so you need access to those people Jul 17 05:51:58 you will probably video record what they were doing also Jul 17 05:59:50 g00s: https://www.edx.org/course/mitx/mitx-21w-789x-building-mobile-1310#.U8dkqPmSwaw Jul 17 06:00:22 g00s: the more i hear from you, the more i want to do it asap :) Jul 17 06:00:38 found that online course which Frank is teaching Jul 17 06:00:53 worth it or you think its only worth when learned in person ? Jul 17 06:01:22 i'd learn it any way you can Jul 17 06:01:32 the edX course seems nice Jul 17 06:02:01 maybe i will try this one too XD Jul 17 06:03:23 g00s: thank you for the time and knowledge share Jul 17 06:03:31 solofight yw, and good luck Jul 17 06:03:37 thank you Jul 17 06:04:06 solofight Morgan Kaufman (MKP) has tons of books on UX / usability Jul 17 06:04:21 that is one of their specialties, check out their line Jul 17 06:06:05 solofight also check out http://www.nngroup.com/ Jul 17 06:06:32 Nielsen had a reading list somewhere, you may have to dig around for it Jul 17 06:09:41 hey niru sorry Jul 17 06:09:43 whats up? Jul 17 06:12:31 lasserix: I was waiting for you :( Jul 17 06:12:42 rea llife netsplit ;p Jul 17 06:12:47 whats up? Jul 17 06:13:24 lasserix: Through the eclipse git I am able to add to index . I can commit and I can see my local repository in git wondow Jul 17 06:13:52 lasserix: When I delete something in my java perspective my local repo working directory also gets deleted:( Jul 17 06:14:07 lasserix: I tried disconnect and delete still its getting deleted Jul 17 06:14:31 lasserix: So I have two issues now. How to save repo content even if I delete in local path. Jul 17 06:14:48 And how to pull one file from the repo Jul 17 06:15:02 niru that's how it works Jul 17 06:15:09 you delete something, git tracks it if you add it Jul 17 06:15:18 usually what people do is have a master branch Jul 17 06:15:22 then create a new branch Jul 17 06:15:25 do some work on that branch Jul 17 06:15:33 then merge that branch into their master branch Jul 17 06:15:47 and you can't pull single files Jul 17 06:15:52 lasserix: so a clone repo should be sued? Jul 17 06:15:54 it's a repo, the whole things gets pushed or pulled depending Jul 17 06:16:00 on which branch you specify Jul 17 06:16:11 lasserix: yes you are correct the whole folder comes Jul 17 06:17:21 lasserix: so Its like I should always have a master branch as backup. And get a clone of that branch. Work with the clone branch. And when I am done with all editing I just need to push this entire thing into the master Jul 17 06:19:01 lasserix: I had a sample folder in local and I commited it to the repo. Suppose next day I come to work I want a new copy of sample. I import it? Jul 17 06:19:32 lasserix: actually it is not allowing me to import in same workspace as the folder already exists. Even If I close the project Jul 17 06:23:29 how to fast switch between android studio windows (projects)? Jul 17 06:24:08 clone retrieves a repo Jul 17 06:24:11 you work on a branch Jul 17 06:24:15 usually you have a master branch Jul 17 06:24:20 to which you merge all your other branches into Jul 17 06:24:32 you dont need to import it Jul 17 06:24:45 once you switch the branch, it'll change the files which will change the project automatically Jul 17 06:24:51 (do project--> refresh) Jul 17 06:26:10 you dont really need backups Jul 17 06:26:15 because you can checkout a commit Jul 17 06:26:22 hence you can go backwards, by checking out the commit Jul 17 06:27:03 g00s: sure thanks for the link. will dig it Jul 17 06:29:47 kamol: alt+tab takes a few milliseconds Jul 17 06:31:15 JakeWharton: it doesn’t work. I am on mac Jul 17 06:31:26 command+` Jul 17 06:32:51 command+tab allow me to switch between differrent mac application. But I want switch between AS projects Jul 17 06:33:15 i just told you Jul 17 06:34:06 JakeWharton: hahaha Jul 17 06:34:19 it was there, command+` Jul 17 06:34:41 JakeWharton: ok, I learned something :) thank you! Jul 17 06:35:54 pro tip: command+shift+A to search for thing and their keymapping Jul 17 06:39:33 JakeWharton: yes it does tq! :) Jul 17 06:43:56 hello Jul 17 06:54:57 hello, can i upgrade my os motorola xt535 to kitkat? Jul 17 06:56:52 creatorb1: #android Jul 17 06:57:48 JakeWharton: yeah, but nothing real man on there now :v Jul 17 07:09:47 good morning Jul 17 07:10:28 hello Jul 17 07:11:39 Does someone here have any experience with bluetooth for Android? Jul 17 07:13:07 sindbad: maybe try asking a specific question? Jul 17 07:14:38 hi all, if I want to write an end-to-end test, that doesn't test only one specific activity, but I do need an instrumentation object, what class should I extend instead of ActivityInstrumentationTestCase2? Jul 17 07:16:28 What is the best way to store some objects based on a unique key. So that I could easily calculate the avarage / unique key? Jul 17 07:16:59 AndroidTestCase Jul 17 07:17:26 Click66: what does calculating the average get you? Jul 17 07:18:06 actually maybe InstrumentationTestCase Jul 17 07:18:08 i forget Jul 17 07:18:33 I think the former I use for unit tests and the latter for cross-activity tests Jul 17 07:18:57 desmin88: I get a list of Objects and every object as a string. Now I get that list several times. So I would like to store based on that string so that I could calculate the avarage/object Jul 17 07:19:44 what kind of objects are they Jul 17 07:20:20 desmin88: Beacon Jul 17 07:20:29 Also, I havn't been staying current with the new material design info. Has there been any information on backwards compability to api 14/15 Jul 17 07:21:18 Click66: Beacon? Jul 17 07:21:34 desmin88: yes working with the Estimote SDK Jul 17 07:21:48 ahh Jul 17 07:22:28 desmin88: appcompat will be update Jul 17 07:22:28 d Jul 17 07:22:51 have they said the scope of the updates? Jul 17 07:23:08 no Jul 17 07:23:27 i hope they port atleast the theme Jul 17 07:23:40 animations aside Jul 17 07:24:28 Click66: ok and what is the average object being calculated on Jul 17 07:24:33 i.e what data are you averaging Jul 17 07:25:00 They want average of RSSI, Distance, .. Jul 17 07:25:05 ah Jul 17 07:25:41 so each beacon object is assigned a string ? Jul 17 07:26:03 I want to store the beacons / mac address. Jul 17 07:26:18 why not map each beacon to the mac address string Jul 17 07:26:59 desmin88: that was my first thought but maybe there was something better?:D Jul 17 07:27:13 how better could it get Jul 17 07:46:32 Morning :-) Jul 17 07:54:40 does anyone have any experience programming bluetooth? Jul 17 07:55:41 whats the best game engine/framework etc Jul 17 07:59:38 sindbad: just ask your question if you have any, bluetooth is very broad topic Jul 17 08:00:33 ok I will ask the specific question Jul 17 08:02:18 this code produces toast message "connected", but when I send a string of text to the phone, (Android phone is listening), I don't get the toast message Jul 17 08:02:19 http://pastebin.com/gVvsTqCj Jul 17 08:02:26 see for your self the code Jul 17 08:03:04 all code is copied from official android guide Jul 17 08:04:01 you shouldnt copy code Jul 17 08:04:21 then you have no idea what it does or why it does Jul 17 08:05:03 yes I know what it does. I have just added a few lines of code for my application Jul 17 08:05:32 you can't invent a new thing Jul 17 08:05:43 it's already made on guide Jul 17 08:07:28 sindbad: I think your input stream in connect thread is not initialized Jul 17 08:07:33 you're calling the wrong constructor Jul 17 08:08:04 hmm let me see Jul 17 08:08:13 public ConnectThread(BluetoothDevice device) does not initialize mmInStream which you use in the run Jul 17 08:08:26 it would be good that you debug your app Jul 17 08:09:10 I'm not sure, though Jul 17 08:14:56 In eclipse, if I move Mobject class into its own package, with a method static void foo(), when another class Activity calls Mobject.foo(), the error on the accessability I can right click and auto change the visibility of the method, is there a way to do the same thing in AS? Jul 17 08:15:37 i don't understand where Jul 17 08:15:43 it's a nested class Jul 17 08:15:49 class in a class Jul 17 08:16:01 sindbad: I'm not sure, I think I confused Connect with Connected, sorry Jul 17 08:22:41 lasserix, alt+enter (on OS X) will always give you suggestions on how to correct errors in IDEA Jul 17 08:23:53 Mavrik: thanks Jul 17 08:26:52 Hello, I was thinking of implementing states for a game. From what I've seen, this is usally done by declaring a superclass State, then the subclasses such as StateStop, StateStart, StatePause, where a method transition() takes the object of the state, like transition(View v) so that the subclass state operates on the object, to change its state Jul 17 08:28:05 my question is this means for each (in this example) view object created you have n*number of states, which i imagine is not in the spirit of creating only necessary objects, is this true? or is the number really not that meaningful, as long as i'm not creating hundreds of views over and over again Jul 17 08:29:45 Mavrik: oh you have to click the red error icon, in eclipse you can just right click anywhere the error is highlighting the text Jul 17 08:29:58 or press the shortcut key combo yes. Jul 17 08:32:23 or hover your mouse over the red or yellow icons Jul 17 08:37:26 Hmm i think encapsulating the states as a set of static methods in the class is better Jul 17 08:38:10 if I call "e.printStackTrace();" does it print in to logcat, or must I call log.i()? Jul 17 08:38:10 The new crashlytics Answers stuff is sooo shiny Jul 17 08:39:24 join #androidindonesia Jul 17 08:39:44 -_- sorry, missing slash Jul 17 08:50:00 Hey, in android studio, how do I change my existing kitkat project to target api L? Jul 17 08:50:55 sullyj3: http://developer.android.com/preview Jul 17 08:53:07 sullyj3 go to build.gradle Jul 17 08:53:18 heinrisch: I already had that (or this http://developer.android.com/preview/setup-sdk.html) open. I can't find where it says how to upgrade. It only states the blindingly obvious in how to create a new project targeting L. Jul 17 08:54:23 sullyj3: the steps under Create a Project should be doable on your existing build.gradle? Jul 17 08:54:38 sullyj3: should not be much if any difference Jul 17 08:54:44 Then change the theme Jul 17 09:01:49 cheers Jul 17 09:08:30 hello Jul 17 09:08:31 if I call "e.printStackTrace();" does it print in to logcat, or must I call log.i()? Jul 17 09:08:34 Just a small doubt. Is it good to keep the minimum version of SDK to 8 or its ok If i keep it to 16 or 17 Jul 17 09:09:20 Because I see with min sdk version as 16 the appcompat library is not required Jul 17 09:09:32 the project compiles my itself Jul 17 09:09:44 please recommend me correct way Jul 17 09:10:05 Use 15 or 16, definitely Jul 17 09:10:54 Estel: Actually till now I was using min 8 how can I port them to 15 or 16? Wont I get large compilation errors? Jul 17 09:11:24 Hopefully not Jul 17 09:11:36 Estel: In AndroidManifest file right I need to modify? Jul 17 09:11:48 And build.gradle if you're using that. Jul 17 09:12:00 Estel: No I dont use gradle :( Jul 17 09:14:43 Estel: I want to have a logout link in my action bar always visible for every page Jul 17 09:14:51 Estel: will that me a menu item Jul 17 09:15:03 If it's in the action bar, sure Jul 17 09:15:07 a logout icon Jul 17 09:18:23 * lut4rp yawns Jul 17 09:25:41 when i stop on a breakpoint in android studio, how to i continue execution? Jul 17 09:26:00 F9 Jul 17 09:26:57 Zharf: thanks, just so i know, where is that in the menu? Jul 17 09:27:36 Zharf, debugger view: left side (green triangle) Jul 17 09:27:42 * nubnub Jul 17 09:28:34 perfect, thank you Jul 17 09:29:10 you might also be interested in: F8 (step over), F7 (step into) Jul 17 09:29:27 Estel: I am getting error as pasted here Jul 17 09:29:41 Zharf: i found all those buttons but they put the continue button in a diffferent place Jul 17 09:29:59 every other IDE i have ever been in put all those buttons together. Jul 17 09:30:05 afaik Jul 17 09:30:17 possibly Jul 17 09:31:32 Estel: http://pastebin.com/iVbrbAWU Jul 17 09:32:23 nubnub, I recommend the keyboard shortcuts Jul 17 09:32:56 EPG: i work in so many IDEs i forget what is what in each. Jul 17 09:33:04 i wish i could remember Jul 17 09:33:40 well, then I suggest you decide on one set of shortcuts and set them in all IDEs Jul 17 09:34:09 Yeah, that's what I do Jul 17 09:34:21 Customizeallthethings Jul 17 09:34:34 its been a long time since i've had to use a debugger for android. Log.e has always worked fine for me Jul 17 09:35:27 Estel: shoudn't menu tag be a part of LinearLayout? Jul 17 09:36:39 uhh, no? Jul 17 09:36:45 when you do a GET request with com.loopj.android.http.AsyncHttpClient, do you need to put the trailing slash on a URL? Jul 17 09:39:13 its the rest webservice thats not working, the phone is working fine. ok, that isolates it. Jul 17 09:42:51 does anyoen here know how i can prebind an xmpp session using xabber code? Jul 17 09:55:15 niru: only ~16% of android devices run <=3.0 Jul 17 09:55:42 so if you are okay with getting ~84% of android devices, target 4.0 (14) Jul 17 09:55:47 err min Jul 17 10:39:41 Hello. I have for ex. 50 custom child views inside one main view. When i call invalidate on 2 of them, dirty rectangle will be combined (union) together and it may cause do redraw all my 50 child views again. But i would like to redraw only 2 of them, which is much faster in my case. Is it possible do disable unioning of rectangles? Jul 17 10:43:11 hi, i`m trying to get the current location. Location location = lm.getLastKnownLocation(lm.getBestProvider(criteria, true)); lm is LocationManager. It works on Android 4.1.2, but on android 4.4.2 location is always null unless i open GoogleMaps, return to my app and do it again, then i got it. why is that? Jul 17 10:45:19 If nothing has previously requested the location, there'd be no previously known location Jul 17 10:47:11 SimonVT: so i have to request the location? Jul 17 10:48:05 Well SOMETHING has to Jul 17 10:49:09 If there's no last known location, just choose some default (e.g. based on Locale) until your location listener is called Jul 17 10:50:35 if you change api support from 8 to 19 to 15 to 19, can you change it bacl later to support 8 again? Alos if a device with api8 has the app installed and the upgrade is for api15+, what happens? No notification of upgrade to that device? Jul 17 10:53:20 Hey guys, if you start an activity using startActivityForResult, when it finishes with a result that has an intent, does that intent replace the launching intent of the activity? Jul 17 10:53:37 thank you SimonVT Jul 17 10:58:02 if you change api support from 8 to 19 to 15 to 19, can you change it bacl later to support 8 again? Alos if a device with api8 has the app installed and the upgrade is for api15+, what happens? No notification of upgrade to that device? Jul 17 10:59:25 You can change the supported API levels any time you want Jul 17 11:00:02 If minSdk is 15, anything <15 wont be offered that update Jul 17 11:00:34 RandomAccessFile raf = new RandomAccessFile(mypath, "rw"); <------- This line should create the file defined in mypath right? Im trying to generate an RAF for use in a network upload test Jul 17 11:07:30 SimonVT, ty Jul 17 11:08:10 android:versionCode that is the relevant one right? inc by 1 each release? and android:versionName is for show only? Jul 17 11:08:26 versionCode for the system, versionName for humans? Jul 17 11:12:14 does anyone have experience with bluetooth programming for Android? Jul 17 11:13:00 i don't get a string of text on my phone, which I should because I followed the official guide Jul 17 11:13:22 http://pastebin.com/gVvsTqCj Jul 17 11:13:25 the code Jul 17 11:31:21 hi, I want to make my webclientview app to make sure session cookies are stored when a user logs into the forum, Jul 17 11:31:33 can someone check what else i need to do.. with cookiemanager Jul 17 11:31:34 http://pastebin.com/tMNXvM2C Jul 17 11:33:22 DarkChaoz, Jul 17 11:33:56 oh wait, actually i never really worked with webView Jul 17 11:34:28 ahh Jul 17 11:34:48 thought you were creating a forum app and needed help with httpclient Jul 17 11:34:50 that i know Jul 17 11:35:11 just not sure what do next really, i have that setacceptcookie Jul 17 11:36:12 i use webview to disaplay the forum as an app (though pointless as it is, i know, but just want to use it for myself when browsing a forum for now) Jul 17 11:36:20 im just having the cookie problem Jul 17 11:37:12 Is there a app that make android icon for you for the mac? Jul 17 11:37:36 http://stackoverflow.com/questions/2566485/webview-and-cookies-on-android Jul 17 11:38:59 I've tried that, but didnt work for me. The way i did was wrong. Likely applied it wrong Jul 17 11:39:22 i'm out of options then =( Jul 17 11:39:25 sorry Jul 17 11:40:13 np, I'll just wait for someone to answer, I've been trying other similar webview & cookie options Jul 17 11:44:07 Does anyone know how to attach an xmpp session from a bosh pre-bind output? Jul 17 11:49:08 hi everybody... can anybody tell me if I have to notify the use that my app is using Google Play Services? I haven't found any information about whether google stores or analyzes any personal data through using Play Services... Does anybody have any hint about that? Jul 17 11:59:17 If I forgot the pw for my key, am I in trouble then or can this be fixed somehow? Jul 17 11:59:35 evident: they will use everything they can. because its google Jul 17 12:00:13 but if google play services is installed on the phone, they do it anyways. If its not, the user has to install it (and is warned). So You dont have to do a special notification ;) Jul 17 12:00:34 tinker: thats the chernobyl of android app development Jul 17 12:01:19 its a good idea to have the key and passwords stored at at least 10 places distributed arround the globe.. Jul 17 12:01:37 Anyone tried Google suggestion of viewing hi-res image full screen? The one on the bottom of this page http://developer.android.com/training/camera/photobasics.html Jul 17 12:01:57 danijoo_, you are serious? So I have to release the app as new again? Jul 17 12:02:02 It's not doing its job very will Jul 17 12:02:12 (not a big deal with only 10 friends using it so far though) Jul 17 12:02:53 tinker: losing the key is equal to losing every chance of using the same packagename for update / releases in app store Jul 17 12:03:29 danijoo_, I see. luckily I found that I had stored the key :) Jul 17 12:03:30 phew Jul 17 12:03:34 :) Jul 17 12:04:09 password isnt that bad if you have at least an idea of how it was because you can try to bruteforce it (if you have a good app, its worth the time) Jul 17 12:04:16 but lost keyfile is a real problem. Jul 17 12:04:54 ok so you have unlimited tries, thats good Jul 17 12:05:00 yep Jul 17 12:05:09 and therer are brutforce tools available for that. Jul 17 12:05:54 danijoo_: yeah I was thinking that already... Google will be using and getting a lot of information anyways for all the users that have the Play Services installed... My boss just wondered if we should put that we are using it into our app's Terms of Use... ;-) Jul 17 12:06:17 can anyone else help me with this, http://pastebin.com/tMNXvM2C Jul 17 12:06:42 evident: Its a good idea to mention that in your privacy policy Jul 17 12:06:43 any other cookiemanager functions i need to use to make webview to store cookies? Jul 17 12:07:56 something like "this app is using gps and google might steal your life through it" - said in a roundabout way ;) Jul 17 12:09:25 DarkChaoz: what do you want to do? Jul 17 12:09:55 danijoo_: They don't steal, they copy it. :) Jul 17 12:09:59 all you are doing there is instanciating a cookie manager.. Jul 17 12:10:03 you dont use it Jul 17 12:10:09 basically the webview displays a forum, when i go to login page i want it to store and use the cookie session Jul 17 12:10:37 ik that, thats i need to do next but not sure how.. Jul 17 12:11:05 danijoo_: ok thx Jul 17 12:13:04 any functions that will enable me to use and store cookie when logged in successfully? Jul 17 12:16:50 any idea danijoo? Jul 17 12:20:19 havnt much experience with it, sorry :x Jul 17 12:20:42 but Im wondering if it isnt neccessary to call some methods on cookie manager like getCookie, setCookie or whatever Jul 17 12:20:48 dont know, just a thought Jul 17 12:21:23 ahh Jul 17 12:21:39 i've been trying to make it work Jul 17 12:21:42 the emulator is buggy Jul 17 12:21:53 it works on emulator without the cookiemanager Jul 17 12:21:58 but doesnt work on my phone Jul 17 12:23:39 thats the most annoying errors.. Jul 17 12:23:50 and the reason i dont use the default emulator Jul 17 12:27:09 Hi, i have gpu enabled and AVD is still slow. Jul 17 12:27:12 Any reason? Jul 17 12:27:18 veQue: it sucks Jul 17 12:27:23 thats the reason Jul 17 12:27:26 =) Jul 17 12:27:34 HAX might help you Jul 17 12:27:41 well that's the fastest response time I've had Jul 17 12:27:47 HAX is on too Jul 17 12:28:11 well we just talked about AVDs 1 min before you posted, thats why :D Jul 17 12:28:18 emulator: ERROR: Could not load OpenGLES emulation library: Could not load DLL! Jul 17 12:28:19 emulator: WARNING: Could not initialize OpenglES emulation, using software renderer. Jul 17 12:28:21 emulator: device fd:536 Jul 17 12:28:22 HAX is working and emulator runs in fast virt mode Jul 17 12:28:24 emulator: warning: opening audio input failed Jul 17 12:28:27 Not too much of a flood i hope Jul 17 12:28:33 If you want a friendly tip, dont use the emulator Jul 17 12:28:42 use a real device or a real emulation Jul 17 12:28:42 heh... dat emulator... Jul 17 12:28:48 genymotion is epic Jul 17 12:28:55 =/ I don't have a real device yet. Jul 17 12:29:00 genymotion? I need to check it out Jul 17 12:29:01 veQue: genymotion Jul 17 12:29:14 ill google it Jul 17 12:29:15 its like the android emulator, but emulated with virtual box Jul 17 12:29:21 faster then a real device imho Jul 17 12:29:54 question1: If i'm doing some net stuff in my android app and I get a stacktrace in white instead of the usual red... what exactly does that indicate? Jul 17 12:30:17 Jesperhead: maybe its a warning? Jul 17 12:30:20 Jesperhead: A stacktrace does not have color. Jul 17 12:30:22 whats the error Jul 17 12:30:29 flan3002: in many ides they do Jul 17 12:30:45 Jesperhead: Yes, but you don't give us that context. Jul 17 12:30:48 danijoo_: java.io.FileNotFoundException: /java.io.RandomAccessFile@44f21950: open failed: ENOENT (No such file or directory) Jul 17 12:30:54 simple enough right? Jul 17 12:31:00 well the file is there Jul 17 12:31:12 i have a rooted device and i can see it plain as day Jul 17 12:31:18 Jesperhead: It has been printed in a different way which the IDE does not recognize and therefore not highlighted. Jul 17 12:31:19 im attempting to upload a file via post Jul 17 12:31:40 Jesperhead: Got the permissions? Jul 17 12:31:45 I guess its some kind of warning from a library (it puts the error to logcat but skips it) Jul 17 12:31:52 its for a network speed test, and im generating the file to mimize package size Jul 17 12:32:02 flan3002: im writing to internal, no permissions needed Jul 17 12:32:04 i rather use my phone Jul 17 12:32:17 i have like 4 copies of the apks lol Jul 17 12:33:32 Can anyone remember the name of that library that kind of maps URIs to my application activities/fragments/data? Jul 17 12:35:16 danijoo_: do you use the free version? Jul 17 12:35:32 yep Jul 17 12:38:22 Doesn't the "Export signed application package" say anything when it is done? Jul 17 12:38:35 And is it aligned after it has been exported? Jul 17 12:38:35 tinker: which IDE Jul 17 12:38:40 danijoo_, Eclipse Jul 17 12:38:49 gradle? Jul 17 12:39:03 dont know, just installed from googles homepage, using ubuntu Jul 17 12:39:46 i meant your project structure. is it gradle based? (then you have a build.gradle) file in root directory Jul 17 12:41:15 danijoo_: do you mind looking at my asynctask? maybe im missing something... Jul 17 12:41:28 yeah. I can try.. Jul 17 12:41:31 http://pastebin.com/VP54CUgy Jul 17 12:42:08 I am trying to get the RemoteController api which has been introduce wiht api 19 to work with api14+ since the api is already available there but hidden. got everything to work so far, only problem left is that proguard seems to ruin my build which results in a AbstractMethodError on startup on devices any ideas on how to properly configure proguard? Jul 17 12:42:28 danijoo, no, no gradle file Jul 17 12:42:33 whats the problem with that task Jesperhead Jul 17 12:42:42 there is a proguard file Jul 17 12:42:46 tinker: then you have to zipalign manually i guess Jul 17 12:42:53 well nothing crashes, but when i try to run it I guess that earlier filenotfoundexception Jul 17 12:43:00 I get* Jul 17 12:43:01 at which point Jul 17 12:43:10 a stacktrace would be helpful ;) Jul 17 12:43:14 aye Jul 17 12:43:22 immediately after fileGen gets called Jul 17 12:43:30 after or in filegen? Jul 17 12:43:41 V/fileGen:﹕ fileGen exiting Jul 17 12:43:43 after Jul 17 12:45:24 danijoo, is there no "export finished" dialogue popping up? the .apk file is created but i would like to know if that means it is finished... Jul 17 12:45:55 tinker: Im not using eclipse, sorry Jul 17 12:46:07 it it is there, it is there ;) Jul 17 12:46:17 also, can I use permissions in my app without asking for them? (i am asking this to know if it is possible to make a mistake here, not do anything malicious) Jul 17 12:46:32 i have a stacktrace coming Jul 17 12:46:38 tinker: no. if you try to use a permission you dont have, the app will crash Jul 17 12:46:44 good Jul 17 12:48:41 Jesperhead: stacktrace would be helpful Jul 17 12:48:52 danijoo: http://pastebin.com/QxquWakz sorry boss pinged me Jul 17 12:49:02 beside that, it this is for a speedtest, I wouldnt write the file to getDir("speedtest") Jul 17 12:49:07 better use the cache directory Jul 17 12:49:22 then you dont have to manage deletion manually Jul 17 12:49:25 danijoo, exporting in eclipse apparently zipaligns as well. Jul 17 12:50:19 danijoo: cool thats not a problem. Jul 17 12:50:21 tinker: did you made bluetooth app for connecting with HC-05 Jul 17 12:51:05 Jesperhead: line 31ff Jul 17 12:51:18 there is a try without a catch Jul 17 12:51:39 a try without catch is pointless Jul 17 12:51:43 wat? no way.... Jul 17 12:51:48 didnt even know that this compiles. Jul 17 12:51:56 it shouldnt, has to be a mistake Jul 17 12:52:23 line 32 is the point the trace mentions Jul 17 12:52:36 so this might be the point Jul 17 12:53:39 Can you send APDU commands to rfid card from android? Jul 17 12:54:28 lol danijoo for me line32 = public class uploadtest extends AsyncTask{ Jul 17 12:54:47 sindbad, nah have only tested bluetooth once against my PC. dont remember much Jul 17 12:54:52 i guess the asynctask is in another file then Jul 17 12:55:07 so the stacktrace line numbers are other then the pastebin from you.. Jul 17 12:55:24 danijoo: yeah, no imports/package name Jul 17 12:55:59 whats line 118 and 32 in the pastebin Jul 17 12:56:09 thats the lines causing the error Jul 17 12:56:31 right. line 118 is reqEntity.setContentType("image/jpeg"); but I think its really line 117 causing it Jul 17 12:56:44 yeah Jul 17 12:56:53 stacktrace wouldnt make sence if its 118 Jul 17 12:57:30 curses. brb excusing myself to the bathroom Jul 17 13:06:27 Hi, how can I make a file known to the system so it shows up when the device is connected via USB and access is via MTP? I have binary data files. Jul 17 13:06:46 freiform: Any file is 'known to the system'... Jul 17 13:07:27 flan3002: ok, but how to get it to show up via MTP? Jul 17 13:08:02 I don't use MTP. Which directory does it mount/show by default? Jul 17 13:08:57 freiform: It should always show up, but if I remember correctly there is a bug in android Jul 17 13:09:21 which is why mtp needs some time to refresh before it shows new files Jul 17 13:09:23 s/there is a bug/there are loads of bugs/ Jul 17 13:09:30 there was a workaround for it but i cant remember it. Jul 17 13:09:53 hi, was wondering if anyone knows of a opensource widget with directional buttons (up,down,left,right,stop) that I can download and integrate into a project eclipse project easily? Jul 17 13:11:08 it appears that is my problem. I create a folder in sdcard/ and write binary data to it (raw audio and features extracted from this audio data. ) if i use a browser on android and refresh, teh fiels show up. If i connect to a windows machine (USB/MTP) I cannot see the data. I have to reboto the device, run some SDcard scanner or copy the files using a browser on android. this is ratehr iconvenient. Jul 17 13:12:32 what is an expansion file? Jul 17 13:13:44 tinker: its an additional file with resources Jul 17 13:13:51 lets say your app is a game with 2 gb Jul 17 13:13:56 i got it Jul 17 13:14:04 i should learn to google :) Jul 17 13:14:05 ty Jul 17 13:14:10 :) Jul 17 13:14:18 notifications for new versions are sent automatically right? Jul 17 13:14:32 so I dont have to add anything to the app so that my users will be notified? Jul 17 13:14:48 tinker: yes, google play does that Jul 17 13:14:54 and uploading a new version can take a day until it is available? Jul 17 13:15:07 tinker: from experience it takes around 2h Jul 17 13:15:13 tinker: android handles that for you Jul 17 13:15:23 yeah thats a good number heinrisch Jul 17 13:15:40 ok, ty. Jul 17 13:15:50 How is "Top new games" calculated? Jul 17 13:16:02 downloads and grades are weighted and summed? Jul 17 13:16:46 hi all Jul 17 13:17:41 i'm doing a little app just for test google maps... but when i run it i have this error on runtime http://pastebin.com/a0fvBEzA Jul 17 13:17:58 ask google. their store. their algorithm. Of course tainted to them earning money. Jul 17 13:18:06 Caused by: android.view.InflateException: Binary XML file line #12: Error inflating class fragment Jul 17 13:18:07 tinker: thats a secret. but i guess its mostly a chartlist of new users compared to current users Jul 17 13:18:24 ok Jul 17 13:18:42 some tips? Jul 17 13:19:38 tinker: the official formula is not know, but it should consider installs, uninstalls, rating, etc Jul 17 13:20:56 and this is my xml layout: http://pastebin.com/DJXSPjGq Jul 17 13:21:03 why i have error? Jul 17 13:23:13 Alfreda: have you checked the line 28 from your error http://pastebin.com/a0fvBEzA Jul 17 13:24:49 jush: i dont undstand this error :( Jul 17 13:25:25 in my manifest i have: http://pastebin.com/wafcaA15 Jul 17 13:25:52 Alfreda: you should not post your key publicly Jul 17 13:26:02 ah ok sorry Jul 17 13:26:13 and the error is says: "You must have the following declaration within the element: " Jul 17 13:26:46 Alfreda: don't says sorry to me, its for your own security, just remember to change the key Jul 17 13:26:54 ok Jul 17 13:27:35 heinrisch: I'm curious, isn't the key checked against his signature key? How can other exploit it? Jul 17 13:27:37 heinrisch: you mean this: meta-data android:name="com.example.test.API_KEY" ? Jul 17 13:27:57 Alfreda: no, read the error carefully Jul 17 13:28:07 Alfreda: just read the error and do what it says Jul 17 13:28:18 i dont undstand... how i must edit manifest.xml? Jul 17 13:29:12 i must write meta-data android:name="com.google.android.gms.version" instead of meta-data android:name="com.example.test.API_KEY" ? Jul 17 13:31:11 jush: your might have a point, now I have to read about this :) Jul 17 13:31:27 heinrisch: ? Jul 17 13:31:29 jush: ? Jul 17 13:33:01 Alfreda: the error doesn't say anything about replacing any other meta-data just add the line the error says Jul 17 13:33:05 Alfreda: read the error, it says exactly what you should add and where Jul 17 13:35:13 jush: read this: https://developers.google.com/maps/documentation/android/start Jul 17 13:35:17 is incorrect so? Jul 17 13:35:44 Jul 17 13:35:59 Substitute your API key for API_KEY in the value attribute Jul 17 13:36:08 Alfreda: read the error Jul 17 13:36:13 * danijoo sighs Jul 17 13:36:15 it says nothing about API_KEY Jul 17 13:36:23 is different from manual! Jul 17 13:36:40 no its not, its a different part of the manual Jul 17 13:36:47 I did this just two days ago Jul 17 13:36:59 heinrisch: no Jul 17 13:37:01 is same! Jul 17 13:37:38 its right there: https://developers.google.com/maps/documentation/android/start#add_the_google_play_services_version_to_your_apps_manifest Jul 17 13:37:41 just give up on that. its always the same heinrisch Jul 17 13:38:13 hehe Jul 17 13:39:12 i dont unstand! why i have 2 different Jul 17 13:39:12 android:name="com.google.android.gms.version" Jul 17 13:39:12 android:value="@integer/google_play_services_version" /> Jul 17 13:39:12 OR Jul 17 13:39:12 android:value="Adasfksdaflkas....."/> Jul 17 13:39:13 ?????? Jul 17 13:39:47 Alfreda: you know what meta-data is? Jul 17 13:41:13 danijoo: a list of values Jul 17 13:41:24 correct. Jul 17 13:41:31 2 times meta data -> 2 values Jul 17 13:41:43 danijoo: if you like to try my game (or anyone else for that matter, check out: https://play.google.com/store/apps/details?id=com.sj.worldcupquiz Jul 17 13:41:44 and you need them both Jul 17 13:41:57 danijoo: ahh ok Jul 17 13:42:02 i must insert 2 time Jul 17 13:42:07 no one time Jul 17 13:42:09 each Jul 17 13:42:20 yes Jul 17 13:42:20 ... Jul 17 13:42:25 2 different Jul 17 13:42:27 metadata Jul 17 13:42:39 tinker: "worldcupquiz"- the only thing I know about this is that my country won :D Jul 17 13:43:26 Hey guys, I'm writing an Android SDK and I'd like to support WebViews with it too. I wrote a javascript file and a Java class using Javascript interfaces that should allow the JS to call the Java methods. My problem is that JS doesn't require you pass a specific number of arguments to a function, so when the Java gets the JS arguments as an array of strings, it's possible for there to IndexOutOfBoundsExceptions. Is there an Jul 17 13:43:45 can I apply both a weight and a gravity? Jul 17 13:43:49 to a textview Jul 17 13:43:51 danijoo: is correct now? Jul 17 13:43:52 http://pastebin.com/QNmuYK5e Jul 17 13:43:53 For BLE to disconnect a device all I have to do is call gatt.disconnect()? Jul 17 13:44:23 Syzygy__: I don't think gravity will matter if its in a linearlayout with weights Jul 17 13:44:39 ok it work now! Jul 17 13:44:49 ok, that might explain why my gravity isn't applied, thanks heinrisch Jul 17 13:47:01 danijoo: yes i was happy for germany. they played well. nice country too :) Jul 17 13:47:37 last game was a bit lucky though (the only one I watched) Jul 17 13:47:54 Was a very close one Jul 17 13:48:14 Yeah, but what did we expect... Jul 17 13:48:39 I barely know anything about the worldcup except that someone bit someone else and someone bet on that happening. Jul 17 13:49:50 Syzygy__: there was also someone betting that germany wins 7:1 against brazil. If I remember right he bet 20$ on a quote of 2300:1 Jul 17 13:50:05 and made 46000$ of it Jul 17 13:50:10 nice Jul 17 13:50:45 must be a really early bet before the cup even started Jul 17 13:52:00 pfn: heres the screen Jul 17 13:52:00 http://i.imgur.com/beMdu8T.jpg Jul 17 13:52:21 danijoo: W ITALY Jul 17 13:53:37 oh wins as in score 7-1 Jul 17 13:53:39 ok Jul 17 13:54:29 thats been pretty much debunked. bet265 doesnt deal in USD. Jul 17 13:54:35 bet365. Jul 17 13:55:19 It could be true : but a very dodgy looking betting slip. details here: http://www.sbnation.com/lookit/2014/7/9/5883619/germany-brazil-bet-slip-reddit-image Jul 17 13:56:02 so it seems to be just on of that reddit lies :p Jul 17 13:58:40 I am trying to get the RemoteController api which has been introduce wiht api 19 to work with api14+ since the api is already available there but hidden. got everything to work so far, only problem left is that proguard seems to ruin my build which results in a AbstractMethodError on startup on devices any ideas on how to properly configure proguard? Jul 17 13:59:07 I have posted a more detailed explanation on stackoverflow http://stackoverflow.com/questions/24805568/proguard-makes-my-remotecontroller-compat-implementation-crash-on-api19-devices Jul 17 14:00:53 Any NDK developers? Do you need both the 32bit and 64bit target versions installed? And do I need to create gradle flavors for both? Jul 17 14:04:28 Is there any way i can copy CheckBoxPreference style to my own preference? I want the padding and textsize. The text there looks something like semi-bold.. It's the same font-family i think but just a little bolder than mine i have no idea how to achieve that.. Jul 17 14:09:24 how add in a google map the geolocalization and focus on my position? Now i view map of the world! Jul 17 14:19:28 Morning. Jul 17 14:19:33 hi Nichod Jul 17 14:19:33 colintheshots, it's ndk and irrelevant of gradle Jul 17 14:19:57 pfn: yes, but I need to build the resulting .so into the project Jul 17 14:20:18 MrMaffen, told you yesterday, tell proguard not to mangle the class name and members Jul 17 14:20:23 Anyone have thoughts to share on the best Android test devices for phone, and tablet? Is it ideal simply to go the Nexus route? Jul 17 14:20:26 colintheshots: Would you mind showing me your gradle build file if you figure it out? Jul 17 14:20:35 MrMaffen, alternatively -dontobfuscate Jul 17 14:20:37 flan3002: not there yet Jul 17 14:21:00 colintheshots, put the output into the place gradle picks it up from Jul 17 14:21:20 colintheshots, again, doesn't matter to gradle Jul 17 14:21:38 pfn: so different ABIs are handled automatically? Jul 17 14:21:58 colintheshots, yes Jul 17 14:23:36 * pfn ponders a good way to do build flavors in his plugin Jul 17 14:23:50 pfn: I already have -dontobfuscate in my proguard config Jul 17 14:24:01 Any thoughts are appreciated. I realize I can search for answers as well, but I prefer live conversations with someone's thoughts on the matter. Thanks. Jul 17 14:24:05 that's why I didn't think that mangling the class and member names is the problem here Jul 17 14:24:33 Nichod: Always search before wasting anyones times. Always. :) Jul 17 14:25:01 MrMaffen, the real problem is your poor solution :p that's not the right way to handle version support Jul 17 14:25:08 I've obviously looked. But I'd like the opinions of individuals. Kinda value real experience over what a tech site says. Jul 17 14:25:20 Nichod: But in this case, you're right. :) Jul 17 14:25:24 pfn: which poor solution exactly? Jul 17 14:25:34 I am no longer using a stub class Jul 17 14:25:44 instead I'm using a boolean switch in values and values-v19 now Jul 17 14:26:07 Nichod: I like Nexus devices (own N5 and N7 2012) because they allow you do to pretty much anything and don't have stupid bolt-ons like TouchWiz... Jul 17 14:26:10 MrMaffen, my bad,, thought it was the same limk Jul 17 14:26:43 Nichod: But sometimes you won't get around testing on these problematic devices, and considering Samsungs market share that won't change anytime soon. Jul 17 14:27:05 flan3002 thanks I assumed as much. Vanilla is always preferred. Jul 17 14:27:06 so I'm looking at the dev console and there are "top 10 most popular android version in category MY_CATEGORY" Jul 17 14:27:13 But a similar statistic doesn't exist for devices Jul 17 14:27:20 is there any such online resource? Jul 17 14:27:25 Not really Jul 17 14:27:27 pfn: but the problem occurred with both implementations :/ Jul 17 14:27:31 Namely I want to know how popular certain phones for the gaming category are Jul 17 14:27:37 so I know which minimum to target Jul 17 14:27:42 pfn: and as I said, the proguard-disabled build is wokring just fine Jul 17 14:27:52 Tee_Pee: how would you target a minimum phone? Jul 17 14:28:03 I meant the ballpark minimum specs Jul 17 14:28:06 to test performance on Jul 17 14:31:39 Our designers defined an iconfont in a format E, I assume I have to type it as \uc when I want to use it... the question is, is it the same number Jul 17 14:31:41 ? Jul 17 14:32:02 It depends hugely on what region you're targetting, but you could probably work out the top 10 just by listing all your favourite HTC, Samsung and Motorola devices. Jul 17 14:32:03 also one of the icons doesn't have E Jul 17 14:32:14 Uh, what, Syzygy__ ? Jul 17 14:32:42 Is it just his/her notation or...? Jul 17 14:35:01 I have no idea Jul 17 14:35:26 Why don't you ask him? Jul 17 14:37:12 because he has no idea himself :( Jul 17 14:38:18 Well, if he writes E + something, he got to explain why he wrote that E. Jul 17 14:38:25 Otherwise he's... Jul 17 14:38:44 we have more than one designer and not all of them are here. Jul 17 14:39:36 Well, you can obviously just try using \unicode values, but... Jul 17 14:40:17 Are all s decimal? Jul 17 14:42:50 ok, I'm stupid apperently. Jul 17 14:43:01 the C is just another number Jul 17 14:43:21 so apparently Jul 17 14:43:26 I was thrown off because the numbering was in decimal, but it's actually a 4 digit hex number. Jul 17 14:43:28 the most popular android device today is the Galaxy M Jul 17 14:43:32 How the hell? Jul 17 14:45:11 Does anuybody know if androidannotations @AfterViews annotated methods are called before or after onResume? Jul 17 14:48:51 In the Google Play Store the app is updated but my phone has not been asked to update, can that time differ? Jul 17 14:49:20 tinker: depending on your settings your phone only looks for updates a few times a day Jul 17 14:49:29 i see Jul 17 14:49:34 I think the notification is only show once a day Jul 17 14:51:28 tinker: also, it can take a day or so for update to propagate Jul 17 14:51:58 p_l: from my experience its usually 1-3 hours until you can hit "update" in store Jul 17 14:52:11 but may be longer until you actually get a notification Jul 17 15:08:23 Can someone please help me here https://gist.github.com/anonymous/f57974f3055a93d2ea3c my line 40 is throwing NullPointerException because element by that ID was not found however element with that ID was actually created. Jul 17 15:09:09 for instance on line 4 I call addCheckBox() and then I retrieve it by finding it using it's id Jul 17 15:09:34 So there it works however inside onClick() method when i try to find a view I get a null pointer exception Jul 17 15:09:44 I checked tags it contains all correct tags Jul 17 15:09:58 no idea what's throwing the null pointer Jul 17 15:26:45 is there someone here who has registered a ltd in uk Jul 17 15:26:45 If I'm in a task stack that went like this, Camera > Gallery > Share to my App, is there any way to detect if I'm the the only activity from my app in this task stack? Jul 17 15:27:11 anyone have experience with webviews and cookies, Jul 17 15:27:14 i need help Jul 17 15:28:40 Hey guys. I need a little help. When the user reopens the app from background a Class not found exception is being thrown when swiping the pages of a page viewer. The exception is "Class not found when unmarshalling: android.support.v4.app.FragmentManagerState". This happens just when coming from background. I have the support-v4 lib and support-v7 project added to my project. Any idea? Jul 17 15:34:47 Just found the solution on stackoverflow. If anyone is having the same issue. http://stackoverflow.com/questions/11381470/classnotfoundexception-when-unmarshalling-android-support-v4-view-viewpagersav Jul 17 15:35:00 anyone have experience with webviews and cookies? Jul 17 15:39:37 i hate how this channel is registered users only Jul 17 15:40:10 ASneakyFox: it does a good job as a speed bump Jul 17 15:41:33 anyone have experience with webviews and cookies? I'm stuck with cookies for my webview app Jul 17 15:42:58 lol no one? Jul 17 15:43:44 DarkChaoz: well, i don't have any experiece with that. Jul 17 15:44:45 I've tried looking for an answer on stackoverflow, but it doesnt seem to work for me. Jul 17 15:45:14 Leeds: for what purpose? it only serves to anony me since konversation doesnt have the ability to login before autojoining channels Jul 17 15:45:42 i'm following some tutorials regarding services here, and most advice setting mBound to true in onServiceConnected(), and calling unbindService() in onStop() if mBound is true, BUT: what to do if onServiceConnected() is called AFTER onStop()? Jul 17 15:45:44 ASneakyFox: keeps out drive-by idiots, mainly... you might want to use a better client, if it bothers you Jul 17 15:45:53 like when i rotate the display very quickly Jul 17 15:46:55 how can i stop the, uh, process of binding a service? Jul 17 15:47:08 i was just stating my opinion on the setting. its non user friendly Jul 17 15:54:14 flan3002 do u have experience with webviews and cookies? Jul 17 15:54:50 No, I don't. :) Jul 17 15:56:02 damn Jul 17 15:56:23 Im stuck with cookies issue and no one knows how to do it :( Jul 17 15:58:45 How can I create an intent to start a specific class of my app... from another class? Jul 17 15:59:01 from another app*. Sorry Jul 17 16:00:13 eghdk: Do you control the other app? Jul 17 16:00:28 Yeah Jul 17 16:00:46 eghdk: Well, put a receiver in the manifest... Jul 17 16:01:09 flan3002: I control both apps. I have my main app and in the main app I have 3 activities. I opened up all three of them via "exported=true" Jul 17 16:01:47 According to docs thats all I need to let another app open the activities, but I'm not sure how I would start one. Jul 17 16:03:22 I'm too inpatient to read the docs right now, sorry. :) Jul 17 16:04:56 i have like 10 test apk files now on my phone now lol Jul 17 16:06:48 I wish tomorrow was the last friday of the month D: Jul 17 16:08:09 dumb question: I'm attempting to writing to file, and I'm getting a fatal exception claiming that its a read only file system Jul 17 16:08:18 eghdk: Intent i = new Intent(); i.setComponent(new ComponentName("com.foo.test", "com.foo.test.activityname")); startActivity(i); Jul 17 16:08:25 how do I handle this correctly Jul 17 16:09:00 dragorn: Thanks. Will look into that. I'll let you know if it works correctly. Even though it looks correct. hah. Jul 17 16:09:03 hufflepuff: catch the exception and display an error dialog? Pretty much up to you. Jul 17 16:09:15 eghdk: it works. if it doesn't, you've done something wrong :P Jul 17 16:09:18 dragorn, uhh, what I meant is... I want to write to the file Jul 17 16:09:33 not handle the exception Jul 17 16:09:47 hufflepuff: either you can't write where you want to write, or you lack the permissions to write to the external storage. At some point they added read and write external storage permissions, perhaps you only have one Jul 17 16:09:56 hufflepuff: as an app there is nothing you can do to make part of the filesystem writeable Jul 17 16:10:09 dargorn, ok, perhaps i'm still not making myself clear Jul 17 16:10:18 I don't care where on the filesystem i write Jul 17 16:10:27 I want a scratch area to write to Jul 17 16:10:49 hufflepuff: ah. then check out http://developer.android.com/guide/topics/data/data-storage.html Jul 17 16:11:22 hufflepuff: internal storage is probably what you want Jul 17 16:11:40 hufflepuff: either the file io or the cache dir Jul 17 16:12:13 i mean it seems like a lot of apps have data directories Jul 17 16:13:44 ok, lemme try this Jul 17 16:15:13 yup; the data directory stuff is all structured via those APIs. If you want to do file io properly, that's the way to do it. You can try to hardcode into writeable dirs inside your app, but that's a bad plan Jul 17 16:15:45 so if I use internal storage, where will it go? Jul 17 16:16:41 hufflepuff: /data/data/your.app.name/files, usually. Jul 17 16:17:00 yeah, but don't hardcode that, because it could change Jul 17 16:17:26 it's a shame there doesn't seem to be a tmpfs/rambacked API for scratch files, too - would be nicer than thrashing flash Jul 17 16:17:51 you could, of course, just use ram :/ Jul 17 16:17:59 zinx: yup Jul 17 16:22:37 I have a style that includes color, font, size, as well as gravity, padding and width. Is there a simple way to apply this to a dynamically created textview? Jul 17 16:23:05 new CustomFontTextView(getActivity(), null, R.style.text_menu); does not seem to apply those changes. Jul 17 16:24:29 Syzygy__: afaik can't be done Jul 17 16:24:33 Syzygy__: see also http://stackoverflow.com/questions/3142067/android-set-style-in-code Jul 17 16:25:05 well that kind of sucks... guess I'll have to do one of the workarounds Jul 17 16:27:44 dragorn: Thanks. It did work! and the export tag did its work on activities that shouldnt be started. perfect! Jul 17 16:51:23 if i do setContentView(R.layout.somestuff), do I still need to inflate the layout? Jul 17 16:53:41 OMG Jul 17 16:53:44 I done it :D Jul 17 16:56:50 DarkChaoz: what have you done? Jul 17 16:57:22 managed to finally solve my cookie issue with webview Jul 17 16:58:26 need to test again Jul 17 16:58:37 gradle plugin 0.12.2 Jul 17 16:58:57 doesnt work again :( Jul 17 17:00:21 g00s_: cool Jul 17 17:00:29 DarkChaoz: what are you trying to do? Jul 17 17:00:35 where are you saving the cookie? Jul 17 17:01:27 DarkChaoz: did you implement your own cookiestore? Jul 17 17:04:17 basically, when i visit a login page i want to store the cookie to be used within the site and when i logout i want it to be cleared Jul 17 17:04:35 taking in mind im using webview to access login page Jul 17 17:07:20 hey people, who knows a website where i can learn creating beautiful UI's ? Jul 17 17:08:53 'String preferredChart = appPrefs.getString("preferredChart",null); if (preferredChart == null) {' or 'String preferredChart = appPrefs.getString("preferredChart",null); if (preferredChart == null) {'. Which do you think is cleaner/best. I'm thinking the null check might be. Jul 17 17:10:34 jesperj: Where's the difference? Jul 17 17:10:41 yeah sorry. :( Jul 17 17:10:44 umm for webivew.geturl Jul 17 17:11:04 is this the right way to use it if(browser.getUrl() == website url) Jul 17 17:11:54 'String preferredChart = appPrefs.getString("preferredChart",null); if (preferredChart == null) {' or 'String preferredChart = appPrefs.getString("preferredChart",""); if (preferredChart.equals"") {' Jul 17 17:11:58 I meant that Jul 17 17:12:09 I'd use null. :) Jul 17 17:12:27 yes I'm thinking so too Jul 17 17:12:28 thanks Jul 17 17:12:33 Because it will fail with an NPE instead of weird behaviour. Jul 17 17:13:01 (In case you didn't check) Jul 17 17:13:18 Also, it looks faster. Jul 17 17:15:49 thank you flan3002 Jul 17 17:54:44 ok, dumb question, how do I access the Context object? Jul 17 17:55:43 hufflepuff: usually its a simple as "this" Jul 17 17:56:24 canadiancow -- cow washed and blow dried O.o http://imgur.com/Eadc93P Jul 17 17:56:30 wat Jul 17 17:56:42 * Jesperhead blinks Jul 17 17:56:44 :) Jul 17 17:56:46 oh Jul 17 17:56:52 yeah i go for grooming every now and then Jul 17 17:56:54 canadiancow: who got that pic of you? Jul 17 17:56:57 :D Jul 17 17:57:59 hrmm Jul 17 17:58:42 wow, might have actually worked Jul 17 18:01:29 "this" wont always work... become familiar with "this", "getApplicationContext()", and there was one other one i think... Jul 17 18:01:44 sometimes youll need to pass context from another activity Jul 17 18:01:55 and assign it in the new activity's constructor Jul 17 18:02:20 if your dealing with View's like in a clickListener or list item click listener best to use v.getContext() Jul 17 18:02:46 Jesperhead: thats just a bad idea Jul 17 18:02:47 yeah that stuff too, some native objects have built-in-context-getters Jul 17 18:02:49 but whatever Jul 17 18:03:03 Jesperhead: pretty much all have it Jul 17 18:03:08 Napalm: Passing context to an external asynctask for pDialog is a bad idea? Jul 17 18:03:15 leak all the things ! Jul 17 18:03:16 hell yea Jul 17 18:03:20 lol Jul 17 18:03:37 Jesperhead: you know a Dialog IS A CONTEXT Jul 17 18:03:38 lol Jul 17 18:04:14 feel free to laugh, im ignorant and trying to learn. Jul 17 18:04:37 sorry, cant help myself sometimes :) Jul 17 18:04:43 learn well Jul 17 18:04:45 but in my asynctask i wanted to set up a progress dialog to display while the content was loading. I could not call that dialog without having a context Jul 17 18:05:20 specifically the context of the activity that called it Jul 17 18:06:10 toasts as well Jul 17 18:07:01 hrm got quiet Jul 17 18:07:02 Jesperhead: pass your app context to your AsyncTask constructor and create a Progressdialog then Jul 17 18:07:09 dont bother saving the context Jul 17 18:07:22 Napalm:... thats exactly what i did and desribed Jul 17 18:07:22 just have the progressdialog as a member Jul 17 18:07:41 ok, so your asynctask doesnt hold the context then Jul 17 18:07:43 so there Jul 17 18:08:05 so you were wrong and now look stupid for being all "lol dialog is a context YOLO"? Jul 17 18:09:12 not really no Jul 17 18:09:25 ah of course not. thanks for playing though. Jul 17 18:14:38 why would trying to run my app in the android emulator crash immediately and produce DeviceMonitor: Adb rejected connection to client '1904': closed Jul 17 18:15:12 dcope: you using GenyMotion? Jul 17 18:15:23 Napalm: nope, just intel image with HAX Jul 17 18:15:58 dcope: try it Jul 17 18:16:05 try genymotion? Jul 17 18:16:22 yes Jul 17 18:16:35 Napalm: does the device manager work with it? im only running in the emulator to simulate a phone call Jul 17 18:16:59 yes Jul 17 18:17:10 it has its own Jul 17 18:17:14 you can still fake calls Jul 17 18:17:26 ok cool Jul 17 18:17:30 is there no way to fake calls on a device? Jul 17 18:17:49 without service? Jul 17 18:18:02 dcope: maybe, ive not tried Jul 17 18:18:30 Jesperhead: yes Jul 17 18:19:21 do you mind if I ask you to elaborate? You said "fake calls" and "simulate phone calls". Are you trying to make a call recorder maybe? Jul 17 18:19:40 Jesperhead: no, i am just trying to observe PhoneStateListener Jul 17 18:19:50 so i can pause my app when there is a ring Jul 17 18:20:00 dcope: ahh Jul 17 18:20:28 meh i found a bugmenot for genymotion Jul 17 18:20:30 i will try this Jul 17 18:20:43 good luck, if i think of anything ill let you know Jul 17 18:20:51 thx Jul 17 18:22:02 requires virtualbox Jul 17 18:22:05 android dev == clusterfuck Jul 17 18:22:06 dcope: if youre still around, this was #1 in google: http://stackoverflow.com/questions/4964703/fake-incoming-call-android Jul 17 18:22:18 Jesperhead: yeah that only works on the emulator :( Jul 17 18:22:25 and my app instantly crashes on the emulator for whatever reason Jul 17 18:22:31 stacktrace? Jul 17 18:22:36 none Jul 17 18:22:37 just DeviceMonitor: Adb rejected connection to client '1904': closed Jul 17 18:23:04 any luck with http://stackoverflow.com/questions/23794089/android-adb-rejected-connection-to-client Jul 17 18:23:40 nah i just have "Launch default activity" Jul 17 18:23:42 not a custom one Jul 17 18:24:58 hrm. well person, all i can say is good luck. going to get my sandwich on Jul 17 18:25:04 thank you :) Jul 17 18:26:49 Napalm: there is no way to simulate a call with genymotion Jul 17 18:26:52 http://stackoverflow.com/a/22218398 Jul 17 18:26:55 ffffuuuuuu Jul 17 18:26:59 yes you can Jul 17 18:27:03 how then? Jul 17 18:27:08 i've got the emu up and running Jul 17 18:27:15 adb shell am start -a android.intent.action.CALL tel:1112223333 Jul 17 18:30:38 Napalm: nope Jul 17 18:30:45 "Mobile network not available" on the emulator Jul 17 18:31:33 ok, my bad, its still interrupting your app Jul 17 18:31:36 though Jul 17 18:31:47 what are you trying to do with the gsm net? Jul 17 18:31:58 just test an incoming call to handle my application gracefully Jul 17 18:32:05 that will do that Jul 17 18:32:09 pause music and save app state Jul 17 18:32:17 thats not the way to do it Jul 17 18:32:28 you should not be monitoring the phone state to pause music Jul 17 18:32:36 the AudioManager does that for you Jul 17 18:32:55 i will check that out Jul 17 18:32:57 brb, going to reboot Jul 17 18:37:48 i have these 2 threads and I get from logcat: "socket did not connect" Jul 17 18:38:09 http://pastebin.com/ypKd6b3w Jul 17 18:48:31 Heya Jul 17 18:53:17 Our company is wondering if it is allowed to sell a license to an app outside of the playstore. Jul 17 18:54:39 or give a free registration id with the sale of another product Jul 17 18:58:49 hi, I'm having issues with a custom ArrayList adapter - my getView is never getting called and I have made sure that getCount returns something greater than 0. any suggestions? Jul 17 18:59:17 But getCount is getting called? Jul 17 18:59:29 Yes it is Jul 17 19:00:07 And how big is the ListView? Jul 17 19:00:13 gaminator ArrayAdapter is almost never worth it; just extend BaseAdapter Jul 17 19:00:37 That is what I am doing Jul 17 19:00:40 g00s: He didn't speak about ArrayAdapter... Jul 17 19:00:46 I am extending BaseAdapter Jul 17 19:01:09 oh sorry, misread ArrayList adapter Jul 17 19:01:18 the ListView is only about 5 objects Jul 17 19:08:22 No ideas? Jul 17 19:08:35 gaminator: Code snippets? :D Jul 17 19:10:04 code snippet: http://pastebin.com/yFTZcbn5 Jul 17 19:10:37 I have been debugging it for a few hours now, still no idea why it never runs the getView Jul 17 19:12:28 its worth noting that I am not running into any errors either, which is really weird Jul 17 19:14:31 Is there any way to tell if an intent came from my app or another app? Jul 17 19:19:51 gaminator: Maybe find out what method should call getView and step through it? Jul 17 19:20:54 gaminator: is the contacts array empty? edit your log.d in your constructor to append contacts.size() Jul 17 19:25:03 The contacts array is not empty Jul 17 19:25:22 gaminator: Did what I said? Jul 17 19:29:28 so where is the internal storage> Jul 17 19:29:34 I mean where in the file system Jul 17 19:29:48 well hufflepuff it usually starts at '/' or the root Jul 17 19:30:16 however if you mean storage for your app, that can be found @ /data/data/your.app.here Jul 17 19:30:31 but to access programmatically, youll want to use the contextwrapper Jul 17 19:30:40 I know this is bad, but this is the feature that work wants. If I close the activity using finish() will a network callback still fire? Jul 17 19:30:58 if i use openfileoutput where does the file go? Jul 17 19:31:04 if i do not specify a path Jul 17 19:32:12 huffle: http://stackoverflow.com/questions/5017292/android-create-file-on-internal-storage Jul 17 19:34:30 anyone give me an idea of how to get okhttp to accept a selfsigned certificate? Jul 17 19:34:49 give it an SSLSocketFactory that does Jul 17 19:35:31 http://stackoverflow.com/a/24007536/132047 Jul 17 19:35:42 and ideally you're pinning the cert as above Jul 17 19:39:26 hi Jul 17 19:40:05 i have a linear layout consisting of 3 linear layouts consisting of 2 textviews and 1 edittext Jul 17 19:40:33 For anyone that was wondering, yes the callback will be fired after finish() has been called Jul 17 19:40:40 when i add a hint to the third edit text it .. i'm not sure whats going on exactly Jul 17 19:40:58 i see a huge chunk of whitespace between the textviews Jul 17 19:41:59 it's inbetween the second and third textviews and also after the third one Jul 17 19:43:09 can anyone think of how/why a hint could do that? Jul 17 19:54:56 JakeWharton, is there a way to build this into the RestAdapter? Jul 17 19:55:41 you can hand it the client you want it to use Jul 17 19:55:48 setClient(new OkClient(client)) Jul 17 19:56:37 JakeWharton, ah! I was doing .setClient(client) Jul 17 19:56:44 thanks. Jul 17 20:01:31 If I need to send data to a server that wasn't able to be sent previously, when would I want to do this Jul 17 20:02:04 I could look for when the device gets a wireless connection, I could assume that if someone is unlocking their phone they most likely have internet services available (and check for wifi) and send this all again Jul 17 20:02:16 I could also just try to send anytime the app is opened Jul 17 20:02:27 any suggestions of what you have done in the past? Jul 17 20:02:59 jonc: http://developer.android.com/training/monitoring-device-state/connectivity-monitoring.html Jul 17 20:03:09 in particular, the CONNECTION_CHANGE broadcast Jul 17 20:03:14 yeah, I do that in another app. Jul 17 20:03:19 I'll just do that Jul 17 20:03:21 thanks Jul 17 20:05:34 all receivers have to be added to the manifest correct? Jul 17 20:10:33 jonc: they can be registered dynamically Jul 17 20:11:59 is it bad to have a Service that starts a HandlerThread and in the handler associated with that handler thread, you start more threads? Jul 17 20:12:45 and I feel like an ArrayList of Threads is not the right way...to keep reference to a constant number of threads. Any suggestions? Jul 17 20:13:14 An array? Jul 17 20:13:52 an array of threads? sure that works but is there like a pool of thread or something Jul 17 20:14:00 I don't know much about managing threads :( Jul 17 20:14:30 Well, the overhead of an ArrayList is not that big... Jul 17 20:14:33 Afzal: try a ThreadPoolExecutor Jul 17 20:15:51 JesusFreke, thank you, really only care if I have stuff to send Jul 17 20:17:10 jonc: yeah, exactly :) Jul 17 20:18:22 markmarkmark, I'll look into that. Thanks. Jul 17 20:20:12 Now if I want to iterate over things to send to the server in a broadcast receiver, I assume I'll want to spawn a seperate thread to do this, or would I do it in a service? Jul 17 20:25:18 jonc: yeah, you'll need to spawn a service Jul 17 20:25:25 aye aye, thanks Jul 17 20:26:08 otherwise, if you just have an unprotected thread running with no active components, the system won't know about it and will still consider the process ripe for reaping Jul 17 20:26:19 aye aye Jul 17 20:29:11 Hi, created some image buttons, but I want to catch buttonup and button down events rather than on click events. can I do this? Jul 17 20:43:27 how can i improve performance issue of my app Jul 17 20:43:34 http://pastebin.com/Ds25ryqV Jul 17 20:43:51 DarkChaoz: Profile? Jul 17 20:43:55 my app uses about 42-50MB of RAM Jul 17 20:44:08 how do i that? Jul 17 20:44:23 DDMS. Jul 17 20:44:24 actually, I'll google it Jul 17 20:44:30 Yeah. :) Jul 17 20:44:55 i think the cookiemanager is the issue Jul 17 20:45:17 its not normal for a 1MB size app taking about 50MB of RAM Jul 17 20:45:50 Uhm... Jul 17 20:45:51 why not Jul 17 20:46:00 The size is not related to memory usage. Jul 17 20:46:23 because my app is a webview.. Jul 17 20:46:34 Im suprised its taking 50MB of RAM Jul 17 20:46:44 Well, profile. :) Jul 17 20:46:50 ... surprised that it took so little, you mean? Jul 17 20:47:02 o.O Jul 17 20:47:11 I mean, webview Jul 17 20:47:19 exploding memory usage is pretty much guaranteed Jul 17 20:47:24 so webview takes more? Jul 17 20:47:24 DarkChaoz: have you ever looked at how much a desktop browser takes? Jul 17 20:47:27 DarkChaoz: yes Jul 17 20:47:39 no zinx Jul 17 20:47:47 DarkChaoz: DOM explodes your tiny HTML file into humongous tree full of pointers Jul 17 20:48:45 e____e Jul 17 20:48:49 then you get various uncompressed assets, JS (in two copies each! - source copy and compiled methods), various caches, drawing caches, etc.... Jul 17 20:48:52 i thought high RAM usage for low sized apps was bad practice Jul 17 20:49:05 especially when i have only two activities Jul 17 20:49:21 DarkChaoz: well, yeah, but some technologies make it easy to just explode memory usage Jul 17 20:49:59 ahh, so its to an extent allowed depending upon what technology is used? Jul 17 20:50:40 DarkChaoz: not allowed, expected Jul 17 20:50:56 HTML5 is really not the path for low resource usage Jul 17 20:51:09 ahh Jul 17 20:51:12 but, yeah, profile first Jul 17 20:51:18 always measure, measure, measue Jul 17 20:51:20 *measure Jul 17 20:51:21 will do.. Jul 17 20:51:22 cut later Jul 17 20:51:23 Plus V8 and it's JIT and loads of other stuff. :) Jul 17 20:51:28 thanks for the advice guys.. Jul 17 20:51:33 I'll look into it :D Jul 17 20:51:54 flan3002: that's why I mentioned two copies of JS - V8 keeps a copy of source instead of parsed version, + compiled forms Jul 17 20:51:59 i'll only going to use the app in the short term.. Jul 17 20:52:10 anyway i gtg cya and thanks! Jul 17 21:04:05 hi, anyone knows good place where man can download some sample apps which would easily compile to learn in android studio? Jul 17 21:05:32 kjaku, what is exactly your goal ? Jul 17 21:05:46 to start learning effectively Jul 17 21:06:20 to look at some code, run it and learn from it Jul 17 21:06:21 OK, think about an app and start develop it Jul 17 21:06:35 Would anyone happen to know why an AsyncTaskLoader would stop updating itself after 5 or so successful updates? Jul 17 21:20:00 On a ListView, does android:footerDividersEnabled="true" only work when you have dividers? Can you get the last item to draw a divider under it some other way? Jul 17 21:25:11 do you guys write tests for your projects? Jul 17 21:26:19 Yes Jul 17 21:26:37 We should wherever we can. :) Jul 17 21:27:40 Ive never done unit testing or anything. thinking about maybe learning by writing tests for my app. Jul 17 21:29:19 i know there is some built in API for testing. also heard mentions of frameworks like roboelectric. wondering what you guys use Jul 17 21:35:07 anyone familiar with amazonwebservices? Jul 17 21:37:57 I use Espresso (Double-Espresso by Jake) and Fest-Android (now AndroidJ I think) Jul 17 21:38:37 https://github.com/square/assertj-android Jul 17 21:38:39 https://github.com/JakeWharton/double-espresso Jul 17 21:39:58 how can i play video using VideoView off of internal storage? Jul 17 21:42:02 kakazza, what is the sense of unit test? Jul 17 21:42:54 Verifying that your app does, and keeps doing what it's supposed to. Jul 17 21:43:52 A simple example would be that you want your list view to contain entries in reverse chronological order. One day you refactor your code and accidently delete the sort() call, a test (if existent) should catch that wrong behaviour. Jul 17 21:44:18 And if not, and you only notice later, you should add a test for this to prevent regression (=that this happens again) Jul 17 21:44:32 oh Jul 17 21:45:07 You can see more Android related examples on the assertj-android website. Jul 17 21:45:28 JakeWharton: Why the move from Fest to AssertJ btw? Jul 17 21:45:34 fest isn't maintained Jul 17 21:45:45 it's by Alex Ruiz who joined the tools team at Google a year+ ago Jul 17 21:46:06 Fest or AssertJ? Jul 17 21:49:13 Do you use assertJ in combinations with espresso? Jul 17 21:49:16 Fest Jul 17 21:49:20 :/ this byte[] sending thing from wear to phone and vice versa is not good >_< Jul 17 21:49:22 AssertJ is a fork of Fest that's maintained Jul 17 21:49:43 so the nexus 5 is 1080x1920 and has a dpi of 445, meaning the height in dp should be 1920*160/445 = 690, right? but in the android studio xml preview, it looks to be about 566dp tall. what's the issue? Jul 17 21:50:09 are you subtracting for system chome? Jul 17 21:50:18 25dp for status bar and 50 for nav bar Jul 17 21:50:51 well that would explain this number perfectly Jul 17 21:50:52 haha ty Jul 17 21:52:25 how do i use binaries in android studio 0.8? Jul 17 21:53:09 JakeWharton: I'm not sure if I should use assertJ alongside espresso. Espresso/Hamcrest matchers don't feel very natural to me, compared to AssertJ, but then again, I'd have to do a separate findViewById after espresso already had the View using onWith(withId()) Jul 17 21:53:19 Any recommendations on how you guys at Square do it? Jul 17 21:53:41 i haven't used the two in combination yet. we use fest for unit tests mostly Jul 17 21:54:09 JakeWharton, how would i play video off of internal storage? i've tried a bunch of different solutions and can't find anything that works much for os'es below 4.3 Jul 17 21:54:20 How would that work? Inflating views and assert()ing in the unit test? Jul 17 21:54:43 yeah. we measure a custom view and assert a bunch of crap about it Jul 17 21:55:13 How far can I take unit tests to test the UI before writing an actual UI test? So far I directly went for UI tests. Jul 17 21:55:31 Even for testing ListViews, Adapters etc. Not sure if that could be done otherwise. Jul 17 21:55:37 depends on how your app is structured Jul 17 21:56:02 Well, the classic way, not the way Square does it with 1 Activity and 0 Fragments. Jul 17 21:56:08 you could just instantiate an adapter an assert that when getView is called with a view more than 10 from the bottom is tries to load more data, for example Jul 17 21:56:14 that's still a unit test Jul 17 21:56:18 i have to run Jul 17 21:57:18 Hmm, so far, my adapters have a setData() on them, they don't really know how much data there is. But I guess they could ask whoever calls setData() for more. Jul 17 21:57:41 yeah it's just an example Jul 17 21:57:49 if you have loosely coupled components you can test them individually Jul 17 21:58:02 and then the activities and fragments are just responsible for the gluing them together Jul 17 21:58:18 Even with Espresso, I kind of want to keep UI testing to a minimum, because of the time they need. Jul 17 21:58:56 Heard of projects with 2hrs worth of UI tests. Flakey, of course. Jul 17 21:59:58 I'll give AssertJ-Android a try. Is there a list of APIs you need assertions for? Jul 17 22:00:08 kakazza thanks for those links. I'll have to do some reading into them tomorrow. i have zero tests right now, and have never realy done tests (but I understand the main concepts). Jul 17 22:00:10 As in, accept Pull Requests. Jul 17 22:01:32 anyone familiar with amazonwebservices? Jul 17 22:04:26 hufflepuff, no just ask if android related Jul 17 22:08:16 hi, I have a SQLite database running in an android app that I have made, however whenever I try to delete something from it, I end up messing up the database somehow Jul 17 22:08:46 I'm pretty new at databases, so could someone explain the correct way to go about deleting a row from a database withing messing things up? Jul 17 22:09:21 I get a cursor out of bounds error soon after whenever I try to delete a row from the database Jul 17 22:10:31 is there a way of creating groups of flavorDimensions? Know what I mean? Jul 17 22:12:30 nomsayin', noimean? Jul 17 22:12:55 heh Jul 17 22:15:02 basically I mean, is it possible to define multiple productFlavors {} Jul 17 22:15:09 each with its own set of flavorDimensions Jul 17 22:17:36 can anyone point me to a good tutorial for complete noobs for working with nfc and ndef format. I have an nfc writer and the chips and I want to put simple phone commands on them. I really don’t know anything about android app development, but am not sure if I have to in order to do this. Im talking really simple, like put a file (i don’t even know what format the files would be in) onto an nfc chip that, when scanned gives an alert messa Jul 17 22:18:17 I would rather stay away from apps like trigger as I cannot see the code, and I don’t think that tags written with trigger work for all android phones - just mine, but im not sure Jul 17 22:20:19 gdrc, i'm trying to upload something to amazon s3 using the aws packages Jul 17 22:20:35 i'm having a couple problems Jul 17 22:21:03 com.amazonaws.AmazonClientException: Unable to complete transfer: AWS credential profiles file not found in the given path: /.aws/credentials Jul 17 22:29:40 i restored a cyanogenmod backup and after that eclipse is not regognizing my device anymore "Serial number=?????? ; AVD Name= N/A ; Target=Unknown ; State=?" Jul 17 22:29:43 any help? Jul 17 22:30:26 i dont think its eclipse or adb server since another devicce is recognized properly Jul 17 22:31:08 developer options=enabled ; usb debugging=enabled Jul 17 22:36:14 can anyone link me to an example of something formated in ndef? like a .ndef file, if that exists? and is it just one file being sent to the nfc tag? or do you need an entire folder with configs, requirements, etc Jul 17 22:36:32 for a simple task like launching the phone camera Jul 17 22:59:39 hi guys, I was wondering if someone could link me to a comprehensive explanation of try-catch Jul 17 22:59:41 and how it works Jul 17 22:59:54 because I am having trouble understanding when and where to use it Jul 17 23:00:46 nevermind, it turns out I dont need to use try-catch Jul 17 23:00:50 thanks anyway! Jul 17 23:11:16 hello, I'm trying to use android studio and i lost the left sidebar. Jul 17 23:11:29 i'm trying to find it now. Jul 17 23:11:38 any help appreciated Jul 17 23:11:40 thanks Jul 17 23:14:11 command + 1 Jul 17 23:14:14 or alt + 1 Jul 17 23:14:17 depending on your so Jul 17 23:14:43 ok i found it it's the one named project Jul 17 23:14:52 yes Jul 17 23:15:54 thanks Jul 17 23:17:24 is there a separate IRC where people discuss android os exploit development? Jul 17 23:18:20 <_Auron_> supay: #android-root perhaps, not sure if there's a more specific channel Jul 17 23:18:32 oh, alright Jul 17 23:18:40 i thought that was more about rooting your phone Jul 17 23:18:44 than developing exploits Jul 17 23:18:45 but i'll ask Jul 17 23:20:03 ok, this is a silly question, I see these little lock icons next to the .java files. does that mean i have the ability to lock a file from being used as the main activity? Jul 17 23:20:22 or do i just have to remove or comment the files out? Jul 17 23:23:29 http://images.devs-on.net/Image/cGvfRvXcmGhskIl0-Region.png basically can i lok this icon ? what would that do? Jul 17 23:44:04 what's the difference between LayoutInflater.inflate(int, ViewGroup) and LayoutInflater.inflate(int, ViewGroup, boolean)? Jul 17 23:44:18 like if the boolean is false, it seems like the ViewGroup is meaningless Jul 18 00:07:58 what programs can I use to open and read an ndef file? Jul 18 00:10:56 hi, so I am trying to retrieve the contacts from the default people app on android in my application but I need to give my app permissions in order to do that Jul 18 00:11:12 can someone explain how to give your app permissions or link to something that will explain it? Jul 18 00:11:46 do I add it to the manifist? Jul 18 00:11:49 *manifest? Jul 18 00:17:01 gaminator: http://developer.android.com/guide/topics/manifest/uses-permission-element.html Jul 18 00:17:09 did supay just come here to ask for advice for creating android malware? Jul 18 00:17:29 and http://developer.android.com/guide/topics/manifest/manifest-intro.html#perms Jul 18 00:18:14 ASneakyFox: that is one possible motivation for trying to find an exploit Jul 18 00:19:22 well he worded it specifically that he wanted to develop exploits Jul 18 00:20:15 what do you think rooting apps use to get root? Jul 18 00:20:32 JesusFreke: puppies... they use cute puppies Jul 18 00:20:57 Leeds: damn, I've been doing it wrong!! (not that I've actually written an exploit or anything :) Jul 18 00:21:26 mmm... tasty, crunchy puppies Jul 18 00:21:37 tastes like chicken? Jul 18 00:21:51 only cuter! Jul 18 01:50:29 does anyone have any experience with the facebook sdk for android? Jul 18 01:55:21 gaminator: it's straight forward -- what are you stuck with? Jul 18 02:04:26 its ok, I'm gonna work on that later Jul 18 02:04:42 however, I am kinda stuck trying to add an "@" symbol to a string Jul 18 02:05:08 I cant find anywhere that tells me what I can do to add it! (I cant do \@ I dont think) Jul 18 02:05:48 or rather, i'm trying to figure out whether there is an "@" sign in a give string Jul 18 02:06:00 which would be very easy with any other character, Jul 18 02:06:09 but \@ doenst work:( Jul 18 02:07:36 do views with an alpha of 0 respond to touches? Jul 18 02:08:07 if i just want to fade a view in and out, i feel like i shouldn't even mess with visibility Jul 18 02:09:09 I believe that they do Jul 18 02:09:28 do you knwo how to get a @ symbol in a string? Jul 18 02:09:29 lol Jul 18 02:10:48 ok i colud probably use unicode Jul 18 02:11:21 is there anything special about @ in a regular string? Jul 18 02:11:58 Leeds: no Jul 18 02:12:09 gaminator: why is '@' being an issue? Jul 18 02:55:46 If I call bluetoothadapter.enable, can I assume it activates instantly or must I wait for a return? If so, which? **** ENDING LOGGING AT Fri Jul 18 03:00:00 2014