**** BEGIN LOGGING AT Thu Jun 06 03:00:22 2013 Jun 06 03:03:04 Hi. First day into android development. Trying to use asynctask to create proper background thread, but really unsure about exection, particularly when declaring the class from a clicklistener. Am I doing this right? It's about beer. http://pastebin.com/pdisK2AZ Jun 06 03:04:29 plex, your click handler will instantiate and start the asynctask. I'm not sure where you're attempting to do that Jun 06 03:04:54 plex, but you don't need to put the asynctask as a nested class in the click handler, which seems to be a point of confusion Jun 06 03:05:35 erisco, it definitely is a point of confusion. How does the click know to execute the task then? Jun 06 03:06:30 plex, your click handler will have "new GetFile().execute()" Jun 06 03:09:12 erisco, that makes a bit more sense. let me try again. thanks Jun 06 03:13:18 erisco, shall I define my strings in the GetFile() then, and refer to them in each of the doinbackground, onpostexecute, etc... stages? Jun 06 03:21:00 plex, you mean pass them to the constructor? you can do that. Jun 06 04:08:58 HELLO PEOPLE! Jun 06 04:28:53 I'm a robot Jun 06 06:30:22 good morning :3 Jun 06 06:42:58 hey all :) is there any way to invoke a call on a device (outside emulator)? through "am" commands or a java app or something? Jun 06 06:43:08 like, a phone call Jun 06 06:43:16 without me having to ring my own phone on each test :P Jun 06 06:45:36 what's the fastest way to push a new development version of my app to my device? currently i'm doing "android tools -> export signed application package", following the steps, copying the apk to my device, installing it manually, then running it. is there any way to reduce the number of steps? Jun 06 06:47:57 click the play button in Eclipse Jun 06 06:48:27 i mean a physical device, not emulator Jun 06 06:50:46 I think both work Jun 06 06:50:54 eclipse can tell you where to debug/run e ap Jun 06 06:50:56 *the ap Jun 06 06:51:00 *app dammit Jun 06 06:51:23 ah, i'll look into that, i didn't know that was possible Jun 06 06:51:58 i guess i should read more Jun 06 06:52:17 or plain press F5 and see if it explodes or not Jun 06 06:52:18 lol Jun 06 06:52:35 ah well I guess I'll have to ring my own phone to do some testing... Jun 06 07:06:42 hello. hope everyone is well. Im trying to figure out why dpad is disabled on another a machine even though the tick box for enable hardware keyboard is checked. i thought maybe because its windows and a mac keyboard, but if there is something easier/obvious I'm not finding it. I'm worried it is juno. i downloaded juno on my own machine and it works, but i had created av.'s in indigo - that are in my .android file. anyone Jun 06 07:06:42 ever see this before? Jun 06 07:07:48 hey guys, anyone can help with some Google Play IAB issues? Currently I'm sending the developer payload in JSON and it gets returned fine from Google to the App. But the problem is, when I try to get the data from other API via the server, the XML under merchant-private-item-data returned a seemingly encoded String. Does anyone know how I can either decrypt this data or pass the data specifically when making the purchase so that it can Jun 06 07:07:48 be returned through other APIs? Jun 06 07:10:49 hmmm…even though i did start Juno - i don't think the AVD manager i am looking at it the latest? the choice for d card is near the top and i remember in class it was near the bottom Jun 06 07:31:31 damn winegoddess hey Jun 06 07:31:44 remember we chatted once years ago funny u should show up Jun 06 07:33:49 sorry cant really help though Jun 06 07:33:56 * boytoy attracts a lotta attention and points at winegoddess Jun 06 07:34:14 :) Jun 06 07:34:20 hello boytoy Jun 06 07:37:37 after "adb install"ing an app, is it possible to get its UID? Jun 06 07:42:34 hi boytoy - got kicked off hotel connection - not sure if you saw my messages, but hello again! Jun 06 07:43:24 think i found out that you MUST use command line with newer and to enable dpad Jun 06 07:43:41 if anyone thinks this is wrong please let me know. :) Jun 06 07:45:23 hey that's great :) Jun 06 07:55:11 hey guys, can anyone tell me how Google encode the merchant-private-item-data of a transaction from the Android IAB API? Jun 06 08:02:53 anyone could help? been searching all over the web and the closes thing that talks about this is this thread: http://productforums.google.com/forum/#!msg/checkout-merchant/bwDbfsolQxI/C3gVdkorCBkJ Jun 06 08:19:22 I am on CM10.1 , i like to edit PhoneWindowManager.java , and recombile it , how can i do this ? Jun 06 08:29:48 dear, i want to change config_backKillTimeout but without hard code the valu , is there a way to change it on boot ? Jun 06 08:37:01 hi! is there ony official guide how to customize android( add my own system services, libraries, etc). i found smthng only on marakana resource(named remixing android), is here any oher sources of informaion aboit it? Jun 06 08:37:19 how can i change "config_backKillTimeout" value on boot without hardcod it in overlay/frameworks/base/core/res/res/values/config.xml Jun 06 09:01:57 I'm trying to upload an APK to developer console but it sais "Upload failed". Does it work for you? Jun 06 09:21:08 argh Jun 06 09:21:16 the layout system is making me crazy Jun 06 09:22:19 http://pastie.org/private/rb0s862hrhk82aikaj2sg Jun 06 09:23:07 this is what it looks like in android studio (and what it should look like): https://dl.dropboxusercontent.com/u/20288789/fuckingshit.png Jun 06 09:23:17 may i ask you some thing ? please Jun 06 09:23:27 this is what it looks like on my n7: https://dl.dropboxusercontent.com/u/20288789/2013-06-05%2018.17.41.png Jun 06 09:23:35 beshoo, sure, go ahead Jun 06 09:23:40 how can i change "config_backKillTimeout" value on boot without hardcod it in overlay/frameworks/base/core/res/res/values/config.xml Jun 06 09:23:47 but don't expect any meaningful answers Jun 06 09:23:57 :) Jun 06 09:24:28 i dont want to recombile frameworks-res.apk Jun 06 09:24:44 is there a way to set a global value on reboot ? Jun 06 09:25:01 like .profile or some thing ? Jun 06 09:25:11 hm, i'm more of an app dev than an android os dev Jun 06 09:25:19 so i'm not really the right person to ask Jun 06 09:25:27 hmmmm Jun 06 09:25:39 thank you :) Jun 06 09:25:53 sorry i couldn't help Jun 06 09:26:06 any layout pros here? Jun 06 09:26:08 np Jun 06 09:26:11 this is driving me crazy Jun 06 09:26:19 it seem just me and you :) Jun 06 09:28:21 mots, you probably use height=match_parent, but the height of the parent should also be match_parent Jun 06 09:28:42 * Eltjo Johannes Jun 06 09:30:21 mots: what's that embedded inside? Jun 06 09:30:29 tying to share projects build on eclipse indigo with older android. was working but now getting the issues where it is not generating R.java - have cleaned and rebuilt. project properties to include android version. tried removing import of R.java. can't find other suggestions. any other ideas? Jun 06 09:30:59 pjdelport, http://pastie.org/private/clt3o3biv4rdae1yi3i9g Jun 06 09:31:07 it's inside the viewflipper Jun 06 09:32:03 mots, height of scrollview should be match_parent Jun 06 09:32:18 mots: ah, you want android:layout_height="match_parent" in the flipper Jun 06 09:32:39 android:layout_weight is not valid there; it's not inside the LinearLayout Jun 06 09:33:13 I'm trying to upload an APK to developer console but it sais "Upload failed". Does it work for you? Jun 06 09:34:07 the ScrollView should probably stay layout_weight="1", rather than height match_parent (that will make it squeeze out the views below it, probably) Jun 06 09:35:46 mots, pjdelport is right, and you also need to set the height of the scrollview to 0px. Also, you need to set a layout_height to the include element, otherwise the width is ignored. And that 163 margin-top does not look right.. Jun 06 09:35:48 pjdelport, thanks, i'll give it a shot Jun 06 09:38:18 hm, I had to reload the developer console webpage and it works now, weird. Jun 06 09:41:04 okay…seems like i need t update my sdk tools. message says 22 is needed. manager gives option for up to 20. hoping after instal i get more options? Jun 06 09:41:35 what's your current version? Jun 06 09:42:36 if you're below 20, it's pretty old Jun 06 09:42:47 might need to upgrade to that as an interim version Jun 06 09:46:09 pjdelport, aleb: http://pastie.org/private/jbwsumyrgosimcvool76vq http://pastie.org/private/p1ygnidq41irwixzj5gpmg Jun 06 09:46:14 still doesnt look right Jun 06 09:47:58 you'll want to take out the android:layout_weight from the ViewFlipper (shouldn't make a difference, but it's not meaningful there) Jun 06 09:49:09 mots: what are you wanting ? Jun 06 09:49:27 StingRay_, this is what it looks like in android studio (and what it should look like): https://dl.dropboxusercontent.com/u/20288789/fuckingshit.png Jun 06 09:49:35 this is what it looks like on my n7: https://dl.dropboxusercontent.com/u/20288789/2013-06-05%2018.17.41.png Jun 06 09:50:00 ah ok Jun 06 09:50:21 you sure there is not a view cache miss match with ide > apk ? Jun 06 09:50:32 as in clean and rebuild Jun 06 09:50:52 hm Jun 06 09:50:54 pretty sure Jun 06 09:51:31 ok well the include, has no layout params that control height Jun 06 09:51:58 by default it will come is and take parent conditions I think Jun 06 09:52:22 I have had that prob b4 Jun 06 09:52:35 had to place include in a frame/lin Layout Jun 06 09:52:48 hm Jun 06 09:52:55 then control the linLayout height that way Jun 06 09:53:02 has been odd sometimes Jun 06 09:53:13 i think it's the scrollview/flipper that mess things up, not the include Jun 06 09:53:24 the include is where it should be and has the size i want it to Jun 06 09:53:32 oh hang on Jun 06 09:53:45 yeah you have 0px height ? Jun 06 09:53:51 and weight ? Jun 06 09:53:54 what ??? Jun 06 09:54:03 i'm not sure why, aleb just told me to try it Jun 06 09:54:07 maybe he trolled me Jun 06 09:54:07 :P Jun 06 09:54:47 but hang on, you get a different result in AS viewer and on device ? Jun 06 09:55:05 wont make a difference but stop using "fill_parent" Jun 06 09:55:14 use "match_parent" Jun 06 09:55:21 fill_parent is depreciated Jun 06 09:57:01 I think you have a prob unrelated to layout Jun 06 09:57:11 if AS and device are significantly diff Jun 06 09:57:18 * Eltjo vraagt zich af wie er mee wil lunch halen @all Jun 06 09:57:34 hm Jun 06 10:45:45 I have a general question. Jun 06 10:46:00 Morning all Jun 06 10:46:06 rox: good for you Jun 06 10:46:36 When you hit the heap allocation limit in your apps (for example, when you are doing image manipulation), what is your general strategy to circumvent the limitation? Jun 06 10:47:23 Ankhwatcher: i know, it keeps me healthy. Jun 06 10:47:33 I'm having trouble implementing headers in navigation drawer, any help? Jun 06 10:49:26 hello Jun 06 10:49:35 Kadmos: yo Jun 06 10:49:48 does anybody knows httpurlconnection does reverse dns ? Jun 06 10:50:08 that results in 6 secs lags at offline environments Jun 06 10:50:34 https://code.google.com/p/android/issues/detail?id=30664 Jun 06 10:55:59 You could try http://square.github.io/okhttp/ Jun 06 10:56:19 See if you get the same result. Jun 06 10:57:20 that you dude i'll try Jun 06 10:57:46 thank? Jun 06 10:58:03 rox: split it up into smaller bits? Jun 06 10:58:13 thanks Jun 06 10:58:16 rox: it depends on the kind of work, though Jun 06 10:58:18 * Jun 06 10:59:07 if you can do the manipulation in a streaming fashion, do that rather; if not, you have to figure out a different strategy Jun 06 11:01:49 Kadmos: might not affect things, but have you tried enclosing the IP address in [] ? Jun 06 11:03:03 nop Jun 06 11:03:43 does anyone know of a bit of navigation drawer example code that implements headers in the navigation drawer list Jun 06 11:22:20 hey guys… does anyone know if Google Analytics' tracking of transactions include the ability to store any developer payloads? Jun 06 11:50:51 StingRay_, mots, layout_weight=1 and layout_height=0px on the ScrollView is to make sure that the elements below it are always visible. Jun 06 11:52:15 indeed Jun 06 11:52:35 well depending on parent Jun 06 11:52:39 :) Jun 06 11:54:24 assuming a LinearLayout parent :) Jun 06 11:54:51 also assuming free space Jun 06 11:55:05 cause your above statement is not true in all cases Jun 06 11:55:07 :) Jun 06 11:55:19 but neways, the problem was AS and Device being different Jun 06 11:56:00 what's AS? Jun 06 11:56:14 Android Studio Jun 06 11:56:21 as in IntelliJ Jun 06 11:57:31 btw, does AS have extra/more Android features than IntelliJ? Jun 06 11:57:50 How is Android Studio better then eclipse+ADT? Jun 06 11:59:22 rox: aleb: currently it has several features eclipse+adt hasn't and the other way around, there is stuff working better ine clipse+adt Jun 06 11:59:32 aleb: yes Jun 06 11:59:45 rox thats subjective Jun 06 11:59:51 but intellij is a way better platform to code on, and gvies you opportunities eclipse platform doesn't Jun 06 11:59:55 it is and isn't like timroes said Jun 06 12:00:42 so its likely that in the future several new features won't make it into adt but into android studio Jun 06 12:01:51 for now the main difference you will notice will be, that android studio completely uses the new build system, and you will need to import your projects to gradle if you use it (what in a long term, you will have to do anyway, since the old build systems are going to be deprecated) Jun 06 12:02:37 ugh Jun 06 12:02:42 all myintel emulators started crahsing Jun 06 12:02:43 StingRay_, what's one extra feature that would convince me to use AS instead of IntelliJ? I'm thinking the Android support in IntelliJ is very very good.. Jun 06 12:02:43 wtf Jun 06 12:02:47 tim you using AS and gradle now ? Jun 06 12:03:18 aleb: drawable pre-vis in side bar ? Jun 06 12:03:20 StingRay_: yeah i do Jun 06 12:03:36 aleb: android studio is just a customized version of the android stuff Jun 06 12:03:39 timroes: and use external library projects too ? Jun 06 12:03:43 android studio is not eclipse based, or is it? Jun 06 12:03:46 you will get all what is in android studio back to regular intellij via plugins Jun 06 12:03:56 rox: it is intellij based Jun 06 12:04:30 aleb: and as far as i understood, google just took over the whole android plugins of intellij what was the base for android studio (and their customizzation to the plugins) Jun 06 12:05:11 StingRay_: at least for new projects i use it. for old projects I haven't ported everything yet, and for libraries I will wait until gradle has a bit more presence :) Jun 06 12:05:43 timroes: well I could not get anything that was supposed to work, to work with gradle and external "srcpath" stuff Jun 06 12:05:50 always failed/couldn't find Jun 06 12:06:00 and I cant find anyone who has done it yet Jun 06 12:06:10 so bit of a mess really Jun 06 12:06:12 :) Jun 06 12:06:13 hi guys. if you spawn a separate process via a service, is there any way around networkonmainthread exception? namely I have a lot of logic and wrapping all of that into async calls is going to be non-trivial Jun 06 12:06:17 haven't tried it yet, but i assume it should work :) Jun 06 12:06:30 what rembers me to file a bug report for android studio :) Jun 06 12:06:56 assume away, but it dont Jun 06 12:06:57 :) Jun 06 12:07:13 does itgive you any detailed errors? Jun 06 12:07:39 just missing not found, anything outside the project root path Jun 06 12:07:54 an the point of libaray projects is to exist outside Jun 06 12:08:05 fine if I put them inside Jun 06 12:08:10 but not what I want Jun 06 12:08:11 ah yeah :) Jun 06 12:08:13 deleet: you cannot do network IO on main thread Jun 06 12:08:13 so switch to ant Jun 06 12:08:30 i believe there is a setting you can put in the manifest to enable it but it is highly advised against Jun 06 12:08:31 because of the project -> application structure Jun 06 12:08:34 Hi guys, in the monitor app (monitor.bat the app for seeing logcat) it used to work that youd create filters and those filters would contain and remove items from the main log Jun 06 12:09:05 speakingcode-wor: well it's a different process with no UI so I don't care about it Jun 06 12:09:07 now it just seems to contain them, so if I make a dalvikvm filter, it just contains the dalvikvm messages and but also prints them to the main log Jun 06 12:09:17 StingRay_: i anyway guess libraries will hopefully used via central repository (or at least aar) files soon :) Jun 06 12:09:23 a different process? Jun 06 12:09:40 yes, when I launch my service I have process=":srvice" Jun 06 12:09:46 in the manifest that is Jun 06 12:09:50 that still on UI thread Jun 06 12:10:16 so you can have different process, but your still running networking on UI thread Jun 06 12:10:27 I see. that's.. confusing. Jun 06 12:10:37 so you need to manage that a bit Jun 06 12:10:46 you could use intentService Jun 06 12:10:51 if short lived operations Jun 06 12:11:03 nah, long lived / continuous Jun 06 12:11:19 StrictMode.ThreadPolicy policy = new StrictMode.ThreadPolicy.Builder().permitAll().build(); Jun 06 12:11:19 then get managing your threads :) Jun 06 12:11:27 and it also has a specific order (which is why I wanted single thread) Jun 06 12:11:28 ^^ i still feel like that is a bad idea even if it has no ui Jun 06 12:12:00 ok so, is there a method of communicating with a thread from the UI (messenger I suppose?) Jun 06 12:12:13 I can just have it loop and wait for events I suppose Jun 06 12:12:31 in short yes, but how depends on how you implement the threading and asynchronicity Jun 06 12:13:09 if I can have one thread and just message-pass actions to take I think that will make my life much easier Jun 06 12:13:32 yeah you can do that Jun 06 12:14:08 question is, how? where do I define the messenger / handler and how does the UI thread know about it Jun 06 12:14:18 you bind to it Jun 06 12:14:27 lots of info in docs on services Jun 06 12:14:38 http://developer.android.com/guide/components/services.html Jun 06 12:14:41 i believe android provides mechanisms for this, look in the services doc or async task doc for starters Jun 06 12:14:47 ^^^ Jun 06 12:15:24 well yes, this would be within a service .. so service { t= new thread() { h = new handler(); } } .. then bind to the inner handler from the service class? Jun 06 12:15:47 read the docs. There are examples in what I just linked Jun 06 12:15:51 ok thanks Jun 06 12:16:04 well i use async taks Jun 06 12:16:09 never threads Jun 06 12:16:23 same but it gets the point across Jun 06 12:18:39 ugh, cant belive I'm gonna do an iphone theme for an android ui Jun 06 12:18:51 believe* Jun 06 12:19:08 anyone good with animation? i did some sort of card slide in animation like google plus and apply to each item in a listview Jun 06 12:19:14 it looks fine when scrolling slowly Jun 06 12:19:31 I'm a good animator Jun 06 12:19:36 but when scrolling fast or fling, it becomes kind of jerky Jun 06 12:19:43 done animations in many films and games ;) Jun 06 12:19:47 not sure what is wrong Jun 06 12:20:22 StingRay_: I've been doing that for a while, it's not that bad :/ Jun 06 12:20:30 Has someone Compiled FFmpeg 12.1 for Android?? Please share... Jun 06 12:20:44 deleet: it is bad Jun 06 12:20:52 very bad Jun 06 12:20:55 beyond bad Jun 06 12:21:01 but it's expected by users Jun 06 12:21:33 StingRay_: I'll show you some screens of my app and you'll see that it doesn't look that horrible Jun 06 12:22:00 althought to be fair it's not exactly the same (I wouldn't allow that) Jun 06 12:22:37 * StingRay_ waits Jun 06 12:23:14 but must warn you I'm a vfx/art/design more than a developer … so most of the time I have lots to say about visuals :) Jun 06 12:24:14 by all means, I welcome it Jun 06 12:25:35 Has someone Compiled FFmpeg 12.1 for Android?? Please share... Jun 06 12:26:26 NativeDude: I think the chance of find and answer in here compared to google search is like 100000:1 Jun 06 12:27:14 I could calculate that ratio pretty well... its just to play a chance. Google almost failed there Jun 06 12:28:22 StingRay_: see /msg Jun 06 12:28:23 reading backlog... doing ios design for android is not bad? Jun 06 12:28:37 i wish some admins here to kick him :) Jun 06 12:29:33 kick who ? Jun 06 12:29:43 me, apparently lol Jun 06 12:29:46 well I'm doing it too Jun 06 12:29:48 ppl telling porting ios design to android is "not bad" Jun 06 12:30:00 I just know it's bad from a art/vis stance Jun 06 12:30:06 still doing it though Jun 06 12:30:31 why, if you think its bad from art/vis stance (so your own point of view)? Jun 06 12:30:44 because you have to? there's nothing else to work with often times Jun 06 12:30:46 cause I wouldn't use my app with that theme Jun 06 12:30:48 NativeDude: last I looked into ffmpeg you need Ubuntu 10 or 11.04 (other failed with higher versions) to get it to compile with the right dependencies Jun 06 12:30:52 but I know many many many would Jun 06 12:30:54 deleet: there always is Jun 06 12:30:57 so I dont spite myself Jun 06 12:31:26 if there is an iOS app there is something to work with: a structure, a goal of the app, functionality it want to present to its user Jun 06 12:31:34 timroes: right. when you work for a company that spent 30k on an ios design and $0 on an android one, tell me again if there is something you can do Jun 06 12:31:40 so you can do that in an android way Jun 06 12:31:47 deleet: yeah Jun 06 12:31:50 quit that job Jun 06 12:32:10 timroes: your confusing Jun 06 12:32:24 in what way? Jun 06 12:32:26 functionality != visual design Jun 06 12:32:32 yeah Jun 06 12:32:50 but you will need to create the visual design to fit the functionality of your app Jun 06 12:32:54 ios has a stronger visual presence/design than android Jun 06 12:33:09 and if a user/s wants an IOS theme cause of that Jun 06 12:33:10 so be it Jun 06 12:33:30 what i mean, you can create a great design that fits the app by knowing its functionality, you don't need to port iOS design, because "its the only thing you have" Jun 06 12:33:33 production 101, make clients/users happy Jun 06 12:33:38 ^^^ Jun 06 12:33:44 StingRay_: fancier perhaps, but not stronger Jun 06 12:34:00 oh yeah and bad design alwatys made ppl happy :) Jun 06 12:34:01 this exaggerated fancyness / shinyness, if you ask me, is a weakness Jun 06 12:34:02 boytoy: I disagree Jun 06 12:34:02 hey Jun 06 12:34:13 looking for ways to push application updates without google play market Jun 06 12:34:14 stronger = more consistant Jun 06 12:34:15 any suggestions? Jun 06 12:34:20 StingRay_: well it might be cool the first 100 times you look at it Jun 06 12:34:23 some custom component Jun 06 12:34:27 e.g. https://play.google.com/store/apps/details?id=com.ikmultimediaus.android.irigrecorder Jun 06 12:34:28 but after 10.000 times it's like please mommie no more Jun 06 12:34:31 NativeDude: this seems to be a java way to use ffmpeg in your app without needing to do C or NDK Jun 06 12:34:32 zhulikas: HockeyApp Jun 06 12:34:37 NativeDude: https://play.google.com/store/apps/details?id=com.netcompss.ffmpeg4android&hl=en Jun 06 12:34:38 give me something simple to look at Jun 06 12:35:21 xor42, thank you. I love you! Jun 06 12:35:24 :) Jun 06 12:35:39 "Perfection is achieved, not when there's nothing left to add, but when there's nothing left to take away." Jun 06 12:35:42 zhulikas: :-) your welcome Jun 06 12:35:44 one of nature's core design principles Jun 06 12:35:48 android's too Jun 06 12:36:27 na Jun 06 12:36:37 simplicity has nothing to do with consistency Jun 06 12:36:40 it's wrong in many ways Jun 06 12:36:41 you got it all mixed up brah Jun 06 12:36:48 and I dont mean simplicity Jun 06 12:37:14 I mean things like pallets and even UI guides to aid placements and use Jun 06 12:37:16 sorry wernt we discussing the fancyness / shinyness of ios themes? Jun 06 12:37:21 no Jun 06 12:37:22 hmmmm Jun 06 12:37:25 those are paid... Jun 06 12:37:32 maybe I could roll out my own solution Jun 06 12:37:33 NativeDude: here's the one that you need ubuntu to compile with ... http://sourceforge.net/projects/ffmpeg4android/ Jun 06 12:37:34 oh ok my bad then Jun 06 12:37:38 principle seems to be simple Jun 06 12:37:47 check for updates, offer downloading a new .apk, done Jun 06 12:37:48 StingRay_: so how bad is my 'port' Jun 06 12:38:01 I was discussing a theme for my app that will look like ios Jun 06 12:38:05 not cause I want to Jun 06 12:38:13 not cause I think it's good to copy Jun 06 12:38:19 but cause users expect it Jun 06 12:38:27 i dont like, I dont agree Jun 06 12:38:30 you said ios had a stronger visual presence, by a stronger visual presence one would obviously mean a better designed presence Jun 06 12:38:42 ah no it is Jun 06 12:38:56 strong in the sence of coherence and guides Jun 06 12:38:59 and if simplicity is the cornerstone of a strong / better design, then Jun 06 12:39:12 better design as an overall experience Jun 06 12:39:25 maybe simpler in many ways too Jun 06 12:40:10 well who knows Jun 06 12:40:16 let's ask roman nurik next time he stops by Jun 06 12:41:05 cause on voice represents a clear impartial answer Jun 06 12:41:08 errr.... Jun 06 12:41:10 one* Jun 06 12:41:32 many does, and luckily iOS ports get told that by many users in their ratings Jun 06 12:41:35 shmooz: thanks dude... i'll check it out... will get back with what happens Jun 06 12:41:41 e.g. see above app Jun 06 12:41:46 see old IKEA app Jun 06 12:41:53 see xyz-port-from-ios Jun 06 12:42:04 you guys dont get it Jun 06 12:42:04 NativeDude: good luck , yeah let me know what happens :) Jun 06 12:42:17 there's little to no times that an app is first designed for android and only then for ios Jun 06 12:42:28 very strange Jun 06 12:42:31 so what usually happens is taht the ios theme ends up overflowing onto android Jun 06 12:42:35 i do that all the time o.O Jun 06 12:42:46 or lets say, our company does this all the time Jun 06 12:43:11 and even if they design iOS its not designed after the android app, because it would produce the same crap Jun 06 12:43:33 you're one of a few then, most companies I know of do ios -> android Jun 06 12:43:50 I've done android -> ios successfully, dont get me wrong, but it's rare Jun 06 12:44:24 shmooz : I've tried this one out before... the problem with this one is, it is preconfigured a lot. Customizations are barely possible. I would have preferred to be able to compile the latest version of plain FFmpeg lib Jun 06 12:45:35 NativeDude: there's also this one which he says is simpler, but not sure how you include it in your app ... https://github.com/guardianproject/android-ffmpeg Jun 06 12:46:46 I've got a listfragment with an empty view active using loadermanager. Logging out of my app empties the database that the listfragment is hooked up to and restarts my loginactivity. But my listfragment manages to display the empty part very briefly before the loginactivity takes over. Any suggestions on how to avoid this? I need the empty display in case a user logs in and there is no data to be Jun 06 12:46:48 displayed... Jun 06 12:48:01 ios and android designs are slowly converging Jun 06 12:48:28 it's all mobile Jun 06 12:48:48 hi guys,i'm playing with the Licensing library. Is there any delay when you change options inside the developer console? Or changes should be seen immediately by the app? Jun 06 12:49:43 shmooz : i've tried that one as well... this one as well is junked with some low-level issues without any proper solution all over the internet. I don't know why FFmpeg couldn't release a compiled version of the lib for Android by themselves. Its being an unresolvable mesh out here :P Jun 06 12:51:18 NativeDude: I agree, I was suggesting that the android team tranparently make VideoView an ffplay container, so it just works with more codecs and streams Jun 06 12:52:06 ugh Jun 06 12:52:09 that wouldn't work Jun 06 12:52:28 ffplay's architecture really isn't built for such devices Jun 06 12:52:43 shmooz : exactly! iOS does that... its so much of relief for the devs. Ideally it shouldn't be the job of a developer to compile a native library of this much of complexity Jun 06 12:53:00 Mavrik: ffmpeg has included android support in their recent releases Jun 06 12:53:04 what *could* be done would be linking libavcodec into OpenSL or whatever Jun 06 12:53:25 shmooz, no, they included a libstagefright decoder Jun 06 12:53:44 yup... and you can't compile a version of it ahead of FFmpeg 0.8 "Love" Jun 06 12:53:52 which is a rather different thing than using that for primary video decoding system for a mobile device Jun 06 12:53:53 I have a GridView/ListView with an ImageView as the row. Each row has some padding to it. Does anyone have a better suggestion as to how I can make the list selector not only be on top (via drawSelectorOnTop) but also clip the selector so that it matches the padding of the row. My only solution so far is to make an empty view on top of the ImageView that matches the width/height with padding and use that empty view as t Jun 06 12:53:54 he selector. Jun 06 12:54:31 shmooz, but yes, if they took alot of time they probably COULD include libav* as part of the system Jun 06 12:54:37 the performance would be pretty bad though Jun 06 12:54:57 well, not necessarily bad Jun 06 12:55:00 NativeDude, at least ffmpeg 1.1 works perfectly on Android Jun 06 12:55:19 p_l, sorry, meant "terrible" Jun 06 12:55:20 but it would eat battery like it was getting out of fashion Jun 06 12:55:37 remember, to gain anything more than what you have now you'd have to decode on the CPU Jun 06 12:55:39 * p_l used to play stuff that doesn't work with hw decoders in any phone Jun 06 12:55:40 Mavrik: well the top players like MX Player are one way or another getting it to work nicely, from a users point of view at least Jun 06 12:56:16 shmooz: they use (probably) OpenSL for accessing native codecs and use their own ffmpeg-based paths for stuff not supported by device Jun 06 12:56:21 p_l, yes, pushing frames from libav to screen on a normal device nets you about 20-30 fps on a modern Krait Jun 06 12:56:24 which is still pretty bad Jun 06 12:56:36 especially since you're clocking a quadcore ARM to fullpower instead of using the DSP Jun 06 12:56:46 Mavrik: pushing frames is easy Jun 06 12:56:49 Mavrik : you're giving me waves of relief.... by any chance, do have you what should be the .sh script to do the compilation of ffmpeg 1.1??? Jun 06 12:56:54 if you'll check the performance counters you'll see you're hitting termal barrier on N4 Jun 06 12:56:59 and probably the least expensive operation Jun 06 12:57:00 NativeDude, uhh Jun 06 12:57:04 NativeDude, lemme dig on my drive Jun 06 12:57:22 Mavrik : thanks dude :) Jun 06 12:57:35 it will be a huge help Jun 06 12:58:13 p_l, actually it's not Jun 06 12:58:18 it's pretty expensive Jun 06 12:58:33 that's why the HW decoder is writing directly on your screen surface (or surfacetexture on 4.x+) Jun 06 12:59:04 since otherwise you need to push huge frames from system-reserved to gpu-reserved memory… which at 720p still taxes the bus Jun 06 12:59:31 that's also the reason why all Surface/TextureView magic is so annoyingly limited :P Jun 06 13:00:13 NativeDude, http://pastebin.com/ya8brXUf Jun 06 13:00:34 NativeDude, TOOLCHAIN_ROOT has to show to a folder where you used "make-standalone-toolchain.sh" to create a gcc-4.6 standalone toolchain Jun 06 13:00:43 no hardware support on that build though Jun 06 13:00:59 hmmm... I'm getting ~30MiB/s bandwidth for 720p, but I might have nixed something somewhere :) Jun 06 13:01:19 p_l, which device/SoC? Jun 06 13:01:24 Mavrik : Thanks a ton, i'll try this one out.. Jun 06 13:01:35 I'm usually having problems on low-end crap though Jun 06 13:01:37 ahh, sorry, made mistake Jun 06 13:01:41 found wher Jun 06 13:01:59 ok, 675MB/s looks much more sane Jun 06 13:02:08 aaaaaargh Jun 06 13:02:38 PSA - more coffee before calculating Jun 06 13:03:38 ~85 MB/s for 24fps ("film" framerate) 720p assuming 32bit pixels (i.e. 24bit + padding) Jun 06 13:04:20 Mavrik : FFmpeg 1.1.5 "Fire Flower", right? Jun 06 13:06:21 NativeDude, possibly, I have some kind of git Jun 06 13:06:24 maybe even 1.2 atm Jun 06 13:06:26 :) Jun 06 13:06:43 Mavrik: considering that I managed to play 1080p video with sw decoding on N4 while having GPS running and using navigation, I think it does pretty well except for the power drain Jun 06 13:06:51 Anyone else working on a OpenGL ES 3 application? :P Jun 06 13:07:37 p_l, remember, N4 has a monstrous quad-core krait @ 1.5GHz Jun 06 13:07:38 when running ffmpeg it's about 10-40x faster than what you get on a HTC One V for example Jun 06 13:07:47 Sonicadvance1, got a Tegra4 lying around? :P Jun 06 13:08:23 Mavrik: well, I wouldn't be so stupid as to play it on Tegra2 ;) Jun 06 13:08:45 Answering myself: Calling setVisibility(View.GONE) on the relevant fragment works, because the fragment gets recreated on the next login. Jun 06 13:08:51 * capella_ getting annoyed Jun 06 13:09:26 Mavrik: otoh, *no* hw chip in any mobile device can play files that I usually watch, so I am SOL Jun 06 13:09:52 p_l, btw, how are you getting frames from ffmpeg to the screen? OGL surface? Jun 06 13:10:51 don't remind me on Tegra2 Jun 06 13:10:53 :P Jun 06 13:12:12 Mavrik, Tegra 4 doesn't support GLES3 Jun 06 13:12:18 * capella bounced Jun 06 13:12:30 S4 *might* play some of the stuff that will come out this year, but it's unsure Jun 06 13:12:30 *SGS4 Jun 06 13:12:30 Mavrik: It seemed to be OpenGL - the number's I quoted earlier were calculated required bandwidth Jun 06 13:12:30 eh, SGS4 got sw decoder for HEVC Jun 06 13:12:44 capella_, there there, kick an iPhone and you'll feel better. Jun 06 13:12:51 p_l, SGS4 /does/ have GLES3 although it is a bit buggy Jun 06 13:12:57 S600 model* Jun 06 13:13:52 p_l, heh -- I've been trying to find a person who could test some HEVC samples on that device Jun 06 13:14:09 the closest I got was when I got some free time to roam a phone shop Jun 06 13:14:22 too bad all the muxed streams I had then were without profile and level Jun 06 13:14:27 so it most probably broke there Jun 06 13:16:18 ehh Jun 06 13:16:25 lots of turbulence Jun 06 13:16:54 hah, p_l, GS4 does support GLES3 :P Jun 06 13:17:41 Sonicadvance1: and good for it, not getting one for sometime though, N4 works fine :> Jun 06 13:18:07 Still waiting for someone to take their N4 and updating to the drivers that qualcomm gave out Jun 06 13:18:17 I want to know what version it is :/ Jun 06 13:19:04 Version 14 of the drivers(latest) has mostly complete GLES3 support Jun 06 13:20:00 is there some color-manipulation class? with methods like lighten, darken, invert, setalpha, getgreen etc.? Jun 06 13:20:24 'mostly complete' is almost an oxymoron ;) Jun 06 13:20:45 shmooz, It's buggy :( Jun 06 13:21:32 http://code.google.com/p/android/issues/detail?id=53230 Jun 06 13:21:36 one bug down Jun 06 13:21:57 oh, google just released an update for keyboard ? Jun 06 13:22:05 never seen that before Jun 06 13:22:31 onto the next crash xP Jun 06 13:23:34 omg they fixed an bug Jun 06 13:23:36 just tried out android studio, it blows eclipse out of the water Jun 06 13:23:37 love it Jun 06 13:24:46 rox: you gonna get StingRay_ started again ;) Jun 06 13:25:26 * StingRay_ is quietly shocked that a bug that he submitted over 6 months ago is fixed Jun 06 13:25:37 in the new keyboard update from playStore today Jun 06 13:25:44 Mavrik: btw, regarding pushing frames to display - I calculated *minimum* required bandwidth, and OMAP4430 has a pretty good chance of doing that :) Jun 06 13:26:04 but it gets close to 90% bus utilization Jun 06 13:26:21 shmooz: i apologize Jun 06 13:27:27 p_l, yep Jun 06 13:27:44 that's why you usually have HW decoders wired so they push pretty much as directly on screen as possible Jun 06 13:27:58 anyway, the talk was ffplay as core android media architecture :) Jun 06 13:28:22 yes one day, it shall happen Jun 06 13:28:24 Mavrik: actually I think hw decoder is wired this way because otherwise it would get a *third* trip through memory Jun 06 13:28:40 and their main use is lowering power use Jun 06 13:31:35 p_l, mhm, and lowering requirement for main CPU power Jun 06 13:31:44 Mavrik: more so the power thing Jun 06 13:31:50 so you can have those crappy 800MHz ARMs with 720p video support ;) Jun 06 13:32:11 heh Jun 06 13:32:22 or… RPis while we're at it :P Jun 06 13:32:27 I had an ARM11 @ 800MHz :P Jun 06 13:32:41 Mavrik: in case of RPi the ARM core is actually more of a coprocessor :> Jun 06 13:33:09 hehe yeah Jun 06 13:33:13 kinda like "management computer" for the VideoCore one Jun 06 13:45:26 Can someone point out any resource or library that can be used to create a view like in Google plus application ( view + animation) ? Jun 06 13:46:22 is that not just layout animation ? Jun 06 13:48:30 StingRay_, I have seen some posts where they have mentioned about it as a transition animation Jun 06 13:49:03 well yeah, at worst since you know when a view is being shown, you can just play animation on it Jun 06 13:49:29 StingRay_, but i am more interested to know how to create the tiles with a 3d effect Jun 06 13:50:03 tiles with 3d effect ? Jun 06 13:50:35 oh the slight skew on them Jun 06 13:50:49 huh, hadn't noticed that Jun 06 13:51:24 it's actually a bit pointless as 99.9% of the time it has no "value add" Jun 06 13:51:36 hence why until I looked for it, didn't notice Jun 06 13:51:38 :) Jun 06 13:55:09 I need help in NDK please. It's not recognizing in Linux the path for the usual includes like iostream . what should I do? Jun 06 13:56:42 superlinux, how to you build? Jun 06 13:56:57 using ndk-build Jun 06 13:57:55 EPG, do you know in NDK or not? Jun 06 13:58:32 superlinux, I'm using it but did only compile C code Jun 06 13:59:08 so if i have C++ code , can't I use it? Jun 06 14:00:02 EPG? Jun 06 14:00:36 Can anyone help me with Eclipse on OSX 10.5??? Jun 06 14:00:47 wow 10.5 ?? Jun 06 14:00:54 According to google it should work Jun 06 14:01:05 Sting: Yes Jun 06 14:01:18 thats like….almost not even a cat ! Jun 06 14:01:31 lol Jun 06 14:02:04 Error: R cannot be resolved to a variable Jun 06 14:02:27 thats nothing to do with cats Jun 06 14:02:36 or eclipse on a cat Jun 06 14:03:02 No everything to do with eclipse on a cat Jun 06 14:03:15 user1, that just means something was wrong with your XMLs Jun 06 14:03:19 usually console shows output Jun 06 14:03:47 user1: clean your project, make sure your xml filenames don't have uppercase in them, and then check for errors in xml Jun 06 14:04:07 ... dyld: unknown required load command (hex value) Jun 06 14:04:38 i would assume that to be irrelevant unless it's a java/osx problem Jun 06 14:04:52 but you can re-gen dyld caches on osx Jun 06 14:05:06 but again, would assume it's not that Jun 06 14:06:51 It happens even when I try to use a sample from "Samples for SDK" Jun 06 14:07:01 this thing is driving me crazy.... Jun 06 14:08:30 user1: are you using eclipse ? Jun 06 14:08:37 Just adding new SDK now Jun 06 14:08:51 it says the packages are loaded... Jun 06 14:09:11 however, there's a Stopping ADB server failed (code 133). Jun 06 14:09:12 Starting ADB server failed (code 133). Jun 06 14:09:53 see now that could be to do with linked chaches etc Jun 06 14:10:13 if I were you I would go get a tool called onyx Jun 06 14:10:18 I wonder if it has something to do with the version of Java I've got Jun 06 14:10:18 and do a full clean Jun 06 14:10:32 unless you know all the term cmds Jun 06 14:10:41 Sting: let me check out onyx Jun 06 14:15:56 shmooz: the errors are in things inside the src folder Jun 06 14:16:19 StingRay_, it also does not show the loading progress at the bottom but loads more content towards the end Jun 06 14:16:21 IRemoteService cannot be resolved Jun 06 14:16:42 R cannot be resolved to a variable Jun 06 14:17:10 This is a sample called ApiDemos Jun 06 14:18:24 user1, i would probably delete the R.java in gen folder and build to create a new one. Jun 06 14:18:51 chin: i'll try it Jun 06 14:19:11 hope it works .. Jun 06 14:19:25 chin: I don't see R.java in the gen folder Jun 06 14:19:34 user1: if there's any single quotes ' in your strings.xml they need to be escaped with \ Jun 06 14:19:47 then the R is not yet created Jun 06 14:19:54 check with the Res files Jun 06 14:20:22 chin: what do I check about the Res files? Jun 06 14:20:25 personally I would stop all of it, and create a default base android project with the wizard Jun 06 14:20:28 see if that builds Jun 06 14:20:37 if it does not, you have probs Jun 06 14:20:48 outside of the android build errors Jun 06 14:20:53 Sting: yes, it won't build Jun 06 14:21:07 then irrelevant looking for problems in the project Jun 06 14:21:27 user1: http://stackoverflow.com/questions/4298155/compiling-and-running-apidemos Jun 06 14:26:30 Sting: I just created a default base android project and I'm still getting errors related to R and from the consol, dyld: unknown required load command 0x80000022 Jun 06 14:28:14 check dependancies of android dev env. and make sure you have them and correct versions Jun 06 14:28:32 not even sure that apple updates java for 10.5 Jun 06 14:31:06 that's what I'm thinking it's something with java Jun 06 14:31:17 I tried to install JDK or something Jun 06 14:31:29 directly from sun I guess Jun 06 14:31:37 but it wouldn't update Jun 06 14:32:01 user1: oracle took over from sun Jun 06 14:32:05 oh you can really fk yourself fighting apples implementation of java if you dont do it correctly Jun 06 14:32:19 they have to be side by side Jun 06 14:32:21 Sting: ok Jun 06 14:32:40 is there another IDE I can use? Jun 06 14:32:45 user1: did you try Hello World yet ? Jun 06 14:32:55 shmooz: I did Jun 06 14:33:00 errors Jun 06 14:33:02 Does anyone know if it is possible to read alarm clock information from another app? (ie. I want to know when the user has set alarms for) Jun 06 14:34:54 ejcweb: see if the app exposes an API / content provider / something Jun 06 14:35:17 if not, probably not Jun 06 14:37:32 pjdelport: Yeah, that's what I'm trying to establish really. I'll do some experimenting. Jun 06 14:38:29 if it's not documented, it's probably not something you can rely on Jun 06 14:39:04 I guess there should be a global alarm reserve list so that apps can warn users about apps taking up that timeslot for alarm Jun 06 14:39:09 hi guys! after a long and fruitless search on the web, maybe you can help me: I want my application to use the countdown timer from the clock app, or failing that a dialog just like the time picker from that timer... (the one styled like a numpad) Jun 06 14:39:09 ejcweb: could go for https://code.google.com/p/android-alarm-database/source/browse/trunk/src/com/android/alarmclock/util/AlarmDatabase.java Jun 06 14:39:38 ejcweb: but that assumes that the device is using default clock, manf. replace such things on their android SKU's Jun 06 14:39:41 so that two or more apps can't use the same alarm timeslot Jun 06 14:39:47 with that in mind, your fked :) Jun 06 14:40:40 StingRay_: In worst case I'll just implement my own alarm clock, but all I'm really trying to make is an alarm clock 'plug in'. Jun 06 14:40:53 you have too many to deal with Jun 06 14:40:57 sammy htc sony Jun 06 14:41:06 I think they all do their own Jun 06 14:41:35 I guess theoretically I could find where they each store the info, and assume that most people use the default alarm clock of their phone manufacturer. Jun 06 14:42:08 Otherwise maybe it's easier to copy the default Android alarm clock entirely to replace it's functionality. Jun 06 14:56:24 different mfrs store their alarm clock info differently Jun 06 14:56:31 different alarm clok programs will as well Jun 06 14:56:42 speaking of which, I want to turn the aosp clock's stopwatch into a widget... Jun 06 14:56:44 wish I had time Jun 06 14:56:57 so I could use that thing from my lockscreen without having to unlock phone Jun 06 14:58:22 pfn: So you reckon then my best chance is to make my own alarm clock rather than trying to work around different implementations? Jun 06 15:00:17 how much do you want to accomplish? Jun 06 15:00:49 android.provider.AlarmClock lets you at least set an alarm with an Intent Jun 06 15:01:33 pjdelport: Roughly speaking I'm trying to see if I can detect when someone has not dismissed their alarm after a certain time (eg. snoozed the alarm for 30 minutes). Jun 06 15:01:44 I understand that it will be quite hard to do though Jun 06 15:02:34 I guess the other thing I could do is intercept the notification that is shown when an alarm is ringing or snoozing... that wouldn't be ideal though! Jun 06 15:05:23 what are you using that for? Jun 06 15:05:47 it sounds like something to be more tightly integrated into a particular alarm clock app Jun 06 15:07:34 pjdelport: An example would be to text a friend automatically when the alarm isn't dismissed after a certain time. It would be nice (as a proof-of-concept at least) to not have to worry about designing the whole alarm clock app. Jun 06 15:11:01 Hi androids ;) Jun 06 15:12:46 hi Jun 06 15:19:55 anyone seen g00s lately ? Jun 06 15:54:13 hi guys, is create an activity is the only way to make a new page in android? and anytips of organizing your pages? Jun 06 15:54:32 organize them into activities :) Jun 06 15:55:18 yes, I saw that function. do you know any video tutorial for it? or clear text tutorial? :) Jun 06 15:57:17 g00s has been moving Jun 06 15:57:19 I think Jun 06 15:57:32 duck Jun 06 15:59:13 what the f is that video? Jun 06 16:01:07 pfn: ah right, cheers Jun 06 16:04:48 StingRay_: Your the guy with alot of exp. in android developing right? Jun 06 16:05:14 define alot Jun 06 16:05:35 cause I doubt it, compared to most in this chat Jun 06 16:06:05 although if you want a CG Dinosaur eating you best friend in a video, then yes I would be Jun 06 16:06:24 but android development, less so :) Jun 06 16:07:22 or if you wanted a principal technical artist for a games or vfx production, then yeah to that too Jun 06 16:07:23 :) Jun 06 16:12:07 I challenge you, I only have 3 days experience. Jun 06 16:12:37 challenge me to what ? Jun 06 16:12:56 androidnewb, what is your android version? 2.x or better? Jun 06 16:15:24 androidnewb: just read your questions, page is a wrong term, screen/ui layout is better Jun 06 16:15:44 and no an activity is not the only way to show new screens/layouts Jun 06 16:15:57 you can have many in a single activity Jun 06 16:16:08 using lots of methods and widgets Jun 06 16:16:36 Hey, is it possible, that two applications can receive the same SMS? I want to make a background-app that saves all my SMS to a log file, but I still want my SMS app to receive them, so that I can read them. Jun 06 16:16:51 MoeMorox: yes Jun 06 16:17:11 Do I need to set up something specific or does this work out-of-the-box? Jun 06 16:17:29 you have a priority in the intent filter, then when dealing with the broadcast, you can just "NOT" abort the broadcast and it continues Jun 06 16:18:07 okay, thanks Jun 06 16:19:01 you do however, have no guarentee that something with a higher priority will do the same for you Jun 06 16:19:13 so you may not even get it Jun 06 16:19:14 :) Jun 06 16:19:23 :D Jun 06 16:20:01 StingRay_: thanks for the tips but soon i'll be better than you. Jun 06 16:20:20 glad to hear it Jun 06 16:20:24 good luck Jun 06 16:21:06 StingRay_: very soon, we will meet again. Jun 06 16:22:12 androidnewb: check for fragments... that could help you Jun 06 16:22:28 ill check that Jun 06 16:23:08 androidnewb: we have not ever "met" so erm… ok Jun 06 16:23:15 but what is your android version? Jun 06 16:23:15 :) Jun 06 16:23:55 or your android's target version? Jun 06 16:26:14 StingRay_: i was being sarcastic Jun 06 16:26:39 minioim: Android 4.1 Jun 06 16:28:36 androidnewb: ok so definitely look for fragments ;) Jun 06 16:29:56 it will maybe be harder to understand in the beginning but very powerfull Jun 06 16:30:14 and exactly what you're looking for Jun 06 16:31:35 cool, i'll take a look on tha Jun 06 16:36:15 Is there a good pattern for letting users share app information on Facebook (ie. 'Matt used for 10,000 hours!' - kind of like achievements in games). The normal sharing intent feels a bit too generic. Perhaps there are existing good solutions to this? Jun 06 16:36:34 (equivalently Twitter). Jun 06 16:55:51 <|Agent> ejcweb, what's generic about it? You've got text, you share it out. The user will probably get an editing UI, but if you don't want that, I guess you'll have to dip into the Facebook API. Jun 06 16:56:40 I guess what I'm thinking of is the sort of post that Facebook apps can produce, so yes, I suppose I might need the Facebook API. Jun 06 17:03:43 Can someone please have a look at this: http://pastebin.com/nXRiqte8 and tell me what I got wrong? It's not firing the alarm's I set at all and I've double checked the timestamps to ensure they're appropriate for the current locale. I'm unsure what I messed up. Jun 06 17:03:52 alarms* Jun 06 17:05:00 is anyone using Cloudant? Jun 06 17:05:04 am is the system AlarmManager BTW Jun 06 17:05:22 I probably should've included that in the pastebin ^_^;; Jun 06 17:08:45 Guys what is best fastest method to show code to someone i mean whole project? Jun 06 17:09:19 github? Jun 06 17:09:24 kk Jun 06 17:10:14 Etched in stone tablets. Jun 06 17:15:12 Anyone here use AlarmManager often? Jun 06 17:16:04 hi all. what is the most secure way to sell an app: classical paid way with periodic license checking or in-app billing? it seems there are hacks to break both ways... thanks. Jun 06 17:16:40 There are ways to hack everything. Jun 06 17:16:40 Fallout2man: maybe this? http://stackoverflow.com/questions/14398127/rtc-wakeup-is-not-working Jun 06 17:17:16 lorenx: there is no secure way really, on the up side thought most apps dont sell well at all, so your not loosing much :) Jun 06 17:17:43 JC_Dev: Danke! This just might be what I'm looking for. Will report back if it works. :) Jun 06 17:17:51 you're welcome Jun 06 17:18:27 BtbN: ok, i guess it too... but maybe there is a "less insecure" way :) Jun 06 17:19:47 StingRay_: i'm not sure i got it. you mean it isn't worth it to understand which way is better? Jun 06 17:20:03 that is not what I said Jun 06 17:24:02 although probably not worth attempting to go to extremes Jun 06 17:24:04 :) Jun 06 17:30:03 Good afternoon guys Jun 06 17:33:11 does anybody know how to change background in an element of an array adapter programatically Jun 06 17:33:24 based on InAppBilling status or something Jun 06 17:33:58 setBackground("watever") ?? Jun 06 17:34:16 or setBackgroundDrawable or Resource Jun 06 17:34:22 depends on api version Jun 06 17:34:25 which sux Jun 06 17:35:07 ArrayAdapter mAdapter=new ArrayAdapter(); Jun 06 17:35:07 then i add something mAdapter.add("hi"); Jun 06 17:35:07 then there isn't a method to set background Jun 06 17:35:28 erm Jun 06 17:35:39 I think you should go thought the listView tutorials Jun 06 17:35:50 in the getting started section of d.android.com Jun 06 17:36:24 the adapter has a getView method, that gets the view and passes it to the listView Jun 06 17:36:35 at that point you can do whatever conditional visual stuff you want Jun 06 17:37:11 just remember that the listView recycles views, so you would always set the condition Jun 06 17:37:24 but all that should be in the tutorials/getting started Jun 06 17:41:05 do you know how many time takes to recicly his views Jun 06 17:41:31 not something you should have to worry about Jun 06 17:41:57 and depends on if the items views have variable heights Jun 06 17:42:19 but if you having to worry about that, and not just being aware of it, your doing something wrong I think Jun 06 17:43:00 well I suppose if you were doing complex animations, maybe you need to be very aware of it… but still should be not required for you to know Jun 06 17:43:42 as is my humble understanding of all this programmery magic … :) Jun 06 17:45:38 ok i'll try Jun 06 17:47:12 are there any good libraries for performing http retries with exponential backoff? Jun 06 17:47:18 or is the standard to just roll your own Jun 06 17:47:28 seems like a common enough practice that there'd be somethign out there Jun 06 17:54:45 hey is there any way to explicitly request recicle view on arrayadapter Jun 06 17:55:23 why would you do such a thing ? Jun 06 17:55:42 Hi, should I read all the classes on the android site before I start programming? Jun 06 17:55:58 Miesco: I suggest you first decide what you want your first app to be Jun 06 17:56:01 then start reading related materials Jun 06 17:56:05 then work on that app until its done Jun 06 17:59:42 not really related Jun 06 18:04:10 not related .. but do you think for android phones wifi would be better to place at roof ? http://i.imgur.com/3sFc81j.png Jun 06 18:04:51 when you see it Jun 06 18:14:13 Hi, I'm trying to generate an API key to use for Google Maps API. But I am lost. I followed exactly what the directions said: http://puu.sh/39K7x.png Jun 06 18:15:56 ... it's telling you to specify the path to "my" keystore file. Jun 06 18:17:20 :| Jun 06 18:17:27 Monie: Does the keystore file you're requesting exist? Jun 06 18:17:30 cause it says it dont Jun 06 18:17:50 That's my problem. Sorry Jun 06 18:29:37 hy all Jun 06 18:30:17 Hello Jun 06 18:32:14 <|Agent> Where can I get the View for an Activity? I need to adjust something based on its size during creation. Can I just override onCreateView(String, Context, AttributeSet) and call super and use the returned View, or is that the wrong place? Jun 06 18:33:06 FileObserver is a bit unclear on whether it's recursive or not Jun 06 18:33:31 Hi guys! anyone know a video android tutorial to send files via email with attachments? Jun 06 18:34:16 |Agent: Not sure what you're looking to do. Do you want a reference to the view that was created by an activity, or are you trying to modify that view? Or what? Jun 06 18:34:39 androidnewb: No idea. Although generally stack overflow is a good source instead of videos Jun 06 18:35:14 <|Agent> I am trying to modify an attribute of a subview of the activity based on the size of the screen or activity's content view. Jun 06 18:35:33 but not based on the view itself ? Jun 06 18:35:51 <|Agent> Right. Based on the Activity's content view. Jun 06 18:36:19 well what I mean is at the point of onCreateView, there is no layout Jun 06 18:36:25 so no nothing, dimensions etc Jun 06 18:36:34 Brian|CB: sometimes I get stuck in Stack overflow Jun 06 18:36:43 <|Agent> Specifically, I'm trying to adjust the size of the line segments of a LinePagerIndicator. Jun 06 18:36:57 <|Agent> So that they all fit on screen. Jun 06 18:37:37 |Agent: If you're trying to make things adjust to fit on a screen, why not just weight them? Jun 06 18:39:36 Stin, Jun 06 18:39:54 StingRay_: why don't you use relativeLayout? Jun 06 18:40:43 StingRay_: error sorry... ^^ Jun 06 18:40:47 <|Agent> Brian|CB, I don't have that option. I'm not adjusting view positions, I'm setting a line segment length. The argument is simply a float value. Jun 06 18:41:03 |Agent: why don't you use relativeLayout? Jun 06 18:42:28 |Agent: ok, hum, does your segment, by any chance, has the same lenght that your screen? is it a separator? Jun 06 18:42:53 |Agent: Weight isn't positioning though O.o If you put the views in say a linear layout of horizontal orientation, and set their width to 0 and weight to 1, they will autosize O.o Jun 06 18:43:09 Maybe I should look up what a pagerindicator is before I look at this though Jun 06 18:43:16 <|Agent> It is not. I am setting up a LinePageIndicator, as shown at http://viewpagerindicator.com. The style I'm using is the one with the white screen, with the four line segments at the bottom. Jun 06 18:44:04 <|Agent> I have a bunch of pages to show, and need to ensure the line segments are small enough to fit. Their size is specified by a float. So I need the size of the View so that I can divide it by the number of pages etc., to set the right line segment size. Jun 06 18:44:15 |Agent: I don't see any LinePageIndicator types on that page... Jun 06 18:44:52 <|Agent> back after lunch Jun 06 18:49:21 I'm wondering if it's not an android feature that you can't change... Jun 06 18:51:27 android store some system setting values here "overlay/frameworks/base/core/res/res/values/config.xml" and to edit any value you have to use APKTool to decompile , edite value , compile the framework-res.apk. but , can we alter some val on reboot by redeclare the val ! Jun 06 18:52:17 beshoo: You aren't a native English speaker, are you? Jun 06 18:52:38 no i am sorry Jun 06 18:52:48 no i am not Jun 06 18:52:49 :) Jun 06 18:53:42 i tride my best , but some dictation error may appear Jun 06 18:54:16 guys how do i put something on github from eclipse i have egit and mylyn installed Jun 06 18:54:20 i use team share Jun 06 18:55:31 ciurkut: Are you a Windows user I presume? Jun 06 18:55:40 git commit, git push Jun 06 18:55:43 And/or someone not comfortable with command line environments Jun 06 18:55:47 SimonVT: Are there plans to update master on android-menudrawer soon? I'm looking forward to the 2.3 fix for the drawer toggle. Jun 06 18:55:54 Zaknafein: Does eGit not require a git add? Jun 06 18:56:06 marcab: Whats wrong with drawer toggle? Jun 06 18:56:27 since i am not native English speaker , is that mean no one will help me ? :( Jun 06 18:56:29 yeah, add untracked files first Jun 06 18:56:49 Brian|CB: resource error on disabling drawer toggle for 2.3 Jun 06 18:56:56 * marcab tries to find the issue Jun 06 18:57:41 beshoo: I dont think anyone understood your question, and even though I may have, I think your asking in the wrong channel, this is for app development Jun 06 18:58:26 beshoo: where are you from? Jun 06 18:58:34 i am from Syria ! Jun 06 18:58:34 Brian|CB: https://github.com/SimonVT/android-menudrawer/issues/121 Jun 06 18:58:45 i think all you know about it :) Jun 06 18:59:00 beshoo: It doesn't mean noone will help you, but it's going to be harder to help you because of the language barrier. Jun 06 18:59:17 beshoo: still, this is application development, not ROMS Jun 06 18:59:25 HMMMM Jun 06 18:59:32 hum ok not my language ^ Jun 06 18:59:40 marcab: You do know that google has their own supported DrawerLayout now, right? Jun 06 18:59:42 :D Jun 06 19:00:50 Brian|CB: Yep! Looking forward to implementing it, but I'm working on other features at the moment (kind of a tight schedule), and this is like 2 lines of code in my app to get the behavior I want. Jun 06 19:01:02 any channels for ROMS ? please advice Jun 06 19:01:03 (Already have android-menudrawer in my app) Jun 06 19:01:20 Have another app that uses DrawerLayout, though, and it's slick. Jun 06 19:01:46 marcab: But if it doesn't work, it doesn't work, right? Jun 06 19:02:19 It works except for that bug, which has evidently already been fixed in dev branch. Jun 06 19:02:32 marcab: Then just download the source, and fix the bug using the changes made in the dev branch? Jun 06 19:02:41 I realize :) Jun 06 19:03:15 ehhh Jun 06 19:03:32 It might be tedius for the rest of our team. But that's why I asked -- trying to gauge when it would occur. Jun 06 19:03:50 the event number I get in FileObserver when I create a directory is 1073742080 Jun 06 19:03:53 o.O Jun 06 19:03:57 something's fucked up Jun 06 19:04:11 considering that highest defined bitmask is 2048 Jun 06 19:05:17 marcab: It looks like he just removed line 964 in DrawerLayout.java from the m aster branch Jun 06 19:05:21 marcab: THe line is mActionBarHelper.setDisplayShowHomeAsUpEnabled(true); Jun 06 19:05:28 remove that from the file and it should work? Jun 06 19:05:39 Duly noted. Jun 06 19:05:52 If it comes down to release time, that's likely what I'll do. Jun 06 19:05:54 marcab: Or rather, he moved the line Jun 06 19:05:55 my bad Jun 06 19:06:08 he moved it into the function setSlideDrawable Jun 06 19:06:51 Zharf, just because the highest defined is 2048 doesn't mean that there can't be other undeclared values Jun 06 19:06:57 so he moved it from previously at 964 and its now in setSlideDrawable, its the first thing executed in if (mActionBarHelper != null) Jun 06 19:07:28 Right on. Jun 06 19:07:38 pfn, it's not documented as such however, Jun 06 19:09:56 what's not documented as such? Jun 06 19:10:01 it's a bitmask, the actual value is irrelevant Jun 06 19:10:35 pfn, the event mask is a bitmask, the event is not, according to the documentation Jun 06 19:11:10 basically the documentation sucks Jun 06 19:20:17 pff Jun 06 19:20:27 I wish the damn API provided the cookie field that inotify uses too Jun 06 19:20:28 guys im using github eclipse plugin. when i do team->share project it shows build error Jun 06 19:20:34 on android support library Jun 06 19:21:05 it's impossible to tell if the file that gets MOVED_TO is the same as MOVED_FROM was before Jun 06 19:21:09 -.- Jun 06 19:21:24 Type Jun 06 19:21:24 Archive for required library: 'C:/Users/ciurkut/workspace/cacacaca/libs/android-support-v4.jar' in project 'cacacaca' cannot be read or is not a valid ZIP file Jun 06 19:21:45 why could that be? :< Jun 06 19:21:46 google that error Jun 06 19:42:11 What would cause a page to fail to load? I have internet permissions set in my app, I'm connected on my phone (browser works fine) but my WebViewClient keeps having trouble for some reason. I get error code -6. Jun 06 19:42:26 Whenever I try to load anything. Jun 06 19:42:46 <|Agent> back Jun 06 19:43:03 Fallout2man: what are you attempting to load ? Jun 06 19:43:26 StingRay_: This test page http://sector7studio.com/lipsum_remote/lipsum_remote.html Jun 06 19:44:07 for what purpose ? cause you can just fire an intent for the browser to handle it Jun 06 19:44:16 if it's like t&c or anything Jun 06 19:44:30 <|Agent> I guess the proper place to do this is in the onStart() method, and get the view by ID. Jun 06 19:44:34 <|Agent> *content view Jun 06 19:44:57 StingRay_: Well the way this app works these pages are supposed to be hosted remotely and cached on the device using WebView's built in cache manager. The idea is the user only needs to connect to the Internet the very first time. Jun 06 19:45:51 well like I say, if it's one off info, just fire an intent and the browser will do it Jun 06 19:45:54 StingRay_: This approach is so that the client can change the content on the pages as they want without them having to mess with the App itself. It's eventually going to be for all the legal stuff, like privacy policies and T & C. Jun 06 19:46:25 yeah, browser is best bet for all of that I think Jun 06 19:46:31 <|Agent> It just seems odd that Activity has setContentView, but not getContentView. Jun 06 19:46:58 well since "you" set it, what would be the point Jun 06 19:47:04 if you want it, keep a ref to it Jun 06 19:47:06 :) Jun 06 19:48:06 StingRay_: It's just odd client demands. They want their legal copy pages to be hosted remotely so their Web Devs (they don't have any android people) can change the content at will so that every internet enabled device has the latest legal agreements for the App. Jun 06 19:48:44 Fallout2man: yeah sounds like best to do what I said Jun 06 19:48:56 intent and let system handle it Jun 06 19:49:08 StingRay_: Then that'd take users out of the app though. Jun 06 19:49:52 yeah but you can close it, and also back takes you back Jun 06 19:50:00 close it as in close on the html side Jun 06 19:50:28 StingRay_: You're correct of course, but this is just how the client specc'd the app out. -_-;; Jun 06 19:51:02 this gives me an idea though, hrmm Jun 06 19:51:51 <|Agent> Hm. There's android.R.id.content, but it is undocumented. Jun 06 19:52:18 why not just keep a reference to it ? Jun 06 19:54:33 Keeing references in Android can be tricky business Jun 06 19:54:51 Although today I realized you could keep application variables by extending the Application class, it seemed so obvious yet I never thought of it O.o Jun 06 19:55:03 So sometimes simple solutions are hard to think of Jun 06 19:55:47 keeping a View reference is tricky ? Jun 06 19:55:51 not really :) Jun 06 19:55:58 StingRay_: For now opening it in browser works around the issue. What do you mean as far as keep a reference to it? Jun 06 19:56:24 that was aimed at Agent Jun 06 19:56:34 StingRay_: my bad ^_^;; Jun 06 19:56:41 StingRay_: Keeping references of certain things over time can be tricky, for example complications with the activity/fragment lifecycles Jun 06 19:57:10 Brian|CB: not really, and 90% of the time you dont want to Jun 06 19:57:24 or rather you shouldn't Jun 06 19:57:35 as in anything hung of a context Jun 06 20:00:27 final int bitmapData = bitmapWorkerTask.data; Jun 06 20:00:40 How does this access the private instance field 'data'? Jun 06 20:00:49 http://developer.android.com/training/displaying-bitmaps/process-bitmap.html Jun 06 20:02:52 private int data = 0; Jun 06 20:03:41 Miesco: You get the bitmap in the onPostExecute Jun 06 20:08:07 Brian|CB: But how does it have permission access the private instance field? Jun 06 20:08:28 Miesco: Because it's part of the class? O.o Jun 06 20:09:57 <|Agent> Huh. In onStart, the content view isn't the right size yet. Which is odd, because the docs say that it is visible to the user at that point. Let's try onResume… Jun 06 20:16:34 Brian|CB: Are you saying cancelPotentialWork is a method of BitmapWorkerTask? Jun 06 20:17:51 can you have a contextual menu show up when you long click on an item in a dialog box? Jun 06 20:18:35 <|Agent> Nope, the Activity's content view's getWidth is 0 in onResume as well. Hm. Jun 06 20:18:37 i extended the DialogFragment class, added a DialogInterface.OnClickListener and put that listener on all the items in the box Jun 06 20:19:10 what i think i'm after is I want some sort of onlongclicklistener to be added to each one of the items also Jun 06 20:19:34 |Agent: it needs to have been layed out Jun 06 20:20:12 <|Agent> I'd presume it has been laid out, since the user is seeing and interacting with it at that point. Jun 06 20:20:31 Miesco: Assuming you're trying to access private variables, I'm gonna guess that method was intended to be placed inside the class with the variable Jun 06 20:20:32 :S Jun 06 20:29:48 <|Agent> Let me set the Activity as the content view's OnLayoutChange listener, and see if that is useful. Jun 06 20:31:45 <|Agent> Oh, guess that's not an option. I don't see a setOnLayoutChangeListener method. Jun 06 20:31:46 hello Jun 06 20:31:49 anybody know how to register an activity for sending sms ? Jun 06 20:34:08 hey all, I'm using archlinux which provides openjdk. Is this compatible with the android sdk? Or do I need to get the one from the java.com site? Jun 06 20:34:54 oh, nvm, it is the reference implementation. Jun 06 20:37:36 Hi. How to make the editText not focusable on when not clicked. Jun 06 20:37:56 I meant to prevent automatic "focus" when app starts. Jun 06 20:40:27 <|Agent> okay, adding an OnLayoutChangeListener seems to do the trick. Jun 06 20:49:32 bluesm: Does the edittext have a 'requestFocus' element in it (xml) Jun 06 20:51:53 marcab: No. Jun 06 20:52:23 ah. nm then Jun 06 20:59:12 marcab: nm ? Jun 06 20:59:47 marcab: I found the answer, but only via code -> this.getWindow().setSoftInputMode(WindowManager.LayoutParams.SOFT_INPUT_STATE_ALWAYS_HIDDEN); Jun 06 20:59:49 nevermind :p Jun 06 21:01:05 ciurkut: Thanks :] Jun 06 21:01:24 bluesm: Youre Welcome! :) Jun 06 21:05:50 Hi. I'm trying to implement a simple book reader type app that changes chapters when swiping left/right. What is the simplest correct way to do this? I'm currently looking at fragmentstatepageradapter, but is that the right thing to use when I'm only changing the content of the view, not changing to a different view? Jun 06 21:08:25 I imagine it'll still be simplest to use it (or any viewpager-type container I guess.) Part of the reason is just that it needs to hold the bitmap for the "next" and "previous" views, so you can see the partial screen as the swipe occurs. Hence, simplest to just use another view, rather than just modify the content. Jun 06 21:09:19 Of course, internally you'll have the opportunity to recycle the views; so it's not too horrible vis-a-vis memory usage (it'll take up 3 chapters-worth of memory in your situation.) Jun 06 21:12:25 kbs, thanks. When you say I have the opportunity to recycle them, how would I do this? Jun 06 21:13:31 The pageradapter has some method it calls, when it's done with a view. Rather than destroying the view, you can keep it around for when it asks for a new view. Jun 06 21:14:07 ah right. Thanks, that helps clear up some confusion Jun 06 21:14:38 reading apps are great fun :-) good luck. Jun 06 21:14:57 what is a reading app ? Jun 06 21:15:47 apps to read books, etc -- long form textual content i guess. Jun 06 21:16:00 ah Jun 06 21:17:05 (I really hate the text-layout on most of the apps, would love to see a really great layout engine. I'm a dinosaur that grew up on TeX...) Jun 06 21:18:08 kbs, tex is just awesome Jun 06 21:18:31 Yeah, I've been trying to figure out a good way to display text on Android apps Jun 06 21:18:36 it just seems to be very lacking Jun 06 21:20:33 yep, indeed :-) [When I can, I split up my epubs and render them to pdf with pdftex... it's exactly fitted to my tablet screen. Did I say I was OCD about this? ;-)] Jun 06 21:21:24 I actually wrote a small line-breaking thing; the biggest issue I saw is that the TTF rendering on android is all over the place. I can't get consistent physical spacing between the glyphs. Jun 06 21:22:07 I've assumed that Adobe is doing it's own thing under the hood -- the reader app works really nicely; I must be missing something... Jun 06 21:37:07 just want to let you know about a great app for you who switch Bluetooth, Wifi, NFC, Brightness, LED-lamp, Ringer, GPS and more Jun 06 21:37:17 "Swipe Settings Tool Control" for Android Jun 06 21:37:33 https://play.google.com/store/apps/details?id=com.sunlightweather.free.ics.ultimatesettingstoolswidget Jun 06 21:38:11 actually my favorite app Jun 06 21:38:48 not compatible for my phone :( Jun 06 21:39:04 ohh what Android OS do you have? Jun 06 21:39:16 gingerbread Jun 06 21:39:22 it says only for 4.0-4.2 =( Jun 06 21:40:35 if you have a sony phone you can most likely upgrade it to ice cream sandwich :) Jun 06 21:41:02 Heya Jun 06 21:41:17 hi there Jun 06 21:41:27 I'm using RoboGuice and I'm curious if there is a way to hook an event or callback somewherein the framework when an activity is stopped or destroyed. Jun 06 21:41:34 **from outside the activity itself Jun 06 21:42:26 never used it so cannat help :( Jun 06 21:42:30 ot Jun 06 21:44:06 Is there any Android code that can handle mp3s file that reports the wrong length? Jun 06 21:44:17 I noticed that MediaPlayer.getDuration is 7X too large. Google Play Music and other mp3-players fail when I use their SeekBar. Jun 06 21:44:20 On Ubuntu, Amarok fails but I notice that the Xine media player works. Jun 06 21:45:54 I actually tried doing an 7-factor adjustment when using MediaPlay.seekTo and SeekBar.setMax. This mostly fixes that bug. Jun 06 21:46:33 But I'm wondering if anyone has heard of a more general fix. Jun 06 22:03:45 <|Agent> roadfish, is this http://code.google.com/p/android/issues/detail?id=3019? Jun 06 22:04:13 <|Agent> Because if so, I don't think you can assume the difference will always be 7x. Jun 06 22:10:27 |Agent: sounds like my issue. and I agree the 7x fix is a one off. never heard of this "xing header" thing before so will need to read up on it. Jun 06 22:11:25 basically, I think that I need an app that scans through the mp3 file to verify length. Maybe I need to count frames and update this XING info. Jun 06 22:22:42 how might I add the android.jar reference to a non-android project? there ought to be a better way than copying the 10MB jar to my project folder Jun 06 22:45:12 hi guys, I have a problem... I have this code http://bpaste.net/show/yFxPN2QG9H82Qylz8n9w/ which gets some data from a sqlite database and populates a listview using an ItemsAdapter and a custom layout... my problem is I have no idea how to get the currently selected item... any ideas? Jun 06 22:45:42 how to get the *id* of the currently selected item Jun 06 23:06:22 Phr33d0m: out of curiosity: is the currently selected item even in the sqlite database? Jun 06 23:06:57 roadfish yes Jun 06 23:10:50 Ok, I think I'm understanding a bit. I've used an arrayAdapter to add info to a ListView. Jun 06 23:11:46 You want to get the SQLite ID of the "currently selected item" in the ListView? Jun 06 23:12:14 will an app running on a 1280x400 screen show buttons with a smaller size compared to running the same app on a 320x200 scree for example Jun 06 23:14:25 did anyone understand my question Jun 06 23:14:43 do you mean smaller in the sense of using a smaller relative proportion of the screen? Jun 06 23:15:06 roadfish yes, I know the position in the listview but I don't know how to get more info on that item Jun 06 23:15:57 Phr33d0m: I don't know the answer. But my guess is that the ListView will not contain that information. I'm still newish to Android programming myself. Jun 06 23:16:17 However (after searching the web), I would probably go about things this way ... Jun 06 23:17:07 when you populate the the ListView from the SQLite database, get the IDs at the same time and add as extra info in the ListView items. Jun 06 23:17:34 setTag() should work for that. Jun 06 23:17:52 roadfish I fixed my issue, thanks for your time :) Jun 06 23:19:15 prakas: my advice is to make AVD virtual devices in Eclipse/IJ of different sizes. Then just look at the buttons sizes for yourself. Jun 06 23:19:48 Phr33d0m: out of curiosity, what is the answer? Jun 06 23:20:22 roadfish http://bpaste.net/show/I2a01aVzciL49dncxcHg/ Jun 06 23:21:21 prakas: Use the Layout Preview and display the representative ones. That's an actual option, it displays your layout on 7 devices at once. Jun 06 23:21:24 Also read https://developer.android.com/guide/practices/screens_support.html#density-independence Jun 06 23:21:35 Your question suggests you did not read or understand it. Jun 06 23:23:13 ok Jun 06 23:28:07 Hello dudes Jun 06 23:28:39 yo Jun 06 23:28:46 I'm searching for Android Dev for a project , need someone talented in app developpement, anyone there ? Jun 06 23:29:16 I dont know if this is " conform " to room policy , if not , just tell me and Jun 06 23:29:26 i'll stop right away Jun 06 23:29:40 are you asking for someone to develop something for you? Jun 06 23:30:34 Not really , i already have a little something , but I dont know very much in app developpement, and if someone is interested to work with me on that project , i'll be pleased Jun 06 23:31:14 And if someone help me , I can give a little something, donation or backlink to the dev' website Jun 06 23:31:32 does your project have a webpage? Jun 06 23:32:21 The project has a backoffice , we currently are developping the webpage , it's an webradio app project , come in PM if you want i can explain you further Jun 06 23:33:09 I'm still an Android newbie so I'm not really the person you want. I'm just curious is all. Jun 06 23:39:16 hey Jun 06 23:39:53 Where in checkout.google.com can I configure to get e-mail when someone does a buy? I can't figure it out :P Jun 06 23:39:58 https://checkout.google.com/sell/ Jun 06 23:42:18 hello im working in android studio and getting the following error with regards to google map app /res/layout/main.xml:2: error: No resource identifier found for attribute 'cameraZoom' in package i have the android-support-v4 and google-play-services external libraries associated with the project. any assistance much appreciated Jun 06 23:43:34 I'm starting to think its not possible Jun 06 23:49:41 denelius: is this occurring during compile or in the ide only Jun 06 23:51:15 when i run the debugger in the ide - i have just setup studio on linux both of which are new environments to me Jun 06 23:52:24 denelius: android studio uses gradle as it's build system, who's UI for configuration is still in progress, so sometimes there's manual stuff you need to do - is the google-play-services dependancy listed in your build.gradle? Jun 06 23:53:23 * Zharf ended up copying FileObserver from android sources and fixing it so that inotify's cookie gets passed along Jun 06 23:54:12 * jug6ernaut thanks Zharf should share Jun 06 23:54:17 :P Jun 06 23:54:39 denelius: for example, this is how i have my project setup (automatically includes all jars): dependencies { Jun 06 23:54:40 compile fileTree(dir: 'libs', include: '*.jar') Jun 06 23:54:40 } Jun 06 23:55:14 jug6ernaut, you needs it too? -.- Jun 06 23:55:26 Jc_Dev: thanks for response - the gp dependancy is listed in the folder structure and in module settings Jun 06 23:55:46 denelius: that's not enough, that only makes the IDE happy Jun 06 23:56:09 denelius: the build needs it's own thing (soon to be fixed by a new version of Android Studio though i hear) Jun 06 23:56:31 i seem to recall in eclipse you needed to specify google maps api but do not see this option Jun 06 23:56:52 denelius: it's done manually right now in your build.gradle file. Jun 06 23:57:03 denelius: the build system is completely different than eclipse Jun 06 23:57:21 any info you can point me towards on how to do this? Jun 06 23:58:13 denelius: http://stackoverflow.com/questions/16624827/android-studio-with-google-play-services Jun 06 23:58:33 you'll also likely need to do a clean before it will start working, which is done from the command line using gradlew Jun 06 23:59:45 Jc_Dev: appreciate you time - thank you Jun 06 23:59:53 np, good luck! Jun 07 00:58:48 what makes the emulator so different as far as openGL is concerned? I don't understand why textures render fine in the emulator, but i get solid black textures on devices Jun 07 01:00:03 ugh, system information tab should allow killing processes Jun 07 01:02:40 hey guys… does anyone know whether using Google Wallet can also pass a developer_payload through IAB? Jun 07 01:16:33 loving this https://github.com/daCapricorn/ArcMenu Jun 07 01:16:58 anyone else got any nice stuff in their bookmarks? Jun 07 01:18:09 of course Jun 07 01:18:29 http://25.media.tumblr.com/c8d59aa892cffb385ef962b19aa95289/tumblr_mk8rk12nbr1rhbnkpo1_400.gif Jun 07 01:18:47 so cute :) Jun 07 01:26:58 What reason would there be for MediaPlayer to request a range of bytes like Range: bytes=14682921- as its first request?... Jun 07 01:37:50 anyone got a recomended practice for doing thread communication between the ui, opengl, and whatever worker runnable (game engine, say) in android? Jun 07 01:40:04 guys I have an issue, I'm trying to copy my sqlite database from assets to /data/data/ - it used to work yesterday, now when I try it copies only like 10% of the database file - any ideas? Jun 07 02:30:40 mornin' all Jun 07 02:44:32 g00s! Where ya been? Jun 07 02:45:15 hey capella , moving around :| dang, library started blocking skype wth ! Jun 07 02:45:28 actually they close in a few minutes. anything new in android land ? Jun 07 02:45:59 ah ... no ... been quiet .... got a new cleanup project for FF Mobile I'm having fun with Jun 07 02:47:59 Our Bookmarks Tab routine looks like it was written by a Javascript developer (hard to explain) and it has an issue with DB access on UI thread I'm fixin Jun 07 02:48:48 good ol db access on the main thread :) Jun 07 02:50:39 obscure set of events leads to it ... and before Gingerbread the cursor change was ok I'm told Jun 07 02:51:05 this trojan is pretty interesting https://www.securelist.com/en/blog/8106/The_most_sophisticated_Android_Trojan Jun 07 02:51:30 * capella reads...... Jun 07 02:51:38 so, i should see an update from my OEM at least on the extended device admin priv secbug, right ? Jun 07 02:51:55 google says 7 days is enough for eveybody Jun 07 02:51:59 * g00s waits Jun 07 02:52:48 Yah ... so take the M$Soft Jun 07 02:53:22 * capella also reads ArsTechnica Jun 07 02:54:39 capella gotta run, ttyl ! Jun 07 02:54:49 By! **** ENDING LOGGING AT Fri Jun 07 02:59:58 2013