**** BEGIN LOGGING AT Mon Sep 23 02:59:59 2013 Sep 23 03:07:28 Sonicadvance1 its "Make Project" "Compile Project" and "Rebuild Project" :P Sep 23 03:08:01 Compile doesn't apply to a singular file Sep 23 03:10:47 Oh, I was in a file and it said compile file :P Sep 23 03:14:25 rly? Sep 23 03:18:49 Maybe it is because I'm not in the latest version Sep 23 03:21:29 i've just taken over an old project and i have found that they are using a AbsoluteLayout throughout the app and supress warnings to hide the deprecation warning? what are the ramifications of leaving AbsoluteLayout in the app. do deprecated things get removed from android eventually? Sep 23 03:24:34 Good job Android, you make it really easy to overlay a surfaceview on top of another surfaceview Sep 23 03:25:02 >> sarcasm detected. shutting down << Sep 23 03:26:02 tnzr, Not sarcasm actually Sep 23 03:26:14 I'm pleasently surprised that it was easy Sep 23 03:34:43 Sonicadvance1 you using AS then ? Sep 23 03:34:48 hi. I want to write a tmp file, but when my app crashes, I don't want so hog the space on the card. Sep 23 03:34:52 g00s, Yea Sep 23 03:35:07 Sonicadvance1 how has it been treating you? i like it Sep 23 03:35:30 seems quirky still - things get out of sync (change method, errors don't show, etc) Sep 23 03:35:34 g00s, Yea, I really like it. Of course I've always hated Eclipse ever since it came out like 11 years ago Sep 23 03:36:20 Maybe a few quirks here and there. Nothing stopping development though Sep 23 03:37:08 yeah Sep 23 03:37:21 Miles better than Eclipse ever will be Sep 23 03:37:26 if i get really mad at it, i drop down to vim + gradle ;) Sep 23 03:37:52 In other words, you give it a timeout? :p Sep 23 03:37:58 yeah :) Sep 23 03:37:58 I don't know Java well enough to use it in vim Sep 23 03:38:07 I use vim for all my C/C++ code though Sep 23 03:38:38 if i wa learning some new framework like JEE yeah, i would need help from ide Sep 23 03:38:52 i'm kinda used to android though Sep 23 03:44:19 Does code running in a thread still log to logcat or does it not matter? Sep 23 03:44:41 i think so Sep 23 03:45:33 knapper_tech: it does Sep 23 03:46:40 Logging is thread safe yea Sep 23 03:56:36 where else would it log Sep 23 03:57:01 if you log to logcat wouldn't you to xpect it to go to logcat Sep 23 03:59:04 pfn: it has been thoroughly answered Sep 23 04:01:03 Nilium do you use the Android document set in 'Dash' ? Sep 23 04:02:53 I'm working on a PhoneGap app (this isn't really a question about PhoneGap though). When I push my app to my device it has a bunch of html files, javascript files, css files as assets. How can I see what assets the app has on the device, preferably from my Linux PC? Sep 23 04:05:27 g00s: Yes. Sep 23 04:05:53 Nilium when the new SDK is released; is it updated in a timely manner? Sep 23 04:06:02 * Nilium shrugs Sep 23 04:06:19 or i should ask, how long does it take for them to update ? Sep 23 04:06:24 * Nilium shrugs Sep 23 04:06:31 It's one guy, you'd have to ask him. Sep 23 04:06:47 ah, ok Sep 23 04:06:57 Nilium two guys, the developer and you right :P Sep 23 04:34:05 Hm, not sure how to properly handle doing my own preference layout. Sep 23 05:02:14 "Fixed in AOSP after the 4.1 JellyBean release" … i guess they mean 4.1.1 then ? Sep 23 05:09:04 Do preference categories normally indent their preferences on 10-ish inch tablets or is this just a wonky cyanogen thing? Sep 23 05:43:33 Has anyone had this issue with Sony Xperia devices: call startActivityForResult with ACTION_GET_CONTENT as the action and the type as "image/*" .. the user picks the camera and takes a photo. The result coming back to the activity is always cancelled Sep 23 05:45:09 maybe it was a bad photo Sep 23 05:46:25 g00s: it always happens it seems.. Its as if it returns cancelled right after starting the camera opposed to when the photo is actually taken Sep 23 05:53:39 am I going nuts, or is android simple buffer queue not supported on Android 4.x? Sep 23 05:53:55 getting an SL_RESULT_FEATURE_NOT_SUPPORTED Sep 23 05:54:11 hackkitten simple buffer queue ? Sep 23 05:54:16 yeah, for OpenSL Sep 23 05:54:41 Android's own implementation of the OpenSL memory-based buffer Sep 23 05:55:04 SLDataLocator_AndroidSimpleBufferQueue Sep 23 06:11:18 I have an app that insists on placing a large quantity of data on my phones memory and does not allow placing the apps data on the sd card. If I root my phone, I know how to configure and move the data to the sd card. Sep 23 06:11:20 My question is, do I need to root my phone? Sep 23 06:11:49 d7k: There are certain conditions that mean an app can't be moved to SD,.. like if it has services Sep 23 06:13:41 I am considering moving the data to the sd card, and placing a link on the phones memory where the phone now is. Sep 23 06:13:55 I am considering moving the data to the sd card, and placing a link on the phones memory where the phone's data now is. Sep 23 06:14:06 symlink might work I guess.. Sep 23 06:14:23 d7k: you realise this is the wrong channel for your question right? Sep 23 06:14:38 Yes that is what I am thinking of. But do I need to root my phone to do this? Sep 23 06:15:13 Yes. The purpose of my question is: Do I need to root my phone? Sep 23 06:15:20 why not just ask the app developer to fix their data caching so that it uses the sd card Sep 23 06:15:32 d7k: this is a developer channel Sep 23 06:15:33 That will take time. Sep 23 06:16:53 I came to this channel as I am not getting a response from the other channels. Which channel do you suggest? Sep 23 06:17:00 read /topic Sep 23 06:17:32 just because you don't get a response on one channel does it mean you should come into a channel thats for a different purpose and ask here/there too.. Sep 23 06:19:48 s/does/doesn't/ Sep 23 06:20:16 Hey, any idea how some apps have a URL link in their app description? Sep 23 06:20:22 what's the formatting? Sep 23 06:26:47 The question: "Do I need to root my phone?" is one of establishing the correct topic. If I don't need to root my phone, great. I would love to know the answer. But perhaps #android-root is not the correct channel. Certainly you guys can at least point me in the right direction. Sep 23 06:26:49 Far as I know, if it's just a regular domain name (e.g., foo.bar.com), it'll be turned into a link. Sep 23 06:27:41 would be cool if they allowed markdown Sep 23 06:27:51 d7k: Your question isn't related to development, it goes in #android-root, end o' story. Sep 23 06:28:35 If nobody's responded yet, tough, wait it out. Sep 23 06:30:29 I don't want to root my phone if I can avoid that. And I don't want to talk with guys that are keen on rooting phones. If there be another way I am sure you developers know. Please. Sep 23 06:30:43 I really don't think it's in your best interest to try to argue your way around that. Sep 23 06:30:53 Go back to #android-root and be patient. Sep 23 06:35:39 hello Sep 23 06:43:42 um, how do i do 'adb commect ip:port' of genymotion vm; where is the ip:port ? Sep 23 06:43:47 *connect Sep 23 06:53:00 g00s: there's a preinstalled app, can't remember the name, that'll tell you information about the interface Sep 23 06:53:20 diphtherial does it come with genymotion? Sep 23 06:53:28 when i say adb devices nothing is there Sep 23 06:53:46 right, you have to first connect via adb connect; let me get you some more specific information, heh (booting up the vm now) Sep 23 06:54:06 diphtherial cool, thanks. i was reading through the faq ... Sep 23 06:55:25 so, the application is called 'genymotion configuration', and it comes preinstalled Sep 23 06:56:23 i personally run the vm through virtualbox directly; you should make sure that your virtual host adapter's ip is in the same subnet as the one that genymotion is displaying in the configuration Sep 23 06:57:33 (you can check that under File->Preferences...->Network, select the virtualbox adapter and press the screwdriver -- "edit" -- icon) Sep 23 06:58:03 after you've ensured that you can reach the device, use adb connect ip:port to make it show up in your devices Sep 23 06:58:30 Is there any frameworks that you use for having the same theme across all android versions (down to 2.x)? Sep 23 06:58:31 hm, cool let me see … i tried running through vbox but had issues tho Sep 23 06:58:48 if it seems like it's hanging and outputting a lot of junk, just let it continue Sep 23 06:58:54 it'll eventually boot into android Sep 23 07:01:18 diphtherial yeah, when i start it through vbox, it just says 'exited: untracked pid xxxx' Sep 23 07:01:21 over and over again Sep 23 07:02:27 it'll eventually stop doing that, don't worry Sep 23 07:02:36 oh, there it goes Sep 23 07:02:45 oh man, its … huge like zoomed in Sep 23 07:05:40 i believe you can resize it, but yeah, it's odd at first Sep 23 07:12:20 brb Sep 23 07:14:41 hey guys Sep 23 07:14:42 mhm.. any idea how to use expandActionView with the support library? Sep 23 07:14:49 getChildFragmentManager doesn't work with backstack Sep 23 07:22:47 hey guys Sep 23 07:22:54 what else can I do to add nested fragment inside viewpager? Sep 23 07:25:32 hey guys I do not have any file which doesn't have an extension and I work with git and still am getting this error Errors running builder 'Android Pre Compiler' on project 'XXX'. java.lang.NullPointerException Sep 23 07:26:17 nvm, i found a way Sep 23 07:27:22 anyone please Sep 23 07:27:30 hmmm? nope =| Sep 23 08:07:08 I'm using SDK 4.3 and wondering if someone has a solution to my problem: when I execute run-as my.package while I'm in an adb shell, I loose access to /sdcard (i.e. permission denied). This happens on both the device and the emulator. Sep 23 08:08:10 can you see /storage/sdcard0? Sep 23 08:08:22 no. permission denied Sep 23 08:08:50 hello all Sep 23 08:09:07 ello Sep 23 08:09:21 anyone using jenkins-ci to build their projects? Sep 23 08:09:34 do you have the appropriate external storage permissions in your app? Sep 23 08:10:14 i have a use-permission for android.permission.WRITE_EXTERNAL_SOTRAGE Sep 23 08:10:54 shouldnt you go /mnt/sdcard ? Sep 23 08:10:59 not just /sdcard Sep 23 08:11:15 tried that as well as /storage/sdcard Sep 23 08:12:13 and access to sdcard is normal when not running as a package Sep 23 08:13:46 hmm, actually - there are apparently some issues with run-as and 4.3 Sep 23 08:14:14 and my purpose is to copy data from my app to sdcard for backing up to computer Sep 23 08:15:56 I haven't tried pre-4.3. So is it the case that run-as and pre-4.3 has no permission issues? Sep 23 08:16:54 I don't know about specific issues with permissions, but I've seen that some people are having problems Sep 23 08:17:30 hmm ok. that's bad news Sep 23 08:18:59 could be unrelated to your issue, but do some Binging Sep 23 08:20:27 Have been researching for quite some time before deciding to come here. Sep 23 08:21:25 Binging ?? did MS buy google ? Sep 23 08:21:57 but I'll keep trying. thanks for the input. Sep 23 08:24:34 hey all. Im trying to work with local named sockets. In the init.rc file for my device, ive added a native daemon and ive added the line "socket mysocket stream 600 system system" Sep 23 08:24:53 but Im not quite sure what the various arguments mean and cant seem to find any documentation on it Sep 23 09:44:11 ^cheesy: nope i didnt check it back. Will do tonight (this is not my daily job :P) Sep 23 09:45:47 Chainfire. Is there a bug user supersu and fragments? (Not displying the alertdialog to accept in most cases) Sep 23 09:51:33 not that I know of Sep 23 10:21:09 this is a dead channel!!! Sep 23 10:23:15 how to get listView.getCheckedItemCount() on api version 8? Sep 23 10:25:32 listView.getCheckedItemPositions.size() always returns 1 Sep 23 10:27:20 if you change the choice mode to multi_choice_mode does that automatically update the items i click on to checked? or just activated? Sep 23 11:15:55 lol only now read the .. this is a dead channel bit Sep 23 11:15:56 lol Sep 23 11:16:35 its not dead, its just sleeping Sep 23 11:17:19 wait till g00s wakes up Sep 23 11:17:57 yeah Sep 23 11:17:58 Usually it's me who rants more than anyone has stomach to read. Sep 23 11:18:00 i know Sep 23 11:19:36 i just spent 7 hours changing the code i wrote (multi select cursor adapter implementation for 2.2) to framework code as i was told to do by the lead developer to use the built in listview.getCheckedItemPositions and all that Sep 23 11:19:56 and after implementing it our code stopped working the way it should cause of limitations Sep 23 11:20:17 one of them being that the sparsebooleanarray returned by that doesn't delete entries that is false Sep 23 11:20:49 and he moaned to me that he gets the wrong item count and also when rotating the screen it forgets the selected items Sep 23 11:21:00 :/ Sep 23 11:21:06 just reverted 7 hours of code lol Sep 23 11:21:12 Can't help you. Get rid of 2.2 if you can. Sep 23 11:21:21 Absolutely. Sep 23 11:21:33 well its not 2.2 prob its a pre 3 issue Sep 23 11:21:36 so 2.3 aswell Sep 23 11:21:54 cant get rid of 2.2 and 2.3 that counts towards 100,000 of hour installs Sep 23 11:21:58 our** Sep 23 11:22:05 but yeah .. my code works fine now Sep 23 11:22:12 What did you have to change? Sep 23 11:22:39 its just that sometimes i would really hope the lead developer actually knows anything Sep 23 11:22:53 and not just lead cause he has been here the longest Sep 23 11:23:25 its a 19 line SelectableCursorAdapter that you inherit from instead of CursorAdapter Sep 23 11:23:33 and it just works .. but he didn't want the 19 lines Sep 23 11:24:07 making it work the way he wanted i had to redo the same stuff of several listviews was over 240 lines later :/ Sep 23 11:24:11 bah Sep 23 11:25:04 It is imho rational to want to avoid custom abstractions _sometimes_. But at other times, the custom abstraction is completely justified. Sep 23 11:25:17 this sounds like one of the latter cases, depending on what this thing actually does. Sep 23 11:25:34 I guess it renders a checkbox for each item and has some helpers to access the selections, maybe by their db ids Sep 23 11:25:38 you know the CAB Sep 23 11:25:45 and multi selections using CAB Sep 23 11:25:59 CAB on ABS cause we doing 2.2 < Sep 23 11:26:40 something like that but not checkbox just like a activated item Sep 23 11:26:53 and gets the items via db ids Sep 23 11:27:56 that is 1 of 2 custom abstractions we have in our base .. i am all for use the framework as far as possible Sep 23 11:29:24 My favorite strategy is often utility functions. Hand utility function a normal object, it does whatever magic required to unfuck some aspect of it you don't like. I mostly avoid inheritance as a design tool personally, especially when it's platform stuff unless this is explicitly the way platform is to be used. Sep 23 11:30:50 well CursorAdapter .. the selection is basically part of the Adapter so it cant live inside of an utility Sep 23 11:30:52 but yeah Sep 23 11:32:28 hello, do I need a service if I want to receive a push notification for the app from the GCM server? or will the push notification start the app itself? Sep 23 11:32:52 you need a service Sep 23 11:33:21 You need a broadcastreceiver, not a service I believe. Sep 23 11:33:28 lemonxah: thanks! (currently working out an app idea) Sep 23 11:34:27 yeah Sep 23 11:34:42 lol WakefullBroadcastReceiver Sep 23 11:34:45 not service soz Sep 23 11:35:04 my brain was broken .. saw 2 options and knew it wasn't starting the app Sep 23 11:35:06 heh :) Sep 23 11:36:25 ok, a receiver :) the registration id for one example of the app running on one device is set by gcm right? Sep 23 11:38:10 btw, WakefullBreadcastReceiver will that prevent the device from sleeping? (drains battery?) Sep 23 11:38:22 s0u][ight: AFAIK, inherit from BroadcastReceiver and implement onReceive. That should be sufficient. Sep 23 11:38:30 yeah Sep 23 11:39:12 what's the best practice in that case? Sep 23 11:39:20 yes the wakefullbroadcastreceiver will prevent the device from sleeping( as in wake it up when it runs so that you can fetch data if needs be) but afterwards goes back to sleep state Sep 23 11:39:26 no drain on battery life Sep 23 11:39:38 well there is drain on battery if you do long running code in the receiver Sep 23 11:39:50 You get the registerid from calling gcm.register (where gcm is GoogleCloudMessaging.getInstance(context)). Sep 23 11:41:39 lemonxah: wait, so the device sleeps until a push notification is received, then wakefullbroadcastreceiver will take over from there (like displaying a system notification) and then allow the device to sleep again? Sep 23 11:42:10 The docs says IF you use a service, then use WakefulBroadcastReceiver. If not, a regular BroadcastReceiver should suffice I think. Sep 23 11:42:51 yes s0u][ight Sep 23 11:43:07 oh yeah i always use services Sep 23 11:43:15 so wakeful is always used Sep 23 11:44:54 kjeldahl: if I want to receive push notifications at all times, even if app is not running on that moment, I should go for a service I assume, is that true? (sorry for the annoying questions) Sep 23 11:46:34 Yes. Sep 23 11:46:36 s0u][ight: If all you want to do is show a notification, you can do that inside the broadcastreceiver. When the user pushes the notification, it will start your app. Sep 23 11:47:21 I should go for a service I assume, is that true? <-- no you will always get the push if you send it Sep 23 11:47:44 as long as you have a broadcast receiver you will get it even if the app isn't running Sep 23 11:47:58 then use the intent on the notification to start your app if you click on the notification Sep 23 11:51:41 maybe I should explain the scenario a bit more: users get to select items from a list, this selection is synched with the server. app is set up now, user can exit (close) it. After that a user can choose one item, "item1" and enter a message. the server receives this and will send a notification with that message to everyone who has item1 selected Sep 23 11:52:24 so i guess, once the initial list of items is selected the app should start a service that will listen to broadcast messages Sep 23 11:52:56 and when one is received, it should display a notification Sep 23 11:54:35 now if I understood correcrly, the service should run a wakefulbroadcastreceiver, and the receiver should issue a notification when one is received Sep 23 11:54:43 No need to start a service to listen, just set up a BroadcastReceiver. That's what they are for! Sep 23 11:55:25 Start a service if you need to do some real processing afterwards. Showing a notification is not "real processing". Just show it inside the BroadcastReceiver::onReceive method or similar. Sep 23 11:55:45 User sees your notification, clicks it, and your app opens. Sep 23 11:57:26 (that's assuming you set up the proper intent in setContentIntent in your Notification.Builder to open your app - you can do other stuff as well of course). Sep 23 11:58:58 trying to process that now Sep 23 12:03:23 You did look at the example here https://developer.android.com/google/gcm/client.html? That uses wakefulbroadcastreeceiver and hands off handling to a service (which may or may not be what you need). Sep 23 12:06:06 kjeldahl: i did, thanks though, now I know I was looking at the right page Sep 23 12:08:29 s0u][ight: Still hard to wrap ones head around; I'm still struggling with all the abstractions and concepts. ;-) Sep 23 12:08:55 kjeldahl: can I pm you? Sep 23 12:11:30 Sure, but if it's related to this you're probably better off asking here! Sep 23 12:12:29 Don't worry about looking stupid; you're already ahead of 90% of the people listening in! ;-) Sep 23 12:18:23 kjeldahl: pm'd you Sep 23 12:18:53 I'm not seeing anything.. ? Sep 23 12:19:03 ah, there it arrived Sep 23 12:20:04 how do I shrink the soft menu buttons like I've seen on some apps ? Sep 23 12:30:49 is onDestroy() not called when the user hits the home-button? Sep 23 12:32:46 no, typically onPause... Sep 23 12:34:21 what is the best way to keep the display running while progressdialog is shown in asynctask? Sep 23 12:38:42 progressDialog.getWindow().clearFlags(WindowManager.LayoutParams.FLAG_DIM_BEHIND); seems not to work in 4.3 Sep 23 12:39:06 and i want to avoid wake locks Sep 23 12:39:14 guys, when using the ObjectAnimator's ofFloat method, lower than api 14, i have to pass a String for the property name, where can i see all these possible properties? Sep 23 12:48:22 Hello guys I have a custom view that's displayed in a LinearLayout Sep 23 12:48:35 how can I dynamically rerender it Sep 23 12:51:23 tagrudev: ListView.invalidate() Sep 23 12:51:45 Although depending on your needs, that may not be what you want optimally. Sep 23 12:51:51 hmm Sep 23 12:51:52 no I mean Sep 23 12:51:54 hmm Sep 23 12:52:04 i have PieChart extends View Sep 23 12:52:14 in this one I have onDraw method Sep 23 12:52:24 and onTouchEvent Sep 23 12:52:35 I want to change the piechart on touch :) Sep 23 12:52:40 oh, sorry I just misread you Sep 23 12:52:59 I didn't make it clear Sep 23 12:53:13 so anyway to rerender it from the PieChart class :? Sep 23 12:53:41 I think, the same still applies, View.invalidate() Sep 23 12:53:53 Which will call your onDraw method, I believe. Sep 23 12:54:12 inside onTouchEvent that is. Sep 23 12:56:26 neuro_sys, let me try that out Sep 23 12:56:42 Hello. I am developing API for android app. What is the best way to auth - just like on site( login pass, than session id) is ok? Sep 23 13:00:21 konakona88: what's the way you currently tried that out and wasn't satisfied with? Sep 23 13:00:33 neuro_sys, nope Sep 23 13:01:03 tagrudev: I've no experience in custom views at all, but do you have an adapter attached to that view? Sep 23 13:01:25 the reason that you want to rerender it is because the data has changed or why? Sep 23 13:01:31 yup Sep 23 13:01:47 I don't have an adapter Sep 23 13:01:49 though Sep 23 13:02:31 Thanks for answering. Now im just starting developing it. In site im using normal auth(just user type plain name/pass, md5 hash in base, then user get session_id etc). Just want to know, how it works in mobile apps. It's ok to do it like this, or i should use some api_keys/access tokens or smth? Sep 23 13:02:35 if it's from a non-UI thread, the doc says you should call postInvalidate() Sep 23 13:02:55 tagrudev: Call invalidate() on the affected view(s)? Sep 23 13:03:18 kjeldahl: he's saying that doesn't work Sep 23 13:03:40 anyone using sbt to build android app? Sep 23 13:03:43 i am calling the invalidate from the onTouchEvent Sep 23 13:03:53 tagrudev: on the view that you want to be updated, right? Sep 23 13:04:03 which I believe is the case, given onTouchEvent is fired on that view. Sep 23 13:04:11 neuro_sys: yeah, saw that too late. Sep 23 13:04:15 indeed Sep 23 13:04:16 it is Sep 23 13:04:28 How can I share the local LAN with an Android phone? Sep 23 13:04:40 (I hope you set a breakpoint in your onDraw method. :) ) Sep 23 13:05:14 Sounds fishy. You're sure you're calling it from the GUI thread, AND you've checked that the data the view uses has actually changed (to something that would change the view)? And no errors in logcat? Sep 23 13:07:13 hmm Sep 23 13:09:08 my bad Sep 23 13:09:09 working Sep 23 13:09:13 ty neuro_sys kjeldahl Sep 23 13:09:17 Hello. How can I make an ImageView to re-layout and call the inner Drawable.getIntrinsicWidth/Height? Thanks. Sep 23 13:09:25 glad, yw Sep 23 13:09:34 ;-) Sep 23 13:12:39 ryden: sure, call invalidate, and put your method in onLayout in the ImageView Sep 23 13:13:12 probably want to override a bunch of stuff in image view, may be easiest just to do a custom view Sep 23 13:32:08 Hey guys, Is there a quota or limit to the number of gcm messages you can send to a device? I am experiencing weirdness where the server will stop successfully delivering messages to a single device although it doesnt give me any errors and I haven't changed the code at all.. Sep 23 13:33:02 messages continue to be sent successfully to other devices. Sep 23 13:34:34 Shouldn't be any limits, but keep in mind you may have to refresh the registrationid from time to time. And there may be throttling issues as well; http://developer.android.com/google/gcm/adv.html#throttling Sep 23 13:36:17 with gradle, i have a plain java lib with unit tests. they run fine from command line, but running them from android studio always produces a "class not found" Sep 23 13:36:30 i'm guessing it's running the incorrect build task, but i can't find a way to configure it Sep 23 13:36:35 That's what I suspected was happening but from the description it sounds like the application itself gets throttled.. However It continues to deliver message to other devices. Sep 23 14:02:07 i have a android 2.3 device and the videoviews in there seem to be broken.. I have a app that does a lot with videoviews, at some point the videoview freezes and shows only one picture (everything else works, playback and even sound)... when I start another app with a videoview.. it shows the same picture.. whats wrong? Sep 23 14:03:40 the media file i am playing is about 100 meg Sep 23 14:05:02 ohcibi: VideoView sounds broken, no worries 2.3 was fixed years ago Sep 23 14:05:20 nseidm1: ? Sep 23 14:06:10 nseidm1: what do you mean it was fixed years ago? I just testet my app and suddenly all videoviews of all apps seem to be broken Sep 23 14:06:21 until I reboot the phone Sep 23 14:06:23 2.3 was replaced by Android 4.0 years ago Sep 23 14:06:39 so this hasn't been an issue in years Sep 23 14:06:59 nseidm1: ah I remember.. you are the one who just doesnt care what bosses and customers actually want me to do.. Sep 23 14:07:11 correct Sep 23 14:07:56 nseidm1: great... leave me alone then please... Sep 23 14:08:06 If your target audience is the US you can completely neglect 2.3. If you're targeting India and China sure you can target 2.3. Sep 23 14:08:46 sure, I'll leave you alone, good luck with your job. Sep 23 14:11:20 android 2.3 has a market share of 30% according to http://developer.android.com/about/dashboards/index.html Sep 23 14:11:25 i'd say good luck with _your_ job Sep 23 14:11:39 lol Sep 23 14:48:03 oy, I hate stupid code conventions Sep 23 14:48:48 2.3 is overrated Sep 23 14:48:55 sooner developers stop supporting it, sooner it goes away Sep 23 14:49:11 and considering 2.3 is full of cheap, shitty devices, its users are also more likely to be muchm ore frugal Sep 23 14:49:17 and make for a much smaller ROI Sep 23 14:50:05 pfn, I only support 4.0 and above :P Sep 23 14:54:51 do we have hard data about android 2.3's geographical distribution? Sep 23 14:55:01 is it indeed a fact that it's not relevant for western europe? Sep 23 14:55:08 and, err, north america Sep 23 14:55:56 Ugh; can't even control airplane mode w/ a device administrator now? Sep 23 14:56:33 interesting Sep 23 14:59:46 alankila people running 2.3 are much less likely to spend money on your app, so even though there's still a significant (meh) number of people still using it in the USA and WE, monetarily its existance can be ignored (for _most_ projects) Sep 23 15:00:10 Chainfire, agree Sep 23 15:00:28 I don't care about that, I do care about the geographic distribution. Sep 23 15:01:04 I'm not sure there is any *hard* data for that Sep 23 15:01:10 I'm trying to build with gradle but get the error Main manifest has but library uses targetSdkVersion='18'. Running grep I can see that it seems to be one of the libraries I (maven) depend on that has targetSdkVersion 18. How can I force it to use 9? Sep 23 15:01:14 (public, that is) Sep 23 15:02:20 pakerfeldt, just set targetSdkVersion=18 Sep 23 15:02:23 no reason to set it to 9 Sep 23 15:03:12 absolutely no reason Sep 23 15:03:17 unless you like your app looking like shit.... Sep 23 15:04:05 I can't deal with a whole lot of NetworkOnMainThread in that project at the moment. Sep 23 15:04:16 That's why I didn't want to bump target sdk Sep 23 15:04:17 api 9 already has that Sep 23 15:04:23 Chainfire: so I think i misunderstood your G+ post - is your problem w/ the N7.2 + USB w/ the stock kernel or w/ AOSP Sep 23 15:04:41 oh, well, whatever api level that doesn't have that Sep 23 15:05:14 pakerfeldt, and as far as I understood, running on a device > api8 results in networkonmainthreadexception Sep 23 15:05:18 regardless of your target Sep 23 15:05:18 dragorn: actually I'm not sure. I think the problem is somewhere inside the framework, not inside the kernel, but I've not traced it far enough yet Sep 23 15:05:21 (other shit to do) Sep 23 15:05:32 pakerfeldt, anyway, fix it, you must deal with it Sep 23 15:05:34 pfn: no, pretty sure that's not the case Sep 23 15:05:58 I can't deal with right now, and I need to submit a patch. Sep 23 15:06:09 And I have already made the switch to android studio/gradle Sep 23 15:06:26 hahahaha Sep 23 15:06:34 you want to use modern shit, but refuse to make your code modern Sep 23 15:06:35 :p Sep 23 15:06:37 awesome Sep 23 15:06:40 Chainfire: hm. Maybe I haven't hit the problems you're having. We've noticed a few N7.2s that just wouldn't go into host mode for no obvious reasons which then eventually decided they would after all, usually with a reboot. They were unrooted so we couldn't look at dmesg and see if the usb drivers were pooping or if android was being tardy. Sep 23 15:07:06 I truly admire your humbleness Sep 23 15:07:21 Chainfire: but we're not shoving much data either. I'm about to ramp up an extremely high-data-rate project so I'll see what happens then. I expect it will scream, fail, and die. Sep 23 15:08:17 dragorn yeah same here. http://dslrcontroller.com/guide-2013-nexus-7.php is a compilation of solutions known to have worked for one user or other Sep 23 15:08:49 dragorn it seems changing the language to English/US (not UK!) and rebooting solves the problem for a large number of users, but not for *everyone* Sep 23 15:08:55 example: it didn't work for me. Sep 23 15:09:00 Chainfire: welllllll balls, that's bizzare. Sep 23 15:09:14 adb connect n7100 -> unable to connect to n7100:5555. I can ping n7100, though. I installed the samsung drivers Sep 23 15:09:16 I can now reliably disable USB host by OEM *locking* my device, and it will work again when I *unlock* it Sep 23 15:09:16 Chainfire: So we had one device which started workign after enabling dev mode Sep 23 15:09:29 Chainfire: and kept it after rebooting Sep 23 15:09:45 dragorn: oh I don't even have that one listed Sep 23 15:09:50 Can someone tell me which Locale uses "," instead of "." as the character between whole numbers and decimals in a double? Sep 23 15:10:47 Chainfire: mine is oem unlocked and never gave me trouble, the others are oem locked but now working fine after some hiccups at the beginning - once they work we haven't gotten them to not work Sep 23 15:10:58 dragorn: either case, there may actually be more than one issue. Someone linked me to the possible cause of the issue in the code last week, don't have it handy though. It's on my to-do list to further check. Sep 23 15:11:26 dragorn: yeah that's the general experience - once it works, it works, and you're not sure wtf you did, or why it didn't :D Sep 23 15:11:31 KungPhoo, you can't adb connect unless you enable wifi for adb Sep 23 15:11:37 KungPhoo, wifi adb doesn't use drivers Sep 23 15:11:54 doh! so how to use usb? Sep 23 15:11:56 KungPhoo: also, wifi connect needs ip addy, not device name Sep 23 15:12:00 Eppo Locale.DUTCH does Sep 23 15:12:04 KungPhoo, you plug it in and it's connected Sep 23 15:12:12 KungPhoo: just do adb devices & see if it's listed Sep 23 15:12:12 (and probably many others) Sep 23 15:12:28 Thanks, that will help out greatly! Sep 23 15:12:30 friggin' weirdo locales ;-) Sep 23 15:12:43 yes, adb devices lists it. Ah it's that easy? Sep 23 15:12:45 pfn: Lol Sep 23 15:12:50 yup. Sep 23 15:14:36 arrgggh.... Eclipse takes forever to reference files on new import of large project. Sep 23 15:14:57 yes, that worked, now i have to change all of my Double.Parsedouble calls to account for Locale! Fun! Sep 23 15:17:38 bah maven users, have you seen this with android studio? Cannot find artifact file for generated module ~apklib-com.viewpagerindicator_library_2.4.1. Try to force reimport Maven model Sep 23 15:24:05 sendBroadcast(new Intent(MY_ACTION)) is not being picked up in onRecieve of the BroadcastReceiver in onReceive using if (intent.getAction().contentEquals(MY_ACTION)) - any ideas? Sep 23 15:24:36 contentEquals? Sep 23 15:24:47 Its like, all lines of code before sendBroadcast are being executed, but within the onReceive (as described above) none of the lines are hit. Sep 23 15:24:52 Yeah, the Action is a String. Sep 23 15:24:57 comparing values Sep 23 15:26:11 and yes, the receiver has been registered in onResume and unregistered in onPause Sep 23 15:27:46 neat, never used contentEquals before Sep 23 15:27:48 must be newish Sep 23 15:27:58 you didn't IntentFilter te action Sep 23 15:33:43 when I swipe an background app away, does it get a notification before the terminate? Sep 23 15:37:05 KungPhoo: only if it has a service iirc Sep 23 15:37:28 hi, a question: after a crash of an activity, the oncreate of Application will be called? Sep 23 15:37:43 ok. I need to write a file to /tmp, but fear it might not get deleted Sep 23 15:38:25 it handles the usual lifecycle stuff, like onpause, etc, KungPhoo Sep 23 15:38:28 KungPhoo, onDestroy should be called in that situation, I would think Sep 23 15:40:29 Brilliant - thanks PFN - had to go take bins out Sep 23 15:40:32 That was it! Sep 23 15:41:12 #1 cause of not receiving a broadcast, not setting filters Sep 23 15:41:21 Yeah, I have 4 actions Sep 23 15:41:25 the first 2 were working fine Sep 23 15:41:27 and were added Sep 23 15:41:34 When I added the 2nd 2, I forgot to add them there hahaha Sep 23 15:42:28 i need to call a method every time app crash, when user press ok on crash popup Sep 23 15:45:24 for some reason, mtp is eating poop on my pc now, it hangs so frequently anytime I do anything Sep 23 15:47:06 What is the owner of the bug? Sep 23 15:47:22 On bug tracker on aosp site? Sep 23 15:52:26 is here a networking doc expert in the house? i'd like a link to the obvious. :-) Sep 23 15:52:41 s/here/there/ Sep 23 15:53:21 specifically: if i start a 3G+Wifi enabled, and start a TCP connection over the WiFi connection, then kill the WiFi connection, will Android automagically migrate the TCP connection to the 3G interface Sep 23 15:53:22 ? Sep 23 15:53:24 i assume not Sep 23 15:53:32 but actual docs saying yes/no would be appreciated Sep 23 15:54:33 sounds rather like: http://stackoverflow.com/questions/11754966/android-transferring-tcp-connection-from-3g-to-wifi Sep 23 15:54:41 i dont think so, isn't that multipath tcp? Sep 23 15:54:56 most answers are "of course it won't" Sep 23 15:55:05 ios will do this Sep 23 15:55:10 e.g. http://stackoverflow.com/questions/3512130/what-will-happen-to-existing-connections-when-switch-between-3g-wifi Sep 23 15:57:17 How can I get the resource R class in a fragment? Sep 23 15:57:19 do you guys know what function i have to call on an ImageView so that i can modify the image onDraw? Sep 23 15:58:27 FLeiXiuS: just use it? Sep 23 15:59:03 jonp, I'm getting can't find symbol R. Sep 23 15:59:14 then you're missing an `import` statement Sep 23 15:59:25 perhaps it's in a different package? Sep 23 16:01:23 jonp, You were correct. Missed an import. Sep 23 16:01:23 rawr. Sep 23 16:01:24 hey, when using getExternalStorageDirectory(), will this path always be accessible via /sdcard even if the device doesn't have an sd card? Sep 23 16:01:44 it may not be /sdcard; it's vendor-dependent Sep 23 16:01:50 use the actual path returned in Environment Sep 23 16:02:31 that's a bit troublesome for me, as i'm trying to provide support for a lab that my colleague wrote :\ i'm not sure if there's an easy way to tell students who have little experience with the command line, let alone with android dev, to figure that out on their own Sep 23 16:02:57 fwiw, they're all using samsung or lg phones running at least android 2.3 Sep 23 16:03:23 (i was hoping to just leave it at 'type adb pull /sdcard/acceldata.txt' in the instructions) Sep 23 16:03:40 if you know what device they're using, you can test on those devices Sep 23 16:03:49 that's a good idea Sep 23 16:03:51 and then provide complete instructions Sep 23 16:03:59 in the general case, you can't do that. Sep 23 16:04:03 but this isn't the general case ;-) Sep 23 16:04:15 agreed :) Sep 23 16:05:16 is NDK GDB expected to work without root? Sep 23 16:10:40 anyone know how to modify an image in an imageview in onDraw. i set the image setImageDrawable but then how do i get it Sep 23 16:12:28 noobeh: getDrawable Sep 23 16:12:50 perhaps Sep 23 16:13:40 i want to modify the image before it draws and draw it with some modifications and i thought it would be godo to do it in onDraw Sep 23 16:16:40 yes, before you call super.onDraw(canvas); Sep 23 16:21:23 only thing with ondraw is that it runs on the main thread... Sep 23 16:21:57 maybe slightly less worse to try it during onlayout, or some such equivalent Sep 23 16:23:30 guess it actually depends on how complicated the modifications are, eh? :) Sep 23 16:24:07 So, I'm getting errors like: Error retrieving parent for item: No resource found that matches the given name 'android:Widget.Holo.ActionBar' even though I have imported the Support V7 libraries that are supposed to enable styling of those items. Sep 23 16:24:11 What am I doing wrong? Sep 23 16:24:39 probably compiling with a pre-11 sdk? Sep 23 16:25:00 what does your project.properties target say? Sep 23 16:25:35 kbs: Yes, that's true, API level 10 Sep 23 16:25:46 kbs: But I was told the support library would take care of this. Sep 23 16:26:10 I was told many things :-) Sep 23 16:26:22 Fallout2man: it does, at runtime. But you'll still need to _compile_ it with a later android version. Sep 23 16:26:25 you should be targeting API18 Sep 23 16:26:58 kbs: So does that mean it can't run at all on API Level 10 phones? Sep 23 16:27:11 Fallout2man: sure, it will. Sep 23 16:27:20 kbs: Or is it just a matter of setting a different target SDK from minimum SDK? Sep 23 16:27:31 Fallout2man: yep, you got it :) Sep 23 16:28:33 kbs: Ah, danke! I was worried for a moment there we'd lose Gingerbread. Sep 23 16:28:54 loosing gingerbread wouldn't be a bad thing Sep 23 16:29:40 In this line of code: "Intent intent = new Intent(this, OutletsListView_Activity.class);" is there any way to "manually" construct the OutletsListView_Activity class object instead of passing the .class to the Intent? Sep 23 16:29:48 I want to give it some parameters to work with first Sep 23 16:30:52 Xabster: Class.forName("com.foo.bar.OutletsBadIdea_DontDoThis"); Sep 23 16:31:02 Xabster: no Sep 23 16:31:21 Xabster: put it in the extras :-) Sep 23 16:31:33 so, whatever data that intent needs, it must get from a singleton? Sep 23 16:31:38 or create an object itself? Sep 23 16:31:41 or public static Sep 23 16:31:47 or some ugly stuff like that Sep 23 16:31:59 Xabster: absolutely no Sep 23 16:33:33 then what? Sep 23 16:33:49 put "non ugly" stuff in the extras. Sep 23 16:34:02 i don't understand Sep 23 16:34:09 object oriented programming Sep 23 16:34:26 the data needed is some data that was received at some point in the past via network Sep 23 16:34:26 why would you need a field to be static to put it in an extra Sep 23 16:34:33 not what i asked Sep 23 16:35:20 sounds like a service and event bus pattern is something needed for your project Sep 23 16:35:30 ask the service to do things, and the service responds over the bus Sep 23 16:35:40 ask the service for data and you'll get a message back over the buds Sep 23 16:35:44 *bys Sep 23 16:35:46 *bus Sep 23 16:37:10 static fields, and singletons are absolutely necessary for many things just not what you have in mind Sep 23 17:02:37 just learned that there is no ##assembly Sep 23 17:04:10 I have company wifi network to which when I connect it pops up browser to sign in. If I have not and I used network detect in android app using connection manager info it shows connected but then since I have not signed in yet the actual url read will fail. how to detect that I have not signed in ? Sep 23 17:05:42 doesnt google use that magic url to detect web-login firewalls? *thinks* Sep 23 17:06:01 read aosp source to see how it's done Sep 23 17:07:44 there's another approach in HttpURLConnection - basically, comparing the hosts on the URL and the opened URLConnection Sep 23 17:08:10 some days ago, I was asking about playing audio in call Sep 23 17:08:40 and I just found a collection of losers https://www.freelancer.com/projects/4957600.html Sep 23 17:09:25 hell lot of people think that it is possible to push voice in call Sep 23 17:09:46 oh, ha! [re pfn] http://grepcode.com/file/repository.grepcode.com/java/ext/com.google.android/android/4.0.1_r1/android/net/wifi/WifiWatchdogStateMachine.java#348 and http://clients3.google.com/generate_204 Sep 23 17:14:10 Can I set a view as content of a TabHost.TabSpec? Sep 23 17:15:34 Aha, I have to use TabContentFactories Sep 23 17:15:39 tab host, you're actually using a tab host? Sep 23 17:15:47 yes Sep 23 17:16:14 an old outdated app? Sep 23 17:16:31 I am getting InputStreamReader exception Sep 23 17:16:57 or cannot make out whether its due to actual url content issue or firewall issue Sep 23 17:17:23 nseidm1: I am creating it now, so maybe its not outdated Sep 23 17:17:54 tab host should not be used Sep 23 17:17:58 it's old Sep 23 17:18:07 you're old! Sep 23 17:18:11 You fail telling me what to use instead :) Sep 23 17:18:15 fragments Sep 23 17:18:22 you can be a fragment ;) Sep 23 17:18:24 laters Sep 23 17:18:28 trying fragments then Sep 23 17:18:34 good stuff Sep 23 17:18:53 and action bar tabs, or a ViewPager Sep 23 17:18:54 etc... Sep 23 17:22:51 Hey guy's, is it ok to create an app that has nothing more then a web browser view and acesses a web page? all i want to do is deliver information, it means the app wont work unless there is an internet connection avalable, how would i approach dealing with that? Sep 23 17:24:07 sounds easy, detect a connection and fail if neceasary Sep 23 17:24:24 ah so just close the app if no connection is detected? Sep 23 17:24:46 how you close, exit and message to the user is up to you Sep 23 17:25:09 probably can be a bit informative as to why the app suddenly closes, that'll likely be interpreted as a crash Sep 23 17:25:27 what's the information anyway? (just curious) Sep 23 17:26:00 gta v Sep 23 17:26:06 just am idea i had Sep 23 17:26:09 an* Sep 23 17:26:14 how to detect web-login firewall blocking ? Sep 23 17:26:21 as a web developer i see this as being my easiest option Sep 23 17:26:28 ping a port Sep 23 17:26:44 mms_, did you not pay attention this whole time? Sep 23 17:26:47 scroll up Sep 23 17:26:49 simple webpage running on a CMS like wordpress that i can easly update Sep 23 17:27:03 pfn: I did...but that did not sound like good enough answer Sep 23 17:27:09 read aosp ? Sep 23 17:27:24 sounds like a good answer to me Sep 23 17:27:26 it's the best answer Sep 23 17:27:40 and for that matter, kbs went and read it for you Sep 23 17:27:46 he was far too kind Sep 23 17:28:52 ugh, I need to pack, cab will be here in 45 Sep 23 17:28:53 thanks kbs Sep 23 17:29:12 thank you for answering my qs too :) Sep 23 17:29:28 i just wish i could use my c# skills to develop for andorid Sep 23 17:29:46 i am finding learning the sdk and api difficult Sep 23 17:30:15 i really hate the gui designers that come with android studio and eclipse too, i also hate XML! if it was css then i would be in my element <> Sep 23 17:30:20 ^^ Sep 23 17:30:35 but how do I compare ? I am afraid the read exception is like parser exception from simplexmlparser api Sep 23 17:30:59 mms_: sure, what pfn pointed to really. I was curious myself - I always see a brief "...._204" status at the cafes as I login, and was wondering what the heck it was doing. Sep 23 17:31:41 kbs: but I still do not quite understand what I need to check .... Sep 23 17:32:04 you must first understand how a firewall works and then go from there Sep 23 17:32:10 I am getting inputstreamreader parse error like end tag blah blah Sep 23 17:32:12 i have that problem allot lol i over look things Sep 23 17:32:13 mms_: probably need to do this before you start your real operation - essentially, something that you check before you do stuff. Sep 23 17:33:01 is there any way to draw a view on top of other views globally? kind of like clipChildren=false but without needing to set it on all the parent viewgroups Sep 23 17:33:59 kbs: not still sure how to check and what to check...should I just try httpurl connection to cnn.com and see ....not sure what exception it will give Sep 23 17:34:32 kbs: it might give some http status code other than 200 ...so go with that ? Sep 23 17:34:49 Hey there. What's the easiest way to download Google I/O video to my Nexus 4 so I can watch them on the train without using using up all my bandwidth? Sep 23 17:35:27 mms_: you can probably simply piggyback on what aosp does. It connects to http://clients3.google.com/generate_204 and waits to get a 204. Exactly what the code does, I guess. dunno what else to add here :-) Sep 23 17:37:05 kbs: I am begging to get what you saying...test with some dummy url first....here is 204 explanation...http://compnetworking.about.com/od/networkprotocolsip/tp/http-error-and-status-codes-explained.htm Sep 23 17:37:22 kbs: s/begging/beginning Sep 23 17:38:22 mms_: yep - that's indeed just about it. Sep 23 17:38:33 thanks let me try that Sep 23 17:38:42 hi Sep 23 17:39:28 Is there an easier way to download io videos to my smartphone than to use a youtube downloader on my PC and transfer them to my phone over USB? Sep 23 17:39:54 * kbs waits for the day when karma automatically returns a 204 for that url :-) Sep 23 17:41:05 tubemate app Sep 23 17:44:16 Thank you viovu Sep 23 17:44:23 what can i use to separate the app logic from the activities? local service, singleton or ? Sep 23 17:45:10 tubemate aint on Google play, just Google it Sep 23 17:47:44 I like to use a local service uniformly, to handle the bulk of what would otherwise be potentially long-running tasks/cached data [accessing local db, network calls etc.] Sep 23 17:47:55 im making a chatbot, should i build the engine in a local service, singleton or some other technique? Sep 23 17:48:27 it has the happy side-effect of (typically) disassociating UI-type things from non-UI work - and easier to test, oftentimes. Sep 23 17:48:41 lotsa loops and the such in the chatbot engine, yet i need to persist certain data Sep 23 17:49:24 yes - the pattern I've found best for me is a local service to do the work, and it publishes results onto a queue. activities subscribe/unsubscribe to the queue as they resume/pause Sep 23 17:50:28 I also generally have multiple threads dedicated to doing different things (eg: downsampling an image, making network calls) so it's also easier than dealing with asynctasks, etc... Sep 23 17:50:47 cool thanx, im working on an text adventure with an watsapp UI, and more natural speech and the player. will be controlling the bot Sep 23 17:54:34 such as, "what do you see around you", answer "theres all these skulls around in a dark kitchen, a dor on the left and a door on the right with blood covering the handle, what should i do", me: "open the door with the bloody handle", her: "its locked, ive tryd everything to open it" Sep 23 17:55:13 sounds neat (and ambitious? I dunno much about this area.) hope you have fun writing it :) Sep 23 17:55:27 but having trouble separating the game object from the activity Sep 23 17:56:07 so u say i should go for a local service, ill do my research Sep 23 17:56:20 thanx Sep 23 17:56:23 No doubt lots of game programmers will awake soon enough, they'll probably have more relevant tips Sep 23 17:56:37 anyone programming interesting projects? Sep 23 18:02:00 Can someone tell me what I'm doing wrong here with my Dialogs? They only display half the time, alternating between not showing and showing. Here's the code http://pastebin.com/4k7Xm5ZR Sep 23 18:08:00 anyone making interesting projects? Sep 23 18:14:39 trying to hack audio of the Droid Sep 23 18:14:52 sounds interesting viovu Sep 23 18:16:46 hack audio? Sep 23 18:17:01 well, there was a question in my mind Sep 23 18:17:01 as in generating sound Sep 23 18:17:12 Looney to do what with it? Sep 23 18:17:48 I thought about playing audio during call Sep 23 18:18:05 people here said, that it ain't possible Sep 23 18:18:15 and then I came across this today https://www.freelancer.com/projects/4957600.html Sep 23 18:18:15 like a sound effect box Sep 23 18:18:23 i also had that idea Sep 23 18:18:52 but ud need to replace the incall screen i think Sep 23 18:19:17 like, if you put someone on hold, you can push down Justin Bieber music in their ears Sep 23 18:19:58 main problem that I have figured is playing audio during call Sep 23 18:20:54 I like that you are trying to do that. There would be interesting applications using that feature if you manage to do it. Although II gues you will need the device to be rooted Sep 23 18:21:04 i remember there being a way to answer a call from an app Sep 23 18:21:14 maybe that would help Sep 23 18:21:58 bt id start at looking at the source of the incall screen from android, coz they send beeps and sounds there Sep 23 18:22:03 well, DwordKnight lets agree that rooting phone is not an issue at present Sep 23 18:22:35 incall screen code, that is surely a neat pointer Sep 23 18:22:55 maybe u could make a dialer just for that purpose, so u dnt totally replace the incall activity Sep 23 18:23:07 but I think that it gives dtmf Sep 23 18:24:04 I know, I agree. But for apps using the hack, the users need their phone rooted and not everyone is still concerned about the easy that is to do it. Sep 23 18:24:12 and dtmf is for machines, and we ain't helping Arnold :-P Sep 23 18:24:19 but its a neat idea :D Sep 23 18:24:59 just check where its routing the dtmf sounds, so u could route it to the same sound interface Sep 23 18:25:05 sure DwordKnight, getting it to work on rooted phone would be quite achievement in my humble opinion Sep 23 18:25:51 yes I agree, I admire that you are trying somethin that is not known to be possible yet. that is hacking :D Sep 23 18:28:48 anyone with interesting projects? Sep 23 18:29:53 anyone make a success on gplay? Sep 23 18:30:51 sorry for the disconnection, mix up the bar and cross at times Sep 23 18:31:31 i dont know then if you read my last response Loney Sep 23 18:32:33 your last message which I have in my window is that but its a neat idea :D Sep 23 18:32:40 "yes I agree, I admire that you are trying somethin that is not known to be possible yet. that is hacking :D" Sep 23 18:32:58 that is my last one :D Sep 23 18:33:30 hmm, well I pray to God that He may kill the procrastinator inside me so that I can accomplish the feat :-P Sep 23 18:33:34 do u know what i found difficult... simulating an keleidoscope in OpenGL es Sep 23 18:35:29 well to be honest, I tend to pick up things when working on them Sep 23 18:35:42 herpes? Sep 23 18:35:50 and sadly, I only work on stuff for which I get paid Sep 23 18:36:12 prostitution Sep 23 18:36:24 * Looney sends a memo to Santa mentioning that viovu has been naughty this year Sep 23 18:37:19 o i thought its a riddle, i pickup things as i go, and i only do things if i get paid.... Sep 23 18:37:42 answer...herpes infected prostitute Sep 23 18:37:50 I think everyone has that problem, there is no enough time when you have a paid job to get time for research and hacking. Its difficult to manage Sep 23 18:38:17 you are one naughty boi viovu ;-) Sep 23 18:38:47 the good die young Sep 23 18:39:13 you believe in YOLO, I suspect that you may have SWAG Sep 23 18:39:21 as well Sep 23 18:41:30 would you believe what someone posted https://www.freelancer.com/projects/Mobile-Phone-Android/Android-app-repost.4949661.html on worldwidewebz Sep 23 18:42:03 gotta hate such capitalist oppressors :-P Sep 23 18:44:20 xD people expect from offshore and freelancing sites great skills at the lowest prices possible Sep 23 18:45:14 well but you gotta hate the way poster demands people to bid within impossible to meet budget Sep 23 18:45:44 I can surely understand the reason now that why was hell made in first place Sep 23 18:47:16 yup, the only good thing I see from that is that skilled people without reputation could try working from him. I also had to start that way sadly :/ Sep 23 18:47:45 well, being a person without reputation, I can wait Sep 23 18:48:26 I hate it when i think i have a good app idea then somebody else has already done it :( Sep 23 18:48:27 I would rather make some open-source thing than try working on some "funny budgeted" app Sep 23 18:48:55 what came to your knowledge desmin88 :-( Sep 23 18:49:15 i thought i had a semi unique news app idea Sep 23 18:49:22 somebody created the exact same thing Sep 23 18:49:26 exact. Sep 23 18:49:49 you thought of havin some sort of news aggregator ? ? Sep 23 18:49:51 or what Sep 23 18:50:03 idea was to aggregate news site articles and summarize them using a article summarizer api (text teaser) Sep 23 18:50:27 then display a view of little squares with headline/img Sep 23 18:50:35 i shit you not somebody already did this exactly Sep 23 18:50:47 "Squared News" Sep 23 18:51:03 hehehe Sep 23 18:51:26 im a completely unimaginative person so coming up with a good idea takes time for me lol Sep 23 18:51:32 think of something "new" which someone else has already done ;-P Sep 23 18:51:58 https://play.google.com/store/apps/details?id=com.ein.squared Sep 23 18:52:00 look at that Sep 23 18:52:03 i was pissed Sep 23 18:52:39 (not advertising this app) Sep 23 18:53:07 desmin88 I know that feeling man, just keep trying Sep 23 18:53:23 DwordKnight: thanks :) Sep 23 18:53:49 gotta acknowledge the neatness of UI Sep 23 18:53:57 mhm Sep 23 18:54:11 except that app has a right slide nav bar in addition to left slide, kinda awkward Sep 23 18:54:22 i could make a similar app and better but i feel like im just recreating the wheel Sep 23 18:54:47 you would be Sep 23 18:54:57 so find something you like but make it better Sep 23 18:55:12 pfn: but then i have no motivation because my idea isnt original Sep 23 18:55:30 maybe you can target countries which this app does not target Sep 23 18:55:35 nothing is original these days Sep 23 18:55:49 everything is derivative, see mashups Sep 23 18:56:06 there has to be /some/ original idea Sep 23 18:56:35 good luck doing nothing until originality sttikes Sep 23 18:56:39 strikes Sep 23 18:56:45 i know :( Sep 23 18:56:48 well desmin88, you are welcome to share my idea of hacking the audio of Droid Sep 23 18:57:05 hacking? Sep 23 18:57:07 everyone is trying but I don't think anyone got lucky at all Sep 23 18:57:33 what do you mean by 'hacking' though. Sep 23 18:57:48 well, the idea is to blast Justin Bieber music in on-hold calls of you people you love most :-P Sep 23 18:57:59 desmin88 think that as Newton said, we see further because we are at giant shoulders. Make sure you see and use every interesting app in the store and try building from that Sep 23 18:58:52 im only 5'10" though :( Sep 23 18:59:04 but yeah thanks for your input Sep 23 18:59:09 desmin88: you can try to do the same app, but target the 2.3.7 audience which the app you pointed out has missed Sep 23 18:59:24 Looney: that is a possibility! Sep 23 18:59:44 you know that how much of the people are stuck on stock roms running BC android Sep 23 18:59:54 yea there are like 100 flash light apps lol Sep 23 18:59:57 desmin88: you are welcome ;-) Sep 23 19:00:07 every one ripping of eachothers work trying to make a quick buck lol Sep 23 19:00:11 lol Sep 23 19:00:13 1000* Sep 23 19:00:37 to be honest, I tried some Sep 23 19:00:53 none of them would work on locked screen Sep 23 19:01:05 c&p programmers Sep 23 19:01:07 lol Sep 23 19:01:07 and I was like what the hell man Sep 23 19:01:24 not that i can talk i am a c&p programmer to when it comes to android Sep 23 19:01:28 lol Sep 23 19:02:32 c&p, looks like I am hearing this acronym for first time Sep 23 19:02:49 copy and paste, or did you know that? Sep 23 19:02:51 ctrl C + ctrl V ? ? Sep 23 19:02:54 oh Sep 23 19:02:56 yea lol Sep 23 19:02:57 frigging cargo cultists Sep 23 19:03:00 c&v Sep 23 19:03:02 lol Sep 23 19:03:34 darn, gotta hate that I am not too good at this stuff *sobbing* Sep 23 19:03:45 i don't suppose you guys know a way to get a web view to go right to the edge of the screen, the gui s giving me hell and i wouldn't even know where to start editing the xml Sep 23 19:05:46 you maybe interested in relativelayout Sep 23 19:07:47 yah, on economy comfort today Sep 23 19:08:54 just take off padding and margin Sep 23 19:09:21 and if you only have a single view, use no layout Sep 23 19:09:32 just put your Web view at the root Sep 23 19:16:38 viovu: i think that there maybe some hidden option of open sles which in combination with some other option of Android could aid in accomplishing our goal Sep 23 19:17:12 opensles doc in ndk is like 500+ pages :-( Sep 23 19:17:23 gotta ctrl+F Sep 23 19:18:21 which goal? the keleidoscope? Sep 23 19:18:46 cheers guys Sep 23 19:18:51 ahhahhaha Sep 23 19:19:13 anyone ever read those choose your adventure books? heh http://youchosewrong.tumblr.com/ Sep 23 19:19:16 what blast from past Sep 23 19:19:27 too bad it was short lived Sep 23 19:20:19 audio hacking Sep 23 19:22:43 what do you want in kaleidoscope that you have in mind Sep 23 19:22:55 why not use some gif :-D Sep 23 19:26:28 darn, gotta hit the bed Sep 23 19:26:41 lots of work to take care of tomorrow Sep 23 19:27:03 catch you guys later perhaps ;-) Sep 23 19:46:10 Is it possible to start the launcher activity with no history? Sep 23 19:50:18 Well, figured out my problem. My method wasn't receiving the correct Context object since I didn't ping the timer in each onCreate() method. Fixed it by putting it in my base class to recreate the timer each time an onCreate() is called, keeping the context current. Sep 23 19:53:37 I'm having an issue which started recently when I first got the android-sdk. I don't know whether that caused it, but my Galaxy s3 no longer seems to want to get a data connection with my pc when plugged in via usb Sep 23 19:53:46 windows reports the device has malfunctioned Sep 23 19:53:48 anyone here doing scala on android with intelliJ? Sep 23 19:53:57 is it possible to rub sbt from gradle? Sep 23 19:53:58 pfn: ^ Sep 23 19:53:58 i've reinstalled drivers, rebooted the phone, done everything i can think of Sep 23 19:54:50 try switching usb modes? Sep 23 19:55:08 i can't seem to find where that is on this rom Sep 23 19:55:10 I had a spell where I could only get my S3 to connect to windows if it was in camera mode Sep 23 19:55:18 try settings -> storage Sep 23 19:55:23 then the menu Sep 23 19:55:52 ok, it was on MTP, trying PTP Sep 23 19:56:01 same thing: USB Device Not Recognized: Sep 23 19:56:14 "One of the USB devices attached to this computer has malfunctioned, and Windows does not recognize it" Sep 23 19:56:17 Hi guys, i`m stuck in here : http://stackoverflow.com/questions/18932575/jsonarray-without-array-name-earthquake-example . Someone has maybe a working example ? Sep 23 20:00:30 ya, I dunno it's always a crapshoot for me to get it working on windows Sep 23 20:16:20 i hate regular expression! Sep 23 20:16:28 regex* Sep 23 20:18:25 Anton2k: look on the bright side, you could be forced to write the FSM yourself instead :) Sep 23 20:18:31 local service vs singleton for chatbot class? Sep 23 20:19:07 this is not a question? Sep 23 20:19:32 bpth/ Sep 23 20:19:37 umm, fail typing. Sep 23 20:19:42 both* Sep 23 20:25:33 regex isn't that bad Sep 23 20:27:25 regular expressions are coooo Sep 23 20:28:20 I like regular expresions, they are fun. Sep 23 20:28:53 Some people talk about the eficiency of it, but I guess it depends on the implementation of the regex engine Sep 23 20:29:05 long live the escaped double backslash Sep 23 20:29:54 nseidml :) Sep 23 20:30:18 regex is especially nice in languages with raw strings Sep 23 20:30:24 though, the only two I know of are python and c# Sep 23 20:30:40 Regex is meh in Java because you have to \\\\everything Sep 23 20:31:44 Is there a wrapper around this? Sep 23 20:31:53 It makes the regex so hard to read. Sep 23 20:32:24 yea readabiliy was alway my issue with it, i can get like the first few charcters then i just all goes to crap though lol Sep 23 20:33:09 What is a static interface? Sep 23 20:33:16 Can I implement from it? Sep 23 20:34:11 I guess its like a static does for classes anli Sep 23 20:34:27 uhh Sep 23 20:34:33 im pretty sure Sep 23 20:34:35 its just an interface that is inside a class Sep 23 20:34:42 that adding a static keyword to an interface Sep 23 20:34:45 is redundant Sep 23 20:34:54 It is. Sep 23 20:35:01 Can I implement it outside the class? Sep 23 20:35:18 (its public) Sep 23 20:35:42 yes Sep 23 20:36:42 Seems like that, hm, the class I made cannot be used from another class though, strange stuff Sep 23 20:37:19 anli take a look at this so you get it better: http://docs.oracle.com/javase/tutorial/java/javaOO/nested.html Sep 23 20:37:36 thx Sep 23 20:39:11 dunno why I cant create an instance of this class: http://pastebin.com/qXWtsiYb Sep 23 20:40:48 Ah, I am trying to do it from the wrong place, in another project, did not have "link with editor" enabled Sep 23 20:40:54 lol Sep 23 20:47:38 I'd love to start hacking in Yaaic since I got it installed. fuck scarce time Sep 23 21:00:40 Is there a logcat that must not be on top of other windows? Sep 23 21:01:11 you mean the one from eclipse? Sep 23 21:01:47 you can put it in a sidebar and miniminize it when you dont need it Sep 23 21:01:57 Apparently, I meant that one Sep 23 21:02:45 I`m stuck in here : http://stackoverflow.com/questions/18932575/jsonarray-without-array-name-earthquake-example . Someone has maybe a working example ? Sep 23 21:09:00 neckro: is that your stackoverflow question? Sep 23 21:09:15 yep Sep 23 21:10:42 is your json data unchangeable? Sep 23 21:11:02 wait Sep 23 21:11:05 ignore that Sep 23 21:11:27 Seems like I cannot add a breakpoint exception for RuntimeException, is that true? Sep 23 21:12:06 i don`t have access to json source .. i need a app that parse a given json Sep 23 21:13:18 i need only a working example , i will modify if with my own array Sep 23 21:15:14 JSONFunctions, what does the 'result' string look like? Sep 23 21:17:28 should show id , name and magnitude Sep 23 21:17:43 ok Sep 23 21:17:52 can you print that string? Sep 23 21:18:52 first of all i have a error in eclipse on line : JSONArray json = new JSONArray(result); Sep 23 21:19:14 in MainActivity Sep 23 21:19:22 yes Sep 23 21:19:33 please print out the string Sep 23 21:21:02 I`m sure you will find this very foolish by i don`t know what you mean... i new in android / java programming :D Sep 23 21:21:09 .. Sep 23 21:21:25 System.out.println(result) Sep 23 21:22:50 then use pastie.org or something similar to show me the result Sep 23 21:23:26 wow. another os.... steamos Sep 23 21:23:41 I wonder if this is new age of many os Sep 23 21:24:25 the app is not starting until JSONArray json = new JSONArray(result); error is not solved... or should i change the line with yours ? Sep 23 21:27:13 neckro please just print out the result string before you create the jsonarray Sep 23 21:27:27 XXCoder: Its simply a linux distro based around stea' Sep 23 21:27:30 steam* Sep 23 21:27:44 yeah I know Sep 23 21:29:46 neckro: Perhaps you should touch up on your java skills before attempting this? Sep 23 21:30:28 desmin88, that will take 1-2 years :( Sep 23 21:30:44 well if you dont know how to use println thats kinda major Sep 23 21:31:01 i feel like your copy and pasting code without understanding it Sep 23 21:31:55 i`m learnig.... each day something new... Sep 23 21:32:07 println is day 1 Sep 23 21:32:20 have you printed out the string yet? Sep 23 21:33:09 Uh, Guesscoding! Sep 23 21:33:35 http://pastie.org/8350009 Sep 23 21:33:36 there you go Sep 23 21:33:41 line 34 Sep 23 21:35:47 thank you, just 1 min. i try to understand too what have you changed on code. Sep 23 21:36:15 ok good Sep 23 21:38:20 and map.put is no longer needed ? Sep 23 21:38:51 just print it out Sep 23 21:38:54 nothing else Sep 23 21:39:06 do not change anything except the 1 line i added Sep 23 21:43:16 public type jsonfunction must be defined in his own file :) Sep 23 21:43:54 opinion poll. If you have a fixed count 24 item collection, do you use an adapter backed structure or some sort of fixed layout in a scroll container. Sep 23 21:45:50 24 is kinda a lot Sep 23 21:45:51 for fixed Sep 23 21:45:53 i think Sep 23 21:45:53 idk Sep 23 21:46:25 Could you use ? Sep 23 21:49:36 <^cheeky> ha, nice link on the banner :) Sep 23 21:56:43 <^cheeky> i am leaking everywhere :( Sep 23 21:56:51 better clean that up Sep 23 21:57:32 <^cheeky> i am trying, but the rabbit hole never freaking ends !!!! am i sick for liking that Sep 23 21:57:42 <^cheeky> heh ok , Sep 23 21:57:55 desmin88 is working !! finally is working .... just removed JSONArray json = new JSONArray(result); and is working Sep 23 21:59:09 ok Sep 23 21:59:48 <^cheeky> my list view is soo smooooooooth is freaking awsome, but the back of my mind i know there is a leak ahhah Sep 23 22:00:14 thank you very much .. i will keep in mind System.out.println(result); Sep 23 22:03:02 https://scontent-a.xx.fbcdn.net/hphotos-ash3/1238733_674659345879072_468973990_n.jpg Sep 23 22:03:07 "UPDATE: Accused murderer Jose Villanueva has been found guilty of first degree murder in the shooting and beating death of Charles Tyson last year. Sep 23 22:03:07 Villanueva has been sentenced to life in prison with the possibility of parole. This means he'll have to serve 38 years and 3 months to be eligible for parole." Sep 23 22:04:16 oh, wrong channel ha Sep 23 22:04:35 lul Sep 23 22:06:31 good night all Sep 23 22:08:33 yoyo Sep 23 22:08:41 little help please Sep 23 22:08:56 im trying to configure progaurd to keep jut a class name Sep 23 22:08:59 thats all Sep 23 22:09:06 how is this done? Sep 23 22:09:13 -keep...? Sep 23 22:09:18 -google Sep 23 22:09:45 just out of curiosity, what's the point of using proguard if you keep the class names? Sep 23 22:09:50 -keepnames ? Sep 23 22:09:51 <^cheeky> pro-guard huh . Sep 23 22:09:54 <^cheeky> sorry Sep 23 22:10:08 im just trying to keep 1 specific class name that i need for other web settings Sep 23 22:10:16 gotcha JakeWharton Sep 23 22:10:21 javaDon, that makes sense Sep 23 22:10:45 yes i tried gooogle i havnt found what i needed there Sep 23 22:10:50 any1 here know? Sep 23 22:10:52 wat Sep 23 22:11:11 * kakazza pats Jake Sep 23 22:11:16 javaDon: 4th result on google "proguard keep class name" - http://stackoverflow.com/questions/10971810/proguard-keep-class-names Sep 23 22:11:20 There, there Sep 23 22:11:36 javaDon, -keep class com.android.vending.billing.** Sep 23 22:11:40 is how you'd do it for google billing Sep 23 22:11:42 javaDon: or you can just look at the proguard manual http://proguard.sourceforge.net/#manual/usage.html Sep 23 22:11:46 so I'd just change the class name to yours Sep 23 22:11:47 i saw that i dont understand how to enter it in though Sep 23 22:12:01 i tried with Sep 23 22:12:06 put it in your proguard config Sep 23 22:12:19 -keepnames MainActivity Sep 23 22:12:21 didnt work Sep 23 22:12:57 try -keep class com.yourapp.foo.MainActivity Sep 23 22:14:00 i want to keep just the name not the whole class Sep 23 22:16:07 try -keepnames com.yourapp.foo.MainActivity Sep 23 22:23:25 poutine Unexpected keyword 'com.jumpy.jumpythefrog.MainActivity' Sep 23 22:25:28 javaDon, keyword eh, what's the entire line in the file Sep 23 22:34:02 -keepnames com.jumpy.jumpythefrog.MainActivity Sep 23 22:56:01 https://dl.dropboxusercontent.com/u/31892/de_derp.png ← Anyone know if the indentation of items in preference categories (e.g., screenshot) is defined somewhere in Android's resources? Still going through the source, so I'll probably eventually find it, but figured I'd ask. Sep 23 23:00:57 hello Sep 23 23:01:20 is there anoyone who could assist me ? Sep 23 23:01:39 just ask Sep 23 23:05:08 My app needs to interface with a JSON API as well as authenticate with the server using cookies etc. when i want to do HTTP stuff it has been pointed out that it is recommended to do it Asynchronously. how important is this ? because at the end of the day it's not usefull for me to do it like that because i have to wait for a reply anyways, step by step stuff Sep 23 23:05:35 Depends on your minimum API level. Sep 23 23:05:59 Which version made it an exception to do socket stuff on the main thread? Sep 23 23:06:01 14 Sep 23 23:06:56 So, if you're 14 or above, it's required. If it's beneath that, it's probably still a good idea because there's almost no downside. Sep 23 23:08:02 That said, I'm not sure how you're doing "HTTP stuff" so I guess that depends on that as well. Either way, not much reason to block the main thread with it. Sep 23 23:08:15 I don't think just because it causes an actual exception in 14+ it's not 'required' prior Sep 23 23:08:45 just do it, it's not as if you have to make an effort Sep 23 23:08:55 and your progress spinner will spin Sep 23 23:09:01 It causes an exception if I use a socket in the main thread in API 16. Sep 23 23:09:39 ok cool, so i can use AsyncTask and just use the .get() to wait for it to finish ? Sep 23 23:09:41 Wait, I read that wrong. Disregard that. Sep 23 23:09:45 More coffee needed. Sep 23 23:10:01 no, onPostExecute or whatever it is runs on the UI thread Sep 23 23:10:02 Why use get? Just use onPostExecute. Sep 23 23:10:05 so do your UI updating there Sep 23 23:10:21 If you need progress, AsyncTask also has something for that, but I've never needed it. Sep 23 23:10:41 hehehe http progress good one Sep 23 23:11:02 * Nilium doesn't do web stuff, so has no concept of whether progress would apply Sep 23 23:11:48 oh ok cool, thanks. il do that Sep 23 23:13:33 Nilium, i think it's actually 11, not 14 Sep 23 23:13:43 * Nilium doesn't know off the top of his head. Sep 23 23:13:48 Zylinx said 14, anyway. Sep 23 23:14:14 Yeah, honeycomb or later. Sep 23 23:14:22 So that would be 11 unless I forgot. Sep 23 23:23:45 any way i can manually remove the action bar from the activity - ima noob Sep 23 23:25:01 Theme.Holo.NoActionBar? Sep 23 23:26:08 yea, thats what I have done, but i still see it in the GUI designer Sep 23 23:26:44 I don't know if whatever this designer is reflects that. Sep 23 23:27:04 its cool Sep 23 23:27:05 Either way, actually run the app and see if that removes it. If it does, then problem solved. Sep 23 23:27:12 just debugged it on my s3 and its not there Sep 23 23:27:13 cheers Sep 23 23:27:20 yea ^^ Sep 23 23:27:21 lol Sep 23 23:28:09 Though I have to say that I am impressed with IntelliJ 13's designer, since it actually seems to do a good job of previewing custom views and so on. Sep 23 23:28:30 Shame it still produces XML that makes my eyes turn to blood. Sep 23 23:29:17 i hate xml with a passion, i mean its a good way of communicating with web services but thats it, all this designer crap man, i would take css any day Sep 23 23:29:27 css & html Sep 23 23:29:57 I'd rather stick with the XML because CSS means you end up with web developers who have no idea what they're doing. Sep 23 23:30:05 if only you could do align_left, alignWithParentIfMissing etc. in css :) Sep 23 23:30:10 Like the "I know CSS therefore I yam pugrammer" types. Sep 23 23:30:29 I implemented a relative layout-like thing in Javascript >_> Sep 23 23:30:39 Nilium that's awesome Sep 23 23:31:07 I'd never use it, was more like a "hey I wonder if I can do this" thing. Sep 23 23:31:43 yea, lol, i am a web designer/developer i done programming the the past with c# and stuff but never used xml as a means of desiging a gui, it just forgine to me Sep 23 23:32:07 <^cheeky> if i am using inner classes , should they be static ? i have the as private class, but i read that they should be static class Sep 23 23:32:45 Back when I was first coding using BlitzBasic, I used this GUI library that only let you do layouts via code. So I wrote a little thing to load UIs from XML. I've hated XML ever since. Sep 23 23:32:56 I also wrote my own XML parser, and that was even less fun. Sep 23 23:33:06 ^cheeky, depends on how you use them! Nothing special due to the class being inner. Does it record state? Is the parent class static? Sep 23 23:33:10 I do a lot of horrible things. Sep 23 23:33:19 html is just a half assed xml Sep 23 23:33:46 I try to write HTML like XML because I think being able to omit the end tags for some stuff is evil. Sep 23 23:34:11 Probably also makes life a living hell for browser devs. Sep 23 23:34:53 lol yea i can relate ahahahaha, microsoft is frikin driving XML like a frate train to wards a brick wall with SOAP Sep 23 23:35:37 <^cheeky> dbro: well i a looking at my logs, and i see that the heap grows up then gets cleared and drops down, the private inner class is an adapter in the listFragment Sep 23 23:35:43 speaking of MS, Surface 2 looks pretty rockin Sep 23 23:35:46 Either way, not a web guy, so I'm heavily uninformed on most of it. Sep 23 23:36:10 Surface does look nice. Would get one, but I ain't installing Windows to develop for them and there are no apps. Sep 23 23:36:11 SOAP can be done quite well. Unfortunately, majority prefer the RPC model, which is broken by definition Sep 23 23:36:16 Nilium is an AppleScript guy Sep 23 23:36:25 You take that the fuck back Sep 23 23:36:29 :) Sep 23 23:36:32 hehe Sep 23 23:36:42 lol Sep 23 23:37:05 soap as an idea is great Sep 23 23:37:11 it keeps you clean Sep 23 23:37:26 yea i got into the metro (they really screw up the whole naming thing...) app development using web stuff Sep 23 23:37:31 if only more developers used it Sep 23 23:37:38 but it just aint really taken off Sep 23 23:37:41 they wouldn't stink as much Sep 23 23:37:44 yea Sep 23 23:38:13 we had some microsoft evangelists come to our office to try to convince us to do metro apps Sep 23 23:38:18 stinking has utility Sep 23 23:38:18 ... we never did any Sep 23 23:38:37 like when you go to the library, and its overcrowded - stinking is very useful Sep 23 23:39:15 wabz heh, my friend in seattle said some folks came over too - but this was a while ago Sep 23 23:39:15 ^cheeky, an adapter is usually constructed with a Context and layout resource, so that suggests a non-static pattern. I can't think of a compelling reason to do otherwise but can't think of a performance implication Sep 23 23:39:30 they are pretty easy to develop, but the restrictions imposed are balls, reminded me of UAC and windows vista lol Sep 23 23:39:45 Anton2k: UAC was a very good thing Sep 23 23:39:52 for windows yea lol Sep 23 23:39:53 I second what p_l said. Sep 23 23:40:06 UAC did nothing to impair apps and helped users. Sep 23 23:40:12 Anton2k: well, OSX and various Linux distros do it too Sep 23 23:40:23 It was a bit over-zealous about requesting permission, but that's not an issue for developers. Sep 23 23:40:31 the problem is tons of shitty apps that think they should be able to crap all over the system Sep 23 23:40:39 yea i mean it was more of a pain in the ass, simple things became well a pain Sep 23 23:40:43 p_l did you see that recent LWN thread about running each app in its own VM … kinda sounded like DOS Sep 23 23:40:50 g00s_: VM/CMS :> Sep 23 23:41:38 Nilium: a lot of applications assumed they had Administrator level privileges and acted on it Sep 23 23:41:46 So you got tons of requests Sep 23 23:41:58 ah yea Sep 23 23:42:05 Well, that was an issue, but then Windows developers kind of sucked at being sensible. Sep 23 23:42:08 so blame it on the programmers hhahahahah Sep 23 23:42:39 Seems like a lot of them still can't decide on whether their junk goes in: My Documents, app data, program files, somewhere else, etc. Sep 23 23:43:19 That said, I haven't used Windows in about a year, so maybe that's changed despite the years of inconsistency. Sep 23 23:43:26 I found one recent (this decade) program that tried to store files in its folder. Sep 23 23:43:34 1980s blast! Sep 23 23:43:42 Anton2k: no, really, when you are the biggest platform you get everything in bigger amounts, especially shitty applications written by CEOs nephew that become "business critical" Sep 23 23:44:06 hahhhha yea true that Sep 23 23:44:11 Anton2k: Vista was received so badly partially because it was the version when MS said "ENOUGH WITH THIS SHIT" instead of being bug-compatible with applications Sep 23 23:44:14 Or, in the case of the one company that recruited me, critical stuff written on VB6 that sits on top of MUMPS. Sep 23 23:44:29 consider the infamous "Simcity 2000 mode" of Windows 95 Sep 23 23:44:34 anyone else getting deja vu ala windows developer tragedies & Android? Clearly excepting everyone in here and the work you do :) Sep 23 23:44:34 Also driver issues. Sep 23 23:44:57 Dunno, I don't use Android regularly. No apps I like for it aside from Pixel Dungeon and Gmail. Sep 23 23:45:48 dbro: Android is more rigid... but the root-requiring apps and Facebook app shows it can happen ;) Sep 23 23:45:58 hi everyone Sep 23 23:46:30 don't use android regularly? Sep 23 23:46:40 I think the most annoying thing is just that I get developer spam from people harvesting email addresses from the Play store. Sep 23 23:46:44 what's your mobile platform of choice then? Sep 23 23:46:47 iOS. Sep 23 23:46:56 yeah thats bit annoying Sep 23 23:46:59 meh Sep 23 23:47:02 Has apps I prefer. Sep 23 23:47:14 only 3 apps and they keep saying I can sell em for millions. when 2 out of 3 is free. Sep 23 23:47:20 So, the only reason I develop for Android is to fix that for myself. Sep 23 23:47:21 lol, i like iOS too Sep 23 23:47:38 a lot of people dev for both Sep 23 23:47:45 lots of people here in iphonedev Sep 23 23:47:48 word up Nilium. Used iOS as daily driver for years, just hurts inside putting my efforts into that walled garden Sep 23 23:47:52 I love iOs, but all those certificates, and procedures apple have for developers are super-tedious Sep 23 23:47:53 not me. I dont own devices made by slaves Sep 23 23:47:55 and "voting" for apple's style of developer relations Sep 23 23:48:11 Like, the OS is great, Google's apps are great (though Chrome and G+ are somehow better on iOS), but I just don't have my daily use stuff on Android yet. Sep 23 23:48:17 well best I know anyway. can't perfectly follow that :( Sep 23 23:48:42 I'd develop for iOS, but I don't like paying $100 to test on a device I own. Sep 23 23:48:57 definitely not all roses there, yeah Sep 23 23:49:03 but it depends on the project you want to do Sep 23 23:49:03 Also, I get Scala on Android. So that's a benefit. Sep 23 23:49:16 I couldn't get on with iOS. First the limitations were too annoying to WinMo user, then I got too used to being able to use multiple applications an general workflow of android Sep 23 23:49:26 I find android hard to develop for, i duno if its just the IDE or what, I was always used to visual studio and double clicking a button and it generting the event handler that i could throw some code inside, but with android i need to add a button, then do a bunch of other stuff to make sure that button has no warnings ot errors, i dont actually know, still learning, i just wish it was Sep 23 23:49:26 more like developing apps the way i was tought in college and university. I have looked into phone gap and stuff hey ho! Sep 23 23:49:31 Yeah, different strokes for different folks. Sep 23 23:49:33 you could do haskell on ios Sep 23 23:50:13 its also nice that in one week, there were more iOS 7users than iOS 6 users Sep 23 23:50:14 I could also license RubyMotion, which would be nice, but I'm less confident in iOS dev. Sep 23 23:50:27 g00s_, totally man Sep 23 23:50:31 pfn: i doubt Apple would approve an app written in Haskell Sep 23 23:50:43 If it's compiled, they don't care. Sep 23 23:50:46 adoption is certainly a major hurdle to Android taking off Sep 23 23:50:49 zinx: they no longer list approved languages Sep 23 23:51:02 dbro: it already took off Sep 23 23:51:09 p_I, totally Sep 23 23:51:10 Apple only cares if it uses private APIs or breaks their rules. Sep 23 23:51:17 and a huge amount of people don't give a shit about OS... Sep 23 23:51:27 Nilium: mainly the latter Sep 23 23:51:52 The rules are vague and ill-defined, granted, but I've yet to hear of anyone nowadays being rejected because of what their source code was. Sep 23 23:52:01 p_I I mean Android as a viable platform where software updates are available to users Sep 23 23:52:16 That's getting there. Sort of. Sep 23 23:52:18 blackberry should really start using Android, otherwise they are screwed... Sep 23 23:52:19 yeah Sep 23 23:52:33 Nilium: it was done to fuck with Adobe, really Sep 23 23:52:33 What would it take for google to take the Google Play Services route to updating the OS Sep 23 23:52:41 dbro: a lot Sep 23 23:52:49 dbro: mind you, I've been advocating that for year Sep 23 23:52:49 Blackberry sold itself to a company that buys insurance companies. They're dead. Sep 23 23:52:50 Like, officially dead. Sep 23 23:52:51 *years Sep 23 23:52:59 lol Sep 23 23:53:08 dbro: Windows Phone actually prepared for such route, btw Sep 23 23:53:08 dbro: cooperation from hardware manufacturers are carriers, i.e., it'll never happen Sep 23 23:53:10 Nilium: depends Sep 23 23:53:16 s/are/and/ Sep 23 23:53:21 well, it does with Google Play Services Sep 23 23:53:23 i think the biggest problem in android's future, is that iOS, WP, and hell Ubuntu Phone, are better poised for desktop class apps. iOS / OS X will eventually merge in many ways, the next iteration of WP will see its trend to be more like its big brother. But we still have this retarded Java framework thats godo for little more than REST requests to a web site Sep 23 23:53:24 fairfax has a good investing track record Sep 23 23:53:28 i knew they sold out but i didnt know who to, sad really, i enjoyed using my old blackberyy back in the day for texting Sep 23 23:53:37 g00s_: who uses desktop apps ? Sep 23 23:53:50 Let's just be realistic here: their death rattle has been going for a couple years and now they're just prolonging it. Sep 23 23:54:09 g00s_ : In your pipedream to replace Android's Java layer, what would you pick? Sep 23 23:54:20 g00s_: Ubuntu Phone has horrible interface Sep 23 23:54:24 yea true that Sep 23 23:54:24 dbro i have no idea, honestly :( Sep 23 23:54:26 And I _like_ their new phones and I liked the Playbook, but they had a horrible SDK prior to BB10 and then shunned tablets and there's no incentive to buy a phone just for dev when you're a single person. Sep 23 23:54:31 I have this dream too. But alas here I am sitting in a Berkeley coffeeshop with students all around me speaking Java :/ Sep 23 23:54:42 Quick question of opinion, I have a boolean showDetails, what should the accessor method be called? isShowingDetails? Sep 23 23:54:43 When you go for desktop apps, you should use desktop :) Sep 23 23:54:51 zinx, how would apple know, it would use the same libraries and have the same symbols Sep 23 23:54:51 c# android Sep 23 23:54:56 I'd use isShowingDetails. Sep 23 23:54:58 heard its quite a bit faster Sep 23 23:54:59 pfn: it's relatively easy to tell Sep 23 23:55:01 hi all... has anyone worked on using android to send and receive data over bluetooth spp? there doesn't seem to be any way to do flow control or set partity, stop bits etc. Sep 23 23:55:08 kakazza: "mShowingDetails" and isShowingDetails() and setShowingDetails Sep 23 23:55:11 c# android? Sep 23 23:55:20 not to mention, Apple has been batch slapped multiple times over third party languages Sep 23 23:55:24 pfn: even if you do strip the bits that say it explicitly :/ Sep 23 23:55:30 c# is what i know, u can develop apps for android using c#?? :O Sep 23 23:55:31 yeah team made java to c# convertor, tested it on android and it worked Sep 23 23:55:37 funkbox: Hmm, I guess. I started with mShowDetails Sep 23 23:55:42 can you link me Sep 23 23:55:48 kakazza: pick a style and stick with it, doesn't matter what it is Sep 23 23:55:49 Anton2k: there's a pretty expensive product called MonoDroid Sep 23 23:56:00 Anton2k: they also have MonoTouch which does the same for iOS Sep 23 23:56:07 I hardly ever use the progressive form on member names. Sep 23 23:56:12 zinx, they don't care enough to, and an app written in haskell would arguably have fewer bugs to raise arms Sep 23 23:56:19 I almost recommended kakazza do something that would only work in Scala. I hate it when I do that. Sep 23 23:56:24 But I can't go isShowDetails, and getShowDetails is just wrong. Sep 23 23:56:32 pfn: shrug, they used to care, i don't keep up to date with their shenanigans :) Sep 23 23:56:40 Nilium: Enlighten me, I like to hear about different stuff. Sep 23 23:56:55 thanks p_1 gona read into that, it would shure make my life a hell of allot easier Sep 23 23:56:58 quick threadjack: Anyone have a good Gradle productflavors example (res, Manifest src merging etc)? I love you all Sep 23 23:57:20 The whole thing with "approved language list" was to fuck with the company that kept Apple alive, Adobe, now that they didn't need them ;) Sep 23 23:57:21 Was going to say that if the getter/setting does nothing but sets the field, make the field public and name it isShowingDetails. Then, if you need to change it, refactor it to def isShowingDetails and def isShowingDetails_=(..) Sep 23 23:57:42 ditto Nilium Sep 23 23:57:42 That said, I'm assuming the setter will do something other than set the field. Sep 23 23:58:13 It doesn't, but the product I'm working on has a rule to not expose members directly. Sep 23 23:58:17 'Cause it looks pretty nice to just say "something.isShowingDetails = true" Sep 23 23:58:27 That's true. Sep 23 23:58:30 Though it's a little wonky grammatically. Sep 23 23:58:44 kakazza make it immutable then , it should be OK :D Sep 23 23:58:51 you're thinking too much about style instead of substance Sep 23 23:58:53 @YES ;p Sep 23 23:58:58 just rid of the stupid accessor prefixes Sep 23 23:59:11 why the hell image goes out its background? http://i.imgur.com/2zX22Oq.png Sep 23 23:59:12 prefix everything with twerk Sep 23 23:59:14 cabnt find that article Sep 23 23:59:17 You mean .showDetails(true) and showDetails()? Sep 23 23:59:23 funkbox hah, you made me laugh Sep 23 23:59:27 var twerkShowingDetails = false Sep 23 23:59:39 gdrc: clipToBounds set it to true Sep 23 23:59:42 and also clip to padding Sep 23 23:59:45 Doesn't work, twerk's a verb. Sep 23 23:59:53 twerkToBounds, etc Sep 23 23:59:59 why is this twerk thing a meme Sep 24 00:00:04 I don't know. Sep 24 00:00:11 Nilium: it's whatever your mind wants it to be Sep 24 00:00:20 kakazza: Buffers will do that, but I'd recommend not doing it 'cause that API's horrifying Sep 24 00:00:31 If you must do setter/getter stuff, stick to set*/get* Sep 24 00:00:31 for example instead of "isRenderingEmails" -> "isTwerkingEmails" Sep 24 00:00:41 If it's a boolean, use has, is, or get Sep 24 00:00:44 Nilium NIO Buffers ? Sep 24 00:00:50 g00s_: Yes. Sep 24 00:00:56 e.g., .limit() and .limit(newLimit) Sep 24 00:01:08 fuck, the accessors are about 2 orders of magnitude slower than primitive array access on Android Sep 24 00:01:09 Or .order() and .order(newOrder) Sep 24 00:01:36 Yeah, I hate them. Sep 24 00:01:46 2 orders? Sep 24 00:02:04 Doesn't the compiler inline simple getters/setters? Sep 24 00:02:04 about 100 times slower Sep 24 00:02:08 I think he's exaggerating, but it is slow. Sep 24 00:02:09 > 100 times slower? Sep 24 00:02:13 yes Sep 24 00:02:13 I'd have to check the generated bytecode. Sep 24 00:02:19 maybe it's because your phone is really crap Sep 24 00:02:41 performance is relative in this case, you're comparing one thing to another. phone doesn't matter. Sep 24 00:02:42 I use them, they're not the worst thing you could do, and there're more important things to worry about. Sep 24 00:02:54 funkbox: adjustViewBounds maybe? Sep 24 00:03:04 Chances are they're not going to be a bottleneck for anyone. Sep 24 00:03:08 probably has more to do with the version of Harmony Sep 24 00:03:12 g00s_, chappy os and lack of optimizations matters Sep 24 00:03:21 crappy Sep 24 00:03:29 Chappy too. Needs chapstick. Sep 24 00:03:30 I hate autocorrect sometimes Sep 24 00:04:01 gdrc: android:cropToPadding Sep 24 00:04:09 memory's hazy but it's one of those Sep 24 00:04:33 I'm still kind of amazed how well my Touchpad is handling Android, at any rate. Sep 24 00:04:35 funkbox: n1 Sep 24 00:04:59 wow, you wern't kidding about monodroid being expensive... Sep 24 00:05:07 <^cheeky> i dont have what was logged and i could;t read some who told me something here :/ Sep 24 00:05:10 <^cheeky> :( Sep 24 00:05:30 that'll teach you, turn on your client logging Sep 24 00:05:46 * pfn ponders adding sqlite based logging to qicr Sep 24 00:06:07 then seeing your logs could be as seamless as scrolling up Sep 24 00:06:17 pfn how does qicr hold on to the channel history atm ? Sep 24 00:06:19 <^cheeky> oh .. Sep 24 00:06:19 Nilium, handling android in what way? Sep 24 00:06:23 <^cheeky> um thank you Sep 24 00:06:37 g00s_, just a simple list adapter Sep 24 00:07:02 * pfn airplane mode & Sep 24 00:07:17 flight will land in 90 minutes Sep 24 00:07:34 poutine: In the not crashing and not exploding and not running like a wad of hair up a velcro hill way. Sep 24 00:08:13 Nilium, you mean the emulator, an x86 version of android, what? Sep 24 00:08:32 Eh? Sep 24 00:08:41 nevermind Sep 24 00:08:42 I misread Sep 24 00:08:49 I meant the HP Touchpad. Sep 24 00:08:54 read touchpad as "thinkpad" Sep 24 00:11:33 wow, the The IBM Multitenant JVM is cool Sep 24 00:11:57 probably more useful for cloud now, they kinda missed the desktop boat Sep 24 00:12:22 if they had a better UI toolkit and this was around 1.4.2, maybe things would have been different Sep 24 00:13:38 "or example, a native crash in the multitenant JVM affects all tenants." oh bummer Sep 24 00:13:52 g00s_: isn't that essentially what JBoss and similar do? Sep 24 00:15:07 p_l hm, i dunno, never heard about it Sep 24 00:15:36 g00s_: ... you're innocent like unshat-on green pasture Sep 24 00:15:54 p_l heh, yeah never used jboss Sep 24 00:16:03 i did look at drools once, thats about it Sep 24 00:16:17 would have used Jess except for licensing Sep 24 00:16:18 an app at doing used JBoss so I had closer look at what it was doing :D Sep 24 00:16:39 g00s_: you do know the tricks with multiple class loaders? Sep 24 00:17:00 oh man, i always got into trouble with that stuff, so i avoided it Sep 24 00:17:28 i also forgot how all those EE containers worked, and their classloaders, gah Sep 24 00:17:35 fuck all that stuff Sep 24 00:17:53 g00s_: basically, most applications servers for JVM (with exception of JBoss before version ) run essentially a multitenant VM Sep 24 00:18:34 the actual "containers" don't always have to be rigidly specified, but some of them allow nesting in various forms so you can have Class code shared Sep 24 00:20:33 hmm, i dont remember it looking the way this ibm implementation does. but its been a while Sep 24 00:22:19 g00s_: well, the IBM stuff probably is extra optimized etc. Sep 24 00:22:35 also, personally, I think Java applications are the things that murdered java on desktop, not JVM :) Sep 24 00:23:09 yeah, there are different tradeoffs and points on the density / isolation spectrum Sep 24 00:25:24 is there computually cheap way to calculate if point is within circle? Sep 24 00:25:49 assuming I know radius and center point of circle and x, y of some point Sep 24 00:28:35 p_l what i'm worried, as i read ibm / oracle roadmap for their JVMs … is they appear to be willing to do more to break backwards compatibility. at least thats the tone i get reading some of these presentations; they have to "keep up with the joneses". hopefully this doesn't break stuff with android, not that oracle would mind Sep 24 00:28:49 XXCoder1: http://stackoverflow.com/a/481150 Sep 24 00:29:23 thanks :) Sep 24 00:29:35 First hit in Google, really Sep 24 00:31:46 well that is standard way Sep 24 00:31:46 I was wondering if there was cheah compution trick Sep 24 00:31:46 oh later reply has it Sep 24 00:31:46 thanks 2x combo! Sep 24 00:38:09 Oh goody, spam to have my app "analyzed" by "experts" Sep 24 00:38:40 I feel so blessed by receiving this em- scratch that, I feel annoyed that responding won't get me a human I can troll. Sep 24 00:38:43 yeah, i get plenty of that, or to promote my app Sep 24 00:38:56 "get x positive reviews" Sep 24 00:40:01 Incidentally, it is very hard to google some name plus "spam" because you get tons of scam/spam websites that pretend to be spam warnings Sep 24 00:44:42 <^cheeky> i see that the bitmapfun sample app, it calls , bitmap.recycle , and also uses soft references to hashset, is the code that has not been updated ? Sep 24 00:45:15 What's wrong with Bitmap#recycle? Sep 24 00:46:45 <^cheeky> nothing , i am just confused .. because i am using Lru meory cache, and trying to re-use the bitmap, but, the entryRemoved never gets called because my hashset is awlays empty Sep 24 00:47:05 * Nilium is confused by your response. Sep 24 00:47:49 <^cheeky> sorry .. i need to gain focus again Sep 24 00:48:15 <^cheeky> sorry for wasting bandwidth i guess ill go for a jog or something Sep 24 00:48:18 <^cheeky> thanks Sep 24 00:48:54 * Nilium suggests beer too. Sep 24 00:54:19 ok the default Video Player that comes with stock does hide the soft menu buttons, I tried this code and it didn't work on my video player http://stackoverflow.com/questions/4391059/archos-101-internet-tablet-is-it-possible-to-hide-default-android-software-bu Sep 24 00:54:51 I'm just trying to provide a real fullscreen viewing when they turn into landscape with VideoView Sep 24 01:12:17 hey guys, someone here? Sep 24 01:16:55 nice Sep 24 01:16:59 This room is made of silence and crushed dreams. There is nobody here. Ever. Sep 24 01:17:12 ha Sep 24 01:17:13 Unless you need a dream crushed or something. Sep 24 01:17:27 There's an app for that Sep 24 01:17:30 very nice :D Sep 24 01:17:33 cool answer Sep 24 01:17:40 Thank you Sep 24 01:17:43 CocoStorm: Only on Blackberry devices, though. Sep 24 01:17:47 <^cheeky> i do Sep 24 01:17:59 <^cheeky> what if its already CRUSHED !!!!! Sep 24 01:18:18 <^cheeky> heh ok sorry .. i dunno why i typed that Sep 24 01:18:30 Sometimes it needs more crushing. Sep 24 01:18:39 well, better crushed dreams than hallucinations of potato Sep 24 01:18:44 You can never be too careful. Sep 24 01:18:49 my dreams were crushed the moment I joined this channel when I realised I suck at programming Sep 24 01:18:52 * ^cheeky doubts it Sep 24 01:19:03 My dreams were crushed the moment I realized people don't like paying for apps. Sep 24 01:19:06 <^cheeky> oh i know i suck @ programming Sep 24 01:19:08 And then when my $1 app got pirated. Sep 24 01:19:15 Nilium, That is very true also Sep 24 01:19:21 so guys, i just need an answer on the question: isn't there a possibility to debug my apps with System.out.println things? Sep 24 01:19:26 Nilium, oh shit, how do you find out? Sep 24 01:19:33 Google alerts. Sep 24 01:19:34 After that, I decided it was time to remove my soul and just ignore it. Sep 24 01:19:41 that's so annoying Sep 24 01:19:50 its important to have the right audience in mind; one willing to buy stuff … and not pirate. so that rules out a lot of shit, like games Sep 24 01:19:54 It is. It's also a waste of time being annoyed buy it. Sep 24 01:20:09 In fact, it's a waste of time even letting it register on your radar. Sep 24 01:20:13 * ^cheeky ponder if people can make a living out of it Sep 24 01:20:16 Nilium: isn't there an app for that? Sep 24 01:20:17 :D Sep 24 01:20:33 hehe Sep 24 01:20:37 Might be. Sep 24 01:20:52 ok guys, read my text? Sep 24 01:20:52 Probably not on Android though. Not enough apps worth using on Android. Sep 24 01:20:57 now i want an answer :D Sep 24 01:21:06 You will get no such thing. Sep 24 01:21:19 Or you might. Who knows? Sep 24 01:21:29 * Nilium stares at the terminal that's had the Android source downloading for something like 3 hours. Sep 24 01:21:34 veryhappy, yes it would print to the console, you can also use Log.d to print to logcat :S Sep 24 01:21:49 Nilium oh man, doing repo sync ? Sep 24 01:21:55 Yep. So much fun. Sep 24 01:21:56 is this #ethics? or #android-dev :D Sep 24 01:22:06 ok good... Sep 24 01:22:18 heh, i had to pair down my repo manifest to like 10 things, and it still took an hour. of course, libcore is big Sep 24 01:22:28 Android is like Ruby development: you'll inevitably need to read the source. Sep 24 01:22:43 Yeah, I'm pulling the whole thing into a 20gb disk image. Sep 24 01:22:47 ok, so i can still see outputs of variables, so where does my text appear? in LogCat in Eclipse or where? Sep 24 01:22:51 Nilium: everything is like that Sep 24 01:22:58 Then I'm going to back it up and never sync it again. Sep 24 01:23:08 the difference is that some assholes make you use decompilers, and sometimes even decryptors :> Sep 24 01:23:19 p_l: Everything with weird quirks, really. Sep 24 01:23:23 So everything. Sep 24 01:23:43 Nilium: sometimes it's "just what the fuck is going on underneath?: Sep 24 01:23:46 " Sep 24 01:23:57 its Bundles all the way down Sep 24 01:24:01 And then you realize it might be better not to stare into the void. Sep 24 01:24:36 That said, I need to figure out some stuff related to preference categories and the source bundled with the SDK is not sufficient. >_> Sep 24 01:24:48 veryhappy, yes logcat in eclipse if you use Log.d() Sep 24 01:25:13 ugh, can't wait to get out of this flying tube Sep 24 01:25:14 Mostly 'cause pref categories sort of indent preferences on large tablets and I can't find anything that documents how much it indents them anywhere Sep 24 01:25:34 CocoStorm: just read the same in the internet, but thanks for agreeing on that now :D Sep 24 01:25:51 CocoStorm: anyway thank you Sep 24 01:26:07 no worries Sep 24 01:26:21 so that will help me debugging Sep 24 01:26:35 now i found my way, thank you Sep 24 01:26:40 good night guys Sep 24 01:26:44 <^cheeky> if i am fetching an image from memory .. is that where i use the inBitmap function to re-use a bitmap Sep 24 01:26:56 goodnight Sep 24 01:27:00 repo sync, only takes a couple hours :p Sep 24 01:27:24 I just cloned aosp on my windows box Sep 24 01:27:28 wow he was happy :| Sep 24 01:27:38 so much more enjoyable to repo grep on ssd Sep 24 01:28:36 Ag is fast as hell. i only have a 5400 rpm hard drive and dont have to wait long at all Sep 24 01:29:16 pfn: Mine's probably going slow 'cause I'm in the boonies. Sep 24 01:29:39 well, it is a bit more than 10gb Sep 24 01:29:49 however long that takes plus disk io Sep 24 01:30:07 Yeah, that'll take me about 8 hours. Sep 24 01:30:09 Probably. Sep 24 01:50:07 quiet nivht Sep 24 01:50:12 I am trying to build Nexus 7 Grouper from Source and get error messages, linked is to fill build from start to finish, http://ubuntuone.com/3MeaMSwcH6jXS9MwryC7lq, got java from the java-package. Running ubuntu 13.10 Saucy 64 Bit, looked online and found nothing Sep 24 01:51:50 YESS !!! got it! MyVideoView.setSystemUiVisibility(View.SYSTEM_UI_FLAG_HIDE_NAVIGATION); to hide the navigation menu bar, for anyone who wants to know ;) Sep 24 01:53:40 hmmm, I guess I have to hide them everytime MediaController.isShowing()==false Sep 24 01:54:04 they don't seem to hide again after touching the screen and MediaController shows up once Sep 24 01:56:15 man, I wish I could do something about Google maps sucking Sep 24 01:56:33 whats wrong with it? Sep 24 01:56:34 who ever thought this search result ui is a good idea? Sep 24 01:56:40 oh Sep 24 01:56:44 frigging Terrible Sep 24 01:56:58 I should downgrade maps Sep 24 01:57:09 could somebody please help me with my problem,I am trying to build Nexus 7 Grouper from Source and get error messages, linked is to fill build from start to finish, http://ubuntuone.com/3MeaMSwcH6jXS9MwryC7lq, got java from the java-package. Running ubuntu 13.10 Saucy 64 Bit, looked online and found nothing Sep 24 01:57:23 dunno if the original version on the n7 has this steaming pile Sep 24 01:58:09 cpatrick08, don't repeat, and not gonna read a non text paste Sep 24 01:58:43 that link leads to a text paste Sep 24 01:59:08 it started a down load on android Sep 24 01:59:46 pfn, want me to pastebin the file Sep 24 01:59:54 * g00s_ left his notepad home; has mental blocks conceptualizing UIs without it :*( Sep 24 02:00:25 , and yes, you have to hide system ui everytime it shows Sep 24 02:04:17 pfn, here is the error message, if you need me to I can go futher up in the file Sep 24 02:04:29 vendor/nvidia/grouper/keymaster/keymaster_grouper.cpp:39:29: fatal error: utils/UniquePtr.h: No such file or directory Sep 24 02:04:29 compilation terminated. Sep 24 02:04:29 make: *** [out/target/product/grouper/obj/SHARED_LIBRARIES/keystore.grouper_intermediates/keymaster_grouper.o] Error 1 Sep 24 02:04:29 make: *** Waiting for unfinished jobs.... Sep 24 02:04:30 target thumb C++: libandroid_servers <= frameworks/base/services/jni/com_android_server_input_InputWindowHandle.cpp Sep 24 02:04:33 frameworks/base/services/jni/com_android_server_BatteryService.cpp: In function 'int android::register_android_server_BatteryService(JNIEnv*)': Sep 24 02:04:36 frameworks/base/services/jni/com_android_server_BatteryService.cpp:317:19: warning: enumeration value 'ANDROID_POWER_SUPPLY_TYPE_UNKNOWN' not handled in switch [-Wswitch] Sep 24 02:04:41 make: *** wait: No child processes. Stop. Sep 24 02:04:43 ]0;[arm-full_grouper-userdebug] cpatrick08@cpatrick08-laptop: /home/cpatrick08/source/WORKING_DIRECTORYcpatrick08@cpatrick08-laptop:~/source/WORKING_DIRECTORY Sep 24 02:05:54 who said to paste here Sep 24 02:06:03 nobody Sep 24 02:06:38 learn some netiquette Sep 24 02:08:59 anyone use this for their wireframing? http://pencil.evolus.vn/ Sep 24 02:17:46 huh, fedora turns 10. i remember using the first release of it :| Sep 24 02:18:10 My second linux distro CD that I actually *used* was RH 6.1 iirc Sep 24 02:18:20 (first distro CD I ever had was RH 5.0) Sep 24 02:18:25 hello, i am stater in android programing, how i can begining? Sep 24 02:18:36 blackeyes: by following content at d.android.com Sep 24 02:19:38 p_l yeah, i started on slack and then went to some early red hat like 6, or 7 maybe Sep 24 02:19:46 great! that hide menu bar code works fine with 4.3 but force close crashes on gingerbread :( Sep 24 02:20:12 g00s_: I actually started with Mandrake 6.1 Sep 24 02:20:20 fedora 1 was terrible, i went to gentoo around then :) then ubuntu :) Sep 24 02:20:25 I truly started to get into Linux sometime around release of MPlayer 0.15 Sep 24 02:20:56 I started with slackware 0.8 or something in 1991 1992 ;) Sep 24 02:21:00 p_l: thank you Sep 24 02:21:16 shmooz :) i remember loading it from 1.44mb floppies Sep 24 02:21:26 14 floppies ? Sep 24 02:21:27 shmooz: if slackware then rather 1992, I think :) Sep 24 02:21:47 it was the first linux ever on CD with the Ydgrassil Linux Bible Sep 24 02:22:12 well, 1991 was around the time I got my first joystick because my father feared for his model M keyboard Sep 24 02:22:47 my first joystick was in 1983 with Atari 2600 Sep 24 02:22:49 didn't have hardware capable of running linux at all, anyway :) Sep 24 02:23:14 shmooz: well, I was born in 1989. I am still mistaken on the net for someone old enough to have worked with PDP-10 :> Sep 24 02:23:52 p_l: you know any good (forum,blog) to help me, like step by step ? Sep 24 02:24:14 blackeyes: There are now some guides on the official page, I don't have link handy Sep 24 02:25:00 ok Sep 24 02:25:05 http://developer.android.com/training/index.html Sep 24 02:25:07 ^ Sep 24 02:25:50 p_l: nice, thanx again :) Sep 24 02:26:57 youngin Sep 24 02:27:16 * pfn ponders going to the fitness room Sep 24 02:27:23 feeling so lazy though Sep 24 02:28:09 any big difference between apple and android programming? Sep 24 02:28:19 heh Sep 24 02:29:07 blackeyes: don't get g00s_ started Sep 24 02:29:21 blackeyes the only thing in common would be principles for designing a compelling mobile UX Sep 24 02:29:36 those would translate to either platform Sep 24 02:29:43 completely different on all accounts Sep 24 02:30:04 maybe some other principles are the same, like low-power computing, etc but yeah p_l is right Sep 24 02:30:15 even the UX should be almost entirely different Sep 24 02:30:32 * pfn hates iOS uxisms that are brought over to Android and vice versa Sep 24 02:30:41 well, do remember to redo UX on android if porting from iOS Sep 24 02:30:42 with a passion Sep 24 02:31:19 p_l, almost all design firms treat android as an afterthought there is no redoing Sep 24 02:31:41 ... design is a weird place Sep 24 02:31:48 it seems there isn't a single design firm that even understands that android is not ios Sep 24 02:31:51 saying as someone who dealt with a part of it Sep 24 02:32:00 pfn: they don't understand iOS either, usually :> Sep 24 02:32:09 more than android Sep 24 02:32:33 UX principles transcend platform. this book applies to any platform, http://www.amazon.com/Mobile-Frontier-Rachel-Hinman/dp/1933820551 Sep 24 02:32:50 this is also a great book i am on http://www.amazon.com/UX-Book-Guidelines-Ensuring-Experience/dp/0123852412 Sep 24 02:33:00 but its biiig Sep 24 02:33:08 like, heavy to hold big Sep 24 02:33:21 i don't suppose you guys would know of any tutorials show how to create android app without an ide, just using notepad or summin, i feel this is what i need to do, to fully understand how the apps come together and work Sep 24 02:33:30 showing* Sep 24 02:33:43 so... where are your platform transcending apps? :) Sep 24 02:34:11 providing continuity on multiscreen experience also goes across platforms, often Sep 24 02:34:14 tutorials? what tutorial do you need Sep 24 02:34:18 pfn: I think g00s is talking about the principles, not fitting with design language of particular platform Sep 24 02:34:27 it's trivial for android Sep 24 02:34:32 yeah, not talking about designlanguage, UI guidelines, etc Sep 24 02:34:48 android create project -... Sep 24 02:34:52 ant debug Sep 24 02:35:06 wow, app created and built without idea! Sep 24 02:35:10 ide Sep 24 02:35:16 there's your tutorial Sep 24 02:35:56 i mean if i learn programming android, this will help me later to programming apple ? Sep 24 02:36:03 no Sep 24 02:36:03 i am just finding it hard to understand what all the files are for and how the effect the app, the ide just makes it all look scary and confusing Sep 24 02:36:15 ok, this my qustion. Sep 24 02:36:28 Anton2k, follow steps above Sep 24 02:36:30 done Sep 24 02:36:35 2 steps Sep 24 02:36:45 blackeyes, no Sep 24 02:37:00 pfn: ok Sep 24 02:37:21 debug, as in run the app on my phone ot stepin to? Sep 24 02:37:27 or* Sep 24 02:38:04 Anton2k, as in running ant debug Sep 24 02:38:12 run it and see what it does Sep 24 02:38:30 oh ant Sep 24 02:38:37 i just thought u were miss spelling and Sep 24 02:38:43 right yea the little ant i know what u mean Sep 24 02:39:01 i am vb.net orgrammer :), and some in c# , this help me little? (for orogramming android) Sep 24 02:39:21 *p Sep 24 02:39:21 blackeyes heh, no. maybe try WP Sep 24 02:39:39 you can use c# there :) Sep 24 02:39:47 wp ? Sep 24 02:39:53 windows phone Sep 24 02:40:28 blackeyes: if you already know any programming, it shouldn't be too hard for you Sep 24 02:41:23 shmooz: this my qusition too. Sep 24 02:42:26 shmooz: your answer hopeful :0 Sep 24 02:42:30 :) Sep 24 02:42:42 is hopeful Sep 24 02:42:54 shmooz is the anti Nilium ! Sep 24 02:43:11 How do you figure that? Sep 24 02:43:13 one creates dreams, the other crushes Sep 24 02:43:14 if someone has to ask it will be overwhelmingly difficult Sep 24 02:43:19 Aside from me telling people to just quit their jobs. Sep 24 02:43:25 hehe Sep 24 02:43:27 because people with any expertise at all don't have to ask Sep 24 02:43:38 they can dive in, research, and do Sep 24 02:43:41 Which I do pretty regularly to people who tell me they can't figure out basic crap and have a job doing it Sep 24 02:45:10 ha :) Sep 24 02:45:32 TheBunny you're an iphonedev too, right ? Sep 24 02:45:48 meh, my copy of macross e33 messed up Sep 24 02:45:55 now I can't finish watching my episode :( Sep 24 02:46:36 g00s_: yup… and others Sep 24 02:47:49 Nilium: I hope they are not coworkers Sep 24 02:48:01 * TheBunny shudders Sep 24 02:48:04 No, no, I'm unemployed. Obviously. Sep 24 02:48:11 he told his boss :) Sep 24 02:48:27 Though if I had a coworker that incompetent I'd tell them to leave. Sep 24 02:49:06 You basically have to be stupid enough to have an account full of typical terrible Stack Overflow questions to get me to tell you to quit your job. Sep 24 02:49:08 yea, again it all looks messy, i really need to be able to understand what i am looking at, from what i remember with reagrds to programming (this is how i understand it, in c# any ways) you have classes which contain things such as, constructors, varables & methods/functions amoung other things. I was always taught from what i remember that if i have objects such as a car or dog i would Sep 24 02:49:09 create a class. I could then use that class and its methods to do things in another class for example i have a class called car that uses a method in another class called calculator to work out how much fule my car can take (just and example) does android work the same way? is it object orianted? why the hell am i finding it so hard - sorry about the spelling its 4am here just about Sep 24 02:49:36 The cat/dog/mammal/car OO examples are all terrible and I hate that people learn from them Sep 24 02:50:05 Anton2k: go to bed? Sep 24 02:50:05 Nillium: whats your example then? Sep 24 02:50:21 whan i research about my questions, not like when i ask the expertise, right ? Sep 24 02:50:35 I don't have one, but I know the car/dog/etc. ones are bad because they teach you to over-use inheritance. Sep 24 02:50:49 oh inheritance Sep 24 02:50:52 that was a bitch Sep 24 02:50:52 inheritance is bad? Sep 24 02:51:02 Abusing inheritance is bad. Sep 24 02:51:10 nah i just hard a hard time trying to understand it Sep 24 02:51:16 god damn polymorphisim Sep 24 02:51:46 if you have 20 child classes then yes Sep 24 02:54:01 i wonder if the whole UML / OO / Patterns thing has run its course Sep 24 02:54:20 No. None of those, except maybe UML, are useless/bad. Sep 24 02:54:35 I remember for my final year project i had to create a car hire system using classes and all kinds sorting, instantiation and man trying to remember it now after 2-3 years Sep 24 02:54:39 The problem is just that CS students learn them and use them religiously and then don't think about it. Sep 24 02:55:05 Which leads to abuse and the inability to critically think about a problem without dragging their over-used concepts into it. Sep 24 02:55:30 maybe cloning the best pot strains would be a good example for OO Sep 24 02:55:37 would get more attention ;) Sep 24 02:55:41 Possibly. Sep 24 02:55:45 so hire philosophy majors. problem solved Sep 24 02:56:51 UML can be good for documentation, especially the non-class parts Sep 24 02:58:26 uml thats the stick men right? a use case digram? Sep 24 02:58:47 It's a bunch of things. Sep 24 02:58:48 if i remember right we got shown them and activity diagrams, and swim lanes and all sorts vision shit Sep 24 02:58:51 visio* Sep 24 02:59:10 I used Violet when I had to do UML in the two CS classes I ever took. Sep 24 02:59:29 Visio was a nightmare. Sep 24 02:59:46 ii agree with that **** ENDING LOGGING AT Tue Sep 24 02:59:59 2013