**** BEGIN LOGGING AT Tue Oct 08 02:59:59 2013 Oct 08 03:08:24 Guys, when establishing a SSL connection in Android app, can I avoid "Accept Server Cerificate?" window. I want an exception to be thrown if server certificate can't be validated. Oct 08 03:10:00 anything Interesting? Oct 08 03:14:31 anyone know of.good rest json Webservices that i can use? i wnt to be able to edit and retrieve, not just retrieve? Oct 08 03:14:51 im building a portfolio an json rest is a requirement Oct 08 03:35:09 Does anyone know why my google play in app billings show product title but not description on the purchase screen? Oct 08 03:35:54 It's on a test build. Shows price, card, name in a box with a buy button but it never shows the descriptions of my iaps. Oct 08 03:41:35 Hey guys, I'm trying to fix this really annoying issue I'm having with saving a fragment's state. My fragment has several EditText views; I am launching a Camera intent with startActivityForResult, and once I have returned from the Camera none of the state of my fragment is restored Oct 08 03:42:13 I've overridden onSaveInstanceState, and the Bundle arg to onCreate, onCreateView, and onActivityCreated is always null Oct 08 03:44:21 use instance variables Oct 08 03:46:05 let me check teh docos, a lot of the methods you're using don't get called the way they do with an activity Oct 08 03:47:32 onStart? i think that's the one you're after Oct 08 03:47:51 hello , i m trying to take webcam shot by Camera cam=Camera.open(); cam.takePicture but i got errors like ; Error: The event is not ready in the current state. ERROR/libcamera(298): receivePictureDone: unnecessary callback was received. Oct 08 03:48:16 camera.takePicture(null, null, new Camera.PictureCallback() { Oct 08 03:48:19 i do it like this Oct 08 03:49:24 bankai_, onStart has no state Bundle argument? And I do have instance variables Oct 08 03:50:09 From what I've read, the bundle in onSaveInstanceState is intended to be passed to onCreate/View, onActivityCreated Oct 08 03:58:11 no one know the solution ??? Oct 08 04:03:54 receivePictureDone: unnecessary callback was received. Oct 08 04:07:11 Hey guys, I'm performing a fragment replace in my app when a navigation drawer item is pressed but the the closing animation of the drawer is stuttering and lagging a bit due to what I assume is concurrent loading and animating. How can I make the animation smooth> Oct 08 04:07:12 ? Oct 08 04:07:42 Should I setup a separate thread to perform the animation or loading? Oct 08 04:07:51 on a delay I guess? Oct 08 04:23:54 hi Oct 08 04:24:42 i receice file pdf data from a json, i have a string og character in Base64 encodig, how can create a pdf from this data? Oct 08 04:28:31 http://developer.android.com/reference/android/util/Base64.html Oct 08 04:29:03 bankai_, I know onSaveInstanceState is being called, followed by onActivityCreated when I return from the Camera activity :/ Oct 08 04:31:35 I missed any suggestions if they were made. Oct 08 04:32:18 More research shows that you're supposed to load UI after the drawer is closed. So how do I time that loading properly? Is this a good place for a new thread to wait for the state of the drawer to change to STATE_IDLE? Oct 08 04:37:27 My internet connection keeps cutting, did anyone give a suggestion? Oct 08 04:38:09 they haven't Oct 08 04:39:29 I am calling "this.getListView().setSelection()" inside onLoadFinished() and getting an illegal state exception because "content view is not created". Shouldn't the content view be already created if I am calling initLoader() inside onActivityCreated? Oct 08 04:58:15 fucking hell. bankai_, I fixed it :| I was making a new fragment in my activity's onStart Oct 08 05:32:00 I want to give the apk to an acquaintance to test, do I need to worry about signing it at this point? Oct 08 05:32:09 sulaiman, should be Oct 08 05:36:29 instead of init loader i just use restartloader and then have a constructor where i do initialize, this is called after onCreateView Oct 08 05:38:37 zmuser3: is your friend technologically challenged? Oct 08 05:38:53 zmuser3 yeah Oct 08 05:39:04 unless you are directly deploying it via usb Oct 08 05:39:11 not sure, I don't know him very well, just see him at the gym all the time and I was talking about my app and he said he would be a beta tester Oct 08 05:39:26 if you don't know him, you should probably sign it Oct 08 05:39:33 and run proguard Oct 08 05:39:38 ok Oct 08 05:39:58 don't you have to sign it/ key in order to make it self contained, even if it not uploading to the store for it to deploy on a device just from apk? Oct 08 05:41:09 lasserix: Android devices don't allow unsigned ape files to be installed Oct 08 05:41:20 the default is signing it with the debug keysotre Oct 08 05:41:23 ahh right Oct 08 05:41:33 oh cool Oct 08 05:41:34 but if you don't know the guy testing, you should run proguard Oct 08 05:41:35 thanks Oct 08 05:41:37 ok Oct 08 05:41:39 therefor, sign it Oct 08 05:42:24 with a short expiration? Oct 08 05:42:35 no need Oct 08 05:42:39 ok Oct 08 05:50:02 hey, i've added a beta apk to my app, created a google+ community and added myself. how do get the APP from the play store? Oct 08 05:50:49 did you add the google+ group to the beta testing community? Oct 08 05:51:41 thepoosh: yes Oct 08 05:51:59 in play, where am i supposed to see that i can download the app? Oct 08 05:56:20 there is a link in the playstore Oct 08 05:56:33 under the alpha/beta tabs Oct 08 05:57:41 trying to boot a custom build and it stops booting...any help would be appreciated Oct 08 05:58:45 storm_razor: 1. is it connected to monitor? Oct 08 05:58:49 2. go to XDA Oct 08 06:00:10 is there a way to push out an update for my app, but have it excluded from users' Play auto-updates? Oct 08 06:00:15 thepoosh: I dont see that tab, not on the play app or the play website... Oct 08 06:00:44 thepoosh. no its a tablet Oct 08 06:00:56 g00s: if you give it the same versionName it shouldn't trigger an update notification Oct 08 06:01:02 storm_razor: so? Oct 08 06:01:18 no its not connected to a monitor Oct 08 06:01:26 viran: try play.google.com/apps/publish Oct 08 06:01:29 thepoosh ok, interesting - but then nobody would get updates at all, right ? :P Oct 08 06:01:39 it just hangs on loading bot sector Oct 08 06:01:55 boot* Oct 08 06:02:14 g00s: from what I understood, they take a hash of the versionName and trigger an update notification if it's different than what the user has Oct 08 06:02:38 storm_razor: as I said, this is a question for XDA, and you should see the log cat for the boot in monitor Oct 08 06:03:34 g00s: add or remove a permission Oct 08 06:04:10 JakeWharton ok, thanks Oct 08 06:04:15 JakeWharton: he want's to disable the notification I think Oct 08 06:04:20 g00s: am I right? Oct 08 06:04:22 thepoosh: found it, thanks Oct 08 06:04:28 vipleasure Oct 08 06:04:39 thepoosh. but it's a livecd, how do i check the log? Oct 08 06:04:52 thepoosh i want to disable the auto-update, but still allow people to update manually Oct 08 06:05:03 why? that is archaic Oct 08 06:05:31 what is? Oct 08 06:05:37 storm_razor: not following you Oct 08 06:05:39 i know. its a beta, but i switched from sqlite to mvstore - migrating the data is going to be a huge pain. Oct 08 06:05:47 JakeWharton: do you have some XP in SmsManager? Oct 08 06:05:56 oh Oct 08 06:05:57 :S Oct 08 06:06:02 g00s: use staged rollouts or something then Oct 08 06:06:52 basically, the database engine, the data model, and the data representation all changed (floating to fixed point) ugh Oct 08 06:07:08 i'm going to screw this up (migration) Oct 08 06:07:31 migration is a bitch Oct 08 06:07:41 if you know you're going to screw it up then just push it to everyone and have them all corrupt they're data Oct 08 06:07:41 we just changed out entire login system Oct 08 06:07:52 *their Oct 08 06:14:55 JakeWharton: ? Oct 08 06:15:16 he knows he's going to screw it up. so push to 100% and get it over with. Oct 08 06:15:25 no, no Oct 08 06:15:27 not that Oct 08 06:15:35 [09:05] JakeWharton: do you have some XP in SmsManager? Oct 08 06:15:45 last time I used SmsManager was 5 years ago Oct 08 06:15:55 hmmm Oct 08 06:16:07 it acted quite weirdly on me the other day Oct 08 06:16:43 the source code of android tells me the limit of messages going out is either 30 a min or 100 an hour Oct 08 06:16:51 but only batches of about 16 went out Oct 08 06:16:53 well, i giess if i attempt it, and it goes wrong, the user could 'clear data' and start fresh Oct 08 06:16:57 and I don't know why Oct 08 06:17:04 and how to prevent this from happening Oct 08 06:17:20 dunno. but i fought that same battle 5 years ago. never won Oct 08 06:17:33 shit Oct 08 06:18:02 I think it's because of the pool size limit for the Parcel that actually does the SMS sending Oct 08 06:18:10 there's a pool size limit of 6 Oct 08 06:18:12 I think Oct 08 06:19:26 does this sound like it can be true? Oct 08 06:20:43 i haven't a clue. all of that was purged from my brain Oct 08 06:20:54 you'll have to dig in AOSP Oct 08 06:22:35 no no no Oct 08 06:22:37 fuck it Oct 08 06:22:42 we did a test inhouse Oct 08 06:22:50 we saw that the real limit is about 16 Oct 08 06:23:00 and have a test group of 100 numbers Oct 08 06:23:08 so, we'll find a good way of doing this Oct 08 06:23:12 and settle with that Oct 08 06:23:34 it's just that this part is very poorly documented, and there's nothing out there Oct 08 06:23:44 dealing with more that one message going out Oct 08 06:25:00 nope. plus an OEM with their stupid ROMs could screw you Oct 08 06:25:37 yeah, LG did that Oct 08 06:26:12 java.lang.NullPointerException Oct 08 06:26:12 at com.lge.mdm.uimanager.adapter.LGMDMUIMessageAdapter.isAllowSendMessage(LGMDMUIMessageAdapter.java:50) Oct 08 06:26:12 at com.lge.mdm.MDMInterfaceImpl.isAllowSendMessage(MDMInterfaceImpl.java:108) Oct 08 06:26:12 at android.telephony.SmsManager.sendMultipartTextMessage(SmsManager.java:333) Oct 08 06:26:35 that was very annoying Oct 08 06:30:09 wohoo im in Oct 08 06:30:11 hey guys. Oct 08 06:30:24 hi Oct 08 06:31:01 I need assistance in understanding why this application will not show http://ideone.com/2cnTUs Oct 08 06:32:13 nubish: why not use DialogFragment? Oct 08 06:33:47 nubish: what system is running this? Oct 08 06:33:52 what API level Oct 08 06:35:24 Apologies, was taking a pee. Oct 08 06:35:34 the minimum API level is set at 11 Oct 08 06:35:39 heh Oct 08 06:35:39 Honeycomb Oct 08 06:37:14 [09:32] nubish: why not use DialogFragment? Oct 08 06:37:26 thepoosh im learning this from a book, Ill take a look at DialogFragment in a bit thanks for that. Oct 08 06:37:39 Im learning about popup menus Oct 08 06:38:10 nubish: is there a warning or error in your logcat? Oct 08 06:38:10 this example though is an example I found online for Popup Menus Oct 08 06:38:16 let me check Oct 08 06:39:16 Sorry about this actually, the instance of the application code I gave is to give an error because of return true; statements in each case. Oct 08 06:39:25 I initially had it at break; after each case Oct 08 06:39:54 And when it contains a break statement, it shows nothing on the emulator. Oct 08 06:40:18 I think it might have something to do with popupMenu.show(); Oct 08 06:40:36 it should be break Oct 08 06:41:54 im debugging now Oct 08 06:45:44 Anyone know why the ADB constantly need Oct 08 06:46:06 S restarting when plugging in devices? Oct 08 06:46:40 I think mine doesn't need to restart Oct 08 06:46:45 hello guys I am having a problem signing my application with adnroid studio Oct 08 06:46:46 it doesnt need restarting Oct 08 06:47:04 how do I call someones attention in chat with red highlight? Oct 08 06:47:15 it says http://screencloud.net/v/7X5F Oct 08 06:47:15 write his nick Oct 08 06:47:22 thepoosh Oct 08 06:47:25 lol Oct 08 06:47:36 thanks for that Oct 08 06:47:37 K. Problems obvs with my install. Oct 08 06:47:45 anyway, now that I got your attention, I debugged and it gave me no errors Oct 08 06:47:56 Logcat shows nothing Oct 08 06:48:11 its just not showing Oct 08 06:48:41 anyone having the same problem Oct 08 06:48:49 0.2.11 version of AS Oct 08 06:49:06 Now I didnt implement OnClickListener or OnItemClickListener in my Activity. Oct 08 06:49:08 tagrudev: I've seen other people mention it... Oct 08 06:49:22 perhaps I need to implement that alongside onClick handler? Oct 08 06:49:28 so now I can't sign and release Oct 08 06:49:30 Thats what the example says anyway. Let me try. Oct 08 06:49:30 cool story Oct 08 06:49:39 cool story tagrudev Oct 08 06:49:47 Leeds, any solutions ? Oct 08 06:50:11 nubish: what is findViewById(R.id.anchor)? Oct 08 06:50:19 tagrudev: don't rely on unreleased build tools? Oct 08 06:50:42 tagrudev it should work from the command line, right? Oct 08 06:50:53 Leeds, cool solution bruh Oct 08 06:50:55 its your face thats what! Oct 08 06:50:59 I kid, its a TextView Oct 08 06:51:11 The View that my popup menu is anchored to Oct 08 06:51:12 tagrudev: you're welcome Oct 08 06:51:27 is it visible? Oct 08 06:51:28 is there a difference between a bruh and a brah ? Oct 08 06:51:34 ...not sure... Oct 08 06:51:42 shit I forgot how to make things visible now Oct 08 06:51:47 g00s, can you give me more info for the command line signing using gradle ? Oct 08 06:51:52 g00s: :P Oct 08 06:52:13 g00s: my immediate feeling would be that a brah is used to hold lady bits in comfort Oct 08 06:52:20 tagrudev its all in the gradle docs ;) Oct 08 06:52:46 tagrudev which of course you read completely, so that you would know what to do when preview/beta tools explode :D Oct 08 06:52:58 of course Oct 08 06:53:04 excellent Oct 08 06:53:05 I love reading 200 pages of docs Oct 08 06:53:33 I used setContentView for my inflation in the Activity, I wouldnt need to inflate it into the popupmenu again would I? Oct 08 06:53:37 tagrudev maybe try one of those plugins that help you read faster by coloring alternating lines Oct 08 06:53:41 seeing how the Activity is my popup menu? Oct 08 06:54:17 is today some kind of "I am trying to be funny" day Oct 08 06:54:37 http://www.theverge.com/2013/10/6/4809480/chrome-extension-uses-colored-text-to-speed-up-online-reading Oct 08 06:54:54 it should feel like 180 pages maybe Oct 08 06:55:01 thats a bargain :) Oct 08 06:55:41 you're not helping :) Oct 08 06:56:18 That's rather clever. Oct 08 06:57:11 g00s, Leeds: any of you have XP with SmsManager? Oct 08 06:57:20 Windows XP ? Oct 08 06:57:23 thepoosh: none whatsoever, never touched it Oct 08 06:57:29 g00s: cross-platform Oct 08 06:57:31 expirience Oct 08 06:57:39 g00s: you're a gaming noob? Oct 08 06:57:51 i dont do gaming at all :) Oct 08 06:58:12 * thepoosh feels bad for g00s who doesn't know how to have fun Oct 08 06:58:17 well, except IRC Oct 08 06:58:27 IRC-gaming? Oct 08 06:58:33 :) Oct 08 06:58:33 does it still exist?! Oct 08 06:58:41 he sees this as a game Oct 08 06:58:43 yes, android-dev Oct 08 06:58:56 lolz Oct 08 06:59:07 g00s: you should give mine craft a chance Oct 08 06:59:13 it's worth it Oct 08 06:59:16 *minecraft Oct 08 06:59:20 the game of whining about everything android and how apple is better Oct 08 06:59:31 i hear that SC makes you smarter, i should try that Oct 08 06:59:40 SC? Oct 08 06:59:44 starcraft Oct 08 06:59:46 oh Oct 08 06:59:48 yes Oct 08 07:00:11 computer games in general are proven to help prevent brain deterioration over the years Oct 08 07:00:23 http://techcrunch.com/2013/09/19/playing-starcraft-2-might-make-you-smarter/ :) Oct 08 07:00:24 and FPS helps hand-eye coordination Oct 08 07:00:44 I still play Tribes 1 online Oct 08 07:01:55 tribes 1? Oct 08 07:01:57 wow Oct 08 07:02:09 I understand Vengeance, but 1? Oct 08 07:02:16 nothing beats 1 Oct 08 07:02:40 I still play Mechwarrior 4 Oct 08 07:02:43 thats about it Oct 08 07:02:49 old school that is Oct 08 07:04:09 shmoooz: I still remember playing Travian Oct 08 07:04:16 I was in the top 100 in my server Oct 08 07:04:20 back in the day Oct 08 07:04:25 wrote some tutorials Oct 08 07:04:30 tagrudev i didn't see anyone else on adt-dev with the signing problem. were you the one earlier today that mentioned it ? Oct 08 07:05:17 https://code.google.com/p/android/issues/detail?id=60762 Oct 08 07:05:23 g00s: Annihlator mentioned it last night Oct 08 07:06:33 " With the latest version of Android Studio (0.2.11) the menu entry Build/Generate Signed Apk no longer works. " Oct 08 07:06:52 It needs a signing script with gradle. Oct 08 07:07:21 dunno how to link to a g+ post but that seems close. so build from cmd line Oct 08 07:08:15 I am I can't manage to make it sign the release Oct 08 07:08:45 g00s: assuming you mean on the web, the time underneath the posters name is a permalink Oct 08 07:09:31 Leeds thanks Oct 08 07:09:35 tagrudev https://plus.google.com/114432517923423045208/posts/QtK3YczHkYD Oct 08 07:09:50 however i do not see it here http://tools.android.com/knownissues Oct 08 07:10:11 funny, their known issue for 0.2.11 is wrong; i had that problem with 1.8 Oct 08 07:10:17 I have a keystore Oct 08 07:11:24 maybe your signingConfig is messed up Oct 08 07:11:31 get it working from the command line first Oct 08 07:11:51 docs have plenty of example on how to write a signingConfig Oct 08 07:12:44 though someone already had handled this problem that's why I asked Oct 08 07:12:50 yeah I am reading the docs now Oct 08 07:14:17 and I done it Oct 08 07:14:19 dammit... first arubin, then romainguy, now AS... Android is dying Oct 08 07:14:38 now AS ? Oct 08 07:14:39 not thanks to your help though Oct 08 07:14:52 thanks for the humor Oct 08 07:15:02 tagrudev shmoooz my ass :) Oct 08 07:15:23 twit Oct 08 07:15:47 people seem to misunderstand the nature of a preview release Oct 08 07:16:06 "Several features are either incomplete or not yet implemented and you may encounter bugs." Oct 08 07:16:37 Leeds even their channels should indicate whats up; all we have now is canary, like dog food. their isn't even a dev build yet Oct 08 07:17:29 maybe they should have only had a link from the tools preview pags Oct 08 07:17:42 *page Oct 08 07:17:43 yeah, I think they're probably promoting it too much for a WIP Oct 08 07:18:02 ah well, more chance to troll Oct 08 07:22:00 "In my experience, the size of signed apk generated from AS is always bigger than using eclipse export wizard, but I'm using the same code and the same library." , huh now thats weird Oct 08 07:22:12 i might have to experiment Oct 08 07:28:47 hi Oct 08 07:30:42 heyas, I was wondering.. are there any good tutorials for making an app with the 0.2x versions of android studio? Oct 08 07:30:51 seeing as google's own tutorial is still based off the eclipse+sdk combo lol Oct 08 07:31:07 and it looks like friggin 0.2x uses intellij now Oct 08 07:32:27 is there a mechanizm for activating applications ? Oct 08 07:33:05 ie, suppose I give the program for free, but I want to provide the user an activating code that they need to write on the first time using the application Oct 08 07:33:37 (the application will be coupled with hardware) Oct 08 07:33:39 OoTLink the tut is based on eclipse, because thats what google says to use for production apps. AS is for the adventurous Oct 08 07:34:59 that's a bit of a shame lol Oct 08 07:35:17 I coulda swore I used something that looked a lot more like a bastardized version of eclipse over the summer Oct 08 07:35:27 only, you didn't have to go through the mess of getting the sdk working Oct 08 07:35:28 it just worked Oct 08 07:35:37 maybe the eclipse ADT bundle ? Oct 08 07:35:51 ohok Oct 08 07:36:02 you know what, probably so. Oct 08 07:36:19 ty for clearing that up :D *Gives a cookie* Oct 08 07:36:47 * g00s gladly takes cookie :) Oct 08 07:39:11 Hmmm anyone know a good irc client for Android? AndChat drops me every time the phone sleeps... Oct 08 07:39:37 Desarun you can try pfn's qicr ; although i haven't used it Oct 08 07:40:31 wait … would you expect to be dropped when the phone sleeps ? maybe it should autoconnect Oct 08 07:40:38 also, cellular or wifi ? Oct 08 07:41:10 theoretically the socket will remain open on wifi; although the carrier probably nukes it after about 20 minutes Oct 08 07:42:06 so you really should have a bouncer or something like quassel Oct 08 07:42:21 Cellular. Though the connection drops in areas likey apartment, which had fantastic signal. And terrible plumbing Oct 08 07:42:36 my mistake, socket stays open on sleep for cellular Oct 08 07:52:36 the device admin is almost useless ;( Oct 08 07:52:45 how can i restrict deinstallation of enabled apps? Oct 08 07:54:22 impossible Oct 08 07:56:01 What do people here use for crash reporting in their apps? Contemplating test flight... Oct 08 07:56:50 Desarun crashlytics looks nice Oct 08 07:58:47 Looks interesting... Some big names attached to it too. Oct 08 08:34:37 nsdmanager is a freaking mess Oct 08 08:49:29 Zharf when i saw 'ns' i thought iOS class :P Oct 08 08:52:50 g00s, :p Oct 08 09:12:07 nsdmanager started to throw npes on me, so I restarted the phone... now it's not recognizing the USB connection -.- Oct 08 10:48:09 Hello everyone. Oct 08 10:53:07 I'm still wrestling with Android Studio 0.2.11 with the issue that i can no longer make signed APK's, i tried to define signing configs in my build.gradle files, but i still get an error that "the signing configuration should be specified in the Gradle build scripts." I was wondering if someone maybe had a WORKING example of the build.gradle. I have also uploaded my own current build.gradle to pastebin; Oct 08 10:53:21 http://pastebin.com/rJRc7hyg Would appreciate if anyone can get me out of this loop :) Oct 08 10:57:24 is it possible to use standard android widgets to get a tab widget / tab host that behaves like the "top free / top grossing / etc" tab bar in google play? I.e. one that fits as many tabs as possible and lets you scroll. Oct 08 10:57:30 I realize google play probably uses NAVIGATION_MODE_TABS for this, but I can't do that since I'm already using NAVIGATION_MODE_LIST and need to keep that Oct 08 10:57:38 I've looked at PagerTabStrip but it seems it only ever shows three tabs at the same time. And TabWidget insists on cramming them all in Oct 08 10:57:41 the guide here https://developer.android.com/design/building-blocks/tabs.html talks about "Scrollable tabs" but it doesn't refer to which API component would be used Oct 08 10:59:02 there is no standard widget for that in the default API Oct 08 11:00:38 ok. Do you think it would be possible to put a TabWidget inside a HorizontalScrollView? Oct 08 11:12:35 hi Oct 08 11:20:27 how can i remove shadow below ActionBar, i have a SplashActivity fullscreen and i don't want actionbar Oct 08 11:29:14 How can I decrease the space between actionbar title and the action items? I want to increase the ammount of items appearing... Oct 08 11:39:33 Hello guys, I want to show a listview by starting a progress wheel in the middle of the screen. What's the best method to do that? First thing that comes into my mind is replace listview with a textview and than put the progress wheel in it. When downloaded items are available than replace the textview with listview. Oct 08 11:41:25 Number5: what was the second thing that came to mind? Oct 08 11:46:22 Or use an AsyncTask, they have standard methods for displaying progress/a spinner while executing :) Oct 08 11:47:06 Anyone in here who has a WORKING AndroidStudio (0.2.11) / Gradle setup concerning building signed APK's? Oct 08 12:05:34 How can I reduce the gap between actionbar title and the action items? I want to increase the amount of items showing... Oct 08 12:43:46 And hi again Oct 08 12:45:46 I was wondering about another thing google can't seem to aid me in. Since i've started developing on the Galaxy S4 more and more 'pointless' or wrongly prioritized logs are coming in. Mainly by the tag " MP-decision" that always reports on ERROR level when it changes multiprocessor values (makes no sense to have on ERROR level) and the same goed for the LocSvc manager. Oct 08 12:46:45 It's slowing any process of debugging especially with the permission issues i'm fighting since i can't see the LogCat for longer then a minute before the message is cleared right out of the buffer *sigh* Oct 08 12:48:45 I'm already stretching out the buffer as a patchwork workaround, but it seems simply strange that there's even so many logcat outputs made. (especially when you start using locationchangelisteners) Oct 08 12:54:59 is there any tool to build the interface graphically and it will give me the code? something like qt-creator for qt Oct 08 12:55:47 yes, the layout designer Oct 08 12:55:56 just open a xml file in the android studio Oct 08 13:05:45 so, weird question Oct 08 13:06:19 I'm trying to send different intents to the same BroadcastReceiver but always getting the same Intent Oct 08 13:06:23 why is this happening Oct 08 13:11:55 can i use qt to develop for android? is it good? Oct 08 13:13:16 qt? Oct 08 13:13:22 no clue about the state of that project, but it's probably not good Oct 08 13:13:43 I have a time picker, i want to increment/decrement the current day when the user scroll goes after/before midnight. so i need to keep track of the scrolling, any idea how can i do that? Oct 08 13:16:06 frankly I think qt on android is madness Oct 08 13:16:20 can i use c++ with the android SDK then? Oct 08 13:17:09 hi Oct 08 13:17:09 with NDK, yes, but you probably shouldn't ;) Oct 08 13:18:59 oh gawd i hate java, but it seems i have no option Oct 08 13:20:10 I'm having appcompat.ActionBar issues again :( Oct 08 13:20:32 does anybody know why the background is not rendering properly when I'm in gingerbread? Oct 08 13:21:10 I've cleaned the build a couple of times already Oct 08 13:22:16 J_Caselles: I had some problems with that too. I had to call requestLayout() and that seemed to clear it up Oct 08 13:23:02 jaynewstrom: Thanks. where exactly? Oct 08 13:23:12 luist, if you want to write apps that look and feel like android apps, no... you don't really have much options Oct 08 13:23:20 after you are done setting up the actionbar Oct 08 13:23:22 s/much/many/ Oct 08 13:23:30 let's see Oct 08 13:23:52 are you using a custom layout? Oct 08 13:24:09 getSupportActionBar().getCustomView().requestLayout() Oct 08 13:27:17 jaynewstrom: no, I'm not using custom layout, and I don't set up the actionbar, just extend ActionBarActivity. getSupportActionBar seems likely, let me try Oct 08 13:27:52 if you aren't using a customView it probably isn't going to work. Oct 08 13:32:07 jaynewstrom: no, I'm using the default actionBar Oct 08 13:33:05 I've always used a custom view. So I'm not familiar with the api to do it without a custom view. Sorry Oct 08 13:33:58 jaynewstrom: thanks anyway Oct 08 13:55:42 jaynewstrom: Definitely fixed Oct 08 13:55:51 What did you do? Oct 08 13:56:09 Build-tools 18.* was the problem Oct 08 13:56:22 unistalled it, installed version 17 and problem solved Oct 08 13:56:26 interesting. are you using AndroidStudio? Oct 08 13:56:46 no, command line Oct 08 13:56:54 ant Oct 08 13:56:58 interesting Oct 08 13:58:04 yes... I should file a bug Oct 08 13:58:50 last time I don't know why I did the same, but then I reinstalled version 18 and the bug didn't reproduce, and I thought it had to be something else... Oct 08 14:05:29 so if i want to make an app, that when run, would clear all cache and wipe data for all apps in the phone would it be kinda simple to do? basically it would do the same thing as if i went to manage applications, clicked apps one by one and clicked those 2 buttons Oct 08 14:06:19 jdag-frontoffice: why would you want to clear the data of apps that aren't yours? Either way it has been done since 2009. Oct 08 14:06:44 jdag-frontoffice are they bothering you ? Oct 08 14:07:32 i work in a store and i would want an app i can just run once and it wipes everything except the gmail account the phone activated with Oct 08 14:08:18 easier to do a factory reset, unless the device is rooted you're not gonna be clearing the data of other peoples apps Oct 08 14:08:34 factory reset is faster i guess. Oct 08 14:08:37 and more secure. Oct 08 14:08:39 i just want to know if it'd be simple to make, i've never made an app or anything but i used to be very proficient with php. but i havent coded a single line of code in about 7-8 years, but it's like riding a bike Oct 08 14:09:06 i don't want to factory reset because i'm required to keep them activated with a particular gmail account Oct 08 14:09:20 setting up the enviroment takes much longer time than factory resetting 1000 devices Oct 08 14:09:38 you can likely clear the cache of all apps, NOT the data. Oct 08 14:10:06 there is a diff between the cache and the jdag-frontoffice Oct 08 14:10:09 which one did u mean ? Oct 08 14:10:20 nseidm1: so i wouldn't be able to artifically push that button "clear data" Oct 08 14:10:22 cache and app data are different Oct 08 14:10:32 jdag-frontoffice: no Oct 08 14:10:38 hmm Oct 08 14:11:31 jdag-frontoffice: You may be able to get something similar using this api: http://developer.android.com/guide/topics/admin/device-admin.html Oct 08 14:11:40 I've never used it myself though, I'm just guessing Oct 08 14:12:01 i still think that an app can be written that can do what you ask. Oct 08 14:12:05 too much overhead tho... Oct 08 14:12:23 interesting, 2 of my 3 lines are up for upgrade on vzw Oct 08 14:12:24 How can I reduce the gap between actionbar title and the action items? I want to increase the amount of items showing... Oct 08 14:12:25 wat do Oct 08 14:12:39 I guess there's still the unlimited data upgrade loophole I can take advantage of Oct 08 14:13:14 tonySoprano9099: there is one called "clear handset" created by someone else in another store but it crashes and stuff and it asks you what you want to clear, i just wanted to open the app and have it clear when i run it Oct 08 14:13:38 well... there isnt something out of the box as far as I know.. Oct 08 14:13:45 i understand Oct 08 14:13:54 thanks for the help, i'll think about it Oct 08 14:14:00 and such things I assume tend to be buggy if written for general use, because each company has its modified version of android os Oct 08 14:14:00 when is the right time to set the list view selection when using a cursor loader? I tried setting it inside onLoadFinished(), but it gives an illegalstateexception, saying the content view is not yet created. Oct 08 14:14:18 pfn: gotta go full retail Oct 08 14:14:32 nseidm1, no, there's a loophole on family plans Oct 08 14:14:41 nseidm1, transfer the upgrade credit to a line that doesn't have data Oct 08 14:14:45 then use that line to upgrade Oct 08 14:14:52 My last 5 phones have been full retail unfortunately Oct 08 14:14:54 remove data on the 3rd line Oct 08 14:15:01 then activate the phone on your actual line Oct 08 14:15:21 hmmm Oct 08 14:15:23 we'll Oct 08 14:15:46 add a line, 199 for the device, and just use the phone on your number Oct 08 14:15:49 I guess that would work Oct 08 14:16:44 tonySoprano9099: yeah the app the other person wrote crashes on 95% of our devices, thats why i was thinking something with no UI and only used the basic android system to clear might not crash Oct 08 14:16:52 I don't add a line, though Oct 08 14:16:55 I have 3 :p Oct 08 14:16:57 hi, I am new to android and I was adapting this tutorial: https://github.com/spacecowboy/AndroidTutorialContentProvider in order to use a loader/contentprovider/sqlite. The problem is that when I try the app, it doesn't show any data. Could you suggest me some good tutorials where I can learn more and (hopefully) find the problem? Thanks Oct 08 14:16:58 oh, I don't think they'll let you remove data on a line with an android phone Oct 08 14:17:01 one for me, one for my wife, and one for my wife Oct 08 14:17:11 nseidm1, that's fine, you swap the 3rd line back to a feature phone Oct 08 14:17:13 er Oct 08 14:17:14 one for my mom Oct 08 14:17:19 she's on the featurephone Oct 08 14:17:24 so I just swap it back to the featurephone Oct 08 14:17:26 jdag-frontoffice i highly doubt you will find something similar.. Oct 08 14:17:34 concatmap: Have you looked at the notepad sample? Oct 08 14:17:38 do you also need to clear the contacts ? Oct 08 14:17:42 sabton, well the second thaught was, there must be a better method. Oct 08 14:18:02 jdag-frontoffice: you need a rooted device to clear app data, period. Oct 08 14:18:06 yeah, contacts/texts/call history/emails/gallery Oct 08 14:18:10 are the core things Oct 08 14:18:28 mmarklar: not yet. Is it useful? When I looked at that before it seemed to me a bit huge (I'm still a beginner) Oct 08 14:18:54 jdag-frontoffice i highly doubt there is a perfect android app that can do that on all devices by one click.. Oct 08 14:19:10 tonySoprano9099: alright thanks. :) Oct 08 14:19:23 concatmap: Yeah it is intimidating but its pretty thorough and you will find a lot of resources out there about it. Let me just check that it has those three things... Oct 08 14:19:44 Thanks I will Oct 08 14:20:27 At the moment the resources I'm using is the commonsware book (the chat as well) and StackOverflow Oct 08 14:20:38 concatmap: It actually only covers the SQLite part so you'll have to go elsewhere for the loader/content provider Oct 08 14:20:50 I'd recommend learning the SQLite first, then the content provider, then the loader Oct 08 14:21:18 concatmap i dont want to sound negative, but commonsware book is way advanced for a beginner. Oct 08 14:21:33 I would check out this link too: http://developer.android.com/training/index.html Oct 08 14:21:45 mmarklar perfect link. nice place to start... Oct 08 14:22:04 commonsware book (awesome one) can be read after you know some basics, and how behind scenes work.. Oct 08 14:22:34 I've looked at the training a bit :) Oct 08 14:22:47 cool Oct 08 14:22:57 if you're familiar with Java you can also look at the android source code Oct 08 14:23:01 brb will get coffee. Oct 08 14:23:07 but that can be very intimidating :) Oct 08 14:23:10 mmarklar not sure if that helps tho... Oct 08 14:23:17 yeah probably not a beginner Oct 08 14:23:27 looking at the android code def is not a beginner stuff.. Oct 08 14:23:30 I like commonsware 's book because it covers everything. My problem is that I just dive into my app without knowing how everything works, so sometimes I need to stop and google/reading quite a lot Oct 08 14:23:54 concatmap it has always been like that... all devs operate that way... Oct 08 14:24:08 you weren't born a dev. you turn into a one by lots of reading. Oct 08 14:24:32 concatmap: I've been doing android for years now and I still spend 50% at least in the browser Oct 08 14:24:45 its to much to memorize Oct 08 14:25:03 mmarklar me too :) Oct 08 14:25:10 :) Oct 08 14:25:35 anyone know a good sample for creating 'search as you type' implementation? Oct 08 14:25:47 thanks guys. I'll look at the notepad app (even if it doesn't cover completely what I need I'm sure it will help me) Oct 08 14:25:57 np, have fun Oct 08 14:26:07 wlc :) Oct 08 14:26:23 brx_: Search what? Oct 08 14:26:37 mmarklar, im querying a remote db Oct 08 14:26:46 like a REST interface? Oct 08 14:26:50 i used edittext+async+textwatcher Oct 08 14:26:58 kind of ye Oct 08 14:27:03 its actually a parse.com backend Oct 08 14:27:17 Check out the AutoCompleteTextView Oct 08 14:27:38 use AutoCompleteTextView instead of editTextView Oct 08 14:27:53 You'll have to make the calls to your API, then use an adapter to show the results in the view Oct 08 14:28:08 i already have the listview jhhooked up,search results come through to the list fine Oct 08 14:28:15 thing is it will always query, forexample... Oct 08 14:28:22 if i type john..it will fetch results Oct 08 14:29:03 thats not what you want? Oct 08 14:29:09 well ye Oct 08 14:29:34 i cant exmplain, i need to ply around a bit more i think so i canarticulate my problema bit better Oct 08 14:29:54 ok, I would definitely check out the AutoCompleteTextView, it provides a lot of the stuff you are doing manually: http://developer.android.com/reference/android/widget/AutoCompleteTextView.html Oct 08 14:30:19 ok thanks mmarklar Oct 08 14:30:27 np Oct 08 14:30:33 ive actually used it in this same project but hadnt thought about using it here Oct 08 14:30:40 nice :) Oct 08 14:36:49 all all fragments in tab navigation recreated on orientation change, including the ones not currently selected? Oct 08 14:37:49 I have cursor loaders in one of the other fragments, which gives an illegal state exception, saying the content view is not created yet, but would it even be created since it's not the selected tab ? Oct 08 14:38:43 to fix this, I'm currently performing an if (this.getActivity().getActionBar().getSelectedNavigationIndex() == 0) then run the code. Oct 08 14:39:20 in the onLoadFinished() method Oct 08 14:39:59 I think what I should have asked is, does CursorLoader run for all fragments, even when their views will not be created? Oct 08 14:52:10 loaders run if you set them to run Oct 08 14:53:34 i'm setting them to run in the fragment's onActivityCreated() Oct 08 14:54:43 the problem is that, in my code, i'm setting a list view selection inside onLoadFinished() Oct 08 14:55:18 when the other tab is selected, and I change the orientation of the device, it tries to run that code and fails. Oct 08 14:57:50 the tab listener does detach the unselected fragments, but that doesn't prevent the code from running. Oct 08 15:06:03 detach != remove Oct 08 15:06:21 But, sounds like you just need to not update the ui if it isn't created Oct 08 15:07:33 Also, null out any references to the view in onDestroyView.. Oct 08 15:09:51 SimonVT, Is there a better way to check if the ui isn't created than checking the tab index value? Oct 08 15:10:12 getView would return null Oct 08 15:10:25 If you properly null out your view references in onDestroyView, those would be null as well Oct 08 15:12:23 thanks SimonVT Oct 08 15:35:55 is there a way to change the order of view in a linear layout programmaticly? Oct 08 15:36:20 Order your data before instantiating the view? Oct 08 15:37:28 the view is being create by the XML file, I want to switch direction of a 2 views in case it's an RTL language Oct 08 15:38:42 I'll just remove and add in the correct order Oct 08 15:43:18 where can i suggest an idea for an app ? Oct 08 15:43:46 where can i suggest an idea for an app ?? Oct 08 15:43:53 here Oct 08 15:44:02 oh Oct 08 15:46:47 hi, I am trying to debug here but without success so far, what makes a LocalBroadcastManager....sendBroadcast(intent) to fail ? Oct 08 15:46:56 sendBroadcast() is returning false Oct 08 15:53:32 cortexA9: suggest to who? Oct 08 15:54:22 I wonder if the next nexus phone will be available on vzw, I somehow doubt it :( Oct 08 15:54:59 I doubt it too Oct 08 15:55:14 they haven't even released 4.3 for the GN yet Oct 08 15:55:15 fuckers Oct 08 15:55:36 what's vzw ? verizon ? Oct 08 15:57:50 and I want 4.3 on my GN, damnit Oct 08 15:58:17 I'm waiting patiently for 4.3 on my One Oct 08 15:58:31 I hate installing arbitrary roms off of xda Oct 08 15:58:38 can't know what kinda chinese backdoor shit they installed Oct 08 15:58:56 as opposed to the more traditional US backdoor shit :) Oct 08 15:59:14 yeah, expecting updates and buying vzw kinda does not compute Oct 08 15:59:16 that is probably inside the radio ;) Oct 08 15:59:21 I'd rather have US backdoors than chinese backdoors Oct 08 15:59:38 and have the chinese use the US backdoors instead? Oct 08 15:59:57 Mind you, I think I'd go with chinese, less chance that the bugs in the backdoor will fuck up phone reception Oct 08 16:00:29 (made in USA coupled with MIC means "run for your life", not "quality") Oct 08 16:00:34 no wonder data service is so slow, if everything has to be sent several times to each spy service :P Oct 08 16:00:58 MIC? Oct 08 16:01:16 I'll quote a recent message on twitter: "So, NSA's pwnboxes run windows 2003. You guys know what to do." Oct 08 16:01:44 pfn: Military-Industrial Complex. A pet name for all the military (including espionage) industry in USA Oct 08 16:01:45 Yeah, the guys who spy the human citizen of the word, they're in the same team, don't be delusional about that! Oct 08 16:01:50 I see Oct 08 16:02:17 bonus points for anyone who can name the president that coined the term "military industrial complex" Oct 08 16:02:27 Eisenhover Oct 08 16:02:32 I'd guess Ike Oct 08 16:02:44 ding ding ding Oct 08 16:02:50 you get 3 Android points. Oct 08 16:02:56 s/v/w/ Oct 08 16:02:58 personally, I find the biggest error of NSA's backdoor approach being that the same backdoors are tomorrow's infosec paper, and day after tommorrow's *everyone's* backdoor Oct 08 16:03:31 they should have used an out of band channel. Oct 08 16:03:32 what is their backdoor approach ? I'm not familiar ... Oct 08 16:04:12 Insert in every device a quantum data teleportation device :-) Oct 08 16:10:26 I'm still pretty new to dagger. But I was wondering what the difference is between using straight DI and a Provider? Oct 08 16:10:47 what's a "Provider"? Oct 08 16:11:39 javax.inject.Provider Oct 08 16:11:49 javax.husband Oct 08 16:14:06 JakeWharton: javax.inject.Provider Oct 08 16:14:55 one that provides ;) Oct 08 16:15:42 Well yeah, but straight DI does that too. At least the way I understand dagger Oct 08 16:15:59 javax.inject is JSR 330 and Dagger uses JSR 330's annotations Oct 08 16:17:48 you can't just use javax.inject without an injector implementation Oct 08 16:17:59 Dagger is one such implementation (along with Guice, etc.) Oct 08 16:19:05 Right, but what would the use case of Provider be? I have been using dagger to do @Inject stuff. But I haven't found a use for Provider yet. Oct 08 16:19:48 a provider is an indirection. the injection is only fulfilled when you call .get() Oct 08 16:20:07 and, more importantly, on every call to get Oct 08 16:20:26 this means that on subsequent calls to get you might receive different objects Oct 08 16:23:23 I see, thanks Oct 08 16:24:09 So daggers lazy is similar to Provider, except for lazy is basically a cache. where provider it is retrieved every time. Oct 08 16:25:44 guys, can I avoid "Accept this certificate?" window when establishing secure SSL connection? I want exception to be thrown if certificate is not valid. Oct 08 16:26:14 jaynewstrom: yes. Lazy is a Dagger specific addition to JSR 330 Oct 08 16:26:34 Okay, that makes more sense now. Thanks JakeWharton Oct 08 16:28:02 i have an issue using listview with textbox, who can help me ? I want to talk in private Oct 08 16:29:27 hey is anyone here using Gradle in a production enviroment? Oct 08 16:30:03 I think Gradle is finially at a point of maturity & feature parity that we could use it as our build system. Oct 08 16:30:05 @Wavesonics ... I'm not going to use Gradle for Android until the studio is fully released Oct 08 16:30:13 but I'm playing with it now as time permits Oct 08 16:30:21 ya same here :/ Oct 08 16:30:44 it would help more easily solve some build issues we're having currently though Oct 08 16:30:45 Wavesonics: I am for two apps Oct 08 16:30:49 well ... i mean geez ... it lets you write as much code in the build system as in the product. Oct 08 16:31:14 JakeWharton, are you using it with Eclipse or Android Studio? Oct 08 16:31:17 is it ok to call LocalBroadcast...sendBroadcast(intent) inside Service.onStartCommand() ? because sendBroadcast() is returning false Oct 08 16:31:19 Do you like it for production JakeWharton? Oct 08 16:31:35 Android Studio. Oct 08 16:31:38 Nobody should use Eclipse ever Oct 08 16:31:49 NOIDE FTW Oct 08 16:31:49 aaaaamen to that. Oct 08 16:32:02 I'm still a noob so I stick with eclipse Oct 08 16:32:06 Ya but it's kinda anoying that Gradles own project stuff doesn't actually integrate with Gradle yet Oct 08 16:32:13 er Oct 08 16:32:14 sorry Oct 08 16:32:20 Android Studios own project stuff Oct 08 16:32:30 what do you mean? Oct 08 16:32:34 you gotta manage them independently Oct 08 16:32:55 the whole sync to gradle button Oct 08 16:33:00 there are more tutorials out there for eclipse Oct 08 16:33:09 more != better Oct 08 16:33:31 also we need NDK support which Android Studio doesn't really have support for yet if I'm not mistaken Oct 08 16:33:36 Wavesonics: how frequently are you changing the config that you can't handle clicking a button once a week? Oct 08 16:33:40 my main gripe with gradle/android studio is no unit tests Oct 08 16:33:47 (which i saw you tried to fix JakeWharton) Oct 08 16:34:00 jbraeg: yeah. hopeless Oct 08 16:34:17 gradle messed up all by itself and I couldn't fix it Oct 08 16:34:26 so I went back to eclipse Oct 08 16:34:29 I'm using AS @ home, and it's finially getting to a point where stability doesn't seem to be much of a problem anymore Oct 08 16:35:16 has someone here used libsodium on android with java wrappers? Any thoughts/pointers/opinions compared to using straight-up bouncycastle? Oct 08 16:35:47 I have an activity, that contains a listview. (it utilizes a custom adapter, lets say adap1) Oct 08 16:36:51 I also have a switch toggle, which, upon click, the listview changes (the new one utilizes another custom adapter, with different layout, and views, lets say adap1) Oct 08 16:36:57 adap2* Oct 08 16:37:39 I am doing this inside onCheckedChanged(CompoundButton buttonView, boolean isChecked) - i have done the implementation Oct 08 16:38:23 my issues arises when I implement listview.setOnItemClickListener(new OnItemClickListener() .... Oct 08 16:47:17 Hi, first time here. I am having an issue that maybe someone knows more about. I need to get a screen capture / still image from a H.264 encoded, 3gp video that retains the same color/contrast as the original video. So far VLC has been offsetting the contrast AND/OR brightness. Anyone ever experienced this before or know how to get a true-color PNG still from a video? Oct 08 16:47:22 speaking of Gradle .... so, I always wondered why Netbeans wasn't selected from the start ... Oct 08 16:47:28 would be curious to hear the history on that ... Oct 08 16:50:52 probably because IDEA is faster, more powerful, not owned by Oracle, etc., etc. Oct 08 16:51:30 java shouldn't have sold out to whoracle Oct 08 16:51:42 s/java/Sun/ Oct 08 16:51:51 yeah Oct 08 16:53:07 that's the problem with corporations, you never know when you're gonna get sold, or shutdown Oct 08 16:53:19 While I don't see a clear way for Google to extricate itself from using Java on Android; would be very curious if they manage to insert Go as a first-class citizen on Android. Oct 08 16:53:40 Hows GO anyway Oct 08 16:54:05 google can simply make convertor for java => GO Oct 08 16:54:16 then fix few conversion errors then done Oct 08 16:54:17 dear no Oct 08 16:54:42 :/ Oct 08 16:54:45 imange rally for GO language - "go GO! go GO! go GO!" Oct 08 16:54:50 ;) Oct 08 16:54:50 I noticed the other day that the Sun campus in Menlo Park still has the Sun sign up outside on street view... it made me sad :( Oct 08 16:55:15 google isn't going to switch to go for android Oct 08 16:55:18 at least anytime soon Oct 08 16:55:23 Oracle :/ Oct 08 16:55:32 For a while, I was working with PeopleSoft Oct 08 16:55:36 That was not fun. Oct 08 16:55:52 it looks like this now... http://en.wikipedia.org/wiki/File:Facebook_Headquarters_Menlo_Park.jpg Oct 08 16:56:18 XXCoder1: my 0.02 - Go's rough around the edges still; and [much as the core developers would like to think otherwise] the scheduler needs more work. But, it's a pretty nice language and it doesn't feel too much like a chore to work on it. Oct 08 16:56:29 cool Oct 08 16:57:49 As much as I like Go, I'd rather Google work towards a more unified language, rather than invent a new one every now and then; Like Dart, for example. Oct 08 16:57:57 mice headquorters. makes me wanna sleep there forever. Oct 08 16:58:29 mice hq lol Oct 08 16:58:40 typos. lol Oct 08 16:58:44 probably not enough room to sleep in ;) Oct 08 16:58:57 they'll always have room for me. Oct 08 16:59:01 it's a massive campus Oct 08 16:59:11 i'll get u in too XXCoder1, no worries. Oct 08 16:59:15 googleplex is better :P Oct 08 16:59:17 lol ok Oct 08 16:59:35 cortexA9: yeah, but Sun employed me, Google refused :P Oct 08 16:59:40 Does anyone know how I can take a still image/screen capture from a video that matches the contrast/brightness of the original video played in videoview? Oct 08 16:59:44 however, u need to help me with a small problem. Oct 08 16:59:52 :P Oct 08 16:59:57 skywell: jabe to be post processed Oct 08 17:00:07 *have Oct 08 17:00:38 what oproblem :P Oct 08 17:01:45 XXCoder1: Any recommendations? How to take a still post-processed? Oct 08 17:02:01 just use some sort of pcture editor Oct 08 17:02:12 XXCoder1: I have only been able to get a JPG that has the same color/contrast as the original video using the default media player in Ubuntu. Oct 08 17:02:21 XXCoder1: VLC seems to make it "too bright" Oct 08 17:02:45 maybe vlc has settings? Oct 08 17:03:59 skywell: I thought you are asking programmatically Oct 08 17:04:24 just take a screenshot Oct 08 17:06:12 shmoooz: I tried in Windows to do a printscreen screenshot but it turned out darker. I think windows media player and VLC may tweek the brightness contrast in a way that videoview doesn't which causes them to look different. Oct 08 17:06:52 skywell: how is that related to android or programming ? Oct 08 17:06:52 shmoooz: I was thinking of overlaying two videoviews but it seemed really bloated. Oct 08 17:07:12 oh Oct 08 17:10:08 shmoooz: I know it isn't a programming problem in nature, was mainly just wondering if anyone else has experienced this issue or knows why, on android, the screenshot still I take on the desktop is different, in contrast/brightness, than the video itself. Also was looking for recommended way that android developers get a still from video because my solutions (printscreen, vlc snapshot) are giving me images that are off in bright Oct 08 17:10:28 I guess you're talking about capturing from the emulator Oct 08 17:11:50 video doesn't run nice on emulators Oct 08 17:12:07 shmoooz: I am using my Note 2 to run the app. Oct 08 17:12:24 shmoooz: Should I try to just take a screenshot on android with the app running? Oct 08 17:12:50 skywell: yeah, try volume down and power at the same time hold it a sec or 2 Oct 08 17:14:52 shmoooz: Good idea. thanks. Oct 08 17:16:48 only problem I see with that is it seems to bring up to softmenu bar while in fullscreen video Oct 08 17:40:56 hi, what's the best way to create an app that I can turn on/off through a simple ui but otherwise is a purely background task thing? Oct 08 17:41:21 Hello Oct 08 17:41:29 hio what do you mean ? Oct 08 17:41:34 can you be more specific? Oct 08 17:41:39 hello shaun413 Oct 08 17:41:47 anyone have any ideas that would be usefull for a beginner programmer in a 24 hour programming competition? Oct 08 17:41:51 tonySoprano9099: I want an smslistener that will respond when it receives an sms but I want to be able to turn it off Oct 08 17:41:52 I want to try to make an app Oct 08 17:42:06 shaun413 good luck. Oct 08 17:42:18 ? Oct 08 17:42:19 google android programming for dummies. Oct 08 17:42:33 Im not a "beginner" persay Oct 08 17:42:39 what are you ? Oct 08 17:42:44 Beginner in terms of others yes, but I do Know java Oct 08 17:42:46 hio that is possible. Oct 08 17:42:55 I know, but how Oct 08 17:43:05 hmm Oct 08 17:43:06 i know how to drive too. doesn't make me a formula 1 driver. hence beginner. Oct 08 17:43:16 ^ Oct 08 17:43:18 pretty much Oct 08 17:43:48 make a broadcast receiver, that can be unregistered when the user clicks a button Oct 08 17:44:30 hm? Oct 08 17:44:32 what is that? Oct 08 17:44:45 shaun413 are u talking to me ? Oct 08 17:44:49 yes Oct 08 17:45:08 hello can someone exlpain to me how to make the next app that is awesome and will make me rich please, just pm me the code thanks Oct 08 17:45:42 sure! Oct 08 17:45:43 I will rot13 the code until I receive payment Oct 08 17:46:13 tonySoprano9099: I have a broadcast receiver, but how do I start it? doesnt seem to have an ymethods Oct 08 17:47:02 you need to find the intent for the sms receiver Oct 08 17:47:50 is this not correct? this.getApplicationContext().registerReceiver Oct 08 17:47:58 but I dont know how to create an IntentFilter Oct 08 17:48:00 or why Oct 08 17:48:35 hio start with this http://developer.android.com/guide/components/intents-filters.html Oct 08 17:51:01 hey I'll be even more frank, Give me all your monies please, or else Oct 08 17:52:07 dvallieres, the best way to make millions is to make a hello world app. Oct 08 17:52:29 yeSS Oct 08 17:52:50 indeed Oct 08 17:52:53 a spare change begger app that pops up out of nowhere saying how poor you are Oct 08 17:52:59 helloworld is a game changer Oct 08 17:53:18 there is even a way to get rich without writing the next app. Oct 08 17:53:30 but i can't tell u what it is. Oct 08 17:54:05 I CAN Oct 08 17:54:16 shoot Oct 08 17:54:22 exactly Oct 08 17:54:28 shoot everyone, steal money Oct 08 17:54:30 profit Oct 08 17:54:49 you can shoot birds. and sell them. Oct 08 17:54:53 ah Oct 08 17:55:36 dvallieres, you can imessage zucherberg, ask him for a job. Oct 08 17:55:53 tonySoprano9099, Ok I got it but is there a way to test sms receiving without having to send them everytime? Oct 08 17:56:03 i mean it costs money Oct 08 17:56:17 you can name your app 'silk road' that will do it Oct 08 17:56:23 yes, using the emulator. Oct 08 17:56:56 name that app, I (inset word here) Oct 08 17:56:58 get sued Oct 08 17:57:02 loose all money Oct 08 17:57:07 lose* Oct 08 17:57:15 name the app "The App" Oct 08 17:57:21 yesss Oct 08 17:57:23 thank you guys Oct 08 17:57:26 such a friendly community Oct 08 17:57:33 now im gonna go get rich and shun you guys Oct 08 17:57:34 bye Oct 08 17:57:42 always pleasure to make others rich. Oct 08 18:04:23 lol the emulator is slower than the real device Oct 08 18:05:28 thanks for letting us know. Oct 08 18:05:35 just installed a 4.3 rom without wiping data, hope it doesn't eatshitanddie Oct 08 18:05:58 pfn fingers crossed :) Oct 08 18:09:00 is saurik the real jay freeman ? or a wannabe ? Oct 08 18:17:35 tonyMontana9099: the real deal Oct 08 18:19:56 wow Oct 08 18:20:06 they guy is probably the smartest person on the universe Oct 08 18:20:15 (including the planets that do not yet exist) Oct 08 18:24:49 anyone know why 25 is the highest radius one can use in a RenderScript intrinsic gaussian blur? Oct 08 18:25:17 I also noticed that anything >25 wouldn't work on an NDK fastblur implementation...is 25 a magic number or something? Oct 08 18:27:02 well, the golden ratio is (sqrt(sqrt(25)) + 1)/2. seems magical to me Oct 08 18:27:10 haha Oct 08 18:27:31 created by one and only : david copperfield Oct 08 18:27:45 copperdavidfield Oct 08 18:28:24 Is there an Intent for every activity? Even the main? Oct 08 18:28:47 yes. Activities can only be started via an intent Oct 08 18:29:03 intents! Oct 08 18:29:06 So for any existing activity, there must have been an intent that started it Oct 08 18:29:16 yes 100% Oct 08 18:29:22 which can be retrievable Oct 08 18:30:20 using getIntent() Oct 08 18:30:36 see this : http://stackoverflow.com/questions/4233873/how-to-get-extra-data-from-intent-in-android Oct 08 18:31:11 what's the fastest way to add a bunch of buttons and editfields to my Actvity? Oct 08 18:31:31 copy paste an xml that has already done that. Oct 08 18:31:45 why cant I do it programmatically? Oct 08 18:31:45 JesusFreke: thanks Oct 08 18:31:56 you can, but thats not the fastest way. Oct 08 18:32:23 how do I do it programmatically? I wanna be able to read the texts from the editboxes in my broadcastreceiver Oct 08 18:32:52 they will contain the phone numbers i send a response to Oct 08 18:33:05 even if you use the XML, you can still retrieve them from your activity programmatically and use them inside broadcastreceiver. Oct 08 18:33:23 eclipse doesnt seem to have a ui builder Oct 08 18:33:51 oh damn, it does Oct 08 18:34:05 ^ it sucks Oct 08 18:35:19 it has, but not the best one. Oct 08 18:35:27 actually, I havent seen a nice XML UI builder. Oct 08 18:35:31 all seem to be buggy. and slow. Oct 08 18:35:48 they are good for previews, but not for editing Oct 08 18:36:13 ^ Oct 08 18:36:39 So awesome that you can set view attributes just for the preview now Oct 08 18:37:50 How do I get the button (view) by its id? I have r.id.togglebutton now Oct 08 18:37:54 but its just an integer Oct 08 18:38:15 findViewById() Oct 08 18:38:26 yes, it is an int that refers to a memory location which holds that button. Oct 08 18:38:46 eww, that sounds like a c pointer Oct 08 18:38:50 huhwhat? Oct 08 18:38:55 Button b = (Button) findViewById(R.id.togglebutton) Oct 08 18:39:16 no, ids are not memory locations Oct 08 18:41:20 pointers that point to memory locations ? Oct 08 18:42:18 It's just an integer.. It iterates through the view hierarchy until it finds a view where id == view.getId() Oct 08 18:43:14 oh, my bad. Oct 08 18:43:20 thanks for the heads up. Oct 08 18:43:39 I have compiled the kernel for my Samsung Galaxy Note 3 SM-N9005 and it boots and works fine, except for I am unable to use WIFI. I have entered "make menuconfig" and enabled the Broadcom wifi that my phone uses and when compiling it does do the BCM4339 stuff.... any ideas? Oct 08 18:46:39 hi Oct 08 18:46:58 there are some apps that have notifications with buttons in Android 2.3.6 Oct 08 18:47:18 do they have their own implementation of the Notification class? Oct 08 18:47:24 Denommus really ? Oct 08 18:47:26 they are fakes :) Oct 08 18:47:32 I highly doubt. Oct 08 18:47:36 your notification can have a custom view Oct 08 18:47:55 tonySoprano9099: yes, some music players, for instance Oct 08 18:48:02 but its limited in functionality like any remote view Oct 08 18:48:28 birbeck: but you can't make a button clickable in the API 10. Only 11+ Oct 08 18:49:01 I have compiled the kernel for my Samsung Galaxy Note 3 SM-N9005 and it boots and works fine, except for I am unable to use WIFI. I have entered "make menuconfig" and enabled the Broadcom wifi that my phone uses and when compiling it does do the BCM4339 stuff.... any ideas? Oct 08 18:49:46 DJTwigg: #android-root Oct 08 18:50:08 ok thanks Oct 08 18:50:09 Denommus: yes, you can set a pending intent for a click handler on any view in your notification Oct 08 18:50:10 Is it really correct never to stop a thread? isnt that really wastinc pu cycles having a thread doing nothing to still run? Oct 08 18:50:17 <|0xD34D|> Denommus: RemoteViews has setOnClickPendingIntent which you can use Oct 08 18:50:49 S_J well, I think stopping them is better. unsure though. Oct 08 18:50:53 S_J: Why wouldn't you stop it? Oct 08 18:50:56 I stop them whenever they are not needed in my apps. Oct 08 18:52:57 I asked what to use since stop, suspend is deprecated. Someone then told me just to use a value while ( running ) {...} . So how do you stop a thread on Android? Oct 08 18:53:01 (safely) Oct 08 18:53:28 Alsom can I make it so eclipse overwrites the app installed when I press Run in Eclipse? Now it just restarts the current app. I dont want it, then i have to manually uninstall. Oct 08 18:53:29 That someone probably told you to set running to false when you're done Oct 08 18:53:33 Or just return Oct 08 18:53:42 Uh, quick question about this http://developer.android.com/training/basics/data-storage/databases.html Oct 08 18:54:00 SimonVT technically, i dont there is a way to stop it. Oct 08 18:54:00 In the first code snippet there it defines a schema/contract for a single table Oct 08 18:54:10 and that class FeedEntry implements BaseColumns Oct 08 18:54:16 you can use handler / thread / runnable combo to manipulate though Oct 08 18:54:26 The thread stops when its run method returns Oct 08 18:54:27 BaseColumns seems to be a _id and _count, so why does he need a entryid column? Oct 08 18:54:38 yes yes Oct 08 18:54:50 SimonVT: yes Oct 08 18:54:59 maybe my bad not to tell.. I am assuming you need to do repetative operations Oct 08 18:55:04 but what if i just have a listener? Oct 08 18:55:04 hence the use of thread.. Oct 08 18:55:22 heavy ones,, network , db Oct 08 18:55:27 What? Oct 08 18:56:16 I have no idea what you're doing.. Just because you set a listener from a thread doesn't mean it's invoked from that thread Oct 08 18:56:38 Unless the api tells you set up a Looper or something, which I doubt Oct 08 18:56:41 I have a tiltsensor, so using compass and accelerometer to get orientation and inclination. So I want to run that in a thread (or maybe it shouldnt be a thread?) and then notify the GameHandler when there is a change. Oct 08 18:57:12 S_J: having a thread in the background, that does nothing (i.e. is waiting on some event queue, in a sleep()), isn't really wasting any resources. It's not preventing the phone from going to sleep (assuming it isn't holding a wake lock), etc. Oct 08 18:57:28 I you don't need it hanging around, by all means get rid of it Oct 08 18:57:41 why would you leave a not needed thread there ? Oct 08 18:57:42 but if it's there for a purpose, it's not going to hurt anything Oct 08 18:57:45 Doesn't work like that Oct 08 18:57:51 Attach your listener Oct 08 18:58:02 Fire up a thread when new values arrive if you need to Oct 08 18:58:16 Yeah it is not working because I get one value then it stops. Oct 08 18:58:32 exactly, you won't. Oct 08 18:58:37 guys do you know if there is a way to change the way undo works in eclipse? everytime I hit ctrl z it undoes a large segment of code Oct 08 18:59:32 navetz no idea. but I never had problem with it. Oct 08 18:59:39 me either Oct 08 18:59:57 really? when you does it undo more then just a word for you guys? Oct 08 19:00:52 yes it does. Oct 08 19:01:03 what does actionbarsherlock give more than support library's one? Oct 08 19:01:14 however, if you want to undo something, it will most probably be a whole block.. so no harm done Oct 08 19:01:29 how do I get access to buttons and stuff in my BroadcastReceiver? Should I just use a global static variable from my main activity? Oct 08 19:01:29 if the text to erase is small portionned, just use backspace Oct 08 19:01:54 But im not sure what the best way to do it is. I need the GameHandler to run in a separate thread so not to make the UI unresponsive. The GameHandler will work on the Board and then it will runOnUiThread and call invalidate on the View. but should i perhaps just run the sensor in the GameHandler thread rather than in a separate thread? Oct 08 19:02:34 guys, im off to sleep Oct 08 19:02:44 have a nice day/night all Oct 08 19:02:49 thanks for your help Oct 08 19:02:50 bye Oct 08 19:02:54 tonySoprano9099: it does to much magic, if I copy paste, and then change a word then when I undo it will remove all the copy paste, and undo whatever I did directly before that. It goes to far. Oct 08 19:03:07 I have no idea what you're doing.. Just because you set a listener from a thread doesn't mean it's invoked from that thread. I have public class TiltSensor extends Thread implements SensorEventListener; If I do mSensorManager.registerListener(this, mCompass, SensorManager.SENSOR_DELAY_GAME); I surely attach it to that thread right? Oct 08 19:08:29 ok I'm thinking about making an Ad-Browser app, its all nothing but ads and commercials for products Oct 08 19:10:08 SimonVT: did I bore you? I would really appreciate if I could get some advice on how to solve the problem. Oct 08 19:11:07 The events will be delivered to that class, yes Oct 08 19:11:17 But on whatever thread the sensormanager decides to deliver it on Oct 08 19:15:19 hmm, but the class also extends Thread... Oct 08 19:16:04 ok I'm thinking about making an Ad-Browser app, its all nothing but ads and commercials for products Oct 08 19:16:08 uh that isn't going to work Oct 08 19:16:16 sure it will work Oct 08 19:16:19 but have fun Oct 08 19:16:20 I think it will Oct 08 19:16:21 but will people want it Oct 08 19:16:39 ok the only reason people tolerate ads in apps is because the app provides some other content Oct 08 19:17:08 Also no ad network is going to go, "Oh you're just going to show all our ads as your app, go ahead" Oct 08 19:17:18 there are people who want to browse products or just watch commercials they haven't seen for fun Oct 08 19:17:35 I like watching japanese commercials for fun Oct 08 19:17:54 shmoooz: What repository of ads are you going to use? Oct 08 19:18:00 ok well your app is going to be a failure, just mark a "poutine told you so" in your calendar, and I'll shut up about it Oct 08 19:18:03 world wide Oct 08 19:18:49 shmoooz: So these ads will be relevant to peoples interest levels? If I downloaded it, I wouldn't see ads for german stores that I can't purchase from or anything right? Oct 08 19:18:55 I can make categories so people can browse to ads that interest them Oct 08 19:19:29 you can choose which location what type of products you like to see ads about Oct 08 19:19:43 shmoooz: I would totally use it if it was local products I cared about or something Oct 08 19:20:47 skywell, I can't believe you're seriously entertaining this guy with his idea of "an ad-supported app, without anything but ads" Oct 08 19:20:51 shmoooz: Or even an app where I can give it tags, "Raseberry Pi", "cruicial memory" and have the app use those tags to grab the best ads/prices from the web Oct 08 19:21:18 yep, it will even be fast autocomplete results as you search, just like the play store ;) Oct 08 19:21:32 poutine: definitely has to be done right. I don't agree with categories of ads. That doesn't sounds like something I would use. Oct 08 19:23:48 Ok well as someone with nearly 10 years of marketing experience, you both are naive as crap and don't know anything about ad networks Oct 08 19:24:05 how so ? Oct 08 19:25:02 poutine: I don't know anything about ad networks, you are right. I was only discussing my interest level in the idea of the app, not the viability of the app. Oct 08 19:25:04 1) Nobody is going to search for and download your Ad app, nobody is going, "Gee my bank account is high, I want to spend money on something, I don't know what, but hey, I'll download shmoooz's app and go searching through ads hoping one appeals to me and my budget" Oct 08 19:25:34 But on whatever thread the sensormanager decides to deliver it on. If I have a class that implements SensorListener and extends Thread I cant be sure I get it on that thread!? Oct 08 19:25:39 2) Ad networks do not support this business model, you can't even tell admob for instance, "Give me only ads relating to guns", you can give it keywords, and narrow down things a bit, but not the level of control you'd need for an app like this Oct 08 19:25:52 poutine: that's what you think, I'm going to prove you wrong soon Oct 08 19:26:02 poutine: If I could put items on a "watchlist" where the app finds good deals on products I don't want to pay full price for then I wouldn't mind that app. I would not just open an app hoping I find good deals in the advertisements. Oct 08 19:26:07 poutine: that I can agree on Oct 08 19:26:08 3) Ad networks will not allow you to just show 50 ads to a user on an app, they have guidelines that cause spammers to get shut down Oct 08 19:26:56 they'll even cancel your payments if you put an ad too close to a button because it can lead to false clicks Oct 08 19:27:27 this will give the power to users, so they can choose how many ads and whatever else Oct 08 19:27:42 it's an ad/product browser Oct 08 19:28:10 shmoooz, Ok well by all means prove me wrong, I'll get more pleasure out of the fact you wasted countless hours just to fail instead of saving your time by listening to someone who knows what they're talking about Oct 08 19:28:21 it can do slideshows, video commercials and spec sheets Oct 08 19:28:45 it can't do anything shmoooz, don't act like you already programmed it Oct 08 19:28:48 maybe even a kiosk mode Oct 08 19:29:05 haha Oct 08 19:29:46 poutine you seem knowledgable about the add stuff, can I ask you this? we're all wondering how crashlytics makes money. Its on HN today https://news.ycombinator.com/item?id=6514958 …. can you give me your thoughts about the second comment, from elvisoops? or expand on it if you can? Oct 08 19:30:01 look at this genius, even Angry Birds puts ads on their free app to monetize it, what idiots, they could have not programmed the game and just had an app full of ads instead! Oct 08 19:30:25 and imagine the money I make from all those sponsors ;) Oct 08 19:31:49 g00s, I have read it, and there might be some truth to it, but there is an ever-increasing focus on getting products/services out, then trying to monetize later Oct 08 19:32:29 i was just reading avout Drawbridge a few days ago http://www.nytimes.com/2013/10/06/technology/selling-secrets-of-phone-users-to-advertisers.html Oct 08 19:32:40 i wonder if they are doing something similar Oct 08 19:32:48 the oether explanation, which is much simpler .... Oct 08 19:33:26 is that now they have paid sponsors, they can't have fail whales, so this helps them monitor … but that seems odd, since that seems more like a server side issue which would be monitored other ways Oct 08 19:33:53 It's a bit stupid they keep trying to relate things to cookies Oct 08 19:34:15 thats what the nytimes article is about, moving away from cookies Oct 08 19:34:24 do I have to sign an apk to install it? Oct 08 19:34:37 whenever i try to install on my phone, it says "application not installed" nothing else Oct 08 19:34:56 i also didnt do the zipalign thing because wtf why Oct 08 19:35:01 I don't know off hand what like admob and them use, but you can get a device ID, etc, which can tie everything together Oct 08 19:35:01 also I'm not sure how static mobile IP usage usually is, but I bet if they got two requests from two different apps, they could tie them together by IP Oct 08 19:35:01 in a short amount of time Oct 08 19:35:05 I just click debug/run in eclipse, choose my phone and it installs the apk to my phone Oct 08 19:35:07 hio, yes you do Oct 08 19:35:19 but I dont want to pay for google store developer account Oct 08 19:35:23 is there any other way? Oct 08 19:35:24 skywell, it's signing it with the debug key behind the scenes Oct 08 19:35:29 hio, it's separate from anything google does Oct 08 19:35:38 jarsigner is a java thing, not google/android/etc Oct 08 19:36:09 ok so I downloaded this apk-signer from google code but it wants all kinds of Alias and passwords.. what does that all mean and can I still give it to someone else to install ? Oct 08 19:36:10 poutine: "To test and debug your application, the build tools sign your application with a special debug key that is created by the Android SDK build tools." ahh, didn't know that it was using a debug key. Oct 08 19:36:26 hio, why are you opposed to using jarsigner? Oct 08 19:36:50 hio: https://developer.android.com/tools/publishing/app-signing.html <- the guide Oct 08 19:37:54 ah goddamn that is complicated Oct 08 19:39:06 also remember that if you are generating a key for use in published app that is supposed to be upgraded, you need to make it a good long-lived key Oct 08 19:39:26 hio, what situation are you using where you have to do this manually? Oct 08 19:40:03 I just create a key by doing: keytool -genkey -v -keystore foo.keystore -alias testing -keyalg RSA -keysize 2048 -validity 10000 Oct 08 19:40:18 then I sign it by doing: jarsigner -verbose -keystore foo.keystore -digestalg SHA1 -sigalg MD5withRSA test.apk testing Oct 08 19:40:20 two steps Oct 08 19:40:23 i made this sms sending app just for me and a friend, and I gues I have to do that signing Oct 08 19:41:02 ok ill try what you wrote Oct 08 19:41:05 If you're not planning on submitting it to the app store, just sign it with the debug key. It's normaly in home/.android Oct 08 19:41:10 g00s: actually, Drawbridge and such are small fishes compared to some big aggregators that have existed since before WWW Oct 08 19:41:18 hio, replace test.apk with the name of your apk, but that's all you should need Oct 08 19:41:28 you can enter in BS data when it prompts for it Oct 08 19:41:34 ok thank you, will try Oct 08 19:42:10 Could someone point me to a good pattern for a custom content provider? The manual isn't very clear on a best practice. Oct 08 19:42:11 If you created it in eclipse, you can right click the project & go to 'android -> export signed apk' Oct 08 19:42:19 hio, also Amazon's app store is completely free if it ever goes beyond you and your friend Oct 08 19:42:26 I'm very pleased with amazon's app store Oct 08 19:43:20 flexd: If I remember right the IO2013 app had a good example Oct 08 19:43:23 anyone here use bugsense? Oct 08 19:46:20 ? Oct 08 19:46:42 anyone? Oct 08 19:46:45 someone? Oct 08 19:47:20 poutine have you used amazon's A/B testing library ? Oct 08 19:47:33 I have not Oct 08 19:47:43 Hello. Does anyone have experience with the purchase status API? I am trying to test my implementation but I cannot find any info on obtaining test tokens Oct 08 19:47:46 i'm waiting for something like that on Play Oct 08 19:47:48 sadly I do not have the volume where A/B testing would be a good next step Oct 08 19:47:55 ah, k Oct 08 19:48:07 does someone here use bugsense? Oct 08 19:49:10 So I've got a fragment in a fragmentStatePagerAdapter, and a dialogFragment that appears. After the dialogFragment is dismissed the onResume method of the previous fragment & the corresponding activity's onResume method is not called. Any ideas? Oct 08 19:49:46 mmarklar: Looking at it now Oct 08 19:49:51 Caveat: The dialogFragment can appear in multiple activities, so overriding the call to onDismiss isn't preferale. Oct 08 19:50:06 Is there any more documentation on how Camera.Parameters work? I get the lat and long but the image taken from the camera doesn't any EXIF headers set. Should I just get the EXIF header manually with ExifInterface? Oct 08 19:50:26 set the lat and long* Oct 08 19:53:41 someone? bugsensE? Oct 08 19:54:19 elichai2, please wait a reasonable amount of time before re-asking your question Oct 08 19:57:21 Somebody, please help.. does anybody know a fix for AS not recognizing the v7 compat library? Oct 08 19:57:42 hey, i realize this sounds kind of silly, but would it be at all feasible to write an emulator that could run iOS applications on android? Oct 08 19:57:58 no Oct 08 19:58:00 there's apparently one floating around that can run games, although i'm dubious of it... Oct 08 19:58:15 i dont think that would be feasible Oct 08 19:58:37 heh, how about just possible? i'm kind of just academically interested in the idea, not really intending to use it for anything Oct 08 19:59:34 anything is possible Oct 08 19:59:43 whats that thing Bjork used Oct 08 19:59:43 huh, apparently there's been quite a bit of work in this area Oct 08 19:59:50 e.g. http://android.appstorm.net/general/app-news/irom-ios-on-your-android/ Oct 08 20:00:09 an egg in the woods, perhaps? Oct 08 20:00:39 not sure if it's just a reskin or if it actually does run iOS apps through an emulation layer Oct 08 20:00:48 diphtherial: Check the date on that article... Oct 08 20:00:59 2012? doesn't seem too long ago Oct 08 20:01:01 ah Oct 08 20:01:01 hey kjeldahl Oct 08 20:01:08 good call, heh Oct 08 20:01:15 hi g00s! Oct 08 20:01:37 diphtherial: :-) Oct 08 20:03:43 ok, something legitimate: http://www.iemu.org/index.php/Main_Page Oct 08 20:03:53 (apologies if this question is asked often or is entirely irrelevant) Oct 08 20:04:42 actually, i'm done thinking about this; i certainly won't be the one to pull it off, if anyone does Oct 08 20:04:59 someone? bugsensE? Oct 08 20:05:47 I/NuCachedSource2 ERROR_END_OF_STREAM - This error is annoying me. I'm serving a pipe-like device from /dev via a nanohttpd webserver, presenting to MediaPlayer via InputStream (have tried FileInputStream and BufferedInputStream). Still getting the error. Any ideas how to work around it? Oct 08 20:06:58 Trying to stream video that's coming in on a non-seekable /dev/xxx device. Oct 08 20:07:35 bugsense? someone? please? Oct 08 20:11:56 howdy Oct 08 20:12:02 heyo! Oct 08 20:12:05 I figured out the issues with ActionBar items not showing up Oct 08 20:12:20 though I doubt anybody here remembers that from yesterday Oct 08 20:12:39 but fyi, you namespace the declaration to put ActionBar items into the ActionBar as actions rather than into overflow with your own project rather than android: Oct 08 20:12:45 silly me Oct 08 20:13:06 I have this weird problem, after I exit the onReceive() from my com.example.test.SmsListener, I get this error: java.lang.RuntimeException: Unable to instantiate receiver com.example.test.listener.SmsListener: java.lang.ClassNotFoundException: com.example.test.listener.SmsListener Oct 08 20:13:24 I dont even have a package called com.example.test.listener Oct 08 20:14:37 hence the error ;-) Oct 08 20:14:46 yeah but I'm not creating anything with that Oct 08 20:14:49 so what's the problem Oct 08 20:14:55 why is it occuring Oct 08 20:15:02 hio: did you clean ? Oct 08 20:15:14 no, let me do that Oct 08 20:15:33 Try just searching your project for com.example.test.listener .. Maybe you defined it somewhere and forgot about it Oct 08 20:15:39 i did, nothing Oct 08 20:15:56 manifest Oct 08 20:16:39 Anyone know how to test the purchase status API? Oct 08 20:17:21 problem du jour seems to be that I want to read the phone number from a device without making the app incompatible with tablet Oct 08 20:17:41 Are there any good multiselect drop downs that are open source? Any example apps that I could look at for ideas? Oct 08 20:17:46 do I make the app not show up for Tablets by merely asking for permission to read phone number? Oct 08 20:18:17 no Oct 08 20:18:58 and some tablets have 3g/lte Oct 08 20:19:26 getDeviceNumber1() or whatever i think will return a blank string, check the docs Oct 08 20:20:56 http://developer.android.com/reference/android/telephony/TelephonyManager.html#getLine1Number() it returns null Oct 08 20:21:55 shmooz: I'm still getting the error omg, there is no such class anywhere Oct 08 20:22:54 <|0xD34D|> hio: did you copy and paste some stuff into AndroidManifest.xml and forget to change package name accordingly? Oct 08 20:22:55 Trufax: you can add just to be safe Oct 08 20:23:03 ah damnit, I had it in here: Oct 08 20:23:13 yes .. Oct 08 20:25:03 birbeck: will adding the uses-feature tag along with the request for permissions make it run alright on tablets? Oct 08 20:25:11 because the call explodes without the permission requested in the manifest Oct 08 20:27:51 of course it will throw an exception if you dont declare the permission Oct 08 20:28:28 Anyone know why an activity's onResume method would not be called when dismissing a dialogFragment? Oct 08 20:28:35 put both the and tags in your manifest Oct 08 20:28:46 The fragment itself is generated by an extended Application class. Oct 08 20:29:00 Because dialogs don't pause the activity Oct 08 20:29:05 Desarun: cause it's a fragment ? Oct 08 20:29:17 Desarun: because onPause was never called Oct 08 20:30:14 So the dialogFragment is spawned on top of another fragment, and is partially visible. According to the Fragmennt lifecycle, a call to onPause should be made if only partially visible. Oct 08 20:31:01 not on the activity Oct 08 20:32:01 So am I reading this wrong: http://developer.android.com/training/basics/activity-lifecycle/pausing.html Oct 08 20:32:07 does someone here use bugsense? Oct 08 20:32:25 elichai2: yes Oct 08 20:33:10 Dialogs are displayed within the context of the Activity, so it isn't paused Oct 08 20:33:26 Displaying another activity would pause it Oct 08 20:33:47 StingRay_: if i use setLogging(String filter) Oct 08 20:34:05 it's sending me only my package logcat? Oct 08 20:34:51 SimonVT birbeck ok, thanks. So is there a nice way I can tell the fragment behind the dialog to update when the dialog is dismissed? The dialog can be spawned across all activities. Oct 08 20:35:27 Gnex: I dont use it like that, but no, you shouldn't have to do that Oct 08 20:35:47 Why does it need to be notified when the dialog is dismissed? Oct 08 20:35:49 why not use it? Oct 08 20:35:50 simply grabbing an instance inside your app will limit reporting to .. well your app Oct 08 20:36:08 ok Oct 08 20:36:13 and what BugSenseHandler.startSession() does? Oct 08 20:36:17 yes Oct 08 20:36:25 what yes? Oct 08 20:36:34 i asked what it does? Oct 08 20:36:43 oh what I said Oct 08 20:36:58 creates an instance reporting framework for exception handling for your app Oct 08 20:37:00 If the dialog lets the user perform an action, you would notify whatever when that action is performed Oct 08 20:37:09 If it doesn't, then it's kind of a useless dialog Oct 08 20:37:14 ti which you can add or filter things "FROM INSIDE" your app Oct 08 20:37:18 to* Oct 08 20:37:52 StingRay_: if i just use BugSenseHandler.initAndStartSession(MyActivity.this, "YOURAPIKEY") it's does the same thing? Oct 08 20:38:16 correct, that means any exception will be handled and sent to the bs database for you to view Oct 08 20:38:42 so for what startSession() is? Oct 08 20:39:27 SimonVT The background fragment's state is updated in the onResume method. The dialog popup directly affects that, however it can be launched from anywhere. Oct 08 20:39:34 if you have already init the handler Oct 08 20:39:37 that starts it Oct 08 20:40:00 so initAndStart(*,*) there is no need for start Oct 08 20:40:13 but there is no method that just init the handler and not starting it..... Oct 08 20:40:35 (sorry about the Excavation) Oct 08 20:41:19 I think, not that I know, that you can have more than one session Oct 08 20:41:25 though I dont use or need Oct 08 20:41:27 oh. my. god. Oct 08 20:41:32 so probably not the best to ask Oct 08 20:41:33 The issue I had with theme.appcompat Oct 08 20:41:34 was my fault Oct 08 20:41:49 Ouch. How long you lost? Oct 08 20:42:11 2 days Oct 08 20:42:32 design question: lets say you are creating a reusable library, and you need to defer the creation of something to the client. so you let them provide a Factory. When you need to , you call Farctory.onCreate(). but lets say we know most of the time - this will need to be done off the UI thread (maybe db access, whatever). how would you handle the Factory interface then? Oct 08 20:42:33 hi all Oct 08 20:42:38 @style/Theme.AppCompat is not equivalent to @android:style/Theme.Holo Oct 08 20:42:52 my app could call Factory.onCreate from its own non-ui thread, i suppose Oct 08 20:42:57 s/app/library Oct 08 20:43:05 farctory.oncreate Oct 08 20:43:06 hehe Oct 08 20:43:25 heh, Factory.create () :D Oct 08 20:44:24 so g00s Oct 08 20:44:29 i fixed the theme issue Oct 08 20:44:33 feel like an idiot. Oct 08 20:44:45 was this with the gradle / appcompat thing ? Oct 08 20:44:45 my app is throwing "CursorIndexOutOfBoundsException: Index 0 requested, with a size of 4" Oct 08 20:44:56 how is that even possible? Oct 08 20:45:04 mhm. Oct 08 20:45:17 desmin88 ? i dont recall the specifics Oct 08 20:45:22 at android.database.AbstractCursor.checkPosition(AbstractCursor.java:424) Oct 08 20:45:24 karakul congratulations you've broken maths. Oct 08 20:45:32 I had android:Theme.AppCompat, instead of @style/Theme.AppCompat Oct 08 20:45:51 oh Oct 08 20:46:00 i suck at all that theming stuff Oct 08 20:46:04 i've looked at the source code for AbstractCursor.java and I don't see how it's even possible Oct 08 20:46:24 karakuri: stacktrace/code? Oct 08 20:46:31 sure, one sec Oct 08 20:47:56 this is awesome, i've been using taskwarrior for all my projects, todos, defect lists, etc Oct 08 20:48:14 you can create project, subprojects, tags … all cmd line UI so you can probably automate with the build system Oct 08 20:48:28 desmin88: http://pastebin.com/nKeNuDE7 Oct 08 20:49:59 source code? Oct 08 20:51:34 welp Oct 08 20:51:41 officially tasked with making an app for a website Oct 08 20:51:46 am terrible at ui design Oct 08 20:52:21 for AbstractCursor? Oct 08 20:52:33 https://android.googlesource.com/platform/frameworks/base/+/refs/heads/master/core/java/android/database/AbstractCursor.java Oct 08 20:54:10 hmmph Oct 08 20:54:35 no idea Oct 08 20:59:18 I'm on osx and adb keeps reporting thatr my device is disconnected it happens randomly Oct 08 20:59:21 and is really annoying Oct 08 20:59:30 Is there something up with adb on osx? Oct 08 20:59:46 adb has always been super flaky for me on osx too Oct 08 20:59:58 Never had problems with adb on OS X, ever. Oct 08 21:00:07 hm Oct 08 21:00:10 shigeru yeah, its terrible as hell for me also Oct 08 21:00:15 It just runs, and runs and runs. Like a Duracel Oct 08 21:00:18 I need to do this, but the answer says I can't: http://stackoverflow.com/questions/6435136/android-music-player-in-the-notification-screen-top-pull-down-screen Oct 08 21:00:19 constantly `adb kill-server` Oct 08 21:00:28 Works for lik 10 min and then dies Oct 08 21:00:36 and then adb devices doesn't find stuff ... Oct 08 21:00:40 can I, myself, create a custom Notification class to support it in the API 10? Oct 08 21:00:40 even after kill-sever Oct 08 21:00:48 also lots of adb crash logs Oct 08 21:00:52 or am I depending on the manufacturer there? Oct 08 21:00:53 Are you all on 10.8? Oct 08 21:00:57 Not that it should matter. Oct 08 21:01:02 Yeah Oct 08 21:01:04 i'm 10.7 Oct 08 21:01:19 Get 10.8, it's basically 10.7 SP1 Oct 08 21:01:34 sometimes i have days where i have to adb kill-server on 10.8. i think i've got a mini-USB cable going bad. Oct 08 21:01:34 osx always runs like shit for me, doesnt matter what im trying to run on it Oct 08 21:01:35 im on 10.8.5 Oct 08 21:01:46 shigeru do you see stuff in ~/Library/Logs/CrashReporter Oct 08 21:01:59 adb_xxx.crash Oct 08 21:02:16 hm i dont see anything adb related there Oct 08 21:02:42 g00s: same Oct 08 21:03:44 when the tools work, i work - when they don't i just do something else ;) Oct 08 21:03:47 Maybe a PRAM issue? Oct 08 21:04:08 thats why i dont use osx though Oct 08 21:04:11 good thing i don't have any deadlines atm ;) Oct 08 21:04:29 mmarklar: That iosched thing is super complicated, but I think I might have something that looks decent and might just work here :-) Oct 08 21:04:38 birbeck our os x experiences are completely the opposite; sorry to hear its been a problem Oct 08 21:04:49 I have to kill adb sometimes on linux too, It's definitely the cheapo cable I'm using, I can recreate it by wiggling it while I'm loading a debug build Oct 08 21:04:56 then again, i came from gentoo, where nothing fucking worked Oct 08 21:04:57 g00s: im not :) Oct 08 21:05:11 Basically what I really need is just a really simple way of storing your friends (like the contacts db) + their birthday, it's just a simple assignment to create a service that sends an SMS to your friend on their birthday. Oct 08 21:05:27 im perfectly content with using Linux, ive tried OSX a number of times and just see absolutely zero reason to switch Oct 08 21:05:47 if you like it, cool, glad you dont have issues Oct 08 21:05:51 birbeck i'd probably use linux again too if i didn't use adobe lightroom Oct 08 21:05:52 Looks to be just an adb issue, as the device is visible from osx just fine Oct 08 21:05:56 Annoying as hell Oct 08 21:06:17 g00s: why not use darkroom? Oct 08 21:06:23 yeah i saw that but Oct 08 21:06:33 im not into photography, so i dont really know the software Oct 08 21:06:36 seriously, adobe has some special magic with some of their adjustments Oct 08 21:06:44 But seriously, there is a shitload amount of code needed to do this.. and it's basically all boilerplate :/ Oct 08 21:07:05 i use inkscape and gimp, which arent as good as photoshop and illustrator, but its the tools i know so i can use them better Oct 08 21:07:43 birbeck and my last experience with inkscape, the shittiest run project on the planet, has me hesitant to migrate my digital photo collection .. keywords, adjustments, etc … to another open source project Oct 08 21:07:54 of course, adobe sucks too Oct 08 21:08:05 they sent me an email sayig i should look at my credit rating for identity theft Oct 08 21:08:28 adobe vs gimp is a useless discussion. People usually aren't aware that gimp had some features before Adobe even dreaming about them Oct 08 21:08:52 Denommus: that is true on both sides Oct 08 21:09:25 birbeck: gimp people are usually aware that Adobe had some features before gimp did Oct 08 21:09:31 problem with gimp until recently, is that it didn't have enough bits for color channels. so you basiclly pissed away a bunch of color depth from your raw files Oct 08 21:09:34 Denommus: yes, and Gimp lacks lots of features they could have simply implemented by looking at what Adobe is offering, no dreaming necessary at all. Oct 08 21:09:53 TheTrash: for instance? Oct 08 21:09:53 which is, pretty fucking important :) Oct 08 21:10:34 gimp is amazing for the amount of people working on it Oct 08 21:10:41 they are seriously understaffed Oct 08 21:10:50 i think, 2 or 3 full timers at most ? Oct 08 21:11:03 Yes, it's quite good, considering the circumstances. It's alright if they're not able to compete with a multi-billion dollar company. Oct 08 21:11:04 inkscape just cant get their shit together at all Oct 08 21:11:29 in fact, if svg hasn't taken off because either (1) tools are too expensive (Ai) or (2) they suck, inkscape is #2 Oct 08 21:12:21 somebody could get quite rich right now, providing something like Mac Sketch, that did SVG, cross platform for much lower cost than Ai Oct 08 21:12:30 and smaller, more focused, better UX Oct 08 21:12:39 I wish people stopped saying that gimp doesn't have enough things and started, at least, opening feature requests Oct 08 21:13:09 Inkscape doesn't really fix bugs... Oct 08 21:13:23 Denommus: probably because most people that say that, never had any intention on using it anyhow Oct 08 21:13:34 Guys bit general question about android api it seems that you have to write a lot of non need code with android java api for example fiendByView with casting or Toast.makeText(context, text, duration) etc Oct 08 21:13:50 Denommus: well, dunno about now, but long-standing issue with GIMP that was definitely reported was lack of CMYK support, and later on (which caused CinePaint) 16/32bit colour Oct 08 21:14:01 Trudko: try ButterKnife Oct 08 21:14:17 https://github.com/JakeWharton/butterknife Oct 08 21:14:22 bread knife Oct 08 21:14:52 Rather, it takes them a few years to fix bugs, even when you pretty much specify exactly where the problem is in the code even Oct 08 21:14:55 Trudko: if youre doing tons of toasts, youre probably doing something wrong Oct 08 21:14:57 JakeWharton: is that your next library :p Oct 08 21:15:05 it just might be! Oct 08 21:15:06 jayne i am using android annotations. Oct 08 21:15:29 birbeck: well i am not that much but still even if I would use one whats the point of passing context and duration Oct 08 21:16:18 Want it to auto-guess how long you want to display a toast? :D Oct 08 21:16:25 write a method showShortToast(String message) / showLongToast(String message)? Oct 08 21:16:31 The context thing I'll give ya. Quite annoying to pass it around. Oct 08 21:17:30 But can't think of a way to get around that. Oct 08 21:17:41 birbeck thats what I ended up doing Oct 08 21:18:44 findViewById and Toasts are just about the most trivial things you can do Oct 08 21:19:13 sure they might require one more method call or cast than you want, but the IDE writes 90% of it for you anyways Oct 08 21:19:27 yeah took me just one google and minute to make it work Oct 08 21:23:35 Request: Square's Android Abstraction API :p Oct 08 21:23:55 Response: HTTP/1.1 500 Not Found Oct 08 21:23:58 er Oct 08 21:23:59 404 Oct 08 21:24:00 whatever Oct 08 21:24:27 I need a bit of help. I've written this patch for an app called BuildWatch: https://github.com/sorenh/buildwatch/commit/d204e4055c7cf815e903830cbe523337387a7092 but eclipse says that GetCrumbInfoCommand(Context) isn't defined in JenkinsRetrievalCommand. Oct 08 21:24:37 It's been almost 10 years since I've last done Java development, so this may be something completely silly. Oct 08 21:24:55 soren java hasn't changed much in 10 years :D Oct 08 21:25:01 I am just so curious how you guys at Square glue your apps togther with Activities, Fragments etc. Oct 08 21:25:11 we don't use fragments anymore Oct 08 21:25:17 g00s: hmm... when was 1.5? ;D Oct 08 21:25:22 one activity with a view management library Oct 08 21:25:22 g00s: My recollection of it has :) Oct 08 21:25:24 i predict Jake's new library will be called Elmer's :D Oct 08 21:25:32 lol are you even writing android anymore Oct 08 21:25:54 Seriously, Jake? Oct 08 21:25:57 Or are you just messing with me. Oct 08 21:26:02 sounds like square has abstracted like 80% of android away :) Oct 08 21:26:13 of course i'm serious. fragments are awful Oct 08 21:26:40 Androidless Android™ by Square Oct 08 21:26:45 they have a dumb API, a dumb, overly-complex state machine which offers zero introspection, and have design patterns which encourage doing the wrong thing Oct 08 21:27:22 g00s: they stuck a dagger in it, scooped everything out with a spoon, put some okhttp back in and wired it up with otto. Oct 08 21:27:22 Is square going to release this "view management library" Oct 08 21:27:26 JakeWharton has anyone at square discussed how they correct these things in a blog / youtube, etc ? Oct 08 21:27:33 why do you think that's not doing Android? fragments and loaders didn't exist at some point and yet we wrote apps with rich transitions by managing views Oct 08 21:27:36 JesusFreke ha ! Oct 08 21:28:26 Hello Oct 08 21:28:32 Is it because GetCrumbInfoCommand extends JenkinsRetrievalCommand? Oct 08 21:28:54 JakeWharton: What's your talk about @devoxx btw? Oct 08 21:28:59 Dagger Oct 08 21:29:28 Dagger on Android, specifically Oct 08 21:31:23 I have to wonder, isn't that View Manager library a big state machine, too? Oct 08 21:31:43 it's *the* state machine Oct 08 21:31:47 heh Oct 08 21:31:52 no fragments, no loaders, and one activity Oct 08 21:32:34 everything is a view in a beautiful coordinated symphony of android.animation.* Oct 08 21:32:43 Makes sense, since vanilla Android pretty much makes everyone invent their own state machine. Oct 08 21:32:46 And that's easier to manage? I mean, that one Manager does _everything_. Know which view to display, keep state, intelligently keep or dispose Views, handle orientation change etc? Oct 08 21:32:47 hahaha Oct 08 21:32:51 canadiancow had some tips on using Fragments in his io talk; my take-away if i recall was that the fragments should be stateless as possible; that was my mistake on a previous project Oct 08 21:33:26 g00s: link? Oct 08 21:33:31 kakazza one sec Oct 08 21:34:07 loaders have a stupid API but they at least can be beaten into being useful. fragments are just a ball of mess. Oct 08 21:34:13 JakeWharton: Hmm, do you just have a very distinct app and design or how do you manage to not break the devices own animations users are used to when switching Activities/Fragments? Oct 08 21:34:43 what animations? there's the activity open animation and the activity close animation. Oct 08 21:34:46 that's it Oct 08 21:34:48 kakazza https://developers.google.com/events/io/sessions/326148829 Oct 08 21:35:12 Which is different from manufacturer to manufacturer, isn't it? I remember my HTC device having a different animation than the Nexus. Oct 08 21:35:20 Sense VS AOSP Oct 08 21:35:52 i mean, just supply your own in the theme Oct 08 21:35:56 guys is there anyway to call an async task from an async task? Oct 08 21:36:04 navetz gross :) Oct 08 21:36:14 ping-ponging is an anti-pattern Oct 08 21:37:05 That's what I meant, wouldn't that kind of uh... "confuse" the user, since his expectation would be animation A from his experience from 90% of the other apps? Oct 08 21:37:08 g00s: could you suggest a good way for me to do this: I want a task to update my view and a task to getjson data from the web.... i think i just realized my task to getjson data should not be async Oct 08 21:37:13 And you supply animation B? Oct 08 21:37:26 i think loaders are a mess because they are built on asynctask; asynctask is a mess becuase concurrency in java kinda stinks; and add that to the combustive mixture of complex component state / context changing and you got a recipe for mess Oct 08 21:37:29 so then don't supply one Oct 08 21:37:33 ಠ_ಠ Oct 08 21:37:39 ohai g00s Oct 08 21:37:44 hey canadiancow :D Oct 08 21:37:59 i don't think we really care about what it looks like when you're leaving our app for another Oct 08 21:38:32 navetz maybe put in IntentService, look at RxJava Oct 08 21:38:41 alright thanks Oct 08 21:38:59 Loaders are nice, they even save my state for me Oct 08 21:39:00 Since the View Management is not (yet? One can dream, right?) open sourced, how many LoC are we talking about? Oct 08 21:39:08 under 1000 Oct 08 21:39:20 wut Oct 08 21:39:35 navetz here are some things to get you started with Rx https://www.youtube.com/watch?v=DA0ZAnxUKDk and http://mttkay.github.io/blog/2013/08/25/functional-reactive-programming-on-android-with-rxjava/ Oct 08 21:39:35 WHATS NOT OPEN SOURCE? Oct 08 21:39:38 whoops Oct 08 21:39:49 somebody hit caps lock ~_~ Oct 08 21:39:56 it's just a state machine with some hooks into saving and restoring from a bundle Oct 08 21:39:59 And that handles orientation changes, tablet/phone, state,...? I don't habeeb it Oct 08 21:40:12 the layout XML defines tablet/phone Oct 08 21:40:18 orientation is the same as normal save/restore Oct 08 21:40:33 all it does is keep a backstack, handle when you press back, and save/restore itself Oct 08 21:40:48 g00s: oh man so much to learn lol thanks Oct 08 21:40:53 Sure, but you have one Activity, no fragments. Say you have 20 of your "Views", how is that possible gonna handle itself? Oct 08 21:41:27 How would Android determine what to do, since you're going custom. Oct 08 21:41:55 Android doesn't determine anything Oct 08 21:42:17 He has an objects that tells his view manager to inflate layout x when shows, what animation to use, etc Oct 08 21:42:25 you say i want this screen, it goes upwards until someone can handle it, and then it swaps Oct 08 21:44:12 Android's fragmentation is annoying Oct 08 21:44:37 g00s are there any non-trivial open source apsp that use rxjava Oct 08 21:44:48 i keep hearing about this magical new way of programming but havent really seen any android examples Oct 08 21:45:20 the android examples are the same as the java examples, really. you just observeOn(AndroidSubscriptions.mainThread()) Oct 08 21:45:30 shigeru i dont have a list, sorry :( Oct 08 21:45:45 Do you apply/use Rx at Square? Oct 08 21:45:53 yes Oct 08 21:46:04 homebrew or third party? Oct 08 21:46:11 RxJava from Netflix Oct 08 21:46:20 thats interesting to know Oct 08 21:46:24 i really don't care for the pattern Oct 08 21:46:24 indeed it is Oct 08 21:46:36 use what works Oct 08 21:47:15 jasta quick q, what do you think of buck, and would you use it on a personal project ? Oct 08 21:47:19 lol jake sounds like such a hater Oct 08 21:47:22 jasta, always lurking, doing espionage. Oct 08 21:47:24 is there any technology you do like Oct 08 21:47:40 g00s: funny you should ask Oct 08 21:47:51 shigeru: i like Android a lot. Oct 08 21:47:58 i am a buck contributor and have done a huge amount of performance tuning for it Oct 08 21:48:10 i'm wondering if this is a get-out-of-gradle-jail-free card ;) Oct 08 21:48:28 jasta awesome Oct 08 21:48:29 and i think 6 months ago, before i started, i would have overwhelmingly advocated that you not use it because it didn't effectively "pay for itself" in extra features. Oct 08 21:48:33 a new build system for new build systems sake Oct 08 21:48:40 and even after i stopped working on it as my main project, i would've said the same Oct 08 21:49:04 but i'll be honest, it is maturing more quickly than i expected and it may well find a legitimate place in this ecosystem if it were to gain support for IntelliJ and the like. Oct 08 21:49:31 it is built with a paradigm that i personally reject, however: build support for "uber-trees" Oct 08 21:49:35 interesting. i read about it here http://blog.ltgt.net/maven-is-broken-by-design/ Oct 08 21:49:42 i prefer the composition approach of maven Oct 08 21:49:48 hehe Oct 08 21:50:12 but i believe and defend fervently that this is a philosophical choice: both approaches have serious issues Oct 08 21:50:19 and it comes down to which issues you like to battle. Oct 08 21:50:41 I think I'll try to make an application in Kotlin. Anyone tried it? Oct 08 21:50:50 I have Oct 08 21:51:02 it talks big but doesn't reward the developer Oct 08 21:51:24 JakeWharton: what do you mean? Oct 08 21:51:41 it looks nice and shiny but when you actually use it you don't feel that way Oct 08 21:51:54 g00s: as you probably know, i was born from the open source community. i favor the infinite scalability of composition in build/release management. buck is not that. Oct 08 21:52:08 and what about Ceylon? Do you like it? (Yes, I'm aware that Ceylon doesn't support Android) Oct 08 21:52:14 decent IDEA support was a great help, though. Oct 08 21:52:24 never used it. is that the Eclipse one? Oct 08 21:53:05 jasta ok, thanks for your thoughts about that. i was going to give buck a try. maybe i'll stick with gradle for the moment Oct 08 21:53:07 to be honest, i love Java as-is. the verbosity doesn't bother me because it breeds clarity and the IDE writes ~75% of it for me Oct 08 21:53:13 it can be used in Eclipse, but I don't know if it is made by the Eclipse guys Oct 08 21:53:35 I don't agree that verbosity = clarity Oct 08 21:53:45 having final in every single attribute does not make the code clearer Oct 08 21:53:48 g00s: for now, i think the choice is clear because of IntelliJ integration Oct 08 21:53:53 if you have to automate programming, you're doing it wrong imo Oct 08 21:54:05 Denommus: so don't put it Oct 08 21:54:06 g00s: but should that change, buck deserves a look. maybe you sit on the opposite side of this philosophical fence :) Oct 08 21:54:24 JakeWharton: and then you don't have the advantages of immutability Oct 08 21:54:32 final != immutable Oct 08 21:54:37 poutine: that's glib to the point of being an utterly stupid thing to say. Oct 08 21:54:38 do you have the link for buck? Oct 08 21:55:04 final isn't even a runtime constraint Oct 08 21:55:06 jasta, No it isn't, if your programming language has a ton of filler code, it's a bad language, you should not need to automate the act of programming Oct 08 21:55:28 assist isn't automation Oct 08 21:55:52 JakeWharton: well, see, it is automation, it's just automation is not this evil monster he seems to hink it is. Oct 08 21:55:58 automation is inherent to using a computer at all. Oct 08 21:56:08 i mean it's like saying if you have to tab complete your filenames then you should shorten them. it's just an absurd comment. Oct 08 21:56:21 and frankly now i'm upset for having heard it. Oct 08 21:56:22 not true. i flip bits on the CPU directly and watch the outputs Oct 08 21:56:37 nobody has to do anything >.> Oct 08 21:56:39 jasta, It's not the same at all, you only draw that analogy because you're forcing yourself to be narrow minded about it Oct 08 21:56:42 though i guess the CPU is automating the logic gates. NOOOOOOOO Oct 08 21:57:06 maybe what poutine is getting at is; if your language is not expressive to represent the domain and you are resorting to external DSLs or code generators, maybe its not a good fit Oct 08 21:57:42 i'm pretty sure his argument is nowhere near as sophisticated as that Oct 08 21:57:54 in any case, IDGAF. bye Oct 08 21:57:56 hehe Oct 08 21:58:02 JakeWharton: yes, I know. Even then, final is usually more useful than non-final. Among other dumb defaults Oct 08 21:58:22 another way of saying it is, we don't use java where we would use perl ;) Oct 08 21:58:27 oh python these days, sorry Oct 08 21:58:43 Denommus: penalty of a 15-year-old language I guess. I don't disagree. Oct 08 21:58:54 ... it's that old? Oct 08 21:59:02 * capella used to code by toggling switches on this bad boy http://en.wikipedia.org/wiki/File:PDP-8.jpg Oct 08 21:59:14 p_l: 1995 Oct 08 21:59:38 ... yep Oct 08 21:59:56 p_l i remember when Josh Bloch decried java getting closures because it was like your grandmother getting belly-button ornaments Oct 08 22:00:14 ... wat Oct 08 22:00:17 haha Oct 08 22:00:29 it always had not-done-properly closures, though Oct 08 22:00:33 he was thinking, java ages gracefully … let it stay as is Oct 08 22:00:46 so it's more like finally putting something in the empty holes Oct 08 22:00:51 let scala / clojure continue the race Oct 08 22:00:54 JakeWharton: of course, that's only one thing about verbosity. Not having higher-order functions is other one. But then Java 8 will add them (nobody knows when Android will get this, though) Oct 08 22:00:59 or other jvm languages Oct 08 22:01:12 Denommus: never. android will never get it Oct 08 22:01:16 android 2.3.3 is like ie6 to me Oct 08 22:01:25 i hate that thing, and it wont go away Oct 08 22:01:33 so ignore it Oct 08 22:01:42 when 40% of our customers use it, i can't ignore it Oct 08 22:01:47 leave them on an old version Oct 08 22:01:48 unfortunately they are still selling new phones with it Oct 08 22:02:10 fuck, a few of the new military / hardened phones are still GB Oct 08 22:02:12 I still love my 2.3.3 phone Oct 08 22:02:14 we dont have an old version to leave them on Oct 08 22:02:19 probably because the approval process takes a long time Oct 08 22:02:32 i mean, our app isn't released yet Oct 08 22:02:47 Hi, I am Making a push notification plugin for one of the cross platform sdk. I have successfully completed all the steps required except registering a BroadcastReceiver. I have declared a BroadcastReceiver, which is started from an IntentService. The plugin behaves, as if the intentservice was never started. I have no experiece working with any kind of service before. Do I have to manually start it? Oct 08 22:02:54 g00s: internationally, gingerbread is still being produced quite often. Oct 08 22:02:55 brand new phones Oct 08 22:03:51 jbraeg: You have 40% of your users on an unreleased app, what? Oct 08 22:04:12 lol Oct 08 22:04:17 well, our alpha users Oct 08 22:04:43 we have a desktop product, and have stats about what people want to use our android app Oct 08 22:05:32 jbraeg: yes, I'm having trouble with it RIGHT NOW Oct 08 22:06:30 and regarding the conversation earlier, i actually love android loaders Oct 08 22:06:50 what i dont like is that it's only convenient for a single load on a page Oct 08 22:07:12 where if you have a listview that requires a different load for each row, it's not so hot Oct 08 22:07:45 rxjava looks like, i'm going to have to check that out Oct 08 22:12:41 jbraeg Rx is good for streams; i still use plain jsr166 / HandlerThread too ;) Oct 08 22:14:03 it's good for lifecycles. subscribe in resume, unsubscribe in pause. Oct 08 22:14:10 great, my nexus 7 isn't prompting me to authorize the computer Oct 08 22:14:27 no need to care about what happens behind the scenes in your presentation layer Oct 08 22:14:45 what do you do when that happens? Oct 08 22:15:27 clarify the question Oct 08 22:16:20 I connected my nexus 7 on Windows, but the prompt to authorise the computer didn't appear. So I can't debug on the device Oct 08 22:16:51 Try clearing the device's whitelist and plug it in again Oct 08 22:17:45 nothing Oct 08 22:17:46 or killing/restarting adb? Oct 08 22:18:43 nothing Oct 08 22:18:50 adb wait-for-device also doesn't do anything Oct 08 22:20:17 Denommus: is this your first time connecting ? Oct 08 22:20:22 Denommus: what does adb version say? Oct 08 22:20:28 yes Oct 08 22:20:43 Android Debug Bridge version 1.0.31 Oct 08 22:20:47 (you need >= 1.0.31 to get the authorize dialog to appear) Oct 08 22:20:48 okay Oct 08 22:20:50 Denommus: on win 7 ? Oct 08 22:20:56 yes Oct 08 22:21:13 you have to install USB drivers for Nexus 7 Oct 08 22:21:26 hm Oct 08 22:21:54 and you have to enable developer options and allow usb debugging Oct 08 22:22:48 is it 2013 Nexus 7 ? Oct 08 22:23:02 or the first gen Oct 08 22:23:53 Denommus: http://www.theandroidsoul.com/nexus-7-2013-drivers-installation-guide/ Oct 08 22:24:08 shmoooz: I have enabled developer options. It works on Linux Oct 08 22:24:58 I hate Windows Oct 08 22:25:06 now it is slow as hell Oct 08 22:25:25 Hey ya, I want to add items to my settings menu for my dev app. I know I add it to the /res/xml/pereferences.xml but how do I get it to carry out functions? Oct 08 22:25:30 fuck it, I'll reboot Oct 08 22:25:36 tomorrow I'll look into that Oct 08 22:25:50 it boots that slow? ;) Oct 08 22:26:00 I'm at work Oct 08 22:26:08 and I'm going home Oct 08 22:26:10 bye Oct 08 22:26:12 lol ok Oct 08 22:26:14 later Oct 08 22:27:29 XXCoder2 he has a lot of stuff in his autoexec.bat :| Oct 08 22:28:09 maybe he needs to add the himem386.sys driver ;) Oct 08 22:28:18 lol ughh Oct 08 22:28:21 I hated that era Oct 08 22:28:37 I had to tweak audio stuff when I didnt own any gosddamn speakers Oct 08 22:28:47 hm, my computer isn't working, let me unplug my audio card, change this jumper to put it on a different IRQ, ugh Oct 08 22:28:48 it was fun, so easy to hack anything Oct 08 22:28:48 had to buy cheapest minium sound cards too Oct 08 22:29:11 not much competition either Oct 08 22:29:20 I call it voodoo era Oct 08 22:29:27 not because of voodoo cards then lol Oct 08 22:30:35 anyone remember insanity that is voodoo videocards? Oct 08 22:30:46 last ones needed molex plugs for extra power Oct 08 22:30:57 unreleased one needed WALL plug for video card@ Oct 08 22:31:14 i remember the day i got my geforce2 Oct 08 22:31:21 winamp visualizations were on full screen that day Oct 08 22:31:42 XXCoder2: quite a lot of GeForce and Radeon's needed molex for power, nowadays they simply changed the power connector Oct 08 22:32:09 oh no, it was the voodoo2 i got Oct 08 22:32:13 yeah they do need lot of power. but wall plug jeez Oct 08 22:32:15 geforce2 was much later Oct 08 22:32:15 a mid-end card takes one, high-end takes sometimes two Oct 08 22:32:41 XXCoder2: I recall storage cards having wall plugs ;P Oct 08 22:32:50 lol Oct 08 22:33:05 (because they needed it to not lose data when computer was offline Oct 08 22:33:05 ) Oct 08 22:33:06 its funny how even back in those days they advertised those crappy cards as cutting edge , bringing cinematic performance to your games Oct 08 22:33:26 Hey ya, I want to add items to my settings menu for my dev app. I know I add it to the /res/xml/pereferences.xml but how do I get it to carry out functions? Oct 08 22:33:35 shmoooz: Back in the day Voodoo 2 was the cutting edge for games ;) Oct 08 22:34:51 it was Oct 08 22:35:13 I had a Voodoo Rush Oct 08 22:36:57 with a Pentium 1 133 Mhz 32 MB ram, played Tribes 1 at about 8 fps Oct 08 22:37:05 i remember when my GeFrorce didn't work as advertised because they didn;t follow the AGP spec; i learned back then nvidia is a bunch of clowns Oct 08 22:37:18 yet they still around Oct 08 22:37:32 somehow Oct 08 22:37:56 they have great high end gpus; but seems like their system engineering isn't very capable Oct 08 22:38:47 i'm flummoxed that the Surface 2 (rt) is using a tegra4 Oct 08 22:39:36 I was at the Facebook DevCon in London a few weeks ago, they had a session on how they use Buck. The took a build job that'd take 5 minutes in Jenkins & got it down to near single digit seconds. Oct 08 22:39:42 *weeks=months Oct 08 22:39:59 i think their codebase is huge Oct 08 22:40:07 That is anything makes it worth a look. Oct 08 22:40:09 *if Oct 08 22:40:38 Desarun: buck performs well if you have an uber tree kind of environment. Oct 08 22:40:48 uber tree? Oct 08 22:40:51 where you were previouslyd oing the naive thing of rebuilding most of the world on all builds Oct 08 22:41:00 kakazza: yes, like aosp for example. Oct 08 22:41:07 one giant tree of tons of different projects Oct 08 22:41:41 if you do something like that with ant or maven (assumign youre doing it naively), then you will basically always do clean builds and it will take an eternity Oct 08 22:41:54 buck optimizes that kind of tree very well. Oct 08 22:42:30 maven, conversely, optimizes that tree poorly but instead asks that you don't use an uber tree but rather divide projects along very broad boundaries where most of the deps of a project are in the artifact store already and not in the build root. Oct 08 22:42:56 so if you had this as a maven project, you'd routinely be building the specific submodule you want and letting the artifact store do its job. Oct 08 22:43:32 I swear the keep-alive in AndChat is too short. Oct 08 22:43:37 aosp, interestingly enough, rolled their own very unsophisticated version of that same thing: if you are hacking on bionic, you run mmm bionic/libc && adb sync. if you naively typed make instead, it would take FOREVER. Oct 08 22:46:05 Are peple using java6 or java7 with their development? Oct 08 22:46:10 with their android development, even Oct 08 22:46:26 I'm using 7 Oct 08 22:47:14 thnks shmoooz Oct 08 22:47:40 We use 7, but doesn't Android only work with 6 features? Oct 08 22:51:59 is it possible for touch events to pass through an activity to another activity underneath? Oct 08 22:52:46 There's a nice article somewhere about how google internal build system works. Dunno if it's used for everything, but if repo etc. somehow integrates with that I wouldn't be surprised Oct 08 22:53:30 karakuri: no Oct 08 22:54:14 well, that appears to be whats happening Oct 08 22:54:31 i have an activity with a button in the top corner to close it Oct 08 22:54:46 he activity beneath has a clickable item in that same part of the screen Oct 08 22:55:07 a close button? sounds dirty :S Oct 08 22:55:11 closing the one activity takes me back to the activity beneath and also clicks the view that's in the same place Oct 08 22:55:22 don't hate, it's what the designer gave me ;) Oct 08 22:55:28 isnt there set event tp handled? Oct 08 22:55:29 Parkinsons? Oct 08 22:55:35 to Oct 08 22:56:31 p_so many build systems … reading about what they use on chrome now; ninja … scons was too slow Oct 08 22:56:36 p_l ^^ Oct 08 22:57:12 g00s: the system they wrote about (not published) is for the things like search engine etc., afaik Oct 08 22:57:19 ok Oct 08 22:57:20 and it involved also test automation Oct 08 22:57:41 meanwhile I'm seriously considering buying a chromebook Oct 08 22:57:56 for what reason ? Oct 08 22:58:12 p_l you read that article too? Oct 08 22:58:32 bankai_: because my R61i is dying even with its awesome fighting spirit Oct 08 22:58:40 http://blog.zfeldman.com/2013-10-05-setting-up-a-chromebook-development-laptop/ Oct 08 22:58:50 bankai_: and Chromebooks are about the cheapest stuff I can get Oct 08 22:59:41 you going to keep that OS on it ? Oct 08 22:59:55 isn't it pretty hard to remove it ? Oct 08 23:00:34 Not according to the article. They use some weird not-quite-dual-booting system Oct 08 23:00:43 oh, crouton Oct 08 23:00:44 Desarun: not sure, I'm somewhat new to both Oct 08 23:01:09 g00s: crouton means running another distro in a chroot Oct 08 23:01:18 I'm actually considering keeping ChromeOS Oct 08 23:01:28 technically testing that everytime I work on uni computer :| Oct 08 23:02:44 Most important tool is available, meaning SSH Oct 08 23:03:19 oh, so it's not a dev thing for you ? Oct 08 23:03:29 bankai_: actually is Oct 08 23:03:41 just not locally Oct 08 23:03:42 I developed college projects using ssh before Oct 08 23:03:48 from home to campus server Oct 08 23:04:31 In this case I'd probably keep a machine on Digital Ocean that would be my "workstation" for all the special tools (that I could rebuild in 30 minutes with single script) Oct 08 23:05:33 hi, why i am unable to send a LocalBroadcast from an activity ? if I try to LocalBroadcast...sendBroadcast(intent) inside an activity it returns FALSE. Oct 08 23:06:48 what does it returning false mena Oct 08 23:06:57 doesnt really say in the documentation Oct 08 23:07:26 shigeru: maybe it was not possible to send the broadcast, because I am not receiving it on the BroadcastReceiver Oct 08 23:14:41 p_l tmux works nicely for that :) Oct 08 23:16:00 I was having trouble running this application last night but have since made it work. Now I am dumbfounded as to whether returning false or true for onMenuItemClick() handler would matter. http://ideone.com/G0D2SY Oct 08 23:16:40 I vaguely remember being told to return false over returning true, but have since forgotten the reason. Oct 08 23:17:08 What's the deal with R ? Does R stand for something? Oct 08 23:17:23 Are you kidding? Oct 08 23:18:02 R is used to denote Resource Oct 08 23:18:03 no, are you saying you knew what it meant the same day you started learning android programming? Oct 08 23:18:21 Yeah because it's the basics. Oct 08 23:18:53 so you knew it when you were born then... ok, not everyone's that special Oct 08 23:19:33 You're so sporadic. Oct 08 23:21:17 We all have to start somewhere (except you, it would seem) Oct 08 23:27:47 both of you relax. Oct 08 23:28:23 so i think im terrible at ui design Oct 08 23:28:23 http://gyazo.com/abd5af0c950f73d566dd02dc1abb6666 Oct 08 23:34:41 uCatholic? Oct 08 23:34:49 i'm confused about god all of a sudden Oct 08 23:35:02 eh Oct 08 23:35:08 no a big religious guy myself Oct 08 23:35:21 my uncle operates a lot of catholic social media/websites etc. Oct 08 23:35:30 making an app for him Oct 08 23:42:42 damnit, who designed this mess.. 250+ lines of code to use a SQLite database (+ create a contentprovider). Oct 08 23:43:00 All this java is demotivating me from coding for android :-p Oct 08 23:47:19 getting better! http://gyazo.com/c312bb3425217dfee0f398924763c38f Oct 08 23:50:31 flexd: i guess a lot of that depends on how many tables, how many columns are and how you format your code, but you could easily make it even more than 250 lines of code Oct 08 23:52:11 birbeck: My point was that 250 lines of codes is insane Oct 08 23:52:17 for a single table with 3 columns Oct 08 23:53:14 I have been looking at the iosched 2013 application though, which is a bit complex Oct 08 23:53:57 Any good ui design people here willing to offer some advice? Oct 08 23:54:29 desmin88: What advice are you looking for? Oct 08 23:55:04 Just general layout advice. I'm terribly unimaginative and need some basic ideas how to structure this website - http://www.ucatholic.com/ - into an app layout Oct 08 23:55:12 Actually, screw this, I do not need this advanced stuff Oct 08 23:57:14 Design the app elements in a pentagram form! Oct 08 23:57:48 sonOfRa: good idea gonna start it now Oct 08 23:59:25 flexd: you might not need a content provider Oct 08 23:59:28 desmin88: I imagine it starts with scratching about 90% of all that content... then start with thinking about when and why people would use this app. Oct 08 23:59:51 they are nice for hooking up to cursor adapters, but if youre not sharing data with other apps, you can forgo it for the time being Oct 09 00:00:05 You'll find that people on mobile platforms have about 1% of the attention compared to what they have when watching a website on their computer. Oct 09 00:00:16 hmmph Oct 09 00:00:21 but 250 lines of mostly boilerplate copy/paste code isnt horrible Oct 09 00:00:31 its well defining your contract Oct 09 00:00:32 If the project is to convert all that content to mobile, I sure hope you're getting $50,000 or more for it :D Oct 09 00:00:46 not all of it Oct 09 00:00:46 no Oct 09 00:02:23 desmin88: I recommend thinking about what content people will use when they're not on a computer... in my opinion that's: 1) compact content 2) only the most recent content 3) the kind of content that one would actually use when not in the comfort of one's home and needs to be readily accessible. Oct 09 00:03:25 Then, if you end up with 4 things or less, make a horizontal bar that's pressable and swipeable. If it's more than 4, either add subcategories or make some sort of dashboard. Oct 09 00:06:08 hi guys can someone please point me to some site where can i get info about how create an android app? i want to develop under linux or windows but use it in my android 4.3 tablet Oct 09 00:06:31 SamSagaZ: google Oct 09 00:07:32 ok :) Oct 09 00:07:59 SamSagaZ: d.android.com Oct 09 00:08:05 TheTrash: thanks for the input Oct 09 00:08:17 by horinzontal bar do you mean split action bar? Oct 09 00:08:50 I want to use a nav drawer, but cant think of any view that would be a 'home view' Oct 09 00:09:39 desmin88: no, tab bar (split bar is better for context-related stuff, not as a main menu). Oct 09 00:10:27 ahh i see what you mean Oct 09 00:11:04 It's what they call "stacked tabs", evidently. http://developer.android.com/design/building-blocks/tabs.html Oct 09 00:11:38 ok Oct 09 00:12:33 let me get a rough little ui drawn up Oct 09 00:21:47 The following classes could not be found: Oct 09 00:21:49 - CalendarView (Change to android.widget.CalendarView, Fix Build Path, Edit XML) Oct 09 00:21:51 - DatePicker (Change to android.widget.DatePicker, Fix Build Path, Edit XML) Oct 09 00:21:53 Uh Oct 09 00:24:15 That's not good :/ Oct 09 00:25:04 TheTrash: http://gyazo.com/b0b55637353d3b4534fbc17a5ad95c35 It swipes right for total of 4. What do you think? Oct 09 00:27:48 i wish there was some way to get to the radio's state machine, to find out which states (sidle, standby) it was in Oct 09 00:28:12 g00s_: in what sense state? Oct 09 00:28:23 power states Oct 09 00:28:50 and be able to calculate a cost function between state transitions Oct 09 00:28:55 outside of very broad ("on-off") I don't think you'd be able to get that Oct 09 00:29:16 and radio firmware is responsible for that kind of economy calculus Oct 09 00:29:33 yeah but we're using tcp on top of it :P Oct 09 00:30:08 i was thinking about writing a little library for optimal control of timeouts, reconnects, etc Oct 09 00:30:15 g00s_: yes. But at the level of abstraction you're working, just keeping a PDP context online blows fine-grained state data into win Oct 09 00:30:18 *wind Oct 09 00:30:30 g00s_: don't run TCP then Oct 09 00:30:47 well then Oct 09 00:30:54 use something structured like Google's QUIC when possible (some networks will block it) and run your calculations on that Oct 09 00:31:09 greetings guys Oct 09 00:31:27 hm, i think this mqtt requires tcp as transport Oct 09 00:31:34 * g00s_ looks at quic Oct 09 00:31:42 quick question: i am noticing action buttons seem to be placed along the top of the screen (for example edit an event in the calendar and note the position of save and cancel) Oct 09 00:31:49 g00s_: TCP in general is bad choice on mobile network, and your radio won't help you at all with it, because it's not radio's state that causes it but the fact you're on (very) shared medium Oct 09 00:32:04 is that a common design feature, or is that an actual Android Component that gets leveraged to create that Oct 09 00:32:29 xximjasonxx: I think that uses ActionBar controls Oct 09 00:32:56 p_l, thats what I thought, so its just a menu without any collapsing? Oct 09 00:33:34 p_l interesting Oct 09 00:34:09 although, pretty much as moore's law marches on, tcp keeps pushing itself down into every flea bitten gizmo … Oct 09 00:34:28 i'll have to look into this quic thing Oct 09 00:36:13 p_l, you are certain that I am looking for an action bar? Oct 09 00:36:45 xximjasonxx: I think so Oct 09 00:37:08 g00s_: I don't think it's TCP forcing itself - you get UDP together with TCP, the problem is that TCP is "simple" Oct 09 00:37:14 but that simplicity has big costs Oct 09 00:37:16 ok, ill give it a try - for references, open the Calendar on your phone and just press 'New Event' Oct 09 00:37:33 there is a Cancel and Save across the top, that is what I am trying to recreate Oct 09 00:38:10 xximjasonxx: well, if not action bar, it might be just few buttons styled apropriately in horizontal layout.. Oct 09 00:38:46 p_l, just seems like its done an awful lot in many apps, so I thought it might be a design widget Oct 09 00:38:52 but yeah it could very well be that Oct 09 00:39:20 xximjasonxx the Cancel / Save thing … hold on Oct 09 00:39:53 roman nurik has a code sample Oct 09 00:39:57 g00s_, yeah thats it Oct 09 00:39:59 "Done/Discard" Oct 09 00:40:05 did you find it already ? Oct 09 00:40:09 well mine says Cancel/Done Oct 09 00:40:15 no, i was trying the action bar approach first Oct 09 00:40:24 if you got the link handy, I can check it out Oct 09 00:40:30 oh, heuses the AB but i thought he swaps out the views or something Oct 09 00:40:34 might save me some trouble, otherwise I can google it later Oct 09 00:40:35 i suck at this stuff, hold on Oct 09 00:41:02 well https://code.google.com/p/romannurik-code/source/browse/misc/donediscard/src/com/example/android/donediscard/DoneDiscardActivity.java?r=d4e5917c7b11ae0e49928483f7d172c37d66ec48 Oct 09 00:41:56 and dome more discussion, pointing to his g+ post http://www.androiduipatterns.com/2012/08/roman-nurik-on-done-discard.html Oct 09 00:42:43 interesting Oct 09 00:42:47 sorry can't help you much more Oct 09 00:43:02 no worries Oct 09 00:43:05 its not the action bar Oct 09 00:43:07 i didnt think it was Oct 09 00:44:18 custom action bar Oct 09 00:44:40 i think this sort of thing should be baked in :| Oct 09 00:44:47 oh well, easy to do Oct 09 00:44:58 http://stackoverflow.com/questions/15103895/cancel-done-buttons-in-calendar-app-is-it-part-of-action-bar Oct 09 00:45:02 although it invites inconsistence Oct 09 00:45:09 indeeed Oct 09 00:47:25 oh crap, an AS update Oct 09 00:47:30 what to do , what to do Oct 09 00:47:46 What do you guys think would be a good android layout for this website? http://www.ucatholic.com/ Oct 09 00:47:58 LinearLayout Oct 09 00:48:11 oh heh, not available as a patch, guess i have to reinstall Oct 09 00:48:23 * xximjasonxx seconds Oct 09 00:48:25 JakeWharton: d: Oct 09 00:48:33 g00s_, it patched for me Oct 09 00:48:44 desmin88 are you on mac ? Oct 09 00:48:45 desmin88, without some kind of a design and exploration session to determine what is important on this site Oct 09 00:48:52 it says "no patch for you!" Oct 09 00:48:55 that is a pretty loaded question Oct 09 00:48:59 g00s windows. Oct 09 00:49:03 ;) Oct 09 00:49:30 g00s_: change log a bunch of useless things Oct 09 00:49:41 ok fuck it then Oct 09 00:49:49 xximjasonxx: http://gyazo.com/6c7a95eb4a9e3580288702a85153380d Oct 09 00:50:23 that is important Oct 09 00:50:41 except for 'prayers' and'resources' Oct 09 00:51:00 contact can go in the action bar collapsed Oct 09 00:51:13 agreed Oct 09 00:51:26 daily readings, saint of the day, apologetics can go across the top in tabs Oct 09 00:51:43 yes Oct 09 00:51:55 i dont think people read blogs on phones (i could be wrong) Oct 09 00:52:00 desmin88 i would ask yourself if this would be better as a mobile web site Oct 09 00:52:09 * xximjasonxx nods Oct 09 00:52:12 not sure what a native app brings to this Oct 09 00:52:37 i cant really decide Oct 09 00:52:42 g00s_, i can see value in daily readings and the saint thing Oct 09 00:52:54 the blog isnt a blog per se Oct 09 00:52:54 and as this appears to be a school Oct 09 00:53:02 gcm for some updates and what not Oct 09 00:53:07 hm Oct 09 00:53:31 well, if you have enough money and time ;) Oct 09 00:53:38 of course, that said, there is about a million apps, that deliver that sort of content alrady Oct 09 00:53:41 *already Oct 09 00:53:45 native is the best UX, but of course at a cost Oct 09 00:53:59 xximjasonxx: its specific to this website is the point though Oct 09 00:54:13 uCatholic is a semi-large catholic social media whatever the hell i dont really know Oct 09 00:54:18 and they want their own personalized app Oct 09 00:54:31 desmin88, i think if you are going to go native you need to figure out the most important aspects of the site Oct 09 00:54:45 cause i can tell you right now everything will not be practical Oct 09 00:54:51 yes of couyrse Oct 09 00:54:59 what is under Bible? Oct 09 00:55:07 the bible Oct 09 00:55:08 literally Oct 09 00:55:10 lol Oct 09 00:55:12 ok drop that Oct 09 00:55:16 yeah Oct 09 00:55:17 tell them to go find an app for that Oct 09 00:55:30 thats not personalized to the website Oct 09 00:55:33 so it makes sense Oct 09 00:55:34 prayers might be good and daily readings Oct 09 00:55:39 and saint of the day Oct 09 00:55:42 those are your big three Oct 09 00:55:51 [Daily Readings | Saint of the Day | Apologetics ] as tabs Oct 09 00:56:04 switch Apoloetics with Prayers I think Oct 09 00:56:39 desmin88 ask for analytics on the original website to see what are the hottest areas Oct 09 00:56:45 see if they apply to the mobile context Oct 09 00:56:51 g00s_: good diea Oct 09 00:56:56 idea* Oct 09 00:57:14 g00s_, clearly not a consultant are you :P Oct 09 00:57:23 nah ;) Oct 09 00:57:30 im confused who apologetics and blog are different Oct 09 00:57:33 *how Oct 09 00:57:37 i did go to seminary a while back tho ;) Oct 09 00:57:48 woah, way to NOT put display: block on your tags Oct 09 00:57:56 fail Oct 09 00:58:02 xximjasonxx: its wordpress backed Oct 09 00:58:13 i dont think there is much control on that Oct 09 00:58:15 but Oct 09 00:58:23 prayers shouldnt be included imo Oct 09 00:58:30 its basically static Oct 09 00:58:30 www.centare.com Oct 09 00:58:47 thats my company, word press backed, their links cover their full block Oct 09 00:59:00 and no i didnt design that site Oct 09 00:59:00 desmin88 uh oh, is it easy to create a service so they can push stuff to your app ? Oct 09 00:59:12 yes Oct 09 00:59:16 ;) Oct 09 00:59:21 well Oct 09 00:59:23 relatively easy. Oct 09 00:59:35 i actually have a talk i give on push notifications with Azure Mobile Services Oct 09 00:59:43 makes gcm relatively fun Oct 09 00:59:45 Im thinking\ Oct 09 01:00:13 [Daily Readings | Saint of the Day | Apologetics ] as tabs, perhaps blog. Oct 09 01:00:18 contact in overflow Oct 09 01:00:42 you sure there prayers are static? Oct 09 01:00:50 *these Oct 09 01:01:36 this seems like something you would want to include, people use FB to leave prayers Oct 09 01:01:40 just saying Oct 09 01:01:41 the only thing that changes ever is "prayer petition" Oct 09 01:01:58 yes that Oct 09 01:01:59 ahh Oct 09 01:02:06 see here is what i would do Oct 09 01:02:19 for the mobile app, reduce the section to just prayers Oct 09 01:02:24 and let people add their prayers Oct 09 01:02:26 fb login Oct 09 01:02:48 kind of a neat feature, imo Oct 09 01:02:58 yes it would be Oct 09 01:03:03 but then how would i structure the tas? Oct 09 01:03:05 tabs* Oct 09 01:03:20 you would have a section 'Extras' in overflow Oct 09 01:03:38 that would take them to a section where they could check the blog or apoloetics (since the later is effectively a blog) Oct 09 01:04:24 you could easily use something like Parse or Azure Mobile Services to manage the FB stuff Oct 09 01:04:32 * xximjasonxx is more familiar with Azure Oct 09 01:04:55 hmm Oct 09 01:04:56 unlike g00s_, I am a consultant :P Oct 09 01:05:01 hehe Oct 09 01:05:09 con - sultant as my friend says :) Oct 09 01:05:31 lol Oct 09 01:06:00 so main tabs are Oct 09 01:06:11 JakeWharton do you have Updates -> Channel set to Dev or Canary? I try to set it 'dev', but it will not stick /always goes back to canary/ Oct 09 01:06:20 [daily readings | saint of the day | prayers] Oct 09 01:06:20 never looked Oct 09 01:06:23 default is canary, apparently Oct 09 01:06:50 and in the overflow, add blog/apologetics? Oct 09 01:07:23 yeah, i would add that as a composite section called 'Extras' Oct 09 01:07:39 hmmm. Oct 09 01:08:00 that doesnt seem as accessible as it could be given that it is a significant part of the site Oct 09 01:08:38 g00s_ made a good point to check your analytics Oct 09 01:08:44 desmin88 you'll need to do usability testing Oct 09 01:09:00 first you'll have to define the tasks, then determine task completion rate Oct 09 01:09:07 good idea Oct 09 01:09:17 let me see if i can get analytics w/o asking Oct 09 01:10:03 this is all requirements gathering, personas, etc. if you aren't catholic and don't use the site, especially, hook up with a few users that use the site Oct 09 01:10:14 and determine if there are different types of users Oct 09 01:10:17 create personas for them Oct 09 01:10:45 yeah i definitely dont use the site, lol Oct 09 01:11:06 time to interview Oct 09 01:11:40 (your users) Oct 09 01:11:54 indeed Oct 09 01:12:03 you know, the guy who made this website is pretty smart. Oct 09 01:12:12 He makes a good amount of money through ads Oct 09 01:12:13 etc. Oct 09 01:12:24 and does no work at all, he has other people post for him for free. Oct 09 01:12:47 FB/Twitter/Instagram/Flickr/main site Oct 09 01:12:48 all of it Oct 09 01:12:54 the trick is deciding how to partition the 80%/20%. if you do the progressive disclosure correctly, you may actually provide a link for them that takes unusual functions to a browser on that page, ha, optimized for mobile ;) Oct 09 01:13:38 JACKPOT!!! Oct 09 01:13:42 desmin88, http://developer.android.com/design/patterns/actionbar.html Oct 09 01:13:52 you can have some dropdowns on that bitch Oct 09 01:13:53 :) Oct 09 01:14:03 Spinner you mean? Oct 09 01:14:40 like the thing with a lower right corner arrow? Oct 09 01:14:50 yup Oct 09 01:15:09 that is an option, yes. Oct 09 01:15:12 or Oct 09 01:15:22 this is probably perfect Oct 09 01:15:23 http://developer.android.com/design/patterns/navigation-drawer.html Oct 09 01:15:33 i was thinking of using that Oct 09 01:15:34 i mean then it becomes just about one to one Oct 09 01:15:41 yeah Oct 09 01:15:49 the problem is Oct 09 01:15:54 when using a nav drawer Oct 09 01:16:03 i sort of have to use a home page Oct 09 01:16:35 like start app - > open 'prayers' - > press back arrow to go back to home page Oct 09 01:16:38 well, you can have a landing page which would be the main section most people go to Oct 09 01:17:02 good idea Oct 09 01:17:25 well Oct 09 01:17:32 hmm Oct 09 01:18:20 not exactly Oct 09 01:18:52 because if the landing page is just the most used section 'prayers' how could it be in the nav drawer and be the home screen too Oct 09 01:19:25 its the default activity Oct 09 01:19:35 yes Oct 09 01:19:43 im just saying it is the starting point for the app Oct 09 01:19:47 i see. Oct 09 01:19:49 kind of like "home" on a normal website Oct 09 01:19:50 ok Oct 09 01:20:04 On activity creation, push the feel-good-words fragment and make sure it's part of the back stack Oct 09 01:20:21 But only do it if you have no saved instance state. Oct 09 01:20:46 feel good words? Oct 09 01:22:36 he means prayers Oct 09 01:22:36 :) Oct 09 01:22:48 I don't use bad words. Oct 09 01:23:18 lmao Oct 09 01:26:33 lul Oct 09 01:26:41 By definition, no word is bad? :-) Oct 09 01:26:52 thanks for all the help guys Oct 09 01:27:09 np Oct 09 01:27:33 on a side note, i hate custom action bars :) Oct 09 01:28:16 ? Oct 09 01:28:23 the color? Oct 09 01:28:33 no making my own Oct 09 01:28:45 oh i thought u were talking about mine lol Oct 09 01:28:46 im trying to duplicate the cancel save buttons from the calendar and other apps Oct 09 01:28:50 nope Oct 09 01:28:51 yeah actionbars are a bitch Oct 09 01:29:21 you say centare.com is your company? Oct 09 01:30:05 well the company i work for Oct 09 01:30:12 ahh i see Oct 09 01:31:08 0331... might be a good time to sleep -_- Oct 09 01:31:45 lol Oct 09 01:37:07 Time flies when you're fighting java. Oct 09 01:37:29 tell me about it Oct 09 01:37:49 i love java, i really do, but sometimes it is total bitch to work with. Oct 09 01:37:52 Well _that_ was certainly a desk drawer full of teeth and glasses. Oct 09 01:38:58 >? Oct 09 01:39:38 desmin88: You've obviously never tried Python <3 Oct 09 01:39:41 Python how I love you <3 Oct 09 01:39:56 Anyway, I am past sleepy at this point, got a lot of stuff done today :-) Oct 09 01:42:05 ~pastebin Oct 09 01:42:55 Merh. Oh well. Can someone tell me if I'm doing this fragment transaction correctly? http://pastebin.com/kMHmN0ju Oct 09 01:46:15 Redmega: what makes you think you are not ? Oct 09 01:46:40 The fact that it's inside of an on-click listener and when I click the button the app crashes. Oct 09 01:47:18 the code you pasted seems fine Oct 09 01:47:35 the fact of it being in an onClick… errr… dunno, not something I would do Oct 09 01:47:59 Hmm. Could it be something wrong with the fragment I'm trying to replace the current one with? Oct 09 01:48:12 whats the error ? Oct 09 01:48:17 given that the app crashes, I'm going to say "yes" Oct 09 01:48:22 most common is your imports Oct 09 01:48:33 as in support lib / native use mixup Oct 09 01:48:35 evanc: astute observational skills you have there. Oct 09 01:48:54 Gah. I'm not sure, I just switched over to IntelliJ and I can't figure out the debugger Oct 09 01:49:32 Redmega: good job you still get logcat exception printing Oct 09 01:49:38 or I would think you would Oct 09 01:49:39 :) Oct 09 01:53:17 Looks like a null pointer exception Oct 09 01:54:09 I'm not using the support fragments, i'm using the regular app.fragments Oct 09 01:55:06 well you only have about 4 things in that code that could be null Oct 09 01:55:10 objects that is Oct 09 01:55:15 so should be easy to solve Oct 09 01:56:11 hint mCharacter, fragment, getFragmentManager() and trans Oct 09 01:56:26 I would bet getFragmentManager() == null Oct 09 01:56:29 but guessing Oct 09 01:56:31 :) Oct 09 01:56:58 Yeah. Hmm... So, then, I made the fragment incorrectly? Oct 09 01:57:28 how would I know ? Oct 09 01:57:35 >_< Oct 09 01:59:58 In another area of code (activity main) I have a similar use of the fragment manager to make hte first fragment and it launches the program fine Oct 09 02:00:07 =/ Oct 09 02:00:39 so you can deduce that using getFragmentManager() from inside an interface stuck to a view is not great ? Oct 09 02:01:02 I figured that was it, but then I'm just not comprehending how replace works. Oct 09 02:01:08 again thats a question, never wanted to do anything inside a onClick other than call methods Oct 09 02:01:16 so never tried Oct 09 02:01:47 Have you used FragmentTransaction.replace before? Oct 09 02:01:54 indeed Oct 09 02:02:01 and that code snippet is how it works Oct 09 02:02:13 like I say, you have it inside an onClick though Oct 09 02:02:15 is my point Oct 09 02:02:20 if I have one :) Oct 09 02:03:01 I honestly don't see a difference inside or outside of an onclick. On click the transaction is made. Unless I'm not understanding how /on click/ works, now... =/ Oct 09 02:03:14 click is a view interface Oct 09 02:03:21 not an activity or aything like that Oct 09 02:03:30 so try getApplicationContext().getFragmentManager() Oct 09 02:04:22 or have a final reference to fragment manager ? Oct 09 02:04:27 although thats bad I would think Oct 09 02:04:42 or call a method on the main activity from the onclick Oct 09 02:04:48 that can getFragmentManager() Oct 09 02:05:26 on hang on Oct 09 02:05:34 sorry you said null pointer ? Oct 09 02:05:40 Yep, afaict Oct 09 02:05:49 what I'm thinking would be a different exception Oct 09 02:05:57 so one of the other 3 objects is null Oct 09 02:06:01 Ahh Oct 09 02:06:25 what I was saying would give a method undefiend exception I think Oct 09 02:06:42 *sigh* back to the debugger. Oct 09 02:06:58 3 seconds in the debugger Oct 09 02:07:08 Hm? Oct 09 02:07:30 1 second to set breakpoint, 1 second to move finger to button Oct 09 02:07:33 xD Oct 09 02:07:37 1 second to look at vars Oct 09 02:07:39 :) Oct 09 02:07:39 The mCharacter values are all valid Oct 09 02:08:22 Oh. Oct 09 02:08:27 I think I made a booboo. Oct 09 02:08:38 Maybe. Oct 09 02:08:40 well yeah or there would be no exception Oct 09 02:08:46 Haha Oct 09 02:08:54 "what mistake" thats what you need to find out ;) Oct 09 02:09:02 I think I see what I did wrong. Oct 09 02:11:33 kinda new at java/eclipse.. but, how do i attach the source jar? i've tried googling and following what it tells me to, but i still can't get the source to show up Oct 09 02:13:11 What key string does putInt look for? Oct 09 02:13:38 Or would it be Null? Oct 09 02:14:27 Redmega: putInt on a bundle ? not sure if I understand what your asking Oct 09 02:14:43 that "puts" a key,value in… so doesn't look for anything Oct 09 02:14:46 I'm not sure what I'm asking for either. What exactly is the first params? Oct 09 02:14:58 the key/name Oct 09 02:14:59 A key used for what? To tell what to replace, right? Oct 09 02:15:34 putInt("namedReferenceForGettingMyValue",myValue); Oct 09 02:15:51 getInt("namedReferenceForGettingMyValue"); Oct 09 02:16:06 ... I'm an idiot Oct 09 02:16:20 I cannot comment Oct 09 02:16:45 Blah Oct 09 02:17:45 p_l what VPS were you looking at ? Oct 09 02:18:03 was it digitalocean ? Oct 09 02:21:40 I really don't understand properly how bundles and transactions work. I need to read that more Oct 09 02:24:21 Out of curiosity, do you recommend using bundle args or using extras with an intent? Oct 09 02:25:50 Redmega: what are you other options ? Oct 09 02:26:11 your* Oct 09 02:26:15 I honestly don't know enough android to tell you, StingRay_. Just a beginner here. Oct 09 02:26:37 well to answer that, depends on the data Oct 09 02:26:50 Is there a way to shove an object straight to another fragment? Oct 09 02:26:51 small flags, string such things yeah Oct 09 02:27:07 For example Character mCharacter; Oct 09 02:27:21 g00s_: yes Oct 09 02:27:34 Redmega: no1 can answer that Oct 09 02:27:47 mCharacter is a total unknown object to us Oct 09 02:27:48 :) Oct 09 02:27:55 It's just a class with a few strings and ints in it Oct 09 02:28:08 the pacel or serial it and then yes Oct 09 02:28:35 or write a primative getter/setter for that simple data, if simple enough Oct 09 02:28:36 p_l you checked out a few and settled on them? i was going to go through the same exercise, but trust your judgement. Oct 09 02:29:02 g00s_: well, more like digitalocean was pretty hassle free and without too much pricing Oct 09 02:29:12 the SSD drives are nice addition, though nothing compared to oktawave Oct 09 02:29:50 (they manage 600MB/s, but iirc aren't priced on IOPS count. Oktawave gives you 4.3GiB/s but prices you according to IOPS) Oct 09 02:30:28 g00s_: for the planned use it doesn't seem bad (that is, remote dev workstation that probably isn't going to run anything too interactive Oct 09 02:30:31 ) Oct 09 02:30:47 i've never had a VPS, was going to get something small and maybe see what i can do from there :) Oct 09 02:30:59 g00s_: digital ocean can be a nice place to start, IMO Oct 09 02:31:03 they have quite simple setup etc. Oct 09 02:31:05 maybe some backend parts for my apps, etc Oct 09 02:31:15 ok, cool. thanks Oct 09 02:31:20 g00s_: what you wanting ? for pre-dev/testing I can maybe gift you something Oct 09 02:31:22 I've got... 4ish VPSs setup Oct 09 02:31:27 the problems if anything start when you need something uncommon (like distros that they don't include etc.) Oct 09 02:31:56 Leeds what do you use ? Oct 09 02:32:06 StingRay_ thanks; i was just curious so far. Oct 09 02:32:27 well I have a dual xeon with 500gb just sat there Oct 09 02:32:39 I've got a couple at *really* cheap providers - think $15/year sort of thing... one at DO, for a specific project which I'll get around to doing some work on sooner or later... Oct 09 02:32:40 I think all it does atm is redirect some domains Oct 09 02:32:46 i wonder if anyone is using docker / coreos yet on these VPS Oct 09 02:33:14 and one which I've had for about a decade, which I'm paying around US$24/month for, and which I've *almost* migrated away from, but not quite Oct 09 02:33:37 CoreOS is not available on DigitalOcean, but you can either set up docker on one of their provided distros, or use an image of ubuntu with docker preinstalled Oct 09 02:33:51 aha Oct 09 02:33:53 non-issue for me because I plan to manage my future DO instances from Chef Oct 09 02:33:59 also we use linode for work Oct 09 02:34:09 last bigger use was for week or two where I ran a DB2 for a friend of mine Oct 09 02:34:26 thanks Leeds Oct 09 02:34:48 linode was iirc pretty feature packed, but not too cheap Oct 09 02:35:23 g00s_: for the record, the really cheap ones are bluevm in the US and HTTP Zoom in the UK - which I pretty much just use as a proxy for when I need to appear from a UK IP Oct 09 02:35:49 never heard of bluevm Oct 09 02:36:19 they appear to be vaguely decent, and their cheapest options are really cheap :) Oct 09 02:37:10 they have a $5/year option :D Oct 09 02:37:49 just remember that there are reasons it's cheap ;) Oct 09 02:38:43 DO should be fine for *starting out* Oct 09 02:38:59 or Amazon Free Tier, if you're eligible Oct 09 02:39:39 for anything more serious... I recommend building a big spreadsheet for analysis :> Oct 09 02:39:46 :) Oct 09 02:42:18 linode fairly recently upgraded their plans a lot Oct 09 02:42:25 so the pricing is more inline with others Oct 09 02:42:32 their support is pretty amazing too Oct 09 02:42:46 g00s_: according to my current employer, AWS for example is pretty bad on the mid-tier of usage, but wins when you have highly seasonal runs or you buy stuff truly in bulk Oct 09 02:43:15 personally, I found that AWS can be cheapest way to get a Windows Server (so far) Oct 09 02:43:24 only Standard, but still Oct 09 02:43:33 you dodge the bullet for both OS license and hw cost Oct 09 02:43:45 otoh, AWS is infamous for it's I/O speeds Oct 09 02:43:50 especially with EBS Oct 09 02:44:07 p_l would you use Windows Server ? Oct 09 02:44:18 i haven't touched that stuff in many years Oct 09 02:44:54 so, you need to consider a) Where (geographically) b) is your application I/O bound? c) How much power you need d) how would ou structure it etc. Oct 09 02:45:06 guys i mainly code in delphi and a little of python (and perl and php), you recommend me to learn java to start my first android app? Oct 09 02:45:07 g00s_: depending on goal, yes, I'd use Windows Server. Definitely before using OSX Server :> Oct 09 02:45:15 SamSagaZ: pretty much required Oct 09 02:45:18 OSX server, yeah thats a joke Oct 09 02:45:46 i found some libs to develop using python Oct 09 02:46:09 but think that using java will get more tools, right? Oct 09 02:46:25 Can anyone recommend a textbook I can purchase or online tutorial on how to switch from one fragment to another? The book I'm using is confusing. Oct 09 02:46:54 g00s_: but for example if you have a fairly specific application that needs windows support and you don't want to maintain windows clients, paying <$600 for Small instance with Windows Server 2008 Standard + few CALs is much better Oct 09 02:47:08 yeah, that sounds great Oct 09 02:47:12 g00s_: and have clients connect with RDP Oct 09 02:47:18 (if it's local app) Oct 09 02:47:27 we used citrix in the past that was so bad Oct 09 02:47:46 sun global desktop was far better than citrix, pity it never took off Oct 09 02:47:49 g00s_: also, Windows 2008 and newer is pretty swell Oct 09 02:47:56 bankai_: it took off in some places Oct 09 02:48:00 Well, the SunRay side Oct 09 02:48:08 p_l does it have a headless no-gui mode ? Oct 09 02:48:20 g00s_: close to it. Let me find the screenshot... Oct 09 02:48:26 kinda like a ubuntu server or something Oct 09 02:50:06 g00s_: https://db.tt/w1YmGwEb <--- first time I logged in on 2k12r2 Oct 09 02:50:16 and yes, there's a remote management system Oct 09 02:50:21 damn:D Oct 09 02:50:47 actually, powershell is the most important tool in windows server these days Oct 09 02:51:42 anyway, once you get to "scale", things get funny with VPSes Oct 09 02:51:53 ones that seem rather pricy can end up being very cheap Oct 09 02:51:57 and vice-versa Oct 09 02:52:28 aw crap, well thanks for the interesting tips - library is closing :/ ttyl Oct 09 02:52:46 Oktawave guys (not the salespeople, their core engineers) told me a story of how they got a customer by showing him that they can replace his heavy AWS instance with >30GB of RAM with a small 8G or less Oct 09 02:52:51 and have it be faster Oct 09 02:53:05 guess what, a lot of oktawave price increases are related to RAM ;) Oct 09 02:53:39 it's just that when you have 4.3GiB/s I/O with guaranteed IOPS rates, your database doesn't need that much of a cache Oct 09 02:53:53 anyway, afk too - it's 0353 here :| **** ENDING LOGGING AT Wed Oct 09 02:59:58 2013