**** BEGIN LOGGING AT Wed Apr 23 02:59:58 2014 Apr 23 03:23:06 crapola; someone with a samsung sgs4 active can't get my app to work. i need to refund money -- do I ask him for their order #? looking through my merchant account they pretty much removed anything useful to tie an order back to a person Apr 23 03:25:53 it might be easier to fix your app Apr 23 03:25:55 ;) Apr 23 03:26:58 Where is bionic upstream anyway? Apr 23 03:28:46 wabz i dont think i can until i get a sgs4 active. can't reproduce the error (which is bluetooth related) Apr 23 03:29:04 i picked the worst kind of app to write for being a single dev who can't afford a fuckton of phones to test on Apr 23 03:29:39 samsung have that remote test lab thing, but I assume it wouldn't be helpful with bluetooth Apr 23 03:29:54 no, i would need other HW Apr 23 03:30:00 but its sweet of them ;) Apr 23 03:37:20 In android studio, activity layout XML can reference public members defined on unassociated activity class. Can anyone help me understand this behavior or is it an Android Studio glitch? Apr 23 03:44:03 livingegg, pardon? Apr 23 03:44:28 are you using android:onClick? Apr 23 03:45:32 alex_PP: Yep Apr 23 03:46:19 ewwww Apr 23 03:46:21 don't Apr 23 03:46:39 hah Apr 23 03:46:50 well definitely open to suggestions, i'm very new to android dev Apr 23 03:47:15 what is an alternative? i'm just binding a method to a button (to send to new activity) Apr 23 03:48:56 "Larry Page had stopped wearing Glass in public appearances.", interesting Apr 23 03:49:02 http://www.buzzfeed.com/charliewarzel/google-glass-just-lost-its-biggest-cheerleader Apr 23 03:49:36 livinskull, use findViewById().setOnClickListener Apr 23 03:49:50 it's much easier to control in the long run Apr 23 03:52:45 alex: I see, thanks for the tip then. So I guess android:onClick must be implemented at a level that can see all public classes for the module? I wonder what it does when there are duplicate member names. Apr 23 03:53:00 *public members for the module Apr 23 03:54:56 it's only looking for public methods of the activity the view's in Apr 23 03:55:53 livingegg, http://grepcode.com/file/repository.grepcode.com/java/ext/com.google.android/android/2.0_r1/android/view/View.java#2010 Apr 23 03:55:57 that's the code that does it Apr 23 03:58:45 alex_PP: Well that's why I'm asking. Basically I have defined public methods in several separate activity classes. And the onClick selector (in the design view for the associated xml) of an activity xml associated with ActivityA is able to see public members defined in ActivityB (unassociated). Apr 23 04:02:30 Sounds like alex_PP: Sorry if I'm not making sense. Basically I created ActivtyA.java, activity_a.xml, ActivityB.java, and activity_b.xml. While editing activity_a.xml in the design view, the onclick selector is able to see methods declared in ActivityB.java. So I'm guessing this is just a glitch in Android Studio based on what you said. Apr 23 04:04:54 not so much a glitch, it's flexibility. You can use layouts in whatever activity you want Apr 23 04:05:14 i suppose the auto complete is just listing public methods from all activity files, don't worry about it Apr 23 04:05:18 AS just isn't applying any real logic and as alex_PP said, don't do onclick stuff in XML, it's dirty and leads to problems Apr 23 04:07:20 I'll definitely change over to the method alex gave. Are there any other xml bindings that should be treated similarly as a best practice? Apr 23 04:07:37 android:* ;) Apr 23 04:08:07 android:layout_height:wrap_content on a ListView is one that comes up a lot Apr 23 04:09:08 Hah! Wow. Alright... well for expediency I may need to design using the xml bindings and then convert them all at the end. Now if AS had a tool to do this for you THAT would be truly helpful :) Apr 23 04:12:56 alex_PP, bankai_au, thanks for the help. Apr 23 04:13:03 alex_PP bankai_au quick q; if someone wants a refund, they have to give you the order # right ? Apr 23 04:13:12 i can't find any other way to trace the order to a person Apr 23 04:13:19 no idea Apr 23 04:13:25 never charged for anything Apr 23 04:13:31 hmm Apr 23 04:13:40 ditto... i thought the customer could request it within a given period Apr 23 04:13:55 this person is outside the period Apr 23 04:14:02 which i think is still 15 minutes, right ? Apr 23 04:14:21 oh yeah it is, used to be longer , right ? Apr 23 04:14:49 originally yeah, not sure if its been changed since the 15 minute window Apr 23 04:15:35 https://support.google.com/wallet/business/answer/2741495 is this relevant ? Apr 23 04:16:44 I want to make a game where do I start? Apr 23 04:16:53 bankai_au "Select the order you'd like to refund" Apr 23 04:17:02 oh yeah well... murmur murmur :S Apr 23 04:17:17 how the *f%##$* do i do find it :) Apr 23 04:17:25 relipse: no one is going to be able to answer that stupid question Apr 23 04:17:42 relipse you start at the beginning of course Apr 23 04:17:45 of the yellow brick road Apr 23 04:17:49 no seriously Apr 23 04:17:50 in a recepit i get an order number Apr 23 04:18:01 do i get eclipse? Apr 23 04:18:07 if you want Apr 23 04:18:20 20 digits . 16 digits Apr 23 04:18:23 if that helps Apr 23 04:18:34 and the date / time Apr 23 04:18:37 alex_PP yeah i get the order #s listed in console; but if "joe Shmoe" says please refund my order i can't tell which is Joe' Apr 23 04:18:50 well ask him for the number Apr 23 04:19:12 reclipse: Start here: http://developer.android.com/training/index.html Apr 23 04:19:12 so i guess he just had to peck a 20+16 digit # on his shitty IME Apr 23 04:19:39 hopefully he knows where it is, and knows how to copy paste ;) Apr 23 04:20:10 reclipse: Eclipse has many tutorials online. Android Studio is another option IMO a much better IDE but not as many rich online resources for it yet. Apr 23 04:21:24 he's gone, bro Apr 23 04:22:08 g00s, i would have thought that this would be something he'd do on a larger computer Apr 23 04:22:17 hah that's what i get for trying to be helpful, didn't see him leave. Apr 23 04:22:20 i know i only read the dubjects of emails on my gone Apr 23 04:22:37 *subjects, phone Apr 23 04:23:18 Ok, got X-chat running on Windows 8. Apr 23 04:23:18 The hard part is over. Apr 23 04:24:41 i'm not gone Apr 23 04:24:57 i'm downloding android studio bundle now Apr 23 04:26:16 Nilium, Now Try hexchat Apr 23 04:26:23 irssi Apr 23 04:26:48 irssi is for people with too much time. Apr 23 04:26:53 irccloud is the best Apr 23 04:26:56 relipse: If you google it you can find a few tutorials for android studio, building basic apps. Those tutorials combined with the excellent resources at developer.android.com will be your best friend. Apr 23 04:27:23 Far as I can tell, hexchat is more or less ychat with icons. Apr 23 04:27:29 weechat looked nice Apr 23 04:27:36 so does telnet Apr 23 04:27:42 XD Apr 23 04:28:12 weechat, tmux ;) Apr 23 04:28:29 you're a tmuxer too? you da r0x0r, kiddo Apr 23 04:29:15 atm actually, iterm split windows is fine Apr 23 04:30:52 livingegg: ok it looks pretty cool, but how do I build a game with animations and stuff Apr 23 04:31:30 relipse: Dude you need to start with the basics. Have you written any Java before? Apr 23 04:31:39 yes i love the Java language Apr 23 04:31:45 i'm rusty though Apr 23 04:32:08 * Nilium hisses at the mention of anyone loving Java Apr 23 04:32:32 Nilium> irssi is for people with too much time. <-- you've obviously never tried bitchx Apr 23 04:32:49 relipse: Start with a basic hello world app to get an understanding of the different components and concepts that android makes available. After that it's just a matter of finding the right components and using them to build what you want. Apr 23 04:33:13 I used to use BitchX. Apr 23 04:33:14 Back when I still ran slackware. Apr 23 04:33:14 I miss slackware, but not bitchx. Apr 23 04:33:22 haha Apr 23 04:34:15 Gradle project synv failed. Please fix your project and try again. Apr 23 04:34:18 what does that mean Apr 23 04:34:32 relipse it means, "Welcome to Android!" Apr 23 04:34:37 Hahaha Apr 23 04:35:28 hexchat us an xchat fork Apr 23 04:35:29 The real Android development starts here. Apr 23 04:35:38 relipse: Gradle is the build system used by AS, an alternative to ANT. You probably need to update your android sdk. Try googling the error you'll find lots of others that have encountered it (and repeat this googling process for any further errors you encounter) Apr 23 04:35:41 gradle shmadle Apr 23 04:35:52 poop, more like it Apr 23 04:35:56 Apr 23 04:36:23 * pfn still needs to update to 0.9.x Apr 23 04:36:32 My lack of a command key is currently driving me nuts. Apr 23 04:37:29 relipse: From Android Studio, Tools > Android > SDK Manager (Make sure everything is updated). Then File > Synchronize. Apr 23 04:39:10 i can see this is going to be a lot of fun :) Apr 23 04:39:18 i'm in the sdk manager but what do I check? Apr 23 04:39:21 there is a ton of stuff Apr 23 04:40:03 relipse: Just leave what is already checked (those are the updates) and click Install Packages Apr 23 04:40:10 ok thanks Apr 23 04:40:39 you'll probably need to go in and repeat that option often to keep things up to date Apr 23 04:42:33 bankai_au just noticed this http://www.reactive-streams.org/ Apr 23 04:42:57 "non-blocking back pressure", hmm Apr 23 04:43:24 is that the same as rx observable checking if the subscriber is still subscribed? dont think so Apr 23 04:45:43 https://www.irccloud.com/pastebin/o9nBK2Lf Apr 23 04:45:48 i think this comes from twitter Apr 23 04:46:34 cool, Doug Lea and Eric Meijer are involved Apr 23 04:47:47 Ok i think i got hello world working Apr 23 04:48:02 how do I display a bitmap now Apr 23 04:48:18 livingegg: this is your fault, you know ... Apr 23 04:48:26 relipse on d.android.com , follow the tutorials Apr 23 04:48:48 * bankai_au gives livingegg a few spoons - off you go ... Apr 23 04:48:57 relipse: Nice job dude. At this point you're going to need to start googling because obviously we can't walk you though the entire development process every step of the way. Apr 23 04:49:48 >.> Huh, me? Apr 23 04:49:55 to spoon feed him Apr 23 04:50:11 Only till he's got a hello world was the plan Apr 23 04:50:27 hello world is the default project, that's not even an achievement Apr 23 04:50:47 g00s: I dont see anything in the examples on games or displaying bitmaps or sprites Apr 23 04:51:18 relipse well, there is a lot between "hello world" and games :) Apr 23 04:51:32 relipse: http://lmgtfy.com/?q=android+bitmap Apr 23 04:52:41 Wash, rinse, repeat Apr 23 04:53:43 bankai_au: Who woulda thought he'd take me for granite? Apr 23 04:53:58 awww you're still young, aren't ya? ;) Apr 23 04:54:20 No but I'm a subject matter expert everywhere I go because I know how to use google :) Apr 23 04:54:37 Not sure if bad pun without context or not Apr 23 04:54:38 google? never heard of it Apr 23 04:55:07 Bad pun without context = true. I'm full of em Apr 23 04:56:54 relipse: Seriously you gotta learn to google and make developer.android.com into your best friend. What you're doing is rude at this point, learn to be resourceful. Apr 23 05:03:52 omg, has anyone received a captcha from google while searching ? 'To continue, please type the characters below: ... Our systems have detected unusual traffic from your computer network. This page checks to see if it's really you sending the requests, and not a robot.' Apr 23 05:04:05 yeah Apr 23 05:04:18 hopefully, you don't see it again in a few minutes Apr 23 05:04:19 I do like one search an hour Apr 23 05:04:24 vpn ? Apr 23 05:04:29 no Apr 23 05:04:33 cell phone Apr 23 05:04:35 huh, weird Apr 23 05:05:31 i got that when i was using a bitlbee server for jabber from another country Apr 23 05:05:32 its OK for google to use enough identifying information in play store, groups, etc so spammers can target you, but /dont/ spam them buddy ! Apr 23 05:06:46 relipse: you'll eventually want to choose some game engine when you get more into it ... http://mobilegameengines.com/android/game_engines Apr 23 05:08:06 libgdx hit 1.0 yesterday Apr 23 06:24:32 can ayone help me with relativetime span string? Apr 23 06:47:46 there is a way to write a file content (wpa_supplicant.conf in my case) with adb passing a string content (script) instead of a file (eg: adb push $my_string /data/misc/wifi/wpa_supplicant.conf Apr 23 06:52:02 I've a script to configure dozen tablets a time but I would avoid to write temporary file to represent any wpa_supplicant Apr 23 07:12:42 hello Apr 23 07:19:22 Is there a permission where I can resize another app like candy crush to leave room for my game rush messages? Apr 23 07:20:09 Hi. I am trying to write a simple android app which can play from dailymotion using VideoView Apr 23 07:20:37 However, I get error while trying to do so, : 04-23 02:56:50.810: D/VideoView(1147): Error: 1,-2147483648 Apr 23 07:21:09 When I searched online it said the url was invalid. however the url does work when i directly paste it on web browser Apr 23 07:24:33 Here is a small snapshot of my code: Apr 23 07:24:33 declaration: private static final String uriString="www.dailymotion.com/embed/video/xqtwy9"; Apr 23 07:24:33 Main Logic: Apr 23 07:24:33 Uri videouri = Uri.parse(uriString); Apr 23 07:24:33 mvideoView.setMediaController(mMediaController); Apr 23 07:24:35 mvideoView.setVideoURI(videouri); Apr 23 07:24:37 mvideoView.requestFocus(); Apr 23 07:24:39 mvideoView.setOnPreparedListener(new MediaPlayer.OnPreparedListener() { Apr 23 07:24:42 @Override Apr 23 07:24:44 public void onPrepared(MediaPlayer mp) { Apr 23 07:24:46 mvideoView.start(); Apr 23 07:24:48 } Apr 23 07:24:50 }); Apr 23 07:24:53 Any idea ? Apr 23 07:33:07 Can I resize an app window to not fill up the entire screen (to leave room for system alert windows)? Apr 23 07:38:55 Ram_: it probably needs the http:// and maybe a file extension at the end of the uri Apr 23 07:49:24 Ram_: this uri should work fine for example http://dts.podtrac.com/redirect.mp4/twit.cachefly.net/video/aaa/aaa0158/aaa0158_h264b_640x368_256.mp4 Apr 23 07:56:47 but its a flash video. Apr 23 07:57:07 so u think http://www.dailymotion.com/embed/video/xqtwy9 would work _ Apr 23 07:57:32 maybe it needs a .flv at the end of it Apr 23 07:57:48 but I'm not sure VideoView will play flv Apr 23 07:58:15 I doubt that. if I need the flv. Apr 23 07:59:55 interesting actually the link u sent even that didnt work Apr 23 08:00:26 ok this should work for sure http://twit.cachefly.net/video/aaa/aaa0158/aaa0158_h264b_640x368_256.mp4 Apr 23 08:01:11 nope. that ditn work either Apr 23 08:01:14 I have created a custom ArrayAdapter for a ListView. In my getView() i'm setting an onClickListener on the element's view, and now the "highlight" color when clicking an element has disappeared? How do i get it back? Apr 23 08:01:17 it works on my app using VideoView Apr 23 08:01:55 I get an AlertDialog which says Can't Play this Video Apr 23 08:02:19 you must be doing it wrong somehow Apr 23 08:02:55 could you check what I might be doing wrong in the code snipet above ? Apr 23 08:03:12 which device are you testing on ? Apr 23 08:04:46 its an emulator Apr 23 08:05:01 there's your problem Apr 23 08:05:05 Android 4.3 Apr 23 08:05:08 ok ? Apr 23 08:05:10 emulators are no good for testing video Apr 23 08:05:14 really ? Apr 23 08:05:22 yes Apr 23 08:05:24 interesting. this is my first video app Apr 23 08:05:32 jus plying aroundwith the videoView and mediaplayer Apr 23 08:05:49 use a real device for that Apr 23 08:05:52 so what would you propose ? Apr 23 08:05:56 ok. Apr 23 08:06:00 shmooz whats the matter with testing video on the emulator ? Apr 23 08:06:19 g00s: it just doesn't work Apr 23 08:06:35 it doesn't work in real life either heh Apr 23 08:07:47 :D Apr 23 08:09:46 actually why would't it work ? Apr 23 08:09:57 I really have a good processor and i setup using GPU for emulator. Apr 23 08:10:09 what would really stop me from using the emulator for videos Apr 23 08:10:36 it also varies from device to device which formats VideoView will support Apr 23 08:11:44 I can play .avi files on my 2.3.3 phone no problems with it, but not on my Nexus 7 tablet Apr 23 08:12:01 ok runnig on device it still says the same thing Apr 23 08:12:07 cant play it Apr 23 08:12:22 should i setup for network permission ? Apr 23 08:12:33 in manifest file ? Apr 23 08:12:43 ok then you know the problem is not the uri but somewhere else in your code Apr 23 08:14:47 unfortuantely I dont realy find anythnig else that could be wrong in tehcode Apr 23 08:15:18 try playing a local mp4 file on the device Apr 23 08:15:20 did u get a chance to looka tthe code snippet ? Apr 23 08:15:45 yeah I don't get it Apr 23 08:15:58 my start() is not in onPrepared Apr 23 08:16:26 it should be wherever the user clicks Apr 23 08:17:30 onPrepared gets called as a result of start() afaik Apr 23 08:17:57 I dopnt really have any button Apr 23 08:18:04 its jus a simple videoview Apr 23 08:18:36 put the start at the end of your onCreate Apr 23 08:19:09 so what goes inide onPrepared(..) ? Apr 23 08:19:16 anyone a good soap library? Apr 23 08:19:36 What I heard was without onPRepared I might get an issue of playing before it starts streaming. Apr 23 08:19:48 was from some comment on stackoverflow Apr 23 08:20:08 I initially jus had videoView.start() ad there was no call to onPrepred evcent Apr 23 08:22:28 well I use onPrepared to full screen it and hide the soft menu and notification Apr 23 08:22:45 and it doesn't have problems streaming Apr 23 08:23:25 I have my start on the listview click listener Apr 23 08:24:32 but like I said if you don't have any widget to activate it , just put it at the end of onCreate in your case Apr 23 08:51:21 hi! Apr 23 08:52:21 I got a problem with localizing strings. I put my string into strings.xml and now want to bind it into textview in layout. problem is, that I would like to bind some values to localized string. is it possible from xml? Apr 23 08:52:56 let's say i got %1$d apples Apr 23 08:53:15 now I would like to bind it into textview in xml and set that variable Apr 23 08:53:20 is it even possible? Apr 23 08:54:02 shmooz Now it jus says "Buffering the video" Apr 23 08:54:13 I do have a progressDialog, btw . Apr 23 08:54:34 now the code looks like : Apr 23 08:54:34 mvideoView = (VideoView) findViewById(R.id.videoView1); Apr 23 08:54:34 Apr 23 08:54:34 progressDialog = ProgressDialog.show(MainActivity.this, "", "Buffering the video"); Apr 23 08:54:34 progressDialog.setCancelable(true); Apr 23 08:54:36 mvideoView.start(); Apr 23 08:54:36 hey folks, what is the best way to halt the code after pressing button for certain amount of time? Apr 23 08:54:38 playVideo(); Apr 23 08:56:18 actually I missed a couple of things. however, I still get the same error: Cannot find Video Apr 23 08:57:13 gordon_: it should be possible, but that amounts to more code than just simply setting text of a textview. unless you want to store those strings for later usage, it should be avoided. imhp Apr 23 08:58:15 gordon_: my mistake, the values are final, your option is to create another file, and use it on load Apr 23 08:58:40 I was wondering if anyone has experience with programming intents for android apps, I am struggling to get the app to receive and process intents when it is already running. Can anyone help? Apr 23 09:03:35 I'm looking for an android audio api that has an progress update loop that is fine grained. I used MediaPlayer streaming but It didn't get the progress update was not good enough, I need it to update my animation... what are possible suggestions? Apr 23 09:15:54 thanks Apr 23 09:16:24 How long does it take for a test account to take effect in the Google console? Apr 23 09:17:15 Depends. How many Google support people do you want to bribe? Apr 23 09:17:38 lol as many as I can afford Apr 23 09:18:25 I really want pizza suddenly. Apr 23 09:18:56 Is pizza good to bribe the Google support people? Apr 23 09:19:07 Couldn't say. Apr 23 09:19:30 Oh, speaking of Google support people, I contacted the Play support about the policy update banner not disappearing and they fixed it for me. Apr 23 09:24:57 Either that or the policy notice vanished on its own. Not sure. Same difference. Apr 23 09:32:04 Hi, all. I need to use multiple string resources for one line of text in my XML. android:text="'@string/Hour'+':'+'@string/Min'" certainly isn't working. Apr 23 09:33:07 neither is removing the single quotes. Apr 23 09:35:14 So when I add test accounts to play console they don't instantly become active? Apr 23 09:35:14 Define a format string and argument pack? Apr 23 09:45:26 phew, my credit union web site, with partial url mybank.com/netteller2008/foo.aspx isn't effected by Heartbleed. i feel safer now :) Apr 23 09:45:57 Can I get some love for my stack overflow question? Apr 23 09:45:58 https://stackoverflow.com/questions/23240625/receiving-intents-while-application-is-running Apr 23 09:47:45 is there some 3d debug view tool for android ? Apr 23 09:47:56 3D debug view tool? Apr 23 09:50:08 somethig like this http://www.youtube.com/watch?v=zqHV625EU3E Apr 23 09:51:07 Probably not, though you could feasibly do something like that with the view hierarchy stuff you can get out of ddms. Apr 23 09:52:28 eh Apr 23 09:52:47 textviews are showing and disappear after Apr 23 09:53:05 hiearchy viewer gives you a tree Apr 23 09:53:05 dont know if they're just under other view or something... (relative layout( Apr 23 09:53:13 it'll tell you what you want to see :) Apr 23 09:53:44 What Mavrik said Apr 23 09:53:58 Sample the hierarchy when it's visible/not visible and compare. Apr 23 09:54:04 hierarchyviewer is one of the buggiest pieces of shit Apr 23 09:54:48 hear hear :) Apr 23 09:54:53 ugh Apr 23 09:54:54 s/hierarcyhviewer/The Android SDK in general/ Apr 23 09:55:05 nop Apr 23 09:55:09 let me look at it Apr 23 09:55:25 Never kill an emulator instance while it's on a secondary display in Mac OS. Apr 23 09:55:37 Otherwise you'll have to nuke the user config file for it so it doesn't try to launch on the secondary display (otherwise it'll crash and you'll need to nuke the lock files too) Apr 23 09:56:51 Nilium what are you up to on windows 8 ? Apr 23 09:56:53 Hi, I would like to have Youtube app in my custom AOSP build. In order to get it working i've installed com.android.vending and com.google.android.gms. Youtube app is working well, but error message "Unfortunately Google Play Services Has Stopped" is showing up.. I've tried different versions of apps but with no effect.. always not re-signed packages from the Internet... do you have any idea? Apr 23 09:57:11 dominikm please see topic, thanks Apr 23 09:59:00 sorry Apr 23 09:59:45 also, install full Google Play package, not just few random files Apr 23 10:06:14 g00s: Installing some games and testing Visual Studio's C++11 and C++1y compatibility Apr 23 10:06:17 The latter will probably be a huge bag of disappointment and shit. Apr 23 10:06:48 Microsoft's C++ compiler is well known to be way behind on C++11 support, much less C++1y Apr 23 10:07:10 man, i remember useing Visual C++ 1.52 Apr 23 10:07:18 holy shit Apr 23 10:07:34 So. Anyone fooled around with the geocoding class from a service? Passing it a service context instead of an activity context makes it facepalm with a nullpointerexception. Anyone dealt with that before? Apr 23 10:07:52 I don't. I started with VC++6. Apr 23 10:08:27 i remember for a while, it didn't have generics Apr 23 10:08:40 C++ has never had generics. Apr 23 10:08:42 yeah it was far behind … but i thought that all changed after Sutter joined MS Apr 23 10:09:12 *templayes* Apr 23 10:10:03 heh, i messed that up too Apr 23 10:10:44 bjorn` this ? http://developer.android.com/reference/android/location/Geocoder.html Apr 23 10:11:04 eh Apr 23 10:11:12 hierarchy viewer doesnt work Apr 23 10:11:15 great tools <3 Apr 23 10:12:18 It's sort of important to make the distinction between Java's generics and C++'s templates Apr 23 10:12:19 don't really see why geocoder context from service would be an issue Apr 23 10:12:35 is there anyway to set some quite of guard for variable in intellij so when it changes it will stop in that code ? Apr 23 10:15:36 Guard variable for what? Apr 23 10:16:10 i think gordon_ wants some kind of watch expression Apr 23 10:16:17 yes Apr 23 10:16:55 this is, i got textview to which I bind text. but after sometime it disappears and I cannot find why it disappears Apr 23 10:17:25 I dont see anything which would do something like View.GONE or anything Apr 23 10:17:26 Well, what would you watch on to detect that? Apr 23 10:17:46 textview view property Apr 23 10:18:17 But the view isn't null, is it? It's just not visible when the hierarchy is drawn. Apr 23 10:18:28 it's not null. Apr 23 10:18:49 it's visible for second and disappear Apr 23 10:19:08 O.o Apr 23 10:19:22 So watching that variable wouldn't really do anything for you. Apr 23 10:19:37 g00s: yes, that. All working examples I can find on it implement it in an Activity directly, giving the activity context as context reference. Doing that exact same thing from a service using the service context seems to fail. Apr 23 10:19:51 You might watch something in the view, but chances are you're wrong about what you should watch Apr 23 10:20:01 It'd be better to review all the code associated with the view and its construction and surrounding views. Apr 23 10:20:09 hmm Apr 23 10:20:12 got some idea Apr 23 10:20:58 thanks for tips Apr 23 10:22:37 ok it's there Apr 23 10:22:42 just text seems to disappea Apr 23 10:22:43 r Apr 23 10:30:14 Hey, my workspace keeps coming up with a appcompat_v7 file, and the MainActivity extends ActionBarActivity, anyone know how to stop this? Apr 23 10:31:37 hi all, does someone know if I can flash just the system partition on my android and keep boot and such on it, if so, how? Apr 23 10:32:33 ok, fixed that Apr 23 10:32:59 ijsklontje: wrong channel Apr 23 10:33:29 amazwon: dont understand what you mena Apr 23 10:33:34 *mean Apr 23 10:33:55 ijsklontje: See the topic. This is not a place for root people. We do not like them. Apr 23 10:34:17 (They make our lives a living hell.) Apr 23 10:34:21 dont like you either Nilium Apr 23 10:34:50 Cute little feller. Apr 23 10:35:07 hahha Apr 23 10:38:17 in my package manager there is some new file called appcompat_v7 and my main activity has new code in i Apr 23 10:38:18 t Apr 23 10:39:16 Time to play me some Dishonored. Apr 23 10:39:16 Try to get a pacifist run of it done for once. Apr 23 11:15:03 When setting prices on the google console do you guys ever adjust anything manually? Apr 23 11:15:11 Or just go with the autocoversion? Apr 23 11:15:24 *auto-conversion Apr 23 11:16:05 can someone help me with a Soap request? Apr 23 11:20:19 Hi guys. I don't understand what that guy means by reshowing the first dialog. http://stackoverflow.com/a/8425019/3514658 How to hide the current DialogFragment? I think he means changing it's layout and take back the old one when the user clicked on OK. Apr 23 11:26:38 apple741: I used to do minor adjustments (e.g., double-checking the conversion and adjusting for other things) but haven't bothered in a long time. Apr 23 11:28:15 Nilium: Yeah I was just going to leave it but not sure if I should make the prices match iOS? Apr 23 11:28:44 match if they are the same demographic Apr 23 11:30:46 g00s: Its weird the way iOS pricing works they don't seem to have a direct conversion between the different regions Apr 23 11:31:23 ideally it should probably be tweaked Apr 23 11:31:49 my app is $7, but if i convert that to acorns, it could be 3 months worh wage for the average person in some area Apr 23 11:32:00 which would be stupid Apr 23 11:33:22 Hmm ok found a solution. I was using an alert dialog builder inside a dialog fragment which was wrong. I had to create just a new layout for the other dialog fragmant and it worked. Thanks any way. Apr 23 11:46:59 hi can someone help me understand why I can't get both of these editText's on the same line as each other in the layout? Apr 23 11:46:59 http://pastie.org/9104189 Apr 23 11:53:21 where do i add a .jar to build path, in android studio? Apr 23 11:59:52 morning Apr 23 11:59:57 im a java ee developer and started yesterday to learn android dev. with java ee i use hibernate, ill like to know if there is a similiar framework for android development and if is worth it Apr 23 12:08:17 hey Apr 23 12:21:16 ladies. Apr 23 12:21:25 g00s you are alive Apr 23 12:21:38 ronny_fro_ yeah .. barely ;) Apr 23 12:21:52 ronny_fro_ getting up or … still up ? Apr 23 12:22:41 got up early to work on some side work before work =) Apr 23 12:23:43 I know glass is kind of a hated thing amongst most people, but anyone else developing for it here? Apr 23 12:24:41 mikedg does Apr 23 12:27:24 ronny_fro_, do you own the device? Apr 23 12:27:36 you can't develop without it I suppose, as there is no emulator for that Apr 23 12:27:43 kl4q Apr 23 12:27:49 please rephrase your question Apr 23 12:28:02 ronny_fro_, are you a glasshole? Apr 23 12:28:12 can someone please help me here? i don’t know what’s going on :( https://www.dropbox.com/s/fosg9s45xvuh2u8/Screenshot%202014-04-23%2014.27.48.png Apr 23 12:28:16 kl4q for work Apr 23 12:28:35 my company actually has an idea for it, that is about the only way I see the devices making sense Apr 23 12:28:40 google is not helping at all. The import javax.* cannot be resolved how do i fix that? Apr 23 12:28:46 I wouldnt be caught dead wearing one in public Apr 23 12:29:21 thats good. you could be found dead /because/ you were wearing one in public :P Apr 23 12:29:57 siaW too many close brackets )) Apr 23 12:30:50 FearTec: but the errors are about imports :/ Apr 23 12:31:05 siaW yep, ignore me Apr 23 12:31:18 Hi, I'm trying to send a int from a bluetooth device to another - how do I do this in a simple way? Apr 23 12:31:23 FearTec: no please help me if you can Apr 23 12:31:50 Rubas there is no simple with android, and certainly no simple with bluetooth and android :D Apr 23 12:32:01 Hi, why does this ThumbnailUtils.createVideoThumbnail(“url here”, MediaStore.Images.Thumbnails.MINI_KIND); returns null in Android 4.1 or above? Apr 23 12:32:11 Rubas look at the legacy BluetoothChat example Apr 23 12:32:33 siaWsoz, I use http://coronalabs.com/ and code in lua and it p[its out objective c/android apps. Im here as a newbie. Apr 23 12:33:03 g00s: Haha, I need to do this with the combinations of: android, bluetooth, java & eclipse. :P Apr 23 12:33:15 g00s: Should I google Legacy BluetoothChat? :) Apr 23 12:33:31 its in your sdk samples Apr 23 12:34:27 Some of the Local Prices in the Google console say 'incl. tax' Does that mean for the other countries the price displayed might increase as tax has not yet been taken into account? Apr 23 12:36:35 g00s: thanks Apr 23 12:37:43 apple741 no Apr 23 12:38:09 tax is only applied for countries Google determines that tax should be applied for (which I think is only the US if you're from the US ?) and the tax settings you set up in you merchant account Apr 23 12:38:24 in other words, no tax is added at all for the countries for which 'incl. tax' is _not_ listed Apr 23 12:38:30 at least, that is the case for me Apr 23 12:38:46 Thanks Chainfire that does make sense, I'm based in the UK :) Apr 23 12:39:15 right, in that case you should probably set all the EU countries to your local VAT in the merchant settings (maybe this is automatic already these days) Apr 23 12:40:39 (being from the UK it is probably the case that you need to charge your local VAT to all transactions in the EU, and no VAT for outside the EU, but check with your accountant) Apr 23 12:41:05 Thanks Chainfire will do :) Apr 23 12:43:17 i'll take one of these :D http://www.pcworld.com/article/2146941/what-kind-of-tablet-does-5000-get-you.html Apr 23 12:43:47 looks col Apr 23 12:43:48 cool Apr 23 12:43:54 but I am not sure I'd want windows 8 Apr 23 12:44:22 you can get 7 or 8 Apr 23 12:45:59 8 at least makes sens on a tablet Apr 23 12:46:28 but then I dont know, just dont like how 8 trys to force you to do everything a very specific (akward feeling) way Apr 23 12:46:45 I just feel like windows 8 just kinda went the wrong direction Apr 23 12:47:51 any of you guys managed to get an I/O ticket btw? Apr 23 12:48:13 * g00s has never tried Apr 23 12:49:32 Does anyone have a good tutorial or document explaining Fragments on small screens? I'm finding the concept and interaction between Activities and Fragments quite confusing ;( Apr 23 12:49:34 Windows 8 on Surface Pro 2 is pretty good Apr 23 12:50:29 capella: as good as windows 2012 server with modern ui Apr 23 12:50:42 everyone knows that servers always has touch screen Apr 23 12:50:57 *have Apr 23 12:51:18 hi can someone help me understand why I can't get both of these editText's on the same line as each other in the layout? http://pastie.org/9104189 Apr 23 12:51:37 I don't really consider Windows devices tablets ala Android or iOS though, more like mini-laptops ... heavy little buggers Apr 23 12:52:26 errant_rider: what's your layout ? Apr 23 12:52:33 I mean, relative layout or what ? Apr 23 12:52:52 relative layout Apr 23 12:52:58 you want more of the file? Apr 23 12:53:36 errant_rider: layout_parentRight=true Apr 23 12:53:37 and Apr 23 12:53:41 layout_parentLeft=true Apr 23 12:53:48 or! Apr 23 12:54:13 where do I add those? Apr 23 12:54:14 layout_rightOf="id/editText1" Apr 23 12:54:23 to those edit texts Apr 23 12:54:49 Hi again guys. I've callBack to an Activity. This callback is actually a weak reference. Do I need to check for mCallback != null or mCallback.get() != null before calling a method on that callback? Apr 23 12:54:49 The best would be to check both noh? First: have I a weakreference, then: try to dereference the pointer. Apr 23 12:56:13 gordon_: editText2 has android:layout_toRightOf="@+id/editText1" Apr 23 12:56:28 What do you think about my assumption? ^ Apr 23 12:57:16 errant_rider: right, so why do you have this: android:layout_alignBottom="@+id/editText2" Apr 23 12:57:21 in editText1 ? :D Apr 23 12:57:42 was trying stuff to make it work from stackoverflow... Apr 23 12:57:51 so i removed that… Apr 23 12:57:54 didn't do anything Apr 23 12:58:01 of course it didnt Apr 23 12:58:14 what am I missing? Apr 23 12:58:17 you may want to set width=0dp Apr 23 12:58:21 and weight to 1 Apr 23 12:58:26 for both of edit texts Apr 23 12:59:33 no joy Apr 23 12:59:59 https://gist.github.com/llaskin/11214332 is the latest Apr 23 13:00:18 now the editTexts are very tall, but still not on the same line... Apr 23 13:01:06 if you set width to 0 ? Apr 23 13:01:11 let me launch intellij Apr 23 13:01:13 i did Apr 23 13:01:22 see the gist i just posted Apr 23 13:01:28 yeah it's 150 Apr 23 13:01:40 aaah layout_width not width? Apr 23 13:01:50 why do you need layout_width in the first place? Apr 23 13:02:03 was auto generated when doing design in android studio Apr 23 13:02:27 let me give you solution Apr 23 13:02:32 and removing them causes them both to disappear Apr 23 13:02:32 just need intellij.. Apr 23 13:02:40 Hi, does anyone have a good tutorial or document explaining Fragments on small screens? I'm finding the concept and interaction between Activities and Fragments quite confusing :/ Apr 23 13:03:38 LaSombra: i was struggling with that too Apr 23 13:04:00 basicly, let all the logic pass to fragments Apr 23 13:04:10 and activities to only commit the fragments Apr 23 13:04:38 What about the Activity A/Fragment A and Activity B/Fragment B? Just drop the Activity B? Apr 23 13:04:53 yes Apr 23 13:05:19 Hmmmm, wouldn't that make Activity A like a super Controller, borrowing from the MVC model Apr 23 13:05:40 well activity should be controller Apr 23 13:06:20 that's how I see this Apr 23 13:06:34 never done tablet layout becuse... 'we dont do it' Apr 23 13:06:44 Sure. I was thinking the way you are saying but I thought I would end up with only 1 super activity with lots of line with all different types of methods and inner classes in it Apr 23 13:06:44 not my choice Apr 23 13:06:54 Sure Apr 23 13:07:11 look at some tablet app Apr 23 13:07:23 you can see exactly when it's opening new activity Apr 23 13:07:30 I don't want to do tablet now, just phone Apr 23 13:07:37 errant_rider: ok got intellij Apr 23 13:07:41 I will take a look at todo.txt Apr 23 13:07:58 Cheers gordon_ Apr 23 13:08:12 ron_frown thought you would be proud of me, moved from eclipse to android studio ;) Apr 23 13:08:58 g00s: I'm proud of you Apr 23 13:09:06 :) Apr 23 13:11:01 because eclipse is just a no-no Apr 23 13:12:32 Big no-no Apr 23 13:18:27 errant_rider: I got it Apr 23 13:19:45 errant_rider: http://pastebin.com/Hewr4QMg Apr 23 13:21:49 so thats basically what I already had…but doesn't seem to work... Apr 23 13:23:21 they are on the left/right side but are on subsequent lines... Apr 23 13:25:23 do I understand correctly that I can use all java7 features apart from try-with-resources when using targetSdkVersion 19? Apr 23 13:26:09 sonOfRa: basicly yes, from kitkat Apr 23 13:26:20 excellent Apr 23 13:26:37 according to google's documentation Apr 23 13:26:40 didnt tried myseflt Apr 23 13:26:50 dont know if there is some 'killer feature' in java 7 Apr 23 13:27:00 mainly syntactic sugar Apr 23 13:27:18 like diamond operators ? ;) Apr 23 13:27:28 multicatch, switch on strings Apr 23 13:27:55 switch on strings is great ! Apr 23 13:28:03 since 90% of android is a string constant Apr 23 13:28:08 ^ Apr 23 13:28:31 switching on onSharedPreferenceChangeListener keys, intent actions, blah blah blah Apr 23 13:28:49 gordon, any thoughts on why I still can't get it? Apr 23 13:28:50 forgot about mutlicatch Apr 23 13:28:57 errant_rider: show whole layout Apr 23 13:29:05 will paste it into mine editor Apr 23 13:30:02 https://gist.github.com/llaskin/11215255 Apr 23 13:32:05 pretty cool http://liliputing.com/2013/12/odroid-u3-59-dev-board-with-the-power-of-a-galaxy-s3.html Apr 23 13:32:48 How can I take a reference to the spinner object tha is used in the action bar? Apr 23 13:32:56 get a reference * Apr 23 13:33:07 Birk: is it custom view ? Apr 23 13:33:15 it was something like... Apr 23 13:33:28 bar.getCustomView().findViewById(); Apr 23 13:33:39 now if only we could get java8 features in android... Apr 23 13:33:50 sonOfRa: I wish... Apr 23 13:34:10 but... Apr 23 13:34:47 google's meta problem, as always, is not being able to get everyone on the same page version-wise Apr 23 13:34:52 sonOfRa: http://youtu.be/5U1_KW6ww7Y?t=1m28s Apr 23 13:34:54 how do i install this in android studio? https://github.com/JakeWharton/sdk-manager-plugin Apr 23 13:35:00 JakeWharton^ Apr 23 13:35:40 mylord: the readme is pretty simple. there's nothing to "install" if you use gradle it only takes a minute Apr 23 13:35:49 k Apr 23 13:38:39 jaynewstrom: what’s wrong here? https://www.dropbox.com/s/xzhem9f06ydqkj6/Screenshot%202014-04-23%2016.38.05.png Apr 23 13:39:45 gordon, I lost my connection, sorry Apr 23 13:40:00 mylord: i don't think you should have two buildscript sections Apr 23 13:40:13 just merge the two Apr 23 13:40:23 Birk: wrote everythin ;) Apr 23 13:40:37 you were still here Apr 23 13:41:20 https://www.dropbox.com/s/webz5l2fpx3dl8n/Screenshot%202014-04-23%2016.40.54.png Apr 23 13:41:26 jaynewstrom ^ and now? Apr 23 13:42:50 mylord: ./gradlew clean assemble Apr 23 13:42:55 new genymotion 2.2.1 Apr 23 13:43:15 what gordon_ said Apr 23 13:43:27 gordo_ did you see my gist? Apr 23 13:43:37 gordon_ that is Apr 23 13:43:42 https://gist.github.com/llaskin/11215255 Apr 23 13:44:39 http://hastebin.com/kuneweyiha.avrasm Apr 23 13:44:45 jaynewstrom: ^ and now? Apr 23 13:45:30 chmod +x gradlew Apr 23 13:45:37 It's not possible to augment InputType? https://developer.android.com/reference/android/text/InputType.html Apr 23 13:45:44 eh.. Apr 23 13:45:56 errant_rider: looking Apr 23 13:46:06 mylord: WHY SUDO Apr 23 13:46:37 gordon_: ok, won’t do sudo Apr 23 13:46:56 do you know what sudo does ? Apr 23 13:48:33 sudo as root Apr 23 13:49:48 so why do you want to use sudo to download gradle's deps ? Apr 23 13:50:27 errant_rider: eh... you have those in LinearLayout Apr 23 13:50:37 tht's why it doesnt work Apr 23 13:50:52 http://hastebin.com/kinevemalo.pas Apr 23 13:50:58 jaynewstrom: and now? ^ Apr 23 13:51:21 does anyone know a way to listen for or recieve a broadcast for location services being enabled and disabled? Apr 23 13:51:50 and without sudo : http://hastebin.com/uxuhazukey.vbs Apr 23 13:51:56 I'm using the fused location provider and it will "connect" just fine even with location services disabled Apr 23 13:52:04 mylord: http://asset-8.soup.io/asset/1118/3236_8ff9.jpeg Apr 23 13:52:36 http://hastebin.com/oqebucemir.coffee Apr 23 13:52:40 mylord: just read the readme... it's not that hard. figure something out for yourself Apr 23 13:52:41 gordon_ ^ yes sir! Apr 23 13:53:16 jaynewstrom: new generation... Apr 23 13:53:46 jaynewstrom: here? https://github.com/JakeWharton/sdk-manager-plugin/blob/master/README.md Apr 23 13:54:02 now checking gradle mans Apr 23 13:54:08 hit one speedbump. act like it's mount Everest Apr 23 13:54:23 just want to get back to coding Apr 23 13:54:56 mylord: eh... Apr 23 13:55:00 mylord: echo $ANDROID_HOME Apr 23 13:55:08 ./gradlew clean assemble --stacktrace Apr 23 13:55:21 stacktrace: http://hastebin.com/oqebucemir.coffee Apr 23 13:55:39 echo $ANDROID_HOME is empty Apr 23 13:56:17 gordon_ when I remove the linear layout, it all appears on one place now…now I don't have any seperate lines…its all on top of each other Apr 23 13:56:24 wait Apr 23 13:57:36 errant_rider: http://pastebin.com/qi88QQmN Apr 23 13:57:42 mylord: set it up Apr 23 13:57:46 maybe that's the problem ;) Apr 23 13:58:15 gordon_ yes, looking into that. thx guys Apr 23 13:58:29 gordon_: current version https://gist.github.com/llaskin/11216178 puts everything on top of each other... Apr 23 13:58:42 errant_rider: check my version Apr 23 13:58:50 and look what I've done Apr 23 14:00:37 How do I add a purely compile-time dependency to build.gradle? compile "..." seems to imply both compiletime AND runtime Apr 23 14:01:09 gordon_ the layout you provided looks like this: http://screencast.com/t/ERJ3YDiH9tg Apr 23 14:01:31 yes Apr 23 14:01:38 those aren't on the same line... Apr 23 14:01:45 you wanted two edit text's next to each other Apr 23 14:01:48 m and v are Apr 23 14:01:50 on the same line... Apr 23 14:01:53 ohhhh Apr 23 14:01:55 hah Apr 23 14:01:56 ok Apr 23 14:02:06 I didnt done it for everything Apr 23 14:02:32 sonOfRa: put compile 'junit:junit:4.11' Apr 23 14:02:36 i only wanted RG and length to be on the asme line Apr 23 14:02:37 in dependencies Apr 23 14:02:40 i’ve set ANDROID_HOME to the SDK location, afaik, and now this: http://hastebin.com/hituqatowu.coffee Apr 23 14:02:41 and I think my code matches yours in that way... Apr 23 14:02:57 errant_rider: you were missing one relative layout Apr 23 14:03:30 gordon_: the "compile" scope also includes libraries into the runtime scope Apr 23 14:03:53 might have missed the /sdk at end of path.. trying agin Apr 23 14:04:24 waht libraries ? Apr 23 14:04:32 aha i got it Apr 23 14:04:34 dont know if I understand it now Apr 23 14:04:59 gordon_: 'compile "junit:junit:4.11' will put junit in your apk Apr 23 14:05:10 yes Apr 23 14:05:22 same prob: http://hastebin.com/oqemijarap.vbs Apr 23 14:05:29 and you want to do what ? Apr 23 14:05:38 maybe you want to have provided scope ? Apr 23 14:05:55 Apparently, a provided scope was added recently! Apr 23 14:06:20 odd terminology though. I would assume "compile" meant compile, not compile+runtime Apr 23 14:06:46 I'm more maven guy but I looked for provided now :) Apr 23 14:07:57 jaynewstrom: I’ve set ANDROID_HOME to ../adt-bundle-mac-x86_64-20131030/sdk and have this prob still: http://hastebin.com/hituqatowu.coffee Apr 23 14:10:01 err, this: http://hastebin.com/fejekanomu.vbs Apr 23 14:11:09 seems old (20131030) updating.. Apr 23 14:14:28 echo $GRADLE_HOME is empty.. seems i need to set it? http://www.gradle.org/installation Apr 23 14:15:04 I’d think if it was working through Android Studio, it was already setup correctly. But maybe not for command line. Do I need to install it through command line? Or? Apr 23 14:23:58 mylord: no Apr 23 14:24:08 you're using gradle wrapper Apr 23 14:24:12 so dont need to set gradle home Apr 23 14:24:44 ok.. so i have no leads to chase atm.. any help/ Apr 23 14:25:23 havent used that Apr 23 14:25:26 so cannot help you Apr 23 14:25:32 I mean that plugin Apr 23 14:25:33 oh, I do have this lead: https://www.dropbox.com/s/hlv8k23emkcwzql/Screenshot%202014-04-23%2017.25.12.png Apr 23 14:25:39 gordon_ k thx anyhow Apr 23 14:25:41 does it compile without plugin ? Apr 23 14:26:28 ya Apr 23 14:26:37 IS there an Google Employee there ? Apr 23 14:27:02 well.. it used to compile.. now its saying gradle is out of sync, and it fails to sync Apr 23 14:27:18 My market url link were just removed for no reason Apr 23 14:27:28 is there a google employer here to help me? Apr 23 14:27:34 gaminglib: this isn't a play store support channel... Apr 23 14:27:36 employee* Apr 23 14:27:52 this is how I first had my build.gradle, but now it fails to sync.. maybe AndroidStudio update caused that, I’m not sure: https://www.dropbox.com/s/k1i3tysa1vk5mz2/Screenshot%202014-04-23%2017.27.06.png Apr 23 14:27:58 I know but I want to talk to an employee if there is one Apr 23 14:29:18 Leeds you know if there is some employee here ? Apr 23 14:30:46 there are, but they're not necessarily going to talk to you on the record... Apr 23 14:32:12 Yeah but they can contact me off the record Apr 23 14:32:14 like gtalk Apr 23 14:32:28 THE ISSUE IS WAY FUCkING IMPORTANT Apr 23 14:32:41 gaminglib didn't they send you a notice ? Apr 23 14:32:46 no Apr 23 14:32:52 and tje app is still in publish state Apr 23 14:32:54 the * Apr 23 14:33:13 I released it 16 hour ago everything was fine Apr 23 14:33:58 gameinglib,I shocked that google didn't even email you about it. Apr 23 14:33:59 the market is down, but everything in my console is fine like there is no problem Apr 23 14:34:13 I'm shocked too but you know why ? Apr 23 14:34:36 the app were feature in a worldwide campaign Apr 23 14:34:42 i thought google wouldn't do thing like that. Apr 23 14:34:58 after 4hour campaign all the link were refering to a deadlink .... Apr 23 14:35:07 it was an all day campaign Apr 23 14:35:18 this kind of thing happens when you violate TOS Apr 23 14:35:20 i hope that gogole don't do that to me. Apr 23 14:35:23 You cant Imagine the insane amount of money we just lost with that s*** Apr 23 14:35:39 TOS ? Apr 23 14:35:43 what is it ? Apr 23 14:35:45 terms of service Apr 23 14:35:51 Impossible Apr 23 14:35:54 "the rules" Apr 23 14:35:59 the app was on silent launch for a month Apr 23 14:36:07 nothing happend Apr 23 14:36:15 doesn't matter Apr 23 14:36:19 and when you break TOS your app is suspended Apr 23 14:36:30 why it doesnt matter ? Apr 23 14:36:32 apple checks on submission, google checks retroactively Apr 23 14:36:37 either can pull Apr 23 14:36:44 one tell you upfront, the other doesn't :) Apr 23 14:37:10 I think you don't understand Apr 23 14:37:14 when you break tos Apr 23 14:37:20 your app is in suspended state Apr 23 14:37:53 In my console the app seems live and work fine Apr 23 14:37:58 but the url is just dead Apr 23 14:38:05 gaminglib i doubt there is anyone here that can help. as Leeds said, there are (a few) google employees here … but none that i know on Play team Apr 23 14:38:06 no mail from google Apr 23 14:38:37 thank goos for your feedback, I'm wanted to talk to someone inside so I can redirect me to the right one Apr 23 14:38:44 i've * Apr 23 14:38:59 so he can redirect me to the right person Apr 23 14:39:36 already tryin to get in touch with two advocate but they are busy Apr 23 14:39:46 gaminglib was this the free calling app from the other day? Apr 23 14:39:46 the 'right person' is almost certainly a support form on the play store site Apr 23 14:41:17 not at all Apr 23 14:42:11 I love it when people get all entitled and demanding Apr 23 14:42:16 Already filled every single form that exist on the pla ystore Apr 23 14:43:32 It's a shame that something like this can happen without being able to call or contact someone directly Apr 23 14:43:50 gaminglib link to the campaign ? Apr 23 14:44:41 https://play.google.com/store/apps/details?id=com.greenpanda.solitaire Apr 23 14:46:21 was it just a solitaire game ? Apr 23 14:46:42 oh well, nobody here can know Apr 23 14:47:11 yeah Apr 23 14:47:18 holy crap there are a lot of solitaire games Apr 23 14:47:22 "just a solitaire" game exactly Apr 23 14:47:35 yeah but ours aimed to be the cleaner one Apr 23 14:47:57 The one on the top5 are just a shame for the google play store Apr 23 14:48:06 been there since 2007 Apr 23 14:50:18 well its on apks.org :) Apr 23 14:52:28 what is on apks.org ? Apr 23 14:53:38 Hi I have a question about events. Apr 23 14:54:03 I have a text generator which will internally switch chapters every now and then Apr 23 14:54:19 i want to notify the generators parent object about the switched chapter Apr 23 14:54:22 how can i do this? Apr 23 14:54:30 gaminglib your app for iOS ? http://greenpandagames.com/app/classic-solitaire/ ? Apr 23 14:54:37 i'd like to emit an event in the generator which would be caught by the parent Apr 23 14:54:45 yes goos Apr 23 14:55:04 as you can see there is nothing weird about the app Apr 23 14:55:43 gaminglib http://apks.org/solitaire-1-0/ Apr 23 14:56:03 I know about that Apr 23 14:56:11 they love to crawl everything Apr 23 14:56:23 we have advertising model so we dont care about it Apr 23 14:57:22 gaminglib does it do anything weird like put advertisements in notifications, or ask for 5 star reviews to unlock features ? Apr 23 14:57:37 no we don't do that Apr 23 14:57:49 hmm Apr 23 14:57:50 even if we broke tos they must send us an email Apr 23 14:58:06 we are still in a publish state like evrything is good Apr 23 14:58:22 every once in a while we all get a reminder, that we're just renting a spot on google's turf ;) Apr 23 14:58:45 hope it gets worked out Apr 23 14:58:51 Thx goos Apr 23 14:59:07 but the things is that we have an insane traffic on their admob network Apr 23 14:59:21 So at the end "WE" are the spot :) Apr 23 14:59:58 gaminglib you didn't do something like only publish it in JP or something Apr 23 15:00:07 JP ? Apr 23 15:00:12 Japan :) Apr 23 15:00:19 Hahahahahahahaha Apr 23 15:00:19 no Apr 23 15:02:24 i have a question about events... Apr 23 15:02:33 Hello , anyone have already use wifidirect and network service discovery here please ? Apr 23 15:05:56 hi guys, where does one insert the XML url to download a virtualized device such as the Samsung S4 on Eclipse? Apr 23 15:31:10 I'm trying to get a preview class working, and display the camera view, i got this on my catlog, can someone please take a quick look and help me indicate what the problem is http://pastebin.com/BLtqxZ9d Apr 23 15:46:34 Can anyone help me? I'm trying to use the apache commons codec Base64 on android to encode and decode a byte array, but it seems to be using an internal version of the library where I get the error "java.lang.NoSuchMethodError: org.apache.commons.codec.binary.Base64.decodeBase64" and a similar one for encoding directly to string... Apr 23 15:47:03 And I don't know how to force the use of the most recent version that I am including as a jar Apr 23 15:47:30 Can you prompt android devices from a web to add-to-homescreen like on iOS? Apr 23 15:47:51 something like this: https://github.com/cubiq/add-to-homescreen Apr 23 15:48:03 heqs you will likely have to use jarjar to rename the package Apr 23 15:49:13 at least jarjar used to work, seems it uses asm now :| Apr 23 15:49:54 heqs: Why not using Android's own? Apr 23 15:50:02 The thing is that I managed to find a workaround for encoding to a base64 string using 'new String(Base64.encodeBase64((byte[]) value))' instead, but I don't understand how the android version doesn't have a decode method at all Apr 23 15:50:25 LaSombra, I'm writing java code to work on android and on desktop so I need to use something that's available on both Apr 23 15:50:35 Oh, ok Apr 23 15:52:28 android uses stlport becase it isnt GPL right? Apr 23 15:52:36 hi, so i created a client library from my backend api. i want to put it in the libs folder in my android project. do i put the entire zip folder in it? the unzipped folder? or the rc-sources.jar file only? Apr 23 15:53:22 j`ey, android doesn't use stl at all I don't think. you can choose between gnustl and stlport when building ndk apps Apr 23 15:53:30 im just unsure of what to put in the lib folder from the generated client library... Apr 23 15:57:33 lesleh: hm Apr 23 15:57:35 From the developer console, is there anyway to tell which version users are on? Apr 23 15:58:00 Which version of your app I mean... Apr 23 15:59:02 hey people, how does one catch the data of video being clicked by user in Android YouTube default app Apr 23 15:59:38 Looney: i'd be surprised if it's possible (in other words, I think it's impossible). There's no advantage to the google app advertising that to other tools. Apr 23 16:00:27 like some intent to play the video in some other player Apr 23 16:00:29 RetroDude: On the ->Statistics page, click the 'App Version' tab (it's towards the middle Apr 23 16:00:56 I am sure there must be some intent-filter or thereof that some YT video download app use Apr 23 16:01:35 Thanks bbdude Apr 23 16:01:39 Anyone know why createVideoThumbnail() is returning null on Android 4.1 and above? Apr 23 16:01:47 I am iterating through the supported picture sizes for the nexus 4 camera and the widths of the sizes are larger than the heights. Apr 23 16:01:50 How can this be? Apr 23 16:01:51 Looks like the statistics are 2 days out of date. Oh well Apr 23 16:03:03 https://gist.github.com/sorter/c2135d5c4d5e8fb09386 Apr 23 16:03:32 Oh they're flipped. Lul. Apr 23 16:04:03 Is it possible to keep a camera instance open and record several seperate videos without needing to close the preview? Apr 23 16:04:42 I have a horizontal linear layout with 4 buttons Apr 23 16:04:57 I want to swipe right or left and be able to select the buttons Apr 23 16:05:04 this is on glass Apr 23 16:05:17 how do I do this? Apr 23 16:05:18 hey dragorn , oreilly book of the day http://shop.oreilly.com/product/9781118608647.do?code=DEAL Apr 23 16:06:52 Hello Apr 23 16:06:57 I have an issue Apr 23 16:07:36 can someone look at this code? Apr 23 16:07:40 http://pastebin.com/CDXRBAKh Apr 23 16:07:58 g00s: yup :) Apr 23 16:08:14 the issue I'm having is that the full anchor string is returning stuff like g00s: I know a few of those guys, ordered it when it released a few weeks ago, sitting on the table now. It's relatively beginner-oriented, but most books are. It's solid for someone wanting to get into the security aspects Apr 23 16:18:19 trying to nest a fragment in a fragment, https://gist.github.com/anonymous/11221958, it loads the interface for playing_controls isnt being called. I’m I doing this right? Apr 23 16:18:57 Im using a slider drawer, so the main activity is loading the fragments. should the interface be in main activity? Apr 23 16:22:51 JakeWharton: good talk last night! Apr 23 16:24:49 anyone, im not really getting anywhere on google ... Apr 23 16:25:32 hi, so i created a client library from my backend api. i want to put it in the libs folder in my android project. do i put the entire zip folder in it? the unzipped folder? or the rc-sources.jar file only? Apr 23 16:25:36 jjnye: thanks! Apr 23 16:26:16 im using google app engine btw Apr 23 16:29:49 There should be an easier way to initialize an emulator to a foreign locale before starting it up. Does anyone know one? Apr 23 16:30:49 (a newly-made emulator) Apr 23 16:31:18 colintheshots: genymotion Apr 23 16:31:37 shmooz: Yeah, I’ve tried that before for something else. I’ll give it a try. Apr 23 16:34:43 hello Apr 23 16:35:40 I tried SharedPreferences sharedPrefs = PreferenceManager.getDefaultSharedPreferences(getActivity()); Apr 23 16:36:07 then using editor and .apply() to save it froze the gui for 1-2 sec Apr 23 16:36:33 replaced it with SharedPreferences sharedPrefs = getActivity().getSharedPreferences("pricebook",MODE_PRIVATE); Apr 23 16:36:40 and it is very fast no lag Apr 23 16:48:47 colintheshots: you can change the locale via adb once started Apr 23 16:49:37 JakeWharton: Where should I look for the adb command? Apr 23 16:50:01 http://stackoverflow.com/a/2418724/132047 Apr 23 16:50:04 JakeWharton: I think I found it. http://stackoverflow.com/questions/2417427/changing-the-android-emulator-locale-automatically Apr 23 16:50:30 JakeWharton: Thanks, Jake! Apr 23 16:54:30 JakeWharton: btw do you know if appcompat support will be in robolectric in not so distant future ? Apr 23 16:54:41 i have no idea Apr 23 16:54:55 ah Apr 23 16:54:57 no worries Apr 23 16:55:03 minSdkVersion="14" Apr 23 16:55:07 now I need to mock methods :) Apr 23 16:55:23 hmm Apr 23 16:55:27 will try tomorrow Apr 23 16:56:05 you mean put that in annotation of test class ? like how was it called again.. @Config ? Apr 23 17:05:22 Hey, I have a background service which is started by a click button, and i have added a preview for a camera in my activity, i want when clicked on the service to run, for the preview to then be displayed, i have played around and dont get if i put it in the oncreate, or into the service itself, could someone please offer me a hand/tip http://pastebin.com/DuBSjYYq Apr 23 17:07:33 no i mean don't support pre-ICS in your app Apr 23 17:08:38 JakeWharton: wish I could do that :( Apr 23 17:09:44 With GSON, how would I go about treating a field in a JsonResponse as a different type of Object depending on the request I made? Apr 23 17:10:42 Hmm is this what TypeTokens are for Apr 23 17:11:10 :P Okay nevermind think I know what to read up on now, just didn't know how to correctly google stuff Apr 23 17:19:05 HI guys.. I want to reference an android library project...The thing is that I want to store the library project in a subfolder of my main project(libs) and then reference it...I am using gradle Apr 23 17:19:42 Now, I am referencing the library project in the build.gradle file and it seems to build Apr 23 17:20:27 but The project does not seems to recognise references to the library Apr 23 17:21:13 Hey, I have a background service which is started by a click button, and i have added a preview for a camera in my activity, i want when clicked on the service to run, for the preview to then be displayed, i have played around and dont get if i put it in the oncreate, or into the service itself, could someone please offer me a hand/tip http://pastebin.com/DuBSjYYq Apr 23 17:21:31 When I go to properties->android->add library I dont find the library projects I copied to the libs folder Apr 23 17:21:57 so I am not sure how to reference the library project in my libs folder Apr 23 17:22:07 Any idea? Apr 23 17:24:35 Is there any way to get threads to name themselves automatically if they're coming directly out of my own .so? Apr 23 17:31:35 Hey, I have a background service which is started by a click button, and i have added a preview for a camera in my activity, i want when clicked on the service to run, for the preview to then be displayed, i have played around and dont get if i put it in the oncreate, or into the service itself, could someone please offer me a hand/tip http://pastebin.com/DuBSjYYq Apr 23 17:45:03 Hey, I have a background service which is started by a click button, and i have added a preview for a camera in my activity, i want when clicked on the service to run, for the preview to then be displayed, i have played around and dont get if i put it in the oncreate, or into the service itself, could someone please offer me a hand/tip http://pastebin.com/DuBSjYYq Apr 23 17:50:59 Actually... Apr 23 17:51:09 Does Google have anything like Microsoft's "symbol server"? Apr 23 17:51:29 So I can figure out what is happening with a crash deeper inside my app, inside a .so that isn't included in the NDK? Apr 23 17:53:40 hi Apr 23 17:53:46 why is "rest of the world" stroke through? Apr 23 17:53:47 https://www.dropbox.com/s/qa9mt1ujere6c0v/Screenshot%202014-04-23%2019.53.36.png Apr 23 17:53:54 [ google play developer console ] Apr 23 18:01:25 hi all - I'm trying to structure a new cross-platform game and was wondering what a good language would be that still allows access to phone hardware (namely the camera). I was hoping to use either c++ or java. Apr 23 18:03:09 new_dev: crossplatform? Apr 23 18:03:52 hoping to make something that will run with minimal re-working on both android and iOS Apr 23 18:04:18 well java won't run on IOS at all Apr 23 18:04:31 really go use Unity etc Apr 23 18:04:41 Or C++ + SDL2 Apr 23 18:05:37 okay - I'm familiar with the C++ + SDL workflow for desktop apps, but wasn't sure if SDL2 allowed for access to the camera Apr 23 18:08:51 new_dev: Im pretty sure SDL does not Apr 23 18:09:08 you will probably have to make a bridge or find a lib that bridges Java / NDK / C++ for you Apr 23 18:09:14 to access the camera Apr 23 18:09:16 Is there any option to disable Gradle import/transfer in Android Studio, other than temporarily disabling the Gradle plugin? Apr 23 18:09:22 It used to be possible in previous versions Apr 23 18:16:39 TheBunnyZOS, libgdx runs on iOS and its based on java :) Apr 23 18:17:20 how does it run? or is there a port? Apr 23 18:18:09 * TheBunnyZOS looks at source Apr 23 18:19:19 Mavrik: is it packing up a JVM? Apr 23 18:19:59 thread exiting with uncaught exception (group=0x41b998b0) Apr 23 18:20:30 TheBunnyZOS, IIRC they use RoboVM backend which compiles Java... gcj I think. Apr 23 18:21:43 http://www.robovm.org well thats cool Apr 23 18:21:47 new stuff to me Apr 23 18:21:55 * TheBunnyZOS really can't keep up anymore Apr 23 18:32:36 http://www.apportable.com/ # How the heck does this work? Apr 23 18:35:30 They have a objc run time for Android Apr 23 18:35:39 Moonlightning: Apr 23 18:35:50 * TheBunnyZOS cause I know people that work there Apr 23 18:35:56 Its not magic Apr 23 18:36:00 Of course not. Apr 23 18:36:19 Runtime + custom versions of cocoa etc. Apr 23 18:36:34 Works well good enough for many games etc Apr 23 18:36:39 But they don't install anything onto the device. Apr 23 18:36:58 why would they need to Apr 23 18:37:05 the app is self-contained Apr 23 18:38:12 So, what, they statically link all of Cocoa into the app? Apr 23 18:38:16 That sounds rather wasteful Apr 23 18:39:51 don'y make assumptions? Apr 23 18:39:57 you could ask them Apr 23 18:40:10 or even look at apps they have ported and see how big they are etc Apr 23 18:41:38 I don't see how an app could be self-contained unless it was linked statically? Apr 23 18:41:56 If you linked it dynamically to Cocoa, the Cocoa libraries would have to be available on the target device /some/how Apr 23 18:42:03 it's linked staticly and not all of cocoa Apr 23 18:43:36 Everything the app uses, anyway. Apr 23 18:43:52 "The answer is we try to keep builds close to the equivalent iOS size." Apr 23 18:43:57 anyhow Apr 23 18:44:15 so yes static linking plus other things and they try and keep the size down etc. Apr 23 18:44:34 Hmmmmm. Apr 23 18:48:24 threadid=1: thread exiting with uncaught exception (group=0x41b998b0) Apr 23 18:52:06 how do swipes on glass turn into tabs? Apr 23 18:52:15 is it not possible to window.print on mobile chrome? Apr 23 18:52:26 (via javascript) Apr 23 18:58:01 just a quick question, i need to get the onkeydown event from a editview on a soft keyboard is there a way to do it ? i just googled some hours :/ Apr 23 18:59:34 the problem is that i only get actions like the ACTION_DONE .. but what i need is the Backspace button Apr 23 19:00:04 check the keycode with the action Apr 23 19:01:08 do you mean with a edittext.setOnKeyListener ? Apr 23 19:02:07 what is the best way to handle a shared preference's type changing? Apr 23 19:02:26 i hate to just make a new one. but of course I get classcastexception issues for any users that are just upgrading Apr 23 19:03:02 Upgrade code in your Applications onCreate? Apr 23 19:04:21 SimonVT that sounds pretty good. im guessing I would just grab that preference, do the conversion, and re-store? Apr 23 19:04:46 Yep Apr 23 19:04:53 Dunno if you need to clear it first Apr 23 19:05:10 And save the versionCode for future use Apr 23 19:07:17 canvs2321 sadly the event is not thrown when i press a normal key (only with enter and so ) :/ Apr 23 19:14:12 onefox: what is the and so? everything but backspace"? Apr 23 19:25:32 Is there a way to detect which service provider any given android phone is using? Apr 23 19:26:20 Jonathan_Eyre: you might wanna take a look at http://stackoverflow.com/questions/14209430/trace-mobile-service-provider-name Apr 23 19:26:33 personally I've never done this, but the answer seems reasonable to me Apr 23 19:26:35 Alright. Apr 23 19:26:56 Hi Guys. I am trying to simulate a rope using AndEngine and Box2d using revolute joints. I see a gap between the rope links when a body is attached to it Apr 23 19:27:10 Does anyone know how to make a tutorial type-thing in Android? I tried using the ShowcaseView opensource library, but was having nothing but trouble getting it to work unfortunately Apr 23 19:27:59 canvs2321, i have a list of edittext field and if the focused field is empty and the user pushs the backspace again it should remove something from a array a text watcher only works if there is at least one char in the edittext :( Apr 23 19:28:17 Does anyone have experience sending an sms message from a server to a phone? I understand that you just need the service provider and the phone number, and email it to NUMBER@SERVICE_PROVIDER. Apr 23 19:28:45 I'm really not sre how to detect which service provider to send the message to, just based on the phone number... Apr 23 19:28:59 Jonathan_Eyre: So you're trying to get an SMS sent TO the phone with the app? Apr 23 19:30:36 onefox, do you display in someway that if they hit backspace on empty edittext it'll remove an item? Apr 23 19:30:56 Well, I was, but now I realize that I need to send it to whatever phone number that the user wants, which could be an iPhone for all I know. Apr 23 19:31:28 So I need to straight up send an sms to a phonenumber. Apr 23 19:31:49 I guess using an SMS gateway, which costs money per SMS? yikes. Apr 23 19:32:49 yeah, unfortunately your best bet will be something like the solutions presented here: Apr 23 19:32:50 http://stackoverflow.com/questions/4269/programmatic-sms Apr 23 19:33:06 they're a bit outdated, but i've used twilio before and it wasn't too bad Apr 23 19:40:20 Does anyone have any idea of how to implement a tutorial into your app? Apr 23 19:43:53 I'm looking for help with connecting my android application with a google app enging backend Apr 23 19:44:14 mantazer: search for Google Cloud Endpoints Apr 23 19:44:54 Napalm: I have it all set up. It's just that I'm unsure of one component: the Builder component on the client side Apr 23 19:45:13 Napalm: http://pastebin.com/ejnmmbqZ Apr 23 19:45:32 I wish to use Storage Access Framework (SAF) to load/save documents on remote network resources such as Google Drive. Do I need Permission.INTERNET for this? Apr 23 19:45:39 Napalm: that is how the docs say to connect to the backend api Apr 23 19:45:51 but im not sure what this Builder is Apr 23 19:45:57 it isnt importable Apr 23 19:46:19 Napalm: so im guessing it is part of the backend API? must it be implemented on the backend side? Apr 23 19:46:21 yes, its a jar that's built by the endpoints system Apr 23 19:46:27 ohhh Apr 23 19:46:28 you build the client library Apr 23 19:46:33 and add it to your android project Apr 23 19:46:37 right, I built the client library and added it Apr 23 19:46:39 mantazer: https://cloud.google.com/developers/articles/how-to-build-mobile-app-with-app-engine-backend-tutorial Apr 23 19:47:02 canvs2321 that is it what i want to have ^^ Apr 23 19:47:03 mantazer: https://cloud.google.com/developers/articles/how-to-build-mobile-app-with-app-engine-backend-tutorial#tcbc Apr 23 19:47:07 check that section Apr 23 19:47:09 hello Apr 23 19:47:31 I'm trying to build an app using additional libraries, notably SpongyCastle, but I'm not sure how I include that Apr 23 19:47:43 When you use Storage Access Framework (SAF) to access documents on Google Drive, do you need to set permission INTERNET or it works without it? Apr 23 19:47:54 do I need to put a Jar from SpongyCastle in libs or do I include its code anywhere else? Apr 23 19:47:59 GiGa: are you using ADT or android studio? Apr 23 19:48:23 Jetbrains IntelliJ Apr 23 19:48:56 put it in the libs folder, right click on it, click add to library, and that should update the build.gradle file Apr 23 19:49:10 and don't forget to import it in the java class you need it in Apr 23 19:49:41 what files to I put in libs tho? Apr 23 19:49:53 looking at the extracted zip for spongycastle there's loads of files Apr 23 19:49:53 onefox: what i'm asking is, does the user know, or see that if they hit backspace again it'll remove. Or can you just if edittext length = 0, make visible a X(remove) button Apr 23 19:51:54 Napalm: when i build the client library, there are two jar files. the snapshot jar and the snapshot-sources jar. which one do i use? Apr 23 19:52:35 mantazer: not the sources Apr 23 19:52:36 lol Apr 23 19:53:10 oh, well i guess there's my problem. ill try it the other way. what is the sources? Apr 23 19:53:47 mantazer: the sources, what else? Apr 23 19:54:04 canvas2321, ah okey that is one way but that the user have to toch on the screen again and dont can hold the backspace button.. Apr 23 19:55:34 mantazer: I take it I use the Jar in my case, not the source then? Apr 23 19:55:44 onefox: if they are just holding the backspace why not just remove it as soon as empty? Apr 23 19:57:20 onefox: or a hack is you can always keep a prefixed whitespace and on backspace if length = 1 then remove Apr 23 19:57:29 GiGa: i believe so Apr 23 19:57:56 oh right, weird Apr 23 19:57:58 but Ok Apr 23 19:58:01 thanks, I'll have a play Apr 23 19:58:50 Napalm: ok, so after building the client library and adding the correct jar file as the library, Builder is still an unresolved reference. Apr 23 20:00:11 mantazer: follow the tutorial Apr 23 20:00:20 look at the sources Apr 23 20:00:27 canvs2321, mmh the hack would be a workarownd i guess so i can use the textwatcher :) Apr 23 20:00:35 mantazer: your class names are probably wrong Apr 23 20:00:55 Napalm: k Apr 23 20:08:05 Can someone please give me some indication how i can make the camera preview display inside a started service? http://pastebin.com/RA3401LL Apr 23 20:34:25 My string has in it, so it becomes a hyperlink Apr 23 20:34:29 but when I click on it, nothing happen Apr 23 20:35:15 in WebView ? Apr 23 20:37:30 Can someone please give me some indication how i can make the camera preview display inside a started service? http://pastebin.com/RA3401LL Apr 23 20:37:58 shmooz, no. In a plain text label Apr 23 20:56:59 Anyone successfully uses VIM for development? Apr 23 20:57:41 speak to pfn Apr 23 20:57:50 not me Apr 23 20:58:02 I use Android Studio Apr 23 20:59:03 Yeah, I currently use IntelliJ, but I use VIM for everything else. Java is just not fun without an IDE. Successful here is 'And having fun doing so'. Apr 23 21:00:08 yeah, Java isn't fun without an IDE Apr 23 21:23:01 in regards to opengles on android, do you have to deal with extension loading? or no? Apr 23 21:24:02 don't believe so Apr 23 21:24:10 if they are supported they should be loaded Apr 23 21:27:55 hello Apr 23 21:28:24 I use eclipse ADT but on ie Nexus 7.2 myapp ico is smaller than others! Why? Apr 23 21:29:41 I create 512x512 72dpi ico Apr 23 21:30:49 size difference is about 5 % Apr 23 21:31:09 maybe even 10%. But the fact is that it is smaller Apr 23 21:31:13 is the triangular google nav icon publicly available anywhere? Apr 23 21:31:20 for use on the action bar Apr 23 21:32:39 the "up arrow" ? Apr 23 21:33:20 https://www.google.com/search?q=google+navigation+icon&es_sm=93&biw=1427&bih=1006&tbm=isch&imgil=KAu_fAs0yndXNM%253A%253Bhttps%253A%252F%252Fencrypted-tbn3.gstatic.com%252Fimages%253Fq%253Dtbn%253AANd9GcSdtjlrixOp0tVXMAoR-l18Y07JRqQPUl1AM8Gtd1Vxib-GFZNEUQ%253B130%253B139%253Bki4k5UtSZ9KbSM%253Bhttp%25253A%25252F%25252Felektroniksheep.com%25252F&source=iu&usg=__CXFbsegAndKsqCHmA9RxCFwO7HQ%3D&sa=X&ei=lTFYU7iiKaiR8AHiuIDICg&ved=0CDEQ9QEwAw#facrc=_&im Apr 23 21:33:20 gdii=_&imgrc=KAu_fAs0yndXNM%253A%3Bki4k5UtSZ9KbSM%3Bhttp%253A%252F%252Felektroniksheep.com%252Fimages%252Fandroid-apps-navigation-icon.jpg%3Bhttp%253A%252F%252Felektroniksheep.com%252F%3B130%3B139 Apr 23 21:33:21 using vim is easy Apr 23 21:33:24 just vim file Apr 23 21:33:26 and you're done Apr 23 21:33:32 oh jeez, google image links are ong Apr 23 21:34:18 bankai_au but yeah, the blue up arrow. i want to provide an action for navigation in my app, but it isn't in the icon packs, im sure since it isn't part of aosp Apr 23 21:34:46 I switched to using intellij because it was too much work to set up all the keystrokes and stuff in vim Apr 23 21:35:28 mattblang: http://android-ui-utils.googlecode.com/hg/asset-studio/dist/icons-actionbar.html#source.space.trim=1&source.space.pad=0&name=ic_action_example&theme=light&color=33b5e5%2C60 Apr 23 21:35:43 Hulo Apr 23 21:35:45 Hullo* Apr 23 21:35:48 pfn: you mean "vim file", and then "oh crap, what the heck do I do now?" Apr 23 21:36:03 How can I open a .doc file? Apr 23 21:36:04 JesusFreke: isn't that "human-driven RNG"? Apr 23 21:36:05 I dunno, I memorize or refer to apidocs as necessary Apr 23 21:36:05 In android? Apr 23 21:36:11 by using a .doc editor Apr 23 21:36:19 of which, there are many Apr 23 21:36:20 Moony22: you need an application that registers for such intent Apr 23 21:36:23 pfn: without using an external app Apr 23 21:36:27 Moony22, you don't Apr 23 21:36:34 What? Apr 23 21:36:40 Moony22: then you need to use a library that implements the .doc format Apr 23 21:41:54 why would you want to open a .doc without an external app... Apr 23 21:42:01 you want to parse it yourself? yuck Apr 23 21:59:31 bankai_au that tool freakin rocks Apr 23 21:59:38 i reckon Apr 23 22:14:54 https://gist.github.com/anonymous/39d85cd9cda55cdd12b7 Apr 23 22:15:26 NetworkOnMainThreadException Apr 23 22:18:26 any idea? Apr 23 22:19:54 maybe because driver is declared on main thread Apr 23 22:21:28 aww haven't heard anyone talking about NetworkOnMainThreadException in a while Apr 23 22:22:39 i will try to initializing it in the constructor with strickmode policy Apr 23 22:27:26 canvs2321: it works :) Apr 23 22:32:27 networkonmainthread... people figured that out since gingerbread already... Apr 23 22:32:46 :)) Apr 23 22:33:32 pfn the exception name isn't verbose enough Apr 23 22:34:03 should be YouIdiotWhyTheHellAreYouRunningLongTasksOnMainThreadQuestionMarkQuestionMarkQuestionMark Apr 23 23:02:34 Is it possible to save multiple videos without having to completely tear down the camera and mediarecorder objects each time? Apr 23 23:04:40 https://gist.github.com/llaskin/83bfcc6a03023c85295e can someone help me identify why rg and length are misaligned with the rest of the fields? Apr 23 23:15:38 Hey guys, this is probably a pretty simple question but is there any way to open up essentially a ListView when I click on a button? Apr 23 23:15:55 The best way would be to code another Activity, right? Apr 23 23:16:21 and have it start that activity? Is there any other way? Like a dialog with the view set to the listview, perhaps? Apr 23 23:17:31 yeah, you can create an AlertDialog set to a listview Apr 23 23:17:34 and you can use Fragments Apr 23 23:17:41 you should put the listview in the fragment Apr 23 23:17:43 then call the fragment Apr 23 23:17:52 or put the listview in the alertdialog and put the alertdialog in the fragment Apr 23 23:21:44 ok, but i should be looking into how to use fragments? cheers. Apr 23 23:21:48 fragmentactivity or just fragment? Apr 23 23:24:21 https://gist.github.com/llaskin/83bfcc6a03023c85295e can someone help me identify why rg and length are misaligned with the rest of the fields? Apr 23 23:25:18 -_- Apr 23 23:26:06 google io, what will the swag be Apr 23 23:26:27 i hope it's an android wear watch in a box that also contains $10,000 Apr 23 23:27:44 n5, n8, moto gear Apr 23 23:42:32 how much were the IO tickets? Apr 23 23:44:16 $300 for academics, $900 for everyone else, iirc Apr 23 23:44:59 ouch Apr 23 23:47:55 Does anyone know of a good way to start a Fragment on a button press? Apr 23 23:53:42 not going to i/o for the third year in a row now Apr 23 23:54:09 well i kinda went in 2012 Apr 23 23:54:48 i went to the sessions while using my ceo's badge while he went to the keynotes and got the swag Apr 23 23:58:43 so i'm having fun with the undocumented options of the emulator. -audio is extremely mysterious: what exactly are the choices? the help nor any googling seem not to say Apr 23 23:59:18 to the source-cave, batman! Apr 23 23:59:30 yep, looks like it. Apr 24 00:00:01 seems to be in aosp, so grep to the rescue Apr 24 00:02:02 Hmm Apr 24 00:02:18 I'm having trouble getting a fragment to open up when I hit a button Apr 24 00:02:39 Is a Fragment not an Activity? ie: can I not use StartActivity(i) on a Fragment? Apr 24 00:02:50 is there a way to save values in the strings.xml file permanently once the app starts? Apr 24 00:03:10 so even when i close the app and kill it, when i start it back up, it'll be back in the strings xml file Apr 24 00:03:35 mantazer: You might have to look into SharedPreferences for that Apr 24 00:03:56 RedDunce: ok, thats what im using now. just wondering if there were other alternatives. thanks anyways! Apr 24 00:04:25 Is there any functoinality you're unable to get from prefs that you were thinking you might get from strings.xml? Apr 24 00:15:44 has anyone ever received a bug report for their app from a Korean company called USYS? Apr 24 00:20:24 I got an email from this company, and it looks like they're hired out by Samsung to test apps in the app store and tell developers about any bugs Apr 24 00:20:50 it seems kind of dodgy, but they're not asking for any money, and the bug they told me about was legit Apr 24 00:20:54 kind of strange...but awesome Apr 24 00:21:46 weird, i've never heard of anything like that Apr 24 00:21:51 sounds pretty cool though lol Apr 24 00:22:11 yeah, I was wondering how common it was...my app's not hugely popular, maybe 10000 active downloads Apr 24 00:22:34 not bad dude! what's your app called? (that's a lot more than anything i've ever made :P) Apr 24 00:22:37 barbs: what kind of report did they give you ? Apr 24 00:22:51 sidenote: does anyone know how i can use my arrayadapterwrapper to return an 'empty' view given a certain id? i tried returning null, but it broke all sorts of stuff Apr 24 00:23:15 here's the email: http://www.scribd.com/doc/219960404/Gmail-Critical-Error-Report-Dungeon-Crawl-SS-ASCII?secret_password=1398831bn1afz95d593c Apr 24 00:23:31 like, in my getView of my wrapper, i want to check if ID = 1, and if it is, show an empty view, otherwise, do all the stuff where i fill in the edittexts etc Apr 24 00:23:57 wow that's weird. find /home/src/droid/development/tools/emulator -iname '*audio*' comes up with nothing Apr 24 00:24:14 as does an rgrep for audio. an rgrep for "backend" comes up with opengl stuff, no audio. Apr 24 00:24:55 RedDunce: maybe return a View with a width and height of 0? Apr 24 00:24:58 barbs: that's a very elaborate email, can you replicate? Apr 24 00:25:10 ah, i see it's in external/qemu Apr 24 00:25:22 bankai_au: yeah! Definitely a bug. fixed it last night and updated it on the play store Apr 24 00:25:40 barbs: I'll try that, good idea! Apr 24 00:25:53 barbs: HTC has a some errors associated with their phones that cause bugs in apps. its not too far fetched to speculate some guy at that company likes dungeon crawlers and downloaded the game and tested it for the hell of it since samsung is paying them to make sure there are not samsung-specific errors cropping up in apps Apr 24 00:27:07 possibly! Apr 24 00:27:22 if i worked at that company that's what i might end up doing from time to time ;p Apr 24 00:28:05 ahh just found a better solution: i just call v.setVisibility(View.GONE); if ID = 1 Apr 24 00:28:22 RedDunce: doh! I should've thought of that! nice work :) Apr 24 00:29:09 Oh wait, no, for some weird reason when it's in landscape orientation, it's still the same size as the rest of them Apr 24 00:29:13 so it makes that dialog look really ugly lol Apr 24 00:29:17 **listview Apr 24 00:29:23 lasserix: yeah I'd do that too :). though it's strange, cos I don't think it's all that popular in South Korea, it's got 631 active downloads there currently Apr 24 00:30:24 but when I use layoutparams(0,0), it works perfectly lol so fuck it i'ma do your way :D Apr 24 00:30:37 haha, cool :) Apr 24 00:34:03 can anyone help me define why the rg and length fields are misaligned with the rest of the screen? https://gist.github.com/llaskin/83bfcc6a03023c85295e Apr 24 00:35:38 waddayamean misaligned errant_rider ? Apr 24 00:35:55 and barbs and I blatantly lied, it worked the first time I tried, but ever since it's just been giving me empty space Apr 24 00:36:06 just like the setVisibility(GONE) :) Apr 24 00:36:08 **:( Apr 24 00:36:50 RedDunce: if you view it in preview(or when you run the app for me), it is misaligned by about 10dp to the left for those 2 fields(which are inside the same Apr 24 00:38:14 hmmmmmmm Apr 24 00:38:21 RedDunce: if you are using convertView you have to reset the layout params each time since Apr 24 00:38:31 honestly i fucking suck at getting stuff to look the way i like it Apr 24 00:38:33 assuming you are only having one type of cached view returned, the next time it'll leave it to be zero Apr 24 00:38:38 shit Apr 24 00:38:55 lasserix: so is there a way you'd recommend doing that? Apr 24 00:38:58 uhh Apr 24 00:39:07 my list of doctor's will always have a dummy doctor with ID 1 Apr 24 00:39:18 just because of the way the rest of the app is set up; it'd be a pain in the ass to entirely restructure it, i know it's shit design Apr 24 00:39:23 but this is the only place it's acting a fool Apr 24 00:39:38 rowView.setVisibility(View.Visible); <- always call. rowView.setVisibility(View.GONE); <-- if id = 1 Apr 24 00:39:51 in that order in getView Apr 24 00:40:03 wait so have all my getView logic first Apr 24 00:40:09 and then before returning v Apr 24 00:40:11 check if it's null Apr 24 00:40:13 ***id = 1 Apr 24 00:40:20 and if it is, set visibility to view gone? Apr 24 00:40:23 instead of the other way around? Apr 24 00:40:28 uhh Apr 24 00:40:34 hard to say exactly but if you' Apr 24 00:40:44 re setting the view to be gone there's no reason to set fields inside of it Apr 24 00:41:07 so at the top of getview first set it visible then check if its one and set it invisible else do normal stuff Apr 24 00:41:15 *err set gone Apr 24 00:41:18 that's what i figured; that's why i had the check at first and then doing all the stuff Apr 24 00:41:23 This is stupid. My project isn't opening in Eclipse today. Says I need 22.6.x SDK, I have 22.0.x, I checked the SDK manager and it says it is using 22.6.x Apr 24 00:41:28 but it appeared as an empty mofucker Apr 24 00:41:32 of the same size Apr 24 00:41:35 when i did that Apr 24 00:41:35 hmm Apr 24 00:41:43 so at the top of getview first set it visible Apr 24 00:41:58 always set it visible since the convert view could be returned multiple times for different ids Apr 24 00:42:12 *since the same convertview, that was previousily set to gone, can be returned for another id Apr 24 00:42:33 (assuming you only have one type of view type returned) Apr 24 00:42:40 and even if you dont Apr 24 00:43:06 Is there a way to change the SDK used in Eclipse? Apr 24 00:44:03 ah ok Apr 24 00:44:52 so something like: Apr 24 00:44:58 https://www.irccloud.com/pastebin/gZaIW8A0 Apr 24 00:45:11 Anthaas: don't use eclipse Apr 24 00:45:12 it sucks Apr 24 00:45:25 and in the else, do all the actual logic stuff? Apr 24 00:45:25 Never had an issue with it before... Apr 24 00:45:35 android studio is so much better Apr 24 00:45:49 I plan on getting to know AS, but currently do not have the time available to do so. Apr 24 00:45:49 yeah something like that, probably a more efficient way but it works Apr 24 00:45:50 never had an issue? wow ... someone take a screenshot, you'll never see this again! Apr 24 00:46:00 I am much more efficient with Eclipse (before this issue anyway haha) Apr 24 00:46:02 Anthaas: i mean…10 minutes and you should be comfortable Apr 24 00:46:14 I haven't. I don't mess around with it too much. Apr 24 00:46:25 awesome, i'll test and let you know lasserix Apr 24 00:46:26 errant_rider: Probably, I plan on using it for my next project over the summer. Apr 24 00:46:28 thanks for your help Apr 24 00:46:44 RedDunce essentially you are using multi view types, which is kind of what you do with adding section headers if you look up tutorials on that Apr 24 00:46:53 DAMMIT it doesn't work still Apr 24 00:47:19 what is i? Apr 24 00:47:51 normally you have a dataset associated with your adapter which you map to your adapter views by one of the arguements in getview Apr 24 00:47:56 maybe it's still screwing up because of my xml? although i don't have any heights or widths defined :/ Apr 24 00:48:05 i is getItem(position) Apr 24 00:48:05 Yeah, Eclipse is saying it is using 22.0.1.v2013...blah blah. and should be using 22.6.2 or above. I have the latest SDK installed, how do I change the SDK that Eclipse is using? Apr 24 00:48:07 aka a Doctor Apr 24 00:48:25 are you sure it is returning the correct item? Apr 24 00:48:56 ie is that if condition actually being correctly triggered? Apr 24 00:49:02 Oops, I mean ADT not SDK! Apr 24 00:50:29 RedDunce i gota run hopefully you can debug it with logcat or debugger but it should work as sdescribed above just make sure your conditions are panning out correctly Apr 24 00:51:00 So I installed windows 8.1 freshly on a new ssd. Previous install I was able to install the google driver for my n4 as Android Composite Adb device in MTP mode. This time it refuses to install, saying that no supported driver is found for my device. It works in ptp mode, but I want mtp mode. Koush's universal driver installs but won't list my device. Can anyone help? Apr 24 00:51:11 hello, how to change the background on the viewpageradaptor? Apr 24 00:51:25 thanks for all your help lasserix, very much appreciated man Apr 24 00:51:50 You dont change backgrounds of Adapters Apr 24 00:52:18 ?? Apr 24 00:52:31 You can change the background of the fragments displayed, maybe even possible to do the ViewPager, but the Adapter is a design pattern used to link Fragments to the ViewPager. Apr 24 00:52:47 ok, how to change the fragments' Apr 24 00:52:48 ? Apr 24 00:53:09 Create a layout for the fragments and change it like any other XML document? Set the layout on onCreateView(...)? Apr 24 00:53:42 i used the viewpageradapter... Apr 24 00:54:17 sorry Apr 24 00:54:19 http://viewpagerindicator.com/ Apr 24 00:54:50 I have seen that many people have changed the background. Apr 24 00:54:56 Errrm... Apr 24 00:55:18 Does anyone use that these days? Whats wrong with ViewPager and FragmentStatePagerAdapter? Apr 24 00:55:40 I guess it has the little bar thing haha Apr 24 00:55:47 Do you mean the colour of the line and things? Apr 24 00:55:56 All you need to do for that is modify the png that it uses. Apr 24 00:56:02 it doesn't use images Apr 24 00:56:10 clear, the colors Apr 24 00:56:12 Does it not? I've changed it before using pngs? Apr 24 00:56:21 JakeWharton :o Apr 24 00:56:35 It confused me that for a blue background there was a red dot on the end... Apr 24 00:56:46 I managed to change the colors of actionbarsherlock, but no viewpager... Apr 24 00:57:15 I see only black background and light blue lines Apr 24 00:58:03 Im certain it was the viewpagerindicator package that I used and modified anyway...? Apr 24 00:58:37 I think it's problems styles Apr 24 00:59:15 I will not declare where the style Apr 24 00:59:41 I have replaced all png files Apr 24 00:59:57 but I do not get positive effects Apr 24 01:01:00 if only I could change the black background, I would be happy Apr 24 01:02:00 VPI doesn't set backgrounds Apr 24 01:02:08 use android:background like normal Apr 24 01:03:00 Huh... Sorry Jake, must have been an imitation that I used once (through someone elses code...). There is one that uses .9.png images. Apr 24 01:03:59 Anyone know how to make my n4 work with google driver in mtp mode? :( Apr 24 01:07:33 http://pastebin.com/AR76wY9B Apr 24 01:07:38 the styles Apr 24 02:25:10 I have a question regarding proguard does it remove the unused methods and classes from library jars as well? Apr 24 02:37:25 MohitKanwal: from all jars it mangles, iirc Apr 24 02:48:15 Hi. I'm trying to send a List of objects from one activity to another using intents. I'm currently using bundles to do this. Bundles can send ArrayList of Parceables. So what I'm doing is casting the List to an ArrayList, and then passing it into the bundle as an ArrayList of Parceables. I am then receiving the bundle on the other end, but my app is crashing, and there is no output to logcat. Apr 24 02:48:35 Any help? Apr 24 02:49:44 what's the type of your list? Apr 24 02:50:39 instead of defining it as List define it as ArrayList Apr 24 02:50:56 I'm getting it as a response from Google App Engine Apr 24 02:51:08 So I can't define it Apr 24 02:51:15 how are you parsing the response? Apr 24 02:51:35 or did you use the generate backend thing Apr 24 02:52:05 try intent.putExtra("my list", new ArrayList(myList)); Apr 24 02:52:22 alex_PP: i tried exactly that ^ Apr 24 02:52:27 im getting a null pointer Apr 24 02:52:34 i just looked at stack trace Apr 24 02:52:44 can you pastebin the stacktrace? Apr 24 02:53:05 Throws:NullPointerException - if the specified collection is null Apr 24 02:53:35 sure one sec Apr 24 02:54:13 Is there a standard convention for IDs in XML? Apr 24 02:54:19 alex_PP: here ya go: http://pastebin.com/LgNeW9kv Apr 24 02:54:36 ok Apr 24 02:54:40 your list is null Apr 24 02:54:41 looks like NDK support in the new build-system is fairly limited... Apr 24 02:54:49 the one from app engine Apr 24 02:54:54 ahh, i see. thanks a lot! Apr 24 02:54:55 I tend to do "[page]_[function]_[widget]" for example "login_submit_button" or "registerdialog_cancel_custombutton" Apr 24 02:54:56 What this called in android http://p.lui.li/img-40424_help_j-r-med.png ? Apr 24 02:56:43 However it can lead to quite long ID names haha Apr 24 02:56:45 MalekAlrwily, http://www.androidviews.net/2012/11/showcase-view/ Apr 24 02:57:03 also, see this http://www.smashingmagazine.com/2014/04/22/rethinking-mobile-tutorials-which-patterns-really-work/ Apr 24 02:57:09 thank you Apr 24 02:57:53 Anthaas, i format my ids thing_name Apr 24 02:58:07 alex_PP: Could you give an example? Apr 24 02:58:08 view_submit ... loader_details Apr 24 02:58:15 Ahh. Apr 24 02:58:32 they don't need to be glovally unique, just in their own context so the activity name isn't really needed Apr 24 02:58:35 *globally Apr 24 02:58:44 Oh really? I never knew that! Apr 24 02:58:44 is it works on older SDKs? Apr 24 02:58:48 That makes it a lot easier then! Apr 24 02:59:17 I tend to add the widget type because it makes casting easier (without checking) Apr 24 02:59:28 MalekAlrwily, no idea never used it Apr 24 02:59:42 ok **** ENDING LOGGING AT Thu Apr 24 02:59:58 2014