**** BEGIN LOGGING AT Thu Oct 25 03:00:01 2012 Oct 25 03:31:12 mStrHungarianMsftNotation Oct 25 03:43:08 prefixing your members with m breaks eclipse's code generation features and makes very ugly setters and getters that say: setmFoo instead of setFoo Oct 25 03:44:11 in other languages, people make pretty diligent use of 'this' or 'self' and in many cases it's required, but not java. Oct 25 03:44:16 optional. Oct 25 03:48:38 Hey Guys Oct 25 04:04:24 Hey JakeWharton Oct 25 04:05:20 I'm using your DiskLRUCache and it works well, I'm using it to store serialized objects Oct 25 04:05:33 xmlns:android="http://schemas.android.com/apk/res/android" is only required on the only first/root layout parent of an xml file right? Oct 25 04:05:45 this is what I'm currently doing for getting values, could there be a better way to check if a key exits or not ? http://pastebin.com/ZYVdFeAk Oct 25 04:10:11 Where can I find a proper example of ViewPager? Oct 25 04:13:29 napster: ActionBarSherlock fragment sample code has a good example, or you could look at iosched Oct 25 04:14:10 brickhead: ty Oct 25 04:45:37 How do I set the intent filter on androidmanifest.xml for download complete? Is this right? Oct 25 04:45:44 action* Oct 25 04:47:50 Nevermind! Got it. Oct 25 04:48:18 Just a question, can I make this "public class DownloadComplete extends BroadcastReceiver" access variables of another class (an activity)? Oct 25 05:00:58 brickhead: just call .get(String)? Oct 25 05:02:46 Hey JakeWharton thanks, yeah I was doing it wrong, I wasn't using snapshot at all, this one is much better http://pastebin.com/D16nT7dS Oct 25 05:26:45 Hey Guys, I found this project android-keystore (https://github.com/nelenkov/android-keystore) , the author has basically exposed androids KeyChain as a keystore, its exactly what I needed, Oct 25 05:27:19 Do anybody has any experience with it, It seems to work well from 2.1 onwards Oct 25 05:29:33 How can I open a file inside BroadcastReceiver? It says I can't call startActivity(my_file_intent) there Oct 25 05:34:28 any idea how to notify a change in the SQlitedatabase without using broadcasts Oct 25 05:35:42 SrPx: You can dynamically register your receiver with an Activity I guess Oct 25 05:36:06 anyone have experience with custom layouts/ Oct 25 05:36:50 herriojr: yup Oct 25 05:37:10 ali__: I think people use CursorLoaders for that Oct 25 05:37:30 ali__: Cursor#setNotificationUri(Uri) ? Oct 25 05:38:08 I'm having issues where my custom AdapterView, when used in conjunction with lazy loading images, repeatedly runs through onMeasure() and onLayout() Oct 25 05:38:14 I'll pastebin the code in a sec Oct 25 05:39:44 brickhead: the cursorloader uses a contentresolver which work with respect to a particular URI. If I just have a SQL database I dont really have a URI Oct 25 05:40:30 @ali__: http://pastebin.com/sTq9qJND Oct 25 05:40:41 ignore the class name, I haven't come up with a good one yet Oct 25 05:40:48 ali__: this came up the other day and someone had a custom one that didn't need content providers. Oct 25 05:40:56 but I don't have the link anymore. Oct 25 05:41:22 tdignan: damn!! Oct 25 05:42:15 http://stackoverflow.com/questions/7182485/usage-cursorloader-without-contentprovider Oct 25 05:42:32 ali__: when I swap in a ListView, I it doesn't get stuck in that loop, but when I use my custom View, it just goes all out of whack Oct 25 05:52:49 brickhead: thanks Oct 25 05:53:48 Why this won't work? http://pastebin.com/TzxW0P3U I'm just trying to launch a file with the default application but it says 'Exception: no activity found to handle intent' Oct 25 05:57:09 it means no applicaiton can open the file Oct 25 05:57:58 use packagemanager to check if an application that can handle the intent is available on the device Oct 25 05:59:18 SrPx: you probably need intent.setDataAndType(data, type); Oct 25 05:59:29 where type is the MimeType of your file Oct 25 06:07:52 hi Oct 25 06:08:44 high Oct 25 06:09:11 i have one problem related irc ,so can you help me? Oct 25 06:11:29 alright, figured out my issue Oct 25 06:11:42 How to disable options in voicemailmain() application in asterisk Oct 25 06:11:57 i just wantto listen first voicemail and then hangup Oct 25 06:14:55 I got this code, but it will NOT WORK withouht being threaded since 3.0 http://pastie.org/private/vufyb02pe4ril56hf26ra Oct 25 06:19:58 p1key: "will not work" is normally not enough info to go on. you should post a stack trace, as per the topic Oct 25 06:20:26 however, in this situation, the reason it doesn't run post 3.0 is due to a strict mode violation Oct 25 06:20:43 you can't run network operations in the ui thread Oct 25 06:21:30 http://developer.android.com/training/basics/network-ops/index.html Oct 25 06:40:15 Hey Guys a question about image resolution Oct 25 06:40:30 so I've two sents of icons 32x32 and 48x48 Oct 25 06:40:49 I'm gonna use 32x32 in mdpi and 48x48 for hdpi Oct 25 06:42:25 brickhead: i hope you're not talking about launcher icons Oct 25 06:42:26 http://developer.android.com/guide/practices/ui_guidelines/icon_design_launcher.html Oct 25 06:43:26 would I don't intend to provide any for ldpi, so if I won't put any icons in res/drawable would it work Oct 25 06:43:31 sampullman: no not launcher Oct 25 06:43:44 these are gonna go in ListView rows Oct 25 06:43:52 i don't think you need to worry about ldpi Oct 25 06:45:27 ok Oct 25 06:53:49 so we are kinda using the same icons for iPhone and Android, and the same icons are looking mind blowing on iPhone 4, and very pedestrian on Galaxy S II, Oct 25 06:54:12 can I use HttpUrlConnection to send a request over http on Android? Oct 25 06:54:25 or is there a different class that I should use? Oct 25 06:54:37 I'm wondering if, if there is something I might be doing wrong here.. cause I was under the impression that post SII, the resolution for Samsung pretty much caught up with apple Oct 25 06:54:47 RustyShackleford: you can, i'm using it for a project right now Oct 25 06:54:57 RustyShackleford: with one caveat, there are bugs pre-gingerbread Oct 25 06:55:04 RustyShackleford: let me dig up a url for you real fast Oct 25 06:55:13 pabs: i appreciate it Oct 25 06:55:22 RustyShackleford: http://android-developers.blogspot.com/2011/09/androids-http-clients.html Oct 25 06:55:26 RustyShackleford: i have a suggestion for you though Oct 25 06:55:52 RustyShackleford: https://github.com/kevinsawicki/http-request Oct 25 06:55:58 RustyShackleford: i love that library :D Oct 25 06:56:20 RustyShackleford: String b = HttpRequest.get("http://google.com/").body(); Oct 25 06:57:19 Hi all! Oct 25 06:57:23 Good morning Oct 25 06:57:41 I need help with this: http://stackoverflow.com/questions/13063066/load-images-into-a-gallery-after-activitys-view-is-shown Oct 25 06:57:44 pabs: i am always nervous to use 3rd party libs, but bookmarked Oct 25 06:57:58 is there much of a point supporting pre-gingerbread? Oct 25 06:58:05 RustyShackleford: i dunno Oct 25 06:58:09 RustyShackleford: i'm not bothering, honestly Oct 25 06:58:12 Is there any way to load images into a Gallery after activity's view is show? Oct 25 06:58:17 RustyShackleford: but everything i've got is gingerbread or jellybean Oct 25 06:58:39 this is an app i'd like to distribute, so this might be an issue Oct 25 06:58:46 RustyShackleford: actually, i'm lying... i do have a nexus one sitting on the shelf, but i haven't tested with that Oct 25 06:59:06 RustyShackleford: http://developer.android.com/about/dashboards/index.html Oct 25 06:59:12 for now, I need to make this work on SOME platform first Oct 25 06:59:37 oh thats a pretty good chunk Oct 25 06:59:38 RustyShackleford: gingerbread or better is about 80% of teh market according to google Oct 25 07:01:06 learning a new api is such a struggle Oct 25 07:01:09 RustyShackleford: one stupid thing, don't forget to add Oct 25 07:01:17 RustyShackleford: to your AndroidManifest.xml Oct 25 07:01:28 programming is so much more fun when you know the API you are working with Oct 25 07:01:31 RustyShackleford: otherwise you won't have internet access, hosts won't resolve, etc Oct 25 07:05:20 can I use File on Android as well? Oct 25 07:06:24 RustyShackleford: yes Oct 25 07:06:58 RustyShackleford: files written to application storage aren't viewable by other applications though, keep that in mind Oct 25 07:08:25 RustyShackleford: http://developer.android.com/guide/topics/data/data-storage.html Oct 25 07:08:37 RustyShackleford: have a look lower down for information on getting internal and external storage paths Oct 25 07:09:19 wonderful, a link! Oct 25 07:09:33 much more helpful than RTFM... the manual is very large Oct 25 07:10:06 RustyShackleford: you're welcome! Oct 25 07:10:38 hate NullPointerException any easy way to debug this ? Oct 25 07:11:20 honestly the first thing i do when i get a NullPointerException is do a clean build Oct 25 07:11:37 sometimes the android build process gets confused when it compiles your resources, and a clean build fixes it Oct 25 07:11:59 (happens to me a couple times a day) Oct 25 07:12:33 failing that, you can get a stack trace from the logcat, might help track down the source Oct 25 07:12:38 already cleaned :) Oct 25 07:12:43 it is not from that Oct 25 07:12:46 k :/ Oct 25 07:19:41 tagrudev: then you look at the stacktrace in logcat Oct 25 07:26:39 hi everyone Oct 25 07:27:15 any ppl know the place where I can view the source code of android's MediaPlayerService Oct 25 07:30:13 I'm trying to use XMLPullParser in a standard Java project (not run on android) Oct 25 07:30:32 so I can't include android.jar and I'm not having luck getting the source to build Oct 25 07:30:43 any ideas? Oct 25 07:36:13 http://stackoverflow.com/questions/13063066/load-images-into-a-gallery-after-activitys-view-is-shown Oct 25 07:36:53 RustyShackleford: there are plenty of XML parsers available for regular java.. Oct 25 07:36:53 why is loadavg always very high (8.00+ on a dual core) Oct 25 07:37:54 sampullman: well I'm trying to build part of an Android app Oct 25 07:38:14 i'd rather do this part without having to also deal with the android emulator Oct 25 07:38:26 looks like i'm SOL Oct 25 07:38:41 you're making it seems like a huge issue Oct 25 07:38:42 there's this thing called hardware Oct 25 07:47:07 the device is really fast and doesnt seem to be overloaded, but loadavg keeps being 8.00+ Oct 25 07:52:23 am i here? Oct 25 07:53:00 sudarshan: no Oct 25 07:53:25 bzbz: thanks Oct 25 07:53:37 that isnt my nick Oct 25 07:54:03 bzbzb it's amost Oct 25 07:54:07 almost Oct 25 07:54:25 well, interested in talking about listviews? Oct 25 07:56:29 listview ? Oct 25 07:56:32 * g00s runs Oct 25 07:56:55 g00s: lol. yeah list views make me run too :P Oct 25 07:57:38 My listview row has become really complicated :( I don't know how to make it smooth Oct 25 07:58:16 few elements in this row are having a depth of 6 :o i know it's too much. but that's the best i could do :( Oct 25 07:58:44 yeah, not good Oct 25 07:58:49 i remember the old days ... Oct 25 07:59:01 they said, about 100 views total per screen Oct 25 07:59:20 anyhow, for a listview row, they should be simple & light Oct 25 08:00:54 g00s: I'm doing all sorts of shit in my listview. It's complicated layout. Some views hide, some move from parent to another parent. there is lazy loading. there is infinite list. no wonder it's screwed. but my boss wouldn't agree on compromising the layout at any cost. Oct 25 08:06:33 It'd be great if @romainguy could comment on it :-/ Oct 25 08:27:44 sudarshan: it's not always the depth that matters, what's important for smooth scrolling is that each row stays the same so view elements can be recycled... and no resource calls in getView, etc. Oct 25 08:27:51 Post your code and we can take a look. Oct 25 08:28:18 Also, if your list doesn't have a very large amount of items, you could consider not using listview at all... but let's first see it. Oct 25 08:29:37 hi Oct 25 08:29:46 hello Oct 25 08:29:55 anyone can help, when im trying to flash custom kernel to phone i got this: http://puu.sh/1ip8B/ Oct 25 08:30:17 phone is 100% rooted, i have rooted it and checked with "root checker" Oct 25 08:30:56 hg_5: see channel topic Oct 25 08:31:39 ok sorry Oct 25 08:33:54 Well, this is the weirdest thing... I have activity A (control panel) calling activity B (friend albums) calling activity C (friend single album) calling activity D (friend single picture). Everything works just dandy, except when it doesn't... normally when I start activity B I query the server for the picture information, and that's what happens 99% of the time... except in this huge 700 image album. Oct 25 08:34:12 When I open up a single picture there, the activity starts, but the log that is shown is from the application start, the initialisation. Oct 25 08:34:19 Navigating back from there causes it to crash. Oct 25 08:34:56 it's like everything behind the single pic activity resets behind the scene Oct 25 08:35:44 with android, you have to generally live with the possibility that the activities you return to are not the same you left Oct 25 08:35:59 activity is launched from an intent, which should have enough state information to replicate it Oct 25 08:36:12 so what, just disable back button navigation? Oct 25 08:36:21 how about making it work Oct 25 08:36:30 it's not normal that activities crash on back button you know Oct 25 08:36:34 I was being sarcastic really... Oct 25 08:37:03 If you start loading image after first loading 700 thumbnails, Android is going to start killing things in the background. Oct 25 08:37:16 Of course I don't load 700 thumbnails at once Oct 25 08:37:26 HDroid: not necessarily. It does not sound to me like it should be a problem. Oct 25 08:37:27 I get a JSON response from the server, a couple of KB Oct 25 08:37:48 I have 12-15 thumbs on screen at any given time, and only those that are shown are downloaded Oct 25 08:38:08 gridview recycles children anyhow, so there is no memory leak, I've been checking with MAT. Oct 25 08:38:36 Woops Oct 25 08:39:44 let's see on which part the single pic activity decides to jump off a cliff. Oct 25 08:47:17 This makes absolutely no sense... Oct 25 08:59:18 Hi 2 all. Have anybody any success with implementing fmemopen to be supported by android ndk? Oct 25 09:01:08 or can anyboody point an example of "funopen" usage Oct 25 09:01:26 Guys, I was calling back in to java code throught JavascriptInterface, but it seems to be broken on ICS Oct 25 09:01:37 so the page is loading but my callback is not getting called Oct 25 09:07:02 hi Oct 25 09:07:33 I check the logcat and notice an error thrown by MediaPlayerService Oct 25 09:07:47 *** getPlayerType BBB in *** (URL) Oct 25 09:08:37 and the onPrepared of onPreparedListenter isn't called Oct 25 09:08:50 so MediaPlayer can't play my audio file Oct 25 09:09:00 does anyone have the same problem? Oct 25 09:11:14 Guys, I know calling JavaScriptInterface methods from webview are not recommended but is it disabled on SIII Oct 25 09:16:56 So, turned out that passing a JSONArray of 700+ JSONObjects via intent.putExtra() did not sit well with the system. Oct 25 09:22:36 You don't say :D Oct 25 09:25:17 program is on, screen lock activated. screenlock unlocked, it's the onresume function that gets called right? Oct 25 09:29:27 tneva82, Have a look here --> http://developer.android.com/reference/android/app/Activity.html#ActivityLifecycle Oct 25 09:32:42 if there's anyone in here doing android development in vim, please pm me and help me set up an efficient environment. thanks. :-) Oct 25 09:34:55 presumably screen lock counts as another activity then? Oct 25 09:39:03 tneva82, android will suspend your application when the screen turns off or lock screen comes on. When you unlock your device again android will re launch your application from a suspended state asnd call onResume() Oct 25 09:40:01 ok Oct 25 09:40:09 so guess something in onResume caused program to crash then Oct 25 09:40:35 tneva82, can you pastebin the code? Oct 25 09:43:01 prolly too much code to paste entirely and only that function won't likely be much help Oct 25 09:44:18 tneva82: pastebin.com for that .) Oct 25 09:44:43 yes but bit too much to ask others to try to make some sense of this Oct 25 09:44:52 tneva82, that is what pastebin is for :) Oct 25 09:45:06 I just needed some starting point on where to even look since all I know is that program crashed when user tried to unlock the screen Oct 25 09:45:28 tneva82, I am willing to help to the limit of my knowledge, I might even learn something too. That is why I like to help :) Oct 25 09:47:21 I hate bugs that you can't replicate each and every time Oct 25 09:47:33 I can't seem to duplicate the crash and hell even boss can't repeat his experience Oct 25 09:49:32 is there some way of... debugging sanely? outside of eclipse Oct 25 09:50:06 http://pastebin.com/ijfQVj44 <- well have fun with that if you want. doBindService function checks whether another service is on and if not then start it. the version check is because I have managed to cause crashing program with new version requiring information clearing manually so I figured I'll create system to do the clearing old data cleanly. Oct 25 09:53:11 tneva82, Why is it you are calling super.onResume() at line 24? That would call onResume() again. I saw a post somewhere recommending against it Oct 25 09:55:50 oh and I don't mean runtime debugging but analysing compiler output. ant was even worse than gcc at its worst. Oct 25 09:56:23 hmm good question. I might have misunderstood there a bit. Come to think it's not function ending like return right? Oct 25 09:56:31 it should skip what follows flat out Oct 25 09:58:05 but you are saying I should never ever call super's function? Oct 25 09:58:12 that's bit odd. I see that quite often Oct 25 09:58:19 tneva82, I could be wrong but wouldn't calling the super of onResume() result in a runaway loop? Oct 25 09:59:04 calling super will not cause infinite recursion. Oct 25 09:59:15 is there something more to this? Oct 25 10:00:01 well if the super.onresume later resumes to continue to rest of the function then that could be source of bug. It's supposed to halt there Oct 25 10:01:04 calling super.method() is just like calling any other function with respect to the program's flow. It will return a value then continue on the next line after the invocation. Oct 25 10:01:24 super is only restricted in constructors, where it needs to be the first line of code. Oct 25 10:01:24 since the editor.clear(); does...Well clearing the data! User needs to login again for program to set itself. (maybe not best solutions but best I could figure for now to ensure new version does not cause situation where program crashes until data is cleared manually) Oct 25 10:03:26 tneva82, is editor a abstract data type? Oct 25 10:03:33 obviously need to figure out why it crashesh even then but this works as stop-gap measure. All it really forces is that if user has updated program to press login button when he returns to program. He's not(hopefully!) going to be updating program all the time. More to save our nerves Oct 25 10:03:41 SharedPreferences.Editor editor; Oct 25 10:04:23 is sharedpreferences.editor abstract? Dunno. Sharedpreferences code is pretty much from examples. Oct 25 10:05:02 tneva82, just wondering if you were initialising a new instance of editor at line 14? Oct 25 10:05:54 well. there's the sharedpreferences.editor editor; line couple row higher Oct 25 10:06:03 Hi. I'd like to change an imageview's image when touched, but toggle it back to default when released; I thought this would work http://pastebin.com/MpnihSXQ but it doesn't... so, how do I do that? Oct 25 10:06:46 vydd: use selectors Oct 25 10:08:17 then I get previous version number from sharedpreferences and then if it's empty or current version number(constant) is not same then program has been updated so return the program back to login screen with all data(barring stored username/password if user has opted to store those) erased. So should basically put the program back to where it starts when it's started up. Oct 25 10:08:36 sudarshan: something like this: http://www.mkyong.com/android/android-imagebutton-selector-example/ ? thanks Oct 25 10:08:56 vydd: exactly Oct 25 10:09:47 tneva82, so then line 14 you are initialising a new instance of settings.edit()? Oct 25 10:10:05 yes. Oct 25 10:10:32 tneva82, maybe try this --> editor = new settings.edit(); Oct 25 10:12:36 http://developer.android.com/guide/topics/data/data-storage.html <- doesn't have it like that there Oct 25 10:13:31 also it's not like this hasn't worked. It's just this one case where it crashed. It's not what happens everytime(the more the pity. Would be LOT easier to track down the bug if it happened everytime. Or if it happens we haven't found correct way to repeat the crash) Oct 25 10:15:37 tneva82, I see... What happens if you delete line 8 and change line 14 to read SharedPreferences.Editor editor = settings.edit(); Oct 25 10:17:03 iirc it was originally that way. but anyway can't see how that would change anything. where does it really matter where variable is introduced and where initialised? Except initialization needs to happen before it's used(and editor is not used elsewhere in the function) Oct 25 10:17:03 tneva82, like in the example Oct 25 10:18:45 tneva82, ok. Yes... Are you writing to storage with this? Oct 25 10:21:50 tneva82, with the example it uses the code in onStop(), you are using the code in onResume() Does this matter? Oct 25 10:23:29 not really. it uses it in onstop to store data so it can restore them. In my case I'm checking if program itself has changed(ie it's been updated) and if yes then get rid of the data to ensure there's no crash. Oct 25 10:24:11 why would an update to the program cause it to crash? Oct 25 10:26:35 likely cause I changed variables/how to use them somewhere. Kept happening(I'm hardly pro programmer!) when new version of program was installed that it crashed until data was cleared manually. That's no good cause a) it's extremely annoying b) users don't neccessarily know how to clear the data c) clearing data from the control panel ALSO clears out saved username/password if user has Oct 25 10:26:35 done that. Not nice. Therefore I created this to clean the data more cleanly. Oct 25 10:29:22 But if you use black box programming techniques, then it shouldn't matter what you change. Providing that the data input and output are what is expected Oct 25 10:31:52 tneva82, I think maybe there is a problem elsewhere in your program which is causing everything to go haywire when a very specific set of conditions are met. Maybe print out your code and step through it with a pen. I did that when my code wouldn't work when I was at uni :) Oct 25 10:32:18 anyone here using ActionBarSherlock? Oct 25 10:33:46 tneva82, Sorry I couldn't be more help with your problem :) Oct 25 10:34:11 Tee_Pee: are you doing a survey on ABS usage? Oct 25 10:34:52 No, just having small issues in getting it to work Oct 25 10:36:16 Tee_Pee: then ask about those issues Oct 25 10:36:22 namely, after importing the library as a new project in Eclipse, I get compilation errors Oct 25 10:36:48 Yeah, sorry, got my hands full here, trying to focus on too many things at once :p Oct 25 10:37:31 pretty much all of the packages in the library project have compilation errors related to android functions Oct 25 10:37:39 can;t find Fragment class etc. Oct 25 10:37:59 Tee_Pee, is it R errors? Oct 25 10:38:22 Tee_Pee, You may need to clean and rebuild your sources in eclipse Oct 25 10:38:36 nah Oct 25 10:39:52 It's just that it, e.g. tells me to remove the Override annotations because there is no superclass method Oct 25 10:39:58 because there's no superclass... :p Oct 25 10:40:30 for anyone who may be interested, apparently there's a phone called "Nexus 4" coming: http://www.carphonewarehouse.com/mobiles/mobile-phones/LG-NEXUS-4/MONTHLY Oct 25 10:51:57 Providing that the data input and output are what is expected < -this could be bit of a problem since program designation keeps changing all the time :-< So I'm struggling to keep up with the changes so accidentally might forget that I changed those. In any case this system works at least for now. Pressing login button after upgrading(if you were even logged in while updating) isn't THAT Oct 25 10:51:57 big of a hurdle. Oct 25 10:52:29 But I'll have to keep eye on this. The crash has happened just once in the month or so so it's not THAT frequent bug. Oct 25 10:52:56 I changed it a bit which might help with the issue Oct 25 10:53:16 anyone at droidcon uk? Oct 25 11:11:28 hi, i'm using remote desktop to access my computer, and an andorid phone is attached to that machine, is it possible to control my phone using my PC? Oct 25 11:12:14 zhangxaochen: there are apps for that, like gtalksms... or adb ;) Oct 25 11:12:26 depends on what kind of control you need Oct 25 11:13:58 Ge0rG, i only know adb install how can i run some apk? Oct 25 11:15:11 what is best way for me to display a list for example countries(but i need to pick one) so would like to have some picker for it.. does anyone have good example for it? Oct 25 11:16:40 This is a screenshot from the g+ app : http://i.troll.ws/4cc432e6.png Oct 25 11:16:40 How this slider menu is developed? Oct 25 11:18:45 How about stacking a menu and a list view in a top layer using a framelayout, and slide the listview using a translation animation? Oct 25 11:26:08 Hey guys Oct 25 11:26:17 hello Oct 25 11:26:18 I have this searchview that I wanna use to filter stuff. Oct 25 11:26:22 napster: are you still interested in that sliding menu? Oct 25 11:26:34 Sooo I made an onQueryTextChange Oct 25 11:26:35 Napalm: yes Oct 25 11:27:02 But that only gets the "newText". How do I get everything that's in the searchview every time the text changes? Oct 25 11:27:04 napster: if your not in a rush, i will pull some code rejig it a little and stick it up on GitHub Oct 25 11:27:12 I can't use .getQuery inside the listener Oct 25 11:27:26 Napalm: no problem. thanks Oct 25 11:28:02 Napalm: but how about my concept? I mean stacking them in a framelayout and translate the top layer. Oct 25 11:28:33 probably not going to work how your thinking it should work Oct 25 11:28:43 Napalm: ok Oct 25 11:29:34 ok then I will be waiting for your code. thanks in advance. Oct 25 11:31:04 RazielZ: i was under the impression that newText is the full text from the field Oct 25 11:31:09 It's not Oct 25 11:31:17 At least apparently Oct 25 11:31:23 I'm gonna put a breakpoint in and check Oct 25 11:31:37 ive just downloaded a proj from github, i think it needs me to build a library too using the ndk, i see a make file but how do i build? Oct 25 11:33:10 Wait, it is the whole text. Oct 25 11:33:15 So my search method must be borked Oct 25 11:36:01 damn im such a c noob Oct 25 11:36:07 anyone know how to run a makefile :-x Oct 25 11:37:50 Under what OS? Oct 25 11:38:14 Because if you're on windows you probably aren't supposed to do it like that. Oct 25 11:44:00 Window7 Oct 25 11:44:18 seems to have another file called cproject Oct 25 11:44:20 annoying this Oct 25 11:44:41 whoops Oct 25 11:45:19 its this im trying to build Oct 25 11:45:20 https://github.com/shagr4th/UAE4Droid Oct 25 11:45:31 looks fun, but i guess the libs dont come prebuilt Oct 25 11:46:57 what libs? Oct 25 11:47:12 ah Oct 25 11:47:14 Hmmm Oct 25 11:47:16 That's weird. Oct 25 11:47:27 yeh but it crashes on findlibrary Oct 25 11:47:31 Since that looks like a proper project structures Oct 25 11:47:54 yeh Oct 25 11:48:01 but themn theres jni dir Oct 25 11:48:03 and cproject Oct 25 11:48:04 confused Oct 25 11:51:26 System.loadLibrary(cyclone?"uaecyclone":"uae"); Oct 25 12:05:15 are there any caveats when using P2P for an Android game? Oct 25 12:05:22 (a multiplayer game) Oct 25 12:08:24 http://www.carphonewarehouse.com/mobiles/mobile-phones/LG_NEXUS_4/MONTHLY HUR Oct 25 12:11:45 RazielZ i think this is the library https://github.com/shagr4th/UAE4Droid/tree/master/jni Oct 25 12:11:57 just trying to figure out what to type lol Oct 25 12:17:37 so anyone know how to build a lib? Oct 25 12:21:12 in project folder, run: ndk-build Oct 25 12:24:42 thx! Oct 25 12:25:13 'ndk-build' is not recognized as an internal or external command, doh! Oct 25 12:25:40 gaz`: did you install the ndk? Oct 25 12:25:51 nope, it doesnt come with the ordinary ndk? Oct 25 12:25:53 :-x Oct 25 12:26:02 you mean sdk? Oct 25 12:26:17 yes sorry Oct 25 12:26:20 grabbing ndk now :) Oct 25 12:26:24 <-fool Oct 25 12:39:24 http://developer.android.com/guide/google/gcm/gs.html what is SENDER_ID here?? i didnt get anything at signing up for GCM service Once the sanity checks are done, the device calls GCMRegsistrar.register() to register the device, passing the SENDER_ID you got when you signed up for GCM. Oct 25 12:39:38 I am trying to figure out the theme parenting of ABS, but I've ran into some issues Oct 25 12:40:18 as my styles.xml in the values folder extends android.Theme, the one in values-v11 extends Theme.Holo Oct 25 12:40:22 miha: "Take note of the value after #project: (4815162342 in this example). This is your project ID, and it will be used later on as the GCM sender ID." Oct 25 12:40:31 and the one in values-v14 extends Theme.DeviceDefault Oct 25 12:40:53 I only need to modify the one in the "normal" values folder? Oct 25 12:42:24 Napalm: oh, thank you. me noob :( Oct 25 12:42:30 tried API_KEY :D Oct 25 12:42:44 that's for server right :( Oct 25 12:44:48 hi .. i am trying to capture Boot_completed intent on my broadcastReceiver so it is ready to capture my pending intent which i did set before the restart ... but it is not capturing and ringing the alarm ... i have the RECEIVE_BOOT_COMPLETED permission and have an i am not getting where am i gng wrong Oct 25 12:47:11 digitalfallacy: did you google for example? like... this http://stackoverflow.com/questions/5051687/broadcastreceiver-not-receiving-boot-completed Oct 25 12:51:19 digitalfallacy: pending intent *before* restart? Oct 25 13:07:51 how do I get eclipse with android stuff? Oct 25 13:07:58 wops. wrong buffer. Oct 25 13:08:45 miha: thank you so much miha ... that was so helpful ... the control was gng in the catch statement and nothing was being displayed ... doing it manually through adb-shell helped me fix things so much faster .. thanks a lot Oct 25 13:09:21 appel1: yes , i mean set an alarm before restart .. there we set an intent to be fired in a future time right Oct 25 13:09:59 just use intellij it's way better Oct 25 13:18:37 Hello. I have an activity with a tabhost where each tab is a fragment. How, from the activity, do I get the view of a widget (TextView lets say) within the fragment when I don't know if the tab it is on is visible or not? Oct 25 13:19:15 Or should I have a method in the fragment that updates the view and have the activity call that? Oct 25 13:25:36 Napalm: (and others) this GCM ... doc says If the server included key-pair values in the data parameter, they are available as extras in intent client receives, with the keys being the extra names. but server example only shows Message message = new Message.Builder().build(); and if i put data to message.getData() i get UnsupportedOperationException for $UnmodifiableMap Oct 25 13:26:13 so how to put data there Oct 25 13:39:39 if I want to install an app from adb I do "adb install app.apk" Oct 25 13:39:54 but if I try to uninstall it with "adb uninstall app.apk" it fails Oct 25 13:40:25 i think it wants the name according to the java class name, but I don't know what it is Oct 25 13:40:35 how do I find out what the java class name is for the app? Oct 25 13:40:39 it wants the name according to what it is in /data/app now Oct 25 13:40:49 sdaq: adb uninstall works so that you need to use the bundle id Oct 25 13:40:55 or com.my.app.. Oct 25 13:41:07 w/e is called in android Oct 25 13:43:45 angelos: it is still failing Oct 25 13:44:08 angelos, vavirta: I used exactly the name from /data/app Oct 25 13:44:22 sdaq: remove the -1 Oct 25 13:44:23 or -2 Oct 25 13:44:38 sdaq: from the end Oct 25 13:45:06 Napalm: still failure Oct 25 13:45:21 what are you trying? Oct 25 13:46:06 adb uninstall Oct 25 13:46:35 no its not a file name Oct 25 13:46:41 its a java package path Oct 25 13:46:55 sdaq: what is the package path you are trying Oct 25 13:47:10 -rw-r--r-- system system 5433746 2012-10-25 08:49 MonoAxeThriftServiceV2.MonoAxeThriftServiceV2-1.apk Oct 25 13:47:20 nope thats incorrect Oct 25 13:47:29 so you have the shell open? Oct 25 13:47:32 yeah Oct 25 13:48:52 * sdaq is on the edge of his chair Oct 25 13:49:30 sdaq: type: pm list packages -f Oct 25 13:49:45 that will give you a list of files and there packages Oct 25 13:50:08 find your MonoAxe file in the list after the = character is the package path Oct 25 13:50:40 does someone know about a expandablelistfragment lib ? Oct 25 13:51:10 Napalm: success.. i wub u Oct 25 13:51:17 your welcome Oct 25 13:51:36 dza: what lib? Oct 25 13:51:49 Napalm, just any lib implementing it Oct 25 13:51:55 anyone tried flash professional for android dev? Oct 25 13:52:10 dzan: implementing what? your not making much sense Oct 25 13:52:22 .:dzan:. does someone know about a expandablelistfragment lib ? Oct 25 13:52:28 ... ExpandableListFragment Oct 25 13:52:38 their is no such thing as ExpandableListFragment Oct 25 13:52:43 :s Oct 25 13:52:49 that's why I ask if someone knows about a lib Oct 25 13:52:52 adding it Oct 25 13:52:55 why do you need a lib? Oct 25 13:52:59 I know it's not hard to do myself neither Oct 25 13:53:00 its straight forward Oct 25 13:53:02 because it's fast Oct 25 13:53:04 and proven Oct 25 13:53:06 and bug fre Oct 25 13:53:08 lol Oct 25 13:53:14 and why else do people use libs Oct 25 14:08:33 I have two classes, one that displays a menu system and one that displays a search bar. I've been merging them, I have an option added in the menu to launch the search bar class. When you click search a new blank window loads but I'm not seeing the search bar appear, if you run the search class on it's own you get a search bar. So I'm wondering how to go about debugging this, would it be something in the lay Oct 25 14:08:33 out or should I be looking at the java? I have no real reason to assume it's java because both classes work on there own. Oct 25 14:21:56 Hi all. Can you tell me what will happen if I have an EditText with android:maxLength set in the layout.xml, and wanted to setText() a String that exceeds this limit? Oct 25 14:23:11 completely changing my question lol, I'm trying to find the text view that is my searchBox, if I use the android sdk view it can find the "serachBar" if I use any other editor it can't Oct 25 14:27:19 yezariael_work_: the text will just be cut of, after maxLength Oct 25 14:27:46 due to network limits i am doing manual downloads of SDK components (with help from the repository XML file) where exactly do the system images go (armeabi-v7a folder)? Oct 25 14:29:08 sysimg_armv7a-16_r03.zip Oct 25 14:29:10 timroes: you're right, I just found it out as well. thx Oct 25 14:31:01 can anyone on windows please browse their SDK folder and see where 4.1 system images reside Oct 25 14:32:45 regedit: C:\Program Files (x86)\Android\android-sdk-tate\system-images\android-16\armeabi-v7a Oct 25 14:32:48 regedit, Program Files (x86)\Android\android-sdk\system-images\android-16\ ? Oct 25 14:33:21 ok thanks, leme try... Oct 25 14:33:39 regedit: There's no guarantee that each component is just "unzip and go" Oct 25 14:33:43 content might go multiple places. Oct 25 14:33:50 oh... Oct 25 14:33:54 if I were you, I'd take a field trip to a coffeeshop and download everything, then transfer it Oct 25 14:34:29 theres no way to point to to my zip file so it can install it? Oct 25 14:34:44 the sdk manager Oct 25 14:35:26 I honestly don't know, but I don't think so. Oct 25 14:35:32 I don't really know the internals too well, sorry. Oct 25 14:35:38 it's possible you'll be fine with just unzipping everything Oct 25 14:36:04 oh yes it seems just fine Oct 25 14:36:26 the contents ofthe zip is an armeabi-v7a folder Oct 25 14:36:40 which i just dropped in system-images Oct 25 14:37:04 thanks guys Oct 25 14:37:06 and btw Oct 25 14:37:10 dzan: still want that ExpandableListFragment lib? Oct 25 14:37:12 the docs haz mistake Oct 25 14:37:28 docs says the system image is under /platforms Oct 25 14:38:01 developer.android.com/sdk/exploring.html Oct 25 14:38:08 isn't possible to upload differents obb files on android market? instead of just a single main and patch file? Oct 25 14:38:56 do you know if I fill some dcma request against shared/hosting server (but the ones dedicated to android apks), it will work? (in fact I'm more concerned about the contrary, like for the spam when you believe you're going to unsuscribe, in fact they (the spammers) suscribes you)? also for the little story, after implementing LVL + few things, no illegal copy/share has (yet) been made Oct 25 14:39:48 * adq is really suspicious Oct 25 14:40:41 adq: uh, what? Oct 25 14:41:02 adq: I doubt that you'll get signed up for spam, but in all fairness your email address is already out there on spam lists so it doesn't matter. Oct 25 14:41:12 Whether the company follows DMCA isn't something you can really control. Oct 25 14:41:20 naaa spam was an example Oct 25 14:41:22 from my experience, some do, but some don't. Oct 25 14:41:33 of course, the one that didn't (megaupload) didn't last too too long. Oct 25 14:42:06 hi! Oct 25 14:42:08 but yeah, you should assume that your app is going to get cracked and passed around. Your only option is to delay, not to prevent that. Oct 25 14:42:08 it's more like you can be a target of someone or bots after since when you look some apks site hosting, it's full of infringment Oct 25 14:42:17 s/since// Oct 25 14:42:48 lov, no pb i know it took more time to implement lvl + few things than reverse and crack it Oct 25 14:43:18 I'm more concerned about "fake dcma request" putting your apk high in their priority list Oct 25 14:43:41 in whose priority list? Oct 25 14:43:48 I don't really understand what you're asking about Oct 25 14:43:55 omg :[| sorry for my english Oct 25 14:44:10 i assume they target apks with criticity, priority and lot of other factors Oct 25 14:44:21 and they do not crawl the web and any apks on their way are cracked Oct 25 14:44:35 who the hell are you talking about Oct 25 14:44:36 who is "they" Oct 25 14:44:37 because in their scam scheme, it's more important to target first big well known app Oct 25 14:44:44 hey lov Oct 25 14:44:46 long time Oct 25 14:44:47 than totally unknown app with 1 download Oct 25 14:44:59 har har. Oct 25 14:45:05 is adq using an inline translator Oct 25 14:45:05 they are ppl who crack and put apks on illegal sharing site Oct 25 14:45:09 it can be bot!! Oct 25 14:45:13 ? Oct 25 14:45:13 not necessarly humans. Oct 25 14:45:18 regedit, not at all. Oct 25 14:45:48 adq: you are chatting a mile a minute and no one understands Oct 25 14:46:03 I figured it out :( Oct 25 14:46:26 I seriously don't understand what you're concerned about. Oct 25 14:46:27 despite it does not seem really complex to understand despite all my typos, fault and grammatical mistakes or whatever Oct 25 14:46:38 ok forgot. Oct 25 14:46:47 ok great Oct 25 14:46:50 glad we had this chat Oct 25 14:46:52 did you mean to say "i figured as much" or "i figured it out :)" Oct 25 14:47:12 I will retry later maybe, thanks you for making me realize i have huge problem to be understood Oct 25 14:47:20 it's a real thanks, no offense here. Oct 25 14:47:43 regedit, i cannot make the difference but you got the idea lol :-) Oct 25 14:48:27 i have seen all sorts of bad english, but i like adq's whole new level Oct 25 14:48:31 adq: its just frustrating - people, who want to help others of their own free will have to sit here and try decipher your spam. fewer lines, more sense, please. Oct 25 14:48:40 not like my engrish is any good Oct 25 14:49:14 sorry to be a dick, but just wanna put it in perspective. Oct 25 14:49:40 never be sorry for being a dick Oct 25 14:49:46 it's really ok (except my english..), no offense. I will try to improve. Oct 25 14:51:34 I don't think it's a problem with your english, I think that you're just not making coherent thoughts :X Oct 25 14:52:11 I've a total of 400 MB obb file (for a 3d game, assets, textures and more stuff). It's splitted on minor size parts on my server (level1.obb, level2.obb, level3.obb, etc.). My installer handle automatic updates of newer versions of these files, just downloads which version is newer Oct 25 14:52:16 But, with a single obb file of 400 MB, what's the best approach to do something similar using the hosting of android market? It's possible? Oct 25 14:52:38 lov, not sure about that ;-) but anyway. Oct 25 14:53:06 dkz: have a look at apk expansion files http://developer.android.com/guide/google/play/expansion-files.html Oct 25 14:53:34 lov: would you mind checking where samples go please, the docs are terribly mistaken (apparently) Oct 25 14:53:49 timroes: the problem it's only I can have one expansion file (2 with patch file) Oct 25 14:54:07 cant you package all files into one? Oct 25 14:54:23 yes, but then I've to redownload again 400 MB on each new update Oct 25 14:54:28 no Oct 25 14:54:32 google play only transfers diffs Oct 25 14:54:35 (since some versions) Oct 25 14:54:57 so it won't push the user another 400mb of data, when you just change some small parts Oct 25 14:55:58 that's what I wanted to know, I'll take a look thanks Oct 25 15:02:08 if someone could help me i would appreciate: http://stackoverflow.com/questions/13054268/how-to-set-custom-view-to-multichoice-listpreference Oct 25 15:03:04 I still have not figured out how I can take a screenshot of a certain layout element Oct 25 15:03:55 do not ask for the reason behind me wanting to do this, the guy has something he ..wants to do Oct 25 15:03:55 :P Oct 25 15:05:08 you mean a screenshot from the device or emulator? Oct 25 15:05:39 can someone please check where is the location of the sdk samples (latest android/sdk) Oct 25 15:05:56 /? Oct 25 15:05:58 /samples Oct 25 15:05:59 either; the point is, I want to take a screenshot of a certain element in my UI (e.g. the ImageView that has just been loaded with some picture I chose from the gallery) Oct 25 15:06:09 regedit: C:\Program Files (x86)\Android\android-sdk-tate\samples\android-16 Oct 25 15:06:28 thanks. aain, the docs are wrong Oct 25 15:06:29 why dont you just run it on the emulator get to the screen, then use your pc to take a screenshot? Oct 25 15:06:32 *again Oct 25 15:06:39 then crop it Oct 25 15:06:52 no no, I want to avoid all of that and have the screenshotting overridden in my app Oct 25 15:07:09 so that whenever I take a screenshot inside my app, it does so for element XYZ Oct 25 15:07:15 you can't do that Oct 25 15:07:16 and not any other element or inside any other activity Oct 25 15:07:18 I know Oct 25 15:07:22 I just wanted to hear it being said Oct 25 15:07:22 why would you want to Oct 25 15:07:23 lol Oct 25 15:07:40 being asked to look into this, I "wat"ed the request instantly Oct 25 15:07:56 regedit: collect a list of places that the documentation is wrong, then file a bug on b.android.com Oct 25 15:08:07 Hi, if anyone tried to resize videoview on google tv, please help me how to do it? Oct 25 15:08:20 regedit: but don't necessarily expect anyone to do anything about it, even so Oct 25 15:08:37 meh Oct 25 15:08:52 Leeds: the sdk team is actually pretty good about this stuff Oct 25 15:09:16 lov: oh, SDK maybe... still waiting for the little doc bug I reported ages ago to get fixed Oct 25 15:09:24 if you're not subscribed to the adt-dev mailing list, it's pretty responsive. Oct 25 15:09:38 well, I consider it a minor miracle that the docs are as good at they are at this point Oct 25 15:09:45 it's leaps and bounds better than it was Oct 25 15:10:17 it should be a wiki? Oct 25 15:10:36 no, it shouldn't Oct 25 15:10:44 but it should probably be more actively maintained... Oct 25 15:11:02 its kinda haughty not to have it in wiki form Oct 25 15:11:09 http://developer.android.com/guide/topics/resources/more-resources.html#IntegerArray - apparently the element is required for an integer array resource Oct 25 15:11:21 regedit: think of the dumbest, loudest person you know. Oct 25 15:11:26 Now imagine someone 10 times dumber and louder Oct 25 15:11:30 this is the person that will be editing the wiki. Oct 25 15:11:34 rofl Oct 25 15:11:44 I'm serious. Oct 25 15:11:48 The docs should not be a wiki. Oct 25 15:12:04 maybe they should have a mirror wiki Oct 25 15:12:13 if you want to start a wiki, go ahead Oct 25 15:12:21 I'm sure there are some sites that already have android wikis Oct 25 15:12:39 will google allow me to crawl all the docs? Oct 25 15:12:41 and the docs are all under an open license - nothing stopping you *starting your wiki* with the existing docs Oct 25 15:12:48 on a daily basis Oct 25 15:13:18 "The documentation content on this site is made available to you as part of the Android Open Source Project. This documentation, including any code shown in it, is licensed under the Apache 2.0 license, the preferred license for all parts of the of the Android Open Source Project." Oct 25 15:13:20 we're not google :P Oct 25 15:13:20 anyone know if there's an Android equiv of TeeOutputStream? basically an OS that duplicates what it writes to two (not just one) underlying streams Oct 25 15:13:28 it doesn't change on a daily basis... Oct 25 15:13:32 You could, of course, just download the documentation and edit it yourself. Oct 25 15:13:45 i see Oct 25 15:13:47 a lot of the docs are actually autogenerated from AOSP Oct 25 15:13:53 you could fix a documentation error and submit a patch. Oct 25 15:14:26 yeah, it's almost all just javadoc anyway Oct 25 15:14:31 hm the "Android Support" component doesnt appear in the repository xml... Oct 25 15:14:50 where can that be manually dloaded Oct 25 15:15:32 regedit: you mean the code for android-support-v*.jar? it's in the framework/support directory Oct 25 15:15:39 in the AOSP repo Oct 25 15:16:12 nah not the code just the stuff that the sdk manager downloads Oct 25 15:17:34 oh, you mean repository xml as in the sdk manager repos Oct 25 15:17:46 ye Oct 25 15:18:12 im having connection issues so im doing the sdk manager's work manually Oct 25 15:18:32 webt fine for the basics like platform & tools & sys images etc Oct 25 15:18:50 but the Android Support isnt in that xml Oct 25 15:19:22 hmm, weird. perhaps because it's under "Extras"? havne't looked at the xml to see what it looks like Oct 25 15:19:51 where do extras come from Oct 25 15:20:07 they have their own xml or somethin'v Oct 25 15:20:18 *somethin'? Oct 25 15:21:30 no idea, sorry Oct 25 15:22:12 Hey Guys, I'm looking for actionbar theme samples, can references ? Oct 25 15:22:34 regedit: try https\://dl-ssl.google.com/android/repository/addon.xml Oct 25 15:24:09 tophyr: hey that actually cones up Oct 25 15:24:27 *comes Oct 25 15:24:37 tophyr: should that be the very latest stuff? Oct 25 15:26:35 brickhead: the ABS source has tons and tons of samples Oct 25 15:26:47 tons? Oct 25 15:26:51 lots Oct 25 15:26:56 many Oct 25 15:27:09 I could only find one with grey lines under styled Oct 25 15:27:20 I can't help you there Oct 25 15:27:26 theTerry: hmm... I'll have a second look Oct 25 15:28:06 regedit: yep Oct 25 15:29:10 files written to external storage with setReadable(true) are not showing up on my PC with Android File Transfer Oct 25 15:29:57 tophyr: thanks bro Oct 25 15:31:27 I have a long ScrollView with a bunch of LinearLayouts. I want to keep track of what LL is in the middle of the SV at all times, so I'm subclassing ScrollView and overriding onScrollChanged. But how can I determine what's in the middle? Oct 25 15:31:46 I have a feeling there's probably something with Rects here. Oct 25 15:33:18 regedit: np Oct 25 15:34:06 lfaraone: total up the heights of the LLs, cut that in half, see which rect that y-value intersects Oct 25 15:36:37 wow i have to manually index files i write to external storage? Oct 25 15:36:42 brilliant, android Oct 25 15:37:17 erm, what does that mean? Oct 25 15:39:32 Does someone have information or a tutorial on how to check whether a submitted MIME type is actually what it pretends to be? If my app accepts intents from ACTION_SEND, mime-type text/plain, and someone would send binary data - what could happen? Oct 25 15:41:22 jasonmog: ? Oct 25 15:42:14 if I call startActivity(intent) do I need to provide the view I want to change to or can I call it in the new class? Oct 25 15:42:42 docmur: you setContentView in the other activity Oct 25 15:43:05 docmur: your called activity should set its views states as appropriate in onStart/onResume. Oct 25 15:43:08 you provide the *Activity* you want to start... Oct 25 15:43:14 yezariael_work_: you'd be responsible for making sure you don't crash Oct 25 15:43:16 right Oct 25 15:43:17 yezariael_work_: your app would try to interpret binary data as text. if you're printing it, might get unprintable characters, etc Oct 25 15:43:21 which is why it's called "startActivity" not "showView" or something Oct 25 15:43:39 but you might get those anyway. that's what encodings are for :) Oct 25 15:44:04 yezariael_work_: you don't do much to prevent someone sending you something invalid; you have to handle it gracefully. You could look for what you consider to be unprintable, but don't forget multiple languages have different concepts of printable Oct 25 15:45:11 Hey dragorn Oct 25 15:46:02 I was talking to you about keystore that day, I found this project https://github.com/nelenkov/android-keystore Oct 25 15:46:24 basically the author is using reflections to leverage keystore even on pre ICS devices Oct 25 15:47:05 brickhead: interesting Oct 25 15:47:19 So how do you all go about that? Do you check your sent mime-types for validity? Oct 25 15:47:41 so I tested in on 2.2 and ICS and seems to work, only concern nobody seems to be using it :) Oct 25 15:48:23 brickhead: right - you don't even need that, you can grab the keystore interface out of aosp Oct 25 15:48:45 the problem is, since the keystore is poorly supported on 2.x, you have to prompt the user to create one and unlock it, and you have to unlock it on reboots Oct 25 15:49:03 and on ICS, it's integrated into having a pin, so you have to force the user to implement a lock screen Oct 25 15:50:05 tophyr: hmmm. I'm looking through the docs for View, and I'm trying to find a method that might return a child that intersects a y-value or rect, and found nothing :/ Oct 25 15:51:51 dragorn: ok so there seems to be this credintial storage, I thought the key persists across restart Oct 25 15:52:05 no, you won't find one for intersection. you'll either need to build a list of rects yourself from the bounds of the views, or just do the intersection calc yourself (which is what i'd do) Oct 25 15:52:06 the key persists but not the unlock Oct 25 15:52:20 the whole point of the keystore is that the user must supply a key to open it Oct 25 15:52:40 on ics, they do this w/ the pin (i believe they store an encrypted key and then use the pin to block device access) Oct 25 15:52:55 (that's also more or less how they do the device encryption) Oct 25 15:53:04 dragorn: hmm.. I might as well have my own pin Oct 25 15:53:07 on 2.x, the user has to manually unlock the keystore Oct 25 15:53:26 and there is nothing to prompt them on boot to do so - causing a big issue for cert-backed wifi for example Oct 25 15:53:38 I don't want to impose a system wide pin Oct 25 15:53:38 you can push a keystore unlock event to prompt them, at least Oct 25 15:53:59 well, that's what ICS imposes. As far as I know - test and confirm, it's possible I'm mis-remembering Oct 25 15:56:25 dragorn: Yeah I'll give it a try, the documentation says as much Oct 25 16:08:40 creating a new AVD, which skin should i choose for say, nexus 7 Oct 25 16:09:29 i think thats wxvga Oct 25 16:09:55 hm i see no such option Oct 25 16:10:05 wxga perhaps? Oct 25 16:10:35 i see wxga800-7in, would that be the one for nexus7? Oct 25 16:13:18 think so Oct 25 16:13:25 Hi, while debbugging my code I can see that "test/" + "1.png" = "test1.png" .... why does when I add 2 strings the last "/" is gone? Oct 25 16:13:43 is it possible to resize videoview and make it bigger than screen? Oct 25 16:17:43 why is GitHub literally crawling..? Oct 25 16:22:10 dragorn: you are right, it ask you to set a pin or password Oct 25 16:22:13 yeah. it's 3 years old. it should be walking by now! Oct 25 16:22:34 also, rack-mountable servers can't literally crawl Oct 25 16:22:57 regedit, in my activity editor, I have a "7in WXGA (Nexus 7)" layout option Oct 25 16:23:22 sulaiman: how about in your AVD manager Oct 25 16:23:40 well, they might be able to... if their disks are horribly out of balance but somehow also in tune with each other, they might be able to vibrate their way along a desk or something Oct 25 16:23:52 although that may be more literally "shimmying" or something, not "crawling" Oct 25 16:25:39 hey guys Oct 25 16:25:59 are TabWidget crashing 2.3? Oct 25 16:26:08 regedit, this might help you http://stackoverflow.com/questions/11281270/emulate-nexus-7 Oct 25 16:26:18 they might be crawling away from these http://wallblog.co.uk/files/2011/01/tumblr2.jpg Oct 25 16:27:14 g00s Oct 25 16:27:16 are you here? Oct 25 16:28:10 SimonVT, brainv Oct 25 16:28:14 ok the AVD starts but all i see is the word "android" animating Oct 25 16:30:00 regedit, also this article http://android-developers.blogspot.com/2012/07/getting-your-app-ready-for-jelly-bean.html Oct 25 16:31:47 is "Android 4.1.2 (API Level 16)" same/different than "Android + Google APIs Level 16" ? Oct 25 16:36:03 im downloading the Google APIs manually, why does it have "mac" in the file name? is it only meant for mac?? dl-ssl.google.com/android/repository/addon.xml Oct 25 16:36:37 line 679 "google_apis-16_r03.zip" Oct 25 16:37:04 when i download it it has mac in the filename Oct 25 16:37:33 er i mean Oct 25 16:38:10 inside that zip the feloder is called "google_apis-495790-mac-x86" Oct 25 16:38:16 *folder Oct 25 16:38:21 regedit: you may find this helpful: http://codebutler.com/2012/10/10/configuring-a-usable-android-emualtor/ Oct 25 16:38:45 Hello Napalm, have you uploaded the slider menu code? :) Oct 25 16:39:28 napster: worked on it a little but havent had much time, i'll see what i can pull together in a few hours Oct 25 16:39:46 Napalm: no problem :) Oct 25 16:42:45 hi Oct 25 16:43:14 another slider menu library? Oct 25 16:44:01 I have a listview with a checkbox inside it and I would like to run through each item in the list and check weather the check box is ticked or not, I have this code >> for (int i = 0; i < playerList.getCount(); i++) { } What would I have to put in the middle to make the list item accessable? Oct 25 16:46:05 JakeWharton: Probably! Which one would you suggest from the existing libs? Oct 25 16:46:33 If I was forced against my will to adopt that awful pattern I'd probably choose SimonVT's Oct 25 16:46:51 RichardS: you should probably invert the problem. In the adapter's getView, add an onclick listener to every checkbox that alters some Set which tracks which one of the checkboxes are set Oct 25 16:47:09 JakeWharton: Aweful pattern? Even google+ app uses it :) Oct 25 16:47:12 RichardS: you can't really store state in the listview itself, it can only be somehow tied to the adapter Oct 25 16:47:37 napster: that doesn't mean anything Oct 25 16:47:41 RichardS: for instance, if you scroll a listview, the item rows get reused. The checkbox state must come from somewhere or you lose those clicks. Oct 25 16:47:46 they even use a stupid custom action bar Oct 25 16:47:58 I think they used yours ;) Oct 25 16:47:59 napster: IMO depends on how it's implemented, and how it interacts with the stack Oct 25 16:48:02 * p_l doesn't have "up Oct 25 16:48:03 ok thanks, i think i can figure it now from what youve said, its made a custom adapter anyway so i can alter that to account for the tick box being clicked Oct 25 16:48:06 " button Oct 25 16:48:07 thanks :) Oct 25 16:48:17 I am unable to get an item of listview selected/highlighted Oct 25 16:48:18 is there a way that I could detect intersection between two Path objects ? Oct 25 16:48:32 at start when the view is loaded Oct 25 16:48:44 where to look at for trouble Oct 25 16:48:45 napster: no, because like a sane person, my library uses the native action bar when it's available Oct 25 16:48:54 p_l: agreed Oct 25 16:49:00 G+'s redefinition of the 'up' button is confusing and upsetting Oct 25 16:50:42 codebutler: best avoided by not having "Up" button in device Oct 25 16:53:34 JakeWharton: I can't distinguish the actionbar on the g+ app if its native or not. but it looks native (although styled) on my GNex. Oct 25 16:53:40 it's not Oct 25 16:53:49 Is it actionbarcompat? Oct 25 16:53:59 I need to implement some functionality using AdapterView.setOnItemSelectedListener Oct 25 16:54:33 no Oct 25 16:54:38 actionbarcompat is not a library Oct 25 16:54:39 it's a sample Oct 25 16:54:54 but my problem is that I am not able to setSelection of ListView when I render the view Oct 25 16:55:21 JakeWharton: actually I mean the one google was talking about in the last I/O. I think I heard about it from you. Oct 25 16:55:32 that would be AppCompat Oct 25 16:55:38 some sort of independent actionbar Oct 25 16:57:04 ok Oct 25 16:57:45 it's also not AppCompat because that delegates to the native action bar as well Oct 25 16:58:44 well that seems pretty weird now. Oct 25 17:04:55 hello, if i add my own apps that contain libs that are not included in the base build why won't they compile? i have their dependencies in /packages/apps/MyApp/libs Oct 25 17:05:30 * napster is looking at SimonVT's menudrawer Oct 25 17:08:09 * Looney cannot get an item of listview highlighted :-( Oct 25 17:15:22 hi there Oct 25 17:15:38 If I have a ViewPager with fragments Oct 25 17:15:50 and each fragment has a scrollview Oct 25 17:16:00 I need to display 5 predefined dates in dialog, what is the best way for doing it? Oct 25 17:16:18 how can I make it scroll to the top when ever the fragment is invisible? Oct 25 17:16:27 the should be selectable Oct 25 17:20:52 Epilog: I would call scrollView.scrollTo(0, 0) in the fragment's onPause method Oct 25 17:22:51 torniker: uh, have 5 static date objects lying around somewhere? override their onclicks? Oct 25 17:22:56 not quite sure what you're looking for Oct 25 17:24:09 sampullman: tried them all Oct 25 17:24:20 in the onPause Oct 25 17:24:34 I even tried the post with a runnable Oct 25 17:24:43 that's a bad idea Oct 25 17:24:53 perhaps it would be better to try it in onResume Oct 25 17:24:57 sampullman, I am looking for the thing like listbox in browser. you see one item at time you can navigate them using arrows Oct 25 17:25:37 torniker: no idea what that means, sorry Oct 25 17:26:15 sampullman, thanks anyway I am trying to build an app for google tv so it's very different you don't have any touch screen Oct 25 17:26:26 http://www.emacswiki.org/emacs/EmacsOnAndroid yesssssssss Oct 25 17:27:00 who needs any other feature of Android when I have Emacs? Oct 25 17:27:01 Hodapp: that's great, hah Oct 25 17:27:37 noob question :) if I do ArrayList.Size() do i get the amount of items or the max index? (eg if i have 5 items do i get 5 or 4) ? Oct 25 17:27:46 torniker: ok, well you might have better luck if you present all the necessary information when you initially ask the question Oct 25 17:27:55 RichardS: 5 Oct 25 17:28:06 so it counts them, k thanks :) Oct 25 17:28:27 yes, the docs describes it quite nicely ;-) Oct 25 17:28:50 RichardS: consider looking at the documentation? Oct 25 17:28:57 sorry but #openscenegraph is dead quiet so I will ask here since someone may know... what do I have to do to enable texture attributes with OSG and OpenGL ES 2.0? All my texture coordinates are passing through as zeros for some reason... Oct 25 17:29:17 lov, if i told you why i didnt you'd think im sad ;D Oct 25 17:29:28 can't read? Oct 25 17:29:48 all ports blocked except IRC? Oct 25 17:29:55 but I wonder how well Emacs would work on Android if things like Ctrl/Alt may not be there... Oct 25 17:30:04 Prefer the human interaction rather than plain cold text ;D Oct 25 17:30:44 hi Oct 25 17:30:50 anyone has experience with ftp clients? Oct 25 17:31:08 and also with storing files which app makes? Oct 25 17:31:25 >_< Oct 25 17:31:28 jur: just ask your question. Oct 25 17:31:37 No, Android does not have a built in FTP client. Go find a library and use it. Oct 25 17:31:47 I am trying to seend file with appache ftp client Oct 25 17:31:56 but when I try it on my phone it crashes every time Oct 25 17:32:04 well why don't you see what makes it crash? Oct 25 17:32:09 it could be because of the wrong path for the file which i want to seend Oct 25 17:32:11 I tryed Oct 25 17:32:14 http://imgur.com/jacoj Oct 25 17:32:20 look at logcat. Read. Oct 25 17:32:23 I add a lot of cath brackets but I can't get it to catch Oct 25 17:32:34 jur: http://imgur.com/jacoj Oct 25 17:32:37 there is logcat on my phone? Oct 25 17:32:37 Look at the logcat output. Oct 25 17:32:39 It will, as will nearly any java crash, provide you wth a stack trace. Oct 25 17:32:48 yeah, look at logcat. logcat is loooog. Oct 25 17:32:53 is there any ETA when every DEV can comment on comments in the market :< Oct 25 17:32:55 xlinearx: no, longcat is long. Oct 25 17:33:04 (longcat is also an alias for adb logcat -v long ) Oct 25 17:33:13 dark3n: i wish, hopefully soon Oct 25 17:33:17 dark3n: for you, never. Oct 25 17:33:21 where can I find it? I know that there is one in eclispe but I don't know how to see it when I run app on my phone Oct 25 17:33:23 luv, sampullman i put that picture as a screenshot for an app for mine ;) Oct 25 17:33:29 lol, didn't realize adb longcat was a thing. Oct 25 17:33:33 reading some of those comments, makes me pull my hair out Oct 25 17:33:49 jur: I think you're confused. Connect your phone to your computer. Look at the logcat output in eclipse. Oct 25 17:33:52 Run your app. Watch it crash. Oct 25 17:33:56 See what the stacktrace is. Oct 25 17:34:00 if like 2000 users said something else, doesnt this one user think, he is wrong when he states something wrong? Oct 25 17:34:00 supercollider debugging Oct 25 17:34:01 alternately, hook up the debugger? Oct 25 17:34:07 let it smash into bits and see whats left Oct 25 17:34:20 there are 3rd party logcat apps like aLogcat, if you really need to go that route or need to look at the logs when you're not at the computer. Oct 25 17:34:25 dark3n: you're new to quasi-anonymous comments on the internet, aren't you. Oct 25 17:34:50 dragorn, i don't think those users are trolling... they are just well not looking with both eyes >_< Oct 25 17:35:06 ive been doing this for like 2 years and it still makes me rage lol Oct 25 17:35:10 dark3n: People are morons. The internet is full of people. Oct 25 17:35:23 ... doesnt this ... user think ... ? Oct 25 17:35:26 I think I found your problem. Oct 25 17:35:45 >:| Oct 25 17:36:15 hi all, repo issue. since the working copy could be a few commits back compared to the remote master, should i run "repo sync" before a "git commit"? thanks! Oct 25 17:36:46 those warez sites update faster than the market, lol Oct 25 17:37:05 hey JakeWharton, great work on your presentation on open source libraries Oct 25 17:37:14 heh, thanks Oct 25 17:37:33 i haven't seen your presentation but have a thanks too for ABS, JakeWharton Oct 25 17:37:39 you are welcome, sir Oct 25 17:37:41 or maddam Oct 25 17:37:46 sir will do Oct 25 17:37:47 ;) Oct 25 17:37:48 lorenx: wouldn't you just merge with the latest before committing? Oct 25 17:38:10 lov I can't have it connnected to computer, because I need to get outsiede because app uses GPS, it makes file out of GPS cordinates and then seends it to FTP Oct 25 17:38:22 use a laptop Oct 25 17:38:23 I can post a code, if anyone of you has time to check it out Oct 25 17:38:29 jur: so make a test file and send that? Oct 25 17:38:39 jur: when debugging, it's in your best interest to make your code... debuggable. Oct 25 17:38:51 dragorn will do that Oct 25 17:38:52 spend the 5 minutes to make a junk file and upload that, if you're debugging upload code. Oct 25 17:40:10 sampullman: i've not done anything yet. i'd just like to understand better first :) Oct 25 17:40:50 the solution to the problem I posted above was that the Twitter application registered on Twitter servers was not setup to receive callbacks while the Android app was using them Oct 25 17:40:51 lorenx: http://git-scm.com/book/en/Git-Branching-Basic-Branching-and-Merging Oct 25 17:41:05 you just set a callback URL in the Twitter application panel at Twitter Oct 25 17:42:03 sampullman: it's not a pure git question, it cocerns both git and repo together Oct 25 17:42:17 hi JakeWharton Oct 25 17:42:26 maybe you could anwser me a question Oct 25 17:42:35 mayhaps Oct 25 17:42:49 oh, heh. i parsed repo as repository. my bad Oct 25 17:43:10 sampullman: let's say i did "repo sync" yesterday and today i'd like to start a branch, make my changes, commit and repo upload... shoudl i do "repo sync" again first? Oct 25 17:43:35 sampullman: do you mean you cannot help me? :P Oct 25 17:43:54 unfortunately, yes Oct 25 17:44:08 but what you can do is backup your files and just give it a shot Oct 25 17:44:32 sampullman: ok, don't worry... i'll keep on searching Oct 25 17:45:50 lorenx: I would repo sync, yes, in order to make sure you have all the latest changes. Oct 25 17:45:57 ok, i think that I found the problem, it try's to seend the file while the files is still being created Oct 25 17:46:44 if a fragment is not visible (not selected in the ViewPager) Oct 25 17:47:24 JakeWharton: I can't set the scrollview of a fragment to the top Oct 25 17:47:35 fragments are part of the support library Oct 25 17:47:43 using the scrollTo, fulllScroll, smoothScroll, etc Oct 25 17:47:45 you needn't ask me directly Oct 25 17:47:58 yes I know but I like your work :D Oct 25 17:48:01 and I use it :D Oct 25 17:48:15 I actually sent you a patch for the TitlePageIndicator Oct 25 17:48:17 JakeWharton, due to abs, you just seem very much like THE fragments guru ;) Oct 25 17:48:22 to improve the scrolling Oct 25 17:48:48 to only calculate the bonds of 1-2 fragments on the left and right Oct 25 17:49:51 can anyone help me out how to wait until file is created? Oct 25 17:50:08 ah, yes Oct 25 17:50:11 I google but I found that you have to work with threads and I don't have any idea about that Oct 25 17:50:17 i haven't looked at that project for some time Oct 25 17:51:20 is it possible to make listview round trip. i mean when you reach the end of it you get first element and so on Oct 25 17:53:27 torniker: change the adapter to return count mod (list_size) Oct 25 17:53:57 ryanm: thanks for the answer man! ok Oct 25 17:54:17 ryanm: i agree with you, but i have another issue then... Oct 25 17:54:26 JakeWharton: it seriously improves the speed Oct 25 17:54:28 shreesh, so it not some default param, i need to make it myself? Oct 25 17:54:51 Epilog: i'll try to take a look in the next two or three weeks Oct 25 17:55:00 have a 21 hour flight to belgium coming up Oct 25 17:55:03 would be a good time Oct 25 17:55:15 JakeWharton: because if you have an adapter with 200 fragments it will ask the 200 titles like 4-6 times when scrolling Oct 25 17:55:17 ryanm: have you ever experience that the source tree is somehow misaligned compared to the out/ directory? Oct 25 17:55:18 in each onDraw Oct 25 17:55:20 anyways, what you were asking earlier sounds like a ScrollView limitation Oct 25 17:55:39 ryanm: do you also recompile everything after a "repo sync"? Oct 25 17:55:43 JakeWharton: it is a problem of the fragment not being attached? Oct 25 17:55:55 JakeWharton: it is a problem of the fragment not being visible I mean? Oct 25 17:56:10 probably, the ScrollView is not visible so it ignores any scroll commands you give it Oct 25 17:56:12 just speculating Oct 25 17:56:30 has nothing to do with fragments really, it's all the ScrollView Oct 25 17:56:38 I even tried creating a runnable variable and call it in the onStart Oct 25 17:56:43 no deal Oct 25 17:56:55 and one thing that should be really simple Oct 25 17:56:57 was not Oct 25 17:57:08 torniker: there is a stackoverflow solution: http://stackoverflow.com/a/4940073/118579 Oct 25 17:57:51 shreesh, thank you Oct 25 17:58:11 JakeWharton: btw, really like the ABS and VPI Oct 25 17:58:15 well done Oct 25 17:58:22 even the iosched uses it :D Oct 25 17:58:29 well i'm glad they are of use to you Oct 25 17:59:27 used by almost 1million users Oct 25 17:59:33 and it will grow Oct 25 18:00:32 maybe romainguy could anwser this Oct 25 18:00:35 :D Oct 25 18:04:56 Is there a place where I can ask questions for inability to see the Developer Distribution Agreement (http://play.google.com/about/developer-distribution-agreement.html) Oct 25 18:05:10 I am getting 404 for almost 4-5 days now Oct 25 18:05:51 JakeWharton: can i pm you? Oct 25 18:06:16 yes, but i'm extremely busy at the moment and probably won't respond for a bit Oct 25 18:06:21 np Oct 25 18:11:14 I am not a registered developer, so I am not able to use the contact form on support site Oct 25 18:13:13 hi all Oct 25 18:13:25 i have a strange issue Oct 25 18:13:46 the soft keyboard is popping up by itself whenever a certain fragment is added to the activity Oct 25 18:13:56 there are no focusable views on this fragment Oct 25 18:14:02 no edittexts, etc Oct 25 18:14:11 i can't figure out why its happening Oct 25 18:15:55 I mean a main activity that is a menu system, one the main activity is a search option which when presed launches a new activity that is a search bar on a new scree. When I try to serach in this activity instead of searching the search activity calls the prevous activity and never performs the search, I'm really confused on what would cause that, I don't pass any special options when I call the search activity Oct 25 18:15:55 just startActivity(intent) Oct 25 18:17:13 * I have Oct 25 18:17:14 is it possible to inflate a layout that contains fragments? Oct 25 18:17:28 DeviantPeer: yes, use the tag Oct 25 18:17:46 JakeWharton: thx. Oct 25 18:18:24 JakeWharton: the problem is "Binary XML file line #37: Error inflating class fragment", line 37 is where the fragment is. Oct 25 18:18:27 Hello. I have an activity with a tabhost where each tab is a fragment. How, from the activity, do I get the view of a widget (TextView lets say) within the fragment when I don't know if the tab it is on is visible or not? Oct 25 18:18:31 Or should I have a method in the fragment that updates the view and have the activity call that? Oct 25 18:19:23 (^-- reask of a question from this morning which no one answered.) Oct 25 18:19:24 DeviantPeer: are you using a FragmentActivity? Oct 25 18:19:41 ryanm: excuse me man, still there? :) Oct 25 18:20:05 JakeWharton: hum.. a class that extends anither class that extends the FragmentActivity. Oct 25 18:20:58 JakeWharton: convouluted design it seems... Oct 25 18:26:53 TrackedRoboSherlockFragmentActivity ........... Oct 25 18:26:55 it's alright Oct 25 18:29:22 booo robo Oct 25 18:32:03 dagger? Oct 25 18:32:19 dagger + annotations Oct 25 18:32:30 so androidannotations for view injection Oct 25 18:32:37 can somebody point me to a wireframe graphic of a "standard" android phone? Oct 25 18:32:38 was looking into it Oct 25 18:32:50 something like this, but higher res and..better http://www.maxkiesler.com/wp-content/uploads/2010/03/futureplatforms-android-wireframes1.jpg Oct 25 18:33:40 is there a list somewhere that states what languages require the 'zero' attribute for plural strings? Oct 25 18:33:46 sampullman: http://www.mediafire.com/?v3487eqm7yt9umx Oct 25 18:33:53 hi guys! I have an interesting question. I have to show messages from forum's thread. Messages contains html tags. What is better approach to show them: list of webviews per message, or one webview to rule them all (but i suppose it would be timeconsuming, to implement it =( ) Oct 25 18:34:16 has galaxy nexus, nexus 7, nexus s, and xoom Oct 25 18:35:09 When you submit a search in a searhBar, from what I unerstand a new Intent gets thrown which should call onNewIntent(Intent intent), would this be correct? Oct 25 18:35:44 doogan: that's pretty close to what i want (and i might be able to touch it up myself), but my goal is to have a nice background for displaying screenshots on a website Oct 25 18:36:07 there's something on the official design site for that Oct 25 18:36:12 Messages are comming as array of JSON objects Oct 25 18:36:35 any good articles on Test-Driven for Android? Oct 25 18:36:36 ok, ill check it out. Oct 25 18:36:49 plenty of iphone wireframes around :/ Oct 25 18:37:27 http://developer.android.com/distribute/promote/device-art.html Oct 25 18:38:03 im trying to load something from raw but i always get my catch called, this should work yeh? http://pastebin.com/8dRN9ak8 Oct 25 18:38:18 it wasn't working in ff for me btw Oct 25 18:39:38 gaz`: use getResources().openRawResource() Oct 25 18:40:44 Is it good idea to show forum messages in listview of webviews? Oct 25 18:41:22 JakeWharton: my fragment implementation was extending android.app.Fragment instead of android.support.v4.app.Fragment. That's why the inflation failed. Oct 25 18:41:23 prob not rootty Oct 25 18:41:49 codebutler im trying to get it into a file object tho Oct 25 18:42:35 gaz`, but how it better to implement? Oct 25 18:42:50 just use textviews or something Oct 25 18:44:15 gaz`, it contains different html tags, and TextView (as far as i know) have a limited support of them. Oct 25 18:44:59 gaz`, for ex.
    Oct 25 18:45:46 well it may well work, was just thinking it could be slow Oct 25 18:46:13 rootty: if you need a bigger subset of html tags then webview is what you should use. It's always a tradeof between speed and features. Oct 25 18:47:40 DeviantPeer, gaz` in one of Google IO presentations Romain said that in early versions of android, they used webviews to show messages ) Oct 25 18:48:33 damn, cant get something to load from assets or raw, into a file obj! Oct 25 18:49:57 rootty: ok. then ther's no question regarding the implementation. :) Oct 25 18:52:07 DeviantPeer, )) Oct 25 18:52:24 DeviantPeer, if you have any suggestions, you are welcome) Oct 25 18:56:31 how can I make my program pause until file is created? Oct 25 19:12:36 ~install Oct 25 19:13:49 hi All, is there a way for me to install only the emulator not the eclipse, java and plugins Oct 25 19:14:57 Hi, I want to load the View of a Fragment early, how can I force the Fragment to be created and onCreateView to be called, before it is actually added to the UI Oct 25 19:15:09 devish: nothing forces you to install eclipse or java, just install the sdk Oct 25 19:16:58 is there a way to run an android app as a "console app" Oct 25 19:17:19 I'm trying to parse xml and I don't need to deal with the slow ass emulator Oct 25 19:17:22 affter a while my app stops working normaly and logcat says this:inactive input connection Oct 25 19:17:28 I just want to write to console Oct 25 19:17:28 anyone has solution for this? Oct 25 19:17:46 RustyShackleford, run on real device? Oct 25 19:17:59 RustyShackleford: you can make the emulator faster. http://codebutler.com/2012/10/10/configuring-a-usable-android-emualtor/ Oct 25 19:18:29 Is it safe to call a ArrayAdapter's addAll() method from not-the-UI-thread? Oct 25 19:20:51 No Oct 25 19:21:38 anyone knows how to do this? My Fragmnet contains a WebView, I want to preload the content of the WebView, before its displayed. However it seem Fragments only start kicking into action if you add them to the UI Oct 25 19:22:11 codebutler: I have gone through that tutorial, it's great, thanks! Oct 25 19:22:19 doogan: thanks for that, i just ended up using the stencils on the design site Oct 25 19:22:55 Alternatively, is there a way that I can include the necessary .jars for XmlPullParser in a standard Java project? Oct 25 19:23:29 somebody know what arguments should i pass to "mmm" function print the g++ arguments ? Oct 25 19:23:48 unfortunately adding android.jar to the build path does not work... Oct 25 19:24:35 Is there a flag or setting that can block an app from loading certain options if a connection to the internet isn't estabilished Oct 25 19:25:06 you can check to see if you have an active network connection, and proceed based on that Oct 25 19:25:51 awesome, that sounds perfect, what is the method or setting to check? Oct 25 19:25:55 http://stackoverflow.com/questions/4086159/checking-internet-connection-on-android Oct 25 19:26:50 :-) thx Oct 25 19:28:05 how to start the emulator from sdk ? Oct 25 19:30:12 emulator -avd name -partition-size 512 Oct 25 19:31:35 http://tech.slashdot.org/story/12/10/25/1850241/android-will-surpass-windows-by-2016-say-gartner-stats Oct 25 19:31:46 predictions are always fun ;) Oct 25 19:31:53 man that was from a few days ago Oct 25 19:32:13 assuming it's the same article Oct 25 19:32:16 i used to love when execs would read those reports to us back in the day Oct 25 19:32:18 can't be arsed to click a slashdot link Oct 25 19:32:26 followed by " if we just had 1% of that market!! " Oct 25 19:32:35 nor do I want to feed your habit of posting offtopic links randomly Oct 25 19:32:56 why is an article about android market share off topic ? Oct 25 19:33:03 does it have to be about ABS to be on topic ? Oct 25 19:33:07 yes Oct 25 19:33:08 it does Oct 25 19:33:16 absolute bull shit Oct 25 19:33:17 :D Oct 25 19:33:17 What is more off-topic, a link about Android marketshare prediction, or a gripe about someone's supposed habit of posting off-topic links? Oct 25 19:33:39 or bitching about which is more offtopic Oct 25 19:33:44 Hodapp: neither Oct 25 19:33:46 I'd say the former is about 25% off-topic and the latter is about 100% off-topic. Oct 25 19:33:57 I'd say I give 0% fucks about it Oct 25 19:35:00 That's funny, because a minute or two ago you seemed to be giving a lot of fucks about what is on-topic. Oct 25 19:35:26 sorry, I should have been more clear. I give 0% fucks about what you think Oct 25 19:35:52 and now you've derailed the whole channel Oct 25 19:35:55 quick, someone ask a typical question Oct 25 19:36:06 "How do I serialize an Activity in a Bundle to pass to my nested fragments?!?!?!" Oct 25 19:36:21 how do I change the color on a textview? Oct 25 19:36:41 How can I replace the home button so nobody can quit my app? Oct 25 19:36:48 How do I Android? Oct 25 19:37:02 Can I Android on iPhone?!?! Oct 25 19:37:11 uhm, how can I start new activity? Oct 25 19:37:18 how to change app icon? Oct 25 19:37:21 theTerry: great to hear Oct 25 19:37:35 were those too general questions? :D Oct 25 19:37:48 why doesn't abs do more of my work for me? Oct 25 19:37:57 the answer to all of those is 42 Oct 25 19:38:01 you guys have to ask harder questions Oct 25 19:38:50 why Android development is so hard ? Oct 25 19:38:59 and painful Oct 25 19:38:59 it is only hard in your mind. Oct 25 19:39:18 because most of the api is an afterthought, imho Oct 25 19:39:38 wtf was google was thniking when they invented Activities and Fragments ? Oct 25 19:40:10 when i run this code (https://gist.github.com/8e1c850c6e9c05a5bebc) in my main activity, i get a null pointer exception upon calling setText. why? Oct 25 19:40:12 don't go dissin fragments Oct 25 19:40:23 bubbleguuum: efficiency and reusability? Oct 25 19:40:39 bubbleguuum: "invented"? Oct 25 19:40:41 take this conversation to #android-complaints Oct 25 19:41:00 is that for real? Oct 25 19:41:02 of #android-offtopic Oct 25 19:41:06 *or Oct 25 19:41:19 I thought this was android-offtopic Oct 25 19:43:14 does anyone have any ideas? Oct 25 19:44:44 theTerry: all in all, I've found Android's APIs fairly clean compared to a lot of what I've coded in. Oct 25 19:45:02 whomp_: just for setText or when tSw is referenced? Oct 25 19:45:42 whomp_: arent you supposed to set the text on the child text widgets ? Oct 25 19:47:03 how do you guys test for all the different devices ? I tested my app on 4 devices, worked fine, now my buddy says it crashes on open on his android Oct 25 19:47:22 Hodapp: don't get me wrong I am not a hater. My comment really stems from trying to animate views Oct 25 19:47:46 drumer306: install acra so you get a crash report from it. Oct 25 19:47:56 k thanks Oct 25 19:48:13 there are a few good bug reporting systems Oct 25 19:48:51 BugSense and Crittercism are others if you need them Oct 25 19:49:16 and AppThwack if you need /that/ kind of testing Oct 25 19:49:44 g00s: so the writing is on the wall but you still want to jump ship to windows 8 Oct 25 19:49:54 acra integrates very simply w/ bugsense Oct 25 19:50:47 oh look, the top article on hn: windows 8 arrives Oct 25 19:51:11 tdignan: i'm not emotionally attached to any technology; i prefer open source but will use whatever solves my problem the best way, takig into account developer experience, ROI, and elegance of solution. Oct 25 19:51:39 most of us are geeks and like to play with new things :) Oct 25 19:51:58 i'm about to buy a windoze 8 lappy and install linux on it. tomorrow. Oct 25 19:52:19 if i can. otherwise, 30 day return policy, it goes back to the shop the next day. Oct 25 19:52:38 i do want to get a surface. i got to play with the RT one, i loved it Oct 25 19:53:30 enough to make me want to ditch my apple shit Oct 25 19:53:39 what do you have to write in, to develop on windoze 8? c#? Oct 25 19:54:04 http://google.com Oct 25 19:54:45 JakeWharton: Wrong window. Oct 25 19:54:51 it wasn't Oct 25 19:55:18 no, i think he's saying go google it. i'm saying, i don't care enough about msft shit to bother. it was just an idle question. Oct 25 19:55:32 So here's a question, my app is targeted at 4.0+ i think, but it still installs on 2.0 devices... how do I check for that , i would figure it wouldnt let it install Oct 25 19:55:48 muhoo: I know what he's saying. Oct 25 19:55:56 drumer306: set your minSdkVersion, lint will complain when you use too-new APIs Oct 25 19:55:56 drumer306: you have to look at minSdk Oct 25 19:56:27 ok, will do, so the minSdk will prevent anyone with an older API form installing ? or just warn them ? Oct 25 19:56:39 g00s, i tried setText on the child views, and it didn't animate it Oct 25 19:58:25 drumer306: it will prevent it Oct 25 19:58:51 okay cool thanks Oct 25 19:58:54 will try that out Oct 25 19:58:59 oh wait Oct 25 19:59:03 is that for development too ? Oct 25 19:59:19 i was sending out my .apk file to a friend to test Oct 25 19:59:38 its for both. you just change your manifest and leave it Oct 25 19:59:44 okay cool thanks guys Oct 25 20:09:00 I'm not quite sure what a database means. Obviously it stores data, but what kind? Oct 25 20:09:13 structured data Oct 25 20:09:21 can I persistently store Objects in a SQLite database? Oct 25 20:09:40 for something like that, you may want db4o Oct 25 20:09:45 RustyShackleford: technically yes, question is will it make a good idea Oct 25 20:09:55 g00s: db4o has licensing troubles ;) Oct 25 20:10:03 p_l: beats me Oct 25 20:10:08 i have no idea what I'm doing Oct 25 20:10:16 p_l: does it? shit it was free a while back even for commercial apps Oct 25 20:10:28 the problem was always using it under a content provider Oct 25 20:11:50 I have a .csv file that contains data about train stations. I want to parse this file and store this data in some way so that it's not necessary to parse this file each time the app is started Oct 25 20:12:50 I don't know what the right tools for the job are Oct 25 20:13:24 g00s: afaik it's free but with some licensing woes for closed-source stuff Oct 25 20:13:38 g00s: been some time since I checked it, and I used it on C# side Oct 25 20:13:39 Rusty: i think you're stuck either parsing it every time or loading it into sqlite Oct 25 20:13:59 p_l: yeah, but the android port specifically had different licensing Oct 25 20:14:13 oh well Oct 25 20:14:42 sampullman: loading into sqlite in what form? Oct 25 20:14:48 RustyShackleford: few other ways available as well - you can transform the data into something easier to digest by the application, for example CDB (shouldn't be hard to get it compiled into your app, and it's pretty fast) Oct 25 20:15:00 yeah, i was gonna say xml or json Oct 25 20:15:15 sampullman: xml and json are heavier than csv, bad idea Oct 25 20:15:31 RustyShackleford: it should be cake to import CSV into sqlite. Oct 25 20:15:43 RustyShackleford: well, depends how you want it organized Oct 25 20:16:39 json is heavier, but easy and extendable.. Oct 25 20:16:48 sampullman: and might make zero sense to use Oct 25 20:16:53 just parsing the csv every time should be fairly fast and easy, though Oct 25 20:16:53 for tabular data csv is fine Oct 25 20:17:28 p_l: i'm just putting options on the table, it *could* make sense Oct 25 20:17:42 each entry has about 15 attributes associated with it Oct 25 20:17:47 RustyShackleford: CDB is fine if you have single "primary key" you use for querying the data (though a bit of fun with keying can let you query on more than one id) Oct 25 20:18:01 (think of CDB as on-disk, read-only hashtable) Oct 25 20:18:09 p_l: what is CDB ? Oct 25 20:18:09 i probably need to query more than 1 id Oct 25 20:18:53 each stop has a stop_id (this describes direction of the train as well), then a parent_id Oct 25 20:19:05 i'd like to be able to lookup both Oct 25 20:19:07 g00s: you know unix dbm (aka berkeley db2 etc.)? Oct 25 20:19:23 berkeley … sleepycat … yeah Oct 25 20:19:39 when i see cdb i think columnar data base Oct 25 20:19:56 g00s: cdb is basically a read only hash-based db Oct 25 20:20:16 ah ok. sounds like jdbm2/3/4 Oct 25 20:20:24 which work great on android btw Oct 25 20:20:26 except small, fast etc. :) Oct 25 20:20:36 yeah , jdbm jar is like 134k Oct 25 20:21:46 RustyShackleford: when you said you had a parent_id, i was thinking your data model is hierarchical Oct 25 20:21:58 thats when things get trickier in sql Oct 25 20:24:58 Do View Animations (like rotating a view) also work on Menu Icons? I would like to have an icon in the ActionBar rotate while an AsyncTask is working... Oct 25 20:25:02 I think I'd rather just store this as objects Oct 25 20:25:14 g00s: 134k... that's more than all cdb cli utilities on my system *together*, and they have cdb statically linked Oct 25 20:25:20 I have too much on my plate to learn at the moment Oct 25 20:25:48 p_l: its a java jar file :| Oct 25 20:26:14 opinion: should I try to organize the data/backend of an app first? or is it best to start with the user interface? Oct 25 20:26:18 g00s: imagine how much i is after compilation ^_- Oct 25 20:26:28 ABS adds about 1MB of size and all it is is a fucking rectangle with buttons on it Oct 25 20:26:57 RustyShackleford: First think what you need to *do*. Then design the data of it. The "core logic" will be derived from data Oct 25 20:28:33 RustyShackleford: how many 'entries' will you have ? Oct 25 20:28:56 i dont get the whole AB/ABS thing. its pretty easy to make an xml menu/panel and include it in every xml layout Oct 25 20:29:56 RustyShackleford: start with the UX first Oct 25 20:30:20 this is hard, because when thinking about UX/usability, you need to NOT think like a programmer Oct 25 20:30:45 think about needs, not solutions Oct 25 20:31:12 do some lightweight prototyping, on paper, get everyone involved all the time, get feedback, and then worry about your schemas :) Oct 25 20:31:43 it's not unreasonable to refractor your ux in trivial ways if it makes the code easier though Oct 25 20:32:14 i agree. sometimes , a good UX means some really terrible technical solution. there are tradeoffs Oct 25 20:32:26 there is a cost to UX too Oct 25 20:33:11 g00s: about 150 parent stops Oct 25 20:33:20 7 different train lines Oct 25 20:33:23 well, a good code can easily separate UI and logic Oct 25 20:33:28 hell, Android is pretty heavy into that Oct 25 20:34:23 xml layouts beat the hell out of swing Oct 25 20:35:11 if I want to extend this to track busses as well, I have 6000 parent stops Oct 25 20:35:21 each with two stop_id's Oct 25 20:35:28 fuck thats alot of data Oct 25 20:35:43 i like to obfuscate things, so people can't reverse the steps Oct 25 20:36:00 make views half in code, false trails, extra files Oct 25 20:36:16 whomp_: good way to never get a contract ;) Oct 25 20:36:34 but who can maintain it besides me, either Oct 25 20:36:55 got em by the balls Oct 25 20:37:02 whomp_: and you'll get lost 6 months later Oct 25 20:37:51 we'll see? hit me up for any projects Oct 25 20:38:30 whomp_: that's just like every other contractor's code I've seen :) Oct 25 20:39:02 XD Oct 25 20:40:09 whomp_: In the future, we'll have a profession titled "Software Archaelogist". Mark my words... Oct 25 20:40:19 xlinearx: we already have Oct 25 20:40:24 p_l: any suggestions for a graph db that works with android ? Oct 25 20:40:38 i guess neo4j isnt good Oct 25 20:41:09 well, isn't meant to work in android yet Oct 25 20:41:53 if i have the path right then r.exists() should return true right? romPath="file:///android_asset/rom"; File r = new File(romPath); Oct 25 20:42:16 but it doesnt... Oct 25 20:46:00 g00s, can't you just get neo4j data from a web service? Oct 25 20:46:22 whomp_: hm Oct 25 20:46:42 right now i just run GET requests to a server Oct 25 20:47:44 whomp_: using neo4j on the server? are you recreating the graph in memory from what you get from the web service ? Oct 25 20:48:50 yeah Oct 25 20:48:58 i see Oct 25 20:49:02 i serve the results in JSON and then use a library to parse it Oct 25 20:49:26 either that, or android's c2dm, but i don't know what it's capable of Oct 25 20:49:27 might not be best option Oct 25 20:49:44 depends on how much flexibility/speed you ned Oct 25 20:50:18 gtg Oct 25 20:59:04 why does the first element of my GridView call GetView a bazillion times when I scroll Oct 25 21:01:18 theTerry: maybe there is a line in GridView : 'for (i=0; i look for that Oct 25 21:02:51 that is literally what it seems like it is doing :) Oct 25 21:04:08 android.content.res.Resources$NotFoundException: File Axis Type from drawable resource ID #0x7f070029: .xml extension required Oct 25 21:04:11 wtf does that mean Oct 25 21:06:15 .xml is required is what I am thinking Oct 25 21:06:44 but I am not an expert Oct 25 21:07:14 nevermind, seems to be a custom attribute we have Oct 25 21:08:52 meh, needed a clean Oct 25 21:11:38 if my app has an armeabi filter, what phones am i excluding? Oct 25 21:11:44 is there a list somewhere? Oct 25 21:12:02 im not sure if i should compile my ndk stuff for x86 or mips Oct 25 21:13:40 adb command to get into recovery mode? just tried "dab -d reboot recovery" to no avail. Oct 25 21:15:05 olá Oct 25 21:15:46 so I made a ListActivity, in the on create, i make a request to some RSSFeed and get all records Oct 25 21:16:02 how can i display them in the list activity? (yes, I am a newbee) Oct 25 21:16:18 like, I want a list view to display all the records Oct 25 21:16:21 some kind of adapter id guess Oct 25 21:16:30 for the records I created a RecordBean wish a couple of fields Oct 25 21:16:40 ArrayAdapter i think Oct 25 21:16:45 but where to do all this Oct 25 21:17:46 this might have something http://stackoverflow.com/questions/6093975/how-to-build-a-rss-reader-for-android Oct 25 21:18:06 sorry havn't used rss before Oct 25 21:18:13 ahh nice yes maybe the display code, thanks! Oct 25 21:18:16 no worries, thanks Oct 25 21:18:30 I already coded this for iOS, new to android, but it doesn't seam to be too crazy Oct 25 21:22:36 hello Oct 25 21:24:39 * pfn kicks hierarchyviewer and viewserver Oct 25 21:24:42 now it's not getting it anymore Oct 25 21:27:35 oh, I stashed my viewserver changes Oct 25 21:54:37 man, the nexus 10 looks very … bubular Oct 25 21:54:41 :/ Oct 25 21:55:06 what will the size be? Oct 25 21:55:11 i have a nexus 7 Oct 25 21:55:11 someones knows how to programmaly set a view to touch mode (so view.isTouchMode() returns true). Normally a view is set to touch mode on D-PAD key presses Oct 25 21:55:18 ubert_mac: 10 :) Oct 25 21:55:27 gotcha, so like the iPad hehe kinda Oct 25 21:55:37 Google going after iPad, AAPL after nexus hahaha Oct 25 21:56:02 Apple has a Patent on 10 inch rectangles Oct 25 21:56:08 theTerry: hehe Oct 25 21:56:38 ubert_mac: i dunno. i see the n7 as a refocus and retreat in the tablets at that time; the 10" … i guess you need something better for watching movies Oct 25 21:56:56 yah why i don't get the iPad mini, people want bigger tablets Oct 25 21:57:05 Im not people though hehe Oct 25 21:57:11 7" 16:9 is excellent for pocketable Oct 25 21:57:20 that was interesting, another instance of when apple followed somebody else Oct 25 21:57:26 yeah agree, I can have my nexus 7 in my jeans pocket when i ride my Vespa Oct 25 21:57:35 but, I dont Oct 25 21:57:41 cause I think tablets and smartphones suck hahahahahaha Oct 25 21:57:56 i made a bunch of iPhone games Oct 25 21:58:04 hey maybe one of you experienced guys could help me port them to android Oct 25 21:58:09 Words Wit? Tieles Oct 25 21:58:11 Tiles Oct 25 21:58:18 on iOS, most successful so far i guess Oct 25 21:59:23 i think google is more going after amazon Oct 25 22:06:49 10" tablets need a clothing revolution Oct 25 22:06:53 https://www.youtube.com/watch?v=UkF9F0qIE5o&feature=youtube_gdata_player Oct 25 22:24:00 When a device is powered off, are app services properly destroyed (call to onDestroy()) ? Is there any document explaining how powering off the device affect app lifecycle ? Oct 25 22:31:33 bubbleguuum: you may get an on-pause. Maybe. Oct 25 22:32:04 bubbleguuum: in a perfect world you'd get an onstop, but don't bet on it Oct 25 22:32:12 and services get something ? Oct 25 22:32:24 on a power off? I wouldn't count on it Oct 25 22:32:55 ok I've found broadcast intent ACTION_SHUTDOWN so there is hope for a clean app shutdown Oct 25 22:33:20 bubbleguuum: i think you are going about it wrong Oct 25 22:33:24 but I can't believe default behaviour is unclean app killing... Oct 25 22:33:31 its not Oct 25 22:33:35 docs ? Oct 25 22:33:52 where in the docs does it say that the app is killed when the power goes off ? Oct 25 22:34:06 the cpu simply stops ticking Oct 25 22:34:11 where in the docs does it tells something about what happens on power off ? Oct 25 22:34:15 and subsystems are powered down or go into a low power state Oct 25 22:34:30 bubbleguuum: this isn't a desktop. prtend it doest happen Oct 25 22:34:42 and rebooting a phone doesn't exists either ? Oct 25 22:35:10 I mean power off not sleep Oct 25 22:35:27 well, thats a controlled shutdown, yeah your process may get killed Oct 25 22:35:35 but your process may get killed for any reason Oct 25 22:35:44 well, not *any* Oct 25 22:36:07 if you have a service that absolutely needs to do something , then put it in fg with cpu wakelock Oct 25 22:36:18 I care about cleanly shutting down my app on device power off, which is possible with intent ACTION_SHUTDOWN Oct 25 22:36:54 you're aware that the phone can turn off at any point w/out getting a power off event, right? Oct 25 22:37:07 and your service can be killed at any point w/ no shutdown warning Oct 25 22:37:16 You'd better plan to not have data in a corrupt state while it's running Oct 25 22:37:18 yup but that's not my problem if it does Oct 25 22:37:36 bubbleguuum: So if you have to handle shutting down without an ACTION_SHUTDOWN... Why handle it at all? Oct 25 22:37:47 it's not corrupted data its annoucing onthe network that something doesn't exists anymore Oct 25 22:38:03 I would NOT count on having networking by the time you get a shutdown Oct 25 22:38:04 zeroconf? Oct 25 22:38:14 not zeroconf but similar Oct 25 22:38:26 indeed, networking may be down by then Oct 25 22:38:31 hhhhm ok Oct 25 22:38:54 that behaviour is silly. It's like shutting down your PC unplugging the power cable Oct 25 22:39:19 it's a battery powered device Oct 25 22:39:21 that happens all the time Oct 25 22:39:45 that's not a reson to not cleanly shutdown apps Oct 25 22:39:49 bubbleguuum: And networking is *also* killed by the time Windows sends the shutdown notification, and you also get exactly 2 wall-seconds to handle it. Oct 25 22:39:58 bubbleguuum: It's the primary reason. Oct 25 22:40:18 bubbleguuum: Cleanly shutting down apps takes time, and processor, and possibly network and other resources. These drain battery. Oct 25 22:40:19 maybe in magic land where you can tell the battery "no, don't run out of power right now" Oct 25 22:40:40 bubbleguuum: THe primary reason to shutdown a battery powered device is that there's no longer a safe amount of usable battery. Oct 25 22:41:10 User ca power off their device at anytime Oct 25 22:41:16 I know I do Oct 25 22:41:28 Sure. So why should that be different? Oct 25 22:41:32 why is this even a debate? Handle action shutdown if it makes you happy. Oct 25 22:41:33 from what ive heard, the only thing the SDK promisses is onStop() in the activity Oct 25 22:41:38 anything else, is optional Oct 25 22:41:39 Then you'd have a "shutdown" and an "emergency shutdown". Oct 25 22:41:44 I don't think it will do you much good, but have fun doing it Oct 25 22:42:01 Since every application already has to handle the second, the first is redundant. Oct 25 22:42:09 I'll try the intent method. We'll see if that works. Since this intent exists it must be useful to someone Oct 25 22:42:16 ..Debuggers, mostly. Oct 25 22:42:30 that's an assumption not necessarily valid on android, but... :P Oct 25 22:42:56 I'm still puzzled a shutdown doesn't call onDestroy() on services... Oct 25 22:43:16 bubbleguuum: They're terminated. There's no service left to call anything on. Oct 25 22:43:19 bubbleguuum: i think thats only called when the service is stopping normaly Oct 25 22:43:20 bubbleguuum: you can never be guaranteed onDestroy() is called on a service Oct 25 22:43:33 in any event :) Oct 25 22:43:43 well, if you stop it yourself it will be called Oct 25 22:43:47 sure Oct 25 22:43:51 but if the process is killed it won't Oct 25 22:44:06 the system could call it, yet it doesn't Oct 25 22:44:23 yeah, i wish it did. give you time to close file handles and stuff Oct 25 22:44:27 flush streams, etc Oct 25 22:44:42 exactly, Oct 25 22:45:09 When the OS kills a process on a same system, linux-based ones included, all file handles belonging to the process are treated as closed. Oct 25 22:45:09 hey, if i want to implement a preferences screen, do i have to use PreferenceFragment? will it be compatible with pre-8 versions of android? Oct 25 22:45:19 Escherial: With the compatability library. Oct 25 22:45:43 freeone3000: so does a sync/flush happen ? Oct 25 22:45:46 Escherial: if it's in the compat library it should work. You can also use preferenceactivity still if you like Oct 25 22:46:14 any thoughts about this code? http://pastebin.com/jL3pF8fL primarily I had the Mediaplayer instance to be initialized everytime and not in this reusable kind of way. What this app does is shuffle through the sound files present in R and I'm looking into making it a library Oct 25 22:46:18 g00s: depends on if the buffer is user or kernel side Oct 25 22:46:26 looking for improvements Oct 25 22:46:35 g00s: any buffers internal to java will probly get lost, but kernel side buffers probly get flushed properly Oct 25 22:46:45 hmm Oct 25 22:47:34 freeone3000, dragorn: PreferenceFragment doesn't appear to be in the compatibility library, unfortunately Oct 25 22:47:46 suppose i'll go with PreferenceActivity and ignore the deprecated warnings Oct 25 22:48:07 Escherial: i think their may be a preference fragment in the cwac library Oct 25 22:48:44 out of curiosity, what do i gain by using a fragment? i have two options in my app, and i'm not planning on selling this thing or anything Oct 25 22:48:58 is it worth it to jump through the considerable hoops required just to use a fragment in this case? Oct 25 22:49:01 Escherial: It's a re-usable component. Oct 25 22:49:02 more forward compatibility, maybe? Oct 25 22:49:13 PreferenceActivity works fine for me Oct 25 22:49:36 freeone3000: but what's the point of using a fragment when the contents are obviously not going to be reused? Oct 25 22:50:12 i dont think its worth the hoops Oct 25 22:50:48 but thats just me; where google has dropped the ball and not made backwards compatibility easy i blow it off Oct 25 22:52:18 I'm attempting to do client-side caching of some remote data. This is a feature a third of the potential users desire. The data is orgnanized geographically. Oct 25 22:53:01 How much data do I need to get, and when do I know when to invalidate by distance? If they've requested a 50 mile radius, how many miles "lee-way" should I give without forcing a refresh? Oct 25 22:53:07 can I assemble an SQLite database at compile time from a csv file? Oct 25 22:53:52 of course it's going to be at compile time Oct 25 22:57:28 RustyShackleford: here's a method of filling up the sql database beforehand and including it as an asset: Oct 25 22:57:29 http://www.reigndesign.com/blog/using-your-own-sqlite-database-in-android-applications/ Oct 25 22:58:02 there are drawbacks, but the method works Oct 25 22:59:49 the data is not likely to change Oct 25 22:59:50 g00s: creating an intent receiver on Intent.ACTION_SHUTDOWN and android.intent.action.QUICKBOOT_POWEROFF and just calling stopService() works perfectly. Oct 25 23:00:06 so I think it might make sense to do it this way Oct 25 23:01:15 sampullman: only drawback i can see would be upgrading, it wont replace the /data/ db with the asset Oct 25 23:02:05 clever: you can modify the code to have it do that pretty easily Oct 25 23:02:15 or perhaps I can create the database on first run of the app Oct 25 23:02:16 i do it in one of my apps Oct 25 23:02:28 sampullman: complicated by wether you want to keep config thats already in the /data/ file Oct 25 23:02:30 just so long as I don't have to do it every time the app starts up Oct 25 23:03:04 true, it does complicate updating the database. it's really best for a db that either never changes, or it's ok to replace the whole thing when it does Oct 25 23:03:11 config stuff should be kept elsewhere Oct 25 23:03:30 yeah, shared preference or maybe a second sqlite db Oct 25 23:03:42 i keep a second one Oct 25 23:03:57 it's actually fairly annoying that you have to do this to have a pre-loaded db Oct 25 23:04:28 i dont see why you cant bypass the sqliteopenhelper and open the asset directly, read-only Oct 25 23:04:49 but i guess it depends on how the assets are stored Oct 25 23:05:08 for firefox extensions, theres 2 modes, either keep the whole thing in a zip, or extract it at install time Oct 25 23:05:10 i needed to write to the db, read only might be possible Oct 25 23:05:42 does android keep the apk's zipped after install? Oct 25 23:05:54 not sure Oct 25 23:07:22 clever: "Sometimes". Oct 25 23:07:53 freeone3000: what are the conditions? Oct 25 23:07:55 Analyzed a heap dump of mine, since my app uses over 10 megs of memory. Turns out it's all the UI stuff. Edittext,spinner,textviews Oct 25 23:08:21 How do I optimize it? Oct 25 23:09:17 clever: The phone. I only have anecdotal evidence, since it doens't seem to be documented, but my phone keeps them and my friend's doesn't. Oct 25 23:09:30 diki: Don't keep around views after you stop using them? Oct 25 23:09:31 freeone3000: ah Oct 25 23:09:44 freeone3000:But I always use them. Oct 25 23:09:51 freeone3000: for firefox, its a config entry in the main manifest file, and it depends primarily on how you want to access the files Oct 25 23:10:03 if you have any dll files, you must set it to be unpacked Oct 25 23:10:05 I've got a shared HttpClient (with thread safe connection manager) that makes a few Http requests, then starts timing out requests Oct 25 23:10:09 because the os cant read dll's from a zip Oct 25 23:10:13 can i set nice level of a process in android? (i have root shell) Oct 25 23:10:31 clever: There's no such requirements for android. JNI SOs can be read from the APK just fine. Oct 25 23:10:34 freeone3000: but much like android assets, the libs can read it from the zip if needed Oct 25 23:10:49 clever: Basically: Package properly, your app will work, just don't count on paths. Oct 25 23:10:50 freeone3000: yeah, thats a benefit of having the dyn lib loader customized Oct 25 23:11:04 but the sqlite lib probly hasnt been modified to handle that Oct 25 23:11:11 so you need to copy it out Oct 25 23:15:18 I'd like my ImageView to be square, using maximum available width/height. How do I do that? Oct 25 23:19:15 Should my database be its own service, if I want the android system to manage its lifecycle? Oct 25 23:24:16 is calling the activity that hosts all the fragments that make up my app "MainActivity" considered bad form? Oct 25 23:24:41 er, on that note, is that the way it works? do i have all the fragments that i want to use the lefthand action bar dropdown to switch between in the layout of a single "main" activity? Oct 25 23:24:53 (here's hoping that makes sense) Oct 25 23:27:03 That's how it works if you only want one activity, yes. Oct 25 23:27:20 You can still have multiple activities, all of which have multiple fragments. Or have one fragment. Or have one fragment and additional views. Oct 25 23:27:55 can someone hook me up with a good SQLite tutorial for android Oct 25 23:28:22 RustyShackleford: there are many, but there is also an apress book if you want to go that route Oct 25 23:28:30 almost any android book will talk about sqlite Oct 25 23:28:49 i'm new to databases as well Oct 25 23:29:36 http://www.amazon.com/Android-Database-Programming-Jason-Wei/dp/1849518122 Oct 25 23:29:44 didnt get such good reviews, huh Oct 25 23:30:08 well, then … i guess i would recommend reading Reto's book if you are new to android Oct 25 23:30:17 it will have enough about sqlite Oct 25 23:32:11 RustyShackleford: but if i recall the earlier conversation, you have a data structure that resembles a graph. if that is correct, sql db isnt the right thing probably Oct 25 23:32:49 i think I can avoid such a structure Oct 25 23:33:19 although I'm not sure this sql db is what I need Oct 25 23:33:29 can I search by any column? Oct 25 23:33:47 RustyShackleford: Of course. Oct 25 23:34:27 then I think I can do this using two databases Oct 25 23:38:47 interesting; the only place where a 'back' caret appears on my icon is on my home screen... Oct 25 23:38:53 (er, in the action bar, that is) Oct 25 23:39:37 g00s: for clean shutdown on poweroff, creating an intent receiver on Intent.ACTION_SHUTDOWN and just calling stopService() works perfectly (with network still available and all) Oct 25 23:39:58 bubbleguuum: what if your battery just dies or something ? Oct 25 23:40:16 man Oct 25 23:40:18 if batteries just die or phone explode it is not my problem :p Oct 25 23:40:33 finally got a remotely stable version of android built Oct 25 23:40:40 lesson of the day Oct 25 23:40:57 android head is VERY actively being committed to, and should be taken as very likely to be unstable Oct 25 23:42:16 ron_frown: wouldnt you expect that in almost any healthy open source project :P Oct 25 23:42:32 i'd be more worried if nobody was committing XD Oct 25 23:42:41 I agree Oct 25 23:43:28 I was just told head is the only way I'm gonna be able to build for one of my pandas Oct 25 23:43:47 i heard humans used to eat pandas a long time ago Oct 25 23:43:50 but head has LOADS of bugs in bionic and shit Oct 25 23:44:56 I guess that makes sense... so I just went to 4.1.2, major surgery to get all the drivers lined up, and the platform support correct Oct 25 23:44:58 and bam Oct 25 23:45:01 stable as a rock Oct 25 23:46:44 when I subclass SQLiteOpenHelper, can I created multiple instances of this class? Oct 25 23:46:57 or rather, use this class to make multiple databases? Oct 25 23:47:24 RustyShackleford: see the iosched code for an example Oct 25 23:47:42 i think they have it set up as a singleton, you should probably do the same Oct 25 23:48:18 it does use a multi-table ContentProvider Oct 25 23:50:18 is there a method on intent to find the *originating* component? ie, what app sent me the intent? Oct 25 23:50:34 er, is there a particular ViewGroup that i should be using if i want to allow the user to switch between multiple fragments via the tab bar? Oct 25 23:50:44 the docs just say a ViewGroup, but there are quite a few of them... Oct 25 23:50:46 Escherial: ViewPager Oct 25 23:50:50 ah, thanks :) Oct 25 23:51:08 g00s: so if I want two databases, I need to subclass SQLiteOpenHelper twice? Oct 25 23:51:39 yeah, but why would you need 2 databases? i think you should read about this from a high level and get a better understanding Oct 25 23:52:21 tophyr: "s there a method on intent...": no, unless that app added an extra to tell who it is Oct 25 23:52:34 "SINGLETONS HAVE NO PLACE IN JAVA LAND" Oct 25 23:52:48 blargh.getInstance() Oct 25 23:52:52 we use FactoryFactories instead ! Oct 25 23:53:03 g00s wait you are saying there may be able ot save objects into multiple diff containers Oct 25 23:53:06 like tables or something?! Oct 25 23:53:13 lol Oct 25 23:53:22 waaat Oct 25 23:53:27 waat indeed Oct 25 23:53:44 sarcasm gentleman Oct 25 23:53:45 sarcasm Oct 25 23:53:46 RustyShackleford: also, what for do you need multiple databases? Oct 25 23:53:58 ron_frown: and fine one at that Oct 25 23:54:05 heh Oct 25 23:54:32 g00s that is the java way Oct 25 23:54:38 (well outside of android anyway) Oct 25 23:54:47 pft i was going 3rd level obv Oct 25 23:54:49 everything I've encountered outside of android was way over engineered Oct 25 23:55:24 ron_frown: I strongly suspect the "Software Factories" craze to be greatly responsible in causing that Oct 25 23:55:45 doesn't help that TopCoder still does that Oct 25 23:55:54 with added horribleness of UML Oct 25 23:55:59 i thought the software factories thing really came from the component frameworks at the time like com / corba Oct 25 23:56:11 p_l: I have two csv files. One that is a list of routes and one that is a list of stops Oct 25 23:56:40 g00s: now replace corba/com with "let's get a jar" ;) Oct 25 23:56:48 how would you go about declaring an id that you don't actually use in a layout? Oct 25 23:56:55 both have quite a bit of information. I think it would make sense to store it persistently somehow Oct 25 23:57:00 Android API looks like it was engineered by C programmers. GWT APis looks like it was engineered by actual java programmers. Oct 25 23:57:02 p_l: i guess maybe osgi or something? i dunno Oct 25 23:57:03 (i mean, it gets used in my code, but not in a layout xml) Oct 25 23:57:05 RustyShackleford: just load them into the same database, then you can enjoy the benefits of single query checking both Oct 25 23:57:05 p_l - you know its not that the idae of factories is conceptually a bad one Oct 25 23:57:14 ron_frown: I know Oct 25 23:57:19 its just that everything shouldnt need a god damn factory Oct 25 23:57:33 Escherial: values/ Oct 25 23:57:34 ron_frown: "Software Factory" != Factory Pattern Oct 25 23:57:36 we need sweatshops too Oct 25 23:57:37 I could see the progression from factories to IOC, and I like IOC Oct 25 23:57:52 but evne that people get way too nazi over Oct 25 23:58:32 FactoryPattern is just one of the ways to construct objects (when done right) Oct 25 23:59:26 tophyr: thanks again; i'm a bit new at the android stuff :| i'm guessing it's an inside of a top-level tag Oct 25 23:59:32 "Software Factories" is overengineered libraries coupled with RAD and less not enough thought Oct 26 00:00:06 while using languages that are lacking in good abstractions Oct 26 00:00:46 p_l: there will be 20+ columns Oct 26 00:00:55 will that become a problem? Oct 26 00:01:43 RustyShackleford: I'd recommend transforming the data, but since I don't know the exact stuff you want to put in, I can't tell you exactly how Oct 26 00:02:05 (that's called "normalization" of relational database, btw, into "normal forms") Oct 26 00:04:12 give an example of transforming data? Oct 26 00:04:28 I can probably omit some of this data, but I'm not sure what yet Oct 26 00:05:16 that's a reason to start from the UI and go backwards Oct 26 00:05:20 especailly if you're just starting Oct 26 00:05:29 go w/ the absolute minimum data you need to build your UI Oct 26 00:05:41 you can always add more functionality / info Oct 26 00:08:52 I'm using ORMLite. How do I get it to persist android-internal classes, like Address? Oct 26 00:11:06 freeone3000: you build a wrapper class that knows how to do so Oct 26 00:11:35 (unless you really want to deal with reflection a lot more) Oct 26 00:12:52 is there someplace that lists the intents you can expect to receive when calls are made or received? Oct 26 00:13:13 p_l: Okay. Thanks. Oct 26 00:13:15 i understand there are a few PHONE_STATE-related intents, and NEW_OUTGOING_CALL seems fairly obvious, too, but aside from that i'm a little lost Oct 26 00:13:39 basically, i just want to know when a call is made or received, who's on the other side, and how long the conversation lasted Oct 26 00:14:14 (er, and on that note, can i expect static members of my BroadcastReceiver class to persist from invocation of onReceive to the next?) Oct 26 00:14:29 *from one invocation, even Oct 26 00:15:55 argh, have to catch a bus, but thanks as always for the advice :) Oct 26 00:16:56 can someone please tell me why my LinearLayouts are not stretching to fit the screen? They're all set to fill_parent and weight="1" and there are ten instances of them created by a layout inflater. Please help, this has been bugging me for months Oct 26 00:23:03 p_l: Looks like we can't annotate methods with @DatabaseField... which means I'll need to save all the relevant return types as fields. Oct 26 00:34:47 freeone3000: is ormlite nice ? Oct 26 00:36:07 g00s: It doesn't have the excessive configuration of hibernate, but having to wrap internal classes is a pain. Oct 26 00:43:00 hey does anyone know if Xml.parse() closes the input stream you give it? Oct 26 00:43:33 It does not. Oct 26 00:44:44 cool thx Oct 26 00:59:54 so.. got a deep question for you guys about running tests Oct 26 01:00:00 42 Oct 26 01:00:14 g00s: wow.. you are right!!!! that was it! ;-) Oct 26 01:00:16 https://groups.google.com/forum/?fromgroups=#!searchin/android-developers/android$20support$20jar/android-developers/sotIalKQTUQ/2x-O9BczHjgJ Oct 26 01:00:32 seems like running a test in eclipse works, running it with adb am instrument, it gives an exception Oct 26 01:00:49 how can i see what command eclipse runs Oct 26 01:01:03 adb shell am instrument -w ${TEST_PACKAGE_NAME}/android.test.InstrumentationTestRunner Oct 26 01:01:24 this one can't start an activity because: java.lang.ClassNotFoundException: android.support.v4.os.ParcelableCompatCreatorHoneycombMR2 Oct 26 01:02:10 but if I run the same tests through eclipse "Android JUnit Test" it can start the activity just fine. Oct 26 01:02:34 I tried to find out why, but no documentation says why. nobody seemed to have found out yet. Oct 26 01:02:53 Any Ideas how to trace it down? I think it might be some flags given to "am instrument" Oct 26 01:03:14 uh, i hate maven Oct 26 01:04:20 pboos: Looks like classpath on adb shell. It needs the compatability library on the classpath. Oct 26 01:04:53 but that one is in the .apk, right? Oct 26 01:05:16 any idea how to set that classpath right? Oct 26 01:05:36 g00s: the problem does not lie with maven. i have the problem without using maven. Oct 26 01:06:49 what is the problem? Oct 26 01:08:25 pboos: Looks like the "best" option is putting it in BOOTCLASSPATH, but that seems silly because the classes are in the APK you're tesitng. Oct 26 01:08:33 in MediaController for my VideoView how do I detect if the user has changed position of video so I can show a spinning progress bar until it loads the video again ? Oct 26 01:09:40 or maybe I have to detect if the video.isPlayin() becomes false because they moved the slider to a different position but I don't know where hmmm Oct 26 01:10:41 Well, you'd do it with a ProgressFragment in a FragmentDailog. Detecting user slider behavior is simple, you've got a listener for that. For rotation, you want to override onSizeChanged(). Oct 26 01:11:15 You'll also want android:configChanges="orientation" for your activity so it isn't destroyed and recreated. Oct 26 01:12:18 freeone3000: sorry for dumb question, but what would i append to BOOTCLASSPATH? the apk itself? Oct 26 01:12:20 ok but I may need onCreate to run again on orientation change now Oct 26 01:12:31 pboos: Yeah. Oct 26 01:12:46 shmooz: If you do, you can't show a dialog, because your activity doesn't exist. Oct 26 01:12:51 freeone3000 okay.. will try it :) thx a lot! Oct 26 01:14:46 well for now I feel all I need to do is detect when the video has stopped playing either because user moved the slider or because internet connection became slow , I already am showing a progress bar when the user first starts the video stream until onPrepared() hides the progress bar out of the way Oct 26 01:16:07 freeone3000: hmm.. too bad it did not work.. will try to put the support library as a jar on device and add it to the BOOTCLASSPATH. Oct 26 01:16:39 and the rotation into landscape mode makes it fullscreen, in portrait mode it has the video playing while showing a custom listview of streams Oct 26 01:17:20 shmooz: Sounds like you want fragments. Oct 26 01:19:21 freeone3000: too bad.. what i did: adb shell => export BOOTCLASSPATH=$BOOTCLASSPATH:/sdcard/android-support-v4.jar; am instrument .... Oct 26 01:19:32 freeone3000: but still the same exception Oct 26 01:19:50 setOnDragListener sounds like what I need Oct 26 01:22:56 got it !! MediaPlayer.OnBufferingUpdateListener() Oct 26 01:24:22 Is it "safe" to have a DB handle open for the entire program? Oct 26 01:29:13 freeone3000: any other ideas? ;-) Oct 26 01:29:27 pboos: Not really, no. Oct 26 01:29:48 freeone3000: too bad.. but thanks anyway! your idea was worth a shot. Oct 26 01:32:23 i plan to write data for a game to a sqlite database table in my android app, this data will be generated dynamically/semi-randomly while the user plays the game... this is all fine... i am just wondering, i also want a default set of data to be in the database when the game starts(in exactly the same format a the dynamic data so wil be in the same table)... i am just wondering how this should be done... shall i simpl Oct 26 01:32:23 y have a class with the data in java and when the game first starts -populate the database with this (then while game is played add more data)... or supply a sqlite file inside my app somehow with the data already in sqlite format? Oct 26 01:34:03 The first is easier. Just stick your initial state right after the CREATE TABLE statements in your SQLiteOpenHelper. Oct 26 01:34:28 ok ill do it that way. thanks Oct 26 01:50:06 hmm.. adb shell am instrument seems to be buggy... very buggy.. Oct 26 01:50:54 i now logged, how am instrument is called by eclipse.. but if i call that from command line, it does something totally different. Oct 26 01:51:05 like an assert that should be an error does not show an error at all. Oct 26 01:57:03 oh crapp.. it is working Oct 26 01:58:06 seems like running ALL tests does not work well Oct 26 01:58:13 one has to run the tests one by one Oct 26 01:58:29 I am extremely satisfied with my intellij setup at work Oct 26 01:58:38 expecially paired with youtrack and teamcity Oct 26 01:59:25 ron_frown: well, the thing i do is IDE independent.. i am building a Testing Grid Oct 26 01:59:49 ron_frown: one computer that has like 20 devices connected. you send a command, and it runs your tests on ALL devices. Oct 26 01:59:59 ron_frown: and then returns the result Oct 26 02:00:11 cool Oct 26 02:00:32 I've got cloud like functionality setup for my hardware Oct 26 02:00:37 but probably not like you do Oct 26 02:00:41 and that test i just did.. even in eclipse it does not work anymore now. know as well why. Oct 26 02:00:50 mass management in a typical installation, like 500-1000 android devices Oct 26 02:01:07 at least i know that running ALL tests is buggy.. one has to run them one by one to get activities run correctly Oct 26 02:01:53 I need to figure out how to convince my boss to use unit tests Oct 26 02:02:03 we've had tons of regression problems Oct 26 02:02:10 but maybe he jsut doesnt get it Oct 26 02:03:40 ron_frown: does he have pointy hair too ? Oct 26 02:04:03 yes as a matter of fact he does Oct 26 02:04:17 is your HR director a cat ? Oct 26 02:05:41 ? Oct 26 02:08:22 http://search.dilbert.com/comic/Evil%20Catbert Oct 26 02:08:23 ron_frown: convincing is hard. i currently add a nice feature to the test grid, that might be convincing :) to be able to take screenshots with tests. Oct 26 02:08:41 ron_frown: so you can really quickly see how your app looks on any device you have in the grid. :) Oct 26 02:08:43 took me ages to get code reviews in Oct 26 02:08:49 and unit tests are on the way Oct 26 02:08:51 hopfully Oct 26 02:12:30 that dilber is very much like my work Oct 26 02:12:37 cant slow down to improve infrastrcture Oct 26 02:12:48 got forbid we actually simplify stuff Oct 26 02:13:01 it's the same as a lot of places Oct 26 02:13:06 sadly Oct 26 02:15:29 unfortunately its challenging enough to keep me engaged Oct 26 02:15:41 ha ha http://dilbert.com/strips/comic/2008-05-29/ Oct 26 02:22:33 http://dilbert.com/strips/comic/2011-02-12 Oct 26 02:26:12 damn, who mentioned dilbert, took me weeks to get over my last addiction Oct 26 02:26:23 bye bye productivity Oct 26 02:26:48 that's a good one Oct 26 02:26:56 :) Oct 26 02:27:16 g00s what kinda fun shit you been working on other than the dak Oct 26 02:28:49 i'm just reading up on a few topics. started reading statistics and data mining, a book on compilers, and some usability & ux stuff. all general things. i'm kinda sitting out the next few months development wise Oct 26 02:29:32 i apply this philosophy http://www.amazon.com/gp/product/1610390040 Oct 26 02:29:56 i think the mobile space is going to get very interesting in the next few months; i'm just retooling and watching to see what happens Oct 26 02:32:53 right now i am reading http://www.amazon.com/Mobile-Usability-Jakob-Nielsen/dp/0321884485 Oct 26 02:34:45 ron_frown: what about you ? Oct 26 02:37:12 just finally got the os stable on this new hardware Oct 26 02:37:26 got about 10 day to put the wraps on it, make sure everything I can fix, I fix Oct 26 02:37:47 ron_frown: does your company produce HW for some solution ? Oct 26 02:37:56 yessir Oct 26 02:38:06 omap4460 based Oct 26 02:38:07 ok, you may have gone into it more, but i dont recall Oct 26 02:38:18 yeah industrial automation stuff Oct 26 02:38:28 well, i guess you are moving away from omap right :P Oct 26 02:38:35 oh cool Oct 26 02:43:36 I havent heard that TI is for sure doing what every one is saying Oct 26 02:43:45 but this hardware has a couple years in it Oct 26 02:43:52 I really samsung exynos shit Oct 26 02:46:24 ron_frown: does your company use prefabbed SBCs or do you guys design your own boards? Oct 26 02:46:46 meh, we do what most people do Oct 26 02:46:56 take a reference implementation and modify Oct 26 02:47:36 we have a fair bit of additional hardware, and IO's Oct 26 02:48:05 cool Oct 26 02:49:49 hello, how do i tell eclipse to compile my referenced project and compile it into my apk? Oct 26 02:50:13 http://vitamio.org/topics/14?locale=en Oct 26 02:50:23 there is the log... Oct 26 02:51:59 so the setup is two projects, one is kind of a library and the other a simple demo using it... so i reference the library project in the demo app and it works fine. but when i try to debug it gives me class not found exceptions for the classes of the library Oct 26 02:52:53 also when i run it... Oct 26 02:54:57 thamlyou might tryright click the library project, --> properties --> android check is Library in same area in other app add it as a library Oct 26 02:55:35 http://developer.android.com/tools/projects/projects-eclipse.html **** ENDING LOGGING AT Fri Oct 26 03:00:01 2012