**** BEGIN LOGGING AT Wed May 29 02:59:58 2013 May 29 02:59:59 hi wonton May 29 03:00:03 what game loop May 29 03:00:07 is that for games May 29 03:00:12 i wanna learn that too May 29 03:02:25 Never clean your keyboard before removing the USB dongle. xD May 29 03:02:48 I was in a strange place and the folders were half the size of the screen... May 29 03:03:14 Anyway, I mean a basic loop which iterates over a list of tiles to run the gaim. The main loop of the game. May 29 03:04:13 *tiles/objects *game. May 29 03:05:33 wonton google game loop/engine/design and you will find lots of amazing stuff May 29 03:10:14 I have googled, I have books, I have taken computer science classes... I understand it conceptually and can see the character jump in my head. I see the list of objects, I see the one for the character, I follow it down, there's a state machine for facing left/right... there's... there's.... and there it gets uncelar. May 29 03:10:19 *unclear. May 29 03:10:29 It's the low level implementation that escapes me. May 29 03:11:04 your lucky you are programming in android May 29 03:13:44 you're* May 29 03:14:49 Heh... I've written java programs before... lucky doesn't apply. XD I am, however, glad for the improvements made over java, though, unfortunately, without something like bluestacks, I find myself trying cross platform solutions like Unity3d. May 29 03:14:59 I have the funnest platformer game design. May 29 03:16:12 Anyone have any good suggestions for books on learning development for android? I just finished Head First Java and would like a good book specifically about android dev... May 29 03:16:39 I've created a few apps on android (not great or complex ones) so i'm not a complete beginner but might be good to start from the beginning... May 29 03:21:10 Might be better to just port the app. If you're going the Java/Dalvik route, from what I can tell the user interface is divided into standby mode, with initialization and a closing function, as well as a main section, so 4 sections (though, I've probably horribly botched the names). Basically, you'll be discarding a lot of Java UJI stuff you learned. May 29 03:21:27 I'd google 'android for java developers'. May 29 03:22:09 just to clarify : the best way to use Holo at my AlertDialog is with HoloEverywhere ? May 29 03:23:16 no May 29 03:23:31 the best way would be to make your own dialog theme that looks the same on all API levels May 29 03:32:10 JakeWharton: wai? May 29 03:34:17 hai May 29 03:34:57 wai May 29 03:35:10 dai May 29 03:35:22 sigh May 29 03:36:32 bai May 29 03:36:55 hi is there a boolen value i can check to see if my app has been granted superuser that way i can disable options if my app was denied superuser? May 29 03:40:36 t4nk559: http://su.chainfire.eu/ May 29 03:40:53 t4nk559, http://lmgtfy.com/?q=android+check+for+root+stack May 29 03:42:07 ladies May 29 03:42:14 and gents May 29 03:48:41 i think this is the answer i was looking for RootTools.isAccessGiven() May 29 03:49:16 t4nk559, personally, i have a rootclass that checks all known methods of root checking May 29 03:49:29 and i think thats what RootTools.isAccessGiven() does May 29 04:00:25 does android studio have the activity wizard where you can pick the navigation type and such? May 29 04:00:51 ew. May 29 04:01:24 i want to see an example of master/detail with optional tablet support May 29 04:01:32 that was one of the options under eclipse May 29 04:02:04 I have JAVA_HOME, JDK_HOME and PATH environment variables all set to /jdk/bin and Android Studio still asks me to locate JDK on start May 29 04:02:20 Anxi80: Windows 7? May 29 04:02:29 Ubuntu May 29 04:02:51 don't set to bin May 29 04:02:55 just to jdk dir May 29 04:03:05 at least, that's how i have it on win7 May 29 04:03:12 hmmm ok let me try May 29 04:03:20 if some xml references something with @color/yellow1 where would I defined that? May 29 04:03:35 Xabster: under res\xml probably May 29 04:03:35 i tried making a color.xml file in res/values folders but that wasn't it I think May 29 04:03:50 no such folder May 29 04:04:14 ctrl+click it if you're in Android Studio May 29 04:04:42 are you trying to locate the def or make it? May 29 04:04:47 the file must be named colors.xml not color.xml May 29 04:04:54 ... May 29 04:05:02 no... its Color.xml May 29 04:05:15 in your res/value folder May 29 04:05:18 colours.xml May 29 04:05:18 res/value should be fine May 29 04:05:47 no it's not May 29 04:05:51 it's colors.xml May 29 04:05:54 with small c and no u May 29 04:05:56 oh nice May 29 04:06:07 lol alex_PP, programmers have standardized on webster's shortened version of english, more efficient May 29 04:06:30 that's a terrible thing... that implied s May 29 04:06:39 @color should not be in colors.xml :/ May 29 04:06:45 same with @string and strings.xml May 29 04:06:55 Xabster, the file anems don't amtter May 29 04:06:58 *names matter May 29 04:06:58 Actually, it doesn't matter what the name of the file is... A common misconception of the Android framework is that the file names for various resources MUST have a specific name, which is not true. May 29 04:07:04 oh really? May 29 04:07:13 then how does it locate it? May 29 04:07:26 res/values/*.xml May 29 04:07:27 May 29 04:07:28 Jc_Dev to some extend thats wrong May 29 04:07:35 right? May 29 04:07:37 the tag you use defins its type May 29 04:07:49 *defines May 29 04:07:52 so essentially you can place it anywhere :) May 29 04:07:52 roh May 29 04:07:56 nevermind May 29 04:07:57 resources May 29 04:08:24 ah, gotcha May 29 04:08:29 i would name it to color.xml though without the s :) May 29 04:09:14 i usually have server.xml, colors.xml, constants.xml May 29 04:09:18 and strings.xml May 29 04:09:30 its the old singular vs plural naming convention argument again May 29 04:10:12 what happens when you need a plural version of news? May 29 04:10:22 newsses May 29 04:10:24 if the @color string literal/keyword is not mapped to to colors.xml, then i'd say plural is the better name May 29 04:10:26 i thought it was May 29 04:10:32 i could i could do @xabster/ May 29 04:10:44 then obviously the file should not be named xabsters.xml May 29 04:10:47 follow a specific format !!! for all naming conventions May 29 04:10:53 now you cleared that up, it makes a whole lot more sense May 29 04:11:41 gets scary when you have stuff like status vs statuses May 29 04:11:54 some non-native english speakers might just make it statuss May 29 04:12:41 stati? May 29 04:12:42 prefix with multiplicity syntax May 29 04:12:52 0..*color.xml May 29 04:13:11 statusi May 29 04:13:24 status!!!!11111.xml May 29 04:13:42 completeStatusEnumeration.xml May 29 04:13:56 better to follow common naming standards and not have to think of plural forms when coding to follow previous conventions May 29 04:14:19 one of the main points of even having coding conventions :) May 29 04:14:58 a convention of coders convened to contemplate code conventions May 29 04:17:19 Sphinx of black quartz, judge my vow. May 29 04:18:48 im in China right now and i cant seem to find a nailclipper!!! gahhhh May 29 04:23:20 somewhat amusing as i suspect every pair i own was made there May 29 04:24:32 just bite them like all other chinese people do ;) May 29 04:24:54 china scares the shit out of me May 29 04:25:08 from my very very limited knowlege of the place that I got from "an idiot abroad" May 29 04:25:29 has anyone done non-real-time multiplayer with play game services? May 29 04:25:44 im finding lots of docs and examples for single player and real-time multiplayer, but not for asynchronus multiplayer May 29 04:35:24 maybe you should write some then May 29 04:36:13 you write some May 29 04:36:23 your mom write some May 29 04:36:26 D: May 29 04:41:52 are the services basically just a distributed state machine for games? May 29 04:42:04 Jake, is it possible to style the tab bar for viewpager with actionbarsherlock? I have set both actionBarTabBarStyle and android:actionBarTabBarStyle but it doesn't take effect. It works for normal tabs without viewpager but not for the sample with viewpager May 29 04:42:06 canadiancow, im going to be working on one soon :) May 29 04:42:09 could you theoretically write a non-game on top of it? May 29 04:42:36 aisukurimu: what do you mean by "tab bar for viewpager"? May 29 04:42:49 PagerTabStrip? May 29 04:42:51 actionbar with tabs and viewpager May 29 04:43:26 i think the sample with a viewpager uses a TabWidget not the action bar tabs May 29 04:43:30 someone should probably fix that May 29 04:43:43 o yes, the example is using tabwidget May 29 04:43:48 sample* May 29 04:43:58 so it is not supposed to? May 29 04:44:40 eh, it doesn't *really* matter May 29 04:44:53 but like you said, they won't be themed May 29 04:45:09 hey jake thx for the info on wrapping the outputstream with bufferedoutputstream it helped. May 29 04:45:47 then what should i use? May 29 04:45:55 excellent. yeah you should almost never write directly to an input or output stream May 29 04:46:00 aisukurimu: use the action bar tabs May 29 04:46:17 DONT CROSS THE STREAMS May 29 04:46:40 oh and solupus RootTools.isAccessGiven() is working like a charm May 29 04:46:54 it should be ;) May 29 04:47:55 *an un-buffered input or output stream May 29 04:49:00 i can see why now because the time it takes to write is much faster now =) May 29 04:49:15 Solupus, an asynchronus game? May 29 04:49:22 oh for the love of god... why are there input/output streams May 29 04:49:25 instead of just streams May 29 04:50:29 if i read your description correctly, an asynchronus multiplayer game where its played in real-time... May 29 04:50:39 no May 29 04:50:40 well May 29 04:50:44 kinda May 29 04:50:55 but i want the communication to be totally asynchronus May 29 04:51:07 i want a player to be able to play a turn, leave the app, and come back and resume it May 29 04:51:10 its not limited by wifi? May 29 04:51:13 yea, thats what i mean May 29 04:51:52 canadiancow, https://play.google.com/store/apps/details?id=com.zynga.scramble&hl=en May 29 04:52:04 of course thats not mine. but something like that right? May 29 04:52:06 i wrote most of that game May 29 04:52:17 from a communication perspective, yes May 29 04:52:22 from a gameplay style, no May 29 04:53:37 you did?! nice! for my game the gameplay acts like this... 30 seconds to make a move or you get skipped. sort of like cartoon wars May 29 04:53:58 yeah mine is more like a board game May 29 04:54:01 i have a tablet on the table May 29 04:54:04 everyone has the app on their phone May 29 04:54:12 and they make their move on the phone, but it all shows up on the tablet May 29 04:54:39 ahh, thats cool May 29 04:54:50 but wouldn't it be easier to just make the tablet an observer? May 29 04:55:20 i dont know, im really just looking into what play game services has to offer May 29 04:57:26 ahh now i see what youre talking about. seems interesting May 29 04:57:38 a simple example would be monopoly May 29 04:57:41 you have a board (the tablet) May 29 04:57:48 but players can "roll the dice" on their phone May 29 04:57:59 and it asks if they want to buy a property, they click yes/no on thier phone May 29 04:57:59 etc May 29 04:58:11 canadiancow: the future May 29 04:58:31 hah May 29 05:26:56 that exceptional feeling when you finally figure out a bug May 29 05:27:11 and fix said bug :) May 29 05:28:15 and everytime you test said bug you feel a deep inner satisfaction knowing that you've just deducted more points from your game malfunctioning May 29 05:30:55 heh May 29 05:31:07 i've been chasing a bug through 5 libraries since noon May 29 05:31:15 so far not finding that. May 29 05:33:11 just wait until you fix it 1 hour from now, a day from now, or even a week from now May 29 05:33:21 :D you can do it! i believe in you! May 29 05:37:50 heh. we'll see. May 29 05:40:29 I spent 20 mins in my javascript code before I realized why that |Integer.toString(myVar)| wasn't going to work XD May 29 05:41:22 * capella needs to quit jumping around in different programming languages May 29 05:42:08 make a plugin for eclipse (hardcore mode). Each unsuccessful compile or crash = wipe :) May 29 05:42:17 capella, how many do you know? May 29 05:44:20 heh ... C / C++, Java, JS, regular basis .... out of style I used to use stuff like Basic, COBOL, 5 or 6 Assemblers, old-school RPG, Fortran, etc May 29 05:45:04 My Activity creates a SurfaceView. This SurfaceView has some primitive variables, ints and booleans etc. When I exit my app, I null the SurfaceView and call System.gc(). But when I restart it, it remembers all the values from the previous run. E.g. if I create an int counter = 1; and counter++, it keeps remembering that number. I don't get that. May 29 05:45:47 The Activity itself did it too, until I just I used super.onCreate(null); instead of super.onCreate(savedInstance). But how to prevent it for a SurfaceView? May 29 05:47:27 System.gc isnt needed .... Java will do GC when it needs to ... are you doing a finish() or |restart| some other way? May 29 05:48:38 I'm calling finish yes. May 29 05:48:46 Throw some Log.d("TAG", "msgFoo"); to logcat in your onCreate() or just use the debugger to step through? May 29 05:49:00 Cause thats weird May 29 05:49:02 I'm using logcat to output the values. May 29 05:49:21 System.out.println("Counter is now " + counter); May 29 05:49:50 Yes, very weird to me too. But there has to be some kind of explanation. May 29 05:52:45 Hm, no. My Activity doesn't do it, regardless of calling super.onCreate(null) or super.onCreate(savedInstance). It's just my SurfaceView class that keeps the values. May 29 05:53:49 But even if garbage collector isn't called, I have null'ed the object. So it shouldn't be able to re-locate it and re-use it, right? May 29 05:54:30 cant see your code .... somehow you're setting it to that value without realizing May 29 05:55:21 mr_lou: is your counter a static field? May 29 05:55:49 JesusFreke, No May 29 05:55:55 are you sure? :) May 29 05:55:59 Yup May 29 05:56:16 pastebin? May 29 05:56:17 I can easily clear it though. I just have to set it in the constructor. But I'm curious about this. May 29 05:56:26 Defining it outside the constructor as public int counter = 0; May 29 05:56:37 for the entire class, I mean May 29 05:56:38 Then inside the constructor: counter++; System.out.println("counter"); May 29 05:56:55 mmmm pastebin May 29 05:57:44 hi ? May 29 05:58:01 deeprogram: I don't think "hi" is a question :) May 29 05:58:06 is that a question May 29 05:58:09 hehe May 29 05:58:16 ha May 29 05:58:17 omg forget I was ever here May 29 05:58:17 OK May 29 05:58:26 it was static... May 29 05:58:28 * mr_lou hides May 29 05:58:31 mr_lou: ... ;) May 29 05:58:36 STATIC! May 29 05:58:36 I have "android.webkit.CacheManager not found"problem on android 4.2.x May 29 05:58:40 do you know why ? May 29 05:58:55 http://grepcode.com/file/repository.grepcode.com/java/ext/com.google.android/android/4.2.2_r1/android/webkit/CacheManager.java?av=f May 29 05:59:10 I found here is in android project May 29 05:59:25 JesusFreke: :) May 29 05:59:39 deeprogram: that doesn't appear to be a part of the SDK May 29 06:00:31 deeprogram: http://developer.android.com/sdk/api_diff/17/changes/pkg_android.webkit.html#CacheManager May 29 06:00:41 looks like it was removed in api 17 May 29 06:00:56 wow! May 29 06:00:56 Why ?? May 29 06:01:06 dunno. I'm not familiar with it May 29 06:02:06 I don't like that delete something May 29 06:02:12 the project is on 4.2.x and I can't compile it with 4.2.x May 29 06:02:26 strange May 29 06:04:17 deeprogram: it looks like it has been marked as deprecated for a while May 29 06:04:32 Yes May 29 06:04:43 since 4.0 it looks like May 29 06:05:10 the preview in Android Studio isn't too useful for me since i'm using adapters and fragments, so it just shows basically a blank view - is there any way to guide it so it shows more? May 29 06:05:21 In particular, the comment is "Access to the HTTP cache will be removed in a future release." May 29 06:05:25 "android.webkit.CacheManager was deprecated in ICS release, and the comments say support maybe removed in future." May 29 06:05:28 so it's not like it just went away without warning :) May 29 06:06:43 minSdk = 15 ! \o/ May 29 06:06:52 JesusFreke, I still thought the value would be gone though, static or not. I thought static values were only alive as long as the app was alive. May 29 06:07:13 mr_lou: the app's process is kept around in the background for a while May 29 06:08:04 but yes, once the process is actually killed, the static field would be reset May 29 06:08:15 JesusFreke so still doing any rom work at all? May 29 06:08:17 JesusFreke, Ok, good to know I'm not going completely insane. :) May 29 06:08:34 ron_frown: in a way ;) May 29 06:08:39 * mr_lou is off to work May 29 06:08:45 Thanks JesseC May 29 06:08:48 I mean JesusFreke May 29 06:08:49 work for le google? May 29 06:10:24 we all work for google :) May 29 06:11:00 and they're late with my paycheck May 29 06:14:57 zomg how long does it take the emulator to start up lol May 29 06:15:17 could have gone to store and bought a tablet by now May 29 06:21:20 the first time? a hell of a long time May 29 06:31:19 one more pill to kill the pain May 29 06:33:00 PillFactory.create() May 29 06:33:55 g00s you'd be surprised how linux -xOrg +wayland +weston +clutter performs =) May 29 06:34:08 cool ! May 29 06:34:40 man, i have to say - having gone through a lot of IBM code - from eclipse donations to WebSphere stuff - IBM writes the worst java code evar May 29 06:35:07 java just sucks =) May 29 06:35:26 I loved what was that app server? May 29 06:35:40 doesnt matter I thikn oracle snatched it up and slapped it with its big diseased weener May 29 06:35:42 they probably have like 30 May 29 06:36:29 i hate sloppiness like no attempt at formatting May 29 06:37:25 do I dare attempt to gut android from my given daily driver phone and install this os =) May 29 06:37:26 haha May 29 06:37:43 which os ? May 29 06:37:52 mine May 29 06:38:03 oh, no i wouldn't do it May 29 06:38:05 haha May 29 06:38:08 : May 29 06:38:11 theres a bunch of stuff already missing May 29 06:38:11 :) May 29 06:38:18 but come on now May 29 06:38:20 were did it go ? May 29 06:38:21 just to say I can May 29 06:38:39 well I dont have any ties into radio shit May 29 06:38:40 dialing etc May 29 06:38:53 is it going to be called ronOs or frownOs ? May 29 06:39:01 at this point its about as useful as ubuntu mobile May 29 06:39:02 OH SHITS May 29 06:39:04 I went ther +) May 29 06:39:19 dunno May 29 06:39:22 its not onna be about me May 29 06:39:35 its gonna be about a REAL opensource os May 29 06:39:44 mit that bitch May 29 06:40:22 hi all May 29 06:40:28 finally made the switch to intellij May 29 07:00:31 what's the difference between Accept and Accept license in http://d.pr/i/3N4l+ ? May 29 07:02:36 in that specific case, nothing May 29 07:02:48 but the first two, the sdk tools and support lib, are covered by the same license May 29 07:03:04 so you could accept the "sdk tools" license, or the android sdk license, which would cover sdk tools and support lib May 29 07:10:36 JakeWharton: can you help with ABS setup for android studio? May 29 07:13:30 I have a problem with list in alert dialog... I am changing the text of list items in onItemLongClick method, using the view I get as parameter. It work fine in 4.2, but on 2.3, after I select another item, it reverts to the previous text. Any idea hot fix that? May 29 07:24:57 i created a new project from the command line which made me set a build target id. but in the manifest i can find no reference to any build/api target. did it get stored somewhere else? May 29 07:25:47 thecodeischaos: have a look at the project.properties May 29 07:25:59 i get confused by that too, the manifest is for the market only, i think May 29 07:27:06 the manifest is only for the market, package manager and the android platform when installed. the version against which is build is determined in the project.properties with the target property May 29 07:29:23 normally the android:targetSdkVersion is set to the version you build against. since the version you build against is most often the version you test against. though it is not required for these both to be the same. You could also compile against api level 17, but leave the android:targetSdkVersion on 16, if you only have tested it against thta version May 29 07:30:34 i see. thanks. ill remember to change them both then.... and just to confirm, the integer in those 2 files is the api level -which is different to the "target id" i specify when creating the project via the command... the target id seems to change depending on what platforms i installed are on my sdk... so 2.1 was the lowest platform i installed on my sdk, so to use that i entered target id 1, as shown in May 29 07:30:34 my "android list targets" May 29 07:30:35 i read that over and over and still get confused :| May 29 07:30:36 i see May 29 07:32:14 thecodeischaos: see the project.properties. The '1' you entered is just so you don't have to type that much. in project.properties you will find a line 'target=android-7' May 29 07:32:47 that determines you want to build against api level 7, located in your /platforms/android-7/ May 29 07:33:17 you can also give the command line the target android-7 directly May 29 07:33:36 and btw it is recommended to build against the newest api level :) May 29 07:34:07 i thought it is best to build against the lowest ? or is there some kind of backwards support library now May 29 07:34:44 it is always recommended to build against the latest sdk version May 29 07:35:04 just set android:minSdkVersion in your manifest to what the lowest api level you want to support May 29 07:35:42 if you check with lint, it will warn you about code, that wasn't available on older platforms (that you want to support, so that are equal or heigher to minSdkVersion) May 29 07:35:57 but you might want to have some code in there, just for newer devices May 29 07:35:58 http://developer.android.com/training/basics/supporting-devices/platforms.html May 29 07:36:22 i see... so i guess i want to target api 17 in my propeties then... and api 7 in my manifet May 29 07:36:30 yeah May 29 07:36:34 ill give that a read too. thanks May 29 07:36:44 and besides there is a compatibility lib for nearly everything :) May 29 07:37:43 use the support library (http://developer.android.com/tools/extras/support-library.html) for stuff like fragments, dialogs, and several others and use actionbarsherlock (actionbarsherlock.com) for backward compatibility of the actionbar May 29 07:38:03 (that are the two most common backward compatibility libs you will need ) May 29 07:48:08 Yo May 29 07:48:26 Kmag donderdaag gaan soliciteren bij http://www.nanopixel.be/ May 29 07:53:14 euhm, gefeliciteerd May 29 07:53:22 Haha verkeerde venster ;) May 29 07:53:27 Excuseer May 29 07:53:37 i figured, desondanks feli :) May 29 07:53:48 Thanks! :D May 29 08:03:57 wut May 29 08:06:08 what is "key alias" ? May 29 08:11:37 hello! can anyone help me understand the internal storage? I am trying to recreate an exception where there is not enough space to put a database on the internal storage at program startup. i therefore copied masses of dummy data into the "/data/data/" folder on a rooted phone but it seems to have no impact on the size of the internal storage. i just can't fill the internal storage, but the files are there... what is the matter? i'm May 29 08:13:51 can I refer to "current theme colors", or do i always have to use my own drawables May 29 08:15:05 the default listview doesn't seem to have any visualization for a selected row, so i'm trying to set the selected row color to the same as the color it uses when you click on it May 29 08:18:26 hi, does anyone know where the sdk manager stores the downloaded content on mac os? I am using the adt bundle and run the manager from the location where I unzipped the package on my macbook May 29 08:18:54 problem is after the latest update eclipse has a totally different look. May 29 08:19:25 i downloaded the whole adt package again but running sdk manager from new locatio still sees my old downloads May 29 08:19:49 I moved the ~/.android directory. no idea what is stored in there May 29 08:20:13 so far this was working like charm. i never should have hit this update buton :/ May 29 08:24:44 Hi all, is there a way to customize the title of a spinner? May 29 08:25:00 I want it to have an image and text May 29 08:25:05 instead of just text May 29 08:36:31 wow ok i think i found it: @android:color/holo_blue_light as an example May 29 08:49:41 Good morning :) May 29 08:50:38 -.-! May 29 08:53:15 d May 29 09:31:52 people using Volley, any problems with it so far? May 29 09:32:00 where is issue tracker for it? May 29 10:21:21 Anyone know how often admob usually payout? its been a few months now May 29 10:32:00 I am looking for a way to disable the NFC notification sound while a user is in-call May 29 10:48:03 Ge0rG: i am getting a funny picture ; May 29 10:48:17 i guess the user has a headset ;) May 29 10:50:11 what is this channels consensus on android studio? May 29 10:51:18 monsti: just tell me how to do it, dammit! :P May 29 10:51:58 * Ge0rG wonders if he can get a reference to the NfcService somehow, so he can silence the playSound() May 29 10:55:02 balls2thewall, no such thing as consensus here. May 29 10:55:21 like it? use it. don't like it? tell it to your rubber ducky. May 29 10:55:56 maybe it has a hidden great feature im not aware of yet, just wondering May 29 10:56:32 rubber ducky FTW ! May 29 10:56:47 switching my environment from a shitty patch to a shitty ide (eclipse) to another shitty patch to another shitty ide(intellij) is a big step May 29 10:57:08 as I said, tell it to your personal rubber ducky May 29 10:57:17 if you don't like IDEA you're not gonnalike AS May 29 10:57:35 there's bunch of people here who happily use IDEA and will bite anyone bashing it though… which is kinda offtopic ;) May 29 10:57:59 balls2thewall i use both and like both May 29 10:58:11 it took like 30 minutes to get comfy with idea May 29 10:58:21 i must exterminate all ram May 29 10:58:33 the only thing is; there is no workspace; your project is the root thing which can have modules May 29 11:30:36 hallo, has any here worked with an IOIO board? May 29 11:30:37 I am trying to have an Activity execute in an Android app that spawns an IOIO service to push its results to hardware May 29 11:45:07 karlo|w: I used Volley on two projects last year May 29 11:45:31 it's stable and robust May 29 11:46:18 wasn't particularly happy with it's API so I ended up going with something else May 29 11:46:27 *its May 29 11:51:02 sounds good, thanks... will try it out May 29 11:55:55 hi guys. if i take a photograph of something, is it possible to determine how far away certain points of the photograph are? for example, i want to take a photograph of a wall in my house, from an angle, and then i want to somehow get a 3d representation of this on screen. in order to do this, i need to be able to determine how far away certain points of the wall are, so that i can model the points of my plane in 3d space May 29 12:02:35 does anyone have an idea why the "Preview" is getting black after the recording is done and keeps black on the display? Recording works only 1 time. http://pastebin.com/MD7k8c62 May 29 12:10:03 Hello ! May 29 12:29:40 holy crap GSON is slow May 29 12:49:47 is it possible to interrupt an ongoing notification sound from a different app, short of turning off the volume? May 29 12:52:05 Hi, I have two devices (phone & tablet) and want to create a simple note taking app that syncs between the devices...now I question myself do I use direct syncing between devices or do I use an inbetween server, I have a php & mysql server available May 29 12:52:33 what is recommended / the easiest way? can you point me to any online resource? thanks! May 29 12:57:36 JakeWharton, ? about Retrofit. I assume the object that gets returned from a simple GET operations must have fields that match what's in the http response? in order to translate it properly. May 29 12:59:03 Is there no way to prevent Android from keeping the app in the background a while after the user closes it, before Android kills it? May 29 12:59:26 mr_lou: there is a developer menu preference for that. but not on user devices May 29 12:59:29 mr_lou: you have to assume…"nope" May 29 12:59:40 why would you want that neways ? May 29 12:59:44 actually, there was something in the API for that May 29 13:01:12 StingRay_, To make sure there's no data left from the previous run, when you run the app again. May 29 13:01:31 bummer. if I silence the audio from my NFC activity, I still can hear half a second of that nasty sound. May 29 13:01:41 mr_lou: but cant you manager that yourself ? May 29 13:03:48 mr_lou: you could try Process.killProcess(Process.myPid()); May 29 13:04:17 but that is not a good solution for borked initialization and data management :P May 29 13:05:48 Thanks p_l. I'm gonna try that one. May 29 13:07:06 https://developers.google.com/maps/documentation/android/interactivity#my_location_button Can i "simulate" click on this button after my app start, eg. start map already zoomed to my location. May 29 13:08:18 p_l, That was exactly what I needed. Thanks. :-) May 29 13:08:26 alexfu: Yes. It uses GSON to deserialoze the response by default. May 29 13:09:04 JakeWharton, cool May 29 13:17:03 JakeWharton, is there a way to set request headers to specific operations? i.e. basic auth on POST operations only. May 29 13:18:19 I guess i could just keep a RestAdapter.Builder around and call create for each operation May 29 13:19:49 gson is so unbelievably slow for me May 29 13:20:04 i feel like i did something wrong. 5x slower than the json-smart based stuff i had prior May 29 13:30:02 alexfu: don't do that May 29 13:30:23 is there any harm in sending it for every request? even if it's not required? May 29 13:32:17 JakeWharton, I suppose not. We won't even be using basic auth for production anyway. May 29 13:53:17 I'm trying to add a Button to a custom Preference, but once I've added it (inside the widgetFrame) it seems to hijack all onclick events for the preference May 29 13:53:54 actually, it doesn't hijack, it just stops onClick() being called when I tap the preference view May 29 14:08:25 hi is this the channel for android development queries and issues? May 29 14:09:14 RohitAgr: what does /topic say? May 29 14:10:46 can't you give a straight answer for once? i am just trying to be courteous and not jump the gun and ask the question straight away May 29 14:13:30 RohitAgr: The topic says "Android application development" so the answer to your question is most likely yes, unless you mean developing android phones/firmware :) May 29 14:13:36 better? May 29 14:15:03 thanks..this is my first time using IRC, thats why i am a bit confused.. May 29 14:15:04 Hello! I can't seem to attach the debugger. Does this have to do with all these moved files? May 29 14:15:27 anyways.. i am trying to update a Fragment from its parent activity, but my code doesn't seem to work.. May 29 14:15:39 i have tried a lot of scenarios... any suggestions anyone? May 29 14:17:15 RohitAgr: post your code on pastebin May 29 14:17:41 RohitAgr: doesn't work is a bit vague, generally you find the fragment and call methods on it.. May 29 14:18:30 appel1: yes i am familiar, let me paste the code first May 29 14:19:39 Yo May 29 14:19:51 Anyone got a good method for clearning the back stack of fragments without showing any graphical change May 29 14:20:16 shmooz: heres my code for the activity class- http://pastebin.com/FMgiDg5h May 29 14:22:56 shmooz: and here's the fragment code - http://pastebin.com/cK0CiD8g May 29 14:23:10 if you want i can explain what i intend the code to do on pm May 29 14:25:49 how do you tell devices (and perhaps users) that there is a menu to be shown on click of the menu button ? (it's not appaering on devices with only soft buttons, it works on the one with hardbuttons May 29 14:25:58 hi all, we are developing an app in 4.2.2. we use a WebView which contains some large images. When we run the code for the first time, all is well. However on future run attempts the images in the web view are scaled or zoomed differently (much bigger) and it looks wrong. Can anybody help us to debug this? May 29 14:26:14 RohitAgr: so what happens? you dont find the event or map fragment in MapLongPressed? May 29 14:26:35 ikarus: My advice is to have the app start with features showing that are less intuitive May 29 14:26:51 so when the app launches, have the menu start in the shown position May 29 14:26:57 no, everything works fine.. but MapLongPressed sends a string in its argument which CreateEventFragment is supposed to show in the EditText field May 29 14:27:07 appel1: the UI doesn't get updated May 29 14:27:37 Brian|CB: but the soft button doesn't appear, what do I need to set to have that happen ? May 29 14:27:42 RohitAgr: the event fragment? May 29 14:28:05 object of the CreateEventFragment class ... May 29 14:28:06 RohitAgr: what does initPositions do? May 29 14:28:20 RohitAgr: and if you step through your code is it actually called :) May 29 14:28:40 appel1: yes everything works.. except the fact that UI isn't getting updated May 29 14:29:04 appel1: initPositions is supposed to send a a string to CreateEventFragment so it can update one of its EditText fields with the string value May 29 14:29:28 RohitAgr: and you've stepped through that code with the debugger and seen that it really does this? May 29 14:30:25 appel1: yes.. from what i have gathered so far, its not finding the correct view to update ..i can see correct values in LogCat .. May 29 14:31:35 ah, bingo, the menu button is only for legacy applications, so I'd either provide a button myself, use the move down bar or ? anyone have a nicer suggestion, I mean all the softbutton devices show that bar anyway, can't I add a button to that ? May 29 14:32:55 RohitAgr: perhaps if you pastebin the initPositions function? May 29 14:34:45 appel1: here you go : http://pastebin.com/j0PFnh6T May 29 14:34:59 ah, action bar appaerently May 29 14:38:42 RohitAgr: global variable? what if there are multiple instances of your activity and fragment? May 29 14:38:59 RohitAgr: why not use the Fragment.getView method to get the view in initPositions? May 29 14:39:58 appel1: i tried that also.. it returns null May 29 14:40:19 hey buddies May 29 14:40:39 i have a qucik question May 29 14:40:52 RohitAgr: you don't create the view in Fragment.onCreateView ? May 29 14:41:13 appel1: let me paste the onCreateView method also May 29 14:41:20 is there an Android/Google icon for "View History" ? May 29 14:41:30 like of a chat May 29 14:41:36 to try out the new game services, i made a little demo-game and therefore needed to create a gridlayout with multiple buttons dynamically added to it. Is there any possible way to distribute their sizes in a good and nice way? :P May 29 14:43:01 I have tried several things with GridLayout.LayoutParams but i mostly get sizes under 0 somehow... May 29 14:43:10 Aeefire: Weighting May 29 14:43:19 wait May 29 14:43:22 why are you using a grid layout? May 29 14:43:24 just use a rel layout May 29 14:43:26 with weighting May 29 14:43:30 :P May 29 14:43:35 have everything equally distribed May 29 14:43:41 appel1: http://pastebin.com/wYr7vpDH May 29 14:44:00 because i have a x*y grid as game May 29 14:44:13 that's why i thought GridLayout would be ideal :D May 29 14:45:14 i have tried params.setGravity(Gravity.FILL), but that didnt do the job... May 29 14:46:04 Aeefire: But what you're saying is you want a "matrix" of buttons right? May 29 14:46:05 gives me this http://i.imgur.com/Hf5hoqg.png May 29 14:46:07 yep May 29 14:46:16 well May 29 14:46:23 I have what I consider an interesting solution to that May 29 14:46:26 wanna see what it looks like? May 29 14:46:32 sure :P May 29 14:48:05 RohitAgr: for the fragment instance has onCreateView been called before you call initPositions? if it has, has onDestroyView been called? if the fragment's view has been created getView shouldn't return null. May 29 14:48:43 Aeefire: http://i.imgur.com/RdGbxQ2.png May 29 14:48:46 what do you think of that? May 29 14:49:20 it's a solution that is expandable to infinite rows/columns obviously, this weekend I'm going to work on a library for that solution May 29 14:50:08 ya nice, my main problem is that i have to calculate those sizes dynamically May 29 14:50:17 you can count the number of columns and divide 100 by that number to get the weight of each dynamic cell May 29 14:50:34 that's an idea May 29 14:50:34 mom May 29 14:51:18 appel1: onCreateView will be called each time i call add or replace method of the FragmentTransaction class and pass an object of CreateEventFragment class to it..i have tried to call it before and after calling the add/replace method May 29 14:51:29 appel1: call initPositions* i meant May 29 14:51:57 hmm May 29 14:52:08 but... what to set layout width/height of a button to? 0dp? May 29 14:53:37 Aeefire: you can divide the screenWidth by number of columns if you can't use weight May 29 14:53:55 to get the width May 29 14:53:58 Has anyone made us of the new google plus +1 buttons? calling performClick() doesn't seem to do anything May 29 14:54:04 Aeefire: You don't have to calculate sizes May 29 14:54:11 why would you have to calculate sizes? May 29 14:54:58 I'm trying to make a larger view clickable instead of just the tiny +1 button, but I presume google don't want to to be able to call performClick() on their button May 29 14:55:18 Which LayoutParams shall I use then? LinearLayout? GridLayout (which seems to miss a "weight")? May 29 14:55:27 Aeefire: Do you wanna see my xml? May 29 14:55:37 sure May 29 14:55:40 RohitAgr: if getView returns null something is wrong May 29 14:55:40 well May 29 14:55:46 awkwardly, I left that laptop at home today May 29 14:55:49 so like May 29 14:55:51 gimme 5 minutes May 29 14:55:51 the thign is, i am doing it programatically May 29 14:55:54 and I'll whip up an XML for you May 29 14:55:55 :D May 29 14:56:01 not in xml May 29 14:56:05 Aeefire: Why are you creating the layout programatically? May 29 14:56:12 because it's a game with variable gridsize May 29 14:56:14 also, you should be able to do anything you can do with an XML programatically May 29 14:56:50 not a game with variable gridsize i think, unless i create my own gridlayout which might be pretty much of an overkill for that... there has to be some easier solution lol May 29 14:56:56 Aeefire: well, hopefully once I have my library created for this, it'll make things like that infinitely easier May 29 14:57:20 it should be easy :D i am just missing something.. cannot be that this is so undoable.. May 29 14:57:41 Aeefire: K brb 5 min, switching PCs to write you an XML real fast May 29 14:58:59 RohitAgr: hmm, you're not mixing sdk and support library stuff are you? May 29 14:59:40 appel1: am not sure of that..but i dont think so May 29 15:00:02 RohitAgr: so it is the support library Fragment you inherit from? and the support library FragmentActivity? May 29 15:00:15 appel1: yes May 29 15:01:37 Hello colleagues. I am wondering why the SQLiteOpenHelper does not do a an acquireReference when the database is re-used. May 29 15:06:40 Aeefire: http://pastebin.com/G2ixe3cd is a quick example I whipped up May 29 15:06:43 I know its kinda convoluted May 29 15:06:50 butI'm gonna write a library to do that automatically this weekend May 29 15:07:20 Hi, aapt has moved location in the SDK, My IDE keeps looking in the old location, how do I fix this problem? I'm using Mac OS X May 29 15:07:54 The relativelayouts seems pointless May 29 15:08:04 both eclipse and intellij behave the same May 29 15:08:09 and look in the old location May 29 15:08:10 paranoid_denizen: ctrl+c ctrl+v May 29 15:08:25 still this doesnt help me much May 29 15:08:26 thanks though May 29 15:08:40 hopefully i will find something on google May 29 15:08:44 I/O error: Cannot run program "/Users/paranoid/android_sdk/platforms/android-17/tools/aapt": error=2, No such file or directory May 29 15:08:46 can't be that it's that hard lol May 29 15:15:07 hey guys May 29 15:15:57 do you guys think i can get some help with facebook shit? May 29 15:16:17 Aeefire: I thought a grid of buttons was what you wanted? May 29 15:16:19 is that not what you wanted? May 29 15:16:35 Brian|CB hey May 29 15:16:39 its javaDon May 29 15:16:54 hello crazyMonkey May 29 15:16:56 sorry I didnt get on last night May 29 15:16:57 Brian|CB: he needs the sizes to change dynamically May 29 15:16:58 I was busy May 29 15:17:04 its all May 29 15:17:05 I ended up going out to play Magic May 29 15:17:09 goooof May 29 15:17:14 d May 29 15:17:18 lol May 29 15:17:26 ok heres an easy one for ya May 29 15:17:31 shmooz: I'm not sure I understand. Do you mean like having the buttons refresh and change size? O rlike change size with animations? Or what May 29 15:17:53 Brian|CB: as new columns/rows get added/removed May 29 15:18:14 #15 this method must be called with an app access_token May 29 15:18:25 from the graph api explorer May 29 15:18:34 shmooz: Thats pretty easy. Just label the rows with IDs and you can add more buttons to them May 29 15:18:35 i already put my access token in there May 29 15:18:41 im trying to register an acheivement May 29 15:18:53 If its a facebook question I probably can't help May 29 15:19:13 I worked on a facebook based app for awhile, and the facebook engineers that helped me knew nothing about the android components, so they were less than helpful May 29 15:19:21 and facebooks android APIs docs are less than amazing May 29 15:20:48 no kidding May 29 15:21:00 its about the graph api May 29 15:21:11 is there a chatroom like this for fb developers? May 29 15:21:20 yeah thats why I abandoned my app for now May 29 15:21:22 I changed nothing May 29 15:21:26 but now the facebook login for my app doesnt work May 29 15:21:32 like they have shitty support honestly May 29 15:21:40 crazyMonkey: Nope lol May 29 15:21:46 ha May 29 15:21:57 I can opensource my shitty app though May 29 15:21:57 if you want May 29 15:21:58 facebook is shit and it sux how i need to work with them May 29 15:22:00 its got some facebooks tuff May 29 15:22:02 although the code is bad May 29 15:22:06 and uncommented May 29 15:22:10 cause it was part of a hackathon May 29 15:22:11 sure whatever anything will help May 29 15:22:20 does it have a customized interface? May 29 15:22:30 appel1: any clue what could be the issue? is there something wrong in the way i am handing fragments in CreateEventPage activity class ? May 29 15:22:44 actually, now that I think of it, I'd rather not open this one May 29 15:22:52 but if you wanna give me your github username May 29 15:22:55 I can give you permission to read May 29 15:23:01 sound good crazyMonkey ? May 29 15:23:43 lemmy check it i never use it May 29 15:23:54 ill check what it is 1 sec May 29 15:29:05 how do i send you a pm? May 29 15:37:25 Hi, is there any way I can measure the width of the title in the ActionBar? Is it a fixed ratio dependant on a theme or something? Thanks! May 29 15:37:48 By title I mean the logo, title text and subtitle text... May 29 15:38:34 stdim: did you try .getWidth(); ? May 29 15:38:51 shmooz: no... should I? :) May 29 15:39:01 maybe May 29 15:39:32 shmooz: Well, ActionBar doesn't inherit a View or something like that... so I can't use that... May 29 15:40:13 shmooz: And it does not seem like I can get any underlying view ... May 29 15:40:30 shmooz: Except for custom views, it seems May 29 15:46:33 (just btw), the grid layout problem was just solved with nice nested linear laouts lol May 29 15:46:35 layouts* May 29 15:47:45 Aeefire: Wait, was it solved with my solution? :P May 29 15:48:56 in parseing jason with java how would you step into an array within an array? May 29 15:49:00 json May 29 15:53:01 what could be the possible reasons that fragment object returns null for getView() even though i am returning a view in onCreateView method May 29 15:56:46 RohitAgr: You're calling getView() before android has called onCreateView May 29 15:56:56 Brian|CB I just use nested linearlayouts (used like tablelayouts just with vertical weight too), which i create on runtime May 29 15:57:04 It seems like yesterday I would be constantly asking questions on here, now it seems like I'm always answering them :S May 29 15:57:22 Aeefire: Thats what I did in my XML :P May 29 15:58:10 Brian|CB : http://i.imgur.com/9e30ati.png May 29 15:58:14 stdim: i checked this case by logging print statements, getView() is being called after onCreateView.. yet it returns null May 29 15:58:23 no moar gridview at all :) May 29 15:58:33 :D May 29 15:58:39 Aeefire: I'm glad it works for you May 29 15:58:43 I'm a big fan of that solution May 29 15:58:45 although its not elegant May 29 15:58:47 it just works May 29 15:58:54 RohitAgr: Are you calling getView from another thread / process? May 29 15:58:56 linear layouts don't get any love compared to relativelayout May 29 15:59:45 yes but relative layout is also very ressource intensive May 29 16:00:23 weird May 29 16:00:44 stdim: i am calling a fragments public method from its parent activity May 29 16:00:56 Hi May 29 16:00:59 although i create a new instance of a fragment (after having used the same fragment class) it seems to use old stuff too.. grml. gonna be a long day i guess hehe May 29 16:01:02 How do I make ListView not scrollable? May 29 16:01:14 stdim: the public method in the fragment contains a call to getView() May 29 16:01:21 Because I want to have some arbitrary views along with it May 29 16:01:47 Or is there a way to add custom views to make a header for ListView? May 29 16:01:58 Or two ListViews on a view May 29 16:02:07 in a view * May 29 16:02:11 RohitAgr: Still, are you calling getView from within a thread / process? For example, are you calling getView in an AsyncTask? May 29 16:02:29 stdim: no May 29 16:03:21 RohitAgr: OK. Check if you're really returning a view from onCreateView May 29 16:03:39 height 0, weight 1? May 29 16:03:52 SiPlus: So you want 1 view that contains a "header" view about a listview? May 29 16:03:55 am I getting that right? May 29 16:04:16 stdim: here's my onCreateView method :http://pastebin.com/MiDMfnbg May 29 16:04:29 Brian|CB, yes, multiple different views: edittexts, textviews, buttons, checkboxes May 29 16:04:44 i mean thats pretty simple May 29 16:04:53 I'm not sure I see the problem May 29 16:05:03 just have aparent view with those desired views being the children? May 29 16:05:10 like, what is the issue? May 29 16:05:22 If you have an XML I can look at it for you May 29 16:05:30 I want to make listview *inside* another scrolling view May 29 16:05:51 Why May 29 16:05:57 You can't May 29 16:06:01 I know that ListView draws only visible items May 29 16:06:08 RohitAgr: AFAIK, you should not pass container to the inflater. (Layoutinflater#inflate() says: The root View of the inflated hierarchy. If root was supplied and attachToRoot is true, this is root; otherwise it is the root of the inflated XML file. May 29 16:06:29 SimonVT, but how do I add arbitrary views on the same layout as my ListView? May 29 16:06:35 RohitAgr: on returning... May 29 16:06:52 RohitAgr: You should pass container to the inflater May 29 16:07:16 SiPlus, you can set a header/footer on the listview if you want them to scroll with the content May 29 16:07:25 Got to that part of the I/O presentation May 29 16:07:32 Yes, I'll do this May 29 16:07:32 RohitAgr: Which means absolutely nothing to your case... Still check if it returns null. May 29 16:07:34 If you want them to always be visible, just put them in the layout along with the listview May 29 16:07:43 Do not put the listview in e.g. a scrollview May 29 16:08:21 But how do I make multiple ListViews on the same layout? May 29 16:08:41 Like, next to eachother? May 29 16:08:51 ah, right May 29 16:09:01 What is the Holo way to draw borders around scrollable views? May 29 16:09:38 To make that blue thing that appears when scrolling stops start out of somewhere, not out of nowhere May 29 16:17:50 stdim: its returning a non null view object May 29 16:18:42 Where are you calling getView? May 29 16:19:29 wait May 29 16:19:40 so SiPlus you just want to put 2 list views next to one another? May 29 16:19:53 Yes May 29 16:20:04 But I want to have some delimiter between them May 29 16:20:18 So the scrolling end indicator doesn't come out of nowhere May 29 16:20:27 I'm asking for the Holo way of doing this May 29 16:21:13 hmm May 29 16:21:18 lemme try to interpret that as an XML May 29 16:21:21 1 sec SiPlus May 29 16:22:02 May 29 16:22:45 what style should the delimiter use per Holo backroom guidelines? May 29 16:24:34 SimonVT: w/retrofit you ever see it take forever to execute a request for no reason ? May 29 16:25:15 turn on debugging May 29 16:25:23 ^ May 29 16:25:26 Probably network issues May 29 16:25:28 i think i figured it out May 29 16:25:45 JakeWharton: My friend says he had lunch with you once or something. Do you remember a Kurtis? May 29 16:25:50 uh... May 29 16:25:54 if i instantiate the RestAdapter.Builder in the java lib and use it that way it's super slow. if i inject it from the android apk it's super fast May 29 16:26:30 JakeWharton: (From UIUC) May 29 16:26:48 that sounds more familiar May 29 16:26:51 Damn May 29 16:26:53 I'm jealous May 29 16:27:03 He says you like came and talked to our ACM Sig May 29 16:27:13 yeah. back in... feb? May 29 16:27:46 Lawl, celeb May 29 16:27:49 Hey guys: what can be a reason for "onStartCommand" not to be called after "bindService" … "onCreate" of the service is called May 29 16:28:14 SimonVT: i was totally starstruck when i met JakeWharton May 29 16:28:26 wait it was this year? May 29 16:28:28 fuck, how'd I miss that May 29 16:28:37 Lol May 29 16:28:39 I nerd outhard May 29 16:28:52 when I see peoples names who wrote projects/libraries I use a ton, I just geek out like a mofo May 29 16:29:14 SiPlus: Did you figure out your issue yet? May 29 16:29:32 Brian|CB, no May 29 16:29:48 SiPlus: Are you just looking for something like http://pastebin.com/edLCFgGv May 29 16:30:08 Yes May 29 16:30:14 Oh May 29 16:30:16 lol May 29 16:30:20 glad I could help then? May 29 16:30:23 lol May 29 16:30:25 But I don't know the proper color for Holo Dark May 29 16:30:25 didnt think it was that simple May 29 16:30:28 And Holo Light May 29 16:30:30 Oh May 29 16:30:40 Whatever looks good May 29 16:30:45 There is no proper color May 29 16:30:52 I mean May 29 16:30:54 Anyway, why 5dp? May 29 16:30:57 you don't have to use exact colors for holo dark May 29 16:30:59 Uhh May 29 16:31:01 4dp above, 4dp below maybe? May 29 16:31:03 becuase I like 5 DP borders? May 29 16:31:06 :P May 29 16:31:07 8dp is the margin for Holo May 29 16:31:07 SiPlus: http://jgilfelt.github.io/android-actionbarstylegenerator May 29 16:31:16 Brian|CB: Why not just use a View May 29 16:31:30 Also May 29 16:31:39 SimonVT: Idk lol May 29 16:31:39 What's the name of + icon without the circle? May 29 16:31:41 I just wrote that in like May 29 16:31:43 1 minute May 29 16:31:48 while monitoring several IRC channels May 29 16:31:49 I can't find it in @android:drawable May 29 16:31:52 and working on my UI for my app at work May 29 16:31:53 >.> May 29 16:31:57 Only ic_menu_add, which has a circle May 29 16:32:01 I never promise my solutions are good or right :P May 29 16:32:03 they just usually work May 29 16:32:07 and I respond fast and consistently May 29 16:32:08 :D May 29 16:32:12 I remember seeing a cross icon without circle multiple times May 29 16:34:15 Also SiPlus is this of any use? https://android.googlesource.com/platform/frameworks/base/+/refs/heads/master/core/res/res/values/styles.xml May 29 16:34:18 idk if thats any helpb May 29 16:34:23 but I was googling and didnt find much May 29 16:34:41 Brian|CB, oh, thanks May 29 16:34:48 I forgot that colors can be drawables May 29 16:35:13 I was like "wtf?" when I didn't see most Android colors in @android:colors May 29 16:35:24 a lot of my colors I use selectors for May 29 16:35:28 just so I can control state based changes May 29 16:47:53 Question: I have a bound service that wants to start a thread (maybe only loggin numbers 1-100) … which service method has to start the thread? May 29 16:51:21 Why doesn't ListView addHeaderView do anything? May 29 16:51:43 I don't have an adapter yet (haven't implemented the list contents) May 29 16:51:47 It adds a header view May 29 16:51:55 I just see black screen May 29 16:52:28 protected void onCreate(Bundle savedInstanceState) { May 29 16:52:30 super.onCreate(savedInstanceState); May 29 16:52:30 you will need to set the adapter May 29 16:52:31 setContentView(R.layout.view_login_select); May 29 16:52:33 widgetList = (ListView)findViewById(R.id.viewLoginSelectList); May 29 16:52:34 widgetList.addHeaderView(getLayoutInflater().inflate(R.layout.view_login_select_header, null)); May 29 16:52:36 } May 29 16:52:44 :) May 29 16:52:59 Sorry, I didn't know that 6 lines are too much May 29 16:53:01 SiPlus: http://pastebin.com/ May 29 16:54:31 SiPlus: What evanc said May 29 16:54:32 :P May 29 16:55:24 http://pastebin.com/BUy7VWmC May 29 16:55:25 nothing May 29 16:55:31 Is adapter required even without data? May 29 16:55:40 yes May 29 16:55:47 evanc, okay, thanks May 29 16:56:52 I am trying to debug a Service from Eclipse. But where do I find the DDMS tools in Eclipse as suggested in this http://stackoverflow.com/questions/5379129/debugging-not-working-in-a-service-class-what-can-cause-this-issue I did install them. May 29 16:57:28 Just cause you seem new and ask a lot of questions I probably asked when I started this stuff a year ago, I got some inspirational words for ya SiPlus . Never get discouraged. Keep reading docs. Android may seem daunting at times, but once you learn how all the pieces fit together it's a great toolkit to have May 29 16:57:52 maybe I'm seeing it wrong May 29 16:57:52 but idk May 29 16:57:56 I just felt like saying something May 29 16:58:02 Brian|CB, thank you, that's exactly what I'm doing May 29 16:58:24 hopefully android studio 0.11 will work May 29 16:58:27 I've had a lot of motivational and support issues in the past with not having people who give me true support constantly around, and I just got over it, so I'm trying to be supportive of others as much as possible now. May 29 16:58:31 couldnt even get the old one to start May 29 16:58:32 I tried to learn Android some months ago, but I couldn't understand the concept of activity at all May 29 16:58:40 And I didn't have access to the dev console May 29 16:58:41 So if I seem sorta weird/odd thats why May 29 16:58:51 Now I bought it, so it looks like I have to make some apps May 29 16:58:56 Ah, it's a new Perspective... nevermind me. May 29 16:59:51 Activities are much easier to use than I thought May 29 17:00:15 I also wanted to use setContentView to switch windows because I was afraid of activities May 29 17:01:15 Also, are there any advantages of using fragments over relativelayout with ? May 29 17:01:20 and now you will create new activities because you are afraid of fragments? May 29 17:01:30 birbeck, no May 29 17:01:42 Fragments are not hard to use too May 29 17:02:15 well, there is one advantage: findViewById works on all screen types May 29 17:02:16 birbeck: Activities are harder for me to use now lol May 29 17:02:23 I'm so used to making all my apps fragment driven May 29 17:02:25 I'll give you something to be scared of, ffmpeg May 29 17:02:53 I'll give you something to be scared of, using high res images in imageviews May 29 17:02:59 Hi to all!!! May 29 17:03:05 Hi HSKW May 29 17:03:08 I used a high res image in an imageview that was somewhere under 3000x3000 in resolution May 29 17:03:12 and like a 800kb file May 29 17:03:17 I wish ffmpeg was integrated into Android SDK with java wrappers for it May 29 17:03:23 but when you put that in an imageview, it takes up like 40 MB of RAM May 29 17:03:29 and crashes the app May 29 17:03:30 lul May 29 17:03:35 Brian|CB: yeah that eats all the ram ;) May 29 17:03:39 i've a problem with an xperia TIPO, i've unlocked bootloader and flashed with cyanogen, now ask me an Unlock Operator Code!!! May 29 17:03:41 which ich stupid xDDD May 29 17:03:43 so I had to go back to the SVG and scale the i mage down to like 1/4 height and width May 29 17:03:45 Brian|CB, will 0x80000000x1 image crash Android? May 29 17:03:59 shmooz, that would be king May 29 17:04:04 The lack of unsigned numbers in Java is very awful, by the way May 29 17:04:06 i wanted that a while back May 29 17:04:34 its an abnormal situation :( May 29 17:04:40 HSKW, #android-root May 29 17:04:59 OK, perfect thx siPlus :) May 29 17:05:08 No problem :) May 29 17:05:30 i was trying to figure out the image issue May 29 17:05:33 and it turns out something like May 29 17:05:41 android uses everything to be backwards compatible May 29 17:05:45 so it uses the tech that was in 2.3 May 29 17:05:56 which like encodes images in this old awful bitmap format or something May 29 17:06:02 and that causes the incredible increase in virtual memory May 29 17:06:07 Is there a way to easily set all native global variables to zero? May 29 17:06:21 brx_: I guess there would be some licencing problem between ffmpeg and android to do that May 29 17:06:31 Only by using global struct for everything? May 29 17:07:00 shmooz, you can alwys embed it as asset and getRuntimeExec() itif that suits your requirments May 29 17:07:05 and oracle may even want a piece ;) May 29 17:08:15 SiPlus: i use a singleton pattern for that May 29 17:08:35 monsti, there are no classes in C May 29 17:08:49 SiPlus: the reset is jsut set the singleton member variable to zero ... very stupid and very simple May 29 17:09:07 so I guess struct is the only way? May 29 17:09:08 same in C May 29 17:09:18 yay, android studio works May 29 17:09:19 if(foo == NULL) ... foo = ... May 29 17:09:29 in C that's the only way May 29 17:09:53 memset(&globals, 0, sizeof(globals)); May 29 17:10:02 yes May 29 17:10:25 acrefull if you have any pointers to dynamic stuff there ... you might create some leaks May 29 17:11:52 brx_: would that method allow me to put it in a Canvas or some surface and further program gestures to resize zoom and so on ? May 29 17:12:13 the way I can with VideoView or MediaPlayer May 29 17:14:01 shmooz, i dunno about that,i simply used the ffmpeg-arm binary to append/transcode/remux mp4s once a video had been captured May 29 17:14:16 oh yes May 29 17:14:19 addheaderview works May 29 17:15:53 nobody an idea for my service question May 29 17:15:54 ? May 29 17:28:31 Can anyone help me with a problem i'm having with the new Fused Location Provider? May 29 17:49:22 is it possible to make a title take different action from logo in actionbar? May 29 17:49:43 or do i have to implement a custom view? May 29 17:50:58 crazyMonkey: I just got back from lunch, I'll take a look at that json in a bit. Is it still not working? May 29 17:52:58 I'm having problems requesting location updates with the Fused Location Provider when requesting a single update on line 293 May 29 17:52:59 http://pastebin.com/QftYGEpR May 29 17:53:11 Nothing happens basicly May 29 17:55:46 Hi there, is there an app that let me check the diferent views (small, large and so on) which tells me if the files match (on ids, components, methods and the like)? May 29 17:55:49 waxdt: you should probably call requestLocationUpdates right away in the onConnect() callback May 29 17:55:58 and then send events back to your webview as they come in May 29 17:56:04 because I have find various views that doesn't have 1 or 2 buttons May 29 17:56:08 in my app May 29 17:56:45 tyoc213: So lemme make sure I have this right. you have layouts in your applications that you added buttons to, but the buttons aren't showing up when you run the app? May 29 17:56:58 no, I mean May 29 17:57:11 we are testing the app on different devices May 29 17:57:21 and wee see that in some of them, say in tiny May 29 17:57:29 there is no "date button" on X screen May 29 17:57:33 codebutler well I want to call a javascript function to receive the current location when it needs it to save on battery usage. May 29 17:57:53 because the XML isn't edited to have it... so.... yes we have unsync xml views May 29 17:58:03 so your layouts are bugging out in certain layout sizes? May 29 17:58:22 not bugging, say I develop on large device and I dont have a tiny device May 29 17:58:31 so you can forget to update the tiny XML May 29 17:58:52 now testing the app on more devices... we are finding random "noises" May 29 17:58:56 well May 29 17:58:59 or some times the default view May 29 17:59:04 my advice is to set up emulators for every major screen size May 29 17:59:08 tyoc213: i don't know of any tools to check for that, but you can use a service like manymo to run automated tests across different emulated screen sizes May 29 17:59:29 thanks codebutler I will check that May 29 17:59:45 I guess we need to push the code? or only the apk? May 29 18:08:03 codebutler I dont know why but when I put my phone to sleep and then go back to the app it requests the current location. May 29 18:08:41 tyoc213: apk. see https://github.com/manymo/AndroidBuildSystemPlugin May 29 18:09:15 paulovap: hey, what exactly are you asking? May 29 18:09:17 nvm I see why. May 29 18:09:37 paulovap: the title doesnt normally perform an action May 29 18:10:19 Ok so codebutler it works when I call the update onConnected but it still doesnt work when im calling it from the javascript interfac May 29 18:10:36 you should only call it once May 29 18:11:25 Ok so how could I force update the location on my request? May 29 18:11:45 When does this blue thing happen? http://developer.android.com/resources/articles/images/inputmethod_lifecycle_image.png May 29 18:13:10 marrrk: you should remove setNumUpdates(1) and just let the location manager take care of this for you. May 29 18:13:33 What? May 29 18:13:38 He meant me May 29 18:13:44 Oh okay May 29 18:14:10 My Input Method is not created after the user chooses it in the input method chooser dialogue May 29 18:14:21 So I guess theres no way to do It the way I want to? May 29 18:14:21 oops May 29 18:25:34 codebutler my method worked when I put the location update request in a function in the main class and called that function. May 29 18:26:10 Now I have 1 more question is it possible to use a javascript interface in a service? May 29 18:28:14 that doesn't make sense. a service isn't tied to an activity where your webview is. May 29 18:28:55 Ah well I see May 29 18:30:18 So what would I use to achieve keeping the webview page active when the phone is on standby so I can send notifications? May 29 18:35:59 why do you need a webview? May 29 18:36:44 Well I'm not that experienced with java yet and I'm using it to load in a php webapp May 29 18:38:32 the ideal combo ;) May 29 18:39:07 like badman and robin May 29 18:44:21 waxdt: well, time to learn! May 29 18:50:11 onOptionsItemSelected, what does this refer to_ May 29 18:50:21 When someone touches the actionbar? May 29 18:50:26 assume android 4+ May 29 18:53:03 Is this the menu bar? May 29 18:53:04 http://android-developers.blogspot.com/2012/01/say-goodbye-to-menu-button.html May 29 19:03:02 For sound-effects in a game, the best format is ogg, right? May 29 19:05:16 Or wav? May 29 19:07:14 ogg would be compressed, wav not really. May 29 19:08:52 Making a game for Android + JavaME at the same time. I guess I'll have to use 2 different formats then. May 29 19:09:10 javame? May 29 19:09:12 JavaME won't play ogg. It'll play amr or wav or mp3 maybe. May 29 19:09:15 you must be kidding May 29 19:09:49 monsti, Hey don't mock my hobby. May 29 19:10:06 well i do nds coding, too ;) May 29 19:10:15 or install osx on pc hardwar May 29 19:10:17 That's neat. May 29 19:10:17 e May 29 19:10:25 that's considered "how to waste time" May 29 19:10:39 it's like towers of hanoi in vim macros May 29 19:10:39 I'd like to look into nds development as well, but there is a ton of stuff I'd like to look into, and only so much time. May 29 19:11:09 JavaME is interesting because I like the challenge in making limited platforms do stuff. :-> May 29 19:11:40 (All the old 8-bit computers also have great interest to me). May 29 19:11:46 s/limited/100% dead May 29 19:11:58 mr_lou: You're not mrlu2 May 29 19:11:59 are you? May 29 19:12:06 Brian|CB, No May 29 19:12:12 dang May 29 19:12:19 monsti, Nah, not 100%. Nokia still produces new JavaME enabled devices. May 29 19:12:42 yeah nokia was once the company who made excellent cell phones May 29 19:12:49 :-) May 29 19:12:49 s/nokia/apple :) May 29 19:13:29 I always liked Sony Ericsson better. They had a much faster Java KVM. Our games ran 5-10 times faster on Sony Ericsson devices than on any other brand. May 29 19:14:07 Patch the phone to kill the stupid JavaME security, and you had a decent phone. No need for smartphones. ;-) May 29 19:14:38 yes - why? May 29 19:14:45 reminds me on the Qt Phone May 29 19:14:49 Why what? May 29 19:14:54 get a linux phone - run Kmail ;) May 29 19:15:06 hurra - a linux phone ;) May 29 19:15:19 I definitely want to try the Ubuntu phone May 29 19:15:36 yes ... xterm on a phone is so great May 29 19:15:40 I wonder if it'll run JavaME jar files and/or Android apk files. May 29 19:15:47 you can use it to code with g++ and vim May 29 19:16:06 no jar files - you have to dex them May 29 19:16:30 monsti, No I mean the Ubuntu Linux phone. I wonder if it'll run JavaME and/or Android stuff. May 29 19:17:02 Probably not Android stuff. May 29 19:17:14 But even Android can run JavaME. You just need to install a JVM. May 29 19:17:34 Almost all devices out there can run JavaME. May 29 19:17:44 well install win311 in dosemu May 29 19:17:48 then vbox May 29 19:17:58 and then win98 with a javame emulation May 29 19:18:10 Um no May 29 19:18:46 hey, I'm looking for a way to make rounded corners on an ImageView, any ideas? May 29 19:19:30 most of the ideas when Googling talk about setting a background, but that doesn't work if your image is large May 29 19:20:16 some others talk about extending ImageView... problem is that I'm already using Volley's NetworkImageView... May 29 19:20:40 monsti, Do you have any of your nds stuff online? May 29 19:20:58 excuse me. When a exception is thrown in an asynctask doInBackground().. why is onPostExecute not called? May 29 19:22:02 http://pastebin.com/nsNVz3mF dialog is not dismissed May 29 19:22:22 misterli: http://stackoverflow.com/questions/1739515/asynctask-and-error-handling-on-android May 29 19:22:33 misterli: yeah you have to catch that. I usually wrap asynctasks with something like this https://github.com/codebutler/corgi/blob/master/corgi/src/main/java/com/codebutler/corgi/SimpleAsyncTask.java May 29 19:22:42 new android dev- are Service implementations run in their own thread? May 29 19:22:51 GivenToCode: nope May 29 19:22:53 tanob: So extend NetworkImageView May 29 19:23:04 Or make your own May 29 19:23:05 or should i spawn a thread in my service to give control back to the UI thread right away? May 29 19:23:10 misterli: in short, this isn't a use case handled by AsyncTask May 29 19:23:22 roll your own like codebutler's May 29 19:23:36 GivenToCode: afaik that's the googl way May 29 19:23:39 codebutler, ah that is weird right? I'll have to read up on what the benefit is May 29 19:23:44 i do this all time with AsyncTask May 29 19:24:46 monsti, ah it looks like AsyncTask is what i really want May 29 19:35:16 are there any good tutorials for getting the most out of the eclipse environment? I feel like I am editing xml way too much May 29 19:35:50 especially for UI building May 29 19:40:47 SimonVT: yep, thats a pragmatic approach :) I've got it working but want to double check what smart people are doing May 29 19:45:56 hi guys May 29 19:46:19 did anyone managed to pull of multi-project structure with Android Studio and google-play-services_lib? May 29 19:51:37 SpearThruster: if you figure it out, let me know May 29 19:52:01 evanc, likewise X_X May 29 19:58:34 they rushed this preview too much... I am so pissed that I need to return to Eclipse for my coding May 29 19:58:36 X_X May 29 19:58:57 ecplise the best May 29 19:58:58 ;) May 29 19:59:18 no, not really X_X May 29 20:02:54 SpearThruster, why not use IntelliJ ? May 29 20:03:00 ^^^ May 29 20:03:29 SpearThruster, It's basically Android Studio except it doesn't force you to use the gradle build system May 29 20:03:46 SpearThruster, and it doesn't have some of the Android specific features May 29 20:05:25 alexfu, does it have a rendering plugin for the UI? May 29 20:05:40 SpearThruster, yes May 29 20:06:48 alexfu, looking into that right a way then May 29 20:06:55 how about debugging usb device? May 29 20:07:56 canadiancow: I see, thanks May 29 20:09:56 SpearThruster, yes. May 29 20:10:23 i've got a question: May 29 20:10:24 at the start of my onCreate i'm running bugsense and admob, so it's making my app to stuck at start for 4-5 sec at white screen May 29 20:10:31 so my question is if i can run it in time the other code run.... May 29 20:10:39 that it wont stuck my whole app May 29 20:11:28 ? May 29 20:12:12 What about doing in other Thread and send messages via Handlers May 29 20:12:29 Please? May 29 20:13:07 hi, just a quick question - which revision control system do you recommend for android development? mercurial is the only one i've been using, would that work alright? May 29 20:13:19 someone? May 29 20:13:50 http://www.techotopia.com/index.php/A_Basic_Overview_of_Android_Threads_and_Thread_handlers May 29 20:14:25 popers: i need to put it into a thread? May 29 20:14:40 Based on this video http://www.youtube.com/watch?v=zOmS8lHwvKc , anybody knows how i can be able to read whatsapp message by email? May 29 20:14:46 yes if you're doing all work in your main thread May 29 20:15:44 but it's giving me a weird error at adView May 29 20:16:23 Which error? May 29 20:16:23 to create that Thread in the onCreate? May 29 20:17:28 how would I go about detecting that the device is in seascape mode instead of landscape May 29 20:17:59 have you read the article that i sent you? May 29 20:18:31 ikarus: seamen sensor May 29 20:18:48 SpeedEvil: *smack* May 29 20:19:01 halp May 29 20:19:22 my viewpager is showing its child views on top of each other instead of side by side May 29 20:19:24 and i dont know why May 29 20:20:06 guys... do you use revision control? May 29 20:20:06 popers: that error: May 29 20:20:06 The constructor AdView(new Thread(){}, AdSize, String) is undefined May 29 20:20:21 entity: yes, i use SVN May 29 20:20:33 entity: yes May 29 20:20:50 entity: git May 29 20:21:20 what about mercurial? i think i read somewhere git is recommended for android May 29 20:21:28 git is in generel recommended :) May 29 20:21:31 cause you got github May 29 20:22:22 all right, guess i'll be learning git then May 29 20:22:37 thanks for the info May 29 20:22:50 popers: that error: May 29 20:22:54 The constructor AdView(new Thread(){}, AdSize, String) is undefined May 29 20:24:28 ? May 29 20:24:31 popers: ? May 29 20:25:00 more that config.orientation can only tell me landscape/portrait, but the camera goes wonky in seascape upside down May 29 20:27:38 am i off-topic? May 29 20:28:15 f00bar80: yes May 29 20:29:42 popers: ? May 29 20:31:07 R couldn't be resolved as variable. May 29 20:31:18 In a relative layout, do you always have to specify where the object is to be located? Ie under id foo, or to the left of id bar May 29 20:31:20 odd; R is a type, not a variable May 29 20:31:56 jonp: R cannot be resolved to Variable. May 29 20:32:15 bluesm: what's your code? May 29 20:32:16 I wasted several hours... I do have this error on every new project in eclipse.... May 29 20:33:09 bluesm: update your Android tools May 29 20:33:48 evanc, actually i see that what i was asking about yesterday is already done as in the video .. .. so this is not an android app ? May 29 20:33:49 karakuri: It is brand new install of eclipse JAVA EE and ADT ... May 29 20:33:55 im sorry May 29 20:34:00 what is AdView? May 29 20:34:02 bluesm: run the SDK manager May 29 20:34:18 there is a new Android build tools package May 29 20:35:07 Can anyone explain me the notion of Context? May 29 20:35:12 I still don't get it very well May 29 20:35:33 When an activity is destroyed so the Activity it's destroyed as well, therefore it's Context May 29 20:35:45 but What Happen to the services that were created with the same Context? May 29 20:36:03 They should share the same context, nevertheless they don't get destroyed May 29 20:36:12 popers: is the View of AdMob May 29 20:36:17 ok May 29 20:36:47 you cannot update a View in a Thread May 29 20:37:05 it will cause a RuntimeException or something like that May 29 20:37:27 so i can't create AdMob View through the thread? May 29 20:37:32 no May 29 20:37:40 you must implemet a handler May 29 20:37:51 and the handler will make the magic May 29 20:38:03 what's the diffrence between a handler and a thread? May 29 20:38:14 and sometimes you must use View.post() May 29 20:38:30 a thread is something that you'll do in background May 29 20:39:00 ) karakuri: You mean sdk tools ? May 29 20:39:09 if you have to update something you have to send a Message May 29 20:39:25 the handler catch the Message and do sometring May 29 20:39:46 bluesm: its called Android SDK Build-tools May 29 20:40:05 the handler is attached to your activity and could use the Context of your Activity May 29 20:40:14 its in the Tools folder next to Android SDK Tools and Android SDK Platform-tools May 29 20:40:20 ok May 29 20:40:27 you may have to update yoru SDK Manager to see it May 29 20:40:35 the Thread is in other line May 29 20:41:01 I have a question - I'm trying to upload a new APK with OBB expansion file, but after I upload the file, the developer interface is showing an older version of the main.obb file. Is there something I'm doing wrong? May 29 20:42:01 read the article that i sent you before, do the example and you'll understand what that does May 29 20:42:44 Anyone got any good ideas on making a multi row/column radiogroup? **** BEGIN LOGGING AT Wed May 29 20:44:51 2013 May 29 20:45:31 so my viewpager has two children; it draws them on top of eachother on the first page, and swiping right moves to an empty page May 29 20:45:38 i cant figure out why May 29 20:49:13 Hi Guys, I'm using this code to scale an ImageView matrix, but the imageView is not updating May 29 20:49:14 Bitmap srcBmp = ((BitmapDrawable) this.getDrawable()).getBitmap(); May 29 20:49:14 float scale = (float) this.getWidth() / (float) srcBmp.getWidth(); May 29 20:49:14 float deltaScale = scale / getScale(); May 29 20:49:14 matrix.postScale(deltaScale, deltaScale, this.getWidth() / 2, this.getHeight() / 2); May 29 20:49:23 Somebody wonder why? May 29 20:50:47 nope. not a single soul cares May 29 20:50:56 funny May 29 20:52:53 which method updates your imageView? May 29 20:53:29 hi, can i use an image xml tag in a grid view? i want a view which looks like the menu from android (best case would be with xml) May 29 20:54:49 you must implement your View extens getView from ArrayAdapter May 29 20:55:04 extends* May 29 20:55:17 popers, the answer for my question? May 29 20:55:44 yes smart1 May 29 20:56:24 but i can use the item class there? because i want an icon above the text May 29 20:56:26 how i use my Activity Context in the Handler May 29 20:56:27 ? May 29 20:57:26 yes you must make your class extends ArrayAdapter and override getView() May 29 20:57:33 smart1 May 29 20:58:07 k, i will try this. thx popers May 29 20:58:08 if handler its inside your activity you could do something like MyActivity.this May 29 20:58:42 popers: MainActivity.this did the work May 29 20:59:09 its something like this http://stackoverflow.com/questions/9284434/override-getview-in-arrayadapter-and-still-keep-check-boxes May 29 20:59:20 yes sir... May 29 20:59:28 and i need to start the handler?(like the Thread) May 29 20:59:47 no May 29 21:00:06 you override handleMessage(Message msg) May 29 21:00:13 so i just need to create it in the onCreate.... May 29 21:01:07 http://www.techotopia.com/index.php/A_Basic_Overview_of_Android_Threads_and_Thread_handlers#Passing_a_Message_to_the_Handler May 29 21:02:06 yes sir... you have to implement your HandlerClass extending Handler and override handleMessage(Message msg) May 29 21:02:10 the handler isn't running it self.... May 29 21:03:02 no May 29 21:03:20 here is what i did: May 29 21:03:20 http://pastebin.com/Bea06HSn May 29 21:03:31 your thread is running and your handler receives the messages that your thread sends May 29 21:03:52 I'm starting a new Activity in a Fragment via startActivityForResult... Seems like my request code is being modified... May 29 21:03:54 Is it a good idea to use Otto Bus to do Activity - Service communication? May 29 21:04:01 yes May 29 21:04:30 JakeWharton: Nice to hear from you again May 29 21:04:43 just make sure you post on the main thread May 29 21:04:53 though will probably relax that requirement with v2.0 May 29 21:04:57 JakeWharton: I thought about quitting Android when trying to learn GitHub app May 29 21:05:07 now I'm Learning from Android Bootstrap May 29 21:05:20 Otto 2.0 is a lie May 29 21:05:26 silence May 29 21:05:36 Can anyone point me in the right direction? I am trying to implement a sliding menu that has a sort of handle displayed when the menu is closed May 29 21:05:39 ? May 29 21:05:59 JakeWharton: So, Otto Bus should run only in UI thread? Either in Service or Activity? May 29 21:06:24 I'm using jfeinsein's library May 29 21:06:28 you should only post when on the UI thread, yes May 29 21:06:32 JakeWharton: Let me understanding something, Why not use IBinder? Which is Android OS default to do Activity Service communication? May 29 21:06:41 because it's really heavy May 29 21:06:58 gotta run, off to the next session May 29 21:07:08 JakeWharton: I'll be waiting for it May 29 21:10:28 is it possible to require a configuration changed when moving from landscape to reverselandscape May 29 21:10:50 karakuri: Thank you very very much. May 29 21:14:37 karakuri: Android SDK Build-tools wasn't installed. May 29 21:16:14 is there ANY callback I can use to detect a rotation from landscape to reverselandscape OTHER then raw sensor May 29 21:17:18 is there a good guide for adding the support-v4 r13 library to a maven project? May 29 21:18:04 bluesm: no problem, same thing happened to me yesterday May 29 21:18:09 droe me nuts May 29 21:18:13 *drove May 29 21:18:25 ikarus: does a configuration change not happen? May 29 21:19:17 now if only i could figure out why my viewpager draws its children on top of eachother on the first page instead of in their own respective pages... May 29 21:20:11 evanc: no, because for most purposes (OTHER THEN THE BLOODY CAMERA (and possibly using the accelerometer for other things)) there is no change May 29 21:21:54 anybody have any experiance with custom sliding menu's May 29 21:21:56 ? May 29 21:22:11 that would be willing to help, pls May 29 21:22:24 karakuri: That you haven't have it installed or updated ? It is just silly. How this plugin could work, wirthout checkit for building tool... May 29 21:35:31 Question about the alpha-testing group -- can a user opt-in using just the opt-in URL, or do they have to belong to a group/g+ community added to the alpha-tester group? May 29 21:37:53 when playing live radio stream with MediaPlayer class, if the net goes down what is the preferred way to continue the stream when the net comes back? should I just register for system wide network intents and call start() on the mediaplayer object if/when the net comes back on? May 29 21:58:21 I've just tried to swap image file names in my project but the images are being displayed as though I haven't refactored them, what's the deal/ May 29 21:58:21 ? May 29 21:59:22 from a clean rebuild? May 29 22:00:47 Uh no, brb May 29 22:01:40 note, I'm using Intellij IDEA but I found the "Rebuild Project" menu item. May 29 22:02:31 I would do a clean rebuild, because the dependency checking is, in general, fragile May 29 22:03:11 There might be another problem lurking of course, but why add another random variable in your debugging... ;-) May 29 22:03:34 Success. Thanks, I didn't think I would forget about that. May 29 22:04:06 I blame ant, for breaking expectations about dependency checking for all java developers. May 29 22:16:40 Based on this video http://www.youtube.com/watch?v=zOmS8lHwvKc , anybody knows how i can be able to read whatsapp message by email? May 29 22:18:30 f00bar80: as I have repeatedly explained to you, this is not an #android-dev question. Talk to WhatsApp to see how to get notified when they have a message May 29 22:27:20 The back stack is saved once you navigate out of an app, correct? May 29 22:27:51 jdawes: if you navigate using back, no May 29 22:27:52 if you hit home, yes. May 29 22:28:26 Why is it that when I do the following: Open Activity 1 -> Go to Acitivity 2 -> Press Home -> use open apps button to come back -> hit back button goes back to Home screen May 29 22:28:41 I thought hitting back button in Activity 2 would take me back to Activity 1 May 29 22:30:38 jasta, Does that make sense? May 29 22:30:58 anyone used the new google services api for games? May 29 22:33:29 So, if I'm coming back to an app in Activity 2, why does the back button go home instead of back to Activity 1? May 29 22:33:37 should calling setWifiEnabled(false) disable wifi in the settings/status bar? Or is there another step needed? May 29 22:34:41 jdawes: what the code for the Intent that starts activity 2? There's a plethora of options that (at least to me) is rather confusing to navigate. May 29 22:34:57 (some of which will cause the behaviour you indicate.) May 29 22:35:12 kbs, I was using the CLEAR_TOP flag earlier but I assumed without it would be fine. May 29 22:36:07 kbs, So nothing fancy. Just startActivity(new Intent(this, Activity2.class).setFlags(Intent.FLAG_ACTIVITY_NO_ANIMATION)); May 29 22:37:04 jdawes: that (as far as I can see) "works for me", as they say. I assume you don't have any special option in the androidmanifest.xml file either? May 29 22:37:27 kbs, I don't remember putting one in the manifest, what would it look like? May 29 22:38:05 If you have a vanilla entry for activity2 (with no special flags for it, that is) then, beats me. May 29 22:38:32 OK, hmm. May 29 22:40:19 That's too bad, it seems like a thing that a lot of people would come across. May 29 22:40:48 What does your entry for Activity2 look like anyway? Just curious; not that I have much insight into your issue :-) May 29 22:41:44 (and you aren't calling finish() on Activity1 by accident, I take it...) May 29 22:42:18 but that would cause back to always exit to the home screen, I guess. ah well, scratch that hypothesis :-) May 29 22:42:55 What do you mean what does the entry look like? And no, I'm not calling finish() anywhere. May 29 22:43:25 what does the xml stanza for Activity2 in your AndroidManifest.xml look like? May 29 22:43:55 May 29 22:43:55 May 29 22:44:16 Wow, forgot to get rid of everything in that. May 29 22:44:43 oh well. Don't see anything there that would cause it to do anything funny. Beats me, sorry. May 29 22:45:17 No worries, thanks. May 29 22:46:09 Hey everyone! I'm in the process of getting my new startup, Stretchr, rolling. It is a service that takes all the hassle out of creating a backend for your application. I need some data from real developers to put together my business plan and I've created a survey to gather that data. If you have a moment, I'd really appreciate if you could take it for me! It's just 10 quick questions. http://www.surveymonkey.com/s/WCP3 May 29 22:46:09 5NN - Thanks :)!! May 29 22:46:20 Woah.. that got cut in half =\ May 29 22:46:33 http://www.surveymonkey.com/s/WCP35NN that's the link. May 29 22:48:34 kbs, so I just dumped the activity stack using adb and basically it looks like the main launcher of android gets put onto the back stack when I press "home" out of the app. May 29 22:49:32 jdawes: huh, is that what it does? Interesting. May 29 22:49:43 Well, right now it seems so. May 29 22:49:49 You wouldn't think it would. May 29 22:50:28 I'm going to put "finish();" in Activity2's onBackPressed() to see what happens. May 29 22:51:49 Yeah, no difference. wtf May 29 23:09:49 Is it possible to update master and detail fragments simultaneously? May 29 23:09:58 Lets talk in-app billing. I keep getting "the publisher connot purchase this item", but according to the google docs I'm reading ". If the device has more than one account, the purchase will be made with the account that downloaded the app." I'm not sure where I'm going wrong. May 29 23:09:59 ie details is live updating list May 29 23:10:09 and master is a chat program May 29 23:10:20 well chat activity May 29 23:15:46 "Smartphone users check their devices about 150 times a day." … that seems crazy to me May 29 23:15:50 Consultation: If I'm trying to export functionality from my activity into a service, but I still want to be able to update the Activity somewhat in "realtime" from the Service... well, any reccomendations? :-) May 29 23:17:39 Apple people sqew the results g00s May 29 23:19:00 Sorry stupid question May 29 23:19:01 ! May 29 23:19:03 :( May 29 23:19:08 as always , Meekers's presentation is long .. will have to look at it more later May 29 23:19:33 have you found the previous year's presentation useful/insightful? May 29 23:20:07 i did May 29 23:20:47 n20: what I've done, is to use a pub/sub mechanism to publish from the Service. Any activity interested in results subscribes onResume(), and unsubscribes onPause() May 29 23:21:16 You can use LocalBroadcastManager to do the broadcasting -- the only annoyance is that your "messages" have to implement Parcelable, so you can stuff them into Intenst May 29 23:21:48 kbs: Great tip, thanks! Would some sort of messaging bus be "ok" as well (like otto, or similar) May 29 23:21:52 I think square also has some frameworks that do (basically) pub/sub -- I hear otto might be something that's roughly along the same lines May 29 23:21:56 :-) May 29 23:22:21 * n20 feels cool for mentioning otto. May 29 23:22:25 :-) May 29 23:22:41 Then I'll dig deeper into otto, thanks for your input kbs! May 29 23:23:01 g00s: 150/day is only once every 9 mins or so May 29 23:23:03 (I'll give LocalBroadcastMAnager a look too, so that I can figure out which is more suitable) May 29 23:23:30 aargggh! my dev account is also my main email account which holds all the purchased apps I have. Now, I can't test my own app without deleting my dev account. what a PITA! May 29 23:23:47 SpeedEvil: You'll have to account for people sleeping, so probably once every 6½ minutes given that they might sleep 8 hours? :) May 29 23:24:09 not truly dedicated users May 29 23:24:27 Rescue9: err - make a new account? May 29 23:24:34 n20: yep. I found the actual pattern is pretty handy -- what implementation to use for the pub/sub is something that might be different for different people. LocalBroadcastManager is just one of choices (including rolling your own, or otto etc...) May 29 23:24:37 they're not we expensive May 29 23:25:10 SpeedEvil: am thinking about that. If I change the email address in my dev account, I'm hoping that will be enough.... May 29 23:25:46 just make a fresh account May 29 23:26:27 I'm going to. my hopes are that using the new account for the developer console will allow me to keep my main account on the device. May 29 23:27:11 if your device is running ICS or later, multiple accounts are easy May 29 23:27:23 Google accounts May 29 23:27:26 not user May 29 23:27:29 if you just need to know some topic changed, you can also just use ContentObserver May 29 23:27:46 if your topics are arranged well, this works fine many times May 29 23:28:10 but if you need to get richer notifications where extra data is sent, its not so good May 29 23:28:39 you can try otto, greenrobot, or modify guava-eventbus to fit your needs May 29 23:29:03 otto is a modified guava-eventbus, may as well start there if it mostly meets your needs May 29 23:30:44 ContentObserver works with ContentResolver.notifyChange May 29 23:31:30 you can call from same or differing threads; since its a singleton your app can easily get to it May 29 23:32:50 g00s: I think I'll start off by reading more about LocalBroadcastManager/otto (also a bit about guava-eventbus). :-) May 29 23:32:59 the challenge i have been giving myself lately is to use as few libs as possible w/o reinventing wheels; and to find insightful ways of using what the platform already provides May 29 23:34:16 Does anyone have experience of handling data from google search, I am currently receiving 403 "Your client does not have permission to get URL ..." errors May 29 23:34:29 i'm trying to determine if my code is broken or my emulator. here's some extremely simple code. http://pastebin.com/JSF42bCw text view never updates May 29 23:34:46 g00s: What are your top three things that you've learned during this "challenge"? May 29 23:35:20 QbY: Why are you finishing your Activity? :) May 29 23:35:38 n20: i was doing that just trying to get the damn thing to close. May 29 23:35:39 My app is associated with .bib files accessed via HTTP, yet when users attempt to use Google Scholars "Import BibTeX" feature, when I attempt to open an input stream from the URL provided, I get this nasty 403 May 29 23:35:41 just testing May 29 23:36:38 n20 hmm, well i dont think this applies to android, but maintaining as little state in fragments and activities , and storing that in sqlite with proper contentobservers is a good way to go May 29 23:37:28 i have found it challenging to structure providers and their uri trees properly May 29 23:37:45 so that you can get the right notifications for the right kinds of changes May 29 23:37:55 g00s: I feel like ContentObservers are a bit overlooked, at least on my end. They're quite powerful in the right hands. May 29 23:38:15 iven though providers are old school, they are a core part of android - i wish one of the classes at i/o was like "advanced content provider design" May 29 23:38:48 n20 yeah, it goes along with not shipping state with events May 29 23:38:59 *state changes May 29 23:39:18 wait, let me restate that : it forces a separation of event and state May 29 23:39:55 the other strategy i have found useful is in this article May 29 23:40:26 its not new - and it applies in many places May 29 23:40:26 www.h-online.com/developer/features/CQRS-an-architecture-precept-based-on-segregation-of-commands-and-queries-1803276.html May 29 23:41:14 g00s: I'll be keeping that tab for later, just putting out a few todos in the code for tomorrow so that I don't forget what I've been reading this evening. :)) May 29 23:42:06 i also ported guava eventbus to android before there was otto but never released it; one of the things i liked most about my port - at the time - is that i had ordered receivers that could mutate the state of the event in sequence. so that receiver 1 would get event, maybe make a change to it, then receiver 2 would get it. i have been rethinking this May 29 23:43:16 the problem i have found, is that event busses - which are glue or middleware in the micro, are difficult to re-use May 29 23:43:46 not the concept in general, or pub/sub … the specific impls May 29 23:44:37 a while back i read a book called enterprise integration patterns; surprising that many of the things in that book also apply to the micro (in process) not just services May 29 23:44:52 i think he works for google now :) May 29 23:45:36 yeah, its getting pretty old now http://www.amazon.com/Enterprise-Integration-Patterns-Designing-Deploying/dp/0321200683 May 29 23:45:46 holy crap, 10 years …. :| May 29 23:46:06 g00s: Are you planning on putting out your port in the future? Maybe specific functionality as a pull request towards otto? :D May 29 23:46:19 g00s: Your "a while back" really is a while back, ha. May 29 23:46:49 these days i've been working mostly with mqtt; and looking at just general challenges coming from reactive programming like microsoft reactive extensions May 29 23:47:10 n20 i dunno. i didn't release it because i didn't want to deal with social aspects ;) May 29 23:47:46 once you have all these events, from a bus, you still have fundamental issues May 29 23:47:53 async is hard May 29 23:48:09 so i've been looking at stuff like RxJava and what not May 29 23:49:33 the other thing i have found hugely useful, an absolute goldmine for Android develoment … is a little known class tucked away in the internal/utils package May 29 23:49:41 called StateMachine May 29 23:50:25 youcan grab it out of the aosp, put it in a duplicate package structure - so you don't have to change imports - and build it into a jar, and include in your project May 29 23:50:30 takes like 2 minutues May 29 23:50:35 hmm, seems the issue might be due to not having a suitable user agent set May 29 23:50:40 here is a build.xml you can use May 29 23:52:12 http://pastebin.com/BZjhjP0Q May 29 23:52:34 just copy StateMachine, State, and IState into a dir and run ant, done ! May 29 23:52:48 look at the tests for useful tips on how to use it May 29 23:53:10 the killer aspect is that its Hierarchical. its a queued statemachine, so you have to consider that aspect on your state guards May 29 23:53:39 for iOS i use state machines also, but I gen those with ragel or SMC May 29 23:53:44 g00s: wow May 29 23:54:42 g00s: Wow, thanks. You just keep filling up my reading backlog. :D May 29 23:54:49 :) May 29 23:54:56 those 3 classes are https://github.com/android/platform_frameworks_base/blob/master/core/java/com/android/internal/util/StateMachine.java May 29 23:55:05 g00s: I'm heading off to bed now, but I'll be checking out StateMachine as well. May 29 23:55:12 like i said, they are very self contained and you can lift them right out no trouble May 29 23:55:20 n20 gnight May 29 23:55:26 ragel++ :) May 29 23:55:40 g00s: 'Night! Thanks for all the pointers! May 29 23:55:41 JesusFreke yeah, that its awesome May 29 23:56:47 JesusFreke I just sent you an e-mail May 30 00:04:43 JesusFreke you mentioned yesterday - i think - you like sublime; what were you using before that, and why did you switch ? May 30 00:11:46 I've always assumed JesusFreke just cat > code.smali May 30 00:15:07 or netcat :) May 30 00:15:40 ha! May 30 00:17:48 g00s: I was using kate before that May 30 00:17:57 get out May 30 00:18:00 g00s: but I just didn't care for it May 30 00:18:20 kbs: I mostly code in intellij :) May 30 00:18:33 mobilemonster: ok? May 30 00:19:13 yeah, thats what i have been finding - using ides more eclipse/idea/xcode and not really using an editor much except for commit messages and config file changes & the like May 30 00:19:13 JesusFreke: ah well. My illusions are shattered now. May 30 00:19:16 hi May 30 00:19:35 @JesusFreke intellij is fine . May 30 00:19:42 you could use whatever tool .... :-D May 30 00:20:32 oh wait .... May 30 00:20:50 @JesusFreke do you see it? May 30 00:20:59 i need some talent .... May 30 00:21:15 yes. I replied to your email May 30 00:21:32 got it. May 30 00:21:34 hilarious. May 30 00:21:44 it's all good. May 30 00:43:11 Is there a way to make eclipse ADT update the UI? I'm fairly certain it's displaying something wrong because it hasn't updated May 30 00:44:27 6 buttons are displayed improperly, but i've not changed 5 of them, and the changes i've done since i opened the project has been reverted with ctrl+x May 30 00:44:30 ctrl+z May 30 00:44:32 and no other changes May 30 00:45:28 hey, I'm having trouble saving my project in android studio does anyone have any experience with that? May 30 00:46:28 looks fine when deployed too May 30 00:49:42 Xabster try idea ; azrosen92 try eclipse May 30 00:49:56 oi May 30 00:49:58 i don't like idea May 30 00:50:00 does android studio not work? May 30 00:50:02 for android that is May 30 00:50:21 I just switched to it and i like it except i can't save anything now May 30 00:50:28 ? May 30 00:50:31 azrosen92: it is basically alpha software. May 30 00:50:42 no its not May 30 00:50:52 intellij has had android support for at least 2 major versions May 30 00:50:57 didn't google just release it google i/o? May 30 00:51:02 ron_frown: we aren't talking about IntelliJ. May 30 00:51:13 andorid studio and intellij are the exact same thing May 30 00:51:15 regardless of whether it is under the hood or not. May 30 00:51:24 the differences are way less than you think May 30 00:51:27 ron_frown: IntelliJ 13 and Android Studio are. May 30 00:51:32 not IntelliJ 12. May 30 00:51:33 disable plugins, change splash screen May 30 00:51:44 * michaelnovakjr has used IntelliJ for years. May 30 00:52:29 there's intellij 13? May 30 00:52:31 since when? May 30 00:52:31 have a look at the android studio version number. May 30 00:52:36 13 is eap May 30 00:52:38 Xabster: it is still EAP May 30 00:53:02 thats code for "dont use this if you need to be productive" May 30 00:53:20 I use eaps in place of release versions May 30 00:53:28 havent been burned too bad May 30 00:53:34 still more reliable than eclipse =) May 30 00:53:57 bah May 30 00:54:10 ron_frown: 13 seems to have its fair share of significant changes. May 30 00:54:26 I only saw release notes on eap 13 the first eap build May 30 00:54:29 A lot of what Android Studio has now. May 30 00:54:39 it was a few minor things in android support May 30 00:54:40 A few people reported no issues with the EAP. May 30 00:55:01 ron_frown: 13 will include all the Android Studio stuff. May 30 00:55:05 Minor? From what I've seen it has everything AS has except two things. May 30 00:55:07 yep May 30 00:55:23 ron_frown: are you using ultimate? May 30 00:55:27 my coworker uses eap because we need ONE plugin from ultimate May 30 00:55:36 so he just keeps updating eap builds May 30 00:55:54 Android support comes with the community edition. May 30 00:55:56 just curious, what plugin? May 30 00:55:57 jetbrains wouldnt work out a deal for that one plugin or anything May 30 00:56:10 god damn perforce source control plugin May 30 00:56:14 that only comes with ultimate May 30 00:56:15 haha! May 30 00:56:24 lol May 30 00:56:35 doesn't p4 sell that bit by itself ? May 30 00:56:41 even though it supports just about every other source control provider in community May 30 00:56:44 (who wrote it?) May 30 00:56:45 I dont kno May 30 00:56:48 I dont think os May 30 00:57:02 I was going to write a free light plugin May 30 00:57:05 not to undermine them May 30 00:57:11 of course not ;) May 30 00:57:12 but to get the basics done May 30 00:57:14 >.> May 30 00:57:36 i'm a retard ; but i never use VCintegration in my ide. May 30 00:57:44 just use the command line :| May 30 00:57:50 p4merge is great May 30 00:57:51 its good for oh I added a file I need to mark it for ad May 30 00:57:53 add May 30 00:57:57 I dont like p4 at all May 30 00:57:58 AT ALL May 30 00:58:03 who does? May 30 00:58:22 I must be a masochist but git is my scm of choice May 30 00:58:29 and I dont even know it THAT well May 30 00:58:53 isn't perforce de rigueur at our google overlords? May 30 00:58:54 * michaelnovakjr has used git since '07 never looked back. May 30 00:59:09 kbs what? May 30 00:59:25 it's less horrible than the alternatives (pre-git.) May 30 00:59:26 i wonder if it's worth it to get ultimate May 30 00:59:27 I'm sure there's quite a bit of Google stuff still on p4 May 30 00:59:28 yeah, i think they have a special deal where they get the source code May 30 00:59:32 or just stick with community May 30 00:59:43 I am from the .net world May 30 00:59:47 honestly tfs was great May 30 00:59:51 that explains everything May 30 00:59:54 Maziz: depends on usage. I use the community edition. May 30 01:00:12 me too. Im trying to find justification to get May 30 01:00:12 lol May 30 01:00:19 to get it* May 30 01:00:34 if you need a centralized version control system, your options are shit like p4/clearcase .. or trying to add some governance layer on top of git May 30 01:00:43 and there are plenty of places that need centralized VC May 30 01:01:45 I wouldnt dream of trying to push git at my work May 30 01:01:54 I was talking about some of the things you could do with it May 30 01:02:02 my coworkers were blank faced big time May 30 01:02:50 all I can say is - nearly anything is better than rcs, that's how old a fossil i am... :-) May 30 01:03:27 kbs hehe May 30 01:03:30 I think I may be designing a test all wrong and could use an idiot-check if you don't mind May 30 01:03:39 well, clearcase is worse if you don't have any CC admins May 30 01:03:51 its like being locked in prison and the keys are on another floor May 30 01:04:10 they let the CC admins go at DHL before all the dev work stopped May 30 01:04:28 clearly they did not understand how software was built :) May 30 01:04:42 true enough. I was forced into clearcase in 1993-5 on various sunos machines, and it was basically alpha software. ah, the good times. May 30 01:04:59 I have me an Activity all happy and lovely that does everything I want it to, and it is spawning a Service that does another thing I want to have happen. I've made both work independently quite well, now I'm trying to integrate them. At the current build where the Activity spawns the Service but they don't swap info, the Activity still works but the Service May 30 01:04:59 never does May 30 01:04:59 kbs atria ? May 30 01:05:11 I'm not sure I should be testing it in this fashion or not, thoughts? May 30 01:05:21 I remember being a "beta" customer for sourcegear vault May 30 01:05:39 g00s: yep. I was working for vantage (a VHDL compiler company) at that time. May 30 01:05:44 I talked to the people about branch merging and I crossed my fingers and went to merge thebranches May 30 01:05:45 bam May 30 01:05:58 if svn had branching / merging like git, i would be very happy with it May 30 01:06:00 destination completely overwrote source May 30 01:06:01 bam May 30 01:06:12 I guess thats one way to merge May 30 01:06:54 p4 merge is usually pretty exciting :-) May 30 01:07:03 btw git 1.8.3 is out :) May 30 01:07:04 I dont find that May 30 01:07:26 p4 does often not do what I expect it to, but not like I am just permanently effed May 30 01:08:04 i use git because everybody else does :( May 30 01:08:17 there are things about git that are a pita May 30 01:08:17 I use git because of its speed. May 30 01:08:44 kakazza yeah, its real fast updating android repos :P May 30 01:09:00 I mean things like switching branches. May 30 01:09:13 oh yeah, thats like writing 40 characters to a file May 30 01:09:15 That took a lot longer with Mercurial at the time I was using it. May 30 01:09:15 g00s the way aosp and branches are May 30 01:09:21 is just not good imo May 30 01:09:33 I dont know how they could have done it better May 30 01:09:45 git is probably the least worst scm I've used, all said and done... I'm just generally cynical about software; but linus did come up with something awesome, bless his irritable soul. May 30 01:09:56 haha May 30 01:10:06 conceptually... I do think there is room for improvement May 30 01:19:17 this is a typing May 30 01:19:26 sorry May 30 01:38:11 can anyone shed some light on an issue i have May 30 01:38:29 I am trying to attach a sort of handle to jfeinsteins sliding menu May 30 01:38:41 do i add a drawble at SlidingMenu.java in the library May 30 01:38:42 ? May 30 01:38:47 *drawable May 30 01:41:28 I wish I could help. That library was difficult to use. May 30 01:41:40 hehe yeah :( May 30 01:41:46 thanks for replying tho! May 30 01:42:33 I'm looking at http://grepcode.com/file/repository.grepcode.com/java/ext/com.google.android/android/4.1.1_r1/android/widget/SlidingDrawer.java#SlidingDrawer for inspiration May 30 01:48:25 anyone use commons logging in android? May 30 01:48:30 apparently it is supported May 30 01:48:35 I just don't know how to turn it on :) May 30 01:48:39 I have the code in place May 30 01:50:27 Sorry I've never used it :( May 30 01:51:19 I found references saying that you can just enable it using the console May 30 01:51:34 adb shell setprop "log.tag.package.for.my.class" VERBOSE May 30 01:51:51 the problem is that setprop only accepts a max of 32 characters May 30 01:51:56 mine is over 32 characters May 30 02:09:08 I avoid commons logging. May 30 02:10:27 the docs aren't clear on how to configure it .... so you end up with issues like the one you are seeing. May 30 02:16:48 mobilemonster: yeah I agree May 30 02:16:51 the thing that stinks May 30 02:16:57 is that to implement something similar would rqeuire a lot of work May 30 02:33:15 fuck yeah May 30 02:33:19 I think i found it May 30 02:33:20 :D May 30 02:33:58 Ontouchxxxx event May 30 02:34:20 now to make it drag May 30 02:41:29 it's not much work to implement something ... May 30 02:42:01 Create a wrapper class for http://developer.android.com/reference/android/util/Log.html May 30 02:42:09 use the same name. May 30 02:42:32 when Log functions are called, dump the output to a log file before calling android.util.Log functions. May 30 02:42:37 works pretty well. **** ENDING LOGGING AT Thu May 30 03:00:00 2013