**** BEGIN LOGGING AT Wed Jul 02 03:00:00 2014 Jul 02 03:18:43 can you pastebin your manifest Jul 02 03:33:19 * g00s is tempted to buy "Everything Is Bullshit" Jul 02 03:35:39 bankai_au read anything good lately ? Jul 02 03:35:49 too busy, man :( Jul 02 03:36:41 Bill Gates really likes Vaclav Smil's books Jul 02 03:36:48 * g00s investigates Jul 02 03:48:31 i think it might of been cause of intent server with START_STICKY in the onstartcommand Jul 02 03:55:28 anyone know how android's test runner works? Jul 02 03:57:22 hey look what i found canadiancow http://www.amazon.com/Cows-Save-Planet-Improbable-Restoring-ebook/dp/B00CMR0N2E Jul 02 05:08:31 Is Git opensource? Jul 02 05:08:42 yes Jul 02 05:08:46 I want to have a repository to manage my daily task Jul 02 05:09:08 GPL v2 Jul 02 05:09:11 can you suggest me which will be good,free and easy to use version control system Jul 02 05:09:21 for ADT Jul 02 05:09:23 well... I use git Jul 02 05:09:24 umm ... Jul 02 05:09:31 Leeds, thanks Jul 02 05:09:48 Leeds, can you suggest me a step-by -step tutorial on git with ADT Jul 02 05:09:57 no, I cannot Jul 02 05:10:40 I just use it at the command-line, like a real coder Jul 02 05:11:17 also, I never really learned how to use it properly, just found a basic set of 3 or 4 commands which seem to work - like a really lazy coder :) Jul 02 05:11:38 Leeds, ok can u give me the command options Jul 02 05:11:42 "code re-use" Jul 02 05:11:45 haha wow Jul 02 05:11:48 oh bloody hell ... Jul 02 05:11:49 As I am also a linux person I can console Jul 02 05:12:09 git commit -a -m "COMMENT HERE" && git push Jul 02 05:12:18 git pull && sudo /usr/sbin/apachectl graceful Jul 02 05:12:44 generally, there's no need to restart the webserver if I've made changes to Android code... Jul 02 05:12:54 if you're a linux person you can read man pages in "console" (p.s it's called a terminal) ... the git man pages are 'very' good Jul 02 05:13:14 bankai_au, Leeds thanks Jul 02 05:13:23 bankai_au: I assume niru was offering a shoulder to cry on Jul 02 05:13:40 read this http://git-scm.com/book Jul 02 05:25:45 niru: git init, git status -u, git checkout -b branchname, git add filename, git add . (adds all), git commit -m "message", git -a -m (messages plus deletes), git push/pull origin localbranch Jul 02 05:26:56 lasserix, ok I am trying it now Jul 02 05:27:34 if you use windows you can install cygwin as shell emulator Jul 02 05:27:50 much eaiser to use git from command line, bypass plugins for doing it all (ie egit for eclipse, etc) Jul 02 05:32:05 also you'll want to look online for a template for gitignore file to not push program settings (usually, if you are using eclipse, for instance) Jul 02 05:32:28 you can generate build.xml file in eclipse from android tools, i believe, and then import the project using that build file if you ever need to set up another work enviroment Jul 02 05:44:56 tortoisegit is what i use if i git on winders Jul 02 05:45:20 ^^ Jul 02 05:45:32 although these days i use straight git from the shell Jul 02 05:45:33 works great Jul 02 05:45:40 it is much nicer from command line Jul 02 05:45:45 i'm even using the bash git shell instead of the old zsh.exe i had Jul 02 05:46:05 the ther night i found that when i tried to copy a mixed case file to an existing file of that name, zsh lowercased it Jul 02 05:46:41 it's really amazing how much stuff is ported directly across these days Jul 02 05:47:13 lasserix: give the git & git bash a try Jul 02 05:47:16 no need for cygwin layer Jul 02 05:47:39 ruby, chef...it all runs just like on unix, these days Jul 02 05:47:58 the only snag i ran into is our build uses one shell script...and shell still cares about line endings Jul 02 05:48:11 so when bash converted to windows-style endings it broke the script Jul 02 05:57:38 myke i use cygwin for lots of stuff ;p Jul 02 06:26:07 HttpResponse response = httpclient.execute(httpost); Android studio can't resolve httpclient. Jul 02 06:27:24 donniezazen: did you import that? Jul 02 06:27:52 http://developer.android.com/reference/org/apache/http/impl/client/DefaultHttpClient.html Jul 02 06:31:28 I am trying to find the location of the kernel for this device but coming up with nothing http://paste.ee/p/DDJIs Jul 02 06:42:07 tunage wrong channel, try #android-root Jul 02 06:42:29 g00s: you left yesterday mid discussion Jul 02 06:42:43 thepoosh hey, i probably went to bed Jul 02 06:42:52 dammit! Jul 02 06:43:19 why did you go to sleep at 11:00? Jul 02 06:43:28 its 2:43 am here :) Jul 02 06:43:38 actually, time to go to bed again XD Jul 02 06:43:48 9:43 Jul 02 06:43:50 AM Jul 02 06:44:07 cut it out with your australian ways! Jul 02 06:45:58 he's not aussie Jul 02 06:47:49 it's afternoon time in Oz Jul 02 06:48:04 protests in HK, how exciting ! Jul 02 06:48:13 god damn it, FF crashed again Jul 02 06:49:00 massive protests, yes Jul 02 06:50:16 g00s: where the hell are you from?!?! Jul 02 06:50:33 i expect more of that , everywhere, as time goes on Jul 02 06:50:34 thepoosh not from this planet ... Jul 02 06:50:53 so the time of night is meaningless Jul 02 06:51:05 of course, when in orbit ... Jul 02 06:51:46 i'd like to read this story about google http://www.fastcodesign.com/3032463/what-is-google Jul 02 06:51:53 but its going to give me a seizure Jul 02 06:51:56 g00s: stop openning so may tabs Jul 02 06:52:15 capella firefox crashes often when there isn't enough ram, and you start it Jul 02 06:52:25 lol Jul 02 06:52:31 in this case, chrome was eating all of my box's memory and i forgot to shut it down Jul 02 06:53:03 capella crash reported manages to pop up though :) Jul 02 06:53:08 *reporter Jul 02 06:54:15 mmm ... interesting ... Are you on the general release version? 30? Jul 02 06:54:16 lol - crash reporter - I was trolling some crash comments the other day, a good % of the says things like "I was trying to read p0rn dammit!", "I was looking for a poon hookup in facebook", etc XD Jul 02 06:54:16 guys, Rob Ford is the MAN!!! Jul 02 06:54:35 i forgot why i started using chrome again Jul 02 06:54:38 oh yeah! my FF is taking like 30% cpu and i have no idea what tab it is Jul 02 06:54:47 oh that still Jul 02 06:55:01 so i gave up using it for now Jul 02 06:55:17 electrolysis project is supposed to fix that Jul 02 06:55:17 but … when i go looking for books on amazon, i get into trouble with chrome Jul 02 06:55:28 because i open like 40 tabs Jul 02 06:55:37 and thats like, 1exabyte for chrome Jul 02 06:59:33 ah, well, I don't do a lot of staight desktop work so I lose track of the status there ... mostly stick to Fennec/Mobile ... working with the Sync code currently Jul 02 07:18:08 join android Jul 02 07:20:06 can anybody help me in screen cast Jul 02 07:25:03 gesl whats up? Jul 02 07:25:51 gesl if you have android kitkat you can do it from adb Jul 02 07:27:40 g00s: Google is "a way of life"? ;p Jul 02 07:28:14 i read the article quickly, and actually avoided seizure - its a little meh Jul 02 07:28:52 i'm not overly impressed by any of this (Material) crap, honestly. its what Alan Cooper called , in "About Face" Mechanical age metaphor Jul 02 07:29:09 and how this will change my life, when no googl eservice has, is beyond me ;) Jul 02 07:29:23 as soon as 3d food printers become a reality, google will mass produce them, ultimatly earning enough money to simply give every human being a small stipend and thereby replace the value of capital with a new valuation virtualization scheme Jul 02 07:29:46 O.o Jul 02 07:29:53 well iphone is catching up with android like in live wallpapers widgets etc Jul 02 07:30:03 and i think android is doing the same in terms of sleek/ergonomic Jul 02 07:30:28 material is really just android catching up with the aesthetic of iphone (since the beginning, more or less) Jul 02 07:30:47 designers seem to like it Jul 02 07:30:51 it look sOK Jul 02 07:30:55 some of the improvements are good, like the shadowing and visual indications of touch interface Jul 02 07:31:04 but, i think its being blown out of proportion :) Jul 02 07:31:08 because they help the ui be more natural for a user Jul 02 07:31:37 maybe they're just distracting us from the fact they are taking over the future of home and living space with echo / nest / dropcam achquistions ;p Jul 02 07:32:09 but why have shadow … why have depth? its a piece of glass Jul 02 07:32:22 i dont know why they don't just drop wireless lan routers every other city block in every major us city Jul 02 07:32:23 there is no depth, its just smoke and mirrors :) Jul 02 07:32:34 the depth helps the eye organize Jul 02 07:32:57 even subconciousily, so it makes it easier for a user to intuitively interface with the phone Jul 02 07:33:16 but there is no depth Jul 02 07:33:20 which is kind of an "unnatural" thing in the precedent of "material" things Jul 02 07:33:35 there is the illusion of depth for the eye to be able to organize the contents Jul 02 07:33:45 my eye doesn't seem fooled Jul 02 07:33:53 i think subconciosily you could prove Jul 02 07:34:11 that the illusion of depth helps the cicade movement of the eye register forms more closely and with better acuity Jul 02 07:34:24 thepoosh: I have org.apache.http.client.methods.HttpGet; and org.apache.http.HttpResponse; Android Studio isn't showning any imports. Jul 02 07:34:36 *saccade Jul 02 07:34:46 that sounds wrong Jul 02 07:34:54 what HttpClient are you using? Jul 02 07:35:34 it's all about using the fact the human brain likes to group things, to help the eye to do a better job, by distinguishing ui elements with shadows ;p Jul 02 07:36:16 lasserix dialog boxes had shadows in windows 95 Jul 02 07:36:25 its 2014 Jul 02 07:36:30 BEST> WINDOWS> EVER!!! Jul 02 07:36:30 but you have a mouse on a desktop Jul 02 07:37:00 i would agree to this shadow stuff, if this was a 3D UI Jul 02 07:37:09 put its still a fucking piece of glass Jul 02 07:37:16 it's because a screen's content is usually compact to begin with Jul 02 07:37:55 thepoosh: Basically implementing this http://stackoverflow.com/a/6099543/3034693 Jul 02 07:38:06 i'll think a little more about it after i get done reading some more recent HCI Jul 02 07:38:32 donniezazen: does this mean you imported DeafultHttpClient? Jul 02 07:40:05 hello devs Jul 02 07:40:29 Hi, how i do for insert all filename in a folder (on a server www.mysite.it/photo/ ) in an array o StringList ? Jul 02 07:40:43 I have a Bitmap object in memory (may be large) and I want to load it in a imageview that is very small Jul 02 07:40:57 How do I do that without causing OOM Jul 02 07:41:02 g00s: if it's just a piece of glass, then a canvas is just a piece of paper, and the revolutionary use of perspective in paintings circa the reniassance in europe is totally bunk ;p Jul 02 07:41:33 lasserix but there is a trend in painting Jul 02 07:41:39 it went from realism to abstract Jul 02 07:41:53 so i agree :D Jul 02 07:41:55 The Bitmap object is stored as a field of activity Jul 02 07:42:12 emotionull: scaleinbounds Jul 02 07:42:20 good how to use scaleinbounds bitmap factory Jul 02 07:42:44 basically you'll subsample the very large image so you only consume as much memory as resolution as you need for your smaller image view Jul 02 07:42:45 But Bitmap factory is for loading images from some resourec Jul 02 07:42:54 google it Jul 02 07:42:58 you're mistaken Jul 02 07:43:03 I ok Jul 02 07:43:09 let me check Jul 02 07:43:20 i believe you can even do it on a bytestream or whatever Jul 02 07:43:54 oops Jul 02 07:43:57 *inSampleSize Jul 02 07:44:13 http://stackoverflow.com/questions/3331527/android-resize-a-large-bitmap-file-to-scaled-output-file Jul 02 07:44:45 saw the answer.. Jul 02 07:44:59 it is for Bitmap stored as a File Jul 02 07:45:12 as opposed to... Jul 02 07:45:18 btw..what does createScaledBitmap() do? Jul 02 07:45:25 something beamed from the user's forehead? Jul 02 07:45:30 Is that what I am looking for? Jul 02 07:45:33 no Jul 02 07:45:40 inSampleSize Jul 02 07:45:46 inSampleSize inSampleSize Jul 02 07:46:05 look at blubs answer Jul 02 07:47:30 But there is no inputImageFile Jul 02 07:47:46 in my case Jul 02 07:48:05 what is your case? Jul 02 07:48:59 I have a Bitmap object (field) in my activity which can be large...and I want to display it in a small image view first Jul 02 07:49:19 and later send to server and store locally on an event Jul 02 07:49:20 oh g00s didn't see the actual premise of that article, ouch i see what you mean Jul 02 07:49:30 where does the large bitmap data come from? Jul 02 07:49:46 you making a panaromic picture taker or something? Jul 02 07:50:01 from gallery, but I am editting and cropping it Jul 02 07:50:35 should I save it on memory first? Jul 02 07:51:20 from gallery = from file Jul 02 07:51:35 are you editing at the original resolution?: Jul 02 07:51:43 if so you probably want to use something like Jul 02 07:51:47 yup...but I hv intermeditae activity to crop and edit it Jul 02 07:52:39 your question is how can i load a 100 megabyte image so a user can edit it without getting an OOM? Jul 02 07:52:58 or how can I create a scaled image of a 100 mb image so the user can preview it without getting an OOM Jul 02 07:53:27 i already answered the second question Jul 02 07:53:32 look at bulbs answer in that post Jul 02 07:53:39 lol...no..no one can have 100mb of image...maybe 5 Jul 02 07:53:42 the URI is the pointet to your file Jul 02 07:53:53 you can easily have 100 mb of an image Jul 02 07:54:16 you should be able to get 5mb into memory if that's more or less the only big thing in memory Jul 02 07:54:28 apps typically get like 20-30-40 mb on phones these days? Jul 02 07:55:48 thepoosh: importing org.apache.http.impl.client.DefaultHttpClient didn't help. Jul 02 07:56:26 hmm...ok..so I ll crop and store it in a tmp in the intermediate activity, then load the thumbnail of it using inSampleSize in my activity, then on the event, move the file to permanent storage and send it to server Jul 02 07:56:50 Hi, how i do for insert all filename in a folder (on a server www.mysite.it/photo/ ) in an array o StringList ? Jul 02 07:57:44 emotionall sounds good Jul 02 07:57:46 you can also use Jul 02 07:58:14 lasserix: you can help me? Jul 02 07:58:44 btw when does stuff under /tmp get deleted Jul 02 07:59:14 emotionull there is some object in the android sdk api that allows you to grab a subregion of a very large image file, so forstance you could enable a user edit at orginal resolution by grabbing the subregoin that currently is viewable (fills the viewport which is the camera's screen) Jul 02 07:59:14 thepoosh: I don't see httpclient all in small case DefaultHttpClient or HttpResponse Jul 02 07:59:27 emotionull: dunno google it ;p Jul 02 08:00:07 Alfreda: you have to rephrase your question Jul 02 08:00:21 How i do for insert all filename in a folder (on a server www.mysite.it/photo/ ) in an array o StringList ? Jul 02 08:00:21 you are asking many things, not sure what you really need help with Jul 02 08:00:31 you have to rephrase your question Jul 02 08:00:39 you are asking many things, not sure what you really need help with Jul 02 08:00:40 filename string Jul 02 08:00:49 i have a site Jul 02 08:00:53 www.mysite.it Jul 02 08:01:07 with a folder photo and there are many photo Jul 02 08:01:13 you want to scrape all the filenames or you have a server running that will handle a restful request? Jul 02 08:01:28 now i want insert in a StringList array all name o file present in this folder Jul 02 08:01:32 you undstand me? Jul 02 08:01:47 http://stackoverflow.com/questions/14018418/how-to-access-web-directory-file-list-in-android Jul 02 08:01:55 https://www.google.com/webhp?sourceid=chrome-instant&ion=1&espv=2&ie=UTF-8#q=android+how+can+i+get+all+files+in+a+web+directory Jul 02 08:02:06 as to the second part you'll have to maybe try asking in #java Jul 02 08:02:38 i try Jul 02 08:03:12 but i am guessing you'll have like a node in jsoup that you'll iterate over so it'll be like while (fileListNode.hasNext()) { mystringryarraylist.add(fileListNode.next().toString()) } Jul 02 08:03:25 lasserix: I don't think I ll have to use /tmp..I found more simple solution for my case Jul 02 08:07:42 oh what's that? Jul 02 08:08:45 g00s this article reads like a charles strauss book! But it's also sheer wishful thinking of what our physical world could do if its rules could be cheated. Paper can't split itself and recombine, after all. Jul 02 08:11:39 even if what he is proposing is more or less true, real problem is app developers can't make enough developing new trends because the prime target appeal of the market place ecoystem is farting, flappy birds and such Jul 02 08:12:54 what mean this command? for (Element link : links) Jul 02 08:13:06 iterate over each link in links Jul 02 08:13:12 okok Jul 02 08:13:16 *each element (calling it link) Jul 02 08:13:17 like in C++ Jul 02 08:37:39 I have fragment A and fragment B. Both fragments contain a block of UI elements, which are identical. What would be the best practice for reusing the UI and the functionality behind it? Jul 02 08:40:18 encapsulate the block of ui elements as a self contained view group you can inflate in either fragment Jul 02 08:46:27 Hi guys, how would you go about implementing parcelable on your model objects in a plain java projects library? Options are write decorator classes, or maybe import the parcelable interface into the plain java project? Jul 02 08:52:38 ClockworkAnt, you can add Android.jar stub as a dependency and use all APIs Jul 02 08:52:45 of course, that library will not work outside Android Jul 02 08:53:29 ClockworkAnt: the idea of using a connector, like a decorate but more generic is probably a good idea Jul 02 08:54:53 thats very common for the same kind of thing in graphics: there are lots of formats for holding mesh information, but it all boils down to arrays of ordered floats, so many importer / exporters are written Jul 02 08:55:46 I have a webview, and I have implemented my own WebViewClient. I have a HTML page, which links to .doc files. These links are completely ignored, regardless of what my shouldOverrideUrlLoading() returns. I want to either download or start another app when the user clicks these links - I don't want to just ignore them and fail silently. Other links, to other HTML pages, works correctly as expected. What am i supposed to do to handl Jul 02 09:01:13 liefer_: You have to register an activity that can respond to intents getting .doc files Jul 02 09:01:28 lasserix: can you provide a bit more detail on what you mean, what would be the difference between decorate and a connector. Is connector a recognised pattern or more like a description of the class's responsibilities. Jul 02 09:02:08 i think its a more general computer science term Jul 02 09:02:44 ahh okie lasserix, thanks, I'll put some thought into it Jul 02 09:02:46 but i believe it entails the responsibility of converting data between interfaces Jul 02 09:03:03 for instance, a parcealbe is just a map of primitives or what have you, Jul 02 09:03:30 so you can always take an object, even use reflection, iterate over it's primitivies, dump them into a bytestream, readout of that bytestream a parcel Jul 02 09:03:35 lasserix: A Parcelable can be more than that Jul 02 09:03:42 oh Jul 02 09:03:53 loke: So in my shouldOverrideUrlLoading() i need to manually do a download intent? I see. Was assuming this was already the default behavior, thank you Jul 02 09:03:56 oh i only saw primitive types Jul 02 09:04:07 lasserix: You can parcel anything you want Jul 02 09:04:23 but isn't it broken down into the underlying basic types? Jul 02 09:04:34 the issue comes in when you have objects in your objects and they need to implement parcelable Jul 02 09:04:38 i remember from remote services, that was the just of aidling Jul 02 09:04:48 ahh Jul 02 09:05:00 but I guess you don't need to make the sub objects parcelable if your top level handles all the parcelable serialisation Jul 02 09:05:15 lasserix: No. you can implement your own code to encode/decode the objects Jul 02 09:06:02 lasserix: It's basciallly just a serialisation mechanism Jul 02 09:06:03 loke: does the underlying parcel code use reflection to instance your parceled objects ? Jul 02 09:06:46 lasserix: No. The idea is that that shouldn't be needed since reflection used to be terribly slow on Android Jul 02 09:07:08 These days it's better, so you could always be lazy and just use java.lang.Serializable Jul 02 09:07:40 hmm woo that parcel class is happenning ;p Jul 02 09:07:43 sorry. java.io.Serializable Jul 02 09:07:52 ClockworkAnt: ^^ Jul 02 09:11:45 since there are no roms for the Lenovo IdeaTab a1000, is it in any way possible to get cyanogenmod on it. are there any other roms that are compatible with that device? Jul 02 09:12:13 DanielHolst: Wrong room. Go to android-root or whichever it was. Jul 02 09:17:41 Does anyone know if the SearchView widget is something actually used often? Jul 02 09:18:50 hey there, in an activity im creating multiple lists, a click on an item will create a new list. is there a way to let the user use the back button to get to previous list without using fragments? Jul 02 09:21:21 alt0r: yes Jul 02 09:22:25 lasserix: mind giving me a hint / keyword / link? :) Jul 02 09:23:21 alt0r: if you can be more specific in what you are asking Jul 02 09:24:31 does creating a new list take up the entire view? Jul 02 09:24:53 Just jump to a new activity instead of replacing the content of the view Jul 02 09:25:21 yeah, view only contains list Jul 02 09:28:14 loke: ill give it a try, thx Jul 02 09:28:15 loke do you use fragments at all? Jul 02 09:28:29 lasserix: Not much Jul 02 09:29:02 I'm using it in my latest project, but most of the UI design isn't done so I'm not sure how it'll be used eventually Jul 02 09:29:14 loke i never understood it really prior to fragments, but pre-fragments how do you know when to create a new activity in a family of activites? Jul 02 09:29:26 right now I simply have 1 fragment:1 Activity Jul 02 09:29:48 But doing it that way is easier in case I want to put more than one fragment on the screen at a time Jul 02 09:29:52 Hey, I use reflection to invoke a method which uses some native methods. It crashes with an java.lang.UnsatisfiedLinkError Jul 02 09:30:15 loke: yeah for multipane views and stuff :) Jul 02 09:30:19 ansgarm: Did you include the native so file? Did you do System.loadLibrary on it? Jul 02 09:30:34 lasserix: Yeah. We'll see if I get there. I really dislike UI programming :-) Jul 02 09:31:16 loke: I did load System.load("system/lib/hw/lights.hammerhead.so"); which is where the native code *should be*. Jul 02 09:31:48 ansgarm: native code for what? Jul 02 09:32:13 For turning on/off LEDs of the device Jul 02 09:32:42 loke: I'm using the LightsService via reflection Jul 02 09:32:44 I had no idea there was a system library you could load like that. Jul 02 09:33:10 and the LightsService uses that native code Jul 02 09:34:04 I'm pretty sure there is a "proper" way to access that service Jul 02 09:34:50 loke: Do you know a way to find out in which lib a given *.cpp file ends up? I guess I have to dig through AOSP code.. Jul 02 09:35:11 ansgarm: From the Android source distribution you mean? Jul 02 09:35:17 Just use "nm" and look for the symbol Jul 02 09:35:28 loke: yep, that android code Jul 02 09:35:47 loke: that Service is private.. :) Jul 02 09:36:04 ansgarm: Well, that should be a good hint that you'renot supposed to use it Jul 02 09:36:13 Is there a way to keep old fragment while using replace on FragmentManager? Jul 02 09:36:35 loke: it's a hack and not to be used in a regular app. so I'm aware of that Jul 02 09:37:24 loke: what kind of tool is nm? Jul 02 09:39:08 ansgarm: it's in the ndk: arm-linux-androideabi-nm Jul 02 09:39:16 ansgarm: Displays the symbols in an object file Jul 02 09:39:32 ah thank you! Jul 02 09:45:57 loke: It was loadLibrary("android_servers"); Now I'm getting a SecurityException :D So that's where it ends for now :) Thank you for your help! Jul 02 09:46:17 I have to admit that I have done some fishy stuff too... Jul 02 09:47:52 Look at this thing: https://github.com/lokedhs/android-gnu-apl/blob/master/client/src/com/dhsdevelopments/aplandroid/input2/LatinKeyboardView.java#L36 Jul 02 09:48:18 Only way I could change the font used in a KeyboardView Jul 02 09:49:12 Sometimes you have to break the boundaries Jul 02 09:49:49 In my case, it will still work even if the hack fails. You'd get the wrong font though, which means missing symbols on the keyboard. But it won't crash Jul 02 09:50:10 (which is why I simply log the exceptions and continue) Jul 02 09:51:28 yep, sounds good Jul 02 10:05:40 hi Jul 02 10:06:05 does ContentResolver.requestSync work in only one way (from server to client)? Jul 02 10:06:43 bcos when I save a form inside android and I perform a sync local db is reset to server db Jul 02 10:07:06 although I have supportUploading inside my sync xml file Jul 02 10:10:47 I'm trying to animate a regular imageview using rotate animaton from there http://blog.stylingandroid.com/archives/2644 but nothing happens. why? Animation rotation = AnimationUtils.loadAnimation(this, R.anim.rotate); Jul 02 10:10:47 mRefreshButton.setAnimation(rotation); Jul 02 10:12:24 i am running ubuntu 12.04 and have a Moto G (4.4.2) and i am trying to get it recognised by adb but to no avail Jul 02 10:12:39 ubuntu is 32bit Jul 02 10:13:24 i have added a line... Jul 02 10:13:24 SUBSYSTEM=="usb", ATTR{idVendor}=="22b8", ATTR{idProduct}=="2e82", MODE="0666", GROUP="plugdev", OWNER="my_user" Jul 02 10:13:42 in /etc/udev/rules.d/51-android.rules Jul 02 10:14:59 ingsoc, do a lsusb while its plugged in Jul 02 10:15:22 then find out what Bus and Device number it is Jul 02 10:15:24 then do this Jul 02 10:15:24 ingsoc, check dmesg Jul 02 10:15:31 then check lsusb, then theck adb devices Jul 02 10:15:44 but FIRST, check dmesg to see if your kernel even detects the device Jul 02 10:15:55 lsusb... Jul 02 10:15:55 Bus 002 Device 003: ID 22b8:2e82 Motorola PCS Jul 02 10:16:01 which system settings will help me in connecting the correct page back arrow button to some other activity of my choice Jul 02 10:16:10 ls -l /dev/bus/usb/002/003 Jul 02 10:16:11 correct/current Jul 02 10:16:18 ok nou type that ingsoc ls -l /dev/bus/usb/002/003 Jul 02 10:16:26 and tell me what user and group that device has Jul 02 10:16:44 crw-rw-rw- 1 my_user plugdev 189, 130 Jul 2 11:08 /dev/bus/usb/002/003 Jul 02 10:17:08 is your user on that computer is it my_user? Jul 02 10:17:13 the user you have logged in with? Jul 02 10:17:15 well i edited it Jul 02 10:17:20 kk Jul 02 10:17:24 but yeah it is the same user i entered intot he file Jul 02 10:17:25 have you restarted adb? Jul 02 10:17:34 i have restarted my laptop since Jul 02 10:17:43 and done adb kill-server etc Jul 02 10:17:50 adb start-server etc. Jul 02 10:17:55 triues as my opwn user and sudo Jul 02 10:18:02 tried as my own user and sudo* Jul 02 10:18:06 it is kicking my ass Jul 02 10:18:08 :( Jul 02 10:18:16 hmmm Jul 02 10:18:44 lemonxah: i have never been able to get it recognised as a media card either on my machine Jul 02 10:18:45 as far as my knowledge stretches that should work .. but i am not the linux guru Jul 02 10:18:48 but i have with older android Jul 02 10:19:08 i have only ever done the steps you ahve and it has worked Jul 02 10:19:10 well Jul 02 10:19:17 i didn't set an owner of the device Jul 02 10:19:32 and i have set it to 0666 Jul 02 10:19:38 same as you Jul 02 10:21:14 SUBSYSTEM=="usb", ATTR{idVendor}=="12d1", ATTR{idProduct}=="2351", MODE="0660", Jul 02 10:21:14 GROUP="plugdev", SYMLINK+="android%n" Jul 02 10:21:18 there's also adb_usb.ini Jul 02 10:21:25 that is my line in the udev Jul 02 10:21:29 that i have read people have had to enter the vendor id in hex Jul 02 10:21:31 did you do that ? Jul 02 10:21:42 under ~/.android Jul 02 10:22:01 no that is my udev rule for the device that wasn't recognized by adb Jul 02 10:23:00 orry, i meant did you add a vendor id in hex to your ~/.android/adb_usb.ini Jul 02 10:23:09 nope Jul 02 10:23:56 also i have upgraded my ubuntu to 14.04 a while back Jul 02 10:23:59 hmmm, seems when the screen locks the device is missing from lsusb Jul 02 10:24:02 but i do remember this working on 12.04 Jul 02 10:24:09 also this returns nothing... Jul 02 10:24:11 ls -l /dev/bus/usb/002/003 Jul 02 10:24:33 appearing now in lsusb Jul 02 10:24:38 but get this Jul 02 10:24:38 ls: cannot access /dev/bus/usb/002/003: No such file or directory Jul 02 10:24:38 yeah cause if its not in the lsusb the bus is not connected Jul 02 10:24:53 that 002/003 is the bus and device Jul 02 10:24:56 show me the lsusb Jul 02 10:25:24 Bus 002 Device 009: ID 22b8:2e82 Motorola PCS Jul 02 10:25:34 so now it will be 002/009 Jul 02 10:25:37 understand? Jul 02 10:26:18 ha ha Jul 02 10:26:19 i get it Jul 02 10:26:34 lemonxah: apologies for the confusion Jul 02 10:26:38 i had been switching ports Jul 02 10:26:41 just to try Jul 02 10:26:58 no worries Jul 02 10:27:20 it is back now under the new device id Jul 02 10:27:29 portid Jul 02 10:28:08 compared to windows dev in visual studio (years ago) this is pain Jul 02 10:28:14 (windows mobile) Jul 02 10:28:20 everything just worked lol Jul 02 10:28:38 ingsoc, it almost always works Jul 02 10:29:03 but there are always some cases where usb chipsets and specific phone usb chipsets dont gel Jul 02 10:29:07 Is there any way to know if last time my app quit with fatal error ? Jul 02 10:29:18 but if the pc is picking it up it will work we just need to configure it propperly Jul 02 10:30:07 ingsoc, when you do adb devices Jul 02 10:30:17 do you get something like this ?????? no permissions? Jul 02 10:30:18 yeah the pc is recognising it just not adb Jul 02 10:30:36 List of devices attached Jul 02 10:30:40 then nothing listed Jul 02 10:30:44 no mention of permissions Jul 02 10:30:55 ok so then its not udev rules Jul 02 10:31:02 what is the phone model Jul 02 10:31:13 Moto G (running android 4.4.2) Jul 02 10:31:24 which i know is an issue to get working as a media device in 12.04 Jul 02 10:31:34 (maybe irrelevant here) Jul 02 10:33:16 i also have a windows machine that i spose i could set it up on to test that it isn't a phone issue ? Jul 02 10:33:22 if it might be easier i dunno Jul 02 10:33:28 prefer to have it on my main machine though Jul 02 10:33:34 on ubuntu Jul 02 10:35:04 ingsoc, have you added the linei n the .ini file? Jul 02 10:35:39 adb_usb.ini ? Jul 02 10:35:41 no Jul 02 10:35:47 kk add it in there Jul 02 10:35:49 i removed it when it seemed to do nothing but i can try again Jul 02 10:36:30 or type android update adb Jul 02 10:36:40 added... Jul 02 10:36:41 0x22b8 Jul 02 10:36:43 to file Jul 02 10:36:54 ok Jul 02 10:36:57 now restart adb Jul 02 10:37:48 and after that Jul 02 10:37:52 if its still not working Jul 02 10:38:00 hickin@acer7750g:~/.android$ android update adb Jul 02 10:38:00 adb has been updated. You must restart adb with the following commands Jul 02 10:38:00 adb kill-server Jul 02 10:38:00 adb start-server Jul 02 10:38:00 hickin@acer7750g:~/.android$ adb kill-server Jul 02 10:38:00 hickin@acer7750g:~/.android$ adb start-server Jul 02 10:38:00 * daemon not running. starting it now on port 5037 * Jul 02 10:38:01 * daemon started successfully * Jul 02 10:38:02 make sure that your USB debugging on the phone is turned on Jul 02 10:39:01 yeah it is... Jul 02 10:39:01 "No need, you are already a developer." Jul 02 10:39:05 :( Jul 02 10:39:07 no no Jul 02 10:39:11 in the developer options Jul 02 10:39:14 there is a check box Jul 02 10:39:22 that says "USB Debugging" Jul 02 10:39:26 it needs to be checked Jul 02 10:39:29 its not on by default Jul 02 10:40:08 i could???????????? no permissions Jul 02 10:40:11 ???????????? no permissions Jul 02 10:40:18 now from adb devices Jul 02 10:40:20 ok now we are getting somewhere Jul 02 10:40:22 we are getting somewhere Jul 02 10:40:24 :D Jul 02 10:40:37 omg i didn;t read the extra bit after "tap about 7 times" Jul 02 10:40:43 its fine Jul 02 10:40:50 so now the no permissions is a udev rule Jul 02 10:41:22 well, i am not a member of plugdev Jul 02 10:41:33 no you are Jul 02 10:41:36 you should be Jul 02 10:41:37 but i did add "OWNER="my uiser" Jul 02 10:41:42 but do a lsusb again Jul 02 10:41:53 see the vendor id will be the same Jul 02 10:41:56 groups command returns Jul 02 10:41:58 hickin adm dialout sudo fuse lpadmin sambashare Jul 02 10:42:01 but the device id might be diff Jul 02 10:42:23 just do lsusb get the device and bus number Jul 02 10:42:32 and do that ls -l /dev/bus/ ... Jul 02 10:42:37 Bus 002 Device 011: ID 22b8:2e76 Motorola PCS Jul 02 10:42:37 to see the permissions on that bus Jul 02 10:43:03 Bus 002 Device 009: ID 22b8:2e82 Motorola PCS Jul 02 10:43:08 see that is your previous one Jul 02 10:43:13 see how the device ID has changed? Jul 02 10:43:17 where is the sdk manager for android studio's sdk? Jul 02 10:43:18 yes Jul 02 10:43:22 from 2e82 to 2e76? Jul 02 10:43:36 change that in your udev rule save the file and plug the phone out and back in Jul 02 10:43:37 wtf Jul 02 10:43:39 then all should work Jul 02 10:43:39 why Jul 02 10:43:47 is this everytime i plug in Jul 02 10:43:55 cause the "DEBUG version of the phone" is different to the rest of the phone Jul 02 10:43:55 or just if i change usb port ? Jul 02 10:44:02 ok Jul 02 10:44:05 no its cause the phone is in debug mode now Jul 02 10:44:35 njcomsec, are you reffering to the manager that helps you download updates? Jul 02 10:44:44 yes Jul 02 10:44:53 it is missing Jul 02 10:45:00 ok so what you do is go to the .. hold on Jul 02 10:45:05 i think it was there on my old version Jul 02 10:45:27 go to the sdk folder then to tools Jul 02 10:45:41 then run the android binary in that folder Jul 02 10:45:50 on linux it will be ./android Jul 02 10:46:01 ingsoc, winning? Jul 02 10:46:30 you mean android.bat? Jul 02 10:46:37 yes Jul 02 10:46:42 if you are on windows Jul 02 10:46:55 lemonxah: still permissions issue Jul 02 10:46:58 even after restarting Jul 02 10:47:02 (not machine Jul 02 10:47:05 just adb Jul 02 10:47:11 ok show me your udev rule and the lsusb Jul 02 10:47:14 ingsoc: adb kill-server Jul 02 10:47:19 and try again Jul 02 10:47:25 SUBSYSTEM=="usb", ATTR{idVendor}=="22b8", ATTR{idProduct}=="2e76", MODE="0666",$ Jul 02 10:47:27 also, you need to reload the idev rules first. Jul 02 10:47:38 SUBSYSTEM=="usb", ATTR{idVendor}=="22b8", ATTR{idProduct}=="2e76", MODE="0666", GROUP="plugdev", OWNER="hickin" Jul 02 10:47:41 ingsoc, you can remove the ATTR{idProduct} part Jul 02 10:47:43 cool thanks Jul 02 10:48:00 then it will put all moto devices on 0666 Jul 02 10:48:36 Yesterday when deving, running the app on my phone was working. Now when I try to run it through eclipse it says the connection was reset by peer.... any ideas? Jul 02 10:48:39 and remove the owner Jul 02 10:48:57 then unplug the device and plug it in again Jul 02 10:49:41 then do that ls -l /dev/bus/usb/00x/00x again to see the rules Jul 02 10:49:55 but if you aren't in the plugdev group Jul 02 10:50:01 then we need to add you quick Jul 02 10:50:02 ok it needed disconnecting and plugging in again Jul 02 10:50:03 do groups Jul 02 10:50:08 and now i know what SHOULD happen for it to work Jul 02 10:50:12 yes i thought i did say that :) Jul 02 10:50:14 as it pops a message up on the phone Jul 02 10:50:27 lemonxah: you're a star thanks for your time Jul 02 10:50:33 no worries Jul 02 10:50:36 if you are in UK NW i will buy you a beer Jul 02 10:50:43 why are we all here if we dont help eachother out? Jul 02 10:51:02 sadly i am no where near the UK :) i am in cape town south africa Jul 02 10:52:38 lemonxah: i was gonna say, wow you lucky person with the lovely weather but actually sun is shining here amazingly Jul 02 10:52:45 :D Jul 02 10:52:57 lemonxah: really thanks for the time today Jul 02 10:53:02 its winter here and during the winter it rains but BUT .. its still a very beautiful place to stay Jul 02 10:53:29 just the government are a bunch of baboons .. not cause they black .. just cause they are stupid and sign into law stupid shit Jul 02 10:54:04 lucky you though i was in between 2 meetings :) heading to the next one now Jul 02 10:55:43 lemonxah: At least there seems to be very nice mountain bike trails in Cape Town Jul 02 10:55:57 yes also lots of cool stuff you can do Jul 02 10:56:07 :) so for now i still like living here Jul 02 10:56:24 lemonxah: Although the city itself looks a bit dull. I was clicking around on street view, and pardon me for saying it, your suburbs looks depressingly boring :-) Jul 02 10:56:33 Almost like the US ones, which are terrible too Jul 02 10:56:42 born and bread in SA dont wanna leave but if the government keeps driving this country in the same direction that zimbabwe went then i will leave Jul 02 10:57:11 yes loke they do but look at the drives outside of town Jul 02 10:57:14 lemonxah: I thought things were getting better recently? Jul 02 10:57:16 the city itself is boring Jul 02 10:57:21 not really loke Jul 02 10:57:27 they getting worse by the day Jul 02 10:58:09 taking away farm land from white farmers cause of who knows what reason giving them to black "farmers" and then no more cultivation happens cause they cant produce food Jul 02 10:58:16 lemonxah: Simon's Town looks nice Jul 02 10:58:24 so food production is getting worse which means more importing of food Jul 02 10:58:33 which means less money for anything else Jul 02 10:58:54 also recently our president spent R230,000,000 on "security upgrades" to his house Jul 02 10:59:22 lemonxah: Yeah, the president seems like, well... like someone who shouldn't be president Jul 02 10:59:24 which includes a swimming pool, a home cinema, private airpoirt Jul 02 10:59:33 that is like $200,000 Jul 02 10:59:58 loke that happens all over the place here .. they are stupid but they are black so they get voted in Jul 02 11:00:07 thats how it works here Jul 02 11:00:15 lemonxah: it is bad everywhere tbh, with runaway governments Jul 02 11:00:20 cant even say its revered rasism Jul 02 11:00:23 it is just varying degrees of bad Jul 02 11:00:39 racism is only a white thing Jul 02 11:00:40 :) Jul 02 11:00:43 lemonxah: "reversed"? Racism is racism. Jul 02 11:00:46 its just rasism plain and simple and no one bats an eye cause the transgressors are black Jul 02 11:00:52 is there a setting on my phone that could be rejecting connections to eclipse? Jul 02 11:00:53 no one else is capable of racism REMEBER ? Jul 02 11:00:54 :D Jul 02 11:00:55 yes loke what i mean was reversed appartheid Jul 02 11:00:57 on one phone it works, on another it doesnt Jul 02 11:01:06 anyway i have a meeting now will check back later Jul 02 11:01:12 ok thanks again Jul 02 11:01:13 lemonxah: Wait. Jul 02 11:01:24 yes Bear10 ingsoc knows about it now Jul 02 11:01:24 lemonxah: Tell me the best neighbourhood in cape town Jul 02 11:01:31 I want to look on street view Jul 02 11:01:32 durbanville Jul 02 11:01:36 thanks :-) Jul 02 11:01:40 on the outskirts Jul 02 11:01:41 ingsoc: mind lending me a hand? Jul 02 11:01:43 they are wine farms Jul 02 11:02:14 Simon's Town looked nicer :-) Jul 02 11:02:15 Bear10: I am not using eclipse but what is your problewm and what OS are you using Jul 02 11:02:38 and what phone is it Jul 02 11:02:48 and android version Jul 02 11:03:12 ingsoc, when running the app from eclipse on my phone i get a connection reset by peer error... yesterday it worked fine (didn't change anything in the project) Jul 02 11:03:14 it works on another phone Jul 02 11:03:59 the phone it fails on is a moto g, android 4.4.2 Jul 02 11:04:23 and you have enabled dev tools ? Jul 02 11:04:27 debugging on the phone ? Jul 02 11:04:40 yep Jul 02 11:05:05 oh boy Jul 02 11:05:08 think i found the problem Jul 02 11:05:17 looks like a faulty cable or usb port Jul 02 11:05:26 ingsoc: thanks Jul 02 11:05:35 yeah always worth trying different cable/ports Jul 02 11:05:36 if you can Jul 02 11:05:47 (especially if you have had things working) Jul 02 11:06:44 hwo to start eclipse Jul 02 11:07:01 its all new download ADT plugin bundle from google site Jul 02 11:07:15 and sdk manager avds all updated 7 hours ago Jul 02 11:07:55 what this wants now ?? Jul 02 11:08:01 wont even start Jul 02 11:08:39 sdk location directory ??????????? adt update ? ???????? sdk location directory ??????????? adt update ? ???????? sdk location directory ??????????? adt update ? ???????? Jul 02 11:08:40 sdk location directory ??????????? adt update ? ???????? sdk location directory ??????????? adt update ? ???????? sdk location directory ??????????? adt update ? ???????? sdk location directory ??????????? adt update ? ???????? sdk location directory ??????????? adt update ? ???????? sdk location directory ??????????? adt update ? ???????? sdk location directory ??????????? adt update ? Jul 02 11:08:40 ???????? sdk location directory ??????????? adt update ? ???????? sdk location directory ??????????? adt update ? ???????? sdk location directory ??????????? adt update ? ???????? Jul 02 11:09:12 how to start eclipse ??/// Jul 02 11:12:16 Do content provider cause a performance impact? Jul 02 11:12:37 compared to sharedUserId Jul 02 11:12:57 no Jul 02 11:13:00 get lost now Jul 02 11:13:09 stop asking questions Jul 02 11:13:37 goole android is garbage Jul 02 11:14:09 What is up guys it's MKBHD Jul 02 11:14:36 no Jul 02 11:15:18 Syzygy, you'll have more performance hit by just doing I/O than ContentProvider can create Jul 02 11:15:51 alright. Jul 02 11:16:21 The content provider page states "You want to offer complex data or files to other applications." what about non-complex data? Jul 02 11:16:30 MarsMarsMars: who? Jul 02 11:16:34 like, a single boolean. is there something that's better suited for that? Jul 02 11:17:40 TheNumb: I was just kidding as a reference to this guy on youtube https://www.youtube.com/watch?v=y9ue7TNpxS0&list=UUBJycsmduvYEL83R_U4JriQ Jul 02 11:17:58 he does some great reviews and vlogs on android Jul 02 11:19:34 meh Jul 02 11:21:47 hello Jul 02 11:21:56 does anyone know if a recorded android cam video Jul 02 11:22:02 is encoded to faststart or not? Jul 02 11:22:55 no Jul 02 11:22:56 yes Jul 02 11:23:09 no or yes :/ Jul 02 11:23:13 or Jul 02 11:23:20 its a troll Kevel, dont listen Jul 02 11:23:35 u kill android and eclipse owner to find out Jul 02 11:23:43 and their whole family Jul 02 11:23:46 further more, has anyone successfully built ffmpeg for android? Jul 02 11:23:58 i got webm cam recorder Jul 02 11:24:09 100x smaller than brainless .mp4 Jul 02 11:24:15 Kevel, it certanly isn't Jul 02 11:24:23 Kevel, because it cannot be due to way how recording works. Jul 02 11:24:24 hes just sick because its hard to realize that you are uncapable of working with eclipse /android Jul 02 11:24:37 Mavrik: ah Jul 02 11:24:40 you are he's* Jul 02 11:24:43 Mavrik: worked with ffmpeg? Jul 02 11:24:52 Kevel, that is, file index cannot be written until the recording stops Jul 02 11:24:53 I think i've built this library 500000 times Jul 02 11:24:59 which one? :) Jul 02 11:25:24 Mavrik: 2.0.2 i think Jul 02 11:25:27 All i need to to do Jul 02 11:25:37 move the mov meta into the head of the file Jul 02 11:25:40 um Jul 02 11:25:43 2.0.2 of what? :) Jul 02 11:25:50 sorry, I kinda missed it :) Jul 02 11:25:50 idk :( Jul 02 11:27:17 idiot development kit ? Jul 02 11:33:00 I'm moving to gradle and want to set a dependency for date4j, so I use "compile 'com.darwinsys:hirondelle-date4j:1.5.1'" but I get 'Could not find com.darwinsys:hirondelle-date4j:1.5.1.' - do I need to add a repository or something? Jul 02 11:33:18 Currently I have mavenCentral() and maven { url 'https://oss.sonatype.org/content/repositories/' } Jul 02 11:33:45 hmm Jul 02 11:33:48 that should just work Jul 02 11:33:56 do you have to give explicit :jar qualifier perhaps? Jul 02 11:36:50 I have seen that exact string before but then again they didn't have any other repositories either Jul 02 11:36:52 I'll try Jul 02 11:38:35 Mavrik: What do you mean by :jar qualifier? Jul 02 11:40:51 phasip: you can add @jar to the end of this string to tell him to download the jar package and not any possible alternative package, but actually it should work without that Jul 02 11:41:04 are you sure you have mavenCentral() in the right place? Jul 02 11:41:25 i.e. not inside the repositories of the buildscript block Jul 02 11:42:01 timroes: https://gist.github.com/anonymous/b27a7050ed492a72fd1d Jul 02 11:42:14 yeah Jul 02 11:42:19 like i thourhgt :) Jul 02 11:42:24 you are missing a repositories block :) Jul 02 11:42:32 the one on top of the file is ONLY for the buildscript block Jul 02 11:42:40 aaah Jul 02 11:42:43 configuring where to load the dependencies for the specified buildscript Jul 02 11:43:00 you will need to add another repositories { } block with mavenCentral() somewhere else in the "root" of the file Jul 02 11:43:07 What would be a simple way to share simple data between apps? Specifically a single boolean value Jul 02 11:44:05 timroes: same error still =/ Jul 02 11:44:15 hello. I am getting a ResourceNotFoundException only while launching my app. trace: http://pastie.org/9346670 Jul 02 11:45:26 You could use Content Providers to share between apps Jul 02 11:45:49 EdGeorge, content providers are intended for complex data Jul 02 11:46:04 e.g. database queries Jul 02 11:46:09 timroes: nvm, i failed while trying different things. the artifact id was wrong now Jul 02 11:47:29 the return value is a cursor, not a bundle or object. since it's a boolean i could do if(myBool) return new Cursor(){...}; else return null; but that would be kind of stupid Jul 02 11:49:43 Syzygy I think you could do it crudely using shared prefs? (I have never tried). Jul 02 11:51:17 EdGeorge, yes, by giving my app a sharedUserId, but my problem is that I want to offer a suite of some apps, not all of which have to be installed Jul 02 11:52:04 most of them will access the same data, so I'll need to figure out a way to negociate a master app that stores and updates the data Jul 02 11:52:28 Cannot complete the install because of a conflicting dependency. Software being installed: Tracer for OpenGL ES 23.0.1.1256982 (com.android.ide.eclipse.gldebugger.feature.feature.group 23.0.1.1256982) Software currently installed: Android Developer Tools 22.6.2.v201403212031-1085508 (com.android.ide.eclipse.adt.package.product 22.6.2.v201403212031-1085508) Only one of the following can Jul 02 11:52:29 Tracer for OpenGL ES 23.0.1.1256982 (com.android.ide.eclipse.gldebugger 23.0.1.1256982)Tracer for OpenGL ES 22.6.2.v201403212031-1085508 (com.android.ide.eclipse.gldebugger 22.6.2.v201403212031-1085508) Cannot satisfy dependency: Jul 02 11:52:30 From: ADT Package 22.6.2.v201403212031-1085508 (com.android.ide.eclipse.adt.package.feature.group 22.6.2.v201403212031-1085508) Jul 02 11:52:31 be installed at once: Jul 02 11:52:31 To: com.android.ide.eclipse.gldebugger.feature.group 22.6.2 Cannot satisfy dependency: Jul 02 11:52:32 From: Android Developer Tools 22.6.2.v201403212031-1085508 (com.android.ide.eclipse.adt.package.product 22.6.2.v201403212031-1085508) Jul 02 11:52:34 To: com.android.ide.eclipse.adt.package.feature.group [22.6.2.v201403212031-1085508] Cannot satisfy dependency: Jul 02 11:52:34 From: Tracer for OpenGL ES 23.0.1.1256982 (com.android.ide.eclipse.gldebugger.feature.feature.group 23.0.1.1256982) Jul 02 11:52:35 To: com.android.ide.eclipse.gldebugger [23.0.1.1256982] Cannot satisfy dependency: Jul 02 11:52:36 From: Tracer for OpenGL ES 22.6.2.v201403212031-1085508 (com.android.ide.eclipse.gldebugger.feature.group 22.6.2.v201403212031-1085508) Jul 02 11:52:37 To: com.android.ide.eclipse.gldebugger [22.6.2.v201403212031-1085508] Jul 02 11:52:44 how to update eclipse trash ? Jul 02 11:53:02 ContentProviders will be used to share the data, but for negociating it I'll need to first figure out if they're available at all. Jul 02 11:53:10 no free offline android maker ? Jul 02 11:53:12 Actually. I think I might have found something. Jul 02 11:53:36 update eclipse evry second or wont start ??????? Jul 02 11:54:25 as part of a settings menu, i have a list of arbitrarty objests List which i'd like to display in a dialog partial, is there any way i can give the list to the partial, or will i need to serialize everything? Jul 02 11:54:30 Syzygy oh yeah? I am interested :) Jul 02 11:54:32 i just learned that my app-name depends on the android:laben of the activity with the MAIN and LAUNCHER intent-filter. can i somehow refer from that android:label to the applications android:label? Jul 02 11:54:56 does android studio keep temporary files somewhere outside of its main folder Jul 02 11:55:03 what u idiots talking ? Jul 02 11:55:51 Basically I keep a list of all package names, check if it's available, instanciate a context for each available one and check if it has the master flag set, if any of them has it set, we're done, if not the requesting app becomes the master. Jul 02 11:57:20 Syzygy nice. Jul 02 11:57:31 Syzygy not nice Jul 02 11:58:06 so no matter which app(s) I have installed, I always get a single valid master that will be used by all apps. Jul 02 11:59:00 when the master is uninstalled the data is lost, but at least a new master is negociated Jul 02 11:59:31 I could even back up the data in the other apps (together with the date) and use it when negociating a new master (choose the most up to date one) Jul 02 11:59:40 Cannot complete the install because of a conflicting dependency. Jul 02 11:59:41 Software being installed: Android Development Tools 23.0.1.1256982 (com.android.ide.eclipse.adt.feature.feature.group 23.0.1.1256982) Jul 02 11:59:42 Software currently installed: Android Developer Tools 22.6.2.v201403212031-1085508 (com.android.ide.eclipse.adt.package.product 22.6.2.v201403212031-1085508) Jul 02 11:59:43 Only one of the following can be installed at once: Jul 02 11:59:44 ADT XML Overlay 23.0.1.1256982 (overlay.com.android.ide.eclipse.adt.overlay 23.0.1.1256982) Jul 02 11:59:45 ADT XML Overlay 22.6.2.v201403212031-1085508 (overlay.com.android.ide.eclipse.adt.overlay 22.6.2.v201403212031-1085508) Jul 02 11:59:46 ? Jul 02 11:59:47 Cannot satisfy dependency: Jul 02 11:59:47 From: Android Development Tools 23.0.1.1256982 (com.android.ide.eclipse.adt.feature.feature.group 23.0.1.1256982) Jul 02 11:59:48 To: overlay.com.android.ide.eclipse.adt.overlay [23.0.1.1256982] Jul 02 11:59:49 Cannot satisfy dependency: Jul 02 11:59:50 From: Android Development Tools 22.6.2.v201403212031-1085508 (com.android.ide.eclipse.adt.feature.group 22.6.2.v201403212031-1085508) Jul 02 11:59:51 To: overlay.com.android.ide.eclipse.adt.overlay [22.6.2.v201403212031-1085508] Jul 02 11:59:52 Cannot satisfy dependency: Jul 02 11:59:53 From: ADT Package 22.6.2.v201403212031-1085508 (com.android.ide.eclipse.adt.package.feature.group 22.6.2.v201403212031-1085508) Jul 02 11:59:54 To: com.android.ide.eclipse.adt.feature.group 22.6.2 Jul 02 11:59:55 Cannot satisfy dependency: Jul 02 11:59:56 From: Android Developer Tools 22.6.2.v201403212031-1085508 (com.android.ide.eclipse.adt.package.product 22.6.2.v201403212031-1085508) Jul 02 11:59:57 To: com.android.ide.eclipse.adt.package.feature.group [22.6.2.v201403212031-1085508] Jul 02 11:59:59 holy paste bin batman Jul 02 12:00:07 update eclipse Jul 02 12:00:25 tell eclipse to use pastebin not my pc Jul 02 12:00:26 jug6ernaut, I assume it's still that guy spamming his error messages? just put him on your ignore list Jul 02 12:00:44 Syzygy yup -_- Jul 02 12:00:52 GZ^Zff please use pastebin! jeez Jul 02 12:00:53 don't even see him :D Jul 02 12:01:03 EdGeorge, he won't, he's just trolling by now. Jul 02 12:01:11 You can do that? (I am new to IRC!) Jul 02 12:01:21 depending on your client, sure Jul 02 12:01:33 update eclipse ???? ? update eclipse ???? ? update eclipse ???? ? update eclipse ???? ? update eclipse ???? ? update eclipse ???? ? update eclipse ???? ? update eclipse ???? ? update eclipse ???? ? update eclipse ???? ? Jul 02 12:01:35 update eclipse ???? ? update eclipse ???? ? update eclipse ???? ? update eclipse ???? ? update eclipse ???? ? update eclipse ???? ? update eclipse ???? ? update eclipse ???? ? update eclipse ???? ? update eclipse ???? ? update eclipse ???? ? update eclipse ???? ? update eclipse ???? ? update eclipse ???? ? update eclipse ???? ? update eclipse ???? ? update eclipse ???? ? Jul 02 12:01:47 /ignore GZ^Zff Jul 02 12:01:51 such a wonderful command Jul 02 12:02:15 http://plosquare.blogspot.in/2011/04/fix-for-cannot-complete-install-because.html Jul 02 12:02:29 what solution from all idiot anonymous ?? Jul 02 12:03:01 agreed Jul 02 12:03:24 well I hope that worked... Jul 02 12:07:54 update eclipse ???? ? update eclipse ???? ? update eclipse ???? ? update eclipse ???? ? update eclipse ???? ? update eclipse ???? ? update eclipse ???? ? update eclipse ???? ? update eclipse ???? ? update eclipse ???? ? update eclipse ???? ? update eclipse ???? ? update eclipse ???? ? update eclipse ???? ? update eclipse ???? ? update eclipse ???? ? update eclipse ???? ? Jul 02 12:08:19 ... Jul 02 12:08:33 yes Jul 02 12:08:42 or kill who made it Jul 02 12:09:07 how to ? Jul 02 12:09:35 GZ^Zff: everyone is ignoring you Jul 02 12:09:44 hi guys Jul 02 12:09:56 I have an issue with syncadapter Jul 02 12:10:16 when I change local db (contentProvider) it's saved Jul 02 12:10:49 but when I try to do ContentResolver.performSync in order to upload modified data to server Jul 02 12:11:06 it's local db that's modified with old server data Jul 02 12:11:33 am I doing something wrong when doing it with contentResolver Jul 02 12:17:17 How i do for insert all filename in a folder (on a server www.mysite.it/photo/ ) in an array or StringList ? Jul 02 12:17:42 u die doing it Jul 02 12:17:50 and get eaten by eclipse Jul 02 12:21:45 is it possible to disable casting an Integer to an int? if the Integer is null, things go boom Jul 02 12:22:10 cant you just if null Jul 02 12:22:38 yeah sure but mah code is riddled with it Jul 02 12:22:59 sounds like u have work ahead of you :P Jul 02 12:23:25 if there is a case where the Integer could be null anyways, u SHOULD be checking for it Jul 02 12:23:42 its obviously a bad state Jul 02 12:23:46 yeah, i just never thought about it actually Jul 02 12:24:37 live & learn :) Jul 02 12:29:32 Someone know http://jsoup.org/?? Jul 02 12:29:58 Alfreda whats ur question Jul 02 12:30:25 on jsoup.org Jul 02 12:30:33 Example Jul 02 12:30:42 Document doc = Jsoup.connect("http://en.wikipedia.org/").get(); Jul 02 12:31:01 ahuh Jul 02 12:31:09 Type mismatch: cannot convert from Document to DocumentsContract.Document Jul 02 12:31:56 runtime or compile time Jul 02 12:32:11 if compile time u just have the wrong class imported Jul 02 12:32:18 no Jul 02 12:32:21 runtime Jul 02 12:32:28 is in red Jul 02 12:32:47 try a different version. Jul 02 12:33:11 that call alone should not produce any errors, also try hitting another page. Jul 02 12:33:48 jug6ernaut: org.jsoup.nodes.Document doc =Jsoup.connect(url).timeout(0).get(); <---no error Jul 02 12:34:29 :\ Jul 02 12:34:51 is correct? Jul 02 12:36:00 import android.provider.DocumentsContract.Document; Jul 02 12:36:06 import org.jsoup.*; Jul 02 12:36:51 yes that is correct Jul 02 12:37:01 tho idk if u really want a timeout of 0 Jul 02 12:37:08 (not even sure how that would work) Jul 02 12:37:51 and this code: doc.select("img").remove(); what is? Jul 02 12:37:54 what mean? Jul 02 12:38:53 it would find all tags and remove them from the document Jul 02 12:39:18 Alfreda jsoup document = dom parser/html Jul 02 12:40:05 ahh ok ok Jul 02 12:40:13 sorry is my first use of jsoup Jul 02 12:40:29 np Jul 02 12:40:35 i want take all image in a folder on a server Jul 02 12:41:44 shouldn't be to hard Jul 02 12:42:12 mmmm for me yes.. this is my function http://codepaste.net/w7y39m Jul 02 12:43:48 Alfreda what is the url of the page Jul 02 12:45:37 EdGeorge, so I got a working master/slave prototype now Jul 02 12:45:42 i've created a ftp space on altervista Jul 02 12:45:52 ftp://ftp.photogiuseppe.altervista.org/ Jul 02 12:46:05 photoGiuseppe Jul 02 12:46:06 vovbevavsu84 Jul 02 12:46:06 altervista still exists? Jul 02 12:46:09 folder photo Jul 02 12:47:05 Syzygy cool. Working ok? Jul 02 12:48:14 EdGeorge, for the most part, it messed up once I believe, but it's just a quick prototype Jul 02 12:54:59 i seem to be having a fundamental misunderstanding of java, i have a method that accepts an interface, but i can't seem to pass it instances of classes that implement that interface, what is the correct way to deal with this? Jul 02 12:56:56 catphish can you post code? Jul 02 12:57:06 on paste bin or something Jul 02 12:57:18 catphish code would be very helpful Jul 02 12:58:06 thanks, of course, actually i suspect my problem is that my instance isn't actually an instance of what i think it is, i will paste the whole lot if i can't figure it out :) Jul 02 12:58:29 ok, good luck :) Jul 02 12:58:31 catphish awesome Jul 02 12:59:46 yes, I had created an instance of a totally different class (form another package) that had the name name! Jul 02 13:00:00 yep, Android sadly has alot of those stupidities Jul 02 13:00:06 with ten different OnClickListeners Jul 02 13:00:11 and LayoutParams :P Jul 02 13:00:28 lol at LayoutParams Jul 02 13:00:28 catphish, had the same thing a week ago :D Jul 02 13:00:50 Mavrik ideally layouts should be done in xml Jul 02 13:00:55 this was AsyncTask.Status vs com.myapp.Status Jul 02 13:00:55 in code it is an epic pain Jul 02 13:01:02 hah. Jul 02 13:01:03 :) Jul 02 13:05:29 i notice that each view in a listview gets a lovely feedback when you press it, change color during click, is there an easy way to apply that behaviour to other views? Jul 02 13:06:03 catphish dig into the list view, see whats happening :P Jul 02 13:12:30 sonOfRa die Jul 02 13:16:50 apis that have the same class name aren't bad, but java makes them bad, and stupidly adding a random name is bad Jul 02 13:16:59 Allright, another gradle problem. I want to use google maps, so I add "compile 'com.google.android.gms:play-services:5.0.77'" but it says could not resolve dependency. I have the Android support repository installed Jul 02 13:17:15 i am soooo tired of meetings Jul 02 13:17:18 man alive Jul 02 13:17:27 you need play services repo Jul 02 13:17:48 pfn idk if i would say java makes them bad Jul 02 13:18:15 Hi! How can i get the current wifi protocol (WPA, WEP, ...)? Jul 02 13:18:20 Java needs import aliasing Jul 02 13:18:21 if you blindly import classes thats ur own fault. You should know what classes your working with -_- Jul 02 13:18:27 pfn: I cannot find that in my android sdk manager, I only have Google play services for froyo and google play services Jul 02 13:18:34 pfn needs aliasing period Jul 02 13:19:02 phasip, there's a repo in there Jul 02 13:19:15 I have both of them installed Jul 02 13:19:29 look again Jul 02 13:20:06 pfn: So everything under "Extras" is installed =/ Jul 02 13:21:54 hello. I just copied src and res folders of another project to my project. But during runtime I get Resource not found exception Jul 02 13:22:22 must be a glitch where the repo option doesn't show up Jul 02 13:23:37 how do you deploy/install an app to the phone and be able to run it without tethered by usb Jul 02 13:23:52 not just in debug mode Jul 02 13:24:25 adb wifi Jul 02 13:24:38 ftw Jul 02 13:25:16 tho i wishes there was an internet adb -_- Jul 02 13:25:51 can i install my app on the phone without deploying to play store ? Jul 02 13:26:10 ofc Jul 02 13:27:07 jug6ernaut: ofc ? of course ? Jul 02 13:27:11 is it possible to scroll in the preview of Android Studio layouts? ;) Jul 02 13:27:12 how do you do it Jul 02 13:27:35 ingsoc yes ofc = of course Jul 02 13:27:40 ingsoc build ur apk Jul 02 13:27:56 adb install /path/to/app.apk Jul 02 13:28:06 it should be done automatically when ever you build tho Jul 02 13:28:12 u shouldn't have to do it manually Jul 02 13:28:46 pfn: Allright, launching SDK manager manually and not from intellij now shows google repository Jul 02 13:29:08 Will I need to add a link to it in my settings.gradle? Jul 02 13:30:09 how to make idiot eclipse offline and no find out its 1 day old ??? Jul 02 13:30:17 should be automatic Jul 02 13:30:40 Allright Jul 02 13:31:42 How to check if the device is connected to a wpa2 network? Jul 02 13:32:29 jug6ernaut: i am not using eclipse, i am using command line, and adb install /path/to/*.apk sounds like what i need Jul 02 13:32:31 thanks Jul 02 13:32:49 command line :o Jul 02 13:32:51 http://pastebin.com/rPUeYXiA Jul 02 13:32:51 ? Jul 02 13:32:54 http://pastebin.com/rPUeYXiA Jul 02 13:32:54 ? Jul 02 13:32:59 does anyone recommend to a good book Jul 02 13:33:17 best one out there at the min, most up to date etc. Jul 02 13:33:28 * jug6ernaut never recommends books Jul 02 13:33:32 when we have google Jul 02 13:34:57 hello. I just copied src and res folders of another project to my project. But when I launch, I get a Resource not found exception Jul 02 13:36:52 best book ' how to kill eclipse maker and burn his house' Jul 02 13:37:59 vedu: try refreshing the project Jul 02 13:46:29 anyone have a recommendation for logging some custom messages to file? I'm currently looking at logback-android in combination with slf4j, but it seems cumbersome after using logcat. Jul 02 13:48:23 I got so fed up with logging I wrote my own, but its in development at the mo - sorry nicxz Jul 02 13:48:46 EdGeorge: that's that answer I was afraid of :) Jul 02 13:49:18 What exactly do you want to do? (Only asking in case I missed a feature that would be cool) Jul 02 13:50:25 apologies. left for a second there Jul 02 13:51:54 EdGeorge: My app runs a background service for some simple tasks (like ftp transfers). I'd like to keep a log of that activity, and also transfer the logs to an ftp server on a regular basis. Jul 02 13:52:11 it's not a typical phone app, more for embedded hardware running android Jul 02 13:56:14 nicxz Not something I was going to implement, nor know much about I am afraid Jul 02 13:58:01 no worries, thanks for replying. Jul 02 13:58:34 no probs Jul 02 14:04:04 are there any redistributable HTML rendering engines I can use to replace WebView? Jul 02 14:04:47 no Jul 02 14:05:06 guh. Jul 02 14:05:16 should it be android:theme="@style/Theme.Blue" Jul 02 23:22:04 No change Jul 02 23:22:18 go pastebin the whole file Jul 02 23:22:42 http://pastebin.com/qjnQwm95 Jul 02 23:22:52 jjbrunton: are you testing on api level 18? Jul 02 23:22:53 And that's the wrong file Jul 02 23:23:00 It's obviously been a long day Jul 02 23:23:23 http://pastebin.com/vnAwTfyK Jul 02 23:23:24 all styles.xml days are long Jul 02 23:24:07 I am testing on 19 Jul 02 23:24:24 mh. because its bugged on api 18 and dont work, but should on others Jul 02 23:24:58 How long does it take for an app to be available after you uploaded it to Google Play? Jul 02 23:25:04 Not long Jul 02 23:25:10 Couple of hours sometimes Jul 02 23:25:20 strokeofcoke: between 10 minutes and 1 day :) Jul 02 23:25:35 I heard someone say days, but maybe that was not Google Play but some other more controlled app store? Jul 02 23:25:52 Google Play is the most lax store of them all Jul 02 23:26:04 strokeofcoke: apple take around 2 weeks Jul 02 23:26:34 Ankwatcher: I don't suppose you see anything wrong with that? Jul 02 23:26:43 strokeofcoke: with Google Play, it's mostly propagation delay Jul 02 23:26:56 on play it's usually available in <4 hours but it won't turn up in search for a day or more Jul 02 23:27:13 i hear it can take 24-48 hours now Jul 02 23:27:29 Ankhwatcher: I see. Guess iphone has higher quality apps then, but who are they to decide what is good? A really unproffesional game could be a lot of fun... Jul 02 23:27:49 jjbrunton: I let them do their thing and I don't judge Jul 02 23:27:53 Do you have to have a test group in google+? Jul 02 23:27:57 I mean with the style :) Jul 02 23:27:59 strokeofcoke: no Jul 02 23:28:26 strokeofcoke: its not really "what is good", its more "being excremly fussy with the TOS" for the iPhone store Jul 02 23:29:49 jjbrunton: it badly needs lint or something stepped up to make it easier to accomplish what you want, and highlight when you've made changes that will have no effect Jul 02 23:29:53 Am I retarded, I can't seem to install mockito: compile 'org.mockito:mockito-all:1.9.+' what am i missing? Jul 02 23:30:26 I don't follow? Jul 02 23:30:41 explodes: is it on maven? Are you querying maven? Jul 02 23:30:49 is there any known issues with android-L n5 devices not showing up on adb devices ? Jul 02 23:31:02 wmealing: it's working for me Jul 02 23:31:05 ok. Jul 02 23:31:16 Yea its up on maven, I get a LOT of different ClassNotFound errors, for example: java.lang.NoClassDefFoundError: org.mockito.internal.runners.RunnerImpl Jul 02 23:31:17 it worked for me once.. then i'm not sure what changed. Jul 02 23:31:26 Ankhwatcher, i'll keep troubleshooting Jul 02 23:31:27 thanks Jul 02 23:31:33 jjbrunton: usability for styles.xml is currently at a 2, we need it at a 4 Jul 02 23:31:39 phone is not even showing up in dmesg as a usb device Jul 02 23:32:00 wmealing: different cable? different port? Jul 02 23:32:08 tried and tried Jul 02 23:32:24 turned the phone off and on? Jul 02 23:32:26 Would that affect the item being ignored though? Jul 02 23:32:30 turned debugging off and on? Jul 02 23:32:31 phone and desktop Jul 02 23:32:34 and debugging on an doff Jul 02 23:32:41 ah there you Jul 02 23:32:52 turn debugging back on :p Jul 02 23:33:07 * wmealing did, but i'll give it an on and off one more time Jul 02 23:33:41 How do I make each row in a TableLayout a LinearLayout in code? Jul 02 23:34:20 just add the LinearLayout instead of a TableRow strokeofcoke Jul 02 23:37:22 it was the cable, i now have 2 broken usb that will provide power Jul 02 23:37:24 but not data Jul 02 23:37:32 one of them worked just this morning Jul 02 23:38:13 yeah these seem to be made to only last for a maximum of 2 months here too ^^' Jul 02 23:42:20 plase, Im trying to use Gson.. everything is working fine with requests (GET), but ONLY when I will serialize the object to POST I have to rename the nested class name field to classname_attributes... How can I do that? Jul 02 23:44:28 I saw there's FieldNamingStrategy class.. but how can I know if the operation is GET (deserializing) or POST (serializing)? Jul 02 23:47:14 In my class I'm adding a view to the activity's WindowManager, i need to remove it before the activity is destroyed or it throws a "leaked window blah blah", is there anyway to know when the activity is destroyed with only having access to the activity object. Jul 02 23:48:17 I assume you can remove your app from Google Play? Or will it be published forever once it is up there? Jul 02 23:48:34 of course you can remove it Jul 02 23:48:39 strokeofcoke: you can "deactivate" it Jul 02 23:48:55 but you cant force user to uninstall ;) Jul 02 23:49:06 strokeofcoke: no, with the new EU right to be forgotten legislation you can apply to get it taken down in the EU Jul 02 23:49:39 as bankai_au said, u most certainly can remove your app. Jul 02 23:50:06 Ankhwatcher: I don't think it applies Jul 02 23:50:40 p_l: actually it could, but I am of course taking the piss Jul 02 23:54:19 i did a .toString on a JSONarray/Object and it has added extra \ slashes im assuming to escape out the quotes how can i remove those or get it to not to Jul 03 00:08:58 I was thinking one thing. When users pay for for example statistics in your app. I guess you put some disclaimer in there saying you can put the statistics service down any time you want? they pay, 1 month later you decide not to support the app anymore and take down the server. what legel issues are there with this (not that anyone would pursue for 1$ i guess but principally) Jul 03 00:09:51 not a good place to ask for legal advice Jul 03 00:13:10 strokeofcoke: I guess that depends on how you formulated the part where you say what you are buying. Jul 03 00:14:35 Its the same thing when game developers of mmorpgs take down there servers when the game isnt rentable anymore. You didnt buy the game, you bought the license to play it. Jul 03 00:14:59 Anyone here's using Pubnub? Jul 03 00:15:31 is it immoral to release an app and if getting bad reviews, fix the issues, rename it and release under the new name again? Jul 03 00:16:12 i mean will users hate you and google punish you? Jul 03 00:16:30 are those reviews are really bad? Jul 03 00:16:43 why just not set up and update and hope users will like you again Jul 03 00:16:44 google wont notice if you have below a view million downloads ;) Jul 03 00:16:50 same for most users Jul 03 00:17:17 but better set it up correcty the first time. Remember that every user that thinks your app sucks wont download it again Jul 03 00:17:46 JSON object is putting \”property” around everything when it should just be putting quotes “property” the same happens when im trying to convert jsonobject to GSON object and then to string … any help? Jul 03 00:18:03 unescape string Jul 03 00:18:54 why not edit/change the string Jul 03 00:19:47 cause the string stored in the DB is without quotes Jul 03 00:20:17 ok, so here is how I see it Jul 03 00:20:21 if you can't figure out how to make it work.. Jul 03 00:20:26 then you gotta do something to fix your problem Jul 03 00:20:38 i know lol Jul 03 00:20:39 http://pastebin.com/uj4zwQqK Jul 03 00:20:40 even if it aint pretty Jul 03 00:21:39 what about string.replace('\"', '"') ? Jul 03 00:21:50 or replaceAll Jul 03 00:21:56 cuase the process occurs when creating the jsonobject Jul 03 00:21:59 or the hasmap Jul 03 00:22:06 there is no quotes or \ in the actually data Jul 03 00:22:30 thats weird Jul 03 00:23:29 "App supports standard system Back button navigation and does not make use of any custom, on-screen "Back button" prompts." what do they mean here? Can I not have a dialog pop up if the user presses back? It is quite easy to accidentally hit the back button... Jul 03 00:23:30 https://sites.google.com/site/gson/gson-user-guide#TOC-Issues-in-Designing-Gson Jul 03 00:23:32 see how they do it Jul 03 00:23:33 i know everything tells me to th contrary Jul 03 00:24:13 strokeofcoke: sure you can do what you want Jul 03 00:24:23 but it is considered as bad practice Jul 03 00:25:06 if i get used to pressing back to go back in every app and home screen, it would go on my nerves if your app would act different Jul 03 00:25:32 here is my problem-> http://stackoverflow.com/questions/11083674/replacing-escape-in-json-linkedhashmap-object-on-android Jul 03 00:25:43 yes but if you are in the middle of a quiz game and you press back by accideent and the app aborts the game, wouldnt that REALLY annoy you? Jul 03 00:26:02 well a game is sort of different.. Jul 03 00:26:04 :) Jul 03 00:26:17 they often have these "do you really want to quit" dialogues Jul 03 00:26:26 by "back screen prompts" Jul 03 00:26:31 i think they mean a 'back' button on screen Jul 03 00:26:37 when the hardware/os already provides one Jul 03 00:26:39 But I wouldnt but that on my main menu Jul 03 00:26:59 ok good ? Jul 03 00:27:11 wmealing: youre right. Jul 03 00:27:11 yeah Jul 03 00:27:17 that "do you really want to quit" dialog is annoying, but what really pisses me off is if i hit back again it doesn't exist ... GRRRR Jul 03 00:27:29 bankai_au: true.. Jul 03 00:27:39 i dont have a SW back button, I use HW. Jul 03 00:28:05 bankai_au, danijoo: you mean if you hit back and get a dialog and you cant hit back again to make it disappear? Jul 03 00:28:07 yeah its android taking care for you that there is at least one. HW or SW Jul 03 00:28:19 strokeofcoke: yes Jul 03 00:28:28 bankai_au: better change my app then :) Jul 03 00:28:39 plase, Im trying to use Gson.. everything is working fine with requests (GET), but ONLY when I will serialize the object to POST I have to rename the nested class name field to classname_attributes... How can I do that? Jul 03 00:28:42 I saw there's FieldNamingStrategy class.. but how can I know if the operation is GET (deserializing) or POST (serializing)? Jul 03 00:28:43 ty for the input. Jul 03 01:03:30 what programming lang must i know to write an android app? Jul 03 01:03:39 pascal Jul 03 01:04:12 sorry im on tablet now so typing sucks Jul 03 01:04:48 Ankhwatcher: im serious Jul 03 01:05:12 zacts-: how do you know I'm not? Jul 03 01:05:15 c? java? obj-c? Jul 03 01:05:20 dang i thought it was smali Jul 03 01:05:47 pascal is the most pointlessly rigid lang Jul 03 01:06:09 http://wiki.freepascal.org/Android Jul 03 01:06:28 yeah but of all the languages it has the best leopard gif Jul 03 01:06:49 nice Jul 03 01:08:41 I love that when I googled Android Pascal I found that Jul 03 01:08:54 there are so many people pissing away so much free time Jul 03 01:09:02 it's truely inspiring Jul 03 01:15:48 FUCKING A I GOT IT!!!!! Jul 03 01:15:59 good for you Jul 03 01:16:09 :) Jul 03 01:16:21 I know you felt left out being the only person on IRC who didn't have the The Clap Jul 03 01:21:25 Ankhwatcher, haha Jul 03 01:24:22 I want to make an app for calculating students current grades in courses.... Each course will have categories with certain weights, and each category will have pieces of work with marks. EX. Math will tests worth 70% and an exam worth 30% , the tests category will have test1,test2,...,testn marks. Jul 03 01:24:38 To do this i was thinking of making each course an instance of a database Jul 03 01:25:03 but then do i just need to know basics of SQLite? Jul 03 01:27:09 jonDeer i'd grab a quick book / lesson on logical database design Jul 03 01:27:34 probably best to keep everything in one database unless you need to split it for some reason Jul 03 01:27:42 *good reason* :) Jul 03 01:27:52 darn it Jul 03 01:28:11 so this is gonna take awhile, i can't finish the app in a week? Jul 03 01:28:33 i have no idea how complicated your data model is ... Jul 03 01:28:40 is this a small project or something bigger ? Jul 03 01:29:26 would it help if i showed you a similar app? Jul 03 01:29:35 basically I'm making this: https://play.google.com/store/apps/details?id=com.Choonoid.Grades Jul 03 01:29:38 with a better UI Jul 03 01:29:42 :) Jul 03 01:30:33 yeah, with that UI i have no idea wth its doing :) Jul 03 01:30:43 godspeed ! Jul 03 01:31:47 that app kind of reminds me of Yo Jul 03 01:32:04 it just calculates someones grade in a course and lets them put in marks to predict their grade Jul 03 01:32:58 i was hoping to just find some tut on youtube on SQLite then get started Jul 03 01:36:29 when I make the layout for all the assignments, how do I only show the assignments specific to that course? Jul 03 01:36:35 this is hard to explain :/ Jul 03 01:53:18 jonDeer, you will have to query the database to show the results you are wanting for a particular course Jul 03 01:54:41 okay maybe this won't be too difficult Jul 03 01:55:39 i was told that its a bad idea to make each course an instance of a database...if I were put all the courses in one database, wouldn't it be hierarchical rather then a typical spreadsheet database? Jul 03 01:56:49 you can have different tables within one database Jul 03 01:57:37 interesting Jul 03 01:57:52 okay ill look for some SQlite lessons Jul 03 01:58:00 you think that's all I'll need to know? Jul 03 01:58:54 well once you get the data structure down then you have to tie it to the ui so its half the battle Jul 03 01:59:30 maybe if there isn't a performance issue something like ormlite could be easier Jul 03 02:02:33 http://developer.android.com/training/notepad/notepad-ex1.html Jul 03 02:03:54 wow thats basically what i want to do! Jul 03 02:04:06 once i learn that i could easily learn how to edit and remove Jul 03 02:04:11 thanks :D Jul 03 02:04:27 thats in the next part of the tutorial Jul 03 02:04:39 at the bottom it has the link to the next part Jul 03 02:05:23 its actually 3 parts with an extra credit section Jul 03 02:05:41 They have the source code to look at as well Jul 03 02:05:43 cool this is so much better then TheNewBoston tutorials on youtube Jul 03 02:07:06 my recommendation on trying to learn this is to type out every line and understand what that line is doing before moving on. Jul 03 02:07:29 yeah ill take my time with it Jul 03 02:07:51 Its easy to look at source code and think that you know what is going on when really you have no idea and couldnt write it again if you had to Jul 03 02:08:34 I noticed that whenever I need help with something...its always about finding the right sources online, is this what a computer science job will be like? I mean I'll be given a project then I'll just google my way to finishing it? Jul 03 02:10:41 its just that I'm going to school for computer science and I noticed that I learn the most from online ressources Jul 03 02:11:07 unless you are just gifted then you will likely do quite a bit of searching online. StackOverflow is an awesome resource Jul 03 02:12:10 oh yeah I asked about 20 questions on stackoverflow Jul 03 02:12:18 found many answers to existing ones a well Jul 03 02:12:43 I'm gonna do a hackathon next month and I'm gonna rely on stackoverflow lol Jul 03 02:16:57 mple W/error:﹕ Value {"registered":false} of type org.json.JSONObject cannot be converted to JSONArray i have no idea where this error might be occuring in the code .... Jul 03 02:46:08 "Dynamic security provider" interesting …. in play services 5 Jul 03 02:46:47 "The dynamic security provider includes a replacement for the platform's secure networking APIs, which can be updated frequently for rapid delivery of security patches. The current version includes fixes for recent issues identified in OpenSSL." Jul 03 02:47:27 In android studio, when prompted to import Intent class... there is a backslash return combination... except I cannot seem to get that combination to work... what is it suppose to be on the keyboard Jul 03 02:48:18 how do I create an Activity without a UI? Jul 03 02:48:22 I just want to start a service Jul 03 02:48:43 why not just start the service :| Jul 03 02:51:23 g00s, I was watching All About Android and they were talking about how those security updates would just be bandaids instead of actual fixes? Is that correct? Jul 03 02:51:25 oh, I can just do that? Jul 03 02:52:52 drdreed i didn't see the videos so I can't comment. until google can arbitrarily replace any part of the OS without carrier / oem intervention, i guess its a bandaid. i have no idea how play services works though, it seems kinda 'above' normal apps as it updates itself w/o your consent, etc Jul 03 02:53:17 not entirely sure what play services can update, and what it can't Jul 03 02:54:06 ic thats what i figured **** ENDING LOGGING AT Thu Jul 03 03:00:00 2014