**** BEGIN LOGGING AT Mon Oct 07 02:59:58 2013 Oct 07 03:40:54 g00s: no, no, you see, the java way evolves into a complex network of XML configuration files, Class loaders, and FactoryFactories Oct 07 03:42:03 java sucks. anyone with a tablet test my game. Oct 07 03:53:29 JimmyCarter i wonder these days, how well android is doing in the tablet area. Oct 07 03:54:02 i think much better than when the 1st gen Nexus 7 was released Oct 07 03:54:46 dunno Oct 07 03:59:37 I hope lots of tablets sell for Christmas Oct 07 04:01:09 i also wonder if google will shift focus to ChromeOS for tablets. just a weird tingle i feel Oct 07 04:01:31 chrometablet Oct 07 04:11:07 Do you guys use different keys for each app you release just in case you transfer rights for it over to someone else? Oct 07 04:13:35 i think thats a good idea Oct 07 05:44:28 hello all Oct 07 05:45:06 in my app, I'm sending SMS via SmsManager, but I've noticed that about 48% of the messages were not going out Oct 07 05:45:11 anyone knows why? Oct 07 05:47:25 haha you don't break a switch with return, you break with break. been going crazy for an hour now Oct 07 05:48:39 wut? Oct 07 05:49:08 my java sucks, but my app is coming together nicely... Oct 07 05:52:08 zmuser3: can I recommend learning the language before attempts to write an app? Oct 07 05:52:47 what better way to learn it... Oct 07 05:53:08 guys, I have a fragmentstatepageradapter and I need to update a variable in each of the fields when the screen rotates from portrait to horizontal. Does anyone know how to get the fragments that are active? Oct 07 05:53:16 to landscape ** Oct 07 06:05:26 BIATCHES! Oct 07 06:12:06 BIATCH Oct 07 06:12:44 you little csharp bitch you Oct 07 06:14:05 stop bitching, you bitch Oct 07 06:14:21 its what I do best Oct 07 06:14:44 bitch. Oct 07 06:14:53 unfortunately breaking bad is over :( Oct 07 06:15:40 and dexter Oct 07 06:18:00 and ray donovan Oct 07 06:18:04 well at least until next season Oct 07 06:55:12 Is there any way to do any code or log to file if your app crashes(stacktrace)? Oct 07 06:57:24 adb logcat Oct 07 06:59:12 I was thinking more like the app sending a message to a webservice so we can log the error remotely Oct 07 07:01:43 Onack, https://developers.google.com/analytics/devguides/collection/android/v3/exceptions Oct 07 07:01:53 https://github.com/ACRA/acra Oct 07 07:02:09 acra looks nice, thanks Oct 07 07:03:15 dont like acra Oct 07 07:03:25 nevermind Oct 07 07:03:32 I was thinking of another lib =) Oct 07 07:03:50 https://code.google.com/p/android-remote-stacktrace/ Oct 07 07:03:54 I am using this Oct 07 07:04:00 works great Oct 07 07:04:08 acra sucks :) Oct 07 07:04:17 didn't like it at all Oct 07 07:04:19 I actualluy like acra Oct 07 07:04:26 I just dont like what I used on the other end =) Oct 07 07:12:13 does the @+id stuff bug out sometimes when you move the layout around? this thing is suddenly trying to write text to the buttons instead of the textviews Oct 07 07:13:46 zmuser3, what IDE? Oct 07 07:13:51 eclipse Oct 07 07:13:54 then yes Oct 07 07:13:56 yes it does Oct 07 07:14:00 ouch heh Oct 07 07:14:08 clean project Oct 07 07:14:13 wow ok Oct 07 07:14:36 well, it probably bugs out on other IDEs too, but I didn't use other IDEs so I don't really know Oct 07 07:14:47 whew this was making me crazy Oct 07 07:14:50 if there's ever any issue with resources, clean clean clean Oct 07 07:14:55 ok good to know thanks Oct 07 07:15:10 if you're not in a hurry and you don't mind your builds taking 5 times as long, always clean :) Oct 07 08:12:36 i'm pretty amazed the luma 521 is so cheap off contract in the US ($144) how the heck Oct 07 08:13:56 memory slot, removable battery .. stuff i can't even get from a nexus Oct 07 08:27:49 weell this is interesting Oct 07 08:28:03 oh, never mind maybe Oct 07 08:28:07 sadly though, it runs windows mobile Oct 07 08:28:32 i had a play with it at lunch today and it's pretty dicey Oct 07 08:28:56 there's a lot of little scrolling a touch things that make it really unplesant to use Oct 07 08:30:05 although, i do like that parallax scrolling backgrounds an titles thing when moving between screens of the same app Oct 07 08:31:41 i like WP so i may break down for this Oct 07 08:40:52 Hi all, what's the name of the library for getting the new google play store layout? (tab) Oct 07 08:48:45 found it Oct 07 08:49:43 FrancescoV what was it ? Oct 07 08:50:13 g00s: https://github.com/astuetz/PagerSlidingTabStrip Oct 07 08:50:34 oh , thought you were looking for that staggered gridview Oct 07 08:51:31 no :) Oct 07 09:05:33 Is anyone able to work with me later today in a simple android project? Oct 07 09:07:23 what do we gain with your project? Oct 07 09:07:42 money :D Oct 07 09:07:58 Rajni, what kind of project? Oct 07 09:08:12 what kind of project and give more decription.. Oct 07 09:08:57 a facebook clone ! Oct 07 09:09:12 and where are you with this project… any design, prototypes or just an idea? Oct 07 09:09:50 It's a simple project that only have 3 pages -> landing page, object listing and voice input Oct 07 09:10:08 oh only that. Oct 07 09:10:14 sounds very easy Oct 07 09:10:20 but more info please Oct 07 09:10:23 The data will be hardcoded, i just need to display it in a grid and use voice input to make a search Oct 07 09:11:15 You enter the application you have a landing page with action bar with 3 options -> videogame listing, search by voice and search Oct 07 09:12:09 when you are in the videogame listing, the list is like a 2 column grid, every videogame has title, image,short description..and when you tap on it u do inside the videogame page Oct 07 09:12:47 it's a pretty simple version of the app, i just need some1 to guide me as it's my first android project and i'm alone in this project Oct 07 09:13:54 what do you think? anyone interested? Oct 07 09:13:56 :) Oct 07 09:14:06 why do you think we would join with you and how much do you think we would earn? Oct 07 09:14:48 'search by voice' could be tricky Oct 07 09:15:09 the hardest part in your app is the voice recognition Oct 07 09:15:10 ya Oct 07 09:15:14 It's a simple project, first of all. Everything should be easy for some1 who have already coded for android. Just the voice recognition think should be a bit harder but android have already mechanisms to work with that Oct 07 09:15:23 anyway you can use the voice recognition which is part of the sdk Oct 07 09:15:35 but i doubt it that it is not that very very good Oct 07 09:15:36 lol Oct 07 09:15:43 it's not really voice recognition, it's an acessibility tool.. Oct 07 09:15:57 instead of typing you just say the words Oct 07 09:16:06 Yes android has it already Oct 07 09:16:15 Rajni: again, are you looking for advice, or for specific help, or for someone to actually write code for/with you? Oct 07 09:16:50 this is just an idea at first right? Oct 07 09:17:50 Leeds i need guidance and help in case of something i can't code Oct 07 09:18:26 broody yes, it's an idea but dont mind about the design or things like that Oct 07 09:18:54 Rajni: and you have no experience on Android? how about Java? Oct 07 09:19:14 Leeds i have little experience on Android, but i code java for years Oct 07 09:19:26 oh well, at least that's something Oct 07 09:21:30 if i were going to do the app, what contribution will you bring in ? Oct 07 09:21:39 I need someone to point me out into the right direction, like "ok i now have to make a listing of this objects" - "ok now you create an intent and passin all the objects etc etc etc" Oct 07 09:23:38 broody we can discuss that Oct 07 09:23:56 Rajni: where is the data coming from? Oct 07 09:24:17 also, how much code have you actually written so far? Oct 07 09:24:56 The data will be plain objects that will be instantiated at the start of app, as this is just a demo version. Oct 07 09:25:03 so no internet connection, anything Oct 07 09:25:16 I have nothing so far. Oct 07 09:27:26 :D Oct 07 09:27:29 the main difficulty is the voice input Oct 07 10:10:38 Rajni: you can do this, i cannot join you sorry, but we can help you by posting your questions in here. Oct 07 10:11:02 broody thanks ;) i'll start working on that later today Oct 07 10:11:07 you can start by doing it now! not tomorrow, but today. Oct 07 10:11:26 yes ofc, but now i'm on my actual job, this is an extra project Oct 07 10:12:30 good luck with your project, the only thing that is worth finding out is with the voice recognition, it's not 100 % accurate, but its up to you to judge, it really depends.. that's why there are other engines out there commercially available which are very good. Oct 07 10:12:57 even voice recognition SAAS services are available. check those out if you really want accuracy in your app. Oct 07 10:13:33 broody, i just need something that works for this demo version, no need to be perfect at this stage. I think the android inner support for voice is ideal here Oct 07 10:14:34 yup that would work. thank google for including that , unlike ios. ;( Oct 07 10:14:47 lol yeah :) Oct 07 10:15:32 How can i get the current translate value of a canvas ? Oct 07 10:22:46 Leeds did you see this ? http://www.theverge.com/2013/10/4/4804362/blackberry-reportedly-in-talks-with-google-samsung-and-others-about Oct 07 10:27:26 JesusFreke: you wouldn't happen to be able to answer why function parameters in smali are sometimes numbered p0, p1, etc. and sometimes p1, p2, etc. and what a later reference to p0 in an "invoke-virtual {p0}" means? Oct 07 10:31:57 I ask because it doesn't fit my previous experiences with smali Oct 07 10:33:34 Hi there Oct 07 10:33:52 hi Oct 07 10:34:39 I'm having trouble drawing hardware layer backed webviews to draw offscreen. Is that even possible? Oct 07 10:36:50 can I keep a spinner matching parent width, but at the same time center the text in that spinner? Oct 07 10:41:04 Hey Oct 07 10:41:07 I made an Android game Oct 07 10:41:21 Its name is Candy Invasion and it's available on Play Store :) Oct 07 11:04:48 hey, does anybody know any good workarounds for bad font rendering on Android (especially with Helvetica Neue)? Possibly ghost-script? Any libraries? ..? Oct 07 11:05:56 g00s: yeah, although AIUI that headline is misleading - it's more that they're soliciting offers from those companies, not that the companies have actually shown any interest Oct 07 11:06:00 ansgarm you might try dcow - he talked about that earlier. seems like bad kerning ? Oct 07 11:07:48 How can i get the current translate value of a canvas ? Oct 07 11:07:52 yes, bad kerning is the main issue with the font. And as the font is part of the CI changing it to Roboto or similar is no option Oct 07 11:08:08 g00s: what's up? Oct 07 11:08:12 ansgarm its not the font, its the rendering library Oct 07 11:08:17 haven't been here in ages Oct 07 11:09:04 hi thepoosh Oct 07 11:09:08 ???? Oct 07 11:09:10 sup? Oct 07 11:09:22 do you have XP in sending SMS in the SmsManager? Oct 07 11:09:54 g00s: yeah, but the library fails on helvetica neue Oct 07 11:10:33 ansgarm: have you tried integrating the font in the assets? Oct 07 11:11:18 troloyolo: I'd guess you can only get the full transformation matrix, since translate changes that Oct 07 11:11:30 Leeds: you're here too Oct 07 11:11:34 oh myyyy Oct 07 11:11:41 am I? oh my word Oct 07 11:11:49 thepoosh: yes, that was the way I went Oct 07 11:11:55 I haven't been here in about three months Oct 07 11:12:04 now I see nicks I recognize Oct 07 11:12:26 but Helvetica is a font in the system Oct 07 11:12:35 speaking of which, what is Romain still doing here? ;) Oct 07 11:12:51 what do you mean? Oct 07 11:13:15 is he not in-charge of UI/UX anymore? Oct 07 11:13:28 ansgarm: have you seen this? Oct 07 11:13:28 http://developer.android.com/design/style/typography.html Oct 07 11:13:47 https://plus.google.com/u/0/+RomainGuy/posts/faCzPs6GKtg - Friday was his last day on the Android team Oct 07 11:14:14 O_O Oct 07 11:14:20 oh noes! Oct 07 11:14:32 no more Google I/O with him Oct 07 11:15:35 romainguy: it was great working with your code and notes! Oct 07 11:15:38 thepoosh: yes, I have. But Roboto is no option, sadly Oct 07 11:15:47 what is the spec? Oct 07 11:15:51 what do you need Oct 07 11:16:20 I need Helvetica Neue Oct 07 11:16:20 ansgarm: http://graphicdesign.stackexchange.com/a/11397 Oct 07 11:17:38 [14:16] ansgarm: http://graphicdesign.stackexchange.com/a/11397 Oct 07 11:17:45 thepoosh: My client pays for the font Oct 07 11:17:59 look at the link Oct 07 11:19:21 thepoosh: I know about linotype. I already have the font-files. But they render badly.. Oct 07 11:25:29 i doesn't render it correctly? Oct 07 11:25:37 can you attach a screenshot? Oct 07 11:25:45 ansgarm: ^ Oct 07 11:27:00 thepoosh: yes, give me a second.. Oct 07 11:28:20 thepoosh: http://imgur.com/q1uFao0 Oct 07 11:28:49 ansgarm: and this is not good enough? Oct 07 11:29:24 hi, is there a distribution of eclipse that comes with adt? Oct 07 11:29:24 thepoosh: the letters are jumping (middle) and the kerning is pretty bad.. Oct 07 11:29:30 yes Oct 07 11:29:48 Jonno_FTW: on developer.android.com Oct 07 11:30:10 Jonno_FTW: http://developer.android.com/sdk/index.html Oct 07 11:30:18 ty Oct 07 11:31:10 ansgarm: sad news I'm afrade: http://stackoverflow.com/a/9161078/1056359 Oct 07 11:33:57 thepoosh: yes, already saw that. that's why I'm here.. Oct 07 11:34:15 but thank you for your help! Oct 07 11:37:43 hello Oct 07 11:39:32 ansgarm: I think asking there is the better course of action Oct 07 11:58:25 anyone here who knows how to create a TiUIView programatically ? Oct 07 12:02:04 hi guys Oct 07 12:07:37 wow.. romainguy leaving android team… that's sad. i sure wish him the best in future projects Oct 07 12:07:49 does anyone know a way to play audio consistently ? Oct 07 12:08:19 i tried playing files in mp3 format in my app… it worked on a few devices, but not on samsung galaxy s2 Oct 07 12:08:45 after doing some googling, i learnt that ogg format may work better, so i tried using ogg format... Oct 07 12:08:56 it worked on the samsung galaxy s2 but not on nexus 4 Oct 07 12:09:04 i'm using the SoundPool class Oct 07 12:09:49 so, is there a well-known way to play sounds consistently ? Oct 07 12:12:07 hey guys Oct 07 12:12:30 I'd have a question about the BackupAgent stuff.. anyone not AFK and willing to help= :) Oct 07 12:12:32 ? Oct 07 12:12:53 you'd need to actually ask it before anyone could answer... Oct 07 12:13:35 well, just wanted to check if anyone is actually here Oct 07 12:13:55 So I implemented the BackupAgent as well as one custom FileBackupHelper to handle my databases Oct 07 12:14:03 when I try to manually test it, (with adb shell) Oct 07 12:14:15 I receive an exception from the BackupTRansportService Oct 07 12:14:26 called "Server policy rejection" error code 7 Oct 07 12:14:32 (see : http://stackoverflow.com/questions/19197214/backuptransportservice-server-policy-exception) Oct 07 12:15:00 I used teh DEBUG as well as the usual signing key for my testing apk, copy&pasted the API key about a thousand times. I am pretty clueless Oct 07 12:16:07 I can't find any documentation about the server errors.... so... any experiences with this? :) Oct 07 12:23:51 any nice libraries for displaying images with zoom/swipe functions? Oct 07 12:26:07 skullcrasher : https://github.com/chrisbanes/PhotoView Oct 07 12:38:33 hello - anyone who can help me creating a TiUIView in native java ? Oct 07 12:40:46 so i guess noone has any answer to "my problem"? ;) Oct 07 12:42:20 I don't wanna highlight the googlers or something... so I'll just wait for someone to read through his chathistory i guess ;) Oct 07 12:45:27 any ideas ? Oct 07 12:45:56 or perhaps no one else has experienced similar issues ? :) Oct 07 12:47:03 janmayan77 : what problem? Oct 07 12:48:13 in my app, i use SoundPool to play some sounds. when i used mp3 format, it worked on some phones but not on samsung galaxy s2 Oct 07 12:48:45 i researched the problem a bit and found an article saying that using .ogg files may fix the problem with the S2 Oct 07 12:49:06 so i changed all my audio files to .ogg format. it now works on the S2, but some sounds don't play on the nexus 4 Oct 07 12:49:51 and it seems all sounds are loaded Oct 07 12:50:18 so i'm trying to figure out if the problem is with the file fomat, SoundPool or something else Oct 07 12:53:25 Leeds: do you have any XP using SmsManager? Oct 07 12:54:08 at the moment, some sounds play and some don't on the nexus 4 Oct 07 12:54:22 but all sounds play on a samsung galaxy s2 Oct 07 12:57:51 never mind Oct 07 12:58:05 it seems the issue was with the media volume Oct 07 13:03:22 romainguy: good luck! Oct 07 13:04:01 (catching up with the news) Oct 07 13:04:58 hi, what's the best way of having two listview in one ListActivity? Oct 07 13:07:32 I get a nullpointer at LoaderManager @ info.mLoader.abandon(); line 637 cause mLoader is null. I am calling it with this code: http://pastebin.com/h1v6RHJX Oct 07 13:08:14 I am using LoaderManager other places just fine except from that method Oct 07 13:10:04 bet1m : don't use a listactivity, use a fragmentactivity / normal activit Oct 07 13:10:05 y Oct 07 13:11:58 fucking titanium Oct 07 13:12:53 anyone who has ever used native java with titanium and could help me out real quick? Oct 07 13:41:16 has any of you tried to build a SOAP client with WS-Security in Android? Oct 07 13:41:42 Hello everyone Oct 07 13:42:32 HAI Oct 07 13:42:57 scorchio: nope, just with basic http auth and https. Oct 07 13:43:29 I'm trying to retrieve a JSON-object through an AsyncTask, though no matter which permissions i add i keep receiving Permission Denied errors (all the logcat spits at me, sadly, is " Permission denied: checkComponentPermission() owningUid=10065 " And have been googling for a few hrs now, does someone have an idea what i might be overseeing? Oct 07 13:44:11 Pitel_IPEX: it's quite amazing how hard it is to find some usable info on this... what did you use? ksoap2-android? Oct 07 13:44:13 I'm really "simply" using a HttpGet in the AsyncTask which parses is using GSON. Oct 07 13:45:20 scorchio: basic http url connection and custom class to make it handle SOAP. ;] Oct 07 13:47:11 Pitel_IPEX: ah I see your point there :] I've just got up and running with StringTemplate + basic connection but adding the security part seems to be quite difficult Oct 07 13:48:56 scorchio: connection.setRequestProperty("Authorization", "Basic " + Base64.encodeToString((username + ":" + password).getBytes(), Base64.NO_WRAP)); Oct 07 13:49:10 scorchio: this is how I do the basic http auth, if it helps you... Oct 07 13:49:51 nice insecure crap Oct 07 13:50:32 well, it's over proper https connection... Oct 07 13:50:55 just remember to use certificate pinning Oct 07 13:51:16 Pitel_IPEX: yes, I know that, thanks :) Oct 07 13:52:10 the problem is that this web service does some security token exchange etc. which is way more complicated than this Oct 07 13:52:21 Can anyone recommend a good place for advice on compiling kernels? Oct 07 13:53:29 DJTwigg: have you asked at #android-root? topic says that's for root/custom ROMs Oct 07 13:54:04 scorchio: regarding WS-Security, you *might* have some chances with Axis2 and Rampart Oct 07 13:54:52 p_l: *might*? :) I get the feeling that it's far from trivial Oct 07 13:55:10 scorchio: I think the far from trivial part would be wrangling it into non-SE/non-EE environment ;) Oct 07 13:56:05 also, knowing the overblown misapplied generification of objects, a tree shaker will be a must, not an extra ;) Oct 07 13:56:33 (ProGuard, for example) Oct 07 13:59:47 p_l: ah I see... I definitely hope that I can get this thing working Oct 07 14:01:09 p_l: I'm just getting started with Android/Java and this is the part of my first project, it will certainly push my limits quite a bit Oct 07 14:01:19 ... definitely Oct 07 14:01:35 SOAP is not an easy beast, especially when 90% of it is done incorrectly Oct 07 14:05:29 is it possible to change just the style of text in a TextView? i'd like to make it super-bold Oct 07 14:05:53 seems like i can build it myself using SpannableStringBuilder but hoping for something easier Oct 07 14:06:33 the beauty of this is: the API I'm trying to use is kind of simple, once I can call it... Oct 07 14:33:11 guys, for chat feature, what protocol would you recommend to use on mobile? We use SocketIO, but establishing connection seems to take too much time (our users have high latency network connections) Oct 07 14:33:34 also to not drain battery we don't want to keep the heartbeat running all the time Oct 07 14:34:11 karlo: google cloud messaging Oct 07 14:34:28 Does someone know what can cause a "No content provider found for permission revoke: file://data/local/tmp/com.annihlator.app" error? google isn't incredibly helpful thus far (http://i41.tinypic.com/wvtrtl.png for a screenshot) Oct 07 14:35:26 (I am debugging on a physical device!) Oct 07 14:35:44 Annihlator, did you get this message after deploying to the device? Oct 07 14:35:54 or while using it Oct 07 14:36:35 @lemonxah i can reproduce it on launch. it does not appear when deploying if i manually deinstalled the app but does if i forgot to close any activities Oct 07 14:37:28 i dont know either just wondering cause i get that when deploying the app Oct 07 14:37:41 never while starting or using the app Oct 07 14:38:12 Strange. i'm not even sure currently if Gson is the culprit, but that is my suspicion momentarily... Oct 07 14:38:26 Pitel_IPEX: do you have experience with chat through GCM with a considerable amount of users? Oct 07 14:38:34 I wrote a uiautomator test, now what I'd like to do is run that same test in 30 different languages and then save each screenshot pack. What's the best way to re-use this script? Launch 30 different emulators? Or launch 1 and run some adb command to switch the language? Oct 07 14:39:41 karlo: nope, I use it just for pushing stuff to phones. But it can send messages both ways since this year's Google IO, but I'm not sure if it's open for public. And I guess Google Hangouts is using it. Oct 07 14:40:31 what I'm afraid of is that afaik there is no guarantee given on successfully delivering messages (theoretically) Oct 07 14:40:38 unless it has changed Oct 07 14:40:59 we use GCM too for pushing stuff, but using it for chat felt a bit risky Oct 07 14:41:51 @Lemonxah seems where i screenshotted -is- from redeployment though. This error turns out stranger every time i reproduce it :/ Oct 07 14:42:57 karlo: afaik you are guaranteed to send/receive the message (unless you use collapsing, of cource), but it might not happen immediately, especially if the phone is asleep. Oct 07 14:43:59 karlo: and the gcm fot bidirectional communication is now part of google play services, and the usage patterns are slightly different then the old one. Oct 07 14:44:08 (but we still use the old one) Oct 07 14:44:15 true Oct 07 14:44:26 ok I will look into that, thx Oct 07 15:03:53 Effing hell. turns out the newly updated Android Studio doesn't sign the apps anymore, now that's my new suspicion but i feel like im chasing one ghost after another Oct 07 15:04:24 At least, every project i try to generate an apk for now starts complaining about a new config file. Oct 07 15:05:13 WARNING: AS is still a preview and is liable to break in essentially any way at essentially any time. If you require reliable project building and compilation, stick with the stable and released Eclipse/ADT bundle Oct 07 15:05:57 I could just randomly paste that in here every now and again Oct 07 15:06:57 Aye. but would be wonderful if there'd by actually a normal way to downgrade the suite too (since the devs are also aware it can break any instant). I'm already stuck on OSX (not my choice at all) so i'm pretty much fucked :/ Oct 07 15:09:40 Best part is that LogCat was really freaking helpfull in giving me any leads to the potential cause *sigh* i wasted a full workday. Oct 07 15:19:22 that's why you should always build from commandline Oct 07 15:19:26 cuz that shit never fails.... Oct 07 15:19:36 making release builds from an IDE is just laziness and fail Oct 07 15:24:25 everything always fails, double, tripple check yo stuff Oct 07 15:26:03 check yo self before you wreck yo self Oct 07 15:48:32 hello , is it possible to hide android service from "application list" , application list gives me Oct 07 15:48:58 we are making ftp sync service but service needs to start from dummy activity first time Oct 07 15:49:13 why does it need to? Oct 07 15:49:26 guys Oct 07 15:49:29 because service is syncing critical data Oct 07 15:49:35 need one thing, not android connected though Oct 07 15:49:50 but if someone close service by mistake Oct 07 15:49:58 I gotta enter a date in format mm-dd-[cc]yy Oct 07 15:50:03 How do I do it? Oct 07 15:50:29 communist-cookie , SimpleDateFormat Oct 07 15:50:44 cc? Oct 07 15:50:57 http://stackoverflow.com/questions/9872419/converting-string-to-date-using-simpledateformat Oct 07 15:51:28 kakazza: indeed what the hell Oct 07 15:51:39 JDuke256: cant even find it in Oracle documentation Oct 07 15:52:02 century... Oct 07 15:52:07 2012 vs 12 Oct 07 15:52:15 centrury Oct 07 15:52:16 thus Oct 07 15:52:31 10-07-[21]13 ? Oct 07 15:52:34 this way? Oct 07 15:52:45 [] is optional I guess. Oct 07 16:07:58 I made a super sick calculator and my alpha tester can't figure out how to use it. I hate users Oct 07 16:11:44 How would I go about moving a view containing a playing video to another activity? Oct 07 16:12:01 (i'm working on a fullscreen implementation for my video player) Oct 07 16:14:49 AnimeCYC: are you using VideoView ? Oct 07 16:16:04 shmooooz: The SDK i am using uses a surfaceview. Oct 07 17:02:11 hi there Oct 07 17:02:34 I've already posted about it in the #android chan, but they told me you guys would probably benefit more from it Oct 07 17:02:54 we've just launched AdFlake http://www.adflake.com , an ad mediation service for Android + iOS Oct 07 17:03:07 We've used AdWhirl in most of our games and when the shutdown has been announced we started to build our own ad mediation service. Oct 07 17:03:07 No advertising Oct 07 17:03:23 well ok :( Oct 07 17:03:32 sorry :) but check it out, it's awesome Oct 07 17:05:22 no. Oct 07 17:05:28 maybe at feb 31st Oct 07 17:13:14 so, i have a question for developers... i am not a designer or at least not a good one, yet. i'm hoping to find library designs, or a community of designers who would like to work with a developer but not as developers. does this sort of thing exist? Oct 07 17:13:32 long term, i'll learn design. Oct 07 17:13:48 short term, is it possible to find pick-up work like this? Oct 07 17:14:32 I learned to code and design by making my own apps. Oct 07 17:14:37 not that I'm a good designer at all Oct 07 17:14:46 sobel library designs ? Oct 07 17:14:52 make your own portfolio of designs Oct 07 17:15:33 yeah, i always learn by doing, but i have a day job and was hoping to gain leverage over learning design by working with someone who already knows it Oct 07 17:15:52 g00s: sure, we collect code in libraries, why not designs? Oct 07 17:16:21 oh, design patterns Oct 07 17:16:25 UI patterns Oct 07 17:16:56 ok, yeah, like that except bigger parts and potentially focused on specific apps not just generic interaction patterns Oct 07 17:17:10 or even whole app designs Oct 07 17:17:46 if it doesn't exist, i guess that's good information for me too Oct 07 17:18:49 ian clifton has a book Oct 07 17:19:25 http://www.amazon.com/Android-User-Interface-Design-Beautifully/dp/0321886739 Oct 07 17:19:40 and there is http://www.amazon.com/Android-Design-Patterns-Interaction-Developers/dp/1118394151 Oct 07 17:19:48 maybe that will get you started Oct 07 17:20:08 g00s: Read any of those yourself? Oct 07 17:21:34 if I want to start my app on system boot, what would be the efficient path to do so Oct 07 17:21:43 I do not have any service in my app Oct 07 17:22:12 i looked through the wiley one (2nd) but not ian's. i've been on the hunt to find some good resources to help with the Android UI APIs. tone of stuff out there for iOS; one thing - those people don't have a shortage of good (although quickly out of date) books ;) Oct 07 17:22:38 well, a bit depends on what kind of books you mean ;) Oct 07 17:23:01 Apple loves design as a customer-facing feature. It's no mystery why designers love them right back. Oct 07 17:23:33 still rather have substance over glam, but there's a minimum necessary portion for each Oct 07 17:24:10 well, there's also the practical side of UX Oct 07 17:24:27 always wanted romain to write a 'filty rich … for android' Oct 07 17:24:36 and dianne to write an internals books Oct 07 17:24:50 oh well, they figure you should read the code :) Oct 07 17:24:55 heh Oct 07 17:25:01 Reto's book is also 1 year old. Oct 07 17:25:08 Though, probably not that much has changed. Oct 07 17:25:42 i work with someone who says, "read the code" a lot Oct 07 17:26:05 my new counter is, "that's why people won't call your code" Oct 07 17:26:52 p_l iOS side has some very strong authors, like Erica Sadun; she's amazingly gifted Oct 07 17:27:04 apress has lots of android titles now, but they are pretty flimsy Oct 07 17:27:08 g00s: I'm not saying it doesn't Oct 07 17:27:22 is it possible to use the BroadcastReceiver without having any service for starting app on system boot Oct 07 17:27:29 the Stanford free iOS online programming courses got me started with Objective C pretty nicely Oct 07 17:27:59 sobel yeah, i know somebody that went through that and liked it as well Oct 07 17:28:26 * Looney thinks that its not his day anymore :-( Oct 07 17:29:01 Looney: BroadcastReceivers should work without starting service on system boot (after all, that's how they are started on system boot, iirc) Oct 07 17:30:28 dawg, $32 for that Clifton book on ITMS Oct 07 17:31:19 guess i'll snag that if i end up with a client before the design confidence i seek Oct 07 17:31:30 hmm, strange mine is not working Oct 07 17:32:08 changed the format of intent Oct 07 17:32:18 lets see how system boots up Oct 07 17:32:31 Do you know any good tutorial/something similar to improve UI design? Oct 07 17:33:43 zyngawow_: the best way to improve that skill is by using it. same as coding. Oct 07 17:33:48 here the coder include flags in intent as well http://www.androidsnippets.com/autostart-an-application-at-bootup Oct 07 17:34:55 sobel i'd be interested to know what you think about it once you've gotten through it Oct 07 17:35:58 g00s: cool. might be a bit but i'll get there. i join the channel because i know android dev is in my future but right now i'm effectively dabbling. Oct 07 17:36:10 ;) Oct 07 17:37:27 Why the hell would you want to start an activity on boot Oct 07 17:37:30 That just sounds annoying Oct 07 17:37:37 bad news Oct 07 17:37:46 not me Oct 07 17:37:49 SimonVT: kiosk or something? Oct 07 17:37:53 user want it Oct 07 17:37:58 SimonVT: i liked when Acuweather started at launch Oct 07 17:38:00 yup jjnye Oct 07 17:38:04 jjnye: Then you'd make a launcher Oct 07 17:38:30 SimonVT: i agree, i was just giving them the benefit of the doubt Oct 07 17:45:27 has anyone ever calculated the tilt of their phone(using getOrientation)? I don't get any understandable values. I know there is a lot to google but i dont get it still. Can anyone help? Oct 07 17:46:02 couldnt you just make it output to log and read as you tilt it around? Oct 07 17:47:32 I'm having a nightmare updating Eclipse so I can migrate a few projects to Android Studio, it seems to stick at 'Contacting Software Sites 50%'. Does anyone have any ideas to why this is? Oct 07 17:47:40 Seem to remember it from the past. Oct 07 17:48:07 SWfu maybe #eclipse can help Oct 07 17:48:12 switch to command line SWfu :-P Oct 07 17:48:35 Spoke to soon, ha. Oct 07 17:49:50 Yes, thanks for the help Looney. Oct 07 17:50:07 you are welcome Oct 07 17:50:28 so it sux at times, I mean eclipse Oct 07 17:51:12 I remember it would give trouble and I would delete some files in some (dot) folder to clear the state of eclipse Oct 07 17:51:13 everything sucks at one thing or other Oct 07 17:51:47 I am not a vi expert but I do not have much against it for now Oct 07 17:52:03 perhaps, lack of auto-complete Oct 07 17:52:11 I've never truely got along with it! I need to upgrade it to migrate to gradle aparently. Oct 07 17:52:30 Yawn Oct 07 17:52:46 SWfu: if you're going to make the jump to gradle, might as well go all-out and get Android Studio Oct 07 17:53:06 gradle, gotta google it Oct 07 17:53:37 I've got a few projects some of the junior devs need to update, I'd rather keep them with a GUI. Oct 07 17:55:06 SWfu: the gradle integration into AS is fabulous, don't necessarily need to touch the terminal at all Oct 07 17:55:25 SWfu: what build tool are you using now? Oct 07 17:56:35 Simply Eclipse/ADT Oct 07 18:02:49 SWfu i wouldn't bother getting eclipse or plain intellij working with gradle; if you want to use gradle use AS; so remember thats all preview quality stuff ;) Oct 07 18:03:30 XXCoder1: I am (outputting sensor tilt values to log) but it is not making sense to me... Oct 07 18:03:53 can pastebin sample? Oct 07 18:16:29 Hello. I wonder if anyone knows why I get this exception right after launching my app: java.lang.NullPointerException Oct 07 18:16:29 at android.os.Parcel.readException(Parcel.java:1431) Oct 07 18:16:30 at android.os.Parcel.readException(Parcel.java:1379) Oct 07 18:16:30 at android.app.ActivityManagerProxy.startActivityAsUser(ActivityManagerNative.java:1921) Oct 07 18:16:30 at com.android.commands.am.Am.runStart(Am.java:494) Oct 07 18:16:31 at com.android.commands.am.Am.run(Am.java:109) Oct 07 18:16:33 at com.android.commands.am.Am.main(Am.java:82) Oct 07 18:16:35 at com.android.internal.os.RuntimeInit.nativeFinishInit(Native Method) Oct 07 18:16:37 at com.android.internal.os.RuntimeInit.main(RuntimeInit.java:235) Oct 07 18:16:39 at dalvik.system.NativeStart.main(Native Method) Oct 07 18:16:41 ups Oct 07 18:16:42 uggghhhhh Oct 07 18:16:46 sry Oct 07 18:16:52 never paste more than 2-3 lones Oct 07 18:16:54 lines Oct 07 18:17:06 i know... :( rly sry Oct 07 18:17:13 the appeared as 2 lines here Oct 07 18:17:47 I would say either faulty android core or some messed up manifest file? Oct 07 18:19:22 this is something that does not happen every time. It is interesting. Only sometimes I get that. Oct 07 18:28:40 ok, people is the accepted answer given true http://stackoverflow.com/questions/10853879/start-an-activity-on-phone-boot-in-android Oct 07 18:28:55 I mean that stopped apps cannot be started ? ? Oct 07 18:28:58 XXCoder1: trying to paste but all pastes time out... Oct 07 18:29:06 odd Oct 07 18:30:39 perhaps the universe is conspiring against us S_J Oct 07 18:30:47 :-P Oct 07 18:31:12 yes, 3 different pastes and none work. but then other stuff is not working for me either Oct 07 18:33:17 well, I have been lucky enough to find the rationale as to why my app is not starting but I still have to wait for some veteran to vet my find :-) Oct 07 18:46:24 gmag, Pro tip, if you post something and it ends up being like 10+ lines, type /flushq Oct 07 18:46:27 and it aborts what has not been sent Oct 07 18:50:04 poutine, not sure I understand. Can you undo after you do the paste? Oct 07 18:50:51 gmag, on your screen, it shows you pasted 10 lines or so, but it's actually queued to the server, so you can abort the queue before it's all sent Oct 07 18:50:54 therefore, 10 lines becomes 2-3 Oct 07 18:52:38 poutine, ah :-o I thought the server would eat our pastes very quickly. But if I understand well there is time enough to run that command. I'll have that in mind next time. Oct 07 18:52:59 by eat I mean receive and send to other clients Oct 07 18:53:34 XXCoder1: anyway have you calculated tilt? basically roll and yaw is correct but pitch also affects roll and yaw which is weird. roll=flip sideways, yaw=spin phone when it is flat, pitch=flip along length of phone) Oct 07 18:54:13 weird Oct 07 18:54:52 howdy - has anybody ever had issues with support v7 libs? they stopped working in my app recently when building the debug builds, at least Oct 07 18:55:05 I've got this log excerpt showing what's going on - http://hastebin.com/fakivuqape.py Oct 07 18:55:37 the unfound parent is import android.support.v7.app.ActionBarActivity Oct 07 18:55:44 s/import // Oct 07 18:56:08 sj not sure Oct 07 18:56:35 hello peeps Oct 07 18:56:45 what's that gymnast movie where he's super unhappy even though he has everything. Then someone comes along to show him how to be happy within. Oct 07 18:56:46 I used apktool to partially decompile the app, and the v7 libs are almost completely missing Oct 07 18:57:05 all I've got are R.* files from there, whereas the v4 apps have a multitude of classes in the apk Oct 07 18:57:12 Trufax: did you use proguard? Oct 07 18:57:21 S_J: http://stackoverflow.com/questions/9454948/android-pitch-and-roll-issue Oct 07 18:57:30 birbeck, what's proguard? Oct 07 18:57:37 I didn't explicitly specify it in my build.gradle - is progouard default, now? Oct 07 18:57:58 i dont know about in android studio Oct 07 18:58:01 getrotationmatrix seems to be better choice than eulder angles Oct 07 18:58:11 I'm using gradle build if that matters Oct 07 18:58:32 my action bar doesn't have the overflow (menu) button. are you supposed to make your own? Oct 07 18:58:56 Trufax: I know its configured for it, i just dont know if it runs by default or if you unknowingly turned it on Oct 07 18:59:02 If your device has a menu button there wont be an overflow button in the action bar Oct 07 18:59:09 ah Oct 07 18:59:23 I'll look into that - definitely possible that proguard's wrecking my day Oct 07 18:59:26 but if the classes are missing your your dex file, then that is a good culprit Oct 07 18:59:38 Proguard doesn't run by default Oct 07 18:59:42 try another build and keep a close eye on the logs Oct 07 18:59:45 I'd imagine you defined the dependency wrong Oct 07 18:59:46 I know it shouldn't be Oct 07 19:00:43 how can I force the overflow button all the time? (without changing minSdk) Oct 07 19:01:07 my build.gradle - http://hastebin.com/divisuyixu.coffee Oct 07 19:01:40 zmuser3: You can't Oct 07 19:02:11 zmuser3: I force it on most of my apps, but......... A big but.... Guess what happens on the LG Optimus G2 with a soft menu button. Oct 07 19:02:18 what Oct 07 19:02:23 for the love of god they made a soft menu button Oct 07 19:02:27 Trufax: looks legit Oct 07 19:02:58 was a rhetorical question Oct 07 19:03:00 heh Oct 07 19:03:12 there's absolutely no way to force the overflow on the LG Optimus G2 Oct 07 19:03:16 no tricks at all Oct 07 19:03:37 I just have too many items and my test user is too dumb to look in the menu Oct 07 19:03:51 nobody ever knows the menu button exists Oct 07 19:03:57 especially on Samsung devices Oct 07 19:04:01 yeah. not lit Oct 07 19:04:30 Trufax: Tried doing a command line build? Oct 07 19:04:35 before I started forcing it I would get 10 emails a weeks requiring the same canned response. Please press menu and select xxxx Oct 07 19:04:46 force overflow, no more 10 emails a week Oct 07 19:05:05 force how? just make your own menu button? Oct 07 19:05:09 yes Oct 07 19:05:12 ok Oct 07 19:05:52 hm, i wonder how much of elliot's new java networking book is applicable to android http://shop.oreilly.com/product/0636920028420.do Oct 07 19:06:11 and call showOptionsMenu when you override the keyevent looking for the menu button press Oct 07 19:06:25 wait, uggg Oct 07 19:06:26 that won't work Oct 07 19:06:30 the menu button sucks Oct 07 19:07:27 How can I send an even to all fragments in the back stack? For example, when I am 3 fragments deep in the stack and the device gets rotated. The fragments in the back stack don't receive the rotate event. Is there any way to get around this? Oct 07 19:08:25 why would they need to get the rotation event Oct 07 19:08:36 you don't want to actually run any code until the fragment is foreground Oct 07 19:08:38 or active Oct 07 19:08:47 SimonVT: trying, now Oct 07 19:16:05 hwrd|work: event bus Oct 07 19:17:19 but you're likely wanting accommodate the orientation in onActivityCreate or onResume Oct 07 19:19:13 What do people use to profile OpenGL native code on Android? Oct 07 19:22:32 anyone ever figure out a way to synchronously bind to a local service ? Oct 07 19:22:54 i dont think its possible Oct 07 19:26:24 Hi guys, nice to meet you again Oct 07 19:26:46 I wish I could say the pleasure was mine J_Caselles, but I'd be lying Oct 07 19:27:31 SimonVT: a command-line build turns up legit Oct 07 19:27:48 poutine: explain yourself Oct 07 19:28:14 nseidm1: hmmm I"ll try that Oct 07 19:28:30 pfn: yes but, i do want the fragment to recreate its view properly Oct 07 19:28:32 pfn: Because rotation will go through the createview process again, but resume will not :-\ Oct 07 19:29:17 a fragment coming off the backstack may, or may not, go through onCreateView Oct 07 19:29:27 depends if the view has been destroyed or not Oct 07 19:29:54 nseidm1: yes but on rotation i want to force the view to be destroyed, view destruction only seems to happen for the foreground fragment Oct 07 19:30:59 does indeed seem like a situation Oct 07 19:31:37 Yeah I dunno what to do about it! Sticky situation indeed Oct 07 19:31:38 is setRetainInstanceState set to true? Oct 07 19:32:01 it seems like AndroidStudio isn't exactly following the gradle buildfile Oct 07 19:32:18 Just tell it to sync with build.gradle .. there's a button somewhere Oct 07 19:32:25 Or delete IDE files and reimport Oct 07 19:32:44 nseidm1: No, and I'm not sure it matters because setRetainInstance only applies to fragments not in the back stack! Oct 07 19:33:14 Fragments in the backstack don't have a view .. it was destroyed when they went there Oct 07 19:33:48 ^ that seems like the logical behavior Oct 07 19:33:53 whenever I've got issues with the builds in AS vs builds with gradle wrapper not lining up, it doesn't seem to help Oct 07 19:34:02 egg on my face Oct 07 19:34:04 works fine, now Oct 07 19:34:08 SimonVT: so it always goes through createview when the backstack comes back? Oct 07 19:34:36 hit them log printouts :-) Oct 07 19:34:56 It should Oct 07 19:35:05 And onDestroyView when you remove it and add it to the back stack Oct 07 19:37:16 SimonVT: innnnnteeereeesting.... i'll poke around some more. thanks Oct 07 19:37:28 nseidm1: thanks also Oct 07 19:38:12 just found out that why is not my app starting on boot Oct 07 19:38:48 android framework has been changed since Android 3.0 Oct 07 19:38:48 is anyone using facebook buck as their build system ? Oct 07 19:39:39 hey guys, is there anyone up to work with me for couple hours in a simple project? I can pay. PM Oct 07 19:39:56 college project Oct 07 19:40:04 XXCoder1: no Oct 07 19:40:16 hwrd|work, why should it recreate its view? Oct 07 19:40:19 No soliciting Oct 07 19:40:34 pfn: because different resources for orientation blah blah Oct 07 19:40:52 hwrd|work, then don't set your fragment to be retained, it will be destroyed Oct 07 19:41:10 setRetainInstance was never set to true (unless it was being set by default) Oct 07 19:45:36 pfn: Is it possible to move a surfaceview (video) to another activity without haveing the video stop? Oct 07 19:46:32 AnimeCYC, no Oct 07 19:46:43 at least most definitely not with hls Oct 07 19:47:05 Figured as much. How in the hell is the android youtube player doing seemless fullscreen Oct 07 19:47:43 AnimeCYC, it's not HLS Oct 07 19:48:24 yeah, not so much on about the format. In general its possible to move a view containing my surface view to another activity though right? Oct 07 19:48:51 to another activity? Oct 07 19:48:59 no, to another view, ok Oct 07 19:49:13 Well that answers that one lol Oct 07 19:49:21 Thanks Oct 07 19:51:14 Also, they probably use textureview .. animating surfaceview doesn't work very well Oct 07 20:04:13 Hey ya Oct 07 20:06:27 anyone have experience debugging android apps with jdb? Oct 07 20:06:50 How do I edit the Settings in my App? So that when I press the Preferences button I can show several items in the settings. I know it has to do with the preference.xml . But how do I let it carry out a function? I'm using ADT Eclipse Oct 07 20:11:47 i'm trying to clone the repositories with `repo init --mirror' but it's stopping with "error: could not verify the tag 'v1.12.4'". the.repo directory is not created. what could be the cause? Oct 07 20:19:37 I needed a new version of the repo tool Oct 07 20:19:42 thanks for tuning in Oct 07 20:21:18 Is there by any chance anybody from google play developers team? I have an issue with the developers console registration/payment and I don't get any answer from my emails :/ Oct 07 20:25:30 XXCoder1: I need roll and pitch, I don't need yaw. Can I not redefine what is pitch so I get rid off the problem? can I somehow disable one axis and remap the other? Oct 07 20:26:13 S_J: dunno never used rotation stuff Oct 07 20:26:34 did you see roationmatrix link? Oct 07 20:29:53 yes, ty. Oct 07 20:34:17 Any of you guys see this? https://github.com/mobsandgeeks/adapter-kit Oct 07 20:34:19 Looks super cool. Oct 07 20:45:32 Hello, does and executor (as single thread executor) accepts execute() and submit() after shutdownNow() is called? Oct 07 20:46:53 P4C0: http://developer.android.com/reference/java/util/concurrent/ExecutorService.html#shutdown() Oct 07 20:47:02 Javadocs are great for these questions Oct 07 20:48:27 thank you desmin88 Oct 07 20:48:28 Didn't anybody else experienced problems with their developer console fee payment? Oct 07 20:48:39 no prob! Oct 07 20:50:30 Damn I am terrible with android app design Oct 07 20:50:52 is there a way to set a specific PorterDuff mode to fullscreen overlay views on Android? I want Twilight to use DARKEN. Oct 07 20:53:13 (Twilight = https://play.google.com/store/apps/details?id=com.urbandroid.lux ) Oct 07 20:54:32 I need opinions: Google+ Community vs Google Groups for Alpha/Beta testing? Oct 07 20:55:17 someone asked if my HTC One is the new iPhone Oct 07 20:56:18 birbeck: that's suposed to be good or bad? Oct 07 20:56:25 hehe Oct 07 20:56:34 neither Oct 07 20:56:48 birbeck: ;) Oct 07 20:56:50 but i guess bad that people are so ignorant Oct 07 20:56:56 yea Oct 07 20:57:16 nell someone bought mirror thinking it was ipad Oct 07 20:57:25 it had fake facebook overlay Oct 07 20:57:38 there are probably more important skills to life than distinguishing who makes what phone Oct 07 20:57:48 g00s: +1 Oct 07 20:58:47 g00s: while i think that may be true, i hate all smartphones being called an iPhone, like an adhesive bandage being called a band-aid, or a tissue a kleenex Oct 07 20:59:07 I own epic android iphone then ; Oct 07 20:59:13 if HTC starts dual booting WP and Android, it gets even more confusing :D Oct 07 20:59:16 birbeck: you have to deal with the fact that most people don't really care Oct 07 20:59:36 g00s: i really hope they dont start doing that Oct 07 21:00:10 what a waste of space on the rom.... just make the same device, 1 branded with windows and 1 branded with android Oct 07 21:00:47 if an android phone ever has a windows logo for the home button, JBQ will flip! Oct 07 21:01:02 I hope for future where devices and os is seperate and chooseable, and phones and carrier is seperate and choosable. Oct 07 21:01:08 JBQ probably doesn't care any more birbeck :P Oct 07 21:01:09 seems unlikely Oct 07 21:01:26 Did anyone develop some app with voice input capability? (voice to text) Oct 07 21:01:39 also, nice to see +romainguy still hanging out in here.. good luck on your next endeavor Oct 07 21:01:55 g00s: he does, have you seen his latest g+ posts? Oct 07 21:01:58 anyhow, meeting time Oct 07 21:02:09 birbeck no, is he still at google? i don't read g+ Oct 07 21:03:01 all those damn cards Oct 07 21:03:15 may g+ users drown in an ocean of staggered cards Oct 07 21:04:50 * zcorpan filed https://code.google.com/p/android/issues/detail?id=60816 Oct 07 21:13:27 g00s i always use the single stream view Oct 07 21:13:36 so much easier to parse Oct 07 21:13:43 Hey there. Oct 07 21:13:45 the usual vi hotkeys work well too Oct 07 21:14:04 Does anyone know about in app billing? Oct 07 21:14:17 Everything's working fine for me except for one major flaw Oct 07 21:14:45 shigeru is that under Settings? Oct 07 21:14:57 google play's checkout interface claims to look like this Oct 07 21:14:59 http://developer.android.com/images/in-app-billing/v3/iab_v3_checkout_flow.png Oct 07 21:15:00 g00s: no, hes at Yahoo, but very much still involved with Android in his new role Oct 07 21:15:13 which shows the description Oct 07 21:15:38 on my app it looks like this Oct 07 21:15:39 http://i.stack.imgur.com/Tb2aO.png Oct 07 21:15:46 (not my picture, but same difference) Oct 07 21:15:49 g00s in google plus more => stream layout => pick the one thats not staggererd Oct 07 21:16:06 shows my product title, card and buy button, but it won't show the description. I really need it to. Oct 07 21:16:14 And I have no idea why it won't Oct 07 21:17:17 ugh, the last chrome update broke flash audio so i can't listen to devbytes any more Oct 07 21:17:29 flash on my mbp anyhow Oct 07 21:18:21 You get flash on and android platform? Oct 07 21:18:41 My smart phone only shows and icon where there is flash content on a web site. Oct 07 21:19:08 Shaba1 oh, i meant my desktop Oct 07 21:19:17 Oh ok Oct 07 21:19:25 I thought I had missed something Oct 07 21:19:39 Shaba1: HTC still puts Flash on their phones Oct 07 21:20:01 even in the 4.3 roms Oct 07 21:20:19 oh man, considering adobe had the flash source code stolen, lots of 0 days ahead ! Oct 07 21:20:38 i thought you were going to say lots of new ports Oct 07 21:20:44 haha Oct 07 21:20:47 when did that happen? the other day with their hack? i never read any details Oct 07 21:20:52 it will work on linux finally, ha ! Oct 07 21:21:11 birbeck yeah, source code for flash, acrobat reader, and a few other things Oct 07 21:21:13 the flash plugin bundled with chrome works fine on linux Oct 07 21:21:34 a friend had a galaxy tab 3, he could only make flash work with 1 browser, not sure if it was firefox Oct 07 21:21:36 g00s: great! they were already so insecure even w/o source access Oct 07 21:21:51 could you imagine if iOS or OSX source was leaked Oct 07 21:22:43 could you imagine if Android source code was leaked? .... oh wait ;-) Oct 07 21:23:43 birbeck isn't there stuff on android you don't have the sources too :P Oct 07 21:23:54 like play services, etc Oct 07 21:24:05 true Oct 07 21:24:35 i guess that is one negative to those apis being released that way Oct 07 21:25:11 i imagine a lot of their APIs they would not want to open Oct 07 21:25:27 i betting carriers put crap on phones people don't get the source code for either, like that awesome Nascar app Oct 07 21:25:58 thats carrier devices, but i do get your point Oct 07 21:27:11 Quick question guys, can I have multiple color text in the actionbar? I.e [red]u[/red][white]hi[/white] Oct 07 21:27:15 as one line, no breaks Oct 07 21:28:05 desmin88: yes, though how escapes me Oct 07 21:28:15 well Oct 07 21:28:20 thats something atleast Oct 07 21:28:20 lol Oct 07 21:29:00 desmin88: there is this: http://stackoverflow.com/questions/10140893/android-multi-color-in-one-textview Oct 07 21:29:05 Probably just with html Oct 07 21:29:10 And Html#fromHtml Oct 07 21:29:21 i wondered if that would work, but really you would probably have your own spannable Oct 07 21:29:49 hmm. Oct 07 21:29:50 SimonVT: i thought about that, but didnt want to lead that route if didnt work Oct 07 21:30:01 Or yeah, make your own spannable Oct 07 21:30:09 There's another answer for that in that stackoverflow Oct 07 21:30:18 desmin88: look at the example under the accepted answer... thats the route i would go :) Oct 07 21:30:32 ok Oct 07 21:31:31 Just make your own stringbuilder that you can pass strings and colors and build a spannable Oct 07 21:31:47 thanks guys! Oct 07 21:31:49 ^ +1 Oct 07 21:35:52 Anyone? I have a list view item (line layout) with a textview … without a background the row hight looks perfect - but if I add a nine patch image as background the row heights gets like 1/2 of the screen … why is that so? Oct 07 21:37:41 I really wonder when batch of people timeout at same time. Oct 07 21:39:46 Has anyone ever used google play's in app billing before? Oct 07 21:40:01 Ahh great, AS issues with the support libraries again. Oct 07 21:42:26 desmin88 what now ? Oct 07 21:43:03 g00s: It won't find the AppCompat theme even though it is in the gradle files, in the module dependencies etc. Oct 07 21:43:22 desmin88 does the command line build work ? Oct 07 21:43:39 desmin88: have you tried ant clean? Oct 07 21:44:11 I get problems with AppCompat many times Oct 07 21:44:24 J_Caselles: im using gradle not ant Oct 07 21:44:28 Spent a full hour earlier trying to figure out why I was getting an app crash on launch. Forgot to ant clean before building. Oct 07 21:44:29 oh, sorry then Oct 07 21:44:30 g00s, about to try that Oct 07 21:45:41 i'm trying to work through the android first app thing, but I cannot sem to get the import.android support working. I've used the SDK manager to install Android Support, but i'm not having luck. Am I missing something? Oct 07 21:46:33 What are you using to build the app? Eclipse? Oct 07 21:46:47 IntelliJ? Text editor & command line? Oct 07 21:47:04 Android Studio, I think it's some tailed eclipse? Oct 07 21:47:09 tailored Oct 07 21:47:20 You must be a masochist Desarun Oct 07 21:47:50 Eclipse with the ADT makes making an app so much easier Oct 07 21:48:24 Vi has it's benefits…. If it's Android Studio, it's IntelliJ with some fluff. Nice fluff mind. If you were using Eclipse, I'd be more use right now. Oct 07 21:49:00 g00s: gradlew complaining about enviroment variables Oct 07 21:49:01 urgh. Oct 07 21:49:18 oh, i never used gradlew Oct 07 21:49:29 does anyone know of an emulator that will support the new Bluetooth Low Energy API (Android 4.3) Oct 07 21:49:31 ? Oct 07 21:49:41 eydaimon: what's the error? Oct 07 21:49:41 what do you use? Oct 07 21:49:48 coderroadie not atm Oct 07 21:50:19 Desarun_9001: no error really, but whe I type android.support it's red indicating it's not been loading. For the record I'd use vim too, but not while I'm learning and following the tutorial :/ Oct 07 21:50:49 I guess I can start the tutorial over using Eclipse Oct 07 21:51:18 You only mention downloading it in the sdk manager, not actually adding it as a dependency Oct 07 21:51:22 The ADT plugin for Eclipse has been around for a couple of years, with a lot more support around it, the Android Studio is <1 year old. Oct 07 21:51:38 I'd hazard a guess at it not being included in some class path jazz Oct 07 21:52:14 class path / buildpath Oct 07 21:52:36 hm. Yeah, will try with eclipse then Oct 07 21:56:54 hey, if i create a new app, and upload a beta version, does this mean only authorized people can download it? Oct 07 21:57:13 hey, I'm doing the developer's console registration. Do you advise me to put my name as developer name, or some kind of nickname, or something that looks more like a company's name? Oct 07 21:57:52 make an LLC yo Oct 07 21:59:08 hi Oct 07 21:59:41 J_Caselles: if you do not have a registered business name, use your own name. Though for publishing apps, I would register a business entity Oct 07 21:59:42 Register the company *right now*. Then think of it as your baby. In the paternal/maternal sense. Oct 07 21:59:49 especially if doing paid apps Oct 07 22:00:01 you don't want to get sued out the ass Oct 07 22:00:05 when i encrypt a password with AES or DES algorithm can i save my key into an android app like a file? Oct 07 22:00:46 papachan: yes, but that key file will be accessible from rooted phones Oct 07 22:00:58 I may plan to sell apps, but right now it's not my priority Oct 07 22:01:00 best to generate a key in app for each install Oct 07 22:01:24 thanks g00s. Oct 07 22:01:26 birbeck: Desarun_9001 thanks Oct 07 22:01:35 birbeck correct. it would be better to send it to the server Oct 07 22:01:37 i just ordered the sensor kit from TI. Oct 07 22:01:41 so perhaps that will help Oct 07 22:01:52 coderroadie sensorTag ? Oct 07 22:02:17 and as a freelance, could I sell apps? Oct 07 22:02:35 g00s: okay yeah gradle wont build it Oct 07 22:02:41 oK if I make and app that I want to put on google play. I need to have a package name for it. Which means I need to have a domain name registered correct? Oct 07 22:02:59 desmin88 aw shit Oct 07 22:03:04 Shaba1: the package name does not need to be a domain name Oct 07 22:03:06 In my country the least capital for an LLC is 3,000 € Oct 07 22:03:23 in the us llc's are pretty easy to od Oct 07 22:03:26 do* Oct 07 22:03:42 J_Caselles: you dont have to register an LLC, just a business entity as a sole proprietor Oct 07 22:03:42 g00s - yes Oct 07 22:03:49 desmin88: this is Spain, you know how things are done here... :/ Oct 07 22:03:53 though an LLC will give you legal protection Oct 07 22:04:03 whats bills like to setup a llc Oct 07 22:04:07 be careful about capitalization and filing requiriments for corps. it is no joke. this is not legal advice as no atty/client relationship exists on irc Oct 07 22:04:18 g00s: no idea why either, gradle has it listed in the dependencies, so does the ide module settings Oct 07 22:04:20 zmuser3: for sure! Oct 07 22:04:33 hey guys, In android 2.3 does onCreateOptionsMenu get called before onCreate ? Oct 07 22:04:43 zmuser3: spoken like a true lawyer Oct 07 22:04:51 :) Oct 07 22:05:20 zmuser3: anyway, It would take months in Spain to register any corp Oct 07 22:05:45 can do it in a day here. go to attorney general's office and hand file. in Cali anyway Oct 07 22:05:55 hey guys, is anyone able to work with me in a simple project for few hours? i can pay pm me. Oct 07 22:06:05 (btw, if there's any spanish people here, I would really hear their knowledge about this :) Oct 07 22:06:08 didnt someone say no solicating in here Oct 07 22:06:13 Rajni: you've already been told no soliciting Oct 07 22:06:50 JesusFreke: oh sorry, not gonna happen again. Oct 07 22:07:04 i can discuss working with you for 200$ premeet fee Oct 07 22:07:24 lul Oct 07 22:07:33 Anybody know how to fix this dumb appcompat error? Oct 07 22:07:49 I was too lazy to close my corp and I got fined $5400 from feds alone plus state too Oct 07 22:07:55 Does anyone have experience with andoid voice input? Oct 07 22:09:01 what do you have to pay in your country to register a business entity? Oct 07 22:10:02 in california there is $800/year franchise tax just to have a corporation doing no business Oct 07 22:10:21 no idea, im an anarchist / individual sovereign nation Oct 07 22:10:26 plus some filing fees and some yearly stockholder report fee Oct 07 22:11:10 with actionbarsherlock when does the onCreateOptionsMenu get called? Oct 07 22:11:22 £14 Oct 07 22:11:33 it says in normal 2.3 apps it doesn't get called until the user presses the menu button Oct 07 22:11:44 You guys are familiar with in app purchasing then? Oct 07 22:11:52 I really really need help :| Oct 07 22:11:55 but this can't be true for actionbarsherlock since the activity creates an action bar Oct 07 22:12:25 navetz: it's posted to the main thread in onCreate Oct 07 22:12:37 so it runs when the main thread becomes idle Oct 07 22:14:16 JakeWharton: ah okay, I've got a viewpager that is in created in my onCreate method and I use it in my onCreateOptionsMenu, however it's always null when onCreateOptionsMenu gets called. Oct 07 22:14:33 JakeWharton: what defines idle, perhaps waiting on another thread? Oct 07 22:15:45 i shouldn't say idle because it's never really idle Oct 07 22:16:40 JakeWharton: would it be after it creates the view then? Oct 07 22:16:47 if the view is null then just return Oct 07 22:17:01 and then call invalidateOptionsMenu after you get the view or something Oct 07 22:17:26 JakeWharton: gotcha, thank you. Oct 07 22:17:48 something must be triggering it to run synchronously because i'm pretty sure that doesn't happen otherwise Oct 07 22:18:12 that is, something else is calling invalidateOptionsMenu (which is a synchronous call) Oct 07 22:18:37 you might be able to get away with simply returning if the view is null as it will likely get another call from the originally posted runnable Oct 07 22:19:28 JakeWharton: Okay I'll give it a shot Oct 07 22:21:36 curse AS Oct 07 22:22:43 desmin88: ActionScript? Oct 07 22:23:19 yes. Oct 07 22:23:21 actionscript. Oct 07 22:23:56 What on earth could you be doing with ActionScipt in this day & age? Is Newgrounds still around? Oct 07 22:24:25 Desarun_9001: I suspect the last 2 sentences might be taken with a touch a sarcasm :) Oct 07 22:24:42 of* Oct 07 22:24:52 Then I am an unwilling victim to internet sarcasm. Oct 07 22:24:54 JesusFreke is correct. Oct 07 22:25:16 really though Oct 07 22:25:23 why cant AS get this dependency Oct 07 22:25:30 Alright, let's have another attempt. ActionBarSherlock? Oct 07 22:25:37 android studio Oct 07 22:25:43 God damn it. Oct 07 22:25:54 lol Oct 07 22:26:04 you can curse ABS too, though Oct 07 22:26:18 ABS damn it! Oct 07 22:26:20 dont hate the library, hate the dev Oct 07 22:26:30 ;-) Oct 07 22:26:31 srsly Oct 07 22:26:45 gradle has it as a dependency Oct 07 22:26:49 its in module settings Oct 07 22:26:53 what more does it want from me Oct 07 22:27:20 can I place a TextView inside ABS for autocomplete search within the listview below it ? (on the same top line) Oct 07 22:27:33 time to cut out a kidney Oct 07 22:27:38 did you press that little download dependency button at the top right desmin88 Oct 07 22:27:41 if i put kim kardashian in my gradle dependencies, gradle wont magically make her appear Oct 07 22:27:48 sometimes i press it and things magically work again Oct 07 22:28:15 shmoooz: Are you referring to SearchView? If so... No, you probably want your own AutoCompleteTextView for complex things. Oct 07 22:28:38 yeah I made my own Action/Title bar that already does that Oct 07 22:28:39 shigeru, what button? Oct 07 22:28:48 birbeck: but the files are downloaded Oct 07 22:28:52 i dont have as open right now Oct 07 22:28:57 but it looks like a down arrow and something i think Oct 07 22:29:09 but its not as pretty as ABS I suppose Oct 07 22:30:14 shigeru, tried it. still no luck Oct 07 22:30:17 are there benefits to using ABS over the v7 AB? Oct 07 22:30:23 (support v7) Oct 07 22:30:29 :/ ah ok idk then Oct 07 22:30:29 none Oct 07 22:30:39 its great for browsing long lists and going into categories, the titlebar loads the title clicked on and indicates the number of items in that list and has space to fit a autocomplete search box all in one line Oct 07 22:30:41 Trufax: there were benefits two years ago Oct 07 22:30:46 I just assumed that ABS filled a gap that was tehre until google released it recently Oct 07 22:30:53 *that was there Oct 07 22:31:02 right Oct 07 22:31:21 also, thanks for disklrucache Oct 07 22:31:46 manual building also fails Oct 07 22:31:48 so. weird. Oct 07 22:31:54 heh, that's mostly Jesse. I've only made small improvements. It's the canonical source now, though! Oct 07 22:35:00 I'm just getting started with the Action Bar Oct 07 22:35:42 what might make items I add to the actionbar in onCreateOptionsMenu from showing up on the actual ActionBar rather than in the overflow? Oct 07 22:35:59 if it makes a difference, I'm adding the items in a Fragment attached to the activity Oct 07 22:36:22 I've tried android:showAsAction as "ifRoom", "always", and "never" Oct 07 22:36:26 and all have the same result Oct 07 22:38:53 JakeWharton: Truly appreciate your work man, we've got a legacy app with semi-heavy development on it, and you've made it significantly easier for us to do stuff. Oct 07 22:40:20 Sweet. That was the idea! Oct 07 22:40:32 ffs just gonna reinstall AS Oct 07 22:41:09 i know its in beta Oct 07 22:41:22 but really, if you include in the dialog to add the support library for you Oct 07 22:41:24 make it work Oct 07 22:44:51 I've got just one item in my menu xml that I inflate into the ActionBar - is this not how I add actions to the ActionBar? Oct 07 22:46:11 I want a google nexus smartwatch too ... http://cdn.redmondpie.com/wp-content/uploads/2013/04/Nexus-smartwatch-2.png Oct 07 22:46:33 Trufax: xml pls Oct 07 22:46:54 http://hastebin.com/kixacuwixu.xml Oct 07 22:48:21 support actionvar or not? Oct 07 22:48:27 also, show me the inflation code Oct 07 22:49:46 trufax: never forces it into overflow, always the opposite if room when room Oct 07 22:50:12 I know those things - I've got the same behavior when I set it to alwas as I do when it's set to never Oct 07 22:50:43 are you sure you're pulling the right menu xml file? Oct 07 22:50:54 well, there's only one menu xml file, currently Oct 07 22:50:59 and it's most certainly that one Oct 07 22:51:11 I'm importing my own project's R Oct 07 22:51:13 how are you inflating Oct 07 22:51:44 try making two xml files, add 5 dummy menu items, in one set to never in the other set to always and verify the load out Oct 07 22:52:02 I guess that there's nothing obvious going on right now, at least Oct 07 22:52:43 speaking of xml files Oct 07 22:53:12 can anyone suggest and easy tutorial on xml. Not neccessarily android related Oct 07 22:53:37 I tried to google for a few of them but all of them I found drop you in the deep end so to speak Oct 07 22:54:09 for instances they start off talking about "entities" without explaing what and entity is. Oct 07 22:54:21 I'm going to try adding the actions from the Activity, now Oct 07 22:54:23 because its generic Oct 07 22:54:42 Shaba1: an "entity" is literally an entity in the xml - something represented by a tag, right? Oct 07 22:54:59 *by a single instance of a tag Oct 07 22:55:02 shaba entities are node in the schema of the xml tree, i am guessing Oct 07 22:56:34 bar foo is the entity. that is xml for foo=bar pretty much. just a flat file database. you can have attributes bar or even just that is all the xml you need to know really. nothing to it Oct 07 22:59:49 I knew someone was going to try to answer that. Oct 07 23:00:08 I was just using that as an EXAMPLE of what the tutorials do. Oct 07 23:01:48 ffs as is so difficult sometimes Oct 07 23:09:14 Anyone know where the file browser is located in the latest Android Studio? Oct 07 23:10:29 project explorer you mean? Oct 07 23:12:16 I was just about to ask that desmin88 Oct 07 23:12:24 Like what is android studio. Oct 07 23:12:31 oh, I'm not on AS - I'm using the standard actionbar Oct 07 23:12:35 Is that eclipse with the adt? Oct 07 23:12:49 KNERD: I'd assume it's the same place as always Oct 07 23:12:56 desmin88: yes..to view all the files assocated with the project Oct 07 23:12:58 have you found the "Project" tab which is by default at the left? Oct 07 23:13:48 There is a tab labels the same name as the project Oct 07 23:14:44 I'm on Android Studio 0.2.11, no changes to the UI Oct 07 23:14:48 there is no such tab on mine Oct 07 23:14:49 Trufax: but I see nothing to allow exploring to see the different files Oct 07 23:15:02 on OSX, you press "Command+1" Oct 07 23:15:09 maybe ctrl+1 on windows/linux Oct 07 23:15:15 it opens a pane on the left Oct 07 23:15:57 no dice...I will keep looking..thanks..maye the help will do Oct 07 23:16:19 you've changed the layout from default Oct 07 23:16:29 nope Oct 07 23:16:35 go to window > restore default layout Oct 07 23:16:43 wait, have you loaded a project yet? Oct 07 23:16:50 Desarun_9001: way easier to do the tutorial with exclpse. didn't work well at all with studio Oct 07 23:16:52 yes I do and that restore did nothing Oct 07 23:17:09 are there any plans to create android dev environment that doesnt suck? Oct 07 23:17:11 can someone please help a bit? AS wont find the appcompat theme even though its included in gradle/project dependcy Oct 07 23:17:25 JimmyCarter: done trolling? Oct 07 23:17:35 eydaimon: Ah cool man. My (limited 1+ year) experience is that Eclipse is more prevail ant in the industry. How far along are you? Oct 07 23:17:42 KNERD: http://gyazo.com/328333a91b4c973565ff3dd5f079fff9 Double click this Oct 07 23:17:42 KNERD: post a screenshot? Oct 07 23:17:50 "ucatholicproject" Oct 07 23:17:51 part' Oct 07 23:18:42 groovy..i will do that Oct 07 23:19:29 Here's my build procedure: make ; ndk-build ; ant clean ; ant debug ; [Refresh project in Eclipse]; [Clean project in Eclipse]; ant clean (again); ant debug (again); [Refresh project in Eclipse (again)]; [Export in Eclipse]; enter 2x keyphrases; AT LAST apk produced Oct 07 23:19:52 adb install and test Oct 07 23:20:05 at least your ide will fucking find the dependencies Oct 07 23:20:35 as has terrible gradle integration Oct 07 23:21:19 desmin88: Trufax: Here it is http://gyazo.com/30c72823c62b71b10b551168a2832d4d Oct 07 23:21:21 the AS new project even asks if you want to add the support libraries Oct 07 23:21:27 then fails to add them correctly Oct 07 23:21:28 or something. Oct 07 23:21:42 double click myfirstappproject Oct 07 23:22:20 weird Oct 07 23:22:32 if you just double click on myfirstappproject, it will open. Oct 07 23:22:56 actually not...it's a drop down menu...another screen shot? Oct 07 23:23:07 Alternately: View > Tool Windows > Project Oct 07 23:23:17 http://gyazo.com/b88ef5430ba8dcf9df9cb04b7f1fbc3f Oct 07 23:24:06 works for me Oct 07 23:24:08 and of course im always unplugging and replugging in my device and adb kill-server ; adb star-server ing, and restarting eclipse, to keep usb debugging working Oct 07 23:24:14 ahhh..got it thanks Trufax: & desmin88: Oct 07 23:24:28 Now I ws not listening Oct 07 23:24:33 what was his problem. Oct 07 23:24:38 KNERD's that is Oct 07 23:25:05 explorer things was not showing up Oct 07 23:25:49 ok. What did that have to do with ant? Oct 07 23:25:53 for some reason, the project view pane in AndroidStudio was gone. Oct 07 23:26:00 and I am assuming that you are using linux KNERD Oct 07 23:26:08 no Oct 07 23:26:09 dunno what JimmyCarter's problem is aside from having a really complicated build process Oct 07 23:26:17 nobody said anythign about Ant Oct 07 23:28:01 Oh Ok. I scrolled back. That was JimmyCarter that was talking about his developement process Oct 07 23:28:32 welp guess im not making this app because AS sucks total ass at dependencies Oct 07 23:29:01 hehe im just complaining but TBH eclipse is the worst build env i use (i develop for multiple platforms so i use eclipse, xcode, visual studio, or cmake depending which) Oct 07 23:30:23 but luckily i can do most my dev on more amiable platforms and test android relatively rarely Oct 07 23:35:54 except right now im integrating google play game services sdk so im stick repaeting mind-numbing 5-minute recompile-test loops and taken to complaining on irc while i wait 45 seconds for ant Oct 07 23:38:31 hi I am getting a very werid bug in android 2.3. I am getting a classcastexception whenever I call something like: args.putString("url", urls.get(i).getUrl()); The problem is with urls.get(i).getUrl(). Urls is an ArrayList and getUrl() returns a string. Why is this an issue in android 2.3? Oct 07 23:39:37 what's the exact error; usually it'll say what it's getting and what it's expecting, which helps you narrow it down Oct 07 23:39:58 dragorn: 10-07 19:32:02.033: E/AndroidRuntime(482): java.lang.ClassCastException: java.lang.String Oct 07 23:40:59 there is more to the trace but that is the error :( Oct 07 23:41:20 JimmyCarter what OS do you use? Oct 07 23:42:10 osx usually Oct 07 23:42:16 JimmyCarter surprised; ant should be pretty fast Oct 07 23:43:29 ant used to be like 10 secs, till i added admob sdk and google play services sdk, that upped it significantly. still wouldnt be that bad. its having to do it *twice* that kills me Oct 07 23:43:45 ok nevermind then Oct 07 23:43:50 I use window7. Oct 07 23:44:09 I was going to ask if you found Androide Studio faster then eclipse Oct 07 23:44:19 no way Oct 07 23:44:21 dunno maybe i should try it Oct 07 23:44:37 gradle is too slow Oct 07 23:44:56 gradle? Oct 07 23:45:19 AS will produce an apk with gradle, its pretty slow compared to ant or eclipse / adt Oct 07 23:46:37 JimmyCarter i've been meaning to check out facebook's buck build system for android; out of curiosity - wonder if its faster. they have an intellij plugin Oct 07 23:48:28 let me know if it works. one of my problems is im off the beaten path because my code codebase is mainly c++ Oct 07 23:48:39 oooh Oct 07 23:48:41 hm Oct 07 23:51:48 Can anyone give me a hint why urls.get(i).getUrl(); causes a classcastexception in android 2.3 but not 4.0 ? urls is an ArrayList and getUrl() is a method that returns a string. Whenever I attempt to use urls.get(i).getUrl(); as a string I get the classcastexception in android 2.3 Oct 07 23:51:52 could this be eclipse being crazy Oct 07 23:51:53 ? Oct 07 23:56:17 can anyone recommend something that will give me a live running logcat on PC? like a tail -f command Oct 07 23:56:38 adb logcat Oct 07 23:57:05 oh crap i knew that /facepalm Oct 07 23:57:13 been a while lol thanks bankai_ Oct 07 23:57:13 how can I detect from an intent service what state my app is in? Oct 07 23:57:54 nesoi: what do you mean? if an intent service is running, your app is started Oct 07 23:57:59 I want to display a notification only if the app is not currently in focus Oct 07 23:58:23 you need to handle that yourself Oct 07 23:59:00 the notification is being put up by the GCM receive intent in this case. I would like it not to put up the notification if the app is currently in foregroujnd Oct 07 23:59:03 your activities could bind to a local notification service, you could use a singleton, track state in the app, etc Oct 07 23:59:34 the main app is phonegap, so it's all javascript Oct 07 23:59:35 there's so many ways... Oct 07 23:59:41 go ask #phonegap Oct 07 23:59:57 this is a java piece though Oct 08 00:00:02 the gcm receive intent Oct 08 00:00:03 or you could query the app manager to see what the package is of the foreground app, though that would be a bad way Oct 08 00:00:07 anyway, the simple approach is to set a flag onResume of your activity and clear it onPause Oct 08 00:00:38 and if the flag is not present, show the notification Oct 08 00:00:42 where/how you set the flag is up to you Oct 08 00:00:49 singleton, service, preferences, etc. Oct 08 00:00:53 the choices are many Oct 08 00:01:05 birbeck, that's the worst way :p Oct 08 00:01:28 pfn: yeah, not recommended.... probably how phonegap does it :P Oct 08 00:01:33 On Google Play, is it mandatory to write "what's new" information for app updates? Oct 08 00:01:37 forgotmynick, no Oct 08 00:01:42 pfn thanks Oct 08 00:01:45 birbeck: why would that be a bad way? pfn the problem with that approach is, what happens if the phone is shut down by removing the battery or something? Oct 08 00:01:50 forgotmynick: though you users will appreciate it Oct 08 00:02:07 nesoi: then the app would not be running Oct 08 00:02:25 then notification would be delivered next time the phone boots Oct 08 00:02:39 you can also use ordered broadcasts Oct 08 00:02:48 birbeck: but when the phone restarts, the intent service will restart and it will check the app-running flag and see that the app is running, no? Oct 08 00:03:12 if youre using a preference for the flag, sure Oct 08 00:03:13 since the app would not have had a chance to unset it Oct 08 00:03:20 there are other ways to track the app state Oct 08 00:03:24 how? Oct 08 00:03:33 in the application class, in a local service, in a singelton, etc Oct 08 00:03:44 what about querying the app manager? why would that be a bad idea? Oct 08 00:03:48 its temporary state, dont write it to a file Oct 08 00:04:05 well first, it requires extra permissions that you probably dont already need Oct 08 00:04:18 second, its intrusive (hence the permission) and slow Oct 08 00:04:45 gcm receive events are rare, so being slow shouldn't be an issue. what's the permission needed? Oct 08 00:05:03 read app state, read installed apps Oct 08 00:05:53 hm.. the alternative is to have the app write some status to the gcm intent handler every time it gains or loses focus I guess Oct 08 00:06:26 android.permission.GET_TASKS Oct 08 00:06:41 why would you do that? Oct 08 00:06:57 decouple the state from the intent handler Oct 08 00:07:49 the intent handler is the only thing guaranteed to be running when the gcm receive event happens. the rest of the app is likely to not be running. so the receive intent has to decide whether to put up a notification or not. Or am I missing something basic? Oct 08 00:08:01 oh well. there are a number of ways to do it... what you choose is up to you Oct 08 00:08:21 how would you do it? Oct 08 00:08:23 your application context is guaranteed to be running Oct 08 00:08:53 hm. what does that do for me? Oct 08 00:09:38 simple route? create an abstract base activity (which extends ActionBarActivity) and extend android.App.Application. in the base class, write a flag to the application class onPause/onResume Oct 08 00:10:16 better route? write a simple local notification service which activities bind to Oct 08 00:10:36 hey, can I ask, how do you manage to create the icons? are you great designers aswell? I really suck at it Oct 08 00:11:00 ive got to go get changed and hit the road Oct 08 00:11:04 i suck at it too! Oct 08 00:11:25 I'm not understanding the latter one. birbeck. What would a local notification service do for me? Oct 08 00:12:21 bankai_: :D Oct 08 00:12:50 befriend a web dev or graphic designer ;) Oct 08 00:13:16 you can also buy images and touch them up, or go to a free site Oct 08 00:15:03 bankai_: friendlyness it's my only budget for the time being... Oct 08 00:15:46 hey guys, is there an easy way to tweak a view's draw bounds so it can draw outside (like, say, a shadow) without changing how its laid out? Oct 08 00:27:54 set the parent's clipChildren to false Oct 08 00:29:37 ah ok, so the canvas you're giving isn't necessarily clipped to your height/width? Oct 08 00:29:44 yep Oct 08 00:30:41 doesn't seem to work Oct 08 00:31:58 does anyone have experience with android voice recognition (speech to text) Oct 08 00:32:00 ? Oct 08 00:48:42 @jayd16 make sure the viewgroup is actually on top of the thing you're trying to draw over Oct 08 00:50:16 @dcow hmm ok, these are listview items and sometimes that does get tricky Oct 08 00:58:10 I have a framelayout with padding so I know it has room to draw on, clipChildren set to false, clipToPadding set to false, and still the canvase I get is clipped to my view height and width Oct 08 01:06:48 @jayd16 are you sure the view draws outside its bounds? Oct 08 01:13:19 dcow can you go over quickly, again, how you guys were solving that kerning issue ? Oct 08 01:13:50 somebody else had the same problem with Helv Neue Oct 08 01:14:03 but i couldn't recommend anything Oct 08 01:19:12 What would be a good way to achive the following layout with a fixed number of items? http://i.imgur.com/EnGsCe4.png Oct 08 01:20:57 @g00s we have not solved it yet. Webkit does kerning and most of our content experience is reading our marked up content in a webview so that's fine. To do kerning for system view you would have to bundle freetype into your application and hook into the font layout process. Oct 08 01:21:29 sounds hard :P Oct 08 01:21:35 this is our goal, but for now we're using the standard views with roboto. Oct 08 01:22:14 @g00s not when you work with one of the guys who worked on apple's font layout engine Oct 08 01:22:26 oh, awesome ;) Oct 08 01:33:01 Howdy Oct 08 01:33:53 Hmm, I think a TouchDelegate is probably the easiest way without doing fancy stuff with android.text.Layout Oct 08 01:42:09 For such a large channel there is an unusually small amount of activity @_@ Oct 08 01:51:22 lemonxah having fun with mqtt :D Oct 08 01:56:08 aww yeah Oct 08 01:56:12 settin up mah pebble Oct 08 01:58:06 hello , i want to take simple webcam screen as png from my service. I can take webcam shot by sending intent from activity Oct 08 01:58:09 but my problem is Oct 08 01:58:13 Intent i = new Intent("android.media.action.IMAGE_CAPTURE"); Oct 08 01:58:24 this.startActivityForResult(i, MainMenu2.REQUEST_CAMERA); Oct 08 01:58:34 i can't call startActivityForResult from Service Oct 08 01:58:48 so ? its impossible to make webcam shot from service? Oct 08 02:15:43 Hi, I'm trying to build AOSP / b2g for a device and I get this error: "build/core/product_config.mk:223: *** Cannot locate config makefile for product "full_sugar_ref001". Stop." Oct 08 02:15:52 I have sugar_ref001.mk Oct 08 02:21:16 how do you communicate with a service from an activity? Oct 08 02:22:29 Napalm quick q, which json parser did you like best? Oct 08 02:23:38 Hello, I want my ListView to scroll to an item when it's loaded. I don't have the position of the item, I just know the value that appears on the ListView. Oct 08 02:23:40 akaizen: #android-root or the like Oct 08 02:24:00 I'm using a simplecursoradapter Oct 08 02:24:21 bankai_: thanks Oct 08 02:40:46 BanKAI! Oct 08 02:41:12 hm, i wonder what add library this really is http://www.fireeye.com/blog/technical/2013/10/ad-vulna-a-vulnaggressive-vulnerable-aggressive-adware-threatening-millions.html Oct 08 02:41:24 (they don't say) **** ENDING LOGGING AT Tue Oct 08 02:59:59 2013