**** BEGIN LOGGING AT Thu Sep 20 02:59:58 2012 Sep 20 02:59:58 Leeds: Of course Sep 20 03:00:03 adq: Your crazy, nuff said Sep 20 03:00:24 then you need to stop trying to shortcut to your useless app, and focus on learning how to write it Sep 20 03:01:49 from everything you've said about your app, it's not something the world is dying for, not something... well, that many people are going to care about Sep 20 03:02:07 so it's more important for you to learn properly, so your next app, or the one after - the useful one - is good Sep 20 03:02:50 nothing personal... ;) Sep 20 03:03:20 Hey no problem, I take the criticism as a way to improve, the app is for personal sue anyway Sep 20 03:03:22 use* Sep 20 03:03:45 I re-engineered the formula used to generate our tests so I was making this app to do that :P Sep 20 03:06:13 uh-huh Sep 20 03:11:17 Wow I just re-wrote my dynamic code in 20 lines -.- Sep 20 03:11:41 dude, your 'dynamic code' is just your code Sep 20 03:12:59 Any idea what a GLS error: INVALID_SCOPE means? Sep 20 03:34:25 et.setInputType(number); -- Is this correct syntax for designating the input type? Sep 20 03:41:38 I'm going to make an application for both Android and iOS using GAE servlet as the backend and web frontend. Is it a bad idea to using "App Engine Connected Android" project as a start? Sep 20 03:42:53 Yes Sep 20 03:42:57 Oh nvm Sep 20 03:43:02 Thought u said app inventor, lol Sep 20 03:44:10 What's wrong with App Inventor? Sep 20 03:45:14 Is % still modulo for Android? Sep 20 03:45:19 App Inventor sucks, its a joke Sep 20 03:45:40 On what do you base that analysis? Sep 20 03:46:17 I did a class on it and it just wasnt that efficient Sep 20 03:49:21 are people getting some kind of sign in error for google? mine and couple of friends are showing that Sep 20 03:49:39 *google account on android Sep 20 03:52:49 how i hate designers. They want to make everything on android behave like iOS :( Sep 20 03:53:09 pboos: bad designers maybe Sep 20 03:53:31 and like they say, ios is "visual masturbation" Sep 20 03:53:42 or something like that ;) Sep 20 03:53:44 anyone a nice way of using fragments for tabs and having a inside tab navigation? like in tab 1, fragment1 is open. open fragment 2 in tab 1 and when user clicks the back button, go back to fragment 1. Sep 20 03:55:13 g00s: is what i think too. but sadly i am not the guy who can fire them.. and i am not even in the position to tell them that they should change it to make it more android like. i should just start my own company.. need to get my own app done soon to make some money.. old app only makes 100$ per month.. not enough :D Sep 20 03:56:29 pboos: i think your app made more than mine :) will be interesting to compare once i get the wp8 port done Sep 20 03:56:44 How can I convert a hex number to an int Sep 20 03:57:08 g00s: wp8 port? not sure i should jump on the wp8 train yet. not sure how long it will go. but love c# and wpf :) Sep 20 03:57:39 Snwspeckle: too lazy to use google/stackoverflow? http://stackoverflow.com/search?q=java+hex+to+int Sep 20 03:57:53 Naw sorry Sep 20 03:57:56 didnt mean to post that Sep 20 03:57:59 stupid question Sep 20 03:58:35 Snwspeckle: :) Sep 20 04:06:36 just found a nice way to reboot my phone. have an activity that does startActivity(new Intent(this, this.getClass()); in onCreate() ;-) Sep 20 04:09:55 is anyone else having problems logging into google services from android devices. Sep 20 04:14:38 String answer = String.valueOf(x ^ y); ---- Why is this not converting my int to the ASCII symbol? Sep 20 04:16:35 Snwspeckle: try String.format :P Sep 20 04:17:27 Whats the structure of that? Sep 20 04:17:38 read the fing docs Sep 20 04:18:37 so I'm trying to create my own custom gridview, where each item can have unique heights Sep 20 04:18:56 i'm trying to figure out the best way to measure the height of the children Sep 20 04:19:32 the children are coming from a ListAdapter Sep 20 04:19:48 should I just do a getView(), and retrive the sizes that way? Sep 20 04:21:46 Snwspeckle: Integer.toHexString(Val); => first answer doing a search on stackoverflow: http://stackoverflow.com/search?q=java+%22int+to+hex%22&submit=search Sep 20 04:21:50 hello Sep 20 04:23:08 I have a simple question...I am using actionbarsherlock for my application, then what i am going to declare in my tab? As Fragment(which is a compatibility version) or as SherlockFragment Sep 20 04:23:09 ? Sep 20 04:23:10 I already have it converted from a hex value, just a matter of going from the int to ascii symbol Sep 20 04:25:30 Snwspeckle: that is exactly what that function does Integer to HexString.. integer to a hex again. Sep 20 04:26:22 Snwspeckle: or do you mean you want the integer as string? ""+integer or better: Integer.toString(integer) Sep 20 04:26:54 how can i make nfc work on 2.2 phones? Sep 20 04:26:55 junnel1001: use SherlockFragment Sep 20 04:27:23 whomp: can't without writing your own os... Sep 20 04:28:41 whomp: kind of like this: http://www.youtube.com/watch?v=T5N2n9vWkRw Sep 20 04:28:53 pboos: toString will convert it to the decimal version Sep 20 04:30:05 pboos: interesting that some of the sony phones have ant+ capabilities Sep 20 04:30:29 pboos: oops Sep 20 04:30:31 :) Sep 20 04:30:38 that was for alex_PP Sep 20 04:30:45 g00s: :D Sep 20 04:32:01 yeah, sadly... Sep 20 04:32:08 String.valueOf is supposed to convert it to the string form but its not, grrr Sep 20 04:32:20 i'd love my GNesus to have it Sep 20 04:32:43 nearly bought a USB host cable and a dongle Sep 20 04:32:44 it would be awesome if ant, zigbee, and bt4 were supported Sep 20 04:33:31 and then, awesome graphs Sep 20 04:33:48 :) Sep 20 04:34:02 i looked at achartengine and androidplot and was not happy Sep 20 04:34:14 so i have to make my own Sep 20 04:34:28 i wanted to find some ant or bt cable tension/displacement meters too Sep 20 04:34:44 so i could record gear changes Sep 20 04:34:51 that'd be cool Sep 20 04:35:08 i started me own graph library too Sep 20 04:35:20 alex_PP: did you write the uWind stuff ? Sep 20 04:35:54 or maybe it was another app , thought there was a biking power meter app Sep 20 04:36:41 Snwspeckle: still not sure what you need. so String.valueOf(10) => "10" is not what you want? Sep 20 04:37:05 Snwspeckle: or another thing, is your number a minus number? or the hex too big for integer? Sep 20 04:37:41 nope, my bike app is yet to see the light of day Sep 20 04:38:28 No basically for example if the decimal for the symbol "A" is 65, if I enter 65, it should return "A" Sep 20 04:39:00 Snwspeckle: as in my earlier answer: Integer.toHexString(Val); Sep 20 04:39:09 alex_PP: oh ok, i saw this https://play.google.com/store/apps/details?id=com.plusot.upowerlab Sep 20 04:39:55 i wonder how he sets up his manifest filter to "requires ant+" Sep 20 04:40:22 he didn't "This app is compatible with your Mobitel Samsung Galaxy Nexus." Sep 20 04:40:45 heh Sep 20 04:40:55 it was incompatible with mine, i made a bad assumption Sep 20 04:41:24 it's incompatable with me though -- $13.02!! Sep 20 04:41:53 Snwspeckle: ahh.. i see. so your hex is ALWAYS just one number? or hex of a ascii string in the case. Sep 20 04:42:38 The initial input is hex which I then convert to the decimal of an ASCII symbol and then I need to convert the symbols decimal to the actual symbol Sep 20 04:43:11 so basically you want to convert a hex to a char, right? Sep 20 04:43:22 yes sir Sep 20 04:46:36 Snwspeckle: Character.toString((char)65) => "A" Sep 20 04:48:56 In replace of 65 why cant I use a variable which is the decimal Sep 20 04:57:44 pboos: hello...I tried the sherlockfragment but it will say nullPointerexception Sep 20 05:04:32 so I'm calling measure on a child View, but it's not yielding the correct height Sep 20 05:04:49 more specifcally, there's a TextView in it that's being set with text that can be multiple lines sometimes Sep 20 05:04:57 and that height doesn't seem to be accounted for Sep 20 05:05:18 what do I need to call to make that happen before .measure() ? Sep 20 05:07:19 just looking at using the Otto event bus instead of custom listener interfaces for communicating events from a Service to Fragments that use it. Is there some common pattern for posting messages from a background thread to be delivered in the main thread? Sep 20 05:08:04 the event bus should also make holding a ServiceConnection in the fragment or activity essentially unnecessary? Sep 20 05:09:32 it should, yes Sep 20 05:09:40 however, it will not manage cross-thread posting itself Sep 20 05:09:44 Strange issue / question for JakeWharton et al. I'm using ABS and 3 action bar tabs in several Activities. Everything looks great, except on the Kindle Fire, the 3rd tab always has a down arrow on it like a spinner. On every screen. Anybody ever seen this before? Sep 20 05:09:48 I've been Googling to no avail. Sep 20 05:10:27 by default, Otto enforces all interaction occurs on the main thread to enforce thread safety Sep 20 05:13:04 anyone know why my child.measure isn't taking into account the TextView's height? Sep 20 05:13:35 JakeWharton: Ever heard of this issue on the Kindle Fire with action bar tabs and ABS? Last tab showing a spinner arrow? Sep 20 05:14:07 nope Sep 20 05:14:11 which Kindle Fire Sep 20 05:14:24 Gah, not sure. It's at work now. Sep 20 05:14:42 It's an old one. Sep 20 05:14:48 JakeWharton: Hello...I am using actioBarSherlock...my problem is about how to use it with tabs...it will say in my tablistener as NullpointerException during runtime..do you have any idea about it? do you have any example how to implement Action bar tabs in actionbarsherlock? Sep 20 05:15:13 there's a bunch of examples in the demos that use tabs Sep 20 05:15:31 use SherlockFragmentActivity, use SherlockFragments, don't call commit on the transaction passed in Sep 20 05:16:00 does anyone have a version of proxydroid or redsocks compiled for android-x86? Sep 20 05:16:42 hm.... do I have to inflate the views within the view? Sep 20 05:19:32 JakeWharton: http://pastebin.com/B8juuPCH Sep 20 05:20:12 JakeWharton: I don't know how to setup the actionbarsherlock with actionbar navigationTabs Sep 20 05:20:44 JakeWharton:it produces an error during runtime Sep 20 05:21:25 ok, what error? Sep 20 05:21:49 JakeWharton: Unable to start activity ComponentInfo{hcc.revised.actionbar/hcc.revised.actionbar.HCCActivity}: java.lang.NullPointerException Sep 20 05:22:00 NullPointerException at my tablistener Sep 20 05:22:06 paste the full stack trace Sep 20 05:22:55 JakeWharton: posting from the background should be as simple as https://gist.github.com/3754096? Sep 20 05:23:07 does android:id="@android:id/empty" not work for mpty listview in 4.x? Sep 20 05:23:13 spifff: yep! Sep 20 05:24:22 or does it need to be within ? Sep 20 05:25:52 JakeWharton: http://pastebin.com/pJzmtbie ..that's the error log. Sep 20 05:26:33 you're extending SherlockActivity Sep 20 05:26:40 JakeWharton: http://pastebin.com/B8juuPCH ...this is how i setup my actionbar Sep 20 05:26:50 there's no fragments unless you're using the support library activity Sep 20 05:26:54 use SherlockFragmentActivity Sep 20 05:28:08 the empty list item won't go away when my list loads.. do i need to be calling something when the data loads into the adapter? the list is redrawing with the items but the emty view is hangnig around Sep 20 05:28:40 ok, now i see that it's my TextView's height that's not being returned correctly Sep 20 05:28:45 what can i do about that? Sep 20 05:30:31 or do i have to give "@android:id/list" as the list's id for the empty view to work automatically? Sep 20 05:31:22 JakeWharton: You're an incredibly patient guy. Sep 20 05:31:47 speakingcode: did you tell the ListView about the empty view? Sep 20 05:32:06 android:id/empty is only a convention used with ListActivity and native ListFragments Sep 20 05:32:15 how does one do that? normally it just automagically works, IIRC Sep 20 05:32:16 oh Sep 20 05:32:24 listView.setEmptyView(View) Sep 20 05:32:30 k Sep 20 05:32:38 thought i might be forgetting something, thanks Sep 20 05:32:47 https://developer.android.com/reference/android/widget/AdapterView.html#setEmptyView(android.view.View) Sep 20 05:37:18 this is so frustrating Sep 20 05:37:38 why isn't getMeasuredHeight returning the correct height? Sep 20 05:40:45 HorizonXP: are you looking for just getWidth/Height maybe? Sep 20 05:41:12 f2prateek: i don't believe so Sep 20 05:41:24 does anyone have any animation for the support? Sep 20 05:41:44 f2prateek: but let me try Sep 20 05:41:53 it seems objectanimator will not run for support library. Sep 20 05:42:14 objectanimator is API 11+ Sep 20 05:42:27 f2prateek: no, those return 0 for me Sep 20 05:42:28 and the animations that the support library fragment transactions take are view animations Sep 20 05:42:33 JakeWharton: Thanks for looking at my code...SherlockFragmentActivity solves my problem Sep 20 05:42:40 f2prateek: i'm calling child.measure(), and then getMeasuredWidth/Height Sep 20 05:42:52 are you giving it appropriate MeasureSpecs? Sep 20 05:42:58 the height is what I care about right now. it's always returning 227. Sep 20 05:43:15 JakeWharton: what is view animation? Sep 20 05:43:26 JakeWharton: measurespec is -2, and EXACTLY Sep 20 05:43:26 android.view.animation.* Sep 20 05:43:37 NOT android.animation.* Sep 20 05:43:39 so it should be wrapping content and returning the exact height back Sep 20 05:44:46 JakeWharton: but it is possibly to create a slide-left/slide-right using view animation in xml right? Sep 20 05:46:11 JakeWharton, f2prateek : here's my code right now http://pastebin.com/47gKQeZd Sep 20 05:46:15 yes Sep 20 05:46:20 to junnel1001 Sep 20 05:46:34 http://developer.android.com/guide/topics/resources/animation-resource.html#View Sep 20 05:46:55 and sorry, change those child.getWidth/Height back to MeasuredWidth/Height Sep 20 05:47:07 but the height returned is always 227 Sep 20 05:49:09 oh son of a... Sep 20 05:49:16 i think i see it now :-( Sep 20 05:51:42 MeasureSpec.EXACTLY means you supply it with an exact size Sep 20 05:52:03 UNSPECIFIED would be wrap_content Sep 20 05:53:55 SimonVT: that wasn't the problem, but thanks for that :) Sep 20 05:54:40 JakeWharton: This is how setup my fragmentTransaction: ft.setCustomAnimations(R.anim.slide_in_left, R.anim.slide_out_right); Sep 20 05:54:56 JakeWharton: is setCustomAnimation not available for support Library Sep 20 05:55:00 ? Sep 20 05:55:06 it is Sep 20 05:55:16 https://developer.android.com/reference/android/support/v4/app/FragmentTransaction.html#setCustomAnimations(int, int) Sep 20 05:55:25 s/ /%20/ Sep 20 05:59:37 how can i get a view inside a LinearLayout to fill ALMOST all the parent, or as much of the parent isn't occupied by something else? Sep 20 06:00:06 fill_parent doesn't work, it clobbers everything else. wrap_content isn't enough, it doesn't fill the available space in the screen.. Sep 20 06:00:24 use weights Sep 20 06:00:28 use RelativeLayout Sep 20 06:00:31 weight=1, width=0dp Sep 20 06:00:33 use child layouts Sep 20 06:00:37 write your own ViewGroup Sep 20 06:02:53 JakeWharton: Thanks...I got it working now..:) btw...what's the difference regarding objectanimator and view animations? Sep 20 06:03:07 one is API 1+, the other is API 11+ and awesomesauce Sep 20 06:09:37 thanks android:layout_alignParentTop="true" worked Sep 20 06:15:35 JakeWharton: thanks, otto is working great, got rid of 150 lines of boilerplate code already ;-) Sep 20 06:15:54 Excellent! It did the very same for us too Sep 20 06:27:44 if i start an activity with an intent containing an extra and then orientation re-creates the activity, is the intent still there? and what does the savedinstancestate bundle contain on the first creation of the activity with the intent? Sep 20 06:31:48 JakeWharton: Is there built-in fade animation for API < 11 ?? Sep 20 06:32:04 https://developer.android.com/reference/android/R.anim.html Sep 20 06:40:44 JakeWharton: Does v4 support library run in android api 7? Sep 20 06:41:42 JakeWharton: what's the difference between extending ListFragment (v4 support) vs SherlockListFragment? Sep 20 06:42:01 the latter works with ActionBarSherlock menus Sep 20 06:42:13 to answer your previous question, the 4 in v4 means API 4+ Sep 20 06:48:56 annoying to test android program when it's dependant on web database and due to way network's set up you can't access your test server through internet so you have to use your primary server for testing duties. Sep 20 07:03:13 hi all Sep 20 07:03:59 JakeWharton: But ActionbaSherlock will run in android 2.2 right? Sep 20 07:04:17 API 7+ Sep 20 07:08:21 I'm making a widget that has to connect to the internet to get data, so i made an intentservice. however eclipse is telling me that startService(myintent) isn't a method of my widget (which is inheriting from AppWidgetProvider. How do you normally start it? Sep 20 07:09:54 hey in the snake game for rotation of the snake to a specified degrees, if i say static final int ACCELEROMETER_AXIS_SWAP[][] = { Sep 20 07:09:55 {1, -1, 0, 1}, // ROTATION_0 Sep 20 07:09:55 {-1, -1, 1, 0}, // ROTATION_90 Sep 20 07:09:55 {-1, 1, 0, 1}, // ROTATION_180 Sep 20 07:09:56 {1, 1, 1, 0}}; // ROTATION_270 Sep 20 07:10:18 then how does these values refer to those rotation Sep 20 07:11:05 can you please explain how these 2-d array values are making the snake rotate Sep 20 07:11:23 i can't understand the values associate with the rotation Sep 20 07:12:56 What is the easiest way to downsample a bitmap? Sep 20 07:13:08 Bitmap.createScaledBitmap Sep 20 07:13:21 romainguy_: ty Sep 20 07:15:58 * napster : please edit : http://developer.android.com/reference/android/graphics/Bitmap.html#createScaledBitmap(android.graphics.Bitmap, int, int, boolean) : s/and now new bitmap/and no new bitmap Sep 20 07:19:21 JakeWharton: what would be my "project Target Build" of my application? I want to make it run in Android 2.2. Sep 20 07:21:01 hm Sep 20 07:21:10 seems as if I haven't coded for Android in about a year already Sep 20 07:21:12 :( Sep 20 07:21:22 oO Sep 20 07:21:28 What are you doing here then Sep 20 07:22:51 habit :) Sep 20 07:23:03 hehe Sep 20 07:23:05 and I like to bitch at noobs Sep 20 07:23:07 :) Sep 20 07:23:21 and maybe one day when I have more time on my hands I will pick it up Sep 20 07:23:32 romainguy_: Does Bitmap.createScaledBitmap take too much time which makes it heavy for running on the main thread? Sep 20 07:23:34 i am on maternity leave from jan 21st Sep 20 07:23:36 so who knows Sep 20 07:24:16 I might get bored and develop something Sep 20 07:24:49 I would like a button on my screen that sets a timer automatically so I know when my washing machine is done :) Sep 20 07:25:29 That shouldn't be too hard :p Sep 20 07:25:56 napster: depends on the source, but in general it's not a good idea to do it on the main thread Sep 20 07:26:07 romainguy_: ok Sep 20 07:28:26 can someone tell me how to make a delay? Sep 20 07:28:36 i tried thread.sleep() but it doenst work Sep 20 07:30:11 hi SimonVT Sep 20 07:30:27 http://pastebin.com/CnK1W6x3 Sep 20 07:30:47 Yep, that's java code alright Sep 20 07:30:53 kingargon: why would you do that ? Sep 20 07:30:59 here is the code which will move the snake to a certain direction Sep 20 07:31:11 kingargon: thread.sleep() should work or try handler.postDelayed() Sep 20 07:31:15 but i am not able to understand the concept of how its doing it Sep 20 07:31:20 can you please explain it Sep 20 07:31:30 Nope Sep 20 07:31:34 Never looked at the snake sample Sep 20 07:32:00 SimonVT, ok no problem Sep 20 07:32:21 im trying to animate a row of lights Sep 20 07:35:54 im getting a nullpointererror Sep 20 07:36:16 i thought here was a class file for this Sep 20 07:36:53 im thinking of just doing a for loop but thats not a sound idea Sep 20 07:37:11 since it will run on different cpu's Sep 20 07:37:27 kingargon: Please try using : handler.postDelayed() Sep 20 07:38:57 alright it works now, thanks! Sep 20 07:54:33 hey guys i got one more question. Sep 20 07:54:46 i want to use the i variable from a for loop Sep 20 07:54:49 final ImageView ledChange = (ImageView) findViewById(R.id.imageView + i); Sep 20 07:54:54 is this right? Sep 20 07:55:13 the "i" is suppose to represent a number Sep 20 07:55:25 why is that a final attribute? Sep 20 07:56:04 i have no idea. im a C programmer lol Sep 20 07:56:19 the final keyword is kinda confusing to me Sep 20 07:56:40 final means 'the value is never changed' Sep 20 07:56:46 which is probably not what you want here Sep 20 07:57:17 like a constant variable? Sep 20 07:57:32 yup Sep 20 07:57:43 It's a view, it probably doesn't matter.. I just hope he knows what he's doing with the R.id.imageView + i Sep 20 07:57:44 ooh, okay Sep 20 07:57:56 R.id.imageView is a String, right? Sep 20 07:58:07 No, an int Sep 20 07:58:12 oh lol Sep 20 07:58:19 then it's magic Sep 20 07:58:28 all id is a int Sep 20 07:58:35 noo, imageview is suppose to be a "light" Sep 20 07:58:46 1 light in a row of 14 Sep 20 07:59:05 so there are 14 imageviews all together Sep 20 07:59:18 i want to cycle through each one and change the color Sep 20 07:59:31 so i thought a for loop would do the trick Sep 20 08:00:35 good god Sep 20 08:01:04 its not pretty but i dont know what else to do Sep 20 08:01:29 I thought not reading the documentation was a java developer thing Sep 20 08:02:29 Ivru: it's windows developer thing Sep 20 08:04:20 can u guys tell me what im doing wrong? Sep 20 08:04:22 please? Sep 20 08:04:50 howabout store the id's to array? Sep 20 08:05:10 so int[] viewArray= { r.id.view1, r.id.view2} etc? Sep 20 08:05:14 dunno if that works Sep 20 08:05:43 or was there way to get array of views flat out with some function. Probably yes. Sep 20 08:06:25 hmmm Sep 20 08:07:57 ViewGroup.getChildCount() and ViewGroup.getChildAt(int) <- traverse the views, find ones that are imageviews and then go from there? Sep 20 08:09:51 or even better have all the ones you like under one linearlayout/whatever without other type of views under same layout so you don't have to worry about view NOT being imageview Sep 20 08:11:37 its worth a try, thanks! Sep 20 08:12:05 hope it works :) Sep 20 08:12:18 Is there any way to significantly speed up Eclipse/Android development in it? Or are there alternatives? Sep 20 08:14:07 IntelliJ Sep 20 08:14:50 morning everyone Sep 20 08:17:38 romainguy: $100 :( Sep 20 08:18:01 Guess I'll invest a bit more time looking into how to speed up eclipse for now Sep 20 08:20:09 Tobias|: the community edition is free Sep 20 08:20:44 but anyhow, if you are having performance problems with eclipse 4.2, use 3.8 instead Sep 20 08:21:44 I like that "Help -> About Eclipse" doesn't tell me what version I'm using Sep 20 08:21:47 hi everybody! can anybody tell me how i can access the Canvas in a CustomView? All I see is the onDraw(Canvas canvas) {...} function... but is there a way to access the canvas from the class itself? Sep 20 08:23:03 tobias: huh? Shows for me Sep 20 08:25:56 JakeWharton: There is an error while compiling my project at ActionbarSherlock LIbrary, I don't what cause this error. http://pastebin.com/6Hp7wHDU Sep 20 08:26:09 You have to build against api14+ Sep 20 08:26:09 I don't know Sep 20 08:29:01 SimonVT: meaning to build it in API 14? Sep 20 08:30:14 Are you asking what it means to build against an api level? Sep 20 08:48:56 hm Sep 20 08:49:07 I still need a reliable way to check whether a phone is running touchwiz Sep 20 08:49:33 I tried this: http://pastie.org/private/rrtj0xrcwktmvu6sium3a but it doesn't seem to work (returns false on an sgs3) Sep 20 08:57:57 mots: curious , why do you need to know ? Sep 20 08:59:32 g00s: the intent I'm starting works fine on non-touchwiz devices, but crashes on touchwiz ones Sep 20 08:59:44 mots: oh, thats easy Sep 20 08:59:51 so I need to fall back to a less userfriendly one on tw Sep 20 09:00:04 http://android-developers.blogspot.com/2009/01/can-i-use-this-intent.html Sep 20 09:00:19 g00s: it's still callable Sep 20 09:00:23 oh no ! Sep 20 09:00:23 it just crashes after you call it Sep 20 09:00:26 gj samsung Sep 20 09:01:04 Which intent is it? Sep 20 09:01:22 That easy, just exclude all samsung touchwiz devices ^_^ Sep 20 09:01:23 lut4rp: http://pastie.org/private/vt777puiguzjatkhkfczw Sep 20 09:01:43 i would need a way to find out if it's touchwiz, so I can use the fallback intent there as well Sep 20 09:02:18 Can't you just try/catch the first attempt, then try/catch the tw one? Sep 20 09:02:47 HDroid: it's the contacts app itself crashing, so I don't know if I can catch that from my app Sep 20 09:02:48 http://pastie.org/private/lbirue1dwblj5ejrlhmiq Sep 20 09:02:52 mots: ohh Sep 20 09:02:57 anyone knows the tricks to run youtube video like the android market does? com.google.android.youtube cmp=com.google.android.youtube/.app.honeycomb.Shell$WatchActivity Sep 20 09:03:11 did samsung replace the contacts app ? or is it just modified ? Sep 20 09:03:18 Nasty Sep 20 09:03:28 seems like they modified it to use com.sec.android.touchwiz stuff Sep 20 09:03:35 Dang, Samsung. Sep 20 09:04:03 well, this is what you get when oems add "value" Sep 20 09:04:07 :) Sep 20 09:04:09 so yes, basically I need a more reliable way than this http://pastie.org/private/rrtj0xrcwktmvu6sium3a to detect a touchwiz device Sep 20 09:04:15 * RazielZ pets his galaxy nexus Sep 20 09:04:15 <3 Sep 20 09:04:39 mots: damn, thats nasty Sep 20 09:12:58 I accidently set Intent.ACTION_PICK to "Always" use the gallery. How can I reset this preference? I'm on JB Sep 20 09:15:21 Settings > Apps > All Sep 20 09:15:23 select Gallery Sep 20 09:15:26 and click Reset Defaults Sep 20 09:16:27 ty romainguy_ Sep 20 09:27:20 Feature request: ability to reset defaults on a per-type basis. Sep 20 09:29:29 Users don't know what intents are Sep 20 09:30:31 Why does apple suck so much? Sep 20 09:30:44 I'm sick of hearing about them in the courts Sep 20 09:31:15 Then other manufacturers should stop stealing their ideas. Sep 20 09:31:59 HDroid: rounded corners hardly count as an idea in my opinion Sep 20 09:32:24 hi Sep 20 09:32:25 you hear that apple is sueing a polish grocery store over a.pl Sep 20 09:32:34 i'm serious Sep 20 09:32:51 i'm having a textview automatically limit my text to 1024 char, is there any way to avoid this please? Sep 20 09:35:30 ddreamer0: i think apple has a patent on gui widgets that can hold more than 1024 characters Sep 20 09:38:58 really? Sep 20 09:39:03 that sucks! Sep 20 09:39:12 is there a workaround ? Sep 20 09:39:25 -.- Sep 20 09:39:39 Just let the text go from right to left, the patent is only valid for left to right text. Sep 20 09:40:21 wtf ? lol Sep 20 09:40:38 what do you mean? setText() in inverse order ? Sep 20 09:41:15 anybody familiar with JmDNS? Sep 20 09:41:25 ()txeTtes Sep 20 09:41:56 are you pulling my leg ? ;) Sep 20 09:42:08 What makes you think that :D Sep 20 09:42:46 I'm not aware of a 1024 character limit on TextView, are you sure the source string isn't cut off? Sep 20 09:50:05 awsnap. they silently made READ_LOGS a system-level permission that is not granted to apps any more in 4.1 Sep 20 10:00:29 why is it that when i changed to screen orientation, it will get back to first tab? Sep 20 10:00:38 what's the problem of it Sep 20 10:03:55 do you have any idea how to fix it? Sep 20 10:11:57 when you import a code library (folder full of .java files), do you generally drag it to lib, then configure build path and add the first folder of the library? Sep 20 10:12:34 i'm wondering because it's not resolving the imports properly Sep 20 10:12:59 folders are javax/jmdns, imports in existing code use javax.jmdns…, but it's expecting jmdns.... Sep 20 10:15:39 yay, I finally found a way to detect touchwiz that seems to work everywhere Sep 20 10:15:48 it's the ugliest code I've ever written :D http://pastie.org/private/lb087qhrz0srpafw38bg Sep 20 10:17:45 that's the ugliest code you'ver ever written? Sep 20 10:18:07 also, you need documentation Sep 20 10:19:04 Snuffel: the ugliest I can show without getting burned at the stake Sep 20 10:19:09 ;) Sep 20 10:19:40 Why do each of them need their own try-catch Sep 20 10:19:57 oh right Sep 20 10:19:58 SimonVT: because not all of them are present on all tw devices Sep 20 10:20:00 Nevermind Sep 20 10:24:40 i'm not understanding importing… if i have a folder javax/jmdns/etc…, shouldn't i be able to "add external class folder" and then import using javax.jmdns...? Sep 20 10:25:05 mots: hm I would DRY it to something like this: http://pastie.org/private/up7h5dwdltjtv9aps3ycw :) Sep 20 10:26:09 Also immediately returns when there's a match Sep 20 10:27:03 ultra-: what I would do is... probably make a jar out of it in a separate project and import that. Sep 20 10:27:25 ok i'll try it, thanks Sep 20 10:28:02 HDroid: true, your's is cleaner Sep 20 10:29:56 in the new project, add my base directory (javax) to src? Sep 20 10:30:29 ultra-: yes, providing the package definitions make sense that way. Sep 20 10:31:48 ok, thanks Sep 20 10:33:11 that did it :) Sep 20 10:36:49 how can I use LinearLayout.LayoutParams layoutParams = new LinearLayout.LayoutParams(30, 30); to set width=fill_parent? Sep 20 10:39:45 LayoutParams.MATCH_PARENT Sep 20 10:40:58 SimonVT, so instead of the pixel number I just replace it with what you say? Sep 20 10:41:03 yep Sep 20 10:41:19 ok. so this means those are unique numbers.. great Sep 20 10:43:04 It's a negative number Sep 20 10:50:53 hi Sep 20 10:51:16 I would like to connect my android application with socket.io (running on node.js): what would be the best library to do that ? Sep 20 10:53:02 java.net.Socket? :) Sep 20 10:55:03 is there a way to reset the layout as it was in the xml? Sep 20 10:56:44 save your properties before change it or read it again from xml Sep 20 11:14:02 setvisible in menu actionbarsherlock not working....Do you know what's the problem of it? Sep 20 11:14:52 in OnPrepareOptionsMenu fragment...it's not working Sep 20 11:25:49 Hey I have a question about deploying app in google play. I have an android application which connects via sockets to a server in not completely secured whay - not completly means I'm not using ssl standard and not all messages are encrypted. How do You think - Can google play discard application because of such solution ? Sep 20 11:26:59 no voytech85 Sep 20 11:27:42 voytech85, however if you do nasty stuff like tunneling ppl who installed your application Sep 20 11:27:49 you might be quickly in trouble Sep 20 11:28:11 voytech85: google doesn't really check app store submissions the way apple or microsoft do Sep 20 11:28:18 adq, no my server just passes info about alarms from one client to the second Sep 20 11:28:19 it's pretty much your own responsibility Sep 20 11:29:45 ahoy Sep 20 11:30:05 so if I'm planning to port the app for IOS the I should be worry :) because I'm also almost ready with app on iphone :( Sep 20 11:31:44 then for such thing like authentication with remote service, I should make it secured by ssl and provide CA certificate Sep 20 11:32:08 that's a common way Sep 20 11:32:15 what do you search, security for your communication? Sep 20 11:33:12 is it important to cypher the "alarm" data? Sep 20 11:33:40 adq, I have some security implemented, but as I said not for all messages, only messages which carries sensitive data, personal information when registration and authentication is performed are using security. Sep 20 11:34:05 good Sep 20 11:34:09 adq, no at all alarm doesnt contains any sensitive info about user Sep 20 11:34:21 :D it might, this is what i ask Sep 20 11:34:35 why* Sep 20 11:34:56 * adq just curious Sep 20 11:35:07 sometimes I programatically change the layout. now how can I reset it to what it was on startup? Sep 20 11:35:35 how can I reuse the same xml? Sep 20 11:36:34 adq, I think That I should make the security better. As for know I'm using just RSA AES encryption, not ssl, I didtn want to use ssl because I do not want to buy a ssl certificate, but maybe I should - the ssl is a standard, and provide solid security - i think this is a way it should be done. Sep 20 11:41:18 voytech85, you don't have to buy a certificate nowadays Sep 20 11:41:29 even if you intend to sign it with a CA certificate or more above Sep 20 11:41:48 but using AES is symetrical encryption, how do you share you secret between server and clients? Sep 20 11:41:59 all clients use same secret?? Sep 20 11:42:22 voytech85, you can set up your own PKI environment for your android apps & your servers Sep 20 11:42:25 if you control both Sep 20 11:42:34 but that's offtopic here then :) Sep 20 11:42:48 hello Sep 20 11:42:50 also there are free CA certificates on the web, though they are only valid for short times like 1 year Sep 20 11:42:59 I am trying to compile collada by placing it under my jni directory Sep 20 11:43:00 making your own CA with some 50 year lifetime seems like the standard answer :-p Sep 20 11:43:25 startssl hands those free certificates Sep 20 11:43:30 sometimes I programatically change the layout. now how can I reset it to what it was on startup? Sep 20 11:43:32 how can I reuse the same xml? Sep 20 11:43:33 jni/auspex/collada/Android.mk:254: c:/android-ndk-r8b/build/core/build-host-static-library.mk: No such file or directory Sep 20 11:43:49 superlinux-hp: I imagine, setContentView(R.layout.x) Sep 20 11:43:53 what does that mean? Sep 20 11:44:02 alankila, let's see Sep 20 11:51:07 alankila, it worked, however if I add other code to re-modify it, I just cannot. it stops anything related to the layout after that. Sep 20 11:51:23 i mean if i add after that Sep 20 11:51:38 you probably need to acquire new copies of the objects in your layout Sep 20 11:51:41 the old ones are now stale Sep 20 11:51:50 ah! ok Sep 20 11:52:36 Hey all... Sep 20 11:53:13 Is there any way to check what tasks the alarm manager has pending? I think some apps I've installed have added timed tasks, and my battery goes down. Not rooted. Sep 20 11:55:09 * alankila dislikes 'setContentView' for being so opaque. Thankfully fragments improve this, as you use the layoutinflater directly and it's somewhat more obvious how it works Sep 20 12:01:29 JakeWharton: Is Menuitem in OnPrepareOptionsMenu bug in actionbar shrelock? Sep 20 12:06:53 anyone alive? Sep 20 12:07:04 BRAINS! Sep 20 12:08:20 figures... damn zombies Sep 20 12:08:31 leeds you would be an expert on adb commands would you? Sep 20 12:08:38 Hi, I am trying to locate a framework I read about a couple of days ago on reddit to create mobile applications using pyton Sep 20 12:08:54 I'm aware of them... I'm also going to dinner in a few minutes, so unless it's a very quick question... Sep 20 12:09:00 Hmmm... Maybe it's time for me to «drop the question»: when using fragments do I have to provide different layout for tablets and phones? Sep 20 12:09:40 well my questions revolve around rooting, and no one is allivce in the -root channel =/ Sep 20 12:09:41 You don't _have_ to Sep 20 12:09:44 Do it if it makes sense Sep 20 12:09:58 Nordom: well, patience is a virtue Sep 20 12:10:12 Leeds: enjoy dinner then Sep 20 12:10:20 sushi, of course Sep 20 12:10:41 SimonVT: well... I still fail to understand how 1 Activity + 2 Fragments is better than 2 Activities... Sep 20 12:11:07 Kivy. found it Sep 20 12:11:14 well I am trying root a japanese phone, and the japanese is very criptic and not very complete in their explainations, I don't suppose anyone would be interested? Sep 20 12:11:50 Nordom: seriously though - this isn't the place for rooting Sep 20 12:13:15 junnel1001: No, menuitem works fine in onprepareoptionsmenu Sep 20 12:13:38 Lachezar: Less code duplication Sep 20 12:14:03 What a fragment does is completely contained in the fragment Sep 20 12:14:06 You can use it wherever Sep 20 12:14:17 are there any basic steps that are usually forgotten when using a ScrollView? (all i get is blackness..) (I'm using the scrollview inside a fragment) Sep 20 12:15:12 if you use 2 activities, you have to have all the logic in the first activity for when on tablets.. And all the logic for the second pane in the second activity for when on phones Sep 20 12:15:25 Instead of just adding a fragment based on configuration Sep 20 12:16:10 SimonVT: That's what I'm trying to wrap my head around... It seems, that fragments are usable only if I have the need to have two 'activities' displayed together... Sep 20 12:18:15 You almost never want to have the same ui on tablets as on phones Sep 20 12:18:27 That's the issue fragments address Sep 20 12:19:08 SimonVT: you keep me inspired Sep 20 12:19:34 haha Sep 20 12:20:10 i keep learning about android even though I do nothing with it :) Sep 20 12:20:17 SimonVT: Hm... Still... Since I might have both on the same screen, but also every on a different screen... How do I make interactions? Like Back button on the second screen returning to the first on Phone, but closing on tablet... And I still *HAVE* to provide different layouts in such cases right? Sep 20 12:20:54 SimonVT: I mean: I 'll have to code differently for both, but in one place?!? Sep 20 12:20:59 how do i catch 401 response on HttpURLConnection? Sep 20 12:21:24 On the second screen, pressing back will just finish the activity Sep 20 12:21:25 Lachezar: fragment is relatively independent self-contained piece of UI. activity is meant to coordinate how these fragments are presented (how many are visible at once) and what happens when user presses back button. Sep 20 12:21:26 at the moment it throws a IOEception with "authentication challenge is null" when trying conn.getResponseCode() Sep 20 12:21:33 In a two pane layout, you'll never get there on a tablet Sep 20 12:22:39 Since the second pane is in a fragment, you just add it to the second activity Sep 20 12:22:45 The fragment handles everything Sep 20 12:22:52 click events, your list, whatever Sep 20 12:23:59 I want my spinner to look like this http://developer.android.com/images/ui/spinner.png instead of like this http://www.sgoliver.net/blog/wp-content/uploads/2010/09/spinner2.png... how can I achieve this? Sep 20 12:24:08 concerning the git repositories at https://android.googlesource.com/, if I want to include the collada library in my project, what do I have to do besides put it under my jni directory? Sep 20 12:24:42 zerribert: target api14+ or just use the holo theme Sep 20 12:25:27 SimonVT: "or just use the holo theme" : how ? :) Sep 20 12:25:46 api14+ doesnt do the job Sep 20 12:26:07 And up, the actual list it displays.. That's a PopupWindow I think, might have to do that yourself.. but try the holo thing Sep 20 12:26:10 android-developers.blogspot.com/2012/01/holo-everywhere.html Sep 20 12:28:02 SimonVT: OK, so I have two fragments, and three activities? Sep 20 12:28:19 in a two pane layout? no Sep 20 12:28:37 Two fragments, two activities.. or two fragments and one activity, depending on how you want to do it Sep 20 12:28:39 SimonVT: List of objects, and Object details... Sep 20 12:29:16 http://developer.android.com/guide/components/fragments.html Sep 20 12:29:21 Fragment 1: List of objects. Fragment 2: Object details. Sep 20 12:29:26 That should explain it Sep 20 12:29:38 I've got this app on google play for android >= 1.6. Now I need to modify it and also launch a 4.0 version. What's the best way of handling these two versions, using almost the same code ( 4.0 version will use actionbar and a couple of other features ).. Sep 20 12:29:44 SimonVT: I've read it, and... Well... I have no idea what's the idea. Sep 20 12:29:46 How do people do this ? Sep 20 12:29:53 SimonVT: if i add @android:style/Theme.Holo how can i make the app disable the titlebar at the same time? Sep 20 12:30:25 The ActionBar? add .NoActionBar Sep 20 12:30:53 Lachezar: http://developer.android.com/images/fundamentals/fragments.png Sep 20 12:30:58 2 activities, 2 fragments Sep 20 12:31:06 zerribert: Provide default layout, and API 14 layout. Use default theme in default layout, use Holo in layout for V14. Sep 20 12:32:27 SimonVT: OK. How does Activity One somehow change between versions? That's why I think I need three Activities: 1 for two fragments, and two when every fragment is in a different activity... Sep 20 12:32:54 Different layouts for different configurations Sep 20 12:33:28 SimonVT: The layout is on one hand, but Activity One should handle events ... Ahhh... Events are handled by the fragment... Sep 20 12:33:38 Look at the example Sep 20 12:33:58 But... Fragment is not a Context... Sep 20 12:34:08 getActivity() Sep 20 12:34:17 Lachezar: I personally expect that fragments will call back to their containing activity when something "major" is done inside the fragment, like a selection that requires presenting a new fragment on screen Sep 20 12:34:46 ^ Sep 20 12:34:53 it requires defining an interface for such activity-fragment interaction, because if you do end up with mulitiple activities hosting the same fragment, you can't just cast the result of getActivity() to any particular class Sep 20 12:35:02 alankila: Right... So... In Activity One I should check in onDetailDisplayRequested() whether I'm running with two fragments, or start a new Activity? Sep 20 12:35:19 yep Sep 20 12:35:27 I don't know what you are doing at that level. Sep 20 12:35:52 The fragment doesn't know whether it's in a two pane layout or not Sep 20 12:35:56 adq, sorry about Yout question ... Im doing symetrical encryption, then I'm encrypting symetric key using RSA Sep 20 12:35:58 it just knows that it should display a list/details Sep 20 12:35:59 SimonVT: That seems... Counter-productive... I'd rather just keep them separated... :-/ Sep 20 12:36:56 voytech85, np :) i think you mean the contrary, first you use asymetric encryption (rsa) to give your secret/shared key, then you establish symetrical encryption Sep 20 12:36:57 I mean... With Fragments I have to write business code AND fragment management code... Sep 20 12:37:01 that's good common design! Sep 20 12:37:21 * alankila thinks there is no such thing as 'business code'. :-p Sep 20 12:37:44 voytech85, what you can do to raise a bit more the difficulites for attackants is to 'non-periodically' reuse from time to time RSA to change the secret key on the fly Sep 20 12:37:46 alankila: business-code: code that actually does what the app is being created for in the first place. Sep 20 12:37:57 but it costs. Sep 20 12:38:15 Lachezar: fine, but I just find the distinction vague and arbitrary. Sep 20 12:39:05 alankila: The line is fine, wiggling, and smudged, but occasionally we can see it... Sep 20 12:39:31 So you duplicate code for phones and tablets.. And then you want to differentiate between 7" tablets and 10" tablets.. And then you want to handle landscape and portrait differently.. And then... Sep 20 12:39:35 it adds up Sep 20 12:39:53 * Lachezar seems to miss something general... He will probably stick to Activities with no Fragments. Sep 20 12:51:10 I 'd love a guide "android developer -> ios developer" :) Sep 20 12:51:38 pffffft Sep 20 12:51:48 yea I know Sep 20 12:51:49 shame on me Sep 20 12:52:01 :D you're nick is already a troll Sep 20 12:52:05 your* Sep 20 12:52:46 well I 've been developing in android for some time now, but I might get assigned a nice ios proj :/ Sep 20 12:53:21 WindowsNT: Activity => UIViewController, ActionBar => UINavigationBar, GC => ARC. You're ready :) Sep 20 12:53:53 and storyboard <- ? Sep 20 12:54:05 xml layouts? Sep 20 12:54:18 nope there is no equivalent Sep 20 12:54:30 XML layouts is more like xibs/nibs Sep 20 12:54:35 so I 'd build an ios interface with code? Sep 20 12:55:19 That's what I personnaly do but you can do it via Inteface Builder (not built-in in XCode) Sep 20 12:55:42 nah, you can just draw the UI in the designer Sep 20 12:56:45 actually what I hate is that retarded objective C++ Sep 20 12:56:54 I just found phonegap and this might help Sep 20 12:57:05 hello, i have a question. Sep 20 12:57:08 and there's no bullshit with layouts, iOS has a very generic and effective layouting strateg Sep 20 12:57:20 you have to build your UI still with IB even if you use phonegap WindowsNT Sep 20 12:57:28 I guess it's a bit like everything was within a RelativeLayout by default or something. Anyway I found it intuitive and simple. Sep 20 12:57:43 can somebody help me? Sep 20 12:57:52 and in terms of ergonomy, XCode is really not so bad. Sep 20 12:58:15 I see Sep 20 12:58:19 thx all for the help Sep 20 12:58:30 but objC really is not so well designed as it should be. It has a bunch of warts, and it is destined to suck, I guess. Sep 20 12:58:46 can i do it in C instead? Sep 20 12:58:53 alankila: Hey, at least it's not C++. Sep 20 12:59:09 you can combine objC and C if you like, but you are probably better off with objC than C Sep 20 12:59:14 I'd rather C++ over ObjC Sep 20 12:59:31 at least I'd order them preferring the safer, less crashy languages. Sep 20 12:59:38 of course, but since C++ is not there Sep 20 12:59:52 I 'd prefer to use C if there 's an option, than ObjC Sep 20 12:59:52 you can use C++ in objC applications on OS X. So iOS doesn't support it? Sep 20 13:00:06 alankila : I don't know, I just saw the xcode ObjC templates. Sep 20 13:00:17 Hmm... I'm going to guess C++ is a possibility. Sep 20 13:00:45 is it? Sep 20 13:01:21 *shrug* you try it. I truly don't know. I've only ever written a single objC application for iOS, and in that I only had to drop to C to deal with zlib Sep 20 13:01:29 but objC really is not so well designed as it should be. It has a bunch of warts, and it is destined to suck, I guess. <- it's an old heritage from smalltalk Sep 20 13:01:44 except the syntax and the apple APIs, it's close to any C based language Sep 20 13:02:00 yes but the syntax is confusing for someone that is so much used in C++ Sep 20 13:02:13 adq: not sure. I'm talking about the automatic transformation of foo.bar to foo setBar:x for instance. Sep 20 13:02:15 even public private & protected are diff :) Sep 20 13:02:18 + - Sep 20 13:02:31 ignoring the syntax is a questionable action Sep 20 13:02:35 lol Sep 20 13:02:42 I dislike the compiler's tricks because you very quickly run into cases where the magic oesn't work Sep 20 13:02:57 Philpax_: Well, C++ syntax is formally undecidable and by most standards a complete clusterfuck. Sep 20 13:03:03 the core of apple OS is not made in objC alankila :) guess why :p Sep 20 13:03:11 iokit and other stuff are in C++ Sep 20 13:03:36 Hodapp: like what? Sep 20 13:04:01 I also don't think the ARC much improved programs. Sure, there are less lines now, but the cognizitve overhead of tracking the allocations didn't change. Sep 20 13:04:14 hmmm I added .h/cpp and it seems to compile Sep 20 13:04:16 That being said at least you don't have to write dealloc routines anymore Sep 20 13:04:49 IDK. There's no substitute to having a GC. I am really spoiled by it. Sep 20 13:05:02 yes it can compile C++ Sep 20 13:05:18 that being said, when you do have GC, you should still mind efficiency a bit and not just do tons of allocations and leave it all to some future GC time to work out Sep 20 13:05:20 therefore I can at least use C++ in my code and restrict objC to use the apple apiz Sep 20 13:05:40 alankila : all C++ developers have that in mind. Sep 20 13:05:47 GC was introduced lately in ios iirc Sep 20 13:05:49 WindowsNT: you'll probably be wanting a NSValue then. It can wrap a c++ object pointer inside itself Sep 20 13:06:07 omg we are on #android-dev :D Sep 20 13:06:20 WindowsNT: of course. But, if you never have had to worry about memory allocations, there tends to be a bit too lax attitude about it afterwards Sep 20 13:06:32 alankila : i guess that Interface Builder is a non free addon to xcode? Sep 20 13:06:52 WindowsNT: hum? xcode itself is non-free to the ways I understand the term Sep 20 13:07:09 but when I used some gui designer program in xcode, I didn't download anything extra, nor did I pay money for xcode Sep 20 13:07:11 xcode is free Sep 20 13:07:31 ah good Sep 20 13:07:34 #android-holywars Sep 20 13:07:37 well, it used to cost something, but I suppose it was free to people who had the latest os x, or something. Sep 20 13:07:58 * alankila pirated it at first, then discovered it could be just downloaded from app store, then felt pretty stupid Sep 20 13:08:05 it got downloaded for free in my 10.4.7 Sep 20 13:08:11 alankila: enjoy your warez induced virus Sep 20 13:08:21 Philpax_: Like the fact that templates are Turing-complete, and this is an annoying mess in practice. On top of this, the language has a lot of cases - for instance, what A B(C) means - that just make it a Royal Pain In The Ass(tm) to parse, and to no real added clarity or anything of the sort. Sep 20 13:08:27 lov: waste of bandwidth, that was Sep 20 13:09:03 C++ haters are gonna hate. C++'s problem is opposite of C's problem: C++ has too much, for most tastes, while C has too little. Sep 20 13:09:32 greetings Sep 20 13:09:35 alankila: The design of the tool is not independent of that which it spawns. Sep 20 13:09:42 alankila : but C++ is a subset of C. Nothing weird if you only want to use the "C" part. Sep 20 13:09:46 there is no way to solve this argument in general terms. I prefer C++ because I find C's lacks more important than C++'s excesses Sep 20 13:09:58 WindowsNT: superset. Sep 20 13:10:01 yea Sep 20 13:10:09 It's not technically a superset. Sep 20 13:10:18 no, it's not compatible, I guess. Sep 20 13:10:23 The intersection of C++ and C is not C, it's 'clean C'. Sep 20 13:10:27 Which things like Lua are written in. Sep 20 13:10:32 but the diff is typically not large to make a C project compile as C++ program. Sep 20 13:10:42 does anyone here have an htc android 4.x device and some time to help me test something? Sep 20 13:11:25 from the OpenGL Red book: "C: God's programming Language. C++: the programming language of a pagan deity." Sep 20 13:12:09 sdaq: I'm not surprised. Sep 20 13:12:44 neither am I. Many people think that C is faster than C++ they blame it for other reasons etc Sep 20 13:12:47 All languages suck. Use the one which makes you hate your life least. Sep 20 13:12:58 for me, that is java. Think about that and weep. Sep 20 13:13:09 Hodapp: does that mean God uses goto's and void pointers? Sep 20 13:13:13 Python :) Sep 20 13:13:19 so , onto phonegap. Is it really usable? Or I would waste my time with it? Sep 20 13:13:24 sdaq: Don't you read xkcd? He wrote the universe in Perl. Sep 20 13:13:27 Has anyone made something good in android with it? Sep 20 13:13:28 sdaq: being omnipotent it's not an issue; he can keep the codebase in his head. Sep 20 13:13:39 WindowsNT: you're probably going to waste your time with it Sep 20 13:13:41 sdaq: But ostensibly it's in Lisp. Sep 20 13:13:45 it totally depends on what your use case is though Sep 20 13:13:58 \o/ CLISP Sep 20 13:14:03 if you just want to dump out an "app" that's basically a wrapper around a website, phonegap. Sep 20 13:14:16 well it's about a database project which will be build in ios and android. I know how to do it in android, I just wonder if it 'w worth doing it in phonegap Sep 20 13:14:27 and avoid ios details with which I am not yet familiar. Sep 20 13:14:36 well Sep 20 13:14:45 I haven't used phonegap, but I've heard phrases like "kill me now" from people who do use it. Sep 20 13:14:54 hmm Sep 20 13:14:55 so take that as you will. Sep 20 13:15:08 I guess it's not a shootemup game Sep 20 13:15:31 phone gap still has to develope its api Sep 20 13:16:08 actually what i want is a unique way to handle events and to draw stuff ... Sep 20 13:16:08 WindowsNT: take a look at what apis phonegap even has for databases, if you're just making a "database project" (whatever that even means) and see if it's gonna make your eyes bleed Sep 20 13:16:18 For multiplatform projects, I guess it'd be pretty smart to write the core as portably as possible. C++ or C seems like good choice for the basic mechanics. Sep 20 13:16:19 lov : I will Sep 20 13:16:42 alternatively do it all in html and javascript, and see how perverse it is in the end. Sep 20 13:16:54 alankila : it won't be such a big project so I will share code. I 'll probably rewrite it in android without much trouble. Sep 20 13:17:02 heh Sep 20 13:17:07 quite large degree of the code can be shared if you just avoid objC and java and use the alternatives instead. Sep 20 13:17:20 alankila : yes I '' use C++ wherever I can Sep 20 13:17:28 but man, it's going to probably be a WTF for everyone who sees it later Sep 20 13:18:21 some months ago when i decided to learn phone gap they didn't implement how i can access the user's inbox Sep 20 13:18:46 >phonegap Sep 20 13:19:53 * alankila idly wonders if "firefox os" will have native components Sep 20 13:19:57 heh Sep 20 13:20:01 anyway Sep 20 13:20:03 thx all for helping Sep 20 13:20:11 not that you have to worry about that for a long, long time, even if everything goes really well for it Sep 20 13:20:11 alankila: no, it's completely js Sep 20 13:20:14 bbl after I read the iphoneappprogrammingmanual.pdf :) Sep 20 13:20:18 i have a friend who works on the O Sep 20 13:20:26 OS* Sep 20 13:20:30 and looking at firefox os, it seems unlikely to make a large presence Sep 20 13:20:46 it's not meant as a competitor to android+ios Sep 20 13:20:53 just another free mobile OS, but with the distinction that it has no applications that won't run elsewhere also. Sep 20 13:21:38 so it is replaceable by either of the main competitors, while it can't replace either one of them for most users. That suggests there is a migration path out of it, but not into it. It would have to compete with price. Sep 20 13:22:16 or performance on low end hardware Sep 20 13:22:18 I'm not sure of the ins and outs but afaiw it's meant to be an os for shit devices Sep 20 13:22:28 but low price means memory and cpu and battery skimpiness, and poor screens. So it would have to carve a niche out of low end, while it's not using the most efficient technologies to do so Sep 20 13:22:38 so I am truly quite confused about what exactly their plan is Sep 20 13:22:44 and they're doing it because why the fuck not Sep 20 13:22:53 *actual quote Sep 20 13:23:11 heh, alright. Time for me to travel for a bit. Sep 20 13:24:51 haha Sep 20 13:24:55 so I am truly quite confused about what exactly their plan is <- their plan is to have a big base of client Sep 20 13:24:59 yeah, I'm a little curious about the Firefox OS bit too Sep 20 13:25:06 and going cheap is way to achieve that, especially most ppl do not care of what we care Sep 20 13:25:13 is a way* Sep 20 13:25:39 hi! how can i download a text file in adndroid from a hosted site? I've uploaded the file with an FTP client Sep 20 13:25:55 opariti: through a network, I guess? Sep 20 13:26:02 do a google search for "java download file" or something Sep 20 13:26:06 there's nothing android specific Sep 20 13:26:10 just make sure to request the INTERNET permission Sep 20 13:27:13 i did, i wrote the code, but what is downloaded is a non-found page of the hoster. my question is that if i need to build some ftp-type url Sep 20 13:27:30 no. Sep 20 13:27:40 can you access the file with a web browser? Sep 20 13:27:44 Or do you plan on downloading via FTP? Sep 20 13:27:50 lov: no Sep 20 13:27:52 hmmz how come if you start a new activity with singleTop and newTask flag but not clearTop and you press back it doesn't go back to the previous one? Sep 20 13:27:54 if you plan on it being accessable via http, fix that first. Sep 20 13:27:59 you're probably pointing to the wrong directory Sep 20 13:28:49 lov: i know i'm missing something stupid here. so you say it doesn't matter in android if i want to use ftp or http Sep 20 13:29:02 that's not what I'm saying. Sep 20 13:29:13 If you want to use ftp you now have to find (or make) an ftp library Sep 20 13:29:21 if you want to use http, you can just use HttpUrlConnection or something Sep 20 13:29:36 what I'm saying is "there's nothing android specific about fetching a file from a webserver" Sep 20 13:29:47 which is to say that a pure java implementation will work the same Sep 20 13:29:56 (assuming that you have apache commons in your path on your desktop, that is) Sep 20 13:30:14 lov: i have used HttpUrlConnection, but you're right, I should be able first to access the file in the browser Sep 20 13:30:29 yes, you should. Sep 20 13:30:35 It's possible that you just screwed up the file permissions on the host Sep 20 13:30:39 though that would more likely give you a 403 Sep 20 13:30:42 lov: ok, that's fine, thanks Sep 20 13:30:43 (forbidden :o ) Sep 20 13:32:22 Working on an app which needs to be built 10 times with 10 set of graphics ( 10 companies which will basically use the same app, but with different skins ).. how should this be done? Ant script? or is there an easier way? Sep 20 13:32:38 and also, different configuration parameteres Sep 20 13:32:40 Build a library which has common code and placeholder graphics Sep 20 13:32:49 build 10 apps which have the appropriate graphics and include your library Sep 20 13:33:05 the only thing you need to do for those apps is change the graphics in your res folder as appropriate; everything else is done. Sep 20 13:33:08 not going to have 10 different projects laying around Sep 20 13:33:13 * lov shrugs Sep 20 13:33:19 that's the easy way. Sep 20 13:33:35 the hard way is to make a script that replaces the graphics at build time as appropriate Sep 20 13:33:51 and also, the name of the app etc. Sep 20 13:33:53 hmm Sep 20 13:33:54 or to compile all the graphics into the app and determine (somehow) at runtime how to choose the appropriate graphic Sep 20 13:33:55 ant script then? Sep 20 13:33:58 ... Sep 20 13:34:02 uh, sure? Sep 20 13:34:12 seriously, making 10 stub applications is going to be, by far, the easy route Sep 20 13:34:22 it makes for a seriously logical separation of your codebase from resources Sep 20 13:34:32 meaning that a change you do for client X won't possibly affect any other clients Sep 20 13:34:39 so you can dramatically reduce your QA overhead Sep 20 13:35:16 frankly, if your client size rises from 10 to n, you should consider some sort of script that will generate a stub application at compile time and include the resources as appropriate Sep 20 13:35:27 but that's possibly later down the line Sep 20 13:35:39 hm, ok Sep 20 13:37:29 Can Smebody help me with my problem? Sep 20 13:37:30 http://stackoverflow.com/questions/12513827/get-current-fragment-and-save-on-onsaveinstancestate-method-for-screen-orienta Sep 20 13:39:22 XeruX: As someone that has to fuck around with making custom builds with ant scripts for reasons I won't go into, let me say that it's not a path you want to start down if you can help it. Sep 20 14:05:38 Ok, can I talk now? Sep 20 14:06:05 looks like I'm registered :) Anyone talking here? I have big issue and need some help... Sep 20 14:06:38 Balky, just describe your issue and dont ask meta questions Sep 20 14:06:39 Balky: don't ask to ask, just ask ;) Sep 20 14:09:15 OK. Sorry. I'm developing app for marketing purposes. App contains all sort of glasses (.png) that can be added, rotated, resized to picture taken with camera. Now, I've managed to code some code behind, take image from camera and correct glasses, and I add them to 2 layers of imageview. And here's where I got stuck. I'm not sure that layers are good option at all. So I need example how to use two images on Android, where first o Sep 20 14:10:04 and second one is small PNG, that has some transparency. This second one need to be resizable - rotatable ...Can I do it with layers, should I use canvas, is there anything else? Sep 20 14:10:12 lov: 100% agreed :( Sep 20 14:18:24 Balky, yes for canvas Sep 20 14:18:46 you can also use surfaceview if you need FPS, but it's like a canvas too in fact Sep 20 14:19:02 you can draw in a bitmap in memory and the apply that to imageview too i think Sep 20 14:19:13 many ways to "mix" image with alpha Sep 20 14:21:09 Ok, trying to setup with canvas for a while, but can't draw the second one on top of frist. With layers I was able to do it, but image was squeezed to some weird size. I'll try to set canvas then. Tnx. Sep 20 14:25:37 Hi. Any suggestion for developing a simple application with at least 5 different tasks and at least 5 different interaction types (buttons, tabs, scrolls, ...) for a newbie? Sep 20 14:31:28 asanchez1987: is this a homework question? Sep 20 14:32:16 asanchez1987: I strongly recommend that you not bother with tabs; they're really crappy and deprecated. Sep 20 14:32:51 homework is the implementation. The source of the idea can be asked Sep 20 14:33:05 so I'm open to suggestions for a beginner Sep 20 14:33:31 uh Sep 20 14:33:33 make a music player. Sep 20 14:33:34 twitter app Sep 20 14:33:44 Hey is there any good read on making multipartHttp requests from Android? Sep 20 14:33:52 make your own social network Sep 20 14:33:54 asanchez1987: notepad app Sep 20 14:34:01 3d game Sep 20 14:34:35 napster: http://developer.android.com/index.html#q=Multipart Sep 20 14:34:48 * lov shrugs Sep 20 14:34:54 most of the networking on android isn't really android specific Sep 20 14:34:59 it's j5se and apache commons Sep 20 14:35:28 so between music player, twitter and notepad which one do you consider easier? Sep 20 14:35:44 probably the notepad app Sep 20 14:35:46 notepad/music player Sep 20 14:36:00 notpad Sep 20 14:36:07 if you want a challenge though... Sep 20 14:36:20 a twitter app could teach you pretty much everything you would need to create future android apps Sep 20 14:36:48 okay thanks Sep 20 14:38:04 * napster is reading apache httplib docs lov Sep 20 15:06:01 Twitter app for homework for beginer? I'd suggest not :) better to start with To-Do list Sep 20 15:06:14 let him figure it out. Sep 20 15:06:50 Yeah, Like I said this new "picsay" will be easy, now I'm spilling blood around :( Sep 20 15:12:53 Balky lov what a bout a "converter" app that is able to: 1. List/create/edit/delete units, 2. List/create/edit/delete equivalencies between 2 units, 3. Select equivalency, 4. Convert between units equivalency Sep 20 15:14:14 I'm sure that's fine, I don't really care at all. Sep 20 15:14:16 I'm sure you can figure it out. Sep 20 15:14:29 Follow this: http://developer.android.com/training/index.html Sep 20 15:14:29 then Sep 20 15:14:36 reference this: http://developer.android.com/guide/components/index.html Sep 20 15:14:48 but from your own experience, do you think it'll be too hard? Sep 20 15:19:34 hello all. Sep 20 15:20:53 have ImageButton with Image. how to do change background when it's Button pressed(not unpressed) like as ListView item? Sep 20 15:24:06 bingels: use a drawable with selecteor states Sep 20 15:24:32 http://developer.android.com/guide/topics/resources/drawable-resource.html#StateList Sep 20 15:27:01 thanks, solved Sep 20 15:30:02 HelloW Does anyone know where DalvikVM (for x86) logs all messages? I have enabled VERY_VERBOSE_LOG in Common.h Sep 20 15:31:27 logcat, perhaps? Sep 20 15:32:13 is it possible to block google play from showing my app on 4.1 devices with another mechanism than maxSdkVersion? Sep 20 15:32:24 napster: I needed to add httpmime-4.1.jar to my Android application in order to use MIME. Sep 20 15:32:44 Ge0rG: nope Sep 20 15:33:08 lov: I am running DalvikVM in x86 (not Android). Sep 20 15:33:10 ok Lachezar Sep 20 15:33:21 lov: I mean Linux/x86. Sep 20 15:33:27 * Ge0rG at least now found out _why_ logcat is b0rked on 4.1.... Sep 20 15:33:57 Why? Sep 20 15:34:26 SimonVT: as of 4.1, you can only see your own uid's logs in logcat, unless you have the READ_LOGS permission, which is now a system permission Sep 20 15:34:26 too many calls to Log.wtf? Sep 20 15:34:49 so, logcat is borked because it now takes security considerations into account? Sep 20 15:34:57 so there is no way any more to access the radio log... Sep 20 15:35:00 sounds like your thinking is b0rked Sep 20 15:35:38 Hey guys, android / java newb that can use a lil' push. I'm attempting to loop over a List, and append an inflated layout to a view. I'm getting the "The specified child already has a parent. You must call removeView() on the child's parent first." In theory, i get what it's saying, and I've googled to hear the solution, but i'm not quite understanding what I need to do to fix it. Any help would be appreciated: Sep 20 15:35:38 http://pastie.org/4760954 Sep 20 15:35:42 Thanks in advance! Sep 20 15:36:23 JakeWharton: ~1000 users have found some value in my app, which is using the radio logcat to obtain information which is not exposed by any android API. now they upgrade to 4.1 and are complaining... Sep 20 15:36:44 elathan: oh, uh Sep 20 15:36:46 JakeWharton: maybe my thinking is wrong, but it provided a valuable service to them.... Sep 20 15:36:47 good luck with that! :D Sep 20 15:37:20 but you were using techniques that were not provided by any official API so I'm surprised that you are surprised that it broke Sep 20 15:37:50 JakeWharton: I am not surprised that it broke, I am pissed. Also, I dislike that the change was made silently... Sep 20 15:38:13 ImageView ib = (ImageView) view.findViewById(R.id.imagebutton); // why Exception? Sep 20 15:38:26 ImageView extends ImageButton Sep 20 15:38:34 its polimorphism Sep 20 15:38:34 what is the exception? Sep 20 15:38:40 ClassCastException Sep 20 15:39:19 oops Sep 20 15:39:25 sorry i forget change code Sep 20 15:39:34 View v = view.findViewByid(R.id.imagebutton); ImageView iv = (ImageView) v; Sep 20 15:39:36 step through with a debugger Sep 20 15:39:40 what is v, actually? Sep 20 15:39:45 is it maybe null? Sep 20 15:40:06 was Button button = (Button) view.findViewById(R.id.imagebutton); Sep 20 15:40:15 er Sep 20 15:40:23 ImageButton doesn't extend Button. Sep 20 15:40:23 i guessed Button extends ImageButton :) Sep 20 15:40:58 now no problem Sep 20 15:42:30 bingels: Why do you cast the imagebutton to anything? Base View class has most of the gimmicks of a button. Sep 20 15:42:39 its fact Serialazable work slowlest of Parcelable? Sep 20 15:43:03 fakingfantastic, blind leaing the deaf here.. but I usually get my inflater by 'inflater = LayoutInflater.from(getActivity());'.. I also find anything that starts or contains 'this.' is usually a source of more confusion than it's worth... Sep 20 15:43:57 Lachezar its was when habit from the start acquaintance with droid Sep 20 15:44:14 fakingfantastic, hard for (me anyway) to make sense of your code snippet without more context Sep 20 15:44:46 gutano: thanks man, ill try that! (http://pastie.org/4760954 ... added the layout) Sep 20 15:45:36 I have good one. It is not developers related. I own tech web blog with few thousand readers monthly and trying to gather all Ex Yugoslavian developers to one place. In order to promote / review android apps, I'd love to get some sort list, like "most downloads in Slovenia", "most downloads in Serbia"... is there a chance to customize google play results on the web to see what's hot and top download per country? Sep 20 15:46:13 Balky: Play store already does that Sep 20 15:46:19 JakeWharton: no more access to logcat on 4.1 => almost impossible to have a user send log traces of the whome system that can help understand some issue having and effect on your app. How many times the full logcat was invaluable to find WTF MediaPlayer was failing. Sep 20 15:46:32 Trendings apps are for your country Sep 20 15:46:34 for me? never Sep 20 15:46:36 omg Eclipse 4.2 slower 3.7 :( Sep 20 15:46:46 IntelliJ 12 faster than both Sep 20 15:47:18 better in usability? Sep 20 15:47:27 SimonVT - exactly and pisses mi off :) I need to see whats top in Slovenia, Serbia, Bosnia and I allways get whats top in Croatia ... I know what's top in Croatia by heart now :) Sep 20 15:47:28 vim 1000x faster that all of them Sep 20 15:47:32 fakingfantastic: Why aren't you using a listview? Sep 20 15:47:42 fakingfantastic: there's UI elements that appear to do what it is that you're already doing Sep 20 15:47:57 mi= me .. Sep 20 15:47:59 bingels: leaps and bounds better Sep 20 15:48:20 Balky: Then no, you probably gotta go there from an ip in those countries Sep 20 15:48:37 what SimonVT said Sep 20 15:48:46 use a proxy or something Sep 20 15:49:45 recently heard about IntelliJ that there can not be graphically design layouts Sep 20 15:50:55 IntelliJ 12 has a graphical designer Sep 20 15:51:00 community or ultimate for android developing? Sep 20 15:51:06 doesn't matter Sep 20 15:51:13 SimonVT: isn't that a big drawback and limitation for everyone? Why can't there be nice "select country" and that I'm alowed to see which ever... I can be Italian living in Croatia and not speeking Croatian ... Sep 20 15:51:27 after a few months of Android development you shouldn't be using the graphical editor for anything but a preview Sep 20 15:51:38 HI Sep 20 15:52:03 yes for preview Sep 20 15:52:04 ok, so I made an app with accompanying web service that connects friends via tcp (over wifi) automatically when two people with the app call one another Sep 20 15:52:09 trying to come up with some creative uses for it Sep 20 15:52:13 video calling is obvious Sep 20 15:52:15 file transfer would be nice Sep 20 15:52:19 what else? Sep 20 15:52:50 omg IntelliJ downloads as Exe file Sep 20 15:53:02 not zip like Eclipse Sep 20 15:53:15 IntelliJ not working in portable mode? Sep 20 15:53:35 exe? what are you on windows? *giggle* Sep 20 15:53:49 bingels: I am not certain that it wouldn't work if you just copied the folder after installing Sep 20 15:53:51 but yes, the installer is an exe Sep 20 15:53:56 Balky: If by everyone you mean the 0.01% who might have something resembling a usecase for this, then yes Sep 20 15:54:17 * bingels cant find zip archive of IntelliJ for portable installation Sep 20 15:55:52 SimonVT: not sure about 0.01% ... if you compare to Apple store whre there is whole micro business developed with review sites / popularity sites / marketing sites ... I guess there are many people willing to see how somens app is doing on different markets, for egzample. Sep 20 15:56:45 bingels, you can find reasons to not use it.. or you can try it and find out what it's all about Sep 20 16:01:54 JakeWharton: I guess you are the Sherlock Jake? :) - Stupid question, I'm not next to my dev environment right now, but can I programmaticaly add vertical line in color to action bar menu? Eg. tabs have "underline" in blue, and When i open action bar menu, I'd love to have left border of the menu in same color like underlines on tabs. On all of them, not only selected. Sep 20 16:02:31 there are styles for theming the menu popups Sep 20 16:02:41 I use xml and inflator to create menu in SherlockActivitys and Fragments Sep 20 16:02:59 you could provide a 9-patch with a blue line on the left as the popup window background or something Sep 20 16:03:55 Ok, and can I use simmilar aproach (9-patch) to change blue line on tabs to green? or is there some other way? As my customer is green... everything need to be green Sep 20 16:04:37 yes, same way Sep 20 16:06:42 Ok, I'll take look into it... I still have issue there with Tab size. I guess you'll answer the same, I need to kill Caps and put smaller fonts, plus need to downsize tabs so that they all fit on one screen. I have 5 tabs and 4.5 are visible so for the fifth I need to scroll... I do not mind, but customer.... Sep 20 16:07:34 they do not like sliding left - right, they want smaller font and fixed sized tabs with green underline Sep 20 16:08:09 why not use tabhsot and let it fit the tabs Sep 20 16:08:16 Sounds like it'd be easier to just make your own tabs Sep 20 16:08:30 all of that is controlled by styles Sep 20 16:09:00 I did everything already with tabs / fragments, have no time to recode it all so I assume it is easier to style it somehow ... Sep 20 16:10:21 some tricks for speed up Eclipse Juno? Sep 20 16:10:30 because modren customers do read google pages ... so they see action bar and modren fancy things, and they want everything for all android versions starting 2.2 ... so you can argue and loose job, or make it work ... :) Sep 20 16:10:54 they do not ask how do I feel and how much effort is in it :) Sep 20 16:12:07 hi Sep 20 16:24:04 "Usage: repo download {project change[/patchset]}..." what do the curly braces mean here? Sep 20 16:24:11 the command seems to fail no matter what I try Sep 20 16:25:38 I guess it wants a git ID? Sep 20 16:27:29 Hi all, i am facing an issue with my app, where I get the height of screen correct in 2.x version but in honeycomb if height is 1280 , i get 1232 pixel. How to overcome this error ? Sep 20 16:28:14 That's the available height Sep 20 16:28:21 The rest is probably the status bar Sep 20 16:28:45 * SimonVT /button bar Sep 20 16:29:05 SimonVT, yes correct but mobile devices with 1280 px height return 1280 pixel , its only with tablets Sep 20 16:29:33 SimonVT, so which api will give the screen height correct as 1280 is all cases be it mobile or tablet Sep 20 16:31:09 Im trying to debug on a tablet running android version 4.0.3 but for some reason the tablet is not in the device list? using my samsung phone on 4.0.4 I have no problem... is this common? Sep 20 16:31:11 dunno Sep 20 16:32:52 Daani: when you plug it in and type 'adb shell' does it connect to the device? Sep 20 16:33:09 Daani: did you enable usb debugging? Sep 20 16:33:39 or download logcat on the tablet to view the log directly from it Sep 20 16:34:26 Ge0rG: USB debugging is enabled Sep 20 16:34:40 lethjakman_work: where do I type adb shell? sorry, never done it Sep 20 16:34:48 are you on windows? Sep 20 16:34:54 windows 7 Sep 20 16:35:11 you'd type it into the command prompt Sep 20 16:35:43 error: it is not an intern commando... Sep 20 16:36:00 extern or commandofile.. Sep 20 16:36:16 I'm more of a unix guy, so I don't understand windows very well Sep 20 16:36:27 maybe adb isn't installed right? Sep 20 16:37:03 no one understands windows very well.... Sep 20 16:37:25 lol true words Sep 20 16:37:38 which is why I don't understand why everyone insists on using it Sep 20 16:37:52 especailly with dev. Linux works much bettor for android Dev. Sep 20 16:38:01 games? maybe? Sep 20 16:38:32 yea for android dev, linux is best, than mac, than a tablet, than palm pilet, than windows Sep 20 16:38:48 I suppose, thank god steam's moving to linux Sep 20 16:38:53 hi huygs/gals, im using thread.sleep() multiple times and it only runs once, can someone tell me why? Sep 20 16:38:56 Daani, is the platform tools and tools path set in the PATH variable for windows Sep 20 16:38:56 I would agree with that order Sep 20 16:39:12 can't find it in windows, will see if I can download it but is it common that one device works well and another does not? Sep 20 16:39:30 chinmaya: I have not set any variables Sep 20 16:39:37 then you must set it Sep 20 16:39:38 steam's moving to linux? nice Sep 20 16:39:46 how do you echo $PATH on windows? Sep 20 16:39:49 cause that's what he should do Sep 20 16:40:06 thewiseoutlaw: they took one look at window 8 and said "....we're porting all our games to linux" Sep 20 16:40:08 maybe: echo %PATH% Sep 20 16:40:28 try that command and paste it here Daani Sep 20 16:40:32 does not mean to much… look at the state of the mac version of steam Sep 20 16:40:33 if mac wasn't unix based and have a terminal, it would be as useless as windows Sep 20 16:40:37 you get some indie games etc Sep 20 16:40:44 valve does have porting libs tho Sep 20 16:40:55 you can use if you distribute through them Sep 20 16:41:05 I assume they will have a form of this for linux now Sep 20 16:41:07 you can edit path in a subwindow of the "system properties" (at least on xp) Sep 20 16:41:30 help translate shaders etc Sep 20 16:41:57 lethjakman_work: the result was quite big, but none of the path's are going to the SDK. Sep 20 16:41:58 TheBunny: I've actually had better luck with the Mac version. But they're more serious this time, they wana port pretty much everything. Sep 20 16:42:26 you man make a nice emulation layer? Sep 20 16:42:36 cause without a real business argument Sep 20 16:42:43 Daani: can you find the executables in the sdk? Sep 20 16:42:48 most companies will not put in much work here Sep 20 16:43:00 windows people: do you know where the executables generally reside? Sep 20 16:43:17 TheBunny: look at the humble bundles... Sep 20 16:43:23 seems to be working pretty well to me Sep 20 16:43:31 1/2 the ports in them are crap Sep 20 16:43:39 the average paying price is much higher on linux too Sep 20 16:43:41 and the business argument is VERY poor Sep 20 16:43:44 I've never had a bad one Sep 20 16:44:07 the platform lacks games and latcches in to what ever it can and the bundles have a HUGE visibility level Sep 20 16:44:18 This will just not be true for every market or game Sep 20 16:44:24 lethjakman_work: the sdklib.jar and common.jar and those files? Sep 20 16:44:27 its works great now when theres just a few sales and a few games Sep 20 16:44:35 Daani, pipe the out put to a file Sep 20 16:44:40 Its like apple featuring your app etc Sep 20 16:45:06 C:\Users\DV6\AppData\Local\Temp\temp-android-tool\lib Sep 20 16:45:32 Daani: why's that all in a temp directory? Sep 20 16:46:10 actually, I don't know? I just installed it as default.. looks weird Sep 20 16:46:27 lethjakman_work: I port games full time and very interested in this and the business side Sep 20 16:46:36 Daani, can you share where is the android sdk installed for your pc Sep 20 16:47:07 TheBunny: really? who do you port games for? that's very interesting. Sep 20 16:47:15 chinmaya: C:\Users\DV6\AppData\Local\Android\android-sdk\ Sep 20 16:47:33 currently porting http://elderscrollsonline.com/en/ to OSX Sep 20 16:47:40 Daani, do you know how to set the path variable Sep 20 16:47:41 but we share code on 3 platforms etc Sep 20 16:47:53 porting it by myself... Sep 20 16:47:53 chinmaya: yeah, the envrionment variable PATH? Sep 20 16:47:57 yes Sep 20 16:48:05 can someone tell me why my code breaks when i add a 2nd postDelayed() method? Sep 20 16:48:07 create a new system variable Sep 20 16:48:10 http://pastebin.com/XdXDaNtC Sep 20 16:48:16 TheBunny: how do you feel about porting vs writing with a cross platform library in the first place? Sep 20 16:48:26 ANDROID_HOME and set its value to the path where the android is installed Sep 20 16:48:31 that seems likea lot of work... Sep 20 16:48:46 chinmaya: done Sep 20 16:48:49 Porting after the fact is a major pain in the ass if the game engine was not planned that why Sep 20 16:48:50 way Sep 20 16:48:52 How do I get password that I've set here? :) Sep 20 16:48:58 I've forgot it :)) Sep 20 16:49:20 anyone? Sep 20 16:49:37 now in the PATH , put these %ANDROID_HOME%\tools;%ANDROID_HOME%\platform-tools Sep 20 16:49:49 TheBunny: I think with things like ogre and other great cross platform libraries, we will move more towards using something cross platform in the first place. Sep 20 16:49:50 Its better to start out know you want to port and working in an xplatform way…. aka C/C++, some abstaction. for indies I always recommend using OS libs that do this, SDL, BOOST, etc and or one of the good proven engines… Unity etc. Sep 20 16:50:12 Unity is great Sep 20 16:50:17 ESO took me a year to get up and running on mac Sep 20 16:50:19 that's very interesting Sep 20 16:50:32 seriously? That's extremely expensive on their part too Sep 20 16:50:35 and that was with at least some pre planning on the part of the windows team etc. Sep 20 16:51:04 Oh sure, I guess the port will cost like $400K Sep 20 16:51:06 chinmaya: done Sep 20 16:51:15 400-500k Sep 20 16:51:26 salaries and test and QA etc Sep 20 16:51:48 TheBunny: how much do you think that would have cost if they just used something like unity? Sep 20 16:51:56 Which is why I bring up things like there needing to be a strong business case for linux befor anyone will really bother. Sep 20 16:52:35 now close the command prompt and reopen and execute the command Sep 20 16:52:39 Well you can't make TESO in unity, but yeah for a small team it might have mostly just worked etc..or been some days or weeks… YMMV Sep 20 16:53:03 Not al engines are on the same level. an MMO is more like writing a OS... Sep 20 16:53:23 error: device not found Sep 20 16:53:38 TheBunny: That is one area of games I've never wanted to write... Sep 20 16:53:45 it seems extremely difficult Sep 20 16:54:03 very very . Sep 20 16:54:07 what command did you type Sep 20 16:54:08 but still. I think people could make it easier and cheaper through abstraction Sep 20 16:54:16 yeah and we did that etc Sep 20 16:54:26 chinmaya: adb shell Sep 20 16:54:42 still its a native port and not windows API wrappers… which is what you are going to see with steam etc Sep 20 16:55:12 Heck most of the MAS games are probably that now and they work pretty well a lot of the time. Sep 20 16:55:16 whats a good strategy for releasing apps? i have a lite and pro version. im thinking of releasing the lite version a week or so first, then any flaws i get notified about via bad reviews i can clean up in the pro version and polish it using feedback before final release. is this a decent way to go about it? Sep 20 16:55:28 Danni, did you close the window and reopen again Sep 20 16:55:32 for me its working Sep 20 16:55:45 adb.exe is inside the platform_tools folder Sep 20 16:55:56 so it should work if you have done correctly Sep 20 16:55:58 yes, the result got from "command unkown" to "error: device not found" after the steps you told me Sep 20 16:56:13 TheBunny: MAS games? what kind of coding do you do specifically? Sep 20 16:56:36 chinmaya: if I plug in my phone it says > shell@android:/ $ Sep 20 16:56:49 yes Sep 20 16:56:52 chinmaya: using the tablet it is not working Sep 20 16:56:55 i think thats it Sep 20 16:57:01 ok Sep 20 16:57:09 did you enable the usb debugging in tablet Sep 20 16:57:13 by settings Sep 20 16:57:20 I can debug in eclipse using my phone, but I want to use the tab. usb debugging is enabled Sep 20 16:57:44 does the phone's mode matter? Sep 20 16:57:51 phone/tablet Sep 20 16:58:13 try putting it in PC transfer mode just for kicks and giggles Sep 20 16:58:16 and see if adb connects Sep 20 16:59:07 lethjakman_work: usb transfer mode made no difference, I still get error: device not found Sep 20 16:59:38 MAS = Mac App store, ( so like steam), I code game engines for OSX, windows, Wii, ios etc some android. mostly C++, + Lua etc. Sep 20 16:59:40 what tablet is it? Sep 20 17:00:09 TheBunny: how do you feel about Wii development? also how do you feel about iOS vs android development? Sep 20 17:01:05 lethjakman_work: DMTECH Tablet 725H Sep 20 17:01:29 Wii dev is horrible and dated but a lot better then NDK dev currently :(, Wii needs windows XP etc and everything super low level, modern phones with normal GLstacks pretty much prove you don't need any of that. aka things do not have to be hard... Sep 20 17:01:29 lol...what is that? Sep 20 17:01:34 does it have a website? Sep 20 17:01:51 anyone know why postDelayed() method runs only once when i call it twice? Sep 20 17:02:16 It doesn't Sep 20 17:02:17 lethjakman_work: haha exactly, LOL. It was bought to be permanent installed in the wall... ;) Sep 20 17:02:34 IOS dev tools are much easier and further along then android. so untill that changes I have stopped doing any NDK work cause its just painful and slow and buggy etc. Sep 20 17:02:54 lethjakman_work: Don't think it has. Sep 20 17:02:54 will see what nvidias new tools are like soonish I hope. Sep 20 17:02:57 is there anyway to right Android apps in C? Sep 20 17:03:00 im tired of java Sep 20 17:03:03 O.o Sep 20 17:03:03 it doesnt work Sep 20 17:03:08 *write Sep 20 17:03:18 I heard that other people have rooted the tablet and etc using adb shell but that was with earlier versions Sep 20 17:03:24 Daani: the reason I ask is I'm looking for drivers for it. Sep 20 17:03:48 look up the NDK you can do much in C/++ if you really want… can you do all APIs? Im not sure right now... Sep 20 17:03:57 lethjakman_work: ah, I see. The reaction "what is that?" is the same I had ;) Sep 20 17:04:33 TheBunny: What kind of android games are you doing? I've heard except for in extreme cases NDK is unnecessary. Sep 20 17:05:12 TheBunny: I loved xcode and the iOS tools....but I hated the actual coding. I felt extremely limited by everything. Sep 20 17:06:23 Daani: lol it's pretty odd...and google doesn't turn up anything for it Sep 20 17:07:07 I think you need drivers Sep 20 17:10:28 I am getting a StringIndexOutOfBoundsException, what usually causes this Sep 20 17:14:08 lethjakman_work: oh :/ Sep 20 17:14:10 Snwspeckle: where are you seeing it? I think they usually come with a line number Sep 20 17:14:17 android have enum for Strings for switch("somestring") {case...} ? Sep 20 17:15:04 Snwspeckle, I would guess that you're trying to look at part of a string that's outwith the size of the string - like tyring to take a substring from the -3rd character to the 3rd, say, or trying to find the 12th character in a 10-char string Sep 20 17:15:07 Do substrings not work if there is only 1 concentrate of the string? Sep 20 17:15:14 If I enter 44 it would error right? Sep 20 17:15:33 Since it cant seperate two subs like if I entered 4464 Sep 20 17:17:33 anyone know what the usb ini is for the kindle fire HD? i know for the kindle it was 0x1949... Sep 20 17:18:56 lethjakman_work: 3D or things that already have a C/C++ code base and need a port. OpenGL etc. Sep 20 17:19:23 Im sure theres much you can do in Java but that as bad as ObjC and platform lock in Sep 20 17:19:34 rather silly for most game engines. Sep 20 17:24:05 TheBunny: except that obj c is only found on one platform, and java is found on almost all. Sep 20 17:25:11 no one uses java for games Sep 20 17:25:14 on PC etc Sep 20 17:25:18 only a few companies Sep 20 17:25:44 dat ndk Sep 20 17:26:16 NDK woudl be a much better choice, C/C++ will lock you into no platform Sep 20 17:28:29 the compiled code would be locked in, but yea you could always recompile Sep 20 17:28:40 In regards to your java comment, pretty sure the #3 most played game on steam at the moment is written in java. =/ Sep 20 17:31:16 no one uses java for games <- for obvious need of performance.. Sep 20 17:32:05 Make that AAA games with all the graphics engines and the motion capture and whatnot, and I might agree Sep 20 17:32:11 Otherwise, cough, Minecraft, cough Sep 20 17:32:36 Graphics are not what sell a video game. The sooner larger corporations realize that, the better the industry will thrive. Sep 20 17:33:00 too many factors HacDan :-) graphics is just one of them Sep 20 17:33:22 adq: I strongly disagree with graphics having anything to do with the quality of a game. And it's selling potential. Sep 20 17:33:46 Do I need to add 0x in front of a hex value to convert it to a decimal? Sep 20 17:33:55 unfortunately, you forgot to think how "the masses" are thinking HacDan Sep 20 17:33:56 Then again, target demographics have changed for video games =/ Sep 20 17:34:01 more shiny, more selling sometimes Sep 20 17:34:04 adq, noone uses java for games -> explain minecraft Sep 20 17:34:06 ya, sadly Sep 20 17:34:08 There are games that wouldn't sell if the graphics were shit. There are games that sell despite the graphics being shit. IT's a complex thing Sep 20 17:34:27 true AimHere !) Sep 20 17:34:40 sonOfRa, nothing to explain on my side sorry :) Sep 20 17:34:55 graphics tend to make up for a shitty game, though =/ Crysis would be a great example there. Sep 20 17:35:04 at least the original, I haven't played the other two? I think now Sep 20 17:35:27 adq: How do I add '0x' in front of my hex int so I can convert it to a decimal? Sep 20 17:35:48 fact is you just have to look 20 years of video games vs their market and ppl profiles (age, interest, countries, emergence of computer, etc.. too many factors too) Sep 20 17:35:58 I use a string to combine my two values right now but when I try and convert it to an int I get an error Sep 20 17:35:59 things appear clear how "ppl" work Sep 20 17:36:04 Even though I declare a base of 16 Sep 20 17:36:19 There's no formula for a successful game, other than take an already successful game and make a slightly better sequel Sep 20 17:36:23 minecraft is a happy fluke Sep 20 17:36:31 Snwspeckle, hex is not a type, what is the type of your data? string? int ? Sep 20 17:36:34 that just happens to be written in java Sep 20 17:36:41 it is not in any way a AAA level game Sep 20 17:36:41 The games industry is mostly about throwing huge quantities of dross at the market and making money off a few outliers Sep 20 17:36:54 like movies ;) Sep 20 17:36:55 AimHere, if you are a big company i have a formula Sep 20 17:37:02 you benefits of a high visibility Sep 20 17:37:11 ++ Sep 20 17:37:12 and a big trigger lol Sep 20 17:37:18 adq: The data in the textfield is a string so what I do to add 0x is: String appHex = ("0x" + hex); Sep 20 17:37:28 where hex is the data from the textfield Sep 20 17:37:49 so yeah we easily spent 20million on advertising a game... Sep 20 17:37:56 but hex is int, it's the same to write int = 10 or int = 0xA; Sep 20 17:37:59 is it possible to replace dialogfragments within a single dialog window with my own transition animations? Sep 20 17:38:15 Snwspeckle, you have too many things to learn at same time :) Sep 20 17:38:22 or I can only show them on top of each other? Sep 20 17:39:04 Snwspeckle, try to search on stackoverflow, i'm sure you will find a correct answer for your convertion Sep 20 17:41:07 Snwspeckle: Integer.parseInt(hexStr, 16) that will return your hex string as an integer. Should work just fine with Android. Pretty sure I've used it before. Sep 20 17:43:13 actually, when I plug the tablet to the computer I see the storage in the device manager and the drivers are installed, still eclipse does not find it for debugging :/ Sep 20 17:43:34 whats the right way to get, say, items in my gridlayout to each take up 1/3 of the screen? just displayMetrics.widthPixels/3? Sep 20 17:44:28 someone please tell me, how do you make multiple time delays??? Sep 20 17:44:32 Daani: whch tablet? and which host os? Sep 20 17:44:39 ive tried thread and postdelayed Sep 20 17:44:42 Daani, you might need additional driver for that, for htc i needed, for asus tablet i also needed a driver (in case you're on win) Sep 20 17:44:46 both only run once Sep 20 17:44:49 please help me Sep 20 17:45:07 i dont understand what im doing wrong here Sep 20 17:45:23 HacDan: DMTECH Tablet 725H, android 4.0.3 Sep 20 17:45:28 kingargon: begging for help isn't going to get you anywhere. and just at a quick glance, we're gonna need a bit more background info. Sep 20 17:45:32 WIndows 7 Sep 20 17:45:33 Daani: host os, not the tablet os Sep 20 17:45:35 ahh okay Sep 20 17:45:39 im desperate Sep 20 17:45:46 lol Sep 20 17:46:04 http://pastebin.com/XdXDaNtC Sep 20 17:46:14 ive tried this many ways Sep 20 17:46:20 but this is the last one ive tried Sep 20 17:47:04 So you have two runnables scheduled to run at the same time Sep 20 17:47:11 What are you expecting to happen? Sep 20 17:47:16 thats the thing Sep 20 17:47:22 i didnt know they run at the same time Sep 20 17:47:26 i thought it was one after another Sep 20 17:47:34 Yes, it's one after another Sep 20 17:47:44 But they're both scheduled to run in 1 second Sep 20 17:48:00 its not a duration of 1 second? Sep 20 17:48:08 1000ms is 1 sec Sep 20 17:48:10 No, you delay the running of the runnable Sep 20 17:48:12 By 1000 ms Sep 20 17:48:23 ohh Sep 20 17:48:30 so the second one should be 2000? Sep 20 17:48:41 Sure, if you want it to run 1000ms after the first Sep 20 17:48:43 3000, and so on to get them to cascade? Sep 20 17:48:49 And, you only need one handler Sep 20 17:49:01 Hello all. I am trying to install the Android SDK on Ubuntu 10.10. And while downloading the development tools etc. I got and error; "Stopping ADB server failed (code -1)". Here is the complete output at that point https://gist.github.com/6c9a2a26e5e8f22a3726. Sep 20 17:49:04 you can also use animation to avoid using your own thread :) Sep 20 17:49:16 Can I continue my installation? (It's currently still downloading) Sep 20 17:49:29 okay, ill mess around with it Sep 20 17:49:31 Can I somehow distinguish between an Activity that is destroyed because it has returned, navigated back or the app has closed and an Activity that simply has been destroyed due to screen rotation? Sep 20 17:49:32 thank you guys Sep 20 17:49:39 u just saved my ass Sep 20 17:49:40 again Sep 20 17:49:52 evident: isFinished() Sep 20 17:50:01 err Sep 20 17:50:03 isFinishing Sep 20 17:50:38 i partially hide screen with alert dialog but onPause() was not called… it is suppose to do this according to activity life cycle diagram Sep 20 17:50:48 why did it not do this? Sep 20 17:52:10 is it possible to replace dialogfragments within a single dialog window with my own transition animations? or I can only show them on top of each other? Sep 20 17:52:19 convivial, finally the flow is not verified? Sep 20 17:52:21 is it because Log.d() is blocked from outputting Sep 20 17:52:26 It's paused when another activity comes to the front Sep 20 17:52:36 yea i told you yesterday, activity != view Sep 20 17:53:19 do i need to subtract the height of the kindle's bottom nav bar when im trying to get height/width of the screen? Sep 20 17:53:21 SimonVT: thank you... I'll see how this works for me Sep 20 17:53:25 I tried to create partial activity Sep 20 17:53:32 sorry Sep 20 17:53:53 I wanted to create an activity that was transparent but can not figure out Sep 20 17:53:56 Hi, is there a way to find out why a certain app is not compatible with a certain device? E.g. screen size, screen density, requires nfc, etc. Sep 20 17:55:09 or at least an activity that partially fills screen. Sep 20 17:55:34 you want a widget i think Sep 20 17:56:01 adq: was that for me? Sep 20 17:56:08 yes :-) Sep 20 17:56:12 ok Sep 20 17:56:24 thanks Sep 20 17:56:26 it's typically a widget where you can see the desktop Sep 20 17:56:34 if it does not fill all Sep 20 17:56:55 convivial, thx to you too, i'm glad ppl follow and verify "official" flow design Sep 20 17:57:31 You can use Theme.Dialog/Theme.Holo.Dialog if you want it to look like a.. dialog Sep 20 17:58:28 i understood he really wants to cover partially the screen with transparency Sep 20 17:59:37 yes, stuff around the dialog is transparent Sep 20 18:00:01 anyone know how i can get the "real" screen width/height for, say, the kindle fire hd. there's a bottom nav bar that takes up some space Sep 20 18:00:28 SimonVT, is it possible to add and replace fragments within your MenuDrawer library's navigation menu Sep 20 18:02:06 stiggpwnz: You mean to the menu container? Sep 20 18:02:34 sdaq: no Sep 20 18:02:36 SimonVT, yeah Sep 20 18:03:00 Do you drag the window or the content? Sep 20 18:03:56 SimonVT, whatever, I just wanted to add and replace fragments, but couldn't achieve that Sep 20 18:04:03 If it's the content, just add the fragment to R.id.md__menu Sep 20 18:04:05 i like tarballs Sep 20 18:04:07 in my face Sep 20 18:04:32 SimonVT, hmm, I tried it with the window, thanks, will try that! Sep 20 18:04:51 i love men in and around my butt ;) Sep 20 18:04:58 if you drag the window, you gotta override Activity#findViewById(int) and return MenuDrawerManager.mMenuContainer when the id is R.id.md__menu Sep 20 18:05:17 test Sep 20 18:05:20 hooray Sep 20 18:05:23 Just a lovely limitation Sep 20 18:05:58 Also, you have to make mMenuContainer public Sep 20 18:06:00 chodebrah u mirin son? Sep 20 18:06:07 u bet bro Sep 20 18:06:15 im stylin on u cuz Sep 20 18:06:23 king of aesthetics here Sep 20 18:06:41 jailbait warrior raped me Sep 20 18:06:47 SimonVT, thanks a lot for the explanation Sep 20 18:07:05 u srs? Sep 20 18:09:12 sorry about that, stupid people logged into my account... Sep 20 18:09:47 Always lock your computer when you leave it Sep 20 18:09:57 ya Sep 20 18:10:51 i never lock my computer tho Sep 20 18:11:13 Quick math question, if i = 0 ---- (i % 31) will equal what? Sep 20 18:11:31 0 oO Sep 20 18:11:34 0 Sep 20 18:11:54 (i made that up) Sep 20 18:12:46 what does that have to do with maths Sep 20 18:12:58 it modulo algebra bro Sep 20 18:14:12 0 / x = ? Sep 20 18:14:17 with what leftover Sep 20 18:15:26 my point is that the behaviour of % is language-related, it's really a computing concept Sep 20 18:16:02 http://en.wikipedia.org/wiki/Modular_arithmetic Sep 20 18:16:19 euler made this Sep 20 18:16:37 euler spoiler. Sep 20 18:33:11 hi! I have this code: http://pastebin.com/BxArdXSZ and it works perfectly on a Nexus, but really slow (forcing the close a lot of times) in a Motorola Defy. I know that the mobiles have no comparration, but the code doesn't seems very complex. If I comment the line 133 (where I register the sensor) it works perfectly on the Defy Sep 20 18:33:45 xota: Starting the sensor takes a long amount of time. Don't do it on the main thread - use an AsyncTask or Service. Sep 20 18:36:04 freeone3000++ Sep 20 18:36:13 is there a workaround for FragmentActivity.isChangingConfigurations() on old devices? In a class that extends Fragment I check for screen rotation changes using that function. It works on a Nexus7, but crashes on a 2.3 device with a NoSuchMethodError... Sep 20 18:36:54 evident: did you see a lint warning for that ? Sep 20 18:37:25 freeone3000: but I can not use the app without the sensor. And what I can do then is open the app and wait... but actually the app becomes slower with the time :D I will explore the AsyncTask anyway, thanks! Sep 20 18:37:29 ohh no I somehow had it disabled... Sep 20 18:38:12 Q: in my app with system permissions (we have INJECT EVENTS capability on the platform) I want to push key events to whatever is in the foreground -- how do I get a pointer to the app's View object so I can dispatchKeyEvent() ? Sep 20 18:39:03 g00s: it gives me a lint warning now... but I still don't know how to work around it... Sep 20 18:42:00 huh, i guess the support lib doesn't have that Sep 20 18:44:51 i dunno … guess you'll have to find a way of doing things without it Sep 20 18:45:45 well basically I want to check on each call of onStop() of the Fragment whether just the screen rotation has changed, the holding activity has closed, the holding activity attached another fragment or whether the app has closed (home-button or other app that comes on top of app) Sep 20 18:46:31 and on all of those events except the screen rotation I want to call some kind of save() method Sep 20 18:47:27 if possible, make things simple and consider them all the same Sep 20 18:48:08 so I'm trying to putExtra("key", int) in an intent before sending it off to the camera app to take a picture Sep 20 18:48:19 but when I get the result back in onActivityResult(), that extra isn't there Sep 20 18:49:25 It can return any intent it wants Sep 20 18:49:27 Can you set an Int SharedPreference from the preference screen? I am trying to use an EditTextPreference with android:numeric="integer" .. but i think it's still returning it as a string and it's cuasing it to crash Sep 20 18:49:38 #iphonedev is less helpful than #android-dev ... Sep 20 18:49:52 SimonVT: yeah I just started to realize that Sep 20 18:50:14 Wavesonics: really? i haven't been there in a long time. they were pretty helpful last year Sep 20 18:50:38 idk, havent been on there v long, maybe just a bad time Sep 20 18:50:46 g00s: that's what I'm trying... ;) Sep 20 18:50:55 SimonVT: is there some convention for doing something like that? (sending some data to an intent and trying to get it back after the intent finishes) Sep 20 18:51:17 technically the intent wont be changing the data Sep 20 18:51:55 You already have the data in your activity Sep 20 18:52:06 Why do you need to put it in the intent Sep 20 18:52:49 Hey everybody. I'm using Action Bar Sherlock to build an interface with action bar tabs, and my screens all look great except on the Kindle Fire. For some reason, only on the Kindle Fire, my 3rd tabs all have a down-arrow like you'd expect to see in a spinner. Here's a screenshot: http://i.imgur.com/n9kU1.png Anybody ever seen this before or have any ideas? I've been Googling and digging for 2 days with no luck. Sep 20 18:52:54 i'm basically trying to automate this process where the user an take picture of a document and choose to take a pic of both sides (so either 2 sides or 1) and I need to which side just got taken so that I can save the results in the db Sep 20 18:53:06 uh, what a pile of shit. so if you look at Activity.isChangingConfigurations(), it just returns a package-scoped boolean. Sep 20 18:53:07 I know it sounds dumb but this just popped up so I'm trying to make it work without having to rewrite too much stuff Sep 20 18:54:06 when droid went to sleep it did a pause and did not follow with a stop!!!! coolies Sep 20 18:54:13 I saw the event i wanted Sep 20 18:55:57 evident: yeah, i don't know … Activity.mChangingConfigurations is changed by ActivityThread Sep 20 18:56:08 g00s: what do you mean by package-scoped boolean? Sep 20 18:56:22 evident: shitty encapsulation Sep 20 18:58:40 well one way to work around that would be if I could check somehow whether the Fragment or Activity has been closed (by home-button or hidden by other app)... all other cases I can find out via isFinishing() ... Sep 20 18:59:05 but when the app is closed using the home-button, it's not destroyed and ergo not finished yet... Sep 20 19:00:07 Anybody? Sep 20 19:04:35 you need to call finish() to end activity Sep 20 19:04:53 by default android does not destroy() activities Sep 20 19:06:23 convivial: well but I don't want to finish it if just the screen orientation changes... Sep 20 19:09:02 that is inside manifest i thought Sep 20 19:09:23 you tell it hyou want nofications Sep 20 19:12:17 SimonVT, another quick question, how can I remove that greyish background of the menudrawer? setting transparent background color didn't help Sep 20 19:12:40 SimonVT, https://dl.dropbox.com/u/32772116/vibes.png here's the screenshot of grey menu Sep 20 19:13:32 do all the "new" emulator features work on any android ROM, or is it something custom to the default emulator image? Sep 20 19:14:24 kanzure, what are these "new" features? Sep 20 19:14:29 stiggpwnz: set mdMenuBackground in a custom menu drawer style Sep 20 19:14:43 stiggpwnz: well, location spoof used to not work Sep 20 19:14:53 Hi all, i am facing an issue with my app, where I get the height of screen for android in 2.x version and ICS it returns 1280 but in honeycomb and ICS tablets the height is 1232 pixel. How to overcome this error ? Sep 20 19:15:06 stiggpwnz: all the adb console stuff that you need android sdk for (not the shell) Sep 20 19:15:16 Still not an error Sep 20 19:15:16 chinmaya: I'm not seeing the problem. Sep 20 19:15:23 hi lov Sep 20 19:15:25 chinmaya: you realize that android has a variety of different devices, right? Sep 20 19:15:34 you also know about dpi, right? Sep 20 19:15:35 lov: yes Sep 20 19:15:39 hi kanzure . Sep 20 19:16:30 lov: i do getWindow().getDisplayManager().getHeight() , which returns 1280 Sep 20 19:16:56 for mobile versions but for tablet is removes the 48 pixel and gives 1232 Sep 20 19:16:58 chinmaya, this is mostly because of on screen buttons/etc... long story short, you shouldn't be operating in pixels Sep 20 19:17:25 gutano : i am not , i convet dptoPx Sep 20 19:17:30 lol Sep 20 19:17:54 but it goes wrong when the screenheight returns 1232 rather than 1280 Sep 20 19:18:01 and is only in tablets Sep 20 19:18:29 tablets and phones have slightly diff layouts Sep 20 19:18:31 not in mobile devices , so if there is any api to get the height properly , it will be helpful Sep 20 19:18:35 I am trying to use an AsyncTask (as freeone3000 recommended me), but it raises an Exception at runtime, this is the code: http://pastebin.com/V7kySJyB (can you see any real stupid thing) Sep 20 19:18:37 ie, they don't draw buttons in the same place Sep 20 19:18:37 SimonVT, yaay, thanks! amazing library Sep 20 19:19:33 chinmaya, one thing you can do is provide a different layout (or different "values") for things based upon screen size... this is tricky, and I sympathize with you Sep 20 19:19:53 empathize, I always forget Sep 20 19:21:30 chinmaya: you seriously shouldn't be trying to make things pixelperfect Sep 20 19:21:40 if you're told that the layout is 1232 pixels high, respet that Sep 20 19:22:02 there are literally thousands of device configuration combinations out there; you simply cannot design for android like it's iOS Sep 20 19:22:15 s/respet/respect/ Sep 20 19:22:23 you still haven't explained WHY this is a problem Sep 20 19:22:53 lov: i am creating an animation where i scroll a layout and i set some padding Sep 20 19:23:15 the calculation of padding requires me to get the screen size , Sep 20 19:23:21 The screen size available to your layout is 1232 Sep 20 19:23:45 so for tablet i get screen size as 1232 , rather than 1280 Sep 20 19:23:45 The diff between 1280 and 1232 is the button bar at the bottom.. Sep 20 19:23:51 Your views can't go there Sep 20 19:23:55 chinmaya, yes... you can't expect them to be the same Sep 20 19:23:58 yes i know its 48 pixels Sep 20 19:23:59 So it's of no concern to you Sep 20 19:24:13 but how to get 1280 is my concern Sep 20 19:24:18 You don't need it Sep 20 19:24:22 it shouldn't be your concern Sep 20 19:24:26 which api will give the display height Sep 20 19:24:38 your concern should be in what you do with the space you get to utilize Sep 20 19:24:55 (trying to be helpful, not condescending) Sep 20 19:25:19 The button bar might as well be a black bezel with hardware buttons.. It doesn't matter, the space is not available to your application Sep 20 19:25:24 JakeWharton, i'm a little confused about action bar tabs. is it a known thing that on a tablet they display IN the action bar while on phones they display below it? is there any way to force them below on the tablet too? Sep 20 19:25:32 yes. no. Sep 20 19:25:38 The actual screen height available to your layout is 1232 Sep 20 19:25:39 so... I have the async task working, but it is not improvement at all. Time ago I had only the sensor and I was showing the result (x, y & z) in a TextView and it was working perfect. Ater start adding TextView and things like that it started to being really slow Sep 20 19:25:42 this is the behavior of the native action bar which is mirrored in ABS Sep 20 19:25:48 It might be 800 on another device.. or 1900 Sep 20 19:26:01 JakeWharton, cool i thought i was going crazy Sep 20 19:26:09 tabpagerindicator it is :) Sep 20 19:26:24 SimonVT : you are correct but i dont hardcode the value Sep 20 19:26:44 My point is, you don't need to know that the screen is actually 1280 Sep 20 19:26:53 You need to know that 1232 pixels are available to your application Sep 20 19:26:58 And you got that information Sep 20 19:27:11 i call the above api to get , but rather than 1280 it returns 1232 , but when i have set the resolution as 1280 x780 Sep 20 19:27:19 >_< Sep 20 19:27:23 chinmaya Sep 20 19:27:25 *sigh* Sep 20 19:27:28 let us say that you use 1232 in your calculation Sep 20 19:27:30 what goes wrong? Sep 20 19:27:35 yes Sep 20 19:27:38 the padding Sep 20 19:27:59 is shows some part of the layout which should be hide below another one Sep 20 19:28:01 how does it go wrong? Can you show us a screen capture? Sep 20 19:28:09 will do Sep 20 19:28:17 let me know a site to paste image Sep 20 19:29:10 imgur Sep 20 19:29:53 Is anyone familiar with the AdMob sdk? I'm working on a plugin for phonegap that makes use of it. Sep 20 19:30:05 It's silently dying when I try to create a new AdView Sep 20 19:30:13 adView = new AdView(act, AdSize.BANNER, publisherId); Sep 20 19:31:01 cbarrett1, make sure it has enough room to create itself, that's a standard problem Sep 20 19:31:14 Ologn: how do you mean? Sep 20 19:31:32 lov : http://wstaw.org/w/1mx8/ Sep 20 19:31:49 cbarrett1, make sure there are 50dp or whatever height and 300+ whatever dp width free Sep 20 19:32:22 cbarrett1, sometimes I tried to put it on a layout with only 40dp height left and it would die Sep 20 19:32:30 ahhh ok. I do not have that Ologn, but I'm also not an android dev - so I'm not sure how to do that? Sep 20 19:32:45 in ios, the ad just sits on top of the webview Sep 20 19:32:57 so i was assuming android would do the same thing Sep 20 19:32:59 lov: if you see there is an arrow button , which when clicked will slide the drawer and the background white notes section shall be hidden , but due to the wrong display size some part still remains there , so that is the issue Sep 20 19:33:28 OK, not sure what to suggest. Stick around, see if someone else has an answer. Sep 20 19:34:25 cbarrett1, maybe test it on a blank screen by itself and see if it comes up. If it does, you know it can. Then see if you can put it in your screen layout. Sep 20 19:34:44 Ologn: I'm working within a phonegap webview container. Do you know if I need size the webview itself, or the Layout? Sep 20 19:35:33 cbarrett1, well start with a new blank screen and just put the ad. For the test screen I'd allow the layout and webview both to fill the whole screen Sep 20 19:37:19 Ologn: unfortunately that simple task is probably above my head at this point. I know Java but really very little about how Android operates :-/ I'm a JS engineer by trade. Sep 20 19:37:41 JS engineer sounds like an oxymoron Sep 20 19:37:46 heyo Sep 20 19:38:51 :P Sep 20 19:38:56 php engineer Sep 20 19:39:09 any brainfuck engineers ? Sep 20 19:39:16 raise your hands in pride ! Sep 20 19:39:17 be nice, guys. Sep 20 19:39:23 I know php as well, I would for sure never call myself a php engineer though Sep 20 19:39:25 lov , gutano , SimonVT : thanx for the inputs , but i see the issue is better to be ignored Sep 20 19:39:30 I was an AJAX developer a lifetime ago. Sep 20 19:39:38 It's not an issue Sep 20 19:39:42 It's by design Sep 20 19:39:51 chinmaya, I still think you are thinking about the problem wrong... without attempting to tackle hte animation aspects, I think you should pursue approaches that never require asking for size Sep 20 19:39:52 yes Sep 20 19:39:53 lov: and then you were reincarnated into this life - to do android :/ Sep 20 19:39:56 cbarrett1, what IDE are you using? Sep 20 19:40:07 how can I place something half way up the left hand side of it's parent FrameLayout? Sep 20 19:40:07 JS has come a long way in recent years. Also the fastest going skillset in programming Sep 20 19:40:25 I know how to do it in RelativeLayout, but not in FrameLayout. Sep 20 19:40:28 Ologn: I'm using Sublime text. It's super lightweight Sep 20 19:40:53 hmm, anyone here familiar w/ JNI? Sep 20 19:41:07 cbarrett1, how are you getting the device or emulator error messages, with adb logcat ? Sep 20 19:41:07 kaneda^: I was in a previous life. :P Sep 20 19:41:13 Ologn: yes Sep 20 19:41:18 no error messages though Sep 20 19:41:27 it's dying silently on adView = new AdView(act, AdSize.BANNER, publisherId); Sep 20 19:41:34 where act is the Activity Sep 20 19:41:34 well, i keep getting a JNI error detailing "JNI: Unable to find constructor method id with signature '()V'" Sep 20 19:41:35 maybe I should just nest it in a relative layout, but this layout file is getting pretty complicated. Sep 20 19:41:45 but nothing i've written is SUPPOSED to have this signature, so why is it looking for it? Sep 20 19:42:15 Ologn: I've resorted to logging out after each line to see where it stops Sep 20 19:43:23 cbarrett1, https://github.com/sainttex/PhoneGap-Android-Native-AdMob#readme Sep 20 19:43:31 chinmaya, I'm not sure if how trivial it is to animate view.setVisibility(View.GONE), or utilize SlidingDrawer, whatever... but I think your approach is inherently difficult and is doomed to be overly complex Sep 20 19:43:47 cbarrett1, since you're using Phonegap, that Github thing might be good to look at Sep 20 19:44:19 thanks Ologn! I've searched several times for docs or plugins already written for PG + AdMob but never found that one Sep 20 19:45:20 Ologn: or actually I see that's not a plugin. I think the problems I'm having is because the plugin itself isn't an Activity, so some of the code examples aren't helpful Sep 20 19:46:26 cbarrett1, what specifically is (or is not) a plugin? Sep 20 19:47:01 can someone recommend a good android book? Sep 20 19:47:20 or java Sep 20 19:47:27 That link is putting the ads directly into the MainActivity of the app. In my case I'm putting the ad code inside of a org.apache.cordova/api/Plugin Sep 20 19:47:35 woops, . instead of / Sep 20 19:48:19 so it isn't inheriting the same classes as DroidGap. Sep 20 19:48:35 I had to use this to get the Activity: Activity act = ((Activity)this.ctx.getContext()); Sep 20 19:48:41 Ologn: ^^ Sep 20 19:49:07 whereas in MainActivity you can just use 'this' as DroidGap extends Activity Sep 20 19:49:53 this is probably the reason why no one has written an Android PhoneGap AdMob plugin yet :-D Sep 20 19:52:05 cbarrett1, the crucial line is "layout.addView(adView);" you have to add the AdView object to your layout Sep 20 19:54:54 Ologn: ok, but I'm not getting there. It never gets past creating the AdView object during runtime. Sep 20 19:55:30 that is my problem. It's odd that it dies quietly too. Sep 20 20:03:35 to android folks out here Sep 20 20:03:44 if you're developing app with rest webservice Sep 20 20:03:50 do you use basic authentication ? Sep 20 20:06:09 ssl + tokens 4 lyfe Sep 20 20:06:40 Has anyone ever experienced their ui disappearing? Sep 20 20:06:40 lov: any reference for a tut ? Sep 20 20:06:50 what Layout is to prefer if I need to position buttons at any x,y I want? I can't figure it out Sep 20 20:07:15 Daani: RelativeLayout Sep 20 20:07:34 Daani, I want to say Relative, but I think most would recommend using padding/similar for placement Sep 20 20:08:04 okay, so instead of giving it x,y values I use paddings instead and LinearLayout? Sep 20 20:08:11 snooplsm: I will try Relative Sep 20 20:08:18 Daani: at least it will scale... Sep 20 20:09:32 what does that mean, it will scale? sorry :/ Sep 20 20:09:45 Daani: think about larger device Sep 20 20:10:08 you want to hard code values of x and y ? Sep 20 20:11:09 i want to do this for one specific 7 inch screen Sep 20 20:12:00 I'd still use padding Sep 20 20:12:24 the best way -> try by yourself Sep 20 20:13:09 How can we add a char value to an array Sep 20 20:13:36 eee ? Sep 20 20:13:45 you mean how can you resize an array? Sep 20 20:14:04 Uhm no, I need to insert a char variable into an array Sep 20 20:14:07 thanks a lot. will try around Sep 20 20:14:15 arr[2] = 'd'; Sep 20 20:14:19 for example... Sep 20 20:14:23 I am converting a decimal to an ASCII symbol then need to insert that returned value into it Sep 20 20:16:32 If I make it ---- int answer = (Char) decimal; --- it wont return the symbol tho Sep 20 20:16:53 Snwspeckle: you may wish to ask these questions in #java Sep 20 20:17:09 Got it Sep 20 20:17:43 Snwspeckle: eh... Sep 20 20:17:52 I got it, no worries Sep 20 20:17:53 you can't cast decimal to char Sep 20 20:17:55 Basic conversion Sep 20 20:18:26 i think you can get it to string and then .charAt() method Sep 20 20:19:12 Yup Sep 20 20:19:19 Character.toString Sep 20 20:22:19 is there a way to execute code when a notification is dismissed? Sep 20 20:23:27 no Sep 20 20:23:31 I don't think so, at least. Sep 20 20:24:36 freedomcaller, a notification, as in an AlertDialog? Sep 20 20:24:59 no the notification in the notification bar Sep 20 20:32:10 freedomcaller: yes, I believe so Sep 20 20:32:13 let me look Sep 20 20:32:56 freedomcaller: Notification.Builder#setDeleteIntent(PendingIntent) Sep 20 20:33:16 woah, awesome, thanks :D Sep 20 20:36:15 cool, setDeleteIntent is also in NotificationCompat.Builder Sep 20 20:39:01 yeah, goes back to API 11 Sep 20 21:07:35 hello guys. I got a strange problem using an android client and a java server. I got object input and output streams on both, and when doing objectoutputstream.writeUtf("Hello"); and the server does objectinputstream.readUtf() he does never read the message and stucks there. Doing debugging I can see that the writeutf line works correctly as it does not catch any error. Can you help me? Sep 20 21:15:37 dioHere: how are you connecting to server ? Sep 20 21:16:46 I have a stacktrace to the error I am receiving when trying to construct a new AdView Sep 20 21:16:53 am I going to get yelled at if i paste it? :-D Sep 20 21:17:20 Ologn: ^^ I put a try/catch around the line in question and it is erroring out during runtime Sep 20 21:18:26 java.lang.RuntimeException: Can't create handler inside thread that has not called Looper.prepare() Sep 20 21:19:03 gorudonu I solved the problem right now. I don't know why but I had to flush the objectoutputstream right after sending the message. can you explain this to me? Sep 20 21:24:25 oh he's gone Sep 20 21:28:56 Ologn: are you familiar with the UI thread in android? Sep 20 21:28:58 or anyone else? Sep 20 21:29:12 apparently AdView needs to be running on that thread for it to work correctly… Sep 20 21:29:27 which is why I'm getting my error Sep 20 21:30:08 In the Android SDK Manager, it lists Android 4.0.3, but not 4.0.4. Does the .3 work for .4 devices? Sep 20 21:34:35 Vorsaykal: you can compile against the oldest SDK that has all the APIs you use; your app will then work on any newer version as well Sep 20 21:34:37 Can I do a direct SSL socket connection between android devices on 3/4G? Sep 20 21:35:04 I'm not familiar with NAT and there's material online indicating this is not possible or something to that effect Sep 20 21:35:31 * kaneda^ pulls out hair Sep 20 21:35:32 where are application defaults stored Sep 20 21:35:37 JNI is really beating my ass Sep 20 21:36:04 spifff: All right, thanks. Sep 20 21:36:54 porten: there may or may not be NAT involved depending on the carrier; I don't think you can rely on being able to accept incoming TCP connections. so you'll probably have to go via a server of yours Sep 20 21:36:57 kaneda^: why ? Sep 20 21:37:01 it's not that bad Sep 20 21:37:24 it's not actually JNI's fault Sep 20 21:37:27 it's unity's Sep 20 21:37:33 ah Sep 20 21:37:42 and it gave me some crazy libjni errors, and after recompilation it simply started working Sep 20 21:37:45 never done games on android before Sep 20 21:37:52 so, in other words, unity is the definition of insanity Sep 20 21:37:55 how's unity for android ? Sep 20 21:37:58 you have to try the same thign multiple times and expect a different result Sep 20 21:38:01 is it fine or rather stupid ? Sep 20 21:38:02 gorudonu, unstable Sep 20 21:38:05 it's quite unstable Sep 20 21:38:08 damn Sep 20 21:38:13 it's unity 3 ? Sep 20 21:38:16 yah, 3.5 Sep 20 21:38:20 i'm going to get unity 4 though Sep 20 21:38:32 I would like to try some 2d games with andengine Sep 20 21:38:36 looks nice Sep 20 21:38:48 maybe I should get a job as android dev... Sep 20 21:38:57 is anyone who's working in Japan here ? Sep 20 21:39:27 guess it's too early for japan right now Sep 20 21:39:51 spifff: ok thanks Sep 20 21:40:05 kaneda^: are you experienced in making games on android / Sep 20 21:40:16 no, i'm not a games programmer Sep 20 21:40:36 ah Sep 20 21:40:46 I'm not android dev anyway Sep 20 21:40:48 gorudonu: there's a fella pboos in here who works in .jp Sep 20 21:41:03 bankai_: here on channel ? Sep 20 21:41:03 when i have more free time i'm gonna get started with android game development Sep 20 21:41:12 currently i'm just doing some simple stuff for a company Sep 20 21:41:22 "simple", i'm still a beginner at android development but :P Sep 20 21:41:35 Frigolit: thing about android is that it's fun Sep 20 21:41:40 yep Sep 20 21:41:57 i made a little controller app for MPD (Music Player Daemon) so i can control the music in my apartment :3 Sep 20 21:41:58 and you can find help everyhwere Sep 20 21:42:06 what I can't tell about for example JSF... Sep 20 21:42:18 I made some program for learning language Sep 20 21:42:28 but I need to make a server for downloading the cards Sep 20 21:42:34 so I asked about WS today Sep 20 21:42:36 speaking of help, i'm having issues with a horizontalscrollview dropping out while scrolling, it's like you remove the finger from the screen except you don't Sep 20 21:42:36 and security Sep 20 21:43:01 it has a linearlayout with some images in it Sep 20 21:43:41 hello ... if i have a videoview that has a video attached to it (400 frames lets say). can i run it in a loop from frame 0 to frame 100, then if trigger play loop from 101-400? Sep 20 21:43:47 i'm only doing android dev part time Sep 20 21:44:07 kaneda^: still you got an unity ;) Sep 20 21:44:17 well, for work Sep 20 21:44:23 i didnt pay for it ;p Sep 20 21:44:25 ah Sep 20 21:44:34 so you're game dev anyway ;) Sep 20 21:44:42 nah, this is actually for something else... Sep 20 21:44:50 hehe Sep 20 21:45:07 is unity good or rather not friendly in use ? Sep 20 21:45:10 on desktop Sep 20 21:46:09 anybody? Sep 20 21:46:23 Azra-el: sry, dont kno Sep 20 21:46:24 w Sep 20 21:46:29 may look for it Sep 20 21:46:36 Azra-el: I've heard nothing but good things about it Sep 20 21:46:52 automatically does a lot of good things for you, and saves a ton of time Sep 20 21:46:54 gorudonu, depends on what yuo want to do Sep 20 21:46:56 plus it makes porting much easier Sep 20 21:47:04 designing gui elements in pure unity is hell, but hey have things like ngui that make it usable Sep 20 21:47:05 lethjakman_work what do you mean? Sep 20 21:47:35 Azra-el: which part? Sep 20 21:47:45 Azra-el: I've heard nothing but good things about it Sep 20 21:48:11 Azra-el: I've never heard anyone complain about it. I've seen a lot of people really enjoy working with it Sep 20 21:48:13 kaneda^: got it Sep 20 21:48:18 thanks for opinion Sep 20 21:48:25 if I want to update a ProgressBar during a long event, how would I update the screen? I am setting the .setProgress, but I do not see it move untill the very end, when it is then completed Sep 20 21:48:28 i'll complain - i f*ing hate it! Sep 20 21:48:30 the action starts with a button push Sep 20 21:48:36 do I have to invalidate something? Sep 20 21:48:40 lethjakman_work i think you're mistaking me for somebody else .. i was asking about videoview Sep 20 21:49:10 whoops! copied the wrong name, sorry Sep 20 21:49:15 gorudonu: that was all directed at you Sep 20 21:49:16 k np Sep 20 21:49:32 haha Sep 20 21:49:36 thanks lethjakman_work :) Sep 20 21:50:05 bankai_: thanks for info about folks from japan Sep 20 21:50:16 will check the channel later then ;) Sep 20 21:50:17 gorudonu, it's much better developed for iOS and desktop Sep 20 21:50:24 the android version is really only good if you want a single game view Sep 20 21:50:27 gorudonu: are you looking for work in japanland ? Sep 20 21:50:32 bankai_: yes Sep 20 21:50:34 multiple activities outside of the unity activity causes serious instability Sep 20 21:50:36 would like to Sep 20 21:50:40 gorudonu: do you have a degree? Sep 20 21:50:46 now bachelor Sep 20 21:50:52 in 2 months master Sep 20 21:50:53 ;) Sep 20 21:50:53 sweet - check out daijob Sep 20 21:51:05 I know that site Sep 20 21:51:32 they are always sending me jobs Sep 20 21:51:49 I can do android and java ee work Sep 20 21:51:57 but I dont know whats better to do there Sep 20 21:52:12 the japs love ruby and python, for some reason Sep 20 21:52:21 and php.. Sep 20 21:53:06 ruby and python is cool but there's a speed limit of interpretes Sep 20 21:53:19 and for distributed software java is better Sep 20 21:53:25 thats only my opinion Sep 20 21:53:31 cuz lot of people hate java :D Sep 20 21:54:15 most of those people have never even used it, other than those terrible applets from the 90s Sep 20 21:55:43 Is anyone familiar with using runOnUiThread? Sep 20 21:55:51 in Activity Sep 20 21:56:34 trying to figure out how to get my admob code to run on the UI thread Sep 20 21:56:59 sounds dodgy ... Sep 20 21:57:25 it has to run on the UI thread, or else it bombs out Sep 20 21:57:42 I'm attempting to run it within a phonegap plugin, and it's dying because of that Sep 20 21:57:54 I'm just not familiar with how to use runOnUiThread Sep 20 21:58:15 bankai_: yup Sep 20 21:58:24 it's only about rumours Sep 20 22:02:48 in onCreate im using setminwidth on a textview. therefore i put some text in the textview, measure the width and setminwidth with this width. on gingerbread emulator it works fine, but not on ics it seems ignored. any ideas? Sep 20 22:05:20 does anyone tried intel ics image with haxm acceleation ? Sep 20 22:05:33 on amd processor Sep 20 22:07:55 so i created an avd, remounted /system and removed /system/app/SdkSetup.apk and rebooted the emulator Sep 20 22:07:58 and the file showed up :( Sep 20 22:08:06 how do i make persistent changes to my avd? Sep 20 22:09:28 "apparently rev. 16 copies the system.img file to your OS's temp folder (on my linux box, it's in /tmp/android-username/emulator-*). The changes you make to the /system partition are reflected on that copy instead of the one in the avds folder" Sep 20 22:11:12 I have a conundrum. I want to distribute my APK to a 3rd-party. The software downloads an encrypted .zip file and unzips it and does stuff with the contents (irrelevant). What I am trying to do is figure out a way to keep them from seeing the password via apktool or some other method. Sep 20 22:25:06 hello Sep 20 22:25:15 My widget is not showing up in the app widget list Sep 20 22:25:22 but the app compiles and installs just fine Sep 20 22:25:36 my manifest is fine too as far as I can tell Sep 20 22:26:03 manifest: http://pastie.org/4763558 Sep 20 22:26:49 can i stop getting a black frame whenever i switch the video source of a videoview? Sep 20 22:26:54 widget class: http://pastie.org/4763567 Sep 20 22:30:43 ibash: what's appwidget_info.xml look like? Sep 20 22:31:05 evancharlton: http://pastie.org/4763590 Sep 20 22:31:43 and then layout/widget.xml http://pastie.org/4763591 Sep 20 22:32:34 it always seems like android development is painful :/ Sep 20 22:35:01 ibash: nothing obvious sticks out. I'll take another look, though Sep 20 22:35:29 evancharlton: Thanks -- if it'd help I can push what I have to github, I'm just trying to get it to show up, really nothing complicated at all Sep 20 22:36:24 evancharlton: https://github.com/ibash/magic_app Sep 20 22:36:55 ibash: try specifying a label and icon? Sep 20 22:37:07 evancharlton: in the manifest? Sep 20 22:37:15 yeah, on the receiver Sep 20 22:41:44 evancharlton: no luck Sep 20 22:49:04 I'm always surprised by how much more I can dislike android every time I try to dev for it Sep 20 22:49:26 Is it ever smooth sailing for anyone here? Sep 20 22:49:38 It slowly becomes it Sep 20 22:50:48 hm :/ I'll ping a friend of mine see if he has any insight Sep 20 22:52:39 ibash, there's a learning curve like anything, but I'll give you that alot of it isn't very intuitive Sep 20 22:53:41 being a java guy, I found iOS alot less intuitive, heh... objective-c is a big hurdle and not applicable too many other places Sep 20 22:53:46 http://developer.android.com/reference/android/media/AudioRecord.html Sep 20 22:53:54 any clue if this works while someone's on the phone? Sep 20 22:54:35 gutano: have you tried RubyMotion? I haven't done iOS -- but supposedly it's just as good as native Sep 20 22:55:14 ibash, not a fan of abstracting a platform... (personal preference, I understand some ppl can be very effective with such tools) Sep 20 22:56:11 my initial forays where hobby based, so no need to rush/compromise Sep 20 22:57:02 I've wanted to play more with Ruby, I'm always at a balance of work harder (get more pay) or hobby more (pursue my interests) Sep 20 22:57:34 there's some overlap, but just haven't found the time for Ruby yet Sep 20 22:58:37 gutano: ruby is really really nice once you get into it a little -- on the con side it's so free form that if you don't enforce style people can get a bit crazy Sep 20 22:59:10 ; ) Sep 20 22:59:51 I do like tinkering... and there's enough crap out there already to keep me busy till the end of my days Sep 20 23:00:52 with 2.3.3 using the internal telephony manager is there a work around for answering calls Sep 20 23:00:55 gutano: I really LOVE ruby, I'm using it as a restful service to interface with one of my android apps currently Sep 20 23:01:06 it has so many great uses that it's rediculous Sep 20 23:01:14 I keep hearing that, hehe Sep 20 23:01:18 also...rhodes is supposed to be nice, but I wouldn't use it for anything intensive Sep 20 23:01:34 I'd recommend starting with rails, just because there's so much you can do with it. Sep 20 23:02:12 I know the popular java stack for RESTful services, but I'll say that I find it ... cumbersome Sep 20 23:02:42 I will have to try Ruby next time I find a use Sep 20 23:05:38 thing about ruby is...it has tools Sep 20 23:05:49 say you need a view, model, and a controller for a user Sep 20 23:06:40 you'd just type 'rails g scaffold user email:string password:string password_confirmation:string' (that's just off the top of my head but it's something like that) Sep 20 23:06:44 and it all just shows up for you Sep 20 23:06:56 say you have a common template you use a lot....you can put it in easly Sep 20 23:06:59 gems for EVERYTHING Sep 20 23:07:04 secure authentication....built in Sep 20 23:07:09 takes about 10 lines of code Sep 20 23:07:40 that sounds like the appealing part, I know the java stack very well, but it still takes too much typing to get something out (even utilizing the generation macro's/etc of a capable IDE) Sep 20 23:08:13 java utilities just tend to be a lot messier...I like my code to be really clean, and that's where ruby excels Sep 20 23:08:20 which IDE do you use btw? Sep 20 23:08:24 intellij Sep 20 23:08:25 I'm learning to hate eclipse Sep 20 23:08:37 really? what made you go that way? I've never met anyone that liked it Sep 20 23:09:35 when I started at my job, it was popular and I was provided a license.. didn't take long to prefer it to eclipse (this was ~5yrs ago).. I've use eclipse numerous times since, but I never find a preference for it Sep 20 23:10:24 sometimes eclipse gets ahead in features, but usually intellij does things... more elegantly (disclaimer! imho) Sep 20 23:10:48 p4 support in intellij is kinda crappy, but git is great Sep 20 23:10:53 (work v home) Sep 20 23:11:21 I also use the editor all day long, cost spread over usage just makes it a non-issue Sep 20 23:11:46 additionally, every feature a OSS/hobby coder would want is in the OSS version now Sep 20 23:12:09 I find intellji ALOT snappier Sep 20 23:12:31 hm...I might have to try it out. Have you used it for android development at all? Sep 20 23:13:10 yeah, but I'll start with the disclaimer that I use android-maven-plugin... I don't think of an IDE as a build tool Sep 20 23:13:40 this combo makes for very convenient modularization and quick project import/setup Sep 20 23:13:47 okay, I'm givving up Sep 20 23:14:40 but my maven preachings are another story... I bet I will be in for some pain when I venture beyond java-esque builds in the future Sep 20 23:15:15 ibash: I'd say android is WAY better than iOS. what's your problem? Sep 20 23:15:27 (ie ant is much more akin to make/etc) Sep 20 23:15:28 lethjakman_work: I can't get my widget to show up in the widget list Sep 20 23:15:49 gutano: what are you talking about with maven? I basically use my IDE just to build my programs Sep 20 23:16:01 lethjakman_work: I basically have no code… just trying to get it to show up: https://github.com/ibash/magic_app Sep 20 23:16:04 ibash: did you follow a tutorial? Sep 20 23:16:14 lethjakman_work: I followed the android guides exactly Sep 20 23:16:28 or more or less exactly -- but I followed the android docs Sep 20 23:16:30 given that I developed these patterns at work (where autobuild/etc are important) and other devs need to join the project and setup env quickly Sep 20 23:16:48 being able to say checkout and 'mvn clean install' and it will build your project is convenient Sep 20 23:17:23 vs potentional difficulties in binding an IDE to each devs various IDE choices (.project/.classpath won't do you any good if your peers aren't using eclipse) Sep 20 23:17:58 ibash: http://code.google.com/p/android-widget-development-tutorials/downloads/detail?name=android-widgets-tutorial-part-1.zip Sep 20 23:18:05 try compiling and installing that and see if it works Sep 20 23:18:47 as good as the maven imports have gotten (intellij/eclipse) it's a x-IDE definition of module relationship... and a build system that can be used outside of an IDE Sep 20 23:18:48 gutano: I can see your arguement, I've never had to work in a team enviroment Sep 20 23:19:34 lethjakman_work: thanks! Sep 20 23:19:48 lethjakman_work: it does show up! Sep 20 23:19:51 any time. I always try to look for a tutorial with actual code you can play with Sep 20 23:20:07 I find that a clear heirarchy of dependencies (reviewed every so often) promotes good code (no autocompletion of stuff that shouldn't be in my classpath) Sep 20 23:20:09 the problem with the android tutorials without the download....it's too easy to much up xml and such Sep 20 23:20:18 and if you do there's not always an error message Sep 20 23:20:21 that's where I'd look for a problem Sep 20 23:20:47 gutano: where are you working at? if you don't mind me asking of course Sep 20 23:21:16 subsidary of Pearson (the publishing company, not hte candy company) Sep 20 23:21:22 lethjakman_work: thanks! I think I found the problem Sep 20 23:21:31 ibash: what was it? Sep 20 23:21:52 gutano: really? do they do a lot of coding there? Sep 20 23:21:55 lethjakman_work: well compiling now, but reciever is not receiver Sep 20 23:22:14 yes! Sep 20 23:22:25 fix it? Sep 20 23:22:53 yep Sep 20 23:22:57 think I need typo detection in vim Sep 20 23:22:58 it's a big company and they have been acquiring organizations that are forward leaning (tech over paper) Sep 20 23:23:14 woop woop! Sep 20 23:23:24 I have an awesome idea I'm making a proof-of-concept for Sep 20 23:23:36 ibash: if you're learning, I might actually recommend eclipse. it helps with a lot of weird problems. what is it? Sep 20 23:23:55 gutano: very interesting. I love the idea of that, I've been working on a lot of ideas that revolve around that concept actually. Sep 20 23:24:18 lethjakman_work: I've done a bit of android before -- I have a app that has ~4k downloads, I just grew to hate eclipse :D Sep 20 23:24:28 was looking into eclim though Sep 20 23:24:33 so this application Sep 20 23:24:36 plenty of startups just waiting to be acquired, esp in the education space Sep 20 23:24:43 eclipse is a major pain in the butt. what's your app ibash? Sep 20 23:25:12 imagine a widget that lives on your home screen, you walk into a cofeeshop and connect to the wifi, and suddenly the coffeeshop's app icon appears inside the widget. Sep 20 23:25:21 gutano: that's great! that makes me more and more motivated to keep working on these applications. even if I keep running into weird hangups... Sep 20 23:25:29 or, you go to a friends place and then the app to control your friends' audio system appears Sep 20 23:25:45 or you go to an event, and as the event starts the app for that event appears… and then goes away after the event is over Sep 20 23:25:56 ibash: so it's a wifi based app starter? Sep 20 23:26:01 basically I'm making a interface for light-weight apps to appear when they are relevant Sep 20 23:26:10 lethjakman_work: not an app starter Sep 20 23:26:10 lethjakman_work, glad to hear : ) I'm quite curious to see how Win8 affects the tablet space (esp the ... let's be honest, struggling, tablet market) Sep 20 23:26:13 you never installed the app Sep 20 23:26:26 no one wants to install apps for everything Sep 20 23:26:32 what appears is the icon for the app though Sep 20 23:27:00 making a space for icons to just appear on the home screen when they are relevant, basically Sep 20 23:27:08 hello there, i made an async network stream in android, it works fine, but for some reason i cant identify, if the server sends 2 datas almost at same time, the client just recieve 1 of them, can someone helps me out? Sep 20 23:27:23 lethjakman_work: what do you think? Sep 20 23:27:38 gutano: they will... fail Sep 20 23:27:44 have you seen the prices ? Sep 20 23:28:02 I'm not a microsoftee, but I do see this all coming to a head Sep 20 23:28:17 I'm a very interested bi-stander into how this plays out Sep 20 23:28:27 gutano: you think it's struggling? I honestly think it has a LOT of potential. I see android tablets taking the place of a lot of applications tablets will take the place of a lot of hardware that's just....here Sep 20 23:28:58 lethjakman_work, the early devices (galaxy tab 10.1 is what I bought) where released pre-maturely... Sep 20 23:29:02 ibash: I think that's a great idea! so you'll roll a plugin based app that can control other apps from within it? I would definitely make that module based to conserve memory Sep 20 23:29:13 did not give users a good experience Sep 20 23:29:24 gutano: really? what was wrong with your experience? Sep 20 23:29:31 thought android is winning in the phone market, they don't have volume sales in larger devices Sep 20 23:29:36 I think those were mostly released in order to get development started Sep 20 23:29:37 poor app selection Sep 20 23:29:54 +1 to that... but many consumers bought them too Sep 20 23:29:55 gutano: cmon Sep 20 23:30:07 1000$ for x86 tablet ? Sep 20 23:30:07 I bought mine to dev on Sep 20 23:30:12 I have a lot of plans for the new galaxy note 10.1....the capability to have a wacom tablet built into a android tab is great Sep 20 23:30:19 lethjakman_work: I was actually thinking of making it a thin wrapper around a web view, so the user never has to actually install any other apps, and web devs (like me) can easily start making relevant apps w/o most of the android Sep 20 23:30:35 I'm not making the case for Win8... this is more of a Apple v Android thought Sep 20 23:30:53 ibash: i.e. phonegap? ;) Sep 20 23:30:56 ibash: so...it'll interact with a restful service? Sep 20 23:30:59 will it display html? Sep 20 23:31:00 hello there, i made an async network stream in android, it works fine, but for some reason i cant identify, if the server sends 2 datas almost at same time, the client just recieve 1 of them, can someone helps me out? Sep 20 23:31:06 no phonegap please ;/ Sep 20 23:31:10 p_l|backup: Not exactly, the user would never have to install the app Sep 20 23:31:18 why a wacom, why no just photoshop on the tablet? Sep 20 23:31:23 ibash: RWD ? Sep 20 23:31:24 lethjakman_work: that's the idea -- displays html Sep 20 23:31:53 gutano: I like the precision pointer device. I'm terrible at drawing and graphics, I don't really care about photoshop. Sep 20 23:31:57 lethjakman_work: this is just a proof of concept anyway, just to show that you can make apps know when they're actually useful Sep 20 23:32:11 gorudonu: what's a RWD? Sep 20 23:32:13 ibash: sounds really interesting. if you come out with it you should send it my way Sep 20 23:32:23 lethjakman_work: for sure, ping me an email and I will Sep 20 23:32:34 gorudonu, I have alot of competing idea's about Win8 launch... I don't know how it will go or how it will affect the market Sep 20 23:32:34 gutano: there's a huge difference between using a graphic tablet (an input device) and a low-dpi tablet-form touchscreen Sep 20 23:33:09 ibash: Response Web Design Sep 20 23:33:12 I don't care to dev on it, but I find the paint apps for hte iPad to be amazing (picked on up when the super res screen showed up) Sep 20 23:33:16 I never think of new windows devices as very competitive Sep 20 23:33:27 I like android a lot better. and I hate something locking me into a platform like windows Sep 20 23:33:30 gutano: just look at windows phone 7 :) Sep 20 23:33:33 hehe Sep 20 23:33:54 the naive person in me thought win7 would flop, the pragmatist in me thought that microsoft could throw enough money at it Sep 20 23:34:01 gutano: the ipad's resolution really isn't THAT much better. just a little Sep 20 23:34:02 apparently I wasn't as naive as I thouh Sep 20 23:34:10 i laughed so hard when wp7 folks were saying 'android is fragmented' Sep 20 23:34:16 it's not the res that does it Sep 20 23:34:20 it's the quality of the apps Sep 20 23:34:23 and when... no upgrade for current wp7 phones to wp8 Sep 20 23:34:24 the res just enables Sep 20 23:34:25 HOW SAD Sep 20 23:34:26 gutano: well their desktops will be prevelant for a while yet, I'm just thinking their mobile stuff Sep 20 23:34:44 I think this is all super risky for Microsoft Sep 20 23:34:58 the worst thing is nokia... Sep 20 23:35:00 I also respect the transition to html front ends and touch Sep 20 23:35:20 they just should get android Sep 20 23:35:26 and port qt to this Sep 20 23:35:44 qt on android could be really nice... Sep 20 23:35:46 don't get me wrong, I run windows as little as I can now (not a fan of it) Sep 20 23:35:56 lethjakman_work: you can develop on android with qt Sep 20 23:35:57 I liked nokia's sybian OS though Sep 20 23:36:02 seriously? Sep 20 23:36:04 yes Sep 20 23:36:06 are there licencing costs? Sep 20 23:36:11 nope Sep 20 23:36:14 it's free i quess Sep 20 23:36:24 wait a sec Sep 20 23:37:06 lethjakman_work: http://necessitas.kde.org/ Sep 20 23:37:23 http://www.youtube.com/watch?v=toX6CFE9CBM Sep 20 23:38:35 unfortunelly - you need to download some lib Sep 20 23:38:36 s Sep 20 23:39:05 is that that weird kde ide? Sep 20 23:39:13 that thing's still around? Sep 20 23:39:37 that thing is qt creator Sep 20 23:39:41 you are thinking of kDevelop? Sep 20 23:39:44 the newest ide for developing qt apps Sep 20 23:39:56 it has packages for windows mac and linux Sep 20 23:40:10 on windows it comes with gcc and gdb Sep 20 23:40:16 ;) Sep 20 23:40:29 gutano: yeah I am. I really liked it. but couldn't do my wxwidgets development in it at the time...lol Sep 20 23:40:45 nostalgic : ) Sep 20 23:40:56 and now qt has qml Sep 20 23:41:00 for GUI Sep 20 23:41:15 it's nice and easy to create animations and stuff Sep 20 23:41:26 like MS WPF Sep 20 23:41:30 or something Sep 20 23:41:33 I think windows bet the farm on Win8... and it's looking dicey Sep 20 23:41:46 gutano: its good for me Sep 20 23:41:56 they're making me steam for linux :P Sep 20 23:41:59 all OS are good,bad but fun, you ALL sectairs !!! :D Sep 20 23:42:33 netbeans is badass for c++ Sep 20 23:42:49 ron_frow_: no Sep 20 23:43:03 xaml and layout configs arent HUGELY different, but I def like xaml more Sep 20 23:43:03 or rahter Sep 20 23:43:07 *rather Sep 20 23:43:10 give me a reason Sep 20 23:43:27 ron_frow_: isnt WPF support dropped ? Sep 20 23:43:28 its project management is good, its clean ui, functionality works well Sep 20 23:43:31 intellisense is good Sep 20 23:43:41 heh, iOS 6 got 15% penetration in 24 hours; its taken jelly bean 2 mos to get 1.5% Sep 20 23:43:46 intellisense can be crazy :) Sep 20 23:43:48 ron_frow_: I've never had a good experience with it for c++...although I love it for java. I tend to prefer code::blocks for c++ Sep 20 23:43:55 search ppl who search for disabled it, because it runs endlessly Sep 20 23:44:06 lethjakman_work: I like qt creator for cpp Sep 20 23:44:07 g00s: link? Sep 20 23:44:39 its possible Sep 20 23:44:45 gorudonu: I think I'll give it a test drive sometime. It looks really clean. Have you ever tried U++? Sep 20 23:44:47 uhh no... vs.net 2012 is written in with wpf, and windows 8 for mobile devices uses wpf exclusively afaik Sep 20 23:44:55 I played with code::blcoks, I didnt like it Sep 20 23:44:58 U++ ? Sep 20 23:45:00 lethjakman_work: http://insights.chitika.com/2012/ios-6-study/ Sep 20 23:45:27 you know that has everything to do with the hardware Sep 20 23:45:39 if google had to support 2-3 diff peices of hardware Sep 20 23:45:47 getting devices upgraded would be a fucking walk in the park Sep 20 23:45:48 ron_frow_: exactly Sep 20 23:45:59 agreed with ron Sep 20 23:46:11 ron_frow_: i agree too, doesn't change anything though Sep 20 23:46:31 I played with code::blcoks, I didnt like it <- me too, it crashes often Sep 20 23:46:48 but it's nice concept, just not enough (good) ppl to bring maturity in it Sep 20 23:46:51 I heard there was something else that just came out Sep 20 23:46:52 i am curious to see how ms will handle these updates though. should be interesting Sep 20 23:46:54 codesmith or some shit Sep 20 23:46:57 something smith Sep 20 23:46:59 g00s: that's interesting. but you do have to think....most android people have a different mindset too. They don't go out and buy something at every new release....because a new release happens every couple of months. Sep 20 23:47:03 that was free and nice Sep 20 23:47:07 wxwidget and code::block ;( Sep 20 23:47:12 bad "souvenirs" lol Sep 20 23:47:20 g00s: updates for what? Sep 20 23:47:35 gorudonu: updating their OS Sep 20 23:47:35 they dont need to update ANY of wp7 device Sep 20 23:47:45 people have said nice things about http://codelite.org/images/codelite-linux.png Sep 20 23:47:48 they said they wont Sep 20 23:47:53 oh sad Sep 20 23:48:03 on linux with vi and emacs.. i think it's enough for big guru Sep 20 23:48:17 g00s: none of wp7 phones will get upgrade to windows phone 8 Sep 20 23:48:23 you guys hear that you won't necessarily be able to just install linux on your Win8 RT devices due to locked bootloader.... that seems frightening as someone who enjoys linux Sep 20 23:48:24 I guess my problem is I like projects, project fiels that contain settings Sep 20 23:48:30 hello 900$ lumia :> Sep 20 23:48:42 gorudonu: oh, yeah - we know that. but wp7 was just a beta for wp8. what i'm wondering, is how they will handle wp* and horward Sep 20 23:48:43 not this hey lets open a project "folder" and it should magically just work, but never seems to work well Sep 20 23:48:54 g00s: ah ok Sep 20 23:48:56 * wp8 and forward Sep 20 23:49:17 if they will come with STRICT specification Sep 20 23:49:25 like they did with wp7 phones Sep 20 23:49:28 it wont be a problem Sep 20 23:49:39 but google cant do that Sep 20 23:49:49 cuz EVERY company Sep 20 23:49:53 originally, the carriers were not supposed to get in the way of wp updates, but in the end i think they did Sep 20 23:49:57 needs to make their own stupid launcher Sep 20 23:50:16 which I hate the most Sep 20 23:50:17 what I think they should do is decouple kernel and linux userland from the os itself Sep 20 23:50:27 and start updating more of the android userland Sep 20 23:50:33 stock android works well Sep 20 23:50:55 so the companies 'sometimes' suck at writing launchers Sep 20 23:51:09 I'm looking at you htc Sep 20 23:51:14 +1 bloatware/device mfgr customizations serve only to detract from experience Sep 20 23:51:24 I've worked with htc engineers Sep 20 23:51:25 lol Sep 20 23:51:28 they have great intention Sep 20 23:51:29 ron_frow_: I've used codelite....it sucked. There was a lot of run over in places, and it didn't ever work quite right....although I absolutely loved the idea of it. if it works well let me know. Sep 20 23:51:32 htc seems like they are going to focus on wp again Sep 20 23:51:34 gorudonu: i was thinking exactly about htc Sep 20 23:51:38 haha Sep 20 23:51:38 ron_frow_: maybe they have Sep 20 23:51:42 but what ? Sep 20 23:51:43 after all, they did start off as windows mobile oem Sep 20 23:51:56 but fail in implementation Sep 20 23:51:56 I dont want to be douche Sep 20 23:52:06 cuz I always respect someone's work Sep 20 23:52:19 but I dont like this launcher Sep 20 23:52:26 what was it's name again Sep 20 23:52:26 ? Sep 20 23:52:34 the one from samsung is balls too Sep 20 23:52:43 ron_frow_, +1 Sep 20 23:52:47 custom rom on my wifes sgs3 and it gets at least DOUBLE the batterylife Sep 20 23:52:51 also http://ultimatepp.org/ Sep 20 23:52:54 thats not just the launcher Sep 20 23:52:58 that also comes with an IDE th at's supposed to be really nice Sep 20 23:53:01 ron_frow_: when I first saw ICS on s2 .... Sep 20 23:53:06 touch wiz sucked Sep 20 23:53:08 htc mades good things 2 and 3 years ago, but got little screwed by samsung after. But they allow anyone to unlock via their website which i think is great in term of giving ppl the feeling of being free of their operator who often lock more than the phone. Also htc sense is a decent ui, maybe not the best but really not bad Sep 20 23:53:29 http://netbeans.org/images_www/v7/screenshots/cnd.png Sep 20 23:53:35 adq: sense, excaly Sep 20 23:53:38 c++ support in netbeans is fucking nice Sep 20 23:53:43 their "communication" sux, however, on google +, i muted them recently Sep 20 23:53:52 always asking lambda questions ;( Sep 20 23:54:11 ron_frow_: maybe I should try. I'm using qt creator for cpp Sep 20 23:54:40 i used netbeans AGES ago for java and it sucked badly Sep 20 23:54:41 if they didnt make those launchers Sep 20 23:54:54 but I must say compared to anything I've used for c++, I like netbeans the best Sep 20 23:54:55 we'd have jelly bean already Sep 20 23:55:05 on 80% of phones Sep 20 23:55:14 including codeblocks, cdt etc etc etc Sep 20 23:55:23 on mac, textmate was better than many IDE in the past, now things might have changed Sep 20 23:55:36 xcode is probably better than textmate now Sep 20 23:55:38 but I hate xcode Sep 20 23:55:45 dont use mac, sorry Sep 20 23:55:47 delphi IDE when it was borland was also really great alternative to visual6 Sep 20 23:55:56 oh god I am going to kill you right now Sep 20 23:55:58 gorudonu, mine died this summer :) Sep 20 23:56:06 I have to use delphi on occasion here Sep 20 23:56:10 and man its such a pile of shit Sep 20 23:56:10 I love thinkpads Sep 20 23:56:17 it's not anymore clean as before maybe ron_frow_ Sep 20 23:56:18 ron_frow_: where are you? Sep 20 23:56:20 our go to definition? search all files in solution Sep 20 23:56:24 it's not owned by same ppl too now Sep 20 23:56:48 lethjakman_work - usa Sep 20 23:56:54 I don't think my phone is ever going to be upgraded past 2.33, even wwith custom roms Sep 20 23:56:55 adq: what ? Sep 20 23:57:11 ron_frow_: no I mean what do you work on that yo uhave to use delphi? Sep 20 23:57:13 Jak_o_Shadows: mine officialy has 2.2 :D Sep 20 23:57:14 gorudonu, not really imp, i don't use anymore a mac too, mine died this summer. Sep 20 23:57:26 + i'm disgusted of puredarwin project Sep 20 23:57:27 but I got 4.0.4 Sep 20 23:57:28 old old old old old ass legacy code Sep 20 23:57:28 partialy Sep 20 23:57:29 i was involved in it.. Sep 20 23:57:40 i gave up and left. Sep 20 23:57:40 that seems to be heading towards c# Sep 20 23:58:09 adq: I dont like the 'magic' that is around apple Sep 20 23:58:23 that amazing stuff Sep 20 23:58:28 gorudonu, it was good for learning curve :) Sep 20 23:58:28 and they sue everone Sep 20 23:58:31 they do have the best touchpads in the universe though Sep 20 23:58:31 for nothing Sep 20 23:58:35 and all the back end, darwin is in C++ don't worry :) Sep 20 23:58:38 gorudonu: Lucky you. I think i checked, and the ics rom was buggy as heck. Sep 20 23:58:49 Jak_o_Shadows: I got zte blade Sep 20 23:58:54 I'm sick of it :D Sep 20 23:59:06 but now I dont have any job Sep 20 23:59:12 tomorrow go to job interview... Sep 20 23:59:14 jobs are overrated Sep 20 23:59:17 Huawei Ideos X3 Sep 20 23:59:23 ron_frow_: YEAH Sep 20 23:59:24 ron_frow_: Money isn't. Sep 20 23:59:32 I like code ;) Sep 20 23:59:34 I know Sep 20 23:59:35 be happy, and all your life changes :) Sep 20 23:59:39 and if I can make it for life Sep 20 23:59:41 thats good Sep 20 23:59:43 my bike wouldnt be happening if i was unemployed Sep 20 23:59:59 gorudonu, you have still opportunity on little niches in android market (oops google play) Sep 21 00:00:10 adq: maybe I have Sep 21 00:00:13 the more you wait, the more the probability of your success decreases Sep 21 00:00:15 seriously! Sep 21 00:00:20 but I dont want to make some 'trash app' Sep 21 00:00:23 soon it will be over saturated like iphone store Sep 21 00:00:29 and little indies will be more screwed Sep 21 00:00:43 adq: I'd rather work for a big company Sep 21 00:00:43 gorudonu, good attitude :) Sep 21 00:00:53 and make something cool Sep 21 00:00:54 I am moving more to contracting customers who want an android/ios presence Sep 21 00:00:55 Google play is such an odd anme. Sep 21 00:01:10 gorudonu, i did, now i'm trying to find my way on the android market Sep 21 00:01:15 games/bs apps are a dime a dozen Sep 21 00:01:20 i'm taking little risk, if you worked enough, you can sustain yourself Sep 21 00:01:20 adq: I'm java ee dev Sep 21 00:01:25 or rather I would like to be Sep 21 00:01:26 I'd rather put some time and thought in to a real app Sep 21 00:01:28 at worst, you go back in the "conventional" work circles Sep 21 00:01:29 cuz now I dont have a job Sep 21 00:01:32 and no money Sep 21 00:01:45 will try to work in Japan next year Sep 21 00:01:50 gorudonu, you can quickly learn more i'm sure :) Sep 21 00:02:04 gorudonu, got a bro in japan, life is really expensive there i heard Sep 21 00:02:05 adq: the thing is I have job interviews Sep 21 00:02:15 adq: just came back from there ;) Sep 21 00:02:22 :D konishiwa Sep 21 00:02:31 * adq is french by the way Sep 21 00:02:32 I wonder if I could sell my android porting experience as a consulting gig Sep 21 00:02:44 lol Sep 21 00:02:45 konnichiwa Sep 21 00:02:58 adq: a lot of french ppl in japan Sep 21 00:03:01 i dont know why Sep 21 00:03:08 me too lol, it's even dangerous there Sep 21 00:03:08 and russian Sep 21 00:03:17 bankai_: didnt meet any russian Sep 21 00:03:22 or maybe on Sep 21 00:03:29 look harder, you'll find them Sep 21 00:03:36 nasdrovié then :) Sep 21 00:03:49 bankai_: I was walking with girl Sep 21 00:03:54 NHK2 even has a russian language segment , if you're interested lol Sep 21 00:03:58 not looking for russians ;) Sep 21 00:04:05 haha Sep 21 00:04:08 didnt know that Sep 21 00:04:40 but still Sep 21 00:04:42 ron_frow_: maybe try http://oncontracting.com/ Sep 21 00:04:46 will try to find a job there Sep 21 00:04:51 * g00s hasn't tried it yet Sep 21 00:05:20 g00s: Is that like oDesk? Sep 21 00:05:29 maybe head hunter Sep 21 00:05:43 jfpoole: i'm still trying to figure it out. saw it today Sep 21 00:05:48 be carefull where you put your CV and perso info for recruiting, monster.com is a good example, they got rooted, all their database leaked and many "bad" ppl got lot of info to create fake profile on many social networks Sep 21 00:05:56 so be selective, always, for everything! Sep 21 00:06:18 I've had some interesting experiences with oDesk. Sep 21 00:06:21 I used to be selective Sep 21 00:06:24 i've gotten a lot of hits from linkedIn. ron_frow_ have LI ? Sep 21 00:06:25 then... I felt in love :P Sep 21 00:06:29 ahah Sep 21 00:06:36 no Sep 21 00:06:40 adq: happens ;) Sep 21 00:06:41 add me on linked in =) Sep 21 00:06:46 yeah many ppl head hunting on linked in, depending your keywords & co Sep 21 00:08:30 does qt cost for a commercial app? Sep 21 00:08:38 think so Sep 21 00:08:51 ron_frow_: yes Sep 21 00:08:55 ron_frow_: no Sep 21 00:08:58 Yes. Sep 21 00:09:03 qt is so up in the air now, i would be afraid to use it for a new project Sep 21 00:09:10 zinx: how ? Sep 21 00:09:17 gorudonu: it's GPL, not LGPL Sep 21 00:09:18 you CAN pay for support Sep 21 00:09:27 you have to pay a commercial license for qt Sep 21 00:09:36 if you want to link it statically Sep 21 00:09:46 if not, its LGPL Sep 21 00:09:50 oh hmm i guess it's LGPL now Sep 21 00:09:55 Why develop for a commercial license? Use modify and redistribute qt with no obligation to share your source Sep 21 00:09:56 welcome to the maze of licenses Sep 21 00:10:09 is there an android standard progress circle spinning direction? Sep 21 00:10:18 ron_frow_: if you follow the terms of the LGPL, you can use it without paying Sep 21 00:10:19 if the project is proprietary i'm sure qt must be licensed Sep 21 00:10:28 not if it's lgpl Sep 21 00:10:29 zinx: thats right Sep 21 00:10:31 under a GPL project, it should be ok Sep 21 00:10:32 gorudonu: sorry, my bad, it used to be GPL/commercial, rather than LGPL/commercial Sep 21 00:10:41 zinx: yup Sep 21 00:10:46 gpl is balls Sep 21 00:10:52 ron_frow_: depends Sep 21 00:11:08 adq: you can link proprietary code with lgpled code - you have to release any changes you make to the lgpled section, but not the application as a whole Sep 21 00:11:22 yeah, a real maze for maintaining :) Sep 21 00:11:24 Leeds: thats why you can use qt with commercial Sep 21 00:11:32 UNTIL you modify the qt code Sep 21 00:11:39 it's fine Sep 21 00:11:44 thats not what regular gpl says Sep 21 00:11:47 gorudonu: I know that, which is why I said it - adq was disagreeing Sep 21 00:11:48 look what did apple with their tweaked gcc :p how it was (maybe still is) for them Sep 21 00:11:48 lgpl says that Sep 21 00:11:58 they have to use old source, backports new stuff, add their magic Sep 21 00:11:59 it's crazy Sep 21 00:12:00 regular gpl is a fucking virus Sep 21 00:12:00 ron_frow_: qt is lgpl Sep 21 00:12:03 just to keep the old licensing Sep 21 00:12:22 ron_frow_: and Linux is a cancer... ho him Sep 21 00:12:30 all OS are good \o/ Sep 21 00:12:33 (even plan9 !) Sep 21 00:12:41 personally I wish they make more love for java bindings Sep 21 00:12:41 a bit evil this one.. Sep 21 00:12:46 linux is great for what it does... and soon to be better at workcenter stuff Sep 21 00:13:20 it's a personal opinion, but i really regret this was debian and then ubuntu who drives a big part of their world ;( Sep 21 00:14:59 adq: what would you like it to be ? Sep 21 00:15:09 more slackware which is close to BSD Sep 21 00:15:37 hmm Sep 21 00:15:42 maybe Sep 21 00:15:43 it's personal taste, told you :) Sep 21 00:15:49 personally I use arch Sep 21 00:15:52 i'm probably even wrong ^^ Sep 21 00:16:17 freebsd is badass in its simplicity Sep 21 00:16:30 havent tried Sep 21 00:16:35 arch is simple too Sep 21 00:16:39 all 3 big BSD are really great Sep 21 00:16:40 thats why I like it Sep 21 00:16:44 free net & open Sep 21 00:16:48 At the moment i'm using opensuse on my netbook, centOS on my server. Not sure i like opensuse. Sep 21 00:17:02 look at the classes everyone steals from bsd... network, resolving, tcpip etc Sep 21 00:17:26 they are REAL clean and concise Sep 21 00:17:27 I dont like opensuse Sep 21 00:17:28 i put android 4 on my little netbook :D but no touch screen, believe me the experience is not great without touch :( Sep 21 00:17:36 haha Sep 21 00:17:37 probably because of YaST Sep 21 00:17:44 totally agreed with ron_frow_ Sep 21 00:17:45 adq does your netbook have touch support? Sep 21 00:17:51 Android was designed specificly for touch devices :) Sep 21 00:17:56 only in the little rectangle called the trackpad ron_frow_ :) Sep 21 00:18:01 zinx actually it was not Sep 21 00:18:13 ron_frow_: i know it has support for other navigation methods Sep 21 00:18:14 adq: I once put android 4 on my thinkpad x61 Sep 21 00:18:14 it's an old asus eeepc (old...hmmm 1year) Sep 21 00:18:16 there are still signs of that in the modern os Sep 21 00:18:18 it was sooo fast Sep 21 00:18:30 ron_frow_: but most of the interface was designed with touch specificly in mind Sep 21 00:18:31 yeah :) despite it's an atom inside i have, really great perf Sep 21 00:18:43 adq: I was using core 2 duo :D Sep 21 00:18:58 cycle cycle cycle cpu cycle :D Sep 21 00:19:13 seriously it was so fast Sep 21 00:19:19 but experience wasnt that bad Sep 21 00:19:32 if I bind some keys Sep 21 00:19:39 like win-key to change apps Sep 21 00:19:48 that could be nice Sep 21 00:19:51 i was frustrated, i even fall on the trap of touching my screen .. :p Sep 21 00:19:58 of course nothing happen Sep 21 00:20:06 haha Sep 21 00:20:12 and i never found the power off Sep 21 00:20:15 at least you had a mose cursor Sep 21 00:20:28 so i downloaded like many other this widget you put on your desktop for powering off Sep 21 00:20:33 hahha Sep 21 00:20:35 crazy :) Sep 21 00:20:42 long press of ESC ? Sep 21 00:20:54 of power button Sep 21 00:20:54 i tried everything gorudonu ;( Sep 21 00:20:59 power button make a deep sleep Sep 21 00:21:01 should bring the menu Sep 21 00:21:05 srsly ? Sep 21 00:21:07 lol Sep 21 00:21:07 it's really weird also how the frambuffer freezes Sep 21 00:21:18 when you press power button (which does not power off but deep sleep) Sep 21 00:21:44 eeepc 1001PX Sep 21 00:21:45 :D Sep 21 00:21:50 good one because 6 cells for the battery :) Sep 21 00:22:06 I like thinkpads :P Sep 21 00:22:15 thinkpad x61 Sep 21 00:22:17 it's still usefull for testing your android application Sep 21 00:22:21 x61 is nice Sep 21 00:22:29 the new ones are horrible ;_; Sep 21 00:22:29 p_l|backup: and cheap right now ;) Sep 21 00:22:35 x201 is nice too Sep 21 00:22:44 gorudonu: and horribly underpowered for me Sep 21 00:22:55 p_l|backup: whats wrong with new x201 ? Sep 21 00:23:09 how do i get iptables in my avd? Sep 21 00:23:33 kanzure: thats.. unsual question ;P Sep 21 00:23:40 kanzure: what about terminal ? Sep 21 00:23:42 gorudonu: x2xx was still good Sep 21 00:23:45 I mean the latest gen Sep 21 00:23:53 with the horrible apple-like keyboard Sep 21 00:23:58 ah Sep 21 00:24:08 te newset one is x220 Sep 21 00:24:16 havent tried keyboard Sep 21 00:24:23 my personal fav right now is x1 carbon Sep 21 00:24:23 gorudonu: there's a x300 coming, afaik Sep 21 00:24:30 x300 is OLD Sep 21 00:24:35 right Sep 21 00:24:39 I mixed the units Sep 21 00:24:44 X230? Sep 21 00:24:51 maybe Sep 21 00:24:57 the newest one is x220 Sep 21 00:25:02 with ivy bridge Sep 21 00:25:05 don't remember. The new keyboard layout sucks so hard I could use it for power generation Sep 21 00:25:23 how come nobody told me about android:largeHeap="true" :p Sep 21 00:25:49 wabz: save memory ! Sep 21 00:25:56 nah Sep 21 00:26:02 and supported only from 3.x Sep 21 00:26:03 I like bitmaps Sep 21 00:26:13 that's ok, my app is 4.0.3 Sep 21 00:26:18 if you dont save memory, you gonna have bad time Sep 21 00:26:19 :D Sep 21 00:26:37 yeah I've done a lot of profiling and I do kinda know what I'm doing Sep 21 00:27:03 but I'm doing this sketching app, which deals with bitmaps a fair bit Sep 21 00:27:07 wabz: thats god Sep 21 00:27:11 gorudonu: why is it unusual? i have iptables on my device. this emulator is evil and i hate it. Sep 21 00:27:30 but serialize object on onPause() to sd or watever please :P Sep 21 00:27:34 also that largeHeap thing is pretty good, it expands it as you need it Sep 21 00:27:57 kanzure: I dont this I need firewall on my device Sep 21 00:28:02 maybe i dont know :> Sep 21 00:28:06 https://docs.google.com/open?id=0B05q-oHDZSw4NHhtM0ptN1NSYTg Sep 21 00:28:20 error Sep 21 00:28:22 gorudonu: that's not all that iptables does -_- Sep 21 00:28:30 ok Sep 21 00:28:31 got it Sep 21 00:28:42 kanzure: i know what it does ;) Sep 21 00:28:52 wabz: nice Sep 21 00:28:54 I like it Sep 21 00:29:14 exports directly to http://www.youtube.com/watch?v=LyxfvXgQD1Y Sep 21 00:29:51 wabz: galaxy note ? Sep 21 00:29:55 yeah Sep 21 00:30:06 I though so Sep 21 00:30:10 you can zoom in to do the details though Sep 21 00:30:17 but it's still retarded without an s-pen ;) Sep 21 00:30:29 movements were too precise Sep 21 00:36:27 Hey dudes. I've got a crisp splash screen that looks great on LDPI - XHDPI, but looks awful on a Nexus 7. Do I need to specify an alternate drawable somehow for tablets? Something like drawable-xhdpi-long or something? Sep 21 00:36:43 use tvdpi for Nexus 7 Sep 21 00:36:47 otherwise it will use a rescaled hdpi Sep 21 00:37:51 Thanks romainguy. Sep 21 00:38:03 So, drawable-tvdpi? Sep 21 00:38:08 yes Sep 21 00:41:21 Thanks again. Would that also apply to the Kindle Fire? Sep 21 00:41:39 no Sep 21 00:41:53 well, which? Sep 21 00:42:36 Hah, either? Sep 21 00:43:45 then maybe Sep 21 00:43:54 Audible laughter. Sep 21 00:44:44 one is tvdpi but shouldn't be, the other is hdpi, and the old one is hdpi, if memory serves Sep 21 00:45:33 * SpeedEvil is reminded over CGA, EGA, VGA, zvga, ... Sep 21 00:49:27 SpeedEvil: zvga? Sep 21 00:50:25 if you have to ask, you can't afford it Sep 21 00:50:54 Hey guys, I'm having trouble adding external jars to my project in eclipse. I have a libs folder within the project directory where I imported the folder containing the jars. I then shift-selected all of the jars and added them to the build path. When I run the app, I get a NoClassDefFoundError for the first declared class within one of the jars. Any help? Sep 21 00:51:32 hey does anyone know how to fix or stop (FAILED (remote: signature verify fail)) when flashing recovory? Sep 21 00:54:27 helichopter: mark jars in export in eclipse Sep 21 00:54:37 Tracer: wrong channel... Sep 21 00:54:57 sorry Sep 21 01:01:41 any jmdns experts here? Sep 21 01:01:46 or at least someone w/experience Sep 21 01:02:22 helichopter: make sure the Dalvik classloader isn't evicting your jars due to a number of problems Sep 21 01:02:31 basically, look higher up in the logs for VerifyError warnings Sep 21 01:03:17 ultra- I've played with it Sep 21 01:03:19 simple stuff Sep 21 01:03:50 have you gotten it working? i'm able to find a service name based on type, but i don't seem to be getting an ip or port with it… also, serviceResolved is never called… i find it in serviceAdded Sep 21 01:03:58 I wish I could figure out what the deal was wiht these god damn sigsegv in libhwui Sep 21 01:05:04 getting it on jellybean rom Sep 21 01:05:54 gorudonu: did you mean, configure the build path for libs/ and checkmark all the jars for export? cause that ended up freezing eclipse Sep 21 01:09:27 JakeWharton: dalvikvm complains about not being able to disable core file generation when the app starts, but that's about it Sep 21 01:10:57 where in the world is romain when you need the guy Sep 21 01:15:24 helichopter: thats what I did with andengine Sep 21 01:15:43 gorudonu: okay well thank you Sep 21 01:15:53 helichopter: does it work ? Sep 21 01:16:19 gorudonu: can't say it does, eclipse freezes Sep 21 01:16:37 gorudonu: *freezes whenever I try to run the app Sep 21 01:16:40 properties on project Sep 21 01:16:48 java build path -> order and export Sep 21 01:16:58 and mark jars Sep 21 01:17:21 restart eclipse Sep 21 01:17:33 I should go to sleep ;p Sep 21 01:18:27 gorudonu: thanks, my only confusion lies in that I have two other unrelated jars in the project that work fine, but don't have a check in the export tab Sep 21 01:18:47 helichopter: try it Sep 21 01:18:55 I'm gonna sleep Sep 21 01:18:59 3:19 am Sep 21 01:19:00 great :D Sep 21 01:19:07 see you guys later Sep 21 01:19:14 cross fingers for job interview ;) Sep 21 01:19:21 night Sep 21 01:20:20 Up to 19% building OSL. :D Sep 21 01:20:23 gorudonu: I'll keep trying, thanks and good luck Sep 21 01:20:28 Oops, wrong channel. Sep 21 01:31:38 I know that DialogFragment is asynchronous (no blocking), but it there a way to make it blocking. I have a function that I need to happen after DialogFragment is finished, however, I can't simply place it after DialogFragment since it doesn't block? Sep 21 01:33:34 this is also the case with standard dialogs if anyone is familiar with it Sep 21 01:40:55 guess no one has worked with them before Sep 21 02:17:44 Quick question fellow people, if I want to add an identifier with an integer always increasing on each loop how would I go about this Sep 21 02:18:22 Snwspeckle: you're asking really basic Java questions Sep 21 02:18:26 I have a listview that displays an array and I want it to be like ---- Question 1: A (new row) Question 2: D Sep 21 02:18:28 or even really basic coding questions Sep 21 02:47:56 "Rumor of Google Maps for iOS 6 submission likely false" bwahaha Sep 21 02:48:08 Is it normal to get a gc overhead limit exceeded error in eclipse? I've upped the memory parameters in eclipse.ini to 1024m and eclipse still gives me the error, is my android project just way too large? Sep 21 02:48:34 wow, i've never seen that before - evar Sep 21 02:50:37 g00s: How can I add a prefix to each arrayadapter object? Sep 21 02:51:55 Snwspeckle: a prefix? Sep 21 02:52:39 header? Sep 21 02:52:40 So when my Array of data is set into the listview, I can have a prefix of example, Questions 1: (Array Object Here) --- for each row? Sep 21 02:52:55 I believe header yes Sep 21 02:53:17 Well not really, the prefix is in the same row as that object in the row Sep 21 02:53:23 hrrm... I think you either A: put it in your layout, not your data, B: update your data prior Sep 21 02:54:03 helichopter, i got it everytime i try and run my damn project Sep 21 02:54:08 i just build with maven now Sep 21 02:54:14 hello all, if a designer asks me to give him a dimension of a background image, how should I tell him? different devices may have different screen size and dpi. Should I just tell him that to make a 1280x720px and tell him that some part of the boundary may be cropped? Sep 21 02:54:37 I think it might be a stretch to ask for a function (e.g. prefixMyString(input))... but it could just be I've never seen it Sep 21 02:54:57 I think I should just make them static and do a setText Sep 21 02:55:00 alex_PP: okay thanks for the recommendation Sep 21 02:55:01 to the ID Sep 21 02:55:24 you lost me Sep 21 02:55:33 this is for listADapter content? Sep 21 02:55:48 Yes Sep 21 02:56:08 I need to make it so that it will add Question (Increment value here): in front of the arrayed data Sep 21 02:56:17 you can put static text (R.string.prefix) in a TextView in your item layout Sep 21 02:56:55 seems to be what you want Sep 21 02:57:15 But I set my data in the view by using: mainListView.setAdapter(listAdapter); Sep 21 02:57:29 So I cant really manipulate that static textview Sep 21 02:58:37 I thought you didn't want to? it's a prefix afterall Sep 21 02:58:57 the TextView's wouldn't even need an id to be looked up by Sep 21 02:59:19 but you would order them on the same line via LinearLayout or something Sep 21 02:59:22 But can that static text be in every row? Sep 21 02:59:38 for that listview/adapter yes Sep 21 02:59:43 that's what you asked for? **** ENDING LOGGING AT Fri Sep 21 02:59:58 2012