**** BEGIN LOGGING AT Tue Jan 06 02:59:59 2015 Jan 06 03:11:47 Hi, I've got a question about HTTPS connections in Android apps, is it a must to embed the cert within the app in order to avoid the javax.net.ssl.SSLPeerUnverifiedException: No peer certificate error ? Jan 06 03:12:01 and if so why is that? thanks for your expertise Jan 06 03:19:40 yes Jan 06 03:20:10 why? Jan 06 03:20:27 that's a pretty dumb question Jan 06 03:22:46 i agree, dumb question Jan 06 03:26:44 next victim! Jan 06 03:32:02 dck28 welcome to the jungle Jan 06 03:34:06 * capella-s3 monsters be there Jan 06 03:34:47 wait... why? Isn't the standard to accept all valid CA certs? Jan 06 03:36:51 isn't it possible to trust all valid certs in the system like Chrome instead of embedding a specific cert? Jan 06 03:41:09 Is there a system property member for the . in file extensions? like File.seperator? Jan 06 03:47:21 wo, Samsung and LG shunned android for Tizen in their 2015 TV lineup Jan 06 03:47:33 LG !?! Jan 06 03:48:00 it's good to have more OSes Jan 06 03:48:06 for the public, at least Jan 06 03:48:34 that's nice. android is terrible Jan 06 03:48:41 it is Jan 06 03:48:51 lasserix, i don't think so. Jan 06 03:48:55 i've never seen an android TV heh Jan 06 03:48:59 TV is for old people Jan 06 03:49:11 in 20 years Jan 06 03:49:11 get off my tube Jan 06 03:49:18 they'll say screens are for old people Jan 06 03:49:24 you won't want to be brainwired Jan 06 03:49:32 what if they brainjack you, you'll complain Jan 06 03:49:55 and unfortunately, as an old geezer, that possibility will be real for you Jan 06 03:50:03 you'll keep getting phished.. and brainjacked Jan 06 03:50:15 cif they hook wires up to me, they will fry my delicate noodle :( Jan 06 03:50:35 * g00s remember the homer simpson xray Jan 06 03:50:57 http://www.fanpop.com/clubs/the-simpsons/images/60337/title/homer-brain-x-ray-wallpaper Jan 06 03:51:23 oh so that's what you called a noodle Jan 06 03:51:27 spongebob did it Jan 06 03:51:59 capella-s3 more like thundercats O.o Jan 06 03:56:43 anyone able to help me out setting up the new admob in an app? Thought I got everything right but im just getting errors. Jan 06 03:57:03 bukoo, i have no idea but Jan 06 03:57:26 why don't you look at floatinghotpot's admob plugin for Cordova? Jan 06 03:57:31 It might give you some ideas Jan 06 03:57:49 Or. Mine. Which is basically floatinghotpot's but with different indentation.... Jan 06 03:57:55 (on github) Jan 06 03:59:38 I would like to create a grid where each cell is a square. Some squares are to contain a TextView, while others are to contain an EditView. What would be the appropriate layout to use for this? GridLayout, GridView, LinearLayout? Jan 06 04:01:57 editview :0 Jan 06 04:02:09 layout editing right inside your app Jan 06 04:02:30 well ive spent a couple days now going through github, archived pages from developers.google.c om (im using eclipse and the examples are no longer on the site)... So, now i have some other plugin or something that I have to figure out just to place a simple banner add? I'm confused. Jan 06 04:03:16 Let me link you. Jan 06 04:03:18 sq: sorry, I'm brand new to android dev. Jan 06 04:03:50 What I meant (without the technical names) is that some cells will contain plain text, while others will be input boxes. Jan 06 04:04:12 https://github.com/floatinghotpot/cordova-plugin-admob/blob/master/src/android/AdMob.java Jan 06 04:04:40 Banner ads have a lot of options. Jan 06 04:04:50 foist: I was just pulling your leg Jan 06 04:05:01 *squints* consider it pulled Jan 06 04:05:03 ok, I'll take a look. I know it's just something really simple that I'm missing but I'll look. Thanks Agamemnus Jan 06 04:05:17 and I'd use gridview Jan 06 04:06:06 sq: from my understanding I have to provide a data source for the gridview. Does that not mean that the cells are uniformly filled? As in, they all have the same type of content Jan 06 04:09:19 foist: they can contain any views you want Jan 06 04:09:38 (I assume you have a lot of data?) Jan 06 04:09:50 I do not have a lot of data. Jan 06 04:10:32 For examples sake, lets say I want a multiplication table where only the top row and the left-most column have numbers, and the user must fill in the answers. Jan 06 04:10:36 Is haptic feedback something that requires a permission? Jan 06 04:10:43 so a 10x10 grid would suffice. Jan 06 04:11:31 anyways, http://stackoverflow.com/questions/11307218/gridview-vs-gridlayout-in-android-apps Jan 06 04:12:42 I have seen that and made notes from it. The trouble with a GridLayout (so it seems) is that I cannot use it and have it dynamically fit any extra space. Jan 06 04:12:49 It doesn't have a weight property. Jan 06 04:13:30 That is why I ruled GridLayout out, but as I said, I'm new so I doubt my judgment. Jan 06 04:14:34 Is there a way to use haptic feedback without requesting a permission? Jan 06 04:18:03 lasserix: that would defeat the entire purpose of permissions Jan 06 04:18:32 no Jan 06 04:18:39 i was wondering if there is a way to use system haptic Jan 06 04:18:42 because it seems you can Jan 06 04:18:44 just wondering Jan 06 04:25:30 How do I go about using a GridView and making some cells contain a TextView while other cells contain an EditText? From my understanding the adapter for the gridview only deals with one type of data - for instance, it can by an ArrayAdapter for strings. Am I mistaken? Jan 06 04:27:02 whats to prevent a person from downloading a paid app from the playstore, copying the apk to somewhere, refunding the app and re installing it without buying it Jan 06 04:28:28 foist, extend BaseAdapter, use custom layouts, override getViewTypeCount and getItemViewType Jan 06 04:28:30 bynarie: AT&T Jan 06 04:28:39 foist: http://developer.android.com/reference/android/widget/BaseAdapter.html#getViewTypeCount() Jan 06 04:29:03 whatitis-: are those all seperate suggestions, or the implementation steps? Jan 06 04:29:13 Agamemnus, what u mean? Jan 06 04:29:19 Since 2013, AT&T and Verizon have forced Samsung to take the open-source Android OS and make the bootloader locked and encrypted Jan 06 04:29:20 part of BaseAdapter Jan 06 04:29:46 This means that unless you have specialized hardware you can't get past Google Play's copy-protection system Jan 06 04:30:06 Is there some interactive shell I can use for playing with the API, or is this not possible because java is compiled? Jan 06 04:30:18 each Google Play app is encased in it. Jan 06 04:30:19 well, i just did it with an app on nexus 9 and samsung galaxy tab S Jan 06 04:31:04 foist: Android does not have an REPL as far as I know. No live interpereter Jan 06 04:31:08 I see Jan 06 04:31:29 http://developer.android.com/google/play/licensing/overview.html Jan 06 04:31:37 that's all i got Jan 06 04:32:17 whatitis-: would I still be using gridview with the steps you outlined above? Jan 06 04:32:40 Agamemnus, ok thanks for the info.. the app i did it too must not have licensing built in Jan 06 04:33:18 yea, just create a class that extends BaseAdapter, implement the methods in it, then use it like any adapter, and set gridview to that adapter Jan 06 04:33:53 bynarie: honestly i don't know 100% Jan 06 04:34:01 yea me either Jan 06 04:34:01 whatitis-: okay, I will try that. Jan 06 04:34:13 I just don't have the will to question the Google on this Jan 06 04:34:17 well Jan 06 04:34:35 just read up on BaseAdapter and gridview, works same with listview etc Jan 06 04:34:39 i know 1/5 stars on a device my app doesn't support, and they couldn't do anything unless I had the device ID... Jan 06 04:34:40 im doing it for testing purposes only.. i really dont believe in stealing a devs money, considering we are all devs, or wannabes lol Jan 06 04:34:45 whatitis-: how long do you estimate carrying out such a task would take for an experienced dev? Jan 06 04:34:50 so there's that Jan 06 04:36:13 it doesnt take long, just gotta familiarize yourself with how it works with getView of BaseAdapter, and how views are recycled with your data etc, just read a few examples and get familiar Jan 06 04:37:06 Okay, thanks for pointing me the right way. Jan 06 04:43:15 Agamemnus: I took a look at the plugin you linked me too. It looks way to complicated for my level of knowledge which is little to none... Let me ask this... Looking at what I have, is anything obviously wrong? http://pastie.org/9815517 Jan 06 04:44:20 let's see Jan 06 04:44:45 what was the error you got again? Jan 06 04:46:23 adView cannot be resolved (3 instances of this) and adView cannot be resolved to a variable (2 instances of this) Jan 06 04:48:01 just "cannot be resolved"? Jan 06 04:48:31 and LinearLayout cannot be resolved to a type Jan 06 04:48:41 do you have "package" at the start? Jan 06 04:48:59 package? Jan 06 04:49:01 search "android LinearLayout" Jan 06 04:49:05 find the import string Jan 06 04:49:17 package com.mypackage; ... not sure how eclipse works Jan 06 04:49:35 you need "import android.widget.LinearLayout" Jan 06 04:49:39 lol yes sorry, I do have package Jan 06 04:50:03 is it adView cannot be resolved, or AdView cannot be resolved Jan 06 04:50:45 I'll try the import...... Jan 06 04:55:51 it's adView Jan 06 05:02:05 it's adView going afk for 5 min Jan 06 05:05:34 hmm Jan 06 05:06:20 thinking it's a build path issue....... be back in 5 Jan 06 05:16:15 back Jan 06 05:17:43 that was 10 Jan 06 05:17:45 liar Jan 06 05:18:18 im sorry... :( Jan 06 05:20:36 yeah i don't know Jan 06 05:20:45 but i think you are probably right Jan 06 05:21:05 http://giderosmobile.com/forum/discussion/4941/trying-to-test-ads-plugin-for-android/p1 Jan 06 05:21:37 ok do you know if maybe something should be in my main.xml ? Jan 06 05:21:59 i don't know much Jan 06 05:22:05 i don't even have a main.xml Jan 06 05:22:45 i think you didn't include admob Jan 06 05:22:49 somehow Jan 06 05:22:55 make it specific Jan 06 05:23:43 https://github.com/floatinghotpot/cordova-plugin-admob/blob/master/src/android/AdMob.java Jan 06 05:25:18 Thanks again Agamemnus.... i'll look at both links Jan 06 05:25:19 which lines are the errors on Jan 06 05:25:34 oh Jan 06 05:25:37 here's your problem Jan 06 05:25:40 Adview adView = new AdView(this); Jan 06 05:25:46 You didn't set a type, you silly goose Jan 06 05:26:06 ill check, just a sec... can I post a screenshot for you? Jan 06 05:26:07 unless you declared it before, you need to set a type Jan 06 05:26:16 um...ok Jan 06 05:27:03 you need to set a type everywhere Jan 06 05:29:11 um, a type? Jan 06 05:29:31 class Jan 06 05:29:34 whatever Jan 06 05:29:43 not adView = new AdView(this); Jan 06 05:29:49 but AdView adView = new AdView(this); Jan 06 05:32:39 replaced it, refreshed, cleaned, still the errors.. hmm Jan 06 05:33:55 You need to do this for several lines Jan 06 05:34:16 unless it's already defined Jan 06 05:34:42 mContainer , mSplash, mButtonPlay Jan 06 05:39:43 those lines mContainer .. etc already existed and ran without errors. Only the code in the .java which are in the admob commented area was added other than the include Here is that screenshot btw. http://imgur.com/V46x7aa Jan 06 05:40:40 hmm just switched to grandle/android studio. I have a bunch of externally built shared libraries (ndk). Do I need to tell gradle about it? Jan 06 05:41:20 you might have more than one admob library Jan 06 05:41:29 you should do more searching i guess Jan 06 05:41:37 i only started using Java in September Jan 06 05:41:39 I should clarify that where my built libs are not in the ndk directory Jan 06 05:41:40 l Jan 06 05:41:41 ^_^ Jan 06 05:41:49 k Jan 06 05:42:10 look at the intermediate output code Jan 06 05:42:13 somehow... Jan 06 05:42:34 ac_slater, don't think so Jan 06 05:42:46 what is an ndk director? 7_7 Jan 06 05:42:50 directory Jan 06 05:43:07 the root of the ndk Jan 06 05:43:35 I guess the easiest way to say it is, I have an external sysroot I want to build against AND ndk. ie - /opt/ndk and /opt/mylibs Jan 06 05:43:45 i don't know what ndk is ^_^ Jan 06 05:43:57 Agamemnus: lol it's ok. Someone here might ;) Jan 06 05:44:11 maybe Jan 06 05:44:53 sdk maybe??? Jan 06 05:51:46 ? Jan 06 05:53:33 dang it, that sexy Sony ZX2 is running Android 4.2 Jan 06 05:54:15 oh my $1119 :O Jan 06 06:02:11 sigh I cannot figure out how to write gradle build targets Jan 06 06:08:03 How do apps like facebook and twitter recieve notifications in the background when the app isn't running? Jan 06 06:08:18 do they have a service that's always running in the background with websockets or something? Jan 06 06:09:09 oddalot: google push notifications Jan 06 06:09:43 hmmmm Jan 06 06:16:44 hala Jan 06 06:27:10 Hi, i have a service that downloads a file from a server and saves to disk. Im thinking having the download service grab the file then have another service write to disk. Is that overkill? Jan 06 06:27:45 humm what are you doing google play :/ hasn't distributed my alpha release which i updated three years ago :( Jan 06 06:29:00 rburgosnavas: why do you think 2 services is advantageous? Jan 06 06:30:28 I dont know actually, thats why im asking ;) Jan 06 06:31:26 just have 1 service Jan 06 06:33:31 bankai_au maybe it was banned , check to see if your account was suspended :D Jan 06 06:33:51 the dreadful 7 day notice with no reason why from an automated bot Jan 06 06:33:53 thanks google Jan 06 06:34:00 says it's published Jan 06 06:34:44 desmin88 the scary thing about it - these automated bots are going to be impacting all areas of everyone's life eventually. we're just the canaries Jan 06 06:36:18 woah Jan 06 06:36:22 deeeeep. Jan 06 06:36:37 lol Jan 06 06:36:44 anybody who knows chromecast development? Jan 06 06:36:57 I'm not really sure where to begin here Jan 06 06:37:03 bankai_au did you publish it to estonia only or something? Jan 06 06:37:13 :P Jan 06 06:37:34 bankai_au maybe the dogs are in your developer account Jan 06 06:38:31 stupid dogs Jan 06 06:41:09 "Hipster Business Models: How to make a living in the modern world", hm is this what its coming to :( Jan 06 06:41:36 " knitting sweaters for your beard" Jan 06 06:41:38 wat Jan 06 06:41:53 i'm curious to read what's in that book Jan 06 06:42:48 Morning. :-) Jan 06 06:42:50 http://stackoverflow.com/questions/27793409/create-shortcut-on-homescreen-using-adb Jan 06 06:43:48 hipsters probably flock to good business models, but way before they are popular Jan 06 07:11:27 anyone know the best place to ask for NDK advice? Jan 06 07:14:50 I want to Intercept A Call i mean Like Showing Caller Info When Call Comes Just like "True Caller" its like myapp will save numbers and contacts info in a Database and whenever Call Comes It'll match the incoming Number with DataBase like --- If(incomming_nummber is present in Apps Database"){Display Number Info} else {do Nothing Pass On to Native Android Call Handeler}; Just Like It works on TRUE CALLER I'm NOT TRYING To CLONE TRUE CALLER its JUST FOR Jan 06 07:14:50 Entierly Different Purpose Thanks Jan 06 07:15:59 Your arbitrary capitalization makes your messages surprisingly difficult to read. Jan 06 07:16:24 TacticalJoke: Oh Im So Sorry ! Jan 06 07:16:37 Jayden Smith? Jan 06 07:17:09 TacticalJoke: Can You Help me up there ? Jan 06 07:17:10 where can i find the class implementing https://github.com/android/platform_frameworks_base/blob/master/core/java/android/app/FragmentTransaction.java in the source tree Jan 06 07:17:34 essentially FragmentTransaction.java is an abstract class Jan 06 07:18:01 i can't find the sub classes that implement it in the comments either Jan 06 07:19:12 FragmentManagerImpl is a private inner class of Activity Jan 06 07:20:11 I mean, FragmentTransactionImpl Jan 06 07:20:39 ah i see Jan 06 07:21:45 Rohan_14: seriously though, fix your caps lock Jan 06 07:22:24 Leeds: I'm Sorry,Can You Help Me There ? Jan 06 07:22:39 yes, stop typing so many capital letters Jan 06 07:23:45 alkber: It was at least. I'm not actually seeing it in the GitHub mirror Jan 06 07:23:46 hm Jan 06 07:24:07 okmkz: It's not in the latest Activity.java. It used to be. Jan 06 07:24:31 It's here, for example: https://android.googlesource.com/platform/frameworks/base/+/33b974393b6fadcefc896ec4a0f9b66724f61e9f/core/java/android/app/Activity.java#670 Jan 06 07:26:03 Hello world. Jan 06 07:26:17 Today I decided to give Android programming a go. Jan 06 07:26:29 I made a hello world and a simple calculator app. Jan 06 07:26:47 So... where do I go from here? Jan 06 07:27:12 The next step is to write a Twitter client. Jan 06 07:27:17 Looks like there's a FragmentTransaction implementation in BackStackRecord, too Jan 06 07:27:20 then facebook client Jan 06 07:27:35 after that, you deal with both being banned Jan 06 07:27:50 What? That massive of a jump? I barely figured out how to make the calculator app! Jan 06 07:27:55 used to be that everyone wrote a soundboard Jan 06 07:28:06 Sounds easy enough. Jan 06 07:28:14 Fart apps? Jan 06 07:28:23 typically you'd rip off the sounds from a game or a movie... Jan 06 07:28:23 Joking aside, what kind of thing would you like to create? Jan 06 07:28:34 I do have a long term goal. Jan 06 07:28:39 fast-track to g00s' suggestion Jan 06 07:29:05 I don't really want to share my idea because I don't think it has been done yet. Jan 06 07:29:09 Which is a rarity these days. Jan 06 07:29:19 theonlyone: are you new to programming, or just new to Android? Jan 06 07:29:23 Hmm. Jan 06 07:29:28 Well. New to Android. Jan 06 07:29:44 Sufficent at Python, C, and HTML/CSS. Jan 06 07:29:59 well, luckily you didn't include PHP in that list Jan 06 07:30:01 aww you're goign to hate android with a bg like that Jan 06 07:30:09 What really? Jan 06 07:30:22 Use Cordova/Crosswalk Jan 06 07:30:31 Has anyone used Kivy? Jan 06 07:30:33 And then rejoice at all the broken plugins Jan 06 07:30:45 Has anyone used Kiip.me? Jan 06 07:30:45 theonlyone: If you're good, you could make the leap to your ultimate app. Jan 06 07:30:49 I think. Jan 06 07:30:52 okmkz: since we use getSupportFragmentManager() what you initially mentioned is helpful Jan 06 07:30:56 TacticalJoke: not until a few years time ha ha Jan 06 07:30:59 I know I have a ways to go. Jan 06 07:31:10 Is it more complex than, say, a Twitter client? Jan 06 07:31:14 But I do love challanges and programming is my favorite past time. Jan 06 07:31:17 TacticalJoke: Yes. Jan 06 07:31:39 Past time. Shouldn't say that as my major is in SE. Jan 06 07:31:43 alkber: TacticalJoke provided a direct link to the inner class Jan 06 07:31:47 And I still think that's what I want to do. Jan 06 07:31:52 Android hasn't changed that. Jan 06 07:32:09 I'd say think about your ultimate goal, and start working towards it... practice network stuff if that's appropriate, performance if you need that, custom UI, system integration, etc. Jan 06 07:32:24 Leeds, I'd have to do more than just write an android app Jan 06 07:32:28 I'd have to write a web backend Jan 06 07:32:37 theonlyone thats typical these days though Jan 06 07:32:39 then work on that too :) Jan 06 07:32:43 Like I said. A long way to go. Jan 06 07:32:48 TacticalJoke: sorry lost your message, thank you. Jan 06 07:32:55 But my god i'd make me happy to actually design and do it. Jan 06 07:32:56 should be easy if you know python and html/css Jan 06 07:32:56 https://android.googlesource.com/platform/frameworks/base/+/33b974393b6fadcefc896ec4a0f9b66724f61e9f/core/java/android/app/Activity.java#670 Jan 06 07:33:08 theonlyone: If you're definitely gonna make it, start today. Jan 06 07:33:16 I'm a bit burnt out though. Jan 06 07:33:19 Huge projects take months/years. Today is the day. Jan 06 07:33:34 TacticalJoke, I cannot start with the big project. Jan 06 07:33:37 Have to walk before I can run. Jan 06 07:33:47 start working towards the big project Jan 06 07:34:00 hello Jan 06 07:34:03 I'd like an app that keeps track of which TV shows and movies I've watched. Jan 06 07:34:10 And has images related to them and stuff. Jan 06 07:34:20 I know that apps like this already exist, but I didn't like the ones I tried. Jan 06 07:34:39 are you pitching an idea or developing it TacticalJoke? Jan 06 07:34:46 TacticalJoke does timehop do something like that ? Jan 06 07:34:47 Or you could do what a lot of people do and create a to-do-list app. Jan 06 07:34:48 Let me explain what knowledge i do have. Classes, objects, stacks, queues, dequeues, recursion, for loop, while loop, switches, pointers, arrays, inheritance, polymorphism Jan 06 07:34:51 I know all that stuff Jan 06 07:34:56 auser: I'm trying to give someone ideas. lol Jan 06 07:34:58 is this good enough to start in android? Jan 06 07:35:07 theonlyone sure Jan 06 07:35:23 I mean. Do I know Java? Well... uhm. Learning as I go! :) Jan 06 07:35:33 Not sure, g00s. This is more about just shows/movies. Jan 06 07:35:43 I'm finding Java to have a ton of concepts I learned in C and python.. but just implemented in a different way. Jan 06 07:35:46 Know what I mean? Jan 06 07:35:57 java should be easy then Jan 06 07:36:00 Yeah, programming languages all feel the same after a while. Jan 06 07:36:06 Unless they're using a totally different paradigm. Jan 06 07:36:26 I'm noticing that. And I'm very happy about that. It's like.. I was looking through documentation and I was like.. yeah.. I actually get that ha ha Jan 06 07:36:46 Whatever you pick, theonlyone, make sure it's something that motivates you. Jan 06 07:36:48 It's just the whole ANDROID part of it. Jan 06 07:36:53 If it's something that bores you it won't be very helpful. Jan 06 07:36:59 It's its own thing ANDROID is Jan 06 07:37:08 Java is easy enough. Jan 06 07:37:21 anybody who knows chromecast development? I've got some questions for you Jan 06 07:37:25 I feel okay with Java yet I know there is still much to learn. I have the foundations. Jan 06 07:37:42 The reason I'm talking and not working btw is because its getting late. Just wanted to share my thoughts with you all. Jan 06 07:37:53 Seemed logical to go here since I officially started my journey... Jan 06 07:37:53 in particular, I am not sure how to stream video from a server Jan 06 07:38:20 This seems to be the place. A lot of good Android developers in here. Jan 06 07:38:23 Tell you one thing that made me extremely happy. Seeing hello world pop up on my Galaxy S5. Jan 06 07:38:29 For the first time. Jan 06 07:38:42 I was like... iOS you had to pay... this just works seemlessly :P Jan 06 07:39:07 I also love how every layout is defined in XML. Jan 06 07:39:13 Super easy to navigate in eclipse. Jan 06 07:39:27 You should probably start with Android Studio. Jan 06 07:39:40 They're putting all their effort into that now. Jan 06 07:39:51 I hear eclipse was the best to start out with. I'll be learning both I hope Jan 06 07:40:10 theonlyone not any more Jan 06 07:40:12 I have a seperate laptop (my thinkpad) just for android development :P Jan 06 07:40:17 Oh. Jan 06 07:40:32 How much RAM does that laptop have? Jan 06 07:40:36 4 GB Jan 06 07:40:52 Okay. Android Studio can be quite memory-intensive, but 4GB might be fine. Jan 06 07:41:07 Soon I will migrate all projects and what not to my power house PC. Jan 06 07:41:11 That's at my apartment. Jan 06 07:41:18 I am moving from ant to maven Jan 06 07:41:19 Do you use Mercurial/Git/whatever? Jan 06 07:41:21 Goal is to work on classes and in my off time work on programming. Jan 06 07:41:28 i struggle with 4G. cant really do much - especlially if you have lots of chrome tabs Jan 06 07:41:29 TacticalJoke: No, I'm new to it all. Jan 06 07:41:30 so, any good resource for writing pom.xml Jan 06 07:41:41 ok Jan 06 07:41:44 It's a really good idea to use Mercurial or Git. Jan 06 07:41:45 I get unknown packaging error for apk Jan 06 07:42:03 Most I have ever done in terms of programming is create a simple gameboy advance homebrew program. Jan 06 07:42:09 Using GCC Jan 06 07:42:15 I've done my head in with git recently... Jan 06 07:42:47 theonlyone whataver your big idea is, make sure it doesn't run afowl of Play Store policies. maybe read those first Jan 06 07:42:47 So okay it's question time. Let me think of somethings to ask here... Jan 06 07:43:01 what say you about this pom.xml Jan 06 07:43:03 https://gist.github.com/yoshiki/1283185 Jan 06 07:43:04 Yeah, true, g00s but I'm not ready to begint he project yet :p Jan 06 07:43:11 If you're serious about Android programming, be sure to frequent this place, theonlyone. A lot of good info is available here. Jan 06 07:43:22 I think I am serious. Jan 06 07:43:28 I'm pretty sure I am. Jan 06 07:43:33 theonlyone i'm not sure what you are waiting for :) Jan 06 07:43:35 Android sounds more appealing to learn thatn iOS Jan 06 07:43:43 g00s im about to sleep so that's what :P Jan 06 07:43:50 already had 7 hours of time on eclipse today Jan 06 07:43:54 that's enough for now Jan 06 07:43:55 :P Jan 06 07:44:00 no - time to program .. now ! Jan 06 07:44:05 Are Android programmers allowed to sleep? Jan 06 07:44:12 no Jan 06 07:44:17 I love this IRC ha ha Jan 06 07:44:20 :D Jan 06 07:44:33 So, what apps have you all made? Jan 06 07:44:38 I'm interested in seeing some of your work! Jan 06 07:45:00 theonlyone you can also ask quesions in /r/androiddev Jan 06 07:45:14 Ah yes. Jan 06 07:45:22 i think SO is best for technical problems, reddit maybe more philosophical things Jan 06 07:45:41 and cat pics Jan 06 07:45:44 So a bit of background on why I decided to work on becoming an android dev Jan 06 07:45:54 you are a masochist Jan 06 07:45:59 lol Jan 06 07:46:00 we know that already Jan 06 07:46:14 I recently found a good subreddit: http://www.reddit.com/r/UnexpectedThugLife (maybe slightly NSFW language and stuff) Jan 06 07:46:17 I have had a Galaxy S since it first came out. Always been a guy who loves to mess around with his phone. Root and break open apks and mod them some more. Jan 06 07:46:30 TacticalJoke: that's been my favorite lately Jan 06 07:46:31 Videos edited to make, for example, children who accidentally hit people appear to be purposely hitting them. Jan 06 07:46:42 Some of those videos are hilarious. :) Jan 06 07:46:48 But eventually I realized that... well.. this sums it up lately: http://s.mlkshk.com/r/97VP Jan 06 07:46:54 That magic kid, lol Jan 06 07:47:03 I didnt know what i was messing with when I was messing with my phone Jan 06 07:47:06 The one at the party? Jan 06 07:47:22 I love the one where the older brother swears at the camera. Jan 06 07:47:30 All these apks and res and com.this and what not. I had no clue what any of it was. Jan 06 07:47:34 http://www.reddit.com/r/UnexpectedThugLife/comments/2p3nzy/magic_camp_thug/ Jan 06 07:47:56 hey i have a question on android content rating rules Jan 06 07:48:04 So lately I decided to understand what all this meant. I figured the only way to learn how android really works is by making my own applications and understanding the SDK. Jan 06 07:48:26 what if you make a jigsaw where two or more people play it? is that user communication? Jan 06 07:48:46 Hah. This is the one I was thinking of: http://youtu.be/IyCiQ7O6VX0 Jan 06 07:49:16 For example, for years I have been 'modding' my galaxy and messing with apks. Never knew what the manifest file really really did. Jan 06 07:49:30 the thing is it's not unexpected at all anymore but it's still f-ing hilarious every time Jan 06 07:49:30 Or what com.yourdomain.yourapp really meant Jan 06 07:49:33 theonlyone: Are you around 18 years of age? Just curious. Jan 06 07:49:40 21 about to be 22 Jan 06 07:49:40 okmkz: :D Jan 06 07:49:43 Okay. Jan 06 07:49:50 So, close enough. Jan 06 07:50:27 I'm discovering internet lately Jan 06 07:50:29 Was it the way I talked? Jan 06 07:50:29 so Jan 06 07:50:31 http://www.gnu.org/fun/jokes/users-lightbulb.html Jan 06 07:50:42 as linux user, I laughed ;) Jan 06 07:50:43 theonlyone: Pretty much. Jan 06 07:50:47 Ah well. Jan 06 07:50:52 And you mentioned college, I think (I'm half-asleep tonight). Jan 06 07:51:06 :P Jan 06 07:51:22 "217 to discard the chosen model and suggest another." - upstart lol Jan 06 07:52:04 I don't have many years on you. But predicting people's ages from their text can be a fun activity. Jan 06 07:52:13 No worries. Jan 06 07:52:17 theonlyone: you mentioned eclipse. Have you considered learning Android Studio? Jan 06 07:52:30 It's the de facto ide at this point Jan 06 07:52:36 for android dev Jan 06 07:53:06 I just started today. To be honest, laugh all you want, but I paid $10 for some tutorials on... what academy site was it again? Jan 06 07:53:08 I don't remember. Jan 06 07:53:15 But yeah, I figured that might help. Jan 06 07:53:21 who's laughing? :) Jan 06 07:53:22 Just to get into it a little. Jan 06 07:54:07 But I found that to be very suitable way to get into it. I've learned more that way than I probably would have just reading documentation. Jan 06 07:54:19 yeah, there's quite a bit of resources for eclipse+adt, but android studio is soooo much nicer to use Jan 06 07:54:37 for sure, learn your way around the sdk first for sure Jan 06 07:54:52 Why is it much nicer to use? Jan 06 07:55:15 why did they drag TeX into all this :-( Jan 06 07:55:25 I'm not sold on Android Studio, personally. Jan 06 07:55:29 It's much more purpose build with android dev in mind, rather than bolting yet another plugin onto eclipse Jan 06 07:55:41 https://www.udemy.com/android-lollipop-complete-development-course/ Jan 06 07:55:46 Thisw hat I watched Jan 06 07:55:50 This is* Jan 06 07:56:07 TacticalJoke: why's that? just curious Jan 06 07:56:19 well ... AS really is just mangled IJ with a yet another bolted on plugin :/ Jan 06 07:56:29 Not done with it, but lately he jumped way into the unknown when he talked about downloading the xml file from Apple's RSS feeds Jan 06 07:56:45 then made a top ten applications app. I couldn't keep up with it anymore Jan 06 07:56:51 Yeah, I use IJ for the most part, I can dig it Jan 06 07:57:07 please provide me with more stuff for procrastination stuff or answer my question already Jan 06 07:57:11 okmkz: For one, it doesn't support JVM unit testing (at least without jumping through hoops), which I need. I find it very, very slow on this computer (way slower than Eclipse). I'm also not much of an IntelliJ fan. I find even the icons ugly. Jan 06 07:57:36 Yeah, it's still got some catching up to do, I'll freely admit it. Testing is a big one Jan 06 07:57:57 They're currently working on adding JVM-unit-testing support, though. I'm hoping it'll be in 1.1. Jan 06 07:58:01 Ah, i forget that some people actually prefer eclipse :P /flamewar Jan 06 07:58:15 To be honest, I hate Eclipse. I hate Eclipse and I hate IntelliJ. Jan 06 07:58:16 Anyone see that cheap new Nokia? Jan 06 07:58:27 Hmm. Jan 06 07:58:35 I'll try android studio tomorrow. Jan 06 07:58:42 AndreYonadam yeah. smart, running s30 but still ties into MS services Jan 06 07:58:42 You're that netbeans user I keep hearing about? Jan 06 07:58:49 Never used Netbeans. :D Jan 06 07:58:55 g00s: lol It honestly looks good Jan 06 07:59:08 Only IDEs I've ever liked are Borland Delphi, Borland C++ Builder, and Visual Studio (later versions, anyway). Jan 06 07:59:10 Question for you all... where did you start making android applications? Jan 06 07:59:16 How did you learn? Jan 06 07:59:34 theonlyone: I just used developer.android.com, SO, etc. Jan 06 07:59:42 theonlyone: same way you are: poke at the tools until something clicks. Solve a problem, and then solve another one Jan 06 07:59:46 and theNewBoston!!! Jan 06 07:59:49 Diving in helps. Jan 06 07:59:50 I think they can rack up marketshare Jan 06 07:59:53 I'm still learning, though. Jan 06 07:59:56 thepoosh: The new boston is where I learned Jan 06 08:00:04 same here Jan 06 08:00:12 but that was a LOOOONG time ago Jan 06 08:00:13 I think he is releasing a new series right? Jan 06 08:00:16 TacticalJoke: haven't used VS since the 90s but I hear it's really nice these days Jan 06 08:00:17 in a galaxy far away Jan 06 08:00:20 I might watch the new one he is doing Jan 06 08:00:24 Bucky! lol ha Jan 06 08:00:29 Yeah. They're even making tools for Android Development. Jan 06 08:00:34 he was such a douce Jan 06 08:00:37 douche Jan 06 08:00:40 now I've seen everything Jan 06 08:00:43 lol why? Jan 06 08:00:45 ? Jan 06 08:00:59 open source .net and android tools? is this some alternate-universe MS? Jan 06 08:01:01 he was alright Jan 06 08:01:07 What I don't get is why so many people love IntelliJ and I hate it. :/ Jan 06 08:01:14 I usually at least *like* something that everyone loves. Jan 06 08:01:17 Oh thenewboston does have a new tutorial out Jan 06 08:01:19 okmkz: it was a very smart move on MS Jan 06 08:01:22 okmkz: I know right. Jan 06 08:01:28 might go ahead and watch his since he IS using android studio Jan 06 08:01:30 thepoosh: Yeah. I think I should watch it. Jan 06 08:01:35 agreed, it's just not the MS that I came to know Jan 06 08:01:37 TacticalJoke last i read among java devs, the split is 50/50 between eclipse / intellij Jan 06 08:01:38 there is a new one? Jan 06 08:01:43 Ahh, interesting. Jan 06 08:01:47 https://www.youtube.com/watch?v=QAbQgLGKd3Y Jan 06 08:01:48 New Jan 06 08:01:49 LOL. yeah that might be helpful. I thought he had a new series thepoosh Jan 06 08:01:51 AndreYonadam: I looked a few days ago, it's from 2011 Jan 06 08:02:14 Hmm. No he has a new series which is actually in the works right now. Jan 06 08:02:24 AndreYonadam who ? Jan 06 08:02:29 I guess I'll use almost anything, though. Pretty much my only requirement is a good revision-control system. That keeps me sane. Jan 06 08:03:10 g00s: Ohh this guy on youtube does these android tutorials, TheNewBoston. He's like Khan Academy but strictly computer science related stuff. Jan 06 08:04:59 Could you guys imagine programming without a revision-control system? Jan 06 08:05:04 I think we'd have to pack up and go home. Jan 06 08:07:35 time for sleep... Jan 06 08:07:54 play.google.com doesn't do any obfuscation of mailto links looking at its source !? Jan 06 08:09:05 duncan_ no Jan 06 08:09:23 well uh they should right? Jan 06 08:09:34 google doesn't care about your privacy :) Jan 06 08:10:01 It used to be common sense to obfuscate e-mail addresses. Jan 06 08:10:12 It was also common sense not to post your full name on something like Facebook. Jan 06 08:10:18 i get a decent amount of spam to my developer address Jan 06 08:10:22 The Internet has become weird. Jan 06 08:10:25 not that much Jan 06 08:10:36 no actual users Jan 06 08:11:12 at least I use gmail (tm) spam filter right? Jan 06 08:11:25 but seriously how does google not filter a mailto link Jan 06 08:11:27 yeah it works sometimes Jan 06 08:13:33 I get a lot of spam Jan 06 08:13:56 yeah, i get a lot of bs from companies wanting to sell me ratings, etc Jan 06 08:14:05 Lol yeah same. Promotion stuff Jan 06 08:14:22 like what happens when you register a domain name with public whois, you get flooded with "free website builder!!!" emails Jan 06 08:14:29 seriously, this is google. what else is there to say Jan 06 08:14:30 gmail does a great job filtering spam though Jan 06 08:14:46 thenewboston Jan 06 08:14:50 lol professional Jan 06 08:14:51 duncan_: haven't tried the public whois yet Jan 06 08:15:03 lol Jan 06 08:16:18 I hate when you're reading an article and the author suddenly uses a word such as "shitty". Jan 06 08:16:25 Good job ruining the professional tone you had set. Jan 06 08:17:12 This is what I was reading: http://zedshaw.com/2015/01/04/admitting-defeat-on-kr-in-lcthw/ Jan 06 08:20:37 Only 344 signatures needed: https://www.change.org/p/google-inc-provide-android-developers-with-one-on-one-communication-to-help-identify-and-resolve-policy-violations-prior-to-automated-and-irreversible-suspensions Jan 06 08:20:51 I'm just going to go ahead and install JDK already Jan 06 08:21:01 JDK 8. Then Android Studio. Jan 06 08:21:19 Just get ready for tomorrow. Will be time to dive deep into it again. Jan 06 08:21:20 when I installed android studio I read that it only supported jdk7, but that must be outdated Jan 06 08:21:28 oh well can't be bothered switching lol Jan 06 08:22:02 Pretty sure I will also setup a dual monitor setup with thenewboston tutorial on one screen and my IDE on the other Jan 06 08:22:07 sound efficent? Jan 06 08:22:46 Sounds good. I'm stuck to 13" Jan 06 08:22:50 TacticalJoke yesh i should look at rust Jan 06 08:22:58 go, meh Jan 06 08:23:03 mehgo Jan 06 08:23:07 meego ! Jan 06 08:23:09 I love the look of Nim. Jan 06 08:23:20 nim isnt going anywhere either Jan 06 08:23:52 i only say that because, so far it hasnt't :D Jan 06 08:24:13 there is a paradox in language design Jan 06 08:24:40 There's definitely a "nice guys finish last" thing in programming languages. Jan 06 08:24:45 kinda like chicken, egg. if you don't build large systems in the language, there isn't enough feedback to know if its industrial strength Jan 06 08:25:10 which is kinda what swift is suffering from now , but its young language Jan 06 08:25:30 rust will presumably be used in FF next rendering engine, capella probably knows more Jan 06 08:26:17 not sure what the plans are there... that sounds like its a way off Jan 06 08:26:26 What are they using currently? C/C++? Jan 06 08:26:58 These browser User-Agent strings are insane: http://www.reddit.com/r/programming/comments/2re8ry/history_of_the_browser_useragent_string/ Jan 06 08:27:58 Night world Jan 06 08:28:01 cya tomorrow Jan 06 08:28:08 Android development awaits Jan 06 08:28:17 Or frustration and confusion Jan 06 08:28:19 one of the two Jan 06 08:29:18 "Rust is a work-in-progress and may do anything it likes up to and including eating your laundry." Jan 06 08:29:51 Eat my shorts Jan 06 08:30:24 capella that wouldn't be good, if you were in an interview coding rist, and it ate your shorts Jan 06 08:30:30 *rust Jan 06 08:30:40 quite embarassing probably Jan 06 08:30:57 Well shorts are deprecated, everything is long these days Jan 06 08:31:07 or double even Jan 06 08:31:08 heh Jan 06 08:57:28 question about the bitmap/drawing API. I have created a (white and transparent) bitmap font and i'm drawing glyphs from it, but I want to recolor the bitmap section when I paint it onto the canvas. so instead of white and transparent it would recolor the white/foreground to green and the transparen/background to red, for example. i looked into the porterduff filters but i'm only able to Jan 06 08:57:28 get the foreground part colored Jan 06 08:57:51 or the background part colored. but not custom colors for both the foreground and background Jan 06 08:58:48 in .NET i could just inspect the pixels and apply some logical operations on it to appropriately set the desired colors based on the bitmap font value, but i'm not so skilled at ANDROID api stuff yet and it seems like there should be an easier way Jan 06 08:59:59 i dont care about the destination bitmap's color Jan 06 09:02:05 paint.setColor() doesn't seem to do anything.. Jan 06 09:08:58 http://www.ifc0nfig.com/moonpig-vulnerability/ Jan 06 09:15:22 REAL Jan 06 09:15:37 I spent a day implementing oauth for my google play IAPs Jan 06 09:15:42 But they can't do the same Jan 06 09:15:53 Very sad, but it is what it is Jan 06 09:16:20 he will probably get arrested and/or waterboarded Jan 06 09:31:43 i hate oAuth Jan 06 09:31:55 but yeahm they suck Jan 06 09:32:01 Agamemnus: you're from the UK? Jan 06 09:33:39 no Jan 06 09:33:40 US Jan 06 09:34:14 Oauth is cool if you want to shave milliseconds. Jan 06 09:35:02 The funny thing is Jan 06 09:35:23 Er, sorry, I got that backwards Jan 06 09:35:33 Well, I implemented Oauth and public-key encryption Jan 06 09:35:44 And public-key encryption is cool for shaving milliseconds Jan 06 09:36:29 Hello everybody. Is there an easy way to maintain two android applications which are very similar but with different packages name ? I need to submit two applications with different graphics at the google play Jan 06 09:36:34 But to use IAPs I need to use public-key encryption Jan 06 09:36:48 Interestingly enough they also provide oauth but I don't know if I need it Jan 06 09:37:15 and public-key encryption may not necessarily be cool Jan 06 09:37:34 but oauth is not sufficient to do IAPs. Jan 06 09:38:11 The Google OAuth interface for getting data on IAPs includes very little information. Jan 06 09:38:29 Not enough to validate a purchase I believe. Jan 06 09:39:04 It is passive -- you can't set a purchase to consumed via http. Jan 06 09:39:15 so you have to use public-key encryption Jan 06 09:39:35 If you go to http://developer.android.com/guide/topics/media/mediaplayer.html and Ctrl-F songName, there is a comment "assign the song name to songName". however none of the code in there actually assigns anything to songName. Jan 06 09:39:42 which has me questioning the need for oauth as public-key encryption provides all the validation. Jan 06 09:39:50 It also has me questioning my sanity Jan 06 09:40:17 Oh, bad example code.... Jan 06 09:40:34 :( how unexpected Jan 06 09:42:37 there is bad example code for a part of apk expansions, been there for years Jan 06 09:47:26 vadmeste, Gradle flavors are what you're looking for. Jan 06 09:50:03 so does anyone know how to get the song title from a URI? I haven't managed to get any of the answers on SO working nor the one linked above on the official android dev site Jan 06 09:50:40 that is pretty vague Jan 06 09:50:45 you'd need to know the api.. Jan 06 09:50:52 me? Jan 06 09:51:09 well I stand up next to a mountain..and I chop it down with the edge of ma haaand Jan 06 09:51:23 unless the mountain won't compile cause of a gradle dependencyyyy Jan 06 09:51:25 * Odaym rocks out Jan 06 09:51:33 Im a gradle child Jan 06 09:52:42 Mavrik: thanks Jan 06 09:57:00 man this onUpgrade mechanism can really be nightmarish Jan 06 10:03:32 does an empty constructor prevents instantiation? Jan 06 10:04:21 no Jan 06 10:04:25 interesting question Jan 06 10:04:26 no idea Jan 06 10:04:33 http://developer.android.com/training/basics/data-storage/databases.html#DefineContract Jan 06 10:04:39 why did they write that in the comment then? Jan 06 10:04:57 depends on what you mean by empty Jan 06 10:05:46 shmoon_, probably mistake in documentation Jan 06 10:05:55 alrighty Jan 06 10:05:56 shmoon_, private/protected constructor prevents instatiation. Jan 06 10:06:06 I see Jan 06 10:06:18 nice, good to know! Jan 06 10:19:13 http://stackoverflow.com/questions/27793409/create-shortcut-on-homescreen-using-adb Jan 06 10:27:41 hi, i've got a question => i know when you loose your keystore you need to publish a new app with a new package name. My problem is that i have communicate the url to download the app (paper doc...) with the old app name. Can I forward the url of the old app to the new one, maybe in the developer console or in an other way? Jan 06 10:46:22 Hello everybody Jan 06 10:47:40 I am looking for a working Lollipop-example to pick an image from the gallery and load it as bitmap. The way it used to work pre-Lollipop does not work anymore. Jan 06 10:51:39 duncan_: did you figure out how to get the title from uri ? Jan 06 10:51:53 nope shmooz Jan 06 10:53:56 duncan_: are you trying to get the names of media files on device or remote ? Jan 06 10:54:18 on device Jan 06 10:54:38 A content: uri is returned by the file picker rather than a simple file path lol Jan 06 10:55:23 duncan_: use MediaStore method to get the files on device Jan 06 10:56:04 or I suppose you are already Jan 06 10:56:47 sorry for not responding my computer was lagging out Jan 06 10:57:45 I am using Intent intent = new Intent(Intent.ACTION_OPEN_DOCUMENT); intent.addCategory(Intent.CATEGORY_OPENABLE); intent.setType("audio/*"); startActivityForResult(intent, 1); Jan 06 10:57:56 duncan_: instead of MediaStore.Audio.Media.TITLE try MediaStore.Audio.AudioColumns.DISPLAY_NAME Jan 06 10:58:27 where? Jan 06 10:59:48 well that google page you posted where it says Retrieving Media from a Content Resolver Jan 06 11:01:11 ok Jan 06 11:02:38 duncan_, Could you post that page again please? Also I am not trying to load audio but images, this might help me too Jan 06 11:02:50 ag0ny: http://developer.android.com/guide/topics/media/mediaplayer.html Jan 06 11:03:58 Does Android studio run alright with the Java JDK 8? I have always used 7 but support is ending soon for that. Jan 06 11:05:00 duncan_, thanks Jan 06 11:07:19 DLSteve, yes. Jan 06 11:07:28 Except on OS X where fonts look hideous Jan 06 11:09:05 Mavrik, Ok thanks. On windows for now. Jan 06 11:14:11 duncan_: I typed an example for you that scans for audio files , but it's not fully complete .. http://pastebin.com/JxCPKP0A Jan 06 11:15:00 thanks a lot shmooz :) Jan 06 11:19:35 hi Jan 06 11:19:43 how i can solve outofmemory in BitmapFactory.decodeFile ? Jan 06 11:35:58 t0th_-_: http://developer.android.com/training/displaying-bitmaps/load-bitmap.html Jan 06 11:36:03 read this Jan 06 11:39:25 ok Jan 06 11:40:30 thanks Jan 06 11:58:10 #of bytes in a row * height Jan 06 11:58:13 of a bitmap Jan 06 11:58:18 /1024 Jan 06 11:58:27 is ... KB of the bitmap right? Jan 06 11:59:03 Hello.. Jan 06 11:59:10 Its possible to know which codecs (audio and video) use hardware (dsp)? Jan 06 12:00:41 arcaico: rephrase your question with proper grammar Jan 06 12:00:53 arcaico: i cant understand you Jan 06 12:03:45 sry arcanine69 Jan 06 12:03:59 I need to know if a media will be performed/executed by software or hardware (dsp) Jan 06 12:04:15 um Jan 06 12:04:20 basically, if it plays, it's hardware :) Jan 06 12:05:00 arcaico, note that H.264/AAC is pretty much the only codec supported on most devices Jan 06 12:05:04 so that solves your dilemma :) Jan 06 12:05:19 some newer support VP8 but not reliably Jan 06 12:06:58 Mavrik, do you mean that VP8 devices are unreliable, or ...the other meaning? Jan 06 12:07:39 I can list all codecs using Android API (MediaCodecInfo) Jan 06 12:07:56 I think all these codecs are hardware Jan 06 12:07:57 or not? Jan 06 12:08:25 FlipBill, drivers/support is hit and miss Jan 06 12:08:37 FlipBill, the HW can do it, the support in software is questionable mostly Jan 06 12:09:05 arcaico, it's impossible to tell from that list. Jan 06 12:09:12 "Mostly". Yes. Hardware. Jan 06 12:09:25 so in addition to rare, frequently flaky, I take it. Jan 06 12:09:35 There's bunch of chinese and 3rd party ROM garbage that fakes that list with ffmpeg and stuff like that though. Jan 06 12:09:56 FlipBill, the big question is VP9 anyway :) Jan 06 12:10:53 or H.265 I s'pose Jan 06 12:11:41 yeah, but H.265 is a little bit further out while Google already uses VP9 on YouTube... so I'm betting H.265/VP9 support will come in HW first, but Android as SW will support VP9 first :) Jan 06 12:12:41 Thanks Mavrik Jan 06 12:12:54 favored child Jan 06 12:14:16 if you use ffmpeg it will play a larger range of formats smoother in hardware but make your apk much bigger and you have to follow licence rules Jan 06 12:16:32 ugh, ffmpeg + hardware is a total crashy mess on Android Jan 06 12:16:34 don't do that :) Jan 06 12:16:59 well if you want to play files like .mkv's , you kindof have to Jan 06 12:18:13 shmooz, no, you can just take a MKV demuxer, demux it and feed H.264 to HW decoder via MediaCodec Jan 06 12:18:37 instead of relying on linking to libstagefright Jan 06 12:18:53 (which isn't part of NDK API and thus may and DOES change over OEMs and ANdroid versions) Jan 06 12:19:17 oh ok you are smarter than me ;) Jan 06 12:19:28 for non-HW supported formats it's ok, since you don't use stagefright (and you don't really have a choice :) ) Jan 06 12:20:19 Hello Jan 06 12:21:32 Could u help me my Android app by ur android device? Jan 06 12:23:04 Could u help me my Android app checkig by ur android device? Jan 06 12:23:43 I am looking for Android app testers Jan 06 12:25:29 use the emulator Jan 06 12:25:34 that is why it exists. Jan 06 12:26:19 and write tests ;) Jan 06 12:31:51 or pay the people :p Jan 06 12:51:08 um, i have a service, i start and stop it using the app's main activity, now, in the onCreate() method of the service, there's a code to create a notification, everything works as expected, except when stopService(intent) is called, the notification stays there, i'm not sure if the service is running or not, but the notification is till there Jan 06 12:51:13 why this is happening? Jan 06 12:51:31 is it just the notification? should the service be IntentService to be a foreground service? Jan 06 13:05:09 Hello guys, I've seen app that has a list of items and when you select an item you get details of an item. In that detail page you can also swipe to another item. I want to achieve the last step, swiping to another item. Is there a handy library for that? Jan 06 13:06:21 um, can you explain a little bit more? Jan 06 13:06:29 i just don't get the last step Jan 06 13:06:29 So you can swipe back and fort to see previous item or next item. Jan 06 13:06:32 what is the app anyway? Jan 06 13:06:41 oh Jan 06 13:06:43 um Jan 06 13:07:01 I'm not sure but maybe ListView can do that? Jan 06 13:07:04 i don't know i'm not sure Jan 06 13:07:04 Number5, ViewPager. its build in Jan 06 13:07:23 support-v4 i think Jan 06 13:08:48 danijoo, I've already used view page a long time ago, but than you have to tell how much pages you have or something like that. I thought more like something as an ImageSwitcher. Jan 06 13:09:30 danijoo, I thought there's a nice library for it like Picasso :P Jan 06 13:09:38 have you also looked into FragmentStatePagerAdapter? Jan 06 13:09:52 thats used for large collections like ebook pages Jan 06 13:10:03 so it might be suitable for you Jan 06 13:10:06 danijoo, hmmm, I've seen that, never used it. Jan 06 13:10:21 danijoo, thank you for your help. Jan 06 13:12:13 yw Jan 06 13:28:04 is it possible for a Fragment to go through onDetach and then never go through onAttach? Jan 06 13:28:29 I hat fragments Jan 06 13:28:34 hate Jan 06 13:28:59 putting them on my head is weird Jan 06 13:30:04 hi; I am having a quite confusing problem; my proguard file isn't being referenced in android-studio :( Jan 06 13:31:25 veryfatcat: do you have under the buildTypes "runProguard true" and "proguardFile 'proguard.cfg'"? Jan 06 13:31:59 thepoosh; yes. Jan 06 13:32:03 hmmm Jan 06 13:32:09 are you running the correct task? Jan 06 13:32:17 how do you know it's not referenced? Jan 06 13:33:06 because; It was working earlier; and then it stopped working; so to check it was not being used - i added an invalid character to that proguard.cfg file. Jan 06 13:33:10 and it did not complain. Jan 06 13:33:39 I'll give it another try; this time i'll keep the file in the root of the project dir; like http://developer.android.com/tools/help/proguard.html says Jan 06 13:35:10 nope; could you please walk me through the steps of configuring the proguard.cfg file? Jan 06 13:35:59 my proguard.cfg file just contains "-dontwarn javax.naming.*" Jan 06 13:37:26 errrrmmm; i just solved it. Jan 06 13:38:48 got proguard to reference proguard.cfg; i placed the file in the root of the project dir Jan 06 14:15:41 hey guys Jan 06 14:16:28 I am still having a hard time to let the user select an image, read it, scale it and storing it in Android Lollipop. Does someone have a good example? Jan 06 14:16:35 what's the best way to translate strings stored in a database? Should I store the string ID instead of the string itself? Jan 06 14:26:05 renanferrari, what about multiple tables, one for each language? Jan 06 14:26:35 you cand store the res ids because they change from build to build. All you could do is store the identifier instead. Jan 06 14:27:05 danijoo: multiple tables looks hard to maintain Jan 06 14:27:21 then use option number 2 :) Jan 06 14:27:38 if you have R.string.identifier, store identifier Jan 06 14:28:02 then you can do getString( getResources().getIdentifier(identifier, "string", packagename) ) Jan 06 14:28:39 danijoo: yes, I was thinking about doing that way Jan 06 14:29:19 there is also the possibility to fix resource IDs and make them "static" Jan 06 14:29:19 the thing is that I already release a version with pure strings stored, will have to do some work to update the schema Jan 06 14:29:26 but thats a lot of work. Jan 06 14:29:56 because you have to create a new xml entry for every string and specify its id by hand Jan 06 14:30:25 But you're right. I should store identifiers. Jan 06 14:30:43 That looks like a good way to implement it: http://stackoverflow.com/questions/17944664/best-way-to-store-multilanguage-values-on-a-database-using-strings-xml Jan 06 14:30:47 Thanks! :) Jan 06 14:31:06 yw Jan 06 14:31:27 is there a way to make the BroadcastReceiver to handle 10 calls at once? (on same time) Jan 06 14:35:17 the OnReceive is called only once because of PendingIntent.FLAG_CANCEL_CURRENT Jan 06 14:38:09 spent two hours trying to figure out why a receiver wasn't working Jan 06 14:38:29 turns out I changed the intent name in my constants file but not in my manifest file. Jan 06 14:38:29 :C Jan 06 14:43:24 C: Jan 06 14:43:57 Ashiren: it was probably for the best Jan 06 14:44:02 I cleaned up a lot of code. :p Jan 06 14:54:32 has google pulled the system images for the oldest android versions? Jan 06 14:56:18 don't think so Jan 06 14:57:40 hey what up:) Jan 06 15:00:58 save my soul people Jan 06 15:01:14 point me to some keywords direction Jan 06 15:01:32 I am trying to use maven for building my code Jan 06 15:01:55 my code uses AirPush jar which depends on Google Play Services Jan 06 15:02:17 which I had included as library project in my ant project Jan 06 15:02:46 now, the app built doesn't include the Google Play Services Jan 06 15:02:46 :-( Jan 06 15:28:52 Does anyone know when you update your app on Google Play (when you upload the APK) does it ask you to enter a description of changes in the update or do you have to manually write them in Full Description under Store Listing tab ? Jan 06 15:32:54 neredsenvy: during update Jan 06 15:33:07 it used to be in description but they changed Jan 06 15:33:35 Ah thanks, never done an update before. Was about to first update Full Description and then upload the updated apk xD Jan 06 15:34:50 if I'm using picasso trying to access a https site with a self-signed cert, should I expect download errors? Jan 06 15:37:25 perhaps, maven is not for me Jan 06 15:37:38 Looney, did you include apklib? Jan 06 15:37:42 I mean Jan 06 15:38:02 Whatever you said here is not really informative. Jan 06 15:38:03 I have the code in folder Jan 06 15:38:06 shekibobo, yep. Jan 06 15:38:45 I would like to use it similar to android.library.reference.3=../JustifiedTextView as in case of ant Jan 06 15:39:07 ugh no. Jan 06 15:39:26 Use dependencies properly, not that files lying around crap. Jan 06 15:39:41 Reference them from a maven repository. Jan 06 15:40:04 Either your local cache, set up your own or preferrably the public Maven central. Jan 06 15:40:15 what keywords I should provide to google Jan 06 15:40:21 to get something which points me in the right direction Jan 06 15:40:35 it would be good to build the project once Jan 06 15:40:50 and use it as library afterward Jan 06 15:43:52 Mavrik: this https://code.google.com/p/maven-android-plugin/wiki/ApkLib suggests that apklib is deprecated Jan 06 15:45:53 Yes, it is, AAR is the new preferred format. Hence my question. Jan 06 15:47:47 shekibobo, did you try it? Jan 06 15:47:50 nope, I just google the apklib from your message Jan 06 15:48:03 and now trying to modify pom.xml Jan 06 15:48:15 for library project Jan 06 15:48:25 Anyone ever notice a slight black flicker when changing Activities? Jan 06 15:48:46 danijoo: try actually loading it? or did someone post a solution that I missed? Jan 06 15:48:55 Kind of random, and just suttle but still noticeable. Jan 06 15:50:54 try loading and see if you get an error Jan 06 15:52:03 but im pretty sure youll get an error. But you can fix that Jan 06 15:52:53 basically you have to provide your own downloader where you allow your certificate Jan 06 15:59:54 If you change the Title of your app in Play Store how big of a deal is it xD just 1 letter xD Jan 06 16:00:14 I'm guessing I wont loose my reviews Jan 06 16:04:32 the thing you can't change is your package name - everything else is just text Jan 06 16:17:06 anyone know a project that is looking to do a complete fork from android? Jan 06 16:19:00 Norrin: why would you? better to start at linux just like android and tizen and... did. Jan 06 16:20:48 lewellyn: not sure about tizen, but I think ubuntu-for-phones uses at least some of the Android hal/driver stack, with its own stuff on top Jan 06 16:21:23 quicker way to hardware compatibility Jan 06 16:21:23 Leeds: yes, but it started at linux. Jan 06 16:21:34 forking off android itself seems like a great way to inherit a lot of technical debt that you won't find until too late. Jan 06 16:22:03 I'd say it started at "some of Android" - it's more than the kernel Jan 06 16:22:28 forking off the java/art/dalvik/etc. layer would be... non-ideal, I agree Jan 06 16:25:12 Leeds: yeah. it was more "we have a linux distro, but let's re-use some of the stuff out of aosp to make our lives easier" though. Jan 06 16:26:03 just like blackberry did the syscall mapping and stuck most of aosp into a runtime on blackberry 10, so it can run the vast majority of android apps. Jan 06 16:43:09 How can I refer to "android:id="@android:id/empty"" which is a Button that shows up when the list is empty? It can't find R.id.empty. Jan 06 16:44:01 is it possible to drag items in a list view to change their order? Jan 06 16:45:44 donniezazen: android.R.id.empty Jan 06 16:47:32 i got my macbook Jan 06 16:47:32 woo Jan 06 16:47:46 Woo Jan 06 16:48:04 WOO Jan 06 16:51:19 DragonPunch,Is it a macbook pro? Jan 06 16:51:30 yah Jan 06 16:51:49 i bought it for 380 Jan 06 16:52:10 i got macbook pro i5 it can hold up to 16gb.You buy used? Jan 06 16:52:15 how much Jan 06 16:52:31 er Jan 06 16:52:36 i bought mine used yeah.. Jan 06 16:52:37 daniele_athome: thanks. Jan 06 16:52:40 my macbook pro was new it cost like $1100 Jan 06 16:53:01 mines core 2 duo 4gb ram 320gb drive Jan 06 16:53:03 DragonPunch,I upgrade from 4gb to 10gb. Jan 06 16:53:18 neat ;D Jan 06 16:54:00 i was going to buy a more expensive one but i decided not to. apple are the biggest rip offs. Jan 06 16:54:02 Yep Jan 06 16:54:02 instead i buy a used beat up one for 380 decent power. Jan 06 16:54:02 10GB RAM? Jan 06 16:54:02 yes Jan 06 16:54:05 what modules does it have to give you 10GB? Jan 06 16:54:08 it speed up my laptop abit with 10gb for load apps. Jan 06 16:54:18 5x2? Jan 06 16:54:29 daniele_athome: thanks. that did it. Jan 06 16:54:30 i can't rem. Jan 06 16:55:10 but i like linux not sure if im going to enjoy OSx Jan 06 16:55:11 im used to linux way way more Jan 06 16:55:22 but its nice using a direct unix Jan 06 16:55:25 DragonPunch,Trust me you like it. Jan 06 16:55:32 ^_^ Jan 06 16:55:50 i really like mine. Jan 06 16:56:28 i was told by the geek at bestbuy upgrade to 10gb would help alot. then ssd drive. Jan 06 16:56:55 Don't mine me to much coffee make me talk more:) Jan 06 16:57:35 pretty sure you can only buy ram in modules that are powers of 2 Jan 06 16:58:22 i not to good with hardware. Jan 06 16:58:29 it came with mavericks Jan 06 16:58:34 should i get yosemit-e Jan 06 16:58:48 i got mac osx 10.10 Jan 06 16:58:53 what is that Jan 06 17:00:26 lewellyn, no need to reinvent the whole wheel Jan 06 17:00:54 just a few tweaks, but would probably not be app compatible Jan 06 17:02:24 lewellyn, you can inherit that possibly small technical debt or you can reinvent the whole app api and gui all over again.... Jan 06 17:09:51 ubuntu on phone seems to be close to what i'm looking for Jan 06 17:18:04 ubuntu on phone they still have that. Jan 06 17:18:11 i wish ubuntu phone took off Jan 06 17:18:34 i use to use ubuntu before i can to mac os x. Jan 06 17:19:21 g00s, That true Jan 06 17:20:25 Norrin: taking stuff out of android and sticking it on a raw linux (or other os) is far less debt than taking it part and parcel and then forking it. Jan 06 17:20:47 what is this used for http://developer.android.com/reference/android/provider/UserDictionary.html ? Jan 06 17:21:51 perlsyntax, i'm currently trying to find out if 'ubuntu for phone' and 'ubuntu touch' are two different things. and if so, is either dead or dying Jan 06 17:21:58 or thriving... / growing... Jan 06 17:22:25 Norriin,I undestand Jan 06 17:22:35 Sorry miss spell the name. Jan 06 17:25:15 shmoon_, if you type words with the keyboard, android shows you suggestions for the words Jan 06 17:25:34 the userDictonary are user defined words that werent part of the OS dictionary of words Jan 06 17:26:48 dear android devs. i'm a noob android dev tasked with updating a native application. this is my first time working with Java and Eclipse. things are generally going well but i've encountered a weird problem i can't resolve. I created a new basic activity (.java, .xml, and added to app manifest). somehow i seem to have lost the .java file and i can't find it. the funny thing is, when i try to re-make the .java file eclipse tells me Jan 06 17:27:07 eclipse seems to still think this file exists. i've tried cleaning the project. any other hints? Jan 06 17:27:42 put it on and off again Jan 06 17:31:36 pablq: refresh the project (right click the project in the project explorer, click refresh) Jan 06 17:32:20 hi all Jan 06 17:32:32 how to allow my program to create / open files? Jan 06 17:33:09 any clue? Jan 06 17:33:50 AndreYonadam do u know how can i allow a program to create files? Jan 06 17:33:56 lewellyn: thanks! yep that did it Jan 06 17:34:09 parapooper: In Android? Jan 06 17:34:13 yes Jan 06 17:34:29 parapooper: I guess if I looked at it yeah why. What are you trying to accomplish? Jan 06 17:34:54 i have written a simple program for android which should create a file and write into it Jan 06 17:35:08 and i get access / permission denied failure Jan 06 17:35:17 parapooper: You need to add permissions to the manifest Jan 06 17:35:17 manifest Jan 06 17:35:21 lol Jan 06 17:35:22 yeah Jan 06 17:35:26 hm Jan 06 17:35:31 any another way? Jan 06 17:35:31 Let me find the permissions Jan 06 17:35:43 Not really Jan 06 17:35:47 People don't even look at permissions that much these days I guess Jan 06 17:35:56 no other way, learn faster Jan 06 17:36:04 Writing a file without permissions would kind of defeat Android's security Jan 06 17:36:13 Its kind of defeating the purpose Jan 06 17:36:29 You even need permissions to read contacts. Its kind of a security feature for the end user Jan 06 17:37:04 is there a way to substitute a WebView client with OkHttpClient? Jan 06 17:37:13 parapooper: Actually come to think about it. Not sure if you can avoid that if rooted. Jan 06 17:37:21 pablq: yay! :) Jan 06 17:37:22 capella-s32: Can you avoid permissions if rooted? Jan 06 17:37:27 But then you would need root permissions Jan 06 17:37:48 or, failing that, do the whole BadSSL thing with a Webview? Jan 06 17:38:04 i v written that program using pascal-gui, it creates manifest automatically i guess Jan 06 17:38:26 parapooper: Maybe you can create a temporary file in the memory. I'm not sure about that one though. Jan 06 17:38:42 there will be a way Jan 06 17:38:46 hm a good idea thx Jan 06 17:38:57 i guess so :)) Jan 06 17:39:10 parapooper: I guess you can refer to this: http://stackoverflow.com/questions/3425906/creating-temporary-files-in-android Jan 06 17:41:59 heh "PascalGUI Quick manual: If you have found a bug or app is not working, email me." Jan 06 17:45:12 capella thx Jan 06 17:45:37 Yah, you're a little bleeding-edge using that :) Jan 06 17:46:11 ? Jan 06 17:47:49 Why not Java? Jan 06 17:48:11 1) java is very slow Jan 06 17:48:26 2) almost noone has JRE on PC Jan 06 17:48:30 Use native libs for time critical functions Jan 06 17:48:31 3) very buggy Jan 06 17:48:41 meh, can't believe that Jan 06 17:48:47 Eclipse, maybe Jan 06 17:49:10 lol it is very buggy, if u gather more exp u ll see it Jan 06 17:49:12 java IDEs are the worst thing that ever happened to java Jan 06 17:49:27 snark "If i gather more experience" Jan 06 17:49:47 From the guy who doesn't understand Android perms Jan 06 17:49:47 4) pascal isnt strict oop like java its multiparadigm Jan 06 17:49:49 hey all im really frustrated with android studio at the moment. I want to build some JNI libraries against the AOSP tree FROM android studio. ie - ASOP already built, I just need to link against stuff and not include ASOP stuff in my APK Jan 06 17:50:27 ac_slater_, that some type of dynamic linking? Jan 06 17:50:32 Norrin: yea Jan 06 17:50:45 hmm. what's the eclipse term for that? Jan 06 17:50:48 :D capella i am new to android, but my first java applet / servlet game i have written about 7 years ago, and my first game generlly 1992 Jan 06 17:51:05 since we're dealing with linux shared libraries in the NDK, linking is the correct term Jan 06 17:51:08 Norrin: ^ Jan 06 17:51:08 ;) Jan 06 17:51:12 Cool - I graduated college before you were born ... I win Jan 06 17:51:32 ac_slater_, oh. i don't know of AS supports the NDK yet Jan 06 17:51:46 if so it's new.... (buggy(?)) Jan 06 17:51:51 then it really wonders me that u still havent encountered any bugs in java Jan 06 17:52:09 Norrin: the android buildsystem is very sad Jan 06 17:52:17 ac_slater_, no shit Jan 06 17:52:44 why did they move to AS when it supports less shit? Jan 06 17:52:54 because google Jan 06 17:53:03 anyway bugs are only 1 contra of many Jan 06 17:53:26 eclipse is a piece of shit too though. Jan 06 17:53:43 it's almost better to know the nitty gritty of everything and do it all command line Jan 06 17:54:11 Norrin: I agree. Jan 06 17:54:25 paratrooper: Every OS has system bugs ... there's never been one without ... software evolves ... that's confusing to you? Jan 06 17:54:51 ??? Jan 06 17:55:20 [18:52] anyway bugs are only 1 contra of many Jan 06 17:55:37 i have mentioned 4 Jan 06 17:55:49 Ok, well good luck with alternative languages in Android Jan 06 17:56:09 Norrin: also, there are gradle example projects (for AS) that show NDK usage. Jan 06 17:56:17 But you're working with the same OS in either case Jan 06 17:56:21 i am writing a cross plattform game engine Jan 06 17:56:26 Norrin: but only where you let gradle generate makefiles. And I dont want that Jan 06 17:56:26 and manifest and permissions are like 101 Jan 06 17:56:30 for many oses Jan 06 17:59:24 lol yet another holy war 1 prog lang vs another Jan 06 18:00:52 everytime someone says java is slow, there seems to be some scientific proof of the opposite. and i have to admit i get the former opinion from use of java IDEs. so at this point... i blame the IDEs not the lang/runtime Jan 06 18:01:08 if there was an IDE that wasn't shitty maybe java would have a better rep Jan 06 18:01:25 The IDE has nothing to do with the final "compiled" code Jan 06 18:01:26 intellij and friends Jan 06 18:01:47 but yes ides have nothing to do with the quality of the language Jan 06 18:01:48 JVM is the answer Jan 06 18:01:53 It's just a very talkative tool for editing text :) Jan 06 18:02:08 I think java has bad rep, as in the beginning of 2000's it was always out of memory and your server was constantly swapping. Jan 06 18:02:32 virtual machine = doomed to be slow Jan 06 18:02:32 IDEs may have been crap, but java really earned its fame +10 years ago. Jan 06 18:02:32 And in the case of intelliJ an additional code analyser that's the bomb Jan 06 18:02:32 capella: they usually have an I/O system to emulate a TTY. If stdin/out/err are slow, people make false assumptions Jan 06 18:02:33 opinion that java is slow is a bit obsolete I think Jan 06 18:02:43 ah... perhaps that ;) Jan 06 18:02:56 m477: yes, might be obsolete, but at some point the rep was earned. Jan 06 18:03:10 so let it go Jan 06 18:03:34 anyway show me really fast game for windows / linux written in java Jan 06 18:03:39 at least 1 Jan 06 18:03:48 can't it's c++ Jan 06 18:03:54 ;) Jan 06 18:03:58 If speed matters that much Jan 06 18:04:13 But yo still get Java for the UI Jan 06 18:04:21 if u r a gamer u know its THE tthing that matters Jan 06 18:04:30 Gamer, heh - that I'm not Jan 06 18:04:53 whats the sence in writing a program in 5 languages instead of using 1? Jan 06 18:04:54 why game? Jan 06 18:05:26 cuz i m writing a game Jan 06 18:05:26 parapooper, isnt' minecraft, whatever it's called, java? Jan 06 18:05:26 the popular one the kiddies play now Jan 06 18:05:26 Do it the right way and go to assembler ;) Jan 06 18:05:30 so? Jan 06 18:05:30 u d say its fast? Jan 06 18:05:30 lol Jan 06 18:05:36 have u seen minecraft graphics? Jan 06 18:05:43 :) Jan 06 18:05:43 i don't even know what it is Jan 06 18:05:50 it doesnt mean that java is for writing games Jan 06 18:05:50 Parallel-ized ALU insts Jan 06 18:06:17 I've seen graphics on android tablets, phones, amazon's fire tv, the nexus player. The racing games are nice. Jan 06 18:06:31 And they are all written in Java right? Jan 06 18:06:35 AndreYonadam, no Jan 06 18:06:43 games likely used ndk Jan 06 18:07:02 c++ Jan 06 18:07:02 I thought they used a game development software that's built on Java Jan 06 18:07:07 I'm trying to use the http://developer.android.com/reference/android/webkit/MimeTypeMap.html class, particularly the getMimeTypeFromExtension. Since it isn't static I can't just MimeTypeMap.getMimeTypeFromExtension(extension), but I don't know how create a MimeTypeMap object. Any help? Jan 06 18:07:26 AndreYonadam, what dev software built in java? Jan 06 18:07:30 not likely Jan 06 18:07:31 Nvm Unity runs on NDK Jan 06 18:07:31 lol Jan 06 18:07:53 there is no single good game written using unity Jan 06 18:08:05 the worst game engine ever Jan 06 18:08:22 Idk. I'm not a game developer. Jan 06 18:08:29 udk rulez Jan 06 18:08:53 unity sux Jan 06 18:08:54 :) Jan 06 18:09:09 ok Jan 06 18:09:30 yep gamedev is a diagnose :))) Jan 06 18:10:56 parapooper: I dont think you understand unity - or you can't google. Write an engine / content creation application for those (8) platforms and then you can say something Jan 06 18:12:34 any good tips for developing ndk apps ? Jan 06 18:12:54 build tools etc ? Jan 06 18:13:43 gordon_, I haven't tried it myself yet, but QtCreator looks promising Jan 06 18:14:02 know C++ Jan 06 18:14:07 I used to use qtcreator in past Jan 06 18:14:13 clion is better ;) Jan 06 18:14:25 gordon_, I tried it, but I couldn't stand the fonts Jan 06 18:14:46 same as android studio Jan 06 18:15:02 but it's far from being perfect Jan 06 18:15:05 gordon_, I mean font anti-aliasing. yeah, the entire jetbrains line is flawed with this Jan 06 18:15:18 gordon_, and what is better in clion? Jan 06 18:15:25 shortcuts Jan 06 18:15:41 gordon_, ah, yes... have you tried sublime + clang_complete? Jan 06 18:15:50 no, is it good ? Jan 06 18:16:15 and do I need to use clang with it ? Jan 06 18:16:15 gordon_: I think you need to take a step back and disassociate IDE from toolchain Jan 06 18:16:17 gordon_, it works for me, but I had to migrate to cmake with my project, I am not sure how it'll work with ndk Jan 06 18:16:38 gordon_, not sure. I just prefer clang for code completion over every other tool on earth Jan 06 18:16:56 gordon_: NDK is a problem we're all dealing with right now. If you plan on using AndroidStudio do some research before making the jump - it'll surprise you Jan 06 18:16:58 gordon_, but other than that, sublime offers no code navigation in c++ Jan 06 18:17:09 hmm... can it work with qtcreator too ? Jan 06 18:17:19 gordon_: qtcreator is an IDE Jan 06 18:17:35 gordon_, yep. qtcreator supports both ndk and clang completion Jan 06 18:17:48 I know, but clang provides some tools for completion and static analysis afaik Jan 06 18:17:51 gordon_, but it's shortcuts are bad, and themes also sucks Jan 06 18:17:54 or am I speaking lies? ;) Jan 06 18:18:02 Any standard way to get mimetypes in android? Jan 06 18:18:36 gordon_, clang is google+some others developed compiler, mostly compatible with gcc, so it gives you the feedback quite relevant to what will actually get compiled Jan 06 18:18:47 gordon_, contrary to say Eclipse CDT Jan 06 18:18:59 hmm ok Jan 06 18:19:07 I just need to write some c++ and jni code Jan 06 18:19:20 and I have no idea what will be the best way to version it etc. Jan 06 18:19:28 gordon_, and it gives different, some say better diagnostic messages/warnings Jan 06 18:20:00 gordon_, well, I am not sure if qtcreator supports java, no exp with it Jan 06 18:20:06 well I've found this video: https://www.youtube.com/watch?v=okLKfxfbz40 Jan 06 18:20:19 gordon_, I gotta get back to work Jan 06 18:20:27 sure thing, dont bother Jan 06 18:34:54 coming soon, to a computer near you, https://www.jetbrains.com/clion/ Jan 06 18:38:00 anyone have advice for good files to add to a .gitignore for an eclipse android project? Jan 06 18:43:49 gordon_, you and ac_slater_ should talk Jan 06 18:44:39 ac_slater is dope.. the Night Bass musician that is Jan 06 18:49:35 which container gives me the ability to swipe a page left and right? Jan 06 18:49:35 ViewPager Jan 06 18:49:35 tyty Jan 06 18:55:11 pablq: Github does, https://github.com/github/gitignore/blob/master/Android.gitignore Jan 06 18:55:47 pablq: that's for android, then you can lookup a specific one for eclipse Jan 06 18:56:07 if you google gitignore + language/environment/ide you can find good ones Jan 06 19:03:15 yiati: thanks Jan 06 19:03:31 JakeWharton: is there a way to edit retrofit's restadapter property like the converter instead of create new one? This server wich I'm working with uses xml and json Jan 06 19:03:38 no Jan 06 19:03:59 we just break those up into separate services Jan 06 19:04:02 I should use 2 static adapter, one with xml and one with json converter, right? Jan 06 19:04:08 yep Jan 06 19:04:13 thanks Jan 06 19:07:42 Norrin: I solved my JNI/NDK issues Jan 06 19:10:55 good for you Jan 06 19:12:49 yea Jan 06 19:15:39 am I the only whos is occurring this annoying android studio debug bug? http://i.imgur.com/iWqUJmU.png Jan 06 19:17:53 why isn't the build/output folder visible in android studio? Jan 06 19:18:32 probably because it doesn't expect you to mess with it Jan 06 19:18:32 since it's generated by the build system and not you Jan 06 19:18:33 then why put lint-warning reports there on build failure? Jan 06 19:18:51 i have to leave the ide to open these? Jan 06 19:19:21 heater89: you need to change from android to project view Jan 06 19:19:35 ^ Jan 06 19:21:02 gdrc: it cannot be seen from my project or packages view Jan 06 19:21:02 It still won't show stuff like outputs/ folder by default Jan 06 19:21:08 dunno if there is a way to modify that though Jan 06 19:21:35 yiati: under module settings i thought there was a way to show/hide folders (at least when using v 0.8.9) Jan 06 19:21:53 Is there a memory-efficient way to mirror a jpeg or bitmap? Jan 06 19:22:05 Without using EXIF Jan 06 19:22:06 seems this should be up to the developer, not the ide Jan 06 19:22:09 maybe, if I want the apk or something I usually just open a file browser or use the terminal Jan 06 19:22:46 so it appears every solution I find to playing embedded youtube videos is wrong or deprecated.... Jan 06 19:22:47 (in a webview) Jan 06 19:22:52 yea i can agree on that, but if there is any output that i need to look at it would be nice to not have it in a folder that is just omitted from the structure in the ide Jan 06 19:23:25 which in this case build/output has all of the lint warnings that failed the build Jan 06 19:24:03 I can view them in finder, but thought i was missing something Jan 06 19:24:20 gdrc: thanks for the help :) Jan 06 19:26:04 Can anybody help me figure this out? I am trying to call a Java function from a standalone C++ program using libdvm and JNI, but it always segfaults. Jan 06 19:26:33 everything works until I do env->CallStaticIntMethod Jan 06 19:26:55 my code is here http://ecdesign.co/fun.cc Jan 06 19:27:18 raypulver: what are you wanting to do? Could you just call the dalvikvm command to execute the java instead? Jan 06 19:28:28 e.g. http://stackoverflow.com/questions/10199863/how-to-execute-the-dex-file-in-android-with-command Jan 06 19:29:21 I am basically trying to do what dalvikvm does Jan 06 19:29:58 I've read over the code of dalvikvm Jan 06 19:30:10 ah, yeah. that was going to be my next suggestion :) Jan 06 19:30:20 and at this point I'm just trying to call Math.abs(6) Jan 06 19:30:25 from C Jan 06 19:30:48 how can I restore the position of a GridView that's in a ViewPager? Jan 06 19:30:48 but it segfaults Jan 06 19:30:55 gdb hasn't given me any insight Jan 06 19:31:21 Yeah, I don't know how to start up a new dalvik instance from scratch - I would have to look at the dalvikvm source, and basically do what it does. So.. my only advise is to look harder at dalvikvm, and see if it's doing something else that you're not doing. Jan 06 19:31:41 not too helpful, I know. sorry! :) Jan 06 19:32:53 raypulver: are you sure the signature is right? The semicolons after the two I's look a little weird Jan 06 19:33:00 It's ok. I'm loading libdvm and starting up the dalvik vm instance correctly, as far as I can tell Jan 06 19:33:10 but I'm not sure what the norm is for JNI Jan 06 19:33:34 I would expect it to look like "(I)I", not "(I;)I;" Jan 06 19:33:54 that is correct Jan 06 19:33:58 `I;` is NOT a valid signature Jan 06 19:34:11 also, WTF is up with the dlsym(dvm, "JNI_GetCreatedJavaVMs")? Jan 06 19:35:00 Oh thats in the commented out code Jan 06 19:35:17 raypulver: no, when you're getting the method id for the abs metho Jan 06 19:35:18 d Jan 06 19:35:33 thats aother symbol in libdvm Jan 06 19:35:38 the dlsym() for JNI_CreateJavaVM isn't commented out Jan 06 19:35:39 oh, that Jan 06 19:36:00 no that I am using Jan 06 19:36:07 and it works Jan 06 19:36:35 tjat Jan 06 19:36:40 JNI_CreateJavaVM isnt defined in jni.h anymore Jan 06 19:36:42 that's just (more or less) explicitly not supported: https://groups.google.com/d/msg/android-ndk/IVvYWu4CNIY/5_6mE9ixHeUJ Jan 06 19:36:50 and hasn't been for ages Jan 06 19:37:30 `mid` is also wrong Jan 06 19:37:48 `V;` isn't a valid JNI signature; it should just be `V` Jan 06 19:38:00 FindClass("Math") will also fail Jan 06 19:38:15 there is no such class; you need to use full names Jan 06 19:39:01 I see Jan 06 19:39:31 i.e. FindClass("java/lang/Math") Jan 06 19:40:27 raypulver: javap -s -classpath /path/to/android/sdk/platforms/android-19/android.jar android/telephony/SmsManager Jan 06 19:40:53 public void sendTextMessage(java.lang.String, java.lang.String, java.lang.String, android.app.PendingIntent, android.app.PendingIntent); Jan 06 19:40:53 Signature: (Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Landroid/app/PendingIntent;Landroid/app/PendingIntent;)V Jan 06 19:41:15 for great sanity, use `javap -s` to determine/generate the JNI signatures, and copy/paste those. Jan 06 19:41:31 you'll note that it differs from yours Jan 06 19:41:40 anyone read this ? http://shop.oreilly.com/product/9780124166912.do Jan 06 19:47:24 viewpager giving null pointer error but cant figure otu where.. http://pastebin.com/2v9Qiu9y Jan 06 19:47:49 tricknology: that's *within* the support library Jan 06 19:47:52 that's not the whole stack trace Jan 06 19:47:55 ...which doesn't have public source (afaik) Jan 06 19:48:00 It looks like it.. Jan 06 19:48:03 well what the hell Jan 06 19:48:11 so you did something the support lib didn't like ;-) Jan 06 19:48:17 Google gives implementation guidelines.. then they break Jan 06 19:48:25 it's your fault Jan 06 19:48:25 setText() in onCreateView() Jan 06 19:48:29 always your fault Jan 06 19:48:53 I would like to blame Google for everything but you’re probably right.. Jan 06 19:48:53 strip it down until you get no exceptions Jan 06 19:49:01 if I remove that setText it works Jan 06 19:49:10 then what are you feeding setText? Jan 06 19:49:22 a String Jan 06 19:49:30 that was passed in on newInstance Jan 06 19:49:35 just the title of the frame Jan 06 19:49:44 using fragment inside viewpager? Jan 06 19:49:56 yes Jan 06 19:50:29 I have the same here, I set a whole layout with text and image Jan 06 19:50:50 it could be that it’s expecting another fragment on swipe right and it’s null.. Jan 06 19:50:55 tricknology: maybe this helps? http://stackoverflow.com/questions/11099897/viewpager-fragmentpageradapter-nullpointer Jan 06 19:51:00 it nulls when you swipe? Jan 06 19:51:32 lol yeah.. num_items = 3.. but I have a switch/case for 2.. returning null on default Jan 06 19:51:32 doh Jan 06 19:51:32 yea that's worth mentioning, with the problem Jan 06 19:51:45 Thanks, good job, team Jan 06 19:51:45 remember: `null` was a $1e9 mistake ;-) Jan 06 19:52:17 lol, that was it.. Jan 06 19:52:46 mistakes with Google are like at the other faaaaaaar end of the spectrum concerning what we encounter everyday Jan 06 19:52:57 So I left a tablet plugged in over the holiday.. the screen was on Jan 06 19:53:05 an image was burned into the LCD Jan 06 19:53:07 :( Jan 06 19:53:12 lol Jan 06 19:53:23 can you take a picture of it? Jan 06 19:53:33 would probably get a lot of reddit cred Jan 06 19:53:36 like screen shot? lol Jan 06 19:53:40 yea Jan 06 19:53:50 from internally? lol Jan 06 19:53:54 holy shit it worked Jan 06 19:54:07 internally it wouldn't capture the image I think Jan 06 19:54:09 it would take a picture of what it thinks it sees? Jan 06 19:54:12 try Jan 06 19:54:22 I called Java's Math.abs from standalone C++ :) Jan 06 19:54:33 amazing bro Jan 06 19:54:44 now write another Whatsapp Jan 06 19:54:49 lol Jan 06 19:54:59 It seems that it resolved itself Jan 06 19:55:02 no mroe burn Jan 06 19:55:03 thanks jonp Jan 06 19:55:20 (thankfully) Jan 06 19:55:26 but i wanted that sweet reddit karma Jan 06 19:55:42 now I at least know what I'm trying to do is possible Jan 06 19:56:05 errrrrrrrthang's pawssable Jan 06 19:56:08 https://www.youtube.com/watch?v=otCpCn0l4Wo Jan 06 19:56:36 if you were to design a calculator keypad… would you do it programmatically or in XML? Jan 06 19:56:55 definitely xml Jan 06 19:56:56 so easy Jan 06 19:57:09 gridlayout, then? Jan 06 19:57:15 no Jan 06 19:57:17 relative :P Jan 06 19:57:27 Nasty, why? Jan 06 19:57:30 why nasty Jan 06 19:57:43 for the numbers, 1 centerInParent, the others below, above, toright, toleft Jan 06 19:57:46 that's the numbers layout Jan 06 19:57:53 oh nice Jan 06 19:57:57 didnt think of it that way Jan 06 19:57:58 the functions layout also relative, torightof numberslayout Jan 06 19:58:11 and its elements alignParentTop for the first function, all others below below below Jan 06 19:58:15 nice, I like it! thanks Odaym Jan 06 19:58:36 anyone like electronic music? Jan 06 19:58:53 definitely Jan 06 19:59:03 track I’m working on: http://tinyurl.com/nlmc5h2 Jan 06 19:59:08 I'd use TableLayout or LinearLayout Jan 06 19:59:23 why! Jan 06 19:59:29 linearlayout horizontal orientation stacked? Jan 06 19:59:43 you have to have those linearlayouts inside a relative anyways Jan 06 19:59:43 Yep, a bunch or horizontal linearlayout in a vertical linearlayout Jan 06 19:59:48 waht about an entire keyboard? Jan 06 19:59:58 oh.. Jan 06 20:00:01 yea that's simpler Jan 06 20:00:01 lol Jan 06 20:00:13 I’m glad I came here first Jan 06 20:00:17 I was going to use gridlayout Jan 06 20:00:33 you should've Jan 06 20:00:37 to go through the bad first :P Jan 06 20:00:50 I’ve used gridlayout once or twice before Jan 06 20:01:03 bad for what you're asking, that is Jan 06 20:01:07 programmatically and dynamically created.. nightmare Jan 06 20:01:27 https://android.googlesource.com/platform/packages/apps/Calculator/+/master/src/com/android/calculator2/CalculatorPadLayout.java Jan 06 20:01:30 Just steal from aosp Jan 06 20:01:36 lol Jan 06 20:01:48 wow Jan 06 20:01:51 https://android.googlesource.com/platform/packages/apps/Calculator/+/master/res/layout/pad_numeric.xml Jan 06 20:01:53 that’s pretty Jan 06 20:02:09 god damn pro Jan 06 20:02:10 anyone know how I would go about restoring GridView position in a ViewPager? when one of my grid views is tapped, it opens a new fragment, but when the backstack is popped, it won't restore the position of the gridview Jan 06 20:02:12 :/ Jan 06 20:02:39 speaking of GridView.. Jan 06 20:02:54 no Idea, just started ViewPager today Jan 06 20:03:09 I think this is where I go to lunch Jan 06 20:05:16 HEY BOYS Jan 06 20:05:20 ON MY MACBOOK PRO Jan 06 20:05:25 asdf Jan 06 20:05:45 so nobody? lol Jan 06 20:05:50 HEHE ^_^ Jan 06 20:06:02 congrats! Jan 06 20:06:05 you're a new man Jan 06 20:06:08 ikr Jan 06 20:06:21 the world awaits Jan 06 20:06:26 what genius code will you write Jan 06 20:06:50 the world better be ready Jan 06 20:06:50 my penetration is on MAX Jan 06 20:06:56 you got latest greatest? Jan 06 20:07:04 ye body Jan 06 20:07:07 daaaaaang Jan 06 20:07:08 yee yee Jan 06 20:07:10 wow Jan 06 20:07:47 i dont want to loose touch with linux though. i will keep linux on desktop hehe. Jan 06 20:07:52 mac desktop is dog shit. Jan 06 20:08:00 SURE Jan 06 20:08:00 haha Jan 06 20:08:23 now time to get android studio and food -afk Jan 06 20:08:25 you have linux already, it's the terminal Jan 06 20:08:31 unix ^_^ Jan 06 20:08:44 that's the only Linux thing you get with all Linux distros, the terminal Jan 06 20:09:04 the rest is just package managers and crappy UI Jan 06 20:09:29 Odaym: apt-get install android? Jan 06 20:09:51 some package managers out there are a real marvel of software Jan 06 20:09:51 btw, OSx has homebrew Jan 06 20:09:59 which is fine Jan 06 20:09:59 but meh, it cannot replace good UX Jan 06 20:09:59 not good Jan 06 20:10:01 but fine Jan 06 20:13:39 is it even possible for an application not to specify a target SDK? Jan 06 20:14:09 that's impossible Jan 06 20:19:16 ok, I am running an application that has no target SDK defined in the manifest Jan 06 20:19:55 this is like telling a kid that Santa isn't real Jan 06 20:19:55 Odaym probably defaults to compileSdk Jan 06 20:20:04 where is that defined? Jan 06 20:20:10 Odaym: why? is that a library you're writing? Jan 06 20:20:14 using gradle ? Jan 06 20:20:27 no, it's an Eclipse project I got as a demo for some functionality Im looking for Jan 06 20:20:44 so I imported it and got that target 9 was not found, went to check the manifest, nothing Jan 06 20:23:34 any idea on using projects I've git cloned? Jan 06 20:24:02 drinfernoo: which IDE? Jan 06 20:24:07 I can't make my gradle include them correctly, always says R is unknown Jan 06 20:24:08 You're not required to set a targetSdk Jan 06 20:24:14 AIDE lol Jan 06 20:24:17 what's the default then? Jan 06 20:24:21 https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#target Jan 06 20:24:25 The default is documented Jan 06 20:25:19 thepoosh, I copy the project folders into the root directory, level with app, add them to my settings.gradle, and compile project(...) in my build.gradle, but if I include more than one, R screws up Jan 06 20:25:58 then you're doing it wring Jan 06 20:26:13 *wrong Jan 06 20:26:14 wow, recommended to not set it even Jan 06 20:26:24 oh no that's max, sorry Jan 06 20:26:38 LOL Jan 06 20:27:39 I'm trying to get the method ID of SmsManager's "getDefault" method from my c++ program, but GetStaticMethodID is returning 0 when I try to grab it Jan 06 20:27:58 my code is here http://ecdesign.co/fun.cc Jan 06 20:28:53 I figure I am doing something wrong Jan 06 20:31:44 raypulver, I think you may want to hide your phone number Jan 06 20:32:27 it's random Jan 06 20:39:34 thepoosh, obviously I'm doing something wrong lol any ideas on how to get it working? Jan 06 20:40:05 it seems like there is an issue with building this Jan 06 20:40:13 are you working with Eclipse or AS? Jan 06 20:45:13 its AIDE Jan 06 20:46:18 https://play.google.com/store/apps/details?id=com.aide.ui Jan 06 20:47:14 Does anyone a definitive way to clear the cookies for a particular domain in a webview. I want to be able to press a button in a webapp I control and clear the cookies for an iframe hosted page I do not control. I thought I would use the javascript bridge to write a method in my activity to clear particular cookies and trigger that via javascript. Jan 06 20:47:46 * g00s doesn't understand why anyone would use aide, unless they have no other machine Jan 06 20:48:26 is it sufficent to recreate your activity in oncreate? Jan 06 20:49:08 and assume that if the OS unloads your activities data it will recreate it with oncreate Jan 06 20:49:11 g00s: lol, app development on a device Jan 06 20:49:29 AIDE == On device IDE? Jan 06 20:49:31 app development on a toy Jan 06 20:49:40 capella: https://play.google.com/store/apps/details?id=com.aide.ui&hl=it Jan 06 20:49:44 ermaghurd Jan 06 20:50:09 yah, reading their website Jan 06 20:50:09 yup Jan 06 20:50:23 lets take something already painful, and turn it up to 11 ! Jan 06 20:50:36 "Ludicrous speed" Jan 06 20:51:11 "She's gone plaid !!!" Jan 06 20:51:17 tbh the only problems I have with it is no maven, and this particular issue with libraries Jan 06 20:51:27 capella: thanks for that Jan 06 20:51:55 android doesn't automatically save view visibility for savedinstancestate? or am I going crazy? Jan 06 20:52:02 earlier it was therapeutic shouting, now it's spaceballs Jan 06 20:52:06 my day is complete Jan 06 20:52:22 so if you guys could even help to point me in the right direction, thatd be cool, since all I ever get when I say I'm using aide is ridicule Jan 06 20:52:23 lol Jan 06 20:54:17 thepooosh: sucking eggs again? Jan 06 20:54:25 What to eat ^_^ Jan 06 20:54:42 \ ( ^_^ ) / Jan 06 20:55:26 capella: sucking eggs?! Jan 06 20:55:29 what am I missing?! Jan 06 20:55:39 (feel so out-referenced) Jan 06 20:55:45 you mentioned you were therapeutic shouting :p Jan 06 20:56:39 maybe I missed the reference myself :/ Jan 06 20:57:02 capella: that is Vogons Jan 06 20:57:09 from the hitchhiker's guide Jan 06 20:57:31 Oh, sorry :( I actually did miss all that Jan 06 20:59:15 so my program doesn't segfault anymore, but it still doesn't send the text message Jan 06 20:59:20 Prostetnic Vogon Jeltz smiled very slowly. This was done not so much for effect as because he was trying to remember the sequence of muscle movements. He had had a terribly therapeutic yell at his prisoners and was now feeling quite relaxed and ready for a little callousness Jan 06 20:59:23 capella: ^^ Jan 06 20:59:26 my code is here http://ecdesign.co/fun.cc Jan 06 20:59:40 Is there anything else a program run as root would have to do to send a text message? Jan 06 20:59:41 heh :p Jan 06 20:59:49 besides get a reference to SmsManager and call sendTextMessage? Jan 06 20:59:55 or perhaps I am calling sendTextMessage wrong still Jan 06 20:59:58 "The beatings will continue until morale improves!" Jan 06 21:00:33 yes Jan 06 21:00:47 hitchhiker's guid is awesome! Jan 06 21:03:13 Any recommendations or further reading on best practices for accepting promo codes in-app for potential app reviewers? Jan 06 21:03:33 Anyone know if espresso 2.0 supports Parameterized runner? Jan 06 21:03:35 the internet Jan 06 21:03:51 does any one know the framework used for the game "2 cars" ? Jan 06 21:03:53 ya, I came up empty Jan 06 21:04:03 Damn, thepoosh so right : https://github.com/googlesamples/android-testing/blob/master/testrunner/AndroidJunitRunnerSample/app/src/androidTest/java/com/example/android/testing/androidjunitrunnersample/CalculatorAddParameterizedTest.java Jan 06 21:04:43 yay for me Jan 06 21:05:00 blusky: off the top of my head "Unity" Jan 06 21:05:08 but I don't even know what that game is Jan 06 21:05:16 k thepoosh, sorry :) Jan 06 21:05:33 why sorry? Jan 06 21:05:43 oh sorry, I read "off the topic" Jan 06 21:05:47 my bad :D Jan 06 21:06:30 Question. I know this sounds like a little bit of a stretch. Is there any library that would allow me to gain keybaord functionality on a computer? Jan 06 21:06:36 Like plug and play? Jan 06 21:06:50 WAT Jan 06 21:06:56 AndreYonadam: with a rooted device, you can do that in bluetooth Jan 06 21:07:06 hmm. No way with USB? Jan 06 21:07:18 Without a custom kernal? Jan 06 21:07:59 AndreYonadam: you want to build a teensy out of an android ? :D Jan 06 21:08:14 Lol Jan 06 21:08:57 nagrat[idle]: thanks for the update Jan 06 21:11:15 I am trying to send a text message from a standalone C++ application. The code runs to completion but no text message is sent Jan 06 21:11:22 I am wondering if I am calling sendTextMessage incorrectly Jan 06 21:11:32 my code is here http://ecdesign.co/fun.cc Jan 06 21:11:44 http://www.ifc0nfig.com/moonpig-vulnerability/ ouch Jan 06 21:12:56 Hi guys. I don't really understand why Google introduced resources.arsc. I don't understand its purpose. At first, I thought it was for performances: accelerate the load of the resources when the app was being loaded, since resources.asrc is basically binary. Jan 06 21:12:56 But aapt dump resources only reports the path location of the resources. The strings and drawables are still in their own file, why not using these paths directly in the R.java class instead of IDs then? Jan 06 21:12:56 Napalm: saw that earlier, it freaked the shit out of me Jan 06 21:13:20 really? Jan 06 21:13:40 yep Jan 06 21:13:43 I'm not surprised Jan 06 21:14:04 lots of big companies have these sorts of issues Jan 06 21:14:22 11:08 thepoosh: http://www.ifc0nfig.com/moonpig-vulnerability/ Jan 06 21:14:29 yeah Jan 06 21:14:34 but most are not as arrogant Jan 06 21:15:28 Hi - I'm trying to deploy a build to an android device from OS X Mavericks using Android Studio. I have two devices, both enabled for USB debugging. I plug in Device 1, Android Studio recognizes it in Choose Device" and I can deploy just fine. Device 2 does not show up in Choose Device, even though the device itself says "Connected as Media Device' and "USB Debugging Enabled". Any ideas what might be causing this? I'm using the Jan 06 21:17:46 Napalm: heard a terrible joke at work today Jan 06 21:17:51 wanna hear? Jan 06 21:21:00 thepoosh: sure Jan 06 21:21:18 why does Snoop-Dog have an umbrella? Jan 06 21:21:30 for drizzle Jan 06 21:22:35 http://www.reactiongifs.com/r/daduntsh.gif Jan 06 21:23:02 psh Jan 06 21:23:15 thepoosh: what does he have for shizzle? Jan 06 21:23:24 ? Jan 06 21:23:39 snoop dogg Jan 06 21:23:57 what does he have? Jan 06 21:23:59 lewllyn lol Jan 06 21:24:28 thepoosh: that's what i was asking :D Jan 06 21:24:45 oh Jan 06 21:24:49 sorry, my bad Jan 06 21:24:54 didn't mean to kill this Jan 06 21:28:29 Hi, does anyone have experience with Android Wear development? Jan 06 21:34:47 omarino: most people, just ask your question Jan 06 21:41:01 maybe that was his question :/ Jan 06 21:41:12 lol Jan 06 21:41:21 :) Jan 06 21:41:51 So is ... Jan 06 21:42:00 do macs come with ruby Jan 06 21:42:20 https://plus.google.com/+KirillGrouchnikov/posts/ibZzdhTAQRn lol 11:59:60 Jan 06 21:42:46 my mac has ruby on it Jan 06 21:42:52 and I never put it on Jan 06 21:43:02 right Jan 06 21:43:03 mine too Jan 06 21:43:14 came with python 2.7 as well I believe Jan 06 21:44:08 I want to develop an app that connects to a server, and receives an array with delays: [2 seconds, 5 seconds, 3 seconds, ...] and the devices should vibrate between the delays - the user doesnt interact directly with the app when the device vibrates Jan 06 21:44:21 trevor-e: ruby 2.0.0p481 (2014-05-08 revision 45883) [universal.x86_64-darwin14] Jan 06 21:44:29 this is the built in engin Jan 06 21:44:40 Should I create an Android app that sends a notification with a vibration to Android Wear - Or create an Android Wear app? Jan 06 21:44:54 there is also ptyhon 2.6 and 2.7 Jan 06 21:46:52 omarino: you can just use an extended notification with a vibration pattern Jan 06 21:48:33 Well the problem is that the delays arent static, meaning on some conditions i have to make the delay bigger - so I cant send only a vibration pattern Jan 06 21:49:11 Should sending a notification with vibration after each delay work? Jan 06 21:52:59 Napalm: ping. Jan 06 21:53:56 Any OSX users in here? Colloqouy was giving me issues, so trying out Limechat now. Jan 06 21:55:05 hey Jan 06 21:55:57 omarino: not sure I follow. but if its that dynamic then make a wear app that just uses the vibrator service Jan 06 21:58:14 theblang i use mac Jan 06 21:58:20 g00s what irc client you using Jan 06 21:58:26 theblang Textual Jan 06 21:59:00 g00s I started to buy, but thought I'd give Limechat a shot first. Colloqouy had some issues. Jan 06 21:59:48 one question.. if i were to make a revision guide app would i use database to store the content,and scrollView to make the topic/article scroll down the activity screen? Jan 06 22:05:24 Is there anything special you have to do to elevate the permissions of a Dalvik instance created in a standalone C++ program using JNI_CreateJavaVM? Jan 06 22:06:12 I am trying to call SmsManager.getDefault().sendTextMessage from a standalone C++ program but when I do nothing happens Jan 06 22:07:15 dalvik can never have elevated permissions Jan 06 22:07:15 my code is here http://ecdesign.co/fun.cc Jan 06 22:07:20 period Jan 06 22:07:42 so you don't think my issue is permissions related Jan 06 22:08:46 Mavrik: do you know any good MediaCodec examples for smooth .avi and .mkv support?, I'd like to avoid ffmpeg ;) Jan 06 22:09:03 on my Store listing, it says X People recommended this on Google. That number is going down, how can that be? people deleting google+ accounts? is it a rolling average over time ? Jan 06 22:09:27 afaik you can +1 something, not -1 it Jan 06 22:10:04 g00s: you can remove your +1 from something :P Jan 06 22:10:15 Napalm really ? Jan 06 22:10:20 I have Jan 06 22:10:51 since i don't have google+ i have no idea :) Jan 06 22:12:56 just get g+ and see Jan 06 22:13:02 but yeah, you can + and un+ as you like Jan 06 22:13:24 http://youtu.be/jFhgupR565Q cool tune Jan 06 22:16:14 hello Jan 06 22:16:24 Sup alexi5 Jan 06 22:16:28 . Jan 06 22:16:33 sup bra Jan 06 22:16:38 :) hehe Jan 06 22:17:05 do you guys know of any tool that can decompile a apk file to a jar file ? Jan 06 22:18:58 dex2jar Jan 06 22:18:58 duh Jan 06 22:20:13 If you go to People on 4.4.4 and click on a contact, see how there is an icon next to their number that you click on to text them? and it's not enclosed in a