**** BEGIN LOGGING AT Wed Nov 06 02:59:58 2013 Nov 06 03:01:14 hi all Nov 06 03:01:32 anyone using jdbc in android? Nov 06 03:01:38 i trying Nov 06 03:01:42 but not worked Nov 06 03:01:44 :( Nov 06 03:04:50 follow main.xml Nov 06 03:04:52 http://paste.archlinux-br.org/2207 Nov 06 03:05:26 what's your question ? Nov 06 03:05:58 http://paste.archlinux-br.org/2208 Nov 06 03:06:01 not worked Nov 06 03:06:04 in emulator Nov 06 03:06:13 display message "No suitable Driver" Nov 06 03:06:18 in textview Nov 06 03:07:03 but i download jdbc mysql connector version 5.1.26 and 5.1.27 Nov 06 03:07:13 add .jar in classpath Nov 06 03:07:17 i using eclipse Nov 06 03:07:37 Hi, I've followed this article: http://stackoverflow.com/a/7123217/2884981 - and I end up with a solid colour on the far right of the row Nov 06 03:07:42 How do I get a cell (programatically) to take up all remaining space on a table row? Nov 06 03:08:17 I am using this: TableRow.LayoutParams layoutParams = new TableRow.LayoutParams(LayoutParams.MATCH_PARENT, LayoutParams.MATCH_PARENT); Nov 06 03:08:21 bankai_, has been there? Nov 06 03:08:33 Is there a way I can apply that to the cell as well? Nov 06 03:09:50 ir7466: is not a cells width determined from the table params ? Nov 06 03:10:21 what do I need to do to the table then? Nov 06 03:10:36 because it's so difficult to add a border to a table, i've had to use that method I linked to Nov 06 03:10:56 but i'm finding the right border is large, because the cell/row is not taking all available width Nov 06 03:11:44 I believe that the jdbc is not supported by android Nov 06 03:12:52 hi, just curious what do you call the 3rd button on the bottom of a google nexus 4. The 1st is the "back", the 2nd is the "home" button. So what's the third button called? Nov 06 03:13:01 IMO if you need JDBC on android, you're doing it wrong Nov 06 03:13:09 <|0xD34D|> rup3rt: recents Nov 06 03:13:12 <|0xD34D|> or tasks Nov 06 03:13:35 |0xD34D|: ahh.. thanks for that Nov 06 03:13:43 <|0xD34D|> np Nov 06 03:15:58 what is the max amount of data you can reliably dowload from a server in a client server situation in a resonable amount of time (less then a few seconds). are there any metrics on that Nov 06 03:16:37 if you're asking that, you're probably downloading too much lol Nov 06 03:20:47 whoever: is that not just speed * 2 ? Nov 06 03:20:52 :) Nov 06 03:21:25 less than a few seconds? a few kb Nov 06 03:28:51 Can anyone help me out with a couple questions about sync adapters? Nov 06 03:29:04 bankai_, where i am going wroing? Nov 06 03:35:17 nobody can accuse me of not being patient. surely someone knows how to get a row to extend to the full width of the table? it doesn't sound like something that should be too hard, but it's driving me crazy Nov 06 03:37:11 a row that extends the full width and has many vertical is called a listView Nov 06 03:37:31 Well that was nice of the guy who left me the two-star review because my app didn't work on MIUI. He changed his review to four stars. Nov 06 03:37:48 Nilium: w00t :) Nov 06 03:37:54 Nilium: why did it not work ? Nov 06 03:38:07 ir7466: have you not set a layout_span or something ? Nov 06 03:39:10 StingRay_: No idea. There's no crash, it just doesn't seem to load the UI in the settings activity's onCreate. Nov 06 03:39:11 I'm blaming MIUI because it otherwise works on CM and regular Android. Nov 06 03:39:40 huh, what app is it ? Nov 06 03:39:41 My guess is they broke the layout inflater or something. Nov 06 03:39:50 https://play.google.com/store/apps/details?id=net.spifftastic.ascension2 ← That. Nov 06 03:39:58 Nilium: na, or there would be wider problems :) Nov 06 03:40:15 I don't know if the actual LWP part of it works or not — the guy only said the settings app comes up blank. Nov 06 03:40:47 bankai_: a layout span around the text in the cell you mean? Nov 06 03:40:50 Problem is that if it wasn't inflating the layout at all, it would crash. Period. Nov 06 03:41:12 StingRay_ I have two columns Nov 06 03:41:20 If it wasn't inflating the right things, it would also crash, so it sounds like everything is loading as expected and something is just going horribly wrong with the window's content view. Nov 06 03:41:54 bankai_: if thats what you mean, yes I have a linear layout around the text view Nov 06 03:42:04 There's nothing out of the ordinary in the settings app, so I really haven't got the faintest idea of what's going wrong, and I don't really plan on trying to make it work on MIUI. Nov 06 03:42:07 I've set the layout params to match_parent on the linear layout Nov 06 03:42:27 ir7466: oh, this isn't a TableLayout ? Nov 06 03:42:36 it is Nov 06 03:42:45 but I have many rows, 2 columns Nov 06 03:42:49 inside each cell Nov 06 03:42:52 is a linear layout Nov 06 03:42:55 inside that is a textview Nov 06 03:43:22 i can show the code if it helps? Nov 06 03:43:25 maybe a snippet will help? Nov 06 03:44:50 http://pastebin.com/wWmwEuY0 Nov 06 03:46:33 as you can see from the code i'm setting the background to black then overlaying the cells on top of it, this is the only way I can get the "borders" to appear properly Nov 06 03:46:45 why don't you build a custom view and build it in xml and load it for each control Nov 06 03:47:01 it's tabular data Nov 06 03:47:07 it makes sense to put it in a table Nov 06 03:47:13 and it works Nov 06 03:47:17 +1 on the XML Nov 06 03:47:21 i just can't get the right border to work Nov 06 03:47:37 because the second column is not using the full width Nov 06 03:50:31 I'm not positive why it is doing that but personally I think you might have less of a headache if you use a fragment or a view and load each one and place it in each tab, but its up to you. Nov 06 03:50:53 Sorry Nov 06 03:51:31 Is it possible to build a application that stores user information in a database (name, email, password etc etc) and then sends the information into a web user registration form and press "register" for some specifik websites? Nov 06 03:52:11 osch: at a high level, yes Nov 06 03:52:24 Be extremely difficult though Nov 06 03:52:35 oh... Nov 06 03:52:53 Is there any open source projects that does something simular? Nov 06 03:53:08 look at libcurl Nov 06 03:53:18 Just to review the code, and try to understand it :) Nov 06 03:53:26 thanks, will check it out Nov 06 03:54:06 But is it really that hard to do it ? Nov 06 03:54:15 'hard' is subjective Nov 06 03:54:22 true Nov 06 03:55:43 so you reckon it's impossible for me to do what I want to do with tables? Nov 06 03:56:16 you haven't really explained what you're trying to do, but programmatic views like this are problematic ( hehe see what i did there? ) Nov 06 03:56:51 i can show you a picture if it helps? Nov 06 03:56:55 Doubt that its impossible, just saying I don't know how. So I was giving you an option to try that still uses tables but would make it easier for you to build. Nov 06 03:56:57 a screenshot of what i'm seeing Nov 06 03:57:11 sure let's go with a screeny Nov 06 03:57:24 s17.postimg.org/zcuf1w3nj/tablelayout.png Nov 06 03:58:15 so column 1 is fine, column 2 is the issue... instead of whitespace to the far right, it only goes as - I would have thought - wrap content would have gone? Nov 06 03:59:06 ir7466: is that not just the layoutParams for the table are wrapping ? Nov 06 03:59:16 rather than fill/matching ? Nov 06 03:59:21 StingRay_: what do you mean? Nov 06 03:59:29 exactly what i said Nov 06 03:59:46 do I need to have a LayoutParams for the table layout? Nov 06 03:59:59 if you dont they take "defaults" from the parent Nov 06 04:00:02 it's currently set to fill_parent for weight and width Nov 06 04:00:02 iirc Nov 06 04:00:19 and the parent of that ? Nov 06 04:00:22 and that ? Nov 06 04:00:26 and that etc ? Nov 06 04:00:27 :) Nov 06 04:00:31 also fill parent Nov 06 04:00:50 i've got a scroll view, height=0dp Nov 06 04:00:59 in that I have a linear layout, both fill parent Nov 06 04:01:08 and then i have the table layout, which is also fill paret Nov 06 04:01:22 does any of that sound like it could be causing the issue? Nov 06 04:02:45 ah just looked at that code on SO Nov 06 04:02:46 interestingly, if I hard code the table row layout params to FILL_PARENT it says that is deprecated? Nov 06 04:03:06 still same static value but yes, now it's MATCH_PARENT Nov 06 04:03:20 so no that isn't the prob, from what I'm seeing on SO Nov 06 04:03:46 prob is your table and properties of it I would suspect Nov 06 04:04:31 the only properties of my table layout are the two fill_parents, and marginLeft/Right both 5dp Nov 06 04:04:52 cells I would suspect are control quite different Nov 06 04:05:06 I would have to read, but you should really :) Nov 06 04:05:14 bankai_ wich one is best suited for the project, libcurl or HttpUnit ? Nov 06 04:05:35 *shrugs* i don't know what httpunit is Nov 06 04:06:21 hm okey, something random then? Nov 06 04:06:22 What I don't understand is how it worked by the guy whose SO article I linked to Nov 06 04:06:40 saw someone post something about that in a simular question Nov 06 04:06:44 it seems like such a convoluted way of getting something which would take 20 seconds in html Nov 06 04:07:43 What is the preferred method of refreshing a listview (w/ endlessadapter)? Recreate the adapters entirely? Or clear the list data, stop all tasks etc? Nov 06 04:09:51 StingRay_ this seems really hacky... but if I extend the padding on the right side of the second textview (column 2) to a huge number... like 500... it looks fine Nov 06 04:10:15 is there any way I can work with this in a... lets say more elegant manner Nov 06 04:10:21 xml Nov 06 04:10:30 xml Nov 06 04:10:31 set it up properly in XML and inflate it later >_< Nov 06 04:10:36 that is what I was saying lol Nov 06 04:10:51 I'm coming from a xaml background, so bear with me Nov 06 04:10:54 pretty sure you said it more than once :P Nov 06 04:10:56 what do you mean by inflate? Nov 06 04:11:04 and I'm really not a fan of xml, there is only 1 view type I inflate Nov 06 04:11:10 but for this, yeah, xml Nov 06 04:11:14 if I could have just done whatever the equivalent of Binding is, i owuld have done it Nov 06 04:11:17 had i known... Nov 06 04:11:18 its like loading a control into a usercontrol Nov 06 04:12:04 can you link me to whatever the most simple example you know of for binding tabular data through XML? Nov 06 04:12:53 you dont build the data Nov 06 04:12:56 you just create the views Nov 06 04:13:12 well to be more specific the types and layout parameters Nov 06 04:13:22 can I still use a table layout? Nov 06 04:13:27 the borders are quite important to me Nov 06 04:13:37 borders of what ? Nov 06 04:13:40 each cell ? Nov 06 04:13:42 row? Nov 06 04:13:43 around the edges of the cell Nov 06 04:13:45 everything Nov 06 04:13:55 you know how there are black lines separating everything Nov 06 04:13:56 that is a must Nov 06 04:15:36 the only reason I went with the programatic way is because that's what I was suggested to do on SO. I'm happy to do it in XML as long as the look is the same Nov 06 04:15:59 What you do is create a fragment, Inside of the fragment build your tables in xml, then in your main activity when you have a tabview just add the fragments to the tabview one at a time. Nov 06 04:16:38 ir7466: well tableLayout has divider properties you know Nov 06 04:17:14 Good example is creating a new project and selected the tab view layout and it should give you a good idea of how to do it =D Nov 06 04:17:23 tab view? Nov 06 04:17:33 tab view sounds like a layout with tabs at the top? Nov 06 04:17:51 i'm pretty new to android in case it wasn't obvious haha Nov 06 04:18:07 maybe tab view is like an abbreviation for table view, who knows Nov 06 04:18:18 didn't you say you wanted tables in the tabs Nov 06 04:18:51 no, never Nov 06 04:19:01 i don't even have tabs Nov 06 04:19:05 okay sorry my bad. Nov 06 04:19:10 haha no worries Nov 06 04:19:43 my problem was this: http://s17.postimg.org/zcuf1w3nj/tablelayout.png Nov 06 04:20:02 and that is its own activity correct? Nov 06 04:20:04 i never thought it would be so complicated. I just want the cells in the second column to use up all available space Nov 06 04:20:23 i've got some buttons and other stuff in the activity as well Nov 06 04:20:40 the table is in a scrollview, in the middle of the activity (text at the top, buttons at the bottom) Nov 06 04:20:46 ir7466: see I would use gridView driven with adapter Nov 06 04:21:15 back from my html/css days, I was always under the impression you use tables for tabular data - not layout. Nov 06 04:21:24 in my eyes, this is the perfect time for tabular data Nov 06 04:21:32 sorry, for tables Nov 06 04:21:52 I would use what allows me the most control and is not ancient Nov 06 04:22:10 adapter + gridview + getView of the adapter allows me all the control I need :) Nov 06 04:22:13 but thats just me Nov 06 04:22:26 how much time is it going to set me back to do it that way? Nov 06 04:22:41 it seems like a lot of work just to "simulate" a table Nov 06 04:23:14 well all of this is subjective, where is the data comming from ? Nov 06 04:23:17 that drives it Nov 06 04:23:56 it's coming from a database Nov 06 04:24:09 in what form Nov 06 04:24:15 but by the time it's displayed in that activity, it's stored in objects Nov 06 04:24:16 and what database Nov 06 04:24:47 Does HAXM still bluescreen on 8.1? Nov 06 04:24:58 Well, I have an Sqlite database -> i read from that before the activity is loaded, the data gets loaded into the objects -> on the activity you saw the screenshot of, it loops through the objects Nov 06 04:25:06 and displays the data Nov 06 04:25:21 that seems bad Nov 06 04:25:54 seems like you should be using a cursor in something like a baseAdapter that powers list/gridView Nov 06 04:26:04 ^ agreed Nov 06 04:27:04 it's fixed now! Nov 06 04:27:36 the worst way of doing it is fixed ? Nov 06 04:27:39 sweeeet :) Nov 06 04:27:40 lol. Nov 06 04:27:44 I needed to change the layoutParams for table row to include a weight Nov 06 04:27:46 like TableRow.LayoutParams layoutParams = new TableRow.LayoutParams(LayoutParams.MATCH_PARENT, LayoutParams.MATCH_PARENT, 1.0f); Nov 06 04:28:03 the 1.0f fixed it Nov 06 04:28:36 why do you load the data before the activity Nov 06 04:28:52 the screen before has a list of the various things the user can select Nov 06 04:29:03 ok Nov 06 04:29:05 when the select it, i pass the object through Nov 06 04:29:43 object? Nov 06 04:30:06 yeah, it's parcelable Nov 06 04:30:14 everything i need is stored in the object Nov 06 04:30:42 i figured it made more sense to put everything from the previous screen in an object and pass it rather than query the database again Nov 06 04:31:14 ir7466: no what would make sense is to query again with the same database instance using a loader Nov 06 04:31:45 like I said, I haven't been using android for that long Nov 06 04:31:48 Bundles are not really for passing big objects of data that are just already sat there in a database Nov 06 04:32:34 also doesnt make sense to query the entire database for views that are not visible, so thats why android has views and adapters Nov 06 04:32:54 it doesn't query anything it doesn't need Nov 06 04:32:55 makes updating and view updates easy Nov 06 04:33:03 a list of everything that can be looked at is on the previous activity Nov 06 04:33:23 with a query time of 0.01 seconds ? Nov 06 04:33:36 :) Nov 06 04:33:50 i'm not saying there isn't a better way to do what i'm doing Nov 06 04:33:59 i may well come back to this and say "why did i do it that way" Nov 06 04:34:21 or you can just do it the right way in the first place and not come back to it later Nov 06 04:34:31 +1 Nov 06 04:34:40 * StingRay_ wishes he did that! Nov 06 04:35:04 should have created content providers for all my data from the start Nov 06 04:37:57 i am tring to build SGN3 kernels but for some reason when i flash it the phone doesnt boot... can any one kindly help me with this Nov 06 04:38:09 DJ-Rack: #android-root probably Nov 06 04:38:12 DJ-Rack: wrong channel Nov 06 04:38:15 bah beat me to it Nov 06 04:38:26 haha Nov 06 04:39:06 bankai_ StingRay_ Sorry... Nov 06 04:40:34 JakeWharton: You there? Nov 06 04:44:29 Guys what is the best approach for validating elements on a view? http://pastebin.com/5tRnLPTb goes to line 10 then to line 3 returning true Nov 06 04:44:33 what am I doing wrong? Nov 06 04:46:19 I think your sentence is a little off Nov 06 04:46:31 or due to it being almost 5am, my reading is Nov 06 04:47:07 maybe cache all of your textviews Nov 06 04:47:34 is there any easy way to figure out where my bitmaps memory is going? Nov 06 04:51:53 Let me rephrase, what is the best approach for validating TextViews on an intent? http://pastebin.com/5tRnLPTb goes to line 10 then to line 53 returning true Nov 06 04:52:47 how would you validate them in an intent ? Nov 06 04:53:15 um Nov 06 04:53:19 so this might sound really dumb Nov 06 04:53:26 using that function Nov 06 04:53:27 but where can i find info on getting raw touch input? Nov 06 04:53:59 StingRay_ how do you validate multiple TextViews? Nov 06 04:54:09 wait...think I found it...MotionEvent...will work Nov 06 04:54:17 desmin88 what do you mean? Nov 06 04:54:47 zquad, you can make ur implement textwatcher perhaps Nov 06 04:54:57 zquad: I would do what your doing, but maybe have textWatchers on things for RT feedback to user Nov 06 04:55:08 damit!! I was typing that! Nov 06 04:55:12 i win again Nov 06 04:55:24 what time is it where you are ??? Nov 06 04:55:31 11:55pm Nov 06 04:55:33 5 am here cut me some slack Nov 06 04:56:03 lol Nov 06 04:56:09 so validate as text changes? Meaning user will see the error message once they begin typing Nov 06 04:56:20 yea Nov 06 04:57:44 I do also need a final validation check because a user can simply ignore the warning messages is that where my function comes in? Nov 06 04:59:13 or just deny them from submitting Nov 06 04:59:18 if your textwatcher didnt like it Nov 06 05:03:28 Somebody pls give me some insight. How do I best refresh an endlessadapter? Recreate it? Clear list data, end all tasks, etc? or what Nov 06 05:05:00 :[ Nov 06 05:08:12 if the backing data changes and your grabbing it, would it just not simply…well … change ? Nov 06 05:08:58 yes but it wouldnt add the new data Nov 06 05:09:03 since the new data is at the 'top' Nov 06 05:09:19 and as you scroll down it simply loads from newest to oldest Nov 06 05:10:55 not sure I get what your asking then Nov 06 05:11:04 how do you scroll to newer data ? Nov 06 05:11:10 how do you transpose indexes ? Nov 06 05:11:51 get the endless adapter to stop its current tasks/ reset listview/ start from beginning again Nov 06 05:14:09 maybe im overthinking this Nov 06 05:14:15 maybe Nov 06 05:14:39 I know that I dont like the refresh adapter methods Nov 06 05:14:48 when data that maybe on screen has not changed Nov 06 05:14:55 why should the listView update Nov 06 05:15:18 I rather update views that are current "just the ones on screen" if needed Nov 06 05:15:27 and make sure that any cache is invalidated Nov 06 05:15:40 that way the adapter doesnt cause a full reload Nov 06 05:15:57 means you have to track view/views and indexes but thats not hard Nov 06 05:17:46 its nice to buffer the next page so you don't see the items load as you scroll Nov 06 05:18:43 are there any open source apps using endless adapter ? Nov 06 05:30:03 desmin88: does this help you http://www.javacodegeeks.com/2013/10/android-listview-endless-adapter.html Nov 06 05:30:32 thanks for the article but no it does not Nov 06 05:31:22 desmin88: so you can't clear your list . is that the problem Nov 06 05:31:46 issue is i dont know the best way to clear list data/ clear endless adapter/ end its tasks etc Nov 06 05:33:34 @Override Nov 06 05:33:34 protected void onPostExecute(List result) { super.onPostExecute(result); lv.addNewData(result); Nov 06 05:33:37 } Nov 06 05:33:54 desmin88: have you tried .finish() Nov 06 05:34:45 or change the view and destroy Nov 06 05:35:05 desmin88: i am not sure there really is a best practice Nov 06 05:36:53 desmin88: this looks like it may be along the same lines http://stackoverflow.com/questions/11022562/endless-adapter-always-running-to-download-data-in-background Nov 06 05:38:16 desmin88: also .setAdapter(null) Nov 06 05:38:53 desmin88: Nov 06 05:38:57 well i know how to do it but my way would be so crude Nov 06 05:39:07 so i was wondering if there were best practices Nov 06 05:39:10 or libraries to assist Nov 06 05:40:33 i was reading about transmitting data and how bundled data will allow you a longer battery life since it will allow the wifi adapter to stay at a lower power longer , does this also apply when quering a database server for a binary or is that to trivial to worry about Nov 06 05:41:19 desmin88: the docs don't seem to even have an elegent way of clearing endless adapter Nov 06 05:41:27 yes i know Nov 06 05:41:41 I can think of ways to do it but it seems too rough imo Nov 06 05:42:47 desmin88: yes i often think the same but if you really feel the need you can build some elegent method that will do some stuff and in the end set in null for you Nov 06 05:44:03 are there best practice for max dowload size from a server in a server client app, so that you don't have to display a loading screen to the user wile your wating for the data to finsh dowloading Nov 06 05:44:40 or is it simply bundle it , and it is what it is, not much you can do about it Nov 06 05:48:34 i am a little suprise there isn't an app for ddwrt/tomato, just so you can see who is on your lan Nov 06 05:49:46 my neighbors like to get new devices to access my wifi, instead of just paying for their own wifi Nov 06 05:51:27 put a password on it? Nov 06 05:54:18 whoever hehe; well if they are savvy this won't work, but can't you add an ACL? also, reduce your radio transmition to the minimum usable, like 25% Nov 06 05:54:42 if they have a nice antenna the radio trick won't work either though Nov 06 05:54:56 but yeah, your router should show connected devices Nov 06 05:55:30 oh, i do, then i do something like fix their computer and forget to remove it , and give it back to then, and thinking they won't connect to it just leave Nov 06 05:55:43 g00s: oh i block by mac Nov 06 05:56:22 g00s: they live 20 feet or less from me, damn condos Nov 06 05:56:43 its easy to spoof macs though Nov 06 05:56:52 but yeah, change your password :| Nov 06 05:57:09 g00s: they are 20 years old and can't pass pre algabra Nov 06 05:57:26 l33t h4x0rs ! Nov 06 05:58:00 so i assumed that they would never think to reconnect to my network, so i had to ping flood them, then bloock so they that it was a network issue not me blocking them Nov 06 05:58:39 switch to LiFi ! Nov 06 05:59:56 g00s: can't really change the password since gf's family uses it, and you know how those windows 8 users are when something chhanges, she won't let me change it just because she doesn't wanna hear her family bitch, and would rather i do it the long way Nov 06 06:00:07 Hey Guys, I want to measure battery impact of my app Nov 06 06:00:19 g00s: isn't that the same as sneaker net Nov 06 06:00:22 is there any way I can measure apps' battery usage Nov 06 06:01:05 whoever http://www.theweek.co.uk/technology/55813/lifi-light-based-broadband-puts-wifi-shade Nov 06 06:01:30 brickhead: not streight forword, make sure it is the only app running and watch the battery, chances are your app won't kill the battery it is the screen staying lit up Nov 06 06:01:41 g00s: thx , and off to bed Nov 06 06:02:20 the Settings app has a little report Nov 06 06:04:55 boolean x = MenuItemCompat.collapseActionView(item); why the x is always false? Nov 06 06:22:22 Admobs AdView no longer has the "setGravity" method??? Nov 06 06:23:22 I need to set the Adview alignment programaticly as its for a Unity3D plugin Nov 06 06:32:24 Is there really no longer a simple logical why to place elements programaticly... Nov 06 06:33:35 In Win8-XAML I can simply do HorizontalAlign.Left/Center/Right ect... Now this type of feature is missing from the new Android SDK... Rev 22.3 Android 4.4 support Nov 06 06:51:46 its like Android Rev 21 is the only one worth targeting anymore... Nov 06 06:52:20 after thats its bug heaven Nov 06 06:52:51 Android rev 21 ? Nov 06 06:53:14 zezba9000: do you mean API 19? Nov 06 06:53:24 sdk tools Nov 06 06:53:45 g00s: do you have any experience with google-play-services? Nov 06 06:54:21 i'm using sdk tools 22.3 Nov 06 06:54:30 no, i've avoided play-services so far Nov 06 06:54:55 they have some issues there Nov 06 06:55:02 g00s: Same... i'm making a Unity3D plugin. so I must use GooglePlay services Nov 06 06:55:26 since the update my tablet has crashed when trying to natively share on G+ Nov 06 06:55:41 zezba9000: have you seen this before? Nov 06 06:56:34 got this: http://stackoverflow.com/q/19785761/1056359 Nov 06 06:57:06 but its like everytime I updated the Rev number crazy new bugs are there... Google cant get there APIs strait and keep changing them Nov 06 06:57:06 Guess I should just stick with tool Rev 21 Nov 06 06:57:38 is there a way to rollback an update? Nov 06 06:57:49 I havn't used the G+ sdk yet Nov 06 06:58:02 no you can't roll back Nov 06 06:58:06 it's the google-play-services project Nov 06 06:58:12 from the google extras folder Nov 06 06:58:12 you have to manually download the old stuff Nov 06 06:58:31 well, it's an update to the ADT Nov 06 06:58:37 and the SDK Nov 06 06:58:45 so, I think it overwrote everything Nov 06 06:59:13 i'll see if I can't find the link Nov 06 06:59:25 thanks Nov 06 06:59:35 mention me if you find anything Nov 06 07:04:43 on the google-play-services Android had the bright idea of embeding what should be part of the external SDK into your native app... and so I get resources not found errors even though I shouldn't be. Although I think this has to do with a bug in the last Rev I tested. Nov 06 07:05:33 zezba9000 do you also do WP programming ? Nov 06 07:05:39 yes Nov 06 07:05:44 how do you like it ? Nov 06 07:06:09 Very easy compaired to Android... sorry for all the harp, but its true Nov 06 07:06:17 Although WP8 has some stupid stuff too Nov 06 07:06:42 are the tools still free? like the express edition of VS ? Nov 06 07:06:54 yes Nov 06 07:07:13 cool. i was going to pick up a lumia 521 to try it all out Nov 06 07:07:36 one buddy got the 520 international version and loves it; he does android and ios dev Nov 06 07:07:56 i do mostly android was was going back to ios also … ugh, so many choices Nov 06 07:08:26 I use Unity or Mono C# on all platforms, so makes life easier Nov 06 07:08:41 c# on android also ? Nov 06 07:08:52 well, you said so, heh Nov 06 07:08:55 ya C# it is Nov 06 07:08:59 i haven't played with xamarin Nov 06 07:09:03 seems expensive Nov 06 07:09:11 ya too much I think too Nov 06 07:09:14 if i did mono i would do f# on android :) Nov 06 07:09:27 zezba9000 is f# available on WP ? Nov 06 07:09:35 yes Nov 06 07:09:45 I would recomend C# as it has the most work put into it Nov 06 07:09:47 really ? Nov 06 07:09:55 i mean, f#, wow Nov 06 07:09:55 and better for games like I do Nov 06 07:10:22 i recommend F# cause its a better language :) Nov 06 07:10:24 <-- biased Nov 06 07:10:39 lemonxah you also use Scala ; good tastes :) Nov 06 07:11:03 i hope i remembered that correctly Nov 06 07:11:09 i dont like imperative programming Nov 06 07:11:35 so i steer clear of language that is imperative Nov 06 07:11:44 that beeing said i have done 10 years of C# Nov 06 07:12:15 I love C#, only thing its missing is global low level C pointers Nov 06 07:12:25 and templets as well Nov 06 07:12:32 it misses a lot of stuff Nov 06 07:12:45 but it depends on what you want in a language Nov 06 07:12:59 but those are the to biggest for some stuff in games its missing I think Nov 06 07:13:04 zezba9000: so, any thoughts on what to do? Nov 06 07:13:04 other then SIMD Nov 06 07:13:05 and why would you want global low level c pointers anyway? Nov 06 07:13:45 lemonxah: Why?? For games and interfacing with C APIs like you do all the time in games Nov 06 07:13:53 Or performance reasons. Nov 06 07:14:07 thepoosh: still looking for Rev 21 Nov 06 07:14:10 oh Nov 06 07:14:12 thanks Nov 06 07:14:17 sorry for beeping you Nov 06 07:14:19 :S Nov 06 07:14:52 Hm? C# is realy good at interfacing with C apis Nov 06 07:15:01 yes BtbN thats my point Nov 06 07:15:23 not C# alone but .Net Nov 06 07:15:31 BtbN: Yes in many ways its very good. Because it has unsafe syntax support Nov 06 07:15:50 and what stops you from declaring a global IntPtr? Nov 06 07:15:51 but its missing unsafe syntax support globably Nov 06 07:16:16 Thats not the same thing Nov 06 07:16:21 of course it is Nov 06 07:17:55 No, because you can't point an IntPtr to a C# struct... Nov 06 07:18:08 yes you can Nov 06 07:18:10 what C# need is a way to declare a struct as being unmanaged Nov 06 07:18:33 No you can't... please explain why you think you can Nov 06 07:18:35 Uhm, you can do exactly that Nov 06 07:18:39 or your missing what i'm saying Nov 06 07:18:44 you can even wrap unions Nov 06 07:19:14 Union concepts in C# are slow... Nov 06 07:19:38 why should they be slow? It just makes the fields use the same memory Nov 06 07:19:54 and no you can't get a IntPtr of a struct globably, you can only do that on a class... I'm talking about a struct defined in C# not C Nov 06 07:20:24 Why would you want to pass a random C# struct to C, if not to wrap some C struct Nov 06 07:20:25 Unions are slow in C# because in a struct everything must be intalized. Nov 06 07:20:30 All the fields I mean Nov 06 07:20:45 and some memeory gets set more then once for now reason Nov 06 07:20:55 Iv'e done performance tests on this is why I know Nov 06 07:20:59 wow, that's a one lost cpu cycle Nov 06 07:21:15 um in a game its matters Nov 06 07:21:25 say you did that in a Vector Nov 06 07:21:32 if games spwan so many new structs that this matters, they're doing something wrong Nov 06 07:21:45 That would slow everything down by a lot as vecotrs are used everywhere Nov 06 07:22:15 and why would you need a union in a vector STRUCT at all?! Nov 06 07:22:22 Vectors are spawed in hot loops Nov 06 07:22:54 well, don't do that then Nov 06 07:22:55 because of vectors fields should be accessed via XYZ or [0][1][2] Nov 06 07:23:21 just writing a property would be too easy i guess Nov 06 07:23:28 because in animation engines referencing a vector by an array can be usfull Nov 06 07:24:57 or referencing a vectors field value by a pointer is usful, but you can't do that in C# Nov 06 07:25:36 yes, because C# is a managed language Nov 06 07:25:44 if you need ultra high performance, use C or C++ Nov 06 07:25:46 and is why I said we need global style C pointers in C#... so I can reference a Vectors field values by pointers Nov 06 07:25:59 globaly? Sounds like realy bad design Nov 06 07:26:06 no its not Nov 06 07:26:18 needing anything to be global is usualy bad design Nov 06 07:26:21 you just declare a struct as being unmanaged Nov 06 07:26:38 so you can do high level things and low level thing all in one lang Nov 06 07:26:50 just like in C++ I can do ASM in the mix Nov 06 07:27:13 you don't understnad what I mean by globaly Nov 06 07:27:19 yeah, to maximize the unportablilty Nov 06 07:27:27 dude wtf Nov 06 07:27:30 no Nov 06 07:27:36 think about this for a sec Nov 06 07:27:40 using asm is as unportable as it gets Nov 06 07:27:48 omg Nov 06 07:27:55 I said C++ has ASM Nov 06 07:28:02 as an example Nov 06 07:28:21 and i told you why your example is bad... Nov 06 07:28:25 in the same way C# has unsafe code Nov 06 07:28:45 unsafe code is portable Nov 06 07:28:52 the only purpose of unsafe code is for wrapping C libs Nov 06 07:29:04 you should not use it in regular C# code Nov 06 07:29:13 also forget about this strange notion of compile once run everywhere, that simple does not work Nov 06 07:29:27 no that is no its only perpose Nov 06 07:29:32 **purpose Nov 06 07:30:03 have you ever done image processing?? Nov 06 07:30:12 if yo uhave you would not being saying this Nov 06 07:30:33 not in C#, cause that's not made for stuff like that Nov 06 07:30:46 ummm yes it is... thus unsafe code Nov 06 07:31:12 its there for more then interfacing with C... you can use it to optamize hot loops Nov 06 07:31:41 zezba9000, i have done image manipulation in .net using F# and i didn't have to use C Nov 06 07:31:50 there is always a better way to do stuff :) Nov 06 07:32:31 functional stuff isn't realy usefull for real applications Nov 06 07:32:40 I know you don't have to use C, that was my point about unsafe code. Usally the C method of image processing for optimazation is best... because you can use pointer offsets Nov 06 07:32:46 image processing might be an exception, as it doesn't need user interaction Nov 06 07:32:49 LOL BtbN ok now i have to disagree with you Nov 06 07:33:12 but everything that needs userinteractions has to break with the concept of functional stuff Nov 06 07:33:32 its easy for an imperative programmer to say functional programming isn't usefull Nov 06 07:33:36 "image processing might be an exception" -- No this is only one of the many things you seem to be unaware of Nov 06 07:33:42 it doesn't break with it BtbN Nov 06 07:33:45 not even a little Nov 06 07:34:02 it doesn't have side-effects, and user input is a huge one Nov 06 07:34:21 you dont need side-effects for user input Nov 06 07:34:26 that is an imperative way of thinking Nov 06 07:34:33 user input is merely an event Nov 06 07:34:44 yes exactly Nov 06 07:34:53 events dont have to mutate anything Nov 06 07:34:58 there is no side effects. Nov 06 07:34:58 side-effect free Nov 06 07:36:59 One of the reasons langs seem to lack features is they don't gather enough intel from those in different backgrounds. Like Java not wanting to put in custom operators as an example Nov 06 07:38:04 its not always a bad thing zezba9000 all that highlights is the fact that you should be using the right tool for the job Nov 06 07:38:12 dont have to do everything with a hammer :) Nov 06 07:38:31 I disagree Nov 06 07:38:47 do you want a single language that does EVERYTHING? Nov 06 07:38:50 The very fact that a Cell Phone is becoming a device that does everything suggests otherwise Nov 06 07:39:04 it doesn't ? Nov 06 07:39:13 there are tons of languages you can use to code in Nov 06 07:39:14 but they will Nov 06 07:39:34 in fact Phones will replace PC and laptops all together some day probably Nov 06 07:40:04 but there is alwasys the best thing to do in a given envoroment Nov 06 07:40:32 but I understand your point Nov 06 07:41:16 zezba9000, i disagree it will replace laptops maybe but not pcs Nov 06 07:41:17 I just think as the envoroment becomes more complex so do the tools. You don't fragment your tools all over the place but rather optamize by creating a tool that does all it can Nov 06 07:41:24 just like a phone is ment too Nov 06 07:41:56 cause no matter how fast the graphics processor in that small device gets, a bigger faster one will always exist for the pc Nov 06 07:42:01 gamers will keep pcs alive Nov 06 07:42:12 yes they will replace PCs someday. because after we get stuff so small and fast a desktop sized box doesn't matter Nov 06 07:42:22 did you even read? Nov 06 07:42:23 thus you can use the same computer to do everything anywhere Nov 06 07:42:37 if you can make smaller faster stuff bigger MOAR faster stuff will always exist Nov 06 07:42:58 maybe, unless we process things in quatom realities :( Nov 06 07:43:02 ** :) Nov 06 07:43:21 then it doesn't matter Nov 06 07:43:38 I don't know the time frame... I'm just speculating Nov 06 07:44:02 Hi Nov 06 07:44:10 but I think it would take 20 years for what i'm suggesting any how Nov 06 07:44:14 I hope someone could help me Nov 06 07:44:26 just ask switchgott dont ask to ask Nov 06 07:44:47 Can someone explain me, why a usb ethernet adapter, some apps work with internet connection an some not? Nov 06 07:44:50 Ok :-) Nov 06 07:46:21 switchgott: you are talking about tethering?? Nov 06 07:47:34 think he is talking about a usb network card Nov 06 07:47:51 switchgott, i have no idea i dont have one of those toys Nov 06 07:48:27 No, not tethering Nov 06 07:48:54 I talk about, having a android tablet with android 4.2, connect it with a usb ethernet adapter. Nov 06 07:49:30 So you can access the internet, email etc.But i habe a problem with connect android sync adapter over usb ethernet, or get total commander lan plugin work. Nov 06 07:49:51 Now i like to know, why?Because some apps work, and some not.But why? Nov 06 07:50:17 maybe some work with a connection and others just check for wifi specifically Nov 06 07:50:44 like LAN stuff cant just check for connection cuase the connection might be an internet connection via 3G Nov 06 07:51:05 but looking for WIFI implies a LAN connection to a wireless modem Nov 06 07:51:10 but that is my best guess Nov 06 07:53:19 Any idea how i can route all traffic through ethernet?I guess with android 4 ethernet is full supported? Nov 06 07:53:57 switchgott, you cant route the traffic thru the ethernet cause some apps specifically check to see if a wifi connection is availble Nov 06 07:54:13 and others like email and the browser dont Nov 06 07:54:38 so if there is no wifi connection then lan apps that specifically checks for wifi connection wont work Nov 06 07:55:10 unless you can get the usb ethernet adapter to behave like a wifi connection Nov 06 07:55:14 but i have no idea if that is possible Nov 06 07:56:32 Oh ok.Puh.Dont know how, too.But if you see Mk808, this device work with all apps! Nov 06 07:57:03 Dont know exactly how, but it does.There you can use total commander lan plugin for example Nov 06 07:59:05 Mk808 uses wifi Nov 06 07:59:15 did you use that same ethernet adapter on the Mk808? Nov 06 08:00:59 Yes i do! Nov 06 08:01:00 No wifi Nov 06 08:01:19 then the hardware might respond differently Nov 06 08:01:39 soz that is all i can think about other than that i dont know Nov 06 08:02:15 Mh Nov 06 08:02:23 Realy dissapointing Nov 06 08:03:59 Cant use any sync adapter with ethernet.No caldav etc.But inside sync adapter i can offer a calendar for sync, but the sync itselfs dont work ??? Nov 06 08:15:25 Not sure why by after updating AdMob in Unity I get the build error Unity is convertering classes to dev format: http://pastebin.com/si4QLDWC Nov 06 08:15:36 Look like AdRequest is already added? Doesn't make sense Nov 06 08:21:53 ok so Nov 06 08:22:01 creating my own listview Nov 06 08:23:25 <^cheeky> hey lemonxah , i have question , regarding your listeview, how would you create a list view or list fragment when the user clicks on the message button on an action bar Nov 06 08:24:28 nvm stupid mistake Nov 06 08:25:46 ^cheeky, you can use fragments and catch the actionbar button press and replace out the fragment that was displayed with the new one Nov 06 08:25:59 or am i misunderstanding the question Nov 06 08:27:31 <^cheeky> lemonxah: not, just that fact that i wanna show the comments for each picture, so the user, will click on it but i don't want to swap out the fragment .. perhaps .. i would have to but i was planning having that list emerge over the image .. Nov 06 08:28:08 ^cheeky, make it a dialog fragment Nov 06 08:28:30 it will emerge over the list it will look like a popup screen but its in its own fragment Nov 06 08:28:48 dismissing it will go back to the previous screen as if it never left Nov 06 08:29:17 <^cheeky> omg .. wow .. dude i did not even think about, having it as a dialog fragment .. thank you man !!!!!!! Nov 06 08:29:20 <^cheeky> :)) Nov 06 08:29:26 <^cheeky> ill look into it naow!!!!!! Nov 06 08:29:26 no worries Nov 06 08:29:29 <^cheeky> awsomeess Nov 06 08:29:32 <^cheeky> cheer Nov 06 08:29:36 <^cheeky> *S Nov 06 08:31:54 any idea how I can get a list view list the facebook android app working. I want to show a images horizontally in a list view items Nov 06 08:33:37 <^cheeky> if i understand your question , you would create list item to popular your listeview and fill the list item with images you want to populate Nov 06 08:34:50 ^cheeky: yes and I should be able to scroll those images horizontally Nov 06 08:35:05 <^cheeky> oh .. Nov 06 08:35:28 just like the facebook app Nov 06 08:35:55 <^cheeky> scroll list Nov 06 08:36:06 I just started an Android project, was doing iOS stuff for a year. Lost touch! Nov 06 08:36:49 ^cheeky: does that mean add a scroll view in a list view item Nov 06 08:36:58 <^cheeky> heh, umm not used the fb app Nov 06 08:36:59 isn't that not recommended Nov 06 08:37:06 <^cheeky> wait Nov 06 08:37:29 <^cheeky> view _pager Nov 06 08:37:50 view pager in a list view item? Nov 06 08:37:54 <^cheeky> no Nov 06 08:37:54 <^cheeky> lol Nov 06 08:38:03 <^cheeky> i am confused as its a list yeah Nov 06 08:38:17 <^cheeky> 1,2,3, list Nov 06 08:38:33 <^cheeky> and user can scroll left list[0] Nov 06 08:39:50 no Nov 06 08:40:50 hmm will search some more on this Nov 06 08:45:55 <^cheeky> ali__: sorry man , http://stackoverflow.com/questions/3240331/horizontal-listview-in-android Nov 06 08:49:59 Hi guys, the android system can decide by himself to kill applications if he needs memory or CPU. Is there a way to protect an application from that ? Nov 06 08:51:26 macTAR: yes, don't use too much memory or CPU Nov 06 08:51:43 ;) Nov 06 08:52:45 the chances of you getting reaped when you're in the foreground is very low... when you're in the background, be economical Nov 06 08:54:00 aight Nov 06 08:54:00 i just now noticed my custom layout's getMeasuredWidth/getMeasuredHeight return different sizes every 2nd time. is this normal behaviour? o_0 Nov 06 09:01:16 * ^cheeky searches high and low , hoping to find a tea bag somewhere Nov 06 09:01:26 <^cheeky> i wan somt teaaaa Nov 06 09:07:52 * Leeds just finished breakfast green tea, at 5pm Nov 06 09:08:02 <^cheeky> i knew you had some :P Nov 06 09:08:10 <^cheeky> its 4 am here Nov 06 09:08:19 out office ran out of coffee :/ Nov 06 09:09:08 <^cheeky> heh Nov 06 09:09:11 <^cheeky> dun dun !!!!! Nov 06 09:11:27 Mavrik: that's what 999/911/112 is for Nov 06 09:11:49 yeah, the delivery is on the way... still starting the day with 0 cofee -_- Nov 06 09:11:58 * Mavrik starts chewing on office supplies. Nov 06 09:20:39 cursorAdapters and footerviews Nov 06 09:20:41 :/ Nov 06 09:20:51 HeaderViewListAdapter type :/ Nov 06 09:38:36 how to show / hide header / footer views in a listview Nov 06 09:39:54 I'm struggling with some app lifecycle issues and am trying do debug using logcat. It seems logcat does a lot of buffering, so output sometimes is delayed and batched, making debugging harder. Anybody hit this issue and found any workarounds? Nov 06 09:40:23 kjeldahl, not really Nov 06 09:40:38 it's dependant on device though, Samsungs are really horrible in that regard Nov 06 09:42:28 Ok, thanks. If it's device dependent, Genymotion has some work to do as well. ;-) Nov 06 10:08:27 O: my app got mentioned in TNW http://thenextweb.com/apps/2013/11/04/30-beautifully-designed-android-apps/30/ Nov 06 10:58:33 Hello, How can I hide the notification bar from an Android Tablet ? I've used getWindow().setFlags(WindowManager.LayoutParams.FLAG_FULLSCREEN, WindowManager.LayoutParams.FLAG_FULLSCREEN); but it is not working Nov 06 10:59:21 Also tried, getWindow().requestFeature(Window.FEATURE_NO_TITLE); before super.onCreate() still no luck Nov 06 11:15:26 Any idea please ? Nov 06 11:40:20 How have people managed to debug webviews before 4.4 ? Nov 06 11:43:14 I used my magic 8-ball Nov 06 11:46:38 serious answer please :D Nov 06 11:46:52 I need to debug a webview, but the device is not on 4.4 Nov 06 11:52:19 Turn off hardware acceleration on your webview, all your problems will go away Nov 06 11:52:23 That's my experience at least Nov 06 12:03:05 how to open a folder from an application ? i cant find it Nov 06 12:04:02 im trying this but it actually crash Nov 06 12:04:15 final String dir = Environment.getExternalStoragePublicDirectory(Environment.DIRECTORY_PICTURES) + "/PORTWIN_PICS/"; Uri uri = Uri.parse(dir); Intent intent = new Intent(Intent.ACTION_VIEW, uri); startActivity(intent); Nov 06 12:06:51 do I have to use the IO file manager ? Nov 06 12:39:56 hmm, did anyone have problems with Robolectric not creating shadowApplication instance? Nov 06 13:13:03 <^cheeky> yesss Nov 06 13:13:06 <^cheeky> got some Tea Nov 06 13:13:11 <^cheeky> :P Nov 06 13:17:53 anyone experiencing GCM not wanting to deliver messages anymore? Nov 06 13:18:15 been fine for me this morning Nov 06 13:19:44 I have a question regarding styling the spinner's scrollbar Nov 06 13:19:59 http://stackoverflow.com/q/19812302/597657 Nov 06 13:41:05 Jayflux: If you want to debug the DOM then I use http://debug.phonegap.com/ Nov 06 13:41:22 R4md4c: will this help with JS errors? Nov 06 13:42:07 Well, It will print the error message but I am not sure if it will print the line no. Nov 06 13:43:47 If you liked weinre and like to use it locally you can install it via npm. https://npmjs.org/package/weinre Nov 06 13:55:15 how do you know how many headerviews and or footerviews there are in a listview? Nov 06 14:05:09 Is there anyone who has a job with android development? Nov 06 14:05:17 I mean, here in the channel... Nov 06 14:17:52 lemonxah: listView.getHeaderViewCount & listView.getFooterViewCount Nov 06 14:18:05 R4md4c: so how do you get around that issue? Nov 06 14:18:14 R4md4c: in terms of JS errors and throwing an exception Nov 06 14:18:21 CallumTaylor, thnx but i got a more elegant way of doing this :) Nov 06 14:18:52 that's the official way of doing it Nov 06 14:19:14 there's no point re-inventing the wheel Nov 06 14:19:37 Jayflux: I use weinre to get an idea about where the error is then I debug the application in a Desktop Browser(Chromium to be specific ) and see if the error is going to get reproduced in there. Nov 06 14:19:38 guys is there a way to create reminder/alarm programmatically with time interval like day or two? Nov 06 14:19:53 Jayflux: Most of the time in my cases the error is reproduced Nov 06 14:20:50 R4md4c: sounds great, my problem is im using a bridge between the webview and the appitself, so its not something im able to re-produce in a web browser :( Nov 06 14:20:50 I use stuff from the apps built in API Nov 06 14:21:35 anyone deploy android and mysql with jdbc? Nov 06 14:21:56 What kind of bridge are you using ? Is it Phonegap or Android's JavascriptInterface ? Nov 06 14:22:31 Well its not phonegap so im gonna say the latter Nov 06 14:26:51 Well, If I were you I would debug the API myself, for example while I am using Weinre I would test the API that the native object exposes by executing it inside the console of weinre. _nativeObject.apiCall(function(result) {console.log(result)}); Nov 06 14:44:19 Hi i need some help with a problem at stackoverflow my Question is it allowed to post here links to stackoverflow? Nov 06 14:46:13 Is it possible to open DDMS without Eclipse? Nov 06 14:46:26 Kake_Fisk: yes, there should be a standalone app in /tools Nov 06 14:46:34 I'll look for it Nov 06 14:48:46 Oh. I have been looking before, but now I found it at once. Thanks :) Nov 06 14:48:48 monitor.bat Nov 06 15:02:57 Anyone know any good tutorial for creating custom events? Nov 06 15:08:08 is there such a thing as adjustNothing. i don't want android to do anything to the views when the soft keyboard opens and let me do my own thing Nov 06 15:08:36 look at the available enums Nov 06 15:08:57 pfn: i see only adjustPan and adjustResize Nov 06 15:09:13 then that's all you get Nov 06 15:09:29 pfn: my question was more along the lines of "how do i hack it" :) Nov 06 15:09:49 then look at the sources that deal with adjustResize and adjustPan and figure that out Nov 06 15:18:47 pfn: i did, it's messy. hoping that i missed something Nov 06 15:30:06 pfn: for some crazy reason adjustNothing seems to do the thing Nov 06 15:30:23 then it's an available enum Nov 06 15:30:29 I told you to look at the available enums... Nov 06 15:31:35 pfn: "adjustUnspecified", "adjustResize", "adjustPan" is available according to docs Nov 06 15:31:43 not in the docs, in attrs.xml Nov 06 15:31:57 ah, yeah i just saw it there Nov 06 15:32:05 well, i would like to say that i'm an idiot Nov 06 15:32:09 well, it should be in the docs Nov 06 15:32:16 * pfn shrugs Nov 06 15:32:19 file a docs bug on b. Nov 06 15:34:05 pfn: intellij even autocompletes it. Nov 06 15:34:51 yeah, because intellij looks in attrs Nov 06 15:57:11 webview! y u suck so much? Nov 06 15:57:58 where's my nexus 7 4.4 images Nov 06 15:58:07 I wanna have some kitkat tastiness too Nov 06 15:58:45 is it possible to "extend" an app? Like, create an app Foo with layouts and stuff, then create a Bar app that extends and uses all the layouts from Foo? Nov 06 15:59:15 make Foo a library app Nov 06 15:59:29 library projects Nov 06 16:00:11 ^ yeah that Nov 06 16:03:41 i ram android tools, but when i try to run a simple hello world i get io error on platform-tools aapi no such file or directory, so i looked it doesn't exist. is it a file or directory Nov 06 16:04:58 update your sdk Nov 06 16:04:59 completely Nov 06 16:05:03 all build-tools and sdk Nov 06 16:05:08 run sdk manager Nov 06 16:07:29 Do I have to write code into my app to get log in to each social networking out there? Nov 06 16:07:45 yes Nov 06 16:08:01 Is that bootstrapping ? Nov 06 16:08:06 no Nov 06 16:08:45 still nothing that resembles a real datagrid control for android? Nov 06 16:08:48 pfn: thx i just say that the r22 update moved it and to use a symink as fix untill intellij update have fix Nov 06 16:08:55 huh? Nov 06 16:08:57 Please someone familiar with jar import on Android Studio here? I am getting nuts Nov 06 16:09:03 intellij works fine Nov 06 16:09:06 what are you talking about Nov 06 16:09:08 update your intellij Nov 06 16:09:25 pfn: the sdk for the r22 update moved that file, Nov 06 16:09:41 yes; and intellij works with the updated location Nov 06 16:09:52 if it doesn't, you need to update your intellij Nov 06 16:09:55 and intellij idea does not have an update this path change yet Nov 06 16:10:00 it does Nov 06 16:10:07 pfn: thx Nov 06 16:10:17 So I have to manually integrate each api into my app. There is no one out there who has already put it all together? Nov 06 16:11:27 pfn: is there a recomended max json file size, that i should stick to when creating jsons for a server client enviroment so that i do need to display a loading screen to the end user Nov 06 16:11:38 So, our team's project.properties has conflicts Nov 06 16:11:45 you should always display a loading screen Nov 06 16:11:56 as for max size, that's a memory consideration Nov 06 16:12:01 and network bandwidth Nov 06 16:12:09 this is because we use different folder structures for our projects… Is it *REALLY* necessary to have this file in source control? It seems like is isn't. Nov 06 16:12:11 hmm, popstar ahri is hot Nov 06 16:12:12 pfn: ok, true, to minimize the amount of time i need to show it Nov 06 16:12:27 project.properties should be checked in Nov 06 16:12:29 local.properties should not Nov 06 16:12:42 as for using different folder structures, force all devs to use the same structure Nov 06 16:12:48 or force devs to branch on project.properties Nov 06 16:12:57 the latter is what I often end up doing Nov 06 16:13:15 Just switch to a build system that doesn't use project.properties Nov 06 16:13:31 Please someone whats wrong with my build.gradle ? https://gist.github.com/Jan1337z/7338893 Nov 06 16:13:36 well, gradle with library projects is more of a pain in the ass Nov 06 16:13:39 than project.properties Nov 06 16:15:34 anyone knows any alternatives to XML files for layouts and styles? Ssome kind of tool that inflates html+css to native views instead Nov 06 16:15:39 I also added a photo of my workspace hierarchy Nov 06 16:16:19 karloone, no Nov 06 16:16:23 html and css is not the right approach Nov 06 16:17:17 just curious... bother to explain why? Nov 06 16:17:18 karloone, xml really isn't bad for layout and styles Nov 06 16:18:30 JakeWharton you ever finish your datagrid? ;-) Nov 06 16:20:20 karloone: create webapps Nov 06 16:20:36 jaynewstrom: sure, but do you like the way styling and theming works in Android? Nov 06 16:21:03 karloone: would you rather use swing? Nov 06 16:21:05 don't get me wrong guys I'm not for troll or anything, just curiosity Nov 06 16:21:21 So no one already wrote code that you could use in your app code to log in to a social networking site? Nov 06 16:21:23 because it's not the right approach Nov 06 16:21:25 I can't say it's as sophisticated as css, but you can do styles in android. and it's pretty easy to make very consistent controls Nov 06 16:21:33 what other answer can you possibly look for Nov 06 16:24:10 So no, interesting would that be useful? Write a chunk of code that people can use in their apps for A social login? Nov 06 16:24:10 you do know that html is xml right? Nov 06 16:25:24 CallumTaylor: I think he's sad that there is no stylesheet Nov 06 16:25:40 :( styles.xml ftw Nov 06 16:25:54 css sucks as a scripting language anyway Nov 06 16:25:59 sass/less is where it's at Nov 06 16:26:36 sass is awesome Nov 06 16:32:25 is android becoming google? Nov 06 16:32:41 Are we slowly being sucked into a Google world? Nov 06 16:35:50 android is google... Nov 06 16:36:00 you know google makes it, right? Nov 06 16:36:05 DarkSlay3r: ^ Nov 06 16:36:09 So we all secretly serve Google? Nov 06 16:36:18 O_o Nov 06 16:36:45 uh, sure... Nov 06 16:40:39 hey peeps Nov 06 16:41:03 any feedback about Amazon market app removal Nov 06 16:41:29 I have heard enough stories about apps being removed by Google due to copyright Nov 06 16:41:46 video streaming apps to be precis Nov 06 16:44:54 well, if you don't own the content, how can you stream it.... Nov 06 16:47:40 to be precise, how can you stream content you don't own Nov 06 16:47:54 well, the answer is you cannot Nov 06 16:48:01 unless you negotiate with the content owner for said rights Nov 06 16:48:04 well, my app is not for the content Nov 06 16:48:14 its for making viewer's life easy Nov 06 16:48:28 the end-user is streaming the video Nov 06 16:48:37 hmm Nov 06 16:48:43 valid point pfn Nov 06 16:49:06 the only way you can stream content you cannot own is by not providing the streaming service Nov 06 16:49:13 the user must find their own content Nov 06 16:50:20 once you associate your app with any content explicitly, you must have the rights, or it will be taken down Nov 06 16:50:46 hmm, so, I make an app Nov 06 16:50:55 let the user put in the webaddress Nov 06 16:51:07 or choose from two/three domain Nov 06 16:56:55 Where can I view/add bugs for android studio please Nov 06 16:59:08 anyone around who might be able to tell if flashing recovery.img from androidarmv6 build into a Gio with stock rom is a good idea? Nov 06 16:59:53 your phone your decision delac :-P Nov 06 17:00:31 delac: #android-root Nov 06 17:01:50 hi, I have trouble with NDK prebuilt libraries. I try to use a static library I prebuilt myself. My application code compiles and links with no errors. The first call to one of the library functions (from the app's C code) makes the whole app crash. Nothing in the log, except that the app has crashed. Any ideas ? Nov 06 17:02:23 everything in a NativeActivity Nov 06 17:15:12 perhaps, I will make my app ad-free donation based and host it on my Google Drive Nov 06 17:17:07 Looney: that would be fine, no one can stop you that way. Nov 06 17:17:53 yup, but I need to make sure that people see my app and use so that they can donate Nov 06 17:18:11 in the end, donation tends to be a fair guage of app's acceptance Nov 06 17:18:55 Is there a special way to need to pull apart a framework-res.apk and repackage it? Nov 06 17:20:29 i tired to pull it apart make a change and repackage it and it didn't work Nov 06 17:20:49 Even after doing a zipalign the phone will fail to boot with the modified framework-res.apk Nov 06 17:20:54 So i have a centered title with a custom layout in my actionbar - but some devices insist on putting 3 little dots in the top right (for my hidden settings menu) and it off-centers my title. Is there a way around that? Nov 06 17:20:58 if there is a android studio / granule pro here please help me: http://stackoverflow.com/questions/19817348/android-studio-add-jar-files-with-gradle Nov 06 17:25:09 hey guys...I like to check is there any apps that can perform Location Services Profile Switch? Nov 06 17:25:23 not based on location but more of user selection Nov 06 17:30:48 han1337z: Android Studio should now correctly edit the gradle file if you add the dependencies in the settings menu. Nov 06 17:30:53 alternates of AsyncTask Nov 06 17:31:04 I have tried it, looking for alternates Nov 06 17:31:19 w9jds_, thanks but whats wrong with my setup? Nov 06 17:31:32 Looney: AsyncTask for what? Nov 06 17:32:06 background networking Nov 06 17:32:13 why Android block 3rd party apps from "Location Services" settings? Nov 06 17:32:18 jan1337z: it looks like your dependancy strings are wrong. Not positive though Nov 06 17:32:29 Looney: look into sync adapters Nov 06 17:32:51 w9jds_, sorry I don't understand... What exactly? Nov 06 17:32:51 <^cheeky> hi, has anyone here, had any problems using android studio and then their cursor starts become the insert cursor block ? Nov 06 17:32:57 why Android block 3rd party apps from changing "Location Services" settings? Nov 06 17:33:02 hmm, its in default android or some other library Nov 06 17:33:16 Looney: Just use a thread? Nov 06 17:33:28 Looney: builds the async operation for you and it allows for running at scheduled times. It is built into android. Nov 06 17:33:31 syncadaptertype Nov 06 17:33:39 looper SimonVT Nov 06 17:33:47 What? Nov 06 17:33:52 * ReGiStRaS wonders why no 1 is replying Nov 06 17:34:33 jan1337z: the bottom of your gradle file has a dependencies section that has compile then a handful of libraries. I don't think those references are right and it can't find the things you are trying to include. Nov 06 17:34:36 thread as in java.lang.thread Nov 06 17:35:12 w9jds_, what exactly? Nov 06 17:35:16 Looney: https://developer.android.com/training/sync-adapters/creating-sync-adapter.html Nov 06 17:35:27 If I setMinimumHeight on a view, how do I ensure that the layouts are readjusted from the root view? Nov 06 17:35:30 Yes, that's the Thread class.. It lets you do stuff on a thread Nov 06 17:37:09 jan1337z: none of those dependencies look right to me, but like I said I could be wrong. Nov 06 17:37:55 SimonVT: I know, but he said he wanted something other than asynctask that did background networking and sync adapter does just that. Nov 06 17:38:32 Depends how you define background Nov 06 17:38:38 It could just be "not on the main thread" Nov 06 17:38:42 ReGiStRaS: What do you mean? Are you unable to enable gps without user confirmation or something like that? Nov 06 17:38:51 It could be when the app is not foregrounded Nov 06 17:39:20 When he wants something comparable to asynctask, I'm assuming the first Nov 06 17:39:36 SimonVT: you can use a sync adapter for both foreground and not foreground applications as far as I can tell. Nov 06 17:41:00 Well yeah, it isn't tied to the activity lifecycle Nov 06 17:41:22 SimonVT: runnable is being executed aside UI thread ? ? Nov 06 17:41:27 or it is in UI thread Nov 06 17:41:41 A Runnable is just an interface with a run method Nov 06 17:41:44 It runs where you tell it to Nov 06 17:42:14 Is it possible with ONLY app specific read access in the dev console Nov 06 17:42:34 Right now I only find that a user needs to have read only on everything and then you can add app specific access Nov 06 17:42:50 Would like to remove the read only on all apps and just have app specific users Nov 06 17:43:20 Represents a command that can be executed. Often used to run code in a different Thread. this is d.android.com say Nov 06 17:43:30 about runnable Nov 06 17:43:41 Yes, that's how it's often used Nov 06 17:43:58 nothing much about how to make it run outside UI thread Nov 06 17:44:07 With a thread Nov 06 17:44:13 where should I look for running outside UI thread Nov 06 17:44:16 ok Nov 06 17:44:23 java.lang.thread ? ? Nov 06 17:44:57 that is one of them you can use. Nov 06 17:45:45 I feel like we're going in circles Nov 06 17:46:01 yup lol Nov 06 17:46:06 oh, do you mean that make a runnable Nov 06 17:46:18 and use Thread.run() SimonVT ? ? Nov 06 17:46:36 Almost never Nov 06 17:46:42 :-( Nov 06 17:46:43 He means that there are other options than using java.lang.thread directly Nov 06 17:46:46 I usually use a Runnable Nov 06 17:47:00 ok Nov 06 17:47:07 Thread plus handler Nov 06 17:47:19 = bad time Nov 06 17:47:39 like new Thread(Runnable ourRunnable) ? ? Nov 06 17:47:40 What's wrong with thread + handler Nov 06 17:47:57 Makes me want to cry on Mondays Nov 06 17:48:13 haha Nov 06 17:48:20 but its good the rest of the week? Nov 06 17:48:33 Somewhat tolerable Nov 06 17:49:00 and if my last option is viable, then would there be variable scope issues SimonVT ? ? Nov 06 17:49:27 Looney: what are you trying to do exactly? Nov 06 17:49:44 some networking task and Jsouping Nov 06 17:50:20 I personally still think SyncAdapter is your best bet, but that is just me Nov 06 17:50:46 Scope depends on how you use it.. Nov 06 17:50:55 Looney: I would go with AsycTasks Nov 06 17:51:11 I find them much easier to manage Nov 06 17:51:14 DarkSlay3r: I want to try thread Nov 06 17:51:23 SyncAdapter is overkill if you just want to do some simple networking Nov 06 17:51:24 I know the easy part Nov 06 17:51:44 SimonVT: True Nov 06 17:51:46 so, all my UI thread variables be accesible to my new Thread ? ? Nov 06 17:52:02 Then threads and setup a handler to do UI stuff Nov 06 17:52:20 Looney: the memory is shared unless wrapped by ThreadLocal Nov 06 17:53:04 (Even then the memory is shared but every thread can store its own copy of a value in ThreadLocal.) Nov 06 17:53:05 nah, I won't dig into much complexity alankila Nov 06 17:54:01 Looney: to late async anything is complex :P Nov 06 17:55:42 async in form of threads would be much simpler if they didn't share any memory though Nov 06 17:55:42 Can I call a thread in the loading activity and start another activity BEFORE finish the thread? Nov 06 17:55:49 or, memory would be shared only in very controlled way Nov 06 17:56:51 SidGBF: yea, the thread is totally separate from anything else. Nov 06 17:56:58 lack of memory sharing makes the threads fairly independent and it would be easy for a puny human brain to fathom the mysteries of the threading master race then. Nov 06 17:57:16 I don't understand what is going on here Nov 06 17:57:34 It's like everyone started speaking a language i do not understand. Nov 06 17:58:25 I think what happened is that I spoke up. I think I'll fade out again. Nov 06 17:58:36 hi Nov 06 17:58:45 any can help me with ViewPagerIndicator ? Nov 06 17:59:01 Don't use it, it sucks Nov 06 17:59:27 what i can use? Nov 06 17:59:37 Any ideas were else the carrier name might be stored? Nov 06 17:59:51 I tired to modify the eri.xml in the framework-res and it did nothing Nov 06 17:59:59 So, let's say that I have a flow like: LoadingActivity -> MainActivity -> InfoFromWebActivity, I can make the request in the Loading activity so that when the InfoFromWeb activity is called the information is already available? Nov 06 18:00:30 AsyncTask onPostExecute Nov 06 18:00:36 Dunno if there are any alternatives Nov 06 18:05:26 DarkSlay3r: ? Nov 06 18:06:17 Why are the types of LayoutParams so disorganized Nov 06 18:06:44 Disorganized? Nov 06 18:07:18 Each viewgroup has their own set of layoutparams Nov 06 18:07:21 I think he means the tons of different LayoutParams classes in each View type Nov 06 18:07:35 MyView :: View -> myView.getLayoutParams returns a LinearLayout.LayoutParams Nov 06 18:07:49 SidGBF: i read your question wrong. NVM Nov 06 18:08:02 If your view is in a linearlayout it does Nov 06 18:08:42 no, my view is just a View. Nov 06 18:09:01 "is in" Nov 06 18:09:06 :/ Nov 06 18:09:12 LayoutParams tells the parent how to layout the view Nov 06 18:09:21 public class OverlayLayerView extends View Nov 06 18:09:30 There is no inflation of XML in this view, either. Nov 06 18:09:37 Although start background thread here to download stuff *LoadingActivity cache and use here * InfoFromWebActivity Nov 06 18:09:42 is it lack of caffeine or something really wrong with import com.android.net.wifi.WifiManager; Nov 06 18:10:19 Looney: everything is better with caffeine Nov 06 18:10:37 yup, so the verdict is ? ? Nov 06 18:10:52 you ask crappy questions Nov 06 18:11:35 There's nothing wrong with it if com.android.net.wifi.WifiManager exists Nov 06 18:11:36 yeah, I suck at asking question :-( SimonVT Nov 06 18:11:39 Which it doesn't.. Nov 06 18:11:54 oh wait, myView.getLayoutParams() returns RelativeLayout.LayoutParams, but when I create a new RelativeLayout.LayoutParams and SET those params back, I get a class cast exception cannot cast RL.LP to LinearLayout.LP Nov 06 18:11:58 android.net.wifi.WifiManager exists tho Nov 06 18:12:18 so, its lack of caffeine which lead to typing com.android Nov 06 18:12:43 Rather the lack of ide made you manually type imports Nov 06 18:13:24 my application is stoppen when i change the orientation. how i can solve? Nov 06 18:13:28 explodes: Are you adding your view to a relativelayout? Nov 06 18:15:51 fail internet Nov 06 18:27:30 i am using text.setText(getText(contentResourceId)); to set the resource to text, but if i try change the orientation of cell phone, my app is closed Nov 06 18:27:47 stracktrade or gtfo Nov 06 18:28:06 if i pu text.setText(contentResourceId); works, but is showed the int of resource Nov 06 18:28:13 stracktrade or gtfo Nov 06 18:28:55 sorry Nov 06 18:29:27 and setting resid works fine Nov 06 18:29:38 your input is probably a string Nov 06 18:29:39 which is wrong Nov 06 18:30:48 sorry i am not understand Nov 06 18:31:13 if it shows the int value as the text, then you passed a string Nov 06 18:31:14 not an int Nov 06 18:33:50 it is works Nov 06 18:33:56 only stop if i change the orientation Nov 06 18:34:10 stacktrace or gtfo Nov 06 18:34:26 lol Nov 06 18:34:35 eiheaiuhiaeiuea Nov 06 18:34:36 oks Nov 06 18:34:39 thanks Nov 06 18:35:17 pfn: http://i.imgur.com/jacoj.jpg Nov 06 18:35:34 yes, I know Nov 06 18:35:35 it's in topic Nov 06 18:35:48 oh didn't see that haha Nov 06 18:39:12 any Nov 06 18:39:12 ? Nov 06 18:39:47 how do i set a hostname for my device? Nov 06 18:40:23 i changed /system/build.prop and rebooted. but /proc/sys/kernel/hostname doesn't reflect my net.hostname Nov 06 18:47:21 hi Nov 06 18:47:41 i use php mysql on my android ap but i don t see httpost on my serveur with tcpdump ... there are mod or other for apache 2? Nov 06 18:50:53 http://pastebin.com/crfL2xXT Nov 06 18:51:07 i have change http://XX ... Nov 06 18:53:14 ?? Nov 06 18:53:20 is adb over tcp disabled when using the art runtime? Nov 06 18:53:42 kript: what's your question Nov 06 18:53:58 i have http://site..php Nov 06 18:54:02 on url but i can see Nov 06 18:54:08 my app can run .php on my serveur Nov 06 18:54:15 i can see on tcpdump http Nov 06 18:55:19 it s correct HttpPost httppost = new HttpPost("http://site.com/test.php"); Nov 06 18:55:19 ? Nov 06 18:56:28 my app don t communique with php Nov 06 18:56:34 don t run Nov 06 18:57:00 so what' happens instead? Nov 06 18:57:05 have you tried debugging it? seeing what httppost is set to? Nov 06 18:57:21 don t know how Nov 06 18:57:53 are you using eclipse or intelliJ? Nov 06 18:57:58 eclipse Nov 06 18:58:02 can i get 10 cents for every PHP dev that can't connect withe android app to their service ? Nov 06 18:58:37 kript: set a breakpoint and run the debugger in eclipse Nov 06 18:59:07 when i lick on my boutton Nov 06 18:59:11 click Nov 06 18:59:20 don t run php .. Nov 06 18:59:21 post Nov 06 18:59:25 i think Nov 06 19:00:18 umm what? Nov 06 19:00:32 you speak french ? Nov 06 19:00:39 nope sorry Nov 06 19:00:49 i use php for insert on my bdd Nov 06 19:01:00 i have form with button OK Nov 06 19:01:17 I understand that part Nov 06 19:01:20 but when i click on button ok the android post php var .. Nov 06 19:01:33 but i don t see on my serveur tcpdump php use Nov 06 19:01:53 You mean you send the variables via $_['POST'] ? Nov 06 19:02:12 receive and php but it s not probleme Nov 06 19:02:14 the probleme Nov 06 19:02:19 android don t run php Nov 06 19:02:29 don t connect Nov 06 19:02:35 don t go at url Nov 06 19:02:41 don t post http Nov 06 19:02:45 XD Nov 06 19:07:57 kript: run the debugger and tell me what httppost is equal to Nov 06 19:10:02 hey, the info on the web is not clear: I want to make it possible for a user to save data to him google spreadsheet Nov 06 19:10:37 not sure should I use drive aip Nov 06 19:10:39 or https://developers.google.com/google-apps/spreadsheets/ Nov 06 19:11:16 part of links on spreadsheet api seems nto to work Nov 06 19:11:38 hello Nov 06 19:12:12 i want to print at pos printers (network socket) Nov 06 19:12:21 the problem is that sometimes it might fail Nov 06 19:12:37 printer is tured off or another device is printing Nov 06 19:12:54 how can i deal with this ? Implement a service with a queque? Nov 06 19:13:28 no idea how your printers receive jobs Nov 06 19:13:40 but isn't there a print spooler you just push your print job onto? Nov 06 19:14:10 then, you just wait and periodically check the status of the job on the spool if you can Nov 06 19:16:29 pretty sure there isn't a print spooler Nov 06 19:16:51 not on whatever is exposing the printer? Nov 06 19:16:56 so you figure your api out Nov 06 19:16:59 that's pretty simple.... Nov 06 19:17:33 on android you just talk to printer directly in whatever language they use Nov 06 19:17:45 open socket to printer's ip, etc Nov 06 19:18:26 yeah cat foo.ps >/dev/printer ;) Nov 06 19:18:40 if only Nov 06 19:19:18 monsti socat :) Nov 06 19:19:46 yep it is simple to use a socket Nov 06 19:20:02 but it wont open if other device is using it or whatever Nov 06 19:20:09 so i need to implement a queue somehow Nov 06 19:20:17 to retry at background? Nov 06 19:20:25 but not sure how this is possible Nov 06 19:20:48 sounds like you just described how to do it Nov 06 19:21:15 yes but how to prevent this retrying code from being stoped? Nov 06 19:22:00 stopped by what Nov 06 19:22:01 Baluse: which code is why being stoped? Nov 06 19:22:10 the weather Nov 06 19:22:13 the economy Nov 06 19:22:18 the battery Nov 06 19:22:50 stopped by device sleep Nov 06 19:23:02 or working with other application Nov 06 19:23:11 I'm designing a layout that is going off the edge of the screen, and I need to be able to scroll down. Can this be done with RelativeLayout? Nov 06 19:23:13 use a service Nov 06 19:23:17 foreground service? Nov 06 19:23:18 ok Nov 06 19:23:27 thankz Nov 06 19:23:31 try disabling sleep (if you know what you are doing) Nov 06 19:24:14 Jonathan_Eyre, put it in a scrollview Nov 06 19:24:15 It looks okay when the screen size is large enough, but on smaller phones the layout is clipped off. Nov 06 19:24:58 we are still on eclipse as the "premium plattform" for SDK 4.4 ? Nov 06 19:25:36 canadiancow: I see. That's not an option for "Layouts", but it's in "Composite". Nov 06 19:25:51 huh? Nov 06 19:27:04 canadiancow: Thank you. Ignore the rest. Nov 06 19:30:02 premium? Nov 06 19:30:04 premiere? Nov 06 19:34:06 * g00s tries to install oracle jdk 7 along apple sun6; hope all hell doesn't break lose Nov 06 19:34:15 apple java 6 Nov 06 19:34:37 Is there a editor for android drawables? (the ones created with XML)? Nov 06 19:36:20 There's an xml editor Nov 06 19:36:48 SimonVT: but something with a preview Nov 06 19:40:04 g00s: Let me know if you succeed. Oracle has detailed instructions afaik. Nov 06 19:40:24 Still didn't install Java 7 on Mavericks. Nov 06 19:40:57 Detailed instructions? Just download and install Nov 06 19:41:25 * monsti still needs to dl Mavericks + XCode + iWorks + stuff ... i am too lazy to fool with beta software Nov 06 19:43:11 SimonVT: Even if you want both alongside each other? Nov 06 19:44:04 That's what I did Nov 06 19:44:34 Pointed JAVA_HOME to the oracle one Nov 06 19:44:38 And in AS/IDEA it's easy to tell it which to choose? (obv only one offers 7) Nov 06 19:44:39 i'm using mac os 10.7 (until 10.9.1 comes out). Apple has their own java package; once installed you can not really uninstall it (without life threatening surgery) Nov 06 19:44:53 heh Nov 06 19:45:08 nowadays, i think you just get the oracle on (since 10.8) Nov 06 19:45:17 Nope Nov 06 19:45:30 Even with Mavericks it's still the same Java 6 afaik. Nov 06 19:45:34 By Apple Nov 06 19:45:38 kakazza wa ? Nov 06 19:45:44 but don't install it !!! Nov 06 19:45:51 just fucking forget about it Nov 06 19:46:06 once you install it, its there forever i think Nov 06 19:46:27 i mean, you can try to iterate over the bom and rm files; that will screw things up badly ;) Nov 06 19:48:01 removing oracle is like 1 or 2 directories Nov 06 19:48:16 * g00s wants diamonds ! Nov 06 19:48:27 i hope these are conflict free diamonds ;) Nov 06 19:48:44 Why do I even open macrumours.com forum links from Google. Whenever anyone asks something the usual reply is "Why do you want that?" Nov 06 19:49:33 SimonVT: Which OS X are you running, and do you have both, 6 (Apple) and 7 (Oracle) installed? Nov 06 19:49:50 kakazza macrumors and Ai are total shit Nov 06 19:49:53 Mavericks, got both Nov 06 19:50:01 apple insider, not adobe illustrator ;) Nov 06 19:50:11 AS uses the apple JRE apparently Nov 06 19:50:18 :| Nov 06 19:50:20 Any reason why you have both? Nov 06 19:50:34 SimonVT did you install apple java ? Nov 06 19:50:37 Because it seems what g00s said is correct, removing Apple Java is not as trivial as it should be Nov 06 19:50:44 or did you update from a config which had apple java ? Nov 06 19:50:53 I installed the apple one because it asked me to when launcher AS in mavericks :p Nov 06 19:51:11 oh, thats when i would abort and install oracle Nov 06 19:51:29 I had oracle installed already Nov 06 19:51:36 well, enjoy your apple jre …forever !!! Nov 06 19:52:02 oh man, it wouldn't accept the oracle one ? Nov 06 19:52:03 i think Nov 06 19:52:07 my code not passing value ? Nov 06 19:52:18 Are we human? Nov 06 19:52:19 Winslow, Nov 06 19:52:21 Or are we dance? Nov 06 19:52:26 Couldn't find any way to get it work with oracle when googling Nov 06 19:52:29 dancer* Nov 06 19:52:39 But this was the day after mavericks was released Nov 06 19:52:42 Maybe there is now Nov 06 19:52:54 fuck, that sucks. SimonVT but you have the tools using java 7 right ? Nov 06 19:52:59 Either way, haven't had any issues Nov 06 19:53:08 Yeah Nov 06 19:53:11 ok Nov 06 19:53:43 yeah, i dont understand how the hell the java symlinks in /usr/bin work … its kinda like a fucked up debian alternatives system Nov 06 19:53:48 Maybe this would work http://stackoverflow.com/a/19621573 Nov 06 19:54:10 there are like 3 levels of indirection of symlinks :| Nov 06 19:54:39 Just the right amount Nov 06 19:54:52 Heh Nov 06 19:54:57 I just followed the accepted answer Nov 06 19:57:14 g00s: get to watch that video? Nov 06 19:57:26 dragorn no not yet ! Nov 06 19:57:27 g00s: i'm going to order some btle gear to mess with on android when i have some time Nov 06 19:57:44 i'm trying to get my app updated before black friday :| Nov 06 19:58:11 oh yes, i must remember to order a little ti sensortag Nov 06 20:01:15 yes, the old "JavaLaunching" framework is pure eveil Nov 06 20:01:54 hm, i wonder if it would be useful to file a bug report - i bet thats more intellij than google though Nov 06 20:05:11 Anyone have a resource on extracting/duplicating a single file stored inside a .obb expansion file? I.e. if I had 20 files stored as a single .obb file and for some reason needed to have a copy of one of those files stored on the phone (say to set a ring tone or something) I could pull the file from the .obb and store it somewhere appropriate. Simply placing the resource in the main .apk Nov 06 20:05:11 is off limits. Nov 06 20:05:29 doesn Android have SDK snapshots? So I can download everything that was released when Android 4.1 came out? Nov 06 20:06:44 Zulandia: isn't the OBB format up to you? couldn't you just make it, say, a zip file and extract it that way? Nov 06 20:07:28 ^That's not a terrible idea. Thanks Nov 06 20:08:04 no problem! Nov 06 20:21:56 who asked for the xml drawable previews ? AS 0.3.2 does that ... Nov 06 20:23:16 dumb question, but presumably my n7 will get 4.4 at some point. if i accept the update, does 'factory reset' restore the device to when i unpacked it, or to some baseline 4.4 configuration ? Nov 06 20:24:16 To 4.4 Nov 06 20:24:32 ok, thx Nov 06 20:24:52 The os is in system/ Nov 06 20:24:58 Factory reset wipes everything but system/ Nov 06 20:25:13 (basically) Nov 06 20:25:26 cool Nov 06 20:29:44 wow, this looks interesting if you are working on a app to bring about behavior change (like some fitness thing) http://shop.oreilly.com/product/0636920030201.do#PowerReview Nov 06 20:35:36 Is ADB over tcp disabled when using the art runtime? Nov 06 20:36:16 I am getting: You must have the following declaration within the element: Nov 06 20:36:31 But cant find the docs for what that version value should be Nov 06 20:37:02 Just updated Androids SDk yesterday... so something changed Nov 06 20:38:25 Err I guess I just add those whole line " android:name="com.google.android.gms.version" Nov 06 20:38:26 android:value="@integer/google_play_services_version" />" Nov 06 20:40:36 it's possible to view in real time how process (and threads) are scheduled from kernel ? Nov 06 20:42:14 are resources embeded in a .jar file? Nov 06 20:43:04 zezba9000 i think thats what aar is for Nov 06 20:43:20 if you mean, res/ etc Nov 06 20:43:30 ya I guess its res Nov 06 20:43:37 Hi Folks, am novice to Android. Tried to add an activity to AndroidManifest.xml and stumbled to this error http://s16.postimg.org/f20unlig5/Screen_Shot_2013_11_06_at_8_38_58_PM.png Nov 06 20:43:38 i'm making an Unity plugin Nov 06 20:43:57 any idea what am facing?! Nov 06 20:44:28 Shamha try @string, not @String Nov 06 20:44:37 Is there a way to specify a maximum width of content in a LinearLayout? I would like the content to shrink to screen size on a smaller phone, but not take up the entire screen on a tablet. It looks odd for an EditText to be that long. Nov 06 20:45:53 Some places online recommend android:maxWidth, which sounds good until it doesn't actually do anything in practice. Nov 06 20:46:28 Jonathan_Eyre: Nope Nov 06 20:46:31 g00s, what resource is this error talking about error: Error: No resource found that matches the given name (at 'label' with value '@string/title_Connection_MySQL'). Nov 06 20:47:10 Shamha, capitel S on string ? Nov 06 20:47:21 *capital Nov 06 20:47:31 Jonathan_Eyre: I had a similar requirement, I just extended linearlayout: http://pastebin.com/Tt8TQvx3 Nov 06 20:47:55 Shamha, ah old error, sorry, in case of these errors, always clean / build once, to regen the R file Nov 06 20:48:13 Add the required attributes and just set them in your xml Nov 06 20:48:18 it's possible to view in real time how process (and threads) are scheduled from kernel ? Nov 06 20:48:22 I get "Google Play services out of date. Requires 4030500 but found 3225134" Does this mean GooglePlay leaderboards don't work on Android 2.3+ ?? Nov 06 20:48:31 SimonVT: That's pretty slick. Nov 06 20:49:02 darken, am afraid I don't follow. could you further explain pls? Nov 06 20:49:48 He is suggesting you wrote @String instead of @string Nov 06 20:50:14 Shamha, Rebuild the project, sometimes if you change strings the current generated R.string.(...) reflects a different state Nov 06 20:51:20 Jonathan_Eyre: A caveat, it can't be used as the topmost view in a fragment Nov 06 20:52:29 Jonathan_Eyre, iirc, there's a maxEms for edittext Nov 06 20:52:29 Fragments layouts are wrapped in a framelayout that replaces layoutparams and crap.. Doesn't work then Nov 06 20:52:41 Never looked into it, just wrapper it in my own framelayout Nov 06 20:52:43 set maxEms and it expand to max width Nov 06 20:55:32 hi Nov 06 20:55:55 Is it possible to patch a stock rom to get ethernet support? Nov 06 20:56:05 #android-root Nov 06 21:03:16 how do you update the google play services on an Android 2.3 device Nov 06 21:04:47 zezba9000: as far as I know it's supposed to be done automatically from google Nov 06 21:05:24 via there google play store? Nov 06 21:05:31 has anyone ran into the issue of when launching the camera, when the camera saved the image and then onResume of the activity that launched the camera comes back crashes because it's been killed? Nov 06 21:05:33 well its not up to date Nov 06 21:05:56 zezba9000: you cannot do anything against that just display a nice message to the user Nov 06 21:06:12 in face I would say you are lucky enough to be able to catch that and it didn't happen on production Nov 06 21:06:16 *fact Nov 06 21:06:57 I thought the play services library has a helper method to check for that Nov 06 21:07:05 And direct them to play store or whatever Nov 06 21:07:37 SimonVT: I thought that google services were being updated by google on the background Nov 06 21:07:58 I'm trying to find it via the Google Play store. Is it the Google Play Games app? Nov 06 21:08:08 the same way they update google play Nov 06 21:08:39 zezba9000: are you writing your own plugin for unity? Nov 06 21:08:43 yes Nov 06 21:09:30 So in short... Google Play services is not going to run on a DroidX android 2.3 phone Nov 06 21:09:42 So I should have a fallback of Scroreoid I guess Nov 06 21:09:58 Which is trully cross platform. Nov 06 21:10:25 I guess it is supposed to be updated in the background.. Yesterday I got a notification that said some app needs a newer version of play services.. It opened up play store and let me update Nov 06 21:10:26 zezba9000: I don't understand why doesn't google has forced local achievements Nov 06 21:10:33 and then let the user opt for online Nov 06 21:11:03 (this was on a new nexus 10, probably bundled an older version) Nov 06 21:11:21 it would make life so much easier without needing to add all that google branding crap Nov 06 21:14:01 play services runs on 2.3 Nov 06 21:14:05 hey guys. how to check if two strings are equeal no matter if they are in capitals or not? Nov 06 21:14:18 string1.equalsIgnoreCase(string2) ... Nov 06 21:15:07 ah thanks Nov 06 21:15:21 Hey canadiancow, gmail crashed yesterday.. Did you fix the bug yet? Nov 06 21:15:24 SirLalala: ya... at this point i'm so sick of Android dev :(... Every API is off using it own design pattern... there is not consitancy to any implementation. And I wouldn't care that much... its just all the APIs down have any insite to there use outside the context of the Eclipse IDE Nov 06 21:18:54 ~_~ now i have a app description in mexican, and theres no entry on Gplay for it :O Nov 06 21:20:28 hi, i'm using buildr to build my project and i'd like to add an android target; the easiest thing seems to call ant; can i call the pre/post steps without having ant compile my app? Nov 06 21:20:35 mexican? Nov 06 21:20:45 darken: that's probably because they speak Spanish in Mexico Nov 06 21:21:04 well i have spanish es and es-rMX Nov 06 21:21:15 if I want to read from file, where that text file should be placed? Nov 06 21:21:30 Denel, one that you ship with your app? Nov 06 21:21:39 ye Nov 06 21:21:39 or what text file do you mean Nov 06 21:21:40 yes Nov 06 21:21:40 alternatively; is there an easy way to alter the ant build config to change the file structure to better suit my pre-existing project? Nov 06 21:21:44 denel or you apps files/cache folder Nov 06 21:21:48 if you ship it, place it in assets Nov 06 21:22:02 allright, thanks Nov 06 21:22:14 kinda depends on what that file is for Nov 06 21:22:27 or when it is created Nov 06 21:22:46 if its short lived file, id suggest cache, longer "files", and depending on your privacy concerns either private or on sdcard Nov 06 21:22:55 if i ask for location services via JS in the browser can i ask again if they say no? Nov 06 21:26:31 it will be a long long file... which shouldn't be seen by user Nov 06 21:28:42 SimonVT, did you take a bugreport? Nov 06 21:31:39 canadiancow: Of course not Nov 06 21:31:44 I'm a user Nov 06 21:31:53 you're a developer Nov 06 21:32:11 you know what i need if you want it fixed Nov 06 21:35:22 pfft Nov 06 21:36:51 I have a camera preview app running on a Qualcomm board, android 4.1.2. The camera preview functions fine, but logs an error (QCameraHWI_Preview "PCB callback enabled") every frame. I have found the exact line in the Android source that causes this, and it *seems* like a bug. Is there a way I can silence the log message specifically? Nov 06 21:45:50 Hey there. Just getting started on Android. Would like to effectively concatinate two strings using two text views layed out horizontally, in either a linearlayout or a relativelayout Nov 06 21:46:11 but I can't figure out how to keep the space between them Nov 06 21:46:25 ie if the first string is "hello " Nov 06 21:46:29 and the next "world" Nov 06 21:46:40 I want it to appear as "hello world" instead of "helloworld" Nov 06 21:48:39 <|0xD34D|> are the strings coming from your resources? Nov 06 21:49:18 Either add a space to the end/start of one or also concate a space string (or store the full sentence in one string) Nov 06 21:50:59 or set paddingLeft to the first one or paddingRight to the last one Nov 06 21:51:20 nomnomdeguerre: either padding or margin Nov 06 21:51:36 how did you guys understood what he is trying to do? Nov 06 21:52:41 solution found: Nov 06 21:52:41 http://stackoverflow.com/questions/1587056/android-string-concatenate-how-to-keep-the-spaces-at-the-end-and-or-beginnin Nov 06 21:52:49 use   Nov 06 21:53:38 <|0xD34D|> nomnomdeguerre: that's why I asked if you were getting the strings from resources Nov 06 21:53:50 <|0xD34D|> because of that exact issue Nov 06 21:53:59 got it, cool thanks Nov 06 21:56:42   is html for nonbreakable space; \u0020 us ascii code for normal space Nov 06 21:57:46 it's \u00a0 Nov 06 21:57:53 er Nov 06 21:58:01 hmm Nov 06 21:58:19 a0 is out of ascii Nov 06 22:00:06 So im really new at this, and coming from webdeving and relying on uri to know whats going on i feel a little lost. Say i have an string-array with menu options that gets listed out in a navigation drawer. Whats the best way to decide the logic for what view gets displayed when diferent items are clicked? right now i do a switch on the item number, but im sure there is a better way Nov 06 22:05:12 mistenkt: no Nov 06 22:05:21 no what? Nov 06 22:05:36 mistenkt: you go with switch thing Nov 06 22:06:37 mistenkt: switch(item.getItemId()) { case R.id.action_home: ..... Nov 06 22:08:55 yea, its more like switch(getArguments().getInt(ARG_SECTION_NUMBER){case 1:... atm Nov 06 22:08:57 mistenkt: in html you don't always use url as well.. you often call JS functions on button click Nov 06 22:09:04 true Nov 06 22:09:35 but then i would have added a data-attr containing info on the view it was supposed to trigger Nov 06 22:10:33 mistenkt: so you have your info, it's id Nov 06 22:11:13 yea, but the way im doing it now, if i at any time reorder the menu, the items wouldnt have the same numbers Nov 06 22:11:39 since im just doing it on keys Nov 06 22:13:55 mistenkt: you should store items (string and numbers) in an array in xml Nov 06 22:14:03 check out examples Nov 06 22:14:20 they are Nov 06 22:16:32 What's the best way of parameterizing strings? Nov 06 22:16:47 Do I really have to get the string via the context, format it, then set it in the text view? Nov 06 22:16:52 or is there a shortcut? Nov 06 22:19:45 that's really the way Nov 06 22:21:25 okay, not too bad I guess Nov 06 22:21:39 Is there a way to style a string several ways within the same textview? Nov 06 22:22:10 ie have "hello world" where hello is black and world is red? Nov 06 22:24:43 nomnomdeguerre: span Nov 06 22:25:07 such as spannable string Nov 06 22:38:34 spannable is the way to go Nov 06 22:38:45 you can use Html if it's relatively few strings to work with Nov 06 22:38:53 if you're using hundreds of strings, then it's slow Nov 06 22:41:18 i'm having trouble locking the drawer while in a fragment. Is this a known issue? Nov 06 22:41:25 why does it matter how i execute an asynctask. 1 way works, the other gives me an exception with the wrong line number? http://pastie.org/8461119 Nov 06 22:42:03 it never gives you an exception with the wrong line number Nov 06 22:42:26 Caused by: java.lang.ClassCastException: java.lang.Object[] cannot be cast to java.lang.String[] Nov 06 22:42:29 sounds right to me Nov 06 22:43:23 then why would that be happening when i split declaration and execute Nov 06 22:43:25 because this.lastTask is AsyncTask or something, while GetPostResult itself is a Nov 06 22:43:36 or something like that Nov 06 22:43:42 GetPostResult extends AsyncTask Nov 06 22:43:46 Wait, so it AdMob now part of Google-Play-services jar file?? Nov 06 22:44:00 **so is AdMob... Nov 06 22:44:05 whatever, either way, your lastTask is declared incorrectly Nov 06 22:44:42 oh? Nov 06 22:46:38 So if I use "google-play-services.jar" I don't need "GoogleAdMobAdsSDk-6.4.1.jar"?? Nov 06 22:47:29 pfn, oh poop Nov 06 22:47:49 duh Nov 06 22:47:50 :p Nov 06 22:47:52 pfn: I had AsyncTask lastTask; not GetPostResult lastTask; Nov 06 22:48:12 but that way sucks i think anyways Nov 06 22:48:32 I think a list of tasks not yet returned would be best? or wait. Nov 06 22:48:38 zezba9000, i dont think admob is in play services Nov 06 22:48:42 nevermind Nov 06 22:49:26 has anyone here had any issues locking the nav drawer when using fragments? I don't have this problem at all otherwise? Nov 06 22:49:42 what is locking the nav drawer Nov 06 22:49:43 canadiancow: Well I remove the reference and it still compiles Nov 06 22:50:15 hmm maybe it is then Nov 06 22:50:16 mDrawerLayout.setDrawerLockMode(...) Nov 06 22:50:30 And the Google services has an AdMob example... Nov 06 22:50:32 it keeps the drawer from opening during a swipe Nov 06 22:50:51 then it locks fine Nov 06 22:50:52 http://developer.android.com/google/play-services/ads.html Nov 06 22:50:56 you're right zezba9000 Nov 06 22:50:59 using fragments has nothing to do with the drawer lock state Nov 06 22:51:25 pfd: when quering the lock state it says it's locked. But it isn't actually locked because I can still swipe and open it Nov 06 22:51:47 you locked the wrong side Nov 06 22:51:55 or wrong lock mode Nov 06 22:52:11 pfn: that would be nice if that were the case. I tried several different ways of locking it to no avail. Nov 06 22:52:20 canadiancow: well i'm going to test on my Android 2.3 device and it better still work... Nov 06 22:52:46 well, since you provide no details, I continue to assume you're doing it wrong Nov 06 22:53:12 since I have no issue with drawer lock modes and fragments Nov 06 23:03:10 i wish g+ supported daydream Nov 06 23:03:50 what do I use for a bytebuilder Nov 06 23:04:04 I have ByteBuffer right now but it apparently does not autogrow Nov 06 23:04:23 I also had ArrayList but that was rather ew Nov 06 23:04:42 man its AMAZING how much better my harwdare runs 4.3 than 4.2.1 OR 4.4 Nov 06 23:08:29 ron_frown: you've got 4.4 yet? Nov 06 23:10:01 missingno: you got 4.4 ? Nov 06 23:10:10 missingno: and 4.3 runs better? Nov 06 23:10:44 ron_frown: oops top message for you you Nov 06 23:11:06 Hello. I'm trying out Android Studio for a new project (using Eclipse for my other projects) and it seems I have problems with adding a lib. I tought I solved it with a clean rebuild but after I updated my JDK it looks like I didn't fix it. Nov 06 23:11:23 I have "Add as Library" and I did add the compile to gradle build Nov 06 23:12:11 I even got auto completion, but now I get Gradle: cannot find symbol class Nov 06 23:12:21 and package does not exsist Nov 06 23:12:42 any ideas what am I missing? it's a preatty straightforward thing but... Nov 06 23:13:28 ok, the auto completion still works, but gradle build not so much Nov 06 23:13:53 No expert, but maybe you need to export Nov 06 23:14:36 jinzo: Get properties on your project, then goto "Java Build Path", then "Order and Export" tab Nov 06 23:15:31 and make sure the jar file is checked so it exports its class names Nov 06 23:16:17 will do, thanks, sec. Nov 06 23:17:41 If I need a ViewPager with 3 pages each with custom layouts, is it more appropriate to use Fragments or inflated Views? The pages will not likely be reused elsewhere in the app. Nov 06 23:19:33 zezba9000, are you sure that's in Android Studio? I can't seem to find Java Build Path in project properties/settings Nov 06 23:19:57 jinzo: O I ment for eclips, missed that part Nov 06 23:20:22 idk about Android Studio... I tried that thing and it doesn't even spit out jar files by default which I need Nov 06 23:20:27 So i'm sticking with eclips Nov 06 23:23:05 I'm trying it on a new project Nov 06 23:23:31 I run into bugs with it when I tried... but maybe its better now idk Nov 06 23:25:22 "gradlew clean" works/build the damn thing tho. Nov 06 23:31:49 oh it fails for gradlew compileDebug too, oh goodie. Nov 06 23:35:05 god damit, only I can stumble upon some fictional error to chase down (to my stupidity no doubt) Nov 06 23:36:26 zezba9000, did ads work with google play services? Nov 06 23:37:39 ofcourse, a path error. Nov 06 23:38:17 sampullman, i would say fragments, but that all depends on whats actually going on, is their content logically seperated? Nov 06 23:40:09 darken: The content is logically separated, but I do need a single shared object Nov 06 23:41:15 Difficult to tell without knowing the whole picture, if you are familiar with fragments, use those Nov 06 23:41:52 more flexible in the long run Nov 06 23:44:45 Right, it's just hard for me to tell when the added complexity is justified Nov 06 23:44:51 I'll go with fragments, thanks Nov 06 23:46:21 hard for me too, as i don't know the specifics, so the safe bet, is for me to recommend fragments ;) Nov 06 23:56:28 What is the use of activity-alias? Nov 06 23:59:46 if you need to rename an activity, or move it to a different package Nov 06 23:59:59 but you want old launcher icons or other apps that linked to you to still work Nov 07 00:00:08 you can say MyActivityA should just launch MyActivityB Nov 07 00:00:17 so you dont need to keep the old one around, just the alias in the manifest Nov 07 00:11:04 :( Can not image the case you said Nov 07 00:30:55 is it possible to handle android.R.id.home in onOptionsItemSelected in a fragment? Nov 07 00:31:00 (on JB+) Nov 07 00:31:16 seems like I'm just not getting the callback Nov 07 00:33:52 Hmm, looks like this Picture/PictureDrawable is ignoring padding. Is that normal? Nov 07 00:34:19 How does one insist on drawing on a canvas that is resized with padding, or however that works... Nov 07 00:34:24 Where do I start to read about that Nov 07 00:34:39 This SVG thing ain't paddin' bro Nov 07 00:36:19 I really wonder if that java.lang.VerifyError is related to gradle or just this weird library Nov 07 00:36:39 ugh, looks like this is a bug based on the code Nov 07 00:36:41 yaaaaay Nov 07 00:36:57 some people supposedly fixed it with a rebuild, but meh. Nov 07 00:43:24 has nothing to do with gradle Nov 07 00:43:44 verifyerror is usually using an api from the wrong version Nov 07 00:46:11 pfn, wrong version of android? Nov 07 00:46:19 yes Nov 07 00:46:19 so minSdk and targetSdk? Nov 07 00:46:28 or the build-tools version? Nov 07 00:46:28 no idea, why don't yhou stacktrace orgtfo Nov 07 00:46:30 :p Nov 07 00:46:45 Is this normal? http://gyazo.com/5d61739ee81159c0628cb4e05d87f1e5 I don't see why the overflow would show as settings but not refresh? Nov 07 00:46:48 I have a stacktrace, just a second that the studio updates Nov 07 00:50:22 https://github.com/pubnub/java/blob/master/android/examples/SubscribeAtBoot/project.properties does this meen it needs the google apis jar? Nov 07 00:50:24 hm. Nov 07 00:51:30 my menuxml doesnt have 'withText' either Nov 07 00:52:38 damn is my machine slow Nov 07 00:57:49 Filed a bug describing the issue: https://code.google.com/p/android/issues/detail?id=61893 Nov 07 00:58:21 http://pastie.org/8461376 Nov 07 00:58:27 pfn, gentle ping ^ Nov 07 00:58:48 or anyone else, that line is when I call the service/class/jar Nov 07 00:59:01 so I guess they have some problems Nov 07 01:03:28 Baluse, ping :) Nov 07 01:05:11 jinzo: look at when the application was installed. you'll likely see some verification errors from dalvik Nov 07 01:05:18 look in logcat at when the application was installed* Nov 07 01:07:57 There're: D/dalvikvm﹕ Note: class Landroid/app/ActivityManagerNative; has 163 unimplemented (abstract) methods Nov 07 01:08:14 that's not really an error Nov 07 01:08:14 and more interestingly: Could not find method org.bouncycastle.util.encoders.Hex.encode, referenced from method com.pubnub.api.PubnubCore.publish Nov 07 01:08:24 yeah, that sounds more likely Nov 07 01:08:29 indeed. Nov 07 01:09:26 Does anyone use uiautomatorviewer? The resource-id field that was there previously is now gone, for some reason. My stackoverflow question is here (with images): http://stackoverflow.com/q/19801746/1282635 Nov 07 01:11:17 ah dammit I have to check as I added a file with that just recently (but I was not sure) Nov 07 01:11:30 hm Nov 07 01:14:09 I'm trying to get https://github.com/JakeWharton/gradle-android-test-plugin working on my project Nov 07 01:14:34 added the dependencies to the gradle build file, compiled, but junit isn't getting added to the classpath Nov 07 01:15:07 wondering what other people do for unit testing and whether they've had trouble with this Nov 07 01:23:25 JesusFreke, that was it. I had to export that new lib and now it works. Nov 07 01:23:31 Thanks to everyone for help Nov 07 01:23:35 nice :) Nov 07 01:28:47 jinzo there's more to the log Nov 07 01:28:52 jinzo, include a few lines before and after Nov 07 01:29:40 pfn, as I mentioned I fixed it. I didn't read and then had a bit of a pickle with adding a dependency library for the main library I used. Nov 07 01:29:55 and now everything works. Nov 07 01:30:00 indeed Nov 07 01:30:28 I knew it has to be something like that, but I have never before looked for dalvik messages that are not errors for clues Nov 07 01:30:30 hi, is there a way to check what a specific app is build against which version? Nov 07 01:37:50 the actionbar Nov 07 01:37:52 and its actionviews.... Nov 07 01:37:54 so much promise Nov 07 01:37:56 so much pain Nov 07 01:47:30 Woop thats like all of android :) Nov 07 01:48:20 at least older api's have more people talking about them Nov 07 01:48:50 actionbar is pretty old O.o Nov 07 01:49:28 actually, good point Nov 07 01:51:05 still Nov 07 01:51:20 there aren't many good resources for the use of action views Nov 07 01:53:48 /wrists Nov 07 01:53:54 \wrists Nov 07 02:01:44 whats the state of the art way to show a bluetooth device picker these days? back in froyo i had to roll my own; trying to show the Settings app one was futile Nov 07 02:06:55 oh well, i can copy the devicepicker fragment out of Settings; lamesauce Nov 07 02:26:58 hm, i hope google books eventually lets me put the epub on external storage or something; without having to upload to the cloud :| Nov 07 02:46:14 wow pfn , rechargeable 18650's are 3400mAh now Nov 07 02:46:31 i remember my first 18650 was like 2200 mAh Nov 07 02:49:12 oi Nov 07 02:49:19 oi n! Nov 07 02:50:08 i'm playing around with Ghost blogging platform, and have no idea what i'm doing Nov 07 02:50:17 uses node.js Nov 07 02:50:58 yeah Nov 07 02:51:07 node.js is the plaything of now Nov 07 02:51:12 http://img.addfunny.com/files/uploads/pic/10/10/golden_retriever_i_have_no_idea_what_im_doing_computer518.jpg Nov 07 02:51:13 I'm going to build a...." Nov 07 02:51:17 MUST USE NODE>JS Nov 07 02:51:19 g00s_: make sure they're actually real - it is extremely common for budget makers to overmark Nov 07 02:51:20 js is the shit Nov 07 02:51:23 use js for everythign Nov 07 02:51:43 SpeedEvil the AW batteries are NCR underneath Nov 07 02:51:55 but yeah; you're right about that Nov 07 02:53:14 Panasonic NCR18650A. Nov 07 02:53:32 http://lygte-info.dk/review/batteries2012/Common18650Summary%20UK.html Nov 07 02:53:52 g00s_: got a high end flashlight or laser or something? Nov 07 02:54:15 that's all I've seen those batteries used for Nov 07 02:54:48 JesusFreke i have one of these http://www.zebralight.com/SC600-Mk-II-L2-18650-XM-L2-Flashlight-Cool-White_p_123.html Nov 07 02:55:17 wow, that's a lot of battery for a small flashlight :) Nov 07 02:55:19 but also, if you use a charger like the xtar one, it will not only charge but also provide USB power once batteries are charged , pretty useful Nov 07 02:55:32 that light is like 1000 lumens Nov 07 02:55:45 that little light pushes the 18650 pretty hard Nov 07 02:56:04 does anyone know a good library for creating a first-use tutorial for an app? Nov 07 02:56:11 about as bright as a car headlamp :) Nov 07 02:56:19 I think my laser goes through one in about an hour. I haven't left it on long enough to see :) Nov 07 02:57:02 SpeedEvil thanks; i usually read from candlepower forums; i think i've seen this page Nov 07 02:57:10 yLikely. Nov 07 02:57:22 You've also seen the 'my torch exploded' pages? Nov 07 02:57:41 even though the mAh is going up, seems like this is for low power / optimal use case Nov 07 02:57:50 i dont have any IMR cells Nov 07 02:58:03 SpeedEvil heh, no :) Nov 07 02:58:17 http://www.candlepowerforums.com/vb/showthread.php?280909-Ultrafire-18650-3000mA-exploded&highlight=explosion Nov 07 02:58:37 oh yeah,the Ultrafire Nov 07 02:58:46 run Nov 07 02:59:17 Oh, he had a SolarForce L1200 Nov 07 02:59:20 i had one of those Nov 07 02:59:29 probably should have used an IMR for incan **** ENDING LOGGING AT Thu Nov 07 02:59:58 2013