**** BEGIN LOGGING AT Sat Nov 02 02:59:57 2013 Nov 02 03:00:02 is there some widely used database that I could querry? Nov 02 03:02:31 sqlite Nov 02 03:03:03 i have a fragment within activity and when i go to other activity when resuming fragment calls onResume not oncreateview Nov 02 03:03:07 I hope that its not an naswer to ma question ;) Nov 02 03:04:05 maybe there is somthing Nov 02 03:13:49 Hello! I'm having some troubles with nine patches... In one device they look one way, and in another one they look different... it seems like the "resizing" parts are different in each one... has anyone has had any issues like this with nine patches? Nov 02 03:24:34 Anyone from Google proper here/ Nov 02 03:25:03 I have a mediaplayer question. Nov 02 03:25:13 About ID3 tags in http live streaming. Nov 02 03:25:27 Does 4.4 kitkat actually support it now/ Nov 02 03:37:57 What's the best method of approaching SMS (in creating a messaging client/alternative), on Pre-4.4? Nov 02 03:58:22 finally more info on ART http://source.android.com/devices/tech/dalvik/art.html Nov 02 03:58:54 not much there Nov 02 04:01:03 yeah Nov 02 04:01:20 better than before when all I knew about is... its named ART. :) Nov 02 04:51:06 Hello! I'm having some troubles with nine patches... In one device they look one way, and in another one they look different... it seems like the "resizing" parts are different in each one... has anyone has had any issues like this with nine patches? Nov 02 05:56:02 What do I have to override to modify up/back behavior on the action bar? Nov 02 06:47:20 Huh, looks like there's no sane way to use glMapBufferRange without using the NDK. Nov 02 07:40:14 I wonder what the hell I'm supposed to do with this old Blackberry Playbook now.. Nov 02 07:43:58 I'm trying to send an ACTION_DOWN/POWER_KEY key event to trigger opening of power menu, why isn't KeyEvent.dispatch() working at https://gist.github.com/anddam/7276579 ? Nov 02 07:51:38 The playbook will rise again Nov 02 08:00:43 It was a nice little piece of hardware. Shame about the crap BB put on it though. Nov 02 08:02:08 Nilium i just purchased moom ;) i couldn't decide between that and divvy, but meh. so uh, like my windows aren't really aligning to the grid. they are 'generally' in their positions, but each is kinda offset in one direction or another. is that normal? Nov 02 08:02:31 just basic shit like vim and terminal Nov 02 08:02:47 If the window has a minimum size or you told moom to give them border pixels, probably? I'm not moom support, so I couldn't tell you. Nov 02 08:03:02 just wonder what you saw Nov 02 08:03:13 I'm trying to create a 3D interface, is there a way to render UI elements to a openGL texture? (You can render a frame from the MediaPlayer to the SurfaceTexture object) Nov 02 08:03:17 In the case of terminals, the windows usually have sizes in fixed steps, so you're limited in what you can automagically do. Nov 02 08:03:18 i thought, if i drew each to the grid, they should align; but not really i guess Nov 02 08:03:29 aha ! Nov 02 08:03:30 http://www.androidpolice.com/2013/11/01/kitkat-feature-spotlight-chrome-apps-drag-and-release-style-overflow-menu-button-is-now-used-system-wide/ Nov 02 08:03:43 so that must be that support lib class i couldn't figure out wtf was for Nov 02 08:03:52 I'd say it depends on the grid and the app. Nov 02 08:03:56 ok Nov 02 08:08:18 updated https://gist.github.com/anddam/7276579 , I read https://groups.google.com/forum/#!topic/android-developers/x1HiCn_ZFLk and seems I shouldn't check for dispatchKeyEvent() return value in my activity Nov 02 08:08:43 a) how can I know who consumed a key event? b) how can I send the keyevent for power key long press? Nov 02 08:09:02 apart the output the application isn't triggering the power menu at all Nov 02 08:17:41 http://venturebeat.com/2013/11/01/judgement-day-for-android-apple-microsoft-file-lawsuit-against-google-samsung/ Nov 02 08:20:40 the article seems biased Nov 02 08:22:24 * g00s sighs Nov 02 08:22:46 another piece of news i thought interesting was "Nokia Becomes The Fourth Largest Smartphone Brand in USA in Q3 2013" Nov 02 08:23:05 what's really interesting tho' is this KeyEvent thing Nov 02 08:23:24 i think this is because the lumia 520 and 521, for a price of $100 off contract is pretty amazing for these Nov 02 08:23:38 anddam what KeyEvent ? Nov 02 08:24:12 https://gist.github.com/anddam/7276579 I used changeTimeRepeat() and dispatchKeyEvent() from my activity, what am I missing? Nov 02 08:24:30 I want to make the power menu (long power key press) appear Nov 02 08:40:49 <^cheeky> ummm anyone .. could explain why i get JIT CODE CACHE FULL please ? Nov 02 08:45:00 you get it when the jit code cache is full. kind of all there is to say. Nov 02 08:45:31 <^cheeky> yup i dunno been using picasso Nov 02 08:48:27 <^cheeky> http://pastebin.com/0xcv8ydn Nov 02 09:40:27 HI :) Nov 02 09:40:29 I broken driver for touchscreen and after wipe cache/data partition i lost possibility to use adb, any clue how to force android to enable it back from CWM ? Nov 02 10:22:04 hi there, I'm looking for a way to do rpc calls to an android device! The use case is as follows: I have a service running on an android device which gathers some kind of data. An android app which CAN run on the same device OR on a remote device accesses this service and dispays it Nov 02 10:22:17 what rpc mechanism is suitable for this? Nov 02 10:39:04 robertbuhren, you should rethink your infrastructure Nov 02 10:39:09 mobile devices don't work like that. Nov 02 10:52:51 hello. Maybe soneone have any idea about that. Im using MQTT to receive Push-Messages. Itself runs in the background (without foreground-service). It works great, but after a while (on HTC One) the GB destroy the object. Return Sticky should get it back after that. Anyway, it does not connect to the server after a while. I have a second connectionReceiver which listen for conncetiviychanges Nov 02 10:52:51 and check if the service still exist/run and start again. But whent he connection is not possible and the connectivy didnt change then it will freeze until wifi enabled/disabled. Any idea how to solve this? http://pastebin.com/uiAPDeW4 Nov 02 10:55:49 hello guys, i'm trying to setup eclipse to build android system. i followed the instructions on source.android.com and it works fine in shell. but if i create a project i get following error: Description Resource Path Location Type Nov 02 10:55:49 Archive for required library: 'libcore/luni/src/test/resources/tests/api/java/net/InvalidJar.jar' in project 'AndroidOS' cannot be read or is not a valid ZIP file AndroidOS Build path Build Path Problem Nov 02 10:55:49 The file is present. Any ideas? Nov 02 11:01:57 Mavrik: why that? Nov 02 11:02:11 Mavrik: i'm not talking about an mobile device Nov 02 11:02:31 i know android is probably not the first choice, but it's not up to me to decide that, :/ Nov 02 11:02:43 it's a pandaboard running with android Nov 02 11:05:45 robertbuhren, there's no RPC protocol that would work locally and remotely because Android wasn't meant to be used like that Nov 02 11:06:08 when it's sleeping it's mostly keeping its radios off, which is why connecting to Android is usually not advices Nov 02 11:06:11 *advised Nov 02 11:06:17 robertbuhren, just use HTTP REST APIs or something Nov 02 11:08:06 Mavrik: something like restlet.org ? Nov 02 11:08:40 anyone using vim for android development? Nov 02 11:09:45 Mavrik: so as i understand you correctly, if i implement a service running on android, i have no control wheather it will actually be alive when i try to contact it? Nov 02 11:11:33 robertbuhren: correct, unless you make a service that continuously wakes up the phone to check if it is being contacted... which I hope you don't Nov 02 11:16:48 robertbuhren, of course you have control Nov 02 11:16:58 if you have a dedicated board you have full control Nov 02 11:17:30 robertbuhren, but if you can't implement a REST HTTP API without a framework... then I'm concerned about your project. Nov 02 11:26:40 Hello from android docs i thought that oncreateview would be called at a fragment Nov 02 11:26:50 but even if another activity is ontop Nov 02 11:26:59 then onresume is called Nov 02 11:43:47 Baluse: Was there a question in there? Nov 02 11:47:17 Mavrik: thanks for the help, gotta go, bye ybe Nov 02 11:53:26 Hi, I'm having trouble wrapping my head around some content access concepts in Android. First, do Cursors somehow cache data, or do they hit the database for every new row? Nov 02 12:05:11 Also I'm trying to figure out how to correctly load data into a cursoradapter from an sqlite database. Do I have data flow between the following objects: SqliteDatabase -> Cursor -> ContentProvider -> Cursor -> CursorLoader -> Cursor -> CursorAdapter -> ListView? Nov 02 12:50:01 Hi Nov 02 12:50:37 I am trying to build a bluetooth app. I am using reflections to handle both connecting and accepting. Nov 02 12:51:16 The problem is whenever I write to the stream, the client closes the connection. Nov 02 13:50:59 I remember there is a site that lists the supported unicode version by android version, but I can't seem to find it. Nov 02 13:51:06 Anyone knows where I can find that info? Nov 02 13:52:01 Guess I'll just see what Roboto can use Nov 02 13:57:12 I have a ListView and an Adapter over a repository. When the user performs changes in the UI, should the view call functions on the repository directly? Or should it call a function on the adapter, which in turn has access to the repository? Nov 02 14:08:51 hi all.. any notable android books or upcoming books to look for? (other than official tech docs which are great) Nov 02 14:10:06 I haven't really found any books that would explain things beyond official docs or in any depth :/ Nov 02 14:11:17 What about Reto Meier's book? Nov 02 14:13:03 Hi, I'm new to android-dev. (Java) How do people write their app menus? The localization confuses me Nov 02 14:14:06 in the menu resource file, just use references to string values (@string/foobar) Nov 02 14:14:21 you will need to localize the string resource files. Nov 02 14:14:55 Nindustries: http://developer.android.com/guide/topics/resources/localization.html Nov 02 14:23:17 sigv: I just don't understand how I should list the menu items and then check what item is selected.. using the position? Nov 02 14:23:31 Nindustries: using the item id. Nov 02 14:25:12 sigv: Oooooh Nov 02 14:26:51 Nindustries: http://developer.android.com/guide/topics/ui/menus.html Nov 02 14:28:56 sigv: Thank you :) menu xml files explain it all! I was using an example that used a String array Nov 02 14:29:31 Nindustries: ah, okay. :) Nov 02 15:08:20 does anyone know why the snippet at https://gist.github.com/anddam/7276579 doesn't trigger the power-down long-press event? Nov 02 15:31:27 anddam: power button is a special button, probably you are not supposed to mess with it Nov 02 15:31:49 anddam: what do you want to achieve? Nov 02 15:43:24 icedp: open the power menu Nov 02 15:43:34 the one with reboot/shutdown/whatelse Nov 02 15:44:19 icedp: so you think that e.g. KEYCODE_BACK would work? Nov 02 15:44:28 I'll try later Nov 02 15:46:40 anddam: I think you can't do it with standard APIs Nov 02 15:47:20 anddam: meaning - not from App Nov 02 15:47:42 you could do it with adb, or some work around... buy anyway - what's the point in that? Nov 02 15:47:59 power key is broken Nov 02 15:48:19 where i can get source codes to see how it works android Nov 02 15:48:22 Hello everyone! I just read about ART (Android runtime), but I don't quite understand what it really is, can someone give me a brief idea of it? Nov 02 15:48:34 I mean, phisically. I have a nice workaround reassigning search key to put the phone in sleep and volume key to wake it up Nov 02 15:48:58 but the power menu could be handy so I thought about firing it via an app Nov 02 15:49:35 <|0xD34D|> zer0-day: https://android.googlesource.com Nov 02 15:49:48 ty Nov 02 15:50:38 anddam: fix you key with a soldering iron, it's not that hard, just be careful Nov 02 15:51:56 anddam: programatically... you can replicate a lot of Power menu functions, I believe. like Sound mode, Airplane mode and so on. Reboot as well if I'm correct Nov 02 16:09:25 I have a seekbar element that I render to a bitmap (using this function: http://pastebin.com/486LyMB8). The first time, the bitmap is OK, but when I render it again (while setting seekbar.setProgression) the bar stays at zero. When exactly does setProgression take place "visually"? Nov 02 16:13:42 hi all if i add sub folder to my different drawable's will android still be able to pull the correct image ie: res/drawable/mdpi/a/e.png /res/drawable/xhdpi/a/e.png Nov 02 16:14:30 whoever: why don't you try it out? :) Nov 02 16:15:39 Miklas: thats a good idea.. well i am still waking up and need a gps to find the bathroom :-) Nov 02 16:21:54 what's the best option for a combination date and time picker? Nov 02 16:22:57 Or am I better of not trying? Nov 02 16:24:57 whoever, nope.. No subfolders Nov 02 16:44:50 icedp: I wouldn't know how to fix this with with a commond soldering iron, the switch is very small, I disassembled to the flexible cable leading to the board but the thing is an assemble block of plastic Nov 02 16:45:13 icedp: I'd either recycle the part from a broken phone or drop it Nov 02 17:22:45 hey, noob question, is there a nice/elegant way to have a view populated with data fetched from a remote source that has failure/loading states? I was thinking of just overriding ViewFlipper or something? Nov 02 17:32:10 Is anyone has a good guide about joins using a ContentProvider? Nov 02 17:44:40 Do you guys recommend using Android Studio instead of Eclipse ? Nov 02 17:46:41 I recommend using either IntelliJ or Android Studio because Eclipse is horrible. Nov 02 17:47:37 I agree, but is Android Studio stable enough for using ? Nov 02 17:51:42 it's impossible to say since that depends on your workflow and all that. I'd just try it to see. Nov 02 17:58:19 I am currently using it at home, but sometimes it wont see my imports Nov 02 17:59:34 FrogDroid, Android Studio is stable enough Nov 02 17:59:37 Gradle isn't Nov 02 18:00:45 so, you say if I use android studio without gradle it will be more stable ? Nov 02 18:01:05 I have no problems using Android Studio for primary development... or IDEA 13 for that matter Nov 02 18:01:14 (projects are built by Maven) Nov 02 18:01:22 Gradle has ton of issues still tho Nov 02 18:03:56 I use sbt and am amazed I don't have more issues. Nov 02 18:05:12 what is sbt ? Nov 02 18:06:08 simple build tool Nov 02 18:06:23 used for scala, mainly Nov 02 18:07:45 can I create a project in Android Studio using something other than gradle, because i have made a project and it's gradle by default Nov 02 18:07:49 ? Nov 02 18:08:56 I think AS always makes a Gradle project Nov 02 18:09:00 it can import others Nov 02 18:10:41 so, if i want a project made with other build tool i have to make it in eclipse, export it and import it in AS ? Nov 02 18:25:31 hello Nov 02 18:25:39 i am having an issue with the sdk Nov 02 18:26:40 http://pastebin.com/Qy4HYF0t Nov 02 18:26:49 swt.jar is there Nov 02 18:27:16 why the hell is this happening Nov 02 18:27:29 strace doesn't say enything interesting Nov 02 18:29:00 /opt/android-sdk/tools/lib/x86_64/swt.jar is present Nov 02 18:29:15 you're running on 64bit, right? Nov 02 18:29:19 and the whole android-sdk dir is chowned to my user Nov 02 18:29:21 yes Nov 02 18:30:36 admiral0, maybe try adding it manually to the classpath (temporary)? Nov 02 18:31:12 how? Nov 02 18:31:30 java -cp someFolder/moo.jar org.example.someMain Nov 02 18:31:52 i'm calling the android binary Nov 02 18:31:59 how am i supposed to do that Nov 02 18:32:09 the one in the sdk tools Nov 02 18:32:37 would it pick up cp? Nov 02 18:32:54 no clue, sry :( Nov 02 18:33:06 http://stackoverflow.com/questions/17511431/android-missing-platform-tools that seems to relate to your first line (in the stacktrace) Nov 02 18:34:42 that one is no issue Nov 02 18:34:48 the swt one is Nov 02 18:35:05 well, they might relate Nov 02 18:35:13 i'm doing that one Nov 02 18:36:28 platform tools are never installed by default Nov 02 18:36:42 so it would be a bug making unusable the sdk on linux Nov 02 18:38:39 now it's the same without the platform tools message Nov 02 18:38:52 admiral0, might try downloading the 32bit swt jar file, and placing it in some folder which resides in the path Nov 02 18:39:06 if android is compiled 32bit, it would need the 32bit jar file instead of the 64bit one Nov 02 18:39:18 (weird bug/problem nevertheless) Nov 02 18:42:43 found it Nov 02 18:42:50 and? :) Nov 02 18:43:09 android is a script -.- Nov 02 18:43:11 i looked Nov 02 18:43:26 it somehow decides to use wrong paths for the classpath Nov 02 18:43:39 o_O weird one. Nov 02 18:44:36 if you encounter this error -> 2 solutions Nov 02 18:44:50 1. modify the script and hardcode the path Nov 02 18:45:07 2. point ANDROID_SWT to the swt.jar Nov 02 18:45:18 where ANDROID_SWT is an env var Nov 02 18:45:52 although i do a lot of android and swt stuff, i never encountered this bug. not on win7 and not on *nix Nov 02 18:46:02 still not sure, what led to this error/whatever Nov 02 18:46:23 i have openjdk Nov 02 18:46:41 and it pucked up /usr/share/java Nov 02 18:47:38 pretty sure the SUn^WOracle JDK is still considered a requirement Nov 02 18:48:59 Other development environments Nov 02 18:49:00 JDK 6 (JRE alone is not sufficient) Nov 02 18:49:13 with jdk6 refering to the sun/oracle one Nov 02 18:49:34 (from http://developer.android.com/sdk/index.html) Nov 02 19:06:15 Hello! I'm having some troubles with nine patches... In one device they look one way, and in another one they look different... it seems like the "resizing" parts are different in each one... has anyone has had any issues like this with nine patches? Nov 02 19:07:44 hi Nov 02 19:07:53 sqlite is include in android? Nov 02 19:13:10 Is sqlite a part of android? Yes Nov 02 19:19:16 I'm new to both Android Dev and gradle, I'm using Android Studio and in my build.gradle I'm getting a "Cannot resolve symbol 'android'" error Nov 02 19:19:18 http://pastebin.com/ZLY4uVz3 Nov 02 19:19:44 not sure if this is gradle related or Android Studio related Nov 02 19:36:45 Hello! I'm having some troubles with nine patches... In one device they look one way, and in another one they look different... it seems like the "resizing" parts are different in each one... has anyone has had any issues like this with nine patches? Nov 02 19:37:25 guys, I know that customers can pay for items on google play but I saw that AT&T has AT&T billing. Anyone familiar with that? Does AT&T have their own app store? Nov 02 19:40:03 zquad: they likely just add it to your monthly bill, but it's the normal app-store. Nov 02 19:40:32 (disclaimer: I have never been with At&T, but my carrier does something similar.) Nov 02 19:40:46 I am familiar with google play in-app billing but how do I get my app to just appear on the customer's bill instead and have them pay through their carrier? Nov 02 19:41:10 that I don't know. Nov 02 19:54:50 SELinux (enforcing mode) Nov 02 19:55:01 what are the implications? Nov 02 19:55:16 why does android require you to sign in on the web Nov 02 19:57:44 ugh Nov 02 20:03:18 tnzr: you have 2-factor auth maybe? Nov 02 20:11:48 Has anyone run across the build.gradle error "Cannot resolve symbol android" in Android Studio? Nov 02 20:15:52 What is the lateral sweep ability (which gmail-app uses) called? Nov 02 20:27:05 Hi, I'm trying to port AOSP to my GSIII LTE and I would like to know if I have to use the cm-10.2 branch (does it works ?) for kernel and libraries on GitHub or the jellybean (jellybean-stable ?) branch ? Nov 02 20:28:22 Not sure if this is the right place to ask, but I'm also not actually sure where else you'd ask since you didn't use the word "root" Nov 02 21:01:38 Should I use Oracle's JDK or OpenJDK for android dev? Nov 02 21:02:59 I think either is fine? Nov 02 21:03:35 I was just curious if there was a preference Nov 02 21:10:27 Ok, time to update my IntelliJ EAP and see if anything breaks Nov 02 21:11:27 there's not really that much difference, afaik Nov 02 21:15:30 Well, I don't update with each new EAP, so there's a little more chance of me breaking something Nov 02 21:20:04 http://www.openh264.org/faq.html <--- lol @ the link in the second to last question Nov 02 21:25:58 Hahaha Nov 02 21:26:28 Ok, that's pretty well played Nov 02 21:29:32 :D Nov 02 21:34:13 gah, kitkat comes with google's office suite; i wish they would leave that on the store in case you actually want it Nov 02 21:34:41 i think the first thing that went through my head upon firing up my new n7 was, what can i uninstall from this thing Nov 02 21:35:30 plz Nov 02 21:35:35 still waiting for my n5 to arriver Nov 02 21:35:43 Office suite? Nov 02 21:35:45 So google docs? Nov 02 21:35:49 You can probably delete it. Nov 02 21:35:51 no, quickoffice Nov 02 21:36:10 no, you can't :) part of the image Nov 02 21:36:18 Oh. I have that on my BLACKBERRY PLAYBOOK. Nov 02 21:36:18 It sucks. Nov 02 21:36:26 That's dickish Nov 02 21:36:48 You can uninstall plenty of other Google stuff Nov 02 21:36:49 Usually. Nov 02 21:37:40 isnt stuff baked into the image there regardless? i can uninstall an update, but the original will stay i think Nov 02 21:38:12 <|0xD34D|> if it resides in /system/app it's there for good or until you root and remove it manually Nov 02 21:38:41 yeah, thats the way its always been i think. i'm not up to date on how things work lately Nov 02 21:39:10 <|0xD34D|> there is now a /system/priv-app too but that seems to be core system apps like SystemUI and SettingsProvider Nov 02 21:40:41 having stuff i don't need increases the attack surface Nov 02 21:41:08 oh well, i dont care. i use my n7 for dev and thats about it Nov 02 21:41:27 as long as there is enough room for my own apk ;) Nov 02 21:49:31 are most device's microphones sensitive enough to use for an instrument tuner Nov 02 21:50:12 g00s: btw, N4 already got KitKat Nov 02 21:50:17 g00s: I'm tempted to install :D Nov 02 21:50:58 hmm.. since i had lots of problems using MQTT (in a background-service) i want to switch to XMPP (OpenFire). Does anyone have exprience using XMPP= Nov 02 21:51:29 RustyShackleford well, i used the tc electronics one, but had a mic plugged into the ipod Nov 02 21:53:55 there must be a push-service-way which uses almost 0 battery and traffic like GCM and stable even when the service is not in foregorund. MQTT is good but in some cases it wont just reconnect (or submit the ping). even with wakelock. Nov 02 21:53:58 RustyShackleford this is what i use http://www.tcelectronic.com/polytune-iphone-app/ Nov 02 21:54:12 but it doesn't work well without the mic Nov 02 21:54:51 misterli did you get a hold of lemonxah ? Nov 02 21:56:45 Well, nothing broke that I can see. Nov 02 21:56:46 RustyShackleford the harder you pluck the string, to compensate for mic distance, the louder it will be but the more some harmonics get accentuated which throws off tuning algo Nov 02 21:57:12 harmonics produced by bending the string far from its resting state Nov 02 21:59:35 i use DaTuner Lite and it has worked great for me Nov 02 21:59:41 using only the mic Nov 02 21:59:56 my phone pack stats it has 500mb internal memory, but in my phone> seetings> storage> it says 139mb total and40mb available. I cant install any more application once the 40mb is consumed. Nor I can install any thing on my SD card (theres no such option), but only in internal memory. What might be wrong? Nov 02 22:03:05 comeon. I cant be the only one who want not to use gcm for push :] how about the new PUSH Google GCM XMPP? :) Nov 02 22:05:42 misterli mqtt might not be a good replacement for GCM; but there are other commercial options out there Nov 02 22:05:47 if you dont want GCM Nov 02 22:06:09 regarding my question, is the way how android works? Nov 02 22:06:28 Quest: #android Nov 02 22:07:26 g00s, so which one? Nov 02 22:07:33 Price doesnt matter Nov 02 22:07:43 i haven't used any :( Nov 02 22:07:48 But MQTT suck horse-cocks. Really, it does Nov 02 22:08:04 Doesnt matter if Paho or IBM gwm... Nov 02 22:08:35 does GCM tickle over SMS or is it plain tcp socket connection ? Nov 02 22:08:42 gtalk, iirc Nov 02 22:08:50 No. Its not GTalk. Nov 02 22:08:54 oh? Nov 02 22:08:54 XMPP is via GTalk now Nov 02 22:09:19 Google XMPP. GCM wasnt afaik. Just plain Socket between Market<>BindingService<>ContentProvider<>APP, isnt it? Nov 02 22:09:22 SimonVT, k Nov 02 22:09:39 but GCM is bad when using devices without google account or google services Nov 02 22:09:46 and XMPP is not open for everyone yet and still very beta Nov 02 22:09:50 Google XMPP Nov 02 22:10:13 There's openFire which looks promising with aSmack but it's almost 1MB in size and the overload of the packages is ..heavy Nov 02 22:11:56 I guess GCM (c2dm) works like MQTT. A Polling-Service which always connects. This is a good idea and MQTT is a good idea too but when the user is not online the messages are not queued Nov 02 22:11:57 tnzr what kind of guitar are you using? i was tuning a 12 string ;) Nov 02 22:14:17 misterli um, well the client doesn't buffer, but the broker should if you have the right QoS … i think. i'm sure the mosquitto guys could clarify Nov 02 22:14:41 Yes. QoS 1 deliver and wait for confimration (should) Nov 02 22:14:50 But there is no Timeout. This is a Problem Nov 02 22:15:05 g00s: a taylor 410 Nov 02 22:15:10 And QoS does not work as excepted. Not with Mosquitto and the both clients listed on the top. And even if it does, the PING-Implementation does not work proper Nov 02 22:15:41 misterli what was wrong with ping? paho doesn't have an explicit ping though, which kinda sucks Nov 02 22:15:49 g00s: and for the record, tuning a 12-string has always been a nightmare for me. :) Nov 02 22:16:14 tnzr yeah, its a huge pita :| oh, changing the strings is godawful Nov 02 22:16:30 and then it takes like 2 days for stuff to settle ;) Nov 02 22:16:38 yeah.. I eventually came to accept that the tradeoff was not worth it and I just stick to a 6-string :) Nov 02 22:17:26 i just sold my 4x12 and boogie single rectifier; all i have left is my g-force which is going on craigslist soon too Nov 02 22:17:37 oh, i have a bbe 482 Nov 02 22:17:51 added some nice sparkle to acoustic stuff Nov 02 22:18:20 g00s: do you 'stretch' your strings when you put them on? Nov 02 22:18:26 still a pita on a 12-string, I imagine Nov 02 22:18:49 yeah Nov 02 22:22:31 here's an app idea that solves a real problem, but will be hard to do. usually the 2 go hand in hand Nov 02 22:22:50 i let my 12-stg rest detuned in storage for abouut 5 years, and the neck warped Nov 02 22:23:10 as far as i knew, i did everything right .. but still it got busted Nov 02 22:23:37 specifically, the neck twisted about 5 degrees since the lower / thicker strings had too much tension Nov 02 22:23:54 i wonder if there is an optimal tuning for the neck , for storage, so this doesn't happen Nov 02 22:24:31 i would imagine its a function of the thickness of the strings; the thicker strings get detuned more maybe Nov 02 22:24:42 if I was storing it for that long, I'd just de-string it altogether Nov 02 22:24:51 that could have been my mistake Nov 02 22:25:04 no app required then XD Nov 02 22:25:21 also you can buy a humidifier for acoustic guitars as well Nov 02 22:25:22 but i remember getting instruction on this, i guess bad instruction Nov 02 22:25:43 if you live in dry conditions, could be useful Nov 02 22:25:49 ;) Nov 02 22:26:08 g00s: I had a guitar teacher once who took his guitar on a plane and when he landed, the neck had snapped Nov 02 22:26:25 they are such tempermental bastards . also humidity fluctuations are bad Nov 02 22:27:03 tnzr if i could ever afford this, someday http://www.gizmag.com/gittler-guitar-kickstarter/29490/ Nov 02 22:27:22 guitars and planes don't go well together Nov 02 22:27:32 you're always going to fight to put it in overhead Nov 02 22:27:45 and if you lose, its at the mercy of the people throwing shit around in cargo Nov 02 22:28:02 weird.. I would get my thumb stuck in the frets, I just know it Nov 02 22:28:21 tnzr i had an ibanez hard case cracked from putting the guitar in cargo Nov 02 22:28:28 i mean, the thing was bomb proof Nov 02 22:28:40 i'm sure they just throw shit Nov 02 22:28:45 yeah no doubt Nov 02 22:28:55 probably throw it even harder if it has the glass sticker on it Nov 02 22:35:01 Whats the best way to refresh a endlessadapter/listview? If I set clear the listview data and notifydatasetchanged, my endless adapter just restarts loading but not from the beginning. should i recreate the adapter or Nov 02 22:36:25 Or perhaps just 'reset' my endlessadapter counters Nov 02 22:36:26 blah. Nov 02 22:39:19 Hi :) Nov 02 22:39:42 bonsoir Nov 02 22:39:47 Any idea how to debug kernel panic ? Nov 02 22:41:48 don't panic Nov 02 22:42:25 oh, you. Nov 02 22:42:37 hetii: try google Nov 02 22:44:39 hetii, rather hard actually... usually JTAG Nov 02 22:45:02 I'm not sure if kernel memory dumps are possible to flash on Android devices Nov 02 22:45:24 are you guys getting 404 on mail.google.com ? O.o Nov 02 22:46:13 Mavrik: there are two possibilities, dump all panic to sdcard in separate file or use jtag (for that i need to know pin-out for u8815) Nov 02 22:46:51 hmm, well I hope for your sake that your FAT and SDcard driver is still intact when kernel crashes :) Nov 02 22:47:50 yep :) Nov 02 22:49:30 i invest so many time to fix my phone that it`s cheaper to buy a new one, but at the end of the day its for community :) Nov 02 22:52:23 I have a ListFragment that doesn't update with new content if I press the task switcher and then immediately go back to my app, anyone had any similar issues? Nov 02 22:53:15 I've chucked a lot of debug code in, AFAIK, the fragment isn't destroyed when going to the task switcher, onnly onPause and onStop are called Nov 02 23:46:39 <^cheeky> ello 0/ Nov 02 23:46:40 <^cheeky> :)) Nov 02 23:51:37 <^cheeky> such a rainy day Nov 02 23:56:03 hello dudes Nov 02 23:56:23 is there a way to display a password prompt that is reusable ? Nov 02 23:56:41 reusable? Nov 02 23:56:45 could you explain Nov 02 23:57:37 i mean to display a dialog ask for password call service then provide a callback to what you wanted to do Nov 02 23:58:23 like to do action B and C and E you need password. In order not to copy dialog code three times Nov 02 23:58:47 to have a function like authenticate(callback) Nov 03 00:03:03 <^cheeky> this stuff isss too addicting !!! Nov 03 00:21:54 Could anybody please weigh in on my question? Nov 03 00:29:16 are sqlite operations syncurons? Nov 03 00:29:59 jug6ernaut: ? Nov 03 00:30:59 agreed, ? Nov 03 00:31:10 like when i call db.update(…); does the call block until the db operations are finished. Nov 03 00:31:20 uhh Nov 03 00:31:23 im having an issue where im doing an update then a query and its not returning the correct results. Nov 03 00:31:25 that depends Nov 03 00:31:37 synchronous to what thread, the ui? Nov 03 00:31:51 jug6ernaut: ... I think you need to learn a bit about SQL transactions Nov 03 00:32:22 ok... Nov 03 00:32:42 but still, you should get correct results, I think Nov 03 00:34:10 uh, what do i have to do to use the diamond <> operator on an existing project? i went to settings, Project, Compiler, Java and changed it to 1.7 Nov 03 00:34:40 Project Settings / Java Compiler specifically Nov 03 00:34:58 jug6ernaut: anyway, you can guarantee ordering and such with explicit transactions Nov 03 00:35:15 otherwise, every SQL statement passed to SQLite is separate, independent transaction Nov 03 00:35:49 if you are doing the calls in the same thread, it *should* not matter, but I haven't really touched that area Nov 03 00:36:08 yea its all on the same thread Nov 03 00:36:25 depending on the transaction isolation, you can have dirty reads (read uncomitted) Nov 03 00:36:34 but i think you have to go out of your way Nov 03 00:36:38 oh, one thread ? Nov 03 00:36:45 PEBCAK Nov 03 00:36:58 :) Nov 03 00:38:07 g00s: so, do you think I should grab 4.4 xD Nov 03 00:38:47 i haven't tried it :) personally, with every platform, i wait a week or so for the sheeple to test it for me Nov 03 00:39:18 in this case, it's funnier because there are afaik still no N4 images Nov 03 00:39:34 but modders built teir own :D Nov 03 00:39:36 thank god you can disable apps, i guess they added that sometime after froyo :) took a while, but i disabled like 15 google apps Nov 03 00:39:53 oh screw that Nov 03 00:40:39 there's already one custom rom, lol Nov 03 00:40:52 http://forum.xda-developers.com/showthread.php?t=2506678 <--- stock build done a bit... faster Nov 03 00:43:12 its a weird thing, i can't exaplin really. on my old box, i used gentoo and wanted to build everything from scratch, but with the phone i just want official updates Nov 03 00:43:17 *explain Nov 03 00:45:28 well, I'd miss things I actually use if I switched back to stock Nov 03 00:46:10 oh fuck, duh. i can't use diamond because i have apple java 6 :| Nov 03 00:48:29 i think i tried installing oracle java 7 alongside apple java 6 (which can never be uninstalled on mac os 10.7) and there was weeping and gnashing of teeth Nov 03 01:06:44 Apple has its own version of Java? Nov 03 01:06:45 but whyyyyy Nov 03 01:09:31 jalcine: many companies did so Nov 03 01:09:42 Apple's version is specific to its operating system Nov 03 01:09:48 microsoft doesn't call their java java though Nov 03 01:09:54 just like HP's was specific to HP-UX and HP-PA Nov 03 01:10:08 jalcine: when they still had a version of java it was indeed called Java Nov 03 01:10:14 they no longer have, though Nov 03 01:10:36 well, TIL :3 Nov 03 01:12:32 MS lost a lawsuit and had to drop their version of Java Nov 03 01:19:31 hi all , I am a newbie with android dev. I searched but could not find the solution. I have a button , on click i create new intent , then on "onActivityResult" I update a textview but its not refreshing Nov 03 01:21:31 any ideas? Nov 03 01:32:15 does anyone know if there any developers documentation on adding the new kitkat slide/dragging overflow menu, like thats already in chrome, instead of having to tap the overflow menu to launch it? Ive looked everywhere but cannot find any thing Nov 03 01:33:26 aand im gonna try and answer it heh Nov 03 01:33:31 eXistZ, http://developer.android.com/design/patterns/navigation-drawer.html is that what you're talking about? Nov 03 01:35:36 if that does answer your question i was honestly not trying to be smartass by telling you to come here i just didnt understand what you were asking Nov 03 01:35:58 lies. Nov 03 01:36:01 all lies. Nov 03 01:36:17 ohai. Nov 03 01:36:39 He's talking about this: https://developer.android.com/reference/android/widget/PopupMenu.html#getDragToOpenListener() Nov 03 01:36:51 It's just a touch listener on the anchor view Nov 03 01:37:03 i wasnt sure if i described it correctly, i should have said drag and release for overflow menu, like this.... http://www.androidpolice.com/2013/11/01/kitkat-feature-spotlight-chrome-apps-drag-and-release-style-overflow-menu-button-is-now-used-system-wide/ Nov 03 01:38:07 I don't know if that's a feature of the overflow item on kitkat, but you can't implement it yourself with the native action bar Nov 03 01:43:26 gotcha Nov 03 01:45:54 ohh Nov 03 01:47:09 thanks for the info though, i appreciate it guys Nov 03 01:48:32 But LiENUS thanks for the link you also sent, been working on adding slide out menu and this will help as well Nov 03 01:55:16 hi all , I am a newbie with android dev. I searched but could not find the solution. I have a button , on click i create new intent , then on "onActivityResult" I update a textview but its not refreshing Nov 03 02:08:32 any ideas? Nov 03 02:16:06 pokkerface: code pls Nov 03 02:22:44 sure one second Nov 03 02:24:11 desmin88, Pastebin.com is under heavy load right now :( Nov 03 02:24:42 pastie Nov 03 02:24:54 theres 100's of paste services Nov 03 02:24:59 http://pastie.org Nov 03 02:25:25 http://pastie.org/8451559 Nov 03 02:27:29 Do you see those log statements? Nov 03 02:28:44 desmin88, yes . the textview is updated , i debbugged the code. The thing is that it is not refreshing Nov 03 02:29:21 invalidate the textview to force it? Nov 03 02:29:35 already tried ... Nov 03 02:30:36 do you have to do super? Nov 03 02:30:37 im not sure Nov 03 02:30:43 no idea Nov 03 02:30:51 try it for shits n gigs Nov 03 02:32:57 wait do you have to invalidate the parent view? Nov 03 02:33:11 not sure Nov 03 02:33:26 desmin88, which is the parent view? Nov 03 02:34:11 textview.getparent Nov 03 02:35:52 so ((View) textview.getParent()).invalidate(); Nov 03 02:39:36 let me try that Nov 03 02:41:00 not working Nov 03 02:41:12 i am thinking my approach maybe is wrong Nov 03 02:41:26 maybe i have to create dinamically a textview and show it Nov 03 02:41:46 not setting a new value on a textview defined on the xml **** ENDING LOGGING AT Sun Nov 03 02:59:58 2013