**** BEGIN LOGGING AT Wed Oct 22 03:00:01 2014 Oct 22 03:05:25 goos, its always been the same, to change a theme dynamically on launch you do it before setcontentview right? Oct 22 03:08:14 whatitis yes - before appcompat - I call setTheme() before setContentView(). Oct 22 03:08:53 if you don't theme the activity in the AndroidManifest, now with appcompat, you have to call setTheme() before super.onCreate also Oct 22 03:09:08 no biggy Oct 22 03:13:05 what do you guys recommend for PreferenceActivity + Theme.Appcompat ? it looks f'd up, so just use Holo < 21 and Material >= 21 ? Oct 22 03:14:15 g00s, you should always have a default theme Oct 22 03:15:06 pfn strange, if i set light in the manifest and then setTheme(dark) in onCreate, I got "flicker" Oct 22 03:16:13 thats why i left it out of the manifest, and just setTheme light or dark in onCreate Oct 22 03:18:10 of course Oct 22 03:18:56 window preview Oct 22 03:19:14 hm? Oct 22 03:20:42 actually, my sets windowDisablePrevue=true Oct 22 03:21:11 so there is a default theme, it just doest have a parent; and gets overriden in onCreate() Oct 22 03:21:45 so that prevented any flicker between the default theme and its opposite if it was set Oct 22 03:23:44 no resource erros, no code erros.. still no R Oct 22 03:26:20 oh well i managed to get everything working with appcompat. i guess a i hate google a little less now Oct 22 03:26:27 and api 21 Oct 22 03:28:41 cliffreich_ what feature of appcompat did you use ? Oct 22 03:30:44 lucky me i could switch for the basic: drawer and actionbar. no toolbar yet. So nothing drastic Oct 22 03:30:55 i wonder why the app icon/logo is hidden by default Oct 22 03:31:07 had to change displayoptions or wont show Oct 22 03:31:41 (on the actionbar) Oct 22 03:31:57 my textAppearance stuff is all messed up now Oct 22 03:34:09 yay I got my drawables working. Sadly, this is the highlight of my day lol Oct 22 03:35:18 from the actionbar? Oct 22 03:36:03 mine too, i forgot that main style.xml couldnt have most of android: references... so it was some time there Oct 22 03:37:42 now everything is appcompat Oct 22 03:37:58 but i can handle it Oct 22 03:40:51 cool Oct 22 03:43:17 is that google SO clone online yet ? Oct 22 03:46:58 wot? Oct 22 03:47:04 does anyone here use pgs4a or kivy to compile python code for android? Oct 22 03:47:59 Luminous_Dark dont think so, wrong place for that I think Oct 22 03:48:16 or rather not that I have ever caught anyone talking about :) Oct 22 03:48:29 well, it is android development Oct 22 03:49:14 not common/normal though Oct 22 03:49:40 Hi, I would like to know how I could change my app's theme, at run time. Oct 22 03:49:46 I have already searched on google, but didn't quite get it, as I am really starting out at android development. Oct 22 03:49:53 I see I have to restart my activity, for the theme change to take effect, but I didn't understand how to do the theme change itself. Oct 22 03:50:33 LucaRood guessing here cause I dont use styles/themes but setTheme() ? Oct 22 03:51:10 anyway, I've only ever made an .apk with python, so I don't know how it is any other way. Let's see if you can answer my question anyway. It is the following: When I do some file IO, or more specifically, output, where is the file saved on my phone? Oct 22 03:51:14 anyone here seen this kind of stacktace before? http://pastebin.com/vXtjpFad Oct 22 03:51:53 I was using a viewpager and lots of views in one activity, I transitioned to the next activity and called onFinish(), and I can see that onDestroy() is getting called. When I go back, it crashes and throws that error :S Oct 22 03:52:40 Luminous_Dark you can read docs on storage at d.android.com Oct 22 03:52:44 StingRay_: Say I want to change themes on a button press, should I just put the setTheme() in the button press event? Oct 22 03:53:09 LucaRood I dont really have an opinion on where you do it :) Oct 22 03:53:44 StingRay_: Ok thanks :) Oct 22 03:53:46 StingRay_ thanks Oct 22 03:53:49 I'll try it out Oct 22 04:04:40 barbs that is pretty explanatory though right ? Oct 22 04:05:05 nope! Oct 22 04:05:48 you know what a bitmap is ? you know you are using drawBitmap() ? Oct 22 04:06:03 and you know what recycle() is ? Oct 22 04:06:20 I do. but the activity shouldn't even be alive at that stage - I've destroyed it Oct 22 04:06:30 plus, there's no reference to my code in that stacktrace anywhere Oct 22 04:07:10 you have destroyed it ? Oct 22 04:07:35 yes. I call finish() on it, and I can see in the logs that it's being destroyed Oct 22 04:08:19 seems to only happen on the Nexus 5 as well. And if I change which activities are shown before that activity, I don't get the issue Oct 22 04:08:58 so you dont call recycle on any bitmap object ? Oct 22 04:09:56 nope Oct 22 04:14:25 * cliffreich_ is a LinearLayoutCompat Oct 22 04:18:40 someoen say bitmaps? Oct 22 04:20:45 funny term uses really, bit map as in map of pixels or silly windows bmp format :) Oct 22 04:21:57 bmp Oct 22 04:22:11 about to jump into writing a converter if I can't find one Oct 22 04:22:23 convertor ? Oct 22 04:22:26 well.. I found one on github but it doesn't quite work Oct 22 04:22:29 er* Oct 22 04:22:31 yes png to bmp Oct 22 04:22:38 for use in Android Oct 22 04:22:57 barbs: If you call recycle() and later attempt to draw the bitmap, you will get the error: "Canvas: trying to use a recycled bitmap". Oct 22 04:23:09 * StingRay_ is a fan of PNG, very versatile format Oct 22 04:23:29 StingRay_ me too, but in this instance I absolutely need a bmp Oct 22 04:23:54 that or reqrite a portion of somoene elses SDK Oct 22 04:24:01 rewrite* Oct 22 04:24:14 tricknology: yeah, I understand that. But I don't get why it's trying to draw any bitmaps at all - I destroyed the activity which has all the bitmaps in there Oct 22 04:24:27 onResume()? Oct 22 04:24:31 you mentioned a back button Oct 22 04:24:56 yeah, this is going back from the next activity Oct 22 04:25:37 are you suggesting it's calling onResume() on the first activity, even though it's been destroyed? Oct 22 04:25:39 maybe write some log events in your onResume() and onPause() methods to make sure you are where you think you are on the activity stack Oct 22 04:26:03 im ahving trouble understanding what the first activity is Oct 22 04:26:51 ok, so the first activity has a lot of UI elements, the user presses a button and it goes to the next activity and calls finish(), and I can see that ondestroy() is getting called in this case Oct 22 04:27:00 on the next activity, the user presses back, and that stacktrace is getting thrown Oct 22 04:27:24 A1 <- A2? Oct 22 04:29:18 not sure what you mean there Oct 22 04:30:14 you go back to activity 1 from activity 2/ Oct 22 04:30:44 check in your onDestory() method that isFinishing() Oct 22 04:31:05 and make sure onResume() or onRestart() isn't being called Oct 22 04:31:18 I press back on Activity 2, and it seems to be doing *something* in Activity 1, but that's just a guess because the stacktrace doesn't reference my code. Oct 22 04:31:18 maybe some kind of TAG with the activity name Oct 22 04:31:33 I think it might be trying to inflate those views Oct 22 04:31:40 I'm guessing it's something to do with activity 1, cos it's got lots of images in it Oct 22 04:31:44 which has had recycle() called on them Oct 22 04:32:05 maybe see if you get GC messages in logcat Oct 22 04:32:24 try and see, wouldn't hurt Oct 22 04:32:53 i'm interested to see the activity lifecycle in this scenario Oct 22 04:33:09 ...are you using fragments? Oct 22 04:34:00 http://android-er.blogspot.com/2013/05/different-case-in-lifecycle-of-activity.html Oct 22 04:35:25 so you finish() then go back.. onRestart() is called.. when onStart() then onResume() if it is an activity. If destory() was called and your UI init method is in onCreate() then this would probably happen Oct 22 04:35:58 ahh, maybe that's what's happening... Oct 22 04:36:17 try calling onStart() explicitly with try/catch in onResume() Oct 22 04:36:28 will have to check - unfortunately I can't seem to reproduce it, even though I didn't change anything :S Oct 22 04:36:36 thanks Oct 22 04:36:43 catch the error and call your initUI() method, then call super.onResume() Oct 22 04:36:49 aw bummer Oct 22 04:36:55 indeed! Oct 22 04:37:02 it would be nice if you could because that's an interesting one Oct 22 04:37:13 no device or just random? Oct 22 04:37:48 sorry what do you mean? Oct 22 04:37:55 it seems to only happen on the Nexus 5... Oct 22 04:44:06 i mean do you have the nexus 5 to test Oct 22 04:44:13 you said you can't reproduce it Oct 22 04:44:29 so it's either random or you don't have the device Oct 22 04:44:56 so the bug was originally found on a real device, I don't have the real device, but I used a genymotion emulator and was able to reproduce it on that up to about half an hour ago :( Oct 22 04:45:26 bug fixed? errrr....? Oct 22 04:46:33 haha, exactly >< Oct 22 04:47:24 hey that android phone database parser dealy guy is.. well it's got the list from google once again but I haven't parsed the sob into the db, feel free to star it.. https://github.com/znwabudike/AndroidPhoneDatabase Oct 22 04:48:21 you'll get as far as a long unparsed text list of devices Oct 22 04:48:34 until I write a parser for the bufferedreader Oct 22 04:54:58 http://pastebin.com/Xcgz6ZTK Oct 22 04:55:02 paste of the output thus far Oct 22 04:58:17 anyone know what that bottom sheet is called seen here http://www.androidpolice.com/2014/10/21/a-look-at-google-drives-material-design-in-android-5-0-lollipop/ Oct 22 04:59:42 sheet? Oct 22 05:00:39 yeah what looks like the old SlidingDrawer Oct 22 05:00:59 oh you mean from android beta ? Oct 22 05:01:07 and finalised in cupcake :) Oct 22 05:02:24 google have a wicked way of implementing old and calling it new…that was the nav drawer right ? or options drawer or something like that Oct 22 05:02:24 http://www.google.com/design/spec/components/bottom-sheets.html Oct 22 05:02:26 g00s Oct 22 05:02:28 I forget the name Oct 22 05:02:41 that what you looking for? Oct 22 05:02:49 its literally called "bottom sheet" Oct 22 05:03:06 JacobTabak yes, thanks ! Oct 22 05:03:17 it's the old UI component they ditched though ? what was it called ? Oct 22 05:03:22 pissing me off now Oct 22 05:03:47 SlidingDrawer Oct 22 05:03:56 * g00s smacks StingRay_ in the head Oct 22 05:03:59 oh that was it ? Oct 22 05:04:11 JacobTabak is that in appcompat ? Oct 22 05:04:39 i don't even think it's a native component Oct 22 05:04:46 it's just a pattern you can implement Oct 22 05:04:55 oh its just some designer's halucination ? Oct 22 05:04:58 i think it's a horrid thing to use for what is shown there Oct 22 05:05:10 StingRay_ hates everyone elses design, news at 12:00 Oct 22 05:05:13 ;) Oct 22 05:05:17 StingRay_ you think everything in material is horrid :D Oct 22 05:05:23 I dont actually Oct 22 05:05:31 lol JacobTabak Oct 22 05:05:36 but some of it makes no sense Oct 22 05:05:49 and some of it is totally horrid to the way a user would use it Oct 22 05:06:35 wait till I get to the visuals part of my app… I'll show you all grrrr Oct 22 05:07:18 JacobTabak ever use gdrive api ? Oct 22 05:07:34 briefly Oct 22 05:07:39 a while back, not anything serious Oct 22 05:07:49 the new one right ?…oh not the new one then Oct 22 05:07:58 you used the web api wrapped thing ? Oct 22 05:09:17 no Oct 22 05:09:34 StingRay_ are you under < 64k methods yet ? Oct 22 05:10:00 g00s thats what I'm attempting by using the gdrive api in play services Oct 22 05:10:11 so can take the old massive web wrapped api out Oct 22 05:10:27 o.O Oct 22 05:10:33 how could anything be bigger than google play services Oct 22 05:12:00 why < 64k methods? Oct 22 05:14:23 tricknology what do you mean why ? why is there a limit ? or "how" am I there already ? Oct 22 05:14:25 :) Oct 22 05:17:09 why is there a limit? Oct 22 05:17:34 not sure what app you're working so I can't really guage how many it should take.. and you're counting libs? Oct 22 05:17:55 oh, some int val dex thing, ask a programmer Oct 22 05:18:24 you'r enot a programmer? Oct 22 05:18:43 barely Oct 22 05:18:50 artist/designer/vfx person Oct 22 05:18:57 oh nice Oct 22 05:19:08 well no, attempting to be a programmer now though Oct 22 05:19:10 :) Oct 22 05:19:13 got bored Oct 22 05:19:25 I'm an engineer, i got bored too Oct 22 05:19:59 you can only work on so much tv/film/games until it does become quite boring Oct 22 05:20:06 suppose it's like that with anything Oct 22 05:20:26 yeah, my heart was always in computers Oct 22 05:21:58 dam you apple for not making a good desktop expandable computer …. almost ordering a 2010-11 mac pro Oct 22 05:22:44 if apple ever made something like ATX form mid tower on i7 platform they would really take the market i think Oct 22 05:24:10 then they wouldn't be able to charge 2x as much for repairs/upgarded components Oct 22 05:25:35 yeah suppose that would alter the who pricing dynamic they have currently Oct 22 05:25:40 i think also, if they have to make a choice between being 1mm thinner, and repearability because a socket makes it 1mm fatter, they go with the former out of "beauty" Oct 22 05:26:01 who=whole Oct 22 05:26:45 so is anyone using google helpouts yet ? Oct 22 05:27:05 poor commonsware guy, he's going to have to work hard to get all that reputation back :) Oct 22 05:27:23 does anyone know if there is a limit to the size of an array that String.split() can generate? Oct 22 05:27:50 because I have this string... http://pastebin.com/vXtjpFad Oct 22 05:27:52 and it's a monster Oct 22 05:27:58 ooops Oct 22 05:28:20 http://pastebin.com/Xcgz6ZTK Oct 22 05:28:40 thats no moon Oct 22 05:29:04 tricknology you wouldn't use string split for that, unless you did it line by line Oct 22 05:29:12 better off with a simple parser Oct 22 05:29:50 was hoping for a shortcut :( Oct 22 05:30:26 seems like some weird data in that file too Oct 22 05:31:02 eh? Oct 22 05:31:14 data starts at line 9 Oct 22 05:31:35 this is actually a converted pdf Oct 22 05:31:43 so i wouldn't be surprised Oct 22 05:32:14 like line 1928, wtf is that ? Oct 22 05:32:21 Germany (S9714/LIFETAB_S9714) Oct 22 05:32:30 anyhow, good luck :) Oct 22 05:32:36 a device i guess lol Oct 22 05:32:44 by Hon Hai Precision Industry Co., Ltd. Oct 22 05:33:27 Hon Hai made a product called Germany ? O.o Oct 22 05:33:49 lol Oct 22 05:33:51 http://www.notebookcheck.com/Test-Medion-Lifetab-S9714-Tablet.84487.0.html Oct 22 05:33:55 well it is german Oct 22 05:33:59 i think some structure got lost Oct 22 05:34:05 maybe that's what they submitted to google? Oct 22 05:34:09 dawww :/ Oct 22 05:35:44 no! yay Oct 22 05:35:48 check it: http://storage.googleapis.com/support-kms-prod/3A66AA84DBAE534708BE85706D1CFF3A4F80 Oct 22 05:36:18 apparently they made a device named Germany.. or so it says in google's supported device list Oct 22 05:36:56 it looks like the only thing I have to worry about is multi-line devices Oct 22 05:37:59 330 ? Oct 22 05:38:07 Vs 302 ? Oct 22 05:38:30 249 ? it's a mess Oct 22 05:40:33 eh? lines? Oct 22 05:40:56 *are those line numbers? Oct 22 05:41:04 yes Oct 22 05:41:18 I mean all the Asus then ASUS Oct 22 05:41:26 and so on and on and on with all the rest Oct 22 05:42:30 that's exactly how it is on the PDF Oct 22 05:42:37 nmf Oct 22 05:43:04 that came from Google Oct 22 05:43:20 I would maybe do some trimming and fixing on it in something like coda Oct 22 05:43:25 before any real use Oct 22 05:43:26 I just parsed it with PDFbox Oct 22 05:43:31 hmm coda eh? Oct 22 05:43:34 g00s, no window preview makes your app look slow Oct 22 05:44:02 pfn, the litte guy hiding in the menu button? Oct 22 05:44:16 pfn i don't notice any delay on modern stuff Oct 22 05:44:50 StingRay_ what is coda? Oct 22 05:45:15 http://panic.com/coda/ Oct 22 05:45:24 a nice text editor Oct 22 05:51:22 coda? no ... vimis fine and free :) Oct 22 05:51:54 dont need a beeeeuuutifuul pixel perfect editor for data munging Oct 22 05:53:07 vim is pixel perfect Oct 22 05:59:37 and on that note, emacs 24.4 is out :) Oct 22 06:09:29 >Only $99 Oct 22 06:09:35 Hrm Oct 22 06:16:46 does android studio uses the zip align automatically when i generate a signed apk? Oct 22 06:18:08 I think it does Oct 22 06:18:12 I remember reading something about it Oct 22 06:21:49 how do i use viewIsInEditMode? Oct 22 06:22:07 Hey there. So, I have a View with a background that is a selector. When "checked" the background is green, otherwise it is transparent, so it has "duplicateParentState=true". This view is a sub-view of View that is an individual item in a list. Oct 22 06:22:19 XML and Code: http://pastie.org/9666932 Oct 22 06:22:47 When the code is called, the item's subview's state doesn't seem to change Oct 22 06:23:00 so, android:duplicateParentState="true" of a subview of a ListView-item isn't working, does it get snarfed by ListView's listSelector? Oct 22 06:24:16 humm Oct 22 06:25:02 Oh god dammit Oct 22 06:27:04 oh i didnt have zipalign in my gradle Oct 22 06:27:59 aaand still the same size. i guess it did it Oct 22 06:30:15 Ok, so its still messed. I don't know what the problem. A sibling TextView has a selector for textColor and it is also not working Oct 22 06:31:14 does calling listView.setItemChecked(index, true) not update the "checked" state of a particular ListView's item? Oct 22 06:34:59 does it not do that? Oct 22 06:35:56 f**** what? Oct 22 06:36:08 it modifies the "state_activated" flag instead of "state_checked" Oct 22 06:36:16 true story. Oct 22 06:36:38 instead of and it works. Oct 22 06:37:47 That was a fun 37 minutes Oct 22 06:38:25 it happened to me with API 21. 12 hours were lost Oct 22 06:39:00 7196 devices in that list Oct 22 06:39:17 wow, explodes Oct 22 06:39:27 thats your min? Oct 22 06:39:29 o_o Oct 22 06:39:29 whats* Oct 22 06:40:12 @who? Oct 22 06:40:14 trikonology whats your minsdk? Oct 22 06:40:24 oh, for what? Oct 22 06:40:25 i have 4785 devices Oct 22 06:40:25 depends Oct 22 06:40:34 3.0 or 2.3 Oct 22 06:40:41 oooh Oct 22 06:40:43 no no Oct 22 06:40:52 im >14 Oct 22 06:40:52 i parsed the list of supported devices by google Oct 22 06:41:03 the notorious "varires with device"? Oct 22 06:41:22 oh nvm Oct 22 06:41:56 https://support.google.com/googleplay/answer/1727131?hl=en found here Oct 22 06:42:47 if there are tryle 7196 devices supported in the play store I'm in good shape Oct 22 06:43:08 if it is useful at all to you guys.. what format would you prefer the table in? Oct 22 06:43:16 CSV, sqlite? Oct 22 06:43:24 both? Oct 22 06:43:47 ALL THE FORMATS Oct 22 06:44:05 i prefer the fastest or the easier so depends on the job Oct 22 06:44:16 and where you will be using it Oct 22 06:44:17 personally I'd prefer sqlite, everything else can be derived from that Oct 22 06:44:39 well right now it is an ArrayList Oct 22 06:44:57 I can give it to you as a serializable if you want lol Oct 22 06:45:13 half kidding.. Oct 22 06:45:32 yeah try encrypting it too, just for fun :p Oct 22 06:45:38 going outside to ponder life Oct 22 06:45:45 I'll only use a 3 digit key Oct 22 07:18:22 wow Oct 22 07:18:34 7196 supported devices.. thats crazy Oct 22 07:20:28 fragmentation, yo Oct 22 07:20:51 but you gotta think.. a lot of countries have their own device manufacturers Oct 22 07:21:14 there are so many on that list I haven't even heard of.. manufacturers, let alone models Oct 22 07:21:24 that's when happens with open source Oct 22 07:21:55 iOS controls the manufacture of their phone so it works with a few devies Oct 22 07:22:17 also Apple is less likely to permaban you for life for having too many keywords ... Oct 22 07:22:30 hmm, you know Appls is looking pretty good ;) Oct 22 07:22:38 ha really? well damn Oct 22 07:22:41 tricknology is that list historical from the beginning of time ? Oct 22 07:22:47 how many is too many? Oct 22 07:22:57 no that is currently supported Oct 22 07:23:12 so at this very moment, 7196 devices, hm Oct 22 07:23:17 I haven't checked to see if the list is accurate, lengthwise but yet Oct 22 07:23:19 yes* Oct 22 07:23:20 and all of those have Play services ? Oct 22 07:23:34 that list is from their website, ill grab the link Oct 22 07:24:06 not sure if play services, but supported by play store, which would mean play services i guess Oct 22 07:24:24 https://support.google.com/googleplay/answer/1727131?hl=en Oct 22 07:24:45 it sure looks like 7k+ Oct 22 07:25:02 if the parser isn't perfect i might have missed like.. 10? Oct 22 07:25:51 BestBuy has a device O.o Oct 22 07:25:55 anyway source is here - https://github.com/znwabudike/AndroidPhoneDatabase Oct 22 07:26:01 haha yeah it tripped me out too Oct 22 07:26:24 It is a java applet, mind you Oct 22 07:26:46 aaand I haven't figured out maven so, unless the libs are in there the dependencies might be whack Oct 22 07:27:36 looks liek they are though Oct 22 07:28:25 g00s, do you have XP with GA? Oct 22 07:28:37 XP ? Oct 22 07:28:44 experience Oct 22 07:28:46 GA? Oct 22 07:28:53 google analytics Oct 22 07:28:53 Georgia Oct 22 07:28:57 lol Oct 22 07:28:58 Welp Oct 22 07:29:05 tricknology no Oct 22 07:29:15 okie dokey Oct 22 07:29:54 some of these are fucked up tricknology Oct 22 07:30:02 i mean, the listing Oct 22 07:30:05 Sugar Oct 22 07:30:11 sugar_aums Oct 22 07:30:22 The company was listed twice Oct 22 07:30:40 oh yes Oct 22 07:30:54 I noticed that. Oct 22 07:31:05 your pdf conversiont thing shoup put a * before the model, so you can know company vs models for sure Oct 22 07:31:07 toshiba i think is the worst Oct 22 07:31:28 no wonder why these companies don't give a shit about updating their devices Oct 22 07:31:47 they have so many, they become just grains of sand on the beach Oct 22 07:31:48 lol, so you see how many there are? look at Samsung Galazy S5 Oct 22 07:32:01 or Samsung in general Oct 22 07:32:05 lets update our 152 android devices ... Oct 22 07:32:15 each carrier gets a different model too Oct 22 07:32:25 each of those models isn't guaranteed to have the same hardware Oct 22 07:32:40 ran into that with BT and Headphone jack Oct 22 07:32:41 tricknology but why were you doing this again :P Oct 22 07:33:05 I want to know who has what type of phone, more than dev console can give me Oct 22 07:33:17 which, from what I'm told, GA can do Oct 22 07:33:19 is that meaningful though? Oct 22 07:33:36 it might be if I come across a problem liek BT or Headphone jack not working Oct 22 07:33:38 the data is too loose to be associated with more data Oct 22 07:33:49 see how many devices exactly are affected Oct 22 07:33:56 nah, fuck it Oct 22 07:34:05 I just need the model number... it comes from the phone Oct 22 07:34:10 this is just to make it readable from me Oct 22 07:34:19 for* Oct 22 07:34:19 but what are you going to do with it ? Oct 22 07:34:26 make a pie chart or some shit Oct 22 07:34:27 once you get the model # Oct 22 07:34:30 ooh Oct 22 07:34:32 some shit is right Oct 22 07:34:35 send it to back end on login Oct 22 07:34:43 store in db Oct 22 07:34:53 let it sit until i need to generate a report Oct 22 07:35:01 with google smiting app devs , do you think thats a good idea ? Oct 22 07:35:32 * tricknology chuckles Oct 22 07:35:35 with that in mind, no Oct 22 07:35:52 i mean, it's just the model number. could be for version control Oct 22 07:35:56 err DRM Oct 22 07:36:03 fraud prevention Oct 22 07:36:16 "hey that's not the device you normally use" Oct 22 07:38:05 smiting.. that would be a good word for it.. Oct 22 07:39:53 pfn so your SettingsActivity only takes one theme Oct 22 07:40:12 how would I effectively compare somthign like "Taiwan Mobile" and "TaiwanMobile" Oct 22 07:40:25 or "Sugar" and "sugar_amus" Oct 22 07:40:27 tricknology well, you could use 'edit distance' Oct 22 07:40:39 Taiwan doesn't exisg Oct 22 07:40:40 among other things Oct 22 07:40:44 exist* Oct 22 07:41:03 well the company does Oct 22 07:41:21 Just making sure we're clear Oct 22 07:41:48 well do you mean exist as a state or what? Oct 22 07:42:10 As anything country-related Oct 22 07:42:11 Darklust member of the 50 cent party ? Oct 22 07:42:13 it is China for now Oct 22 07:42:20 D: Oct 22 07:42:24 * Darklust runs Oct 22 07:43:13 ha, I googled that.. very interesting. Oct 22 07:43:43 by some of the comments I see, i wouldn't be surprised if the same thing happened here. Oct 22 07:44:22 pretty obvious i'm not on that camp :) Oct 22 07:44:39 not here, i mean the internet in general Oct 22 07:44:43 especially FB Oct 22 07:44:47 ahh Oct 22 07:46:52 android studio or eclipse? Oct 22 07:47:03 * tricknology runs Oct 22 07:47:09 or does it depend on my level? (beginner or pro) ? Oct 22 07:47:17 * Darklust slaps supay around a bit with a severed limb Oct 22 07:47:23 lol Oct 22 07:47:41 you will find more guides on Eclipse if you're new Oct 22 07:48:17 ofc.. dev.android.com has articles written for Eclipse.. Oct 22 07:48:20 but also, you will have the pleasure of skipping Eclipse and using what's probably going to be the next standard IDE for Android Oct 22 07:48:27 but ignoring that.. which one? Oct 22 07:48:36 cool! :) Oct 22 07:48:38 FWIH it's not /that/ different Oct 22 07:48:55 i'll go with AS Oct 22 07:48:59 tricknology: you're not a dev? Oct 22 07:49:04 and your productivity will be better once you get used to it Oct 22 07:49:08 i am Oct 22 07:49:10 or have you just used one? Oct 22 07:49:12 ah Oct 22 07:49:14 but I don;t use AS Oct 22 07:49:24 cool! :) Oct 22 07:49:26 thanks Oct 22 07:49:46 np Oct 22 07:49:52 also maybe look into IntelliJ Oct 22 07:50:26 supay emacs 24.4 came out, may as well look at that too Oct 22 07:50:30 ...which I am now downloading Oct 22 07:50:38 tricknology: isnt it based off intellij? Oct 22 07:50:40 i mean, AS Oct 22 07:50:44 yes Oct 22 07:50:54 g00s: lol :P and maybe i should update notepad++ as well Oct 22 07:51:00 or apt-get update vi Oct 22 07:51:01 :D Oct 22 07:51:13 :P Oct 22 07:51:34 bedtime Oct 22 07:51:39 cya tricknology Oct 22 07:51:42 laters Oct 22 07:55:52 Hi Oct 22 07:56:13 trying to learn android development, but it's been hard for me to stick with it Oct 22 07:58:52 you need to find a specific project and then solve all the problems involved in finishing it, that is the best way to learn. Oct 22 08:01:16 Do you know a good example of one? Oct 22 08:01:19 just curious - are the popular games that we see on the play store developed on Eclipse and Android Studio? Or is there something else for game development? Oct 22 08:01:30 oddalot: you should pick a project that you're interested in.. that would motivate you to learn. Oct 22 08:02:17 Im an android noob too.. I just know a bit of java. But i got this idea which i would love to have. App dev costs too much and here i am, asking questions, learning and developing my app. Oct 22 08:02:25 I'm really interested in learning how the layout works. I'm a front end web developer and I deal with that a lot. Oct 22 08:02:46 oddalot, ah no, the idea is to think of what YOU want to do, no matter how dumb it seems, then follow thru, if you fail you still will have learned a lot, the goal is not as important as the process but you need the goal, just make something up :) Oct 22 08:02:53 I'm a pretty big Java noob as well Oct 22 08:03:22 I'm pretty strong in javascript Oct 22 08:03:52 oddalot: java isn't too difficult to learn.. are you familiar with c/c++? or just webdev? Oct 22 08:04:41 oddalot: the best way to figure out layouts is by tweaking them around, dumping elements in and then running your app on different sized devices to see how it looks.. thats probably how you started out with layouts in webdev as well Oct 22 08:05:14 I mean, I've learned Java, C etc... in the past, It Oct 22 08:05:25 well, thats all you need Oct 22 08:05:26 's just I never mastered them, and forgot them Oct 22 08:05:49 oddalot: head over to d.android.com and get started.. go go go! Oct 22 08:05:59 can you ask eclipse at question here? Oct 22 08:06:15 I'm downloading the SDKs as we speak, but it's taking a while Oct 22 08:07:18 DarsVaeda: if it is related to android somehow, im sure you can! :) dont ask to ask.. just ask! if its off topic, people will let you know and sometimes even redirect you to another chan Oct 22 08:07:51 oddalot: id suggest downloading the bundle. its an easier way to get started. downloading the sdk separately and trying to make it all work with eclipse is a huge pain in the ass IMO Oct 22 08:08:21 I'm using Android Studio Oct 22 08:08:23 oddalot: google 'adt bundle' Oct 22 08:08:42 oddalot: well, it probably came with the sdk, no? Oct 22 08:09:02 I have really troubles debugging on a mac with osx 10.10, although the device is shown as connected via "dab devices" it is not shown in the device chooser, I have to replug it and in many cases I can install my app but when it tries to launch the activity nothing happens and it just stops Oct 22 08:09:04 Well, one of them, but I figured I might as well download all of them from the start Oct 22 08:09:04 any idea? Oct 22 08:09:52 oddalot: you can do that from the 'SDK Manager' Oct 22 08:10:03 That's what I'm doing ;) Oct 22 08:10:15 I'm about 10% done. Oct 22 08:10:17 DarsVaeda: it could be some error/problem with your app.. Oct 22 08:10:24 oddalot: ah, great! :) good luck Oct 22 08:10:48 no the app works fine in the cases I can actually upload and start it, can also start it manually after it was uploaded Oct 22 08:11:27 DarsVaeda: maybe your wire is faulty.. or the phones drivers aren't installed on your computer.. or your usb port is unstable Oct 22 08:11:57 hmm yeah that probably is right, damn asus Oct 22 08:12:06 haha :) Oct 22 08:12:33 as long as you can test the app in some way or another, you should be fine.. i understand it is a little more work, but meh Oct 22 08:12:33 worst device ever -.- Oct 22 08:12:42 :P Oct 22 08:12:51 thats what i think about my xperia z2 Oct 22 08:13:05 I probably is not as bad as this thing Oct 22 08:13:11 it Oct 22 08:14:18 probably not Oct 22 08:14:45 how do I reverse the process of requestDisallowInterceptTouchEvent()? Oct 22 08:19:30 Odaym: that function/method takes in a boolean.. how about passing 'false' ? Oct 22 08:19:50 it doesnt bring back the behavior that passing true to it causes Oct 22 08:21:08 Odaym: then you need to provide more information.. some code and what exactly it is that you're trying to do Oct 22 08:28:17 well basically I'm using requestDisallow so that I could get my listview (inside a drawer) to enable swiping on its items, so as not to have the drawer take that touch Oct 22 08:29:04 so when I do that (in action_down), I get the items to swipe, but then you can't scroll the listview with that option of course because that event doesnt belong to the items Oct 22 08:30:03 so view.getParent().requestDisallowInterceptTouchEvent(true) is allowing the item to be swipable but the listview to be unscrollable (because action_down stops it of course) Oct 22 08:30:36 Odaym: http://stackoverflow.com/questions/15062365/how-to-work-when-listview-inside-the-scrollview Oct 22 08:30:52 and all i had to do was google 'reverse requestDisallowInterceptTouchEvent()" Oct 22 08:30:58 I guess it IS reversing the operation, but Im calling it inside on action up, and then calling it with True again in on action down :P Oct 22 08:31:39 :P Oct 22 08:31:48 well I dont have access to these elements in my class Oct 22 08:31:53 I have the swipeListview element, yes Oct 22 08:32:14 is "view" the row? Oct 22 08:32:23 from the override of onTouch Oct 22 08:34:05 hello Oct 22 08:34:10 I dont understand how it's going to be able to differentiate Oct 22 08:34:13 I got an app's apk file from my phone Oct 22 08:34:29 when I press on the child and want either to move up (to scroll the whole list) or to move right/left to swipe the item Oct 22 08:34:30 can i go through its code now ? the activity fiels, etc. ? is there some way to reverse engineer it or basically access code? Oct 22 08:34:51 hi guys, i want to create a round "grid view" that can take one or more items and display them as a circle, would a gridview be the best view to modify for this or do you have any other suggestions? Oct 22 08:35:19 Odaym: code, code! :) Oct 22 08:35:26 i mean, give us code, to see what you're doing Oct 22 08:35:54 Hello, anyone knows how to resolve dependencies conflict in gradle? How to find out what exactly is the cause ? Oct 22 08:36:03 shmoon: of course, here - http://stackoverflow.com/questions/12732882/reverse-engineering-from-an-apk-file-to-a-project Oct 22 08:36:27 http://pastie.org/9667116 Oct 22 08:36:35 there, I'm working on that class' onTouch event Oct 22 08:36:46 shmoon: remember, when you reverse engineer a compiled apk, you wont get the 'original' code.. but some reverse engineered code. you might be able to understand how it works and tweak it etc. Oct 22 08:37:16 supay: interesting, means our android odes are never safe Oct 22 08:37:25 competitors can write our apps quick and know our IP Oct 22 08:37:53 shmoon: not necessarily.. you can use obfuscation techniques etc Oct 22 08:38:21 is that what this thing called proguard does? Oct 22 08:38:22 vegetablesalad19: google the error/conflict string that you see Oct 22 08:38:41 shmoon: yes. Oct 22 08:38:55 ok obfuscation is a good one, hard to understand that code Oct 22 08:39:09 shmoon: but understand this, if you know enough about reverse engineering, it is always possible to understand how some app was implemented. Oct 22 08:39:13 but androdi system function names won't change hence a smart guy can understand i he wants to Oct 22 08:39:28 supay, no luck. It doesn't show in error what causes the conflict. https://stackoverflow.com/questions/26489788/how-to-find-dependency-conflict-in-gradle Oct 22 08:39:39 vegetablesalad19: screenshot? Oct 22 08:39:54 vegetablesalad19: ignore that Oct 22 08:40:00 god damn it Oct 22 08:40:01 i mean, my request for a screenshot Oct 22 08:40:09 Odaym: found the answer? :) Oct 22 08:40:32 no, I just was able to repeat the same mistake from the adapter which loads the stuff inside the drawer Oct 22 08:40:39 meaning to requestDisallow in mid-touch Oct 22 08:40:45 which fucks up the swipe Oct 22 08:41:20 Odaym: hmm, im no pro.. so i might not be able to assist you. others on this chan might, when they see your question. Oct 22 08:41:23 I pasted what Im working on, if you want to see Oct 22 08:41:49 thanks supay Oct 22 08:42:00 shmoon: np Oct 22 08:42:30 vegetablesalad19: see if this helps? http://stackoverflow.com/questions/18572430/how-to-import-remote-library-in-android-studio-using-gradle Oct 22 08:43:04 what you pasted is totally unrelated Oct 22 08:43:20 it only looks like it, but this is not what I was talking about Oct 22 08:44:27 supay, thank you, but I'm already doing that. This is my stack post with code and error : https://stackoverflow.com/questions/26489788/how-to-find-dependency-conflict-in-gradle Oct 22 08:50:13 how can i programmtaically set my app as the default homescreen-app (android.intent.category.HOME)? i can assume that my app runs on a rooted device and even that it's a system app and might have the WRITE_SECURE_SETTINGS permission Oct 22 08:51:46 thana: by 'homescreen' do you mean 'launcher' ? Oct 22 08:52:21 Hi Oct 22 08:52:31 hi niru Oct 22 08:52:51 supay: well, yes ;) Oct 22 08:52:51 When I scroll over my compound view it gets recycled Oct 22 08:53:25 And in logcat I see same Log.d messages repeated when scrolling over the ui Oct 22 08:53:49 thana: interesting question! i would want that answer as well.. let me try google while we wait on someone to answer! Oct 22 08:53:53 I know its related to getView method Oct 22 08:54:09 implemented in adapter class Oct 22 08:55:05 But not know exactly what I need to do to avoid the view from recycling Oct 22 08:55:28 supay: i googled already but couldnt find an answer yet (besides "you cant" which i dont accept as i have every possible permission) Oct 22 08:55:46 yes, which is what i was thinking Oct 22 08:56:01 they say you can't unless ofc, you have root.. which implies you can do anything to your phone Oct 22 08:56:02 lol Oct 22 08:56:41 thana: have you tried/read this - http://stackoverflow.com/questions/23110047/android-choose-default-launcher-programatically ? Oct 22 08:56:43 so at the end it boild down to the question, where such settings are made ;) Oct 22 08:57:06 supay: yes -- the way they describe is deprecated since api level 7 Oct 22 08:57:13 i see.. Oct 22 08:57:26 thana: you might need to look at the Android source! Oct 22 08:58:18 hey guys, any idea how I can constantly update a database in my app? Oct 22 08:58:51 supay: mmh yes, indeed. already did this to mangel nfc... but it always makes me feeld bad as its never part of any public API and i do not know whether or not the (sometimes even public methods) are subject to change some time in the future :/ Oct 22 08:58:56 I thought of using a SQL server, but the dude i'm writing this app for doesn't want to pay much Oct 22 08:59:03 so I figured, i'd use Drive Oct 22 08:59:04 guys any recommendation before the production release? Oct 22 08:59:49 thana: yeah, that is sad.. :( they might just not like what you're doing and deprecate stuff to stop it from working. Hmm Oct 22 09:00:50 vinit-ivar: Mr. Ravishankar, you can try polling to your db. And why would you use Drive? He'd have to pay for the app backend. :/ Oct 22 09:01:15 supay: the software isnt intended to go into the wild anyway... so maybe i'm worrying to much about it. at the end i might even know excatly on which devices it will run and can test my stuff on them directly Oct 22 09:02:14 thana: that is one way to do it.. browsing the android git repo to see something that might help.. but i doubt i'll find anything that easily :/ :P Oct 22 09:02:19 i'd have to host a db somewhere, though. Trying to avoid that. Oct 22 09:02:44 a Drive spreadsheet seems to be easier, speed and security are not issues here Oct 22 09:02:57 and how on earth did you know my name o.O Oct 22 09:03:24 vinit-ivar: https://developers.google.com/drive/android/ good luck Oct 22 09:03:42 vinit-ivar: you use that for your github and probably everywhere else on the internet.. not any serious doxing lol Oct 22 09:03:56 vinit-ivar: google 'vinit-ivar' and see for yourself Oct 22 09:03:58 supay: i think it could be more or less easy, to search the codebase for api level 6 and look what the now deprecated method did that time Oct 22 09:04:30 thana: yes, and downgrade all the devices on which you'd like to run your app and use the method on that link! :) Oct 22 09:04:44 I've seen that, but it's a pretty irritating API honestly. I've been beating my head against a wall for days now. Ah well Oct 22 09:04:53 I took my name off github :/ Oct 22 09:05:20 do i need to add license checker for a free app? that damn thing is going to timeout and i dont even know why Oct 22 09:05:26 supay: or just rebuild the functionality if possible Oct 22 09:05:34 supay: as downgrading is not an option Oct 22 09:06:01 anyway, cheers, i'll try buying a server. any recommendations? Oct 22 09:06:11 vinit-ivar: vinit.ravishankar@gmail.com lol Oct 22 09:06:16 it shows on your github Oct 22 09:06:22 ah Oct 22 09:06:23 that Oct 22 09:06:23 hha Oct 22 09:06:37 thana: thats another way to go.. :) seems too crude.. there must be a simpler way Oct 22 09:07:04 vinit-ivar: im sure you can get some real cheap hosting plan with mysql.. try bigrock Oct 22 09:07:54 I've worked with bigrock before. not a fan of their customer support, but I suppose everybody's as bad Oct 22 09:07:59 thanks Oct 22 09:08:40 vinit-ivar: your client isn't paying you much. let him deal with customer support ;) cheers! Oct 22 09:13:10 can someone do me a major favor and ZIP up the sdk/samples/android-L folder for me and upload it somewhere? it got completely messed up on my install and the SDK Manager is refusing to redownload it Oct 22 09:18:01 friends...can anybody suggest me a good mobile so that i can test the android applications? is xiaomi redmi note smartphone can be useful for testing the android applications? Oct 22 09:18:33 you can use any cell phone to test the application Oct 22 09:18:34 Get Galaxy S3/S4 Oct 22 09:18:51 testng or random chinese firmware isn't going to give you good results for western markets Oct 22 09:19:00 ^ Oct 22 09:19:14 SilSila, get the Moto E/G if you're on a budget Oct 22 09:24:08 Mavrik: why not? Oct 22 09:24:27 Chainfire: refusing? use 'sudo' :P Oct 22 09:24:53 supay, because RedMi uses Xiaomi's MIUI which is heavily modified Oct 22 09:25:03 it doesn't even look like all other Androids and has modified base themes Oct 22 09:25:14 so what you're seeing on that phone isn't what everyone else will see. Oct 22 09:26:10 Mavrik: it would change the way the app looks as well? I thought MIUI was some kind of heavily modified launcher Oct 22 09:26:16 also, if you're using the NDK, having a mediatek chipset isn't exactly a good idea Oct 22 09:26:26 found the download Oct 22 09:26:33 f'ing sdk manager never works Oct 22 09:27:25 pwnt Oct 22 09:27:30 i was about to upload the production apk and i got blank page hueh Oct 22 09:27:39 damn license checker Oct 22 09:28:20 lol Oct 22 09:31:11 i dont even know Oct 22 09:31:18 why did i add license checking for a free app Oct 22 09:32:22 oh expansions. who needs that Oct 22 09:34:53 does whatsapp use some php on its backend to connect the mobile app to the backend db? Oct 22 09:34:57 if not, what does it use? Oct 22 09:35:45 the "backend db" is an xmpp server, as far as I am aware, supay Oct 22 09:36:06 sonOfRa: ah, so it uses a different protocol. okay! :) Oct 22 09:36:08 thanks sonOfRa Oct 22 09:36:09 well, lots of xmpp servers probably, for that amount of load Oct 22 09:36:11 and epic nick Oct 22 09:36:27 yes, ofc :) Oct 22 09:40:13 Has anybody got the 64bit emulator working on OSX yet? I see lots of people having the issue where it just black-screens, but no suggested fixes Oct 22 09:43:53 how can I search for all files in GPL license in android source? Oct 22 09:46:28 is Juno an upgrade or a downgrade? I just started eclipse in the ADT bundle (which i just downloaded) and it says 'Juno' Oct 22 09:47:59 vinit-ivar, can i use moto e/g is especially for android applications or can i use it for all purpose (calling,video, etc)? Oct 22 09:48:58 oh shit im uploading the production apk Oct 22 09:49:00 im dying Oct 22 09:49:25 is there a solution for playing inline Live Video Stream in android, need it work in WebView. Android 4.0+. HLS isn't playing nice across devices:< Oct 22 09:49:58 my first android app :) Oct 22 09:50:02 cliffreich_: RIP and May the Force be with you! Oct 22 09:50:07 cliffreich_: can i see?! :D Oct 22 09:50:37 did anyone manage to start a large resolution device avd with the snapshot option? Oct 22 09:50:39 SilSila: everything.. obviously! :) Oct 22 09:50:54 i would be ashamed :( you guys are pretty experienced programmers Oct 22 09:52:03 cliffreich_: nope, never feel that way. Oct 22 09:52:18 cliffreich_: if you feel so, you can just pm me :) Oct 22 09:59:26 that's cool, cliffreich_ Oct 22 09:59:36 and we aren't all experienced Oct 22 10:03:00 now I remember why I didn't use the emulator, even worse than my device ^^ Oct 22 10:03:02 meh... Oct 22 10:04:17 omg :( Oct 22 10:04:26 no samples for cardview in the current sdk Oct 22 10:05:39 * monsti feels like a virgin in a harem Oct 22 10:07:02 DarsVaeda: duh! :P Oct 22 10:07:53 I set API level to 17, I setup an avd with level 17, start: can not load from snapshot, wasn't build for the hardware Oct 22 10:08:20 I start it manually, select in the device chooser target shows a question mark, whatever that means, won't start it Oct 22 10:08:22 -.- Oct 22 10:09:56 it works without the snapshot but yeah then I can watch like walking dead while testing cause its so freaking slow ^^ Oct 22 10:12:46 tough Oct 22 10:14:02 depressing, need to work on my thesis...and it is not about "how to setup debug (on a mac)" ;D Oct 22 10:14:56 should be, seems it's a pretty broad subject Oct 22 10:15:07 ... not necessarily with a happy ending - it's a mac after all Oct 22 10:15:44 at the end it's just a linux copy Oct 22 10:15:57 this is so debian with gnome all over Oct 22 10:24:32 DarsVaeda: genymotion Oct 22 10:24:43 hmm? Oct 22 10:24:46 x86 / x64 emulator / Oct 22 10:25:06 Hi, does anyone know how I can get rid of the following error? Oct 22 10:25:06 only position independent executables (PIE) are supported Oct 22 10:25:14 DarsVaeda: just google it Oct 22 10:25:24 did already thanks :) Oct 22 10:25:26 DarsVaeda: Genymotion is wonderful Oct 22 10:29:38 https://ind.ie/phoenix/ Oct 22 10:29:47 open letter to Tim Cook was so sweet :D Oct 22 10:31:12 tim cook: "tl; dr" Oct 22 10:32:57 :D Oct 22 10:44:15 I noticed that the Kindle Android APP "Kindle Whispersync for Voice" only enables the VOICE feature for Kindle FIRE HD, but not for other android devices such as Samsung S5. Is the app simply checking what Device I am using and then enables/disables that feature? Because I can't imagine that it wouldnt work on Samsungs phones. I suppose they just want people buying their Kindle Fire's Oct 22 10:47:28 https://www.youtube.com/watch?v=Lfte_gqsAv4 Oct 22 10:50:48 can i update nexus 7 2013 to android 4.4? how? Oct 22 10:51:02 well Oct 22 10:51:15 https://developers.google.com/android/nexus/images Oct 22 10:51:20 and it's wrong channel Oct 22 10:56:04 i read monkey stress tester tool sends system level events, like ? Oct 22 10:56:31 or what does that mean, apart from click, keyboard, etc. events Oct 22 10:57:46 I've got a very simple app (for testing) that listens for SMS messages, and then posts to a URL the time each SMS was received. Oct 22 10:57:51 Right now I just construct a simple HTTP request to do this. Is there a library or another approach than can handle this and all error cases for me? (ie. retry later if no connection, etc) Oct 22 10:58:19 I just want to guarantee (as far as possible) that at some stage the POST request is made. Oct 22 10:58:53 Implementing my own exponential backoff retry mechanism seems like overkill for something this simple. Oct 22 11:02:58 I am trying to set up google analytics for my app and it tells me to add code to my application class, but I cannot find this class anywhere. where in my project would it be defined? Oct 22 11:03:49 Lol, does it mean im a crazy grammar-nazi if i found this on ind.ie/phoenix/ ? - "Greg brings years of experience in Objective-C and compiler developer to Ind.ie" Oct 22 11:05:31 years of experience in compiler developer Oct 22 11:05:33 sounds legit Oct 22 11:06:30 Should be "Greg brings years of experience in Objective-C and compiler development to Ind.ie" Oct 22 11:06:54 Hi... my app is breaking under the PIE check... Really worried about the final release of Android L is going to impose this security feature... are there anyone who knows if Google is really gonna kill all these apps that uses native libs? Oct 22 11:08:23 yeah Oct 22 11:08:55 to supay, not dck28 Oct 22 11:13:04 dck28: Yeah, the PIE requirement caused us some grief too. Our APK ships with telnet, mosh and bash binaries for ARM, MIPS and x86, and for each of those arch's we now ship PIE and non-PIE versions of the binaries! Oct 22 11:13:14 * JuiceSSH wonders if he'll have to compile x86_64 versions of those too Oct 22 11:17:38 bilb_ono: You need to create a new class that extends Application, then specify that in your AndroidManifest.xml does google play allow ads from other sources than their own (adsense is it?) (curious) Oct 22 11:19:17 Yes Oct 22 11:22:47 Zharf: duh :P Oct 22 11:23:01 supay, it's not a "duh"... it's a valid question Oct 22 11:23:28 I was just wondering if I should whine to google about this app's ads or not :p Oct 22 11:23:33 Zharf: never said it wasnt. but you could have easily googled the question. besides, notice the ":P" Oct 22 11:23:34 not like I would use it anyway Oct 22 11:23:47 haha :) Oct 22 11:24:07 but they are nice enough to log all the URLs they're getting their data from Oct 22 11:24:12 so I could just write my own app without ads Oct 22 11:24:14 <3 Oct 22 11:24:22 yeah, i dont believe that that leak about adsense is true.. but i have my reservations against adsense as well Oct 22 11:24:26 haha, yes! :) Oct 22 11:26:11 how do i enable PIE? Oct 22 11:26:34 i just released my first app and never heard of PIE Oct 22 11:26:45 no clue what PIE is Oct 22 11:27:08 cliffreich_: still shy? :P you wont share your app?! Oct 22 11:27:24 topic says no advertising :) Oct 22 11:27:50 Zharf: never asked him to link me here Oct 22 11:27:56 fair enough Oct 22 11:27:57 he could do it over pm if he wants to Oct 22 11:28:02 supay its too awful... let me wait for the 2nd update bugs and design to share it with developers. devs will critique my app for sure :P Oct 22 11:28:32 cliffreich_: i wont.. maybe i can give you feedback? im really interested! :) but you'd have to share it over pm, as Zharf pointed out! Oct 22 11:28:46 someone will be oh this guy is just dumb after the first bug Oct 22 11:28:49 heh Oct 22 11:29:15 cliffreich_: people find bugs on google everyday.. its cool :) Oct 22 11:41:32 Hi people.. help... I've been spending all day trying to ndk-build something with r10c with the latest google-breakpad... Oct 22 11:41:42 please.. if anyone know how i can fix this.. pls... Oct 22 11:41:42 http://pastebin.com/n2LqPcSY Oct 22 11:47:21 begging never helped anyone, at least not here Oct 22 11:49:09 then what helps? Oct 22 11:49:46 my head is spinning.. it's getting way too low level... i just wish what it is trying to say to me... Oct 22 11:50:43 are you compiling for x86? Oct 22 11:52:09 ah, mips64 Oct 22 11:52:53 I for one have never heard of "google breakpad" so can't help too much. it does tell you the exact file and line where it fails so that's a start Oct 22 11:53:35 I was thinking that he is compiling it for mips64 which is not supported. Oct 22 11:54:01 "The Breakpad processor library is able to process dumps produced on Mac OS X systems running on x86, x86-64, and PowerPC processors, on Windows and Linux systems running on x86 or x86-64 processors, and on Android systems running ARM or x86 processors." Oct 22 11:54:08 mips64 is not supported Oct 22 11:54:18 dck28, asking questions in a precise and technically sound manner usually helps, begging and pleading usually just annoys people Oct 22 11:54:28 we're not a charity here Oct 22 11:54:51 google-breakpad/src/common/memory.h:122:59: error: 'sys_mmap2' was not declared in this scope Oct 22 11:54:55 yah i know.. that's why i pasted a pastebin link.. i just wanna know what it is trying to tell me Oct 22 11:55:09 are you even reading what I am typing? Oct 22 11:55:17 or am I wasting my time trying to explain it to you? Oct 22 11:55:36 nah.. i am readying Oct 22 11:55:50 ok, so this is not available on mips64. Oct 22 11:55:52 but i tried just doing armeabi and it still spits out the same thing Oct 22 11:56:25 i'm talking about the Application.mk Oct 22 11:56:45 yes, I know. Oct 22 11:56:54 are you using 32-bit or 64-bit ndk? Oct 22 11:56:59 64 Oct 22 11:57:17 maybe i should try 32... that's a good idea...! thanks Oct 22 11:57:49 tried googling already? often times googling the project name and the error yields good results Oct 22 11:59:38 dck28: https://code.google.com/p/google-breakpad/source/browse/trunk/README.ANDROID Oct 22 11:59:45 dck28: have you followed this guide? Oct 22 12:00:43 where can I see the linux kernel source in android repo? I have downloaded the android 4.4 and did n't see that Oct 22 12:01:32 dck28: have you set APP_STL? Oct 22 12:01:38 dck28: APP_STL := stlport_static Oct 22 12:01:46 dck28: in Application.mk Oct 22 12:02:02 yeap Oct 22 12:02:08 dang. ok. Oct 22 12:02:12 what is the best way to "keep" a drag n drop operation on top of my view, ie if the user drags it outside i want to leave it where it was/stop the drag action Oct 22 12:02:23 dck28: I need to rush. best of luck. Oct 22 12:04:04 is there anything in android dev (eg eclipse) where you “target membership” of a .java file towards a particular project, like in xcode? Oct 22 12:04:46 because one of my files just isn’t loading properly in a way that was fixed, on iOS (in my phonegap project) by doing “Target Membership" Oct 22 12:05:50 hokkaido: Thanks I appreciate your help Oct 22 12:18:06 mylord, a java source file is always a part of a project. I have no idea what this "target membership" thing does, and it would probably be best to refrain from ios references as they generally mean nothing in here Oct 22 12:20:53 Does anyone have experience using cupboard to map to-many relationships or inherited classes? Just trying to decide the least nightmareish solution Oct 22 12:32:49 Hi. How can I make something like a Spinner, that won't take focus, I only want to be visible in order for the user to know that something is loading, but don't take focus? Oct 22 12:41:36 where can I see the linux kernel source in the downloaded source code of android-4.4.4_r1 Oct 22 12:41:41 ? Oct 22 12:41:54 Bpaul: A spinner in android terminology is a form of dropdown selector Oct 22 12:42:03 Bpaul: Like the