**** BEGIN LOGGING AT Sat Jul 05 02:59:59 2014 Jul 05 03:01:06 System.out.println("Hello World!"); Jul 05 03:05:17 hey guys, if I have a restful json API for Contacts on a website already working, is it hard to make a simple contact list app and sync the local DB with the API? I've hired a friend of mine who is now working with droid and it seems like he's taking an awful lot of time, is that a hard task? Jul 05 03:08:02 yakko well, the Contacts content provider is quite a beast Jul 05 03:08:25 and the data model is a little more complex Jul 05 03:08:48 why on earth does building with gradle take ages Jul 05 03:08:56 personally, i wouldn't touch it XD Jul 05 03:09:47 jug6ernaut command line or AS ? Jul 05 03:09:52 g00s AS Jul 05 03:10:05 sits at "configuring projects" for literally minutes Jul 05 03:10:07 hm, k. i think in process builds are on these days by default Jul 05 03:10:40 what does that mean lol Jul 05 03:11:36 i want to learn gradle, but its making it very hard to be motivated to use it lol Jul 05 03:11:49 sup g00s ! :) Jul 05 03:11:55 hello therue Jul 05 03:12:08 g00s like its still running, from when i said something 4 mins ago lol Jul 05 03:12:22 oh, thats messed up unless its downloading stuff Jul 05 03:12:30 or you have like 30 subprojects Jul 05 03:12:42 2 sub projects Jul 05 03:12:56 g00s: what is the best way to have a local database sync'd with a restful api then? Jul 05 03:13:00 idk if its downloading something, but it does it every time so i wouldn't thinkso Jul 05 03:13:00 are there any good video series on java that's worth watching? i'm reading a java book right now, and would love to find a quality video to watch as a supplement :D Jul 05 03:13:17 jug6ernaut my machine is very slow, and it never takes more than 20 seconds (still too slow) but Jul 05 03:13:27 therue google tutorials Jul 05 03:13:32 g00s hmm Jul 05 03:13:51 my project must be messed up Jul 05 03:14:03 jug6ernaut well what step is it stalling on ? Jul 05 03:14:06 this is my first attempt at gradle, so its more possible then not Jul 05 03:14:12 g00s "configuring projects" Jul 05 03:14:18 hmmmmm Jul 05 03:14:48 seriously guys, is it that hard? :( Jul 05 03:15:22 yakko so instead of syncing with contacts, you want to have a local db sync with your service ? Jul 05 03:16:36 g00s: this contact list has no relations with the phone's contacts, I want a local DB sync'd with a restful API Jul 05 03:16:58 and I need it for 6 resources/tables Jul 05 03:17:34 oh, if its your own database of contacts in your own app, and its not integrating with the official Contacts provider, that should be easier Jul 05 03:17:46 I was a bit sad when I realized my friend's job seemed quite like manual labor, is it common? is there any IDE that can help him? Jul 05 03:18:19 well, you can look at something like firebase Jul 05 03:18:26 i hear its pretty good Jul 05 03:19:07 but i don't know anything about your existing services , etc so i'm just guessing Jul 05 03:19:58 jug6ernaut if you find that the command line build is faster, i'd nuke the AS files Jul 05 03:20:09 and re-import Jul 05 03:20:23 hopefully your machine's ram isn't pegged :) Jul 05 03:20:37 g00s its a fresh import, but command line is definitely faster Jul 05 03:20:43 umm shouldn't be...let me see Jul 05 03:28:07 hm interesting http://www.theverge.com/2014/7/3/5868175/your-android-phone-could-be-leaking-your-wi-fi-history Jul 05 03:28:40 does PNO have to do that to function ? Jul 05 03:32:37 g00s figured it out Jul 05 03:33:00 jug6ernaut what was it ? Jul 05 03:33:36 old version of the sdk-manager-plugin plugin Jul 05 03:33:44 would redownload support lib every build Jul 05 03:33:55 and I'm currently on a REALLY slow connection Jul 05 03:34:02 which made it really bad Jul 05 03:34:12 wow Jul 05 03:34:24 well, now you are off to the races ! Jul 05 03:34:29 lol Jul 05 03:34:31 progress! Jul 05 03:35:44 the gradle stuff is pretty nice. slow, but nice. i'm simultaneously encouraged that it can handle the most complex situation i can think of; yet i'm terrified of actually having to delve into the plugin api if I absolutely have too :D Jul 05 03:36:16 well Jul 05 03:36:19 i really like maven Jul 05 03:36:35 only reason I'm learning gradle is the sdk-manager-plugin Jul 05 03:36:54 since this will be an open source library, i want it to be was easy to build as possible for ppl who dl the source Jul 05 03:36:56 heh. I never cared for maven, although it's better than ant Jul 05 03:37:15 * jug6ernaut <3's maven Jul 05 03:37:16 gradle has its issues, but it's the best java build tool I've used so far Jul 05 03:37:24 yeah Jul 05 03:37:27 I love the whole maven repository thing. but you get that with gradle too :) Jul 05 03:37:48 i haven't figured out how to publish to maven with gradle yet Jul 05 03:37:54 thats my next task Jul 05 03:38:01 heh, it's a bit of a pain :) Jul 05 03:38:07 great -_- Jul 05 03:38:17 maven's too hard to customize if you want to do something different Jul 05 03:38:27 it's declarative syntax isn't flexible enough Jul 05 03:38:35 in the enterprise, you have to decide if its best that a build engineer codify rules in a plugin, or let projects 'easily script' stuff more ad-hoc. maven is tough enough to modify and/or write plugins most don't try it Jul 05 03:38:49 yeah, exactly Jul 05 03:39:00 JesusFreke if u do it right, you should rarely need to do something different enough where it would be difficult in maven Jul 05 03:39:07 (imo at least) Jul 05 03:39:19 it really depends on what you're doing Jul 05 03:39:59 g00s i work in enterprise, if everything was in maven it would make it so much easier(at least in comparison to the ant pos build i work with) Jul 05 03:40:18 when you have HUGE codebases convention makes everything so much easier Jul 05 03:40:20 If there isn't already a plugin for , good luck! I ran into that in a number of cases for language related tools that I was using to build smali Jul 05 03:41:34 antlr, jflex, ragel, etc. Jul 05 03:41:46 i know non of these things lol Jul 05 03:41:52 not to mention building smali files themselves, for tests Jul 05 03:42:30 smali Jul 05 03:42:34 meh Jul 05 03:42:35 :P Jul 05 03:43:05 does the gradle antlr plugin work oK with the android build system? so many things assume the regular 'java' plugin Jul 05 03:43:07 if you're just doing ye olde java/Android application, then yeah. You typically shouldn't run into problems with maven Jul 05 03:43:18 dunno offhand Jul 05 03:45:23 g00s: seriously, is it hard to just sync a database with a restful json api? it's real industry standard where I come from =) Jul 05 03:46:00 yakko apparently not if it doesnt exist lol Jul 05 03:46:00 yakko i guess that depends on how complex the data model is, and how fine grain the conflict resolution is Jul 05 03:47:09 one day i was strolling around in the book store and i came across this http://www.amazon.com/Synchronization-Algorithms-Concurrent-Programming-Taubenfeld/dp/0131972596 Jul 05 03:47:18 i thought "oh cool , a fucking book on synchronizing!" Jul 05 03:47:38 g00s, how long have you been programming in java? Jul 05 03:47:45 and then i quickly found out it was about concurrency instead :( Jul 05 03:48:19 therue hmm, well i did java EE for a few years, then android. i don't really keep up with the EE stuff any more Jul 05 03:48:34 at the time, J2EE was out, Spring was in ... Jul 05 03:48:39 now Spring is out ... Jul 05 03:48:45 fuck spring Jul 05 03:48:50 something else is in, i have no idea :) Jul 05 03:49:02 :P Jul 05 03:49:13 it started out with noble goal, then it became everything j2ee was Jul 05 03:49:19 g00s it doesnt matter whats in & out in j2ee enterprise Jul 05 03:49:23 and osgi, and all that crap Jul 05 03:49:26 bc the projects are all 10 years old -_- Jul 05 03:49:59 yeah … all using enterprise java beans, etc Jul 05 03:50:05 gah Jul 05 03:50:12 and piles of xml :) Jul 05 03:50:24 and struts Jul 05 03:50:24 1 Jul 05 03:50:25 -_- Jul 05 03:50:35 hehe, JSP oh crap that sucked too Jul 05 03:50:41 yup Jul 05 03:50:46 g00s i just got a new job Jul 05 03:50:48 java server faces was coming along when i got out Jul 05 03:50:59 i see java classes first written in 2010 Jul 05 03:51:01 using java 4 Jul 05 03:51:05 JAVA FOUR Jul 05 03:51:16 4 fields Jul 05 03:51:20 all strings Jul 05 03:51:50 jug6ernaut java is a pretty simple language ; it just makes concurrency kinda hard to get right ;) Jul 05 03:51:57 gosh, firebase suddenly looks like a godsend Jul 05 03:51:59 generics takes more than 10 minutes to master Jul 05 03:52:03 g00s my main issue Jul 05 03:52:12 is raw classes everywhere Jul 05 03:52:14 Map Jul 05 03:52:16 List Jul 05 03:52:22 it makes the code a nightmare to read Jul 05 03:53:42 scala looks like a nightmare to read too Jul 05 03:54:11 i always dreaded reading other people's C++ code Jul 05 03:54:12 never touched scala Jul 05 03:54:33 i'd give it a try in the enterprise Jul 05 03:54:51 as if i could choose what i use -_- Jul 05 03:55:03 i would start with intellj Jul 05 03:55:06 but … without being knowledgeable about it; my friend says its such a large language, its easy to come across somebody elses weird ass scala stuff Jul 05 03:55:08 * jug6ernaut is forced to use eclipse Jul 05 03:55:53 jug6ernaut oh yeah a new eclipse came out the other day Jul 05 03:56:07 yep eee Jul 05 03:56:08 lol Jul 05 03:56:13 :D Jul 05 03:56:46 g00s one of my favorite pieces of code I've seen so far Jul 05 03:57:09 a method that maps an enum to a month string(bc the enum couldn't have the string in itself for some reason lol) Jul 05 03:57:10 but Jul 05 03:57:37 was like this case blah: return "April".trim().toString(); Jul 05 03:58:12 oh my Jul 05 03:59:00 lol Jul 05 03:59:03 yeah :S Jul 05 03:59:17 did they at least use EnumMap :P Jul 05 04:00:58 lol no Jul 05 04:01:08 remember the java 4 :P Jul 05 04:04:27 hey g00s Jul 05 04:04:29 whats going down? Jul 05 04:05:01 hey Napalm; oh just looking at amazon to see what to read next (not computer related) Jul 05 04:05:21 i can spend hours going through recommendations it seems Jul 05 04:06:25 i guess i should also spend some time planning what next technology i should learn Jul 05 04:06:31 what about you Napalm ? Jul 05 04:06:47 sucks to be me rightn ow Jul 05 04:06:48 now Jul 05 04:07:09 having to create some legacy builds for APIv4 to APIv8 Jul 05 04:07:29 oh man, so you gotta download some really old crap probably ? Jul 05 04:07:29 calling Boolean rc = new com.itcuties.android.apps.myapp.checkInternetConnected().execute().get(); from within an async task (the command calls an async task… well it blocks all subsequent calls to it … any ideas? Jul 05 04:07:41 and freezes up my threads Jul 05 04:07:58 yeah, sounds about right jaspertheghost :) Jul 05 04:08:08 its called 'deadlock' Jul 05 04:08:24 any suggestions*? Jul 05 04:08:25 hehe, another victim of java concurrency Jul 05 04:08:31 fill_parent lol Jul 05 04:08:32 its a bitch Jul 05 04:08:34 yeah, don't use .get() … Jul 05 04:08:36 almost forgot about that Jul 05 04:08:47 i need the result back... Jul 05 04:08:57 but it blocks until its done Jul 05 04:09:10 and you're doing it from the worker thread Jul 05 04:09:11 it never finishes even though there is a timeout on the it Jul 05 04:09:14 (or so it seems) Jul 05 04:09:26 from within an async task Jul 05 04:10:03 jaspertheghost you're gonna keep bleeding until you learn some java concurrency Jul 05 04:13:55 i need to get focused and start learning clojure Jul 05 04:26:48 i have a full screen activity and i was wondering if tehre way a way to move the window up or something so when i get the keyboard it doesnt hide the text at the bottom Jul 05 04:27:07 cuase thats where its entered at the bottom of the page (well part of the text that is needed) Jul 05 04:29:52 fixed the thread concurreny issue (since i was already in a “thread” asyntask i just generalize the function so i could call it within the async task … and the other async task that handles the function calls it … technically i could make an async task that takes a function anme as parameter and call that Jul 05 04:36:16 jaspertheghost: its provided already as part of the framework Jul 05 04:36:54 jaspertheghost: http://developer.android.com/guide/topics/manifest/activity-element.html#wsoft Jul 05 04:37:16 sounds like you want to set it to adjustPan on your activity Jul 05 04:37:27 well a webview in fullscreen mode it doesnt work and i already tried that Jul 05 04:37:40 lol Jul 05 04:37:41 let me try adjustPan Jul 05 04:37:42 webviews Jul 05 04:38:10 we do live in a a web oriented world.. Jul 05 04:38:15 if that doesn't work try adjustResize Jul 05 04:38:29 jaspertheghost: yea, but WebView's suck ass Jul 05 04:38:53 it wont be for at least another year or two before we can use them Jul 05 04:38:54 There’s no alternative though so we work with what w are given Jul 05 04:38:59 there are now Jul 05 04:39:18 what alternative’s are there? Jul 05 04:39:42 RecyclerView is a new view added to android to solve this kind of problem Jul 05 04:40:03 its part of the new Support Library was added at this years Google I/O Jul 05 04:40:44 the idea that you can now have the flexiblity to do more complex and cool layouts **** BEGIN LOGGING AT Sat Jul 05 04:42:45 2014 Jul 05 04:42:49 Napalm no :) Jul 05 04:43:01 congrats Jul 05 04:43:03 :) Jul 05 04:43:05 XD Jul 05 04:43:08 android studio is the way to go Jul 05 04:43:22 better all around Jul 05 04:43:33 some of us are not that lucky atm Jul 05 04:43:41 Napalm so is 20.0.0 basically just RecyclerVier and CardView? they didn't post a release notes Jul 05 04:43:52 nope Jul 05 04:43:56 lots more Jul 05 04:44:01 oh :| Jul 05 04:44:02 do a local diff Jul 05 04:44:34 diff SDK\sources\android-19\android\support SDK\sources\android-20\android\support Jul 05 04:46:21 Napalm where did the sources come from, repo? or sdk manager ? Jul 05 04:46:26 sdk manager Jul 05 04:46:31 g00s: btw, you need the Android SDK Tools 23.0.1 at least to use it Jul 05 04:46:35 repo takes forever these days :D Jul 05 04:46:49 Napalm i use 23.0.2 :P Jul 05 04:46:57 just making sure Jul 05 04:48:40 Napalm do you think they used support lib 20.0.0 for iosched 2014 ? Jul 05 04:49:12 one would think so Jul 05 04:49:53 well i hope they put up some javadocs for the new stuff soon :P Jul 05 04:50:11 i feel more lost than normal Jul 05 04:50:25 new stuff in the support lib Jul 05 04:50:27 dude Jul 05 04:50:31 they already exist Jul 05 04:50:50 g00s: http://developer.android.com/preview/reference.html Jul 05 04:51:19 download zip extract and rename the "l preview reference" directory to "reference" to get the diff html to link to reference html Jul 05 05:00:11 Hey Jul 05 05:00:27 What would be the best way to share a lat lng or address in android Jul 05 05:01:34 Like api wise Jul 05 05:02:52 so i placed my webview in a scroll view with height and width set to wrap_content … but the webview loads up black sometimes until i mess with orientation of it then renders the page … and some of the javascript that looks at the height of the page is messed up... Jul 05 05:03:23 jaspertheghost: congratulations, now you have found out what everyone else knows.. webviews suck Jul 05 05:04:00 again… no alternative Jul 05 05:05:07 jaspertheghost: check this Jul 05 05:05:08 https://github.com/slightfoot/android-web-wrapper/blob/master/WebWrapper/src/com/example/webwrapper/BrowserActivity.java Jul 05 05:05:11 might help you out Jul 05 05:05:36 started it as an example of how to maintain the WebView correctly across context changes Jul 05 05:05:38 Napalm: would you happen to know howto solve me issue? Jul 05 05:05:50 *my Jul 05 05:06:11 ProjectBarks: share? as in to another person? Jul 05 05:06:22 Yeah Jul 05 05:06:31 ProjectBarks: the other person would have to have your app installed to view it Jul 05 05:06:52 ProjectBarks: sound ok? Jul 05 05:06:55 I fucking hate my life Jul 05 05:07:01 ?? Jul 05 05:07:06 theres other ways Jul 05 05:07:11 i want to know what you are trying to do Jul 05 05:07:15 I get it Jul 05 05:07:18 do you Jul 05 05:07:23 i'm not sure Jul 05 05:07:23 Its like 1:07 right here Jul 05 05:07:27 Just tired as fuck Jul 05 05:07:57 ProjectBarks: you can share a url.. if the app has a website it can display the content.. the app can register to handle said url and open it in the app. Jul 05 05:07:57 So I have a LatLng and If I want the user to hit up a friend and be like "Hey check this location out on google maps" Jul 05 05:08:03 oh Jul 05 05:08:09 then just share the google maps url Jul 05 05:08:09 lol Jul 05 05:08:30 Why did I not think of that... Jul 05 05:08:41 because its 1:07 Jul 05 05:08:42 lol Jul 05 05:09:02 Ok now what If I want the user to beable to take this location I provide and see it in google maps Jul 05 05:09:10 http://maps.google.com/?daddr=56.3546,34.322546 Jul 05 05:09:13 just share that Jul 05 05:09:19 ok do this Jul 05 05:09:27 email yourself that url in gmail Jul 05 05:09:33 try opening the link on the device Jul 05 05:09:49 does android give you the option to open it in google maps app? Jul 05 05:09:57 yes? well its a win then Jul 05 05:10:47 Lemme check android gmail syncs slow as fuck. Jul 05 05:11:00 Holy... Damn It worked Jul 05 05:11:30 iu suggest you use the google play service api Jul 05 05:11:47 I was just going to use the intent Jul 05 05:12:30 Hi Jul 05 05:12:57 I am trying to view a map present in the /storage/sdcard/my_folder/.zip Jul 05 05:12:59 ProjectBarks: well i just mean to generate the url.. they probably have a function for that Jul 05 05:13:05 But getting error as java.util.zip.ZipException: Not a zip archive Jul 05 05:13:10 O I have a url for that already Jul 05 05:13:24 niru: sounds correct. since a folder is not a zip Jul 05 05:13:24 Can anybody point what jar am I missing Jul 05 05:13:39 Napalm: Also do you know if android is adding animations and crap to simlify all the look and feel they want for the new version of android (L) Jul 05 05:13:51 did you mean: storage/sdcard/my_folder.zip < notice no slash Jul 05 05:13:56 niru: ^ Jul 05 05:14:05 Napalm, my map is inside the folder in a zip forma Jul 05 05:14:08 form Jul 05 05:14:21 but you didnt specify the filename Jul 05 05:14:24 ^ What 0_0 ??? Jul 05 05:14:51 You cant just have a .zip you need a [insertNameHere].zip Jul 05 05:15:19 Napalm, the file name is Unnamed atlas_2014-07-04_170743 Jul 05 05:15:34 lol Jul 05 05:15:37 n00b fail Jul 05 05:15:49 ProjectBarks, oh that was just to represent my path Jul 05 05:16:07 sorry for that Jul 05 05:16:58 niru: well then the exception tells you all you need to know Jul 05 05:17:05 niru: java.util.zip.ZipException: Not a zip archiv Jul 05 05:17:08 its not a zip file Jul 05 05:17:20 just naming something .zip does not make it a zip Jul 05 05:17:21 :P Jul 05 05:18:07 Napalm, right clicking the file it is in zip format Jul 05 05:18:15 lol Jul 05 05:18:24 Compressed (zipped) Folder (.zip) Jul 05 05:19:15 yes, its just getting that from the filename because it ends in .zip Jul 05 05:22:22 Napalm: do you know about what google plans on doing with the new look and feel? I dont know if you saw but they want you to use way more animations Jul 05 05:26:06 ProjectBarks: yea, its all in Google I/O videos Jul 05 05:26:18 O really? Jul 05 05:26:32 Like how they plan on implementing the new animations Jul 05 05:26:36 yes Jul 05 05:27:00 ProjectBarks: there is also spec for animations here.. http://www.google.com/design/spec/material-design/introduction.html click to left for menu then click animations Jul 05 05:29:15 I was thinking animations like Points of origin and the meaningful transitions Jul 05 05:29:18 ^ Napalm Jul 05 05:29:41 and? Jul 05 05:29:45 its all in the framework Jul 05 05:29:57 all explained in the Google I/O videos Jul 05 05:29:58 So its implemented by default? Jul 05 05:30:04 Mind linking me Jul 05 05:30:10 no, you obviously have to tell it what you want to do Jul 05 05:30:18 dont have links to hand Jul 05 05:35:55 Napalm quick q, i'm really feeling dense. so i unzipped that file, and i see an api diff. how does that refeclt whats new in support library 20.0.0 ? Jul 05 05:37:20 sorry :D Jul 05 05:37:27 g00s: huh? Jul 05 05:37:47 yeah, nm. i think i need to take a break :) Jul 05 05:45:46 i wrapped the webview inside a textview -> android.widget.TextView cannot be cast to android.view.ViewGroup any ideas? same goes for listview cant Addview is teh erro with the listview Jul 05 05:47:07 well yea obviously Jul 05 05:49:21 let me guess cant have a webview in a listview Jul 05 05:49:29 though it seems other people have done it Jul 05 05:50:04 what are you exactly using these webview's for? Jul 05 05:51:41 HA i found a work around!!!!! Jul 05 05:51:53 fuck yea yea Jul 05 05:51:59 http://stackoverflow.com/questions/7417123/android-how-to-adjust-layout-in-full-screen-mode-when-softkeyboard-is-visible/19494006#19494006 Jul 05 06:01:39 Can anybody help me in solving the error http://pastebin.com/DVUqXvi5 Jul 05 06:08:47 paste the code that your using Jul 05 06:19:17 hi Jul 05 06:19:39 i need to invoke the gallery and fetch all the images in my app. then allow the user to multi select and do some action on them like sharing. how do i go about doing that? Jul 05 07:10:48 compiling against sdk version 19 and Build.VERSION_CODES javadocs no longer give the value. Annoying Jul 05 08:18:46 jaspertheghost, do u want me to paste the code in pastebin Jul 05 08:19:55 http://pastebin.com/sEXS398H Jul 05 08:20:07 And the error was in http://pastebin.com/DVUqXvi5 Jul 05 08:25:58 Hello, Jul 05 08:42:51 In an ASyncTask does the onPostExecute run on the main thread? Jul 05 08:46:24 Also, this might a very stupid question, but i have used the .execute().get() command of my ASyncTask to get the result but then i think whats the point of the ASyncTask if i am waiting for the result anyway? Jul 05 08:47:05 .get() on an AsyncTask runs in the UI thread (correct me if Im wrong) Jul 05 08:48:18 But i thought the whole point of an ASyncTask is that it doesnt run in the UI thread? Jul 05 08:50:21 you should move the code that waits for the .get() to onPostExeceute Jul 05 08:51:02 then it will be executed *when* the async completes and not hold up the calling thread Jul 05 08:51:46 Alternatively you could create a call back class - I have an example of that somewhere. Give me a sec Jul 05 08:56:11 Oh okay yeah this is making sense. For some reason i didnt think you could make changes to the Acticity from the ASyncTask but i think its just doInBackground that is restricted from doing this. Jul 05 08:58:11 Anything new on ListView drag&drop reordering? Jul 05 09:02:57 can I get help for http://pastebin.com/DVUqXvi5 Jul 05 09:08:10 AKK9 check out https://gist.github.com/ed-george/8097940a2b2a55d036c5 Jul 05 09:08:27 something I have just thrown together now - so sorry if it doesnt work Jul 05 09:08:30 havent tested Jul 05 09:10:21 niru You still having issues with the maps? Jul 05 09:10:56 Thanks EdGeorge Jul 05 09:11:08 EdGeorge, I am just one step back to have the map view. I am able to see the grid tiles on the emulator but no map:( Jul 05 09:11:36 AKK9 let me know if you want it explained - but it's a relatively simple thing :) Jul 05 09:12:42 niru Does it require to have Google Play Services on the emulator? I forget what map lib you are using but that is usually an issue with maps/emulators Jul 05 09:13:26 EdGeorge, no it does not require a google pay service Jul 05 09:13:42 EdGeorge was going to figure it out myself but would really appreciate if you could explain that. Jul 05 09:13:43 niru Ok cool. Jul 05 09:13:53 AKK9 sure I will PM you Jul 05 09:13:54 I am using osmdroid libraries Jul 05 09:15:57 ok Jul 05 09:18:40 niru to me, it looks like your emulator not being connected with the internet miught be the problem Jul 05 09:18:53 I suggest googling how to do that, or test on a real device Jul 05 09:19:10 EdGeorge, I tried that :( I added dns-server 8.8.8.8 in the emulator configuration Jul 05 09:20:18 I personally use real-devices to test, so I have no experience in emulator config Jul 05 09:21:24 EdGeorge, I think problem is something else. let me paste the error that I am seeing when in debug mode Jul 05 09:21:59 http://pastebin.com/RDZNj8Eb Jul 05 09:25:40 niru Well that error clearly suggests its trying to open a .zip file and it's failing - are you sure you have imported osmdroid to your project correctly Jul 05 09:25:54 do you need to place any files in the assets folder? Jul 05 09:27:17 hmm I have imported all the libs correctly. Jul 05 09:29:50 EdGeorge, Even I guess its libraries issue Jul 05 09:30:10 let me try cleaning my project and import libraries afresh Jul 05 09:32:32 * EdGeorge if in doubt. CLEAN! Jul 05 09:32:47 lol niru ok :) Jul 05 09:41:03 hey guys Jul 05 09:41:18 Im getting a strange error with db.delete(), "Too many bind arguments, takes 0 and given 1" Jul 05 09:41:59 Sicp have you got a LogCat error you can place on pastebin Jul 05 09:42:00 while delete actually takes 3 arguments... Jul 05 09:42:25 yea one sec Jul 05 09:42:50 http://pastie.org/9357436 Jul 05 09:43:06 the culprit line is below the exception Jul 05 09:44:15 delete takes (table, whereclause and whereargs) Jul 05 09:44:23 why would it say it takes 0.. Jul 05 09:45:54 lol, NO ONE has faced this on the Internet Jul 05 09:51:34 Sicp relatively simple probs dont worry :) Jul 05 09:52:10 er, do you understand what bind arguments are? Jul 05 09:52:16 issue is you have no 'placeholders' in the where clause but provide one bind argument Jul 05 09:52:25 it's not complaining about the Java, it's complaining about the SQL Jul 05 09:52:40 yes I know about the SQL, but from Java i gave it its arguments to construct the SQL Jul 05 09:52:42 Sicp actually, I just found this too Jul 05 09:52:44 http://stackoverflow.com/questions/11458707/batch-delete-items-with-content-provider-in-android Jul 05 09:53:16 Sicp yes, but did you add a place holder i.e a question mark in the WHERE Jul 05 09:53:59 JakeWharton: are calls to picasso's load() function async? i wish to call a future's get() function in the body of a function call that i pass to load() in order to block the background thread Jul 05 09:54:05 ah you mean it should be the same, but for the last one a question mark, then after it the String ID Jul 05 09:54:56 yea I dont understand how they work obviously Jul 05 09:55:48 Sicp It's an easy fix. Just check that SO link, it's fairly obvious Jul 05 09:56:18 oh it should be passed to it Jul 05 09:58:13 ohhh I have it done this way in another query Jul 05 09:58:20 no idea why this one is botched Jul 05 09:59:10 ty Jul 05 09:59:29 No problem Sicp Jul 05 10:12:28 hi anyone wanna help me out? just updated to newest android studio and now I cant run my project. When I rebuild the project I get no errors, but when I try to run it I get this: http://pastebin.com/y5XGCYuH Jul 05 10:13:49 How do I make edittext not show spell check red underlines, but do show suggestions while typing on keyboard? inputType=textNoSuggestion takes away suggestions, while I just want red underlines gone Jul 05 10:14:18 this is my build http://pastebin.com/81tr0aB1 Jul 05 10:29:20 Dangersun: did you clean the project? Jul 05 10:30:21 yes gdrc Jul 05 10:30:50 please remove compile files('libs/opencsv-2.4.jar') this line Jul 05 10:34:32 ok hang on, im reinstalling android studio. But I remember I tryed that and it gave an error with another dependency, the timepicker 1 Jul 05 10:46:46 hey there, in an activity i have a list and beneath it a button, my problem is, when the list has to many elements, the button vanishes. how can i make the view scrollable? Jul 05 10:48:25 Hey, my windows eclipse allows me to put in the manifest android:configChanges="screenSize|smallestScreenSize" even my minSdk is 9, my linux eclipse does not allow that it want api 13 and above, any idea how can I make my linux eclipse accet those configs as well ? Jul 05 10:50:25 I don't know what's the real minSDK for that, but probably one is doing it wrong Jul 05 10:55:46 the real wrong thing is: android:configChanges="screenSize|smallestScreenSize" Jul 05 10:57:43 that is another history though Jul 05 10:58:06 that's what admob requires... :/ Jul 05 12:33:08 I got A listview (inside a fragment) inside a viewpager with 4 fragments.The problem is that only I'm able to swipe the viewPager only from the left side of the listview item. code: https://gist.github.com/anonymous/959ba4cd055001ca2b41 Jul 05 12:42:02 hi Jul 05 12:42:09 I have a problem with the fonts in android studio Jul 05 12:42:18 Linux? Jul 05 12:42:20 I found out that in order to fix this i need to use Jul 05 12:42:25 oracle jdk Jul 05 12:42:25 yeah Jul 05 12:42:31 and not open jdk Jul 05 12:42:36 So? Jul 05 12:42:41 how do i do this? Jul 05 12:42:54 Easy. Wait a second. Jul 05 12:43:03 ok thanks Jul 05 12:43:59 JDK_HOME=~/app/jdk/jdk1.8.5_05 idea.sh & is how I start IntelliJ. Since AS is based on it, it should be the same. Adapt the path to where you installed the JDK. Jul 05 12:44:46 It's setting an environment variable which is used by the startup script. Jul 05 12:45:20 You can set it, I forget in the info plist? Jul 05 12:45:24 You could export that variable in bashrc/zshrc/profile/whateverelse. Jul 05 12:45:32 ok, I havent edited my environment variables for a while and I've forgotten how to do it, i'll look it up Jul 05 12:45:46 Oh wait, you only set jdk family in the info plist Jul 05 12:45:53 dazpetty: I showed you how to do it. Jul 05 12:46:21 How are you launching AS? Jul 05 12:46:29 oh yeah Jul 05 12:46:30 yeah Jul 05 12:46:36 um i need to dl oracle jdk Jul 05 12:46:41 not sure which one it is Jul 05 12:47:08 * flan3002 shrugs. You'll figure out. Jul 05 12:47:15 I dont need the JDK for ARM do I ? Jul 05 12:47:47 nope, unless you are building your project on ARM machine dazpetty Jul 05 12:47:53 What architecture are you working on? Jul 05 12:47:53 ah Jul 05 12:48:04 ohh yeah arm must mean like chromebooks or something Jul 05 12:48:23 Well, you could install the JDK on your Android device... Jul 05 12:48:36 I've just had a really terrible 2-3 days and have a splitting headache from trying to get google game services to work Jul 05 12:48:39 In most cases, you'd need the ARM version then. Jul 05 12:48:47 But on a regular PC you don't. Jul 05 12:48:53 yeah i dont want to compile on my phone lol Jul 05 12:50:26 I got A listview (inside a fragment) inside a viewpager with 4 fragments.The problem is that only I'm able to swipe the viewPager only from the left side of the listview item. code: https://gist.github.com/anonymous/959ba4cd055001ca2b41 Jul 05 12:51:24 hmm flan3002, i just did what you said Jul 05 12:51:30 i'm still using openJDK though Jul 05 12:51:49 it didn't seem to switch it Jul 05 12:52:00 and what/where is idea.sh? Jul 05 12:52:22 Where did you install the Oracle JDK? Jul 05 12:52:47 I typed: JDK_HOME=~/Developer/jdk1.8.0_05/ :: in the console Jul 05 12:53:04 Where did you install AS? Jul 05 12:53:27 .... /Developer/Android-Studio Jul 05 12:53:59 You have to type both of these in one line. Jul 05 12:54:06 Or export ... the variable. Jul 05 12:54:27 oh how do i do that? Jul 05 12:54:45 export -> JDK thing Jul 05 12:55:13 ah got it thanks Jul 05 12:55:14 export JDK_HOME=~/Developer/jdk1.8.0_05 Jul 05 12:55:25 It will only work in the current shell though. Jul 05 12:55:45 You have to put it in your startup-script of choice else. Jul 05 12:55:57 ah Jul 05 12:56:23 maybe I should put a script next to it with chmod Jul 05 12:56:28 maybe I should put a script next to it with chmod +x Jul 05 12:57:43 Jut put it in your bash script Jul 05 12:57:48 If you use bash Jul 05 12:57:57 yeah i just put it at the top of the studio.sh Jul 05 12:58:01 do you think thats ok? Jul 05 12:58:38 Sure it is. Jul 05 12:58:40 I meant .bashrc, but that is fine too Jul 05 13:00:43 Hi all Jul 05 13:00:43 cool Jul 05 13:00:52 well I been having alot of problems with eclipse today Jul 05 13:00:57 so lets see what happends now Jul 05 13:01:28 I have a String which contains html source code, now I need to get a value from it ( ) , I must got the "abc", Should I use String methods or does somebody suggest something else? Jul 05 13:02:33 Use something proper, like JSoup. Jul 05 13:03:08 Yes, it is a big library, bigger than string methods or *shivers* regex parsing, but it is stable and everything. Jul 05 13:03:36 do you mind if I ask, has anyone here used libgdx before? Jul 05 13:03:44 I did. Why? Jul 05 13:04:05 flan3002: thanks! Jul 05 13:04:31 I'm just curious, I've been having a lot of trouble trying to get my project onto the google store Jul 05 13:06:25 flan3002: can you help how I can use jsoup with gradle? It's for my first Android Studio project Jul 05 13:06:52 hey guys Jul 05 13:06:52 FrancescoV: just ask Jul 05 13:07:12 hello shmoon Jul 05 13:07:28 getExternalStoragePublicDirectory gives /storage/emulated/0/ but in the file explorer and android debug monitor of android studio, the /storage/emulated/ folder has a folder called legacy which is empty Jul 05 13:07:30 FrancescoV: No, I can't, I don't use Gradle. :/ Jul 05 13:07:39 why is that? Jul 05 13:08:01 Ok, I found this: http://jsoup.org/download (but no gradle) Jul 05 13:08:12 shmoon: I had the same issue. I use /sdcard/ Jul 05 13:08:27 compile 'org.jsoup:jsoup:1.7.3' Jul 05 13:08:39 right Jul 05 13:08:47 FrancescoV: use that Jul 05 13:09:22 Foxandxss: thansk! where did you find that? Jul 05 13:09:30 http://gradleplease.appspot.com/ Jul 05 13:09:39 I suggest to use: http://mvnrepository.com/ Jul 05 13:09:39 gdrc: my sdcard folder is empty Jul 05 13:10:11 gdrc: that one is also cool Jul 05 13:10:20 Thansk! magic thing Jul 05 13:10:40 shmoon: /sdcard/ is empty? what device do you have? Jul 05 13:11:06 it is genymotion Jul 05 13:20:16 shmoon: can't help sorry Jul 05 13:28:09 http://stackoverflow.com/questions/24586901/activity-preview-for-transparent-activity-kitkat Jul 05 13:33:45 hi guys Jul 05 13:34:04 can anyone give me a good two-way sync adapter example? Jul 05 13:40:25 How can I get the value of a Document with jsoup? ,need to get "product" Jul 05 13:41:17 http://www.w3schools.com/XPath/ Jul 05 13:44:25 ok tnx Jul 05 13:50:29 Hi everybody, got a problem on widgets. I'm adding View in my widget dynamicly. I want to each view height became exactly as one cell. but I found out that this is really different device by device. with, "fitsSystemWindows" i could do the job, but sometimes on devices it fit two window on one cell !!! any idea? Jul 05 14:21:12 what does the "m" prefix means Jul 05 14:22:39 L8 in what context Jul 05 14:23:00 any context Jul 05 14:23:07 I'm seeing a lot of examples Jul 05 14:23:10 Naming. Jul 05 14:23:13 Probably. Jul 05 14:23:17 it's a silly naming conventions Jul 05 14:23:20 L8 its just a convention Jul 05 14:23:31 I wonder why the android examples use it, while the google style code for java discourages it Jul 05 14:23:46 use it, or dont use it. It doesn't really matter :) Jul 05 14:23:51 yeah I know Jul 05 14:23:56 just was curious Jul 05 14:25:45 http://source.android.com/source/code-style.html#follow-field-naming-conventions It is described here Jul 05 14:51:12 good morning guys Jul 05 14:52:12 JakeWharton: can i override picasso's load() method? i would like to do some work asynchronously before passing the url down load's stack while keeping picasso's placeholder function intact Jul 05 14:52:13 what I need to do create back button on preferencefragment, I want to go back. Jul 05 14:52:19 I dont know what to do Jul 05 14:56:54 if I have @dimen/text_size in dp not sp, how do I read this value into dp? i want to set textsize in dp, not sp Jul 05 14:56:59 <_3mpty> scalex000: do you mean 'up button'? Jul 05 14:57:26 i want to back to main layout Jul 05 14:57:48 <_3mpty> http://developer.android.com/training/implementing-navigation/ancestral.html Jul 05 14:58:04 _3mpty, thank you Jul 05 14:58:27 <_3mpty> no problem mate Jul 05 14:59:14 <_3mpty> scalex000: one more thing, you should also look at this: http://developer.android.com/design/patterns/navigation.html Jul 05 15:09:25 if you store a text size in xml as dp, not sp, how do you read this to an int in code? Jul 05 15:09:55 Does anyone know a good android programming book like java and android any good? Jul 05 15:10:06 I have made a mistake so my app cant handle the user changing font size so I just want to do so that the user cannot do this. how do I achieve that? Jul 05 15:11:11 <_3mpty> striker: do you mean changing font size on android settings level? Jul 05 15:11:34 <_3mpty> or what? Jul 05 15:17:41 yes. I dont want it to change fonts in the game. it is gonna fuck up my game totally. i was unaware of this and i dont want to redo my UI now. Jul 05 15:18:22 <_3mpty> I'm not sure about size but for font type just configure it for every View Jul 05 15:18:41 <_3mpty> should force OS to use defined by you and not overwrite with own Jul 05 15:19:13 <_3mpty> (test on samsung tab/note devices - they have shitty, comic sans like font by default :P) Jul 05 15:20:15 _3mpty, hi Jul 05 15:20:39 <_3mpty> striker: what kind of game it is? I'm just diving into unity, and I was struggling a lot with engine choice... Jul 05 15:22:40 _3mpty: it is just a multichocie quiz game, no engine. also made a "ball in maze tilt your phone to control"-game but didnt need an engine. Jul 05 15:23:02 i have tried andengine once, 2 years ago, then it was very poorly documented which made it kind of a pin to use. Jul 05 15:23:13 but then i didnt know android before Jul 05 15:23:59 <_3mpty> currently andengine is not so bad, but I prefer libgdx anyway Jul 05 15:24:12 <_3mpty> (if I would like to use java api engine) Jul 05 15:26:11 yeah libgdx i might look into next time Jul 05 15:26:37 * flan3002 would use SDL with Rust, if he had a proper internet connection. Jul 05 15:27:13 _3mpty, hello Jul 05 15:27:18 <_3mpty1> Hi, again Jul 05 15:27:51 <_3mpty1> (Adium is piece of !@#$ as irc client) Jul 05 15:27:54 sorry, I need you look what Im doing, im lost, too much for me Jul 05 15:28:08 <_3mpty1> meh, show me your code Jul 05 15:28:18 hey guys Jul 05 15:28:21 hastebin Jul 05 15:28:24 or what? Jul 05 15:28:31 hastebin Jul 05 15:28:31 lol Jul 05 15:28:49 * flan3002 likes ix. Doesn't get more minimal. Jul 05 15:28:50 <_3mpty> yeah, pastebin is ok Jul 05 15:28:53 looking for a way to expand a listview to its full height (to show all of its items), how do I do that? Jul 05 15:29:12 I dont want a static height, because it isnt scrollable where I have it, it's inside an ExpandableListView and I dont want both to be scrolling Jul 05 15:29:44 <_3mpty> yyyy, list inside of list? Jul 05 15:29:50 yea Jul 05 15:30:46 <_3mpty> I'm not sure but this is something like your case: https://www.youtube.com/watch?v=mwE61B56pVQ Jul 05 15:30:54 <_3mpty> check his code Jul 05 15:31:14 totally not it Jul 05 15:31:34 I just want to set the listview height to "fill_parent" if you may Jul 05 15:32:13 to not eat up any of the children it has, because there is no scrolling Jul 05 15:32:21 I think I need to choose another view for this Jul 05 15:48:31 _empty, wait Jul 05 15:54:11 _empty, how you can see the project Jul 05 15:54:41 <_3mpty> scalex000: easiest way would be git repository Jul 05 15:54:59 <_3mpty> github.com or bitbucket.com Jul 05 15:55:13 <_3mpty> sorry: bitbucket.org Jul 05 15:55:25 I setup git Jul 05 15:55:51 _empty, I was trying to setup in eclipse but I dont know how to do it Jul 05 15:56:02 <_3mpty> what os are you using? Jul 05 15:56:25 <_3mpty> for development? Jul 05 15:57:13 <_3mpty> windows? Linux? osx? Jul 05 15:58:05 _empty, windows, ADT(eclipse) Jul 05 15:58:48 <_3mpty> so for git gui tool atlassian source tree would be best pick Jul 05 15:59:07 <_3mpty> cleanest git client in my opinion Jul 05 15:59:21 <_3mpty> it's a shame that there is no fork for linux :< Jul 05 15:59:58 <_3mpty> http://www.sourcetreeapp.com/ Jul 05 16:02:25 <_3mpty> also github has own git tool but I never tried it Jul 05 16:02:36 I just want to ask that, usually when I call someone the timer starts as soon as I call, but I want an app which would start the timer when the other person would answer the call, the exact calling time, how can I make such an app ? Jul 05 16:05:21 _empty, i need to download too Jul 05 16:07:34 i am trying to google instructions on how to modify the spinner... so I can include images for example. what should I be googling? Jul 05 16:10:03 _empty, what do you need? Jul 05 16:10:35 <_3mpty> project i guess Jul 05 16:10:47 <_3mpty> or problem related piece of it Jul 05 16:11:53 <_3mpty> just zip it and upload somewhere if you have problem with git Jul 05 16:13:03 <_3mpty> dropbox for example Jul 05 16:17:27 _empty, lol, I dont have problem its just I dont know what to do in attlassian, lol Jul 05 16:18:15 _empty, done Jul 05 16:18:31 _empty, this is the url: https://github.com/scalex000/SyncEmbed Jul 05 16:18:54 perhaps I should ask first. is it possible to modify the spinner control so that iCan get more interesting drop dwns? Jul 05 16:19:28 <_3mpty> scalex000: ok, clone in progress Jul 05 16:20:10 _empty, only review and told me what do you think, im not a expert and its not a complicated aplication Jul 05 16:20:28 <_3mpty> IrishGringo: maybe searching for spinner library will be better aproach Jul 05 16:20:31 _empty, but for my 2 week doing and reading :P Jul 05 16:22:20 _empty, I only create a layout with 3 buttons, a preferencescreen and setup a service from another library Jul 05 16:23:18 _empty, I lost when i try to create up or back when i click configuracion(settings) and go to preferences screen I dont know how to go back Jul 05 16:35:46 _3mpty: I will give that a try Jul 05 16:36:32 <_3mpty> IrishGringo: there is nice app on google play: Libraries for developers, maybe there you will find something Jul 05 16:40:43 _empty, I thought I need to change something I need to create PreferenceActivity too Jul 05 16:41:20 <_3mpty> no problem for me, I will modify your current code so you will get idea Jul 05 16:41:30 <_3mpty> but before that: Jul 05 16:42:11 <_3mpty> main problem was that you was filling activity layout with your view and after going in preferences you was repleacing that view with fragment Jul 05 16:42:19 <_3mpty> so there was nothing for going back :P Jul 05 16:43:19 Hi guys Jul 05 16:45:47 I've a paid app published, but I was wondering to change it to free app with in-app purchase for full version. If I do this, what happen with the users that already have purchased it? Will they lost their money? I'd like to keep that users with full version, but I think if I publish a free in-app new version, when they updates to the latest version, they will have the free version, instead of full one, isn't it? Jul 05 16:47:02 Sepho unfortunately, i think you are right. Chainfire described that a while back, i don't think it has changed Jul 05 16:47:33 :( Jul 05 16:50:42 _empty, I Knew there was a error but I dont have too much experience on android, before I was look on delphi xe5 Jul 05 16:51:12 _empty, I only want to have an idea, I suppose I need to create a preferenceActivity Jul 05 17:03:12 Hi, I'm experimenting with SurfaceView and trying to do some simple custom drawing. The class I'm working with his here: http://pastebin.com/KcMRXQ3d - my goal is to just draw a circle in the center of the view. I see the custom surface view in my activity, and if I put a breakpoint in doDraw it is getting called - but I am not seeing the circle being drawn. Jul 05 17:03:18 Any ideas where the problem may be? Jul 05 17:03:39 Sepho: you're right, but there are ways to give the paid users an unlock... not sure how, off the top of my head, but swiftkey just did something like that - they went free, but gave previous paid users a bunch of free themes which would otherwise be an IAP Jul 05 17:08:41 ? Swiftkey owes me stuff? Jul 05 17:09:12 Hi I'm trying to scroll to the bottokm of a ScrollView using "scrollView.fullScroll(View.FOCUS_DOWN);" Jul 05 17:09:25 But it never goes to the last item Jul 05 17:09:30 Always the one before. Jul 05 17:09:35 capella: if you paid before, yes Jul 05 17:09:43 :) Nice Jul 05 17:10:06 10 free themes, which is a bit like getting free gems in a game, but still nice Jul 05 17:10:41 heh - right ... not a big theme user, but ... "free stuff" :D Jul 05 17:11:30 and to be fair, they do have some nice themes Jul 05 17:11:58 I bought SwiftKey while patching holes in FF/Mobile's textSelection implementation that their keyboard made, um, obvious Jul 05 17:12:01 I add a View to a Table within the ScrollView and right after I use fullScroll. But it doesn't take into account the View I just added. Do I need to delay this task? Jul 05 17:12:22 Sepho, best you can do is give a free gift or refunds to all your customers, see what SwiftKey did Jul 05 17:12:58 Leeds, SwiftKey did it by checking their cloud sync registry Jul 05 17:13:30 Leeds, because I got SwiftKey free on amazon during a promotion, when I switched to the free version, I got the theme pack Jul 05 17:13:46 I'm trying to flash my modem using Odin, but the guild says to open the modem.bin file as "phone" I don't see a phone option in Odin :s Jul 05 17:13:46 free version on play, that is Jul 05 17:14:03 Prometheian: not here - this is app dev Jul 05 17:14:07 ah there it is, in SwiftKey settings, "Claim your free premier pack of themes!" Jul 05 17:14:09 ah, kk sorry! Jul 05 17:14:15 there a rom-dev channel? Jul 05 17:14:22 (and get better word predictions) Jul 05 17:14:33 Prometheian: you'd want to be learning to read channel topics for that, dearie Jul 05 17:14:57 ah Jul 05 17:15:08 ty Jul 05 17:29:04 Leeds pfn I only have 2 "clients", but I don't want to get them a new unfully app.. Jul 05 17:29:09 thanks guys :) Jul 05 17:35:37 capella, the word predictions piss me off, cloud sync doesn't seem to work Jul 05 17:35:58 all the swear and tech words I use don't get synchronized Jul 05 17:56:35 bye guys Jul 05 18:04:13 has the priority of the notification an impact on a foreground service (i.e., is it more likely to be killed if the priority is lower)? Jul 05 18:06:59 EPG i never saw anything to that effect Jul 05 18:08:02 g00s, ok, thanks Jul 05 18:14:15 What is the smallest width and length a normal and large screen can have? Jul 05 18:21:25 striker, http://developer.android.com/guide/practices/screens_support.html Jul 05 18:21:46 There's a table there with screen sizes Jul 05 18:22:00 striker: I hope you are not designing pixel perfect screens Jul 05 18:24:04 How do you test if an app name is taken Jul 05 18:27:50 striker: are you talking about the package name? Jul 05 18:27:57 just search it on the play store Jul 05 18:33:01 As per the previous versions, android only allows opening USB devices via the Java Usb Api. Does things change in Android L? I mean would access be allowed via the NDK? Jul 05 18:34:12 where is the avd located? Jul 05 18:34:22 Please point me somewhere I can get this info Jul 05 18:34:48 striker: ~/.avd maybe Jul 05 18:35:43 sorry ~/.android/avd Jul 05 18:35:53 striker: ^^^^^^^^^^^ Jul 05 18:37:35 If you mean how to start the avd manager. Then the command will be Jul 05 18:37:59 $ANDROID_SDK/tools/android avd Jul 05 18:38:36 ANDROID_SDK will be the path to your android sdk. If the tools lie in the path then a simple android avd will start the avd manager. Jul 05 18:41:03 can i register on google play as normal person then change to a company later and charge money? ' Jul 05 18:41:15 what is there to think about before registering to google play? Jul 05 18:42:24 striker: you cannot make a free app payed Jul 05 18:42:53 i meant ingame addons and ads Jul 05 18:43:01 i can add that later right? Jul 05 18:44:19 USB host on android... NDK ... Android L... anyone?? Jul 05 18:46:18 I can change my emal later I assume? Jul 05 18:46:31 email (for google developers console) Jul 05 18:53:10 Anyone get a workspace error when try to build android project with eclipse? Jul 05 18:53:11 How do you give phone number in google dev consolse? Jul 05 18:53:39 This is odd never had this prob. Jul 05 18:53:43 my country code is 0046 and phone nbr is 0721317822 (cell phone so no area code), how do I write that? Jul 05 18:54:24 Anyone have prob with eclipse with android? Jul 05 18:55:36 ? Jul 05 18:56:40 what is the problem? Jul 05 18:57:40 i get a workspace error when i try to build my android project in eclipse. Jul 05 18:57:57 This never happon before. Jul 05 19:02:41 wow this room is dead/ Jul 05 19:05:54 I resent that Jul 05 19:18:00 capella time to spice things up ! Jul 05 19:34:53 I tried :) He left before the fun Jul 05 19:46:29 anyone in here played with Android Wear yet? Jul 05 19:49:37 kurtisnelson: I am willing to review one, if someone sends me one. Jul 05 19:49:47 Or, to be fair, one of every model on the market Jul 05 19:49:47 lol Jul 05 19:50:02 I'm just having issues getting messages between my devices Jul 05 19:50:19 I've been thinking of making an app for Wear, but not sure about it in the end Jul 05 19:50:40 The current wear devices for me are a no-brainer impulse purchase for me. Jul 05 19:50:45 At a fifth of their current price. Jul 05 19:50:50 haha Jul 05 19:51:00 the LG G is not durable, already got scratches all ove rit Jul 05 19:51:13 my wrist is not encased in a OtterBox Jul 05 19:51:15 But - no wifi - just no Jul 05 19:51:17 Neither have battery life that make them interesting to me, compared to pebble Jul 05 19:51:19 anybody know how to clear the maven cache from android studio? Jul 05 19:51:34 SpeedEvil: there's too much wifi-enabled crap already Jul 05 19:51:35 rm -rf .idea? Jul 05 19:51:42 nono like Jul 05 19:51:44 the battery is full day on the G Jul 05 19:51:51 but I'll still travel with the pebble Jul 05 19:52:02 ~/.AndroidStudioBeta/system/Maven is 1.3GiB right now Jul 05 19:52:05 I would like it... not to be Jul 05 19:52:08 rm -rf that then? Jul 05 19:52:10 is that safe? Jul 05 19:52:17 I think so Jul 05 19:52:23 kurtisnelson: the difference is that the single application that made me consider a smartwatch seems pretty much impossible with devices that do not keep few days on battery Jul 05 19:52:38 what the devil is in there that's 1.3GiB though? Jul 05 19:52:46 cache of all the jars ever probably Jul 05 19:53:01 sigmabeta: java portion of the internet, deduped Jul 05 19:53:05 :/ Jul 05 19:53:14 Is there any way I can tell it to knock it off Jul 05 19:53:22 How do you write your phone number in the google dev console? Jul 05 19:53:38 I have an SSD and i have plenty more than 1GB of free space, it's nbd, but I don't like having 1GB of BS up in my HF, YK? Jul 05 19:54:05 country nbr, area code and nbr. i dotn have an area code because it is a cell phone so how do i witre +0046-0721922887? Jul 05 19:55:48 striker: +460721922887 or +46721922887 Jul 05 19:56:00 possibly with a pause between +46 and rest of the number Jul 05 19:56:08 (I assume sweden?) Jul 05 19:58:51 i wonder how much of this wearable stuff "took off" just because somebody said apple was coming out with an iWatch or something Jul 05 19:59:39 "inb4" Jul 05 20:02:03 everyone knows women look at your shoes and watch first :) Jul 05 20:05:22 also I have to reboot the thing a ton during development Jul 05 20:05:31 loses the conneciton to my phone and play services just hangs Jul 05 20:07:16 can anyone recommend a way point me to a stackoverflow they like and think will work best for implimenting a webview load timeout Jul 05 20:13:53 one thing i wonder - if in addition to, or instead of the current wearble stuff, google established some protocol for transmitting notifications to any watch. so anyone could integrate their watch with a android device's notifications Jul 05 20:14:30 you can keep your tag huer ;) Jul 05 20:14:32 g00s: There are possible hints for that being possible in future Jul 05 20:15:33 g00s: the wearable API doesn't even talk about "watch", but about nodes in the wearable network (sounds like classic Personal Area Network), which probably involves all BT LE devices that talk the protocol right now Jul 05 20:15:49 p_l very interesting Jul 05 20:16:12 g00s: it's in the Messaging API Jul 05 20:20:51 i'm trying to debug an application. when it reconnects, the display doesn't reflect new messages from the server. but when i rotate the screen, the messages appear. what functions get called when display rotates? i'd know where to start looking if i could see what things are run on display rotate Jul 05 20:21:15 your activity was probably recreated Jul 05 20:21:25 and it got fresh status by bolling presumably Jul 05 20:21:30 *polling Jul 05 20:21:52 that is, onCreate was called? Jul 05 20:22:55 yeah, most likely Jul 05 20:23:24 uh-huh, thanks, will be investigating Jul 05 20:26:11 ========== Jul 05 20:26:18 oops ignore that. Jul 05 20:31:23 Heya guys, do any of you have a blog here? Jul 05 20:34:38 which one of these kernel configs is most similar to a galaxy sgh-i337? https://android.googlesource.com/kernel/omap.git/+/android-omap-3.0/arch/arm/configs/ Jul 05 20:35:06 pEYEd wrong channel, see #android-root Jul 05 20:38:01 if i dont have different images for hdpi, mdpi, etc. then where do i put them? Jul 05 20:39:31 no-dpi Jul 05 20:41:48 Guys: http://cdn.androidpolice.com/wp-content/uploads/2011/10/2011-10-19-13h39_40.png would this be achieved with a single list or a group of lists Jul 05 20:42:05 If so, would a custom adapter be needed for each data type or could it be achieved with an abstract collection? Jul 05 20:53:31 Jjburton, there are not enough rows to need a list, you can just use views Jul 05 20:53:45 Or take a look at mergeadapter Jul 05 20:54:23 I am using views at the moment Jul 05 20:54:43 But I am convinced the way to do it (and by the looks of the way Google does it) is by using a list Jul 05 20:54:53 The behaviour feels like a listview Jul 05 21:09:11 Do deep link intent filters work on the Android emulator? I'm not able to get it to work Jul 05 21:34:43 @integer/google_play_services_version" /> missing symbol ... Jul 05 21:34:53 anyone know how to fix this Jul 05 21:38:04 im using android studio Jul 05 21:52:06 nvm i converted the project to gradle Jul 05 21:56:47 com.itcuties.android.apps.myapp; i do a refacor but i cant get it to remove itccuties how do i do this? Jul 05 22:00:52 When I create a new AVD I can't choose API 8, why not? Jul 05 22:01:00 do i ahve to install for all APIs? Jul 05 22:01:11 striker: do you have images for them? Jul 05 22:28:25 with LocalBroadcastManager Jul 05 22:28:38 if I have two activities that has reciever Jul 05 22:28:45 will both of them get the intent? Jul 05 22:32:59 L8 depends on where you register Jul 05 22:33:21 if you were to register in onCreate, its probable but not guaranteed that both would get it Jul 05 22:33:55 its best to not make any assumptions about what (other) activities are around in any activity Jul 05 22:33:55 what I more meant is if I can write whatever I want on the Intent I'm passing Jul 05 22:34:00 like Jul 05 22:34:19 broadcast.sendBroadcast(new Intent("com.blabla.activity.SomeString")) Jul 05 22:34:37 it has no matter if this activity exists or not, right? Jul 05 22:34:51 the match occurs with Intentfilter.equals or something Jul 05 22:35:16 thanks Jul 05 22:35:41 thats what I've needed Jul 05 22:36:03 or IntentFilter.match() Jul 05 22:41:01 hmm, anybody know what even the downwards arrow button at the bottom bar does, when the keyboard is up? Jul 05 22:41:12 trying to make my IME respond to it, but I have no idea which method to hook Jul 05 22:41:15 hides the keyboard and removes focus from input field Jul 05 22:44:20 does Play have anything like this yet ? https://developer.apple.com/library/ios/documentation/LanguagesUtilities/Conceptual/iTunesConnect_Guide/Chapters/ProvidingPromoCodes.html Jul 05 22:45:09 "Provide potential customers or reviewers with a free copy of your iOS or Mac app by using promo codes" Jul 05 22:46:58 ruh roh http://www.dailydot.com/business/tor-hackers-break/ Jul 05 22:47:34 g00s: be interesting to see what it ends up being Jul 05 22:47:46 g00s: Doesn't look like I'll make blackhat this year; I'll be at BsidesLV tho Jul 05 22:48:12 i suspect dragorn has an exciting life Jul 05 22:48:15 :D Jul 05 22:48:19 not terribly Jul 05 22:49:51 going to BH/BSLV/etc is basically "can you get a ticket to vegas", I mean... meh. :P Jul 05 22:49:57 (that said I have to book my travel still) Jul 05 23:26:36 I’m following this guide http://developer.android.com/training/search/setup.html to implement search in my android app. so far nothing’s working Jul 05 23:27:03 I don’t know whether it’s because I use fragments in the activity Jul 05 23:27:38 but nothing is working. the search icon appears alright, responds to touch but doesn’t use the hint provided in res/xml/searchable Jul 05 23:50:57 Dialog errorDialog = GooglePlayServicesUtil.getErrorDialog(errorCode, this,69); Jul 05 23:50:58 errorDialog.show(); Jul 05 23:51:04 this causes a nullpointer exception any ideas? Jul 05 23:51:15 on .show Jul 05 23:56:25 jaspertheghost, "If errorCode is SUCCESS then null is returned." <- that? Jul 05 23:56:47 well it is returning sucess yes Jul 05 23:56:53 seems thats on suecess a dailog isnt returned Jul 05 23:56:57 but i need to test the code Jul 05 23:57:17 jaspertheghost, that is what i mean. that comes straight out of the documentation for getErrorDialog Jul 05 23:58:21 yea i just read that a few mins ago… how should i go about testing then how can i uninstal google play Jul 05 23:58:47 jaspertheghost, i have never used it. Jul 05 23:59:23 jaspertheghost, having only those two lines to look at, i'm wondering why you're trying to show an error for a success. but then, like i said, never used it. Jul 05 23:59:56 im trying to tes tit Jul 06 00:00:05 jaspertheghost, it? Jul 06 00:00:09 indeed Jul 06 00:00:20 jaspertheghost, it refers to what? google play? Jul 06 00:00:36 yea trying to tes tthe dialog that will display and ask user to install it.. Jul 06 00:02:37 looks liek supplieing an oncancellistener to getErrorDialog has also been deprivated Jul 06 00:02:40 can this be confirmed Jul 06 00:02:52 cause it says request code needs to be ther enow in my code Jul 06 00:03:14 jaspertheghost, sounds painful. Jul 06 00:04:01 yep that parts been deprivated Jul 06 00:05:03 jaspertheghost, i was sort of making a joke. i think you mean deprecated =) Jul 06 00:05:23 i do, sorry lol * Jul 06 00:05:36 i cant spell worth shit right now Jul 06 00:07:15 can u install gogole play Jul 06 00:09:33 uninstall* Jul 06 00:09:44 ok screw the google play questions ill do that later Jul 06 00:10:16 i want to get a breakdown of how my application is using its battery and all the stufft hat goes with that .. i know there is some kind of application for this? Jul 06 00:14:56 Hi there, anyone know how can I change a contac's group programmatically? (google contacts) Jul 06 00:22:50 jaspertheghost: Uninstall, no. Disable - maybe. Settings->apps->all pick 'uninstall updates' and then 'disable'. Expect issues. Depending on how tightly integrated your vendors variant is it might get very sad Jul 06 00:24:07 theres like 400 things under “all" Jul 06 00:29:47 well i dont wanna do damage so im not going to touch it i guess ill test it on a really old device Jul 06 00:30:18 btw i havent read anything but if i am using the non froyo version of google play services “there is a version that says froyo” will it still work on froyo technically? Jul 06 01:28:17 Does the Android SDK support Java 8 *language features*? (Just language features--I don't care about the standard library) Jul 06 01:34:11 no Jul 06 01:34:53 Will it ever? Jul 06 01:35:37 i have no idea Jul 06 01:53:21 if you want java 8 features today, then scala is the answer Jul 06 01:54:37 I'd rather not port all of my existing Java code to Scala Jul 06 01:55:58 there's little to port,l Jul 06 01:57:54 and if all your code is java 8, you have to port it anyway Jul 06 01:58:09 you can try retrolambda... Jul 06 01:58:25 pfn: Will it work with LibGDX? Jul 06 01:58:42 it's all bytecode Jul 06 02:28:11 I am trying to compile the kernel with the latest sources and the directory structure is a little weird http://bpaste.net/show/TgtEdBy1WIjJJXmFX57A/ /home/WORKING_DIRECTORY/gcc: No such file or directory **** ENDING LOGGING AT Sun Jul 06 02:59:59 2014