**** BEGIN LOGGING AT Mon Mar 04 02:59:59 2013 Mar 04 03:06:55 stuff is definitely bugger Mar 04 03:06:57 bugged Mar 04 03:07:40 sometimes the graphical editor glitches and the ratingbar is wrapping nicely around the height of the bitmap supplied to it Mar 04 03:07:57 when I click anywhere, it flips back to pixeledge smudge Mar 04 03:08:25 well, I could give it a height of 24px, that would work :D Mar 04 03:08:27 time to extend a view ? :) Mar 04 03:08:37 and then? Mar 04 03:08:41 write the entire code myself? Mar 04 03:09:07 If I make MyRatingBar extends RatingBar... what advantage would that give me? Mar 04 03:09:14 oh god no Mar 04 03:09:26 myScaleBar extends View Mar 04 03:09:35 well no ViewGroup Mar 04 03:10:17 myAceRathingBar extends linearLayout even Mar 04 03:10:24 hehe Mar 04 03:10:32 and then write all code for the ratingbar? Mar 04 03:10:37 all ??? Mar 04 03:10:44 you mean get a touch event Mar 04 03:10:50 relative x,y to view Mar 04 03:11:00 get the marker width Mar 04 03:11:06 get the view width Mar 04 03:11:15 1 line of math and set visual result Mar 04 03:11:19 yeah all of that Mar 04 03:11:20 :) Mar 04 03:11:38 not to forget the actual rating value Mar 04 03:11:49 calculating how many cells to display Mar 04 03:11:52 well thats a product of the line of math Mar 04 03:12:00 thats division Mar 04 03:12:11 view width / marker width Mar 04 03:12:37 I guess Mar 04 03:12:56 for the screenshot I´m going to set the ratingbar on 24px height :D Mar 04 03:14:53 that didn´t work Mar 04 03:14:58 I need sleep Mar 04 03:15:06 I´ll go the view way Mar 04 03:15:11 some other day :P Mar 04 03:15:18 thanks for your feedback Mar 04 03:15:27 have a good rest of the day! Mar 04 03:15:27 good luck Mar 04 03:15:38 3:15am I'm off soon Mar 04 03:15:46 one hour ahead ;) Mar 04 03:15:50 dam Mar 04 03:15:57 gonna stay for 2 hours then Mar 04 03:16:00 just to beat ya Mar 04 03:16:03 :) Mar 04 03:16:07 :D Mar 04 03:16:10 have fun! :) Mar 04 03:18:31 hours later and lazy thumbnail generating is working Mar 04 03:18:37 and i should have been doing other things =( Mar 04 03:44:38 StingRay_ do you have any apps out? Mar 04 03:50:48 not yet Mar 04 03:50:57 rushing to my 1st as we speak Mar 04 03:51:46 got a sneak preview? Mar 04 03:51:56 or is it NDAable too? hehe ;) Mar 04 03:52:06 no this one aint NDA'able Mar 04 03:52:07 hey guys Mar 04 03:52:20 ask me in a few days Mar 04 03:52:25 how was the nap? Mar 04 03:52:28 and yeah will let you have an install Mar 04 03:52:43 force me to install? Mar 04 03:53:06 no you said you wanted to have a preview Mar 04 03:53:10 ahh Mar 04 03:55:11 I'm going post my code here, but StingRay_ will most likely scold me for not leaving the shallow end (learning the basics) lol Mar 04 03:55:34 but I do wish to figure this out by tonight, so I can take a break and work on the arduino tomorrow :/ Mar 04 03:55:55 * Rob|boR dives in the deep end. Mar 04 03:56:00 oh deer Mar 04 03:56:01 http://pastebin.com/ZR5QLhsE Mar 04 03:56:08 lol Mar 04 03:56:09 you doing that wastes other peoples time and your own Mar 04 03:56:49 well I think I made some major changes to it Mar 04 03:57:32 heres a tip Mar 04 03:57:34 I got a question for you though StingRay_ , even though I still didn't complete the extended adapter, I do wish to work on that Mar 04 03:57:40 DONT create anything in onPost Mar 04 03:57:42 only use Mar 04 03:57:53 Mar 04 03:58:20 in my current program, I have regular adapters, is it possible to interchange between a regular adapter and an extended w? Mar 04 03:58:41 well learn about adapters Mar 04 03:58:47 and then you will know Mar 04 03:58:57 answer is yes/no/depends Mar 04 03:59:02 and is actually all of those Mar 04 03:59:10 hope that helped Mar 04 03:59:12 :) Mar 04 03:59:29 I see Mar 04 03:59:38 hmm Mar 04 03:59:58 Rob|boR, quit increasing StingRay's post count... Mar 04 04:01:01 who was that guy who had the chart anyways? Mar 04 04:05:07 post count? Mar 04 04:14:59 how do we check post count Mar 04 04:15:09 keep a log Mar 04 04:15:59 you keep a log of your post count? Mar 04 04:16:10 is it a competition? Mar 04 04:16:19 no Mar 04 04:16:41 to the you keeping a post count or a competition Mar 04 04:17:33 both Mar 04 04:17:47 oh.. Mar 04 04:20:08 Android doesn't like it when I put '-203648.83511' into 'D' for the projection matrix Mar 04 04:22:01 it thinks it's too big :| Mar 04 04:41:15 when I run java code via eclipse it works fine but revising the code and running it again gives API mismatch errors. What is the best way to refresh the environment ? Mar 04 04:41:30 clean project Mar 04 04:41:36 Projects > clean Mar 04 04:41:44 relinks and rebuilds Mar 04 04:41:55 will that also reset the application state on the device? Mar 04 04:42:02 im on a nexus 4 Mar 04 04:42:24 wont touch the app on the device unless you run it Mar 04 04:43:37 thanks Mar 04 04:45:58 if the program is running on the device what should I do before I restart the program? i.e. Run > debug > change > ? >Run. should I stop it as a service via adb shell? Mar 04 04:46:33 nothing Mar 04 04:46:36 just run it Mar 04 04:48:43 I'm running an included sample app "AcceleromerPlayActivity.java". I run it and it works on the device, I change NUM_PARTICLES and click "Run". I get "Call requires API level 8 (current min is 5): android.view.Display#getRotation AccelerometerPlayActivity.java /AccelerometerPlayActivity/src/com/example/android/accelerometerplay line 390 Android Lint Problem Mar 04 04:49:30 set min sdk to 8 then Mar 04 04:50:48 if I reboot the phone and run the revision the error doesn't get thrown though Mar 04 04:52:12 I'm a noob so I'm sorry if I missed something Mar 04 04:54:43 hey guys. Mar 04 04:54:49 lint is just a warning thing Mar 04 04:54:54 I figured how to solve my issue! Mar 04 04:54:55 StingRay_! :) Mar 04 04:55:07 just means if you were to run it on < 8 it would crash Mar 04 04:55:09 glFrustum is broken on Android! Mar 04 04:55:49 I made the near plane = 1, and divide all other planes by the original near plane value Mar 04 04:55:53 and everything works beautifully. Mar 04 04:55:55 I'm trying to import an existing project into adt but the project name is incorrect. It shows the activity name. I've been playing with android:name and android:label in the manifest file with no success. Does anyone know how to fix that? Mar 04 04:55:59 ESphynx: maybe to the units depth that your attempting Mar 04 04:56:17 StingRay_ : the point is that it should work for any unit depths :P Mar 04 04:56:26 erm not really Mar 04 04:56:45 StingRay_: if there isn't a glGet (GL_SOME_MIN OR MAX SETTING), yes :P Mar 04 04:56:46 buffers != infinite Mar 04 04:56:58 or some mention in the docs :) Mar 04 04:57:08 anyways, very glad I found an easy fix! :) Mar 04 04:57:10 and I'm comming from a ps3 with 7 usable VU units Mar 04 04:57:13 now I will go and implement it in the real thing :P Mar 04 04:57:16 hehe Mar 04 04:57:53 or SPU's rather Mar 04 04:59:11 ESphynx: another thing to watch for is when included and required draw or shade points go way beyond camera f. Mar 04 04:59:24 I can easy kill a ps3 with about 10 triangles Mar 04 04:59:46 kill = drop frame rate to like 13fps Mar 04 04:59:50 so not kill Mar 04 04:59:55 but hinder Mar 04 05:03:02 StingRay_: thanks that worked Mar 04 05:03:56 how do I view the resources being consumed on the device? Is there a method using eclipse? adb shell? Mar 04 05:04:21 resources ? objects ? threads mem ? Mar 04 05:04:40 ddms has lots of views for looking Mar 04 05:04:58 StingRay_: as much as I can :) Mar 04 05:05:28 ddms perspective in eclipse Mar 04 05:06:36 that's definitely a start Mar 04 05:06:40 thanks again Mar 04 06:32:05 hey guys I have an animated object (a GLSurfaceView) how can I put that into a fragment? I keep getting errors and nothing seems to work Mar 04 06:36:16 http://imgur.com/jacoj Mar 04 06:39:25 alright h old on Mar 04 06:42:20 Hello, i've got a custom view with SimpleOnGestureListener that i use for scrolling, and i'd like to add a impleOnScaleGestureListener. can i use two listeners? do i use two detectors? Mar 04 06:46:27 StingRay_: stack- http://pastebin.com/P8UBTqAg and the way I am doing it is by defining the GLSurfaceView in the main xml file Mar 04 06:46:36 StingRay_: ahh everytime I see that kind of commics now I must think about the original comic (that is way more insane then all the mems made of it) Mar 04 06:46:49 I never used it b4 Mar 04 06:46:59 just wanted to paste it lol Mar 04 06:47:14 thats one of the thigns: once seen, never forget :D Mar 04 06:47:29 KillmeSoftly: well whats null ? Mar 04 06:47:59 i take it you know what it is that is null ? Mar 04 06:48:22 oh wait i think i copied the wrong one Mar 04 06:48:24 hold on Mar 04 06:48:48 sry Mar 04 06:55:36 timroes: use broadcast receivers much ? Mar 04 06:55:53 yeah for everything :) Mar 04 06:56:00 no thats a quite vague question :D Mar 04 06:56:07 i use them, if they make sense :D Mar 04 06:56:26 ok question Mar 04 06:56:55 can i have an intent filter in manifest for an activity Mar 04 06:57:37 or is it only for Mar 04 06:58:12 actually, sod that, easier way to ask is to tell you what it is that I want Mar 04 06:58:30 you can ofc have intent filters for activities :) Mar 04 06:58:41 sqlite table can be altered by broadcast r. or by another sub activity Mar 04 06:58:51 cursor is managed by loader Mar 04 06:59:27 when table data changes, the previous activity thats "paused" needs to know Mar 04 06:59:45 whats the best way to do that upon resuming the activity Mar 04 07:00:05 that make sense ? Mar 04 07:00:09 kind of Mar 04 07:00:13 been up since yesterday Mar 04 07:00:16 and it;s 7am Mar 04 07:00:18 :) Mar 04 07:00:24 do you want to make the change bring your previous activity to foreground Mar 04 07:00:27 meaning resumnig it Mar 04 07:00:43 or do you just want a notification WHEN it is resumed, but that is up to the user, it should be resumed Mar 04 07:01:02 does my question make sense? since its 8am here and i am already up :D Mar 04 07:01:08 no the activity onResume needs to know that the data is now invalidated Mar 04 07:01:32 are you using a content provider? Mar 04 07:01:33 see with a live activity if a BG process changes it I just send a broadcast Mar 04 07:01:35 no Mar 04 07:01:46 @kevinb Mar 04 07:02:12 wait for a live activity you send a broadcast, why don't you do that when it's paused? Mar 04 07:03:01 (and you should use LocalBroadcastManager if you are not already, no need sending the broadcasts through the whole system) Mar 04 07:04:27 kevinb: your 2nd sentence is fine Mar 04 07:04:35 1st I dont quite understand Mar 04 07:04:43 could be lack of sleep though Mar 04 07:04:53 could be that I'm attempting to read it backwards Mar 04 07:05:32 any idea how can i make a two fingers touch on the emulator? Mar 04 07:05:52 if i understand correctly, right now sometimes you send a broadcast to your activity to tell it to refresh, right? But you only do this while the activity is resumed. You can use the same method while the activity is paused. Mar 04 07:05:52 scaling movement Mar 04 07:06:04 StingRay_: but the activity is paused while the data is invalidated and changed. so should that change immediately bring the paused activity to the front, or just WHENEVER the activity is brought to front Mar 04 07:06:15 you want to figure in your onResume, that the data changed Mar 04 07:07:22 timroes: just whenever it appears Mar 04 07:07:37 activity A has a different view on the table Mar 04 07:07:45 and you have a single place, where the data is cahnged? Mar 04 07:07:48 activity B has again a different view Mar 04 07:07:51 what i want to make is something similar to that "cube" that appears on the locked screen on nexus 7 android 4.2.2...can anyone send me on the right path to get there? tutorial or anything Mar 04 07:08:06 because otherwise wouldn't it be enough just to check in onResume if data has changed :) Mar 04 07:08:10 by checking the database Mar 04 07:08:14 both A and B look at the same source table Mar 04 07:08:29 ok timroes whats an easy way to tell ? Mar 04 07:08:46 normally I would read the schema timestamp for the alter table Mar 04 07:09:07 sqlite dont do that / keep that Mar 04 07:09:31 unless I maintain a timestamp change table myself Mar 04 07:09:38 e.g. that Mar 04 07:10:01 or if you don't want to do a whle new table for it, save it in SharedPreferences Mar 04 07:10:11 or depending on your dataset, e.g. if you cannot remove entries, just check last id Mar 04 07:10:15 that not dirty ? Mar 04 07:11:52 I would say highly depend on your dataset :) Mar 04 07:12:05 if the last id is really an indicator for the last edit of your data, there is nothing dirty about it Mar 04 07:12:34 well there are data alteration outside activites on a row Mar 04 07:12:39 and especially if you edit your data in several palces (or plan to) you need to send broadcasts in all that places. if the change just needs to be detected in one single place, I would also implement in in that Mar 04 07:13:12 guys, if I want to refresh Notification every second, would there be any difference between AlarmManager and a sticky service with a timer? Mar 04 07:13:14 Hello, can anyone help me with a content provider's insert method? I'm getting a datatype mismatch error. http://pastebin.com/V4nzwUhy - related code plus trace. None of the insert calls work Mar 04 07:13:42 Quacked: dont be silly, you're not going to refresh anything every second :| Mar 04 07:13:58 g00s: sure I am :) Mar 04 07:14:21 ok, go for it :) Mar 04 07:14:35 hehe Mar 04 07:15:04 but if I use a sticky background service and it gets killed, there is probably 30 seconds delay before it restarts the service Mar 04 07:15:12 so I was thinking of using AlarmManager for it instead Mar 04 07:16:36 a joke for all android devs: a soccer match between two teams of insects. one team on the 1st half lost the game 1-0. on the 2nd half, the coach let a centipede worm in and won 42-1. in the press room they asked him why didn't you let the worm in the 1st half. he responds: she was wearing the shoes. LOL Mar 04 07:18:20 "she was wearing the shoes" "she was putting* on her boots*" maybe ? Mar 04 07:18:35 StingRay_: thanks for that Mar 04 07:18:39 I didn't get it Mar 04 07:18:48 me didn't get the joke either Mar 04 07:18:58 but she was putting on her shoes does make more sense Mar 04 07:19:02 yeah, hehe Mar 04 07:19:02 me neither Mar 04 07:19:38 I'm almost collapsed from sleep depravation and I managed to interpret it Mar 04 07:19:41 haha yea StingRays is funny Mar 04 07:20:00 timroes, she wants time to put on the shoes to make 42 goals Mar 04 07:20:15 okay then putting shoes it was :D Mar 04 07:20:18 i think we should impose a new rule in #android-dev that before asking a question you have to tell a joke Mar 04 07:20:35 Does anyone know how to make tab w/ intent in a dialog ? Mar 04 07:20:52 broken immediately Mar 04 07:21:32 you know guys! it's just a matter of relaxing you a bit Mar 04 07:21:50 (Young man coming from toilet) Mar 04 07:21:50 Oh god! Mar 04 07:21:50 -What happend? (his friend asked) Mar 04 07:21:51 i always write code.. needs something on the morning Mar 04 07:21:52 I've just took my biggest iPhone ever! Mar 04 07:22:01 StingRay_: I approve Mar 04 07:22:05 StingRay_: XD Mar 04 07:22:09 ok so now the question Mar 04 07:22:32 timroes: you use sharedPrefs like that Mar 04 07:22:47 tracking changes Mar 04 07:23:07 StingRay_: in my current project i does Mar 04 07:23:16 since i don't use a database locally :) Mar 04 07:23:22 i use it to track last synchronization timestamps Mar 04 07:23:26 Q: Why did Steve Jobs live his last moments in regret? A: They say your life flashes before your eyes just before you die. Unfortunately for Steve Jobs, his iPhone 4S didn't have a Flash player installed! Mar 04 07:24:21 My question is already asked but I still wonder if I should use AlarmManager instead of a sticky background service with timer to update every second :P Mar 04 07:24:46 Quacked: you really should not do that Mar 04 07:25:00 can we have pictures as jokes ? Mar 04 07:25:03 https://fbcdn-sphotos-a-a.akamaihd.net/hphotos-ak-ash3/555889_10100121585260904_593674656_n.jpg Mar 04 07:25:08 StingRay_: because of battery use you mean? Mar 04 07:25:53 Quacked: yeah Mar 04 07:26:00 if it's some kinda timer Mar 04 07:26:05 do it progressive Mar 04 07:26:08 like most do Mar 04 07:26:15 I've tested it a bit, it looks ok for every second Mar 04 07:26:26 why every second ? Mar 04 07:26:33 StingRay_: oh we can now have pictures as jokes? i have also one http://images.apple.com/iphone/design/images/hero_front.jpg Mar 04 07:26:41 Time remaining is shown in notifications in HH:mm:ss Mar 04 07:26:44 cockroach was LOLing hard... why?... the man who's trying to beat him has his eyes crossed Mar 04 07:27:11 Quacked: thats silly Mar 04 07:27:16 StingRay_: please translate that one Mar 04 07:27:21 Quacked: AlarmManager isn't well suited for short durations like 1 second. A timer or using a handler with postDelayed is better Mar 04 07:27:22 StingRay_: the purpose is a timer for something like 1-30 minutes Mar 04 07:27:28 pragma-: you can do this one Mar 04 07:27:36 kevinb: that's more of an answer I was looking for :) Mar 04 07:27:45 kevinb: I Mar 04 07:27:54 kevinb: I'm currently using a handler with postDelayed, thanks Mar 04 07:27:58 Quacked: why not a progressive timer Mar 04 07:28:02 Are adult jokes allowed? Mar 04 07:28:14 StingRay_: what is? Mar 04 07:28:36 Quacked: 1 hour + updates 5 min intervals HH:mm Mar 04 07:28:45 StingRay_: nope, don't get it Mar 04 07:28:58 30 min updates mintue intervals mm Mar 04 07:29:07 below 5 min 20 sec intervals Mar 04 07:29:14 1 min = seconds Mar 04 07:29:30 is that not A) nicer and B) more friendly Mar 04 07:29:58 weell.. every second looks cooler :) Mar 04 07:30:08 and totally useless really Mar 04 07:30:20 as in not practical Mar 04 07:30:42 over 5 minutes i care not about seconds as the fractional value is hard to comprehend Mar 04 07:30:48 omg I need sleep Mar 04 07:30:50 but, I will probably change to every minute and >1 min every second Mar 04 07:31:01 yeah thats what I think would be best Mar 04 07:31:05 i have a link to my buddies live camera stream, the stream has a .asx file name extension...i can't seem to figure out how I can display the stream in my app..can someone plz point me in the rightdirection? Mar 04 07:31:13 but for now I'm going every second Mar 04 07:31:22 Quacked: crazy Mar 04 07:31:23 StingRay_, are you drinking caffeine, tea, etc? Mar 04 07:31:31 easier to test for bugs etc Mar 04 07:31:32 Trinsta: all of it Mar 04 07:31:37 nicotine Mar 04 07:32:01 btw, when Android kills my background service.. can my app be notified? Mar 04 07:32:13 I mean, it causes the notification to freeze until it restarts the service Mar 04 07:32:18 which could easily be 30 seconds Mar 04 07:32:54 does onDestroy work for that? Mar 04 07:33:15 What did the one tampon say to the other? Mar 04 07:33:29 bloody hell? Mar 04 07:33:32 Nothing... they're both stuck up cunts Mar 04 07:33:44 you aren't notified about the process being killed. you could use startForeground for the last minute or two of operation, startForeground requires showing a notification but you are already doing that, not sure if you can reuse an existing notification for startForeground though and it seems kind of wasteful to startForeground for the whole timer if it's long running Mar 04 07:34:36 hmm, so I'm trying to build a super simple content provider employing sqlite to make a simple key and value table Mar 04 07:35:25 kevinb: cool, I didn't know about startForeground Mar 04 07:35:27 but my insert method is failing - datatype mismatch [INSERT INTO messages(value, key) VALUES(?,?)] datatype mismatch. I was wondering if anyone might know what is going wront Mar 04 07:35:47 http://pastebin.com/V4nzwUhy Mar 04 07:35:53 kevinb: I'm gonna try it out :) Mar 04 07:35:55 is relevant code Mar 04 07:35:58 kevinb: thanks again for a great answer Mar 04 07:36:44 sorry if no one knows Mar 04 07:40:32 thebope: no need to say sorry for other people Mar 04 07:40:48 I think i maybe cause you didnt tell a joke Mar 04 07:40:50 :) Mar 04 07:41:00 StingRay_: I tried lol Mar 04 07:41:19 What do you call two mexicans playing basketball? Mar 04 07:41:26 private static final String TAG = "MainActivity" Mar 04 07:41:38 if I only use it for Log.d could it possibly leak? Mar 04 07:41:39 Juan on Juan Mar 04 07:42:31 what do you mean by leak? Mar 04 07:42:51 memory leak, i'd think not... but static modifiers always scare me Mar 04 07:43:10 and i dont want to take it off either in case i need to Log.d in a static method Mar 04 07:43:41 no need to be scared :) Mar 04 07:43:49 if you define constants thats the way to go Mar 04 07:43:53 make it final static, no problem Mar 04 07:44:26 okay, thanks! :) Mar 04 07:44:29 especially if its an immutable object (what strings are) Mar 04 07:45:08 if you have a mutable object, you can still modify the obejct, even though the variable is final (you just cant modify to what object the variable points), so that might be dangerous Mar 04 07:45:22 if you modify stuff you expect to be a constant Mar 04 07:47:20 hmm, i'd guess, public static Bitmap myBitmap would be bad Mar 04 07:47:34 I have all my bitmaps in an Assets.class Mar 04 07:47:53 you should avoid static in general, if you are able to do so Mar 04 07:47:58 staic bitmaps are a bad idea Mar 04 07:48:08 Textures* Mar 04 07:48:09 but don't worry about constant strings or primitive datatypes Mar 04 07:48:10 that's one way to leak memory in android Mar 04 07:48:48 what would be the cause monsti? Mar 04 07:50:20 its jsut so handy to do, batch.beginBatch(Assets.myTexture); Mar 04 07:51:10 hmm, maybe if I instantiate Assets.class in activity and just pass it along to my individual screens Mar 04 07:51:12 Trinsta: https://www.youtube.com/watch?v=_CruQY55HOk Mar 04 07:51:27 they expalin a lot about memory and how to find leaks, and the bitmap leak is even their example :) Mar 04 07:51:36 haha kk :) thanks watching now Mar 04 07:54:17 3 minutes in, how to access MAT? Mar 04 07:54:39 Trinsta: http://www.eclipse.org/mat/ Mar 04 08:01:47 i recently (30 minutes ago) became aware of the htc linkify problem >_> starting from what devices is this problem present (i need to pick out a test target) Mar 04 08:05:35 I am taking htppresponse after passing data... now when i receive the reponse and check the response.getentity().getContentlength() than it shows 26040 and when i pass that to string using this code http://pastebin.com/GkwGuExE ... it gives some exception... Please explain Mar 04 08:07:18 thanks timroes: after converting hprof wow, this stuff is amazing Mar 04 08:07:40 aagam94, why do you have nested try-catch Mar 04 08:08:06 I just did ... Mar 04 08:08:17 Trinsta, any problem with that? Mar 04 08:09:23 just that you dont need the extra try Mar 04 08:09:28 right after the first try Mar 04 08:10:28 Ok..let me check with removing 1 try... Mar 04 08:11:51 Trinsta, for getting the whole page in reponse..... i should write response.getentity().getContent()...right? Mar 04 08:13:26 show the rest of your Asynctask, i dont know why youre getting response there Mar 04 08:14:34 Trinsta, check this http://pastebin.com/Par9eHvx Mar 04 08:15:27 NONONONONO Mar 04 08:15:31 you have it all wrong =[ Mar 04 08:15:58 why ?? Mar 04 08:17:21 Trinsta: yeah the video is good Mar 04 08:17:46 does the ACL v13 include everything in the ACL v4? Mar 04 08:18:17 aagam94: http://pastebin.com/kspBBdxB Mar 04 08:18:21 don't query me please Mar 04 08:18:43 i editted out the uncessary code from one of my HTTP_POST Asynctasks Mar 04 08:19:01 the HttpClient is a custom one but ill pastebin the post code everything else should be the same Mar 04 08:19:19 :D but whats wrong in mine Mar 04 08:19:31 http://pastebin.com/MxjX58Ay Mar 04 08:20:14 it looks outrageous in my opinion, also... :) Mar 04 08:20:22 aagam94: "whats wrong with mine" Mar 04 08:20:27 * Trinsta does it run? Mar 04 08:21:06 let me check and understand first Mar 04 08:22:21 just salvage the execute method and place it in the asynctask and it will work all the same Mar 04 08:23:22 also one option is first try to understand the httpclient mechanism without async task Mar 04 08:23:39 ofcourse that will block the UI, but it will make the code a bit simpler which is then easier to understand Mar 04 08:23:52 vavirta, but it doesnt work on android 4.0 Mar 04 08:23:59 aah, that's correct Mar 04 08:24:06 https://fbcdn-sphotos-a-a.akamaihd.net/hphotos-ak-ash3/555889_10100121585260904_593674656_n.jpg Mar 04 08:24:22 sorry Mar 04 08:24:24 had to Mar 04 08:24:41 :D Mar 04 08:24:53 ok pass out time Mar 04 08:24:57 laters all Mar 04 08:25:50 There are a lot of android books, is there *the* book you can recommend? Mar 04 08:32:32 http://www.amazon.co.uk/Professional-Android-Application-Development-Guides/dp/1118102274/ref=sr_1_1?s=books&ie=UTF8&qid=1362385932&sr=1-1 Mar 04 08:32:59 I'd recommend that book Mar 04 08:33:17 hi guys, is it possible to use front and back cameras simultaneously? Mar 04 08:33:54 http://stackoverflow.com/questions/12382322/is-it-possible-to-use-front-and-back-camera-at-same-time-in-android Mar 04 08:34:17 Trinsta: short answer no Mar 04 08:34:19 lol Mar 04 08:34:41 yup :) Mar 04 08:35:46 i could do it one at a time, take photo front first, then take another back Mar 04 08:35:59 its an application that can be used to verify two people that is present at a single location. Mar 04 08:36:19 or 2 images Mar 04 08:36:28 or 2 tablets showing 2 people Mar 04 08:36:36 or 2 posters Mar 04 08:37:25 thinking about it, it would actually be really cool if it did work Mar 04 08:37:38 vloggers could do like a what im seeing and whats behind me Mar 04 08:39:09 well call google and tell them you want to link their glasses with 2-3 devices Mar 04 08:39:19 the super-stereo-vison-app Mar 04 08:48:10 guys, another question Mar 04 08:48:45 how should server side communication be handled such that the passing of data from a device to a web server is secure? is there a way to keep http sessions in android? Mar 04 08:49:19 https Mar 04 08:49:51 Trinsta: should i be passing a username / password each time a transaction is made? Mar 04 08:50:16 I'm trying to imagine how to implement Mar 04 08:50:23 onats: use some form of secure token? Mar 04 08:50:44 also, ship a copy of your server's certificate with your app and verify against it Mar 04 08:51:48 onats: really depends on what youre trying to defend against Mar 04 08:51:52 p_l: okay thanks for that. Mar 04 08:52:07 Trinsta: user manipulation basically. Mar 04 08:52:10 https: is primarily for man in the middle Mar 04 08:52:26 but it doenst hurt to have it. what i have for mine is nested security Mar 04 08:52:37 can you elaborate? Mar 04 08:53:01 well my system ony protects my specific app, but some standards to have would be OAuth2.0 and HTTPS Mar 04 08:53:53 I dont use a username/password scheme. Instead i use an IMEI/SERIAL scheme which is 100x more risky but I figured the benefits of not having users login/register outweighed to potential security costs Mar 04 08:54:19 I think what p_l means is use a refreshToken so user doesn't have to login/register Mar 04 08:54:48 assuming the devices that have the app installed are controlled,meaning they don't download the app from play store, then https + token should probably do right? Mar 04 08:55:13 onats: a token should be acquired from a login, which can also "register" the device Mar 04 08:55:13 sort of like app licensing. User logs in the first time server gives user a refreshToken to use. Whenevver user wants to use app in loading screen send the refreshToken to Server for a quick check Mar 04 08:55:31 you can also add OTP with Google Authenticator or Yubikeys etc. Mar 04 08:56:10 ok copy pasting this for future reading up. very new to android app dev. java dev background. Mar 04 08:56:17 but if you want to prevent man-in-the-middle, you *HAVE* to verify you connect through *your* certificate, otherwise it's easy to spoof Mar 04 08:56:40 the certificates can be self signed right? Mar 04 08:57:00 onats: if I didnt read incorrectly... no https + token would not guard against people downloading outside of play store Mar 04 08:57:16 onats: if you keep a copy of it in your app, yes (still can be compromised if someone modifies the app on device) Mar 04 08:57:46 onats: the problem is that someone can obtain a certificate signed for your domain by a trusted root, thus bypassing HTTPS totally Mar 04 08:58:12 p_l: this is the risk by using self signed certificates? Mar 04 08:58:13 from what p_l said to guard against that possibilty you could post apk checksums + signing checksums to server everytime to verify that this is indeed your apk and not a modified one Mar 04 08:58:25 however, this is not fool proof and will only slow down an imminent attack Mar 04 08:58:32 Trinsta: thats a good idea Mar 04 08:58:51 onats: no, that's common attack against HTTPS, an exploit of how "trust" in the certificate is established Mar 04 08:59:38 basically, for android devs, defend against the casuals and script kiddies and make it hard enough that they would rather "purchase", "use" instead of pirate Mar 04 09:00:01 or cheat*. Let the hardcore underground hackers do their thing since its a constant cat and mouse game Mar 04 09:00:18 It seems to me it's more against unauthorized access to data being sent, rather than access to the application Mar 04 09:00:57 in that case onats should pick up some mysql and php. on the server side there can be injection attacks, etc Mar 04 09:01:08 fuck no php and mysql Mar 04 09:01:27 sorry, just waaaay too easy to exploit typical code Mar 04 09:01:42 what would you recommend? Mar 04 09:02:11 since onats says he has some java dev background, maybe play framework? Mar 04 09:02:22 also, heavy study of how to sanitize data Mar 04 09:03:10 basically prepared queries? Mar 04 09:03:28 Trinsta: not only that, but prepared queries and proper statement generation are a must Mar 04 09:03:39 PHP tends to, "encourage", let's say, shitty programming Mar 04 09:07:13 p_l, http://namb.la/popular/tech.html Mar 04 09:07:16 i get what you mean now Mar 04 09:08:54 is there a way to tell a string-array in arrays.xml to use a value from strings.xml? e.g., Mar 04 09:09:21 I'm trying to avoid having to maintain a bunch of arrays.xml files in each localization Mar 04 09:11:36 oh, you can already do @string/item1 ? Mar 04 09:11:48 * pragma- peers around suspiciously. Mar 04 09:16:46 nice, you can! Mar 04 09:16:52 omg. http://namb.la/popular/ Mar 04 09:16:57 this guy is a mad genius LOL Mar 04 09:17:23 * pragma- laughs at the tons of developers duplicating their arrays.xml file to each res/values-xx/ directory Mar 04 09:17:55 you can have just the one /res/values/array.xml and use the @string/name localizations in it Mar 04 09:17:57 genius Mar 04 09:19:06 * pragma- tests in his 2.2 emulator to be sure Mar 04 09:28:33 yup Mar 04 09:51:30 why editText1.requestFocus causes a key event on editText1? Is pressing tab emulated? Mar 04 10:19:15 pragma-: nice :) Mar 04 10:36:08 anyone used or made a *decent* flowlayout? Mar 04 11:02:41 hi can someone give me tip in how to incorporte a ftp seach and download client to my application? Mar 04 11:05:53 there is no ftp search Mar 04 11:06:16 there is a ftp cmd that does a remote list directory and get's you a list of files/dirs of the server Mar 04 11:12:35 <__esz> http://stackoverflow.com/questions/15174276/android-animating-switching-between-activities-windows-order - any help would be appreciated ;-) Mar 04 11:29:54 quick question ... the statistics in the Developer Console, when do they update? Every 24 hours? Mar 04 11:30:39 I get "Sorry, no data for this metric", but I'm guessing it's cause I've published the app just last night ... Mar 04 11:30:43 is that right? Mar 04 11:32:02 yeh don't expect it to be realtime Mar 04 11:32:18 it's not core business for google :) Mar 04 11:39:24 hey guys.. stupid questions allowed ? Mar 04 11:40:20 no meta questions allowed at least :D Mar 04 11:40:42 timroes, please help!! http://stackoverflow.com/questions/15200684/error-in-retrieving-entity-of-httppost Mar 04 11:40:43 I'd say "fire away", but that's because I don't know anything about android programming, so. :D Mar 04 11:41:40 I was wondering. Lets say I have an Android app with 4000 strings that needs to be updated on a regular basis from a server.. but I dont have the bandwith or desire to let users connect directly to the server ... I was thinking of making like a small computer with a user containing just reading rights to the server.. then it connects and pulls a ResultSet and now I need this distributed Mar 04 11:41:41 to 'theoreticall a million users' Mar 04 11:41:48 now here is the idiotic part, cause I never read or learned about this Mar 04 11:41:54 do I use like a webhotel? just like a website? Mar 04 11:44:08 aagam94: if you wish help, you should post meaningful logcat output (meaning the whole stack trace and not just the first line) Mar 04 11:44:27 and perhaps format your source code, so its readable (remove some blank lines and use right indention) Mar 04 11:45:11 monsti: didnt see your comment, but you say that i can get a remote list directory and and I can get a list of files/dirs of the server Mar 04 11:45:18 but can I download the fileS? Mar 04 11:45:37 P3nnyw1se you could just host the strings on app engine and let google scale for you Mar 04 11:46:09 mmmm I'm not quiiiiiiiiiite sure I get that Mar 04 11:46:14 or S3 Mar 04 11:46:28 P3nnyw1se: plain old file hosting, just choose something that has pretty of power :) Mar 04 11:46:34 S3 and CloudFront can be pretty cheap Mar 04 11:46:37 P3nnyw1se ok i assume you have a file with 4000 strings that you want the app to download every now and then Mar 04 11:46:51 P3nnyw1se: what the heck? :D Mar 04 11:47:13 i don't get the core of your question, but why you dont just download the new strings if you worry about bandwidth Mar 04 11:47:22 huh? Mar 04 11:47:22 :P Mar 04 11:47:34 xorgate yeah reading about it now Mar 04 11:47:36 or use a cloud service like suggested above Mar 04 11:47:36 the auto scaling seems nice Mar 04 11:47:55 timroes.. this is about me having a server.. with 4000 strings that I need to update/upload to thousands of App users Mar 04 11:47:57 stash it in memcache on app engine and you're all set Mar 04 11:47:59 and I dont have the bandwith to do it Mar 04 11:48:14 or wish for them to connect to the server Mar 04 11:48:21 xorgate this sounds managable Mar 04 11:48:32 optionally use a datafile that you store in the android market Mar 04 11:49:04 4000 strings doesn't sound bad for typical length... say how much total (after compression) bytes it is :D Mar 04 11:49:17 4000 strings might be a lot, what's your app doing with 4000 strings Mar 04 11:49:19 its just a guess Mar 04 11:49:24 but its likely Mar 04 11:49:43 your users must get it from SOMEWHERE, so you need the bandwith to give them the strings SOMEWHERE Mar 04 11:49:47 I'm kinda as a project this year doing an app for a company that rents out lighting equiptment for movie productions Mar 04 11:49:53 they have.. incredible long inventory lists Mar 04 11:49:54 if you now pay for that bandwidth in a cloud or an own server Mar 04 11:50:11 timroes.. this is what I'm looking for.. there is no trick to the question Mar 04 11:50:16 I've never done any form of webhosting Mar 04 11:50:22 so its as simple as that.. my question Mar 04 11:50:39 okay :D Mar 04 11:50:52 google app engine, amazon s3 Mar 04 11:51:00 I was just thinking that mayde Android have a prefered place you know.. with the thousands of apps I assumed that there is like 'the place to go' Mar 04 11:51:05 when you wanna update android apps Mar 04 11:51:10 just rent a usual webspace, since I don't think 4000 strings will compressed and incremental updated cause a lot of bandwith Mar 04 11:51:22 yeah the google app store :D Mar 04 11:51:29 i'm partial to app engine cause it's easy and no hardware issues at all for me Mar 04 11:51:32 you can just push updates to the app like regulary :D Mar 04 11:51:38 haha Mar 04 11:51:40 if its not that frequently the update Mar 04 11:51:44 yeah push 3-4 updates a day Mar 04 11:51:53 yeah that you shouldn't :) Mar 04 11:52:03 the thing is they add and remove inventory all the time to the list Mar 04 11:52:06 i just wonder what company does update their product catalog 3-4 times a day :D Mar 04 11:52:09 also, static file hosting doesn't take much Mar 04 11:52:10 so you dont want the user to order from an outdated list Mar 04 11:52:26 timroes.. its a ligting, movie camera, production rental company Mar 04 11:52:31 I figure bigger impact from the fact that some will download it over mobile network instead of wifi Mar 04 11:52:41 the thing is.. its not just about updating their catalog.. sometimes for big productions.. like 'Avatar the Last Airbender' Mar 04 11:52:50 they basicly rented out their entire storage Mar 04 11:52:51 i'd say host a json with all names, and a hash of that list, so users know whether to update before they download the entire damn thing Mar 04 11:53:18 P3nnyw1se: you might want to spend more time in thinkging about WHAT to transfer (incremental, just specific items) then in the consideration WHERE to store it Mar 04 11:53:31 I am doing that aswell just trying to grasp the concept of it Mar 04 11:53:40 i'm guessing there's categories Mar 04 11:53:52 place update timestamps on the server, and only load whats newer then your last update Mar 04 11:53:54 yes.. so its Objects I guess Mar 04 11:54:00 I would like to add values and stuff to each item Mar 04 11:54:15 you talking about hashing timroes? Mar 04 11:54:25 not necessarily Mar 04 11:54:35 each item can have a lastModified value on the server Mar 04 11:54:45 ahh.. yeah that makes sense Mar 04 11:54:47 and you say i want every item last updated AAFTER my last fecth Mar 04 11:54:49 ofcourse 80% of the items Mar 04 11:54:50 won't ever change Mar 04 11:54:57 or at least not on a regular basiss Mar 04 11:55:01 and servers response will just contain the updated items Mar 04 11:55:39 I imagine that each object would contain something like, timestamp(added), name, category, uniqueNumber Mar 04 11:55:43 something .. thats not all planned out yet Mar 04 11:55:55 * fdvalencia85 slaps monsti around a bit with a large trout Mar 04 11:56:13 here's a little sample of how i do it: http://smokeoutbackend.appspot.com/getshoplist/1 and to see WHETHER to update: http://smokeoutbackend.appspot.com/getshoplistv/1 Mar 04 11:56:38 P3nnyw1se: timestamp modified :) Mar 04 11:56:54 yes :P Mar 04 11:56:58 and if no modifications then added Mar 04 11:57:01 in fact you don't care if added or modified, you need to transfer it Mar 04 11:57:48 hmm it would still have to run through all the timestamps.. but I guess thats not so bad Mar 04 11:58:08 its a database (hopefully) Mar 04 11:58:18 you can stash those results in memcache Mar 04 11:58:25 select * from items where modified >= "$MYTIMESTAMP" Mar 04 11:58:41 databases are meant to do stuff like this, it won't hurt it much :D Mar 04 11:58:55 mmmmmmmmmmm Mar 04 11:59:06 and you can configure it to use stuff like in memory caching as xorgate suggested Mar 04 11:59:15 yeah well this database wont hold anything other than this list so it should work fine Mar 04 11:59:19 or use a complete in memory database :D what ofc I wouldn't do in that case Mar 04 11:59:35 okay need advice on this part Mar 04 11:59:43 even if the database hold something else, sql databases are meant to give you data by clauses and join them Mar 04 11:59:55 i mean if you have just 4000 items filtering by one timestamp Mar 04 11:59:58 the thing is.. I dont want these apps, or google to connect directly to the company database.. Mar 04 12:00:02 don't know if we talk about 1s in that case Mar 04 12:00:05 i really doubt it Mar 04 12:00:19 what I wanna do.. is make a user with just reading rights.. and pull a resultSet from the 'big, cannot die, important' Mar 04 12:00:20 database Mar 04 12:00:29 and store that and make it accessable to the world Mar 04 12:00:32 does that make sense? Mar 04 12:00:43 in that case you put something like a REST interface in front of it. You can choose any language you want to use on serverside Mar 04 12:01:19 just a simple http rest server, that takes http://catalog.myrentalcompany.com/123148123 and returns you everthing newer then 123148123 Mar 04 12:01:45 btw everything are just suggestions, ofc you can access database directly and make the "security" inside the database Mar 04 12:01:47 alright and just to be sure we are takling about an interface on a different piece of hardware here.. ideally? Mar 04 12:02:07 the thing is.. I dont wanna fool around in their database Mar 04 12:02:09 to put it bluntly Mar 04 12:02:28 yeah the rest interface is running on their hardware Mar 04 12:02:29 I just want the resultSet from it.. knowing that if their server ever fucks up Mar 04 12:02:30 with access to the database Mar 04 12:02:32 it can never be traced to me Mar 04 12:02:36 but it solely offers getting items Mar 04 12:02:38 no modification at all Mar 04 12:02:45 well that.. is just goddamn perfect Mar 04 12:03:03 eh no :D Mar 04 12:03:07 but its a start Mar 04 12:03:07 in this case it is :P Mar 04 12:03:30 make sure not to introduce sql injections with the rest server ofc Mar 04 12:03:32 and that kind of stuff Mar 04 12:03:34 I would rather have the app not working than creating a backdoor to their server if you know what I mean Mar 04 12:03:44 thats why: sql injection :) Mar 04 12:03:49 escape everything on the server Mar 04 12:04:25 well lets say I host this on google app engine or whatever Mar 04 12:04:48 mmmmm dont know where I'm going with this Mar 04 12:04:50 the rest server needs access to the database so you want to host it on their server where the database is :) Mar 04 12:04:56 yeah Mar 04 12:05:03 but then I need the bandwith etc Mar 04 12:05:10 yeah Mar 04 12:05:16 its their bandwidth :D Mar 04 12:05:17 not yours Mar 04 12:05:37 haha I know.. but its a lot easier telling them to 'buy a google app engine at 100 bucks a month' Mar 04 12:05:45 than 'buy a huge line for the users you might get' Mar 04 12:05:52 ofc you can host the rest server on a different server, so the database would need to be accessible via the internet -> security fail Mar 04 12:06:09 yes but thats why .. and this is probably stupid Mar 04 12:06:18 my first plan was to pull stuff from the database rest style Mar 04 12:06:26 or you create a second rest interface (or similiar) in google app hot, that just pulls updates from their server in regular time, and distribute them and still have a rest itnerface on their server, that hyoru rest interface is using Mar 04 12:06:28 and THEN! .. ;) -> to the galaxy Mar 04 12:06:36 -> complexity and more possible sources of errors Mar 04 12:06:42 but you move the bandwidth to another server Mar 04 12:06:56 yes but that seems like the safe choice to me Mar 04 12:06:58 assuming I can make it work Mar 04 12:07:04 but honestly i don't know what server they are using :D Mar 04 12:07:09 I dont either Mar 04 12:07:12 :P Mar 04 12:07:13 not yet Mar 04 12:07:23 my server has 10TB a month free Mar 04 12:07:43 i wonder how big the items are and how many users they have to reach such kind of limit Mar 04 12:07:45 I have little experience with all this, and its a student project.. I wanna keep my hands from their server Mar 04 12:07:54 and I really don't wanna be the possible cause to any problems out there Mar 04 12:08:10 thats why I was thinking of having something like a rest server pull results.. then distributing that to an online hosting service Mar 04 12:08:28 yeah sounds plausible Mar 04 12:08:36 but you anyway need the rest service on their server :) Mar 04 12:08:45 yeop that I know Mar 04 12:08:46 so only reason not to use this directly is the bandwidth Mar 04 12:08:52 and i highly doubt it will be a problem :) Mar 04 12:08:52 but at least I can control that this is just readable Mar 04 12:10:55 also could you take a look at this (its in danish but I*m sure you will get it) Mar 04 12:10:57 http://i47.tinypic.com/ibji43.jpg Mar 04 12:11:10 the left side.. is a sketch of an item list.. you can click on them and add them to a basket Mar 04 12:11:24 uhh :D Mar 04 12:11:25 I want that basket to be able to slide in.. and be updated.. and able to push it away again just to return to your basket Mar 04 12:11:30 http://d.android.com/design Mar 04 12:11:30 without reloading your activity.. Mar 04 12:11:52 just concept :P Mar 04 12:12:00 was just wondering shopping basket -> fragment ? ;) Mar 04 12:12:06 for the basket you could use someething like https://github.com/jfeinstein10/SlidingMenu Mar 04 12:12:16 if you really want to create a sliding menu stuff, but I wouldn't recommend it Mar 04 12:12:27 yeah everythign is a fragment ;) Mar 04 12:12:37 why wouldn't you recommend it ? Mar 04 12:13:55 you hide it Mar 04 12:14:00 you hide that the user can slide it in Mar 04 12:14:13 so if you use it, at least make an action item for opening it Mar 04 12:14:31 well my plan was to partially show it all the time Mar 04 12:14:33 like the facebook app Mar 04 12:14:35 and still I would consider the basket to be an own "activity" in the sense, there is a lot to do in the basket and a lot to view Mar 04 12:14:36 the friendslist Mar 04 12:14:59 yes but I would like the shoppingbasket you could use while browsing just to be a sort of preview Mar 04 12:15:08 when you actually had to order you would have to go into the 'right' shopping basket Mar 04 12:15:08 yeah you could do it that way Mar 04 12:15:25 the thing is.. imagine having to run through 4000 objects and pick out 200 Mar 04 12:15:30 you want easy access to that basket Mar 04 12:15:32 but give the user an action item! don't just use the slide gesture Mar 04 12:15:41 do like in the (pretty bad designed) facebook app :) Mar 04 12:15:57 what do you mean like a button to pull it forwards ? Mar 04 12:16:22 just a button to click and it slides in Mar 04 12:16:26 (like facebook app :D) Mar 04 12:16:41 look at the picture Mar 04 12:16:43 I was wondering Mar 04 12:16:53 just being able to click on that tiny tall bar Mar 04 12:16:55 on the first picture Mar 04 12:16:58 and then it would slide it Mar 04 12:17:14 so as if you all the time was watching 10% of the shopping basket Mar 04 12:17:15 so you want to waste space on the whole side of a smartphone screen? Mar 04 12:17:23 instead of just putting a small icon in the actionbar :) Mar 04 12:17:30 yes lol Mar 04 12:17:49 alright so lets say I dont do that Mar 04 12:17:54 grrr its just Mar 04 12:18:03 yeah design is not an easy field :) Mar 04 12:18:07 I wanna go 2013.. its all fast and no buttons.. Mar 04 12:18:14 wrong :D Mar 04 12:18:16 its fast yeah Mar 04 12:18:16 slide slide slide bam! Mar 04 12:18:22 and no buttons make it slow Mar 04 12:18:32 something that breaks out users the most is: they don't see what they can do Mar 04 12:18:38 or can't guess from what they are seeing Mar 04 12:18:42 even in 2013 :) Mar 04 12:19:03 ofc.. thats why I was thinking about the 10% stealing of the screen which of course is a lot Mar 04 12:19:03 so general design approach: never hide functionallity Mar 04 12:19:17 if you MUST, make sure to do it in a standard conform way, so the user will find it anyway Mar 04 12:19:30 alright at least admit.. if you look at the first picture.. Mar 04 12:19:30 but you only need a small actionitem? Mar 04 12:19:32 with a basket Mar 04 12:19:38 every user will know oh this icon shows my basket! Mar 04 12:19:50 in fact it doesn't matter if it slides in then, or opens a new activity Mar 04 12:19:56 if you look at the first picture.. at least admit you know that you are suppose to slide to the side Mar 04 12:19:59 that there is something there :) Mar 04 12:20:01 because the user expects the basket and she gets it Mar 04 12:20:07 My app has the following permission... android.permission.WRITE_EXTERNAL_STORAGE, however, some users are still getting a IOException: Permission Denied error when my app tries to save an image to /mnt/sdcard Mar 04 12:20:11 is there a way to use a AlertDialog.Builder to have a dialog with a msg and a checkbox option? (something like "question? []Don't ask again" ) Mar 04 12:20:23 the thing with the new activity timroes is.. though I'm new at this I understand it as such Mar 04 12:20:23 P3nnyw1se: with the second picture beside: yes Mar 04 12:20:30 you cant have 2 activity running at the same time Mar 04 12:20:31 correct ? Mar 04 12:20:42 only watching the first one without anything else I think i would havbe thought you left some square there :D Mar 04 12:20:48 especially since it also overlapps the title in the top Mar 04 12:21:07 what if it was more slim.. and had like 'Shopping Basket' Mar 04 12:21:10 written downwards Mar 04 12:21:10 :P Mar 04 12:21:13 P3nnyw1se: you can, no matter how many activities are running, code it that way, that ur user will always have consistency Mar 04 12:21:26 meaning going back to the shop will take him directly where he was Mar 04 12:21:33 I just dont wanna recreate the activity with the shopping items Mar 04 12:21:39 we are still pretending this is a list of 4000 items Mar 04 12:21:54 don't worry about that :D Mar 04 12:22:08 android will cache stuff, and not load the whole list in the beginning Mar 04 12:22:27 and u sure it wouldn't be easier to just keep that tiny basket as a fragment =? ;) Mar 04 12:22:41 yeah ofc everything is a fragment :) Mar 04 12:23:00 i am not against the sliding in stuff Mar 04 12:23:02 (not completly) Mar 04 12:23:09 i am just against that space wasting bar at the side :D Mar 04 12:23:55 you can have it slide it when you slide or open on the action item click Mar 04 12:24:01 and on a tablet you can then show both beside each other :) Mar 04 12:25:01 alright Mar 04 12:25:05 wait a second soon got version 2 ready Mar 04 12:25:11 for your crazy approval Mar 04 12:25:28 that crazy approval will leave soon, need to be in school in some time Mar 04 12:25:34 30sec Mar 04 12:25:38 no prob :D Mar 04 12:25:47 i said not immeditaly just soon :D Mar 04 12:27:20 okay so kinda version 2 Mar 04 12:27:20 http://i47.tinypic.com/v4mf7c.jpg Mar 04 12:27:31 clickable to pull out.. Mar 04 12:27:33 and you have to slide it back in Mar 04 12:27:33 thats nice looking Mar 04 12:27:34 :P Mar 04 12:27:58 like a penis? Mar 04 12:28:02 or create another icon in it to slide it back in :D Mar 04 12:28:14 and ofc the button wouldn't say basket but it would be a basket icon :D Mar 04 12:28:29 whats with you and those icons Mar 04 12:28:30 ! Mar 04 12:28:36 why cant we do more sliding Mar 04 12:28:46 please read http://d.android.com/design :) Mar 04 12:28:55 yeah yeah :P I will but.. Mar 04 12:28:57 to get familiar with the basic android design concepts Mar 04 12:29:17 in all seriousness if you had like a basket that covered 80% of the screen and it gave out the feeling like on the picture Mar 04 12:29:21 or to point your directly :P http://developer.android.com/design/patterns/actionbar.html Mar 04 12:29:25 that it was in the foreground of something Mar 04 12:29:31 I would expect it possible to slide it back Mar 04 12:29:44 yeah ofc Mar 04 12:29:51 i said an "OR"! Mar 04 12:29:58 you can also still slide it out even though you made an action item :) Mar 04 12:30:02 slide out slide in Mar 04 12:30:06 or click the icon Mar 04 12:30:32 alright so maybe i can accept this approach :P Mar 04 12:30:38 oh god.. .searching.. didn't even think of that Mar 04 12:30:52 :D Mar 04 12:31:10 thats just a sketch ofc I will have to have an action bar Mar 04 12:31:18 also with possibilties of jumping between activities Mar 04 12:34:27 and I want so that each time the user adds and item to the basket it prompts him with a dialouge box Mar 04 12:34:32 "are you really sure?!?!?" Mar 04 12:35:17 ... Mar 04 12:35:20 :D Mar 04 12:35:34 do you believe me a "please don't" or should i explain more :D Mar 04 12:35:54 I also want to do a christmass theme with red colors that activates automatically the first of december Mar 04 12:35:59 with snow flakes dropping down the screen Mar 04 12:36:05 and 8bit christmas music Mar 04 12:36:09 playing constantly Mar 04 12:44:17 sounds like a good idea to make the company a happy customer :D Mar 04 12:45:10 :) Mar 04 12:47:24 so i am off, see you later guys :) Mar 04 13:11:36 hi... I'd like to reuse core android's i18n strings... can I find them somewhere in plain text? Mar 04 13:13:47 for example, I'd like to use the same string for "settings" in my app (it's a phonegap app, I keep my strings NOT in res/values-$$ Mar 04 13:13:53 ) Mar 04 13:14:39 android-defined content is in @android: Mar 04 13:19:36 so if there was software and AI that could do a pretty job of simulating you should raping it be illegal? Mar 04 13:19:56 like that tupac hologram Mar 04 13:21:43 is it possible that static fields get reset after a period of dormancy? o_0 because it sure looks like that's happening to me Mar 04 13:25:32 balls2thewall: yes Mar 04 13:26:04 balls2thewall: android can kill your application if it is in background and relaunch it when you return to it Mar 04 13:33:52 hrnt, so even though my application is still in the recently used list it may be killed? >_> Mar 04 13:34:27 well this sucks, launching an application from an activity somewhere in the middle of the hierarchy >_> Mar 04 13:37:55 balls2thewall: all that should work properly if you are using onSaveInstanceState to save the state Mar 04 13:42:39 why are you using static fields? Mar 04 13:43:23 hold some stuff that should live only until the app is relaunched Mar 04 13:43:36 balls2thewall: it is a recently used list after all, and not a running processes list Mar 04 13:44:20 :/ i had assumed it shows applications currently alive Mar 04 13:44:21 balls2thewall: use SharedPreferences or a database or a file on sd Mar 04 13:44:47 or onSaveInstanceState, even better Mar 04 13:45:08 always assume: if it's not visible, it's been killed Mar 04 13:45:41 balls2thewall: http://developer.android.com/guide/components/activities.html#SavingActivityState Mar 04 13:46:21 balls2thewall: you should probably read the other stuff about the activity and process life cycle as well Mar 04 13:46:28 thx i know about it i just dont think its an appropriate way to handle this. the data is accesible from several views Mar 04 13:46:38 i guess ill just migrate that stuff to a custom application class Mar 04 13:48:09 balls2thewall: you need to persist it somehow Mar 04 14:15:34 hey.. does anyon know of a good .asx parser. The file in question is streaming live from an webste. I can't seem to figure out 1 Mar 04 14:15:45 how to parse to see the real stream URL Mar 04 14:17:30 sup Mar 04 14:18:38 there is any MVC framework for android development Mar 04 14:18:57 yes, services + activities. Mar 04 14:19:11 thats not MVC Mar 04 14:19:25 it's SPC Mar 04 14:19:37 touche Mar 04 14:19:47 KillmeSoftly: ASX is just XML, just use a pull parser or something Mar 04 14:19:49 can you link the webpage ? pls :) Mar 04 14:19:49 spaghetti pasta controller Mar 04 14:19:56 RobsonKarls: d.android.com Mar 04 14:20:17 fuck :( Mar 04 14:20:45 I need to develop an app for my website Mar 04 14:21:03 i just want to know if there is any good MVC framework Mar 04 14:21:33 low: rThanks Mar 04 14:21:45 lov Mar 04 14:22:13 http://stackoverflow.com/questions/2925054/mvc-pattern-in-android Mar 04 14:22:32 RobsonKarls: why don't you try doing a google search first Mar 04 14:22:37 for "MVC framework android" Mar 04 14:22:49 instead of going "Hay guys. Guys. Guys. Hey guys. MVC? Guys? Guys. Guys." Mar 04 14:22:53 this is the answer I agree most with "Android is terrible at MVC. Android's API philosophy is template/inheritance over composition; which makes it bad for testing too. That being said, there are ways to get MVC out of android, but it is not intuitive." Mar 04 14:23:07 Hey Mar 04 14:23:24 i did Mar 04 14:23:26 Is it worth it to sacrifice readibility for minor preformace boosts? Mar 04 14:23:27 Most Valuable Controller Mar 04 14:23:30 inheritance over composition seems to be main theme of Java and "OOP" Mar 04 14:23:32 Mega1mpact: no Mar 04 14:23:44 Mega1mpact: depends what kind of boosts, where, and what kind of readability Mar 04 14:23:45 not unless you have the best unit tests everrrr Mar 04 14:24:02 Small stuff like this: http://pastebin.com/eMFJu0cH Mar 04 14:24:15 the dates.length < 2 part Mar 04 14:24:39 but that's a very simplistic example Mar 04 14:25:20 how would you improve that performance and sacrifice readability Mar 04 14:26:23 we need gamification of development Mar 04 14:26:31 I want achievements for fixing NPE's Mar 04 14:26:32 0 Mar 04 14:27:21 anyone know what the max notification size is for gcm? google-foo is failing me Mar 04 14:27:42 4kb Mar 04 14:27:47 thanks Mar 04 14:27:50 c2dm was 1kb Mar 04 14:45:59 mikedg, http://channel9.msdn.com/achievements/visualstudio Mar 04 14:46:13 now that ive been doing some windows stuff i should use that Mar 04 14:46:20 :) Mar 04 14:49:41 i - hate - noobs which rate bad because of own silliyness :( How about you guys? What are you doing to avoid bad ratings? Mar 04 14:49:55 i love those achievements Mar 04 14:50:07 misterli, I never got one! Mar 04 14:50:08 first night i installed it i got the "lonely" achievement :( Mar 04 14:50:18 Zharf, how many ratings did you get already? Mar 04 14:50:28 i had about 120 5* ratings before getting my first 1* rating -_- Mar 04 14:50:30 13 :E Mar 04 14:50:32 :) Mar 04 14:50:41 and the faggot didnt even wrote why he gave 1* Mar 04 14:50:54 I would just stop caring about those Mar 04 14:51:51 it's because to users there's two ratings available Mar 04 14:51:55 1 or 5 Mar 04 14:52:13 yes... i hate those guys Mar 04 14:53:03 by the way.. is there any way to see all comments and not only the commects in its own country? Mar 04 14:53:10 How to fix. This code works fine on pc, but throw exception on the last line in mobile device as in virtual device http://pastebin.com/rtBQVWeZ Mar 04 14:59:03 does anybody know? Mar 04 15:03:35 Hi guys, i'm trying to have my app add a Google account to y device at the fist start, but I keep getting a SecurityException "caller uid 10045 is different than the authenticator's uid", do you know what that could mean ? Mar 04 15:05:23 pswrdf: have you considered looking at the exception to see what the error message is? Mar 04 15:05:30 pswrdf: also, did you request the INTERNET permission? Mar 04 15:05:49 lov, yes permission is added Mar 04 15:05:52 misterli: I got a bad rating because of someone else's app. Mar 04 15:06:01 pswrdf: so...... what's the exception? Mar 04 15:06:10 (please be more specific than "IOException") Mar 04 15:07:00 also, it's possible that android won't handle ftp connections via URL.openConnection. Mar 04 15:08:25 NetworkOnMainThreadException Mar 04 15:10:12 .... are you doing networking on the UI thread? Mar 04 15:10:13 (yes?) Mar 04 15:10:16 consider not doing that. Mar 04 15:10:18 that's easily fixed Mar 04 15:10:32 also, have you done so much as to type "NetworkOnMainThreadException" into google? Mar 04 15:10:38 because that would actually explain exactly what is happening Mar 04 15:10:39 and why Mar 04 15:10:40 and how to fix it Mar 04 15:10:59 reading the name would suffice to know what is happening Mar 04 15:11:02 lov loves being obtuse, just throw it in try{...}catch(Erorr err){} Mar 04 15:11:12 I like that you misspelled Error Mar 04 15:11:38 clearly the only way to fix it is to fork ASOP, make the change so that it doesn't throw that, then convince samsung et al to use your branch instead of google's Mar 04 15:11:40 I wanted to see the Eclipse is telling me it can't find the Erorr class question in 5 minutes Mar 04 15:11:53 heh Mar 04 15:25:58 do u guys know what the background music is this? Mar 04 15:26:02 http://www.youtube.com/watch?v=3dq2dJcZBJA Mar 04 15:26:23 .... why are you asking here? Mar 04 15:26:37 sjit arggh wrong channel Mar 04 15:29:41 fucking synergy was driving me nuts the other day Mar 04 15:29:51 kept bouncing me to a different laptop in the middle of typing Mar 04 15:29:57 i typed 2 paswords into skype :/ Mar 04 15:30:01 synergize your backwards overflow! Mar 04 15:30:14 sounds like a win-win strategic partnership. Mar 04 15:38:02 Hi! Is there some way to combine previously defined strings in strings.xml (localization purposes) Mar 04 15:38:39 combine? Mar 04 15:38:46 foo Mar 04 15:38:47 foo+bar Mar 04 15:38:53 something like that? Mar 04 15:40:34 I found a thread on stackoverflow and it seems that it is not possible? Mar 04 15:40:51 in strings.xml, no. Mar 04 15:41:25 It might be foo+bar in some languages, and bar+foo in others Mar 04 15:41:30 ^^ Mar 04 15:41:31 So it doesn't really make sense to combine Mar 04 15:41:34 or just "bar" Mar 04 15:41:50 Alright, so for english Ill have 5 min and then another definition for just min Mar 04 15:41:56 no, absolutely not. Mar 04 15:41:59 do not do that. Mar 04 15:42:11 $1%d min Mar 04 15:42:19 inject the actual value at runtime. Mar 04 15:42:33 Or maybe even plurals. 1 minute, 5 minutes Mar 04 15:42:34 hehe, sorry I meant that Mar 04 15:42:34 foo.setText(getString(R.string.n_mins, 5)); Mar 04 15:42:36 haha Mar 04 15:42:40 yeah, you need to worry about plurals Mar 04 15:42:44 and languages with 1-2-many Mar 04 15:42:52 i18n is a fucking nightmare Mar 04 15:43:05 just hardcode all your strings in english and flip people the bird if they complain Mar 04 15:43:19 then put on your shades and drive away Mar 04 15:43:24 SimonVT: I think it would make sense. Say I have minutes already translated... or .... your right Mar 04 15:43:31 maybe you cannot simply combine them Mar 04 15:43:33 haha Mar 04 15:43:35 damnit Mar 04 15:43:47 You cannot Mar 04 15:43:54 :) Mar 04 15:43:54 bear in mind, that if you're using a competent translation company, they'll build up a database of meanings which can be used to easily and consistantly translate things Mar 04 15:44:00 so, reuse isn't as big a deal as you think. Mar 04 15:44:31 as programmers we like to reuse, huh? :) Mar 04 15:46:01 %1$s minutes <-- this wont work to send to customer for translation Mar 04 15:46:06 Any ideas? Mar 04 15:46:26 learn the language Mar 04 15:46:31 bed a woman of that language Mar 04 15:46:35 tie her in your basement Mar 04 15:46:40 have her translate whatever you ask Mar 04 15:46:41 Otherwise I ll spend days on muppeting around localization Mar 04 15:46:52 you can muppet around her Mar 04 15:46:56 nice Mar 04 15:48:50 I just wanted to thank you guys Mar 04 15:48:53 For your help yesterday Mar 04 15:49:13 For recommending me to use an Intent Service over an AsyncTask, haha. That actually sped things up quite a bit. Mar 04 15:49:50 selar1: Use plurals for stuff like that Mar 04 15:49:54 "1 minutes" wont look good Mar 04 15:51:13 but it makes more sense to non english speaker Mar 04 15:51:20 And your customer better get used to that format if they want to localize their app Mar 04 15:52:42 By the way guys, I'm getting a weird error when I try to use drawables from the Android Icon Pack on the Developer site. Mar 04 15:54:21 SimonVT: what do you mean? Mar 04 15:54:26 I was using plural Mar 04 15:54:38 or is it something builtin that you are referring to? Mar 04 15:54:40 https://developer.android.com/guide/topics/resources/string-resource.html#plurals-element Mar 04 15:55:40 Thanks Mar 04 16:16:15 is there a way to create my own custom remote exception? Mar 04 16:18:08 no. Mar 04 16:20:51 Good morning. Is anyone here familiar with Unity3d's Google Play Downloader? Mar 04 16:21:19 MoProductions, no, but i'm familiar with unity3d Mar 04 16:21:44 kaneda^: It's supposed to be an "automatic" solution but I'm getting errors about not being able to find resources. Mar 04 16:21:49 Er obb expansion files Mar 04 16:22:46 have you contacted unity? Mar 04 16:23:05 they do have excellent support Mar 04 16:24:12 I've tried posting to the forms about topics in the past but they're usually ignored. Mar 04 16:24:15 o/ Mar 04 16:24:30 I haven't tried emailing them directly yet. I think that's a paid service isn't it? Mar 04 16:24:36 MoProductions, if they're ignored then you're asking a bad question, probably Mar 04 16:24:45 and you need to use the forums Mar 04 16:25:01 I'm not able to use the build.xml from android-sdk/tools/ant it crashed on checkenv (unknow name) any idea? Mar 04 16:25:11 The question was perfectly clear, it just seemed like no one had an answer. Mar 04 16:25:34 I usually try to get as much info as I can before I hit the forums though. I'm still digging into this a bit hoping to find someone who's gone through it. Mar 04 16:27:08 MoProductions: pay the $5 for an email answer. Mar 04 16:27:21 baptistem: you kind of need to give us more info than that. Mar 04 16:27:42 lov: If that's all it takes i'd be willing to spend that. Mar 04 16:28:35 ok let start again : I try to launch ant task "debug" from ${sdk.dir}/tools/ant/build.xml the build failed due to unknow value "checkenv" Mar 04 16:29:03 yeah we're having trouble with the "the build failed due to unknow value "checkenv" Mar 04 16:29:06 part Mar 04 16:29:11 pastebin the last part of your output. Mar 04 16:29:20 it might reference a line number, take a look at that line number? Mar 04 16:29:23 Are you using a semi-sane OS? Mar 04 16:29:45 setButton(DialogInterface.BUTTON_NEUTRAL, updateReminderButtonText(), onReminderChanged()); <--- any idea why clicking on this button dismisses of my dialog? I dont want that.. I want to be able to keep pressing the button Mar 04 16:30:09 .... why? Mar 04 16:30:21 Consider not using an AlertDialog if you want some sort of other behavior. Alternately, not calling through to super. Mar 04 16:30:22 lov: on linux, line 401 Mar 04 16:30:24 look at the docs. Mar 04 16:30:30 does a dialog automatically dispose when one of its buttons are pressed? Mar 04 16:30:41 I am not Mar 04 16:30:56 I am not invoking super Mar 04 16:31:01 baptistem: what version of ant are you using? Mar 04 16:31:10 it looks like line 401 is a sanity check to ensure that there's a 'checkenv' macro Mar 04 16:31:50 not sure the IDE ant and shell ant are the same but 1.8.2 Mar 04 16:32:13 lov: so there is not way around it? I have to swap my dialog into something else? Mar 04 16:32:27 selar1: I have no idea. I encourage you to read the documentation and check stackoverflow. Mar 04 16:32:37 most people generally do not want their dialogs to stay open after the user clicks something. Mar 04 16:32:53 I want to be able to toggle Mar 04 16:32:56 baptistem: not sure offhand. You might want to post to the google groups or something Mar 04 16:32:58 alrigjt, thanks Mar 04 16:33:03 selar1: great, you probably don't want an AlertDialog then. Mar 04 16:33:07 lov: the shell ant output another thing, I will try to work with that (for now it complains about path) I will be back if I'm block again Mar 04 16:33:41 hi guys Mar 04 16:33:48 could you pls take a look at http://stackoverflow.com/questions/15201877/fragment-covers-another-fragment-and-scrollview-doesnt-scroll Mar 04 16:40:55 is there any official doc for using ant with android? Mar 04 16:41:08 Hey guys, I was wondering if there was anyone who has experience in jme3 on android that I could ask a quick question to Mar 04 16:41:10 ? Mar 04 16:41:37 lov: In this case, would I rebuild this TimepickerDialog into being an Activity that has a timepicker? Mar 04 16:42:53 No, it must be a dialog where I set the contentview right? Mar 04 16:43:25 Whats the easiest android market to submit to first? Mar 04 16:43:37 is there a way to create my own custom remote exception? Mar 04 16:45:46 got a problem displaying two fragments correctly and my scrollview does not scroll Mar 04 16:45:57 could you plstake a look Mar 04 16:46:11 I'm looking to represent a map of the London boroughs in an app, where each borough can be tapped to then display particular information etc. As far as displaying a map of tappable objects goes, is jme3 suitable for this? Any advice you may be able to offer on this will be greatly appreciated Mar 04 16:46:16 http://stackoverflow.com/questions/15201877/fragment-covers-another-fragment-and-scrollview-doesnt-scroll Mar 04 16:46:48 Or if you know any alternatives that may be of use to me etc. jme3 was a suggestion from somebody else Mar 04 16:47:18 I have a new programming methodology Mar 04 16:47:25 it's called Device broken Testing Mar 04 16:47:33 you give your developers a device with a broken screen Mar 04 16:47:44 so that they develop UI unit tests Mar 04 16:48:14 Damage Device Testing Driven Development Mar 04 16:48:15 DDTDD Mar 04 16:48:23 boom! Mar 04 16:48:28 i just changed the world Mar 04 16:59:26 how to access file througth Uri? new File(uri.getPath()); shows no such file Mar 04 17:02:16 what is the uri a uri too? Mar 04 17:02:18 to Mar 04 17:04:33 e.g. /external/video/media/4174 Mar 04 17:06:31 mikedg: Mar 04 17:06:58 does anyone know what ImageLoader is? Mar 04 17:23:13 why the uri have such addr? /external/video/media/4174 what does it mean, and how to access such file? Mar 04 17:23:23 imageloader is some shitty third party lib Mar 04 17:27:27 I think it may have been made by a googler, but the underlying structure is a mess Mar 04 17:27:41 or... the client that I saw using it butchered it Mar 04 17:27:44 I'm not sure Mar 04 17:32:45 Can anybody help me, i'm still googling but have no any result Mar 04 17:33:35 12:23:21 < pswrdf> why the uri have such addr? /external/video/media/4174 what does it mean, and how to access such file? Mar 04 17:33:41 your question doesn't actually mean anything. start over. Mar 04 17:33:51 why does the uri have an address? Because it's a uri. Mar 04 17:33:56 what's the actual problem that you're having? Mar 04 17:34:13 12:23:21 < pswrdf> why the uri have such addr? /external/video/media/4174 what does it mean, and how to access such file? Mar 04 17:34:16 And do you have permission to read external storage? Mar 04 17:34:19 I'm guessing 12:23:21 < pswrdf> why the uri have such addr? /external/video/media/4174 what does it mean, and how to access such file? Mar 04 17:34:27 argh damnit Mar 04 17:34:35 11:59:34 < pswrdf> how to access file througth Uri? new File(uri.getPath()); shows no such file Mar 04 17:34:45 the answer is "You probably shouldn't be using File to access remote content" Mar 04 17:34:58 download the content locally, then use a File to reference the local content. Mar 04 17:35:32 I mean technically you could do it but it looks like whatever you're passing the File to doesn't understand how to parse anything but local content. Mar 04 17:36:32 Hello, can anyone guide or hint me with some problem i`m having. I`d like to develop video stream from android phone to PC over 3gp connection. Mar 04 17:36:43 Closest to what i`ve found is exactly this -> http://code.google.com/p/ipcamera-for-android/ Mar 04 17:36:56 Is there a question in there? Mar 04 17:37:14 but it uses LocalServer which only works with wifi/local network Mar 04 17:37:38 and? Mar 04 17:38:31 Well the question is can anyone guide how would be the easiest and best solution for doing something similar with addition to work with 3gp Mar 04 17:39:57 you're probably already done. All you need to do is punch through NAT somehow Mar 04 17:40:00 That's your real issue. Mar 04 17:40:10 that's going to be potentially non-trivial Mar 04 17:40:35 Yeah, i was reading already that it can be pain in the ass Mar 04 17:40:38 I'm assuming by "3gp" you mean "Mobile network data connection" not "3gp video codec" Mar 04 17:40:43 yeah Mar 04 17:42:12 right. Mar 04 17:42:17 So you really need to figure out that NAT punching part. Mar 04 17:42:29 https://play.google.com/store/apps/details?id=com.dooblou.SECuRETLiveStream&hl=sl Mar 04 17:42:32 10. Only uses a WiFi network – does NOT support 3G; Mar 04 17:42:45 That`s what i`m worried about, there is few apps that does what i`m trying to do Mar 04 17:43:04 it seems everyone took the LocalServer idea Mar 04 17:43:24 hopefully the NAT punching part is not something impossible ;D Mar 04 17:43:47 http://code.google.com/p/spydroid-ipcamera/ another one wit supporting only local streaming Mar 04 17:51:55 Hey again. Does anyone here have experience using Unity 4's Google Play Downloader? Mar 04 17:55:48 MoProductions: didn't we tell you to email Unity? :( Mar 04 17:56:04 bLeeeh: it's pretty difficult which is why you're not seeing it Mar 04 17:56:08 lov: My boss is the one with the email connection and he's not around yet. I'm trying to solve it before he gets back. Mar 04 17:56:16 you don't have your own email address? :X Mar 04 17:56:30 lov: I do but the boss knows somebody on the inside apparently. Mar 04 17:59:50 lov: yeah i figured so, so far only SIPdroid managed to suceed at it Mar 04 17:59:59 it seems they used jstun Mar 04 18:00:13 "JSTUN" - Java Simple Traversal of User Datagram Protocol (UDP) Mar 04 18:03:42 I just dropped $25 on the Android Developer Icon Pack. ._. Let's hope I don't regret this, lol. Mar 04 18:05:55 I regret you telling me about it. Mar 04 18:06:36 lov... lol Mar 04 18:07:02 BullShark >> hello BOSS Mar 04 18:15:14 what is the new "Google Analytics App Tracking SDK" all about? is it used in conjunction with the Google Analytics SDK or does it replace it? Mar 04 18:16:49 I think I got my code working, but I'm getting the following error in the parsing :/ Mar 04 18:16:50 03-04 13:15:53.035: E/SpannableStringBuilder(23037): SPAN_EXCLUSIVE_EXCLUSIVE spans cannot have a zero length Mar 04 18:17:06 no crashes or anything, but info is not being parsed :( Mar 04 18:33:48 StingRay_ >> hello Mar 04 18:34:27 hi Mar 04 18:34:44 :| Mar 04 18:36:18 Which would be the best market for my first android release? Mar 04 18:36:24 The easiest? Mar 04 18:36:36 apples appStore Mar 04 18:36:55 standard nerds. Mar 04 18:38:08 StingRay_: android store :) Mar 04 18:38:56 how can I call stopForeground from outside the Service? Mar 04 18:39:23 Quacked: bind to it, send an intent or some other broadcast Mar 04 18:42:53 bind to it.. hmm Mar 04 18:55:10 can you explain a bit more, Ge0rG? Mar 04 18:56:17 Quacked: http://www.vogella.com/articles/AndroidServices/article.html is a good intro about communicating with a service Mar 04 18:57:59 anyone have experience using google play services on a minSdk=7 device? Mar 04 18:59:33 The docs say google play services works on API 8 and up, but was wondering if I could keep minSdk=7, and use GooglePlayServicesUtil.isGooglePlayServicesAvailable() to handle the cases where play services dont work Mar 04 19:03:50 oh.. looks like the play services library itself is minSdk=8.. nvm Mar 04 19:03:57 you really want to make that trouble for 2%? Mar 04 19:04:33 if it were up to me i woudlnt Mar 04 19:04:41 but in the end its not my decision :( Mar 04 19:04:52 hi StingRay` Mar 04 19:05:06 in the end it won't pay of for the one paying you :) Mar 04 19:05:06 StingRay` -> somebody copied your name, StringRay Mar 04 19:05:06 BullShark >> yes BOSS Mar 04 19:06:30 BullShark: he is not me Mar 04 19:06:34 ok Mar 04 19:08:00 yo stingray Mar 04 19:08:04 what's poppin Mar 04 19:08:20 trying to make a gem swapping game for my wife for her birthday using pics of the fam. right now im using a relativelayout with several linearlayouts, and in each of those having several ImageViews. ran into an issue with animations between the linear layouts though, so does anyone have any suggestions for other types of layouts to hold a 10x10 grid of images where animations won't be cropped? Mar 04 19:09:24 farkerhaiku: absolutelayout Mar 04 19:09:32 StingRay_ >> yes i am not you. and you are not me Mar 04 19:09:34 minimal amount of work Mar 04 19:09:41 your wife wont care that you are using deprecated apis Mar 04 19:10:03 StingRay`: what I ment was your new here Mar 04 19:10:05 farkerhaiku: yes, a 'gridlayout' ;) Mar 04 19:10:36 yes StingRay_ i am a friend of BullShark Mar 04 19:10:49 Anyone know where I can get a 4.2.1 factory image? Like whats on https://developers.google.com/android/nexus/images but with a 4.2.1 link? Maybe this is the wrong chat… but figured I'd ask. Mar 04 19:11:31 farkerhaiku: maybe a tablelayout Mar 04 19:12:10 Rob|boR: how goes the learning ? Mar 04 19:12:12 :) Mar 04 19:13:18 can you recommend me a sketch program to 'draw' android apps easily to get an idea of what one is making Mar 04 19:13:23 like Isketch for swing Java Mar 04 19:13:33 it goes alright Mar 04 19:13:42 P3nnyw1se: pencil Mar 04 19:13:46 I'm learning and working on the existing project side by side Mar 04 19:13:49 and no I was not being sarcastic Mar 04 19:14:07 P3nnyw1se: http://pencil.evolus.vn/ Mar 04 19:14:40 :) Mar 04 19:14:47 is pencil just a drawing program, or does it hold any specific reasons as to why use it with Android? Mar 04 19:15:01 as android templates Mar 04 19:15:13 well and iOS too i guess Mar 04 19:15:15 and others Mar 04 19:15:26 good for quick idea prototypes Mar 04 19:15:28 hey guys, I am loading an image into a webveiw, and want to setup an image map… but I am wondering what is the best way considering the different screen sizes of android devices. Mar 04 19:15:56 but at the end of the day, you kinda want photoshop and some motion to really do so tests for ideas Mar 04 19:16:03 all depends what you want really Mar 04 19:16:09 this is just for sketching quick ideas.. Mar 04 19:16:22 and you know in Isketch you could just drag an drop a lot of the GUI elements Mar 04 19:16:27 so was hoping android had a silmiar one Mar 04 19:16:37 P3nnyw1se: like I said Mar 04 19:16:42 DL'ing right now Mar 04 19:16:42 pencil project Mar 04 19:16:44 or Mar 04 19:16:51 an actual pencil and some paper Mar 04 19:16:52 :) Mar 04 19:17:00 yeah thats not gonna happen Mar 04 19:19:55 mr.sting, you are like the sun Mar 04 19:19:58 for you bring sunshine Mar 04 19:20:03 :) Mar 04 19:20:14 I'm a what now ? Mar 04 19:20:20 sorry, I'm not thinking straight, so tired from coding Mar 04 19:20:26 have a minor headache Mar 04 19:20:27 :) Mar 04 19:20:28 eyes are sore Mar 04 19:25:27 Can't use GridLayout, her phone is gingerbread Mar 04 19:25:37 farkerhaiku: you can, support lib version Mar 04 19:33:42 hello, anyone knows a way to make a virtual keyboard always appear on the screen, no matter if theres a hardware keyboard or barcode scanner plugged in ? Mar 04 19:33:49 from an app Mar 04 19:36:18 MDijkstra, thanks Mar 04 19:36:23 you type a.showAll(getView()); and import android.util.vkeyboard.* Mar 04 19:36:25 just out of interest.. using android phone.. do you prefer actionbars at the top or bottom of the screen ? Mar 04 19:36:26 I'm kidding lol Mar 04 19:38:57 hmm, I've seen a few apps a movable action bar Mar 04 19:39:00 that moves up and down Mar 04 19:39:07 I liked those, what kind of app do you have Mar 04 19:39:10 what does it do Mar 04 19:39:47 rent items Mar 04 19:39:59 basicly browse through lists.. add to shopping basket Mar 04 19:40:01 then order it Mar 04 19:41:12 hei guys ... when I make a new release of an app, after editing what I wanted in the app, I need to change the version code and version name in the Manifest..and then export it using the same key used the first time Mar 04 19:41:13 ah, then top Mar 04 19:41:14 is that right? Mar 04 19:41:18 and is that ALL? Mar 04 19:41:29 or is there anything else i need to do? Mar 04 19:43:06 really? no one is online? :) Mar 04 19:43:14 that's a first at this hour :) Mar 04 19:45:08 * Rob|boR tired. Mar 04 19:46:20 * StingRay_ just woke up Mar 04 19:46:52 well 1 hour ago, but thats bad, cause it 7:46pm here Mar 04 19:48:40 key stinkyray ... you have any ideas? Mar 04 19:48:44 lol..sorry..i mean stingray =)) Mar 04 19:48:46 omg Mar 04 19:48:48 sorry :)) Mar 04 19:49:07 aahaha....made myself laugh Mar 04 19:49:19 you keep doing that Mar 04 19:49:30 shows intelligence ...oh wait Mar 04 19:53:19 i'm sorry, I really didn't mean it :) t'was a typo. Mar 04 19:54:04 bogo10: typo ? I think not Mar 04 19:54:51 your a coder right ? odds of hitting 4 incorrect keys that are no place near intended key and still form a work that is legit and also mildly insulting Mar 04 19:55:09 word* Mar 04 19:57:11 yeah, i guess typo isn't the proper word then (english's not my first language :) ) ... Mar 04 19:57:13 i just misread your name :) It really wasn't intentionally. Mar 04 19:57:16 tis ok, I care only about my next cup of coffee and nicotine rush at this point Mar 04 19:57:24 hehe... :) Mar 04 19:58:41 StingRay_ -> is your nick also StringRay? Mar 04 19:59:47 BullShark >> nop Mar 04 19:59:50 lol Mar 04 20:01:46 BullShark: StingRay` where are you kids from then :) Mar 04 20:03:49 somebody else comes in here with the nick StringRay Mar 04 20:04:14 no just me Mar 04 20:04:36 just me Mar 04 20:05:40 BullShark: how old are you ? Mar 04 20:05:49 I'm guessing 15? Mar 04 20:05:59 or maybe 14 Mar 04 20:06:03 close ? Mar 04 20:06:51 ok now my estimation has gone to 12 Mar 04 20:06:53 :) Mar 04 20:07:14 StingRay_ >> my estimation -12 Mar 04 20:07:25 StingRay_ -> enjoy =) Mar 04 20:07:41 you know there is no real point to what your doing right ? Mar 04 20:08:02 login in twice and attempting to flood me Mar 04 20:08:08 with a 3rd Mar 04 20:08:23 tis just silly Mar 04 20:08:25 StingRay` -> i think he's talking to himself again Mar 04 20:08:34 lol Mar 04 20:08:35 ugh Mar 04 20:09:15 StingRay_ >> how old are you ?? can we estimate? Mar 04 20:09:55 BullShark >> what is your estimate about StingRay_ Mar 04 20:10:11 Take this elsewhere Mar 04 20:10:13 StingRay` -> 55 years old pedophile Mar 04 20:10:23 senior citizen Mar 04 20:11:31 And BullShark, stop impersonating StingRay_ Mar 04 20:11:52 SimonVT -> i'm not. he's impersonating my friend StingRay` Mar 04 20:12:12 SimonVT -> many times he has confused me with that Mar 04 20:13:49 Sheesh.. Mar 04 20:14:51 <_ohm> What is the maximum amount of streaming bluetooth connections a device (Nexus 7) can have at once? Mar 04 20:22:23 why do I get android.os.NetworkOnMainThreadException from my HandlerThread when I use URLConnection.connect() Mar 04 20:22:45 Because you're doing network on the main thread Mar 04 20:23:02 It's a HandlerThread, it should be by definition not the main thread Mar 04 20:23:09 StingRay_ -> find anything interesting yet? Mar 04 20:23:17 Maybe you're doing it wrong Mar 04 20:23:59 hei guys...if i update my app...and 100 people download the new version, will the total number of installs go up? (i'm refering to the installs graphic which appears on your app's page on google play) Mar 04 20:24:03 maybe... is it even possible to create a thread class that isn't actually running on another thread? Mar 04 20:24:29 will it go up by 100? Mar 04 20:24:34 Ark42: how are you calling starting the thread? Mar 04 20:24:34 Ark42: we need to go deeper Mar 04 20:24:36 http://inception.davepedu.com/noflash.php Mar 04 20:24:41 -calling Mar 04 20:25:24 Ark42: HandlerThread should have its own (new) thread. Mar 04 20:25:29 I suspect that You're Doing It Wrong. Mar 04 20:25:33 Ark42: pastebin your relevant code? Mar 04 20:25:46 HandlerThread is a Thread.. That you start.. And fetch a Looper from.. That you post Runnables to Mar 04 20:25:51 So you're likely doing it wrong, yeah Mar 04 20:25:53 .... Mar 04 20:25:55 I just realized. Mar 04 20:25:58 You're not starting the thread. Mar 04 20:25:59 Are you. Mar 04 20:26:09 Did you call .start() on your HandlerThread? Mar 04 20:26:09 Probably just calling Thread#run Mar 04 20:26:12 that's what I'm guessing :) Mar 04 20:26:12 yeah Mar 04 20:26:25 But we may never know, cus there's no code Mar 04 20:26:28 Ark42: please pastebin your code. Mar 04 20:27:35 he's calling thread.go Mar 04 20:27:54 go home mikdg you are drunk Mar 04 20:28:28 so guys....can anyone give me an answer? :) Mar 04 20:28:43 No, bogo10, it won't increase by 100 Mar 04 20:28:55 ok, thank you very much ;) Mar 04 20:30:28 pastebin: http://pastebin.com/hpwsqnG0 Mar 04 20:31:15 :| Mar 04 20:31:25 You're creating the Handler on the main thread Mar 04 20:31:55 You're supposed to do new Handler(yourHandlerThread.getLooper()); after you start it Mar 04 20:32:03 >_< Mar 04 20:32:17 Yeah I don't understand why you used this class because you're not actually using it for anything. Mar 04 20:32:35 in the constructor, or override something else from HandlerThread? Mar 04 20:32:39 no. Mar 04 20:32:50 in the constructor, on line 22, use "this" as the argument to your Handler. Mar 04 20:33:24 What? No Mar 04 20:33:45 Move constructing the Handler to after start(), and use getLooper() as the argument Mar 04 20:34:19 oh whoops Mar 04 20:34:21 misread the doc Mar 04 20:34:28 what SimonVT said. Mar 04 20:35:19 Hi. I'm working with API level 2.3.4. I need to set a EditText's available input languages. Can I do that, and how? Mar 04 20:35:21 Ok, I did that, and added the constructor to UploadHandler to pass the Looper to super Mar 04 20:35:39 what about this warning: This Handler class should be static or leaks might occur Mar 04 20:36:58 How can I avoid cursoradapter to be notified for descendents URI? Mar 04 20:39:40 Oh great.. well thanks for the help with the thread setup, that works now.. but the FTP connection can't log in because the password has a > in it, and if I URLencode it in the URI, it just sends the %3E, and if I don't URLencode it, I get "IllegalArgumentException: uri == null" when I connect() Mar 04 20:40:55 Ark42, usually there's a method for encoding the data, like base64 Mar 04 20:42:04 Well it's a URI in the form of ftp://user:pass@host/path/file so I figured URLencode would work... It works to the point of making the Android code happy, but then it doesn't decode the password when sending it back to the ftp server Mar 04 20:42:28 It seems like my issue went unnoticed. Mar 04 20:42:49 I have one notification for each pending alarm and I need the service sticky. How does it sound to have the first notification set to startForeground and the other normal NotificationManager.notify()? Mar 04 20:43:36 Ark42, it makes sense that ">" breaks this encoding Mar 04 20:43:44 Instead of doing START_STICKY which takes a while to restart if Android kills it Mar 04 20:44:39 start a second thread in another process that tries to start your service up every 10 ms Mar 04 20:44:46 kaneda^ - that's why I encoded the > as %3E but then it actually sends %3E in the password Mar 04 20:45:13 mikedg: you're joking? :) Mar 04 20:45:36 Ark42, which makes sense, every standard now says to NOT put the uname/pass in the URL Mar 04 20:45:55 mikedg: Gotta remember a service in another process that keeps starting that service Mar 04 20:46:21 good idea Mar 04 20:46:26 just make them keep trying to start eachother Mar 04 20:46:30 kaneda^ - I don't think URLConnection allows any other way Mar 04 20:46:48 Ark42, i'm sure there's a more advanced/secure way of doing this Mar 04 20:47:31 But is setting one of them to startForeground a bad idea? Mar 04 20:49:49 According to the documentation on URL.toURI() it looks like URLencoding is the correct way to put odd characters like > into any part of the URI Mar 04 20:50:10 yes, but they arent going to be decoded, they're going to be used Mar 04 20:50:10 I think this is actually a bug in the private class FtpURLConnection.java Mar 04 20:50:32 Ark42, i think if the solution requires putting a plaintext passowrd anywhere you should probably rethink Mar 04 20:50:35 FtpURLConnection.java *should* be URLdecoding the user/pass (which in 99% of cases, does nothing) Mar 04 20:51:08 no user sees the plaintext password, I have to build the URI string in code... it's no different than if something had a method .setUsername() and .setPassword() Mar 04 20:51:22 Ark42, all i have to do is listen on the network and i'll see the password Mar 04 20:51:27 this is an inherently poor solution Mar 04 20:52:00 um, yeah... FTP is like that, so is HTTP... I didn't design these protocols, but that's what I have to work with Mar 04 20:52:16 if we need to hide the password from packet sniffers, we use FTPS or HTTPS Mar 04 20:52:19 that's a cop-out to a good solution Ark42 Mar 04 20:52:28 and yes, ftps/https should be used Mar 04 20:52:58 should be, but then we go back to Java just not implementing FTPS, and if it did, I'd probably still have the URI problem with it deciding NOT to URLdecode the password, wouldn't I? Mar 04 20:53:46 did you look at: http://commons.apache.org/proper/commons-net/ Mar 04 20:54:14 seems well implemented to me Mar 04 20:54:17 Ark42: you shouldn't really be using FTP, period. Mar 04 20:54:20 are files in /data/local/tmp just that ... 'temporary" / safe to delete? I see old stuff in mine from uninstalled apps and such Mar 04 20:54:24 what decade are you in? Mar 04 20:54:33 lov, +1 Mar 04 20:54:35 by FTPS do you mean SFTP? Mar 04 20:54:41 So the answer is scrap all the code, use a 3rd party solution, because Java's built-in FTP capabilities are severely broken and poorly implemented... Mar 04 20:54:45 lov, yes, ofc Mar 04 20:54:55 .... yeah I wouldn't exactly cry about that one. Mar 04 20:54:58 Oh no! Poor ftp support! Mar 04 20:55:00 SFTP is not the same as FTPS Mar 04 20:55:03 time to abandon the platform? Mar 04 20:55:04 oh hahahahaha Mar 04 20:55:11 you're actually using the "secure" bolt-on to FTP? Mar 04 20:55:13 instead of SFTP? Mar 04 20:55:24 welp Mar 04 20:55:28 Anyway, the Android app I'm writing has to interface with regular old FTP. I don't get a choice in the matter here Mar 04 20:55:42 then you shouldn't be surprised when the username comes out in plaintext. Mar 04 20:55:48 lov, to be fair int he commons docs it says "FTP/FTPS" Mar 04 20:55:52 although i'm sure it means FTP/SFTP Mar 04 20:56:15 I'm not surprised. Who said I was surprised? I don't care of the user/pass are in plain text, on a private android app used only over a local network Mar 04 20:56:44 FTP isnt even allowed in my internal network Mar 04 20:56:49 which is common fare for at least a decade Mar 04 20:57:03 ^^ Mar 04 20:57:13 no, I think Apache Commons knows the difference. SFTP is FTP over SSH, FTPS is basically the equiv of HTTPS - the same base protocol over SSL/TLS Mar 04 20:57:56 It's not that I'm unaware of the problems with plain-text password or FTP, but yelling about them doesn't solve my problems here. I have to transfer some files from an Android app over regular FTP Mar 04 20:58:22 alright, that's fair. So you should look for a library that does FTP for Java. Mar 04 20:58:26 hmm, it might use auth tls instead, but if that's true this still works for you Mar 04 21:03:21 I think apache commons has an ftp library Mar 04 21:05:53 Ah, that was linked above already. Mar 04 21:06:02 * kakazza reads the backlog some more Mar 04 21:10:11 If I in a BroadcastReceiver want to do stopForeground on a Service, I must bind something somehow? Mar 04 21:18:36 hey guys Mar 04 21:18:42 I posted a question on Stack Overflow: http://stackoverflow.com/questions/15211297/how-can-i-retrieve-the-timestamp-of-a-video-frame-as-its-being-recorded Mar 04 21:18:55 I've been banging away at this for a couple of weeks now Mar 04 21:19:02 i feel like i'm really close, but could use help Mar 04 21:19:23 if anyone has insights on how to get the timestamp for the video frame being saved, that would be awesome. Mar 04 21:19:25 Wonder if I should ask here or in -root et al... or cyanogen.... Mar 04 21:19:41 Is the camera on an android phone/table drivered in kernel, or userspace? Mar 04 21:19:54 Lars_G: depends Mar 04 21:20:35 Did I leave? Mar 04 21:20:36 o.O Mar 04 21:20:45 Lars_G: from Android's PoV, afaik the "driver" is a dynamic library that implements a bunch of interfaces which are used by framework, and said library talks with whatever hw is underneath Mar 04 21:20:58 hmmmm ok Mar 04 21:21:02 I'm fried then Mar 04 21:21:14 ? Mar 04 21:22:07 p_l: I'm looking at the "use an old cheap android phone as a security cam" idea (article) and thinkign on stripping it lower, and using only linux. Mar 04 21:22:12 16:20:27 -!- Lars_G [~Lars@unaffiliated/lars-g/x-000001] has left #android-dev [] Mar 04 21:22:15 16:20:41 -!- Lars_G [~Lars@unaffiliated/lars-g/x-000001] has joined #android-dev Mar 04 21:22:20 lov: Thanks Mar 04 21:22:25 lov: I effed somewhere Mar 04 21:22:44 p_l: you can probably use linux to do this. You just get to write the driver. Mar 04 21:22:55 Yeah, lots of fun Mar 04 21:22:58 I'm sure that there's 1000 webcam kernel modules. Mar 04 21:23:11 That said, there's no reason to not just let android sit idle on top. Mar 04 21:23:14 Lars_G: there's probably some library that implements interface between v4l2 and Android Mar 04 21:23:19 Talk to Jasta, he's done something like this. Mar 04 21:23:36 Yes, and yet cameras are one of the troubles every time a mod wants to toy with a new kernel. and afaik they just glue the binary driver to the new kernel somehow... Mar 04 21:23:41 and you can probably grab parts of the framework to rip out the stuff you need Mar 04 21:23:50 p_l: So, in theory I could work with v4l2 Mar 04 21:24:02 Lars_G: only if the camera was attached this way Mar 04 21:24:10 I have setDeleteIntent in a Service start a BroadcastReceiver, but I need to stopForeground when that intent is triggered. How should I do it? Mar 04 21:24:11 yeah Mar 04 21:24:12 sorry, I misread a bit of your intent, thus the part about v4l Mar 04 21:24:50 anyway, if there's a recent enough firmware for the device, you might be able to slim down android to a very thin layer just supporting a native activity, iirc Mar 04 21:25:19 Quacked: you cant selfStop() ? Mar 04 21:25:39 Nah, I would like to try with linux based webcam capture code and motion sensing, but it's ok, I'll keep digging Mar 04 21:25:55 StingRay_: to kill the Service completely you mean? Mar 04 21:26:05 yeah that not what you wanted ? Mar 04 21:26:13 sorry must have miss-read Mar 04 21:26:43 StingRay_: I have other stuff going on in the service, I just want to stopForeground Mar 04 21:27:06 The idea is to stopForeground on one notification and then let the other notification "become the startForeground" Mar 04 21:27:23 Yeah, yet it's cool the article promises lots and lots of htc heros for $25, and in ebay even the G1 starts at $65 :D Mar 04 21:27:41 Well, i dont mind if it's locked or not, if the phone will use wifi... really Mar 04 21:27:43 that should cheapen it Mar 04 21:29:06 StingRay_: could be a bit silly, but if I clear the notification holding my Service in foreground, I make the other Notification in foreground instead. In that way I can always keep the Service in foreground but still have multiple notifications :) Mar 04 21:30:22 but I don't get how I can do the stopForeground from the broadcastreceiver Mar 04 21:30:44 you don't. You'll have to send an intent to your actual service telling it what to do. Mar 04 21:31:29 ok, but not with startService again and putExtra I assume? Mar 04 21:33:48 how is it done? Mar 04 21:35:50 is there a way to add a contact to the address book during an incoming call so that it shows up in the call screen (i.e. for caller id)? Mar 04 21:36:11 ive got it sort of working right now, but the contact gets added after the call finishes Mar 04 21:44:21 What phone would you guys recommend lately? I haven't been following the hardware in a while. Last I heard the google nexus was what everyone was excited about. Mar 04 21:44:35 HTC One Mar 04 21:44:47 or HTC One family Mar 04 21:44:49 I like my Nexus 4, but it's not without faults Mar 04 21:44:58 is there a way to force the main keyguard widget to 'fullscreen' when hitting the power-on button ? Mar 04 21:45:21 Nexus 4 is very fast, beautiful screen, but it's rather large and fragile Mar 04 21:45:23 For development, definitely a Nexus. Mar 04 21:45:33 but $300 is quite a deal Mar 04 21:45:39 that's half an iphone Mar 04 21:45:58 only real problem i've had with the nexus 4 is it's very slippery ( mostly teh back ), but i fixed that by smashing it when i binned my motorbike the other week :P Mar 04 21:46:30 Currently have android taking in touch events using gestures. Its working fine but I want to put a listview on the screen and still take in touch events but it won't responds if I touch inside the listview. Any ideas to keep the gestures recognizing? Mar 04 21:47:32 i need an advice, do is really important to choose a framework like Spring mobile or PhoneGap to starting developing for Android? Mar 04 21:47:56 RobsonKarls, not usually Mar 04 21:47:57 RobsonKarls: no Mar 04 21:48:02 and most people despise phonegap, fyi Mar 04 21:48:06 especially not PhoneGap :> Mar 04 21:48:10 ^^ Mar 04 21:48:20 I've never heard of either of those Mar 04 21:48:23 so what do you guy use? Mar 04 21:48:24 it has its uses, though Mar 04 21:48:28 jrr, you've never heard of spring? Mar 04 21:48:39 just used the maps v2 api for the first time, pretty cool Mar 04 21:48:45 RobsonKarls, android has sqlite support and preferences, i use this for persistence most of the time Mar 04 21:48:51 not to mention straight up object serialization Mar 04 21:48:53 (actually, one of my would-be commercial apps would have been on phonegap with clojurescript) Mar 04 21:49:02 cool Mar 04 21:49:25 cuz i gotta build an app for a website Mar 04 21:49:38 and i really new to android development Mar 04 21:49:41 RobsonKarls, most of the time when people wnat an app they actually want a mobile website Mar 04 21:50:15 also, most apps for websites suck more than non-mobile website Mar 04 21:50:19 cause the latter can be zoomed Mar 04 21:50:31 agree Mar 04 21:51:25 and a lot of people want to sell stuff out of their website, doing this in the play store is a little strange Mar 04 21:51:35 it's often easier just to launch a webpage Mar 04 21:52:07 that was very helpful eheh :) Mar 04 21:52:38 i dont like the idea of the app being just HTML5 and Js :/ Mar 04 21:53:19 RobsonKarls, what you just described is a webpage, not an app Mar 04 21:53:22 after facebook rewrite its app, they kind of destroyed html5 for mobile Mar 04 21:53:34 RobsonKarls, they went back to native because the html5/js mobile shit was shit Mar 04 21:53:49 yah, but its really not, its like a complement to the website Mar 04 21:53:59 nah, jquery mobile is garbage, you need something mroe light weight Mar 04 21:54:17 its an app that you order pizza and food from the phone Mar 04 21:55:14 RobsonKarls, i keep invisioning a wrapper for a website, and this doesnt belong in an app Mar 04 21:55:48 RobsonKarls: you may want to read a few pages from "Mobile Usability" that goes into the case study of Pizza Huts usability woes :) Mar 04 21:56:51 but, sounds like a good candidate for a mobile web site Mar 04 21:57:21 as for myself, i'm not going to install an app for every joint that sells food ;) --> low commitment --> mobile web site Mar 04 21:58:30 would you install PizzaHut.exe on your computer? no? Mar 04 21:58:30 nexus 4 looks pretty sweet, but not seeing any way to get it where it doesn't have that typical dead-in-less-than-a-day battery life that smart phones these days have Mar 04 21:58:40 ye-.... no, right. Mar 04 21:58:43 (my current phone looks pregnant, from an extended battery) Mar 04 21:58:56 nacitar: I'm able to get two days from it Mar 04 21:59:06 previous phone (desire z) would last 1 day Mar 04 21:59:57 but its not for an specific business, its for the entire city or country. where do you go the app will keep you informed with the best places to eat or order Mar 04 22:00:17 jrr: what sort of usage is paired with that 2 day time Mar 04 22:01:26 RobsonKarls: like urbanspoon, yelp, and google places? Mar 04 22:01:29 stiff competition Mar 04 22:01:36 nacitar: admittedly light Mar 04 22:01:50 the point is it lasts 2x a pretty standard gingerbread phone Mar 04 22:01:53 RobsonKarls: so you're reimplementing yelp (poorly) Mar 04 22:02:13 :| Mar 04 22:02:21 :> Mar 04 22:02:25 lov, baby don't hurt me, don't hurt me, no more Mar 04 22:02:27 :/ Mar 04 22:02:37 * kaneda^ hides Mar 04 22:02:49 :E Mar 04 22:02:54 it's practically obligatory ;p Mar 04 22:02:59 * lov sighs Mar 04 22:03:09 lov, only once-per-day, i promise Mar 04 22:03:11 :D Mar 04 22:03:23 fortunately there are many other users in the channel Mar 04 22:03:26 once per day per user Mar 04 22:04:26 tbh choosing that moniker sort of earned him that. Mar 04 22:14:10 nacitar, not really Mar 04 22:16:55 is there anyway via JS to determine whether whether the user is on a native app via webview or via android browser? Mar 04 22:17:06 user agent is the same prior to 4.2.2 Mar 04 22:18:26 webview user agents are not the same, but they can be set to whatever Mar 04 22:19:13 the user-agent is a fairly reliable way of doing this Mar 04 22:19:21 and AFAIK it's the only way to determine the browser itself Mar 04 22:21:47 Hey, I'm trying to remove a (what should be) superfluous layout that wraps a layout for my custom list view item. If I keep it, everything works fine, if I remove it, there seems to be a few pixels of space between my list view items. This isn't the the divider either, I can turn the list divider off and I still see the space. Mar 04 22:23:15 birbeck: do you know what the difference is? because I looked at UA of a sample app with web view and stock android browser and couldn't tell a difference… Mar 04 22:32:13 does anyone know of a way to have a timeout on a Process.getInputStream()'s read operation? Mar 04 22:32:54 I tried using a separate thread with Thread.stop(), but that method is depricated (I can imagine why, but couldn't think of another way) Mar 04 22:33:58 hello. activity A starts activity B for result. is there a way to get the request code from activity B (from getIntent() ?) or should i pass it as an extra ? Mar 04 22:34:51 hi guys a question Mar 04 22:35:05 i'm having problems playing a dailymotion video in a webview on android 3.1 have hardware accelerate on, pluginstate on, setwebchromeclient, pluginsenabled Mar 04 22:35:15 youtube plays in the webview but not dailymotion Mar 04 22:35:36 edespinoza: probably because DailyMotion is try to use Flash? Mar 04 22:35:38 dailymotions works in the normal navigator thou Mar 04 22:35:48 YouTube is likely a special case that uses the built-in player Mar 04 22:35:54 edespinoza: oh, then I *may* be wrong Mar 04 22:36:07 j0p: what are you really trying to do? Mar 04 22:36:09 edespinoza: maybe there's a property or something to set Mar 04 22:36:23 the weird of all is that in daily motion says in the embedding code "select this for the android, iphone compatible version" Mar 04 22:36:32 HorizonXP: doesn't youtube just use HTML5? Mar 04 22:36:46 evanc: it can't, but doesn't mean it always does Mar 04 22:36:56 evanc: i've run into videos that force the use of Flash Mar 04 22:37:07 but that was on a PC, not on an Android device Mar 04 22:37:10 evanc : activity B (started for result from activity A) needs to perform some additional tasks based on some kind of requests from activity A Mar 04 22:37:24 at some point in history, they were unable to show ads via html player Mar 04 22:37:32 so certain videos that they really wanted to advertise in/on they'd force flash Mar 04 22:37:39 but if it runs in chrome Mar 04 22:37:44 it should work in the webview right? Mar 04 22:38:56 edespinoza: should. like I said, might need to set something on the webview Mar 04 22:39:07 edespinoza: also, i think Chrome & the webview/browser use different engines Mar 04 22:42:43 I think I already have all the options set to activate all the possible webview plugins Mar 04 22:43:04 and i'm starting to think it's kinda a daily motions problem in their embedding Mar 04 22:43:09 because youtube works Mar 04 22:43:12 with normal iframe code Mar 04 22:43:21 and dailymotion uses the same iframecode Mar 04 22:43:42 j0p: it seems like you should use a different action on the intent Mar 04 22:46:19 can't seem to solve this. I need to figure out if a specific package and (linux) uid match, but I have no context to call PackageManager from. Any (hacky) ideas ? Mar 04 22:46:36 HorizonXP: I have a question Mar 04 22:46:47 can I use a videoview to play youtube, vimeo and dailymotion videos in it? Mar 04 22:47:36 you're right. actually im using an explicit intent...i should change it using actions Mar 04 22:48:00 edespinoza: i'm not sure Mar 04 22:48:27 whats the android res/values-XXX name for Min Nan Chinese? Mar 04 22:48:53 Chainfire: just unrelated but incase you were interested http://sqlfiddle.com/#!2/9c0f3/3 know it's slow but will figure out joins later Mar 04 22:49:11 hmmm ok thanks Mar 04 22:49:33 j0p: you can do both. Set an action on explicit intent Mar 04 22:56:58 evanc : you're right again:) i'm reading the docs right now and found it. thanks Mar 04 22:59:25 interesting, samsung is adding security stuff to android to entice enterprises Mar 04 23:00:23 the most interesting part of this , to me anyhow, is their new sandboxing mechanism Mar 04 23:02:54 g00s: would you trust samsung with security? Mar 04 23:03:09 g00s: Do you have links to info on that? I've heard a little but I don't know much about it Mar 04 23:03:20 marcab: its called Samsung Knox Mar 04 23:03:30 thanks! Mar 04 23:03:35 as in Fort Knox? Mar 04 23:04:22 or SAFE, "SAmsung For Enterprise" Mar 04 23:04:45 Security As a Foreign Entity Mar 04 23:04:46 ah Mar 04 23:04:51 KNOX container is what you're mentioning? Mar 04 23:04:52 marcab: http://www.centrify.com/blogs/tomkemp/what_is_samsung_knox.asp?ls=304-001-TechMemeSaaSBlog Mar 04 23:05:36 it seems to be a bunch of stuff: container, vpn, on-device aes-256 Mar 04 23:05:41 hmm. Usually I have something snarky to say about security moves like this... but this doesn't seem terrible Mar 04 23:05:54 tbh, I would probably use their builtin vpn stuff :p Mar 04 23:06:27 oh man, ANOTHER java update Mar 04 23:08:19 g00s: same :( Mar 04 23:08:28 why does the InCallScreen pause execution of my BroadcastReceiver? Mar 04 23:08:40 i have to update 2 JVMs, one from apple and one from oracle x.x Mar 04 23:09:08 g00s: you find working with them both ok ? and why you doing that out of interest ? Mar 04 23:09:47 java 6 for android, java 7 for JavaFX Mar 04 23:13:13 StingRay_: anyhow, like everyone else probably, i have that crap disabled in my browsers ;) Mar 04 23:14:08 StingRay_, making a ratingbar from scratch went easier than expected ;) Mar 04 23:14:19 Joozey: told ya Mar 04 23:14:19 works like a charm Mar 04 23:15:04 and now you can add other things to it that you want, anytime Mar 04 23:15:08 :) Mar 04 23:15:09 yes you did Mar 04 23:15:20 digging into custom xml properties now Mar 04 23:15:38 to give it a row-count Mar 04 23:15:41 cell-count Mar 04 23:15:42 w/e Mar 04 23:15:51 from within the xml Mar 04 23:17:36 meanwhile, Amazon just put out their mobile adds API Mar 04 23:18:09 only US though. works on real android devices too Mar 04 23:18:14 real - not amazon ;) Mar 04 23:19:11 is there a way to create a custom remote exception? Mar 04 23:24:03 sleepster: cant you just throw it Mar 04 23:24:17 hmm? Mar 04 23:24:26 oh I mean RemoteException which is used when binders Mar 04 23:24:32 are not setup properly Mar 04 23:24:39 http://stackoverflow.com/questions/1800881/throw-a-custom-exception-from-a-service-to-an-activity Mar 04 23:24:43 the strategy above doesn't seem to work Mar 04 23:28:11 is there any (open source) alternative to android DatePicker ? Mar 04 23:29:55 j0p: do you mean something like this? http://code.google.com/p/android-wheel/ Mar 04 23:30:55 hi everybody! Mar 04 23:30:56 god dont do an ios picker thing Mar 04 23:31:08 thats soo... tacky Mar 04 23:31:13 smoak : this is nice but i need a calendar view picker Mar 04 23:31:22 without wheels Mar 04 23:31:34 Can anybody tell me what might cause the GC to run very often after setting the reference to a Bitmap to null? Mar 04 23:32:19 j0p: so something like this then? http://code.google.com/p/android-calendar-view/ Mar 04 23:32:51 this looks perfect, thanks :) Mar 04 23:35:34 I have an OpenGL app, which allows me to add textures when calling a function. By that, a new Texture object is created and stores a bitmap from resources. The renderer will then check for unloaded textures with each onDraw() and if there are, create OpenGL textures and store the ID so it can later bind it when drawing the objects. So now when the texture is loaded, I want to free the Bitmap memory by setting it's reference to null. But once I do, the GC Mar 04 23:38:44 hey can any of you guys help answer this? http://stackoverflow.com/questions/15211297/how-can-i-retrieve-the-timestamp-of-a-video-frame-as-its-being-recorded Mar 05 00:04:36 when implementing custom properties, should I see hints when I type mycustomstuff: ? Mar 05 00:04:54 right now eclipse says that mycustomstuff is not a known namespace Mar 05 00:05:11 ah wait Mar 05 00:05:15 it says something else :) Mar 05 00:06:12 it says element is unknown Mar 05 00:06:19 but it is right there in the package Mar 05 00:09:19 your package is com.example ? Mar 05 00:12:09 no, just as an example Mar 05 00:12:18 it' s actualy joozey.games.mygame.ui Mar 05 00:13:32 yeah that should be fine Mar 05 00:14:23 so I do like all the tutorials say: xmlns:customui="http://schemas.android.com/apk/res/joozey.games.mygame.ui" Mar 05 00:14:40 in the parent layout, and then customui: in the widget Mar 05 00:14:54 oh no i dont do that with my custom views Mar 05 00:14:54 but eclipse doesn't recognise anything from customui Mar 05 00:15:05 just reference the view in whatever layout Mar 05 00:15:15 not the xmlns:* Mar 05 00:15:25 reference the view? Mar 05 00:16:24 I want to have a field in the xml where I can say: cells="10", and then I grab that value in the attrs in my constructor and paste 10 imageviews in my linearlayout Mar 05 00:16:44 I mean Mar 05 00:17:06 missed a "/>" Mar 05 00:17:17 yes, I do that Mar 05 00:17:27 but that doesn't make you have custom properties Mar 05 00:17:41 no but you change the name space of the layout ? Mar 05 00:17:46 thats what I was getting at Mar 05 00:18:05 oh, no, I add a second namespace so I can refer to custom properties that I defined in attrs.cml Mar 05 00:18:06 xml Mar 05 00:18:31 Or err, I think that's somehow how it supposed to work Mar 05 00:18:50 the associations are so vague Mar 05 00:24:52 http://pastebin.com/J34cV50g Mar 05 00:24:56 here' s my dragbar java code Mar 05 00:25:04 g00s: welp Mar 05 00:25:10 g00s: interview tomorrow Mar 05 00:25:17 p_l: \o/ Mar 05 00:25:18 * p_l needs a combinatorics book Mar 05 00:25:20 it works except for the cellnumber extraction :O) Mar 05 00:26:08 p_l: the 2 that come to mind are not overnight reads :P Mar 05 00:26:19 :D Mar 05 00:26:27 Time for nootropics Mar 05 00:26:32 I hopefully won't have to read them fully Mar 05 00:26:42 though I have to re-read skiena on sorting algorithms Mar 05 00:27:01 and bits and pieces of which algos had what worst-time complexity Mar 05 00:27:27 (also completely no idea what team I am applying for o_O) Mar 05 00:27:44 Can you recommend Skiena's books? Mar 05 00:27:56 What company? Mar 05 00:28:13 Or, kind of company if you'd rather answer that. Mar 05 00:29:46 kakazza: Google Mar 05 00:30:24 as for Skiena's books, Algorithm Design Manual, especially newer edition, is gold Mar 05 00:31:37 :o Mar 05 00:31:51 i definitely would not recommend retro meirs book Mar 05 00:31:53 Sweet. Mountain View? Mar 05 00:31:59 birbeck: lol Mar 05 00:32:07 yep, Mountain View Mar 05 00:32:18 Cool, best of luck Mar 05 00:32:45 Reto Meier, btw Mar 05 00:32:53 if im trying to extend a class, how can i access private variables inside the super class? Mar 05 00:33:02 and i cant edit the super class Mar 05 00:33:06 i thought i spelt it wrong Mar 05 00:33:26 its fitting for how many spelling and coding errors his book has though Mar 05 00:33:52 g00s: ...amazon suggestions just now included "concrete math" ;D Mar 05 00:33:56 birbeck: the latest edition? Mar 05 00:34:02 p_l: Do you have code online? Mar 05 00:34:04 birbeck: that's a symptom of bad editing, IMO Mar 05 00:34:08 p_l: good luck :) Mar 05 00:34:09 g00s: the 4th edition Mar 05 00:34:13 kakazza: nothing useful for most Mar 05 00:34:22 and what I work on at the moment can't be shared at all Mar 05 00:34:49 (well, outside of bitching about it) Mar 05 00:35:01 heh Mar 05 00:35:46 birbeck: Is there even a 4th edition? Mar 05 00:35:53 p_l: i dont get all this stuff about not knowing which team you are interviewing for. i know its pretty standard practice over there, but when i interviewed with google it was for a specific job and team Mar 05 00:36:09 birbeck: when I applied last year, it was so too Mar 05 00:36:19 i could never take a job not knowing what team it is, even with google Mar 05 00:36:20 this is *not* normal interview process Mar 05 00:36:55 I know which ones it's possibly about Mar 05 00:37:09 p_l, i've had both kinds, general and specific, sometimes with the same company Mar 05 00:37:32 last year I applied for a very specific job (SRE/SWE @ Dublin) Mar 05 00:37:45 it was the normal, loooong interview Mar 05 00:37:49 Student Job or real job? Mar 05 00:38:03 birbeck, they offer you a specific job, you go in not knowing where you might be placed Mar 05 00:38:03 kakazza: my current one or the one at google? Mar 05 00:38:27 At Google Mar 05 00:38:30 both are full-time, though the one I'm doing right now is technically fulfilling "Industrial Placement" with my university Mar 05 00:38:43 and the google one would be indefinite length, as we call it Mar 05 00:38:45 kaneda^: yeah, but generally you dont know what youre interviewing for specifically, until they give you an offer Mar 05 00:39:06 birbeck, i've seen that, one place i interviewed i didn't know until i met the interviewers Mar 05 00:39:12 I wonder what the interview process at Google is like. Mar 05 00:39:38 kakazza: normal one? Mar 05 00:39:39 Slow Mar 05 00:39:43 kaneda^: What's the first question then? "Just what do you think you're applying for?| Mar 05 00:39:44 from what i've seen of other places, phone screening, in person interview, possible second interview, job offer or rejection Mar 05 00:40:21 I wonder, do you get on a black list once rejected? I guess that's not something publicly know anyway Mar 05 00:40:23 big places like google will fly you to the location the intend to place you Mar 05 00:40:39 kakazza, from my understanding no, rejection doesnt count against you Mar 05 00:40:47 my last year: (starting with googler's recommendation) -> talk with recruiter -> phone screen -> phone screen -> on-site (5h) -> waaaaait -> (rejection) Mar 05 00:40:48 kakazza, let's just say i've asked that very question Mar 05 00:40:53 kakazza: no, most people dont get hired by google until their third attempt Mar 05 00:40:53 heh :D Mar 05 00:41:15 "It's cheaper to hire him than fly him over constantly" Mar 05 00:41:28 kakazza: and most places will keep your resume around if they liked you in case you could be a good fit later, either with more experience, or for a different more fitting position Mar 05 00:41:32 kakazza: well, there might be a black list if your interview just screams with warning signs :> Mar 05 00:41:50 kakazza: btw, I got current interview because of my failed one last year Mar 05 00:41:52 p_l: maybe thats why i havent heard back yet :) Mar 05 00:42:08 p_l: Sweet Mar 05 00:42:13 I was mentally preparing for re-applying, when I found an email from Mountain View ;) Mar 05 00:42:45 they say you have to go through their process 2 or 3 times to finally nail it Mar 05 00:42:55 birbeck, i would agree, my first attempt i was so nervous Mar 05 00:42:58 had very little sleep Mar 05 00:43:05 a friend of mine got in on first attempt Mar 05 00:43:11 another got in through internship Mar 05 00:43:16 p_l, all of my friends did...:| Mar 05 00:43:34 in one place or another Mar 05 00:43:39 i got a lame excuse, basically on par with over-qualified Mar 05 00:44:04 birbeck: "not cultural fit"? :P Mar 05 00:44:17 birbeck, at least you got a reason Mar 05 00:44:40 nah, they liked me. and my code review had mixed opinions Mar 05 00:44:52 birbeck: actually, that's what I heard Mar 05 00:44:56 i have a lot more coding experience since i last interviewed at a place like this Mar 05 00:44:57 with "you barely missed it" Mar 05 00:45:03 ultimately they said that my experience didnt match my skills Mar 05 00:45:24 * g00s ponders the meaning of that Mar 05 00:45:33 I think a lot of software companies botch the interview / candidate selection process Mar 05 00:45:34 basically, ive been programming too long, they expect senior -> architect for my experience Mar 05 00:45:47 BullShark: stop spamming me you asshole Mar 05 00:45:50 I'm an architect Mar 05 00:45:52 though i would be more than happy as a junior or mid-level app developer there Mar 05 00:46:02 i have architect in my title, because i'm the only one in my office Mar 05 00:46:09 Did you all go to some "better" Universities that you and your friends got in? Or just pushed in? Mar 05 00:46:10 i'm actually more like software developer II Mar 05 00:46:13 birbeck I was late, where is there? Mar 05 00:46:24 ron_frown: goog Mar 05 00:46:28 ahh Mar 05 00:46:33 architect … sigh Mar 05 00:46:52 well, systems dev II and software dev II Mar 05 00:46:59 I dont have the discipline to work for goog Mar 05 00:47:05 ron_frown hasn't read that article on architect astronauts Mar 05 00:47:05 kaneda^: thats where i feel i am at, but with 20 years (mixed environments) they expected more, even though i met the requirements for the job Mar 05 00:47:14 dev II has even less meaning to me... Mar 05 00:47:22 birbeck, hmm, i would too though, with 20 years Mar 05 00:47:40 when employers start in with the crazy ass analytical questions in an interview Mar 05 00:47:44 I just take the lazy way out Mar 05 00:47:49 TheBunnyZOS, i have two years of actual work experience, and have been programming and doing sys admin type stuff for 9-10 years Mar 05 00:47:53 kaneda^: most of that was web dev, scripting, etc... i only have like 5-6 years with java Mar 05 00:48:05 kakazza: well... in some ways my uni was better than that of many of my classmates, though not necessarily in course content Mar 05 00:48:08 1-2 of c Mar 05 00:48:15 ron_frown: Just say "Definitely need a Singleton there!". Works everytime! ;) Mar 05 00:48:23 kakazza: the ones that are in google I met on the net much later :) Mar 05 00:48:26 but was does the title systems dev II actually mean ? Mar 05 00:48:32 vs 3 4 5 etc Mar 05 00:48:33 birbeck, 5-6 years is a while for java Mar 05 00:48:42 i'd imagine you could go and get your oracle certs or whatever at least Mar 05 00:48:44 nah I just say well... fuck it, guess I'm not a great fit for this job Mar 05 00:48:54 I do think its valuable to assess problem solving skills etc Mar 05 00:49:08 but i get these condescending asshole kids interviewing me Mar 05 00:49:14 lol Mar 05 00:49:21 ron_frown, get off my lawn Mar 05 00:49:32 my experience has been architecting massively scalable web applications etc Mar 05 00:49:54 ron_frown, funny, we're hiring for that position now, you happen to be in canada? Mar 05 00:49:58 not trying to come up with a better way to make hash collisions better Mar 05 00:50:28 I told them I could explain in pseudo hashmaps and hash map collision protection etc Mar 05 00:50:34 ron_frown: well there is always the 1 in 1,000,000,000,000,000 chance of collisions Mar 05 00:50:54 but that every significant programming language has a tried and true implementation of hash maps Mar 05 00:50:55 erm, colisions are acceptable in most hashmaps, that's what equals is for ;) Mar 05 00:51:29 ron_frown, they probably just wanted you to recite "programming in c" or "programming pearls" or something Mar 05 00:51:32 I've participated in lots of interviews and honestly I have to say I have a much diff approach Mar 05 00:51:45 I get a feel for a persons drive Mar 05 00:51:52 do they do code for fun or for money Mar 05 00:52:03 that's the best indication of a programmer Mar 05 00:52:13 I taught some kid to program in 4mo and I'd take him over my coworkers anyday Mar 05 00:52:15 sadly Mar 05 00:52:37 p_l, kaneda^, birbeck did you guys study books or w/e before applying? I guess they do ask _some_ basic CS stuff. Stuff that you'd normaly - heh - google. Mar 05 00:52:53 see google is the one place I could see that shit being valuable Mar 05 00:52:54 kakazza, yah, not including the coursework i read 3-4 books Mar 05 00:53:04 if you were working on their analytics or search engine shit Mar 05 00:53:09 kakazza: nah. the recruiter recommended a few things though Mar 05 00:53:17 Care to list them? Mar 05 00:53:40 I typically want bigger picture projects Mar 05 00:53:47 let somone else spend 2yr optimizing searching etc Mar 05 00:53:57 I want to build infrastructure to solve problems Mar 05 00:54:02 kakazza, "the practice of programming", "the pragmatic programmer", "programming pearls second edition" Mar 05 00:54:48 all good books Mar 05 00:54:49 oh man hooray for subtlepatterns.com \o/ Mar 05 00:54:57 kakazza: "It is also recommended that you review Big-O notations also known as "the run time characteristic of an algorithm." Also, one of our senior engineers has recommended candidates read Programming Interviews Exposed: Secrets to Landing Your Next Job by John Mongan and Noah Suojanen to give you an edge. It's a good book to have in general. Two other books that may be helpful are: "Programming Pearls" by Jon Bentley -Programming questions that get Mar 05 00:54:59 you thinking outside of the box; and lastly, "Cormen/Leiserson/Rivest/Stein: Introduction to Algorithms" or the CLR textbook." Mar 05 00:55:16 oh darn it Mar 05 00:55:22 birbeck that to me sounds like a oxymoron Mar 05 00:55:23 ok, just got confirmation email Mar 05 00:55:29 custom properties in xml work only in runtime Mar 05 00:55:35 education typically = not thinking out of the box Mar 05 00:55:38 I greatly enjoyed Programming Pearls Mar 05 00:55:49 also, I recommend skiena in place of Cormen et al. Mar 05 00:55:51 kakazza, me too, the practice of programming was pretty dry and far removed from today Mar 05 00:55:53 Even simple stuff like rotating a string was pretty interesting. Mar 05 00:56:10 ron_frown: different kinds of education having different boxes, thus making you look at least out of your local one Mar 05 00:56:23 nothing wrong with education Mar 05 00:56:30 I got no education Mar 05 00:56:36 doesnt make it wrong ;p Mar 05 00:56:41 ok thats not true, I went to school for a while Mar 05 00:56:46 ron_frown: that's called "self-educated" ;) Mar 05 00:57:05 i am self-educated Mar 05 00:57:05 I actually list that in "education" part of my CV :D Mar 05 00:57:08 kaneda^ my observation is that after plugging through several hundred edu's Mar 05 00:57:18 interviews Mar 05 00:57:38 I dont know, it just seems like a lot of them think everything gets solved the same way they did it in school Mar 05 00:57:42 eh, i learned a lot of good stuff in university, and it gave me an opportunity to try stuff i would never be able to do professionally Mar 05 00:58:27 i'd say that i really learned to program outside of school though Mar 05 00:58:34 i feel good about my upcoming interview, on the phone screening they actually had me write android code, something no other android dev screening has had Mar 05 00:58:39 everything in school just touches the surface of what's out there Mar 05 00:58:48 I think school/education can make a good programmer better. but probably not make a bad programmer into a good one. Mar 05 00:58:51 they might ask a few basic android questions they read about in the news last week Mar 05 00:59:03 JesusFreke, nothing can make a bad programmer good, because they dont love programming Mar 05 00:59:05 I think its more the root of the problem is not edu vs non edu Mar 05 00:59:09 kaneda^: exactly Mar 05 00:59:21 its more the wrong fit for a programmer doesnt make a great programmer after edu Mar 05 00:59:21 one reason for going to a good school is access to a network of people. the other, is that its a good signal you have grit Mar 05 00:59:38 out of interest since I'm not really a programmer, what do you guys define as good and bad ? Mar 05 00:59:39 the ideal employer for me would be one who sends a rep on IRC and finds me, and has a conversation with me Mar 05 00:59:41 :D Mar 05 01:00:01 StingRay_, a deep knowledge of whatever you're interested in, or at least a wide knowledge of a lot of technologies :D Mar 05 01:00:15 StingRay_: Good: Jake Wharton doesn't facepalm at your code. Mar 05 01:00:21 lol Mar 05 01:00:24 "know something about everything, everything about something" Mar 05 01:00:26 I'll fucking school jake anyday Mar 05 01:00:29 ANYDAY JAKE Mar 05 01:00:33 j/k =) Mar 05 01:00:34 im sure he face palms himself every now and then Mar 05 01:00:44 i find code i've written and facepalm occassionally :D Mar 05 01:00:49 of course Mar 05 01:00:54 thats a sign of growth Mar 05 01:01:06 i'm talkin about projects from last week ron_frown.. Mar 05 01:01:08 jk :D Mar 05 01:01:09 it's like unicycling - if you're not falling, then you're not trying hard enough :) Mar 05 01:01:15 thats learning kaneda^ Mar 05 01:01:21 ron_frown: my university actually based the course load on the idea that students will heavily educate themselves Mar 05 01:01:36 ron_frown, my experience has been, program program program program until you cant program any more, that's the only way to get better at programming Mar 05 01:01:38 i guess I have one major disadvantage than the rest of you then Mar 05 01:01:49 ron_frown, i try to program something for myself at least every other week Mar 05 01:01:49 p_l - no shit... the less the profs have to do to make money the better Mar 05 01:02:00 kaneda^ I do too Mar 05 01:02:01 no education in programming and hence nothing really to compare contrast to / peer review Mar 05 01:02:04 kaneda^: i spend most of my time, thinking, not programming :) Mar 05 01:02:06 I think thats a sign of a real engineer Mar 05 01:02:11 if you are solving problems outside of work Mar 05 01:02:12 ron_frown: not USA, and we actually had very easy access to professors Mar 05 01:02:27 g00s, i find a problem and start programming :D Mar 05 01:02:29 yeah for the record I can make any commends on non us educated folks Mar 05 01:02:35 g00s, if i cant find a problem i projecteuler Mar 05 01:02:45 I know some kid who expected instant 30k a year raise because he got his diploma Mar 05 01:02:51 at the same company he already worked at Mar 05 01:02:56 I was like good luck with that one =) Mar 05 01:02:56 I learned sometimes more from talking with professor outside the class than in the class Mar 05 01:02:57 ron_frown: lol Mar 05 01:03:07 ron_frown: actually happens due to rigid pay scales in some places Mar 05 01:03:24 for example, a diploma passes in place of X years of experience Mar 05 01:03:33 yeah Mar 05 01:03:34 p_l, exactly, it's not a bonus check Mar 05 01:03:43 4 years diploma = 3 years experience i think Mar 05 01:03:49 I have an upper cap on my base wage because I don't yet have a diploma\ Mar 05 01:03:49 I've got close to 20yr of programming experience Mar 05 01:03:56 and not enough equivalent experience Mar 05 01:04:01 ron_frown, i have..2 :| Mar 05 01:04:01 and I'm only 32 Mar 05 01:04:01 haha Mar 05 01:04:02 (documented, that is) Mar 05 01:04:02 My virtual sd in my galaxy nexus has been messed up since i flashed 4.2. I konw it is talked about a lot, but i can't figure out what i need to do. I am in recovery and all of my files are in /data/media and the rest are in /data/media/0. I was going to back up evything and wipe it but when i do adb pull /data/media it only pulls the /data/media/0 folder. What do I need to do? Mar 05 01:04:10 ron_frown, PROFESSIONAL experience from 12 on? Mar 05 01:04:11 ron_frown: some, 20 and 32 Mar 05 01:04:14 birbeck: so someone recommended "The Practice of Programming" for a Google interview? Mar 05 01:04:14 ron_frown: govt institution, so... Mar 05 01:04:19 StingRay_, http://www.joozey.nl/projects/spacetrader3k/custom_ratingbar.png :) Mar 05 01:04:23 kaneda^ I was doing it for money when I was 16 Mar 05 01:04:25 kaneda^: i did my first paid website at 14 Mar 05 01:04:38 Joozey: well done :) Mar 05 01:04:47 and before that i was writing open source irc scripts :) Mar 05 01:04:52 birbeck, i was consulting for networking/computer stuff at 15 in-house Mar 05 01:04:53 I did my first paid stuff around similar time, except it was sysadmining Mar 05 01:05:04 most people dont start counting until full time Mar 05 01:05:08 StingRay_, custom attributes in xml aparently are not noticed by eclipse, no hints and no graphical editor update. Mar 05 01:05:14 but they work at runtime Mar 05 01:05:32 Joozey: now onto that button :) Mar 05 01:05:39 what button? Mar 05 01:05:43 Joozey: to which i say,,,, "wtf" Mar 05 01:05:50 the continue Mar 05 01:05:53 oh Mar 05 01:05:53 haha Mar 05 01:06:03 well, I´m going to focus on the game mechanic now Mar 05 01:06:04 kaneda^: i have 14 years on the job experience Mar 05 01:06:09 polishing comes later :) Mar 05 01:06:10 i cant go into a place and say i've been programming for 9 years, here's 2 years of professional experience, most of the time they only care about full-time Mar 05 01:06:23 same here Mar 05 01:06:25 thats where you do like jake Mar 05 01:06:31 but again, govt job, so.. Mar 05 01:06:35 open source projects in vast use Mar 05 01:06:42 not saying he wasnt a smart guy Mar 05 01:06:50 but I guarentee that got his feet in the door Mar 05 01:06:51 oh, that's a common question actually, if you've contributed to any projects Mar 05 01:07:41 kakazza, that was intended for you Mar 05 01:07:45 mysql, bluefish ide and ices Mar 05 01:07:53 kakazza, contributing to an open source project is a really good thing to talk about in an interview Mar 05 01:07:55 have a good evening people Mar 05 01:08:09 birbeck, i cant say i've contributed to jack shit :/ Mar 05 01:08:35 I wonder how much companies other than Google care about FOSS Mar 05 01:08:43 kakazza, lots! Mar 05 01:08:43 ive released my own source as oss, but had no contributors to them Mar 05 01:08:55 kakazza: "depends" a lot Mar 05 01:09:08 also, MIT/BSD is much more common these days Mar 05 01:09:17 i dunno, i have a vested interested in FOSS, as the systems maintainer at work i rely on open-source heavily Mar 05 01:09:41 MIT/BSD counts, btw Mar 05 01:09:45 kaneda^: and kakazza … i keep getting you guys confused. both your nicks start with 'k' :/ Mar 05 01:09:56 ;p Mar 05 01:09:57 and end with 'a'' Mar 05 01:09:59 g00s: i have the same problem Mar 05 01:10:13 mine ends with a '^' technically, because someone took my nick 4 years ago after a period of inactivity Mar 05 01:10:21 g00s: one rides a weird motorbike and the other sounds like a certain P2P network ;) Mar 05 01:10:30 heh Mar 05 01:10:34 p_l, ahhhhyeaaahhh Mar 05 01:10:49 who rides the weird motorbike? Mar 05 01:11:02 <--- in the movie i ride a pimped out bike Mar 05 01:11:06 damn, nick Tetsuo is already in use Mar 05 01:11:11 in the manga, not so much Mar 05 01:11:18 heh. I've never seen the movie. but I *love* the soundtrack Mar 05 01:11:28 the tetsuo track is amazing Mar 05 01:11:30 hi all Mar 05 01:11:34 evening Mar 05 01:12:01 let's not forget he likes to inflate to immense proportions Mar 05 01:12:09 :D Mar 05 01:12:16 that's tetsuo, and it wasnt exactly by choice :D Mar 05 01:12:21 im gonna take off too, working on a new project at home that i want to get back to Mar 05 01:12:27 goodnight all Mar 05 01:12:28 later birbeck Mar 05 01:12:31 ah oh well it's been years :) Mar 05 01:12:42 osxorgate, i just got all the manga, almost done the last volume Mar 05 01:12:44 okay, seems I'm all set with google interview Mar 05 01:12:45 can anyone help explain to me how i pass raw query in a contentProvider ? I have set it up in cursor in a switch statement but how am i receiving it from a loader and do i need to do something with the uriMatch ? Mar 05 01:12:57 i'm more of a Paprika kinda guy Mar 05 01:13:12 osxorgate, hippy Mar 05 01:13:13 osxorgate: haha Mar 05 01:13:21 kaneda^: "trippy" Mar 05 01:13:26 :D Mar 05 01:14:58 if I manage to get to Google this time, it will be lolwut time Mar 05 01:15:09 p_l: get off IRC and study :P Mar 05 01:15:12 t0dbld, are yuo looking for: http://developer.android.com/reference/android/database/sqlite/SQLiteQueryBuilder.html Mar 05 01:15:18 g00s: more like sleep ;) Mar 05 01:15:24 p_l: yeah, get good sleep :D Mar 05 01:15:33 g00s: also, being on IRC saved me from not responding to confirmation email Mar 05 01:15:46 p_l, good luck Mar 05 01:15:59 p_l: yeah, same here - good luck Mar 05 01:16:11 thanks Mar 05 01:16:26 kaneda thanks but a link to the docs that dont apply as far as i can see to my quesiton are no help Mar 05 01:16:44 t0dbld, it looked like you were asking how to build your query? Mar 05 01:17:24 no i want to know how retreive a rawquery using loader and a content provider Mar 05 01:17:33 i can retreive a normal contentprovider query Mar 05 01:17:52 but becuase i am using some 3rd tables i need some inner join queries Mar 05 01:18:48 ah Mar 05 01:19:32 t0dbld, something like: public Cursor rawQuery (String sql, String[] selectionArgs, CancellationSignal cancellationSignal) <-- this? Mar 05 01:19:55 kaneda^, right i did that Mar 05 01:20:06 k, hmm Mar 05 01:20:06 but now i dont know how to get that from a cursor loader Mar 05 01:20:18 did you read: http://stackoverflow.com/questions/5707348/how-to-use-rawquery-in-android Mar 05 01:20:21 and what i need to do if anything to the uiMatcher in the content provider Mar 05 01:20:32 no clue on that one Mar 05 01:21:22 kaasbol, see that way you jsut linked to would be if i avoid the contentprovider all together Mar 05 01:21:35 upps Mar 05 01:21:41 kaneda^, ** Mar 05 01:21:45 see look at this http://stackoverflow.com/questions/11578857/is-it-a-good-practice-to-use-rawquery-in-contentprovider Mar 05 01:22:17 got it Mar 05 01:22:31 and you see the comment on the answer? Mar 05 01:22:36 yep Mar 05 01:23:19 kaneda^, but that is jsut a code snipit i cant see how he is retreiving it Mar 05 01:23:27 and i cant see if he did anything to uriMatcher Mar 05 01:23:36 hence why I am here :-) Mar 05 01:23:50 This is very helpful when woeking with SQLite http://www.youtube.com/watch?v=c5n90wiv75M Mar 05 01:24:26 g00s -> lolwut Mar 05 01:25:20 BullShark: go away :) Mar 05 01:25:57 t0dbld, http://stackoverflow.com/a/5872555 <-- that any help? Mar 05 01:26:24 hey y'all Mar 05 01:26:27 g00s -> that's pretty funny whoever is spamming you. +1 for the lulz Mar 05 01:26:31 anybody here using nested fragments? Mar 05 01:26:52 mheld I was before google "fixed" the nested fragment problems Mar 05 01:26:57 I thnk it was kinda half arsed Mar 05 01:27:02 * ron_frown shrugged Mar 05 01:27:11 ron_frown: fixed = getChildFragmentManager? Mar 05 01:27:47 haha Mar 05 01:27:48 yes Mar 05 01:27:59 t0dbld, http://docs.xamarin.com/guides/android/platform_features/intro_to_content_providers/part_3_-_creating_a_custom_contentprovider <-- also this Mar 05 01:27:59 yeah, I'm running into some weirdness Mar 05 01:28:16 canadiancow: can you perma ban BullShark Mar 05 01:28:22 why Mar 05 01:28:37 he keeps spamming me with racist VS Mar 05 01:28:38 *BS Mar 05 01:28:52 ./ignore his ass Mar 05 01:28:57 spamming and racists? i was afk when you highlighted me earlier Mar 05 01:29:05 yeah, /ignore me and go on your stupid life Mar 05 01:29:06 I have a pager that gets populated by a fragmentstatepageradapter -- when I open, close, then re-open the subfragment, I get a "java.lang.IllegalStateException: Activity has been destroyed" Mar 05 01:29:10 which is fun Mar 05 01:29:12 and how will a ban stop him from messaging you? hurr durr Mar 05 01:29:22 not very conducive for others trying to learn Mar 05 01:29:42 g00s, if you're getting spammed, try #freenode Mar 05 01:29:44 kaneda^, maybe ill try rewritting it a few differnt ways see if i can get any better success last thing was not really any help ... ill try with the setTables method Mar 05 01:29:49 pragma- doesnt mean punishment isnt due Mar 05 01:29:50 ron_frown: you ever run into that issue? Mar 05 01:29:58 t0dbld, check out taht last link, look for "Raw" Mar 05 01:30:21 the last one was not alot of help its writen in html anyhow Mar 05 01:30:23 ;-) Mar 05 01:30:31 i think it's funny that you highlighted while i was at the store and idle on irc saying i was spamming you, but i am not doing it Mar 05 01:30:44 im sorry Xarmin is C# Mar 05 01:30:47 same thing Mar 05 01:30:51 ill re look at it in a sec Mar 05 01:30:54 t0dbld, ah, sorry Mar 05 01:32:03 BullShark, please stop Mar 05 01:32:17 PRETTY PLEASE! Mar 05 01:34:29 i have a general question, i'm running the same native code on android that my partner is running on iOS, and his code runs significantly faster, what's up with that Mar 05 01:36:16 kaneda^: diff hardware ? and allocated resources ? Mar 05 01:36:32 What's significantly? Mar 05 01:36:42 StingRay_, did you PM me earlier? Mar 05 01:36:48 I did Mar 05 01:36:53 like, on a similar hardware profile i'll be running at 6-7 FPS and he'll be running at 8-9FPS Mar 05 01:36:56 report it in #freenode Mar 05 01:36:57 that's pretty significant Mar 05 01:37:00 I have Mar 05 01:37:03 ok Mar 05 01:37:10 pretty much the same chip profile, pretty much the same memory Mar 05 01:37:26 clang is just that much better ;) Mar 05 01:37:44 kaneda^: yeah but a mobile bsd'ish unix is a bit diff to a unix to pc = linux mobile thingy ? Mar 05 01:37:48 (just messing around) Mar 05 01:37:49 i know i'm losing some in the JNI and YUV conversions, but i didnt think that's 2FPS Mar 05 01:37:56 I have no idea what I just said btw Mar 05 01:38:25 You sounded very convincing with that "?" at the end, though. Mar 05 01:38:37 and linux mobile thingy sounds very official Mar 05 01:38:49 I stick it on the end of most sentences relating to a field I am new in ? Mar 05 01:38:50 :) Mar 05 01:39:04 hey all, anyone have trouble using MediaRecord Mar 05 01:40:10 tetly: yes Mar 05 01:40:20 tetly: but it's unlikely to be the same trouble you're having. Mar 05 01:40:36 I'm trying to use the undocumented GRALLOC_BUFFER Mar 05 01:41:37 HorizonXP: i am following the docs and getting IllegalStateException Mar 05 01:42:09 it follows there state diagram and all Mar 05 01:42:19 tetly: code? Mar 05 01:42:26 pastebin Mar 05 01:44:10 HorizonXP:::: http://pastebin.com/L0Nm6YSR Mar 05 01:45:40 record.start(); throws IllegalStateException Mar 05 01:53:28 canadiancow: pro-tip, also /kick the person so they can't see who is joining/chatting to find more targets Mar 05 01:54:47 the +b isn't going to stop him from alledgingly /msging people, especailly if he's still in the channel to see what targets are available Mar 05 01:55:47 (pro-tip, 2001:4800:780e:510:8220:f228:ff04:4f3a matches both StingRay` and BullShark) Mar 05 01:55:59 HorizonXP: is that how you setup your recorder Mar 05 01:56:08 but NOT me Mar 05 01:56:11 !! Mar 05 01:56:19 * StingRay_ hides behind a tree Mar 05 01:56:24 How can i backup everything in /data/media? When in do adb pull from recovery it is only pulling /data/media/0. I am trying to get all my files back where they should be for 4.2 Mar 05 01:56:36 pragma-, how'd you figure that out so quick? Mar 05 01:56:44 years of experience Mar 05 01:58:21 tetly: are you recording just audio? Mar 05 01:58:27 yess Mar 05 01:58:42 :) Mar 05 01:58:59 tetly: why is your output format 3gpp then? Mar 05 01:59:02 inb4, he returns with a regular ipv4 address Mar 05 01:59:08 pragma-, is there a good way to find all clients who match a given host? Mar 05 01:59:16 i mean i already knew those two Mar 05 01:59:30 HorizonXP: oh thats a valid audio codec/ Mar 05 01:59:37 ugh now im getting spammed Mar 05 01:59:46 HorizonXP: maybe noot Mar 05 01:59:57 the cow is mad now Mar 05 02:00:03 LJarETc129 is trying to sell me viagara Mar 05 02:00:18 they are all just random letter nicks Mar 05 02:00:54 canadiancow: the /who command is quite powerful, and accepts wildcards and useful options Mar 05 02:01:14 canadiancow: /quote help who Mar 05 02:01:30 or /raw help who, or whatever command your irc client uses to send server commands Mar 05 02:02:21 freenode staff recommended i set /mode g00s +g Mar 05 02:03:39 if the random nicks aren't identified, /mode yournick +R will work as well Mar 05 02:03:58 +g or +R. the former blocks all private messages unless you're ... yeah what pragma- said :) Mar 05 02:04:07 +R will block private messages from unidentified users, +g uses a whitelist Mar 05 02:04:14 who is rate limited here, apparently Mar 05 02:04:21 you can control the +G whitelist with /accept Mar 05 02:04:25 er, +g Mar 05 02:04:37 http://freenode.net/using_the_network.shtml Mar 05 02:12:49 So, were StingRay and BullShark the same person? Mar 05 02:13:20 either that or 2 ppl logged in from the same spoof address Mar 05 02:13:28 wuah, there he is Mar 05 02:13:38 I shouldn't filter Joins Mar 05 02:13:38 erm no Mar 05 02:13:43 XD Mar 05 02:13:52 pragma-: What exact /who command did you use? Mar 05 02:14:46 romainguy_: http://www.buzzfeed.com/jwherrman/how-future-cameras-will-be-able-to-see-in-the-dark Mar 05 02:15:11 I saw that Mar 05 02:15:23 i'm getting slow these days :( Mar 05 02:15:24 hello all Mar 05 02:15:32 hey QubeZ :) Mar 05 02:15:38 sounds pretty cool :) Mar 05 02:15:42 does anyone know if there is a way to write something that will auto-fill a form in another app? Mar 05 02:15:45 hi g00s Mar 05 02:17:55 g00s: but the latitude of range on that sensor will be crappy Mar 05 02:18:31 StingRay_: ive seen methods to reduce the noise on existing sensors, using a peltier cooler Mar 05 02:18:51 not noise reduction i care about really Mar 05 02:18:55 StingRay_: http://hackaday.com/2009/07/23/camera-peltier-cooler/ Mar 05 02:19:36 I just want a sensor that has more than 12 stops range for grading Mar 05 02:19:52 cause sometimes I see myself run out of room and start crushing things Mar 05 02:20:05 crushing contrast/color Mar 05 02:20:42 HorizonXP: I changed OutputFormat to OutputFormat.AMR_NB Mar 05 02:21:23 HorizonXP: could you paste your setup Mar 05 02:22:44 if not auto-fill for another app, for testing... auto click and fill in info into forms in another app from an outside app? Mar 05 02:23:48 clever: if I had the money https://s3.amazonaws.com/red_3/uploads/asset_image/image/4f5693f16261f934b5000102/products_primary_epic-m-brain-back.png Mar 05 02:24:15 StingRay_: looks expensive Mar 05 02:24:35 need lens, battery, grips, display adding to it too Mar 05 02:24:53 so would run about $50k+ for a basic setup Mar 05 02:25:18 I played with an EPIC-M for a couple of weeks Mar 05 02:25:21 taht thing was awesome Mar 05 02:25:50 romainguy_: you played with alexa ? Mar 05 02:26:11 nope Mar 05 02:26:16 just the EPIC-M Mar 05 02:26:23 and a C300, but it's not as cool :) Mar 05 02:26:34 yeah not a fan Mar 05 02:26:42 http://www.arri.com/camera/digital_cameras Mar 05 02:26:45 the big boys Mar 05 02:27:20 used to be that red one was a poor mans alexa Mar 05 02:27:34 but arri done well bringing prices down Mar 05 02:28:06 still all out of my range though, there was a time.... but now sadly not :( Mar 05 02:28:27 ^^ Mar 05 02:29:40 i just have a P&S :) Mar 05 02:31:13 romainguy_: what were you using epic for ? Mar 05 02:31:28 or rather, define what you mean by "play" :) Mar 05 02:31:41 just having fun filming landscapes in the Bay Area Mar 05 02:31:47 a friend of mine lent it to me Mar 05 02:32:08 you get to play with redcode and all the tools ? Mar 05 02:32:13 or just film stuff ? Mar 05 02:32:19 HorizonXP: i changed output dir and it works Mar 05 02:32:36 StingRay_: I used the tools yes Mar 05 02:34:34 jealous ... I only ever get to grade/edit/comp/effects Mar 05 02:34:47 never actually got to film Mar 05 02:34:53 I wish I had the time and patience to go out and film Mar 05 02:34:56 Well I have the time for that Mar 05 02:35:01 I don't have the time for editing Mar 05 02:35:10 I barely have the time to edit and process my photos Mar 05 02:37:52 app starts->activity1->activity2->home button->start app from icon->history is not remembered... why not? Mar 05 02:39:29 do you have any strange manifest flags set? Mar 05 02:40:42 nope Mar 05 02:46:51 Anyone know a place in the Android Source where they prefered composition over inheritance? Mar 05 02:47:27 it's not because i startActivity() from within a fragment is it Mar 05 02:49:07 romainguy_: hey, you wouldn't happen to know who I could ask about MediaRecorder would you? Mar 05 02:49:26 romainguy_: basically, I'm trying to see if it's possible to get the timestamps of frames being recorded as they're being saved. Mar 05 02:49:48 i.e. a onFrameAvailable type call back on the frames being recorded, not the ones being displayed Mar 05 02:50:26 romainguy_: see here - http://stackoverflow.com/questions/15211297/how-can-i-retrieve-the-timestamp-of-a-video-frame-as-its-being-recorded Mar 05 02:53:56 so it works properly when i click the app in the 'recent apps' list, just not when i click it on the homescreen Mar 05 02:58:50 any of you ladies horsed about with hadoop by chance? **** ENDING LOGGING AT Tue Mar 05 02:59:58 2013