**** BEGIN LOGGING AT Sun Apr 08 03:00:01 2012 Apr 08 03:32:52 any root their kindle fire? Apr 08 03:36:32 hwrd|work: that seems to have done the trick, although still a little clunky :) Apr 08 03:37:09 b0nn: Awesome! Glad it worked! Apr 08 03:39:34 how long does it normally take for the developer console to update? Apr 08 03:39:57 How much money did you give it? Apr 08 03:40:28 the 25$ to sign up Apr 08 03:40:44 The more you pay Google, the faster it updates. Apr 08 03:40:54 (The real answer is around 24 hours. But it varies.) Apr 08 03:40:55 lol Apr 08 03:41:21 thank you :) and does it take about the same time to update in my merchant account? Apr 08 03:41:47 I don't have a merchant account so i can't help there Apr 08 03:43:14 merchant account (Google checkout) updates are almost real time Apr 08 03:43:23 Well there you go Apr 08 03:45:55 does it not show anything until you've verified your bank account? Apr 08 03:49:44 I don't recall; it has been a couple years since I set it up Apr 08 03:56:14 hey devs - what are my options in buying apps from the google play market? i have a discover credit card and my company keeps flagging all these micro purchases as fraud prevention - was there another way to buy credit in bulk or pre-pay so that i can just purchase $1.99 / $3.99 / $0.99 things easier. It would have been nice if there was a way to pay via paypal. I don't have much of an issue doing this on amazon since I purchase al Apr 08 03:56:15 ready outside of android items Apr 08 03:57:43 i haven't purchased anything from android market yet because of trying to figure out better payment options - so i figure i'd ask you - since it's $$ coming back Apr 08 04:03:04 sirscrubsalot: wow Apr 08 04:03:24 sirscrubsalot: You're using google wallet right? Why is your CC company flagging that? Apr 08 04:03:59 no hwrd|work - i haven't used google wallet yet* i see that as one of the options from the google support page Apr 08 04:04:14 protip: google wallet Apr 08 04:04:52 right now, i have been grabbing some free items on google play and paying for whatever already linked to my amazon account with 1-click and the amazon apk - but there's a few (rather a lot) not on the latter market. Apr 08 04:05:24 does google wallet allow me to put a particular credit amount? Apr 08 04:05:48 or rather, let me rephrase - can i purchase e.g. a $100 debit gift/card, register it and apply that to google wallet? Apr 08 04:06:43 from the site : You can make purchases through Google Wallet using a credit, debit, or gift card /// so i suppose so Apr 08 04:07:41 my discover card company just keeps extra eyes on anything random - i can't complain. Apr 08 04:10:36 sirscrubsalot: I guess not. But every checkout that goes through google wallet has the "GOOGLEWALLET" in the transaction name. Apr 08 04:10:45 That might be a better sign to your CC company. Apr 08 04:10:54 Well, either "GOOGLEWALLET" or "GOOGLECHECKOUT" Apr 08 04:11:21 has anyone had any problems with webviews no longer loading urls after leaving an activity with a webview and returning back to it? Apr 08 04:11:23 yeah hwrd|work - thanks - i am at their google market support page - i was going to get a call back and discuss with them Apr 08 04:11:31 made the list!! http://www.androidpolice.com/2012/04/07/39-best-and-1-wtf-new-android-apps-and-live-wallpapers-from-last-week-32812-4712/#mlb-com-at-the-ballpark Apr 08 04:11:33 thanks for the input though hwrd|work Apr 08 04:12:06 sirscrubsalot: np. Apr 08 04:13:28 hwrd|work, before i forget and setup anything to the android market and google wallet. does that one google account get tied into all my purchases? e.g. i've read a lot of people fussing about setting up another google account/gmail address to another phone - and having difficulties transferring previously purchased applications - was that issue all resolved now? Apr 08 04:14:23 i did glance that some dev's if contacted may re-port the app (pardon my terminology in describing this) to the new account / or i am not sure if google market does this on a case-case request Apr 08 04:46:11 Having an issue launching a buddies app that I'm testing, just doesn't do anything Apr 08 04:46:15 http://i.imgur.com/SH6TX.png Apr 08 04:46:25 did a logdump Apr 08 04:47:19 you did a dump as a screenshot? seriously? Apr 08 04:47:27 excuse me while I go lol. Apr 08 04:47:33 no i have the actual log Apr 08 04:47:34 lol Apr 08 04:49:15 http://pastebin.com/F3XavQLv Apr 08 04:49:17 full log Apr 08 04:49:21 also, motorola. lol. Apr 08 04:50:13 >.> Apr 08 04:50:21 also, logging debug info as errors. lol. Apr 08 04:51:41 Tell Stabby to stop spazzing out, and to spell bunny properly. Also, learn to read. Apr 08 04:52:48 cant tell if troll, or just plain moronic Apr 08 04:53:08 No, it's quite obvious that you're a plain moron. Apr 08 04:53:19 And so is your buddy. Apr 08 04:56:30 someone? Apr 08 04:59:25 someone is here? Apr 08 05:01:06 if an app is deleted from system/app but remains in cache or dalvik cache, can that prevent installation of another app of same package name but different signature? Apr 08 05:01:32 hi, any android system developer? i have a technical question about the dalvik VM Apr 08 05:08:09 i'm having an issue with a webview no longer loading urls after leaving the activity and returning to it, the relevant code can be found seen here http://pastebin.com/J1BcfEeU Apr 08 05:47:37 does stopTimers() on a webview apply to all webviews in your application? Apr 08 05:47:58 stopTimers = pauseTimers() Apr 08 05:52:31 is there any way to pause timers on a specific webview instead of all of them? Apr 08 05:59:16 What's the proper way to go about checking if you have an internet connection in ICS? It seems it changed Apr 08 06:10:49 Oh nevermind, it didn't change. I'm getting a android.os.NetworkOnMainThreadException when using a UrlConnection Apr 08 06:10:55 ... in a service. Apr 08 06:12:34 vadi2: http://pastebin.com/sSeEFJKv Apr 08 06:13:18 Yeah, thanks. Turned out the issue was different, see above. I changed my platform targetting level when migrating the project, so it enabled this: http://developer.android.com/reference/android/os/NetworkOnMainThreadException.html Apr 08 06:13:44 However it's not making sense at all as to why is it going off in a -service-. It's what I'm supposed do, it's not related to the UI, it should not be going off :| Apr 08 06:14:49 well you dont want to do any network operations on the ui thread Apr 08 06:16:13 It's a Service. Apr 08 06:32:42 This is annoying, modifying the thread policy to 'allow' this isn't having the intended effect either. Apr 08 06:33:00 Don't do that Apr 08 06:33:27 Yes well, I'd like it to work, and from what I'm seeing, it's being pretty wrong on throwing me the error. Apr 08 06:33:54 My asynchronous call to my Service to perform a network request will not affect the UI like it thinks. Apr 08 06:34:44 Services run on the UI thread Apr 08 06:34:46 (also, with ABS, should my project build target be ICS? Website says it should, but Eclipse gives a red x for 2.3 devices, even though it runs) Apr 08 06:34:51 unless you are using an IntentService Apr 08 06:34:59 or spawning your own thread Apr 08 06:35:01 It's a separate process in this case, I define it so in the xml Apr 08 06:35:20 you can target 11 or higher Apr 08 06:35:25 you have to compile with 14 or higher Apr 08 06:35:31 your min can be 7 or higher Apr 08 06:36:06 I usually compile with 14, target 15, and have a min of 7 or 8 Apr 08 06:36:26 Alright, seems like I've got that setup already so Apr 08 06:40:15 No clue what to do in regards to this NetworkOnMainThreadException. It's happening in a service that's in a different process from the main one, and not going away with a policy change either. Apr 08 06:40:56 Perhaps ask a StackOverflow question? Apr 08 06:41:03 You're beyond what I've done specifically so I'm not sure Apr 08 06:42:02 Yeah, guess I will. Glad I caught it now - only did so because my tablet amazingly enough for a firmware update to ICS Apr 08 06:42:12 *got a Apr 08 06:42:37 heh, nice! Apr 08 06:42:44 I'm glad more devices are finally getting to experience ICS Apr 08 06:47:53 hello, i was wondering how tax works with the android marketplace Apr 08 06:47:57 is there any reference i could check? Apr 08 07:21:42 bfig: if you're sitll around Apr 08 07:22:05 You have to provide a SSN or EIN to collect tax Apr 08 07:22:05 yes Apr 08 07:22:18 but do i need to pay if i'm outside the US? Apr 08 07:22:22 or you can be limited to $500 withdrawls and Google will handle it for you Apr 08 07:22:23 i'm in UrUgUaY currently Apr 08 07:22:34 hm Apr 08 07:22:37 I dunno outside the US Apr 08 07:23:01 bfig: are you a US citizen at all? Apr 08 07:23:16 nope Apr 08 07:24:16 then I'd assume that they wouldn't bother asking you Apr 08 07:24:26 unless your local laws have some other way of providing tax Apr 08 07:25:31 bfig: check the google checkout merchant guidelines - you use that if you want to sell apps Apr 08 07:25:39 yes.. i just checked some google page that explained Apr 08 07:25:58 i didn't find it before googling that's why i asked Apr 08 07:26:04 thanks for the info Apr 08 07:26:12 mhm Apr 08 07:26:15 yeah, its a bit unclear Apr 08 07:26:31 because your developer account would use a checkout merchant account, which is being replaced by wallet Apr 08 07:26:34 so docs are all over the place Apr 08 08:33:19 so is it possible to populate an expandable list view with purely static content directly from XML? Apr 08 08:37:53 anyone here use lac lion, and really understand how the JDK is installed and packaged by apple ? Apr 08 08:37:59 *mac Apr 08 08:42:02 very carefully in their walled garden Apr 08 08:42:28 i can't get straight answers on this, because its such a poorly designed f'd thing Apr 08 08:42:40 somehow i wound up with java, i forgot how Apr 08 08:42:49 ok, but needed the jdk, and installed that ... Apr 08 08:42:59 but it did nto get updated lately (Apr 3) Apr 08 08:43:12 so i went to install an update, and all hell broke loose Apr 08 08:43:34 i just want one fucking bundle for JDK 6 okthxbai Apr 08 08:43:55 on one hand, i have had far fewer problems with apple stuff than linux Apr 08 08:44:05 otoh, i think mac os x is still a piece of shit Apr 08 08:44:21 cool story bro. Apr 08 08:44:21 its 2012, and they still don't have a good package manager Apr 08 08:44:28 azm: thanks ! Apr 08 08:44:31 np Apr 08 08:44:40 the lack of a first-party package manager is troublesome Apr 08 08:44:41 azm: btw, that's lov's line, you aren't cool enough to use it Apr 08 08:44:50 I guess they're trying to make the app store one Apr 08 08:45:34 I do miss apt :( Apr 08 08:45:51 ok if I should join bashing Apr 08 08:45:57 then I miss it too :( Apr 08 08:47:35 https://discussions.apple.com/thread/3318476?start=0&tstart=0 Apr 08 08:47:47 "Reinstall Lion and then the Java update. No issues here with either." Apr 08 08:47:54 you *have* to be fucking kidding me! Apr 08 08:48:05 * g00s rages Apr 08 08:48:50 <`z> LOL Apr 08 08:49:09 most advanced os in the world MY ASS Apr 08 08:49:15 * alankila installed jdk7 on os x 2 days ago Apr 08 08:49:28 <`z> lol Apr 08 08:49:53 alankila: i did originally have one version of it working; but i must of installed teh wrong update and it got screwed Apr 08 08:50:11 i updated manually because OS X was not showing that there was an update available, when there should have been Apr 08 08:50:19 (that security issue) Apr 08 08:50:22 yes, THAT one Apr 08 08:50:28 alankila: so , wtf did you do ? Apr 08 08:51:26 well I got the official jdk7u4 thing from jdk7.java.net Apr 08 08:51:54 alankila: you didn't use the apple shit? Apr 08 08:51:59 emphasis on 'shit' Apr 08 08:52:02 installed that with pkg-tool to the default location, /Library/Java/JavaVirtualMachined/1.7.0.jdk/Home, disabled system java6 using the java utility, then hacked eclipse to boot with that java Apr 08 08:52:09 oh, I got that stuff installed Apr 08 08:52:30 but that java is disabled with the java tool anyway Apr 08 08:52:45 is 7u4 ok for android dev? Apr 08 08:53:20 I have not yet really tried android development with this, I'm afraid. The ADT seemed to start and all, but let's see if I can build and install one of my apps... one moment Apr 08 08:53:59 i wondering if dvm wants bytecode from java 6 compiler Apr 08 08:54:10 well, dx actually Apr 08 08:55:10 well, looks like there's some trouble. Maybe I have to re-enable jdk6. Apr 08 08:55:53 it could not generate R Apr 08 08:56:17 ok, i populated my expandable list view from java now.. Apr 08 08:56:48 different question: styles: i have a global style defined in my manifest.. and then i have some styles for group views and child view.. and set these in the xml definitions for the view.. Apr 08 08:56:54 they get ignored though.. Apr 08 08:56:57 i guess i'm missing something Apr 08 08:57:13 the compiler compliance level is set to 1.6 but that isn't enough apparently Apr 08 08:57:25 hmm Apr 08 08:58:06 maybe where i went wrong, is i followed this a while back http://stackoverflow.com/questions/6614380/jdk-on-osx-10-7-lion Apr 08 08:58:35 ok, it seems the global style overrides everything else.. Apr 08 08:58:59 Anyone tried using ARMv6 source dalvik files in AOSP? Apr 08 08:59:08 I tried and it kinda works Apr 08 09:17:57 * hackkitten curls around g00s~ Apr 08 09:18:26 hackkitten: can you destroy mac lion and java plz, thx Apr 08 09:18:57 <`z> k Apr 08 09:20:14 g00s > sure, let me bring my Kitteh Orbital Ion Cannon into position~ Apr 08 09:20:27 * g00s hides under his desk Apr 08 09:21:33 * hackkitten fires her cannon~ Apr 08 09:21:40 :O Apr 08 09:21:43 Cuppertino is now a fancy crater~ Apr 08 09:21:44 ^---^ Apr 08 09:21:52 hoorah ! Apr 08 09:22:26 :D Apr 08 09:23:09 i knew when hackkitten showed up, everything was going to get better Apr 08 09:23:38 <`z> yay Apr 08 09:23:39 <`z> :D Apr 08 09:23:45 <`z> BAD NEWS Apr 08 09:24:00 <`z> CUPERTINO IS NOW A SHINY CRATER MADE OUT OF A SINGLE BLOCK OF ALUMINUM Apr 08 09:24:02 <`z> AARRRGH Apr 08 09:24:05 * `z RUNS Apr 08 09:24:38 KIOC? Damn, i was hoping for a cool acronym Apr 08 09:26:01 KOIC * Apr 08 09:29:19 seriosly wtf, mac java bundles apache derby Apr 08 09:29:20 <`z> powerful emanicipation nanotechnology v15 Apr 08 09:29:26 <`z> PEN15 Apr 08 09:29:29 <`z> > derpy Apr 08 09:29:34 <`z> wtf is wrong with me Apr 08 09:35:26 Hello there :) Does anyone have a place where I can learn to recieve emails? All tutorials/snippets show how to send it but not to read it Apr 08 09:35:48 * hackkitten hi-paws `z~ Apr 08 09:35:50 :D Apr 08 09:36:00 what is the lastest version of android x86 which works as eclipse avd ? Apr 08 09:36:11 I just got working the 2.2 but its too old Apr 08 09:39:00 * `z high fives hackkitten :D Apr 08 09:41:18 :3 Apr 08 09:43:24 <`z> :] Apr 08 09:43:40 ^5 Apr 08 09:46:12 * g00s headdesk Apr 08 09:46:22 now i have 4 fucking jvms on my mbp Apr 08 09:46:43 sorry to hear about your MBP Apr 08 09:46:51 * hackkitten gives a Dell laptop instead Apr 08 09:55:36 ew Dell Apr 08 09:56:24 I'm actually fairly impressed by my HP 11" Apr 08 09:56:28 HP is good Apr 08 09:56:49 * hackkitten likes her PB Apr 08 09:57:33 I hate disassembling Dells Apr 08 09:57:45 their laptops are put together so impossibly Apr 08 09:58:30 hackkitten: so you have a few extra screws aying around, i take it ;) Apr 08 09:58:31 dusting off the heatsink in a Dell laptop means disassembling half the laptop Apr 08 09:58:34 yes :D Apr 08 09:58:47 dusting off the HS in a PB laptop means removing a single panel for easy access Apr 08 09:59:04 PB = Peanut Butter ? wut Apr 08 09:59:05 it's like they have engineers designing PB laptops and monkeys Dells Apr 08 09:59:09 packard bell Apr 08 09:59:21 zomg Apr 08 10:04:04 [no user servicable parts inside] Apr 08 10:04:35 unless you are feline, and then all parts are user serviceable Apr 08 10:05:49 so the mac java dev pkg installs ant, derby, maven, and junit. hm Apr 08 10:06:53 what really pisses me off, is that once you install most things on the mac, you can't uninstall them again (if they have a pkg installer) Apr 08 10:06:56 when one is feline and the term 'electrical equipment' translates into 'warm thing to sleep on' the threshold for working/not working tends to change too ;) Apr 08 10:08:30 :3 Apr 08 10:09:15 g00s > so you mean just like on Linux? :D Apr 08 10:09:38 * hackkitten likes developing on Windows Apr 08 10:10:38 i seem to remember uninstalling stuff on linux fine Apr 08 10:10:41 psh uninstalling stuff on linux is no problem Apr 08 10:11:08 uninstalling adobe reader on xp, now there's a slice of hell for you Apr 08 10:11:11 how do you uninstall a make config; make; make install app? :D Apr 08 10:11:28 * hackkitten hasn't used Adobe Reader since 5 Apr 08 10:11:32 hackkitten: oh, for that i use graft or depot Apr 08 10:12:15 * hackkitten tends to just wipe her Linux VMs and start from scratch instead of cleaning up and upgrading old VMs Apr 08 10:12:52 well, i might often update a few packages often Apr 08 10:12:56 hackkitten: that is not usually how things /should/ be installed Apr 08 10:13:08 this is awesome, btw http://peters.gormand.com.au/Home/tools/graft/graft-html Apr 08 10:13:21 :) Apr 08 10:13:28 that is more like 'place these files in c:\windows\system32' ...but I get your point Apr 08 10:13:57 :) Apr 08 10:15:50 make uninstall Apr 08 10:15:53 if you're lucky :P Apr 08 10:16:33 hackkitten, make/make install is for developers, and you should "know" what you are doing Apr 08 10:16:43 * tlvb likes pacman Apr 08 10:16:53 hackkitten, nobody but developers use make / make install this days on linux Apr 08 10:16:54 wakkawakkawakkawakka Apr 08 10:16:58 'should know' what the developer was thinking, you mean :D Apr 08 10:16:59 not that pacman Apr 08 10:17:02 oh. Apr 08 10:17:12 :D Apr 08 10:17:18 I am using actionbarsherlock and I have a problem that fragments are not using the default style android:theme="@style/Theme.Sherlock" Apr 08 10:17:43 hackkitten, and if you like develop on windows you, most likely, do not use your operating system at your full :) Apr 08 10:17:54 happy easter anyway Apr 08 10:20:51 morning all =) I find myslef with some theme-related issues. I have an activity designed for Holo Light. Works fine on my 4.0 device, but when I test it on a 2.2 virtual device I get the standard dark theme (assumedly because Holo doesn't exist on 2.2) Apr 08 10:21:12 is there a way of setting a secondary (or backup) theme to use if tHolo isn't available? Apr 08 10:21:36 You make a theme in values that extends Theme.Light and one on values-v11 that extends Theme.Holo.Light Apr 08 10:21:39 Then just set that Apr 08 10:22:12 SimonVT: you are a genius! I've been trying to get my head around this problem for about an hour now Apr 08 10:26:40 janhouse: fragments have no style Apr 08 10:26:46 they are just management objects Apr 08 10:27:36 Morning JakeWharton Apr 08 10:27:38 you are right. Seems like I get problems only with listfragment. for some reason it uses the old style from android 2 or something like that Apr 08 10:27:45 thank god they are managed, if they weren't , all hell would break loose Apr 08 10:27:54 did you give it a custom style? Apr 08 10:27:55 I am on ICS Apr 08 10:28:14 I did not. Used Theme.Sherlock Apr 08 10:28:18 Hey SimonVT Apr 08 10:28:32 i'm really curious what iosched 2012 will use for their action bar Apr 08 10:28:35 well that has nothing to do with ListViews so whatever the platform themes it with is what you'll get Apr 08 10:28:40 By the way, ActionBarSherlock is great. :) Apr 08 10:28:54 if you're on ICS you should get the default Holo stylings Apr 08 10:29:01 presuming you target API 11+ in your manifest Apr 08 10:29:09 I know. that is why I came here. :) Apr 08 10:30:03 most fascinating. ADT started working in jdk7 after I cleaned the project, it seems... Apr 08 10:30:27 well good thing, no need to solve any problems then Apr 08 10:31:05 xml editor is go too... there were some errors in the log about it, but those went away too I guess. *shrug* Apr 08 10:31:59 why can no one craft a good API Apr 08 10:32:05 JakeWharton: Did you update the ACL in maven yet? Apr 08 10:32:20 Google isn't updating the AOSP repo :( Apr 08 10:32:37 To me it seems the sources are there Apr 08 10:32:48 In the SDK download they are Apr 08 10:32:51 but not in AOSP Apr 08 10:32:56 No, in AOSP Apr 08 10:33:01 wut Apr 08 10:33:14 Stuff like NotificationCompat is pushed, supportINvalidateOptionsMenu is public, etc Apr 08 10:33:23 as of when? Apr 08 10:33:31 i did a repo sync four hours ago and it wasn't there Apr 08 10:33:42 As of quite some time Apr 08 10:34:10 oh shit Apr 08 10:34:11 you're right Apr 08 10:34:16 I pulled just support.git some time last week, the changes are there (but for some reason v7 isn't) Apr 08 10:34:31 ugh Apr 08 10:34:50 the problem is the commit in HEAD has the exact same message as the one from r6 Apr 08 10:34:58 still no tags either :( Apr 08 10:35:25 Yeah, they could have tagged it r1, r2, etc Apr 08 10:35:26 let me run my script, create the bundles, and forward to the guy with GPG+upload privileges Apr 08 10:35:46 android4maven uses SVN Apr 08 10:35:52 makes me feel dirty Apr 08 10:36:01 haha Apr 08 10:36:45 thankfully v7 is boring Apr 08 10:37:09 I kinda like Notification.Builder.. But not that exciting :p Apr 08 10:37:13 any pro here? Apr 08 10:37:44 W/ResourceType( 6286): No known package when getting value for resource number 0xffffffff Apr 08 10:37:47 what does that mean? Apr 08 10:37:59 When placing a bitmap on a canvas with a X coordinate and a Y coordinate. Which corner of the bitmap does that coordinate represent Apr 08 10:38:24 Seems like they just keep adding simple API-specific wrappers because people aren't smart enough to figure it out themselves Apr 08 10:38:37 Yeah Apr 08 10:38:39 I guess it's nice having it all centralized Apr 08 10:41:20 Well, I guess it's a good thing. People are more likely to use the new APIs this way Apr 08 10:45:24 True Apr 08 10:45:34 now if we could only teach them to not compile against Android 2.2 Apr 08 10:45:54 and the differences between compilation SDK, target SDK, and minimum SDK Apr 08 10:48:16 * g00s still compiles against 2.2 Apr 08 10:48:20 * g00s runs ! Apr 08 10:48:32 but that might change, maybe Apr 08 10:48:45 JakeWharton, ok, so I now figured that the incorrect style is applied when I use SimpleCursorAdapter Apr 08 10:48:45 Oh dear Apr 08 10:48:54 Wewt Apr 08 10:49:10 [V4] Generating diff report Apr 08 10:49:10 [V4] 0 difference(s) (/tmp/report-v4.diff) Apr 08 10:49:47 I guess I must make a custom cursoradapter Apr 08 10:49:50 oO Apr 08 10:49:57 janhouse: What context are you passing it Apr 08 10:50:25 getActivity().getApplicationContext() Apr 08 10:50:37 humm Apr 08 10:50:46 Yeah, so it uses your application context Apr 08 10:50:57 If you applied another theme to your activity, it's not going to use that Apr 08 10:51:07 maybe I can't use it in fragment? Apr 08 10:51:28 fragments are just boring Java objects Apr 08 10:51:32 If your Application has theme A and your Activity has theme B. if you pass it application context, it's going to use theme A Apr 08 10:51:42 just use getActivity() for context Apr 08 10:51:51 but that is the problem. it uses theme C :D Apr 08 10:52:00 one that is not specified anywhere Apr 08 10:52:17 I am on ICS and it shows it v2.x style Apr 08 10:52:51 changing it to simple ArrayAdapter shows the correct theme Apr 08 10:53:16 so, what if no context is passed to it? Apr 08 10:53:21 as in, maybe it fails or something... Apr 08 10:53:34 Well, start pastebinning some code Apr 08 10:53:42 You're doing something wrong somewhere Apr 08 10:53:58 * hackkitten targets 4.0.3 these days Apr 08 10:54:04 but minSDK is still 8 :D Apr 08 10:54:28 definately. Will try couple things and then start pastebining it :D Apr 08 10:54:58 g00s > I am waiting for 2.2 to go away... but it's still 25% of the Market :( Apr 08 10:55:14 i'm one of the 25% :D Apr 08 10:55:37 * hackkitten just upgraded her phone to 2.3.5 :3 Apr 08 10:55:44 with r17 there should be no reason for people to compile with old SDKs right? Apr 08 10:55:53 it does API-level checks, correct? Apr 08 10:56:04 yea Apr 08 10:56:26 does it scan bytecode or source code ? Apr 08 10:56:38 bytecode for api level checks Apr 08 10:57:08 i guess a better question is; is it foolproof Apr 08 10:57:28 or does it still need some work Apr 08 10:57:42 There was no reason to compile with old sdk's before r17 anyway.. You're just limiting yourself. You might make a good 2.2 app, but it'll be sub-par on 4.0 Apr 08 10:57:55 Agreed Apr 08 10:57:59 Nothing is fool-proof, that's why we have testing Apr 08 10:58:06 You're wasting the platform by using an older SDK Apr 08 10:58:10 but i don't have ics hw for testing Apr 08 10:58:17 and i need hw for bluetooth testing Apr 08 10:58:26 the only hw i have is 2.2 so ... Apr 08 10:58:37 time for a real phone! Apr 08 10:58:42 Do you also set your maxSdk to 2.2, since that's all you have for testing? Apr 08 10:58:43 lumia 900 :D Apr 08 10:59:01 SimonVT: heh, no Apr 08 10:59:08 Than your argument is invalid Apr 08 10:59:53 can someone tell me what this means? Apr 08 11:00:07 W/ResourceType( 6286): No known package when getting value for resource number 0xffffffff Apr 08 11:00:26 My log is just spammed with that Apr 08 11:00:33 you're using Color.WHITE instead of android.R.color.white when calling getColor()? Apr 08 11:01:08 no idea Apr 08 11:01:11 i dont program Apr 08 11:01:13 ^^ Apr 08 11:01:18 * hackkitten doesn't have the money for an ICS phone Apr 08 11:01:37 If all you get out of building against ICS is access to stuff like ActionBar, and other UX improvements, that's well worth it Apr 08 11:01:43 2.3.7 is where it's at Apr 08 11:01:46 SimonVT: i dunno, ctate and i were discussing this and he thought i had done the right thing Apr 08 11:01:58 gingerbread > ics Apr 08 11:02:12 10 > 14 Apr 08 11:02:13 false Apr 08 11:02:22 Well, I don't agree Apr 08 11:02:38 but i admit, i was much more worried before adt 17 lint Apr 08 11:02:45 you also use terms like "UX" Apr 08 11:02:46 but that was a different worry Apr 08 11:03:24 UX is an acronym Apr 08 11:04:44 Sure, experience starts with X. Apr 08 11:04:56 How cool and modern. Apr 08 11:05:32 The acronym is actually quite old Apr 08 11:05:49 You keep using that word. Apr 08 11:06:12 jake, the only thing referring to white is this android:textColor="@android:color/white" Apr 08 11:06:40 that's valid Apr 08 11:07:09 hi Apr 08 11:07:23 hairlessmangina: You should probably look at where that error is being thrown Apr 08 11:08:11 how? Apr 08 11:12:06 is the app crashing? Then look at the stack trace Apr 08 11:12:36 the app is running fine Apr 08 11:12:44 that's the only thing showing in the logs Apr 08 11:12:56 is it even your app showing those errors? Apr 08 11:13:08 it's not my app, to be precise Apr 08 11:13:15 yeah but it's the app Apr 08 11:13:26 2.x => 86%, 4.x => 3% share :D I think I will still wait for sometime before upgrading to ICS Apr 08 11:13:49 So start debugging, find out when it happens Apr 08 11:13:54 esp I worry I may not be able to easily root 4.0 Apr 08 11:14:07 JakeWharton: are you on your mac ? Apr 08 11:14:09 it's a live wallpaper Apr 08 11:14:14 yes Apr 08 11:14:38 the warning just keeps coming up in the logs Apr 08 11:14:49 JakeWharton: can you do me a huge favor, and go into /var/db/receipts; and then show me the output of 'ls -l *Java*.bom Apr 08 11:14:50 vivekm: worry about OEMs, not the OS Apr 08 11:15:18 338541 -rw-r--r-- 1 root wheel 243K Apr 7 23:51 com.apple.pkg.JavaEssentials.bom Apr 08 11:15:19 338543 -rw-r--r-- 1 root wheel 137K Apr 7 23:51 com.apple.pkg.JavaForMacOSX107.bom Apr 08 11:15:20 338545 -rw-r--r-- 1 root wheel 82K Aug 11 2011 com.apple.pkg.JavaSDKLeo.bom Apr 08 11:15:21 338547 -rw-r--r-- 1 root wheel 135K Jul 8 2011 com.apple.pkg.JavaTools.bom Apr 08 11:15:28 don't hack my gibson Apr 08 11:16:14 interesting, you have JavaTools but not JavaEssentialsDev or JavaForMaxOSX107Dev Apr 08 11:16:22 gah Apr 08 11:16:26 thanks very much Apr 08 11:22:07 is there a way to uninstall packages based on these receipt files? Apr 08 11:22:31 I've manually deleted the files these packages provided and then removed the receipt using the pkgutil, but that's hardly convenient Apr 08 11:29:52 alankila: not really, 2 packages can point to the same file Apr 08 11:30:23 yes, well, a pkgtool scan could reveal that maybe Apr 08 11:30:24 its pretty dangerous. you can uninstall one package and nuke the other Apr 08 11:31:15 its incredibly fucking braindead. os x is scitzo - on one hand, apps are self contained bundles, but other stuff with package installation is a free for all fuckfest Apr 08 11:31:37 yeh there's usually some external launchctl files that get dumped around Apr 08 11:31:51 wish launchctl would just scan the package for manifest that says about stuff like that and everything would stay under the bundle Apr 08 11:42:07 SimonVT, ini the end I made a new cursoradapter, simplecursoradapter and nothing worked. So I tried to pass the theme to the context that I pass to the cursoradapter and it did the trick. Apr 08 11:42:10 mycontext.setTheme(R.style.ThemeJh); Apr 08 11:43:01 I have no clue why the ListFragment context didn't have the right theme (even when I tried passing the context to it from the Activity manually when initialized the ListFragment). Apr 08 11:43:08 But oh whell, it works now.. Apr 08 11:43:33 maybe my support library is outdated... Apr 08 11:43:40 If you set that theme on your Activity, and you pass the adapter getActivity, it will use that theme Apr 08 11:43:54 Nothing to do with the support lib, just how it works Apr 08 11:43:56 well, I have set the theme only in the Manifest Apr 08 11:44:04 it doesn't change in any other place Apr 08 11:44:54 and it didn't work out of the box only for CursorAdapters that come from the support library. I am just guessing, not saying that it is like that. Apr 08 11:45:02 Anway, thx for the help. Apr 08 11:45:13 Will have to use it this way for now. Apr 08 11:47:24 by the way, how do I set the background for a theme manually? Not for every item, just the root background? Apr 08 11:53:59 . Apr 08 12:16:02 ben1066: asking that question here will likely get yo ua more inmorantive response :) Apr 08 12:16:28 Heh Apr 08 12:16:30 *informative Apr 08 12:16:39 How would I use a surfaceview in a resolution independant way then? Apr 08 12:16:51 Is it best to draw at one resolution then scale my whole surface Apr 08 12:17:00 or scale the individual resources? Apr 08 12:17:14 ben1066: ... I'm not sure, personally.. i'm a really junior android dev :) Apr 08 12:17:27 My other option is just use AndEngine and be done with it Apr 08 12:17:27 :P Apr 08 12:18:05 ben1066: hehe.. if you're just doing 2D, i've worked with AndEngine, and i like it :) Apr 08 12:18:37 I am just doing 2D Apr 08 12:21:53 scale individual resources, imo. Positioning will be more accurate. Apr 08 12:34:56 Hi Apr 08 12:36:25 hi Apr 08 12:58:44 can't understand why this selection won't work: String selection = ContactsContract.Contacts._ID + "IN ?"; String[] selectionArgs = {"2", "5"}; Apr 08 12:59:43 Strangebrew ... maybe you have to use something like "concat" to concat strings , and not "+" Apr 08 13:00:01 it's 1 selectionArg per ? Apr 08 13:00:11 But that is only a wild guess Apr 08 13:00:16 You'd have to do "IN (? ,?)" or something like that Apr 08 13:00:39 oh ok.. so i'll need to build a string for that Apr 08 13:00:44 Yeah Apr 08 13:00:47 thanks Apr 08 13:00:48 ! Apr 08 13:04:45 is there some magical way to change the base color? With this I meant the blue color in Holo theme. Easy way to change it to some other in checkboxes, actionbar, radiobuttons and so on. Apr 08 13:09:14 Nope Apr 08 13:09:24 You'd have to replace all the drawables used by these views Apr 08 13:26:42 hi is there a best practice how to save app-settings? a tutorial or such available? Apr 08 13:28:04 https://www.google.com/search?q=android+save+app+settings Apr 08 13:28:13 yeah well Apr 08 13:28:24 first result Apr 08 13:28:30 where would you recommend learning android development? given a basic knowledge of java and general programming Apr 08 13:28:49 see topic. Apr 08 13:29:15 but thanks Apr 08 13:32:12 maraz lol, any books? Apr 08 13:32:56 is there a way to set an alternative keyboard as default, in a custom ROM Apr 08 13:35:08 fisix: Hello Android Apr 08 13:39:09 another question: I want to create a google+ like home screen, what is the most appropriate element to use? Apr 08 13:39:54 I thought image gallery first, but thats obviously not thought to be used for that Apr 08 13:45:03 If I add checkbox to the listview, I can't select the item in the listview, only the checkbox. Is there some way to keep the onListItemClick working? Apr 08 13:45:05 probably a gridView with clickable images, right? Apr 08 13:45:31 is there a reliable way to tell when a fragment is foreground? Apr 08 13:46:19 What do you mean by foreground? Apr 08 13:46:39 isAdded? isVisible? Apr 08 13:46:52 SimonVT currently visable Apr 08 13:47:11 Jug6ernaut, tried those? Apr 08 13:47:18 As janhouse mentioned, there is a few ways of finding out the state of the Fragment Apr 08 13:47:37 isAdded, isDetached, isVisible Apr 08 13:47:55 You can also manually use setUserVisibilityHint when you hide/show your Fragment Apr 08 13:48:34 janhouse no i havent, will do Apr 08 13:48:41 * Jug6ernaut tried using onResume/onPause Apr 08 13:49:01 but they dont work as with they do with activites :S Apr 08 13:49:15 so, any solution to my problem? Apr 08 13:49:15 thanks d34th4ck3r i'll grab dat book Apr 08 13:49:31 any other recommends for android books? the ones i got are pretty confusing Apr 08 13:49:51 janhouse: Add either android:focusable="false" or android:clickable="false" to your checkbox layout Apr 08 13:49:55 Can't remember which Apr 08 13:50:23 but I still want to be able to check it :D Apr 08 13:50:26 ok, will try Apr 08 13:50:55 fisix: use that book , and start googleing stuff. Apr 08 13:52:10 isfocusable did the trick, thx. :) Apr 08 13:55:24 hello Apr 08 13:55:39 in Android 2.2.1 and 2.2.2 I have this NoSuchFieldError for TimeUnit.MINUTES, is there a solution for that ? Apr 08 13:56:15 I have search with Google, this issue is reported in google+ https://plus.google.com/107620466524293039481/posts/9KPix8pfWRA Apr 08 13:56:49 I'm searching about client on wifi hotspot ap traffic, I want redirect it... anyone have an idea (on rooted phone) Apr 08 13:57:36 Does anyone here have experience with using the NDK to create shared and static libraries? Apr 08 13:58:10 I tried with "Settings.System.HTTP_PROXY, ip of serv" but not working... :/ Apr 08 13:58:11 I'm having trouble creating a shared library for my app that links to a static llibrary. Apr 08 14:00:22 in fact I want redirect wifi hotspot client http connection to an webserver of my app... Apr 08 14:05:45 Jonathan_Eyre: post your problem , if anyone will be able to help, he'll help. Apr 08 14:13:11 hey, which channel should I go to ask for help for crashing my Xoom by flashing the wrong image :) Apr 08 14:19:18 http://pastebin.com/i262syj9 Apr 08 14:19:29 This is basically what I am running into Apr 08 14:20:24 I don't know how to tell the Android.mk file to try and link to the libtomcrypt.a library. It looks like everything compiles fine, except the part where it need the library linked. Apr 08 14:21:06 Jonathan_Eyre: LOCAL_STATIC_LIBRARIES = libtomcrypt.a ? Apr 08 14:21:08 If I build without the tomcrypt referrence, the app works great. Apr 08 14:21:09 oh wait Apr 08 14:21:11 it's just tomcrypt Apr 08 14:22:29 I am just doing the headless chicken thing at this point. I've tried about thirty variations of this Android.mk file. Apr 08 14:23:08 well I have a thing that builds a static library at start of the Android.mk and then references it this way Apr 08 14:23:20 I saw dropbear using libtomcrypt, and it looked like they had both an Adroid.mk file AND a Makefile.in. Apr 08 14:23:30 include $(BUILD_STATIC_LIBRARY) builds the first, then I reference it and make shared library Apr 08 14:23:47 I have TimeUnit.MINUTES from java.util.concurrent.TimeUnit doesn't work with Android 2.2.1/2, is there a substitute of Time.Unit for scheduleTaskExecutor.scheduleAtFixedRate() ? Apr 08 14:23:49 I just built tomcrypt using make. Should I need to use Android.mk to do it? Apr 08 14:24:05 make worked really well. Apr 08 14:24:16 for what architecture did you build it? where did you place it? Apr 08 14:25:27 I'm not certain I built it for the correct architecture. There are copies of the compiled library everywhere, just in case I get lucky and Android.mk looks in the correct location. Apr 08 14:26:24 " include $(BUILD_STATIC_LIBRARY) builds the first, then I reference it and make shared library" I would really like to know more about this sentence... Apr 08 14:27:06 alankila: Do you have an Android.mk file that I can look at that does this? Apr 08 14:27:19 https://github.com/lioncash/droidsound/blob/master/jni/VICEPlugin/Android.mk Apr 08 14:29:01 it seems to me that the correct place for the .a file is obj/local/$architecture Apr 08 14:29:26 that is the only place that gets libresid.a Apr 08 14:29:48 Very Interesting... Apr 08 14:30:58 about my problem, by settings dns server adress for the wifi hotspot ap creating step? possible? Apr 08 14:40:32 ok, I find a way by setting proxy on apn... not really good but make the job ;) Apr 08 14:55:08 alankila: So I'm assuming that since I didn't really specify which architecture to compile to, the libtomcrypt I have is worthless. I'll try to compile it through the Android.mk. I tried that originally, actually. It's just that I started with a copy of the dropbear Android.mk, and it fired so many errors that I was certain something was fundamentally wrong about my approach. Apr 08 14:56:01 I'll try to use the driodsound Android.mk as a template. Apr 08 14:56:41 Use whatever works for you Apr 08 14:57:12 generally I use the original build system to generate a config.h file which I include in the project after validating it still makes sense and then I just list all the .c/.cpp files and let Android.mk solve the compiling issue Apr 08 15:07:30 hmm... that does make sense. It sure was nice when the tomcrypt just compiled for me. I've tried a dozen times to write my own Android.mk file for it. Apr 08 15:08:43 I think that the Android team purposefully did not write very many examples on how to do this because they prefer things done in Java. It's sort of a punishment for those not adhering to the straight and narrow Android gospel. Apr 08 15:17:28 what is the best way to store the id of listview item? in my custom cursoradapter I want to create listeners for checkboxes in newView so they are made only once. And then in bindView check if the ID is in the list of selected ID's Apr 08 15:18:02 so where should I put that id from bindView? Apr 08 15:18:58 I guess that using gone textview would be a bad solution (but the easiest one) Apr 08 15:23:02 You already have the id in your dataset, don't you Apr 08 15:42:17 hey guys Apr 08 15:50:34 "drainQueueLocked: SurfaceTexture has been abandoned!" <- is this something to worry about? I just have a very simple ListView and start an Activity when you click on an item Apr 08 16:06:08 hello I set an proxy in my apn parameters... Proxy works fine on local browser but not for wifi client (tethering, hotspot ap) Apr 08 16:06:15 Hello im new to android development. Can anybody tell me what is a bundle ? i couldnt find a good explanation on the developers site. Apr 08 16:08:02 arkiver: its like a Map with it's key set to a String Apr 08 16:09:02 arkiver: basically it stores key/value pairs so they can be transmitted safely across process boundries Apr 08 16:11:43 Napalm: okay. So all key/value pairs about any widget in an activity are stored in that bundle and transferred whenever an activity calls another activity..? Apr 08 16:12:48 no Apr 08 16:13:07 arkiver: what are you specifically talking about Apr 08 16:13:45 when OnCreate method is called, it takes an argument Bundle. so i wanted to know what Bundle contains? Apr 08 16:14:39 arkiver: http://developer.android.com/reference/android/app/Activity.html#onCreate%28android.os.Bundle%29 Apr 08 16:14:43 it tells you right there Apr 08 16:14:49 see under Parameters Apr 08 16:17:09 Napalm: okay. So it acts as a local cache for an activity ... right? Apr 08 16:17:17 no Apr 08 16:17:21 its a place you can put things Apr 08 16:17:39 so that when your activity is recreated you have variables to put back Apr 08 16:18:03 ohhh.. okay.. so its like an initializer when activity is recreated... Apr 08 16:19:04 hi Apr 08 16:20:05 Napalm: I think i understand it more now. Thanks ! Apr 08 16:32:04 who use super nes emulator for android? Apr 08 16:40:16 is this a dev question? Apr 08 16:46:40 anyone know how to redirect wifi ap client trafic? Apr 08 16:47:01 set an apn for wifi ap? Apr 08 16:47:24 modify iptables directly? or anything... (on rooted phone) Apr 08 16:48:54 bis0n: what do you mean by redirect wifi ap client traffic... what do you want to happen? Apr 08 16:49:45 I want set an proxy for client of hotspot ap wifi Apr 08 16:50:01 I have an proxy configured on my apn settings Apr 08 16:50:13 working fine with android browser Apr 08 16:50:22 sounds like REDIRECT target then Apr 08 16:50:42 but not with connected wifi clients Apr 08 16:50:48 The lazies solution is something like this: /sbin/iptables -t nat -A PREROUTING -p tcp --dport 80 -j REDIRECT --to-port 3128 Apr 08 16:51:03 connected station on hotspot not using this proxy... Apr 08 16:51:10 fix path as appropriate, also if the proxy is not on the phone, then you probably need DNAT Apr 08 16:51:25 ok :) Apr 08 16:51:35 I will try something like this Apr 08 16:54:32 hi, recentkly upgraded osx to lion and now getting error "ERROR: Cannot find 'make' program." from NDK- anyone get this? Apr 08 16:56:01 yakkof: /usr/bin/make is from com.apple.pkg.DeveloperToolsCLI for me ... version 4.3.0. Sounds like xode Apr 08 16:56:04 xcode Apr 08 16:57:35 yakkof: check your PATH Apr 08 16:57:42 alankila: did you get this after the lion upgrae? Apr 08 16:57:49 yakkof: open terminal type in: echo $PATH Apr 08 16:58:16 you could also probably fix it by setting the NDK and NDK_ROOT vars to your ndk root directory Apr 08 16:59:00 yakkof: I am not sure. It's been a while since I updated to lion & I had trouble with xcode 4.3 that required some cli tools installed before building software worked again Apr 08 16:59:15 http://stackoverflow.com/questions/6767481/where-can-i-find-make-program-for-mac-os-x-lion Apr 08 17:03:48 can the defaukt tick icon be change in actionmode? Apr 08 17:20:28 hey there.. Could someone help me out with spinners? What i'm trying to do is that i'd like to add an option to my spinner, saying "add another item", which the user can select, and then user enters data in a dialog, which gets added to the spinner Apr 08 17:20:52 that works fine, however, i can't seem to be able to switch the spinner to the newly entered value Apr 08 17:22:42 i'm calling ((Spinner)parent).setSelection(players.size()-2); once the dialog is closed, but nothing happens, "add new element" is shown in the spinner Apr 08 17:22:50 any idea what am i doing wrong? :) Apr 08 17:37:24 Blech Apr 08 17:37:39 Admob is getting rid of funds transfers on May 1st.. Apr 08 17:38:36 So now if I get clicks on April 1st, I have to wait until June 15th to roll them over, instead of instantly? Blah. Apr 08 17:38:55 Well, that's why there are other ad networks... Apr 08 17:44:31 what did the funds transfer do? Apr 08 17:44:39 how do you identify menu items added to options menu through the add() function in onCreateOptionsMenu when someone clicks the item ? Apr 08 17:44:48 (never used admob, so just curious) Apr 08 17:45:01 rvsjoen: By their ID Apr 08 17:45:40 I mean, I just call menu.add("Refresh").setIcon(R.drawable.ic_menu_refresh).setShowAsAction(android.view.MenuItem.SHOW_AS_ACTION_ALWAYS); to add the item to the menu Apr 08 17:46:26 but then I have no idea what the ID really is Apr 08 17:46:38 mcr: If I made $10 on ads and had it as earnings, I could instantly transfer that to my ad budget Apr 08 17:46:45 Then you're out of luck I guess Apr 08 17:47:02 Unless you want to keep a reference to each menuitem, and compare the object instead Apr 08 17:47:21 guess I can compare the title, it just feels to dirty Apr 08 17:47:22 :P Apr 08 17:47:33 Ologn, oh, I see... so you could flip from revenue to expenses directly. Seems like an accounting nightmare to me. (for them too!) Apr 08 17:47:34 Why dont you just give it an id? Apr 08 17:47:36 mcr, after May 1, I'll have to wait between 1.5 to 2.5 months to be able to roll over my earnings Apr 08 17:49:37 are there any functions to generate a unique id ? Apr 08 17:50:05 java.util.UUID Apr 08 17:50:13 on like froyo and later Apr 08 17:50:27 It's menuitems.. Don't you know them at compile time? Apr 08 17:51:00 hello :) Apr 08 17:52:02 guess so Apr 08 17:53:53 is there an irc channel for android platform development, too? Apr 08 17:55:04 myranda: I believe #android-root is related to platform development Apr 08 17:55:10 not sure Apr 08 17:55:32 i'll try that one, thank you :) Apr 08 17:58:47 got it, thanks! Apr 08 18:03:54 What is the recommended way to add external jars to the android project (ADT 17)? Apr 08 18:04:43 project properties > java build path > add external jars Apr 08 18:04:57 in eclipse anyway Apr 08 18:05:45 jeppy: I do that and I get the NoClassDefFoundError Apr 08 18:07:21 put it in libs/ Apr 08 18:07:33 of your project Apr 08 18:07:41 pfn: I have Apr 08 18:07:44 then reference it from eclipse Apr 08 18:08:06 according to what you say, you haven't Apr 08 18:08:40 it won't be an external jar from eclipse 's perspective Apr 08 18:10:36 pfn: I created a folder called libs. I copied the jars there. I refreshed libs (in eclipse). I went to the java build path and added jar (not external jars, tried that too btw) and then I did a project -> clean. I still get the same problem Apr 08 18:11:37 Any classes (defined in its own file) that does not extend Activity does not need to be added to manifest right? Apr 08 19:06:29 Does anyone know what happened to android:groupindicator="" within the ExpandableListView? Apr 08 19:06:36 I can't find it on level 8 Apr 08 19:07:20 Oh I feel like an idiot. Capital I Apr 08 19:07:21 fml Apr 08 19:07:40 thats what ctrl-space is for Apr 08 19:07:40 Spent like the last 5 minutes trying to find it -.- Apr 08 19:09:33 Anyone ever deal with the compiling error: Conversion to Dalvik format failed with error 1 Apr 08 19:09:56 http://stackoverflow.com/questions/2680827/conversion-to-dalvik-format-failed-with-error-1-on-external-jar/6405783#6405783 Apr 08 19:09:58 I'm getting a huge long paragraph about trying to make a core class or something and I have no idea what I did. I have no errors. Apr 08 19:10:02 next time search on stackoverflow Apr 08 19:10:10 Holy smokes how did you find that, that fast Apr 08 19:10:22 my top answer on stackoverflow is in that thread. Apr 08 19:12:32 Hey that worked, thanks so much :D Apr 08 19:12:37 No idea how those got added Apr 08 19:20:05 Hi! I am developing with eclipse and a galaxy s2 phone and have the following AndroidManifest.xml: http://dpaste.com/728658/ I am getting this error: http://dpaste.com/728659/ Which says that the app has not sufficient permissions. But I granted the permissions in the manifest. Any ideas? Apr 08 19:32:23 I usually use Don't know if it makes a difference Apr 08 19:34:11 codejunky: The example on developer.android.com does it the way I do http://developer.android.com/guide/topics/manifest/uses-permission-element.html Apr 08 19:35:24 codejunky: its not related to the internet permission but to the declaration of your activity Apr 08 19:35:39 I believe you have no intent filter for launcher Apr 08 19:36:10 oops mybad Apr 08 19:38:03 okay Apr 08 19:38:48 Ologn, Estragon: sorry for the noise, it works, i think it is more or less a warning :-) Apr 08 19:48:49 best way to store fragement states? Apr 08 19:50:49 does anyone know how to give a textview a transparent background? rather than having a genuine 100% opacity colour? Apr 08 19:51:55 bluezone: the colors are argb Apr 08 19:52:07 It's transparent by default Apr 08 19:53:24 SimonVT yes well, i wanted to use a black background for the text but i want it to be slightly transparent in effort to display the stuff behind it Apr 08 19:53:48 bluezone: #00000000 the first two digits are alpha Apr 08 19:54:02 from the left. Apr 08 19:54:13 ^ Apr 08 19:54:15 #AARRGGBB Apr 08 19:54:51 set the background drawable to null Apr 08 19:54:52 SimonVT: BARGBARG Apr 08 19:56:09 #CANADIAN Apr 08 19:56:45 am i the only one not understanding these jokes? :D Apr 08 19:56:54 whos joking Apr 08 19:57:09 #JOKES Apr 08 19:59:55 i tried setting the background to #07000000 it seems to be working but i'm running the emulator in teamviewer so i can say for sure. it looks fugly Apr 08 20:00:07 can't* Apr 08 20:00:13 * Jug6ernaut says again set the background drawable to null Apr 08 20:00:38 but i already have the background set to black, i set 2 backgrounds? Apr 08 20:00:50 "running the emulator in teamviewer" #unsupported Apr 08 20:00:55 * SimonVT thinks Jug6ernaut missed the point Apr 08 20:01:28 readme "running the emulator" #unsupported Apr 08 20:01:30 rofl Apr 08 20:01:45 not with haxm :) Apr 08 20:04:17 * Jug6ernaut guesses he did Apr 08 20:23:19 http://pastebin.com/5thAyDVQ Apr 08 20:23:31 ^^ anyone can tell me why i cant run my program on the phone Apr 08 20:23:58 No suitable AP found. Apr 08 20:24:04 google doesnt help me Apr 08 20:27:38 mrBG: which AP are you trying to log into? Apr 08 20:28:37 new to android, know java well though. usually use netbeans so im having some problems learning eclipse all i want to do is open a pre existing project lol i feel like i am a moron or the eclipse team is for making this so hard Apr 08 20:28:41 probably the first one Apr 08 20:29:09 project in question https://github.com/gvsumasl/EchoprintForAndroid Apr 08 20:29:11 djhotglass, rightclick in the package explorer, go to import, choose the directory Apr 08 20:30:53 im having trouble wrapping my mind around a multi dimensional array... im trying to take two rows from a database and put them in an array[][] im stuck with trying to figure out the right way to fill the array... Apr 08 20:31:01 heres what im working with http://pastebin.com/uQMZjbQv Apr 08 20:31:16 anyone got a sec to help a newb like me? Apr 08 20:32:22 b0nn: dont even know what AP is Apr 08 20:33:18 Access Point? Apr 08 20:34:10 oh and i accidently typed float but consider that a string Apr 08 20:34:29 i changed it on myside but pasted old code to pastebin Apr 08 20:34:30 fload: myStrings[i][0] = ... myString[i][1] = ... Apr 08 20:34:40 thank you so much T-Dub|DlolPics lol Apr 08 20:34:44 what does '[2012-04-08 13:32:53 - EchoprintTest] Unable to resolve target 'android-11'' mean Apr 08 20:34:45 also the myStrings[i] value may be null if you have not initialized it Apr 08 20:34:49 dont know what access point is itn this matter. thing is it always worked and then just stopped and im not aware of what ive changed Apr 08 20:34:52 am i missing the sdk the project is using? Apr 08 20:35:00 Means you don't have android level 11 sdk installed Apr 08 20:36:30 k thank you so much Apr 08 20:36:44 On a ImageView is there a method to get the currently set alpha? Apr 08 20:37:14 http://pastebin.com/hSUKYMBp Apr 08 20:37:19 so this should work right? Apr 08 20:37:36 is there any way to set the default animation speed in a ROM? Apr 08 20:37:42 alankila: thanks btw Apr 08 20:37:50 fload: it's better Apr 08 20:38:07 I think people still write these things as while (cursor.moveToNext()) { ... use that cursor row ... } Apr 08 20:38:45 it's a kind of irritating to have both index and then use things like moveToNext, would make more sense to use the index to go to that row. More orthodox at least. Apr 08 20:38:55 still, this will probably work, assuming you have properly initializes this array Apr 08 20:39:21 b0nn,cooldman224: what is access point? Apr 08 20:39:57 something you connect to via wireless Apr 08 20:40:44 [16:38:07] I think people still write these things as while (cursor.moveToNext()) { ... use that cursor row ... } Apr 08 20:40:44 String[][] myStrings = new String[data.getCount()][data.getCount()]; Apr 08 20:40:46 you dont like that? Apr 08 20:40:49 mrBG: http://en.wikipedia.org/wiki/Wireless_access_point Apr 08 20:41:06 fload: you want one index to be the number of rows, and one to be the number of columns Apr 08 20:41:30 im also not sure what kind of data you're storing, but you're probably better off using some kind of custom object for each row Apr 08 20:41:46 its jsut a list of words and translations to spanish Apr 08 20:42:09 thought it would be easy project to learn more java/android Apr 08 20:42:11 lol Apr 08 20:42:49 i got it to work with the cursor but i want to pass this data to another activity Apr 08 20:43:11 *simplecuirsoradapter Apr 08 20:43:13 passing large amounts of data is generally the wrong idea Apr 08 20:43:31 its only like 200 items Apr 08 20:43:55 cooldman224: but i dont want to do that i think Apr 08 20:44:18 fload: what do the two activities do? Apr 08 20:44:19 only other way my tiny knowledge could think of doing it would be to requery database in new activity... wich i think would be slower than passing array Apr 08 20:44:50 ones a simple list of the words and when clicked on it opens a picture with both words Apr 08 20:45:25 i would like to be able to swipe to the next word/picture within second activity Apr 08 20:45:30 mrBG: I am not sure what you want to do, or trying to do Apr 08 20:46:10 im trying to run my app on my phone Apr 08 20:46:18 worked fine before now i get the posted error Apr 08 20:46:49 fload: for the record, I think you should actually use the Cursor, and not do this kind of copy to String[][] unless you actually need a copy for some specific purpose Apr 08 20:47:04 i think it is trying to connect to a wlan in my house Apr 08 20:47:09 one of my neightbours Apr 08 20:47:12 but why is it Apr 08 20:47:25 when i started this i thought once i opened a database i could query it from anywhere within the app but i cant figure out how to do that unless i reopen it everytime i open a new activity Apr 08 20:47:27 modern systems, even mobile phones, are generally so fast that lack of speed is less important than doing the right thing Apr 08 20:48:21 only way i can see to accomplish this sharing of the data is by passing the array as extras Apr 08 20:48:35 am i missing some secret ? Apr 08 20:48:46 well, data sharing between activities has been made difficult in android Apr 08 20:49:14 a lot of people probably say that you should put common things into a service or something. Apr 08 20:50:11 could i open the database in a service and use a cursor to query it across my activivtys? Apr 08 20:50:37 the idea being that activity's onCreate binds to a service that provides common function, and another activity's onCreate binds to it too, and Service can hand out the database instances or something. A whole lot of code to accomplish a simple thing. Or you could just put a static database handle somewhere in an utility class with a method to access it, which opens it if it isn't open already. Apr 08 20:50:45 i have yet to get deep enough in my learning to use a service but might give me something to spend my sunday on :) Apr 08 20:51:22 I don't think services should be used to coordinate data between activities... goes against the grain of android Apr 08 20:51:39 activity's entire state and purpose should be recoverable from the intent that created it, more or less Apr 08 20:53:16 hmm what route would you suggest then? Apr 08 20:53:34 66 Apr 08 20:53:48 a static variable in utility class, probably. Flame me to crisp if someone has better ideas, I don't Apr 08 20:54:29 not sure if opening database is even that heavy operation Apr 08 20:55:36 doesnt seem like it, i may try just reopening the databse cause i already have that working,... Apr 08 20:56:05 yeh... rule of thumb, especially for beginners, never optimize anything. Optimize when you know what is worth optimizing Apr 08 20:56:32 ok thinks for the wisdom back to the sweatshop elcipse Apr 08 20:59:31 (I'm fairly serious about it. One of the nice things I like about java is that writing code in the natural way is possible and often performs very well, the same code in C++ would suck.) Apr 08 21:04:30 Android requires compiler compliance level 5.0 or 6.0. Found '1.7' instead. Please use Android Tools > Fix Project Properties. EchoprintLib line 1 Android ADT Problem Apr 08 21:04:37 i cant find this android tools menu Apr 08 21:05:16 anyone else wit adt 17 notice that sometimes the clear button in logcat does not work? Apr 08 21:05:19 with* Apr 08 21:05:35 djshotglass: its in project properties->java compiler Apr 08 21:06:37 alankila: So I rewrote the makefile.in files for both tomcrypt and tommath in an Android.mk file. I actually have everything compiling, so it's very exciting. Here is the chain structure: APP-->mySharedLibrary-->(static)libtomcrypt-->(static)libtommath Apr 08 21:07:13 Right now, I am getting an error in the link between (static)libtomcrypt-->(static)libtommath Apr 08 21:08:09 okay, but happy to hear things are progressing Apr 08 21:08:13 hey would anyone be so kind as to take a look a a small chunk of code i have and tell me if my practise is bad. Too me my code is very messy but I'm unable to think of a different way of coding Apr 08 21:08:37 hi, i am unable to run my gps location program, running on emulator showing me error, application stopped unexpectedly , please help me Apr 08 21:12:22 http://pastebin.com/c6y8kNbw Apr 08 21:13:49 For some reason, I cannot get the libraries to link up..... Apr 08 21:19:24 One of my classes is called SetAsRingtone_HELP_ExpandableListAdapter Apr 08 21:19:29 Lawls Apr 08 21:20:17 great... I have an app that throws a null pointer on 4.0.3 but not in 3.2 Apr 08 21:20:41 can I hightlight part of a word in textview? Like when I search something, I want to hightlight the matched text Apr 08 21:21:12 looks like its caused by a null pointer to FragmentTransaction in onTabSelected() Apr 08 21:21:16 hmz Apr 08 21:23:41 hi subh, a few more details would be a huge help... the content of the error and the relevant code is best as a starting point Apr 08 21:25:17 do you know if android will soon support ExFat filesystem for SDXC memory cards? Apr 08 21:25:34 gsteinert : i got the solution but again one more problem Apr 08 21:25:46 i want location for only single time Apr 08 21:26:14 so i used getlastknownlocation() Apr 08 21:26:36 but in return i am getting null value Apr 08 21:26:54 subh: you need to register for a location update, it takes a couple seconds to get a fix on gps Apr 08 21:27:19 readme : i used ddms to send the location Apr 08 21:27:30 subh: you won't get locations if you don't register for them Apr 08 21:28:00 i didn't understand the registration term Apr 08 21:28:05 http://code.google.com/p/android-protips-location/ Apr 08 21:28:11 that project should be a good resource Apr 08 21:28:39 (From my personal bookmark collection) Apr 08 21:29:19 thanks readme, but i need only for single time, this gps location Apr 08 21:29:29 any easy way to rebuilt everything including depencdy projects? Apr 08 21:30:34 subh: even if you need the GPS only once, you need to register for it and wait for the GPS to get a fix Apr 08 21:30:40 SO noone knows about elicpse android and AP Apr 08 21:30:48 why is eclipse trying to access wireless networks? Apr 08 21:31:26 readme : can you tell me about registration Apr 08 21:31:28 o_O Apr 08 21:31:30 please Apr 08 21:31:50 subh: it is common knowledge and covered in the documentation and every single book on android ever written. rtfm. Apr 08 21:32:32 can you give me link Apr 08 21:33:28 subh: http://google.com Apr 08 21:36:12 http://d.android.com Apr 08 21:37:50 hm, I'm trying to create an apk for release to a friend (for alpha testing); I'm trying to follow the instructions at http://developer.android.com/guide/publishing/app-signing.html#cert but the whole eclipse part is wrong Apr 08 21:38:39 For example, there is no 'Android Tools > Export Unsigned Application Package' nor is there an 'Overview' tab Apr 08 21:39:18 Why not export it signed, if you want your friend to be able to install it Apr 08 21:39:34 Well, that's what I guess I want to know how to do Apr 08 21:39:49 Scroll down and follow those instructions instead Apr 08 21:40:37 I see it when I right-click on my project, b0nn. Apr 08 21:41:08 running a text app i just compiled and it gives me a unknown error, how do i look into the error? logcat? Apr 08 21:45:32 djshotglass: logcat is normally a good start Apr 08 21:45:40 you should find an exception and stack trace Apr 08 21:45:49 the exception messages in android are usually pretty descriptive =) Apr 08 21:47:59 whats the easiest way to view logcat Apr 08 21:48:26 iv been using lumberjack to submit logcats to other devs but it seems like a pain to do it this way when im the one deving Apr 08 21:48:44 anyone know anything about the mathematics behind the pattern lock in android? I've written my own and I am thinking about ways to do this. I've read the source of android's implemnentation but it is a bit too much for simple reasoning about math. Apr 08 21:48:56 are you using eclipse for development? Apr 08 21:49:03 I was thinking how this could be done, each node in the pattern lock could be 1-9, but that's the dumb way Apr 08 21:49:18 SimonVT: that was easier, I should zoom out on my browser and scroll down :) Apr 08 21:49:24 then I was thinking, you can get way more possible combos if you make the values of each pattern node depend on which node you start on Apr 08 21:50:02 readme: are you talking about storing the value of the pattern lock? Apr 08 21:51:06 g_steinert: yes Apr 08 21:51:18 g_steinert: no, just the theory of the mathematics of the pattern lock Apr 08 21:51:25 came from netbeans just because eclipse supports android better Apr 08 21:52:11 djshotglass, theres a view (or window, or whatever they call it) called LogCat Apr 08 21:52:23 pretty sure its open by default in the bottom part of the screen Apr 08 21:53:52 readme, I'm probably over simplifying here, but surely you just track the points that the finger travels over (getting a number perhaps), then comparing that number to a stored version, or maybe comparing hashes for a bit more security? Apr 08 21:54:03 I'm no security expert though, so it may not be that simple Apr 08 21:56:16 g_steinert: i think you can get more numbers out of it, if you instead of simply labeling the points 0-9 make it so that the values produced depend on which point you start on Apr 08 21:56:23 nice found it Apr 08 21:56:25 g_steinert: i've already written a basic pattern lock of my own that has the base functionality Apr 08 21:56:41 lol iv never had it this easy when programming Apr 08 21:56:44 this is great Apr 08 21:56:50 the thing i can't understand is that, why doesn't this work for any password? Apr 08 21:56:58 my thought is that it's security by obscurity, realy Apr 08 21:57:48 im not sure that would give you any advantage. however you number them, there is only the same number of possible patters Apr 08 21:57:51 *patterns Apr 08 21:57:57 how you number it is almost immaterial Apr 08 21:58:14 ah Apr 08 21:58:24 right so it's only an advantage of obscurity, which is silly Apr 08 21:59:30 http://thenextweb.com/us/2011/04/20/us-police-can-copy-your-iphones-contents-in-under-two-minutes/ Apr 08 21:59:37 OLD NEWS Apr 08 21:59:57 obscurity is a pretty useful tool to be fair Apr 08 22:01:01 your way of thinking might work if, for each point (1-9) you chose a number from 1-20 (or 1-100, or 1000…..) Apr 08 22:01:05 g_steinert: want to see two articles that when read next to each other are funny Apr 08 22:01:08 http://securitywatch.pcmag.com/security/295434-android-pattern-lock-security-outsmarts-fbi-security-team Apr 08 22:01:11 http://forum.xda-developers.com/showthread.php?t=485988 Apr 08 22:01:47 that way if someone was purely comparing numbers, not every number tried would be a valid pattern and therefore your security is improved Apr 08 22:01:57 doesn't help you with brute forcing the pattern itself though Apr 08 22:02:38 readme if you still wanted me to beta test in return for your help I have no problems doing so. Apr 08 22:04:07 readme, apparently the FBI have issues with google Apr 08 22:04:59 That's crazy that the FBI can't crack the lock screen Apr 08 22:06:00 T-Dub|DlolPics: i don't currently have something to beta test. I curbed my game project and am working on something else. Apr 08 22:06:11 i am usually helping Apr 08 22:06:16 so, don't worry about it Apr 08 22:06:49 Well I wasn't referring to the fact I want more help, although it was worded like that. I just ment that you make reference that I can help you by beta testing sense you helped me. Apr 08 22:07:07 I just wanted to make sure you knew that offer was still there, and it still is if you need it. Apr 08 22:07:22 *made not make Apr 08 22:08:06 Hi room, is there anyone available to help me quickly with a problem i can not seem to solve? My app is supposed to take a picture and save it to the phone - but my Environment.DIRECTORY_PICTURES always says "can not be resolved", no matter what i do. Has anyone had this problem too? Apr 08 22:10:49 No but I can suggest saving it to the sd card instead Apr 08 22:16:44 it seems my android phone is trying to access wireless networks when i plug the USB into my computer, why? is that normal? Apr 08 22:16:58 and that somehow makes it impossible for me to install my app Apr 08 22:17:58 if your wireless is on and disconnected it will periodically check for networks, it may be that it checks at that time because it has been put on charge Apr 08 22:18:12 i don't see why it would stop you installing your app though... Apr 08 22:18:16 what makes you think that? Apr 08 22:19:07 never had the problem before now i have and i cant install my app either Apr 08 22:21:21 [2012-04-08 22:53:23 - Astar] Failed to install Astar.apk on device '404D8E17D437! Apr 08 22:21:21 [2012-04-08 22:53:23 - Astar] (null) Apr 08 22:21:21 [2012-04-08 22:53:23 - Astar] Launch canceled! Apr 08 22:23:30 seems odd… what do you mean by trying to access wireless networks? Apr 08 22:26:16 http://pastebin.com/5thAyDVQ Apr 08 22:26:21 that never happened before Apr 08 22:27:29 have you grid turning your wireless off? Apr 08 22:27:52 *tried Apr 08 22:28:35 hi , how can i receive sms in ddms, sent my my emulator Apr 08 22:37:45 usually it installs superquick on the phone, now it tires for along time then fails Apr 08 22:37:50 tries Apr 08 22:38:22 have you tried it with your wireless off? Apr 08 22:41:55 yes Apr 08 22:42:01 didnt work either Apr 08 22:42:45 then it's not your wireless that's causing the problem Apr 08 22:42:56 probably just a coincidence Apr 08 22:43:36 what about the null part? Apr 08 22:43:46 the error mesage from android is pretty poor Apr 08 22:44:18 i know, it almost seems like thats where the details should be, but theres no details =/ Apr 08 22:44:46 have you tried uninstalling the app from your phone before installing? Apr 08 22:47:24 hello all Apr 08 22:47:41 would it be hard to modify android v2.smth source so i can get direct access to usb port signal through an app? Apr 08 22:48:29 g_steinert: yes Apr 08 22:48:52 was that directed to me? Apr 08 22:49:21 mrBG, how about installing other apps through adb? Apr 08 22:49:34 oh, i guess not Apr 08 22:51:31 hi , can anybody tell me how can i check my emulator has sent sms (using ddms) Apr 08 22:51:50 i want to grab sent sms Apr 08 22:52:18 i want to win the lotto Apr 08 22:52:24 Gaboose, haha, no. messages directed at other people often start with their username… like this one to be fair Apr 08 22:52:35 http://pastebin.com/SMyZYfH0 Apr 08 22:52:51 bankai_, don't we all! Apr 08 22:53:07 g_steinert, yeah, but it was the same letter, i thought maybe he mistyped :) Apr 08 22:53:16 same first letter* Apr 08 23:02:35 oh hell Apr 08 23:02:49 somehow I managed to delete the android thing from my project Apr 08 23:03:26 any idea how to get it back in in eclipse? Apr 08 23:05:01 'thing' ? Apr 08 23:05:04 haha Apr 08 23:06:25 fixed it had to build class path Apr 08 23:06:37 bankai_: thing is a technical term Apr 08 23:07:23 thing n. - that doodad over there that doesn't have a name I can remember Apr 08 23:08:21 I'm getting an android.os.NetworkOnMainThreadException on ICS in a Service that runs in a separate process - and modifying strictpolicy didn't help it. Any ideas on what I can do? Apr 08 23:10:21 Don't do networking on the main thread Apr 08 23:11:01 It's done in a Timer. Apr 08 23:11:15 Of a service that's in a separate process that has nothing to do with the UI... Apr 08 23:12:41 hi, I did this example (http://developer.android.com/resources/tutorials/views/hello-gridview.html) and created a gridview with pictures Apr 08 23:13:09 problem is the pictures have white background but if I set a white background for the activity the appear grey Apr 08 23:13:19 if I set a grey background they appear white Apr 08 23:13:26 how can I get rid of that? Apr 08 23:17:09 DarsVaeda, perhaps you're using the wrong shade of grey? Apr 08 23:17:30 I do not use grey at all Apr 08 23:17:51 I use android:color/white and a picture with white in it as background Apr 08 23:18:37 is there a way to download android source in windows? Apr 08 23:18:53 are you sure the picture is definitely white (#000000) Apr 08 23:19:07 #FFFFFF <- thats white, isnt it? Apr 08 23:19:15 if gimp does not lie it is pure white Apr 08 23:19:31 thats odd then =/ Apr 08 23:19:55 is it worth using a transparent background for the images? Apr 08 23:19:56 #DRIVEN-SNOW <-- as white as it gets Apr 08 23:20:46 Gaboose, you can install Git on Windows and download the source using that (check out TortoiseGit) Apr 08 23:21:04 cant find the git url Apr 08 23:21:07 i have git Apr 08 23:21:44 Gaboose: or try http://grepcode.com/project/repository.grepcode.com/java/ext/com.google.android/android/ Apr 08 23:22:06 the git url is on dev.android.com i think Apr 08 23:22:17 ooh, that's nice, thanks Apr 08 23:22:39 i only found some strange repo https url Apr 08 23:24:35 Gaboose, i think thats what I found too, then i found grepcode Apr 08 23:25:57 I've been trying to link tommath and tomcrypt with ndk-build literally all day (started before the sun came up, got about three hours left). Apr 08 23:26:42 I guess there's always XCode... Apr 08 23:27:26 when i do run configs the target has a red cross instead of green which obv means something is wron but what could it be? Apr 08 23:29:23 the program installs on the phone but then eclipse says failed to install null. but the pĂĄrogram is there and i can run it! Apr 08 23:31:49 mrBG, is the minimum api version set too high? Apr 08 23:31:58 i had that issue the other day Apr 08 23:32:08 I want to use a LayoutInflater so I do getLayoutInflater() but that is unknown, what am I missing? it should be there since api 1? Apr 08 23:32:16 but had a more descriptive error Apr 08 23:32:45 DarsVaeda, you've included the right files? Apr 08 23:33:05 I have included android.view.LayoutInflater Apr 08 23:33:12 g_steinert:no Apr 08 23:33:18 i changed that a long time a go Apr 08 23:36:44 mrBG, i can't think of anything else that would stop an app installing =/ Apr 08 23:37:02 apart from maybe not enough space on the device Apr 08 23:37:19 but thats really scraping the bottom of the figurative barrel Apr 08 23:37:37 what does the logcat say Apr 08 23:39:13 hmm now i started a new project and it seems to work Apr 08 23:39:27 or not Apr 08 23:42:15 seems a device rather than project issue then, have you tried with a virtual device running the same version of android? Apr 08 23:46:35 hi all Apr 08 23:47:06 hey hey Apr 08 23:47:11 hi Apr 08 23:47:19 i need some help if possible Apr 08 23:47:37 ask away =) we can't help if we don't know the problem Apr 08 23:47:39 g_steinert: THING IS it has worked fine for a month and just now i get the problem Apr 08 23:48:01 mrBG, how about the setting for allowing third party apps? Apr 08 23:48:12 my problem is i cant find a text blocer for my android phone that will delete the blocked messages from my phone. is there any way to do this automically Apr 08 23:48:20 im on gingerbrear 2.4 Apr 08 23:48:25 where is it(anyway i havent changed anything and it worked before...)? Apr 08 23:48:30 gingerbread* Apr 08 23:48:55 mrBG, settings->development settings (or similar) Apr 08 23:49:40 if anyone in here can help me id certainly appreciate it Apr 08 23:49:56 Hey, sorry to bother, wondering if someone can point me in the right direction, just getting started on Android Dev, and I like to throw myself in at the deep end, playing with fragments at the moment, I've added a fragment to a activity (using a layout xml file), however when I want to replace that fragment with something else I'm kinda stuck, I'm not sure how to get the container view Apr 08 23:49:56 id to replace the fragment. Would anyone be able to point me to a resource that can help or give me some advice? Apr 08 23:50:13 so weird, it installed fine and i can run it but it still says that it didnt install... Apr 08 23:50:38 g_steinert? Apr 08 23:50:42 mitchellj: afaik, xml-declared fragments can't be replaced. Apr 08 23:51:10 that woudl explain the problem I'm having then alankila! I just keep getting two fragments "layered" on top of each other Apr 08 23:52:09 SP1, I've not come across anything myself, but hang around for a bit. a lot of people will only check for new messages periodically. if you have no joy now, try again later or tomorrow =) Apr 08 23:52:11 mitchellj: you could take say FrameLayout and give that an id, and try to put the fragment there. That's your container view Apr 08 23:52:32 ok then the next possibly retarded follow on question, If I remove it from the xml file, I know I can add it using the FragmentManager but I need to find a ViewGroup to add it with, any idea how I get the viewgroup of the currently active view? Apr 08 23:52:57 ok g_steinert Apr 08 23:53:00 so if its wrapped in a framelayout it would be ok? Apr 08 23:53:01 SP1, also, you could try #android - this sounds like a user question rather than a developer question (unless of course you are looking to incorporate this into your own app) Apr 08 23:53:23 mitchellj: any view maybe. I'm not sure what is a good choice. Last time I hacked with a ListFragment I put it as child of a FrameLayout Apr 08 23:53:30 dont know how to develope apps for the android os im new to the android os Apr 08 23:53:58 g_steinert Apr 08 23:54:03 SP1, then you definitely want #android Apr 08 23:54:19 ive tried android for what im looking for and no real help in there Apr 08 23:54:40 FrameLayout is a good choice for a Fragment container, since it's a rather lightweight viewgroup Apr 08 23:55:30 http://pastebin.com/Ec6sfW1F <<--- normal stuff in logcat? Apr 08 23:56:14 it seems all the apps available for free on the android market just hde the blocked messages on the phone and dont delete them Apr 08 23:56:50 hide Apr 08 23:57:03 fantastic thanks alankila + SimonVT just wrapped it in a framelayout and it works rather nicely :D Apr 08 23:57:17 does this make sense to anyone in here? Apr 08 23:59:33 it makes HTC Sense Apr 09 00:00:04 htc sense? Apr 09 00:00:22 what do you mean by that jake? Apr 09 00:00:22 lawl Apr 09 00:01:30 mrBG, staffan.aop.mysko is your package? Apr 09 00:01:30 so how can it install though it says not installed!?!?!? Apr 09 00:03:11 yes Apr 09 00:03:48 looks to install successfully (line 27) Apr 09 00:04:08 is there an option to keep the position persistent when scrolling in a gridview? Apr 09 00:04:09 but installs with a -2 suffix on the .apk filename Apr 09 00:04:25 yes but then the console says Apr 09 00:04:25 [2012-04-09 01:54:42 - Mysko] Failed to install Mysko.apk on device '404D8E17D437! Apr 09 00:04:25 [2012-04-09 01:54:42 - Mysko] (null) Apr 09 00:04:25 [2012-04-09 01:54:42 - Mysko] Launch canceled! Apr 09 00:04:44 so maybe thats because the mysko.apk isnt there b ut the mysko-2.apk is? Apr 09 00:04:56 try deleting /data/app/staffan.aop.mysak* from your device Apr 09 00:05:01 or what does it normally do if there is already an app witht he same name Apr 09 00:05:09 i have deleted the apps before Apr 09 00:05:31 [19:59:33] it makes HTC Sense Apr 09 00:05:32 [20:00:04] htc sense? Apr 09 00:05:32 [20:00:22] what do you mean by that jake? Apr 09 00:05:33 made my day Apr 09 00:05:54 SP1: was a joke Apr 09 00:06:22 We have a funny guy in here Apr 09 00:06:54 04-09 00:06:54.722: W/GoogleLoginService(17684): Device has no accounts: sending Intent { act=com.google.android.gsf.LOGIN_ACCOUNTS_MISSING } Apr 09 00:07:50 do you use accounts or anything in your app? Apr 09 00:08:06 ki Apr 09 00:08:13 hey, question. more of an RFO (request for opinion) :) . i want to provide a user a gui that displays an audio spectrum waterfall. i want the user to be able to move a vertical line left and right to "tune in" to any interesting signal Apr 09 00:08:22 might just be background noise from your phone Apr 09 00:08:31 are existing widgets good enough, or should i roll my own? Apr 09 00:09:55 considering that sliders are already tested for the touch screen and fat fingers...... Apr 09 00:10:12 how can my phone be low on memory? i havent changed anything and im not running anything heavy Apr 09 00:10:46 mrBG: too many things stored on internal storage. see what you can move to SD Apr 09 00:10:52 especially cache Apr 09 00:11:55 Let's say that I have three libraries I want to compile with the ndk-build. (1 Shared, 2 static) Are there any examples of what the Application.mk should look like? Apr 09 00:12:02 on java swing, i did make my own Apr 09 00:12:45 right, bed time for me. good luck mrBG =) ill be about tomorrow (or should i say later today) if you're still having issues Apr 09 00:13:15 available space on phone is 144MB, pretty low right? but ihavent installed anything really Apr 09 00:13:22 why is it all the sudden a problem? Apr 09 00:13:29 can i empty the cache somehow? Apr 09 00:30:37 can i empty the cache somehow? Apr 09 00:33:36 i have a static boolean im using to prevent my content from changing on orientation change Apr 09 00:33:49 but if i change orientation more than once, it doesnt work Apr 09 00:33:52 any ideas why? Apr 09 00:38:29 Is there a way to verbosely log the ndk-build? NDK_LOG did not seem to do much. Apr 09 00:39:26 What is smaller than the tag for accepted html? Apr 09 00:42:34 Jonathan_Eyre: u can use ndk-build V=1 > logs.txt Apr 09 00:42:40 and then cat logs.txt Apr 09 00:55:32 It doesn't seem there is anything smaller... and the font's size attribute is ignored. Apr 09 00:55:41 Alright, I verbosely logged the linking portion of the ndk-build, and I can see what is wrong. Apr 09 00:56:06 The Shared library needs tomcrypt Apr 09 00:56:59 Tomcrypt needs tommath, SO, Linking tomcrypt to the shared library does not work, because it needs tommath first. Apr 09 00:58:05 So I THINK I need to make a library that has both tomcrypt and tommath in it, and then I can link that to the shared library. Apr 09 00:58:52 Is there a way to combine tomcrypt and tommath, AND ONLY THEN use that combined library to link to the shared library? Apr 09 00:59:34 * Jonathan_Eyre has crossed fingers Apr 09 01:00:22 I'm getting android.content.ActivityNotFoundException when creating an Intent with Intent.ACTION_DIAL. Do I need to add something to the manifest for this to work? Apr 09 01:04:07 um Apr 09 01:04:11 yeah you might for that one Apr 09 01:04:37 what activity is that, just to open the up a dial keyboard thing, or to actually open up the contacts app, and make a phone call? Apr 09 01:13:09 Im slightly confused, I need a custom simplecursoradapter with my loadermanager, a cursor is never passed to the constructor, how am I supposed to get values from my content provider? Apr 09 01:14:20 if its custom is it really simple? Apr 09 01:15:42 hell no it isnt, i have a toolbar in each item that hides with a click and two buttons that both adjust a textview value in my toolbar Apr 09 01:38:27 any simple way of using the holo themed SeekBar in older versions of android (2.2, 2.3 etc) ? Apr 09 01:40:58 copy the assets Apr 09 01:41:31 JakeWharton...i wasted like 2 hours bc i didnt read ur documenation xD...damn proguard...lol Apr 09 01:41:44 haha Apr 09 01:42:16 if all else fails...read the directions xD Apr 09 01:43:30 JakeWharton, fair enough - but where do i find 'em ? need to grab the android source? Apr 09 01:43:37 yes Apr 09 01:43:42 they are in frameworks/base.git Apr 09 01:44:15 BAMBOOYAH! Apr 09 01:44:42 JakeWharton: how do you like your Nexus? Apr 09 01:44:52 love it, best phone evar Apr 09 01:44:57 awesome, getting one tomorrow Apr 09 01:45:05 Galaxy Nexus, im assuming? Apr 09 01:45:10 retiring my precious g2 to swappa Apr 09 01:45:14 * Jug6ernaut sold his nexus Apr 09 01:45:19 & got a note :) Apr 09 01:45:33 juanez: https://android.googlesource.com/platform/frameworks/base.git Apr 09 01:45:52 you willing bought a note O_o Apr 09 01:45:55 *willingly Apr 09 01:46:24 JakeWharton, thanks! already cloning it :) Apr 09 01:46:34 it'll be in core/res/res/ Apr 09 01:46:51 awesome Apr 09 01:47:10 hopefully I'll be able to get back into Android hacking Apr 09 01:47:33 JakeWharton i love it Apr 09 01:47:34 i really do Apr 09 01:47:40 * Jug6ernaut loved his gNexus also Apr 09 01:47:42 we have one at work Apr 09 01:47:44 but the note is just awesome Apr 09 01:47:46 i don't like it Apr 09 01:47:47 ditto Apr 09 01:47:51 galaxy nexus is amazing. Apr 09 01:48:10 my mom got a bit jealous when she saw I picked it out for myself and got one as well Apr 09 01:48:13 JakeWharton it took some getting used to...definitly Apr 09 01:48:15 anyone wanna swap a g2x for a galaxy nexus? ;) Apr 09 01:48:50 haha Apr 09 01:48:57 guy's got jokes Apr 09 01:49:31 well.. never get an LG phone Apr 09 01:50:05 agreed Apr 09 01:50:07 but i will say one thing Apr 09 01:50:18 the lg nitro has the most amazing screen...ive ever seen Apr 09 01:50:20 bar non Apr 09 01:51:05 iPad 3 Apr 09 01:51:08 nope Apr 09 01:51:11 so be it. but LG won't even support their phones for a year.. g2x was EOL ridiculously fast.. and it has a lot of issue with each stock-rom update :( Apr 09 01:51:54 if ur hoping for offical updates... Apr 09 01:51:56 can you disable join/parts in Colloqueueueue Apr 09 01:51:57 get an ipone Apr 09 01:52:50 Jug6ernaut, well, i was hoping they'd at least address all the instability issues. it keeps freezing up, spurious reboots and other craptacular instability issues Apr 09 01:58:51 EddieRingle: tried all downlaoders, proceeding with my own Apr 09 01:59:01 laod Apr 09 01:59:40 JakeWharton: had a feeling you would Apr 09 01:59:53 had one last hope that I tried last night but it's API was horrid Apr 09 02:00:05 plus, yet again, it's part of a large framework which I don't like Apr 09 02:00:28 I prefer small, reusable, modular libs Apr 09 02:05:23 mornin' all Apr 09 02:09:00 good evening Apr 09 02:13:14 JakeWharton: how do I do MenuItem.SHOW_AS_ACTION_WITH_TEXT in xml? Couldn't find it in your demos Apr 09 02:13:38 android:showAsAction="withText" Apr 09 02:13:53 it's in the Android documentation Apr 09 02:14:53 I prefer your demos over the docs, maybe you should add it Apr 09 02:15:31 There's only so much that I can put in the examples Apr 09 02:15:50 JakeWharton Apr 09 02:15:56 cow of Canada Apr 09 02:16:02 can you make an example of using an action item to start a new activity Apr 09 02:16:04 and in this activity Apr 09 02:16:07 i need it to display a map Apr 09 02:16:10 generated by my server Apr 09 02:16:16 so an example of all that Apr 09 02:16:18 kthxbai Apr 09 02:32:31 hrmm... dont get how to use the base/core/res/res/drawable/progress_horizontal_holo_dark.xml - were do they actually define the drawable ??? Apr 09 02:34:44 hello...i just converted from apple to andriod. please forgive my noob question. I'm about to flash a stock rom with root + no bootloader with Odin......after this step, what do I do to load the rom I want? also, should I unlock FIRST with APP in the stock rom with root or wait until I flash to the rom I want and then use the unlock app? Apr 09 02:35:12 temujin87, wrong # Apr 09 02:35:21 where should i go? thanks Apr 09 02:36:01 xda forums maybe.. i dunno Apr 09 02:36:50 juanez: that is the drawable Apr 09 02:38:12 it's defined in the theme Apr 09 02:38:19 aahhh! Apr 09 02:38:37 so i need to get the theme too Apr 09 02:39:08 noo.. i dont really see how this works Apr 09 02:40:41 too me, it looks as if it's just reffering to alot of different drawables which i then never see defined anywhere... are they defined i java code? Apr 09 02:46:07 g_steinert: hey i fixed it, factory restart of the phone. issue was probably memory somehow now it works fine again Apr 09 02:46:10 yippie! Apr 09 02:53:07 how do i create a folder in the internal storage? **** ENDING LOGGING AT Mon Apr 09 02:59:58 2012