**** BEGIN LOGGING AT Sun Jun 01 02:59:58 2014 Jun 01 03:04:22 fuck i cant change the build taget on this Jun 01 03:19:22 Does anyone know how to build static libraries to using in a NDK shared library Jun 01 03:19:53 I'm trying to call FFMpeg statically but I'm not used to building C libraries Jun 01 03:27:52 hello all i ported my code over to android studio and have sinse then lost the ability for webview GPS to work Jun 01 03:31:50 make sure you still have the libraries you need Jun 01 03:32:11 and next time avoid porting in the middle of developing a project, unless you really really need too ;p Jun 01 03:34:56 are fragments that necessary for UI design? Jun 01 03:36:47 no not at all jackwharton (of sherlock action bar) prefers to use his own things like fragments since fragments are basically a compound view with state Jun 01 03:36:56 but they do make life a little easier if you are comfortable with them Jun 01 03:37:29 also if you want to do tabbed page navigation the answer is 75% yes (25% being rolling your own thing to do it) Jun 01 03:42:04 is anyone here using android studio i am having two major isues i could use some help with —> i cant change my sdk version and i cant get webview geolocation working (it was working in eclipse) Jun 01 03:55:29 mother fuycker it works! Jun 01 04:00:17 Hey I have a question that I can't really figure out. So I have a canvas zoomed to a point by default. I have it so that you can pinch and zoom out so that its a certain size. My problem is I want it to sort of start out zoomed to a certain point and then as I zoom out I want it to gradually become more centered and be perfectly centered when its zoomed out to a certain size but I have no idea what the calculation for the trans Jun 01 04:02:15 u prolly wanna use something non linear Jun 01 04:03:28 jaspertheghost: any ideas? I thought about having a line from the pivot point to the center and linearly moving across the point as I zoom but it was disjoint and at certain times the focused area went off the screen Jun 01 04:04:39 i wish i could help i havent a clue myself, im just getting into android dev Jun 01 04:04:53 ah thanks though Jun 01 04:07:10 zymaster: can you offset by the delta from center overriding preinvalidate ? Jun 01 04:13:47 lasserix: yeah I figured out how to move it by difficulty is finding the formula to calculate delta x and delta y from the center so that it seems like it smoothly moves to the center as I zoom out Jun 01 04:18:02 is there a way to grab the bounding box long and lat on each refresh? Jun 01 04:20:28 So my canvas is sort of a large rectangle. I have a certain point zoomed in on the rectangle to start. When I zoom out I want the rectangle to sort of loose focus from the point and make the rectangle centered. I have a pivot point on the rectangle that I translate it to when its zoomed in all the way. But as I start to zoom out I don't know how I should calculate the intermediate pivot points as it becomes more centered. Any i Jun 01 04:20:36 have no idea and can't find anything similar on the internet Jun 01 04:27:23 have you tried turning it off and on again? Jun 01 04:28:01 petecouture: actually yes but it didn't help Jun 01 04:28:08 ;-) Jun 01 04:30:05 holly shit is 12:30 AM Jun 01 04:30:14 was only 9:00 like 10 mins ago Jun 01 04:32:29 Hey I found an example of what I'm looking for like in the gallery if you have a picture and you zoom into a certain point in the picture and you zoom out again the picture will become centered anyone know how that could work on a canvas? Sorry if I'm sort of spamming my question I just want to add on when I can explain it slightly better Jun 01 04:57:22 Mavrik: Thx alot! ill have a look at that (but so far i think u saved my day :D ) Jun 01 05:10:04 http://pastebin.com/t7S2tUkH someone explain why the array is blank? Jun 01 05:10:59 if i had any motivation id find that xchat vulnerability for incorrect unicode Jun 01 05:11:11 ops Jun 01 05:11:53 whys that Jun 01 05:54:50 hi all Jun 01 06:04:59 hello Jun 01 06:09:44 Has anyone ever had issues with versions shared object libraries in JNI NDK builds Jun 01 06:32:17 hy all Jun 01 06:32:30 is it possible to manage more than one beta group on the play store? Jun 01 07:05:16 hey anyone know of a book that goes over all the profiling techniques for android? Jun 01 07:08:37 lasserix: profiling methods or profiling users? Jun 01 07:09:04 petecouture, load library doesn't support versioned libs Jun 01 07:09:18 hey pfn Jun 01 07:09:25 I'm working to figure it out Jun 01 07:09:33 There isn't a clear solution and I've been at it all day Jun 01 07:09:52 ffmpeg builds versioned so's Jun 01 07:10:11 but when you just use the main .so file you get an error that the loader can't load another verion Jun 01 07:10:15 then just copy the so Jun 01 07:10:17 supposedly you can turn it off Jun 01 07:10:34 doesn't work Jun 01 07:10:48 the so.## files doesn't get packaged into the apk Jun 01 07:10:52 then take the ffmpeg build out of vlc Jun 01 07:10:58 vlc? Jun 01 07:11:29 and if ffmpeg has an android target, it should build correctly as well Jun 01 07:12:07 it doesn't Jun 01 07:13:30 most of the ffmpeg android knowedge is from forums Jun 01 07:13:37 the people that have figured it out doesn't seem to want to share Jun 01 07:13:55 then take the ffmpeg build from vlc Jun 01 07:15:18 hmm looking up VLC Jun 01 07:15:22 you mean the video player? Jun 01 07:15:27 is it open source or something? Jun 01 07:17:36 Hey guys, I'm using a single instance of SQLiteOpenHelper in my application Jun 01 07:18:05 do I still need to close it and reopen it in activities to prevent leaks? :p Jun 01 07:19:34 you should open and close per transaction Jun 01 07:19:47 on the helper? Jun 01 07:19:55 /in Jun 01 07:20:43 oh wait Jun 01 07:20:52 you are using a singelton, this is in multhreaded enviroment? Jun 01 07:21:12 no Jun 01 07:21:17 but it may be in the future so I am planning ahead Jun 01 07:22:07 yeah Jun 01 07:22:08 so Jun 01 07:22:13 use this Jun 01 07:22:26 blog.lemberg.co.uk/concurrent-database-access Jun 01 07:22:42 also if you are using lots of inserts Jun 01 07:22:52 set startTransaction endTransaction Jun 01 07:22:56 *use Jun 01 07:23:07 it's orders of magnitude faster Jun 01 07:24:27 lasserix: Okay. The other question I had was when to close and open the database. Inside each of my CRUD methods? Jun 01 07:24:48 i think its recomend to do it atomically Jun 01 07:25:03 so yes Jun 01 07:25:12 but if you are doing multithreaded then its a different story so no Jun 01 07:26:44 in reality i would probably add a queue to that singleton then while it's open (ie if one CRUD was going on to do something) check the queue to do anything on the queue before closing Jun 01 07:33:56 pfn: I tried downloading the VLC repo and ffmpeg isn't in it Jun 01 07:34:00 Which were you talkinga bout? Jun 01 07:37:20 vlc builds ffmpeg Jun 01 07:37:58 build vlc for android and you get ffmpeg out of it Jun 01 07:41:52 Sorry I'm not as strong as a developer to do that. Jun 01 07:42:21 it's straightforward... Jun 01 07:42:40 It probably is Jun 01 07:42:48 but I'm been so focused on this one issue Jun 01 07:42:49 if you want an example of ffmpeg on android, that's the most canonical you'll find Jun 01 07:42:53 I'm having trouble accepting another soultion Jun 01 07:43:13 It's the building process I need to fix Jun 01 07:43:35 well, it has an example of building ffmpeg for you Jun 01 07:43:54 ./configure ----disable-symver Jun 01 07:44:12 That is the configuration I'm supposed to use to prevent the versioning Jun 01 07:44:20 but it doesn't seem to work Jun 01 07:44:27 petecouture: I had found step by step instructions for building ffmpeg but it requires you to have a version of ubuntu so that it includes the correct libs Jun 01 07:44:45 it's not the building of it that's the problem Jun 01 07:44:57 It's that it's building the shard objects versioned Jun 01 07:45:01 looks like too many - Jun 01 07:45:02 shared rather Jun 01 07:45:24 it is pfn that's just from the example Jun 01 07:46:04 * pfn flight boarding & Jun 01 07:46:53 is that the one where you stick the terrorists face out the plane window ? Jun 01 08:41:05 Which test frameworks do you recommend? Jun 01 08:55:53 robolectric Jun 01 09:07:02 What is the meaning of "Snapshot" release? Jun 01 09:07:37 normally means a release at a particular moment, not at a natural release time Jun 01 09:08:03 i.e. there might be a weekly snapshot, but the full release is whenever the code is done, no known bugs, etc. Jun 01 09:08:08 basically its: "hey look, thats what we got atm" Jun 01 09:08:51 ok Thanks. It was written on a library's download page. Jun 01 09:10:21 then I'd take it to mean "this might have new features and bugfixes, but it almost certainly also has new and interesting bugs" Jun 01 09:12:08 hehe, I am not using it anyways :P Jun 01 10:53:28 Hello! Jun 01 10:53:41 I am new to Android App. dev. Jun 01 10:53:59 What do I need to learn for me to start making apps? Jun 01 10:54:09 java Jun 01 10:54:22 bankai_au: What else? Jun 01 10:54:31 d.android.com Jun 01 10:55:06 Ah ok. Jun 01 10:55:07 Thanks! Jun 01 10:55:19 d.android.com has pretty much everything you need :) Jun 01 10:55:22 bankai_au: Do you know where I could download Java tutorials? Jun 01 10:55:40 Mavrik: It also comes with Java tutorials? Jun 01 10:55:41 google, there's hundreds around Jun 01 10:55:46 someHuman, no. Jun 01 10:55:58 Android dev kinda expects you to know Java already. Jun 01 10:56:10 Mavrik: Ah ok. Jun 01 10:57:01 There should be some good Java books out there considering the popularity of the language though :) Jun 01 11:00:23 Mavrik: I found this though http://www.oracle.com/technetwork/java/javase/java-tutorial-downloads-2005894.html Jun 01 11:00:32 I am already downloading the first one Jun 01 11:01:03 slow day... Jun 01 11:01:21 now to wait for my next plane Jun 01 11:04:20 Mavrik: You there dude? Jun 01 11:04:39 Mavrik: I know I already have that but requires me to go on line -_- Jun 01 11:04:46 I need something like a PDF Jun 01 11:06:52 go buy a book Jun 01 11:07:08 Get the free thinking in Java book Jun 01 11:07:14 pfn: Am broke right now -_- Jun 01 11:07:30 * bankai_au looks for the spoon Jun 01 11:07:36 pfn: I am trying to get this but keeps on canelling http://it-ebooks.info/book/255/ Jun 01 11:21:44 my app (normal android app, with a jar file = launcher activity, layout) won't start without a layout file in the app (although there is one in the linked jar file...) ... if i do add this layout, i get various null references when using R.id.something (or similar), which is why i suspect that its using the "wrong" layout file.. any ideas how to get around that? Jun 01 11:23:07 jar? layouts don't go in jars Jun 01 11:24:15 pfn, normally, yep. but i "need" that ;-). as the startup activity also is inside the jar Jun 01 11:24:40 well, you're doing it wrong Jun 01 11:24:48 layouts do not go in jars Jun 01 11:24:52 period Jun 01 11:26:54 hi everyone Jun 01 11:26:56 ugh, what can I do in Tokyo from 8am to 1pm while lugging around 4 big ass suitcases Jun 01 11:27:21 im the newest addition to the chat room, anything i should know before i start participating? Jun 01 11:27:31 flight arrives at 8am and cruise check-in isn't until 1 :( Jun 01 11:27:36 pfn: 4 suitcases ? :O Jun 01 11:27:55 all you can do is to get 4 coin lockers Jun 01 11:28:09 and go somewhere Jun 01 11:28:15 Sure, 1 month of travel for 2 Jun 01 11:28:24 is no one gonna welcome the new guy? Jun 01 11:28:28 i got 1 suitcase Jun 01 11:28:30 for 1 month Jun 01 11:28:31 but ok Jun 01 11:28:42 sure,but you're a bum :p Jun 01 11:28:47 for shame... Jun 01 11:28:56 LighterFluid: who's the new guy Jun 01 11:29:02 that'd be me Jun 01 11:29:03 pfn: well Jun 01 11:29:07 happen Jun 01 11:29:08 s Jun 01 11:29:21 ping me when you're in Jun 01 11:29:24 we can meet in toky Jun 01 11:29:24 o Jun 01 11:39:56 you live in tokyo, gordon_ ? Jun 01 11:47:51 hi Jun 01 11:48:12 can anyone help me? I have to add a map in a Fragment Jun 01 11:48:20 any help? Jun 01 11:48:22 any hint? Jun 01 11:48:25 I have error Jun 01 11:53:23 gordon_, only gonna be in Tokyo 8-1pm,then imma hop on a ship Jun 01 11:53:48 a ship to where? Jun 01 11:54:15 Around Japan and Russia Jun 01 11:54:37 nice Jun 01 11:54:45 can i scrape google play scores for games i’m currently playing? Jun 01 12:00:05 Leeds, yeah, 9 day cruise Jun 01 12:01:23 "never call it from your application's UI thread" what does this mean? Jun 01 12:01:31 never call it from the onCreate method or what? Jun 01 12:01:46 * pfn boarding & Jun 01 12:02:25 boarding and... Jun 01 12:03:57 is there another chat room i should go with my dumb questions? Jun 01 12:04:18 LighterFluid: this is it, but have some patience, and be aware of the time of day/week Jun 01 12:04:49 people arent active on sundays here? Jun 01 12:05:29 lots of the regularish people here are USians, and no, they're mostly not active at this time of week Jun 01 12:06:10 alright, ill keep that in mind, thanks Jun 01 12:48:01 guys, have all widgets in the main layout been initialized when the main activity "oncreate()" method is called ? Jun 01 12:48:56 in other words, can "findViewById()" fail when I call it from onCreate() ? ? Jun 01 12:49:54 once you setContentView() you are good togo Jun 01 12:50:35 only way should fail is if referencing a id not inside your current layout Jun 01 12:51:19 ok thanks Jun 01 12:55:13 hi Jun 01 12:55:24 i have to add a map in a fragment Jun 01 12:55:35 and my app has error Jun 01 12:56:41 anybody knows how to put a map in fragment? Jun 01 12:57:59 v3ro: you need to actually provide an error&the code related in a pastebin to get help from anyone Jun 01 12:58:13 ok Jun 01 12:58:47 I have an app with TabHost like this Jun 01 12:58:49 http://pastebin.com/2wTKTwQx Jun 01 12:59:06 I want to add a map in a TabHost Jun 01 12:59:09 http://pastebin.com/svWPGTnh Jun 01 12:59:17 I have an error on line 26 Jun 01 13:00:32 NullPointerException Jun 01 13:02:49 Any help? Jun 01 13:02:58 line 26 what if you change container to null. inflatedView = inflater.inflate(R.layout.mapa_layout, null, false); Jun 01 13:03:28 hmm Jun 01 13:03:29 you are giving it a root container, but telling it false to not attach, so is container used? Jun 01 13:04:30 canvs2321-, sorry if i don't answer but I know a little english Jun 01 13:04:33 ok, wait Jun 01 13:05:16 i am going to change that Jun 01 13:05:39 just seems line 26 erroring doesn't mean the maps is not working, your fragment layout isn't even inflating, so start with that first Jun 01 13:06:31 so, change container to null.. rigth? Jun 01 13:07:39 change the inflate from (R.layout.mapa_layout,container,false) to (R.layout.mapa_layout,null,false); Jun 01 13:07:56 ok Jun 01 13:07:57 if mapa_layout.xml exists Jun 01 13:08:08 yeah this exists Jun 01 13:09:10 the same error :S, i am going to shows in pastebin Jun 01 13:13:31 canvs2321-, http://pastebin.com/WAWWqfv1 that is the error Jun 01 13:16:04 not sure how much help i can be, but maybe post your mapa_layout.xml file as well. I see InflateException not NullPointerException Jun 01 13:19:38 ok Jun 01 13:20:27 Does anybody have experience with Macroid? Jun 01 13:20:37 http://pastebin.com/LFG1ymfH Jun 01 13:23:05 veritto: if all you have is in your mapa_layout.xml, why mMapView = (MapView) inflatedView.findViewById(R.id.map); when inflatedView should be the MapView. what if you wrapped your in a or another layout, besides using it as your root Jun 01 13:23:11 I'm just shooting in the dark tho :) Jun 01 13:24:56 hmm you know more than me, that is sure :P Jun 01 13:25:05 ok i am going to change Jun 01 13:27:44 veritto: maybe something like http://pastebin.com/pDvAN2y5 for mapa_layout.xml Jun 01 13:28:46 let me see Jun 01 13:30:07 and the activity MapaFragment is the same? line 26: View inflatedView = inflater.inflate(R.layout.mapa_layout, null, false); Jun 01 13:30:24 i mean, the Fragment Jun 01 13:31:15 yea can keep that Jun 01 13:31:50 nu ;/, the same error Jun 01 13:31:52 hmmm Jun 01 13:32:15 The principal Activity extend from FragmentActivity Jun 01 13:32:18 that sucks :) maybe someone else will chime in to help ya Jun 01 13:32:23 and i use tabhost Jun 01 13:32:56 nooo ;/ Jun 01 13:33:03 nobody answer me Jun 01 13:33:20 ok Jun 01 13:33:30 thank canvs2321- Jun 01 13:33:33 thanks Jun 01 13:33:51 yep, sorry couldn't be of more assistance Jun 01 13:34:09 do you have use Fragment? Jun 01 13:34:21 because i think that is my error :/ Jun 01 13:34:32 maps in Fragment Jun 01 15:04:33 Hi! Jun 01 15:04:45 I would like to write android app (:D), and I need some server to get information from clients and send to others. It is not very big. What tech for server will be the best choice? Jun 01 15:06:51 chocimir: you could use google app engine, or something similar like parse - or get a VPS Jun 01 15:08:14 chocimir, that's a question that's wholly dependent on your skillset, budget an dlocation Jun 01 15:11:15 anyone have any experiance with wsperiance in andengine and contact listener and preSolve i cant get contact.setEnabled(false); the body's still colide. Jun 01 15:11:41 Mavrik: chocimir ain't answering :( Jun 01 15:11:52 Ok, I understand that. Jun 01 15:13:24 chocimir: you could use some database on the server like mysql and access through php wrapper Jun 01 15:13:25 assume I am beginner. I would like to have something to manage database and generally speaking send information from db to clients. Jun 01 15:14:07 and communicate via htpp request. I have heard of django Jun 01 15:14:34 but it seems to be too much. I don't need web application yet Jun 01 15:14:38 beginner at what? Jun 01 15:14:45 coding? client-server? Jun 01 15:15:57 chocimir, hmm, basically you just need a REST interface to your DB then Jun 01 15:16:05 depending on which language you like there's alot of those around Jun 01 15:16:16 Django is very nice because it's friendly to beginners Jun 01 15:16:25 pretty much any language has something like that Jun 01 15:17:21 Leeds: client server Jun 01 15:18:11 you've got some fun learning ahead of you then... Jun 01 15:19:53 * chocimir checking REST interface Jun 01 15:25:04 I'd like to find a good android service sample but can't find one in the SDK Jun 01 15:25:50 I think I need something that is easy to use and safe. something that is well tested and widely used to achive maximum level of security Jun 01 15:26:22 chocimir: then you need to pay someone with experience, probably Jun 01 15:26:24 API doc is referencing "ServiceStartArguments" but can't find this sample somewhere Jun 01 15:28:10 is there a bug tracker for the android source ? Jun 01 15:28:31 amoghbl1: b.android.com Jun 01 15:28:51 but it's a bit of a mess... Jun 01 15:29:08 cool, but how does one start contributing? Jun 01 15:29:12 is there a page? Jun 01 15:29:17 I could read? Jun 01 15:29:34 http://s.android.com/source/index.html Jun 01 15:36:46 Hi all. I have a debug unsigned APK that runs fine on my Nexus 4, but wont run on another Nexus 4 (starts then shuts down). I don't have access to the second device... is there anything common that might cause this? Does USB Debugging Mode have to be enabled on the other device to run unsigned packages or some such Jun 01 15:37:44 hmm Jun 01 15:37:52 most devices won't run unsigned packages at all Jun 01 15:38:02 Can a javaScript interface be bi-directional? mean I can fire a js function. Jun 01 15:38:16 wait, unsigned, or debug-signed? Jun 01 15:38:23 well... I don't know if its 'unsigned', but I dont have an explicit key Jun 01 15:38:39 if you build debug, it's still signed Jun 01 15:38:40 anyone here have esperiance with otto bus? i do not know if my issue is related to the bus it self or not. or if it is related to andengine. Jun 01 15:38:56 Okay, then its the default debug-signed APK I'm assuming Jun 01 15:39:10 you can create unsigned APKs with eclipse Jun 01 15:39:15 which won't run anywhere Jun 01 15:39:26 so make sure you signed it with something when you exported it :) Jun 01 15:39:45 there was an issue a while back, because the default debug keys had been created with something like 2-3 years of validity, and the early ones were starting to expire Jun 01 15:40:00 Hello, just noticed that Admob has changed their payment methods, as they aer owned by Google thought I’d give this channel a try in case anyone knows Jun 01 15:40:16 Does the drop of the PayPal payment method also affect the USA and other american countries? Jun 01 15:40:32 Or is this only in Europe/Scandinavia where I registered my account? Jun 01 15:41:10 I'm using a third party tool (Qt) to generate the APK. Can I determine from the APK itself whether or not its unsigned? And if it *is* unsigned, why would it run on my device? Jun 01 15:43:20 http://pastebin.com/kgWwA7Qu Jun 01 15:44:05 Is volley good for high res, single image downloads? Jun 01 15:44:07 if anyone have experialce with otto bus some sugestions would be great. Jun 01 15:45:27 fanno: you have a subscriber to the PreSolveEvent yes? Jun 01 15:45:33 correct Jun 01 15:46:03 and i have verifyed that it is working by adding log.e's inside itand the code is executed aswell.. Jun 01 15:48:56 tnzr: i did something like this. http://pastebin.com/jahwxhfU Jun 01 15:49:17 result are in buttom of the paste showing you how the log looked Jun 01 15:49:57 canurabus, it can run on your device if you have allowed your device debugging mode Jun 01 15:50:02 so it can install untrusted sources Jun 01 15:50:10 meaning, when you are in the phase of development Jun 01 15:50:45 I'm pretty sure if you can install it, you can run it Jun 01 15:50:45 tnzr: u am wondering it it has something to do with contact should be final or something but i have tried different combinations with out any changes Jun 01 15:51:42 fanno: What subscribes to PreSolveEvents? Jun 01 15:51:43 So enabling usb debugging mode will let me install and run unsigned packages? Jun 01 15:51:48 that's true Jun 01 15:51:58 how else are you going to see what you've been coding?.. Jun 01 15:52:09 it will be signed, but not with a production key. with a dev key Jun 01 15:52:16 so "unsigned" Jun 01 15:52:18 canurabus: if Qt is building unsigned packages, you should be signing them yourself... that should be documented Jun 01 15:52:34 Well given that I can run the packages fine on my device it means they're signed Jun 01 15:52:40 (according to what you guys are saying) Jun 01 15:52:44 with a debug key Jun 01 15:52:46 tnzr: playet sprite and "action" sprites Jun 01 15:52:48 not a production key Jun 01 15:52:58 *player Jun 01 15:53:05 you can't upload it to the store, for example Jun 01 15:53:05 Okay, why would that matter if I wanted to run it on another identical device (that was able to successfully install it)? Jun 01 15:53:32 it wouldn't matter, any device can run apk's signed with debug keys Jun 01 15:53:42 Right, I'm aware ... its not a production app. The issue is that it runs on my Nexus 4 but not on another one. Jun 01 15:53:54 the other doesn't have debug enabled, then Jun 01 15:54:14 Is volley good for high res, single image downloads? Jun 01 15:54:26 So USB debugging needs to be enabled to run an application signed with a debug key? Jun 01 15:54:38 to run an application. Jun 01 15:54:43 from Eclipse. Jun 01 15:54:52 tnzr the buss is ThreadEnforcer.ANY do this affect anything? Jun 01 15:55:00 which HAPPENS to be signed with a debug key Jun 01 15:55:10 But the other device is just trying to run an APK, not using Eclipse Jun 01 15:55:30 dude Jun 01 15:55:30 fanno: honestly I'm not sure, i've never used anything but the default Jun 01 15:55:32 canurabus: afaik only to install it from eclipse. Jun 01 15:55:41 enable debugging Jun 01 15:55:42 that's it Jun 01 15:55:45 fanno: i question whether your problem has anything to do with Otto Jun 01 15:55:50 you're reading too much into it Jun 01 15:56:00 1. I create an APK. It installs and runs fine. 2. I send APK to someone else with another device. It installs but doesn't run. Jun 01 15:56:24 what do you mean doesn't run Jun 01 15:56:30 it starts up and shuts down Jun 01 15:56:34 then that's your code Jun 01 15:56:39 if it installs, it runs Jun 01 15:56:41 tnzr: i am not saying it has anything to do with the otto. all i can tell is that if i do the code outside it works. but not if it happens throw the otto call. Jun 01 15:56:46 okay well ive mentioned that several times now Jun 01 15:56:54 Leeds already told you Jun 01 15:56:58 fanno: oh Jun 01 15:57:06 [18:50:45] I'm pretty sure if you can install it, you can run it Jun 01 15:57:13 if you can't, its your code Jun 01 15:57:43 okay, ty Jun 01 15:58:01 tnzr: but what confuse me is is i dont see how any of this should matter. what is returned suggest that otto is working but it is not at the end =/ Jun 01 15:58:03 Try to get an Logcat Log from the devices where it is not working Jun 01 15:58:34 fanno: what happens when you use ThreadEnforcer.MAIN ? Jun 01 15:58:50 Jakouf, unfortunately its a native application, so its not really trivial to do that. I'd need to modify the application afaict. Jun 01 15:59:18 not what he meant Jun 01 15:59:19 But its fine if its my code, I can iterate back and forth with the other person... just wanted to be sure some trivial setting wasn't the culprit Jun 01 15:59:55 if they are technical, have them launch Monitor from the Android SDK and run the application with the phone plugged to the computer Jun 01 16:00:00 logs will show why it crashes Jun 01 16:00:05 I had same issues... I added Boost.Log to the application and made a LogCat backsink for it, so everything will be logged in LogCat Jun 01 16:00:40 tnzr: i curently cant do that when i register the "listener" it happens in none main thread and there for throws exception Jun 01 16:01:07 hmm Jun 01 16:01:08 but if its a native thing, could it be that the other devices doesn't support the dynLib or could it be that the .so is not in the apk Jun 01 16:01:19 maybe an architecture thing Jun 01 16:01:48 Jakouf: I think it's the same model device in canurabus' case Jun 01 16:01:50 Shouldn't be arch because devices are the same. But getting the other persons logcat output seems to be the best place to start Jun 01 16:02:15 ok, but is the lib in the apk or is it a lib that was installed by an other application Jun 01 16:02:31 its a self contained apk with everything required in it Jun 01 16:03:05 try to check if the lib is in /data/data/yourpackageidentifier/libs/ Jun 01 16:04:24 if the lib couldn't load you will have problems to get the Android Logcat Jun 01 16:05:54 you can caught the exception from System.loadLibrary() Jun 01 16:07:41 tnzr: i could propearly make changes what would mean i could register it in main thread but it would require alot of rewrite. and just to test that would be alot or work Jun 01 16:11:35 tnzr: hmm i think i miss read the debuggin the first time. Jun 01 16:11:36 http://pastebin.com/gLZV3pT3 Jun 01 16:12:19 it looks like the post is executed "later". Jun 01 16:13:03 i missed tihs because in my vfirst debugging i did not number the tags 1 and 2 Jun 01 16:16:07 tnzr: this would indicate i would need to use some other find of bus ? that calls "direct" ? Jun 01 16:17:43 http://pastebin.com/jyATMFW2 bluetooth low energy question, too long for a one-liner on irc Jun 01 16:18:21 That is the advertisement data and the iOS dictionary key. looking for the same thing in android, but it's just bytes Jun 01 16:18:42 Lord knows I'm a voodoo child.. Jun 01 16:18:53 Lord has quit.. Jun 01 16:19:01 now no one will know Jun 01 16:30:50 Is there an easier guide for automatic location detection (without GPS)? The official guide is confusing. :( Jun 01 17:28:38 How can I add drawables specifically for tablets or phones? Jun 01 17:29:38 if primitive variables cant be null Jun 01 17:29:42 what value does an int have Jun 01 17:29:49 when i declare it without assigning a value to it Jun 01 17:29:52 ? Jun 01 17:30:08 jvrodrigues: 0 Jun 01 17:30:17 ah, makes sense, thanks Jun 01 17:30:27 jvrodrigues: might be worth a double check though Jun 01 17:30:28 what about booleans? Jun 01 17:31:04 false Jun 01 17:31:11 thanks Jun 01 17:31:22 http://docs.oracle.com/javase/tutorial/java/nutsandbolts/datatypes.html <-- Default Values Jun 01 17:59:27 i'm trying to figure out how to stretch a girdview of buttons to fit the screen. i am trying to get the screen size with FrameLayout FL = (FrameLayout_gridView.getParent(); and then FL.getMeasuredHeight(); but I always get zero. Jun 01 18:01:58 hi Jun 01 18:02:00 I am making a quiz game. it will have a vs mode and a mode where you can create X players and then you read the answers out loud and the player in turn have to guess (so you have 1 phone and several players) and you fill in his/her answer. Now for the latter, I dont need a backend and I will start with this (probably). What would be the best way to represent a question with 4 choices and Jun 01 18:02:01 one right answer. I need to get this right the first time since there will be a lot of questions I have to write and dont want to rewrite them. Jun 01 18:02:19 preferrably they should be easy to stick into a database as well but that is secondary. Jun 01 18:04:26 i have some content that are small paragraph , but are more than 100 node Jun 01 18:05:08 what is best approach to store and show them on app Jun 01 18:05:26 Define best... Jun 01 18:07:44 i want easily read data show in listview or gridview Jun 01 18:08:25 i want content that may have html tags show well to user Jun 01 18:08:59 flan3002: is that what you want to know ? Jun 01 18:09:52 How... dynamic does it have to be? Jun 01 18:14:20 no , they are static contents Jun 01 18:14:53 save one time on develop process and read on listview Jun 01 18:16:54 You can always put them in an xml resource file and earn the translation mechanism for free. Or use a normal text file. Then read, split and make an adapter. You can the use Html.fromHtml to convert the html to spans. Jun 01 18:17:37 Is there a way to send javascript commands to the webview? I mean force it to run some javascript commands from java Jun 01 18:18:47 flan3002: thanks Jun 01 18:19:40 yoavst: Have you googled that? http://stackoverflow.com/questions/4325639/android-calling-javascript-functions-in-webview Jun 01 18:20:40 But is there a better way (e.g method)? Jun 01 18:20:49 Define better. Jun 01 18:20:58 If that one works, what's wrong with using it? Jun 01 18:26:45 hi, I changed the name of my package and when i build project the class R is created in the old package. How Can I fix it? Jun 01 18:28:39 any help? Jun 01 18:28:41 please Jun 01 18:31:01 canvs2321, Jun 01 18:31:04 are you there? Jun 01 18:34:52 hi, I changed the name of my package and when i build project the class R is created in the old package. How Can I fix it? Jun 01 18:34:57 any help? Jun 01 18:39:30 veritto: R is build into the package which is defined in your AndroidManifest.xml Jun 01 18:59:40 i'm trying to getHeight() & getWidth() of my only View, which is set to match parent, and i keep getting 0's. i'm trying this in onStart() now, previously tried onCreate, but maybe i'm still at the wrong point in the lifecycle? Jun 01 19:01:52 tried onViewCreated? Jun 01 19:02:10 http://developer.android.com/reference/android/app/Fragment.html#onViewCreated(android.view.View, android.os.Bundle) Jun 01 19:15:25 Theres some way to change appcompat name? Every time that I tried change, my main project has some errors Jun 01 19:16:15 can I somehow see how the name of the states are written for my country in the "Address" class? I download the xAL document but no use, it contains the schema. Jun 01 19:17:40 the getAdminArea and getSubAdminArea gives a little bit wrong strings Jun 01 19:18:54 I have to compare the state of the user with a List. So I need to construct the List itself according to the string which getAdminArea gives. Jun 01 19:48:41 Why do I keep getting an Illegal State Exception when I try to add a view to another view? Something about the selected view already having a parent? Jun 01 19:51:08 sounds like one of those errors that means exactly what it says Jun 01 19:51:22 Yeah, but...hold on. Jun 01 19:53:54 sabton: How would I go about adding elements to an android fragment dynamically Jun 01 19:53:55 ? Jun 01 19:59:26 i have a gridView and gridView adapter. i am filling the gridView with buttons, and want the buttons to fill the grid, but they just sit at the top of each cell. i have the cell layout set to match_parent on both the root element and the button, but they don't resize to fill. Jun 01 20:00:50 even in the Design View, the button fills the screen. Jun 01 20:25:57 Would it be a bad to store multichocequestions in json? If I change where I want the questions, in the app or in a database at least I have it in a a format that can be played with easily. Jun 01 20:37:07 assembleRelease is creating an unsigned build Jun 01 20:37:29 and Generate Signed APK creates a debuggable apk despite the manifest property = false Jun 01 20:58:07 anybody here? Jun 01 20:59:29 probably not Jun 01 21:06:39 http://www.brownstory.com/images/just-us-chickens-front-larg.jpg Jun 01 21:20:54 Does anyboy know a good place to find free background images? are there databases for this? I am particularly interested in soccr images. Jun 01 21:21:38 lots and lots of sites for that kinda thing Jun 01 21:22:00 ycomb, you usually have to buy them to use them in your app Jun 01 21:22:03 due to licensing issues Jun 01 21:22:11 double check licenses of the images Jun 01 21:41:16 Do you guys know of a way to make Intellij/AndroidStudio not mark specific portions of code red (wrong)? Jun 01 21:46:10 hmm Jun 01 21:46:16 @Supress flag? Jun 01 21:46:24 I don’t know, maybe Jun 01 21:46:25 @suppresswarnings Jun 01 21:46:35 It’s not a warning but an error Jun 01 21:47:06 Are you trying to suppress them or force a build? Jun 01 21:47:09 Cus a build won't work Jun 01 21:47:11 Building works Jun 01 21:47:21 my logic is flawed Jun 01 21:47:21 But intellij thinks there’s something wrong. Jun 01 21:47:39 The compiler knows better, though Jun 01 22:03:44 assembleRelease is creating an unsigned build Jun 01 22:42:54 hello all I have a quick question Jun 01 22:43:13 42 Jun 01 22:43:30 how do I determine the first install of an app? Jun 01 22:43:39 there would be a setup screen that I would launch Jun 01 22:44:08 but I need ideas on when to launch the setup screen Jun 01 22:44:51 check to see if the settings exist, if they dont, start a configure screen Jun 01 22:48:29 so i says to mable, i says Jun 01 22:49:21 hello. I created a new android app in Android Studio 0.5.2. It just implements the default activity with nothing special. When I try to install/run it on my phone, the phone does absolutely nothing. It claims to have installed the APK, but it isn't actually there, and the app never runs. Anyone know why? Jun 01 22:49:39 read the logs Jun 01 22:49:46 make sure settings lets you install developer apps Jun 01 22:49:59 and make sure its signed Jun 01 22:50:00 logcat output works fine Jun 01 22:50:07 try turning it off and on again Jun 01 22:51:23 bankai_au, what logs? I've looked at all the logs I know of Jun 01 22:51:43 logcat is the only log you need to care about Jun 01 22:52:35 jasonmog, you mean unknown sources? Jun 01 22:52:43 nick9998, turning what off/on? Jun 01 22:53:32 Hello All, I am moving an image using transAnimation. It finishes with transAnimation.setFillAfter(true); (so it stays in place). I'd then like to move it again. What's the best way of doing this while retaining it's current position? I tried using a sleep function but that failed miserably. :) Jun 01 22:53:58 I already read everything I could find over at https://developer.android.com/reference/android/view/animation/TranslateAnimation.html :p Jun 01 22:54:33 hesperaux : have you tried turning it off and on again ? Jun 01 22:54:43 "it"? Jun 01 22:54:47 the phone? Jun 01 22:54:52 developer mode? Jun 01 22:54:52 anyways your app is special Jun 01 22:55:02 dont say that Jun 01 22:55:31 every app is special in its own way Jun 01 22:57:30 bankai_au, logcat is going ten miles a second here, but around the time I push the apk, i see a coredump of the dalvik vm and some java.lang.system exceptions Jun 01 22:57:38 nick9998, i have no idea what you're saying Jun 01 22:58:21 hesperaux: you're going to have to filter then, your answer will be in the logs Jun 01 22:58:31 without even looking at it it's probably SDK version related Jun 01 22:58:33 i haven't deliberately created a certificate or signed the apk yet. I am new to android studio. Do I have to do this specifically? Jun 01 22:59:00 hesperaux : no it's fine guy Jun 01 22:59:07 no, the default behaviour is to sign with the debug key, this is fine for emulator and device deployment Jun 01 22:59:17 hesperaux: for turning off and on he is referring to the phone. For logcat, AS will allow you to filter out things produced by your app (package name) Jun 01 22:59:17 hella-fine Jun 01 22:59:40 Thorbear, i'm not filtering by the app because the app never runs. it produces 0 output Jun 01 22:59:58 i do see the dalvikvm raging very hard when the app tries to execute though. I'm pretty sure it's related to my app Jun 01 23:00:08 bankai_au, ok good to know Jun 01 23:00:55 hesperaux: 1) filter by app, 2) don't ignore the exceptions Jun 01 23:01:33 hesperaux: or filter by log tag at least Jun 01 23:01:58 hesperaux: though I don't know all that will be relevant to you Jun 01 23:02:17 (also, tell your manufacturer they need to cut down on the log spam, it's annoying and wasteful) Jun 01 23:02:26 That the app doesn't appear on the screen doesn't mean your code isn't touched, if there is nothing in logcat with your package name, then ok, look for exceptions around the time to tried to run the app. Jun 01 23:02:49 Also, have you tried running it in the emulator? Jun 01 23:02:50 zinx, when i filter for my app with verbose log level 0 lines appear Jun 01 23:03:17 i'll try the emulator now. i'm betting it will work Jun 01 23:03:28 hesperaux: make sure you use the x86 one :P Jun 01 23:03:45 (ARM emu is slowww on x86 machines) Jun 01 23:03:48 i can see in logcat that my application thread ("main" is what I called it) is dying extremely hard Jun 01 23:04:01 hesperaux: the exception should give some hint as to why Jun 01 23:04:02 zinx, i didn't realize that was possible. nice Jun 01 23:04:43 hesperaux: but from what you've said, an error in layout.xml caused by missing class sounds likely Jun 01 23:05:37 hesperaux: of course, anyone would need the full exception dump/backtrace to determine what the cause is Jun 01 23:06:04 don't know how that's possible. I created a default app with absolutely no changes using the wizard Jun 01 23:06:56 hesperaux: paste the exception(s) somewhere if you don't know what they mean Jun 01 23:07:03 hang on - i'm trying to make sense of the logcat Jun 01 23:07:56 it could be trying to use a new theme by default that doesn't exist in the version of Android on your phone, for example :/ Jun 01 23:08:49 k Jun 01 23:09:20 i'll paste unfiltered log output starting within 1 second of installing the app from android studio. I keep seeing this stuff every time I run it. Jun 01 23:09:29 k Jun 01 23:11:06 http://pastebin.com/XFzjXfi6 Jun 01 23:11:08 =/ Jun 01 23:11:41 this is a custom rom with the xposed framework installed. i'm suspicious of it Jun 01 23:12:18 yeah, that could be a problem Jun 01 23:12:29 how did you create your project? which option did you use Jun 01 23:12:43 it looks like it may not be including a reference to the standard android framework Jun 01 23:13:39 on the main dialog, i accepted the defaults for the target/compile/minimum sdks, and also added support modes: gridlayout, fragments, navigation drawer, and action bar. I told it to create a blank activity Jun 01 23:13:54 and i implemented no additional features in the activity it created Jun 01 23:14:39 which IDE are you using? Jun 01 23:14:42 NeedGod.com Jun 01 23:15:11 Hail Satan? Jun 01 23:15:45 Nilium : dont mind if i do! Jun 01 23:15:55 zinx, Android Studio 0.5.2 Jun 01 23:16:04 booting up the AVD now Jun 01 23:16:18 hmm i should familiarize myself with that at some point Jun 01 23:16:35 zinx, this is my first time using it too. used to using eclipse ADT Jun 01 23:16:46 btw, a brand new app from eclipse did the same thing Jun 01 23:17:17 btw i don't have the x86 emulator apparently Jun 01 23:17:21 hesperaux: hmmm yeah, i would except it's an Xposed thing then, because the IDEs should be warning you that there's no library to link to Jun 01 23:17:30 hesperaux: yeah, you can install it with the AVD manager Jun 01 23:17:33 or SDK manager Jun 01 23:17:54 hesperaux: it may be called "atom" or somesuch idk Jun 01 23:18:38 and with android studio you'll probably want to access the sdk manager through its menus, not through the default sdk installation Jun 01 23:18:42 atom/x86 are pretty much the same thing :/ Jun 01 23:19:30 Thorbear, i opened the sdk manager from it just now Jun 01 23:19:47 i'm installing the x86 images/platform Jun 01 23:19:49 i'm assuming after that they'll be available Jun 01 23:20:01 should be, yes Jun 01 23:20:48 it's official. my phone is jacked up somehow Jun 01 23:20:58 xposed most likely :P Jun 01 23:21:00 the app loads fine in the emu Jun 01 23:21:04 install a rom that's not crap Jun 01 23:21:06 * hesperaux sighs Jun 01 23:21:16 i've heard that from people here for every rom I've tried Jun 01 23:21:29 this one was running very well for a while Jun 01 23:21:33 just recently it got very slow Jun 01 23:21:34 maybe stop trying ones with xposed Jun 01 23:21:43 this is the first one i've tried with xposed actually Jun 01 23:21:46 ;-D Jun 01 23:21:53 i guess i'll go to android-root and ask for a good recommendation Jun 01 23:22:23 i could uninstall xposed - maybe that would help. i really like having the system download speed in the status bar though Jun 01 23:23:10 i can only recommend CyanogenMod Jun 01 23:23:17 only one with decent quality control. Jun 01 23:24:03 sigh Jun 01 23:24:12 problem with that is i'll lose touchwiz kernel stuff Jun 01 23:24:40 anything with touchwiz is going to have terrible quality control, because it's just hacked together from random binaries :/ Jun 01 23:24:42 i like the AOSS roms but I can't deal with them. Usually some important drivers are buggy/missing Jun 01 23:25:11 this was the first rom I was happy with, until very recently. It worked for months, not weeks or days like others Jun 01 23:25:13 brb Jun 01 23:28:48 hey guys, i'm away! Jun 01 23:28:59 i'm also a big fat phoney!! Jun 01 23:44:22 Hey guys, I'm trying to use binder to talk to another application. I defined an aidl and I get the callback, but when I try to call the aidl-defined function I get 'Binder invocation to an incorrect interface'... but the interface is definitely not different.. what gives Jun 01 23:44:46 do each instance of the aidl have their own package name at the top of the file? Jun 01 23:47:47 Hey Jun 01 23:48:02 Is there a good carousel/coverflow jar I can use with an Android project? Jun 01 23:51:08 viewpager does an OK coverflow Jun 02 00:32:52 anyone ever tried adding a drawer style view directly to an activities window manager Jun 02 00:45:46 ugh, getting a Sim in Japan is a pain in the ass Jun 02 00:47:48 you can get softbank ones at the airport Jun 02 00:51:32 They won't give you a Sim unless you have a Japanese phone or an iPhone Jun 02 00:51:40 They require a conformity logo Jun 02 00:51:54 I can't believe there isn't an app to cheat it Jun 02 00:55:22 hello question: does javascript in a webview stop when another intent such a camera comes to the forefront? Jun 02 01:06:41 hello question: does javascript in a webview stop when another intent such a camera comes to the forefront? Jun 02 01:17:01 I had an app on Play Store targeting API 4, now I publish the new version targeting API 14. Will the users below API 14 still see the old version, or the won't? Jun 02 01:18:07 I mean will API <14 still be able to download the old version? Jun 02 01:23:14 hesperaux: you gotta install the USB drivers for your device, enable USB debugging and allow installation of non verified apps Jun 02 01:23:40 done, done, done Jun 02 01:24:27 which device ? Jun 02 01:24:52 it's a SGH-T889 Note 2 Jun 02 01:25:17 running JediRom on it Jun 02 01:51:36 does javascript in a webview stop when another intent such a camera comes to the forefront? Jun 02 02:01:28 surely that's an easy thing for you to test Jun 02 02:03:56 I have generated a Google Maps API key and supplied the SHA1s of my debug and release keystores. However, the map only displays using the debug keystore. Why could this be happening? Jun 02 02:05:30 Does it take long for the API key to allow a second package? Because I have been using the debug one for a while but only added the release SHA1 about an hour ago Jun 02 02:05:30 are you testing on the same device? sometimes when you're reinstalling the same app and resign it with another key android cache does some funny business with maps. try uninstalling the app, then redeploying Jun 02 02:05:47 oh, then the answer is yes, it can take a while Jun 02 02:07:34 how long bankai? Jun 02 02:07:55 I am trying to get a video run using the whole screen. The movie covers the whole screen (behind navigation and status bar) but so do the controls (using MediaController). I set the fitSystemWindows to true for the Media Controller but I don't see the effect. Any ideas? Jun 02 02:07:59 not sure, been a while since i've played with maps Jun 02 02:08:19 hmm, okay Jun 02 02:08:21 Thanks Jun 02 02:14:08 Does anyone in here know if it is possible to use a Google Play Redeem card to pay the $25 Google developer registration fee? The only option the form ia giving me is credit card and I don't want to put my credit card info in there. Alternatively is there any way to contact Google to ask them. Jun 02 02:30:06 Interesting fails XD https://docs.google.com/presentation/d/1fs-9C0F1sQDAmb8Wb7Z4y_vvM9wfm2gxGqDfYP99jEc Jun 02 02:32:49 SO Jun 02 02:33:04 can I mke my app stay on top of the screen while I'm being called? Jun 02 02:53:59 If i've already written a code that shows a listview and opens a new activity onclick, how hard is it to make this into a master detail flow? **** ENDING LOGGING AT Mon Jun 02 02:59:59 2014