**** BEGIN LOGGING AT Sun Jan 12 02:59:59 2014 Jan 12 03:06:21 I did not know that in a single Java class you can have 2 methods with the same name but different parameter types. Jan 12 03:07:33 skinkitten, sure Jan 12 03:07:50 that was from the beginning of java i guess Jan 12 03:07:58 Ologn, but why? Jan 12 03:08:24 pBlack what did you download? Jan 12 03:08:42 skinkitten, just an architecture decision Jan 12 03:09:09 That's function overloading. :) Jan 12 03:09:09 method overloading :| Jan 12 03:09:15 Oops Method! Jan 12 03:09:22 <--- Comming from C++. Jan 12 03:09:37 Does anyone here know how to add libraries to a project? Jan 12 03:09:41 I need to use the support library. Jan 12 03:09:57 import java.library Jan 12 03:09:58 ? Jan 12 03:10:13 java.library.name Jan 12 03:10:21 I'm trying to use FragmentActivity which is in the android support library. Jan 12 03:10:25 pBlack: depends which IDE you're using Jan 12 03:10:33 I can do it in code, but Java says "I don't know what your talking about!" Jan 12 03:10:36 pBlack you should put it at gradle.nio;d Jan 12 03:10:43 Bankai, I'm using Android Studio. Jan 12 03:10:52 build.gradle Jan 12 03:10:58 And my project isn't using gradle, because I don't know how to add it into my project. :( Jan 12 03:11:11 Don't I just add a build.gradle file in a specific location? Jan 12 03:11:17 compile 'com.android.support:support-v4:18.0.0' Jan 12 03:11:29 android studio i think works with gradle only Jan 12 03:11:43 So your saying that there is a build.gradle somewhere in my project? Jan 12 03:11:53 it should be Jan 12 03:12:09 Let me see if I can find it. Jan 12 03:12:18 its near top level Jan 12 03:12:25 http://gradleplease.appspot.com/ Jan 12 03:13:59 I have to make an architectual desicion. I want to get some data from server via JSON and store them for online use.. Jan 12 03:14:21 One solution seems to fetch them using a rest library like retrofit and store the json in internal storage. Jan 12 03:15:00 no ideas for my gerrit question? Jan 12 03:15:04 However that needs in memory cache and saving json text at file. It also needs Jan 12 03:15:33 restoring all these after android desides to stop my app etc Jan 12 03:15:57 which can be slow Jan 12 03:16:08 or you could save it to sqlite Jan 12 03:16:37 other solution is sqlite but seems a pain . I hope green dao helps with this Jan 12 03:17:41 ios developer gets the data from REST service and stores them at singletons . Then he runs a thread and saves them at local storage automatically with core data Jan 12 03:18:11 however he keeps data in memory . He knows that if app stops while saving data would be a problem Jan 12 03:18:43 However if i store them at sqlite it is going to have performance impact because I am not going to have singleton Jan 12 03:18:51 as in android they are unreliable Jan 12 03:19:05 so I should ensure that data are written Jan 12 03:19:09 at sqlite first.. Jan 12 03:19:26 which makes ios solution superior.. Jan 12 03:20:37 any idea ? Jan 12 03:25:18 Baluse: if you app is downloading some large amount of data, where your activity can be left/destroyed,why not use a service, or another type of solution? Jan 12 03:26:50 these data are downloaded once Jan 12 03:27:17 the app should work offline too Jan 12 03:27:25 its bussiness app Jan 12 03:27:48 i should get products/prices/ etc Jan 12 03:28:04 greetings, boys Jan 12 03:28:07 Baluse you can probably consult the iosched 2013 code Jan 12 03:28:07 Baluse: I think you are confused at how android apps work. Maybe check out how to keep a persistant connection going without a visible, currently used activity. it's pretty simple Jan 12 03:28:34 * nebs is a girl but hi anyway Jan 12 03:28:53 Baluse iosched is a good design, and you can reuse it Jan 12 03:29:09 ok i'll look at it Jan 12 03:29:19 do it! now ! Jan 12 03:29:22 canvs2321 what do you mean ? Jan 12 03:32:37 Baluse: you seem to think that downloading a large amount of data means your app has to be visible/in-use. it doesn't. as for offline use, as long as you have your data, and you check connectivity, what's the problem? Jan 12 03:34:52 no this isnt my problem . I mean that my app needs to sync data and work with that data Jan 12 03:35:04 then it would check for updates and resync Jan 12 03:35:24 the problem is how to store these data .. and I said how it was done in IOS Jan 12 03:36:08 why does your app need such a large amount of data to be downloaded? Jan 12 03:37:00 and why not use obb to store it? Jan 12 03:37:01 it isnt that large it takes 1sec to get Jan 12 03:37:10 about 1000 clases Jan 12 03:37:28 it needs because it must work offline Jan 12 03:37:51 1000 objects * Jan 12 03:38:03 so obb would work. Because games I have developed have data stored in obb. its great cause the app can read obb really quickly Jan 12 03:38:42 so offline access wouldn't be slow or laggy Jan 12 03:38:43 well these data may change so need to resync Jan 12 03:39:02 oh. i see. so obb might pose a bit of a challenge Jan 12 03:39:22 so sqlite or internal storage is the only solution ? Jan 12 03:39:50 not nescesarily Jan 12 03:39:53 u can use obb Jan 12 03:40:55 just have your app wipe the obb data everytime it is connected and download it again Jan 12 03:41:02 or at user's request Jan 12 03:41:10 or whenever you want it to resync Jan 12 03:43:54 I think that may be the best option because that will leave your app snappy, plus, if it is custom content (each user has unique data) users could transfer just the obbwhen they get a new device Jan 12 03:44:25 hm ok thanks... Jan 12 03:45:11 np Jan 12 03:45:19 glad to help Jan 12 03:46:03 ug, wtf http://blog.appwared.com/awful-app-review-trend-among-turkish-users-this-is-why-your-app-gets-so-many-one-star-reviews/ Jan 12 03:47:14 total wtf. Jan 12 03:47:58 uhmmm no? Jan 12 03:48:06 thats just bull Jan 12 03:48:22 Is it normal to have two gradle.build files? Jan 12 03:48:33 In a single project. Jan 12 03:48:40 I don't read turkish so those ratings might not say what the translations state. Jan 12 03:48:44 not normal no Jan 12 03:49:06 but not unheard of Jan 12 03:49:48 x Jan 12 03:49:53 I'm trying to add: Jan 12 03:49:55 Uhg. That gives me a migrane. Jan 12 03:49:55 dependencies { Jan 12 03:49:55 ... Jan 12 03:49:55 compile "com.android.support:appcompat-v7:18.0.+" Jan 12 03:49:55 } Jan 12 03:50:09 Except the support version. Jan 12 03:50:09 look through them, they might be duplicates. if so, delete 1 Jan 12 03:50:27 They are in different directories. Jan 12 03:50:34 Which directory is the default? Jan 12 03:50:51 i wouldn't know because I can't see your listings Jan 12 03:50:58 depends on your naming. Jan 12 03:51:00 Ahh ok. Jan 12 03:51:33 which directories are they in? Jan 12 03:51:59 One is in the root of the project. Jan 12 03:52:15 The other is under my Project name. Jan 12 03:52:24 Root->Project Name->gradle.build Jan 12 03:52:32 That's the second one. Jan 12 03:53:19 hmmm..... that should be ok Jan 12 03:53:42 can't be certain because I have never encountered it myself Jan 12 03:53:57 One has only a .iml file the other is with a bunch of other gradle related files. Jan 12 03:54:09 That one sounds like the suspect. Jan 12 03:54:32 hmmm. can't see thepoint or the harm of the file with just 1 .iml Jan 12 03:55:17 Because I'm trying to edit the .build file, but don't know which one to edit lol. Jan 12 03:55:31 When you make a new project the default gradle.build file is blank right? Jan 12 03:55:41 One is blank, the other is full of stuff. Jan 12 03:57:07 blank. yes Jan 12 03:57:13 use that Jan 12 03:57:40 the second may be an autogenerated gradle file just for that directory Jan 12 03:57:55 (the one NOT in the roo)^ Jan 12 03:59:45 does that make sense? Jan 12 04:04:22 hello. I am kinda confused about how i can go about writing unit tests for my app. Jan 12 04:05:13 I have a videostreaming app. and trying to figure out how to like send key presses to fields other than the default field. How can i like change focus? Jan 12 04:06:28 anyone still here? Jan 12 04:06:32 call an onClick method of the view you want Jan 12 04:19:28 so im on Mac OSX, and had Eclipse installed for a while, but now i just installed Android Studio 0.4.2; Every now and then, the Eclipse icon will bounce in the dashboard, as if an alert as popped up, but Eclipse isnt even running Jan 12 04:21:02 strange... why not uninstal eclipse... Jan 12 04:21:23 it might be caused by phantom triggers Jan 12 04:21:46 triggers meant for androidstudio that are picked up by eclipse accidentally. Jan 12 04:22:15 thats possible; but i'd like to keep them both... i use eclipse for stuff at work, and studio for personal projects Jan 12 04:22:56 ah... can't think how to stop the issue Jan 12 04:23:06 your sure eclipse isn't running? Jan 12 04:23:41 I believe eclipse has some bg processes as well, those might cause the bounce if they are active Jan 12 04:25:14 hmm, well it doesnt appear in the activity monitor, and i never opened it to begin with, and theres no little indicator under the icon saying that its open Jan 12 04:25:30 i dont know, maybe a reboot or something? Jan 12 04:27:39 so you don't see a process when its bouncing? then maybe the Dock's sqlite stuff is borked Jan 12 04:28:03 and its making teh wrong thing bounce Jan 12 04:28:11 never heard of that happening before ;) Jan 12 04:32:52 I had nothing but issues with AS and eclipse on my mac Jan 12 04:33:35 that was AS ~0.2 tho, havent bothered trying it again Jan 12 04:38:00 Hello. Have a tough nut to crack: I have an adapter that gets updated from multiple sources. Problem is if the listview the adapter backs is scrolling when new data from one of the data sources becomes available, it crashes the adapter because the sources are not necessarily placed at the end of the list (they could be inserted anywhere). Jan 12 04:39:07 hello, anyone develop some interesting projects ? Jan 12 04:39:14 lasserix: basically don't update your adapter data outside of UI thread, so before .notifyDataSetChanged, update it then.. Jan 12 04:39:32 already being done Jan 12 04:39:59 all my projects are interesting Jan 12 04:40:00 problem is lets say I have positions 0-10 visible, and randomly 3 results are pushed at pos 2. Jan 12 04:40:07 to me, anyway Jan 12 04:40:13 :) Jan 12 04:40:18 :) Jan 12 04:40:24 then you have a problem else were, if you are always updating the data while on UI, then posting the update, what's the problem Jan 12 04:40:25 nebs what kind of projects Jan 12 04:40:55 if the listview is scrolling and a new result is inserted somewhere in the visible list, it'll crash Jan 12 04:41:10 lasserix: post a stacktrace then Jan 12 04:41:19 it says what you said Jan 12 04:41:29 nebs, just if you can talk hehe Jan 12 04:41:37 then, you may have race conditions going on Jan 12 04:41:43 mmm, well, without advertising because I have manners, I finished up my first foray into opengl a couple months back, for a live wallpaper. I thought that was interesting. Jan 12 04:41:49 can toy elabotre? Jan 12 04:41:55 if you are using multiple sources to update your data, you need to sync Jan 12 04:42:51 How would I get a view that's always at the bottom of a GridView, despite the grid's height? I tried a few different ways and either the footer is hidden by the grid view, or the footer is fixed at the bottom of screen. Jan 12 04:43:01 if i have thread a&b that can possibly change my data, if a&b change at same time without being in sync then there can be Index of of bounds etc.....you need to kill any race conditions Jan 12 04:43:41 Here is the view: https://gist.github.com/bricker/8381052 With this code, the footer shows up while the grid is being populated, then after that the grid hides the footer. Jan 12 04:44:18 canvas: interesting, in this case it can happen if just a single thread is updating (ie, some data changes) so that the only threads are the ui and the resultgetter thread Jan 12 04:44:18 lasserix: there is a specific word i'm looking for, but can't think of it, but pooling or such can maybe help Jan 12 04:44:53 hehe yeah i know how to fix it if i rewrite it all but was hoping there was simpler way like blocking while the listview was scrolling Jan 12 04:45:05 it only happens when the listview is scrolling Jan 12 04:45:37 lasserix: you just need to have some way of saying if thread A or Thread B has new content, then they tell your app, but whomever has first access allows data to be changed, while first access is being changed second waits til it is allowed Jan 12 04:45:51 lasserix: lazy loading Jan 12 04:46:03 lasserix: while scrolling update nothing til stopped Jan 12 04:46:57 lasserix: or while scrolling if cache is available of current content show it, if not then load defaults til slowed or stopped scrolling Jan 12 04:49:28 nebs: on my machine at work, i had eclipse + as 0.3.2 installed with no problems Jan 12 04:49:29 all the pushing of new data from threads is done with the synchronized message queue of the ui handler, Jan 12 04:50:00 maybe I'll try AS again Jan 12 04:50:03 but not right now Jan 12 04:50:45 difficulty i am having is seeing how to block the ui thread from updating the adapter while the listview of the adapter is scrolling, since putting a lock if scrolled ... Jan 12 04:51:11 i wonder when the adt will get the gradle stuf Jan 12 04:51:19 it might just be some weird placebo effect, but it feels a lot more responsive to me than eclipse did Jan 12 04:51:30 of course, my projects are a lot smaller too... Jan 12 04:53:33 lasserix: you can use a boolean with the listview, if scrolling set a boolean, and use that boolean in your adapter to decide what to show if scrolling Jan 12 04:54:01 onFling etc... Jan 12 04:54:17 I remember I really liked the interface.... Jan 12 04:54:25 eh, maybe I'll try it again Jan 12 04:54:45 Ive been using eclipse for so long tho Jan 12 04:54:59 f eclipse Jan 12 04:57:41 where is the documentation for alignParentBottom? Jan 12 04:58:05 hmm let's see. well here's the specific crash message: http://pastebin.com/pn8mR8Z1 Jan 12 04:58:08 I had to use intellij for a project for about a year tho, it was pretty awesome Jan 12 04:58:17 Ah, found it http://developer.android.com/reference/android/widget/RelativeLayout.LayoutParams.html Jan 12 04:58:19 but then I went back to eclipse. can't remember why Jan 12 04:59:09 just fyi, the "refreshAdapter" method is only being called ever on the ui thraed Jan 12 04:59:51 lasserix: but if you are doing any modifying outside ui thread, create a temp data Jan 12 05:00:01 that's the thing i am not Jan 12 05:00:18 then you are modifying outside UI :) Jan 12 05:00:20 like i said the results from the threads are pushed to UI thread via a handler (via the synchronized message queue) Jan 12 05:00:35 only on the ui thread do they ever get to the adapter Jan 12 05:00:42 never from the background thread Jan 12 05:02:34 you'd need to show more code, but create a seperate data set, then use your handler to assign.&if using list<> make sure to create new, as it seems to pass a reference if, list bleh=adapterList; do List bleh = new ArrayList(adapterData); Jan 12 05:04:06 ahh i think i see what you mean now Jan 12 05:06:26 and adapterList==adapterData ;) hope you get it :) Jan 12 05:08:03 ah cool, manning is coming out with a "Git in Practice" book Jan 12 05:11:45 canvs: i had done a UI opto where I would only remove on subsequent new data from the adapter list non-duplicate results (results no longer current)--using your advice i think it is fixed now by changing it up as you suggested. thanks a millioN! Jan 12 05:12:34 (previousily i was removing all data , even if it was duplicate in a subsequent new set of results, i think that trying to remove it while it being updating was causing the problem). thanks again Jan 12 05:13:28 lasserix: awesome! :) main thing is make a duplicate of data if off main thread, alter, then if not other threads are modifying as well take your subset of data, and apply it to main adapter data :) otherwise, always keep threads in sync to stop race conditions, and such :) Jan 12 05:13:49 i've dealt with this issue :) Jan 12 05:16:16 yeah i tried to handle that by making each data source have its own thread, and only thread at a time that can push new data, all leveraged via the synchronized message quueue of the ui handler. seems to be working, glad this was simple to fix because in reality I need to rewrite the adapter--I am thinking if your maximum number of items in an adapter is low, it is better to hashpair each row as its own convertview, since the list Jan 12 05:16:16 will only ever need to inflate the "row" once Jan 12 05:18:48 or another way of saying is to upfront allocate your views in a pool, which is already done by a convertview if you set the getItemViewtype to the size of the data and "hashpair" new instances on getview... anyways thanks again now on to another bug :) Jan 12 05:20:54 Is there any part in the api where I can find out what a cursor returns? Jan 12 05:21:30 The docs Jan 12 05:21:41 But where in the Docs can I find out what it returns Jan 12 05:22:55 Are the rows called "Constants"? Jan 12 05:23:03 *Columns Jan 12 05:24:58 no, you have to move the cursor to the "row" that you want, Jan 12 05:25:20 while(cursor.moveToNext()){ ... Jan 12 05:25:48 then you can get the column values of your current "row" with something like... Jan 12 05:26:06 cursor.getString(cursor.getColumnIndex(columnName)) Jan 12 05:26:22 off the top of my head Jan 12 05:26:36 Ahh Jan 12 05:26:46 and dont forget to close the cursor when you're done Jan 12 05:27:24 andreyonadam, the cursor.getType(--indexvalue--) will correspond to the indices of your projection: don't waste time looking up the column names since you know them (from your projection) Jan 12 05:27:58 nebs: Thanks yeah I'm closing it but I just wanted to know how it cycles. In my head I was thinking that it was an array of all the rows and then it has different entries for each column. Jan 12 05:28:21 also seems the cleanest way to iterate over is Cursor c = null; try { c.query(); if (c.moveToFirst) do { grab data } while (c.moveToNext())} finally {c.close()} Jan 12 05:28:58 lasserix: Thanks. I'll defiantly need that. For now I'm just using all the values in the Cursor though asI'm not looking for anything specific. Jan 12 05:29:27 yeah didn't think it would be a bottleneck, but for things you want done fast looking up column information is kind of one Jan 12 05:29:34 *column meta info i mean Jan 12 05:29:54 lasserix: Are cursors how people connect with online databases like MySQL? Jan 12 05:30:13 I'm getting a weird error. Jan 12 05:31:42 i dont know for sure but you could definatly have a cursor on a server iterate and then post back your info Jan 12 05:31:55 hi, i have a question about cloud save. Jan 12 05:32:22 does anyone know if its possible to make cloud save data strings available to all applications? or is the data specific to each user? Jan 12 05:32:26 lasserix: That's good to know. Thanks I was just really confused about how it handles information in rows and columns Jan 12 05:32:29 Like the order Jan 12 05:32:35 I think i get it now though Jan 12 05:33:17 im trying to figure out a way to make a few simple strings available to all app instances that have been installed/deployed Jan 12 05:34:30 How do I import android.support.v4.*? Jan 12 05:34:43 I'm getting unresolved error. And I've added it to the gradle.build file. Jan 12 05:34:54 Also, it's downloaded properly according to the SDK Manager. Jan 12 05:36:03 Is it possible to get a service to add a button to the navigation bar while the service is running? (even when other applications are in the foreground) Jan 12 05:36:39 not on stock, afaik Jan 12 05:37:10 at least if you mean the navigation part, not the fact that full-size tablets have notifications on the bottom ;) Jan 12 05:48:44 p_l: well yeah it's for a tablet that always has a notification bar at the bottom.A lot of wasted space and I'd like to be able to invoke my app by being able to tap an extra button on the navigation bar at any time Jan 12 05:49:15 p_l: I know samsung added a silly screenshot button to the navigation bar on their own tablets. I'd like to be able to add something useful to these ones instead Jan 12 05:49:35 really? Jan 12 05:49:43 wow that is very useful, screenshots :P Jan 12 05:50:03 is there anyome who use it more than once a month (and thats quite often!) Jan 12 05:50:32 ifmw: unfortunately, that part is done by modifying the framework itself, iirc Jan 12 05:50:32 XXCoder2: it's kinda bad. But I still would love to be able to add a button to the navigation bar on our tablets _somehow_ Jan 12 05:50:41 p_l: oh right, damn Jan 12 05:50:59 ifmw: there's no API, outside of notifications, that go there Jan 12 05:51:07 navigation bar: bottom bar? Jan 12 05:51:25 XXCoder2: yes Jan 12 05:51:30 ok Jan 12 05:56:59 p_l: oh I didn't realise that. Damn. Jan 12 06:22:37 Anyone know how to handle if a table does not exist on a sqlite query? Jan 12 06:22:50 ie: i know that the table might not exist, try / catch does not seem to work Jan 12 06:24:52 ahh nevermind didn't know catches cant be empty Jan 12 06:34:54 I have a rather crazy question today. :) How can I add a fragment to an actionbar? I mean, something like the "NOW PLAYING" in this screenshot : http://i.stack.imgur.com/sI1a4.jpg Jan 12 06:35:06 I have 'fontFamily="serif"', which works on normal Android, but not on Kindle. Is there a way to get Kindle to display serif fonts? Jan 12 06:35:07 this one is inface just a view, but I want it to be a fragment Jan 12 06:35:31 bricker: Add the typeface to the application package itself, may be? Jan 12 06:39:56 napster now playing? Jan 12 06:40:32 lasserix: I mean the layout at the bottom of the screen (just on top of the navbar) Jan 12 06:41:29 anyway I can do that as a normal view or a normal piece of UI, but I'm just curious if I can do that as a part of the actionbar Jan 12 06:45:37 Can a cursor have multiple "projections" Jan 12 06:49:58 napster: yeah good idea Jan 12 06:51:26 andreyonadam: projections? Jan 12 06:51:27 When you're dealing with hundreds of images from a remote URL, is it bad to hold them all in memory as Drawables? I did this initially to load images faster (and save data), but but sometimes the app runs out of memory and crashes. Jan 12 06:51:31 Is there a better way? Jan 12 06:52:00 there's some good doco on d.android.com that talks about this kind of thing Jan 12 06:52:14 http://developer.android.com/training/displaying-bitmaps/cache-bitmap.html Jan 12 06:52:17 bricker: ... keeping them in memory is bad. use some kind of cache (optimized towards your use pattern) with weak pointers etc. Jan 12 06:52:22 doco Jan 12 06:52:31 bankai_: p_l nice, thank you Jan 12 06:52:39 i think picasso facilitates this action Jan 12 06:53:23 p_l: yeah like MediaStore.Video.Media.RESOLUTION will get me all the rows that have the data for the MediaStore.Video.Media.RESOLUTION column. Jan 12 06:53:46 So I was wondering if I leave that perimeter null in the cursorLoader it would get all the columns Jan 12 06:54:45 andreyonadam: well, I don't usually use cursors, but if they act like their namesakes, they are for single query Jan 12 06:55:24 but sounds like it Jan 12 06:55:45 been years since I looked at cursor stuff, ended up mostly looking at low-level crap Jan 12 06:56:33 p_l: I think there's probably another way of doing what I want to do without using cursors, which is loading all Videos from the gallery (Internal and External Storage) onto a listview. Jan 12 06:57:47 ... like all "load all into memory" things in android it gives me dread shivers Jan 12 06:58:42 Is it better to use Bitmap over Drawable for images from a remote url? Jan 12 07:00:19 p_l: yeah haha. I'm also going to figure out how to manage memory. I know an adapter recycles views that aren't visible by reusing them so I'm going to figure out a way to make a custom adapter to handle more information rather than just making tons of views code-side. Jan 12 07:03:52 andreyonadam: that was my thought - customized adapter for a cursor (or possibly more than one cursor) Jan 12 07:04:06 yeah its going to be a pain Jan 12 07:04:34 I can actually use SimpleCursorAdapter Jan 12 07:04:44 Have to see how that works out. Jan 12 07:05:27 The problem is I have to figure out how to make a custom layout to replace one of the ones that android comes with like android.R.layout.simple_list_item_1 Jan 12 07:09:39 Meh, I just realised you need to pay $25 to get your app at the google play stire Jan 12 07:09:41 store* Jan 12 07:10:21 so? Jan 12 07:10:27 stops a tiny bit of spam Jan 12 07:10:39 Ergo_Proxy: Thats a one time fee unlike apples 99$ a year fee Jan 12 07:10:44 yes but it's not worth it for me Jan 12 07:10:48 Ergo_Proxy: I was more than happy to pay twice Jan 12 07:10:54 Ergo_Proxy: Why? Jan 12 07:11:04 lol Jan 12 07:11:05 Unemployed Jan 12 07:11:09 Its totally worth it. Jan 12 07:11:14 hmmm wonder what percentage of the "regulars" in here actually ever SAY anything lol Jan 12 07:11:26 I440r: What do you mean lol? Jan 12 07:11:37 Ohh. Well it can open up doors to $$$ if you work hard and monitize. Jan 12 07:12:09 there are 25245234 people in here, i see about 20 actualy participate on a regular basis Jan 12 07:12:11 I started my first account when I was a freshman in High School almost 3 years ago and it was worth it then. I only had allowance from my parents. Jan 12 07:12:11 Also apple requires you to have a ios device...yea I agree, but it can also terribly fail Jan 12 07:12:12 just three dollars Jan 12 07:12:14 maybe 21 Jan 12 07:12:19 no, three Jan 12 07:12:19 andreyonadam: custom cursor adapter + cursor loader Jan 12 07:12:23 I440r: Do I participate? lol Jan 12 07:12:28 yup Jan 12 07:12:50 i wasnt pointing fingers, just wondering who all the idlers are and why they bother being here lol Jan 12 07:13:10 my #forth channel has the same problem but on a MUCH smaller scale of course lol Jan 12 07:13:18 not that its really a PROBLEM lol Jan 12 07:13:47 I440r that's really common, I actually notice it on every channel I regurarly connect to Jan 12 07:14:27 I440r: I quit developing for 3 years I and I still suck but I'm better. I came back after 4 years. The first time I came here was to unblick my phone after doing something with it. I think it was installing a recovery for another device or something maybe CDMA version of the Nexus S or whatever but I solved that in the Nexus S chat room they had one back then not sure if its still there and the people helped me unblick it. Jan 12 07:14:28 The same people here were active back then. Jan 12 07:14:38 *unbrick Jan 12 07:15:00 andreyonadam, people burn out coding, i stopped developing my own stuff for almost 5 years Jan 12 07:15:16 I remember p_ l g0 0s and Simon VT and Jake Wharton Jan 12 07:15:35 they are like viruses, they wont go away!!! EVER! lol Jan 12 07:15:40 they participate for sure Jan 12 07:15:59 /shifty-eyed-look Jan 12 07:16:29 lol what do you mean burn out? Like saturate the market? Jan 12 07:17:07 There are a ton of apps. Its hard to make revenue of the play store. Jan 12 07:17:14 andreyonadam: burn out like a candle Jan 12 07:17:17 no. i mean i work 18 hours on my own stuff, sleep for 12. work for 18, sleep for 12.... 6 months later i stop working and dont touch my own stuff for 5 years Jan 12 07:17:21 in term of individual developer Jan 12 07:17:39 p_l: ohh Jan 12 07:17:55 right now im working till 6 am, sleeping till noon. missed church today because there was NO WAY i was getting up at 10am - i was sonked Jan 12 07:18:01 ww3 would not have woke me up Jan 12 07:18:12 especially since IT in general lacks the forced breaks of some other very stressful jobs, and on top of that we get as a profession what usually happens at smaller scale Jan 12 07:18:41 software development is the single most difficult profession there is Jan 12 07:18:44 If I had the money, I'd consider retraining to airline pilot. at least you can't bring work home Jan 12 07:18:56 I440r: not really. Some portions of it, maybe Jan 12 07:19:07 p_l ever work as a consultant? Jan 12 07:19:25 I440r: kinda. There's a ton of variation in consultancy, though Jan 12 07:19:29 p_l: My old computer science teacher was a poilt. He said he barely made anything. He quit the teaching job. He now works for an educational company or something. Jan 12 07:19:35 makes a decent amount of money. Jan 12 07:19:54 andreyonadam: well, depends on who you work for etc. Jan 12 07:19:55 drive 18 hours to east podunk idaho. work on code thats been abused for 15 years, put the fire out, earn LOTS of money but save almost nothing. Jan 12 07:19:56 *piolt Jan 12 07:20:03 Yeah true. Jan 12 07:20:09 ive been doing realtime embedded consultant work for almost 20 years Jan 12 07:20:33 i think in all that time ive had THREE contracts i would have loved to go perm with Jan 12 07:20:40 I wish I had more time on my hand too. I have to go to school 5 days a week. Jan 12 07:20:49 I440r: ... that explains some things. And yes, *good* consulting work can be like that (I don't want to think of certain other stuff that goes under the label, sorry) Jan 12 07:20:51 Also wish I started earlier. Jan 12 07:21:00 way earlier. Jan 12 07:21:12 my own stuff doesnt earn me a signle penny. my linux forth compiler is IMHO the single fastest compiler of any non trivial language and i GIVE it away Jan 12 07:21:24 damn Jan 12 07:21:35 All my apps are free Jan 12 07:21:35 p_l explains why i get (^&$(^*$*&^$%# annoyed when shit doesnt work? hehe Jan 12 07:21:38 only one has ads Jan 12 07:22:06 I make a couple pennys a month, so far. Its a beast app for Physics students but I still decided to make it free. Jan 12 07:22:12 work on a 10 minute job... 3 days later i still cant get it working... find out gnu dev tools wont allow it or android wont allow it.... Jan 12 07:22:27 I440r: I'm working on a graphing Library I'm going to make it free and put it on GitHub Jan 12 07:22:32 the thing im working on COULD earn me a little money but i probably wont be able to retire Jan 12 07:22:40 I don't like the other graphing libraries for android. Jan 12 07:22:54 I440r: haha Jan 12 07:23:00 i dont use github, my project would probably get more air time if i did but i dont like sites like that Jan 12 07:23:03 dont trust them. Jan 12 07:23:31 I440r: Damn what do you suggest then. Hosting yourself? Jan 12 07:23:36 I440r: nah, explains certain terminology ;P Jan 12 07:23:55 andreyonadam, i ported my linux forht compiler to arm... it runs PERFECTLY on my beagleboard xm. it also runs flawlessly in adb shell with NO MODIFICATIONS - build it on beagle. run it on beagle or android. Jan 12 07:24:07 run it from an apk as a native process... instantly killed Jan 12 07:24:21 So GitHub screwed it up? Jan 12 07:24:24 p_l i haz no idea what ur talking about :P Jan 12 07:24:41 I440r: our talk recently regarding listings Jan 12 07:24:51 :) Jan 12 07:25:24 p_l I440r I think I decided I'm going to go with Electronic Engineering instead of CS. I can always do CS myself. Jan 12 07:25:28 no github didnt screw up, i just dont trust them or google or faceb0rg or wherever Jan 12 07:25:44 well, github doesn't really need anything Jan 12 07:25:57 andreyonadam, hardware engineering is ENGINEERING. software engineering is art Jan 12 07:26:20 github can run with just contact email + password Jan 12 07:26:38 I440r: I wouldn't agree... but it depends on what one is doing specifically Jan 12 07:26:51 and engineering got a bit of art in it anyway :) Jan 12 07:26:56 p_l yes i know - but the hax0rs who "own their base"... .. . Jan 12 07:27:02 Companies that focus on design seem to turn Engineering into an art lol. Jan 12 07:27:13 hardare: 99% science, 1% art Jan 12 07:27:13 andreyonadam: I'm not talking about that Jan 12 07:27:17 Sometimes they design first and leave the work to the other people. Jan 12 07:27:17 ohh Jan 12 07:27:22 software: 100% art Jan 12 07:27:59 also interactive Jan 12 07:28:02 also, engineering in general is kind of "distilled applied science", but not science. Can be annoying when people blather about scientific method where it is not needed Jan 12 07:28:06 there is no sicence to software, any time you try to enforce the scientific method on software engineers (the real ones) they reject it Jan 12 07:28:33 p_l in hardware it IS needed. in software its a millstone around the neck of the artist Jan 12 07:28:46 I440r: s/artist/bad artist/ Jan 12 07:28:54 bug I can understand being jaded :> Jan 12 07:28:59 or a way to let someone who should never touch a keyboard say "look ma... im a coder!" Jan 12 07:29:14 p_l i still love my job tho Jan 12 07:29:24 Do you guys think that they should stay in their own fields? Jan 12 07:29:30 like EE and CS Jan 12 07:29:38 im a consultant. most consultants are WHORES. "its not the principal, its the money!" Jan 12 07:29:39 software is area where sometimes I find out general location of previous project designer and discuss "visiting" him with coworkers Jan 12 07:29:54 andreyonadam: no Jan 12 07:30:04 last 3 contracts i did i worked close to 60 hours a week. in 20 years ive never charged overtime Jan 12 07:30:20 p_l lol thats not nice :P~ Jan 12 07:30:23 I440r: didn't you charge per hour? Jan 12 07:31:00 as a consultant i make $45+ per hour and ive known ppl charge $100 per. Jan 12 07:31:24 I440r: We were getting a bit pissed off. The fact that as long as we stayed afloat with the project we got paid (and handsomely for the circumstances), was the only reason we didn't flip Jan 12 07:31:28 plus as a consultant, if you work more than 50 miles from home you get perdiem. most times 50% or more of my hourly rate is UNTAXABLE Jan 12 07:32:10 but i charge for what i work or for 40 hours which ever is smaller Jan 12 07:32:32 ah Jan 12 07:32:33 you hire me and YOUR project becomes my project Jan 12 07:33:20 your paying me BIG bucks. me jerking you around and milking you for every penny i get as most consultants do is not in my nature Jan 12 07:33:40 Do you work for a company? Jan 12 07:33:45 i am out of work Jan 12 07:33:54 between contracts and looking Jan 12 07:34:13 i have 4 or 5 agencies that i work with Jan 12 07:34:15 i dont do 1099 Jan 12 07:34:26 i also only do low level realtime embedded Jan 12 07:34:38 erm... and NUB level java for android Jan 12 07:34:56 which i dont put on my resume because i also dont string ppl on about where my real skillset is Jan 12 07:35:09 ^^ Didn't understand the last three lines. Jan 12 07:35:13 lol anyways. Jan 12 07:35:26 I know 1099 is a tax form right? Jan 12 07:35:47 realtime embedded.... your microwave has a CPU. your dishwasher has a CPU. your car has 26549264598645 CPU's Jan 12 07:35:50 those are embedded devices Jan 12 07:35:56 ahh Jan 12 07:35:59 alright I understand now Jan 12 07:36:21 So when you say consultant do you do the code yourself or you only advise? Jan 12 07:36:36 i code for those with or without an os. i write the drives for the uart/i2c/whataver peripheral device... Jan 12 07:36:43 code Jan 12 07:37:00 consultant, contractor.. rented slave.... Jan 12 07:37:21 I think I have blanket 50% "cost of earnings" (so essentially 50% off my taxable income base) Jan 12 07:37:36 (getting paid by the hour) Jan 12 07:37:56 p_l what do you mean by cost of earnings? Jan 12 07:38:04 the money you have to spen to earn your living? Jan 12 07:38:27 p_l: You consult too? Jan 12 07:38:32 I440r: that's how it is defined, in this case it's essentially removed from taxable income Jan 12 07:38:59 p_l you get perdiem yes? thats federally mandated and governed. Jan 12 07:39:04 andreyonadam: not exactly. I work for a company that works on contracts (mainly service) for others Jan 12 07:39:07 I440r: not USA Jan 12 07:39:13 aha Jan 12 07:39:15 ahh Jan 12 07:39:16 lol Jan 12 07:39:19 I was about to say thats amazing Jan 12 07:39:21 haha Jan 12 07:39:21 lol Jan 12 07:39:29 i earn FREEEEEEKING way more money as a consultant. Jan 12 07:39:40 work 8 monts in east podunik idaho. save 10k Jan 12 07:39:52 andreyonadam: my work is fully remote, too Jan 12 07:39:53 dont work for a year. get down to about 1k left and get a new contract Jan 12 07:40:03 p_l where are you? Jan 12 07:40:06 Chicago here. I'm new to the game lol. I just want to make my own apps. Money isn't the number one thing right now. Learning kinda is. Jan 12 07:40:27 andreyonadam, my last but one contrat was in lake zurich Jan 12 07:40:29 p_l: ohh so you work for the US mostly? Jan 12 07:41:21 andreyonadam: no, but afaik my boss isn't picky about regions. The company is still spinning up, though Jan 12 07:41:27 i remember lunch time, ok bbq joint, soda cost $3 a pop Jan 12 07:41:29 I440r: Poland & UK Jan 12 07:41:32 I440r: Thats not that far from here. I live on the North side, near skokie. Jan 12 07:41:34 illannoy is super expensive Jan 12 07:41:37 Did you fly over? Jan 12 07:41:40 p_l i grew up in england Jan 12 07:41:42 Or did you work remotley Jan 12 07:41:53 born here,grew up in england Jan 12 07:42:04 poland sounds intersting :) Jan 12 07:42:40 where in the UK? Jan 12 07:43:03 Scotland, Aberdeen specifically Jan 12 07:43:19 finishing my university degree right now Jan 12 07:43:27 ool Jan 12 07:43:29 cool even Jan 12 07:43:36 i grew up in the north of england lol Jan 12 07:43:46 but i also spent time in east anglia Jan 12 07:44:12 Going to switch to my phone Jan 12 07:44:21 cambridge was the only place in england i ever considered home Jan 12 07:44:43 ever been to blackpool? lol Jan 12 07:44:50 I have yet to travel more through UK. One of my regrets about how studies went for me... but well, I didn't have it too easy Jan 12 07:45:05 in effect, majority of what I did was in transit Jan 12 07:45:14 p_l how old are you? Jan 12 07:46:28 going on 25 this year. Fortunately, last year of uni, might be able to grab enough stable work to actually do something Jan 12 07:47:09 p_l dont even sweat it, you haz skillz that will never go out of fassion Jan 12 07:47:24 i never went to uni, not ever Jan 12 07:47:35 i have absolutely ZERO formal qualifications Jan 12 07:47:52 if a moron like me can charge $40 an hour you got it made :P Jan 12 07:48:24 I440r: well, the area I work in isn't exactly related to my degree... but university libraries are godsend Jan 12 07:48:42 if I move from aberdeen, I'm grabbing memberships in closest one :P Jan 12 07:48:55 p_l 99% of the people in the world with a degree work in some other field Jan 12 07:49:09 whats your degree in? Jan 12 07:49:16 I440r: artificial intelligence :) Jan 12 07:49:21 !!!!!!!! Jan 12 07:49:29 want to help me with mhy game? Jan 12 07:49:31 :))) Jan 12 07:50:42 the game map is 512 byt 256 tiles, there are a gazillion towns, cities, dungeons what have you. im working on the map personality scripting engine right now Jan 12 07:51:00 not enough time and energy right now, but I can direct you to really, really good book to start with Game AI: http://books.google.co.uk/books?id=1OJ8EhvuPXAC&printsec=frontcover&source=gbs_ge_summary_r&cad=0 Jan 12 07:51:14 i have a gazillion things left to do. the map will be broken into 4 zones. the first will be free Jan 12 07:51:30 p_l is it free? heh Jan 12 07:51:47 actually the AI i need is only pathing lol Jan 12 07:51:50 well so far Jan 12 07:52:00 I440r: not sure about free, but that's why I recommend grabbing membership of uni library... tends to have undiscovered pearls like this :) Jan 12 07:52:06 and there are plenty of eamples on the net if i cant figure it out myself Jan 12 07:52:09 I440r: till you need enemy AI :) Jan 12 07:52:14 i usuall can given time Jan 12 07:52:27 p_l ever play ultima 3? Jan 12 07:52:32 for pathing it will be a variation of A* anyway Jan 12 07:52:33 its basically like that Jan 12 07:52:37 ya Jan 12 07:52:50 somehow ultima series passed me by Jan 12 07:52:57 :) Jan 12 07:53:10 it was before your time :) Jan 12 07:53:19 but I just grabbed copies of I think all M&M games from 1 to 7 Jan 12 07:53:30 m&m? Jan 12 07:53:37 3 and 4 were the only ones i liked Jan 12 07:53:52 candy? lol Jan 12 07:54:08 I440r: my... experiences tend to wary a lot from demographics, enough to sometimes make people that lost teeth on PDP-11 think that they should get off my lawn ;) Jan 12 07:54:22 in my defense, I was working through ibm mainframe stuff at the time ;P Jan 12 07:54:26 Andreyonadam: Might & Magic Jan 12 07:54:57 ohh havent heard of it. i havent been playing games thst much latley Jan 12 07:55:08 Andreyonadam: you might know the world a tiny, tiny bit from Heroes of Might&Magic, which happen in the world of M&M 6&7, iirc Jan 12 07:55:16 my game will have no magic Jan 12 07:55:33 <-- trying to be a good christian but failing Jan 12 07:55:40 i fail at alot Jan 12 07:55:52 but i never stop trying heh Jan 12 07:56:22 havent gone to church in a long time lol Jan 12 07:56:47 i usually go just on holidays like easter Jan 12 07:57:16 that doesnt count Jan 12 07:57:27 easter and xmas are pagan not christian Jan 12 07:57:37 ohh Jan 12 07:57:40 well, depends which traditions Jan 12 07:57:45 what is pagan? Jan 12 07:57:47 xmas is a worship of the dollar bill not christ Jan 12 07:58:01 i wasnt fourtinate enough to go to a private school like my cousins Jan 12 07:58:01 lol haha Jan 12 07:58:04 druid is pagan for example Jan 12 07:58:10 Andreyonadam: there's no bunny/hare or anything involved in christian easter Jan 12 07:58:25 ahh Jan 12 07:58:39 Andreyonadam: "pagan" = "Anything not of my religion (group)" <--- being objective Jan 12 07:58:44 christmas should be about christ. its about money, nothing else Jan 12 07:58:54 my grandma fasts like a month for easter Jan 12 07:59:10 fasting is actually good for you too Jan 12 07:59:15 most ive gone is 10 dyas Jan 12 07:59:16 days Jan 12 07:59:35 dont fast for easter. dont fast for xmas. if u fast do it for god Jan 12 07:59:37 Andreyonadam: note the "group" part, because some religions are related (Christianity is not pagan to islam, for example, same with judaism to christianity... well, mostly) Jan 12 07:59:44 how did the subject get changed? lol Jan 12 08:00:30 p_l, ahhh that better explains it thanks Jan 12 08:01:00 I440r, you were talking about being a good christian with magic or something and before you talked about going to church Jan 12 08:01:15 :D Jan 12 08:01:35 anyways i might go more often now. Jan 12 08:01:47 myfault then lol Jan 12 08:02:03 no its alight lol Jan 12 08:02:15 my game wont have magic spells, my game is about rescuing the android bug bot :P Jan 12 08:02:23 so its all technology Jan 12 08:02:29 but in an ultima 3 setting Jan 12 08:02:42 with monsters and evil scientists :P~ Jan 12 08:02:47 do you guys:p Jan 12 08:03:02 have any succes with your own apps Jan 12 08:03:15 like I440r youd compiler Jan 12 08:03:20 *your Jan 12 08:03:27 Andreyonadam: nature of what I did with android led to stuff that isn't exactly "apps" Jan 12 08:03:27 ive never written any apps. im developing this game as my first app Jan 12 08:03:42 (tinkering with internals and dismantling them, otoh...) Jan 12 08:03:57 p_l, what do you usually work on with android Jan 12 08:04:03 never done oop, never done java. HATE oop c++. rejected oop for ever... actually like doing android oop dev Jan 12 08:04:28 p_l why cant my NDK lib do syscalls? Jan 12 08:04:28 I440r, good luck. your writing it nativley or using somrthing to make it? Jan 12 08:04:42 i try do a syscall and it segfaults on the swi 0 Jan 12 08:04:50 using java and native Jan 12 08:05:02 wrote the game map loading in C using ndk Jan 12 08:05:17 writing a scripting engine for the map personalities and MOB generation now Jan 12 08:05:22 i tried obj c and i was starting to understand it lol Jan 12 08:05:25 I440r: hmm. Not sure, but I wouldn't be surprised if there's some funny business in ABI handling that works fine when you run the application standalone... Jan 12 08:06:00 I440r, that seems hard and time consuming Jan 12 08:06:03 the exe runs just fine in adb shell in the emu and on my rewted fone Jan 12 08:06:07 man when I was storing images in memory the performance was much better, I switched to an LruCache and the performance is now just as bad as it was when I was fetching the images via URL every time. Jan 12 08:06:18 Andreyonadam, time is not an issue Jan 12 08:06:28 and we do these things not because they are easy but because they are hard Jan 12 08:06:28 ive never done NDK or even looked at it at all Jan 12 08:06:29 I440r: I had once an interesting bug that only happened with dynamic linking related to calling convention used Jan 12 08:06:29 lol Jan 12 08:06:44 true Jan 12 08:06:55 but i haz to zone out Jan 12 08:06:56 bricker: profile the code carefully Jan 12 08:07:08 time to enter power saving mode Jan 12 08:07:17 bricker? Jan 12 08:07:24 oh lol Jan 12 08:07:57 im a go zzz nao Jan 12 08:08:13 too muh JD, too many hours coding, not enough sleep Jan 12 08:08:13 idk what to do. i have vad time managnent abd get distracted easily Jan 12 08:08:16 catchup time Jan 12 08:08:31 alright man peace Jan 12 08:08:39 take it easy Jan 12 08:08:42 my attention span is very small too till i zone in mentally Jan 12 08:08:44 nite Jan 12 08:08:44 :d Jan 12 08:08:49 :D Jan 12 08:09:04 nite Jan 12 08:09:24 looks like ill be leaving to. Jan 12 08:09:27 p_l: any tools you can recommend for that, besides just Log.d everywhere and scanning the logs? Jan 12 08:09:32 gotta go sleep Jan 12 08:09:32 peace guys Jan 12 08:09:37 :D Jan 12 08:10:38 bricker: there are some tracing tools that generate reports, you might get some interesting data from heap profiler (if memory is your slowdown) etc. Jan 12 08:10:59 can't recall which profiler tools supported java code on android Jan 12 08:17:37 I made the LruCache a singleton, maybe that was a bad idea Jan 12 08:26:08 On Android Studio, to make an App Engine Android project, what am I supposed to do? Jan 12 08:41:20 If I want to change my visible dev name/email and don't want to go through all the trouble of emailing Google, can I just change the visible email for the apps along with the developer name? Jan 12 09:22:00 :O http://i.imgur.com/BOTyHYh.jpg Jan 12 09:23:41 looks japanese Jan 12 09:26:24 hehe, japanese have a monopoly on cute ;) Jan 12 09:33:08 ah, here we go again http://threatpost.com/flaws-plague-leading-mobile-banking-apps/103547 Jan 12 09:33:31 this was iOS … but i'm sure the same thing happens on android Jan 12 09:33:44 since, i've already read 2 papers on that :D Jan 12 09:33:46 That bunny is like "okay I'm ready for school. Wait, did you pack the carrots?" Jan 12 09:33:55 :) Jan 12 09:34:20 also, looks like tues will be big oracle java patch day Jan 12 09:34:45 " Java 6 users who use equipment or programs that rely on older versions are SOL unless they sign up for a very expensive support contract, as these patches are for Java 7 only." Jan 12 09:34:46 heh Jan 12 09:41:29 tooooooooooooo ... cute <3 Jan 12 09:42:46 bit of a concern when it's bank apps that have the sec problems Jan 12 09:44:01 that article talks about system logs - i've seen some pretty interesting logs in a few android apps Jan 12 09:45:11 bankai_ the past 2 paper i read were interesting also; mostly the social aspects of this. in the study they reached out to the devs, asked if they wanted help, helped in those cases - and still, 60 days later most apps were not fixed or fixed correctly Jan 12 09:45:45 interesting Jan 12 09:45:51 seems that ssl/tls apis are difficult for many to grasp Jan 12 09:46:43 werne't you doing something recently with SSL ? Jan 12 09:47:36 yes, i had to use ssl with eclipse paho Jan 12 09:47:42 Do I have to install aapt on Linux or something? Jan 12 09:47:52 just needed to educate myself on ssl, pki, and jsse Jan 12 09:49:20 not an expert in any way, just wanted to make sure i did it right :) Jan 12 09:51:28 bankai_ but i did get a bit more interested in the topic of security in general, a great online book (see the reviewers) Jan 12 09:51:29 http://www.cl.cam.ac.uk/~rja14/book.html Jan 12 09:51:53 if Bruce S have it +1, its probably pretty good Jan 12 09:52:04 aww another book recommendation ? ;) Jan 12 09:52:08 XD Jan 12 09:55:42 i'll give it a read later, looks interesting Jan 12 09:56:00 1000 pages :) Jan 12 09:56:09 i'll read it at work ;) Jan 12 09:56:34 have to do something while i wait for my redundancy Jan 12 09:56:56 Greetings, folks! Couldn't anyone suggest me a way to solve my problem? My app wrapper is a view pager with two side bars while in the center is main space. So if in the center is the map fragment, sliding looks so: http://i.posplaw.ru/android-viewpager-map-fragment.png Jan 12 09:58:42 For info, this only happens on phones/tablets with android < 3.0, literally, devices with no native fragment support, duh :< Jan 12 10:00:06 I added "compile 'com.nostra13.universalimageloader:universal-image-loader:1.9.+'" to my gradle dependencies but it isn't available still - do I need to do something to make it so Jan 12 10:00:10 ? Jan 12 10:07:18 huh, just restarting Android Studio picked it up. I must have been running the wrong gradle task. Jan 12 10:10:56 As & gradle are goofy. Jan 12 10:11:23 wouldn't have that problem with IJ Jan 12 10:15:21 Hey guys. Quick question. I have a layout defined via xml. Some of the EditText inputs they set are saved to a preferences file. When they return it there a way to populate those EditTexts with the same entries programmatically? Like can I call them by their ID? Jan 12 10:16:46 Never mind. Found exactly what I'm looking for, just a little extra digging required Jan 12 10:17:18 wow less than a minute! Jan 12 11:52:34 is that psosible? Jan 12 11:52:35 wrong channel for that kinda thing Jan 12 11:53:07 bankai_: let me guess android-kernel right? Jan 12 11:53:26 *shrugs* Jan 12 11:56:25 anyone know how to add the sort-of-emacs keybindings of normal Mac OSX text views to Android Studio? Jan 12 11:56:48 some work, like ctrl b, k, p, and n Jan 12 11:56:57 but not having ctrl+d is killing me Jan 12 11:57:34 there's vi key binding addons for IJ, i'm sure there's emacs ones Jan 12 11:58:25 idk, maybe im slow, but i cant find the keybinding settings for it -- unless you need a separate add-on? Jan 12 11:59:43 oh there it is Jan 12 12:01:00 ;) Jan 12 12:03:45 oh wow that was annoying Jan 12 12:03:55 ^D was originally mapped to Run > Debug Jan 12 12:04:12 everytime i wanted to delete a character, project would build lol Jan 12 12:04:20 Can I put something on the lockscreen, and prevent screen from turing off ? Jan 12 12:04:38 bluesm1: are you doing android or ios? Jan 12 12:04:54 (Of course if user allow for such intrusive behaviour) Jan 12 12:05:20 otiose: Why this question? I'm on the #android-dev channel, so it is android's question ;) Jan 12 12:05:42 i know this is an android question, but i noticed you in the iOS chat as well Jan 12 12:06:17 otiose: You are also on #iphonedev as well ;) I try to learn them in parallel ;) Jan 12 12:06:45 as for you iOS question, i would probalby just print it out in hex NSLog(@"%x", number); but i guess your gist for the binary string might be OK too Jan 12 12:06:57 i didn't look at it too hard Jan 12 12:07:32 otiose: Wwell you answer iOS question on the #android-dev !? Jan 12 12:07:36 as for your question here, im not sure -- i think you can put things on the lock screen, and im pretty sure they have a 'don't turn off' flag for activities Jan 12 12:07:52 but i dont know if you can use them the same time Jan 12 12:08:10 ie, im not sure if you can do what you want to do... i do mostly iOS Jan 12 12:08:26 well, i answered both ;D Jan 12 12:24:27 not sure if it applies to lockscreens, but using android.permission.WAKE_LOCK together with something like http://hastebin.com/jixekewayo.java should work. Jan 12 12:24:38 otiose: ^ Jan 12 12:24:49 oh, wait. wrong highlight. sorry. Jan 12 12:24:56 bluesm: ^ Jan 12 12:25:03 yeah, thanks. :) Jan 12 12:26:36 oh, SCREEN_DIM_WAKE_LOCK was deprecated in API 17... Jan 12 12:26:58 sigv: So we can't do it ? Jan 12 12:27:02 otiose: http://developer.android.com/reference/android/view/WindowManager.LayoutParams.html#FLAG_KEEP_SCREEN_ON Jan 12 12:27:07 * sigv facepalms Jan 12 12:27:12 lol Jan 12 12:27:13 sorry otiose Jan 12 12:27:13 sigv: I mean it is meant to be removed ? Jan 12 12:27:42 bluesm: yeah, the method i suggested at first is still available, but should not be used. Jan 12 12:28:12 sigv: So there is no "proper way" to do it ? They remove it because it is too intrusive ? Jan 12 12:28:15 the FLAG_KEEP_SCREEN_ON on other hand seems like a good bet you could try Jan 12 12:28:37 WindowManager.LayoutParams.FLAG_KEEP_SCREEN_ON (Window flag: as long as this window is visible to the user, keep the device's screen turned on and bright.) Jan 12 12:31:16 Hello , why using threads ThreadPoolExecutor with more threads it is slower on old device? Jan 12 12:32:52 hmm, im making somewhat of a decorator pattern, where i have an inner class of the same interface as my own class Jan 12 12:33:24 WHen I make certain calls, i want to use the inner object if it exists, or the super implmentation if it doesnt Jan 12 12:34:19 so i figured I'd make a method like getThing() { if (mInner != null) { return mInner; } else { return super; } so then i could just do getThing().methodToCall(); Jan 12 12:34:25 but apparently i can't do that? Jan 12 12:36:38 super.getThing() Jan 12 12:37:49 super is WebViewClient :/ Jan 12 12:38:34 i guess what i want to do doesnt actually make sense Jan 12 12:38:39 extend WebViewClient to have a CustomWebViewClient that has the super.foobar() that you need? Jan 12 12:38:53 Yeah, it doesn't make sense Jan 12 12:39:00 nazi Jan 12 12:39:01 and then extend your CustomWebViewClient for your final class? Jan 12 12:39:28 what are you trying to accomplish anyway? Jan 12 12:40:03 just a method so I dont have to write if (mInner != null) { mInner.method(); } else { super.method(); } all the time :) Jan 12 12:48:27 I want to add a link to launch my app in certain address book contacts, (similar to facebook twitter etc) Jan 12 12:48:41 can someone tell me what those are called? My google fu is failing :( Jan 12 13:03:23 Hi All, I'm trying to use org.roboguice:roboguice:3.0b-experimental in gradle however it cant find the support library v4 Jan 12 13:03:49 I'm on linux, when I had this problem on windows I needed to download the support library from the sdk manager. What do you do on linux to solve this problem? Jan 12 13:05:38 Madness, apparently you must add the dependency manually Jan 12 13:07:07 Madness? This...is...ANDROID!!!!! Jan 12 13:07:44 Ha! How very apt zettablade Jan 12 13:09:01 I know java is garbage collected, but how good is it? Doing something like this https://gist.github.com/anonymous/5bf216f913a90d740ec0 could lead to neither objects being deallocated (retain cycles) Jan 12 13:17:06 haha, public boolean onLoadClass (Class clazz). i know it's because lowercase class is a reserved keyword, but still. Jan 12 13:17:20 this is at http://developer.android.com/reference/android/widget/RemoteViews.html#onLoadClass(java.lang.Class) Jan 12 13:18:51 lol yeah, it feel kind of jazzy, but its pretty common Jan 12 13:21:33 but isUserAMonkey() is so awesome :) Jan 12 13:22:03 http://developer.android.com/reference/android/app/ActivityManager.html#isUserAMonkey() Jan 12 13:24:20 haha, and it actually does something Jan 12 13:24:53 similar: http://developer.android.com/reference/android/os/UserManager.html#isUserAGoat() Jan 12 13:25:08 otiose: as far as i remember, monkey meant internal testing. Jan 12 13:25:19 you can run monkeys from adb Jan 12 13:26:00 haven't used it myself. :) Jan 12 13:26:28 UI/Application Exerciser Monkey Jan 12 13:26:34 http://developer.android.com/tools/help/adb.html ctrl-f that or Jan 12 13:26:46 http://developer.android.com/tools/help/monkeyrunner_concepts.html for something that i've never used :) Jan 12 13:26:57 Monkeyrunner Concepts sound fun. Jan 12 13:27:35 ooh, python! Jan 12 13:41:16 hi any ideas ? http://stackoverflow.com/questions/21074981/threadpoolexecutor-more-threads-slower-android Jan 12 13:44:06 I want to create shortcuts that uses the Windows key modifier. Jan 12 13:44:58 I'm using Eclipse 4.2 on Ubuntu. Jan 12 13:45:20 In Preferences > Keys, I can use control/shift in the Bindings but the Windows modifier isn't recognized. Jan 12 13:45:29 Is there some way to turn on the Windows key modifier? Jan 12 13:46:36 fish on road Jan 12 13:46:59 trying not to get run over Jan 12 14:01:01 Does anyone know why I'm getting the following error: W/ResourceType( 4136): ResXMLTree_node size 0xffffffff or headerSize 0xffff is not on an integer boundary. Jan 12 14:02:30 And this error: http://hastebin.com/kimefelira.tex The code that is in that hastebin is also the reason why I'm getting both of the errors. If I remove that from the XML, then there's no problem. Jan 12 14:03:54 The actionViewClass gives the error too, I forgot to include it. It's the same error; Jan 12 14:10:30 Dreeass: >:( Jan 12 14:10:48 Dreeass: I'm going to buy you a dildo next x-mas Jan 12 14:11:11 Coryn, what? Jan 12 14:11:21 Where did that come from? Jan 12 14:12:07 that is indeed a good question >:) Jan 12 14:12:57 Isn't there a genius here that knows why I'm getting this error? The code comes straight from developers.android.com Jan 12 14:13:59 * Coryn smacks Dreeass in the head with a large plastic dildo Jan 12 14:14:36 ? Jan 12 14:14:58 this is no way to be acting on the day of our Lord, Coryn Jan 12 14:15:50 the lawd is our savior Jan 12 14:16:05 Dreeass: is the package really be.cloock.nupdate? Misspell clock? Jan 12 14:16:33 zettablade, haha no. Jan 12 14:16:49 Visit cloock.eu Jan 12 14:17:01 I died once, and I was a practicing muslim. I was the perfect muslim, and I did good deeds (i fed starving kids etc). Did you know what god said? "No, you should have been a jew! Straight to hell with ya!" :( Jan 12 14:17:04 It's a temporary domain for another site. Jan 12 14:17:20 omg it's all written in jibberish Jan 12 14:20:10 I dunno, have you tried turning it off and on again? That's my advice. Jan 12 14:21:06 ^ Jan 12 14:24:12 hey, how can i make my actionbar transparent with a certain opacity but keep it above the app's layout? when i use overlay, the entire app and nav drawer goes under it Jan 12 14:26:57 Why would you make an action bar transparent and not overlay it? Jan 12 14:28:29 Doesn't it need to overlay something for the transparency to work anyways? If you don't overlay, there pixels have nothing to blend and you have a regular, opaque action bar. Jan 12 14:31:25 jacky: I fuck you in the ass with a dildo :3 Jan 12 14:32:42 *sigh* Jan 12 14:32:52 Someone take that guys dildo away! Jan 12 14:33:00 he's gonna poke a brain out! Jan 12 14:33:20 sounds like it's too late for him, but spare the rest! Jan 12 14:33:30 :) Jan 12 14:34:01 how can somebody so blatantly stupid en up in a dev channel Jan 12 14:34:57 kamintears: even einstein pulled dildo-jokes Jan 12 14:35:10 Coryn: u sure? Jan 12 14:36:19 yes, I was there. We were paling a pig, for hannuka, when a wild charichard suddenly appeared. He then said: lol, what if we threw a dildo instead of a pokéball :3 Jan 12 14:37:06 s/pale/peel Jan 12 14:37:07 zettablade, the website is Dutch. Turning what on and off? Jan 12 14:37:14 zettablade: well the problem is when i enable overlay via getWindow().requestFeature(Window.FEATURE_ACTION_BAR_OVERLAY);, the navigation drawer also opens under it Jan 12 14:37:17 Dreeass: turning me on and off :3 <3 Jan 12 14:37:49 Coryn: what is it with you and dildos? Do you not have enough at home? Jan 12 14:38:02 I seriously think this guy/girl has a sex addiction. Jan 12 14:38:15 zettablade: so i want to make is transparent and overlay, so that listview goes under it, but at the start of the activity, things should start under actionbar until user swipes down Jan 12 14:38:32 thundar97: no, I'm kind of a failure. 32, still lives at home, curled, no job or education :/ Jan 12 14:38:53 oh well. thats what u get for slacking off. Jan 12 14:38:55 so I try to add some "value" to my life by becoming an irc dildo-man Jan 12 14:39:00 indeed :( Jan 12 14:39:12 go to ##windows Jan 12 14:39:20 instead of being a reputable PhD, I'm not even a semi-famous dildo-man Jan 12 14:39:33 nice, indeed I will (if I'm not banned there already) Jan 12 14:39:37 Coryn, then waste your life on another channel. Don't make our educational brains drag u down. Jan 12 14:40:05 Dreeass: :thumbsup: Jan 12 14:40:21 thundar97, upvote you mean? Jan 12 14:40:31 lol. yes/ Jan 12 14:40:56 So does anyone know why I'm getting those errors? Jan 12 14:41:19 Dreeass: perhaps there's a dildo stuck in the code? :3 (hey, I'm just trying to help!) Jan 12 14:42:38 How do I mute someone? Jan 12 14:42:45 right click, ignore Jan 12 14:42:47 Got it Jan 12 14:42:49 or /ignore Coryn Jan 12 14:43:02 you're just making it worse though Jan 12 14:43:32 since you'll se fractional conversations instead, when thundar97 replies to me :3. Right thundar97? u + me, we're oging to talk dildos, now aren't we :3 Jan 12 14:46:17 YES! no more Coryn Jan 12 14:46:33 anybody know if it is possible to make an xml drawable that has colored rounded corners? Jan 12 14:47:15 the target is to make a mask for bitmaps - i want to make transparent, rounded corners. Jan 12 14:47:29 if i can't do that, black is the goal. Jan 12 14:47:48 sigv: yeah, you can do it Jan 12 14:48:03 Coryn: i'm listening. Jan 12 14:49:01 sigv: use the p3n15 framwork, it's open source with GPL, if you want to use it commercially. Jan 12 14:49:13 google it Jan 12 14:49:46 p3n15? you sure? Jan 12 14:51:19 yes Jan 12 14:51:46 better search for images though, so you can recognize the xml stuff (relevant screenshots) Jan 12 14:53:16 did you find it sigv? Jan 12 14:53:35 that doesn't sound right :) Jan 12 14:54:58 sigv: does this help? http://www.mindfiresolutions.com/How-to-create-a-rounded-cornered-view--via-xml--for-Android--1395.php Jan 12 14:59:06 kamintears: thanks for that, but i meant the reverse of that - i want the corners colored and the middle transparent here. Jan 12 15:01:53 How to connect android app with tcp server? Standard Java networking ? Jan 12 15:02:13 KeyboardNotFound: yes, but not on the main thread Jan 12 15:02:26 KeyboardNotFound: also note that mobile devices may have a less stable network than you're used to Jan 12 15:03:11 zinx, yes I know that :) thanks for help :) Jan 12 15:03:53 it's worth noting that Android does the 'nio' stuff too Jan 12 15:08:26 I can develop android app only in java ? Jan 12 15:19:31 Can someone please help me with this shitty appcompat? I can't find a solution to this error for 3 days, even the developer.android.com tells me to use this code. Jan 12 15:19:33 https://gist.github.com/Dreeass/bf9f268969a005fa5ce7 Jan 12 15:20:10 KeyboardNotFound: No you can develop also using C and C++, and workarounds exist also to develop using Python and probably Scala Jan 12 15:20:41 galegosimpatico, you could make a webapp or a framework too. Jan 12 15:21:41 Dreeass, what api level are you usng Jan 12 15:22:35 Zharf, minimum 11 and targeting 19? Jan 12 15:22:37 .* Jan 12 15:23:06 Dreeass, gradle? Jan 12 15:23:15 Zharf, no. Jan 12 15:23:21 mmh Jan 12 15:23:34 Zharf, I wish I knew how to use Gradle if it even works with IntelliJ. Jan 12 15:24:00 make a proper testcase that can be compiled and there's a chance it might be fixed Jan 12 15:24:08 there's not enough information here Jan 12 15:24:10 -> sauna Jan 12 15:24:20 Zharf, a proper testcase? Jan 12 15:24:42 I'm giving you all of the information that I'm getting. Jan 12 15:24:44 http://eel.is/iso-c++/testcase/ Jan 12 15:25:04 that's from a c++ channel but it defines a testcase and is applicaple here Jan 12 15:25:10 aanyway, -> sauna, be back in 20 or so Jan 12 15:25:48 Looks like a good testcase to me, in previous posts I said that the yourapp things are the cause of the problem. Jan 12 15:40:23 Fuck it, I'm gonna try Gradle. Does someone know how to add Gradle to an existing Android project in IntelliJ, Jan 12 15:44:20 Why the fuck can't there just be a simple fucking tutorial for IntelliJ as there would be for Eclipse? I'm starting to fucking feel that I've wasted all of the money buying IntelliJ. Jan 12 15:45:39 buying software is always a waste of money Jan 12 15:52:29 Dreeass, gradle won't save you from this Jan 12 15:52:47 Dreeass, and I can't compile that, therefore it's not a good testcase Jan 12 15:53:01 Dreeass, and whatprevious post :p Jan 12 15:53:05 Zharf, we will see. I can't give you the source of my whole app btw. Jan 12 15:53:24 Dreeass, that's why you should make a testcase limited that demonstrates the problem with least amount of code Jan 12 15:53:57 and intellij is never a waste of money :p Jan 12 15:54:09 (also unnecessary to buy for android dev, but I did anyway) Jan 12 15:55:03 Zharf, I bought it for other development. I just got into Android development. Jan 12 16:10:18 hey, Zharf, guess what Jan 12 16:10:36 * Coryn throws a dildo forcefully into Zharf's head Jan 12 16:10:49 Coryn, what's up with you now? Jan 12 16:11:05 too much saint's row I guess Jan 12 16:11:06 Zharf: that is a really good question, sire Jan 12 16:12:16 do you have to code android in java? can't other languages do? Jan 12 16:12:49 well Jan 12 16:12:54 you can torture yourself with JavaScript Jan 12 16:13:00 or scala Jan 12 16:13:53 Zharf, nothing is working. I'm creating a new Gradle Android project and get all of the files in there and decides to throw me a fucking error Jan 12 16:14:03 I'm getting so fucking sick right now of this appcompat library Jan 12 16:14:11 It has already stolen 3 fucking days of my life Jan 12 16:14:15 FUCK Jan 12 16:14:16 :))) Jan 12 16:14:35 I suggest you swear some more and throw the keyboard in the screen. Jan 12 16:14:51 the only thing I can say is that you're doing it wrong, but then I can't tell how because you're not giving me enough information that I could provide assistance.... Jan 12 16:15:13 the only way someone could solve it for you from the information give is if they've had the same problem before and solved it for themselves Jan 12 16:15:17 but I've never had this problem :) Jan 12 16:15:35 Let's just say fuck this and start a new workspace Jan 12 16:17:03 yes, swearing is the key. Jan 12 16:17:13 force solves all the problems. :) Jan 12 16:17:25 let the darkness flow through you. Jan 12 16:17:32 I wish I had an expert sitting next to me Jan 12 16:17:40 that open source darkness. Jan 12 16:18:01 * sigv is not sure what he is talking about anymore Jan 12 16:18:06 Dreeass: what kind of expert? Jan 12 16:18:16 An IntelliJ, Gradle and Android expert Jan 12 16:18:31 well, then i don't qualify. Jan 12 16:18:52 Well honestly Gradle has thrown me in a couple of such fits Jan 12 16:18:58 then I noticed I don't have to use that crap :P Jan 12 16:20:08 can anyone recommend any awesome movie? Jan 12 16:20:32 Mavrik, after about 3 days you try every single thing. Jan 12 16:21:40 Coryn, not on #android-dev. Jan 12 16:22:14 * Coryn punches Mavrik in the face with a large dildo Jan 12 16:23:31 Great, now I'm stuck with an error that they say they can't explain. Cut the bullshit Android and Gradle and compile! Jan 12 16:25:39 Fuck this, I'm giving up Jan 12 16:27:18 Dreeass: but have you tried with inserting a dildo? :3 Jan 12 16:36:26 Can anyone help me with using Google Cloud Datastore on Android Studio? Jan 12 16:48:46 How can I load a drawable from the file name? For example, I have "img_tennis.png", and I have that file on the drawable folder Jan 12 17:00:13 Hmmm... adb doesn't detect my phone on linux Jan 12 17:00:44 It doesn't even show on lsusb Jan 12 17:10:38 which is the phone autrilla Jan 12 17:10:47 galegosimpatico: nexus 4 Jan 12 17:12:35 I debug apps with two different cellphones, but not all the environments I use seem to detect all the phones Jan 12 17:13:50 I do not have an intelligent solution for this Jan 12 17:14:29 But you could maybe try connecting the cellphone to a different development environment Jan 12 17:14:48 Another problem: this is zero, shouldnt be... mContext.getResources().getIdentifier(object.getImage(), "drawable", mContext.getPackageName()); object.getImage() is "img_hockey.png" in this case Jan 12 17:16:51 Well I actually have three development environments. Environment A detects cellphone Z but does not detect cellphone Y. Environment B detects cellphone Y. Environment C does not detect neither cellphone Jan 12 17:17:55 autrilla, no extension Jan 12 17:18:01 for the lulz Environment C is a Microsoft setup Jan 12 17:18:06 pfn: ah Jan 12 17:18:06 Thanks Jan 12 17:18:15 Was just going to try that Jan 12 17:24:55 hello Jan 12 17:24:56 hmm Jan 12 17:25:07 is it possible to test usb stuff on emulator? Jan 12 17:25:07 does it worth to GZIP my json or it would be slower ? Jan 12 17:25:13 this one from sdk Jan 12 17:28:41 I noticed that for network requests Jan 12 17:28:55 even they are slow it is better to be at one thread rather than one Jan 12 17:29:00 many* Jan 12 17:29:53 depending on CPU . If available CPU is 1 like my old phone then running 2-3 threads concurrent http requests are slower than Jan 12 17:30:00 running 1.. Jan 12 17:30:28 but at galaxy tab 3 that shows that has 4 processors runs faster with 4 threads Jan 12 17:39:44 http://lpaste.net/98371 <- Can someone tell me why that code makes the button be set at an offset. It works in another example where Im not using fragments but in the pasted example the buttone does end up more to the right and more further down that intended. Jan 12 17:45:42 Hello there! Jan 12 17:46:44 I have problems/questions about fragments Jan 12 17:46:47 can someone help me? Jan 12 17:54:20 hello i get java.lang.InstantiationException: can't instantiate class gr.com.simple.android.go.MainActivity$PlaceholderFragment; no empty constructor Jan 12 17:54:25 but constructor is empty! Jan 12 17:55:26 Baluse, static Jan 12 17:58:13 http://lpaste.net/98371 <- why does that layout cause an offset? If i set a buttons x,y to 0,0 it is not in the top left corner but there is a say 10 pixel offset for both x and y, what could be the cause? something in the xml? Jan 12 18:04:19 Can someone help me with fragments? Jan 12 18:04:24 i am using navigation drawer Jan 12 18:04:42 and i have an acitivy with a place for fragments and i am replacing them with the fragment manager Jan 12 18:04:50 the problem is when i try to go back Jan 12 18:04:55 i got blank pages Jan 12 18:05:03 and not the previous fragment Jan 12 18:09:15 Baluse, nested classes always implicitly take 'this' in the ctor argument unless static Jan 12 18:09:44 yep needed static Jan 12 18:14:25 i dont understand how to manage the back button press to return to the previus fragment correctly Jan 12 18:20:53 #photoshop Jan 12 18:21:10 ups....sry, wrong window ;) Jan 12 18:26:28 whatsapp uses your number to register, what if I sell my simcard to someone with a different device and downloads whatsapp. How does the app deal with that? Jan 12 18:34:09 CocoStorm: why would you sell your sim card? Jan 12 18:35:01 autrilla, ha I don't know it's a possibility right? Jan 12 18:35:15 CocoStorm: and illegal Jan 12 18:35:20 really? :S Jan 12 18:35:20 At least here Jan 12 18:35:27 I mean pay as you go sims too? Jan 12 18:35:36 Oh, we don't have those here Jan 12 18:35:40 ahh right Jan 12 18:36:02 What do you mean if whatsapp handles it? Jan 12 18:36:02 so in the US a number is tied to the person indefinitely until a new contract? Jan 12 18:36:15 You can ask whatsapp yo untie you afaik Jan 12 18:36:54 Oh really, so if I didn't untie the number whatsapp would appear as though I'm using it if the simcard is used in a different device Jan 12 18:37:21 Yes Jan 12 18:37:28 I see Jan 12 18:37:37 hmm Jan 12 18:37:41 You won't get old messages though Jan 12 18:37:52 yeah Jan 12 18:38:03 So whatsapp have a database of numbers? Jan 12 18:38:13 I'd guess so Jan 12 18:38:34 awesome thanks! Jan 12 18:39:31 I'd like to know how they do the verification sms stuff Jan 12 18:40:35 As in how they implement the back end for it? Jan 12 18:41:00 isn't it just a case of checking against a the random 3 / 4 digit number they give you? Jan 12 18:41:10 Yes, but how do they send the SMS Jan 12 18:41:14 oh right hmm Jan 12 18:41:16 true Jan 12 18:41:20 Do they charge you? Or do they pay Jan 12 18:41:51 no idea actually Jan 12 18:41:55 let me know when you found out lol Jan 12 18:46:54 Also, how many permissions does an app usually need? Mine used to be around 8 and I got a few emails with concerns. Now it has 12 but it isn't live yet Jan 12 18:47:16 CocoStorm: /needs/? most only need 0-2. Jan 12 18:47:23 heh Jan 12 18:47:26 depends entirely on what the app does. Jan 12 18:47:27 CocoStorm: but most request like eleventy billion. Jan 12 18:47:38 CocoStorm: because they harvest all your data :/ Jan 12 18:48:08 heh, so I shouldn't be too worried about 12 permisions. It would be good if there was a 3rd party regulator to confirm that there's nothing suspcious going on Jan 12 18:48:36 do you actually need all 12 permissions? Jan 12 18:48:47 zinx, yeah lol Jan 12 18:49:00 what does your app do? Jan 12 18:50:26 adds a contact automatically saves a picture from the front camera and saves as display picture it also has a map Jan 12 18:50:37 oh and texts too Jan 12 18:50:44 it sends them a text with the device's number Jan 12 18:58:38 should transactions occur occur inside fragments? they kind of have to right? Jan 12 18:58:54 i have a button and onClick (this is all inside the fragment) i want another fragment... Jan 12 19:22:15 hello i get socket timeout Jan 12 19:22:40 readtimeout Jan 12 19:32:10 good evening :) Jan 12 19:32:49 good morning :) Jan 12 19:33:03 good night :) Jan 12 19:34:07 I am getting java.net.SocketTimeoutException Jan 12 19:34:33 well thats no fun Jan 12 19:34:57 Sounds like your socket timed out Jan 12 19:36:41 yes but why ? Jan 12 19:36:59 i mean i use retrofit library. After some time when i try to do a new request i get this Jan 12 19:37:20 I bet there is some useful information in your stack trace. Jan 12 19:37:29 like ? Jan 12 19:37:51 * nebs telepathically reads your stacktrace Jan 12 19:38:23 i'll check it Jan 12 19:38:29 oh see, right there, lone 1234 Jan 12 19:38:38 you didn't properly close the previous connection Jan 12 19:38:55 retrofit is supposed to close Jan 12 19:38:57 it Jan 12 19:39:26 huh. I guess my powers of telepathy are not what they should be... :) Jan 12 19:42:22 trying to reproduce da probleme Jan 12 19:42:34 Weiß irgendjemand wie ich in Android GUI laggs hervorrufen kann wenn ich keinen Thread für netzwerk verbindung nutze? Jan 12 19:42:36 i think that callbacks might be the problem Jan 12 19:42:40 wat Jan 12 19:43:11 English only Jan 12 19:44:22 is there a way from android studio to see stacktrace or i have to printStackTrace ? Jan 12 19:44:37 i have a breakpoint there Jan 12 19:46:16 does anyone have an idea how i can make the gui lagging if i am not using a service with threads inside Jan 12 19:47:49 you dont have to do anything it is going to lag Jan 12 19:51:21 i dont have a internet connection or something, but i want to make it lag Jan 12 19:51:45 but i dont know what i can use instead of an internet connection Jan 12 19:56:06 My ADT is using Juno but I want to start using Kepler. What is the cleanest way to upgrade? Should I just download the adt-bundle-linux-x86_64 zip file again? Jan 12 19:59:52 Does someone know a website with SVG mockup files for Android 4.4? Device around the design is optional btw. Jan 12 20:06:13 Hi i am trying to request audioFocus and i implemented the solution from the docs http://developer.android.com/guide/topics/media/mediaplayer.html somehow the onAudioFocusChange() method is never called if i audiofocus is granted. What am i missing? THe code: http://pastebin.com/jStKcaFt Jan 12 20:07:29 Hello everyone Jan 12 20:07:40 I finally figured out how to add new libraries! Jan 12 20:07:53 well done Jan 12 20:07:58 :) Jan 12 20:08:06 File -> Invalidate Caches. :) Jan 12 20:08:08 Lol Jan 12 20:08:20 Not sure why I have to do that, but it works so oh well. Jan 12 20:14:51 android.app.Fragment cannot be used with FragmentActivity? Jan 12 20:15:27 When I open Android Studio, it runs a "gradle project sync" which updates dependencies. How do I do this without restarting android studio? Jan 12 20:16:26 "Gradle Project Import in progress" it says. Jan 12 20:16:28 you dont Jan 12 20:17:02 Is there another use case as initiate an internet connection to make the UI lagging if i am not using a extra thread? Jan 12 20:17:14 Baluse: So I have to restart AS every time I change the dependencies in build.gradle? Jan 12 20:18:31 tools > android > sync with gradle files Jan 12 20:19:56 ah-hah Jan 12 20:19:58 thank you SimonVT Jan 12 20:25:09 ok here is stacktrace http://pastebin.com/gkH9HcAe Jan 12 20:25:22 it blocks everything for a while Jan 12 20:27:35 hi Jan 12 20:28:18 i'm trying to simulate the screen "flashing", so i make a view that's covering the entire screen, set it to white, then try to animate its alpha to 0... the view stays on screen for the duration, then disappears like it should, but its alpha doesn't animate Jan 12 20:28:19 http://pastebin.com/imqQNPkN Jan 12 20:28:26 I see that the latest adt-bundle is dated 20131030. Which version of Eclipse does this have? Does it have Kepler (4.3) or the older Juno (4.2)? Jan 12 20:28:55 I've tried searching but haven't found any webpage that says 20131030 has Kepler. Jan 12 20:31:16 ahhhh alpha is float Jan 12 20:31:18 that's why :) Jan 12 20:32:25 ok, you've now upgraded to alpha+ Jan 12 20:34:27 Hey, do you recommend the oracle or open java? Jan 12 20:34:58 afaik oracle is faster Jan 12 20:35:10 okay, that one then Jan 12 20:35:56 Is 7 downwards compatible with 6 or do I need to get 6 specifically? Jan 12 20:36:15 should be Jan 12 20:36:51 Morning!! Jan 12 20:39:54 I just read that from API level 19 java 1.7 can be used. Will this break on phones with older Android version or does it not have anything to do with it? Jan 12 20:40:17 hello i get timeout exception with okhttp and retrofit Jan 12 20:41:55 Argh, I need somebody to tell me what to do in order to do Android development on Ubuntu 13.10 in IntelliJ. Jan 12 20:43:41 Anyone about that can give me some pointers on address book integration? Jan 12 20:43:44 Can someone tell me where PlanetFragment comes from? http://developer.android.com/training/implementing-navigation/nav-drawer.html#ListItemClicks Jan 12 20:44:05 marrrk, if you use apis not present, it will break Jan 12 20:44:11 if you use new bytecode operations not present, it will break Jan 12 20:44:23 Okay, so I will not use it then. Jan 12 20:44:32 So I install java 6 from oracle? Jan 12 20:45:04 You can install the OpenJDK if you prefer Jan 12 20:45:14 you can install java7 if you want Jan 12 20:45:21 just set -source 1.6 and -target 1.6 Jan 12 20:45:42 which should be automatic in just about any build tool you use Jan 12 20:45:57 the only new bytecode operation is try with resources Jan 12 20:46:01 That is accomplished easily with `apt-get update && apt-get install aptitude && aptitude install openjdk-7-jdk` Jan 12 20:46:27 Is it fine to just use the openjdk? Jan 12 20:46:48 yes Jan 12 20:46:49 For eclipse it is. Jan 12 20:46:58 it's fine for about everything, except building aosp Jan 12 20:47:05 and even then, you can tweak the build to run openjdk just fine Jan 12 20:47:06 Okay, that's good then, makes it easier. Jan 12 20:47:36 I don't hate myself enough yet to use Eclipse. Jan 12 20:48:15 There is also the thing that installing libreoffice without using OpenJDK can be tricky Jan 12 20:49:58 Okay, I hope sudo apt-get install openjdk-7-jdk will do the trick Jan 12 20:59:29 Whats the name of the little link in contacts to launch an app (facebook etc)? Need to do the same with mine and my google fu is failing :( Jan 12 21:05:39 I added "compile 'com.android.support:appcompat-v7:19.0.+'" to my build.gradle, but it doesn't seem to be adding it properly (not showing up under "External Libraries"). Do I need to do something else? Jan 12 21:06:59 So you cant have 2 activities running at the same time? but you can have several fragments running at the same time? so without fragments if you wanted to redo for a tablet you redesign a new view which consists of for example 3 different old views, while if you use fragments you dont have to - you can just set them next to each other!? Jan 12 21:07:19 or no that doesnt entirly make sense Jan 12 21:13:36 If I have the same bitmap as background for all my Views, what is the best way to handle it? some singleton class that will just create it the first time then return it to each view?7 Jan 12 21:14:53 fragry: are all your views under the same view hierarchy ? Jan 12 21:17:01 bricker it sucks Jan 12 21:17:12 <_Wingman> Hello, people! Maybe someone can help me? Today I have been programming for the first time under android =) (p.s. sorry for my bad english :) ) Jan 12 21:17:19 <_Wingman> In my app there is custom adapter for GridView vith imageviews, and onClickListener on every view. Like on this screenshot: http://clip2net.com/clip/m0/1389561053-clip-32kb.jpg?nocache=1 Jan 12 21:17:23 <_Wingman> My problem is: it's all good and new Activity creates, if i click on any image except the first one. If i click on first image, nothing happens. BUT if i click on first image (nothing), and then click on any other -- two activities are created, for the second and first images. Jan 12 21:18:07 <_Wingman> here is onclicklistener: http://pastebin.com/JzxynTbL Jan 12 21:18:34 <_Wingman> maybe by anyone will notice something wrong... Jan 12 21:18:52 hello Jan 12 21:19:01 is it possible to hide/show markers in google maps android api v2? Jan 12 21:19:06 can callbacks in retrofit cause problems if activity dies ? Jan 12 21:19:16 Lazeeee: yes Jan 12 21:19:33 if i press a button or checkbox or sth Jan 12 21:19:44 it shoudl hide all markers or show them Jan 12 21:19:58 Android Studio can resolve android.support.v7.appcompat, but none of the classes inside Jan 12 21:20:50 bankai_: is there some simple way to do this? Jan 12 21:21:13 it is very siple in normal desktop maps Jan 12 21:21:15 but in android Jan 12 21:21:31 there is not marker.hide() Jan 12 21:21:40 when you add a marker it returns a reference to that marker, so you just keep this list, iterate through it and do hide it Jan 12 21:21:45 fragry: i wouldnt hold on to a reference to a bitmap for as long as your app lives. you'll just be wasting memory. Jan 12 21:22:28 marker.visible(false), marker.remove()... not working Jan 12 21:22:31 setVisible(false) is what you want Jan 12 21:22:35 hm Jan 12 21:22:48 Which programming language have best support for developing android apps ? java ? Jan 12 21:22:58 KeyboardNotFound: yes Jan 12 21:23:23 bankai_: there is no setVisible method? Jan 12 21:23:33 at least my eclipse doesnt offer Jan 12 21:26:34 marker.visible(false) doesnt hide it Jan 12 21:26:38 i thought it should Jan 12 21:27:22 shit i am getting sockettimeout errors Jan 12 21:45:03 fuck Jan 12 21:45:08 So switching fragment seems really fast compared to starting anew activity... Jan 12 21:54:54 On the Facebook SDK for android it says I need to 'generate' a keyhash. How do I check if I already have one? Jan 12 22:04:48 http://pastebin.com/rFsdQLWk Jan 12 22:05:02 I have that kind of layout requirement.. can anyone think of a better way to achieve this? Jan 12 22:06:56 fragments ? Jan 12 22:07:25 how would fragments help? Jan 12 22:08:33 my main issue is that I have buttons in the items on the listview on the right Jan 12 22:08:49 and listviews do somethign funny with intercepting touch events from the buttons Jan 12 22:08:59 so it becomes trickier to sync the listviews properly Jan 12 22:09:21 I have a solution, but it's not perfect, and don't really like this way of syncing the listviews' scrolling anyway Jan 12 22:09:36 so I was just wondering if I was being retarded and there's a much better way to achieve this Jan 12 22:09:52 so fragments makes UI:s more responsive as well? Jan 12 22:18:52 I don't understand this: I'm in the folder .../build-tools/19.0.1 Jan 12 22:18:56 I do ls and there is aapt Jan 12 22:19:06 But if I do ./aapt it says no such file or directory Jan 12 22:19:19 I can even tab complete it Jan 12 22:21:10 did you update your sdk at any point while you were in that directory ? Jan 12 22:22:10 No Jan 12 22:22:37 what does 'file aapt' tell you ? Jan 12 22:23:07 ELF 32-bit LSB exectuable Jan 12 22:23:16 and some more stuff Jan 12 22:24:27 So if I have an Activity which hosts a DrawerLayout containing a ListView and a FrameLayout (for the main content), does that mean that every possible content in the main framelayout will be hosted by that one activity? Jan 12 22:25:04 Or I guess I could inherit other activities from the Drawer activity Jan 12 22:26:44 Hmm probably a 64 32 bit problem Jan 12 22:29:05 The facebook api is so unbelievably shit Jan 12 22:29:53 really? 'unbelievably" ? Jan 12 22:31:09 s/so unbelievably/a bit Jan 12 22:31:59 bankai_, http://en.wiktionary.org/wiki/shit#Adjective Jan 12 22:44:44 if you can't tab complete, then it's permissions Jan 12 22:44:46 chmod 755 aapt Jan 12 22:44:46 done Jan 12 22:45:06 if it says no such file or directory, then you need the 32bit userspace Jan 12 22:46:31 hello Jan 12 22:46:41 what should I do to enable battery related messages in the dmesg output? Jan 12 22:49:58 battery messages in dmesg? i don't get it... why is that important ? Jan 12 22:50:11 there's APIs for battery information Jan 12 22:50:53 TheOm3ga: you don't Jan 12 22:51:25 bankai_, I'm not developing an app, I just want to know if the charger I have sets the phone in slow or fast mode Jan 12 22:51:33 something like this: http://www.gldrush98.com/uploads/usbslowcharge.png Jan 12 22:51:43 wrong channel, then Jan 12 22:52:04 could you point me to the proper channel? Jan 12 22:52:20 #android-root Jan 12 22:52:54 already asked there Jan 12 22:53:15 doesn't make this the right channel :? Jan 12 22:53:32 I thought maybe you could know it as well Jan 12 22:53:44 at the end of the day, debugging is part of development Jan 12 22:55:07 if i have a pendingintent which sends a (for example CONNECT) as Intent to a service with RTC_WAKEUP. The Connect itself get executed and creates a new thread which connects. Does it need a wakelock? Because the thread dont seems to connect Jan 12 23:01:19 Hey guys, I've just imported the Facebook SDK into my project and I've got an error here saying I have two versions of android-support-v4.jar in the dependency list but not all are identical (different SHA-1's). Why is this? Jan 12 23:02:10 because you have two versions of android-support-v4.jar in the dependency list but not all are identical (different SHA-1's). Jan 12 23:02:43 zinx, do I need two? Jan 12 23:02:48 why do I have two :P Jan 12 23:02:56 i dunno, you're the one who did it.. and no, you don't Jan 12 23:04:10 so I just dleete one? Jan 12 23:04:58 but they are apparently different Jan 12 23:05:40 I have a layout where I'm trying to set the ImageView's onClick Listener to a specific class. Jan 12 23:05:45 you should just use the simplefacebook library Jan 12 23:05:48 But in the XML it's saying that it's unresolved. Jan 12 23:05:49 makes everything soooo easy Jan 12 23:05:52 Any suggestion? Jan 12 23:05:56 CocoStorm: wouldn't you use latest version? Jan 12 23:06:03 pBlack: please dont use onClick in your xml, ever. Jan 12 23:06:13 Ok, any other option? Jan 12 23:06:19 set the listener in code Jan 12 23:06:23 ^ Jan 12 23:06:30 canvs2321, how do I know which one is the latest? Jan 12 23:06:32 That's crashing me for some reason. :( Jan 12 23:06:42 The layout is inflated by a fragment. Jan 12 23:06:55 So I'm trying to setOnClickListener in the activity. Jan 12 23:06:55 Use your SHA-1 hash to determine, or check out the Sdk Manager to see what is the latest Jan 12 23:07:16 in your fragment, where the view is inflated, thats where you have to set the onclicklistener Jan 12 23:07:24 pBlack: set it after you get it from your inflated fragment layout Jan 12 23:07:25 I get an exception because my BoardView cannot be cast to ViewGroup. but only Viewgroup has addView. BoardView is not loaded from xml, it is my own class that extends View. Any hints? Jan 12 23:07:47 So after onCreateView() returns? Jan 12 23:08:19 pBlack: You might consider going through the android developer tutorial to brush up on your basics Jan 12 23:08:27 as soon as you have your fragment layout inflated use that mView.findViewById(...); Jan 12 23:08:55 Alrighty. Jan 12 23:09:56 fragry: Why do you think View can be cast to ViewGroup? Jan 12 23:10:43 canvs2321, I still don't know how to determine Jan 12 23:10:55 which of the two are the latest Jan 12 23:11:16 Then find out why you have 2: 1 you added? the second is from.... Jan 12 23:11:38 canvs2321, I have google sdk Jan 12 23:13:40 then check location of the installed v4 from google sdk&match it to what to use Jan 12 23:14:14 match it? Jan 12 23:14:25 desmin88: hmm because i successfully did. But I need to somehow add my own custom View to a Viewgroup? Jan 12 23:15:52 I'm just going to dlete ont Jan 12 23:16:09 should work right? Jan 12 23:17:40 okay, so I've no idea what's going on Jan 12 23:17:57 I import the Facebook SDK and all my Google code isn't working Jan 12 23:19:30 arghh Jan 12 23:19:36 fragry: What you described you cant do Jan 12 23:23:23 fragry: If you have class A extending View, you can't cast this to viewgroup Jan 12 23:25:01 im successfully pushing messages from server to phone using GCM and displaying them in a notification. how can i make it so that the GcmIntentService can check to see if the app is running, and, if it is, send the received message to the currently running Activity? Jan 12 23:26:13 PDilyard: I would use an event bus, like Otto by Square Jan 12 23:26:57 thanks for the tip, i've never seen this before Jan 12 23:44:18 I'm looking in to porting Android to an omap3 based device, does anyone know if the rowboat project is still being maintained - it doesn't look like it is to me? Where is omap related android development being done? Jan 12 23:46:04 <|0xD34D|> sj: I believe the original nook tablet used omap3 Jan 12 23:47:09 I've deleted one android-v4-support.jar and kept the other but my google sdk code is still giving errors Jan 12 23:49:31 as or eclipse Jan 12 23:51:04 desmin88, eclipse Jan 12 23:51:19 1. use as 2. include it as a gradle dependecy Jan 12 23:51:52 I've tried replacing one with the other but it's still saying they're different :S Jan 12 23:53:50 anyone? Jan 12 23:55:34 oh wait Jan 12 23:55:40 fuck Jan 12 23:55:52 i forgot the eclipse explorer included the libs folder Jan 12 23:56:02 it wasn't syncing Jan 12 23:56:10 and apparently it doesn't refresh when you click clean build Jan 12 23:56:13 pff Jan 13 00:05:07 any ideas on why my phone becomes extremely unstabled when plugged into usb with adb on? Jan 13 00:05:44 i know its not my app, because it runs just fine if i upload the APK and download and install it on my phone Jan 13 00:05:53 thats just an annoying way of testing though Jan 13 00:06:08 :) Jan 13 00:06:23 anyway, the phone goes into a bootloop within a minute or two of plugging it in Jan 13 00:06:33 Everything worked out for me. Jan 13 00:06:42 I forgot I can override onResume in a fragment. :) Jan 13 00:06:48 That took care of view inflation. :P Jan 13 00:23:07 <|0xD34D|> PDilyard: I'd check logcat as that occurs to see what's going on Jan 13 00:24:42 If I have the same bitmap as background for all my Views, what is the best way to handle it? some singleton class that will just create it the first time then return it to each view?7 Jan 13 00:24:46 fragry: are all your views under the same view hierarchy ? Jan 13 00:24:54 yes i think so Jan 13 00:25:09 or maybe not Jan 13 00:27:13 |0xD34D|: i plugged my phone into usb and it immediately powered off. i pressed the power on button, and it started to boot. then it froze while on the bootloader screen. here's the last few things i got in logcat before it shut off again after being frozen for awhile Jan 13 00:27:15 http://pastebin.com/eNqHaVjf Jan 13 00:28:26 <|0xD34D|> if it's bootlooping then you should see if you can get more log than that Jan 13 00:28:58 <|0xD34D|> does exhibit this behavior when plugging into a charger or just via a PC Jan 13 00:29:00 <|0xD34D|> ? Jan 13 00:29:03 just pc Jan 13 00:29:18 well i just pasted the last section of logcat before it shut down Jan 13 00:29:30 is there a way to save the whole thing to a file? Jan 13 00:29:44 <|0xD34D|> adb logcat > somefile.txt Jan 13 00:29:54 <|0xD34D|> that would direct the output to somefile.txt Jan 13 00:30:03 k hang on Jan 13 00:30:34 <|0xD34D|> on linux I usually use 'adb logact | tee somefile.txt' so I can see the output on my screen while it is also tee'd into a file Jan 13 00:32:35 |0xD34D|: here's the entire boot...its not a bootloop anymore it just starts and then freezes on the boot animation. and this is while plugged into my pc running ubuntu 12.04 Jan 13 00:32:35 http://pastebin.com/FNM0qQ2Y Jan 13 00:35:08 <|0xD34D|> not sure what's going on. You could try using the adb over wifi option since you are using CyanogenMod Jan 13 00:35:34 <|0xD34D|> assuming you are on a local wifi network Jan 13 00:36:07 yeah here's a second boot, and this one didn't sit on the boot animation for very long at all Jan 13 00:36:08 http://pastebin.com/QLwSWKHh Jan 13 00:36:22 but there doesn't seem to be much in common from what caused the freeze Jan 13 00:36:36 (i dont really know too much about what im looking at) Jan 13 00:36:45 #Cyanogenmod Jan 13 00:37:38 <|0xD34D|> there were a few exceptions but what I would do is check out the adb via wifi option in CM and use that to install and debug your apps Jan 13 00:37:40 bankai_: im guessing its a firmware issue at this point...not sure what they'd be able to tell me in the cyanogenmod chan Jan 13 00:37:55 |0xD34D|: alright cool, thanks for the help Jan 13 00:38:16 <|0xD34D|> np, it's not a fix but a possible work around Jan 13 00:38:33 yep Jan 13 00:38:53 i'll try it later on my laptop to see if there's a difference Jan 13 00:46:18 :) Jan 13 00:51:13 |0xD34D|: yeah its working great on my laptop running ubuntu 12.04 Jan 13 00:51:26 i just built and ran a quick app and its stable as can be Jan 13 00:51:35 <|0xD34D|> PDilyard: adb over wifi or plugged in via USB? Jan 13 00:51:57 |0xD34D|: plugged in Jan 13 00:51:59 USB Jan 13 00:52:03 into my laptop Jan 13 00:52:16 so it must be an ubuntu or adb configuration issue Jan 13 00:52:31 <|0xD34D|> that should not cause a reboot and problems like that though Jan 13 00:52:52 <|0xD34D|> maybe the usb is faulty and doing something weird Jan 13 00:53:01 im going to look in that 51-android.rules file, see if theres any differences? Jan 13 00:53:03 maybe? Jan 13 00:53:15 i tried two USB ports on my desktop Jan 13 00:58:15 |0xD34D|: yeah i changed 51-android.rules using these instructions and so far its pretty stable Jan 13 00:58:16 http://askubuntu.com/questions/213874/how-to-configure-adb-access-for-android-devices Jan 13 00:59:03 <|0xD34D|> never heard of that causing a device to reboot, just preventing access to the device if not setup properly Jan 13 01:01:01 yeah pretty weird. i'll let you know if it still has any problems if you're interested. but i just installed my app via adb and i was never able to get this far before Jan 13 01:09:52 |0xD34D|: i spoke too soon...its more stable, as in i can actually boot successfully, but it will still restart randomly Jan 13 01:10:01 so far its done it twice Jan 13 01:10:15 once without me touching anything Jan 13 01:10:34 i am Jan 13 01:10:45 there is a strange behavior at retrofit Jan 13 01:11:08 I used wireshark and seems Jan 13 01:11:26 that I get the packet but android then sends tcp retransmition Jan 13 01:13:51 That has nothing to do with Retrofit Jan 13 01:14:12 in retrofit i get read timeout exception Jan 13 01:14:16 thanks jake Jan 13 01:14:37 can at retrofit provide abstract class instead of interface ? Jan 13 01:14:42 No Jan 13 01:15:05 its only interface ? Jan 13 01:15:12 thats what he said heh Jan 13 01:15:15 Yep Jan 13 01:15:41 hm .. currently I create another class that delegates the commands because some need some custom logic Jan 13 01:15:58 like changing to dto etc Jan 13 01:16:06 is there any other solution / Jan 13 01:16:50 Anyone have a good resource on using outside libraries in Java/Android? Jan 13 01:16:58 In C++ we include headers, and link to libraries. Jan 13 01:17:06 Java it's?---> VOID :) Jan 13 01:17:35 Packages? :P Jan 13 01:18:24 it's a jar + public classes and methods. Jan 13 01:24:05 Hi guys, I have integrated facebook in my app, but when I click log in and get passed the this app would like to access your fiends list dialog it closes and resumses back to the app but it's not logged in? Jan 13 01:24:49 why is this/ Jan 13 01:24:54 Also, I don't get any errors or anything Jan 13 01:27:36 jars are headers and libraries all in one Jan 13 01:30:22 PFN: Can I get by with just libraries? Jan 13 01:31:07 why wouldn't you be able to Jan 13 01:31:14 good resources = go learn some java Jan 13 01:31:29 It was my first language lol. Jan 13 01:31:37 Then went to C++ and never came back. Jan 13 01:31:40 Until now. Jan 13 01:31:49 it was never your language to begin with Jan 13 01:31:58 just because you learned how to write "hello world" doesn't mean you know the language Jan 13 01:32:05 But since simple yes or no questions are not allowed, I'll move on to the next resource lol. Jan 13 01:32:06 :) Jan 13 01:32:23 Thanks for your input. Jan 13 01:35:58 is there a portable way to get the current cell signal strength? Jan 13 01:43:55 Hi all good morning Jan 13 01:48:06 Morning advx_ Jan 13 01:48:18 Where do you live? Jan 13 01:58:43 pBlack: Hello Jan 13 02:00:12 aww licksjp is in .jp :) lucky thing Jan 13 02:00:39 bankai_: hello Jan 13 02:03:33 so I am making a lock screen, sort of, and I want to display the cell signal strength Jan 13 02:03:48 is the right way to do a PhoneStateListener and have different cases for GSM, CDMA, LTE, etc, or is there an easier way? Jan 13 02:12:34 something goes wrong Jan 13 02:13:07 make it right Jan 13 02:13:17 cant figure out yet Jan 13 02:13:32 trying wireshark Jan 13 02:13:37 :( Jan 13 02:14:46 i get tcp retransmitions randomly for local server Jan 13 02:14:54 for one connectin only Jan 13 02:15:14 now for two Jan 13 02:25:33 is there a way to prevent okhttp to send retransmit ? Jan 13 02:26:31 That happens below OkHttp Jan 13 02:27:24 from wireshark it seems that there is connection pool Jan 13 02:27:32 from okhttp. Jan 13 02:27:55 but at some point it miserably fails and keeps doing tcp retransmit Jan 13 02:28:07 but other clients work fine Jan 13 02:56:36 http://i.stack.imgur.com/2jZOf.png Jan 13 02:56:38 this happens Jan 13 02:57:01 My fon (vorginmobileusa, LG-optimusV, 2.2Froyo) is rooted and I need help! First up is re-flashing the atock ROM. Why? It runs out of space with 8 downloaded apps, no FB. So I had to uninstall yahoo mail today to use the Browser. Thanks. Jan 13 02:57:43 tripelb: #android-root **** ENDING LOGGING AT Mon Jan 13 02:59:59 2014