**** BEGIN LOGGING AT Sun Feb 02 02:59:59 2014 Feb 02 03:12:33 sit Feb 02 03:16:47 [D:\drive\Projects\TestButtonCricle\app\src\main\AndroidManifest.xml, D:\drive\Projects\TestButtonCricle\app\build\exploded-bundles\ComF2prateekProgressbuttonProgressbutton201.aar\AndroidManifest.xml:3] Main manifest has Feb 02 03:16:48 but library uses targetSdkVersion='19' Feb 02 03:16:59 any idea ? Feb 02 03:18:27 change it to 19 Feb 02 03:18:43 i wouldn't expect a manifest in a directory "TestButtonCricle" to not have mistakes Feb 02 03:23:31 heh Feb 02 03:23:41 ok it wanst there but in gradle file Feb 02 03:28:16 where would the best place to setup a once a day alarm? register an onboot receiver? Feb 02 03:29:57 are there any light keyboard that allow two language intput Feb 02 03:31:10 What do you mean? Feb 02 03:31:28 well the sense keyboard for htc one vx take like 20 or 30 mb of ram and so choppy Feb 02 03:31:33 is there a smaller alternative Feb 02 03:31:41 i also type in english and spanish sometimes at the same time Feb 02 03:31:45 i need it to recognize both Feb 02 03:32:55 The default android keyboard? I don't know how much memory it consumes though, or how easy it is to enable on a non-plain-android phone Feb 02 03:33:16 sadly this phone has no aosp roms Feb 02 03:33:43 also stock keyboard doesn't do two languages at a time Feb 02 03:34:02 Hi all, Good Morning Feb 02 03:34:21 raspberrypifan: http://www.androidpolice.com/2013/06/05/new-app-google-adds-stock-android-keyboard-to-google-play-for-all-4-0-devices/ Feb 02 03:35:05 Also, I don't know how sense does it, but on my nexus, the stock keyboard can switch between languages as the touch of a button Feb 02 03:35:43 yea but i awnna be able to do it instantly. sense does it well but its to heavy. on my other phone i had mokee os and that had the sony keyboard and that worked awesome Feb 02 03:36:46 What do you mean by "instantly"? You want it to recognize the context and decide automatically what language you're wanting to type in? Feb 02 03:37:22 Help, downloaded Android-Studio project, imported it, show warning in Gradle .. : Failed to refresh Gradle project Could not find any version that matches com.google.android.gms:play-services:4.0.+. Feb 02 03:37:30 simpler then that show me what words match it or similar in two languages Feb 02 03:37:36 i mean a lot of keyboards do that Feb 02 03:37:38 but there to heavy Feb 02 03:37:47 and i try to underclock my phone Feb 02 03:37:51 and its too choppy Feb 02 03:38:04 what causes an activity to be persisted/destroyed? because I have an activity that spawns a child, and then mysteriously gets destroyed for no reason after that Feb 02 03:38:40 also it can't resolve $buildDir/native-libs Feb 02 03:39:03 do I have to make env variable with same name Feb 02 03:40:28 shader: any activity that is not currently on the screen can be destroyed by the os to free up recources. Also, you haven't enabled the developer option to destroy all activities, have you? Feb 02 03:41:30 I don't think so... Feb 02 03:41:40 anyway, it should be fine if my save/restore state was working properly Feb 02 03:41:57 for whatever reason though the bundle is coming back null in the onCreate handler Feb 02 03:44:10 Thorbear: any idea why my Bundle isn't getting saved/loaded? Feb 02 03:44:35 Not really, sorry :) Feb 02 03:44:42 hmm Feb 02 03:49:44 whats an easish guide to building a custom rom Feb 02 03:59:38 so is there any obvious reason why no state would be loaded during onCreate when the activity had just saved it in onSaveInstanceState? Feb 02 04:05:54 does anyone used android kitchen Feb 02 04:09:23 ok, maybe this will help: the data seems to be saved through orientation changes, but not through background timeouts while another activity from the same app is running Feb 02 04:09:50 Thorbear: anything I can do about that? Feb 02 04:11:39 shader: did you call the super onSaveInstanceState ? Feb 02 04:11:46 yes Feb 02 04:11:51 it works fine for orientation changes Feb 02 04:12:34 but going forward a screen and waiting 10secs and going back again, there is no saved state even though the onSaveInstanceState was called Feb 02 04:13:00 bankai_: is there maybe a manifest setting I need to change? Feb 02 04:13:15 Help, downloaded Android-Studio project, imported it, show warning in Gradle .. : Failed to refresh Gradle project Could not find any version that matches com.google.android.gms:play-services:4.0.+. Feb 02 04:13:17 also it can't resolve $buildDir/native-libs Feb 02 04:13:21 do I have to make env variable with same name Feb 02 04:28:58 is anyone here familiar with doing regex on sqlite? Feb 02 04:40:04 Hello everyone. I was wondering if there were any experienced developers out there who may be able to help me out with an issue a client of mine is facing. They are wanting to use dedicated android devices to hand out to research subjects. They only want there app to be accessible (since they are providing the devices) so I am trying to disable the Home button to prevent users from Feb 02 04:40:04 getting access to other parts of the OS/phone. I am having problems trying to block the home button on Android API 19. Anyone been successful with a similar effort? Feb 02 04:40:22 why block home button? Feb 02 04:41:00 schwartz86: best way to is to create your own launcher Feb 02 04:41:19 You mean a seperate application to launch the main app? Feb 02 04:41:55 sorta, yeah Feb 02 04:43:09 well, can you elaborate a bit? I tried setting the intent-filters to set the main application as the HOME activity, but that doesn't seem to be working Feb 02 04:46:41 XXCoder: the reason I need to block the home screen is to prevent users from access other parts of the phone/making calls/whatever Feb 02 04:47:29 does anyone dev on os x Feb 02 04:50:49 schwartz86: actually depending on the device/version you could use kiosk mode Feb 02 04:53:34 its a samsung galaxy s3 mini. I'm unfamiliar with kiosk mode Feb 02 04:54:49 Are you referring to the SureLock app? Feb 02 04:57:12 that's one way, but there's a native kiosk function Feb 02 04:58:46 cool, I'll ask google for more details Feb 02 04:59:15 will that block access to the app store/prevent incoming/outgoing calls as well? Feb 02 05:03:05 I wouldnt see why you couldnt force airplane mode, or use anycut to turn off cell signal. Feb 02 05:05:09 Spz0: Good thought, only problem is app periodically posts/receives data from server Feb 02 05:05:21 I believe airplane mode would prevent external access to Internet right? Feb 02 05:07:20 so does anyone know why my onSaveInstanceState bundle gets correctly saved when I reorient the screen, but not when I merely navigate forward one activity and then back again? Feb 02 05:07:50 the onSaveInstanceState handler is being called, but after the activity is destroyed and recreated it doesn't receive any instance data Feb 02 05:08:00 the savedInstanceState bundle is still null Feb 02 05:16:12 can you show some code? Feb 02 05:20:28 I would, but it's getting really late Feb 02 05:21:01 I think my problem is in how the 'up' action works Feb 02 05:21:15 either in the back button or the action bar from the child window seems to be resetting the activity Feb 02 05:21:25 I got a temp workaround by making the variable static... Feb 02 05:21:32 but that isn't a very good long run idea Feb 02 05:24:09 I wanted to know how to display images like IBT he 9gag app...where there are Boxes and the images are inside them Feb 02 05:25:59 You guys see this before? http://paste2.org/83WI4jmP Feb 02 05:26:07 I'm trying to edit an xml file Feb 02 05:30:36 I found on stackoverflow to run eclipse -clean but would like to know what caused it Feb 02 05:31:20 Does anyone here know a lot about in app billing? Feb 02 05:32:09 http://developer.android.com/google/play/billing/billing_overview.html Feb 02 05:32:23 Well I wanted to know something else Feb 02 05:32:34 how someone might theoreticly do what I'm thinking of Feb 02 05:33:07 I was thinking of using in app billing to get a redemption code. Which you can redeem on another device. Feb 02 05:33:32 I mean I can use that token but I wouldn't want to do that for security reasons Feb 02 05:33:35 and its too long to type Feb 02 05:33:44 So I was wondering how would someone do that? Feb 02 05:34:00 The only way I can think of is using my own server to generate a redemption code Feb 02 05:34:03 right? Feb 02 05:35:19 or you could build an algorithm and after it generates every time another program to check if its valid using the same formula Feb 02 05:35:42 So an algorithm from the token? Feb 02 05:35:51 I thought of that too. Feb 02 05:36:04 an algorithm for the token. Build it each time with a formula Feb 02 05:36:11 yeah Feb 02 05:36:26 and when he types the redemption code in I can reverse solve it to check? Feb 02 05:37:45 so? Feb 02 05:38:16 Are there any security concerns? Feb 02 05:38:25 what can someone do if he knowsn the auth. token? Feb 02 05:41:03 yaaaaay Feb 02 05:41:07 Also how would I know if it is used Feb 02 05:41:09 woohoo Feb 02 05:41:18 I got my live wallpaper working Feb 02 05:41:20 after three days Feb 02 05:41:27 Ologn: congrats Feb 02 05:41:38 Any tutorials on how to make one? Feb 02 05:42:30 AndreYonadam, there is some in the Android SDK samples Feb 02 05:42:35 ahh Feb 02 05:42:36 thanks Feb 02 05:42:40 Might look into them later on Feb 02 05:43:15 "CubeLiveWallpaper" Feb 02 05:58:53 capella around? Feb 02 05:59:18 Yep :) Feb 02 05:59:58 capella maybe you may find this helpful in finding a project http://openhatch.org/ Feb 02 06:03:44 judging by their page load time I see they need help ... (reading....) Feb 02 06:04:01 loaded fine for me :| Feb 02 06:04:48 :) Maybe an aberration ... Feb 02 06:04:50 Thanks! I'll read through that! Feb 02 06:05:54 I'm contemplating an addon for FF Mobile that might take me a couple weeks (javascript) Feb 02 06:07:29 And hoping that Android / C++ / C# position materializes :D Feb 02 06:07:39 :) Feb 02 06:08:36 I haven't talked to the client, and the recruiter hasn't clarified that they actually use C#, but that would be cool as a new skill for my toolbox Feb 02 06:20:05 mmm .. that's some list of open source projects they have! Thanks g00s Feb 02 06:20:20 capella yw ;) Feb 02 06:30:02 Hello I wan to develop a mobile web app with this in mind: Feb 02 06:30:02 The app can communicate with it's mother app host on a web server. This means that, there is already webapp so I only want a mobile version that can work off-line. The trick here is when the device get connected to Internet, data stored in it should be sent to the mother app. Because users will be filling forms and all that, and their information store on the mobile device when is offline and must be send to the mother app as soon Feb 02 06:30:03 as it gets connected to the Internet. How possible is this? Feb 02 06:32:14 with no other context, yes, it's possible Feb 02 06:34:40 bankai: thank you. The only addistion is, when users fill a webform, it will populate a pdf form with the information users provide. Please what are the best tools to do this? Feb 02 06:38:23 <[[x]]> is it usual for the android pre-compiler to take ages (5 + minutes so far) to build the workspace ? seems to be stuck @ 75% Feb 02 07:08:49 I'm watching something about translucent bar in Android 4.4 Feb 02 07:08:55 how come more apps don't use it? Feb 02 07:09:00 incompabilities? Feb 02 07:09:32 lazy Feb 02 07:10:31 It's generally not necessary unless the app is a launcher. Feb 02 07:10:54 And even then, not necessary... yet. Feb 02 07:15:41 true Feb 02 07:15:51 I could see it being using in photography apps Feb 02 07:32:14 Shit I suck so much. Feb 02 07:32:22 I can't even make an array. Feb 02 07:32:33 Even a variable, lol. Feb 02 07:39:05 communist-cookie: is this a question? Feb 02 07:41:21 Lol no, just bitching over my patheticness :) thepoosh Feb 02 07:45:13 communist-cookie: no wirries Feb 02 07:45:21 everyone needs to start from somewhere Feb 02 07:46:34 thepoosh: I just hoped that Java will be almost exactly the same as JS. Easy, and so. Feb 02 07:47:22 oh noez Feb 02 07:47:28 JS != Java Feb 02 07:48:13 I know. Feb 02 07:48:16 I just hoped. Feb 02 07:48:42 communist-cookie: http://stackoverflow.com/q/245062/1056359 Feb 02 07:48:50 [A3G1S]: HAI Feb 02 07:49:50 communist-cookie: as long Oracle owns Java, the language will never evolve Feb 02 07:49:54 maybe get a bit faster Feb 02 07:49:56 maybe Feb 02 07:50:06 thepoosh: I know :) I thought they are more like a bike and a car. You can ride both but differently :) Feb 02 07:50:13 inb4 openjdk, idt think there's an open jre Feb 02 07:51:04 Jackyalcine: There is :] Feb 02 07:51:34 D: Feb 02 07:51:41 Why is there no tutorial on creating a tableview dynamically :D Feb 02 07:51:50 the question is how does it stand up against the sun jre Feb 02 07:53:04 communist-cookie: what have you tried? there are lots of those Feb 02 07:53:14 Jackyalcine: Side by side the only difference *might* be speed, but unless you feel like doing more work Ubuntu is stuck with openjre Feb 02 07:53:54 I have ze ppa for Oracle's JRE Feb 02 07:53:58 so I'm good Feb 02 07:54:00 but hm Feb 02 07:57:18 http://stackoverflow.com/questions/18207470/adding-table-rows-dynamically-in-android thepoosh http://stackoverflow.com/questions/8830570/dynamically-adding-columns-to-a-tablerow-adding-textviews-in-a-loop-settext-no Feb 02 07:57:40 it would be a tiny double-looped piece of code in JS. Feb 02 07:58:15 you should be working with GridView or ListView and not with TableView Feb 02 07:58:38 in the adapter you'll be able to add whatever you want in the getView() Feb 02 07:59:06 I will just do it manually I guess :) Feb 02 07:59:23 I will make 3 views and buttons to switch between them :) Feb 02 08:01:54 3 views on a tab and viewflipper? Feb 02 08:04:03 I want to have something that: shows 3 tables, which get data from arrays (three columns, that difficult). Each table is on separate tab and you can swipe between them :) that simple. Feb 02 08:04:12 Learning how to do it right now :) Feb 02 09:06:55 Why this is required to call the super.onCreate(savedInstanceState); in Activity? Feb 02 09:08:17 which is good to use 'fragment' or not to use fragment? Feb 02 09:08:54 fly2web use fragment if you need reusable junks of behavior and UI Feb 02 09:09:15 fragments are Android's
tag Feb 02 09:09:18 lol Feb 02 09:12:46 TGMCians: it's the way they designed android, apparently the superclass might do something Feb 02 09:13:20 they misdesigned this because they confused platform extension points with user extension points. If you read the source code to Activity you can see they track by boolean variables if the subclass remembered to call the super method Feb 02 09:13:55 g00s: thanks. Feb 02 09:13:59 lol source code Feb 02 09:14:15 a more sensible strategy would have been to declare onCreateInternal, say, as private/undocumented and make it final, and have that make a call to onCreate() which comes with empty implementation. Feb 02 09:14:30 this would simplify all user code and eliminate the chance of error and need to track the error Feb 02 09:15:04 it could still be retroactively added to Android, but I guess making the world nicer is not on such a high priority at google Feb 02 09:16:04 g00s: still around? I lost the link from earlier ... Feb 02 09:16:21 http://openhatch.org/ Feb 02 09:16:33 Thanks :) Feb 02 09:16:52 alankila its hard to make the world nice when oems decide when those changes reach customers :) Feb 02 09:17:12 sure, change it now and wait 3 years to be able to rely on it Feb 02 09:17:39 * Nilium got bored and wrote a Lisp interpreter. Feb 02 09:18:54 Nilium mess around with lisp / scheme / clojure ? Feb 02 09:19:20 kjeldahl works on kawa i think Feb 02 09:19:23 Lisp isn't a thing Feb 02 09:19:37 no, it isn't Feb 02 09:19:43 Well, it's not a specific language. Feb 02 09:19:43 Nor is Scheme, technically, but it's better defined. Feb 02 09:19:49 I've used Gambit Scheme and I tried Clojure once. Feb 02 09:19:54 Gambit Scheme is awesome, Clojure can suck it. Feb 02 09:19:59 Good morning everybody. Feb 02 09:20:03 hey kjeldahl Feb 02 09:20:36 For Android, kawa rocks. :-) Feb 02 09:20:55 Or on java platforms in general.. Feb 02 09:21:06 Great performance, managable payload. Feb 02 09:21:32 kawa? to me it evokes ideas of sub-par champagne. Feb 02 09:21:47 kjeldahl would this scenario work out: i do my UI in java but have a chunk of behavior / model in jawa ? Feb 02 09:21:48 oh. Another lisp fork Feb 02 09:24:09 My problem with various lisps is mostly that they're usually useless for anything I want to do Feb 02 09:24:22 Gambit Scheme came the closest to being useful because it's extremely fast, compiles to C, and as a result, you can both embed C and call anything that C can call Feb 02 09:24:22 *lithps Feb 02 09:24:33 cydd: aahahah Feb 02 09:24:38 you're the man for that Feb 02 09:24:48 wait, that's the plural form? Feb 02 09:25:18 Lisps is the plural of lisp, yes. Feb 02 09:25:37 g00s: That's an excellent model. But you can pretty easily do everything in Kawa if you really want. In my experience the biggest hurdle are the build tools, getting Kawa integrated in to the Android build sequences. Feb 02 09:25:57 Also, my Sublime Text them is not on Package Control, so the one person who complained about me not putting on package control (who isn't in here, I think) can shut up Feb 02 09:25:57 yeah that damn gradle :) Feb 02 09:26:03 s/not/now/ Feb 02 09:26:27 BTW, anyone using the new android studio or perhaps Xamarin add-in for Visual Studio? Feb 02 09:26:48 g00s: I'm still not fond of it, but I have a lot more experience. I've contributed gradle gwt and ios stuff for libgdx (which is a big multiproject setup), so I've learned quite a bit since then. Feb 02 09:27:33 awesome kjeldahl ;) Feb 02 09:27:42 g00s: The way libgdx does multiproject should work pretty great with mixed language Android stuff as well. libgdx has a "pure" java core, and then a platform specific android core which just use the java stuff. Feb 02 09:27:59 I'm debating going the java way or the C# way, I'd prefer the latter and I was really intrigued by Xamarin's port of android to C#, but that was some time ago... http://blog.xamarin.com/android-in-c-sharp/ Feb 02 09:28:09 That way the Android stuff does not mess with the java plugin and everything becomes a lot easier. Feb 02 09:28:46 For Android on iOS, RoboVM is da shit these days. Much better than Xamarin. Libgdx already supports it. Feb 02 09:28:57 Eh, sorry, for Java on iOS I mean. Feb 02 09:29:00 JFalcon i think most of us don't try xamarin because its pretty expensive Feb 02 09:29:13 g00s, I was an early adopter. Feb 02 09:29:35 ...and yes, it is expensive. Feb 02 09:29:51 I love Android Studio Feb 02 09:29:55 uses the best java IDE there is Feb 02 09:30:08 but I alternate between it and Vim Feb 02 09:30:34 JFalcon: lemme borrow your license and I'll let you know what I think :) Feb 02 09:30:41 I really should create a ready to go template for Android+java+kawa.. Feb 02 09:31:02 jackyalcine, it's from jetbrains, I bought add-ins for visual studio from them in the past. Feb 02 09:31:21 kjeldahl: and github + hn it >:) Feb 02 09:31:42 jackyalcine: Sure, somebody else already did most of the heavy lifting anyway. Feb 02 09:32:16 alankila, what mainly onCreate do in the Activity source code? Any idea? Feb 02 09:32:32 TGMCians: irrelevant. Maybe nothing. Feb 02 09:32:41 the reality is you must call it because that is how they designed it. Feb 02 09:32:47 jackyalcine, if you don't want to use Visual Studio, they do have their own IDE. Feb 02 09:32:56 and if it doesn't do anything *now*, it might do some time in the future Feb 02 09:32:57 Then For What it is require to call super.onCreate() Feb 02 09:33:07 because that is how they specified it. Feb 02 09:33:48 from your point of view the platform is a black box and it requires specific behaviors from you. This is one part of the contract, and unalterable. Feb 02 09:34:09 TGMCians, remember that your application is pretty much an "add-in" to an existing platform. Feb 02 09:34:10 This is written there in http://pastebin.com/H5UVvEjL Feb 02 09:34:41 yeah so it maintains mVisibleFromClient variable Feb 02 09:34:42 JFalcon: I'm on Linux D: Feb 02 09:34:56 I do not know what mVisibleFromClient does? Feb 02 09:35:02 But when I do use Windows, I use VSE Feb 02 09:35:04 jackyalcine, I do believe that monodevelop runs on linux too, I could be mistaken. Feb 02 09:35:14 JFalcon: It does; Feb 02 09:35:23 wait, Xamarian has an extension for MonoDevelop Feb 02 09:35:24 TGMCians: you aren't supposed to. It's something for android. Feb 02 09:35:30 It'd make sense, but I didn't expect it Feb 02 09:35:35 :) Feb 02 09:35:44 Okay Feb 02 09:38:07 jackyalcine, check it out and see if it's worth it. Feb 02 09:39:34 You know, when I found out that Roku was running on an android platform, I expected to use android tools to develop for it. Apparently not. :( Feb 02 09:41:27 Probably not yet Feb 02 09:41:40 When the chromecast gets more dev-friendly (in terms of uploading apps) Feb 02 09:41:49 they'd probably feel the heat Feb 02 09:42:18 well, I found out how to upload apps, they use a VB-like language though called BrightScript. Feb 02 09:43:39 I'm pretty much language agnostic, but when it comes down to brass tacks, VB stands for VerBose and C# is a bit more terse, especially when you throw in linq. Feb 02 09:47:17 however, android development studio is fairly stable if you don't mind working with Java. Feb 02 09:48:24 I have to admit though, my day job... I still work with developers who argue and debate that C# is Java. :( Feb 02 09:48:52 How do I flash a modem / broadband? Simply flash .zip from clockworkmod? Feb 02 09:49:42 whey please see topic Feb 02 09:50:00 I don't know if C# == Java Feb 02 09:50:09 I mean, it isn't Feb 02 09:50:15 But I can see why people'd think that. Feb 02 09:51:12 I can already tell you it isn't. The languages easily diverge with their support for generics, asyncronous handling as well as language integrated query (linq) Feb 02 09:51:42 That's enough for me. Feb 02 09:51:45 Generics had me sold Feb 02 09:51:46 perhaps C# 1.0 (which was pretty pathetic) could be. :) Feb 02 09:51:47 christ this is annoying; AS keeps putting up its auto suggestion bubble over my cursor so i can't see what i'm typing Feb 02 09:52:09 haha, it's Clippy! Feb 02 09:52:35 there should be an option for the delay in that popup though Feb 02 09:52:41 jackyalcine, generics, partial classes (and methods) as well as linq made me happy. Feb 02 09:54:14 jackyalcine, awsome cool dev tool for c# http://www.linqpad.net/ Feb 02 09:55:12 D: bookmarked! Feb 02 09:56:48 * capella does so too, in case he ever needs C# Feb 02 09:59:39 Oh goody, I implemented (let (...) ...) Feb 02 10:00:07 capella, actually, linq is was really rocked my socks. Feb 02 10:00:55 imagine doing something like (from user in channel where user.nick.contains("uck") select user).kick(). Feb 02 10:02:43 Xamarin made linq available on Android platform, which is pretty cool. Feb 02 10:03:39 Nilium, I'm intrigued, do you have a link to that language support? Feb 02 10:04:05 Language support? Feb 02 10:04:06 It's a cobbled together interpreter thingy in Ruby. Feb 02 10:04:13 ah. Feb 02 10:04:19 I'm just doing it so I can avoid doing what I actually want to do with it Feb 02 10:04:26 haha. I see. Feb 02 10:04:55 Using a language against itself is obvious you need to choose another language. :) Feb 02 10:05:15 I have no idea what you're referring to there. Feb 02 10:06:05 n/m, thought you were doing something with the language, not internally with an object. Feb 02 10:07:26 Nilium, how about, you found something clever to do with Ruby and I should just grab a cup of shut up? Feb 02 10:08:02 I don't think it's particularly clever. Feb 02 10:08:02 Lisp interpreters are kind of simple. Feb 02 10:08:23 why not forth? Feb 02 10:08:31 Right now, the interpreter is the small part - only about 250 lines. Feb 02 10:08:32 The lexer's actually the big part. Feb 02 10:09:06 Because I don't know Forth. Feb 02 10:09:46 Good point, but it doesn't mean you can't learn it. Feb 02 10:10:49 Nilium, http://c2.com/cgi/wiki?ForthVsLisp Feb 02 10:11:31 look at the link for "factor language" too, intriguing. Feb 02 10:12:27 Hey guys, a programming practices question; I have an app that logs on to some service, and I'm planning to implement an onNetworkStateChanged function, should I use that function to notify when the logon has succeeded or should I write another function for that? Feb 02 10:15:06 CasW, can you cite a use case? Feb 02 10:15:38 i.e. real world example where you expect this to happen. Feb 02 10:16:36 Ok, got functions with named arguments working. Feb 02 10:16:55 Nilium, awesome. Feb 02 10:17:00 Ok, got functions with named arguments working. Feb 02 10:17:01 Damn it, you are not my shell Feb 02 10:17:20 nor are you mine. Feb 02 10:17:25 heh, what was vogella thinking in making his icon a witch :| Feb 02 10:17:36 I am willing to bet this is the slowest thing known to man Feb 02 10:17:59 next to doing time? Feb 02 10:18:06 (define some-fn (func (m u) (+ m u 8))) ⇐ But yeah, that totally works now. Feb 02 10:18:40 Oh, I shouldn't say named arguments due to what that implies. Feb 02 10:19:06 yes, arguments could be easily offended. Feb 02 10:19:13 By named arguments I just mean they're arguments that have names and aren't just elements in a list. Feb 02 10:19:13 In other words, they become part of the environment for the function's duration Feb 02 10:19:58 and the '8' is just there for the fun of it. Feb 02 10:20:25 JFalcon: Yes; say we have the app, you log on to the service, the app sends the login request and receives confirmation that it has succeeded, I can then either use onNetworkStateChanged(State.AUTHENTICATED) or something like that, or I can use a new function onAuthenticated specially for this occasion. I'm going to use onNetworkStateChanged at least when for example I lose network connection (or gain it again) Feb 02 10:20:39 Nilium: do you evaluate that or write java bytecode that calculates the result? in other words, is it an interpreter or compiler Feb 02 10:21:31 It's interpreted, which is unavoidable since it's an interpreter running in an interpreter. Feb 02 10:22:14 CasW, I think using the network state change handler in the case where another network requires authentication would be appropriate. Feb 02 10:22:18 I guess if it's on android there's no way to compile it Feb 02 10:22:34 Yes? Thanks! Feb 02 10:22:43 It's in Ruby. It has nothing to do with Android as of yet. Feb 02 10:23:17 ah. Well, I was wondering about the interpreter-on-interpreter Feb 02 10:23:24 still, one could in theory translate it to ruby expressions and eval it Feb 02 10:23:33 Also, this works: (puts (load (expr (lex "(begin (puts 'woop 1 2 3) 123456)")))) Feb 02 10:23:44 So it can pull an inception and run lisp in the lisp. Feb 02 10:23:45 CasW, don't do it haphazardly, be aware of the connection state prior. Feb 02 10:29:12 BTW, the android development studio I was using really caught me off guard when it started gathering all the logging of my (not connected to phone network) Droid 2. Feb 02 10:36:50 Got an each thingy working now, so (each '(1 foo /[a-z]/) (i) (puts i)) works, which is pretty cool. Feb 02 11:10:50 Is it possible to wrap a c++ cli program in an android app that exposes its features via UI? Feb 02 11:11:09 I would rather not have to port the whole c++ code to java.. Feb 02 11:15:29 you can use NDK Feb 02 11:16:34 analphabet: if you can use the Android NDK to do so, sure Feb 02 11:16:39 you'd have to get a bit familiar with JNI Feb 02 11:16:57 jackyalcine: so it's possible? Feb 02 11:17:05 awesome Feb 02 11:17:49 thank you! Feb 02 11:21:08 interestingly my IDEA has started to think that context.getApplicationContext() might return null... mmh Feb 02 11:23:38 it's a warning from the future, Zharf Feb 02 11:23:48 somewhere out there, the app doesn't exist Feb 02 11:23:55 time to unplug Neo Feb 02 11:25:07 Good morning! greetings from Argentina, I've got a question regarding Layouts, I'd like to replicate new playstore's layout APP DETAILS Feb 02 11:26:02 I like it how it looks with the header using the whole activity width, while there's a scrollcontainer on the left which occupies the whole height of the activity.. how can I accomplish that? Feb 02 11:26:28 anyone awake? Feb 02 11:30:58 teb_: yup. but I have no idea :) Feb 02 11:31:36 Good Evening Feb 02 11:32:58 Help, Regarding gradle in android studio Feb 02 11:33:43 giving build error in google.play $buildDir/native-lib !!! Feb 02 11:33:57 that tells us nothing Feb 02 11:34:05 hmm Feb 02 11:34:17 wait let me get details Feb 02 11:34:24 its on another PC Feb 02 11:47:55 btw what is $buildDir?? in android studio Feb 02 11:48:47 Another programming practice question; I have this DataCommunicator class which takes care of networking stuff, so that the UI and other parts of the app don't have to worry about that, but I'm not sure whether I should bind them to the Application, subclass Application, or I should use a singleton Feb 02 11:54:37 found out its related to Gradle $buildDir Feb 02 12:02:43 Is it possible to merge Call programmatically while other call is running (Conference call) in Android using any way? Feb 02 12:07:16 good morning Feb 02 12:13:09 bais: mownin' Feb 02 12:25:34 Does it mean that nobody have any idea of my question? Feb 02 12:44:45 I'm fighting with hdmi status :) Feb 02 13:18:00 hi, I'm trying to replicate playstore's layout where there's a listview with full height overlaying a header on the top of the activity, anyone got a hint please? Feb 02 13:55:12 fucking layout thing this is so annoying Feb 02 13:57:02 hi all im a Noob i nned some help the image is not updating in a Fragment Feb 02 13:58:02 http://pastebin.com/WzUSZ4Q8 Feb 02 13:58:50 also Android studi says null pointer expression om -> analyserBar = (ImageView) result.findViewById(R.id.analyserimageBar) Feb 02 13:59:11 it sucests that maybe fragment agtivety is not loaded Feb 02 14:00:33 IchGuckLive try .setImageDrawable Feb 02 14:01:32 teb onm all or only inside the change Feb 02 14:03:59 frist try in the onCreate so you will see if it works as soon as the activity starts Feb 02 14:04:15 then if it works copy that code to the function you are using to change its drawable reference Feb 02 14:04:31 * teb_ hates layouts Feb 02 14:05:14 ok Feb 02 14:17:50 teb_: no there is still no update Feb 02 14:18:16 i think the fragment needts to be reloaded somewhere as the image is set Feb 02 14:21:04 oh you're using Fragments, I haven't used them Feb 02 14:21:18 I thought you were just using activities and listviews Feb 02 14:21:27 Np Feb 02 14:21:29 sry maybe you should try finding an example on google Feb 02 14:21:34 i will get throu this Feb 02 14:21:45 working now 10+hr on this Feb 02 14:22:19 to change a somple image is a hard way compare to do all the layout stuff Feb 02 14:29:59 yeah well I'm having problems with the layout thing Feb 02 14:31:15 trying to replicate playstore's app detail Feb 02 14:35:26 trying to make my first android app (glass) and i get this error: Conversion to Dalvik format failed: Unable to execute dex: java.nio.BufferOverflowException. Check the Eclipse log for stack trace. -- ideas? Feb 02 14:39:50 New here, friend recommended me to ask my question over here. Does anyone here know how to properly combine a sticky header (as seen in Google+ and Play Newsstand) with swipe tabs? Feb 02 14:42:32 do DragEvents bubble or propagate ? Feb 02 14:42:43 marijnvd_: http://www.youtube.com/watch?v=-2UZDrYNsX4 Feb 02 14:46:10 IchGuckLive: I managed to get get both swipe tabs and sticky header working, the problem is with combining them Feb 02 14:46:22 just a custom view Feb 02 14:49:01 combining them means interaction Feb 02 15:10:15 how are items positioned in a grid view? i'd like to give my items more white space on the top and bottom. Feb 02 15:19:55 greets all. Hi dcope, still here? Feb 02 15:20:01 yep Feb 02 15:20:56 not sure how it is in android, played with it a tad (I think it was API level 14 or above), but it seemed like it behaved like WPF/Silverlight grids. Feb 02 15:21:09 * dcope isn't familiar with those :( Feb 02 15:21:18 Ok, let's see if this helps... :) Feb 02 15:21:36 basically, you define the number of rows and columns for your grid. Feb 02 15:21:44 yep Feb 02 15:22:10 then, when you create your elements in XML, you define the row and column it is rendered as well as how many rows and columns it can span. Feb 02 15:22:58 But there's no way to alter that though? Feb 02 15:23:13 Like set the row height to be greater? Feb 02 15:23:21 or will i just need a view in there that pushes it ot become higher? Feb 02 15:24:10 that I don't know, but I do know in XAML you can provide a property which will tell either row or column to take up a percentage of height or width. Feb 02 15:24:59 perhaps it allows the same, I would have to consult the documentation, however, I would think that layout_weight would have something to do with it. Feb 02 15:26:28 consider creating your rows and columns using layout_weight to have them consume different portions of screen real-estate. Feb 02 15:30:33 dcope, do tell me if that works out please. Feb 02 15:32:09 hello. I have seen an app that registers itself such that when the sleep-button is pressed twice, it triggers events (there is an audible clock that does this, for example). Where can I find an API Documentation on how this is done? Feb 02 15:32:19 (The app was not open source) Feb 02 15:33:05 especially, this would imply that it handles inputs even though the screen is locked / it has no focus. Feb 02 15:33:14 which sounds complicated. Feb 02 15:33:20 Im stuck since hourers to update the fragment as the image has changedi nside it as Image view Feb 02 15:33:44 the image i set correctly but the fragment itelf does not update Feb 02 15:33:52 schoppenhauer, are they using registerMediaButtonEventReceiver() ? Feb 02 15:34:13 or page vieweer does not gernerate the new view Feb 02 15:34:54 IchGuckLive, http://stackoverflow.com/questions/7796952/android-force-fragment-to-rebuild-view Feb 02 15:36:41 JFalcon: not sure, but it looks like something similar. will this work even when the app loses focus? Feb 02 15:37:17 that I don't know. Feb 02 15:37:40 But I think I will know after you try. :) Feb 02 15:37:45 on the othe rhand ... seems like this can only be used for the audio buttons. Feb 02 15:38:09 *only* the audio buttons? Feb 02 15:39:16 you won't know if you don't try... or the documentation explicitly excludes it. Feb 02 15:39:34 the app I saw is using the button that locks the screen Feb 02 15:39:53 maybe it somehow tracks when the screen is locked and awaked? Feb 02 15:39:59 and it's not using low-level calls with the NDK? Feb 02 15:40:56 Well, hook your device running the app up to android studio and monitor the events. Feb 02 15:41:36 There's a flood of info, but you can discern when events happen and then reproduce. Feb 02 15:43:35 I apologize, you need to run windows for android studio. Feb 02 15:44:10 hm. Feb 02 15:44:24 well, I have a VM Feb 02 15:44:28 with android Feb 02 15:44:40 that should emulate the buttons Feb 02 15:45:00 ok, so check this out: http://developer.android.com/sdk/installing/studio.html Feb 02 15:46:28 JFalcon: there is a linux-version. what was the reason why I need windows? Feb 02 15:47:28 I acutally have a Motorla Droid 2 running 2.3.4 for development purposes. I would love to use the grid view stuff. Feb 02 15:47:47 schoppenhauer, you don't need windows, you can use the Monodevelop studio. Feb 02 15:48:08 oh wait, wrong product. hah. Feb 02 15:48:17 No, android studio is cross platform. Feb 02 15:49:03 Does anyone know how I can solve this? Feb 02 15:49:05 http://stackoverflow.com/questions/21507535/generate-redeem-code-in-app-billing Feb 02 15:50:05 JFalcon: and what exactly can it do that the ADT cannot do? Feb 02 15:50:55 good day :) Feb 02 15:51:37 schoppenhauer, Android Studio was created by JetBrains, I think things like snippets, autocompletion and ability to find references in code is pretty handy. Feb 02 15:51:47 greets Hirsch. Feb 02 15:51:48 what is the best way to call a method of the mainactivitiy from an other activity? Feb 02 15:52:36 creating a public static MainActivity main = this; Feb 02 15:52:52 since an activity is handed a bag of holding, perhaps you should store it there? Feb 02 15:52:54 and then MainActivity.main.method(); Feb 02 15:53:24 JFalcon: ok, but how can it help me? Feb 02 15:53:46 settingsIntent = new Intent(MainActivity.this, com.example.second.class); Feb 02 15:54:00 thats what i do to create the second acitivity Feb 02 15:54:11 so it seems that i am already passing the handle Feb 02 15:54:13 schoppenhauer, what I find really great about it, is that I can play with different layouts and it will render it as if it were on a selected device. Feb 02 15:54:40 but i don't know how to retrieve it in the second activity Feb 02 15:55:15 ever try deriving from Intent and then casting? Feb 02 15:57:19 hrm... no you wouldn't have that from another activity. Feb 02 15:57:41 JFalcon: i cant make the image changing Feb 02 15:57:51 the intent, however, does have data. Feb 02 15:58:14 JFalcon: well. that sounds like motivating people to produce non-accessible applications. anyway, how will it help me to find out how to listen to this button? (I currently look at android.hardware.* but the docu is strange) Feb 02 15:58:30 IchGuckLive, sorry to hear that. :( Feb 02 15:59:18 schoppenhauer, is the application you're trying to emulate accessible? Feb 02 15:59:47 in your example Fragment newFragment =new Fragment_A(); will override the image that is been generated with the default one Feb 02 16:00:52 well, it's not my example, it's one from StackOverflow, it just seemed appropriate to solve your problem, however, like any good recipe, season to taste. Feb 02 16:01:21 JFalcon: do you think thats the right thing: http://developer.android.com/reference/android/content/Intent.html#getComponent() ? Feb 02 16:01:52 JFalcon: yes. but that is not relevant for my question. Feb 02 16:02:04 Yes Hirsch. Feb 02 16:02:35 JFalcon: you said I can somehow track events. is this done with adb? Feb 02 16:02:51 schoppenhauer, most likely. Feb 02 16:03:34 ok, you found me out, I'm a newbie android dev. :) Feb 02 16:03:39 so i say getComponent().method(); ? Feb 02 16:04:19 mh thats wrong Feb 02 16:05:27 no. Feb 02 16:09:49 to answer your question schoppenhauer, I think using adb with 'push' should do it. Feb 02 16:17:31 so DragEvents. do they bubble or propagate ? Feb 02 16:18:16 JFalcon: adb pus pushes files to the android device Feb 02 16:18:24 I dont see how this is supposed to help Feb 02 16:25:02 schoppenhauer, I had android studio running when I plugged in my Droid 2 phone and all of the sudden it was getting a flurry of info. I had to change the level of info because it was distracting. Feb 02 16:25:23 If it used adb to do so and redirect its output, I'm not sure. Feb 02 16:27:43 ...and adb does more than push files to a device. Feb 02 16:28:31 shoppenhauer, please download android studio for your platform and give it a good old college try? Feb 02 16:29:12 Hey guys, pressing the home button on my app and then resuming the app goes back to the same state when paused. But when I press back instead, and I return to the app it's no longer the same state, so I suppose pressing back kills the activity and onCreate is called when returning to it. How do I prevent this from happening? Feb 02 16:30:11 not sure if you can prevent it, however, can't you note the state you're in and save pertinent information? Feb 02 16:30:44 JFalcon: for reference: http://stackoverflow.com/questions/3703071/how-to-hook-into-the-power-button-in-android Feb 02 16:31:10 JFalcon, I guess I could maybe Feb 02 16:31:22 but it would be so much better if I could just have the back button not kill the activity Feb 02 16:31:30 thank you schoppenhauer! Feb 02 16:34:55 ok, just for the record folks, I'm a n00b in android development, but I come from many years of experience elsewhere. Feb 02 16:35:22 if I give advice, your mileage may vary. Feb 02 16:35:44 CocoStorm, you're doing it wrong. Feb 02 16:35:52 You're app has to be ready to be killed at any time. Feb 02 16:36:20 So your question isn't "How can I stop OS from killing my app?" but "How do I make my app not have bad UX when it does get killed?" Feb 02 16:36:35 You're not the only piece of software on the device and you can't act like you are. Feb 02 16:36:44 Mavrik, or how do I persist my app state? Feb 02 16:36:59 yeah, how do I persist my app state Feb 02 16:37:40 put all of your application information in a special class and serialize it. Feb 02 16:38:27 CocoStorm, there's the onSaveInstanceState callback Feb 02 16:38:28 I have an activity which handles the SMS verification so, first EditText gets the number when the 'next' button is clicked that view is gone and the other EditText is now visible Feb 02 16:38:39 there's the SharedPreferences for long-living state Feb 02 16:38:42 where the person enters the code Feb 02 16:38:55 yeah I'll just try and save state Feb 02 16:40:22 what's in the Bundle your activity hands to you and how do you add to it? Feb 02 16:40:48 JFalcon, is that an honest question? :) Feb 02 16:40:58 yes. Feb 02 16:41:16 JFalcon, in that bundle is whatever you put in it in onSaveInstanceState() method Feb 02 16:41:27 JFalcon, that's basically what you proposed earlier Feb 02 16:41:36 Android will call onSaveInstanceState when it'll go and kill you Feb 02 16:41:38 thank you for that. Feb 02 16:41:44 and you put stuff in that Bundle (which is just serialized data) Feb 02 16:41:55 and it'll give it back to you as savedInstanceState in onCreate Feb 02 16:42:03 (not always mind you, it has a timeout actually :) ) Feb 02 16:42:15 Are there API calls for serialization of objects? Feb 02 16:43:06 I've used both XML and JSON serializers in the .NET world, JSON is very light for HTML 5 applications. Feb 02 16:45:30 but you're right Mavrik, they can use JSON to serialize their object and stash it in the bundle handed off to the next activity which could add some water and re-constitute! Feb 02 16:47:02 dead men tell no tales, but wise dead men hand down proverbial wisdom. Feb 02 16:50:12 Is there a chart available to see how many people are using a particular verson of the OS? Feb 02 16:50:40 preferrably something real-time. Feb 02 16:54:23 I acquired and had to 'unroot' and stock a 2.3.4 android phone which I want to use as my dev platform. Feb 02 16:55:06 JFalcon, actually Andorid uses Parcelable for serialization Feb 02 16:55:21 which is about x10 faster than Java native serialization or any JSON library :) Feb 02 16:55:23 thank you for that. Feb 02 16:55:44 JFalcon, as for charts: http://developer.android.com/about/dashboards/index.html?utm_content=buffer7a7fe&utm_medium=social&utm_source=twitter.com&utm_campaign=buffer Feb 02 16:55:50 it's updated periodically Feb 02 16:56:34 Mavrik, I knew there had to be something faster, optimization is prime when developing for mobile or legacy machines. Feb 02 16:58:05 interesting, Gingerbread is at 21.2%, must be many of the early adopters. Feb 02 16:58:39 I had Honeycomb, but rooted and upgraded my Motorla Xoom. Feb 02 17:00:30 However, from the stats, I think supporting API level 10 and above would get most of the market, but I think supporting an API level higher might make it easier for the developer (specifically the gridlayout). decisions, decisions. Feb 02 17:00:35 there were alot of phones built with android 2.x Feb 02 17:00:39 even after Android 4.0 was out Feb 02 17:00:46 pretty much all older Androids are on 2.x Feb 02 17:00:54 JFalcon, depends on type of app Feb 02 17:01:17 JFalcon, there are alot of compatility libraries which allow you to support API 10 properly, but there's bunch of new stuff too Feb 02 17:01:27 personall, for multimedia type apps I stick with 4.x+ Feb 02 17:01:30 Mavrik, it's a simple app, but I really like the gridlayout since I came from a WPF/Silverlight world. Feb 02 17:01:53 but for general-consumption apps that help people (e.g. public transport, information, etc.) I think it's inexcusable to not support API 10 Feb 02 17:02:50 well, by personal choice, I would support API level 10. Feb 02 17:05:36 Mavrik, what UIs are out there in the general public using API level 10? Feb 02 17:05:51 that's a wierd question Feb 02 17:05:55 what do you mean by UIs? Feb 02 17:05:59 hello :) Feb 02 17:06:01 http://paste.mindfreakers.net/view/af1a2e01 <-- I am making an Android app and trying to make a java file listener that checks the internet connection status (is connected to internet or not) on the startup of the app but it somehow doesn't work, can anyone please help me?? Feb 02 17:06:33 ok, when I was at an airport and I saw a windows XP bluescreen, it was an instance of publically displayed Windows. Feb 02 17:07:12 What public facing UI is out there using API level 10 or higher? Feb 02 17:07:14 Sagar, do you have proper permissions set in your app? Feb 02 17:07:28 JFalcon, pretty much all more popular apps out there? Feb 02 17:07:38 Mavrik : Yes Feb 02 17:07:38 JFalcon, anything on store that's compatible with 2.3? Feb 02 17:07:41 (kpom Feb 02 17:07:51 oh sorry Feb 02 17:07:54 I can look. Feb 02 17:08:48 DosBox Turbo works on it. :) Feb 02 17:11:11 Mavrik : ??? Feb 02 17:17:09 <|0xD34D|> Sagar: shouldn't you show the "not connected" dialog after you've iterated over the entire array info? Feb 02 17:17:53 0xD34d? Feb 02 17:18:02 i didn't get u Feb 02 17:18:05 |0xD34D|, do you think there will come a day when an Android desktop OS could replace windows? Feb 02 17:19:21 ...and I'm not talking about chromebook OS. Feb 02 17:19:22 Is there a library to make a spinner to select a conutry code Feb 02 17:19:34 *country Feb 02 17:19:56 <|0xD34D|> Sagar: in your for loop you show not connected for EVERY NetworkInfo that is not connected. depending on the size of that array you could get a few dialogs displayed at once Feb 02 17:20:21 <|0xD34D|> do you want to show that dialog for every one that is not connected? Feb 02 17:20:29 can u please make the code edit and tell me where am i wrong? Feb 02 17:20:34 <|0xD34D|> no Feb 02 17:20:39 <|0xD34D|> I have my own code to write sorry Feb 02 17:20:50 i want to show dialog if connect ( alert --> Connect ) else ( Not connect ) Feb 02 17:21:07 <|0xD34D|> so put the not connected dialog outside the for loop, right after it Feb 02 17:21:27 <|0xD34D|> because if it finds a connection it will display "connected" and return without ever showing the other one Feb 02 17:21:43 <|0xD34D|> if there is no connection it will finish the for loop and then display the "not connected" dialog Feb 02 17:22:16 ok Feb 02 17:22:18 let ,e try Feb 02 17:22:37 still nothing Feb 02 17:22:38 :( Feb 02 17:23:28 <|0xD34D|> by nothing you mean it says "not connected" or it crashes or what? Feb 02 17:23:50 the app just opens and doesn't shows connected or not connected Feb 02 17:23:59 since even i am connected to internet Feb 02 17:24:14 <|0xD34D|> you should probably set some breakpoints and step through your code Feb 02 17:24:32 make sure your app has the right permissions too. Feb 02 17:24:43 <|0xD34D|> JFalcon: android is a great mobile platform and should probably stay that way Feb 02 17:24:52 <|0xD34D|> there are plenty of alternatives to windows that work great Feb 02 17:24:54 i already have permissions set Feb 02 17:25:16 <|0xD34D|> well make sure you are calling isNetworkAvailable() Feb 02 17:25:47 |0xD34D| I used to be a TI-99/4a developer and had to adapt to PCs. I think I can be an Android developer too. Feb 02 17:26:20 <|0xD34D|> I was an embedded design engineer at one point so yeah, it's possible to make the switch ;) Feb 02 17:26:24 I had to work with only 64k of RAM when extended. :) Feb 02 17:26:31 isNetworkAvailable? i didn't specified it in use Feb 02 17:27:25 |0xD34D|, I hear that. I would like some of your insight when you get the opportunity. Feb 02 17:28:39 I keep hearing that "pre-mature" optimization without profiling is wrong, but I disagree with that. Feb 02 17:29:11 I believe that using specific optimizations on certain platforms is necessary. Feb 02 17:29:35 am I wrong about this? Feb 02 17:35:31 well, I am going to support Gingerbread. The usercount is significant. Feb 02 17:39:56 later all! Feb 02 17:49:56 hey all Feb 02 17:57:59 HELLO Feb 02 18:01:34 how can i push a activity to a navigation stack? Feb 02 18:04:09 nvm Feb 02 18:12:59 damnit, I broke my nexus 7's screen Feb 02 18:13:06 "significant" Feb 02 18:14:22 D: Feb 02 18:15:54 Anyone used an emulator with sdk 19, and noticed particularly high cpu usage? It's very fast, especially with ldpi, but it's using 100% of one of my cores constantly! Feb 02 18:20:14 don't really care... Feb 02 18:20:21 if it has high cpu if it's fast Feb 02 18:20:28 just kill it if you're using it :p Feb 02 18:20:31 not using Feb 02 18:20:47 so i'm trying to navigate back to the previous activity using navigateUpFromSameTask() Feb 02 18:21:04 it seems like the activity is destroyed and recreated though... all state on the previous activity has been reset Feb 02 18:21:07 any ideas why? Feb 02 18:21:21 because once you navigate away from an activity it may be destroyed Feb 02 18:21:44 pfn: is there a way to prevent this? i see the google music app does it. Feb 02 18:21:49 ie scroll position is remembered Feb 02 18:21:56 dcope, you don't prevent it. Feb 02 18:22:02 you make sure you restore UI state. Feb 02 18:22:12 that's the 2nd time soneone asked this today Feb 02 18:22:17 is noone reading documentation anymore ffs Feb 02 18:22:18 Mavrik: interesting. Feb 02 18:22:21 pfn: Yeah, it's no big problem, except for battery usage when I'm out. Not sure if the old emulators used 100% all the time, seems excessive to me, but ho hum. Feb 02 18:22:21 fun fact, if you want drag event event bubbling, onDispatchDragEvent Feb 02 18:22:34 basic training: http://developer.android.com/training/basics/activity-lifecycle/index.html Feb 02 18:24:55 Mavrik: ah, is see there's a section about recreation Feb 02 18:25:30 i have a navigation drawer and i noticed when i push a new activity the drawer always selects the first item when the back button is pushed :) Feb 02 18:37:33 how do apps such as whatsapp keep track of the different numbers if all the number are saved with their country code, and you save a number without a country code, the app would have to check the numbers against the numbers in their database right? Feb 02 18:37:48 how do they get past the areacode issue? Feb 02 18:39:23 so if you save all numbers with a country code how would you save without a country code Feb 02 18:39:33 you accidentally a logic there Feb 02 18:39:39 CocoStorm, there's a Google published library for sanitizing numbers. Feb 02 18:39:55 Mavrik, oh really? which one is it? Feb 02 18:40:33 <|0xD34D|> https://code.google.com/p/libphonenumber/ ? Feb 02 18:41:48 yay thanks :) Feb 02 18:42:33 so someone enters a number with an unknown country code and it will figure out how to store it and whether to add the 0 in front or not? Feb 02 18:43:35 which method is it i'm not quite understanding this api Feb 02 18:48:38 anyone? Feb 02 18:49:11 should the Base64-encoded RSA public key be the same for each app? Feb 02 18:49:35 ive setup 2 apps for in app billing and they both has same string, is that right? Feb 02 18:52:31 Hey guys Feb 02 18:52:50 my import org.apache.cordova.* isnt resolving any ideas guys? Feb 02 18:53:27 did you put the lib in your /libs folder (or impoirt the project) Feb 02 18:53:56 yes inside the /libs/cordova.2.9.0.jar Feb 02 18:54:12 and its attached from the buildpaths Feb 02 18:55:32 DroidGap cannot be resolved to a type MainActivity.java /testapp/src/com/example/testapp line 7 Java Problem Feb 02 18:55:33 http://pastie.org/private/btaiog98qxzmsldw5nseq Feb 02 18:56:06 hmm not sure, try and clean the project Feb 02 18:56:45 i did Feb 02 18:57:10 what could it be then? Feb 02 18:57:26 maybe enviromental settings ? i dont know Feb 02 19:00:03 Does code still run on the DVM with ART? Feb 02 19:00:11 Or is it converted into native? Feb 02 19:01:06 ART replaces DVM Feb 02 19:01:42 anyone else may be can help? Feb 02 19:09:37 Tomashe: http://stackoverflow.com/questions/11242697/droidgap-cannot-be-resolved-into-a-type Feb 02 19:16:19 yes i did everything that there Feb 02 19:16:21 nothing is working Feb 02 19:16:28 maybe i got some sdks or something? Feb 02 19:41:01 hi Feb 02 19:41:06 What happens with ART and the NDK, and 64 bit processors? Feb 02 19:41:30 so far there's no 64bit ABI declared in NDK, so nothing Feb 02 19:41:46 How are they going to manage the problem it poses? With libdvm it was easy, but with native code? Feb 02 19:41:52 ART will be the default and 64 bit too later on, google revealed Feb 02 19:42:08 autrilla, what would happen? Feb 02 19:42:10 (as in there are 32 bit programs for windows, as well as 64 bit ones, and the 64 bit ones don't run on 32 bits) Feb 02 19:42:19 autrilla, native code already supports 4 different architectures Feb 02 19:42:40 why would adding 5th be a problem? Feb 02 19:42:55 Didn't know it did Feb 02 19:42:55 yeah its still java Feb 02 19:43:03 ART has nothing to do with it, it's ABI compatible with DVM Feb 02 19:43:14 So how does Android handle the different archs on native? Feb 02 19:43:26 autrilla, you build libs for each architecture Feb 02 19:43:34 p_l, you'd guess there'd be one eventually Feb 02 19:43:41 it packages into lib/ in APK Feb 02 19:43:49 and when installing Android unpacks the version for that architecture Feb 02 19:43:57 if any architecture is missing Google Play Store filters apps Feb 02 19:44:00 Mavrik, ah, thanks Feb 02 19:44:24 currently armeabi (arm5+), armeabi-v7a (ARMv7+), x86 and MIPS are supporte Feb 02 19:44:24 d Feb 02 19:44:57 NDK build scripts will also build set versions and put libs in proper folders :) Feb 02 19:45:03 autrilla: eventually can be far in the future Feb 02 19:45:39 also it looks like there are already Git commits in Android source tree that prove ARM64 support is on its way Feb 02 19:45:48 Mavrik, there are indeed Feb 02 19:45:52 as I said, there is no *declared* ABI id etc. for AArch64, so we can only speculate. There's definitely support in kernel Feb 02 19:46:14 p_l, why would it be far in the future, if they've started commiting recently? Feb 02 19:46:18 mhm, but declaring an ABI for NDK is the easiest thing Feb 02 19:46:51 porting code probably won't be too hard either since it's already written to be portable across 4 archs Feb 02 19:46:54 autrilla: commits don't mean the code is deemed stable to be released for general availability Feb 02 19:47:10 Mavrik: none of which are 64bit, so you get to do all the 64bit lifting Feb 02 19:47:20 like what? Feb 02 19:47:43 Mavrik: finding every single piece that has assumptions of pointer length or integer bit size, for examplke Feb 02 19:47:45 considering they use different byte orders Feb 02 19:47:46 *example Feb 02 19:47:55 you can't just randomly use raw pointers anyway Feb 02 19:48:34 Mavrik: JVM (and thus DVM) has well defined sizes and byte orders. However, the runtime implements them, and the runtime does in fact use raw pointers Feb 02 19:48:36 when doing ARM<->x86 portable code you can't just afford to do the same crap you did when doing x86 only Feb 02 19:48:48 especially if you throw MIPS in the mix Feb 02 19:49:07 Mavrik: also, afaik all Android platforms use the same byte order Feb 02 19:49:29 (ARM and MIPS allow selection, and android afaik uses little endian for both) Feb 02 19:49:58 well ok whatever Feb 02 19:50:03 it'll take 50 years or something Feb 02 19:50:06 apparently. Feb 02 19:50:20 The problem with the DVM is easy, because they simply port the DVM. That's why I was wondering about the NDK Feb 02 19:50:34 no, just meaning that seeing commits *now* does not mean that the next version will support AArch64 Feb 02 19:50:43 eh. Feb 02 19:50:46 <|0xD34D|> the ndk will have an arm64 target by the looks of it Feb 02 19:50:46 p_l, I didn't say the next version either Feb 02 19:50:51 market reality shows that the next version will support ARM64 Feb 02 19:50:53 not commits. Feb 02 19:51:40 Mavrik: market also says that there's many more applications involved now than were before so they have to be more careful with compatibility due to bigger inertia Feb 02 19:52:00 I'm sure Samsung is happy to wait with 64-bit support because of that. Feb 02 19:52:11 When they'll be 1 year after Apple. Feb 02 19:52:12 AArch64 in first version might simply be done in kernel, thus allowing bigger heap sizes with bigger RAM Feb 02 19:52:40 You'll see Samsung running on AArch64 by the end of Q2 with Google support or without it. Feb 02 19:53:36 Mavrik: 64bit, outside of few bits of marketing, is not that visible to users. And without support they can at best introduce what I mentioned - i.e. 64bit kernel to make it easier to support big memory and bigger heaps Feb 02 19:54:12 And? Feb 02 19:54:35 Now you're gonna argue that that's not AArch64 support_ Feb 02 19:54:41 Mavrik: which is not the same as porting android to AArch64 Feb 02 19:54:52 Of course you will. Feb 02 19:54:55 Have a nice day. Feb 02 19:55:32 ah yes, let's move goalposts closer. Eh... Feb 02 20:43:55 Dude. Feb 02 20:46:50 Any Xamarin user here? Feb 02 20:47:19 So the "base64EncodedPublicKey" that I'm supposed to use for in-app-billing (v3, in the IabHelper), is that the public part of my signing key, or am I missing something? Feb 02 21:01:24 Ah, got it now. It's the "Your license key for this application" in "Services & Apis" in the Developer Console. Feb 02 21:47:27 any help: http://stackoverflow.com/questions/21500252/geting-html-data-from-embedded-browser-in-android-and-ios Feb 02 21:49:24 load times OP Feb 02 21:49:28 oops Feb 02 21:52:41 Voyage: there isn't any "simple" way to do what you want to do [run a browser "in the background" and intercept ajax calls to post notifications.] Feb 02 21:54:29 I'm a bit disappointed that the IAB libraries from Google has well known crash bugs that still aren't fixed. Feb 02 21:54:34 Voyage: I dunno about iOS, but on android the least problematic way (at the moment anyway) is to avoid the browser approach and just use some api/web service offered by the site in question. Feb 02 21:54:41 kbs, hm Feb 02 21:55:09 kbs, run embeded browser in background . that is. and what are the non-simple ways? Feb 02 21:57:00 why do people give a menu and the menu item their own classes? is it a design pattern? does it have a name? Feb 02 21:57:07 Voyage: I dunno, actually. In theory, there might be a browser engine that might be able to run code without needing a UI I suppose. Not sure the effort needed to find/create such a beast will be productive Feb 02 21:57:33 kbs, hm Feb 02 22:30:06 hey guys after i build using eclipse where is the result file? Feb 02 22:33:02 oh my , got bit by the old ListPreference must have valueEntries as string-array thing Feb 02 22:33:26 wow, doc bugged filed in 2009 still not fixed Feb 02 22:35:27 If my MainActivity has a ListFragment where the user selects an item, that takes you to another ListFragment, should the ListFragment directly call the other ListFragment, or should it return to MainActivity which in turn calls the other ListFragment? Feb 02 22:36:42 smallfoot- fragments shouldn't know about each other (ideally) Feb 02 22:37:07 if you read the docs on fragment, it passes the event to the activity - the activity decides, or has a mediator which decides Feb 02 22:37:18 (if the mediator is reused in other activities) Feb 02 22:37:23 I see Feb 02 22:37:26 thanks! Feb 02 22:37:29 np Feb 02 22:38:19 hey I am trying to call a string name from its id in my values folder a new xml file I created but it is not showing the id Feb 02 22:38:38 try clean Feb 02 22:38:51 both AS and eclipse struggle with R ;) Feb 02 22:39:12 you know what doesn't struggle with it ? ;) Feb 02 22:39:19 * g00s wonders if R is one the worst thing that ever happened to android Feb 02 22:39:58 yeah idea 12 was the least problematic of all the ides Feb 02 22:39:58 i can not get rid of that error: "Conversion to Dalvik format failed with error 1" Feb 02 22:40:09 ;) Feb 02 22:40:26 Seems to me R is just the messenger that emphasizes the piss-poor dependency checking in all of java :-) Feb 02 22:40:36 * kbs blames ant for the demise of correct dependency checking Feb 02 22:42:12 Should my MainActivity directly call a standalone ListFragment, or should it call an Activity that contain the ListFragment? Feb 02 22:44:20 Does anyone know of any software firms that are creating software solutions for dedicated Android devices? That is, they create/use custom ROMs to limit stock Android devices, only allowing users access to features/apps that there customers need? Feb 02 22:45:04 you can do this with a custom launcher, lots of places do it Feb 02 22:46:13 anyone know why I am not seeing my R.id.VALUEShouldshowhere Feb 02 22:46:20 amazon kindle android e.g. Feb 02 22:46:35 ... how do you "call a listfragment"? Feb 02 22:46:58 pragma-, I don't know... I haven't tried yet lol Feb 02 22:48:28 are the 50 bucks worth to spend for an developer account on google play? Feb 02 22:49:58 It's $50 now? Feb 02 22:50:06 Hirsch, yeah, if you can make more than 50 bucks from app sales :D Feb 02 22:50:21 Hirsch, its kinda hard to get your app distributed or bought from other places Feb 02 22:50:31 99,999% people use Google Play Store Feb 02 22:50:40 you can distribute the .apk yourself from your website Feb 02 22:50:41 I thought it was $25 Feb 02 22:50:52 and 90% of the users who buy stuff are from the US Feb 02 22:50:54 if your app is free open source software, you can put it in the F-Droid repository Feb 02 22:51:16 the rest of the world can't because google play only accepts us cards Feb 02 22:51:23 oh, didnt know Feb 02 22:51:31 Actually South Korea spent more money on Android apps than Americans last month Feb 02 22:51:32 you only have to pay for the merchant account, right? Feb 02 22:51:36 I'm a New Zealand and it acepts my Debit card nicely Feb 02 22:51:50 New Zealander* Feb 02 22:51:52 NZSmartie: maybe they have changed a bit Feb 02 22:52:01 but here in germany this is still not possible Feb 02 22:52:08 even if the market would exist Feb 02 22:52:21 I wish the price to publish on Google Play Store only applied to commercial developers Feb 02 22:52:30 I wish free open source software developers could publish on Google Play Store for free Feb 02 22:52:32 so now in comparison to iOS most of the apps get pirated instead of bought Feb 02 22:52:40 umh, it doesn't? Feb 02 22:53:03 I can't remember if I paid for my developer account or not -.- Feb 02 22:53:05 but who cares Feb 02 22:53:08 it's just money Feb 02 22:53:19 Zharf: did you got the money back from sales? Feb 02 22:53:34 all my apps are free Feb 02 22:53:43 so, no, I do not have a merchant account Feb 02 22:53:43 ok :D Feb 02 22:53:48 merchant account is not a developer account Feb 02 22:54:18 Zharf, can you publish apps on Google Play Store without pay Google anything? Feb 02 22:54:24 yes Feb 02 22:54:34 thats new to me Feb 02 22:54:54 https://play.google.com/apps/publish/signup/ asks for $25 Feb 02 22:55:34 mh, well it's just $25 -.- Feb 02 22:55:58 ? Feb 02 22:56:01 $25 is alright if you wanna make money of your apps Feb 02 22:56:03 anyone ca help guys Feb 02 22:56:05 Hirsch: you can submit paid apps with german play account Feb 02 22:56:09 but if you developing for free, then you dont wanna pay Feb 02 22:56:18 smallfoot-, why not? Feb 02 22:56:24 smallfoot-, don't you have a real job? Feb 02 22:56:27 No you have to pay it if you want to distribute the app on Google Play. Feb 02 22:56:31 smallfoot-: 25 is... a month of going to starbucks? Less? Feb 02 22:56:46 p_l: yep - but they don't accept german credit cards Feb 02 22:57:00 Hirsch: Umm, they do Feb 02 22:57:01 because I already took my time to develop the app, normally I should be getting money for it, but now I make it free, and I still have to pay Feb 02 22:57:08 instead of getting money, I have to pay Feb 02 22:57:10 longer than they accepted mine, probably Feb 02 22:57:48 mh Feb 02 22:57:50 smallfoot-, your logic is flawed, but whatever Feb 02 22:57:58 money is irrelevant to me so I can't really relate Feb 02 22:57:59 -.- Feb 02 22:58:10 :D Feb 02 22:58:14 Hirsch, em, they take any credit card that can buy apps on Play Feb 02 22:58:16 I could pay for your account but I'm not sure that would work... Feb 02 22:58:21 are you a heiress Zharf? Feb 02 22:58:25 what if you are like kibutz or something and you don't use money Feb 02 22:58:26 Hirsch, the limitations are only for sellin gapps Feb 02 22:58:30 no... Feb 02 22:58:48 Mavrik: not really Feb 02 22:58:52 smallfoot-, noone is really preventing you from publishing your APK in any other way. Feb 02 22:58:52 I work, like most people, I just make way too much money, or spend like 20% of what other people spend Feb 02 22:59:04 but by now they got quite big list of accepted countries Feb 02 22:59:21 Maybe one day you will change your spending habits Feb 02 22:59:44 eckesicle, unlikely Feb 02 23:00:00 I don't know it's about logic rather than expectations... the money is [effectively] to get into the supposedly "verified" list of apps that google vets and distributes; and because you are begging google to be let in, they can do what the heck they want, I suppose ;-) Feb 02 23:00:44 $25 is nothing, compared to apple and microsoft Feb 02 23:00:53 yeah, but I should get a medal or something Feb 02 23:00:58 not have to pay Feb 02 23:01:04 maybe I should get payed $25 Feb 02 23:01:14 it's about expectations, not logic :-) Feb 02 23:01:15 mh in this perspective its even not a bad idea - if there was no fee the marked would be flooded with crap apps / criminal apps / ... :D Feb 02 23:01:19 Zharf, how much is MS charging these days? Feb 02 23:01:26 -d+t Feb 02 23:01:40 Lowered Expectations Feb 02 23:01:45 Hirsch, the Play Store already *is* flooded with crap apps and criminal apps Feb 02 23:01:53 Hirsch, like the company that flooded Blackberry maked with several hundred thousand apps? :) Feb 02 23:02:02 Zharf: I think you should splurge a bit on yourself! Feb 02 23:02:09 Mavrik, I'm not sure Feb 02 23:02:20 eckesicle, I don't know what splurge means :) Feb 02 23:02:32 smallfoot-: thats partly true Feb 02 23:02:54 Zharf: an act of spending money freely or extravagantly. Feb 02 23:03:00 Let me give you a tip Feb 02 23:03:03 but with the download counter and user ratings its quite possible to sort out criminal apps Feb 02 23:03:13 eckesicle, I already buy myself hundreds of games per year, and a couple of new musical instruments per year... I just don't have a car, family, or drink alcohol - and never will Feb 02 23:03:14 Zharf: Buy this Android phone > http://news.cnet.com/8301-17938_105-57450563-1/lamborghini-unveils-$2296-android-tablet-gold-plated-phone/ Feb 02 23:03:35 Mavrik: looks to me Microsoft charges $19/year for an individual account. http://msdn.microsoft.com/library/windows/apps/jj863494.aspx Feb 02 23:03:36 LOL Feb 02 23:03:39 eckesicle, I won't buy a piece of shit phone that doesn't have a physical keyboard and is way too large physically anyway Feb 02 23:03:46 lol Feb 02 23:03:51 but it's gold! Feb 02 23:04:00 I don't value gold Feb 02 23:04:07 ya pay $2296 for some gold plated turd, in 6 months its a relic nobody wants, after next Mobil World Congress announcements Feb 02 23:04:14 I don't value gold either Feb 02 23:04:15 kbs, oh genious Feb 02 23:04:22 You have to be a company to publish a desktop app. Feb 02 23:04:32 Zharf: then donate all your money for good purposes :) Feb 02 23:04:37 good night developers :) Feb 02 23:04:41 nite bais Feb 02 23:04:43 I frequently donate to EFF Feb 02 23:04:50 lol Feb 02 23:04:52 we said good cause Feb 02 23:05:02 that is a good cause! Feb 02 23:05:06 Mavrik: :-) can always rely on ms to squeeze that extra dime out of everything Feb 02 23:05:06 i think they should charge $25 for each submitted app ;) Feb 02 23:05:07 Zharf, welcome to terrorist watchlists :) Feb 02 23:05:07 MPAA Feb 02 23:05:09 is a good cause Feb 02 23:05:10 if somebody wants to make me happy, try to create an example to read hdmi state :) Feb 02 23:05:11 Zharf, we have tshirts ;) Feb 02 23:05:32 Zharf, I still have a donate to EFF tab open in Firefox, its been open for months. I planned to donate, but havent done it yet, I think payment failed last time or something Feb 02 23:05:42 its on my TO DO Feb 02 23:05:46 anyway, you never know if you find a partner in the future, or have kids or whatevs. Feb 02 23:06:21 eckesicle, I won't find one because I refuse to do so, and even if there was someone, kids would be the last thing I'd ever consider Feb 02 23:06:25 I hate kids Feb 02 23:06:52 i was exactly the same up until last year Feb 02 23:07:14 life changes Feb 02 23:07:20 well I've made it to 30 and never been on a date ;) Feb 02 23:07:57 I never go anywhere but work and visit my grandparents, the rest of the time I spend ircing at home ;) Feb 02 23:08:00 my gf sucks, she dumb as hell, shes borderline retarded, she constantly nags and whines, and she cant code Feb 02 23:08:20 lol Feb 02 23:08:23 good choice - won't run away Feb 02 23:08:32 I am 29, I have one gf, its the only one I ever had.. I am not sure its worth it Feb 02 23:09:19 without my gf life would be pretty boring tho Feb 02 23:09:55 to each their own Feb 02 23:10:09 *sigh* Feb 02 23:10:19 I just watch the world go by and shake my head at the stupidity of humanity -.- Feb 02 23:10:20 hmm Feb 02 23:10:34 well there's two things zharf and i agree on Feb 02 23:10:50 gold has no value and girlfriends just lead to bad situations Feb 02 23:11:17 I wouldn't know what girlfriends lead to, don't have any experience on that field Feb 02 23:11:42 me neither, I only ever had one Feb 02 23:11:44 they lead to wives, kids, and nagging Feb 02 23:11:48 from my expreience, it leads to whining and non-sense Feb 02 23:11:53 she has no pokemon knowledge, no programming skills Feb 02 23:12:02 yeah, lots of nagging Feb 02 23:12:06 wow aren't you guys a depressive bunch today Feb 02 23:12:10 it improved my quality of life Feb 02 23:12:15 for sure Feb 02 23:12:17 i'm like this all the time Feb 02 23:12:18 I do stuff now Feb 02 23:12:20 bankai_, you can count on me to bring that up in people Feb 02 23:12:24 didn't improve the quality of my life Feb 02 23:12:40 hey so how do I dynamically add android:below to an EditText created in java Feb 02 23:12:43 i was engaged, got dumped, and that led to a drug addiction i have yet to shake Feb 02 23:12:49 so, no. Feb 02 23:13:01 which drug ? Feb 02 23:13:09 android ;) Feb 02 23:13:16 the good but expensive ones Feb 02 23:13:25 only the wise will know Feb 02 23:13:29 ohhh the white lines Feb 02 23:13:46 something of a phenomena , baby Feb 02 23:20:31 if a variable is claimed in java i.e. Pirvate String Oxygen; Feb 02 23:20:40 and I never set it to something what will be its value? Feb 02 23:21:09 null Feb 02 23:21:41 kk wasnt sure if undefined would be an option because java does not have that Feb 02 23:36:39 MainActivity opens a ListFragment to get the entry the user selects. How is the entry returned to the Activity? Feb 02 23:36:52 If this was an Activity, I would do 'startActivityForResult()' Feb 02 23:37:07 but how do I do with Fragments? Is there any startFragmentForResult() ? Feb 02 23:37:45 smallfoot- its in the fragment docs Feb 02 23:38:16 define an interface for a callback in the fragment; have the activity implement it Feb 02 23:38:20 read :) Feb 02 23:38:52 damn Feb 02 23:38:58 interface :s Feb 02 23:39:17 I would have hoped it was as easy as passing an intent or something Feb 02 23:39:30 it is easy Feb 02 23:50:31 g00s, I was dumb. You are right. Feb 02 23:50:39 The documentation is great Feb 02 23:50:45 It is very clea Feb 02 23:50:46 clear Feb 03 00:21:34 Hello **** BEGIN LOGGING AT Mon Feb 03 00:24:25 2014 Feb 03 00:24:41 Hello Feb 03 00:24:53 WHere can I find good docs about using sqlite ? Feb 03 01:45:54 <^cheeky> nice ill shut up dont have to do netsplit .. but guys wierd thing happened .. Feb 03 01:46:27 that sentence made no sense at all Feb 03 02:46:03 So I've started a service with startService, and the onStartCommand returns START_STICKY; I need this service to run indefinitly as it notifies the user when events happen with a cloud connected device. But, when I exit the app, the service is stopped. :\ Feb 03 02:48:01 So with my main activitie's onStart() i call: startService(new Intent(this,Client.class)); Feb 03 02:48:01 bindService(new Intent(this, Client.class), this, 0); Feb 03 02:48:31 onCreate* not onStart Feb 03 02:49:27 the service is part of the APK, so it runs locally, would seperating it to run seperately do the trick? **** ENDING LOGGING AT Mon Feb 03 02:59:58 2014