**** BEGIN LOGGING AT Sun Mar 16 02:59:59 2014 Mar 16 03:29:16 I'm still not sure I understand the prescribed use cases for the Support Library Mar 16 03:29:26 Should it be avoided when possible? Mar 16 03:31:13 BHSPiMonkey you should probably use it Mar 16 03:31:53 even for stuff like fragments Mar 16 03:32:05 even on new apis Mar 16 03:33:00 g00s: what if I'm comfortable not supporting older versions? Mar 16 03:33:31 if you use the support lib fragments, you'll get consistent behavior everywhere, even on newer platforms Mar 16 03:33:36 and loaders Mar 16 03:33:41 n stuff Mar 16 03:33:47 in my situation, I would rather keep the codebase more normalized than worry about supporting pre-kitkat Mar 16 03:33:56 you'll have to see *compat this and *compat that everywhere, but meh Mar 16 03:34:42 at least for this project Mar 16 03:35:34 man I upgraded android studio and now gradle is complaining Mar 16 03:35:36 thats annoying Mar 16 03:35:54 elb0w: I learned to stop updating unless I have a good reason Mar 16 03:36:01 always fun wasting time debugging your tools instead of code :/ Mar 16 03:36:13 BHSPiMonkey: yeah I didnt think it would give me any issues Mar 16 03:36:24 I must have wasted 3 nights of what could have been development trying to fix android-studio Mar 16 03:37:41 elb0w: something that helped with my gradle mess was to just download gradle (latest) from their homepage, dump it somewhere, and tell the IDE to use it rather than the builtin copy Mar 16 03:38:22 BHSPiMonkey: that would probably take me longer than creating a new project and pasting my java/xml/res in Mar 16 03:41:15 i dunno what the hell AS does; even though i have told it "use this gradle install here…" … every time I go to create a new project it takes like 10 minutes (on 1Mb/s connection) downloading all the things Mar 16 03:41:26 and i dont even understand what the hell its downloading Mar 16 03:43:35 if i had to guess, its ignoring my preference (use this gradle) and each time running some gradle wrapper thing to re-download gradle Mar 16 03:43:47 and whatever it depends on Mar 16 03:44:17 if you have a super-fast connection you'll probably just shrug that off Mar 16 03:45:00 your first mistake is expecting anything related to the android development toolchain to be fast Mar 16 03:47:41 it used to be fast. eclipse + adt was very fast Mar 16 03:47:58 so i'm comparing it to that; of course ant was much more limited Mar 16 03:48:02 so its comparing apples to oranges Mar 16 03:48:22 hmm. I have no memory of eclipse being "very fast" Mar 16 03:48:30 but you used it more than I did Mar 16 03:48:44 man im so used to ctrl+d or dd to delete a line Mar 16 03:48:48 this ctrl+y is killing me Mar 16 03:48:55 well, hitting 'launch' produced joy in about 5 seconds Mar 16 03:50:00 but the build system was much simpler Mar 16 03:50:40 elb0w i redefined ctrl-d in prefs -> keys Mar 16 03:50:49 its typically duplicate Mar 16 03:50:59 i delete far more than duplicate :) Mar 16 03:51:10 g00s: did we just become best friends? Mar 16 03:51:18 heh Mar 16 03:52:04 this new update to android studio is great though Mar 16 03:52:12 every time I touch anything it asks me to sync now Mar 16 03:52:13 with gradle Mar 16 03:52:14 love it Mar 16 03:55:37 hi how do i adjust the default padding size inside relativelayout? Mar 16 04:25:25 hello, i am trying to hook up an adapter to a listview and i am getting an issue saying object reference not set to an instant of an object Mar 16 04:26:41 pastebin your code... Mar 16 04:28:18 https://privatepaste.com/cd89e5fc4a Mar 16 04:30:03 any particular reason why you're not using setAdapter()? Mar 16 04:30:06 what is the exact error message? Mar 16 04:30:47 A System.NullReferenceException was thrown: Object reference not set to an instance of an object. Mar 16 04:30:57 not sure, ill try that Mar 16 04:32:25 Leeds: setAdapter() is deprecated for the IDE im using Mar 16 04:32:39 um, what IDE is that? Mar 16 04:32:58 Xamarin Mar 16 04:32:59 because I'm pretty sure setAdapter() isn't deprecated Mar 16 04:32:59 Studio Mar 16 04:33:10 oh, well... so you're writing C#? Mar 16 04:33:11 Resource.Id.listView1? same as R.id.listView1? Mar 16 04:33:41 good luck with that. Mar 16 04:33:47 Leeds yea Mar 16 04:33:47 canvs2321 yea i think so Mar 16 04:33:59 I am new, don't know anything about android dev lol just some basic things, trying to make a custom row Mar 16 04:34:24 lol :( Mar 16 04:34:46 do you know c#? Mar 16 04:34:51 Sharoa: this channel is mostly for people using the Android SDK - that is, writing Java - and a little bit for the NDK... at the very least, you need to disclose up front that you're using a third-party SDK and unusual language Mar 16 04:35:18 yea Mar 16 04:35:28 all right, sorry Mar 16 04:36:40 maybe there's an issue in my getview method.. Mar 16 04:37:03 how does logcat work with that? like when writing java, it'll show you exact line of error in .java file. how does a stacktrace look with using c#? Mar 16 04:37:27 yar Mar 16 04:37:44 it Mar 16 04:37:59 looks like just a list of the stack from the IL Mar 16 04:37:59 *from the stack Mar 16 04:40:17 hey guys, inside preferences, im getting event trigger twice when i click on the text of the preference Mar 16 04:40:32 only on the switchPreference though, any ideas? Mar 16 04:42:09 what's your listener? Mar 16 04:43:49 hello my friends Mar 16 04:43:53 i need your help Mar 16 04:44:06 on how to dispose of a body? Mar 16 04:44:46 who you talking to? Mar 16 04:44:46 oops not me Mar 16 04:44:50 it.s baaaaack... Mar 16 04:45:03 canvs2321: u talking to me? Mar 16 04:45:25 jareddlc: what listener do you have that fires your events? Mar 16 04:45:56 setOnPreferenceChangeListener(new Preference.OnPreferenceChangeListener() Mar 16 04:46:07 JesusFreke: don't support you're awake? Mar 16 04:46:08 LMAo Mar 16 04:46:11 canvs2321 goin hard Mar 16 04:46:22 public class LoginActivity extends Activity implements ServiceConnection { Mar 16 04:46:23 Multiple markers at this line Mar 16 04:46:24 - The type LoginActivity must implement the inherited abstract Mar 16 04:46:24 method ServiceConnection.onServiceConnected(ComponentName, Mar 16 04:46:24 IBinder) Mar 16 04:46:24 - The type LoginActivity must implement the inherited abstract Mar 16 04:46:24 method ServiceConnection.onServiceDisconnected(ComponentName) Mar 16 04:46:30 fail Mar 16 04:46:58 ? Mar 16 04:47:19 is b0t an actual bot? Mar 16 04:47:25 wtf? Mar 16 04:47:49 jareddlc: Preference.OnPreferenceChangeListener() : Called when a Preference has been changed by the user. This is called before the state of the Preference is about to be updated and before the state is persisted. seems it gets called twice? Mar 16 04:48:11 ahahah Mar 16 04:48:12 no just a stupid person Mar 16 04:48:27 canvs2321: but i have it on other types, like checkBoxpreference and it gets called once Mar 16 04:48:50 not sure how long freenode has been around, but think how long ago b0t had to find it to secure that handle Mar 16 04:49:10 stop food Mar 16 04:49:22 apparently b0t doesn't know how to read error messages Mar 16 04:49:22 nor how to use pastebin Mar 16 04:49:22 as far as you know... Mar 16 04:49:22 maybe we are all bots Mar 16 04:49:22 more food! Mar 16 04:50:09 jareddlc: do you have code already pasted somewhere? Mar 16 04:50:18 i can paste it gimme sec Mar 16 04:51:15 canvs2321: https://gist.github.com/jareddlc/9578715 Mar 16 04:51:39 the one in question is : pref_connectivity_bluetooth Mar 16 04:53:50 codeguru: KFLMAO Mar 16 04:54:09 so thing issue is, the switchButton has toggle switch + name, when i hit toggle switch, it fires once, but when i click on anything other than the switch, example the name, it fires twice Mar 16 04:56:02 you read this: http://stackoverflow.com/questions/14407514/switch-preference-handling-both-onpreferencechange-and-onpreferenceclick seems to have hacks. cuz seems with the switch preference, there are 2 calls Mar 16 04:56:53 cool, thx canvs2321 i'll give it a read Mar 16 04:57:31 seems like something with the return value you give the listener has some effect of other calls and changes Mar 16 04:59:06 &this is rather old, maybe still an issue http://stackoverflow.com/questions/2542938/sharedpreferences-onsharedpreferencechangelistener-not-being-called-consistently Mar 16 04:59:08 i was hoping i get a boolean but i guess not Mar 16 04:59:55 talks about not using an inner class of the listener,and creating a listener object to use Mar 16 05:03:28 he left :O Mar 16 05:03:37 he'll be back Mar 16 05:03:50 all right well my this keyword doesnt wanna work Mar 16 05:09:43 Sharoa: Why C#, cuz you know it? You tried java? how long been programming so far? any projects or just pure testing of what is what? Mar 16 05:10:51 canvs2321 I foolishly was applying to any job opening that contained the title "intern" and someone found my resume interesting enough to ask me to do a programming challenge to do an interview Mar 16 05:10:55 That company was Xamarin Mar 16 05:10:57 lol Mar 16 05:11:10 ah ic Mar 16 05:11:26 tempted to just forget this project, mobile development is boring to me Mar 16 05:11:38 Sharoa: So do you already know C#? Mar 16 05:11:42 ya Mar 16 05:11:46 ic Mar 16 05:11:50 my coursework is in java, i code in C# in my freetime Mar 16 05:11:57 spent way more time on c# in my freetime Mar 16 05:12:27 they hook you up with the $1899 / year package as a nice guester? Mar 16 05:13:22 canvs2321 whaT? Mar 16 05:13:30 well. not sure how the c# is going, but if you want to stay sane with android i'd say go full on java. way more examples to learn from. but i've never searched c Mar 16 05:13:36 # examples Mar 16 05:13:56 i'm more interested in low level Mar 16 05:14:00 programming Mar 16 05:14:49 for android? Mar 16 05:15:04 no Mar 16 05:15:08 lol i don't like mobile at all Mar 16 05:15:12 think it's a fad 3bh Mar 16 05:15:16 how to preserve x/y ratio when scaling image in XML? Mar 16 05:15:25 use a linear transformation Mar 16 05:15:29 matrix Mar 16 05:15:30 k Mar 16 05:17:48 what's the fad, mobile? Mar 16 05:18:01 yeah Mar 16 05:18:15 woah haha, think the fad will be pc's Mar 16 05:18:23 why's that? Mar 16 05:18:23 mobile is going nowhere fast Mar 16 05:18:37 mobile is indeed going nowhere Mar 16 05:18:38 cuz ppl r drones. things get smaller Mar 16 05:18:40 it is a bubble Mar 16 05:18:52 doubt it Mar 16 05:19:12 really? Mar 16 05:19:23 how can whatsapp in any universe be worth 16billion Mar 16 05:19:46 yeah, things get smaller and faster. Mar 16 05:20:13 i can't justify that, but mobile is here for awhile. if not for every Mar 16 05:20:21 the devices may change but mobile will only get better Mar 16 05:20:32 phones will disappear Mar 16 05:20:40 PC's will go away, i agree Mar 16 05:20:50 i'll be drinkin sweet tea on the moon while talking to someone 8billion miles away Mar 16 05:20:56 phones may Mar 16 05:21:00 but i'm saying mobile Mar 16 05:21:08 i guess Mar 16 05:21:26 mobile as in keeping connected on the tinyest object possible Mar 16 05:21:38 i doubt app markets will exist for those Mar 16 05:21:57 ok, that way i'll agree a bubble Mar 16 05:22:13 like, do you ever look at an app and go "wow, that was an enjoyable way to spend my time"? Mar 16 05:22:14 but a bubble that may not burst in awhile Mar 16 05:22:40 i think 20 years, tops Mar 16 05:22:43 Sharoa: i don't use many apps, usually just preinstalled with whatever rom i install. Mar 16 05:22:48 is 20years a bubble/ Mar 16 05:22:49 ? Mar 16 05:23:00 the housing market in the US took 20 years to bubble up Mar 16 05:23:01 so yes Mar 16 05:23:11 Houses aren't the same Mar 16 05:23:19 20years in technology is a long long long long time Mar 16 05:23:20 no, but the bubbling principle is Mar 16 05:23:30 you're right, but things are stagnating Mar 16 05:23:47 size will not decrease forever when it comes to chip size Mar 16 05:23:54 Then capitalize while you can&use the right tools for what you are developing for Mar 16 05:24:08 i don't want to make a profit, i want to help people =) Mar 16 05:24:14 so c# android, bleh, may take off later, but now it's java and android Mar 16 05:24:32 lol trust me, if i was writing an app because i wanted to it would be in java Mar 16 05:24:38 k Mar 16 05:24:50 xamarin wants me to write an app in c# Mar 16 05:26:08 :) Mar 16 05:26:53 wow, kindle app got a nice update :) Mar 16 05:26:54 :P Mar 16 05:28:02 guys i had too much spicy food today Mar 16 05:28:08 its about to come back in a bad way Mar 16 05:28:25 Write an app to solve that Mar 16 05:28:31 mmm burn on the way down and up ;) Mar 16 05:29:09 activated charcoal ! Mar 16 05:43:19 well that was an ordeal Mar 16 05:43:25 20 minute ordeal... Mar 16 05:43:51 charcoal can take a while, yeah. peroxide would have been quicker Mar 16 05:45:02 peroxide sounds foamy Mar 16 05:46:50 lol Mar 16 05:46:54 canvs2321 where are you from? Mar 16 05:49:20 oHIo Mar 16 05:50:47 really Mar 16 05:50:51 im from mass Mar 16 05:51:13 sounds far :) Mar 16 05:51:25 haha Mar 16 05:51:49 it's like 2hrs to get out of ohio any direction for me, anything passed 40mins is far Mar 16 05:52:23 haha Mar 16 05:52:39 in rhode island, anything > 30min drive is really far... Mar 16 05:53:15 :) Mar 16 06:01:43 <^cheeky> hi, i am really stumped, and i know i missing something thats very rudimentary to architecting this functionality, but i have an activity that captures the search intent, this fragment activity hosts a view pager, with action bar tabs, my search works and also the tabs return the right fragment but i am stomped on how to update each fragment with the new search query :/ Mar 16 06:06:49 ^cheeky: either A) update your fragments that are alive&or visible from your main activity, or have your fragments get their data from the mainactivity that keeps data public Mar 16 06:08:33 Anybody here? Mar 16 06:08:46 why you gonna rob the joint? Mar 16 06:08:48 <^cheeky> canvs2321: well i implement a singleton object that holds the data, but how do i update that fragments in each page Mar 16 06:09:13 ^cheeky: you create a method in your fragment that your main activity can call Mar 16 06:09:28 <^cheeky> would i need to some how call the fragment manager of the view pager and do some sort of hack that way ? Mar 16 06:10:10 no you just in your main activity when new data poll exisiting fragments&if aware you call a method on them to update with your data Mar 16 06:10:47 or a host of other options Mar 16 06:10:48 Lol nope just impressed that ppl still using irc after all these years - figured it died a sad death - Mar 16 06:10:58 you just need to decide how the data needs to be expressed Mar 16 06:11:09 after all these years or decades? Mar 16 06:11:16 been around since the 80s? Mar 16 06:11:21 <^cheeky> well the thing is ... once the query is issued it actually parse information from the net and saves into the sigelton object Mar 16 06:11:37 Heh, figured it would be replaced by other channels, glad its still in use Mar 16 06:12:03 ^cheeky: what i'm saying is get your data how you get your data, when something wants/need to reference that data do it! anyway you want Mar 16 06:12:15 I've been around on it since early 90's - time's change, ya never know... Mar 16 06:12:33 there are intents, there are static there are methods, there are receivers there is so many ways Mar 16 06:12:59 <^cheeky> canvs2321: ill add a public method that the activity could invoke that will set off a notify data set changed and perhaps invalidate its views or something Mar 16 06:13:07 <^cheeky> canvs2321: thank you :)) Mar 16 06:13:18 Anyone got issues with camera roll access since kit kat ? Mar 16 06:13:51 ^cheeky: i wouldn't do that. in main activity only notify children of a change, or allow children to access the parent. no invalidating, just validating data Mar 16 06:15:50 <^cheeky> canvs2321: hmmm but once i get the new search text, i could invoke a public method in the fragments inself to go fetch new data right ? Mar 16 06:16:39 <^cheeky> *itself Mar 16 06:20:12 Maybe another time... Mar 16 06:31:47 Hello Mar 16 06:33:45 I just had a very quick question for you.. I am trying to follow the developer tutorials on googles android site but have run into some issues. mainly it keeps creating a fragment xml and no longer opens the hello world activity. did something just change and the tutorials im following just not updated for them? Mar 16 06:46:23 dee28: is there a fragmentactivity? Mar 16 06:47:16 yeah. I keep following the tutorial creating a brand new project with a blank activity and it keeps making a fragment and a main Mar 16 06:48:01 well sounds like hello world activity got moved to fragmentactivity Mar 16 06:48:47 before i could compile the new project and run it on my emulator but now with the fragment it doesnt get a message about launcher Mar 16 06:49:20 show a stacktrace of the error&pastebin some code Mar 16 06:50:10 hmm not sure how to do that.. i have only been messing with eclipse for like 2 days.. just trying to get a grasp on the tutorials Mar 16 06:50:50 if vanilla project, shouldn't be any errors, unless some kind of programmer snafu. what's your minSdk? Mar 16 06:50:56 it was working yesterday but now on a clean new project it doesnt work Mar 16 06:51:32 2.2 min - kitkat for max and compile Mar 16 06:51:53 well can't do fragment with 2.2 min. you have support library? Mar 16 06:52:05 &why the hell 2.2 minimum? Mar 16 06:52:51 im just following the tutorial. yeah thats the other new thing when i create the project i now get the appcompat_v7 project above the new one Mar 16 06:53:37 well if no current project in mind&just playing around, set minSdk to 14> Mar 16 06:54:01 where's the tutorial? Mar 16 06:54:46 http://developer.android.com/training/basics/firstapp/creating-project.html Mar 16 06:56:50 i guess what's your issues? you never stated Mar 16 06:57:35 Following the tutorial it never mentions anything about fragment but im now getting that and before it would compile just after making the blank project but now it fails due to no launcher Mar 16 06:57:58 due to no launcher? that doesn't sound code related Mar 16 06:58:16 let me see if i can get the exact message.. Mar 16 06:59:12 No launcher activity found Mar 16 06:59:46 i havent made any code changes, just new andoird project Mar 16 07:00:01 well then, that's not a code default, it's a launcher problem. u rooted> Mar 16 07:00:02 using eclipse adt bundle Mar 16 07:00:03 ? Mar 16 07:00:44 are the avd emulators considered rooted? Mar 16 07:00:45 show your AndroidManifest.xml Mar 16 07:01:05 in a pastebin Mar 16 07:04:20 Leeds: here now Mar 16 07:07:18 \http://pastebin.com/5QtSJ1HH Mar 16 07:07:47 its just default from new android project. i havent made any changes. all i did was update my eclipse bundle earlier today Mar 16 07:08:13 ive even deleted all projects and deleted the bundle and downloaded it new, same thing now Mar 16 07:23:00 I was just curious if there was maybe some update that altered the process or i am just having one of those days where i need to step away from the computer ;) Mar 16 07:48:16 eclipse creates the usual hello world app with a mainActivity for me. Latest version too. Mar 16 07:49:49 odd, maybe it was something i imported from the sdk then that messed me up.. im deleteing everything now . will try just clean extrsacted bundle Mar 16 07:50:57 according to your manifest you also have a MainActivity. Mar 16 07:52:59 yeah when i create a new project with a blank activity id get the main activity annd a fragmented activity and the initial hello world wont launch Mar 16 07:56:00 well that's interesting. Can you link to a screenshot. I have to see it to believe it lol Mar 16 07:57:08 lol give me a few. reextracting the adt/eclipse bundle now to see if it does it before i added the other apis Mar 16 08:01:38 how do you display the full contents of two ListViews within a scrollable LinearLayout? i.e. you can't scroll within each listview, but you can scroll within the wider LinearLayout Mar 16 08:03:16 And it was something I had downloaded when adding the other apis for my emulator.. . i appear to be working fine now Mar 16 08:04:23 Cool, gl Mar 16 08:09:19 meh, i guess a solution is to abandon listviews entirely and instead load up a linearlayout with textviews Mar 16 08:11:10 im not familar with list views, are you able to specifcy a specific size on them? make them only take up the size of the linearlayout? Mar 16 08:12:01 gOOs how would you compare okhttp, retrofit, retrofir, to volley? Mar 16 08:12:28 they're different things Mar 16 08:13:54 okhttp is a low-level HTTP client Mar 16 08:14:29 volley is a high-level HTTP client with Android semantics (that you can use with OkHttp) Mar 16 08:15:08 Retrofit is a high-level HTTP wrapper through declaration of a Java API (that you can use with OkHttp) Mar 16 08:30:51 wrt Retrofit, I saw that I can annotate the method parameters like getFoo(@Path("foo_string") String fooString); Mar 16 08:31:02 But can I annotate the member fields in the same way? Mar 16 08:31:30 class ApiObject { @FieldName("foo") String bar; } Mar 16 08:33:33 Gson will let you do that, yes. Mar 16 08:34:07 (and Retrofit uses Gson by default) Mar 16 08:35:15 when I hide the navigation Mar 16 08:35:38 does that force Android to put a sort of tap listener over my activity or something? So that a tap reveals it? Mar 16 08:35:56 I noticed that when I don't hide navigation, I have areas where tapping in my app does nothing Mar 16 08:36:25 but as soon as I hide the navigation, the taps in those same locations show the navigation Mar 16 08:37:13 problem is I also have areas that react to taps which now take two taps Mar 16 08:39:57 Greetings. Mar 16 08:40:34 Is there a standard defintion of ClientID? Is it a function of the MAC address or other hardcoded serial numbers or is it completely random? Mar 16 08:41:30 JakeWharton: Ah, in GSON, I was looking in the wrong place then. Mar 16 08:41:54 Btw, why do you use Enum instead of a normal class for your API model classes? Mar 16 08:43:07 hi Mar 16 08:44:25 kakazza: where? Mar 16 08:44:42 Is there any reason AAssetManager_open might return NULL other than the file not existing? Source: http://pastebin.com/uPRVJ9t1 I'm positive the file exists, I looked in the .apk to make sure Mar 16 08:46:05 hi Mar 16 08:46:19 nor can AAssetManager_openDir find any of the files in my assets directory, nor any subdirectory Mar 16 08:46:57 JakeWharton: https://github.com/JakeWharton/u2020/blob/master/src/main/java/com/jakewharton/u2020/data/api/Section.java Mar 16 08:47:13 because the input values are fixed. Mar 16 08:47:21 can anyone explain how state list drawable is used? Mar 16 08:47:50 I see Mar 16 08:48:04 it forces the consumer of the API to use it how you want them to Mar 16 08:48:22 can i use android:state-checked or state-selected on ImageButton? Mar 16 08:48:31 that's just normal good Java API design practice Mar 16 08:49:09 So if the sections weren't "hot", "top",... but an arbitraty String you wouldn't have used an enum. Mar 16 08:49:19 Now to see where you use the Section. Mar 16 08:50:01 correct Mar 16 08:52:14 btw, do you guys at square use Robolectric with Gradle yet? Mar 16 08:52:24 yes and no. not really Mar 16 08:52:43 It seems it still lacks KitKat support and integrating it with Gradle (and then AS) isn't plug and play. Mar 16 08:52:51 i have an internal fork of the plugin i wrote but it's a sloppy mess Mar 16 08:52:56 heh Mar 16 08:53:36 I really want to use it, but meh. I'm not sure if I should consider it for production just yet, at least with Gradle. Mar 16 08:54:16 i'm currently just writing normal Android units tests that have to run on a device Mar 16 08:54:18 lame sauce Mar 16 08:54:21 Currently playing with Espresso (thanks to your gradle fork). Mar 16 08:54:28 heh Mar 16 08:54:51 And for integration tests? Mar 16 08:55:11 none Mar 16 08:55:19 derp Mar 16 08:55:29 How come? Mar 16 08:55:36 not needed. unit tests cover everything Mar 16 08:56:09 Yes, it tests the individuals units, but not if they work together and if they are correctly used by the app/UI. Mar 16 08:56:11 do you have anything left on Maven? Mar 16 08:56:26 one app, and a few libraries Mar 16 08:57:24 kakazza: internal dogfooding covers that. we've never had issues with that phase of development to need proper integration tests. Mar 16 08:57:47 we also unit test the UI Mar 16 08:57:53 eh? How Mar 16 08:58:08 inflate a view, call a method on it Mar 16 08:58:12 Ok, so you distribute nighlies to enough people that they spot errors fast? Mar 16 08:58:25 more like weeklies, if that Mar 16 08:58:33 Sure, same concept. Mar 16 08:58:37 How do you distribute? Mar 16 08:58:41 Manually? Mar 16 08:58:46 Play Store Mar 16 08:58:52 Beta feature? Mar 16 08:59:01 internal Play Store Mar 16 08:59:24 https://support.google.com/a/answer/2494992?hl=en Mar 16 09:00:02 is the source code for the ndk asset manager available anywhere? i'd like to take a look Mar 16 09:00:59 Neat Mar 16 09:02:29 hmm, Google Play moved 'settings' and 'help' from the hidden options menu, to the nav drawer. i guess thats what they want now Mar 16 09:03:05 hidden options menu? Mar 16 09:03:12 overflow menu Mar 16 09:03:17 well, whatever - overflow Mar 16 09:03:20 how's that hidden -.- Mar 16 09:03:32 my mistake Mar 16 09:03:56 Zharf: on devices with a menu button it's hidden Mar 16 09:04:14 on pre-KitKat Mar 16 09:04:16 JakeWharton, I don't consider it hidden still Mar 16 09:04:26 I have a menu button on my device Mar 16 09:04:45 my condolences Mar 16 09:05:03 well it's not my fault they're not making devices with hardware keyboards anymore Mar 16 09:05:23 aaanyway, navdrawer is more hidden, in my opinion... such a crappy concept Mar 16 09:08:48 Hi Mar 16 09:09:02 I am trying to add the opencv library in Android Studio Mar 16 09:09:03 I am getting an exception when I execute my program : java.lang.UnsatisfiedLinkError: Native method not found: org.opencv.highgui.Highgui.imread_1:(Ljava/lang/String;)J Mar 16 09:09:03 So I think library is not configured correctly or any thing I missed through the process Mar 16 09:09:03 Can anyone help me for this problem Mar 16 09:13:47 I have added java opencv in the android project as library and I am able to access the OpenCV method also Mar 16 09:14:07 but at run time, it fails with java.lang.UnsatisfiedLinkError: Native method not found: org.opencv.highgui.Highgui.imread_1:(Ljava/lang/String;)J Mar 16 09:17:19 Hell, TGM Mar 16 09:17:23 Hello* Mar 16 09:17:27 lol Mar 16 09:17:43 hey codeguru ! Mar 16 09:18:13 How's it going? Mar 16 09:18:24 well Mar 16 09:19:02 having some weird issue with integration of NDK so files in Android Studio Mar 16 09:19:30 I just read your question. I don't have any idea of what to suggest though ;-( Mar 16 09:19:47 oh okay no problem Mar 16 09:20:42 it might I will have to shift for this stuff to ADT Mar 16 09:20:45 such integration exists? :) Mar 16 09:20:52 yes Mar 16 09:21:07 can you develop cpp? Mar 16 09:21:40 only add so files in my project Mar 16 09:21:47 see this http://stackoverflow.com/a/20926595/1741671 Mar 16 09:21:56 ah ok Mar 16 09:22:02 thought of something nicer Mar 16 09:22:04 I have already so files of the opencv in their sdk Mar 16 09:23:57 any retrofit user here, who dealt with cookies? Mar 16 09:24:01 Is there any reason AAssetManager_open might return NULL other than the file not existing? Source: http://pastebin.com/uPRVJ9t1 I'm positive the file exists, I looked in the .apk to make sure Mar 16 09:25:12 TGMCians: I've done some JNI stuff before and it's not no fun Mar 16 09:25:43 hmm Mar 16 09:26:17 hope jetbrains will do something with it Mar 16 09:26:33 Afaik, you can add the so files in your project in Andorid Studio and call methods of the native library Mar 16 09:26:52 well you got some other error ;) Mar 16 09:27:46 gordon_ you deal with cookies? Mar 16 09:28:02 gordon_ http://tools.android.com/recent Mar 16 09:28:10 trying to figure out how to accept them and have them "attached" to every request... Mar 16 09:28:19 Version 0.8 of the Android Gradle plugin provides the following improvements: Add support for NDK prebuilts in library projects. Mar 16 09:29:04 but I did in same way but still failing at runtime with java.lang.UnsatisfiedLinkError: Native method not found: org.opencv.highgui.Highgui.imread_1:(Ljava/lang/String;)J Mar 16 09:29:45 seems quiet weird Mar 16 09:43:53 Ah, worked perfectly with ADT Mar 16 09:47:01 maybe try a newer gradle-plugin Mar 16 09:47:37 perhaps the wrong gradle dance Mar 16 09:48:31 but i dont mess with jni, so no idea Mar 16 09:48:42 One more try: Is there any reason AAssetManager_open might return NULL other than the file not existing? Source: http://pastebin.com/uPRVJ9t1 I'm positive the file exists, I looked in the .apk to make sure Mar 16 09:50:38 g00s I have latest gradle-plugin 0.9 Mar 16 09:50:51 ah, sorry thought you were using 0.8 Mar 16 09:52:11 bankai_ I don't think so, I have latest gradle version and added the library correctly that why I am able to call method of opencv. AS giving hint to me of opencv method. Mar 16 09:55:55 you run 'nm' over it ? Mar 16 09:56:04 Hello. Is there a way to pass a reference to a thread between two instances of an activity (ie, i start a thread in oncreate, ondestroy gets called--the thread is still whiling--can I get a reference to that thread next time oncreate is called)? Mar 16 09:56:14 uh Mar 16 09:56:19 no, not really Mar 16 09:56:27 and that sounds like a terribly wrong approach Mar 16 09:56:38 lasserix, can you explain more about what your usecase is? :) Mar 16 10:00:50 i have a set of tasks that can take from 1 - 60 seconds Mar 16 10:01:34 since a user can enter and exit and enter and exit the app (some goats do that) i wanted to keep a reference to the original set of tasks Mar 16 10:01:46 is there a way to do that without using a service? Mar 16 10:01:57 bankai_ no Mar 16 10:02:10 lasserix, execute them on an executor Mar 16 10:02:14 lasserix, and use Futures Mar 16 10:02:40 How does that solve the problem if I can't get a reference to the original instance of the executor? Mar 16 10:03:31 I would wrap it in a singleton, but since the tasks require context I have heard this is can cause memory leaks, et all. Mar 16 10:03:34 em, your threads SHOULDN'T be running after the user exits your app anyway Mar 16 10:03:39 if you want that you need a service Mar 16 10:03:44 ahh ok Mar 16 10:03:46 :) Mar 16 10:03:50 there is no other way? Mar 16 10:04:27 other way to do background service without using a Service class? :) Mar 16 10:04:58 Yeah it sounds silly unless you have to explain it to people who have no idea what an activity is. Mar 16 10:05:03 ;p Mar 16 10:10:03 lasserix, yeah, the whole point of service is that you have execution decoupled from activities Mar 16 10:10:11 which are only supposed to exist when user is looking at them Mar 16 10:10:16 alternatively you might get away with loaders Mar 16 10:10:31 but I found that API to be terribly confusing :) Mar 16 10:10:46 yeah, i only use cursorloader, the rest is crap Mar 16 10:26:26 hmmm Mar 16 10:26:34 I never understood loaders correctly Mar 16 10:27:29 Is there a way to know if the user has rotation locked? Mar 16 10:27:42 and found out in the end that my library doesn't support them yet Mar 16 11:01:21 ProgramMax: http://stackoverflow.com/questions/10725565/how-to-check-if-the-rotation-is-locked-on-android Mar 16 11:09:36 those are bad permissions to ask for... Mar 16 11:13:39 yeah the other dude says you don't need those permissions if all you are doing is reading Mar 16 11:17:20 how can I change html encoding in string ? Mar 16 11:17:25 i.e. ' Mar 16 11:17:40 I'm using URLDecoder.decode Mar 16 11:17:45 but it doesnt change it Mar 16 11:19:00 I've a Intent starting an activity, how to send data back to the main activity? Mar 16 11:19:25 z3yo: startActiityOnResult Mar 16 11:19:38 on started actiity do setResult(some_int); Mar 16 11:19:48 and in main actiity override onActiityResult Mar 16 11:19:52 and look for that Mar 16 11:20:24 Yes! thanks gordon_ Mar 16 11:20:43 np Mar 16 11:21:46 gordon_: there's an Html class where you use its Html.fromHtml(str); method Mar 16 11:24:14 shmooz: will check now, thanks Mar 16 11:32:52 hi guys... so.. is hard work worth it? It'll take many years (studying) before it pays off, and I still live at home and I'm 30. My heart and my brain tells me to just stay with my current work and live a nice life with my play station. Mar 16 11:35:15 You do that. Have fun. Mar 16 11:36:39 sounds horrible to live at home when you're 30 :( Mar 16 11:36:51 it is Mar 16 11:36:54 im depressed, you see. Mar 16 11:37:41 I'm not sure doing android development is going to help you with that :/ Mar 16 11:38:06 treehouse: you could build a treehouse in your backyard Mar 16 11:40:17 treehouse: if you don't think programming is fun and you won't be obsessing with it, I don't recommend it for only pursuit of money Mar 16 11:41:04 shmooz: works like a charm, thank you Mar 16 11:41:53 gordon_: good to hear :) Mar 16 11:42:32 treehouse: programming is hard job Mar 16 11:42:37 I like programming and I want to become a master.. I'm obsessed. But while I'm spending my time with the computers, I watch my friends get families etc. :( Mar 16 11:43:03 treehouse: it doesnt matter I guess ;) Mar 16 11:43:09 http://www.amazon.com/Haribo-Gummy-Candy-Sugarless-5-Pound/product-reviews/B000EVQWKC/ref=cm_cr_pr_top_link_1?ie=UTF8&showViewpoints=0&sortBy=byRankDescending Mar 16 11:43:12 best review ever :D Mar 16 11:48:40 Someone trying to be clever use two different date formats for the same entity->key in an API I'm working with. Is there any nice way for gson to handle this other then writing my on JsonDeserializer? Mar 16 11:55:28 I want to do a PhD in physics. But that will barely pay off economically (and some people will think that I'm an idiot). I want to do it because I'm curious.. but still, chances are that I'll end up in a trailer afterwards. Is it worth it? Mar 16 11:57:16 treehouse: you can settle at what you expect or not ;) Mar 16 11:57:32 treehouse: work on uni ? Mar 16 11:57:35 what is the problem Mar 16 11:57:57 also Mar 16 11:58:01 I hate physics :P Mar 16 11:58:55 treehouse: do you have any degree now or would you start from scratch? Mar 16 12:01:08 I've got a half degree in CS Mar 16 12:01:17 and I'm thinking about PhDing in CS Mar 16 12:01:26 what is a half degree? BS? Mar 16 12:01:29 what's half degree ? Mar 16 12:01:37 I'm not done yet Mar 16 12:01:54 in bS ? Mar 16 12:02:02 what year are you ? Mar 16 12:02:12 so you need like 6 or 7 years Mar 16 12:02:20 to make an phd Mar 16 12:02:22 yeah Mar 16 12:02:28 all I can say is Mar 16 12:02:32 'good luck' Mar 16 12:03:08 why so? :P Mar 16 12:03:11 doesn't CS still torture you with calculus ? Mar 16 12:04:20 O.o Mar 16 12:05:02 shmooz: there's a lot of math, yes Mar 16 12:06:44 I'm trying to wrap my head around this... there's so much to learn if you get a PhD in computer science.. but still, when I think about it, it all just seems like a huge waste of time if you don't utilize it [i.e. working as a programming]. What do you need a PhD in CS for? I really want one though. Mar 16 12:07:03 I don't see the point in aiming at a PhD. Mar 16 12:08:23 when a third degree black belt will do just fine ;) Mar 16 12:18:40 A masters degree will do just fine in most places. Mar 16 12:19:19 how do you make a life plan? I want to focus on intellectual achievements (I like CS) and I'd like to have a nice life. What do I do? Do I try to fit in as much stuff-to-read as I can in a schedule? Mar 16 12:19:41 cezium: prestige, and the intellectual gain you might get if you want to advance technology Mar 16 12:23:15 treehouse: prestige might be the only reason for a PhD. Get your masters degree and work for a few years and see if you really think a PhD is really needed. Mar 16 12:28:22 anyone know which channel the NDK developers hang out at? Mar 16 12:55:54 hey! can anyone help me with a publishing on the play store question here? Mar 16 12:57:12 i'm publishing a paid app, do i need an EULA so that people know there's no warranty, or is that covered by some default google license? Mar 16 13:06:09 Gargron: I thought that's assumed for most apps Mar 16 13:08:00 shingshang, if it is then that's great, can anyone confirm it for sure? Mar 16 13:16:58 Hi, I'm getting a gradle error "A fatal exception has occurred. Program will exit." when I updated to android studio 0.5.1 (from 0.4-ish), any idea how to fix? Mar 16 13:23:10 how do i get notified with result of AsyncTask? Mar 16 13:24:49 mylord, the AsyncTask has a onPostExecute method that receives the result as the argument Mar 16 13:26:13 Gargron: what's the point of this answer? (can't it use the onPostExecute method instead?) http://stackoverflow.com/questions/9963691/android-asynctask-sending-callbacks-to-ui Mar 16 13:27:22 mylord, depends on your implementation. if your asynctask is a private class in your UI class, the onPostExecute method can access the UI just fine Mar 16 13:27:40 in the SO answer, the asynctask is a separate class, so has no access to the activity methods Mar 16 13:29:48 in my case, MainActivity does a lot of HttpGet's. I made an HttpGetAsyncTask.. upon the return of HttpEntity, I want to do something different in most cases, and then alter some eg UI elements in MainActivity.. so it seems the SO answer is for me, yes? Mar 16 13:31:05 in the SO answer, the asynctask is a separate class, so has no access to the activity methods => why not make an static field in the activity class and use it? Mar 16 13:31:22 public static MainActivity activity; in the mainActivity class, and one can use that Mar 16 13:31:30 PatrickBic, the static method will have no access to the running instance of the activity Mar 16 13:31:32 (this.activity = this in the constructor is needed of course) Mar 16 13:31:40 no static method; i said variable. Mar 16 13:31:51 field. ok.. yea ;-) Mar 16 13:31:59 you can pass the context to the AsyncTask Mar 16 13:32:02 in the constructor Mar 16 13:32:06 Don't keep static references to activities Mar 16 13:32:07 and access that Mar 16 13:32:19 Use e.g. an eventbus to post results back to the activity Mar 16 13:33:32 SimonVT, how/why is that superior to the static-way? (even stackoverflow turned up this method when i searched for it a few days/weeks ago) Mar 16 13:35:15 activity instances can be destroyed by android at any point, your static method will keep references of them (my guess) Mar 16 13:36:06 right, didnt think of that (silly me). Mar 16 13:42:42 I used to fall into the trap of making "Internal Framework" anti-pattern.. I can construct an elaborate system for this, but I suppose the SO answer is simple and effective Mar 16 13:42:51 Hi, can anyone tell me howto route adb through my mobile firewall avast? I really cant get it to work, only disabling the firewall helps... Mar 16 13:44:08 my own rule wont work, and when i keep enabling more services and apps I can forget about whitelist mode... -.- Mar 16 13:47:14 Now, I usually am retrieving JSONArray from the HTTP GET, so I guess I might want to make an JsonGetAsyncTask.. but there will be some copy-pasting from HttpGetAsyncTask, which I don't like.. OTOH, trying to avoid copy-pasting often leads to Internal-Framework anti-pattern in Java, without eg c++ generics Mar 16 13:48:12 erm, well, not really a language problem, just complicated in general, probably Mar 16 13:50:55 for each caller of JsonGetAsync, or whateverGetAsych, I'll need to pass a implementation of OnTaskComplete, which, at this point, is a regular method in my MainActivity, so I'll need to make separate classes that extend OnTaskComplete Interface, or use anonymous class(?), either way, need some kind of refactoring, it seems Mar 16 13:55:19 I can use anon classes for as Visitor, passing it to a generic MyAsyncTask, doInBackground(..) { visitor.visit(); } onPostExecuting(..) { listener.onTaskComplete(); // need access to caller to update whatever UI? } Mar 16 14:14:05 Hi, I have a class for handling the manipulation of an image, but I'm not sure how I can implement a function to set the width/height of the image. There exists a setWidth function in the bitmap property, but I get a NoSuchMethodError when trying to use it. Here is the class: http://pastie.org/8935665 Mar 16 14:14:09 it is very simple atm Mar 16 14:17:28 there is a way to change text size (textview, edittext, button, etc etc) to all appl? Mar 16 14:17:55 not only for 1 element and not for only 1 type of element Mar 16 14:18:21 i want every text inside app become 20sp Mar 16 14:37:38 i do that http://pastebin.com/Q11zARNh , there isn't a better solution? Mar 16 14:46:42 N00bie question: From my 'base' activity, I start a service. This service has a listener, and upon triggering that listener, i want to run a method in the base activity. How would I get a reference to the active base activity? Mar 16 14:47:39 You are starting the Service with a Context, right? Mar 16 14:48:15 Yes, in the constructor of the service I have this.mContext = context; Mar 16 14:48:22 But, btw.. why should you want to do this? S You could either create a static method, access the method using the context, or you just use an activity instead of a service and use startactivitywaitforresult Mar 16 14:49:12 But there is no reason doing this what you are looking for. Services are designed to be a service. Maybe you are looking for an asynctask or Thread which let you allow doing stuff in the background and still be able accessing the activity Mar 16 14:49:13 Well, its a location listener service, and pretty much everyone i checked with advised me to make it a service :) Mar 16 14:49:34 Use a Receiver. You may/could send an Intent to the Activity. Mar 16 14:50:13 hmm. I've never used one before. Is a reciever some sort of custom Listener? Mar 16 14:50:14 Usually i do it this way: Ive an Activity or Service who's sending an Intent to a Service. The Service parse the Intent and enable the LocationReceiver. Onec the Receiver triggered an event i process it within the receiver and/or send an intent back to the activity Mar 16 14:50:37 A receiver can be used within an activity and listen for events. It's the right way doing it. Yes. Mar 16 14:51:20 won't that be kind of double though, on recourses etc, since the service already implements a location listener? Mar 16 14:51:27 I'm just trying to wrap my head around it :) Mar 16 14:52:07 one of you got an example of factoring out "common components" from the build.gradle to be used in multiple projects via some sort of include mechanism? Mar 16 14:57:02 ThomQ Mar 16 14:57:24 Trust me. Create a Receiver within the Activity. Start the SErvice who's requesting for LocationUpdates and send the events to the receiver. Mar 16 14:59:34 hey retrofit - cookie anyone? Mar 16 15:00:09 nope Mar 16 15:00:42 misterli; Cool. Trying to find a good example. Love how the script reference offers none. But to be honest, I'm such a n00b to android, that most of the time the info given there just makes my head spin anyway :P Mar 16 15:01:31 You should read the basics in the developers guide first. There's a good tutorial and learning by doing example. It takes about 4-5 days but it worht it Mar 16 15:01:47 Coding for Android is very easy but if you dont have the basics you'll code crappy and non-performent code Mar 16 15:02:04 http://developer.android.com/training/index.html Mar 16 15:02:21 just to be clear though, a reciever you are talking about is not a broadcast reciever, right?> Mar 16 15:02:30 It Mar 16 15:02:44 It's like this, yes but it's "custom". You can define the events Mar 16 15:04:24 Check Little Fluffy Location library. Its doing a good job and you can probably learn from the code: https://code.google.com/p/little-fluffy-location-library/source/browse/ Mar 16 15:06:31 Ahh k, thanks Mar 16 15:11:20 ahhh, i think i get it yeah Mar 16 15:11:26 thanks Mar 16 15:12:12 im quick to learn, but im also stubborn :P So usually I think up some simple project i want to achieve, and then go searching for all sorts of tutorials and examples i can use to get to that goal. Mar 16 15:31:42 Can I have some help with something Mar 16 15:37:09 Nova_Alpha: no Mar 16 15:37:18 D: Mar 16 15:37:19 Nova_Alpha: haha just post your question Mar 16 15:37:29 and people will help if they know the answer Mar 16 15:38:10 How can I code to let the app run in the background, if it's not in view(minimised)? Mar 16 15:38:35 what do you mean by view(minimized)? Mar 16 15:38:43 Nova_Alpha: You need to start a "service". Mar 16 15:39:05 ^ Mar 16 15:39:15 Can I also have it able to turn on or off? Mar 16 15:39:20 For a timer Mar 16 15:39:27 Best book for learning Android development? Mar 16 15:39:36 aemquo: big nerd ranch guide Mar 16 15:39:55 Nova_Alpha: Yes. Mar 16 15:41:31 How would I go about doing that? Mar 16 15:42:52 By the time you have your service up and running that will be obious to you. There are many ways, depending on your exact use-case (which you haven't described). Mar 16 15:43:03 obVious Mar 16 15:43:36 Ok thanks Mar 16 15:44:33 gl! Mar 16 15:50:17 I'm looking to make a singleton User class that has access to SharedPreferences for saving email/password. In order to access SharedPreferences you need a Context to do so. I've thought about subclassing Application and providing a static Context to be accessed by my User class. Anyone else do something similar? http://stackoverflow.com/questions/987072/using-application-context-everywhere Mar 16 15:50:53 Started Android dev 3 days ago, coming from 2 yrs of iOS.. Mar 16 15:52:56 Mentos: do people actually subclass application? Mar 16 15:53:17 Mentos: i thought your app started in an activity Mar 16 15:53:33 Mentos: also that seems like an old stackoverflow q&a Mar 16 15:54:54 Mango_Man: yea i'm not sure. Im just trying to have a simple User class that can access SharedPreferences without having to pass a Context Mar 16 15:56:05 Mango_Man: found my way to http://stackoverflow.com/questions/2002288/static-way-to-get-context-on-android Mar 16 15:57:55 i would just pass a context in. seems like you could have a null context there Mar 16 15:58:05 Mentos: Mar 16 15:59:14 k Mar 16 16:07:47 hello =) Mar 16 16:09:32 i installed lil debi on my galaxy2 and i made various demons functioning... but i can't guess why cron isn't working properly.. any suggestions? Mar 16 16:12:28 probably not the channel for it, this is app-dev centric. Might be a specific channel for debi? Mar 16 16:14:36 well lil debi is basically debian root under chroot Mar 16 16:14:59 even if not develop specific is a tech question :) Mar 16 16:15:32 This channel is for app dev, try #android-root Mar 16 16:15:37 k thx Mar 16 16:17:31 hoping someone will reply Mar 16 16:24:44 ok let me post the question here anyways Mar 16 16:25:09 i used the following simple test command added into crontab: * * * * * date +"%m/%d/%Y %H:%M:%S $HOSTNAME" > /sdcard/test_date.txt Mar 16 16:26:06 it should just create a test_date.txt file on /sdcard and keep it updated with current date each minute Mar 16 16:26:14 it seems not to work :\ Mar 16 16:26:22 u dont get it Mar 16 16:26:35 no, i don't get why Mar 16 16:26:39 Please stick to app dev questions Mar 16 16:26:41 [12:15] This channel is for app dev, try #android-root Mar 16 16:26:58 on android-root ppl are all offline Mar 16 16:27:00 this is a chat Mar 16 16:27:16 and basically i tend to reply if i know the answer without too much burocracy ^^' Mar 16 16:27:30 plus chat is actually dead so i'm not making mess and creating problems to anyone Mar 16 16:27:38 why not join every single channel on freenode and ask then? Mar 16 16:27:54 so i kindly ask, someone of you tried a linux chrooted on android, if yes u made cron work successfully? Mar 16 16:28:16 you are asking how to do something that has nothing todo with this channel, maybe join #kitchen or #plumbing or #firestarting Mar 16 16:28:32 in this moment instead helping you are trolling :\ Mar 16 16:29:08 This is not a discussion Mar 16 16:29:19 We can skip the bureaucracy if you wish, but lets just stick to app dev Mar 16 16:29:21 nevermind Mar 16 16:29:58 yesterday a guy even if not developing replied me in another channel because he was online Mar 16 16:31:27 developers normally are skilled on things i tend to help others too Mar 16 16:31:29 but nevermind Mar 16 16:31:37 i hate closed minded reasoning Mar 16 16:32:20 SimonVT: you rude person - developers are smart, so they should give free tech support for every random tech thing Mar 16 16:32:43 i'm a developer too not a random user Mar 16 16:32:59 if you would asked me something you needed to know i would have done the best possible to help Mar 16 16:33:06 without asking you for a parcel Mar 16 16:33:18 but not all ppl are so nice i understand Mar 16 16:33:56 following this behaviour stuff like stackoverflow would never exists Mar 16 16:33:59 noobie here. Regarding Googlemaps api, im trying to build a style array, and set this with map.setOptions. I'm getting a bunch of errors though, from building the array, all to applying it. I'm using the examples given here https://developers.google.com/maps/documentation/javascript/styling?csw=1, as well as the answers given here http://stackoverflow.com/questions/7396722/hide-local-li Mar 16 16:34:00 stings-from-google-maps-api & here http://stackoverflow.com/questions/7538444/how-do-i-remove-default-markers Mar 16 16:34:05 sadly lot of ppl would not be able to learn too Mar 16 16:34:20 This is the method that's erroring: http://pastebin.com/c2imaV0b Mar 16 16:34:36 after updating the ADT plugin, eclipse is now automaticly adding android.support.v7 for action bars, which im not going to be using, is there anyway i can get eclipse to create a project without adding in the support? Mar 16 16:34:53 Stop complaining and find somewhere else for your question Mar 16 16:35:57 i already asked the question on many places Mar 16 16:36:06 SimonVT any experience with retrofit? Mar 16 16:36:07 wanted just to greet you for the non help Mar 16 16:37:19 ThomQ: That's the javascript guide Mar 16 16:37:22 Android is java Mar 16 16:37:35 Ouch Mar 16 16:37:45 d'oh! Mar 16 16:37:49 :D Mar 16 16:37:51 :D Mar 16 16:38:33 Leeds, might as well remove the "Android application development" from the topic, noone reads it anyway ;d Mar 16 16:39:07 SimonVT: and many other changes... Mar 16 16:39:07 whoever decided that javascript should be called that way, should be Fired! Mar 16 16:39:08 :P Mar 16 16:39:35 replaceits: I'd assume they check the minSdk and add it based on that.. Just make 15+ apps Mar 16 16:39:50 Or remove it manually, it's just a few clicks Mar 16 16:40:12 replaceits: it could also possibly be to do with project type/template - I wouldn't know, don't use IDEs Mar 16 16:42:24 but, am i correct in seeing that googlemaps api for android has a whole lot less features? Mar 16 16:42:59 SimonVT Setting the minsdk to 15 helped thanks, I was going to just remove it manually but everytime i created a new project the support libs would give me 25+ errors and freeze, bit of a hassle to force quit it all the time Mar 16 16:47:02 is it even Possible to change the map style on Android? I can't find any info on it Mar 16 16:52:04 i have two ViewGroups, both handle touch events and one of them will temporarily cover the other one... what's the best way to temporarily disable touch events on the one that is temporarily behind the other? Mar 16 16:52:24 should i write my own method or is there a better way to do this? Mar 16 16:57:35 Is it reasonable to do a platform game without using opengl? Mar 16 17:02:24 Sure Mar 16 17:13:15 if you have two ListViews inside a LinearLayout, how do you make the LinearLayout scrollable, but the ListViews non-scrollable? Mar 16 17:13:40 Mango_Man: why do you need two list views? Mar 16 17:14:17 cezium: i have a detail view fragment, and there are two lists of things in the detail view Mar 16 17:14:38 But why not just use one list? Mar 16 17:14:56 cezium: like, i want there to be a title in front of the list Mar 16 17:15:05 say, "Directions:", and then a list of directions Mar 16 17:15:22 http://developer.android.com/reference/android/widget/ListView.html#addHeaderView%28android.view.View%29 Mar 16 17:15:44 You can do that with a single listview Mar 16 17:16:05 wrap the linearlayout in scrollview&set listviews to wrap content? Mar 16 17:16:20 you not only can but you SHOULD do that with a single list view. Mar 16 17:16:40 Override getItemViewType and getItemViewTypeCount in your adapter, return the right type of view in getView Mar 16 17:17:09 hmm, so i would start with a ListView. then add a title TextView via .addHeaderView(), THEN add my first ListView, then add that ListView's title TextView Mar 16 17:17:11 For a single view in the beginning addHeaderView is cleaner. Mar 16 17:17:39 you should only have one list view Mango_Man Mar 16 17:17:51 Is it reasonable to do a platform game without using opengl? Mar 16 17:18:04 cezium: wait, but i have two lists which are semantically separate Mar 16 17:18:27 canvs2321-: will try that, thanks! Mar 16 17:18:44 Don't do what canvs2321- said Mar 16 17:18:51 well if you want them to act as one list view you should let your adapter merge them... Mar 16 17:19:17 Pass both lists to one adapter, return view based on which list you're pulling items from Mar 16 17:19:51 ah, that sounds like a plan. thanks SimonVT! Mar 16 17:20:25 I'm pretty sure the listview talk form google io covers getItemViewType, so watch that Mar 16 17:24:27 rivet: i thought everything is built upon opengl anyway Mar 16 17:26:33 Whats the best way to preload a database into an app? Mar 16 17:26:45 Adding values through the oncreate? Mar 16 17:29:40 assets ? Mar 16 17:31:42 is something wrong with the dev console atm, I cant upload any apk files, they never start, just stands at 0% till timeout (5 minutes) … tried multiple machines multiple OS many browsers Mar 16 17:31:49 anyone else getting this ? Mar 16 17:39:39 ok how about another question, anyone update/upload any apps today on the developer console ? Mar 16 17:41:04 <^cheeky> nope not me i wanted to but then my app is not functioning as i want it do, all its intents are possessed Mar 16 17:44:46 could you see if you can upload to beta ? dont need to publish Mar 16 17:44:57 just see if the upload starts, mine stays at 0% Mar 16 17:45:48 <^cheeky> oh man this is embarrassing .. StingRay_ i dont have a png for the icons :/ so sorry man Mar 16 17:45:52 <^cheeky> otherwise i would have done it Mar 16 17:55:05 dont need png Mar 16 17:55:13 just need to see if the uploader works Mar 16 17:55:25 not to publish or add anything to the page Mar 16 17:55:45 hrm, I'm updating my MainActivity UI from AsyncTask's onPostExecute, which should run in the UI thread, but the JRE throws this exception: ViewRoot$CalledFromWrongThreadException Mar 16 17:56:20 maybe this will answer it: http://stackoverflow.com/questions/10426120/android-got-calledfromwrongthreadexception-in-onpostexecute-how-could-it-be Mar 16 18:04:58 StingRay_: someone in #android just said they were having problems too Mar 16 18:06:05 JesusFreke: I have had probs for last 13 hours or so Mar 16 18:06:09 not happy Mar 16 18:09:49 Are you talking about the impossibility to up new apk? Mar 16 18:10:09 yes Mar 16 18:10:21 thought it was just me / my account Mar 16 18:10:29 Did google say something "official"? Mar 16 18:10:36 cant find anything Mar 16 18:10:44 submitted a dev support req Mar 16 18:11:13 Hope they resolve this as quick as possible..i have to publish a fix for my app -.- Mar 16 18:11:48 same, I have a show stopping MMS hangup that I need to push Mar 16 18:12:30 all it takes is one failed attempt to send an mms and my whole queue hangs, silent Mar 16 18:12:33 :( Mar 16 18:14:27 argh.. ;( Mar 16 18:38:00 I have an activity using sharedPreferences, and writing to them.. I am using the MODE_PRIVATE option to write them, it is giving me the path "/data/data/com.workingvoices.momentumlearningmobile/shared_prefs/wvcreds.xml" that it is supposedly writing to, but I haven't been able to find this with any of the file managers I have, so I can see if it is writing the XML, what could I be doing wrong ? Mar 16 18:38:31 got root? Mar 16 18:39:17 do I need to drop in a root kit? Mar 16 18:39:19 read them back in code, easiest Mar 16 18:39:44 yup I've been trying Mar 16 18:39:49 I'm writing like this: Mar 16 18:39:50 SharedPreferences sharedPref = getSharedPreferences(getString(R.string.preference_file_key), Context.MODE_PRIVATE); Mar 16 18:39:51 SharedPreferences.Editor edit = sharedPref.edit(); Mar 16 18:39:51 edit.putString("email_address",authStatus.getString("username")); Mar 16 18:39:53 and reading like this: Mar 16 18:40:04 are you commit'ing Mar 16 18:40:17 edit.commit() Mar 16 18:40:19 ... Mar 16 18:40:24 * TSCHAKMac facepalms Mar 16 18:40:28 :} Mar 16 18:40:35 that was it. Mar 16 18:41:28 * TSCHAKMac is an experienced software dev, but I am learning my way through android app dev at light speed. ;) Mar 16 18:53:53 Sure you are. Mar 16 18:53:57 * kakazza pats TSCHAKMac Mar 16 18:53:59 ;) Mar 16 18:54:36 actually, I am. Believe it or not, software development didn't begin with Java, kid. Mar 16 18:54:38 ;) Mar 16 18:54:58 my first serious programming was in 6502 assembler. Mar 16 18:55:00 wait, I know this one. Was it vb6?! Mar 16 18:55:43 my first 'arduino' was a z80 wire wrapped to 4K of ram and a PIO :D Mar 16 18:56:27 nice :) Mar 16 18:58:11 TSCHAKMac does it seem every year, stuff gets more powerful, more abstractions get piled on, but nothing actually gets much more useful ? Mar 16 18:58:25 g00s: sometimes it feels that way Mar 16 18:58:41 amen. Mar 16 18:58:56 well, i don't miss swopping disks using GEOS ;) but ... Mar 16 18:59:02 *swapping , uh Mar 16 18:59:15 I don't miss trying to read a paper map to get anywhere :) Mar 16 18:59:30 JesusFreke in the wild, paper map FTW Mar 16 18:59:37 * kbs incorrectly assumed this was about android frameworks, specifically :-) Mar 16 18:59:47 kbs hehe ! Mar 16 19:00:03 android has a lot going for it, eclipse just drives me batty Mar 16 19:00:09 kbs: pft, what is this, an android development channel or something? :p Mar 16 19:00:09 random crashes Mar 16 19:00:17 takes 5 minutes to warm up Mar 16 19:00:26 TSCHAKMac: intellij IDEA :) Mar 16 19:00:35 10 minute warms up Mar 16 19:00:44 and gradle another 5 Mar 16 19:00:46 :D Mar 16 19:00:51 and I #@($#@$ hate it when editors start trying to type for me, or move the cursor around Mar 16 19:01:22 AS has this annoying bug, its sometimes pops up the suggestion-callout thingy OVER the cursor Mar 16 19:01:24 stop it stop it stop it .. all modern IDEs seem to hate my obsessive compulsive need to close parens, quotes, and brackets Mar 16 19:01:48 it's a discipline i built up long ago, and I will not shed it Mar 16 19:02:37 * TSCHAKMac misses FORTH, but it can't be used anywhere. Mar 16 19:02:39 * TSCHAKMac ducks. Mar 16 19:02:41 ;) Mar 16 19:03:33 there is another forth guy here sometimes, Mar 16 19:03:33 TSCHAKMac: there was a guy in.. #android maybe, a while ago, that was working on a FORTH system for android Mar 16 19:03:42 yeah, him :) Mar 16 19:03:48 can't remember the name though Mar 16 19:03:56 i440r Mar 16 19:04:00 or something like that Mar 16 19:04:08 * TSCHAKMac chuckles, figures somebody would try :) Mar 16 19:05:04 ok, just as a sanity check, if I write to a sharedprefs in one activity, if I open the same sharedprefs file in another activity, I should be able to pull the values from the keys, right? Mar 16 19:05:30 TSCHAKMac: yes Mar 16 19:05:45 ok, I wonder wtf I am doing wrong then? :/ Mar 16 19:05:47 * TSCHAKMac goes to read docs again Mar 16 19:05:49 but there are possibly better ways to get simple data to another activity Mar 16 19:05:55 without writing to disk Mar 16 19:06:04 I need to store creds Mar 16 19:06:08 TSCHAKMac maybe you made them 'private' preferences Mar 16 19:06:09 that's about it. Mar 16 19:06:50 hey StingRay_ how is it going, how did the app go? been a while Mar 16 19:06:54 If I subclass Application, is the onCreate() method a good 'entry' for my application? Similar to AppDelegate in iOS? Mar 16 19:07:03 g00s: yeah, fair to medium Mar 16 19:07:10 still in open beta on playstore Mar 16 19:07:19 not shouting about it too much till final release Mar 16 19:16:23 using gradle, is there a simple way of changing a Manifest entry for a from exported=true to false? Mar 16 19:16:35 wondered if some DSL trick would handle that Mar 16 19:17:16 when i'm debugging, it should be exported, but release it shouldn't be Mar 16 19:17:34 (so i can poke it with 'am startservice') Mar 16 19:19:01 hmm.. add a stage that modifies the manifest before compilation, can be by copying sources etc. Mar 16 19:19:14 I don't know, but if not, you could put an AndroidManifest.xml into debug/ with exported=true (yay, copypasta). Mar 16 19:20:14 if manifest had i'd do that, leave the main part in the common area and include the difference Mar 16 19:20:42 Yeah :\ Mar 16 19:21:06 It doesn't take a @bool, does it? Mar 16 19:21:33 hmm ! Mar 16 19:21:49 i'll try, thanks for the idea Mar 16 19:21:53 https://developer.android.com/guide/topics/manifest/service-element.html Mar 16 19:22:21 Not sure if it takes @bool or @string, seems like a string literal to me *shrug* Mar 16 19:23:45 ouch, AS crashed just as i went to make bools.xml Mar 16 19:26:01 kakazza seems the toolchain takes it Mar 16 19:26:33 thanks, that was a great idea Mar 16 19:27:07 simple FTW Mar 16 19:35:33 oh phew, thought i had to made a new flavor; i can just say src/debug/res/values/bools.xml Mar 16 19:37:02 Hi! Im quite new to Android app development. After some simple apps for learing I startet to build an app which uses a ListFragment. When executing I get a RuntimeException: "Content has view with id attribute 'android.R.id.list' that is not a ListView class" I can't see the error :-( Can anyone point me where to start with searching the error? Mar 16 19:40:27 Danny^^P: you probably don't have a ListView in your layout with the proper id (android:id="@android:id/list" Mar 16 19:42:08 ugh damn it, AS crashed again!! won't let me create a file in res/values Mar 16 19:42:23 good morning dragorn Mar 16 19:42:29 That's my list_fragment.xml: http://pastebin.com/9DzrFjnr Mar 16 19:43:50 g00s: cheers. how goes? Mar 16 19:43:54 why setcontent of android.R.id.list? why not R.id.list Mar 16 19:44:54 dragorn hm, 'ok' i guess. this good over there ? Mar 16 19:45:00 *things Mar 16 19:45:08 g00s: swamped Mar 16 19:45:16 :) Mar 16 19:49:18 canvs2321: I don't know why android.R.id.list is used and not R.id.list. I never set this in my sources Mar 16 19:50:08 because you're using listactivity or whatnot which uses generic android identifiers for things. You can also make your own listview with your own id and set it up Mar 16 19:50:28 if you're using listactivity i suspect you need to put the listview in your activity layout, not in a fragment Mar 16 19:50:32 I don't use the generics often Mar 16 20:04:09 Hey, the support library has ViewPager, which view in higher APIs? Mar 16 20:05:03 That made no sense Mar 16 20:09:16 how am i supposed to run this in MainActivity on the proper thread? http://hastebin.com/hihuwapobi.coffee Mar 16 20:10:02 Trying to do AsyncTask for HTTP GET and then update the UI at onPostExecute by calling m_OnTaskCompleted.doNext(m_HttpEntity); there Mar 16 20:10:53 Here is my HttpGet AsyncTask: http://hastebin.com/yawefudoda.avrasm Mar 16 20:11:39 I'm getting, eg, ConcurrentModificationException Mar 16 20:12:32 SImonVT: I'm trying to convert some app that uses the support lib v4 to API 14, so i'm replacing everything from the support lib to API 14, FragmantActivity to Fragmanet and so on. When it comes to ViewPager I cant seem to find the equivalent.... Mar 16 20:13:01 ViewPager is only available in the support library Mar 16 20:13:54 Ok, is there a view that lets you swipe left/right fragments i can use instead? Mar 16 20:14:07 nope Mar 16 20:14:30 So i cant use the functionality without the support library? that weird... Mar 16 20:14:55 Not weird, awesome Mar 16 20:15:11 You get bugfixes without having to wait for platform updates Mar 16 20:19:35 I mean, I get this: ViewRoot$CalledFromWrongThreadException: Only the original thread that created a view hierarchy can touch its views. Mar 16 20:19:53 But I'm calling new Asych from here: MainActivity.this.runOnUiThread(new Runnable() {... Mar 16 20:20:51 hey Mar 16 20:27:30 mylord: if the async is from MainActivity would you just need to play with view in onPostExecute ? Mar 16 20:27:50 viran i'd keep using the support lib classes ;) Mar 16 20:28:34 StingRay_: that would be nice, but I was getting same exception then.. and this post and others made me think I need to request to run on UI thread specificatlly : http://stackoverflow.com/questions/10426120/android-got-calledfromwrongthreadexception-in-onpostexecute-how-could-it-be Mar 16 20:28:46 (Before JELLY_BEAN 4.1) Mar 16 20:30:07 mylord: I cant remember ever needing to Mar 16 20:30:34 onProgress onPostExecture, well… isn't onBackground the only off thread method ? Mar 16 20:30:47 off ui* thread Mar 16 20:31:28 yes, according to docs Mar 16 20:31:53 but when i print out the Thread ID's, they were same for onBackground as for onPostExecute Mar 16 20:39:05 like this: http://hastebin.com/mudefucoqe.sm Mar 16 20:43:15 What would be the best way to preload a database while still allowing it to be updated using the internet? Mar 16 20:44:01 AndreYonadam: http://developer.android.com/google/play/expansion-files.html maybe? Mar 16 20:44:25 JesusFreke: Thanks checking out the link Mar 16 20:44:56 it might not be quite what you want though. Iirc, it's downloaded when the app is first run Mar 16 20:45:05 so not really "preloaded" Mar 16 20:45:20 i'm surprised google allows us to have any local storage, including databases! i assume that will go eventually :P Mar 16 20:45:56 ohh snap Mar 16 20:45:59 cloud *ALL* of the things! Mar 16 20:46:08 So the "patch" could be something that I check for updates? Mar 16 20:46:56 AndreYonadam: the obb can basically be anything you want. like a sqlite database file, or data in some format that you then import into a sqlite database Mar 16 20:47:42 JesusFreke how often do the users get the update? or is that done via code to check if there is a new update Mar 16 20:47:59 AndreYonadam: I'm not super familiar with it. Mostly just familiar enough to point it out :) Mar 16 20:50:35 StingRay_ you think the problem might be that I'm implementing MyAsyncTask in another separate class file, and passing it an anonymous OnTaskCompleted object on creation? like this: Mar 16 20:50:47 new MyAsyncTask(new OnTaskCompleted() { Mar 16 20:51:32 I then define, inside OnTaskCompleted(), this method: public void doNext(Object o) { //which gets called from onPostExecute in MyAsyncTask Mar 16 20:51:37 does that all seem kosher to you? Mar 16 21:27:57 Well giving retrofit one last chance if anyone knows how to make cookies easily work with it if not loopj looks promising Mar 16 21:28:31 Cookies are just headers Mar 16 21:30:56 http://stackoverflow.com/questions/22425993/how-to-retrieve-cookies-in-android-retrofit Mar 16 21:31:36 well I followed a simple example you answered in one of the questions... and I am assuming I have to call set sessionId Mar 16 21:32:12 to store the cookie? Mar 16 21:32:36 The request interceptor I was thinking of putting in the RestApiManager and setting it to the adapter Mar 16 21:33:25 but if I even include it in the ApiCookie as implement it, I do not understand how to addHeaders to the cookie Mar 16 21:34:24 I'm on mobile. Dunno. Mar 16 21:35:18 public void intercept(RequestFacade requestFacade) { Mar 16 21:35:18 setSessionId(); Mar 16 21:35:18 } Mar 16 21:36:19 well is that suppose to be requestFacade.addHeader(//what goes in here?) Mar 16 21:42:29 just outta interest, what are the cookies for ? Mar 16 21:43:17 eating Mar 16 21:43:32 ahhh, chocolate? Mar 16 21:44:36 bankai_ to make requests from the user Mar 16 21:45:45 * g00s chocolate fanatic Mar 16 21:45:49 bankai_ if you understand it Mar 16 21:45:50 http://stackoverflow.com/questions/21244968/retrofit-auth-cookie Mar 16 21:46:14 I am trying to follow this request... the issue is I am not sure what goes in .setHeader which should be addHeader Mar 16 21:47:21 and I think it has to be "cookie", sessionId ... the issue is then I do not know how to set the session ID Mar 16 21:58:47 hi all was wondering if anyone can tell me why my android tablet resets the date and time to dec 31st 5:00pm? Mar 16 21:59:18 jaime_lion: how are you syncing time ? Mar 16 22:00:02 i am not sure i understand what you are asking, i set the date and time up when i first booted it Mar 16 22:01:45 Let's say I would need to write an Android from scratch for a startup and I have only mediocre or basic Android SDK knowledge, is there a good resource to get me bootstrapped? Mar 16 22:01:56 there's a setting for your clock to sync off your network/cell ... dunno the wording, but it's under settings somewhere Mar 16 22:02:18 its a wifi only tablet Mar 16 22:02:44 platzhirsch: see the topic Mar 16 22:03:18 bankai_: I have no stacktrace for this problem Mar 16 22:03:26 platzhirsch write an Android ? Mar 16 22:03:26 d.android.com Mar 16 22:03:36 bankai_: yeah I got that Mar 16 22:03:48 I thought more of a cookbook, for good patterns Mar 16 22:04:00 that's all on that site Mar 16 22:04:27 dunno why, it's not like anyone follows 'good patterns' these days :( Mar 16 22:05:19 I mean I've worked with the docs for an application and often I really missed some parts and I got to the right path just because I discussed my problems here Mar 16 22:06:54 i guess a lot of what i've learnt is from idling here, googling things, reading links, investigating frameworks people use, following tutorials for those Mar 16 22:07:06 Surely, it's equally silly to think that I just have to buy the right book and everything is fine, but sometimes there are really good books for advanced programming Mar 16 22:07:59 bankai_: thoughts on the clock thing. Mar 16 22:08:00 ? Mar 16 22:08:17 jaime_lion: well you didn't really answer my question - are you syncing your time with something? Mar 16 22:08:34 i dont think so Mar 16 22:08:51 i set it in the date and time setting section and it is a wifi only tablet Mar 16 22:11:17 I'm working on setting up a rails server api to handle user creation/authentication for my android app. The first time the user logs into the app I want to send a post request to the server creating the user, then retrieve the user's JSON and store their auth_token in my app. I'm able to post/create the user fine but I'm struggling with then retrieving the JSON. Is it possible to retrieve... Mar 16 22:11:18 ...JSON with an HttpPost? Here's what my code currently looks like - https://gist.github.com/guitarlover52/435db23864a8144c01dc Mar 16 22:11:36 what exactly do you meen bankai_? Mar 16 22:12:25 hey Mar 16 22:17:16 anyone here have experience with loopj or any other http client libs? Mar 16 22:17:23 volley etc... Mar 16 22:21:14 <7JTAABRMY> thammond: i recommend you to take a look at http://loopj.com/android-async-http/ Mar 16 22:22:04 I'll check it out, thanks Mar 16 22:27:05 have a look at robospice https://github.com/octo-online/robospice Mar 16 22:48:39 oh nice robospice Mar 16 22:48:43 caches the data for u? Mar 16 22:48:52 so no need to cache it myself in sqlite? Mar 16 22:53:18 hello Mar 16 23:12:04 anyone here use Robospice Mar 16 23:29:07 Hello! Mar 17 01:04:49 hello guys Mar 17 01:05:02 I am doing a program using a surfaceview Mar 17 01:05:07 it will be a small game Mar 17 01:05:50 but I am noticing that the MotionEvents seem lower than they really are/ *or* drawText draws higher than it should Mar 17 01:05:59 anyone else come across this? Mar 17 01:18:12 nobody? what might I be doing wrong? Mar 17 01:51:29 sup Mar 17 02:07:28 help Mar 17 02:07:54 can some ones tell my why ecips isint genrating a activaty Mar 17 02:12:18 because eclipse is shit Mar 17 02:12:34 but uh... can you expand a bit Mar 17 02:14:28 sounds like its either not installed correctly, paths are wrong, or the information you are entering is not valid, and perhaps you are not reading the error messages it is generating carefully. Mar 17 02:28:31 I have some bitmaps I need to scale constantly Mar 17 02:29:03 what is faster, storing them once in SQLITE and retrieving them or scale them on demand? Mar 17 02:29:45 ... store them in files Mar 17 02:30:42 store them in files is the fastest way? Mar 17 02:31:19 ok, thanks... one more question... is it possible to delete these files on uninstall? Mar 17 02:31:37 so that no rubbish is left behind? Mar 17 02:32:36 add them to your assets so they are packaged Mar 17 02:32:53 also, unless you use external storage android will delete everything Mar 17 02:32:54 samuel: you can modify files that are stored in your application's directory Mar 17 02:33:01 thats the idea of the sandbox Mar 17 02:33:15 but yes, once you delete an app, all "private data", including assets, are deleted Mar 17 02:33:27 the only place you can leave "rubbish" is "external storage" Mar 17 02:33:42 ok, thanks! I hate it when an app leaves rubbish behind Mar 17 02:47:38 Hi, in my App I need to search for addresses, Do I use Google Maps API for this? Is an overkill or there is much more simpler? I just need to search for addresses Mar 17 02:48:54 for address validation ? Mar 17 02:50:03 bankai: No, just help the user search for addresses Mar 17 02:50:22 location in the world Mar 17 02:51:38 there's the geocode api, that'll give you a full address from a partial Mar 17 02:51:39 https://maps.googleapis.com/maps/api/geocode/json?address=1600+Amphitheatre+Parkway&sensor=false Mar 17 02:51:43 https://developers.google.com/maps/documentation/geocoding/ Mar 17 02:52:11 alex_PP: I will look into that. Mar 17 02:52:31 it's really mean for doing geocoding (address to lat,long or the reverse) though, so it mught not be 100% reliable Mar 17 02:53:01 *meant Mar 17 02:53:10 *might Mar 17 02:53:25 alex_PP: I miss understood, I want address name like 1233 N Park Ave. Mar 17 02:53:42 when the user types an address there like an AJAX call Mar 17 02:53:52 that help them complete what there typing Mar 17 02:54:45 https://maps.googleapis.com/maps/api/geocode/json?address=1233%20N%20Park%20Ave&sensor=false Mar 17 02:54:58 that gives you all these park aves Mar 17 02:55:35 alex_PP: ok, I will look Mar 17 02:56:20 if you want "1233 Pa" to complete to "1233 Park Ave", that's more complicated Mar 17 02:56:32 Anyone here use JUnit and/or Robotium to test their apps? Mar 17 02:56:55 alex_PP: Yes, I want that, so it hard thing to do? Mar 17 02:57:06 I want it to auto complete Mar 17 02:57:15 you need a database of street names Mar 17 02:58:17 alex_PP: I can't use Google maps API for that? Mar 17 02:58:21 hey guys, does any1 use eclipse adt? Mar 17 02:58:29 so they can handle that for you. Mar 17 02:58:34 almost everyone does, inder_gt Mar 17 02:58:45 androidnewb, there doesn't seem to be an API for ir Mar 17 02:58:55 codeguru: do you know how to install color themes, seems like the whole plugin option doesnt exist in it like regular eclipse Mar 17 02:59:12 themes for Eclipse or for your app? Mar 17 02:59:31 eclipse Mar 17 02:59:52 AS is a good theme for eclipse ;) Mar 17 02:59:55 Sorry, I use the vanilla color scheme Mar 17 02:59:58 alex_PP: ok, thanks for the help. **** ENDING LOGGING AT Mon Mar 17 02:59:58 2014