**** BEGIN LOGGING AT Thu Oct 24 02:59:58 2013 Oct 24 03:00:40 how many toolkit APIs are there in android? Oct 24 03:04:44 Hey guys. Can I ask NDK questions here? Oct 24 03:04:55 go for your life Oct 24 03:05:54 So, I was trying to add this .a static file to my build. I seem to have included it (symbols from it are now resolved). However, I get this error: "error: ./: pread failed: Is a directory" Oct 24 03:06:00 and I notice the make is doing this: Oct 24 03:06:40 ./obj/local/armeabi/libmyLib.a ./obj/local/armeabi/libSomeOtherLib.a ./ curl/lib/libcurl.a" Oct 24 03:06:46 was trying to add curl Oct 24 03:07:02 you specified the destination wrong Oct 24 03:07:06 or the source directory wrong Oct 24 03:07:53 I think I specified neither. I have just include $(CLEAR_VARS) LOCAL_MODULE := libcurl LOCAL_SRC_FILES := curl/lib/libcurl.a include $(PREBUILT_STATIC_LIBRARY) Oct 24 03:08:40 oh wait Oct 24 03:08:47 I actually had += curl/lib/libcurl.a Oct 24 03:08:49 not := Oct 24 03:08:54 changing it to := seemed to work Oct 24 03:09:51 shitty internet Oct 24 03:10:20 20:08 < ProgramMax> oh wait Oct 24 03:10:20 20:08 < ProgramMax> I actually had += curl/lib/libcurl.a Oct 24 03:10:20 20:08 < ProgramMax> not := Oct 24 03:10:20 20:08 < ProgramMax> changing it to := seemed to work Oct 24 03:10:42 nice Oct 24 03:11:21 it gave new missing symbols that I think are from libssl Oct 24 03:11:24 which I wasn't including Oct 24 03:11:31 gonna add it and libcrypto and see if that does it Oct 24 03:15:37 hrmm getting trickier. The symbols aren't being resolved for libcurl - ./curl/lib/libcurl.a(libcurl_la-content_encoding.o):content_encoding.c:function inflate_stream: error: undefined reference to 'inflateEnd' Oct 24 03:16:01 perhaps you need to use the backslash Oct 24 03:16:07 as opposed to forward slash Oct 24 03:18:58 worth a shot Oct 24 03:19:19 DO IT..NOW Oct 24 03:19:20 :D Oct 24 03:19:46 nope, that errored right quick: ERROR:Android.mk:crypto: LOCAL_SRC_FILES poitns to a missing file Oct 24 03:20:15 ok Oct 24 04:20:54 im using support actionbar. Works fine except on 2.3 the line "getSupportActionBar().setNavigationMode(ActionBar.NAVIGATION_MODE_TABS);" makes it so there's no actionbar at all anymore. Am i doing something wrong here? Oct 24 04:33:54 i dont think Gingerbread supports tabs Oct 24 04:35:57 osxorgate there is no ACtionbar on pre-honeycomb Oct 24 04:36:14 osxorgate that means 2.3 doesnt have an action bar and thus you cannot use getsupportactionbar() Oct 24 04:36:20 nubish: it's in support lib 7 Oct 24 04:36:56 is it? Oct 24 04:36:58 and you implemented it? Oct 24 04:37:09 ah yes it does Oct 24 04:37:10 sorry Oct 24 04:37:20 i take it you are using support lib 7 already Oct 24 04:37:23 sorry Oct 24 04:38:15 osxorgate: does it crash out and give you a ST ? Oct 24 04:39:03 i remember having issues a few months back .... something about the imports being screwy ( not importing the right activity and actionbar ) Oct 24 04:40:07 bankai_: the problem i had is already solved, http://stackoverflow.com/questions/18219908/actionbar-tabs-with-support-library Oct 24 04:40:10 also make sure you're using the right support theme Oct 24 04:40:40 yeah the theme Oct 24 04:40:43 i was going to say that Oct 24 04:40:50 Im reading here something about a sherlock theme Oct 24 04:40:55 http://stackoverflow.com/questions/7294797/android-getsupportactionbar-always-returns-null-in-actionbarsherlock-library Oct 24 04:41:34 osxorgate check this out http://include-memory.blogspot.com/2013/01/legacy-tabs-vs-actionbar.html Oct 24 04:55:29 hey Oct 24 04:55:44 im new to android development Oct 24 04:56:08 NetworkOnMainThreadException ? Oct 24 04:56:35 i just don't get the point of all the res folders for images Oct 24 04:56:40 why not just one folder Oct 24 04:58:07 depending on your resoultion, you get different images Oct 24 04:58:28 http://developer.android.com/guide/practices/screens_support.html read this, it explains it Oct 24 04:58:29 density, not resolution Oct 24 04:59:19 the same drawable may occupy 1 physical inch across all devices but needs to be provided at multiple resolutions because devices have different numbers of pixels per inch Oct 24 05:00:10 it just seems having to have a image for each res makes it really hard to make simple apps Oct 24 05:00:28 i see libgdx samples only has one set of res Oct 24 05:02:07 densities, not resolutions Oct 24 05:02:21 iOS has the same thing, just less densities Oct 24 05:02:45 is the java from android portable to apple ? Oct 24 05:03:04 i see people make the same apps for apple as they do for android sometimes Oct 24 05:03:09 no Oct 24 05:03:13 MrGate apple doesn't use java, they use objective c Oct 24 05:04:26 it seems the google play market is so large, is there still a ok chance of making money now days with android apps ? Oct 24 05:04:49 that question is way too broad to answer Oct 24 05:05:00 without a) lots of marketing money and/or b) luck and/or c) a really good niche - probably not Oct 24 05:05:23 so it kinda for the fun and exp of it now days if you indie Oct 24 05:06:14 if you happen to be the guy who releases the app that every lawyer in Germany (say, as a random niche) uses a year later... lots of money there Oct 24 05:07:34 i am going to be that guy Oct 24 05:07:44 first step move to germany Oct 24 05:08:22 1) Move to Germany 2) Steal underpants 3) ???? 4) PROFIT Oct 24 05:08:37 seand: me too! i'm just a temporarily embarrassed millionaire Oct 24 05:08:45 lol Oct 24 05:09:10 currently studying to be a millionaire Oct 24 05:09:15 * Leeds actually is a millionaire Oct 24 05:09:29 Leeds i don't believe you Oct 24 05:09:39 link to your app Oct 24 05:09:41 on paper, at least - not cash Oct 24 05:09:47 not from apps :) Oct 24 05:09:49 so the underwear is the missing part of the profit equation, since i know ???? :) Oct 24 05:09:56 oh, so you cheated Oct 24 05:10:14 also, consider currency rates... Oct 24 05:10:16 everyone know the only legitimate way of becoming a millionaire is through android app development Oct 24 05:11:24 I became a millionaire developing android apps, buy my book for $.99 on amazon, yeah I'm self-published, but every bit helps pay the rent Oct 24 05:12:09 nah, merchandising, merchandising! Where the *real* money from the app is made... Oct 24 05:12:49 http://www.youtube.com/watch?v=IxYVeJhwPdQ Oct 24 05:14:24 I bought a flat in London - and lived there for a few years - before I emigrated... I now live in HK... my equity on the flat is worth more than HK$1M :D Oct 24 05:15:43 Leeds how did you become a millionaire Oct 24 05:16:18 erm, I think I just told you... anyway, lunchtime now Oct 24 05:16:42 I made well over a million today Oct 24 05:16:46 (vietnamese dong) Oct 24 05:17:18 Leeds so you bought the flat in HK for really cheap and the price skyrocketed? Oct 24 05:17:44 hi leeds how are you? Oct 24 05:17:49 seand: flat is in London, and it hasn't *skyrocketed*, just grown reasonably well, but yes Oct 24 05:18:20 property in HK has *tripled* in price in well under a decade - I wouldn't touch it with a very long bargepole at the moment Oct 24 05:18:48 * Leeds -> lunch Oct 24 05:19:21 og go to lunch, when you return can you try help me? with my file problem? thanks Oct 24 05:19:27 og=ok Oct 24 05:37:49 i have a refresh menu item in my actionbar. I start a refresh (IntentService) , start animating the menuitem. Now i rotate the device. I wish to have the menuitem of the new activity also animating, but i cannot get a handle on it in onResume, since onCreateOptionsMenu is called after onResume. What do? Oct 24 05:48:31 ok, just animate it in onCreateOptionsMenu it is Oct 24 06:08:05 anyone ever experimented with having string translations on a server somewhere, so you can change the strings on the fly instead of having to build and upload a new appversion? Oct 24 06:13:00 <^cheeky> s000 quiet heh Zzzzz ? true : false Oct 24 06:14:24 Hi users Oct 24 06:14:31 Regards from mexico Oct 24 06:15:05 <^cheeky> ello Oct 24 06:15:18 Hi cheky Oct 24 06:15:26 What are you doing ? Oct 24 06:15:36 this is not #teenchat Oct 24 06:16:24 I just say hi Oct 24 06:16:48 Who ssay i cant chat with users ? Oct 24 06:17:19 Chekky Oct 24 06:17:25 I have deal to you Oct 24 06:17:25 <^cheeky> no 0ne heh Oct 24 06:17:38 <^cheeky> smartall: hii 0/ Oct 24 06:18:06 You know make app Oct 24 06:18:09 Profesional ? Oct 24 06:18:28 smartall: you know sell drugs? profesional? Oct 24 06:18:57 Yes Oct 24 06:19:01 Why ? Oct 24 06:19:11 <^cheeky> smartall: no i don't know how to, can you Oct 24 06:19:33 I need someone know make apps Oct 24 06:19:50 I need someone know sneak drugs into USA Oct 24 06:19:54 this channel isnt for asking for apps Oct 24 06:20:03 i think. maybe im wrong Oct 24 06:20:12 smartall: you bring drugs i make app Oct 24 06:20:20 lol Oct 24 06:20:30 Really ? Oct 24 06:20:34 You know Oct 24 06:20:35 <^cheeky> smartall: get in touch with jessie pinkMan Oct 24 06:20:35 ? Oct 24 06:21:03 i make app for forty-three marijuanas and twenty-nine cocaines Oct 24 06:21:15 Whois jessy pinkman Oct 24 06:21:26 <^cheeky> google Oct 24 06:21:29 <^cheeky> him Oct 24 06:21:33 jessy pinkman say go away Oct 24 06:21:45 <^cheeky> oh i don't believe you Oct 24 06:21:50 <^cheeky> :( Oct 24 06:21:55 Why ? Oct 24 06:22:19 <^cheeky> because i don't know if you really did contact jessy pink man Oct 24 06:22:51 I dont know jessy pinkman Oct 24 06:23:43 <^cheeky> smartall: tell me to create custom view please ? Oct 24 06:24:19 Bro i little pic english .. What is custom view Oct 24 06:24:30 smartall: get drugs and meter por el culo for make app Oct 24 06:24:42 Jajjajaj Oct 24 06:24:47 Hablas español? Oct 24 06:24:52 nada Oct 24 06:25:02 yo si Oct 24 06:25:12 no entiendo español Oct 24 06:25:17 Jajaja necesito alguien que me haga un programa y le pago Oct 24 06:26:35 necesito que alguien me envíe tanto mucho drogas Oct 24 06:26:43 lol Oct 24 06:27:39 cuarenta y tres marijuanas y veintinueve cocas Oct 24 06:28:08 Ok Oct 24 06:28:33 Done Oct 24 06:29:43 hey guys smartall lives in L.A. not mexico Oct 24 06:29:46 haha Oct 24 06:30:07 What is la Oct 24 06:30:11 Los Angeles Oct 24 06:30:22 you know what it is Oct 24 06:30:24 dont BS Oct 24 06:30:30 you know what BS is too Oct 24 06:30:52 "the Los Angeles angels" is the name of LA's baseball team, which translates to "the the angels angels" literally. Oct 24 06:30:54 Jajajaj este wey piensa que soy del otro lado Oct 24 06:31:22 Soy mexicano 100% Oct 24 06:31:25 hmm okay maybe you do live in mexixo Oct 24 06:31:33 sorry i guess Oct 24 06:31:59 No broo i speak little english and i live en border mexico Oct 24 06:32:14 do you live in mexico city? Oct 24 06:32:29 Hermosillo? Oct 24 06:32:34 Yes Oct 24 06:32:39 How you know ? Oct 24 06:32:46 he hacked your irc Oct 24 06:32:52 yep Oct 24 06:32:55 hax hax Oct 24 06:33:01 por tu IP Oct 24 06:33:03 Jajajajajaj Oct 24 06:33:06 Ok Oct 24 06:33:14 wtf do you want from us Oct 24 06:33:20 app, obviously. Oct 24 06:33:23 189.173.158.214 Oct 24 06:33:28 Jajajajaja Oct 24 06:33:29 we will give you all the money, just dont hurt my family Oct 24 06:33:29 Ok Oct 24 06:33:52 you only have 3 money. Oct 24 06:33:54 What is hurt in other words please Oct 24 06:34:08 wounded? injured? Oct 24 06:34:14 apunalar Oct 24 06:34:19 i dont know Oct 24 06:34:28 matar Oct 24 06:34:30 Jajajaa not i not do hurt Oct 24 06:35:04 I just need 1 app with basics options Oct 24 06:35:23 i can make app with button to kill you Oct 24 06:35:25 dano? danar? herida? herir? Oct 24 06:35:26 with fir Oct 24 06:35:27 e Oct 24 06:35:48 Tanks pragma by say me Oct 24 06:35:52 Traslante Oct 24 06:38:32 you ask for an app but do not say what the app should do Oct 24 06:39:33 the app for make benefit glorious hermosillo of mexico Oct 24 06:46:12 Pragma Oct 24 06:46:20 Were are you from ? Oct 24 06:46:30 I am from vagina. Oct 24 06:46:45 Is delicius country Oct 24 06:46:49 State ? Oct 24 06:48:16 #pragma region vagina #pragma endregion Oct 24 07:12:32 I am using this on ItemClick in grid view public void onItemClick(AdapterView parent, View v, int position, long id) { Oct 24 07:12:55 why am i getting this value null ? parent.getItemAtPosition(position).toString() Oct 24 07:53:57 hey guys Oct 24 07:54:00 quick question Oct 24 07:54:24 why would the getActivity().getConentResolver() ever be null Oct 24 07:54:41 after the app was closed for a while and entering from a notification Oct 24 07:56:02 cause activity is destroyed? Oct 24 08:01:11 lemonxah, what's null? getActivity() or getContentResolver() ? clicking on the notification launch your pending intent. which should start / send new intent to the activity you specified (if the intent was for an activity) .. maybe seeing a stack trace may help Oct 24 08:11:12 the sheer SIZE of the android code base (and resulting temp files during compile) are ridiculous. Oct 24 08:11:34 over the past 3 or 4 days, I've lost count of how many times ubuntu popped the "you are running low on hard disk space" error Oct 24 08:11:50 and each time my build would fail because it was unable to finish writing to some odd file... Oct 24 08:12:22 I BADLY wish the build system would do a "disk scan" or something BEFORE starting a build. Oct 24 08:12:40 at least that way, I wouldn't need to waste 2 hours just to find out that I missed out on space. Oct 24 08:14:20 chronodekar, you can't really blame poor disk space on Android, can you? Oct 24 08:14:36 mastro: I'm not blaming android per se. Oct 24 08:14:42 mastro getContentResolver() is null Oct 24 08:14:43 I KNOW that its my own fault. Oct 24 08:15:00 I just wish that the android build system would tell me before doing a full run. Oct 24 08:15:11 so I wouldn't need to waste my time... Oct 24 08:15:17 is it really too much to ask for? Oct 24 08:18:15 lemonxah, weird Oct 24 08:19:03 lemonxah, are you absolutely sure? Oct 24 08:19:03 yes mastro my exact sentiment :/ Oct 24 08:19:33 lemonxah, that's not supposed to be null, ever Oct 24 08:19:49 yes i am 100% sure cause the new intent comes in to the app starts the app displays my chat screen wich is a fragment on the abovementioned activity Oct 24 08:19:50 lemonxah, please double check Oct 24 08:20:10 hi, guys, how to stop rild and related refernce-ril.so and libril.so , and then how to restart it ??? Oct 24 08:20:34 and then clicking back from that fragment merely pops the backstack transaction and puts another fragment ontop of the activity Oct 24 08:21:27 and in that fragment there is a cursor loader Oct 24 08:22:14 soz not cursor loader i have implemented ContentObserver and on a ContentChange it calles my query Oct 24 08:22:26 and on that query the getContentResolver() is null Oct 24 08:23:12 so yeah i am pretty sure :) just dont kwow why that happens and it is only happing from the notification bar on a HTC One X if the app is "stale" if you know what i mean Oct 24 08:25:03 lemonxah, the only think I'll do in your place is creating a test case simple little project that reproduce the issue, publish it somewhere and open a bug to b.android.com Oct 24 08:25:19 I'd do Oct 24 08:38:47 kk mastro Oct 24 08:45:57 hey guys Oct 24 08:46:10 what is the best approach to see if a certain activity is not visible Oct 24 09:18:32 <^cheeky> hi hi, is there a way to make a switch view vertical instead of horizontal / Oct 24 09:25:31 The run button in Android Studio disables every time i try to run an app and it has compilation errors. Oct 24 09:26:05 The button only enables after restarting Android studio. Anyone got the same problem? It's super annoying Oct 24 09:26:34 a) are you using the latest version? b) unreleased preview software *shrug* Oct 24 09:28:35 a) Using 0.3.1 on OSX b) will try on IDEA12.1.6 Oct 24 09:32:10 ugh, way too much red lines in current project appearing in IDEA. CBA to fix or start a fresh one. I guess I'll have to make sure the app compiles properly before running Oct 24 10:19:02 Weird error.. I have a settings activity that when first loaded loads a list of items from my database, but if I go back to the main screen and then open settings again it runs out of memory. Oct 24 10:19:03 I have closed my cursors and database. Oct 24 10:20:17 Can i horizontally flip a bitmap via a flag while loading/decoding it or do I have to use a matrix? Oct 24 10:28:07 hello Oct 24 10:33:52 hallo Oct 24 10:34:55 phi Oct 24 10:43:11 hello Oct 24 10:45:27 i have a Tab navigation activity, in the on create it sets the content view layout, then onTabSelect it uses getSupportFragmentManager to replace a container inside the content view layout with a fragment... Oct 24 10:46:37 is that correct ? if so do i need to use this replace fragment method or can i just call setContentView from inside the onTabSelect ? Oct 24 10:49:45 hello my android Oct 24 10:49:47 listview text Oct 24 10:49:49 seems Oct 24 10:49:50 gray Oct 24 10:58:56 Good for you. Oct 24 10:59:46 ? Oct 24 11:02:07 It wasn't a question, so I guess you are satisfied with how it is. Oct 24 11:24:23 <[twisti]> is there a way to use the play store from the emulator ? Oct 24 11:27:22 i use genymotion Oct 24 11:27:27 as an emulator platform Oct 24 11:27:33 they have google apps Oct 24 11:29:02 <[twisti]> ill give that a try, thanks Oct 24 11:30:07 Is it just me or is creating a new class for a custom list adapater just excessive? Oct 24 11:30:29 I mean you don't have to, but if I want to do something simple like change the selection color I have to, right? Oct 24 11:30:40 otherwise stuck with the default Oct 24 11:32:04 This is my first android app and it just feels like code explodes in size for doing stupid little fiddly things Oct 24 11:32:51 changing the background of a listview item when it's selected requires a custom list and possible multiple xml files. Oct 24 11:36:49 <[twisti]_s> pancakeface, i think that is something you should be setting in your layout, not in code Oct 24 11:37:36 * Baluse updates to android studio 0.3.1 Oct 24 11:38:04 hope not crash Oct 24 11:39:10 You can't set that in your layout. Oct 24 11:41:05 <[twisti]_s> margle, can genymotion only emulate new devices ? i was trying to see if something worked in 2.3 Oct 24 11:41:47 [twisti]_s: urgh, yeah it can't Oct 24 11:42:09 <[twisti]_s> ah ok, it still looks pretty fancy, and i have to test on modern ones too, so ill still keep it Oct 24 11:42:22 Hmm. I need something like a custom scrollview (horizontal+vertical+pinch zooming), a bit like the view of Google Maps app. Oct 24 11:42:27 Do I need to write it from scratch? Oct 24 11:45:49 I'm starting on a somewhat complex layout animation where I move and show/hide different views in one go. See https://dl.dropboxusercontent.com/u/6509805/search_layout_animation.png . I need to support API-8. What are the best ways of doing this? Anyone with good experience on this? I'm considering using NineOldDroids so I can take advantage of the more modern animation concepts Oct 24 11:46:56 Ideally all views will be in the same RelativeLayout and I just change their properties from state 1 to state 2... Oct 24 11:47:21 Can any money be made for a small part-time android dev like me? Oct 24 11:54:39 timmillwood: i dont know, what do you mean? Oct 24 11:57:28 nobody worked on layout animations? Oct 24 11:58:39 not a whole lot Oct 24 11:58:59 although I did have a transparent toolbar that would come up and down with scrolling Oct 24 11:59:33 and, i dont know if its relevant, but in order to have it transparent, and come up and down and still have the background screen visible Oct 24 11:59:42 it had to be a frame layout, relative didnt work Oct 24 12:06:46 <[twisti]_s> margle: thanks for the tip, that emulator is very nice Oct 24 12:09:43 otiose: thanks for the tip Oct 24 12:22:16 do alpha installs show up as stats in the play store ? Oct 24 12:22:49 i mean as part of the statistics Oct 24 12:23:25 newbie question: I have a Button with no text and bitmap background, I want it to resize itself based on the device resolution (the bitmap size is ok only for 1280x720). How to do that? Oct 24 12:40:07 lucrus, using an ImageButton? Oct 24 12:40:26 lucrus, or an ImageView directly Oct 24 12:41:40 lucrus, ImageButton should be preferred anyway :) Oct 24 12:41:56 mastro, how do I tell ImageButton "resize yourself to fit about 50% in width" in XML? Oct 24 12:43:20 s/in width/of display width Oct 24 12:45:34 lucrus, you either build your button programmatically (by code) or do tricks with linear layouts weights and structures views Oct 24 12:53:30 let's go programmatically, I don't like tricks in layouts, they tend to explode when you miss that magic bit needed to master them in deep... should I put by bitmaps in assets and scale them with Bitmap.createScaledBitmap? Oct 24 13:04:16 lucrus, a horizontal linear layout with will work if you then assign layout_weights of 2,1,2 I think Oct 24 13:21:41 Hello everyone, I just launched Android Studio and Im getting a dependency error for appcombat7, how do I fix it on linux? Oct 24 13:21:59 appcombat-v7 I think Oct 24 13:22:33 is appcombat some kind of tool you're using ? Oct 24 13:22:54 do you mean appcompat ? Oct 24 13:23:05 dont get me wrong, app combat does sound cool Oct 24 13:23:54 wmealing_: Nope, honestly, I have no idea what it is. I just downloaded the Android Studio v0.3.1, then made a new project and it started building it, now in my error logs i have one error saying "Could not find any version that matches com.android.support:appcombat-v7:+." lol Oct 24 13:25:00 so it is appcombat ? Oct 24 13:25:30 might have to download android studio if it is... Oct 24 13:26:56 wmealing_: errr... what? lol Oct 24 13:27:12 app comBat or appcomPat Oct 24 13:27:25 wmealing_: oh yea its pat o_O Oct 24 13:27:30 wmealing_: I thought its combat lmao Oct 24 13:27:40 that may help you with your google search Oct 24 13:27:50 wmealing_: Yep, thanks for pointing that out :) Oct 24 14:01:03 How exactly does one inflate download count? Oct 24 14:01:26 I couldn't find a single blog on creating multiple listview from sqlite data (locally stored) :( … kindly help Oct 24 14:08:44 How the hell does one artificially inflate download count? Oct 24 14:23:32 by downloading> Oct 24 14:24:37 ask bbm guys :) Oct 24 14:25:01 <^cheeky> can some one give me light switch or power button gfx :P Oct 24 14:25:03 <^cheeky> pls pls Oct 24 14:28:46 do i have to use Fragments in a Tab navigated activity ? Oct 24 14:28:51 does anyone know about in app subscriptions and how they work if you have a free trial period, can the user use that, cancel, re-sub and use it again… and repeat ? there is no info on the dev site Oct 24 14:29:02 Zylinx, what's wrong with fragments? Oct 24 14:29:07 Zylinx: no Oct 24 14:29:36 can use fragements in whatever holds a view Oct 24 14:29:42 im confused, can someone tell me what getSupportFragmentManager().beginTransaction().replace(R.id.relativeLayout1, fragment).commit(); Oct 24 14:29:43 or not if it headless Oct 24 14:29:48 what that does ? Oct 24 14:30:06 it replaces a fragment Oct 24 14:30:19 that is already in view with id relativelayout1 Oct 24 14:30:35 with a new fragment called, erm, fragment Oct 24 14:31:18 ok thats what i thaught and it makes sence but in practice thats not whats happening :/ Oct 24 14:31:23 getSupportFragmentManager().beginTransaction().replace(R.id.idofmyviewwithexistingfragment, myShinyNewFragmentToReplaceTheOneInTheVuew).commit() Oct 24 14:31:50 I would suggest it to be an implementation error then Oct 24 14:31:59 ok Oct 24 14:32:03 hmm Oct 24 14:32:05 cause without simple transactions like that, fragments become meaningless Oct 24 14:32:23 anyone able to answer my subscription question ? Oct 24 14:32:30 cause I'm worried now Oct 24 14:32:33 thanks, il look a little bit harder and maybe come back with better questions :) Oct 24 14:32:41 ZY Oct 24 14:32:54 Zylinx: whats happening ? error ? logcoat/stack trace ? Oct 24 14:33:40 no im just a little bit disorientated from the example activity i was presented with and i changed it before properly understanding what is going on Oct 24 14:35:53 how is the FragmentActivity's ContentView related to the fragments Oct 24 14:36:28 it holds the root view Oct 24 14:36:31 for the activity Oct 24 14:36:53 ok so that should remain something like a container Oct 24 14:36:54 do you know what views are, id's and inflation / layouts ? Oct 24 14:37:09 I think you should stop attempting fragments and learn the basics Oct 24 14:37:15 that would be my suggestion Oct 24 14:37:32 yeah ok Oct 24 14:37:45 maybe a little re-reading Oct 24 14:38:06 maybe starting with android 4.0.3 or something as the minimum api level too Oct 24 14:38:15 i am Oct 24 14:38:28 well then do use android-support-v13 package rather than -v4 Oct 24 14:38:53 oh.. Oct 24 14:39:02 it gets rid of fragmentactivity and supportfragmentmanager Oct 24 14:39:10 hmmm Oct 24 14:39:15 i had no idea about that Oct 24 14:39:21 i noticed the V4 imports Oct 24 14:39:25 fragmentactivity is just activity after that, and supportfragmentmanager is simply fragmentmanager Oct 24 14:39:36 <^cheeky> immmm hii why is that when i just opened android studio, and then tried to run my project on an emulator i get local path doesn't exitst :( Oct 24 14:40:36 I couldn't find a single blog on creating multiple listview from sqlite data (locally stored) :( … kindly help Oct 24 14:41:34 rabbi1: can you create 1 list view ? with sqlite data ? Oct 24 14:41:46 with an adapter powered by a cursor ? Oct 24 14:42:13 if so, use another cursor with a different query and hey, repeat for the amount of listView you want :) Oct 24 14:42:16 StingRay_: i was able to with xml Oct 24 14:42:23 if not, learn how to do it with 1 Oct 24 14:42:31 <^cheeky> :( oh man, all my files are gone !!!!!!!!!!!! from android studio !!!!!! what just happened Oct 24 14:42:43 i need to store sqlite data locally. not finding any tutorial help on that Oct 24 14:43:14 rabbi1: ????? Oct 24 14:43:21 you jest ? Oct 24 14:43:44 http://bit.ly/1akGoMo Oct 24 14:44:29 i read 757,000 results… I would think at minimum the top thousand or so are directly relevant Oct 24 14:44:47 so not sure what search engine (if any) you have used to fine no results Oct 24 14:44:54 <^cheeky> is there a bug in android studio, it just told me local path cannot be found next thing when i tried to refresh gradle .. all my files disappeared and all i am left with is build.gradle Oct 24 14:45:10 ^cheeky :O Oct 24 14:45:18 it is preview software :) Oct 24 14:45:42 ^cheeky: ok you just prompted me to check in, sync and local vc trigger Oct 24 14:45:44 <^cheeky> i really really really really really really want to be awarded the idiot of the year Oct 24 14:45:45 thanks Oct 24 14:45:56 StingRay_: thanks, but i was more specific search, that more generic.. anyway will have a look once again Oct 24 14:46:20 does anyone here have any experience creating a heatmap to display on top of a google map? (API v2) Oct 24 14:46:23 * alankila is hoping that AS makes ADT+eclipse seem like shining piece of engineering in comparison. Oct 24 14:46:41 I found mapex, which is for API v1 Oct 24 14:46:48 otherwise I'm going to have to migrate to it eventually. Bother. Oct 24 14:47:33 I know how to create the heatmap, the main issue is making it work with the google map Oct 24 14:47:54 <^cheeky> soooo .... errrrm ... i start all over agin then Oct 24 14:48:06 <^cheeky> i guess eclipse + adt :( Oct 24 14:48:18 <^cheeky> maybe... intellij .. maybe a lil more stable Oct 24 14:48:36 lucrus, to be honest when someone ask me how to size an image half screen and that's a button I think they are doing something horribly wrong. No do not put it in assets put it in drawable-XXX directories, and if it is a graphical image should stay in drawable-nodpi and let the imageview scale it Oct 24 14:49:21 alankila i think there is legit criticism for eclipse (although i like it) but think most people's negative experience comes from the ADT (and rest of the android tools) … i think what people are forgetting here with AS is that, like the ADT, google is involved :D Oct 24 14:49:47 lucrus, but rethink your UI, having an image as button sucks most of the time.. you usually either want an icon of fixed size either a button with text and geometric background... I'm curious to know how will you give users feedback upon touch, press, focus Oct 24 14:49:53 people should stop making java look bad. It does a fine job at that on its own. Oct 24 14:49:58 lucrus, I bet you didn't tough of it Oct 24 14:50:19 (above statement subject to revisal after I can check how jdk8 is) Oct 24 14:50:36 seems like one of the bigger java improvements Oct 24 14:50:45 <^cheeky> g00s: idea 12 ok i suppose ? Oct 24 14:51:07 ^cheeky idea 12 was robust; thats before google started working on anything :D Oct 24 14:51:32 mastro, thanks for the hints. I did think about that, but I'm not in charge for those decisions... I agree it sucks, but that's all I can do about it! Oct 24 14:51:35 alankila, didn't followed your chat, but AS is great. It has bugs, like any preview software, but it's just better then Eclipse over many aspects. Gradle is another thing: this is still preview as well but it is promising well Oct 24 14:51:48 <^cheeky> so ... i dunno what to do ... i am really scared to touch AS now .. :( Oct 24 14:51:55 lucrus, I know the feeling Oct 24 14:52:01 ^cheeky didn't you have version control ? Oct 24 14:52:30 <^cheeky> i have Oct 24 14:52:38 as usual, everyone says $x is better or $y is better but there are no particulars that would tell me how or why. Oct 24 14:52:50 <^cheeky> but every project i open its messing up Oct 24 14:52:55 lucrus, try pop out this issues to your boss / whoever is in charge for the decision: user feedback, APK size, cost in development (simple icon = time to build the icon, image to be adapted to 50% of the screen = development time) Oct 24 14:53:23 lucrus, and point out that out of the increased cost in development you obtain a lower (shittier I would say) UI Oct 24 14:53:31 I meant lower quality Oct 24 14:53:39 i think once eclipse gets gradle support i'll probably go back to that, especially if it works ;) Oct 24 14:53:43 (in the adt) Oct 24 14:53:57 mastro, I'll try, thanks Oct 24 14:53:58 g00s, why? Oct 24 14:54:20 g00s, currently the only bad part of AS is the (missing) NDK support Oct 24 14:54:28 apart from the bugs Oct 24 14:54:29 alankila: For me it was mainly the autocompletion in intellij that made me switch Oct 24 14:54:34 just preference Oct 24 14:54:42 g00s, preference over what Oct 24 14:54:43 ? Oct 24 14:54:48 yeah eclipse sure doesn't shine with autocompletion, I can grant anyone that Oct 24 14:55:10 Other than that, eclipse and intellij can do pretty much the same Oct 24 14:55:15 Eclipse doen't shine at anything but wide usage Oct 24 14:55:18 mastro hm, i like eclipse workspaces, among other things Oct 24 14:55:39 also i use eclipse anyhow for lua Oct 24 14:55:42 g00s, no differences in Intellij project Oct 24 14:55:42 and xtext Oct 24 14:55:56 g00s, Intellij project == Eclipse workspace Oct 24 14:56:01 no? Oct 24 14:56:04 >.> Oct 24 14:56:13 Oh, and that intellij actually shows you build errors in the ide.. With eclipse I had to constantly do ant builds to get e.g. xml errors Oct 24 14:56:25 g00s, sorry.. Intellij project = Eclipse workspace + actually usefulness Oct 24 14:56:48 <^cheeky> great ill erase everything then Oct 24 14:56:59 <^cheeky> and try to use it again or ill try idea Oct 24 14:57:01 <^cheeky> 12 Oct 24 14:57:25 ^cheeky you'll have a tough time going back to idea 12, if you use the regular gradle dir structure Oct 24 14:57:40 has anyone ever done an Appengine and Android Studio project? I am experimenting not, but a little foggy on strt instructions... I cann ot find the App ID in the cloud console Oct 24 14:57:45 <^cheeky> i don't want to use this gradle thing anymore Oct 24 14:57:45 I have already created an app in cloud counsole... and trying to generate an app engine backend Oct 24 14:58:13 ^cheeky you have as 0.3.1, right ? Oct 24 14:58:19 ^cheeky, don't get why gradle is just way better then ant Oct 24 14:58:41 <^cheeky> i am the epiphany of person who can't program Oct 24 14:58:43 <^cheeky> yeah Oct 24 14:58:55 <^cheeky> the new one .. like an idiot i kept on upgrading when ever the release was out Oct 24 14:59:19 my biggest problem with this version of AS is that the code editor keeps 'internal error' 'ing, some exception on code folding blowing chunks, so I have to restart AS Oct 24 14:59:23 <^cheeky> i guess idea 12 would be good since there is no gradle support Oct 24 14:59:32 <^cheeky> yes yes that 2 Oct 24 14:59:37 <^cheeky> it keeps saying that as well Oct 24 14:59:39 <^cheeky> blaaah Oct 24 14:59:58 once you get that internal error you can't open any files Oct 24 15:00:04 well, i can't anyhow ;) Oct 24 15:00:27 <^cheeky> g00s: i took your advice and genymotion is epic !!!!!!!! Oct 24 15:00:31 but the crash report goes to google, so hopefully they see it Oct 24 15:00:38 ^cheeky \o/ Oct 24 15:01:05 <^cheeky> using an SSD also helps .. but still the underlying problem, of cores ... just sucks .. compiling at least Oct 24 15:01:33 <^cheeky> yeah yeah thats what i am hoping, i sent all crash reports ... but i will never get this app ever to work and been up all Oct 24 15:01:35 <^cheeky> what ever Oct 24 15:01:59 ^cheeky, g00s you are saying AS / Gradle sucks basing your opinion on preview software. Oct 24 15:02:17 i'm not saying it sucks Oct 24 15:02:34 i'm using AS and quite liking it, along with gradle Oct 24 15:02:46 i just like eclipse more :D Oct 24 15:02:47 <^cheeky> neither am i , just saying its really painful .. specially for noob Oct 24 15:02:47 problably +0.5 version later Oct 24 15:03:14 I'm saying it sucks! Oct 24 15:03:27 i do like gradle very much though, much more than ant Oct 24 15:03:36 all software sucks!! reguardless of version/release state :) Oct 24 15:03:38 i like maven a little more if i don't have to fuck with it Oct 24 15:03:49 but as soon as i have to mess with it, thats where gradle shines Oct 24 15:04:05 StingRay_ get 10.9 yet ! Oct 24 15:04:15 does anyone want to help a fellow noob out by explaining the android dev site a little bit? Oct 24 15:04:35 jaxon11: sure Oct 24 15:05:27 where do I find the Api Key in cloud console? Oct 24 15:05:47 is there a way to make sure Animations on _different_ views perform in sync? Like an AnimationSet but on different views? Oct 24 15:06:16 I can of course call startAnimation on the different views and set the same time, but the may strafe from each other a bit - better if they are linked to the same timer Oct 24 15:09:01 ok people Oct 24 15:09:15 How does one go about inflating download count? Oct 24 15:09:27 for science Oct 24 15:10:02 If google warned against this in the ToS Oct 24 15:10:06 well, i guess you contact one of those shady outfits that gives you 'placement' Oct 24 15:10:16 It must be possible Oct 24 15:10:17 DarkSlay3r: you go to http://appturbo.it/ and pay them money to include your app Oct 24 15:10:59 DarkSlay3r: people will then download it to "check it out" - you might get a lot of downloads, but it may not translate into active users in the end. Oct 24 15:11:00 snowpong: are you doing view animation or property animation? Oct 24 15:11:23 snowpong: that makes sense... Oct 24 15:11:23 jjnye: I'm doing view animations - I am on API 8 so it's easier that way Oct 24 15:11:33 i was there thinking you pay a dude Oct 24 15:11:46 who has 10,000 phones in his basement Oct 24 15:12:41 snowpong: have you seen this? http://stackoverflow.com/questions/4196209/simultaneous-translations-on-android Oct 24 15:13:21 <^cheeky> bloody hello!!!!!!, idea 12.1.6 does not create all those layout directories or what ever or anything like that !!!!! Oct 24 15:13:22 <^cheeky> :( Oct 24 15:13:30 DarkSlay3r: I'm sure that exists as well somewhere Oct 24 15:14:06 i'd be surprised if it didn't Oct 24 15:14:21 ah, finally worked out why AS can't open the project Oct 24 15:14:28 <^cheeky> what Oct 24 15:14:35 it seems to have downloaded a gradle 1.6 at some point into the project and doesn't want to cope with it now Oct 24 15:15:43 alankila i just have my own local gradle install and point it to that Oct 24 15:15:56 never used gradlew either Oct 24 15:15:58 jjnye: ah, smart. I don't get why he invalidates them, but I get the idea. I don't think that guarantees they'll stay synced - but at least it's more likely they start at the same time. Oct 24 15:16:16 this is a GAE question.. Oct 24 15:16:19 I am reading in a tutorial that "Click on the words “Project ID” on the top left to toggle to the Project Number. Copy this as well." Well, I have tried clicking in all of my browsers on my MAC... and the "Project ID" does not toggle to Project Number.. what am I doing wrong? Oct 24 15:16:37 <^cheeky> anyone here uses idea 12 for android dev ? Oct 24 15:16:55 I don't think gradle knows how to build the R file though Oct 24 15:17:08 I've no idea what's wrong, but it can't be imported and neither can I find it Oct 24 15:17:14 hm Oct 24 15:17:22 shut down AS; $gradle clean Oct 24 15:17:24 <^cheeky> or safest best just use, eclipse like i should have Oct 24 15:17:28 $gradle assembleDebug Oct 24 15:17:57 make sure you're using the 0.6.3 plugin, gradle 1.8 Oct 24 15:18:04 Is android studio out of beta? Oct 24 15:18:23 <^cheeky> DarkSlay3r: nope Oct 24 15:18:52 Hi everyone,i want to make a simple quotes app.How do i store all the quotes?use the database or simple store them in strings.xml? Oct 24 15:19:08 strings.xml seems fine :) Oct 24 15:19:14 snowpong: yeah i'm a little fuzzy on how it works. my other instinct was to extend animation to work with multiple views but i have no idea what that would entail Oct 24 15:19:26 cr0: are they going to be dynamic? loaded from a server? or hard coded with app updates? Oct 24 15:19:42 I think it fails to build the renderscript. gradle is confused about the version of android I'm targeting, I think Oct 24 15:19:46 jaynewstorm: hardcoded.. Oct 24 15:20:58 strings.xml would probably be easiest then... Oct 24 15:21:00 I guess I should put somtething like 'minSdkVersion 17' into the build.gradle file except that doesn't seem like it's accepted syntax Oct 24 15:21:05 alankila luckily, gradle-examples has a few renderscript examples ;) Oct 24 15:21:21 g00s: what if i have to store more than 10,000 quotes? Oct 24 15:21:28 the correct version is in android manifest though... Oct 24 15:21:29 oh Oct 24 15:21:57 cr0 i guess, how do you plan on picking a quote ? Oct 24 15:22:08 cr0: you're going to hardcode 10,000 quotes? Oct 24 15:22:43 user can select next and previous button and also there will be random button.. Oct 24 15:23:07 real men don't use strings.xml Oct 24 15:23:15 snowpong, never tried, but I would try to set both of them the same interpolator Oct 24 15:23:32 Real men HARDcode into class Oct 24 15:23:40 enums ! Oct 24 15:23:50 class for each quote Oct 24 15:23:56 <^cheeky> ummm guys .. how do i add picasso to idea ? Oct 24 15:24:11 cr0 you could pre-create a database with them loaded in Oct 24 15:24:27 but what about memory? i think its not efficient to store quotes in class. Oct 24 15:24:35 i was joking :| Oct 24 15:24:48 dmac81: i dunno about on android Oct 24 15:25:10 but you can in java Oct 24 15:25:19 cr0: my vote goes with dmac81 … create sqlite database in assets, easy to load with a helper, query to your needs Oct 24 15:25:22 small db file with pre loaded data Oct 24 15:25:34 ^cheeky, you don't Oct 24 15:25:52 StingRay_: Real men use Enums Oct 24 15:25:53 ^cheeky, you probably mean: how do I add picasso library to my project using gradle Oct 24 15:26:03 don't make him a girly man Oct 24 15:26:05 bah. I've no idea how to hack this. I guess currently renderscript compiler simply can't be told what the minsdk is Oct 24 15:26:25 DarkSlay3r: smart ones use whats best / fit for purpose :) Oct 24 15:26:32 thanks everyone,i'll go with using database to store quotes... Oct 24 15:26:35 and dont care about types :) Oct 24 15:26:38 <^cheeky> mastro: so i need install gradle plugin for intelli idea 12 ? Oct 24 15:26:42 StingRay_: Be a mna Oct 24 15:26:45 man** Oct 24 15:26:55 ^cheeky, why are you using intellij 12 instead of Android Studio? Oct 24 15:26:58 DarkSlay3r: dont have to be anything, I am what I am Oct 24 15:27:00 :) Oct 24 15:27:03 <^cheeky> lol Oct 24 15:27:10 StingRay_: You are a man Oct 24 15:27:11 ^cheeky, bad idea Oct 24 15:27:13 <^cheeky> errrm .. it just ruined my life Oct 24 15:27:27 You probably use pointers Oct 24 15:27:42 <|0xD34D|> <3 pointers Oct 24 15:28:41 mastro, can't I simply use ImageButtons with android:style and xml selectors pointing to bitmaps in drawable-nodpi? That should fix the user feedback problem, right? Oct 24 15:29:13 * StingRay_ wants to kill Adobe Illustrator…. but I think it give it more pain by being in existance !! Oct 24 15:29:32 StingRay_ i'm waiting for Sketch to get a few more features Oct 24 15:29:38 but dev seems pretty slow Oct 24 15:29:56 g00s: I need a few of the features of AI that wont be in sketch Oct 24 15:29:56 mastro, s/android:style/style Oct 24 15:29:58 and . fucking inscape , ugh Oct 24 15:30:03 I wish i could make my own graphics Oct 24 15:30:06 lucrus, you would need a minimum of 4 different bitmap. (or you can set your bitmap as background and add something translucent on the top, as a selector) Oct 24 15:30:07 i have no skills Oct 24 15:30:31 mastro, why 4? Oct 24 15:30:50 lucrus, normal, focused, pressed, disabled Oct 24 15:31:10 DarkSlay3r: I wish I could properly program, but been doing VFX all my life Oct 24 15:31:11 :) Oct 24 15:31:15 swap ya Oct 24 15:31:15 <^cheeky> ok completely deleted all android studio files :( Oct 24 15:31:18 <^cheeky> second time Oct 24 15:31:40 just use eclipse Oct 24 15:31:43 heh Oct 24 15:32:14 or plain intellij Oct 24 15:32:21 <^cheeky> whaaat i was about to do that lol Oct 24 15:32:28 <^cheeky> intelliJ 12 yeah ? Oct 24 15:32:36 what else is there :P Oct 24 15:32:37 <^cheeky> but how would i import or add picasso to it ? Oct 24 15:32:40 StingRay_: i honestly wish i could bask in your wealth of knowledge Oct 24 15:32:41 <^cheeky> i know right Oct 24 15:32:58 mastro: hm interesting - android:shareInterpolator in http://developer.android.com/guide/topics/resources/animation-resource.html#Tween seems to hint at this being possible Oct 24 15:33:03 mastro, ok, my app does not need focused and disabled, if I don't specify them in XML, it would be ok right? Oct 24 15:33:24 <^cheeky> hey at least i made one functioning app this morning .. a simple flash light lol... but then i stopped coz i was trying to make a power button in gimp and that failed so no release of that app :( Oct 24 15:33:33 <^cheeky> i want to release something before i have to move : ( Oct 24 15:34:02 lucrus, I found it weird your app do not need focused Oct 24 15:34:29 snowpong, well, then try it :) I'm curious to know if it works, but should in my opinion Oct 24 15:34:59 mastro, how do you focus a button without a tab key (without a whole keyboard for that matter)? Oct 24 15:36:13 lucrus, yeah, why the Google crew bothered developing focus all the way around? :) Oct 24 15:36:43 yay, i did a new logo Oct 24 15:36:56 I'm part artist again!! Oct 24 15:37:26 partist Oct 24 15:37:48 mastro, :) no I'm serious, is the focused state ever used without a keyboard? Oct 24 15:38:13 StingRay_ did you see pixelmator 3 ? Oct 24 15:38:38 StingRay_: I am following this… looks good for now … ;) Oct 24 15:38:40 http://www.androidhive.info/2013/09/android-sqlite-database-with-multiple-tables/ Oct 24 15:39:14 rabbi1: erm, do you need them relational ? Oct 24 15:39:17 and doing joins ? Oct 24 15:39:36 cause if not, then no… thats not good :) Oct 24 15:39:52 StingRay_: as of now its a TODO app, where user can add to DB. but will see how can have just read instead of CRUD Oct 24 15:40:42 ugh, I think I just lost interest in my new logo, need to do another Oct 24 15:40:45 lucrus, http://developer.android.com/guide/topics/ui/accessibility/apps.html Oct 24 15:41:00 lucrus, and the android specification doesn't say the device has to be touch or can't have a keyboard Oct 24 15:41:06 yeah, have to do joins i guess. cause i have first listview of books and clicking on a book should display all chapters related to that book in a next listview activity… am i loosing ? Oct 24 15:41:14 lucrus, for example the google TV need focus Oct 24 15:41:27 lucrus, and I'm sure there are other devices needing it... Oct 24 15:41:44 StingRay_: ^^ Oct 24 15:41:45 rabbi1: thats not really a join, as it segemented Oct 24 15:41:46 mastro, I know, but my app targets only little touch devices Oct 24 15:41:58 StingRay_: Oops !! :( Oct 24 15:41:58 mastro: sharing the interpolator works fine - but I think the interpolator is stateless. It gets the fraction of the elapsed duration as input, and gives a float as output - I think something else is keeping track of time Oct 24 15:42:12 mastro: look at the api at https://developer.android.com/reference/android/view/animation/Interpolator.html Oct 24 15:42:14 lucrus, tap on something Oct 24 15:42:25 hold and slide your finger away Oct 24 15:42:34 I am not bothered, if join or no.. just get my app done ... Oct 24 15:42:36 focused state Oct 24 15:42:41 rabbi1: if you had to get 2 books, info, and chapters, and the info and chapters are diff tables, and that data is joined to 1, then yeah Oct 24 15:43:09 but that data would be 1 unit from 3 sources Oct 24 15:43:12 StingRay_: Only one, Oct 24 15:43:24 DarkSlay3r, that state is "pressed", maybe focused afterwards, but my buttons, after the "pressed" state, disappear because they lead to a different activity Oct 24 15:43:26 your thing is only ever 1 data unit for 1 display Oct 24 15:43:28 if you get me Oct 24 15:43:40 neways, tis a data design issue Oct 24 15:43:46 and I'm an artist again Oct 24 15:43:48 :) Oct 24 15:43:50 but i need a book_id when the user clicks so that it can fetch the relevant chapters Oct 24 15:43:52 cause I did a logo Oct 24 15:44:07 i thought it only fires on finger lifted.. Oct 24 15:44:09 o ok... Oct 24 15:44:11 my bad Oct 24 15:44:23 rabbi1: see to me thats 1 table of chappters gouped by books Oct 24 15:45:04 so 1 data source, 2 views Oct 24 15:45:09 StingRay_: else, i could have single table having chapter_id and book_id …. Oct 24 15:45:15 StingRay_: that sounds to me like a book of books Oct 24 15:45:21 na Oct 24 15:45:30 it's a table of chapters with book reference Oct 24 15:45:43 StingRay_: yeap Oct 24 15:46:01 fk even I'm confunsing myself, leave me alone, I'm an artist again!! I care not for your data programmery geekiness! Oct 24 15:46:21 StingRay_: :) ok sure Oct 24 15:46:44 StingRay_: take me with you!!! Oct 24 15:47:58 snowpong, should be the Animator: ValueAnimator animator = ValueAnimator.ofFloat(1.0f); ... animator.start(); if you build the animation manually you should have access to this Oct 24 15:50:07 DarkSlay3r, mastro, ok you've persuaded me, there will be 3 bitmaps for each button: normal, pressed and focused. Oct 24 15:51:17 mastro, should I put the selectors xml files in drawable-nodpi also? Oct 24 15:52:03 lucrus, no, drawable/ will do Oct 24 15:52:27 mastro, and bitmaps in drawable-nodpi instead, right? Oct 24 15:53:31 lucrus, yes, unless you want to provide 4 versions of those bitmap (not a good idea for bitmap) Oct 24 15:54:17 mastro, do you mean one version for each density? Oct 24 15:54:51 off topic and sorry for this, but just playing with in-app-billing, but with the google wallet thing, my orders are yellow but delivered and does not give me option to refund ? is this a time thing ? if so how long ? Oct 24 15:56:22 has anyone here been able to set their AS Update setting to "Dev" channel? it lets me select anything, keep resetting back to canary channel Oct 24 15:58:31 but, what's the difference between drawable/ and drawable-nodpi/ ? Isn't drawable/ looked up as fallback for drawables missing in drawable-*dpi/ folders? Oct 24 16:09:31 what is happening with the line args.putInt(ArticleFragment.ARG_POSITION, position); at the end of http://developer.android.com/training/basics/fragments/fragment-ui.html ? Oct 24 16:10:07 what are ARG_POSITION and position? Oct 24 16:10:19 String and int Oct 24 16:10:53 lucrus: for bitmaps drawable/ is treated as drawable-mdpi/, so if you use it then on a xhdpi device it will scale the image up. drawable-nodpi bitmaps won't automatically be scaled ever Oct 24 16:11:15 kevinb, thanks Oct 24 16:11:29 lucrus: it's common to put xml in drawable/, though i think putting xml in drawable-nodpi would do the same thing Oct 24 16:11:34 Does anyone have any idea why a custom account shows "Sync disabled" even though I called setIsSyncable(account, authority, 1)? It doesn't even give the option to enable syncing for that account. Oct 24 16:12:28 StingRay_, what is their purpose? to select the fragment to be replaced? Oct 24 16:12:29 StingRay_: do you have an option to cancel? I think it's called Cancel when it's yellow but Refund when it's green. Oct 24 16:13:06 kevinb: OMG!! I feel really dense! Oct 24 16:13:17 kevinb: cheers Oct 24 16:13:29 no problem. the interface for checkout/wallet is rather awkward Oct 24 16:13:41 1st hour of looking at it today Oct 24 16:13:49 not the best Oct 24 16:14:11 Hi all. I'm trying to teach some students android development and we're reaching the point where data needs to be saved offline, but i can never find a best practices guide for it. The app is pretty simple: make a note taking app for different subjects. Any suggestions? I know preference files are pretty simple, I can also do some JSON/XML in a text file or go on and do a full SQLite db.. but that feels like an overkill. Oct 24 16:14:14 svector: their purpose is whatever you want, or however they are used Oct 24 16:14:41 Apache's InetAddressValidator and DomainValidator area great if you want to check IP/host Oct 24 16:14:45 svector: my guess from the names, it will start a fragment with an article from a data source at an index Oct 24 16:15:31 StingRay_, so were are passing some data...I thought they had purpose with explicit relevance to the example. Thanks! Oct 24 16:16:28 svector: naa,,, same as me doing String USE_BLACK = "anyrandomcrap"; arg.putBoolean(USE_BLACK,true); Oct 24 16:16:59 <^cheeky> la la lal a... e crazy ... for getting android studio again .. and piecing back the app again :( Oct 24 16:17:28 StingRay_: that's right. thanks again Oct 24 16:18:53 * alankila idly wonders why is there arg.putType(x, y) when it could have been arg.put(x, y) and leave the method selection to compiler Oct 24 16:19:38 alankila: it can ? Oct 24 16:19:45 sure, it's called overloading Oct 24 16:20:15 no i know Oct 24 16:20:24 it was more, it can! ? Oct 24 16:20:30 but you mean the example Oct 24 16:20:32 not the map Oct 24 16:20:33 :) Oct 24 16:33:55 hi guys, Oct 24 16:34:04 Did anybody switch to the new GCM by google ? Oct 24 16:45:40 New GCM? Oct 24 16:45:55 lut4rp yea Oct 24 16:46:19 the one that does not use GCMBaseIntentService anymore Oct 24 16:47:12 oic Oct 24 16:47:52 hi, anyone there who has any idea in doing a screencast to other android devices? with/without the use of a server and with/without root/admin rights.. Oct 24 16:48:34 no0bshitz no idea mate :/ Oct 24 16:49:14 I've defined my Button with style="@style/...", defined my styles in styles.xml, defined my selectors in drawable/ and put my bitmaps in drawable/ too (I do want them to scale), but guess what? They don't scale... Oct 24 16:50:10 no wait, they DO scale! Oct 24 16:50:16 but not enough... Oct 24 16:50:38 ok I need padding views around the buttons Oct 24 16:51:02 lut4rp ?? have u ? Oct 24 16:53:20 tonyMontana9099, Nope, I just came to know about it ... from you :P Oct 24 16:56:47 lut4rp oh okay, because It is around 4 months old now maybe... even more... I implemented it in a project,,, but it was a bit shaky, sometimes it worked sometimes it did not.. then I read there were bugs in it... I switched back to the older method that uses GCMBaseIntentService and it is working like a charm... Oct 24 16:56:58 so I wanted to ask if anybody had experience with it in the channel. Oct 24 16:57:04 oic Oct 24 16:58:37 I am inside the documentation of shared preferences, and all the public methods are abstract Oct 24 16:58:58 But I do not recall we ever extend the sharepreference class... why they are abstract ? Oct 24 16:59:04 <^cheeky> :( srsly wannna Oct 24 16:59:05 <^cheeky> cry !!!!!!!!! lol Oct 24 16:59:39 ^cheeky bcoz of my question ? Oct 24 17:00:25 <^cheeky> hahahahah Oct 24 17:00:40 <^cheeky> oh noes plz .. just where i am with my app Oct 24 17:00:42 <^cheeky> sorry Oct 24 17:01:00 ^cheeky ah okay Oct 24 17:01:04 ^cheeky no worrie Oct 24 17:01:28 <^cheeky> sorry heh Oct 24 17:08:34 ok, I have been facing problem with Skype app on my phone Oct 24 17:08:48 and I think that it was hardware specific Oct 24 17:09:00 :-( Oct 24 17:09:17 anyone also faced similar problem Oct 24 17:10:01 not really mate, working fine. Oct 24 17:10:26 what does development have to do with skype not working Oct 24 17:10:51 pfn nice question lol Oct 24 17:11:17 out toaster did not work today too :/ Oct 24 17:13:26 pfn, someone developed the app Oct 24 17:13:36 and its broken for me :- Oct 24 17:13:38 and its broken for me :-( Oct 24 17:13:44 so? Oct 24 17:13:50 this is not the appropriate forum Oct 24 17:16:19 Looney, skype is currently owned by microsoft, how do you expect it not to be broken :P Oct 24 17:16:45 now this is the response I expected on this channel pfn Oct 24 17:16:53 Amen tonyMontana9099 Oct 24 17:17:20 I really hate this acquisition Oct 24 17:18:27 Looney well, you cant hate it, they try to compete google... getting all the services and making them run using 1 ID/email... Oct 24 17:18:57 well, why not try make a new field and start beating them there Oct 24 17:19:13 why would you, if you can buy a one ready made. Oct 24 17:19:16 making someone lose on home-ground is suppose to be difficult Oct 24 17:19:19 and skype is good. Oct 24 17:19:32 i wanted to find out if wakelocks use spinlocks or mutexs implementation Oct 24 17:21:26 lucrus, you should really read the android documentation... anyway drawable is used for XML. drawable-nodpi for images that shouldn't change in size with different density or photographic images. ldpi, mdpi, hdpi, xhdpi, xxhdpi should contain graphics for different device densities Oct 24 17:21:43 bye Oct 24 17:26:43 how can I enter the activity stack of android and know what is prensent in there ? Oct 24 17:33:16 stack as in ? ? Oct 24 17:33:23 what is happening Oct 24 17:33:50 which activities are running ? ? Oct 24 17:34:33 <^cheeky> i wish i knew whats wrong, with me, please if some one could lend me their mind and help me figure this out , pleaseeeeeeeee :( Oct 24 17:35:39 ^cheeky: doctors ? Oct 24 17:36:03 or you still on about that gradle problem ? Oct 24 17:36:08 <^cheeky> no no Oct 24 17:36:49 if I can at all help… I would… be aware, more an artist than dev and I'm not all that smart Oct 24 17:36:51 :) Oct 24 17:36:52 <^cheeky> well doctors yeah i probably need to see one .. but errrm, did get android studio again but only upgraded to 0.2.9 what ever not the 3.0 Oct 24 17:37:09 tonyMontana9099: with the power of google-fu: http://stackoverflow.com/questions/2442713/view-the-tasks-activity-stack Oct 24 17:37:10 <^cheeky> and i pieced the broken app i had together, again, Oct 24 17:37:11 I'm on 3 now I think Oct 24 17:38:54 <^cheeky> StingRay_: i really need to stop, but i can't, i just so badly want to make this app, and i know i suck @ programming, but i ... ermm really like it unfortunately, you know the special needs kinda person. but in the programming world. but to let you know, i am grateful for the vessel i am in and what not but i just suck @ coding lol Oct 24 17:39:40 ^cheeky kudos for you being in it because you like it. Oct 24 17:39:59 ^cheeky if you work hard, you will be good at it. just take things step by step and keep trying. Oct 24 17:40:09 <^cheeky> heh, ummm yeah i guess, i mean not like i have body swapped or anything heh Oct 24 17:40:36 <^cheeky> yeah i know, but the thing is i am not supposed to be programming , right now i need to work on moving out of state hahah Oct 24 17:41:40 <^cheeky> ill fiddle with the app a lil more, and ill ask for help .. ill try not to disturb but i haven't slept much and caffeine kinda making me all bonkers m8 Oct 24 17:41:55 ^cheeky hehehe aiight mate Oct 24 17:48:12 Hi, I am having trouble with using MediaController in a fragment anchored to an imageview. The problem is it doesn't work :) Oct 24 17:48:33 if I touch the imageview the mediacontrols do not appear Oct 24 17:48:38 "The problem is, I dont know what is the problem." - Dr. House Oct 24 17:48:46 <^cheeky> aye aye aye ...... Oct 24 17:49:16 <^cheeky> if did not touch do they appear or were they there Oct 24 17:49:37 according to the docs I should be able to attach to any view? not just a videoview? Oct 24 17:49:57 no, I can only make them appear by calling .show(); Oct 24 17:50:31 if they are gone, they stay gone Oct 24 17:50:38 is it advisable to use protected inside the async methods ? Oct 24 17:55:54 <^cheeky> tonyMontana9099: ummm maybe not .. i dunno thats what i have used in an AsyncTask, why wouldn't be advisable Oct 24 17:57:04 <^cheeky> in my app maybe thats whats wrong muahahahahah Oct 24 17:57:57 ^cheeky stop underestimating urself. none of us were born developers. Oct 24 17:58:36 http://www.youtube.com/watch?v=0SARbwvhupQ Oct 24 17:58:38 what callback do I have to register when I click on EditText? setOnClickListener sets callback if you already have the cursor and you click. Oct 24 17:59:29 maybe a focus callback? (not sure if that exists tbh) Oct 24 17:59:49 gdrc: would depend on what event you want to notice :) Oct 24 17:59:59 focus, text change, touch ? Oct 24 18:00:35 I would like to get the event when curors appears Oct 24 18:00:43 *cursor Oct 24 18:00:52 I would think focusChange then Oct 24 18:01:00 I'm gonna try Oct 24 18:02:36 tint color on listviews when you try to scroll past the last element on the list Oct 24 18:02:54 whats the keyword i can search for customizing this feature? Oct 24 18:03:01 StingRay_: thanks Oct 24 18:03:14 overscroll Oct 24 18:03:28 well overscroll indicator I think Oct 24 18:03:48 sounds right Oct 24 18:03:51 thanks StingRay_ Oct 24 18:07:01 Anyone know of simple silence detection for MediaRecorder? Oct 24 18:07:12 i.e. want to record until user stops speaking Oct 24 18:09:57 Does anyone know how to add an interface like the app timetable? Oct 24 18:10:45 and app timetable ? Oct 24 18:10:52 you mean… a timetable ? Oct 24 18:11:14 like a "table" with "times" of "item" ? Oct 24 18:11:52 where google is failing me, you guys might not - i'm looking for an example of using a Loader that supports pagination (i want to use it for an isntagram feed) - is that possible? Oct 24 18:12:04 no the app "timetable' Oct 24 18:12:44 oh, thats just look like use of listView and gridView Oct 24 18:13:18 oh u noe it? Oct 24 18:13:44 noe ? you mean know ? Oct 24 18:14:07 yes Oct 24 18:14:08 no I dont know it, I would just think it is 99% probable Oct 24 18:14:22 datandroiddude, are you 13 years old and think this is a text message? Oct 24 18:14:27 ok let me rephrase Oct 24 18:14:56 * StingRay_ wishes he was 13 again!!! Oct 24 18:15:09 I found what i'm looking for: http://docs.huihoo.com/javadoc/alfresco/android/1.0.1/org/alfresco/mobile/android/api/asynchronous/AbstractPagingLoader.html Oct 24 18:15:28 i want to save the data off a form, into small boxs displayed to the user Oct 24 18:16:17 datandroiddude: hmmm now … not sure you would "save" to a box Oct 24 18:16:37 save would imply you intend to store data in a persistant state Oct 24 18:16:42 I think you mean display Oct 24 18:16:44 yes Oct 24 18:16:52 anything on github like that? Oct 24 18:17:07 every app in existance I would think Oct 24 18:17:10 gets data Oct 24 18:17:13 displays data Oct 24 18:17:15 :) Oct 24 18:17:20 sorry to be blunt Oct 24 18:17:42 18:05:43 -!- Irssi: Join to #android-root was synced in 1 secs Oct 24 18:17:42 18:07:12 < michalrus> Hi. What's the format (hashing function?) of /data/system/password.key? I've encrypted my device and would really like to change my current screen password to something more easily-typable than "at least six letters and 1 digit". Oct 24 18:17:46 18:07:25 < michalrus> System UI won't let me do this after encrypting. Oct 24 18:17:49 Wouldn't anyone here know, by any chance? Oct 24 18:18:10 * hackkitten turns StingRay_ 2 months old~ Oct 24 18:18:14 whoops~ too far :o Oct 24 18:18:23 may you please download the app for me to explain? Oct 24 18:18:33 hackkitten: I wouldn't say no to that tbh Oct 24 18:18:35 :) Oct 24 18:18:51 :D Oct 24 18:18:53 same~ Oct 24 18:19:00 as long as I don't have to change my own diapers~ Oct 24 18:19:02 * hackkitten giggles Oct 24 18:21:01 <^cheeky> :( there is always one picture that freaking does no show .. in the grid view !!!!!!! Oct 24 18:21:05 <^cheeky> waaaaah waaaah Oct 24 18:21:08 <^cheeky> i am hungry now Oct 24 18:21:23 michalrus, why would you need to change password.key Oct 24 18:21:47 michalrus, do you have a device admin preventing you from changing the password to something easy? Oct 24 18:22:05 changing password.key will violate the password policy, and whatever app that's depending on the policy will possibly stop functioning Oct 24 18:22:50 pfn, ok. Device itself prevents me from changing password to a PIN, for example. Oct 24 18:22:59 Or even a simpler password, without a digit. Oct 24 18:23:11 michalrus, not device, you have a device admin Oct 24 18:23:14 disable the device admin Oct 24 18:23:21 Hmm. Oct 24 18:23:28 settings -> security -> device administrators Oct 24 18:23:28 Never heard of it. :o Oct 24 18:23:34 Okay! Oct 24 18:24:20 most likely from your corporate email Oct 24 18:24:31 yes, that's the number 1 reason Oct 24 18:24:39 * pfn hacks his email.apk to fixors that Oct 24 18:24:48 pfn, one item there, "Android Device Manager\nAllow Android Device Manager to lock or erase a lost device". And it's unchecked. Oct 24 18:25:15 that's the only thing that should effect a password policy requirement Oct 24 18:25:19 I'm only logged to my google account there. Oct 24 18:25:25 Ok. But it's unchecked. Oct 24 18:26:16 well, then your device shouldn't be restricting your password in any way Oct 24 18:26:34 Right. :< It's the first time I'm seeing something like that. Oct 24 18:27:45 http://www.androidhive.info/2013/09/android-sqlite-database-with-multiple-tables/ friends will this help me to create a multiple list view ? Oct 24 18:31:23 http://forum.xda-developers.com/showthread.php?p=26730744 -- maybe this is worth trying. Oct 24 18:35:39 Huh, I could have manually typed `# vdc cryptfs enablecrypto ' to encrypt the phone. Oct 24 18:35:44 Question: Say you have a Android Library Project is it possible to reference an asset from the main project that is utilizing the library? Oct 24 18:37:04 tristanoneil, define the asset in the library project, replace it in the main project Oct 24 18:37:23 tristanoneil, reference the asset in the library project, and all is good Oct 24 18:37:56 tristanoneil:or you could have getSomeAssetId(id) in lib, and extend that with a class in main project, override and return what you want so you can reference it in the lib code Oct 24 18:38:54 I do that quite a bit with fragments, that are held in my lib project Oct 24 18:39:13 to get things like databases etc Oct 24 18:39:24 other resources too :) Oct 24 18:39:52 Ok thanks everyone! Oct 24 18:45:06 so I'm messing with the showcaseview library for doing a user tutorial; i've got a fragment which is basically a custom surfaceview, it seems to draw on top of the transparent showcaseview display. A bit specific, I realize, but any thoughts how to fix that? Oct 24 18:45:52 Is there anything in the support libraries to backport RemoteControlClient, or at lest handle the verison checking for me so I don't have to worry about checking API versions myself? Oct 24 18:48:18 hey, guys. Oct 24 18:48:20 Ah, never mind, Random Media Player's sample has something for that Oct 24 18:49:20 i've got a button that's semitransparent, and i'd like to use its text as a mask so the text is transparent (and the background visible) where the text is. does anyone know of a way to do this sans bitmaps? Oct 24 18:50:34 Hello folks. Oct 24 18:51:05 <^cheeky> ok .. y heap memory is always the same amount so memory leak so far is negligible, but still its taking ages...... Oct 24 18:51:12 * ^cheeky stomach growls Oct 24 18:52:37 <^cheeky> *my heap,if one uses picasso , should placeholder be used for it to be efficient Oct 24 18:52:53 wat Oct 24 18:54:21 <^cheeky> the images get loaded into the grid view, but one or two of them don't get loaded even if i stay in the place hoping it would fetch the image but doesn't. Oct 24 18:55:17 <^cheeky> i am sorry, i need food, hopefully i should be able to converse i hope sorry Oct 24 18:55:36 josheee12, you can only do this with a bitmap.... Oct 24 19:02:19 pfn: alright, thanks. Oct 24 19:05:58 When apps get backed up, do sqlite dbs also get backed up for the user? Oct 24 19:06:16 hi good dev android for all :) Oct 24 19:08:45 to get a completely filled path, do you have to make sure the first and last points are the same? Oct 24 19:23:15 hello, if I am in fragmentB and I want to finish() this fragment and send a message to another one let's say fragmentA is a Handler a good communication method for that? I just implement a myHandler in fragmentA, pass it as a parameter to fragmentB and when the time comes send a message through that myHandler from fragmentB before finishing it? Is that a good approach? Oct 24 19:23:32 Handlers always seemed a bit bloat to me :/ Oct 24 19:25:45 cypha_foss: would not using onPause onDestroy work for that purpose ? Oct 24 19:26:04 as in system events rather than handler/message passing Oct 24 19:26:29 or you mean you need to pass value data and such ? Oct 24 19:27:37 yes I need to pass specific data to a specific function that will continue based on the results from fragmentB Oct 24 19:28:02 I would think that the design maybe a problem there Oct 24 19:28:18 handle data and results through the host fragmentActivity ? Oct 24 19:28:24 I basically want to add a refresh button in fragmentB that will cause fragmentA to reload some data from the network and call fragmentB to display them again Oct 24 19:29:29 what is there a need for fragmentA in that example ? Oct 24 19:29:44 why would fragmentB not just reload it's own data Oct 24 19:29:59 I thought that was the big advantage of fragments Oct 24 19:30:24 if you dont do things like that… is it not just a view ? Oct 24 19:30:35 and no real point to being a fragment ? Oct 24 19:30:36 cypha_foss: http://developer.android.com/guide/components/fragments.html#EventCallbacks Oct 24 19:30:44 because fragmentB is basically just a list and it only displays the data it is given via the intent. That way I can call it from fragmentA, fragmentC, fragmentD etc to display specific results... and I want to make a refresh function for that Oct 24 19:31:39 cypha_foss: you see my contextual query there though ? Oct 24 19:32:19 if fragmentB is a view or data, as a result of A,C,D etc… refresh buttin within B would just reload from the same source Oct 24 19:32:37 design of push to B would mean that A has a button, or C,D etc Oct 24 19:32:59 maybe missing the whole concept here, I just taken really strong headache tablets and feel quite baked! Oct 24 19:33:10 happy and baked! Oct 24 19:33:19 ok, I am trying to make a skype call Oct 24 19:33:56 cypha_foss: neways you can also consider implementing interfaces to the host, to control comms Oct 24 19:33:57 launch a service and seeing after some seconds that which activity is on top to know whether call has ended or not Oct 24 19:34:03 or an event bus Oct 24 19:34:06 A,C,D are not activities, they are fragments that called fragmentB to display some stuff in an expandable list and as a fragment it responds to the "Back" button as well and returns to each previous fragmentA,C,D without me handling the backstack myself Oct 24 19:34:11 or local broadcasts Oct 24 19:34:29 <^cheeky> event bus everywhere, ! Oct 24 19:34:30 would Android framework have any objection to this Oct 24 19:37:19 by event bus you mean this ? https://github.com/greenrobot/EventBus Oct 24 19:37:36 cypha_foss: or squares, or other yes Oct 24 19:38:23 you need a fair good data flow design with event buses or it can get messy Oct 24 19:38:29 specially if you are lazy like me Oct 24 19:38:31 :) Oct 24 19:39:07 cypha_foss: but for what you described I would probably go with localBroadcastManager Oct 24 19:39:18 before implementing an event bus Oct 24 19:39:41 ok i'll try that then :) :) Oct 24 19:39:49 thanks StingRay_ Oct 24 19:39:56 as in you can pass the same intent that is used to create it, so that it also refreshes etc Oct 24 19:40:24 discalimer : StingRay_ is an artist (again) Oct 24 19:40:28 more that a programmer Oct 24 19:40:37 so I maybe talking sh*t Oct 24 19:40:42 :P Oct 24 19:46:34 I am trying to do the GAE sample app... can I use a 2.2 physical device? Oct 24 19:53:02 <^cheeky> sheesh what to eat !!!!!!!! Oct 24 19:56:53 I recommend eating food. Oct 24 19:57:12 the whole foods herb potatoes has too much salt though Oct 24 19:57:48 this looks like a pretty nice lock screen http://coverscreen.tumblr.com/post/64965314790/introducing-cover Oct 24 19:57:51 <^cheeky> uggghhhh Oct 24 19:57:53 <^cheeky> hunngyyyy Oct 24 19:57:56 <^cheeky> blaaah Oct 24 19:58:12 <^cheeky> i think my thingy is running out of memory .. looking at the dump Cache is already full Oct 24 19:58:19 <^cheeky> like after 300 images :( Oct 24 19:58:32 <^cheeky> i guess grocery store and more monster when i get back :( Oct 24 19:58:40 Hi, I m experiencing issues while trying to setup my first unit tests in my app, using android-test plugin, https://gist.github.com/jrm2k6/11d575d469e559d4313d Oct 24 19:59:01 when running gradlew tests it complains about a task which is not existing in my build.gradle Oct 24 19:59:05 Calling startActivity() from outside of an Activity context requires the FLAG_ACTIVITY_NEW_TASK flag. Is this really what you want? Oct 24 19:59:16 anyone can help? Oct 24 19:59:19 whats android-test plugin? is that from google ? Oct 24 19:59:20 <^cheeky> g00s: btw, i am back on AS :( Oct 24 19:59:27 <^cheeky> heh Oct 24 19:59:41 <^cheeky> ok srs AFK f000d Oct 24 20:01:05 hm g00shttps://github.com/JakeWharton/gradle-android-test-plugin Oct 24 20:01:11 g00s: Oct 24 20:01:24 oisee Oct 24 20:02:16 I m still in the setup part :) Oct 24 20:02:28 Trying to make a stupid assertThat(1 == 1) pass. Oct 24 20:03:55 Anyone make it to DroidCon in London today? Oct 24 20:04:50 isn't today nearly over? Oct 24 20:05:27 https://gist.github.com/jrm2k6/11d575d469e559d4313d Oct 24 20:05:29 There's still time for gin. Oct 24 20:05:36 point Oct 24 20:05:37 :) Oct 24 20:05:49 Anybody can help? I dont understand why it referred to an unexisting task Oct 24 20:06:10 jrm2k6 i'm sure jake can help :D Oct 24 20:06:24 g00s: I guess he can but i dont know him Oct 24 20:06:26 :D Oct 24 20:06:38 hello hackkitten Oct 24 20:06:48 hi g00s :) Oct 24 20:08:59 dammit it is probably because of gradle 1.7 Oct 24 20:09:01 raa Oct 24 20:16:21 otiose isnt here :( Oct 24 20:22:49 is it possible to stopService from within the Service Oct 24 20:23:10 Looney: yes, stopSelf() Oct 24 20:23:35 ok will use it Oct 24 20:24:21 I want a layout that uses a user-defined coordinates system, places children at absolute coordinates in that system and maps everything to the pixels of the actual display. Should I write it myself? Oct 24 20:25:19 http://www.surfacetablethelp.com/2013/10/fix-bsod-critical_structure_corruption-in-windows-8-1.html Oct 24 20:25:48 Today I got at least 10 BSOD becouse of 8.1 bug related to HAXM. I love you microsoft Oct 24 20:26:37 https://github.com/JakeWharton/gradle-android-test-plugin/pull/26 from this, i got this: could not find method maven() for argument Oct 24 20:26:43 anybody got into this issue? Oct 24 20:26:51 JakeWharton: I send multipart request using mimecraft. In the beginning of body Content-Type: multipart/form-data hasn't boundary="----=_Part_3_21502269.1382641148852". Is it a problem? Oct 24 20:28:51 gdrc: omg i had the same problem. I didn't know it was 8.1.. Oct 24 20:29:23 desmin88: I thought it was the intel graphic driver ... Oct 24 20:30:11 so did i! Oct 24 20:30:20 its been pissing me off to no end Oct 24 20:30:39 hope microsoft fix it becouse I can't work shit Oct 24 20:30:41 Even with the HAXM version they offer on their website? Oct 24 20:30:59 Not sure if that's the same as in the SDK manager. Oct 24 20:31:13 I only remember that it had a bug once and I used a more recent one from their website. Oct 24 20:31:34 "Last Updated April 25, 2013" Oct 24 20:31:36 nvm Oct 24 20:31:38 yeah Oct 24 20:31:44 should be the same in sdk Oct 24 20:32:46 When sending an animated gif through Messenger (accessed via a Cursor, mime type "image/gif", the image sent is NOT animated when recieved Oct 24 20:32:51 Anything I can do about this? Oct 24 20:37:29 It is supposed to be fixed but i am still struggling to make it work https://github.com/JakeWharton/gradle-android-test-plugin/pull/26 Oct 24 20:37:35 Anybody can help me? Oct 24 20:47:10 hi, where can i find list of change, release log and release API for every android version? Oct 24 20:48:00 d.android.com Oct 24 20:48:16 :D Oct 24 20:48:28 pepigno75: http://developer.android.com/about/versions/jelly-bean.html Oct 24 20:50:29 evanc, is there API list similiar this page? Oct 24 20:51:03 Hi Oct 24 20:51:36 What would be the best way to write a byte array to a file on the sd card Oct 24 20:53:12 Da_Syntax: outputStream ? Oct 24 20:53:42 pepigno75: yes, just keep looking on d.android.com; it's there somewhere Oct 24 20:54:12 pepigno75: actually, it's right there on that page. "Android 4.3 APIs" for example Oct 24 20:54:20 i found ByteArrayOutputStream , but i don't really understand how i do the file writing Oct 24 21:01:25 evanc, thanks Oct 24 21:02:51 Da_Syntax, not the right class to use Oct 24 21:02:52 Da_Syntax: http://bit.ly/1a3ssSP Oct 24 21:06:05 Is there a way to package information and send it to an email? Oct 24 21:06:55 There are going to be many forms in my app, how do i collect all the data and send it to an Email Oct 24 21:08:25 datandroiddude: do you know how to collect it ? Oct 24 21:08:37 do you know how to construct and send an email ? Oct 24 21:08:43 Its an edittext so its basically reading the input Oct 24 21:09:01 oh so its just putting all the string values in One! Oct 24 21:09:04 and send it! Oct 24 21:09:30 Hi! How do I know how much width is available for children in a ViewGroup? Oct 24 21:10:03 Gavilan2: getWidth() after layout ? Oct 24 21:10:12 Where can i get information t build a form layout to submit many forms and save them separately? Oct 24 21:10:14 StingRay_: thanks, but i think i figured it out Oct 24 21:10:58 ahahback Oct 24 21:11:00 i'm pretty new to java, normaly i'm developing c on ucontrollers. So this is all kinda new to me Oct 24 21:12:06 datandroiddude: by learning about view types and maybe listVIews and adapters Oct 24 21:12:44 do you know where i can get tutorials? Oct 24 21:12:56 d.android.com is a good start Oct 24 21:12:58 StingRay but that with is the external side of the layout... It may contain padding and other stuff Oct 24 21:13:14 Gavilan2: getPadding() Oct 24 21:13:18 getLayoutParams Oct 24 21:13:20 a linear layout of with 100dp with padding of 10dp each side leaves only 80 dp available for the childs.... Oct 24 21:13:28 I want to get 80dp Oct 24 21:13:30 params.getMargins Oct 24 21:13:34 And I don't want to calculate it myself... Oct 24 21:13:41 I'd like something that already tells me what's that size! Oct 24 21:13:58 the screen is in pixels Oct 24 21:14:05 you have to convert to dp I would think :) Oct 24 21:14:21 as dp is not a display unit in use, dp converts to pixels Oct 24 21:14:25 from the screen metrics Oct 24 21:14:28 at a guess Oct 24 21:14:32 :) Oct 24 21:14:58 StingRay if i get pixels is fine too Oct 24 21:15:04 I want to get 80px Oct 24 21:15:06 directly Oct 24 21:15:14 I dont want to calculate the margin and padding stuff myself Oct 24 21:15:23 well your screwed then Oct 24 21:15:29 cause you want 1 value from 3 things Oct 24 21:15:32 and thats silly Oct 24 21:15:34 :) Oct 24 21:15:38 JakeWharton: Sorry to bother you but concerning this fix https://github.com/JakeWharton/gradle-android-test-plugin/pull/26, i still have an issue with gradle https://gist.github.com/jrm2k6/11d575d469e559d4313d, error at the bottom. If anybody can help? Oct 24 21:16:04 sorry you want 1 value, that is 3 values across 2 objects Oct 24 21:16:04 Gavilan2: why do you need that value? it is too much trouble to add in the math to get it from layout and margins? Oct 24 21:17:51 TRomeo: I show something different depending on the available size on a certain layout Oct 24 21:19:09 Gavilan2 could you make a method in your activity that calculates getWidth() - getMargins ? Oct 24 21:19:28 computers are real good at subtraction, I don't see why it would be a problem Oct 24 21:21:41 TRomeo not relaiably Oct 24 21:22:08 subraction of whole numbers in not reliable ? Oct 24 21:22:16 fk I'm screwed :) Oct 24 21:24:33 anyone know of good way to do lockscreen app? that also blocks home button while its on Oct 24 21:25:18 XXCoder: that would be horrid, and not something I would think google allows Oct 24 21:25:32 ^ Oct 24 21:25:36 well regular lockscreens do disallow it too Oct 24 21:25:51 because its kinda point of "lock" in lockscreen Oct 24 21:27:10 they dont block Oct 24 21:27:41 never looked at lockScreens but yeah, seems it would just be default to that kind of activity Oct 24 21:28:08 well my lockscreen do not allow access to home page when I click home Oct 24 21:29:22 I dont have a home button when device is locked :) Oct 24 21:29:23 https://github.com/Joisar/LockScreenApp Oct 24 21:29:31 google is kind…gave me that link Oct 24 21:31:03 well guess I should test it Oct 24 21:31:40 XXCoder: you can't block the home button Oct 24 21:34:41 new wifi 100 gb/s wow Oct 24 21:35:52 http://www.extremetech.com/electronics/168566-worlds-fastest-wireless-network-hits-100-gigabits-per-second-can-scale-to-terabits Oct 24 21:36:19 cook my food next to me too :) Oct 24 21:36:21 I want a layout that uses a user-defined coordinates system, places children at absolute coordinates in that system and maps everything to the pixels of the actual display. Should I write it myself? Oct 24 21:36:58 lucrus: what would that be used for ? sounds dangerous Oct 24 21:37:27 StingRay_, story too long, is there such a thing? why dangerous? Oct 24 21:37:52 because the screen and dimensions are really supposed to be dynamic Oct 24 21:38:08 and open to different sizes from devices or event state changes Oct 24 21:38:18 yeah no choice, there is so many screens differences out there Oct 24 21:39:14 lucrus: maybe AbsoluteLayoutManager is close enough? [though it's been 'deprecated' since version 3, for whatever that's worth.] Oct 24 21:39:36 in my case I have a fixed orientation app and I'm ready to accept letterboxing or stretching if needed Oct 24 21:40:37 I wonder if some form of linearlayout with proportional sizes (rather than absolute ones) might be better - it'd let you control the stretching more usefully I expect Oct 24 21:41:48 kbs: will AbsoluteLayoutManager abstract from device pixels and let me declare sizes and position in a "virtual space" of coordinates, then map everything so that it fits the display at its best? Oct 24 21:41:52 I see what you mean though - you use sizes from 0.0 -> 1.0 in your "virtual" co-ordinate system, and then map it to the actual display width/height. That isn't what AbsoluteLayout does anyway, so scratch that suggestion. Oct 24 21:43:04 kbs, yes, and I'm disappointed no one invented such a thing in Android yet Oct 24 21:43:28 lucrus: nope - I misunderstood what you initially said - I think [at best] linearlayout might be the closest to what you might want. You can treat it as though it uses a co-ordinate system of 0.0 -> 1.0, with the layout_weights representing the internal sizes. Oct 24 21:43:54 huh? you can do proportional sizes with linear layout Oct 24 21:44:08 with layout_weights ? Oct 24 21:44:13 yes Oct 24 21:45:02 how? I tried layout_weights, but obtaining some simple constraints is a nightmare of nesting linear layouts and weights Oct 24 21:45:56 what exactly are you trying to accomplish Oct 24 21:46:47 same thing we try to do every night, pinky Oct 24 21:46:48 and some amount of nesting is OK, too many is wrong Oct 24 21:47:03 at that point use relative layout Oct 24 21:47:33 I have buttons that are completely custom (selectors in xml). I have button bitmaps ONLY for one single resolution, e.g. 1280x720. I want the Layout to adapt those bitmaps while keeping relative positions and aspect ratios to each display Oct 24 21:48:10 why? you could downsample those Oct 24 21:49:51 I still don't see how this a prpblem Oct 24 21:50:45 XXCoder, yes I could, but I'd prefer Android doing that for me, if I'm not asking too much... problem is I have many of those, and they may change in future. I don't want to risk forgetting around some of them with no downsampled version Oct 24 21:51:16 you still shouldn't need to do anything Oct 24 21:51:30 I don't see how down sampling is relevant here Oct 24 21:51:48 lucrus: just try basic version then test it on emu on many sizes Oct 24 21:51:52 see what happens Oct 24 21:52:27 XXCoder, already done. pfn: let me give an example: I have a button which is 350 by 120 in size Oct 24 21:52:32 just put your single set of images into the appropriate dpi folder and it will scale correctly Oct 24 21:53:13 Using Picasso w/ Parse, I'm always getting errors when downloading images…. Oct 24 21:53:21 in what units Oct 24 21:53:26 stacktrace or GTFO Oct 24 21:53:27 350 what Oct 24 21:53:36 pfn: furlongs Oct 24 21:53:40 JakeWharton: NO STACKTRACE, it errors silently Oct 24 21:53:42 350 pixels in the PNG image... when that button is displayed on a 1280x800 display, it has more or less 170px left and right and that's ok. Oct 24 21:54:04 on a what display Oct 24 21:54:15 then how do you know it errors? Oct 24 21:54:21 4", 7" or 10" Oct 24 21:54:25 it didn't error Oct 24 21:54:32 pfn: mdpi, 10" Oct 24 21:54:33 it's just lies Oct 24 21:55:06 lucrus, see, what that will look like on a nexus 4 or sgs3,etc will all be vastly different Oct 24 21:55:27 and they're 1280x720 devices Oct 24 21:55:40 the same button, on a hdpi 4" display, takes about the whole width of the display, e.g. it does not scale down! Oct 24 21:55:47 JakeWharton: There is a callback , onSuccess and onError, also it puts in an image placeholder when the load fails: Picasso.with(context).load(imageUrl).error(R.drawable.ic_error).into(imageView, new Callback(){…}); Oct 24 21:56:13 Hitting the URL directly in the browser works, not sure what is happening : Oct 24 21:56:18 lucrus, you didn't put the images into the correct dpi folder Oct 24 21:56:19 I mean a 4" hdpi 800x480 display (SGS GT-I9000) Oct 24 21:56:26 The error callback doesn't supply an error ._. Oct 24 21:56:29 there's a listener you can set on the Picasso instance which receives callbacks for underlying exceptions Oct 24 21:56:43 really now Oct 24 21:57:01 pfn, i DO NOT have scaled images to put in correct folder and I do not want to have them, if ever possible Oct 24 21:57:16 lucrus, read what I said earlier Oct 24 21:57:24 I'd like android to scale them for me Oct 24 21:57:41 put your images into the correct folder Oct 24 21:57:48 android does scale them Oct 24 21:58:01 JakeWharton: where do i begin to look in the API for said callback? Oct 24 21:58:15 Picasso.Builder#setListener or something Oct 24 21:58:34 pfn, do you mean I must put just the SAME images, not scaled, in drawable-hdpi and so on, copying them over 4 times? Oct 24 21:58:51 no Oct 24 21:59:08 put them in the folder for which they appear correctly Oct 24 21:59:32 if the image is designed for mdpi then you put it there Oct 24 22:00:04 and for that matter, scaling is performed according to screen size Oct 24 22:00:08 not resolution Oct 24 22:00:22 What are the requirements for the lock screen media indicator thingy to work? I'm guessing I'm missing something, but I'm not sure what. Oct 24 22:00:51 so if the button is 4" on a 10" screen it will be 4" on a 4" screen Oct 24 22:01:08 pfn, I don't know if it will work, but it sounds good and logical, I wonder how I didn't get that myself a few hours ago... thanks in advance Oct 24 22:01:14 JakeWharton: Noice, thanks Oct 24 22:02:05 * pfn is always impressed by the Expedia app everytime he uses it Oct 24 22:02:37 darn thing is just so beautifully polished Oct 24 22:03:02 Always good to know about polished apps, thanks pfn. Downloading now. Oct 24 22:03:51 it's one of my top picks for best designed apps, I think Oct 24 22:03:53 i'm having issues with code completion in adt 22 / ndk r9 / C++11. Many of std:: namespace symbols cannot be found. I've added the right include paths under Properties -> C/C++ General -> Paths and Symbols, but didn't help Oct 24 22:05:29 pfn: where do I find said "best designed" section Oct 24 22:05:51 there should be something in the play store Oct 24 22:05:58 i see "editor's choice" Oct 24 22:06:00 but that's it Oct 24 22:06:01 under the apps section Oct 24 22:07:34 God, I hate it when my phone falls back to 3g Oct 24 22:07:39 so damn slow Oct 24 22:08:23 jaynewstrom, they had a best designed section for a while, I guess it's gone... Oct 24 22:08:43 haha, ohh well. Oct 24 22:08:54 they ran out of selections :) Oct 24 22:09:01 JakeWharton: This code isn't raising an exception, but its not loading the image either… http://pastie.org/8428059 Oct 24 22:09:16 pfn should the Eclipse Graphical Layout editor be trusted? If changing the display, the buttons show up too large there, can I assume they will show up large in the emulator also? Oct 24 22:10:52 weird, beautiful design is showing up for me now Oct 24 22:10:59 under tablet picks Oct 24 22:11:14 lucrus, yes, read my prior statement Oct 24 22:14:35 I really need to implement copy paste and history for qicr Oct 24 22:22:51 i have some problem to import jar in Android Studio. i copy json.jar in /libs after select add as library. Opens gradle and write compile file('libs/gson.jar') so i have this error http://pastebin.com/aew24yNc Oct 24 22:23:46 is there a way to start an intent with ACTION_PICK for choosing songs from google play? currently it only shows songs that i have on my device Oct 24 22:24:11 pepigno75, files, not file Oct 24 22:24:20 the error message was quite clear Oct 24 22:24:54 pfn, i see error.. in this moment eheheh Oct 24 22:24:57 jedir0x, pick for what purpose? they aren't actually files you can use... Oct 24 22:24:59 thanks Oct 24 22:26:07 pfn, in my app users can choose a song that is added to a video. Oct 24 22:26:18 i'd like for them to be able to use their google play music. Oct 24 22:26:42 I don't think the rights to the music necessarily allow that Oct 24 22:27:21 then why does it even show up for ACTION_PICK Oct 24 22:27:52 because they're on device? Oct 24 22:28:17 no - i get an empty ui Oct 24 22:28:27 even though i've purchased a few albums through google play. Oct 24 22:28:39 odd, dunno Oct 24 22:34:13 What do you use to download images from Parse so that they are cached temporarily to disk so you dont have to keep downloading them? Oct 24 22:34:23 or, images from ANYWHERE really... Oct 24 22:34:45 Picasso is not a valid option any longer because it doesn't accept Stream as a valid type Oct 24 22:34:57 you didn't even figure out what the problem was Oct 24 22:35:08 I did. Oct 24 22:35:18 I need to send credentials Oct 24 22:35:35 You cannot do that with Picasso, it assumes the files you're acquiring have public access Oct 24 22:36:01 subclass a downloader, override openConnection, add whatever header you want Oct 24 22:36:14 K Oct 24 22:36:16 thank you. Oct 24 22:43:07 anyone have nexus y? Oct 24 22:43:12 oh sorry wrong channel Oct 24 22:44:27 i hear the nexus y is great Oct 24 22:44:43 y? Oct 24 22:44:46 because ;) Oct 24 22:45:45 because y Oct 24 22:45:53 anyone going to andevcon? Oct 24 22:46:06 i wish i could get my co. to pay Oct 24 22:46:08 I sure hope it's not because it'll become the newest banner ad experiment from google anyway Oct 24 22:46:54 already, without javascript enabled - I only see one/two organic results from the nexus 4 Oct 24 22:48:06 birbeck, its only $1500 :P Oct 24 22:48:34 canadiancow: yeah, that would be fine... if i were an android dev Oct 24 22:48:50 you're not? Oct 24 22:49:00 not @ work, we havent done anything on android in over a year now Oct 24 22:49:27 Anybody aware of something that I can use to test if my app will duck it's audio correctly? Oct 24 22:49:27 should you be allowed in #android-dev ? Oct 24 22:49:45 yes, i troll from time to time ;-) Oct 24 22:49:57 is +romainguy an android dev anymore? Oct 24 22:50:06 nope Oct 24 22:50:29 thats my point :) Oct 24 22:50:47 he's exempted :P Oct 24 22:51:17 am i not grandfathered? Oct 24 22:51:28 i still am a hobbyist android dev Oct 24 22:51:32 fine fine Oct 24 22:51:50 how to make android app? Oct 24 22:52:02 /kick Oct 24 22:52:22 birbeck: just dd if=/dev/urandom of=my-awesome-app.apk and sideload it, instant magic app. Oct 24 22:52:34 :| Oct 24 22:52:38 Sorry. :P Oct 24 22:53:56 AmandaC: thats about as good as the android app maker Oct 24 22:54:27 s/app maker/app inventor/ Oct 24 22:54:35 * AmandaC wonders how adb/Ansdroid would react to a "random" set of bits like that, anyway Oct 24 22:54:42 probably fail when it doesn't find the ZIP header. Oct 24 22:54:57 invalid apk error, of course Oct 24 22:57:28 heh if you had power to control probility it'd be valid and seriously awesome apk :P Oct 24 22:58:22 It would probably be an interesting fuzzing experiment, to randomly flip a few bytes and "see what happens" :) Oct 24 22:58:43 don't need to control probability, just ask the NSA for their backdoor key. :P Oct 24 22:58:55 I have a sneaking feeling that not every bug in the zip/signature checker has yet to be discovered Oct 24 22:59:03 probably Oct 24 22:59:12 s/yet to be/been Oct 24 22:59:13 kbs> randomly flipping a byte in an APK will cause it to not be recognized Oct 24 22:59:45 possibly there are some bits you can flip, but I've used this technique before to magically vanish apps ... :) Oct 24 22:59:59 just rename them Oct 24 23:00:36 how does one hack this in app purchase stuff ? Oct 24 23:00:37 root apps live in /system you can name them anything you want Oct 24 23:00:46 (some of them, at least) Oct 24 23:00:51 you can flip a few bits to get a valid signed apk to install malware instead Oct 24 23:09:16 btw as most of you should know, that question previously from me was becuase I'm reading this "security and design" and wondering what the balance is… between effort + learning Vs practicality Oct 24 23:09:20 Hi, where does "CRs-fixed" from commits refer to? Oct 24 23:09:40 after watching that freedom app on youtube today… starts me wondering… whats the point Oct 24 23:09:51 I guess it is some bugtracker, but which? Oct 24 23:11:21 StingRay_: i'm not going to bother with in-app billing. just going to create an unlock app, and the real app will perform the most basic check to see if the unlock app is present on the phone Oct 24 23:12:22 seand: is that not even simpler to hack ? Oct 24 23:12:34 as in 101 type stuff ? Oct 24 23:15:07 StingRay_: yeah i'm betting it's really easy, but who cares? your app is going to get pirated anyway Oct 24 23:15:15 I just got a cheap Hisense android device from walmart... cool box, but I can ot figure out how to load apps on it. where is the setting to allow apps to be deployed to it? Oct 24 23:15:18 there's nothing you can do to prevent that Oct 24 23:15:27 seand: have your apps been pirated ? Oct 24 23:15:49 StingRay_: no, i haven't released any paid apps yet. but i've read that they will be Oct 24 23:16:06 gonna say, I bet 95% of apps are not pirated Oct 24 23:16:08 :) Oct 24 23:16:20 my app is extremely esoteric, and was pirated early on :) Oct 24 23:16:23 cause only that 5% are actually worth it Oct 24 23:16:25 :) Oct 24 23:17:45 :D Oct 24 23:18:25 g00s: you implemented this iap v3 stuff ? Oct 24 23:18:28 well, I would say mine was pirated, but I don't think that's entirely applicable for an open source app. :) Oct 24 23:18:42 StingRay_ no Oct 24 23:18:45 Does BitmapFactory decode JPEGS as well? Oct 24 23:19:00 <|0xD34D|> yes Oct 24 23:19:20 hmmmmm Oct 24 23:19:33 explodes: jpeg is not a nice format though Oct 24 23:19:37 StingRay_ i'm guessing it's pretty easy to bypass in-app billing too Oct 24 23:20:02 seand: do a search on youtube for "all in app purchases free" Oct 24 23:20:06 not nice Oct 24 23:20:08 :) Oct 24 23:20:11 StingRay_: if someone wants to hack your app there's basically nothing stopping them. java is like "yeah come right on in" Oct 24 23:20:36 seand: I have 1 MASSIVE advantage there though Oct 24 23:20:44 more so than everyone in this channel combined Oct 24 23:20:54 what, you're using NDK? Oct 24 23:20:56 advantage for what Oct 24 23:20:59 oh Oct 24 23:21:04 how to install an app on a 4.2.1 device? where is the setting to allow this? Oct 24 23:21:19 I just got a cheap HISENSE Sero 7... Oct 24 23:21:21 you just put this apk? Oct 24 23:21:21 I'm hardly a programmer, not even I understand my code, and anyone else who looks will also think….WTF Oct 24 23:21:34 IrishGringo, i think this is wrong channel for that Oct 24 23:21:52 ok... Oct 24 23:21:52 StingRay_ it comes down to basic if statements... something like if(userHasAccess) { /* some feature */ } Oct 24 23:22:05 probably try #android Oct 24 23:22:17 StingRay_: all they have to do is change that ifeq or whatever it comes down to in the bytecode Oct 24 23:22:45 yeah, but that freedom app Oct 24 23:22:52 ? Oct 24 23:22:55 it's, interesting Oct 24 23:23:10 it runs as root and makes all iap free Oct 24 23:23:22 well, thats what it does in the tube vids I watched Oct 24 23:23:43 while searching for iap tutorials/guides/practices Oct 24 23:23:52 sounds like a virus Oct 24 23:24:04 you should download it and see how well it works Oct 24 23:56:00 wasn't there a google event today ? Oct 24 23:56:15 * g00s doesn't see anything on the verge Oct 24 23:58:45 drinks with google play Oct 24 23:58:47 no news Oct 24 23:59:19 <^cheeky> finally some knom knom !!!!!!!! Oct 24 23:59:37 no kitkat nom noms tonight Oct 25 00:00:02 anyhow, im out Oct 25 00:00:03 <^cheeky> ha ,i finally got some food in me even tho my last message was something else muahahahahah Oct 25 00:00:23 <^cheeky> i was just @ the grocery store, looked @ kitkats, but not android stickier or wrapers tho Oct 25 00:00:38 ^cheeky you dont' need any more sugar Oct 25 00:00:52 <^cheeky> sheesh, i didn't get any !!!!!! Oct 25 00:01:10 <^cheeky> ill save up for when kitttykattttt is out and about Oct 25 00:01:29 <^cheeky> g00s btw, did you upgrade to the new OSx ? Oct 25 00:01:53 well, I was mildly curious - and it seems like the build scripts at least, are having trouble with billion lolz xml in a layout :-) http://pastebin.com/xErc1ksm Oct 25 00:01:57 no, i'm never an early adopter with that stuff Oct 25 00:02:03 * g00s stares at AS Oct 25 00:02:09 <^cheeky> AHHAHA Oct 25 00:02:13 <^cheeky> I was about tot say !!!! Oct 25 00:02:14 <^cheeky> :P Oct 25 00:02:15 makes me wonder ... hm. Oct 25 00:02:55 <^cheeky> maybe ill stay up all night took Oct 25 00:02:57 <^cheeky> *too Oct 25 00:03:01 <^cheeky> need some music, Oct 25 00:03:22 <^cheeky> weather is cold, and nippy and stupid flu-shots signs everywhere s0 lame Oct 25 00:10:54 how come upgrade on osx is free ? Oct 25 00:11:08 lion to mav Oct 25 00:11:13 * StingRay_ puzzled Oct 25 00:11:32 StingRay_: they recuperate it through killing the last expandable mac? :> Oct 25 00:11:36 <^cheeky> StingRay_: srsly i have no idea, but i was on snow leopard, and i was told about maverick and i downloaded it Oct 25 00:12:18 <^cheeky> and i am not complaining hehe, new OS on new SSD on an old book pro ... me is enjoying ... Oct 25 00:12:38 StingRay_ apple's new strategy: get free software without adds :) Oct 25 00:12:39 <^cheeky> till freaking gradle comes along slaps you around!!!!!! u4r4hto453i2 Oct 25 00:13:06 or, if you make the hw and sw, you can decide whats free and whats not ;) Oct 25 00:13:13 or where your profits will come from Oct 25 00:13:27 <^cheeky> but srsly, tho Lion is 19 bucks, i bought my snow leopard for 29 bucks... but i guess, they make their money through the hardware Oct 25 00:13:39 g00s: I've decided my profit will come from you giving my $50 Oct 25 00:13:48 \o/ Oct 25 00:13:50 <^cheeky> where as M$ its the opposite , cheap parts hella expensive OS and software products Oct 25 00:13:52 me* Oct 25 00:13:53 :) Oct 25 00:14:06 JesusFreke thats 2 weeks of food man, awesome Oct 25 00:14:24 MS hardware got billion competitiors Oct 25 00:14:31 apple got umm apple mostly Oct 25 00:14:53 <^cheeky> yeah but keeps its simple to maintain , no deprecated API and one platform .. Oct 25 00:14:59 that's some expensive food. You could get at least month or 2's worth of ramen noodles Oct 25 00:15:09 <^cheeky> but i guess to some that might be boring and other a challenge to code Oct 25 00:15:11 you'd be dead before 2 months :| Oct 25 00:15:16 haha :) Oct 25 00:15:35 at least they used to have too much salt and bad fats Oct 25 00:15:37 <^cheeky> i <3 ramen!!!!!!!!1 Oct 25 00:15:40 <^cheeky> && UDON Oct 25 00:15:42 dunno these day Oct 25 00:15:48 <^cheeky> well the proper kind heh Oct 25 00:16:04 <^cheeky> ill probably die from gradle Oct 25 00:16:05 <^cheeky> heh Oct 25 00:16:35 just keep it loose enough to breathe ;) Oct 25 00:17:07 <^cheeky> ahhahaah Oct 25 00:17:08 <^cheeky> oh nice Oct 25 00:18:04 <^cheeky> need some tunes Oct 25 00:19:05 * JesusFreke sings Oct 25 00:19:29 * g00s grabs the coconuts Oct 25 00:19:48 g00s: keep your hands off of me! Oct 25 00:20:00 <^cheeky> muahahah Oct 25 00:20:03 jesus ! Oct 25 00:20:28 how else is he going to make the sound of moving horse without coconuts? Oct 25 00:20:58 * g00s looks for coconuts percussion purchase in garage band Oct 25 00:21:34 JesusFreke: are you not the hacky king or something ? how far do you go on your paid apps ? Oct 25 00:21:46 <^cheeky> seriously if i ever get over this hurdle i want to know about the bloody bus routes Oct 25 00:21:47 <^cheeky> lanes Oct 25 00:21:58 StingRay_: Well I didn't vote for him! Oct 25 00:22:09 StingRay_: I did a rom for the g1, and I wrote/maintain smali/baksmali Oct 25 00:22:23 no apps, other than an open source penrose tiling wallpaper Oct 25 00:22:28 oh thats why Oct 25 00:22:29 careful theres sciencist at gilligans island that can do ton crap with coconuts Oct 25 00:22:41 as in why you a decompile tear apart king ? Oct 25 00:22:45 :) Oct 25 00:23:15 StingRay_ you're stressing too much over this ;) Oct 25 00:23:32 well I'm a bit penniless Oct 25 00:23:39 but you chose android Oct 25 00:23:42 :| Oct 25 00:23:42 thats centless I suppose Oct 25 00:23:47 * kbs always thought JesusFreke did the whole android thing as an amusing distraction from his didgeridoo career :) Oct 25 00:24:03 I wish :p Oct 25 00:24:21 and i thing his didgeridoo career was a distraction from his unicycling career Oct 25 00:24:28 *think Oct 25 00:24:36 Maybe I'll make and sell didgeridoos as a hobby in my retirement :p Oct 25 00:25:47 <^cheeky> ha, !bad !bad idea Oct 25 00:29:35 (http://www.instructables.com/id/Leather-Didgeridoo/) Oct 25 00:30:13 <^cheeky> whao Oct 25 00:33:18 Hi, is it possible to disable PagerTabStrip click event? Oct 25 00:39:49 its so hard to find a quiet space Oct 25 00:39:58 at this library does not offer such a thing :| Oct 25 00:40:12 kids running everywhere, pandemonium Oct 25 00:41:46 heh when I was in college I could study anywhere Oct 25 00:41:56 I used to go to mall cafe section to do homework. Oct 25 00:42:01 <^cheeky> heh, use headphones, block the out, besides they probably funny to look @ when n0 sound, visual stimuli helps, when you taking break from studying Oct 25 00:42:11 g00s: have you considered asking the librarians? Oct 25 00:42:33 also, yes, get yourself full, closed headphones with good isolation Oct 25 00:42:44 p_l as the library is in decline here in the US, they don't seem to want to piss off too many people by telling them to stfu Oct 25 00:43:02 g00s: they might have, however, a less used space Oct 25 00:43:03 oh yeah, should get my shooting ears, where are those Oct 25 00:43:17 yeah about the only reason they kick out is smell or serious violatons like porno browsing Oct 25 00:43:57 i've scoped out this whole building. i had to ask the librarian yesterday to stop playing background music Oct 25 00:44:03 :| Oct 25 00:44:11 fucking music … in the library Oct 25 00:44:21 what has this world come to Oct 25 00:44:24 why not use some headphones or something? Oct 25 00:44:35 noise cancelling if I recall tech right Oct 25 00:44:48 yeah, i need something Oct 25 00:45:07 well, noise cancelling might be a bit better... but I wouldn't use those for listening to music Oct 25 00:45:07 it was godsend for my austic nephew Oct 25 00:45:10 I use earplugs nearly everywhere I work... if you can stand the things being in your ears, it helps - I get easily distracted Oct 25 00:45:22 some places is just too much for him Oct 25 00:45:37 now, good closed supra-aurals with headphone amplifier... Oct 25 00:45:44 huh, I want a new ipad mini Oct 25 00:45:55 * p_l drowns the infidel Oct 25 00:46:05 kbs i have these somewhere http://www.howardleight.com/ear-muffs/leightning-l3 Oct 25 00:46:06 with that goggles, no visual inferences too lol Oct 25 00:46:13 i'm going to walk around with them on tomorrow Oct 25 00:47:12 StingRay_ i was hoping the new mini would be a bit cheaper , but yeah looks nice Oct 25 00:47:48 well I maybe dont want 1, I always give my ipads and such away for some reason Oct 25 00:47:49 * g00s perplexed why they are keeping the old pads around tho, too many choices Oct 25 00:47:50 g00s: hm - interesting. (guess at some point one stops caring how it looks :) Oct 25 00:47:58 <^cheeky> StingRay_: your stubbled across it on your way to grab maverick :P Oct 25 00:47:59 I think I have 3, that, erm, I dont actually have Oct 25 00:48:15 <^cheeky> *stumbled Oct 25 00:48:27 ^cheeky: well, it looks nice Oct 25 00:48:36 pitty about the new look of ios7 though Oct 25 00:48:37 <^cheeky> yes it does, Oct 25 00:48:59 and all the principal pereftion design that it now lacks Oct 25 00:49:07 perfection and* Oct 25 00:49:13 dam I need more coffee Oct 25 00:49:25 <^cheeky> with the take off of iPhone and spark of rebirth of apple the design for me@ least growing up were always nice Oct 25 00:50:03 I can not get my new 4.2.1 device to attach to my MBP... using adb deivce... and can not be seen... Oct 25 00:50:10 USB debugging is on Oct 25 00:50:30 drivers? Oct 25 00:50:37 needs no drivers Oct 25 00:50:38 I am on a Mac book pro Oct 25 00:50:46 IrishGringo: wrong channel though Oct 25 00:51:05 I know... but the android channel thinks I should be here... Oct 25 00:51:15 but as a hint, revoke the usb debug permissions on the device Oct 25 00:51:19 <^cheeky> IrishGringo: whats the device, add device id and add it to andrioid file Oct 25 00:51:19 search google on how to do it Oct 25 00:51:30 thought I could get lucky... I have been all over google Oct 25 00:52:45 <^cheeky> IrishGringo: dunno if you already tried, http://pychildren.blogspot.com/2012/12/getting-android-adb-working-with-pipo.html Oct 25 00:52:53 <^cheeky> might help Oct 25 00:53:41 no... but interesting read Oct 25 00:56:56 adb needs a USB Vendor ID to work properly. Oct 25 00:57:52 <^cheeky> yeah you could try to get your OS to list it Oct 25 00:57:54 <^cheeky> and then add it Oct 25 00:58:07 <^cheeky> lsusb for instance in nix /mac Oct 25 00:58:28 Maybe Apple broke the ADB drivers again in the new OSX version. I've heard that's happen in the past Oct 25 01:00:40 Hi, is it possible to disable PagerTabStrip click Oct 25 01:01:10 <^cheeky> oICAmanda Oct 25 01:01:34 <^cheeky> crap, i better switch back, Oct 25 01:02:18 <^cheeky> there was a video i came across, on how to build your rom or something Oct 25 01:03:06 <^cheeky> they offering lightroom trail, why not PS Oct 25 01:03:36 cause PS has more commercial application Oct 25 01:04:05 I need a good grpahics programmer and I would love to design a much much better thing that PS Oct 25 01:04:10 <^cheeky> yeah today , i had such an awesome time, using gimp and following PS tuts lol Oct 25 01:04:23 PS is dated, old and crappy Oct 25 01:04:31 although not as much as illustrator Oct 25 01:04:44 or maybe it's me who is getting old and crappy ? Oct 25 01:04:47 <^cheeky> perhaps, cores can't keep up with amount to learn @ once Oct 25 01:04:52 <^cheeky> bad concurrency lol Oct 25 01:04:57 * StingRay_ pauses….for…thoughts Oct 25 01:05:11 <^cheeky> errr i have no idea about gfx Oct 25 01:05:25 <^cheeky> except for using Photoshop @ school Oct 25 01:05:37 I cant think of a time when I have not used PS Oct 25 01:05:46 for all my life :( Oct 25 01:05:54 <^cheeky> yeah see coz you are good and you enjoy it Oct 25 01:05:58 that and Maya and Nuke Oct 25 01:06:06 I did enjoy it Oct 25 01:06:15 not after sooo long though Oct 25 01:06:23 <^cheeky> you can do some awesome stuff, i have skimmed through the tutorials Oct 25 01:06:27 you get to a point where you're not learning anything Oct 25 01:06:40 then it goes a bit downhill Oct 25 01:06:40 What's Nuke? Oct 25 01:06:44 <^cheeky> yeah Oct 25 01:06:46 <^cheeky> i was about to ask Oct 25 01:06:49 VFX Compositing app Oct 25 01:06:52 <^cheeky> heard of maya Oct 25 01:07:07 the replacement that came out after Shake Oct 25 01:07:17 right after Apple purchased and killed it Oct 25 01:07:23 silly arseholes Oct 25 01:08:00 I think that has to rank high on the "apple wtf" list Oct 25 01:08:23 <^cheeky> heh Oct 25 01:08:24 purchase a bit of software used in 99% of all VFX work, dont update it, eventually discontinue it Oct 25 01:09:18 I'm taking a 3DS Modeling/Animation class next semester, any tips I should know? Oct 25 01:09:31 <^cheeky> ^ ^ nice Oct 25 01:09:36 Red_Hood: yes, I'm an instructor Oct 25 01:09:39 so I have many :) Oct 25 01:09:46 Autodesk Instructor Oct 25 01:09:47 :) Oct 25 01:09:54 <^cheeky> hey me me , Oct 25 01:10:04 <^cheeky> i wanna do some gfx foooooo Oct 25 01:10:06 <^cheeky> heh Oct 25 01:10:07 <^cheeky> :)) Oct 25 01:10:20 biggest tip is this Oct 25 01:10:37 dont do something that you dont undestand completely !!! Oct 25 01:10:48 <^cheeky> errr ... Oct 25 01:10:55 <^cheeky> errm .. ok Oct 25 01:10:57 that is to say… "process orientated button pushing" is not what I call learning or understanding Oct 25 01:11:19 it not the case in any other art based meduim Oct 25 01:11:28 man i cant find any good examples on how to shutdown a service related to an app upon its shutdown/etc Oct 25 01:11:36 but seems to be a bad trend in most if not all VFX/art related CG training Oct 25 01:15:12 <^cheeky> what you say applies to a lot of things, i agree, but knowing that you don't understand is freaking saddd and annoying !!!! Oct 25 01:15:15 <^cheeky> :P Oct 25 01:15:26 no it isn't Oct 25 01:15:30 makes it interesting Oct 25 01:15:35 <^cheeky> i agree Oct 25 01:15:46 <^cheeky> i so agree Oct 25 01:15:53 <^cheeky> but just me Oct 25 01:16:04 <^cheeky> just bad timing for me heh Oct 25 01:16:09 get to the point where there is no question no more, and you know it's time to do something else Oct 25 01:16:38 Hello. I am loading ListFragment with list of installed applications using AsyncTask. To ensure that the AsyncTask is not fired on configuration change, I am using AtomicBoolean. Boolean is set once the task if complete. So if the device rotates for example, AsyncTask is not initiated based on the boolean value. Is this an ugly hack or acceptable? Oct 25 01:16:44 <^cheeky> right now, just got to let go of the board and dive down to the bottom and wait till the waves finish crashing above :) Oct 25 01:17:45 ^cheeky: I dont do metaphors :) Oct 25 01:17:54 <^cheeky> blah wrong view, Oct 25 01:18:11 <^cheeky> sorry sorry , just ignore heh Oct 25 01:18:26 <^cheeky> you ever used gimp Oct 25 01:18:32 <^cheeky> well i think you have Oct 25 01:18:44 <^cheeky> errm thats an assumption Oct 25 01:18:46 indeed Oct 25 01:18:52 gimp suffers lots Oct 25 01:18:57 <^cheeky> blaaaah Oct 25 01:18:59 <^cheeky> arrrrghhh Oct 25 01:19:00 from 2 major problems Oct 25 01:19:02 dragorn ever get any news on N7 / BLE ? Oct 25 01:19:14 <^cheeky> nvm all i want is to make my appp to look niiice Oct 25 01:19:23 1. user testing and 2. wide convergence of developers Oct 25 01:19:41 <^cheeky> and i am so freaking bitchy and picky always go after something way bigger than what i can handle Oct 25 01:19:51 whats the prob ? Oct 25 01:19:54 I can maybe help Oct 25 01:20:08 <^cheeky> StingRay_: i came across that you could get ps plug-ins, to make it photoshop Oct 25 01:20:31 and why dont you just follow the guidelines an make it look like all the other apps :) Oct 25 01:20:37 umanx: Can't you just pause AsyncTask on a config change? Oct 25 01:20:53 <^cheeky> oh no, gfx is on one side, my programming is weird, i would say it has kinda worked better through ....but i iz slow heh Oct 25 01:21:06 <^cheeky> you could make it sleep Oct 25 01:21:09 ^cheeky: no i mean what do you want to do, graphics etc ? Oct 25 01:21:11 <^cheeky> but i haven't tried, it Oct 25 01:21:52 <^cheeky> Red_Hood: i fail @ that, all i have done .. would use pause to release, something or cancel a background task on orientation change Oct 25 01:22:02 <^cheeky> but i have doubts if thats affecting my app Oct 25 01:22:21 Hi everyone, I'm with a small prob here that i cant get solved =/..is it possible to remove the PagerTabStrip's click listener that change the views in ViewPager when we click the PagerTabStrip?? Oct 25 01:23:06 <^cheeky> StingRay_: ummm i guess .. its so much i have planned to do but so much of the knowledge i lack Oct 25 01:23:45 ^cheeky: example ? like I said, my GFX knowledge is doing nothing at the moment :) Oct 25 01:23:51 <^cheeky> StingRay_: even for started an icon logo lol Oct 25 01:24:08 <^cheeky> immmm ok hold on Oct 25 01:24:14 well 80% of the time I would think that is an AI task not a PS/Gimp one Oct 25 01:24:14 <^cheeky> gimme like 2 mins pls Oct 25 01:24:28 <^cheeky> AI Oct 25 01:24:38 but obviously depends on the task/spec/brief Oct 25 01:24:46 Adobe Illustrator Oct 25 01:24:49 <^cheeky> ohh Oct 25 01:24:55 brb more coffee Oct 25 01:25:06 <^cheeky> is it coz it has to do something about android images being flattened.. Oct 25 01:25:12 Ya, you want any logos to be super scale-able Oct 25 01:25:13 <^cheeky> ok monster gimme a min Oct 25 01:26:34 ^cheeky inkscape is good if you're not on mac ;) Oct 25 01:28:41 Anyone have any experience with UICCs? Oct 25 01:29:35 Red_Hood: I don't want it to pause. I have set retainInstance to true for the fragment, so the task finishes in the same time anyway. Oct 25 01:29:44 Does anyone use UICCs, I thought it was pretty much all Sim cards Oct 25 01:30:08 Red_Hood: UICC is the proper name for sim cards used in 3G networks :> Oct 25 01:30:22 SIM is an application on them, iirc Oct 25 01:30:30 I thought they were different technologies Oct 25 01:30:35 SIM is an application on the UICC. Sadly, I am the most knowledgeable person I know on the matter... And that is a problem. Oct 25 01:30:43 It's just that the task is fired every time config changes. Oct 25 01:30:55 technically, "sim card"/uicc is just an ISO smartcard with defined formats and contacts Oct 25 01:31:43 You seem to know a thing or two, p_l. know anything about the inner workings of the RIL? Oct 25 01:31:51 umanx: What do you mean by fired? Like killed? Oct 25 01:32:24 Fenny: only that Android goes quite far into stopping interactions without root Oct 25 01:32:29 (or being firmware builder) Oct 25 01:32:31 No one know the inner workings of RILs. Every company has there own and they almost never release the code Oct 25 01:32:39 ^cheeky: ok back Oct 25 01:32:46 I can do both or either. Oct 25 01:33:06 there's a bit in the form of the common interface to RIL, but that at best gives you AT commands level access to radio Oct 25 01:33:22 Whether it would filter "arbitrary" calls or not is up to RIL Oct 25 01:33:43 I am trying to figure out a good way to get the AID of the ISIM application. Oct 25 01:33:44 on NFC-enabled phones you *might* have a chance to connect directly to SE on SIM card Oct 25 01:33:58 sorry, can't help you more :| Oct 25 01:35:02 Yeah, nobody I know knows much about it. Oct 25 01:35:07 Cell/Phone hardware companies don't want you anywhere near their RIL and they work hard to keep people out Oct 25 01:35:11 Red_Hood: fired = initiated. Oct 25 01:36:15 That was on of the big problems with the Droid's locked bootloaders iirc Oct 25 01:37:05 Red_Hood: that's separate Oct 25 01:37:15 that one was just Verizon being arses Oct 25 01:37:22 I have been looking at the Ril binaries in IDA, Red_Hood. Many of the new devices signature lock the radio binaries, but they don't often do the same with RIL. Oct 25 01:37:53 Fenny: signature locking of radio firmware is pretty sure required by law in many places Oct 25 01:37:59 Verizon and AT&T both. Oct 25 01:38:21 <^cheeky> StingRay_: hey, sorry , was trying to show you this drawing perhaps that would have made it easier Oct 25 01:38:39 signature locking non-radio parts is being an arsehole Oct 25 01:38:49 <^cheeky> is imgcur allowed here Oct 25 01:39:01 p_l I was able to flash modified radio binaries on my SGS back in the day. GOOD TIMES. :) Oct 25 01:39:27 Fenny: Samsung plays rather loose with those areas :) Oct 25 01:39:45 <^cheeky> Red_Hood: yeah i dunno anything about flattening the image, even worse with gfx stuff heh Oct 25 01:39:46 although I wouldn't exactly advertise the fact, since it's illegal in most countries Oct 25 01:40:08 not the flashing, but using the radio with unlicensed firmware Oct 25 01:40:29 Yeah, but since the SGS3 everything has been more locked down. Oct 25 01:41:21 Well certainly I'm sure I never USED the phone while the custom binaries were installed. *cough* Oct 25 01:41:58 ^cheeky: just paste link ? Oct 25 01:42:28 I remember on the ooold HTCs we would modify the radio binaries for SPL values. Oct 25 01:42:59 I wonder if that was illegal as well? Oct 25 01:43:22 <^cheeky> StingRay_: sorry, had to get my pizzaa out the oven and get a monster :P Oct 25 01:43:28 <^cheeky> StingRay_: http://imgur.com/0PaCPJ7 Oct 25 01:44:24 <^cheeky> i mean .. honestly even with gfx stuff i don't know where to begin, biggest thing would be an icon coz thats what kinda, get my attention.. at least to look presentable welcoming blah i dunno, Oct 25 01:45:07 Fenny: probably. While the parts you modded shouldn't be, since it wasn't separated properly... Oct 25 01:45:12 <^cheeky> hey at least i have my own flash light :P it functional and i plan to use it hehe, and no ads, awesome when you can create Oct 25 01:45:14 <^cheeky> stuff Oct 25 01:46:13 ^cheeky: you mean conceptualise an icon for your app ? or you have a design that you need a graphic for ? Oct 25 01:46:47 <^cheeky> i don't have a design :( Oct 25 01:47:10 <^cheeky> perhaps this might help me, coz i am afraid of my programming hehe, but yeah an icon Oct 25 01:47:33 <^cheeky> i looked @ some freebies from sites not really what i was looking for Oct 25 01:47:50 well an icon is often influenced by the design of the app, if you choose something that is not just google standard…which seems to be the norm Oct 25 01:48:16 app graphics and icon should not really be dissimilar Oct 25 01:50:11 <^cheeky> would an icon lead to on how the rest of the app should be designed or would the design Oct 25 01:50:19 no Oct 25 01:50:30 form should really follow function and use Oct 25 01:50:47 <^cheeky> crap, ok .. so i was looking @ the generators, for action bar and the themes and stuff Oct 25 01:50:53 but all of this is subjective based on the trends of the target demographic Oct 25 01:51:05 anyone who claims otherwise , lies Oct 25 01:51:07 :) Oct 25 01:51:13 <^cheeky> i dunno how i came across this but, i came across, Timely and wow that looks really beautiful and sleek Oct 25 01:51:45 <^cheeky> ok Oct 25 01:51:53 yeah, but that design is 10% content function Oct 25 01:51:57 90% background Oct 25 01:52:18 easy to make something look good when you just have to do 1 element to give it 90% of the look Oct 25 01:52:21 :) Oct 25 01:52:59 <^cheeky> yes but for a person who does not know whats good, heh, or enough experience thats a toughie :P Oct 25 01:53:28 <^cheeky> i kinda likes the transparent look but perhaps, the rest of my app did not complement it so i have second thoughts on that Oct 25 01:53:30 <^cheeky> blaaah :( Oct 25 01:53:47 see thats a bad approach really Oct 25 01:53:49 <^cheeky> ok i what would you suggest i do Oct 25 01:54:00 well I mean design as you implement Oct 25 01:54:10 not all the good Oct 25 01:54:20 or probably much harder to do that other paths Oct 25 01:54:49 *not all that good Oct 25 01:55:11 <^cheeky> well, this is my first try at app dev, so kinda, learning as i progress, at least i am hoping coz sometimes i think i understood but gotchas and what not just pounce at you !! Oct 25 01:56:23 <^cheeky> i have content. collections, but giving the user an enjoyable experience, i mean data could be depicted and a story woven so many ways heh Oct 25 01:56:52 http://www.codinghorror.com/blog/2006/11/this-is-what-happens-when-you-let-developers-create-ui.html Oct 25 01:57:05 well what I think … and sorry to the channel for this Oct 25 01:57:21 is that programmers either, copy google guides and make everything look the same Oct 25 01:57:22 or Oct 25 01:57:43 <^cheeky> yes thats... what i was planning on doing ...... Oct 25 01:57:49 have no clear idea and think that function and implementation should be 1st Oct 25 01:58:03 <^cheeky> but i fall into the latter you described Oct 25 01:58:06 but in the end you can have a shit product, presented in an amazing way…and erm Oct 25 01:58:10 it's amazing Oct 25 01:58:13 Hi, is this channel for Android native apps only or for Android web apps as well? Oct 25 01:58:15 look at the iphone Oct 25 01:58:16 :) Oct 25 01:58:54 <^cheeky> :P kinda spawned the competition thou to get all the others wild up :P Oct 25 01:59:20 frank_o: not really html stuff here Oct 25 01:59:39 #phonegap maybe ? Oct 25 02:00:19 Hey, great idea! Oct 25 02:00:28 they do web stuff Oct 25 02:00:33 Thanks guys Oct 25 02:00:36 here is all android stuff mainly Oct 25 02:00:36 Yep Oct 25 02:00:52 I would almost rather implement a java/native service that communicates with the UI layer. Make the UI layer completely interchangeable. Oct 25 02:04:30 <^cheeky> hm maybe ill register with google, Oct 25 02:04:36 <^cheeky> and someday hehe Oct 25 02:05:05 <^cheeky> nice i can get trial for illustrator :)) Oct 25 02:05:19 ^cheeky: careful Oct 25 02:05:24 <^cheeky> knom knom , pizzaa soo knomknom Oct 25 02:05:31 s/w != productivity Oct 25 02:05:35 <^cheeky> StingRay_: they gonna ask to my cc debits Oct 25 02:05:41 <^cheeky> digits ? Oct 25 02:06:50 <^cheeky> s / w sorry for asking but what do they stand for Oct 25 02:07:20 StingRay_: You are a VFX you have no rights to comment here Oct 25 02:07:40 <^cheeky> n0 n000 please, i was getting some heeeellp Oct 25 02:07:45 SoftWare Oct 25 02:08:02 old sku prefix s/w Oct 25 02:08:10 Fenny: i don't see what the problem is Oct 25 02:08:13 Stock Keeping Unit (before you ask) Oct 25 02:08:18 it looks perfectly fine to me Oct 25 02:08:33 <^cheeky> well i dunno only reason i chose that was, vector stuff as you said would make more sense and illustrator has plenty of tutorials, and what not to just copy from the net i suppose so Oct 25 02:10:06 ^cheeky: well this is from a 17 year vet of cg in games and film, AI is an old monster, it's not intuitive, it's a decayed turd that has been creamed over with sprinkles and chocolate… but it still tastes like a turd if you take a bite! Oct 25 02:10:52 StingRay_ ha spoken!! Oct 25 02:10:59 AI is cool turd! Oct 25 02:11:31 <^cheeky> :O Oct 25 02:11:39 not really. But games tended to be very... constrained in how much AI they could apply. Interestingly enough, they were one of the few places you could *call* it AI Oct 25 02:11:48 <^cheeky> i wouldn't know though ... naive Oct 25 02:11:56 ... unless it's about illustrator :P Oct 25 02:12:05 and I missed a big chunk of discussion Oct 25 02:12:44 <^cheeky> heh , ahah Oct 25 02:12:46 StingRay_: To be honest, I'll take Adobe CS over quite a lot of other turds around :P Oct 25 02:13:04 <^cheeky> yeah when StingRay_ mentioned AI , for sec thought the same heh Oct 25 02:13:15 p_l: the lack of competition does not make one great… only a leader… and to me thats sad Oct 25 02:13:29 * p_l is doing MSc in Artificial Intelligence, I rarely think of AI as "Illustrator" except when looking directly at its icon Oct 25 02:14:19 <^cheeky> niiiiiceeee Oct 25 02:14:22 <^cheeky> :)) Oct 25 02:14:38 StingRay_: unfortunately, if Gimp is any example when it comes to "Adobe replacement", except for certain packages (that never seem to be as encompassing as Illustrator) there's little chance of seeing something get there from F/OSS Oct 25 02:14:57 <^cheeky> please hurry up with robots please, humans doing relative jobs, kinda waste of brain Oct 25 02:15:25 ^cheeky: the big problem with robots is what to do to avoid starving majority of humanity Oct 25 02:15:36 which would be demanded by capitalism Oct 25 02:15:36 p_l: again, your just pointing out things that are making me sad Oct 25 02:15:41 please stop it :) Oct 25 02:16:04 StingRay_: haha Oct 25 02:16:50 give me lead of a 5 person dev team, the existing mess that is gimp, a 10,000 user testing base, and I would design a node based art package to sh*t on PS Oct 25 02:17:03 and I would burn AI with,… well… flamable stuff! Oct 25 02:17:21 StingRay_: node wouldn't exactly be good choice for the bread'n'butter editors, I think. But who knows Oct 25 02:17:24 <^cheeky> p_l: not the problem of robots and the current tech, maybe brains combine and solve these issues, like see where the root of the problem is Oct 25 02:17:35 I cannot contribute to this discussion because i do not have graphics skills Oct 25 02:17:40 p_l: presentation can be stack Oct 25 02:17:50 but node is dynamic power for such tasks Oct 25 02:17:58 as with every commercial biggy in vfx Oct 25 02:18:22 ^cheeky: the problem is that we *need* menial jobs, because otherwise popular rhetorics will lead to starvation or riots Oct 25 02:18:56 ^cheeky: and some people might suddenly learn that $$$ in bank means nothing to the molotov coctail that got inside the car they are fleeing in Oct 25 02:19:25 <^cheeky> i am sure, as human, and all what we have accomplished the good and the bad, sure can overcome these problems Oct 25 02:19:49 <^cheeky> blaah hence utopian Oct 25 02:20:03 ^cheeky: we usually have a fair share of riots, plundering, raping and murdering to go with that Oct 25 02:20:07 p_l: careful, or people my think that money currency is only what you can make people think it's worth Oct 25 02:20:23 <^cheeky> heh Oct 25 02:20:32 may* Oct 25 02:20:32 ITT: Wage Slavery vs Creative Utopia. Oct 25 02:21:11 I was recently reminded about Snow Crash quite a lot when it came to such predictions :D Oct 25 02:21:25 Love that book. Oct 25 02:21:29 hehe Oct 25 02:21:34 the worst product that people believe in, that has made this world almost unbearable … money Oct 25 02:21:46 robot rat dogs! Oct 25 02:21:58 Fenny: and the best pizza delivery service, ever Oct 25 02:22:05 with best customer support, too Oct 25 02:22:18 You can trust in your ol' uncle. Oct 25 02:22:33 and his team of people with PhD in Pizza Delivery Oct 25 02:22:38 <^cheeky> oh man i miss school i wish i never freaking graduated !!!!! Oct 25 02:22:59 Well, I am sure going to miss it come july Oct 25 02:23:16 <^cheeky> but hey you doing your masters :P Oct 25 02:23:39 <^cheeky> maybe someday ill go back and maybe its just a phase, i am going through heh Oct 25 02:23:39 ^cheeky: yes. And I'm going to be out of school this July Oct 25 02:23:44 Read his new book? It's like 1000 pages. Oct 25 02:23:49 <^cheeky> wish work was like college Oct 25 02:24:13 <^cheeky> p_l: congrats man, dude you gonna be doing some crazy freaking awesome shiit!!!!!!! Oct 25 02:24:18 <^cheeky> nice dude, Oct 25 02:24:20 ReaMde. Oct 25 02:24:27 ^cheeky: I suspect biggest change will be the very, very low chance of non-work socializing going down to infinitesimal Oct 25 02:24:47 Fenny: I recently had seen, personally, something that made me immediately think of Diamond Age - Intelligent "paper" Oct 25 02:25:09 in app purchase/subscription question, am I supposed to do anything if I issue a refund from wallet ? does the user still have the app content shown as purchased ? Oct 25 02:25:16 cause thats what it looks like Oct 25 02:25:19 Fenny: with some of the circuitry actually done with a pen Oct 25 02:25:48 StingRay_: after refund, it will change status on customer side, iirc Oct 25 02:26:00 don't remember right now how it calls it Oct 25 02:26:56 Wow, that reminds me of L Ron Hubbard. Oct 25 02:27:33 Fenny: Years later, after finding about scientology, that character started seriously cracking me up :) Oct 25 02:28:06 it must be the right god, cause look at how handsome Tom Cruise is Oct 25 02:28:20 Heh, yeah. It I hard to believe that people take the writings of a sci-fi author so seriously. Oct 25 02:28:34 p_l: does it take time, cause my test account using the published app, seems to still think it owns the content Oct 25 02:28:36 shmooz: On that topic - http://www.b3tards.com/u/dceb14b0c0ee9d13b69a/beaking-brad.gif Oct 25 02:28:39 Fenny: an author that openly stated that the best way to make money is to start a religion Oct 25 02:29:09 I think the handsome : movie star with money ratio has something to to with it. Oct 25 02:29:17 StingRay_: hmm... possible. Refunds are processed slower than purchases, afaik, and everyone knows how google is "eventually-consistent" Oct 25 02:30:03 'May be evil for short periods' Oct 25 02:31:24 SpeedEvil: you nearly caused a T|N>K event Oct 25 02:31:41 Don't forget to handle bad transaction cancelations if you are doing your own user content tracking. I have seen a notable failure in that respect with Words w/Friends. Oct 25 02:31:42 or TMZ event Oct 25 02:36:59 So, anyone have any thoughts an the best method of anti-piracy? So far, building a critical piece of your app in the NDK and having your checks be in the native code seems to be the best method I have found. Oct 25 02:37:17 That or ad supported only. Oct 25 02:40:30 anti piracy just makes it more annoying for legitimate users Oct 25 02:40:49 people that will pirate will generally never pay anyway Oct 25 02:43:18 That is certainly what the statistics seem to say. I did find a particularly ingeniously protected application the other day though. The author did something to the dex file that caused the classes inside to break most of the usual tools: smali, apktool. The only thing that didn't choke was IDA. Oct 25 02:46:35 The app in question was an exploit for the In-App purchasing system, and I was admittedly curious to take it apart and see how it worked. Oct 25 02:47:20 I suppose it makes sense that an app that is meant for piracy would have the best copy protection. Oct 25 02:47:43 that the freedom app ? Oct 25 02:47:53 I think I've watched a few vids on that today Oct 25 02:48:06 Yes that's the one. Oct 25 02:48:21 does that exploit still work with billing v3 ? Oct 25 02:48:58 Haven't tested that far just yet. Oct 25 02:49:35 It seems to do a whole bunch of stuff that makes me nervous to actually use it. Oct 25 02:50:10 oh really, I wanted to implement my iap fully then try it on my app Oct 25 02:50:32 I think I will poke around in IDA with an eye open for rootkits/Trojans before I do too much more with it. Oct 25 02:50:52 well I would run in a VM 1st anyways Oct 25 02:51:12 I have a few contained test VM's setup for such things Oct 25 02:51:20 that I dont fully trust :) Oct 25 02:51:41 It could be perfectly safe, but the fact that they broke the normal decompilers makes me suspicious. Oct 25 02:55:45 Fenny: what's IDA *cough* for science... Oct 25 02:57:01 https://www.hex-rays.com/products/ida/index.shtml Oct 25 02:57:33 It's only the best debugger in the world! Oct 25 02:57:39 Ida is a disassembler Oct 25 02:59:07 Yep. I wish I had a license for the absolute newest version though. **** ENDING LOGGING AT Fri Oct 25 02:59:58 2013