**** BEGIN LOGGING AT Wed Oct 10 02:59:58 2012 Oct 10 03:00:53 might be better off looking for a java tutorial for a similar game then Oct 10 03:13:09 you can def. run the apk on your desktop, but honestly, learning would be easier. And at that point you might as well write the game yourself =/ Oct 10 03:30:31 http://developer.android.com/guide/topics/ui/dialogs.html#PassingEvents <- storing a reference to the activity in a static field, really? Oct 10 03:36:58 cketti: Wow. Oct 10 03:40:41 wow that's awful Oct 10 03:41:02 tophyr: yes, only in v4 but you can certainly use it on ICS+ Oct 10 03:42:49 JakeWharton: i've just been imagining the v4 library as "deprecated from inception" as well.. i thought its whole point was workarounds for older phones that didn't have access to new apis Oct 10 03:43:00 guess not Oct 10 03:43:48 if Android had a proper dependency management system ViewPager probably wouldn't have been bundled in Oct 10 03:44:07 but some people can't even figure out how to copy one jar let alone manage multiple .jars Oct 10 03:44:22 in any case, you can always just copy the two classes out yourself Oct 10 03:44:32 all you need is ViewPager and PageAdapter Oct 10 03:45:20 yeah, no sweat, i was just wondering really Oct 10 03:45:25 * billjings wishes he had caught the beginning of this discussion... Oct 10 03:45:42 billjings: is ViewPager *only* in the v4 compat lib? if i targeted ICS as my minSdk, but still wanted to use ViewPager... would i still have to include the v4 support lib? Oct 10 03:45:54 bout all you missed heh Oct 10 03:46:35 Ahh, ic. Oct 10 03:47:02 Yeah, they've started throwing generally useful stuff in the compat lib since they started including it in the default ADT template. Oct 10 03:47:25 NavUtils is only in the support lib, too, right? Oct 10 03:48:16 believe so Oct 10 03:48:42 PagerAdapter has me scratching my head, tho. with the methods it asks for it seems to make it pretty difficult to implement view recycling Oct 10 03:49:00 PagerAdapter is an implementation detail. Oct 10 03:49:18 You're almost always going to actually want FragmentPagerAdapter or FragmentStatePagerAdapter Oct 10 03:49:20 well, yeah... with a devil in it :P Oct 10 03:49:25 not using it with fragments Oct 10 03:49:54 Hmm. I hadn't thought about using it with straight up views. Oct 10 03:49:57 Wouldn't be hard, though. Oct 10 03:50:46 not if you don't want to recycle them ;) Oct 10 03:51:55 Well, yeah. Oct 10 03:52:07 I want to get the ip of a socket connected from the other side of a routher with NAT protections on... remoteEndPoint is giving me the routers ip Oct 10 03:52:09 ViewPager isn't mean to fling, though, so recycling isn't as big of a deal Oct 10 03:52:29 Komak57: no can do Oct 10 03:52:34 aww, really? Oct 10 03:52:55 however would I manage IP bans then? Oct 10 03:52:59 unless whatever protocol you're talking over the socket includes transmission of IP - as traditional FTP does, for example Oct 10 03:53:18 TCP/IP protocols Oct 10 03:53:21 Honestly, there isn't much upside to *not* using fragments with ViewPager, is there? Oct 10 03:53:23 yeah once you pass nat you're humped Oct 10 03:53:41 you can't tell a remote system to talk to an internet-unrouteable ip anyhow Oct 10 03:53:43 more to the point, it's likely that it's a private IP behind the router, which is meaningless to block, or use in any way Oct 10 03:54:11 as leeds says - plus duplicate private space, since it's private Oct 10 03:54:46 billjings: how about using ViewPager inside of a fragment? Oct 10 03:54:49 I can tell you something like 80% of your users will probably have the ips 192.168.1.2, 192.168.1.50, and 192.168.1.100, if you DO tunnel across the internal IP. Oct 10 03:54:55 *inside of a fragment's View Oct 10 03:55:18 I'm on 192.168.11.11 right now - don't you *dare* block me Oct 10 03:55:22 JakeWharton: Good point. Ugh. Oct 10 03:55:52 I have very minimal control over the socket connection atm Oct 10 03:55:55 I blocked 127.0.0.1 because it kept flooding me Oct 10 03:56:06 but ip's were the way I was originally storing the connections Oct 10 03:56:37 What's up? Oct 10 03:56:44 well, no biggie... Oct 10 03:56:58 Komak57: the whole point of nat, and what pretty much every home router ever does, is that you have duplicate private address spaces that never talk on the internet, which are turned into a single IP facing the world. There's really no way to use an internal IP as a unique identifier, nor make a socket directly do it Oct 10 03:56:59 the handshake goes through a nickname process to boot Oct 10 03:57:02 s/do it/to it/ Oct 10 03:57:36 actually, i wanted that external ip Oct 10 03:57:41 of the client, i mean Oct 10 03:57:57 Hey friends and bros. Oct 10 03:58:03 that's the remote address of your socket then Oct 10 03:58:06 it's not a big problem though Oct 10 03:58:17 I recently flashed CM10 to my GS3, and I was curious on the whole updating nightlies process. Do I need to wipe my device each time I update? Oct 10 03:58:42 cakejetski: bong - wrong channel still! Oct 10 03:58:43 cakejetski: try #android-root, mostly app dev here Oct 10 03:58:47 cakejetski, Root/custom ROMs, head to #android-root Oct 10 03:58:50 Still?! Oct 10 03:58:52 Gahhhh Oct 10 03:58:57 #android-root for no answer, or #cyanogenmod for possible answer Oct 10 03:59:01 Hm Oct 10 03:59:03 I shall check both. Oct 10 03:59:11 You are all djentlemen and scholars. Oct 10 03:59:34 JakeWharton: i strongly suspect i know the answer but any word on map fragments? Oct 10 03:59:52 fragment's are management containers around Views Oct 10 04:00:02 what you are seeking is MapView that is not tied to MapActivity directly Oct 10 04:00:23 JakeWharton: ayup. I know it's not your fault, I just figured you were the most likely to know if any progress had been made Oct 10 04:00:26 Komak57: also note that if your app could be running over cell data networks, it's quite possible for large numbers of devices to be NATed behind a small number of IPs by the carrier Oct 10 04:00:35 sadly, I know of none Oct 10 04:00:43 yeah, figured as much XD Oct 10 04:00:47 JakeWharton: that's highly unfortunate. Wonder WTF they're thinking. Oct 10 04:00:49 the LocalActivityGroup hack works really well for us Oct 10 04:00:52 I'll just have to assume annonymity Oct 10 04:01:11 JakeWharton: I'll look into that. I tried a bunch of hacks with minimal success but I'll look at that one Oct 10 04:01:33 we know there's a shortage of unused IPv4 addresses, and tens of millions of smartphones being sold globally per month... doesn't make sense for them all to have unique IPs Oct 10 04:02:11 I sense the only way i'd get the ip, is if i told the client to grab it from an HTTPclient and send it in the handshake Oct 10 04:02:27 but even then it would mostly be meaningless Oct 10 04:02:38 not completely Oct 10 04:02:49 knowing the ip would give a 'little' security Oct 10 04:02:52 enough that you can't rely on it for anything Oct 10 04:02:56 Komak57: the external ip is the ip which connects to your service. This may be duplicated over multiple users if they are on the same internal network or if their carrier does nat on cell Oct 10 04:03:08 mobile phones don't have public IPs though Oct 10 04:03:20 Komak57: imagine user on mobile network, with the private IP changing every time they skip between cells Oct 10 04:03:25 JakeWharton: they *can* Oct 10 04:03:32 but they mostly don't Oct 10 04:03:36 oh! perhaps I could just grab the phone number or something from the client >_> Oct 10 04:03:56 sure, as long as they're using a device with a phone number - you don't want anyone on a tablet to use your app? Oct 10 04:04:06 nah, that would be terrible if they changed the phone number, or played on multiple devices Oct 10 04:04:25 mac address then? Oct 10 04:04:57 you know there's an old-ish post on the developers' blog about identifying devices? Oct 10 04:05:13 I'm just brain storming different methods... Oct 10 04:05:15 why not the first time they connect you generate a complex token, perhaps of the hash of the time, external ip, random other shit. Give that to them. They store it locally. Oct 10 04:05:21 Leeds, link? Oct 10 04:05:28 http://android-developers.blogspot.hk Oct 10 04:05:41 The only downside is if they lose their local storage, they lose their session - unless you also couple it w/ a login to let them retrieve the stored hash later Oct 10 04:05:48 http://android-developers.blogspot.hk/2011/03/identifying-app-installations.html Oct 10 04:05:55 tx Oct 10 04:05:58 .hk o_O Oct 10 04:06:12 dragorn, I would LIKE the user to be able to access multiple devices. But if I ban a user, I want the account, and the device unable to connect for the allotted ban time Oct 10 04:06:18 JakeWharton: blogspot sends you to whatever local domain Oct 10 04:06:31 cool Oct 10 04:06:33 Komak57: you're going to have a real hard time enforcing per device bans Oct 10 04:06:58 I'm sure there are 'best practice' type stuff out there in the online gaming world Oct 10 04:07:06 well, not if the client grabs the devices mac addy and sends it encrypted in the handshake process Oct 10 04:07:07 Komak57: b/c you can't trust pretty much any of the unique identifiers. Some really cheap devices provide '0' or the timestamp - meaning each time you query the devid you get a new value Oct 10 04:07:36 mac address of what? May not have wifi, or wifi is turned off Oct 10 04:07:55 also the interface name of the wifi nic is variable Oct 10 04:08:05 you would require SOME network connectivity if you wanted to use the app Oct 10 04:08:32 could be over bluetooth, wifi, cell data - even wired networking Oct 10 04:09:40 hmm, possibly Oct 10 04:11:37 I still say give up on device id, do a login/pw and generate a token. For additional devices they can "sign into existing" vs "make new" and get the same token. Oct 10 04:11:53 there will be a login/pw... Oct 10 04:12:03 then you don't have to deal w/ login prompt per execution, which it sounds like you don't want Oct 10 04:12:07 but what's to stop the user from creating a new account Oct 10 04:12:11 ah, you don't care. simpler then. Oct 10 04:12:21 why do you care if they create a new account? Oct 10 04:12:24 Not much. Then again if someone is a griefer, not much is going to stop them Oct 10 04:12:57 If I ban 1 account, all accounts attempted by the phone should be banned Oct 10 04:13:04 arguably the solution is you don't let accounts < 1 day old do something which destroys the game state Oct 10 04:13:08 (or 1 hour or something) Oct 10 04:13:36 even 15 minutes would throttle most assholes enough Oct 10 04:13:40 ehhh, more complicated than that really XD Oct 10 04:14:32 reading up on different unique id's and the pros/cons to them Oct 10 04:15:08 presumably you *are* talking about a game? Oct 10 04:15:37 Not quite. Oct 10 04:15:44 A game manager of sorts Oct 10 04:15:57 then... why do you care? Oct 10 04:16:01 XD Oct 10 04:16:07 app name: Droid Live Oct 10 04:17:32 I'd suggest changing that name Oct 10 04:17:39 aww, really? Oct 10 04:17:41 since the #3 google result for it Oct 10 04:17:46 is "new droid trojan discovered" Oct 10 04:17:49 "named droid live" Oct 10 04:17:53 lol Oct 10 04:17:53 hah >_> Oct 10 04:18:19 I like the name though ._. Oct 10 04:18:34 so did the malware folks apparently Oct 10 04:19:30 it's essentially Xbox Live mechanics built around the android device. Watches games you play, keeps your friends updated, some achievements in different games (maybe a lib to add it to your game). Settings to pick which games to track, etc. Oct 10 04:19:57 how does it access the stats from other games? Oct 10 04:20:24 well, theoretically speaking, one can attach a service to another app. Oct 10 04:20:39 so they would have to build the app specifically to support it? Oct 10 04:20:41 I was planning on looking into that. the primary method was going to be rather simple... a lib Oct 10 04:20:52 for now. Oct 10 04:21:12 but the service could be a hack method to force support. Really not sure, that's just the plan Oct 10 04:21:25 do you have any support from any third-party games? Oct 10 04:21:35 >_> Oct 10 04:21:49 this is all theoretical. I do this as a hobby Oct 10 04:22:09 I figured I Oct 10 04:22:18 I'd try this out before trying my hand at android games Oct 10 04:23:55 speaking of non-hobby activies. there's a job fair tomorrow >_> and i'd like to try and get the job position as assistant manager at gamestop for some amusement before I get back to work thursday Oct 10 04:24:31 So thanks for the brainstorming, and the plausible brick wall to the launch of the app >_> Oct 10 04:24:43 ok Oct 10 04:25:23 now... where to put the keyboard down at... since my kitten is obviously taking up the vacant space... Oct 10 04:45:12 Hello! Question: What is the name of the Layout of Google Talk (in phone mode) and AndroIRC? (Screenshot http://imgur.com/5axlK ) Oct 10 04:45:24 Side-scrolling, title travels in tandem with the chat window Oct 10 04:51:07 ViewPager Oct 10 04:51:15 in tandem with some indicator Oct 10 04:51:28 possible the PageTitleStrip abomination or some third-party one Oct 10 04:52:13 why are you so sure its not ViewPageIindicator? Oct 10 04:52:51 Its actually called TitleFlowIndicator Oct 10 04:52:53 https://github.com/pakerfeldt/android-viewflow Oct 10 04:53:15 Some third party thing anyway :/ Oct 10 04:53:49 I highly doubt they are using ViewFlow Oct 10 04:53:53 that library is ooooollldd Oct 10 04:54:08 :) Oct 10 04:54:10 f2prateek: it might be with really heavy customizations Oct 10 04:54:50 VPI certainly could be themed to look like that Oct 10 04:55:44 The one Google uses is probably more vanilla. Oct 10 04:56:22 they're fans of ActionBarSherlock so I just assumed they would use your VPI library too Oct 10 04:56:45 they might. I really need to bake edge fades in without fading the horizontal line Oct 10 04:56:53 among about 50 other improvements Oct 10 05:00:10 hwere is the best place to get a n7; online ? Oct 10 05:00:56 g00s: isn't the play store the so far Oct 10 05:01:03 *the best Oct 10 05:01:04 What I was really looking for was not so much the title, but the side-scrolling layout Oct 10 05:01:25 I honestly could care less about the title bar Oct 10 05:02:04 Nom_: Then use viewPagerIndicator Oct 10 05:02:26 Thank you! :] Oct 10 05:02:28 f2prateek: perhaps; google's seller rating is only 3 stars Oct 10 05:02:31 I shall do this. Oct 10 05:02:56 Nom_: use ViewPager from the v4 support library Oct 10 05:03:32 Oh, that makes more sense. Oct 10 05:03:41 ViewPager looks like exactly what I need. Oct 10 05:09:39 any feedback on my improvement suggestion for the "Passing Events Back to the Dialog's Host" code? http://pastebin.com/RPCphrPj (original code here: http://developer.android.com/guide/topics/ui/dialogs.html#PassingEvents) Oct 10 05:11:51 (10:56:51 PM) JakeWharton: they might. I really need to bake edge fades in without fading the horizontal line Oct 10 05:12:01 ^^ is there an issue opened on github for that? Oct 10 05:12:13 I believe so, yes Oct 10 05:12:39 cketti: an event bus would cut about 70% of that code Oct 10 05:14:40 that's not commonly used in android apps, is it? Oct 10 05:15:05 Anybody ever used onActivityResult to shuttle dialog results back and forth? Oct 10 05:15:16 It's a natural pairing with the requestCode on setTargetFragment Oct 10 05:16:55 cketti: I'm not sure if it's common or not but it should be. We use it religiously and it's glorious. Oct 10 05:20:47 JakeWharton: found it - https://github.com/JakeWharton/Android-ViewPagerIndicator/issues/34. So you kinda want it like in the play store app where it fades away, rather than gets pushed away. Oct 10 05:21:31 yeah Oct 10 05:37:16 Anyone know of a good tool to design GUIs for Android? Oct 10 05:37:21 ADT Oct 10 05:37:31 pen and paper are my fav Oct 10 05:37:39 magic :) Oct 10 05:37:43 Ha Oct 10 05:38:58 Yeah well the ADT is ok. Was curious if there was anything out there that let you do motion-Tweens, for example, using some kind of a drag and drop functionality Oct 10 05:40:41 droiddraw Oct 10 05:40:52 Isn't that obsolete ? Oct 10 05:41:15 Can you use it for post-froyo? Oct 10 05:43:05 it's waaaay obsolete Oct 10 06:19:06 hello Oct 10 06:21:52 if i wanted to test out my app on whole range of devices what devices should i select based on popularity ? Oct 10 06:22:58 foudn this till now http://www.appbrain.com/stats/top-android-phones Oct 10 06:23:05 but does not cover tablets Oct 10 06:23:22 how do people excess flood Oct 10 06:23:22 o_o Oct 10 06:23:37 wat? Oct 10 06:23:44 actually it does list tablets Oct 10 06:42:12 hey, i have an EditText with android:scrollHorizontally="true", im trying to make it scroll using scrollTo() and scrollBy() but calls to those function does not have an effect. any idea why? Oct 10 06:49:16 what are you passing to those functions? Oct 10 06:50:45 integers, i tried scrollby(100,0) Oct 10 06:51:04 what im inserting into the edit text is less than 100px wide Oct 10 06:51:25 pretty sure scrollTo moves the cursor in the edittext Oct 10 06:51:46 oh Oct 10 06:53:38 can't say anything for certain though, I don't code after 2AM. And it's pushing 3. My brain is a moshpit at the moment Oct 10 06:54:36 I'd check the position of the edittext with the getScroll position or something like that to help with diagnosing the problem Oct 10 07:05:14 so, xpath is not the right option to parse html. Oct 10 07:07:29 anyone has any tips and pointers on how to parse the html? Oct 10 07:08:43 to be precise, this kind of html. http://www.novaprojecten.nl/roosters/lbl/basis/41/c/c00086.htm Oct 10 07:20:56 i wonder if there are any apps that let you take a pic of your hand-drawn screen, and then slurp that photo into a defined navigation structure so you can actually go between screens Oct 10 07:21:17 i do all my ui stuff with pen/pencil too Oct 10 07:23:32 Heya folks Oct 10 07:24:24 Quick question - I am trying to use the R class from outside an activity. I've passed the context as a parameter, and I use it like such: cont.getResources().getString(android.R.string.my_string) Oct 10 07:24:45 however, my_string can't be resolved, as if it doesn't exist in strings.xml Oct 10 07:24:57 I can use it just fine in xml layouts though Oct 10 07:25:00 you don't want android.R you want your.package.name.R Oct 10 07:25:12 is there anywhere to read more about what logcat output means? Oct 10 07:25:31 that actually did it Oct 10 07:25:35 I love you (no homo) Oct 10 07:55:36 hey guys, hilight me? Oct 10 07:55:45 <[deXter]> iSeeDeadPixels, Oct 10 07:56:01 i see iSeeDeadPixels Oct 10 07:56:31 ty Oct 10 07:56:35 <[deXter]> I spy something with my little eye, a DeadPixel beginning with an i Oct 10 08:01:07 iSeeDeadPixels: you can parse html with xml-parser Oct 10 08:01:25 only if it's xhtml.. right? Oct 10 08:01:31 nope Oct 10 08:01:50 uhm.. or yes Oct 10 08:01:57 because xhtml forces html to be valid xml Oct 10 08:02:10 yeah...that >.> Oct 10 08:02:13 and then xml-parsers can parse it Oct 10 08:03:49 so if you have markup like
hello

paragraph

ofcourse xml-parsers can't parse it Oct 10 08:04:39 what do you need to parse from html? Oct 10 08:07:05 vavirta: a html parser, that doesn't care about nested html tags, and similiar dirty stuff (like http://htmlparser.sourceforge.net ) Oct 10 08:08:17 wow the 4.1.1 x86 vbox image ist fast Oct 10 08:10:38 yeah, that'd be solution Oct 10 08:14:16 I guess I have to create a custom titlebar without using requestWindowFeature(Window.FEATURE_CUSTOM_TITLE); because I'm trying to have fullscreen Video when you turn the device sideways to landscape mode ? Oct 10 08:14:54 in the api demos of 4.1 there ist an "INSTALL_PACKAGE" intent Oct 10 08:15:07 is this 4.1 only or does this work on previous versions, too? Oct 10 08:17:57 Google isn't being too helpful on this right now, perhaps someone here encountered something similar... I am trying to fire off a POST request to a URL I know exists. The whole thing crashes at httpclient.execute(httppost) with an " Could not execute method of the activity" exception Oct 10 08:19:54 My URL is of the form https://www.somesite.com/api/login Oct 10 08:20:01 Do I need to kill the https part maybe? Oct 10 08:36:05 hello all, Oct 10 08:36:42 can someone tell me how I place a button UNDER a listview without the listview overlapping the button ??? Oct 10 08:37:34 hi, i'm having ptoblems with S Planner on Samsung galaxy note. I have enabled birthdays in calendar. Today i deleted all events for this month, so it deleted allso birthdays, now i don't have this birthday at all, not even next ear Oct 10 08:37:54 so i wonder if someone know how would i re-enable birthdays Oct 10 08:39:32 alyosha_sql: this is more of a developer help channel. I'm sure there's a support channel for the galaxy note though Oct 10 08:39:50 hmm i thought i'm in the wrong place :) Oct 10 08:40:03 u have any idea where is channerl for galaxy note? Oct 10 08:40:35 I don't, sorry =/ Oct 10 08:40:45 only room I did know of is now dead, so =/ Oct 10 08:41:00 tnx anyway Oct 10 08:48:42 alyosha_sql: goto XDA Developers Oct 10 08:50:39 tnx Oct 10 08:53:34 hello Oct 10 08:54:22 Pinas: for example: http://pastebin.com/d9k5StMs Oct 10 08:55:07 is there any way to access activity from a layout? Oct 10 09:04:35 hi, I have some edittexts with default visual settings. it looks fine on android 2.3.3. but it seems like this https://www.dropbox.com/s/c4xz2yjaw1fbamr/Screenshot_2012-10-10-11-59-29.png on galaxy s3 with android 4.0.4. what could be the problem? Oct 10 09:05:51 got a pic of them on 2.3.3 for comparison? Oct 10 09:06:24 http://i.stack.imgur.com/TjcZk.jpg Oct 10 09:06:30 ^^ is this native to android? Oct 10 09:06:31 ok just a sec Oct 10 09:06:44 napster: what do you mean? Oct 10 09:06:51 the slide out? Oct 10 09:06:54 yes HacDan Oct 10 09:07:09 that's done in html5 as far as I know Oct 10 09:07:15 ha! Oct 10 09:07:18 noo Oct 10 09:07:22 but it can be accomplished with android's apis Oct 10 09:07:31 ok Oct 10 09:07:40 check the google+ application Oct 10 09:07:45 it does the same slide-over motion Oct 10 09:07:47 https://github.com/johnkil/SideNavigation Oct 10 09:08:20 HacDan: https://www.dropbox.com/s/1l6a7u9f8ey7q76/device-2012-10-10-120640.png Oct 10 09:09:02 Hi guys, is there a way to force AsyncTask to execute them in series? Oct 10 09:10:00 StErMi: what do you mean? Oct 10 09:10:11 I mean not in parallel Oct 10 09:10:29 vudu not sure. There's no theme applied to the ICS screenoshot, I can tell you that. Oct 10 09:10:46 After android ICS AT are executed in series, one after one Oct 10 09:11:01 hi all Oct 10 09:11:02 so why are you making it async task if it should't be parelel Oct 10 09:11:22 that is the whole point Oct 10 09:11:31 patCorkv1_0: hi Oct 10 09:12:04 StErMi: juste start a new in the onPostExecute Oct 10 09:12:12 because sometime you need to use them to do http works Oct 10 09:13:09 just* Oct 10 09:13:11 http://commonsware.com/blog/2012/04/20/asynctask-threading-regression-confirmed.html Oct 10 09:20:22 hi all... I'm getting an "java.lang.IllegalStateException: Could not execute method of the activity" when im trying to use a database method with achart........ http://pastebin.com/VmzzyUbC...... Im not using "new" cause I'm trying to reuse the method....... the over all aim here is to get the info from a database and put it on to a chart...... any ideas on how to do it? Oct 10 09:22:01 i can't seem to find any database charting tutorials on the net, or maybe I'm looking in the wrong places! ..... any ideas where you would find such like? Oct 10 09:26:26 Hi everyone Oct 10 09:26:58 Is there someone who could explain me what does the throttle service do in Android? Oct 10 09:51:55 thilden - wow thank you, I have seen your message only now :) Oct 10 09:52:58 another question. I have a button that is half transparent (I don't know why) can someone tell me how i get rid of this half transparent stuff ? Oct 10 09:54:56 Hey all... I desperately need help, I'm totaly lost. Have one xml with Recipes, and one with ingredients. I've manually added Recipe ID to each Ingredient in order to parse them and create joint table for many to many. Oct 10 09:55:08 I can parse recipes to Log files, that looks good Oct 10 09:55:39 But I've added Ingredients to strings format ... Oct 10 09:56:08 Now, I can't pull them all from String Array, so I guess I need to create different XML Oct 10 09:56:32 but, point is, each node has different number of elements, one recipe has 2 ingredients, the other can have 10 ingredients Oct 10 09:56:50 and I can't figure out how to connect those two things together Oct 10 09:57:49 I have no idea what you are doing :) Oct 10 09:58:55 Hi everybody! Not sure this is the right channel for this question, you'll tell me (in a nice way, please). Today I was looking at Android's wireless network traffic through a network sniffer and I found the packages I was seeing pretty different from the ones my laptop exchanges. Does anybody know how android performs low-level network communication (below OSI layer 3)? Oct 10 10:00:11 snuffel, I have .plst with recipes Oct 10 10:00:19 each recipe has different ingredient count Oct 10 10:00:54 I'm trying to import data from freaking .plst with binary images embeeded in Base64 within .plst into SQL database without images Oct 10 10:01:02 as I've extracted images aside Oct 10 10:02:04 i don't get the part 'parse to Log files' and 'pull from String array' Oct 10 10:02:53 parse to Log means that at the moment I am able to parse recipes.xml correctly to log, so I can see recipes, but without ingredients Oct 10 10:03:10 "to log" is irrelevant Oct 10 10:03:11 you transformed a .plst to xml first? Oct 10 10:03:19 and now you want to read the xml to a table? Oct 10 10:03:31 and String-Array is XML in /values/ Oct 10 10:03:31 "1" Oct 10 10:03:31 "1 flesje Nutridrink Juice style aardbeiensmaak" Oct 10 10:03:31 Oct 10 10:03:46 hehe Oct 10 10:04:10 what is the supposed endresult? Oct 10 10:04:11 not funny :) ... yes, I've converted .plst to XML first Oct 10 10:04:40 I got 6 MB .plst with embeded Retina iPad images Oct 10 10:04:51 i don't need that crap Oct 10 10:04:53 I just need the data out somehow Oct 10 10:05:05 into what? Oct 10 10:05:41 Well, Ideal would be to single XML somehow, but as mentioned, I do not know how to read "unknown" or to say "uncertain" number of ingredient nodes Oct 10 10:05:53 as for some recipes I have 1, and for other I have 10 ... Oct 10 10:06:12 i would google for 'parse XML java' Oct 10 10:06:27 this has nothing to do with android yet Oct 10 10:06:35 Well it does Oct 10 10:06:55 As I've spent whole day yesterday with pullParser, advised by google Oct 10 10:07:11 to figure out that it can't count uncertain or deaper level nodes Oct 10 10:07:26 can someone tell me why the button here is transparent: http://nopaste.info/4335f3c691.html ??? Oct 10 10:07:40 so I asumed that someone developimg for android has some experience to give me right info Oct 10 10:08:50 Balky: xml isn't really a great data storage format Oct 10 10:09:11 I'm using it only on first run to copy data to database Oct 10 10:09:23 later on I'm using SQLite Oct 10 10:09:41 and will update DB through webservice Oct 10 10:09:52 but, initial data has to be stored somehow somewhere Oct 10 10:10:41 so yes, kind of owerkill, pulling from .plst, to .xml, to copy to database... but I can't find easier way Oct 10 10:10:46 no ideas what's wrong with my layout ??? Oct 10 10:11:23 i just read a little about XmlPullParser and all you do is call next(), see what the event is and do something with it Oct 10 10:11:34 i don't see how multiple ingredients would be a problem Oct 10 10:11:41 so you have any code? Oct 10 10:12:43 Balky: do you know the difference between SAX-type and DOM-type XML parsing? Oct 10 10:13:15 not realy... tried to learn it yesteraday but got crazy of pull parser Oct 10 10:13:22 i once had to use SAX because the XML was 750MB :) Oct 10 10:13:52 Snuffel... Yes I have some code Oct 10 10:14:08 basically, it's the difference between reading the whole XML document and making a single structure out of it, and reading it element-by-element as a stream Oct 10 10:15:25 i would like to see the code Oct 10 10:15:27 http://stackoverflow.com/questions/12803954/can-android-xmlpullparser-be-used-pull-deeper-number-of-items-nested-or-just-for Oct 10 10:15:37 this is my original question, code, and all... Oct 10 10:15:45 I have a 300gb XML somewhere Oct 10 10:16:00 (openstreetmap) Oct 10 10:16:43 Balky: and how does it fail? Oct 10 10:17:06 it doesn't yet, I think Oct 10 10:17:13 because it doesn't try to read ingredients Oct 10 10:17:44 Snuffel: so the problem is that Balky doesn't understand how to use xmlpullparser, not that it doesn't work Oct 10 10:17:58 Leeds: indeed :) Oct 10 10:18:27 Smartass, so you think I did not try, and remove that part of code? :) Oct 10 10:18:30 Well done Oct 10 10:18:46 when you put ingredients, and try to read Oct 10 10:18:54 it pops up with unhandled exception Oct 10 10:18:59 Balky: you should use next() to find nested tags Oct 10 10:19:19 and see if they are a starttag or an endtag Oct 10 10:19:34 Ok, and then nextTxt while I have Oct 10 10:19:40 or how to count Oct 10 10:19:47 nextText gets the string from inside the tag Oct 10 10:19:51 as I can have different number of strings Oct 10 10:19:52 don't count Oct 10 10:19:56 just use while Oct 10 10:20:23 while(is not the end of the ingredients element) { read the ingredients } Oct 10 10:20:30 anyway, lunchtime Oct 10 10:20:44 stupid question - is it possible to create a dialog with only one button? Oct 10 10:20:45 Ok, I've tried with while... End_Tag, but it ends on Oct 10 10:21:02 I need to just show a "Network Error" message with a confirmation button. Oct 10 10:21:05 Balky: then you're looking for two end tags in a row, aren't you? Oct 10 10:21:25 no Oct 10 10:21:28 yes Oct 10 10:21:34 becuose in some recipes I can have 10 strings Oct 10 10:21:50 that's why I need to "count", or I'm stupid :) Oct 10 10:21:57 start tag, data, end tag... start tag, data, end tag... start tag, data, end tag... end tag. Oct 10 10:22:18 (add a "start tag..." at the start of that line for balance :) ) Oct 10 10:22:27 :) Oct 10 10:23:34 Hi, I am trying to invoke a dialog from another dialog in an activity... but findviewbyid is not being able to find the id of the textview i am trying to settext of (its on the second dialog)... what could be the problem Oct 10 10:24:36 Balky: do you not understand why end tag->start tag means more data, while end tag->end tag means end of data? Oct 10 10:25:19 because end,end is how nested data ends Oct 10 10:25:36 while there is start / end I'm reading nested data Oct 10 10:25:45 correct! Oct 10 10:25:50 me throws Balky a peanut Oct 10 10:25:59 :)) Oct 10 10:26:45 but, where I have problem is, Oct 10 10:27:02 Can anyone help me figure out the right flow for something between a thread and asynctask? i already have all my functions working, i just have to put them into some cleaner methods, and cant decide which are best Oct 10 10:27:10 I should then add xpp.getName().equalsIgnoreCase("ingredients") Oct 10 10:27:20 and within that f create while? Oct 10 10:27:52 but how to check start-end and end-end Oct 10 10:30:53 anybody? Im just downloading a zip, extracting, adding files, and recompressing, and wanted to break it down into 4 painless threads.. is that what i should be doing? or all 1 thread and a seperate asynctask for each ? Oct 10 10:31:07 Balky: that's where you have to actually write your code Oct 10 10:31:51 so, if Ingridients then next() Oct 10 10:31:57 not nextText Oct 10 10:32:17 and then While Oct 10 10:32:17 think of it this way - you're *not* looping over the XML one element at a time, you're streaming it... no reason why you can't read more than one tag per cycle Oct 10 10:32:33 It sounded me logical that I could Oct 10 10:32:43 but I'cant figure out how Oct 10 10:32:44 :) Oct 10 10:33:30 if you've just read a start tab/ingredients... read next tag, while tag-type is start, read data, read end, read next tag, end loop Oct 10 10:34:03 Ok, will try now Oct 10 10:34:30 any idea why smoothScrollTo/By for a ScrollView won't animate? instead it behaves like scrollTo/By Oct 10 10:36:01 oh i had this same problem Oct 10 10:36:51 ahhh i got it Oct 10 10:36:53 ultra-: you have to throw it into a runnable and then post that runnable to the target list view Oct 10 10:37:17 i'm overriding everything for touch events… i was returning true from it… returning false makes it scroll smoothly Oct 10 10:38:01 er no wait that's not it Oct 10 10:38:16 target list view? Oct 10 10:38:56 sorry target scroll viewer Oct 10 10:39:37 very weird, it works sometimes but not others Oct 10 10:40:02 ok i'll look at how to do this Oct 10 10:41:05 Should i have each function its own activity and have it wait for result_ok before firing off to each activity? Oct 10 10:41:10 look at ActionBarSherlock\library\src\com\actionbarsherlock\internal\widget\ScrollingTabContainerView.java line 246 Oct 10 10:43:21 Leeds: http://pastebin.com/ujfVAsmB I assume I'm missing something in .next behaviour.. next (according to info visible, returns int)... So I'm not getting next tag Oct 10 10:45:39 hi. I just want some keywords to search on google - i am just out of ideas - it should be on how to make an activity or whatever that would take the user into asking him whether to go on google play or the internet to install one of my other products. so what for example also should read about? Oct 10 10:45:54 *should I read about? Oct 10 10:46:45 funkbox: it actually gives me the exact same behavior Oct 10 10:50:50 very odd that it does it sometimes but not others Oct 10 10:51:32 ultra-, mate! do you know anything about my question? Oct 10 10:51:43 can you answer it please Oct 10 10:52:36 sorry i haven't gotten that far, i'm on my first app… probably an intent for that? Oct 10 10:52:43 superlinux: your search will depend on what type of market intent the user opens Oct 10 10:52:54 if the intent starts with market: it will automatically try to take them to the play store Oct 10 10:53:12 if the intent starts with http, but is to the market, android will intercept and provide the user an option between the market, or webpage Oct 10 10:53:55 * Ge0rG recently failed at redirecting from apache to market:// urls Oct 10 10:53:57 is the link to your apps, coming from your apps? or are you trying to intercept the link to your stuff, from elsewhere Oct 10 10:58:22 docvile, i want the 1st one Oct 10 10:58:48 like you will have a button in your app, and when someone clicks it, takes them to the market, and not ask market or browser? Oct 10 10:59:01 yes! 100% Oct 10 10:59:13 docvile, exactly it Oct 10 10:59:23 Okay. Do you have a basic app already? understand the onclick to a button yet? Oct 10 10:59:46 docvile, i have already finished a whole project Oct 10 10:59:56 i just need this option Oct 10 11:00:17 so i make a webview with that option? Oct 10 11:00:34 or openconnectionurl or what? Oct 10 11:01:01 my feeling tells me it should be a webview Oct 10 11:01:25 http://pastebin.com/jGW64sEV Oct 10 11:01:29 ok Oct 10 11:01:29 that, inside of a button Oct 10 11:01:34 will take you to my market page Oct 10 11:02:08 ah great! thank Oct 10 11:02:22 so where you see 'DCOMOBILE' replace that with YOUR developer name Oct 10 11:02:48 and somewhere in your app description on the market, put thanks to them in it ;) Oct 10 11:03:39 Balky: yes, you're missing an understanding of how xmlpullparser - or possibly how Java code in general - works Oct 10 11:04:43 unfortunately... it's dinner time now, so I can't educate Oct 10 11:06:52 Guys, one question - I create a progress dialog in a method. Later on, I want to hide that dialog from another method. How would I go about fetching a reference to said dialog? Can I assign it an ID when I create it? Oct 10 11:07:55 Tee_Pee: I could be wrong, as im still in the general learning of that area, but if im not wrong, whatever Method is performing that requires the progrssdialog, should be destroying the dialog when it finishes whatever its doing, Oct 10 11:08:50 Well, I'm using this library: http://loopj.com/android-async-http/ Oct 10 11:08:57 http://www.helloandroid.com/tutorials/using-threads-and-progressdialog Oct 10 11:09:13 And I'm trying to show the dialog in the onStart() responsehandler, and hide it in onEnd() Oct 10 11:10:19 But, you have to look at this way --- Your doing something to start whatever your doing in that library, Oct 10 11:10:48 and wherever your firing a start for that activity in that, you should be creating a new thread, to start a progressbar, do your task, and end the progressbar Oct 10 11:10:57 so like a task, in a task Oct 10 11:11:33 again i could be wrong, or there may be an easier way to do it, but from what ive been struggling with the past 2 days, that sounds about right Oct 10 11:12:42 Well I'm missing both Oct 10 11:12:48 but trying to figure out Oct 10 11:12:50 Eh, I did it the "lazy" way... put the show above the call to the library, and hide below it. Oct 10 11:19:44 how do I get my renderer to draw on top of the camera image? Oct 10 11:35:32 hello Oct 10 11:36:44 i know this is a dumb question , but hey i havent been into the andriod root/rom/dev/appdev world for less then a month, but like, i know how to manually install apk files and set permissions for them and all that, but today i dl'd a 3rd party app to manually install, but it wasnt just an apk it was an apk+odex file, what do i do with the odex file when i manually install the apk to Oct 10 11:36:44 /system/app ? Oct 10 11:37:35 This might be wrong channel to ask, because this is mainly for developing android applications Oct 10 11:38:31 yea i know vavirta, i normally wouldnt ask this type of question in here, but it was dead in the channels u would ask it in Oct 10 11:38:32 lol Oct 10 11:38:39 also i did ask it there 1st Oct 10 11:38:58 Ob1-W4n: .odex files are always meant for a specific ROM release, and they go to /system/app Oct 10 11:39:01 I am trying to create a layout for my activity Oct 10 11:39:04 together with the apk Oct 10 11:39:21 how do I make it so I have two surfaces, one on the bottom for my camera preview and one on top for drawing? Oct 10 11:39:49 sdaq: have a look at barcode scanner from zxing Oct 10 11:40:15 Ge0rG: thanx Oct 10 11:43:54 hi Oct 10 11:44:11 is it possible to enable/disable a LinearLayout ? Oct 10 11:44:31 I mean, not only make it visible/invisible Oct 10 11:45:09 Ge0rG: I am looking at the source here http://code.google.com/p/zxing/source/browse/trunk Oct 10 11:45:30 Ge0rG: can you point me to how they do it? Oct 10 11:46:36 sdaq: its in android/res/layout/capture.xml Oct 10 11:47:19 Ge0rG: awesome thanks Oct 10 11:47:21 Anyone mind helping me figure out ,for my situation the better of a thread and asynctask? Oct 10 11:55:23 Here's a small scenario - I have a homescreen activity, a login and a registration activity. Once the user is logged in, they should go to the profile activity. If the user starts the application after they are already logged in, it should go directly to the profile activity. This is all nice and dandy... Oct 10 11:55:29 What I want to do however Oct 10 11:55:52 is kill the login, registration and homescreen activities after the user logs in, and have the profile activity be "on top". Oct 10 11:56:06 I am aware of finish(), but I'm not sure how to get a handle on the activities I need to kill Oct 10 12:07:12 hey, I am tring to make my app for google tv and similar devices with remote control (no touch). I have a listview over videoview and want to navigate the listview using remote controll, but can't any suggestions? Oct 10 12:15:39 can I make a whole table row in a respond to clicks? Oct 10 12:28:58 Hello colleagues. Oct 10 12:29:43 Q: Can I make an image (src is colour) fill the container? RelativeLayout... Tried all four alignParent to true, but it does not work. Oct 10 12:30:08 I had to make the ImageView have a hard-doded height, which is ugly (the height in my case is predictable). Oct 10 12:30:25 hard-doded -> hard-coded. Oct 10 12:31:36 Lachezar: check the scale type? Oct 10 12:32:29 leslie: android:src="@color/some_color"... Oct 10 12:32:41 ? Oct 10 12:32:42 leslie: Oh.. You mean scale type of the ImageView... Oct 10 12:32:45 yeah Oct 10 12:32:54 leslie: 10x, checking. Oct 10 12:34:26 leslie: What value should I use? Neither matrix, nor fitXY work... Oct 10 12:34:54 centerCrop? Oct 10 12:34:59 leslie: The editor shows it's OK, but does not work on the device (HTC Desire HD). Oct 10 12:37:48 leslie: None work... It still is one-pixel high line at the bottom of the parent... Tried with layout_height fill and wrap... Oct 10 12:41:06 oh ok. not sure then, sorry Oct 10 12:41:48 The weirder thing is it scales in width, but not in height. Oct 10 12:42:35 Lachezar, typically i force a dpi size on an image and fitxy Oct 10 12:42:56 Komak57: I am using a colour drawable... Not a raster. Oct 10 12:43:34 * dennistlg installing eclipse +sdk +ADT plugin Oct 10 12:43:48 then scaling shouldn't matter? just try width="30dp" height="30dp" and see if your problem is resolved? Oct 10 12:44:52 Komak57: If I hard-code the height it works, but when the content stretches I get white spots :-/ Oct 10 12:45:06 scaling is for when you have an image being loaded as the resource of an imageview that is smaller, or larger than the imageview size Oct 10 12:45:10 Komak57: I need to avoid hard-coding widths and heights. Oct 10 12:45:11 Balky: there? Oct 10 12:45:22 yes Oct 10 12:46:27 can i see a picture of what you mean by white spots? Oct 10 12:47:27 any suggestion for creating a loading splash screen while my http request finishes ? Oct 10 12:47:51 Leeds: Somewhere here :) Oct 10 12:48:08 Komak57: drop it. Oct 10 12:48:57 Q: Can I run Android on a netbook-class Intel-based device? Oct 10 12:49:39 Lachezar, there is android for x86 Oct 10 12:50:01 Balky: did you solve it while I was having pizza? Oct 10 12:50:14 Nope :) Oct 10 12:50:21 nibbier: Yes, I know about that project, but it seems it has builds for a specific set of devices, no generic image... Oct 10 12:51:44 um Oct 10 12:51:59 what do I have to change to control the "Sync is OFF" flag in the accounts & sync list? Oct 10 12:53:05 hey all. in the android native interface - how big is a float? Oct 10 12:53:22 yezariael: sizeof(float) Oct 10 12:54:15 heller: I'm not yet programing, just planning. do you know? Oct 10 12:54:52 no Oct 10 12:55:00 guessing 4 bytes though Oct 10 12:55:12 yezariael: 32-bits on pretty much platforms Oct 10 12:55:59 thx! Oct 10 12:56:52 Lachezar: how do I get zxing up and running in eclipse? Oct 10 12:57:59 Lachezar: I've checked out the trunk to my machine, and in eclipse I say new project->android project from existing code and then browse to the directory zxing/android Oct 10 12:58:36 Lachezar: but when I try to run as an android app, there are many errors Oct 10 12:58:55 Lachezar: basically cannot resolves many imports Oct 10 13:04:30 Lachezar: "The import com.google.zxing.BarcodeFormat cannot be resolved" Oct 10 13:05:14 You might some problems in your build path Oct 10 13:05:34 sdaq: you have the zxing sources as part of your project? Oct 10 13:05:37 or did you just include the .jar Oct 10 13:05:46 you might have* Oct 10 13:06:01 sdaq: You have to check-ou into eclipse zxing/core and zxing/android Oct 10 13:06:53 sdaq: When checking-out the zxing/core check it out as Java Project (using the 'Check Out As...'). Oct 10 13:07:01 Lachezar: when I did new project->android project I browsed to the zxing directory and the only two projects that came up were zxing/android and zxing/android-test Oct 10 13:07:08 Lachezar: OH Oct 10 13:07:19 Lachezar: I see... I will try that Oct 10 13:07:29 sdaq: Do not create new project. Use Eclipse to check-out from the repository. Saves you LOTS AND LOTS of trouble upgrading. Oct 10 13:07:45 Lachezar: got it, thanks Oct 10 13:07:51 sdaq: You *NEED* the core project *FIRST* Oct 10 13:08:17 sdaq: The check-out the zxing-android as Android Project (using 'Check Out As...' again). Oct 10 13:08:43 sdaq: Last: add the core project to the dependencies of the android project (if not already there). Oct 10 13:09:05 sdaq: How did you guess I was in with ZXing? Oct 10 13:09:40 Lachezar: I saw you were active in the forums Oct 10 13:09:52 * sdaq is a stalker Oct 10 13:10:02 Lachezar: thanks for your help Oct 10 13:10:13 sdaq: You're welcome. Oct 10 13:10:15 any suggestion for creating a loading splash screen while my http request finishes ? Oct 10 13:11:54 tagrudev: What do you mean? Does that happen in onCreate() in your activity? Oct 10 13:13:27 Lachezar, I have a button when I click it makes and http request to an api, I want to freeze the app until it is finished Oct 10 13:13:38 an& Oct 10 13:13:53 if you guys ever want to feel good about yourself goto codeproject.com and search for unanswered android questions Oct 10 13:13:54 the quality is lower than in here Oct 10 13:14:22 Lachezar: one more question... when I do check it out as java project, what name do i give it? Oct 10 13:14:31 Lachezar: zxing-core ? Oct 10 13:15:13 tagrudev: Well... Use RelativeLayout, or FrameLayout to put an image On-Top of all other components. Make the HTTP Request an AsyncTask, in onPrepare() make the image View.VISIBLE, and in onCancel() and in onPostExecute() make the image View.GONE. Oct 10 13:17:03 sdaq: Whatever you desire... The ZXing projects do not have the Eclipse infrastructure, so you can name them as you like: zxing-core and zxing-android being popular choices. Oct 10 13:17:46 Lachezar: thanks. ps. I am using Juno Oct 10 13:18:10 Failed to convert @drawable/background into a drawable anyone can axplain me what this error mean? Oct 10 13:19:45 its error given from graphical layout editor in eclipse Oct 10 13:20:07 Lachezar, kk ty Oct 10 13:25:07 have anyone changed the settings app? Oct 10 13:30:00 one question. Is it somehow possible to interfere with the installation process? I want to create an app, that checks every app before installation. Oct 10 13:32:15 no Oct 10 13:32:22 you can get the event and check after installation Oct 10 13:32:29 which is what lookout does Oct 10 13:32:46 if a generic app could directly interfere with install and uninstall it would be a massive malware vector Oct 10 13:33:10 dragorn yea you are probably right Oct 10 13:33:33 if you roll a custom rom you can do what you want, but that's outside the scope of here Oct 10 13:34:42 a custom rom is no option for me - installing and maintaining of custom roms is to sophisticated Oct 10 13:34:59 s/to/too/ Oct 10 13:35:23 yeah it's not really the best route, just saying it's possible in that context Oct 10 13:36:46 isn't there some kind of an adminstration mode for companies ??? Oct 10 13:37:48 basically it would be ok for me to check the app right after installation, but I then need to be able to prohibit usage of this app (a warning is not enough) Oct 10 13:38:24 I know you can get remote admin with exchange support - I don't know if there are any other methods Oct 10 13:40:28 the device administrator api does not offers such features ??? Oct 10 13:41:37 http://www.codeproject.com/Questions/473928/androidplussqliteplustablepluscontentplusshow :| Oct 10 13:42:29 Pinas: the api is in the developer docs Oct 10 13:42:35 Pinas: and no, afaik, it does not offer any such abilities Oct 10 13:42:47 dragorn I'm reading the docs right now :) Oct 10 13:43:02 Pinas: There isn't much in the device api, and there isn't much for enterprise management Oct 10 13:43:12 Pinas: (for fun, try to manage wifi or certs. also a total fail.) Oct 10 13:43:55 I should create an "enterprise android rom" and sell it incl. support aso :D Oct 10 13:44:25 I wouldn't say you're wrong. Oct 10 13:44:48 I assume you have to target generic devices? If you're on a specific vendor, look to see if they have management API extensions. Moto does on 2.x, I don't know about 4.x offhand Oct 10 13:45:59 quick question - if I use the action bar or fragments, I am automatically saying no to android 2.2? There is no "graceful fallback" to lower version, or some way to create equivalent behavior for those versions manually? Oct 10 13:46:04 dragorn - you are right. The idea is to build an app that is installed on a device an enables some company wide security features (policies (API is fine), blacklist check before installation, ...) Oct 10 13:49:40 Pinas: yeah you can't do that Oct 10 13:49:43 Pinas: not on stock anyhow Oct 10 13:50:06 Tee_Pee: there is a library to support Fragments pre 3.0 Oct 10 13:50:13 ok thank you dragorn :( Oct 10 13:50:14 you also can't examine any app which has the market private flag set, which prevents other things from reading the apk Oct 10 13:50:25 Tee_Pee: i dont know about the actionbar Oct 10 13:50:39 sweet, at least one worry less. Oct 10 13:50:50 dargorn - yea I know, but I can get some information about every app (packagename, version, ?) Oct 10 13:52:29 When using RelativeLayout with aligning components to the left of the next component I get errors for unknown ID references. Hence I'm forced to declare children from the right to the left. Any way I could work that out? Oct 10 13:54:58 Leeds: I got my mushrooms, so I'm smarter now :P Oct 10 13:55:43 not magic mushrooms, I hope Oct 10 13:57:42 no no :) Oct 10 13:58:10 just champinones vulgaris Oct 10 13:58:12 magic mushroms, I hope Oct 10 14:00:14 hey guys, I'm starting a download using the following code: http://pastebin.com/gnk614Uz -- I'd like to open the download window directly after…whats the best way to fire two activities in a row? Oct 10 14:02:26 tplaner_: startactivity, start activity doesn't work? Oct 10 14:02:51 when i had two startActivities the download didn't start Oct 10 14:04:36 dragorn: never mind, the reason it didn't start was I was passing a Intent.FLAG_ACTIVITY_NEW_TASK for the 2nd one Oct 10 14:05:37 hi. how can i make my application quit? Oct 10 14:05:47 what is the funxn? Oct 10 14:06:34 finish Oct 10 14:06:36 Leeds: what am I missing in my way of thinking ? :) Oct 10 14:07:14 Balky: well... you understand how the stream works? Oct 10 14:07:37 Leeds: I think i do... Oct 10 14:08:42 and how does it work? Oct 10 14:11:08 can I have different onCreate in the same activity, separated by @TargetApi? Oct 10 14:11:31 well file gets read in sequence? Oct 10 14:12:24 Balky: ? Oct 10 14:18:42 Balky: bad mushrooms? Oct 10 14:18:44 hi Oct 10 14:18:58 Has anyone ever ran into flash getting corrupt on their handset/phone? Oct 10 14:19:09 No, good mushrooms :) Oct 10 14:19:21 I missed your "?", sorry Oct 10 14:19:21 then... why didn't you answer my question? Oct 10 14:19:31 is it me or is the galaxy nexus way better than the s III? Oct 10 14:19:51 Well I did, most likely wrong :) Oct 10 14:19:59 so you replied with ? Oct 10 14:20:09 it's a bit more complex than that Oct 10 14:20:28 sdaq, suppose thats a matter of taste :) Oct 10 14:20:43 cpu/camera wise the S3 is better Oct 10 14:20:45 OK, yes it is a bit more complex Oct 10 14:20:57 Insayne: is the hardware identical? because I seem to be getting better performance on the nexus Oct 10 14:21:07 the point is that the XML gets - effectively - tokenised... so it becomes a stream of "open tag" "data" "close tag" "open tag" "open tag" "data" "close tag" "close tag" etc. Oct 10 14:21:17 no i just told you, CPU/GPU and Camera are better on the S3 Oct 10 14:21:23 every time you call .next() you're popping the next token from the list Oct 10 14:21:23 yes Oct 10 14:21:37 Insayne: strange Oct 10 14:22:04 So its odd that you get a better performance on the nexus than the S3 Oct 10 14:22:04 and because XML is well-formed by definition - if it's not well-formed, it's not actually XML - you can rely on the structure Oct 10 14:22:25 ofc, the S3 runs Samsungs UI, thus it might just not be as "nice" or "smooth" as stock Oct 10 14:22:30 yes Oct 10 14:22:55 so we *know* that your ingredients are going to be a list of "open ingredients tag" "open string tag" "data" "close string tag" "open string tag" "data" "close string tag" ... "open string tag" "data" "close string tag" "close ingredients tag" Oct 10 14:23:11 yes Oct 10 14:23:55 sdaq, have you tried running the identical setup (launcher, running programs, etc) ? Oct 10 14:24:04 so once you get an "open ingredients tag"... the next thing *must* either be a "close ingredients tag" (just in case there are no ingredients), or an "open string tag" Oct 10 14:24:22 after an "open string tag" there *must* be a "data" followed by a "close string tag" Oct 10 14:24:24 right? Oct 10 14:24:34 correct Oct 10 14:24:46 Leeds: ever had flash corrupt ? Oct 10 14:24:56 and after a "close string tag" there *must* either be another "open string tag" or a "close ingredients tag" Oct 10 14:25:08 also correct Oct 10 14:25:22 Insayne: no that is the variable Oct 10 14:25:39 sdaq, hardware wise, the S3 is superior Oct 10 14:25:49 so... after you get an "open ingredients tag"... you fetch the next tag... then you start a while loop - "while tag isn't close ingredients tag" Oct 10 14:25:58 if it's not close ingredients, it *must* be open string Oct 10 14:26:35 which means you *must* be able to fetch some data next, and you *must* be able to fetch a "close string tag" next Oct 10 14:26:36 right? Oct 10 14:26:58 yes Oct 10 14:27:52 so then you fetch the next tag, and fall off the end of your while loop - in other words, loop around again Oct 10 14:29:09 the first thing the loop does is check if the last-fetched tag is an "open string tag" or a "close ingredients tag" - if it's "close ingredients", it will exit the loop, if it's "open string" it will run around again Oct 10 14:29:28 iteration is magic Oct 10 14:29:29 yes, but I'm not able to write it (I don't understand why) "while tag isn't close ingredients" Oct 10 14:29:32 I set up an emulator for the first time on my new machine and it keeps crashing before it even fully boots up. Keeps crashing with a nullpointer at android.app.ActivityThread.getProvider(ActivityThread.java:4072) and then restarting all over again in an infinite loop Oct 10 14:29:45 no, you just don't understand how Oct 10 14:29:57 also possible :) Oct 10 14:29:58 luxurymode: the emulator, or your app? Oct 10 14:30:06 the emulator Oct 10 14:30:09 this is my first ever XML parsing so :) Oct 10 14:30:14 im just starting the emulator itself Oct 10 14:30:33 luxurymode: wipe your AVD, create a new one Oct 10 14:30:35 Leeds: right before that it says: *** EXCEPTION IN SYSTEM PROCESS. System will crash. Oct 10 14:31:50 my tablet drivers are installed but it doesnt show up in eclipse... OS windows, any ideas? Oct 10 14:32:39 10:30:41 < luxurymode> Leeds: right before that it says: *** EXCEPTION IN SYSTEM PROCESS. System will crash. Oct 10 14:32:44 You may have more significant problems than you think. Oct 10 14:32:52 it's all this: http://pastie.org/5029895 Oct 10 14:33:21 im on a macbook pro retina so i think that might be causing some of the issues...? Oct 10 14:33:23 luxurymode: did you... wipe the AVD and create a new one? Oct 10 14:33:31 leeds, its a brand new avd Oct 10 14:33:33 are you... using the very latest SDK/tools? Oct 10 14:33:36 i can try wiping again i guess Oct 10 14:33:38 leeds, yes Oct 10 14:33:49 call Steve, ask him to help Oct 10 14:34:52 Jobs? Oct 10 14:35:11 is there any other? Oct 10 14:35:25 anyone ever tried EditText.setScrollX() ? doesnt seem to work for me Oct 10 14:35:35 arite new avd works Oct 10 14:35:40 something got messed up i guess Oct 10 14:36:10 yay... love it when someone ignores advice which turns out to be right :) Oct 10 14:39:15 I am having a horribly hard time implementing a tabbed navigation together with fragments... The idea is to get something similar to the Play Store, where the user has a tabbed navigation between the different categories. Oct 10 14:39:38 I got the tabs to show up easily enough, but I got no idea where / how to define the fragments and the fragment transition Oct 10 14:40:43 hey guys, when opening a new activity with an Intent, whats the proper naming convention ? my class is EventDetailsActivity but that crashes saying it doesnt exist ? Oct 10 14:41:33 drumer306 did you declare it in your manifest? Oct 10 14:41:42 the activity I mean Oct 10 14:42:17 scottferg : yes i see it, it must have created it automatically when i added the file Oct 10 14:42:51 Tee_Pee: I think you need to use view pager, or fragment pager, or something of the sort, and not tabs. Oct 10 14:43:18 which value is the one i want ? i see adroid:name=".EventDetailsActivity" Oct 10 14:43:34 can I get the source from a apk? Oct 10 14:43:37 then an intent filter with another name Oct 10 14:43:53 drumer306: "adroid" Oct 10 14:43:57 perhaps that is your problem? Oct 10 14:44:05 just a typo sorry Oct 10 14:44:19 is your class in the same package as the application package? Oct 10 14:44:36 yes Oct 10 14:45:10 im calling new Intent("com.mycompany.myapp.EventDetailsActivity") Oct 10 14:45:29 yeah. Oct 10 14:45:31 don't do that. Oct 10 14:45:38 drumer306: you're using the ACTION constructor. Oct 10 14:45:48 do new Intent(context, EventDetailsActivity.class) Oct 10 14:45:52 where context is a valid context Oct 10 14:45:54 ohhh Oct 10 14:45:59 i see okay let me try that Oct 10 14:46:39 What context should I use for starting a service that should keep running even if my activities get cleaned up or restarted due to the new aggresive android multitasking behavior? Oct 10 14:47:41 lov: im trying to call this in an onItemClick function so its not reconizing the context Oct 10 14:47:50 is there an good way to get the current context ? Oct 10 14:47:56 it seems that if I use getApplicationContext() the service lifecycle follows the activity lifecycle Oct 10 14:48:07 ^ maybe thats it lol Oct 10 14:48:22 can I get the location of the user not only in terms of Lat and Long but also as in Street, City, Country? Oct 10 14:48:31 I got no idea, I've hit a brick wall, don't even know what or where to start reading... Oct 10 14:48:40 I'm using the term "geolocation" to search but all I'm seeing is lat/long tutorials Oct 10 14:49:23 lov: thank you that worked Oct 10 14:49:28 now i just need a back button ! Oct 10 14:49:29 Siop, you're going to need some sort of lookup or google maps api to convert the geolocation to a concrete location Oct 10 14:49:45 I already am using Google API's, yea Oct 10 14:50:03 drumer306: your phone has a back button. Oct 10 14:50:17 lov: coming from ios, so i dont actually need any back buttons every ? Oct 10 14:50:32 ever * Oct 10 14:50:38 scottferg: You're thinking of "geocoding" Oct 10 14:50:39 http://developer.android.com/reference/android/location/Geocoder.html Oct 10 14:50:46 when you have an edittext is it true you can always use either soft/hard keyboard?? Oct 10 14:50:49 drumer306: the default behavior of the back button is to call finish() on your activity Oct 10 14:50:53 you can override it, but generally you don't want to Oct 10 14:51:07 drumer306: PLEASE PLEASE PLEASE PLEASE PLEASE DO NOT DESIGN YOUR ANDROID APP AS IF IT WERE FOR IOS Oct 10 14:51:16 ah, geocoding Oct 10 14:51:17 ok Oct 10 14:51:20 drumer306: http://developer.android.com/design/index.html Oct 10 14:51:22 okay thanks, yea i know there two different UI's Oct 10 14:51:25 drumer306: ^^ READ THE SHIT OUT OF THAT. Oct 10 14:51:27 when you have an edittext is it true you can always use either soft/hard keyboard?? Oct 10 14:51:29 drumer306: read it three times Oct 10 14:51:35 so that you understand what the UX for android is Oct 10 14:51:43 so that you don't just slap a fucking "back" button at the top and call it a day Oct 10 14:51:47 to be honest, i never really used android except my GF's phone Oct 10 14:51:56 drumer306: borrow one, use it a lot. Oct 10 14:51:59 Get used to how it works. Oct 10 14:52:00 :) Oct 10 14:52:03 Question - I create fragments the same way I create activities, right? They have their own layout, their .java file, no difference whatsoever? Oct 10 14:52:04 okay thanks Oct 10 14:52:12 when you have an edittext is it true you can always use either soft/hard keyboard?? Oct 10 14:52:18 Tee_Pee: somewhat different lifecycles but w/e Oct 10 14:52:25 panegyric: your question doesn't make sense Oct 10 14:52:35 when you have an edittext is it true you can always use either soft/hard keyboard to input text into it Oct 10 14:52:47 er, yes. Oct 10 14:52:55 that is the point of an edittext. Oct 10 14:53:10 drumer306: seriously though. Oct 10 14:53:16 because i have mine use a DONE ime Oct 10 14:53:25 and if my phone has a hard keyboard Oct 10 14:53:26 I got an activity called HomeActivity. In its XML layout I have Oct 10 14:53:29 drumer306: borrow an android phone if you have to, but do whatever you need to so that you can use android for a couple of weeks so that you're used to it. Oct 10 14:53:39 the screen1 activity has a gridview and a few other things Oct 10 14:53:44 if I try to run that, it crashes. Oct 10 14:53:55 Tee_Pee: fragments are not activities. Oct 10 14:54:13 Tee_Pee: http://developer.android.com/training/basics/fragments/index.html Oct 10 14:54:19 Hence why I asked my previous question... Oct 10 14:54:19 I'd recommend going through that and learning fragments before continuing Oct 10 14:54:27 10:52:09 < Tee_Pee> Question - I create fragments the same way I create activities, right? They have their own layout, their .java file, no difference whatsoever? Oct 10 14:54:36 you create them in the same way, but you don't create them AS activities. Oct 10 14:54:45 so yes, there are differences. Oct 10 14:54:47 I read it, but I've been at this for 7 hours, shit's starting to blur. Oct 10 14:54:51 hah Oct 10 14:54:58 Tee_Pee: think of fragments as mini-activities that you can composit Oct 10 14:55:15 I understand all the logic Oct 10 14:55:20 I just can't figure out how to code it Oct 10 14:55:40 Tee_Pee: screen1 should be a fragment, not an activitiy Oct 10 14:55:49 without knowing more about what you're doing, I can't really give you more advice. Oct 10 14:55:58 if you've been at it for 7 hours, take a break. There's diminishing returns. Oct 10 14:56:24 hello Oct 10 14:56:45 "if you've been at it for 7 hours, take a break. There's diminishing returns." <----Also a 9-5 job, hah Oct 10 14:56:51 Got another hour to go. Oct 10 14:57:44 http://developer.android.com/reference/android/net/LocalServerSocket.html anyone knows uses of this class? Oct 10 14:58:51 Ooooh, I've finally figured it out. To break free from activity lifecycle, you need to spawn the service in a seperate process :) Oct 10 15:05:22 lov Oct 10 15:05:30 Mind looking at this code quickly, see if you can spot anything wrong? Oct 10 15:12:11 how to easily make android `GUI` in Netbeans? Oct 10 15:15:10 hey guys, i need help with this http://pastie.org/5030072 Oct 10 15:16:35 just ask your bloody question here Oct 10 15:17:48 Leeds, well i created a blank project using juno, got this Null Pointer Exception error Oct 10 15:18:03 SDK parser failed Oct 10 15:18:03 java.lang.NullPointerException Oct 10 15:19:22 Is it jsut me or has anyone else Android 4.2 installations in their developer console statistics? Oct 10 15:19:47 4.2 or 4.1.2? Oct 10 15:19:55 4.2 Oct 10 15:20:07 guess you've got googlers using your app then Oct 10 15:20:07 Leeds, so that's the right channel Oct 10 15:20:34 I do too plaisthos Oct 10 15:21:09 scottferg: ah okay Oct 10 15:21:34 Leeds, can you help with my query ? Oct 10 15:21:43 SPYGAME: nope, I don't use eclipse Oct 10 15:21:58 Almost as many 4.2 user as 4.0 - 4.0.2 users :D Oct 10 15:22:33 are fragments supposed to have activity entries in the manifest file? Oct 10 15:22:40 Tee_Pee: no Oct 10 15:23:22 darn, I just thought I had figured it out :( Oct 10 15:23:35 Goddamn it... Oct 10 15:23:36 I don't have many, I have a lot of 4.0-4.0.2 and 4.1 users though, about 50% of my userbase Oct 10 15:23:54 java.lang.RuntimeException: Unable to start activity ComponentInfo{com.atlantbh.pycsell/com.atlantbh.pycsell.AlbumActivity}: java.lang.NullPointerException Oct 10 15:24:02 I keep getting that when I try to add my fragment. Oct 10 15:25:57 Everytime I want to execute the line, List
addresses = geocoder.getFromLocation(latitude, longitude, 1); I get a "Service Not Available" IOException; I have the INTERNET permission on and my phone IS connected to the internet..any suggestion? Oct 10 15:26:27 these posts don't provide an answer, http://stackoverflow.com/questions/7109240/service-not-available-geocoder-android -- http://stackoverflow.com/questions/5222164/geocoder-getfromlocation-throws-exception Oct 10 15:38:53 Ok so... I have an activity. That activity has a fragment which is a gridview. Oct 10 15:39:01 If I try to populate that gridview via adapter, the app crashes. Oct 10 15:39:48 Tee_Pee: that gives us no information. Oct 10 15:40:01 I know, looking for relevant stuff now Oct 10 15:40:20 The log isn't giving me much info either. :( Oct 10 15:40:30 I doubt that very much Oct 10 15:40:34 the log will tell you everything you need to know Oct 10 15:40:54 java.lang.RuntimeException: Unable to start activity ComponentInfo{com.atlantbh.pycsell/com.atlantbh.pycsell.AlbumActivity}: java.lang.NullPointerException Oct 10 15:40:59 That's all it says. Oct 10 15:41:13 it'll also give you the full stack trace Oct 10 15:41:16 which would be followed the the null reference in question Oct 10 15:41:19 right below that line Oct 10 15:41:45 at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2185) Oct 10 15:41:54 Except it's not. Hold on, here's the full log Oct 10 15:42:27 Tee_Pee: look for "caused by" Oct 10 15:42:29 then look down one line. Oct 10 15:43:17 aye, just found that... apparently gridview.setAdapter(new AlbumAdapter(this)); <----this line is being the problem. Oct 10 15:43:39 $10 says gridview is null Oct 10 15:43:58 good guess Oct 10 15:44:11 GridView gridview = (GridView) findViewById(R.id.gridview); <---line above. Oct 10 15:44:31 did you inflate the view that contains a GridView w/ id gridview ? Oct 10 15:44:44 also, are you using support v7 gridview or something? Oct 10 15:44:57 Tee_Pee: isn't the gridview defined within your fragment? Oct 10 15:45:09 t-mobile wants my SSN to verify i'm 18... you americans sure dont care much for privacy, do you.. Oct 10 15:45:32 canadiancow, i typically refuse to give this info Oct 10 15:45:32 Yes, I just tried moving the code into the fragment's onCreate... 1s Oct 10 15:45:49 fragments have onCreateView, not onCreate Oct 10 15:45:52 IIRC Oct 10 15:45:57 they have some stupid content filter on my line Oct 10 15:45:58 I see here that on the emulator I cannot get a Location, cause I just went into the Navigation app and it's still "waiting for Location" Oct 10 15:46:01 yes yes, onCreateView Oct 10 15:46:03 1s Oct 10 15:46:07 so if i go to certain websites "OH NOES YOU CANT GO HERE" Oct 10 15:46:08 canadiancow, lol Oct 10 15:46:12 canadiancow, pr0ns Oct 10 15:46:22 nah its shown up "randomly" when browsing Oct 10 15:46:26 suuuuuuure Oct 10 15:46:27 cow pr0ns Oct 10 15:46:49 ugh Oct 10 15:46:59 i tried to sign up with the social security administration, and they coudlnt verify my name and ssn Oct 10 15:47:05 t-mo is having the same problem Oct 10 15:48:08 Well, that didn't do much. Oct 10 15:48:38 Moved everything into the fragment's onCreateView, replaced every "this" with "getActivity()" Oct 10 15:48:46 Still got the same null pointer at the same line. Oct 10 15:50:39 ._. Oct 10 15:50:41 pastebin your code. please. Oct 10 15:50:44 and the stacktrace. Oct 10 15:51:02 canadiancow: t-mobile doesn't need to know your SSN. Oct 10 15:51:15 they wanted hte last 4 digits to remove the child filter Oct 10 15:51:16 really the only people who need to know your SSN are the SSA and like banks. Oct 10 15:51:28 tell them you don't have one, ask to speak to a manager. Oct 10 15:51:35 its an online form :\ Oct 10 15:51:40 call 611 christ Oct 10 15:51:42 stop being a whiner. Oct 10 15:51:53 i called 611 last night and they said "our systems dont work" Oct 10 15:52:09 "and when will they work?" Oct 10 15:52:10 Or just download your porn from torrent trackers. Oct 10 15:52:23 1. torrents suck Oct 10 15:52:30 2. im not torrenting on my phone Oct 10 15:53:17 lov, sorry to bother you about this so long, but I still can't for the life of me figure out this exception and how to get rid of it. Oct 10 15:53:56 pastebin your code. please. Oct 10 15:53:57 and the stacktrace. Oct 10 15:56:15 what is lov, baby don't hurt me Oct 10 15:56:50 11:54:04 < canadiancow> pastebin your code. please. Oct 10 15:56:51 11:54:04 < canadiancow> and the stacktrace. Oct 10 15:56:56 * lov points to the topic Oct 10 15:56:58 11:54:04 < canadiancow> pastebin your code. please. Oct 10 15:56:58 11:54:04 < canadiancow> and the stacktrace. Oct 10 15:56:59 http://imgur.com/jacoj Oct 10 15:57:08 http://pastebin.com/tyZjZ6ew Oct 10 15:57:09 i felt left out Oct 10 15:57:34 you havent experienced hell until you've experienced the android + unity development pipeline Oct 10 15:57:39 oh? Oct 10 15:57:56 ;_; Oct 10 15:57:57 lol lov Oct 10 15:58:00 10-10 17:47:46.100: E/AndroidRuntime(10713): Caused by: java.lang.NullPointerException Oct 10 15:58:03 10-10 17:47:46.100: E/AndroidRuntime(10713): at com.atlantbh.pycsell.AlbumFragment.onCreateView(AlbumFragment.java:26) Oct 10 15:58:12 what is line 26 in AlbumFragment, please? Oct 10 15:58:24 Really? I did a small puzzle game prototype about a year back in Unity, didn't have much issue. Oct 10 15:58:25 let me guess Oct 10 15:58:26 gridview.setAdapter(new AlbumAdapter(getActivity())); Oct 10 15:58:41 gridview.setAdapter(new AlbumAdapter(getActivity())); Oct 10 15:58:45 yea Oct 10 15:58:48 Tee_Pee, it's a bit different when you have unity as a subview and a lot of interestnig native calls Oct 10 15:59:04 Tee_Pee, there's exactly one forum post that describes the process Oct 10 15:59:25 JakeWharton, I just realized, you can use Otto for dependency injection instead of Guice. Do you? Oct 10 15:59:26 Ok, that does sound fun. Oct 10 15:59:39 so. Oct 10 15:59:40 GridView gridview = (GridView) getActivity().findViewById(R.id.gridview); Oct 10 15:59:42 WRONG. Oct 10 15:59:47 lawl Oct 10 15:59:48 that view you just inflated? Oct 10 15:59:49 mrenouf: no, we use Dagger Oct 10 15:59:49 use that. Oct 10 15:59:59 o_O Oct 10 16:00:00 View view = inflater.inflate(R.layout.activity_album_fragment, container); Oct 10 16:00:01 s/getActivity()/view/ Oct 10 16:00:02 so use Oct 10 16:00:11 GridView gridview = (GridView) view.findViewById(R.id.gridview); Oct 10 16:00:17 mrenouf: http://github.com/square/dagger Oct 10 16:00:50 JakeWharton, oh, another homegrown. nice. Oct 10 16:01:00 Hmm! Oct 10 16:01:01 it uses code-gen rather than reflection Oct 10 16:01:05 Dagger sounds interesting. Oct 10 16:01:15 have to go for an hour Oct 10 16:01:16 ...Views have findViewById? Fuck me sideways. Oct 10 16:01:17 PM any questions Oct 10 16:01:32 There was an effort here to make a Guice port to Android do that. Oct 10 16:01:41 It never went anywhere (interns!) Oct 10 16:01:56 so it looks like bank of america rolled back a transaction i made. ffs Oct 10 16:02:10 lov you long time (no homo) Oct 10 16:02:24 JakeWharton, dalvik code-gen? Oct 10 16:02:28 that being said, way overdue for me to go home. Thanks folks, have a pleasant evening. Oct 10 16:02:42 i already have javax.activation in Libraries folder in netbeans still i get the message `` error: package javax.activation does not exist`` Oct 10 16:03:03 what is the code in the gen directory? Oct 10 16:03:17 is it generated by the xml resources? Oct 10 16:03:24 its generated by various things Oct 10 16:03:26 sdaq? Oct 10 16:03:35 R.java comes from res/ Oct 10 16:03:43 what generates it? Oct 10 16:03:50 aapt i would assume Oct 10 16:03:56 JakeWharton, if it used dexmaker, that would rock Oct 10 16:04:03 i already have javax.activation in Libraries folder in netbeans still i get the message `` error: package javax.activation does not exist`` what's going on here? Oct 10 16:04:09 there's also BuildConfig.java and Manifest.java (I think htat's what it's called?) Oct 10 16:04:34 oh I see Oct 10 16:04:41 canadiancow: I see Oct 10 16:05:54 anyone? Oct 10 16:07:09 ovrflw0x: why are you using netbeans? Oct 10 16:07:23 i want to put a scrollbar to it's maximum buttom position, how do i get the value to put in scrollY() ? Oct 10 16:07:25 sdaq, what's better to use than netbeans? for android Oct 10 16:07:33 not sure which api can give that value Oct 10 16:07:39 ovrflw0x: I dunno I use eclipse Oct 10 16:10:23 ovrflw0x: intellij is fairly good too Oct 10 16:10:37 not free Oct 10 16:11:14 i was messing with layout/main.xml could that be the problem? Oct 10 16:12:14 ovrflw0x: the community edition is free Oct 10 16:14:38 what's wrong with netbeans though? Oct 10 16:15:34 I recommend IntelliJ IDEA too. Oct 10 16:18:18 i copy pasted jars in lib folder now it works Oct 10 16:18:23 Anyone know the specifics of using ContentResolver vs. ContentProviderClient? Oct 10 16:18:33 I can do most operations from either Oct 10 16:19:12 (.acquireContentProviderClient) Oct 10 16:19:21 mrenouf: http://stackoverflow.com/questions/5084896/using-contentproviderclient-vs-contentresolver-to-access-content-provider Oct 10 16:20:27 thanks Oct 10 16:21:07 cool, that makes sense Oct 10 16:22:14 main.xml -->