**** BEGIN LOGGING AT Tue Jan 15 02:59:58 2013 Jan 15 03:04:12 we do not break userspace Jan 15 03:05:07 superfluous: how do things like /sys/devices/virtual/android_usb/android0/f_accessory map to a daemon process? Jan 15 03:05:32 clever: I haven't the slightest clue Jan 15 03:05:50 I'm an iOS guy they're trying to make do Android work now that we lost half our mobile team :P Jan 15 03:05:52 i'll keep poking arround randomly then Jan 15 03:06:15 superfluous: i never even tried iOS, the buggers where forcing me to buy a mac to even try :P Jan 15 03:06:25 linux guy? Jan 15 03:06:36 yeah Jan 15 03:06:43 i have some winblows systems also, but no luck for them either Jan 15 03:07:23 hmmm, f_mtp (the function on the composite usb device) maps to the process f_mtp, which appears to be a kernel thread (0 bytes ram usage, no open files) Jan 15 03:08:05 f_adb maps to adbd, which has a bunch of sockets open Jan 15 03:08:23 at a guess, each function has its own way of connecting to the daemon, which may be in-kernel Jan 15 03:11:21 /dev/usb_accessory Jan 15 03:11:22 aha! Jan 15 03:11:38 and adb uses /dev/android_adb Jan 15 03:11:52 i/gnore clever 2400 Jan 15 03:11:56 oops Jan 15 03:12:00 lol Jan 15 03:12:04 i'll shut up :P Jan 15 03:12:34 i figure you'll have shut up 40 minutes from now anyway Jan 15 03:22:05 wupz just let my nexus7 reboot Jan 15 03:28:51 dragorn: hmmm, weird, musb-otg is running, a kernel thread Jan 15 03:31:04 clever: that could be client mode Jan 15 03:32:02 dragorn: yeah, no real way to tell without more info, as best as i can tell, /dev/usb_accessory is opened by a service in the usb group, which negotiates all accessory stuff done thru the UsbManager service Jan 15 03:32:11 so i think accessorys have a chance of working Jan 15 03:58:23 dragorn: hmmm, i found a sample program that uses lubusb to turn a laptop into an accessory Jan 15 03:58:35 dragorn: the galaxy S3 pops up an alert that i dont have the app for this accessory (yay) Jan 15 03:58:48 the kindle, well, the usb completely crashed, it doesnt even enumerate now Jan 15 03:59:06 clever: link? Jan 15 03:59:15 dragorn: http://android.serverbox.ch/?p=262 Jan 15 03:59:17 oh, i misread Jan 15 03:59:21 misinterpreted Jan 15 03:59:23 cool still Jan 15 03:59:35 i had to manualy edit the VID/PID of my device into the source Jan 15 03:59:49 the notifications in the kindle show 'usb cable connected', but it isnt! Jan 15 03:59:57 and nothing even shows up in lsusb now Jan 15 04:08:15 dragorn: yeah, cant seem to force it on either, i'll have to research it more Jan 15 04:14:22 this android oven must be great for baking roms Jan 15 04:44:00 how do you make an app using JsonReader to work pre api level 11. Is it available in the compatibility library Jan 15 04:45:20 i would just use JSONObject and such Jan 15 04:46:22 xorgate: this seems like a good option http://code.google.com/p/google-gson/downloads/list Jan 15 04:46:36 yes many people use that as well Jan 15 04:47:30 xorgate: their api seems similar to the JsonReader class Jan 15 04:47:44 could be just a simple replace of imports Jan 15 04:47:46 will try Jan 15 05:10:30 good night Jan 15 05:32:45 Are there many Android designers in this channel? Jan 15 05:33:17 I doubt this Jan 15 06:25:06 Why is it that when I make an AlertDialog with a view that contains two EditTexts (user/pass) the soft keyboard doesn't appear, even though the focus is in the first edit? Jan 15 06:27:35 I've got a checkbox in my listview even though I set the focussable property to false it still steals the touch so I cant detect long press. Any ideas? Jan 15 06:35:26 touchinfocusmode Jan 15 06:36:20 or focusinthouch mode rather Jan 15 06:36:34 clickable and longclickable ? Jan 15 06:43:45 JakeWharton: There? Jan 15 06:43:53 eh Jan 15 06:43:56 not for long Jan 15 06:44:48 JakeWharton: keep getting this error java.lang.UnsupportedOperationException if I use android:minHeight="?attr/listPreferredItemHeightSmall" of my text view on API level 10 Jan 15 06:44:53 any ideas? Jan 15 06:45:19 that attribute was added in API 11 Jan 15 06:45:40 also you need to do ?android:attr/listPreferredItemHeightSmall Jan 15 06:46:26 JakeWharton: should I have separate layout or move it in a theme? Jan 15 06:46:42 er, for what? Jan 15 06:47:25 for say API level 10 should I have a separate layout that does not have this attribute? Jan 15 06:53:27 is there any common cause why a LocationListener wouldnt get called? Jan 15 06:53:36 by common cause i mean a common mistake people make Jan 15 06:56:28 can anyone explain to me why android is better than ios? in development terms? I'm coming from an iOS background doing android things now, and to be honest, I just don't see the appeal Jan 15 06:57:17 its cheap, thats about it (dissatisfied) Jan 15 06:59:27 whats your dissatisfaction about? I think I have just come to dislike java... or perhaps the android framework. I'm not sure, but its not fun Jan 15 06:59:53 superfluous: its not a simple question; anyhow i think its good to know a few platforms and choose the one that best fits your project Jan 15 07:00:50 each platform has their pros and cons, and these factors are even changing Jan 15 07:01:42 balls2thewall: integration between applications, extensibility, a bit more freedom in terms of what you can do Jan 15 07:01:55 ali__: no I would just hard code it to 48dp or make your own for it Jan 15 07:02:25 the most irritating thing is lack of standards. i cant count the complaints i get for some sort of model that doesnt support a certain feature or just handles it uniquely Jan 15 07:03:35 balls2thewall: welcome in real world, outside of playpen Jan 15 07:03:47 I think its a good idea to use whichever platform works best. And I know that there's some more freedom to it. But I can't enjoy myself developing for android. Jan 15 07:03:58 not yet at least...? Jan 15 07:04:06 welcome to poor design choices you mean Jan 15 07:04:23 balls2thewall: no, the "lack of standards" happens anytime you don't do complete control Jan 15 07:04:33 and allow extensibility Jan 15 07:04:43 what? Jan 15 07:05:02 I'm pretty sure the rails community has standards, and that's pretty open, from what I know about it Jan 15 07:05:57 superfluous: problem is, there are a large number of players in the 'virtuous cycle' for a mobile device Jan 15 07:06:18 and these players have differing goals Jan 15 07:07:09 in the apple ecosystem, they are the OS developer and hardware developer; so 2 less parties in that cycle Jan 15 07:07:26 which makes things a bit simpler for them Jan 15 07:07:58 superfluous: Rails community is... a clusterfuck is a nice word. They got better, but I think it still defaults to selling snake oil to unknowing devs (Active Record) Jan 15 07:08:20 also, it's just a library, not an OS Jan 15 07:08:32 and in actual use, you can control the whole deployment Jan 15 07:09:47 the last issue i had was with the camera intent on a galaxy note if im not mistaken. thats what i mean by lack of standards. the same code giving different results for different models. Jan 15 07:11:05 yes, that is a problematic area with android; like i said, its good to know the pros and cons of each platform and choose one that best fits your project Jan 15 07:13:57 is there a way to simulate the situation where my activity destroyed and re-enabled ? Jan 15 07:14:13 in the emu there is something in the dev tools Jan 15 07:14:33 not on a device though ? gnex ? Jan 15 07:15:03 i dont have that phone Jan 15 07:15:21 on my droid-1, i would press the home button and start up the browser :D Jan 15 07:15:29 System Settings > Developer Options > Don't Keep Activities Jan 15 07:15:30 :) Jan 15 07:15:49 kevinb ah yeah, cool will try thanks Jan 15 07:16:09 also generally just rotating the device will cause a destroy/create (unless you're handling that another way) Jan 15 07:16:52 i wonder what version of android that was added Jan 15 07:17:01 i think 4.0 Jan 15 07:17:53 "power" users sometimes like to enable it to keep more free memory and then complain about apps being slow Jan 15 07:18:06 heh Jan 15 07:19:15 config change doesn't blank all my class vars, but something like the being in the bg for a while while android uses lots of mem does Jan 15 07:19:18 is that right ? Jan 15 07:19:23 or does that sound right ? Jan 15 07:20:08 oddly though, the fragment that I'm playing with doesnt get it's onDestroy called when this happens Jan 15 07:21:26 oh a spars array is not bundle-able ? Jan 15 07:21:36 spare* Jan 15 07:21:41 oh god i cant type Jan 15 07:21:48 sparse* Jan 15 07:22:02 onDestroy isn't guaranteed to be called. it is possible for your process to be killed as a whole (and restarted later) which is different from the Don't keep activities setting or rotating the device Jan 15 07:22:35 ah, major flaw in my understanding corrected Jan 15 07:22:54 it takes some getting used to Jan 15 07:22:55 so something like onSaveInst* or onPause will "always" be called Jan 15 07:23:03 ? Jan 15 07:24:53 there is a diagram and a table about killable or not here: http://developer.android.com/reference/android/app/Activity.html Jan 15 07:55:56 I'm trying to grab information to figure out if the user is scrolling up or down Jan 15 07:56:31 OnGestureListener's onScroll or onTouchEvent seems to work OK when it begins, but how do I continue listening while the user is dragging? Jan 15 08:14:13 Can anyone explain this? I'm not understanding what's happening here: label2640: int j = 0; Jan 15 08:15:04 what's there to understand? Jan 15 08:15:04 And FYI, there's an error with that, but I saw the code somewhere earlier and so I'm trying to figure out why there is an error. Jan 15 08:15:22 what's the error Jan 15 08:15:32 Well, I don't understand what is taking place. Especially regarding the colon on label2640 Jan 15 08:15:49 it's a label Jan 15 08:15:52 I get that j is an integer set to 0, but what is the label: <-- part Jan 15 08:16:28 Okay. What is a label? I'm not following. We talking about... TextView, Label, etc, kind of label? Jan 15 08:17:11 it's a marker in the code really, I don't know of many uses for it in java Jan 15 08:17:29 ok thanks Jan 15 08:17:51 http://stackoverflow.com/a/2545160/857853 Jan 15 08:19:08 http://stackoverflow.com/a/130390/857853 Jan 15 08:19:09 etc Jan 15 08:19:12 ha! It's a goto? I haven't even thought of those since Basic. Jan 15 08:19:17 Thanks I appreciate it! Jan 15 08:20:11 it's not exactly goto but yes, it's used for goto in other languages Jan 15 08:20:15 java doens't have a goto Jan 15 08:20:40 Ok Jan 15 08:22:11 you can only use labels with break and continue in java Jan 15 08:24:52 Ok Jan 15 08:30:12 wtf this pull to refresh thing is screwing up all my touch events grrr Jan 15 08:42:04 what is the minimum changes needed to publish an app with a different package name? Jan 15 08:49:22 Ge0rG: Minimum = refactoring. Jan 15 08:50:07 refactoring is a placeholder name. is it possible to get away with just changing androidmanifest.xml or do I need to change the package name in all sources as well? Jan 15 08:50:09 Ge0rG: After that, Google has a "dont post repetitive content" policy. So if you just simply make duplicates, it's a violation. But if you had... an app that contained shit about birds, and then took the exact same app and changed it to "dogs", then you're good. Jan 15 08:50:50 Ge0rG: The package name must be changed, so that details?id= in the URL isn't a dupe. Jan 15 08:50:56 As far as I know. Jan 15 08:51:19 And if you just change the "com.packagename.yoda" in AndroidManifest.xml, you're app won't work. Jan 15 08:52:14 pierpark: I'm not about posting it to google play, but to let a user install the app twice. Jan 15 08:52:27 pierpark: thats why I'm asking _what_ I need to change. Jan 15 08:52:37 Oh. Jan 15 08:52:46 Okay, then you need to change the package name in: Jan 15 08:53:19 AndroidManifest.xml, and each of your class files, AND any XML files that use your package name. Jan 15 08:53:32 So anywhere that you currently have com.yourpackage.name, you will need to change it to a new one. Jan 15 08:53:45 Otherwise, the device will see it as the same app. Jan 15 08:54:15 Are you using Eclipse? Jan 15 08:54:29 What I do: Jan 15 08:54:46 I go to my "src" folder, and expand it.. Then I right click on my package name, and go to Refactor->Rename. Jan 15 08:55:08 are you refactoring the manifest package or the source package ? Jan 15 08:55:10 I update references from there (which changes it in your class files, and manifest) Jan 15 08:55:31 g00s: whats the difference? Jan 15 08:56:03 your app can have a package "pierpark.foo" while the source is in "blah.bar" Jan 15 08:56:14 usually they are the same, but they don't have to be Jan 15 08:56:24 Ah. That's interesting. Thanks for the info. Jan 15 08:56:36 the market only looks at the package declared in the manifest Jan 15 08:56:40 g00s: what do I need to make it work, besides of adding full name references to AndroidManifest.xml? Jan 15 08:57:20 sorry Ge0rG my scrollback doesn't go far enough to see what you last posted :( Jan 15 08:57:43 Sorry, that's my fault for flooding. He asked what the minimum was to: what is the minimum changes needed to publish an app with a different package name? Jan 15 08:57:43 but anyhow, you can use eclipse to refactor either Jan 15 08:57:46 HOWEVER Jan 15 08:58:07 refactoring the apps package via the ADT has seriously fucked up the files in my past Jan 15 08:58:11 g00s: " what is the minimum changes needed to publish an app with a different package name?" with s/publish/install/ Jan 15 08:58:21 i mean, malformed the xml so that it wasn't even xml any more, etc Jan 15 08:58:22 anybody use the HandMark Android-PullToRefresh thing? Jan 15 08:58:23 And then he said: I'm not about posting it to google play, but to let a user install the app twice. Jan 15 08:58:28 I'm having some troubles Jan 15 08:58:48 Ge0rG: ah, i'm not sure :| Jan 15 08:59:24 Ge0rG: whenever i see your nick, i think of George of the Jungle :D Jan 15 08:59:54 :) Jan 15 09:00:13 g00s: then I can be happy you don't know my full name :P Jan 15 09:00:21 haha Jan 15 09:00:47 g00s: Yeah, that has happened.... it's an acquired skill to get Eclipse to refactor/rename properly. I will go to my SRC folder, then find my com.package.name, right-click and then refactor->rename... but after that crap, I always do a CTRL+H, and search every file for my old package name..if any, I'll globally replace that exact finding, keeping in mind that the full string must match. Jan 15 09:00:47 So, com.package.name does NOT find: com.package.name$myView if in an XML file. It's a tricky nightmare sometimes. Jan 15 09:00:49 lmao. Jan 15 09:01:01 Watch out for that tree? ha ha Jan 15 09:01:29 I've got a ViewGroup that takes care of some things. In particular, its onInterceptTouchEvent gets called a lot. I think it might be because of that, but I cannot get touch events from other places (the parent view, I believe) Jan 15 09:01:39 superfluous: no idea Jan 15 09:01:55 noooooo :'( Jan 15 09:02:53 all that touch crap.... just makes me think of a Madonna song. I think? Maybe not? Jan 15 09:02:55 Okay.. umm... Jan 15 09:03:00 Tell me what a ViewGroup does. Jan 15 09:03:57 If its anything like.... the problem with setting touch listeners for custom ListViews, then it's because of the Clickable==true ... so when turning that off, it allows the other view to get the focus, or whatever. Jan 15 09:07:34 A ViewGroup is like a layout that has children views Jan 15 09:07:59 if you intercept the motion events, then it wont get delivered to the children...which i guess is good, except that now I want to intercept them from somewhere else Jan 15 09:08:03 or at least know about them Jan 15 09:08:24 Hmm.. Jan 15 09:08:28 Hold on. Jan 15 09:08:50 I went through a similar nightmare recently.. let me see if there is any way to make sense of it. Jan 15 09:10:12 When you launch your activity, is it setting the view as another .java file? Jan 15 09:10:35 meaning, you've got a java file running, where sometimes you'd be saying: setContentView(mylayout.xml) Jan 15 09:11:15 oops Jan 15 09:11:16 I mean.. Jan 15 09:11:36 Inside your onCreate where you set your view... are you adding a view? Jan 15 09:11:45 like so: this.m_hMainView = ((ColorLearnView) localObject3); Jan 15 09:11:45 ((RelativeLayout) localObject2).addView(this.m_hMainView); Jan 15 09:11:59 probably Jan 15 09:13:22 Okay.. well if you're adding a view (which is what you end up seeing on screen).... Jan 15 09:13:31 SimonVT hi are you around ? Jan 15 09:13:43 you need to listen for touch from your first called java file... not the java that is the added view. Jan 15 09:13:46 I think. Jan 15 09:14:09 Because your typical onClickListener stuff goes a little bonky when listening through nested views. Jan 15 09:14:19 I guess I'm not helping. Sorry. Jan 15 09:14:37 Well...yeah Jan 15 09:15:20 This whole java, android, conflabnated, code just doesnt seem to make logical sense to me Jan 15 09:32:46 probably because you're using confabulated words Jan 15 09:33:12 confabulated means "Fabricate imaginary experiences as compensation for loss of memory" Jan 15 09:33:38 and your comma placement is wrong Jan 15 09:33:53 yes, you're a very confused puppy. Jan 15 09:35:29 hey guys, I inherited a project from another programmer and I observe in logs that GC kicks in ~20 times in a row, each time collection ~ 300-1000 objects on a span of 1 minute Jan 15 09:35:33 how bad is it? Jan 15 09:35:45 <\0x90\> have a listview that returns data to activity that started it. its multiple choice listview. now i want on listview item click to open a dialog where you can input something. however, both data from dialog and listview ultimately (click back button on phone until it reaches activity1) data from listview AND this new dialog needs to be returned to activity1. it's a configuration activity. is this good way to do this or is it better Jan 15 09:35:47 <\0x90\> to launch new activity on listview item click ? Jan 15 09:36:46 lamanche_: could probably be better Jan 15 09:40:06 pragma- , I thought that GC should kick in only one time, so at least 2 times in a row is a problem, isn't it? Jan 15 09:43:48 oh shit Jan 15 09:43:54 android sucked again Jan 15 09:51:51 Can we change orientation of AlertDialog independent of Activity orientation ? Jan 15 09:51:51 yeah the stupid view that has the onIntercept will always get the views, even if I set gesture recognizers and whatever on parent views and stuff Jan 15 09:51:55 i dont know android Jan 15 09:54:13 ... whoever was selling maven to me should rot :/ Jan 15 09:56:32 i have a dialog whose code is inside an actitity and i want that my dialog to take the orientation of the device and activity to remain portrait Jan 15 09:57:13 p_l: heh, fucking maven Jan 15 09:57:20 are you a maven plugin writer yet XD Jan 15 09:57:29 g00s: no Jan 15 09:57:46 as soon as you have to do something outside the box; its time to start writing plugins Jan 15 09:57:58 but getting it to understand "make me *one* jar with all deps *and* test code from src/test" is *HARD* Jan 15 09:58:15 hm; that should be easy Jan 15 09:58:22 i havent used it in a while though Jan 15 09:58:38 my android app doest get big enough to warrant that stuff Jan 15 09:58:42 thats quite easy Jan 15 09:58:56 in the grand scheme of maven atleast :) Jan 15 09:59:12 deebo: then FFS write it down on the internet as something other than a dump of XML attributes allowed in a plugin Jan 15 09:59:27 try the shade plugin Jan 15 09:59:46 packaging plugin can also be configured that way i think Jan 15 09:59:58 the goal is to pack everything into one jar I can ship to a target machine and have it run the test suite from it Jan 15 10:00:12 yeah, the mentioned plugins can do that Jan 15 10:00:47 you can tell the packaging plugin to unzip and include dependencies in the result jar Jan 15 10:01:02 getting all deps into one jar was easy Jan 15 10:01:18 making it compile and include stuff from src/test... >_> Jan 15 10:01:38 you have to include the test scope as a dependency Jan 15 10:01:54 and build a test scope version of the dependency Jan 15 10:01:55 deebo: which lead to project not compiling :D Jan 15 10:02:24 some have a separate -tests maven module that tests everything Jan 15 10:02:33 makes it a bit easier if you have many modules Jan 15 10:02:35 I have one module Jan 15 10:02:43 it's not supposed to grow beyond that Jan 15 10:03:15 I'm tempted to hit all that "test" support out, and put a small custom runner that would run from CLI Jan 15 10:04:30 Hey guys, can you parse the JSON data drom php and databases IF host have disabled the external mysql access? Jan 15 10:06:23 DOSP: well that's one step before JSON Jan 15 10:06:33 DOSP: investigate the HTTP response code Jan 15 10:06:50 a php error might give you a 500 or a 505 Jan 15 10:09:52 is there a way to restart logcat if it stops going in eclipse ? Jan 15 10:09:59 or do i have to quite eclipse and restart Jan 15 10:12:53 :/ I really can't figure this out Jan 15 10:12:56 I feel really stupid Jan 15 10:13:48 okay, but i must now if is it possible to connect there ? if is disabled external use of mysql ? Jan 15 10:14:13 DOSP: since you talk with the PHP site, not database directly, it only matters if the PHP site can access mysql Jan 15 10:14:25 (n.b. you sure picked a braindamaged stack) Jan 15 10:14:38 uhmmm okay:) thank you guys Jan 15 10:14:44 not sure what is worse, php or mysql Jan 15 10:14:53 well you can still wirte some php function Jan 15 10:14:55 superfluous http://code.google.com/p/android/issues/detail?id=12976 Jan 15 10:14:55 g00s: it's simple - those two together Jan 15 10:15:06 i think that has a link to a blog post that does drag and pinch Jan 15 10:15:15 connect_to_mysql_and_exit_with_500_if_it_s_not_working(); Jan 15 10:15:51 but that's beyond any android dev discussion, of course Jan 15 10:16:07 k0nichiwa: unfortunately, it seems unrelated Jan 15 10:16:21 d00d Jan 15 10:16:28 it does a total example of handling drag and pinch Jan 15 10:16:43 i told you it has LINK to a blog post Jan 15 10:16:46 link at the top Jan 15 10:17:03 I've read it Jan 15 10:17:11 http://android-developers.blogspot.com/2010/06/making-sense-of-multitouch.html Jan 15 10:17:16 I've read that Jan 15 10:17:37 it doesnt really address my issue Jan 15 10:21:26 and yea guys, sorry iam asking for php or mysql questin in android dev just needed to know about parsing e.t.c. okej then :) thanks a lot Jan 15 10:28:14 interesting that CES 2012 was all about android; CES 2013 didn't seem like that at all Jan 15 10:28:42 does anyone knows Jan 15 10:28:43 everybody was showing their windows 8 stuff; but I think MS is going to screw all those oems Jan 15 10:28:53 how onCreate() Jan 15 10:29:13 i mean after on Create is called listview choices are preserved:S? Jan 15 10:29:15 g00s: i think we will see a windows 9 in 12-18 month Jan 15 10:29:36 google will have nexus; ms will have surface; and apple. and then there will be oems fighting for scraps Jan 15 10:29:58 step in ubuntu Jan 15 10:30:00 :) Jan 15 10:30:05 so we'll see Jan 15 10:30:06 monsti: could be right; sounded like MS recognized they needed to speed up their cycle Jan 15 10:30:08 'windows blue'? Jan 15 10:30:11 ms will have a wish of having a surface ;) Jan 15 10:30:17 StingRay_: Ubuntu FTW ! Jan 15 10:30:43 i saw somewhere that a few phones were saying to insert the CD and restart Jan 15 10:30:46 Parhs : they are not unless you do it Jan 15 10:30:59 g00s: ms knew that vista was a big mess and they created windows 7 - which is really nice Jan 15 10:31:02 i dont but they are kept Jan 15 10:31:13 it is really weird Jan 15 10:31:39 how do i differentiate the lockscreen from the home screen? as this code: final ImageView view = mImageView; view.setImageBitmap(b); sets the selected gallery image as the lock screen as well as home screen wallpaper. Jan 15 10:31:44 maybe because it is singleTop ? Jan 15 10:31:52 g00s: what is even worse then win 8 - is the win 2012 server Jan 15 10:32:17 i doubt there will be any need for metro on a touch screen webserver (!?) doh Jan 15 10:32:25 i really like that MS is trying something new though. competition is good Jan 15 10:32:36 what's new? Jan 15 10:32:41 monsti: Vista was 7... rushed Jan 15 10:32:43 http://pastebin.com/P5x1PTr7 here is the source.Breakpoint at 80 says 0 but after that at 156 breakpoint says the previous Jan 15 10:32:56 single source, multiple architectures ... that's linux ;) Jan 15 10:32:58 g00s: no phone asked for CD - they asked for "OS disc" Jan 15 10:33:22 monsti: I installed 2012 server, and I was *very* positively surprised Jan 15 10:33:30 You don't install the GUI part on servers :) Jan 15 10:33:33 http://winsource.com/2013/01/14/if-your-windows-phone-fails-to-start-just-insert-the-windows-installation-disc-humor/ Jan 15 10:33:40 you install it on management machine Jan 15 10:33:49 g00s: and the screen does not say "CD" Jan 15 10:33:56 p_l: yeah the server is really nice - but the touch screen stuff makes no sense at all Jan 15 10:34:07 p_l: also you can't install 2012 from disk :( Jan 15 10:34:07 installation disc to me means CD Jan 15 10:34:23 e.g. when enabling .net 3.5 you have to install stuff from the internet or from your own silver cd Jan 15 10:34:24 monsti: it's just common support in the UI framework Jan 15 10:34:49 imagine in 3-5 years somebody will install server 2012 in a nuclear powerplant Jan 15 10:34:53 Servers run headless in 2012 with database-driven configuration, sort of Jan 15 10:34:57 and needs a usb stick for installing the OS ;) Jan 15 10:35:21 or will simply boot from network... :D Jan 15 10:35:46 (even NT5, and probably earlier, allowed installation from network) Jan 15 10:36:09 monsti: also, I'm not sure if Windows wasn't first with "single source, multiple architectures", at least compared to linux :) Jan 15 10:36:57 (Windows NT, that is) Jan 15 10:37:17 p_l: well yeah but someday a great microsoft brain decided to drop non intel CPUs Jan 15 10:37:26 btw. is there an intanium version? Jan 15 10:38:50 monsti: it wasn't Microsoft that dropped non-intel cpus :) Jan 15 10:39:15 well mips didn't sell that many mips NT servers ;) Jan 15 10:39:19 Hello how do i measure signal strength on the current connected wifi ap? Jan 15 10:39:24 and yes, Intel/HP pleaded and pleaded for continued existence of Itanium version, since that's the only one non-x86/amd64 maintained by MS Jan 15 10:39:46 BrixSat: via code? Jan 15 10:39:56 timroes: yes Jan 15 10:40:01 monsti: MIPS, Alpha and PPC versions of NT were afaik made by vendors of machines including those cpus Jan 15 10:40:08 http://stackoverflow.com/questions/1206891/android-how-to-monitor-wifi-signal-strength Jan 15 10:40:18 p_l: anyway i hope that i can get rid of 2012 server before it spreads too much Jan 15 10:40:35 p_l: i really hope win9 will be a success - and i don't care about a tablet version ;) Jan 15 10:40:43 timroes: do i need broadcast receivers? ain there a another way? Jan 15 10:40:52 yeah, gorill arm effect :D Jan 15 10:42:10 BrixSat: you can also just get the WifiManager class, and use getScanResults() to get the latest scan results Jan 15 10:42:11 http://developer.android.com/reference/android/net/wifi/WifiManager.html#getScanResults%28%29 Jan 15 10:42:13 p_l: about 4-5 years ago MS pocket PCs were a true success for embedded systems and industrial applications Jan 15 10:42:27 p_l: i have no idea why MS decided to drop that marked Jan 15 10:42:51 monsti: the WinCE package is still available Jan 15 10:42:53 p_l: a windows phone with embedded windows 7 or 8 (successor of CE) is about 800 euros Jan 15 10:42:59 BrixSat: but if you want to initialize a new scan, thats of course asynchronous and you will get notified about the end of the scan Jan 15 10:43:00 what died was the WinMo build Jan 15 10:43:15 p_l: the only difference is it can run unsigned code Jan 15 10:43:16 and Windows Phone 8 is afaik NT Jan 15 10:43:26 not CE Jan 15 10:43:31 timroes: i dont want a new scan i just want to know with how much signal strenght im i connected. Jan 15 10:44:00 p_l: i worked at a company who had a phone software as part of their enterprise solution and we rewrote an android version Jan 15 10:44:02 Windows 9 / Windows Phone 9 will continue along in convergence of apis; i wonder if it will be like Ubuntu Phone Jan 15 10:44:07 timroes: i cannot loose connectivity Jan 15 10:44:10 BrixSat: yeah then just use the above method to get the latest scan results Jan 15 10:44:21 ok thks Jan 15 10:44:36 meanwhile, apple still seems to think we need a phone, tablet, and pc Jan 15 10:44:36 p_l: about 3 weeks ago my collegues told me, that ms decided to give them money (!) to create a windows 8 phone version Jan 15 10:44:55 monsti: yes, I agree that killing off WinMo like that was stupid :) Jan 15 10:45:19 timroes: but i would still need a broadcast receiver? Jan 15 10:45:22 BrixSat: don't forget to add the ACCESS_WIFI_STATE permission to your manifest Jan 15 10:45:26 no Jan 15 10:45:32 just like, IMO, the completely bollocked try at "walled garden" in win8 is broken Jan 15 10:45:35 p_l: even on win embedded 8 devices there is a lack of software e.g. device management for enterprices Jan 15 10:46:26 i think MS just had to push whatever out the door now; their window of opportunity was/is closing Jan 15 10:47:03 g00s: tablet customers don't know why they can't install PC software Jan 15 10:47:19 yeah, thats why samsung said they would not do any RT tablets Jan 15 10:47:47 and this is a true software issue Jan 15 10:47:48 i dont think MS should kill RT though; they need to be more independent of Intel Jan 15 10:47:53 the RT hardware is nice Jan 15 10:48:13 i would love to see a android/rt hybrid Jan 15 10:48:16 or a virtual rt Jan 15 10:48:43 timroes: thks Jan 15 10:49:07 aarrgh. I'm losing my mind with "source not found" crash. I swear I had program working on friday and now it's doing that and even taking backup from friday and thursday still causes crash Jan 15 10:49:21 BrixSat: to find the currently active wifi from the scan results compare the bssid or something against WifiManager.getConnectionInfo().... Jan 15 10:50:06 timroes: yes, the ssid will always be the same no change there but i still would avoid to hardcode the name and use a system return variable Jan 15 10:50:19 now, about gorilla arm. i had a chance to play with a huge wacom tablet. someone i knew was using this with zbrush. i dont see why a huge touch tablet would be any worse Jan 15 10:50:53 g00s: there are 2 things i want in the next 5-10 years Jan 15 10:50:59 1) a living room tablet table Jan 15 10:51:14 why can't eclipse even give a hint WHAT source it's missing Jan 15 10:51:22 file, function, SOMETHING Jan 15 10:51:22 2) a oled wallpaper with 1.000.000 x 600.00 pixels Jan 15 10:51:24 and there was that really cool demo of the keyboard rising from the touch surface using microfluidics that was interesting too Jan 15 10:51:36 and in 20 years i want a holodeck Jan 15 10:51:38 oled wallpaper :) Jan 15 10:51:44 timroes: why is there a get hiddenssid and a get ssid? Jan 15 10:51:49 g00s: seen the old total recall movie? Jan 15 10:51:56 yeah, the old one Jan 15 10:52:00 arnold had that 20 years ago ;) Jan 15 10:52:06 timroes: shouldnt it return the name of the connected network being it hidden or not? Jan 15 10:52:26 BrixSat: read the docs :) Jan 15 10:52:34 getHiddenSSID():boolean true if this network does not broadcast its SSID, so an SSID-specific probe request must be used for scans. Jan 15 10:52:38 timroes: yes im there :p sorry Jan 15 10:53:58 here is the microfluidics keyboard http://www.engadget.com/2012/06/06/tactus-technology-prototype-android-tablet-shows-off-shapeshifti/ Jan 15 10:54:20 i suppose nobody here knows what error the source not found is? Jan 15 10:54:57 BrixSat: I don't know if multiple AP with the same SSID result in one ScanResult in the list, if not, you want to compare the bssid, so you really find the right Access point and not any AP with the same SSID name. But perhaps someone here knowns if there will be one or multiple ScanResults for multiple AP with the same SSID? Jan 15 10:55:34 g00s: i also want a sd-card 2 brain interface Jan 15 10:55:38 im comparing the bssid also as 2 wifi networks would avoud in 2 items in the list Jan 15 10:55:53 all i want is my device to have sdcard :| Jan 15 10:59:00 even backupped apk's started to crash Jan 15 10:59:04 sheesh Jan 15 10:59:29 too hard to ask for previously working apk's to still work? Need I reinstall whole phone or what :-< Jan 15 11:13:46 tneva82, did u unintstall on the device ? Jan 15 11:13:53 and then reinstall w/eclipse run as ? Jan 15 11:14:25 is it safe to upgrade to Juno yet? Jan 15 11:14:30 (from Indigo) Jan 15 11:14:50 belgianguy, yes Jan 15 11:14:50 very safe Jan 15 11:14:51 Eclipse can be err... fickle Jan 15 11:15:03 I use it for myself since it came out Jan 15 11:15:08 I know Jan 15 11:15:19 but it's all good in general Jan 15 11:15:28 can I detect which route android would connect to an address, loopback, wifi, mobile? Jan 15 11:15:31 belgianguy, are you on Linux? Jan 15 11:15:38 superlinux-hp: yeah, Ubuntu Jan 15 11:15:55 Ah! I have debian squeeze.. so it's almost the same Jan 15 11:16:13 well.. let me tell you what you should do then Jan 15 11:16:15 Anyone know a good project/sample code I can use for capturing video with the camera, I need something robust which will account for both front and rear facing cameras Jan 15 11:16:48 1st increase through ulimit the number of opened files opened Jan 15 11:17:01 belgianguy, with me? Jan 15 11:17:17 superlinux-hp: I'm listening, never heard of ulimit though Jan 15 11:17:21 but I can Google it Jan 15 11:17:35 belgianguy, it's the users limit Jan 15 11:17:49 if you are root everything is opened Jan 15 11:18:23 and what would be a suitable value here? Jan 15 11:18:44 belgianguy, it's also used with web proxy server caching when you have tooooo much a number of users Jan 15 11:20:38 2nd, make a habit not to drag the android elements in the graphical layout editor. it will make your Xorg restart suddenly.. I suffer from this.. otherwise it's all good Jan 15 11:20:54 superlinux-hp: yeah, I usually do the pure XML, anyway :) Jan 15 11:21:12 belgianguy, I am too on XML sometimes Jan 15 11:22:16 belgianguy, regarding the value just give it in bytes as much as you feel it's enough Jan 15 11:24:19 brb Jan 15 11:26:02 hi all Jan 15 11:26:32 i've a problem with my app. I suppose there's multiple instance of the same app running in background Jan 15 11:26:51 there's a way to check it in the "onResume" function Jan 15 11:28:10 is there a way to check it? Jan 15 11:28:42 There can only be one instance of a single app. Jan 15 11:37:40 belgianguy, I am back Jan 15 11:37:46 HDroid: my app cache 10 locations then upload them on a website. Each upload send me a confirmation email, and right now i'm receiving multiple mail for the same upload Jan 15 11:37:56 anything else that you want? Jan 15 11:38:37 when i , running my app, press home button, then relaunch the app again from the app list, it shoud bring the app to the front right? Jan 15 11:38:55 drastico: normally, yes. Jan 15 11:39:23 ok Jan 15 11:39:24 ty Jan 15 11:39:27 drastico: there are many reasons why a piece of code gets run more than once, but it can't be because the app is running more than once. Jan 15 11:39:54 drastico: if the processing has to be done in the background, a service might make sense, decoupled from any activities. Jan 15 11:39:56 i'm debugging right now, and this is the last change :D Jan 15 11:40:18 i'ts a location listener Jan 15 11:41:25 Locations do update, possibly it does an upload on every location update. Jan 15 11:42:48 nope, i'm checking the number of locatioUpdate Jan 15 11:44:00 hi Jan 15 11:45:38 i am trying to make an app that shows a main screen and from there its possible to enter different preference screens. can i do this within one activity? Jan 15 11:46:32 and how? using different layouts? viewgroups? Jan 15 11:46:44 aton TabActivity myb? or ViewPager+separate Fragments for each 'screen' Jan 15 11:47:37 no fragments in android 2.x Jan 15 11:47:54 i will try tabactivity Jan 15 11:47:57 thanks Jan 15 11:48:15 good stuff Jan 15 11:48:44 each tab having its own layout i guess? Jan 15 11:48:46 btw you can use the compatibility/support libs in order to get fragments on <3.0 Jan 15 11:48:50 yes Jan 15 11:49:20 ah no problem, my phone uses 2.x, i code 2.x until i buy a new phone :) Jan 15 11:49:35 just trying to get into android a bit, nothing too serious Jan 15 11:56:43 hi can some give some tips in implementing some kind of widget for interacting with my volume rendering application? Jan 15 12:01:01 fdvalencia85, http://www.helloandroid.com/tutorials/days-xmas-widget-tutorial Jan 15 12:01:26 i used that to help me dev my first homescreen widget Jan 15 12:05:33 if im to write a BB10 app, can I basically write that in Android? or is there another suggested way, anyone any ideas? Jan 15 12:07:19 brx_ thanks for the reply, but maybe I used incorrect terminology "widget", what I whant to do is create some kind of gui to interact with the glsurfaceview Jan 15 12:07:40 *want Jan 15 12:08:02 Gaz`: as I understand, BB10 can run android apps repackaged with its java runtime. But ofc that are two complelty different platforms, and (as long as BB is a serious platform, never used it) apps coming from another platform will not fit the styleguides on BB very well Jan 15 12:08:33 so its like porting a iOS app to android 1:1, meaning android users will pretty much downvote your app for being ugly (on android) Jan 15 12:08:39 sry I cant help you, I havnt worked with glsurfaceview Jan 15 12:10:33 ok, thank you anyway :D Jan 15 12:12:18 this is image is more or less what I want to implement http://www.cgw.com/images/Media/PublicationsArticle/81977.jpg Jan 15 12:24:07 would anyone happen to have any idea how are side panels implemented? think facebook and to some extent google play with its tiny category list that takes up only part of the screen Jan 15 12:24:26 ball2thewall: i was just about to ask exactly the same question :D Jan 15 12:25:07 i'm thinking about using a viewpager and setting a offset or something. so that only part of the new page inside the viewpager will be slided in Jan 15 12:25:33 id like to avoid offsets and little fidgety things like that :/ if possible Jan 15 12:25:59 balls2thewall: would you know how to do it ? Jan 15 12:26:11 i mean how set such an offset inside a viewpager Jan 15 12:26:15 to* Jan 15 12:26:27 i was trying to implement this http://stackoverflow.com/questions/8657894/android-facebook-style-slide/8673805#8673805 but it didnt work :/ Jan 15 12:26:29 theres a library called sliding menu Jan 15 12:26:36 and not exactly what i want Jan 15 12:26:36 look into how that's implemented Jan 15 12:26:45 it's a great implementation of what you want an open source Jan 15 12:26:58 even if you don't use that library it's a better explanation of how, than someone can give on IRC Jan 15 12:27:43 mikedg: sounds awesome. thanks for the hint Jan 15 12:28:15 no problem Jan 15 12:28:25 but in addition: does anybody know to set an offset in a viewpager? i want to partially slide the next page in. Jan 15 12:28:29 how* Jan 15 12:29:32 MrMaffen: I'm not sure that's possible without modifying the viewpager source itself Jan 15 12:34:54 mikedg: if i knew how i could approach this problem (even if i have to modify the source itself) that would really help me Jan 15 12:35:15 let me take a look through the code and see what I can gather quickly Jan 15 12:37:26 mikedg: awesome thank you Jan 15 12:37:59 cant guarantee anything cause I need to get to work but ill try Jan 15 12:42:31 hi is there someone that can help me or give me some tips in implementing the GUI for a OpenGL application? im implementing a volume rendering application for android, the rendering part I have already implemented it, now I need to implement de GUI to change some properties of the volume Jan 15 12:42:53 hi Jan 15 12:42:55 the GUI could be something similar to this http://www.cgw.com/images/Media/PublicationsArticle/81977.jpg Jan 15 12:43:20 how can I write a ByteBuffer to a binary file? Jan 15 12:46:18 gmag http://www.java2s.com/Code/Java/File-Input-Output/WritewithByteBuffer.htm Jan 15 12:48:09 MrMaffen: sorry, I couldn't find something immediately and need to start working Jan 15 12:48:28 I apologize, but I think if you ask in a few years, someone will likely be here with better off the cuff knowlege about the ViewPager internals Jan 15 12:48:32 mikedg: ok. thanks for trying man! really appreciate it Jan 15 12:48:33 fdvalencia85, cheers Jan 15 12:48:42 hours not years :) Jan 15 12:48:45 :D Jan 15 12:48:55 yea i'll dot that. bye Jan 15 12:49:00 do* Jan 15 12:49:01 that's not a good start to the day for me Jan 15 12:49:09 guess it's time for some caffeine Jan 15 12:49:34 mikedg: just my method of dealing with a stressful morning :D Jan 15 12:57:03 what does E/JavaBinder(32519): !!! FAILED BINDER TRANSACTION !!! Jan 15 12:57:47 s/o seems to point to image bitmaps Jan 15 12:58:12 but I sample view size and bitmapOptions to only load very small required versions Jan 15 12:58:15 hmmm Jan 15 12:59:30 seems to have no adverse affect in my app Jan 15 13:03:11 MrMaffen: java coding vs. morning sex? Jan 15 13:03:21 well it's your choice xDDDD Jan 15 13:03:52 monsti: why not both? :D i guess that's the main reason why i bought my tf700 xD Jan 15 13:04:03 morning coding and java sex please Jan 15 13:04:36 anyone want to give me feedback on the theme I'm using for my upcoming blog? Jan 15 13:04:54 how can I persist a Location to a sqlite db table? Jan 15 13:04:55 mikedg: sure Jan 15 13:05:14 blog.mikedg.com, the content is currently just placeholder Jan 15 13:05:30 well 2 of the articles are actually going to turn into real articles, but they are a mess at the moment Jan 15 13:06:48 ahhughes: with insert and select statements Jan 15 13:07:18 mikedg your wanting comments on the style ? Jan 15 13:07:21 monsti, is there a database type for a Location or do I need to set x,y as float columns? Jan 15 13:07:24 yeah, the theme Jan 15 13:07:45 ahhughes: for reference check the android sample "Wiktionary" Jan 15 13:07:47 i bought a subscription to elegantthemes.com, if you really want to waste time, you could go through their 80 themes and give me an opinion :) Jan 15 13:07:53 mikedg: i like the overall style. but i've seen some writing mistakes on your "about me" page. dunno if you're aware of that Jan 15 13:07:55 there are a few things that I would consider inconsistent and not complementary Jan 15 13:08:24 mikedg: also i would change the text color of the side menu items. the grey is hardly readable on the yellowish background Jan 15 13:08:25 ahhughes: i think there is also an example for gps data Jan 15 13:08:59 ahhughes: well i would use floats if this is enough Jan 15 13:09:05 the post items/containers are a missmatch with both clean precise feel and that papery worn feel Jan 15 13:09:08 mikedg: "I’m Mike DiGiovanni, sometimes called mikedg, a mobile developer day, and mobile developer by night." "by" is missing here before "day" Jan 15 13:09:10 should be one or the other Jan 15 13:09:18 if you need additional gps data - you have to use more tables Jan 15 13:09:39 and this is why I never kept a blog before :) I suck at writing and proof reading Jan 15 13:09:55 mikedg: also i think "blackerry" isn't right :D Jan 15 13:10:11 mikedg: why write facebook posts? "i sit at mcdonalds and drink a coffe" Jan 15 13:10:13 thanks monsti :) Jan 15 13:10:25 mikedg: "guide" instead of "guie" Jan 15 13:10:31 and guie is misspelled, I should probably do my editing in Word or somethign with spellcheck Jan 15 13:11:32 StingRay_: good point about that, do you have a visual design background? Jan 15 13:11:36 mikedg: but i really would darken the textColor or brighten the background Jan 15 13:12:36 thanks for the feedback guys, I'm gonna turn on the under construction page again Jan 15 13:18:05 mikedg i'm a 16+ year professional games/film vfx artist/td Jan 15 13:18:22 impressive Jan 15 13:18:30 not a designer really, but I'm ok a saying something dont look right and why Jan 15 13:18:31 :) Jan 15 13:18:44 done it enough with console game ui's Jan 15 13:18:47 i'm just looking for people to start populating #android-design Jan 15 13:18:56 i guess IRC is more of a developer thing than designer Jan 15 13:19:46 not really there used to be masses of 3d graphics art related channels Jan 15 13:19:47 mikedg: there seems to be a lot of "straightlaced" (suits) designers, as well as a lot of hipsters posing as designers. Filter them out, you might find people who would give IRC a whirl :D Jan 15 13:19:50 way back when Jan 15 13:20:10 StingRay_: I guess the heavy CS connection helped there Jan 15 13:20:31 (also, demoscene used to be a big source of people going into 3D) Jan 15 13:20:32 yeah, 3d graphics seems different to me Jan 15 13:20:45 dead now on irc Jan 15 13:20:50 3d stuff Jan 15 13:21:04 yeah, i remember when i pirated 3dsmax and hung out in 3d irc channels Jan 15 13:21:08 tis all this google groups google + fb groups all that crap Jan 15 13:21:09 they were quite popular Jan 15 13:21:33 <--- authorised autodesk instructor so cant condone 3d warez Jan 15 13:21:34 :) Jan 15 13:21:51 StingRay_: which autodesk stuff? Jan 15 13:22:01 maya, mudbox mainly Jan 15 13:22:06 as in my cert Jan 15 13:22:13 but cert means nothing really Jan 15 13:22:15 it had to be over 16 years ago when I did that though Jan 15 13:22:31 I know some instructors that I would not employ to do simple 3d jobs Jan 15 13:22:44 (and let's be frank - they might not condone, but I'm pretty sure they looked away in cases of non-commercial use... because then they got to snag cheaply-taught people :D) Jan 15 13:23:01 p_l hence the introduction of PLE Jan 15 13:23:09 personal learning editions Jan 15 13:23:13 :) Jan 15 13:23:39 you find that with most dcc packages now Jan 15 13:23:45 StingRay_: yes, but AFAIK it was done for Maya before it was owned by Autodesk, or at least my old copy of Maya that was first or second PLE wasn't so Jan 15 13:23:48 even the $15k + price tag ones Jan 15 13:23:54 StingRay_: AutoCAD Student is borked, though Jan 15 13:24:08 autodesk huh. stop killing max in favor of maya. ty Jan 15 13:24:18 I worked with Alias and it was much better Jan 15 13:24:21 (not to say that Autodesk didn't sit on laurels with CAD) Jan 15 13:24:23 or they were much better Jan 15 13:24:41 Maya is a different beast to max Jan 15 13:25:00 actually I would expect anyone into dev to prefer Maya by a sh*t load Jan 15 13:25:05 Hi guys, i would lie to know if it is possible to fully replace GCM or CD2M with a custom app that will be installed on my server Jan 15 13:25:05 from my little experience I'd prefer Maya Jan 15 13:25:09 also because it runs on Linux :) Jan 15 13:25:25 origionally came from unix and the old sgi stations Jan 15 13:25:30 as power animator Jan 15 13:25:31 :) Jan 15 13:25:35 god I'm old Jan 15 13:25:35 in order to be fully independent from google to send notifications to android devices Jan 15 13:25:37 i started with max which is prob. why i prefer it. despite it getting laggier and slower with each release Jan 15 13:26:01 balls2thewall how many things can max do ? Jan 15 13:26:04 StingRay_: at least you're legitimely old. I *feel* old quite often, despite being supposedly young Jan 15 13:26:23 balls2thewall point is Maya can only ever do 3 Jan 15 13:26:25 :) Jan 15 13:26:26 H3bus: yes, you can. You'd have to get a custom solution or code it yourself, though Jan 15 13:27:09 StingRay_ elaborate Jan 15 13:27:15 >blender can do everything Jan 15 13:27:18 * balls2thewall hides under table Jan 15 13:27:24 not the point Jan 15 13:27:33 I used to teach Maya in london Jan 15 13:27:50 p_l: yes i guess its true, but what I wonder is if solution already exists, like a JEE app that I would install on my server Jan 15 13:27:52 and to get over the way people look at it, you can simply break it down into just 3 things Jan 15 13:28:10 cause maya is built from a dual evaluation dependancy graphing system Jan 15 13:28:18 > hi is there someone that can help me or give me some tips in implementing the GUI for a OpenGL application? im implementing a volume rendering application for android, the rendering part I have already implemented it, now I need to implement de GUI to change some properties of the volume Jan 15 13:28:19 that just happens to be good a 3d graphics Jan 15 13:28:20 H3bus: besides a custom server you would also need an additional app the user needs to install Jan 15 13:28:26 H3bus: there are some, yes Jan 15 13:28:33 I'm reading some book about fragments, and he has typo, so need your help to render fragments on UI. http://bpaste.net/show/DcW6E223qAg5bVjxWRRl/ Jan 15 13:28:35 H3bus: and you would have to deal with management yourself Jan 15 13:28:48 keeping a distributed system running is not easy Jan 15 13:28:54 Hello! How can i create fully transparent bitmap? I am trying to create using Bitmap.createBitmap(w, h, Bitmap.Config.ARGB_8888); but it always black. All solutions that i found - didn't helped me. Jan 15 13:29:04 fdvalencia85 and youre not using androids built in widgets because... ? Jan 15 13:29:13 abhinavmehta "extends Activity {" Jan 15 13:29:22 how i can clear this bitmap with transparent color Jan 15 13:29:40 StingRay_: yes, book author says extends Activity Jan 15 13:29:54 sure that should be fragmentActivity Jan 15 13:30:10 but as the previous convo says, I'm more a 3d artist than a dev Jan 15 13:30:11 :) Jan 15 13:30:16 StingRay_: topic I'm reading is Adding Fragments during Runtime Jan 15 13:30:23 timroes: yes I know that, i already integrated CD2M notifications in my apps, but in my company the phones don't necessary have a google account set up Jan 15 13:30:27 balls2thewall I need to implement a GUI similar to this http://www.cgw.com/images/Media/PublicationsArticle/81977.jpg Jan 15 13:30:44 xgear: new Canvas(bitmap).drawColor(Color.TRANSPARENT, PorterDuff.Mode.CLEAR); Jan 15 13:30:46 abhinavmehta yes I do that too in my app currently Jan 15 13:30:46 p_l: I know that, I was thinking about a JEE app, with socets that could remain open Jan 15 13:31:12 H3bus: you won't get sockets to remain open, not on mobile data Jan 15 13:31:21 abhinavmehta @SuppressLint("NewApi") <--- not using support libs ? Jan 15 13:31:22 mobile data is just too crappy Jan 15 13:31:22 StingRay_: any suggestions/pointers to read about this…better if you could point some example Jan 15 13:31:45 StingRay_: eclipse needs @SuppressLint() Jan 15 13:31:52 p_l: I guess you're right... Does anybody know how google notification system is working this issue ? Jan 15 13:31:56 H3bus: I don't know about many offerings, but maybe *this* has something for you: https://code.google.com/p/openmobster/ Jan 15 13:32:14 H3bus: they probably use a good adaptive client on the system side :) Jan 15 13:32:30 that blue rectangle is the gui element? Jan 15 13:33:52 yes in the blue rectangle are like some trapezoids that we can move to chabge some properties of the volume Jan 15 13:34:22 i want to implement something similar Jan 15 13:35:02 p_l: openmobster seems good, i will look into it Jan 15 13:36:47 Greets Jan 15 13:37:02 can anyone recommend a good third party library for doing SOAP requests Jan 15 13:37:13 balls2thewall, so how can I implement this?, I have a glsurfaceview for the rendering of the volume, but now I dont know how to implment this gui Jan 15 13:38:20 DysonReturns: are you devving also the SOAP service, or do you have to work with an existing one? :) Jan 15 13:38:49 i could just implement another glsurfaceview, but I dont know to render both glsurfaceview at the same time, and position it correctly Jan 15 13:40:53 p_l: i have to use an existing one Jan 15 13:41:11 that looks tricky to implement in standart widgets, and slow too. id roll my own in a case like this :/ Jan 15 13:41:33 so far i've found icesoap, which allows parsing with limited xpath to objects. http://code.google.com/p/icesoap/ Jan 15 13:41:37 I've a background in AdobeFlex, & Flex and Android components are quite similar…now in Flex we use to have more higher level frameworks to build a big-app…so are there such frameworks in android world too ?? Jan 15 13:42:41 like in Flex, I've used Singleton Pattern, Factory Pattern, DirectInjection Pattern frameworks….so does something similar used here in Android world?? Jan 15 13:42:46 are there any tricks for getting a phone to connect to the debug bridge in ubuntu.... mine works only some of the time "Found 0 devices connected with the Android Debug Bridge" :'( Jan 15 13:43:11 ahhughes: enable debuging mode in your phone.. Jan 15 13:43:23 yes Jan 15 13:43:56 abhinavmehta, perhaps you should take a look at Dagger (from square) for dependcy injection Jan 15 13:44:07 abhinavmehta: those are pretty low-level patterns... in Android, you deal with "components", like Activities, Fragments, Services, Content Providers which compose into full applications, and UI framework has Views with some of them bindable to "Adapters" (which connect them to data source) Jan 15 13:44:29 there are also event buses and yes, dependency injection libs :) Jan 15 13:44:43 abhinavmehta, http://square.github.com/dagger/ Jan 15 13:44:43 balls2wall what do you meen with id roll? Jan 15 13:44:45 ahhughes: p_l ty :) Jan 15 13:45:07 ahhughes: hmm reading :) Jan 15 13:46:19 its the same concept as Guice, Roboguice and Gin. Except the unique attribute of dagger is that the object graph is built entirely at compile time, this is to eliminate startup lag and excessive machine resource consumption. Jan 15 13:46:56 ahhughes: mmm…interesting Jan 15 13:47:44 There is a 1hr video on youtube about big modular java. that Bob Lee and Jesse Wilson did at google I/O. Very much worth watching. Jan 15 13:48:20 ahhughes: do you write blogs? Jan 15 13:50:02 nope, not my style. Jan 15 13:56:56 Hi guys, I've some questions about in-app purchase and refund/expire system. I've purchased an inapp I added to my app and I've refunded it from market console. But actually I didn't get the refund broadcast. Is it normal? Jan 15 13:58:40 fuck, I don't know how I ever lived without putty adb Jan 15 13:58:55 adb shell in regular console sucks Jan 15 14:00:32 trying one last time: anyone know a good WSDL library? Jan 15 14:02:02 does every app have local tmp space ? Jan 15 14:02:05 Can we use CursorLoader in a class that doesn't extend any android class? Jan 15 14:02:27 yes it does @ StingRay_ Jan 15 14:02:41 abhinavmehta: one important thing to remember about Android, is that it resembles more Java EE than normal apps :) Jan 15 14:03:16 Afzal : how is it accessed ? is it something that has to be managed or are there circumstances that clear it automatically (other than user clearning app data) Jan 15 14:03:52 p_l: yes, do agree :) Jan 15 14:04:27 StingRay_, http://developer.android.com/guide/topics/data/data-storage.html (getCacheDir()) Jan 15 14:04:40 cheers Jan 15 14:04:59 p_l: after having a broader purview of the frameworks you mentioned, I got this sense. Jan 15 14:06:05 will I need to use managedQuery (or query) if I want to utilize something like Cursor.moveToNext()? Jan 15 14:06:13 I want to switch to CursorLoader Jan 15 14:06:41 Who uses otto here? In activity A I start fragment B which has buttons which start a new copy of fragment C or resumes an existing copy and I want to disable the resume button if Fragment C finishes successfully. I should be able to fire an event in C and subscribe to it in B right? Jan 15 14:07:03 ah never mind, it seems like i can do that on onLoadFinished() Jan 15 14:07:20 But what is happening is that C does post the event but the subscriber in B doesn't get called. Jan 15 14:07:21 still remains the query, how to get LoaderManager in a class that doesn't have that method :/ Jan 15 14:07:35 Any idea why? Jan 15 14:07:45 typecast applicationContext with Activity? Jan 15 14:12:04 Hi guys, I've some questions about in-app purchase and refund/expire system. I've purchased an inapp I added to my app and I've refunded it from market console. But actually I didn't get the refund broadcast. Is it normal? Jan 15 14:13:52 Did I miss any replies? Jan 15 14:14:13 fdvalencia85, about writing files to sdcard, can't I create a file? I mean, does the file have to exist? I'm trying to instantiate a FileOutputStream("my_new_file") but I'm getting a FileNotFoundException Jan 15 14:14:56 ok when using android.provider.MediaStore.ACTION_IMAGE_CAPTURE intent to fire the camera to get an image, is there any reason that it would not return to my app even after clicking the tick in the camera app ? no errors no nothing, just like the button has no action to it Jan 15 14:15:01 I have to press back Jan 15 14:27:45 is there an easy way to make an editText flat like a textview? Jan 15 14:28:01 i.e. change its appearance to something less prominent? Jan 15 14:28:34 change the background Jan 15 14:33:21 mikedg_: i tried setting it to blank/nothing, but it keeps inserting @android:drawable/edit_text Jan 15 14:33:52 what platform version? I wo't get a chance to try this, but I swear I've done it Jan 15 14:33:55 isnt that cause the "view style" overrides it ? Jan 15 14:34:43 mikedg_: 2.3.6, eclipse Jan 15 14:48:13 aton`: Do you want it to look exactly like a TextView? Jan 15 14:48:39 Because EditText looks really big and bulky on my 2.3.5 device and perfectly flat due to the Holo style on 4.x Jan 15 14:50:18 You can style your EditText like a TextView, using the Android styles, I guess. https://github.com/android/platform_frameworks_base/blob/master/core/res/res/values/styles.xml#L455-L466 Jan 15 14:50:34 I did the same the other way round, making TextViews appear like an EditText Jan 15 14:55:12 If I got you right, you could make your own style inherit from TextView.