**** BEGIN LOGGING AT Fri Mar 08 02:59:59 2013 Mar 08 03:00:42 StingRay_: Yes, I want an ActionBar for the tab navigation/swiping Mar 08 03:00:54 StingRay_: But I do not want the titlebar that appears above it by default Mar 08 03:01:06 It seems incredibly difficult to separate them Mar 08 03:01:48 oh then I'm probably correct in assuming that you have to do that as an xml tag like android:theme="@android:style/Theme.NoTitleBar.Fullscreen" Mar 08 03:04:22 Any variation of NoTitleBar does the same thing - nukes the ActionBar entirely Mar 08 03:11:24 i think Android 4.0.1 or earlier might have allowed/done that, have the tabs inside the top action bar, but they intentionally made a change so that is no longer a behavior (except maybe on tablets or in landscape?) Mar 08 03:11:44 i think you'd have to use a custom view in the action bar to accomplish it, or just a custom tab host that looks like an action bar Mar 08 03:17:05 Cool. Mar 08 03:17:06 -_- Mar 08 03:17:19 Yeah if I had just implemented tabs myself I would be done by now Mar 08 03:17:31 But I figured doing it the most idiomatic way would be simplest Mar 08 03:18:01 I really just want a dead-simple tabs/swipe UI with two tabs, that looks almost exactly like the stock Clock app. No title bar. Clean. Mar 08 03:18:54 I'm just abandoning it for tonight... I'll start fresh later and just do my own tab/fragment thing. It'll be less trouble than trying to hack the action bar to work correctly Mar 08 03:26:22 capella: i got updates for both already :) Mar 08 03:26:57 Those bastards !!! (They killed kenny) Mar 08 03:29:24 Hello, everyone, I want to build a custom ROM enabling my Nexus S for 2-way audio recording which I will use for providing telephony service (calling/SMS) to my desktop and tablet. Does anyone know where I can get a kernel patch that enables this functionality? Mar 08 03:30:30 capella: i was reading about Mozilla's plan to add some social integration to future FF; i wish they would just focus on security, standards compliance, speed, ux Mar 08 03:30:46 Should I use libtinyalsa.so or libsecril-client.so? I read some code in Google's repo Mar 08 03:31:05 yah we have the new SocialAPI stuff now ... I don't favor it either Mar 08 03:31:28 and MarketPlace - like features are creeping it Mar 08 03:32:15 yeah - and the landscape keeps getting more complicated. FirefoxOS, FF for Android, Windows, Mac … are you guys doing a BB version ? Mar 08 03:32:29 seems like there is plenty of more important work to be done ;) Mar 08 03:32:30 If I used twitter or Facebook I might see the value .... :p Mar 08 03:33:08 anyone have a good example of an autoComplete filter/cursor textView ? Mar 08 03:36:06 TheBunny is here ! Mar 08 03:36:12 <_< Mar 08 03:36:14 oh my Mar 08 03:36:18 StingRay_: TheBunny from your video is here ! Mar 08 03:36:40 all hail TheBunny Mar 08 03:37:00 * TheBunny had a good day, Shipped ESO for Mac internally 99% done now! Mar 08 03:37:09 1 small issue left Mar 08 03:41:50 wow, downloading ubuntu 12.10 took 3 hours -.- Mar 08 03:41:54 even though its only 700 mbs Mar 08 03:41:59 wow Mar 08 03:42:15 and Im bitching about down loading 20 GB at work... Mar 08 03:43:00 * TheBunny data patcher is running at a whole 1mb a sec... Mar 08 03:43:05 its not my internet though, i have files being downloaded at 700kbs Mar 08 03:43:05 makes it 5+ hours :( Mar 08 03:43:20 just ubuntu.com is being slow, 60 kbs =[ Mar 08 03:43:25 * StingRay_ likes his 50mb connection Mar 08 03:43:27 yes I asseumed it was not your connection Mar 08 03:43:28 :) Mar 08 03:43:43 I just downloaded it in 25 seconds... Mar 08 03:43:55 see you need to down load it from StingRay_ Mar 08 03:44:05 StingRay_: Google Fiber? Mar 08 03:44:14 BT FTC Mar 08 03:44:17 <-- uk Mar 08 03:44:20 nah you can get the speed all over on cable etc Mar 08 03:44:26 http://www.speedtest.net/result/2557174770.png *ahem* Mar 08 03:44:30 back in my day we had to leave our 33.6Kbps modems on overnight to download linux distros. And we liked it. Mar 08 03:44:37 wow. Mar 08 03:44:42 leeds: what are you using? Mar 08 03:44:44 kevinb: I had a 14.4 1st Mar 08 03:44:49 kevinb: back in my day we had to leave our computers on overnight to compile a kernel... Mar 08 03:44:50 hehe :) i remember when i got my USR 14.4 Mar 08 03:44:50 then 28.8 Mar 08 03:44:57 Trinsta: gigabit fibre Mar 08 03:45:08 * TheBunny is not sure what he would do with 50MB line tho... Mar 08 03:45:14 Unless I have kids etc Mar 08 03:45:18 what sucks is when fios is only one block away Mar 08 03:45:24 :( Mar 08 03:45:32 but city politics/corruption gets involved -.- and fios is restricted from my city Mar 08 03:45:49 am I asking the wrong questions in this channel ? Mar 08 03:45:51 same shit everywhere :( Mar 08 03:46:00 or asking stupid questions ? Mar 08 03:48:20 slow in here tonight? Mar 08 03:48:56 hmm actually most of IRC all over looks dead. Mar 08 03:49:53 #ubuntu and ##linux is pretty active :) Mar 08 03:50:08 ugh, all the examples I see of autoComplete just use cursor to put things in a list or hashmap Mar 08 03:50:35 is that somehow better than a cursor/baseAdapter + filter combo Mar 08 03:51:33 do you guys have any good recommendations for a good cloud backup service? Mar 08 03:52:20 so i can store all of my data on the cloud (just regular data) slowly over a period of time and then reformat and re-download back slowly? Mar 08 03:54:00 I don't know any that really work like that Mar 08 03:57:24 ehh, nvmd going to just use a USB Mar 08 04:00:28 anyone know how to achieve both telephony voice up-link and down-link capture on Android for only Nexus S? Mar 08 04:01:06 I'm lost when browsing the android open source project repo... Mar 08 04:10:24 StingRay_: I figured it out Mar 08 04:10:41 StingRay_: Second answer here http://stackoverflow.com/questions/5720715/remove-application-icon-and-title-from-honeycomb-action-bar Mar 08 04:10:51 With simply nothing in the displayOptions Mar 08 04:21:19 I've seen some apps that when a TextView is longPressed, a dialog pops up where the title is the full content of the possibly ellipsized text, and the option to copy to clipboard. Is that a built in function somewhere? Mar 08 04:22:36 LemonadeCarl: the repo doesn't have code for that at all, IIRC Mar 08 04:23:43 p_l: then how can I achieve what I want? I saw there's an app on Google Play that did this. Mar 08 04:23:43 the cases where voice capture was done without tricks like listening to microphone during the call were mainly on Qualcomm phones that had single-chip SoC with radio Mar 08 04:24:58 p_l: I just want my app to work on my nexus s, personal use only Mar 08 04:25:05 they usually use root and some tricks to acquire voice stream from radio chip, which for huge chunk of phones might mean hacking the radio firmware (or at least finding out undocumented stuff regarding how to put it online) Mar 08 04:25:18 p_l: I don't need to adapt other phones Mar 08 04:26:36 LemonadeCarl: the problem is that Nexus S has separate radio. So your best bet would be soldering :> Mar 08 04:27:16 p_l: :( Mar 08 04:27:16 I don't know the details of audio routing on NS' motherboard, though. There might be a loop going into application processor Mar 08 04:27:40 or you might find a way to get the radio to spew the voice data into memory of application processor (risky) Mar 08 04:27:42 p_l: that's out of my reach. How about a Nexus one Mar 08 04:27:58 p_l: https://play.google.com/store/apps/details?id=com.skvalex.callrecorder&hl=en Mar 08 04:28:21 p_l: this app supports Nexus One Mar 08 04:28:39 LemonadeCarl: might be easier (several HTC phones had a way to access voice data, because they had radio and application processor integrated on one chip and didn't have the classic 'radio got separate physical audio lines') Mar 08 04:28:49 don't know how it's done, though Mar 08 04:29:02 android's source pretty much will be of no help Mar 08 04:30:13 p_l: then where should I be looking if I want to do it on such "easier" devices? Mar 08 04:31:19 xda-developers Mar 08 04:31:34 and I think it was mainly with older devices Mar 08 04:32:00 thanks Mar 08 04:32:37 maybe starting the project on an arm dev board will be much easier Mar 08 04:33:04 maybe a rapsberry-pi or a beaglebone Mar 08 04:33:32 depends what you want to do Mar 08 04:33:54 if you were attaching a radio to another device, you could just route the I2S lines yourself and get it easy Mar 08 04:35:35 p_l: I just want to receive/send calls and SMS on my desktop/laptop/tablets/cellphone with one fixed number Mar 08 04:36:07 which is not possible via services like Google Voice / Skype Mar 08 04:36:16 LemonadeCarl: you might have it easier to emulate a BT handset on the laptop Mar 08 04:36:21 etc Mar 08 04:36:38 bye - going to work now Mar 08 04:36:40 afk Mar 08 04:36:57 p_l: yeah, I saw that solution somewhere, too Mar 08 04:37:05 bye Mar 08 04:55:40 * g00s finally finds a good book on Laplace and Z-Transforms: but its in german :/ Mar 08 05:07:22 do you guys eject your devices or just pull the usb out? (aware of write cache) Mar 08 05:07:50 Trinsta: Make sure usb storage is off, then pull out Mar 08 05:09:22 really? i just pull mine out :| Mar 08 05:09:38 g00s: eeeee, macs are easier to get usb data corruption Mar 08 05:10:02 thought, ive only seen usb corruption once or twice in my life Mar 08 05:10:31 never had a problem. although, when i plug my phone in it doesn't show up as a mass device; yeah i would eject it if it did :P Mar 08 05:11:36 hehe, im excited :) Mar 08 05:11:52 just hoping that I don't get bugs from my ATI graphics card =[ Mar 08 05:27:03 g00s: i think i'm in love with ubuntu already Mar 08 05:27:23 Trinsta: :) Mar 08 05:27:41 if Lightroom and PS worked on Linux, i'd still be using it Mar 08 05:28:29 so the question is, can I be bothered to go to this later on today? http://www.linaro.org/connect/demo-friday Mar 08 05:29:14 yea, ps not working was a bummer :/ Mar 08 05:29:22 native toolchain for Android Mar 08 05:29:52 Leeds: sure, why not ;) especially if you can learn something or meet people; but there is always an opportunity cost :D Mar 08 05:30:32 I do know one person who's there - he's in #android but not here :) Mar 08 05:32:29 g00s: i have a win vm just for lightroom Mar 08 05:32:36 but first, as the good lord probably said at some point - let there be lunch! Salad every day, dropped 6-7 lb this year so far... Mar 08 05:32:43 g00s: there's just no good alternative to it Mar 08 05:33:19 my machine is challenged enough, vms are rough going for me ;) Mar 08 05:33:51 dragorn: i'm just learning LR, but yeah - most of the people I follow (good photographers) swear by it Mar 08 05:34:36 whats so special about lightRoom Mar 08 05:34:40 never used it, ever Mar 08 05:35:02 well, for the price it seems to give you lots of tools: DAM and basic localized editing Mar 08 05:35:08 g00s: yeah; if you're doing pro or semi-pro stuff you're going to want it. As a friend said, "it sure is nice you like open source, but if you're dropping $5k on camera gear, get the right software." Mar 08 05:35:24 StingRay_: It's for photo retouching/balancing/sharpening Mar 08 05:35:50 dragorn: i know what it is Mar 08 05:36:01 I just cant imagine good tools for any of that Mar 08 05:36:04 StingRay_: I don't understand the question then Mar 08 05:36:07 that compare to PS Mar 08 05:36:12 now, about LR vs PS - even the pros use LR as much as they can and then drop into PS only when necessary Mar 08 05:36:38 it's complementary. You can do a lot of the same things, but LR is more photography oriented than digital image editing oriented Mar 08 05:37:34 dragorn: i was reading some stuff my Michael Frye, who curates the Ansel Adams collection - and he describes how he uses PS the way Adams used the analog lightroom. very interesting indeed - but even he uses LR for many things Mar 08 05:38:25 g00s: It's good software. Pretty much anything you do will benefit from some color temperature tuning and some sharpening, at the minimum. Mar 08 05:38:39 dragorn: i have high expectations for this book also http://www.amazon.com/Digital-Negative-Processing-Lightroom-Photoshop/dp/0321839579 Mar 08 05:38:56 which i have not yet read; but the complimentary version is coming out soon also Mar 08 05:39:08 (The Digital Print) Mar 08 05:40:42 g00s: snapseed on android is surprisingly good for LR-ish things too. At least, I find it very handy when combined w/ a wifi-sd card on a point and shoot, if I'm not going to lug the SLR Mar 08 05:41:19 i wonder what will come of the rest of Niks' software now that google bought them Mar 08 05:41:31 i wanted to get Silver FX Mar 08 05:41:37 g00s: lack of raw editing on android is a problem tho Mar 08 05:42:03 hm Mar 08 05:42:21 g00s: i love it so far, only problem... no sure if its fixable. being a windows user i liked the exit button on the top right rather than top left ;) but i'm guessing i could get used to it or use a quick exit shortcut Mar 08 05:42:32 the mouse also seems a bit ... off... Mar 08 05:42:47 yeah i liked MS mouse dynamics the most of any platform Mar 08 05:42:49 and most importantly, i dislike the menu bar is there anyway to adjust it to the bottom? Mar 08 05:43:19 the guys in #ubuntu could help - i haven't used it in a very long time, try just dragging it to the bottom Mar 08 05:43:45 mhmm kk tys Mar 08 05:43:57 were you ever able to make it similar to MS? Mar 08 05:44:06 mouse dynamics? dont think so Mar 08 05:51:20 hey guys, you know where i can get an archive of google io 2012 powerpoint slides? i'm having a hard time finding them :/ Mar 08 05:52:12 it's basically formatted like this dl.google.com/googleio/2010/android-android-ui-design-patterns.pdf Mar 08 05:52:17 but i can't seem to trace it Mar 08 05:53:17 oh, it seems only the 2010 slides are available online :/ Mar 08 05:53:28 you know where i can get em romainguy? Mar 08 05:59:04 does anyone have a website that attracts freelancers and interested getting money or %sales for advertising? Mar 08 06:04:56 please try some other chatrooom relipse Mar 08 06:15:29 Hey Guys, I'm trying to add a PIN to my app, how could I reliably know when my apps goes in background Mar 08 06:16:18 I don't want to show PIN when move between activities Mar 08 06:16:27 but when he relaunches it Mar 08 06:52:26 g00s: i think im going to use xubuntu instead Mar 08 06:52:58 yeah, i went back and forth. really, there wasn't much memory usage difference between the 2. Mar 08 06:53:28 but you may get better support from vanilla ubuntu; i think xubuntu has less users - at the time it was like a weird stepchild Mar 08 06:58:21 now i have this question about Ubuntu Phone; it uses QML/Qt … but i recall commercial Qt licenses costing bucks. So, if you're a dev and want to write a paid app, do you have to also pay for a Qt license O.o Mar 08 07:00:06 g00s: heh, I had a change of plans, having an extra phone screen on Monday and only then going for on-site Mar 08 07:00:18 g00s: not anymore Mar 08 07:00:33 p_l: is the process still moving forward? Mar 08 07:00:43 process is going forward Mar 08 07:00:50 as for Qt, it's LGPL'ed now Mar 08 07:01:02 ok, good ;) more time to finish your Concrete Math book haha ! Mar 08 07:01:38 g00s: I supposedly passed the SWE phone screen very well, the next one is with SET (Software Engineer in Test) Mar 08 07:01:50 \o/ Mar 08 07:06:56 heh. I just had to move someone in G+ circles because he made my stream NSFW :D Mar 08 07:07:36 ... damn, it doesn't work retroactively Mar 08 07:07:41 just close your G+ account, problem solved forever ! Mar 08 07:08:07 oh man, i wonder if that would disqualify one from interviews Mar 08 07:08:32 it wouldn't Mar 08 07:08:43 unless you show them that stream while *in* the interviesw Mar 08 07:10:17 anyway, it was the right kkind of NSFW :3 Mar 08 07:13:11 * p_l just went through it and +1'd every single post Mar 08 07:13:32 have been developing android apps for a couple months, looking for someone to work on a side project with, anyone have anything they need done that a beginner can handle? Mar 08 07:13:36 p_l: tree style tabs has enabled in me a new level of dysfunction, now being able to organize tabs better - i have more open :/ Mar 08 07:14:25 g00s: Wait for the faces of people when you tell them that you open 30 tabs in 15 seconds Mar 08 07:14:39 hehe Mar 08 07:21:16 i just made my longest facebook post ever. and it was about google. Mar 08 07:23:18 will your longest G+ post be about FB ? :) Mar 08 07:23:30 no Mar 08 07:23:35 symmetry :) Mar 08 07:23:44 i might just put the same post on g+ Mar 08 07:25:57 g00s are you in my circles Mar 08 07:26:13 canadiancow: i cant be, i dont have a G+ account :O Mar 08 07:26:22 ... Mar 08 07:26:25 sigh Mar 08 07:26:27 .. Mar 08 07:26:44 at least not one that i know about :D Mar 08 07:26:53 * g00s goes to check Mar 08 07:28:18 doesn't checking create one? Mar 08 07:28:27 "Join Google+ by creating your public profile" … so i dont think i have one Mar 08 07:28:44 k then you will never see my longest post :P Mar 08 07:28:52 :( Mar 08 07:29:02 alex_PP, no, they disproved heisenberg the other day Mar 08 07:29:07 obviously i dont have FB either :D Mar 08 07:29:20 thats not obvious Mar 08 07:29:27 but i dont add random internet friends to fb Mar 08 07:29:44 again, as far as FB is concerned, maybe i do have an account i don't know about :/ Mar 08 07:29:53 (proxy) Mar 08 07:30:20 i think if my email is in somebody's contacts , and that email is not linked to a FB account, they go ahead and create a proxy for you Mar 08 07:30:28 g00s: yea they do Mar 08 07:30:34 fuckers Mar 08 07:30:50 g00s: thats why I use multiple friend's fbs :D Mar 08 07:30:59 and my e-mail is never given out :) Mar 08 07:31:43 actually, more like i dont have a stable e-mail. gets changed every couple of weeks besides corp email Mar 08 07:32:07 wow, i dont even do that :| Mar 08 07:33:10 g00s has a social networking account Mar 08 07:33:11 :P Mar 08 07:33:13 3 separate e-mails too. junk e-mail, forum/online e-mail, amazon/scthuff email Mar 08 07:33:20 www.linkedin.com/... Mar 08 07:33:44 if i ever had a fb / g+ account, i would just commission vogon poetry for it, and use it exclusively for that. Mar 08 07:34:51 g00s: ... you just signed up for "probable sacrifice in next cataclysmic event to be brushed under the carpet" Mar 08 07:35:15 p_l: :) Mar 08 07:37:52 hilarious; author writes about book sone should read to become iOS dev : all paths leads to hers :) http://www.informit.com/articles/article.aspx?p=2027557 Mar 08 07:38:10 nihil novi sub sole Mar 08 07:38:37 thats the ticket; write a cookbook tied to every version of iOS - guaranteed money every year Mar 08 07:41:29 what happen if i copy a sqlite database while its locked? is it possible to open it anyway or will the data be corrupted? Mar 08 07:47:24 misterli: for the best answer, maybe ask in #sqlite Mar 08 07:48:10 i think theoretically, you could get a sqlite file in a weird state (maybe some transactions have not been played) Mar 08 07:48:25 Okay Mar 08 07:48:34 but i am not sure, so check #sqlite Mar 08 07:48:52 I'm sure it's possible to fix it Mar 08 07:49:01 otherwise the db would suck Mar 08 07:49:50 misterli: http://www.sqlite.org/faq.html#q5 Mar 08 07:50:38 Okay thanks. There is no need to write, just Read. :) Ill try that Mar 08 07:53:25 http://www.infoq.com/news/2013/03/HTCAmericaMobileSecurity Mar 08 07:53:44 "HTC’s report card from the FTC, not impressive:" F across the board Mar 08 07:54:48 i've never seen the FTC get involved in this. this is unprecedented Mar 08 08:11:28 guys Mar 08 08:11:50 do you need to close sqlitedatabase after inserting? Mar 08 08:11:55 data Mar 08 08:12:58 Xerixe: I never close my db :P Mar 08 08:13:44 g00s: But I'm getting this for some reason. android.database.sqlite.DatabaseObjectNotClosedException: Application did not close the cursor or database object that was opened here Mar 08 08:14:42 well you have to close the cursor , but you can leave the connection as is Mar 08 08:15:21 g00s: it doesn't cause resource leak? Mar 08 08:15:22 I'm closing all the cursors in finally {} Mar 08 08:15:49 Maziz: the connection? well, its complicated :| Mar 08 08:16:19 g00s: sorted out your jdk issues? Mar 08 08:16:24 6 vs 7? Mar 08 08:16:57 Maziz: hm, well i deleted oracle jdk 7 for now, but it popped up some zombie pos updater thing; i haven't seen it … since O.o Mar 08 08:17:33 java on mac sucks because of the apple / oracle handoff … especially for 10.7 users Mar 08 08:17:45 i think on 10.8, if you want java, you just go to oracle Mar 08 08:18:45 oh, maybe apple does have java for 10.8 still. ugh. well, i'm reasonably sure they won't for 10.9 ;) Mar 08 08:21:51 hmm i see Mar 08 08:22:01 but if you need jdk 7 Mar 08 08:22:05 you still gotta install it right? Mar 08 08:22:13 i just upgrade to 10.8 Mar 08 08:22:25 upgraded Mar 08 08:23:45 i think jdk 6 works smoothest with the android tools Mar 08 08:23:52 but if you already have 7, try it Mar 08 08:25:01 Maziz: SDK requirements still say 6 :( Mar 08 08:25:16 well catch it Mar 08 08:25:18 although i hear you can get 7 working with some work Mar 08 08:25:20 i use migration Mar 08 08:25:24 and migrate my account and app Mar 08 08:25:33 so…. jdk 7 and jdk 6 Mar 08 08:25:35 together Mar 08 08:25:48 and my old setting is reapply there Mar 08 08:25:56 catch it - catch is* Mar 08 08:26:02 Maziz: here you go http://www.informit.com/articles/article.aspx?p=1966024 Mar 08 08:26:06 parts 1 and 2 Mar 08 08:26:14 i see thanks Mar 08 08:28:31 canadiancow: dunno how things work in canada, but from what i recall here, your FB friends can influence your credit score Mar 08 08:28:53 so yeah, probably not wise to have random internet friends ;) Mar 08 08:29:06 on fb Mar 08 08:36:40 guys, anyone know where im getting Application did not close the cursor or database object when I closed all cursors for all functions? Mar 08 08:37:42 Xerixe: managing cursors in activities is very tricky. use loaders if you can. if a service, its much easier Mar 08 08:38:16 this is because of config changes and async nature of loading cursors if you are doing things right, like querying on another thread ;) Mar 08 08:42:21 m hmm.. well, it seems like that it always throw a sqlitedatabase locked exception.. Does noone know a way to unlock a database even if there is dataloosing possible? Mar 08 08:45:27 I've heard usability experts say "never replicate browser functions". Is the same true for mobile? Hence when navigated off the main page -- there's no need to put back / home / menu buttons in the header? Mar 08 08:48:06 home is ok i would think if by home you mean go to the home of the application/site and not the home of the webbrowser Mar 08 08:48:51 back seems useless and space consuming Mar 08 08:51:00 boytoy: the design guidelines speak about this; read them ;) Mar 08 08:52:58 kewl Mar 08 08:53:01 thanks guys! Mar 08 08:53:18 asfdd: dont most phones have a home button as part of their hardware? Mar 08 08:53:28 or displayed at the bottom Mar 08 08:53:43 (sometimes hide-able, or even in a PIE!) Mar 08 08:55:04 just figured out that aslong as there is a journal file it seems that the data are still in transaction and cannot be readaccessed by other connections.. Anyways, RootExplorer do the same job. It is able to open the Database (without corrupting anything) and read all data. There must a workaround.. Mar 08 08:55:54 misterli: i have a journal file as long as the db is open Mar 08 08:56:00 even if nothing is going on Mar 08 08:56:41 oh, ic. Well, aslong as its open(ed as MODE_PRIVATE) its not accessable (as said in Android SDK). Anyway, RootExplorer can do that. There must be a way. Figured out that deleting the journal file is proberbly possible but a very bad solution Mar 08 08:56:59 g00s: specifically "Set up action bars for navigation and actions" at http://developer.android.com/design/patterns/app-structure.html? Mar 08 08:57:24 yeah Mar 08 08:57:39 misterli: wut are you trying to do? Mar 08 08:57:42 well, gotta run Mar 08 08:57:59 but if you do it like this, i never have any problems /dumping/ the db http://hxcaine.com/blog/2010/09/14/backing-up-importing-and-restoring-databases-on-android/ Mar 08 08:58:04 restoring is another matter ;) Mar 08 08:58:35 specifically, see the copyFile function Mar 08 08:58:40 I've an app which should be able to access the database of another app. The app requires root privilegies to copy the database to it's own filedir. Anyway, im not sure if the copy is neccessary but it should be better to do that because the operations may take a while and all apps should be still able to access the original database Mar 08 08:58:52 misterli: root can override permissions, that's one thing, second, there's no mandatory locking enabled on majority of Android filesystems afaik Mar 08 08:59:00 (nor is mandatory locking used by sqlite, afaik) Mar 08 08:59:34 Your not supposed to declare a fragment in the android manifest are you? as calling "show()" on my DialogFragment results in the exception "unable to find explicit activity class, have you declared this activity in your android manifest xml" Mar 08 09:00:47 p_l, what do you mean by root can override permissions? should it work if i set the chmod of the database to readable by others? or do i need to delete the journal file first Mar 08 09:02:12 g00s, thanks for the link but it's only possible if the database is locked Mar 08 09:02:56 g00s: wait wait Mar 08 09:03:01 u still there? Mar 08 09:03:06 damn i lost him!! Mar 08 09:04:54 boytoy: i guess you can just ask your questions and someonw who will know the answer might answer you Mar 08 09:05:43 thanks Mar 08 09:06:57 well on my front page my header and footer have some pretty big icons.. so for my sub pages should i make a "mini" version of these icons? i.e. cram all the icons from my front page header and footer into a minified footer on my sub pages Mar 08 09:07:44 misterli: try chmodding the database to world-read/write Mar 08 09:08:02 sometimes you have to kill the journal, though - depends on version and options of SQLite used Mar 08 09:08:12 boytoy: i guess you are doing a mobile page? Mar 08 09:08:23 (or copy the SQLite file itself to temporary location, then open it) Mar 08 09:08:24 yep Mar 08 09:08:49 Did that (with root). cat ORIGINALDATAASE >> COPIEDDATABASE but the copied seems to be corrupt Mar 08 09:09:13 boytoy: your question is pretty much like 'what car should i buy', ofc iconize your images can be a way to safe space Mar 08 09:09:39 but in general the overall design should fit, and with just a question what size you should make your icons noone here can give a valuable answer Mar 08 09:09:56 general advice: don't try to waste too much space with headers and footers on mobile pages in general Mar 08 09:12:07 pretty good advice thanks a lot man Mar 08 09:12:30 its a pretty general advice :) Mar 08 09:12:52 but in design you can hardly say "do this small part that way" without knowing the rest Mar 08 09:13:14 a more design related compare (not a car compare) would be 'which color should i make my menu' Mar 08 09:13:18 yeah ... ehm :D Mar 08 09:14:54 yup :D Mar 08 09:15:10 hey what are some *great* apps? Mar 08 09:15:18 apps or websites? Mar 08 09:15:25 both preferably Mar 08 09:15:38 that showcase the best of android-based design Mar 08 09:15:38 apps: google plus app Mar 08 09:15:55 google apps in general are pretty good Mar 08 09:16:14 hmm.. Mar 08 09:16:21 lemme think a bit :) Mar 08 09:16:33 https://play.google.com/store/apps/details?id=com.ideashower.readitlater.pro Mar 08 09:16:53 https://play.google.com/store/apps/details?id=flipboard.app Mar 08 09:17:22 oooh Mar 08 09:17:27 p_l, just not got it. Do you think RootExplorer will set the chmod of the file to a READABLE state before opening? Mar 08 09:17:30 liking what i see there!! Mar 08 09:17:38 in general: search youtube for "Android design in action" its the weakly broadcast by 'the google design guys' Mar 08 09:17:47 they also do a lot of redesign and show how an app could look better Mar 08 09:17:53 and explain a lot why things are the way they are Mar 08 09:18:01 notrmally its grouped by app type Mar 08 09:18:02 misterli: RootExplorer probably doesn't give a fuck and just opens it... as root Mar 08 09:18:29 My app has rootpermissions aswell. Root is required to access /data/data and yes, i'm doing a remount before to make the folder readble/writeable.. but same effect Mar 08 09:18:35 cool cool Mar 08 09:18:35 boytoy: e.g. https://www.youtube.com/watch?v=HTQDHT0qmN8 this does redsign on fitness apps Mar 08 09:18:46 good mobile webvpages ... hmm Mar 08 09:18:57 i only can think up one (but its german: www.sueddeutsche.de) Mar 08 09:19:03 misterli: are you running SQLite as root, though? Mar 08 09:19:17 Oh, ein deutscher :-) Mar 08 09:19:21 (opening it using SQLite apis in Android framework doesn't) Mar 08 09:19:29 timroes: i guess the question on everyones mind is.. what do u think of facebook's new design? :) Mar 08 09:19:36 the rest looks like pretty bad iOs designs, so that would be another tip: don't try to fake iOS design pixel by pixel, try to create an own unique style) Mar 08 09:19:47 mobile app or mobile page? Mar 08 09:19:58 yeah that ios look is out Mar 08 09:20:17 p_l, what do you mean running SQLITE as root? I use the SQIteDatabaseHelper/SQLIte* Packages to access it. The app itself has root,y es Mar 08 09:20:26 too many gradients, can i get a yaye Mar 08 09:20:32 timroes: well in general Mar 08 09:20:32 ... then you are not accessing the file as root Mar 08 09:20:50 unless your DVM instance has UID0 (not doable through su) Mar 08 09:21:26 http://techcrunch.com/2013/03/07/hands-on-with-the-new-facebook-and-its-boredom-killing-feeds-tctv/ Mar 08 09:21:29 Ive really no idea how i should access the file as root. I could chmod777 to it before readind ;-) Mar 08 09:21:37 misterli: you could Mar 08 09:21:52 boytoy: yeah the app is not as good as it could be (from design and coding) the mobile webpage i am not sure, i ever used it :D but in general yeah its a bit to "glas" looking in my opinion. E.g. the mobile page I linked you above uses also gradients, but keeps a pretty simple still powerfull design Mar 08 09:22:06 or you could talk over pipe to /system/xbin/sqlite (or was it /system/bin?) run from su shell Mar 08 09:22:40 awesome Mar 08 09:22:46 yea gonna check those out, just need some sleep first Mar 08 09:22:51 been up all night css'ing :P Mar 08 09:23:03 boytoy: ah the app i guess i never used it on a tablet :D i don't log so often into faceboko, since its anyway only bullshit in my stream. I keep a close look on G+ where a lot of useful topics are everyday, but facebook i can just see with whom my sisters are together again or not, and pictures in front of mirrors, really who want to see that bullsh** Mar 08 09:23:12 barely keep my eyes open.. fuck Mar 08 09:23:12 ah, didnt know there's /usr/xbin/sqlite3 Mar 08 09:23:26 haha yeah i feel that Mar 08 09:23:45 mainly bullshit in my stream too Mar 08 09:23:51 cool you have a buncha sisters? Mar 08 09:24:09 3.. Mar 08 09:24:16 protective brother huh :P Mar 08 09:24:24 kind of, am the largest one in the family Mar 08 09:24:41 (oldest, though also laragest :D) Mar 08 09:24:42 * p_l thinks he would need to be protective of his lil' sis boyfriends actually... Mar 08 09:24:47 hehe Mar 08 09:25:05 my lil sis doesnt want anything to do with me Mar 08 09:25:10 boytoy: one android design in action episode, that could be especially usefull for you: https://www.youtube.com/watch?v=zHirwKGEfoE Mar 08 09:25:23 its mainly about app design, but also for css responsive design is absolutely important Mar 08 09:25:31 oh yeah cool Mar 08 09:26:07 been thinking a bit about that stuff.. like where do my desktop website's responsive css end and mobile website begin etc. Mar 08 09:26:10 cheers Mar 08 09:31:22 great stuff.. Mar 08 09:37:22 p_l, remount /system and run sqlite as root didnt work. remount, chmod777 and then run sqlite as root worked ;) Mar 08 10:02:43 Hey! I want center a relativelayout within another relativelayout (which is my full screen). I can only get it to center at the top Mar 08 10:02:59 I want it to be centered both vertically and horizontally Mar 08 10:03:42 Hello, Mar 08 10:04:44 dandre: Hello, Mar 08 10:04:57 Is there any way to create a customized Backup Transport to allow backups to other storage providers Mar 08 10:05:11 dandre: yes, that's how adb backup is implemented Mar 08 10:05:30 not sure how practical it is at the moment for "normal" applications to implement, though Mar 08 10:06:24 do you have any doc on how to do that? Mar 08 10:14:24 What I am trying to do is an android application that iss een as backu transport provider on the android device to allow applications to backup remotely on my server. adb backup seem to do backups only for usb connected devices Mar 08 10:20:30 dandre: yes, but adb backup is implemented this way on device side Mar 08 10:26:58 ok but can I install a my backup provider on a stock non rooted device? Mar 08 10:28:13 s/provider/transport/ Mar 08 10:28:30 p_l: also where can I get sample code of backup transport application Mar 08 10:29:17 or API to register my application as backup tramport Mar 08 10:30:08 dunno right now. Check android source? Mar 08 10:36:32 hi guys, i have some code that downloads and image and displays it a custom dialog, all worksa well except the dialog appears to take up the full screen even though the image sits nicely in the middle of it, im using wrap_contents etc so any ideas why the dialog goes full screen and isnt just the size of the imageview? Mar 08 10:36:53 does someone ever succeed to control NFC UID when being in emulation card mode? Mar 08 10:41:05 wow, according to comScore in the US between Nov 2012-Jan 2013, Android grabbed .4 million new users and WP got .36 million new users. Pretty damn close. Mar 08 10:41:27 of course, the US is losing relevance ;) Mar 08 10:43:25 moto losing another 10% of its workforce :| Mar 08 10:44:54 ""our costs are too high, we're operating in markets where we're not competitive, and we're losing money." Mar 08 10:45:22 hopefully they can turn things around here soon Mar 08 10:56:26 jeez, the amount of hacking i need to get this to work... mind boggling. Mar 08 10:59:53 piracy is the main thing scaring me Mar 08 11:00:06 i figured ppl didnt really pirate android games/apps but they do Mar 08 11:11:46 hi, can someone give me a tip in how include in an android application a ftp search and dowbload files from a ftp server? Mar 08 11:14:15 *download Mar 08 11:21:49 damn it, cant get this dialog to be small. its pretty much taking up fullscreen no matter what i put in it Mar 08 11:22:34 fdvalencia85 http://stackoverflow.com/questions/1567601/android-ftp-library Mar 08 11:22:37 apache commons can do it Mar 08 11:29:54 thank you Gaz Mar 08 11:30:29 By using this can I get an GUI? Mar 08 11:30:50 sorry about my English is not my native language Mar 08 11:45:51 Hi. Im having problems with my app on android 4.2. I have created a custom Button which draws text using canvas.drawText(). This works find on versions <4.0 but on 4.2 it doesn't draw the text Mar 08 11:46:11 * Ge0rG just read f-secure's mobile threats report and can't believe there is no malware for ios... is the situation really that different between android and ios? Mar 08 11:46:43 haqe17: sounds like an issue with hardware accelerated rendering Mar 08 11:47:02 Ge0rG: this will blow your mind http://www.infoq.com/news/2013/03/HTCAmericaMobileSecurity Mar 08 11:47:03 haqe17: try to add android:hardwareAccelerated="false" to your activity to pinpoint it Mar 08 11:47:04 I have tried turning it off Ge0rG Mar 08 11:48:27 it also seems this is somewhat of a known issue, perhaps a bug in 4.2. im not sure Mar 08 11:49:43 haqe17: have you seen a bug in the tracker ? Mar 08 11:50:42 Is there way to use tcp/ip over usb?(maybe adb can do it...) Mar 08 11:51:22 xorox90__: you mean adb forward ? Mar 08 11:52:14 g00s i just foudn this http://code.google.com/p/android/issues/detail?id=41638&q=drawText&colspec=ID%20Type%20Status%20Owner%20Summary%20Stars Mar 08 11:52:16 mmc // yeah similar but it can only connection between computer and device, I want to full tcp/ip including routing Mar 08 11:53:36 xorox90__: usb tethering then Mar 08 11:55:46 haqe17: sigh Mar 08 11:57:03 what Mar 08 11:57:13 u sighing at me? Mar 08 11:57:26 no, not at you - at android. that sucks Mar 08 11:57:34 oh. yeah it does Mar 08 12:04:01 haqe17: did you file that bug? the cacheEnabledTag thing seems irrelevant Mar 08 12:04:11 (looking through the code) Mar 08 12:04:34 Hi guys, i'm trying to use HDP bluetooth profile under Android, and when I connect my device, i get " onHealthDeviceConnectionResult: D-Bus error: org.bluez.Error.HealthError (Mcap instance released)" Mar 08 12:04:46 Does anyone now what can cause that ? Mar 08 12:06:08 i did not g00s Mar 08 12:10:03 haqe17: sigh Mar 08 12:21:16 does someone ever succeed to control NFC UID when being in emulation card mode? Mar 08 12:22:00 xZwhite: that is not possible on the nxp chips Mar 08 12:22:10 "security" measure Mar 08 12:25:13 Ge0rG, how do u know that? Mar 08 12:25:19 Ge0rG, any doc? Mar 08 12:25:51 on xda forum someone said it succeed in fixing the UID Mar 08 12:27:32 xZwhite: I think I read it in the libnfc docs... you can not fake more than 4 of the 7 bytes Mar 08 12:29:53 Ge0rG, http://www.libnfc.org/community/topic/277/nfcemulatetag/ Mar 08 12:30:08 CTRL+F First, you have to know that you can't emulate an ultralight due to UID Mar 08 12:37:02 xZwhite: yup Mar 08 12:37:38 such a pity that google, mnos and banks all put sticks in your wheels Mar 08 12:38:53 hi there , I need help in editing SURFACEFLINGER.h please Mar 08 12:39:34 WaHapn: just type 'vim surfaceflinger.h' Mar 08 12:39:38 I cant find it it should be located in AndroidFrameworksBase/services/surfaceflinger but i cant find it Mar 08 12:40:12 do I need to decompile or smthg ? Mar 08 12:40:23 i'm new into it sry Mar 08 12:41:36 but it's for the libnfc on host computer Mar 08 12:41:46 Ge0rG, but it's for the libnfc on host computer Mar 08 12:42:09 xZwhite: it is for PN53x Mar 08 12:42:18 I dont know if I have to do with apktool or in terminal Mar 08 12:46:10 please its basics for devs , I need help Mar 08 12:48:00 Whats a good testing phone for android? I was going to go with the galaxy S but some people were saying its too old? Mar 08 12:48:26 nexus or s2 Mar 08 12:48:29 nexus 10 apparently Mar 08 12:48:53 I have nexus 7 but the s2 might be a good option Mar 08 12:49:02 sure Mar 08 12:49:10 nexus 7 offers everything you'd need though Mar 08 12:49:32 because of: https://plus.google.com/107708120842840792570/posts/cz5TxuoNDfG Mar 08 12:49:59 except its not a phone... Mar 08 12:50:00 I wanted to see how my apps perform on the slower devices Zharf ? Cool link thanks! Mar 08 12:50:19 use a VM ? Mar 08 12:51:08 I like to test my stuff on my galaxy 3 (not S) Mar 08 12:51:31 Ge0rG, ok :( Mar 08 12:51:34 for really low end device that is :) Mar 08 12:51:44 mmm , so do u know how I can add lines in build.prop ? Mar 08 12:51:59 Is the galaxy s1 still popular? Mar 08 12:52:07 no Mar 08 12:53:58 Thoughts on using the same package name for a library, as for the app that imports the library? Mar 08 12:54:04 Wrong? Ok? Mar 08 12:58:01 WaHapn: Really I read somewhere its the 3rd most popular being used? Mar 08 12:58:24 s1 ??? Mar 08 12:58:25 lol Mar 08 12:58:26 apple741: maybe was? Mar 08 12:58:41 yeah in 2008 Mar 08 12:58:42 mr_lou: don't let societal norms dictate what you should do or not do! named them both "com.fluffers" Mar 08 12:59:06 WaHapn: ... There was no S1 in 2008 Mar 08 12:59:19 also, USA != World Mar 08 12:59:58 c'mon it was a kind of joke Mar 08 13:00:03 i could say 1980 Mar 08 13:00:31 apple741: S1 was a very, very popular phone for some time Mar 08 13:00:39 now theres nexus, S2 , S3 , lota new lgs Mar 08 13:00:45 apple741: possibly you had outdated info Mar 08 13:00:53 yes it was Mar 08 13:01:25 but ppl dont keep their phone for 2 or 3 years now they like to change it everytime Mar 08 13:01:38 not everywhere Mar 08 13:01:52 funkbox, Awesome! Mar 08 13:01:54 there's still a few old phones and they're used by the worst people in the world who expect apps to suport them Mar 08 13:03:07 ok here .... BUT if you ask for a popular device , dont ask for 3 years old phone , makin progress about new stuff is more important than old stuff , do you want to recreate the wheel ? Mar 08 13:03:29 my point of view obviously your can be different Mar 08 13:04:24 just get a S3 Mar 08 13:04:35 sorry, i meant nexus 4 Mar 08 13:04:44 +1 Mar 08 13:05:02 Supporting older phones is a big part of the hobby for me....... call me nuts, it's ok. Mar 08 13:05:23 okay I need ADB on my nokia 3310 lets gooooo XD Mar 08 13:05:34 Not that old. :-P Mar 08 13:05:44 mr_lou: yeah i use a nexus s for old phone support Mar 08 13:06:00 daily dev device is a S3 running CM10 Mar 08 13:06:14 I have a T-mobile G1 / HTC Dream that I use as a testphone. Mar 08 13:06:33 u have s3 on cm10 ? Mar 08 13:06:37 i need infos :) Mar 08 13:06:44 If my app runs fine on that, then it should be fine on everything! :-D Mar 08 13:06:58 WaHapn: well the S3 is a phone manufactured by Samsung with a 4.8" screen and available in many colors Mar 08 13:06:59 (including a nokia 3310) Mar 08 13:07:08 * Ge0rG is still using a desire z, but only because there are no more decent qwerty phones Mar 08 13:07:13 mr_lou: i'd be scared to run my image loading magic on that Mar 08 13:07:50 yes i know lol why Mar 08 13:08:06 funkbox, Yea... I am also having some memory issues at the moment, though sorting them out by using clever library magic. Mar 08 13:08:25 Can u tell me if your hdmi out is okay on s3 ? Mar 08 13:08:34 oh i dont even know if u have one Mar 08 13:08:46 cm10 it freezes Mar 08 13:09:18 okay i gert it working here but only in portrait Mar 08 13:09:18 mr_lou: i might need to support that phone in the future. it'll be interesting to work with that lil' memory Mar 08 13:10:09 i need a channel for developing help in android but not just app Mar 08 13:11:29 funkbox, I think it's an intriguing challenge. But that's just me, I've always been more interested in seeing what I can squeeze out of limited resources, than to see what I can do with the latest technology. It's especially fun when everyone has said: "It can't be done". :-> Mar 08 13:12:00 Is it possible to buy a SamsungGalaxy S II thats 8gb? Trying to track down a 'cheap' price Mar 08 13:12:34 mr_lou: yeah, the thing to do might be to disable some features Mar 08 13:12:43 top feature is perfomance Mar 08 13:12:53 and by perf i mean has to scroll like an iphone Mar 08 13:13:27 funkbox, Agreed. Performance above all. There's nothing more repulsive than chunky slow framerate. Mar 08 13:13:41 Gotta go. Back later. Mar 08 13:15:06 is it possible to load a private key + cert pair for ssl from a pkcs#12 file on android, as opposed to bks? Mar 08 13:17:43 what could be the cause for an application shortcut remaining on the main screen after an uninstall? ._. Mar 08 13:26:41 how to edit this **** build.prop Mar 08 13:34:17 bläh, any idea how to escape / in a SQLite rawQuery() when the Tablename is (yes, very dirty) like /table/name/crappy/shit? \"/table/name/crappy/shit\" "//table//name//crappy//shit" \/table\/... did not work Mar 08 13:41:51 forget it.. im an idiot.. used instead of from form all the time.. :> working nmow Mar 08 14:07:28 hi Mar 08 14:39:29 I can't find androidframworkbase , Do I have to decompile something before ? Mar 08 14:40:56 you spelled framework wrong Mar 08 14:41:08 also, I don't want to know why you're asking. Mar 08 15:09:16 hey guys. I need to get an AutoCompleteTextView to suggest user names, but searching by email rather than the user names. Any pointers? Thanks Mar 08 15:14:45 eduuud: the way I do it... I usually have a small model, in your case "User" or something, which contains the name and address. Then in getFilter(), you loop through the user list and check if User.email starts with the input string... if so you add the entire User object to your filter results. Mar 08 15:15:00 Then in getView() you show User.name Mar 08 15:15:38 So your adapter would be e.g. UserAdapter extends ArrayAdapter. Mar 08 15:15:53 Hey guys..!! My app. crashes as soon as an activity is started.. I am using 'CWAC-LoaderEX'.. and my log says this..http://pastie.org/6421286 Mar 08 15:16:44 I have also mentioned what I wrote in onLoaderFinished method.. where I suspect the issue to be with.. Mar 08 15:17:13 if only that stacktrace had a filename and a line number Mar 08 15:17:19 which you could conveniently look at and examine Mar 08 15:17:25 And you know, code. Mar 08 15:17:50 If only there were a way to know what "NullPointerException" meant Mar 08 15:17:51 TheTrash thanks. I'll take a look at Filter Mar 08 15:17:58 Looks like adapter is simply null, though. Mar 08 15:18:13 that's the point I was trying to mockingly draw to him. Mar 08 15:18:29 Aww sorry for ruining your set-up :P Mar 08 15:18:42 eduuud: https://developers.google.com/places/training/autocomplete-android Mar 08 15:18:58 thanks Mar 08 15:19:37 eduuud: that tutorial skips overriding getView(), but that should be fairly straightforward if you've ever written a custom listadapter. Mar 08 15:27:16 "how to recycle views 101" Mar 08 15:35:51 hi Mar 08 15:36:07 can i use python to develop in android? Mar 08 15:38:22 have you done a google search for "python android" yet? Mar 08 15:38:32 consider typing your question directly into google before asking it here. Mar 08 15:46:23 interesting. If I start an service (or bind to it) from the onCreate method of the Application, the onCreate method of the started activity will always be executed before the service will be initialized Mar 08 15:47:22 Hey.. what should I 'put' in onLoadFinished method while using 'CWAC-LoaderEX' library..? Mar 08 15:48:46 Sure, starting services isn't synchronous Mar 08 15:49:00 eh yeah Mar 08 15:49:10 but that hasn't anything to do with the above mentioned :D Mar 08 15:49:22 in fact since it is asynchronous, they could be started WHILE the onCreate methods are still running Mar 08 15:49:30 so google maps sdk no longer works in emulator... thats useful Mar 08 15:49:34 It has, since the entire reason your Application is created is to start an activity Mar 08 15:49:50 So the message to start the activity is most likely the first thing that's posted to the handler Mar 08 15:49:59 Then you post another message to start a service Mar 08 15:50:08 yeap Mar 08 15:50:47 just surprises me a bit, somehow i expected the service to start between oncreate of application and oncreate of activity (no reason why i though this, just a feeling :D) Mar 08 15:51:46 how is one supposed to thoroughly test an app that uses maps sdk if you can't run on an emulator? wtf is this Mar 08 15:51:49 Meh :p Mar 08 15:52:26 speakingcode-wor: doesn't the google api emlator image google maps? (never tested it, just guessing, since it supports e.g. GCM) Mar 08 15:52:44 used to, but not anymore Mar 08 15:52:51 there is now a dependency on google play services Mar 08 15:53:13 install the google play services in the emulator (yeah i know forbideen and such) but you could test it :) Mar 08 15:53:46 not really sure how, but i guess i'll have no choice but to go through that process for the myriad emulators i need to test against Mar 08 15:54:09 someone should be cussed out for this Mar 08 15:54:53 cyanogenmod has some tutorials on how to put these on a new device (works same in emulator), so you could google that :) Mar 08 15:56:10 also having another issue. one has to instantiate a MapFragment and place that into view via FragmentTransaction, and then call getMap() on the MapFragment object to get a reference to the map to do stuff with... problem is, FragmentTransaction.add() / .commit() appears to be async. callling getMap() before its ready returns null, so im also trying to figure out how to not get these null pointer exceptions Mar 08 15:56:39 FragmentManager#executePendingTransactions Mar 08 15:56:57 SimonVT: call that before getMap() ? Mar 08 15:57:11 I'd imagine so Mar 08 15:57:28 i'll check the api ref n see what that does. thanks a million Mar 08 15:57:41 It executes pending transactions :p Mar 08 15:57:51 As in, do it now, instead of doing it asynchronously Mar 08 15:57:56 ah ok Mar 08 15:58:00 awesome. Mar 08 15:58:09 "do it on this thread" yeah? Mar 08 15:58:17 No Mar 08 15:58:26 It's always done on the ui thread Mar 08 15:58:48 err yeah. i was thinking in the context of calling on ui thread. cool Mar 08 15:58:53 It's the difference between Runnable.run() and mHandler.post(Runnable) Mar 08 15:59:06 nod Mar 08 15:59:14 One does it right now, the other does it whenever it gets to that message Mar 08 16:18:00 hi! i have an activity with swipe navigation and several fragments. in the first fragment user enters data and with a swipe it displays results on the second fragment. unfortunately after going back to the first fragment and adding data, the second fragment still shows the old content. how can i refresh the second fragment when it is the currently displayed one? Mar 08 16:18:37 ultrixx: You're using a ViewPager, yes? Mar 08 16:18:41 yes Mar 08 16:19:09 implement the OnPageChangeListener (http://developer.android.com/reference/android/support/v4/view/ViewPager.OnPageChangeListener.html) Mar 08 16:19:21 in there, tell the second fragment to refresh Mar 08 16:19:28 rugby: thanks! this is what i was looking for Mar 08 16:19:32 (when it meets your conditions of course) Mar 08 16:19:35 welcome Mar 08 16:26:58 Hey all, I am using the Instrumentation sendStringSync and sendKeySync to send text to a EditBox, but I would like it to use my custom IME when doing so, it seems it ignores it even if it's already selected. Basically I want to use the custom IME to have control over the InputConnection commitText and disable briefly showing password chars as they are typed. sendKeySync: http://developer.android.com/reference/android/app/Instrumentation.html#sen Mar 08 16:45:56 Better yet, Android has "Show visibile passwords" checkbox in Location Security. How could I programatically enable this for only a specific EditBox? Mar 08 17:33:03 Hi every body ! Mar 08 17:33:34 I am trying to use the methode setType of intent to set a MimeType Mar 08 17:33:39 if works for one Mar 08 17:33:54 but I would like to accept multiple mime type Mar 08 17:33:57 how can I do it ? Mar 08 17:34:02 Hey guys, when should I be using fragments? Mar 08 17:34:30 Right now I'm just using plain old activities in my application, but before I get too deep into development, I was wondering if I should be using fragments instead. Mar 08 17:34:47 @viiralvx when you want to reuse a prt of code on other screens Mar 08 17:35:09 for exemple if you have a list and a page Mar 08 17:35:40 if he has a slmall screen you separate the 2 and put each fragment on 1 activity Mar 08 17:35:46 and if he uses a bigger screen Mar 08 17:35:54 you put the 2fragments on the same screen Mar 08 17:36:00 that's ok ? Mar 08 17:36:29 Titi: Ahhhh, okay. Mar 08 17:36:45 So for example, in my Action Bar, I have a search button which will show a Dialog Box for the user to search for something, but this behavior will be consistent throughout activities Mar 08 17:37:55 yes you use a fragment Mar 08 17:38:52 or heritage of activity Mar 08 17:39:02 fragmenjt is better cause of the XML Mar 08 17:39:06 Hmmm, okay. One last question, you know how in the Google Music app, it shows the song that is currently playing on fullscreen, but if you click the icon that's 3 or 4 horizontally stacked bars, it pulls up a ListView of songs in the playlist? Mar 08 17:39:48 Is that probably an implementation of a fragment as well? (Sorry for so many questions, I've only done basic Android programming in the course I took, he didn't really get too in-depth with it). Mar 08 17:41:23 I never use Google Music App, but I think the fragment is not obligatory in this case. you can do it with hidden the list only Mar 08 17:42:07 Hmmm, okay. Mar 08 17:42:30 Hey Guys :) Is "file///android_asset/somefile.html" working on every android? Mar 08 17:48:37 Hello so I need to use a custom simple cursor adapter with a loader manager. What's the best way to get the cursor count? Mar 08 17:49:02 how do i make part of a TextView string bold? Mar 08 17:49:44 Zaknafein, search for Spannable Mar 08 17:50:14 For NFC the minimum requirement SDK is not can still be FROYO right? As the whether or not the device is NFC compatible doesn't depend on the SDK ? Mar 08 17:50:24 sorry let me rephrase that Mar 08 17:50:35 For NFC the minimum requirement SDK can still be FROYO right? As the whether or not the device is NFC compatible doesn't depend on the SDK ? Mar 08 17:51:11 for nfc you will use uses_feature in this case Mar 08 17:51:23 styler2go: ah i see Mar 08 17:51:46 styler2go: can't find that option when creating a new android proejct though Mar 08 17:51:53 Intent.setType("image/* video/*"); ? this doesn't work, how can I do to accept multi types ? Mar 08 17:54:53 woo, i have the reply to a review feature :D Mar 08 17:55:01 anyone else seeing it? Mar 08 17:55:14 How hard is it Mar 08 17:55:23 To integrate ActionBarSherlock Mar 08 17:55:30 Into a project? Mar 08 17:55:40 Lots of code rewriting, or no? Mar 08 17:55:57 16 lines Mar 08 17:56:19 not much Mar 08 17:56:25 XD Mar 08 17:56:26 Well damn, might as well get to integrating it into the project i"m working on. Mar 08 17:57:00 ABS doesn't allow the use of fragments though, does it? Mar 08 17:57:17 With < Honeycomb devices Mar 08 17:57:59 Is "file///android_asset/somefile.html" working on every android? Mar 08 17:58:11 styler2go? Mar 08 17:58:29 ok some more ifnormation :D Mar 08 17:58:47 If i want to load a file from the assets into a webview, will this work on any android device? Mar 08 17:58:57 For NFC the minimum requirement SDK can still be FROYO right? As the whether or not the device is NFC compatible doesn't depend on the SDK ? Mar 08 18:00:20 "The minimum SDK version that your application can support. API level 9 only supports limited tag dispatch via ACTION_TAG_DISCOVERED, and only gives access to NDEF messages via the EXTRA_NDEF_MESSAGES extra. No other tag properties or I/O operations are accessible. API level 10 includes comprehensive reader/writer support as well as foreground NDEF pushing, and API level 14 provides an easier way to push NDEF messages to ot Mar 08 18:00:21 her devices with Android Beam and extra convenience methods to create NDEF records." Mar 08 18:00:23 http://developer.android.com/guide/topics/connectivity/nfc/nfc.html Mar 08 18:03:06 styler2go: ah thanks, so i'm guessing API level 14 would be the best Mar 08 18:03:23 if you dont want to support other devices, yes :) Mar 08 18:04:22 styler2go: as long as they can read nfc tags Mar 08 18:04:30 so i'm guessing only level 14 and above Mar 08 18:08:38 has anyone used OpenUDID in android? Mar 08 18:21:33 If i want to load a file from the assets into a webview, will this work on any android device? Mar 08 18:24:39 styler2go: yes Mar 08 18:24:47 hm... Mar 08 18:27:20 hey guys, if I wanted to add a refresh button in the actionbar, is it required to use actionbarsherlock? Mar 08 18:27:41 no Mar 08 18:28:01 actionbarsherlock is only needed if you want to target < honeycomb Mar 08 18:28:17 ah Mar 08 18:29:27 so I should be able to follow this http://stackoverflow.com/questions/10676517/actionbar-progress-indicator-and-refresh-button ? Mar 08 18:42:29 Rob|boR: sorry, i didnt look at the link, but you can follow anything actionbar related with or without abs. only difference being the packages imported Mar 08 18:46:20 when i use an tag inside a TextView it makes the text show up blue with an underline like a real link but it isn't actually clickable or opens up a browser. How would I do that? Mar 08 18:46:53 so am i doing it wrong or is the tag useless? Mar 08 18:54:32 can I access a web page with an app? Mar 08 18:55:13 Zaknafein: https://developer.android.com/reference/android/widget/TextView.html#setAutoLinkMask(int) Mar 08 19:05:12 Can someone recommend a method for taking screencasts of an Android app? I see clear, smooth videos online of different apps, but I haven't seen how the get that. Mar 08 19:05:23 Everything I've used is jerky or grainy to all hell. Mar 08 19:05:49 stupid suggestion. HDMI out, and a HDMI capture card Mar 08 19:06:28 hdmi capture is also handy for testing your animations, you can step through it frame by frame to make sure it's smooth and no frames are dropped Mar 08 19:07:48 openback: ^^ that has the best performance I believe, the next best thing is to use an emulator with the Intel HAX and take a sceencast using something like camstudio Mar 08 19:08:15 Bah, I don't have HDMI out. Mar 08 19:12:22 f2prateek_: that didn't work but i used text2.setMovementMethod(LinkMovementMethod.getInstance()); and that worked for me Mar 08 19:14:06 for some reason i keep getting false for file.canRead when the file path is anything similar to "/sdcard/Downlaod/foo.xxx" Mar 08 19:14:08 any ideas Mar 08 19:14:08 ? Mar 08 19:14:36 funkbox: permissions? Mar 08 19:14:51 lov: requested both r+w for external Mar 08 19:15:07 are you hardcoding the file path? Mar 08 19:15:17 I notice that you typed "Downlaod" Mar 08 19:15:28 You should PROBABLY use the Environment class. Mar 08 19:15:33 no it's coming from a chooser Mar 08 19:15:41 you might also want to check if the file exists Mar 08 19:16:13 the file is there, the user picks it Mar 08 19:17:42 is there a mac os development channel too? Mar 08 19:17:50 Google has a ban on porn files (.xxx) Mar 08 19:17:57 :( Mar 08 19:21:30 birbeck: did you try to submit an app to the goatse.cx package? Mar 08 19:21:58 cx.goatse.birbeck.android Mar 08 19:23:37 .gaping Mar 08 19:24:47 answer was FileUitls.getPath Mar 08 19:31:58 <\0x90\> asl. Mar 08 19:32:54 has anyone used OpenUDID here? Mar 08 19:41:59 14/f/cali Mar 08 19:42:09 ignore the nickname* Mar 08 19:42:39 if I extend ArrayAdapter (ex: EntryAdapter(Context context, int textViewResourceId, List objects)) in order to create a listview where each row is not just a textview, but a more complex layout (3 textviews), then what do I use textViewResourceId for? Mar 08 19:42:43 or rather, what do I set it to Mar 08 19:44:51 Don't extend ArrayAdapter Mar 08 19:45:09 android dev guide says "That field id should reference a TextView in the larger layout resource."... meaning, the xml layout I inflated? Mar 08 19:45:21 SimonVT: how come Mar 08 19:47:10 It's just pointless Mar 08 19:47:24 It's a convenience class for when you have a list of strings Mar 08 19:48:03 Since it doesn't fit your needs, you're gonna have to start overriding stuff like getView.. And then there's no real point in even using ArrayAdapter anymore Mar 08 19:48:11 I want to have a collection of grouped strings... well, more precisely, a Date and two Strings, i figured arrayadapter was a good place to start for that Mar 08 19:48:32 BaseAdapter is a good place to start Mar 08 19:51:16 i guess you're right, though there is more stuff to override/implement there Mar 08 20:00:39 Hello Mar 08 20:00:54 I was hoping for some help with formulas within an app I'm working on Mar 08 20:02:26 Basically, I have an app that's just a bunch of calculators. the calculator modules each have variables they can add into a total. I'm looking for the right formula to reference or lookup the "subtotal" or "result" at the end of each calculator module, and then add it within one final calculator for a grand total. Any ideas?? Mar 08 20:02:46 Any help is greatly appreciated. Mar 08 20:04:23 edstradwick: consider asking in ##java Mar 08 20:04:41 Thank you Mar 08 20:06:24 SimonVT: good call man, switching to BaseAdapter actually fixed the bug i was trying to get at, which i thought was unrelated. thanks! Mar 08 20:10:54 wow eclipse is dumb. can't import an existing project i put in my workspace folder because "it already exists in the workspace" even tho i didn't select to copy the files into workspace. of course, i move it to another folder and it works fine. really intuitive.. Mar 08 20:15:39 speakingcode-wor: have you considered intellij idea? :) Mar 08 20:16:26 speakingcode-wor: its an old bug :) https://code.google.com/p/android/issues/detail?id=8431 Mar 08 20:16:34 its not eclipse, its the ADT Mar 08 20:16:42 a lot of problems are not eclipse ;) Mar 08 20:16:55 This is an ADT bug? Mar 08 20:16:56 damn Mar 08 20:17:13 * lov shakes his fist Mar 08 20:17:15 xaaaaavd! Mar 08 20:25:50 JesusFreke: nah, don't care for it. only java coding i do is for android, ADT tooling seems better than what intellij has, and not worth my money to support unfree software i barely use and don't like anyway (as a matter of personal preference) Mar 08 20:26:34 speakingcode-wor: fwiw, intellij is open source and free. Mar 08 20:26:40 you really don't need the pro version for android dev Mar 08 20:27:36 and xavd mittens don't touch their android plugin, so you may get different results Mar 08 20:29:45 JesusFreke: ah didn't know they had a free version. maybe i'll look at it again Mar 08 20:30:38 speakingcode-wor: I think the android support in the recent versions has definitely improved too, but it's still probably not as fully featured as ADT Mar 08 20:31:46 so it looks like a google account is required to have access to the play store/market. is that correct ? Mar 08 20:31:58 funkbox: yes Mar 08 20:32:27 so i can safely assume that my app will always be run on a phone with at least one google account? Mar 08 20:33:03 more or less, unless someone pirates/sideloads it onto a device with no associated account Mar 08 20:33:26 don't care about those people Mar 08 20:33:46 then yeah. if you only care to distribute through Play and that's the only people you care about, then yeah Mar 08 20:34:41 the only case I can think of where that wouldn't be the case is if they buy your app, and then delete their google account from the device Mar 08 20:35:01 but something like that would break LVL-protected apps Mar 08 20:35:19 which is rare because then they don't have access to the htings they buy from Play, i'm assuming Mar 08 20:35:33 all their cloud sync n what not gets foobarred Mar 08 20:35:43 JesusFreke: that's fine, i just need the acct for auth Mar 08 20:37:46 just realized i never have paid for an app Mar 08 20:38:35 I've paid for very very few Mar 08 20:40:04 hi Mar 08 20:40:40 how big are your json files that you send to your app? Mar 08 20:41:50 anywhere from a few chars to several MB depending on the app and the data and its purpose Mar 08 20:44:25 because I'm have two json files arround 150kb and now i'm thinking is it worth spliting them into smaller parts Mar 08 20:48:43 depends on the use case Mar 08 20:49:26 gx4, if they are lists that you are rendering into a UI for instance, doing pagination might make more sense. if it is some data that you need the whole set to do coherent operatioins, then better in one chunk Mar 08 20:58:10 speakingcode-wor > it's a list, but how many splits 50kb a file? Mar 08 20:58:28 speakingcode-wor, what do you mean by you never paid for an app? Mar 08 20:59:24 Trinsta: what it sounds like. never purchased an app before. Mar 08 21:00:02 So now that everybody's porting their mobile designs over to desktop, how do you guys feel about using jQuery Mobile for desktop? Such as sliding between different pages, dialogs etc.? Mar 08 21:00:08 I've bought two or three. angry birds, and nova launcher. Mar 08 21:00:29 I've got angry birds for free from Nokia :D Mar 08 21:04:59 boytoy: i've not touched jq mobile in a while, but it would just depend on the application. if i'm building solely for desktop i probably wouldn't Mar 08 21:17:37 hey all does anyone know if its possible to add a ViewPager to a specific tab? Mar 08 21:20:52 liquidMittens: what ? Mar 08 21:24:22 a ViewPage, that swipes horizontally, is it possible to put one of those inside of a tab? Mar 08 21:24:40 I can put text boxes and all other types of controls but my Custom ViewPager does now show up Mar 08 21:24:58 hm i'm trying to fill a GridView from a different thread, because it takes very long. How can i post a message to the main thread to update the view? Mar 08 21:25:14 android.view.ViewRootImpl$CalledFromWrongThreadException: Only the original thread that created a view hierarchy can touch its views. Mar 08 21:25:20 so i cant do it directly Mar 08 21:27:49 aep how are you filling the gridview? Mar 08 21:28:02 im pretty sure you need to use the UI thread to do anything with it. Mar 08 21:28:08 yeah Mar 08 21:28:09 ^ Mar 08 21:28:21 i'm just calling gridview.setAdapter from the other thread Mar 08 21:28:26 which obviously doesnt work Mar 08 21:28:40 send a broadcast Mar 08 21:28:50 Im assuming you are threading something and which to update the UI at some given point? Mar 08 21:29:00 exactly :) Mar 08 21:29:04 Send a broadcast Mar 08 21:29:10 well the adapter is touching the UI right? Mar 08 21:29:13 cool thanks. let me google that Mar 08 21:29:25 and then in the onReceive method of the broadcastreceiver handle it depending on the action in the intent you sent :-) Mar 08 21:29:52 liquidMittens: i guess yes Mar 08 21:29:58 sendBroadcast(new Intent(MY_ACTION)); is the kind of line you are looking for Mar 08 21:30:04 is there a more gradual method btw? Mar 08 21:30:26 i guess calling setAdapter every time there is a new item is kinda bad Mar 08 21:30:29 and in the onReceive, something like if (intent.getAction().contentEquals(MY_ACTION)){ //code } Mar 08 21:30:35 cool! Mar 08 21:30:43 Yeah, don't do that Mar 08 21:30:50 If you are filling an adapter to set, fill it, then set it Mar 08 21:31:01 yeah im pretty sure your adapter should be set first with all your stuff Mar 08 21:31:16 just pass your data to the adapter to fill it and then once its done just set it once. Mar 08 21:31:18 right, so the app is black for couple seconds :/ Mar 08 21:31:26 what Anthaas said. Mar 08 21:31:32 And if you find your gridview isn't updating as you want it to straight away, call gridview.forceLayout() and gridview.invalidate() Mar 08 21:31:36 hi Mar 08 21:31:55 Hi Mar 08 21:31:58 i'm having a lot of trouble setting up to debug apps on my device Mar 08 21:32:06 Really? Mar 08 21:32:15 Settings - Developer Settings - Enable USB Debugging Mar 08 21:32:43 Anthaas: it's enabled, windows seems to detect my device as a portable device mainly like a storage thing Mar 08 21:32:57 coco89: You using Eclipse? Mar 08 21:33:05 make sure you have the phone drivers installed Mar 08 21:33:07 Anthaas: but when i execute adb devices in platform-tools it doesn't list anything. yeah eclipse Mar 08 21:33:18 coco89: Is your device showing in the DDMS? Mar 08 21:33:35 Also, as liquidMittens said, make sure you have the drivers installed Mar 08 21:34:08 Anthaas: as in the device manager? yes but its listed under Portable Devices-> GT-I9300 Mar 08 21:34:34 speakingcode-wor: cool Mar 08 21:34:46 i've tried following the steps to install the drivers under \extras\google\usb_driver\ but it wont let me for some reason? Mar 08 21:35:05 liquidMittens: that's how i'm meant to be installing the drivers right? Mar 08 21:35:12 no no Mar 08 21:35:15 What phone do you have? Mar 08 21:35:15 speakingcode-wor: im just thinking here.. having used jqmobile's dialog for dialogs on my mobile site.. should i just use them on desktop as well or use one of those million jquery lightbox plugins? Mar 08 21:35:20 liquidMittens: oh ? Mar 08 21:35:25 Hang on, what are you trying to do? lol Mar 08 21:35:27 Anthaas: samsung galaxy s3 Mar 08 21:35:33 coco89: Me too :D Mar 08 21:35:34 whatever type of phone it is google USB Drivers Mar 08 21:35:44 i'm trying to put my apps onto the phone to test out Mar 08 21:35:51 theres should be a .exe just install it. No need to directly put it in the android-sdk folder Mar 08 21:36:08 liquidMittens: what about these steps http://developer.android.com/tools/extras/oem-usb.html#Win7 Mar 08 21:36:18 liquidMittens: that's what i've been trying to follow Mar 08 21:37:16 do you see that table with all manufacturers? Mar 08 21:37:33 its called OEM drivers Mar 08 21:37:55 click on the samsung one and look for the driver you need. Mar 08 21:38:15 liquidMittens: yeah, ah i see i'll try that out. I was just confused as it says 'Note: If your device is one of the Android Developer Phones (ADP), a Nexus One, or a Nexus S, then you need the Google USB Driver, instead of an OEM driver.' Mar 08 21:39:38 if you cant find it there just google "Samsung galaxy s3 USB Drivers" bet you'll find it Mar 08 21:40:34 liquidMittens: will give it a shot, thanks! Mar 08 21:43:07 Anthaas: how do i actually instantiace a BroadcastReceiver. i can't have my Activity subclass from it Mar 08 21:43:23 private BroadcastReceiver mReceiver; Mar 08 21:43:38 ah Mar 08 21:43:40 thanks Mar 08 21:43:41 BUT Mar 08 21:43:47 How you use it is the trick Mar 08 21:43:56 create a method called registerReceiver() Mar 08 21:43:58 private void Mar 08 21:44:11 call registerReceiver() in onResume of your activity Mar 08 21:44:26 then create your registerReceiver() method Mar 08 21:44:45 IntentFilter filter = new IntentFilter(MY_ACTION); Mar 08 21:45:42 mReceiver = new BroadcastReceiver() Mar 08 21:45:52 You will notice that you are then asked to import unimplemented methods Mar 08 21:45:58 do that, and you get your onReceieve method Mar 08 21:46:18 then under that do registerReceiver(mReceiver, filter); Mar 08 21:46:33 then in your onPause method Mar 08 21:46:40 call unregisterReceiver(mReceiver); Mar 08 21:47:17 hm why would you unregister those? Mar 08 21:47:25 Memory leakage if you don't. Mar 08 21:47:31 interesting Mar 08 21:47:49 But don't worry, because if you go to another activity (which calls the onPause), when/if you return, your onResume is called and you reinstantiate it. Mar 08 21:48:05 right Mar 08 21:48:10 thats good to know Mar 08 21:48:17 dont forget to declare MY_ACTION too Mar 08 21:48:19 i'd have done it in onCreate which is probably wrong Mar 08 21:48:20 It doesnt have to be called that Mar 08 21:48:25 right Mar 08 21:48:36 For example, if you are doing a download, it might be called DOWNLOAD_SUCCESSFUL Mar 08 21:48:50 which would become private final String DOWNLOAD_SUCCESSFUL = "download successful"; Mar 08 21:49:14 right Mar 08 21:49:17 Yeah, you shouldn't put it in onCreate, because that isn't called if the activity is only paused. Mar 08 21:50:28 does it hurt to call registerReceiver twice? because my thread gets created in onCreate, so i would have to register the stuff there Mar 08 21:50:43 You shouldn't. Mar 08 21:50:51 hm :/ Mar 08 21:51:01 If it is necessary, create your thread in your onReceive, but AFTER you register your receiver. Mar 08 21:51:18 Are you familiar with the Activity lifecycle? Mar 08 21:51:24 nope. Mar 08 21:51:32 You should be - it helps a lot. Mar 08 21:51:34 but i can guess from the function names Mar 08 21:51:36 right Mar 08 21:51:52 Nah, don't guess. Get to understand it fully, and what gets called when and under waht circumstances Mar 08 21:51:53 http://developer.android.com/training/basics/activity-lifecycle/index.html ? Mar 08 21:52:08 http://developer.android.com/reference/android/app/Activity.html Mar 08 21:52:14 Yeah, the first image on the link I sent. Mar 08 21:52:32 Do a little bit of reading up on it. Mar 08 21:52:38 i really only want that thread to execute on creating the activity Mar 08 21:53:01 So only ever run when the activity is created, rather than returned to? for example when you might load an activity over the top? Mar 08 21:53:05 oh that image is helpful Mar 08 21:53:22 yes, its only for initializing a grid of apps Mar 08 21:53:33 i'd redo that when a new app gets installed Mar 08 21:53:58 So, when you want to update the grid, you'd reload the activity? Mar 08 21:54:34 nah, i'd update it when a new app gets installed in the system Mar 08 21:54:50 there's an intent for that or something. that's at least how i read the launcher code Mar 08 21:54:55 Would anyone have an explanation as to why BufferedInputStream is utilizing 1kb chunks, rather than the default 8kb chunk set in its class definition, and rather than the default 16kb chunk set in BitmapFactory ? I am extending the BufferedInputStream class and my code is working as intended, its just a little slow due to the extremely small chunk size... I explicitly tell the BufferedInputStream to use 16kb chunks in its constr Mar 08 21:55:08 actually i copied that part straight from the launcher example from google Mar 08 21:55:28 Hmm, it doesn't seem like the right way to do it tbh, but without seeing your code and understanding, I couldn't offer a better solution Mar 08 21:55:35 Googles code is good, but very situational. Mar 08 21:55:37 it just takes forever to start, so i thought i need to offload the initialization to a thread to not get the "app not responding" thing Mar 08 21:55:42 the read[] function is nothing more than in.read[] and looping through the result byteArray and xoring each byte with something Mar 08 21:55:52 It works, and gives you the idea of the object you are looking at, but not always the best solution for you. Mar 08 21:56:22 Anthaas: http://npaste.de/p/iIdB/ Mar 08 21:56:34 line 136 Mar 08 21:56:35 What is the best way to get a control from another view? Im usin getLayoutInflator but its not working properly Mar 08 21:57:05 I see you are already using BroadcastReceivers Mar 08 21:57:11 thats just the google code Mar 08 21:57:11 That your code or theirs? Mar 08 21:57:17 ahhh Mar 08 21:57:41 i copied only the function in line 479 Mar 08 21:57:46 and called it from onCreate, like they do Mar 08 21:57:56 but that is veeeery slow Mar 08 21:58:24 so i put it in a Runable Mar 08 21:58:47 Is this YOUR code, or all of Googles? Mar 08 21:58:57 thats all google Mar 08 21:59:08 Yeah, I'd need to see yours lol Mar 08 21:59:14 Im trying to find a problem that isnt there haha Mar 08 21:59:24 mine doesnt even compile riht now http://npaste.de/p/GzBF/ Mar 08 21:59:34 >implying google code is flawless Mar 08 21:59:35 :P Mar 08 21:59:49 i put that stuff in http://npaste.de/p/GzBF/#75 Mar 08 21:59:50 Nope, but the problem he described wouldn't be in the code that he hasn't written. :P Mar 08 21:59:59 what would be the best way for me to show poll results on an activity? Like lets say i have 1 number 64% and the other 36%, how can i make two bars of appropriate length to differentiate them? Mar 08 22:00:16 max length * percentage? Mar 08 22:00:17 ... Mar 08 22:00:40 like percentages, but i need to have the bars at the appropriate length Mar 08 22:00:44 MajorZero - find a graphing api Mar 08 22:00:45 yeah Mar 08 22:00:50 width = max length * percentage Mar 08 22:00:55 It is possible, just not thebest choice for yu Mar 08 22:01:08 ex, 300px max length, 50%, 300 * .5 = 150px Mar 08 22:01:31 aep - pm me Mar 08 22:02:13 ill try that Pyuruku, thanks for the tip Mar 08 22:02:32 hey guys i need help with a surface view class Mar 08 22:02:35 cam_matrix cm0 = new cam_matrix(con0); Mar 08 22:02:42 i call it like this Mar 08 22:02:48 but the camera never starts Mar 08 22:03:04 how do i use the surface view camera class? Mar 08 22:03:09 definition of cam_matrix, pastebin Mar 08 22:03:20 i paste bin it Mar 08 22:04:29 http://pastebin.com/UQJYweyr Mar 08 22:04:35 i just got started Mar 08 22:04:39 not much to see Mar 08 22:04:55 i trying to call the camera class from the main activity Mar 08 22:05:13 holder is not initialized Mar 08 22:05:20 guys my samsung galaxy s3 is rooted can i still update my current firmware version? Mar 08 22:05:25 or is it? Mar 08 22:05:28 kies is asking me to update Mar 08 22:05:37 i don't know Mar 08 22:05:43 this.holder = this.getHolder(); Mar 08 22:05:46 id take a look at that Mar 08 22:05:56 thanks Mar 08 22:06:18 coco89: #android-root Mar 08 22:06:33 thnaks Mar 08 22:06:35 i looking at it but i don't know what to change Mar 08 22:07:03 you're calling getHolder Mar 08 22:07:12 on what, exactly?... Mar 08 22:07:26 well i just pass in the context Mar 08 22:07:42 cam_matrix cm0 = new cam_matrix(con0); Mar 08 22:07:51 so youre extending a surfaceview, correct? Mar 08 22:07:57 yeah Mar 08 22:08:01 so main.xml? Mar 08 22:08:08 i need to add a surface view? Mar 08 22:08:13 well yes... Mar 08 22:08:18 what would it refer to then? Mar 08 22:08:28 where will it draw the preview? Mar 08 22:08:51 well if i add a surface view don't i need to refrence it with R? Mar 08 22:09:03 i haven't done this in months thanks for you patience Mar 08 22:09:54 does get holder just automatically get the surface view described by main.xml> Mar 08 22:10:00 ? Mar 08 22:10:28 http://pastebin.com/VyRjw6ju Mar 08 22:10:33 this is from one of my projects Mar 08 22:10:41 i do the same as you, extend a surface view Mar 08 22:11:01 but im adding an actual view to the object Mar 08 22:11:07 so it can point to it when needed Mar 08 22:11:13 you're not doing that, are you? Mar 08 22:11:37 nope Mar 08 22:11:49 that is in the main activity right Mar 08 22:12:18 yeah, in your activity Mar 08 22:12:26 you create a view in the xml Mar 08 22:12:28 then init Mar 08 22:12:30 then link them Mar 08 22:12:51 cam_matrix cm0 = new cam_matrix(con0); Mar 08 22:13:07 View someView = findById(R.id.cam_preview); Mar 08 22:13:18 cm0.addView(someView) Mar 08 22:13:19 for example Mar 08 22:13:24 i'll figure it out now Mar 08 22:13:29 thanks for your help Mar 08 22:13:57 Would anyone have an explanation as to why BufferedInputStream is utilizing 1kb chunks, rather than the default 8kb chunk set in its class definition, and rather than the default 16kb chunk set in BitmapFactory ? I am extending the BufferedInputStream class and my code is working as intended, its just a little slow due to the extremely small chunk size... I explicitly tell the BufferedInputStream to use 16kb chunks in its constr Mar 08 22:14:00 :O Mar 08 22:18:30 how do i safely remove my android device? i've closed all the programs supposedly using it, but everytime i try to eject it says 'windows can't stop your samsung android adb interface' Mar 08 22:19:45 did you close everything? even elipse? Mar 08 22:19:54 liquidMittens: yeahh Mar 08 22:20:15 just unplug that bitch Mar 08 22:20:19 :) Mar 08 22:20:26 lolol :P here goes Mar 08 22:37:01 now i'm making progress Mar 08 22:38:42 @Pyuruku why do you pass mCamera? Mar 08 22:39:06 are you starting your camera in the main activity? Mar 08 22:39:10 how does one Update the ARM EABI v7a System Image from Android SDK Manager? Mar 08 22:57:08 hm my app is by default scaled up from very low dpi. how do i fix that? Mar 08 22:59:42 ah found it Mar 08 23:03:30 eugh scumbag ecilpse Mar 08 23:03:39 or android sdk i dunno Mar 08 23:04:30 'This Android SDK reqiures Android Developer Toolkit version 21.1.0 or above. Please update ADT to the latest version' So I click check for updates... Mar 08 23:04:42 No updates available Mar 08 23:05:19 and now none of my apps are working because nothing can be resolved Mar 08 23:05:46 I am so screwed! Mar 08 23:08:23 anyone know if in-app-billing v3 has a sdk minimum? Mar 08 23:10:32 OVER 9000 Mar 08 23:10:50 helppp anyone? Mar 08 23:11:05 coco89: whats the problem? Mar 08 23:12:14 speakingcode-wor: when i run ecilpse it complains that Android SDK required android developer toolkit version 21.1.0 or above. but when i click check updates, it says no updates can be found. And nothing works because of this now Mar 08 23:12:26 open sdk manager Mar 08 23:12:32 and update sdk tools Mar 08 23:13:10 sounds like you're doing check for updates to update eclipse plugin, which updates ADT plugin for eclipse, not the android sdk tools Mar 08 23:13:47 speakingcode-wor: it says android sdk tools status is installed and 'Rev' is 21.1 Mar 08 23:14:26 hmm Mar 08 23:14:50 ohh my ADT apparently is 21.0.1 or something Mar 08 23:15:01 but Mar 08 23:15:21 android sdk tools in sdk manager is 21.1 Mar 08 23:15:45 they are different things Mar 08 23:15:50 this all came about after updating ARM EABI v7a System image in SDK manager Mar 08 23:16:15 speakingcode-wor: i see, so I guess I need to update ADT but surely clicking check for updates would have worked? Mar 08 23:16:39 you shouldn't need to update adt Mar 08 23:17:08 go to eclipse preferences, go to android section, and make sure sdk location is pointing to the directory where you have the sdk installed Mar 08 23:18:37 speakingcode-wor: yeah it's pointing to C:\Users\Marco\Development\adt-bundle-windows-x86_64\sdk Mar 08 23:18:42 so it's correct Mar 08 23:18:48 Is there any way to set either the tag of id of a fragment when you add it to a FragmentPagerAdapter? Doesn't seem like it. :( Mar 08 23:18:54 s/or/or/g Mar 08 23:19:45 speakingcode-wor: i'm so confused :( Mar 08 23:20:37 not sure man Mar 08 23:20:57 try the android ecplipse bundle on d.android.com under the download section Mar 08 23:22:40 speakingcode-wor: i'll try it out Mar 08 23:22:58 does't really fix your problem but is a way around it Mar 08 23:25:43 speakingcode-wor: I found this, but I don't really understand the answer http://stackoverflow.com/questions/10441469/error-android-sdk-requires-adt-version-17-0-0-or-above I'll probably just stick to what you said :P Mar 08 23:29:38 what's the correct way to use the 'Find' bar in Traceview. I type in Handler, and nothing happens Mar 08 23:30:28 speakingcode-wor: I got it to work, thanks ! Mar 08 23:36:36 hey guys Mar 08 23:36:40 I have an interesting problem Mar 08 23:36:46 I have a ListView Mar 08 23:36:52 it's mostly working out correctly for me Mar 08 23:37:28 there is a divider that I've stylized...it's just 1px tall, looks good normally Mar 08 23:37:44 but there is a little twist...a few of my list items are kind of like headers Mar 08 23:38:00 they look different from the normal list items Mar 08 23:38:08 and they look great....except for those dividers Mar 08 23:38:15 the dividers are kind of making them funky Mar 08 23:38:28 so is there any way to specify like "Do not put a divider below this item"? Mar 08 23:40:44 I have a not so interesting problem. My app quits after I click the button to write a string which in the textfield to an NFC tag. Here is the log http://pastebin.com/WpzKPReT Mar 08 23:41:17 unfortunately, none of it means anything to me Mar 08 23:41:26 can anyone shed some light? Mar 08 23:42:09 coco89: do you have any programming experience? Mar 08 23:42:21 speakingcode-wor: yeah Mar 08 23:42:37 juts not debugging really Mar 08 23:43:07 ah Mar 08 23:43:20 good thing to learn Mar 08 23:43:33 yeah Mar 08 23:43:36 03-08 23:38:04.952: E/AndroidRuntime(908): java.lang.NullPointerException Mar 08 23:44:12 at com.example.writetotag.MainActivity.setTag(MainActivity.java:51) Mar 08 23:44:38 line 51 of MainActivity you have a null pointer Mar 08 23:45:03 I see, what's a null pointer? sorry for being a noob Mar 08 23:45:19 a variable that hasn't been initialized Mar 08 23:45:27 I like to teach pointers like a home address. Your house has an address Mar 08 23:45:35 what if someone gives you an address, but it is invalid Mar 08 23:45:47 like "Go fetch the number from memory at address ____" Mar 08 23:45:51 and they give you a bad address Mar 08 23:45:55 in java, all variables for objects (i.e. not primitives like int, double, float) are pointers Mar 08 23:45:55 the address is a pointer Mar 08 23:45:56 ah I see Mar 08 23:45:58 null is an invalid value Mar 08 23:46:02 null pointer = bad address Mar 08 23:46:32 the variable points to the address in memory the object is stored at. so if you call an operation on a null pointer, it has no address to look for that method, so it throws a null pointer exception Mar 08 23:46:50 pastebin your mainactivtiy code (or the piece around line 51) and i can help you w/ the issue Mar 08 23:47:16 as an axample... String someString; someString.length => null pointer exception Mar 08 23:47:19 hi , I need a dump file from a ICS user please Mar 08 23:48:10 speakingcode-wor: http://pastebin.com/NGD4ZcMf Mar 08 23:48:49 Hey guys, If i'm desinging a chatting application, would it be best to handle my connections to the server/other networking tasks in a service? (just by spawning new threads) or is there a better option? Mar 08 23:49:16 (I am to pass the data back from the service to the main activity), thanks Mar 08 23:49:27 goatmasterr: do not ever do network transactions on the main thread Mar 08 23:49:38 whether you use a service or not is up to you Mar 08 23:49:48 i would Mar 08 23:49:48 speakingcode-wor: I would spawn new threads to avoid that. Mar 08 23:50:06 thanks Mar 08 23:50:09 i would use a service because you want the connection to persist if the user leaves and comes back to the app Mar 08 23:50:41 if its not in a service, it could be killed by the system while backgrounded. service has higher priority, and "foreground service" (i.e. service w/ statusbar notification) has highest priority to keep alive in background Mar 08 23:51:24 Hello. When starting an install prompt activity (from within my apk), is there a flag or method to allow 'downgrades', similar to "adb install -d"? Mar 08 23:51:40 coco89: paste the whole ctivity, plz Mar 08 23:51:44 speakingcode-wor: how do you reccomend I pass data back to the original activity? (mainly just messages) Mar 08 23:52:11 hi , I need a dump file from a ICS user please Mar 08 23:52:26 goatmasterr: i've always used bound activities so i could call methods directly on the service object Mar 08 23:52:31 speakingcode-wor: http://pastebin.com/ETbW1Zuv Mar 08 23:52:59 then in the service object i use the observer pattern, the activity can call a method, say registerListener(this) on the servie. usually i write a listener interface that the activity implements Mar 08 23:53:40 then when the service gets new data it can call something like mObserver.onMessageReceived(String message) or whatever Mar 08 23:53:50 i have some example code if you'd like to see Mar 08 23:55:42 good evening all Mar 08 23:56:09 coco89: http://developer.android.com/reference/android/nfc/NfcAdapter.html#enableForegroundDispatch(android.app.Activity,%20android.app.PendingIntent,%20android.content.IntentFilter%5B%5D,%20java.lang.String%5B%5D%5B%5D) Mar 08 23:56:35 you're passing "null" for the last argument. any reason you're not passing a value? Mar 08 23:56:56 oh nm i see Mar 08 23:57:01 you can pass null as a wild card. hmm Mar 08 23:57:14 yeahh Mar 08 23:57:36 So I got a listview withe a ViewHolder, it contains 3 checkBoxes and 3 TextViews, I cant click any of the checkboxes but all the textviews seem to be lumped into one clickable view ... ideas ? Mar 08 23:58:02 upps i can click all of the check boxes Mar 08 23:58:04 sorry Mar 08 23:58:38 mNfcAdapter is null, for some reason Mar 08 23:59:02 are you not seeing the toast you show for if(mNfcadapter == null) ? Mar 08 23:59:18 oh Mar 08 23:59:35 could somebody take a look at this pastebin and tell me why addview doesnt work Mar 08 23:59:36 you're calling setTag before you call mNfcAdapter = NfcAdapter.getDefaultAdapter(this) Mar 08 23:59:37 http://pastebin.com/KT6qgc11 Mar 08 23:59:40 please Mar 08 23:59:54 speakingcode-wor: nopee Mar 09 00:00:01 ahh Mar 09 00:01:26 mNfcAdapter = NfcAdapter.getDefaultAdapter(this); try putting that up at the top where you decalre mNfcAdapter, line 21 Mar 09 00:01:54 i'm not sure if you can show a toast in oncreate, if you can't then it's probably failing the null check but you're just not seeing the toast Mar 09 00:02:55 speakingcode-wor: okay, i'll try putting that at the top one sec Mar 09 00:04:08 if only i wouldn;t try to break the code into classes Mar 09 00:04:19 then maybe just maybe i could get some work done Mar 09 00:04:20 but Mar 09 00:04:27 only one way to learn Mar 09 00:04:36 waste endless hours! Mar 09 00:05:38 speakingcode-wor: so i've changed the line to public NfcAdapter mNfcAdapter = NfcAdapter.getDefaultAdapter(this); and the app wont launch Mar 09 00:06:03 it just says it has stopped working as soon as i open it Mar 09 00:14:19 so...I found a kind of solution Mar 09 00:14:53 ProgramMax: for me? Mar 09 00:14:55 :P Mar 09 00:15:00 no, for me. Sorry :) Mar 09 00:15:05 oh right haha Mar 09 00:15:07 the idea is to remove the divider all together Mar 09 00:15:09 s'alright Mar 09 00:15:15 then add a fake divider to the custom view of the list items Mar 09 00:15:20 so..trying to do that Mar 09 00:15:36 but I'm such a noob, I don't even know how to just add a 1 pixel line in that xml file Mar 09 00:21:33 i can't get my freaking camera to work Mar 09 00:21:37 i don't have any errors Mar 09 00:21:44 but the cam doesn't turn on Mar 09 00:21:48 i'm so confused Mar 09 00:25:38 speakingcode-wor: I'm guessing we're both lost on this one? Mar 09 00:29:19 hrmmm tried making a shape element and putting a gradient inside it (to and from the same color) Mar 09 00:29:22 no luck Mar 09 00:35:08 how do I add an exteranl class that extends surface view to the activity? Mar 09 00:35:32 addView doesn't work for me Mar 09 00:37:04 http://pastebin.com/KT6qgc11 Mar 09 00:37:24 evening Mar 09 00:37:48 hi kaneda Mar 09 00:37:51 whats new Mar 09 00:38:20 nodda, good week, everything is on track with my side of the project on android Mar 09 00:38:29 how bout you? Mar 09 00:38:33 bad Mar 09 00:38:37 what's up? Mar 09 00:38:46 i had a 5 month lapse since my last android build Mar 09 00:38:55 now i can't figure out how to add a view Mar 09 00:39:13 lol Mar 09 00:39:16 i wanna make a class that controls the camera Mar 09 00:39:31 i've been hearing this a lot, and it's something that i do in my work Mar 09 00:39:37 what do you want to do exactly? Mar 09 00:39:40 i could do this fine if i used the main actitivity Mar 09 00:39:51 http://pastebin.com/KT6qgc11 Mar 09 00:39:57 there my paste bin Mar 09 00:40:13 i just want to add my exteneded class to the main activity Mar 09 00:40:21 i don't have any errors Mar 09 00:40:28 but the camera doesn't turn on Mar 09 00:40:41 can you paste more of the class? Mar 09 00:40:46 sure Mar 09 00:40:55 that part is in the main activity Mar 09 00:41:26 http://pastebin.com/UQJYweyr Mar 09 00:41:37 that is the class i want to addview to Mar 09 00:41:51 i have a surface view in my main.xml Mar 09 00:46:47 hi guys, i'm having so much trouble trying to debug this thing. I've got a nullpointerexception at 51. Can anyone figure it out? http://pastebin.com/AHNd6Ugw Mar 09 00:49:04 calmchess, ok, well a couple of things Mar 09 00:49:38 you should probably check for a width/height that are a closest match to the ones the camera can do Mar 09 00:49:45 otherwise i'm not sure that does anything Mar 09 00:51:30 right Mar 09 00:51:35 hmm, it looks fine otherwise though... Mar 09 00:51:35 i just found it online Mar 09 00:51:53 most people just add camera in the main activity Mar 09 00:51:55 although you're not actually rendering to the screen with the holder Mar 09 00:52:26 which i assume is an overlay or something Mar 09 00:52:30 i want to add as external class from the main activity Mar 09 00:52:38 who knows Mar 09 00:53:07 you want to add the camera as an external class? Mar 09 00:55:43 yeah Mar 09 00:56:01 this is going to be a big program Mar 09 00:56:06 so i want to chop it up Mar 09 00:56:13 easier to maintain Mar 09 01:12:50 hi guys, i'm having trouble trying to debug this thing. I've got a nullpointerexception at 51. Can anyone figure it out? http://pastebin.com/AHNd6Ugw Mar 09 01:13:12 Something is null on line 51 Mar 09 01:13:34 SimonVT: yeah, i just said that :P Mar 09 01:13:46 i'm trying to figure out what Mar 09 01:14:42 coco one of these things is null: Mar 09 01:14:45 mNfcAdapter Mar 09 01:14:49 MainActivity Mar 09 01:15:34 why not just set a breakpoint in the debugger and see what values your variables have? Mar 09 01:15:38 so maybe put like a if(mNfcAdapter == null){ do something here to alert you that the debugging triggered } else { mNfcAdapter.enableForegroundDispatch( ... Mar 09 01:15:45 a breakpoint would be better, yeah Mar 09 01:15:45 ProgramMax: I've got mNfcAdapter = NfcAdapter.getDefaultAdapter(this); so it can't be null right? and i've also go that toast to show if is null which never shows up Mar 09 01:15:49 but he said he has never debugged before Mar 09 01:15:52 so ...we'll get there Mar 09 01:16:04 it could be null Mar 09 01:16:04 this looks like a good opportunity to learn =) Mar 09 01:16:06 I don't know Mar 09 01:16:47 okay so have another if statement? Mar 09 01:17:55 calmchess, i still dont really get it, the class is practically empty Mar 09 01:19:49 calmchess, in any case, just make yourself a different surfaceholder.callback and instantiate it onStart, then call its static members as you would have otherwise..? Mar 09 01:20:01 ..? because i'm still not sure why Mar 09 01:20:13 ProgramMax: i've put that if statement to show a toast right before enableforefrounddispatch( .. and that toast appeared... so do?? Mar 09 01:20:15 *what do?? Mar 09 01:20:46 okay, so before we go deep into it, do you understand what is going on? Mar 09 01:20:53 nullObject.someFunction(); Mar 09 01:20:58 can't call a function on a null object Mar 09 01:21:04 so you have to check that your object isn't null Mar 09 01:21:21 i see yeah Mar 09 01:22:57 okay so...now check the documentation for NfcAdapter.getDefaultAdapter Mar 09 01:23:02 see why it might return null Mar 09 01:23:06 that will tell you how to fix it Mar 09 01:23:16 that said, we should learn to properly debug with breakpoints and the such Mar 09 01:23:25 yeah for sure Mar 09 01:23:54 so you see how, in the code editor (you're probably using eclipse, right?) Mar 09 01:24:03 to the left of the code is this thin, gray bar Mar 09 01:24:04 yeh, eclipse Mar 09 01:24:06 you can right click it Mar 09 01:24:09 and choose "toggle breakpoint" Mar 09 01:24:16 then, when your code gets there, it will stop Mar 09 01:24:30 and you can then step one line of code at a time Mar 09 01:24:38 ProgramMax, ah I see Mar 09 01:25:37 so you'd run the app and then it'd stop working from where you have toggled a breakpoint? Mar 09 01:29:07 it's like the program will pause at that step Mar 09 01:29:12 then....in the menus Mar 09 01:29:41 er rather, when you are in debug view Mar 09 01:29:51 debug perspective I mean Mar 09 01:29:56 under the Run menu Mar 09 01:30:03 is "Step Into" and "Step Over" Mar 09 01:30:24 step over will execute the current line of code and go to the next, stopping there Mar 09 01:30:30 step into will go inside that line of code Mar 09 01:30:37 so like..if the line is a function call, it will go inside that function Mar 09 01:30:50 so normally what you do is you set a breakpoint before the code you are trying to debug Mar 09 01:30:53 then you run your program Mar 09 01:30:56 it hits the breakpoint and pauses Mar 09 01:31:05 and you just step over a few times and hover your mouse over the variables Mar 09 01:31:10 to make sure the values are all what you expect Mar 09 01:31:13 no nulls for example Mar 09 01:31:16 so try that out Mar 09 01:31:24 the only way to really learn it is to try it a bunch Mar 09 01:31:26 ah that makes sense Mar 09 01:31:28 make it a habit Mar 09 01:31:40 yeah for sure useful to know Mar 09 01:32:19 also i googled nfcadapter.getdefaultadapter as you suggested and came across this http://stackoverflow.com/questions/5197263/nfcadapter-getdefaultadapterthis-returns-null-in-emulator Mar 09 01:33:04 I'm going to go get dinner Mar 09 01:33:06 be back in an hour Mar 09 01:33:14 ProgramMax okay for sure, thanks for the help! Mar 09 01:33:17 i appreciate it Mar 09 01:48:11 in LogCat a red line is bad right? Mar 09 01:48:20 it says thread start in red Mar 09 02:24:24 is there a way to throw custom remote exceptions? Mar 09 02:24:32 I need to throw an exception from service to client Mar 09 02:25:09 they should have allowed RemoteException to throw a parcel Mar 09 02:25:13 or to keep a parcel in it Mar 09 02:29:48 okay, back from dinner Mar 09 02:29:54 coco89 no problem :D Happy to help Mar 09 02:30:27 so....I still need help Mar 09 02:30:42 I just want to draw a 1-pixel-tall horizontal line on the bottom of my UI element Mar 09 02:30:47 but have no idea how to do that in xml Mar 09 02:39:09 http://stackoverflow.com/questions/4432649/horizontal-1px-white-line-above-image-view-in-a-relative-layout Mar 09 02:39:41 generally: http://sonnygill.net/android/horizontal-rule/ Mar 09 02:53:18 err so Mar 09 02:53:29 how reasonable would it be to replace MediaRecorder with my own version? Mar 09 02:53:47 i.e. recompile it from the Android source and package it with my app. **** ENDING LOGGING AT Sat Mar 09 02:59:59 2013