**** BEGIN LOGGING AT Sat Sep 20 03:00:00 2014 Sep 20 03:12:09 Hi Sep 20 03:12:20 I'm trying to add back button to action bar Sep 20 03:12:28 i followed tutorial Sep 20 03:12:58 how do i add the button left to the icon Sep 20 03:13:03 and not to the right? Sep 20 03:17:01 bha pretty sure google search will tell you that Sep 20 03:17:10 it's not a special uncommon thing to what ;) Sep 20 03:18:17 found,, Sep 20 03:18:22 ty Sep 20 03:18:56 what you think about sharedpreferences for login session? Sep 20 03:19:51 bha what you do mean think ? Sep 20 03:20:01 and whats a "session" Sep 20 03:20:32 again these are not uncommon things to want Sep 20 03:20:45 best to learn and make your own mind up based on your own design Sep 20 03:24:12 when user login Sep 20 03:24:32 i want to save his info until he does logout Sep 20 03:24:56 so i also saved when he close the app Sep 20 03:25:24 so basically you are asking "how to save data" ? Sep 20 03:25:43 http://developer.android.com/guide/topics/data/data-storage.html Sep 20 03:25:54 I wouldnt use shared preferences Sep 20 03:25:58 decide whats best for the type, characteristics and amount of data Sep 20 03:26:08 unless you want it to persist over multiple seesions of your app Sep 20 03:27:06 if you want to save password.. ok, but if its a security concern to you, an attacker can get the sharedPrefs on a rooted phone Sep 20 03:27:19 then you have a dumbass client who is also pissed off Sep 20 03:27:49 Trick Sep 20 03:28:07 que? Sep 20 03:28:08 I'm using POST and JSON parsing from mysql db Sep 20 03:28:13 is it safe? Sep 20 03:28:41 that's a weird question Sep 20 03:28:44 and how would you save user session on mobile? Sep 20 03:29:06 well, i'm new to android dev Sep 20 03:29:12 I it's ok Sep 20 03:29:39 you want to save the sql session? Sep 20 03:30:09 yes so user dont have to login each time Sep 20 03:30:45 basically on a rooted phone you can probably assume nothign is safe, you cant do anythign to help those people. If they want to use their same password for everything it's kind of their fault... Sep 20 03:31:06 that being said, sharedPrefs or a SQLite Database would work Sep 20 03:31:14 sharedPrefs would be easier Sep 20 03:31:19 ty Sep 20 03:31:43 how does fb works? Sep 20 03:32:00 i havent looked at the source Sep 20 03:32:03 on rooted phone Sep 20 03:32:09 oh Sep 20 03:32:20 i build social network Sep 20 03:32:27 its probably obfuscated anyway Sep 20 03:32:37 good luck! Sep 20 03:33:01 facebook probably ties your device id to a software key Sep 20 03:33:06 stored in a DB Sep 20 03:33:16 ;p Sep 20 03:33:19 so if you "Clear Data" you have to relog because the DB is deleted Sep 20 03:33:30 the DB that contains your login info Sep 20 03:33:51 if you check the box, it goes into the DB to be used later for login at your splash screen check Sep 20 03:34:33 kk Sep 20 03:35:39 but do check the resource StingRay_ posted. It will help you determine what you need to use where Sep 20 03:41:21 hey I need your guys' input... kind of a poll.. Sep 20 03:41:38 when you create variable names for local vars, not classes Sep 20 03:41:50 what naming convention do you use? Sep 20 03:42:15 ie: var varible_name = ... Sep 20 03:42:23 or var variableName = ... Sep 20 03:42:31 Tricknology whatever i deem fit and relevant Sep 20 03:42:45 far enough Sep 20 03:42:48 fair* Sep 20 03:43:29 or: var variablename = ... Sep 20 03:44:00 camelcase Sep 20 03:44:02 i got some weird problem Sep 20 03:44:03 omg Sep 20 03:44:23 i changed the action bar icons order Sep 20 03:44:26 lol Sep 20 03:44:45 and now they point not to the right activity Sep 20 03:44:54 it's so weird Sep 20 03:45:00 cuz i use IDs Sep 20 03:45:20 i have an app which has a back button Sep 20 03:45:28 oh no nvm Sep 20 03:45:35 LOLOL Sep 20 03:45:42 it has a forward button Sep 20 03:45:54 wat Sep 20 03:46:11 yes Sep 20 03:46:15 its a radio app Sep 20 03:46:22 bha.. when you say IDs.... Sep 20 03:46:24 forward button to quickly go to the player screen Sep 20 03:46:27 what do you mean? Sep 20 03:46:40 why not swipe right? pifon Sep 20 03:47:03 Couldnt hurt to have a button Sep 20 03:47:10 I suppose Sep 20 03:47:14 for something which is integral to the ui Sep 20 03:47:19 has anyone here done any work with the google services user activity recognition? I'm curious if it is like a fitness tracker where you can track how many steps a user has taken. Sep 20 03:47:46 Qubez, I have not but I tried to make my own once Sep 20 03:48:08 Tricknology: guessing you didn't have success? Sep 20 03:48:28 it was somewhat successful but really depended on the user Sep 20 03:48:45 hwo do you dictate what a step is? Sep 20 03:49:07 i have no idea Sep 20 03:49:08 if i jostle my leg while sitting am I going to make a step? Sep 20 03:49:20 it was kinda hard when it came to that Sep 20 03:49:37 but no idea about the services Sep 20 03:49:42 i got 2 buttons Sep 20 03:49:55 with different ids Sep 20 03:50:22 you got skype? Sep 20 03:50:33 we can share screen Sep 20 03:50:42 aah nah, man Sep 20 03:51:03 post here; pastebin.com.. imgur.com Sep 20 03:51:09 use words... Sep 20 03:52:01 I would love to help but for the benefit of the community it's better that you post here Sep 20 03:52:15 brb Sep 20 03:52:25 til: http://en.m.wikipedia.org/wiki/Tesco_Hudl Sep 20 03:53:46 pastebin.com/WsV4VTvy Sep 20 03:53:49 capella-s3 ? Sep 20 03:54:08 didnt know of the brand Sep 20 03:54:18 on the App, when I click on the microphone, the profile activity opens Sep 20 03:54:22 ah, tescos is one of the largest food stores we have here Sep 20 03:54:29 and the other way Sep 20 03:54:33 a supermarket that does everything Sep 20 03:54:39 Trick Sep 20 03:54:43 pastebin.com/WsV4VTvy Sep 20 03:54:44 yah i just read a story in Fortune Sep 20 03:54:46 on the App, when I click on the microphone, the profile activity opens Sep 20 03:54:48 and the other way Sep 20 03:55:19 behind only walmart Sep 20 03:57:02 capella-s3 when they first announced they would release a tablet, I though great, frozen veg, some sausages oh and look a tablet… but it's actually not bad Sep 20 03:57:16 heh :p Sep 20 03:58:01 "hudl... it's a thing!" Sep 20 04:01:05 StingRay_ http://scotthurff.com/posts/how-to-design-for-thumbs-in-the-era-of-huge-screens Sep 20 04:02:18 g00s yeah, is this not pointing out what I keep saying ? and the reason I dont use silly actionbar or google conventions ? Sep 20 04:02:37 cause using my phone is mostly for me a 1 handed thing… mostly Sep 20 04:03:04 but yes, liked the addition of what ios has done… it's just common sense design Sep 20 04:04:00 I still dont get why google has not done this, and also android does not cater for left handed use Sep 20 04:04:12 * StingRay_ will be baffled for a while I think Sep 20 04:07:28 g00s are you on a diff channel to me with AS ? I have not had an update ? Sep 20 04:07:36 you mentioned a huge one yesterday Sep 20 04:07:56 StingRay_ reading this, i get the impression the comfort zone depends on the type of grip required for each size device Sep 20 04:08:13 the iphone 6 and 6+ have different shape comfort zones Sep 20 04:08:14 g00s indeed but in design you have a safe op margin Sep 20 04:08:27 that you base of anatomical research data Sep 20 04:08:54 yeah, i dunno - hands vary greatly in size Sep 20 04:08:55 and focus tests, there are companies that do all sort of product use testing here Sep 20 04:09:10 g00s less so that you may think Sep 20 04:09:25 cause the mind notices difference more than it does similarity Sep 20 04:09:36 but this AS update ? what version you on ? Sep 20 04:09:43 0.8.11 or something Sep 20 04:10:03 0.8.9 hmmm Sep 20 04:10:09 thats beta / dev Sep 20 04:10:18 canary is .11 Sep 20 04:10:19 oh right, yeah I will stick with stable Sep 20 04:10:27 is anything stable :| Sep 20 04:13:32 I guess, anything worth having in bleeding edge updates / Sep 20 04:16:00 i'm still skeptical any single "thumbable" design can accomodate large populations. in hand anthropomometry you will see differences of up to 2cm between hand length between males of the same ethnicicty; men and women have different size hands; people with arthritis again - very different Sep 20 04:16:49 g00s yes, true but thats not what you target …thats a broad population base Sep 20 04:17:08 and thats not the point of a product with a specific or target use demographic Sep 20 04:17:32 but this is industrial/product design chat… not really android :) Sep 20 04:18:01 but still the average teenage japanese male will have a different hand shape than the average european male Sep 20 04:18:20 yes indeed Sep 20 04:18:35 so, for this to work very well, the UI needs to be calibrated for each person Sep 20 04:18:47 they may need to swipe with their thumb, an arc Sep 20 04:18:58 which would impact the spacing of widgets there, etc Sep 20 04:19:31 again, you dont target the design of a product to…the human population Sep 20 04:19:32 just make a thing where the user swips a couple times and generate the widgets to fit Sep 20 04:19:34 :) Sep 20 04:20:57 anyhow, i have artritis in my left hand from playing 12 string guitar, so i use 2 hands ;) Sep 20 04:22:08 (and i donated my guitar ;) Sep 20 04:22:29 * StingRay_ could not understand the local apple store having queues midnight all the way to 8am and hundreds of people Sep 20 04:22:50 ahh is that why people were lined up at the att store across from my work? Sep 20 04:23:21 there should be some natural order/controlling element that show that nature still has evolutionary control :) Sep 20 04:23:22 did they release the new phones today or something? Sep 20 04:23:46 i used to think it was stupid too; but i wonder now if its more a social exercise camping out with like minded people, going through some ordeal = cohesion Sep 20 04:24:07 maybe Sep 20 04:24:08 mob psychology Sep 20 04:24:18 people do that at REI when they have those mega sales Sep 20 04:24:32 so its not uniquely apple Sep 20 04:24:33 but REI has cool shit Sep 20 04:24:36 to get lost in a product ….what in life are you missing ? and maybe it is good to hand with other people missing the same kind of things Sep 20 04:24:41 lasserix ha ! Sep 20 04:25:00 i once bought a pressurized espresso maker for camping ;p Sep 20 04:26:11 hey, if you are ever homeless - make the camp good coffe in the morning , and everyone will be your friend and watch your crap Sep 20 04:26:49 if it comes to that just rent one of those storage spaces off the side of apartment complex Sep 20 04:27:14 but yeah that is a good tip ;p Sep 20 04:28:09 how different is android app dev to any other platforms ? I ask cause besides design of either console games or VFX software, I have no experience as a dev in anything else Sep 20 04:28:32 imho its totally different Sep 20 04:28:57 at least at the java level Sep 20 04:30:06 in what way though Sep 20 04:30:23 I have heard this from a few people, just have little idea what it actually means Sep 20 04:30:44 i don't know of any platform that has an analog of the android components and their complex lifecycles. yeah in iOS you have some lifecycle, but nothing anything like this Sep 20 04:31:52 in blackberry, writing an app is like writing any desktop app. it starts and stops. Sep 20 04:32:11 you make threads, if you want the app to hand around you mark its process as a daemon, etc Sep 20 04:32:25 *hang Sep 20 04:32:44 huh, that seems nice Sep 20 04:35:00 imho, one of the greatest parts about android - how the resource system works - didn't go far enough. imagine context including, but not limited to the various qualifiers in the res/ tree. imagine being able to arbitrarily make your own, and not only swap resourced but code itself Sep 20 04:35:17 i think if this was really fleshed out it becomes a rule engine Sep 20 04:35:47 context dependency injection :! Sep 20 04:36:22 where android suffers, imho, is that all its components and lifecycles have great complexity, and therefore more entropy. and more bugs, states, etc Sep 20 04:37:57 StingRay_ android IPC is pretty different than any other platform, with ContentProvers, intents, etc Sep 20 04:47:21 desktop apps don't really start and stop Sep 20 04:47:41 not in a multi window setup with multiple event dispatch loops Sep 20 04:51:14 hey yall.. say I want to create an open a DB whereever the /res/raw foler lies... whethere in debug or actually running in an APK Sep 20 04:51:17 how would I do that? Sep 20 04:51:39 i have the path set to /com/project/name/res/raw/db Sep 20 04:51:53 you have to copy it out of your apk Sep 20 04:51:57 before you can open it Sep 20 04:52:45 so it would be the same in an applet Sep 20 04:52:52 your res/raw directory is sitting inside a zip file Sep 20 04:52:57 (roundabout way of asking a java question in here, im worry) Sep 20 04:53:07 but it should work the same way, no? Sep 20 04:53:31 so I would have to specify a path to copy it to.. say the SD card.. Sep 20 04:53:45 or /data/data/myapp/? Sep 20 04:53:48 to your apps private space is fine Sep 20 04:53:51 yeah Sep 20 04:54:12 ok.. but the problem is this is java :X Sep 20 04:54:41 ok, restate what you would like to do - now i am confused Sep 20 04:55:02 i want to be able to write a db file wherever the jar is running, basically Sep 20 04:55:18 whether it's when i press play in eclipse or execute the jar on the server Sep 20 04:55:28 i dont want to specify a static path Sep 20 04:55:35 what's this have to do with android Sep 20 04:56:10 if i want to write a file without using emulator Sep 20 04:56:22 just pure java test case Sep 20 04:56:33 testing only the class, not the activity Sep 20 04:56:47 basic java.. Sep 20 04:58:42 I missed that lecture Sep 20 04:59:55 MyClass.class.getResource("MyClass.class").getPath()+path_to_db? Sep 20 05:04:56 pfn you going to the nyc droidcon ? Sep 20 05:06:18 no, I'm in ca Sep 20 05:15:52 Tricknology: you put it in your assests or raw, then you use a bytestream to cope it as a file into your database directory, which your app has permissions to Sep 20 05:16:43 *if you want to use OpenSqliteHelper Sep 20 05:17:29 woo looks like someone made a library https://github.com/jgilfelt/android-sqlite-asset-helper Sep 20 05:17:50 or http://stackoverflow.com/questions/9109438/how-to-use-an-existing-database-with-an-android-application Sep 20 05:20:13 Alright roomate is gone now can stack 6 moniters Sep 20 05:21:27 Is using interfaces in a web like fashion bad design pattern? I mean, should I try and consolidate the interface assignments? Sep 20 05:30:32 http://www.buzzfeed.com/annehelenpetersen/we-are-all-classists#3f9cfrr Sep 20 05:30:47 ab testing by the creater of tinder Sep 20 05:30:52 "ab" Sep 20 05:31:54 lasserix omg, how can i unsee that 3rd pic on the top ! Sep 20 05:32:19 Gina? which one? Sep 20 05:34:03 ah its different when i reloaded it Sep 20 05:38:18 Religion Matters: unless the subject is attractive and classy heh Sep 20 05:38:36 Ahh man first time intellij crashed out on me Sep 20 05:39:28 Just when i finally figure out how to code the simulation after a week of coders block, sheesh! Sep 20 05:43:19 *for the record it was AS not intellij ;p Sep 20 05:45:41 lasserix interesting read Sep 20 05:53:27 How do i import a gradle android library project into intellij? Sep 20 05:53:35 *into an existing intellij project Sep 20 05:53:43 lasserix oh man, you're still at that ? Sep 20 05:53:48 just use one IDE :D Sep 20 05:53:51 kind of Sep 20 05:54:06 i just tried opening my project i started in AS in intellij Sep 20 05:54:12 but it lost my other library project Sep 20 06:07:16 Is the as traceview interface limited? i dont see a bunch of the metrics from the ddms one Sep 20 06:14:54 lasserix which versions of each? i tried that last about a month ago, but AS was far enough ahead of IDEA in terms of android plugin support that a lot of stuff broke Sep 20 06:15:09 i ended up re-importing the project from scratch via idea Sep 20 06:20:24 lasserix does this help ? http://tools.android.com/tech-docs/new-build-system/tips (the last one) Sep 20 06:21:22 i was hoping google was going to clarify today the reasoning behind listing our addresses on Play (for paid apps) Sep 20 06:21:36 or explain why, or whatever Sep 20 06:26:01 whoever told me that writing 18000+ entried to a DB would be faster than adding to a HM lied to me Sep 20 06:26:06 g00s thanks yeah Sep 20 06:26:33 sarbs 8.9 and 13.03 Sep 20 06:26:53 just didn't have anythign but incluse/excluse time Sep 20 06:26:56 Tricknology i definitely didn't say it'd be faster than adding to a hashmap Sep 20 06:27:09 i said it'd be faster than reading it from the network and scraping it, each time Sep 20 06:28:02 i told you that RAM storage (hashmap) would be thousands of times faster than using a (presumably disk-based) database Sep 20 06:29:10 lasserix gotcha. i'm using idea 13.1.4 and AS 8.6 Sep 20 06:29:25 well, "using" Studio.. i *have* studio 8.6 Sep 20 06:30:27 haha i'm just giving you shit Sep 20 06:30:41 it's orders of magnitude slower lol Sep 20 06:30:50 would not run on main thread Sep 20 06:30:59 im going to count the time for shits Sep 20 06:31:11 go have a smoke and come back and report Sep 20 06:31:18 then post to git Sep 20 06:31:26 ...12 hrs later.. Sep 20 06:34:44 why are you writing 18000 entries to a hashmap? Sep 20 06:34:52 in an app? Sep 20 06:35:53 he's not, it's a server thing to match up device code names with device info Sep 20 06:36:34 even if you were just throwing boxed primitivies that's getting to be dozens and dozens of mb Sep 20 06:36:41 hmm Sep 20 06:37:08 i think he's he's doing it mainly as an exercise, to see the differences in performance between a sql database and a ram-backed implementation Sep 20 06:37:19 ahh Sep 20 06:37:25 that's not really fair comparison tho Sep 20 06:37:32 db has a lot of overhead Sep 20 06:37:39 you want to use a trie or something to compare in ram not a hm Sep 20 06:38:10 eh, db has lots of overhead but also has optimizations nobody here is capable of even imagining Sep 20 06:38:54 it's apples and oranges to an extreme, but, i can still see how it'd be interesting to do as an exercise Sep 20 06:39:26 yeah i am just curious what he is pushing into these things Sep 20 06:40:10 string keys and string tuple values, if i recall correclt Sep 20 06:40:16 Tricknology? Sep 20 06:40:20 hey ssry Sep 20 06:40:22 whats up? Sep 20 06:40:27 doesn't that blow up the ram? Sep 20 06:40:31 on a phone? Sep 20 06:40:53 its not on a phone lol Sep 20 06:41:09 aaah let me explain.. Sep 20 06:41:37 i want to know what the specs of my users devices are... model number, manufacturer, carrier Sep 20 06:41:53 phone sends that to the back end and it gets stored in DB Sep 20 06:42:03 problem is model number is like SPH-710 Sep 20 06:42:06 hahah thanks for doing something like that realized my crazy memory leak just now Sep 20 06:42:15 not Samsung Galaxy S3 (Sprint) Sep 20 06:42:20 ;-) Sep 20 06:42:41 so i'm parseing the whole list of devices from this link Sep 20 06:42:57 my game loop interpolation render-update delta was going asymptotic...forgot to clear the drawing list before adding them back each frame Sep 20 06:43:04 ahh Sep 20 06:43:11 https://support.google.com/googleplay/answer/1727131?hl=en Sep 20 06:43:22 oh cool Sep 20 06:43:25 that would be useful Sep 20 06:43:43 yeah im going to github it Sep 20 06:44:01 just make sure to put int he readme the stats of your expieriment Sep 20 06:44:05 :) Sep 20 06:44:26 Tricknology so what has android got to do with this ? Sep 20 06:44:35 and why not use GA for it ? Sep 20 06:45:00 in the end it will allow me to pull stats on the devices out there running my app for targeting and support purposes, i need the model name to common name link so that its readable to me... there are liek 10 galaxy s3 model numbers, each carrier has one Sep 20 06:45:27 because GA is bugging the F out in this app. and I didnt know that I could Sep 20 06:45:38 Tricknology i'm curious, how are you pulling the model #'s? curious to see if my devices match up with the model names reported on that page Sep 20 06:45:54 the last guy put a google analytics call on EVERY button push Sep 20 06:46:10 so i get rate limited real quick if my account hasnt been shut down already Sep 20 06:46:19 GA does what you are attempting to, by just including the lib Sep 20 06:46:34 not by actually doing anything Sep 20 06:46:38 lol "yeh yo, I just got the BYD zippers" Sep 20 06:46:51 looooool, thanks StingRay_ :) Sep 20 06:47:12 I think i'll still complete it though Sep 20 06:47:30 i mean, i'm already practivally finished Sep 20 06:47:40 jus tneed to optimise Sep 20 06:47:45 optimise what ? Sep 20 06:47:53 sarbs: what do you mean? Sep 20 06:48:13 SR: like put connect/disconnect in the right place Sep 20 06:48:22 i'm interested to see if the device i have returns the code listed for it on that page Sep 20 06:48:22 not create the database every time i write to it Sep 20 06:48:41 write to the DB in parcels Sep 20 06:48:48 or whatever you call them Sep 20 06:48:54 Tricknology what has any of this got to do with android though ? the database should not exist in android Sep 20 06:48:56 i am doing 1 entry at a time Sep 20 06:48:59 open enter close Sep 20 06:49:09 times 18000+ Sep 20 06:49:15 what Sep 20 06:49:18 use statements foo Sep 20 06:49:18 lol Sep 20 06:49:33 baby steps Sep 20 06:49:35 Tricknology i think you have totally gone off track Sep 20 06:49:36 I got single entry down Sep 20 06:49:41 hehe Sep 20 06:49:44 lol Sep 20 06:49:50 that list of models and devices should not exist on the phone Sep 20 06:49:51 well at least we get some solid research data?? Sep 20 06:49:54 and thus another mad scientist or quack was born Sep 20 06:49:54 for science? Sep 20 06:49:56 it's irrelevant and pointless Sep 20 06:50:03 noooo it doesnt Sep 20 06:50:15 like i said... i think he's doing it as an exercise :) nuttin wrong with that. Sep 20 06:50:20 get model number, send to back end - back end deals with it Sep 20 06:50:27 when i want to run a report then this code runs Sep 20 06:50:58 erm… but you know you should just send model ident to server right ? and thats it Sep 20 06:51:02 it only matches the model number with the common name.. SPH710 to Sprint Samsing Salaxy S3 Sep 20 06:51:17 the report is the relational query/view from a sql server Sep 20 06:51:30 taht is waht im doing Sep 20 06:51:42 so whats all this open close insert 18000 crap ? Sep 20 06:51:56 that's because I didnt thin ahead Sep 20 06:51:59 think Sep 20 06:52:16 I wrote it up and went to run it Sep 20 06:52:35 you mean you were going to have a database on the phone ? Sep 20 06:52:48 very crazy :) Sep 20 06:52:55 my logger looks like http://pastebin.com/vLQ6ssUg Sep 20 06:53:29 lol no way was I going to put it on the phone lol Sep 20 06:53:37 it would be beyone pointless Sep 20 06:53:46 do all that wor, 18k entries just to match 1 Sep 20 06:53:59 so I'm lost, what is a log doing then ? Sep 20 06:54:06 * StingRay_ is soo lost right now Sep 20 06:54:39 looks like it's creating exactly what you say it is not Sep 20 06:55:10 this is not on the phone Sep 20 06:55:18 this is a java applet that runs on the backend Sep 20 06:55:23 when i want to pull a file Sep 20 06:55:28 err report Sep 20 06:55:41 Tricknology please, get off the meth. it'll ruin your life. Sep 20 06:55:42 what ?? Sep 20 06:55:56 open write close 1 open write close 2 open write close 3 Sep 20 06:55:57 I've never done meth :( Sep 20 06:56:07 ... x18000 Sep 20 06:56:38 i realize that now Sep 20 06:56:42 oh this just seems very obsessive compulsive way to go about testing something more or less absurdly informatively useless Sep 20 06:57:02 i might suffer a bit Sep 20 06:57:09 also that would take 5 min to setup and test properly with no overhead on a device Sep 20 06:57:23 like someone breaking down and rebuilding a radio a billion times (which is what breaking bad has taught me that those kind of people do) Sep 20 06:57:29 that is also in GA for free :) Sep 20 06:57:52 but while you're at it why not denormalize the database? Sep 20 06:58:09 no thx lol Sep 20 06:58:22 i dont want to read another howto: tonight Sep 20 06:58:46 on the plus side: doing this has taught me a lot Sep 20 06:58:49 I just set up android studio and am getting this error when it tries to install the sdks: https://bpaste.net/show/336128e18338 . What is revision 23.0.2 and why might i not have it? I just downloaded the most recent version of android studio which said it has the sdk included Sep 20 06:59:03 I wouldnt have otherwise messed with it Sep 20 06:59:06 now I know. Sep 20 06:59:54 bilb_ono read the whole message Sep 20 07:00:27 Any thoughts on CMS services for apps? Good ones? Bad ones? Sep 20 07:00:55 additionally, I keep getting this error: Your Android SDK is missing, out of date, or is missing templates. when I start android studio. I have to go into configure - project defaults - project structure to manually tell it to look in /usr/local/android-studio/sdk and then it stops complaining until it gives that error. then when I restart it I get the same Your Android SDK is missing, out of date, or is missing templates. and I have t Sep 20 07:00:56 o start all over Sep 20 07:00:58 CMS? Sep 20 07:01:11 content management software. so clients can add/remove content to the apps Sep 20 07:01:27 buuyo a database ? Sep 20 07:01:31 StingRay_, which part? I see that Nothing was installed. because it couldn't find that revision right? Sep 20 07:01:46 bilb_ono 'Android SDK Tools, revision 23.0.2' Sep 20 07:02:13 StingRay_, yep I need that. Why wouldn't I have it? I got the latest android studio Sep 20 07:02:14 ok.. so I should make an ArrayList of AndroidDevices, then parse that into an SQL statement and jam the whole thing in there? Sep 20 07:02:15 StingRay_: Mostly. Usually SaaS. Like OneHippo or Contentful Sep 20 07:02:25 how big of a block can it take? Sep 20 07:02:32 bilb_ono download it with sdk manager then Sep 20 07:02:59 Tricknology for what you want you should not be doing any of that Sep 20 07:03:17 Are you referencing GA? Sep 20 07:03:18 you crossing the road by making a bridge to the moon and back Sep 20 07:03:23 no I am not Sep 20 07:03:25 :) Sep 20 07:03:33 ha k Sep 20 07:03:39 you could use GA Sep 20 07:03:57 i understand the metaphor but what are you trying to tell me? Sep 20 07:04:12 is there a better way to add a block of data to SQLite? Sep 20 07:04:24 yes but thats not the point Sep 20 07:04:34 what are you doing touching SQLite ? Sep 20 07:04:40 youre killing me Sep 20 07:04:53 it's easy Sep 20 07:04:56 your wanting to get data on devices right ? Sep 20 07:05:03 this gets sent to a server I presume ? Sep 20 07:05:05 more or less Sep 20 07:05:06 yes Sep 20 07:05:15 so wtf is SQLite got to do with any of that ? Sep 20 07:05:17 lol Sep 20 07:05:35 you internet server runs SQLite ? Sep 20 07:05:36 too lazy to learn redis Sep 20 07:05:43 one of them... Sep 20 07:05:45 your* Sep 20 07:06:04 this is comedy gold! Sep 20 07:06:13 no, no it isn't ! Sep 20 07:06:16 :) Sep 20 07:06:32 StingRay_, when I try and run the sdk manager I get this: https://bpaste.net/show/298a493a8693 permission denied error. Sep 20 07:06:38 not sure if its related Sep 20 07:06:41 well to tell you the truth, yes. its a chemical database with about 500 entries of physical properties Sep 20 07:06:43 it works well Sep 20 07:07:20 what ? Sep 20 07:07:29 so this is nothing to do with devices ? Sep 20 07:07:36 Tricknology i think StingRay_'s incredulence comes from his expected knowledge of the ubiquitous https://www.mysql.com/ Sep 20 07:08:11 mysql seems too clunky for me Sep 20 07:08:15 gmoooh Sep 20 07:08:41 whatever's less clunky. Sep 20 07:08:43 my chemical database is not going to get any bigger, nobody is doing adds Sep 20 07:09:14 sqlite is nice Sep 20 07:09:21 just there to serve up data to a FORTRAN application Sep 20 07:09:41 one record at a time. Sep 20 07:09:45 for certain applications Sep 20 07:10:20 lol, the one record at a time thing is stupid, I know now but I've never had to add more than a few hundred Sep 20 07:11:01 So do I make one really long String sql statement? lol Sep 20 07:11:08 or do unions? Sep 20 07:12:21 we were talking about phone models, then chemicals ... O.o Sep 20 07:12:24 to do what? Sep 20 07:12:34 how to give client id to authenticate google drive android application Sep 20 07:12:36 see he is doing something involving chemicals Sep 20 07:13:07 it was an example Sep 20 07:13:13 I'm a chemical engineer Sep 20 07:13:40 all we took was C++ and that was it, maybe a little MATLAB Sep 20 07:13:55 is manifest.xml java related? should i go to java channel? Sep 20 07:14:13 chettikandathil AndroidManifest.xml? haven't heard of manifest.xml Sep 20 07:14:14 you guys have helped me out a lot, i've been in an dou tof here for about 4--5 years now Sep 20 07:14:20 i appreciate it Sep 20 07:17:27 sarbs, manifest.xml . is that AndroidManifest.xml? the manifest file in the project folder. Sep 20 07:20:24 Tricknology: in the first and probably last if ever android-dev-con you owe the house a round Sep 20 07:20:39 no Sep 20 07:20:46 chettikandathil: that is android specific Sep 20 07:20:46 what is the best development environment for android? Sep 20 07:20:55 that is android's project configuration file Sep 20 07:20:58 netbeans? Sep 20 07:21:06 yes, netbeans Sep 20 07:21:10 lasserix some day i will oblige happily :) Sep 20 07:21:39 * Tricknology whispers Eclipse Sep 20 07:22:04 well its safe to recommend Eclipse since Jake isn't here Sep 20 07:22:15 Tricknology is a foolish person who likes to generate hashmaps hundreds of megabytes in size justbecause so don't take his advice Sep 20 07:22:15 lol Sep 20 07:22:38 lasserix, yes but i am using eclipse Sep 20 07:22:40 I should count how big that thing gets... brb Sep 20 07:22:40 or understand if you do you are taking the path of the demented computer scientist Sep 20 07:23:01 chettikandathil: eclipse is fine but often times intellij turns out to be faster and better Sep 20 07:23:19 its really personal preference, what gets you coding Sep 20 07:23:21 g00s no it's not, i'm here ;) Sep 20 07:23:50 come on guys, eclipse builds are like 10x faster than AS + gradle Sep 20 07:24:06 you just need a very slow computer to see this :) Sep 20 07:24:12 ok guys Sep 20 07:24:18 * sarbs wouldn't know, he left eclipse and the stone ages years ago Sep 20 07:24:48 i'm using AS because of gradle Sep 20 07:24:55 otherwise either is fine for me Sep 20 07:25:02 ... and then i rejoined them a couple months ago and started doing my builds with make Sep 20 07:25:06 ....yaayyyyy.... Sep 20 07:25:19 can any body tell how to give clinet id for a google drive application Sep 20 07:26:03 chettikandathil whats a clinet ? Sep 20 07:26:17 StingRay_ don't be a jerk ;) Sep 20 07:26:20 oh client Sep 20 07:26:46 was not being a jerk…was actually pondering…never heard that before… tis 8am here not slept and have a headache Sep 20 07:27:14 StingRay_ you have to stop that shit Sep 20 07:27:32 sleep deprivation causes permanent brain damage Sep 20 07:27:43 hmmm, maybe, but I get up later an later so it's hard to ..erm… subtract Sep 20 07:28:23 what does you GF think of all this :P Sep 20 07:28:41 sorry guys *client Sep 20 07:28:46 will ask her when she wakes up…. but she is cool about it all Sep 20 07:29:46 hello. if I try to get data from location my app crash and get this error getLatitude Sep 20 07:29:56 chettikandathil I must be pretty tired cause that still makes no sense to me, give client it ? Sep 20 07:30:00 http://paste.ubuntu.com/8385699/ Sep 20 07:31:02 slani what you pasted has no error in it, nor anything related to location Sep 20 07:31:31 Main : Size = 2836 bytes Sep 20 07:32:21 sarbs: ? Sep 20 07:33:00 takes 1.736 s to make the HTTP request, scrapt the data, and put it into a hash map Sep 20 07:33:20 StingRay,for google drive application we get a client id.how to give it into manifest file.xml Sep 20 07:33:23 don't think i was unclear.. the link you gave does not contain an error message that seems relevant Sep 20 07:33:26 well.. a HashMap>> Sep 20 07:33:39 sarbs: yes it is Sep 20 07:33:57 Off-topic pro-tip: Crash Test Dummies is actually really, really good music. For starters try out the The Very Best of the Crash Test Dummies on Spotify, and maybe skip the Mmm-song if you've heard it to death ages ago. Sep 20 07:34:00 if you say so Sep 20 07:34:24 if I'm calling double alti = loca.getAltitude(); I get this error Sep 20 07:34:52 chettikandathil still not sure what you are asking, but read the tutorials all info is there on how to use google drive in your app Sep 20 07:36:30 <_CalLightman_> Hi... can someone tell me how to access already created views by expandablelist adapter ... i need them for drag and drop operation Sep 20 07:37:52 StingRay_,in the tutorials i read they explained about how to get client id but they dont explained how to give it in your application Sep 20 07:38:29 still not following, get client id ? give client id ? Sep 20 07:38:40 and my app uses google drive tonnes :) Sep 20 07:38:53 get from where and give to what ? Sep 20 07:39:54 ok StingRay_ ,then how you give your client id for registering your application in your pogram Sep 20 07:40:37 you still totally lost me…give ? registering what ? you mean my app id to the api access in developer console ? Sep 20 07:40:56 there is api access allowed in api service in dev console Sep 20 07:41:26 get from a project that is needed for registering our application .that project is created in our google drive Sep 20 07:42:10 our appplication need to be register in the google drive Sep 20 07:42:24 ah, I think I follow you, you want your app id ? Sep 20 07:42:47 you generate it by adding the app in the api access entry (for a new app) if I remember correct Sep 20 07:43:01 but all of this is in the tutorials too Sep 20 07:48:36 I wish I could make the Eclipse Console window stop appearing; I just want the LogCat shown. I've changed in the preferences that the Console should never show, even if an error occurs, but it still does =\ Sep 20 07:50:43 Has Google (or whoever maintains the Eclipse ADT plugin) completely seized development on this plugin in favour of this Android Studio thing? Sep 20 07:51:27 Zta I would suspect interns still may work on it, oh and service staff, like cleaners etc Sep 20 07:51:42 I don't trust IDEs that are named "Studio". Sep 20 07:51:46 * StingRay_ really doesn't know Sep 20 07:53:43 Eclipse+ADT is like 90% complete. It was the first Android IDE, so it's popular and basically what everybody use(d). Why the hell start a completely new IDE? I don't get it. Fix the remaining 10% ffs and loose the Not Invented Here attitude. Sep 20 07:54:15 Yeah, I know it's based on IntelliJ, but still. There must have been a substantial overhead. Sep 20 07:54:32 ADT development has effectively stopped Sep 20 07:54:50 mainly because devlepment on eclipse itself has effectively stopped Sep 20 07:55:41 Has ADT been open-sourced? Has it always been? Has anyone taken over? Sep 20 07:56:18 adt's always been open source Sep 20 07:56:31 sarbs: When you say, that "devlepment on eclipse itself has effectively stopped" you mean from google's perspective, right? Sep 20 07:56:31 it's in the tools package of aosp, i believe Sep 20 07:57:14 Not that Eclipse (eclipse.org) is stopped? Sep 20 07:58:11 i'm looking for the specific post but i remember reading a blog from the tools team explaining that they needed several critical, structural improvements in Eclipse itself in order to get where they wanted to go with ADT, and that the development pace of Eclipse was very, very, very, very slow Sep 20 07:58:43 and that JetBrains was, in contrast, *extremely* responsive Sep 20 07:59:16 Of course there were. "Hi, I'm Google. Would you be our new official Android platform?" Sep 20 08:01:59 eh, i can't find the blog post. but it wasn't basically just unresponsiveness to Google's asks. it was the pace in general of Eclipse, or maybe just the Java portion of eclipse, i'm not sure Sep 20 08:02:25 whatever they were referencing, they made specific mention of its progress in general, not just in regard to their needs, being very, very slow Sep 20 08:07:57 Okay. Thanks. Sep 20 08:09:38 java.sql.SQLException: near "'008Z'": syntax error Sep 20 08:09:39 :( Sep 20 08:09:57 im guessint it doesnt know that is a string Sep 20 08:11:39 I'm guessing you have a syntax error Sep 20 08:16:59 near 008Z Sep 20 08:17:06 :^) Sep 20 08:18:24 probably you arent sanitizing your queries or data Sep 20 08:26:25 https://github.com/znwabudike/AndroidPhoneDatabase Sep 20 08:26:31 if you guys wanna play aroudn with that Sep 20 08:26:47 its not complete.. errors out in the SQLite add Sep 20 08:26:59 will finish later Sep 20 08:27:02 night Sep 20 09:02:04 Hi everyone, I'm new to android dev therefore please excuse any obviously apparent questions - forgive me, I know know not what I do ;)....I'm looking for a way wherein my launcher app could launch another third party app onto a particular virtual display, the contents of anything on this virtual display would not be shown on screen but would be recorded to a .mp4 like what screenrecord does....is this possible or down right mad? Sep 20 09:04:13 probably both, but by virtue of the question, leaning much more to mad Sep 20 09:06:04 haha :)....appreciate the brutal honesty ;)....any suggestions on how we can get the probability leaning more towards possible than mad ;)? Sep 20 09:06:33 in the above scenario what do you think would be really impossible to do....also ideally without needing root? Sep 20 09:06:46 on then no Sep 20 09:06:57 really doubt that unless google introduce something Sep 20 09:07:16 I know they have the virtual display overlay in dev options, if that is a sample you could grab that Sep 20 09:08:01 but it's the screen session … how / why would you show what is essentially a touch interactive screen in a virtual space with …. no interaction ? Sep 20 09:08:13 seems very stange Sep 20 09:08:16 strange* Sep 20 09:08:55 any idea on where I could read more on the virtual display overlay dev options?....or what I should google for? Sep 20 09:09:16 well look at dev settings on a device Sep 20 09:09:18 it's htere Sep 20 09:09:21 there* Sep 20 09:09:40 yes, let me clarify, the above scenario is a simplification of what I would like to do as part of my open source project - ebrain.in..... Sep 20 09:10:52 if I could essentially have a third party app on a separate virtual display and record it to a .mp4 (a simplified scenario), I could next try to see how I can VNC just the contents of this virtual displa Sep 20 09:11:34 the idea would then be that the user could do something else on his main screen......but a certain app could be remoted out Sep 20 09:11:52 for what benefit ? Sep 20 09:12:30 to share android software between two devices, the other device may not necessarily be an android device. Sep 20 09:12:40 of course there are better ways to do this Sep 20 09:13:11 you told me what again, not what benefit Sep 20 09:13:24 what would be my reason for doing any of that as a user ? Sep 20 09:15:02 scenario: I want to try out an android app recommended by someone on my windows phone device. Sep 20 09:15:09 play a game for e.g. Sep 20 09:15:58 yeah, I would use his phone to have a play Sep 20 09:16:31 and if he is away someplace, well, the network wont really allow any kind of remote view and touch interaction with any kind of nice low latency Sep 20 09:16:45 but who knows, I am just me :) Sep 20 09:17:51 ideally looking for X Window like behaviour on Android....so like you can have your Linux x-clients used remotely....would love to have this behaviour on Android where the user can continue using his device while someone could also use an app on theirs Sep 20 09:19:28 you are presented with too many tech limiting factors for it to be of use, and very limited actual use given context of the platform Sep 20 09:19:40 hi, what is it called to use for two persons to be able to program one Android project at the same time? Sep 20 09:19:46 so yeah, linux and MU environments with central data systems sure Sep 20 09:19:49 haha.....well a very basic mesh network we tested with Linux and two hops down the app was reasonably usable........though yest your issue is warranted Sep 20 09:20:22 yes Sep 20 09:20:30 linux using utp over tcp is not mobile using wifi over gsm/hsdpa/lte Sep 20 09:20:51 over/or Sep 20 09:21:51 @stingray_ not sure if I understand your comment on linux using utp over tcp is not mobile Sep 20 09:22:05 oh you said you tested on linux ? Sep 20 09:22:08 yes Sep 20 09:22:15 over a network ? Sep 20 09:22:17 linux to linux Sep 20 09:22:18 yes Sep 20 09:22:23 what is "a network" ? Sep 20 09:22:45 over a wifi network....two devices....and then a wifi mesh network with one hop in between Sep 20 09:22:56 and of course a standard LAN Sep 20 09:23:09 of course this has all been using X Window Sep 20 09:23:13 ok so wifi in a control is not like wifi in open Sep 20 09:23:25 and wifi on mobile, also cell data on mobile Sep 20 09:23:29 that was my point Sep 20 09:24:34 but anyways, samsung and teamviewer have done a good job at this Sep 20 09:24:40 ah ok......yes a lot more work remains to be done......right now I'm trying to evaluate that lets consider best case scenario where the network is fairly stable......does the Android platform and the tech allow for this to even happen? Sep 20 09:24:41 for the uses that I use it for Sep 20 09:25:17 jeetug anything is possible, it's just sooo not worth the effort in my eval :) Sep 20 09:42:30 g00s went to bed? sleep is for the weak! :p Sep 20 09:43:30 week* Sep 20 10:21:45 hy all Sep 20 10:22:11 can I make an android bluetooth to provide serial as bluetooth service? Sep 20 10:22:33 I mean if I want to connect to the phone, I want to connect to the serial line of that Sep 20 10:36:19 hey. i have a splash screen with a background image. In that splash it has a connectiondetector to see if the user is connected to the internet. The background image does not show though, just a white screen. When I remove the connectiondetector the background image shows Sep 20 10:36:26 not sure what's wrong Sep 20 10:36:44 somebody? Sep 20 10:38:30 this is my code http://pastebin.com/5DPauKgA Sep 20 10:46:29 how to provide serial port service on android? Sep 20 10:46:33 via bluetooth? Sep 20 10:47:03 are there any serial monitor program what provides this service? Sep 20 10:55:26 MartialLaw what thread are you sleeping there? Sep 20 10:56:41 and, erm...why Sep 20 10:58:31 the splash screen shows relevant information, i want the user to be able to see it before main activity starts... i realize it's the Thread.sleep() blocking the layout from being created Sep 20 10:58:39 would a Timer be better? Sep 20 10:59:04 I dont know what you are doing or wanting so … no idea Sep 20 10:59:11 but seems a bit…erm… bad Sep 20 10:59:55 if the what you call splash is to present info, what info are we talking about ? Sep 20 11:09:27 Hi Sep 20 11:10:15 Is it possible to check if my app licensed through my server? Sep 20 11:11:58 somebody? Sep 20 11:12:21 is there a way to send datas trought serial port to an android device? Sep 20 11:12:24 from a PC Sep 20 11:17:19 it is possible Sep 20 11:17:28 but I have no idea Sep 20 11:19:33 there's any way that I can make Facebook sdk login not to open its acitivty, com.facebook.LoginActivity, and keep the user to wait until the auth window will show up on my activity? Sep 20 11:20:23 because now makes the user to see nothing (he's home screen) until the auth popup is open Sep 20 11:20:33 which is bad Sep 20 11:26:36 MalekAlrwily gonna say, erm is it not your server ? lol Sep 20 11:26:58 Lol Sep 20 11:27:00 I meant Sep 20 11:27:29 Can I get the license status in other way Sep 20 11:27:39 not true or false Sep 20 11:27:48 number or alike Sep 20 11:28:06 no idea what you are asking Sep 20 11:28:30 :| Sep 20 11:29:45 hi there, I have found that two different devices has different names for the bootloader. So, for the one of them, I do "adb reboot bootloader", but that does not work for the other one. How can I know which name is in every next device? Sep 20 11:30:29 Codingfree thats not a question for app dev Sep 20 11:30:54 oh, sorry, which channel is the best to ask for it? Sep 20 11:31:07 thats not an app dev question either Sep 20 11:31:09 lol Sep 20 11:31:15 read title Sep 20 11:31:51 an I thought that #android-root was something related to hardware Sep 20 11:31:56 thanks Sep 20 12:17:31 sup guys Sep 20 12:17:46 is it accepted to have a jquery mobile based app in playstore? Sep 20 12:19:44 well if it's an APK i suppose so Sep 20 12:20:30 SuD: is there a easy way to make my jqm small site wraped in a webview and build a apk? Sep 20 12:21:24 DelphiWorld why not just do a mobile website ? Sep 20 12:21:39 you mean easier than installing an IDE and coding the webview? Sep 20 12:21:42 StingRay_: to distribute it easyly in playstore Sep 20 12:22:00 SuD: not easyer but a way? :P Sep 20 12:22:00 but I mean why attempt to wrap a site in an app Sep 20 12:22:02 * DelphiWorld is newby Sep 20 12:22:05 or even make an app that launches the browser? Sep 20 12:22:07 it's horrid Sep 20 12:22:15 do an app, or dont :) Sep 20 12:22:20 better to include it inside of the app Sep 20 12:22:30 lol :) StingRay_ Sep 20 12:22:40 * DelphiWorld is a blind person trying to be active Sep 20 12:23:20 you mean physically blind ? Sep 20 12:23:31 StingRay_: yes, zero eyes Sep 20 12:24:01 wow, congrats on irc traversal then … cause you comprehend and respond quicker than me it appears Sep 20 12:24:15 thank StingRay_ Sep 20 12:24:24 thank to text to speech + screen readers Sep 20 12:24:38 but still blind or eyes of an eagle… do an app rather than wrapping a site :) Sep 20 12:24:39 though i'm still sad on android for not been perfect for blind people Sep 20 12:25:19 StingRay_: js coding is easyer thant java, and the look of the app is pretty dificult to design for a blind person not like a web site Sep 20 12:25:25 personally depending on the main driving factor, I think all web apps should burn Sep 20 12:25:42 StingRay_: web is the futur ;) Sep 20 12:26:06 please can someone do for me this steps in eclypse? http://developer.android.com/guide/webapps/webview.html Sep 20 12:26:07 web was the future long long ago in the past Sep 20 12:26:13 iphone was originally meant to run only html apps Sep 20 12:26:13 does too many Logs in an app slow down performance? Sep 20 12:26:30 MartialLaw it's an output op so yes Sep 20 12:26:32 MartialLaw: yes specialy in file system situation Sep 20 12:28:35 thnx Sep 20 12:28:48 welcome MartialLaw Sep 20 12:29:28 StingRay_: dean? is this a name? Sep 20 12:30:04 dean is an name yes Sep 20 12:30:25 StingRay_: lol... guess what do "dean" mean in arabic? Sep 20 12:30:42 no idea Sep 20 12:30:49 StingRay_: "religion" :) Sep 20 12:31:29 oh dam, really ? well "the dean" means head of an education institute , or group of clergy Sep 20 12:31:38 lol Sep 20 12:31:46 also there's a family name "dean" :) Sep 20 12:34:12 may someone help me with a web view app please? Sep 20 12:38:34 not sure many do that here Sep 20 12:38:52 we are mostly just proper apps ;) Sep 20 12:46:59 StingRay_: lol please respect my blindness:P Sep 20 12:47:21 StingRay_: my issue is the DESIGN Sep 20 13:01:23 guys may someone H|E|L|P ME? Sep 20 13:02:45 need someone to build me a project in eclypse that include just a web view Sep 20 13:10:28 DelphiWorld think it's more involved than you maybe think it is Sep 20 13:10:41 ? Sep 20 13:11:26 also not sure many use eclipse :) Sep 20 13:11:42 StingRay_: what you use so Sep 20 13:11:48 intelliJ Sep 20 13:12:06 its open source? Sep 20 13:12:23 dont know Sep 20 13:12:26 never looked Sep 20 13:12:51 StingRay_: i cant use any program. for example netbeam is not good for me due to bad accessibility Sep 20 13:14:13 hello. if I try to get data from location my app crash and get this error Sep 20 13:14:15 http://paste.ubuntu.com/8385699/ Sep 20 13:15:23 slani not sure that is related to what you say Sep 20 13:15:52 thats a google experience launcher error Sep 20 13:16:10 if I not retrieve data from location, my app works just fine Sep 20 13:16:14 StingRay_: got a sample app lovely Sep 20 13:16:32 slani yes but thats not related to your app Sep 20 13:16:39 but when I try this double alti = loca.getAltitude(); Sep 20 13:16:45 my app crash Sep 20 13:16:51 and get this error Sep 20 13:16:53 thats the point, like me saying why does this taste so bad, and then whats wrong with this word Sep 20 13:17:05 2 unrelated things Sep 20 13:17:18 where is a problem Sep 20 13:17:35 slani that you can find or comprehend the relevant error is a big problem Sep 20 13:17:40 do that first Sep 20 13:18:35 what can I do Sep 20 13:18:50 is somthing wrong with my device Sep 20 13:19:04 you need to find out the error Sep 20 13:19:11 that line has nothing to do with your app Sep 20 13:19:14 how can I do this Sep 20 13:19:46 really ? this is not a getting started …1 on 1 tutorial channel Sep 20 13:19:49 but I only get this line if I try to get data from location Sep 20 13:19:57 use google/youtube/d.android.com Sep 20 13:20:06 I did this Sep 20 13:20:27 then come back when you learn how to debug and read errors and can ask a proper question Sep 20 13:20:48 ok Sep 20 13:20:51 thanks Sep 20 13:21:48 StingRay_:do you know any good tutorial for debuging Sep 20 13:22:02 google does Sep 20 13:22:43 lol StingRay_ Sep 20 13:22:45 I think you really need to learn how to read logcat though Sep 20 13:22:57 and read the errors that relate to what you are doing Sep 20 13:23:15 but this would be both the very basics of IDE + Android Sep 20 13:23:24 StingRay_: thanks for help Sep 20 13:51:45 Hi Sep 20 13:53:27 How does the following affects the battery? I have a background thread that connects via a socket to a server. I use a handler to periodically check for data from the server. This is done every 10ms. Is this ok in terms of battery usage? Sep 20 13:54:19 amu erm, if the app is supposed to drain the batter as fast as possible Sep 20 13:54:26 then you got a winner there Sep 20 13:55:14 well you could render a huge 3D scene and run GPS with it to speed up the process Sep 20 13:55:39 dont forget an audio stream and have vibrate going constant Sep 20 13:55:45 that will help too Sep 20 13:56:31 amu, anyway, that's a terrible idea, use GCM Sep 20 14:07:54 The thread is connected the whole time btw. GCM is not possible, because it connects to a server in the local network Sep 20 14:08:34 and why is GCM not possible ? Sep 20 14:08:41 And by checking data I mean .available() == 0 Sep 20 14:09:52 GCM is only not poss if you dont have access to google… which would be very odd Sep 20 14:10:01 for mobile devices on android :) Sep 20 14:11:03 Yes, but the app is using standard sockets and the data transfered is larger than 4kb ;) Sep 20 14:11:37 it takes you more than 4KB Sep 20 14:11:45 to tell your app "I have new data available?" Sep 20 14:11:47 wat? Sep 20 14:12:06 rethink your architecture, you can just use GCM to signal "new data available" from server you know Sep 20 14:12:08 amu I dont think you understand GCM Sep 20 14:12:21 and thus avoid murdering the battery by running the radio and ARM without pause Sep 20 14:14:12 Well, data is available every second (its a remote for a music player) when playing. I had the handler check every 250ms before, but it slowed down some functionality. Partial wake lock is also held and the battery wasn't drained much while beeing connected Sep 20 14:14:32 *at least every second, sometimes more Sep 20 14:15:03 hmm, that's a whole nother use-case Sep 20 14:15:17 hi Sep 20 14:15:25 is @android:style/ the (exact) same as android: ? Sep 20 14:15:34 amu, considering the fact that slow wifi network latency can be in terms of 15ms Sep 20 14:15:43 amu, I'd keep polling to 100ms or so and just make sure to buffer enough audio Sep 20 14:15:58 Its a remote, not a stream ;) Sep 20 14:16:40 The player sends every second the new position of the track and sometimes other things (what the user requested for example) Sep 20 14:17:21 to the remote (my app). the player runs on a windows / linux machine Sep 20 14:17:24 hmm, is there a reason why you're even polling at all? Sep 20 14:17:34 why not broadcast UDP packets over network? Sep 20 14:17:41 or have an idle TCP connection? Sep 20 14:17:49 anything that's not gonna transmit needless packets? Sep 20 14:20:52 What I'm basically looking for is a signal that tells me "hey there is some data on the socket". In form of an observer pattern or sth. But from what I read there is none Sep 20 14:21:16 e.g. Qt has a signal for this Sep 20 14:23:04 no such thing in Java API, but the read is blocking. Sep 20 14:23:07 on TCP socket that is. Sep 20 14:23:21 NIO? Sep 20 14:23:33 so spawn a thread, block on socket and send event when data arrives Sep 20 14:23:44 Hi. Anyone knows how I can set specific attributes of my custom view as required? So displays an error (e.g. LinearLayout with no layout_width). Sep 20 14:24:09 Mavrick: Can I create two threads that share the same socket, one for sending and one for receiving? Sep 20 14:24:31 Since reading is blocking, I can't send data to the plyaer Sep 20 14:24:33 amu: better use a timeout Sep 20 14:24:34 *player Sep 20 14:25:29 amu, http://stackoverflow.com/a/12807839/169115 Sep 20 14:25:31 haven't used it, but check out java.nio.channels classes Sep 20 14:26:56 p_l, Mavrik: Whats the advantage over the handler? Can I notify the thread from somewhere else when I want to send data as well? Sep 20 14:27:21 O.o Sep 20 14:27:22 amu: Channels give you ability to check for new data etc. Sep 20 14:27:30 your latest question does not compute... Sep 20 14:27:40 yeah, the latest question is... wierd. Sep 20 14:27:59 Okay, I'll try to explain Sep 20 14:28:12 with channels, you can check for "is any of the observed channels ready for I/O?" in the handler loop Sep 20 14:28:24 I wasn't refering to the channels Sep 20 14:28:57 I was referring to the timeout Sep 20 14:29:25 p_l, hmm, why run a loop when you can park the thread until the channel is ready? Sep 20 14:29:36 Mavrik: well, just an example Sep 20 14:29:51 Mavrik: i was thinking of a thread with Handler loop that also handles NIO channels Sep 20 14:31:10 hmm, yeah that could work Sep 20 14:31:27 When waiting for the timeout in my network thread, can I notity this network thread to do sth. before the timeout expires? Sep 20 14:31:42 p_l: I'll have a look at the nio channels as well Sep 20 14:32:28 amu: hmm... not sure if you can get out of the blocking call this way Sep 20 14:34:12 you can interrupt them Sep 20 14:35:42 I have to go now, but thanks for your help p_l and Mavrik. I will have a look at the nio channels and the timeout funtion as well as using two threads and see which fits best for my application. Thanks! :-) Sep 20 14:40:03 hi in android:shadowDx what is unit? what is the meaning of 1.2 ? Sep 20 14:40:26 http://developer.android.com/reference/android/widget/TextView.html#attr_android:shadowDx Sep 20 14:41:23 xan_IT if the docs dont say I would normally assume pixel Sep 20 14:42:13 StingRay_ how pixel can be float? Sep 20 14:42:59 well not a physical pixel Sep 20 14:43:09 but size in pixels as units can be Sep 20 14:43:34 as I say not sure in this case but yeah, I would test it and see Sep 20 14:56:50 i have done a improvement of arrayadapter for listview, anyone can tell me if it's a shit code or are good idea or already there is famous library that do same? Sep 20 14:59:15 xan_IT are you not supposed to follow that up with a pastebin of some code ? Sep 20 14:59:45 yes, if anyone are intereset Sep 20 14:59:46 :D Sep 20 14:59:51 https://github.com/xanscale/LocalhostToolkit/tree/master/src/localhost/toolkit/widget Sep 20 15:00:41 Hi all. Sep 20 15:00:49 here there is a sample code https://github.com/xanscale/LocalhostToolkitDemo/blob/master/src/it/localhost/heterogeneousList/demo/activity/MainActivity.java Sep 20 15:01:16 I have a question about the Facebook Android SDK, does it have an IRC channel? Sep 20 15:01:56 I want to set drawableTop on a button, but I want to set a maxWidth on the drawable I'm using for the drawableTop Sep 20 15:02:18 I guess I do this by referring to an XML drawable that has a maxWidth and in turn references the bitmap? Sep 20 15:05:02 d0de: i don't think bitmapdrawables support width/height XML attributes Sep 20 15:06:51 alexfu, huh. I guess I should just use a relativeLayout and style it like a button myself, I'm just being really lazy Sep 20 15:07:19 is there a way to find all classes that have unused objects in android studio? Sep 20 15:09:25 MartialLaw: Some IDE-s have the option to search for all warnings of a said type, "unused object" in this case. I don't know if Android Studio in particular has it, though. Sep 20 15:10:12 maybe analyze -> inspect code Sep 20 15:14:05 yes, inspect code will show you that Sep 20 15:16:09 StingRay_ so ? it's shit code? Sep 20 15:17:27 looks ok, not sure I understand the use of the onClick retuns Sep 20 15:17:31 returns Sep 20 15:18:31 the idea is to create array adapter that can manage different type of view easly Sep 20 15:18:54 hence why they have getType Sep 20 15:19:13 but what has that to do with returning a new onItemClick ? Sep 20 15:19:38 I have been up many many hours coupled with not a native programmer…so could be this :) Sep 20 15:19:44 it's do that using a item adapter, each for each item of list. array adapter manager that item that can be different each other Sep 20 15:20:53 still not following :) Sep 20 15:21:26 StingRay_ in that way final programmer just instanziate a number of item adapter (different types), collect in a list and pass to my adapter. that's all Sep 20 15:22:26 getType are automatically managed by my library Sep 20 15:24:13 StingRay_ you create A,B,C that extend HeterogeneousItem, put in a list and pass to HeterogeneousArrayAdapter. library do all other that need Sep 20 15:24:33 what is "all other that need" ? Sep 20 15:25:03 manage of getType, manage of recycle, manage of onclick etc Sep 20 15:26:32 you are well loosing me now, manage ? Sep 20 15:26:41 how are you managing view recycling ? Sep 20 15:26:50 the adapter + listView do that Sep 20 15:28:49 maybe I just dont get it, but I dont see the need :) Sep 20 15:28:55 array adapter need to implement getView that ceck type and convertView Sep 20 15:29:01 yes Sep 20 15:29:26 my library to that automatically Sep 20 15:29:53 what do you mean automatically ? Sep 20 15:30:20 yeah you are loosing me big style here, I can't even see where you use getType Sep 20 15:30:22 lol Sep 20 15:30:32 that the final programmer do not implement nothing for that to works Sep 20 15:31:59 yeah, it's a very simple adapter Sep 20 15:32:06 but you dont do any conditions on type btw Sep 20 15:32:10 from what I can see Sep 20 15:32:25 but too tired now and going to pass out…sleep time for me :) Sep 20 15:33:26 ok bye. if you want tomorrow you can contact me on github Sep 20 15:34:08 you know your not using getType though ? Sep 20 15:34:15 or rather where are you using it ? Sep 20 15:37:15 getType are in HeterogeneousItem Sep 20 15:37:44 getItemViewType in adapter Sep 20 15:43:00 So using google maps api and i get the lat lng point but was wondering what is the best way to get the country name without making a reverse geocode request as it is not unlimited? Sep 20 15:45:16 download a local geocode dn Sep 20 15:45:18 db Sep 20 15:45:33 there are several Sep 20 15:54:23 can anyone help me with this error I am getting when I try and run my android sdk manager? https://bpaste.net/show/b8a0328d56c7 I am using android studio Sep 20 15:54:59 So, any idea where I should ask about the Facebook SDK issue? Sep 20 15:56:45 bilb_ono: Is /usr/local/android-studio/sdk/tools/android an executable? Does it have a permission to execute? Sep 20 15:58:42 ddobrev, it seems like even me trying to go into /usr/local/android-studio/sdk/tools gives a permissions denied error Sep 20 15:59:10 bilb_ono: It may be a permission to read the dir then. Sep 20 16:30:34 Should I create a new logger each time or rather cache one as a field? Sep 20 16:38:45 Hello there! Sep 20 16:40:00 what's wrong with this: https://gist.github.com/cb181539aea9f55dff77 ? Sep 20 16:40:18 I'm getting: "Error:(7) No resource identifier found for attribute 'actionViewClass' in package 'com.example.android.myapplication'" Sep 20 16:40:36 I don't even know why it is using com.example.android.myapplication, where is it? Sep 20 16:45:02 i have 4 imageview's. i added them programatically. i set the layout params programatically but my fourth view does no have the same width (yet has the same height) as my others Sep 20 16:45:25 are names on the android store only for 1 app? Sep 20 16:45:35 meaning 1 app 1 unique name? Sep 20 16:49:22 tyl: i think so Sep 20 16:49:42 how do i reserve a name for my android app? Sep 20 16:50:30 think the package name is what has to be unique, not the actual string representation of your app name Sep 20 16:50:51 tyl: no. there can be 2 apps with the same name. only the package name is unique Sep 20 16:51:13 check3r so com.something.name and com.othercompany.name Sep 20 16:51:21 will both show as name in the store? Sep 20 16:52:01 tyl: no. you will enter a name in the store Sep 20 16:52:53 tyl: afaik you don't reserve, you just publish if the name was not taken before Sep 20 16:53:48 SuD what do you mean publish? does publish submitting the app to the store? Sep 20 16:54:18 yup, just that Sep 20 16:54:23 you can also publish if the name was taken before.. as I mentioned there can be 2 apps with the same name Sep 20 16:54:34 well, pay the developer fee first Sep 20 16:57:53 hello! Sep 20 16:58:00 anyone used http://facebook.github.io/buck/ before? Sep 20 16:58:13 check3r but when i look at the play store i can't find an app that has the same name as another app Sep 20 16:59:18 tyl, just create a developer account and you'll see.. Sep 20 17:01:25 check3r never mind i typed fruit crush and saw several duplicates Sep 20 17:03:45 I want to achieve a perspective transformation to a view. I have tried out a couple of combinations of skew and scale. But I'm not getting correct results. My view should look like this after the transformation : http://www.songho.ca/opengl/files/gl_projectionmatrix03.png Sep 20 17:03:50 Hoe can go about it? Sep 20 17:06:16 you use one matrix Sep 20 17:06:19 to do perspetive Sep 20 17:06:57 hmm, thats one way. Sep 20 17:07:10 can I achieve this using dealing at the canvas level? Sep 20 17:07:41 getMatrix() is not deprecated too Sep 20 17:07:42 just get the formula for the opengl perspective matrix and apply it to a matrix Sep 20 17:07:47 s/not/now Sep 20 17:11:14 napster: http://www.scratchapixel.com/lessons/3d-advanced-lessons/perspective-and-orthographic-projection-matrix/opengl-perspective-projection-matrix/ Sep 20 17:11:30 already there :) Sep 20 17:12:04 Im getting this permission denied error when I try and install the sdk components for my first android studio application https://bpaste.net/show/12e3ab3842f6 as you can see the installer complains about a lack of revision 23.0.2 Im not sure where to get that. and the console outputs that permission denied error Sep 20 17:12:44 that file, source.properties has full rwx permissions on it, so Im not sure why permissions are denied. also, when I try and launch the sdk manager nothing happens. it doesn't give an error or anything Sep 20 17:12:50 lasserix Matrix has a postScale() method. Will that be of any use ( it takes sx, sy, px, py) Sep 20 17:12:52 bilb_one: You run the installer with sudo, right? Sep 20 17:13:24 napster: the perspective matrix is like a scale and a translation (or rotation i cant remember) combined into one matrix Sep 20 17:13:31 you generate a matrix using that formula Sep 20 17:13:43 ddobrev, nope. ill try that Sep 20 17:13:52 lasserix It should be scale and rotation3D Sep 20 17:13:56 then multiply it by the vector represeting the points of your view Sep 20 17:14:11 napster: those are distinct transformations, perspective is a combination of them Sep 20 17:14:41 ok Sep 20 17:15:14 the difficult part will be determing what set of points to use for your view Sep 20 17:15:31 to multiply by the perspective matrix Sep 20 17:15:55 complex stuff Sep 20 17:16:57 oh Sep 20 17:16:59 its easy Sep 20 17:17:03 :) Sep 20 17:17:04 yuou just apply it to the bitmap Sep 20 17:17:12 that represents your view Sep 20 17:17:24 its err, not a bitmap actually Sep 20 17:17:39 what are you doing it by? Sep 20 17:17:53 ? Sep 20 17:18:10 This is for doing a fancy menu drawer Sep 20 17:18:17 let me show you Sep 20 17:19:00 https://d13yacurqjgara.cloudfront.net/users/124059/screenshots/976474/gif2.gif Sep 20 17:19:15 please take a look lasserix ^^ Sep 20 17:19:41 ahh i see Sep 20 17:19:47 cool huh? Sep 20 17:20:14 Hey Sep 20 17:20:15 yeah it is pretty cool Sep 20 17:20:25 so far I'm able to achieve a very similar looking skew transform with a bit of scaling. Sep 20 17:20:40 not sure sliding drawer on bottom is good idea but it looks pretty Sep 20 17:20:40 but, what it lacks is the real perspective. Sep 20 17:20:53 well the hard part is you are working in 2d Sep 20 17:21:14 * napster neither a designed nor good at graphics. :) Sep 20 17:21:20 I've got a text view showing "Height" for a profile - but I'd like to make it so users pick their height when they click it Sep 20 17:21:25 is there an easy way of handling that? Sep 20 17:21:30 RedWraith: what? Sep 20 17:21:34 or do I need to set up my own crazy dialog bit? Sep 20 17:21:35 is data 2 sd really hard to setup, ie not worth it? Sep 20 17:21:51 screwsss: no you just have to check Sep 20 17:21:56 check what Sep 20 17:21:58 RedWraith: click what? the textview? Sep 20 17:22:12 lasserix, I've got an EditText showing the word "Height" that I'd like to populate with values such as "6'1''" or "5'7''" that users get to pick from when they click the text. Sep 20 17:22:17 * screwsss is very computer literate Sep 20 17:22:19 screwsss: whether there is an sd card, whether there is enough space, where you will actually put the files Sep 20 17:22:34 heh well i know that i have an sd card Sep 20 17:22:42 and i defs have enough space after buying a larger one Sep 20 17:22:47 RedWraith: so just you an EditText? Sep 20 17:22:54 in terms of where i put the files i thought that was automatic Sep 20 17:23:15 lasserix, users don't naturally know the format 6'1'' and it's very obtuse to type all those apostrophies anyway Sep 20 17:23:22 thanks for the pointers lasserix, will let you know the progress down the line. Sep 20 17:23:24 screwsss: you'll get the root but you want to dump files in the root dir of the sd card? Sep 20 17:23:36 RedWraith: then you would have to use like number pickeer or something Sep 20 17:23:40 * screwsss has an oldschool phone Sep 20 17:23:45 everything is in the root of the sd card Sep 20 17:23:58 theres really not much fancy shmancy structure here Sep 20 17:24:22 lasserix, I know what a number picker is - what I'm asking is this: is there a better way of handling this, like some standard library or something like that where I can just one line and it's done? or do I need to go through the mess of making a number picker and such? Sep 20 17:24:52 * screwsss might be misunderstanding something about data2sd Sep 20 17:26:42 https://github.com/derekbrameyer/android-betterpickers Sep 20 17:27:29 ^^ RedWraith Sep 20 17:27:32 btw i have an app called link2sd if that helps Sep 20 17:27:38 screwsss: no it really is simple Sep 20 17:27:38 lasserix, thank you Sep 20 17:28:52 is it as simple as apps to sd :P Sep 20 17:28:58 i am running cyano btw Sep 20 17:29:12 i can create this partition using clock work mod apparently easily Sep 20 17:29:39 i with apps to sd was apps and data to sd Sep 20 17:29:43 apps to sd doesnt save you jack all Sep 20 17:29:58 saves you like a couple mb's per app not much at all Sep 20 17:30:06 esp considerin facebooks like 40 mb now Sep 20 17:30:18 thats almost half the free internal space i got on this stupid phone Sep 20 17:30:59 walmart sells a 25$ android 4.0 phone no contract Sep 20 17:32:08 haha cool Sep 20 17:32:09 well guess what Sep 20 17:32:13 * screwsss doesnt live in the US Sep 20 17:33:08 ahh Sep 20 17:33:22 ahhhhhhhhhhhhhhhhhh Sep 20 17:33:23 haven't walmarts infected everywhere tho? Sep 20 17:33:28 not here Sep 20 17:33:32 we do have department stores tho Sep 20 17:33:48 "There are no Walmart stores in Australia but we do have K-Mart which is very much the same, a discount store for various products" Sep 20 17:33:54 https://www.google.com.au/url?sa=t&rct=j&q=&esrc=s&source=web&cd=1&cad=rja&uact=8&ved=0CB8QFjAA&url=http%3A%2F%2Fwww.topix.com%2Fforum%2Fau%2Fsydney%2FTMMTI237E67UEAQ7N&ei=cbodVIbXIY3l8AWA7YFQ&usg=AFQjCNFbvdVxdnJXkswrR6qmYHSFdDkcaw&sig2=Ny390KLdGDNrGD-EY1YyUA&bvm=bv.75775273,d.dGc Sep 20 17:34:04 http://www.topix.com/forum/au/sydney/TMMTI237E67UEAQ7N even Sep 20 17:37:36 is there an ad provider that deosn't require app to be available on google play? Sep 20 17:38:22 www.google.com Sep 20 17:39:10 mrpyo: admob ? Sep 20 17:39:29 www.larabingle.com Sep 20 17:40:29 well there is a problem with that... my app is kinda shady... Sep 20 17:41:11 mrpyo: i think admob doesn't check your apps... Sep 20 17:41:15 I actually got it on Google Play, it even made some cash but eventually got taken down with DMCA notice... Sep 20 17:41:38 well, I'm not sure about that Sep 20 17:41:38 lol Sep 20 17:41:42 mrpyo, shady porny, or shady scammy, or shady piracy Sep 20 17:42:03 piracy, technically I don't host anything... Sep 20 17:42:06 I had an app that was taken down too ;ü Sep 20 17:42:09 but link to it Sep 20 17:42:26 I had WhatsApp in my name Sep 20 17:42:38 still technically violates AdMob ToS Sep 20 17:42:45 Should have called it "What App" :D Sep 20 17:42:52 yes ;) Sep 20 17:43:53 still made about 3000$ in ads, just waiting till 15th to see if they pay me... Sep 20 17:44:00 ;) Sep 20 17:44:35 3k over what time? Sep 20 17:44:48 about 2 months Sep 20 17:45:29 What did you link to? Music, Movies? Sep 20 17:45:35 tv series Sep 20 17:46:33 I may give you an apk if you trust me ;) Sep 20 17:47:51 I have my android connected to my computer and I want to run my programs on that instead of the emulator. Where do I find that in the menu? is that Android Device Monitor? Sep 20 17:48:10 well, I don't think there is an ad provider that doesn't care about copyright laws... Sep 20 17:48:31 read lots of ToSes, didn't found any Sep 20 17:48:35 do i need to trust you? Can just pop it in an emulator and wireshark the traffic a bit :p, but no thx, my series need are satisfied Sep 20 17:49:42 Write to admob ask them :) Sep 20 17:50:06 have an app for movies too (never published it, revenue was good, didn't want to piss off Google any more :) Sep 20 17:50:14 darken: lol Sep 20 17:50:38 especially since they got their own movie app Sep 20 17:50:52 i'd be more worried about trigger happy lawyers coming for you Sep 20 17:51:37 funny thing is Google called me before they took my app down. They wanted to "help me to improve my admob revenue". Sep 20 17:52:00 in my country i'm not doing anything illegal Sep 20 17:52:04 now i feel less happy they called me to Sep 20 17:52:49 ...I think Sep 20 17:53:01 I just hope police wont knock on my door Sep 20 17:53:55 That's the risk of doing buisness the way you did it :) Sep 20 17:55:07 at least they didn't ban my account Sep 20 17:55:24 I can still make another apps... Sep 20 17:55:28 legal this time Sep 20 17:56:37 if the police knock on your door dont open it Sep 20 17:58:37 I got shitload of mails from ad providers in the meantime, but I read their ToS and it doesn't look good Sep 20 17:59:43 I would probably show their ads, they would show large revenue but when it would be time to pay me they would suspend my account Sep 20 18:19:12 Who wants to make an app with me together? I can program Java but also C Sep 20 19:01:55 ugh; TI's official SensorTag app crashes on my 2013 N7 straight off the bat Sep 20 19:09:29 hey Sep 20 19:09:41 what do you guys think the best way to switch fragments on click is? Sep 20 19:10:24 I'm wondering if there's a decently clever way with something like RxJava or Otto. Sep 20 19:19:48 Hi everyone Sep 20 19:20:04 how can i post text as android volley request body?? Sep 20 19:28:41 regarding the google maps API v2.. I'm trying to replace setMyLocationEnabled(true) marker with my own but the marker will only move if I tilt my phone so it redraws the map Sep 20 19:30:39 as in I have to rotate the screen Sep 20 19:39:50 Hi guys. After I initiate sacanning of a newly added file with MediaStore by sending a broadcast message ( ACTION_MEDIA_SCANNER_SCAN_FILE ) I need to run some code when scanning is complete. There's ACTION_MEDIA_SCANNER_FINISHED broadcast action but it triggers when scanning complete over some folder, not file. I didn't find any analogue for file-scanning-complete event. What should I use for that? Sep 20 19:45:38 where is the "androidstudioprojects" folder? by the path it seems its in /home/user but I can't cd into it? Sep 20 20:14:27 hey Sep 20 20:15:06 is possible to have a fragment settings and override the actionbar tabs? Sep 20 20:15:17 or the better an activity for settings Sep 20 20:15:42 it looks awful with the tabs Sep 20 20:22:16 [+]?[0-9]{0,2}[(]?[0-9]{3}[)-]?[0-9]{3}[-]?[0-9]{4} Sep 20 20:23:36 is that for phone numbers? Sep 20 20:39:24 i have two notifications, notification A is ongoing (and should simply activate app), notification B is dismissable (and opens stuff inside app). if i make notification B with an intent that opens something in the app, clicking notification A uses intent from notification B. this doesn't make any sense, halp :< Sep 20 20:40:32 sq: you should pastebin some code that you are using Sep 20 20:40:45 there's just too much of code.. Sep 20 20:41:38 i said some, like what's relevant to how you are setting your intents¬ifications etc... Sep 20 20:41:48 well, this makes notification B https://bpaste.net/show/eae89f6828f6 Sep 20 20:42:13 it doesn't store the intent anywhere, and NOTIFICATION_HIGHLIGHT_ID is only used here.. Sep 20 20:43:17 thought your problem was with notification A? Sep 20 20:45:38 well, this is notification A https://bpaste.net/show/e3ab80c95e16 Sep 20 20:46:24 the ids are different Sep 20 20:47:26 the intents look the same Sep 20 20:47:47 the "full_name" is the significant bit Sep 20 20:48:15 i click on notification A and i get "full_name" in extras Sep 20 20:49:17 what intent are you passing to buildNotification? or is it null Sep 20 20:50:20 that seems like the likely place you'd be passing the same intents Sep 20 20:50:35 how now . how animate item in listView Sep 20 20:51:46 canvs2321: there are 3 calls to that functions. two are in the paste, the third one is " startForeground(NOTIFICATION_ID, buildNotification(null, "Tap to connect", null));" Sep 20 20:52:10 Who knows Animation Training Pool in List View Sep 20 20:52:17 number 3 coms from alt-f7 Sep 20 20:52:30 this just doesn't make sense to me... Sep 20 20:52:57 NOTIFICATION_ID and NOTIFICATION_HIGHLIGHT_ID are different numbers Sep 20 20:53:14 Who knows Animation Training Pool in List View Sep 20 20:54:06 thing is i don't even have to click on that notification B Sep 20 20:54:11 i just have to build it Sep 20 20:58:52 sq: does full_name have any data, or just is present? Sep 20 20:59:28 http://stackoverflow.com/a/10538554 talks about using PendingIntent.FLAG_UPDATE_CURRENT, and needing to possibly pass a different resultcode Sep 20 20:59:34 found my problem! Sep 20 20:59:36 http://stackoverflow.com/questions/3009059/android-pending-intent-notification-problem Sep 20 20:59:55 :) Sep 20 21:00:05 damn, why, android, why Sep 20 21:00:17 does anyone here use ProGuard to shrink their apk size? Sep 20 21:00:28 sq: seems that link is similar to what i found :) Sep 20 21:00:28 Argh! nextId = lastId++; Sep 20 21:00:48 canvs2321: yes! Sep 20 21:01:17 haha, i changed 0 to 1. that's all. Sep 20 21:01:28 a change of one bit. Sep 20 21:01:34 MartialLaw: Isn't that part of what it's for? or what is your question? Sep 20 21:01:38 sq: yep Sep 20 21:13:43 so this indian dude bid $20 on my project on freelancer.com Sep 20 21:13:49 seemed legit enough, so i wanted to pick him Sep 20 21:14:04 now he says he didnt fully understand what i asked and when i explained, he asked for extra $10 Sep 20 21:14:16 anyone here with any experience on that site? Sep 20 21:14:20 is this normal? Sep 20 21:18:46 what were you asking for? Sep 20 21:20:32 lasserix had an existing project, just wanted to integrate google maps onto it to have each database entry have the location coordinates Sep 20 21:20:42 also i mentioned i wanted the ability to search based on the location and coordinates Sep 20 21:20:45 he didnt get that 2nd part Sep 20 21:21:10 probably worth another 10 Sep 20 21:21:55 that might take an exp developer like 30-1h to do? an exp developer in the us would charge anywhere from 50-100$ per hour Sep 20 21:22:24 hard to say though, do you think he is scamming you? Sep 20 21:22:31 or was there really a miscommunication? Sep 20 21:28:59 lasserix no i dont think he's scamming me, but he bid $20 on it, im just not sure of the protocol of that website Sep 20 21:29:03 can i just give him anything Sep 20 21:29:14 or do i have to pay him the $20 he bid Sep 20 21:29:27 do you pay through the website? Sep 20 21:30:06 yeah, i think so Sep 20 21:30:12 never used it before Sep 20 21:54:48 hi Sep 20 21:57:37 I need to use Bound Service in both Activity and Fragment at the same time. How should I do it? Sep 20 21:57:58 bind to service from both classes? or access service instance from fragment class? Sep 20 22:17:37 Guys, what's the difference between MediaScannerConnection.scanFile() and MediaStore.Images.Media.insertImage() ? It seems that both are about inserting images to mediastore and one of them creates thumbnail automatically. Are there any othe differences? Sep 20 22:39:50 Hi all Sep 20 22:40:22 hi Sep 20 22:40:24 hello Sep 20 22:42:20 who now , how animat the ListView Java Android???? Sep 20 22:43:51 who now , how animat the ListView Java Android???? Sep 20 22:43:52 who now , how animat the ListView Java Android???? Sep 20 22:43:53 who now , how animat the ListView Java Android???? Sep 20 22:43:55 ????? Sep 20 22:44:21 google that Sep 20 22:44:31 i cant find Sep 20 22:48:15 who now , how animat the ListView Java Android???? Sep 20 22:49:24 i never animated a listview but you can download a library with ready animations like this or make your own https://github.com/daimajia/AndroidViewAnimations Sep 20 22:49:54 but you have to find the way to do it with your listview Sep 20 22:50:08 by yourself Sep 20 22:51:04 thanks Sep 20 23:03:40 guys have you tried https://github.com/scottyab/secure-preferences Sep 20 23:04:05 whats good for preferences obfuscation Sep 20 23:40:19 Hi Sep 20 23:40:55 I'm trying to start a debug session on a real device, and have debug mode enabled and accepted the RSA certificate on the device Sep 20 23:41:17 Still everytime I try to run it from the command line (using the meteor build tool) it keeps spinning up a software emulator Sep 20 23:41:50 I see it popping up when running adb devices, so I'm not sure how I can make the build tool make use of the physically connected device Sep 21 00:03:48 greetings gents. question for you all Sep 21 00:04:20 this probably isnt the best place to ask, but i'm sure some of you guys are knowledgable.. what is the best cross platform mobile dev system right now? Sep 21 00:05:48 agreed, not the best place to ask Sep 21 00:06:08 not sure where else to ask Sep 21 00:08:38 yeah no idea honestly. personally I'm not experienced or knowledgeable enough to be able to answer your question anyway. you can try sticking around, maybe someone else would be able to respond Sep 21 00:11:51 any of you use anything to obscure shared preferences like tokens Sep 21 00:48:21 I am rotating a button that I created, and sometimes randomly while its rotating, random pixels show up over the text of the button Sep 21 00:48:24 any idea what this is ? Sep 21 00:49:02 sometimes it happens, sometimes it doesnt Sep 21 01:48:30 Agro: do you have a screen shot? Sep 21 02:40:00 hi, i want to use the apache httpclient class as dependency in another app; so i tried building a jar out of the httpclient android source. if i do and import this jar to my other project i get an error that there are 2 androidmanifests (one of my project, the other inside the jar). if i remove the one in the jar i get some error when i try to run the app (signing problems or stuff). whats the right way? Sep 21 02:41:36 FreshDumbledore: use okhttp instead Sep 21 02:42:27 hm. i want to access a rss reader as inputstream. i used java.net.url first with .getInputStream() but that seems to be broken for streams that require authentification. i found the hint to use httpclient instead Sep 21 02:42:35 *a rss .. page :P Sep 21 02:43:01 so basicly i want to solve the problem to read an rss stream which requires username / password Sep 21 02:43:07 the httpclient came in to solve this Sep 21 02:43:08 xD Sep 21 02:43:53 btw what does your name mean lasserix **** ENDING LOGGING AT Sun Sep 21 03:00:00 2014