**** BEGIN LOGGING AT Sun Nov 18 02:59:59 2012 Nov 18 03:02:39 salut guys, 1 question, were can i get the Lockscreen ring? Is this an Gapp Nov 18 03:02:42 ? Nov 18 03:52:46 Is there a way to just get a listing of all the classes in an APK? Nov 18 03:53:22 why Nov 18 03:53:45 To see if my pacakger script is working. Nov 18 03:54:05 unzip it Nov 18 03:54:22 yea - that Nov 18 03:54:26 or try apktool Nov 18 03:54:31 Yeah Nov 18 03:54:59 unzip and then dexdump |grep com/package/class/im/looking/for Nov 18 03:55:09 not there Nov 18 03:55:16 so my script is broken Nov 18 04:02:22 i am running JZO54K on i9000 and i think it has logcat disabled.. how do i enable it? Nov 18 04:04:33 Anybody know the fees for putting an app in the play store? Nov 18 04:04:54 turb1ne247: I believe its 20 or 25 to sign up as a developer, no fee per app Nov 18 04:05:42 Nice. Is there an app approval process? Nov 18 04:05:54 turb1ne247: nope Nov 18 04:07:22 Sweet. Im a noob. But i discovered an app that's not on the store that i think i can write. Im excited Nov 18 04:07:41 turb1ne247: good luck to you ir Nov 18 04:07:43 s/ir/sir/ Nov 18 04:08:22 Thanks :) Nov 18 05:07:43 for some reason removeAllViews() isn't clearing out the TextViews I have in a LinearLayout Nov 18 05:22:04 fireshaper, you're doing it wrong then Nov 18 05:22:12 hmm Nov 18 05:22:32 I add the textview as I read from a db Nov 18 05:22:59 but before that I remove all views Nov 18 05:23:21 if I click the textview it should update the db and then remove all views and read from the db again Nov 18 05:24:13 wat Nov 18 05:24:56 http://pastebin.com/DE0fufku Nov 18 05:24:59 fireshaper: if you have a variable amount of data, its advised to use some AdapterView, like ListView Nov 18 05:25:48 But shouldn't this act the same way? Nov 18 05:33:24 fireshaper, do what g00s said Nov 18 05:33:27 it's the proper approach :) Nov 18 05:34:05 meh Nov 18 05:34:44 but this is the easy approach :) Nov 18 05:35:02 glad its working for you ;) Nov 18 05:36:25 easy is a relative term Nov 18 05:37:09 is it going to be easy when you need to mak ea slight change in a week that's really difficult because of how you've done this? Nov 18 05:37:14 when using GL_OES_texture_float extension and loading a texture with GL_RGBA and GL_FLOAT, I'll get a texture of floats, not vec4s; right? Nov 18 05:37:22 or when someone else needs to use your code, and can't figure it out because you've done something complicated Nov 18 06:09:38 I'm having trouble understanding how to get the android system image and platform on my 64 bit linux machine. I've been on google and developer.android for a while now but not seeing any clear how-to info on my next steps. Can anyone help? Nov 18 06:10:25 ClientAlive: you install Eclipse (which is a pain in the butt in itself )... Nov 18 06:10:40 then you install a "plugin" by pasting a URL into some form in Eclipse Nov 18 06:10:46 then it downloads the Android SDK manager Nov 18 06:10:54 then you run that and tick the boxes for stuff you want. Nov 18 06:11:07 I did this on Debian 32-bit and it was ... well it was a pain in the ass, but I eventually got it. Nov 18 06:12:15 offby1: That makes sense. I have/had eclipse (with the stuff for java dev and c/c++ dev) and I just got the android sdk from developer.android.com and unpacked it on my system. The next step is to instlall the eclipse plugin and proceed from there as you say? Nov 18 06:12:36 here http://developer.android.com/sdk/installing/index.html Nov 18 06:12:38 mines ubuntu so I expect something to blow up Nov 18 06:13:01 ClientAlive: it should work fine on Ubuntu. Nov 18 06:13:02 ClientAlive, on ^ url, there's "troubleshooting ubuntu" Nov 18 06:13:34 ClientAlive: if I recall correctly, things fail cryptically unless you have the right flavor of Java; I don't know if the default Java on Ubuntu is right or not (it sure wasn't on Debian) Nov 18 06:14:14 It took me many hours and much frustration, but I did get it, eventually. Nov 18 06:14:34 that's the page i'm on. they say ", then select additional Android SDK packages to install (such as the Android platform and system image)." and in another place that you should have those things before installing the eclipse plugin (I think). so there is instruction to install the android sdk but it ends there (nothing on the "platform" and "system image") Nov 18 06:15:10 I have oracle's version 7 (7,2 I think it is) Nov 18 06:18:42 That's probably the right one Nov 18 06:19:16 I found it: it's on this page they tell you to have all those android things before installing the eclipse plugin: http://developer.android.com/sdk/installing/installing-adt.html Nov 18 06:19:34 I thought it was but I think I misread something - I'mna give it a shot Nov 18 06:20:54 the URL sounds right Nov 18 06:25:20 I blew it. I got anxious and didn't read down far enough - DOH! Nov 18 06:25:22 thx man Nov 18 06:28:50 can you install more than one api? If so, how far back from the most recent should I go in order to target the phones people are using now? And, if you can install more than one, do you have to configure something to know which one to use? Nov 18 06:29:11 yes, you can install multiple APIs; but I suspect it's fine to just use the default Nov 18 06:29:27 I don't understand the details, but you can target old phones even with a new API. Nov 18 06:29:36 ok Nov 18 06:29:42 which makes me wonder why anyone would install any API other than the latest. Nov 18 06:30:30 just that I remember watchine a conference on youtube (the android developers were talkking) and they mentioned that using the most recent one (is it dalvik?) would not target very many android users. Nov 18 06:30:58 cause the phones most people have are older and run an older version Nov 18 06:31:20 like 90% ppl or something Nov 18 06:31:55 ClientAlive, http://developer.android.com/about/dashboards/index.html Nov 18 06:32:20 as you can see, majority uses api 10+ Nov 18 06:32:38 well, 8+ Nov 18 06:32:48 ok Nov 18 06:33:10 well the android sdk manager list up to 17 Nov 18 06:34:26 so what happens when you want to develop with one over the other? Does eclipse just list them when you go to create a new project? Nov 18 06:34:57 one over the other? Nov 18 06:35:46 ClientAlive: I think you're right; I seem to recall being asked what API version my project needs to support Nov 18 06:36:56 well I'm not very familiar with doing this. I'm just getting set up so I can start learning. I assume you have to choose a specific api to do your project under each time you do a project. Nov 18 06:37:21 yes Nov 18 06:37:32 ClientAlive, if you want to support lower API after some time Nov 18 06:37:38 you just downgrade api level Nov 18 06:37:51 and eclipse will report everything that's not supported by lower api Nov 18 06:38:23 Is there a way to tell if a device is using a non-stock launcher? Nov 18 06:39:02 ClientAlive, project.properties Nov 18 06:39:06 target=android-10 etc Nov 18 06:39:10 ok Nov 18 06:39:28 I'm sure I'll get to learn about it in detail in the ensuing days :) Nov 18 06:41:43 i was that eager, 3 weeks ago. now, i'm slowly procrastinating my way into android Nov 18 06:42:11 procrastinating ftw! Nov 18 06:42:49 heh Nov 18 06:53:44 anybody want to sell me their nexus 4 at a discount price? Nov 18 06:56:02 what is this thing talking about? After using the android sdk manager to install stuff I get a window asking me for login information. I don't have an account for that I don't think Nov 18 07:27:12 Is it possible to concat resource pointers? ie res-v12-large? Nov 18 07:27:31 res/*-v11-large / small / etc? Nov 18 07:29:37 nm Nov 18 07:31:41 yes lasserix, but it has to be in a certain order Nov 18 07:34:26 came across urlimageviewhelper, any feedback about it Nov 18 07:34:34 seems a great thing to me Nov 18 07:35:08 from the title and functionality but would love to hear your feedback if anyone has used it Nov 18 07:35:08 canadiancow-Oh could you point out how to do res/values-v11-large or something? Nov 18 07:35:25 are you using eclipse with adt? Nov 18 07:35:30 i am Nov 18 07:35:31 it has a wizard for creating resource direcotries Nov 18 07:35:36 ahh ok thanks Nov 18 07:36:01 if you do "new android xml file" Nov 18 07:36:09 once you get past the file name, it lets youc hoose your resource qualifiers Nov 18 07:36:18 cool thanks Nov 18 07:36:29 i believe you want values-large-v11, but in cases i'm unfamiliar with, the wizard works ;) Nov 18 07:36:51 or http://developer.android.com/guide/topics/resources/providing-resources.html#table2 Nov 18 07:36:57 they have to be in the order listed in that table Nov 18 08:19:55 Hi, Why when trying to buildf the android emulator on mac osX after doing source build/envsetup.sh then lunch full-eng I get errors about bash not being able to change to the /volumes/android directory when the directory exists as I am in it and sudo does not fix the issues? Nov 18 08:21:29 hi all Nov 18 08:21:39 hello Nov 18 08:21:42 why i failed to push to sdcard, the error msg is failed to copy to sdcard:read-only file system Nov 18 08:21:56 are you using permission write external storage? Nov 18 08:22:09 this dir should not be readonly Nov 18 08:22:21 lasserix: i am using adb push command Nov 18 08:23:21 No idea sorry Nov 18 08:25:22 Is this the proper channel for talking about building the android source? Nov 18 08:26:29 bigmeow: are you pushing to a real device or the emulator? Nov 18 08:30:02 timroes: to a real device Nov 18 08:30:14 okay then no idea either :/ Nov 18 08:30:29 timroes: after rebooting it, i can push the file now, android is weird:( Nov 18 08:30:49 always try turning it off and on again :) Nov 18 08:31:57 greets Nov 18 08:32:40 I am mainly trying to test out the compilation time not planning on running the emulator as I read it is not really usable after compiled on lion or mountain lion is this true? Nov 18 08:55:33 So this is a general question, if I have instantiate a non-static object (named mObject), by calling a static method from that object's class which returns a non-static instance of that object, there is nothing static about the object mObject? Nov 18 08:56:09 * the class itself is also non static Nov 18 08:56:22 lasserix: static is never linked to any object, but only to the class itself Nov 18 08:56:50 you can ofc call any static method on your object like mObject.myStaticMethod(), what is bad java coding style, because you should do MyClass.myStaticMethod() instead Nov 18 08:57:37 because with the first way, it looks like the method has anything to do with the object, but infact it only has somethign to do with the class Nov 18 08:58:04 Right, I was just wondering cause I believe in the past when I had less than a clue what I was doing I caused many a leak. So I was just curious, I think I am understanding the concepts now. Anyways I was just trying to get an instance based on a switch and wanted to make sure I was not creating static references that might be leaked. Nov 18 08:58:41 you can make some easy misstakes, in using static class variables where you should use fields Nov 18 08:58:50 yeah tell me about ;p Nov 18 08:59:12 so you have something related to a object, accidentlly declared static, and ofc you can call this from inside the object and change it, but its the same variable for every object of that type, and baaam you're doomed Nov 18 09:00:09 Right in previous classes they usually exampled this with a static count ++'d every time the constructor was called Nov 18 09:00:11 thanks Nov 18 09:00:51 btw I can highly recommend Joshua Bloch's Effective Java book, for explanation on how to make java the really right way, had a lot of information inside, I haven't known before, like how to make a class the best non subclasseable, and stuff like that Nov 18 09:03:03 thanks Nov 18 09:06:54 effective java was good Nov 18 09:07:14 that + jcip are pretty much the canonical java books Nov 18 09:38:59 Having some issues getting my Galaxy Nexus recognized while in fastboot mode in Windows 8. "Verizon_Wireless_I515_Galaxy_Nexus_USB_Driver_v1.4.6.0.exe" simply fails to start properly? Any hints? Nov 18 09:58:14 hi. which is the most recommended java library compatible with android for plotting graphs and polynomials Nov 18 09:58:16 ?? Nov 18 09:59:16 hp: http://wptrafficanalyzer.in/blog/category/android/page/2/ Nov 18 09:59:31 have not tried but found, might be helpful for graphs Nov 18 09:59:43 ok Nov 18 10:00:14 lasserix, cos i am aiming at drawing graphs for engineering problems Nov 18 10:09:56 supporting opengl es 1.x device is not a good idea. amirite? Nov 18 10:10:01 devices Nov 18 10:10:07 Hi everybody. I'm working on a personal application. I'm running two thread to get data from a API. And I would like to go to another view when the two threads are over. The fact is i've no ideas how can I wait for those two thread ... Nov 18 10:10:52 hp you might see if there is a opengl graph drawer, depending on what you want out of it (i kno those engineering equations can be complicated) Nov 18 10:11:25 sculptor 90% supports 2.0 Nov 18 10:11:28 http://developer.android.com/about/dashboards/index.html Nov 18 10:11:36 api 8+ Nov 18 10:12:51 scroll down the buttom Nov 18 10:13:45 good news Nov 18 10:16:29 hi andro dev :) Nov 18 10:17:02 guigui22: use callback Nov 18 10:17:17 callback ? Nov 18 10:17:57 guigui22: yes I wrote an article about asynctask and callback on my blog if you wabnt to get a look on it Nov 18 10:18:25 yes sure what's the url? Nov 18 10:19:04 hi Nov 18 10:19:26 Is the ssh client I can run from adb shell? Nov 18 10:20:20 wait guigui Nov 18 10:20:28 my mouse is down :s Nov 18 10:27:59 guigui22: http://blog.evoxmusic.fr < second article Nov 18 10:28:07 ok thanks Nov 18 10:33:22 Hi! I'm using https://github.com/mosabua/maven-android-sdk-deployer and actionbarsherlock. So I get an error from dex that class already added. How to solve it? Nov 18 10:33:55 maybe duplicated android compatibility libraries Nov 18 10:34:09 or a 2nd erfernce to the actionbarsherlock Nov 18 10:37:20 yes, it is, because my pom depends on artifact android.support/compatibility-4 from maven-android-sdk-deployer (to use latest sdk) and actionbarsherlock depends on same lib with different artifact id. so question is there any way to say maven ignore actionbarsherlock dependency and use what i want without changing the actionbarsherlock pons? Nov 18 10:45:48 guigui22 is what you are looking for ? Nov 18 11:11:47 Hi everyone! Does anyone has a godd knowledge about the OBB Expansion Files, allowing to have more than 50Mo / app ? Nov 18 11:13:31 Tr4X: just ask your question, anyone knowing the answer, will then answer you Nov 18 11:14:37 Is there a way to create that kind of OBB file for testing purpose, without uploading my folder on the google play? Nov 18 11:16:10 the doc gives information about downloading it, testing it, but nothing about creating it by ourselves Nov 18 11:17:01 Tr4X: maybe that helps you http://stackoverflow.com/questions/11715855/steps-to-create-apk-expansion-file Nov 18 11:19:01 yeah I've seen that one, but it suppose you already have your app on the market, and so if you want to get that obb file, the app must be available, it's not the case since my app is currently work in progress Nov 18 11:26:56 Okay, I've got a doozie. About to release my app tonight... Testing on various emulators.. Somehow my list items are showing up as 3-button dialogs with a close button on the left side... Nov 18 11:27:10 But only in emulators. On my phone it works fine.. Nov 18 11:27:26 The scary part is this version is targetting android8, and I don't have an android 8 phone. Nov 18 11:27:35 api* Nov 18 11:32:45 And what's the error? Nov 18 11:32:52 No error. Nov 18 11:33:03 Just.. my list items are dialog boxes with pressable buttons that do nothing. Nov 18 11:33:12 ANd the list items don't function as list items anymore. Nov 18 11:33:12 lol. Nov 18 11:33:30 If it 'sounds' confusing, I assure you it looks much more so. Nov 18 11:35:00 SimonVT: It just seems like a horrendous idea to go ahead with signing + release if the emulator is giving me such strange results. Nov 18 11:35:07 I have a hard time imagining what the issue is Nov 18 11:35:55 I could screenshot it if you'd like. Nov 18 11:36:08 With a capture of the log. Nov 18 11:37:13 Starting up emulator. BRB 4hrs Nov 18 11:37:33 You know, I tried the whole x86 android on a VBox, it didn't help at all lol. Nov 18 11:38:20 aoclown: ive found that the 2.2 arm image boots a lot faster in the emulator Nov 18 11:38:44 clever: I'm using 2.2 API 8 Arm image. :D Nov 18 11:38:56 and while it lacks google play store (and GCM apis) you can also try booting http://www.android-x86.org/ on a real machine Nov 18 11:38:58 I think this laptop sucks. Nov 18 11:39:08 ive ran it on my laptop before, pure android, no vm, no other os Nov 18 11:39:14 Oh nice. Nov 18 11:39:27 I don't have any hardware that I own here, so I can't try it. But it sounds good. Nov 18 11:39:52 its also possible to just dual boot, but it would be a pain to reboot every time you need to test Nov 18 11:41:19 True. Nov 18 11:41:26 Okay, prepare to be stunned. Nov 18 11:41:54 https://www.dropbox.com/s/4gw37pwetcwo119/device-2012-11-18-204035.png Nov 18 11:41:56 i think the android-x86 branch provides an iso file, but i just tore it open, and forced it to be a 2nd option on my usb stick Nov 18 11:42:09 https://www.dropbox.com/s/03mzkptk62940xa/whatthe.png Nov 18 11:42:12 so i had a usb stick with dual boot gentoo/android Nov 18 11:42:17 Oh, Gentoo user? Nov 18 11:42:26 yep Nov 18 11:42:28 I fancy your style sir. Nov 18 11:42:53 no clue why your getting differennt interfaces Nov 18 11:43:04 but at a glance, it feels like the 2nd is an error message telling you whats wrong Nov 18 11:43:08 with white on white text Nov 18 11:44:25 Oh? Nov 18 11:44:26 Hm. Nov 18 11:44:29 Could be I suppose. Nov 18 11:44:33 I could change my theme and see what happens. Nov 18 11:45:26 What list item layout are you using Nov 18 11:46:55 android.R.layout.simple_list_item_activated_1 Nov 18 11:47:08 Hm. I wonder if that exists in API level 8? Nov 18 11:47:13 I'm targetting 11. Nov 18 11:47:16 It doesn't Nov 18 11:47:19 WELL THEN Nov 18 11:47:23 That'd be why. Nov 18 11:47:30 Oh that's horrible news. Nov 18 11:47:50 I guess I have to pull the layout from api level 11 into my project :( Nov 18 11:48:14 And you should target >=14 Nov 18 11:48:22 Oh. Nov 18 11:48:32 That does make more sense doesn't it? Nov 18 11:48:41 I don't know why I targetted lower to be honest. Nov 18 11:48:53 I thought it made sense at the time because I have two versions supporting different api levels. Nov 18 11:49:13 Now that doesn't make any sense Nov 18 11:49:36 Hey, it's my first app. :( Nov 18 11:50:14 Is there any activated list style in api level 8? Nov 18 11:50:26 Seems like you may know the answer to this seeing as you knew it didn't exist. Nov 18 11:50:48 setActivated didn't exist in api8, so no Nov 18 11:51:06 Oh. Nov 18 11:51:06 My god. Nov 18 11:51:14 That's so intense. Nov 18 11:51:26 How is this even running without just blowing up and dying?!? Nov 18 11:51:46 Well, simplifies the code on the API v8 version. Nov 18 11:52:49 You know why I made two versions? Because Action Bar Sherlock doesn't support search hints. Nov 18 11:53:00 And that's how my origial version did search. You just pick suggestions. Nov 18 11:53:05 You don't get a new activity. Nov 18 11:53:12 So it completely ruined everything having to suuport 8. Nov 18 11:53:14 I hate 8 so much :( Nov 18 11:55:11 Pretty sure suggestions for the searchview was merged yesterday Nov 18 11:55:44 O_O Nov 18 11:55:55 You've gotta be kidding me. Nov 18 11:56:11 Besides Nov 18 11:56:43 can someone tell me what the need for the Android Support Library that's put inside eclipse project? Nov 18 11:56:51 You could've used the ABS version on old platforms, and the native searchview when available Nov 18 11:57:07 superlinux-hp: It's so you can use new cool stuff from later api versions in old crappy versions of android. Nov 18 11:57:23 ah ok Nov 18 11:57:30 that's good Nov 18 11:57:59 SimonVT: That's true. But this way one of the versions has no huge extra pile of library that's completely unnecessary. Nov 18 11:58:26 Instead you have to fix bugs twice :p Nov 18 11:58:51 No way. Nov 18 11:58:56 Git's too good for that ;) Nov 18 11:59:06 fix bug, merge. Nov 18 11:59:36 I've got them all in seperate branches. And despite having radically different code, things as complex as a complete fragment management rewrite were a breeze to merge through. Nov 18 11:59:56 Also.. Nov 18 11:59:57 4 times. Nov 18 12:00:06 2 versions, 2 free, 2 ad supported Nov 18 12:00:07 lol. Nov 18 12:00:13 * aoclown stabs self Nov 18 12:00:35 Oh btw, the app title in Google play is taken right from the manifest?? Nov 18 12:00:48 Or do you create it yourself? Because I have to update some string files if that's the case. Nov 18 12:01:35 You create it yourself Nov 18 12:01:40 Ok nice. Nov 18 12:02:00 A bit weird they wouldn't parse the manifest in some way for that... Nov 18 12:02:07 Seeing as that could take care of localization. Nov 18 12:02:14 How do you localize the app name? Nov 18 12:02:19 You might not want to name it the same on market as on the homescreen Nov 18 12:02:20 If you don't have your xml files etc. Nov 18 12:02:36 Yeah, I want to name one: Blah (Ad Supported), Blah Nov 18 12:02:40 Like that. Nov 18 12:02:44 That sentence came out weird. Nov 18 12:02:44 You just add languages on the dev page Nov 18 12:02:47 Ah cool. Nov 18 12:02:47 :D Nov 18 12:03:16 Well I'm going to tear out all the code from the v8 and v8ads version for highlighting lists, and be on my merry way. Nov 18 12:03:19 SimonVT: put different string.xml files in different values folder, like "values-fr" "values-en", etc Nov 18 12:03:29 hi all Nov 18 12:03:39 sorry it was for aoclown ^^ Nov 18 12:03:41 Tr4X: I asked the question, and it was specific to naming on Google Play. Nov 18 12:03:43 :D Nov 18 12:03:44 where did android store all the contacts? Nov 18 12:03:54 it that in a sqlite file? Nov 18 12:03:56 bigmeow: There's a ContentProvider you can access with it. Nov 18 12:03:59 I do believe. Nov 18 12:04:25 API samples has some stuff that touches that I think. Nov 18 12:52:43 OH MAN Nov 18 12:52:47 Exciting. About to upload things to play store. Nov 18 12:52:52 As soon as I sign etc. Nov 18 12:52:54 :D Nov 18 13:17:27 is there any possibility to send a local notification which can be observed by any fragment/activity which registers itself to it like in iOS? Nov 18 13:18:27 onigunn: you can send a broadcast, and listen to that Nov 18 13:18:38 just a custom broadcast Nov 18 13:18:58 timroes: thanks for this! i'll check the docs out Nov 18 13:20:32 onigunn: http://www.vogella.com/articles/AndroidBroadcastReceiver/article.html a good example Nov 18 13:21:26 timroes: cheers Nov 18 13:22:55 you're welcome Nov 18 13:43:37 How can I tell my VideoView to load an InputStream? Nov 18 13:50:23 fakingfantastic: looks like you can't. see the links on this thread though http://stackoverflow.com/questions/4096273/what-are-the-difference-between-mediaplayer-and-videoview-for-android Nov 18 13:50:34 i believe you're going to need to access a MediaPlayer directly Nov 18 13:51:40 tdignan: yeah thanks man. I think I'm gonna abandon the stream idea. Im trying to work with expansion files, bit of a learning curve for this newb Nov 18 13:52:03 yeah, using a stream of your own creation seems very inconvenient. Nov 18 14:06:01 can anyone tell me how to get ubuntu to see my phone in adb? Nov 18 14:07:11 connected through USB? USB debugging turned on? ADB DEVICES says anything? Nov 18 14:07:36 normally it says nothing ... I followed a how to on line and I now have it saying ???????????? no permisions Nov 18 14:08:01 donavan01 it's not nice to ask the same question in different channels at the same time... Nov 18 14:08:41 plus it's the most boring problem every. Android phones are ancient in computing terms, and ubuntu still fails to set them to work out of the box? It's disheartening. Nov 18 14:09:32 we the problem is this a new phone without offical drivers for this Nov 18 14:09:37 tdignan: I'm publishing my app! Nov 18 14:09:40 It's exciting! Nov 18 14:10:08 You don't need drivers, you just need to add the udev rules Nov 18 14:10:58 I think I learned a lot doing this project. Nov 18 14:11:11 aoclown: awesome Nov 18 14:11:36 I should have counted the amount of hiccups I encountered. Nov 18 14:11:42 send a link when it is downloadable Nov 18 14:11:46 Deal. Nov 18 14:11:54 It probably won't excite anyone. But I certainly will. Nov 18 14:13:07 Even with action bar sherlock and admobsdk, I'm under 1mb for my app. Nov 18 14:13:20 That means there's both nothing in there, and I'm awesome. Nov 18 14:13:24 :D Nov 18 14:14:19 simonvt ... I think thats what the how to was trying to get me to do but its written for older version of linux and it doesnt seem to work any advice? Nov 18 14:20:01 Published!!! Nov 18 14:20:03 http://developer.android.com/tools/device.html Nov 18 14:20:05 fyi Nov 18 14:22:10 Oh man. Nov 18 14:22:15 I can't even find my own app on Google Play. Nov 18 14:22:20 How the hell will anyone else? lol. Nov 18 14:22:29 what title did you use Nov 18 14:22:35 Grammar Books Nov 18 14:22:41 its best to load your title with keywords Nov 18 14:22:45 what does your app specifically do Nov 18 14:22:51 Exactly that. Nov 18 14:23:07 does it have anything to do with a specific grammar? Nov 18 14:23:12 No. Nov 18 14:23:15 That's the key. Nov 18 14:23:16 what language? Nov 18 14:23:19 any? Nov 18 14:23:20 You can use it for any language. Nov 18 14:23:23 And any book Nov 18 14:23:27 Granted there's no translations. Nov 18 14:23:55 do "Grammar Books for Language Learning and Practice" Nov 18 14:23:59 or something Nov 18 14:24:02 But Nov 18 14:24:05 They said max 30 chars. Nov 18 14:24:07 On Play store Nov 18 14:24:58 that poses an issue Nov 18 14:25:12 so, it helps you memorize grammar? Nov 18 14:25:18 It's a portable reference Nov 18 14:25:21 For your grammar books Nov 18 14:25:37 if I were the person downloading this, what words would you associate with me Nov 18 14:26:11 grammar, books, reference, portable, language Nov 18 14:26:12 :D Nov 18 14:26:25 aoclown: does it actually include any content? Nov 18 14:26:30 would I be a linguist, a language student, or? Nov 18 14:27:19 a good name is both unique and loaded with a couple keywords Nov 18 14:27:36 that way people looking for it will find it, and also people looking for something like it will find it Nov 18 14:27:37 Language student. Nov 18 14:27:49 Leeds: No, it contains no content, and it warns you about that in the description. Nov 18 14:28:05 where do I get the content from? Nov 18 14:28:12 Well, Nov 18 14:28:16 There's export and import features. Nov 18 14:28:18 adding content would probably make it a lucrative app Nov 18 14:28:21 So you can send zip files to people. Nov 18 14:28:24 like, you could charge with in-app billing Nov 18 14:28:29 where do I get the content from... to import? Nov 18 14:28:30 I kind of wanted to have a community around it Nov 18 14:28:43 presumably it's more structured that just an ebook reader? Nov 18 14:28:46 Leeds: Currently, no one has made any content for this app, including me. Nov 18 14:29:15 The point is to convert a grammar textbook into a portable reference. Nov 18 14:29:23 feel free to provide a link the maybe we can suggest better names Nov 18 14:29:26 Because I'm often wondering how to conjugate a certain verb Nov 18 14:29:27 Or something. Nov 18 14:29:28 Sure. Nov 18 14:30:46 I don't know how to get the link lmao. Nov 18 14:30:54 I guess I could just type it in based on another person's thing. Nov 18 14:31:24 Yeah. Nov 18 14:31:24 yeah, that's the way to do it Nov 18 14:31:40 I think the upload has not permeated throughout their infrastructure yet. Nov 18 14:31:43 for the record: http://developer.android.com/distribute/googleplay/promote/linking.html Nov 18 14:31:46 I got a 404. Nov 18 14:32:01 it will be a while Nov 18 14:32:36 :( Nov 18 14:32:37 Sadface. Nov 18 14:47:13 woo-hoo! got my G3 loading jellybean :P Nov 18 14:48:34 I add an imageview to a scrolllView via code. But when rotating the device, the imageview clears out. How to handle such a situation? I tried android:configChanges="orientation" Nov 18 14:48:55 It does not work Nov 18 14:57:24 If you want to provide an activity to view/edit a particular type of data from a content type, what's the best way to pass the ID or a reference to that row? Nov 18 14:57:58 an intent filter for the content uri? Nov 18 15:02:01 napster: you shouldn't do that anyway, it's like putting a band aid on a broken bone Nov 18 15:02:49 see here http://developer.android.com/guide/topics/resources/runtime-changes.html Nov 18 15:03:47 where's the image coming from for this imageview? Nov 18 15:04:01 I have my own fork of ignition's remoteimageview that I use for remote images. Nov 18 15:06:21 tdignan: let me check. the image comes from the internet Nov 18 15:06:36 well, you need caching. Nov 18 15:06:53 tdignan: i do already Nov 18 15:07:05 so then on an orientation change, read the image back from the cache. Nov 18 15:07:32 tdignan: which hook is triggered on orientation change? Nov 18 15:07:51 the activity lifecycle repeats itself Nov 18 15:07:56 restarts in onCreate again Nov 18 15:07:58 i see Nov 18 15:08:39 i have this detail abstracted away, because I use remoteimageview Nov 18 15:09:04 ok, can I take a look at it? Nov 18 15:09:10 sure, I'll publish my fork Nov 18 15:09:24 thank you Nov 18 15:09:28 it's the same as ignition except does not have their whole lib, builds without maven, and handles OOM Nov 18 15:09:37 gimme 10-15 Nov 18 15:09:45 ok Nov 18 15:16:27 hello! Nov 18 15:16:28 I had to do a system restore on my windows machine, now I am gettings for all of my projects in eclipse: Project has no project.properties file! Edit the project properties to set one. Nov 18 15:16:52 try Clean and rebuild. Nov 18 15:17:56 Nope :? Nov 18 15:18:00 question: I have a large sqlite DB (~8mb, 2 tables with ~40k entries in each) and when I want to retrieve some specific entry it behaves very slowly Nov 18 15:18:17 takes a second or two to retrieve the entry Nov 18 15:18:22 how are you retreiving the entry? Nov 18 15:18:28 are you using indexing? Nov 18 15:19:10 no, I'm doing "SELECT word FROM table WHERE word = %s" Nov 18 15:19:35 the DB is properly formatted with _id column Nov 18 15:19:53 what do you mean by indexing? Nov 18 15:20:23 http://www.sqlite.org/optoverview.html Nov 18 15:20:29 :( Nov 18 15:20:33 My app is still not alive. Nov 18 15:21:04 It adds a sort to your table based on a column, so it can do binary search Nov 18 15:23:17 Kulver: also if your app is doing other stuff while quering the database, you might want to offload the query into an async task or other worker thread Nov 18 15:23:38 yeah I have that in an asynctask Nov 18 15:23:42 still slow Nov 18 15:24:06 but with a small DB, with about 1k records, it very fast Nov 18 15:24:10 yeah Nov 18 15:24:12 try the indexing Nov 18 15:24:54 OMG Nov 18 15:24:57 It's alliiiivvvee! Nov 18 15:24:59 :D Nov 18 15:27:25 another question: I have a progress dialog to show while the DB is loading in an asynctask and it was fine until I added ads to the app. To add ads I had to change target in project.properties to 15 (android 4) but I can control which versions the app can be used on with minSdkVersion in manifest. So, thing is that now everything loads but the progressdialog does not appear Nov 18 15:27:33 very strange thing... Nov 18 15:32:47 Kulver: are you using raw sqlite statement queries? Nov 18 15:32:57 yes Nov 18 15:34:18 Are you using like or where? Nov 18 15:34:49 anyways I am not expert, you might try #sqlite they have smart, helpful folks in there for database questions Nov 18 15:35:20 I'm using both Nov 18 15:35:24 and thanks, I'll try that. Nov 18 15:35:37 the like statement does a full table scan, which is probably why it takes so long Nov 18 15:36:14 yeah, I only use LIKE to search for the pattern while a user is enterring the word Nov 18 15:41:52 anyone here know how to decompile / modify / recompile a single XML from a target APK? Nov 18 15:44:28 that's simple Nov 18 15:45:09 try apktool, that will decompile XML's into readable format and .class files into weird ASM code Nov 18 15:45:35 dex2jar will convert the APK into a JAR file which you can browse to see the plain java code with jdgui Nov 18 15:45:37 ok - i have apktool but havent used it a lot Nov 18 15:46:08 i just want to change a value in an XML file and put it back Nov 18 15:46:38 oh you cannot simply change a value in the compiled code and put it back... Nov 18 15:46:40 I need to make a label frame containing some radio buttons. it's like a grouping of items with some text on the top-center of the frame. how can i achieve that? i want to tell the user what are those labels for Nov 18 15:46:45 you need to have an existing project, capella Nov 18 15:46:47 i hacked a change to a bug in Sprint G3 with cell phone power consumption display ... now jellybean wont upgrade Nov 18 15:47:08 I need to make a label frame containing some radio buttons. it's like a grouping of items with some text on the top-center of the frame. how can i achieve that? i want to tell the user what the group radio buttons are for for Nov 18 15:47:18 no need to spam, mmk? Nov 18 15:47:32 well .... originally i just swapped out a singel XML file Nov 18 15:48:05 (but didnt keep the original) the change is easy ... putting it back is where im stuck Nov 18 15:48:12 capella, I suppose it would work by swapping the XML's if you can compile the changed XML into android's XML bytecode Nov 18 15:48:19 and I am not sure how to do that Nov 18 15:48:31 yep ... thats where i am Nov 18 15:49:11 unless .... i put it into a different >scratch< project ... build it ... then copy it out ? that might work Nov 18 15:50:18 hi Nov 18 15:50:59 capella, try it :P Nov 18 15:51:13 heh - already hacking .... crosses fingers ! Nov 18 16:18:37 ok ... file hacked ... replaced ... rebooting and about to try JB upgrade Nov 18 16:22:01 off goes the update ... waiting ... Nov 18 16:23:30 So - expedia app has a cool parallax map - anyone have any idea how to pull off that effect? Nov 18 16:43:10 bah - somethings still not right ... no JB Nov 18 16:43:18 i don't get SQL injection with content providers Nov 18 16:43:30 if you export your content provider, what does it matter if they can query anything Nov 18 16:43:33 Anyone know where I can download java 1.6? Nov 18 16:43:41 you obviously want them to query your data Nov 18 16:45:39 lasserix, what do you want to download? the JDK or just JRE, or the specification? Nov 18 16:47:27 jdk: i had ABS working the other day but i had to install 1.6 enviroment to get it to function properly, but i had to a restore windows which has corrupted all my workspaces (no projects.properties found) Nov 18 16:48:01 i think i found a valid link though , thanks Nov 18 16:48:32 http://www.oracle.com/technetwork/java/javase/downloads/index.html this is the most common link :) Nov 18 16:48:41 but I guess its also the one you will have Nov 18 16:49:15 ha ha i did but it was asking to register to download Nov 18 16:49:36 o.O doesnt ask for me :) Nov 18 16:50:31 historypeats, what don't you get Nov 18 16:51:41 looks like its complaining of the sha1 checksum ... Nov 18 16:52:59 meefs: where's the threat here Nov 18 16:53:17 meefs: if you export your content provider, this means you're intentionally sharing your data Nov 18 16:53:33 so if they can do sql injection they normally want your data Nov 18 16:53:50 i mean… I can see them destroying data Nov 18 16:54:40 well sqli is a problem because it usually leads to further insecurities Nov 18 16:54:55 like? Nov 18 16:55:15 i can only see it as a threat retrieving data, modifying data, destroying data Nov 18 16:55:18 sometimes passwd's will be stored cleartxt, userdata may be available Nov 18 16:55:30 okay Nov 18 16:55:30 arbitrary data can be loaded/executed Nov 18 16:55:36 standby Nov 18 16:55:40 hmm, maybe i just have a misunderstanding on content providers Nov 18 16:55:43 its a serious issue Nov 18 16:55:44 yes Nov 18 16:55:51 with content providers, do you only share specific data? Nov 18 16:55:55 * meefs has a playlist for that Nov 18 16:56:06 e.g. not the entire DB Nov 18 16:56:06 well I dont know honestly, I haven't dealt with them firsthand Nov 18 16:56:08 but maybe a few tables Nov 18 16:56:23 usually people use CDN's to relieve network load though Nov 18 16:56:30 not to mirror their ops Nov 18 16:56:46 historypeats: in your defining the content provider, you define what queries are executed Nov 18 16:57:08 lasserix: Ah, okay. makes much more sense then. I thought you just shared your DB and the end user can query w/e Nov 18 16:57:12 so if the query set you define in your content provider onQuery method is limited to x and x tables, sure it'll only include those Nov 18 16:57:18 historypeats, watch this when you have a moment: http://www.youtube.com/watch?v=pypTYPaU7mM Nov 18 16:57:31 so a content provider is basically just public GETTERS/SETTERS, perse (if that's what you choose) Nov 18 16:57:36 will do meefs Nov 18 16:57:41 and if you're curious about opsec, I have a number of youtubes linked on http://bit.ly/haxxinate Nov 18 16:57:47 thanks! Nov 18 17:01:14 historypetes you can think of it that way, but tailored for a database Nov 18 17:02:25 i've been watching the android bootcamp 2012 by MarkanaTechTV and its been great so far Nov 18 17:03:54 links? Nov 18 17:04:25 http://www.youtube.com/user/MarakanaTechTV Nov 18 17:04:27 i do appsec Nov 18 17:04:33 for work Nov 18 17:04:38 and branching into android sec Nov 18 17:04:43 so i'm trying to view threats and what not Nov 18 17:04:53 this has been a god resource learning android thus far Nov 18 17:04:58 besides android homepage Nov 18 17:05:00 good* Nov 18 17:05:21 and it's fun doing somethng new in security besides my typical webapp/network pentests Nov 18 17:06:38 you need to look up Georgia W. @ grmnn00bs.com Nov 18 17:09:41 ok my galaxy S3 wont upgrade to JB OTA cause I've manually modified a framework-res.apk factory app (correction to the cell phone power reporting problem) Nov 18 17:09:42 I can upgrade manually right? ... (googles...) Nov 18 17:14:46 ah ... http://www.androidauthority.com/galaxy-s3-l710-cyanogenmod-10-cm10-nightly-official-126603/ Nov 18 17:15:59 (dang... shouldve kepy a copy of the APK before I hacked it) Nov 18 17:52:01 test Nov 18 17:54:30 exam Nov 18 17:55:45 hey, so, last night I did the stuff from developer.android.com to get android set up in my existing eclipse ide. I got the android sdk, I installed the adt plugin to eclipse and I used the sdk manager to install stuff. However, when I look in file > new (on eclipse) there is no option to create an android project. If I look at various places in the settings I see a lot of stuff to do with android there and if I look in "window" (on Nov 18 17:55:47 eclipse) there are some things to do with android. Can someone help me sort this out and get android working in my eclipse ide? Nov 18 17:55:59 offby1: ha ha Nov 18 17:56:36 Go to new then click other Nov 18 17:56:49 You will see an android section Nov 18 17:56:58 yes there is Nov 18 17:57:21 one of the many incomprehensible icons on the toolbar is "create new ANdroid project" Nov 18 17:57:23 isn't there supposed to be an entry near the top like the java and c/c++ stuff is though? Nov 18 17:57:45 ok Nov 18 17:58:59 Not on mine Nov 18 17:59:00 a person in a youtube vid was using indigo (I'm using juno) and they have a menu item (second item down right under "java project") that says something like android project. Nov 18 17:59:05 ok Nov 18 17:59:40 Im sure there's a way to add it. But i just goto other Nov 18 18:00:00 right :) Nov 18 18:00:05 well, regardless, it is available - so I know it installed ok. Nov 18 18:00:22 thx for pointing it out to me Nov 18 18:02:46 I think mine is Juno too Nov 18 18:03:16 right on Nov 18 18:03:35 Ya i use juno also Nov 18 18:03:59 have you tried using the EE (enterprise edition) of things before? I wonder if it really does slow down your computer too much. Nov 18 18:04:58 hihi Nov 18 18:05:12 aye bro :) Nov 18 18:05:16 what up? Nov 18 18:05:20 ClientAlive: I don't think so. If given the chance I avoid anything whose name contains the word "Enterprise". Nov 18 18:05:36 No i just do simple android development. I run it on a slow netbook running fedora . I use an external monitor so i can properly see everything in eclipse Nov 18 18:05:49 right on Nov 18 18:06:03 I tried fedora before but it was a headache :( Nov 18 18:06:10 fedora 16 Nov 18 18:06:46 so i decided to install ICS on my xperia play because i want smartglass... :P... well the guide says i need fastboot...much googling later i have it...so i go to use it..need adb...google...install...try again...need adb... WTF?!? sorry that that was random i just dont know how to concisely say how i'm feeling... Nov 18 18:07:04 Im on 17 and love it. What were the issues? Nov 18 18:08:16 Stephini : sorry to hear that. I would follow the guide closer and make sure you have adb installed properly Nov 18 18:08:21 what fedora was moonshine? cause that's when i last used it...altho i liked it personally. Nov 18 18:09:15 Idk lol Nov 18 18:09:44 ClientAlive what os do you run on your computer Nov 18 18:10:07 the guide i found for adb said that i would need to install it using sdk manager. but when i followed the included link and downloaded the sdk it already had the platforms folder with adb in it...so i skipped to the path varriable stuff. sdk manager was anothe rheadache as it said it couldn't find the tools folder for the batch file. but i got it working somehow and downloading platforms wasn't even an option. Nov 18 18:10:22 I'm an ubuntu man - started w/ it as my first linux exper. tried some other distros a couple yrs later, went back to ubu Nov 18 18:10:59 had a lot of trouble intalling feodra (but I was trying to install it as efi install too). Nov 18 18:11:15 Stephini: open the sdk manager and update the packages Nov 18 18:11:28 wow...moonshine was 7...holy crap i'm way outa the loop on fedora stuff... :P Nov 18 18:11:36 I'll leave you two too it though and not interrupt :) Nov 18 18:12:11 Ubuntu is awesome too. And you aren't interrupting. We can have multiple conversations lol Nov 18 18:12:19 ok i have sdk manager basically downloading/updating everything...it's been at that for a while... :P Nov 18 18:12:36 it's especially easy for those of us with ADD Nov 18 18:12:39 actually, in order to get just adb, you don't need to download all that much stuff. Nov 18 18:12:46 50mb max if I recall correctly. Nov 18 18:13:31 lolz offby1 i downloaded EVERYTHING for god measure...iv'e been heading my head against varios walls all day and night and wanna minimize future complications... :P Nov 18 18:13:45 Offby1 is right. But it doesn't hurt to update it all especially if you plan on developing Nov 18 18:13:48 I know the feeling Nov 18 18:13:53 good measure* sorry my steelseries shift doesn't seem to puck up every keystrike... Nov 18 18:14:14 pick* that one had to be me i'm sure... Nov 18 18:14:52 maybe it would be better if i dont spam the channel correcting every single typo...if you guys dont get what i'm saying just say and i'll clarify then... :P Nov 18 18:15:37 Stephini: +1 on ADD Nov 18 18:15:52 Haha its whatever. what os is everyone running? Nov 18 18:15:54 ha ha Nov 18 18:16:17 ubuntu forever, forever ubuntu --ha ha Nov 18 18:16:28 and yeah i do intend to dev...infact i'm playing with a new racing game in my head...for pc...but with android connectivity...(ever wich you could have a realistic rear veiw mirror in a racing game?) Nov 18 18:16:31 Oh jeez Nov 18 18:17:00 * Stephini hides her copy of windows 7. Nov 18 18:17:00 I don't play games :p Nov 18 18:17:03 ubuntu world domination... lol Nov 18 18:17:16 Eww windows Nov 18 18:17:33 i know i'm a terrible programmer running windows...but what can i say?? GAMES!!!!!!!!! Nov 18 18:17:41 Its sad more people don't use linux :( Nov 18 18:18:02 Ya...if you game you have to have windows Nov 18 18:18:05 it's the games barrier that stops most people i know. Nov 18 18:18:57 I just downloaded hill climb racing on my phone. Its kinda fun Nov 18 18:19:05 i used to just game in fedora using cedega i think it was? but quickly changed back to win when a ton of people got banned from warcraft for "botting" when it turned out they were using cedega.. Nov 18 18:19:23 Wow haha Nov 18 18:19:50 it's sad that people still run linux desktops. ;P Nov 18 18:20:07 Why you say that Nov 18 18:20:11 what other kind of desktop should one run? Nov 18 18:20:23 I <3 tux Nov 18 18:20:44 Tux is the linux penguin Nov 18 18:21:01 Who is a hero Nov 18 18:21:15 lolz i still think of tux as the linux mario...(he has his own kart game and bros style platformer game) Nov 18 18:21:20 Stephini: http://youtu.be/0IfLasqAEUU Nov 18 18:21:32 Yah haha Nov 18 18:21:35 and perhaps there is a way w/ more recent versions of windows Nov 18 18:22:31 and http://www.tomshardware.com/reviews/windows-pocket,1113.html Nov 18 18:22:35 Stephini: Nov 18 18:22:52 Windows on mobile devices scare me Nov 18 18:22:57 lolz when i want to do live i use one of my live thumbdrives...i still throw in my moonshine drive when windows is extra bad... Nov 18 18:23:20 right on :) Nov 18 18:23:39 I recently switched from an iphone to a droid. Once you root a droid and wipe the bloatware off they are blazing fast Nov 18 18:24:15 zeeZ: sad? heheh. Nov 18 18:24:17 lolz my xperia play started out fast...just had no room for installing the fracking games onto...which...really makes no bloody sense Nov 18 18:24:38 bloat - now there's a word Nov 18 18:24:39 wat? Nov 18 18:24:40 * muhoo has been running linux desktop for 12 years Nov 18 18:26:12 napster: as promised, here's my remoteimageview fork https://github.com/tom-dignan/android-remoteimageview Nov 18 18:26:46 muhoo: :(){ :|:& };: Nov 18 18:26:46 tdignan: Ah you are super cool. Let me take a look :) Nov 18 18:26:49 thanks bro Nov 18 18:27:10 napster: most of the work is done by the ignition project, but i added oom handling Nov 18 18:27:18 ok Nov 18 18:27:19 :) Nov 18 18:27:47 zeeZ: and a find forkbomb to you too Nov 18 18:27:47 I guess you have removed maven and all that shit. Ignition was not that easy to try out ;) Nov 18 18:27:58 i'm using this to load mad amounts of images and it's blazing fast Nov 18 18:28:06 yeah, I'm glad you see it my way, lol Nov 18 18:28:07 no, it means go fork yourself, going around hilighting random people like that Nov 18 18:28:13 :) Nov 18 18:37:47 whats up Nov 18 18:41:08 Building an app anyone up to help Nov 18 18:42:56 I might be interested. Info? Nov 18 18:44:13 well im doin it for this thing for a school comp and just could use some help with it. soo.. not really a moneymaking venture. Nov 18 18:45:11 sorry i worded that message wrong Nov 18 18:51:09 what exactly is the goal/aim of the project? Nov 18 18:51:31 to get an "A" of course. Nov 18 18:53:42 lolz well that is the real world goal of deving the project...but if it is the internal goal of the project itself than i dont think i wanna be part of that project as the code would most likely be less than...legal... :P Nov 18 18:54:21 unless your teacher allows students to set grades... that would be a different story... :P Nov 18 18:55:06 that app would be a hit Nov 18 18:55:11 "Change your Grades Pro" Nov 18 18:55:24 just put admob in it Nov 18 18:55:35 one screen only can be a static bitmap Nov 18 18:57:28 that would be nice wouldn't it but I think at that point it would just be easiest to hack the system Nov 18 18:58:09 let me get the project started and ill be on and off with questions I just wasnted to see if this was a good source of help if needed Nov 18 18:59:00 This is a great place for help. So are the android docs Nov 18 18:59:42 me, yesterday: actually I only pop in here to complain, but that developer.android.com/training site is unusually good. Nov 18 18:59:55 yea I know quite a bit of java, but I need to keep reading up on the specific parts of android. Nov 18 19:00:32 Sheek: i was suggesting you make a prank app Nov 18 19:00:42 like, it doesn't actually change grades. Just purports to. Nov 18 19:00:43 goinig to a different subject, why are there so few software roots available for droids? Nov 18 19:01:15 the whole java thing is the only thing that bugs me about android...i dropped out of college because java was the lowest level programming language they were willing to teach me...saying that in the future it'll be all you need to dev for most devices and taht c++ and such will soon die...then a few years later out comes the android sorta proving them right... >.< Nov 18 19:02:34 college isn't really supposed to teach you programming languages Nov 18 19:03:08 I dont know if i would call them right. I still believe even languages like C++ and even assembley are very important, because as soon as you start wanting to have the computer do what you want you need to be able to access the memory which many higher level languages dont give you much freedom in Nov 18 19:03:31 what am i expected to be paying for 4-6 years of school in a programming major if not langauges?? context and problem solver thinking shouldn't take that long... Nov 18 19:03:32 important for specialized work Nov 18 19:03:48 for learning theoretical CS Stephini Nov 18 19:04:00 it's not a programming major i'm pretty sure, but a CS one Nov 18 19:04:19 Thats why im not doin CS Nov 18 19:04:38 you can easily learn programming languages from the internet and from readily available books, you don't need college for that Nov 18 19:04:45 i was in for a computer programming major...they had me scheduled for 4 years(6 if parttime studying) of java and html... Nov 18 19:05:06 its seems unnesecary even to go to college for a degree like that just cause it is so easy to learn most of that on the internet Nov 18 19:05:12 then you did the right thing by dropping out. Nov 18 19:05:16 hmm, well this is the first time i'm hearing of a major in computer programming :P Nov 18 19:05:29 ivdorelian: they have them at career schools Nov 18 19:05:34 vocational ones Nov 18 19:05:34 me too. Ive only heard of CS and software engineering Nov 18 19:05:38 oh Nov 18 19:05:46 well yeah, that sounds useless Nov 18 19:05:49 indeed Nov 18 19:06:04 just make some apps and you can get a job Nov 18 19:06:15 CS gives you fundamental (to not say vital) basis Nov 18 19:06:17 i was at the local state U...they had a CIS carreer path which you could major in DBE, CP, Net. Nov 18 19:06:19 Pick up a random Comp Sci paper anywhere from the past 2 decades, read it, and then try to tell me with a straight face that CS pertains mostly to specific languages, and that 'context' and 'problem solver thinking' are the entirety of it. Nov 18 19:08:59 id only get a degree if i wanted to be hired Nov 18 19:09:08 as opposed to working for yourself Nov 18 19:09:26 working for yourself is a little risky though Nov 18 19:09:26 funny i got degrees but I work for myself now Nov 18 19:09:33 Plenty of degrees are worth getting for other reasons than how good they make you look in an interview. Nov 18 19:09:34 very true sheek Nov 18 19:09:41 knowledge is interesting. Nov 18 19:09:50 working for yourself you could become a millionare. or earn zero Nov 18 19:09:50 but i do understand the appeal of it Nov 18 19:10:09 degree is not required to get hired building apps for many places. you just need to have proven ability and be a good fit for their team. Nov 18 19:10:24 not required but it helps a lot Nov 18 19:10:29 sure does Nov 18 19:10:29 degree might help you because of "salary grid", in many corp env. Nov 18 19:10:37 s/proven/apparent/ Nov 18 19:10:38 if they have 10 other applicants as good at building apps, also with degrees Nov 18 19:10:38 FTFY Nov 18 19:10:41 my kid bro is getting ready to go to the same U for their new digital storytelling career path... >.< Nov 18 19:11:04 digital storytelling ? Nov 18 19:11:11 DR01D-Engineer: the sad thing is that they don't, 10 competent programmers all apply for one job? that's a pipedream Nov 18 19:11:19 lucky if theres 2-3 Nov 18 19:11:41 damn i love youtube Nov 18 19:11:42 so it isnt that competitive? i dont know i havnt applied Nov 18 19:11:50 yeah ti's supposed to be for game dev...they hav ea major in it for each of sound, graphics, design, and coding Nov 18 19:11:51 it depends, are you applying to google? Nov 18 19:11:56 that's competitive Nov 18 19:12:00 if you're applying to Joe's software Nov 18 19:12:02 don't worry about it Nov 18 19:12:04 yeh Nov 18 19:12:12 agreed with tdignan Nov 18 19:12:22 they (goog) will ask you question about complexity (O(n)) Nov 18 19:12:29 good programmers should know about. Nov 18 19:12:34 btw, I found out there is a way to customize the menu's (via: Window > Customize Perspective) Nov 18 19:12:36 :) Nov 18 19:12:47 also who you know is apparently as important Nov 18 19:12:53 networking Nov 18 19:13:21 Networking gets you the interview. If you use the term past that, you're a fucking blowhard. Nov 18 19:13:44 haha Nov 18 19:14:21 oh god how I love dual monitors! woo!! Nov 18 19:14:30 is this your first time using them? Nov 18 19:14:46 * Stephini is sad not to have DM anymore. Nov 18 19:15:10 tdignan: he might be a philosophe, always suprised, never jaded -;) Nov 18 19:15:46 tdignan: for a little bit now. My first nice desktop ( 2 x 23") Nov 18 19:15:48 I work at what might be considered a "Joe's Software" as adq said. It doesn't matter if you know everyone there, if any person in the interview gets the sense that you're trying to fool anybody by 'who you know' trying to trump a 'what you know' being horribly lacking, you stand no chance. Nov 18 19:16:00 next surprise is seeing how much software has poor support for multi displays Nov 18 19:16:23 Hodapp, it's not me who said that, but "cool story bro" :D Nov 18 19:16:53 adq: you agreed with who did say it! Close enough! Nov 18 19:16:53 who brought up networking anyway Nov 18 19:16:59 i mentioned networking. but i agree with you Nov 18 19:17:14 tdignan eyefinity or similar suites can sort out poor dual display support... :P Nov 18 19:17:15 i mentioned it was apparently useful but i didnt say what for Nov 18 19:17:17 Hodapp, yes because it's really the reality. It depends on who you target Nov 18 19:17:25 and what are they criteria to be satisfied Nov 18 19:17:32 Hodapp: to be clear, it was not I who brought up networking. I just made the distinction in competing for a job at a small place versus a large corporation. Nov 18 19:17:32 s/they/their Nov 18 19:18:47 the cognitive dissonance is strong Nov 18 19:19:06 networking is also important for promotions and stuff maybe? depends on who is in charge i guess and what their motives are. you see lots of dumb people in high jobs... maybe programming companies there is less of that though Nov 18 19:19:16 If I wanted to make an app that uses the ICS UI, should I use the level 14 API? Nov 18 19:19:47 networking has always been important, but it's hard to exploit since you know everyone (almost) in this world with an average of 5 degrees (in connections) Nov 18 19:19:59 Hoosteen: I think you can use the latest UI and still support older devices as well. I think. Nov 18 19:20:05 er, "latest API" Nov 18 19:20:29 well personally i wouldnt try to exploit anything unethical or unfair Nov 18 19:20:42 ethic depends on space and time. Nov 18 19:20:45 but im glad i work for myself so i dont have to worry about people much Nov 18 19:20:55 Hoosteen: you should build an app with the compat lib because 2.3 is still a significant chunk of devices. your app will still look native on ics and jb. Nov 18 19:21:01 Cux there's the "Build SDK" and the "Minimum required SDK" Nov 18 19:21:26 build sdk should be your target Nov 18 19:21:37 DR01D-Engineer, same feeling, but don't you sometimes miss the coffee break (or the lunch) with others collegues, just to chit/chat Nov 18 19:21:38 min should be the lowest version you support. Nov 18 19:21:40 i miss that. Nov 18 19:21:51 Soo.. build 4.2 and Minmum 2.3? Nov 18 19:21:59 8 and 17 Nov 18 19:22:22 Awesome, thanks. Nov 18 19:22:38 And I don't have to worry about it looking native on ICS? It will already work fine? Nov 18 19:22:41 np, make sure to read about actionbar compatibility or check out actionbar sherlock. Nov 18 19:22:47 yeah. Nov 18 19:23:07 you can specify different themes for different versions too. read up on resources. Nov 18 19:23:27 Any good places to start? Nov 18 19:23:35 Hoosteen: that by itself is not a magical bullet Nov 18 19:23:53 I want to eventually get to ROM development, but I was told to start with Apps Nov 18 19:24:03 Hoosteen: ie, if you don't use something like ActionBarSherlock you can target 4.2 Nov 18 19:24:03 Hoosteen: eh, just start on d.android.com Nov 18 19:24:04 Maurits_: explain?? Nov 18 19:24:11 but you won't have an actionbar on 2.x Nov 18 19:24:22 you can always just make a fake actionbar Nov 18 19:24:28 and use it only on 2.x Nov 18 19:24:30 Ill look up this sherlock thing Nov 18 19:25:19 abs days are numbered Nov 18 19:25:20 my point is, targeting 4.2 won't magically give you all the stuff that isn't in 2.3 Nov 18 19:25:35 you have to use a compatibility library or use different implementations Nov 18 19:25:50 well, you can use the compat lib and get a lot of it, then use Build.Version.SDK_INT to conditionally execute code. Nov 18 19:26:13 Okay, i getchu. Nov 18 19:26:40 since you are just learning... you might just not support 2.x Nov 18 19:26:44 I have three app widgets, which all require some detailed processing to update; should I try and fit all the code into one service, or is it alright to define three seperate services? Nov 18 19:26:48 since it might take you a while to get up to speed anyway Nov 18 19:26:50 it might make sense Nov 18 19:27:31 Thats what I was thinking. I'm not really getting money off this, and I don't really care if it is popular. ill just play around Nov 18 19:27:33 Hoosteen if you are just learning and have a ICS device, coding for compatibility will take up a lot of time you could otherwise be learning Nov 18 19:28:27 So Could u just make the minimum level 14 (4.0) and just ignore older versions all togethr? Nov 18 19:28:48 you could, if you don't care about people with 2.3 being able to run your app Nov 18 19:28:57 that's like 60% of the market though Nov 18 19:29:42 I dont really care about them lol. This is relly only my first app. Ill deal with compatibility when I actually make something good Nov 18 19:29:51 sure, go for it then Nov 18 19:31:02 2.3 is dropping under 50 % now, though. At least what google play sees. Nov 18 19:31:08 to be fair that's still obviously a lot Nov 18 19:32:14 Which is generally considered more complicated? iOS dev or android? Nov 18 19:32:19 I presiume that eventually, most of the older versions would upgrade once everyones 2 year contract is up Nov 18 19:34:26 do old phones get recycled? Nov 18 19:34:30 one wonders how long it takes a kid to figure out why standing up under a table hurts... Nov 18 19:35:25 DR01D-Engineer, yes Nov 18 19:35:41 generally, yes, but it'll still take a while Nov 18 19:35:54 good. id hate to thing all the valuable materials getting buried in a junkyard Nov 18 19:35:57 think* Nov 18 19:35:59 for the 2.x userbase to become small enough that they can be ignored Nov 18 19:36:48 DR01D-Engineer, it depends if you throw them away or not Nov 18 19:37:24 and there must be a giant wall o cell post modern art installation somewhere, if that counts as recycling ;p Nov 18 19:37:27 Anyone have any thoughts on my question? Nov 18 19:37:37 isn't it illegal in most of the US to use standard disposal for micro electronics and batteries? Nov 18 19:37:50 im sure many people throw them away.... whatever recycling company is out there should do more promotion... like they pay £10 for your old phone or something Nov 18 19:38:01 turb1ne247: No idea, but im kinda intersted too Nov 18 19:38:05 or maybe when you upgrade your phone with your network, they take it and send it to the recycler Nov 18 19:38:32 turb1ne247 : you could say that android's fragmentation makes it more "complicated" in the sense you have to handle it, whereas with ios you have a device standard ftmp Nov 18 19:38:45 it depends on who you ask Nov 18 19:39:06 android ui seems harder from what i heard Nov 18 19:39:07 DR01D-Engineer, in my town the computer stores advert on tv about it being illegal to dispose of anythign with a battery or integrated circuit and then offer to buy them from you to recycle. :P Nov 18 19:39:11 objective c generally requires more technical knowledge to become proficient at Nov 18 19:39:17 *technically you don't have to handle fragmentation, but if you don't you'll just either be making apps ONLY for tablets or some phone or your app will be more junk Nov 18 19:39:35 but the iPhone ecosystem is much simpler Nov 18 19:39:39 good to know stephini. iv never seen an advert for that in uk Nov 18 19:39:45 you can target 5-6 devices Nov 18 19:39:48 instead of 500 Nov 18 19:40:16 how many devices should an android app be tested on for release? Nov 18 19:40:29 as many as feasible Nov 18 19:40:33 as many as your local best buy has available Nov 18 19:40:40 DR01D-Engineer, I used to work for such a company. They buy back phones for somewhat less than you could sell them on ebay for instance, but they also take worthless phones and recycle them. Nov 18 19:40:54 if the app doesn't hafta be too fancy cant you just code it at the lowest version you expect to commonly be using it and have everyone else basically using an "out of date" version? Nov 18 19:40:57 i see Nov 18 19:41:13 Stephini but then your app is more junk Nov 18 19:41:27 I usually test on my old motorola droid running 2.2, on an old HTC device also on 2.2, on my tablet running cm10 and on my phone running stock 4.2 Nov 18 19:41:27 that's like saying why doesn't everyone just use tricycles to ride around? Nov 18 19:41:57 how do you define junk? a well written monopoly ebank wouldn't require alotta bells and wistles but could be very handy for people. Nov 18 19:42:11 i have a tmobile g1, a moto droid 1, a nexus,a xperia pro, and galaxy tab Nov 18 19:44:14 Stephini but the whole point is improving the standard of the software, not making bare minimums Nov 18 19:44:41 test the different screen sizes you support via separate resouces, and certainly test the min supported version Nov 18 19:44:42 Its amazing how well android devices run after rooting and wiping all the stuff clean Nov 18 19:46:10 - Nov 18 19:47:08 I see your point, but in the case where you have such a simple utility app, that'd the be the BEST imo to polish up since it is so simple and can serve as a showcase of how far android has come since 1.0 Nov 18 19:48:23 1080p phones will be released next year. im not sure how much more difficult this will make ui design(you will have 4 or 5 inch phone screens from like 420p to 1080p, instead of 720p) Nov 18 19:48:30 also, you will have to rewrite much of it if you want to modernize it later on Nov 18 19:48:36 sorry about that my toddler apparently got on my comp while i was afk... Nov 18 19:49:34 going from activities to fragments is generally a pain since you'll have to restructure everything Nov 18 19:49:47 since fragments have to delegate stuff to the containing activity, etc etc Nov 18 19:49:56 better to just design your app with fragments in mind Nov 18 19:50:40 is there a good app so i can hand my toddler my phone to stop her screaming when i take her away from the pc?? :P Nov 18 19:50:46 Droid-Eningeer: at least the madness will have to stop at some point since the human eye has a resolution limit Nov 18 19:50:58 yeah, 440dpi seems insane Nov 18 19:51:17 not much of a point really Nov 18 19:51:21 Stephini, read her a story :-) Nov 18 19:51:25 or him* Nov 18 19:51:32 Maurits_, except to beat apple Nov 18 19:51:38 in their own game Nov 18 19:51:39 instead of putting a microwave phone near his/her brain. Nov 18 19:51:49 My kid just love holding the phone Nov 18 19:51:54 lolz she wants to use tech like me and her other mum do...i wanna encourage that...she gets read mroe than enough stories every day... :P Nov 18 19:52:13 Sculptor: meh, I'd prefer they just make good phones Nov 18 19:52:24 rather than trying to win some pissing contest with apple Nov 18 19:52:26 correct me if i'm wrong adq but a serviceless phone with the radio turned off isn't exactly microwave... Nov 18 19:53:25 Stephini, talking tom free Nov 18 19:53:54 Or hypnotoad Nov 18 19:54:35 on my partner's kindle i found what i thought was a handy app...basically an electronic xylaphone...but then i found out it's add supported and the escape buttons still work...so she can very easily and accidentally get back into the main OS...seems counter productive... :P Nov 18 19:54:38 If an app is successful, does that mean you get tied to it for years to come? What I mean is - what is the happy path like? If it;s a one man operation, do you end up having to deal with pr and updates and so on and so forth so that you have no time to make another, different app? Or is it where you can just write a variaty of one offs all the time and still be very successful? Nov 18 19:55:31 i think updates are only required for each api update or if new screen size devices come out... bug fixs too of course Nov 18 19:55:36 thats what iv been thinking about too though Nov 18 19:55:42 ClientAlive: I've seen the argument boil down to how you market it: if it's free, you are under no obligation to service or update, but if you are charging, then do you feel as the developer you should back your product? Nov 18 19:55:47 ClientAlive, sell it for millions and kick back Nov 18 19:56:26 i think i will just release a lot of my apps as free. and only make them paid and update them if they are popular Nov 18 19:56:30 hmm. How could you make a living by giving it away? (free) Nov 18 19:57:01 if it is popular make the free version a "lite" and make a paid version with more features Nov 18 19:57:01 google's playing a dirty game. only devs from 20-30 countries can sell apps Nov 18 19:57:38 can developers of free and paid version of the app differ? Nov 18 19:57:51 i bet it's less google playing dirty and more some countries have restrictive authoring laws... Nov 18 19:58:01 interesting. How can I learn more about the various ways to market/make $ with apps? Nov 18 19:58:01 say, dev1 commits a lite version, and dev2 commits a paid version Nov 18 19:58:11 if they make an agreement. maybe Nov 18 19:58:17 DR01D-Engineer, of course. Nov 18 19:58:22 Droid: I think it depends on your target. If you are making apps for tablets, people who have the money to be tablets generally (imo) have more disposable income they would be willing to spend on an app. But a phone? It's not a 600 dollar iphone userbase, so freemium models are better I think... Nov 18 19:58:27 but it would look suspicious if they had different company names Nov 18 19:58:39 suspicious to whom Nov 18 19:58:39 for the multi dev thing i'd just say make a virtual third author that both devs can commit to... Nov 18 19:58:44 ClientAlive: http://www.youtube.com/watch?v=DJdx_Wd_EOo Nov 18 19:58:49 I did hear you can sell an app outright to some organization that takes it from there (marketing and selling it) Nov 18 19:58:56 right on Nov 18 19:59:04 Also people who have tablets I think are willing to spend money on their tablet to trick it out. Nov 18 19:59:06 thats a good point lasserix. i hadnt thought about the tablet market like that but you are right it is a different market Nov 18 19:59:29 lasserix: I'd buy a stand for my tablet, if such a thing existed; but that's about it. Nov 18 19:59:32 suspicious to users and to google Nov 18 20:00:04 offby1: but just think of all the hipsters wanting some awesome live wallpaper willing to put down 5$ for some steampunk inner clockwork app Nov 18 20:00:20 *shrug* Nov 18 20:00:35 that pcb live wallpaper had a lot of sales Nov 18 20:00:38 i bet you could make a lot of money selling wallpapers to ipad hipsters Nov 18 20:01:23 i thought ios didn't support live wallpapers Nov 18 20:01:35 i hate apple, hence, i might be wrong Nov 18 20:01:37 no idea Nov 18 20:01:39 same Nov 18 20:01:43 well i was being perjorative, it's not just hipsters. Live wallpapers are kinda like the fashion of smart devices, you want something new that you can show off from time to time Nov 18 20:01:49 ios does not support live wallpapers, unless jailbroken Nov 18 20:01:59 Sculptor: that's exactly the point :P Nov 18 20:02:09 i like to watch people on the trains and see what kind of apps they are using Nov 18 20:02:14 lasserix: a 3d pixel penis Nov 18 20:02:24 DR01D-Engineer: ah you are that creepy guy! Nov 18 20:02:24 haha Nov 18 20:02:29 e.g. a galaxy S3 Nov 18 20:02:32 lol Nov 18 20:02:35 DR01D-Engineer, hwo would it make your day if you saw them using your app? :P Nov 18 20:02:35 yeh. i try not to be too obvious and creepy though :) Nov 18 20:02:42 id be thrilled Nov 18 20:02:45 monsti: but literally that would probably sell pretty well Nov 18 20:02:56 lasserix: omfg :) Nov 18 20:03:25 its like jiggly breasts, you know? Nov 18 20:05:08 who else hates getting outwitted by a 1 year old? Nov 18 20:05:24 hey Nov 18 20:05:32 Which is my favorite fact of smart devices. Tens of thousands of years of evolution and now you can casually own a device that has more computational power than some animal's brains and the most it's used is for mimicing fart noises and simulating wet tshirt contests. Nov 18 20:06:02 Stephini, why did you install that chess app. told you: talking tom free Nov 18 20:06:28 http://tech.slashdot.org/story/12/11/17/0142234/just-days-after-release-googles-nexus-4-has-already-been-rooted Nov 18 20:06:31 lolz thankfully it wasn't chess she outwitted me with...it was a water bottle my patner baught her... Nov 18 20:06:32 why is this news Nov 18 20:06:52 why not? Nov 18 20:07:25 is days concidered fast?? didn't the kindle fire and xperia play have same day roots? Nov 18 20:08:17 the nexus 4 was deisgned for this Nov 18 20:08:34 one of its purposes is to be an unlocked developer phone Nov 18 20:08:54 that's like a headline of "Man orders computer, turns it on without instruction manual" Nov 18 20:09:05 lolz Nov 18 20:09:43 "minuites after receiving pizza delivery, box is openable" :P Nov 18 20:10:19 omg fastboot unlock Nov 18 20:10:20 just works! Nov 18 20:10:41 * Stephini bites Maurits_ Nov 18 20:11:03 where are id's stored within an android project Nov 18 20:11:33 or are they even stored seperately in any specific folder Nov 18 20:12:30 R.java? Nov 18 20:12:39 k ill check Nov 18 20:13:13 yup, in R.java, in the gen folder; but almost no one should bother about (except those who are fixiing aapt ;)) Nov 18 20:13:59 yea im not trying to mess with it i am referencing an id but eclipse doesnt seem to want to recongnize it even though it surely exists Nov 18 20:14:12 this is where you need a clean ;( Nov 18 20:14:37 clean what Nov 18 20:14:42 your entire project Nov 18 20:14:44 Can someone explain to me what a fragment is? Nov 18 20:15:02 eclipse is incredibly buggy. Try "cleaning" the project; try closing it and then reopening it. Nov 18 20:15:05 Hoosteen, http://developer.android.com/guide/components/fragments.html Nov 18 20:15:21 weoh ok sounds good thanks ill try that Nov 18 20:15:27 yea, if you're asking what something is, you should just google it Nov 18 20:17:36 still doesnt wanna work. here is thel ine of code. hockey =(Button) findViewById(R.id.hockey) Nov 18 20:18:28 Hoosteen: a modular piece of interface you can reuse in different screens Nov 18 20:18:32 and i have a button in the xml android:id="@+id/hockey" Nov 18 20:18:42 not sure whats up Nov 18 20:18:45 *interface and behavior for that interface Nov 18 20:18:52 Do anyone know of any alternative music player app to the Google Music app, accessing the Google music service in the cloud ? Nov 18 20:18:53 Sheek, sometimes if the xml layout referencing your id in eclipse is faulty before it, eclipse will not know this id. Worst is sometimes you have no indication where the errors is in xml ;( Nov 18 20:19:15 ok ill check that all out thanks Nov 18 20:19:35 Sheek: do you have a main.xml with