**** BEGIN LOGGING AT Sun Jun 15 02:59:58 2014 Jun 15 03:13:31 you can use BuildConfig in your variants without alternative source sets Jun 15 03:14:12 oh rly? Jun 15 03:14:15 pfn: how? Jun 15 03:14:21 I don't know what the gradle dsl is, thougb Jun 15 03:14:57 pfn: http://tools.android.com/tech-docs/new-build-system/user-guide Jun 15 03:15:06 says propertyName generateBuildConfig Jun 15 03:15:48 https://github.com/pfn/android-sdk-plugin/blob/master/src/tasks.scala#L82 Jun 15 03:17:55 do something similar in gradle and you're done without any source set silliness Jun 15 03:18:42 BuildConfigGenerator ships with the gradle plugin, if course Jun 15 03:19:34 anyone know of a working root for an Asus TF300T? Jun 15 03:21:49 see topic Jun 15 03:47:35 pfn: found it.. buildConfigField "String", "ENV", "\"test\"" Jun 15 03:47:38 :) Jun 15 03:48:19 Indeed, easy peasy Jun 15 03:49:23 now to work out my variants Jun 15 03:49:27 this is going to be complex Jun 15 03:49:44 2 main product flavours say free and pro Jun 15 03:49:55 2 build types release and debug Jun 15 03:50:25 and 4 environments.. int, test, stage, live Jun 15 03:52:33 pfn back from vacation ? Jun 15 03:52:42 yep Jun 15 03:52:50 go well ? Jun 15 03:54:59 good times, other than jetlag Jun 15 04:19:04 hello with sqliteopenhelper using the insert function is there anyway i can get teh query? Jun 15 05:07:16 check this out JesusFreke http://www.gizmag.com/izzybike-chainless-folding-bike/32528/ Jun 15 05:13:51 I noticed admob is showing I have clicks but not revenue from them. How is that possible? Jun 15 05:40:34 g00s: pretty neat, but too many wheels! :D Jun 15 06:41:36 howcome reader.read(charArray) updates charArray() instead of doing it like charArray = reader.read(charArray) ? Jun 15 06:52:31 sorry got DC, was that question answered? Jun 15 07:01:44 What's the different between the following two Gradle compile time dependencies: 1) 'com.android.support:support-v4:19.+' 2) 'com.android.support:appcompat-v7:+' ? Jun 15 07:05:52 what's the difference? They're 2 different libraries... Jun 15 07:06:37 For some reason the build failed because my own fragment couldn't be cast to the Android fragment class Jun 15 07:08:30 I have to add both libraries to the classpath Jun 15 07:08:43 IntelliJ only added the support library Jun 15 07:09:09 because you imported the wrong fragments Jun 15 07:09:36 and on that note, set minSdkVersion to 14 Jun 15 07:11:30 yeah, it tries to cast a android.support.v4.app.Fragment which is from where my custom fragment extends to android.app.Fragment Jun 15 07:13:46 If I don't care about backwards compatibility should I remove support and app compat libraries? Jun 15 07:13:53 "it" Jun 15 07:14:00 remove appcompat Jun 15 07:14:26 appcompat is unnecessary for 11+ Jun 15 07:14:36 If I do that I can't compile the project with gradle Jun 15 07:14:40 support is still useful Jun 15 07:14:43 false Jun 15 07:14:57 only if you used appcompat classes Jun 15 07:15:03 compileSdkVersion 19 buildToolsVersion '19.1.0' targetSdkVersion 19 minSdkVersion 14 Jun 15 07:15:05 which you should t Jun 15 07:15:10 shouldn't Jun 15 07:15:32 Shouldn't do what? Jun 15 07:15:44 use appcompat classea Jun 15 07:16:19 I think the project generated a fragment that uses app compat Jun 15 07:16:27 i.e. NavigationDrawerFragment Jun 15 07:19:18 nope Jun 15 07:20:12 the only thing you'd ever use in appcompat is ActionBarActivity Jun 15 07:22:49 pfn: yes, that's the case: http://paste.kde.org/pg7elvg76/nvlkmu Jun 15 07:23:15 v7 = appcompat ; v4 = support Jun 15 07:24:00 that's means I can have ActionBar on older Android versions right? Jun 15 07:25:32 your minSdkVersion is 14 Jun 15 07:25:40 why bother with appcompat Jun 15 07:31:20 Java frustrates me :( Jun 15 07:31:40 (actually my ignorance frustrates me, but that's unimportant atm) Jun 15 07:31:46 it's so simple... Jun 15 07:31:57 I'm trying to load data from an md5 3D model file Jun 15 07:32:06 nothing to frustrate other than verbosity Jun 15 07:32:25 I have two classes, the one to store the data for future use, and the one it calls to open the file and read in the data Jun 15 07:33:16 so, what I tried was to create md5Object (data storage) and create an md5Loader instance of the loader class in the md5Object class Jun 15 07:33:54 and in order to get the data into the md5Object class, I tried passing that class to the loader. which of course didn't work. Jun 15 07:34:21 like this... Jun 15 07:34:22 public MD5Object(String modelName) Jun 15 07:34:22 { Jun 15 07:34:22 md5File = modelName; Jun 15 07:34:22 MD5Loader loadMD5 = new MD5Loader(this); Jun 15 07:34:22 if(loadMD5.readHeader()) Jun 15 07:34:24 { Jun 15 07:34:38 etc Jun 15 07:35:04 then in loadMD5, I tried assigning the values as they were read, like this: Jun 15 07:35:13 Hiraghm: you should consider asking in stackoverflow Jun 15 07:35:49 stackoverflow? Jun 15 07:35:56 stackoverflow.com Jun 15 07:36:10 oh, thanks. Jun 15 07:36:17 hey! I have progress... sort of? Jun 15 07:38:29 In the loader class I have: Jun 15 07:38:31 public MD5Object md5Model = null; Jun 15 07:38:47 public MD5Loader(MD5Object md5O) Jun 15 07:38:47 { Jun 15 07:38:47 md5Model = md5O; Jun 15 07:39:09 when I stopped using md5Model to assign the data, and used md5O instead, it worked... sort of. Jun 15 07:39:43 Oh well, I'll try stackoverflow.com thanks for the advice :) Jun 15 07:40:09 (I can't believe that nobody has written an md5 reader for Android yet) Jun 15 07:41:43 Hiraghm: this has too much code in the chat Jun 15 07:41:58 try using patebin.com or pastie.org Jun 15 07:43:22 oh right. Jun 15 07:43:36 sorry, it's been awhile since I've even been in here. I just recently started coding again Jun 15 07:45:42 WTF is an md5 reader... Jun 15 07:46:37 md5 is encryption Jun 15 07:48:53 it's *not* encryption - it's hashing Jun 15 07:49:29 no it's neither Jun 15 07:49:36 sorry, was studying my code Jun 15 07:49:47 md5 is a 3D model format used for Quake and other games Jun 15 07:50:29 well, that's not confusing at all :P Jun 15 07:50:46 http://3dgep.com/?p=1053 Jun 15 07:52:17 Does anyone know what this means: [2014-06-15 00:53:00 - Dex Loader] Unable to execute dex: Multiple dex files define Lwseemann/media/FFmpegMediaMetadataRetriever; Jun 15 07:52:19 sorry :( Jun 15 07:52:35 I've never seen it before and it started randomly Jun 15 07:55:46 petecouture: http://stackoverflow.com/q/7870265/1056359 Jun 15 07:59:01 thepoosh: I saw those earlier. There are a few posts about it and all have different solutions. It sounds like a project corruption issue so I was hoping someone here knew the actual cause Jun 15 08:36:46 Mh im trying to figure out if there is a better way to detect if a finger is on something else than MotionEvent.ACTION_MOVE. Because it seems that this event is not called if someone manages to keep the finger still without moving Jun 15 08:50:59 hi, while trying to generate a signed apk from android studio i got this error message http://pastebin.com/MDzNH4SQ . can anyone please help? i'm using android studio 0.6.1 on windows 7. the error occurs with both proguard enabled or disabled. Jun 15 09:01:55 ktwo, have you looked at the documentation for the MotionEvent class? Jun 15 09:02:20 johnc--: did you add the lib to your gradle script? Jun 15 09:02:40 thepoosh: no.. Jun 15 09:03:00 I'm not sure, but maybe you're missing the needed dependecies? Jun 15 09:07:39 thepoosh: luckily i can generate from the gradle task in the right side bar Jun 15 09:07:48 josaphat, well yes but i doesnt see what i could use instead. basicall ACTION_DOWN is called when the finger is placed on something, and ACTION_UP when i release. but inbetween ACTION_MOVE is only called a lot of times only when i "move" the finger, when standing still it isnt Jun 15 09:08:04 i admit, its hard to stand still at high precision but i can do it sometimes Jun 15 09:11:38 ktwo, Okay. What are you trying to accomplish? Jun 15 09:12:21 perform code while a button is pressed Jun 15 09:12:26 and stop doing it when its released Jun 15 09:13:17 ive tried using a while loop at action_down , but this doesnt work because it will never exit the action_down case even when i release finger Jun 15 09:13:28 so when you get ACTION_DOWN you start performing your routine. Then when you get ACTION_UP you stop. Jun 15 09:21:23 Hi Jun 15 09:21:48 I'm doing a video tutorial now and I have a hard time understanding the logic Jun 15 09:22:29 Here is the code: http://paste.ubuntu.com/7647099/ Jun 15 09:24:46 my wuestion is : we sett the isItOK = false. but when I run the code and it goes throu void run() and it does the action despite the value of isItOK. why is that? Jun 15 09:25:25 if the application is resumed, yes! the value is true but not the first time you start it? Jun 15 09:27:18 Take a look at this page http://developer.android.com/reference/android/app/Activity.html Jun 15 09:27:53 peyam, onResume() gets called when you start the app Jun 15 09:28:00 josaphat, it looks like a book. Jun 15 09:28:19 Scroll down to the flowchart. Jun 15 09:28:23 god forbid you'd have to READ to learn a new craft Jun 15 09:28:33 really? i saw the diagram which shows the app goes to onstart first Jun 15 09:28:55 josaphat, yes exactly I ment that picture Jun 15 09:29:38 that guy in the tutorial explain lots of stuff good and lots of stuff very bad Jun 15 09:29:54 peyam, Yes. First, onCreate() is called. Then onStart() gets called. Then onResume() gets called. Jun 15 09:30:03 I bought a book Hello android. it took me long time to get anywhere Jun 15 09:30:43 peyam, It's a flowchart. Follow the arrows. Jun 15 09:30:59 now I get why onresume is better, becouse it goes back to onResume when it paused Jun 15 09:31:43 josaphat, do you know why in the code one should call the custom resume instead of writing the code inside the OnResume method? Jun 15 09:31:48 hi there! Could someone help me to stream a video using rtp, mediarecorder with outputformat 7(=OUTPUT_FORMAT_RTP_AVP) and i think it's stagefright? Jun 15 09:32:56 or... to understand it :) Jun 15 09:33:34 peyam, because this offloads the task onto a separate thread. Jun 15 09:50:11 peyam, the idea is that you don't want your event handlers to do heavy work. You make a separate thread to do the work. Otherwise onResume() will never finish. Jun 15 10:17:48 erm "one" question: I've attached the android source code within eclipse and now i'm able to look at the implementation of some functions(STRG+left mouse click) provided by the api. currently i'm trying to figure out how the start() method from mediarecorder works. but... it's native method. (meaning jni, i think) is it possible to browse through the corresponding cpp / c files as well? (some special snake oi Jun 15 10:19:02 Well. I would like to use Loader to download data from web service and write to database. Google says 'extends AsyncTaskLoader'. No, I don't want to use Asynctask (for a lot of reasons). Am I missing some points? Jun 15 10:41:50 hey there, an activity of mine implements AdapterView.OnItemSelectedListener and NavigationDrawerFragment.NavigationDrawerCallbacks, but it keeps crashing when I call it, is there a way or a workaround to use the listener without needing to implement it? Jun 15 11:16:37 I can never get this right Jun 15 11:17:08 Alright here goes: One widget on the left, another one in the center. How do I do that? Relative layout? Jun 15 11:21:23 marrrk: yes Jun 15 11:26:21 newbie question: Is there a way to set Context.MODE_MULTI_PROCESS for a preference manager used by a PreferenceFragment? Jun 15 11:26:49 I can read and write settings multi=process just fine via e.g. getSharedPreferences(context.getPackageName(), Context.MODE_MULTI_PROCESS Jun 15 11:27:48 but I cannot make PreferenceFragment use multi process mode and then if I want to have a nice PrerenceFragment UI, user has to quit app to have settings actually flush to the disk :/ Jun 15 11:28:27 I tried calling getPreferenceManager().setSharedPreferencesMode(Context.MODE_MULTI_PROCESS); from fragment's onCreate before addPreferencesFromResource, but it doesn't seem to help Jun 15 11:38:10 artemma: are you sure SharedPreferences are the right way to go in your case? Jun 15 11:40:22 does anyone else have major problems using the android SDK manager on mac OS? Jun 15 11:40:42 nope Jun 15 11:42:03 the UI just doesn't work right for me. Clicking on the checkboxes doesn't do anything, and expanding list items doesn't display until I scroll away and back again Jun 15 11:42:31 works fine for me Jun 15 11:43:55 :/ Jun 15 11:44:13 have you tried turning it off and back on again? Jun 15 11:45:10 yes Jun 15 11:46:09 I tried several months ago and it already wasn't working then. Tried redownloading the SDK at the time, that didn't help either Jun 15 11:46:27 now I'm trying to deal with the horrible command-line interface Jun 15 11:46:28 sucks for you Jun 15 11:47:39 is there maybe an alternative manager with a nicer command-line interface? >_> Jun 15 11:49:44 Is there a nicer way to do activity transitions than overridependingdtransitiosn? Jun 15 12:06:06 is Loader good for network operations? Jun 15 12:13:36 greetings guys, I have been struggling with this issue for the last half hour or so. I have a custom view that I wrote which allows me to render out Font Awesome icons. Howevever, whenever I add it to my LinearLayout, it insists on being on the next line Jun 15 12:13:50 i am not sure what stones I have not turned over with this. Any help would be appreciated Jun 15 12:16:01 OMG Jun 15 12:16:09 too early in the morning *sigh* Jun 15 12:32:32 Hi guys , My voice writer in messages does not work , what app is related to it ? Jun 15 13:02:29 anyone got a decent tutorial on how to build customized ListView items? Jun 15 13:02:47 I'm trying out Juce, which deploys multi-platform. I've got it to deploy a "hello world" to several platforms and I'm testing out the android port: I'm on OS X / Eclipse. I'm getting this: http://pbrd.co/1js9pHZ Jun 15 13:03:14 What I've done is set the workspace to the folder of the Android port and hit the run button. Jun 15 13:03:54 I can't find any equivalent of "View solution tree"... Where is it? Jun 15 13:20:34 is there a way to capture the content of a surfaceview? Jun 15 13:21:02 would like to create a png image of the content on swipe Jun 15 13:23:21 hi guys Jun 15 13:23:36 i have a listfragment where i implement @android:id/empty Jun 15 13:23:42 my list is empty Jun 15 13:23:49 and everything looks good Jun 15 13:24:01 but when i add an entry, it does not switch to the list Jun 15 13:24:08 it continuously shows empty Jun 15 13:24:32 if i try and remove the @android:id/empty part of the view i can see my data perfectly fine Jun 15 13:24:49 do you know what could be causing this issue Jun 15 13:27:21 Hi, I have a problem with Authenticator on android, Jun 15 13:27:40 In a standard java program it work perfectly, but in my android code, it doesn't works Jun 15 13:28:06 my code is in a class extended by AsyncTask Jun 15 13:37:01 man, that RelativeLayout will bite you with older versions Jun 15 13:37:23 no sense of toRightOf or alignParentEnd whatsoever Jun 15 13:39:44 hello! once i switch my android device into ADK mode is there any way back to normal mode without disconnecting it ? Jun 15 13:39:51 from the accessory side i mean Jun 15 13:53:26 are these crap for a tablet i'd like to do some light gaming on? Jun 15 13:53:26 Allwinner A31S Quad-Core, ARM Cortex A7 1.2Ghz Jun 15 13:53:41 with 1 gig of DDR3 RAM Jun 15 13:58:15 wrong channel snitch_ Jun 15 13:58:17 #android Jun 15 13:58:34 ^^ Jun 15 13:58:59 is there an #android-gaming Jun 15 13:59:26 oh nevermind. sorry. Jun 15 14:05:58 Hey guys do you have any opinion or solutions regarding this post? https://stackoverflow.com/questions/24230353/androidid-empty-shows-empty-view-but-does-not-show-the-listview-when-data-exi Jun 15 14:17:05 what is the correct way to call debugText = (TextView) View.findViewById(R.id.debugTxt) from within onActivityCreated to avoid the error "cannot make static reference to a non-static method"? Jun 15 14:17:12 Do you think it’s a good idea to violate android bundles by putting json inside of them? Jun 15 14:18:47 hey guys Jun 15 14:19:22 so i want to create image attachments Jun 15 14:19:35 like the ones in the e-mail with a cross to cancel on the right Jun 15 14:20:07 is there something in the api for that sort of thing» Jun 15 14:20:08 ? Jun 15 14:20:15 i can't seem to find anything Jun 15 14:25:13 hi. Is there any good app to make android realistic mockups? Jun 15 14:26:29 Looks like a lot of questions and answers in this channel today Jun 15 14:27:09 Is it always like this, or is it a weekend thing? Jun 15 14:27:28 hi there, can i force a "real" restart of an acitivity? or of the complete app? i make some property changes, and want to restart the app automatically after this Jun 15 14:27:39 I would expect Android to have more hobbyist / amateur developers than most other technologies Jun 15 14:39:43 if i want to make a layout file as a template and change the views through code, how would i go about doing that? Jun 15 14:40:11 more precisely, i have a listview with onitemclickedlistener method, so in that method, based on the item i clicked, or the position, i want different stuff to pop out in that layout Jun 15 14:40:39 i just want to know what should i look into, cause at the moment, im lost Jun 15 14:41:53 What I meant to say above was: A lot of questions and no answers. It is amazing the percentage of speech recognition errors that managed to completely invert the meaning of the sentence. Jun 15 14:42:22 If my hands were not broken I would not use this shit. Jun 15 14:42:41 lol, you're coding through speech recognition? Jun 15 14:43:17 Unfortunately no. I just have to take the damage there. But I can use it for IRC. Jun 15 14:43:36 seems to be working fine Jun 15 14:44:35 Yes, it just has a deviant habit of inverting the meaning of expressions, for example by missing out a negative. Jun 15 14:45:48 It's actually pretty good. I'm just generally frustrated today so I'm giving it a bash. Jun 15 14:47:53 so... how do you masturbate now? Jun 15 14:49:12 LighterFluid: thanks for renewing my faith in the communal wisdom of the internet Jun 15 14:49:50 you're welcome, citizen Jun 15 14:50:22 LighterFluid: None of us is as stupid as all of us Jun 15 14:51:04 we are more powerful together Jun 15 14:56:02 Why isn’t the topmost activity of my app restored when I press home and go back in? Jun 15 15:04:08 if i want to make a layout file as a template and change the views through code, how would i go about doing that? Jun 15 15:04:13 more precisely, i have a listview with onitemclickedlistener method, so in that method, based on the item i clicked, or the position, i want different stuff to pop out in that layout Jun 15 15:04:16 i just want to know what should i look into, cause at the moment, im lost Jun 15 15:08:32 i have an error, which just happens if i restart the app manually in oncreate. any ideas how to debug this? i cant start the app from the phone in debug mode ,right? Jun 15 15:16:47 hi Jun 15 15:17:03 i've to do an analysis on sensor framework and i've a question about how the sensor class works: there is a singleton, and each application that needs to access to the sensor gave the reference to this instance or for each application the sensor manager initialize a new instance? (sorry for my english and thank you) Jun 15 15:18:15 Hi guys, I am trying to get the Facebook picture icon but using BitmapFactory always returns null even though the URL is correct. http://pastebin.com/vb49rPEP profilePic2 throws null pointer exception Jun 15 15:18:16 Why is this? Jun 15 15:18:38 the bitmap is null Jun 15 15:18:46 even though if I go to the url, i see the picture Jun 15 15:19:49 what does your logcat say about it? Jun 15 15:19:53 what is the URL? Jun 15 15:19:56 did you check if your URL is valid? Jun 15 15:20:59 the logcat: http://pastebin.com/7i4hzD28 Jun 15 15:21:29 Mavrik, I checked and it's fine Jun 15 15:21:38 as in I go to the url in the browser and i see my display picture Jun 15 15:21:57 CocoStorm: BitmapFactory.decodeStream will return null if the stream cannot be decoded. Are you sure the stream represents the image as you expect? Jun 15 15:22:46 this is the url http://graph.facebook.com/1239852782/picture?type=large Jun 15 15:23:01 logging facebookResponse gives me my id Jun 15 15:23:02 the url is not as important as the actual contents of the stream in this case Jun 15 15:24:06 CocoStorm, that gets redirected. Jun 15 15:24:13 so you're getting back empty stream. Jun 15 15:24:17 and a 302 status. Jun 15 15:24:33 I see, that's odd. It used to work why does it get redirected? Jun 15 15:24:34 hmm Jun 15 15:24:41 it's always redirected to CDN :P Jun 15 15:25:09 redirected to cDN/ Jun 15 15:25:11 CDN? Jun 15 15:26:30 Mavrik, so what should I do? Jun 15 15:26:47 you should handle that case. Jun 15 15:26:54 or use a HTTP library that can. Jun 15 15:26:58 or use an image loading library Jun 15 15:27:28 Picasso + OkHttp is a popular combination. Jun 15 15:27:47 mhm, don't remember if okhttp can follow redirects tho Jun 15 15:28:43 I see Jun 15 15:29:19 but why does the Facebook API for Android use this url if it will redirect Jun 15 15:29:24 and cause problems Jun 15 15:29:26 :S Jun 15 15:30:20 because otherwise they couldn't use CDNs. Jun 15 15:31:30 has anyone had problems publishing apps this weekend? the app appears in the app store, but installing it generates an "the item you were attempting to purchase could not be found" error Jun 15 15:31:39 what are CDNs? Also, my code was working before. Not sure why I'm getting this error now Jun 15 15:32:03 even though the app is free. Also the web store shows the app as "This app is incompatible with all of your devices." Jun 15 15:40:51 Mavrik, I fixed my issue by juts using https instead of http in the url :) Jun 15 15:40:59 http://stackoverflow.com/questions/22928137/android-getting-a-bitmap-from-a-url-connection-graph-facebook-com-that-redir Jun 15 15:47:28 hi guys if i have 2 fragments (A, B) and i switch from A -> B, putting A on the BackStack. How can i make so that when i press the back button making the fragments to switch from B -> A without destroying B Jun 15 15:47:47 i want to keep B so we don't have to recreate it when switching back to it Jun 15 15:50:54 you could do oyur own backstack management Jun 15 15:51:30 how can i override the back button to put the current fragment on the backstack Jun 15 15:53:21 jubjub_: you can catch uh... onbackbuttonpressed I think it is, in your activity Jun 15 15:53:32 jubjub_: if it's not that, google, it's something pretty simple Jun 15 16:16:21 should i move all my fragment switching to the main activity? Jun 15 16:20:41 I declare my strings in an XML file. Is there any variables such as {{version}} or {{date}} or {{appname}} or something? Jun 15 16:23:42 smallfoot- package manager Jun 15 16:24:24 jug6ernaut, huh? Jun 15 16:24:40 http://developer.android.com/reference/android/content/pm/PackageManager.html Jun 15 16:24:57 thanks Jun 15 16:25:25 smallfoot-: You could also use BuildConfig, it contains VERSION_CODE and VERSION_NAME Jun 15 16:25:37 And using Gradle you can put whatever you want there and use placeholders in your strings. Jun 15 16:25:45 I think package manager is overkill, I don't need information about other packages, just about self Jun 15 16:26:07 kakazza, ah, cool Jun 15 16:28:55 There's a version of Context#getString() that takes arguments. https://developer.android.com/reference/android/content/Context.html#getString(int, java.lang.Object...) Jun 15 16:29:12 I'm still in need of someone to help test out my game, it will just take a couple minutes. Just need to see if the music and sound effects work and the speed performance is good. Could anyone help? Jun 15 16:29:21 Well, that's gonna be clickable for sure with that space in there... Jun 15 16:42:57 How do I include my libraries when using git to push a whole project to remote and clone from it ? Jun 15 16:53:03 CocoStorm, That's going to depend on the libraries. I've seen projects that include modified version of libraries in-full, and some which use git submodules Jun 15 16:54:28 josaphat, hmm, not quite following Jun 15 16:55:27 Hey guys Jun 15 16:55:42 anyone here use android studio ? Jun 15 16:58:03 CocoStorm, perhaps if you gave some more details. Jun 15 16:58:27 fandf, what do you need help with? Jun 15 17:10:33 Hey guys Jun 15 17:10:38 Having a bit of trouble.. Jun 15 17:10:42 I've called execute() on a class which inherits from AsyncTask. Now when I try schedule it again, it sais its already scheduled Jun 15 17:27:56 hi guys i have a problem with notification. In emulator with gingerbread crash it... but in emulator with ics o superior and in every device this work fine... Jun 15 17:28:09 http://stackoverflow.com/questions/24231824/notification-in-gingerbread?noredirect=1#comment37422885_24231824 Jun 15 17:37:50 flan3002: Hi. Jun 15 17:38:39 flan3002: Just letting you know the problem we discussed last night turned out to be offendingly simple. Jun 15 17:39:20 flan3002: To make the action vew as wide as a standard action bar item, all you have to use is: style="@style/Widget.AppCompat.ActionButton" Jun 15 17:40:14 flan3002: Got to go now, thanks for your time last night. See you. Jun 15 17:51:55 Hey sorry, was afk, Jun 15 17:59:48 I went from eclipse to android studio, because I prefer the environment more Jun 15 18:00:20 but one thing that bugged me is I get this error "Error:(32, 9) error: is not abstract and does not override abstract method onClick(View) in OnClickListener" Jun 15 18:03:41 #web Jun 15 18:07:04 JakeWharton: I want to use setAlpha in api8 so i downloaded your NineOldAndroids library. But how would I use it to do that? Jun 15 18:09:17 fandf, that's an obvious error irrelevant of ide Jun 15 18:21:44 where do I put NineOldAndroids so I can use it in my project? Jun 15 18:36:01 If my Activity uses getBaseContext(); like so -> PreferenceManager.getDefaultSharedPreferences(getBaseContext()); How can I use this in another class? Jun 15 18:36:18 My MainActivity is huge and confusing because of this whole context stuff Jun 15 18:36:30 I don't know how to get round it, or my head round it rather Jun 15 18:36:33 could anyone help/ Jun 15 18:36:41 learn more java Jun 15 18:36:50 Try ##java Jun 15 18:37:02 just don't mention android Jun 15 18:38:36 pfn, I know quite a bit of java. never used context before Jun 15 18:42:12 CocoStorm, treat context as if it were any other object Jun 15 18:42:31 and the answer is simple if you understand java and programming at all Jun 15 18:42:57 CocoStorm also from what i recall, you almost never use baseContext Jun 15 18:43:17 i remember ctate talking about it in the past Jun 15 18:44:01 and yeah, basecontext is not necessary for this Jun 15 18:57:18 Good day here. Quick Q: when an intent action is sent, ACTION_BOOT_COMPLETED, is there an order of predence to which apps will be able to respond the first ? Jun 15 18:59:19 ce3c: Just curious, why does it matter to you? Jun 15 19:00:22 g00s, heh :P Jun 15 19:00:28 pfn i'll give it a shot Jun 15 19:00:48 and you don't need basecontext for sharedpreferences? Jun 15 19:01:44 I'm reading up on PatchDroid (the Rekey app). It hooks and patches the framework on boot when receiving ACTION_BOOT_COMPLETED (or that's what I make of it)... but seems like malicious apps could still "race" to pwn the system Jun 15 19:01:52 How to start Jun 15 19:02:15 JakeWharton: Do I have to call ButterKnife.reset(this) in any case when using it in a Fragment or just when I use @InjectView (vs @OnClick()) Jun 15 19:02:21 Anybody tell all basics for free , Jun 15 19:02:25 I only use @OnClick for now Jun 15 19:02:55 Why is programming big? Jun 15 19:03:23 Klizsidugfreguel, because programming is fun Jun 15 19:03:30 you think it, you build it Jun 15 19:03:39 dream it, build it Jun 15 19:03:41 Klizsidugfreguel: Is this a real question or just trolling? Jun 15 19:04:08 Klizsidugfreguel, i suggest you look up android programming tutorials in google Jun 15 19:04:15 I get gps location by 1 to 5 lines like check.gps , get.gpsloc ? Jun 15 19:04:25 Hi guy's, I doesn't resolved my authentification problem, i am using a HttpURLConnection and I try to configure it for work with an AUTH http authentification (not a "basic" authentification so..). in a standard java program i do it with this : (but in my android code it doesn't work) Jun 15 19:04:37 Flan idiot what ?? Jun 15 19:04:50 Authenticator.setDefault(new Authenticator() { Jun 15 19:04:51 protected PasswordAuthentication getPasswordAuthentication() { Jun 15 19:04:53 return new PasswordAuthentication("admin", "12071992".toCharArray()); Jun 15 19:04:56 }}); Jun 15 19:04:58 #android says john this channel to learn programming android idiot Jun 15 19:04:59 #android says john this channel to learn programming android idiot Jun 15 19:05:06 cyber37, stop Jun 15 19:05:09 where admin is the password Jun 15 19:05:17 No need to call me an idiot, Klizsidugfreguel, but I suppose my question was indeed stupid... Jun 15 19:05:20 And 1207 the pass Jun 15 19:05:28 user* Jun 15 19:07:21 I got the useless 520 mb adt garbage and treated 150mb more but trash wont start even at 2.7 inch 512ram Jun 15 19:07:41 Treated.updated Jun 15 19:08:12 flan3002: it looks like Rekey also doesn't set android:priority so it looks easy to get around. time to improve :) Jun 15 19:08:21 Eclipse wont start from sdkmanager.exe? Jun 15 19:08:28 i think Klizsidugfreguel is a chatrollbot Jun 15 19:08:40 Lets test, yeah? Jun 15 19:08:48 Klizsidugfreguel: eclipse.exe Jun 15 19:08:55 Anybody new android programming? Jun 15 19:09:29 Yes, he is... :) Jun 15 19:09:42 But sdkmanager menu got no eclipse Jun 15 19:09:51 So its just optional? Jun 15 19:10:02 Not needed for making program? Jun 15 19:10:34 Klizsidugfreguel: You're a bot! Jun 15 19:10:42 is there a robolectric channel? Jun 15 19:10:50 Why doesn't it say something? Jun 15 19:10:56 You droid brain Jun 15 19:11:08 Ah, a slow bot... Jun 15 19:11:17 #electronics? Jun 15 19:11:57 Klizsidugfreguel yes, thats right Jun 15 19:12:08 #3l3ctronics will help Jun 15 19:12:26 oh wow i was l33t and it was a typo Jun 15 19:12:34 How big is android program in notepad to get image from camera and location from gps and save? Jun 15 19:12:53 42 Jun 15 19:12:56 5 Klizsidugfreguels Jun 15 19:13:04 20 bananas Jun 15 19:14:15 4.5 is banana split icecream? Jun 15 19:15:01 yeah Jun 15 19:15:34 All fake scan names Jun 15 19:15:54 Not even scent of chocolate Jun 15 19:16:14 wut, i have chocolate right here Jun 15 19:16:23 here, have some scent of chocolate Jun 15 19:16:26 happy? Jun 15 19:16:35 And its programming is garbage dust flavor Jun 15 19:16:44 not dust, rust Jun 15 19:16:46 use rust Jun 15 19:16:52 How to start ?? Jun 15 19:16:59 rust away in notepad of course Jun 15 19:17:43 I can add multiply numbers etc in java c++ gwbasic using notepad Jun 15 19:18:11 How to make android appl Jun 15 19:18:15 Yay for Rust! Jun 15 19:18:15 someone kick this fool Jun 15 19:18:26 rust seems really cool, the programming language Jun 15 19:18:35 I wonder why Google doesn't aim for Go in Android Jun 15 19:18:41 It is, though I'd like some more sugar for it. Jun 15 19:18:52 smallfoot-: because it's not that simple Jun 15 19:18:56 I see Jun 15 19:18:57 For the 'data locality' in my brain. :) Jun 15 19:19:43 Idiot android and dolphin browsers dont allow saving image , idiots download again Jun 15 19:20:22 They know programming but no brain Jun 15 19:21:00 Who fed this bot? It's kinda interesting... Jun 15 19:21:12 Hello Jun 15 19:21:26 Who i pm to learn android programming Jun 15 19:21:57 Is it time to ignore? Jun 15 19:21:58 I got bitcoins 0.034 Jun 15 19:22:01 I think it's time to ignore. Jun 15 19:22:23 ignored :P Jun 15 19:22:37 Klizsidugfreguel you are a very unconvincing bot :) Jun 15 19:22:38 What command gets gps location numbers? Jun 15 19:23:45 This channel is fake not a single answer? Jun 15 19:23:53 * flan3002 chuckles. Jun 15 19:24:25 * flan3002 remembers he's on Freenode. Jun 15 19:25:23 You are on #android dev Jun 15 19:25:43 Why here? Jun 15 19:26:38 Who's responsible for banning him? Jun 15 19:27:27 flan3002 i dont think we have any more ops Jun 15 19:27:28 !op !ops !attention Jun 15 19:27:32 s/him/it Jun 15 19:27:33 What command to get gps location ? Jun 15 19:27:50 g00s: We don't? O.O Jun 15 19:28:00 Guys i need help i have exactly that problem https://code.google.com/p/android/issues/detail?id=4326 Authentificator work perfectly on a standard java programme J2ME, but in Android with the same code, Authentificator doesn't work, and i can't tweak with httpheaders because i need a "AUTH" authentification type, and not a "BASIC" authentification .. Jun 15 19:28:07 Can someone help me .. ? please ? Jun 15 19:28:10 flan3002 google abandoned this place a while ago Jun 15 19:28:22 21:06 < josaphat> cyber37, stop Jun 15 19:28:34 thanks a lot for that Jun 15 19:28:54 Cyber37 you know command to get gps location? Jun 15 19:28:57 g00s: But why don't we have new ones? Jun 15 19:28:57 if google abandon us, maybe we abandon google... i look forward to Firefox OS, Ubuntu Phone, and Tizen Jun 15 19:29:14 flan3002 ask dan morrill Jun 15 19:29:20 oh he's not here, shit Jun 15 19:29:40 cyber37, Don't post code in the chat. Use something like pastebin Jun 15 19:29:55 smallfoot-: Last time I checked, Ubuntu f*cked up the audio setup of my N7... I didn't even have Audio back on stock Android... Jun 15 19:30:08 cyber37: Even better: gist. Jun 15 19:30:12 flan3002, oh... weird Jun 15 19:30:26 Cyber37 chat with pastebin? Jun 15 19:30:31 these Firefox phones will be $20 lol Jun 15 19:30:53 smallfoot- thats pretty amazing Jun 15 19:30:56 yeah Jun 15 19:31:11 i got my lumia 521 for $69 and i'm pretty amazed, but $25 ... Jun 15 19:31:14 China sells clones for $10? Jun 15 19:31:34 g00s, http://mobile.slashdot.org/story/14/06/12/1325259/mozilla-to-sell-25-firefox-os-smartphones-in-india Jun 15 19:31:39 yeah saw that Jun 15 19:31:52 Idiot got scanned by nokia Jun 15 19:32:17 :) Jun 15 19:32:27 Mm Jun 15 19:32:28 Klizsidugfreguel you're going to be scanned too soon Jun 15 19:32:35 Idiot t9 Jun 15 19:32:57 Not nn fool Jun 15 19:33:04 Hey guys, I have setTheme(R.style.myTheme) in my MainActivity. How do I use it in another class? Jun 15 19:33:12 Who know android basics?? Jun 15 19:33:15 context.setTHeme(R.style.myTheme) doesn't work Jun 15 19:33:22 context is passed from mainActivity Jun 15 19:33:40 try GetApplication().setTheme() or GetContext() maybe or something Jun 15 19:33:46 Cocostorm how you get gps location in android? Jun 15 19:33:51 What command? Jun 15 19:34:02 CocoStorm i think you have to call it before setcontentview, and after that call you may need to do activity.recreate Jun 15 19:34:10 CocoStorm: what exactly are you trying to do? setting theme from another class? Jun 15 19:34:20 Klizsidugfreguel: did you find eclipse yet ? Jun 15 19:34:29 josaphat, flan3002 and Klizsidugfreguel Realy thanks for that ! Jun 15 19:34:33 So : Jun 15 19:34:37 shmooz, think he is a bot Jun 15 19:34:41 Guys i need help i have exactly that problem https://code.google.com/p/android/issues/detail?id=4326 Authentificator work perfectly on a standard java programme J2ME, but in Android with the same code, Authentificator doesn't work, and i can't tweak with httpheaders because i need a "AUTH" authentification type, and not a "BASIC" authentification .. Jun 15 19:34:48 shmooz: i dont think so since he dont seem to use google for anything :p Jun 15 19:34:56 smallfoot-: what made you think that ? Jun 15 19:35:04 g00s, well at the moment in the MainActivity it is called before then but I want to call setTheme from another class for housekeeping Jun 15 19:35:14 it was working when I was calling it frmo the mainActivity Jun 15 19:35:24 shmooz, he talked weird and didnt make any sense, and seemed more like a troll or a bot than an sentient intelligent being Jun 15 19:35:26 danijoo, yes setting theme from another class Jun 15 19:35:37 Klizsidugfreguel, not sure, I use googlemaps Jun 15 19:35:45 api Jun 15 19:35:45 shoudl work as long as you call it before setContentView() Jun 15 19:35:58 danijoo, so context.setTheme() from another class? Jun 15 19:36:04 yeah Jun 15 19:36:17 I get a null pointer at run time Jun 15 19:36:24 he's the opposite of turing, convinces us that he's a bot when he is just a troll Jun 15 19:36:45 well im good at ignoreing ppl :) Jun 15 19:37:29 Googlmap is idiot scam wont allow even marking place in airplane without internet Jun 15 19:37:56 Googl wants internet to steal all phone trash Jun 15 19:38:07 : D Jun 15 19:38:08 Klizsidugfreguel: !list Jun 15 19:38:15 * flan3002 googles how to ignore people. Jun 15 19:38:25 CocoStorm, http://stackoverflow.com/questions/5018545/getapplication-vs-getapplicationcontext Jun 15 19:38:30 and you think they need gmap for that when you are using a google os? LD Jun 15 19:38:33 What notepad command to get gps location? Jun 15 19:38:37 smallfoot-, thanks will have a read Jun 15 19:38:47 * flan3002 considers asking in #freenode about a new Op for this channel. Jun 15 19:39:11 !list Jun 15 19:39:21 !lists Jun 15 19:39:33 !help Jun 15 19:39:38 Please stop that Jun 15 19:39:41 And read the documentation: http://developer.android.com/training/location/index.html Jun 15 19:39:50 flan3002, hahaha Jun 15 19:39:55 I got that Jun 15 19:39:59 smallfoot-, ah but I'm not using an Activity or Service class Jun 15 19:40:04 just standard java class Jun 15 19:40:04 Hi, it's a bad way to set a property in a listview item? http://pastie.org/private/lw9qi3lcb4fe5o5ldxmvuq Jun 15 19:40:09 Adt Jun 15 19:40:23 600Mb in zip Jun 15 19:40:46 Klizsidugfreguel: how come you don't answer us ? Jun 15 19:41:17 m8 you dont need to getView from super Jun 15 19:41:24 Use the convertView Jun 15 19:41:30 and recycle it Jun 15 19:41:36 No Avd starts. Stuck at blue android animation. And no notepad like thing in sdk manager to tyre programs Jun 15 19:41:51 danijoo, but first time converTview is null Jun 15 19:41:59 yep. inflate it Jun 15 19:42:14 you need a layout inflater (pass context to the adapter) Jun 15 19:42:28 then in getView check if convertView is null, if yes, inflate a new view, if no, reuse it Jun 15 19:42:52 Shmooz cant see. All flood. This 1.5" screen and 40 lines scroll Jun 15 19:43:31 Klizsidugfreguel: you either get eclipse separately, or it's included in the bundle Jun 15 19:43:44 it doesn't go in the same dir as sdk manager.exe Jun 15 19:43:56 it has its own directory in program files Jun 15 19:44:02 Lots of useless vigor inside that Jun 15 19:44:09 there you find Eclipse.exe or Eclipse64.exe Jun 15 19:44:10 shmooz you're talking to a bot Jun 15 19:44:16 I just want to write 2 lines Jun 15 19:44:19 when people release games for iOS and Android, do they have to write everything (game logic, graphics engine etc) twice (in C and Java), or are there ways to port things between the platforms? Jun 15 19:44:20 g00s: no he answered me Jun 15 19:44:37 catphish: yes unless you use tools like unity to create them Jun 15 19:45:19 Let a=Get.gpsloc , write.a to sdcard/newtextdoc.txt Jun 15 19:45:22 Okay guys, so sample of my onCreate() method http://pastebin.com/4SX6UPaw and my configuration class http://pastebin.com/j1HaDH9Q Jun 15 19:45:28 what am I doing wrong? Jun 15 19:45:35 that's interesting, i find it amazing that anyone would do all that twice, but i guess studios have teams of programmers who can implement things on both platforms to exact specs Jun 15 19:45:50 i'll take a look at the tools though Jun 15 19:46:21 And make it .apk from txt Jun 15 19:46:27 CocoStorm: dont use the applicationcontext to set theme, use the activity context Jun 15 19:46:29 catphish, The differences aren't as drastic as you might imagine. A few subsystems might have to rewritten but hardly any of the actual game code. Jun 15 19:46:44 catphish, maybe things like Apache Cordova, PhoneGap, or MonoTouch Jun 15 19:47:05 josaphat: how do you get away with not rewriting game code? can both platforms run compiled C? Jun 15 19:47:05 catphish: a lot of games are ported as C instead of being converted to java Jun 15 19:47:06 danijoo, so just context.setTheme(R.style.AppTheme2); ? the context i pass in from MainActivity? I've used that before and it still gave me a null pointer Jun 15 19:47:18 yes Jun 15 19:47:55 thanks :) Jun 15 19:48:18 CocoStorm: Are you telling us you can't figure out how to debug a NullPointerException? :/ Jun 15 19:48:27 Android medieval gen os using assembly lang java trash , Jun 15 19:49:03 14th century Jun 15 19:49:13 Klizsidugfreguel: There are various tools for building android apps. Start googling them. Jun 15 19:49:24 You wont last long in this channel if you keep on like that Jun 15 19:49:29 I know Jun 15 19:49:34 SimonVT, It's not giving the line in the stack trace but yeah I'll try and investigate. Can't find anything obvious thuoh Jun 15 19:49:49 SimonVT, it's a bot. Or a troll. Either way just ignore it. Jun 15 19:49:49 Yes, it is giving you the line Jun 15 19:50:02 But its idiot to make 10mb trash when i just want 2 lines and 1 line output Jun 15 19:50:24 Various tools ,. Jun 15 19:50:30 its also idiot to spam the channel with your nonsense but you are still doing it :) Jun 15 19:50:32 so yeah... Jun 15 19:51:09 ant, gradle, maven .. Eclipse and IntelliJ can build as well Jun 15 19:51:19 Guys. Please help. The error is this : No JNI_OnLoad found Jun 15 19:51:43 SimonVT: How about banning Klizsidugfreguel? Jun 15 19:51:43 Flan fool wrong channel Jun 15 19:51:45 But there is JNI_OnLoad there in my library Jun 15 19:52:19 flan3002: we dont have an op here :( Jun 15 19:52:33 * SimonVT whistles Jun 15 19:52:51 coderbrahmin, class and function are public? Jun 15 19:52:55 function/method whatever Jun 15 19:53:08 How big final apk file needed to put 2 lines command in android ? Jun 15 19:53:09 should they be? Jun 15 19:54:06 coderbrahmin, well. how does one find your class elsehow? :P ;-) Jun 15 19:54:40 Java method which is native is definced as : private native int getPermission (Activity a); Jun 15 19:55:11 And I have this as well static { System.loadLibrary("me"); } Jun 15 19:55:36 SimonVT: So? Jun 15 19:56:28 Then I have a native c file having the function: jint JNI_OnLoad(JavaVM *vm, void *reserved) { ... } Jun 15 19:56:30 Eventually :) Jun 15 19:56:32 So sleep Jun 15 19:56:37 Die Jun 15 19:56:58 Intonizzabsfbd.zucguiearyiest Jun 15 19:57:15 Yay! Jun 15 19:57:26 Huh? Jun 15 19:57:40 Did it just...? Jun 15 19:58:00 Plus the relevant part of Android.mk is include $(CLEAR_VARS) LOCAL_MODULE := me LOCAL_SRC_FILE := me.c include $(BUILD_SHARED_LIBRARY) Jun 15 19:58:30 coderbrahmin, sorry, didnt read the stuff with JNI.. i'm not familar with that :-/ Jun 15 19:58:42 Huhhh ... :( Jun 15 19:58:47 Somebody else?? Jun 15 20:02:14 danijoo, and super doesn't do this? Jun 15 20:02:33 danijoo, it calls createViewFromResource Jun 15 20:03:03 m8 i dont know what you are extending. Jun 15 20:03:18 danijoo, ArrayAdapter Jun 15 20:03:48 danijoo, if i call res.findViewById(R.id.textQty) many times on the 5 time it returns the object Jun 15 20:04:18 SimonVT: Did it just deOP you? Jun 15 20:04:28 I told it to Jun 15 20:04:39 Why that? Jun 15 20:04:53 I can't imagine the messages I'd get if I was permanently opped Jun 15 20:05:04 /msg ChanServ access list #android-dev still list you. Jun 15 20:05:11 The force is strong with this one. Jun 15 20:05:34 Yes. I ask it to op me when I need to kick/ban someone, and then I tell it to deop me :) Jun 15 20:05:50 Ah... How does that work? Jun 15 20:05:53 m8 if you only want to set one single string to a textview, why write your own AgetView methhod? You could simply use ArrayAdapter and let the system handle it Jun 15 20:06:05 msg chanserv op/deop #channel Jun 15 20:06:37 danijoo, because the layout of listitem is custom there are buttons and some textviews Jun 15 20:07:35 then inflate it on your own Jun 15 20:07:38 SimonVT: It will just do that for everyone? Certainly not... Why does it do it for you? Jun 15 20:08:20 or wrap the super call and only do it f convertView is null. should work Jun 15 20:08:29 Because I was added to the access list of the channel :) Jun 15 20:08:54 SimonVT be careful methinks you are being socially engineered Jun 15 20:08:55 Ah, makes sense. :) Jun 15 20:09:03 danijoo, the problem is the findViewById returns null on the first 4 calls Jun 15 20:09:12 sabton: Huh? Jun 15 20:09:27 ;) Jun 15 20:09:36 then inflate it on your own and dont use the super Jun 15 20:09:42 i dont know what super does. Jun 15 20:09:46 hunter2 Jun 15 20:10:27 uh oh Jun 15 20:10:40 better change that now SimonVT lol Jun 15 20:11:22 Nah, it shows up as ******* Jun 15 20:11:30 Sure, good old bash... Jun 15 20:11:50 I just copy-pasted it, I only see *******. Really! Jun 15 20:12:14 http://www.bash.org/?244321 for anyone who doesn't know it. Jun 15 20:14:04 classy ^^ Jun 15 20:18:40 danijoo: I still really like #258908. :) Jun 15 20:24:32 If I've got a load of preferences set in a preference activity, what's the standard way of keeping track of these in other activities? I currently have a method which sets all the variables like so boolean autosms = getPrefs.getBoolean("autosms", true); if (autosms == false) { sendSMS = false; } Jun 15 20:24:38 loads of those ^ Jun 15 20:25:28 CocoStorm: Like, keeping track of changes? Jun 15 20:25:49 flan3002, well more like loading the changes Jun 15 20:26:19 so say we want to get the preferences, we need to add those lines ^ Jun 15 20:26:26 greetings. I want to create an interface for fragments to communicate with my activity. I've done this for a single fragment, but I would like to use the same interface for communicating with multiple different fragments. Do I have to create a different private listener interface in every fragment class and implement them all in my Activity, or can I create a public interface in a separate file and use that one across the board? Jun 15 20:26:49 i have a method called loadPrefs() which sets the instance variables to the preferences currently set Jun 15 20:30:18 Each fragment's interaction with the activity would be different, so I think I would need to implement different interfaces for each fragment type in my activity - that just seems kind of excessive, so I'm wondering if that's the correct way to do it Jun 15 20:30:38 CocoStorm yeah, some apps have a PrefUtils class with static getThis(Context) getThat(Context) Jun 15 20:30:57 CocoStorm: Are you speaking of changes while the app is running? If so, http://developer.android.com/reference/android/content/SharedPreferences.html#registerOnSharedPreferenceChangeListener(android.content.SharedPreferences.OnSharedPreferenceChangeListener) might help. Jun 15 20:31:03 Ugh, giant link... Jun 15 20:31:19 i always thought prefs were kinda cheesy since we specify the name in xml and need a constant in source, and then we specify a default in xml and the getXXX require defaults too Jun 15 20:31:31 stupid api Jun 15 20:32:48 g00s, I should make a similar class but yeh it is a bit fiddly Jun 15 20:32:52 thanks :) Jun 15 20:33:44 flan3002, thanks for the link but yeah I meant loading preferences and keeping everything neat Jun 15 20:34:23 Yeah, I got a 'Config' class for that. With everything close together. Jun 15 20:34:41 ah I see Jun 15 20:34:43 :) Jun 15 20:34:47 thanks! Jun 15 20:40:51 woohoo! ubuntu upgrade to 13.10 works much better with my GS3 connection ... er, *works properly* Jun 15 20:41:13 Ubuntu can upgrade? Jun 15 20:41:20 do you guys know why i get "the item you requested cannot be found" when i try to install my app; i just released some hours ago. looks fine at the first site, no errors in developer console... Jun 15 20:41:24 I tried that once and it f*cked up everything... Jun 15 20:41:28 after several hours, eventually Jun 15 20:41:39 this is the link to my app https://play.google.com/store/apps/details?id=com.probitorg.gladis&hl=en Jun 15 20:42:01 i did not had this problem with my last apps Jun 15 20:42:12 my upgrade from 12.04 -> 12.10 screwed up my /usr/include/X11/extensions ... compiler fails!!! so upgraded again -> 13.10 fixed it Jun 15 20:42:36 anyone? Would it help if I rephrased my question? Jun 15 20:42:55 talk, say things Jun 15 20:43:10 la la la la Jun 15 20:43:16 plem blem Jun 15 20:43:54 and off-tpoic but I can now build Servo for desktop and Android .... watch out Chrome ! Jun 15 20:44:20 chrome on android is kinda low bar Jun 15 20:44:29 heh :p Jun 15 20:46:16 My question is essentially this: Do I have to repeat and stack this procedure for, say, three different Fragments (FragmentA,FragmentB,FragmentC...) in order for each of them to be interactive? http://developer.android.com/training/basics/fragments/communicating.html Jun 15 20:46:50 capella: Tried Arch? Jun 15 20:47:06 i.e. create a public sub-class interface in each Fragment type, then implement each fragment's interface in my activity? Jun 15 20:47:07 * flan3002 totally does not try to convince other of anything. Jun 15 20:47:18 flan3002: my most trusted OS guy keeps kicking me to do that Jun 15 20:47:36 ever since Arch switched to systemctl, I find it more annoying to use Jun 15 20:47:47 capella: What are you waiting for then? Jun 15 20:48:05 however, I still choose that for my everyday machines - and debian for server Jun 15 20:48:27 capella any recommendations for a good linux live cd these days? knoppix hasn't been updated in a while Jun 15 20:48:50 sysrescuecd is my fave, even though you didn't ask me g00s Jun 15 20:48:56 flan3002: Im well invested in my current IDE, which I use for desktop/Android development while contributing to mozilla ... I don't want to lost my momentum to make the switch yet Jun 15 20:49:01 but that's non-gui Jun 15 20:49:09 hesperaux yeah but thats pretty targeted for hacking Jun 15 20:49:11 i think. actually it might have X Jun 15 20:49:15 hacking in loose sense Jun 15 20:49:17 g00s, nah, just recovery Jun 15 20:49:27 Kali linux is for hacking :D Jun 15 20:49:42 yeah, my friends windows install went belly up, i thought i could get her limping along with a live cd for a few weeks Jun 15 20:50:06 ah, so you want something more for the regular user Jun 15 20:50:10 yeah Jun 15 20:50:14 since I am not one, I can't think of anything xD Jun 15 20:50:33 i'd probably use an ubuntu live, even though I hate ubuntu Jun 15 20:50:33 i remember ubunto used to work as a live-cd and then you could install it Jun 15 20:50:36 yeah Jun 15 20:50:58 for a Win beginner, basic Ubuntu with Gnome 3 perpahs Jun 15 20:51:01 it's probably the easiest way to go Jun 15 20:51:07 meh, gnome 3 Jun 15 20:51:10 >_< Jun 15 20:51:16 * hesperaux recommends xubuntu Jun 15 20:51:25 uses xfce instead of gnome Jun 15 20:51:29 * Sicp recommends APPLE Jun 15 20:51:32 lol Jun 15 20:51:35 save your souls Jun 15 20:51:42 Sicp, they have a livecd now? :P Jun 15 20:51:47 meh apple ... closed system extra cash Jun 15 20:51:54 with apple, you don't need to try the OS Jun 15 20:51:56 huhu! Jun 15 20:52:18 Sicp, yeah you do man... i had a macbook pro for 5 years (2007 model). I tried to use OS X and it drove me insane Jun 15 20:52:24 I had to install linux not long after Jun 15 20:52:32 I recommend Nexus. Vanilla Android ftw. But if anyone prefer Apple over Samsung, LG, Sony, HTC, Huawei, then I understand them. Jun 15 20:52:46 The only thing good when it comes to Android is the Nexus line, everything else sucks! Jun 15 20:52:48 the OS is very stable and relatively fast (at first) - the problem I had was preference. I HATE their GUI Jun 15 20:52:57 forgive them Jun 15 20:53:00 smallfoot- too bad nexus line may be going away ! Jun 15 20:53:01 they know not what they speak Jun 15 20:53:07 k Jun 15 20:53:20 Sicp, this is why there are multiple OSes. Jun 15 20:53:20 man, i'm worried about android's future. i don't trust google to make decisions i like :) Jun 15 20:53:34 of course, diversity is a must Jun 15 20:53:34 i was sad to hear that nexus line is dying Jun 15 20:53:38 g00s what?! Jun 15 20:53:41 it was good competition Jun 15 20:53:41 how else are you going to know others suck? Jun 15 20:53:45 lel Jun 15 20:53:51 g00s, yeah, I heard. I am very disappointed about that. Hopefully the new Android Silver line will be good. Jun 15 20:53:56 Sicp, aren't you the expert troll :) Jun 15 20:54:00 * flan3002 is pissed about how Google treats it's fellow app developers. Jun 15 20:54:13 flan3002, does it love them dearly? Jun 15 20:54:13 I currently have the Nexus 7 (2012) and the Nexus 5, I love them! Jun 15 20:54:22 flan3002 they needed us to get the ball rolling … now … not so much eh ! Jun 15 20:54:22 same here smallfoot- Jun 15 20:54:25 i have a launch-date nexus 7 Jun 15 20:54:27 something bad is going to happen to them? Jun 15 20:54:30 smallfoot-: Exactly the same here. Jun 15 20:54:34 it's nice, except the rom i have is epic fail Jun 15 20:55:16 I wouldn't know what to buy if it wasn't the Nexus 5... next time I buy a device, if there are no Nexuses, then I will be lost... Jun 15 20:55:19 anyways, anyone here use multiple fragments in an activity and wouldn't mind helping me with interfaces? Jun 15 20:55:45 smallfoot-, i like the Note 2 I have. but granted those are super expensive (got mine on ebay for less) Jun 15 20:56:30 I walk into phone stores, and salesmen comes up to me and go "How may I help you?", I reply "You can't help me, I have the Nexus 5" LOL Jun 15 20:56:42 * flan3002 is a little jealous about the effort Apple put into Swift. Jun 15 20:56:48 are there any links to speed up android studio? I'm coming from eclipse and it takes 24 seconds to build, seems like that is 20 seconds too long. Jun 15 20:56:56 oh i got into a great conversation with the best buy samsung rep Jun 15 20:57:09 * g00s loves getting into arguments :D Jun 15 20:57:10 (Considering we probably won't get Java 8 anytime soon, or a proper NDk) Jun 15 20:57:15 well, not on irc since its pointless Jun 15 20:57:28 * capella-s3 loves bestbuy Jun 15 20:57:37 did you guys know they came out with a tizen phone a few weeks ago? Jun 15 20:57:44 their next watch is tizen too Jun 15 20:57:53 tizen in Arabic literally means "two asses" Jun 15 20:57:57 I didn't know its out, but I heard they were or would be launching some Tizen devices Jun 15 20:58:08 what the hell is Tizen? Jun 15 20:58:10 * hesperaux googles Jun 15 20:58:15 i'm betting one feature in the next version of android is multi-window support, so samsung doesn't get too far away from compatibility with that Jun 15 20:58:33 hesperaux, Tizen is a mobile operating system. Like Android, Windows Phone, iOS, Ubuntu Phone, and Sailfish OS. Jun 15 20:58:52 smallfoot-, i'm kind of glad you listed those all out (not being sarcastic) Jun 15 20:58:57 anyway this is interesting Jun 15 20:59:01 what language is the API? Jun 15 20:59:04 hesperaux, also Firefox OS on that list Jun 15 20:59:34 saw the Samsung / tizen thing.. that's been in the works Jun 15 20:59:44 hesperaux, https://en.wikipedia.org/wiki/Tizen Jun 15 20:59:57 i just can't get myself to buy anything from samsung. just like sony, after that rootkit fiasco. i wouldn't even buy sumsung bubble gum Jun 15 21:00:30 wait, it's all html5/javascript? =/ Jun 15 21:00:40 g00s my gs3 is awesome... why the distaste Jun 15 21:00:46 * hesperaux doesn't feel great about that Jun 15 21:00:57 hesperaux, Firefox OS is all HTML5, CSS, JavaScript Jun 15 21:01:02 capella-s3 i remember when the original galaxy came out, and the GPS didn't work Jun 15 21:01:07 oh, it uses enlightenment libs? that shit is great Jun 15 21:01:15 they basically didn't fix it .. or they did, like a year later Jun 15 21:01:37 the company seems very shady Jun 15 21:01:44 their plastic feels cheap Jun 15 21:01:45 so big, such a big part of the korean economy Jun 15 21:01:51 basically defies investigation Jun 15 21:02:46 mmm the plastic case has never been an issue with me Jun 15 21:02:58 Nexus 5 is plastic too, but its awesome plastic Jun 15 21:03:07 Samsung plastic is like toys'r'us plastic Jun 15 21:03:32 they can't seem to write software though :| Jun 15 21:03:34 Samsung, the company which can't fit their bloatware into 1GB of RAM on an OS version optiized for 512MB :P Jun 15 21:04:43 lol Jun 15 21:05:04 yah... Samsung retail approach is iffy... but im a hacker... so wfm Jun 15 21:05:54 i see them as an apple wanna-be Jun 15 21:06:11 but they make lots of appliances, so they can do things like connected home easier, perhaps Jun 15 21:06:12 ohhhhhh noooooo Jun 15 21:06:18 ( -- official explanation of why they will not be providing Kitkat update for SGS3 International version with 1GB of ram :P ) Jun 15 21:06:50 g00s, the problem is they suck so much at user experience that I really don't want to have a connected phone with their brand :/ Jun 15 21:06:54 even their TVs suck a Jun 15 21:07:05 ive got the L710 US... 4.4.2 now Jun 15 21:07:56 though the OTA upgrade over my rooted device enforced selinux and locked me out Jun 15 21:08:06 my bad Jun 15 21:08:34 Mavrik yeah i agree Jun 15 21:08:48 (and I do own quite a few Samsung devices) Jun 15 21:14:26 then there is LG "LG Disables Smart TV features in the EU to force users to accept new oppressive Privacy policy" Jun 15 21:14:31 sounds like bad UX too :D Jun 15 21:14:42 :)) Jun 15 21:14:49 I'd consider that a bonus feature. Jun 15 21:14:57 (Having the ability to disable Smart TV crap.) Jun 15 21:19:47 What devices would be enough to test your app on to be sure it works? Sizes and brands. Jun 15 21:20:25 depends on what you're doing and who your targeting Jun 15 21:20:28 depends what apis you use. if you use basic things, http, etc - genymotion would be fine Jun 15 21:20:31 and how capable you are of building UIs Jun 15 21:21:04 if using opengl, bluetooth, etc, you'll need various hardware Jun 15 21:23:12 I have a surfaceview with the camera preview on it. I freeze the preview image by calling camera.stopPreview(). Is there a way to save the resulting freezed image from the surfaceview to a file? Jun 15 21:23:42 oh yeah, camera is another problem API :) Jun 15 21:24:08 lurch_, not from SurfaceView, TextureView has getBitmap() Jun 15 21:24:15 lurch_, for SurfaceView use the camera listener Jun 15 21:24:24 and retrieve a single frame of preview and THEN stop the preview Jun 15 21:24:33 (you'll probably have to do the color space conversion) Jun 15 21:24:52 Mavrik: I do an autofocus now before freezing the image, that’s still possible then? Jun 15 21:25:15 that's unrelated. Jun 15 21:25:30 ok, thank you. I’ll have a look at that Jun 15 21:25:45 lurch_, this is what you're looking for: http://developer.android.com/reference/android/hardware/Camera.PreviewCallback.html Jun 15 21:26:07 great. thanks again! Jun 15 21:32:17 I think my Nexus 5 does drop calls Jun 15 21:43:21 i'm still having bluetooth troubles even after the 4.4.3 update :( Jun 15 21:43:31 although it seemed like they fixed a few htings Jun 15 21:43:47 fix one bug, create four more Jun 15 21:43:55 hey guys, does anyone have an idea on this one? https://stackoverflow.com/questions/24227870/create-select-android-shortcuts-some-shortcuts-missing Jun 15 21:46:13 How can I call methods from MainAcitivty without having to make the method static.. can I make a new instance of MainActivity? Jun 15 21:46:18 :S Jun 15 21:46:25 CocoStorm come on :| Jun 15 21:47:09 * g00s summons a storm of cocos at CocoStorm Jun 15 21:47:41 g00s, I know I have no excuse but I'm getting a little confused :) Jun 15 21:48:06 coco storm can't you just make a singleton that lives inside your mainactivity? Jun 15 21:48:22 a singleton? Jun 15 21:48:29 what exactly do you need from the main activity? Jun 15 21:48:34 half of a doubleton Jun 15 21:48:48 and twice a halfton! Jun 15 21:48:59 lasserix, I need to call a method that's in the mainactivity from another class Jun 15 21:49:07 It's the greatest thing since the internal combustion engine. Jun 15 21:49:27 When? Jun 15 21:49:32 or, why? Jun 15 21:49:47 as in what is the condition in which this method needs to be called? Jun 15 21:53:20 cocostorm, you can make a interface and then cast your main activity as that interface (make sure it implements that interface) and pass it into your other class that needs to call it Jun 15 21:54:08 the method of that interface obviousily this method Jun 15 21:54:59 lasserix, I see good idea Jun 15 21:55:01 I'll try it out Jun 15 21:55:07 but you still need to make an instance of MainActivity? Jun 15 21:55:21 one second Jun 15 21:56:33 hmm. although i generally like the nav drawer, i really don't like the code implementing it. always seems so ugly / highly coupled Jun 15 21:56:34 sounds like you're trying to hack around a solution that could be better solved through the proper APIs Jun 15 21:59:17 cocostorm:L http://pastebin.com/E6HPPeUA Jun 15 22:00:34 lasserix, ah awesome! thanks lasserix Jun 15 22:00:56 this assumes you can pass the mainactivity casted as the interface to your class, so hopefully you can Jun 15 22:01:44 oh obviousily when you need to call just call myClicktor.mySpecialFunctiomMethod() Jun 15 22:02:46 atlternative you can do like public static void doSpecialFunction(Context context) { /* do stuff */ } Jun 15 22:02:49 in your main activity Jun 15 22:03:03 if this function isbeing called in response to a click or touch event Jun 15 22:03:07 you can get the context from the view Jun 15 22:03:17 since all views have getContext method Jun 15 22:05:13 I attempted to clean my code up and now I'm getting this null pointer as soon as I run the application Jun 15 22:05:20 it's pointing to line 21 on MainActivity right? Jun 15 22:05:21 http://pastebin.com/Nnd0Yda8 Jun 15 22:05:47 umm Jun 15 22:05:50 more Jun 15 22:05:53 stacktrace Jun 15 22:06:01 look down a couple lines it'll tell you where the NPE is coming from Jun 15 22:07:17 oh think i found it, COnfiguration class line 19? http://pastebin.com/bRsuBRUw Jun 15 22:07:58 android.preference.PreferenceManager.getDefaultSharedPreferencesName(PreferenceManager.java:371) Jun 15 22:08:03 errs Jun 15 22:08:04 Hey guys! I am working on an android app and trying to achieve a certain look for my navigation drawer. (Which in my case is more like a properties panel) So I was wondering how would I achive this look http://prntscr.com/3t6kd3 . The top would be the unpressed and the bottom would be the pressed. I was thinking I could make a view or I could just Jun 15 22:08:04 use a modified button. Jun 15 22:08:12 Any Ideas Jun 15 22:08:30 at com.marco.Configuration.isLightTheme(Configuration.java:19) Jun 15 22:09:19 ah Jun 15 22:09:33 ProjectBarks: can't you just use listview with state selector? Jun 15 22:09:44 points to this line SharedPreferences getData = PreferenceManager.getDefaultSharedPreferences(context); Jun 15 22:10:08 What is a state selector? Jun 15 22:10:35 CocoStorm: yeah idk you'd have to post some code Jun 15 22:10:51 lasserix what is a state selector Jun 15 22:10:55 https://www.google.com/webhp?sourceid=chrome-instant&ion=1&espv=2&ie=UTF-8#q=state+selector+listview+android+tutorial Jun 15 22:37:05 lasserix Jun 15 22:37:05 lasserix Jun 15 22:37:05 lasserix but I still cannot do the icon Jun 15 22:37:24 O my gosh Sorry for spamming your name. That shouldn't have happened Jun 15 22:37:59 Let me be more explicit with the list view I cannot have icons for each item in the list Jun 15 22:45:26 I have a RelativeLayout with alignParentBottom and an ImageView inside and it isn't completely at the bottom. Why is that? Jun 15 22:45:47 ImageView is set to wrap_content on height Jun 15 22:47:30 Kate_Fisk is there any margin? Jun 15 22:47:47 No Jun 15 22:47:51 I can show the code Jun 15 22:47:54 xml* Jun 15 22:49:38 http://pastebin.com/tGXK7yMP Jun 15 22:54:22 Is it because Ad and ImageView have different sizes? Jun 15 22:54:40 That shouldn't be an issue. Jun 15 22:55:11 I pasted it into my project, and they're both at the top. Jun 15 22:55:43 Hey guys I am trying to replicate the list view in the navigation drawer google maps has. http://prntscr.com/3t6kd3 How would i make a list view or something similar that has a pressed state like the one on the bottom. and can have icons Jun 15 22:55:58 Should I just make a view with an extended toggleable button and recode it Jun 15 22:56:49 Kate_Fisk To be clear, do you want the ad on the top or the bottom? Jun 15 22:56:50 I fixed it by putting android:layout_alignParentBottom="true" Imageview Jun 15 22:57:12 I want the image to be a placeholder for the banner if it doesn't manage to display the ad Jun 15 22:58:05 ProjectBarks: selectors Jun 15 23:00:23 Mind elaborating bankai_au Jun 15 23:40:43 JakeWharton: I want to use setAlpha for a button, can I do that with nine old androids, how? Should I import button from nineoldandroids? Jun 15 23:47:30 hi guys Jun 15 23:59:10 I think my wife's tab 2 is hosed. It's stuck on the firmware upgrade encountered an issue screen and I can't do anything with it now. Kies can't restore firmware because the device isn't supported and a reflash via Odin produces nothing Jun 16 00:03:15 hi guys Jun 16 00:03:43 can someone help me with a problem with fragments? Jun 16 00:11:18 Hi, having a problem with Eclipse failing to link in classes properly to compile. There are no errors in the project: Gelling errors like "Failed resolving Lcom/test/project/project1/RegistrationActivity$1; interface 78 'Lcom/hoho/android/usbserial/util/SerialInputOutputManager$Listener;' Jun 16 00:12:15 It's actually compiling ok, but after sending it to the device, it's crashing out and giving this error. As though Eclipse isn't bundling the library in or something, although the paths are correct. Jun 16 00:12:40 Actually I guess this sounds like more of an Eclipse bug than Android. Might check over there. Jun 16 00:27:17 hi guys Jun 16 01:03:33 hey guys. using eclipse and using ndk. my project compiles fine but there are a bunch of errors like "unresolved inclusion: string" ... i've checked the project include paths and everything looks right. any ideas? Jun 16 01:07:20 kevin: Have you tried cleaning the projec t? Jun 16 01:08:57 Smashcat: yeah, tried that. no good. Jun 16 01:09:27 Ok, if you go into project properties, then Java build path, then order and export tab, is the /gen above /src? Jun 16 01:09:47 (and everything checked) Jun 16 01:09:48 NDK means you're using C/C++, right? Jun 16 01:09:58 kevin, Jun 16 01:10:06 Smashcat: i have src above gen Jun 16 01:10:08 josaphat: yes Jun 16 01:10:14 kevin try moving gen above src Jun 16 01:10:23 Then make sure it's all ticked, and recompile Jun 16 01:11:14 k did that, then clean and rebuilt and still no good Jun 16 01:11:29 I had similar issues with the NDK. Think that's what I did - also found for some bizarre reason, restarting eclipse sometimes fixed it. It's something to do with the order it builds things Jun 16 01:13:21 Sorry I can't help more at the moment. 2AM here and I need to be up for work in 5 hours :) Jun 16 01:13:24 later Jun 16 01:23:50 got it to work... had to change it from android toolchain to gcc toolchain with custom build command Jun 16 01:42:11 hello how can i iterative thorough a cursor’s column’s Jun 16 01:45:46 nvm Jun 16 01:45:53 I want to draw movable arcs with a canvas, but the arcs have to be wide. I'm looking to make something that looks like the indeterminate progress spinner, but thicker Jun 16 01:46:01 how can I do this? Jun 16 01:52:29 actually, it would look kind of like this: https://lh3.ggpht.com/lYh6B9nMTal3uCo1iGn8cU-19E7UGZwV8Wl_XIY7rf2wFh8_sAlljjQM-cu9oX_6004=h900 Jun 16 01:52:47 except I'll need handles that can be grabbed on the end of each arc, but that comes later Jun 16 01:56:30 it's really quiet here today Jun 16 01:58:30 :) Jun 16 01:59:29 g00s, how's things? it's been months since i talked to you (aside from earlier) Jun 16 02:00:10 hesperaux, It's a sunday night. People go to bed. Jun 16 02:00:28 hesperaux hm, ok i suppose. took (another) little break from android Jun 16 02:00:51 g00s, i did too for a while Jun 16 02:00:57 i graduated so now i'm going back to it Jun 16 02:01:02 :) Jun 16 02:01:26 with I/O coming up, and my general frustration with things, i'm also just kinda pulling up a lawn chair to see what google plans for the platform moving on Jun 16 02:01:39 btw, my sensor real time graph thing turned out fine. :D Jun 16 02:01:44 now i wanna redo it properly heh Jun 16 02:01:49 o nice :) did you use jjoe64 ? Jun 16 02:01:55 i did yeah Jun 16 02:02:01 ;) Jun 16 02:02:04 had to make some modifications to it, but it worked pretty well Jun 16 02:02:19 I think i'm gonna modify that heavily or possibly roll my own though in the future Jun 16 02:02:37 * g00s doesn't like maintaining code, even his own ;) Jun 16 02:02:45 lol, exactly Jun 16 02:03:01 is google supposed to be doing something horrible soon? Jun 16 02:03:07 I think my wife's tab 2 is hosed. It's stuck on the firmware upgrade encountered an issue screen and I can't do anything with it now. Kies can't restore firmware because the device isn't supported and a reflash via Odin produces nothing Jun 16 02:03:07 your sense of foreboding disturbs me Jun 16 02:03:43 no, i'm hoping they make some decision about the java shitpile Jun 16 02:03:51 what do you mean? Jun 16 02:04:42 java = shitpile. Jun 16 02:04:45 a company the size of google, while ideally being able to just 'do what they' did with java, should probably license it and get us all out of this quagmire … just license a jvm from oracle, get an official jvm, official classpath, etc Jun 16 02:05:05 or … choose something else Jun 16 02:05:30 but at this point, android has some deficiencies i hope they address, like the permissions system, etc Jun 16 02:05:45 hear hear. Jun 16 02:05:49 so you want them to scrap dalvik? Jun 16 02:06:05 dvm is almost history, but art too … yeah Jun 16 02:06:31 as time goes on its only going to diverge from oracle java Jun 16 02:06:36 its "not sustainable" Jun 16 02:06:51 it does worry me when I do need to use java libraries in android Jun 16 02:07:30 sure, because libraries will soon start using both modern language features, and perhaps depend on modern apis Jun 16 02:07:44 they can klinda wing it with language features, but nobody works on harmony any more Jun 16 02:07:58 oh yeah, and they have to do something about the 64k method limit Jun 16 02:08:16 what is that? Jun 16 02:08:18 so, the fireside chat will be interesting Jun 16 02:08:28 because, i'm sure people will keep bringing this up Jun 16 02:12:16 AS / gradle are all good and all, but they need better tooling for monitoring the vm and memory analysis, the eclipse monitor / heap analyzer is a disgrace, etc Jun 16 02:12:31 they need new leadership in the tools dept basically Jun 16 02:12:40 not sure how else to put it :) Jun 16 02:12:47 i see Jun 16 02:13:01 i just switched to AS. i'm liking it so far Jun 16 02:13:13 but i'm a nub, so i don't profile my code yet Jun 16 02:13:27 bbiam Jun 16 02:13:33 right now i'm trying to create My First View (TM) Jun 16 02:13:35 k Jun 16 02:25:44 it's odd how I find myself disagreeing with just about everything g00s ever says... Jun 16 02:27:52 speaking of tooling, that new navigation flow editor is pretty slick looking Jun 16 02:28:04 too bad it's only available in android studio Jun 16 02:28:56 It's nice, but doesn't work well with fragments. :( Jun 16 02:29:36 http://pastebin.com/txGHGHpZ im getting a null pointer exception at log.v it display a few of the columns data and then does the nullpointerexception Jun 16 02:29:39 any ideas? Jun 16 02:31:02 pfn: care to share the screen ? Jun 16 02:32:33 gordon_, it's on the + android developers page, I think Jun 16 02:33:13 http://tools.android.com/navigation-editor Jun 16 02:34:15 and for that matter java only, but that's understandable Jun 16 02:34:44 jaspertheghost, Easy, check for null properly Jun 16 02:37:07 yea looks like mysql is stroring blank and its returning null … so i need to check for null and set blank in java **** ENDING LOGGING AT Mon Jun 16 02:59:59 2014