**** BEGIN LOGGING AT Tue Jul 30 02:59:58 2013 Jul 30 03:00:12 it adds import android.R because it can't find com.evercrest.powerpatcher.R Jul 30 03:01:11 well thats something, how can I solve that then? Jul 30 03:02:27 damned if I know, I know absolutely zero of your project structure or what your code looks like Jul 30 03:03:38 its a standard project with 2 activities, I havent edited anything in the structure Jul 30 03:03:58 and what doesnt make sense is, copying the copy and resoucres to a new project brings the same error Jul 30 03:04:04 so it must be something with the code Jul 30 03:04:10 of course it's something with the code Jul 30 03:04:13 you're copying in garbage Jul 30 03:04:36 my code was working until I added a folder inside the project directory Jul 30 03:04:51 my layouts are fine, and strings are fine Jul 30 03:04:59 want to take a look at the project? Jul 30 03:06:07 "added a folder inside the project directory" Jul 30 03:06:08 be precise Jul 30 03:06:10 be always precise Jul 30 03:06:16 what *exactly* did you put where Jul 30 03:06:20 i'll be precise Jul 30 03:06:36 I downloaded aFileDialog library Jul 30 03:07:27 inside my projects main/java folder is com/evercrest/powerpatcher/ then my java files Jul 30 03:07:47 I copied the same structure from that library into my main/java folder Jul 30 03:07:57 followed by the layout XML files and any drawables Jul 30 03:08:02 what structure Jul 30 03:08:17 anyway, whatever from aFileDialog needs to be imported Jul 30 03:08:46 or rather, it needs to import the evercrest.R crap Jul 30 03:09:09 well I got those errors yea, so I went and removed everything that I added Jul 30 03:09:20 expecting it to go back to working like it did before Jul 30 03:09:23 and it didnt Jul 30 03:11:12 hello, does anyone know if the upgrade of Android Studio from 0.1.9 to 0.2.2 has to be through a complete reinstall of the software? Jul 30 03:11:23 it doesn't give me an option to just upgrade internally Jul 30 03:11:24 pfn: heres the zipped project if you feel like taking a look http://cl.ly/422e3g1e1I3m Jul 30 03:11:37 I don't Jul 30 03:13:55 well then I guess I'll go and remake it all Jul 30 03:14:03 thansk for the support anyway pfn Jul 30 03:15:03 sorry, but I'm not paid to handhold (or paid for this at all) Jul 30 03:15:09 so my interest is limited Jul 30 03:15:28 i see, and there I thought you might be interested Jul 30 03:17:24 so, what are some cool nexus 7 cases? Jul 30 03:18:28 Linkandzelda: Ah I see.. So you were 'recycling' some code from another source.. :D Jul 30 03:19:07 Bleeptech: attempting to yea, becuase I failed to import the library and im not so good at making a file chooser dialog of my own yet Jul 30 03:20:27 Linkandzelda: Basic error.. Did you check your package declaration at the top? dck28: http://developer.android.com/sdk/installing/studio.html#Updating Jul 30 03:23:46 Bleeptech: its set to the same thing as in the manifest Jul 30 03:25:04 Thanks RyanM Jul 30 03:25:43 Linkandzelda: So after you imported it you changed the first line from 'package com.whatever;' to 'package com.evercrest.powerpatcher;' ? Jul 30 03:26:22 Bleeptech: no, when I imported that package I imported the package into my files Jul 30 03:26:30 import com.new.package Jul 30 03:26:39 but those files are gone now Jul 30 03:27:44 Linkandzelda: Hmm.. bbiaf.. got to deal with a dog. Jul 30 03:29:26 Hey guys. Got a question for ya Jul 30 03:29:44 the docs I'm looking at suggest loading up images from a http request in an AsyncTask Jul 30 03:30:00 but the old Android dev on this project said it was better to do it in a service Jul 30 03:32:26 pfn: http://stackoverflow.com/questions/16659421/findviewbyid-is-returning-unable-to-find-symbol-but-the-id-is-defined-in-the is this basically what you're telling me to do? (the answer) Jul 30 03:32:59 I can't believe this conversation is still going Jul 30 03:34:16 me neither Jul 30 03:36:22 this is a simple thing, everyone says to do a build and clean and it fixes it, change the imports etc. nothing works Jul 30 03:47:42 Hey, I have a try catch that is calling to an API via a thread. How do I get that data from the API to insert into a database since I am using another class that doesn't have activity context? Jul 30 03:50:48 Hello, someone know advise me something that explain some way to a broadcastreciver call a method from a activity, I need that depending of the message that the broadcast recive this call a different method that will change something in the UI Jul 30 03:51:41 It looks like perhaps using AsyncTask allows me to cancel, where as using a service does not? Jul 30 03:53:24 ProgramMax: Sorry, I didn't understand Jul 30 03:55:07 Currently, we are making http requests for each image in this image list Jul 30 03:55:30 To simplify I am calling from my main activity to a new class (api.java) that implements AsyncHttpClient from loopj, from api.java I am setting a static variable in utility.java which contains the json array, after that json array is set I want to then open the database as writable with the SQLiteOpenHelper. Jul 30 03:55:34 the request happens inside an Intent / Service Jul 30 03:56:10 the old Android dev said this method was better than using AsyncTask, which the docs use http://developer.android.com/training/displaying-bitmaps/process-bitmap.html#async-task Jul 30 03:56:29 so I'm curious if that is correct, and what the differences are Jul 30 03:56:36 it looks like AsyncTask can be cancelled Jul 30 03:59:11 dang, the way the android gradle plugin works with with flavors & variants make writing your own gradle plugins much more of a pita Jul 30 04:02:04 Hi, how to change the edittext's text color on highlithing? Jul 30 04:02:06 http://stackoverflow.com/questions/17938034/edittext-text-color-on-highlighting Jul 30 04:02:37 pfn I just created a new project, copied in my code and there are no errors, compiled and sent to my device no problem, tested it and everything works. closed and re-opened android studio and the errors are back. can you explain that? Jul 30 04:05:03 Linkandzelda, no, check history Jul 30 04:05:12 Linkandzelda, learn to check code in Jul 30 04:09:20 phew, google fixed the fake ratings of my app Jul 30 04:09:33 the bunch of 1* anonymous fake ratings I had Jul 30 04:11:29 yay Jul 30 04:11:37 which app? so I can give some 1* ratings of my own :) Jul 30 04:13:05 rottz wut? Jul 30 04:14:34 i didnt think google would ever get involved Jul 30 04:17:41 Google offered the facebook guy who runs Social Fixer a job, easy way to terminate free work on a competitor ;) he declined by the way Jul 30 04:19:51 llamapixel i wonder if its because of Reader Jul 30 04:20:38 Google is an octopus at a crab in a jar, multi pronged attacks on everyone Jul 30 04:21:59 i was reading that basically, the Reader project could not be started now. it was on the face if it, successful - but not enough, and not in line with Google + vision Jul 30 04:30:14 pfn 3rd project, everything seems to be OK now lol Jul 30 04:38:34 they've made g+ too bothersome to use now Jul 30 04:39:11 if I'm signed into an organisation google account at the same time as my personal account, there doesn't seem to be a way to get to g+ personal Jul 30 04:39:37 used to be able to switch current account using a dropdown Jul 30 04:58:14 g00s I wrote here a few days ago about it Jul 30 04:58:28 my app was getting 1* fake anonymous ratings by the competition Jul 30 04:58:40 I was trying to report it for over a week Jul 30 04:58:53 and now they finally checked the IP/etc and fixed it Jul 30 05:22:32 I'm using `android.R.layout.simple_list_item_2` in a listView, but I want to change the color of the top textView. What's the easiest way to do that? Jul 30 05:40:13 findViewById(android.R.id.text1).setTextColor(...) Jul 30 05:40:18 cast as appropriate Jul 30 05:54:33 p_l kjeldahl https://news.ycombinator.com/item?id=6125229 Jul 30 06:04:38 Ok Jul 30 06:04:40 what the fuck google Jul 30 06:04:43 I have to have a proposal for an appa Jul 30 06:04:46 nd get it whitelisted Jul 30 06:04:49 to develop for the chromecast? Jul 30 06:04:57 I didn't hear the news that Google is the new Nazi party. Jul 30 06:05:40 yay, godwin Jul 30 06:07:43 a very quick godwin Jul 30 06:12:46 * pfn headscratches Jul 30 06:12:58 wtf is my radiogroup not behaving correctly with respect to programmatically added buttons Jul 30 06:13:39 <[A3G1S]> whats wrong pfn ? Jul 30 06:14:32 when a different radio button gets selected, the previously selected button does not deselect Jul 30 06:15:03 sounds like somehow they are going into different groups Jul 30 06:15:18 it should only be a single radio group Jul 30 06:16:08 pfn: Are they all in the same radio group? Jul 30 06:16:13 and are they all direct children of that radio group? Jul 30 06:16:47 yes, and yes Jul 30 06:28:04 * pfn headscratches some more Jul 30 06:28:06 wtf is going on... Jul 30 06:30:11 <[A3G1S]> radioGroup.check(button-id) Jul 30 06:30:20 <[A3G1S]> use this to select and deselect Jul 30 06:30:26 fack you chromecast Jul 30 06:30:29 let me debug you damnit Jul 30 06:30:46 <[A3G1S]> and read some documentation Jul 30 06:37:04 [A3G1S], that is not the issue Jul 30 06:38:30 what's also fucked up is radiogroup.findViewbyId(oneOfTheRadioButtonIds) doesn't return anything Jul 30 06:38:34 * pfn headscratches some more Jul 30 06:38:37 where the hell did it go Jul 30 06:38:45 it shows up correctly in hierarchyviewer Jul 30 06:46:30 hello, does anyone know / have encountered the following exception? I got this from analytics, and have no idea how to reproduce it, nor what it is complaining about… any help would be much appreciated.. thanks! Thread: main Exception: java.lang.RuntimeException: Failed to finish input event. status=-9 at android.view.InputQueue.nativeFinished(Native Method) at android.view.InputQueue.access$100(InputQueue.java:26) at android.view.In Jul 30 06:46:30 putQueue$FinishedCallback.finished(InputQueue.java:169) at android.view.ViewRootImpl.finishInputEvent(ViewRootImpl.java:2881) at android.view.ViewRootImpl.finishMotionEvent(ViewRootImpl.java:3113) at android.view.ViewRootImpl.deliverPointerEvent(ViewRootImpl.java:3107) at android.view.ViewRootImpl.handleMessage(ViewRootImpl.java:2614) at android.view.ViewRootImpl.processInputEvents(ViewRootImpl.java:978) at android.view.ViewRootImpl.ha Jul 30 06:46:31 ndleMessage(ViewRootImpl.java:2623) at android.os.Handler.dispatchMessage(Handler.java:99) at android.os.Looper.loop(Looper.java:137) at android.app.ActivityThread.main(ActivityThread.java:4507) at java.lang.reflect.Method.invokeNative(Native Method) at java.lang.reflect.Method.invoke(Method.java:511) at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:790) at com.android.internal.os.ZygoteInit.main(ZygoteInit Jul 30 06:46:36 .java:557) at dalvik.system.NativeStart.main(Native Method) Jul 30 06:53:36 pastebin is good too Jul 30 07:03:41 Hi guys, Android 2.3.5 on a Droid X2. Trying to find an app that will play a sound when wifi connect and disconnects. Any suggestions? Jul 30 07:04:36 I'm confused about android libraries Jul 30 07:04:57 im reading through the gradle android user guide, and it says if you make a library that accesses android apis, you need to make an aar Jul 30 07:04:58 rather than jar Jul 30 07:05:14 but im seeing a bunch of libraries on github that seem to use android apis that are usable as jars Jul 30 07:05:31 such as https://github.com/jakewharton/timber. What exactly counts as an "Android API"? Jul 30 07:07:12 shigeru: It's about how Gradle wants to package libraries, and it is an improvement as it allows you to bundle resources and resourcefiles with the library AFAIK. Using jars is still fine if you have no need for it, but if you want Gradle to hold your hands you should aim for aar. AFAIK. Jul 30 07:07:50 shigeru: But's it's early days; it will take some time before it becomes the defacto standard (which it isn't yet). Jul 30 07:08:24 so if I'm not using Android resources (like layout XMLs/etc??) I can just stick with jars? Jul 30 07:08:38 like what if I wanted to create a library that was a custom view Jul 30 07:08:45 aar is necessary if you have resources Jul 30 07:08:48 Yes, I believe that's true. Jul 30 07:08:49 if you don't have resources, .jar is fine Jul 30 07:08:56 and a resource is something in the res/ dir? Jul 30 07:08:59 .aar is also necessary if you want to bundle proguard rules Jul 30 07:09:10 Any suggestions on my issue? Hi guys, Android 2.3.5 on a Droid X2. Trying to find an app that will play a sound when wifi connects and disconnects. I've searched all over the play store. I found stuff that will play an alert when it connects but nothing for disconnects... Jul 30 07:10:06 You're in the app dev channel. Unless you're making the app yourself, you're in the wrong channel Jul 30 07:10:30 Of course I am... is there a channel you would suggest then? Jul 30 07:11:19 Just thought "devs" would have an idea if such an app exists or whether or not I should start making one... Jul 30 07:11:31 pfn: Thanks for the findViewById(android.R.id.text1).setTextColor(...) code. I will try it now. Jul 30 07:13:43 pfn: Where exactly would I add that code? Before my simpleAdapter or after? Jul 30 07:14:43 you add it where you need to change the color Jul 30 07:16:10 Okay, off to write it myself. Thanks for the "help" guys! Jul 30 07:16:30 an app to notify when wifi disconnects should be trivial Jul 30 07:18:02 i've seen an application that display some sort of small popup (not toast, not full-screen Dialog) at incoming call. what view/widget is that? Jul 30 07:18:16 Hmm.... sorry I'm still not 100% sure. Can you take a look at my pastebin? Sorry still very new to programming. http://pastebin.com/5tdW5z7m Jul 30 07:18:31 miha: got a pic ? Jul 30 07:20:36 will try, perhaps it is this http://developer.android.com/reference/android/widget/PopupWindow.html ? Jul 30 07:21:04 mr.number does that Jul 30 07:23:28 It will help anyone to solve my problem? Details of http://stackoverflow.com/questions/17920811/java-android-jsoup-connect-get-error-nullpointerexception Jul 30 07:26:47 Loczek: i think you are doing network on main (GUI) thread. that doesn't work since 3.x. Jul 30 07:27:13 since 2.3 Jul 30 07:27:21 pfn: oh Jul 30 07:29:48 miha: Thread t = new Thread(){ ... } start :) Jul 30 07:30:02 oh sorry Jul 30 07:30:03 doh Jul 30 07:30:04 iirc the default behavior is kinda strange.. If your targetsdk is >=10 it crashes on >=11 Jul 30 07:31:08 Very short code, but the error still cant see. Jul 30 07:37:31 Could someone give some working code that uses the Internet? Jul 30 07:38:18 hello world with Internet :P Jul 30 07:39:07 hello, anyone can guide me how to update this fix? https://code.google.com/p/android/issues/detail?id=54072 Jul 30 07:39:37 it's a bug that google fixed, but how do i get it to update the libcore? is this in API 18? or do i have to manually update it? Jul 30 07:40:09 i'm kinda confused how it's supposed to work… they acknowledge the bug, and fixed, but the status says future release… soo.. how do i fix it on our end? Jul 30 08:06:40 dck28: you generally don't, it'll get included in a future release of android Jul 30 08:07:35 sounds like it got included into 4.3 Jul 30 08:08:06 dangg… so i gotta just put up with these crashes until then huh.. that sux... Jul 30 08:08:20 just catch assertion error Jul 30 08:09:10 pretty easy workaround Jul 30 08:10:12 I have a DatePickerDialog with a "Send" button. On portrait it looks OK, but on landscape the button is off the screen. What's the way to handle it? Jul 30 08:10:16 hmm.. just want to understand some basic concept here.. so if it's is updated in 4.3.. that still means that all my users running Android prior to 4.3 will also throw this error correct? Jul 30 08:10:35 dck28: yes Jul 30 08:11:11 got it.. Thanks appell Jul 30 08:11:41 which, in practice, means anyone who isn't using a nexus - for at least a few months Jul 30 08:16:25 And in really real practice, this will be an issue for another 2 years Jul 30 08:16:26 jwalker60: i think usually you put big center thing inside scrollview, that gets all space not occupied by top/bottom buttons etc Jul 30 08:16:50 jwalker60: alternatively, you can put all layout inside scrollview, if you dont mind scrolling down to buttons Jul 30 08:17:22 dck28: doesn't look like it was included in 4.3.. http://androidxref.com/4.3_r2.1/xref/libcore/luni/src/main/java/libcore/io/IoBridge.java Jul 30 08:20:15 miha, If I prefer not to scroll, the only option is changing the layout on the screen on orientation change, right? Jul 30 08:22:17 jwalker60: i guess. but you should consider always having some scroll, as some user devices might have really small screens. btw http://developer.android.com/guide/practices/screens_support.html Jul 30 08:23:11 appel1: hmmm.. so.. there's nothing I can do about it but just swallow that exception? Jul 30 08:23:15 miha, thanks Jul 30 08:23:25 dck28: looks like it Jul 30 08:37:44 I don't believe the nexus 7 so far, I've had the screen on an hour and it only reports 3% of the battery used so far Jul 30 08:37:54 that's so awesome if true Jul 30 08:39:01 pfn: that's the new one ? Jul 30 08:39:35 etegegtr Jul 30 08:40:13 pfn: Sounds like a very optimistic battery plan; probably need to run it down a couple of times before the profile gets anywhere realistic. Jul 30 08:46:18 shmooz, yeah, it's the new one Jul 30 08:46:36 kjeldahl, and yeah, gonna have to run it down a few times and aee Jul 30 08:46:40 see Jul 30 08:47:23 will Galaxy Nexus have an update for API18 ? Jul 30 08:47:32 but my tab 10.1 used to get like 10 hours to a charge, I'd expect this to be in a similar class if not significantly better Jul 30 08:47:35 jwalker60: Already has! Jul 30 08:47:52 jwalker60, game versions already have images Jul 30 08:48:05 jwalker60: I had seen API18 GNex in the wild Jul 30 08:48:12 I'm hoping I can update myvzw galaxy nexus Jul 30 08:48:28 Mine was on takju, got the update OTA yesterday (in Norway). Jul 30 08:48:28 gsm versions Jul 30 08:48:57 just download directly from Google a factory images site Jul 30 08:49:02 (Normally yakju here, but I god fed up waiting on the last OTA update where yakju was delayed 1-2 weeks..) Jul 30 08:49:26 hah... mine is a toro, that shut i Jul 30 08:49:37 CDMA version? it sucks :\ Jul 30 08:49:39 shit is never getting updated Jul 30 08:49:55 * pfn drinks more whisky Jul 30 08:50:14 pfn, try coffee. way more productive Jul 30 08:50:25 it's a night cap Jul 30 08:50:29 kjeldahl: I just sideload with yakju :) no wait required Jul 30 08:50:36 I shoot espresso during the day Jul 30 08:51:11 https://www.youtube.com/watch?v=MUUVMazhWxg&feature=youtube_gdata_player Jul 30 08:51:24 appel1: Yes, I know, I just want to pretend being a "real" customer. Dogfooding stuff. Although I do wish the authors of MX Player had sideloaded and made sure they app worked with 4.3 (it doesn't and most of the players are shit, guess I have to try vlc). Jul 30 08:51:42 *their app Jul 30 08:52:24 kjeldahl: you are less real if you wait for the release randomisation to get to you? :) Jul 30 08:52:34 if you don't want to wait Jul 30 08:53:01 When I went for my normal "10 minutes of a movie" before falling a sleep I got a "no video for you" message. Had to manually put brain into sleep mode, not used to doing it. Jul 30 08:53:28 all the torrent sites release videos as mp4 now, so I don't even care to run vlc anymore Jul 30 08:53:35 appel1: Well, I'm not very patient, so I usually sideload eventually if it doesn't get OTA. Jul 30 08:54:13 why bother waiting for ota Jul 30 08:54:13 pfn: I stopped caring about formats as well, but when MX Player stopped working I re-learned that there are still format issues... Jul 30 08:54:50 If you're not in a hurry, why waste 10 minutes? ;-) Jul 30 08:56:16 But I really should have sideloaded; didn't know until yesterday that may app worked. But I'm not doing anything fancy, so I figured I would be ok. God forbid my 20 non-paying customers would be unable to load my app! ;-) Jul 30 09:04:11 * pfn is still disappointed that cipher.getParameters is broken Jul 30 09:04:25 for no reason at that Jul 30 09:11:02 * kjeldahl runs off to chase a small black rubber ball with two yellow dots, aiming to improve his killermatch statistics. Jul 30 09:20:12 I'm trying to change the colours for the CirclePageIndicator. There is a sample on the github page and that's using "app:fillColor=ā€¦" that doesn't work for me. I guess I need to replace the "app" part. Is that it? If so, with what? If not, how do I do this? Jul 30 09:27:18 any one can help me on this? http://stackoverflow.com/questions/17928309/how-to-store-one-field-of-a-cookie-in-android-via-rest-api Jul 30 09:30:02 omid8bimo: this is probably related http://stackoverflow.com/questions/8733758/how-can-i-get-the-cookies-from-httpclient Jul 30 09:31:08 miha: i think that would be helpful, thanks dude Jul 30 10:14:05 hi peeps, can you recommend me a lib for reading a remote rss feed ? Jul 30 10:26:38 Hey. Can anyone think of an app which as part of it's functionality shows a list of all your Google+ and/or Facebook friends in a list and allows you to invite/add them? .. And implements this nicely Jul 30 10:30:54 is adding this "-assumenosideeffects class android.util.Log { *; }" to the proguard settings enough to eliminate logs? :/ ive tried this several times but hooking up a signed version it still outputs every log Jul 30 10:57:04 so... i have a huge pile of objects and i want to serialize them to JSON. What serializer should I use for the best performance? Jul 30 10:57:47 hey, I'd like to add achievements/leaderboards to my app, can I use google game services even though it's not really a game? Jul 30 11:03:11 yes, they said exactly this somewhere in IO videos Jul 30 11:03:50 thanks! Jul 30 11:10:19 hrnt: Jackson Jul 30 11:13:11 anyone using facebook for user authentication noticed a sudden rise of errors to api calls ratio in facebook insights, like at the end of April? Jul 30 11:23:55 karlo, I use facebook API since 2009, never had an error which isn't timeout Jul 30 11:26:13 I mean unexpected errors, sometimes I do get the "the user has changed the password", and stuff like that, when using outdated data or someone removed my app or changed permissions. this is what you mean? Jul 30 11:34:06 how can i type an utf-8 character escaped in xml? Jul 30 11:34:19 jwalker60: where do you see those kinds of things? I'm looking at the "insights -> developer -> activity and errors" section of developer panel Jul 30 11:35:29 and it's not very useful actually... but it has some auth.androidauthorizeapp error and others which is quite common (10% of api calls) and I wonder why is that Jul 30 11:35:49 especially as it changed at the end of April for us... Jul 30 11:51:10 Amorgos: My app, Killer Match, does exactly that, but it's using two different lists; one from the local Contacts app and the other from the Facebook SDK (which is quite shitty, but works). Jul 30 11:51:32 Amorgos: I'm not aware of any list that merges the two, but if you find one I'm all ears! Jul 30 11:55:22 Hey Jul 30 11:57:00 I'm trying to create a context menu for items in my ListFragment, but not all of them. How can I instantiate a context menu? Do I need to inflate it? Jul 30 11:59:26 My app pulls in tweets and lets you play the youtube videos in them. If a tweet has more than one youtube video I want it to show a context menu and let the user choose which video to launch Jul 30 12:00:44 Just display a dialog on click or long click Jul 30 12:01:34 SimonVT: that's the idea, but I want the dialog to be attached to the view selected Jul 30 12:02:32 Then display a PopupWindow Jul 30 12:03:57 I AM THE SPAM Jul 30 12:04:27 SimonVT: I'll look into that, thanks Jul 30 12:05:33 are ViewFlippers smartly efficient in the sense that only the visible view is consuming significant resources? Jul 30 12:08:01 define significant Jul 30 12:09:33 significant meaning i should bother to refactor my code because i have too many children in this ViewFlipper Jul 30 12:10:07 in the same way i might decide to refactor an overly complicated view hierarchy Jul 30 12:10:37 I _believe_ it Jul 30 12:10:43 hides views that aren't on screen Jul 30 12:10:52 As in, sets visibility to gone or something Jul 30 12:11:19 Can be quickly confirmed with hierarchyviewer Jul 30 12:11:47 ok, i can do that Jul 30 12:12:27 ty Jul 30 12:28:45 Has anyone else problems with incorrect prices in google play? I've released an app in Canada and the price is lower than the one I set in the developer console. Jul 30 12:29:46 EPG, maybe it's shown in canadian dollars? Jul 30 12:30:04 yes, sure, but I also set it in CAD Jul 30 12:30:05 is it lower? hmm, that would make it higher Jul 30 12:31:01 You sure it's showing you CAD and not USD or something? Jul 30 12:32:20 I've tried two canadian web proxies Jul 30 12:35:13 yeah, if you priced it in CAD and it's shown in USD or AUD then it would show lower Jul 30 12:35:17 how much lower is it? Jul 30 12:35:41 3,31 instead of 3,59 Jul 30 12:38:12 ok, changing language to french at least reveals that the price shown is in US-$ Jul 30 12:40:01 okay, 3,31 usd is pretty close to 3.59 CAD, no? Jul 30 12:40:22 current google rates gives 3.40 Jul 30 12:40:31 maybe it was different when you listed it? Jul 30 12:40:40 also, google allows you to change the price at any time Jul 30 12:40:46 so maybe try changing it, if there's a problem Jul 30 12:41:56 Xabster, this was the first time I listed it for Canada Jul 30 12:42:36 however, it would match (using google rates) if the original price of 2,49€ is first exchanged to CAD, rounded, then exchanged to USD and rounded again Jul 30 12:43:16 hello i read supporting multiple screens in android dev site and in some place i read For 7ā€¯ tablets (600dp wide and bigger) and For 10ā€¯ tablets (720dp wide and bigger) Jul 30 12:43:24 I'll check it in a few hours again Jul 30 12:43:27 how this convert is being made? Jul 30 12:44:02 i thought they did pricing by billing address not location? Jul 30 12:45:53 resu01: dp is a physical size .. 160dp = 1 inch Jul 30 12:46:03 damnit, I just jabbed myself in the gum with a toothbrush and drew blood Jul 30 12:48:18 me http://i.imgur.com/udbI6D1.jpg Jul 30 12:50:31 Azis: is the dart holdin on a bit of hair??? Jul 30 12:50:38 sorry i had a problem with my connection Jul 30 12:50:39 s/holdin/holding Jul 30 12:51:02 durr it's a n eyeborw Jul 30 12:51:05 eyebrow Jul 30 12:51:15 wtf fingers? whose side are you on? Jul 30 12:51:57 in this case that 160dp = 1 inch who 600dp is for 7"? Jul 30 12:52:58 It would be any device wider than 600/160 inches Jul 30 12:55:59 so devices with 4" > 600/160 = 3.75" are included but when i create a layout-sw600dp only devices larger than 7" are using this layout Jul 30 12:56:32 4" inch devices obviously aren't 3.75" wide Jul 30 12:56:48 width not diagnols Jul 30 12:57:46 so how can i get width from inches? Jul 30 12:58:23 i saw many android apps which only include a webpage Jul 30 12:58:27 how to do that? Jul 30 12:59:32 If the only information you have is the diagonal size, you can't get the width Jul 30 13:01:15 thanks but the problem is how can i create a layout for 5" minimun width Jul 30 13:01:15 ? Jul 30 13:02:51 isnt that 800 dp? Jul 30 13:04:24 mikedg: yup Jul 30 13:04:59 so create a folder values-sw800dp Jul 30 13:05:32 put a refs.xml in there which tells the system to use your 5" layout Jul 30 13:05:42 mkedg: thanks. how you made the convesion? Jul 30 13:06:08 just like the default master detail flow project handles sw600dp Jul 30 13:07:59 gradle is angry at me and has decided it will not build R until I buy it a box of chocolates Jul 30 13:09:47 inches * 160 Jul 30 13:09:53 because it's 160dp per inch Jul 30 13:10:10 dp = double penetration in some circles Jul 30 13:10:12 not this one Jul 30 13:10:22 cause that woul make 160dp = 320p Jul 30 13:10:49 mikedg: electronics rarely work well after they have been penetrated Jul 30 13:10:49 320p is ios retina in your eye Jul 30 13:12:48 yay I got gradle to behave again Jul 30 13:13:54 And my popupmenu works! thanks SimonVT Jul 30 13:16:17 mikedg: layout-sw600dp works for me for 7" and larger. how layout-sw800dp will work for 5"? Jul 30 13:16:55 are you talking about stuff like the Nexus 7 has a 7" screen Jul 30 13:18:12 or do you actually mean screen width Jul 30 13:19:09 i am talking about 5.1 WVGA (480 x 800: mdpi) Jul 30 13:21:19 i try to design for different screen sizes and i want to create layouts for 1) _<4.9" 2) 5"< _ > 6.9" 3) _ > 7" Jul 30 13:21:33 resu01: then the SmallestWidth would be 480 Jul 30 13:22:04 Ankhwatcher: thanks i will try this Jul 30 13:24:49 Ankhwatcher: thanks it works Jul 30 13:25:04 oh good, I wasn't really sure for a second there Jul 30 13:25:09 mikedg: Also thanks for your help Jul 30 13:26:49 yeah, if its a mdpi screen, just take the resolution Jul 30 13:27:50 Hi, so I want to use a list view to show two sections, I know that I can create my own list adapter and override the onView and onBind to show headers. But I will be using two different sources. Jul 30 13:28:33 my current plan is to add another column in both cursors to show which section they belong to Jul 30 13:28:42 and then merge them together? Jul 30 13:29:31 and only show a section headers when they are different from the previous ones Jul 30 13:30:52 I'm just wondering, if that works, will data update notifications work like they do? Jul 30 13:31:24 i'll be using content providers to fill my cursors which will then be merged Jul 30 13:32:13 if I insert a new item for a section, will it update the listview items accordingly? Jul 30 13:33:19 I'd like to implement pull down to refresh, anyone have a favourite way to do that? Jul 30 13:36:23 i have this error> Description Resource Path Location Type error: Error: No resource type specified (at 'hint' with value '@string'). activity_main.xml /99WaysToMakeMoney/res/layout line 7 Android AAPT Problem Jul 30 13:37:15 and this is the code> http://pastebin.com/MjAJWYZi Jul 30 13:37:22 artur99: I'd say you have a messed up xml file Jul 30 13:37:51 what that means? Jul 30 13:38:02 artur99: and you do: android:hint="@string" Jul 30 13:38:11 that isn't a resource Jul 30 13:38:21 artur99, are you using an undefined string resource? Jul 30 13:38:25 it should be like this: android:text="@string/button_send" Jul 30 13:38:27 @string/ Jul 30 13:38:59 i have the same error on android:text="@string/button_send" Jul 30 13:39:09 artur99, you'll need to define button_send Jul 30 13:39:21 and where to do that? Jul 30 13:39:25 in the same file? Jul 30 13:39:44 in your res/values/string.xml file Jul 30 13:40:17 thankyou Jul 30 13:40:24 Some String Value Jul 30 13:40:44 I finally helped someone out with an android issue! Jul 30 13:41:26 :) Jul 30 13:46:25 when i access AVDManager, and i click new, anything i write i have the same error> No target selected Jul 30 13:47:40 but i have a target selected, only on CPU/ABI appears> no system images installed for this target Jul 30 13:47:53 how to make this work? Jul 30 13:49:13 download images for that target Jul 30 13:49:57 on SDK Manager, navigate to the target you want, then download the system images Jul 30 13:50:00 inside it Jul 30 13:50:08 or simply download the whole target Jul 30 13:50:36 Have anybody measured typical latency figures for a message sent through GCM to arrive on a typical sleeping device? Jul 30 13:51:31 ok, thanks Jul 30 13:52:22 im on android SDK manager Jul 30 13:52:30 but i cant see targets Jul 30 13:52:48 Can someone clear this up for me? Jul 30 13:52:52 From googling, looks like "worst case" typically 15 minutes, but even worse for poor networks or when GCM is unable to keep the connection alive. Jul 30 13:52:54 Last paragraph here - https://support.google.com/googleplay/android-developer/answer/186113?hl=en#ts=3055196,3203213 Jul 30 13:53:00 It says "Please note that starting with JellyBean release of Android OS, all apps, paid as well as free, are encrypted by default" But every other source I can find says only paid apps are encrypted. Anybody know which is true? Jul 30 13:54:56 asdjaskdj: What are you worried about? Rooted devices will be able to get to your package files anyway... Jul 30 13:57:52 kjeldahl: curiosity mostly Jul 30 13:59:07 RIP ABS Jul 30 13:59:54 kjeldahl, on sleeping device it can be anything from 1 minute to 6 hours Jul 30 14:00:03 since it depends on the device connecting to network. Jul 30 14:00:18 (6 hours being arbitrary number, GCM is NOT GUARANTEED to be delivered!) Jul 30 14:00:44 Hours is buggy right, something not working as designed? It's been designed to (re)connect every 15 minutes, right? But yes, no guarantees. Jul 30 14:01:12 uh, no Jul 30 14:01:21 hours is perfectly normal for a device that's sleeping somewhere Jul 30 14:01:46 especially in poor coverage areas Jul 30 14:02:02 If i have MainActivity.java: http://pastebin.com/yiZHMDyJ and activity_main.xml: http://pastebin.com/yiZHMDyJ Jul 30 14:02:09 Doesn't sound normal if anybody is even hoping of making SMSs obsolete... But you may be right of course. Jul 30 14:02:12 why only the .java files works Jul 30 14:02:38 and how to make only .xml file work? Jul 30 14:03:08 Google is seriously dicking around with this "Propose an app before you develop for chromecast" Jul 30 14:03:10 bullshit Jul 30 14:03:31 ? Jul 30 14:04:06 basically Jul 30 14:04:18 you have to request your chromecasted to be whitelisted to develop an app Jul 30 14:04:20 before you can develop Jul 30 14:04:31 and to do that you need to have an app URL where you want the app to be located Jul 30 14:04:37 as well as a description of what you want to make Jul 30 14:04:39 and other shit Jul 30 14:04:44 idk why they made it so closed Jul 30 14:07:34 google chrome apps? Jul 30 14:08:25 no Jul 30 14:08:27 chromecast Jul 30 14:08:29 the new device Jul 30 14:08:56 what type of device? Jul 30 14:10:06 Brian|CB, well, is XBMC available for it yet? Jul 30 14:10:51 If i have MainActivity.java: http://pastebin.com/yiZHMDyJ and activity_main.xml: http://pastebin.com/yiZHMDyJ Jul 30 14:10:56 why only the .java files works Jul 30 14:11:01 and how to make only .xml file work? Jul 30 14:11:12 Mavrik: No idea Jul 30 14:12:06 Mavrik: Tracked down the interval thingy, there's a couple of threads, including this one: https://productforums.google.com/forum/#!topic/mobile/X0j2BgCVQjI%5B126-150-false%5D Jul 30 14:12:38 Mavrik: Basically, it's 15 minutes on wifi and 28minutes and 3g (and others I guess). That's the timeout before it tries to reconnect. Jul 30 14:12:56 Mavrik: It's the gtalk protocol that handles push messages, even for GCM. Jul 30 14:13:24 XMPP actually. Jul 30 14:13:26 but yes Jul 30 14:13:32 15 mins looks reasonable Jul 30 14:13:40 Mavrik: With an "active" connection, it's almost instantenous of course (device connects, waits for an answer, and if connection actually works, it will get a reply immediately). If it does not work, 15/28 minutes until reconnect. Jul 30 14:13:42 basically your problem are bad routers Jul 30 14:13:50 That's the "design", in practice it's a lot worse. Jul 30 14:14:23 yes. what happens is your wifi router drops the connection after couple of minutes Jul 30 14:14:28 and your GCM messages get delayed Jul 30 14:14:46 "fixing" that by killing battery for everyone isn't really a good option though Jul 30 14:16:12 Then again, 15-30 minutes isn't "instant". Tough compromise until networks open up their lower level protocols that would allow instantenous push without an attached per message fee. Jul 30 14:16:40 (since the mobile network part is always powered and ready to receive anyway) Jul 30 14:17:52 Does anyone know which accel/gyro chip the nexus 10 uses? Jul 30 14:20:37 I'm a web dev and I'm interesting in learning android. Having to learn Java will take ages, since I'm always trying to catch up with other technologies for web dev. I found about scala and looks very nice Jul 30 14:20:54 and better to learn, then java. I wonder, if someone's using it to dev android apps Jul 30 14:21:02 and if so, is it ok to find support ? Jul 30 14:21:04 tks Jul 30 14:21:45 go learn iOS Jul 30 14:22:15 deleet: tks for looking, but ios ? why would you suggest that, based in my question ? Jul 30 14:22:29 I don't really have money for apple toys Jul 30 14:22:36 and I don't really like the syntax of objective c Jul 30 14:22:38 Works fine. pfn in here use it afaik. But it may not be a good idea to start with both a foreign language and platform. Java is like the platform language, learn java on android first. Then you can be picky and move on to something "better". Jul 30 14:22:52 iOS is significantly easier than Android Jul 30 14:22:53 Almost all tutorials will be java. Jul 30 14:23:09 it's like riding a bike (iOS) vs driving an F1 car (Android) Jul 30 14:23:15 even starting the engine can go wrong Jul 30 14:23:17 deleet: easier ?! the syntax is horrible Jul 30 14:23:25 you'll get used to it Jul 30 14:23:44 ok thanks for the suggestion deleet, but I like android. Jul 30 14:23:59 I would also recommend just sucking it up and learning Java if you want to program Android Jul 30 14:24:41 yup. just learn Java. Android is just API's, not a lot of new groundbreaking concepts too far from Java Jul 30 14:24:46 Hello. Is it possible to use the android emulator to debug an init.rc? Jul 30 14:24:47 As far as learning new languages, learning java or scala will not be much different. Problem is, if you only know scala, you will struggle with android. Jul 30 14:24:59 java is very deep but you should be able to get started pretty quick if you understand some basic concepts like Objects. basics of java are pretty quick to learn. Jul 30 14:25:10 All the Android concepts have been "made for" Java, so it makes sense to learn that first. Jul 30 14:25:25 jamuraa: yeh, I usually only got time at night after work and I'm very tired from work and I'm usually having to learn all this different stuff, from linux admin, js mv* frameworks, etc Jul 30 14:25:31 I'm having to do iOS stuff after only ever doing android stuff and i don't like it Jul 30 14:25:40 If i have MainActivity.java: http://pastebin.com/yiZHMDyJ and activity_main.xml: http://pastebin.com/yiZHMDyJ Jul 30 14:25:41 why only the .java files works Jul 30 14:25:41 and how to make only .xml file work? Jul 30 14:26:01 Then when you have a basic understanding, you will be able to translate java concept to scala in your head without trouble. But until you learn java, you are going to be struggling doing that. Jul 30 14:26:19 * kjeldahl runs off; dinner time. Jul 30 14:26:35 jamuraa: yeh I understand oop, whenever I try to learn java I have to go through everything and it gets very boring Jul 30 14:27:01 shwaiil: if you know js mv* frameworks then java will not be hard to learn. doing it in scala instead of java just makes things harder instead of easier Jul 30 14:28:16 artur99: those two links are the same. Jul 30 14:28:57 http://pastebin.com/MjAJWYZi and http://pastebin.com/yiZHMDyJ Jul 30 14:28:58 Hello there Jul 30 14:28:59 *** Jul 30 14:31:04 artur99: What do you need? Jul 30 14:31:25 jamuraa: thanks for the tip Jul 30 14:31:27 If i have MainActivity.java: http://pastebin.com/yiZHMDyJ and activity_main.xml: http://pastebin.com/MjAJWYZi Jul 30 14:31:33 why only the .java files works Jul 30 14:31:37 and how to make only .xml file work? Jul 30 14:31:55 Anyone know if it's possible to use chatter-bot-api with Android ? (http://code.google.com/p/chatter-bot-api/) Jul 30 14:34:00 artur99: Because you never inflated the xml? YOu just made a text view... Jul 30 14:34:00 artur99: the layout file is completely different from the java file - there's no LinearLayout in the .java, no Button. obvious problems with the xml file: the EditText hint should probably have @string/something instead of just @string, and the Button should probably have an android:id Jul 30 14:34:43 but how to make the .xml work/? Jul 30 14:35:55 artur99: you're going to have to be more specific. like Brian|CB you need to inflate the layout in your java somewhere Jul 30 14:36:08 artur99: I suggest reading through some basic Android documentation before moving forward Jul 30 14:36:18 it's pretty clear that you haven't read much, or if you did you did not comprehend it Jul 30 14:36:35 i started here: http://developer.android.com/training/basics/firstapp/creating-project.html Jul 30 14:37:00 but i dont know what should i write in the java file to make the xml file work Jul 30 14:37:21 artur99: setContentView(R.layout.) Jul 30 14:37:32 then you can call findViewById(R.id.text); on your activity Jul 30 14:38:34 artur99: if you follow that tutorial correctly, you shouldn't have had to change the .java that was generated from the start to make the xml work Jul 30 14:39:45 where can i find the unedited file? Jul 30 14:40:55 artur99: it may be easier to start from the start again to get the unedited file Jul 30 14:41:40 For someone who wants to learn android, coming from Web Dev and needing to learn java first, how does the idea of learn to develop with Play Framework would be a nice way to jumping into java ? Jul 30 14:43:20 shwaiil, sounds pretty reasonable Jul 30 14:44:03 yeh Jul 30 14:45:50 how to download a target? Jul 30 14:46:39 i have a question about the new gradle build system - if i make a signingConfigs {} inside of android {} in my build.gradle, would the correct place to put it be inside buildTypes { release {} } if i only wanted to use my keystore for the release versions? (that way debug would still use the auto-generated one) Jul 30 14:47:01 i do not know how to check how the apks in build\apk are signed, so i don't know if i am doing it right Jul 30 14:48:26 jarsigner -verify Jul 30 14:48:30 -verbose -certs Jul 30 14:49:07 you could unzip it and look for META-INF/CERT.RAA Jul 30 14:49:10 you could unzip it and look for META-INF/CERT.RSA Jul 30 14:49:11 also Jul 30 14:50:23 hey guys I'm wondering how do you guys architect your apps before starting coding ? Anyone using er, uml diagrams, etc ?! tks Jul 30 14:51:11 no one does that shit Jul 30 14:51:14 waste of time Jul 30 14:51:39 i just make about 500 crappy versions and interatively improve things Jul 30 14:51:49 ^^^ Jul 30 14:53:54 shwaiil, I have an habit of drawing wireframes Jul 30 14:54:24 sulaiman: would you mind sharing ? I want to learn so, checking how other people work would be nice Jul 30 14:54:28 I want to close an ActionView from an Adapter (when an item is selected), How can I do this? I have a context reference to the activity. Jul 30 14:54:41 using pen and paper Jul 30 14:55:28 a couple of years ago, before starting coding I used to draw class diagrams, er diagrams, use case diagrams, etc, but other devs I work with didn't really cared and I stopped having time to do that sort of stuff but I wonder how other people do Jul 30 14:55:48 I've set up a broadcast receiver for my widget, i'm looking to receive, android.intent.action.SCREEN_OFF, but i'm not seeing it, do i need any permissions to see these broadcasts? not sure what i'm missing? Jul 30 14:56:35 Eppo, screen_on and screen_off are only sent to registered receivers, not manifest receivers Jul 30 14:56:46 I wish that fact were better documented Jul 30 14:59:39 shwaiil depends on your culture. its mostly for communicating. if you need to communicate a design with somebody, an interaction digram / sequence chart might be great. i tended to use UML as a sketch, not in a tool. Jul 30 15:00:06 by myself, i don't really use it Jul 30 15:00:29 g00s: so you start coding directly ? Jul 30 15:01:05 pfn: thanks a lot for your help. Jul 30 15:01:12 well, with a design in mind maybe (if its a familiar problem). or i will start on a architectural prototype to flesh out the biggest unknowns Jul 30 15:01:43 so its good to know some 'curiously re-occurring" design patterns in android. they are scattered about Jul 30 15:02:19 Those who can't do will form committees, make designs, make wireframes, sketch out stick figures on whiteboards, etc Jul 30 15:02:48 for example, you'll probably eventually wind up writing some sort of service to do non-ui thread stuff, and having o comm the result back to your activity Jul 30 15:03:12 no need to struggle, their are established patterns for that Jul 30 15:09:34 shwaiil i usually sketch the UI and information architecture before i code anything Jul 30 15:10:39 * pfn twiddles thumbs for git svn clone Jul 30 15:11:52 I wonder if there's an option that doesn't retrieve history Jul 30 15:13:06 hmm -r range Jul 30 15:13:42 hmmm Jul 30 15:13:49 Hmm, is there any way to make the native drawer layout push in the action bar Jul 30 15:13:52 I think I see a way to use MiFare Classic with N4 :D Jul 30 15:16:13 Do you guys know a good way to either simulate a terrible network connection on the existing Android emulator, or a third party emulator that does this well? Jul 30 15:16:46 i thought the simulator had this Jul 30 15:17:07 i have an activity called A that will start another activity called B. In B, how would I get an object of the type A? Jul 30 15:17:16 if I call an activity of my own and put in extra data, how can I get that data from the activity I called? Jul 30 15:17:38 yiati: the emulator does have that Jul 30 15:17:43 http://stackoverflow.com/questions/7026251/android-simulate-low-network-connectivity Jul 30 15:18:15 Xabster: Awesome, that looks like it'll work, thanks Jul 30 15:19:00 Linkandzelda: startActivityForResult? Jul 30 15:19:03 http://developer.android.com/reference/android/app/Activity.html#startActivityForResult(android.content.Intent, int) Jul 30 15:21:05 sorry I worded it wrong, to be precise yiati, I called with ForResult Activity2 and from within Activity2 I need to get the request code, which I passed to it via put extra Jul 30 15:22:35 build faster damnit Jul 30 15:22:41 has anyone here used posix signal handling from java -> native process Jul 30 15:24:02 it works as should be expected Jul 30 15:24:05 what are you getting at Jul 30 15:24:45 Linkandzelda: Do you want to know how to get the retrieve the data stored in the extra? Jul 30 15:24:53 yep Jul 30 15:25:01 http://stackoverflow.com/questions/4233873/how-to-get-extra-data-from-intent-in-android Jul 30 15:30:08 thanks yiati :) Jul 30 15:31:08 pfn: I'm worried about doing it via Runtime.exec(...), is this cross-platform compatible? Jul 30 15:31:19 if (Math.min(hdp, wdp) < 600) { ViewPager pager = (ViewPager) findViewById(R.id.pager); pager.setAdapter(new PagerAdapter()); } Jul 30 15:31:24 wtf, why did that get executed on my tablet Jul 30 15:31:27 suppose i have this: startActivity(new Intent(getApplicationContext(), SomeClass.class)); is there a way to get the object that called the startActivity inside SomeClass? Jul 30 15:31:35 deleet, doing what Jul 30 15:31:44 sending a signal to a specific process Jul 30 15:32:08 Could you build any slower Gradle? Jul 30 15:32:51 gradle is a worse maven.... Jul 30 15:33:31 interesting, it does that when I'm in landscape Jul 30 15:34:16 Classic orientation bugs Jul 30 15:34:52 what, in landscape wdp should be > 600 lol Jul 30 15:34:58 that's some tiny tablet Jul 30 15:35:03 hey guys. I'm trying to generate a signed .apk but when I try to build I'm getting errors about files not being there that are obviously there. Like an icon, my nfc_tech_list, even the MainActivity. Any ideas? Jul 30 15:35:33 Android Studio BTW Jul 30 15:35:39 You're a tiny tablet Jul 30 15:36:31 deleet, min Jul 30 15:37:19 * pfn goes to dentist & Jul 30 15:37:24 I'll debug this afterward... Jul 30 15:38:14 ah min. yeah that'll give you the height Jul 30 15:38:16 pfn, just null-check viewpager .. much easier Jul 30 15:39:44 stupid AsyncTasks... Jul 30 15:40:33 SimonVT, I'd rather it behave correctly rather than null check Jul 30 15:42:04 Could also just read the configuration variable for smallest width Jul 30 15:42:58 Tho it's api13+, but I assume that's what you support since you're looking at dp sizes rather than large/xlarge Jul 30 15:44:17 I got a customer email that I dont understand, android related : http://pastie.org/8190428 Jul 30 15:44:21 what do they mean by SD removable? Jul 30 15:44:53 Probably moveable Jul 30 15:45:03 and that's something I have control over? Jul 30 15:45:24 can you pass an Activity object to another Activity object? Jul 30 15:45:37 kc8hfi: no Jul 30 15:45:53 I've never heard of that moveble stuff before today Jul 30 15:46:20 You can move apps to external storage Jul 30 15:46:27 yep, but as a developer, is that my problem? Jul 30 15:46:36 you have to allow for it for your app Jul 30 15:46:42 it has some drawbacks Jul 30 15:46:44 ahh, ok Jul 30 15:46:52 I dont think it would have much drawbacks for my kid games Jul 30 15:46:56 it's a permission? Jul 30 15:46:56 http://developer.android.com/guide/topics/data/install-location.html Jul 30 15:47:11 you pedobear you Jul 30 15:47:12 ok thanks ill read that Jul 30 15:47:24 does this apply to both gplay and kindles? Jul 30 15:47:53 nm, kindles dont have external storage :) Jul 30 15:48:15 QcMat: it's a platform thing, not a store thing Jul 30 15:48:19 ok cool Jul 30 15:48:30 SimonVT, supporting api8,but I don't care if gb and early hc tablets look like garbage Jul 30 15:48:30 so I should add that code to my kindle apps, just in case, for future, if amazon ads SD card slots Jul 30 15:48:36 thanks for answers guys Jul 30 15:50:38 anyone using facebook for user authentication noticed a sudden rise of errors to api calls ratio, in facebook insights, like at the end of April? Jul 30 15:51:42 just answred the customer, within 10 minutes Jul 30 15:51:45 that's some service :) Jul 30 16:00:09 hi there, anyone could help me with this drawable auto-resizing thing ? Jul 30 16:01:42 ... Either I am delusional, or I am seeing that Nexus4's NFC chip can, in fact, read and write Mifare Classic Jul 30 16:06:27 Are these people who are saying there is no simple flag to tell my text to auto resize up to a certain point when there is not enough space with the specified font size? Jul 30 16:07:58 p_l, if only clipper cards could as well Jul 30 16:08:43 pfn: it's a mifare desfire Jul 30 16:09:13 if the tricks to run Classic work, then Clipper will work as well Jul 30 16:09:28 what are these tricks? Jul 30 16:09:36 link/info? Jul 30 16:10:05 pfn: I am reading nfc driver source Jul 30 16:10:21 basically, the things that make those cards "unique" are all handled in software Jul 30 16:10:24 interesting Jul 30 16:10:50 but that means a driver to enable them is required then... Jul 30 16:11:06 there is a possible issue where card emulation might have a bitmask applied to UID, but I don't see much more that could be done Jul 30 16:12:19 apparently the chip in N4 is actually way more powerful than the old one Jul 30 16:12:39 or at least the driver side is Jul 30 16:12:49 I suspect licensing shenanigans being reason for incompatibility Jul 30 16:13:22 Next question nobody will answer: Is there a way to have a persistent notification which only displays it's small icon in the bar? No actual list item? Jul 30 16:13:43 marrrk: don't think so Jul 30 16:13:55 not with official apis Jul 30 16:14:25 anyway, I'm off Jul 30 16:14:27 cya Jul 30 16:16:41 i have this class, http://www.fpaste.org/29040/37520096/ which starts up one of these, http://www.fpaste.org/29041/52009841/ Jul 30 16:18:07 is there a way to get that DbaseHelper object inside that AnotherActivity. What would be nice is if I could get that entire starthere object inside AnotherActivity Jul 30 16:18:11 kc8hfi cant dbhelper be somewhere else accessible by any activity? Jul 30 16:18:41 I dont use multiple activities on my app to avoid unnecessary complexity :) Jul 30 16:18:45 some may curse me, but it works for me Jul 30 16:18:58 i wonder why i always get "update failed (error: 12) when updating chrome Jul 30 16:19:04 Any of you guys had any success getting the action bar to display custom typefaces? Jul 30 16:19:36 kc8hfi but I think you can send the objects you want to the new activity inside a bundle Jul 30 16:19:42 but I have never needed to do that Jul 30 16:20:01 rottz: i've tried to use one activity for everything, but that didn't work out so well in this case. For example, the idiot tab layout. if i pick a tab, then rotate the dang screen, i could never get it to select the old tab for nothin Jul 30 16:20:20 I usually put whatever I need to be accessed all the time on more easily accessible objects (such as my only Activity, or the Application itself) Jul 30 16:20:27 strange thing Jul 30 16:20:59 I understand that in some cases using a single activity may not be possible Jul 30 16:21:15 in those cases, why not keep all the relevant data on Application, and not on the Activity? Jul 30 16:22:02 rottz: hmm, so maybe starthere shouldn't extend Activity. maybe it should extend Application instead? Jul 30 16:22:30 no, if its an activity, it should extend an activity Jul 30 16:22:38 but you should have a custom class for your Application Jul 30 16:22:42 if you dont have one Jul 30 16:23:01 so you can access it (and its data, such as the dbthing you need) from any activity Jul 30 16:23:20 using getApplication() Jul 30 16:23:39 getApplicationContext() I mean Jul 30 16:25:11 the class starthere is what the "main" activity extends. like this, http://www.fpaste.org/29044/01504137/ Jul 30 16:25:43 I think i need to rethink how everthing ties together in my program. I think the stuff that needs shared between activities is in the wrong place Jul 30 16:29:15 rottz: you do callbacks in the way you use one activity? Jul 30 16:29:42 callbacks in which sense? Jul 30 16:30:38 if you show a dialog box, you call back something? Jul 30 16:30:38 I use a lot of callbacks.. callback when waiting a response from the server, callback when user clicks a button, callback when a timer finishes... Jul 30 16:31:03 yeah, thoat sort of thing rottz Jul 30 16:31:04 yeah I guess Jul 30 16:35:16 hi Jul 30 16:36:33 does anyone know how to clear the AGPS cache for simulating a "cold start" ? Jul 30 16:46:16 how bad is it to promgrammaticly alter a layout? or is it not bad at all? Jul 30 16:50:34 I especially wanted to know how to do this on a Nexus4 ... Jul 30 16:50:59 Linkandzelda, what do you mean by bad? Jul 30 16:51:28 also getting more than one GSM threw TelephonyManager would be interesting Jul 30 16:51:34 alexfu: i red somewhere in the past that its best to make all layouts with XML rather than programmatically Jul 30 16:51:39 bdrop: http://stackoverflow.com/questions/14548707/android-how-to-reset-and-download-a-gps-data ? Jul 30 16:51:58 im in a situation where my main activity will change, and I wonder where to make a new XML for it or to just change/remove bits using the code Jul 30 16:52:34 Linkandzelda, are you expecting the whole layout to change? Jul 30 16:52:51 about 50% Jul 30 16:55:29 I just received an email from an Android marketplace called the "Quality App Network" who distribute to carriers in Australia apparently. Jul 30 16:56:16 Linkandzelda cant you have all elements and then hide/show the ones you need? Jul 30 16:56:21 I asked them what their cut was, and they said 60%. They charge 60% and expect developers to run to them??? OMG Jul 30 16:56:55 or if its totally different, just load different layouts from XML whenever the screen needs to change Jul 30 16:56:56 Amorgos: lesson learned: never respond to spam Jul 30 16:57:14 0% is better than 40%? Jul 30 16:57:40 guess having a new XML is more organised and controlled, but yea could hide and show too Jul 30 16:57:59 depends on what you need Jul 30 16:58:15 evanc: I've had some decent correspondence with startups who spam developers email accounts to be fair. Jul 30 16:58:24 if the "new layout" is the same as the old layout but with a new button or field, then probably hiding/showing it would be better Jul 30 16:58:35 if the layout is quite different, then a separate XML would be better Jul 30 16:58:57 poutine: Not really the point is it? That's like telling a lawyer to work for minimum wage, then saying it's better than nothing. Jul 30 16:59:14 Amorgos, no it isn't, the lawyer would have to work for that money Jul 30 16:59:15 you do not Jul 30 16:59:46 poutine: no he wouldn't. He'd go to another employer and get paid a decent wage. Jul 30 17:00:07 Amorgos, I'm saying your analogy is not the same at all, a lawyer would have to spend time doing something, you do not Jul 30 17:00:11 you already have a functional product Jul 30 17:00:27 all this is a distribution agreement, not a work order Jul 30 17:00:35 which has to be constantly maintained and updated. Jul 30 17:00:49 you'd be doing that anyways for any distribution platform Jul 30 17:00:49 Amorgos your option is either distribuite in Australia and get 40%, or not distribute and get 0% Jul 30 17:00:50 With http://pastebin.com/pct3brDj, I am debugging it and goes into the if on line 8, then into the if on line 12, then gets to line 18, then for some reason jumps inside the else to line 20??? Usually when I see this some uncaught exception is being thrown but I see none in LogCat Jul 30 17:00:57 either way you have the product and will maintain it already Jul 30 17:01:01 ^ Jul 30 17:01:26 not that I think 60% is fair, maybe there are others doing the same work for less Jul 30 17:01:35 rottz: well.. no. Distribute in australia with every other android marketplace, and get 70%. Distribute with this new marketplace and only get 40%. why would any developer use them? Jul 30 17:01:44 but from a rational point of view, what poutine is saying makes sense Jul 30 17:02:10 Because its another marketplace? Jul 30 17:02:23 not the same devices Jul 30 17:02:28 Amorgos, Ok well by not participating, you're not opening yourself up to additional potential revenue, whether you feel the revshare is fair or not Jul 30 17:02:30 probably carrier locked devices Jul 30 17:03:05 Ok.. this company is a startup. they are opening next month. Every marketplace AFAIK in the WORLD charges approx 30%. Now these boys come along with their venture and think they can get away with charging developers 60%? Jul 30 17:03:25 Amorgos what is their value proposition ? Jul 30 17:03:29 I wouldn't waste my time on it if they don't even have a functional market with users Jul 30 17:04:10 g00s: Large cariers in australia apparently, but they didn't give names. Jul 30 17:04:24 oh so they are a gateway to this market then Jul 30 17:04:34 middleman, leech , etc Jul 30 17:04:42 poutine: i have no intention of doing so. I just thought it was incredible that they could as for so much when all their competitors are charging half their fee Jul 30 17:05:23 Amorgos I agree the fee is exhorbitant Jul 30 17:06:40 I mean, they must have had a meeting at some point to decide that. OMG! Jul 30 17:06:41 Hello Jul 30 17:15:41 evanc: I looked at this before but it has no effect on my device ... Jul 30 17:15:43 is anyone here> Jul 30 17:15:43 ? Jul 30 17:15:43 helloowww.... Jul 30 17:15:46 ANYBODY.... Jul 30 17:16:27 bdrop: sorry, I have no ideas other than to just keep googling it Jul 30 17:16:32 Should just ban him, been annoying all weekend Jul 30 17:19:22 SimonVT - second that Jul 30 17:21:14 I am trying to find where Android decides its a good time to call AbstractThreadedSyncAdapters... does anyone know where I would be able to find that specific code? Jul 30 17:21:16 how come someone kicked me off? Jul 30 17:21:44 because you were being annoying Jul 30 17:21:48 if you have a question, ask the question Jul 30 17:21:55 dont just sit there saying "HELLLLLLLLLLLLLOOOOOOOOOOOOOO" Jul 30 17:22:03 me? Jul 30 17:22:15 Yes, you Jul 30 17:22:52 i said heellooowww not heelloooo Jul 30 17:23:16 Now you're being annoying again Jul 30 17:23:22 :) Jul 30 17:23:28 aww, gateway/web/freenode Jul 30 17:23:38 ban the web gateway ! Jul 30 17:23:50 i was wondering if you could edit users in the android settings with an app Jul 30 17:25:56 g00s, wat Jul 30 17:26:01 tripplemin1, what do you mean "edit users" Jul 30 17:26:21 you can add and remove accounts, i believe (check the source for the Email app) Jul 30 17:26:32 u noe how u have like facebook, dropbox etc. on the settings app...can i use an app to delete them? or am i too restricted? Jul 30 17:27:16 you want to delete a different app's account? Jul 30 17:27:26 kinda... Jul 30 17:27:28 i dont know. figure out how to delete your own, then try it on another Jul 30 17:27:40 awkay... Jul 30 17:28:27 im planning on creating an app to give people a voice as in noe how there are tragedies such as trayvon martin and people want to speak up? people get a voice in this app Jul 30 17:29:57 tripplemin1, that sounds like a silly idea Jul 30 17:30:01 comments? Jul 30 17:30:09 seriously? why? Jul 30 17:30:37 because that's the roundabout goal of every site/app that allows comments, reviews, or user submitted content Jul 30 17:30:50 oh ya,,,,, Jul 30 17:30:54 thanks for the heads-up Jul 30 17:30:57 ....... Jul 30 17:31:04 you basically described twitter without a character limit Jul 30 17:31:13 yup Jul 30 17:31:20 lol Jul 30 17:31:35 yeah so it's a terrible idea Jul 30 17:31:39 yup... Jul 30 17:32:53 so wat do people do around here? Jul 30 17:35:09 ..... Jul 30 17:35:18 why is it so quiet? Jul 30 17:35:42 how do i fix bugs after obfuscation? is it a way to put my classes back together so that I can work on it as a normal android project? Jul 30 17:35:42 tripplemin1, This channel is about android application development Jul 30 17:36:21 http://pastebin.com/xjQpLciq anyone see anything wrong with this? my onclick doesnt get called for some odd reason... Jul 30 17:38:41 SuperLag, use the Proguard retrace function apparently Jul 30 17:38:51 http://stackoverflow.com/questions/7391523/howto-in-eclipse-debug-the-proguard-obfuscated-apk-file Jul 30 17:38:52 SuperMandroid, you can use proguard mappings to translate the trace Jul 30 17:40:17 and it'll put my project structure or class names back? or do I just use the retrace tool to make a human reable stack track but still have to work with the weird class names? Jul 30 17:40:46 I would just try it but last time i did it almost destroyed my project Jul 30 17:41:35 i fixed it Jul 30 17:41:59 try what Jul 30 17:42:08 proguard? Jul 30 17:42:29 yea Jul 30 17:43:14 im just tryin to get clarity on how I go about debuggin. im gonna check the link but i just wanna know do retrace put my class names back or do it just fix a stacktrace to be human readable by me Jul 30 17:43:32 would it be wise for games to support minimum SDK 10 instead of 8 that I got now? Jul 30 17:43:44 QcMat, 9, not 10 Jul 30 17:44:01 but 9 better than 8? Jul 30 17:44:07 why 9? still good devices there? Jul 30 17:44:11 Anybody having issues saving a bitmap in 4.3? http://stackoverflow.com/questions/17913525 Jul 30 17:44:24 QcMat, loads of devices are on 2.3, 9 includes those as well Jul 30 17:44:39 10 is later 2.3; why do you want to do that? the api is practically identical Jul 30 17:44:51 9 is dead anyway Jul 30 17:44:58 why not 8? Jul 30 17:45:11 cool pfn , honnestly I dont know Jul 30 17:45:12 because % on 8 is under 5 Jul 30 17:48:23 (Bear10) I fixed your onClick..... Jul 30 17:48:28 Check It Out... Jul 30 17:48:52 tripplemin1, i got it heh, it was a dumb thing Jul 30 17:49:04 setcontentview got written twice (in some file that wasnt this) Jul 30 17:50:19 was it wrong? Jul 30 17:50:23 (Bear10) Jul 30 17:50:40 tripplemin1, yeah i got it working though thanks anyways Jul 30 17:50:55 (Bear10) thanx Jul 30 17:51:42 I'm trying to setup an android emulator so I can test a website. Is this the place to ask for help? Jul 30 17:51:52 sure Jul 30 17:51:56 (Promethein) Jul 30 17:51:59 (Prometheian) Jul 30 17:52:12 I'm on Win 7, I've downloaded the adt-bundle. Jul 30 17:52:26 All I need is something that'll run and have internet access. Jul 30 17:53:03 do u have eclipse/android-studio installed? Jul 30 17:53:29 I have eclipse, not android-studio. There's no way to get this to run as a stand-alone? Jul 30 17:54:23 Prometheian, just run monitor from the android sdk, then launch the avd manager Jul 30 17:54:26 you don't need adt or eclipse Jul 30 17:54:38 actually, you don't even need to run monitor Jul 30 17:54:42 you can launch it from the sdk manager Jul 30 17:54:51 sdk-manager pops up and closes Jul 30 17:56:01 .... Jul 30 17:56:03 ... Jul 30 17:56:08 what exactly are you running and where on what platform Jul 30 17:56:36 Windows 7. Jul 30 17:56:39 :s Jul 30 17:56:42 open eclispe Jul 30 17:56:54 kk Jul 30 17:57:02 tell me when its open Jul 30 17:57:03 ... Jul 30 17:57:24 This laptop isn't shiny-new, unlike my desktop. :( Jul 30 17:57:25 then close eclipse and start IntelliJ/Android Studio Jul 30 17:57:36 have an epiphany that you are not cut out for software engineering Jul 30 17:57:44 close IntelliJ/Android Studio Jul 30 17:57:57 I'm not trying to develop software here. Jul 30 17:58:11 dont discourage (SpearThruster) Jul 30 17:58:11 and head out to the barber - get an avergae Joe haircut Jul 30 17:58:14 My supervisor said "Hey, we need an Android emulator to showcase our mobile site." Jul 30 17:58:15 just teasing Jul 30 17:58:25 I am sure Prometheian is a swell guy Jul 30 17:58:28 Eclipse is open Jul 30 17:58:37 I've been watching "The Office" for the past 2 weeks Jul 30 17:58:40 Rofl Jul 30 17:58:44 At least you know the end. Jul 30 17:58:49 ok now on the top bar do you see two green buttons? Jul 30 17:58:54 The play and debug? Jul 30 17:58:55 and even my daily interaction/humour has gone retarded Jul 30 17:59:10 point at the device with an android inside it... Jul 30 17:59:23 itll say android device virtual manager Jul 30 17:59:24 I told you I didn't install the eclipse android portion. Jul 30 17:59:50 what exactly do u want to do? cuz there is no standalone installer.. Jul 30 18:00:03 do u own an android phone Jul 30 18:00:05 ? Jul 30 18:00:17 I want to be able to emulate an android device on a computer. All it needs is web access. Jul 30 18:00:19 And yes, I do. Jul 30 18:00:22 This isn't for me. Jul 30 18:00:30 you downloaded the sdk from the website? Jul 30 18:00:42 developer.android.com Jul 30 18:00:55 http://developer.android.com/sdk/index.html Jul 30 18:00:59 I pressed the big blue button Jul 30 18:01:02 And extracted to desktop Jul 30 18:01:23 there's a "tools" dir Jul 30 18:01:30 yup Jul 30 18:01:40 do you have an executable called "android" in there? Jul 30 18:02:00 Oh, now I see the eclipse you wanted me to open. Sorry, I have one on my system and opened that. Jul 30 18:02:12 android.bat Jul 30 18:02:17 click on that Jul 30 18:02:30 or do whatevery you do on windows to execute it Jul 30 18:02:33 -y Jul 30 18:02:36 dude if u want to emulate an android then ull have to have the SDK, and IDE(Eclipse/Android Studio)... Jul 30 18:02:52 you don't need an IDE Jul 30 18:02:53 Ah, there's the working sdk manager! Jul 30 18:03:12 there you download the stuff for the android version you want to emulate Jul 30 18:03:19 Awesome. Jul 30 18:03:57 under "tools -> manage AVDs" you get to the window where you can configure and launch emulators Jul 30 18:03:58 Time to install way too many in case we just happen to have an error on that version, in our software... Jul 30 18:04:32 Oooh, sexy. Thank you very much! Jul 30 18:05:12 Glad I tried... Jul 30 18:05:35 The winner takes it all :P Jul 30 18:05:43 lol Jul 30 18:14:15 Android 4.3 Has A Few Issues.....Pissing me OFF Jul 30 18:14:20 ..................................................... Jul 30 18:17:32 How do I send the sensor data of one phone to another phone via bluetooth? Jul 30 18:18:50 pkp, implement your own rfcomm connection and send data that way Jul 30 18:18:54 packetize it, etc. Jul 30 18:20:05 Can I prevent a variable from being saved in savedInstanceState? I'm getting issues involving requerying an already closed cursor (though I have included it in the onStart and onStop methods) and I feel that this probably has something to do with it Jul 30 18:20:45 hey Dudes, how come my android-samples dont work for me? they crash on start-up Jul 30 18:20:47 .... Jul 30 18:21:35 pfn, I am kind of a beginner when it comes to networks and stuff. Could you point me to some good resources? Jul 30 18:21:53 pfn, also how much would be the time delay in the transfer..? Jul 30 18:21:53 Because your flux capacator is overloaded. Jul 30 18:24:26 why does my nexus 7 have such a bad time with connectivity on windows? Jul 30 18:24:32 the prescriped amount of power is 1.21 Jiggawatts. Please make sure not to exceed that amount. Jul 30 18:24:45 on the mac, it transfers data fine, but on windows, the usb/adb connection is so iffy Jul 30 18:24:59 pfn: same cable? Jul 30 18:25:15 different cable Jul 30 18:25:26 sounds like a clue to me Jul 30 18:25:36 all other android devices work fine off of this cable Jul 30 18:25:43 there was some loose connections inside my nexus 7 once Jul 30 18:25:49 I had top snap it open and plug stuff back in Jul 30 18:26:07 it wouldnt connect to charge it, maybe it's the same thing Jul 30 18:26:20 it would connect but charge SO slow Jul 30 18:26:27 interesting, a change in cable makes a difference Jul 30 18:26:47 * pfn double checks that the other cable isn't plugged into the usb3 port Jul 30 18:28:40 hmm, I guess it doesn't like this cable Jul 30 18:28:43 that's annoying Jul 30 18:28:55 Why is my android app Icon Small? How can I increase its size? Jul 30 18:29:19 Make it larger Jul 30 18:29:27 small as in physically small, or low res? Jul 30 18:29:44 physically small... Jul 30 18:30:00 tripplemin1: https://play.google.com/store/apps/details?id=com.gabetaubman.giganticon Jul 30 18:30:09 ah, interesting Jul 30 18:30:11 does the image file have wasted space around the edge? Jul 30 18:30:43 if I hold my nexus 7 in landscape, it reports its height as 552dp from display metrics because of systemui Jul 30 18:30:57 yup Jul 30 18:31:25 gignticon didnt help...its MY app not ALL my apps Jul 30 18:31:30 evanc, just as a point of interest, dropping su in /system/bin on 4.3 user devices works fine to run adb shell su Jul 30 18:31:35 s/interest/note Jul 30 18:31:50 evanc, since there seems to have some confusion about that yesterday Jul 30 18:31:56 pfn: presumably, /system/bin is ro initially? Jul 30 18:32:09 evanc, of course Jul 30 18:32:17 I had to drop it in from a recovery Jul 30 18:32:37 pfn, that was the problem with your code earlier? :p Jul 30 18:32:42 can't su on 4.3 except from adb shell Jul 30 18:32:43 SimonVT, yes Jul 30 18:32:47 Haha Jul 30 18:33:26 so what's that new api to detect swdp? Jul 30 18:33:55 http://developer.android.com/reference/android/content/res/Configuration.html#smallestScreenWidthDp Jul 30 18:34:01 oh forget it... Jul 30 18:34:29 SimonVT, indeed, just found it, thanks Jul 30 18:36:05 hmm, that'll be annoying to use Jul 30 18:36:36 Alternatively, just set a resource Jul 30 18:37:26 600 Jul 30 18:37:34 yeah, that's probably a better idea Jul 30 18:37:55 When I just care about phone vs tablet I usually have an isTablet resource Jul 30 18:37:59 and, no, I'd put in true Jul 30 18:38:03 or yeah, that Jul 30 18:38:14 good idea, thanks Jul 30 18:42:17 does adding the image into all the drawable files make the image appear more clear ? Jul 30 18:42:50 huh? Jul 30 18:43:05 Hi guys, I'm an experienced developer but new to android. I'm just playing around with a few hello world apps, and I can't even get a dialog to appear :( I'm using this page as a guide http://developer.android.com/guide/topics/ui/dialogs.html and it all makes sense to me. But there's 1 thing that doesnt work.. AlertDialog.Builder builder = new AlertDialog.Builder(getActivity()); Jul 30 18:43:34 u want to produce an alert dialog rite? Jul 30 18:43:36 I'm gettting 'no method for mainActivity' Jul 30 18:44:08 just playing around with alerting stuff, and also some decision dialogs, Yes/No etv Jul 30 18:44:13 and u want to display the dialog when a button is clicked? Jul 30 18:44:14 *etc Jul 30 18:44:29 I've just got it firing on the onResume event at the moment Jul 30 18:44:36 hargh Jul 30 18:45:03 do u want it to display when a button is clicked cuz thats easy...i can show u now Jul 30 18:45:35 yeah let's start with that Jul 30 18:45:43 sure bro Jul 30 18:45:55 u noe how to set an onClickListener? Jul 30 18:46:51 huh? Jul 30 18:47:02 (TmpR)? Jul 30 18:47:25 it's all new to me at this point but I can figure that out pretty quickly, I've seen the events for GUI objects. just give me a min Jul 30 18:47:48 i can show u through a chat maybe through google? Jul 30 18:47:52 GMAIL.... Jul 30 18:48:03 what's the easyest way to just dump something to the console, or syslog etc? Jul 30 18:48:18 log.d(""); Jul 30 18:48:47 cool, just let me have a play around for a min, then I'll give you a shout let you know how I got on. Jul 30 18:49:13 KOOL Jul 30 18:55:12 i'm trying to run the auth sample from the sdk, and the imports for googleAuthUtil, and GooglePlayServicesUtil are not resolving, what am i missing? Jul 30 18:57:33 You probably didn't add google play services as a dependency Jul 30 18:58:54 hey, I'm using a third party component that spawns an AsyncTask, this AsyncTask is throwing an Exception on their onPostExecute, is there a way that I can handle that error? Jul 30 18:59:25 hey everyone Jul 30 18:59:30 is anyone here using MechanoidDB? Jul 30 18:59:37 trying to figure out how i can do and/or queries Jul 30 18:59:43 huh, how do I create an actionbaractivity with a dialog theme in appcompat-v7? Jul 30 18:59:49 I've tried using Thread.setDefaultUncaughtExceptionHandler but still the activity would stay black and then the app gets an ANR.. Jul 30 18:59:55 Theme.AppCompat.CompactMenu.Dialog isn't right Jul 30 19:00:06 is, select blah from table where foo = 1 and (bar = 0 or bar = 1) Jul 30 19:01:09 is there a way to do it with .expr() and .and() and .or() or do i have to write my own query and populate the parameters? Jul 30 19:07:08 the EditText in my popup window doesnt let me enter anything Jul 30 19:11:12 just sits there with a blinking cursor Jul 30 19:11:13 that i can move by toudhing Jul 30 19:11:13 touching, but cant type anything Jul 30 19:11:32 and yes, its focasable and editable Jul 30 19:12:32 yuck, actionbaractivity doesn't support dialog themes Jul 30 19:14:49 the EditText in my popup window doesnt let me enter anything Jul 30 19:18:14 CANT COME UP WITH AN APP IDEA! Jul 30 19:18:28 the EditText in my popup window doesnt let me enter anything Jul 30 19:19:07 ill check to see if mine would work.... let me write my code ;) Jul 30 19:19:22 Here's a way:::> Jul 30 19:19:38 1. Create a new Activity Jul 30 19:19:53 2. Set An onClickListener to the Button Jul 30 19:20:32 3. Here's the Code Dialog d = new Dialog(//The Class.class); d.setContentView(R.layout.//Layout); d.setTitle("New Note"); d.show(); Jul 30 19:21:11 Make Sure You Add A Text Field to Your Layout Jul 30 19:21:21 hello guys Jul 30 19:21:26 hi dude! Jul 30 19:21:54 I have an interesting problem. I am trying to make something like a super tiny modal window, and the usual modal stuff doesn't seem to quite fit Jul 30 19:21:54 I have a little button to log in Jul 30 19:22:06 and after logging in, I want to be able to click it and pull up a tiny "Logged in as: ProgramMax\n(Button: Log out)" Jul 30 19:22:29 but doing the usual alert dialog seems a bit off there Jul 30 19:22:54 what do you mean "but doing the usual alert dialog seems a bit off there" Jul 30 19:22:57 i have a question: in a listview/fragment in wich class is preferred add elements to the list? Jul 30 19:23:38 under: No idea what you're asking Jul 30 19:24:29 Ask On StackOverflow With Your Code Written Out....(under) Jul 30 19:24:54 what I mean is, having it darken 90% of the screen seems funky Jul 30 19:25:02 I just created a TransitionDrawable to go from 1 image to another, however the old image still appears in my view, how can I get it to go away? Jul 30 19:25:04 and I would prefer to place it near the button you clicked, not the center Jul 30 19:25:29 marcab, i want to create a fragmentlist that show news parsed from xml file. I was wondering if the parsing function is ok if it will be implemented in the in the adapter class where I have my ArrayList Jul 30 19:25:55 tripplemin1, I know stackoverflow Jul 30 19:26:04 I think i think you should upload your code with a question on StackOverflow so people can run it because i dont exactly understand... Jul 30 19:26:23 then u should try it..many good developers on it....(under) Jul 30 19:26:44 there are good developer over here as well Jul 30 19:26:45 :) Jul 30 19:27:56 At a glance, seems it would be fine in the adapter. Just try to do your parsing all up front or lazily, rather than repeating the work each time you getView. Jul 30 19:30:17 marcab, yes ok but my parsing work finish in one arraylist that's in the adapter. how can I pass data from my listfragment to the adapter? Jul 30 19:31:46 Figure out how to set a variable in one class from another class Jul 30 19:33:22 this sounds very rash Jul 30 19:33:50 just make it a global variable Jul 30 19:35:27 mmh ok i thought there was a more professional way Jul 30 19:36:17 YourAdapter#setDataProfessionally(ArrayList) Jul 30 19:37:23 ok ok :D Jul 30 19:37:54 lol Jul 30 19:40:04 Google Would Remove my App If It Had Something to do With Piracy Right? Jul 30 19:41:52 hi, do you know if static final and final variables persists if the app is killed by system? Jul 30 19:43:08 They don't Jul 30 19:43:48 Are You talking to me? Jul 30 19:43:55 (SimonVT) Jul 30 19:44:21 Nope Jul 30 19:44:30 ok Jul 30 19:47:44 then will they be initialized automatically? I can't restore final variables myself Jul 30 19:48:37 Oh, static final.. Well yeah, they have a constant value Jul 30 19:48:51 Read it as just static Jul 30 19:50:16 If it's mutable, whatever value you changed wont be retained Jul 30 19:50:25 ok so it's safe to use final and static final variables Jul 30 19:50:57 ok thanks :) Jul 30 19:51:22 whats the difference between int and final int? Jul 30 19:51:44 you can't change a variable if it has a final modifier Jul 30 19:53:35 I'm looking for a way to use PreferenceFragment in Android 2.2 and 2.3, what would be the best approach, Seeing that it is not included in the Support Library ? Jul 30 19:54:33 Dark-Side, http://actionbarsherlock.com/ Jul 30 19:57:32 under, that doesn't allow me show preferences in a viewpager? Jul 30 20:08:07 hi Jul 30 20:08:29 wassup Jul 30 20:08:48 one quick question (I'm not java-fluent) - new ArrayAdapter(this, ..., ...) - why the ? Jul 30 20:08:55 what does it mean exactly? Jul 30 20:09:05 yawn Jul 30 20:09:14 wassup: google java generics Jul 30 20:09:22 jasta: thanks :) Jul 30 20:13:31 im setting up gradle for the first time, and when i create install my apk (gradle assembleDebug installDebug), its missing permissions defined in AndroidManifest.xml Jul 30 20:18:49 or at least, android complains that its missing permissions, but using apktool i can see the permission defined...hmmm Jul 30 20:23:29 You probably defined it wrong Jul 30 20:29:04 yeah, my gradle config is compiling against JB now that requires a new permission Jul 30 20:29:31 that i thought i had defined, but i actually didnt Jul 30 20:30:19 do TouchDelegates show up when show layout bounds is enabled? Jul 30 20:32:31 Good question.. I just checked, they don't Jul 30 20:33:04 ok Jul 30 20:33:09 thanks for checking Jul 30 20:33:41 is there a way to DRY up my gradle config and have some common defaults shared for all my projects? Jul 30 20:34:20 (right now i am copying the same few lines into each of my projects build.gradle files) Jul 30 20:38:01 smoak: A symlinked project top-level build.gradle perhaps? Not sure it makes much sense, but you're the one asking for it! Jul 30 20:42:45 kjeldahl: hmm, that could work...is there a way to do an include_file ("../common_settings.gradle") Jul 30 20:47:16 Can anybody that knows how aasynctask is supposed to work take a look at this? http://pastebin.com/csrjZxYM I'm trying to learn how this is supposed to function so I can finish converting this code... Jul 30 20:50:54 smoak: Not that I know of, but I'm no gradle expert. Jul 30 20:52:26 smoak: symlink the settings file where you need it and include it there / that way? Jul 30 20:53:19 hi, is it possible to use @string/resources in a appwidget-provider xml file? I'm trying to automatically set the resizeMode and widgetCategory to certain values depending on if the device is pre-JB or not, but using the @string in the xml file seems to break things Jul 30 20:53:24 "Welcome to Google-Cast-Announcements - this list is a low volume list for developer information about Chromecast and Google Cast." Jul 30 20:53:36 awwwww yeah Jul 30 20:53:38 carbohydrate, resizeMode and widgetCategory are integer values Jul 30 20:54:04 pfn: then why am i setting it to android:resizeMode="none"? Jul 30 20:54:07 Brian|CB: :D Jul 30 20:54:15 carbohydrate, because none evaluates to an integer value Jul 30 20:54:17 Can't wait to get home and dick around with my chromecast Jul 30 20:54:27 and android:widgetCategory="home_screen|keyguard" Jul 30 20:54:34 Brian|CB: Prevert.. Jul 30 20:54:37 carbohydrate, also an integer value Jul 30 20:54:42 carbohydrate, dpjm Jul 30 20:54:45 don't argue Jul 30 20:54:47 Bleeptech: It was designed for porn and you know it Jul 30 20:54:50 where are those defined? that is intuitive to me Jul 30 20:55:01 carbohydrate, to see what none and home_screen and keyguard are set to, see attrs.xml in the sdk Jul 30 20:55:25 you can also get them off of android.R.styleable Jul 30 20:55:27 i wasn't arguing? Jul 30 20:55:49 Brian|CB: You know why I called you a prevert don't you?? I haven't seen the pics to prove you're a pervert.. LOL.. Jul 30 20:55:59 Is there any way I can prevent lagging when working with a SimpleCursorAdapter and ListView? Scrolling doesn't lag, but navigating does Jul 30 20:56:21 OK I see the values now. Am I literally just to or the integer values together? Jul 30 20:56:29 carbohydrate yes Jul 30 20:57:05 OK thanks. Can you tell me what tells it to look at the attrs.xml file instead of treating them like strings? Jul 30 20:57:29 carbohydrate, xml parser Jul 30 20:57:58 so anywhere i use 'home_screen' will it be translated to that attrs.xml value? Jul 30 20:58:21 no, only for attributes where home_screen is a valid enum value Jul 30 20:58:57 i see Jul 30 20:59:06 i.e. look at the definition of home_screen, look at the enum it's defined in, look for references of that enum in attrs.xml Jul 30 21:07:08 Is there any reason why my phone wouldn't be detected by ADB, even though it was working just fine approximately 10 hours ago?... Jul 30 21:07:25 does the usb debugging icon show up on your phone? Jul 30 21:07:42 no Jul 30 21:07:46 and yes its enabled Jul 30 21:07:52 then either you turned off usb debugging, or your cable's gone bad Jul 30 21:08:02 the cable works with the s3 i have laying around Jul 30 21:08:07 but not my phone Jul 30 21:08:12 and i need my phone to work with... Jul 30 21:08:41 "Connected as media device" doesnt show up either Jul 30 21:08:44 it just charges Jul 30 21:09:43 did u swicth ports and try? Jul 30 21:09:48 yes, same thing Jul 30 21:10:01 restarted my mac twice now Jul 30 21:10:09 do u have the driver installed? Jul 30 21:10:17 there's your problem. you're using a mac. Jul 30 21:10:24 lol yup Jul 30 21:10:30 actual answers please Jul 30 21:10:34 i thought it was windows Jul 30 21:10:38 wait is 0x1 | 0x2 == 0x11? Jul 30 21:10:50 wat? Jul 30 21:11:04 carbohydrate: of course not Jul 30 21:11:13 i thought it was 0x3 Jul 30 21:11:32 i dont noe any of this...-_- Jul 30 21:11:53 look at the bits then decide Jul 30 21:11:55 carbohydrate: yes, 01 | 10 == 11 Jul 30 21:12:30 oh....i understand....one's and 0's....language of the COMPUTA'Z Jul 30 21:12:39 huh, 1 | 2 is 3 Jul 30 21:13:01 well i;m just looking at these flag values and i tried to put an integer of 0x3, but it doesn't seem to work Jul 30 21:13:03 there's only 10 types of people in this world... Jul 30 21:13:53 maybe it is because i put 0x3 Jul 30 21:14:07 (pragma)...continue please Jul 30 21:14:17 just put 3! lol Jul 30 21:15:04 tripplemin1: ... those who can read binary and those who can't. Jul 30 21:15:20 oh....IM A LOSER DAMMIT! Jul 30 21:15:39 but wats binary got to do with android dev? Jul 30 21:16:03 man these gradle builds are so quick Jul 30 21:16:28 how old are you tripplemin1 Jul 30 21:16:33 16 Jul 30 21:16:39 no really Jul 30 21:16:50 u bastard.....why did u think i lied? Jul 30 21:17:19 because you're trying too hard to sound like a retard. Jul 30 21:17:45 hey dont use retard in that context...my mom has brain damage u asshole Jul 30 21:18:06 this is like textbook schoolyard talk Jul 30 21:18:24 ill just give you the benefit of the doubt and write you off as a bad troll Jul 30 21:18:38 u noe ur an ass...... Jul 30 21:18:45 forget u... Jul 30 21:18:47 wat then like maybe she shuldnt eat so many coks against da back of her throat, hur hur Jul 30 21:19:01 is it sloppy/bad to set up like 4-5 TouchDelegates in an activity? Jul 30 21:19:21 any reason why there has to be more than one tznr? Jul 30 21:19:44 Pyuruku: well there are several views that need their touch area expanded Jul 30 21:19:56 I was going down this road to avoid having to refactor the layout because it was kind of a pain Jul 30 21:20:08 wondering if this is a bad way to try to avoid doing that Jul 30 21:20:44 it just sounds like youre going to have some fighting going on Jul 30 21:21:16 and since you have multiple delegates, you may have multiple events fired for one touch, for example Jul 30 21:21:21 dont know if thats your intention Jul 30 21:21:28 oh I see...do you mean if one overlaps another? Jul 30 21:21:32 yeah Jul 30 21:21:34 No he wont Jul 30 21:21:46 it gets nasty to handle overlapping when they arent from the same delegate Jul 30 21:22:05 I think that will actually be ok now that I look at the layout Jul 30 21:22:10 err, I don't think it will happen Jul 30 21:23:15 As soon as one view handles the touch event, no other views are going to get it Jul 30 21:23:24 ok Jul 30 21:23:51 so once I've set a delegate for a View, I can just set the View's onClickListener like normal? Jul 30 21:24:17 Yes Jul 30 21:24:59 ok thanks Jul 30 21:25:58 the edittext in my popup window wont accept typing Jul 30 21:27:58 i just tried another phone and its recognized like normal... god damnit Jul 30 21:28:22 write once, run anywhere Jul 30 21:28:36 wtf adb Jul 30 21:31:27 write once, debug everywhere -- a few months later google releases an android update which breaks your app, write again, debug everywhere again. Jul 30 21:31:45 lolo Jul 30 21:32:05 so trying to mount usb storage in cwm doesnt work either... Jul 30 21:33:08 pragma-: :D Want to take pity on my poor dense brain? Jul 30 21:33:29 * Bleeptech is fighting ASynctask. Jul 30 21:33:31 Pyuruku: what device and which way are you trying to mount? Mount the phone as usb storage, or mount usb storage device on phone? Jul 30 21:33:55 Galaxy SII, mount the phone as usb storage Jul 30 21:34:08 its not being detected by ADB, even though everything was working fine 10 hours ago Jul 30 21:34:19 trying to mount in recovery doesnt show anything either... Jul 30 21:34:22 Pyuruku: USB storage is separate from ADB Jul 30 21:34:27 the phone is fully functional too Jul 30 21:34:38 I know, im just trying to get my mac to actually see the damn phone Jul 30 21:34:53 its not listed as one of the currently connected usb devices in sys info Jul 30 21:35:07 Pyuruku: 'adb kill-server ; adb devices' ?? Jul 30 21:35:15 already tried, does nothing Jul 30 21:35:20 the USB debugging icon doesnt show up Jul 30 21:35:25 look in /sys, find the usb gadget controls Jul 30 21:35:28 and neither does the "connected as media device" Jul 30 21:35:31 it just charges Jul 30 21:36:12 you guys know how there are sounds when a button is clicked and stuff? what software can i use to make them? Jul 30 21:36:20 jiggle the wire Jul 30 21:36:33 Pyuruku: Bad cable? Try installing adbWireless ? Jul 30 21:36:37 the wire is fine, I have two phones that work just fine Jul 30 21:36:46 an s3 and a shitty old lg phone Jul 30 21:36:53 is anyone able to assist me in creating a service which will do a simple file operation? the operation isnt important im just not sure how to feed back to my activity that the process completed sucessfully Jul 30 21:37:01 Pyuruku: it sounds to me like you managed to offline the USB Gadget driver Jul 30 21:37:04 i need to develop on the s2 though, device specific bug... Jul 30 21:37:13 how would i go about correcting that? Jul 30 21:37:17 Can anyone tell why I'm unable to detect when a preference is changed with an OnSharedPreferenceListener? main activity: http://pastebin.com/t9JGAv7r, preferences activity: http://pastebin.com/k6xuQXhk, preferences xml: http://pastebin.com/LrrFRvTs Jul 30 21:38:15 Pyuruku: I don't remember where it is, but search in /sys tree (sysfs) for usb-gadget related modes, it should have controls to switch mode of the usb-gadget driver (the multiple modes each represent a slightly different device and different interfaces on USB) Jul 30 21:38:50 the usb-storage interface was, btw, controlled by unmounting the block device you wanted to export and writing the path of said device into one of the control files Jul 30 21:38:52 Pyuruku: My adb went bugshit the other day and I ended up rebooting the pc and the tablet. Jul 30 21:38:53 and that would be on my phone or my mac? Jul 30 21:39:00 Pyuruku: phone Jul 30 21:39:04 as root Jul 30 21:39:07 ok Jul 30 21:39:49 basically, all the stuff that controls usb in terms of what is seen on computer as "connected device" etc. is a driver in kernel that can be disabled Jul 30 21:39:59 while the charging stuff is slightly separate Jul 30 21:40:58 (more like mostly separate) Jul 30 21:46:59 what is the prefered way to set the alpha of an image view programatically? setAlpha(int) is deprecated.. Jul 30 21:47:46 https://developer.android.com/reference/android/widget/ImageView.html#setAlpha(int) Jul 30 21:47:54 p_l so I found a bunch of folders for the different modes, what should I be doing now? Jul 30 21:49:26 find the overall control (the one that switches between them) and see if the usb-gadget stuff is enabled at all, then try to force it into some standard mode (like default or default+adb) Jul 30 21:50:03 hey guys, does anyone know of a way to detect if the device has a dedicated hardware camera button? Jul 30 21:51:27 is there a way with gradle to specify a product flavor that uses a different signing key? Jul 30 21:52:18 i tried signingConfig signingConfigs.custom_key in my custom productFlavor but gradle complains "No such field: signingConfigs for class: com.android.build.gradle.internal.dsl.GroupableProductFlavorFactory" Jul 30 21:55:19 alrighty then Jul 30 21:55:20 ah it appears that the signingConfigs object is out of scope inside my customFlavor Jul 30 21:55:45 p_l seems to have done it, the icon popped up and the media transfer tool popped up Jul 30 21:56:15 yay, adb devices now shows my phone Jul 30 21:56:17 fucking android Jul 30 21:56:20 nah Jul 30 21:56:24 that's kernel side thing Jul 30 21:56:45 i still have to deal with it as an android user :) Jul 30 21:56:52 or rather, something got borked in controlling of usb-gadget mode, and essentially disabled usb completely Jul 30 21:57:21 Pyuruku: personally, today I found out that desktop linux devs are worse than android Jul 30 21:57:31 how so? Jul 30 21:57:33 or so my gut says Jul 30 21:58:18 Pyuruku: because I can see no other way than inane, idiotic, DSO-based tight coupling, as the reason why Firefox after updating to v22 started to die every time I right-clicked Jul 30 21:58:37 yes, every time I tried to open a context menu, firefox would die Jul 30 21:58:53 well using firefox is a mistake in itself Jul 30 21:59:16 Pyuruku: it's the only browser that can take my browsing habits, and has the necessary extensibility and moddability Jul 30 21:59:32 no love for Opera? Jul 30 21:59:58 Pyuruku: "has the necessary extensibility and moddability" Jul 30 22:00:12 I do use Opera, but not for everyday browsing Jul 30 22:00:20 Opera is highly moddable and extensible Jul 30 22:00:20 also, had various issues with certain pages Jul 30 22:00:26 unless you mean native modding / extending Jul 30 22:00:32 Pyuruku: can I totally change the UI? Jul 30 22:00:44 so you meant native modding Jul 30 22:00:47 no Jul 30 22:00:51 new ssk / tools \o/ Jul 30 22:00:51 *sdk Jul 30 22:00:53 i thought you were talking more along the lines of user scripts Jul 30 22:01:08 nah, the only user script I have is stuff for looping in YT Jul 30 22:01:40 grr, still no api 18 x86 image Jul 30 22:01:56 I need things like TreeStyleTabs, Vimperator, LastPass (that one I have working in Opera, though), Firebug (ok, Chrome devtools work too) Jul 30 22:03:08 im extremely minimal, and just use stock chrome with 2 extensions Jul 30 22:03:31 RES + ABP Jul 30 22:03:33 unloadTab / self destructing cookies ftw ! Jul 30 22:03:36 and thats about it Jul 30 22:03:48 Pyuruku: Chrome would tell me "dude, where's my half-terabyte of ram?" if I tried to open my current FF browsing session Jul 30 22:04:18 and my old laptop, that I haven't booted recently, has a Firefox session where some tabs I think were opened a year or so ago Jul 30 22:04:37 i find firefox to be horribly bad with memory Jul 30 22:04:49 chrome is also quite bad, but at least a bit better in my experience Jul 30 22:05:25 g00s: :D Can I pick your brain? Jul 30 22:05:40 Pyuruku: only if you don't have much in way of extensions Jul 30 22:05:41 Bleeptech there isn't much to pick, but ok Jul 30 22:05:53 p_l: which fits my situation :-) Jul 30 22:05:57 Pyuruku: and Firefox has less problems with runaway resource usage Jul 30 22:06:33 g00s: http://pastebin.com/ubQ4ChUa Jul 30 22:06:41 that is, FF has bigger memory use at low tab count compared to bare Chrome (and not always that), but once extensions and lots of tabs come in, Chrome starts omnomnoming the system Jul 30 22:07:26 g00s: Beating my head on onPostExecute.. Jul 30 22:07:39 chrome is using approx 700mb of ram right now, 9 tabs one of which is Facebook Jul 30 22:07:43 2 extensions Jul 30 22:08:32 hmm... my FF used to take ~1.5G with >120 tabs Jul 30 22:08:35 that was long ago Jul 30 22:09:59 1090mb right now, with... >240 tabs Jul 30 22:09:59 Bleeptech no idea Jul 30 22:21:34 does anyone know what's the z-order of elements when declared on an xml layout? it appears that last elements are sent to the back? Jul 30 22:22:05 deleet: last elements? Jul 30 22:22:19 you mean previous elments? Jul 30 22:22:33 the z-order is the same as the declared order Jul 30 22:22:40 Napalm? Rohitab Napalm? Jul 30 22:22:40 more explicitly, I have a linearlayout (1st) and a framelayout (2nd) both matching parent on width/height .. when I add a fragment to the framelayout, I don't get it on top Jul 30 22:22:54 PlDev: correct Jul 30 22:22:58 oh wow Jul 30 22:23:16 stop famous please Jul 30 22:23:17 deleet: it depends on its parents. LinearLayouts won't stack; FrameLayouts will Jul 30 22:23:42 evanc: dammit, I need more than one child on the linear :/ Jul 30 22:24:03 you can have more than one child in a LinearLayout Jul 30 22:24:10 they just won't overlap without hacks Jul 30 22:24:27 hello again Jul 30 22:24:40 sec, let me post my xml Jul 30 22:25:02 is there a safe way to make my activity wait for 3 seconds before running the finish() ? Jul 30 22:25:22 Bleeptech sorry, had to reboot. but yeah, i don't use asynctask. no idea Jul 30 22:25:26 i tried Thread.sleep and it stops everything, as expected (the view has animations so) Jul 30 22:26:01 Linkandzelda: Handler#postDelayed Jul 30 22:26:23 g00s: I think I got it licked.. Other than the error handling.. At leasts it's closer to working.. ROFLMAO Jul 30 22:27:09 this os my XML .. http://pastie.org/private/rzfaabbix3cd8bj0q6y2w .. when I add a fragment to the framelayout, it won't display in front of an existing fragment on the linearlayout Jul 30 22:28:31 deleet: Sorry, not up to figments, Er Fragments yet. :) Jul 30 22:28:45 thanks Jul 30 22:29:13 Bleeptech: this applies to any view, I can see in the hierarchy viewer that the framelayout is under the linear Jul 30 22:29:17 * Bleeptech is still fighting json parsing and asynctask. Jul 30 22:29:30 Bleeptech: Jackson is your friend Jul 30 22:30:10 pfn you alive after the dentist appt? awfully quiet from that corner. still have your teeth ? Jul 30 22:30:20 deleet: 1. not much point in using RelativeLayout 2. Yes it will Jul 30 22:30:54 deleet: ROFL.. Had a Cobol Programmer 25 years ago tell me that Jack Daniels was my friend.. :D Jul 30 22:31:04 taking a little break to play some lol Jul 30 22:31:30 ive got a question about intents, its probably easy since im new to the language. im trying to get the power source (USB or AC) from intent.getIntExtra(BatteryManager.EXTRA_PLUGGED, -1). it's not returning anything but the default value, -1. Jul 30 22:31:55 i think its either asychronous or im doing something wrong Jul 30 22:32:02 Bleeptech: every time I look at it I'm already so wasted it reads Jackson.. so Jackson it is Jul 30 22:32:04 PlDev: are you registering a receiver for the right action? Jul 30 22:32:36 SimonVT: both linearlayout and framelayout are using the same screen space, I don't think I can do that with a linear parent Jul 30 22:32:51 PlDev: read this > http://developer.android.com/reference/android/content/Intent.html#ACTION_BATTERY_CHANGED Jul 30 22:32:52 Napalm, I registered a receiver for ACTION_POWER_CONNECTED, which calls my intent Jul 30 22:33:11 PlDev: what do you mean "calls my intent"? Jul 30 22:33:29 deleet: But you could do it with a FrameLayout Jul 30 22:33:29 pfn: don't do it man, bronze is hard Jul 30 22:33:30 JesusFreke, as I said I'm new to Java programming Jul 30 22:33:39 deleet, bronze forever Jul 30 22:33:43 I thought FrameLayout was only to have one child Jul 30 22:33:47 * pfn is never getting out of bronze Jul 30 22:33:47 you should be able to use getIntExtras on the broadcast intent that your broadcaste receiver receives, for the ACTION_BATTERY_CHANGED action Jul 30 22:33:53 deleet, framelayout can have as many children as you want Jul 30 22:33:56 PlDev: if you want EXTRA_PLUGGED then you must register for ACTION_BATTERY_CHANGED Jul 30 22:34:02 Anyway, views are added to the viewgroup in the order they are defined in xml.. The last added view is drawn on top of the other Jul 30 22:34:02 deleet, they just get laid out atop each other Jul 30 22:34:05 * deleet got dropped to bronze after climbing to silver and not playing for a month Jul 30 22:34:12 ooo, that's helpful. Jul 30 22:34:16 thanks guys Jul 30 22:34:23 you can use it as a poor man's relative layout Jul 30 22:34:29 use layout_gravity and the layout_width/height Jul 30 22:34:33 yeah, that's exactly what I want Jul 30 22:34:39 deleet: i said that earlier Jul 30 22:34:47 so you can center, center top/right/bottom/left/corners Jul 30 22:34:57 Napalm: but you're famous :P Jul 30 22:35:01 evanc: i dont understand Handlers one bit lol Jul 30 22:35:03 lol Jul 30 22:35:06 but yeah, I just saw, thanks Jul 30 22:35:33 deleet, I got up for silver promotion like 4 or 5 times and got trolled every single time Jul 30 22:35:38 right im outta here, catchya later Jul 30 22:36:11 pfn: I can't win anymore, I'm like -13 and I get people from bronze V Jul 30 22:36:22 so stuck on Bronze I forevahhh Jul 30 22:36:44 * pfn goes and pulls a shot of espresso Jul 30 22:36:45 yummy time Jul 30 22:36:47 -13 games that is (lost-13 = win Jul 30 22:37:06 thank you very much for the input, Napalm|afk and JesusFreke Jul 30 22:42:16 alright, winning, new release time! Jul 30 22:45:03 proguard 4.10 is out Jul 30 22:45:26 but from what i can tell, the gradle tools pull in some specific version; not the one in the sdk folders Jul 30 22:58:19 mmm, espresso, so yummy Jul 30 23:00:43 gradle pulls it in via mavencentral Jul 30 23:00:59 or I would assume that it does Jul 30 23:07:52 hm, can I align 2 textviews left and right respectively inside the same linear layout (horizontal) ? Jul 30 23:08:06 textAlignment="end" seems to do nothing Jul 30 23:08:24 What exactly do you want to do? Jul 30 23:08:39 |text1: text2| Jul 30 23:08:50 text1/text2 are two different textviews Jul 30 23:09:10 Try gravity="left" and gravity="right Jul 30 23:09:11 " Jul 30 23:09:28 yeah, I haven't tried that yet, was going to, thanks Jul 30 23:11:30 sampullman: excellent, thanks Jul 30 23:11:39 no problem Jul 30 23:15:25 Hey Guys! I dont know how to install API's after downloading it from the SDK..can someone explain? Jul 30 23:16:50 Please Someone Help? Jul 30 23:17:08 tripplemin1: it's explained in d.android.com Jul 30 23:17:48 is it easy to do? Jul 30 23:18:52 (bankai_)Because sometimes the Instructions arent very clear to me... Jul 30 23:20:26 like you downloaded them in the sdk manager? Jul 30 23:20:57 you checked the boxes and clicked install packages? Jul 30 23:22:48 canadiancow, dropping su in /system/bin lets me adb shell su Jul 30 23:22:52 canadiancow, fyi Jul 30 23:23:43 i downlaoded them but i dont know how to implement them into my app.. Jul 30 23:23:45 tripplemin1: What exactly do you mean by "install API's"? Are you trying to run an emulator? Jul 30 23:24:12 No lets say for example i download the google maps API and then how do i add it to my app? Jul 30 23:24:37 hi Jul 30 23:24:46 tripplemin1: Have you checked out http://developer.android.com/google/play-services/maps.html ? Jul 30 23:25:11 ya but i dont understand the docs....l Jul 30 23:25:22 that's a very broad issue Jul 30 23:25:28 tripplemin1 try harder. its an intelligence test Jul 30 23:25:48 is there a away to make android handle memory more like a plain old linux distro (like ubuntu) ? Jul 30 23:25:50 awkay...and since im downloading the samples ill learn from them Jul 30 23:26:02 also my samples dont work... Jul 30 23:26:07 crash on startup... Jul 30 23:26:25 ShapeShifter499: such as ? Jul 30 23:26:31 ShapeShifter499 yeah, use ubuntu phone Jul 30 23:26:37 ... Jul 30 23:26:46 TrivialDrive Jul 30 23:26:57 ShapeShifter499: no, there's no way to make android leak memory Jul 30 23:27:11 and bluetooth chat Jul 30 23:27:17 but they're the only ones i tried Jul 30 23:27:25 and android-studio shows errors in them Jul 30 23:27:32 what are the errors? Jul 30 23:27:32 On my ubuntu system if ram is low things get pushed to compressed ram (zram), if low mem continues it gets pushed to swap. On my android system with the same setup if ram is low it just crashes pushing little to zram and swap before doing so Jul 30 23:27:55 they're ridicoulous and even i noe theyre not wrong but they show up as errors Jul 30 23:28:01 such as the onCreate() Jul 30 23:28:05 ShapeShifter499: swapping on mobile devices is bad, you don't want to do that. Jul 30 23:28:09 (also, you can't.) Jul 30 23:28:12 which is as i checked defined and written Jul 30 23:28:27 RyanM, why was it setup like that? Jul 30 23:28:49 at least they could put in better support for ram compressing methods like zram Jul 30 23:28:59 they being google and others Jul 30 23:29:08 Short answer: Because RAM is fast and I/O is slow on mobile devices. Also because flash has limited write cycles. Jul 30 23:29:25 please answer my question... Jul 30 23:29:30 As for zram: because that would decrease performance for little gaihn Jul 30 23:29:40 tripplemin1: you haven't asked a question Jul 30 23:29:58 on multi-core systems one to donate a core or two just to increasing ram Jul 30 23:30:14 (RyanM)? Jul 30 23:30:20 tripplemin1: post the errors on pastebin.com or something, we can't see your screen Jul 30 23:30:31 oh forget it.... Jul 30 23:30:57 RyanM: look what you did! Jul 30 23:31:09 I'm pretty sure that tripplemin1 is doing the idiot troll Jul 30 23:31:17 (this is why "I'm having errors I don't understand and I don't understand the documentation either" is a bad question) Jul 30 23:31:25 (in addition to not being a question) Jul 30 23:31:55 evanc: I'd believe it if I didn't know people like that in real life ~_~ Jul 30 23:32:09 RyanM: SimonVT says he's been doing that all weekend Jul 30 23:32:19 ah. well then. Jul 30 23:38:07 cant type in editext in popup window Jul 30 23:39:56 must be easy, right? Jul 31 00:01:19 what is bin/R.txt? Jul 31 00:02:49 I did a project clean and this bin/R.txt is erased. Then doing a build regenerates bin/R.txt. What is regenerating the bin/R.txt ... and where does the information in the bin/R.txt come from? Jul 31 00:03:22 roadfish: Not R.java? Jul 31 00:04:02 Ok, I also see R.java ... hmm, I wonder if R.java is used to regenerate bin/R.txt. Jul 31 00:04:55 roadfish: During a clean, the R.* attributes are regenerated. I'm not familiar with the R.txt part, though Jul 31 00:05:02 could it be something from res/raw/? do you have such a folder? Jul 31 00:05:45 it sounds like a "raw" (non-compiled) resource? Jul 31 00:06:23 No there is no raw in this project ... is DSLV, short for DragSortListView Jul 31 00:07:20 I notice that the R.java is located at: demo/gen/com/mobeta/android/demodslv/R.java Jul 31 00:07:51 Also, Eclipse says that stuff in gen is "[Generated Java Files]" Jul 31 00:08:28 So I am guessing that I shouldn't be editing R.java. It is editing R.java ok ... or is it a bad idea? Jul 31 00:10:17 baaad Jul 31 00:10:49 ok, I'm starting to get what is happening. There is in R.layout.list_item_handle_left ... and I see demo/res/layout/list_item_handle_left.xml Jul 31 00:10:59 do not touch R.java Jul 31 00:11:23 R.txt is generated for exporting libraries Jul 31 00:11:29 it is not used for anything else Jul 31 00:11:51 I was grepping the code to find were list_item_handle_left was. But it is only in R.java (and bin/R.txt). list_item_handle_left.xml is a file name. Jul 31 00:11:53 why do you care what R.txt is? just ignore it Jul 31 00:12:14 roadfish, everything in res/ gets converted into variables in R Jul 31 00:12:17 The only reason I care is because I am trying to get the demo code work in my app. Jul 31 00:12:43 But now I think I know what I need to copy in my app. I need to copy this list_item_handle_left.xml layout Jul 31 00:13:06 Ok, good. You've helped me avoid doing something stupid. Thanks. Jul 31 00:13:20 Or, actually, stopped me from doing more stupid things. Jul 31 00:18:01 Hey guys, for some reason myViewPager.getCurrentitem() always returns 0. Is there any way to fix this? I have updated my support libray Jul 31 00:27:17 ollienx: It's not supposed to do that, can you post your code? Jul 31 00:27:58 well it's 800 lines in this class alone, but if you can tell me what part of the code you wnat, I can give it to you Jul 31 00:28:07 do you want where the viewpager is defined? Jul 31 00:28:16 or where I'm getting the item? Jul 31 00:29:46 Getting the item is just toasting it Jul 31 00:29:52 Toast.makeText(MainActivity.this, String.valueOf(answersList.indexOf(theCardFrag.message)),Toast.LENGTH_SHORT).show(); Jul 31 00:30:04 wait, wrong toast Jul 31 00:30:26 Toast.makeText(MainActivity.this, String.valueOf(pager.getCurrentItem()),Toast.LENGTH_SHORT).show(); Jul 31 00:32:27 It's hard to say. Have you tried setting a SimpleOnPageChangeListener and testing whether it's onPageSelected gets called? Jul 31 00:32:36 *its Jul 31 00:32:44 it's was correct Jul 31 00:33:10 no the second one Jul 31 00:33:12 oh ok Jul 31 00:33:14 How - can we have Android VPN client to make IPSec bridge with FreeBSD or Cloud servers? Possible to do it with JavaScript triggering. Jul 31 00:33:15 and uuuh Jul 31 00:33:34 I don't have a SimpleOnPageChangeListener Jul 31 00:33:37 I haeve a normal one though Jul 31 00:34:09 oh right, i forgot what's normally used. does it work? Jul 31 00:34:21 just aput a toast in there Jul 31 00:34:24 to test Jul 31 00:34:55 yes it's being called Jul 31 00:35:10 however the argument (int i ) is Jul 31 00:35:10 1 Jul 31 00:35:13 every time Jul 31 00:35:20 wait no it's not Jul 31 00:35:20 shit Jul 31 00:35:29 well, guess I can just use that then, haha. Jul 31 00:36:07 but it is being called Jul 31 00:36:34 That's what I was going to say, just use that to update a variable. However, the getCurrentItem() issues may be parted of some larger problem Jul 31 00:36:41 yep Jul 31 00:36:41 *part of Jul 31 00:36:45 sheesh I'm tired Jul 31 00:36:48 no idea what's up with them Jul 31 00:36:54 hey man, aren't we all? :P Jul 31 00:48:31 how do I get at my google now search history Jul 31 00:48:39 I identified some songs, and now I want to find them.... Jul 31 00:51:23 so... how can I get the program to wait for AlertDialog input before proceeding? Jul 31 00:51:36 you don't Jul 31 00:51:38 you use callbacks Jul 31 00:51:59 I hope 4.3 speeds up the galaxy nexus Jul 31 00:52:05 * pfn twiddles thumbs for verizon's terribly slow ass Jul 31 00:52:30 Does anyone know of a way to speed up ListView.setAdapter()? It's pretty slow right now, and I'm not even working with that much data Jul 31 00:53:05 setAdapter isn't slow Jul 31 00:53:05 Linkandzelda: The hacky way would be a while loop. I'm not sure of the correct way Jul 31 00:53:23 cheese1756: your adapter might be slow Jul 31 00:53:35 cheese1756: post your getView Jul 31 00:53:56 pfn: probably not much. the only change i noticed is new better roboto Jul 31 00:54:16 Linkandzelda, never use a while loop to wait Jul 31 00:54:17 period Jul 31 00:54:17 funkbox: Ah, that reminded me. I probably shouldn't be scaling Bitmaps in the adapter... Jul 31 00:54:22 pfn cheese1756 I have a class that creates a dialog inside the constructor, which has an onclicklistener attached Jul 31 00:54:28 cheese1756: sweet jesus, yeah. htere you go Jul 31 00:54:56 funkbox: This means restructuring the database for a deadline tomorrow, but it's worth it. Jul 31 00:55:15 It only adds about 200ms, though, which is the odd part Jul 31 00:55:23 But that's pretty significant Jul 31 00:55:56 Linkandzelda: Why not just refuse to do anything onClick unless data has been entered? Jul 31 00:56:27 i dont know how to do that Jul 31 00:56:54 Linkandzelda: You have an onClick method, right? Jul 31 00:56:59 yes Jul 31 00:57:19 if (input != null) in your onClick, then Jul 31 00:57:27 Unless the situation is more complex than I realize Jul 31 00:58:28 Linkandzelda: Of course this varies by the situation, and Strings you should be checking !input.equals(""), but you get the gist Jul 31 00:58:32 Are you new to Java and Android? Jul 31 00:59:01 ugh, searching for songs from google now doesn't sve them to history, that's friggin' annoying Jul 31 00:59:05 activity's onclick creates an object which creates a dialog, the original activity keeps going to retrive data from the object it created before it can show Jul 31 00:59:17 and cheese1756, i have a fair concept of java, but im new to android Jul 31 01:00:12 I spent most of my time with C++ so this new event driven aproach will take a while to get used to Jul 31 01:00:19 please, don't overexaggerate, you have a very weak understanding of java Jul 31 01:00:36 your time with C++ also is minimal Jul 31 01:00:45 pfn on what grounds do you say that? Jul 31 01:00:54 you have no concept of event-driven IO at all Jul 31 01:01:00 Linkandzelda: How long have you been working with Java and C++ for? Genuine question so I can guage the problem Jul 31 01:01:24 well I was able to achive 92% on my java university course Jul 31 01:01:25 Linkandzelda, and that is a core concept regardless of language Jul 31 01:01:30 I'm rebuilding my dev machine from scratch & wanted to know if it's still advisable to use Java6, or if Java7 would work just as well now? Jul 31 01:01:31 ive been using c++ for 2-3 years Jul 31 01:01:40 Rescue9, doesn't matter, either Jul 31 01:01:46 Linkandzelda: Sounds fine to me Jul 31 01:01:50 pfn: thanks Jul 31 01:01:51 Rescue9, just be careful when signing jars with java7 Jul 31 01:01:56 Rescue9: Java7 is backwards compatible, so you will have no issues Jul 31 01:02:02 Besides signing Jul 31 01:02:09 cheese1756: thanks Jul 31 01:02:13 i might not understand core concepts like that becuase I'm using to game dev Jul 31 01:02:21 I'll research the signing jars issues Jul 31 01:02:37 it's not an issue if you use the standard methods for building Jul 31 01:02:41 only if you're signing manually Jul 31 01:02:42 used to* Jul 31 01:02:52 games have the same concepts Jul 31 01:02:55 you cannot block the event loop Jul 31 01:02:58 if you do, your game is shit Jul 31 01:03:04 unless it's a turn-based game, or something Jul 31 01:03:10 win32 had the same concept :P Jul 31 01:03:16 *everything* has the same concept Jul 31 01:03:35 no of course, but this intent stuff, handlers, runnables etc, its all new to me xD Jul 31 01:04:34 runnables are core to basic java Jul 31 01:04:50 well i was never taught them Jul 31 01:05:01 Linkandzelda runnable are like functors that go on another thread Jul 31 01:05:12 they're thunks Jul 31 01:05:12 intent is dynamic dispatch Jul 31 01:05:18 nothing new under the sun :) Jul 31 01:05:52 fair enough Jul 31 01:06:09 im used to intents now, they are pretty cool Jul 31 01:06:50 unfortunately, the contract enforcement is too loose Jul 31 01:07:51 guess what im getting at, with my c++ games the code would execute always in a procedural fashion Jul 31 01:08:36 Linkandzelda, you ever find the triforce? Jul 31 01:08:47 yea, all 3 pieces Jul 31 01:08:50 lol Jul 31 01:11:15 http://pastebin.com/birMkQBs heres a code snippet from what I was talking about earlier. constructor of FileChooseDialog makes an AlertDialog with an onClick attatched, but that doesnt stop this onClick from carrying on Jul 31 01:11:39 kjeldahl so, i was entertaining the idea of writing a gradle / ragel plugin, and now i think i understand what you were getting into. it seems like i can't really make a reusable plugin because its would need to be so specific to the android plugin, based on how it compiles code Jul 31 01:11:48 i vaguely understand why, I just dont know how to solve it Jul 31 01:13:24 kjeldahl so it would basically be an android-ragel plugin Jul 31 01:13:47 * pfn laughs at the silly gradle problems :p Jul 31 01:14:19 pfn :P Jul 31 01:14:37 i dont mind exploring though, i'm usually open minded Jul 31 01:15:27 maybe we could petition google to drop their shitty gradle stuff and put their weight behind the maven plugin :) Jul 31 01:16:20 if the maven plugin would do aars i'd just use that Jul 31 01:16:37 meanwhile, my old ant build still works fine :| Jul 31 01:16:45 fuck it, batch files ! Jul 31 01:17:18 boohoo, maven doesn't do aar :p Jul 31 01:18:48 i wouldn't be surprised if they add it Jul 31 01:22:31 how nice, local radio stations post their playlists online, that's handy Jul 31 01:28:54 pfn cheese1756 http://pastebin.com/u3BTR9RL this is the adapter that handles its on onClick but doesnt seem to actually have an onClick Jul 31 01:42:11 pretty interesting http://www.theverge.com/2013/7/30/4570582/android-fragmentation-graphics-july-2013 Jul 31 01:43:06 the only fragmentation i generally worry about is OS version; although i wished google's tools helped design apps of different screen sizes more Jul 31 01:43:24 wonder if anyone has done an article on the terrible fragmentation on our roads - so many manufacturers, so many models... Jul 31 01:44:12 Leeds denying the problem does nothing to help ;) Jul 31 01:44:26 generally , the people here don't seem to care much Jul 31 01:44:38 they all have slightly different dashboards... the seats aren't exactly the same shape... some of them have more seats than others! How anyone can drive, or build a parking facility, or service or fuel the ridiculous selection of road vehicles Jul 31 01:44:56 some have 2 wheels, some have 4 - a few have *more than 4* Jul 31 01:45:13 Leeds it would more like: your engine is not compatible with the gas we sell now Jul 31 01:45:14 frankly, it would be much easier if everyone just drove black Model Ts Jul 31 01:46:20 no, you're right, and every single road vehicle uses identical fuel as well Jul 31 01:49:44 07-31 01:47:28.595: E/AndroidRuntime(1380): java.lang.RuntimeException: Binary XML file line #3: You must supply a layout_height attribute. Jul 31 01:49:45 lies! Jul 31 01:49:48 I do have layout_height in there Jul 31 01:50:17 uh oh, your sbt plugin messed up ! Jul 31 01:50:21 :P Jul 31 01:50:48 has nothing to do with sbt Jul 31 01:50:55 just kidding Jul 31 01:51:28 oh, wrong file, was looking at layout-large, not layout Jul 31 01:52:40 hot, actionbar goodness Jul 31 01:54:44 ok here we go http://stackoverflow.com/questions/17960333/android-inner-onclick-listener-not-triggering Jul 31 02:02:51 why is it so hard to display 2 dialog boxes in a row Jul 31 02:06:24 is it even possible? Jul 31 02:06:44 Linkandzelda thats terrible UI. screw that Jul 31 02:07:00 whats bad about it? Jul 31 02:07:10 dialogs are the ghettos of UI design Jul 31 02:07:24 it works fine when this stuff is a separate activity Jul 31 02:07:30 but dialogs, no no no Jul 31 02:07:49 why not just have them as fragments and present them side by side ? Jul 31 02:07:57 if you really need side by side Jul 31 02:08:14 dont need them side by side Jul 31 02:08:19 I just need 2 in a row Jul 31 02:08:31 like one pops up, goes, followed by another Jul 31 02:08:32 you mean one appear, then the next appears after dismissed Jul 31 02:08:34 that's so easy Jul 31 02:08:36 I'm assuming he means they appear sequentially Jul 31 02:08:36 show one Jul 31 02:08:38 yea, that Jul 31 02:08:41 when onclick of one is done, show the other Jul 31 02:08:46 how is that hard? Jul 31 02:08:49 yes pfn, but it doesnt work Jul 31 02:08:52 of course it works Jul 31 02:08:54 you're doing it wrong Jul 31 02:09:02 mind showing me a nice sample? Jul 31 02:09:26 maybe a wizard is better Jul 31 02:09:28 i just worked out that my FileChooserActivity has it's own onClick Jul 31 02:09:35 like when you set up your email account Jul 31 02:09:37 new AlertDialog....setPositive....(new OnClickListener { new AlertDialog.... }).show() Jul 31 02:10:18 builder.setAdapter(listedFiles, new DialogInterface.OnClickListener() { public void onClick(DialogInterface dialog, int item) { Jul 31 02:10:45 i never used the setPositive method before, does ti work for ListView? Jul 31 02:11:33 you use the appropriate method for whatever you're doing Jul 31 02:11:38 same concept Jul 31 02:12:08 well my onClick works within the chooser, just not when I call it from within another onClick Jul 31 02:12:21 now im back to code continuing without waiting for input Jul 31 02:13:57 ok pfn, how do I handle that situation? Jul 31 02:14:25 my fileChooser has its own onClick Jul 31 02:14:47 the dialog is shown upon object creation, with onclick set at the same time Jul 31 02:16:41 wtf is onClick Jul 31 02:16:44 stop using that garbage Jul 31 02:18:32 then what should it be? Jul 31 02:18:41 please be a little more constructive Jul 31 02:18:56 set the click listener on each view directly, not in xml Jul 31 02:19:21 im not using xml for this view, and I didnt know you could set listeners in xml lol Jul 31 02:19:57 well i am using xml but its just a simple TextView for each row Jul 31 02:19:57 then stop calling it onClick Jul 31 02:20:05 but its called onClick Jul 31 02:20:13 it's not, it's a click listener Jul 31 02:20:38 then why is the method called onClick(View view) Jul 31 02:21:04 um, is gmail fucked up? i can't log in Jul 31 02:21:09 (from the web) Jul 31 02:21:52 mine's fine Jul 31 02:22:20 weird; the newest chrome won't let me, but FF does O.o Jul 31 02:22:33 haha Jul 31 02:22:39 chrome just updated today, wut Jul 31 02:22:51 update notes : broke gmail Jul 31 02:24:57 i need to migrate off gmail Jul 31 02:25:07 last google service i use Jul 31 02:26:14 * pfn just migrated to gmail... Jul 31 02:26:18 works wonderfully for me Jul 31 02:26:38 pfn what were you using before ? Jul 31 02:27:04 zimbra Jul 31 02:28:52 yeah, i dont understand this. just blasted my chrome install, reinstalled, and it doesn't log into gmai. but ff is ok Jul 31 02:28:59 no plugins Jul 31 02:32:46 * pfn headscratches Jul 31 02:33:02 wtf is my actionbar spinner nav not honoring my baseadapter's getItemViewTypeCount Jul 31 02:34:34 pfn: screw dialogs, i'll leave this as an activity until I know what im doing Jul 31 02:47:18 pfn lets say you wanted to write a configuration file for your app in some micto format (not xml). but in one place it needs to reference Resources so like "1,2,3,@string/foo" might be one line / record. can you think of a way to do this ? Jul 31 02:47:38 *micro Jul 31 02:47:59 as far as parsing goes, referencing the string resource Jul 31 02:48:19 reflection, basically Jul 31 02:48:40 generate a table of string values to id values Jul 31 02:49:26 i guess i could use Resources.getIdentifier() Jul 31 02:54:15 well, that was painless Jul 31 02:54:22 have everything running ok on appcompat-v7 for qicr **** ENDING LOGGING AT Wed Jul 31 02:59:58 2013