**** BEGIN LOGGING AT Tue Nov 26 02:59:58 2013 Nov 26 03:07:20 hello Nov 26 03:07:53 does the alarm manager run on the main thread? Nov 26 03:10:32 Holy crap, it works! Nov 26 03:11:49 Some_Person: how did you do it ? Nov 26 03:12:29 Basically just dropped in some code from somewhere that unlocks the screen Nov 26 03:12:46 and added the needed permissions Nov 26 03:12:50 from a service ? without a window ? Nov 26 03:13:17 http://pastebin.ca/2481561 Nov 26 03:14:36 cool Nov 26 03:17:09 I still need to test it in some situations, but I think it's pretty much ready to go Nov 26 03:21:56 yeah, it does really weird things with Pandora running Nov 26 03:22:56 but it does pretty much work Nov 26 03:25:05 hey, is anyone familiar with the internals of android and could tell me where com.android.internel.R.layout.transient_notification would be? Nov 26 03:30:02 what's the best way to get out of the weeds and see my project clearly again? it's all muddled together and I don't know where anything goes anymore. Nov 26 03:32:25 Now, for a final touch, is there a way to make the app not show up in recently used? Nov 26 03:33:10 damccull: start again Nov 26 03:34:06 bankai_: in a manner of speaking, i did. I wrote the process I'm SUPPOSED to do on paper Nov 26 03:34:12 now maybe it'll guide me through the weeds Nov 26 03:40:00 It acts really weirdly when making a phone call with Pandora in the background -- Pandora keeps playing at a low volume while the call is going on, but I checked and the recipient can't hear Pandora Nov 26 03:44:23 We're finally doing cool stuff in my graphics class Nov 26 03:46:54 hey guys quick question, I am using this method to take a screenshot of my homescreen http://pastebin.com/8hJvxzA0 will I be able to send an image over tcp using that method or different method? Nov 26 04:11:19 i hate services :( Nov 26 04:11:22 they are poop Nov 26 04:11:38 anybody know how much of google's voice recog system is done on the server vs on the phone itself? Nov 26 04:15:12 do i have to CONNECT to a socket in a thread too? Nov 26 06:03:07 Just so everybody knows. The Sensor.TYPE_ROTATION_VECTOR relies on auto-rotate being on for my huawei g300+ running official ICS Nov 26 06:07:11 hi, Nov 26 06:44:49 Hi, I need a 10" android tablet with good miracast support, do you have recommendations? Nov 26 06:50:14 Anybody ever used the usb-serial-for-android on github? Nov 26 07:31:22 Hi all, does someone here have experience with fragments and transitions? Nov 26 07:31:37 I am having some issues trying to make a transition between a fragment and a nested sub-fragment Nov 26 07:31:48 the "core" of the parent fragment is replaced by the child nested fragment, but some UI controls (a button) from the parent still remain in the view Nov 26 07:42:17 http://pastebin.com/raw.php?i=bVCER1D3 wtf? I am trying to rebuild my old project with new build tools after a long time, and I got this error. Nov 26 07:47:38 Pitel_IPEX you'd have to do something like this https://groups.google.com/forum/#!msg/adt-dev/P_TLBTyFWVY/hguIFxe_s_EJ Nov 26 07:47:50 but thats gradle, maybe you can do something in ant too Nov 26 07:50:48 morning guys and gals Nov 26 07:51:02 has anyone used youtubethumbnailview before? Nov 26 07:55:11 hey! I'm currently developing an application which needs many lists that have to be known by several activities. Should I always pass them via an intent or create some kind of 'storage' class? Also, I have a list of lists that I have to pass to another activity. How should I do that? Nov 26 07:58:47 hi. When I upload my app to developer console I am getting "cannot verify apk" and I cannot know the reason. would someone please help? thanks. Nov 26 07:59:02 KNUBBIG: generally people recommend less static variables Nov 26 07:59:46 squ: which would mean passing stuff in the intents would be preferable, right? But what do I do about the list of lists that has to be passed? Nov 26 07:59:52 hello... does anyone know how to get Nexus 5 device definiteion set up on Android Studio? Nov 26 08:00:00 that means you pass your storage class instance to each activity Nov 26 08:00:08 i would like the preview layout view to show nexus 5... thank you Nov 26 08:01:08 KNUBBIG: that is very good that you asked such question before making decision yourself :) Nov 26 08:01:45 this app is has version code 17 by now.. and I cannot see it in the play store search engine, though it's published. It shows up if I put its address. Nov 26 08:01:47 squ: okay, thanks :) That means I write something like public class Storage extends Parcelable or Serializable and then pass it? Nov 26 08:03:21 Does andorid sutdio 0.3.2 support the native library? Nov 26 08:04:45 KNUBBIG, if you like to store your data in some kind of storage class, you can use an Application subclass and use it in the tag og the manifest Nov 26 08:05:16 the application class of an app is a singleton Nov 26 08:05:48 pduin: thanks a lot! :) Nov 26 08:07:34 I guess you do a bit of data duplication if you are passing around data in an Intent Nov 26 08:07:51 yes, a lot that's what bothered me Nov 26 08:09:17 found this example for more info: http://www.devahead.com/blog/2011/06/extending-the-android-application-class-and-dealing-with-singleton/ Nov 26 08:10:11 thanks! :) Nov 26 08:10:31 I'm having some problems with ListView (using a custom adapter). I'm new to Java, so probably making alot of misstakes. But tried following a walk through. But bascailly I get an "FATAL EXCEPTION: main" that complains on "java.lang.ClassCastException: android.widget.LinearLayout cannot be cast to android.widget.ImageView Nov 26 08:10:31 at com.example.antares.MainActivity$PlaceholderFragment$1MySimpleArrayAdapter.getView(MainActivity.java:207)". The code is: http://pastebin.com/JhuGqWH1 Nov 26 08:10:33 np. good luck Nov 26 08:27:43 No worries. I just messed up, trying to change a LinearLayout as an ImageView.. Like the error said :P Nov 26 08:52:04 Hi! I want to add English to my Play Store listing. My default language is Dutch (nl-NL). Should I add both en-GB and en-US, or is one of them enough? Nov 26 08:54:26 nunne: casting a LinearLayout to a ImageView makes no sense. What exactly are you trying to do? Nov 26 08:55:42 and could you paste the relevant part of your code? (not in the channel, but use a site like paste2.org) Nov 26 08:57:01 anyone here know how to handle a classnotfound because you're using a provider class not supported w/older apis? Nov 26 08:57:11 (specifically DocumentsProvider on Froyo) Nov 26 08:57:34 I want Froyo to ignore in the manifest Nov 26 08:58:12 then (a) don't use it on those older versions or (b) use something from the support library (if available) or (c) drop support for some older android versions Nov 26 08:58:23 oh, wait :p Nov 26 08:58:31 eh, that't something I don't know... Nov 26 08:58:37 (a) how? (b) doesn't and (c) can't Nov 26 08:59:07 it's a weird situation... if I could instantiate the provider programmatically... that would solve it Nov 26 08:59:08 (a) is not applicable here I think. And if it is, then I wouldn't know Nov 26 08:59:16 but it seems to be hardcoded in the manifest Nov 26 08:59:35 I just need the class to be built and exist... it's not used by froyo... Nov 26 09:08:26 damn I don't think there's a way to do this. Nov 26 09:17:02 Peetz0r: wouldn't it be better to use res/values/strings.xml for English (default) and values-nl/ for others? Nov 26 09:17:43 (not so sure whether the language "group" like "nl" instead of "nl-NL" is supported though, I could not find it in the docs) Nov 26 09:18:37 Peetz0r: ah, it should be possible http://developer.android.com/guide/topics/resources/providing-resources.html#LocaleQualifier Nov 26 09:22:31 hello all Nov 26 09:22:46 When I kill my activity via the application switcher, any processes spawned in the child still stays alive. Any way to kill those children too? Nov 26 09:22:50 hi gfather Nov 26 09:23:33 so google play does not allow any payment option as the developer wants , but it has its own authorized payment providers as i know, example http://fortumo.com/in-app-payments-for-android Nov 26 09:24:00 my question is , is there a list or place to check all payment providers authorized by google Nov 26 09:24:10 hey Lekensteyn, how its going ? Nov 26 09:25:11 I thought that you were only allowed to use Google Wallet for payments? And then a cc can be added to Google Wallet? Nov 26 09:25:56 as i know , there are some authorized third party payments in which you can use Nov 26 09:26:27 strangly no one talks about it :) , and i would like to know these companies to choose the best one/ones if it was possible Nov 26 09:26:56 then I don't know, sorry Nov 26 09:27:36 If Google has their own payment provider, it does not seem to provide them benefits to allow other companies too. Nov 26 09:28:57 Lekensteyn: I wasn't talking about the app itself, but the Google Play listing for the app Nov 26 09:29:56 hi,all Nov 26 09:30:36 what does "SCN" meaning on camera app screen/ Nov 26 09:30:37 ? Nov 26 09:32:46 Peetz0r: en-US, en-GB, en-CA, etc. are regions, if your application is just about the language (and not other i18n features such as currency), then it seems fine to add en-US, en-GB, etc. Nov 26 09:33:26 wh-hw: scene? I thought that it was some terminology from photography. You should ask that on #android, not here. Nov 26 09:33:59 Lekensteyn, i dunno Nov 26 09:38:16 Lekensteyn: your nick sounds somewhat Dutch to me. Am I correct? Nov 26 09:40:29 wh-hw: yes. When you touch it, is gives you a list of possible scene modes, like "night", "portrait", "snow" and "action", but the default setting is offcourse "automatic". How well this actually works might depends on the camera, which is different in each phone (and most phones ship with a completely different non-stock camera app) Nov 26 09:42:11 Peetz0r: it's not a real name, but you can check /whois if you want :) Nov 26 09:42:41 hey all. im trying to use the LocationManager to get access to my device's gps. It works fine when I call (LocationManager.requestLocationUpdates(...myLocationListener...)). However, it fails if I call LocationManager.addGpsStatusListener *before* calling requestLocationUpdates. Logcat doesn't show any output at all, and nothing in my application happens when I try and call LocationManager.addGpsStatusListener. Does anyone have Nov 26 09:42:42 any advice as to how I can figure out what's going on? Nov 26 09:42:47 Peetz0r, ok, thanks . Nov 26 09:43:24 Lekensteyn: I just did, and our country and first names match :) Nov 26 09:44:14 Hoi naamgenoot :) Nov 26 09:44:48 Why can't i modify the properties on a View with the Graphical Layout? for example i created a TextView and trying to modify the Test Size, the gravity etc and i'm not able to do this, every time i insert a value i doest put in the field https://www.youtube.com/watch?v=BxWnfDvEVeI Nov 26 09:55:08 no one? Nov 26 09:55:55 don't use the graphical editor? Nov 26 09:57:43 CallumTaylor: i can't understand why is this happen on every single project i create, and also i will like to use it sometimes. Nov 26 09:58:01 xml master race Nov 26 09:58:04 also eclipse is a pile of shit Nov 26 09:58:13 if you want a decent graphical interface, use android studio Nov 26 09:58:23 Godfather_: try restarting elipse and try again. if that won't work, then just use the xml text editor. And you could try reporting the bug somewhere, but don't expect too much Nov 26 09:58:27 (for xml), i've found it works infinitely better than eclipse Nov 26 09:58:34 I don't use the graphical layout editor. Nov 26 09:58:40 I find it just craps itself in a lot of scenarios, or doesn't display anything useful. Nov 26 09:58:49 especially with custom views Nov 26 09:58:59 any one have any idea about third party payment providers ? Nov 26 09:59:06 In IntelliJ, anyway, so same thing as AS. Nov 26 09:59:20 Peetz0r: i doesn't work for every project i created Nov 26 09:59:21 Stick to just writing the XML by hand. Especially considering AS/IntelliJ produce the world's absolute worst XML if you don't intervene. Nov 26 09:59:39 but i noticed if i download another project from other people i can modify those Nov 26 09:59:44 Everything all on one line of course that's what I want thanks IntelliJ. >:| Nov 26 09:59:48 I just use the grapical thing as a 'preview' button that works faster than actually building and ruunning the app, but I use the xml editor for most of the work Nov 26 09:59:57 +1 to sticking to XML Nov 26 10:00:12 i've never had the need to use the gfx viewer Nov 26 10:00:14 Peetz0r: it's terrible for previewing too, since you are never fully sure it's going to be an accurate representation Nov 26 10:00:17 Peetz0r: There's actually a preview-only pane in IntelliJ. Nov 26 10:00:22 once you get used to xml you can visualise how it's going to look Nov 26 10:00:33 YuviPanda: it's never going to be regardless Nov 26 10:00:41 paddings on one device can be different on another etc Nov 26 10:00:42 I've only bothered with it for relative layouts, but even those it's sometimes hard for it to render. Nov 26 10:00:45 its stupid Nov 26 10:00:50 CallumTaylor: indeed. hence uselessness Nov 26 10:01:06 yuvipanda: true, that's why I also preview on my device as well, but having a faster preview is still nice. even when it's not as accurate as I wish Nov 26 10:01:37 Nilium: nice, but I'm still waiting until AS is released as stable Nov 26 10:01:38 I'm pretty newbie from android dev (1 day) and i don't like to deal will all those properties too soon, i will like to go first with graphical, :( Nov 26 10:01:55 I just use IntelliJ. Nov 26 10:01:56 Godfather_: just learning XML is easier, believe me :) Nov 26 10:02:17 The IntelliJ 13 EAP is stable enough for my purposes Nov 26 10:02:59 Peetz0r: you'll be waiting a long time Nov 26 10:03:16 CallumTaylor: I can live with 'regular' ADT for now Nov 26 10:03:18 I use it currently for production apps and it's fine Nov 26 10:03:23 I wonder if gradle android support in EAP is working yet Nov 26 10:03:34 eclipse is seriously the worst piece of shit i've ever had to use Nov 26 10:03:46 CallumTaylor: ever used netbeans? Nov 26 10:03:50 even worse Nov 26 10:03:53 I use Scala for dev, so I'm already living on the edge, man. Nov 26 10:04:00 Hahahanetbeans Nov 26 10:04:11 yeah, netbeans is really bad Nov 26 10:04:22 but eclipse is only slighly better Nov 26 10:04:33 IntelliJ is my god. Nov 26 10:04:57 The important thing is I just need to try not to blame Eclipse for things that aren't its fault Nov 26 10:04:59 regardless of all that, it works, and I'm goine to finish this project in eclipse :) Nov 26 10:05:14 going* Nov 26 10:05:22 Nilium: No. it's all its fault Nov 26 10:05:34 ridiculous memory usage, slowness, crashyness Nov 26 10:05:43 Well, slowness is my problem. Nov 26 10:05:58 Importing a project and saying "invalid project name" or some bullshit Nov 26 10:06:03 I'm fine with the memory usage. I've got 16gb of ram, may as well put it to use. Nov 26 10:06:09 At any rate, I just can't figure out why Eclipse takes 1-2 seconds to open a context menu. Nov 26 10:06:18 not when i have source tree open which is another memory hog Nov 26 10:06:42 I keep trying to use Source Tree but end up going back to my usual terminal routine. Nov 26 10:06:55 its good, just not quite there yet Nov 26 10:07:16 lol, I've got 4gb here, and my webbrowser usually has at least 10 tabs open, which eats memory like a horse Nov 26 10:07:39 I only like it for the ability to commit hunks easily, but I can do that just as well with git add --patch Nov 26 10:07:45 and then there's the lack of SSD, so I want to have more (always more!) HDD cache in ram Nov 26 10:07:52 and then there's eclipse... Nov 26 10:08:11 I never figured out how to do an equivalent to an interactive rebase either, but I'm sure it's in there Nov 26 10:08:16 (and eclipse esn't even that bad, compared to my browser :p ) Nov 26 10:08:44 'Cause sometimes I like to go back and split one commit into a few different commits so I can cherry-pick them. Nov 26 10:08:46 oh and the fact that eclipse is written in java, doesn't have retina support Nov 26 10:09:16 IntelliJ is Java-based as far as I know and supports retina fine. Nov 26 10:09:23 eh, the density of my desktop display is so low that android wouldn't even support it as ldpi xD Nov 26 10:09:26 excatly Nov 26 10:09:48 I'm going with the "Eclipse developers just don't use retina macs and therefore can't be arsed even a year later" Nov 26 10:09:58 +explanation Nov 26 10:10:22 or they don't care about their community enough to add support for new hardware, and fix bugs Nov 26 10:10:46 my display is "whatever was cheap in 2007 and still works" but yeah, it sucks when your fonts are upscaled in some ugly way on a higher-density screen Nov 26 10:12:09 I have three screens, but one is a retina macbook, and that's the one I use as my primary, so it's nice when an IDE or editor supports it. Nov 26 10:12:32 I wonder if Windows ever figured out the per-screen DPI settings thing Nov 26 10:12:47 CallumTaylor: raise a ticket under your paid support contract Nov 26 10:12:58 'Cause I had to nuke it off my system when it turned out that having one high-density screen made the other screens useless. Nov 26 10:13:05 if I had a screen with that density (not counting phones), then it would also be my primary screen Nov 26 10:13:37 Nilium: oh, well, that sucks Nov 26 10:14:00 I'm pretty sure it was fixed. Nov 26 10:14:00 Might've been a Win 8.1 thing Nov 26 10:14:25 morning all Nov 26 10:14:29 ctually, a DPI setting that's not per-screen is just "wrong", but I wouldn't know how you could possibly render a window stretched across two screens with different dpi's Nov 26 10:14:53 but my screens are 80dpi and 100dpi, so I couldn't be bothered. And I don't run windows ;) Nov 26 10:15:09 Well, OS X currently manages it by just changing the scaling factor and invalidating the window, I think. Nov 26 10:15:47 And as of 10.9, different screens can't have windows spanning both screens (part of the per-monitor virtual desktop stuff) Nov 26 10:15:57 But what if a window is partly on screen 1 and partly on screen 2? Nov 26 10:16:07 So the multiple DPIs thing is actually kind of simplified Nov 26 10:16:14 Or in the middle of being (slowly) moved accross different screens? Nov 26 10:16:38 I think in Windows 8.1 the DPI scaling is just set so that one screen has a target DPI and the others get scaled appropriately Nov 26 10:16:52 If a window is partly on two screens, it draws it at whichever DPI has the majority of the window. Nov 26 10:17:12 That said, like I mentioned, you can't have two windows spanning multiple screens anymore. Nov 26 10:17:34 Oh well, I'll just move on and use multiple screens the old-fashioned way Nov 26 10:17:42 Er, windows spanning multiple screens. Side-effect of rewriting that sentence a bit.. Nov 26 10:17:52 with some defsult dpi setting that looks okay-ish on both (cheap) screens Nov 26 10:18:47 What I really need to do is figure out how to dual boot linux on this macbook, but it's apparently rather difficult. Either way, none of this is Android-y. Nov 26 10:19:18 I'm sure someone's staring at this conversation, wide-eyed and grinding their teeth down to the roots and pulp of the gums Nov 26 10:19:27 FYI, you're going to have nightmares about losing teeth now. Nov 26 10:28:37 hi, sorry but this is awkward to google but does anyone know what goes in build.gradle to point it to another build.gradle in a higher directory? thanks Nov 26 10:32:51 only way to save a bitmap file is to compress it ...? Nov 26 10:34:10 macTAR: you could store the raw bytes to disk Nov 26 10:36:04 Anyone have any good tips/advice for using Volley? Nov 26 10:39:55 do you need it? :) Nov 26 10:40:33 does anyone here use gradle? Nov 26 10:40:59 RambJoe: I do Nov 26 10:41:49 do you have your build.gradle in the folder named after your project inside your project, then another build.gradle in the root? Nov 26 10:42:08 what do you mean by 'point it to'? Nov 26 10:42:39 yes the root applies to all the modules in your project Nov 26 10:43:10 on my desktop computer, there were multiple build.gradles, I can't remember the command but it seemed it just directed it to the main build.gradle Nov 26 10:43:59 Hi all, currentlly i have a custom camera and preview in my app but the preview quality has a bad quality, how can I fix this to the best quality? I already set the resolution of my camera but doesn't change anything Nov 26 10:44:04 Hi all, does the R.layout.filename points to the same id as R.id.androidIDSetToLayoutTagInFileName? Nov 26 10:45:29 Im having a problem replacing a fragment with a nested fragment Nov 26 10:45:56 I reference the R.layout.filename to inflate the layout when the fragment is built Nov 26 10:46:36 but when I call for the transition between the fragment and the nested fragment I have to refer to the R.id.androidIDSetToLayoutTagInFileName main layout of the fragmen Nov 26 10:46:54 however when I do that and call the transition, part of the fragment remains Nov 26 10:47:04 oh maybe it was in settings.gradle Nov 26 10:48:31 yeah that was it, you need include ':FolderName' in settings.gradle Nov 26 11:20:01 Is there an Object to see jpg pictures, that handle EXIF ? Android system handle this but ImageView doesnt, wtf.... Nov 26 11:20:26 i dont want to use bitmap there is to much cpu use Nov 26 11:28:05 I don't think you can display the data without having the bitmap. Nov 26 11:28:37 The system needs to know what each pixel looks like, a bitmap has that information. Nov 26 11:35:08 hi, is there a reason that chrome behaves differently on specific phone (oppo find 5), than it does on others? it doesn't respect device-width, user-scalable=0 and others Nov 26 11:35:34 just wondering if that's the problem with just this phone or if it's common that some behave differently than others Nov 26 11:36:40 is the browser on that phone modified by Oppo, or is it directly from Google? Nov 26 11:37:35 another question, how do I use values like GoogleMap.MAP_TYPE_TERRAIN (actually an integer) in a xml-defined array? Nov 26 11:38:31 is there any way to check if it's been modified? afaik it was installed from market Nov 26 11:39:25 pull the chrome apk from /data/app to your desktop, md5sum it, and paste that in google Nov 26 11:39:49 (I wouldn't know what you'd find, but it might be interesting) Nov 26 11:40:02 will try it Nov 26 11:49:04 how good/bad is oppo 5 deanrock Nov 26 11:49:20 did commies do a fine job ? ? Nov 26 11:49:23 wasted so much time today pissing about trying to make android studio work with gradle properly Nov 26 11:49:51 would been better if you had taken the path less travelled on RambJoe Nov 26 11:52:24 Looney: oppo is quite good ... no problems so far, except different behaviour in chrome :) Nov 26 11:53:25 Commies always do a good job. Remember that most phones by well-known brands are produced (at least partially somehow) in China anyway Nov 26 11:53:40 I have a JiaYu G3, and happy 'bout it Nov 26 11:54:21 I know, but Oppo is like "a phone from commies, for commies" ;-) Nov 26 11:54:27 I personally have a HTC Nov 26 11:54:44 would suggest reinstalling Chrome Nov 26 11:54:47 JiaYu is the same kind of brand as Oppo :) Nov 26 11:55:14 I also have a HTC, but it's a Wildfire, so I don't think that really counts :p Nov 26 11:55:15 and HTC is supposed to be better than Oppo? Nov 26 11:55:36 maybe HTC one x, but others are somewhat crappy Nov 26 11:55:40 deanrock: more expensive, yes. Better, dunno. Depends on user preference I think Nov 26 11:57:51 Some people only use phones that they get from their carriers. Some people only use phones that they can buy in their own country. Some people like to pay extra for a brand like HTC, Samsung or Apple. Some people like vendor-specific features, while others dislike them. And the list goes on and on and on... Nov 26 11:58:35 hi guys, I'm trying to create a two pane application using fragments. Nov 26 11:58:38 Chrome should be the same everywhere, except for differences caused by hardware limitations - e.g. it might accelerate more stuff on a device with a more capable GPU Nov 26 11:58:40 personally i prefer aosp over touchwiz or any other vendor modification Nov 26 11:58:53 deanrock: same for me Nov 26 11:59:03 The problem I'm facing is that when I try updating my list via the adapter, the wrong fragment is populated with items Nov 26 11:59:04 Leeds: i would thought so too Nov 26 11:59:05 I personally just went for the cheapest phone that had decent specs, and was as close to stock android as I could find Nov 26 11:59:38 The Nexus 4 would have cost 2x what I paid for my JiaYu G3 Nov 26 11:59:54 Instead of populating the right pane, which is reserved for actual content, when I click the item the left pane is populated Nov 26 12:00:22 I don't get how it happens, as the right pane inflates the layout that has my listView in it Nov 26 12:00:50 impedancee: post your code around the fragmentManager calls, and someone might take a look Nov 26 12:01:50 Peetz0r: 1 second. Nov 26 12:03:53 Peetz0r: http://pastebin.com/EpLjidQe This is the actual call, but it doesn't really help. Nov 26 12:04:15 Peetz0r: I'll post the other code too Nov 26 12:07:32 Peetz0r: http://pastebin.com/sUeGM1hu This is the code that is run Nov 26 12:07:56 if I click the second selection, the textView is visible, nothing weird happens to the layout Nov 26 12:08:27 if I click the first one, the left fragment is replaced by my listView, Nov 26 12:11:00 Hi, I need to disable navigation and status bars permanently. could anyone give me suggestions how to do it on not rooted device? Nov 26 12:12:11 torniker: are you talking about creating a Launcher application that covers the statusbar? Nov 26 12:12:28 what do you mean by "cancel navigation"? Nov 26 12:13:51 impedence is this a pager? Nov 26 12:14:34 thepoosh: I need to create custom app and bind the device only to this app.. so that user won't be able to use other apps Nov 26 12:14:48 you cannot do that Nov 26 12:14:59 the way to do that is not via an app Nov 26 12:15:03 thepoosh: is it possible with rooted devices? Nov 26 12:15:05 but via a custom ROM Nov 26 12:15:31 thepoosh: thank you Nov 26 12:15:34 maybe if you create a custom launcher app and set it to be the default Nov 26 12:15:41 but I think it's not as simpe Nov 26 12:15:54 hey, i'm trying to figure out the way from changing a view like settext() on textview to display at on the display. i know i have to find my way to surfaceflinger, but at the moment i stuck with a call in settext(): notifyViewAccessibilityStateChangedIfNeeded(AccessibilityEvent.CONTENT_CHANGE_TYPE_TEXT); Nov 26 12:15:56 lasserix: it's not a pager, no Nov 26 12:16:34 oh well your getposition coding is malfunctioning? Nov 26 12:16:50 i think, this will initiate any progress, but i can not find any declaration of this call - i found the constant in accessibilitservice - any hints or ideas where i have to go on? Nov 26 12:19:46 impedancee: is R.id.article_fragment the id of your left or right fragment? Nov 26 12:20:42 Peetz0r: article_fragment is the fragment on the right. Nov 26 12:21:04 I'm not an expert on fragments, but try playing around with everything in your code that uses R.id.*_fragment Nov 26 12:21:22 I think the error has to do with the fact that I select the item in the left hand side Nov 26 12:21:32 is there a way to automatically stretch a GridLayout to full width/height of the view? in http://stackoverflow.com/questions/10016343/gridlayout-not-gridview-how-to-stretch-all-children-evenly are some tips for doing it programmatically, but I want it in pure xml Nov 26 12:21:39 and the Adapter that loads the data gets the Context of the left Fragment Nov 26 12:22:09 the Context is actually the Activity, so both Contexts should be one and the same Nov 26 12:22:26 if I understand correctly, which I cannot guarantee Nov 26 12:23:04 Yes, that is so. I don't understand how the List ends up on the left side, because initially it is on the right side along with another TextView Nov 26 12:23:33 the TextView is on the right side, and it is updated normally when I tap the second option Nov 26 12:31:52 svc Nov 26 12:31:58 sry, wrong commandlien Nov 26 12:45:31 Peetz0r: I figured something out Nov 26 12:46:17 Peetz0r: because the left fragment extends ListFragment, when I update the list, it replaces the list in the left fragment with my list Nov 26 12:47:41 Peetz0r: I also have the Wildfire Nov 26 12:50:34 sigh. fragments! the android:onClick property of a view in a fragment is still looking for the method in activity, not in the fragment. Nov 26 12:52:12 Hello, are there preset functions in java that will check the validity of the string in relation to let's say if there are spaces at the beginning, only spaces, or the value is made out of certain non accepted characters? Nov 26 12:52:41 Would like to implement that in my android app Nov 26 12:53:21 Looney: do you actually still use it? Nov 26 12:53:47 my every day phone Nov 26 12:53:53 I am a broke person Nov 26 12:55:04 Archguy: try working with regex Nov 26 13:02:44 impedancee: impedancee they are regex functions in java? Nov 26 13:09:58 Does anyone have a link to the correct way to store config files for userspace daemons in Android? I guess I need to add something to the Android.mk to just copy it to the out directory? Or should I just have the program create a default config if it isn't already present? Nov 26 13:10:30 um Nov 26 13:10:36 what kind of userspace daemons are you talking about? Nov 26 13:11:33 Just a daemon that would say be started for example in an init.rc file Nov 26 13:12:13 Looney: respect :) Nov 26 13:12:27 hehehe Nov 26 13:12:34 so, what are you working on Nov 26 13:12:46 I dropped it on concrete once, and replaced the screen myself afterwards. I broke the volume buttons in the process. Nov 26 13:13:32 Then, a few months later, I dropped my new JiaYu G3 on the ground outside. Also replaced the screen myself. This time I broke the volume buttons *AND* the power button. Nov 26 13:13:39 well I also replaced my phone's screen Nov 26 13:13:41 jpentland, startup services are started with BOOT intent not init.rc Nov 26 13:13:50 jpentland, I suggest you ask that in #android-root. Nov 26 13:13:53 I added a new button somewhere on the back cover, and it works again :p Nov 26 13:13:56 damaged it light strip under the buttons Nov 26 13:14:21 now both of my phones have a (the same) volume control widget on the home screen Nov 26 13:14:22 did not open the phone carefully Nov 26 13:14:27 lesson well learn Nov 26 13:14:42 I opened it carefully, but I didn't put it back together carefully enough Nov 26 13:15:27 jpentland: you mean an app which runs at boot time? Nov 26 13:15:45 I use the wildfire as a media player. No simcard, no wifi, no bluetooth, and the battery lasts for almost a week now (it runs cyanogenmod 7.2) Nov 26 13:15:48 does CM support your JiaYu phone ? ? Nov 26 13:15:54 Looney: nope :( Nov 26 13:16:11 for me I have CM 7.2 Nov 26 13:16:16 me too Nov 26 13:16:17 hey all X) Nov 26 13:16:26 and I try unofficial ROMs Nov 26 13:16:37 some are laggy and one is decent Nov 26 13:16:40 when using a MediaRecorder for capturing video and using a 'profile' such as: mMediaRecorder.setProfile(CamcorderProfile.get(CamcorderProfile.QUALITY_LOW)); Nov 26 13:16:53 do you also need to setOutputFormat/setAudioEncoder/setVideoEncoder?? Nov 26 13:17:06 or is this stuff taken care of by the profile? Nov 26 13:17:22 For the G3 there are many 4.1 and some 4.2 roms, but most f them come with crappy launchers and weird chinese or russian apps. Performance is usually fine, but the G3 is overspecced for the price :) Nov 26 13:17:56 Leeds, I'm building android from source and trying to write an additional daemon - e.i it's written in C rather than Java. Nov 26 13:18:03 *i.e Nov 26 13:18:05 but it comes with 4.0, which isn't that bad at all Nov 26 13:18:26 jpentland: this probably isn't the right channel then - this is for app dev... there isn't really a system dev channel, you might need to look at google groups Nov 26 13:19:24 Leeds, hmm ok then thanks anyway Nov 26 13:20:50 anyone? ^^ Nov 26 13:24:14 Drawable's from xml can obviously have background colors, how do you set it from within java ? Nov 26 13:33:28 Hi. I need to "catch" notifications. I read there is a NotificationListenerService available since APIv18 (4.3), which is too new. Nov 26 13:34:14 I also read there is a Accessibility Service to do this, what types of notifications can I notice with this? Nov 26 13:34:30 I need to catch things like: SMS, Call, WhatsApp/SnapChat Nov 26 13:36:16 <_biff> hi Nov 26 13:36:30 <_biff> how can i recognize that ma avd has an active data coinnection Nov 26 13:36:47 <_biff> because i cant see on the gui that it would have Nov 26 13:40:02 impedancee: sorry, thanks for the suggestion, did not realise there was a way to do regex in java Nov 26 13:40:59 Also, I'm having another problem. I've installed SDK and platform-tools etc. for eclipse but when I try to create a new virtual device (AVD) I cannot select any target. That dropdown menu is just not clickable. Nov 26 13:44:41 Peetz0r: I managed to solve the issue. Because the left fragment was extending ListFragment, and because my own list had the android list id Nov 26 13:45:10 Hello Nov 26 13:45:10 Peetz0r: it thought those are the same lists. Gave a unique ID to my private list and it works. Thanks for your help Nov 26 13:45:27 Archguy: try setting sdk location first, maybe that'll help Nov 26 13:45:30 Hello Android buddies Nov 26 13:45:39 Archguy: or install some actual APIs through the Android SDK manager Nov 26 13:59:46 Anyone else seeing differences in 4.4 list footers? Nov 26 14:03:35 Hi all, I have a custom camera and surfaceview (for preview) in my app. I'm using FOCUS_MODE_CONTINUOUS_PICTURE. But I need to detect if the focus is good / bad. If the focus is oké, I need to do something, how can I do this? Nov 26 14:05:08 How can I redirect an HTTP request an app make on the phone to http://example.org to my own site, i.e. http://myownsite.org ? Nov 26 14:06:26 without changing the code of the app Nov 26 14:06:36 why? Nov 26 14:06:37 cff_: change your hosts file Nov 26 14:07:32 Because I need to connect to the development server instead of the production server the app uses Nov 26 14:07:43 and I don't want to change the code inside the app Nov 26 14:10:05 hi all.. Nov 26 14:12:16 hi. When I upload my app to developer console I am getting "cannot verify apk" and I cannot know the reason. would someone please help? thanks. Nov 26 14:12:21 this app is has version code 17 by now.. and I cannot see it in the play store search engine, though it's published. It shows up if I put its address. Nov 26 14:12:45 superlinux: have you signed the apk? Nov 26 14:13:03 Peetz0r, it's always signed! Nov 26 14:13:23 I have only a single activity that have only a ListView in it. lv_adapter = new ArrayAdapter(this, android.R.layout.simple_list_item_1, list); listview.setAdapter(lv_adapter); Nov 26 14:13:32 I cannot upload it if it's NOT signed. Nov 26 14:14:09 now i setup listview.setItemClickListener() where it overrides OnItemClick with this code: view.setEnabled(false); Nov 26 14:14:37 so when i click on any item in the listview, it disables it. Nov 26 14:14:59 superlinux: but is it signed with your own key, or a generic debug key? And if the app is an update from a previous version, have you signed it with exactly the same key as the previous version? Nov 26 14:15:15 the problem is this: when i click on the first item in the listview to disable it, the first item that is "outside" below the screen in the listview also gets disabled! Nov 26 14:15:21 Peetz0r, my key of course! Nov 26 14:15:21 likewise for further items Nov 26 14:15:28 is it a problem with the emulator? Nov 26 14:15:34 i will try on device now Nov 26 14:15:42 superlinux: Then I wouldn't know Nov 26 14:15:44 Peetz0r, I have been doing this for a year Nov 26 14:15:57 it's weird! Nov 26 14:16:13 It sounds weird indeed. Just try exporting and signing again. Nov 26 14:16:17 i'll try uploading it a second time.. no problem. Nov 26 14:16:33 And if that still fails, try reporting is to Google Play Nov 26 14:16:52 superlinux: do not be too confident, get a proof that it is the correct key. Use: jarsigner -verify -verbose -keystore /path/to/your/key.store yourfile.apk Nov 26 14:17:07 (out of my head, check manual pages on error) Nov 26 14:17:24 ok Nov 26 14:17:27 thanks Nov 26 14:17:28 guys, thi sis totally weird! happens on device too :( Nov 26 14:18:26 why is this happening? i thought having a simple listview and being able to disable an item within the listview on click would be trivial Nov 26 14:19:01 Lekensteyn: thx Nov 26 14:19:15 just ordered a surface pro 2 again Nov 26 14:22:05 I want to start learning Android.. But I don't have Java background... How should I start Nov 26 14:22:46 Can it be done in c++ Nov 26 14:23:39 the default camera app, which focus mode does it use to take a picture? Nov 26 14:28:05 sonda, learn Java, then learn Android Nov 26 14:28:13 everything else will cause you alot of problems Nov 26 14:28:28 FrancescoV, hmm, I think it switches depending on what do you do Nov 26 14:29:14 FOCUS_MODE_CONTINIOUS_PICTURE if you don't autofocus, FOCUS_MODE_AUTOFOCUS after you autofocus Nov 26 14:29:21 then there are scene settings that modify that :) Nov 26 14:29:46 have any of you noticed mirroring with the translucent apis? sometimes i see my content mirrored under the navigation buttons Nov 26 14:30:55 Mavrik: tnx Nov 26 14:32:23 sonda: learning java is way easier and better than trying to learn (and fail a handful times) to get native stuff working on android Nov 26 14:32:59 plus, you NEED to understand how Java works if you want to talk to OS Nov 26 14:33:07 yes Nov 26 14:34:03 c/c++ may have some advantages in some cases, but on Android, every language that is not Java has countless disadvantages Nov 26 14:34:50 Lekensteyn, it looks like it's verified! weird!!! Nov 26 14:34:51 And java on other platforms does have some disadvantages that don't exist on Android Nov 26 14:38:04 Mavrik: if I use focus_mode_continious_picture. how can I check if the focus is good/bad ? Nov 26 14:38:32 I tried with an AutoFocusCallback but it doesn't catch the onAutoFocus method Nov 26 14:38:39 of course. Nov 26 14:38:46 because you need to call autofocus to get autofocus callback. Nov 26 14:38:53 and you need to use AUTOFOCUS focus mode. Nov 26 14:39:55 I think there's no way of knowing what focus rating do you have when using continious modes Nov 26 14:41:10 so I need to do this: .autoFocus(autoFocusCallback); and using params.setFocusMode(Camera.Parameters.FOCUS_MODE_AUTO); too to make it work? Nov 26 14:41:48 sonda: Our lecturer actually said that "Java is similar to C++, but easier". Nov 26 14:42:27 It shouldn't be too hard to learn Java if you are a C++ programmer. You cannot use pointers like in C or C++, that is the big difference though. Nov 26 14:43:15 i have enjoyed java on android, coming from a c++ background Nov 26 14:43:30 no header files is kind of nice Nov 26 14:43:57 the OOP stuff in the android framework is pretty nice Nov 26 14:44:58 maybe i've just been exposed to crappy c++ code, but i haven't ever used much OOP in c++ where i felt like it was well done Nov 26 14:45:46 helo: Regarding header files, just be aware of this java thingy which may come back and bite you in the ass. http://stackoverflow.com/questions/3524150/is-it-possible-to-disable-javacs-inlining-of-static-final-variables Nov 26 14:46:34 helo: sounds like you had a bad c++ codebase Nov 26 14:46:45 good C++ in general is hard to pull off Nov 26 14:50:16 hello Nov 26 14:50:22 how I fix my adb_ini on OSX? Nov 26 14:50:54 I saw on StackOverflow that I should use "android update adb" but doing that failed to make new devices work, and make old devices don't work anymore Nov 26 14:54:34 guys, i want to do a very simple thing. display 50 items in a listview backed by an ArrayAdapter. any click on an item should disable that item Nov 26 14:54:50 Guys, I know that isn't the best design policy, but, I would like to know if is possible to have a web browser in the app which isn't visible to the user... Nov 26 14:55:16 dodobrain: Isn't it better to use a prefferenceScreen with checkboxes? Nov 26 14:55:35 the problem i am having is that if only 10 list items are visible in the list, performing view.setEnabled(false); is disabling the 11th item as well! Nov 26 14:55:43 i.e. 11th items was the first item off screen Nov 26 14:55:57 SidGBF, i don;t want checkboxes. Nov 26 14:56:10 lo all. What's the best place for looking for a co-maintainer for a free app? Nov 26 14:56:14 this should be extremely trivial task, imho Nov 26 14:56:23 dodobrain: you want the whole item to be enabled/disabled? Nov 26 14:56:49 yes that particular item within the list should be disabled Nov 26 14:56:55 dodobrain: It sounds like an issue in the for list Nov 26 14:57:05 for = loop Nov 26 14:57:22 I think I would need to see some code :-/ Nov 26 14:59:22 big ole white screen on my Glass :( Nov 26 14:59:56 the world is gone? Nov 26 14:59:59 http://pastebin.com/X7eFexu8 Nov 26 15:00:09 SidGBF, thats my code for now Nov 26 15:01:01 And when you click any item Nov 26 15:01:05 the last one is disabled too? Nov 26 15:01:09 i understand what the problem is now i think: the listview displays views from the underlying backing adapter. only a portion of the views might be visible. Nov 26 15:01:35 SidGBF, no.. ttry it out yourself if you want. clicking first one disables first one *and* the first one offscreen Nov 26 15:02:26 mmm Nov 26 15:03:08 I have no time to setup it now, but, I think you have a method to get the view for position X... maybe using this method to get the proper view Nov 26 15:03:26 the supposed solution is to add intelligence to the underlying adapter and then override the getView() for the underlying adapter to return one that is disabled or enabled. Nov 26 15:03:44 i think that solution is pretty pathetic because someone clicked on a freaking view that was visible Nov 26 15:03:54 why is it so hard to disable that particular view? Nov 26 15:04:12 you have a reference to the *exact* damned view that was clicked Nov 26 15:04:43 Ok, got a better idea Nov 26 15:05:02 SidGBF, wont work. getChildAt() for the AdapterView class will get the child at position specified for the *visible* children Nov 26 15:05:07 thats the entire problem here Nov 26 15:05:32 so if i ask for childAt(11) but only have 10 items visible. the app will crash Nov 26 15:05:43 i think goog made this overly complicated for no reason Nov 26 15:05:58 you can't ask for child 11 if your getCount returns 10 Nov 26 15:06:22 dodobrain: create a control list, to see which ones are enabled/disabled. When rendering the screen, you check this control list and render it enabled or disabled Nov 26 15:06:29 btw Nov 26 15:06:38 good day guys, Nov 26 15:06:43 if you disable it, doesn't it stops responding clicks? Nov 26 15:06:59 yes Nov 26 15:07:08 thats another issue i want to talk about.. but i want to resolve this one first Nov 26 15:09:11 public void onItemClick(AdapterView parent, View view, int position, long id) {} within this method the position is the global position within the backing Adapter store Nov 26 15:09:55 what should i now do within this method to disable only a specific list item? Does the View view parameter not refer to the *exact* view that was just clicked? Nov 26 15:10:11 if yes, why is it disabling the view that is offscreen as well? Nov 26 15:13:03 dodobrain: I think you should place a button inside the view, something to be really disabled. Maybe your logic is too simple for what you need Nov 26 15:13:52 indeed.. Goog; Making trivial things harder(TM) Nov 26 15:13:53 :( Nov 26 15:15:22 SidGBF, if you are talking about a button within each list item to be disable on clicking on the list item itself, it wont work again! Nov 26 15:15:43 dodobrain: Why not? Nov 26 15:15:48 how would i figure out which button it is given that i am unable to pinpoint only the speciufic view that was clicked? Nov 26 15:16:03 clicking on the button itself, thats a different thing itself Nov 26 15:16:48 if i simply try to get the button within the View view parameter and then disable that, chances are the button on the offscreen list item is going to get disabled too Nov 26 15:16:57 i hope you understand what i am trying to say Nov 26 15:18:24 this is all some weird ass MFC that is not implemented correctly.. or atleast made ridiculously stupid imho Nov 26 15:18:34 MVC ,grr Nov 26 15:19:47 dodobrain: As I said: a more complex. dynamic ids for the buttons, etc Nov 26 15:24:42 I am try to order in SQlite, I have scandinavian later so I got wrong order, I have true "COLLATE LOCALIZED", can any help me? Nov 26 15:24:51 try* Nov 26 15:26:57 johannn, sadly, Android's SQLite doesn't have ICU support... so you'll probably have to do that with java :/ Nov 26 15:28:22 dodobrain: Gotta go now, but, if you need help, contact me with the mail I sent in pvt Nov 26 15:30:27 So I am initializing a MapFragment handle in my Activity. I use this MapFragment in onLocationChanged. If I just let my activity sit idle for awhile a NPE is thrown due to the mapFragment. I guess that object is being garbage collected? Nov 26 15:31:09 I try to use a Switch view like on/off but is it possible to set them both visible? if on is selected, off is not visible Nov 26 15:33:37 Am trying to share code between jax-rs and Android. The shared code has some annotations which are not used in Android. Is there's an alternative to keeping two copies of codes? Nov 26 15:47:21 which listener should I use for a switch view? on/off Nov 26 15:47:51 just the onclick? Nov 26 15:49:08 yes. Nov 26 15:49:29 tonyMontana9099: get any further with your xml? Nov 26 15:49:30 then u check if the switch is on or off inside the click method and do the needed there, Nov 26 15:49:41 dragorn not really mate. Nov 26 15:49:56 Im still stuck and heavily reading google, but of no avail damn it. Nov 26 15:51:51 tonyMontana9099: So it's not an android problem but a java DOM problem. I'd imagine there's some code out there that does it already for rss feeds, it seems like there should be Nov 26 15:53:08 tonyMontana9099: At a quick glance, something like http://stackoverflow.com/questions/5118290/best-java-rss-parsers is where i'd start w/ rss in mind Nov 26 15:53:30 tonyMontana9099: you should be able to roll generic java rss parsing libs into your android project w/out too much trouble Nov 26 15:53:35 I know that isn't the best design policy, but, I would like to know if is possible to have a web browser in the app which isn't visible to the user? Nov 26 15:54:13 dragorn, thats the issue. Nov 26 15:54:23 dragorn, you might thing there are ready made stuf, but the thing is, there is not. Nov 26 15:56:44 dragorn, rome looks promising, Nov 26 15:57:27 Parsing XML is so common there HAVE to be libraries to do it already Nov 26 15:57:32 s/xml/rss/ Nov 26 15:57:54 dragorn, there are, however, they parse simple things. Nov 26 15:58:03 I am bumping into a problem whenever there are namespaces included. Nov 26 16:06:42 when did listview.notifyDatasetChanged() disappear? Nov 26 16:06:54 that method seems to not exist anymore Nov 26 16:07:05 what is the equivalent of it in recent APIs ? Nov 26 16:07:43 dodobrain: that's on your listadapter Nov 26 16:07:46 dodobrain: not listview, afaik Nov 26 16:07:52 ah, thanks Nov 26 16:20:35 If I want to use SimpleCursorAdapter out of the box, except add an onclicklistener to one of the ImageViews in a row, what is the best way to extend it? Nov 26 16:24:55 use an OnItemClickListener, or extend BaseAdapter and do the adapter as desired Nov 26 16:25:22 Im maintaining an older application which uses Maps V1. Im signing it with the original keystore, but its displaying a map with only gray tiles. I have internet permission and internet access. Can i somehow check if my API key is still valid? Nov 26 16:26:46 theblang: You might also consider trying the onClick xml attribute. Nov 26 16:27:11 xalbo, theblang: then don't use ProGuard :-P Nov 26 16:27:47 nseidm1 what is ProGuard? Nov 26 16:28:38 well, in that case, you have nothing to worry about. Other than the fact that onClick in xml is bad legacy practice. Nov 26 16:29:03 onClick in xml is bad? Nov 26 16:29:37 is a super fantabulous idea Nov 26 16:33:38 http://www.motorola.com/us/consumers/moto-g/Moto-G/moto-g-pdp-ways-to-buy.html Nov 26 16:34:16 guys why my navigation drawer turn white on every item when I try to scroll on it? I use default navigation drawer from Android studio Nov 26 16:35:57 cache color hint Nov 26 16:36:11 set it to full transparent Nov 26 16:36:22 it's not the drawer, is the listview in it Nov 26 16:36:54 hello Nov 26 16:41:49 How large should the "small" icon be for a notification? Nov 26 16:43:22 nseidm1 ok I will try :D Nov 26 16:43:31 48x48 Nov 26 16:44:05 nseidm1: where is that documented? I couldn't find it on the UX guidelines and the two other pages about notifications Nov 26 16:44:22 <_biff> where could be the error that i cant see any images in googlemap....api key seem correct ...11-26 16:42:13.127: I/MapActivity(475): Handling network change notification:CONNECTED Nov 26 16:44:36 <_biff> so its connected internet on avd Nov 26 16:44:44 <_biff> but Nov 26 16:44:44 <_biff> 11-26 16:42:13.138: E/MapActivity(475): Couldn't get connection factory client Nov 26 16:44:46 ah nvm Nov 26 16:44:52 there it is: http://developer.android.com/design/style/iconography.html Nov 26 16:44:59 _biff, here's some info: http://developer.android.com/design/style/iconography.html Nov 26 16:45:34 nseidm1: that was for me I think :) Nov 26 16:45:34 a little strange that they specify the image size in dp Nov 26 16:45:45 <_biff> also think:) Nov 26 16:48:41 Is it possible to have the Canary Islands in the same map as Spain Nov 26 16:49:02 sure, if it's a big map Nov 26 16:49:03 in the Google Maps API Nov 26 16:49:13 Leeds, on a reasonable size :/ Nov 26 16:49:24 <_biff> so whats up in my case :) Nov 26 16:49:25 autrilla: what are you even asking? Nov 26 16:49:39 evanc, I don't really know how to ask this well Nov 26 16:49:45 <_biff> there are stupid old tipps in google Nov 26 16:49:46 evanc: based on previous askings, I think what he really wants is an inset box Nov 26 16:50:32 Leeds: ah Nov 26 16:51:11 Leeds, I want to be able to do something like this: http://www.map-of-spain.co.uk/maps-of-spain/spain/large_map-of-spain2.jpg Nov 26 16:51:52 yes, that has an inset box... also, it spells Gibraltar wrongly :P Nov 26 16:52:14 It does! Nov 26 16:52:35 Leeds, so I want a Google Maps inset box Nov 26 16:52:56 nseidm1 thank you :D\ Nov 26 16:55:17 autrilla: and I want to go to bed - fortunately, one of us is going to get just what he wants, right now :D Nov 26 16:57:25 is there a way i can specify the transition when moving from the current avtivity to the next? Nov 26 16:59:31 dodobrain: https://www.google.com/search?q=android%20overridepending%20transitions#q=android+override+pending+transition&spell=1 Nov 26 17:03:42 thanks CallumTaylor Nov 26 17:04:05 <_biff> what does it mean Couldn't get connection factory client Nov 26 17:04:08 <_biff> and why is that Nov 26 17:04:52 jedir0x: there ? ? Nov 26 17:04:53 <_biff> dontt tell me google is your friend because i found several tipps..but nothing can work Nov 26 17:05:13 If I want to make a free version of my app with a few changes of course, would I have to make a new project entirely? Nov 26 17:05:16 stackoverflow is your friend? Nov 26 17:05:53 CocoStorm: look at gradle build configurations (if you're using android studio) Nov 26 17:06:32 <_biff> dont make me crazy Nov 26 17:06:33 CallumTaylor, I'm using eclipse sir Nov 26 17:06:36 <_biff> i cheked everything Nov 26 17:06:36 <_biff> ok? Nov 26 17:06:50 haha Nov 26 17:06:52 <_biff> still no images in my google map Nov 26 17:07:12 <_biff> teh little error messages is i gave Nov 26 17:07:21 <_biff> Couldn't get connection factory client Nov 26 17:07:24 <_biff> what does it meeeeeeeeeeeeeeeean Nov 26 17:08:02 CallumTaylor, what do? Nov 26 17:08:21 CocoStorm: not much option then i guess, i've never done build configs in eclipse Nov 26 17:08:51 _biff, is this on device or on emulator? my brother was mentioning something about map not showing up on emulator but on actual device it showed up fine Nov 26 17:09:12 CocoStorm: Are you using maven or any build tool? Nov 26 17:09:20 CallumTaylor, Hmm I see Nov 26 17:09:23 nope just Eclipse Eviltechie Nov 26 17:09:37 I think now would be a good time to learn then Nov 26 17:09:37 <_biff> dodobrain both Nov 26 17:09:48 So people pre-android studio have been creating new projects for their free versions? Nov 26 17:09:48 <_biff> but now i want to check first in avd Nov 26 17:10:21 <_biff> dodobrain but OF COUUURSE on real device also doesnt work Nov 26 17:10:33 CocoStorm: I suspect they might have had multiple build targets with maven Nov 26 17:10:40 <_biff> why should it work... Nov 26 17:10:41 oh I see, what is maven? Nov 26 17:10:51 I'll look it up Nov 26 17:11:01 maven is a build system Nov 26 17:11:02 dodobrain: map now requires opengl-es which I think is why it doesn't work on the emulator Nov 26 17:11:05 It's a build tool, just like gradle or ant Nov 26 17:11:10 eclipse uses a build system called ant Nov 26 17:11:28 I see Nov 26 17:11:31 its essentially the same, but maven/gradle is more powerful with its configuration/dependancy injections Nov 26 17:11:34 You can do some fun stuff with it. I've got a friend who uses it to build against several different versions of the same library Nov 26 17:12:01 i have my gradle config run pre-build scripts to increment version numbers, format xml and other cool stuff Nov 26 17:12:09 Right, and so I can look into Maven now even though i've created my project already Nov 26 17:12:29 You shouldn't have too much of/ an issue Nov 26 17:12:55 I see, sounds good thanks guys will look it up Nov 26 17:15:13 Or would it be easier to open my project in android studio and use gradle Nov 26 17:15:34 it's be more beneficial in the long run to migrate to android studio Nov 26 17:15:46 You should be able to use either with either ide though Nov 26 17:16:39 yeah Nov 26 17:16:53 Do your homework and see what fits best for you Nov 26 17:17:25 yes sir :) Nov 26 17:29:58 If I open my project in Android Studio, it would still be version controlled right? because both eclipse and android studio are looking at the same file so you would see any changes made in android studio in eclipse too? Nov 26 17:30:43 amirite? Nov 26 17:32:10 right? Nov 26 17:34:47 ok, I thought of making a lite-paypal app Nov 26 17:35:09 and from the initial look of their TOS, I do not think they want anyone to make one Nov 26 17:38:12 CocoStorm: yes, if you have a git repo or whatever it would be consistent between IDEs Nov 26 17:38:28 ah, thanks dragorn Nov 26 17:38:45 CocoStorm: just be sure that neither is blocking the others config files via .gitignore or whatever Nov 26 17:39:08 dragorn, ah okay Nov 26 17:41:01 Are the features to customize color and style of the status bar clock, battery and wireless icons, and navigation bar color and size, part of the AOSP or are these customizations added into AOKP roms? Nov 26 17:41:27 Specifically Kitkat Nov 26 17:43:26 dragorn, i was able to come far using ROME parsing library. Nov 26 17:50:15 My app runs fine on (almost) every Android app. On Kindle fire looks like one Spinner doesn't fire the item selected callback. Any suggestion on how can I debug it? Or any workaround for getting the item selected on the spinner? Nov 26 17:50:46 rciovati: download kindle sources and find it Nov 26 17:50:55 kindle isn't really 100% android Nov 26 17:52:41 funkbox, wow, great new Nov 26 17:52:45 *news Nov 26 17:54:42 funkbox, have you ever worked with ROME parser? Nov 26 17:56:37 you guys see this (in the US) http://news.cnet.com/8301-1035_3-57613701-94/surprise-the-$179-moto-g-hits-the-us-early/ Nov 26 17:58:03 Hi everyone, I have a question maybe someone here might be able to help with. I have an app that is auto starting with my android boot process, but I need it to be delayed until my internal memory has been mounted. Is there any way to do this? Nov 26 17:58:34 "Neither the Moto G nor Moto X are sold in China, a result of the Chinese government's ban on Google services" orly Nov 26 17:59:28 EGM92 can't you listen for the media_mounted event? Nov 26 18:00:55 rciovati would that work if the app was also set as a launcher? Nov 26 18:04:44 basically my friends and I created an app, we've edited the androidmanifest.xml and other resources so that it can be turned into a launch if the end user chooses to do so, the problem is the app has customizations/resources etc that are stored in the internal memory and sometimes it boots and is completely stripped of features/setting etc, thus we were thinking the delay. Nov 26 18:05:19 EGM92: re-initialize with the additional functionality once the media is mounted? Nov 26 18:08:52 evanc well that's sort of why we wanted to delay the startup of the app, so once the storage is mounted the app would start up Nov 26 18:09:16 what would we have to do exactly? Nov 26 18:10:25 guys , how can I use the PROPERTIES to get the value of MediaEntryModuleImpl.metadata.thumbnail[0].url Nov 26 18:15:53 Hello, does "adb backup -apk -shared -all -f /path/to/file" does a complete backup including SMSes, Emails, Photos? or it just takes apps (apk) and their data ? Nov 26 18:26:00 tonyMontana9099: no Nov 26 18:26:56 calk: that should include everything, sms and emails are just resources from apps. The photos are likely shared storage Nov 26 18:27:20 http://androidforbegineers.blogspot.in/ Nov 26 18:28:05 Do I still need Notification.Builder.setAutoCancel(false) when I use setOnGoing(true)? Nov 26 18:28:05 Lekensteyn: Thats what i thought too, but during my googling i found http://forum.xda-developers.com/showthread.php?t=1420351 which has a note on 12/31 (could be outdated though) saying it will not backup SMS ? Nov 26 18:29:08 calk: afaik it did work for mine when I tried it. Perhaps it did not restore properly because the database scheme or the sms app changed Nov 26 18:29:26 calk: when in doubt, you can also check the folders in /data/data/ (needs root) Nov 26 18:30:20 Lekensteyn: reason i'm using this method on this device that i don't want to root it, otherwise i would have used something like titaium backup :) Nov 26 18:31:48 I'm backuping up smses now using sms+ backup though, but would be nice to know if it does sms/photos Nov 26 18:31:49 calk: the backup is just a tar archive if I am not mistaken Nov 26 18:32:26 So I have a SimpleCursorAdapter working great. My requirements now need me to add a star ImageView, that can be used to "favorite" the list row. What would be the best way to do this? I don't think I can use ViewBinder. Can I extend SimpleCursorAdapter, or do I need to go to CursorAdapter and just handle everything manually? Nov 26 18:44:22 Okay I was wrong, I can use ViewBinder I believe. Nov 26 18:55:45 which folder does galaxy nexus store photos on? i adb pulled /storage/sdcard0/ doesn't seem to have them? Nov 26 19:02:34 guys, does anybody know if rome parser works on android ? Nov 26 19:04:32 hi, who can help me make a custom dialog? Nov 26 19:05:03 I need some tips on how to layout everything the way I want it Nov 26 19:05:37 I have several images that I want to use and need help on how to size and layout everything Nov 26 19:05:55 hello Nov 26 19:09:20 i am trying to import a project into android studio that i exported a gradle build file in ADT Nov 26 19:09:36 I am getting the following error: https://gist.github.com/drudge/1c86891943917006b4df Does anyone have any ideas? Nov 26 19:22:31 Well, if I had to take a wild guess, I would say you're not using gradle 1.8 Nov 26 19:26:37 SimonVT: i'm using whatever comes with android studio. Fresh install of the latest version Nov 26 19:28:35 has anyone used RxJava as a complete replacement for their event bus (whichever it is) Nov 26 19:28:46 * yuvipanda uses Otto Nov 26 19:28:48 green robot, etc Nov 26 19:29:02 i have Nov 26 19:29:26 i noticed it in one person's slide for droidcon uk 2013 Nov 26 19:30:05 JakeWharton verdict ? Nov 26 19:30:30 drudge: Try using gradle wrapper and set it to 1.8 Nov 26 19:30:33 it worked Nov 26 19:30:39 it's not a superset of Otto though Nov 26 19:35:06 JakeWharton did you wind up using both in the same app. i'm wondering how they might fit together. maybe the rxjava parts at the 'event collection' areas and then the eventbus to globally distribute more app-wide Nov 26 19:35:33 no. we don't really use global event busses anymore Nov 26 19:35:59 SimonVT: in the exported ADT project? Nov 26 19:36:46 JakeWharton: what do you do instead of global event bus? Nov 26 19:36:54 SimonVT: the one in my project has distributionUrl=http\://services.gradle.org/distributions/gradle-1.8-all.zip Nov 26 19:36:58 jaynewstrom: for what use case? Nov 26 19:37:38 if we need to notify somebody of something, inject them and call a method Nov 26 19:37:44 i know you mentioned you used it for getting location, and broadcasting it on the event bus to be used everywhere Nov 26 19:38:18 yeah for location we still need to broadcast. you can use RxJava or just write a class with listeners and reg/unreg Nov 26 19:38:58 I haven't used RxJava yet, so I'm not completely familiar with the pattern yet Nov 26 19:39:32 also, I still use event bus for fragment->activity communication. is there something better to use? Nov 26 19:40:44 i don't know if I can speak to that very well anymore Nov 26 19:41:00 i'd probably make the activity implement an interface and inject that interface into my fragment Nov 26 19:41:17 but that assumes you're using dependency injection Nov 26 19:41:33 I used to do that, and quickly ended up wit a lot of interfaces. Nov 26 19:41:34 Yeah, I am, so basically you have changed to "inject all the things" Nov 26 19:41:51 yes. so much less indirection Nov 26 19:42:10 yuvipanda: you could always just inject the type. for example, we only have one activity so we just inject the activity rather than some interface Nov 26 19:42:52 hmm, that'll definitely fix it, but then you are tightly coupled to that activity Nov 26 19:43:12 I guess that's fine and a good solution if you don't intend on reusing fragments Nov 26 19:44:15 JakeWharton: when are you open sourcing what you use instead of fragments? Nov 26 19:44:34 we just use Views Nov 26 19:44:54 and then there's a tiny bit of machinery to maintain a state machine Nov 26 19:45:30 I'm starting to use just views where I can, but a lot of times the activity lifecycle helps keep things sane Nov 26 19:45:56 drudge: Did you tell it to use gradle wrapper when importing? Nov 26 19:46:15 does anyone have any clue whats going wrong using httpurlconnection http://stackoverflow.com/questions/20216091/httpurlconnection-and-multipartentity-without-apache-client? Nov 26 19:46:32 <_genuser_> hello folks. I see we can use layouts using version by doing layout-v11. Can we not do that for the src folder? Nov 26 19:46:37 all our app state is independent of the activity and views so they can come and go as they please Nov 26 19:47:04 _genuser_: no, but you can just runtime check the API and conditionally do things Nov 26 19:48:27 <_genuser_> JakeWharton: thank you. I see now why my code isn't working. Nov 26 19:49:22 <_genuser_> JakeWharton: is it a good idea to reference elements that are or aren't there to determine version? Or is it better to just query the version from the framework at runtime? Nov 26 19:49:36 <_genuser_> example, list view in v11 for my app. Nov 26 19:49:49 if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.HONEYCOMB) { // do one thing } else { // do another } Nov 26 19:50:11 <_genuser_> ah, I saw that in teh developer.android.com docs also. I'll go with that then. Nov 26 19:50:40 <_genuser_> so am I correct in assuming that layout-v11 is v11 and higher? not just that version? Nov 26 19:51:19 Yep Nov 26 19:51:51 How can I sort list of icelandic alphabet? Nov 26 19:52:02 <_genuser_> thank you guys. :) My app is on it's way to being upgraded. Nov 26 19:52:17 Hello, I understand that AppBaseTheme is defined multiple times in a device-specific way (res/values, res/values-v11, res/values-v14) to conditionally enable advanced themes, but in the res/values definition I see, "customizations related to backward-compatibility can go here". What's an example of a backward-compatible customization? Nov 26 19:53:49 I am getting error no resource found that match .... Nov 26 19:54:04 android:windowActionBar etc. Nov 26 19:54:31 had no problem in compiling code pre-crash days Nov 26 19:54:50 now even fresh extracted zip ain't working :'( Nov 26 19:56:42 30$ http://stackoverflow.com/questions/20226181/android-avd-cannot-test-any-application-using-avd who can help me solve it Nov 26 19:56:52 Otherwise ill put a bullet in my brain Nov 26 19:58:43 your GPS is not working ? ? Nov 26 19:59:21 GooglePlay Services Nov 26 19:59:26 Read the post Nov 26 20:04:08 fixed issue with help of SO Nov 26 20:07:29 <_genuser_> lol @ my src-v11 folder. Nov 26 20:08:29 Resource qualifiers are just for resources Nov 26 20:09:44 <_genuser_> yeah, I just learned that today... here. Nov 26 20:10:07 <_genuser_> I was thinking why my widget wouldn't run the new code. Nov 26 20:30:58 hello Nov 26 20:35:30 Hi! Nov 26 20:35:52 I have a problem. I am using an Apache commons io library in my project. when I run one of the functions, it just skips a line. Code: http://pastebin.com/f6R7d8BD Nov 26 20:36:44 does it have something to do with the "new String" function? Nov 26 20:37:06 Does anyone have more information on the new runtime ART of Android? I want to give a small talk about it, and now I find myself digging through http://www.reddit.com/r/Android/comments/1pp4tt/introducing_art_googles_experimental_replacement/ and the source code from https://android.googlesource.com/platform/art/+/android-4.4_r1.2 Nov 26 20:37:40 yet I find nearly no good summaries, and ART is currently broken in the emulator (which is slow, too) Nov 26 20:37:47 did anyone get ART to run inside the emulator? Nov 26 20:48:59 Hmmm Nov 26 20:53:05 MDTech-us_MAN: shouldn't you pass an explicit encoding when constructing a string from a byte array? Have you tried printing the length or contents of the result? Nov 26 20:53:25 well, let me see Nov 26 20:57:34 |:-| Nov 26 20:58:28 when I try to run it, it skips over my Log.i too. |:| Nov 26 20:58:47 ~:| Nov 26 20:59:06 "Log.i("MeterZup", String.valueOf(temp.length));" Nov 26 21:00:20 I am in Android Studio... I have a line of code... setContentView(R.layout.activity_logged_in_b); that keeps changing itself to setContentView(android.R.layout.activity_logged_in_b); the "android" part just keeps adding itself. Why and how to I get it to stop? Nov 26 21:07:46 I am getting error "Failed to set image path properties in the AVD folder." when I try to create a viritual Android device for testing. Any idea what that's about? Nov 26 21:07:57 IrishGringo: that's weird. does it compile with the android prefix? Nov 26 21:09:01 where would this "AVD" folder be anyway? Nov 26 21:09:24 Lekensteyn: I used this way instead and it works. http://stackoverflow.com/a/1264737 Nov 26 21:12:20 emulator (4.0.3) is getting offline (ddms can't see it anymore) after long running (about 10s) http request. no error in log Nov 26 21:12:41 device (4.3) no problem Nov 26 21:14:47 am I able to get assistance with rom developing in this channel? Nov 26 21:16:49 my 2013 n7 finally got 4.4. too bad now Play Store isn't working at all Nov 26 21:17:21 other gapps seem fine; play just shows a grey screen with a spinner Nov 26 21:20:25 seand: I remove the android part, and it will compile... but very often the android will replace itself. it is very wierd... Nov 26 21:20:40 I think I may be importing android.something by mistake. Nov 26 21:20:55 g00s, clear data on the app? :\ Nov 26 21:21:39 next question... I am using an intent to goto another ACTIVITY.. in the second activity, I am trying to change some labels in the onCREATE method.... but it always crashes when I do the .setText Nov 26 21:21:49 and this works fine when I have a single activity Nov 26 21:22:32 I am thinking that perhaps the fragment is not initialized by the onCreate method... so I perhaps its a null thing going on here. Nov 26 21:22:51 is there a place where I can do stuff after all of the fragments are initialized and running? Nov 26 21:25:25 canadiancow worked; thanks Nov 26 21:25:42 it's the solution to everything, essentially Nov 26 21:25:46 :P Nov 26 21:25:57 so how are you liking kitkat? Nov 26 21:26:31 IrishGringo: onAttach or onFragmentAttached Nov 26 21:26:48 just got it about 5 minutes ago :) we'll have to see; i don't really use any google service except email - so as long as that keeps working :D Nov 26 21:27:22 gmail? Nov 26 21:27:26 yeah Nov 26 21:27:29 ok. Nov 26 21:27:34 the email app had a huge overhaul in K Nov 26 21:27:38 i have developer mode on; i'm getting lots of red border flashing Nov 26 21:27:38 gmail not so much Nov 26 21:27:43 heh Nov 26 21:28:02 does that happen if a background process does something on the main thread? Nov 26 21:28:04 or only the foreground app Nov 26 21:28:18 i dont recall Nov 26 21:29:06 except for some of the launcher icons looking more 3-dish, i probably would not know the difference Nov 26 21:29:19 have to poke around more :) Nov 26 21:29:26 in developer options, there's "process stats" Nov 26 21:29:28 it's the awesomest Nov 26 21:29:33 definitely Nov 26 21:29:34 it tells you which apps are abusing your device Nov 26 21:29:54 i know which one is; Play Services Nov 26 21:30:04 really? Nov 26 21:30:05 some cache service has had a wakelock for 2 weeks Nov 26 21:30:29 play services isnt doing too bad on my n5 Nov 26 21:30:34 average ram use 20MB Nov 26 21:30:35 basically this http://www.androidpolice.com/2013/11/19/its-not-just-you-google-play-services-seems-to-be-a-battery-hog-today/ Nov 26 21:30:47 but maybe on 4.4 it will be fixed Nov 26 21:31:00 although i thought it didn't matter on android version Nov 26 21:32:47 well this is more a hw issue i'm betting, but the only real issue i have had with the table so far is the 5GHz band signal is about 20db less than the 2.4GHz band Nov 26 21:33:11 (wifi) and that connection is pretty flaky Nov 26 21:34:35 yeah, Process Stats shows Play Services at 89% (top of the list) Nov 26 21:35:35 g00s: still today? Nov 26 21:35:40 yeah Nov 26 21:36:17 g00s: the fix for that should be rolled out.. what version does it show you have? Nov 26 21:37:04 4.0.34 (924341-36) Nov 26 21:37:48 i think i read morrildl saying somewhere i should not clear its data because of the GCM id or something (no clue) Nov 26 21:38:10 i have the same, google services has taken 17% of my battery Nov 26 21:38:40 let me see what happens over the next few days Nov 26 21:39:08 g00s: how long does it show you've been "on battery"? Nov 26 21:40:03 28m 34s Nov 26 21:40:23 So , Settings -> Battery doesn't show Play Services there now; Nov 26 21:40:45 Hm, that might have been the stats for the package version before it was updated. Nov 26 21:40:47 dev options -> process stats shows it at 89& Nov 26 21:40:53 ah, ok Nov 26 21:41:15 so maybe it is fixed Nov 26 21:42:07 is there any way to build apks using cmake or something that is not ant? Nov 26 21:42:20 gradle yo Nov 26 21:42:23 richard_w: there is gradle and eclipse Nov 26 21:42:38 you could use the android build system Nov 26 21:42:44 i dont even know what it's called Nov 26 21:42:52 you'd need an Android.mk file Nov 26 21:43:11 but then i need to ask: what's wrong with ant? Nov 26 21:43:29 aybe richard_w got an ant-ipathy Nov 26 21:43:41 Ge0rG: exactly Nov 26 21:55:22 OnTheMove Nov 26 21:59:05 you can use vim to manually type out the apk Nov 26 21:59:32 the hard part is when you get to the modular expoentiation of the RSA key Nov 26 22:00:07 lol. Nov 26 22:01:01 aww i just got kitkatified! how exciting (sorta) Nov 26 22:01:11 needed for bignum:http://www.technovelgy.com/graphics/content05/bush-robot-fingers.jpg Nov 26 22:25:17 lol wow netflix uses abs Nov 26 22:25:32 google uses ABS :P Nov 26 22:25:53 srs>? Nov 26 22:26:00 they have abc though. Nov 26 22:26:27 yeah but if you check the 'open source licenses' part of their apps you see ABS being mentioned Nov 26 22:26:36 weird. Nov 26 22:26:51 why is that weird? Nov 26 22:27:34 idk Nov 26 22:27:58 need to buy a better adjective Nov 26 22:29:38 Does model view controller exists in Android development ? Nov 26 22:29:56 I'll give you "bizarre" for $100 Nov 26 22:30:10 does it not exist in any development? Nov 26 22:30:19 you can use it. you don't have to use it Nov 26 22:40:16 Hi guys do you know what am I supposed to do for signing in on google game services? Nov 26 22:40:27 meh if its not too much work i guess ill support sdk 7 Nov 26 22:40:48 I'm trying connect() from GamesClient but I get a callback that the user has to sign in Nov 26 22:42:51 Hi I'm trying to use the scaledownbitmap() method from my main activity in another class. I used to have MainActivity.this as the last parameter but it doesn't work when I use that code in the Picture class. I've tried using MainActivity.class, creating a Context ctx and using MainActivity.ctx but nothing seems to work? Nov 26 22:45:58 what am i doing wrong? Nov 26 22:48:51 ok I think I found the solution: connectionResult returned from onConnectionFailed has a method called .hasResolution() if true then start the activity that resolves this... Nov 26 22:50:06 oh sorry nvm Nov 26 23:15:10 I'm confused Nov 26 23:21:19 Hey guys, I used to have this all in the main activity. So I've tried creating a class for it but now I'm getting a null pointer.. here is the code and the stack trace https://gist.github.com/anonymous/8a4be4834e302c9810d9 Nov 26 23:22:54 anyone? Nov 26 23:23:17 <|0xD34D|> CocoStorm: where do you assign ctx? Nov 26 23:23:34 I don't, I'm not sure what to assign it Nov 26 23:23:43 <|0xD34D|> well it's null Nov 26 23:23:48 <|0xD34D|> so that's why you get a null pointer Nov 26 23:23:59 you can also use contextwarpper Nov 26 23:24:34 I see, because in the main activity I would have MainActivity.this as opposed to ctx in the ScaleDownBitmap() method Nov 26 23:24:45 So what should I put instead/assign the ctx? Nov 26 23:24:57 <|0xD34D|> where do you use an instance of Picture? Nov 26 23:25:35 <|0xD34D|> if it's in your activity you could create a constructor for Picture that takes a Context as a parameter and pass a context to it Nov 26 23:26:17 When I swipe an app out of the recent applications list, the activities gets killed (ok.) and the service too (not so great.) This is JB 4.3.1, is there a way to preserve the service? Nov 26 23:26:39 The problem is that the service forks another program which keeps running if the service gets killed abnormally. Nov 26 23:26:47 |0xD34D|, hmm I'll try that, yes I use an instance of picture in the MainActivity. So I should have Context ctx = MainActivity.this and pass that ctx to the Picture class? Also why does the context have to be from the MainActivity? Nov 26 23:27:16 I already tried specifying android:process=":whatever", but the ActivityManager then kills two processes instead of only one. Nov 26 23:27:33 <|0xD34D|> CocoStorm: create a constructor for Picture like public Picture(Context ctx) { this.ctx = ctx; } Nov 26 23:28:05 <|0xD34D|> then in your activity you can do Picture p = new Picture(this); Nov 26 23:29:07 yay that worked thanks |0xD34D|, I don't understand why it had be to the MainActivity context though Nov 26 23:29:32 <|0xD34D|> it doesn't but it does need to be a valid non-null Context Nov 26 23:31:31 I see, thanks |0xD34D| Nov 26 23:31:51 <|0xD34D|> np Nov 26 23:35:19 Lekensteyn: no Nov 26 23:36:02 Lekensteyn: swiping is the same as pressing [Force stop] in the app info page in settings; it kills the app and puts it in the icebox until the user runs it again Nov 26 23:38:23 evanc: but the children are still alive. It is not unusual in real world for the parents to die earlier, but still. Nov 26 23:38:50 icebox ? Nov 26 23:39:06 right next to the beer Nov 26 23:39:10 :) Nov 26 23:39:19 I have the following proposed solution to kill all children too, but it is another hack to pile on my application built from hacks http://stackoverflow.com/a/20230268/427545 Nov 26 23:39:57 Lekensteyn: yes, that's a known bug Nov 26 23:40:15 Lekensteyn: at least the last time I checked, forked processes still keep running even after you uninstall the app :( Nov 26 23:40:41 really..? When I reinstall the app via adb, the children are gone Nov 26 23:41:01 nice, maybe they fixed it Nov 26 23:42:07 Perhaps I should look into making JNI bindings Nov 26 23:42:33 For now, do not use the swipe killer :) Nov 26 23:43:19 picasso doesnt have a minsdk version, does it? Nov 26 23:43:50 picasso doesn't care Nov 26 23:44:05 ok Nov 26 23:44:26 but you should do 14 if you haven't already Nov 26 23:45:01 i am Nov 26 23:45:09 you're all set then Nov 26 23:45:22 considering putting it to 7 because my app is really simple and its not to difficult to do Nov 26 23:45:34 holo, action bar? Nov 26 23:45:48 ? Nov 26 23:46:02 you don't get those at 7 Nov 26 23:46:17 i've rarely seen apps that don't use one of those two Nov 26 23:46:19 well yes i meant simple by making it compatibl Nov 26 23:46:23 compatible* Nov 26 23:47:06 all i really have to do is change some minor stuff and im compatible back to 7. Nov 26 23:47:08 Hi there! Nov 26 23:47:42 hi Nov 26 23:48:18 I want to exchange an old (and buggy) pager implementation by the new and shiny ViewPager of the Android support library. The ViewPager itself works, but I want to have some kind of 'bounce' effect at the end: http://marcreichelt.de/fling.mp4 (video of old implementation) Nov 26 23:48:52 marcreichelt: override overscrolledby Nov 26 23:49:24 or you can have an extra item at the and and when you get setPrimaryItem, set it back Nov 26 23:49:35 but overscollby would probably be better Nov 26 23:51:47 ok, overscrolledby looks just like the thing I need :) Nov 26 23:52:16 I will also need 2 additional items (1 before start, 1 after end) for the background color (which changes from cartoon to cartoon) Nov 26 23:52:34 I overrided overscrollby, but for now it doesn't log anything Nov 26 23:52:44 do I have to 'activate' the overscroll mode first? Nov 26 23:53:06 not soure, double check the viewpager implementation Nov 26 23:56:04 overscrollby is from View, not ViewPager Nov 26 23:56:13 2 minutes and im compatible to sdk 7. hmmmm. Nov 26 23:57:36 you should take 2 more and minSdkVersion="14" Nov 26 23:59:07 JakeWharton: i know i know youve told me like twenty times :P Nov 26 23:59:26 before taking advice regarding minSdkVersion, check how many gingerbread users there still are, and make your own decision based on *your* users. Nov 27 00:00:00 gingerbread users clearly don't want new phones. they just want to be left alone. so leave them alone but not bugging them with app updates. minSdkVersion="14" Nov 27 00:00:18 or 16 Nov 27 00:00:28 woah. calm down Nov 27 00:00:35 what about honeycomb users Nov 27 00:00:36 :P Nov 27 00:00:41 that .1 Nov 27 00:00:45 yeah that one guy using Google TV won't care either Nov 27 00:00:47 desmin88: all three of them can suck it Nov 27 00:00:49 lol Nov 27 00:01:09 JakeWharton: 16 is fine. not that many devices on 14&16 Nov 27 00:01:11 i think i know who that one guy is Nov 27 00:01:14 err 14 and 15 Nov 27 00:01:34 JakeWharton: that's not true. Many people have a GB phone, because they can't afford a new phone. Even tough they may want it. Or, even regardless of which phone a user may have or may want to have, they might like to user your app Nov 27 00:01:52 Peetz0r: define "many" Nov 27 00:01:54 If your app is paid theres no point supporting GB, they aitn gonna buy it Nov 27 00:02:02 funkbox, regardless if I override onOverScrolled or overscrollby, it doesn't log anything Nov 27 00:02:07 funkbox: millions. 26% of all google play users Nov 27 00:02:19 desmin88: most apps are free Nov 27 00:02:33 wait so what's the recommended minsdkversion nowadays? i'm currently on 12 i think Nov 27 00:02:36 and grass is green Nov 27 00:02:37 14 Nov 27 00:02:41 my statement holds true Nov 27 00:03:02 I personally use 9 or 10 (one of the GB api levels) Nov 27 00:03:14 14 sounds good, ICS Nov 27 00:03:17 but it's personal, there is not one setting that is right for all apps Nov 27 00:03:27 developer productivity and app quality suffer more than 26% by supporting pre-ICS Nov 27 00:03:35 lol Nov 27 00:04:09 JakeWharton: that might be true for *your* apps, but not for *all* apps. Definately not *my* app, and you know that (even tough you'll keep denying it) Nov 27 00:04:11 12% of the 26% are mom's of ICS+ users who have hand-me-down phones that only make phone calls and SMS Nov 27 00:04:20 Peetz0r what is your app Nov 27 00:04:21 and china Nov 27 00:04:29 lololol. Nov 27 00:05:01 i like to target minSdkVersion="14.5". I roll out two versions of my app to 50% each, one minSdkVersion="14" and one minSdkVersion="15" Nov 27 00:05:05 ...and the Netherlands. Which is a country that has less poverty than the USA< but has many GB users. Inclusing my mom, yes, but also inclusing many kids, teenagers, students, etc Nov 27 00:05:28 how does poverty come into this Nov 27 00:05:38 funkbox, do you think there is anything else that should handle this effect? Nov 27 00:05:39 seand: https://github.com/Peetz0r/Rijksdriehoekscoordinaten Nov 27 00:05:59 desmin88: not at all, but I'd like to point out that my country is definately not a 3rd world country Nov 27 00:06:05 Very much unlike china Nov 27 00:06:08 that name looks like a password LastPass would auto-generate Nov 27 00:06:16 or if i were to bash someone face with a keyboard Nov 27 00:06:20 there's a dutch coordinate system? Nov 27 00:06:25 JakeWharton: that is because you don't understand my language Nov 27 00:06:37 lol Nov 27 00:06:38 seand: almost every country has one, yes Nov 27 00:06:44 marcreichelt: overscrollby should work, double check viewpager Nov 27 00:06:53 and this one is actually used by people Nov 27 00:06:55 i know it works for like list view Nov 27 00:07:00 why doesn't everyone just use latitude/longitude Nov 27 00:07:26 seand: because the world, and coordinate systems, is much more complex than you think Nov 27 00:08:14 lol. Nov 27 00:08:47 the netherlands thinks the world is flat. they just use x/y Nov 27 00:09:19 lol just found my old samsung moment, running eclair Nov 27 00:09:26 JakeWharton: not even remotely true. Please don't say things when you don't know what you're talking about Nov 27 00:09:27 looks like i cant use this as another testing phone Nov 27 00:09:43 Peetz0r: that was obviously sarcasm. Nov 27 00:10:12 desmin88: if there are GB custom roms for it (Cyanogenmod 7.x jaybe) then you could use it as a 'average low-end' testing phone Nov 27 00:10:14 sorry I'll stop, i'm just an iOS developer here for the chicks Nov 27 00:10:25 JakeWharton: lolnope :p Nov 27 00:10:32 i love this channel Nov 27 00:10:42 most GB phones nowadays are in china and africa, markets you probably dont' care about or you can't reach Nov 27 00:11:21 funkbox: source for that? I've seen plenty in my hometown Nov 27 00:11:37 "most" Nov 27 00:11:48 Peetz0r: what's your hometown? Nov 27 00:11:57 Peetz0r: educate me Nov 27 00:12:03 lol. Nov 27 00:12:10 yeah, most KitKat phones are there too. because there's over 1 fscking billion people in china alone Nov 27 00:12:16 plus, how will you monetize users who are too poor to afford non shitty phoens? Nov 27 00:12:20 which is like USA end EU combined, and then some more Nov 27 00:12:25 unless you're square and feeling brave and want to take on mpesa Nov 27 00:12:34 funkbox: I won't earn money off of my app Nov 27 00:12:39 it's free in both kinds Nov 27 00:12:44 i just read earlier today china doesn't allow google services ? Nov 27 00:12:46 Peetz0r: none of those have play store. china restrictions Nov 27 00:12:50 funkbox i'm pretty sure 'monetizing users' is called slavery Nov 27 00:12:55 funkbox: the try india Nov 27 00:12:58 then* Nov 27 00:13:04 seand: lol Nov 27 00:13:37 Also, let me GTFO, eat cheese, grow tulips, smoke weed, walk on wooden shoes past windmills. Cya! Nov 27 00:13:46 Peetz0r: too poor, can't make money Nov 27 00:14:09 don't want to make money on apps, because why would I? Nov 27 00:14:20 Peetz0r wait before you go you should explain why there's a dutch coordinate system Nov 27 00:14:38 linus torvalds never wanted to make money off of linux, and he isn't poor either Nov 27 00:14:54 uhh Nov 27 00:14:57 Peetz0r: then you're free to do what you want if you're not bound by laws of commerce Nov 27 00:14:59 thats a bit different, dont you think? Nov 27 00:15:05 funkbox: exactly Nov 27 00:15:26 funkbox, I just don't get it - I now tried to pass different values in overScrollBy, it's not getting called anyway Nov 27 00:16:07 Hi! I have created a customdialog in an own class. When I log into the app, an activity is shown, and when this activity is loaded I want to show the dialog from the separate class. How does the invocation look like? Nov 27 00:16:14 and I'd love to support GB, because some of my ppotential users (my friends and family) are using GB, and I am not going to force anyone to buy a new phone, especially when my app doesn't require anything special like dualcore cpu's, opengl2, hundreds megs of empty ram, etc Nov 27 00:16:21 but cya! Nov 27 00:16:39 bye Nov 27 00:16:43 funkbox, the ViewPager implementation has zero calls to overScrollBy whatsoever... Nov 27 00:16:48 Android code question.... http://stackoverflow.com/questions/20230643/how-to-change-textview-in-a-fragment-in-a-second-activity Nov 27 00:16:57 could someone take a look at this. Nov 27 00:17:45 I am trying to update a TextView when an activity starts up... but the TextViews are in a fragment, and its not the main activity Nov 27 00:18:28 marcreichelt: view should have the calls, that's how the edge effect works Nov 27 00:20:08 marcreichelt: http://stackoverflow.com/questions/10773565/visual-indication-of-over-scroll-in-android Nov 27 00:20:10 go from there Nov 27 00:21:44 booo, and the edge effects are private (of course) Nov 27 00:21:48 and no getters/setters :/ Nov 27 00:24:44 reflection, dawg Nov 27 00:26:49 desmin88, yeah, saw it Nov 27 00:26:52 Guys, how can I get rid of this? http://gyazo.com/f26479417a5c32c485a6aeb4451aa5e2 Nov 27 00:27:17 but in the end it's easier for me then to use my own custom 'ViewPager' implementation, which does this stuff directly :-/ Nov 27 00:27:42 I was hoping to get rid of it because it has 2 other bugs which the ViewPager doesn't have Nov 27 00:28:38 desmin88: what do you want to get rid of? Nov 27 00:28:51 lol, probably should have included that. Nov 27 00:28:53 the thin blue line Nov 27 00:28:58 but i think i got it, testing now Nov 27 00:29:53 sockets. Do I need to do the connection inside a thread to prevent app crashes and stupid things? Nov 27 00:30:12 fixed it. Nov 27 00:30:24 damccull: of course you do. Nov 27 00:30:35 hmm. interesting. Nov 27 00:31:35 i hate sockets Nov 27 00:33:43 in AsyncTask the ONLY part that's on a separate thread is doInBackground right? Nov 27 00:33:59 damccull: yeah Nov 27 00:34:12 bleh, asynctask Nov 27 00:34:21 asynctaskloader is where its at :P Nov 27 00:34:29 why? Nov 27 00:34:54 the issues that can come along with an asynctask Nov 27 00:35:16 hmm Nov 27 00:35:42 well, i'm not really using asynctask like it should be used anyways. I'm keeping a consistent socket open to a chatserver for a long period of time. Nov 27 00:36:17 well thats dumb Nov 27 00:36:43 ;) Nov 27 00:42:30 aindilis: yeah don't use an asynctask for that Nov 27 00:45:38 how many times do you guys restart an app when you realize you could do it better? Nov 27 00:45:57 also, i can't figure out how to thread properly :( Nov 27 00:46:48 i dont restart it Nov 27 00:46:55 new Thread(new Runnable() { .. }).start(); Nov 27 00:46:59 i just modify it Nov 27 00:48:06 JakeWharton: you make it sound so easy Nov 27 00:48:29 :) Nov 27 00:48:49 that's what i'm here for. lulling you into complex things with a taste of a seemingly terse API Nov 27 00:49:14 not gonna lie, otto is pretty slick Nov 27 00:49:19 otto is nice Nov 27 00:49:36 JakeWharton: it's very much appreciated Nov 27 00:49:40 ^ Nov 27 00:49:42 i have taken so much credit for your work... Nov 27 00:49:54 Google wrote most of it. We just tailored it towards Android a bit Nov 27 00:50:11 i use 5 square/jw libraries... Nov 27 00:50:21 i wonder which ones ill end up using next Nov 27 00:50:36 does anyone have more information on the new runtime ART? Nov 27 00:50:43 it's fast Nov 27 00:50:57 its crash Nov 27 00:51:00 Anyone know if I can regex match a field name in the JSON using GSON? Nov 27 00:51:08 basically I found out it stores dex code alongside with natively compiled code (e.g. ARM) Nov 27 00:51:10 n20: No. Nov 27 00:51:12 n20: no Nov 27 00:51:16 do a custom deserializer Nov 27 00:51:47 funkbox: I'm planning on that, but the funny part is that the field name can be 1 of 15 different ones. :-)) Nov 27 00:52:02 what kind of ass json is that Nov 27 00:52:08 But is that about it? Okay, it runs fast if it doesn't crash, so good so far. Nov 27 00:52:11 it's ASON Nov 27 00:52:24 Lol. Nov 27 00:52:26 I thought it might have been a nice topic for a small talk Nov 27 00:52:32 JakeWharton: /salute Mr Picasso Nov 27 00:52:34 :) Nov 27 00:52:51 marcreichelt: its pretty cool and doesnt afraid of anything Nov 27 00:54:06 Funny part re: the JSON - I'm not quite sure how to actually manage to *find* it with my deserializer. Two solutions: Either create a deserializer for my *whole* class, or have X different fields in the class (= one will actually have a non-NULL value) Nov 27 00:54:28 n20: sample please Nov 27 00:54:33 ^ Nov 27 00:54:41 X fields + getter that searches and caches found value in a transient field Nov 27 00:54:56 modeling the POJO like the actual JSON will make your life easier Nov 27 00:55:16 The even more funny part is that that super cool (random) field is actually filled with different values as awell, depending on which one it is. :)) Nov 27 00:55:28 all the more reason for a context-aware getter Nov 27 00:55:30 where are these square libraries? Nov 27 00:55:36 square.github.io Nov 27 00:55:58 JakeWharton: Probably. So X fields (>15) aren't smelly as hell? Nov 27 00:56:09 the JSON is smelly, you're just dealing with it Nov 27 00:56:14 That's true. Nov 27 00:56:49 * n20 likes this #channel Nov 27 00:57:09 not necessarily. i've json with like 30 fields Nov 27 00:57:55 i have json modeling wordpress posts Nov 27 00:57:56 its a nightmare Nov 27 00:58:33 well, JSON is better than 2nd Normal Form XML generated automagically from an overblown Java class tree Nov 27 00:58:40 desmin88 and funkbox: I guess the talk about ART would degrade to a talk about JIT vs. AOT compiler, and I would like to give a better insight Nov 27 00:59:56 but maybe it's just that: AOT is faster when executed but takes more time during installation (because everything is compiled) and takes up more disk space (to actually store the extra native code). Nov 27 01:00:48 desmin funkbox JakeWharton http://codepad.org/rePZYnjh Nov 27 01:01:09 n20: model it that way with POJOs Nov 27 01:01:11 that's a map Nov 27 01:01:52 The FOO,BAR,CAR can be any of >15 values, so it's quite the lottery. :) Nov 27 01:02:33 public class FooMap extends LinkedHashMap {} and then write a custom deserializer for FooMap.class which turns that into a map from the nonUniqueField value to the object value inside the other key Nov 27 01:02:50 and then public FooMap foo; on your root object Nov 27 01:02:59 *public final Nov 27 01:03:22 JakeWharton: I think I like your idea Nov 27 01:03:50 JakeWharton: I really should write it down, as I reckon a power outage (aka sleep) will cause memory loss on my end of the Internet Nov 27 01:03:51 JakeWharton: You said gson was data neutral. YOU LIED, it escapes html chars by defualt Nov 27 01:04:10 when did I say that? Nov 27 01:04:57 let me find it Nov 27 01:05:13 Thanks for the help guys, much appreciated. :)) desmin88 funkbox JakeWharton Nov 27 01:05:19 JakeWharton, https://github.com/square/retrofit/tree/master/retrofit-converters Nov 27 01:05:38 Retrofit is content-format agnostic, not GSON Nov 27 01:05:51 oh Nov 27 01:05:51 damn Nov 27 01:05:57 nvm then, nothing to see here Nov 27 01:06:11 desmin88: you better try to find some dirt elsewhere ;) Nov 27 01:06:15 hehehe Nov 27 01:10:43 Can somebody please help me fix genymotion, it wont find my vmbox install no matter what i do Nov 27 01:17:18 Tried reinstalling, installing a higher version vmbox Nov 27 01:21:14 We are adding google play services to our app - upon upload to the market, google things we are adding 57 new localizations - which is false. what gives Nov 27 01:21:15 ? Nov 27 01:23:26 I would guess GPS has 57 localisations you don't Nov 27 01:25:29 correct. I don't want users to think we have more localizations than we really do. I'm attempting to remove the values folders from the resources... Nov 27 01:26:27 Hey guys, I'm using an android.media.FaceDetector to find the faces in a Bitmap, but I can't seem to figure out how to get the bounding box of the face (or better still, the head; I want to replace it with something else). Anyone got any hints? Nov 27 01:29:13 I need to build JavaScriptCore and/or ICU. How do I build individual projects in android.googlesource.com/platform/external? Nov 27 01:33:26 CasW: the face class doesnt give you enough? Nov 27 01:33:42 funkbox, the EdgeEffect solution will get too crazy :-/ Nov 27 01:33:48 especially with reflection and so on Nov 27 01:34:01 FaceDetector.Face gives me Eulerian angles, isn't that just the rotation?... Nov 27 01:35:05 do you think it's possible to just say that I have 1 extra page at the beginning and 1 extra page at the end, but these are 'bouncing back'? Nov 27 01:35:24 CasW: along with some other things Nov 27 01:35:58 such as midpoint and eye distance Nov 27 01:36:03 which you can use to get a bbox Nov 27 01:38:18 Ah, okay, didn't know that, thanks! Is there any way to get that bbox easily, or do I have to get a complete understanding of Eulerian angles? :-P Nov 27 01:38:48 add subtract eye distance around the midpoint to get 4 corners maybe Nov 27 01:43:32 is it possible to just have 1 activity, 2 fragments for master detail? Nov 27 01:45:21 do any of you have any idea why Android and iOS won't allow software to select and lock in screen orientation after compile? Nov 27 01:45:34 If I need to render a programmatically defined view on top of existing layout (without restructuring layout), what are my options? So far I only found a transparent activity... Any other options? Use case: a library that can be embedded into any app that renders a UI on top of app's layout. Nov 27 01:46:34 xmmm: Could you clarify your question? http://stackoverflow.com/questions/2366706/how-to-lock-orientation-during-runtime Nov 27 01:47:17 xmmm: Or do you mean override orientation for other apps (system level)? Nov 27 01:49:51 i'll look into it thanks Nov 27 01:50:48 yawn Nov 27 01:51:32 2 activites and 2 fragments just seems wasteful. Nov 27 01:54:54 Like why cant one activity dole out 2 fragments Nov 27 01:59:10 desmin88: why can't it? Nov 27 01:59:32 every example for master detail i see has 2 activites, 2 fragmen ts Nov 27 02:03:20 Thing is, I'd like to use https://github.com/MobiDevelop/android-split-pane-layout Nov 27 02:03:40 Between both of the fragments Nov 27 02:04:41 hello Nov 27 02:04:53 Not sure how to do that Nov 27 02:05:12 I need a sound that I can play to get the user's attention. like a timer Nov 27 02:05:32 anyone got any ideas? Nov 27 02:05:49 Are you asking how to play the sound, or an idea of what sound to play? Nov 27 02:06:09 maybe a built-in sound I can reference, or a mp3, etc. Nov 27 02:06:24 no I need an actual sound Nov 27 02:07:44 I know how to play a sound Nov 27 02:08:04 can probably just google free sounds' Nov 27 02:14:53 Hi guys, Im using the ViewAnimator class to change between a log-in view, and a register view. I want the view to look like it pivots on a vertical axis. How achieve? Nov 27 02:15:20 I currently have tried fade_in and fade_out as part of android.R.anim... but don't particularly like them. Nov 27 02:15:31 Not that they are bad, just a bit plain. I'd like something a tad showy. Nov 27 02:23:27 I want to rotate it as if there was a skewer going through the view vertically as opposed to one going through the screen Nov 27 02:25:15 Anthaas, see android.graphics.Camara Nov 27 02:25:26 *Camera Nov 27 02:27:11 desmin88: like which one? Nov 27 02:27:39 do any of you have recommendations for a simple java code editor I can use for android files that will give me android code completion? im trying to avoid eclipse and android studio Nov 27 02:27:42 MDTech-us_MAN: uhh, you can take a pick Nov 27 02:27:52 canurabus: why would you avoid as Nov 27 02:28:03 visual studio Nov 27 02:28:04 have a look at eclim Nov 27 02:28:29 my projects are mostly native with minimal java... but enough that a good editor would help Nov 27 02:29:46 why mostly native ? Nov 27 02:29:56 why Camera? Nov 27 02:30:03 What I am doing has nothing to do with the camera? Nov 27 02:30:32 bankai_, so it works everywhere. Nov 27 02:30:43 wat. Nov 27 02:31:03 canurabus: are you coding for iOS, winders etc. ? Nov 27 02:31:39 linux, blackberry, maybe tizen, maybe sailfish, maybe os x and android. not ios or windows though :p Nov 27 02:32:06 im just porting to android really, not building something from scratch for it Nov 27 02:32:28 That's a matrix camara Nov 27 02:32:32 mmm tizen, how's that going? has anyone released it yet ? Nov 27 02:33:18 Anthaas, you create the camera object, rotate it how you want and then it gixes you a matrix to apply to the canvas you're drawing to make that rotation happen Nov 27 02:33:19 i dont think theres an official release yet but it seems like its making good progress... i have yet to grab sources and play around with it Nov 27 02:34:10 "A camera instance can be used to compute 3D transformations and generate a matrix that can be applied, for instance, on a Canvas." Nov 27 02:34:31 alex_PP: Oh. I've done it now. It was easier to create the animation_in.xml file with an animation set describing the animation in, and then have the same animation, but opposite, in the animation_out.xml file. Set them both on my ViewAnimator... Nov 27 02:35:13 Useful to know though, thanks. Nov 27 02:35:37 To better descibe what I wanted: the in animation to grow from the middle of the view outwards, and the out animation to shrink from the outside inwards Nov 27 02:35:40 one of my favourite classes Nov 27 02:38:28 I need a sound like a timer, but not a beep or anything like that. It needs to catch the user's attention even if the phone is in a pocket. Nov 27 02:39:49 Make it sound like a text message Nov 27 02:39:53 Trick them Nov 27 02:39:53 MDTech-us_MAN: why cant you find a sound yourself :P Nov 27 02:39:57 Will always get their attention Nov 27 02:39:59 just google free sounds Nov 27 02:40:11 Can you dynamically return the users SMD notification sound? Nov 27 02:40:15 SMS* Nov 27 02:41:08 I need something longer than the simple SMS sound Nov 27 02:41:53 play the sms sound twice Nov 27 02:41:54 tada Nov 27 02:41:59 TTS? Nov 27 02:42:13 well, that sounds too plain Nov 27 02:42:26 then your SOL Nov 27 02:42:30 alex_PP: wat is TTS Nov 27 02:42:41 desmin88: SOL? Nov 27 02:42:46 test to speech Nov 27 02:42:48 *text Nov 27 02:43:01 "I can't do that Dave" Nov 27 02:43:10 "Daiiiiiiiiiisssssssssssyyyyyyyy... " Nov 27 02:43:14 etc. Nov 27 02:43:27 shit out of lock Nov 27 02:43:49 "OI, WA***R! YOU'RE PHONE IS GOING OFF!" Nov 27 02:45:15 https://play.google.com/store/apps/details?id=com.alex.talkative Nov 27 02:45:27 TTS is fun Nov 27 02:45:28 ! **** ENDING LOGGING AT Wed Nov 27 03:00:00 2013