**** BEGIN LOGGING AT Sat Oct 25 03:00:01 2014 Oct 25 03:00:04 shaun413: How about something like Tic Tac Toe? Oct 25 03:00:43 i might try the udacity videos Oct 25 03:01:09 shaun413 for what ? Oct 25 03:01:15 for learning Oct 25 03:01:59 you have 3 years of programming experience ? Oct 25 03:02:16 i dunno if videos really help people learn programming Oct 25 03:02:28 2 Oct 25 03:02:54 bankai_au less about medium Oct 25 03:03:02 more about technique and target Oct 25 03:03:04 I think doing is the best way in Android. Oct 25 03:03:07 Rather than reading. Oct 25 03:03:09 Or watching. Oct 25 03:03:41 well Oct 25 03:03:50 yes, im just frustrated with reading Oct 25 03:03:53 Another idea is a calculator. Oct 25 03:03:59 That's kinda like a "Hello, world". Oct 25 03:04:11 Or a torch app. lol Oct 25 03:04:32 Torch apps can use the flashlight or the screen (with various colours). Oct 25 03:05:35 forget all of that Oct 25 03:05:59 Why forget it? Oct 25 03:06:06 I think they are good ideas for an Android noob. Oct 25 03:06:34 do an app with 2 screen, first you enter some text, then press a button, takes you to next one where the text you entered is played in as an animation on a loop, till you press back etc… make sure your app rotates Oct 25 03:06:44 simples Oct 25 03:06:49 as an intro that is Oct 25 03:07:34 forced to learn about states/lifecycle/intents Oct 25 03:07:56 also anims and views + layouts Oct 25 03:09:48 I was wondering about the idea of (in general) avoiding Parcelable by making our classes serialize/deserialize to/from strings. Does that sound like a good general approach? Oct 25 03:10:02 Obviously there are times when this won't work, but it seems to work nicely in some cases. Oct 25 03:11:47 TacticalJoke hows the reddit app coming along ? Oct 25 03:12:16 I haven't started it. I'm spending all my time on my current app. Oct 25 03:12:31 oh whats the current ? Oct 25 03:12:41 It's an app based on the book The Dice Man. Oct 25 03:12:43 It's really lame. Oct 25 03:12:54 But it's my first Android app, so why not. Oct 25 03:13:04 anything to show ? Oct 25 03:13:12 It's not on Google Play yet. Oct 25 03:22:46 whats news in android dev land today :) Oct 25 03:23:04 oh i guess http://android-developers.blogspot.ca/2014/10/implementing-material-design-in-your.html Oct 25 03:23:14 sush StingRay_ Oct 25 03:24:04 the more i read through the material guidelines, its like rereading "Brave NUI World" but things taken too far Oct 25 03:25:43 I just got the Google Play update. I'm not sure I like material. :/ Oct 25 03:26:07 Also, the new Google Play icon doesn't look like all the other icons on my home screen. Oct 25 03:26:07 I…I….CANT!!!!! "Material Design helps you to build understandable, beautiful and adaptive apps, which are alive with motion" should read "Material Design helps you to build odd and not quite right ideas, they look beautiful but the motion will confuse and make no sense, things will be that little bit….harder " Oct 25 03:27:13 and I dare anyone to say that isnt true, already want the old play back, performance is down and I have to do some rather forced things that were simple and not forced before Oct 25 03:28:00 When I start Google Play, there is a very-visible flicker in the Toolbar. Oct 25 03:28:14 First, it shows the toolbar without the left-menu thing. Then it appears. Oct 25 03:28:15 oh and not to pick, but they say "things dont come out of nowhere ?" then stop adding buttons and toolbars that do exactly that Oct 25 03:28:40 ugh… it's just getting funny to me now, rather than any serious argument Oct 25 03:29:51 but g00s dont get me wrong, things like forced or guided pallets that are complementary for programmers with no design ability are a massive plus!!! so the pastel sheets and little shadows I really agree with Oct 25 03:30:10 but like all things, they are a trend and should be "designed and accounted" as such Oct 25 03:31:26 but yeah, time to go forth and waste 40% of your apps visible screen space with …blank color … not as if mobile screen sizes are restrictive compared to comparative content :) Oct 25 03:32:10 * StingRay_ smacks himself, "it's only a trend, it will pass" Oct 25 03:32:36 This too shall pass. Oct 25 03:33:56 but serious, I want the old play back, this one despite looking cleaner, displays less, forces me into longer actions that I should and even has visual bugs Oct 25 03:34:16 the toolbar goes light color with white text at one point Oct 25 03:34:33 and stays that way sometimes….need to back out or rotate screen Oct 25 03:35:12 I think play should have some kind of version thing built in, so you can revert…say 3-5 versions back (as a user) Oct 25 03:35:47 be nice for when a dev makes a huge mistake too :) Oct 25 03:35:48 * g00s yawns Oct 25 03:35:49 I think all apps should be revertable. Oct 25 03:35:53 you guys are funny Oct 25 03:35:58 revertible* Oct 25 03:37:23 i think all designers are somewhat crazy Oct 25 03:37:47 but dees pink is more beautiful than your aquaaa Oct 25 03:38:29 designers brought us material maddness in the first place :) Oct 25 03:38:45 TacticalJoke yeah would be good to have it in the play app though…cant remember but I have wanted it due to a fkup by a dev more than once Oct 25 03:39:22 Il y a une certaine je-ne-sais-quoi. Oct 25 03:39:42 means all these "latest update broke everything" reviews may go down a little :) Oct 25 03:42:00 Another thing Android needs is a generic "delete last word" gesture in just any keyboard. Oct 25 03:42:13 I hate deleting words one letter at a time. Feels like being a typing noob again. Oct 25 03:42:27 TacticalJoke, in fact Jagex used the exact same policy with Runescape a few years ago. Then their everything went into a tailspin and they started revising their policy. They even unbanned thousands of old accounts as "amnesty". Oct 25 03:42:30 Maybe a left-swipe over a word. Oct 25 03:42:31 Or something. Oct 25 03:43:00 You would get banned, with no way to appeal and no way to know why you got banned. Oct 25 03:43:06 TacticalJoke press hold delete does it word by word Oct 25 03:43:25 Agamemnus: The reverting thing? Oct 25 03:43:33 StingRay_: That just deletes really quickly here. :[ Oct 25 03:43:37 Way too quickly, in fact. Oct 25 03:43:39 Google Play Oct 25 03:43:49 well most IME do it that way I think Oct 25 03:43:55 google and swift do Oct 25 03:44:37 My final suggestion is Ctrl+Z. Oct 25 03:44:57 Android lets us do but not undo. Oct 25 03:45:21 Can anyone help me: how do I get the player ID via Google Play Services? I know what to import, I know what class it is ("Player"), and I know the function Oct 25 03:45:33 But I don't know how to actually do it. Like what the code it. Oct 25 03:45:35 is Oct 25 03:45:46 https://developer.android.com/reference/com/google/android/gms/games/Player.html#getPlayerId%28%29 Oct 25 03:45:58 How would I get the player ID with this? Oct 25 03:46:37 In other words: where do I get Player? Oct 25 03:46:46 * StingRay_ dont understand the question Oct 25 03:46:59 ???.getPlayerId() Oct 25 03:47:04 What is the code....? Oct 25 03:48:18 https://developer.android.com/reference/com/google/android/gms/games/Players.html#getCurrentPlayer(com.google.android.gms.common.api.GoogleApiClient) Oct 25 03:48:45 ok so.... ????.getCurrentPlayer().getPlayerId() Oct 25 03:49:04 never played with play games services …but seems simple Oct 25 03:51:14 I can't find any example, nothing Oct 25 03:51:26 https://www.google.com/search?num=20&newwindow=1&q=google+play+get+the+player+object&oq=google+play+get+the+player+object Oct 25 03:52:51 Does anyone know how the onSaveInstanceState functionality works? I'm guessing it writes to a disk file under the hood? Oct 25 03:53:09 Agamemnus https://developer.android.com/google/play-services/games.html ? Oct 25 03:53:50 kill me Oct 25 03:54:34 Is it legal to commit consensual murder? :D Oct 25 03:54:50 who cares get me a knife quick Oct 25 03:55:09 I will settle for a spoon, anyone ? a spoon! Oct 25 03:55:18 Agamemnus why btw ? Oct 25 03:55:37 You're gonna spoon the guy? Oct 25 03:55:46 lol Oct 25 03:55:54 Fine, I'll make a stack overflow post Oct 25 03:56:01 what, the ID Oct 25 03:56:06 I need it Oct 25 03:56:15 yeah it's all there in those tuts Oct 25 03:56:19 their quick start guide is killing me Oct 25 03:56:23 learn to use the googleApiClient service Oct 25 03:56:29 https://developers.google.com/games/services/android/quickstart Oct 25 03:56:38 it's a joke Oct 25 03:57:10 I would go blind reading that. Oct 25 03:57:37 * g00s readies his teacup Oct 25 03:58:22 Agamemnus I assume it's the same for anything, like GCM or Gdrive both that I use Oct 25 03:58:55 I request auth, then if I dont have it user is prompted for me to use their google account (well thats the drive way) Oct 25 03:59:16 you mean G+ Oct 25 03:59:17 the gcm way I just get the device to request registration and get an reg id Oct 25 03:59:24 so yeah, whatever it uses Oct 25 03:59:38 should be simple and be kinda the same flow Oct 25 03:59:41 i just want a nice line of code Oct 25 04:00:04 something that won't make me tear out my eyeballs Oct 25 04:00:12 doubt it is a line Oct 25 04:01:00 It's a shame that Bundle doesn't have writeTo(Writer) and readFrom(Reader) methods. Oct 25 04:04:11 any one here have tried android stuidio with osx 10.10 ? Oct 25 04:04:32 10.10 suck Oct 25 04:04:35 s Oct 25 04:04:46 regan what are you running ? Oct 25 04:05:00 regan: have u upgraded to 10.10 Oct 25 04:05:03 10.10 on one and 10.9 on the other Oct 25 04:05:35 regan stability problems ? Oct 25 04:05:48 but seriously, who grabs a .0 apple release :) Oct 25 04:05:56 all kinds of problems and it is butt ugly to look at all day long Oct 25 04:06:05 i usually wait for .2 or .3 Oct 25 04:06:39 g00s: but will free upgrade be available then :D Oct 25 04:06:52 t2mkn has it ever not been ? Oct 25 04:06:56 * regan has 20 iOS apps in the store… on the upgrade treadmill for that reason alone. Oct 25 04:06:56 of course it will be Oct 25 04:07:21 ooo cool g00s thanks for the info, m not upgrading then :D Oct 25 04:07:33 t2mkn if you want, download it from MAS, then abort when it starts running. then at least you have it as 'purchased' Oct 25 04:08:10 so like when you see the "welcome to 10.10" abort, then you have it ;) Oct 25 04:08:26 thats if you are worried ;) Oct 25 04:08:47 i dont like the new looks of 10.10 Oct 25 04:08:48 then when 10.10.3 comes out, just delete the download, and redownload it again Oct 25 04:08:59 you'll get the new one :) Oct 25 04:09:22 regan for an old 2009 MBP 4G memory, what would you recommend 10.9 or 10.10 ? Oct 25 04:09:36 10.8.5 ;) Oct 25 04:09:45 what are you using it for..? Oct 25 04:09:51 development , Lr Oct 25 04:09:58 humm but g00s u said it will be available for free upgrade. then why to do all this ! Oct 25 04:10:08 someone was bitching the other day the X.X upgrade broke their mbp :/ (had to re-install) Oct 25 04:10:41 t2mkn i just gave those instructions in case you are worried. but i dont think you have to dl now if you dont want to Oct 25 04:11:12 i never installed 10.9, but luckily - a long time ago, i must have downloaded it. i deleted it, but it shows up in purchases. so i can download it right now if i want to Oct 25 04:11:26 which is great ... because afaik, you can't otherwise get 10.9 Oct 25 04:11:32 get a build environment you can live with and develop with that… I’ve seen people doing talks and running into upgrade compatibility issues between Android IDEs, libraries and whatever… You will need 10.10 to submit iOS come Feb 2015 Oct 25 04:11:37 (anymore) ... if you never got it in the past Oct 25 04:11:56 regan ah, ok Oct 25 04:12:10 regan: you what? really? I thought the Feb thing was only for 64bit apps :/ Oct 25 04:12:11 yeah 10.8.5 is kinda old StingRay_ Oct 25 04:12:21 g00s works ok Oct 25 04:12:25 humm Oct 25 04:12:46 StingRay_ yeah but like 10.7 where apps stopped getting updates, that will be the story with 10.8 soon Oct 25 04:12:49 bankai_au … there was another reason beyond 64bit, which I forget the details of now. Oct 25 04:13:00 g00s already is Oct 25 04:13:06 for example, Pixelmator doesn'r even run on 10.7 Oct 25 04:13:10 but not enough for me to jump yet Oct 25 04:13:14 i really hate upgrading esp after the XCode mess Oct 25 04:13:15 then i will stick with 10.9 for the time being. i have projects in this macbook. also osx 10.10 have gone against java Oct 25 04:13:50 Xcode stuffed up all my projects after the 5.0 to 6.1 upgrade Oct 25 04:14:19 * regan sits around pondering the Goldfish kernel Oct 25 04:27:27 * regan wonders what arm processor mode 10111 is.. Oct 25 04:35:30 Hello there, again! Oct 25 04:35:49 Maybe someone can advice me now? :) Oct 25 04:36:03 my main problem is that I'm using java.security.interfaces.RSA* + java.security.PrivateKey; And I'm casting PrivateKey to RSAPrivateCrtKey. It worked fine before Android 4.4.2, but now it throws > java.lang.ClassCastException: com.android.org.conscrypt.OpenSSLRSAPrivateKey cannot be cast to java.security.interfaces.RSAPrivateCrtKey Oct 25 04:36:09 or they could even advise you. Oct 25 04:36:09 So I decided to redo that with conscrypt.OpenSSLRSA* Oct 25 04:36:22 but can't google enough documentation on that. And when I just trying to import org.conscrypt. or com.angroid.org.conscrypt., and trying to build it with ant — I get javac errors that it is no such package Oct 25 04:36:28 while it IS org.conscrypt in $ANDROID_HOME/sources//org/conscrypt Oct 25 04:36:36 at least, it is for android-19 and android-21 (and I'm building for android-19) Oct 25 04:40:00 my app has been out for a week, 38 five star reviews and yet its almost impossible to find by searching play store. Am I missing something Oct 25 04:41:00 I know I'm in a hard market (poker) but still, searching for "poker god" while name is "Poker God - Heads Up Poker" and its somewhere way down Oct 25 04:42:22 would it help to remove "Heads Up Poker" from the name? Oct 25 04:42:56 rename it "Ebola Poker" Oct 25 04:43:00 hehe Oct 25 04:43:06 that should get some press Oct 25 04:43:10 nice change Oct 25 05:01:18 is there any way to install the debug signed wear app to a physical watch Oct 25 05:19:16 anyone recall precedent of using something like ActionMenuView in a Listview item? So each listview item would have a overflow menu for things to do with it; hm. i guess this is really what action modes are for Oct 25 05:19:50 greetings fine people .. so i am running the emulator and the adb is giving me I/DEBUG ( 948): failed to change ownership of /data/tombstones: Permission denied Oct 25 05:20:08 what could be the problem.. please help Oct 25 05:25:22 here's a piece of the log .. it repeats the same thing http://sprunge.us/QXcU Oct 25 05:26:14 wait what ? the system cant dump to that dir ? Oct 25 05:26:16 g00s: plenty of apps do that Oct 25 05:26:57 JakeWharton yeah, i just noticed material even showing it http://material-design.storage.googleapis.com/images/components-dividers-inset-1b_large_mdpi.png Oct 25 05:27:01 thanks Oct 25 05:27:29 g00s that is something I agree with and have myself btw :) Oct 25 05:27:41 see..I dont dislike everything :) Oct 25 05:27:56 just most things Oct 25 05:28:01 sulayman: it's either an SEAndroid issue, or possibly it can't mount the data partition Oct 25 05:28:20 sulayman: take a look at dmesg for the kernel log. if there's a problem mounting the data partition, it would likely show it Oct 25 05:29:19 StingRay_ meh, then in http://www.google.com/design/spec/components/lists.html they say : "Avoid creating visual noise by repeatedly using supplemental actions in tiles, for example, by displaying a share action in every tile." Oct 25 05:30:16 g00s well yeah, when you admit that it's all balls and they dont know what they are doing, and design and document by committee is a bit wrong, then just do what feels right for the "design" yourself Oct 25 05:31:05 so for my use, contact edit,view,call,stats becomes a quick operation on an item, regardless of use or feq. Oct 25 05:31:46 i see this <4>[ 1021.976063] type=1400 audit(1414215009.965:625): avc: denied { getattr } for pid=948 comm="debuggerd" path="/data/tombstones" dev="mtdblock1" ino=21155 scontext=u:r:debuggerd:s0 tcontext=u:object_r:unlabeled:s0 tclass=dir permissive=0 Oct 25 05:31:49 same as if you say, went to delete mode and it showed X's on all the items, that is visual noise, but it's also the best way to get something done Oct 25 05:33:07 but i see the data ... root@generic_x86:/data/tombstones # ls -l Oct 25 05:38:14 i sure hope the material design spec has more "implementation details" added (for devs) Oct 25 05:41:18 selection doesn't even talk about the contextual action bar http://www.google.com/design/spec/patterns/selection.html Oct 25 05:41:31 g00s you will not be happy till either all apps look identical and the only thing that differs is the name :) Oct 25 05:41:44 "Both long-press and two-finger touch may be extended by a drag gesture to select multiple items when initiating selection. " Oct 25 05:41:50 if they make all decisions for you, what fun is that Oct 25 05:41:50 hmm... i just needed to -wipe-data apparently Oct 25 05:41:51 i love this, "may" ... but how ? Oct 25 05:42:01 does the framework do that now? do i have to do it? Oct 25 05:42:01 thank you fine people ... buddha bless you Oct 25 05:42:17 StingRay_ write your own platform , with your own UI rules Oct 25 05:42:21 StingOS Oct 25 05:42:45 if you dont want to follow 99% if the interaction idioms of the platform, why use it ? Oct 25 05:42:47 it would have Views, and then give you ability to do what you want :) oh...wait Oct 25 05:43:06 but I like the name ;) StingOS Oct 25 05:43:20 sounds more like a workstation platform though Oct 25 05:45:28 StingRay_ you dont have to argue with me; its between you and your users ultimately. if they want your app regardless of its inconsistencies with the platform, thats great Oct 25 05:45:47 regardless, or because Oct 25 05:45:57 read back, I'm actually defending google here :) Oct 25 05:46:29 would not be great to give spec and design on all interaction and use details of a "insert your type here" app Oct 25 05:51:36 one thing for sure - job security for designers working on android projects :) Oct 25 05:56:37 g00s tried crashlytics yet ? Oct 25 05:56:47 that answers thing is growing on me Oct 25 05:57:15 mailed them to add a few more controls to it though… and could turn into a nice little view Oct 25 05:57:19 StingRay_ no i haven't. its actually part of twitter fiber now, not sure what that really means yet Oct 25 05:57:32 fiber, fabric, whatever dumbass name they came up with Oct 25 05:57:50 hey, I helped crate a game engine called fabric Oct 25 05:57:53 was good too Oct 25 05:57:58 well, good'ish Oct 25 05:58:54 partially based on sony's fire engine on ps3, but still, I thought fabric was a good name :) Oct 25 06:02:57 Hello Oct 25 06:03:12 Question, is there any way to close a dev account? I couldn't find one Oct 25 06:04:47 SpeakerToMeat just submit an app with some keyword spam Oct 25 06:04:56 and then appeal .. profit Oct 25 06:06:14 should i be using getSupportFragmentManager or getFragmentManager. Oct 25 06:06:41 well, i have PreferenceFragment to add, thats not v4.Fragment so .. i guess regular getFragmentManager Oct 25 06:09:56 even AS is confused , man when that happens you know you're screwed Oct 25 06:10:53 g00s what is the host activity from ? Oct 25 06:11:01 Activity or FragmentActivity ? Oct 25 06:11:09 ActionBarActivity of course Oct 25 06:11:41 oh fk, never used actionbar lol…but thats fragmentActivity then Oct 25 06:11:45 by the looks Oct 25 06:12:02 g00s: That's exactly what i want to avoid... I originally made my account with my personal user, I dont' plan on launching any app, maybe one or two OSS/free apps in the future, but I want to move to a corporate one now to avoid being locked forever Oct 25 06:12:07 so would be getSupport* right ? Oct 25 06:12:26 Because, IDK, a mouse with a color similar to one letter of my name got struck by a google car, and thus they need to ban me or something Oct 25 06:12:50 I want to close the account, losing the money and all, so I can keep my wallet and gmail and etc safe Oct 25 06:13:16 SpeakerToMeat i've read how to xfer apps from one account to another; honestly never saw how to shut down an account Oct 25 06:14:13 StingRay_ getSupportFragmentManager returns android.support.v4.app.FragmentManager Oct 25 06:14:33 which gives you a android.support.v4.app.FragmentTransaction Oct 25 06:14:55 which adds android.support.v4.app.Fragment Oct 25 06:15:08 but PreferenceFragment is not that Fragment Oct 25 06:15:14 yeah its pretty confusing ! Oct 25 06:15:24 (they really fucked this up) Oct 25 06:15:50 you're not interested in fragments though, just the host right ? Oct 25 06:16:02 and actionbar thingy is from fragmentActivity which is v4 ? Oct 25 06:16:06 hence getSupport ? Oct 25 06:16:08 i have a PreferenceFragment, of course i'm interested in fragments :) Oct 25 06:16:18 I mean not relating to your question Oct 25 06:16:32 i need to use the regular getFragmentManager to add this PreferenceFragment Oct 25 06:16:46 i guess thats ok ;) Oct 25 06:19:19 now i'm so confused, what happens if I have support.v4.app.Fragment and native platform PreferenceFragment in the same activity; do I use getSupportFragmentManager for v4.app.Fragments, and getFragmentManager for PreferenceFragment, and they all live happily ? Oct 25 06:19:48 fuck it, "seems to work" Oct 25 06:21:42 * g00s comes to grip with realization he'll never be agood android dev Oct 25 06:24:45 Michael Abrash said something like 10 years or 10 million lines of code… anyone can be a good dev Oct 25 06:51:02 i can't use System.console because it throws null when building in AS, and System.getenv doesn't seem to work, so WTF do I do to abstract the keypassword from my Gradle file Oct 25 06:59:12 Out of interest, which android device would be easiest/safest to reflash with your own kernel/Android build...? Oct 25 07:02:01 someone elses? Oct 25 07:04:08 haha Oct 25 07:06:32 * regan hides all his devices Oct 25 07:10:48 https://github.com/google/flatbuffers Oct 25 07:11:04 but .. "For applications on Google Play that integrate this tool, usage is tracked. " huh ? Oct 25 07:13:31 {o_o} Oct 25 07:13:42 ah "Applications that are uploaded to the Google Play Store are scanned for this version string. We track which applications are using it to measure popularity. You are free to remove it (of course) but we would appreciate if you left it in." Oct 25 07:14:24 telemetry string Oct 25 07:14:29 but its c++ / jni so meh Oct 25 07:33:37 capella-s3 what should you be doing now :) Oct 25 07:33:47 * g00s cracks whip Oct 25 07:34:28 g00s: I did some research earlier today ... starting to get a little more comfortable with next steps Oct 25 07:34:38 :) Oct 25 07:36:07 hello guys, I am using webview, but the problem is onPageFinished is being called before url is loaded Oct 25 07:36:44 Read a bit that made it easier for me ... the advice was "Don't get hung up on providing the 'right' answer" ... Oct 25 07:36:45 The key is what I do naturally anyhow ... explain my approach and how it'll get me to the answer ... then be open to refinements to the approach I might not have thought of :D Oct 25 07:37:24 any idea what could be the issue Oct 25 07:37:29 here is the code Oct 25 07:37:30 http://pastebin.com/rqrNW7LJ Oct 25 07:37:49 there has to be a way for my client to ignore all webview related things :) Oct 25 07:38:45 capella can you say something with webview ? Oct 25 07:39:05 not off the top of my head Oct 25 07:39:09 any help guys? Oct 25 07:39:26 capella just say webview in a msg Oct 25 07:39:37 I'm currently wondering why my actionmodecompatview has zero width Oct 25 07:39:47 "webview in a message" Oct 25 07:39:53 bah, didn't work Oct 25 07:40:25 neo3 web stuff ... doesn't get much love here Oct 25 07:40:33 Hi, I am helping a friend to create an app that shows one images and on-press it switches to a second image. Since he wants animation I chose the ImageSwitcher component. All tutorials I find use it programmatically. How can I define a set of images declaratively so that I can see the preview in eclipse IDE? Oct 25 07:40:49 I can see the thing matchs parent width (full device width) but the code when measuring returns 0 Oct 25 07:49:48 g00s : its android webview Oct 25 08:19:44 what do I have to import to use getSherlock() as done in http://stackoverflow.com/questions/10542103/showing-indeterminate-progress-in-sherlock-action-bar Oct 25 08:22:58 wow man Oct 25 08:23:07 I installed VRapper and now Eclipse won't start up Oct 25 08:23:17 "Android SDK Content Loader" forever Oct 25 08:26:15 I think this was the last straw for me Oct 25 08:26:19 Im jumping ship to AS Oct 25 08:28:01 I'm trying to read from the gyro - it returns timestamps in terms of "nanoseconds since the device has been on". How do Iget the actual timestamp? Oct 25 08:30:06 there's a block of code out there on SO that has your name on it Oct 25 08:30:50 Is the application singelton exactly the same object i get when I do getApplicationContext() ? Oct 25 08:31:00 casted to context Oct 25 08:31:31 danijoo asking a question? Oct 25 08:31:35 well well well! Oct 25 08:31:39 :p Oct 25 08:31:44 huh? Oct 25 08:32:00 print them both and compare Oct 25 08:32:19 yeah i hoped for a fast answer without opening a new android project :p Oct 25 08:32:29 in any project Oct 25 08:32:35 log it anywhere Oct 25 08:32:46 the open one text too long to compile for tests like that. faster to start a new one ;0 Oct 25 08:33:07 http://stackoverflow.com/questions/5018545/getapplication-vs-getapplicationcontext ? Oct 25 08:33:41 ty. seems like its not the case :( Oct 25 08:55:30 Hey, i have 3 activities A(Main Activity) , B and C , It goes from A->B->C , how can i go directly from C->A , A is the main Activity Oct 25 08:56:56 killer, create a new intent for activity a and add FLAG_ACTIVITY_CLEAR_TOP Oct 25 08:56:57 morning all Oct 25 08:57:23 killer, that will bring A to foreground and clear away all activities in the stack above A Oct 25 08:58:12 if I user progressbar in sherlockactivity Oct 25 08:58:57 will I see the spinning progresbar in slick style or the classic android style Oct 25 08:59:42 Mavrik: seems like ,it will work , I was using finish but wasn't get the result. Thanx Oct 25 08:59:54 That sentence made no sense. Oct 25 09:00:10 But good that you made it work. Oct 25 09:01:38 get ->getting Oct 25 09:07:07 hi Oct 25 09:07:10 I have a problem Oct 25 09:07:51 I've written a MapAdapter extends BaseAdapter but calling notifydatasetchanged() does nothing Oct 25 09:09:08 I get ADB server didn't ACK a lot lately. I don't know how to get it to ACK again. Oct 25 09:28:53 hi Oct 25 09:47:52 if I'm developing a new android app should I be using Android Studio or Eclipse? Oct 25 09:48:10 couldn't seem to get AS to accept these .so files... Oct 25 09:51:45 anyone working on android studio Oct 25 09:52:27 i sddenly se errkrs with viewpagr in ilive view Oct 25 09:53:18 0.8.6 Oct 25 10:00:17 when using android studio should I be seeing support library in app/libs ? Oct 25 10:00:25 for some reason i cannot used viewpager Oct 25 10:00:42 i do not see it in the Palette either Oct 25 10:11:11 Hey, how can I access the root directory in Kindle Fire? Kindle fire uses a modified version of Android. I mouted kindle fire on linux and windows but I only can access the Internal storage, never the root dir / Oct 25 10:25:07 hi Oct 25 10:25:39 is it possible to load a bitmap onto part of another bitmap? Oct 25 10:26:00 so for example say I have a 1000x1000 bitmap and load a 500x500 bitmap onto part of it Oct 25 10:35:51 ChrisUK, you'll have to draw on it Oct 25 10:37:35 hey guys, i show the current location (getting it from geocoder) in my app. i want to set the app-language via Locale.setDefault before fetching the addresses list according to the country the user is currently in, so that the user sees the city and streetname in her/his language. Oct 25 10:37:45 But i`m not sure if the country-string from addresses-list is always equal to the locale-string, like country from addresses-list for germany is "de" and i can use this string for Locale locale = new Locale("de"); does this also work for china, japan, .....? Oct 25 10:37:46 its hard to test, dont want to travel to every country for that ;) Oct 25 10:39:51 why don't you read documentation about geocoder and Java locale instead? Oct 25 10:39:59 just look if they conform to the same ISO standard :P Oct 25 10:40:04 easier than traveling IMO Oct 25 10:46:41 Mavrik: thank you, i`m doing this right now, ...but all it says for public String getCountryCode() -> Returns the country code of the address, for example "US", or null if it is unknown. Oct 25 10:47:48 http://developer.android.com/reference/android/location/Address.html#getCountryCode%28%29 Oct 25 10:47:59 If , I go from activities A(Main Activity) A->B->C->B->C->B ,and back key hardware key is not pressed. Now I am at B and pressing back key should take me back to A and not C. How can i achieve this? Oct 25 10:49:00 adkins, that's just the object, check geocoder documentation Oct 25 10:49:21 killer: add android:launchMode="singleTop" on B Oct 25 10:49:50 killer, 1.) set proper launchMode 2.) finish() activities B and C as you go out 3.) handle onBackPressed in B Oct 25 10:49:54 one of those. Oct 25 10:49:55 killer: you might want to handle onNewIntent aswell Oct 25 10:50:28 so I have a listview with multiple choice, but I can't get it to check Oct 25 10:50:43 even calling setSelection does nothing Oct 25 10:51:11 Jonno_FTW, you need to manually make sure that UI resembles "checked" status Oct 25 10:51:17 Android can't do that magically for you Oct 25 10:51:50 I have it backed with a custom adapter Oct 25 10:52:23 and getview calls setChecked() Oct 25 10:52:32 Mavrik: i found this in Address class: getLocale() -> Returns the Locale associated with this address. i guess i could set the language to this. what do you say? Oct 25 10:52:39 on the checktexview from android.R.layout.simple_list_item_multiple_choice, Oct 25 10:52:45 adkins, uh Oct 25 10:52:53 adkins, wait what are you doing exaclty? Oct 25 10:52:59 why aren't you using device set language? Oct 25 10:53:51 Mavrik: since when Oct 25 10:54:28 Mavrik: that was a response to manually change UI for checked status Oct 25 10:54:49 Napalm, since always Oct 25 10:54:55 Jonno_FTW: what are you trying to do? just have a multi select list? Oct 25 10:55:05 Mavrik: erm? since never Oct 25 10:55:11 changing selected state in ListView won't go magically looking for checkboxes in your UI Oct 25 10:55:18 or colors, or whatever. Oct 25 10:55:25 that part of wiring you have to do yourself. Oct 25 10:55:26 Napalm: yes, but backed by a treemap so I can update it elsewhere Oct 25 10:55:28 Mavrik: in my app i let the user select between two languages: german and english and set the language via locale according to this. i also show the current street and city in my app. Oct 25 10:55:30 but these will be set two the set language too and i want the location texts set to the language of the country the user is in, regardless of what he has choosen in preferences in my app Oct 25 10:55:53 ah, I see Oct 25 10:55:56 hrmmf Oct 25 10:55:59 Napalm: the TreeMap is Oct 25 10:56:02 Mavrik: it does Oct 25 10:56:13 Mavrik: it looks for a Checkable Oct 25 10:56:32 and then ti fails and then you have a person here confused :P Oct 25 10:56:49 Mavrik: I've done that in my adapter Oct 25 10:57:10 Jonno_FTW: do you need to adjust the TreeMap during selection or do you just want to update the TreeMap after the user has finished choosing their selection Oct 25 10:57:59 http://pastebin.com/wLYieV28 Napalm the treemap is adjusted in the itemclicklistener Oct 25 10:58:19 Mavrik: so my thought is: getting the location from geocoder (language doesnt matter yet here), get from addresses the locale via getLocale, setting the applanguage to this locale, .......... Oct 25 10:58:20 getting the addresses again from geocoder again and after all set app langauge back to the language from my preferences ;) Oct 25 10:58:21 adkins, hmm, yeah, looking at the API Oct 25 10:58:31 no, don't do that Oct 25 10:58:39 changing language in the app will piss people off Oct 25 10:58:57 the Geocoder API (which you're using right?) takes "Locale" as parameter for coding Oct 25 10:59:13 so you do a request to determine the country the user is in and then initialize the Geocoder with the proper locale Oct 25 10:59:18 adkins: you can change the language for just your app Oct 25 10:59:20 and keep the app language set to whatever the user wants Oct 25 10:59:49 Napalm: I've got the listview updating the treemap, but I can't get it to go the other way around Oct 25 11:00:56 calling setChecked on the textview does nothing Oct 25 11:01:16 during getView Oct 25 11:01:28 Jonno_FTW: thats because you are trying to override the ListView handling of checking Oct 25 11:01:38 Mavrik: Napalm ok this is a lot of information ;) one step after another.......@Mavrik: dont do that? changing langauge in the app? i shall not let the user select between languages in preferences? Oct 25 11:01:52 Napalm: how should I write it then? Oct 25 11:02:15 Jonno_FTW: do you need to adjust the TreeMap during selection or do you just want to update the TreeMap after the user has finished choosing their selection Oct 25 11:02:17 ? Oct 25 11:02:50 well, it's in a drawerlayout Oct 25 11:03:11 Napalm: can i pm you on this? getting confusing here.... Oct 25 11:03:17 Mavrik: can i pm you on this? getting confusing here.... Oct 25 11:03:17 if you want Oct 25 11:03:55 I gues I want the treemap updated after the selection is made Oct 25 11:05:07 adkins, 1.) NEVER force a user to an app language automatically Oct 25 11:05:17 adkins, 2.) You said yourself you want to switch ONLY address language Oct 25 11:05:29 To switch geocoder ADDRESS language, use the parameter in constructor Oct 25 11:05:35 don't change whole app language just for that Oct 25 11:05:57 If you have to set a WHOLE app language automatically, use the users Android language preference, not location Oct 25 11:06:13 Mavrik: i get it ;) Oct 25 11:06:30 ;) Oct 25 11:06:37 Cool :) Oct 25 11:06:43 must be fun to have app languages change in holidays.. ^^' Oct 25 11:07:17 Mavrik: so like this: getting the location from geocoder (language doesnt matter yet here), get from addresses the locale via getLocale, create a new geocoder with this locale, ..........not changing the app language at all Oct 25 11:07:19 Mavrik: i disagree with the new shared user stuff.. its more apparent to have locale changes per app Oct 25 11:07:21 ?? Oct 25 11:08:06 nebiros, yes, I agree, having a setting in app can be cool as well Oct 25 11:08:08 er Oct 25 11:08:10 Napalm, Oct 25 11:08:22 (Locally alot of people are running Androids in english while they want app in another language) Oct 25 11:08:45 I just propose that the default langauge is always the device language (for people who don't know how to find settings) and that the language switch is always manual Oct 25 11:08:45 yea, thats what im saying Oct 25 11:08:53 oh Oct 25 11:08:56 I agree to that Oct 25 11:08:59 I usually have device_default, other languages option Oct 25 11:09:11 But you can always have it pop up on first time Oct 25 11:09:14 that would be cool Oct 25 11:09:44 mhm, I'm thinking of that Oct 25 11:09:46 default device-locale and then it automatically finds a language and suggests it Oct 25 11:09:53 but I'm also wondering if people would get annoyed Oct 25 11:09:58 adkins, yse. Oct 25 11:10:04 *yes* :) Oct 25 11:10:16 Mavrik: thank you Oct 25 11:10:20 Napalm: you too ;) Oct 25 11:10:30 i dont think so, as long as if the automatic one is the same as the device one you dont pop up the suggestion Oct 25 11:10:46 Jonno_FTW: i sent you a PM Oct 25 11:10:50 ty Oct 25 11:12:39 Mavrik: onBackPressed worked , thanks Oct 25 11:13:00 Mavrik: my idea from above before you told me the better idea ..... i think it does the same like yours because i set the app-language back to what it was after i got the location from geocoder immediately, but your idea is of course more elegant (note sure if my idea has some negative side-effects though) Oct 25 11:13:35 adkins, the issue I always had with changing the app language was that it (can) trigger recreate due to configuration change Oct 25 11:13:42 you can ignore it, but I always had a hellova time finding all the bugs Oct 25 11:16:52 Mavrik: that doesnt sound nice and makes me unsure of setting my app language like this: http://pastebin.com/qadcZ23t Oct 25 11:17:15 yeah, depending on where you call that, it'll trigger configuration change :) Oct 25 11:17:18 same as orientation etc. Oct 25 11:17:32 are you saying if i do it like this it can somehow happen that it switches somehow back Oct 25 11:17:33 ? Oct 25 11:18:00 it had issues with it going into endless loop :) Oct 25 11:18:08 but if it works for you, keep it Oct 25 11:18:38 welll i`m not sure, maybe i experienced something unwanted at testing...... Oct 25 11:19:31 i set in preferenceActivity the language and @onResume i do what i pasted in pastebin.... Oct 25 11:26:22 I am a little confused about material design. Play store and play music show the nav drawer under action bar while newsstand overlaps the action bar. Oct 25 11:27:16 What's the right way or guideline Oct 25 11:32:21 gitanshu: over the top is the spec Oct 25 11:33:19 gitanshu: http://www.google.com/design/spec/layout/structure.html Oct 25 11:34:30 Napalm: so that would hide the Nav Icon, right? Then what's the use of the nav icon animating to a back arrow when it shouldn't even be visible acc to the spec? Oct 25 11:34:50 gitanshu: exactly my thoughts Oct 25 11:35:02 gitanshu: so, I have done both Oct 25 11:35:11 my nav slides under the nav icon but above the action bar Oct 25 11:36:00 gitanshu: simply make your background of your toolbar transparent and then set a view inside the drawerlayout with the same height as the actionbar with the background Oct 25 11:37:15 is anyone here that got an invite to googles new inbox-thingy? *lurking for invitation* Oct 25 11:37:43 Napalm: interesting approach. I'll try to see how it looks. Oct 25 11:37:53 Napalm: Can i geta screenshot? Oct 25 11:39:38 gitanshu: yes, one moment Oct 25 11:42:57 Mavrik: address.getLocale(); gives me always the locale that is set in my app but not from the current location......damn Oct 25 11:43:24 sorry i mean address.get(0).getLocale(); Oct 25 11:43:27 Hi guys, this is my first app. I want to store the user's information in the cloud so their information can be updated across platforms. I have never done this before, do you have any suggestions for cloud services? Oct 25 11:44:17 CheesyPie: i think you should so something simple for your first app Oct 25 11:44:18 Google app engine with RESTful service Oct 25 11:45:08 Napalm: i have it's already out on the market, but the user data is only local Oct 25 11:46:37 I am a little nervous because i have never done back end server programming, is there a good way to start? Oct 25 11:48:21 CheesyPie: you might try https://www.firebase.com/blog/2014-10-21-firebase-joins-google.html Oct 25 11:49:29 CheesyPie: Do you know php or python? Oct 25 11:49:49 danijoo: a little bit of JS and python Oct 25 11:50:13 hm Oct 25 11:51:19 id go with google app engine and maybe python. Oct 25 11:51:32 there are official google docs on that Oct 25 12:23:00 how long does it take to get into android dev? I would like to write my bachelor thesis (starting in 5 monthsand to be finished in 10 months) on some modern software dev area, but I have never done anything mobile related before. Oct 25 12:23:54 suik: Have you coded anything else™ before? Oct 25 12:24:50 games and an eclipse addon dealing with AST-reading/parsing Oct 25 12:25:26 That means you have experience with Java? Oct 25 12:25:32 yes Oct 25 12:26:19 hey gitanshu Oct 25 12:26:32 suik, knowing Java, it took me 2 days to be able to do things with Android. In 5 months I'm sure you'll have gotten to grips with it enough to do a thesis Oct 25 12:26:48 Whilst different from game programming, it is very likely you'll be able to "do stuff" on Android in far less than five months, depending on how much time you spend for learning it. It depends though, what exactly your thesis shall be about. Oct 25 12:27:38 well, I would like to develop something for a company and write about it Oct 25 12:29:57 Napalm: yes, waiting for that screenshot :P Oct 25 12:38:05 Hi! I am not able to package my app's wearable module inside app's module. I tried including it by adding " wearApp project(':wearable') Oct 25 12:38:47 But It gives me "Project with path ':wearable' could not be found in project ':app'" Oct 25 12:41:13 does the applicationId of both modules have to be same? Oct 25 12:45:28 Anyone? Oct 25 12:53:07 which graphiical diff tools usually come with git, if any? Oct 25 12:53:17 what’s recommended for use with CLI in osc? Oct 25 12:53:19 osx Oct 25 12:55:21 mylord: Don't know about any GUI tool, but try tig, its a little better looking cli tool, looks really cool Oct 25 12:55:54 how can i search all change in a file history for a line containing something? maybe grep somehow? Oct 25 12:57:15 mylord: You mean this? http://stackoverflow.com/questions/10215197/git-search-for-string-in-a-single-files-history Oct 25 13:02:34 How do I set Android to open .py files with a specific app? Oct 25 13:02:40 Like QPython Oct 25 13:02:58 CheckDavid: You can't. That's specific to the app. Oct 25 13:03:17 Aww Oct 25 13:03:19 You could though, open to certain Intents. Oct 25 13:03:58 What do you mean? Oct 25 13:04:26 The app that shall open, could listen to all VIEW/EDIT/whatever intents and check if its a python file. And the file-explorer would just send that intent and let other apps handle the editing. Oct 25 13:05:32 You mean there's no way to control what the other app will do with it? If it's going to run or edit? Oct 25 13:06:09 That's up to the app that handles the intents, yes. Oct 25 13:06:23 How do I do it though? Oct 25 13:06:45 How do I do what? Oct 25 13:07:11 pfn: are you here maybe Oct 25 13:07:13 ? Oct 25 13:07:22 Test what the app chooses to do with the file if I instruct the file browser to open the file with a certain app Oct 25 13:07:36 I thought you meant it was possible despite the intents drawback Oct 25 13:08:40 I'm not sure I get what you mean. Of course, you can 'test' what happens, by just trying it, but that surely isn't what you mean. :/ Oct 25 13:11:26 CheckDavid: The app should only do what it says on the label. For [ http://developer.android.com/reference/android/content/Intent.html#ACTION_RUN ] it should execute the script, for [ http://developer.android.com/reference/android/content/Intent.html#ACTION_EDIT ] it should likely display a text editor. But, no, you can't (easily) validate that it actually does what it says. Oct 25 13:11:45 astroduck : exactly thx Oct 25 13:13:13 hello, i have a very simple applicaiton - just a blank activity and 1 text field which has android:saveEnabled="false", but when i run my application in the emulator and write some text and then hit the home button and return to the applicaiton the state of the text field is retained Oct 25 13:13:47 how can i make ripple effect with support library ? Oct 25 13:13:50 on button Oct 25 13:14:15 gordon: the ripple effects are not available in support library. Oct 25 13:14:25 they are L only Oct 25 13:14:34 :( Oct 25 13:14:52 so I need to buy nexus 5 then ;) Oct 25 13:15:27 gitanshu: is it the same about activity transitions ? Oct 25 13:15:36 s/about/with Oct 25 13:16:55 flan3002: I'm a bit confused. I thought you meant the only problem is that I cant easily predict what the app does with the .py file Oct 25 13:17:16 But can't o just feed it the file and see what it does? Oct 25 13:17:27 how can i disable the state retention of an EditText view Oct 25 13:17:42 i've set the saveEnabled to false in my layout file but the state is still retained Oct 25 13:21:59 CheckDavid: That depends on your POV. Are you a user or a developer in this context? Oct 25 13:22:52 User flan3002 Oct 25 13:23:19 CheckDavid: Well, then you can observe what happens. Oct 25 13:24:08 flan3002: how do I make it happen to begin with? Oct 25 13:24:20 What? Oct 25 13:24:36 You said I can observe... Oct 25 13:24:48 Yeah... what exactly do you want to observe? Oct 25 13:25:28 Me clicking a .py file and it being handled by QPython Oct 25 13:25:36 Or similar Oct 25 13:26:06 To what level detail do you need to know what happens? (And why do you care?) Oct 25 13:26:26 (And why do you discuss this in #android-dev) Oct 25 13:26:57 This is not theoretical. I just wanted to execute some python scripts practically. Oct 25 13:27:06 I don't want to just knowm Oct 25 13:27:20 *know. I want to see if it works in hope that it will work. Oct 25 13:28:54 So, you want to click an icon in a file-explorer and have QPython execute the selected script? What happens and what makes you think it does(n't) work? Oct 25 13:30:47 flan3002: it doesn't work. Its not just about thinking. When I.click a .py file it is opened by the default android text editor Oct 25 13:35:28 CheckDavid: Can't you run those scripts from within QPython? Oct 25 13:38:21 android supports running Python scripts :-o Oct 25 13:39:16 I have my fragment as a singleton. Once the app is launched the fragment is loaded and it is visible perfectly. But after a while when I get back to my app the fragment is not loaded and the layout remains empty (I think the activity is getting recreated and I loses the fragment reference) Can someone shed some light into this please? thanks in advance. Oct 25 13:40:18 Looney: Android itself, sure. But... not in a user-friendly way if you don't have apps that wrap this functionality. Oct 25 13:40:51 hmm, so I can use wxWidgets on Android for making GUI ? ? Oct 25 13:42:09 Is there any workaround for the new SwitchCompat missing the position indicator on versions of Android less than 5 as per http://stackoverflow.com/questions/26551066/switchcompat-missing-thumb-drawable-on-4-3-and-below Oct 25 13:43:12 Hello Oct 25 13:43:38 Where can I find the menu entries stuff for the recovery mode? Oct 25 13:44:02 flan3002: yes I can do that. But it would save a lot of time and screen tapping and file browsing. Oct 25 13:44:05 in what files/directories can I find it? Oct 25 13:44:11 Any ideas? Oct 25 13:44:21 cristian_c: Sounds like an #android-root question Oct 25 13:44:41 SimonVT, I was forwarded here from #android, lol Oct 25 13:44:55 #android is usually wrong Oct 25 13:44:57 SimonVT, but it's not a root question Oct 25 13:45:19 It's not an app dev question Oct 25 13:46:42 I'll try in #android-root, then Oct 25 13:46:47 i swear, i'll need a mac pro in order to be able to build any android app in any sort of reasonable time Oct 25 13:47:42 funktronic: do not ever use emulator Oct 25 13:47:50 use device for testing Oct 25 13:47:50 no i know that Oct 25 13:48:08 the build i'm talking about is gradlew assembleDebug Oct 25 13:48:09 then what else convinced you to get mac pro Oct 25 13:48:16 i'm about to write my own dex task Oct 25 13:48:17 A Linux or Windows PC works fine too Oct 25 13:48:39 you must be crunching lot of code Oct 25 13:48:49 it's not that much Oct 25 13:49:00 libraries ? ? Oct 25 13:49:03 Building my current project takes <1 second Oct 25 13:49:45 it takes like a minute to build and deploy apk on phone Oct 25 13:49:49 I am using i5 Oct 25 13:50:02 I have my fragment as a singleton. Once the app is launched the fragment is loaded and it is visible perfectly. But after a while when I get back to my app the fragment is not loaded and the layout remains empty (I think the activity is getting recreated and I loses the fragment reference) Can someone shed some light into this please? thanks in advance. Oct 25 13:50:21 napster: it shouldn't be a singleton Oct 25 13:50:36 anyways, gotta get going Oct 25 13:50:51 funktronic: nah Oct 25 13:50:54 funktronic oh Oct 25 13:51:03 why? Oct 25 13:55:22 the lifecycle of the fragment isn't your entire app lifecycle Oct 25 13:55:28 funktronic if it is not singleton, how can we check if a fragment's instance is visible to the user or not? Oct 25 13:55:54 napster: create a new blank project and select a single activity. see how it does it. that's the way you should do it Oct 25 13:56:16 ok Oct 25 14:03:37 any particular advantages of defining my AsyncTask outside my main class? Oct 25 14:07:45 i've decided not to use async tasks Oct 25 14:07:52 vinit-ivar: use rxjava, it'll make your life easier Oct 25 14:07:52 hey Oct 25 14:10:04 funktronic - looks cool Oct 25 14:10:07 sup earational Oct 25 14:11:20 hows it going vinit-ivar? Oct 25 14:11:47 same old Oct 25 14:11:57 damn deadlines Oct 25 14:21:03 androiddddd Oct 25 14:21:05 ugh Oct 25 14:22:40 vinit-ivar: any particular advantages of defining my AsyncTask outside my main class? - seperation of concern? Oct 25 14:24:32 It doesn't keep the Activity (which I assume you mean by main class) in memory while running Oct 25 14:29:17 gordon_, sup Oct 25 14:31:41 okay Oct 25 14:31:50 so my asynctask fetches a JSON feed Oct 25 14:31:57 based on which I update the UI a bit Oct 25 14:32:16 where do you guys suggest I do this? I had put everything in onPostExecute at first Oct 25 14:39:35 when i use contact content provider to fetch all the contacts from home Oct 25 14:39:44 does that happen in a backrground thrad or ui thread Oct 25 14:39:58 or basically does cursor operations like query happen in a background or ui thread? Oct 25 14:40:14 It happens on the thread where you call the query method Oct 25 14:40:33 ok so its happening on UI alright Oct 25 14:40:45 Hi Oct 25 14:41:17 My dialog not showing, please look at my code here: https://gist.github.com/MalekAlrwily/ee2214926d2833bad736 Oct 25 14:42:28 any idea why suddenly this startd happening http://puu.sh/cpZiI/dfb1b5fdbf.png ? Oct 25 14:53:42 shmoon, this screenshot is pretty much useless, the text is clipped off Oct 25 14:54:03 textual stack traces are always preferrable anyway Oct 25 14:57:25 ravilov: http://pastie.org/9674869 Oct 25 14:59:47 When adding the apk of wearable in handheld's raw folder, should I add zipaligned folder or just a signed one? Oct 25 15:00:38 zipaligned apk* Oct 25 15:04:14 Has anyone seen where `android.text.format.DateFormat.format("HH:mm", date)` returns a string starting with "HH:" instead of the 24 hours? Oct 25 15:22:56 pfn: was going to as about ripple efect on kitkat with support lib Oct 25 15:23:05 but it's only working on lolipop Oct 25 15:23:16 is it hte same with activity transformations ? Oct 25 15:28:29 yeah, appcompat only handles appearance, no animations Oct 25 15:30:14 has anyone dealt with offline web apps on android? I don't mean packing a web application into APK, but having a website that can run offline as well Oct 25 15:36:57 use relative paths for links&should work offline right? Oct 25 15:37:24 whatitis: there's also the question of appcache manifests, and how to make it work and "install" reliably Oct 25 16:12:26 hi there, newbie here trying to create my first app. All I did was add the dropbox chooser sdk and create a button per their tutorial. When I launch my app it errors out. The debugger just shows ZygoteInit$MethodAndArgsCaller.run() and says Source not found. How can I debug this? Oct 25 16:16:14 It shows more than just that Oct 25 16:17:38 oh, debugger. Read the stacktrace to see where you did something wrong Oct 25 16:27:37 hi, i'd like to learn about the android emulator, goldfish, qemud and all that stuff, is there a good documentation somewhere? Oct 25 16:32:50 There's so much blood Oct 25 16:37:15 "Added support for Fragment transitions for devices running Android 5.0 (API level 21). Be aware that transitions have no effect on devices running Android 4.4 and lower." Oct 25 16:37:18 :( Oct 25 16:39:41 hi, guys! can you advice me, how can I get RSAPrivateCrtKey from PrivateKey? before Android 4.3 (and in all non-adroid javas) it was possible to just do something like RSAPrivateCrtKey rsaPriv = (RSAPrivateCrtKey) KeyFactory.getInstance("RSA")..generatePrivate(privKeySpec); Oct 25 16:41:07 but now it is impossible, because in android runtime it throws an error that conscrypt.OpenSSLRSAKey (somewhy it is the class of Privatekey) cannot be casted to RSAPrivateCrtKey Oct 25 16:41:18 and I'm stuck here :( Oct 25 16:42:15 Actually, my target is to get RSA pubkey from private (and I need CrtKey to get public exponent from there). Only way I know is that. Oct 25 16:42:50 and I'd very like to do it with default java/android tools, without bundling bouncycastle :/ Oct 25 16:43:20 what's wrong with using BC? Oct 25 16:45:51 just I dislike to bring new tools (especially such huge), where it *was* possible to do something, but somebody suddenly broke it: https://code.google.com/p/android/issues/detail?id=58231 Oct 25 16:47:02 Fair enough :). Is there anything in the support library that can help? Oct 25 16:48:34 Maybe, but probably no. At least, I can't find anything related :-/ Oct 25 16:54:56 It seems to me that implementing our own toBundle() and fromBundle functionality is way simpler and cleaner than using Parcelable. Here is an example: . Is there any drawback to this method? Why don't more people use it? Oct 25 16:55:03 when using SwipeRefreshLayout, setRefreshing(true) puts a rotating thingy in a place (over your content). am i supposed to let that happen or should i move the contents down so that space is empty ? Oct 25 16:55:04 fromBundle() * Oct 25 16:55:37 Oops, ignore the [+ "added"] thing above. That was a debugging thing. Oct 25 17:01:07 is there a way to check my entire device filesystem in AFT ? Oct 25 17:01:10 or a similar software Oct 25 17:34:36 I've yet to see any app have as interactive a notification as mine, too Oct 25 17:35:06 must be a bad thing Oct 25 17:48:51 I could've sworn I found a page on developer.android.com, the other day, stating that menu items that should never be displayed as action items should specify showAsAction="never" rather than assume the default, but I can't find it today. Weird. Does anyone know where that might be? Oct 25 17:49:41 Maybe someone at google was playing a tactical joke on you? ;) Oct 25 17:49:47 :) Oct 25 17:50:33 (sorry, no idea ;)) Oct 25 17:51:16 My Google Fu is strong, but I can't re-find it. Though Google Fu can be meaningless against d.a.c. Oct 25 17:53:13 hi Oct 25 17:53:15 :) Oct 25 17:54:10 perlsyntax.getQuestion(); Oct 25 17:54:18 Wait, that's a no-op. Oct 25 17:54:34 tryToResponse(perlSyntax.getQuestion()); Oct 25 17:54:37 Respond* Oct 25 17:54:42 God, my brain is failing today. Oct 25 17:54:47 Sorry Oct 25 17:54:59 I'm just being silly. :) Oct 25 17:55:14 np Oct 25 17:55:23 i just try to get use to my new irc chat. Oct 25 17:56:50 TacticalJoke,i didn't know you where jokeing:) Oct 25 17:57:50 Yeah, there's a hidden camera and everything. Oct 25 17:57:59 funny:) Oct 25 17:58:13 Which client are you using? Oct 25 17:58:16 I'm kinda stuck on mIRC. Oct 25 17:58:32 By "stuck on" I mean "unwilling to look for something better than". Oct 25 17:58:54 Limechat try it out.Becuase my other one was free and now you have to pay for it. Oct 25 17:59:19 Oh, I'm on Windows. Oct 25 17:59:29 i see Oct 25 17:59:33 Though that looks very neat. Oct 25 17:59:55 I just got into my new mac and i starting to like it. Oct 25 18:00:46 I was thinking of making an Android IRC client, but I'm not sure how much I'd actually use it. Oct 25 18:01:01 I dislike using IRC on my phone so far (with the existing clients that I've tried, anyway). Oct 25 18:01:35 The problem for me isn't so much the client.. it's just the fact that typing on a mobile device sucks :) Oct 25 18:01:39 Yeah. Oct 25 18:01:55 I just start out in android.But i got alot of reading to do. Oct 25 18:01:59 Gesture typing makes things less painful, but it's still annoying compared to keyboard typing. Oct 25 18:02:48 Well i hope i get that nexus 6 if i get the money:) Oct 25 18:03:18 it's a bit too big for my tastes, unfortunately :/ Oct 25 18:03:42 I get my new phone next year in feb. Oct 25 18:04:00 what's the best way to have a two-dimensional ScrollView? apparently the standard ScrollView only ever scrolls top to bottom. there's also HorizontalScrollView which scrolls left to right. any way to have both in one view? Oct 25 18:04:00 So i try to learn android before i get my new toy. Oct 25 18:04:05 Yeah, I'm not keen on huge phones. Oct 25 18:04:28 currently I have the HorizontalScrollView as a child of ScrollView, that works but looks/seems ugly/hackish Oct 25 18:04:31 Can't walk down the street texting one-handed with a huge phone. Oct 25 18:04:39 yep Oct 25 18:04:58 I have fairly big hands, and I found the Nexus 4 a little too large. Oct 25 18:05:03 It actually hurt my wrist a bit. Oct 25 18:06:09 We need resizable phones. Oct 25 18:06:20 yep moto new developer phone i found out. Oct 25 18:06:48 Ah, I found it! https://developer.android.com/training/basics/actionbar/adding-buttons.html Oct 25 18:06:58 "By default, all actions appear in the overflow, but it's good practice to explicitly declare your design intentions for each action." Oct 25 18:08:29 TacticalJoke, brb going back to my old irc chat. Oct 25 18:10:01 back:) Oct 25 18:11:01 front? Oct 25 18:15:26 if I am trying to edit my application class, which java file should I put that in? Any reason I wouldn't put it in mainActivity.java? Oct 25 18:16:28 bilb_ono: You should put your classes in separate files. Oct 25 18:16:34 bilb_ono: as a general rule. Oct 25 18:17:01 bilb_ono: unless the class has private/package visibility and is tied to a particular other class Oct 25 18:17:43 bilb_ono: The class YourApplication extends Application class should be visible from all other classes so I think a better fit is to have it in a separate .java file. Oct 25 18:17:45 bilb_ono: What will your Application subclass be called? If it'll be "FooApplication", use FooApplication.java. Oct 25 18:20:27 bilb_ono: separation of concerns Oct 25 18:27:17 just about all android irc clients suck Oct 25 18:27:22 except for one Oct 25 18:27:53 Yeah, I like the irccloud app as well Oct 25 18:28:21 haha :) Oct 25 18:28:32 Does anyone know where I could go to talk to the people who write the NDK? Oct 25 18:28:48 or at least an NDK expert Oct 25 18:29:18 DrSkyLizard, this is for the google analytics tracking. so should I maybe make a seperate tracking.java? Oct 25 18:29:21 https://groups.google.com/forum/#!forum/android-ndk possibly? Oct 25 18:29:48 jooles_: here also Oct 25 18:29:53 jooles_: just ask Oct 25 18:30:08 jooles_: & btw, there NO experts, FYI Oct 25 18:30:21 anyone who says he is, is lying Oct 25 18:30:39 DrSkyLizard, cheers Oct 25 18:31:02 ok, what's the best alternative for getcontext on an x86 android build or do I need to implement it myself? Oct 25 18:31:15 It seems that Bionic is missing it, despite it being standard POSIX Oct 25 18:31:56 hi guys Oct 25 18:32:29 hey zoraj Oct 25 18:32:41 jooles, how are you ? Oct 25 18:32:47 I'd like to implement an UI like Gmail app Oct 25 18:33:06 TacticalJoke, this is for tracking with google analytics. Perhaps I should put it in a new tracking.java file? Oct 25 18:33:26 you know when you touch the three vertical bar on the top left, another view appears Oct 25 18:33:49 I am not sure that my explanation is clear though ^^ Oct 25 18:34:27 if you give me a tips, name of this, I will google it Oct 25 18:34:50 hi, newbie here trying to make my first app. It closes upon opening and the debugger shows ZygoteInit$MethodAndArgsCaller.run() "Source not found." How can I debug this? Oct 25 18:35:11 jooles_: https://github.com/android/platform_bionic/blob/master/libc/include/sys/ucontext.h only has the structs defined no functions Oct 25 18:35:24 jooles_: and according to https://code.google.com/p/android/issues/detail?id=34784 "OSP master now has all the structs, and they'll be in future NDK releases. i don't think we should implement the functions." Oct 25 18:35:28 *AOSP Oct 25 18:36:12 Cheers DrSkyLizard. So what should I use in a library that expects getcontext then? Oct 25 18:36:42 For ARM it defines its own basic version of the function but for x86 it assumes a libc that has getcontext Oct 25 18:39:24 How to prevent multiple instances of fragment added to backstack, when I use fm.addToBackStack() ? Oct 25 18:39:43 s/of fragment/of the same fragment Oct 25 18:41:01 jooles_: https://code.google.com/p/android/issues/detail?id=34784#c3 Oct 25 18:43:18 DrSkyLizard, or actually would my file be called myApplication.java? Because the class name usually is the same as the file name Oct 25 18:44:36 hi, newbie here trying to make my first app. It closes upon opening and the debugger shows ZygoteInit$MethodAndArgsCaller.run() "Source not found." How can I debug this problem? It's a very simple app with just a button Oct 25 18:47:34 DrSkyLizard, just spotted that. Thanks man, you're a legend. Oct 25 18:47:49 Will give it a shot in the morning when I'm not drunk :) Oct 25 18:47:54 goldenwest: run it without the debugger, and look in logcat for the exception Oct 25 18:48:54 JesusFreke: thanks, now it's showing an exception Oct 25 18:49:16 JesusFreke: don't know what it means though: 10-25 13:41:16.946: E/AndroidRuntime(1582): java.lang.RuntimeException: Unable to instantiate activity ComponentInfo{com.connermcd.pass/com.connermcd.pass.MainActivity}: java.lang.ClassNotFoundException: Didn't find class "com.connermcd.pass.MainActivity" on path: DexPathList[[zip file "/data/app/com.connermcd.pass-1/base.apk"],nativeLibraryDirectories=[ Oct 25 18:49:22 /vendor/lib, /system/lib]] Oct 25 18:50:15 goldenwest: pastebin ;) Oct 25 18:50:15 jooles_: read more on that issue, see what the people there say. Oct 25 18:50:23 goldenwest: I would take a look further up in logcat, when the apk was installed Oct 25 18:50:28 yeah sorry Oct 25 18:50:45 there's likely some error from dalvik about why it rejected your MainActivity class Oct 25 18:50:48 How to prevent multiple instances of fragment added to backstack, when I use fm.addToBackStack() ? Oct 25 18:50:55 bilb_ono: Classes should be named in PascalCase, not camelCase. Oct 25 18:50:59 How to prevent multiple instances of fragment added to backstack, when I use fm.addToBackStack() ? Oct 25 18:51:11 bilb_ono: yes, I'd use [Company/ShortAppName]Application.java Oct 25 18:51:35 Every time someone uses camelCase to name a class, a baby kitten dies. Oct 25 18:51:51 TacticalJoke, DrSkyLizard thank you both Oct 25 18:52:11 A kitten is already a "baby", but you know what I mean. :D Oct 25 18:53:01 DrSkyLizard, will do. I can make do with just an ARM build for now if necessary. Oct 25 18:53:07 :D ^^ Oct 25 18:53:29 JesusFreke: thanks for pointing me down the right track, I'll try to figure this out Oct 25 19:01:26 Posting this again in case there are people here now who weren't earlier: Why isn't this "toBundle()" pattern used in place of implementing Parcelable more often? It seems way neater to me. http://pastebin.com/EKs3E9Ab Oct 25 19:01:39 napster: iterate over the FragmentManager.BackStackEntry's in the the FragmentManger using a foor loop and getBackStackEntryCount() and getBackStackEntryAt(int index) and check if there is one with the same name as the one you are trying to add with FragmentTransaction::addToBackStack() method using the FragmentManager.BackStackEntry::getName() method Oct 25 19:01:49 after some search, it's called "Navigation Drawer" ^^ Oct 25 19:01:50 The [ + "added"] thing can be ignored. Oct 25 19:02:50 TacticalJoke: LGTM :) Oct 25 19:03:01 K. :) Oct 25 19:03:18 I realise that the client code is slightly less neat, but the server code is so much nicer to my eye. Oct 25 19:04:06 yeah the whole CREATOR thing is a bit icky Oct 25 19:05:05 Yeah. I'm a total perfectionist when it comes to code. I hate implementing Parcelable. Oct 25 19:07:07 Eh, you don't save that much time doing it that way Oct 25 19:07:37 I think it helps reduce code bloat. Oct 25 19:07:37 I have added a badge to my app, anyway other buttons gets greyed when tapping, mine not; somebody knows how to do it? Oct 25 19:07:54 And if you're saving a list of your class, you're back to implementing parcelable Oct 25 19:07:59 I don't think it's a performance thing. just a stylistic thing Oct 25 19:11:35 The list thing is a point I hadn't considered. Though, in practice, I find that if I'm using a list of MyClass then I'm probably holding that list globally anyway. Oct 25 19:12:11 I can't imagine persisting anything more elaborate than an ArrayList in onSaveInstanceState. Oct 25 19:13:24 I don't see why not Oct 25 19:17:05 JesusFreke: Thanks! I figured it out Oct 25 19:17:21 JesusFreke: I didn't have one of my dependencies checked in my Java Build path Oct 25 19:18:22 On the general topic, I've always hated that app developers have to worry about the onSaveInstanceState thing. It feels so limiting at times. Oct 25 19:18:48 And it's a minefield for new developers. Oct 25 19:20:57 I don't see how the OS could handle it for you Oct 25 19:21:24 SimonVT: moar swap space! Oct 25 19:21:55 Sure, retain the entire vm.. But that doesn't sound very efficient Oct 25 19:22:05 no, no it doesn't Oct 25 19:22:14 but that's how it would be implemented. Oct 25 19:22:32 (hence why onSaveInstanceState exists) Oct 25 19:26:04 Just curious: Why don't Windows developers have to worry about this? Oct 25 19:26:20 I could guess, but I'm not sure how accurate those guesses would be. Oct 25 19:32:24 Faster hardware, more memory, swap Oct 25 19:32:30 Splash screens Oct 25 19:33:31 Okay. Oct 25 19:46:04 Is Google ever gonna respond to this? http://www.reddit.com/r/androiddev/comments/2kaan5/google_dont_be_evil_unless_its_to_an_android/ Oct 25 19:48:21 There's more than one reason I use multiple accounts, but that would be one of them Oct 25 19:48:52 If I have a Google Wallet account with my name and credit-card info, can I create another account for app development? Oct 25 19:48:59 Or should I close my Google Wallet account first? Oct 25 19:49:54 I don't know what the specific rules are...for me, I have a few under my name, and a few under partner names Oct 25 19:51:00 Although for a few of the stories I've read, the people were doing something sort of shady to begin with Oct 25 19:51:23 I read that a couple of Reddit clients were removed because they didn't disable NSFW posts by default. Oct 25 19:53:13 I read one guy who had a Yahtzee game, then Hasbro had Google shut it down, but he still made a lot of money off the existing install ads, then he re-released it as "Five dice" or whatever and was OK since Oct 25 19:57:15 So the name was a big issue? Oct 25 20:01:24 help Oct 25 20:01:35 I managed to make some code to log into Google Play Oct 25 20:01:46 But I still can't get the player id Oct 25 20:04:41 http://hanhuy-acra.appspot.com/public/com.hanhuy.android.irc.lite/94a43d559362b6d9ef40718a417c872abf7fc049 Oct 25 20:04:51 I hate this kinds of crashes Oct 25 20:05:55 http://pastebin.com/LHLZsFc2 Oct 25 20:06:29 stupid crashes in framework suck Oct 25 20:06:56 Hi guys Oct 25 20:08:25 Hi, guy. Oct 25 20:08:47 I updated eclipse and android-sdk to the latest version. Since then, if I try to run my project on my phone, eclipse does not recognize my smartphone, but adb does. This project has 8 as minApi and 21 as target. My phone has android 4.4.4. I tried to export the apk file an then install it with adb an it worked, but I need to run within eclipse to be able to debug Oct 25 20:08:52 any idea? :( Oct 25 20:09:28 Did you update the ADT plugin or Eclipse itself? Just curious. Oct 25 20:10:21 I ran "Check for updates" option Oct 25 20:10:33 but I've everything up to date Oct 25 20:12:19 I think I'd try clicking Run > Run Configurations and deleting everything under "Android Application", and then running again. Oct 25 20:14:00 I just tried but it didn't work :( Oct 25 20:14:08 What happened when you tried it? Oct 25 20:14:15 It ran the emulator? Oct 25 20:14:30 http://stackoverflow.com/questions/26566798/google-play-services-onconnected-never-runs-but-sign-in-works-cordova Oct 25 20:14:35 really looking for any input Oct 25 20:14:52 it shows the modal window to select device/simulator Oct 25 20:15:28 but it don't show any device attached Oct 25 20:19:22 Sepho: Given that this problem appeared when you updated Eclipse/whatever, I'd probably just reinstall Eclipse, personally. Oct 25 20:19:38 I'd recommend the latest Luna version, installing ADT after installing Eclipse. Oct 25 20:19:51 The Eclipse ADT bundle sucks so bad. Oct 25 20:19:57 It's an ancient version of Eclipse full of bugs. Oct 25 20:20:25 every new android sdk updated the same issues.. .( Oct 25 20:20:44 I've had an issue only one time. Oct 25 20:20:53 BTW, don't ever update Eclipse. I heard that's suicide. Oct 25 20:20:58 Just update ADT and the Android SDK. Oct 25 20:24:07 yeah eclipse updates are for fools and madmen Oct 25 20:25:07 greetings Oct 25 20:26:10 hey earational Oct 25 20:27:08 thanks TacticalJoke :) Oct 25 20:27:25 what's up? Oct 25 20:28:45 No worries. The latest Luna works well with ADT. :) Oct 25 20:30:47 only just Oct 25 20:31:08 few weeks ago it was pretty broken Oct 25 20:32:45 What was? Oct 25 20:33:01 Luna with android Oct 25 20:33:24 Really? I didn't notice anything. Oct 25 20:33:25 mind you that was m2e-android specifically Oct 25 20:33:31 I know that a few weeks ago ADT itself was broken. Oct 25 20:33:34 Okay. Oct 25 20:42:20 right quick question Oct 25 20:42:25 boolean or Boolean Oct 25 20:42:45 gretings galaxy user Oct 25 20:42:52 greetings* Oct 25 20:42:55 Ravenheart, for what Oct 25 20:43:01 for adroid/java Oct 25 20:43:15 yeah, I got that :P Oct 25 20:43:19 apparently they are different in java Oct 25 20:43:24 they are Oct 25 20:43:27 one is a primitive type, the other... complex? Oct 25 20:43:33 a class Oct 25 20:43:36 right Oct 25 20:43:44 so which one does one use Oct 25 20:44:01 depends what you're doing with it Oct 25 20:44:06 i'm coming from C# lands where both bool and Bollean were the same :) Oct 25 20:44:17 Boolean* Oct 25 20:44:21 for most purposes boolean (primitive) is fine Oct 25 20:44:39 main advantage of Boolean is that it's tri-state Oct 25 20:44:51 true/false/null Oct 25 20:45:14 right so if i need a nullable then use the class Oct 25 20:45:19 otherwise the primitive type Oct 25 20:45:20 yup Oct 25 20:45:27 gotcha thanks Oct 25 20:45:35 np Oct 25 20:45:59 that's my understanding anyway Oct 25 20:46:24 doubtless others will disagree. This is the internet after all :P Oct 25 20:46:50 any ideas please -- http://stackoverflow.com/questions/26566798/google-play-services-onconnected-never-runs-but-sign-in-works-cordova Oct 25 20:48:51 I have an issue with my Nexus 5... It won't accept my password any more... I'm 100% sure that I know the right password... Yet it's not working... Any suggestions? Oct 25 20:49:14 check the capitalization Oct 25 20:49:27 type it slower Oct 25 20:49:42 Agamemnus: I'm 100% Sure I'm inputting the right password Oct 25 20:51:10 tri state is pretty bullshit Oct 25 20:51:17 null is terrible Oct 25 20:51:17 hey guys, is there a way to make a radiogroup have buttons arranged like the following: Oct 25 20:51:43 Dunno Oct 25 20:51:45 A B (next line) C D, instead of vertically A B C D Oct 25 20:52:19 try a table Oct 25 20:52:24 make independent buttons Oct 25 20:52:29 wire them in code Oct 25 20:52:42 monsti: ok just making sure there isn't a better option Oct 25 20:52:53 that would be my first option ;) Oct 25 20:53:42 a table is the only layout that can align columns properly vertical & horizontal Oct 25 20:53:47 please, can someone help me here? http://pastebin.ca/2864472 <- I'm trying to swap keys, function modified in: https://gitorious.org/0xdroid/development/source/7b53e3937797ee1eea71c6291bdcd58cb9dedf7a:samples/SoftKeyboard/src/com/example/android/softkeyboard/SoftKeyboard.java#L567 Oct 25 20:54:07 you can also use some linear layouts an wights when you have just 2 items Oct 25 20:55:59 thing is, changing the labels works (the for loop), the swap itself works, as shown by logcat... but the keys themselves aren't swapped by Collections.swap Oct 25 20:56:32 the idea of the function is to test things Oct 25 20:57:38 it should swap keys (Collections.swap) and then relabel them (for loop, to uppercase) when a button is pressed Oct 25 21:09:10 Ravenheart: I, too, come from C#. :) Oct 25 21:09:11 i hate you android and your inability to spell https://github.com/android/platform_frameworks_support/blob/master/v4/java/android/support/v4/app/Fragment.java#L783 Oct 25 21:09:18 In C#, "bool" is simply an alias for System.Boolean. Oct 25 21:09:29 yea i know Oct 25 21:09:42 The situation in Java is totally different. 'boolean' is a primitive (value) type, while 'Boolean' is a reference type. Oct 25 21:10:33 i'm more concerned with data binding and a higher level of code architecture Oct 25 21:10:48 like how to properly seperate the layers Oct 25 21:13:02 I have added a badge to my app, anyway other buttons gets greyed when tapping, mine not; somebody knows how to do it? Oct 25 21:13:47 test Oct 25 21:13:50 JacobTabak: That's outfrageous. Oct 25 21:14:47 this shit tutorial makes me very angry Oct 25 21:14:49 https://developers.google.com/+/mobile/android/getting-started Oct 25 21:15:15 The Android documentation in general makes me want to nuke the universe. Oct 25 21:16:39 TacticalJoke, maybe you can tell me how I can get the right mGoogleApiClient value? Oct 25 21:16:45 It logs in, but mGoogleApiClient never updates Oct 25 21:16:53 so I can't access the player id Oct 25 21:17:06 http://stackoverflow.com/questions/26566798/google-play-services-onconnected-never-runs-but-sign-in-works-cordova Oct 25 21:18:35 I wish I could help. No idea about any of that. Oct 25 21:18:43 I see. Oct 25 21:20:42 Agamemnus have you checked for any uncaught exceptions Oct 25 21:21:02 Ravenheart, i found writing java bind pretty much easy than python. [first timer] Oct 25 21:24:36 Ravenheart, Oct 25 21:25:00 I've noticed that, if I run my app from Eclipse while my phone's screen is switched off, my launch activity's onSaveInstanceState is called. When I turn on the screen, onCreate is not called. Is this expected behaviour? Seems a little weird. Oct 25 21:25:06 i don't think there are any, but I need a moment to test again Oct 25 21:25:19 my phone randomly restarted as i was installing a new version Oct 25 21:25:21 TacticalJoke on resume? Oct 25 21:25:35 afaik it should call all the events up to the current state Oct 25 21:25:38 Ravenheart, i use boolean instead of Boolean (same for other). only prefer class version when need to use in List or require it. [technically less overhead] Oct 25 21:27:17 TacticalJoke, while sleeping [onCreate -> onSaveInstanceState] when you turn phone on [onResume -> onRestoreInstanceState] if this is being the seq, afaik it is correct Oct 25 21:27:27 *sequence Oct 25 21:33:37 I'm just getting onRestart, onStart, and onResume. No onRestoreInstanceState. Oct 25 21:34:28 If I switch off my phone screen while my app is running, onSaveInstanceState gets called. I don't see why, though, as neither onCreate nor onRestoreInstanceState is called when I turn the screen back on. Oct 25 21:35:03 has anyone here made a soft-keyboard? Oct 25 21:35:08 Hmm, I guess the OS could kill the process at some point. Oct 25 21:35:19 In which case the onSaveInstanceState would later mean something. Oct 25 21:35:30 Then again, wouldn't it call onSaveInstanceState when killing the process anyway? Oct 25 21:39:12 Somehow killed Android Studio, I ran format code as I do before I commit my code, and restarted the IDE, it now stops loading at http://i.imgur.com/DVdY2ef.png Oct 25 21:41:33 I broke adb, never mind Oct 25 21:45:10 I'm having an issue with my app that uses the camera. Sometimes, when I call camera.release I get " I/Camera﹕ Received CAMERA_MSG_RELEASE" in the logs. When that happens I can call the camera again without issue. If I do not get that, it will die after opening (without exception), when I try to start the preview... Ideas? Oct 25 21:45:40 Okay, I'm guessing the answer is that onSaveInstanceState is called in case the process is later killed. In that case, onSaveInstanceState wouldn't be called because my activity had *already* gone into the background. Oct 25 21:45:53 been hearing a lot of camera problems Oct 25 21:46:12 Agamemnus: Rather irritating. Oct 25 21:50:17 The new (in 21) persistAcrossReboots thing is weird: http://developer.android.com/reference/android/R.attr.html#persistableMode Oct 25 21:50:19 Does that mean OS reboots? Oct 25 21:50:50 It seems that activities can be persisted across OS reboots, meaning we don't absolutely need to use files or databases anymore (I guess). Oct 25 21:50:53 Hello - new to Java and Android development here. What are some good tutorials for beginning Android development? Oct 25 21:52:11 liuwenhao: I guess ? I've never really found anything better. Oct 25 21:54:09 liuwenhao: Ask here or on http://reddit.com/r/androiddev/ if you get stuck. Oct 25 21:54:11 liuwenhao: there are none Oct 25 21:54:47 Thank you Tactical, I will check this out Oct 25 21:57:03 Another thing, should I be using Eclipse or Android Studio? I have both set up -- I just don't know where to start. Oct 25 21:57:06 liuwenhao: In general, "learn by doing" seems pretty significant in Android. Oct 25 21:58:49 liuwenhao: IMO, Android Studio isn't quite "ready" yet. Oct 25 21:58:53 People will disagree strongly here. Oct 25 21:59:09 But it lacks certain basic features, such as the ability to run pure unit tests using JUnit 4. Oct 25 21:59:22 The tutorial I linked also assumes you're using Eclipse. Oct 25 21:59:44 stop. Oct 25 21:59:50 liuwenhao: IMO, Android Studio will be awesome someday. Not yet, though. Oct 25 22:00:27 liuwenhao please ignore him, eclipse is no longer supported, and if you're just learning you probably won't be writing unit tests, and you don't want to learn on an IDE that's deprecated. so use Android Studio or IntelliJ Oct 25 22:00:40 JacobTabak: Google still officially recommends Eclipse. Oct 25 22:00:51 And I'm getting tired of your rudeness. "Please ignore him." Get out of here. Oct 25 22:02:36 don't get out of here Oct 25 22:02:49 I need help :-( Oct 25 22:03:15 JacobTabak: http://stackoverflow.com/questions/26566798/google-play-services-onconnected-never-runs-but-sign-in-works-cordova Oct 25 22:03:33 I'm constantly getting "java.lang.IllegalStateException: GoogleApiClient must be connected." Oct 25 22:04:14 liuwenhao: Here's a discussion on this topic: http://www.reddit.com/r/androiddev/comments/2k2q4i/if_youve_been_debating_switching_to_studiodo_it/ Oct 25 22:04:23 The OP suggests moving to Android Studio, but there are some disagreements in the comments. Oct 25 22:04:31 Well I will start with Eclipse while I do this tutorial at least. and I will check out the discussion Oct 25 22:05:11 ADT is no longer being developed, Google officially suggests you use AS instead if you're a new developer Oct 25 22:05:17 ^ Oct 25 22:05:43 i doubt a new developer will be running jvm tests anytime soon Oct 25 22:05:51 JacobTabak: TDD is big. Oct 25 22:06:09 we're not having this debate Oct 25 22:06:11 this is not about you Oct 25 22:06:15 this is about what's best for a new developer Oct 25 22:06:37 JacobTabak: Your claim that a new Android developer doesn't need to worry about unit testing is a little OTT. Oct 25 22:06:46 I said JVM unit testing Oct 25 22:06:53 and you'er wasting my time pinging me so stop Oct 25 22:07:06 can i keep pinging you? Oct 25 22:07:25 Uhh, don't bust in here telling people to ignore me, and then try to silence me when I respond. You're a complete troll. Oct 25 22:07:45 JacobTabak: There's a reasonable chance I'll put you on ignore forever one day. Just FYI. Getting sick of these constant attacks from you. Oct 25 22:07:48 ignored Oct 25 22:07:54 Thank goodness. Oct 25 22:08:08 that's unfortunate, but MAYBE good for me Oct 25 22:08:18 Can you help me please JacobTabak? I am so close... Oct 25 22:08:34 Pretty please with a cherry on top? Oct 25 22:10:00 Hey, I need some help with the ndk, is there a specific channel? Oct 25 22:13:23 viran: Not really. You might be able to get some help here if one of the few people that use the NDK are around, otherwise stackoverflow or the android-ndk mailing list is probably your best bet Oct 25 22:16:04 I answered your question Agamemnus. Oct 25 22:16:17 what? Oct 25 22:16:22 let me scroll up Oct 25 22:16:30 when? Oct 25 22:16:33 on stackoverflow Oct 25 22:16:40 OH Oct 25 22:16:57 does "duplicateParentState" just keeping climbing the view-hierarchy until it locates some sense of state?? Oct 25 22:17:02 How do i prevent that... Oct 25 22:17:18 I want some subviews to have their own sense of state becaus Oct 25 22:17:39 "The documentation for GoogleApiClient refers specifically to Activity, not Application." Oct 25 22:17:43 But this is an activity Oct 25 22:17:53 because thats how i've built this because I have the wrong idea, apparently, that "parent" can be *any* parent Oct 25 22:18:18 I don't understand your comment Oct 25 22:19:07 oh oops Oct 25 22:19:20 ok take connect() out of oncreate Oct 25 22:19:25 Or maybe the default for duplicateParentState is "true" Oct 25 22:19:33 add @Override annotations to onStart, onStop, and onActivityResult Oct 25 22:19:49 all right Oct 25 22:21:19 ok, so this is my code right now: http://pastebin.com/XZX0v94x Oct 25 22:21:23 explodes, a view only has one parent. That's the state it duplicates if you set that attribute to true Oct 25 22:21:26 And the default is false Oct 25 22:21:26 installing it now Oct 25 22:22:07 That parent might itself duplicate its parents state, but that's besides the point Oct 25 22:22:49 And there's always state. Either it has its own, or it duplicates its parents Oct 25 22:22:50 omgwtfbbq Oct 25 22:23:28 well, still no dice Oct 25 22:23:38 but I have some new data Oct 25 22:24:11 onActivityResult reports a requestCode of 4 and a responseCode of 10002 Oct 25 22:25:11 but it is still not connected, somehow... even though I see the connection animation Oct 25 22:25:45 java.lang.IllegalStateException: GoogleApiClient must be connected. Oct 25 22:25:56 It still goes to onConnectionFailed. Oct 25 22:26:03 That runs result.startResolutionForResult (activity, result.getErrorCode()) Oct 25 22:26:14 which responds with a 4, and a 10002 Oct 25 22:26:42 Maybe I can do something with the Intent? Oct 25 22:28:56 that ondisconnected code doesnt do anything, remove it? Oct 25 22:29:04 and onconnectionsuspended Oct 25 22:29:24 if they're required, because of an interface, you should put in @override Oct 25 22:29:42 use your IDE feature to auto-implement methods Oct 25 22:29:50 onconnectionsuspended is required Oct 25 22:30:24 ok, do what i said Oct 25 22:30:33 if it's required, put an @override Oct 25 22:30:51 ok so everything has an override Oct 25 22:30:51 you have to get all your ducks in a row before you can shoot them Oct 25 22:30:58 reinstalling Oct 25 22:31:00 no Oct 25 22:31:01 that wont help Oct 25 22:31:02 but won't work anyway Oct 25 22:31:04 it just clarifies Oct 25 22:31:09 now paste our code again Oct 25 22:31:09 sure ok Oct 25 22:31:12 your* Oct 25 22:31:27 http://pastebin.com/EX8iz6dQ Oct 25 22:31:52 It goes to onConnectionFailed, then to onActivityResult, and ends there. Oct 25 22:32:16 But I see the signing in menu thing, and the circle rotating. Oct 25 22:32:17 ok where is your code to handle UserRecoverableAuthexception? Oct 25 22:32:20 So it seems to sign in Oct 25 22:32:38 nowhere Oct 25 22:32:46 where would I put that? Oct 25 22:32:57 where did you get this sample code from? Oct 25 22:33:15 nowhere, I made it myself by cobbling together things from Stack Overflow and the docs Oct 25 22:33:39 is there a hotkey/shortcut in android studio that would automatically complete an override Oct 25 22:34:00 do you know where I could get a list of values onActivityResult gives? Oct 25 22:34:00 like i've written public void onListItemClick...HOTKEY HERE Oct 25 22:34:08 Maybe I can figure out what the 4 and 10002 mean Oct 25 22:35:14 Ravenheart for overrides just use code> override method Oct 25 22:35:31 code> override? Oct 25 22:36:22 menu option Oct 25 22:36:22 There isn't any exception. Oct 25 22:36:43 I get a SIGN_IN_REQUIRED in onConnectionFailed Oct 25 22:36:47 and then it does the sign it Oct 25 22:36:56 if (!result.hasResolution()) {mResolvingError = true; return;} Oct 25 22:36:58 that is your problem Oct 25 22:37:01 ahh Oct 25 22:37:05 dont you see a warning? Oct 25 22:37:07 thank you JacobTabak Oct 25 22:37:10 that mResolvingError isn't used? Oct 25 22:37:26 It's used Oct 25 22:37:28 you'er returning.. Oct 25 22:37:33 result.startResolutionForResult (activity, result.getErrorCode()) runs Oct 25 22:37:40 it goes to onActivityResult Oct 25 22:37:44 And then stops Oct 25 22:38:06 are there any premade 9patches or whatever for stuff like http://material-design.storage.googleapis.com/images/layout-principles-dimensionality-shadows-03_large_mdpi.png anywhere or do I need to try and come up with them myself? Oct 25 22:38:12 hmmmm Oct 25 22:38:15 thats some bogus code Oct 25 22:38:22 maybe I should set it to false somewhere then? Oct 25 22:38:22 the flow makes no sense Oct 25 22:38:39 I'll remove that boolean Oct 25 22:39:16 maybe there is more than one error Oct 25 22:39:38 are you doing this on an emulator? Oct 25 22:39:59 http://pastebin.com/jFwG6Kx5 Oct 25 22:40:03 no, on my Note 2 Oct 25 22:41:01 all right Oct 25 22:41:08 It's constantly trying to sign in now Oct 25 22:41:23 SIGN_IN_REQUIRED. constantly Oct 25 22:41:26 you should just download a working example Oct 25 22:41:32 and see what you'er doing wrong Oct 25 22:41:37 gottta go Oct 25 22:41:44 man, its a good thing AS warned me that my menu.xml's showAsAction attribute should be custom and not android: ..,, Oct 25 22:41:52 Agamemnus you set everything up in the api console right? Oct 25 22:41:55 google api console Oct 25 22:42:07 and put your package signing hash in there? Oct 25 22:42:31 I.... Oct 25 22:42:40 my package signing hash Oct 25 22:42:43 ummm not sure Oct 25 22:43:20 I specified the app_id Oct 25 22:43:25 from the developers console shit Oct 25 22:43:32 and it has a key Oct 25 22:44:40 Google Play Game Services is an enabled api Oct 25 22:46:10 not sure what hash we're talking about or where it is Oct 25 22:46:17 i guess i'll figure it out in a year Oct 25 22:46:18 later Oct 25 22:53:01 Agamemnus in the auth section Oct 25 22:53:15 credentials Oct 25 22:53:23 did you create an android client ID? Oct 25 22:54:07 Looks like I didn't Oct 25 22:54:11 I'm working on that now Oct 25 22:55:35 what is deep linking? Oct 25 23:02:49 nvm Oct 25 23:19:11 anyone using SwipRefreshLayout ? Oct 25 23:19:21 when i swipe down, that little animation shows up Oct 25 23:19:47 spinning sircle thingy, over the content. i'm just wondering if i should shift the content down so it has its own space... Oct 25 23:19:55 or if its normal for it to float over content Oct 25 23:33:15 nice, Pro Git 2e Oct 25 23:46:00 nothing works Oct 25 23:56:46 mh ive googled a bit, is there really no way to add views dynamically from java when it comes to widgets? Oct 25 23:56:56 only by using RemoteView and xml ids? Oct 26 00:02:32 Hello Guys Oct 26 00:03:00 I am trying to follow the instructions for setting up SDL2 on Android, But I'm stuck on the second step. What does " 2. Move or symlink this SDL directory into the /jni directory" mean? Oct 26 00:03:04 Thanks! Oct 26 00:05:16 :| Oct 26 00:11:23 what do u think Oct 26 00:11:30 should i select that Oct 26 00:11:31 Do not promote my application except in Google Play and in any Google-owned online or mobile properties. I understand that any changes to this preference may take sixty days to take effect. Oct 26 00:12:54 no Oct 26 00:13:01 don't Oct 26 00:15:10 Whats Weong Agamemus Oct 26 00:15:12 *wrong Oct 26 00:16:15 ...? Oct 26 00:16:24 ...? Oct 26 00:17:59 ....? Oct 26 00:18:31 You said :| so I thought something was wrong Oct 26 00:18:38 heh heh Oct 26 00:18:57 when? Oct 26 00:19:03 JacobTabak Oct 26 00:19:07 It still doesn't work Oct 26 00:19:53 i put in the sha values Oct 26 00:19:54 ok Oct 26 00:20:29 Agamemnus: 20:05 Oct 26 00:21:38 Mallot1: don't knnow when I said that or what I was talking about. Oct 26 00:22:02 Agamemnus: Oh alright lol :) Oct 26 00:22:04 JacobTabak: so here's the current code http://pastebin.com/ztRykpdR Oct 26 00:22:31 It asked for an initial log in Oct 26 00:22:50 and if I press back twice quickly, it gives me an option on which account to log in Oct 26 00:23:03 and if I enter that in... it still keeps trying to log in Oct 26 00:23:06 ....constantly. Oct 26 00:23:40 this makes no sense Oct 26 00:23:41 if (!result.hasResolution()) {mResolvingError = true; return;} Oct 26 00:23:55 if there's no resolution you're setting a flag indicating that you're resolving an error Oct 26 00:24:07 and you'er executin 2 statements on teh same line Oct 26 00:24:08 doesn't matter Oct 26 00:24:10 i can't work with this Oct 26 00:24:15 fine, comment it out Oct 26 00:24:17 doesn't matter Oct 26 00:24:38 i don't know this API Oct 26 00:24:59 did you find a sample? Oct 26 00:25:29 2 samples in the docs Oct 26 00:25:34 one that is wildly incorrect Oct 26 00:25:36 you probably don't have auth set up correctly Oct 26 00:25:42 one that uses a huge big-ass extra thing Oct 26 00:25:45 or have the sdk configured Oct 26 00:25:52 have you tried removing all logcat filters Oct 26 00:26:08 what do you mean? Oct 26 00:26:27 hmm Oct 26 00:26:31 i need a pastebin Oct 26 00:26:50 for showing code Oct 26 00:26:58 apparently only 10 every 24 hours Oct 26 00:27:03 you need to figure this out on your own Oct 26 00:27:06 and I reached the limit Oct 26 00:27:21 I've been trying to Oct 26 00:27:31 client id is correct Oct 26 00:27:46 sign in... it signed me in Oct 26 00:27:58 i am totally stuck Oct 26 00:28:27 do you know where I can find the requestCode and responseCode mappings of onActivityResult? Oct 26 00:28:58 in the class Oct 26 00:29:07 in the class....? Oct 26 00:29:11 it is compiled... Oct 26 00:29:28 er... or something.. yeah Oct 26 00:29:44 * timemage steals Agamemnus's enter key and runs. Oct 26 00:29:54 I just want to figure out what 4 and 10002 means. Oct 26 00:30:45 consts like that are still in compiled code Oct 26 00:31:07 Agamemnus hundreds of thousands of developers use these apis Oct 26 00:31:16 find a sample, there are plenty of resources Oct 26 00:31:25 yeah.... how do you think I got THIS far? Oct 26 00:31:55 how would I get the mapping...from the compiled code...? Oct 26 00:33:38 I've made the contextual action bar appear when the user long-clicks an item my list, in accordance with . The problem is that the selection disappears instantly, so the user can't see what they selected. What's the easiest way around this? I've searched SO, but none of the answers solved this. Oct 26 00:34:08 ListView.setItemChecked doesn't help. Oct 26 00:34:36 sounds like some sort of styling issue Oct 26 00:34:51 make a duplicate with the selection that was just made Oct 26 00:35:24 What do you mean by "make a duplicate"? Oct 26 00:37:12 duplicate list Oct 26 01:01:15 Jeez, this contextual action bar seems ridiculously difficult to use. Oct 26 01:01:31 I'm currently using a context menu, and I was hoping to switch to the CAB. Looks like I'm not going to... Oct 26 01:02:15 anyone have an example of reading android: namespaced xml attributes in a custom view? Oct 26 01:03:01 do i have to redefine it in attrs? Oct 26 01:08:53 jacobtabak: Oct 26 01:09:11 I had a similar question Oct 26 01:09:25 not exactly sure what you're asking but: Oct 26 01:09:28 i don't think it's possible so i'm just using my own namespace Oct 26 01:09:32 you can get it from a string Oct 26 01:09:38 so no need Oct 26 01:09:52 specifically I wanted to use android:hint on my custom view Oct 26 01:09:58 for example, that's just in an xml file Oct 26 01:10:20 the xapk_expansion_authority string Oct 26 01:10:40 not sure if that is what you were asking Oct 26 01:10:44 yeah i'm trying to implement the android:authorities part Oct 26 01:10:49 not the part in quotes Oct 26 01:11:11 ah Oct 26 01:11:22 ok, so I used a working 100% plugin Oct 26 01:11:29 and it still can't sign in Oct 26 01:11:36 so it isn't a problem with the code Oct 26 01:12:09 yea its probably your auth or api console config Oct 26 01:13:01 class Universe\n has many Elements\n end\nUniverse.new\n Oct 26 01:13:06 And so began the big bang. Oct 26 01:15:32 you say hundreds of thousands of people have used it Oct 26 01:15:39 but I have yet to find 1 Oct 26 01:15:48 i mean the google api client Oct 26 01:23:55 maybe i need to publish this on google play Oct 26 01:24:14 the game services Oct 26 01:26:04 new Universe().run(); Oct 26 01:26:45 Anyone knows of an android CLI util that can be used to blur an image? Oct 26 01:27:05 Yeah, if you wanna be all java about it, TacticalJoke. :P Oct 26 01:27:29 * FennyFatal really hopes if we are running on a JVM it is at least a SUN build. Oct 26 01:31:36 People still use Subversion? ;o Oct 26 01:32:15 stanreg: uhhhh imagemagick Oct 26 01:32:17 or webgl... Oct 26 01:32:28 Oh, gawd, this is driving me insane. I've implemented a contextual action bar that responds to long-presses on a list view, but the list-view item doesn't stay highlighted. How do I keep it highlighted? Oct 26 01:32:37 I've tried every SO answer for hours. Nothing works. Oct 26 01:32:45 Why isn't this amazingly simple? Oct 26 01:32:50 maybe you don't need it highlighted Oct 26 01:32:57 free your mind Oct 26 01:32:59 haha Oct 26 01:33:11 That's what Android turns us into. Oct 26 01:33:16 "Maybe my app doesn't really need that feature." Oct 26 01:33:29 God, Android is so freaking painful sometimes. Oct 26 01:33:30 Agamemnus, imagemagick sounds like a good candidate, but I couldn't find android binaries :\ Oct 26 01:34:20 And people who post solutions post every single line of code in their entire project. Oct 26 01:34:24 Rather than just the relevant stuff. Oct 26 01:34:31 And the solutions don't work anyway. Oct 26 01:39:36 what exactly do you mean android CLI Oct 26 01:39:44 like something you can install on an android Oct 26 01:39:46 and run with shell? Oct 26 01:41:30 JacobTabak, correct. Oct 26 01:42:10 stanreg: The problem you will find is building one that either has staticly linked gnu libs, or including the libs manually. Oct 26 01:42:23 You can build them with a toolchain though. Oct 26 01:42:30 It is just a lot of work, :P Oct 26 01:42:59 hm, damn. Oct 26 01:44:28 You can use qemu, Start by building an arm GCC, and go from there. Oct 26 01:44:51 I'm looking for a way to have a bin that I can call, as part of a script, which would apply blur to a given image. Can you think of something? Besides building my own, that is. Oct 26 01:47:09 I don't know of anything off hand. Oct 26 01:47:11 WHAT THE KFFFFFFFFFFUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUC^Y&B%^N&%F&*^ Oct 26 01:47:17 JacobTabak Oct 26 01:47:30 You have no idea, no idea Oct 26 01:47:38 http://stackoverflow.com/questions/19622603/there-is-no-linked-app-associated-with-this-client-id Oct 26 01:47:54 "Your Oauth2 client CAN NOT be created from Google APIs Console, it MUST be created from the Google Play UI." !@#?!@#$ W$%@$%!?! Oct 26 01:48:06 Now it works Oct 26 01:48:23 ? Oct 26 01:48:33 stanreg: http://webcache.googleusercontent.com/search?q=cache:HsHt_9KsgR8J:https://himiko.dnsalias.net/wordpress/2011/11/25/imagemagick-6-7-3-8-for-arm/&hl=en&gl=us&strip=1 Oct 26 01:52:45 FennyFatal, ty. I'll try that. Oct 26 01:52:56 It looks like it is 60 MB or so though. Oct 26 01:54:19 you can't make the client id in the API console Oct 26 01:54:27 otherwise won't work Oct 26 01:54:36 has to be "linked" through the google play UI Oct 26 01:59:24 Is there a way to listen for a URL fragment id change on a WebView (e.g. index.html -> index.html#fragment)? WebViewClient's onPageStarted() method only works for URLs that reload the page. **** ENDING LOGGING AT Sun Oct 26 02:59:59 2014