**** BEGIN LOGGING AT Sun Jun 08 02:59:59 2014 Jun 08 03:06:28 Is there any built-in way to animate the expanding of the children elements of an ExpandableListView? Jun 08 03:22:38 ping? Jun 08 03:33:06 No? Jun 08 03:33:45 All the solutions I see online are disgusting hacks by changing it to a standard ListView and animating the onClick... Jun 08 03:33:53 And are from 2012 or so Jun 08 03:35:43 override the onclick... Jun 08 04:17:20 " According to McVeigh, two thirds of the top 2,000 apps in the Google Play Store use natively compiled C code" Jun 08 04:17:29 wow, i'm surprised its that much Jun 08 04:20:06 I'd guess that they're all either games, or cross-platform apps with a Java UI on a C/C++ core Jun 08 04:20:09 what if they are games/ Jun 08 04:21:00 just an observation Jun 08 04:21:55 was referencing g00s, agreeing with you Jun 08 04:22:19 ah :) Jun 08 04:50:20 hello i am stying to loop through some json i can get a simple jsonobject of type {‘something’:’123’} to work but when i have [{‘something’:’123’,{‘something2’:’456’}] i cant figure out how to loop through that Jun 08 05:00:10 nvm figured it out Jun 08 05:07:39 Ok so the app I'm making is using external libraries Jun 08 05:08:19 Now 2 of those libraries use android-support-v4.jar Jun 08 05:09:34 If I remove the jar from one of the libraries (because otherwise I get compile errors if both are present while importing to the main app project), the library is unable to compile, and hence the main app is unable to compile Jun 08 05:09:40 What can be done in this case? Jun 08 05:17:20 hmm Jun 08 06:08:19 pifon: gradle ? Jun 08 06:08:28 eclipse Jun 08 06:18:33 Well I removed the android-support-v4.jar from all the libraries except one, and added the .jar from that one library to all other libraries' build paths. But I am getting this error on compiling: Jun 08 06:18:38 "[2014-06-08 11:42:28 - ChatSecure] java.io.FileNotFoundException: F:\androidapps\ChatSecureAndroid-master\ChatSecureAndroid-master\libs\android-support-v4.jar (The system cannot find the file specified) Jun 08 06:18:39 " Jun 08 06:20:03 The said project (ChatSecure) has the android-support-v4.jar, from the one library that still has it, added to the build path.. Jun 08 06:30:13 Hello im trying to find the sqliteDB path that sqlitehelper creates .. anyone know how to … and at that i cant get toast to work within the sqlitehelper class Jun 08 06:32:52 nvm got it Jun 08 06:34:11 where the heck do i find /data/data folder Jun 08 06:36:53 you find it exactly where you said it is ... Jun 08 06:41:01 i looked in es file explorer Jun 08 06:41:03 its not there Jun 08 06:41:40 you'll need root to see the contents Jun 08 06:42:02 even with es file explorer? i mean i see how pretty much everything else Jun 08 06:43:05 how the hell is one suppose to debug sqlite when u cant browse ur DB Jun 08 06:43:09 what about from adb? Jun 08 06:43:17 anyway to access it from adb console Jun 08 06:43:25 if you have root, yes Jun 08 06:45:15 i see Jun 08 06:45:31 how can i switch useron adb shell? Jun 08 06:45:33 to root? Jun 08 06:46:00 you root the device Jun 08 06:46:02 then su Jun 08 06:48:53 well i canm use run-as for now Jun 08 06:49:04 and then cat the file over to /sdcard so i can view it Jun 08 06:51:21 that worked well :) Jun 08 07:00:47 is there a root that i can undo Jun 08 07:00:50 that is safe for the phone? Jun 08 07:03:00 usually every root can be "undone" some way , there are exceptions like with samsung where the phone will "remember" when it was rooted on som romes (KNOX 0x1) , so i would gather info for your exact phone Jun 08 07:22:28 Hey, is it possible to use a drill-down with 3 levels? i couldn't find information suggestion it's not but a developer told me its not. Jun 08 07:22:37 (the native one) Jun 08 07:34:35 is "drill-down" a particular thing? Jun 08 07:39:11 sweet Jun 08 07:39:16 Groovy on Android Jun 08 07:44:32 Leeds: a list Jun 08 07:45:11 ah, well if that's not a meaningless answer, I don't know what is! Jun 08 07:48:13 shoshy: so I'm assuming here that you don't actually want an answer, or help... Jun 08 07:48:52 Idk, why would you say that... Jun 08 07:49:30 because you don't seem to be engaging at all Jun 08 07:49:36 i gave you an answer. but you try to wise-up on me.. with no reason.. Jun 08 07:49:40 attempting to actually give useful information, say Jun 08 07:50:20 I asked about the number of levels possible with a drill-down list, if it's possible... if it depends on many things, you might say that Jun 08 07:50:47 since there is nothing in the Android API called a drill-down list, I wanted to know what you thought the phrase meant Jun 08 07:50:49 instead of say "is a drill-down a particular thing" . If you'll google "drill down android" you'll get to android docs about it. Jun 08 07:50:51 what's a drilldown list anyway? :) Jun 08 07:51:19 http://www.androidpatterns.com/uap_pattern/drill-down-navigation Jun 08 07:51:26 Mavrik: I think he just means a listview which leads to another listview Jun 08 07:51:44 http://developer.android.com/design/patterns/pure-android.html Jun 08 07:52:01 "Android does not use such indicators on drill-down line items" Jun 08 07:52:19 any way to speed up the playstore restring all my apps? it's taking over 8 hours already for abit more then 100 apps :( Jun 08 07:52:34 and why on earth would you be restricted in the number of listviews you can display? Jun 08 07:52:52 idk, that's what an android developer told me. That they restrict to 2 levels Jun 08 07:52:59 i tried finding info on that BEFORE digging deep Jun 08 07:53:04 then they were an idiot, and you should have realised that Jun 08 07:53:06 shoshy, considering the fact that that's usually implemented by multiple activities with lists, no, it's not a problem to have multiple levels. Jun 08 07:53:09 and thought of asking here, as i couldnt find a hard-limit on the web Jun 08 07:53:30 ok, thank you! that's all i wanted to know Jun 08 07:53:46 and i thought that way as well, but before jumping and saying its not, i wanted to make sure on my own. Jun 08 08:16:20 Guys this might be an easy question. Jun 08 08:16:27 But this project: https://github.com/ChatSecure/ChatSecureAndroid Jun 08 08:16:37 How is one supposed to use it? Jun 08 08:16:49 Its not an app, so that means its a library. Jun 08 08:17:00 But it has no docs Jun 08 08:17:24 How am I supposed to use it in my app if there are no docs.. Jun 08 08:23:21 hey guys Jun 08 08:23:41 I actually wanted some help with a sample app I am working on. It's a simple example of MVC architecture, observer pattern Jun 08 08:24:53 I am confused as to how can I put an AsyncTask to work with it? Jun 08 08:25:05 anyone up here? :D Jun 08 08:25:46 nvm Jun 08 08:26:23 hi pifon :} Jun 08 08:26:34 hey Jun 08 08:26:49 how's it going ove there? Jun 08 08:26:51 look up some asynctask tutorial? Jun 08 08:27:05 lol I know how to use asynctask but Jun 08 08:27:23 pifon: did you check the documentation example? Jun 08 08:27:23 my pkg structure (tried to follow MVC as much as I can) is a bit complex Jun 08 08:28:14 idk then.. thepoosh i figured it out, it was marked as "is library" Jun 08 08:28:14 pifon: this is a good example Jun 08 08:28:14 http://developer.android.com/training/displaying-bitmaps/process-bitmap.html Jun 08 08:28:44 ^ is for beerBear i think Jun 08 08:28:50 oh Jun 08 08:28:51 well Jun 08 08:29:04 "look up some asynctask tutorial?" Jun 08 08:29:05 I am having difficulty putting an asynctask within the observer class(controller) Jun 08 08:29:42 I know that I'll have to post an update on the asynctask's onPostExec() Jun 08 08:29:47 beerBear: not only that asyncTask is not in the contriller, it shouldn't be there in a conceptual way either Jun 08 08:29:51 but how is what I am confused in Jun 08 08:30:00 aye Jun 08 08:30:22 doInBackground is the Model tier and onPostExecute is in the View Jun 08 08:30:37 so the controller has nothing to do in this Jun 08 08:30:54 ikr controller sends a command to the asynctask but how do I friggin observe an sync and then onPostExec() send something back (I've thought of a handler but that'll defeat the purpose of using an observer alltogether) Jun 08 08:31:12 beerBear: why not Intents? Jun 08 08:31:13 umm can I send you guys my app? Jun 08 08:31:14 :| Jun 08 08:31:24 which is the correct way to implement the observer pattern in Android Jun 08 08:31:34 thepoosh: am trying to decouple everything to the bit Jun 08 08:31:35 :D Jun 08 08:32:00 but I can't use any 3rd party libs such as otto, eventbus :| Jun 08 08:32:04 I've choosen not to Jun 08 08:35:00 :( Jun 08 08:35:03 : Jun 08 08:35:06 :) Jun 08 08:35:21 beerBear: you are trying to use MVC by implementing it yourself instead of using the system built in MVC Jun 08 08:35:23 why? Jun 08 08:35:31 sorry, switched wifi Jun 08 08:36:39 thepoosh: no..I din't meant to say that :( Jun 08 08:36:45 thepoosh: umm can I show you a screenshot of my project's tree? or better if I can send you my small eclipse project? Jun 08 08:36:52 no no no Jun 08 08:36:57 :'( Jun 08 08:37:00 at work, not enough free time Jun 08 08:37:02 sorry Jun 08 08:37:19 erm maybe later today? :D Jun 08 08:37:29 ballox do not see this happening today Jun 08 08:37:33 sorry Jun 08 08:37:45 np :| Jun 08 08:38:21 I was just hoping to correctly make an AsyncTask fit in. Oh I can make it work after that.. Jun 08 08:38:51 thepoosh: btw am following this: http://cleancodedevelopment-qualityseal.blogspot.in/2014/02/mvc-applied-on-android-practical.html Jun 08 08:40:02 Evenin all Jun 08 08:40:16 petecouture: morning Jun 08 08:40:21 that calc example is fine but the one am working on involves fetching some JSON as well Jun 08 08:40:36 petecouture: hey Jun 08 08:40:36 beerBear, why are you so pent up on using AsyncTask Jun 08 08:40:45 it's obviously a terrible API for what you want to do Jun 08 08:41:16 Mavrik: hi, am sorry. I din't get you :| Jun 08 08:41:40 beerBear, "Don't use AsyncTask." Jun 08 08:42:16 how about a handler? :] Jun 08 08:43:01 I thought it'd be easier to use an asynctask with all the onpre..(), onpost..() methods and the proper space to put in a progressdialog Jun 08 08:43:12 I guess it is ? :| Jun 08 08:43:44 mavrik: that calc example is fine but the one am working on involves fetching some JSON as well Jun 08 08:43:51 why are we playing API bingo without knowing what you're trying to accomplish -_- Jun 08 08:44:05 use the API that complements what you do by being most straightforward Jun 08 08:44:17 for UI stuff using a messagebus design tends to work well Jun 08 08:46:06 you also have full Java set of concurrency primitives available, including threads and executors Jun 08 08:46:28 guys how do I open a separate chat window? Jun 08 08:46:38 lol hang on Mavrik Jun 08 08:47:00 I can't flood the chan so it's better if we take it to separate chat Jun 08 08:47:23 am on webchat.freenode.net for now Jun 08 08:50:56 on click of 2 button(s) for fetching/parsing json and the other for popping the child activity and see leftover parsed json data Jun 08 09:18:36 ok guys am nearly there; hope you can help me out with correcting minor architectural issues Jun 08 09:18:44 :) later Jun 08 09:49:37 Hello Jun 08 09:53:35 OhjinX: prove it Jun 08 09:54:16 phey Leeds, prove what? Jun 08 09:54:23 Hello Jun 08 09:56:35 Are you free Leeds Leeds? Jun 08 09:56:48 I am expensive, but I am originally from Leeds... Jun 08 10:00:50 Im afordable, but i live in a place where you need a £100 and a pig to live there Jun 08 10:01:16 no pigs for me... but a lot more than 100 quid required Jun 08 10:02:01 I think £100 with buy you a furnished cardboard box Jun 08 10:02:07 will** Jun 08 10:02:28 you wouldn't believe what a decent cardboard box goes for 'round here... Jun 08 10:05:23 where are you based at the moment Jun 08 10:12:34 sup guys Jun 08 10:13:19 I had very little question about regarding the compilation of a kernel, don't know if it the correct place as not definied inOP /D Jun 08 10:13:25 heya khaon Jun 08 10:43:02 "Failure [INSTALL_FAILED_MISSING_SHARED_LIBRARY]" <= that's what I get when running "adb install .." Jun 08 10:43:30 this is an app from the play store, so I expect it to just work Jun 08 10:43:53 how do I find out what shared lib is needed? Jun 08 10:45:31 look at manifest Jun 08 10:45:37 you're probably missing Google Apps Jun 08 10:51:31 Mavrik: thanks Jun 08 10:52:50 i see lib/armeabi/libAR.so and lib/armeabi-v7a/libAR.so Jun 08 10:53:06 and a bunch of xml and png files Jun 08 10:54:26 Mavrik: the only two .so files in META-INF/MANIFEST.MF are also in the APK file Jun 08 10:54:36 is the manifest all inclusive? Jun 08 10:55:48 uh. Jun 08 10:55:56 do you even know how basic Android app is structured? Jun 08 10:56:28 Mavrik: no Jun 08 10:56:48 i know APKs are zips.. so I unzipped the APK to get to that manifest file Jun 08 10:57:13 but i've never really looked at the guts of an APK before Jun 08 10:57:14 This is not the channel to get help installing random apk's you pulled from play store on random devices you own Jun 08 10:57:30 SimonVT: I'm using emulator64 Jun 08 10:58:21 perhaps a physical device wouldn't have this problem Jun 08 10:58:45 Feel free to stay if you need help with an app you're developing Jun 08 10:59:22 SimonVT: i'm skeptical that #android folks will know about emulator64 and how to install on it Jun 08 10:59:31 but i'll give them a try Jun 08 11:00:29 well, unless you're running on an ARM platform Jun 08 11:00:32 that app won't work. Jun 08 11:01:31 actually the emulator is "emulator64-arm".. sorry for the confusion Jun 08 11:06:51 I'm trying to make a swipable layout without tabs, Jun 08 11:07:11 oh, busy channel on a Sunday, I like :) Jun 08 11:07:27 but I want the user to be able to see the layout titles next to the current layout Jun 08 11:07:40 kinda like the htc phonebook app , if you've seen it Jun 08 11:07:51 Any ideas how to accomplish that? Jun 08 11:15:07 https://www.youtube.com/watch?v=JheNj4RJmUw#t=149 Jun 08 11:15:23 if you look at the app that he is showing at that time Jun 08 11:15:48 you can see the title of the neighbours Jun 08 11:15:52 just partially Jun 08 11:16:39 it's like there is a titlebar that is moving on a different rate on swipe Jun 08 11:17:14 you know any open-source apps that does that kind of thing i could study? Jun 08 11:37:38 trying to use an object to save data that multiple activities need to use, so i create the object via new in my activity where the other activities derive from. if i try to access the object via getmethod in next activity, the app crashes Jun 08 11:38:18 Sorry I asked it before but we never know :P .do anyone know why compiling with higher compiler than 4.7.x result is got stuck to Google screen at boot. I am talking about compiling manta/nexus 10 kernel. I aplyed arm patches about memset. My other devices are compiled with 4.9.1 drives me nuts, I think 4.8 handles better a15. Someone told me not to compile with toolchain hf Jun 08 11:38:24 but i hardly doubt its the source Jun 08 11:39:54 what am i missing? the object extends application, and the next activity introduces the object via (User)this.getApplication(); Jun 08 11:40:20 the SDK includes png files with execute perms.. that's a bit odd Jun 08 11:42:18 and .so files. They don't need execute permission, do they? Jun 08 11:44:31 * cybrNaut runs "find android-sdk-linux -type f -perm -700 \( -iname \*so -o -iname \*png \) -exec chmod 644 {} +" to make access permissions on SDK files more sensible Jun 08 11:46:49 I have an unsigned apk ready for google play, but I read I need it to have a release keystore. Can I get some advice about how to create and assign oner to my apk Jun 08 11:57:23 Is it possible / or common / to generalize a menu entry so it is available on all activities? Jun 08 11:58:12 OhjinXX: in general, you need to prepare a keystore with a key that will be used for signing the application. I recommend you test it out locally till you are sure you have keystore management down pat and your operations plan for it is good, because if you lose the key, you won't be able to update Jun 08 12:08:05 Mavrik: i ended up discovering the aapt command, which makes it easy to see the dependancies of an APK file.. i ran "aapt dump badging program.apk | grep uses-library", which reveals that my arm vm needs com.google.android.maps installed Jun 08 12:11:47 (that was needed because the manifest xml file is strangely binary) Jun 08 12:14:17 cybrNaut: XML files are pre-compiled into compact binary form in the APK Jun 08 12:15:44 p_l: seems weird since zip compresses text quite nicely Jun 08 12:15:53 Hello all, I'm new here (and to android dev). Jun 08 12:16:02 cybrNaut: it's about loading speed Jun 08 12:16:05 not size Jun 08 12:16:18 ah Jun 08 12:16:28 I'm creating an app that lets users load an image to view and then pan around it using https://github.com/MikeOrtiz/TouchImageView Jun 08 12:16:56 I'd like to have an option to "Zoom to 100%" such that the pixels on the image map 1-1 with the pixels on the screen, anyone have any ideas or can point me in the right direction? Jun 08 12:24:27 how can installed apps be listed using SDK tools? I want the same info given by the "List My Apps" app (which includes the heiarchical names like com.company.app) Jun 08 12:25:01 I tried "adb shell ls /system/app" but that just gave apk names Jun 08 12:26:50 nevermind.. just found => adb shell 'pm list packages -f' Jun 08 12:28:03 or android.content.pm.PackageManager Jun 08 12:30:14 Leeds: how is that run? Jun 08 12:30:24 from your app Jun 08 12:30:48 ah, thanks Jun 08 12:44:28 p_l thanks for the tip, any suggestions for software to use to create the keystore? Jun 08 12:44:51 OhjinXX: there a tons of keyrings Jun 08 12:44:53 unfortunately no Jun 08 12:51:32 thepoosh any favorites you have for keyrings? Jun 08 12:51:49 is there any floating point operation done in the kernel guys? Jun 08 12:52:20 OhjinXX: online or installed? Jun 08 12:52:20 also I'm going to be needing to 'reference'(is that right) google play services. Any ideas or tips Jun 08 12:52:50 khaon: why are you asking? It tends to not be an issue, because any floating point in kernel is apropriately guarded Jun 08 12:55:41 thepoosh either/or not fussed as long as its easy to get my head around Jun 08 12:59:47 you cannt apparently ( or then i miss someting compile with hard-float ) arm folder Jun 08 13:12:54 Hey, how is it possible to read out raw sensor information? For example i want to read out the values of my accelerometer (16 bit) which should be int values between -2^15...2^15 but the android api supplies me values from -10,?? ... 10,?? Jun 08 13:13:32 Hi, I would like to check the battery status in a broadcast receiver but I can't use "registerReceiver" which is necessary for this operation, how can I do this ? Jun 08 13:16:27 Is there a way to debug a kernel that is compiling but never booting? Jun 08 13:17:32 hmm found this method but even the guy providing it is questioning it : https://groups.google.com/forum/#!topic/android-platform/vIyI9XxtDKo Jun 08 13:24:18 thank you yoho going to check thatn ow Jun 08 13:24:53 oh was not indeted for me meme Jun 08 13:24:58 xxD Jun 08 13:25:34 khaon; was not an awser to your proble,m sorry, was an answer to mine :) Jun 08 13:29:18 yep i figured out :D Jun 08 13:41:02 hi i have a functions that swaps two buttons http://screeny.olo-web.eu/2014-06-08__15:36:31.png the button stays there after the animation but after next execution of this functions this buttons starts from the same positions. the function isnt changing the left and top positions of those buttons so after next getLeft/getTop i am getting the same values as at the begining. how can i make objectanimator to change those values? Jun 08 13:41:28 i have read in the documentation about the setSomething function but it isnt executed Jun 08 13:41:56 there is no example in the documentation :-( Jun 08 13:46:42 sorry can't help you Jun 08 13:47:00 but is there any person that can tell me if there is floating operation done by the kernel Jun 08 13:47:04 kinda hard to find Jun 08 13:47:09 some say yess some other say no w_w Jun 08 13:51:28 hello. any jsoup expert here Jun 08 13:51:33 ? Jun 08 14:09:22 I decided to go with Eclipse in the end to create my keystore Jun 08 14:10:24 seems straight forward enough, but the when I reference the google play services in the project properties. I get an error in my projects attr.xml file Jun 08 14:28:04 Hey Jun 08 14:29:22 john3053: welcome, good to have you here! Jun 08 14:31:09 thanks :), hope someone can help me, my eclipse is having some sort of epileptic attack with errors http://i.imgur.com/JlgMcYd.jpg?1 I have no idea how to fix this Jun 08 14:33:13 first error probably caused chain errors Jun 08 14:34:35 How would I fix this ? any way I could delete all repositories that are linked to my eclipse ? Jun 08 14:35:16 Is there anyway I can access a view on my fragment from my custom view class using find view by ID? I keep getting a null pointer exception. Jun 08 14:35:43 silly question: is there a convention for the project class path? Jun 08 14:36:04 like com.. Jun 08 14:36:05 or something Jun 08 14:38:57 Any ideas? Jun 08 14:40:00 dont think anyone is here Jun 08 14:40:01 lol Jun 08 14:45:21 yeah I don't I'm trying. I might know a way but its not going to be the way i want to fix it by Jun 08 14:45:31 because my view is created by xml Jun 08 15:07:55 Mavrik: your speculation seemed to be correct.. that is, the "Google API" has the libs that the VM is missing. However, the SDK shows "Google APIs (ARM system image)" to be /installed/. So why would the VM be missing them? Jun 08 15:37:54 hi all, anyone in here who can guide me to a manual/info about how to compile a litecoin wallet for android? thank you in advance Jun 08 15:54:51 how can this give null pointer if score1 isn’t null? (eg, is “29”): int s1 = Integer.getInteger(score1); Jun 08 15:59:33 mylord: think you want Integer.parseInt(score1); http://stackoverflow.com/questions/3123349/why-does-int-num-integer-getinteger123-throw-nullpointerexception Jun 08 15:59:40 ya, thx! :) Jun 08 16:25:40 anyone here using eclipse ? Jun 08 16:25:55 okay stupid question majority does haha Jun 08 16:28:09 my eclipse is throwing me errors when I go to the install new software window "Unable to read repository at http://download.eclipse.org/releases/kepler/compositeContent.xml." is this server side problem ? like eclipse are doing maintenance or some sort ? Jun 08 16:28:30 O.o Jun 08 16:29:41 can someone maybe check their "install new software" window and verify for me that this might be my problem. Jun 08 16:30:59 Do you think it is reasonable to use a singleton event bus and send state changes from the model to activities via this bus for interface updates? Jun 08 16:31:03 I was able to install an app that needs "com.google.android.maps" to a device that only has "com.google.android.apps.maps" Jun 08 16:31:07 how is that possible? Jun 08 16:31:16 I just like how Otto makes it seamless to just post any kind of objects on the event bus Jun 08 16:39:14 my fucking one day off, and all I get it shit from eclipse :\ Jun 08 16:46:35 how can I find the apk that holds a library? Jun 08 16:47:05 ("pm list libraries" only gives library names, not apk files) Jun 08 16:47:09 ? Jun 08 16:47:19 decompile it? Jun 08 16:47:46 pifon: not looking to decompile.. just want to pull it off the device Jun 08 16:48:09 Then idk Jun 08 16:48:53 pifon: with apps, it's easy.. i can "pm list packages" to get the apk file that corresponds to an app name, then I can "pull /system/app/.." Jun 08 16:49:08 i need to do the same for libs Jun 08 17:01:09 "adb shell 'pm path com.google.android.maps'" <= what's wrong with that? comes back empty Jun 08 17:04:12 New to Android dev: if I'd like to contiously update my UI, is it reasonable to put my UI thread in a while-loop to perform an asyncTask? Jun 08 17:05:02 no Jun 08 17:06:08 pifon: how else would I do it? Jun 08 17:22:28 Is there anyway I can use an arraylist to store corrdinate values Jun 08 17:41:02 Hi, anyone here know if there's a way to call a Javascript function from Android using the JavascriptInterface link? I can call Android methods from JS fine, but it'll be handy to do it the other way around too. Currently I'm just polling from JS to Android (so Android just sets flags for things it wants to call in JS) Jun 08 17:50:49 hey guys Jun 08 17:57:46 I'm going to populate a list with (clickable) elements from application data, what's the best approach? Should I create a fragment type and add fragments to the list, or is there a better way? Jun 08 18:36:43 Jeez, I forgot what a piece of shit the Android emulator is. Probably the slowest emulator ever made in history... Jun 08 18:38:13 smashcat, try genymotion Jun 08 18:38:29 haspor: What's that? Jun 08 18:38:38 very fast android emulator Jun 08 18:38:40 :) Jun 08 18:38:44 www.genymotion.com Jun 08 18:38:46 heh cool, I'll look! Jun 08 18:39:56 its x86 but you can easy install lib arm translation package to it by dropping the zip to it and thats it Jun 08 18:40:38 http://forum.xda-developers.com/showthread.php?t=2528952 Jun 08 18:40:48 from there you can get the package Jun 08 18:42:01 Cheers, so I will need to install the ARM stuff to use it as an emulator for Android? Jun 08 18:48:28 HEy, I am having issue compiling my nexus 10 kernel with linaro 4.8.x or 4.9.x however 4.7.4 works perfectly Jun 08 18:48:30 any idea? Jun 08 18:48:34 Smashcat, yeah Jun 08 18:48:47 unless your app is x86 Jun 08 19:07:55 Genymotion seems a bit buggy here. Crashes quite a bit. Think I'll wait for the tablet to charge up a bit so I can test on it again :) One day Android will get a decent emulator... Jun 08 19:08:10 Smashcat lol :) someday XD Jun 08 19:08:23 Smashcat using 2.2.2 ? Jun 08 19:08:39 I need to figure out how I want to store global values in my VM Jun 08 19:08:43 I had not thought about tha. Jun 08 19:08:45 *that. Jun 08 19:08:55 i've really never had problems with it - but virtualbox is a big piece so … maybe you should get 2.2.24 vbox Jun 08 19:08:56 g00s: 4.2.2 app Jun 08 19:09:11 no, i mean geny version Jun 08 19:09:16 Smashcat, crashes? huh? Jun 08 19:09:25 is there something wrong with your PC or your Virtualbox setup? Jun 08 19:09:26 Oh, yeah, Genymotion, whatever the latest one is. Just installed it. Jun 08 19:10:09 this is pretty nice for ios , does android have this? i haven't checked https://twitter.com/fredericjacobs/status/475601665836744704 Jun 08 19:10:17 Installed the all-in-one thing, then updated with the ARM firmware. Just disconnects all the time - it did launch an app once. But won't any more. I do have a tablet, but forgot to charge it last night :) Jun 08 19:10:30 Smashcat ah, dunno what vbox all-in-1 comes with Jun 08 19:10:42 g00s, no it doesn't. Jun 08 19:11:31 is there a method called on activity start but not on orientation change? Jun 08 19:12:13 Haven't touched the Android emus since last year, and they're still as terrible as ever :) Got a really fast PC here, and takes the emu about a minute to start, then it's slow as hell. How does anyone use it?! Jun 08 19:12:30 hm, i use geny or device Jun 08 19:12:40 Smashcat, you're doing something wrong. Jun 08 19:12:51 Mavrik: Yeah, launching the emulator :) Jun 08 19:12:57 hehe Jun 08 19:13:06 Hi all. There is a way to permanently switch android adb service to work with TCP/IP instead of USB ? In my embedded android board I would like to avoid to install usb drivers every time I need to connect it to a new windows PC... Jun 08 19:13:06 Is there anyway I can view objects when running my app Jun 08 19:13:07 you have to make sure haxm + gpu accel are working Jun 08 19:13:14 (geny starts in about 3-5 seconds here from 0, official emulator in about 10-15) Jun 08 19:13:34 AndreYonadam, "view objects"? Jun 08 19:13:46 g00s: They do work for the one AVD I have that uses hax - the Nexus 7. Unfortunately I need to test on a device it doesn't work with. Jun 08 19:14:00 yeah I have an array with objects thats created when I launch my app. Can i view their instances? Jun 08 19:14:05 Is it possible Jun 08 19:14:07 Mavrik: I meant the standard emulator. The one that's unusable Jun 08 19:14:09 via a debugging program? Jun 08 19:14:12 AndreYonadam, set a breakpoint while executing Jun 08 19:14:19 Smashcat, yes, 10-15. Jun 08 19:14:22 Mavrik: thanks Jun 08 19:14:35 huh, they put out a gradle plugin update over the weekend Jun 08 19:14:42 i just checked last night :) Jun 08 19:14:43 AndreYonadam, when the program stops at that breakpoint you'll be able to hover over variables or do "Evaluate expression" on them to see contents Jun 08 19:14:58 cool Jun 08 19:15:05 thanks for the help. I'm going to try it. Jun 08 19:15:36 Mavrik: I'd have to see it to believe it. Got an SSD array here, 32GB RAM, and fast i7. Anyway, going to see if the tablet's charged enough, and uninstal this Genymotion thing :) Jun 08 19:15:51 *shrug* Jun 08 19:15:57 Smashcat i'd install vbox from scratch, latest stable 2.2 series Jun 08 19:16:10 not sure if 2.3 works Jun 08 19:16:25 g00s, ehm, 2.2? Jun 08 19:16:32 oh sorry, 4.2 Jun 08 19:16:45 g00s: Cheers, it doesn't really matter here though. I just get the tablets we're developing for usually. Got a load of them here, but haven't charged the one I want :) Jun 08 19:16:53 not sure if 4.3.12 works Jun 08 19:17:01 ok Jun 08 19:17:34 g00s, I can confirm 4.3.12 works just fine :) Jun 08 19:17:52 Mavrik awesome, thanks Jun 08 19:18:34 g00s: Yeah the one that's bundled with Geny is 4.2.12 Jun 08 19:19:06 i think thats why i stayed with 4.2 - i didn't really know if 4.3 would work, i just figured 4.2.24 would be ok Jun 08 19:19:13 but now i will try 4.3 :) Jun 08 19:20:15 mhm, I use vbox with other stuff so I have it updated usually. Jun 08 19:21:40 Hi, I am trying to set actionbar textcolor to white through styles.xml but it is still coming black http://pastebin.com/RjvpTV9b Jun 08 19:25:42 Smashcat, problems with genymotion? Jun 08 19:26:29 haspor: Yeah, it didn't work well for me. Not really a problem, just wanted to use something while waiting for a device to charge enough to use it Jun 08 19:27:15 smashcat, what happened? Jun 08 19:27:35 just get the installer, install all what it wants, then grab some image and launch it Jun 08 19:27:52 haspor: Kept locking up and crashing. Disconnected from the debugger etc. Jun 08 19:28:13 odd Jun 08 19:28:28 haspor: I did follow the instructions for it. I have a setup with 2 graphic cards + 5 monitors here, which might have caused the issue. Jun 08 19:28:52 maybe Jun 08 19:29:09 haspor: It worked once, then wouldn't work for any more launches. May have worked again if I'd rebooted, but I've uninstalled it now. Jun 08 19:32:25 hi. i am on mint17 (ubuntu14.04). downloaded the eclipse + adt bundle and tried running some sample applications. works well. I want to now use my Sony xperia tipo to test my app instead of avd. tried searching but did not find anything useful. adb devices shows "????? no permissions" for my device below emulator-5555. What can I do? Jun 08 19:33:49 meet: I've always found that motorobo seems to get devices working when I have problems (I use a lot of the Android sticks from China, and they're usually awkward to use, but it even works with them) Jun 08 19:34:42 Smashcat: motorobo. thanks. I will look it up. Jun 08 19:34:53 meet: np Jun 08 19:36:31 Smashcat: moborobo? Jun 08 19:36:44 meet: Oh yeah :) Jun 08 19:37:54 meet: Seems to have better drivers than the Android ones from Google. Also makes it easy to update apps etc if you need to (personally I just use it for development though) Jun 08 19:38:27 Smashcat: but it looks a windows specific application. I am looking for linux Jun 08 19:38:51 meet: Ah, sorry yeah, I didn't read your message properly! Jun 08 19:39:35 meet: Couple of things to check. Have you enabled developer mode? And does your user have access to the USB ports ok? Jun 08 19:40:14 Smashcat: yes enabled developer mode and have access. Jun 08 19:40:33 meet: And you haven't mounted the phone as a filesystem when it's plugged in? Jun 08 19:41:37 meet: And USB debugging is enabled under developer options? Jun 08 19:42:04 Smashcat: ya. done that all. :) Jun 08 19:42:29 Smashcat: got it working. just had to restart the adb server Jun 08 19:42:34 thanks again Jun 08 19:42:39 heh, cool Jun 08 19:44:15 Smashcat: btw where's the apk stored when directly running it on the phone. Jun 08 19:51:14 meet: Not sure, probably under the gen directory. Jun 08 19:51:29 But you usually use the Android tools to create the APK to install on other phones Jun 08 19:54:19 You have to SSH in to see the full file system I believe Jun 08 20:05:35 Hi, I am trying to set actionbar textcolor to white in my AppCompat.Light.DarkActionBar theme through styles.xml but it is still coming black http://pastebin.com/qyyvbkhZ Jun 08 20:05:43 Can somebody please help Jun 08 20:10:36 Hey guys Jun 08 20:11:16 I've been an iOS dev for a couple years now and I just got an HTC One M8 to start android dev with Jun 08 20:11:37 But I'm wondering where a good base of tutorials are, for example, iOS has raywenderlich.com Jun 08 20:11:44 can someone do me a HUGE favor and send me /system/app/BrowserProviderProxy.{apk,odex} Jun 08 20:11:48 on android developer pages. Jun 08 20:11:52 of a 4.4.2 install Jun 08 20:12:19 Mavrik, is that the usual "go to the docs" reference, or are they actually good Jun 08 20:12:34 they are short, concise and up to date Jun 08 20:12:36 so yes. Jun 08 20:12:49 most of other tutorials are horribly outdated. Jun 08 20:12:51 and anywhere focussed toward game dev? Jun 08 20:14:32 I'd also like to know how an app like "jungle monkey saga", which is a poorly made sidescroller gets 100 000+ downloads within a month Jun 08 20:30:25 Hi.! trying `dalvikvm` for the first day and willing to access `android.os` classes and properties. Is it possible?! Jun 08 20:30:37 shell Jun 08 20:40:31 What's the typical thread count you shouldn't go over in Android? Jun 08 20:40:39 Like at any given one time Jun 08 20:40:55 Is it 2 * the number of cores? Jun 08 20:43:10 I'm trying to dig through some compilation errors for an existing project: https://github.com/daneren2005/Subsonic/ Followed instructions to the letter. Continually get "X cannot be resolved to a type", where X might be just about goddamned anything, depending on how Eclipse feels about it at the time. Jun 08 20:44:10 It's beyond my ability to sort out why it's misbehaving. I was hoping someone else could give compilation a shot and point me in the right direction. Jun 08 20:56:37 ImpatientJerk: Well the compilation error is really telling you the problem. It cannot find the object type you're trying to create an instance of. If this was a working project and you've imported it to compile, check the paths are correct so it can find the libraries etc. Then do a project clean, then try compiling again. Jun 08 20:56:44 one of the things i really like about windows phone is that i can choose which apps run in the background, and i can completely uninstall (not just disable) stuff i don't want Jun 08 20:56:59 also location services permission is per app Jun 08 20:57:31 also offline mapping worked great for my trip Jun 08 20:57:52 in some ways its missing quite a bit though, from android Jun 08 20:57:53 Smashcat: it's yet to work. It's a fork of a fork of a fork by hobbyists. There was some references to "Program Files (x86)" in there. ...I'm on Fedora. Heh. Jun 08 20:58:04 g00s: One thing I'd really like with Android is the ability for the user to choose which permissions to allow when installing an app. E.g. for Facebook, just allow web access, and not all the other shit like accessing the phone book, microphone etc! Jun 08 20:58:28 Bizarrely, it asks for a jar, even though the class files are right there. Jun 08 20:58:46 Smashcat yeah, i should be able to - at any time - say which apps have what permissions Jun 08 20:58:58 ImpatientJerk: Yeah, that's the problem - it's an absolute path. If the project is to be portable, it needs relative paths Jun 08 20:59:14 i should be able to view by app, and by permission and set stuff Jun 08 20:59:14 Well, then they should be ashamed of themselves. : { Jun 08 20:59:31 Ah well, I'll just stick with (modded) Subsonic. : 3 Jun 08 20:59:47 g00s: Yeah - can't see why it's not possible. There could be two categories - one would be permissions that are required for the app to work, and others that just "enhance" it :) Jun 08 21:00:39 ImpatientJerk: You could fix the paths yourself and compile :) Jun 08 21:01:07 I could, but the code's not exactly gorgeous. This is kinda' a stopgap solution while I write my own. Jun 08 21:01:30 Incidentally, the whole bug I'm fixing is that it just...lets any self-signed certificate through without verifying it's the same certificate as before. Jun 08 21:01:48 HTTPS is kinda' meaningless if MITM isn't accounted for. The jerks. Jun 08 21:02:15 Anyhow, just wanted to verify it wasn't my stupid ass (entirely). Thank you, Smashcat. Jun 08 21:02:23 no problem! Jun 08 21:03:27 huh Jun 08 21:05:06 anyway I can make `dalvikvm` access `android.os` classes and properties over shell, guys? Just fiddling around the api, trying to fetch its limits while debugging a device Jun 08 21:13:12 So I'm calling a Fragment via FragmentManager(), and I can't get pull a Context via getActivity() in this called Fragment class Jun 08 21:13:44 It's like this instance of the Fragment class is not attached to the activity or something Jun 08 21:14:05 of course, I am pulling this Fragment via FragmentManager from another Fragment though Jun 08 21:26:42 In case anyone cares, I just ended up passing the proper LayoutInflater as a parameter instead Jun 08 21:47:20 MikeClassic, (y) Jun 08 22:05:49 Hey, how is it possible to read out raw sensor information? For example i want to read out the values of my accelerometer (16 bit) which should be int values between -2^15...2^15 but the android api supplies me values from -10,?? ... 10,?? Jun 08 22:09:44 Assuming for the moment that the snsor output is actually 16 bit - this does not mean the precision is 16 bit Jun 08 22:10:05 Noise is significantly higher than this. Jun 08 22:11:49 sagura: I'm not an expert but if there isn't any support for it you may need to go NDK or Source to get what you're looking for Jun 08 22:12:48 the sensor output should be 16-bit according to datasheet and if there is noise that would be even better for the problem I try to solve Jun 08 22:13:11 I tried to find the function / class where the conversation takes place but I had not success Jun 08 22:13:52 Why is noise better? Jun 08 22:14:19 you may find that the raw sensor output pops up somewhere in /sys or /d/ Jun 08 22:17:20 there is /dev/accel but the driver doesn't look like anythhing in /sys and directly talking to it seems to be complicated Jun 08 22:17:55 due I need to make some statistical analysis of the lower bits Jun 08 22:20:43 actually that's the driver https://github.com/Dazzozo/huawei-kernel-3.4/blob/kitkat/drivers/input/accelerometer/gs_st_lis3xh.c but I'm not very fammilar in directly reading from dev devices Jun 08 22:53:43 hey guys. for some reason my button with drawable that implements state_pressed reacts really slow Jun 08 22:54:10 I want to do other background color on press and it changes it only after 1-1.5sec Jun 08 22:54:15 after pressing Jun 08 22:54:20 any reason for this slowness? Jun 08 23:02:41 So, how come Intents are used as apposed to simply calling the method of another class Jun 08 23:02:43 L8: are you testing on emulator ? Jun 08 23:02:49 nope Jun 08 23:02:51 my nexus 4 Jun 08 23:02:59 hello guys Jun 08 23:03:13 I think I'll do a code hack, but it's ugly :( Jun 08 23:03:16 I have added icons to my menu items but I cant see them Jun 08 23:09:30 shmooz, well with setOnTouchListener Jun 08 23:09:33 works as it should Jun 08 23:09:42 really strange that with the xml it works that SLOW Jun 08 23:15:50 L8: what's your line in xml to make it do that? Jun 08 23:16:13 anybody knows why my icons arent shown Jun 08 23:16:18 Im just a noob Jun 08 23:16:22 nothing special Jun 08 23:16:28 ill pastebin it Jun 08 23:17:43 shmooz, http://pastebin.com/59NTfxtQ Jun 08 23:18:04 the only difference between the states is the background color Jun 08 23:22:45 L8: why is there 3 xml headers? is that 3 files merged ? Jun 08 23:23:17 there's the state handler file Jun 08 23:23:56 which set's the right handler on the right state Jun 08 23:24:04 when pressed its sets up the pressed_button.xml Jun 08 23:24:10 when not so default_button.xml Jun 08 23:24:32 hmm, you should report it as bug if you can make sure it is Jun 08 23:25:23 shmooz, I'll do Jun 08 23:25:29 hoped it my fault in some way Jun 08 23:26:33 nah, its always google's fault Jun 08 23:26:43 :d Jun 08 23:26:52 * L8 going to by an iPhone Jun 08 23:27:08 buy* Jun 08 23:27:14 yeah learn swift and Metal Jun 08 23:27:39 swift actually seems like a great lang Jun 08 23:27:52 the guy who does the ios is excited about it Jun 08 23:28:09 google should take python and add android libs Jun 08 23:29:01 I thought they said in the last IO they support python Jun 08 23:29:21 they did? Jun 08 23:29:27 L8: it's not as easy to just "add" libs Jun 08 23:29:34 Also, Python isn't that fast anyway :P Jun 08 23:29:50 yeah Jun 08 23:29:53 maybe Go Jun 08 23:30:09 anyway, the point is to set up some script lang Jun 08 23:30:23 it'll be easier and faster for development Jun 08 23:30:35 the court should take java out of oracle's hands and make it open public Jun 08 23:30:49 lol Jun 08 23:31:34 and now I'm going to write soon java in full time Jun 08 23:31:36 :( Jun 08 23:46:27 L8 i guess groovy has android support now Jun 08 23:46:50 not really into groovy much, but another choice Jun 08 23:47:49 I hope google on the close io will announce something about it Jun 08 23:47:59 maybe their on swift Jun 08 23:48:02 own* Jun 08 23:48:15 gwift Jun 09 00:32:17 Howdy. Happy Sunday. I'm trying to track down some connectivity weridness with my Andriod device, and I found references to 'wrigley' in the iptables rules. Yep, I googled for it, but there's a strangely low level of results. Jun 09 00:32:33 What is it? Jun 09 00:40:27 Mavrik: You around? Jun 09 01:22:19 Hi all. Jun 09 01:22:50 I have a question regarding onClickListener (in my case it's a switch): Jun 09 01:23:17 Is there a way to detect wheather the button is clicked manually (fingertip) or automatically Jun 09 01:23:39 button.setChecked(booleanValue) Jun 09 01:24:15 I just want to do an action, if the button is pressed manually... Jun 09 01:31:32 hrn its one of those stupid things, if setting it programatically: (1) unregister the listener (2) set the state (3) re-register the listener Jun 09 01:32:50 thanks, trying it; Jun 09 01:33:43 working, great; thank you g00s_ Jun 09 01:34:21 now I can go to bed :) Jun 09 01:35:15 ;) Jun 09 01:35:47 Hi all. I got a strange bug. I'm using a navigation drawer, but upon opening it, it only displays a tiny rectangle in the bottom left of the screen. Now, If I exit the app and come back, then the nav drawer displays correctly. Jun 09 01:36:08 this is upon testing the app on a API 10 device. API 16 and up works fine Jun 09 01:37:03 What could cause this? Why would a view / menuitem display correctly upon re-opening / coming back to the app? Jun 09 02:16:42 on a dual sim phone are there apps to identify calls and sms made to a particular sim card ? Jun 09 02:50:39 Hi as of 0.6 release of AS and using 0.11 version of the gradle plugin DefaultManifestParser can't seem to be found, has its package changed? Jun 09 02:51:14 MohitKanwal try 0.11.1 Jun 09 02:53:48 g00s_: same error, can't seem to find the class here: https://android.googlesource.com/platform/tools/base/+/gradle_0.11/build-system/builder/ Jun 09 02:54:20 g00s_: oh it moved to core Jun 09 02:54:26 problem solved. Jun 09 02:54:45 Must do import com.android.builder.core.DefaultManifestParser Jun 09 02:55:42 the new iOS 8 notifications look pretty cool Jun 09 02:55:58 Hello, I've got a list view, that needs to display a custom view on the very first item. I can get this to work by tagging the item with a special boolean, it displays the item with the correct view, but it seems the view holders are being cached, as after 10 or so rows, the first special view shows again Jun 09 02:56:02 why would this happen? Jun 09 02:57:00 http://pastebin.com/iuWdRgZ1 <-- source Jun 09 02:58:21 actually, this would be better: http://pastebin.com/MTAuQWgC Jun 09 02:58:28 as it doesn't have the stickylistheader composite **** ENDING LOGGING AT Mon Jun 09 02:59:58 2014