**** BEGIN LOGGING AT Sat Jun 27 02:59:58 2015 Jun 27 03:10:36 Leeds, why, you don't need to, can gradle and vim still Jun 27 03:14:23 ah, the eclipse people are seeing the end (?) :/ Jun 27 03:15:42 g00s: scored me a Flame device w/FF OS 3.0 to tinker with :) Jun 27 04:02:39 i need a wperson good with webdev.. i have some questions (I'm not very good with web stuff) Jun 27 04:02:45 ques about apache server and css Jun 27 04:03:57 pifon: this probably isn't the right place for that, but if you've got specific questions... Jun 27 04:06:47 I made an apache server and ran a webpage, the page doesnt show any css Jun 27 04:06:56 I'm doing this from withineclipse Jun 27 04:07:00 Leeds, Jun 27 04:07:12 Did anyone see this? https://github.com/JulienGenoud/android-percent-support-lib-sample Jun 27 04:07:54 the page is all white with only the buttons and text Jun 27 04:08:17 pifon: dunno what eclipse has to do with it, but... pretty basic things to do - look at the debugger in your browser and see if it actually loaded the CSS file, see if there are parsing errors... usual sort of debugging stuff Jun 27 04:08:35 ther arent any parsing errors Jun 27 04:09:23 desmin88: just today Jun 27 04:09:27 oh good Jun 27 04:12:06 icedp: I can't seem to find its actual source though Jun 27 04:12:49 desmin88: seems it not officially released, probably can add to gradle and decompile, don't know Jun 27 04:13:35 Leeds, so why can't you use vim and gradle? Jun 27 04:13:51 icedp: Well either way its seems like a nice addition, much much better than using weight and weightSum Jun 27 04:14:06 pfn: I probably can, but I should also probably get with the times - and if I'm going to learn gradle, I might as well look into an IDE as well Jun 27 04:14:39 plus, I might actually be working with someone else on Android stuff - and he's a newbie who's jumped straight into AS Jun 27 04:15:25 Leeds, not much advantage to having the ide for gradle Jun 27 04:15:37 desmin88: no, it's not better than using weightSum. you could just set weightSum = 100 and use it as percentage. one more line. it's good addition because it gives you ability to control width/height of view in proportionally for FrameLayout and RelativeLayout, no need for child LinearLayout just for that Jun 27 04:15:52 icedp, weights aren't percrntages Jun 27 04:15:55 ^ Jun 27 04:16:25 did I say weights are percentages? Jun 27 04:17:49 and percent relative layout is huge Jun 27 04:18:02 linear layout cannot come. close to approximating it Jun 27 04:19:25 percent support lib is already in sdk Jun 27 04:19:53 Does the percent lib require the two measurement passes that weight does Jun 27 04:20:31 http://imgur.com/KTWkokr Jun 27 04:21:15 don't know, don't care Jun 27 04:21:22 ah see it now Jun 27 04:23:26 Has anyone tried the bitfountain android series? Jun 27 04:23:35 i keep forgetting about that percent support lib. dont see it in the revision history Jun 27 04:23:41 I'm about to buy it but i don't know of anyone who has used it Jun 27 04:24:42 could you use the percentframelayout as a 'linear' percent layout by just assigning a top and bottom gravity? Jun 27 04:25:39 wait, what's the current gradle plugin version? Jun 27 04:26:01 1.2.3 for me Jun 27 04:26:08 I haven't seen anything since 1.2.3 in central Jun 27 04:27:08 maybe 1.3 is in build-tools rc ? Jun 27 04:40:28 http://t.sql01.com/sc/addcabf8_1435380006.png does that look okay? Jun 27 04:40:50 I'm loading a huge 4096x4096 texture :D Jun 27 04:45:40 Leeds have you done any vimscript ? Jun 27 05:05:05 capella what would be interesting, if atom allowed webassembly plugins Jun 27 05:07:24 g00s: ah, it doesn't ? Jun 27 05:07:45 no idea, wince wasm is so new Jun 27 05:07:49 lol Jun 27 05:08:06 right, oh! I thought you knew it doesn't, and was informing me of same :P Jun 27 05:08:21 thats one thing that always bugged me about vim, vimscript is pretty crappy Jun 27 05:08:41 "one thing" ? Jun 27 05:08:56 :) Jun 27 05:10:04 neovim stuck to lua for plugins Jun 27 05:10:40 I left text-editors back after |ed| in college Jun 27 05:11:26 g00s: isn't NeoVim idea that any (a lot of) languages could be *easily* used for plugins? Jun 27 05:11:46 with a trip through wordstar :p Jun 27 05:12:36 i think the neovim guy(s) thought - maintaining compat with amiga and commodore vic 20 was waste :) Jun 27 05:16:25 oh! and who can forget tso/ispf XD Jun 27 05:20:10 capella i dont remember that one :P Jun 27 05:38:45 are there any docs for the support percent library ? Jun 27 05:39:20 Test Jun 27 05:39:34 even if i search for PercentRelativeLayout i pull old junk from SO Jun 27 05:43:26 g00s: http://webcache.googleusercontent.com/search?q=cache:kuuEyryuEToJ:mydroidapi.tk/reference/android/support/percent/PercentRelativeLayout.LayoutParams.html+&cd=1&hl=en&ct=clnk&gl=ua :D Jun 27 05:44:24 icedp hmm . why is it in a cache Jun 27 05:46:36 g00s: I have no idea why that site mirrors Android DAC Jun 27 05:46:45 but it's in its cache Jun 27 05:59:10 I need to get better with my xml layouts, are there any resources for that? Jun 27 05:59:56 g00s: maybe you came too late for legacy work ;) Jun 27 06:00:15 i think so :D Jun 27 06:01:21 Sawbones: what do you mean by better Jun 27 06:02:23 desmin88: To understand how to better layout my app, I'm trying to create a layout right now but seem to lack the knowledge of how each component behaves with each other Jun 27 06:03:01 i could help you right now for this specific instance but theres plenty of tutorials on google Jun 27 06:05:35 saw a columnar database compat with android today, where did that go Jun 27 06:07:06 Sawbones: study some app on github Jun 27 06:07:37 thats also a good learning resource Jun 27 06:08:08 aha! https://github.com/kevinlawler/kerf Jun 27 06:27:27 How should i make a custom adapter which'll accept mutiple XML ? Jun 27 06:28:45 I've already made a custom adapter that accepts one XML but i have no clue how to do it with multiple XML Jun 27 06:29:04 boodllebat: You need multiple view types Jun 27 06:29:22 http://developer.android.com/reference/android/widget/BaseAdapter.html#getItemViewType(int) Jun 27 06:46:09 hi I made a little sample of the new android percent support library https://github.com/JulienGenoud/android-percent-support-lib-sample Jun 27 06:47:31 jul_ any idea why the docs aren't up ? Jun 27 06:48:03 i mean, the google docs Jun 27 06:49:58 been wondering that myself. i'd really like to poke around in the design lib source. Jun 27 06:50:14 jul__ the version code of the lib is -1, i don't know why there is nothing on blog ... Jun 27 06:50:37 ok thanks Jun 27 06:50:54 oh. i guess my comment was OT ;) Jun 27 06:56:29 weird that iosched 2015 still not out either. not that i'd expect any surprises, the production app was very plain Jun 27 06:56:41 (sources for that) Jun 27 06:57:34 yeah, i feel like what little momentum that was generated by I/O is pretty much gone now... M for MaybeLater? :P Jun 27 07:04:04 treelzebub yeah i/o seemed pretty tame, especially the android stuff (didn't follow anything else tho) Jun 27 07:04:17 wonder if they are getting burned out :P Jun 27 07:11:53 yeah, nothing groundbreaking... but i am stoked about data binding and vector drawables. and context-aware Google Now Jun 27 07:12:21 so stoked to rm /res/drawable-* Jun 27 07:12:28 hope we don't have to wait til the next i/o for data binding to be final ;) Jun 27 07:12:54 yeah, for real Jun 27 07:13:00 it would be great, when they announce stuff, for it to be ready Jun 27 07:13:15 seems like both Google and Apple have hit a bit of a plateau in development - a pause to consolidate... possibly something to do with reaching, or approaching, the end of the mad phase of hardware development Jun 27 07:14:17 yeah i haven't really been keepin up with apple lately; not interested in watch. i'd consider iPad pro ... or Surface which probably beats it for utility Jun 27 07:14:39 Leeds they did quite a bit with Swift though Jun 27 07:16:14 i find them to be a bit elitist and arrogant, but i like their stance on privacy Jun 27 07:17:16 EPIC gave tim cook some leadership award in the privacy area; bruce schneier is on the board. so i think its pretty legit Jun 27 07:17:26 yeah, the mobile device market has got to expect diminishing returns on people's expectations and excitement. personally, i miss keeping a phone for more than a year. I WANT PROJECT ARA DAMMIT! i want to replace parts, not devices. Jun 27 07:17:54 yeah ara looks cool; just wonder how google will do QA with those ... Jun 27 07:18:01 seems like they have a hard time as it is Jun 27 07:18:18 we're paying some guys in Sri Lanka to do an iOS app - after I asked them for a screenshot because I couldn't test it, the boss suggested I go find a second-hand iPhone... Jun 27 07:18:57 bahahah have fun with that :\ Jun 27 07:19:01 i thought it was fun Leeds . really the only thing i prefer in android development are xml layouts and services Jun 27 07:19:17 I'm not going to be touching the development Jun 27 07:19:23 Leeds you can use the simulator for almost everything Jun 27 07:19:27 oh, k Jun 27 07:19:32 g00s: on Linux? Jun 27 07:19:36 lol no Jun 27 07:19:42 maybe there is a vim plugin :P Jun 27 07:19:44 so, yeah Jun 27 07:19:45 yeah, that brings the inevitable question... is google going to actually start making devices? that could be exciting, and also help them get a better hold on their own platform Jun 27 07:20:40 I'd say there is virtually zero chance that Google will make anything at a consumer level Jun 27 07:20:48 treelzebub yeah, dunno. reading about that Android One initiative ... again, seemed like Google dropped the ball Jun 27 07:21:00 didn't hear about that this I/O either heh Jun 27 07:21:33 haha Ara was discussed for exactly 1.5 mins. dude came out, assembled a phone, booted it up, THEN inserted the camera module, took a photo, and left. Jun 27 07:21:39 the OEMs were like, fuck that ... we assume all the risks, no margins for profit, etc blah blah Jun 27 07:21:42 it was impressive but ultimately anti-climactic Jun 27 07:22:32 treelzebub lol what do we need now, for 6 skydivers to jump out of a plane with one part each, to assemble it mid air ? Jun 27 07:22:47 each wearing glass to record it all Jun 27 07:22:51 haha no, but any sort of discussion at all would have been really neat ;) Jun 27 07:23:26 'my samsung exynos cpu' is having a problem with my tegra gpu module and garmin GPS module Jun 27 07:23:38 there was all the "Android One is coming to Europe!" hype a while back... actually, it was "Android One is coming to Turkey, which is a Middle Eastern country with a tiny part in Europe" Jun 27 07:24:05 i mean these guys basically reinvented interchangeable parts. you're telling me they can't come up with a half-hour presentation to create some excitement around their product, which is rumored to start rolling out in August? Jun 27 07:24:42 treelzebub: not rolling out commercially, surely? Jun 27 07:25:04 g00s: yes, but the answer to that problem is finally not "sorry you bought that phone, we'll get you another one. that'll be $500" Jun 27 07:25:35 Leeds: probably not, but that's the rumor... http://www.knowyourmobile.com/google/project-ara/21923/google-project-ara-2015-smartphones-will-go-modular Jun 27 07:25:39 yeah, something like , android 6.0 doesn't support your acme memory module, yey Jun 27 07:25:49 anyway, 3:30pm, time to go find some lunch in the big outside place Jun 27 07:25:50 naysay all you want. i'm stoked :D Jun 27 07:26:03 Leeds pizza hit !?! Jun 27 07:26:09 *pizza hut Jun 27 07:26:22 aren't they doing a pilot in Puerto Rico? Jun 27 07:26:29 http://www.zdnet.com/article/google-strikes-out-with-android-one-in-india/ Jun 27 07:26:47 g00s: I actually walked past a Pizza Hut the other day, after talking to you about it - no mention anywhere in the store of the projector boxes Jun 27 07:27:01 hehe Jun 27 07:29:32 lunch, and I leave you with pictures of a happy gorilla mummy... http://goo.gl/QC5G4S Jun 27 07:30:05 looks proud and protective :) Jun 27 07:35:17 Is there a way to use V4 SwipeRefreshLayout but with the old design of refresh? Jun 27 07:35:25 Or I have to use another library for that. Jun 27 07:35:52 something else Jun 27 07:36:04 swiperefresh does the spinning thingy Jun 27 07:36:32 Yes but in the quick circle, it hides half of the screen :/ Jun 27 08:29:59 must be deep into the night over there Jun 27 08:30:05 like 4 AM? Jun 27 08:54:40 In my app right now so if you press the back button on the phone after you have searched for something, and you come back after pressing that button, the text is saved. But if I press the back button on the app at the top left, the text isn't saved when I go back. Do anyone know how I can fix that? Jun 27 08:54:48 I tried with this code: http://puu.sh/iBcp7/70e37db7ff.png in the onBackPressed() method but it made the app crash Jun 27 09:47:00 hey so I am using a service to run posting a new object to my db with a start_redeliver_intent the only issue is that it starts it again if I close the app even if the post was successfully created... how do I stop it if it is successfully created so the closing of the app does not restart the service Jun 27 10:40:33 hi i want to build the app to show infomation about hotel and there are 400+ words i want to use sqlite3 i cannot store data there Jun 27 10:41:01 I have a service. It works perfectly. However, as soon as I close the app, it stops. What is the solution for this? Jun 27 10:41:28 anon_555: How do you mean you cannot store data there? Jun 27 10:42:18 demahum: What is the reason the service stops? Jun 27 10:42:38 public void onCreate(SQLiteDatabase db) { Jun 27 10:42:44 remos everything Jun 27 10:42:51 barq: Yes. That is the question. I mean what is usually reason for this? Jun 27 10:42:58 barq: For such behaviour? Jun 27 10:43:25 demahum: i just waant to store it in sqlite3 database and just show it in the app without any CRUD operations Jun 27 10:43:39 anon_555: Yeah, yeah, I understand. Jun 27 10:43:47 anon_555: Is the code huge? Jun 27 10:43:50 anon_555: Show your code. Jun 27 10:44:00 anon_555: Can you share it somewhere? Jun 27 10:44:42 demahum: Your service probably runs on the same thread as the app. Jun 27 10:44:59 demahum: if i left onCreate(SQLiteDatabase db) { empty then does this work Jun 27 10:45:01 ?? Jun 27 10:45:52 barq: Good. However, this is my main problem. To make it run on separate thread, I have to edit my service, am I right? Jun 27 10:46:17 demahum: Edit the way it is started. Jun 27 10:46:18 anon_555: Share the code. It is difficult to help you this way. Jun 27 10:47:11 storing and reading in a DB involves CRUD Jun 27 10:47:27 demahum: How are you starting your service? Jun 27 10:49:06 barq: That is the question. This is the thing... I am working on this paho project (Android + MQTT). The sample app works perfectly. I have read 2000+ lines of the main code (without library) and I understand 99% of it. But the service stops it self. I forgot where it is started, I am looking for it now. Jun 27 10:49:15 demahum: http://pastebin.com/Vmp0g2xx Jun 27 10:49:20 barq: It is registered in the manifest. Jun 27 10:49:28 demahum: http://www.vogella.com/tutorials/AndroidServices/article.html#service_binding Jun 27 10:49:46 demahum: i don't want contacts to be created when this is run i want to save it in database and just load from the app Jun 27 10:49:50 barq: Is there other way to start it besides startService(). Jun 27 10:50:14 demahum: Yes. startForeground for example. Jun 27 10:50:28 barq: I have read that. I am looking at the code now... Just a sec... Jun 27 10:50:29 demahum: http://developer.android.com/reference/android/app/Service.html Jun 27 10:50:40 barq: That as well. :D Jun 27 10:51:07 anon_555: What is the problem with the code? Jun 27 10:51:48 when the app is loaded it creates the table empty Jun 27 10:52:21 anon_555: Set database version to 2 Jun 27 10:55:49 anon_555: Did that work? Jun 27 10:56:49 barq: So, it is not possible that the service is not started in the code (declaring in the manifest is not enough to start the service)? Jun 27 10:57:55 A service is "started" when an application component (such as an activity) starts it by calling http://developer.android.com/reference/android/content/Context.html#startService%28android.content.Intent%29 Jun 27 10:57:58 demahum: ^ Jun 27 10:58:45 barq: So, it means that the name of my service HAS to be mentioned somewhere in the code of the project (besides manifest)? Jun 27 11:09:43 Hi, is there anyone handy that might be able to point me right on my collapsible toolbar XML? Jun 27 11:12:47 Hey guys. Android Studio question. Is there a way to make floating windows transparent in the IDE? For example: I want my project structure floating and transparent Jun 27 11:18:42 liuwenhao have you tried setting the window background color to #00FFFFFF Jun 27 11:28:28 Anybody able to help me understand collapsible toolbars? Jun 27 12:10:23 @Morgazmo that's just for the editor window right? Is there a way I can set custom colors for floating window backgrounds only? Jun 27 12:24:57 Hey guys, I'm having a problem with threading. I have a UI thread and a thread that loops. Essentially I'd like to share and integer and textview between the two, what's the safest way to do this? Jun 27 12:24:59 thanks Jun 27 12:54:34 hey guys, I noticed that most tutorials on SlidingTabs mention that Google has not updated official docs on them, is that true as of now? Jun 27 13:03:17 I am working with the Paho project (Android + MQTT). I have both the Service and Client library imported as jars in Sample project. Everything works perfectly. However, I would like to edit these libraries. Any advices? Jun 27 13:20:07 once I sort a gridview (after adding a new item) Jun 27 13:20:11 how can I fade it in Jun 27 13:20:16 / animate it Jun 27 13:20:26 it seems that every time I do it the _last_ item in the grid is animated instead. Jun 27 13:21:25 Deletion is easy because you can just grab the view and make an animation with a listener Jun 27 13:21:39 but adding not so much, as it doesn't exist as a view until the data set is changed. Jun 27 13:24:38 I am working with the Paho project (Android + MQTT). I have both the Service and Client library imported as jars in Sample project. Everything works perfectly. However, I would like to edit these libraries. Any advices? Jun 27 13:44:30 hello all Jun 27 13:45:55 t2mkn: Hello. Jun 27 13:46:32 demahum: hi Jun 27 13:47:13 t2mkn: You need help? Jun 27 13:48:02 which method you people prefer to develop preference screen with AppCompat themes, with Toolbar? Jun 27 13:48:48 have a listview, have a fragment, or make custom preference with adoptor. Jun 27 13:49:16 demahum: need suggestions :) Jun 27 13:52:09 i am experiencing strange behaviour of SwitchPreference on Android 4.0.4. which extends AppCompatPreferenceActivity. Jun 27 13:52:16 Does anyone have a clue why this styling of the actionbar isn't working? Jun 27 13:52:17 https://gist.github.com/Binero/1aa951aedee7e7749ea4 Jun 27 13:52:36 I am new to Android development. I am using the support library. Jun 27 13:53:00 The action bar isn't getting coloured but instead appears white, with white text on top of it. Jun 27 13:53:15 When I remove the actionBarStyle line it reverts back to the default black actionbar. Jun 27 13:56:47 Binero: checkout https://developer.android.com/training/basics/actionbar/styling.html Jun 27 13:58:14 t2mkn Seems like that is what I am doing though Jun 27 13:58:38 t2mkn Only difference is I am not using a @drawable, but StackOverflow suggested to just use the Hex. Jun 27 13:58:55 Drawables are only for images, right? Jun 27 13:59:33 drawables can also have color and gradients Jun 27 13:59:59 t2mkn How would I define it in that case? @drawable/#FFFFFF? Jun 27 14:00:54 Binero: u need to make a drawable xml file say actionbar_background.xml and make things in it. Jun 27 14:01:01 aha Jun 27 14:01:10 just Google about it. Jun 27 14:01:15 I just found a guide on the developer website, I think I'm going to follow that Jun 27 14:01:19 I am! :p Jun 27 14:01:34 nice Jun 27 14:01:53 Odd how I kept finding people doing >#FFFFFF and it working, is that an old thing? Jun 27 14:02:46 u can do that too. but not prefered. hardcoding is not prefered. Jun 27 14:02:52 hmm Jun 27 14:02:57 So it should work? Jun 27 14:03:50 Binero: compair with the link i gave u. scroll to styling with AppCompat section. Jun 27 14:07:14 t2mkn Seems like, except the @drawable, that's exactly what I'm doing Jun 27 14:07:35 I'm going to try with colors.xml as the color guides suggest Jun 27 14:08:41 Same thing when I define a color inside the colors.xml and use that. It makes my actionbar white, and the text on it white? Jun 27 14:09:59 aha seems like it's simply ignoring my android:background Jun 27 14:10:08 changing the parent does affect it Jun 27 14:11:26 u r missing inside