**** BEGIN LOGGING AT Thu May 08 02:59:58 2014 May 08 03:03:46 apparently yes. May 08 03:04:48 i still dont get why when you only return true from onTouchEvent, then you'll receive ACTION_MOVE events May 08 03:16:12 do people still do the Microsoft Word Mr. Clippy style characters in apps? May 08 03:16:27 i'm thinking of naming my logo and having him (or her) appear everywhere May 08 03:23:00 ok.. can't get this to run https://github.com/adymitruk/zxingdemo May 08 03:23:46 intellij says the class is not an activity, when it extends activity.. how is it getting confused? May 08 03:26:11 hmm. ok.. how do I add a dependency on the zxing project? External dependencies? or submodule.. May 08 03:33:54 adymitruk: oh boy, fighting gradle issues? that's gotta suck May 08 03:34:55 not sure.. May 08 03:38:41 Napalm|afk: check out it, Mr. Pot introduces the app :D May 08 03:38:46 Napalm|afk: http://i.imgur.com/2LOr5g8.jpg May 08 03:38:46 how do I use this library in my application? https://github.com/adymitruk/zxing-android-minimal May 08 03:39:00 Napalm|afk: maybe it should be Mrs. Pot May 08 03:39:05 I'm using intelliJ May 08 03:40:15 adymitruk: seems pretty straightforward, just follow the instructions in the readme May 08 03:41:10 so what's the deal with Gradle? May 08 03:41:30 I'm used to just using submodules for getting dependencies May 08 03:48:10 adymitruk, http://gradleplease.appspot.com/ May 08 03:49:45 alex_PP: not sure what you mean May 08 03:51:40 type zxing there May 08 03:51:43 copy, paste May 08 03:51:49 update gradle config May 08 03:52:02 pat yourself on the back May 08 03:52:19 that's pretty neat, it's going in my favorite tools bookmarks May 08 04:01:20 I am running on a rooted device, how is it possible for my app to get root privilege? I notice that some apps on Google Play will detect the rooted device and ask the user before enabling "rooted" functionality May 08 04:01:24 I'd like to do something similar to do May 08 04:01:47 if anyone has a link on how to do this, I'd greatly appreciate it May 08 04:03:22 hi, i need to join two video. what library can i use to edit video in android? May 08 04:11:03 for integrating with barcode scanning, where would I put this intent code? http://stackoverflow.com/questions/8708705/how-to-use-zxing-in-android May 08 04:12:50 maybe you should learn android before you start fiddling with 3rd party libs May 08 04:25:59 in android studio a red line on the background has appeared on line 3: import android.app.Activity; , there is a red dot to the left.... it says suspended and breakpoint stuff.... i tried to disable it but it is still sort of there May 08 04:28:17 i disabed it but the red background line on the code line is still there and now the dot is green with a red outline May 08 04:28:36 i dont think there is anything wrong with my code.... i cant seem to get rid of this... iv cleaned the project and restarted AS May 08 04:29:46 njcomsec: take a picture and show us? May 08 04:29:54 k May 08 04:30:10 sounds like a git thing May 08 04:35:53 http://www.syncotix.com/as-glitch-redline.png May 08 04:36:11 the bottom right is how it first appeared.... the top pictures is how i tried to turn it off but it is still there May 08 04:36:53 lol, that's a breakpoint May 08 04:37:03 how do i get rid of it? May 08 04:37:19 i cant find any way May 08 04:37:20 you should be able to ignore it, but clicking on it should get rid of it May 08 04:37:28 or, open the debug panel and clear all breakpoints from there May 08 04:37:38 ahhhh May 08 04:37:44 let clicking it worked May 08 04:37:46 lol May 08 04:37:49 left* May 08 04:38:00 i was right clicking it and going through all the menus... May 08 04:38:22 thanks May 08 04:53:49 Hey all. I am tryign to graph some data and it only updates the graph when i press on the graph... :/ May 08 04:54:03 i have on such onmotionevent listeners May 08 04:54:09 no such* May 08 04:56:40 im making a chart/graph.... so I presume I have the same class/activity called Chart.java, and then it starts a blank one or loads data depending on how it was started..... so it is started via an intent via a button... so i am supposed to pass the name of the saved chart in the intent method, then in the Chart class match it to the chart data in the SQLite db? May 08 04:58:21 sure May 08 05:14:20 i guess i will have to create the SQLite db first and create a dummy chart to test the interactions between classes May 08 05:21:23 can someone please help me out? My graph from the jjoe64 library only updates when i press the screen May 08 05:21:48 even though it is definitely going through the updateGraph() method May 08 05:24:54 Tricknology i think you'll have to ask jj0e64 :) May 08 05:25:12 btw i was going to use that , looked like the simplest one May 08 05:25:22 oh god.. May 08 05:25:25 documentation is terrible May 08 05:25:54 but its a pretty small library May 08 05:26:03 just read the code May 08 05:26:49 i'm on a deadline.. tomorrow :/ not even my effing project, just lending a hand May 08 05:28:00 dunno where achartengine and androidplot stand these days May 08 05:28:21 from what i've heard, they are pretty buggy too May 08 05:29:34 well for one, i don' tlike how this is how you have to add data to the plot May 08 05:29:35 Series.appendData(new GraphViewData(graph2LastXValue, (num)), May 08 05:29:35 tbStream.isChecked()); May 08 05:30:16 then you add the series to the graphview and remove and add from/to the view May 08 05:31:11 and i cant for the life of me figure out why it wont update the plot data unless i tap the screen. May 08 05:32:12 maybe it isn't getting invalidated May 08 05:32:40 im not sure thats how this package works May 08 05:32:47 no paint() or invalidate() May 08 05:42:57 I am confused about how OAuth works. The service provider provides a consumer key and consumer secret to the consumer developer. If my understanding is right, the developer than includes the key and the secret together with the app for publication. May 08 05:43:25 Could an attacker just scan the APK file for the consumer key and secret, and then include those into their own app? May 08 05:56:02 Ah, never mind. I think I understand now. The service provider has to associate the developer's key with the consumer key and secret. Apps that aren't signed with the developer's key won't be able to use the services then. May 08 06:28:34 Hi, is it possible to create a BroadcastReceiver for the menu button press? May 08 06:37:55 anyone tried to include bolts into android project? May 08 06:40:39 ok, I will just include jar file into `libs` dir May 08 06:50:34 Hi, some apps have a tip like window the first time you run them, whats the name of that ? May 08 06:56:08 Hi there. Why I an't use System.out.println in setOnClickListnere method in a class which extends Fragment? Why I can use System.out.println in a method setOnClickListerner in MainActivity? May 08 06:56:40 an't = can't May 08 06:57:28 Hi I am getting weird problem with Eclipse. After installing m2e plugin for maven, my program is giving errors at many places. Like at many @Override command. It was all working fine. May 08 07:02:12 heya May 08 07:09:10 Anyone knows if it's possible to do networking on mainthread when using appcompat support libary v7? Min sdk = 10, target sdk = 14. May 08 07:10:04 anyone know if jjoe64 has troubles with overriding the onTouchListener()? May 08 07:11:00 and setScrollable() and setScaleable()? May 08 07:15:49 installing m2e plugin completely ruined my project. giving errors at @Override commands and what not! May 08 07:16:00 How can I uninstall maven completely May 08 07:17:06 lol? May 08 07:17:08 a May 08 07:17:30 reinstall eclipse :) May 08 07:18:10 why dont people just use android studio May 08 07:18:23 because vim is better May 08 07:18:25 it seems pretty good and has everything in one place May 08 07:18:34 its better than when i was using emacs+terminal May 08 07:19:09 The project was working very well. I though of using a library from github. It was written use dependency..blah blah..I searched and install m2e plugin. After lot of errors, (I think) it installed correctly. And now it gives error @Override and expect me to call superclass in Getters and Setters. May 08 07:20:01 If I run the program after "resolving" all the errors, it gives error. let me make a pastebin May 08 07:20:46 http://pastebin.com/ak3LxUHY errors May 08 07:22:19 I was learning to add Nav Drawer in MasterDetail flow. May 08 07:23:24 Please see the stacktrace. It says that my activity is "not found". Heck it is the main activity! :@ May 08 07:26:04 gordon_: Leeds njcomsec please see the pastebin and suggest. :( May 08 07:26:41 sorry I'm using intellij May 08 07:26:54 heh May 08 07:27:07 yeah, when having Maven, IDEA/AS is a way better idea May 08 07:27:15 clean clean clean? May 08 07:27:53 tried 100 times. restarted 1000 times. Copied project to a new project. NOTHING WORKED AARGH! May 08 07:28:39 Mavrik: then how can i import maven libraries? May 08 07:29:05 you DO NOT import maven libs May 08 07:29:51 gordon_: hmm ok. I was trying to get this https://github.com/JakeWharton/hugo May 08 07:31:28 i write simple video player app and i want to play a video from sdcard on real device it's my code: http://codepad.org/dymD9Asi but i got this error http://axgig.com/images/42020461005101179474.jpg also it's my file permission http://axgig.com/images/38061485343536469793.jpg May 08 07:31:43 WantToCode: it's for gradle May 08 07:31:49 dont this it will work for maven May 08 07:31:55 since it needs gradle plugin May 08 07:33:29 gordon_: sorry my chat was not pasting. I used this to find the required "dependency" http://mvnrepository.com/artifact/com.jakewharton.hugo/hugo-plugin/1.0.1 May 08 07:35:33 solved May 08 07:36:38 anyone tryied Anonymous Login of FB? May 08 07:41:56 WantToCode: hugo is a gradle plugin, you can't use it with maven May 08 07:42:19 SimonVT: cant I use it through http://mvnrepository.com/artifact/com.jakewharton.hugo/hugo-plugin/1.0.1 May 08 07:42:58 No, it's a gradle plugin May 08 07:43:58 What can I do now. I have uninstalled the m2e plugin. and deleted the pom.xml. but the errors are still there May 08 07:46:02 WantToCode: so just paste it ;) May 08 07:46:12 aa May 08 07:46:20 now I get it May 08 07:46:25 it loads in the same repository May 08 07:46:37 means? May 08 07:47:56 well, it's for gradle but lands in the maven repository May 08 07:48:06 I mean as dependency it doesnt matter May 08 07:48:17 but it's not maven plugin so it wont work May 08 07:48:33 I mean maven will download dependency but wont run it May 08 07:49:24 god dammit. and it ruined my project too. :( May 08 07:49:51 I have a commit. but after that I had worked straight 6 hours to make soooo many changes May 08 07:50:20 hope you're using git May 08 07:50:26 I just wanted to see the performance difference between two adapters :( May 08 07:50:27 and commit incrementally ;) May 08 07:51:00 I have a commit. but after that I had worked straight 6 hours to make soooo many changes and without another commit I tried to download this! May 08 07:51:38 Chances are you just ruined your eclipse project files.. So delete those and import again May 08 07:51:56 Any ideas on intercepting system notifications(incoming calls, messages,other app notifications that use system notification intents)? May 08 07:52:14 yeah I am making a new project. :( May 08 07:52:28 Thanks guys. May 08 07:52:47 but anyways, what can I do then to use this library? install gradle? May 08 07:54:45 Your project has to be a gradle project May 08 07:56:03 I am new to this. should I use a plugin for this too!? May 08 07:56:58 You should probably find a tutorial somewhere of you want to switch May 08 07:57:15 ok Thanks SimonVT :) May 08 08:05:53 is there a way to obtain the users home/work address? May 08 08:06:20 Any ideas on intercepting system notifications(incoming calls, messages,other app notifications that use system notification intents)? May 08 08:06:47 google maps / now has a work/home address configured. is there a way for third party apps (like mine) to read these? May 08 08:11:36 fancy42, i hope not May 08 08:12:26 Found it: https://developer.android.com/reference/android/service/notification/NotificationListenerService.html May 08 08:12:55 Anyone know how to register with adMob? It says your supposed to provide location of app but how can you because you cannot finish it until you have admob working May 08 08:13:29 alex_PP, i wouldn't like this too, privacy wise :D May 08 08:14:17 but i could imagine this with some pop-up "the app wants to know where you live" or something... May 08 08:14:39 which already sounds really creepy :D but i sure could use it for my navigation-app May 08 08:18:31 can anyone suggest a mobile advertising network based in Australia? May 08 08:20:36 Hi all, I need to download a zip from Google Drive (public), does somebody know how I should start with this? / Downloading zip, extract, read files etc. May 08 08:35:13 android.os.Environment has a function getRootDirectory() which does "Gets the Android root directory." May 08 08:35:17 does this mean "/" ? May 08 08:35:24 is / the root directory? May 08 08:50:53 I see windows / mac user ;) May 08 09:14:04 anyone tried using headers in a gridview? May 08 09:14:06 how did you solve it May 08 09:20:58 is there any way (except keeping a boolean by yourself) to know if a broadcastreceiver is registered? May 08 09:33:34 it seems the largeHeap setting does not transfer to services in their own process - can anyone confirm this ? May 08 09:48:19 is it possible to get a zip from my google drive and unzip it ? without any password May 08 09:50:19 Hi Question. May 08 09:51:03 To register a call back from Async task, I pass interface reference to the Builder class implementing AsyncTask : May 08 09:51:50 So my constructor looks like this: May 08 09:51:51 Builder(UpdateSuggestionAsync in) { May 08 09:51:51 mInputString = null; May 08 09:51:51 ie = in; // ie declared as UpdateSuggestionAsync ie May 08 09:51:51 } May 08 09:52:28 when creating an object of Builder class, is this correct: May 08 09:52:28 Builder builder = new Builder (MainActivity.this); // Mainactivity is the class from where I am creating this Builder object May 08 09:53:18 In other words, how do I pass the "interface" from my MainActivity class to the asynctask so taht I cna register a callback from onPostExecute() call May 08 09:53:52 Hello, is it possible that I start Intent with code 291 and get result with code 131363, why is this happening ? May 08 09:54:33 I dont have # 131363 anywhere in my code May 08 09:55:10 Hi Guys, I'm using gradle and "apply from: file" it works but I would like to change the file used based on a build flavour. any idea how this could be done? May 08 09:55:36 Hi one question about the life cycle of an app. If an app is listed in the multi-task window, will it always call onResume when pressed or is also onRestart possible after a while? May 08 10:05:55 Morning friends, have been having problem getting pdf file from asset folder and displaying it... actually, i was able to use assetManager to get the file listed but the problem now is to get the pdf display.. but i keep getting error... there is the library i used https://github.com/jblough/Android-Pdf-Viewer-Library. please anyone with alternative way or available resource to make use May 08 10:05:55 of>??? thanks May 08 10:10:49 somebody ever downloaded a zip file in an app before? May 08 10:23:29 ok, I'll say it here too... presumably hackable is getting a super secret error which can't be shared, or he'd have to hunt us all down and kill us May 08 10:25:19 I was just going to ignore him because it sounds help vampire-y May 08 10:25:48 Also I value my life enough to not waste it on a stupid question about viewing a PDF May 08 10:26:54 well, he ain't answering anyway, so... May 08 10:27:33 He's already been killed by the spies. May 08 10:28:34 they'll be coming after me next... time to hide! May 08 10:29:40 I got dibs on your stuff May 08 10:30:24 , May 08 10:30:33 whoops May 08 10:30:56 I think I threw them off my scent May 08 10:31:07 Hello Leeds May 08 10:31:16 uh-oh! May 08 10:32:03 good to meet you here... please i have been facing alot of problem regarding getting this application doone and i have a deadline for it May 08 10:32:33 double uh-oh! May 08 10:32:39 and i don't know if thus is a way you can assist and help me... i am developing an application to display list of pdf file inside asset folder May 08 10:33:02 and display it in categories... user can click and read it.. May 08 10:33:26 i have make use of different library but none is working... Leeds May 08 10:34:54 yeah, still not giving any useful information May 08 10:35:52 Okay, Sorry Leeds... i thought that all... May 08 10:36:18 Well, i have been able to list all the pdf file from the asset folder to ListView... but i need to display the pdf file when user click on it May 08 10:38:58 This is Library i am using https://github.com/jblough/Android-Pdf-Viewer-Library, but there's still apv May 08 10:39:01 Hi.. I have a question.. May 08 10:39:05 http://pastebin.com/vwjj1uWb May 08 10:39:11 Leeds, do you understand now May 08 10:39:57 The issue is that even though my calback function UpdateSuggestion() gets the correct value, and in fact I can read the element, adding them to arrayAdapters arraySearchItems.add(tmp1); does not have any effect May 08 10:40:41 tmp1 shows correct result, but adding to arraySearchItems adapter, doesnt show any text at all May 08 10:42:28 Any idea ?? May 08 10:44:02 hackable: If you're looking for help debugging an error, the smart thing to do would be to actually include the error in your question May 08 10:44:47 Alright SimonVT, i am doing that now... but want to ask... anyone one use this before... https://github.com/libreliodev/android May 08 10:45:01 "but i keep getting error" does not tell us in any way what the issue is May 08 10:45:22 ok theree's an edittext within a listview. When I start typing it loses focus. with android:windowSoftInputMode="adjustPan" seems to work *but* edittext is hidden by my keyboard May 08 10:45:23 alright.. i will upload right now May 08 10:49:50 here's the code http://pastebin.com/89faUsW2 May 08 10:50:30 seems to redraw listview when I first start typing May 08 10:52:52 Alright SimonVT, Leeds here is the link to the code.. it display the pdf list but not display pdf for user to read http://pastebin.com/k1qeegGq May 08 10:54:07 Just a general question: would it be better, in terms of starting out with Android development, if I bought a phone that will probably get an update to KitKat, but then might not be rootable for some time, or if I bought a phone that will probably not get an update to KitKat, but which is almost certainly rootable in its current state? May 08 10:54:49 SimonVT May 08 11:06:04 hackable: If you're looking for help debugging an error, the smart thing to do would be to actually include the error in your question May 08 11:06:09 Just in case you missed that message May 08 11:08:59 oh, alright... May 08 11:14:57 how to Stop service when Application killed/stopped with task manager? May 08 11:15:15 I don't need to continuos work of service. May 08 11:18:27 oh, maybe START_NOT_STICKY will do the job? May 08 11:19:45 <|Cypher|> anyone here? i'm trying to fix the adb bug May 08 11:20:03 im here May 08 11:20:11 <|Cypher|> know anything about it? May 08 11:20:20 <|Cypher|> i've tried a few things already May 08 11:20:20 woozly, I don't know, but start_not_sticky sounds like it's not tied to the lifetime of your application when you do want it tied to that. May 08 11:20:36 |Cypher|, "the adb bug" is a bit unspecific. May 08 11:20:41 Syzygy: you right ( May 08 11:20:54 dammit, how to stop service when application is stopped/killed? :/// May 08 11:21:04 What, you don't know about the adb bug? May 08 11:21:17 <|Cypher|> sorry I guess I failed to assume you would know what that was. May 08 11:21:50 <|Cypher|> I'm trying to get my droid which is a Inspire 4g to connect to my pc and it has an "adb bug" May 08 11:21:52 woozly, http://stackoverflow.com/questions/14846687/android-stop-service-when-exit-the-app May 08 11:21:58 have you tried googling? May 08 11:22:36 <|Cypher|> http://visualgdb.com/adbfix/ May 08 11:22:38 <|Cypher|> yes.. May 08 11:22:51 <|Cypher|> i've been trying to find a proper fix for over an hour. May 08 11:23:17 Syzygy: it doesn't work, becouse onDestroy() doesn't called May 08 11:23:22 when App is closed May 08 11:24:42 you should use bound service then. May 08 11:24:48 onDestroy is not guaranteed to be called. May 08 11:25:00 also, if you have this problem May 08 11:25:07 you probably did something very wrong with your app design. May 08 11:26:58 <|Cypher|> i am reading this: http://www.codeproject.com/Articles/419016/Android-Fixing-the-adb-server-is-out-of-date-bug it says i can make a simple "stub". I think a stub is a little program but since I haven't programed in over a decade I'm not so sure :\ May 08 11:28:07 You could just uninstall htc sync May 08 11:28:26 <|Cypher|> then what? reinstall it? May 08 11:28:36 Never install it again May 08 11:29:31 hey guys. I need some help. I am developing an application with a Navigation Drawer and android support appcompat v7. I want i to work with 2.3 >. But when i set 2.3 api level 10 as target the app won't start and i get error messages that about theme stuff. Anyone knows what to do? May 08 11:31:16 <|Cypher|> i'm getting a device not found error May 08 11:31:33 If you want it to work on 2.3+ you set your minsdk to 10, not build target May 08 11:31:40 <|Cypher|> i know this isn't the root chan but no one is there... http://blogthatmakesyouthink.blogspot.com/2013/07/how-to-root-android-403-ice-cream.html May 08 11:31:58 <|Cypher|> i'm trying that and getting : * daemon not running. starting it now * May 08 11:31:59 <|Cypher|> * daemon started successfully * May 08 11:31:59 <|Cypher|> error: device not found May 08 11:31:59 <|Cypher|> error: device not found May 08 11:31:59 <|Cypher|> error: device not found May 08 11:31:59 <|Cypher|> Press any key to continue . . . May 08 11:32:18 <|Cypher|> sorry for small flood.. May 08 11:33:27 Please dont ask questions about rooting in this channel May 08 11:34:20 <|Cypher|> ug ok May 08 11:34:54 <|Cypher|> i've been trying to do this for months but i can't find anyone who knows whats up. I've even tried dev forums. I don't get the lack of help. May 08 11:40:34 hello, how can I support printing on pre kitkat versions? May 08 11:40:51 do I need all printers drivers that I want to support? May 08 11:41:12 or there is a generic driver? May 08 11:57:26 MoshDev, doubt it. May 08 12:14:03 Is there a historical log of this channel somewhere? May 08 12:14:44 really interested in the answer to this question if not: 01:44 herpderphurr: Could an attacker just scan the APK file for the consumer key and secret, and then include those into their own app? May 08 12:16:18 does someone use Xposed module with sharedPreferences? I can't found my datebase using XSharedPreferences. May 08 12:23:05 getting the following error when launching the application on a device with 2.3: "Caused by: java.lang.IllegalStateException: You need to use a Theme.AppCompat theme (or descendant) with this activity.". Not sure what to do. For what i know, i use an AppCompat theme, atlest the parrent of the team is an AppCompat Theme. May 08 12:23:56 joshkovach: he didn't get an answer in the following 15 minutes May 08 12:24:08 ok, thanks May 08 12:25:30 Anything you put in your apk is public information May 08 12:26:00 just found this: http://nelenkov.blogspot.com/2012/05/storing-application-secrets-in-androids.html May 08 12:26:35 joshkovach: un any case, security by obscurity is not gonna work May 08 12:26:42 right May 08 12:28:07 so it's just assumed if you have an API key for something, there's no safe way of using it in an android application? May 08 12:29:22 if the API key is used for more than recognising the sender, you're gonna have a baaad time May 08 12:30:58 Is it a bad idea to overwrite the Application class to maintain global variables and methods? May 08 12:31:49 joshkovach I would certainly not advise using that keystore as its not officially supported API May 08 12:32:29 (as for other encryption means, root can get at most things, and in-APK encryption like DexGuard has also been completely reversed) May 08 12:33:22 byt89 if that's the place they logically need to be ... May 08 12:34:13 byt89: you can also use singletons with a factory method May 08 12:34:54 ok thank you. I am just worried if it causes problems. May 08 12:35:32 dear brothers, do we have any dedicated channel to discuss about android stack ? or is this the right one ? May 08 12:48:51 Anyone know of a good article or explanation of when you might want to use different combinations of Adapters and AdapterViews? Don't AdapterViews implement Adapter? Why would I use a separate Adapter class if the AdapterView can/maybe should be doing the work? Usage examples I've seen are mixed and usually without explanation of the choices made. May 08 12:52:24 Or perhaps my understanding is just superbly flawed May 08 12:54:51 AdapterViews display views provided by an Adapter May 08 12:57:46 So is it normal to have an adapter for each type of model for each type of adapter view it would be in? May 08 13:10:28 Hello, Is there a best practice way to start a Photo Gallery Selector? I have a method, but it crashes on a specific phone model. May 08 13:10:34 http://pastebin.com/aUG6imFg --- Error --- java.lang.IllegalStateException: Could not execute method of the activity May 08 13:12:25 When I try to call a static method of the class that being used by xposed (written on xposed_init) it throws java.lang.NoClassDefFoundError. any idea why? May 08 13:13:56 who cares about xposed May 08 13:14:41 :) May 08 13:16:55 :D May 08 13:18:05 So, anybody got an idea why? May 08 13:29:32 I have this application im developing atm. it's designed for older android versions, 2.3-2.3. It does some networking on mainthread which worked okey before. But won't work on my KitKat device. I prefer not to change the original code. How can i solve this problem? Change the buildpath someway? May 08 13:29:33 I have this application im developing atm. it's designed for older android versions, 2.3-2.3. It does some networking on mainthread which worked okey before. But won't work on my KitKat device. I prefer not to change the original code. How can i solve this problem? Change the buildpath someway? May 08 13:32:20 Hi, when I'm debugging I get a class not found error when trying to go to the new screen? May 08 13:32:22 Intent goToSettingsPage = new Intent(view.getContext(), May 08 13:32:22 SettingsActivity.class); May 08 13:32:22 startActivityForResult(goToSettingsPage, 0); May 08 13:33:17 does anyone have an idea whats wrong with this: http://stackoverflow.com/questions/23543286/google-analytics-sends-uncaugt-exceptions-twice ? May 08 13:37:38 can I not apply a style to a layout? a relative layout is complaining (idea) that I havent specified minimum atrrs like width & height but I have them in a referenced style. May 08 13:38:30 you can, but im not sure if its possible to specify width and heigt in a style. May 08 13:41:16 rgr, just build and run, if it works you're fine May 08 13:45:01 I have a nullpointerexception when trying to add the onCheckedChangeLister, but i can't see where the problem is: http://nopaste.info/fb5096aa3a.html May 08 13:46:48 Any help? May 08 13:47:17 try this on line 13: radioGroup = (RadioGroup)rootView.findViewById(R.id.tools_mm_ms_radiogroup_mm_ms); May 08 13:48:15 afaik getView() wont work in onCreateView because the view isnt set before the method returns the view May 08 13:51:26 trying, sc May 08 13:52:27 When I try to call a static method of the class that being used by xposed (written on xposed_init) by PreferencesFragment it throws java.lang.NoClassDefFoundError. any idea why? May 08 13:52:29 Awesome! May 08 13:52:37 danijoo: Thanks! May 08 13:52:42 you are welcome May 08 13:53:17 what is the difference between sending context to super() in a customer adapter's constructor and passing context to a views contructor inside getview()? May 08 13:53:32 that should be custom adapter* May 08 13:54:19 rodigan: getView() is called from the system, so there will be no context passed to it May 08 13:56:00 danijoo: sometimes, i will see context passed to the custom adapter's contructor and then stored inside a variable belonging to the adapter which is then used in getview() May 08 13:56:42 yes, because you need a context to create your views May 08 13:56:51 like new TextView(context) May 08 13:57:29 what would happen if i left out the context? would my program crash? May 08 13:58:04 rodigan you wouldn;t get that far, you need the context for the inflater May 08 13:58:04 dont know what you mean.. If you try to create a TextView without a context it doesnt even compile. May 08 13:58:29 you simply cannot create any view without a context. May 08 14:00:20 Is there any annotation to get rid of androidstudios "Exception is never thrown in the corresponding try block"? I know it IS thrown May 08 14:02:05 When I try to call a static method of the class that being used by xposed (written on xposed_init) by PreferencesFragment it throws java.lang.NoClassDefFoundError. any idea why? May 08 14:02:18 ok. why do some people call super in the custom adapter and others don't? super(context, textViewResourceId, items); May 08 14:02:49 in the custom adapter's contructor May 08 14:02:53 rodigan: that depends on the super class. its the constructor May 08 14:03:26 If your custom adapter inherits from a class that needs the context, you likely have to set it in the constructor May 08 14:03:29 but some dont May 08 14:04:31 :o oh. the two set of codes Im looking at extend two different classes May 08 14:04:40 : ) May 08 14:08:11 "Build and run". right. May 08 14:24:41 is there a good eay to ensure that only one copy of a fragment is in the back stack? like if the user navigates all over the place, there doesn't need to be many copies of the same fragments in the back stack (both for memory, and for irritation when hitting back button). May 08 14:51:33 Morning May 08 14:53:23 G'morning May 08 14:54:04 I need to keep a bluetooth collection service alive at all times May 08 14:55:26 currently the service returns START_STICKY, and it does what I assume is correct, when my activity gets destroyed it restarts the service, but a singleton that I use to hold the bluetooth connection + relevant functions is destroyed also May 08 14:55:40 Hello! May 08 14:55:58 any idea on how to keep the instance of the singleton alive? May 08 14:56:45 Quick Poll: Do you test? If so, what do you use to test? May 08 14:56:50 I am trying to use a radial gradient on a view from a center point and a radius. However i would like to indicate an offset distance from the center to determine when the radial gradient starts. Is it possible on Android? May 08 14:57:52 the service is started with "startService" from the main activity May 08 14:59:16 Hi May 08 14:59:46 What do you think is the fastest way to get up to standard with Android 4.2.2. if I haven't used Android for 2 years since 2.3.4? May 08 15:01:12 read d.android.com May 08 15:03:00 barq: use android studio, and make a project that targets android 4.+ (ignore backwards compat for now) and make use of the actionbar and whatnot May 08 15:03:18 The main thing to learn is fragments and how to use them properly May 08 15:05:33 Hi guys. I want to write a very simple application where you can enter some strings and THEN upload these into a google spreadsheet. Can someone point me to a tutorial on how to get your data from an app to a spreadsheet? May 08 15:07:28 Is the Emulator of any use nowadays? May 08 15:07:37 no May 08 15:07:39 heh May 08 15:07:43 see, you are up to date May 08 15:07:49 not much has changed XD May 08 15:08:10 xelra, you might want to look at the google drive api https://developers.google.com/drive/v2/reference/ May 08 15:08:14 barq, g00s emulator is painful. genymotion is pretty sweet (virtualization) May 08 15:08:21 I am trying to use a radial gradient on a view from a center point and a radius. However i would like to indicate an offset distance from the center to determine when the radial gradient starts. Is it possible on Android? May 08 15:08:22 yeah i use geny May 08 15:17:01 Thanks :) May 08 15:23:19 what about using the intel haxm emulator May 08 15:23:24 surely that is as fast as geny? May 08 15:23:32 Not at all May 08 15:23:36 definitely not May 08 15:23:39 I use the haxm emulator May 08 15:23:40 not close May 08 15:23:42 and am happy with it May 08 15:23:59 and in my experience, fast enough to be similar; but geny more closely emulates an actual device May 08 15:24:09 at least when it comes to google apis May 08 15:24:14 ah I see May 08 15:24:17 I started off with the Intel Haxm Emulator since I couldn't stand the standard emulator speed. The Intel is definitely bareable, but once you use Genymotion you won't want any other emulator May 08 15:24:29 ^ May 08 15:24:50 after going from geny to haxm a few times i kept wondering if haxm was really on :| May 08 15:25:17 I would like to see Google buy out Genymotion and give it all the love May 08 15:25:19 pfn technically it virtualizes, not emulates :P May 08 15:25:59 theblang, indeed May 08 15:26:42 yiati yeah that would be nice May 08 15:26:59 of course, it doesnt freakin matter for me becuase we swapped to a fully virtualized system for all of our work computers. so I can't even use geny at work May 08 15:27:21 theblang like a citrix thing ? May 08 15:27:33 g00s vmware and VDI thin clients May 08 15:27:40 hm May 08 15:28:22 g00s awesome idea, sucks for developers though. and particularly sucks for me doing Android, because I can't use geny. but they can't give me a standalone computer because then other people will want one... May 08 15:29:12 i inflated a gridview in onCreate. the grid uses an adapter that depends on a list of image views which i update dynamically. do i still need to inflate these image views in getview() when convertview is null since i already inflated the parent layout? May 08 15:29:38 theblang yeah, we had similar problems with admin rights. lots of things couldn't be installed. they didn't care May 08 15:29:52 or can i just imageview = imgviews.get(position); and return the view May 08 15:31:22 any idea how i can highlight a list item? the user can click on an item and then it moves to the top. i would like to let the moved item lighten up for a moment. or even better animate how the item is moved to the top May 08 15:32:00 My ADK from 2012 is giving me a really hard time :( May 08 15:32:11 ADK ? May 08 15:32:19 Awesome Developer Kit May 08 15:32:22 Almost impossible to connect to it and if I actually get connected I cant set the time. May 08 15:32:40 g00s: http://www.wired.com/2012/07/android-development-kit-looks-hot/ May 08 15:32:49 it's so awesome. May 08 15:33:30 i've never heard of that thing May 08 15:33:38 Guys May 08 15:33:39 question May 08 15:33:43 adk, I have one from 2011, heh May 08 15:33:45 is it normal for a (what i assume is a listview) to get slower as you scroll down? or is it bad coding. on the okcupid app on android it is very fluid at the top but after scrolling through quite a few images it starts to stutter a lot May 08 15:33:48 it just sits there unused May 08 15:33:54 njcomsec, bad coding May 08 15:33:59 when I throw an exception, where can I see it ? Can I see it through logcat? In the console? Where? May 08 15:34:24 i see May 08 15:35:00 logcat May 08 15:35:10 pfn: ok thanks :) May 08 15:36:19 pfn: And I can Log.i("Example","Example"); Right ? May 08 15:36:27 yes May 08 15:37:11 fffffff I wonder why can't I see them May 08 15:37:47 pfn: gimmeh ,). heh. May 08 15:38:13 if I release a new version of an app via staged rollout, and override this publish by a third version, do all users that received staged v2 receive v3? May 08 15:38:22 or is it another round of random selection May 08 15:38:27 Hmm, I installed the ADT and get Could not create view org.eclipse.mylin.tasks.ui.views.tasks error. May 08 15:38:52 *.repositories May 08 15:38:57 mylin ? May 08 15:38:59 Zooklubba, the 2011 version isn't nice like the 2012 is May 08 15:39:05 Strange, Eclipse was working fine without the ADT May 08 15:39:15 eclipse is the suck, osgi bundls ftl May 08 15:39:29 Not my choice, unfortunately. May 08 15:40:00 I have Eclipse for Java Devs installed, Kepler SR2 May 08 15:40:05 pfn: I tried to get into that session. Fawk so many people queuing. May 08 15:40:21 Learned my lesson for 2012, skip Q/A in the end of previous session in order to get in time to the next. May 08 15:40:28 Zooklubba, the 2011 version? you just had to ask the guy at the giant labyrinth for a voucher, heh May 08 15:40:32 well, skip Q/A if you dont have any Qs May 08 15:40:46 leave Q/A for stackoverflow ;-) May 08 15:40:49 pfn: I thought they gave the vouchers for the ones in the session? May 08 15:40:51 lol May 08 15:41:12 Zooklubba, I mean in 2011, just had to ask the guy, didn't have to go to the session, heh May 08 15:42:13 Yeah, but wasnt the guy in the session room? I couldnt even get in because so many people were queuing (this was before the session had started) May 08 15:42:48 I remember in 2011 I heard a rumor from sony ericsson that they would be giving away a phone. They kinda closed the door and didnt let people in when they were handing out vouchers on the way out May 08 15:43:23 So far this whole ADT development is being a gigantic ball buster} May 08 15:43:39 Zooklubba, yeah, I got the phone May 08 15:43:48 Zooklubba, I went to that session May 08 15:44:01 Zooklubba, but for the adk, there was a guy at the labyrinth station, he would give out vouchers if anyone asked May 08 15:44:08 oooh May 08 15:44:25 Did not know :( May 08 15:45:13 The ADT installation is completely independent from other Eclipses isn't it? May 08 15:46:12 I am blaming Sony for not letting my Z1 connect to it properly. But Sonys SW figured out that it could stream music to the adk. I guess I just need to live with the ADK being 2h and 15 minutes off. I just hope that the alarm has been cancelled May 08 15:46:16 barq hmm … if you have a few eclipses, and they share workspaces, there might be plugins in the workspace May 08 15:46:22 Randomly goes off at different times. May 08 15:47:14 can't remember if plugins install to workspace or install dir … maybe different by platform too May 08 15:48:31 Good point, using a different workspace is a good idea. Killed the error. May 08 15:50:03 Burn me! I still digg eclipse and the plugins. Still not loving android studio. May 08 15:51:11 Syzygy: Thanks! May 08 15:54:54 how to stop a service which comes with com.android.nfc May 08 15:58:40 yo pfn May 08 15:59:28 pfn: turns out Notification has a field bigContentView that lets you specify the expanded view May 08 15:59:41 Napalm, of course May 08 15:59:47 Napalm, but the expansion doesn't happen automatically May 08 15:59:58 Napalm, unless you have high priority, but it's not guaranteed to stay expanded May 08 16:00:02 indeed May 08 16:00:28 i think i remember our conversation incorrectly :D May 08 16:00:33 meh, its all good May 08 16:09:12 let me try again : I'm having a listfragment consists of 3 diff layout rows. one of them has an edittext. If I click on the field and try to write that causes my listview to redraw/refresh. Here's the code http://pastebin.com/bC7cTJLQ and here is the xml http://pastebin.com/89faUsW2 May 08 16:26:38 new AS 0.5.8 :D May 08 16:27:47 ooh, layout editor improvements May 08 16:28:00 g00s: when will version 1.0 come our?! May 08 16:28:03 *out May 08 16:28:16 they move so slowly May 08 16:28:16 hm so i dismissed the dialog too soon … but i thought i saw 'dev channel' not canary May 08 16:28:29 what? May 08 16:28:32 thepoosh at this pace, maybe i/o 2015 May 08 16:28:42 well, yeah May 08 16:28:58 as far as features, it does what i need may as well be called 1.0 May 08 16:29:01 it took them 2 years to get to version 0.5 May 08 16:29:07 hmmm May 08 16:29:11 is it buggy? May 08 16:29:17 hmm May 08 16:29:20 hi all HOW do i get notice on a edittext that the keyboard has been enflated May 08 16:29:25 i still get IDE internal errors May 08 16:29:35 all I need to do is find a way to finally connect to my repository and work with it May 08 16:30:00 updating now May 08 16:30:51 IchGuckLive: should be some listener somewhere May 08 16:31:20 setOnEditorActionListener is ok May 08 16:31:30 there i get the DONE action May 08 16:31:45 i like the last line, "Many, many bug fixes!" May 08 16:32:00 IchGuckLive: http://stackoverflow.com/a/7397407/1056359 May 08 16:32:03 lol May 08 16:32:03 i'll try gradle 1.12 i guess May 08 16:32:41 thepoosh: thanks May 08 16:33:18 just assume there is a listener for everything and then go look for it May 08 16:34:44 g00s: cloning now the git repo May 08 16:34:57 will attempt doing this again! May 08 16:36:05 thepoosh are you building AS from source O.o May 08 16:36:15 no no no May 08 16:36:38 the issue is that I never figured out how to port a project from git or Eclipse May 08 16:37:17 and I was always kinda ok with eclipse May 08 16:37:21 but I do hate it May 08 16:43:35 Hi! I’m working with the Scrumptious tutorial (Facebook SDK), but I’m not getting the friends picker list, it is not visible in the activity. What can be wrong? Have anyone tried this tutorial and done it with success? May 08 16:44:53 mEck0: is the app signed correctly? May 08 16:46:03 thepoosh: yes, because the former parts of the tutorial works, like log in, see logged in username, logout etc. But not this, https://developers.facebook.com/docs/android/scrumptious/show-friends#step2 May 08 16:46:32 mEck0: are there annoying device level logs from katana? May 08 16:46:36 I have read through this part several times now and double-checked my code and just can’t find any case where I’ve done wrong :( May 08 16:48:00 Have also tried to clean/build, delete app from phone and re-install, logout from Facebook-app and then login from my example facebook tutorial app, but the friends picker is not showing. When I press the “With whom?” button, a white activity is opened and I can see the “done-button” at the top, but the listview is not populated with picture+name of friends. May 08 16:49:56 thepoosh: I don’t get what you mean from katana? May 08 16:49:59 mEck0: have you looked at the log output to see if there are any errors? May 08 16:50:10 mEck0: ןמ איק ךםעבשא May 08 16:50:13 sorry May 08 16:50:15 in the logcat May 08 16:50:46 I’ll test again to see what logcat says May 08 16:52:08 05-08 18:51:02.285: D/ProgressBar(31446): setProgress = 0, fromUser = false May 08 16:52:09 05-08 18:51:02.285: D/ProgressBar(31446): mProgress = 0mIndeterminate = false, mMin = 0, mMax = 10005-08 18:51:02.390: D/AbsListView(31446): onVisibilityChanged() is called, visibility : 4 May 08 16:52:10 05-08 18:51:02.400: D/AbsListView(31446): unregisterIRListener() is called May 08 16:52:11 and so on.. I can’t see that it’s useful info? May 08 16:53:51 Do I need to set special permissions to get friends picker? But I haven’t seen anything about it in the tutorial. May 08 16:54:32 The weird thing is that I haven’t find anything that I have forgot to implement according to the tutorial. So, I’m almost start to think that something is missing there. May 08 16:56:32 wow, looking at oracle java mission control - so many very useful tools for analyzing garbage collection May 08 16:57:09 allocation behavior , very nice May 08 16:57:22 heap contents, etc May 08 16:57:35 makes the eclipse ddms shit look like some 15 year old worked on it May 08 16:58:22 i'm glad legally, google can make their own java vm, but shit i wish they would burn it and use oracle May 08 17:01:39 this is the view i need http://blog.paralleluniverse.co/images/jmodern/figure19.png May 08 17:03:46 AHA, now I’m maybe have something. I imported the FriendsPickerExample-project from Facebook SDK and tried it. Doesn’t show any friends either, BUT I’ve got and error dialog: “An active access token must be used to query information about the current user.” May 08 17:04:26 I’ve signed my example app with the “default development key”, but that’s maybe not the problem here. May 08 17:15:23 g00s: did you get JMC to work with a Android hprof? May 08 17:15:34 Napalm no, no ... May 08 17:15:42 ? May 08 17:15:46 just looking at what it can do with GC May 08 17:15:55 reporting, instrumentation May 08 17:16:09 well i just opened a converted hprof.. it gets to 70% and bails :( May 08 17:16:21 i keep forgetting that the real jvm has all this cool instrumenting stuff like KMX May 08 17:16:24 *JMX May 08 17:22:58 Does android support network events? Ex. when phone receive something on TCP connection May 08 17:23:36 KeyboardNotFound: what exactly are you asking? May 08 17:23:46 because that doesn't make much sense May 08 17:23:55 KeyboardNotFound hm, if you have a socket open and the phone sleeps, and incoming data comes the phone will wake May 08 17:24:05 not sure if wifi and 3g, or just 3g, or what May 08 17:24:10 not really documented well May 08 17:24:21 Napalm, is android I/O blocking or event based? Something likes node.js May 08 17:24:30 it has both May 08 17:24:34 its your choice May 08 17:24:36 g00s, uh, why are you comparing non-comparable things May 08 17:24:46 wow May 08 17:24:57 pfn what non comparable things ? May 08 17:24:59 Which library should I use to connect phone to TCP server? May 08 17:25:00 jvm vs. dvm May 08 17:25:11 KeyboardNotFound: none, its just Java May 08 17:25:19 if you want a jvm in your phone, I hope you're prepared to carry something that weighs a pound May 08 17:25:23 or has a 5 minute battery life May 08 17:25:43 pfn i doubt thats the case with the newest JME May 08 17:25:51 uh, you've never used JME have you May 08 17:25:53 it's not a jvm May 08 17:25:55 it's garbage May 08 17:26:00 not jave 8 JME May 08 17:26:08 you think you get JMC, JMX, etc. for JME? no May 08 17:26:09 yeah the old looked like crap May 08 17:26:18 you get none of that May 08 17:26:55 and java8me, you think you're gonna see adoption this decade? May 08 17:29:10 JMX works on Java 8 ME May 08 17:29:29 that's good then, how many devices run java8me May 08 17:30:18 How do I get my new app listed in the playstore's new releases section? May 08 17:30:38 RetroDude know somebody at Play, and … make a good app :) May 08 17:31:50 the 2nd part is easy. The are hundreds of thousands of great apps. May 08 17:33:26 hm, Java SE Embedded 8 looks interesting, it has the compact profiles but the jvm has generational GC, etc May 08 17:35:15 The Facebook app just send me a notification: "Do you know Kevin Mitnick?" May 08 17:35:38 Ologn NSA guy asking you questions :) May 08 17:35:51 g00s, yaa, I think so... May 08 17:41:49 g00s man, did you know a STICKY_SERVICE will restart after you power off and reboot your phone if it was previously running.. i didn't think it would May 08 17:42:51 Napalm there is some big buck with START_STICKY in 4.4 May 08 17:43:00 buck? May 08 17:43:02 you mean bug? May 08 17:43:22 thats kinda funny, because the bug is that the framework basically WONT restart your service after it gets killed May 08 17:43:46 which breaks shit from like android 1 May 08 17:44:53 https://code.google.com/p/android/issues/detail?id=63793 May 08 17:45:35 notice its not assigned :) May 08 17:45:48 i wonder if its really a bug, or dianne just wanted to F%$# with everyone May 08 17:45:57 lol May 08 17:46:23 I'm having a listfragment that it consists of 3 diff layout rows. one of them has an edittext. If I click on the field and try to write that causes my view to recreate. Here's the code http://pastebin.com/bC7cTJLQ and here is the xml http://pastebin.com/89faUsW2 May 08 17:46:51 android:windowSoftInputMode="adjustPan" on my activity stops recreation *but* hides my edittext :/ May 08 17:47:23 csst0111: you probably want to accept the configChange May 08 17:47:48 csst0111: i assume if you scroll up so the edit text is in view everything is ok? May 08 17:47:50 hello May 08 17:48:52 Napalm, with adjustPan I can't scroll up May 08 17:49:11 plus there aren't any config changes ... May 08 17:52:38 on desktop gui when you click a button text fields loose focus, but it's not the case in Android, is there an event though that occurs on TextView when you click outside it? May 08 17:52:59 adjustPan just vanishes the actionbar - then when I type and get word suggestion's the editText dissapears behind suggestions... May 08 17:52:59 csst0111: what version of the API is your min? May 08 17:53:02 14 May 08 17:54:47 on your convertView for your editText row call setHasTransientState(true); is everything ok after that? May 08 17:54:51 csst0111: ^ May 08 17:58:31 Napalm, nope May 08 17:58:56 then you have bigger issues, good luck with that May 08 17:59:16 oh, set the edittext as focusable and probably focusableInTouchMode May 08 17:59:54 tried that too. ...thanks for your help May 08 18:01:35 g00s: its interesting, reading those comments on that bug ticket May 08 18:01:50 yeah May 08 18:02:00 g00s: i cant think of one good reason why you should have a background services that runs continuously May 08 18:02:03 some bugs are more interesting than others May 08 18:02:04 i dont see it as a bug May 08 18:02:29 what i gather is that the service is not getting started again. its not that its getting stopped, which is typical May 08 18:03:03 but different people are seeing different things, hard to weed it out May 08 18:03:24 perhaps, but, it might be a bit too aggressive May 08 18:03:39 also weirdness when you throw in swiping away from recents May 08 18:03:58 really? i dont think so May 08 18:04:18 i mean if its foreground service for something ongoing like a download.. the service will stick around May 08 18:04:38 but if the user wants to close an app, then they should be able to May 08 18:05:24 foreground services don't get swiped away May 08 18:05:29 that's pretty consistent May 08 18:05:29 what is closing an app ? May 08 18:05:53 Napalm is Settings / force close the same behavior & semantics as swiping away the task ? May 08 18:06:33 g00s: if the service is not linked to a foreground process then i suppose it is May 08 18:07:17 g00s, no, not same, force stop will stop foreground services and stickiness won't revive May 08 18:07:36 ok , thats good May 08 18:08:12 I have a ViewPager that is in a layout that is set to invisible - but the tabs continue to show in the action bar, what do I have to do to get the tabs to not show in the action bar when the pager is hidden? May 08 18:08:22 Swipe away just kills task stack May 08 18:08:36 Napalm see comment 96 May 08 18:08:45 if nothing is left foreground then the process goes away May 08 18:10:41 MaNI: remove the tabs May 08 18:10:42 lol May 08 18:12:17 I'm trying to do something like this. Activity A to Activity B via startActivityForResult, B to C and finish B, C finishes and returns a result to Activity A. Is this possible? May 08 18:12:59 g00s: read May 08 18:13:21 eghdk: yes May 08 18:13:30 this is pretty good: https://signalvnoise.com/posts/3743-hybrid-sweet-spot-native-navigation-web-content May 08 18:13:57 eghdk: lemme find it, its called forward something May 08 18:14:05 got it May 08 18:14:06 eghdk: http://developer.android.com/reference/android/content/Intent.html#FLAG_ACTIVITY_FORWARD_RESULT May 08 18:16:00 Napalm so if comment 96 is correct, it seems like a combination of behavior change + bug May 08 18:16:15 g00s: agreed May 08 18:16:17 g00s: http://stackoverflow.com/questions/20636330/start-sticky-does-not-work-on-android-kitkat-edit-and-jelly-bean May 08 18:16:26 Napalm: So all I do it intent.setFlag(FLAG_ACTIVITY_FORWARD_RESULT)? May 08 18:16:29 look at the first answer, that guy's "fix" is horrible May 08 18:16:29 lol May 08 18:17:17 ha May 08 18:17:20 probably want to do addFlags(); but yes May 08 18:17:25 eghdk: ^ May 08 18:17:41 eghdk: you do it on your intent that launches C from B May 08 18:17:49 then C can use setResult and it will go to A May 08 18:18:08 Great. May 08 18:18:18 your welcome May 08 18:18:40 So in C I do setResult, and then finish on C right? I don't do startActivity or anything? May 08 18:19:11 correct May 08 18:19:20 the way you would normally send a result May 08 18:20:22 Napalm: result always scares me because I don't think I'm doing it correctly. Because I create an intent, but I never "start" it, but I guess it works. May 08 18:24:01 Hmm, I’m having an issue where I only ever add a certain fragment using a replace transaction with a tag, but the tag is null long after the transaction should have been committed. I can *see* the fragment, but findfragmentbytag is null. Any ideas? May 08 18:24:14 Napalm: Just implemented it. Works perfectly. Thanks so much. May 08 18:29:10 i really need help with something, has anyone here got some knowledge of actionbars and spinners ? May 08 18:29:44 Hello =D May 08 18:30:02 Zylinx: theres been a lot of people asking about this recently May 08 18:30:03 whats up May 08 18:30:37 I would like to respond to an NFC tag from the lock screen. I.e. wake the phone, swipe an NFC, stuff happens. Is that possible? May 08 18:31:19 yes, should be fine May 08 18:31:51 im using actionbar that is implemented with the holo afaik, i want to have an icon which when pressed displays a spinner drop down... just like the spinner that gets used if item does not showAsAction May 08 18:32:16 sorry that didnt come out right May 08 18:32:19 hesperaux: you can respond to the broadcast events, and then start over the lockscreen.. i think theres a flag to hide the lockscreen if its a non-secure one May 08 18:32:49 Zylinx: its not a Spinner May 08 18:32:53 Zylinx: thats called a Menu May 08 18:32:56 oh May 08 18:33:14 how could i add my own menu ? May 08 18:33:23 i think is what i should be asking then May 08 18:33:30 Zylinx: you can just add a to your action bar item in your menu xml May 08 18:33:31 Napalm, what about an NFC tag (not a transceiver)? May 08 18:33:55 hesperaux: i dont follow? May 08 18:34:08 :o May 08 18:34:23 i havent thaught of that! thanks Napalm, lol May 08 18:34:25 can anyone tell me what hackbod means by "major allocations"? http://stackoverflow.com/a/9216667/1747491 May 08 18:34:54 Napalm, it sounds like you were talking about an NFC transceiver. I'm really talking about an RFID/NFC tag. If I hold the tag up to my phone after waking it, can I read the tag and respond? May 08 18:35:27 Without any other user action -just wiping the tag on the phone May 08 18:35:30 you have to love Google not following its own guidelines for the Navigation Drawer: "This also applies to common navigation targets, such as access to Help or the app's Settings. As per style guide convention Help and Settings are always located in the action overflow." May 08 18:36:48 hesperaux: yes May 08 18:36:51 as i said May 08 18:37:33 I apologize - I misunderstood what you meant by "broadcast" May 08 18:38:49 Do you know of a good resource where I could learn how to do that? May 08 18:39:11 hesperaux: did you even read the SDK? May 08 18:39:13 hesperaux: http://developer.android.com/guide/topics/connectivity/nfc/index.html May 08 18:39:42 No, I confess I did not May 08 18:39:47 bubbleguuum seems like they are changing that May 08 18:39:47 ugh May 08 18:40:18 i think all the gapps i have used lately have actions in the overflow, nav in the … ugh nav drawer including settings May 08 18:40:45 i bet during i/o design guidelines get major overhaul anyhow May 08 18:40:47 gmusic has Settings and Help in the drawer, Google drive in the overflow May 08 18:41:05 Napalm, it doesnt seem like i can have multiple menu's per actionbar, is this correct :/ ? May 08 18:41:09 bubbleguuum: That's because they looked up the definition of guidelines and found out that they are not laws written in stone May 08 18:41:26 Napalm, because im already using a menu for the rest of my actionviews May 08 18:42:06 of course, nothing i written in stone. Cool UI pattern of today are deprecated pattern of tomorrow May 08 18:42:17 but my current menu does not drop down each icon is in the actionbar, but i want to add now an i icon which does have a drop down May 08 18:42:19 Zylinx: it needs to be inside the that you want the menu to come from May 08 18:42:26 aaahh May 08 18:42:34 :) May 08 18:42:35 They are just "do this and you wont be totally wrong" May 08 18:43:46 SimonVT: did you ever figure out that addViewInLayout issues? May 08 18:44:35 Nah, I didn't May 08 18:44:43 Rewrote it to use attachViewToParent May 08 18:45:04 ive using addViewInLayout and i don't have the problem May 08 18:45:14 although im tempted to use attachViewToParent instead May 08 18:45:31 iirc, it didn't break if I just added it May 08 18:45:37 it works, and works great, so im not going to tempt fate May 08 18:45:37 The issue was removing and adding inLayout May 08 18:45:46 yes, i remove aswell May 08 18:45:53 and even reuse them May 08 18:46:15 but i do call View.layout May 08 18:46:20 How many nested levels? May 08 18:46:29 loads May 08 18:46:29 Of child views May 08 18:46:32 lol May 08 18:46:41 2-4 May 08 18:46:43 works fine May 08 18:47:10 Do you also invalidate them during layout? May 08 18:47:31 Anyway, guess you hit the right combination which doesn't break May 08 18:47:46 nope May 08 18:47:51 no calls to invalidate May 08 18:48:21 (setting text, images, whatever, also counts are invalidating) May 08 18:48:33 SimonVT: ok then, no explict calls May 08 18:48:34 lol May 08 18:48:46 thanks Napalm, i spent the whole day on stack overflow looking at adding spinners to actionbar and stuff May 08 18:48:50 but yes, ofc, text and images change May 08 18:49:05 Then your views are being invalidated :p May 08 18:49:43 yup May 08 18:49:50 but not explictly May 08 18:49:54 only implictly May 08 18:49:56 Anyway, attach/detach works perfectly May 08 18:50:11 And now I know to use that in the future :p May 08 18:50:21 i bloody hate ScrollView's change to restoring scroll position May 08 18:50:27 no hooks May 08 18:50:30 :( May 08 18:51:01 i want to play with attach/detach when i get a chance May 08 18:51:19 bubbleguuum yeah I know, it is funny. also back button is handled differently across the different apps May 08 18:53:52 When you do, just remember that "reattachment or removal should happen within the same drawing cycle as detachment" is a lie May 08 18:54:29 hm, is there a way to make the spinner always show the same thing when its list isn't shown - regardless of what is selected ? May 08 18:55:41 anyone know how many apps are using fragments compared to activities (ballpark figure)? May 08 18:55:54 hi all May 08 18:56:09 All apps are using activities May 08 18:56:13 Is there any particular reason why calling a native jni function would crash with java.lang.NoSuchMethodError on an A269i (2.3.3 - 2.3.7)? May 08 18:56:14 Not all are using fragments May 08 18:56:17 I am confused by the explanation of repo options given at http://tools.android.com/build May 08 18:56:36 how to include e.g. eclipse, which is not included by default? May 08 18:56:39 i'll rephrase: anyone have any idea how many apps are utilizing fragments? May 08 18:56:55 in particular, that's when I am using "repo init" May 08 18:57:08 hesperaux: Counterquestion: Why are you asking? May 08 18:57:31 mostly, I'm just curious May 08 18:57:54 Anyone here testing with Robolectric + Android Studio successfully/ May 08 18:57:55 ? May 08 18:58:09 There's no official figures. But most people in here are using Fragments from what I've gathered. May 08 18:58:36 ok, thanks May 08 18:59:09 g00s: yes May 08 18:59:17 g00s: i have an example of that someplace May 08 18:59:48 I'm trying out android studio for the first time. Is it normal to take >1 minute to create a new project? May 08 18:59:51 g00s: https://gist.github.com/slightfoot/11329616 May 08 19:01:25 g00s: the simple fact is getView always returns what you want to show in the Spinner where-as getDropDownView gets views to display in the list May 08 19:02:23 hesperaux: intellij does indeed take some time when creating a project... this takes even longer on android studio, more than 1 minute sounds still reasonable to me May 08 19:02:37 Okay. It's still sitting there May 08 19:02:42 I've got the Robolectric testing set up correctly as far as I can tell (even got past the Stub! issue), but now it keeps screaming at me "Class not found" despite the class being right there May 08 19:02:55 hesperaux: how long already? the second start should be done very fast though May 08 19:03:04 It just changed to an indeterminate progress bar ;D May 08 19:03:19 ohcibi, it's been building gradle project info for about 5 minutes May 08 19:03:24 oO May 08 19:03:38 lol i just got a windows firewall alert for java. perhaps that was why. Now it's working fine May 08 19:03:38 hesperaux: are you using a netbook May 08 19:03:45 hesperaux: ok lol 8-) May 08 19:03:48 nah, core i5 4G May 08 19:03:49 windows again May 08 19:03:58 it's stupid that it took 5 minutes to pop up that firewall alert May 08 19:04:01 * hesperaux grumbles May 08 19:04:11 hesperaux: intellij checks for updates regulary,, dont know why that blocks the project process though May 08 19:04:15 Napalm cool thanks May 08 19:04:15 ohcibi, yeah i happened to be on windows for school crap May 08 19:04:18 hesperaux: ah maybe because gradle downloaded some deps May 08 19:04:29 yep that's what it's doing right now May 08 19:04:30 or: wanted to download them May 08 19:04:35 getting a lot of things off the net May 08 19:04:45 okay there you go, thats why the firewall was complaining May 08 19:05:13 * hesperaux remembers that patience is a virtue May 08 19:08:37 Especially if you're paid by the hour ;p May 08 19:08:47 lol May 08 19:08:53 are there any good libraries out there for downloading and displaying images in ImageViews? Preferably with decent caching May 08 19:09:13 scelis: Picasso May 08 19:09:17 ^^ May 08 19:09:26 kakazza: Thank you May 08 19:09:28 Throw in okhttp there too and you're settled. May 08 19:09:51 okhttp has excellent caching capabilities. Picasso looks for it automatically if it's on the classpath. May 08 19:10:08 (okhttp is so good, that it backs HttpUrlConnection starting with Android 4.4) May 08 19:10:35 anyone using gradle version 1.12 with android studio? May 08 19:10:49 I've been using retrofit but haven't pulled in okhttp itself yet. Not sure if retrofit uses okhttp under the hood May 08 19:11:00 shigeru i just started … whhhhyyyyyy >.> May 08 19:11:10 just curious if it works May 08 19:11:13 and im too lazy to actually try May 08 19:11:15 seems so :) May 08 19:11:19 0.5.8 May 08 19:11:20 and if there are any significant benefits May 08 19:11:21 lol May 08 19:11:28 yeah im on 0.5.8 May 08 19:11:49 i tried to enable the incremental dexOption stuff but im not really noticing any speedups.. May 08 19:12:01 bbl May 08 19:13:41 Should jni work on all Android 2.3 devices? May 08 19:13:52 afaik, yes. May 08 19:13:56 should work on anything 1.4+ May 08 19:14:31 scelis: It does May 08 19:14:35 Also automatically. May 08 19:15:00 Any idea why some 2.3 device (A269i) would give a java.lang.NoSuchMethodError for jni, when at least 4.0+ devices work? May 08 19:15:11 any android annotations users here? May 08 19:16:32 Cyp_: because the method you're invoking isn't present in API-9 May 08 19:16:35 Cyp_: what's the method? May 08 19:17:41 As far as I understood, it was the call to native code that failed. Could it be a call from native to java that failed? May 08 19:19:31 kakazza: Thanks for the help. One last question: is there an easy way to clear the cache for a particular URL when using retrofit's okhttp nad picasso May 08 19:20:18 picasso has a shutdown method for when you are done. May 08 19:20:40 this is when i know that an image at a particular URL has changed and I want it to redownload it May 08 19:20:42 but retrofit/picasso don't use okhttp unless it's also included in your project (on the classpath) May 08 19:20:46 jonp: Could blindly calling GetFieldID and GetMethodID on everything in android.view.MotionEvent cause a java.lang.NoSuchMethodError, even if not actually calling the method or getting the field? May 08 19:21:02 Afaik there is no - and no such feature if planned from what I've gathered - way to selectively clear the cache. May 08 19:21:20 scelis: Picasso handles that, if the server isn't broken. May 08 19:21:31 Read: the headers of last_modified is correctly set. May 08 19:21:41 It will only re-download if the picture is newer. May 08 19:23:24 kakazza: Thanks. I'll play around with it. It seems most libraries I have looked at do not do the HEAD request every single time so when I want to to change *now* I often have to clear a cache of some sort May 08 19:25:55 It's not picasso doing it, but okhttp. May 08 19:26:20 Robolectric seems to work from terminal (though output is not very informative), but 'Class not found' in Android Studio... May 08 19:28:22 * pfn still doesn't understand why AndroidBuilder.convertByteCode takes a folder as the argument for outDex May 08 19:28:23 Picasso doesn't check headers if bitmap is already in the memory cache May 08 19:28:25 wtf was the point of that change May 08 19:32:07 Cyp_: MotionEvent.getDeviceId() (and others) "moved" May 08 19:32:24 Cyp_: it was present in MotionEvent in API-8, and moved to InputEvent in API-9 May 08 19:32:55 Cyp_: so depending on what klass you're using, it's possible that GetMethodID() is using the "wrong" klass May 08 19:37:30 I heard about some android framework allowing you use your mobile site's javascript / html to create a native app. Anyone have comments on it or know which of those are good? May 08 19:38:17 Hello. Trying to make an app widget: for now just one that takes up width of screen, and one vertical cell spacing... anyone know what the min w/h is supposed to be these days? May 08 19:38:36 ldiamond, cordova, and no, it's not good May 08 19:38:41 ldiamond, are you talking about phone gap ? i heard its really good May 08 19:38:56 really good? May 08 19:38:58 no, it's terrible May 08 19:39:18 i dno, its just what i heard, i didnt like the idea so i didnt touch it May 08 19:39:26 but maybe for some people its what they need May 08 19:39:51 http://phonegap.com/ May 08 19:41:01 SimonVT: I thought it did. At least in conjunction with okhttp. Afaik it uses the url (+magic) as a key, but if the picture has been updated, it re-downloads. May 08 19:41:48 Looking at phonegap yes. But I'm not sure about it. I just don't want to have to write the app for all platforms. May 08 19:42:01 then write it native May 08 19:42:54 kakazza: Nah, if it's in memory cache it returns the bitmap immediately (in fact, it never leaves the ui thread).. OkHttp does its own disk caching that respects cache headers, but that's only hit if not found in the memory cache May 08 19:43:09 grr can someone point me to a way to use twitter4j to oauth .. my old code no longer works May 08 19:43:33 http://pastebin.com/YEvbpt2y May 08 19:45:18 SimonVT: Memory cache is never updated? Hum May 08 19:45:31 I guess they don't expect it to change while the app is still running? May 08 19:45:43 o nvm, dumb me forgot to set callback url to something in admin panel May 08 19:47:19 jonp: Thanks, seems calling GetMethodID on a clearly-non-existent method did give a similar-looking (although longer) stack trace, so I guess that's probably the issue. May 08 19:49:31 What's the best way of calling between Java and C++? Trying to parse the javap output to autogenerate some kind of jni wrapper like I did, or trying to figure out what SWIG is (which I hadn't heard of at the time of making the wrapper), or something completely different? May 08 19:50:59 Cyp_: "best" is debatable... May 08 19:51:22 Cyp_: SWIG usually makes C code accessible to Java; not the other way around, afaik May 08 19:54:30 Which folders are free to use for installed apps? May 08 19:55:33 Guess for now I'll comment out all my JNI wrapper, and put back the parts that I actually use. May 08 19:55:40 So phonegap isn't worth it? And I thought starting my own company I'd avoid using Java... May 08 19:55:45 and eclipse... May 08 19:55:53 Anyone here doing android dev in Vim or something? May 08 19:56:39 ldiamond: java is the right choice, and intellij/android studio is the right chocie May 08 19:56:47 I've dabbled with vim and android using Eclim May 08 19:56:54 but that doesn't really get you away from Eclipse May 08 19:57:16 yea I did my last java dev using eclim May 08 19:58:01 i dont see why you'd need eclipse. build with gradle, write files with whatever May 08 19:58:19 debugger mostly May 08 19:58:32 yea but unfortunately there's no decent auto completion for java in vim May 08 19:58:42 just use android studio with ideavim May 08 19:58:46 seems like the intersect between the java and vim community is rather small May 08 19:59:26 kakazza: They would probably have to re-implementing cache header parsing in picasso if they had to properly handle that. They'd probably also need to force certain http clients (like okhttp). Instead, they just use a "dumb" LRU cache and leave disk caching up to whatever http client the user chooses May 08 19:59:46 For the vast majority this is fine May 08 20:00:06 i dont see why anyone wouldnt use android studio May 08 20:00:18 say i f i want to call a method in my activity from a custom view May 08 20:00:28 njcomsec, me neither since I still have never used it May 08 20:00:34 Both the memory cache and the http client can be customized if needed May 08 20:00:38 i might do : ((ActivityOne) v.getContext()).start(); May 08 20:00:45 The user knows more about their needs for this May 08 20:01:03 what if i want ActivityOne to be unknown? i.e how do i reference the class type and make it dynamic? May 08 20:01:21 And for the few where picasso truly doesn't fit their needs, they should probably use their own specific implementation anyway May 08 20:01:50 why are all the tools 32 bit (adb, aapt) even if you download the 64bit adt package May 08 20:03:45 you're lucky they aren't 16-bit :) May 08 20:04:42 :( i just want this to work and I cant even build a brand new project May 08 20:05:21 even after installing the 32bit libs, it's like none of the libs are being loaded (e.g. ActionBarActivity May 08 20:10:30 nvm, apparently the appcompt_v7 was he issue :-\ May 08 20:16:51 SimonVT, kakazza: memory and disk cache control APIs are coming. May 08 20:17:53 why on earth isn't there a tool to convert photoshop pt/px to android sp/dp per density May 08 20:19:51 JakeWharton: Is the memory cache going to respect http cache headers? May 08 20:20:09 No May 08 20:21:35 jaynewstrom: Do you know the magic gradle line to add okhttp to my classpath if i am already using retrofit? May 08 20:22:07 jaynewstrom: I am basically just doing: compile group: "com.squareup.retrofit", name: "retrofit", version: "1.5.0" May 08 20:22:14 compile 'com.squareup.okhttp:okhttp:1.5.4' May 08 20:22:19 compile 'com.squareup.okhttp:okhttp:1.5.+' May 08 20:22:49 jaynewstrom JakeWharton: thank you! May 08 20:26:15 I'm trying to set up GCM as per http://developer.android.com/google/play-services/setup.html I don't see a build.gradle file anywhere May 08 20:27:40 what is a good way to bold a checked list view item after calling set item checked? can change the background no problem, but can't seem to figure out how to bold the text lol May 08 20:29:45 How do I design an app with multiple classes that are ListActivities? I can't have multiple android.R.id.list after all... May 08 20:31:36 you can use @id/list in multiple layouts May 08 20:31:57 as long as you don't end up with multiple views in the same layout with the same id May 08 20:32:57 I am tryng to style an alert title, but it has gray boxes on moth sides of the title text. Anyone know why? May 08 20:32:58 JesusFreke, thanks, I figured out i was just being an idiot and calling setContentView too late... May 08 20:35:18 Anyone know if there is a nine-patch library/repo online somewhere? May 08 20:36:31 Reverse: yeah you can May 08 20:36:47 *in different layouts, not the same May 08 20:50:35 I've installed the google-play-services from the sdk manager. I then imported it into my eclipse project by using file > import > android > existing code. I'm till getting errors about "@integer/google_play_services_version" not being found May 08 20:52:23 I'm really not sure what to do at this point May 08 20:54:37 http://stackoverflow.com/a/19990244/35338 worked May 08 21:12:36 eclipse? May 08 21:12:41 eclipse! May 08 21:13:19 eclipse :( May 08 21:13:27 eclipse. May 08 21:14:30 it's a pity such a nice word has been ruined by an IDE :( May 08 21:15:18 eclipse! http://i.imgur.com/otxNRR7.jpg May 08 21:15:49 we had a lunar one the other week, pretty cool. it was orange for about 10 minutes May 08 21:19:35 <|Cypher|> anyonne know how to fix adb? i need to install it but it's giving me an error in device manager. May 08 21:19:53 <|Cypher|> I need to i guess totally uninstall May 08 21:20:31 that's not adb, that's drivers for your device May 08 21:21:17 <|Cypher|> ok well it's labled adb May 08 21:27:30 <|Cypher|> man talking to the droid community is like pulling a ball hair off of a bull during a bull fight May 08 21:27:42 <|Cypher|> getting help * May 08 21:35:07 |cypher|: considering you haven't even said what OS you're using, and it's quitting time for a vast majority of people in the channel, how, precisely, do you expect someone to deduce your problem? EPS? May 08 21:35:13 ESP? ... oh, he's gone anyhow. May 08 21:43:44 Need help with search -- I added the SearchView, searchable.xml, etc based on the documentation, but when I enter a search, it seems that nothing is happening. May 08 21:44:47 No new intents delivered May 08 21:53:28 layout problem: I have a listview with 2 textViews in each row. I want one textview to use 60% of the screen and the other bind to the very right of the screen, how can i do the latter? May 08 21:54:21 It is also a linearlayout. maybe i should change that. May 08 22:31:26 Reverse: Use the layout weights -- you don't need it to be a percentage, per-se. May 08 22:37:07 greymalkin, alright i got it working, next question: how to i prohibit text clipping, or how do i change the width of the textview so they dont clip? May 08 22:39:15 Reverse: That depends on how you want to handle really long lines of text -- keeping in mind that the text may either be generated by the user, and the size of the text can be set in global preferences. May 08 22:39:46 You can either make it multi-line, or expect text clipping on some devices. May 08 22:40:25 Either way, the problem isn't keeping the text from clipping, it's what you want to do with it when it does. May 08 22:41:33 greymalkin, I used the systemwide variable for textsize. currently the text either clips or goes to the next line depending on the length of the phrase. how do i get the textView to cut off at some point and "scroll" when selected? That would make the most sense, since it's a song list with track durations. May 08 22:41:34 android view question -- i have two textviews A and B next to each other. As text is added to A, i want it to be able to grow horizontally without pushing textview B off the screen May 08 22:41:37 any tips for achieving this? May 08 22:42:18 Reverse: Put the TextView into a ScrollView May 08 22:42:59 As for making it into a marquee style of scrolling, that would need a serious googleizing May 08 22:43:46 shigeru: Make the width of the TextView 0dp and it's layout_weight to 1 May 08 22:44:06 wont that make textview A grow to take up all of the remianing horizontal space May 08 22:44:10 leaving textview B at the end May 08 22:44:15 i want them to be side by side May 08 22:45:05 shigeru: Then you'll have to make a custom view that uses onMeasure to lay itself out to the text width or remaining screen width, whichever is smaller. May 08 22:45:21 oh. May 08 22:45:23 or. May 08 22:46:12 you might be able to get that by having a layout_weight=0 View on the right side of the right-hand item. May 08 22:46:28 er... layout_weight=1 May 08 22:46:54 I don't know that that would work, but it's an idea. May 08 22:48:57 how do i have to install the android ndk? May 08 22:49:15 greymalkin neat idea May 08 22:49:18 couldnt get it to work though May 08 22:50:12 Are there any goto recommendations for android development tutorials for an already experienced java programmer? May 08 22:50:56 What should i write in this /jni/Android.mk file? May 08 22:54:17 and how do i install the ndk in eclipse? May 08 22:56:39 x0rs: None that i know of; but it's a good idea to start with figuring out the roles of the Activity, Service, and Broadcast Receivers... they're the main entry points; In android there is no 'public static int main( String[] args )' May 08 22:56:41 isnt eclipse for java only? May 08 22:57:50 yes! May 08 22:58:32 no! May 08 22:58:48 I regularly use it for python. And I know you can do native c/c++ in it. May 08 22:59:26 and if i type adb install bin/MySecondApp-debug.apk i get an error! May 08 22:59:50 can't find 'bin/MySecondApp-debug.apk' to install May 08 23:00:06 and i am in the project folder! May 08 23:07:42 well ... is it there? May 08 23:08:23 i got it May 08 23:08:43 openjdk-jdk wasnt installed May 08 23:09:13 so the command ant debug failed! May 08 23:09:45 would you perfer devloping only with sdk tools or with eclipse? May 08 23:11:27 eclipse is good for learning programming right? May 08 23:11:51 ... unsure if I'd like to inflict Eclipse specifically on anyone learning May 08 23:12:05 == May 08 23:12:43 I can accept someone more experienced liking and using Eclipse. But some things that Eclipse does in various places are unnecessary burden when you're learning, IMO May 08 23:13:05 i thought because in eclipse you have suggestions and a graphical editor! May 08 23:13:43 gregor2: you have suggestions in IntelliJ as well. Not sure if the graphical editor is that much of an improvement over XML editing with live preview May 08 23:14:09 tbh, I've simply been over confused by Eclipse weirdness in how it actually *compiles* things May 08 23:14:28 especially if you want to try building something outside of Eclipse later on May 08 23:14:43 I could get it working, yeah, but it was unnecessary mental work May 08 23:15:33 oh May 08 23:15:54 and where is the apk file if i compile without eclipse May 08 23:15:58 with ant debug May 08 23:15:59 ? May 08 23:16:35 hmm... ask me when I have something more than wool in my head. Haven't built anything with Ant in a long time May 08 23:17:32 last JVM projects I did used either an unholy mix of shell, gradle and maven, or (currently) leiningen (because clojure) May 08 23:18:44 where is the apk file with eclipse? May 08 23:20:39 Is there any way to addJavascriptInterface in a hierarchy instead of directly to the window object? e.g. window.Foo.Bar.Function() instead of window.Bar.Function()? May 08 23:23:36 Weird question, what OS do most Android developers prefer? Windows 7, 8 or Linux? May 08 23:24:30 * p_l is hardly representative, but did not have a natively (non-VM) installed windows except for the unused hard drive that came with his current laptop May 08 23:24:37 for years, that is May 08 23:24:54 Same here. May 08 23:25:04 I think I deleted my Windows partition around a year ago May 08 23:25:56 the reason i'm asking is because I'm thinking of outsourcing some app development, and I'd like to provide the developer with a company remote server May 08 23:27:00 FreezingCold: ask the dev, though honestly I think such a case would be easier with Linux. Might depend on specific case, if the server is only going to do things like launch jenkins jobs to run tests in emulator etc., then the OS doesn't really matter... May 08 23:27:35 now that I think about it a bit more, I'm not even sure I want to pay the extra for a Windows server license May 08 23:28:33 FreezingCold: don't forget CALs May 08 23:29:18 Doesn't really apply in Canada May 08 23:29:33 fair use comes into play, so unless it's cheaper there's no reason to use it May 08 23:30:11 FreezingCold: Fair Use doesn't come into play with CALs May 08 23:30:37 If you buy a Windows device license, you've bought a Windows device license May 08 23:30:39 as long as you aren May 08 23:30:40 usually, Fair Use exception is only for media May 08 23:30:56 as long as you aren't sharing it with more than one person at a time, our copyright act covers it May 08 23:31:31 FreezingCold: CALs control the amount of sharing exactly. So one person at a time, yeah, fits under the default license May 08 23:33:47 Im one of these "Im so cool i have rooted my phone" Guys! May 08 23:34:13 so what, teenagers do it for lunch money. news at 11 ;) May 08 23:35:20 news at 11? May 08 23:35:24 stock is the new rooted May 08 23:35:31 Leeds: haha May 08 23:36:25 why is stock the new rooted> May 08 23:36:26 ? May 08 23:36:40 gregor2: http://www.catb.org/jargon/html/F/film-at-11.html <--- have an origin of "news at 11" May 08 23:43:25 what are those things in the extras folder of sdk manager? May 08 23:44:01 google play servicec for example! May 08 23:44:54 gregor2: welcome to 2014... we have a thing called "bing", which lets you search for really obvious phrases and find out what they mean May 08 23:44:58 and from android sdk build tools i only need the newest version right? May 08 23:45:16 but irc is more fun :( May 08 23:45:21 how sad! May 08 23:46:42 greymalkin; thanks very much May 09 00:19:09 is there a way to load default values for preferences via preferences.xml that are NOT shown in the PreferenceFragment / PreferenceScreen ? May 09 00:26:25 lugh, wtf is wrong with MediaPlayer.prepareAsync, half the time, onPrepared never fires May 09 00:30:33 another mediaPlayer victim :( May 09 00:31:30 hm, do any of the gapps have a drawer for actions that slides out from the right ? May 09 00:40:41 anyone know what the gradle 'sync' actually does? it's giving me "compilation completed with 1 error" and the only error i see is "java.lang.unsupportedoperationexception", with no further output. Can't repeat via CLI with "gradlew build" May 09 00:41:26 hm May 09 00:44:19 bankai_au gradle 1.11 and IJ ? May 09 00:44:54 yes and yes May 09 00:45:34 hm, thought maybe you were using 1.12 by mistake :) May 09 00:58:08 the AS XML formatter keeps putting my xmlns under the ID attribute, which looks stupid May 09 00:58:22 xmlns should be very first May 09 00:58:34 but the rule looks correct :| May 09 01:07:04 oh now really wtf is going on here.... - http://code.google.com/p/android/issues/detail?id=67679 May 09 01:09:52 ah, this is a cool internal error : Already disposed: Project (Disposed) android: Already disposed: Project (Disposed) android May 09 01:15:09 yeah, I get that a lot in intellij, haven't seen it recently, though May 09 01:15:50 what causes it? May 09 01:19:32 ugh, why doesn't drive show up in the kitkat file picker anymore May 09 01:20:43 hey guys, I added an existing project as a library module, so far so good but at runtime the module doesn't resolve android.R May 09 01:20:56 in Android Studio May 09 01:23:36 oh, and now that the drive app updated, it works again May 09 01:29:23 Hi, Anyone here familiar with the Friend SMS send implementation from Snapchat? May 09 01:29:47 No. May 09 01:44:35 Android Studio -- clean, build and if that fails: update and repeat :/ May 09 01:44:47 and oh yeah, resync gradle **** ENDING LOGGING AT Fri May 09 03:00:01 2014