**** BEGIN LOGGING AT Sun Jun 22 02:59:58 2014 Jun 22 03:03:53 wow... did stewie have reproductive sex with a dog when I wasnt looking =P? Jun 22 05:51:23 ... Jun 22 07:02:42 Anyone know of a good source to look at to see how to successfully abstract the iteration loop for retrieving values from a sqlite table? Jun 22 07:56:20 abstract how? Jun 22 08:05:13 for instance, i want to be able to add a progress observer Jun 22 08:05:54 i was wondering, though I don't see how it could be done, if the different parts of a method (the iteration loop) could be split, so i could "decorate" the parts Jun 22 09:30:54 Sort of a noob questions, what's the best way to take the unique package name and turn it into a long? Jun 22 09:34:56 .hashCode() Jun 22 09:35:07 ahh okay, thanks just wanted to make sure Jun 22 09:37:02 Hey guys, I am one step closer to fixing the error that has been bugging me for the last week http://pastebin.com/sqAXhLZf after I create a on click listener it is when the app starts crashing Jun 22 09:37:32 Can someone maybe check for me what may cause it Jun 22 09:40:21 most probably you want that code in the fragment, not activity as that's where the view lives Jun 22 09:42:56 Hey guys this is a really off question I am using android sdk with Xubuntu 12.04 and with the default grayish theme, and alkl the text inside the editor is white and the text editor background is dark gray on dark blue text, is this a theme issue or can i change these things within the application? Jun 22 09:42:59 elipse? Jun 22 09:47:41 is there anyone who really use *Ubuntu today? Jun 22 09:58:06 lol Jun 22 09:58:18 well i keep getting this error, perhaps maybe you have seen it before when i try to start the emulator java.io.IOException: error=2, No such file or directory Jun 22 10:00:11 ah solution i need 32bit libraries Jun 22 10:00:12 sheesh :P Jun 22 10:00:59 haha i have to download 250mbs, of libraries to create a silly few kbs of an application to learn xD what a world we live in Jun 22 10:08:17 like now i see the android emulator logo, but i cannot physically see the OS...or view my application and it keeps saying an Android virtual device that faild to load, click details but details does not list why :P Jun 22 10:08:18 gah Jun 22 10:46:33 hey guys anyone use android sdk on linux i need help with a few questions getting it started Jun 22 10:46:45 ? Jun 22 10:46:48 Psil? Jun 22 10:46:57 Psil0Cybin? Jun 22 10:47:22 i got it working but i could not get my application to load in the emulator so i tried to download new java Jun 22 10:47:30 7 open, and it caused more problems so i am thinking of removing it Jun 22 10:47:35 but i cannot figure out how to test my application Jun 22 10:47:53 tried to install openjdk-7-jdk but i keep getting errors when i start eclipse of missing links etc Jun 22 10:48:39 Warning: EGit couldn't detect the installation path "gitPrefix" of native Git. Hence EGit can't respect system level Jun 22 10:48:39 Git settings which might be configured in ${gitPrefix}/etc/gitconfig under the native Git installation directory. Jun 22 10:48:39 The most important of these settings is core.autocrlf. Git for Windows by default sets this parameter to true in Jun 22 10:48:39 this system level configuration. The Git installation location can be configured on the Jun 22 10:48:41 Team > Git > Configuration preference page's 'System Settings' tab. Jun 22 10:48:43 This warning can be switched off on the Team > Git > Confirmations and Warnings preference page. Jun 22 10:53:53 hey Jun 22 10:53:58 ? Jun 22 11:04:18 Anyone know if in upgrade mode you can break-\in and stop the upgrade? Jun 22 11:04:47 Key press or combination of keys? Jun 22 11:05:42 hey guys i have a problem i get the emulator working in linux ubuntu 12.04 64bit, and when i try to get my applciation to load/install but running it via the > button, it does not load and nothing happens Jun 22 11:05:51 but i am able to navigate around the emulator and see the preinstalled applications Jun 22 11:08:05 sigh nvm finallly got it working sorry for whinning, just seems like chance Jun 22 11:29:55 Guys I need some help: I want to create an android app that can store data (images, text) on a server and access a remote database (on the server). Also, the app needs to be able to retrieve data from the server. Now I do not know how the architecture of this should be. I was thinking about the following: APP <----via http---->Server. But how should I handle requests from the app and responses from the server TO the app? I read something ab Jun 22 11:29:55 out REST, but have problems understanding that fully and thus do not know how to incorporate REST. Jun 22 11:30:17 anybody can give me some directions for achieving this (probably) simple task? Jun 22 11:42:18 where is samosa? Jun 22 11:46:46 The fridge? Jun 22 11:48:32 I had a simple website, where presentation and logic were seperated. Whenever I needed to request a database entry from the front end, The front end interacted with an object that handled the database interaction. For example, the Frontend called a method from the object controller and the parameters passed where the data to retrieve from the database. Jun 22 11:54:01 hey guys. question: why does everyone use Parcelable.getByteArray rather than Parcelable.createByteArray? Jun 22 11:54:51 Hi all! I'm working on the method profiler(dalvik/vm/profile.cpp). Jun 22 11:55:28 Is there any useful documentation on the same? Jun 22 11:56:09 I'd like to extend it to display info on the actual method parameters as well! Jun 22 11:56:29 Any help is greatly appreciated! Jun 22 12:19:05 anyone here? Jun 22 12:24:16 dkathayat: no Jun 22 12:24:57 LtRipley: :) Jun 22 12:34:27 me neither Jun 22 12:35:42 LtRipley, thepoosh: care to help me get started with the source? Specifically, the dalvik method profiler? Jun 22 12:36:09 dkathayat: I saw your question, I cannot help you Jun 22 12:36:14 I know nothing about NDK Jun 22 12:37:59 ah. Never mind. Thanks! :) Jun 22 12:38:44 thepoosh: I wonder how do developers really get started with contributing to the source Jun 22 12:42:03 very few do, particularly if they're not getting paid for it, or at least involved in a community group Jun 22 12:53:31 dkathayat: same for me, i am a bloodie noob :) Jun 22 13:00:11 Any robolectric users? Jun 22 13:06:48 It seems like EventBus is the much more mature event bus library than Otto Jun 22 13:22:28 If someone did not know this before I shared this http://androidniceties.tumblr.com/ Jun 22 13:26:54 Wow, Looney, there are actually some nice ones there now. Almost unbelievable that it’s actually Android. Jun 22 13:30:40 Sunrise might look nice, if it didn’t use Roboto. Jun 22 13:39:38 hey guys quick question , if say I have if (tx.getText().toString().equals("50")) how would a implement an OR statement (||) in this like say ("50")||("60") ? Jun 22 13:41:14 on What basis is onDialogPositiveClick is called here - http://developer.android.com/guide/topics/ui/dialogs.html#PassingEvents - I can't see how it gets set as listeners? can someone help me understand Jun 22 13:41:44 Jared603: i'd use the same long expression two times Jun 22 13:42:33 Alrighty, thanks, :) just trying to find the quickest way haha, i'm lazy :P Jun 22 13:42:42 nvm, I didn't see the 3rd block of code :D Jun 22 13:42:47 ctrl-c, ctrl-v :D Jun 22 13:43:20 Remember kids, copy and paste, is the programmer's best friend! Jun 22 13:43:39 No. Seriously. Don't. Jun 22 13:43:58 Ofcourse haha Jun 22 13:44:01 I've seen programs with 800 cp'ed if statements instead of a lookup table. Please! Jun 22 13:44:11 What's going on here, so much noise Jun 22 13:44:19 flan3002: we're talking about one-liners Jun 22 13:44:21 yup true that marrrk Jun 22 13:44:55 LtRipley: Those if statements were three-liners. A lot of them. It hurt. Jun 22 13:45:09 I would love to see how they get around shit like drawable-xhdpi drawable-mdpi and so on. I try to use icon fonts as much as I can. Jun 22 13:45:17 coming from a c sharper , java is a bit more tricky Jun 22 13:45:35 marrrk: Have you managed to replace the Overflow icon with a vector font drawable without reflection? Jun 22 13:45:39 but layout is much the same Jun 22 13:45:58 What overflow icon? Jun 22 13:46:03 marrrk: I wrote a method hackOverflowIcon, but I feel like there must be a better way. Jun 22 13:46:21 I’m just using textviews and use that for icons. Jun 22 13:46:21 marrrk: The overflow icon on the right side of the actionbar. Jun 22 13:46:30 Oh haha Jun 22 13:46:44 Anything related to the actionbar I can never figure what stuff to change in the theme. Jun 22 13:46:58 It’s crazy. You mean that ugly ellipsis? Jun 22 13:47:25 So how did you do it? I’m curious now, flan3002 ? How do you even get that icon? Jun 22 13:47:26 i am trying to have a gui (multiple landscapes) that control a MusicPlayer that has some basic functions and some state (like playing/not playing, current Song, etc.) and i wonder what is the best design, as I can't just have the PlayerObject created by the activity Jun 22 13:47:41 The problem is that those SVGs are not loadable via XML, so I had to go through loads of implementation code for the ActionBar. Jun 22 13:47:43 i thought about using an IntentService, but i don't think i can query the state in the activity Jun 22 13:48:31 marrrk: Yes, those 3 squares. Jun 22 13:49:10 hmm, any idea what I can do about 'Error:(1, 0) Plugin with id 'android' not found.' in AS 0.6.1? Jun 22 13:49:42 marrrk: The cool thing about vector fonts is that you can color however you like, at runtime. Unfortunately, some places don't like to accept programatic Drawables. :( Jun 22 13:49:43 flan3002: I always wonder with things like that how anybody has the nerve to create this and then think: Oh yeah it’s completely fine if millions of people have to look at this rubbish. Jun 22 13:50:24 marrrk: I actually think XML was the wrong approach for this, since it complicates it quite a lot... Looking at Scaloids UI code makes me jealous. Jun 22 13:50:45 Jealous of what? Why don’t you use it? Jun 22 13:51:02 marrrk: Now, we always have to deal with XML and Java, always crossing boundaries. Jun 22 13:51:14 flan3002: Don’t write your apps in Java! Jun 22 13:51:33 marrrk: Jealous of the brevity. Jealous of everything about it. Well, Scala is heavy... Jun 22 13:51:41 What do you write your apps in? Jun 22 13:51:51 Scala, if I’m allowed to. Jun 22 13:52:05 How is Scala heavy? Jun 22 13:52:18 I don’t think it’s any worse than Guava after proguarding the shit out of the libraries. Jun 22 13:52:20 * flan3002 is hoping to write his next app (a hobby game) in Rust. However, he's afraid of fighting the NDK. Jun 22 13:52:28 assuming i have an IntentService with some specific state (like current song played), is there a good way to query that state from an activity? Jun 22 13:52:45 hi people, can I ask you for commit code review on android-async-http library? https://github.com/loopj/android-async-http/commit/67bd2273a79944df8c7f68726bd8293b6108a83d Jun 22 13:53:16 flan3002: Ah okay that’s quite bold to go that route. Jun 22 13:53:28 haven't found more elegant solution, than silent reflection access, pity for default version of HttpClient in Android distribution Jun 22 13:53:39 marrrk: If Java does one thing right, it's that costy things look like they're costy. (Java 8 not so much anymore) Jun 22 13:53:55 marrrk: And Scala... Well... It starts with the for-comprehensions. Jun 22 13:54:47 marrrk: I'm not saying I don't like them conceptually, but you trade a lot of performance for that sweetness. Jun 22 13:55:01 Performance that you don’t need in 99% of cases. Jun 22 13:55:18 And if you do, you can always take them out. Jun 22 13:55:52 marrrk: And, while I appreciate that they don't want to give those constructs special privileges, it's just not the most pragmatic approach. Jun 22 13:56:34 marrrk: Sure. Maybe I should translate my current hobby app to Scala. Just for fun. Jun 22 13:56:55 Well, if you want to be able to still write anything in Java, don’t start with Scala. Jun 22 13:57:02 You will hate Java so much afterwards. Jun 22 13:57:12 But maybe you do already. Jun 22 13:57:13 I already hate Java. Jun 22 13:57:18 Haha! Jun 22 13:58:28 flan3002: It’s your choice. Me in general, I very much like trying out new things and there’s still loads of stuff that I don’t get in Scala, so it’s always a nice opportunity to use my head. Jun 22 13:58:36 It may have a good ecosystem for big enterprises and the JVM is a good piece of software, but it starts with the giant JRE libraries and the Google-Oracle fight... Jun 22 13:59:01 So if you want to try Rust+NDK I would also encourage it. I’ve used neither so far. Jun 22 13:59:03 marrrk: Yes, I'm very fond of trying new things as well, and I already tried Scala... Jun 22 13:59:53 Sure, I'll definitely *try* using Rust. I just don't know how long I'll try before giving up and resorting to something else for a while. Jun 22 13:59:55 flan3002: So how did you change that overflow icon? Jun 22 14:01:02 As I said, Reflection. As the name hackOverflowIcon says, it is a stupid hack. It will blow up when they change a field name. And they will. :[ Jun 22 14:02:11 flan3002: I don’t get how that would work yet. Could you paste the file somewhere? Jun 22 14:02:42 I mean do you override setMethod or something like that? Jun 22 14:02:56 The method using setMethod, I mean. Jun 22 14:04:27 Hi, I'm trying to understand how does DialogFragment (and using it as wrapper around AlertDialog.Builder) help me than just creating and using AlertDialog.Builder ? Jun 22 14:04:32 Or just accessing a private method? Jun 22 14:04:46 marrrk: This is only the relevant method: https://gist.github.com/0f7784127f2dd60ea181 Jun 22 14:05:59 marrrk: So, obviously, I'm pretty much f*cked if they ever change those names. :/ Jun 22 14:06:02 ah, I see now. Jun 22 14:06:22 anyone ? Jun 22 14:06:24 Yeah, but I still like that you hated the icon enough to go that route. Jun 22 14:07:09 flan3002: Are you creating the drawables from SVG files? What’s your workflow for that? I couldn’t replace it my way because it’s a drawable and not a text field. Jun 22 14:07:19 marrrk: No, I just wanted the flexibility to be able to change the overflow icon's color along the color of all other icons to maintain the correct contrast. Jun 22 14:07:34 I see. Jun 22 14:09:14 marrrk: Yes, basically. I use some library for rendering the SVGs to bitmaps of the appropriate size and use those bitmaps. Jun 22 14:09:32 Hmm, also not a very nice approach. What’s the library? Jun 22 14:09:35 com.larvalabs.svgandroid Jun 22 14:09:45 Is the package name. Jun 22 14:10:01 http://stackoverflow.com/a/3056862 recommends having a static SoundManager instead of using a service, i can't see whether this is a reasonable approach, any insights? Jun 22 14:10:12 flan3002: Can you use characters from a font with that or do you have to supply the svg files additionally? Jun 22 14:10:18 marrrk: Exactly, and I'm not proud of that, but there were some... complications with using a SVGDrawable. Jun 22 14:11:02 I also tried the Vector Icon font... But its glyphs weren't centered, which defeated the whole purpose... Jun 22 14:11:19 And hey, we got all those icons as SVG anyways. :) Jun 22 14:11:34 Or at least, we can export them as SVG... Jun 22 14:12:04 So but then you have an svg for each icon, right? Jun 22 14:12:12 I like when they’re all neat in one file. Jun 22 14:12:34 marrrk: Yes. But thats better than having three to five icons for different densities. Jun 22 14:12:45 flan3002: Anything is better than that. Jun 22 14:12:50 Now they're just res/drawable/refresh.svg. Jun 22 14:12:57 Yeah, much better. Jun 22 14:13:36 It obviously has some extra cost... But you get to change the colors pretty much on the fly without a ColorMatrixFilter which is reasonably cool. If it works, that is. Jun 22 14:13:56 The SVG support is also not great, right? Jun 22 14:14:14 What do you mean? It renders correctly to bitmaps. Jun 22 14:14:21 is there a way to get an Service-Object from an Activity, to be able to query its state? Jun 22 14:14:40 and if so, is that the most sane way to get it? Jun 22 14:14:47 Ah, I thought that at least in most cases you could avoid that rendering to bitmap. I thought it was just for that hacky bit. Jun 22 14:15:15 marrrk: Well, you have to render it anyway. Either while loading or when first drawing and then caching. Jun 22 14:15:35 Yeah, but I lke not having to worry about that when using TextViews. Jun 22 14:15:52 But if that library does it nicely, it’s probably fine, too. Jun 22 14:16:16 It's still uglier than just using Bitmaps, code-wise. Jun 22 14:16:54 Hmm, I wonder why they don’t just natively allow to place svgs in the xml layouts. Jun 22 14:17:17 Didn’t anybody come up with this when they realised they want to support lots of screen resolutions? Jun 22 14:17:38 * flan3002 thinks they should work on redoing the whole thing... But nobody at Google listens to developers anyways, so why bother. :) Jun 22 14:17:55 marrrk there is an svg library - but as you imagine, it is slower Jun 22 14:18:22 g00s: by whom? Jun 22 14:18:34 flan3002 maybe google realizes they designed themselves into a corner, but without being able to quickly push out updates, how do they make architectural changes without breaking all the things ? Jun 22 14:18:39 marrrk i thought a googler Jun 22 14:18:55 i see its used in iosched 2014 still Jun 22 14:18:58 Why wouldn’t they break all the things? Jun 22 14:19:02 g00s: Don't. Just break all the things. Jun 22 14:19:09 exactly. Jun 22 14:19:18 everybody's apps would break :| Jun 22 14:19:29 yes, because fucking over your installed base which is the more valuable resource is such a damn good idea Jun 22 14:19:32 Hi, I'm trying to understand how does DialogFragment (and using it as wrapper around AlertDialog.Builder) help me than just creating and using AlertDialog.Builder ? Jun 22 14:19:38 Not if they shipped two runtimes for the transition time. :/ Jun 22 14:19:58 haha, yeah, right, and make everyone develop two separate applications, right? :P Jun 22 14:20:09 Sometimes, breaking backwards compatibility is the cheapest way. Jun 22 14:20:09 and oems are going to add their secret sauce to both right, hehe Jun 22 14:20:27 They should have done that with Java years ago... Jun 22 14:20:30 Well otherwise it’s always going to remain the same shit it is now. Jun 22 14:20:40 Starting at these awful generics... Jun 22 14:20:49 apple can do this easily; i think thats why they can evolve the OS faster - even if they don't iterate calendar-wise as quickly as google does Jun 22 14:21:14 g00s: apple *could* (and did) do it easily, nowadays it's a bit harder Jun 22 14:21:17 And Google can do that too. It's just harder... :P Jun 22 14:21:38 marrrk its this one https://code.google.com/p/svg-android/ Jun 22 14:21:45 I always assumed there were a few clever people working at google. Jun 22 14:21:50 That one got me some problems... Jun 22 14:21:52 Wow, hosted at google code. Jun 22 14:22:01 I already don’t trust it. Jun 22 14:22:07 marrrk yeah, but lots of clever people with poor management / poor leadership = ? Jun 22 14:22:12 Ah no they moved it. Jun 22 14:22:51 oh bummer, is anyone still supporting it ? Jun 22 14:22:51 Hmm 2 years ago last change which was „Initial commit“. I can see how that could have lead flan3002 into trouble. Jun 22 14:23:03 ugh, yuck Jun 22 14:23:32 hey g00s could you help me with that ? Jun 22 14:23:58 Hi, goa a problem implementing a global layout listener for some reason. Using Google API16 in a project and the following fails to compile in the onCreate method for an activity: http://pastebin.com/yVzcWLS4 Jun 22 14:24:04 prishabh hmm, comparing DialogFragment to … old stuff; i don't remember much how the managed dialog protocol worked Jun 22 14:24:17 if they break all the things, at least change java for a different language :P Jun 22 14:24:20 hi i got a question Jun 22 14:24:24 just use DialogFragment ;) Jun 22 14:24:26 XML meh, not that bad, WP xaml es way better though Jun 22 14:24:31 probably works better with rotation changes, etc Jun 22 14:24:39 Apparently OnGlobalLayoutListener cannot be resolved to a type. Pretty sure it should be available though! Jun 22 14:24:40 is it good practise to store data as text view (used for viewpage) for a simple revision app? Jun 22 14:24:42 Hello. I'm getting an error cannot resolve method add(int, com.frags.frag1) here: http://pastebin.com/t4pa9Kau It works though if i change from getSupportFragmentManager to getFragmentManager. Any1 can help me out? Jun 22 14:24:57 g00s: hm Jun 22 14:25:17 is iosched 2k14 source out btw? Jun 22 14:25:22 not yet Jun 22 14:25:37 check this out http://www.wired.com/2014/06/gm-license-app-text/ Jun 22 14:25:45 yeah, this is why i don't want a consumer OS in my car haha Jun 22 14:25:48 2013 one seems cool, but will be dated I guess Jun 22 14:25:50 DarkChaoz: no. If anything, I'd think storing it in strings resource that might be referred by application would be better Jun 22 14:27:19 its because my viewpager uses xml layouts atm i have like 25 xml layouts and uses 5 per activity Jun 22 14:28:50 Hello!!!ù Jun 22 14:29:02 I'm a new Android Programmer!!! Jun 22 14:29:12 I have 2 questions Jun 22 14:29:15 if i do string resource how would I go about it with using viewpager Jun 22 14:29:48 I am new also, but Java is not much surprise Jun 22 14:29:49 :P Jun 22 14:29:53 the first is how can I calculate the time for example to write "last update 5 minutes ago" ? Jun 22 14:30:01 I'm wondering if Android no longer has "OnGlobalLayoutListener" should I just set up a thread to constantly check the dimensions of the outer container, I guess 10 times per second would be enough Jun 22 14:30:17 the second I have a background service Jun 22 14:30:27 same Jun 22 14:30:30 lol Jun 22 14:30:44 Smashcat: If you can avoid busy waiting, do so. See if you can hook into the resize/move/whatever events. Jun 22 14:30:44 how can I stop when I leave the intent started the service? Jun 22 14:31:34 any suggestions on to store large amount of data to be used with viewpager, currently i use alot of xml layout files and store them as text view in order to be used with viewpager Jun 22 14:31:45 flan3002: Yeah, the layout listener used to trigger when layout dimensions changed. Looks like it's been removed though, so I think polling is the only way to measure the container now. Jun 22 14:31:57 ok, in lack of a response i am now trying to fit all my media related code in a service and find a way how to directly access my Service-subobject by my activity Jun 22 14:32:39 anyone can helpme please Jun 22 14:33:35 i need help Jun 22 14:33:50 * flan3002 knows everyone needs help. Jun 22 14:33:56 Oh FFS, it was Eclipse being stupid again. OnGlobalLayoutListener IS available - for some reason it was just not pulling the class in, and there was no option to add it. Had to add it manually! Jun 22 14:33:58 btw. when my phone goes to power save mode and all activities are destroyed, will the Activity class be unloaded as well? Jun 22 14:35:01 massimiliano: You need a timestamp of the last update. With it, you can calculate the time difference to now and then calculate the amount of minutes passed. Jun 22 14:35:09 ok so instead of putting the content as textview I just simply add the text into the string file and use the textview in the layout file to refer to the string source name? Jun 22 14:35:35 @Msci_p_l Jun 22 14:36:36 hello? anyone alive lol? Jun 22 14:36:59 DarkChaoz: People may be reading your question but not know an answer. Jun 22 14:37:12 ahh... Jun 22 14:37:16 thank you flan3002 Jun 22 14:37:40 DarkChaoz: or not understand the question :) Jun 22 14:37:47 that too lol Jun 22 14:38:08 DarkChaoz: Yes, I don't understand your question indeed. :) Jun 22 14:38:15 ok my aim is to make a simple revision app, currently Im using ALOT of xml files for viewpager Jun 22 14:38:33 DarkChaoz: i am kind of giving up now, i tried several ways of putting somethign which seems like a newbie question Jun 22 14:38:44 using the switch method to switch between xml files in one activity. Jun 22 14:38:53 understanding so far? Jun 22 14:38:56 i don't know ViewPager :) Jun 22 14:39:00 Smashcat that happens in AS too. if its an inner class, and you don't have the right auto-import etc Jun 22 14:39:12 DarkChaoz: Yes, go on. Jun 22 14:39:38 so in the xml files I have used alot textviews to show the revision content Jun 22 14:39:50 g00s: Yeah it's a bit irritating as the "error" message is a little misleading Jun 22 14:39:52 should I deal with event bus unregistraitons in onPause() or onStop(), not quite sure Jun 22 14:39:59 I am not sure this is a good way of storing the content Jun 22 14:40:26 DarkChaoz: You're hardcoding text into XML? Jun 22 14:40:36 yeah Jun 22 14:40:49 DarkChaoz: Bad, indeed. Very bad. :) Jun 22 14:41:12 so I should store them in the string file then? Jun 22 14:41:15 But the layout is identical? Jun 22 14:41:28 roughly yes.. Jun 22 14:41:47 Unbelievable Jun 22 14:41:58 should i store the content in the string file and call it on the textview? Jun 22 14:42:04 On what conditions do you switch the content? Jun 22 14:42:37 when user slides the current page Jun 22 14:42:49 to the next or goes back a page Jun 22 14:43:20 Then you should use a text file. Jun 22 14:44:05 mhmm, is there any resources that can provide an example? Jun 22 14:44:28 There may be, but my connections is too slow to search for them. Jun 22 14:44:41 I really wish the Android devs would add listeners for SoftKeyBoardOpen and SoftKeyboardClosed. The measuring hacks we've had to use for years shouldn't really be needed for something so simple. Jun 22 14:44:42 i see. Jun 22 14:45:39 would storing the content on the string file be just as good and refer the string source name to the textview Jun 22 14:45:45 or that still bad Jun 22 14:45:55 DarkChaoz: Basically, create a file and place it in assets or resources. Read and parse it to memory, then select and fill in the appropriate text for the current page. Jun 22 14:46:12 i see. Jun 22 14:46:42 wait, nvm layout sorta differs from page to page. Jun 22 14:46:56 How? Jun 22 14:47:28 can i pm you? Jun 22 14:47:34 I'll show you it Jun 22 14:48:01 hi, i'm trying to compile redphone github source on archlinux i have gradle (1.12) and I am getting the > Could not create plugin of type 'AppPlugin'. error. I have tried changing the classpath from 0.7.+ to 0.7.3 however the error still remains. I am struggling for ideas is there anything else i could try? Jun 22 14:48:11 I could but would rather not downgrade gradle Jun 22 14:48:17 DarkChaoz: There's no benefit from that. Please just post it to the channel. Jun 22 14:48:59 ok Jun 22 14:49:12 Context has startService and stopService, but is there a way to get the service Object? Jun 22 14:49:22 hold on let me take ss Jun 22 14:51:38 http://prntscr.com/3vd1pp http://prntscr.com/3vd20n @flan3002 Jun 22 14:52:59 hello, someone is experienced with maven and android ? i'm having problem with android.support.v4 use in app built with maven (with android-maven-plugin) Jun 22 14:54:18 DarkChaoz: In your case, you might even want to consider using HTML/Markdown. It allows for far greater flexibility than using layouts in XML for this kind of stuff. Jun 22 14:54:39 i see. Jun 22 14:54:55 * flan3002 would use MarkDown to HTML conversion at compile-time (and probably fail convincing Gradle to do that) and display them in a WebView. Jun 22 14:56:03 is this located at android site? Jun 22 14:56:14 and can i use this along with the viewpager? Jun 22 14:56:40 DarkChaoz: Or you could convert MD -> HTML at runtime with e.g. https://code.google.com/p/markdown4j/. It would raise your apps coolness level by around 42 points. :) Jun 22 14:58:24 whats MD? Jun 22 14:58:43 Markdown. Jun 22 14:59:04 oh xD Jun 22 14:59:20 You probably want http://markdownj.org/ though. Jun 22 14:59:21 any number of a dozen markdowns :) Jun 22 14:59:31 Is there any usable example of interacting with the GCalendar API on Android? Jun 22 14:59:45 DarkChaoz: http://daringfireball.net/projects/markdown/ Jun 22 15:01:04 for publish android to market we should pay only 25$ ? Jun 22 15:01:12 once Jun 22 15:01:33 yes Jun 22 15:01:38 I’m getting INVALID_SCOPE, but I’m confused as to how to even set a scope. Jun 22 15:01:44 i think it should be $25 per app, but heh :D Jun 22 15:01:52 ok thanks flan3002, Jun 22 15:02:02 also where do i use/save the markdown stuff too? Jun 22 15:02:48 do i use them directly on the activity file where the viewpager switch is (for each case) Jun 22 15:02:51 g00s: if we want to sell our app then google use the bank account we used for pay 25$ ? Jun 22 15:03:06 mintux i think so, its been a while ;) Jun 22 15:03:06 DarkChaoz: I'd put them in the assets directory. Jun 22 15:03:19 i see Jun 22 15:03:39 I'll definitely look into markdown Jun 22 15:03:51 so many xml files are bad bad bad :) Jun 22 15:04:34 Hi! I'm trying to add some libraries using maven and gradle but it can't find Guava and UIL when I sync project files Jun 22 15:04:36 http://pastebin.com/BGp6SKka Jun 22 15:04:45 g00s: should account details and developer details be same? i mean can my friend pay for me in my google account and then i publish apps later Jun 22 15:04:48 thats my build.gradle Jun 22 15:05:08 mintux hm, i dont remember, i filled that stuff out like 4 years ago , sorry Jun 22 15:05:23 anyone knows this? Jun 22 15:05:38 mintux i would use the account you plan on getting deposits from :D Jun 22 15:06:07 heh Jun 22 15:06:49 should I deal with event bus unregistraitons in onPause() or onStop(), not quite sure Jun 22 15:07:20 oh one more thing flan3002, would android compile the markdown to the normal fomat and not that output the html tags stuff Jun 22 15:07:23 jprobably onStop(), as long as the activity is still visible, I am interested in updating the interface Jun 22 15:07:36 platzhirsch probably register onStart, unreg in onStop Jun 22 15:07:46 g00s: *nod* Jun 22 15:08:09 DarkChaoz: Android has no notion of MarkDown. You'll have to convert it to HTML yourself (with that library, of course) and then feed a WebView with it. Jun 22 15:08:19 :( Jun 22 15:08:22 i see Jun 22 15:08:29 DarkChaoz: Note that you can mix MarkDown and HTMl to allow for more complex layout, if needed. Jun 22 15:09:04 so basically.. i use that lib to store the content and use webview to call the file to convert it to normal form? Jun 22 15:09:17 Nah, not really. :) Jun 22 15:09:34 i sorta understand what the lib does.. Jun 22 15:09:48 DarkChaoz: You load the file for the page you want to show, feed it through the MarkdownProcessor and feed the resulting HTML to the WebView. Jun 22 15:10:07 I see. Jun 22 15:10:50 what is the best channel from a Service to the current Activity? Jun 22 15:11:13 so what will be the content file? Jun 22 15:11:39 the ordinary file which will be processed by markdown thing then can be used with webview? Jun 22 15:11:53 LtRipley the airlock ! Jun 22 15:12:02 g00s: ? Jun 22 15:12:26 lol, i thought LtRipley was from Aliens Jun 22 15:12:29 nm Jun 22 15:12:47 i am, but this didn't answer my question Jun 22 15:12:59 DarkChaoz: The WebView can only parse and display HTML, however HTML is not as pleasant to write by hand as Markdown is. Therefore, I'd write the Markdown content by hand and convert it to a format the WebView can understand (HTML) later on. Jun 22 15:13:05 it feels so stupid, this must be standard knowledge, but nobody is able to help me Jun 22 15:13:35 DarkChaoz: Therefore, the files contain Markdown (possibly interleaved with HTML snippets). Jun 22 15:14:00 thought so.. that i was trying to say intially for the content file Jun 22 15:14:10 before being processed to html by the markdown thing Jun 22 15:14:16 2 more questions Jun 22 15:14:22 * flan3002 sighs. Jun 22 15:14:40 1. do i save it as a normal txt file? Jun 22 15:14:52 or is there special file extension needs to be used Jun 22 15:14:54 Yes, preferably UTF-8 encoded. Jun 22 15:15:00 i see. Jun 22 15:15:16 is there a kind of android-forum you guys can recommend for questions? Jun 22 15:15:18 and do i import the markdown plugin to eclipse? Jun 22 15:15:30 *eclipse project Jun 22 15:15:40 The extension doesn't matter usually, but Vim highlights files with .mkd as the extension automatically, so why not use it.. Jun 22 15:15:54 What build system do you use? Jun 22 15:16:36 buld target is android 4.4 Jun 22 15:16:42 *build Jun 22 15:17:01 Gradle/Ant/Maven? Or none? Jun 22 15:17:15 * flan3002 should learn Gradle. Jun 22 15:17:21 none Jun 22 15:18:16 Then I'd try cloning the repo from https://github.com/myabc/markdownj and using it as an Android source project. Jun 22 15:18:38 Or package it as a jar and include that one. Jun 22 15:19:05 ok Jun 22 15:19:23 LtRipley: Not sure what you're asking. Generally you create and bind the service in the activity you're using with the ServiceBuilder. Then you use that reference to the Service. Jun 22 15:19:36 ok, sorry for annoying with these noon questions flan3002 Jun 22 15:19:43 that will be all :) Jun 22 15:19:49 LtRipley: The service can't access any current activity unless on a hacked device I guess. Jun 22 15:20:08 DarkChaoz: :) Jun 22 15:21:47 LtRipley that question - has been asked countless times, and has many nuances. you can easily find the overview be searching "activity service communication" Jun 22 15:22:00 LtRipley: You can set up callback handlers in the activity that creates the service, so that the service can trigger events. Jun 22 15:22:14 (not sure if he's still here :)) Jun 22 15:22:46 hey, any good and cheap alternative to google's GCM to push data to apps? Jun 22 15:23:01 Smashcat: what do you mean by ServiceBuilder, i couldn't find anythin by this name in the android Api? Jun 22 15:24:08 LtRipley: Here's a tutorial :) http://www.vogella.com/tutorials/AndroidServices/article.html Jun 22 15:25:07 I've been working on services using JINI, so slightly different to what you want I think Jun 22 15:25:19 Smashcat: thanks, i will check whether that answers my question Jun 22 15:25:32 np Jun 22 15:26:18 LtRipley: I think exercise 7 there shows exactly what you want Jun 22 15:26:48 looks good Jun 22 15:29:53 Oh one more question fran3002 can gradle be used with eclipse or is it for android studio only Jun 22 15:30:08 you can Jun 22 15:30:27 Ahh i see Jun 22 15:32:15 Mhmm.looks like i need to install gradle plugin Jun 22 15:32:33 darkchaoz i think the android gradle plugin only works with AS Jun 22 15:32:47 o.o Jun 22 15:32:53 eclipse requires more manual work Jun 22 15:32:59 but nothing fancy Jun 22 15:33:08 hmm Jun 22 15:33:13 I see. Jun 22 15:33:18 i don't see how you will get the directory structures to align Jun 22 15:33:26 well i tried it a while back and said screw it Jun 22 15:33:26 no need Jun 22 15:33:34 you can tell gradle where to look Jun 22 15:33:35 hey guys using sdk tookls in linux i am unable to open a project that i was working on Jun 22 15:33:38 Is android studio stable? Jun 22 15:33:40 it lets me only optn the files one at attime Jun 22 15:33:44 and open proiejct is unselectable what can i do Jun 22 15:33:46 darkchaoz: AS >>>>>>>> eclipse Jun 22 15:33:53 darkchaoz: keep in mind that AS is not built from zero Jun 22 15:33:54 ok, you can use the eclipse structure - but thats now the way we're doing any more :D Jun 22 15:33:58 it is based on intellij Jun 22 15:34:06 which is probably one of the best IDE out there Jun 22 15:34:21 and it is very stable Jun 22 15:34:24 As ide best? Jun 22 15:34:28 When invoking context-sensitive methods in an AsyncTask, how do you deal with these? Just pass the context with the constructor? Jun 22 15:34:30 AS is just a plugin on top of it Jun 22 15:34:49 Looks like i need to ditch eclipse then :p Jun 22 15:35:07 If its buggy then i wont use it Jun 22 15:35:07 darkchaoz: you won't regret it and lately, the default structure of apps improved a lot and AS options became too good and gradle integration (what you want here) is now really really really good Jun 22 15:35:15 no bugs whatsoever for me Jun 22 15:35:19 and they update like twice a month Jun 22 15:35:25 Awesome Jun 22 15:35:38 Gradle already built in? Jun 22 15:35:54 yes Jun 22 15:36:06 Awesome Jun 22 15:36:19 if you create a project, it creates it with gradle configuration and a structure which fits perfect with gradle flavours and stuff like that Jun 22 15:36:37 Mhmm Jun 22 15:36:51 I might well start my app from scratch again Jun 22 15:37:02 if it is not that advanced, I would do that Jun 22 15:37:04 Taking on board flan3002 advice Jun 22 15:37:10 * flan3002 had to edit IntelliJs start script to see text. Compatibility of AS will be similar for me. Jun 22 15:37:22 Its a mess so yeah it would be good to restart Jun 22 15:37:26 What is going on my application was working fine! [2014-06-22 11:37:01 - 0ne] Parser exception for /0ne/AndroidManifest.xml: Premature end of file. Jun 22 15:37:33 all i did was restart Jun 22 15:37:37 now i cannot open my project?! Jun 22 15:38:31 Ok thank you flan3002, g00s and foxandxss for ur advice Jun 22 15:38:49 I'll surely use as now and start project from scratch Jun 22 15:39:15 darkchaoz: now is a good time, a couple of month ago the structure changed to be awesome Jun 22 15:39:53 Failed to read the project description file (.project) for '0ne'. The file has been changed on disk, and it now contains invalid information. The project will not function properly until the description file is restored to a valid state. Jun 22 15:39:55 Nice :o Jun 22 15:39:55 what on earth?! Jun 22 15:40:12 Does anyone know how i can fix this? Failed to read the project description file (.project) for '0ne'. The file has been changed on disk, and it now contains invalid information. The project will not function properly until the description file is restored to a valid state. Jun 22 15:40:15 Would u say AS is easier to use than eclipse? Jun 22 15:41:47 darkchaoz: easier, prettier, better tools, better UI, better coding help, faster, has everthing better Jun 22 15:41:51 and google support behind it Jun 22 15:41:56 so it get a lot of love Jun 22 15:41:57 bbl Jun 22 15:42:05 Cya Jun 22 15:42:37 hey all X) Jun 22 15:42:49 i bet at this I/O fireside, somebody will ask (again) if google is abandoning eclipse Jun 22 15:44:29 Lol Jun 22 15:46:25 got some really wierd behavioour on a ViewPager. Got a FragmentStatePagerAdapter with three different fragments. Two of the Fragments have listeners that return a custom Object to the host Activity, which in turn trigger the third fragment to be populated with data. One fragment works fine (ListView), the other doesnt, (Google Map). Does the Google map run on a separate thread or something? Jun 22 15:46:44 can post code Jun 22 15:48:21 Does nayone know how i can fix this error when trying to open a project i just closed? [Fatal Error] :1:1: Premature end of file. It no longer shows any files from the project and the only way to open it is to add them one by one, I cannot import the project Jun 22 15:48:24 I keep getting that error code Jun 22 15:48:34 * flan3002 was just asked if packets would 'bump together' if client and server send packets over a TCP socket at the same time. :D Jun 22 15:48:44 hehe X) Jun 22 15:49:28 Psil0Cybin: But the files are still all there and intact? Jun 22 15:49:45 flan3002, correct Jun 22 15:50:14 All of them? Also the .iml files when using IJ-Idea or AS? Jun 22 15:50:35 flan3002, i did not do anyrthing but close the program, restart the computer and turn on eclipse Jun 22 15:50:40 i would assume so Jun 22 15:50:45 Check. Jun 22 15:50:47 kk Jun 22 15:58:54 I am having an issue with a string being neither a file nor a directory. I have added READ_EXTERNAL_STORAGE to my manifest. The directory does exist in memory. Jun 22 16:00:03 MercX: A link? Jun 22 16:00:24 MercX: Are we talking of a path you get and try to read? Jun 22 16:01:47 flan3002: yes, first timer here, what information would you like me to post? source code? error messages? I am using eclipse. Jun 22 16:02:15 MercX: The path you're trying to read. Jun 22 16:02:51 when you say "in memory" presumably you mean "in the filesystem" Jun 22 16:03:17 Leeds: yes, in the storage memory Jun 22 16:03:46 for what it's worth, people mostly use 'memory' to mean 'RAM' nowadays... Jun 22 16:03:51 I know Jun 22 16:03:52 .... Jun 22 16:03:53 anyway, what's the path? Jun 22 16:04:31 /storage/emulated/0/Sound Jun 22 16:05:29 I am using Environment.getExternalStorageDirectory.toString() + "/Sound" to set the path Jun 22 16:05:38 There's an easy way to find out what it is: adb shell, then cd /storage/emulated/0 and ls -l. Jun 22 16:05:58 Then search for the entry named Sound and look at the first letter of that line. Jun 22 16:06:26 ah ha Jun 22 16:06:42 /storage/emulated/0 does not exist, it is now /storage/emulated/legacy Jun 22 16:07:06 careful there Jun 22 16:07:12 Well, that might be a reason why you can't read it... Jun 22 16:07:27 they could both exist, depending on context Jun 22 16:07:53 So, what type is it? Jun 22 16:08:20 File ? Jun 22 16:08:21 things would be pretty messed up on your device if getExternalStorageDirectory() returned an invalid value Jun 22 16:08:22 * flan3002 can't think of a reason why someone would create a link or fifo named Sound there, but whatever... Jun 22 16:09:01 heh, i'm using wifi-analyzer app which has adds : and teh current add is for mainframe web services … do adds ever work at all ? Jun 22 16:09:05 MercX: You said it's not a file nor a directory. What else is it? Jun 22 16:09:28 MercX: And I told you how to check. Jun 22 16:09:56 must be returning NULL. I am initializing the a File object and setting it to the path i get from Environment.getExternalStorage...... Jun 22 16:10:13 that object.isDir() and .isFile() both return false Jun 22 16:10:26 MercX: But .exists()? Jun 22 16:10:34 also false Jun 22 16:10:46 * flan3002 sighs. Jun 22 16:11:27 Okay, so what path are you constructing at runtime and what path do you want to construct? Jun 22 16:11:31 a thing which does not exist is also a thing which is not a file or a directory Jun 22 16:12:01 String path = Environment.getExternalStorageDirectory().toString() + "/Sound/"; Jun 22 16:12:12 also this worked prior to a 4.4 update on my phone Jun 22 16:12:54 Have you printed path? Jun 22 16:13:08 at this point path = /storage/emulated/0/Sound, in adb shell there is no directory /storage/emulated/0, it is /storage/emulated/legacy Jun 22 16:13:09 And have you verified the printed path actually exists? Jun 22 16:13:37 so it would seem that getExternalStorage is returning an incorrect value, or something else is wrong? (context?) Jun 22 16:13:52 is there anything unusual about your device/OS? Jun 22 16:14:00 no, stock VZW Note 2 Jun 22 16:14:12 all other apps are working normally Jun 22 16:15:53 MercX: I can't assist any more without seeing some code to check for dump mistakes. If what you say is true, you have a problem, but then the other apps shouldn't be working. Jun 22 16:16:49 s/dump/dumb Jun 22 16:18:22 http://hastebin.com/yupimuruhu.avrasm Jun 22 16:19:35 * flan3002 would have preferred ix for faster loading. :) Jun 22 16:19:48 never used ix, link? Jun 22 16:19:51 It's still loading... -.- Jun 22 16:20:12 Nah, finished. :) Jun 22 16:21:38 MercX: Could you move the fields out of the instance initializer and into onCreate? Jun 22 16:22:51 um, what's FSU? Jun 22 16:23:23 flan3002, k this is just one problem after another!! what i did was delete the project, delete hours of work i cannot figure this out but now when i start a NEW project i get Jun 22 16:23:24 Description Resource Path Location Type Jun 22 16:23:24 The import android.os.Build is never used Home.java /0ne/src/com/one/com line 12 Java Problem Jun 22 16:23:24 The import android.support.v7.app.ActionBar is never used Home.java /0ne/src/com/one/com line 4 Java Problem Jun 22 16:23:43 i have never seen these messages in my life, is it safe to say android sdk does not work good with linux?! because everytime i restart the application and turn it back on i am flooded with difficulties Jun 22 16:23:51 i have been configuring things for 2 hours just to open an old project :( Jun 22 16:24:08 the SDK has always worked 100% with Linux Jun 22 16:24:26 Leeds: that is a console message from a previous run, I had moved the directory just to see if there was something wrong with the file system Jun 22 16:24:27 so all of a sudden i am flooded with all these errors after a cold restart? Jun 22 16:24:45 MercX: erm... so are you trying to screw with people who are trying to help you? Jun 22 16:24:55 flan3002: I moved the fields into the onCrteate method, same errors Jun 22 16:25:02 wowowow Jun 22 16:25:02 fragment_home.xml: Failed to find style 'textViewStyle' in current theme Jun 22 16:25:02 Leeds: of course not Jun 22 16:25:08 or do you think it's ok to mix code from one run with log messages from another? Jun 22 16:25:08 i litterely cannot do anything! with android SDK Jun 22 16:25:40 Psil0Cybin: Those only look like warnings, not errors. Jun 22 16:34:20 flan3002, it was the issue that my computer restarted in the middle of working on a project, for next time..how can i fix this issue? If my computer cold restarts, while in t he middle of a project...can I somehow fix that issue? or the project is a gonner? Jun 22 16:34:48 flan3002, right now i am making backups of my project folders, constantly incase it happens again, but this is a nuts solution Jun 22 16:34:53 and may not even work Jun 22 16:37:39 hi! I want to create different build configurations (debug, CI, beta, release) using gradle. each configuration has a different icon and package name. is this a job for build types or product flavors? I'm not quite sure. Jun 22 16:41:15 Psil0Cybin, u use eclipse Jun 22 16:51:17 whats the latest version of android studio Jun 22 16:53:40 DarkChaoz 0.6.1 Jun 22 16:54:14 link to the download page? only found v.0.5.2 Jun 22 16:54:18 Do I need to sign my application with an API key to use any Google APIs? Jun 22 16:55:02 Specifically the Calendar API Jun 22 16:55:23 darkbasic, yes Jun 22 16:55:32 hey guys sorry what does this warning mean everytime i start my new application Description Resource Path Location Type Jun 22 16:55:32 The import android.os.Build is never used Home.java /0ne/src/com/firsttry/one line 12 Java Problem Jun 22 16:55:59 where can i download latest android studio Jun 22 16:56:52 DarkChaoz: http://developer.android.com/sdk/index.html Jun 22 16:57:23 err nmind yr looking for the other thing Jun 22 16:57:36 https://developer.android.com/sdk/installing/studio.html Jun 22 16:58:43 lol 495MB Jun 22 17:00:40 hey guys what does this warning mean how can i fix this? Description Resource Path Location Type The import android.os.Build is never used Home.java /0ne/src/com/firsttry/one line 12 Java Problem Jun 22 17:00:40 sorry i keep disconnecting my computer freezes a lot Jun 22 17:00:44 never had this problem with new project before Jun 22 17:04:53 DarkChaoz you can also just get AS and then dl the SDK itself Jun 22 17:05:19 http://tools.android.com/recent/androidstudio061released Jun 22 17:05:26 links at bottom Jun 22 17:07:18 already downloading AS v.0.5.2 Jun 22 17:08:43 Installed SDK Platform Android 4.1.2, API 16, revision 496%) Jun 22 17:08:45 I lol'ed Jun 22 17:18:06 Right. Trying to add the path to tools in PATH (thru .bashrc). But it says no such file or directory. But I copy paste the path by using pwd in the tools directory. Idgi Jun 22 17:18:32 for instance: $export PATH=$PATH:/home/gitlab_ci_runner/android-sdk-linux/platform-tools Jun 22 17:19:46 is it possible to have an application always start from the same activity after a destroy without enabling noHistory? Jun 22 17:20:20 i would use noHistory but it seems Android doesn't properly recreate activities once they've been removed from history if noHistory is enabled Jun 22 17:20:23 onCreate is never recalled Jun 22 17:20:30 anyone here use mit app inventor Jun 22 17:35:22 okay really this makes no sense.. why would doing finish() on one thread (even if from a runOnUiThread) cause a new Activity launched through an intent to entirely freeze? Jun 22 17:35:38 can i trace what methods it's dieing in? Jun 22 17:39:50 hi Jun 22 17:40:06 there are subtle things in iosched 2014 visual design i find weird; like why are the tabs missing the '|' dividers ? Jun 22 17:40:21 i want get user head to replace with cartoon character Jun 22 17:40:36 how can i get it using camera Jun 22 17:41:54 i saw some apps overlay camera with a image that only have head place on camera and require user to fit head with overlay camera picture placement Jun 22 17:42:04 how can i implement it Jun 22 17:42:14 is there complete example Jun 22 17:42:18 ? Jun 22 17:44:01 any idea? Jun 22 17:50:59 molavy: http://stackoverflow.com/a/2934759/1056359 Jun 22 17:51:28 hm. i think i managed to solve this without a tracer Jun 22 17:52:00 just installed android studio v0.5.2 Jun 22 17:52:03 thepoosh: so , how can i get only image inside head placement Jun 22 17:52:06 it says this Connection failed. Please check your network connection and try again. Jun 22 17:52:18 lol Jun 22 17:52:28 molavy: look in the sample project Jun 22 17:52:34 don't be lazy Jun 22 17:53:25 DarkChaoz its just the beginning :D Jun 22 17:53:56 DarkChaoz: why not 0.6.1? Jun 22 17:54:15 g00s: lol Jun 22 17:54:29 thepoosh: it don't said how can i get camera image inside head placement and remove what i don't need , Jun 22 17:54:34 i already downloaded v.0.5.2 Jun 22 17:54:43 i'll update IDE later Jun 22 17:54:55 also AS projects has gradle by default Jun 22 17:55:02 or do i need to install it Jun 22 17:55:07 i just want image inside head placement not a rectangular image Jun 22 17:56:36 DarkChaoz updatete ide right away Jun 22 17:56:51 ok how? Jun 22 17:56:52 not only bug fixes, but there is tight coupling between AS, gradle, build-tools, etc Jun 22 17:57:13 well, when you start it - there should be a notice right away Jun 22 17:57:34 thats just for AS though, you better go to the SDK manager and grab those new bits Jun 22 17:57:37 already creating a project but will do right after this Jun 22 17:57:40 see, should have listened to me :D Jun 22 17:57:47 lol :P Jun 22 17:58:10 have to download the new stuff for sdk? Jun 22 17:58:25 when you get the AS from main page, it comes with some version of it Jun 22 17:58:35 Android Gradle Syntax changed, only 0.6.x supports it. You're entering a world of pain. Jun 22 17:58:41 you'll have to run the sdk manager -it will say whats ready for update Jun 22 17:58:57 kakazza android is pain, of course :P Jun 22 17:59:43 yeah, wait until you get to the other tools, the craptastic shit like hierarchyviewer Jun 22 18:00:12 omg Jun 22 18:00:23 this cable works for charging but otherwise gives usb errors Jun 22 18:00:24 wtf Jun 22 18:00:29 i thought we were past this kind of crap Jun 22 18:02:32 where is the sdk manager in AS g00s Jun 22 18:02:39 so i can install the new stuff Jun 22 18:03:05 tools -> android -> sdk manager Jun 22 18:03:21 you can probably run it command line; i always install that stuff separately .. Jun 22 18:03:54 mhmm application bit laggy Jun 22 18:04:12 whoa it using 5GB of RAM Jun 22 18:04:15 o.O Jun 22 18:08:25 lol didnt expect AS to consume that much ram Jun 22 18:10:52 It never did for me Jun 22 18:12:05 link to download updated sdk tools? Jun 22 18:15:21 can I use an overflow menu to select between fragments? Jun 22 18:15:41 If I do so, I would still extend fragmentActivity, correct? Jun 22 18:17:25 g00s where do i download the updated sdk tools Jun 22 18:17:32 its failing to install it Jun 22 18:27:22 jamesson time to read the design guidelines :) Jun 22 18:27:33 use ActionBar for Actions Jun 22 18:27:42 overflow Actions in Overflow menu Jun 22 18:27:45 g00s: not my idea. Client request :/ Jun 22 18:28:01 Error:The SDK Build Tools revision (19.0.3) is too low for project ':lawrevision'. Minimum required is 19.1.0 Jun 22 18:28:05 use tabs / nav drawer / viewpager for switching between fragments Jun 22 18:28:07 i just updated it via sdk manager Jun 22 18:28:08 :\ Jun 22 18:28:20 stilll gives me that message Jun 22 18:28:38 g00s: again, nto my idea. I mplemented standard tabviewer. client was ddispleased. Jun 22 18:28:39 jamesson are you the expert or client? punch him Jun 22 18:29:11 g00s: client is ee with 15+ years experience. Nobody is looking at him funny, much less punching him Jun 22 18:29:52 allright then, do what he says Jun 22 18:30:00 heh Jun 22 18:30:01 need help with updating sdk Jun 22 18:32:04 g00s: but, am I still implementing fragmentactivity? Jun 22 18:32:24 dunno, using the support library ? Jun 22 18:32:53 g00s: yes Jun 22 18:32:56 g00s where can i get updated sdk tools Jun 22 18:33:00 Error:The SDK Build Tools revision (19.0.3) is too low for project ':lawrevision'. Minimum required is 19.1.0 Jun 22 18:33:04 jamesson then i guess so :) Jun 22 18:33:14 g00s: ty Jun 22 18:33:24 DarkChaoz then download it from the sdk manager ? Jun 22 18:33:38 pretty sure i did Jun 22 18:33:46 now the sdk manager wont even open up Jun 22 18:34:41 yeah sdk now broken Jun 22 18:35:16 DarkChaoz: did you check your javapath? Jun 22 18:35:48 DarkChaoz: what os? Jun 22 18:35:53 windows 7 Jun 22 18:37:17 DarkChaoz: do you know how to check your java path? If not, google it and do it. Make sure to rune "where java" before and after to see if it updated Jun 22 18:37:55 u mean where jdk is Jun 22 18:38:02 ik where that is Jun 22 18:39:08 no, google windows java path and stop assuming you know what Im talking about. In fact, I dont even know why youre here instead of googling "android sdk manager won't start". Jun 22 18:39:29 fine then. forget it Jun 22 18:40:07 * jamesson is lazy too, but I try not to be quite that lazy Jun 22 18:40:19 Doesnt always work, but I try Jun 22 18:40:23 Finally. Jun 22 18:45:00 screw it Jun 22 18:45:04 not using AS Jun 22 18:45:21 good choice Jun 22 18:45:29 why did you want to use it in the first place? Jun 22 18:46:21 because people saying its better than eclipse Jun 22 18:46:46 that's what you get for following the herd Jun 22 18:47:07 the heck is as? Jun 22 18:47:15 android studio? Jun 22 18:47:30 AFAIK that hasnt even gotten an official release yet Jun 22 18:47:35 ^^ Jun 22 18:47:51 android studio is for people who are highly experienced android developers Jun 22 18:47:54 need to install gradle on eclipse Jun 22 18:48:01 again, why? Jun 22 18:48:04 but anyway, who the fuck does development on the latest version of anything? Jun 22 18:48:16 Lol... Jun 22 18:48:20 all i ever see on here is people having the craziest gradle problems Jun 22 18:48:27 This conversation amuses me Jun 22 18:48:33 * frankdrey uses plain IntelliJ Jun 22 18:48:38 if you can't name 3 specific reasons to use gradle instead of eclipse with ant, then don't Jun 22 18:48:45 because i need to install markdownj for my app? Jun 22 18:48:45 Im not the sharpest crayon in the box myself, but I even know better than that Jun 22 18:48:48 And if you can't find your java path... Jun 22 18:48:55 frankdrey: zactly Jun 22 18:49:20 Can you devour apklibs with ant? Jun 22 18:49:22 there's a lot of different markdown viewers and converters Jun 22 18:49:40 frankdrey: unfortunately I cant really think of another dev channel here where you would get that king of obstinacy Jun 22 18:49:46 *kind Jun 22 18:50:00 fuck this, I'll figure it out myself Jun 22 18:50:42 Wise choice :) Jun 22 18:50:50 Always good to learn something Jun 22 18:52:40 jamesson, also, doing development on the latest version is fine...but AS is in alpha (or beta now?) Jun 22 18:54:25 frankdrey: Well, there is the alpoha, then there is the latest update, then there is the latest numbered version. IMO in a professional environment you should run one numbered version behind just for financial reasons, but thats a personal preference. At any rate, I would never automatically install updates on anything the minute they come out. Jun 22 18:55:12 and I would never buy a numbered version before there is one service pack Jun 22 18:55:13 Eh, never had any problems with the latest intellij Jun 22 18:55:28 I guess it depends on how good your source is Jun 22 18:55:33 frankdrey: yeah, but that's in what? v15 now? Jun 22 18:55:39 and its open source afaik Jun 22 18:55:56 14 I think Jun 22 18:56:08 goes to show, even the only hard rule is more like aguideline Jun 22 19:02:58 Hey, I'm trying to record some audio and save it. The recording and saving is not a problem, the thing is, it seems like it's being saved as a video file (it cannot be opened in the standard music player, only in video players). Have I missed something: http://pastebin.com/vQaErTfu ? Jun 22 19:11:14 New version of Android AsyncHttpClient was released, https://github.com/loopj/android-async-http/blob/master/CHANGELOG.md Jun 22 19:20:55 there are a ton of reasons to use gradle over eclipse Jun 22 19:21:14 and Android studio is infinitely better than eclipse Jun 22 19:34:18 is there some sort of 'call API' that can allow me to attach my own voice streams to OS's call UI? say if i had my own voip solution Jun 22 19:34:37 yes Jun 22 19:34:53 what's it called? Jun 22 19:35:09 http://developer.android.com/guide/topics/connectivity/sip.html Jun 22 19:35:13 thanks Jun 22 19:35:16 http://developer.android.com/reference/android/net/sip/SipAudioCall.html Jun 22 19:35:20 http://developer.android.com/reference/android/net/sip/SipManager.html Jun 22 19:35:27 should put you in the right direction Jun 22 19:41:56 Mr napalm... zappennin Jun 22 19:42:07 yus Jun 22 19:42:52 * jamesson feels a burning sensation Jun 22 19:43:04 thanks everyone, dont forget to tip your waitresses Jun 22 19:57:39 hi Jun 22 19:58:28 is this the truth that the ADT requires jdk 1.6 ? and it's not compatible with jdk 1.7 + Jun 22 19:58:41 no Jun 22 19:59:03 i have it working with 1.7 Jun 22 19:59:04 hi, i am trying to compile redphone from source and I am getting peer not authenticated from maven. i can access the url from chromium with no problems. what is causing this?> Jun 22 20:04:31 Napalm, well my adt behaves strangely, when I create a project, at the end, when I clic the Finish button, it doesnt close the window, Jun 22 20:04:55 the project is created but it contains lot of error Jun 22 20:05:24 then fix the errors Jun 22 20:06:39 pfn, hmm you find it normal to create a project from the template comes with adt then you got lot of errors Jun 22 20:06:41 ? Jun 22 20:07:08 I don't use adt Jun 22 20:07:31 I use android create project Jun 22 20:08:05 I dont have these on my macbook with jdk 1.6, but I just got a Windows based workstation, and need to install adt on it Jun 22 20:08:38 it comes with jdk 1.7 Jun 22 20:13:09 zoraj: so far adt has always worked for me with the current 1.7 java from oracle, on both windows and linux Jun 22 20:13:34 tho i haven't tried any significant apps yet Jun 22 20:15:08 myke, ok thx, it must be something else Jun 22 20:16:33 The Android Gradle plugin's provided scope is the same as optional in Maven right? Jun 22 20:19:41 how do I switch the visible fragment without the viewPager? Jun 22 20:22:14 f2prateek, no, it's provided Jun 22 20:23:09 so is there anything to define optional dependencies? Jun 22 20:23:13 jamesson read about fragment transactions Jun 22 20:23:39 g00s: so it is through the fragment manager? Jun 22 20:25:47 anyone using android with couchdb... what's the recommended libraries? Jun 22 20:27:34 hi there, is there an onoff switch for sdk < 14? maybe some open source software ? i didn't find one Jun 22 20:28:11 on/off switch? Jun 22 20:28:19 a toggle button Jun 22 20:28:24 To test my layout I want to try on some different AVDs. I want to support mini, medium and large sizes, tablets maybe but there is no sim for tablets is there? Jun 22 20:28:32 what do you want to toggle? Jun 22 20:28:34 what sizes /dpis should I go for? Jun 22 20:28:34 like "switch" in androdid 14+ Jun 22 20:28:47 smart1: Try googling "android switch backport" Jun 22 20:28:54 you can check in code if its sdk > 14 if you mean that Jun 22 20:29:28 thx SimonVT , exactly what i was looking for Jun 22 20:31:04 whta is the lowest ram device? Jun 22 20:35:21 roth_philip: have you taken a look at this? http://developer.android.com/about/dashboards/index.html Jun 22 20:39:48 Thorbear: ty. can you explain the table with small to xlarge and then ldpi to xxhdpi? can a normal screen have a high hdpi? i thought xxhdpi=xlarge screen? Jun 22 20:40:42 no, that's why android has device-independent pixels Jun 22 20:40:52 you can have a high dpi screen that's physically small Jun 22 20:41:07 there's an ultra-high-end android phone with a 473 dpi screen Jun 22 20:41:18 roth_philip: dpi has to do with pixel density, small-xlarge means screen size. a 10" screen with the same resolution as a 4" screen has different pixel density Jun 22 20:48:47 i c Jun 22 20:49:47 seems very complicated. if i have a bckground image, how many verions of it wuld i need to support all screensizes and densities? Jun 22 20:50:14 I will skip tablets for now so my design should work on all phones. Jun 22 20:50:46 1 to 4 Jun 22 20:54:05 roth_philip: Generally you only need to worry about densities for images, low density screens can use low resolution images, high density screens use high resolution images Jun 22 20:54:12 if you're trying to get elements within your background image to line up with active ui elements, you're gonna have a bad time Jun 22 20:54:17 Hey, anyone can make sense out of W/AudioTrack﹕ releaseBuffer() track 0x7589f550 name=s:210;n:1;f:-1 disabled due to previous underrun, restarting? I just need a clue/hint too look at. :/ Jun 22 20:59:06 F*CK updates! http://stackoverflow.com/a/20497848/1768238 Jun 22 20:59:55 I've been trying to solve this for hours and I really need to fix it... ¦( Jun 22 21:00:57 can't allocate the audio buffer yourself with a given size? Jun 22 21:01:49 myke: I'm trying. I just don't like them breaking such stuff... You'd assume they'd test. :/ Jun 22 21:02:15 Can you change the name of an app after it has been released? Jun 22 21:02:42 roth_philip: AFAIK not. Jun 22 21:02:49 Wait... Jun 22 21:03:02 You can change the name, I think, but not the package name. Jun 22 21:03:44 flan3002 its not updates, its a bad software culture with shitty qa, and crappy design Jun 22 21:04:20 keep in mind google is the company that made the idea "beta is as good as a released product" mainstream Jun 22 21:04:25 and that's exactly what you get with android Jun 22 21:04:26 g00s: Whatever it is, I don't like because it's critical. I need it to work tomorrow. :( Jun 22 21:04:57 flan3002 i understand, i'm in the same boat. basically, they fucked up bluetooth in 4.4 and the OEM has on their website, don't use our product with android Jun 22 21:05:03 so how do you think that affects me :D Jun 22 21:05:17 * flan3002 shakes his head. Jun 22 21:05:20 Awful... Jun 22 21:05:37 myke: You'd think just multiplying the buffer size by 3 would solve it... Jun 22 21:06:41 Anyone know if there are rows containing duplicate contact_id in the rawcontacts table? Jun 22 21:10:12 Every deployment of my app kills my launcher. What the .... am I doing wrong today... Jun 22 21:13:17 Does anyone of you ever use the emulator, it drives me insane, always some problem with it and it is superslow. Jun 22 21:13:29 I do. Use HAXM! Jun 22 21:13:41 Faster than the real thing... Jun 22 21:18:01 http://lpaste.net/106100 <- does that mean it is never gonna start? hwo long can launching the emulator take, i have been waiting 5 min now... Jun 22 21:19:09 anyone knows what exactly PostCaptureAnalyzerService wakelock does? (was advised to ask here instead of #android) Jun 22 21:19:24 I've been waiting half an hour on really slow PC without HAXM, roth_philip. Jun 22 21:19:34 roth_philip: You should really use HAXM. Now! Jun 22 21:20:00 And yes, the software renderer will be slow. Jun 22 21:20:37 What are you wondering about? ARM, Software graphics, 32 MB RAM... Jun 22 21:21:03 Oh, it 512 now... Jun 22 21:29:43 http://www.123rf.com/photo_12108122_soccer-design-element-green-background.html?term=world%20cup <- would those sizes be enough for all phones? Jun 22 21:30:17 72 or 300 dpi? i have no clue how to think about this? Jun 22 21:33:47 hi guys Jun 22 21:35:17 is there any way to change this date format: "2014-05-13 18:42:11 UTC" to this: "2014-06-21T09:23:21Z" in an easy way? Jun 22 21:45:56 What would you say is the most Android'ish way to show there is no network connection? Toasting? Jun 22 21:46:35 or android bar? Jun 22 21:46:44 action bar* Jun 22 21:46:50 sorry, not android dev yet Jun 22 21:47:40 crashing with a black screen and locking up the device for a minute Jun 22 21:47:48 lol Jun 22 21:47:53 platzhirsch: look how gmail do it - go into flight mode and try to do the pull/refresh thing Jun 22 21:48:12 BSOD! Jun 22 21:48:13 bankai_au: yes, I did some research, also looked into Gmail :) Jun 22 21:48:20 toast + integrated retry button Jun 22 21:50:57 platzhirsch what i sometimes see is an empty view with a 'retry' button Jun 22 21:51:06 i guess if you don't have anything yet to show Jun 22 21:51:07 g00s, I disagree with your assessment once again, without a specific need to test special conditions, how do you think QA will catch this, do you always ship bug free code? you're certainly underpaid if you do Jun 22 21:52:00 pfn they probably would not catch it; yeah. QA axion #1: you can't test quality into a product; so android being what it is Jun 22 21:52:09 yeah Jun 22 21:52:57 but this should have been caught http://stackoverflow.com/questions/20470335/permanent-audio-stutter-on-lge-nexus-4-with-the-deezer-android-sdk/20497848#20497848 Jun 22 21:53:16 I really don't understand why you even bother with android at all Jun 22 21:53:32 well, its like Java EE, its hard to love, but sometimes gotta use it Jun 22 21:53:35 all you are is negative Jun 22 21:54:00 never part of the solution, always the problem Jun 22 21:57:08 deezer sdk misbehaved on a new version of Android, do all audio apps? Jun 22 21:57:12 no Jun 22 21:58:03 you really can't expect devs and QA to test every sdk in existence Jun 22 21:58:49 the biggest problem with android is the lack of timely os updates, not the engineering or QA processes Jun 22 21:58:49 pfn well, as usual you're like over an hour late to the conversation. i'm mostly impacted by BT issues in 4.4 still Jun 22 21:59:07 but we were talking about that bug also Jun 22 21:59:49 file a bug, bring it up with google people every opportunity you get Jun 22 21:59:59 or better, write a fix Jun 22 22:00:14 and submit a patch, if it's that important to you Jun 22 22:00:37 neither I or the OEM has been able to isolate it Jun 22 22:02:36 its either firmware or deeper in the bluetooth stack (the stuff bluez replaced) Jun 22 22:02:50 bugs have been filed. al we can do is wait basically Jun 22 22:02:54 is there any way to change this date format: "2014-05-13 18:42:11 UTC" to this: "2014-06-21T09:23:21Z" in an easy way? Jun 22 22:07:36 Hi Jun 22 22:09:05 I am registering a BroadcastReceiver using my AndroidManifest.xml. The issue is, my BroadcastReceiver is completely re-created every time a new broadcast is received (it's constructor is called). Is there anything I can do about this? Jun 22 22:15:01 Any movement from Google on a fix for removable storage? Ext3 support would be nice... Jun 22 22:19:57 Hello Jun 22 22:21:07 Hi Jun 22 22:22:07 Since KitKat, I can't really use my 64gb microSD to store and move around (much less edit) media anymore. They've crippled my File Explorer, Document Editor, Video Editor, Audio Editor, and shared folders, all with one update! Jun 22 22:22:12 DarkChaoz: hey, did you install AS? Jun 22 22:22:30 I did but not gunna use it. Jun 22 22:22:35 For few reasons Jun 22 22:22:41 Is it possible for ListView child view to strech to all remaining space? Jun 22 22:22:45 x12: isn't that the way it's supposed to work? if you need something persistent you could always run a service that receives runnables or whatever from it Jun 22 22:23:00 I'll stick to eclipse until its at v1 Jun 22 22:23:16 DarkChaoz: what reasons? Jun 22 22:23:18 ProphetZarquon: sadly, this is on purpose :/ Jun 22 22:23:25 DarkChaoz: good choice Jun 22 22:23:44 I hate eclipse, no particular reason Jun 22 22:23:52 everyone does Jun 22 22:24:07 :D Jun 22 22:24:13 For me it uses hell alot of ram 5gb, sdk not loading up, sdk tools not installing Jun 22 22:24:13 being an old guy now i have some insight on this Jun 22 22:24:21 bankai_au o come on :D Jun 22 22:24:25 take any activity popular with young men - coding, snowboarding, music, doesn't matter Jun 22 22:24:34 invariably there will be a mainstream thing, and an alternative Jun 22 22:24:37 DarkChaoz: those (except the ram usage) is not AS problem but yours Jun 22 22:24:40 Yeah as is kinda slow Jun 22 22:24:44 IntelliJ > AS > Eclipse Jun 22 22:24:48 and well, java IDE will be memory hog all day long Jun 22 22:24:53 AS is just intellij Jun 22 22:24:55 the people will always gravitate toward the "cool" thing because it's perceived to be superior, regardless of any credible reasons Jun 22 22:25:07 that jfrog survey the other day showed still more eclipse users than anything else Jun 22 22:25:13 jrabbit, jtoad whatever Jun 22 22:25:14 I run IntelliJ fine on my 2GB ram shit laptop Jun 22 22:25:28 People use eclipse because they've been told "industry standard" Jun 22 22:25:33 Nah im sure its an issue with it Jun 22 22:25:44 works for everybody but you :P Jun 22 22:25:48 that is a sign heh Jun 22 22:25:54 frankdrey: well that's true, it is still the official dev system for android Jun 22 22:25:55 It hates me lol Jun 22 22:25:58 I think Eclipse is a lot slower in my experience, and IntelliJ is fucking sexy Jun 22 22:26:02 Eclipse is kinda decent Jun 22 22:26:04 http://blog.sonatype.com/2014/06/rebellabs_survey_nexus/ Jun 22 22:26:12 myke: So... Seems like Samsung, SanDisk, anyone invested in microSD and everyone who develops File Managers, download tools, editors and network tools for Android owes Google a class-action lawsuit then? Jun 22 22:26:13 oops, thats was sonatype Jun 22 22:26:30 Need to delete android studio tomorrow Jun 22 22:26:31 IntelliJ has worked fine with Eclipse library projects I've thrown at it Jun 22 22:26:37 And remove that jdk Jun 22 22:26:46 the nice thing about eclipse is i can also use it for C++ and other things Jun 22 22:26:51 Oh, plus IntelliJ's awesome...intelligence :D Jun 22 22:26:59 myke: I just read up on the process flow of it, I didn't know that was how it worked Jun 22 22:27:03 myke: Thanks for the help! Jun 22 22:27:18 x12: no problem, those docs are crucial, they contain the workflows directly from the developers Jun 22 22:27:24 it's the first place to learn Jun 22 22:27:27 So what apps u guys making Jun 22 22:27:44 Its a secret Jun 22 22:27:55 lol Jun 22 22:28:07 yeah DarkChaoz what are U making XD XD XD Jun 22 22:28:11 same here :p Jun 22 22:28:25 there are so many secret apps on Play, hard to find them Jun 22 22:28:26 Simple law revison app :) Jun 22 22:28:44 I finished my a-levels last week Jun 22 22:28:44 I am just reading the wrong named "Android for busy developers" Jun 22 22:28:46 It won't be secret in...2-3 months?:p Jun 22 22:29:02 Law exam was pain in the ass Jun 22 22:29:10 I mean it seems like users want removable microSD, and hardware vendors are supplying it, but Google hates local storage because they can track the "cloud" more easily; isn't this grounds for a lawsuit? This is demonstrably unfair practices on very shaky ground from the standpoint of a supposed "security" change. Jun 22 22:29:17 So im making an apo to help next year studentd Jun 22 22:29:31 i can't really deal with these new-school editors that are ceaselessly popping up things and typing in things for you Jun 22 22:29:39 didn't like it in my first uni programming class and i still don't Jun 22 22:29:49 loo Jun 22 22:29:50 why? Jun 22 22:29:53 *lol Jun 22 22:30:12 myke is too 1337 for them Jun 22 22:30:21 because it completely screws up my flow. it would be ok if i could tab to accept everything, but that's not how it works. i need to go to end of line to get past the ) that was just autoadded Jun 22 22:30:35 for example Jun 22 22:30:44 IntelliJ only does it if you tab... Jun 22 22:30:58 My friends app got taken down off google play Jun 22 22:31:02 oh, misunderstood Jun 22 22:31:14 It was on the store for less than 4 months Jun 22 22:31:17 I hate those popup that hides your input Jun 22 22:31:25 There's an end button on your keyboard :p Jun 22 22:31:28 i should probably check out intellij Jun 22 22:31:43 My only mobile app (WP one) was also taken down Jun 22 22:31:56 How come Jun 22 22:32:00 oh oh Jun 22 22:32:01 both eclipse and sublime work that way and it irritates me nearly as much as the edit/command modality of vi Jun 22 22:32:14 it was about pomodoro technique (a productivity technique) Jun 22 22:32:17 myke pretty use you can turn this off in all IDEs :) Jun 22 22:32:31 Uploading to play is just hassle tbh :l Jun 22 22:32:31 so the pomodoro creator asked microsoft to take down all the apps with "pomodoro" on any part of it Jun 22 22:32:46 the right way to promote your technique, you know Jun 22 22:32:51 Foxandxss call it p0m0d0r0 Jun 22 22:32:52 They'll do anything to remove those low quality apps Jun 22 22:33:03 They find a reason to take it down Jun 22 22:33:10 g00s_: it was just in the description, but meh, I Am not a WP dev anymore, so it can go to hell Jun 22 22:33:28 google play is the less restrictive one DarkChaoz Jun 22 22:33:32 that's better than King successfully getting any games with "Saga" in their name removed Jun 22 22:33:44 Foxandxss i'm waiting for 8.1 update; I like 8.0 but it needs a few things to catch up to android / ios Jun 22 22:33:45 How o.O Jun 22 22:34:02 My friend's app was a pokemon pokedex/mapdex Jun 22 22:34:03 myke: A bit of a different question. I'm acting upon intents from a music app, and converting them to a different intent before broadcasting them. To do this, I need to save the most recent one, incase the next intent from the music app does not contain the value. Should I use a Service with a BroadcastReceiver, or just a BroadcastReceiver and SharedPreferences to hold the data? Jun 22 22:34:08 g00s_: I didn't check them, WP7 was abandoned, that fucked me up Jun 22 22:34:13 Sorry for the wall of text. Jun 22 22:34:22 It was taken down assuming copyright infringment Jun 22 22:35:03 DarkChaoz: that is understandable Jun 22 22:35:20 Foxandxss well the other day somebody had their App taken down because (official reason) 'keyword spammin' when al; he did was copy verbatim the legalese required by the other company Jun 22 22:35:26 so, we're all just renters Jun 22 22:35:37 x12: that seems kind of messed up, and i don't know your whole scenario, but i guess i would used just a service without shared prefs, and have the service keep track of what intents it needs to issue Jun 22 22:35:38 in his case, it wasn't even a human that judged it :) Jun 22 22:35:45 g00s_: on google play? Jun 22 22:35:49 Foxandxss yes Jun 22 22:35:54 lol if google takes down my app... Jun 22 22:35:55 I see Jun 22 22:36:07 I have seen so many actual keyword spamming apps... Jun 22 22:36:07 * DarkChaoz takes legal action... Jun 22 22:36:10 Still up Jun 22 22:36:31 there are much crap on the store that is still there Jun 22 22:36:34 are* Jun 22 22:36:48 Tbh you dont really need to upload there Jun 22 22:36:59 I'm gonna have to Jun 22 22:37:08 My app uses Google play services Jun 22 22:37:14 Its only for people to download app from s trusted source Jun 22 22:37:15 myke: I'm trying to fix how messed up Spotify is. It only emits it's own intents about song changing, instead of the com.android.music ones. This means that most apps (and my Pebble watch) won't pick it up and show the song information. Jun 22 22:37:27 I am not even sure I am going to create any android app anyway heh Jun 22 22:37:32 Foxandxss an analysis I read last week showed 25% of the apps on Play are just duplicates of each other Jun 22 22:37:34 I do web Jun 22 22:37:51 like, they have the package name changed Jun 22 22:37:53 hehe Jun 22 22:37:54 Prime example: flappy bird Jun 22 22:38:41 yeah, people wanting their share of money Jun 22 22:39:35 App market has potiental but as g00s said there are alot of apps duplicates Jun 22 22:39:47 How humanity is greedy Jun 22 22:39:57 people says that iOS one is better, but meh Jun 22 22:40:00 I find android-dev fun Jun 22 22:40:10 Im new to android dev Jun 22 22:40:23 me also, I am just reading a book Jun 22 22:40:28 And java, im expanding my programming skills Jun 22 22:40:29 as curiosity Jun 22 22:40:49 I've seen iOS app duplicates Jun 22 22:41:11 How restrictive is ios? Jun 22 22:41:14 I've generally seen that useful apps are lower quality on iOS Jun 22 22:41:35 But fun apps are lower quality on android Jun 22 22:41:35 is cheaper to do android dev Jun 22 22:41:40 I like that Jun 22 22:41:50 Foxandxss only superfically Jun 22 22:41:57 what you mean? Jun 22 22:42:13 Yeah my friend who is part of a mobile development company, they make games on iOS Jun 22 22:42:13 I saw some cool tools but they are expensive Jun 22 22:42:32 its more complicated when you factor effort required to build across 4 versions of android and around those bugs Jun 22 22:42:38 They said its easier to make games on ios than on android Jun 22 22:42:45 right now, 4.0, 4.1, 4.2, 4.3 Jun 22 22:43:04 shouldn't care about < 4.0 Jun 22 22:43:15 lol why Jun 22 22:43:33 g00s_: yeah, but support libraries, gradle, those stuff is making that problem less troublesome Jun 22 22:43:44 Depends on what you're doing Jun 22 22:44:10 Oh yeah found a better markdown thing Jun 22 22:44:28 Without need to use gradle install crap Jun 22 22:44:34 Just one question Jun 22 22:44:51 How do i import referenced lib to an activity? Jun 22 22:45:14 gradle is absolutely superb Jun 22 22:45:21 ant is kinda... old? Jun 22 22:46:03 Meh Jun 22 22:46:09 android 4.0 was released on Act 19, 2011. so even if you are dealing with 4 versions of android, you are dealing with many many phones that have been put in the market from that point till now Jun 22 22:46:21 How would you name a layout file which is used to display no network connection, reload button etc. Jun 22 22:46:22 what prefix? Jun 22 22:46:27 I know that, if I end doing an app, api 14+ Jun 22 22:46:34 Foxandxss 15 Jun 22 22:46:35 not activity_ or item_ but… Jun 22 22:46:39 nobody has 14 any more :D Jun 22 22:46:46 g00s_: Oh, that is good to know Jun 22 22:46:57 Build target? Jun 22 22:47:24 no, minimum Jun 22 22:47:29 Ahh Jun 22 22:47:36 at the adoption rates I see now, on the dashboard, it seems each version of android is peaking at about 19-20% market share Jun 22 22:47:51 so you'll always have around 4 versions to deal with Jun 22 22:48:12 well, today the fragmentation is way less problematic that a couple of years ago Jun 22 22:48:12 I'd rather do from android 2.2 and up Jun 22 22:48:29 at least :) and plenty of devs - while not supporting 2.3 right now for a new project, still support those people for existing projects Jun 22 22:48:35 But depends purpose of app and audience Jun 22 22:48:38 DarkChaoz: knowing you from 30 minutes I know you're the kind of guy that doesn't accept suggestions :P Jun 22 22:48:47 which is not bad tho Jun 22 22:48:47 lol Jun 22 22:48:52 DarkChaoz remember, its not just android version, its the devices. tere were lots of shitty 2.2 devices Jun 22 22:49:02 so by ignoring 2.2, you ignore lots of shitty devices :) Jun 22 22:49:05 Yeah Jun 22 22:49:15 True Jun 22 22:49:47 But my app simple so i'd rather make it available from a lower api lvl Jun 22 22:50:01 yeah, famous last words ... Jun 22 22:50:05 Any advanced apps will be from 4.0 and up Jun 22 22:50:07 until you get bug reports from those people haha Jun 22 22:50:13 lol Jun 22 22:50:28 I am a web dev Jun 22 22:50:32 I don't support IE Jun 22 22:50:37 less shit to fix Jun 22 22:50:39 Inb4 remove app completely instead of fixing bugs :P Jun 22 22:50:48 Same fox Jun 22 22:50:59 Asp or php? Jun 22 22:51:03 Or both? Jun 22 22:51:06 neither Jun 22 22:51:10 lol Jun 22 22:51:18 Which lang? Jun 22 22:51:20 there are hell of options out there Jun 22 22:51:22 Javascript Jun 22 22:51:29 Cool Jun 22 22:51:31 frontend Jun 22 22:51:56 I usually code in PHP and use js occasionally Jun 22 22:52:23 Just diving into the mobile world Jun 22 22:52:39 yah, me too Jun 22 22:52:47 want to learn native, but also cordova Jun 22 22:53:01 Nice Jun 22 22:53:24 Probably i might learn c++ after i get the hang of things for android Jun 22 22:53:34 But thats long long long way away Jun 22 22:53:42 uh c++, no way Jun 22 22:53:58 lol Jun 22 22:54:19 I have enough with javascript and ruby for now Jun 22 22:54:30 I hope android moves to javascript heh :P Jun 22 22:54:39 lol Jun 22 22:55:16 i took a C++ class, i think i understand C++ less now than before i took it Jun 22 22:55:28 before I was happily clueless about all the crazy stuff in that language Jun 22 22:55:31 What if google decides to drop of java platform for android :/ Jun 22 22:55:46 Nd they create thier own programming crap Jun 22 22:56:03 they have dart Jun 22 22:56:07 which is a cool option for android Jun 22 22:56:08 for example, most languages satisfy themselves with one use of the const keyword. C++ has 5, and a completely different thing if you actually wanted a real constant that can't later be reverted back to something mutable Jun 22 22:56:45 O.o Jun 22 22:57:52 So whats c++ popular app Jun 22 22:58:00 what do you mean Jun 22 22:58:10 For web its fb, for mobile its flappy bird Jun 22 22:58:20 any game? Jun 22 22:58:21 I always wonder what would be for clients Jun 22 22:58:32 or KDE Jun 22 22:58:37 C++ underpins pretty much everything Jun 22 22:58:43 Nah i mean there is always one that really stands out Jun 22 22:58:52 I don't think anyone really knows c++ Jun 22 22:58:52 like Foxandxss said, any game Jun 22 22:58:56 ^^ Jun 22 22:58:58 Ahh Jun 22 22:58:59 and flappy bird is the mobile one? uh Jun 22 22:59:02 never tried it Jun 22 22:59:10 whatsapp is more famous than that Jun 22 22:59:12 there are few enough people who really know c :p Jun 22 22:59:24 lol Jun 22 22:59:30 Anyway im out peeps Jun 22 22:59:32 c and c++ has their use cases Jun 22 22:59:38 but not for me Jun 22 22:59:40 Phone battery about to die Jun 22 23:00:01 See y'all later Jun 22 23:00:32 I think we agree that Java is a pita :P Jun 22 23:07:19 Java a PITA? Jun 22 23:07:31 it's the easiest language I've ever used Jun 22 23:08:47 those are compatible :P Jun 22 23:08:50 in some degree Jun 22 23:09:18 they should just drop it for scala <3 Jun 22 23:09:51 just release a new sdk and go. And it can still run unter dalvik and stuff Jun 22 23:12:54 Chocolate cake, I'm dying D: Jun 22 23:33:31 Does the query method on a content resolver handle multi-valued selection args automatically? ie if my select statement is like RecordObject.Field_ID + " =?" i can simply pass new String[] { String.valueOf(id1), ... String.valueOf(id10) } and it'll select on all of those ids? Jun 22 23:49:26 why not use a high res image for all devices? what happens on a low res dvice? Jun 22 23:50:24 scaling Jun 22 23:50:34 maybe slow Jun 22 23:52:04 not all image will be shown? Jun 22 23:59:39 hello i cant get HttpMethodParams working i have to cast to abstractHttpClient in order to set the parms Jun 23 00:04:39 is 300 dpi enough for hdpi? or what is it? Jun 23 00:06:24 lasserix, it's basically sql, so no Jun 23 00:07:55 i'm painting an area with canvas and the color code i got from photoshop does not look the same as in my app. Am I using the wrong color depth perhaps? Jun 23 00:10:50 monitor calibration Jun 23 00:11:37 pfn, could you elaborate? Jun 23 00:13:13 the color looks the same (wrong) in android studio preview, a genymotion VM, and my physical note 2 phone. It only looks "correct" in photoshop Jun 23 00:13:57 hesperaux_: what are you using the get the colour from photoshop? Jun 23 00:14:04 I haven't done anything specific to calibrate photoshop for my monitor; but perhaps it did something automatically Jun 23 00:14:17 barbs, color picker, copying the 6-digit hex Jun 23 00:14:18 you should say so then, it's not monitor calibration Jun 23 00:15:03 how does the color not look correct, what exactly is the color Jun 23 00:15:20 I'm on Mac OS X, and I use colormeter to get colours from things, and it can display the RGB values as Generic RGB or Adobe RGB, so I think there's a difference there? Jun 23 00:15:24 you need to elaborate Jun 23 00:15:30 the color is a slightly desaturated/brightened cyan. On other screens, it looks to dark/saturated Jun 23 00:15:52 #33b5e5 Jun 23 00:16:20 CMYK: 66,9,2,0, RGB: 51,181,229, HSB: 196,78%,90% Jun 23 00:16:51 the PSD is in 8bit RBG mode Jun 23 00:16:58 go to colorpicker.com and plug those numbers in and see what you get Jun 23 00:17:53 pfn, ok - I believe it looks the same (wrong) on colorpicker.com Jun 23 00:18:09 then photos hop is wrong Jun 23 00:18:11 I expected it to look more like: #5ACFFA Jun 23 00:18:23 yeah I think you're right. lol wtf Jun 23 00:18:42 yeah, I think Adobe have their own RGB color scheme or something >< Jun 23 00:18:48 I wonder if you can change that in the photoshop settings? Jun 23 00:18:48 * hesperaux_ sighs Jun 23 00:18:52 I hate photoshop so much Jun 23 00:18:52 gonna check that now Jun 23 00:19:04 it's probably doing gamma adjustment and color space correction and all sorts of bullshit, especially on osx Jun 23 00:19:16 i'm using this on win7 right now Jun 23 00:19:21 but either way, i am pretty sure you're right Jun 23 00:19:27 that's...pretty annoying Jun 23 00:19:48 dunno about on windows, I don't use photoshop Jun 23 00:20:06 on OS X there's a little utility that will tell you the RGB value of the pixel your mouse is currently over...maybe find a similar utility for Windows? Jun 23 00:20:08 it's using RGC standard: sRGB IEC61966-2.1 Jun 23 00:20:13 that way you don't have to deal with photoshop's bullshit Jun 23 00:20:17 I don't design shit for print Jun 23 00:20:38 if I need an editor, I just use gimp Jun 23 00:20:47 barbs, well, I mocked up the thing in PS, but I suppose I can just grab the color of the rendered image from PS using a tool like you said Jun 23 00:20:53 gimp just drives me insane cuz of the UI Jun 23 00:20:59 paint.net is ok in a pinch Jun 23 00:21:10 or inkscape for vectors Jun 23 00:21:22 I don't do much with images, but I try to use gimp when I can. Better to learn a free alternative that I won't have to pirate or pay through the nose for Jun 23 00:21:43 pretty much my stance Jun 23 00:21:46 barbs, i agree. Too bad I've already learned PS Jun 23 00:21:57 i do follow that mantra for everything else that I learn though Jun 23 00:22:00 unfortunately it doesn't open all .psds, so I have to use Photoshop to view some of the stuff that I get from the UI guys Jun 23 00:22:06 I don't need any photoshop features, so it's off the list for me Jun 23 00:22:18 I have used a good amount of its features, but not for GUI design Jun 23 00:22:25 barbs, I hate that, it handles layers and paths poorly Jun 23 00:22:27 hesperaux_: yeah that sucks...I get laughed at by the UI guys for even having gimp installed Jun 23 00:22:48 but then their photoshop crashes for the 5th time in a row and I laugh at them Jun 23 00:22:49 i'm sure Jun 23 00:22:53 lol Jun 23 00:22:57 photoshop doesn't raelly crash for me Jun 23 00:23:02 it does use a crapton of ram and swap though Jun 23 00:23:11 it rarely crashes for me as well Jun 23 00:23:11 yeah I think they had too many psds open or something Jun 23 00:23:35 that'd do it Jun 23 00:23:37 16+gb of ram is enough to make sure most things don't run out Jun 23 00:23:44 i had a 12Kx12K image open in it once Jun 23 00:23:49 brush tool took about 5 seconds per stroke lol Jun 23 00:23:52 haha nice Jun 23 00:24:01 it eventually did crash Jun 23 00:24:30 I kinda want to add another 16gb to my box, dunno why, though Jun 23 00:24:41 * hesperaux_ uses all 16G Jun 23 00:24:56 I just hate how Adobe can get away with their crappy Adobe Cloud DRM bullshit, and charge an arm and a leg for their software, which is totally bloated Jun 23 00:25:01 i have at least 50-60 chrome tabs open all the time, along with tons of other crap Jun 23 00:25:14 barbs, it makes me sad :( Jun 23 00:25:15 hesperaux_: that's a lot of tabs!! Jun 23 00:25:22 i don't use bookmarks - i use tabs lol Jun 23 00:25:39 I use Google, and no bookmarks :p Jun 23 00:25:49 hehe Jun 23 00:25:52 haha! I don't like having too many tabs open...I feel like I'm lost in some kind of tab sea Jun 23 00:25:55 tabs help me remember shit that i need to do Jun 23 00:26:01 and yes, I also use GTasks Jun 23 00:26:15 when normal tabs start looking as thin as pinned tabs, I start to feel really uncomfortable, haha Jun 23 00:26:22 I hate having to many tabs because you can't see what tab is what once they get too small Jun 23 00:26:22 yeah, i think there are two kinds of people - too many tabs and almost none Jun 23 00:26:31 barbs, mine are only as wide as the close button Jun 23 00:26:38 * barbs shudders Jun 23 00:26:40 i have a general idea of their spatial location Jun 23 00:26:48 so i click one, then shift+tab around Jun 23 00:26:52 I let them get as small as the icon, so that they're still identifiable Jun 23 00:26:57 hesperaux_: stop, you're making me sick! Jun 23 00:26:58 i'm usually within +/- 2 tabs of accuracy Jun 23 00:27:00 lol Jun 23 00:27:06 tabseasick? Jun 23 00:27:13 :P Jun 23 00:27:25 don't have to click around, use omnibar to switch Jun 23 00:27:39 omnibar? Jun 23 00:27:53 * hesperaux_ learns from pfn Jun 23 00:27:55 type out part of the tab title and it'll offer it as a nav choice Jun 23 00:27:59 omg Jun 23 00:28:03 oh that's interesting Jun 23 00:28:13 it doesn't load it in the current tab? it switches tabs? Jun 23 00:28:46 i just tried it and it loads it again in the current tab. how do I enable this? Jun 23 00:28:55 it switches... hmm, maybe it's an extension, not sure Jun 23 00:29:11 nickalert me if you figure that out Jun 23 00:29:16 * hesperaux_ would like to utilize this feature Jun 23 00:29:35 https://chrome.google.com/webstore/detail/search-tab-in-chromes-omn/jcadgemecbojhfgpnbgakadhbmibflnd?hl=en Jun 23 00:29:54 I think I get that feature as part of vimium Jun 23 00:30:13 I've been meaning to get Vimium... Jun 23 00:30:34 I use IdeaVIM...only makes sense to have Vim controls in Chrome as well... Jun 23 00:30:36 Vimium? Jun 23 00:30:44 omg not vim Jun 23 00:30:57 mode errors mode errors mode errors Jun 23 00:30:58 haha, you're one of *those* people :P Jun 23 00:31:07 lol, i have to use it at work sometimes Jun 23 00:31:08 it's not quite as good as pentadactyl in Firefox, but it's relatively nice Jun 23 00:31:12 even on the command line Jun 23 00:31:21 as in using readline for kornshell Jun 23 00:31:30 vi keybindings > * Jun 23 00:31:36 disagreement Jun 23 00:31:41 agreement! Jun 23 00:31:47 i like CTRL+ style Jun 23 00:31:53 emacs fan? Jun 23 00:32:01 actually, i use only ctrl+d, ctrl+k, and ctrl+u on the command line Jun 23 00:32:07 and I use nano for basic edits Jun 23 00:32:09 only reason it's no good is if you use a non-qwerty like layout Jun 23 00:32:23 notepad++ for large code in script languages, and then other IDEs for other shit Jun 23 00:32:26 ctrl keys are pretty bad ergonomics Jun 23 00:32:37 i don't actually use many of them Jun 23 00:32:38 like 5 Jun 23 00:32:42 barbs, never used emacs Jun 23 00:32:48 IDEs for serious coding, vim for everything else :) Jun 23 00:32:53 i understand that is the main difference in the vi vs emacs argument though Jun 23 00:33:01 i like nano Jun 23 00:33:08 fair enough. use whatever works for you :) Jun 23 00:33:15 indeed Jun 23 00:33:29 btw, simple but super-useful chrome extension https://chrome.google.com/webstore/detail/android-sdk-search/hgcbffeicehlpmgmnhnkjbjoldkfhoin Jun 23 00:33:30 i like options, and people that choose from them Jun 23 00:33:41 damn, that is handy Jun 23 00:33:43 thanks for the tip Jun 23 00:33:51 i have never bothered to install any chrome extensions lol Jun 23 00:34:10 I have a bunch of extensions Jun 23 00:34:19 i only have a few Jun 23 00:34:58 I seem to remember having way more when I used firefox... Jun 23 00:36:09 yeah, i stopped using firefox except for webdev Jun 23 00:36:14 https://chrome.google.com/webstore/detail/chromeipass/ompiailgknfdndiefoaoiligalphfdae?hl=en Jun 23 00:36:48 my favorite extension, of course 😉 Jun 23 00:36:54 that brings up a point: anyone know of a good, actually secure password sync tool? preferably one where I could host the cloud aspect myself? Jun 23 00:37:15 keepass + google drive... Jun 23 00:37:27 nice, i could use Seafile then Jun 23 00:37:28 someone recommended lastpass to me? not sure if that's what you're looking for though... Jun 23 00:37:36 best solution for a Windows + android user Jun 23 00:37:38 btw, you guys should check out Seafile Jun 23 00:38:03 been using it to sync my code on my devices with my server Jun 23 00:38:32 seems interesting Jun 23 00:39:58 I use git to do that... Jun 23 00:40:43 Seafile is essentially the same thing Jun 23 00:40:48 but i don't have to think about it Jun 23 00:40:55 and it is appropriate for other types of data Jun 23 00:41:15 source should be managed in source control Jun 23 00:41:33 drive cam sync the rest for me Jun 23 00:41:50 tried that once - it was very obtrusive for me Jun 23 00:42:03 it does a lot more than just sync data Jun 23 00:42:10 (source control I mean) Jun 23 00:44:23 what I don't like about drive on android is that it doesn't give an easy way to replace files, so annoying Jun 23 00:53:20 barbs are you on mac ? Jun 23 00:53:34 yes Jun 23 00:53:54 have you looked at Sketch ? Jun 23 00:54:14 i tried it, and it had some stability issues 6mos ago maybe its better now Jun 23 00:54:21 or maybe it was hesperaux_ fighting PS Jun 23 00:54:33 * hesperaux_ emerges from the mud >_> Jun 23 00:54:36 <_< Jun 23 00:54:37 I haven't, thanks Jun 23 00:54:39 * hesperaux_ grunts Jun 23 00:54:46 Sketch? Jun 23 00:54:57 its in the app store, more a replacement for Ai Jun 23 00:54:58 http://bohemiancoding.com/sketch/features/ Jun 23 00:55:02 D: Jun 23 00:55:02 yeah Jun 23 00:55:04 i don't use mac anymore Jun 23 00:55:09 ah, k Jun 23 01:15:46 hi Jun 23 01:15:47 i want get user head to replace with cartoon character Jun 23 01:16:46 how can i overlay head placement to show user should match her head inside head image placement and just grab that part of image Jun 23 01:16:59 i don't want rectangular image Jun 23 01:17:51 i just want get head and replace user head inside cartoon character Jun 23 01:26:55 `/cl Jun 23 01:26:57 eh Jun 23 01:37:51 http://ruboto.org/images/ruboto_logo.png vs. http://microcosm.my03.com/wordpress/wp-content/uploads/Max.jpg Jun 23 01:37:57 ...just sayin' Jun 23 01:39:34 http://pastebin.com/yU0be9tD gives me Cannot format given Object as a Date Jun 23 01:40:44 what do I need to tell the FragmentManager to create the fragment without attaching/displaying it? Jun 23 01:41:20 and, how do I know that the fragment exists but is not being displayed? Jun 23 01:50:05 jamesson: http://microcosm.my03.com/wordpress/wp-content/uploads/Max.jpg Jun 23 01:50:16 err haha no Jun 23 01:50:19 http://stackoverflow.com/questions/19992309/how-can-i-declare-a-fragment-as-hidden-in-an-xml-layout Jun 23 02:25:33 Volantis, HTC's 9 inch … nexus tablet ? Jun 23 02:44:17 any stock galaxy s3 or s4 users here that would be willing to test something for me? Jun 23 02:50:46 Hi Jun 23 02:54:17 hi Jun 23 02:56:27 The following classes could not be instantiated: Jun 23 02:56:27 - com.qfsfce.etsutb191331.AdView (Open Class, Show Error Log) Jun 23 02:56:27 See the Error Log (Window > Show View) for more details. Jun 23 02:56:27 Tip: Use View.isInEditMode() in your custom views to skip code when shown in Ecli Jun 23 02:56:56 pse Jun 23 02:57:19 i don't know what is this error Jun 23 02:57:31 i have do all things correctly **** ENDING LOGGING AT Mon Jun 23 02:59:58 2014