**** BEGIN LOGGING AT Fri Mar 09 02:59:58 2012 Mar 09 03:00:47 pfn: same all around Mar 09 03:00:59 and then you play with -L, etc. Mar 09 03:01:01 to get it work Mar 09 03:01:01 ing Mar 09 03:01:22 i just noticed `collect2: ld returned 1 exit status` Mar 09 03:02:07 To Do Mapr is released. Check it out, search for "todomapr" in the Google Play store Mar 09 03:02:13 yay Mar 09 03:05:28 QubeZ: that looks kinda neat :) Mar 09 03:05:38 bankai_: thanks! Mar 09 03:05:49 Really free, no ads! Mar 09 03:07:16 looks neat... but one question, how do you get money out of it? Mar 09 03:07:40 QubeZ: ending names with r is cool again? Mar 09 03:07:57 We dont right now and not really concerned about that right now, just need to build a user base. Mar 09 03:08:06 rgravener: Well, only way I could register the name so :\ Mar 09 03:08:27 end names with ! Mar 09 03:08:42 its the reverse of beginnin w i :P Mar 09 03:08:51 lol Mar 09 03:08:51 DrPenguin: doesn't work for domains, iirc Mar 09 03:09:02 p_l: tfb Mar 09 03:09:47 or rather, hard to type Mar 09 03:09:56 tffb Mar 09 03:10:32 * p_l meanwhile doesn't have any startup ideas that are targeted at "normal users" Mar 09 03:10:59 How does the global context work when you have fragments involved? Or is there none? Mar 09 03:11:07 heh Mar 09 03:11:43 QubeZ: funded? Mar 09 03:11:49 or bootstrapped? Mar 09 03:12:39 bootstrapped, i formed an LLC with three members. I write the Android client, graphic designer does the website and designs the app UI in illustrator (mockups) and 3rd partner is writing the web service so we can share tasks using c2dm. Mar 09 03:13:01 that will be the premium service, we are actually modeling it really nicely.. should be out in a month. Beta testing right now. Mar 09 03:13:37 good :) Mar 09 03:13:48 already working on UI 2.0 and no one has downloaded this app besides my wife and sister so far lol Mar 09 03:14:09 nice transitions, just try to push our creativity. This version, the UI is just functional... nothing really pretty. Mar 09 03:18:30 royale1223, dunno about you, but ./configure --build=arm-linux-eabi works fine for me... Mar 09 03:19:56 hmm, that wasn't quite right Mar 09 03:21:05 JakeWharton, what doesn't work on 1.6 for abs? Mar 09 03:21:24 yo Mar 09 03:21:32 anyone here use Google Analytics? Mar 09 03:21:45 are they slowly taking away organic search terms? Mar 09 03:21:57 48% today :< Mar 09 03:25:28 outrage Mar 09 03:26:02 * pfn shrugs Mar 09 03:26:03 oh well Mar 09 03:28:33 http://notprovided.com/ Mar 09 03:28:42 "On October 18, 2011, Google announced they will no longer pass keyword query data through its referrer string for logged in users. This means that instead of showing organic keyword data in Google Analytics, visits from users logged into Google will show as “not provided.” At the time, Google said they expected this to effect less than 10% of all search queries." Mar 09 03:28:59 I didnt realize so many people had google+ accounts Mar 09 03:29:03 and used them! Mar 09 03:30:37 crazy ass google, whatever I still love them Mar 09 03:34:52 when I upload an apk does google execute it locally, just curious Mar 09 03:36:59 no, they don't Mar 09 03:41:28 er, they might Mar 09 03:41:30 Is there a reliable way I can share a variable across fragment instances? Mar 09 03:41:39 pfn: wasn't that part of the new gatekeeper? Mar 09 03:41:52 I don't think it actually runs the code Mar 09 03:41:55 vadi2: maybe some global cache Mar 09 03:41:57 it's just a heuristic scanner Mar 09 03:42:20 This needs to be an object Mar 09 03:43:06 there's lots of ways to share data Mar 09 03:43:55 Well, not data per se, but a live object Mar 09 03:44:04 live object, data, whatever Mar 09 03:44:08 java programming 101 Mar 09 03:44:09 what do you think an object is? Mar 09 03:44:19 Yes, and in the context of Android? Mar 09 03:46:00 vadi2: ... just make an object they can query for that data? Mar 09 03:46:06 java 101 again Mar 09 03:46:11 It can't query. Mar 09 03:46:16 This object is my vm. Mar 09 03:46:26 query = look up Mar 09 03:46:38 so of course it can "query" Mar 09 03:46:52 note to self = assume the other speaker on IRC is cargo-culting english, not speakign Mar 09 03:46:55 *speaking it Mar 09 03:47:03 p_l, probably Mar 09 03:47:05 You aren't really helping. Mar 09 03:47:16 vadi2, set a variable on your activity Mar 09 03:47:22 access the activity and variable from fragment Mar 09 03:47:24 easy peasy Mar 09 03:47:55 Aha, ok, clicks now. Mar 09 03:48:08 vadi2: sorry, got waay too fucked up thing coming up (sudden incursion of PHP after mysql incursion) in a project, got a little testy especially when someone who apparently should know better mistakes common english terms for something more profound Mar 09 03:50:02 * pfn plays a little sotis Mar 09 04:09:01 wow, eclipse is pretty good for writing poms Mar 09 04:14:43 alex_PP: poems? Mar 09 04:14:45 lol Mar 09 04:17:00 build files for maven Mar 09 04:17:10 sonets too Mar 09 04:42:00 hrm... Is there a way figure out if there is an available network connection? like if there is a wifi connection or a 3g or what have you? Mar 09 04:49:32 yes Mar 09 04:57:16 docgnome: check out http://developer.android.com/reference/android/net/ConnectivityManager.html Mar 09 05:06:16 bankai_: thanks Mar 09 05:42:02 how often is the dev console updated with stats about one's app? Mar 09 05:42:39 I think daily and it seems like at UTC Mar 09 05:42:49 k thanks Mar 09 05:59:27 hi Mar 09 05:59:44 when apps launch do they send an intent? Mar 09 05:59:51 that you could listen for Mar 09 06:04:42 JakeWharton wheres the download for teh support lib plugin? Mar 09 06:06:40 oh is it not needed o.O Mar 09 06:10:57 alternatively does anyone know how to catch an intent after a user unlocks the screen? Mar 09 06:24:13 tsukasa_, action_user_present Mar 09 06:28:41 canadiancow you just need the official google one Mar 09 06:28:59 canadiancow unless you want to use fragments with sherlockfragmentactivity Mar 09 06:29:09 no its included in the final release Mar 09 06:29:11 i had to remove it Mar 09 06:29:12 and add my own Mar 09 06:29:18 cause i need to extend MapActivity Mar 09 06:29:26 ahh Mar 09 06:29:28 nvm then Mar 09 06:29:29 :) Mar 09 06:29:43 anyone using preview4? Mar 09 06:29:50 "Can't write API cache file" when running lint Mar 09 06:33:23 shouldn't any shell command in /init.rc be executed? Mar 09 06:33:48 no need for /bin/ls or any other weirdness right Mar 09 06:35:46 any idea why the default proguard config has !code/simplification/arithmetic Mar 09 06:37:59 i'm trying to build someone else's app and it has a library that doesn't seem to want to build due to lack of a build.xml is there something I'm supposed to do to generate this? Mar 09 06:38:35 android update project -p path/to/library Mar 09 06:41:17 update lib-project Mar 09 06:41:18 not project Mar 09 06:44:09 ah ha Mar 09 06:45:06 my bad Mar 09 06:45:22 woot Mar 09 06:45:27 failed in a different way heh Mar 09 06:48:01 anyone know how to get IntelliJ to import stuff for you like eclipse can? Mar 09 06:51:11 I'm getting a lot of errors like this now http://paste.conkeror.org/?151 Mar 09 06:51:53 gaz`? ctrl+shift+o = optimize imports Mar 09 06:54:35 thx Mar 09 06:54:37 alt enter helps too Mar 09 06:55:10 indeed Mar 09 06:55:48 docgnome compile against 4.0+ Mar 09 06:57:38 erm... i got that via a git submodule init and update so i assume the version that got pulled in is what should be working Mar 09 07:01:54 I mean android Mar 09 07:01:56 4.0 Mar 09 07:07:52 oh Mar 09 07:08:01 hrm Mar 09 07:12:27 docgnome you building with ant I'm assuming Mar 09 07:12:57 in project.properties just make sure target=android-14 or higher Mar 09 07:13:26 and update your AndroidManifest.xml or higher Mar 09 07:17:35 t0mless: aye. Mar 09 07:19:17 goodnight kids Mar 09 07:19:39 morning ;] Mar 09 07:19:52 is it possible to observe preferences change? Mar 09 07:19:54 I'm having trouble inflating a fragment.. Mar 09 07:20:54 is there anything wrong with this? http://pastebin.com/seQ3SVqn Mar 09 07:24:17 oh, there is registerOnSharedPreferenceChangeListener method on preferences.. nevermind the last question ;] Mar 09 07:29:50 ahhh, got it nvm Mar 09 07:34:46 Hey lov what`s up man ? Mar 09 08:03:47 hi all Mar 09 08:05:51 I have to collect some data from a service and make them available to the Activity Mar 09 08:06:08 I am thinking in using a static singleton or an Application class Mar 09 08:06:11 what do you suggest ? Mar 09 08:12:47 aLeSD: http://developer.android.com/guide/topics/fundamentals/bound-services.html Mar 09 08:18:19 doc_savage, I explain better : I have my service that is collecting sensorEvents ... it sends them to the activity by mesaging them Mar 09 08:19:03 but if the activity id destroyed the service is collecting the sensorEvents and when the activity is creaqted again it needs all the old values Mar 09 08:19:30 SO I need a way to store something like 30 sec sensorEvents Mar 09 08:20:09 aLeSD: store them in the service, bind to it to retrieve them Mar 09 08:20:22 this is why I am thinking in an Application inheritance or in an static singleton Mar 09 08:20:48 storing in the service ok Mar 09 08:20:49 thanks Mar 09 08:21:22 doc_savage, do you think that send the activity the new event by Message is a good choice ?= Mar 09 08:22:14 it is, but since you'll be binding, you have the other option of registering a listener with the service, I have to go to work now, good luck :) Mar 09 08:22:38 that Bound Services article explains it all Mar 09 08:25:46 so, 0 experience in coding, what blog/forum is the best to start off on, besides the official dev site? Mar 09 08:27:54 CLEENEX: just work through the examples and google :) Mar 09 08:28:35 stackoverflow when you get stuck. But google is pretty much the same thing, as whatever throws you for a loop has an SO link in the top 10 google results. Mar 09 08:29:19 ok Mar 09 08:31:23 also, I'm wondering if this can be done, recognize specific words, letters, and numbers, then make a little list out of it Mar 09 08:31:29 by voice I mean Mar 09 08:33:59 for example, if I said "school, two to three". how hard is it to make it write that out automagically, instead of something like school "to to free", without any user input Mar 09 08:34:30 hi all. Mar 09 08:35:08 does anyone know nfc-sdk? Mar 09 08:36:00 cleenex, you're around 15 years from being able to do anything remotely like that without grabbing some massive library to do it for you. Mar 09 08:36:16 cool Mar 09 08:37:19 quite hard Mar 09 08:37:35 if I didn't want a massive library of words Mar 09 08:37:46 unless you license speech technology from someone else Mar 09 08:37:57 prepare to pay a lot of money Mar 09 08:37:58 if I wanted only for it to recognize numbers correctly Mar 09 08:38:16 swype owns pretty much the best now, they used to be nuance but swype bought them Mar 09 08:38:30 its what was originally dragon naturally speaking Mar 09 08:38:30 swype didn't buy nuance Mar 09 08:38:32 cause the numbers are all I care about Mar 09 08:38:39 nuance are a big ass company Mar 09 08:39:04 CLEENEX: probably not all that difficult conceptually, getting it working well would be the tricky part. Mar 09 08:39:05 OH right other way Mar 09 08:39:14 swype was bought BY nuance Mar 09 08:39:16 lol Mar 09 08:39:27 http://www.forbes.com/sites/ericsavitz/2011/10/07/nuance-buys-swype-for-102-5-million-in-cash/ Mar 09 08:39:57 nuance do a lot of that Mar 09 08:40:06 ok Mar 09 08:40:11 I just need to know it can be done Mar 09 08:40:22 of course it can :) Mar 09 08:40:30 lots of people do it Mar 09 08:40:38 yup press the mic on your keyboard Mar 09 08:40:45 google dictation is very close Mar 09 08:40:49 most of the time Mar 09 08:40:56 that's the thing Mar 09 08:41:02 I can't have most of the time. Mar 09 08:41:08 for free text it kinda sucks but you only want numbers it should be pretty easy Mar 09 08:41:24 i've got a very specific dictionary of words letters and numbers that I need to be reflected in 100% accuracy Mar 09 08:41:56 you can't have 100% accuracy, because everyone's speech is slightly different Mar 09 08:42:33 I was hoping it would be possible to have the phone sort through the possibilities on it's own :/ Mar 09 08:42:34 Do you ever talk to AVR systems, CLEENEX? They suck. They suck because it's a hard problem, and even when you're only expecting one of two outputs, it's still a hard problem. Mar 09 08:42:48 CLEENEX: yeah, you can do that Mar 09 08:42:59 selecting your match from a list of possible matches is how it works Mar 09 08:43:07 no, I have zero experience in coding Mar 09 08:43:25 I'm talking about even talking to the things people have already coded. Mar 09 08:43:36 oh, no Mar 09 08:43:42 CLEENEX: pm if you're looking for a coder, then :) Mar 09 08:43:50 I have a friend who just passed away Mar 09 08:43:53 he was blind Mar 09 08:43:55 You've never called the airport to see if your flight would be on time? Mar 09 08:44:01 IVR* systems Mar 09 08:44:11 Arg, sorry. Mar 09 08:44:14 actually they're pretty good nowadays Mar 09 08:44:35 Debatable. Mar 09 08:44:36 we get 90%+ recognition rates Mar 09 08:44:42 yeah, the robots on the phones do a really good job Mar 09 08:44:44 which is pretty damn solid Mar 09 08:45:19 90% sucks. A person with that recognition rate would be unemployable. Mar 09 08:45:34 right Mar 09 08:45:45 but a person can't handle thousands of simultaneous calls Mar 09 08:45:48 and costs 10x as much Mar 09 08:46:09 and a person can't be trusted to keep credit card data secure over the phone, etc etc Mar 09 08:46:35 phone is not encrypted to begin with, to worsen it Mar 09 08:46:43 not really a concern Mar 09 08:46:55 I answer "human" to every prompt until I'm connected to a human, thus killing the cost savings. I can't be bothered with a retarded program that can't tell yes from no. Mar 09 08:47:05 the outliers tend to be people with really strong accents, drunks, or idiots anyway :) so 90% is very good Mar 09 08:47:33 when I am speaking to a computer I usually try to talk like a robot Mar 09 08:47:38 you have to speak its language Mar 09 08:47:44 haha Mar 09 08:47:46 freecandy: sorry you've had a bad experience, I think you should refresh your views though. Our systems wouldn't have any problem diffirentiating between yes and no Mar 09 08:48:28 and that goes for most systems nowadays.. Mar 09 08:48:56 Head-to-head tests against a human or GTFO. Mar 09 08:49:14 I've never had to rely on speech recognition over the phone, it's always been "press 1 to blabla" Mar 09 08:49:39 I wouldn't speak to it even if I had to tho :P Mar 09 08:49:41 speech recognition works fine when the domain of possible words is small Mar 09 08:50:03 relatively small Mar 09 08:50:13 I can't even get through systems that need just 'yes', 'no', and 0-9. Mar 09 08:50:32 i have been testing a system with upwards of 2k possibilities and it works excellently Mar 09 08:50:39 Let alone the ones that want me to speak my surname. Mar 09 08:50:39 nice Mar 09 08:50:49 and will hopefully be releasing it soon Mar 09 08:51:02 how will it be released, is it BaaS? Mar 09 08:51:06 happy to put my money where my mouth is on this one Mar 09 08:51:27 oh yeah Mar 09 08:51:32 not sure yet readme, that's out of my hands - i just make write the thing Mar 09 08:51:42 making the phone read a list outloud shouldn't be too hard right Mar 09 08:51:56 no, it will be simple with tts Mar 09 08:52:03 ^ Mar 09 08:52:08 just checking Mar 09 08:52:12 it just takes a second to request to google Mar 09 08:52:12 thanks Mar 09 08:52:17 cleenex, really write the hello world program before scouting out your goals. Mar 09 08:52:26 I did the hello world Mar 09 08:52:28 :p Mar 09 08:52:31 I don't know where to go after that Mar 09 08:52:33 :) Mar 09 08:52:38 once I made a mad lib with tts and stt Mar 09 08:52:47 i think i need to make it again Mar 09 08:52:47 brb Mar 09 08:53:12 Go to the one with the dots when you press on the screen. Mar 09 08:53:18 HelloCircle Mar 09 08:53:45 hello circle? Mar 09 08:54:01 i'll take a look Mar 09 08:54:02 thanks Mar 09 08:54:35 http://lmgtfy.com/?q=hellocircle+android&l=1 Mar 09 08:57:09 yeeaaaa this kellbot website with hellocircle seems to not work Mar 09 08:57:47 and it seems to be the only blog with it Mar 09 08:57:53 or am i googling wrong Mar 09 08:58:18 That's awesome. You want to be a developer and your first bug report is "seems to not work." Mar 09 08:58:28 at least there's a pastebin for it. Mar 09 08:58:51 no offense but if you really have zero programming exp it would be best to start with some basic stuff before diving into a complex framework Mar 09 08:59:12 do you know the basics of java? Mar 09 08:59:21 nope Mar 09 08:59:34 try this Mar 09 08:59:36 http://www.apress.com/9781430231561 Mar 09 08:59:46 I've not read it, but it seems up your alley and I like the publisher. Mar 09 09:00:11 excellent Mar 09 09:05:46 man i don't understand why it's impossible to call pm disable from an app Mar 09 09:14:20 is it possible to reference fonts in assets/ via the xml? Mar 09 09:14:40 Hi all..is it possible to get the current homescreen using java code?..thanks Mar 09 09:26:05 ok, it seems we can not reference the ttf in assets from xml styles.. Mar 09 09:26:35 is it possible to then at least e.g. subclass from TextView and have the xml layout phase know about the subclass? Mar 09 09:28:38 When working with AlarmManager.. How can I tell, in the receiver, that the app is in front and running? Cuz I'd like to tell the app to perform certain actions Mar 09 09:29:49 hi Mar 09 09:30:02 what do you guys think about this: http://in.reuters.com/article/2012/03/08/google-idINDEE8270I320120308 Mar 09 09:31:05 XeruX: Couldn't you send a message to the receiver that your app is currently visible? Or am I missing something vital here? Mar 09 09:31:26 XeruX: Is it a BroadcastReceiver? Mar 09 09:31:32 drlaban: yes Mar 09 09:32:07 drlaban: I'm executing an alarm in a given time in the future. If the app is not in front, the receiver does start the correct activity, but if it's running, nothing happens Mar 09 09:32:12 I can post the receiver, if you like Mar 09 09:32:13 paste* even Mar 09 09:33:07 toxicFork: "don't be evil" is dying. Somebody will carve out a niche against the evildoers. Whether its success will rival that of Linux (on either side) is yet to be determined. Mar 09 09:33:45 drlaban: http://pastebin.com/iBwtG0BS Mar 09 09:33:53 Xerux: Hmm, I haven't been in the same situation, but perhaps sending a message from the receiver to the called Activity and see if you can catch that message, would work. Mar 09 09:34:17 hi guys Mar 09 09:34:22 what font type do you use? Mar 09 09:34:23 "being evil" is not a well-defined concept Mar 09 09:34:27 pre-ICS? Mar 09 09:34:33 different things are considered "evil" to different groups of people Mar 09 09:34:50 MDijkstra, don't you own a blog Mar 09 09:34:56 ? Mar 09 09:35:03 why would I, I have #android-dev! Mar 09 09:35:23 mmmm Mar 09 09:35:26 and freecandy lets me write on his sometimes Mar 09 09:35:27 what font do you use? Mar 09 09:35:32 pre-ICS? Mar 09 09:35:32 comic sans Mar 09 09:35:37 awts Mar 09 09:35:45 are you serious? Mar 09 09:35:52 no, not really Mar 09 09:35:58 okay.. Mar 09 09:36:06 Right, but when group A defines evil as anything detrimental to group A, group A's motto of "don't be evil" translates to pure selfishness. Mar 09 09:36:28 freecandy, MDijkstra, are you arguing about good vs evil? Mar 09 09:36:48 I'm not arguing about anything :) Mar 09 09:36:50 chups: no, we're discussing Caratheodory's Theorem. Mar 09 09:37:12 googling* Mar 09 09:37:18 freecandy i'd rather have google as "neutral don't be evil" than "good don't be evil" (trying to prevent evil / enforcing crap like what's in the article) Mar 09 09:37:23 XeruX: Do you want the alarm to go off even if the Activity is visible/in front? Or do you want stuff to happen depending on if the Activity is in front or not? Mar 09 09:37:49 freecandy: the thing is, google isn't a singular entity, it's a large group of people. there of course is company policy, but I dunno if that makes google as a whole evil Mar 09 09:38:03 Can you elaborate on the difference, Fork? Mar 09 09:38:25 but meh Mar 09 09:38:41 Policy this far-reaching is either vetted by the C-suite or the C-suite sucks. Mar 09 09:40:27 freecandy , "only use google checkout because other sites could be abused and customers harmed" vs "if someone tries to do harm we'll punish them". but that's assuming the reason of enforcement is "preventing abuse", it could very well be for profit reasons... which is even worse, in my opinion Mar 09 09:44:12 I like how the android emulator causes a kernel panic on osx Mar 09 09:44:26 ... the fuck? Mar 09 09:44:31 YOU ARE NOT BUILDING FOR APPLE? PANIC TIEM Mar 09 09:44:35 lol Mar 09 09:44:36 Oh, didn't even think of that. But really, that's entirely bogus. That's like Wal-Mart saying that street vendors could rip you off, so you're only allowed to shop there when really, most non-Wal-Mart shops are not street vendors and have to treat you nicely so you recommend them to your friends. If they're really using your argument, they're full of shit. Mar 09 09:44:43 im only using osx because of the magic track pad and the gestures Mar 09 09:44:48 otherwise id still be on windows Mar 09 09:45:22 it must be a conspiracy, apple doesnt want me to use the android emulator Mar 09 09:46:13 walmart is ebul already anyway freecandy :D Mar 09 09:46:26 i'm thinking, if they could do what you said, they would Mar 09 09:50:03 after i release the camera in onPause, i get a new one with Camera.open() in onResume. But i get an error that i can't use the camera anymore since it has been released. Mar 09 10:07:23 drlaban: yes, the alarm should appear even if the app is running Mar 09 10:10:45 but if the app is already in front, the intent is not handled? :s Mar 09 10:11:57 make the app launch itself :O Mar 09 10:12:01 inb4 stack overflow Mar 09 10:16:46 hi guys. Is there a simple library that allows me to post an async http request? Mar 09 10:20:13 XeruX: Is this something you're trying to achieve: http://stackoverflow.com/questions/7142007/how-to-communicate-from-broadcastreceiver-to-activity-after-instantiating-repeat Mar 09 10:20:16 What is the difference for an Activity if i press the Back button or the Home button? Mar 09 10:20:45 inb4 toxicFork takes the credit for inb4 SO. ;p Mar 09 10:22:33 :( drlaban :( Mar 09 10:22:41 drlaban: Not exactly Mar 09 10:23:00 Hi everybody: does anyone knows how to check if speech recognition is available on a phone for API 5 and above? Mar 09 10:23:47 kevwilde: when you press back it is finished/destroyed, when you press home it is paused.. varies a bit depending on launch mode http://developer.android.com/guide/topics/fundamentals/tasks-and-back-stack.html Mar 09 10:24:14 balls! Mar 09 10:24:26 my cable isp doesn't like kellbot. but my dsl does Mar 09 10:24:33 I need a certain activity to be started (called 'Tickets'), but I have to display it via my Tabs-activity (becuase starting the Tickets activity right away will make the app not display the tabs I've got at the bottom of the screen). So, I want to tell Tabs to display the Tickets-activity from my onReceive method, but if the app runs, nothing happens. It works if it's not running, cuz then the intent is processed by the activity I wan Mar 09 10:25:03 armax00, the example code on d.a.com has it Mar 09 10:25:06 appel1: hi, thank you. my camera works fine when i use the back button and come back again to the activity. When i use the home button and come back, i get a "method called after release()" exception :/ Mar 09 10:26:02 kevwilde: sounds like you're reusing the same camera instance? Mar 09 10:26:06 alex_PP: it works for api 8 Mar 09 10:26:32 appel1: can i paste you my source? Mar 09 10:26:38 alex_PP: sorry Mar 09 10:26:58 I actually considerd the wrong token to be wrong Mar 09 10:27:02 apology Mar 09 10:27:13 kevwilde: sorry, can't help you right now, was just leaving my office Mar 09 10:27:36 ok, thanks for the help nonetheless :) Mar 09 10:28:20 armax00, voice search wont install in less than 8 Mar 09 10:28:23 i want to build an application thats able to take notes and images, how would i best do to have images and editable text beside? Mar 09 10:29:37 alex_PP: really? I am compiling for 7 and it seems to be available.. Mar 09 10:30:18 XeruX: Sorry, I can't assist you any more atm. Too bad, it was a pretty interesting problem. Mar 09 10:31:26 alex_PP: (and if I am right checking on the website they talk about Andoird 2.1 wich is API Level 7) Mar 09 10:31:43 market says 2.2 Mar 09 10:32:24 i just use 10, works on almost all devices i see these days Mar 09 10:32:28 also, there is nothing stopping you just copying the string from RecognizerIntent.ACTION_RECOGNIZE_SPEECH Mar 09 10:33:27 images inside EditText? how can i best do this? Mar 09 10:33:41 don't. :P Mar 09 10:34:01 separate them Mar 09 10:34:51 yes, you are right Mar 09 10:35:30 but i want to be able to have multiple images Mar 09 10:38:50 what's the suggested way to get std::wcslen support in the latest NDK toolchain? Mar 09 10:39:18 wchar? :( Mar 09 10:39:46 joelmob sure, but not inside edittexts, it just doesn't make sense to have something "non-text" in edittext Mar 09 10:41:19 toxicFork, was that a reply to my question? Mar 09 10:42:24 TobiasFar was just commenting on wchars being annoying, not really a reply Mar 09 10:42:27 more like a spinoff Mar 09 10:42:32 ah..k Mar 09 10:42:46 hi Mar 09 10:42:48 hey does anyone have any experience using the pinnedheaderlistview in the contacts app? Mar 09 10:42:57 how should this be written when I'm in a sub-class: TextView tvIndex = (TextView) findViewById(R.id.index) ? Mar 09 10:43:27 like that Mar 09 10:43:39 with a ; Mar 09 10:55:45 another? does android provide a native crpyto/TLS API? which is available via NDK? Mar 09 10:56:38 no Mar 09 11:03:52 i have 11 mb free storage on the emulator and trying to install a 2.5mb app and it refuses -.- Mar 09 11:08:24 hi all Mar 09 11:08:28 i have a question:) Mar 09 11:08:38 PLEASE NEVER SAY YOU HAVE A QUESTION, JUST ASK IT Mar 09 11:08:55 i mean, hi Mar 09 11:15:06 hey, say i have a database but i don't want wrap it in content provider. can i still use content resolver for notification? Mar 09 11:17:56 hey, how can i tile a background, and add another image on top of it? Mar 09 11:18:08 my fucking tablet still hasn't arrived Mar 09 11:18:10 fucking hell Mar 09 11:18:13 i have a gradient png and a transparent image i want on top of it... Mar 09 11:19:01 the gradient gets tiled via an XML file that loads it as a Mar 09 11:19:05 What'd you order, storkme ? Mar 09 11:19:13 a tablet Mar 09 11:19:14 duh Mar 09 11:19:16 but when i add another it throws an error Mar 09 11:19:30 >an error Mar 09 11:19:31 which Mar 09 11:19:32 i have a Asus Transformer Prime with dead pixels, great '-_- Mar 09 11:19:41 transformer prime SimonVT Mar 09 11:19:51 Ah Mar 09 11:19:52 pain in the ass to get inthe uk :/ Mar 09 11:20:02 hehe Mar 09 11:20:33 i have a EEE transformer and i have light leaks all around the edge Mar 09 11:20:36 in eclipse, that annoying exclamation mark in the line numbers... Mar 09 11:20:59 Hi all! I followed the following tutorial: http://android-er.blogspot.com/2012/01/listfragment.html Mar 09 11:21:21 I want a tablet as well ;| But kinda waiting for the TF700 Mar 09 11:21:29 but Im getting an error when starting it... "com.example.ListFragment cannot be cast to android.app.Fragment Mar 09 11:21:44 Ive been tearing my hair out for hours :( Mar 09 11:21:46 you need to do Fragment.instantiate Mar 09 11:21:55 for it to return a Fragment instance Mar 09 11:21:57 Untouchab1e: Are you using the support library? Mar 09 11:22:04 toxicFork, http://pastebin.com/gT7L6cyY Mar 09 11:22:05 SimonVT: aye Mar 09 11:22:11 giving me plenty of headaches Mar 09 11:22:23 Untouchab1e: Well, then your listfragment is a android.support.v4.app.Fragment not android.app.Fragment Mar 09 11:22:31 Use the right methods Mar 09 11:22:32 SimonVT: aah Mar 09 11:22:59 iSeeDeadPixels : i herd you liked dead pixels so i http://i.imgur.com/zkrH8.png Mar 09 11:23:00 SimonVT: I think I am though? Mar 09 11:23:02 updated.. http://pastebin.com/eN3DtYMJ Mar 09 11:23:05 Fragment myFrag = Fragment.instantiate(context, ListFragment.class.getName()); Mar 09 11:23:06 not sure why its trying to cast to android.app.Fragment Mar 09 11:23:13 Ive imported android.support.v4.app.Fragment Mar 09 11:23:21 SimonVT: the tf700 is the prime with the bigger display? Mar 09 11:23:21 Well, where is it trying to cast to a Fragment? Mar 09 11:23:33 storkme: Yeah, except I think they named it infinity or some shit Mar 09 11:23:37 I cant think of where that Might be Mar 09 11:23:48 makes sense Mar 09 11:23:51 CallumTaylor: OR, Fragment myFrag = new ListFragment(); Mar 09 11:23:54 asus marketing strategies Mar 09 11:24:02 or that Mar 09 11:24:03 Untouchab1e: Check your stacktrace, it should say Mar 09 11:24:23 so yeah, this is giving me headaches, how do i actually put the gradient repeat image and the leaf in the background? Mar 09 11:24:24 http://pastebin.com/eN3DtYMJ Mar 09 11:24:29 SimonVT: my boss played with one at MWC, he said it felt a bit sluggish. I'm a bit concerned that a tegra3 might not be enough for such an outrageously large display Mar 09 11:24:29 ugh im getting error: Error: String types not allowed (at 'ropePosition' with value 'top| Mar 09 11:24:29 bottom'). Mar 09 11:24:34 but my custom ATTR is a enum... Mar 09 11:24:34 Caused by android.view.InflateException: Binary XML file line #9: error inflating class fragment Mar 09 11:24:54 Untouchab1e: Okay, are you using FragmentActivity? Mar 09 11:25:04 Tried using both FragmentActivity and just Fragment Mar 09 11:25:17 the tutorial is using Fragment though Mar 09 11:25:36 the main activity using that layout needs to me FragmentActivity Mar 09 11:25:47 then the sub fragments extend ListFragment/Fragment Mar 09 11:26:10 storkme: Meh, hopefully they fix that Mar 09 11:26:38 storkme: I just want a fast tablet with a good screen ;O Mar 09 11:26:58 any idea why eclipse is being a dick and thinks these are strings Mar 09 11:26:59 Mar 09 11:26:59 Mar 09 11:26:59 Mar 09 11:26:59 Mar 09 11:27:00 Mar 09 11:27:01 Mar 09 11:27:03 Mar 09 11:27:06 Mar 09 11:27:06 pastebin... Mar 09 11:27:16 CallumTaylor: hmm, I have three classes.. the Main activity (just a shell activity I suppose) that extends Activity, then I have a listFragment class that extends ListFragment, and a detailsFragment class that extends Fragment Mar 09 11:27:17 im lazy Mar 09 11:27:27 You're going to get kicked eventually if you keep doing that Mar 09 11:27:35 change the one that extends activity to FragmentActivity Mar 09 11:27:42 Untouchab1e: If you're using the support library, you need to use FragmentActivity Mar 09 11:27:45 I want to have this layout... http://www.dumpyourphoto.com/photo/view/101325/ILk7JEo, i currently have this: https://fbcdn-sphotos-a.akamaihd.net/hphotos-ak-ash4/417620_337387792964544_100000799797651_866952_745621657_n.jpg Mar 09 11:27:56 SimonVT: ah ok Mar 09 11:28:07 I guess I can try to not use the support library as the app is tablet-only Mar 09 11:28:11 http://pastebin.com/4RtsTspk Mar 09 11:28:24 SimonVT: but can I still use ListFragment, or must I use something else there too? Mar 09 11:28:45 You can still use listfragment, as long as it's the one from the support library Mar 09 11:30:25 hackkitten, you alive? :) Mar 09 11:30:48 CallumTaylor: Does it need the format=""? Mar 09 11:31:13 i guess enums are seen as strings, how does gravity work in the standard android framework for stuff like layout_gravity Mar 09 11:31:26 does it just use a straight int or an enum, thats what;s confuzzling me Mar 09 11:31:55 SimonVT: thanks mate, Ive just gone back to not using the support library, and now I get a different error. Still "Error inflating class fragment" but not its caused by: "Content has view with id attribute android.R.id.list that is not a ListView class Mar 09 11:32:07 Im not sure which content its referring to though Mar 09 11:32:07 ill have to take a look at the android source codes Mar 09 11:32:16 an asynctask can live longer than the applictioncontext? Mar 09 11:32:30 Untouchab1e: It's referring to your layout Mar 09 11:33:09 Untouchab1e, which tutorial are you using? Mar 09 11:33:28 iSeeDeadPixels: http://android-er.blogspot.com/2012/01/listfragment.html Mar 09 11:34:00 Untouchab1e, try this. http://mobile.tutsplus.com/tutorials/android/android-sdk_fragments/ Mar 09 11:34:18 good ol' opensource Mar 09 11:34:23 can see exactly how google does it Mar 09 11:34:36 iSeeDeadPixels: nice, Ill look into it Mar 09 11:34:39 < flag> what the fuck Mar 09 11:34:39 thank you Mar 09 11:34:44 np Mar 09 11:34:59 SimonVT, do you know the answer to my problem? :3 Mar 09 11:35:14 I want to have this layout... http://www.dumpyourphoto.com/photo/view/101325/ILk7JEo, i currently have this: https://fbcdn-sphotos-a.akamaihd.net/hphotos-ak-ash4/417620_337387792964544_100000799797651_866952_745621657_n.jpg this widdle problem, i'm hating it xD Mar 09 11:35:22 i just want that damn leaf there xD Mar 09 11:37:39 So, put it there Mar 09 11:37:51 i don't know how, it error'd Mar 09 11:38:02 http://pastebin.com/eN3DtYMJ Mar 09 11:39:05 tag requires a 'drawable' attribute or child tag defining a drawable Mar 09 11:39:19 You should probably put an android:drawable there then Mar 09 11:39:55 but it works when i just put one bitmap tag there. Mar 09 11:40:34 Well, there should probably be some kind of tag around those two bitmaps Mar 09 11:41:10 do you know any other solutions on how to put two images in teh background? Mar 09 11:41:20 any idea what could cause a "Camera server died!" "ICamera died" "Error 100" ? Mar 09 11:41:29 use framelayout Mar 09 11:41:40 Maybe a layerlist Mar 09 11:42:01 framelayout? Mar 09 11:42:16 yeah then you just make 2 imageviews and they go ontop of eachother Mar 09 11:42:17 so, instead of a linearlayout with a nested relativelayout? Mar 09 11:42:19 why i am here? Mar 09 11:42:22 as a matter of fact im doing that at the moment Mar 09 11:42:37 A layer list is probably more efficient Mar 09 11:42:38 CallumTaylor, the background is a tiled image... Mar 09 11:42:43 ah Mar 09 11:42:53 probablly use a layer list then like what SimonVT has suggested Mar 09 11:44:02 SimonVT, will that work with the tiled background image? Mar 09 11:44:41 Sure, it takes any drawable Mar 09 11:44:45 Just make your drawable tiled Mar 09 11:44:58 okay... Mar 09 11:45:00 :) Mar 09 11:45:23 hmm ive somehow got a view without a addView() method, whats up with that Mar 09 11:45:48 does it extend View? Mar 09 11:45:56 or ViewGroup Mar 09 11:46:00 Only ViewGroups have addView Mar 09 11:46:52 oh Mar 09 11:47:18 so how do i add a button to a view Mar 09 11:47:26 it has to be a viewgroup Mar 09 11:47:28 You don't, you add it to a viewgroup Mar 09 11:47:33 like a LinearLayout or RelativeLayout etc Mar 09 11:47:38 right Mar 09 11:47:41 cheers Mar 09 11:47:43 :) Mar 09 11:47:43 np Mar 09 11:48:52 hmmdamn itd an AdapterView Mar 09 11:48:54 so it crashes Mar 09 11:49:02 just trying to add a button to a row in my list Mar 09 11:49:34 Those are backed by an adapter Mar 09 11:49:57 So I have a question before I proceed to make a potentially horrible mistake Mar 09 11:50:31 currently, I just a have simple app, with three menu options, country list, continent list, and ocean list Mar 09 11:50:44 SimonVT what do you mean backed by an adapter? Mar 09 11:50:54 Its views are supplied by an adapter Mar 09 11:51:01 Hence, Adapter .. View Mar 09 11:51:16 right, so is it possible to add a button to one? Mar 09 11:51:27 Return the button in your adapters getView Mar 09 11:51:32 the lists are compromised of a nice array adapter that serves the custom listviews Mar 09 11:51:42 however, I would like to put them into a multi-pane layout Mar 09 11:51:44 with fragments and such Mar 09 11:51:55 but it seems like a terrible amount of work to get it done? Mar 09 11:52:44 im returning View v right now, which has textfields etc on it form xml, so i was thinking i add the button then return that, but it wont let me add to the View Mar 09 11:53:10 gaz`: Add the button to v before you return it Mar 09 11:53:12 SimonVT, the leaf image stretches :/ Mar 09 11:53:21 hmm ok Mar 09 11:54:00 Untouchab1e: That's the point of fragments. They can be used in single-pane layouts, multi-pane layouts, whatever you want Mar 09 11:54:12 hi there Mar 09 11:54:17 SimonVT: I know, and I know that its what I would want Mar 09 11:54:22 to have them in a multi-pane layout Mar 09 11:54:45 nvm, works Mar 09 11:54:47 I'm experiencing a weird issue Mar 09 11:55:41 I'm trying to reproduce audio capture in real time Mar 09 11:55:51 now one last issue, SimonVT, how do i center the hinttext in a editbox? Mar 09 11:56:01 or better, all the text? Mar 09 11:56:02 it works fine for the inbuilt mic Mar 09 11:56:15 iSeeDeadPixels: android:gravity Mar 09 11:56:33 although I have an external mic connected to the 3.5mm jack Mar 09 11:56:56 SimonVT, that works for the text in the editbox? :) Mar 09 11:57:04 how can I hack it to reproduce audio from the external mic instead of inbuilt mic? Mar 09 11:57:16 SimonVT: but if I get this correctly.. If I have a listActivity and a regular activity, where picking an item in a listActivity brings me to the other activity... if I want to use fragments, I would need a ListFragment and a Fragment class as well? Mar 09 11:57:32 Untouchab1e: Put your lists in listfragments Mar 09 11:57:35 judging from tutorials, it seems that the ListFragment and my ListActivity would be doing the same thing? Mar 09 11:57:44 Then add them to the layout of your activity Mar 09 11:57:58 but will the listfragments replace the listactivities? Mar 09 11:58:28 They contain the same functionality, just in a fragment Mar 09 11:58:48 right, but they coexist or would I be replacing the listactivities? Mar 09 11:59:31 If your lists are in fragments, you wouldn't use listactivity, no Mar 09 11:59:42 ah ok, gotcha Mar 09 11:59:50 I was just reading through this tutorial: http://mobile.tutsplus.com/tutorials/android/android-sdk_fragments/ Mar 09 11:59:57 and it seems they use both :S Mar 09 12:00:28 Hopefully not Mar 09 12:02:39 my ipod touch thats like 3 years old loads my game in 1/3 the time of my galaxy nexus Mar 09 12:03:17 hell Mar 09 12:03:51 it's in unity, so it's not like it's me doing some sloppy port Mar 09 12:03:57 SimonVT, thank you for this: https://fbcdn-sphotos-a.akamaihd.net/hphotos-ak-snc7/418447_337406489629341_100000799797651_867082_517793158_n.jpg :D Mar 09 12:04:07 :) Mar 09 12:04:58 Hey everyone, can anyone help me setting up the emulator? Mar 09 12:05:02 the android emulator* Mar 09 12:05:03 it's nice, isn't it? :P Mar 09 12:05:14 CurrentlyCurrent, use your phone / tablet LOL Mar 09 12:05:20 jesus Mar 09 12:05:35 iSeeDeadPixels: I have no phone / tablet to test right now... Mar 09 12:05:36 CurrentlyCurrent: I'll help if I can, but second that a physical device is much nicer when available Mar 09 12:05:51 CurrentlyCurrent, it's easy, just add one Mar 09 12:05:52 :P Mar 09 12:05:58 AVD Manager Mar 09 12:06:06 barometz: I want to config it to a tablet on portrair mode, no idea how to Mar 09 12:06:12 portrait Mar 09 12:06:17 http://developer.android.com/guide/developing/devices/managing-avds.html Mar 09 12:06:34 CurrentlyCurrent: just set the resolution to a portrait orientation in the desired size Mar 09 12:06:58 There's no "switch orientation" button or anything, you can just swap the numbers Mar 09 12:07:01 there's a button for it. Mar 09 12:07:10 Uh, yeah there's a switch orientation button Mar 09 12:07:11 .. there is? Balls. Mar 09 12:07:18 ctrl+f12 Mar 09 12:07:23 Been a while since I had to *create* one of these Mar 09 12:07:25 Or ctrl+f11 Mar 09 12:07:27 http://stackoverflow.com/questions/1991318/how-to-change-emulator-screen-orientation Mar 09 12:07:32 * barometz shuts up for the day Mar 09 12:07:36 lol. Mar 09 12:07:55 ah, manuals. Powerful things. Mar 09 12:07:59 SimonVT, how do i create another 'screen' in android? add a new activity? Mar 09 12:08:18 sure Mar 09 12:13:47 SimonVT, do you have any resources on creating a custom theme with only the background defined? Mar 09 12:14:35 i want to inherit Theme.Light.NoTitleBar Mar 09 12:14:40 Anyone tips on why "Camera server died" happens? Mar 09 12:14:44 and change the default background Mar 09 12:15:52 Ah, there we go... Mar 09 12:15:56 woopsie lol Mar 09 12:17:58 this is very very weird, ivemade a button in the xml and it works when i do findViewById() but if I move it one "down" in the gui, then when i do findViewByID() its giving me a class cast exception, it seems to htink its a TextView Mar 09 12:18:01 Hey, I'm having trouble setting up the Android-SDK with Netbeans. The project compiles fine, but I can't find the app in the AVD Mar 09 12:18:36 I need to schedule some notifications far in the future. Can I trust AlarmManager to do that for me? I mean... will it trigger notifications even if application is not running in the background? Mar 09 12:18:36 gaz`, cast it Mar 09 12:18:53 im casting it to a button Mar 09 12:19:16 and getting a classcastexception Mar 09 12:19:18 very odd Mar 09 12:20:08 gaz`: build clean Mar 09 12:20:28 if i have a textview with a transparent background, but i have a listview under it, how do i get the transparent textview to not show the listview texts and have its background the same color/drawable as the holo background? Mar 09 12:20:41 anyone knows how to simultaneous record and playback audio from an external mic? Mar 09 12:21:42 aha yes readme! Mar 09 12:22:09 i dont think mics can playback audio Mar 09 12:22:21 por-beast: try DJTachyon, he knows his audio shit Mar 09 12:22:47 thx Mar 09 12:34:49 can anyone tell me if filterEquals Mar 09 12:34:51 http://developer.android.com/reference/android/content/Intent.html#filterEquals(android.content.Intent) Mar 09 12:35:12 if I put call putExtra on such intent Mar 09 12:35:21 does that "Extra" is considered as Data ? Mar 09 12:35:35 and if I have two intents with same action/category, but different Extra parameter, those would be different intents? Mar 09 12:35:42 "This does not compare any extra data included in the intents." Mar 09 12:35:49 ^^^ Mar 09 12:35:53 extra data, right Mar 09 12:36:33 though in putExtra javadoc it writes Add extended data to the intent. Mar 09 12:36:40 so, my question then Mar 09 12:36:49 how can I make these two intents different? Mar 09 12:36:51 Hey, I'm having trouble setting up the Android-SDK with Netbeans. The project compiles fine, but I can't find the app in the AVD. Mar 09 12:37:02 Any idea why that is and how to fix it? Mar 09 12:37:03 I send multiple intents into same broadcast receiver on different times. Mar 09 12:37:18 zhulikas: don't rely on filterEquals to check Mar 09 12:37:25 every intent can be identified by id (which is taken from my object) Mar 09 12:37:32 Change action, data, type, class, or categories Mar 09 12:37:33 zhulikas: or don't rely only on filterEquals Mar 09 12:37:39 I don't. But AlarmManager.cancel relies :) Mar 09 12:37:52 yeah, then what SimonVT said Mar 09 12:38:07 well, action is the same, as in same broadcast receiver... Mar 09 12:38:14 what is intent data? Mar 09 12:38:21 setData Mar 09 12:38:42 yeah... but does that have some sort of default data which needs to be in place? Mar 09 12:38:51 I mean when I create an intent and specify only action Mar 09 12:39:04 Dunno, try it Mar 09 12:39:09 or can I simply override whatever it is there with setData("my shit") and it will work Mar 09 12:39:20 if i specify multiple layouts in xml, but i also want, say, a click handler on a button present in all layouts Mar 09 12:39:31 hmm Mar 09 12:39:33 do i have to define the android:onClick for the same button in each layout? Mar 09 12:39:45 I could create multiple categories Mar 09 12:40:01 like category_{id} Mar 09 12:40:16 hopefully that doesn't spam any internal system Mar 09 12:41:16 ok. Time to check what's a default Data Mar 09 12:41:38 that's probably the most reasonable thing to change Mar 09 12:43:07 hehe, it's null Mar 09 13:10:39 i hate fragments. Mar 09 13:10:51 ² Mar 09 13:10:55 http://pastebin.com/LAB7JW8Q Mar 09 13:11:00 but once it works, it good Mar 09 13:11:23 don't give too much info there ... Mar 09 13:11:47 that's all i get when i try to start the activity with the fragments in it Mar 09 13:11:58 give the xml Mar 09 13:12:10 whats in your oncreate of the fragment ? Mar 09 13:14:36 http://pastebin.com/JAzkb1tE just a contentview Mar 09 13:15:22 thats not an answer to one of my two questions ^^ Mar 09 13:16:27 shroomyreader, this'll do. http://pastebin.com/uGDQJr3z Mar 09 13:16:53 and.. http://pastebin.com/ZZMt8Aun Mar 09 13:17:46 is it frowned upon to have fixed tabs and scrollable tabs in the same layout? Mar 09 13:17:59 fixed tabs in top, and scrollable below Mar 09 13:19:12 mmh the xml looks fine Mar 09 13:19:31 what did you name it ? Mar 09 13:19:34 fraglist ? Mar 09 13:20:05 i named the xml style fraglist, yes Mar 09 13:20:09 for the left fragment Mar 09 13:20:54 shroomyreader, http://pastebin.com/0K00RJe9 fraglist.xml Mar 09 13:21:13 looks all good:s Mar 09 13:21:17 clean your project ? Mar 09 13:21:22 or close your ide and start up again Mar 09 13:21:37 My eclipse sometimes is difficult and it fixes it Mar 09 13:24:52 Is there a way to flick through different images, each time I click a button without having to create a new Activity for each one? Mar 09 13:30:19 barq: of course Mar 09 13:30:32 readme: How? Mar 09 13:30:45 you might want to look at ImageView and Gallery Mar 09 13:30:55 I think there is probably an sdk sample that does this as well, if you take a look Mar 09 13:33:28 shroomyreader, cleaned it and fixed the properties.. Mar 09 13:33:31 if you're thinking of stuff like the widgets on HC and above, those are just regular views that you can use with an adapter. Mar 09 13:33:43 (though you need to be using HC or above, or compat libs) Mar 09 13:34:36 hi all, i am trying to get .apk file using command line, i correctly build the project using ant, but i didn't get the .apk file ne my bin folder Mar 09 13:34:54 subh: then you didn't successfully build it... Mar 09 13:35:00 :> Mar 09 13:35:08 subh: did you run "ant release"? Are you using the NDK or something? Mar 09 13:35:15 i got build successful Mar 09 13:35:17 did the ant script actually give an error? Mar 09 13:35:24 08:35:12 < lov> subh: did you run "ant release"? Mar 09 13:35:29 shroomyreader, http://pastebin.com/D4y87j9g Mar 09 13:35:38 or even "ant debut" Mar 09 13:35:41 if you just run "ant" nothing will happen. Mar 09 13:35:54 is that the problem? Mar 09 13:35:56 or "ant compile" or whatever the target is that just does the dx part Mar 09 13:36:07 i really really hate android's fragments atm :/ Mar 09 13:36:16 iSeeDeadPixels: the perils of Fragmentation!!! Mar 09 13:36:21 they're definitely tough to use Mar 09 13:36:41 buuuut you end up with a lot of flexibility in being able to reuse compnents and have different types of layouts Mar 09 13:36:46 lov, when i use the graphical editor on my XML i get this: http://pastebin.com/uGDQJr3z Mar 09 13:36:47 Is there any data available on the demand for various kinds of apps? Like number of searches for a term, or something? Like google keyword tool has? Mar 09 13:36:48 http://pastebin.com/5ZrZDT8m this i got Mar 09 13:37:21 Really, I'm interested in any valuable data.. so if it's apropos, I'd love to know about it anyway. Mar 09 13:37:33 subh: so no. Mar 09 13:37:36 lov, http://pastebin.com/ZZMt8Aun the XML Mar 09 13:37:37 you did not run "ant release" or "ant debug" Mar 09 13:37:40 subh: You just ran "ant" Mar 09 13:37:44 subh: HERP DERP Mar 09 13:37:49 subh: maybe you should read the output???????????????????????\ Mar 09 13:37:57 so do i need to run and release Mar 09 13:37:57 hah Mar 09 13:38:09 >_< Mar 09 13:38:12 try it and see dude. Mar 09 13:38:19 just start smashing the keyboard with your face Mar 09 13:38:21 see what happens Mar 09 13:38:32 maybe you'll accidently hit perl -pie and make a webserver Mar 09 13:38:32 lov, and when i start the activity, http://pastebin.com/KDd96Y6X Mar 09 13:38:44 if i run ant debug then what will happen Mar 09 13:38:59 hey subh Mar 09 13:39:01 go to that pastebin Mar 09 13:39:05 and look at where it says "debug" Mar 09 13:39:07 and then read what's on the right Mar 09 13:39:11 let me know when you're done Mar 09 13:39:15 and if you still have the same question Mar 09 13:39:34 ok :) Mar 09 13:39:34 hth :> Mar 09 13:39:36 got it Mar 09 13:39:42 also, read http://developer.android.com/guide/developing/building/building-cmdline.html Mar 09 13:39:52 possibly a few times... Mar 09 13:40:00 subh: I'm actually glaring at you. Mar 09 13:40:03 * lov glares at subh Mar 09 13:40:21 instead of asking the channel "HELP HOW DO I COMPUTER" you could take 2 minutes and read the docs and all of your questions will be answered Mar 09 13:40:27 you will be happy, I will be happy, we will all be happy Mar 09 13:40:36 I will dance, nay, frolick Mar 09 13:40:40 ok :) Mar 09 13:40:50 glad we had this chat. Mar 09 13:40:54 * iSeeDeadPixels derps Mar 09 13:41:06 me too :) Mar 09 13:41:08 iSeeDeadPixels: I'm probably the wrong person to ask, sorry Mar 09 13:41:19 *dances with lov* Mar 09 13:42:04 hmm. Mar 09 13:42:04 iSeeDeadPixels: on line 7 of the XML file you're inflating, are you referencing a View that is not part of the SDK? Mar 09 13:42:13 gdammit, classnotfound exception... Mar 09 13:42:17 iSeeDeadPixels: Does that xml layout only live in like /res/layout-large or something? Mar 09 13:42:26 it's totally possible that the resources system just doesn't know where to look Mar 09 13:42:37 try sticking it in /res/layout Mar 09 13:43:58 * SimonVT guesses it has to do with extending Activity and trying to inflate a fragment on <3.0 Mar 09 13:44:34 oh huh Mar 09 13:44:46 yeah, if you're using fragments and you want to support < 3.0, you need to use the compatability apis Mar 09 13:44:52 and use those fragment classes Mar 09 13:45:01 http://pastebin.com/bhiMKqWs Mar 09 13:45:31 "Unable to instantiate fragment nl.deadpixel.MainListFragment: make sure class name exists, is public, and has an empty constructor that is public" Mar 09 13:45:35 logcat spits nothing :/ Mar 09 13:45:35 are all of these things true? Mar 09 13:45:40 yah Mar 09 13:45:43 does nl.deadpixel.MainListFragment exist? Mar 09 13:45:45 is it public? Mar 09 13:45:49 iSeeDeadPixels: have you checked out all the things... yeah Mar 09 13:45:50 Does it have an empty constructor that is public? Mar 09 13:45:56 hmph! Mar 09 13:45:59 clean and rebuild. Mar 09 13:46:04 http://pastebin.com/HJmTrVV1 Mar 09 13:46:10 check that you don't have resource errors that would prevent compilation Mar 09 13:46:18 ... Mar 09 13:46:20 ............. Mar 09 13:46:21 NOPE Mar 09 13:46:23 iSeeDeadPixels: wrong package! Mar 09 13:46:29 package nl.deadpixel.leafster; Mar 09 13:46:32 MainListFragment extends Activity Mar 09 13:46:32 08:46:33 < lov> package nl.deadpixel.leafster; Mar 09 13:46:35 08:46:36 < lov> 08:46:33 < lov> package nl.deadpixel.leafster; Mar 09 13:46:45 "Unable to instantiate fragment nl.deadpixel.MainListFragment Mar 09 13:46:50 ty :) Mar 09 13:47:12 also, constructor. Mar 09 13:47:30 also, extends activity. Mar 09 13:47:40 (hint: do fragments extend activity?) Mar 09 13:48:37 idk, the tutorial said so. Mar 09 13:48:48 should i let them extend Fragment then? Mar 09 13:49:25 http://developer.android.com/reference/android/app/Fragment.html Mar 09 13:49:51 also, http://developer.android.com/guide/topics/fundamentals/fragments.html Mar 09 13:49:56 You should probably read up on the difference between activities and fragments Mar 09 13:50:14 please take tutorials that exist outside of d.android.com as questionable at best, and potentally outright wrong. Mar 09 13:50:18 That is, if you don't know the answer to that question Mar 09 13:50:55 hey there! Mar 09 13:52:58 readme: Do you know what the name of the sample is? Mar 09 13:53:02 join #svn Mar 09 13:53:04 argh Mar 09 13:55:13 /msg #svn argh Mar 09 13:55:24 :< Mar 09 13:55:40 svn = "argh" ... yep! Mar 09 13:55:58 pain and frustration Mar 09 13:56:36 a Fragment is more closely related to a View than an Activity Mar 09 13:57:47 Fragment does not replace an Activity, they are contained within Activities, and belong to the view hierarchy. But unlike Views they participate more fully in the activity lifecycle Mar 09 13:59:22 JakeWharton, congratz on getting 4.0 out the door! Mar 09 13:59:51 im trying to record audio with MediaPlayer API can i somehow see if a file actually was recorded? Mar 09 14:00:12 probably. Mar 09 14:00:19 4.0 :o Mar 09 14:00:21 * Jug6ernaut pudates Mar 09 14:00:26 updates Mar 09 14:00:28 LS Mar 09 14:00:33 :S Mar 09 14:02:00 off to the slopes Mar 09 14:04:47 i suppose the android emulator cant emulate a microphone Mar 09 14:06:37 can one have different layers on top of each other in a layout? Mar 09 14:07:24 yes Mar 09 14:07:39 ok, i just totally lost track of how to use fragments >< Mar 09 14:07:40 what is the tag that tells a layer to be on top of another? Mar 09 14:07:51 so i need to use an activity AND a fragment class? Mar 09 14:08:45 iSeeDeadPixels, yes. consider fragment to be a reusable chunk of UI, a grouping of Views in a layout with control logic, etc Mar 09 14:08:59 huah what? O..O Mar 09 14:09:24 i just want a list on the left and a self-built content window on the right :C Mar 09 14:09:43 right. Mar 09 14:09:48 so you'll have the fragment that contains the list on the left Mar 09 14:09:50 DammitJim, I'm not aware of a tag, such as zorder, but layers are drawn bottom up, which is first to last in the XML. Two methods I know of for positioning views atop eachother are FrameLayout and RelativeLayout Mar 09 14:09:54 and the fragment that contains the content window on the right. Mar 09 14:10:09 the fragments themselves will handle setting up views, etc. Mar 09 14:10:18 i made those in my XML, and according to the 'droid article, there's LOTS of code :C Mar 09 14:10:33 just to show two empty views ._. Mar 09 14:10:42 mrenouf, oh, kinda how you can see in google maps where the buttons can "float" on the map? Mar 09 14:10:47 is it that hard to type ANdroid? sheesh :-/ Mar 09 14:11:01 * mrenouf dislikes the "droid" moniker Mar 09 14:11:33 'droid' is a verizon marketing term. please use 'android'. Mar 09 14:11:36 mrenouf, is it that hard to use a readable nickname? ;) Mar 09 14:11:58 DammitJim, yes, exactly. While that's actually an ActionBar you can make the same effect. Mar 09 14:12:05 anyways, i'm used to 'droid cuz i like the way it phonetically sounds lol Mar 09 14:12:09 i'm dutch btw. Mar 09 14:12:27 Use RelativeLayout. Set your main view (first) to be align parent top/bottom/right/left Mar 09 14:13:03 thanks for reminding me. So, in that case, i need to basically use a RelativeLayout in my case Mar 09 14:13:17 then set the "above" layer second, to be align parent top/left/right and have a height of whatever, and (optional) opacity (via android:background) to something non-opaque Mar 09 14:13:29 yep Mar 09 14:14:10 but I only need the layer above layer piece on the 1/3 bottom section of the screen... I can still do that with a relativeLayout inside a relativelayout, righ? Mar 09 14:14:14 right* Mar 09 14:14:27 mrenouf, thanks for the help, I think I just need to go out there and do it now... I'll be back if I have any questions Mar 09 14:15:06 I find the ADT layout editor is a big help, it will accurately preview the layout for you Mar 09 14:21:22 any1 else think the "play store" is a horrible name Mar 09 14:24:36 Jug6ernaut, I do think it's odd, but heck... names don't mean anything until they actually take a true meaning... so, we'll see. I mean, what the heck did Google mean to any of us before they came along? Mar 09 14:25:07 I know it meant nothing to me because I had never seen an e after an l after a g after an o after an o after a G Mar 09 14:25:13 true, but google to 99.99% of ppl was a white sheet of paper, could mean anything "play" already has meaning Mar 09 14:26:10 Hey, anyone can give me a suggestion on what book i should buy or any give me any reference about how to build my own interface components or how to do heavy customization on the default UI components ? Mar 09 14:27:05 good point, Jug6ernaut ... we'll see. I honestly don't like the name because a play store sounds more like a place where you play, but in this store, you can't play... you have to buy LOL Mar 09 14:27:10 Jug6ernaut: yes, I also think that the naming is silly Mar 09 14:27:36 Birk_: http://developer.android.com/guide/topics/ui/themes.html Mar 09 14:27:54 also, http://developer.android.com/guide/topics/ui/custom-components.html Mar 09 14:29:11 lov: Thanks, I'll take a look ! Mar 09 14:36:09 ok, just once more, how do i add a list thingy on the left and the content on the right, without too much hassle? Mar 09 14:36:15 Fragments are annoying. Mar 09 14:37:32 DialogFragment? Mar 09 14:40:59 iSeeDeadPixels: create a layout with two fragments. The fragment on the left is your whatever, the fragment on your right is your whatever. Mar 09 14:41:14 those fragments will each implement the view stuff that is appropriate Mar 09 14:43:31 lov, You must specifiy a valid layout reference. The layout ID @layout/fraglist is not valid. Mar 09 14:43:37 eclipse tell me that Mar 09 14:47:15 Do I need to use a RelativeLayout as the main container if I want to be able to have a layer on top of another layer? Mar 09 14:48:01 ....... Mar 09 14:48:08 ok, I don't know what "fraglist" is Mar 09 14:48:13 I don't know where you're getting this error Mar 09 14:48:18 here is what you do Mar 09 14:48:19 LAYOUT A Mar 09 14:48:24 contains two fragment references Mar 09 14:48:34 YOUR ACTIVITY Mar 09 14:48:37 references layout A Mar 09 14:48:43 YOUR FRAGMENTS Mar 09 14:48:47 .... do fragmenty things idk Mar 09 14:48:58 por-beast: whats up? Mar 09 14:49:20 hi Mar 09 14:49:28 generally your fragments will INFLATE layouts themselves Mar 09 14:49:45 the layout for the fragment should ONLY BE for the fragment Mar 09 14:49:52 you should not have your fragment inflate layout A Mar 09 14:50:05 unless your fragment is a fragment that contains the two subfragments in A or something on purpose idk Mar 09 14:50:31 http://developer.android.com/resources/samples/ApiDemos/src/com/example/android/apis/app/index.html#Fragment Mar 09 14:50:35 just go there and look at the api demos Mar 09 14:51:16 hi DJTachyon can you give me some help on how to simultaneous record and playback audio from an external mic? Mar 09 14:51:44 por-beast: probably .. Mar 09 14:51:49 por-beast: are you working in the ndk? Mar 09 14:52:26 I'm passing 2 arguments to a class. One is ImageView and the other is Bitmap. When i want to use their properties like v.getWidth() I get the wrong value, while b.getWidth() works fine. Mar 09 14:53:28 am i doing something wrong? Mar 09 14:54:05 DJTachyon: no Mar 09 14:54:13 android sdk only Mar 09 14:55:12 my actual code ignores the external mic Mar 09 14:55:30 I have simultaneous audio capture and playback Mar 09 14:55:36 but from the inbuilt mic Mar 09 14:56:30 wait what do you mean by external mic Mar 09 14:57:07 connected to 3.5mm jack Mar 09 14:58:24 por-beast: well first, you would need an adapter, you realize that right? Mar 09 14:59:20 por-beast: http://www.amazon.com/Headset-Buddy-Smartphone-Computer-Blackberry/dp/B002SK66OY/ Mar 09 14:59:21 when i have a 'values' folder and a 'values-v14' folder in res, which folder does v15 use? Mar 09 14:59:37 -v14 Mar 09 14:59:47 hmm Mar 09 15:00:12 yes Mar 09 15:00:18 my home screen widget seems to have larger margins than it should in my ICS tablet Mar 09 15:00:23 let me tell you one more thing DJTachyon Mar 09 15:00:47 even though i have the margin set to 0dp in -v14 Mar 09 15:00:55 DJTachyon: I'm able to record from that device, store the file and then play it back Mar 09 15:01:00 okay Mar 09 15:01:01 it works perfectly Mar 09 15:01:05 but not in real time? Mar 09 15:01:20 not in real time though :\ Mar 09 15:01:36 por-beast: you need a threaded audio buffer Mar 09 15:02:16 can I show you my code? Mar 09 15:02:45 por-beast: i dont really have that much time right now .. if you have both working, you just need a properly constructed fifo Mar 09 15:03:17 por-beast: http://developer.android.com/reference/java/util/Queue.html maybe? Mar 09 15:03:23 ive been doing all my work with that in the NDK Mar 09 15:03:38 so I havent bothered to investigate too much of the Java implementation Mar 09 15:03:43 but i have to imagine it is easier Mar 09 15:04:08 por-beast: http://developer.android.com/reference/java/util/concurrent/package-summary.html Mar 09 15:04:40 but why do we need a fifo? Mar 09 15:04:57 back to the public boolean filterEquals (Intent other)... Whatever I change in my Intent (action, data, type, class, or categories), it is not reaching my BroadcastReceiver anymore Mar 09 15:05:07 por-beast: because you need to free the audio threads Mar 09 15:05:32 por-beast: and android is notoriously slow at getting audio in and out Mar 09 15:05:33 I guess it's time for stackoverflow Mar 09 15:06:02 por-beast: some phones can take as long as 250ms to get the audio in the mic and back out the speaker Mar 09 15:06:51 but it is not a question of delay, it just don't works Mar 09 15:07:16 por-beast: im pretty sure you just need a thread safe fifo Mar 09 15:08:04 por-beast: or at least to double buffer Mar 09 15:08:13 I figured out what the problem is. When I call iv.setImageBitmap(bmp); it takes time to process it, but it doesn't seem to stop the program until it's done. Is there any way to make him stop the program while he is processing ImageView? Mar 09 15:08:31 por-beast: if you are recording with the same variable you are playing with, it will not work Mar 09 15:08:50 Ktomislav: wrong. Mar 09 15:08:55 yes, that is the thing Mar 09 15:08:56 por-beast: the threads will step on each other Mar 09 15:09:01 Ktomislav: the view probably just hasn't been laid out yet. Mar 09 15:09:13 Ktomislav: why are you actually calling getWidth, etc? are you doing it in onCreate? Mar 09 15:09:17 still, it works for the inbuilt mic Mar 09 15:09:21 why? Mar 09 15:09:43 por-beast: well if you have already managed to code around that, it sounds like a hardware problem Mar 09 15:10:00 por-beast: i dont think the external mic will activate without a headset plugged in Mar 09 15:10:31 por-beast: also these devices get really confused sometimes and try to auto play music and shit Mar 09 15:10:36 lov: Then how come when i do iv.setImageBitmap(bmp); and in the next line iv.getWidth() it gives me the old width? Mar 09 15:10:52 10:09:06 < lov> Ktomislav: the view probably just hasn't been laid out yet. Mar 09 15:11:20 see http://developer.android.com/guide/topics/ui/how-android-draws.html Mar 09 15:11:21 Hi, I have a SurfaceView containing a camera preview. How can i grab a bitmap of the surfaceview? Mar 09 15:11:29 lov: doesn't it mean the view hasn't been processed yet? Mar 09 15:11:31 it works without the headset cause i'm able to record the audio to a file and play it back later Mar 09 15:11:48 maybe a phone problem Mar 09 15:12:00 I tried it on XPERIA only Mar 09 15:12:18 Ktomislav: the viewgroup needs to re-lay everything out to figure out how large everything is Mar 09 15:12:22 por-beast: yeah try some other devices, try using a headset mic instead of a stand along mic/adapter, Mar 09 15:12:24 this is because your views are all relatively sized (I hope) Mar 09 15:12:41 DJTachyon: i'll try that Mar 09 15:12:43 this means that until the viewgroup has performed its layout again, your view will have the old withs Mar 09 15:12:57 Ktomislav: but first, WHY do you need the width? Why do you actually need it? Mar 09 15:13:01 por-beast: yeah it doesnt sound like a code problem at this point Mar 09 15:13:12 DJTachyon: anyway, is there a way to force the input device to be used? Mar 09 15:13:20 por-beast: nope Mar 09 15:13:30 lov: but how can i know when the re-laying i finished, ill explain it to you Mar 09 15:13:38 por-beast: i wish there was .. trust me :P Mar 09 15:13:47 por-beast: same with the output device Mar 09 15:13:58 por-beast: headset/bluetooth/speaker Mar 09 15:13:59 Ktomislav: http://developer.android.com/reference/android/view/View.html Mar 09 15:14:12 look at onMeasure, onLayout, onSizeChanged Mar 09 15:14:13 but there is a way to force the output Mar 09 15:14:28 por-beast: well i mean for things like going headset vs bluetooth Mar 09 15:14:31 i'm forcing to be the phonespeaker Mar 09 15:14:48 por-beast: i want to output different audio to bluetooth and to headset Mar 09 15:14:56 ahhh ok Mar 09 15:14:59 por-beast: that would make me a lot of money if i could do that Mar 09 15:15:19 lov: onFinishTemporaryDetach()? Mar 09 15:15:21 Ktomislav: WHY do you need to know what the width is? I strongly suspect that you are using this width for something that it doesn't actually need to be used for. Mar 09 15:15:29 I think we should solve that problem instead Mar 09 15:15:34 WHY do you need the width? Mar 09 15:15:47 lov: i hope so, ill explain it to you Mar 09 15:16:15 por-beast: https://play.google.com/store/apps/details?id=com.djtachyon.android.VirtualTurntable if you are interested in what im up to .. do you have any apps on the market? Mar 09 15:17:31 DJTachyon: nope, not yet, I'm a n00b in the world of android app development Mar 09 15:17:58 por-beast: well sounds like you are well on your way .. good luck! Mar 09 15:18:14 lov: the thing is that i have an image in my ImageView and it is scaled down if it doesnt fit to screen. I'm also using onTouch to determin where the user touched the screen. Then I want to see if he actually touched my image because it sometimes happens that there is some blank space between the image and the view's boundaries. Mar 09 15:18:44 http://stackoverflow.com/questions/9636414/canceling-specific-pendingintents-with-alarmmanager Mar 09 15:19:02 Ktomislav: set the onTouchListener on your imageView. Mar 09 15:19:13 it is Mar 09 15:19:14 also Mar 09 15:19:31 ugh i had someone review my DJ app with a Cricket ZTE X500 600MHz phone Mar 09 15:19:32 when you are scaling it down, are you doing that yourself or are you letting Android handle that for you? Mar 09 15:19:40 i use wrap_content Mar 09 15:19:49 and they are all like "ITS ALL SLOWZ AND CRAPPY" .. well isn't everything on that shit phone slow and crappy? Mar 09 15:19:50 in xml layout file Mar 09 15:19:53 and? Mar 09 15:19:58 DJTachyon: eheh :) thx Mar 09 15:20:09 http://developer.android.com/reference/android/widget/ImageView.html#attr_android:scaleType Mar 09 15:20:23 getWidth within your onTouch will be accurate. Mar 09 15:22:10 yea, but i thought it would be better to get its value once and store it into a variable and later use that variables value Mar 09 15:22:48 it probably doesnt make a big difference but i guess its a little bit faster isn't it? Mar 09 15:23:05 don't bother. Mar 09 15:23:14 that's premature optimization and it's only likely to cause you more problems Mar 09 15:23:33 (such as right now!) Mar 09 15:23:54 I have a RelativeLayout with a background (that is a picture), how do I make sure that the layout keeps the proper ratio of width/height so that the background doesn't get stretched/compressed? Mar 09 15:24:29 so which scale type is the best for me? I don't want to have that blank space. Mar 09 15:24:32 interesting, my tablet has an xlarge screen but mdpi density Mar 09 15:25:19 wongk, what tablet is this? Mar 09 15:25:28 DammitJim: archos 80 g9 Mar 09 15:25:30 lov:shouldn't the view's boundaries match the image's boundaries? Mar 09 15:25:31 density is not necessarily high due to a big screen Mar 09 15:25:45 DammitJim: i know, just not what i expected Mar 09 15:26:06 explains why my app widget text doesn't fit properly on the background Mar 09 15:26:23 wongk, a total pain in the bottom, I know Mar 09 15:26:27 quite Mar 09 15:27:22 Ktomislav: they WILL Mar 09 15:27:26 Ktomislav: when the view is laid out Mar 09 15:27:35 what's the correct solution there, try to adjust text size? Mar 09 15:27:39 Ktomislav: if the imageview scales the image that it contains, then it won't necessarily be one to one Mar 09 15:27:49 the imageview will still know what the image inside of it is, at the original width and height Mar 09 15:28:20 i know it won't be one to one, but will the ratio be kept? Mar 09 15:28:24 through the text size in xml based on density Mar 09 15:28:30 width and height ratio i mean Mar 09 15:29:02 it depends on what scale type you use. Mar 09 15:29:06 READ WHAT THE DOCUMENTATION SAYS Mar 09 15:29:32 Ktomislav: step into my sleigh Mar 09 15:30:25 mikedg: sorry but i dont get it Mar 09 15:30:32 Does anyone know any tricks to make the scaleGesture not so accurate? I only want a certain steps/resolution from it. Mar 09 15:30:56 If I have a form Activity that has varying fields depending on where it was launched from, should I have multiple layouts that get loaded based on Intent or a single layout that hides fields based on Intent? Mar 09 15:31:33 I have tried messing with check the timeDelta for the gesture to see if it is higher then 25 Mar 09 15:31:46 then process the gesture Mar 09 15:31:48 MalRD:whatever is easier to maintain for you Mar 09 15:31:48 MalRD: either is acceptable. Mar 09 15:32:41 lov mikedg: Alright, thanks. Wasn't sure if there was a standard/preferred way to do it. Mar 09 15:34:42 alright, then maybe someone can answer this one. Is there a library or something that lets you set your max and minimum range, and then use it to transpose incoming values?? Mar 09 15:35:03 lov: thanks for your patience and one last question. If I use wrap_content and fitEnd will the ratio be kept and will i get rid of the blank space? Mar 09 15:35:31 "THIS GAME ISN'T 100% FREE? YOU GUYS ARE CRIMINALS!" Mar 09 15:35:33 love those reviews Mar 09 15:37:26 The scaleGesture getCurrentSpan() only returns values between 2,-2 Mar 09 15:37:51 Only really indicating that the move is a scale up or scale down gesture Mar 09 15:38:11 the values that I get from this method are usually like this 1.0098 Mar 09 15:38:19 1.0100 Mar 09 15:38:35 but are these values consistent on all devices? Mar 09 15:39:55 Ktomislav: I don't know, try it and see! Mar 09 15:42:09 lov: tanks for the help, i really appreciate it Mar 09 15:43:08 fucking hell Mar 09 15:43:11 Is the old default "No Contact" image (the three Androids) included in any of the download packs? Mar 09 15:43:16 transformer primes are impossible to get hold of in the uk Mar 09 15:44:02 I have a relativelayout with a background image, but it's stretched out. How can I keep the image ratio in the relativeLayout? Mar 09 15:44:47 no problem Mar 09 15:46:44 DammitJim: Nine-patch Mar 09 15:46:54 dammit! I knew that was coming Mar 09 15:47:12 but how does the nine-patch help me in this case, hwrd|work Mar 09 15:47:58 DammitJim: Well, I guess it doesn't. The image will still stretch, but you can define the stretchable areas… and then you're image won't *look* stretched. Mar 09 15:48:24 I dare to say that the image right now isn't stretched, it is actually compressed Mar 09 15:49:35 wasn't AbsoluteLayout deprecated? Mar 09 15:49:37 Maybe I should just use an ImageView instead of using the background tag in the relativelayout? Mar 09 15:49:42 Nine-patch will help keep the file size of the app down too. You can use a smaller image, and then define the stretchable areas so that it looks good rendered larger. Mar 09 15:51:21 I have a very large background that takes up almost a whole tablet screen. And I use a Nine-patch image the size of 72x72, and it looks awesome on all resolutions, plus the image size is only 860 KB Mar 09 15:51:52 Nine-patch is the way to go in my opinion Mar 09 15:52:15 how is the image 860KB Mar 09 15:52:22 that doesnt make sense Mar 09 15:52:40 evancharlton: tank hero laser wars Mar 09 15:53:14 DammitJim: If you absolutely want to use your own http://developer.android.com/guide/topics/resources/drawable-resource.html#Scale Mar 09 15:53:32 canadiancow|work: I was wondering the same thing. Mar 09 15:54:00 if the image is more than width*height*4, you've done something wrong Mar 09 15:54:51 I'm double checking hold on Mar 09 15:57:13 Actually it is 70KB, and the image is being scaled to 402x224 on my current tablet layout Mar 09 15:57:39 that's pretty good in my opinion Mar 09 15:57:49 for file size anyways Mar 09 16:00:11 but I guess it doesn't really matter anymore, because the new APK limit is what 4GB? Mar 09 16:00:39 thanks hwrd|work, I figured it out with an imageview and writing the buttons after that, so they are all stilll layered Mar 09 16:00:52 DammitJim: np Mar 09 16:01:22 What kind of app will use 4GB besides games?? Mar 09 16:01:42 mikedg: hmm? Mar 09 16:01:45 dlaroche: I think you have to like… download most of that APK after the user intalls your app from the market though. Mar 09 16:02:21 yes, that is the way I understand it. Google has a library to facilitate all this though. Mar 09 16:02:44 It does some chain-loading kinda thing to get the extra data Mar 09 16:03:10 dlaroche: nit-pick: APK limit isn't 4gb Mar 09 16:03:24 Haven't used it yet, and probably ever won't, but it's interesting to see this new limit. Mar 09 16:04:00 right the actual APK is still limited to 50MB, but it can download extra data up to 4GB right? Mar 09 16:04:30 yes Mar 09 16:04:48 I was also reading that you can supply a .zip for the extra data too.....kinda interesting. Need to read more on the security involved with all this Mar 09 16:04:50 the benefit is that those 4gb are hosted on google's servers rather than your own, so you can save a bunch of money Mar 09 16:04:57 Seems kinda unsafe at first glance Mar 09 16:05:24 dlaroche: you're aware that you've been able to load bytecode at runtime since, like, cupcake, right?> Mar 09 16:05:31 look up DexClassLoader Mar 09 16:06:08 I understand that you can load extra bytecode at runtime, but the file size has always been limited correct? Mar 09 16:06:20 Unless you pull from your own servers? Mar 09 16:07:33 Im just trying to learn something new so anybody chime in Mar 09 16:07:33 Anyone know of a tutorial on how to make a "radial button" Mar 09 16:07:36 that you can turn like a knob Mar 09 16:08:03 gho5t: I don't think you would extend a button to achieve this Mar 09 16:08:16 ok Mar 09 16:08:19 any ideas then? Mar 09 16:09:11 I would start looking at extending the SeekBar first. It is designed to log progress, so you can then use some math to take a degree of the know, and turn it into a progress that updates the SeekBar code Mar 09 16:09:22 ^knob Mar 09 16:10:01 hi, I have a problem with the RingtoneManager. If I use it to change the default ringtone with the setActualDefaultRingtoneUri method it does not set a proper ringtone. It will set it to "unknown ringtone" (thats at least the title it displays everywhere in the system) Mar 09 16:10:05 ok I'll look into that Mar 09 16:10:28 the ringtone i set should be a valid one, i got it from the ringtone manager itself Mar 09 16:10:40 unkie: are you trying to set a made ringtone or a factory ringtone? Mar 09 16:10:46 nvm Mar 09 16:10:51 evancharlton, do you know a fair bit about the new apk limit stuff? Mar 09 16:10:59 expansion apk* Mar 09 16:11:01 whatever it's called Mar 09 16:11:03 canadiancow|work: a little bit; what's up? Mar 09 16:11:10 what kind of volume can it handle? Mar 09 16:11:11 :P Mar 09 16:11:14 my listfragment is stuck on loading :C Mar 09 16:11:17 well, 4gb Mar 09 16:11:27 not what i meant :P Mar 09 16:11:33 not sure what you mean then Mar 09 16:11:36 millions of users Mar 09 16:11:38 all downloading... Mar 09 16:11:44 this is google Mar 09 16:11:48 download ALL the things!1 Mar 09 16:11:51 i did a bit of google-research regarding my problem but couldnt find any useful results. only a guy with a similar problem in 2009 who said it would only occur to him when he uses the manager "to fast" Mar 09 16:12:16 canadiancow|work: it goes up to 11 Mar 09 16:12:21 lol Mar 09 16:12:25 lol Mar 09 16:12:27 canadiancow|work: there are people who get paid handsomly to make sure that we can keep up with the traffic you send us; don't worry about that Mar 09 16:12:36 but… why can't they just make 10 higher? Mar 09 16:12:37 see pm Mar 09 16:12:50 unkie: then set a delay or timer Mar 09 16:13:00 fuck his pm, go buy tank hero laser wars then go hide in the bathroom for a few hours Mar 09 16:13:02 does anyone have any idea why my ListFragment is stuck? :C Mar 09 16:13:05 dlaroche: doesnt change anything Mar 09 16:13:07 I had to do this with some network code because it was trying to connect "too fast" Mar 09 16:13:12 even with a delay of several seconds Mar 09 16:13:21 wow way too much delay Mar 09 16:13:22 iSeeDeadPixels: don't put a scroll view inside your listview Mar 09 16:13:29 I'm not sure then buddy Mar 09 16:14:17 hwrd|work, there's no scrollview there... Mar 09 16:14:34 do i have to kind of "release" the ringtone manager after i used it? i receive the url in a different context then the one i want to set it in Mar 09 16:14:45 iSeeDeadPixels: a listview automatically has the scroll capability built in, and it's pretty efficient too. Mar 09 16:14:51 I uploaded my app yesterday but when I search for "to do mapr" it doesnt show up in that quick search showing 2 apps... I have to go throught he longer list of thousands and its there like 80th place or so. If I search for "todomapr" it shows up. Mar 09 16:15:08 iSeeDeadPixels: Well we can't help you unless you tell us more about your problem. "My listview is stuck" tells us nothing about your implementation. Mar 09 16:15:19 Unless I missed something earlier. Mar 09 16:15:24 the title submitted was To Do Mapr and shows up that way when I finally get to it but not sure why Google Play is not allowing it to searched with spaces Mar 09 16:15:46 hwrd|work, i didn't say listview, i said listfragment.. Mar 09 16:16:12 iSeeDeadPixels: did you pastebin your layout code somewhere that I missed? Mar 09 16:16:27 iSeeDeadPixels: My Bad. Although, they aren't too different... Mar 09 16:16:59 it's not the layout, it's the ListFragment... Mar 09 16:17:09 then pastebin it for us Mar 09 16:17:20 we can't help you based on it is stuck loading Mar 09 16:17:28 yay mac update time… bbl Mar 09 16:17:30 let us look to see why it is doing this Mar 09 16:17:52 hwrd|work: is there new updates that I am unaware of? Mar 09 16:18:49 i only have iTunes update *shrug* Mar 09 16:18:52 lov: If you want to know how I solved it. It wasn't the scaleType, android:adjustViewBounds="true" did the trick. Mar 09 16:19:02 all the firmware stuff and airport was last week or earlier than that Mar 09 16:19:10 that's what I though Mar 09 16:19:12 thought Mar 09 16:19:17 I did the upgrade then Mar 09 16:19:24 but checking for new ones now Mar 09 16:19:46 did you get the security update too last week or the week before I think Mar 09 16:19:54 ya Mar 09 16:20:42 yep, only new one for me is the iTunes update Mar 09 16:21:22 dlaroche, http://pastebin.com/bJHHeLdy Mar 09 16:21:29 sighs.....when do we get Siri on OS X.....lol Mar 09 16:21:54 i dont see the point of Siri, not very useful to me Mar 09 16:22:12 me either, but it would be pretty geeky to talk to your compuer....lol Mar 09 16:22:22 im sick of siri Mar 09 16:22:24 i want to make a video Mar 09 16:22:35 "This is an iPhone 4S, the best iPhone ever! And this is a Galaxy Nexus." Mar 09 16:22:37 and show off siri Mar 09 16:22:48 "I'm sorry Scott, but I can't display maps and directions in Canada." Mar 09 16:22:57 lol...you should....i would help spread it Mar 09 16:23:02 canadiancow|work: or maybe soon, no maps anywhere Mar 09 16:24:11 anyhow, im trying to get my app searchable properly in Google Play but it wont show up. Only when I remove spaces from the title name it shows up. Mar 09 16:24:26 iSeeDeadPixels: your implementation looks correct. Have you tried cleaning the project through Eclipse? Mar 09 16:24:34 looking at the dev console, doesnt look like I can set any tags or keywords. Mar 09 16:24:51 i thought you might have some network code blocking it, but you are pulling from an array Mar 09 16:25:13 dlaroche, yup Mar 09 16:25:45 QubeZ: you can put tag words at the bottom of your description, but I don't know if that will help any Mar 09 16:25:51 I Mar 09 16:26:10 I've seen other devs. do this on their descriptions, but I don't know if it helps anything Mar 09 16:26:41 ill try that. It's just so weird, so the app is called "To Do Mapr", when i search that way...it doesn't show up immediately. I have to go throught he long list then its like 80th place or so. I type in "todomapr" and it says "did you mean todopaper" but still shows me my listing. Mar 09 16:26:51 I know if I type in "Free Field Caller - Deer Calls" it pulls up one of my apps correctly Mar 09 16:27:26 QubeZ: I remember reading an article about how the market wasn't that search friendly Mar 09 16:27:32 dlaroche, still stuck on loading Mar 09 16:27:37 i pushed it out last night, might take some time to index better? Mar 09 16:27:49 true Mar 09 16:27:59 iSeeDeadPixels: hold on Mar 09 16:28:03 let me look again Mar 09 16:28:55 dlaroche, it's not loading the whole ListFragment.class file Mar 09 16:29:28 pastebin your Logcat for me then if it is throwing errors Mar 09 16:29:53 dlaroche, it's not throwing errors. Mar 09 16:30:09 iSeeDeadPixels: also compare your implementation agains how Google has used it. http://developer.android.com/resources/samples/ApiDemos/src/com/example/android/apis/app/FragmentListArray.html Mar 09 16:31:15 I notice some variations, but I'm not 100% sure this is your problem, but worth exploring Mar 09 16:31:47 dlaroche, http://www.vogella.de/articles/Android/article.html#fragments_tutorial Mar 09 16:32:12 wow that is really odd, I can play the ringtone but when i use the getTitle() on the ringtone he prints me the URI Mar 09 16:37:41 iSeeDeadPixels: that is odd, I have never had issues running code from this site Mar 09 16:38:13 hi can anybody help me to install my .apk to emulator see the error :http://pastebin.com/TceikiZ2 Mar 09 16:38:19 on the extends put ListFragment Mar 09 16:38:39 instead of android.app.ListFragment Mar 09 16:39:10 hmmm, it seems there is no way to know when an app widget is resized? Mar 09 16:39:25 it'd be nice to be able to adjust the text size in that case Mar 09 16:39:38 subh: do you have your emulator set up to run third party apps? Mar 09 16:39:46 you need a dev key Mar 09 16:39:48 dlaroche, in the main.xml file, i had to change the name Mar 09 16:40:16 dlaroche : how this can be done Mar 09 16:40:38 subh: are you using Eclipse Mar 09 16:40:43 no Mar 09 16:41:05 iSeeDeadPixels: yes you will have to change the name in the XML Mar 09 16:41:21 that was the error ;) Mar 09 16:41:23 subh: the app needs to be signed. Mar 09 16:41:28 the name should be the class Mar 09 16:41:30 subh: use the "debug" task Mar 09 16:41:39 that is where the problems is Mar 09 16:41:41 subh: the "debug" task will sign your app with your debug key Mar 09 16:41:52 thanks lov Mar 09 16:42:01 subh: when you are ready to make release builds, read http://developer.android.com/guide/publishing/app-signing.html Mar 09 16:42:07 i was trying to get to him Mar 09 16:42:20 subh: I VERY strongly recommend that you start developing in Eclipse, unless you really, really, really don't want to use Eclipse for some reason. Mar 09 16:42:43 it's glunky at times, but does the job pretty well Mar 09 16:43:08 eclipse does all things automatically, so i want to see what are the things are happening there Mar 09 16:43:16 Yea, I get annoyed with Eclipse but I know if I leave it... it'll be a pain in some other IDE. Grass is always green on the other side...until you actually get over there. Mar 09 16:43:27 AND YET YOU REFUSE TO READ THE DOCUMENTATION TO TRY TO UNDERSTAND WHAT IS HAPPENING Mar 09 16:43:41 What about NetBeans IDE is it any better? Mar 09 16:43:46 subh: READ THIS: http://developer.android.com/guide/developing/projects/projects-cmdline.html Mar 09 16:43:55 lov i read the doc Mar 09 16:43:55 subh: READ THIS: http://developer.android.com/guide/developing/building/building-cmdline.html Mar 09 16:44:06 No, you CLEARLY did not Mar 09 16:44:10 or you would not be asking these questions Mar 09 16:44:12 http://developer.android.com/guide/developing/debugging/debugging-projects-cmdline.html Mar 09 16:44:15 read this Mar 09 16:44:32 READ THIS: http://developer.android.com/guide/publishing/app-signing.html Mar 09 16:44:38 READ ALL OF THOSE Mar 09 16:44:41 lol Mar 09 16:44:43 THEN come back and ask questions Mar 09 16:44:49 easy lov Mar 09 16:45:01 but before you ask your question, do us all a favor and type it into google first Mar 09 16:45:05 "thanks lov", "easy lov"... sounds funny Mar 09 16:45:11 lol Mar 09 16:45:15 because the odds are VERY strong that the answer will be the first or second result. Mar 09 16:45:33 got to watch lov sometimes.....he likes to let loose on noob questions Mar 09 16:45:43 I am actually very surpised that people dont search Google. I mean, I was on the FB group Java Developers and they're asking a question then waiting like 2 days for a reply when they could probably find the answer in like 10-20 mins. Mar 09 16:45:44 it's not beginner questions that get me Mar 09 16:45:47 it's the willful ignorence Mar 09 16:46:02 stackoverflow is a good resource to search your questions too Mar 09 16:46:04 "huh, something unexpected happened. Instead of looking at documentation or searching the internet or thinking for 5 seconds, let me bug other people" Mar 09 16:46:07 hi, i'm running into an issue with the MapActivity disappearing inside a TabHost (in Fragments)...has anyone else experiecned something similar? Mar 09 16:46:11 basically this exact problem: http://stackoverflow.com/questions/8828358/mapactivity-in-tabhost-fragment-disappearing-after-tab-switch Mar 09 16:46:32 "Oh, huh, the same thing happened but phrased slightly differently, or maybe it is actually the exact same error. Let me ask the same question and get sad when people are angry about this." Mar 09 16:46:44 www.catb.org/~esr/faqs/smart-questions.html Mar 09 16:46:46 ^^ basically that. Mar 09 16:46:51 read that, then ask your question. Mar 09 16:47:01 i am extremely sorry Mar 09 16:47:08 don't be sorry, just don't do it. Mar 09 16:47:20 think, then act. Mar 09 16:47:20 lol.....lov is on one Mar 09 16:47:27 hehe Mar 09 16:47:35 lov's keyboard is tired Mar 09 16:47:39 sorry I'm being a total dick about this Mar 09 16:48:05 but you have to understand that every time you ask a question that outright shows that you didn't put even the tiniest bit of effort into figuring it out yourself, I become less and less inclined to help Mar 09 16:48:06 lov: I'm joking but I do agree with you. Maybe would handle it a lil bit different but you're right nonetheless with the point you're trying to make. Mar 09 16:48:43 it becomes less "help me with a problem" and more "do my job for me" Mar 09 16:48:54 ahhhh....leave lov alone....he get's like that from time to time....that's lov for ya Mar 09 16:49:08 * lov sets dlaroche on fire to keep him warm for the rest of his life Mar 09 16:49:08 lov ya lov Mar 09 16:49:16 lol Mar 09 16:49:27 see what I mean....jk Mar 09 16:49:35 its better to have been told of by lov than to have never been told off at all Mar 09 16:49:42 a good ole fashion lynching in #android-dev Mar 09 16:49:52 lov helps me out a lot so I give him his space in times like these Mar 09 16:50:02 well he is right Mar 09 16:50:06 yes Mar 09 16:50:15 too bad subh is in his/her bathroom right now crying Mar 09 16:50:43 I even got a scalding from lov one time....... Mar 09 16:50:45 yeh google is awesome Mar 09 16:50:53 really dont know how i coded before search engines Mar 09 16:51:03 still remember it like it was yesterday.....lol Mar 09 16:51:06 instead of angry birds I play angry devs and instead of flying into pigs I just fly into a tirade Mar 09 16:51:07 Altavista! Mar 09 16:51:23 lov: you got the golden egg today bud! Mar 09 16:51:31 must have just got stuck and couldnt get any further, come to think of it thats why i failed until i got email.. Mar 09 16:51:37 yeah, I'm an all self taught programmer too......owe a lot of credit to the Deitel books Mar 09 16:51:52 deitel father and son team..nice Mar 09 16:52:07 i think their daughter is like their proofreader or someshit Mar 09 16:52:08 coding is too hard for humans Mar 09 16:52:11 yeah buddy.....first dev book I read.....and know java now Mar 09 16:52:13 anyhow, their whole family rocks Mar 09 16:52:16 Is this the right place about asking gerrit and repo issues ? Mar 09 16:52:21 I have some repo init thingie ... Mar 09 16:52:37 djszapi: you better have done your research first... you have no idea what you're walking into right now. Mar 09 16:52:42 haha Mar 09 16:52:45 step carefully my friend Mar 09 16:52:51 djszapi: #git might actually be a better place, to be honest Mar 09 16:52:54 lol Mar 09 16:53:01 only because they'll know more Mar 09 16:53:12 that's better lov.....must be calming down now Mar 09 16:53:26 lov: repo usage in android Mar 09 16:53:30 my hdpi phone is using values from values-mdpi rather than just values, does that mean i have to add values-hdpi and xhdpi? Mar 09 16:53:30 it is not really a git question Mar 09 16:53:39 QubeZ: yes, done quite a lot. Mar 09 16:53:52 djszapi: I'm not sure if anyone will be able to help, but you can certainly ask Mar 09 16:53:53 (otherwise I would not be here, if I had any ideas) Mar 09 16:54:06 lol Mar 09 16:54:14 #git might be a better place or #twat Mar 09 16:54:16 hehe Mar 09 16:54:24 sounded like a really geeky insult Mar 09 16:54:27 hehe Mar 09 16:54:29 genius Mar 09 16:54:50 getting giggling been coding since 5am Mar 09 16:55:06 andon the beers now, waiting for rain to stop Mar 09 16:57:34 is there anyway to change the look of the AnalogClock control? Mar 09 16:58:11 couldnt u do ur own paint method for it Mar 09 16:58:26 may aswell rewrite the control then lol Mar 09 16:58:38 is there like indevidual drawables I can change Mar 09 16:58:45 like the hands, the clock face, etc Mar 09 16:59:00 no idea Mar 09 16:59:07 gues snot tho Mar 09 16:59:10 get painting! Mar 09 16:59:19 may aswell though Mar 09 16:59:26 ive pretty mich re-written everything anyway Mar 09 16:59:43 ive been writign wrappers for my j2me code to work on android Mar 09 16:59:47 andj2se Mar 09 17:00:07 had some fun coding drawpolygon wrapper today Mar 09 17:00:16 and set/getClip() Mar 09 17:01:00 gaz': what kind of wrappers? Mar 09 17:01:02 so is there a way to use emulator or adb even to decrypt ssl traffic? Mar 09 17:01:12 for OpenGL? Mar 09 17:01:28 rigel: what kind of question is that???? Mar 09 17:01:28 rigel: if you're feeling saucy, you could attempt a MITM Mar 09 17:01:46 dlaroche mostly so i can do g.drawRect(x,y,w,h); and have it actually translate to somethign thatworks the same in android, ive got all of the graphics operations from j2me/j2se working now Mar 09 17:01:48 lov: yeah, mitm is kind of a pita, frankly Mar 09 17:01:48 damn wanna be hackers.....loll Mar 09 17:02:00 dlaroche not for open gl no, could be tho Mar 09 17:02:14 rigel: you could also build a firmware for the emu that exported all of the network traffic to a file. Mar 09 17:02:14 gaz': cool nice work Mar 09 17:02:33 right above the SSL layer, so it's all nice and decrypted for you Mar 09 17:02:34 lov: that sounds like an even bigger pita Mar 09 17:02:42 ]er if you tap into the tcp/ip stack you might be able to re-route the binary packet data to your app, handle it then relay it back to the system Mar 09 17:02:43 yeh i ported my backgammon game from J2SE to Android today in like 6 hrs, which was cool, id made a conscious effort to make it very portable tho Mar 09 17:02:46 oh in that case just call Android.doMySnoopingForMe(); Mar 09 17:02:51 what the hell kind of app are you working on rigel??? Mar 09 17:03:08 $5 on trying to snoop on Market for "Security research" reasons Mar 09 17:03:18 dlaroche: adblocking Mar 09 17:03:29 then block the domain Mar 09 17:03:40 now reason to stand in the middle Mar 09 17:03:43 from a particular app that does some ssl, but also allows you to use a proxy Mar 09 17:03:46 n^no Mar 09 17:03:56 no, the ads come from the same domain as the legit data Mar 09 17:04:06 wth Mar 09 17:04:10 :| Mar 09 17:04:15 you just said adblocking Mar 09 17:04:20 baksmali the app, remove the offending ad code, recompile, use. Mar 09 17:04:32 so i need to get in the middle, and i'm not sure what is being transmitted in the ssl session. i wiresharked it and theres some plaintext data too Mar 09 17:04:38 so you want some ads, but now all???? Mar 09 17:04:50 basically no matter what, you have a pain of a task ahead of you Mar 09 17:04:51 ^nto Mar 09 17:04:53 ^not Mar 09 17:04:55 damn it Mar 09 17:05:01 12:06 < rigel> lov: yeah, mitm is kind of a pita, frankly <-- mitm takes like twenty minutes to set up Mar 09 17:05:03 <----needs to learn how to type again Mar 09 17:05:15 dlaroche: there is an app that provides legit, useful data, but also has a pita ad regime Mar 09 17:05:23 all the traffic comes from the same site Mar 09 17:05:29 evancharlton: that's true, but there's always the chance that the SSL cert is checked by the client app and verified against a known good cert for the domain or something :P Mar 09 17:05:30 nah this dude is up to something mischievous Mar 09 17:05:40 rigel: google maps. Mar 09 17:05:43 it's google maps isn't it. Mar 09 17:05:57 ... Mar 09 17:06:07 look, you're kind of in a gray area for this channel. Mar 09 17:06:19 yes sit Mar 09 17:06:21 sir Mar 09 17:06:32 <---damn it, again Mar 09 17:06:43 we've given you several general techniques which you could use for a variety of things. We won't, however, help you actually break things. Mar 09 17:06:54 i should specify Mar 09 17:06:57 maby Mar 09 17:07:00 maybe Mar 09 17:07:11 rigel: basically, this is the kind of stuff you should probably figuring out on your own. If you can't figure out how to mitm a device that you control, you don't really have any legit reason to be doing so :) Mar 09 17:07:15 guess I'm confused Mar 09 17:07:17 the app allows you to choose an intermediary for its traffic, i.e. you're using a proxy or a specific site license Mar 09 17:07:33 o_O Mar 09 17:07:36 ok Mar 09 17:07:37 hi Mar 09 17:07:39 fantastic, make your own proxy that blocks the ads then Mar 09 17:07:40 the end Mar 09 17:07:41 and.... Mar 09 17:07:58 that's what I'm saying....there is no need for MITM Mar 09 17:08:09 block the domain or proxy Mar 09 17:08:12 end of story Mar 09 17:08:20 evancharlton: i didnt say i couldnt figure out how to do it. it just would take a lot of manpages etc, AND i thought there might be an easy way, e.g. command line switches passed to emulator or adb, that would do the job for me Mar 09 17:08:26 how do I send data using am from command line to an intent-filter declaring ? Mar 09 17:08:27 what get's me is he want's to "only block certain ads" now Mar 09 17:08:43 dlaroche: you are misinterpreting Mar 09 17:08:54 then explain.... Mar 09 17:08:56 I guess -d option but what's the format of its value? and is there a reference for am command on developer.android.com? (couldn't find any) Mar 09 17:08:59 you want help Mar 09 17:09:06 take us out of the gray area first Mar 09 17:09:06 12:02:53 < lov> oh in that case just call Android.doMySnoopingForMe(); Mar 09 17:09:32 anddam: adb shell am --help or something Mar 09 17:09:38 I don't THINK that there are docs on the site Mar 09 17:09:44 but there are tutorials littered round the webbertubes Mar 09 17:09:46 1) app allows you to use an intermediary for e.g. site licenses Mar 09 17:10:00 why Mar 09 17:10:08 2) both ads and useful information come through their pipe, which all converges at the same site/ip Mar 09 17:10:16 Is it forbidden for others, too ? https://android.googlesource.com/tools/repo/info/refs Mar 09 17:10:25 lov: the cli help I knew, the tutorial spread around are messy, to say the least Mar 09 17:10:37 3) most of that data is plaintext json, but some traffic is ssl'd Mar 09 17:10:40 rigel: what you're doing is probably against their ToS and depending on your country possibly illegal Mar 09 17:10:49 we've given you a few things to try Mar 09 17:10:49 so you are trying to block the ads, but allow the license data to come through....correct??? Mar 09 17:10:56 correct Mar 09 17:10:56 is the galaxy nexus rooted? Mar 09 17:10:57 there are no built in "do my job for me" commands you can use here Mar 09 17:11:04 in this case a simple -d file:///path/ did the trick, but isn't there official doc for am and other platform commands like service or setprop? Mar 09 17:11:06 anddam: adb shell am start -d "file:///sdcard/whatever/lols.txt" Mar 09 17:11:07 is wifi tether enabled? Mar 09 17:11:12 snooplsm: by default, no, but you should be able to do fastboot unlock Mar 09 17:11:17 and then do w/e Mar 09 17:11:17 evancharlton: thanks, I had just found by TIAS Mar 09 17:11:20 like lov said.....you better read the TOS for this, because I'm sure they have it covered. Mar 09 17:11:26 anddam: excellent! :) Mar 09 17:11:26 lov: will that void my warranty? Mar 09 17:11:28 still I'm interested in finding official doc for that Mar 09 17:11:32 TOS is not enforceable in my country Mar 09 17:11:35 that == CLI commands Mar 09 17:11:42 just thinking about voiding your warranty, typically voids the warranty Mar 09 17:11:44 rigel: do I dare ask what app this is? Mar 09 17:11:46 snooplsm: yep Mar 09 17:11:49 <-----shakes his head at rigel Mar 09 17:11:52 that sucks Mar 09 17:12:03 snooplsm: rooting your device nukes your warranty in any case Mar 09 17:12:07 it's not like this is a surprise :P Mar 09 17:12:12 evancharlton: you can ask, but i'd rather not say at this point Mar 09 17:12:17 broke the seal on your toaster? welp. Mar 09 17:12:22 so that means break the TOS because the law won't enforce it your country??? WTH Mar 09 17:12:50 so i can't cd into directories on the galaxy nexus Mar 09 17:12:52 agreements are only as good as their enforceability Mar 09 17:12:57 rigel: so you're basically just trying to avoid paying for something? Mar 09 17:12:58 Again that is the grey area we are talking about rigel.....take your questions else where Mar 09 17:13:08 > agreements are only as good as their enforceability Mar 09 17:13:39 'security researchers' are only as good as the research they do Mar 09 17:13:45 is my question more in topic on #android rather than here? Mar 09 17:13:45 blehhh Mar 09 17:13:46 evancharlton: there are additional, public health implications actually, but i would be saying too much Mar 09 17:13:49 I knew rigel was up to something mischievious Mar 09 17:14:01 :> Mar 09 17:14:08 haha Mar 09 17:14:14 argh, EvilPenguin always intercepts my tab-complete. I should +b him Mar 09 17:14:20 lol Mar 09 17:14:27 I can picture the abstract for this research: METHODOLOGY: Researcher logged onto #android-dev IRC channel to interrogate developers about prospect of MITM attack, but results were inconclusive. Mar 09 17:14:29 they need a smart tab complete Mar 09 17:14:37 if it matches your own nick, that should be first Mar 09 17:14:42 and then some history of last tab-completed Mar 09 17:14:49 so if i say evancharlton now Mar 09 17:14:56 and then do e-tab, it should complete to evancharlton Mar 09 17:15:03 canadiancow|work: most clients have thatn, I'm just too lazy to set it up Mar 09 17:15:10 Researcher logged into #android-dev irc channel to interrogate developers about a MITM attack. Developers interrogated research. Research was sad. Results inconclusive, need more funding and/or donuts Mar 09 17:15:20 s/research/researcher/g Mar 09 17:15:32 readme: it can be accomplished, but for what reasons? And was this channel a part in abiding this criminal.......NO!!! Mar 09 17:15:48 dlaroche: whoooa settle down there gunpowder. Mar 09 17:15:54 grrrrr Mar 09 17:15:55 ==read Mar 09 17:15:59 ==readme Mar 09 17:16:05 man my IRC-fu is weak today Mar 09 17:16:13 I just knew he was up to no good Mar 09 17:16:21 dlaroche is raging (get it) Mar 09 17:16:38 dlaroche: generally speaking, anyone asknig about smali, baksmali, or SSL is up to no good Mar 09 17:16:49 right.... Mar 09 17:17:15 there is just no legit purpose for trying to overcome it Mar 09 17:17:19 I give it the benefit of the doubt Mar 09 17:17:23 or two or three doubts Mar 09 17:17:42 lov: when he first mentioned SSL I knew he was up to no good Mar 09 17:17:44 dlaroche: sure there is Mar 09 17:17:52 ??? Mar 09 17:18:07 dlaroche: it's just that if you have a legit reason for it, then you generally already know enough that you don't need to ask for help in #android-dev Mar 09 17:18:21 e.g. if you're checking for dx errors Mar 09 17:18:26 dlaroche: Some of the traffic in our app uses SSL. I'd love to have some nice way to do a MITM on that just so that our QA guys can verify things more easily. Mar 09 17:18:32 that doesn't mean I'm going to put in the effort for that. Mar 09 17:18:46 lov: it's really pretty easy to set up a MITM if you control the device-side certs Mar 09 17:18:47 Similarly, I've run baksmali a couple of times to hand verify a certain value was present somewhere Mar 09 17:19:06 evancharlton: let me rephrase; easy enough for the QA guy to do it on a production device. Mar 09 17:19:22 the QA guy not being an engineer I trust to be able to do this. Mar 09 17:19:30 (ask me about my QA guy and how I get frustrated from time to time) Mar 09 17:20:24 so your telling me that the values from a cert. can be wrong, and need to be checked from a dev. stand point? Mar 09 17:20:27 lov: i havent been here very long, but i just can't see you getting frustrated ;) Mar 09 17:20:44 well, no. Mar 09 17:20:45 wongk: then you just missed out about 30 minutes ago Mar 09 17:20:50 the certs are working just fine. Mar 09 17:21:08 then what values must be checked? I'm confused. Mar 09 17:21:09 I just would like for there to be a Very Simple way for the QA guy to be able to snoop on SSL communication so that he can do his QA verify that certain urls contain certain params and blah blah blah Mar 09 17:21:15 it's a long story Mar 09 17:21:28 the shorter version is that we're not allowed to emit these values to logs Mar 09 17:21:30 gotcha Mar 09 17:22:04 that's legitemant I guess, but rigel ISN'T! Mar 09 17:22:17 damn him anyways....anyways Mar 09 17:22:20 next topic??? Mar 09 17:22:25 let us discuss kittens Mar 09 17:22:30 yeapers Mar 09 17:22:52 i want a scottish fold kitten but not only too expense, my wife and i like to save kittens from shelter idea Mar 09 17:22:56 why do coders like kittens so much Mar 09 17:23:01 we have a 1 yr old calico we saved and want another Mar 09 17:23:11 gaz`: probably a personality factor Mar 09 17:23:15 gaz': I'm a dog lover myself Mar 09 17:23:27 I don't really like keeping animals as pets. Mar 09 17:23:31 thats perverted Mar 09 17:23:58 cats have great personality, plus they're very independent and clean Mar 09 17:23:59 gaz`: because they are adorable :3 Mar 09 17:24:00 QubeZ: is crazy minded Mar 09 17:24:03 cats are interesting pets, in that they can keep being independent Mar 09 17:24:10 hehe Mar 09 17:24:17 my only pets are the roaches and the rats Mar 09 17:24:26 thats nasty dude Mar 09 17:24:26 now thats a real coder surely! lol.. Mar 09 17:24:32 so people fall in love with their personality and character? Mar 09 17:24:35 knee deep in waste here Mar 09 17:24:42 waste huh Mar 09 17:24:44 that's nasty Mar 09 17:24:49 dlaroche: we do, i mean its not like we find then attractive or something... that perverse Mar 09 17:24:54 heehee Mar 09 17:25:06 lol Mar 09 17:25:10 i guess Mar 09 17:25:16 my cat, when you pet her on the side... she falls over.. not gently Mar 09 17:25:33 she makes weird rat noises when she spots the laser pointer Mar 09 17:25:36 I like dogs for their loyalness, and ability to be there when others won't or can't Mar 09 17:25:56 fights with her new electrical litter cleaner... she thinks its the enemy Mar 09 17:26:03 thats why i like beer dlaroche Mar 09 17:26:05 haha Mar 09 17:26:16 plus who don't like a guard dog to take someone else's leg off at command??? Mar 09 17:26:18 lol Mar 09 17:26:24 meeeee toooooo!!!!!!!!!!! Mar 09 17:26:42 nah i dont trust myself with pets Mar 09 17:26:53 i mean only yesterday i lost an entire day due to a 24 hr sleep Mar 09 17:26:57 gaz' can't take care of himself yet Mar 09 17:27:00 jk Mar 09 17:27:04 i found many interesting ways to prove to my wife that our cat will always land on its feet Mar 09 17:27:06 no its almost true Mar 09 17:27:18 nvm.....seee he CAN'T take care of himself Mar 09 17:27:20 i got the most messe dup schedule ever.. Mar 09 17:27:21 especially in 0 g Mar 09 17:27:51 DAMN WE ARE SOME BORED CODERS RIGHT NOW Mar 09 17:27:55 lol Mar 09 17:28:01 i know why aint i at the pub, going in a sec, 130am here Mar 09 17:28:09 im actually "WFH: Working From Home" right now Mar 09 17:28:13 well without the W Mar 09 17:28:36 yeh i work form home, Mar 09 17:28:38 QubeZ: me too, I don't have the luxury of a nice office or dev. building Mar 09 17:28:38 next week my work is sending me to Certified Ethical Hacker training so im out all next week (from office at least) =) Mar 09 17:28:39 R0XXXX Mar 09 17:28:55 every Fri i wfh, its nice Mar 09 17:29:29 Last night I released To Do Mapr, please check it out and let me know what you guys think of it. Mar 09 17:29:38 lov: where do you work?? Mar 09 17:29:53 Is there any Google workers in this channel? Mar 09 17:30:13 QubeZ looks nice Mar 09 17:30:23 gaz`: thanks Mar 09 17:30:31 QubeZ: can you give me a direct link please? Mar 09 17:30:37 site is very clean too Mar 09 17:30:39 readme: sure, one sec Mar 09 17:30:42 http://www.todomapr.com Mar 09 17:30:50 oh, right Mar 09 17:30:50 thanks Mar 09 17:30:51 well ya lol Mar 09 17:30:56 QubeZ: lol....can't find it when I search "To Do Mapr" Mar 09 17:30:58 the link to google play is there on the main site Mar 09 17:31:02 dlaroche: damn it! Mar 09 17:31:04 damn search engines anyways Mar 09 17:31:06 free huh? Mar 09 17:31:07 lol Mar 09 17:31:10 is there a paid version? Mar 09 17:31:14 gives me a direct link Mar 09 17:31:14 or plan to monetize Mar 09 17:31:16 readme: nope, this is totally free. Mar 09 17:31:17 i wanna check it out Mar 09 17:31:24 we are putting out a web service this month Mar 09 17:31:27 cool Mar 09 17:31:36 to share tasks vi c2dm with sublist items as well and delegation of tasks etc... Mar 09 17:31:42 great vid too Mar 09 17:31:55 most of the TODO apps have a $5 paid version and tons of people actually buy them Mar 09 17:32:09 we also have my ex-employer that is interested in using a customized version of this app to get their techs to fix wireless nodes in Minneapolis Mar 09 17:32:12 it really blows my mind, because it's not very serious tech they're buying Mar 09 17:32:19 makes me want to do one too Mar 09 17:32:28 QubeZ: how you do you generate income on this? Mar 09 17:32:32 readme: ya, we thought about the paid model but decided to go Free and use the web service to monetize Mar 09 17:32:50 nvm Mar 09 17:32:52 gotcha Mar 09 17:32:54 QubeZ: your opportunities with business will be good Mar 09 17:32:59 plus do business-to-business, we've already got a company we're talking to about optimzing the way they handle sending techs out in the field Mar 09 17:33:01 modifying it etc Mar 09 17:33:18 I can already think of 20 ideas to use this in my future apps Mar 09 17:33:18 awesome Mar 09 17:33:24 yeh making money on android market is rough Mar 09 17:33:29 ya, plus another company that my partner already pitched the idea of pushing vacation itenearies to their device directly after they purchase vacation packages Mar 09 17:33:44 true....I have better results with paid apps on the Amazon Market Mar 09 17:33:50 seems more trusted for paid apps Mar 09 17:33:54 gaz`: exactly, thats why we put it out there for free. Any joe blow that likes the app uses it for a lifetime for free while we get exposure and make money elsewhere Mar 09 17:34:03 good plan Mar 09 17:34:10 dlaroche: what niches are your apps in? Mar 09 17:34:18 altho an ad wouldnt hinder it if it generated u some cash Mar 09 17:34:31 right now they are all pretty much hunting apps/sound boards Mar 09 17:34:38 working on a Photoshop app right now Mar 09 17:34:44 thanks for the feedback everyone. I really busted my app with many sleep deprived nights for 9 months to get this app out there. Very personal to me. I just want people to use it :) Mar 09 17:34:45 ive got 400k+ dls of my free apps and still prob made less than $1000 in total of every single person app ive ever sold since 2002 Mar 09 17:34:48 then I have a huge list of other app ideas Mar 09 17:35:00 *personal Mar 09 17:35:28 <---- Just buddied QubeZ Mar 09 17:36:13 Here is one that I probably won't get to: Proximity Dates Mar 09 17:36:17 biggst app ive made is the First Aid by British Red Cross app Mar 09 17:36:24 had 10k+ downloads in 3 months Mar 09 17:36:26 nice one callkalpa Mar 09 17:36:28 CallumTaylor Mar 09 17:36:34 i made on for Vodafone Mclaren Mercedes Mar 09 17:36:45 based on user location, personality and interest, can be alerted of nearby individuals who are also looking for a date. Mar 09 17:36:46 but i never get to find out figures on ones for clients only my own Mar 09 17:36:58 we have a stats recorder on all of our apps Mar 09 17:37:08 yeh i cant really get away with that Mar 09 17:37:17 pfn: is it possible that your sbt plugin isn't properly including the result of library project's R file generation? Mar 09 17:37:18 im not credited or known aboout Mar 09 17:37:21 im like a man in black Mar 09 17:37:23 hehe Mar 09 17:37:27 I have Analytics in To Do Mapr but its disabled by default. User has to enable it. Mar 09 17:37:33 pfn: i'm seein NPEs when loading child view ids out of a view Mar 09 17:37:40 but only when built with your plugin Mar 09 17:37:40 Users should have option to share data/stats. Mar 09 17:37:50 QubeZ: have you considered Flurry? Mar 09 17:37:54 its nice working on a known brand, much nicer Mar 09 17:38:05 seems to be my aim these days collecting brands Mar 09 17:38:15 dlaroche: haven't checked it out, I have heard of it. Mar 09 17:38:16 http://cl.ly/1G170Z241o0H1K3h2a24 Mar 09 17:38:19 our app stats Mar 09 17:38:27 I'm a solo team, and would like more recognition Mar 09 17:38:33 anyone form uk in here? i did the android version of chuckie egg, which was taken down after 1 abusive comment lol Mar 09 17:38:55 QubeZ: it's pretty nice in the sense that it doesn't collect data that you don't want it to vs. Analytics Mar 09 17:38:56 hey thats well cool CallumTaylor i WISH i had done that Mar 09 17:39:08 in my opinion you don't have to let the user decide then Mar 09 17:39:27 our stats doesnt collect anything personal other than your device ID which for android is a madeup hash Mar 09 17:39:37 ill stick flurry in one soon i guess Mar 09 17:39:40 i did for others Mar 09 17:39:49 dlaroche: hmm will have to look at that but what do you mean doesnt collect what you dont want it to? With Analytics, I code in the events I want to collect and thats all I get. Still have the control. Mar 09 17:39:53 CallumTaylor: are you using custom stats code or another service Mar 09 17:40:00 hello, Mar 09 17:40:01 we use our own service Mar 09 17:40:15 custom built Mar 09 17:40:21 has anyone tried using the android SDK +ADT with jdk 1.7? Mar 09 17:40:31 not me, im still on 1.6 Mar 09 17:40:36 QubeZ: the same with Flurry, but from my understanding you have to let the user know when "Personal" info has been collected?? Mar 09 17:40:41 nubits no but i saw some ppl complaining about it Mar 09 17:41:21 dlaroche: I dont collect any perosnal info. I set Analytics to anonymizeIP and only collect events like "user searched successful or failed", things like that so I know if users are struggling with the app. Mar 09 17:41:52 gaz`: yeah... thats why im worried... im doing some android projects myself, while my school works require me to have jdk 1.7 installed.. Mar 09 17:41:54 but I hear Flurry is nice. Will check it out. Thanks. Mar 09 17:42:25 QubeZ: then why do you give your users a choice to send this info? Why be so nice if your not sending personal info? Mar 09 17:42:40 just curious Mar 09 17:43:00 I just felt like there would be backlash if someone did find out and when I was at that fork in the road, devs in here recommended that I give the user an option and have it off by default. Mar 09 17:43:06 i could understand if you were grabbing their email address, and such Mar 09 17:43:27 nubits: you should be able to set the compiler level to 1.6 for your android projects Mar 09 17:44:03 nubits: set the compiler compliance level to 1.6, everything will be fine. Mar 09 17:44:05 QubeZ: I would just put a disclaimer the first time the app is ran/installed that informed the user that this data is being sent back to the servers, and that no personal info is collect, and that it is used to better the app Mar 09 17:44:23 automatic op-in pretty much the first time the app is ran Mar 09 17:44:30 dlaroche: Will think about that for the next build. Mar 09 17:44:33 then they can't say anything about it later Mar 09 17:44:35 lov & wongk : didnt knew i could do that... just found the option in eclipse.. thanks! Mar 09 17:44:48 just an idea! Mar 09 17:45:00 You have a valid point. Mar 09 17:45:03 I don't feel that is gray area Mar 09 17:45:18 I know how important user usage stats can be Mar 09 17:45:18 I was more nerous that if someone found out then they'd blast me on reviews and I lose my audience right away. Mar 09 17:45:54 Yea, its very important. I mean, we can build better videos around areas where people are struggling and put them as a featured vid of the week on the site. All info we'd need.. but if user doesn't turn it on then we're hosed. Mar 09 17:46:24 but if you give a dialog message the very first time the app is used, displaying this info then you should be alright. Then you can refute the comment by saying "you were informed of this when the app first installed" Mar 09 17:46:47 i made a second trailer for my up and coming game if anyone is interested :) Mar 09 17:46:58 dlaroche: I can put it in the first run tutorial. If you have the app installed, you'll know what I mean. Mar 09 17:47:16 i will install and check it out soon Mar 09 17:47:17 a screen by screen intro to the app launches and on the last screen I give some info about help / statistics. Mar 09 17:47:19 it's probably best to be as user friendly as possible in such a critical environment Mar 09 17:47:22 zombies n 2d http://youtu.be/-rcwOUMSbKE Mar 09 17:47:29 Hi all. I've problem about driver (I think). http://i.imgur.com/fmEiw.png . Why it is offline?? Mar 09 17:47:49 gaz`: seen that, your the dev right? Mar 09 17:47:56 yes Mar 09 17:48:17 under: I struggle with this sometimes too. Try exiting Eclips and restarting, being sure your device is active/screen on Mar 09 17:48:51 gaz`: the music rocks Mar 09 17:48:56 i havent seen that in particular, but a good thing to try is disabling and re-enabling usb debugging on the device Mar 09 17:48:56 dlaroche: I think is a driver problem cuz I cant explore sdcard too Mar 09 17:49:06 I've been wanting to get in game dev. but being a solo dev. I need to find a graphics person to take on board first Mar 09 17:49:20 sweet ill tell him u said so Mar 09 17:49:21 under: what OS are you running? Mar 09 17:49:28 W7 x64 Pro Mar 09 17:49:41 QubeZ he did tracks for both trailers, pretty good Mar 09 17:50:03 gaz': yeah buddy that game looks cool as fuck bro Mar 09 17:50:09 gaz`: i got a little scared just now Mar 09 17:50:17 the music, theme, and everything flow nicely Mar 09 17:50:26 i wouldn't play your game in the dark... i need flood lights on Mar 09 17:50:35 wow thx guys :) just wait til i actually finish it too :D Mar 09 17:50:38 trailer one http://youtu.be/OhByEk5SDZ8 Mar 09 17:50:44 QubeZ: right.....nice work gaz' Mar 09 17:50:52 thx dudes! Mar 09 17:51:13 usually its all just criticism, oh you could do this and this looks wrong etc Mar 09 17:51:13 <----- Is going to hire on gaz' for his games!! Mar 09 17:51:24 good to hear good stuff, pure gratification after all the work Mar 09 17:51:36 :-) dlaroche Mar 09 17:51:39 gaz': but that can be viewed as constructive criticizm Mar 09 17:51:40 gaz`: how long did it take you to develop something like that? Mar 09 17:51:55 6 monts Mar 09 17:51:57 months Mar 09 17:51:59 ?? Mar 09 17:52:02 just guessing Mar 09 17:52:16 maybe 1 yr, but i also developed a 2d games design toolkit to make it in Mar 09 17:52:19 seems like he has a good crew with him Mar 09 17:52:25 so i can make all sorts of games Mar 09 17:52:37 1 artist and 1 musician yeh Mar 09 17:52:38 lot of work! Mar 09 17:52:46 yeh LOTS Mar 09 17:52:51 gaz': i want a copy of the library!!! Mar 09 17:53:01 I've got a Layout some_content.xml that is match_parent : match_parent that so it will fill what ever layout it will be included into, then for small screens it's included into a top level layout that is just a ScrollView, and on a Tablet it is included into aother layout, and this is where my question is Mar 09 17:53:12 <---- Just buddied gaz' Mar 09 17:53:15 because it is match_parent it will fille what ever container it is included inside of Mar 09 17:53:26 dlaroche: so, can you help me? Mar 09 17:53:39 well hopefully itll be available Mar 09 17:53:51 under: you never did answer my question Mar 09 17:53:57 what OS are you developing on Mar 09 17:54:10 gonna use it as a reward on kickstarter too, so games devs can use it hehe Mar 09 17:54:11 under: what OS are you running? Mar 09 17:54:11 W7 x64 Pro Mar 09 17:54:21 hopefully itll have ability to epxort to multiplatform one day soon Mar 09 17:54:33 so does the near field communication stuff require special hardware or does it work via bluetooth or some other widely available hardware? Mar 09 17:54:36 gaz': i don't even know the first thing about game dev. but would be interested in looking at your library Mar 09 17:54:41 on the phone this is fine, but on tablet, I need a room LinearLayout just as a root element, sets background, filles parent, then another child linearlayout that is used to set the size of the include, but Eclipse complains this is unnecisary. whats another way of doing this? Mar 09 17:54:50 docgnome needs an actual nfc chip in phone Mar 09 17:54:57 then it is probably driver related Mar 09 17:55:03 under^ Mar 09 17:55:08 dlaroche i got vids of me using it online Mar 09 17:55:14 gaz`: T_T bummer Mar 09 17:55:26 gaz': sweet pm me the links Mar 09 17:55:31 dlaroche infact i tracked most of the dev on a youtube playlist, got 71 vids of the game being made lol Mar 09 17:55:42 gaz Mar 09 17:55:44 u can take it from day one to now on that playlist hehe Mar 09 17:55:44 pfn: there's definitely something wrong with the way the plugin handles dependent library projects. the lib project's jar contents are quite different when compiled via ant vs sbt Mar 09 17:56:00 gaz': i will subscribe to your channel just need a link Mar 09 17:56:00 Wavesonics: if the only thing inside of your outter layout is 1 inner layout, then one of the layouts isn't necessary Mar 09 17:56:04 got it thanks Mar 09 17:56:05 gaz`: was hoping it was bluetooth so i could write something for it. sadly my phone does that have that NFC chip , at least that i am aware of Mar 09 17:56:30 docgnome i didnt think mine did til i accidentally laid my phone on my passport and it detected the chip inside Mar 09 17:56:36 NFC is the shiiisnitttzzz when all phones start supporting it Mar 09 17:56:46 wongk, problem is, the outer layout needs to fill the screen to set the screen's background, and the inner one needs to set the size of the include child (b/c i dont want it filling the screen) Mar 09 17:57:14 gaz`: i should look mine up... pretty sure it's not though Mar 09 17:57:29 gaz': just subscribed to your channel Mar 09 17:57:33 gaz`: what phone? Mar 09 17:57:36 with email alerts!!! Mar 09 17:57:38 dlaroche im gonna sun all these vids up into a sort of documentary with some comments right at the end - a sort of poor mans game dev doc Mar 09 17:57:46 Wavesonics: well, you can just ignore the eclipse warning Mar 09 17:57:55 gaz': nice look forward to it Mar 09 17:57:55 ya :/ Mar 09 17:57:58 nice one dlaroche! just put 2 google sketchup ones up this monrring hehe Mar 09 17:58:00 wyvern`, how weird, pastebin jar tf of classes.jar for them built each way? Mar 09 17:58:42 pfn: http://pastie.org/3558691 Mar 09 17:58:52 gaz': 2:17 of the video seems like a Contra layout.....I love the old school Contra!!!! Mar 09 17:58:53 maybe the ant stuff merges their R contents into the master R or something Mar 09 17:58:53 gaz`: regarding NFC chips in passports and such... it's even worse with PayPass cards that don't have PIN input Mar 09 17:58:58 pfn: odd that the ant stuff has *less* Mar 09 17:59:06 (which is, iirc, everything other than Google Wallet) Mar 09 17:59:16 dlaroche yeh gfx nicked from metal slug and ghost n goblins Mar 09 17:59:26 sweet Mar 09 17:59:37 I'll look at it in 40 mins when I get to work Mar 09 17:59:39 p_l yeh could be worrying Mar 09 17:59:49 pfn: np. ill edit pastie to include code that NPEs. Mar 09 18:00:19 wyvern`, hmm, that's not a difference, ant puts the R in main project, the plugin puts it with the library project Mar 09 18:00:27 rather, the bytecode should be the same Mar 09 18:00:30 gaz': so let me get this correct....this is your own game engine? Mar 09 18:00:37 yes Mar 09 18:00:44 nice Mar 09 18:00:54 own game engine and toolset, the engine is built right into the toosl so it all reacts in real time Mar 09 18:00:55 why not use a pre-built engine? Mar 09 18:01:08 gaz`, link? Mar 09 18:01:09 i guess i just wanted to do one last major engine before i give up Mar 09 18:01:13 I mean what were you needing that a pre-built engine didn't provide Mar 09 18:01:16 and use the off the shelf ones Mar 09 18:01:20 gotcha Mar 09 18:01:27 gaz`: the problem is that the range they claim is the *expected to be 99% usable". real access range can be large enough that you didn't take the card out of wallet, nor wallet out of pocket Mar 09 18:01:29 Wavesonics http://www.radiantsilverlabs.com/tdw Mar 09 18:01:45 gaz`, sweet man! Mar 09 18:01:55 that looks awesome! Mar 09 18:01:56 gaz': so theortically, you could have developed this in under a year with a pre-built? Mar 09 18:02:05 dlaroche one of these days i wanna be a veteran of the industry with my own studio and i wanna know ive really made shit from scratch :) also i understand it better this way Mar 09 18:02:12 gaz`, how long did it take? Mar 09 18:02:18 gaz': <----- Get's the spotlight for the hour Mar 09 18:02:18 dlaroche yes prob in a very short time yeh Mar 09 18:02:28 Wavesonics 1yr maybe fulltime Mar 09 18:02:33 nice Mar 09 18:02:39 gaz`, maybe fulltime? Mar 09 18:02:45 well yeh fulltime Mar 09 18:02:49 say 65hrs a week Mar 09 18:02:53 passionate full time :) Mar 09 18:02:55 damn Mar 09 18:02:57 wow! Mar 09 18:03:08 how did u fund ur self? Mar 09 18:03:14 <---- Get's the spotlight for two hours then Mar 09 18:03:18 well its been split over many years Mar 09 18:03:25 gaz': <---- Get Mar 09 18:03:25 i actually started the engine in 2002 Mar 09 18:03:26 oh thats what i was asking :P Mar 09 18:03:31 it's really impressive Mar 09 18:03:37 oh yeh ive basically lumped that into an estimated 1 yr Mar 09 18:03:53 also it wa soriginally j2me which is another reason i wrote my own, none existed Mar 09 18:04:13 and ive kept it sort of low end in terms of cpu/mem so itll def work on all the devices etc Mar 09 18:05:09 the engine was actually built for this game: Mar 09 18:05:17 gaz': seems like you out did yourself buddy Mar 09 18:05:18 http://www.youtube.com/watch?feature=player_embedded&v=cNyI57ILyXs Mar 09 18:05:33 gaz`, ported to Android yet? Mar 09 18:05:33 yeh! got there in the end Mar 09 18:05:44 yeh its been ported at oen point but not latest code Mar 09 18:05:51 gaz': have you ever considered working with a multi-platform engine Mar 09 18:06:00 runs lovely theres some android previews in my "the dead walk" playlist on youtube Mar 09 18:06:03 also on xna at some point Mar 09 18:06:19 dlaroche starting with unity3d right now Mar 09 18:06:25 home time methinks Mar 09 18:06:28 cya monday Mar 09 18:06:32 cya CallumTaylor Mar 09 18:06:40 nice, i've been reading up on Unity and it seems the way to go Mar 09 18:06:53 gaz`, it's all Java based? Mar 09 18:06:58 gaz`: you could probably make the porting easier with IKVM - it's a Java VM for .NET Mar 09 18:07:05 Wavesonics: yes Mar 09 18:07:27 J2ME Mar 09 18:07:40 ported to Android/Wrappers written for port Mar 09 18:07:50 v nice Mar 09 18:08:07 that's what I say Mar 09 18:08:07 Wavesonics yes all java, right now the game exports only j2se versions of games Mar 09 18:08:27 but ports exist in various states hehe, the killers will be html5 and ios Mar 09 18:09:10 gaz': does the music play like this in the game? http://www.youtube.com/user/A1260T?feature=watch Mar 09 18:09:15 wow my globe is goign mad Mar 09 18:09:19 got like 5 visitors flashing up Mar 09 18:09:20 :) Mar 09 18:09:28 yeh Mar 09 18:09:38 lol....awesome Mar 09 18:09:50 I make "beats" too in my off time Mar 09 18:09:54 sweet Mar 09 18:10:01 maybe u can make one forthe game Mar 09 18:10:05 :-) Mar 09 18:10:06 maybe Mar 09 18:10:15 these are done by a friend of mine Mar 09 18:10:20 hes sort of hip hop guy Mar 09 18:10:25 really work well with the game tho Mar 09 18:10:25 that is my kind of genre or style of "beats" background music Mar 09 18:10:30 me too Mar 09 18:10:35 yeah great fit for the game Mar 09 18:10:48 http://www.youtube.com/watch?v=QS4YuN5ChHk Mar 09 18:10:48 windows totally sucks. I'm gonna install linux Mar 09 18:10:48 i was actually wantign him to emulate another tune from the bionic commando trailer Mar 09 18:10:50 its amazing Mar 09 18:10:53 gaz': you US based? Mar 09 18:11:02 from UK but living in Taiwan Mar 09 18:11:06 ok Mar 09 18:11:30 evancharlton haha thats it, i made most of that trailer too but they edited it up and ruined it :) Mar 09 18:11:42 gaz': you model in Google Sketch and then export to your game? Mar 09 18:11:58 dlaroche no just been experimenting with that this morning Mar 09 18:12:03 trying to avoid work Mar 09 18:12:15 gaz': all your vids. got melo-dramatic theme music.....love it Mar 09 18:12:20 hahaha Mar 09 18:12:53 gaz': yeah.....that's why I haven't dived into game dev. the graphic assets are beyond me Mar 09 18:12:54 this is an english classic Mar 09 18:12:59 based on spectrum 48k version Mar 09 18:13:04 me too! Mar 09 18:13:15 dlaroche: im making triple a games now Mar 09 18:13:19 and i have 0 artistic integrity Mar 09 18:13:31 lol Mar 09 18:13:34 mikedg: can you expand further? Mar 09 18:13:44 you mean income wise? Mar 09 18:14:05 he actually means that he's made 3 games ever Mar 09 18:14:09 he made a game, triple. Mar 09 18:14:17 no, i mean like these games are the groundbreakingest shit ever Mar 09 18:14:23 lov: oohhhhh....... Mar 09 18:14:24 i was making games in html Mar 09 18:14:27 but now im doing unity Mar 09 18:14:31 hold on ill get you a link Mar 09 18:14:52 http://impact.mikedg.com/unz/ this was my latest abandoned proof of concept Mar 09 18:15:00 what is this now.....marketing oppurtunity/steal gaz' spotlight??? Mar 09 18:15:08 abandoned??? Mar 09 18:15:08 yeh he means AAA games like call of duty, GTA Mar 09 18:15:28 i long to work on them again but only if im also designer :-) Mar 09 18:15:37 yeah, it was abandoned due to being too similar to terrorist training simulators Mar 09 18:15:46 i need to be able to travel freely for my job Mar 09 18:15:50 and cant risk being detained Mar 09 18:16:02 gaz': that's my problem.....damn designing....I have a graphic desinger on board, but nothing to do with games though Mar 09 18:16:21 mikedg: then pass on your work Mar 09 18:16:36 nice mikedg im gonan learn unity Mar 09 18:16:54 gaz`: unite mang Mar 09 18:16:57 dlaroche im ok at design but i suck at actually drawing Mar 09 18:17:19 mikedg: you missed a lot of steps in the game.....I mean the logic is there, but no realism Mar 09 18:17:33 it's surrealistic Mar 09 18:17:49 yeh kinda scary the way u turn and theyre in your face Mar 09 18:17:52 (thats what she said) Mar 09 18:17:58 it's modeled after picassos starry nights Mar 09 18:18:07 but i need a better skybox Mar 09 18:18:09 mikedg: when you kill someone you only see a blunt wedge fly from the screen and half ass wake somebody Mar 09 18:18:21 see I'm confused Mar 09 18:18:41 so you can use Google Sketch Up to render 3D models to use with game engines?? Mar 09 18:18:53 or Picassa for that matter???? Mar 09 18:18:58 yes u can Mar 09 18:19:02 hey THIS is cool! Mar 09 18:19:03 matter???? Mar 09 18:19:05 er Mar 09 18:19:09 theres a vid on my page i liked this mornign shows u how using jmonkeyengine Mar 09 18:19:09 having copy & paste issues... Mar 09 18:19:32 peopel generally dont tho Mar 09 18:19:39 https://developers.google.com/playn/overview Mar 09 18:19:41 best to use unity3d and get some decent models made up Mar 09 18:19:44 gaz': i thought JMonkeyEngine could bring in .obj objects, but didn't know the limitations for it Mar 09 18:20:04 gaz': why not?? Seems like an easy approach Mar 09 18:20:35 that link http://www.youtube.com/watch?v=ekyROhih55M&context=C48acb0fADvjVQa1PpcFNBVasNWCgwwBvaYZZBOm-GnY2Ze050grE= Mar 09 18:20:40 if I define the permission ACCESS_FINE_LOCATION in my manifest.xml does that include ACCESS_COARSE_LOCATION ? Mar 09 18:20:43 gaz': but I can render and sketch models way better in Blender then I can with Google Sketch Up, but didn't think the models would import right Mar 09 18:20:48 do I have GPS AND WiFI with FINE_LOCATION? Mar 09 18:20:49 DashCC: yes Mar 09 18:20:50 prob just cruder models on the whole, less mature tools Mar 09 18:21:08 fine emcompasses coarse in permissions Mar 09 18:21:10 blender is good for using i think Mar 09 18:21:12 sounds good, thanks QubeZ Mar 09 18:21:23 im not a 3d guy really Mar 09 18:21:24 wish i was Mar 09 18:21:31 me either Mar 09 18:21:37 i lack msic making and 3d modelling, theyre on my list Mar 09 18:21:38 but i have been reading and studying Mar 09 18:21:48 music* Mar 09 18:22:02 yeh imattempting to read a book on android Mar 09 18:22:09 and I have been working with Blender since I have a certification in AutoCAD, and am really good at 3D modeling in that program Mar 09 18:22:48 dont seem to have time for books any more Mar 09 18:22:55 I'm good at 3D with AutoCAD, and I know it exports .obj, but will these work??? Mar 09 18:23:04 not that i ever did, ive only ever read code books Mar 09 18:23:09 yes i think so Mar 09 18:23:26 sweet....so I am only holding myself back with doubts then?? Mar 09 18:23:37 yes Mar 09 18:23:43 recommend u check out Unity3d Mar 09 18:23:45 if I can build models in AutoCAD, and use them for Android games, then I am set..... Mar 09 18:23:53 or if u wanna play for a bit processing.org Mar 09 18:24:02 i use that and have import objs Mar 09 18:24:03 cool Mar 09 18:24:29 unity3d looks too good to be true Mar 09 18:24:33 what purpose does a seesaw serve? Mar 09 18:24:33 but i think its actually true Mar 09 18:24:46 enjoyment? Mar 09 18:24:56 I know a shit load of people from my class that would love to build 3d assets, but I didn't think they would import correctly Mar 09 18:25:12 obj is pretty mainstream i think Mar 09 18:25:51 cool....I don't know....game dev. / .obj are a mistery to me. Mar 09 18:26:00 game dev is amazing Mar 09 18:26:09 gaz': it looks really fun Mar 09 18:26:10 when someone finally plays your game is when the graktification comes in Mar 09 18:26:20 just never knew where to start Mar 09 18:26:20 when millions play it well then its something Mar 09 18:26:29 the Deitel books don't really cover that.....lol Mar 09 18:26:29 mikedg what games u done btw Mar 09 18:26:39 id like to work on call of duty :D Mar 09 18:26:55 gaz Mar 09 18:27:22 yeh Mar 09 18:27:23 ? Mar 09 18:27:40 gaz': the realism research they did for the game is amazing.....the recorded actual gun shots for the game Mar 09 18:27:51 nice Mar 09 18:27:57 best game created imho Mar 09 18:27:57 weapon modeling is amazing too Mar 09 18:28:00 multiplayer that is Mar 09 18:28:05 i donteven touch the one player Mar 09 18:28:09 Battlefield 3 is up there though Mar 09 18:28:18 yeh Mar 09 18:28:21 gaz`: i made Miss Pac-Man Mar 09 18:28:27 niceee Mar 09 18:28:33 psn? Mar 09 18:28:41 arcade Mar 09 18:28:45 wow man Mar 09 18:28:49 thats freakin amazing Mar 09 18:28:52 respect! Mar 09 18:28:55 alright buddies....I'm outta here.....time to run some errands Mar 09 18:29:04 cya dlaroche Mar 09 18:29:25 thats the shit i grew up on, so much better than pacman too Mar 09 18:29:43 bet it had a killswitch Mar 09 18:29:59 http://www.youtube.com/watch?v=DgqE2fwKt4c Mar 09 18:31:35 http://www.appleinsider.com/articles/12/03/09/google_asus_rumored_to_team_up_for_co_branded_7_tablet_later_this_year.html Mar 09 18:32:07 w00t Mar 09 18:32:11 yet anther tab Mar 09 18:32:19 more the devices that run android the better tho :D Mar 09 18:32:31 look at that res Mar 09 18:32:33 thats silly Mar 09 18:33:16 if this keeps up i wont need to optimis my game :-} Mar 09 18:34:46 hi to all. Mar 09 18:34:59 some one here is familiar with Ksoap2? Mar 09 18:35:20 same thing from the verge http://www.theverge.com/2012/3/9/2856504/google-branded-7-inch-asus-tablet-coming-as-early-as-may-says Mar 09 18:35:46 i always find the comments interesting Mar 09 18:35:55 nice Mar 09 18:35:57 I like asus Mar 09 18:36:20 :) Mar 09 18:36:40 should make a good testing device :) Mar 09 18:37:02 hehe Mar 09 18:37:15 i didnt make the famous miss pacman Mar 09 18:37:33 i made a porno game for japanese arcades Mar 09 18:37:39 haha Mar 09 18:37:41 pacman goes away on business Mar 09 18:37:49 lol Mar 09 18:37:56 im busy remaking frisky tom do u know that game Mar 09 18:37:56 and miss pacman goes around eating the power pellets of all the men in the neighborhood Mar 09 18:38:04 no Mar 09 18:38:07 what is frisky tom Mar 09 18:38:07 ah Mar 09 18:38:14 just some hilarious old japanese game Mar 09 18:38:31 i gotta get back to work Mar 09 18:38:38 cya Mar 09 18:39:16 mikedg a bit of background on frisky tom for when u get bored, this is my site lol https://sites.google.com/site/friskyandroid/ Mar 09 18:39:34 http://tech.slashdot.org/story/12/03/09/031200/google-to-devs-use-our-payment-system-or-be-dropped Mar 09 18:41:35 g00s that isnt new Mar 09 18:41:35 like Mar 09 18:41:40 that's ALWAYS been in the terms of service Mar 09 18:41:50 if you distribute through the market, in app paymetns have to be done through the market Mar 09 18:42:33 ^^ Mar 09 18:42:36 canadiancow|work: i have to admit, i haven't use any other payment system Mar 09 18:43:01 canadiancow|work: were you finally able to go pee ? Mar 09 18:43:05 cya guysneed beer Mar 09 18:43:06 lol yes Mar 09 18:43:09 and our bathrooms are working aain Mar 09 18:43:13 :) Mar 09 18:44:04 What is the correct syntax for android:background="@color/GREY" ? Mar 09 18:44:14 maxagaz: use the android namespace Mar 09 18:44:22 android:color or something Mar 09 18:46:19 g00s is correct Mar 09 18:47:20 g00s: I can't find anything about it Mar 09 18:48:17 wyvern`, hypothesis: rm -rf app-project/gen Mar 09 18:48:19 maxagaz: i use android:color/white and it works, maybe its gray not grey Mar 09 18:48:25 wyvern`, I think the library project's R.java is stale in there Mar 09 18:49:12 yet new git build for mac Mar 09 18:49:16 *yey Mar 09 18:49:16 wyvern`, that would result in NPEs when you try to access layout resources and stuff Mar 09 18:49:27 the only reason I ever update my git install is because of a bug Mar 09 18:49:41 e.g. git svn clone dying resulted in me updating it a while back Mar 09 18:49:47 but before that, I hadn't updated it in >1 yr Mar 09 18:50:00 g00s: it seems to work only for black and white Mar 09 18:50:09 :| Mar 09 18:51:41 pfn: i've already ant cleaned multiple times and as soon as I sbt build it's busted Mar 09 18:51:46 seems quite repeatable Mar 09 18:52:06 wyvern`, you ant cleaned, built with ant and then with sbt? Mar 09 18:52:24 ant clean in lib project and app project: works Mar 09 18:52:37 what's the NPE on? Mar 09 18:52:45 Okay, exporting isn't a problem. But how can I let the user import a file from their sd card or internal memory? Mar 09 18:52:52 inside the lib project as it tries to load a view (see previous paste) Mar 09 18:53:23 if I sbt build, then ant clean only the app proj, still busted. I ahve to ant clean the lib project and then do an ant build of the app to get it working. Mar 09 18:53:25 wyvern`, you deleted it Mar 09 18:53:30 oh did i? hang on Mar 09 18:53:58 pfn: http://pastie.org/private/frvkdcw59ie2g4s3l6edfq Mar 09 18:54:47 grep listTextView app-project/gen/project-package/R.java lib-project/gen/lib-project-package/R.java Mar 09 18:54:53 I'm curious if they're different here Mar 09 18:55:04 and if so, why... Mar 09 18:56:53 pfn: ant build => same, sbt build => different Mar 09 18:57:24 well, I have an idea why... now pondering how to fix it Mar 09 18:57:34 I made something of a busted assumption about how the build works Mar 09 19:05:01 wyvern`, gimme a few minutes while I figure some things out Mar 09 19:05:13 I'm still not sure which resolution types to support Mar 09 19:05:33 Should I provide a hdpi, ldpi and mdpi? Mar 09 19:06:39 hey slutbags Mar 09 19:06:43 they added more 49 cent apps Mar 09 19:07:37 strange https://play.google.com/store/apps/details?id=com.aide.ui Mar 09 19:08:42 Lol, they changed name to Google Play :p Mar 09 19:09:35 lame Mar 09 19:09:40 mikedg, thanks Mar 09 19:09:53 g00s, saw that in the blogosphere earlier Mar 09 19:11:15 mikedg, lies Mar 09 19:11:18 mikedg, same ol 49c Mar 09 19:13:54 Does anyone know if Android 2.2+ devices always support multiple OpenGL contexts? Mar 09 19:18:37 wyvern`, yeah, bad assumption, I'll have it fixed in a few minutes, I think Mar 09 19:18:43 This might be a stupid question, but i just dont get it. Why are coordinates floats instead of integers? ie. MotionEvent.getX() Mar 09 19:18:58 wyvern`, in my library project setup, I have all resources only in the library project... Mar 09 19:19:04 now I understand the value of --non-constant-id Mar 09 19:19:05 heh Mar 09 19:20:18 Ktomislav: because the touch screen does not deal with pixels Mar 09 19:20:31 I really wish resource generation were somehow hash-based rather than dumb serial numbers Mar 09 19:20:39 Does anyone know if the final ActionBarSherlock 4.0 release needs the support library or not? Mar 09 19:21:56 romanianguy_ but it will eventually get converted to integer because you cant draw 1.5 pixels Mar 09 19:21:58 last i checked it had it's own support library as a pluginb Mar 09 19:22:19 yeah, but I dont see it in the release tarball. Mar 09 19:22:35 and there are samples which reference SherlockFragmentActivity Mar 09 19:23:06 Ktomislav: that's for drawing Mar 09 19:23:18 Ktomislav: but touch events are also used to compute velocity, etc. Mar 09 19:23:43 (and you can do subpixel positioning with antialiasing, of course it's not *true* subpixel positioning but it's good enough) Mar 09 19:23:56 note that all the Canvas methods take float coordinates Mar 09 19:24:23 mrenouf|work: it's in library/libs Mar 09 19:24:43 well i guess it makes sense Mar 09 19:26:24 How do I put an @ symbol in strings.xml? Mar 09 19:26:47 \@ maybe idk Mar 09 19:27:11 if you cant do it just like @ Mar 09 19:27:32 I've tried escaping it, single quoting, double quoting, and replacing it, but it still gives me errors. Mar 09 19:28:17 wongk, hmm k. I will give it a try and report back. Mar 09 19:29:04 i have set android:layout_alignParentBottom="true" and it's fine when the application starts and when it turns to landscape, but when i turn it back to portrait the button stays on the left. Is it just emulator that is bugged or is it supposed to be like that? Mar 09 19:29:38 MalRD: in the string name or the string value? Mar 09 19:29:50 wongk: String value. Mar 09 19:30:02 MalRD: that doens't give me an error Mar 09 19:30:55 Ktomislav: do you have different layouts for landscape and portrait? Mar 09 19:31:04 Ktomislav: I very strongly suspect that the emulator is not buggy. Mar 09 19:31:39 It doesn't given me an error when I put it into the strings.xml file, but it does whenever I attempt to use it in a layout. I think it is parsing the @ sign and then looking for an ID. Mar 09 19:32:05 i'll check Mar 09 19:32:57 MalRD: oh, that's interesting Mar 09 19:33:33 MalRD: try this instead: \u0040 Mar 09 19:34:24 Yeah, gives the same thing. Mar 09 19:34:32 oh, wow Mar 09 19:35:08 how about: @ Mar 09 19:37:11 All the replacements gave the same thing. The only way I got it to "work" was by putting single quotes around it, but then the quotes show up. Mar 09 19:37:16 escaping (\@) just worked here Mar 09 19:37:45 lov: Not that i know of. I guess I should have separate xml files to have different layouts for the same screen, but I have just one xml file in layouts. Mar 09 19:37:56 I'm using RelativeLayout Mar 09 19:38:46 pastebin your layout, please Mar 09 19:39:52 bitkiller: How did you put it into a layout? I've tried it in three different layouts that work, until I add a TextView with a reference to that string. If I remove the @, they all work. Mar 09 19:40:06 Anything I can do to force close an app? Mar 09 19:40:51 Kake_Fisk: uh... Mar 09 19:40:54 Kake_Fisk: as in your own app? Mar 09 19:40:56 http://pastebin.com/qGpvq1yg Mar 09 19:41:19 lov: No, other apps. Games tend to crash on my Android phone a lot Mar 09 19:41:32 http://hothardware.com/News/Report-Says-Tablet-Fever-Will-Reach-OneThird-Of-US-Adults-By-2016/ "manufacturers such as Amazon and Barnes and Noble are making the biggest impact." but aren't amazon and b&n selling android devices at a loss? not very encouraging. Mar 09 19:41:32 are you asking how to make a task manager? Mar 09 19:41:36 lol Mar 09 19:41:37 I'm not sure what you're asking Mar 09 19:41:45 you can always go to settings -> applications, select the game, hit force stop Mar 09 19:41:46 AIDE? Mar 09 19:41:48 kill Mar 09 19:41:53 what is this sorcery Mar 09 19:42:01 g00s: they're making a profit on the backend Mar 09 19:42:10 canadiancow|work: but did the terms for 3rd party iap processor just change, or was it always that way but now google is cracking down ? Mar 09 19:42:10 profit?! Mar 09 19:42:16 and the loss is probably nominal in that the hardware costs are covered Mar 09 19:42:19 how is making a prifit Mar 09 19:42:20 were they not cracking down before? Mar 09 19:42:28 is this not just a case of ONE publisher getting pissed and going to the press? Mar 09 19:42:30 kindle fire is actually kind of cruddy hardware :P Mar 09 19:42:35 the terms did not change Mar 09 19:42:39 canadiancow|work: probably Mar 09 19:42:44 lov: Okay, a game I just bought froze. I'm still in the game, but I'm asking if there's a way to shut the app down so I don't have to restart my phone. Mar 09 19:42:52 ok, arstechnica seems to imply that this is new Mar 09 19:42:53 canadiancow|work what are u reffering to? Mar 09 19:43:00 g00s' question Mar 09 19:43:11 Jug6ernaut: Get a Kindle Fire as a present? Well, may as well buy a few books to use on it. Oh, a free month of Amazon prime! Let me watch movies and forget to cancel this and continue to be billed $70/mo Mar 09 19:43:19 Oh hey cool audiobooks too Mar 09 19:43:32 lol Mar 09 19:43:33 maybe I should get some more apps for this, I'll head on over to the amazon app store Mar 09 19:43:39 "Google says, however, that the policy isn't new and is clearly explained in the Android Market terms of service." Mar 09 19:43:40 $$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$4 Mar 09 19:43:47 yes g00s Mar 09 19:43:50 ive read the TOS Mar 09 19:43:52 i knew it was there Mar 09 19:43:53 ok, so this dev as an idiot Mar 09 19:43:57 YES Mar 09 19:43:59 thank you Mar 09 19:44:10 its all for customer convenience Mar 09 19:44:14 70/yr you mean noob Mar 09 19:44:24 I'm so hardcore, I cause ArrayOutOfBoundsExceptions in layouts. Mar 09 19:44:27 lov someone complaining about that? Mar 09 19:44:42 "Oh damn i need to sign up for google wallet to buy an app? ok fine *signs up*. wait now i have to sign up for something else to buy another feature in this app? wtfux :(" Mar 09 19:45:00 lol Mar 09 19:45:12 * Jug6ernaut goes to the google playground Mar 09 19:45:18 o wait no thats gay Mar 09 19:45:30 So Mar 09 19:45:31 prime is so weird Mar 09 19:45:51 Kake_Fisk: ..... Mar 09 19:45:57 MalRD, android:text="\@Login" Mar 09 19:45:59 Kake_Fisk: are you asking how to do it through adb? Mar 09 19:46:11 Kake_Fisk: through eclipse, go to the ddms tab, pick the packagename, click the stop sign Mar 09 19:46:16 lov: That doesn't matter. I just want it killed Mar 09 19:46:18 through adb shell, ps | grep packagename | kill Mar 09 19:46:31 adb shell, hmm, I'll look for it Mar 09 19:46:41 adb.exe? Mar 09 19:46:47 ..... yes >_< Mar 09 19:46:54 lol... Mar 09 19:47:01 :) Mar 09 19:47:12 Kake_Fisk r u running cyangenmod? Mar 09 19:47:26 3 views in a linear layout, each height set to either wrap_content or 0dp (tried both with no success), with weights set to .3 .4 .3 -- why the frig can I not get the heights to auto adjust based on those proportions? it seems like every time I have to set a layout up, it's a roll of the dice as to whether it actually listens to the parameters I give it. right now the middle view takes up 99% of the height: http://pastebin.com/N8FRd Mar 09 19:47:26 any clues? Mar 09 19:47:29 Jug6ernaut: I don't know what that is. But I have eclipse Mar 09 19:47:31 if so it has a feature where u long press backbutton to kill forground process Mar 09 19:47:35 o Mar 09 19:47:46 bitkiller: That shows up as \@Login for me. Removing the \ makes it error. Mar 09 19:47:48 ohh, sounds nice Mar 09 19:47:50 ah Mar 09 19:48:08 Escaping the escape (\\@Login) makes it show up as \\@Login. Mar 09 19:48:10 Kake_Fisk plug ur device into computer, got to the eclipse view "devices" Mar 09 19:48:29 MalRD, wow Mar 09 19:48:30 Ktomislav: no idea offhand what's wrong with your layout. Use the GUI builder in Eclipse to preview it, then switch from landscape to horizontal, see what shows up. Mar 09 19:48:48 open it if not so already, select ur device, find package of game that is frozen, click on it, then click the stop sign Mar 09 19:48:50 should kill it Mar 09 19:49:02 it shows what you would expect it to show Mar 09 19:49:05 I'll try something like that Mar 09 19:49:24 but nvm its not that important right now Mar 09 19:50:37 and btw am i doing something wrong or does emulator crash often when you use camera via intent? Mar 09 19:52:01 Okay, I'm in eclipse now, but I don't know what to do. Where do I find running processes`? Mar 09 19:52:37 Find the DDMS perspective Mar 09 19:53:12 ~DDMS Mar 09 19:54:23 Oh, think I found iy Mar 09 19:55:51 Okay, I see the process list as well, I'll try this out Mar 09 19:57:13 It didn't crash this time, but I'll try it next time something crashes Mar 09 19:57:18 Thanks for the help though Mar 09 19:57:30 How do I find out the default values of styles? Like, what's android"gravity by default for a