**** BEGIN LOGGING AT Tue Dec 24 03:00:00 2013 Dec 24 03:08:57 dose some one use the library Android-PullToRefresh Dec 24 03:09:07 i need some help Dec 24 03:09:45 i don't, but i' thought i'd chime in and say - i really enjoy that feature, i wish it were used more Dec 24 03:38:14 I'm trying to build a patched wpa_supplicant out of the android source tree. I don't want to build the whole thing, though. How do I tell it "Hey, only build this one?" Dec 24 03:39:29 Hi, I'm trying to create a swiping Master-Detail fragment with "next" buttons that change the fragment for you. I'm having trouble getting line 341 to work properly. Any thoughts? http://pastebin.com/vmqejSjL Dec 24 03:56:57 hm... I think i figured it out (make 'projectname'), but man it's compiling a lot more. I hope those are actual dependencies and it's not doing the whole shebang. Dec 24 04:04:24 heh, my walkie talkie app is coming alive Dec 24 04:04:41 need to add wifi-direct and internet modes Dec 24 04:12:48 too bad getting rtp to work over mobile networks is gonna be a bitch Dec 24 04:15:08 pfn: that sounds so cool. i'll definitely download it Dec 24 04:17:31 pfn: have it make that fuzzy noise that the real walkie talkie does when you press and release the button to talk Dec 24 04:17:37 I do have that Dec 24 04:17:45 nice Dec 24 04:17:55 where can I try it ? Dec 24 04:18:09 I don't have it published yet Dec 24 04:18:17 it'll be on github in a minute, though Dec 24 04:18:21 ok let us know when you do then :) Dec 24 04:18:27 cool Dec 24 04:19:25 another cool feature would be encryption and channel hopping for security Dec 24 04:19:39 not gonna do either right now Dec 24 04:19:46 I'd have to switch away from rtp for that Dec 24 04:19:58 yeah it would be complicated I suppose Dec 24 04:20:10 well, if the rtp apis in the framework weren't completely shitty, it'd be easy Dec 24 04:20:12 anyone know of a good app for browsing what intents are avalible from other installs apps? Dec 24 04:20:15 does the receiver automatically turn on for the receiving party? Dec 24 04:20:21 se_busca_ayuda, it will Dec 24 04:20:28 coool man Dec 24 04:20:30 I'm going to configure it by wifi networks and wifidirect Dec 24 04:20:34 and over gcm later, maybe Dec 24 04:20:42 'cept I need a good way to convert rtp into packetized http requests Dec 24 04:22:05 https://github.com/pfn/voxitoki Dec 24 04:24:14 anyway, build and install it on a couple devices Dec 24 04:24:20 that are on the same wifi network Dec 24 04:24:44 coool i'll wait until my roommate comes back and do that Dec 24 04:24:57 anyway, to build, you need to download sbt Dec 24 04:25:18 Hi, I'm trying to create a swiping Master-Detail fragment with "next" buttons that change the fragment for you. I'm having trouble getting line 341 to work properly. Any thoughts? http://pastebin.com/vmqejSjL I get an IllegalArgumentException Dec 24 04:25:42 stacktrace or gtfo Dec 24 04:25:49 and since you're repeating yourself, you know, on pastebin, they go away Dec 24 04:26:35 pfn: you did it with scala ? Dec 24 04:26:46 I write all my apps in scala Dec 24 04:27:15 wow, I didn't find a single java file Dec 24 04:27:34 pfn: how do i get the stacktrace? Dec 24 04:27:35 why would you... Dec 24 04:27:44 se_busca_ayuda, it's under the line that says illegalargumentexception.... Dec 24 04:28:01 i have a tryexcept that catches Exceptione that Log.d prints Dec 24 04:28:11 se_busca_ayuda, then don't catch it.... Dec 24 04:28:25 if you have an exception that causes a crash, fix the problem, not catch it and ignore it Dec 24 04:28:27 pfn: why do you prefer scala ? Dec 24 04:28:36 shmooz, the reasons are legion Dec 24 04:29:25 damn, if I had time, I'd learn that crap Dec 24 04:29:34 Dec 24 04:29:37 interesting, my motox it fails Dec 24 04:29:44 I'll have to test it on here later Dec 24 04:29:49 works fine on my gnex and nexus 7 Dec 24 04:29:52 must be a threading thing Dec 24 04:30:03 hmm, dualcore, should have at least 5 threads in the async task pool... Dec 24 04:30:52 there's no stacktrace Dec 24 04:30:57 ok but its still calling a lot of java libraries methods Dec 24 04:31:05 of course Dec 24 04:31:09 scala interops with java 100% Dec 24 04:34:42 ugh... rtp libraries are awesome, they just hang on my moto x... Dec 24 04:41:38 How can I get the stacktrace? Dec 24 04:41:38 se_busca_ayuda, there's always a stack trace Dec 24 04:41:56 logcat Dec 24 04:41:59 is how Dec 24 04:42:46 oh doy from the cammand line XD Dec 24 04:48:04 from the same place you see your log messages... Dec 24 04:48:05 where else Dec 24 05:19:33 ok, so I have the openssl build, time to play with ffmpeg now ;-) Dec 24 05:28:12 tricky part to decide which inlcude should contain my newly build libraries Dec 24 05:29:00 going with sysroot usr/include Dec 24 05:34:47 Looney: what you doing with ffmpeg ? Dec 24 05:35:13 building it for https support with openssl Dec 24 05:36:14 good idea Dec 24 05:36:28 what encryption? 256 ? Dec 24 05:36:53 that would be for ffmpeg to decide Dec 24 05:37:03 I think that it will be atleast 256 Dec 24 05:46:30 ok, first build vomit of the day, openssl not found :-( Dec 24 05:50:04 and now something wrong with libavformat :-( Dec 24 05:54:48 what thing !? Dec 24 06:12:02 ooh, you're having fun with libavformat? Dec 24 06:12:17 Looney: what're you up to with ffmpeg? Dec 24 06:22:02 ccache command not found Dec 24 06:25:20 rager: building ffmpeg for https suppot Dec 24 06:26:28 for using with VitamioBundle Dec 24 07:07:51 dose someone here come china like me Dec 24 07:08:02 dose someone here come from china like me Dec 24 07:19:04 hi all. could anyone please help me out with listview contextual action mode? I'm trying to implement single choice mode: I call listView.setChoiceMode(ListView.CHOICE_MODE_SINGLE) and then ActionMode.Callback in onItemLongClick Dec 24 07:20:20 so I long-press an item and the action mode fires up. however, if I short-click other items while in action mode my usual onclick method gets called Dec 24 07:20:33 so, I notice that ccache is missing in my ndk Dec 24 07:20:43 would building it from source be a good idea Dec 24 07:22:30 needed for line 110 https://github.com/yixia/FFmpeg-Android/blob/master/FFmpeg-Android.sh Dec 24 07:22:40 alternates also acceptable/welcome Dec 24 08:28:18 weird stuff. everything works with ListView.CHOICE_MODE_MULTIPLE_MODAL + MultiChoiceModeListener out of the box Dec 24 08:29:13 ListView.CHOICE_MODE_SINGLE + ActionMode.Callback inside OnItemLongClickListener brings a mess Dec 24 08:40:04 Hi all, I need to do something on a thread, not the UI thread, I tried it with an asyncTask and a runnable. asynctask takes 4,867 seconds, the runnable takes 2,984 seconds to do it. But the runnable runs on ui thread, right? what's the fastest way to execute some code and not on the main/UI thread? Dec 24 08:46:53 use new Thread(myRunnable).start() FrancescoV Dec 24 08:51:42 Looney: tnx! Dec 24 08:52:01 hope it will work Dec 24 08:52:12 atleast thats how I get the runnable to task Dec 24 08:54:44 Looney: time to do it with new thread(runnable).start() is 4,266 seconds, faster than async and slower than runnable but I gues this is the best solution, tnx Dec 24 08:55:22 well, you are off the UI thread, and likely getting less attention of the OS Dec 24 08:55:50 but the difference is quit small Dec 24 08:56:07 AsyncTask usually provide better control Dec 24 08:57:00 yes but I don't need to return something, just doing some settings. Is it bad to store the runnable as a private Runnable in an activity? Dec 24 09:03:23 FrancescoV: no Dec 24 09:05:09 BadDesign: idd, not a good idea, I made a new class that implements runnable and make and using that class in a new thread. It made it in 3,953 seconds Dec 24 09:05:44 premature optimization? What are you trying to accomplish ? Dec 24 09:06:59 BadDesign, I need to change some settings with a library. The UI must stay active and it must be done as fast as possible Dec 24 09:11:09 is there a shortcut in idea to fix problems on the same line (equivalent of ctrl+1 in eclipse)? Alt+enter is nice but usually only seems to work when the problem is under the cursor Dec 24 09:15:08 when using AsyncTask, can I publishProgress within onPostExecute ? Dec 24 09:17:22 nb-ben: yes; onPostExecute runs on UI thread Dec 24 09:17:48 FrancescoV: so that means onProgressUpdate will also run on the UI thread, right? Dec 24 09:18:19 JakeWharton: ever considered extending Butterknife to inject values from Activities intent or Fragments getArguments bundle? it seems to be something I repeat all too often.. Dec 24 09:18:20 nb-ben: I think that you can do every UI change what you want Dec 24 09:18:33 storkme: people have done that Dec 24 09:18:54 storkme: wpge stork? Dec 24 09:19:04 storkme: https://github.com/frankiesardo/icepick Dec 24 09:19:07 morning all Dec 24 09:20:35 an icepick is like a butterknife only infinitely more heavy? Dec 24 09:20:57 aha~ Dec 24 09:21:04 thanks JakeWharton Dec 24 09:22:27 that's pretty great. I think I'm the worst developer ever I'm not even sure I enjoy writing code. Dec 24 09:22:53 given the lengths I'll seemingly go to to avoid doing it :3 Dec 24 09:23:22 storkme: writing code is for linux kernel developers Dec 24 09:23:36 storkme: never used it or looked at it so no promises Dec 24 09:23:41 but let me know how it works out Dec 24 09:23:55 and you're avoiding boilerplate here, not code Dec 24 09:24:00 nobody wants to write that shit Dec 24 09:24:21 aye Dec 24 09:25:46 would love to find something that'd auto generate my Fragment.newInstance methods for me :3 Dec 24 09:25:58 Didn't Matthias do something similar with @retain? https://github.com/mttkay/memento Dec 24 09:26:20 hmm between this and butterknife I can nearly just write a page of annotations ang go home Dec 24 09:26:33 CallumTaylor: yes but that one looks worse... Dec 24 09:26:55 *and Dec 24 09:27:00 ah ok, i've never used it, i just remember him talking about it at droidcon this year Dec 24 09:27:16 i've never used it either. the readme doesn't really lend much credibility Dec 24 09:28:07 hey guys, I want a intent to open any sdcard file browser to open a path Dec 24 09:28:12 hello guys/girls I have some images (150 - 200) that I am going to use in my application, what is the best place to put them assets folder ? Dec 24 09:28:30 http://stackoverflow.com/questions/17165972/android-how-to-open-a-specific-folder-via-intent-and-show-its-content-in-a-file Dec 24 09:28:52 ew Dec 24 09:29:01 CallumTaylor: it's horror on the inside! Dec 24 09:29:05 oh really? Dec 24 09:29:12 :s Dec 24 09:29:38 this is for retaining objects across orientation changes, not in the bundle Dec 24 09:29:47 it creates unattached fragments with setRetainInstance(true) Dec 24 09:30:09 "In earlier days, one was to use the onRetainNonConfigurationInstance callback, which is not type-safe, is cumbersome to use, and is today deprecated in favour of using fragments that setRetainInstance(true)." Dec 24 09:30:34 lol'd pretty hard at that since fragments use onRetainNonConfigurationInstance to implement setRetainInstance Dec 24 09:30:38 haha Dec 24 09:31:31 i guess if you're retaining a bunch of non-config crap it cleans up some boilerplate... Dec 24 09:31:57 Hello. I have question about default android components. Would it be right to presome that on every device skin could be different ? Dec 24 09:32:06 yes Dec 24 09:32:20 For example there is no telling that Spinner will look like this on users device http://developer.android.com/guide/topics/ui/controls/spinner.html Dec 24 09:32:22 oh god the Motorola UI Dec 24 09:33:40 how can I tell if I'm doing dependency injection properly? Dec 24 09:33:54 generally i've found if the device is post ICS and you're using holo themes, then tend to adhear to it, but you can't guarantee it Dec 24 09:34:05 i have a kindle fire hd and the inputs are correct Dec 24 09:34:14 storkme: if your app doesn't crash Dec 24 09:34:42 actually the CTS forbids modifying Holo themes Dec 24 09:34:43 but that's fine because if a user is expecting it to show as their device would, it doesn't matter Dec 24 09:34:47 ah does it? Dec 24 09:34:53 thats awesome Dec 24 09:35:34 it's just that I'm using Dagger to give me an IRPCService which has like 10 method definitions for all my RPC calls (which are basically just wrappers around Volley) and just injecting it whenever I need to make an RPC call.. does this sound sensible? it feels a little unwieldly.. Dec 24 09:35:48 is it marked as a @Singleton? Dec 24 09:35:55 it is Dec 24 09:35:59 then you're doing it right Dec 24 09:36:24 cool thanks. Dec 24 09:36:54 I figure for testing I can just write a MockServiceProvider that'll just have empty definitions for all methods then I can just override the ones I need for that test.... Dec 24 09:37:04 this is assuming I ever get round to writing any tests. Ahem. Dec 24 09:38:12 that'll work. you can also make it an interface and use Mockito to setup the responses Dec 24 09:41:22 since we're all here discussing cool APIs and stuff, does anyone have anything they use for input validation? Similar to what you might find with PHP's Zend_Form or express-form-validator for node.js Dec 24 09:49:55 hello guys/girls I have some images (150 - 200) that I am going to Dec 24 09:49:55 use in my application, what is the best place to put them assets Dec 24 09:49:55 folder ? Dec 24 10:03:38 JakeWharton: I'm considering buying your video talk at Parleys. Can you recommend the other sessions, too? Have to decide whether to get the subscription or just buy yours. Dec 24 10:04:45 Ask me tomorrow. 2am and time for bed. Dec 24 10:05:00 sweet dreams & merry christmas you fine soul. Dec 24 10:05:11 byebye Dec 24 10:05:22 Good night. Dec 24 10:23:46 ok, so I have managed to build the code Dec 24 10:23:56 linking seems to be the problem at hand Dec 24 10:24:09 I have the .so and .a files Dec 24 10:24:28 is this still the saga of ffmpeg+ssl? Dec 24 10:24:31 how do I go on about making the proper neat libffmpeg.so Dec 24 10:24:35 yup Dec 24 10:24:45 props, I would have given up days ago. Dec 24 10:26:27 but I started it yesterdaay Dec 24 10:26:49 exactly Dec 24 10:35:51 Hey, I have a free app with not ads. I'm considering integrating an AdMob banner but not sure what kind of user response to expect. Do you have any experience with something like that? I have about 150K screen views a week, what do you think that will earn me with adMob? Dec 24 10:38:10 ads are evil, don't bother Dec 24 10:38:56 personally i prefer the free/premium model where the latter has extra features. Dec 24 10:39:51 storkme: how many users actually buy the premium? out of the people who download the free version Dec 24 10:39:56 lupine: why evil? Dec 24 10:40:04 i couldn't say, sorry Dec 24 10:40:59 hello all , I usually use mockito for my test. but i need to check/test an private method() . I saw PowerMockito can do this anyone have already install it on android ? Dec 24 10:41:08 the ads are either irrelevant or privacy-invading and out-of-date Dec 24 10:41:39 the frequency with which I see ads for things I *bought last week* is incredible Dec 24 10:41:49 jellybee: 10% (not android statistic, though) Dec 24 10:42:24 jellybee: I personally click on ads in free apps to support the developer... Not always, but I do... Dec 24 10:42:40 me too :) Dec 24 10:43:37 I tend towards uninstalling the application instead. you can always have a donation link if you want to rely on goodwill Dec 24 10:43:50 the statistic that I know - 10% of trial users actually buy full app... Dec 24 10:44:45 it kinda annoys me not to make any money from my app and still get winy email from whiny users Dec 24 10:45:11 err Dec 24 10:45:18 i hate the web client Dec 24 10:45:23 Also, look at MX Player (probably best video player for mobile devices, IMO) - it has ads, those ads don't bother me at all... Dec 24 10:46:33 if the app is really good - ads won't be reason for uninstall, I think Dec 24 10:46:49 you could do a free application / paid support model if they're that whiny Dec 24 10:47:17 lupine: you mean with and without ads? Dec 24 10:47:23 no, all without ads Dec 24 10:47:43 but if someone wants to send a whiny email, you ask for money before you respond Dec 24 10:50:24 that could work :) Dec 24 10:50:54 anyone tried the kudoskit? Dec 24 10:52:03 lupine, put ads on it and add a donation version without ads Dec 24 10:52:43 Oh, sorry, not you, but jellybee Dec 24 10:53:46 is anyone savvy with gradle pre-release scripts? Dec 24 10:55:20 could someone explain how to use gradle?.. And what actually is it?.. It's a shame to ask, but I don't get it... Dec 24 10:56:07 its a build tool android studio uses Dec 24 10:56:18 like eclipse uses ANT, Android studio uses gradle Dec 24 10:56:43 gradle gives you more flexibility with what you can do with your app, such as create different builds based on different things Dec 24 10:56:56 such as if i wanted a free specific app and a paid specific app have an additional feature Dec 24 10:57:30 CallumTaylor, it also gives you things that don't work, like the mavenCentral repo Dec 24 10:57:31 it also gives you a hellova headache if you want to do anything more advanced since the documentation is awful Dec 24 10:57:46 yeah i agree Dec 24 10:57:51 guys, if I start Action Mode manually (say, via longpress event) am I supposed to finish it manually as well? Dec 24 10:57:51 but if you know the basics, its very powerful Dec 24 10:57:55 So its not perfect Dec 24 10:57:55 yeah Dec 24 10:58:06 I just wish they would get simple crap like packaging native libraries Dec 24 10:58:13 so I won't have to write function for that Dec 24 10:58:25 i have an app which has currently 10 different versions (same codebase, different assets) with my gradle i just add an additional flavour to change the package name Dec 24 10:58:35 the documentation states: "the contextual action bar disappears when the user deselects all items" Dec 24 10:58:39 Mavrik, by the way, I got he hierarchy viewer working. Dec 24 10:58:43 but it doesn't happen Dec 24 11:00:26 hey, what choices do i have to get the user's location without using google play services? Dec 24 11:00:45 omid8bimo, use Androids Location API? Dec 24 11:00:49 i activate action mode in longpress for a view. then if i tap on the same view again, CAB doesn't terminate and normal onClick event gets triggered Dec 24 11:00:59 omid8bimo, LocationManager class. Dec 24 11:01:04 i'm curious if it's normal Dec 24 11:01:34 CaptainFarrell: Yes, if you manually manage your action modes that means you have to manually dismiss it again Dec 24 11:02:16 how come the behavior is different for setMultiChoiceModeListener ? Dec 24 11:02:32 Because that's entirely managed by AbsLIstView Dec 24 11:02:38 Mavrik: so that would be totally ok without any issues later on, correct? (issues such as not working on newer devices or errors/warning by google/android as for not using google play services) Dec 24 11:02:38 if CAB is active, short presses never call onClick methods Dec 24 11:02:48 but only make items selected Dec 24 11:03:11 omid8bimo, it's the same API that Google Play Services uses. Dec 24 11:03:24 Play Services is just a convenience Dec 24 11:03:36 "convenience" Dec 24 11:04:29 Hi, is it possible to set the height of the layout for an activity larger than the screen height? Dec 24 11:06:15 Mavrik: all right. gotcha Dec 24 11:06:39 SimonVT, thank you. that's what I thought. the whole listview api looks weird in that regard Dec 24 11:08:18 FrancescoV, depends on layout but yes Dec 24 11:09:59 anyone can estimate the revenue a 100K adMob ad views will generate? just an approximation Dec 24 11:10:44 Mavrik: the layout contains a framelayout for my fragments, but the contains a surfaceview for camera preview. The preview must be bigger than the screen and the framelayout must be the normal height Dec 24 11:11:37 FrancescoV, see how android camera app does it Dec 24 11:11:41 does does exactly what you want Dec 24 11:13:06 autrilla: how did you make the hierarchy work? Dec 24 11:13:45 Mavrik: ok, tnx Dec 24 11:14:09 FrancescoV, basically is uses a placeholder custom view which sets it's (larger than screen) size in onLayout and then adds SurfaceView as child Dec 24 11:14:13 osmij_, oh, with ViewServer Dec 24 11:14:23 Mavrik gave me a link Dec 24 11:15:42 Could you give the link, too, please? ) I have a unrooted device too ) Dec 24 11:17:13 osmij_, hmm wait Dec 24 11:17:21 You have to put it in your app though Dec 24 11:17:32 It's a class Dec 24 11:17:45 http://pastebin.com/Hm9FYtxH Dec 24 11:18:31 How can I see in hierarchy viewer why my ImageView isn't shown? Dec 24 11:19:49 Wow Dec 24 11:23:26 Has anyone made a MediaController to fit inside VideoView/SurfaceView, not to match screen in width?.. I managed to set width rawly, but when rotating it doesn't resize nicely, unless manually hidden... Just wonder if there is a "proper" way of setting MediaController width to match some View instead of screen... Dec 24 11:40:32 no one for my powermockito question ? :) Dec 24 11:48:54 http://icongal.com/gallery/icon/16527/25/unlocked would this make a good icon for 'logout' ? can't tell if it's clear or not... Dec 24 11:50:53 i wouldn't say so Dec 24 11:51:13 http://thenounproject.com/search/?q=logout Dec 24 11:51:16 It's a good icon for unlocking Dec 24 11:55:25 Just hide logout away in the overflow menu and don't have an icon Dec 24 11:56:24 that's all i do Dec 24 11:56:33 that way the user can't accidentally logout Dec 24 11:56:44 certainly makes things easier, I'll do that :D Dec 24 11:57:26 The visible actions should be the most used actions for the current content Dec 24 11:57:42 In overflow you hide the rest, and any global menu items Dec 24 12:14:18 is doing activity.runonuithread to show an error dialog generally bad idea? Dec 24 12:17:02 in an asynctask's runinbackground, that is Dec 24 12:22:57 so, I just tried to link the so files using ld of android toolchain Dec 24 12:23:13 tried running the app Dec 24 12:23:34 it complained about missing ssl and I put the so of openssl Dec 24 12:24:13 now, the SIGSIEV is reduced to a exception of inability to find libstl_port Dec 24 12:24:22 hope, I am going in right direction Dec 24 12:25:37 I strongly suggest you compile as much stuff as possible statically Dec 24 12:26:00 bummer, I saw that darn shared flag Dec 24 12:28:58 rebuilding ffmpeg Mavrik Dec 24 12:29:04 fingers crossed Dec 24 12:41:58 Mavrik: static are the so ones, right Dec 24 12:44:15 . Dec 24 12:44:47 cannot mix -static with dynamic object libavutil/libavutil.so Dec 24 12:45:14 hi Dec 24 12:52:44 How can I use Hierarchy Viewer to know why an ImageView doesn't show? Dec 24 12:54:17 so ive got "compile 'com.google.android.gms:play-services:4.0.30'" in my build.gradle but the build cannot find AdView (com.google.android.gms.ads.AdView) what could i be missing? Dec 24 13:02:51 Could you be using an old AdMob version? The package names changed. Dec 24 13:03:40 nope i do import com.google.android.gms.ads.AdView; but the .ads part already turns red in intellij, so it seems it cannot be found Dec 24 13:04:34 A question about a rooted nexus 4 that maybe you can help with : I have twrp installed and last week updated to 4.4.2 by OTA update. I backed up and copied over using adb pull to my laptop. HOwever it keeps reprompting me, a day or two later, to apply the update again - its as if the system is not aware the update has been applied. Dec 24 13:04:57 rgr this is not an app dev question, try #android-root Dec 24 13:05:07 thanks Dec 24 13:15:24 is it possible to make "android list target" to return just 1 target, not the 3 i'have installed? i mean, some way to "hide" or "disable" some targets Dec 24 13:16:59 hm the play services do not show up as a library in the project settings.. hoped this would happen automatically Dec 24 13:19:40 osxorgate: try import com.google.ads.AdView Dec 24 13:19:54 Looney: i believe that's the old style Dec 24 13:20:17 i think it's that the lib is not attached to my module Dec 24 13:20:18 well, works for me Dec 24 13:21:45 ok i had to quit intellij, ./gradlew clean and build, and restart intellij. the restart triggers the project reconfigure Dec 24 13:21:48 *mental note* Dec 24 13:22:29 is it possible to make "android list target" to return just 1 target, not the 3 i'have installed? i mean, some way to "hide" or "disable" some targets Dec 24 13:26:00 No, it lists your available targets Dec 24 13:42:38 merry christmas to all of you Dec 24 13:45:04 i thought there was a war on xmas Dec 24 13:54:38 could it be that adding an OnGlobalLayoutListener will cause a memory leak? Dec 24 14:10:10 Does someone know how to cancel closing the AlterDialog by clicking on the negative or positive button based on what they give in? I need to be sure whether what they give in was an integer. Dec 24 14:15:55 Hello everyone. I'm trying to get my TextToSpeech working, but I got a "speak failed: TTS engine connection not fully set up", but got in green : Connected to ComponentInfo{...GoogleTTSService}. Here is my code : https://github.com/Seraf/LISA-CLIENT-Android . The tts code is in MainActivity. (I'm maybe the biggest java newbie :) ) Dec 24 14:16:17 Greetings, folks! Couldn't anyone familiar with in-app billing answer me? I'm trying to establish purchases in my application 3 days long right now. Currently, as I understood, all products we have onto the marketplace are "managed" so we have to consume them once we want to purchase it again. The thing that I have purchase $1 product in my live version of application and then playing with "android.test.purchased" in debug version I used to try to Dec 24 14:16:18 consume the live one product what was answered with "5" response code which is some kinda "developer error". But few moments after I got an SMS from my bank that my $1 was given back to me, canceling the purchase. Is it ok since there was some trouble with operating or did I do something wrong, so what should I really do to make re-purchasable products? Dec 24 14:16:31 can someone help me to fix it please ? By explaining me, or comment/pull request on my repo please ? Dec 24 14:17:54 hey guys anyone know how to save todays date to Shared Prefs this is what i have but its not working http://stackoverflow.com/questions/20748341/save-date-to-shared-preferences/20750498?noredirect=1#comment31097008_20750498 Dec 24 14:20:13 So the real question is: does consuming purchase cancel it? Dec 24 14:20:16 What part of it is not working? Dec 24 14:22:34 I get todays date but tomorrow it will set all entries in my listview to tomorrows date Dec 24 14:23:14 I want it to keep the date it was added to the listview like a note taking app Dec 24 14:24:20 So saving it to preferences works fine? It's wherever in your code you're reading the value and displaying it that doesn't work? Dec 24 14:24:32 Because that SO question only contains the saving part Dec 24 14:25:21 i dont think its saving as well Dec 24 14:25:34 Did you check? Dec 24 14:25:44 yes Dec 24 14:26:05 So you don't think it's not saving, you know it's not saving? Dec 24 14:27:33 It's easy to check really. After committing, read the value and print it to logcat Dec 24 14:27:43 See if it's the expected value Dec 24 14:27:54 If it is, the issue is not saving the date to preferences Dec 24 14:28:11 Here is the full code http://pastebin.com/ekf2PrYs Dec 24 14:28:58 So you get the current time, save the current time to preferences, then read the current time from preferences and display it Dec 24 14:29:03 Every time Dec 24 14:29:12 Of course it'll always display the current time Dec 24 14:29:46 Tomorrow you'll do the same thing.. Get current time, save, read, display Dec 24 14:30:42 yes can you help me with the adjustments Dec 24 14:30:50 delete line Date date2 = new Date(settings.getLong("time", 0)); ? Dec 24 14:30:55 I'm not going to write your code for you Dec 24 14:30:59 Do you not see what the issue is? Dec 24 14:33:01 Every time getView is called you essentially write System#currentTimeMillis to preferences Dec 24 14:34:18 ok Dec 24 14:34:24 How can I use Hierarchy Viewer to know why an ImageView doesn't show? Dec 24 14:38:30 autrilla: Depends what you mean when you say "why".. You can see its fields like visibility, measured width, width, etc.. Dec 24 14:38:40 You can't see why they are those values Dec 24 14:38:48 That depends on your code Dec 24 14:51:07 hey guys i am having an issue with xmlresourceparser skipping and not reading/parsing an important attribute Dec 24 14:51:45 SimonVT, well, I'd like to know why if possible Dec 24 14:51:50 I already know it isn't shown :( Dec 24 14:54:55 SimonVT, were you the one using IntelliJ? Dec 24 14:57:50 I use AS Dec 24 14:57:58 So kinda Dec 24 15:02:01 SimonVT, do you know how to save SSH sessions? I always have to re-enter my information. It even crashes on me;, Dec 24 15:02:56 Nope Dec 24 15:03:05 They have a forum I believe Dec 24 15:03:51 SimonVT, I tried posting on that forum but never got an answer in a whole week, the IRC of them is dead and the documentation thinks you're a IntelliJ genius. Dec 24 15:04:04 an* Dec 24 15:07:59 well this channel is helpful Dec 24 15:14:58 Hello everyone. I'm trying to get my TextToSpeech working, but I got a "speak failed: TTS engine connection not fully set up", but got in green : Connected to ComponentInfo{...GoogleTTSService}. Here is my code : https://github.com/Seraf/LISA-CLIENT-Android . The tts code is in MainActivity. (I'm maybe the biggest java newbie :) ) Dec 24 15:15:01 can someone help me to fix it please ? By explaining me, or comment/pull request on my repo please ? Dec 24 15:30:39 How can you kill your app? Dec 24 15:34:12 Hello everyone. I'm trying to get my TextToSpeech working, but I got a "speak failed: TTS engine connection not fully set up", but got in green : Connected to ComponentInfo{...GoogleTTSService}. Here is my code : https://github.com/Seraf/LISA-CLIENT-Android . The tts code is in MainActivity. (I'm maybe the biggest java newbie :) ) Dec 24 15:34:15 can someone help me to fix it please ? By explaining me, or comment/pull request on my repo please ? Dec 24 15:52:00 hi guys, a simple java question : I got 2 ArrayListe L1 and L2. i copy L1 on L2 like this : L2 = L1. But now when i modify L1, L2 is also modified Dec 24 15:52:03 is that normal ? Dec 24 15:52:49 yep. Dec 24 15:53:04 macTAR, basic java :) Dec 24 15:53:08 L2 = L1 isn't copying. Dec 24 15:53:16 you just make L2 and L1 point to the same thing. Dec 24 15:53:28 Imagine L1 as a pointer (if you know C) Dec 24 15:53:33 oh Dec 24 15:53:35 yeah Dec 24 15:53:45 L2 = L1 will just make L2 point to where L1 is pointing, as Mavrik said Dec 24 16:00:47 hi, which file contains which user belongs to which applications? Dec 24 16:12:32 w000p got me some JSON Dec 24 16:13:35 xmas? Dec 24 16:14:20 Hello everyone. I'm trying to get my TextToSpeech working, but I got a "speak failed: TTS engine connection not fully set up", but got in green : Connected to ComponentInfo{...GoogleTTSService}. Here is my code : https://github.com/Seraf/LISA-CLIENT-Android . The tts code is in MainActivity. (I'm maybe the biggest java newbie :) ) Dec 24 16:14:21 can someone help me to fix it please ? By explaining me, or comment/pull request on my repo please ? Dec 24 16:15:32 hehe X) Dec 24 16:16:04 im actually more excited about the JSON im getting back from my backend server than xmas.. X) Dec 24 16:16:13 what a grinch lolz Dec 24 16:16:46 santa says 'NO SOUP FOR YOU!' Dec 24 16:20:57 http://stackoverflow.com/questions/20763820/save-current-day-to-textview-using-shared-preferences Dec 24 16:23:54 hey Dec 24 16:24:22 i heard that it's possible to "wire" android phone and listen to all the calls that being made Dec 24 16:25:12 NSA forces everything to be like that Dec 24 16:25:13 how is it possible?, i mean do they record the calls and send them to a server? or they using another phone as a "proxy" and performing MITM attack? Dec 24 16:25:24 shmooz, i'm not talking about NSA Dec 24 16:25:41 GSM is so weak, you don't need anything too special to spy on GSM calls Dec 24 16:25:45 i'm talking about private "spies" Dec 24 16:25:56 Hello everyone. I'm trying to get my TextToSpeech working, but I got a "speak failed: TTS engine connection not fully set up", but got in green : Connected to ComponentInfo{...GoogleTTSService}. Here is my code : https://github.com/Seraf/LISA-CLIENT-Android . The tts code is in MainActivity. (I'm maybe the biggest java newbie :) ) Dec 24 16:26:06 BtbN, what do you mean? Dec 24 16:26:17 private spies that discovered the secret nsa vulnerability Dec 24 16:26:38 Calls via Mobile Network(GSM) aren't realy encrypted, with a propper reciever, you can baiscaly just listen to any phone call in range Dec 24 16:26:39 shmooz, i doubt that Dec 24 16:28:37 BtbN, dude. Dec 24 16:28:42 really, no. Dec 24 16:28:53 stop talking wrong nonsense :) Dec 24 16:29:16 Mavrik, so how can someone listen to GSM calls? Dec 24 16:29:25 unfortunately, that's not nonsense Dec 24 16:29:29 elichai2, tens of different ways Dec 24 16:29:43 elichai2, depends on how much equipment he has and how broken your phone is :) Dec 24 16:29:45 details plz? Dec 24 16:29:53 and how dumb your telco is Dec 24 16:29:59 it's a topic of several books :) Dec 24 16:30:19 but saying that GSM conversations aren't encrypted is a lie :) Dec 24 16:30:30 they might be if you have an incompetent telco Dec 24 16:30:36 yes, encrypted with a WEP like algorithm... Dec 24 16:30:45 which can be broken within seconds Dec 24 16:30:46 there's several cipher algorithms Dec 24 16:30:55 yes, bot no good ones are in real-life use Dec 24 16:31:00 of course they are Dec 24 16:31:03 again, your telco. Dec 24 16:31:12 All german ones use useless ones Dec 24 16:31:30 well good for them, we managed to persuade ours to disable the A0/A1 crap Dec 24 16:31:44 the encryption algorithms ARE problematic :) Dec 24 16:31:49 but no need for misinformation :P Dec 24 16:32:01 elichai2, let me tell you that way Dec 24 16:32:17 elichai2, any government organization that goes to put a bug on your phone is idiotic Dec 24 16:32:28 because it's way easier to just intercept at your telco Dec 24 16:32:33 yeah, because pointing out that GSM is insecure is totaly misinformation! Dec 24 16:32:47 Mavrik, im not talking about goverment Dec 24 16:33:22 BtbN, telling lies about security does more damage than good Dec 24 16:33:29 there's no need to lie. Dec 24 16:33:41 Telling people that GSM is safe is a lie... Dec 24 16:33:50 And noone said that. Dec 24 16:34:15 links please? Dec 24 16:34:17 Hi all :) I'm using Eclipse Platform 3.7.2 and trying to run my program (had no problems before today, but I put down Android development for about 60 days.) Android Device Chooser dialog presents one "real" device, but none of the information about it is known (serial number is "??????", target is "unknown", state is "?"?) Dec 24 16:34:28 Anyone know what could be the problem with my setup? Dec 24 16:34:50 any link for a GSM reciever? or an android code that somehow send all the calls? Dec 24 16:35:11 uh. Dec 24 16:35:35 I suggest you look at Defcon or CCC talks of last three years about GSM security. Dec 24 16:35:42 it's not as simple as you think. Dec 24 16:35:53 hdon, Linux? Dec 24 16:36:02 Mavrik, yes Dec 24 16:36:38 hdon, you probably didn't add an udev rule to allow Eclipse access to your device Dec 24 16:36:48 Mavrik, hmm, possibly... Dec 24 16:37:01 hdon, http://source.android.com/source/initializing.html#configuring-usb-access Dec 24 16:37:22 Can anyone help with this? http://stackoverflow.com/questions/20763343/imageview-doesnt-show-when-layout-is-on-listview Dec 24 16:37:40 * hdon clicks Dec 24 16:37:50 hdon, er, read this rather: http://developer.android.com/tools/device.html#setting-up Dec 24 16:37:56 * hdon clicks Dec 24 16:37:59 the upper one is for Nexuses only :) Dec 24 16:38:34 Mavrik, I never had to (manually)setup a udev rule for eclipse to debug on my S3.. Dec 24 16:38:41 was I just lucky? Dec 24 16:38:49 depends on your distro Dec 24 16:40:12 Lubuntu (LXDE/Ubuntu 12.10) 3.5.0-34-generic - x86_64 Dec 24 16:41:08 Mavrik, ^ Dec 24 16:43:52 Mavrik, those directions worked. i did replug my device and restart eclipse as well after adding the udev rule, dunno if i had to. Dec 24 16:43:56 Mavrik, thanks a lot! Dec 24 16:52:28 Mavrik, i looked a little but how can i listen to the GSM radios at all? Dec 24 16:52:44 where can i buy an GSM antenna to connect to my laptop? Dec 24 16:52:54 elichai2, it doesn't work like that Dec 24 16:53:12 elichai2, as I said, I suggest you check out the talks and papers on Defcon/CCC of people who did that Dec 24 16:53:15 they used old phones Dec 24 16:53:34 ones that had only one cpu, too Dec 24 16:53:53 Mavrik, i've read this: http://www.defcon.org/images/defcon-13/dc13-presentations/DC_13-Tanner-Smith-Lareau.pdf Dec 24 16:54:17 but i want to buy the equipment and continue from there Dec 24 16:54:39 elichai2: Android has no code related to what you seek, afaik Dec 24 16:55:09 p_l, more important, CPU-based baseband processing :) Dec 24 16:55:46 Mavrik: as for A0/A1, someone explained the continued use of the still crappy stuff as "preventing every idiot with access to radioshack from calling on your dime, not protecting against serious threats" :P Dec 24 16:56:08 yeaaa Dec 24 16:56:25 p_l, some guys here have shown (with step-by-step guide) how to listen in to A0/A1 calls Dec 24 16:56:37 Mavrik: Yes, that's 90s stuff. Dec 24 16:56:41 when that hit the news it took telcos 2 days to disable those encyrptions :) Dec 24 16:56:46 p_l, you say that it's all GSM thing? and i can't program an app that every call it will add my number to an Conference Call? Dec 24 16:56:57 p_l, well except one of the telcos who tried to get those guys arrested :D Dec 24 16:57:27 Mavrik: depends on area, I guess... I remember watching information about that on public TV in late 90s Dec 24 16:57:33 mhm Dec 24 16:57:39 afk Dec 24 16:57:41 it's a thing that the operator has to enable/disable Dec 24 17:03:03 elichai2: gnuradio has some software based gsm stuff Dec 24 17:03:49 elichai2: https://www.youtube.com/watch?v=pTb1_v8M6iA this video shows how to make a gsm base station Dec 24 17:03:52 mhm, but you need a proper receiver Dec 24 17:04:04 btw, last time someone forgot a base station on he got a visit from the police :) Dec 24 17:04:05 both the hardware and software are in the video Dec 24 17:04:13 don't broadcast stuff on frequencies you don't own :) Dec 24 17:04:22 yeah, that issue still applies Dec 24 17:04:25 Mavrik, was it you that mentioned Jackson..? Dec 24 17:04:40 Mavrik: i would program it to self-terminate if it detects any other active towers Dec 24 17:04:57 then it will only ever work in the middle of nowhere Dec 24 17:05:00 lacx, mhm. Dec 24 17:05:10 clever, mhm, it was just a fun story Dec 24 17:05:14 clever, from last years C3 Dec 24 17:05:20 Mavrik: ah Dec 24 17:05:26 gut forgot the transciever at home turned on and his machine reset Dec 24 17:05:47 he went on vacation and the device started broadcasting on a frequency of one telco :) Dec 24 17:05:56 just looking into it, its pretty badass! X) Dec 24 17:08:55 Anybody got a good reference on USB bulk/interrupt transfers? I've read a lot of the samples/examples, but I can't find much on being the receiving-end. Dec 24 17:22:35 clever: better to just get a test network licence... Dec 24 17:22:43 hi all. i'm developing in eclipse and i'm wondering why i seem to have to kill my application from "Manage Apps" (Android 2.3.5) to run the new build Dec 24 17:59:37 Hey guys, in Android there is "Workspace" folder... In plain Java - is there something like that?.. Or I can just create some random folder and call it "MyProjects"?.. Dec 24 18:00:35 Or is "Workspace" created by Eclipse and that's it?.. Dec 24 18:02:38 sounds like eclipse's doing Dec 24 18:03:40 Hey guys, I'm trying to port ZXing to Gingerbread for my project, but now I have a little problem; in com/google/zxing/client/android/PreferencesActivity it says package com.google.zxing.client.android, but I think that's keeping me from import android.support.v4.app.FragmentActivity;... Any way to fix that? Dec 24 18:10:26 Is anyone has a sublime text theme for Intellij/Studio which respects the original color scheme? Dec 24 18:10:48 JulienDev, Darcula gets pretty close Dec 24 18:12:39 JulienDev: i've found this one which is decent https://github.com/hamidp/ir-black-intellij Dec 24 18:13:45 It's not very close to the original one :) http://imgur.com/CJIUv71 Dec 24 18:14:22 JulienDev: ah my bad. i thought you meant something different. Dec 24 18:15:45 no problem :) Dec 24 18:15:53 hi all :) is it still conventional to use the res/raw directory and then use openRawResource()? if answer yes, how using Eclipse 3.7.2 can i add a "raw" resource to my project? Dec 24 18:19:56 by putting it in res/raw? Dec 24 18:19:57 if i right click on my project in PackageExplorer, i can find submenu "Android Tools," with menu items "Add Resource File," but this dialog appears only to apply to various XML resources Dec 24 18:19:58 how hard is that... Dec 24 18:20:06 drag and drop a file there Dec 24 18:20:14 oh Dec 24 18:20:15 * hdon tries Dec 24 18:20:33 i don't usually use a graphical file shell, so this did not occur to me Dec 24 18:20:35 * hdon runs nautilus Dec 24 18:22:05 pfn, i have no raw directory in res directory of my project Dec 24 18:22:15 can i just create it on the filesystem and it will appear in eclipse gui? Dec 24 18:22:46 yes Dec 24 18:22:52 or you can just right click new folder... Dec 24 18:23:07 ah yes that's what i did Dec 24 18:25:28 ok i see "raw" was created in R class with an entry for my new file Dec 24 18:25:29 thanks pfn Dec 24 18:38:35 man, I wish there were more visibility into native code pieces of the framework Dec 24 18:39:04 stupid rtp stream hangs on my moto x when closing the stream and it's in native code while trying to stop a thread... Dec 24 18:40:48 yeah Dec 24 18:41:06 the fact that manufacturers randomly replace the native files doesn't help Dec 24 18:41:10 did anyone manage to get free 5$ amazon credit Dec 24 18:41:20 from amazon app store Dec 24 18:41:46 yes Dec 24 18:46:47 you lucky **** Leeds Dec 24 18:46:57 I am unable to download any single app Dec 24 18:47:06 it wasn't exactly difficult Dec 24 18:47:47 maybe I'm just special :) Dec 24 18:48:37 great Dec 24 18:49:27 will try when most people are sleepin Dec 24 18:49:57 it's almost 3am here... Dec 24 18:50:02 also, MERRY CHRISTMAS Dec 24 19:01:14 and still, I am not able to download a single app Dec 24 19:01:23 must be broken Dec 24 19:02:10 but yeah, this hanging rtp is pissing me off Dec 24 19:02:14 I can't do shit about it Dec 24 19:02:23 android.net.rtp is such a terrible api, who came up with this garbage... Dec 24 19:02:38 android.net.nsd was garbage, too Dec 24 19:02:43 I had to switch back to jmdns it was so bad Dec 24 19:03:05 looks like I might have to resort to dropping in my own rtp implementation at this rate Dec 24 19:06:54 wtf, and now it magically doesn't hang anymore... Dec 24 19:07:58 and now it's hanging again Dec 24 19:21:17 hey guys I'm trying to create a custom keypad Dec 24 19:21:30 with Button it works nicely the buttons of correct weight with http://pastebin.com/Nff6BD0h Dec 24 19:22:09 but If I use ImageButton things go messed up Dec 24 19:41:54 hi, i've rolled my own build system in order to better understand how to construct an apk, and i'm finding that my app crashes due to missing a font file that is part of a 3rd-party jar i reference; obviously it's being dexed, but that's just the .class files in the there -- does any of the android build tools (aapt perhaps) help me to extract these items so that i can package them into my .apk? Dec 24 19:42:39 ahri: you could add a step that copies contents of the jar to your new APK? Dec 24 19:43:36 yeah i just wonder: am i re-inventing the wheel if i take the non .class files out myself? Dec 24 19:50:49 oh well, i guess i'll do it manually for now at least Dec 24 19:50:59 cheers, and merry christmas :) Dec 24 20:19:41 ahri: I do think it'd make a good blog post; the process you are using/develop. Would help enlighten others on the internals of what'd be needed for "roll-your-own" builds. I think it'd be quite interesting. Dec 24 20:51:59 Hey, is it possible to download old APK's from the developer console? Dec 24 20:55:06 no Dec 24 20:57:59 k, thanks Dec 24 21:35:23 hi everyone Dec 24 21:38:07 Hello there. Is there anyone that knows how you can play a m3u file with the MediaPlayer (http://developer.android.com/reference/android/media/MediaPlayer.html) ? Dec 24 21:41:31 Silox| is it a stream? Dec 24 21:46:28 canvs2321: Yes it is Dec 24 21:46:42 I guess I'll have to parse the m3u manually :o Dec 24 21:49:35 Does anyone know why my camera would be skewed like this? http://cl.ly/image/3n0U1837362L Dec 24 21:49:42 I posted more information here, including code - http://stackoverflow.com/questions/20766951/why-is-my-android-camera-preview-skewed Dec 24 21:50:48 cubahero, that looks like wrong stride when decoding camera input Dec 24 21:50:57 are you setting something not supported on device? Dec 24 21:51:28 Mavrik: I tried to leave as many things default as I could Dec 24 21:51:34 well Dec 24 21:51:38 you shouldn't. Dec 24 21:51:40 heh Dec 24 21:51:44 set preview size to one of the supported sizes :) Dec 24 21:51:45 okay should I detect camera parameters? Dec 24 21:51:58 Are the preview sizes supported on a per-device basis? Dec 24 21:52:56 yes. Dec 24 21:53:00 Mavrik: I was trying to follow this tutorial (minus some of the checking to see if the camera exists) http://developer.android.com/guide/topics/media/camera.html Dec 24 21:53:47 welcome to world of Android camera Dec 24 21:54:07 also remember that camera sensor is oriented in landscape orientation for back camera Dec 24 21:54:09 perhaps I can just adjust everyones vision to be skewed and leave the preview as-is Dec 24 21:54:13 twitter. android. ugh. Dec 24 21:55:01 thanks Mavrik Dec 24 22:03:21 i'm a newbie but toying with the idea of building my first android device. currently looking into target platforms and thinking of starting with a development board and android 4.4. anyone have any recommended platforms for a beginner just getting started? Dec 24 22:04:33 building an android dvice? Dec 24 22:04:48 ryan-risc: platforms for building an image for a device? Dec 24 22:05:43 lol, i like how to create an android app with facebook, instead of clicking the 'Create apps' button, you click 'manage apps' Dec 24 22:05:51 can already tell this will be fun Dec 24 22:06:31 i figured first step is to get a build of android 4.4 on a target platform. trying to start there, but realize that there's likely the initial need to have a platform with compatible drivers. Dec 24 22:07:01 but yea, again, i'm new to this and just trying to find a good place to start getting my hands dirty. i realize there will be a lot to learn along the way. Dec 24 22:07:09 wow. ryan-risc, this isn't a one sentence answer Dec 24 22:07:34 are you talking about building an actual android device i.e the hardware? Dec 24 22:07:37 I can suggest reading up on CM's image building.... Dec 24 22:07:39 http://wiki.cyanogenmod.org/w/Development#Learning_To_Build_CM Dec 24 22:08:04 no doubt. so i started looking and found linaro engineering builds that work with the versatile express boards. that's all i've got so far :) Dec 24 22:08:16 ok thanks. i'll take a look Dec 24 22:08:56 ryan-risc: just so you know. IF you are going to get dirty with drivers and all, you may need the file tree for the linux kernel as well. Dec 24 22:10:05 facebook app, why must you decide not to use intents? Dec 24 22:10:43 twitter. android. ugh. Dec 24 22:12:12 i'd started this expecting that there's be a platform that already has supported drivers for android 4.4. i'm hoping to avoid writing my own drivers. that'd be quite a hurdle. is that a crazy expectation? Dec 24 22:12:37 also, thanks for entertaining my newb inquiries so far Dec 24 22:13:06 that might be out of the scope of this channel really Dec 24 22:13:50 Mavrik: so I printed out the supported displays http://cl.ly/image/1t2B2B2Y1V27 which yielded a bunch of combinations - http://cl.ly/image/1p1w3P450X04 Dec 24 22:14:20 but it's odd, it's a Google Glass and I think the resolution is 640 x 360 which I don't see there Dec 24 22:14:47 desmin88: don't suppose you have recommendations for a better forum on this subject? Dec 24 22:14:55 maybe the screen resolution and preview size don't have to be the same? Dec 24 22:15:53 ryan-risc: just to be clear, you want to build an android device with the hardware? Dec 24 22:17:39 eventually. but to begin was hoping to find a development board with android 4.4 supported drivers. trying to start with a hardware platform that doesn't require a huge amount of work to get started. just not sure what that platform is or if it even exists. Dec 24 22:18:30 i'd mostly started by looking at arm development boards: http://arm.com/products/tools/development-boards/index.php Dec 24 22:18:36 ryan-risc: I have something for you Dec 24 22:18:57 I bought a development device; but, not for development. Dec 24 22:19:08 I use it as my streaming device with my TV Dec 24 22:19:30 it uses the Samsung S2 board and its drivers to run the board. I'll post the link for you Dec 24 22:19:50 FYI, CM supports it as well and that's what I have running with it :) Dec 24 22:20:35 cool Dec 24 22:20:35 thanks lem Dec 24 22:20:35 s Dec 24 22:21:06 cubahero, eh Dec 24 22:21:16 Mavrik: looking at this https://github.com/commonsguy/cw-advandroid/blob/master/Camera/Preview/src/com/commonsware/android/camera/PreviewDemo.java Dec 24 22:21:18 cubahero, why would screen resolution and resolution of camera sensor have to be the same? Dec 24 22:21:19 ryan-risc: this is the device that I purchased Dec 24 22:21:20 and this http://stackoverflow.com/questions/8795209/how-does-android-handle-differences-between-preview-size-ratio-and-actual-suface Dec 24 22:21:20 http://hardkernel.com/main/products/prdt_info.php?g_code=G135341370451 Dec 24 22:21:26 Mavrik: right - I'm stupid basically Dec 24 22:21:30 cubahero, how would you take 8Mpix pictures on a device then? :P Dec 24 22:21:32 <-- slightly less stupid now Dec 24 22:21:46 ryan-risc: Here is the CM wiki page for the device http://wiki.cyanogenmod.org/w/Odroidu2_Info Dec 24 22:25:22 lems111: awesome. thanks. this looks like exactly the kind of thing i was searching for. appreciate the help. Dec 24 22:41:12 is there any way to integrate twitter4j with Volley? Dec 24 22:41:36 error: avd-3.2 is not valid: generic 4in wvga (nexus 2) configuration has changed since the AVD creation. try repair through avd manager <-- im not using that configuratiuon, i get this error instantly after creating any non 4.4 avd. wtf over? Dec 24 22:46:26 I440r: solution, don't use the sdk emulator Dec 24 22:50:30 I440r: You can use genymotion. Dec 24 22:55:44 desmin88, why would i use some third party emulator? Dec 24 22:55:52 googles emulator sucks that bad now? Dec 24 22:56:20 hi all Dec 24 22:56:24 you say it like being 3rd party is a bad thing Dec 24 22:56:30 its by far the best emulator for android Dec 24 22:56:43 does anyone know if I can upload a file with jackson annotation? Dec 24 22:56:52 free? Dec 24 22:56:57 yea Dec 24 22:57:16 if i can emerge it ill use it Dec 24 22:57:35 nope. no ebuild Dec 24 22:59:13 I440r you live in a world of self inflicted pain ! Dec 24 22:59:15 lol Dec 24 22:59:17 or Dec 24 22:59:19 get a real device Dec 24 22:59:39 lol. i use my gnex for debugging with AS Dec 24 23:13:33 i'm attempting to set height/width of a ViewGroup's LayoutParams, but it always comes up as 0, 0. what's wrong with this? http://pastebin.com/dVqTB5Fg Dec 24 23:14:12 in the ViewGroup's constructor, i just use new LayoutParams(0, 0) so the layout params aren't null Dec 24 23:14:49 i'm trying to build a aosp based rom and i ran into a snag, the rom boots far enough i can get adb access but never to the actual bootlogo, and after some debugging i found that pvrsrvinit is having some trouble, think its related to the fact my proprietary files have glespvr libs thats version 1.9@2291151, but when running "cat /proc/pvr/version" its reporting back version 1.8@785978. I Dec 24 23:14:49 cant find a second copy of pvr's source in the tree, the only copy of it i can find is the correct version, any ideas? Dec 24 23:18:03 stunts513: lol. I think this room is for app dev, not rom dev Dec 24 23:18:57 yea i had a feeling, i think they should change the descriptions for the channels so its easier to figure out which one is rom development Dec 24 23:19:45 stunts513: let me read ur comment. give me a moment Dec 24 23:20:19 what device is this for? Dec 24 23:20:37 kindle fire hd 7" Dec 24 23:21:22 i'm having to use cm sources so i'm guessing it could be something with the makefiles but i have no idea where the 1.8 version is even coming from Dec 24 23:22:06 stunts513: good that u r using CM's. I was gonna refer you to it Dec 24 23:23:07 is that otter or otter2? Dec 24 23:23:13 tate Dec 24 23:23:23 its not official yet Dec 24 23:25:56 I see. hang on Dec 24 23:27:39 i am thinking... Dec 24 23:28:44 stunts513: whats the processor on that tablet Dec 24 23:28:54 If you're trying to port cm you should probably ask in their channel Dec 24 23:29:03 +1 SimonVT Dec 24 23:29:09 im not Dec 24 23:29:27 is that a TI processor in that tablet? Dec 24 23:29:33 i ment im using cm sources for the device specific things Dec 24 23:29:39 yes an omap 4460 Dec 24 23:30:12 TI no longer deals with ARM processors, right? Dec 24 23:30:14 Okay guys, for some reason i can't refresh individual rows in my app. http://pastie.org/8574431 I'm using the reccommended way and my item positions are corect. Dec 24 23:30:18 hello, I'm looking for partner who can help me with an interesting project Im working on myself- Send me your linkedin profile in a private message and we can talk Dec 24 23:30:54 tomasso: what if i dont have a linkedin Dec 24 23:31:02 stunts513: what android version did the tablet originally support? and what android version are you trying to build? Dec 24 23:31:25 tomasso: Also "No bots, and no advertising please, jobs or otherwise" Dec 24 23:32:00 the tablet comes with amazon's os which is an ics based os, hashcode then ported cm 10.1 to it Dec 24 23:32:16 desmin88: haha whatever you have to exchange our experience Dec 24 23:32:25 i'm trying to build firefox os, which is aosp based Dec 24 23:32:37 tomasso: well either way advertising is frowned upon here, lol Dec 24 23:32:50 and if you read their site they say its supposed to be an ics based os, but their manifests say otherwise, the nexus-4 uses jellybean sources Dec 24 23:33:12 its not advertising, im exhausted working for companies that dont pay a coin Dec 24 23:33:35 desmin88: Did you actually update the dataset? Dec 24 23:33:49 SimonVT: Yes indeed. Dec 24 23:34:29 stunts513: gnex ran into a similar issue with its TI core. Drivers can't be ported to latest android version Dec 24 23:34:39 SimonVT: I know my updated code is correct because when I scroll down then back up the changed view is shown,. Dec 24 23:35:14 well we use an older kernel still, we already have a cm 11 port on kindles and a cm10.2 port, im using cm 10.2 device sources Dec 24 23:35:16 Did you check that it sets the right data on the view in getView? Dec 24 23:35:23 indeed Dec 24 23:36:44 It really sounds like it doesn't Dec 24 23:37:29 Well it has too, how otherwise would the view update properly when redrawn? Dec 24 23:37:49 stunts513: I don't know what else to tell ya. there were GL issues with moving up gnex to a later android version. If you are using the old kernel, then idk Dec 24 23:37:56 I mean when you manually call getView Dec 24 23:38:38 stunts513: you are trying to build a firefox os out of that as well. Wow. you are trying to get the CM OS working first before jumping to firefox, right? Dec 24 23:38:53 we already have a working cm os Dec 24 23:39:18 cm 10.1, 10.2, and 11 Dec 24 23:39:49 stunts513: idk man. this issue of yours comes about when booting up the firefox os, which is out of my league as well. Dec 24 23:40:33 i would have used complete cm sources but i would have had to have done a complete recode of the core makefile Dec 24 23:40:46 i really don't want to twitter Dec 24 23:41:03 SimonVT: How would manually calling getview be any different from the adapter? Dec 24 23:41:08 this seemed easier, but i cant find where the stupid module's source is for that version, i even grepped the source tree for it Dec 24 23:41:35 what are people using since asynctask is horrible? just a singleton and a thread/handler? Dec 24 23:41:52 storkme: You can use an asynctaskloader Dec 24 23:41:56 desmin88: It wouldn't, unless your other code makes it so Dec 24 23:42:00 stunts513: am sure updating the core makefile is easier than fiddling with drivers at the kernel level.... Dec 24 23:42:19 do people actually use those Dec 24 23:42:28 stunts513: wait. That file is a driver? Dec 24 23:42:34 to be honest my experience isnt that high, this is my first porting attempt, i know bash and i can read makefiles, but recoding it is another story Dec 24 23:43:04 i believe so Dec 24 23:43:08 or a module of some sort Dec 24 23:43:42 stunts513: if this file is a driver, it's probably a proprietary mod and may not be in the tree... Dec 24 23:44:15 SimonVT: Just fixed it, I was calling my refresh event before the new data was completely saved Dec 24 23:44:17 stunts513: it may be sideloaded. I forget the right term; but, it may exist on a separate directory, parallel to the tree.... Dec 24 23:44:27 you mean part of the proprietary files? Dec 24 23:44:31 er blobs* Dec 24 23:44:35 stunts513: yup Dec 24 23:44:55 the proprietary blobs are teh 1.9 versions Dec 24 23:45:33 stunts513: am getting the shakes just remembering all this from m own tinkering experience. lol Dec 24 23:46:17 yea i had more problems before this, i had to figure out how to make a custom bootimg for this device because it has a nonstandard header on the kernel Dec 24 23:46:32 or certifcate cant remeber whcih Dec 24 23:46:48 had to use a xperia patch to get it to use cm's setup for custom bootimg's Dec 24 23:47:40 stunts513: lol. man, every word of those last sentences gives me the shivers.... Dec 24 23:48:18 hehe Dec 24 23:48:22 stun Dec 24 23:48:26 ooopss... Dec 24 23:48:47 stunts513: i uploaded my own tree in git hub, a few years back.....https://github.com/lems111/Intercept-CM6-Kernel Dec 24 23:49:19 stunts513: my point is, there is a platform folder there that contained all my proprietary stuff to build the image... Dec 24 23:49:40 lemme take a look... Dec 24 23:51:12 stunts513: i dont think that there is anything helpful or relevant to u in that repo; but, my point was that there was a process to sideloading proprietary drivers into building the img Dec 24 23:52:11 and part of that process was having a directory in parallel to the tree with a script to help pull everything together... Dec 24 23:52:27 oh Dec 24 23:52:49 interesting Dec 24 23:55:50 am gonna look for the CM link that helped me a while back.... Dec 24 23:55:58 i also noticed something interesting on pandaboards, saw a similar issue on google groups, but the pvr modules were in the kernel folder and they arent on here, the pvr source is in a folder under device/amazon/omap4-common/pvr-source Dec 24 23:57:01 stunts513: you probably read thru this already....http://wiki.cyanogenmod.org/w/Doc:_porting_intro Dec 24 23:58:13 pretty much Dec 24 23:58:36 for all i know this could all be an issue of something not being included from cm devices sources into the aosp build Dec 24 23:59:11 see, the file is under device/amazon/.... Dec 24 23:59:41 that file needs to be included in a script for importing.... Dec 25 00:00:33 stunts513: when the device is booted, you do like an ls of the filesystem to confirm that the file is there, correct? Dec 25 00:01:10 which file are we talking about Dec 25 00:01:23 i can see the proprietary files being there Dec 25 00:01:26 stunts513: that pvr file. that's the one that isn't loading, right? Dec 25 00:01:40 thats the thing i don't know what file that is Dec 25 00:01:40 stunts513: r we on the same page or am i missing something? Dec 25 00:01:50 i can cat /proc/pvr/version Dec 25 00:02:07 oh.lol. i see Dec 25 00:02:18 you don't even have the filename to go with, right? Dec 25 00:02:20 but i dont know what file is the driver for that or if its integrated into the kernel which files are building that Dec 25 00:02:31 wow. i see.... Dec 25 00:02:43 yea thats would explain why im really lost Dec 25 00:02:53 ok, let me think.... Dec 25 00:03:21 dude, am thinking.... Dec 25 00:03:41 it's probably in the kernel, just by looking at the path.... Dec 25 00:04:07 what's pvr for? Dec 25 00:04:27 for lack of a better word the graphcis card if i remember correctly Dec 25 00:04:34 sgx540 Dec 25 00:04:38 yea, modules dumped from the Android Tree exist in bin or xbin directories, i think... Dec 25 00:05:10 so, a file in the /proc/pvr directory may be kernel based.... Dec 25 00:06:08 stunts513: see this....https://github.com/lems111/Intercept-CM6-Kernel/tree/master/kernel/src Dec 25 00:06:20 look at the modules folder...that's what I mean... Dec 25 00:06:40 ah Dec 25 00:06:51 that's where the proprietary module files had to go in and then sideloaded when building the kernel... Dec 25 00:07:18 than kinda reminds me of the device/amazon/omap4-common folder Dec 25 00:07:21 am not saying that is your answer and that you should go that route. Am just saying that, it had to be done this way for me... Dec 25 00:07:51 ah ok Dec 25 00:08:27 and to help keep u at ease. I never finished this project bc of other matters... Am just saying, I read in a CM wiki page that this was needed for a device similar to the one that i was working on Dec 25 00:09:49 aalright thanks Dec 25 00:11:50 stunts513: r u still there? Dec 25 00:12:03 take a look at this link.... Dec 25 00:12:04 https://github.com/lems111/Intercept-CM6-Kernel/tree/master/kernel/src/kernel/drivers/video/omap Dec 25 00:12:15 OMAP belongs to TI right? Dec 25 00:13:02 yes Dec 25 00:13:29 stunts513: that link points to the video drivers directory within the kernel tree. There seems to be an OMAP directory there Dec 25 00:13:48 Hi AD, i'm trying to create a Master-Detail fragment that switches fragments when the user presses the next button. Here's the code: http://pastebin.com/vXJ8qe0x and here's the stacktrace. I'm getting an IllegalStateException. can someone tell me how to fix it? Dec 25 00:13:50 ok il take a look Dec 25 00:14:00 so, the file that u r looking for may be in the linux kernel img. Dec 25 00:14:29 another note. have you tried manually loading that module to see if it does anything for you? Dec 25 00:15:23 i thought it was integrated, and as far as i know you can reload an integrated module Dec 25 00:15:36 cant* Dec 25 00:16:26 ok.... have you done an lsmod to confirm that it was loaded, at least? Dec 25 00:16:36 adb shell lsmod Dec 25 00:16:42 i can do that in a moment Dec 25 00:17:07 i'm reflashing the b2g zip onto the device as sooon as my files finish backing up again Dec 25 00:17:18 shouldnt take much longer Dec 25 00:17:37 you know of the following command, am guessing: Dec 25 00:17:39 adb shell insmod /system/lib/modules/dhd.ko Dec 25 00:17:49 the path is just for an example Dec 25 00:17:49 i know what insmod does Dec 25 00:17:54 kont know what that module is though Dec 25 00:17:58 oh Dec 25 00:18:27 alright man. Am not sure how verse u r on this. I am just going thru my cheatsheet that i put together back then Dec 25 00:19:14 i'm fairly familiar with a good portion of linux commands, android linux is another story though Dec 25 00:20:08 i new android was linux based but man is it quite a bit different from the linux i use on a pc Dec 25 00:20:38 lol. am sure.... Dec 25 00:20:53 ok the backup finished, now to flash my zip again Dec 25 00:21:09 wait.... r u referring to a linux kernel or distro? Dec 25 00:21:26 more or less both Dec 25 00:21:33 obviously, a pc linux distro is different than android... Dec 25 00:21:48 but, the linux kernel tree is similar. Dec 25 00:21:50 yea but i didnt realize until i got my first android device this and the fact the kernels are device specific Dec 25 00:22:12 kinda sounds a bit nooby saying that but i was kinda surprised when i first found out Dec 25 00:22:17 of course. Drivers per devices are built into the kernel, yes Dec 25 00:23:18 there is a lot more to the kernel that I haven't even touched. I probably understand 5% of it all. lol. there is a lot man Dec 25 00:23:43 and what sucks is that there isn't an environment to navigate it. just text files and terminal for building. lol Dec 25 00:23:52 i know the feeling, my only dealings prior to this was trying to compile a 2.16 kernel with fatx support to mod an xbox Dec 25 00:24:13 lol. even reading that gives me the shivers. lol Dec 25 00:24:22 i can say i suceeded, but man did the version of gnome i had to use suck Dec 25 00:24:27 alright. time to grab a bite. bb in 1/2 hours Dec 25 00:24:33 ok Dec 25 00:25:00 i started with ubuntu; but, jumped to linuxmint gnome2. i have an old laptop :D Dec 25 00:25:12 i just got this one from a friend who got a gaming laptop Dec 25 00:25:20 nice.... Dec 25 00:25:21 i've only used debian and ubuntu Dec 25 00:25:51 also just ran lsmod Dec 25 00:25:53 nothign is listed Dec 25 00:26:04 linuxmint is based on ubuntu; but, with gnome2, which is easier on the resources :D bbl Dec 25 00:26:30 yea i love gnome 2 i dislike unity, but i love th new logon screen Dec 25 00:26:36 but yea il wait for you to come back or something Dec 25 00:29:28 stunts513: do u have this uploaded to github? Dec 25 00:29:36 no Dec 25 00:29:49 i eventually planned on it or just releasing a patch Dec 25 00:30:02 all i really did was patch a few files and disable the camera Dec 25 00:30:10 stunts513: would you? it would be good for a second set of eyes :) Dec 25 00:31:14 wow that would take a whle theres around wat 10-20gb of source code Dec 25 00:31:29 lol. yup. am sure Dec 25 00:31:32 i could do it but it probably wont be done for atleast i have no idea how many hours Dec 25 00:31:43 i need to figure out how to do that Dec 25 00:31:52 never created a git repo on github Dec 25 00:32:27 probably easier to host it of my own pc but then theres an issue of bandwidth and having to stay booted into linux all the time Dec 25 00:33:02 stunts513: do u have a file like this to load modules....https://github.com/lems111/Intercept-CM6-Kernel/blob/master/initramfs/initrd.arm.initramfs_list Dec 25 00:35:09 that looks vaguely familiar lemme see if i can find an equivelant laying around Dec 25 00:35:43 stunts513: one last thing. U r probably familiar with this file that does the insmod and other script work...https://github.com/lems111/Intercept-CM6-Kernel/blob/master/initramfs/init.rc Dec 25 00:37:18 yes the init.rc Dec 25 00:37:22 i ahd to edit that for b2g Dec 25 00:37:37 thats stored in /system/rootdir on mine Dec 25 00:37:52 or something like that Dec 25 00:37:57 ok... Dec 25 00:38:37 system/core/rootdir* Dec 25 00:38:45 got it. Dec 25 00:39:26 am surprise that u don't have an initramfs directory for building the kernel img Dec 25 00:39:47 then again, this is back in 2.6 of the linux kernel. who know what has changed since then Dec 25 00:40:48 yea im on a 3.0.8 kernel Dec 25 00:41:04 got it Dec 25 00:41:37 am out of ideas mate Dec 25 00:41:59 thats ok i can ask hashcode next tiem he's on irc Dec 25 00:42:08 he's probably off for christmas eve Dec 25 00:42:38 he's the dev that ported cm 10.1,cm10.2 and 11 to the device Dec 25 00:42:44 yup. have you tried a CM room for help? Dec 25 00:43:09 seems like last time i went into a cm dev room talking about me making a aosp based device they redirected me to a android channel... Dec 25 00:43:19 aosp based rom* Dec 25 00:43:21 lol Dec 25 00:43:34 *but it uses cm device sources* Dec 25 00:43:38 ... Dec 25 00:43:48 well... even though i didnt resolve ur issue. I feel good about myself... Dec 25 00:44:00 I think, i did some good community service today :) Dec 25 00:44:05 yea you have been actively helping me for atleast and hour or 2 Dec 25 00:44:21 Hi AD, i'm trying to create a Master-Detail fragment that switches fragments when the user presses the next button. Here's the code: http://pastebin.com/vXJ8qe0x and here's the stacktrace. I'm getting an IllegalStateException. can someone tell me how to fix it? Dec 25 00:44:26 trying to give back to the community, u know :D Dec 25 00:44:42 its nice to talk to people that know what they are talking aoubt, i'm a pc tech so i dont talk to people that know more than me usually, but once i talk to developers it tends to be i'm the one learning which is nice Dec 25 00:45:11 http://pastebin.com/NA0CedVA Dec 25 00:45:11 otherwise i drive people nuts because they dont understand what im talking about Dec 25 00:45:26 wow. i don't think am any better man. thx for the compliments though, it shows that I have come a long way :D Dec 25 00:45:46 stunts513: the finger pointing when you are looking for help really hurts everyone Dec 25 00:46:16 ? Dec 25 00:46:25 i'm confused what did i do Dec 25 00:46:31 (4:43:09 PM) stunts513: seems like last time i went into a cm dev room talking about me making a aosp based device they redirected me to a android channel... Dec 25 00:46:48 i wasnt referring to earlier or anythign i ment a few weeks ago Dec 25 00:46:49 alright. am gonna start developing now...ttyl.... Dec 25 00:46:57 ok l8rz Dec 25 00:47:52 askpcguy: i had that happen to me as well...they tried to redirect me to a haxsung room; but, I persevere there until I found a few ppl that were willing to give a hand. later everyone Dec 25 00:47:54 of course, it seems each ROM is a faction and they'll only help if you are part of their faction. So to speak Dec 25 00:48:03 For future reference, this isn't really the right channel for porting aosp :) Dec 25 00:48:18 se_busca_ayuda: That's not a stack trace.. Check your logcat Dec 25 00:48:22 underneath everything, its android Dec 25 00:48:26 thanks, what channel shoudl i use, the android-root one? Dec 25 00:48:38 they should name one android-porting or something Dec 25 00:48:46 -root or one of the mailing lists Dec 25 00:48:58 ah thanks Dec 25 00:49:00 I have not found any porting specific channel Dec 25 00:49:05 They tried that, noone used them Dec 25 00:49:24 when? I never saw anything mentioned Dec 25 00:49:28 Since cm people use cm channels, other roms use other roms channels, etc Dec 25 00:49:42 Years ago Dec 25 00:49:42 yea then again im guessing its because most devices coem with it so theres not much demand to port it unless a new version is released and someone wants it and the carrier isnt releasing it as an ota Dec 25 00:50:26 ah years ago ok, its more of the android fragmentation Dec 25 00:50:40 devs come, port and dev then move on and users get left behind Dec 25 00:53:46 I just saw this http://source.android.com/source/community/index.html Dec 25 00:54:01 SimonVT: http://pastebin.com/NA0CedVA Dec 25 00:54:44 ah thanks thats very useful Dec 25 00:54:44 se_busca_ayuda: That's not a stack trace.. Check your logcat Dec 25 00:55:15 yeah I ate my own words haha Dec 25 00:56:17 SimonVT: nothing comes out of my logcat Dec 25 00:57:03 lies Dec 25 00:57:20 how do you know you caught an exception then? Dec 25 00:58:02 you caught me, here's the logcat, but there's nothing useful there: http://pastebin.com/vbea5bzf Dec 25 00:58:31 because the debug monitor pops up and shows Thread [<1> main] (Suspended (exception IllegalStateException)) Dec 25 00:58:40 don't run it in the debugger Dec 25 00:59:05 SectionAdapter$Detail1Frag$1.onClick(View) line: 267 Dec 25 00:59:08 anyway, there's your culprit Dec 25 00:59:12 you're doing it wrong Dec 25 00:59:19 why can i not adb push * ... .. Dec 25 00:59:27 why no wildcards on adb push? Dec 25 00:59:34 other than google sucks Dec 25 00:59:39 because wildcards are terrible Dec 25 01:00:06 yea its much better to do adb push file1.foo followed by adb push file2.foo followed by.... adb push file9999.foo Dec 25 01:00:08 yea thats MUCh better Dec 25 01:00:28 You can push a folder Dec 25 01:00:31 pfn: i know i'm doing it wrong. here's what i'm doing, i'm loading all three fragments at runtime then assigning them to global variables so i can access them from within each fragment class. i'm using the "Next" button to switch between fragments Dec 25 01:00:52 se_busca_ayuda, wrong time in lifecycle Dec 25 01:01:05 see backstackrecord.java line 407 Dec 25 01:01:07 fix it Dec 25 01:01:47 why can't i do it in the onCreateView class? Dec 25 01:01:51 SimonVT, thats great except when you only want to push file*.foo and not file*.bar Dec 25 01:01:56 wildcards make sense Dec 25 01:01:57 *method Dec 25 01:02:02 Tough luck Dec 25 01:02:18 can['t do what, read the source to see why that exception occurs Dec 25 01:03:38 pfn: why can't i assign the next button an onclicklistener in onCreateView though? Dec 25 01:03:55 is it because the other views have not been created yet? Dec 25 01:03:56 but that's not what's happening Dec 25 01:04:05 read the source and see why it's throwing! Dec 25 01:04:21 jeez there's no reason to yell... Dec 25 01:04:30 you're told to do one thing Dec 25 01:04:32 you ignore it Dec 25 01:04:33 told again Dec 25 01:04:34 ignore it Dec 25 01:04:40 so what is there left to resort to Dec 25 01:04:48 Don't keep static references to your fragments, fragmentmanager or activity Dec 25 01:06:57 SimonVT: eclipse won't let me not make static references Dec 25 01:07:38 Then whatever you're trying to do is wrong Dec 25 01:07:38 THE CAR IS DRIVING ITSELF IM JUST ALONG FOR THE RIDE XD Dec 25 01:08:12 You should not keep static references to any of those classes Dec 25 01:08:23 Or anything that lives within the lifecycle of the activity Dec 25 01:09:31 Doing so will lead to issues and memory leaks Dec 25 01:10:06 i'm trying to break up the entire class into multiple files, but fragments all need to have an empty constructor so I can't pass things like fragmentmanager, activity, etc. Dec 25 01:10:36 Fragment has methods like getActivity and getFragmentManager Dec 25 01:10:48 Re-think your design Dec 25 01:11:06 but to use getFragmentManager you have to pass a Context, no? Dec 25 01:11:52 Uh, no? Fragment has access to your Activity once it's added Dec 25 01:12:27 weird... ok, i'll try to modularize my code when I get this working :D Dec 25 01:13:00 You need to start over. No reason to try and fix bugs in a broken design Dec 25 01:13:16 start over? yeah that's not going to happen Dec 25 01:15:03 If you're trying to learn Android, might as well learn to do it right Dec 25 01:15:38 SimonVT: i know how to do android. i've been developing since 1.6 but took a long break and now it's all different Dec 25 01:15:58 If you're trying to learn fragments, you might as well learn to do it right Dec 25 01:16:02 ftfy Dec 25 01:16:10 you mean fixed that for yourself Dec 25 01:16:32 Since you know Android, you should know not to keep static references to activities Dec 25 01:17:21 SimonVT: nah java as a whole lets you do that Dec 25 01:17:52 It lets you do it, yes Dec 25 01:17:55 But it's wrong to do Dec 25 01:19:00 if its wrtong i dont want to be right! Dec 25 01:21:32 How do I read data from content://foo/bar/whatever/bro Dec 25 01:21:39 .jpg Dec 25 01:21:48 Let me get a real Uri Dec 25 01:22:12 from here: content://media/external/images/media/46 Dec 25 01:23:03 http://stackoverflow.com/questions/3401579/get-filename-and-path-from-uri-from-mediastore Dec 25 01:23:06 This gives me a path: Dec 25 01:23:29 file:///storage/emulated/0/photoCrop.jpg Dec 25 01:24:44 Can't you just call ContentResolver#openInputStream? Dec 25 01:28:48 hmm Dec 25 01:29:14 maybe; let me see where this is going wrong Dec 25 01:32:52 ugh Dec 25 01:33:08 these URI's are coming from the "Photos" app, getting Picassa content urls Dec 25 01:33:11 Uris* Dec 25 01:33:33 for some reason, the content can't be cropped Dec 25 01:33:46 hey I had a question about an app I am developing. I am pretty familiar with java but a noob with android so forgive any stupid questions. So I am creating a remote control app for a robot I built that communicates over bluetooth and on my main activity I want to have an option to use a accelerometer controller or joystick controller. Should I use fragments for these two types of views that will be on the screen or some other k Dec 25 01:34:38 since the views would never be on the screen at the same time even on like a tablet I didn't know if that was the best idea Dec 25 01:47:48 Hello? Dec 25 01:48:10 -.- Dec 25 01:48:44 Hello Room Dec 25 01:51:56 Anybody able to shed some light on a pretty simple question? Dec 25 01:56:55 Question guys. If I copy my workspace and and eclipse directory and just move it back will it work after reformatting my comptuer? Dec 25 01:57:35 Ah, nvm I found it :) Dec 25 01:58:07 AndreYonadam: in teory yes, you will have to tell eclipse where it is upon re-installing Dec 25 01:58:17 Catharsis, for future reference, just asking the question (and waiting) gets better results ;) Dec 25 01:59:40 Catharsis: Well what if I copy all the eclipse files themselves. Dec 25 02:00:18 Zharf: Thanks, a bit of googling found my issue,, still learning the nuances of Java Dec 25 02:00:29 AndreYonadam: I personally wouldnt Dec 25 02:05:11 Wow I do believe I have my first fully working (Not Hello World) app up and running Dec 25 02:05:28 This is a BIG step forward for me! Dec 25 02:05:37 What an Xmas pressie Dec 25 02:07:14 Now comes that hard part, learning more before jumping into the thing I REALLY want to develop Dec 25 02:07:38 I feel like I have taken the first step up a very tall mountain! Dec 25 02:07:58 * Catharsis is oversharing :-p Dec 25 02:34:45 This is odd Dec 25 02:35:00 I start an intent: ACTION_PICK "image/*" Dec 25 02:35:35 When I pick something from a folder mysteriously called "0" I get an old image? Dec 25 02:47:55 Remake your R file? Dec 25 02:53:08 Ugh! Dec 25 02:53:14 Fuck Dec 25 02:55:09 When I pick a file from the gallery, and hand the data (UrI) to the crop activity, if the Uri is unavailable, the crop activity shows an old image **** ENDING LOGGING AT Wed Dec 25 02:59:59 2013