**** BEGIN LOGGING AT Sun Feb 26 03:00:03 2017 Feb 26 03:00:03 fels check this out Feb 26 03:00:03 http://stackoverflow.com/questions/6049837/retrieve-value-stored-in-certain-bits-of-an-int Feb 26 03:00:12 endBitPos = 6 Feb 26 03:00:17 startBitPos = 4 Feb 26 03:00:27 I don tthink it's gonna be 3 though, why do you think it will be 3? Feb 26 03:01:05 let me start at the start - I'm interrogating a sensor and get back some bbyte data that is converted to a string > aaaa000003f000f000300a015114000f 13 5555 - the docs say that value the 13 is the a config bit based on sesor sensors so can cahnge - to get the correct setting I have to gets bits 4,6 of that value Feb 26 03:02:43 for the current setting we should be getting 3 back - Feb 26 03:03:18 Byte 15 config : status of internal dip switch settings : (from my docs ) Feb 26 03:03:29 so bits 4 to 6 of character 34... ie the "3" Feb 26 03:05:53 put a logger on the value and short the input Feb 26 03:06:28 oh.. capella are you couning the space as null byte? Feb 26 03:06:37 how do you get 4-6 as "3"? Feb 26 03:07:36 ysh, spaces are hex x30 ascii iir but contain place Feb 26 03:08:27 so he wants specific bits in a specific character of an input state string Feb 26 03:08:41 process control is fun, I used to blow up thingd Feb 26 03:09:09 sorry the Space is NOT there I added it to give a clearr pic sorry Feb 26 03:09:16 specifically diesel engine brakes Feb 26 03:09:35 you bastards! o/ Feb 26 03:09:51 Sorry - I thought I was helping :) Feb 26 03:10:08 Is there a recommended gdb client for remote debugging native processes? I found the gdb-arm-none-eabi package, but it seems to have a bug that assures it crashes after I connect and give a command. Feb 26 03:14:13 Is there a built in way to rate limit callback methods? Right now I'm planning on using a variable to hold the enabled state of the function and a handler to reenable the method after n seconds Feb 26 03:19:25 so your method consumers poll? Feb 26 03:30:01 sooooo ... any other suggestions ? Feb 26 03:30:32 fels? still stuck?? Feb 26 03:30:48 yes sir capella Feb 26 03:31:29 substring to the char/byte, then do the bitwise math Feb 26 03:32:12 thought scrollback caught it Feb 26 03:32:51 capella: was that directed at me? Feb 26 03:33:15 yes Feb 26 03:36:30 so I'd clarify, does '13' in that string represent a (dec or hex) two-byte register status value? ie 00110001 00110011? Feb 26 03:36:30 capella: I'm fairly new to android and I just looked up what a consumer is, but I don't see the relevance Feb 26 03:36:47 ugh.. this test case is hanging.. Feb 26 03:36:48 http://pastebin.com/0xM09uuv Feb 26 03:36:50 cant figure out why Feb 26 03:37:03 breakpoint hangs at 18 Feb 26 03:38:08 evidlo, wondered how the places where you invoke a disable method handle unavailability Feb 26 03:38:27 your overall design to that possibility Feb 26 03:38:41 during restrictions Feb 26 03:39:31 capella: I see now. My method is a consumer so nothing is returned Feb 26 03:39:50 so mull case goto end Feb 26 03:40:59 can't see why not Feb 26 03:42:37 I use "method consumer" to mean like "function caller" Feb 26 03:51:05 heh, roommate might drag me into arduino, I keep pushing qNX as the next research you šŸ”¬ Feb 26 03:52:43 arduino should be fun. but not as much fun as Obama or Alec Baldwin doing standup at the WHCD in lieu of missing Trump :D Feb 26 03:53:01 ooh, politics, edgy, edgy Feb 26 03:53:13 capella arduino only has a few 4b of ram though Feb 26 03:53:20 *KB Feb 26 03:53:26 What if they gave a C dinner and it didn't make a sound? Feb 26 03:53:59 g00s, you tiny inexpensive project for quick hit Feb 26 03:54:23 get closer to the metal for him, I've been there ;) Feb 26 03:54:27 capella also look at the esp8266 and arm equivs Feb 26 03:54:45 i'd really like to use rust on one of these things Feb 26 03:54:53 ooiooiioihhh, talk processor numbers to me Feb 26 03:55:23 capella check this out https://polyfractal.com/post/rustl8710/ Feb 26 03:55:47 i don't know anything about QNX, i mean its supposed to be great but ... don't you have to license it or something ? Feb 26 03:55:52 heh, he's play with a panic in the servo paint thread Feb 26 03:56:58 I thought qnx might be monetizable via projects for auto panels and such... he's a car guy Feb 26 03:57:16 anyone mess with Mockito? I have a service that is hanging my unit test at line 15: http://pastebin.com/0xM09uuv Feb 26 03:57:23 "Corp work ensues" Feb 26 03:57:27 line 18.. Feb 26 03:57:28 my bad Feb 26 03:58:46 Tricknology haven't used mockito. i'm seriously behind in the android test scene Feb 26 03:59:08 oh man.. when you try and catch up, be sure to set your google filter to "past year" Feb 26 03:59:15 lol Feb 26 03:59:18 you have to wade through so much deprecated stuff :( Feb 26 03:59:19 g00s esp8266 WiFi controller?... hacking at Bluetooth protocols atm... trying to get to card payment basics Feb 26 03:59:27 i have to do that all the time with android anyhow Tricknology Feb 26 03:59:52 capella its got a dedicated mcu Feb 26 03:59:53 well I had to.. until I found Mockito.. havent tried RObolectric.. more wading there, but I've been massing with Mockito for the last 3 days, 1 small success then 1 day of tinkering Feb 26 04:00:01 it's not as intuitive as it /should/ be Feb 26 04:00:12 heheh, oh Android.. Feb 26 04:00:27 I bill for that Feb 26 04:00:31 "Research" Feb 26 04:01:11 anyone in here workign with AOT and Raspberry Pi? Feb 26 04:01:26 ESP32 gets Bluetooth onchip g00s Feb 26 04:01:28 curious to hear about it Feb 26 04:01:42 Tricknology AOT ? Feb 26 04:01:48 Android of Things Feb 26 04:01:59 https://developer.android.com/things/hardware/index.html Feb 26 04:02:22 lol, $10 says that lasts about as long as google spaces Feb 26 04:02:24 * capella sneaking up on conmunicats protocols for same Feb 26 04:02:31 apparently you can run Android on a Raspberry Pi 3 Feb 26 04:02:40 and use Android to control the pi things Feb 26 04:03:06 i just dont know what I would hook the pi up to that would need to be interfaced to the internet liek that Feb 26 04:03:45 Asbestos mix control panels Feb 26 04:04:05 train brake cylinder destruction testing Feb 26 04:04:07 maybe it can be used to run unit tests ^.^ Feb 26 04:04:23 led cheap panel custom signs Feb 26 04:04:34 I'm working on pushing jenkins builds to Pi3's connected to physical devices to run unit tests Feb 26 04:04:46 Tricknology i posted a few years ago on adt-dev, that google should have a build of android that ran on the RPI - but i mean a full build of android. Feb 26 04:04:50 I'd love one of those in my back windsheild Feb 26 04:04:54 illegal here though Feb 26 04:05:08 kinda like HW accelerated emu. and then you interact with the GUI on your desktop Feb 26 04:05:08 I think this might be it? Feb 26 04:05:25 I'm not sure if it's all that similar though.. woulde great if it was Feb 26 04:06:05 androidthings_rpi3_devpreview_2.zip doesnt seem like it Feb 26 04:06:13 only one way to find out I guess.. Feb 26 04:06:17 this is cool https://hackernoon.com/rest-over-websockets-instead-of-http-81b0f0632295 Feb 26 04:06:28 i should try GraphQL over websocket Feb 26 04:06:46 anyone familiar with MVP pattern? I'm trying to hook up a recyclerview adapter to the presenter directly and am wondering if that's the right thing to do.. Feb 26 04:08:52 heh mvp Feb 26 04:09:42 capella: and Tricknology from the start there's a byte[] being returned from shower and converted to string using this > http://pastebin.com/rt1FXdKe is that correct ? Feb 26 04:10:33 boomber kinda? I did something where my activity instantiated a presenter class Feb 26 04:10:49 that presenter controlled the infaltion of fragments Feb 26 04:10:58 hm Feb 26 04:11:03 one of those fragments had a recyclerview I think.. Feb 26 04:11:16 sounds fair fels, but data representation returned from hardware is tricky https://www.allsyllabus.com/aj/note/ECE/8086%20Microprocessor%20&%20Peripherals/Unit%208_IT/Register%20Set%20of%2080872.PNG Feb 26 04:11:19 right now I'm subscribing to the presenter in onResume/onPause from the fragment view, how would I do that with an adapter though? Feb 26 04:11:24 because there is no lifecycle in an adapter Feb 26 04:11:27 your adapter is really your "presenter" Feb 26 04:11:37 fels, test and check for sanity results Feb 26 04:12:06 or dig down to the ee who built the sensor ā˜ŗļø Feb 26 04:12:11 hm Feb 26 04:12:18 onpause/onresume set/get Feb 26 04:12:27 what are you subscribing? Feb 26 04:12:48 so I'm currently subscribing to the presenter itself, the presenter interface has two methods subscribe/unsubscribe Feb 26 04:12:58 and when I subscribe it's going to fetch items from the DB Feb 26 04:13:17 and I basically want the adapter to receive those items... somehow Feb 26 04:13:22 I haven't figured that part out yet though :P Feb 26 04:14:04 I'm referencing this sample project https://github.com/googlesamples/android-architecture/tree/todo-mvp-rxjava/ Feb 26 04:14:07 oh i gotcha Feb 26 04:14:27 jsut implement the interface in your adapter? Feb 26 04:14:51 right, but my question is when do I call .subscribe() .unsubscribe() on the presenter? Feb 26 04:15:03 I mean I can call subscribe() in the adapter's constructor, but then it would never unsubscribe correct? Feb 26 04:15:32 2 abstract 4 me, i need code Feb 26 04:15:44 sure, give me a sec Feb 26 04:15:53 it's not finished but it'll help Feb 26 04:16:08 arrrggggggggg - I'm going to bed Feb 26 04:17:45 Tricknology: https://gist.github.com/JelloRanger/0b83f54dae703f71451d28963d943b0d Feb 26 04:18:16 basically I've had the adapter implement the View interface, so it can set the presenter Feb 26 04:18:25 but I don't know when to call subscribe/unsubscribe on the presenter Feb 26 04:19:32 capella: I'm getting an exception that my thread has not called Looper.prepare(). I believe this is because it is not a UI thread? Feb 26 04:19:45 also I think the presenter in its current state only has a reference to one View, I'm guessing I'd have to change that to have a reference to multiple..? Feb 26 04:20:39 evidlo, different issue? sounds fair... Feb 26 04:22:11 capella: I'm getting an exception on line 245: https://dpaste.de/Uhoi#L245 Feb 26 04:22:26 oh noes codez Feb 26 04:22:29 boomber the lifecycle you have in your fragment should be enough Feb 26 04:24:00 so I don't need null checks in the adapter, I can just assume it's destroyed/not interacted with when the fragment is paused? Feb 26 04:24:09 and by it I mean the presenter Feb 26 04:24:45 * capella can't read the codez until I finish "REST over WebSockets instead of HTTP" Feb 26 04:26:12 as long as you've caled setPresenter() before using the fragment Feb 26 04:26:34 hm Feb 26 04:26:42 makes sense Feb 26 04:27:06 do you know how I would pass the list of items the presenter fetched from the DB? Feb 26 04:27:23 I think I would just have to add a new method to the View interface, but then the fragment and the adapter would have to implement it, would it not? Feb 26 04:27:31 anyone have a solution to my problem? I'm trying to use a timer to trigger a callback function Feb 26 04:27:31 and I think only the adapter would care about that data Feb 26 04:28:15 notify the adapter Feb 26 04:29:02 does that mean the adapter shouldn't implement the View interface? Feb 26 04:29:24 otherwise I think I'd have to implement the method to receive that data in the adapter anyways Feb 26 04:29:44 i dont see why you have a view interface really Feb 26 04:29:49 I think I just need to find an example of adapters and MVP honestly lol >.< this is getting complicated Feb 26 04:29:53 unless you want your adapter to call back to your presenter Feb 26 04:30:10 do you mean in general, or just no view interface for the adapter? Feb 26 04:30:36 I mean the presenter needs some way to tell the fragment/adapter/whatever that it finished loading data from the db, right? Feb 26 04:30:42 make it so your presenter has in instance of your adapter Feb 26 04:31:01 it does, because it implements the View interface "setPresenter()" Feb 26 04:31:06 then you can adapter.notifyDataSetChanged() right in onNext Feb 26 04:31:20 oh you mean the other awy around Feb 26 04:31:32 yeah Feb 26 04:31:32 isn't it bad practice to include android classes in the presenter? Feb 26 04:31:45 ? Feb 26 04:31:57 I'm new to MVP but that's what I read.. Feb 26 04:32:04 maybe from a testability standpoint Feb 26 04:32:31 but if you wanted to keep it that way Feb 26 04:32:52 "android classes" means objects vs. native types? Feb 26 04:33:08 onNext(Entity entity){iface.onNext(entity)} Feb 26 04:33:45 Tricknology: yeah that's what I've been thinking, the only concern is that I think the fragment AND the adapter would have to implement that method Feb 26 04:33:52 but in reality only the adapter cares about that result Feb 26 04:33:52 ConnectionListAdapter implements iface Feb 26 04:34:06 why the fragment? Feb 26 04:34:20 hm Feb 26 04:34:23 either or really Feb 26 04:34:24 thats a good point Feb 26 04:34:39 I was thinking maybe I'll need a method for "showLoadingIndicator" or something down the line Feb 26 04:34:42 in the fragment, if adapter lives there.. then you can adapter.notifyblah Feb 26 04:34:45 and the fragment would be the one to show that view Feb 26 04:34:53 yeah fragment Feb 26 04:34:59 where does your adapter live? I didn't see that Feb 26 04:35:14 it will reside in the fragment? Feb 26 04:35:15 haven't implemented that part yet :P that's what I've been stuck on Feb 26 04:35:21 yeah put it in the fragment Feb 26 04:35:46 your concept of present is a bit different than mine i gues. but I kinda just made mine up Feb 26 04:35:54 yeah I think that's the simplest thing I could do, I was just doing some reading and someone was saying you could just have the adapter interact with the presenter Feb 26 04:36:03 but at this point it seems super complicated Feb 26 04:37:45 in my implementation I have an activity which subscribes to EventBus and to receive asunc updates. The Activity creates a presenter with an instance of FragmentManager. The presenter creates the fragments and populates their UI as data comes in from EventBus Feb 26 04:38:09 hm Feb 26 04:38:19 yeah that part of MVP has always confused me Feb 26 04:38:33 It's really up to you in the end to develop your own style Feb 26 04:38:40 I've heard that it's a good idea to have downstream layers not reference upstream layers, i.e. dao layer doesn't call view layer, but view layer can call dao layer Feb 26 04:38:48 but in MVP views call presenters and presenters call views Feb 26 04:38:50 I've done some weird stuff with interfaces trying to follow the book Feb 26 04:38:59 which in the end made it harder to follow Feb 26 04:39:07 thats true Feb 26 04:39:14 I can definitely agree that looking at those MVP samples just confuse me lol Feb 26 04:39:44 if you want your view to call back to the presenter, by all means use an interface Feb 26 04:39:53 I do with the pull to refresh listener Feb 26 04:40:18 the listener calls back to the presenter and the pesenter removes fragments and makes the call to get more data Feb 26 04:41:09 yeah I'm just confused as to why the presenter calls the View. Since presenter sort of feels like a data layer in a sense Feb 26 04:41:20 as far as I'm concerned, the activity is for registering events and pushing data to the presenter to be presented. I basically give the presenter everything it needs to do its job.. get data into the model and bind it to the view Feb 26 04:41:41 hm, makes sense Feb 26 04:41:50 Maybe I'm using MVC Feb 26 04:41:54 lol Feb 26 04:42:14 thing is all MVP samples I've seen have the presenter calling the view Feb 26 04:42:30 which I'm guessing is the point, I think I'm just missing something about the presenters role Feb 26 04:42:39 presenter would only call the view to bind data Feb 26 04:42:47 seems like every tutorial I see has slightly different MVP implementations Feb 26 04:42:48 then something happens in the view, maybe a touch event Feb 26 04:42:56 it onClick's back to the presenter Feb 26 04:43:05 "calls the view"... after logical construction of a view by a presenter, one the fly view updates can be performed Feb 26 04:43:52 ^ Feb 26 04:43:52 when you say on the fly updates, do you mean the presenter reacts to new data from the DB (via something like RX) and then calls the view to do something? Feb 26 04:44:07 I would say yes Feb 26 04:44:16 like update itself Feb 26 04:44:34 well, in addition to the initial design, but yah, destruction, real-time off main thread Feb 26 04:44:41 holder.setText(newData.getText()) Feb 26 04:44:50 that's what the Holder pattern does in essence Feb 26 04:45:02 in onBindView Feb 26 04:45:40 RecyclerView handles that for you Feb 26 04:45:45 destruction Feb 26 04:45:51 with the holder pattern Feb 26 04:46:25 interesting Feb 26 04:46:46 i.e. you load a bunch of bitmaps, and you're not going to get an OOM if you keep scrolling Feb 26 04:47:11 it's reusing the Holder object and only displaying as many as are on screen.. plus maybe a few more for optimization Feb 26 04:47:18 then once it's off screen GC land Feb 26 04:47:29 that's my understanding anyway Feb 26 04:47:30 so scrolling would be analogous to launching a new fragment? Feb 26 04:47:39 onPause is hit and the fragment unsubscribes from the presenteR? Feb 26 04:47:52 that's a fiar assumption Feb 26 04:48:13 or when remove() is called, rather Feb 26 04:48:46 are you going to inflate multiple fragments into a recyclerview? Feb 26 04:49:24 no you's just binding data to views Feb 26 04:49:30 your fragment should host the adapter Feb 26 04:49:41 and supporting List Feb 26 04:49:54 and maybe even presenter Feb 26 04:50:18 would make sense if it did Feb 26 04:50:35 I create the fragment and presenter from the activity Feb 26 04:50:42 the fragment subscribes to the presenter, which fetches the data Feb 26 04:50:55 and the rpesenter will callback to the fragmetn when it's done, and the fragment will initialize the recyclerview Feb 26 04:51:24 although I probably want to initialize the recyclerview in onCreateView and update it as the data comes in.. Feb 26 04:51:31 I think that'd make more sense Feb 26 04:52:02 yes Feb 26 04:52:30 but why not just skip the interface all together? Feb 26 04:52:58 oh.. if you lose the reference to your fragment you might get error Feb 26 04:54:29 although this is only a personal project, I think it's good practice for testing Feb 26 04:54:39 I think the unsubscribe would prevent that NPE though Feb 26 04:56:10 how does one schedule Timers in activities? I'm using handler.postDelayed, but my function is never getting called Feb 26 04:57:22 for sure is Feb 26 04:59:49 Tricknology: runnable is just a method with a log message, and I see nothing in my logs Feb 26 05:01:14 maybe it's not running in the thread you think it is? Feb 26 05:01:23 got code? Feb 26 05:02:08 Tricknology: I do: https://dpaste.de/W0vh#L250 Feb 26 05:02:42 Im trying to use a handler to rate limit a function the function onLandmark Feb 26 05:02:50 Also I'm new to android, so I apologize if it sucks Feb 26 05:03:38 thread logs still group together in logcat Feb 26 05:04:31 might have to do with Looper.prepare() Feb 26 05:04:45 I've seen Jr's do that.. the error message says you didn't call Looper.prepare() Feb 26 05:05:01 did you try to log you rcounts? Feb 26 05:05:27 Log.d(TAG, "i="+i + " j=" + j); Feb 26 05:05:45 righ tbefore line 247 Feb 26 05:06:16 rcount? Feb 26 05:06:32 evidlo are you dumbing down / slowing calls you're making to a sparse resource? I don't often have to introduce delays Feb 26 05:06:45 log your counts* Feb 26 05:07:02 I think it's always been 1 during testing, but I will check Feb 26 05:07:04 put that log above line 247 and see what comes out Feb 26 05:07:19 curious on the why Feb 26 05:07:20 yeah I think Looper.prepare() is holding up your main Looper Feb 26 05:07:47 make your Handler global and see what happens Feb 26 05:07:51 My app freezes after I added the Looper.prepare() Feb 26 05:07:56 yeap Feb 26 05:07:58 bingo Feb 26 05:08:19 if I don't have it, I get 'Can't create handler inside thread that has not called Looper.prepare()' Feb 26 05:08:22 how is onCameraFrame used? Feb 26 05:08:26 yeah ok Feb 26 05:08:32 you are calling onCameraFrame from a Thread Feb 26 05:08:44 I also tried putting it on 'onCreate', but I got a message saying it already existed Feb 26 05:08:49 no dont do that Feb 26 05:08:52 delete the looper Feb 26 05:08:59 make Handler global Feb 26 05:09:16 Handler will be on the UI thread Feb 26 05:09:51 you will queue up messages to be run every 1s Feb 26 05:10:02 which is only onLandmark_enabled = true; so you're fine Feb 26 05:11:37 I dont understand from this how onCameraFrame is being called but from what you're saying that seems to be the culprit Feb 26 05:11:45 Tricknology: ok it's mostly working, but its closer to 500ms for some reason Feb 26 05:12:07 I need to check how many times the loop is running though Feb 26 05:12:52 use that log I sent you above Feb 26 05:12:59 and Android isn't a realtime OS Feb 26 05:13:09 if you want more accuracy use Timer Feb 26 05:13:22 a TimerTask Feb 26 05:14:00 create a global final TimerTask to call with Timer.schedule(timerTask, 1000); instead of Handler.postDelayed Feb 26 05:14:41 put the run() method in the TimerTask initialization.. when you do new TimerTask(){...}; Feb 26 05:16:49 something like this maybe Feb 26 05:16:50 https://dpaste.de/kQm8 Feb 26 05:16:51 Tricknology: and I use scheduleExecutionTime in my loop? Feb 26 05:17:11 nah Feb 26 05:17:26 do I still need handler? Feb 26 05:17:33 I messed up the parentheses in there, you'll have to fix Feb 26 05:17:39 nope Feb 26 05:17:43 i removed it for you Feb 26 05:17:50 oh no ididnt Feb 26 05:17:53 sorry, it's getting late Feb 26 05:17:58 but yes you should remove it Feb 26 05:18:03 TimerTask will be doing that for you Feb 26 05:19:23 you said TimerTask should be global, but I don't see that in that example Feb 26 05:19:33 meh I think it could go either way Feb 26 05:20:48 this works too: https://dpaste.de/30w3 Feb 26 05:21:02 is `Timer` the name of a module or an object? Feb 26 05:21:02 also i forgot the handler there too Feb 26 05:21:07 Object Feb 26 05:21:20 TimerTask? Feb 26 05:21:21 java.util.Timer Feb 26 05:21:33 I thought that was a module Feb 26 05:21:36 java.util.TimerTask Feb 26 05:22:18 I mean, is Timer something that I need to instantiate or import? Feb 26 05:22:23 import Feb 26 05:22:32 java.util.Timer and java.util.TimerTask Feb 26 05:22:52 I'm getting the message 'non static method schedule cannot be used in static context' Feb 26 05:23:46 that's on line 249 of your paste Feb 26 05:27:23 so add static Feb 26 05:30:00 No, remove static everywhere except main() Feb 26 05:30:41 heh Feb 26 05:31:53 I figured it out. in `timer.schedule`, timer needs to be an instance of Timer Feb 26 05:32:10 also my timer scheduling code shouldve been inside of the if statement Feb 26 05:40:19 lol CedricBeust Feb 26 05:40:33 Evidlo: glad you got it working :) Feb 26 05:40:59 I, however, am still getting reammed by mockito and such Feb 26 05:42:37 Is there something wrong with Mockito and android.Service? Feb 26 06:00:08 after I compiled my c++ project my cross compiled libraries didn't get picked up Feb 26 06:00:24 do I need to put all of the cross compiled libs soemwehre? Feb 26 06:01:19 Tricknology: are Timers reschedulable? I would use Timer.cancel(), but I can't figure out how to check if there are scheduled tasks Feb 26 06:01:45 keep an array of TimerTasks? Feb 26 06:01:53 well that might be a little much.. Feb 26 06:02:12 though you coul dhave the task remove itself from the List Feb 26 06:03:26 Tricknology: I only want one task Feb 26 06:03:37 should I just make another global for the TimerTask? Feb 26 06:04:45 no maybe just set a synchronized boolean Feb 26 06:05:25 if (!isTaskScheduled(){( schedule(timerTask, 1000);} Feb 26 06:06:13 synchronized boolean TaskScheduled(){return this.isTaskScheduled;} Feb 26 06:06:22 isTaskScheduled* Feb 26 06:10:48 man Timer is almost useless Feb 26 06:11:48 these features absolutely should exist Feb 26 06:16:29 I'm sending an angry paper letter to the author of Timer Feb 26 06:21:04 hi Feb 26 06:22:18 is there any attribute for listview in which i can firstly show the items always present at the bottom of the scrollbar in listview? Feb 26 06:29:51 Hi guys Feb 26 06:29:57 I'm having a problem that I can't resolve Feb 26 06:30:47 When I'm adding opencsv3.9 to my gradle.build (app level), i try to build and it gives 312 errors Feb 26 06:30:52 First line: "Ignoring InnerClasses attribute for an anonymous inner class" Feb 26 06:31:07 oh yeah I get those all the time Feb 26 06:31:11 if you figure it out let me know Feb 26 06:31:18 I'm currently at 839 Feb 26 06:31:23 Damn lol Feb 26 06:31:25 I suppsose you could suppress... Feb 26 06:31:36 Well it works on my emulator Feb 26 06:31:38 it's not going to break anything, just a compiler warning Feb 26 06:31:45 yeah.. our stuff is out in production like that Feb 26 06:31:47 dont worry Feb 26 06:31:48 but if I install it on my application, it crashes on boot Feb 26 06:31:52 oh.. ha Feb 26 06:31:55 i mean, on my phone* Feb 26 06:31:59 set breakpoints.. probably something else Feb 26 06:32:10 permission? Feb 26 06:32:11 How can I set breakpoints if i test on phone? Feb 26 06:32:18 are you in android studio? Feb 26 06:32:21 yeah Feb 26 06:32:29 just double click the space next to line number Feb 26 06:32:37 single rather Feb 26 06:32:42 No no i know Feb 26 06:32:47 here's the really weird thing: Feb 26 06:33:05 When I plug my usb with my phone and then choose my real phone, it boots and *doesnt* crash Feb 26 06:33:13 but if I build my APK debug file and install it manually Feb 26 06:33:15 it crashes on boot Feb 26 06:34:07 has to do with Concurrency Evidlo Feb 26 06:34:24 What is that? Feb 26 06:34:43 oh... man.. idk i've been having a time with gradle builds Feb 26 06:35:10 i cant build my apk with gradlew but I can launch it with the play button and build a signed apk through the AS interface Feb 26 06:35:17 AS-isms Feb 26 06:35:39 damn Feb 26 06:36:29 just keep going if it works haha Feb 26 06:42:57 it bothers me lol Feb 26 06:46:57 is there any attribute for listview in which i can firstly show the items always present at the bottom of the scrollbar in listview? Feb 26 06:48:28 So guys.. I think it was because the class I was testing extended Service.. after a lot of refactoring tests don't seem to hang anymore Feb 26 06:48:59 Guest81176: scrollTo Feb 26 06:49:22 scroll.fullScroll(View.FOCUS_DOWN) Feb 26 06:51:37 its the method for scrollview? Feb 26 06:51:54 i am using listview and it maintains its own scroll Feb 26 07:05:44 Tricknology, multiDexEnabled true in build.gradle Feb 26 07:05:50 fixed some of the stuff for me Feb 26 07:06:10 yeah its there Feb 26 07:06:16 I just have so many dependencies Feb 26 07:11:01 http://geektillithertz.com/wordpress/index.php/2016/08/26/android7-raspberry-pi-3/ Feb 26 07:11:13 yoink Feb 26 07:11:35 app:transformClassesAndResourcesWithProguardForDebug Feb 26 07:11:40 Execution failed for task ':app:transformClassesAndResourcesWithProguardForDebug'. Feb 26 07:11:44 Wth is that Feb 26 07:12:01 Am I supposed to enable minify, shrinkressources and proguard for debug build? Feb 26 07:15:20 morning all Feb 26 07:16:45 oh man idk Feb 26 07:16:55 no dont enable minfy Feb 26 07:16:59 or shrink Feb 26 07:22:02 ok yeah it works Feb 26 08:22:27 raoul11: no pooshing? Feb 26 08:39:02 ohi thepoosh Feb 26 08:39:12 was out gettin burekas Feb 26 08:54:08 enjoy you're margarine Feb 26 08:55:18 i did thepoosh Feb 26 08:59:14 good for you! Feb 26 08:59:16 sup raoul11? Feb 26 09:00:13 started learnin rx thepoosh Feb 26 09:00:25 found out theres quite a diff between 1 nd 2 Feb 26 09:00:45 If I remove a view that contains other views, do I need to manually remove its children from memory or will android automatically do this when I remove the top parent view? Feb 26 09:24:38 raoul11: 1 and 2? Feb 26 09:24:43 as in retrofit 1 and 2? Feb 26 09:24:50 rx1/rx2 Feb 26 09:24:59 retrofit2 alltheway Feb 26 09:33:46 what's the diffs in one line? Feb 26 09:36:48 thepoosh: java8 streams? Feb 26 09:37:13 the entire api seems as if its changed. i was trying some examples on a rx2 setup, all borked Feb 26 09:38:08 does this mean you need to set the source compatibility to JAVA 8? Feb 26 09:38:14 with Jack compiler? Feb 26 09:42:31 no Feb 26 09:43:07 wanted to grab a book on rx, found one, started typing examples - most failed Feb 26 09:43:17 and i mean the really basic stuff Feb 26 09:44:36 simple question how do I log something to Android Studio? Say I want to output "hello world" Feb 26 09:45:21 use Log or println Feb 26 09:46:07 ty Feb 26 10:01:25 ClydeSlims: output where? Feb 26 10:02:18 Melatonina, to android studio's console Feb 26 10:02:44 ok, then Feb 26 10:03:28 hi Feb 26 10:03:48 I've implemented an appwidgetprovider/broadcast receiver for a widget, so I've populated onUpdate method and I've added onReceive method Feb 26 10:04:31 unfortunately, visual changes in my widget are not displayed and I've not clues though I've placed some log call in logcat Feb 26 10:04:49 in particular, onUpdate log message ia not displayed anymore in logcat Feb 26 10:07:59 I pastebin java code: http://pastebin.com/eUnXqnaE Feb 26 10:08:37 any ideas? Feb 26 10:11:04 no, sorry Feb 26 10:11:25 ok Feb 26 10:12:18 I'll try to make further search on www about this stuff Feb 26 10:12:23 thanks, btw Feb 26 10:27:34 thepoosh yer coming tommorow? Feb 26 10:43:18 Hello Feb 26 10:44:10 I have a native library shared with my current native application (I have 2 libraries). I am trying to use ndk-gdb to debug the library included, but it doesn't know the files used for this library Feb 26 10:44:24 (I can debug the second one, but most of my code aren't here ^^") Feb 26 10:50:59 hmm, are they compiled with -g ? Feb 26 10:51:46 Yes, and NDK_DEBUG Feb 26 10:51:57 I can do things like : b Drawable::getMatrix Feb 26 10:52:04 but not : b Drawable.cpp:120 Feb 26 10:52:42 (where Drawable.cpp is a file of the library included via PREBUILT_SHARED_LIBRARY) Feb 26 10:52:59 hmm, perhaps source directory needs to be set? (don't remember what the command is atm) Feb 26 10:53:43 oh ! Feb 26 10:53:52 raoul11: nope, which sux Feb 26 10:53:58 because it's gonna be super interesting Feb 26 10:54:18 y not? Feb 26 10:54:26 change the diapers after Feb 26 10:56:03 Arf, doesn't work ^^" Feb 26 10:56:10 (the command is dir path) Feb 26 10:57:46 And "info sources" show me all my files Feb 26 11:09:18 What's a good element to display two elements side by side inside of? Feb 26 11:09:42 Like I'm trying to place a button beside an EditText but the button is like going under the EditText Feb 26 11:09:50 and I put them both inside a LinearLayout Feb 26 11:21:30 nvm got it just had to give them both layout weight Feb 26 14:14:50 Hey all. Any recommendations for a nice onboarding library that is only shown on first launch Feb 26 14:14:51 ? Feb 26 14:15:22 Basically I just need to swipe through 2-3 screens and then show a login controller Feb 26 14:15:48 https://github.com/apl-devs/AppIntro looks pretty good but I haven't tried it yet Feb 26 14:16:45 looks pretty Feb 26 14:22:10 Hello all. I'm working on a project for school that involves building a multiplatform app. Working on the android now and I have an issue. Basically, the apps use xml for persistence, but the apps on each platform have different capabilities. So I'd like to be able to generate the xml on one platform and use it in my android app. Is there a way to basically include an xml file in my apk so that my prof Feb 26 14:22:12 won't have to go through the procedure of adding an xml file to his phone? Feb 26 14:22:30 Yes Feb 26 14:22:33 Just add it to assets Feb 26 14:22:43 and parse it programatically Feb 26 14:23:09 liuwenhao: Is assets the same thing as res? Feb 26 14:23:33 http://stackoverflow.com/questions/18302603/where-do-i-place-the-assets-folder-in-android-studio Feb 26 14:23:35 Check this Feb 26 14:24:02 liuwenhao: Thanks. Feb 26 14:33:58 liuwenhao: How do I access the file from the assets folder though? I already wrote the class that parses the xml, all it needs is a filepath, not sure how this AssetsManager stuff applies Feb 26 14:35:22 AssetManager am = context.getAssets(); Feb 26 14:35:22 InputStream is = am.open("whatever.xml"); and then parse the input stream or turn the input stream into an XML wrapper object or however else you need to use your parsing API Feb 26 14:35:47 liuwenhao: all i need is the filepath, nothing else Feb 26 14:36:00 post code Feb 26 14:36:19 of my xml parser? Feb 26 14:36:37 Does your parser use an Android context? or is it plain Java Feb 26 14:36:43 Plain java Feb 26 14:37:01 ah Feb 26 14:37:15 you can get the raw file path Feb 26 14:37:27 how? Feb 26 14:37:37 http://stackoverflow.com/questions/22906068/how-to-get-file-path-of-asset-folder-in-android Feb 26 14:37:42 just fyi Feb 26 14:37:46 Thanks! Feb 26 14:37:57 Reading/writing files is considered a dangerous permission Feb 26 14:38:09 so you need to 1. add permission to manifest and 2. runtime check the permission Feb 26 14:38:24 which is a pain in the ass, but there is no way around it Feb 26 14:38:33 liuwenhao: Jesus... thats no fun. Feb 26 14:38:52 liuwenhao: Can you suggest any other way that the prof can test my app though? It kinda needs that persistence Feb 26 14:39:32 Why is it dangerous if its not reading/writing from the device though? How is that more dangerous than executing code? Feb 26 14:40:22 It is reading the raw file from the device that's bundled in the assets package Feb 26 14:41:02 Since you're just doing something for class, I would just pop a permission check in your Activity onCreate Feb 26 14:41:15 it just adds some boilerplate but it's not difficult Feb 26 14:41:19 liuwenhao: Ok, but this isn't necessary for parsing layouts, for example Feb 26 14:41:27 So why is it necessary for this? Feb 26 14:44:03 Try it without the permission, I could be wrong Feb 26 14:44:06 been a while Feb 26 14:44:29 liuwenhao: alright haha, I'll try Feb 26 14:45:45 liuwenhao: You know what, I have a better idea. I'm just gonna create some stuff programatically, which will automatically generate the xml files Feb 26 14:46:00 Kinda ugly but for the purpose of the assignment its probably ok Feb 26 15:47:16 Hello all. I'm working on an android app that uses some java JAR that I wrote. I just edited the JAR and updated it in my libs folder, but now when I try running my app I get a DuplicateFileException. When I clean the project everything goes well, I just cant run the app. Any idea how to fix this? Feb 26 15:49:14 I can also build the project successfully Feb 26 15:50:15 It says the duplicate file is copied in APK XPP3_1.1.4c_MIN_VERSION Feb 26 16:44:38 If I have a JAR in my libs folder and I made changes to the JAR, how do I update that in android studio safely? Feb 26 16:54:48 hi All:) Feb 26 16:55:31 hey Feb 26 16:55:42 If I have a JAR in my libs folder and I made changes to the JAR, how do I update that in android studio safely? Feb 26 16:56:24 Basically, I imported an eclipse project into my libs directory, and then I realized there was a bug in my eclipse project so I had to change it. How can I safely incorporate that into my android project? Feb 26 16:56:39 When I try simply copying the jar over, I get DuplicateFileException's Feb 26 16:56:52 And by copy, I meant replace Feb 26 17:23:28 hey guys Feb 26 17:23:38 I got this ol' request I need to send to the server https://www.dropbox.com/s/3bms7vxlg3ynq8e/Screenshot%202017-02-26%2019.21.58.png?dl=0 Feb 26 17:24:18 you see the "attachements" part of it? I need to construct that, right now I'm sending the request as Multipart and the "attachments" bit of it is a Map of Feb 26 17:24:31 like here https://hastebin.com/xeqinihuca.java Feb 26 17:24:59 the *problem* is, multipart sends the data interleaved, meaning it will send a part from the attachments[0] then attachments[1], server doesn't like that Feb 26 17:25:13 how can I construct this as a pure String? Feb 26 17:29:34 Hello all. Is there a way to access data from the /data directory of my phone? That's where my app is saving stuff, by getFilesDir().getAbsolutePath() Feb 26 17:35:16 hey guys, question. Does any of you have a problem with autofocusing in barcode apps? My phone refuses to autofocus (since I went to versions of android higher than 4.4 [I have custom rom]) Feb 26 17:40:02 lucicam: my sony android can't autofocus after taking like 20 photos in a row (it gets hot) Feb 26 17:41:04 how is it called the event that happens when you attempt to drag past (or before the beginning) the end of a recycler view? Feb 26 17:41:30 thing is, I have a barcode scanner app I've used a while ago and it would continuously autofocus but now it doesn't. And it's annoying cause I'm trying to make an app where I need to scan barcodes and I can't scan them because it doesn't autofocus ... Feb 26 17:41:55 and was asking if someone came across this problem and knows what's up... Feb 26 17:43:27 Hey gang, how can I ensure that espresso kills my app before each test? Feb 26 17:43:48 as far as I can see it just hits back and then peforms the next test Feb 26 17:45:12 JakeWharton any idea about the above? Feb 26 17:45:27 why does @Multipart send in random order? Feb 26 17:53:53 What's the best way to go about creating a "wizard"/user guide for an app that requires quite a bit of interaction? Feb 26 17:56:00 How do I detect overscroll? Feb 26 17:57:13 JakeWharton, it's not @Multipart that sends randomly, it's HashMap that is storing randomly Feb 26 17:57:21 sorry bruh Feb 26 17:59:19 works now, use LinkedHashmap if you want to preserve insertion order ok Jake? Feb 26 17:59:33 just know that this old guy told you once, remember me when they ask you about your knowledge Feb 26 18:01:07 guys, can someone point me to a barcode scanner app example with continuous autofocus? Feb 26 18:02:35 hello Feb 26 18:05:07 how can I get name of background resource drawable and image resource from context - getresources? Feb 26 18:05:37 for a particular view, using its id? Feb 26 18:05:47 any ideas? Feb 26 18:06:19 *current background and current image resource set at runtime Feb 26 18:06:24 mmmmm, bacon Feb 26 18:06:59 :O Feb 26 18:12:54 getResources().getWhatever() Feb 26 18:14:02 I've tried to see Resources class Feb 26 18:14:15 api Feb 26 18:14:18 just do the above Feb 26 18:14:21 and get the thing to wokr Feb 26 18:14:26 then you can analyze the android api Feb 26 18:15:06 sorry, I mean resources webpage on android developer official documentation Feb 26 18:15:57 there are many methods listed heading get- Feb 26 18:16:53 I'd like only get name of current set resource for a particular view Feb 26 18:17:31 :O Feb 26 18:17:35 getresourcename Feb 26 18:18:12 uhm, it's not proper Feb 26 18:20:09 uhm, getresourceentryname Feb 26 18:20:34 Hi. I have an app that saves some data to a folder. How can I create an intent that allows me to open that folder within my app, using some file explorer? Feb 26 18:20:48 I've got some code but it works only with ES File explorer, which I hate because it's bloated Feb 26 18:21:13 http://pastebin.com/WQUXmdQp Feb 26 18:21:16 that's my code however Feb 26 18:51:14 hello all. I was wondering if anyone uses Zelix KM to obfuscate their android code? Feb 26 18:52:23 or more generally, has anyone had to obfuscate a common jar used by android and some other desktop app? Feb 26 18:53:34 Is there a way to make a dialog fragment fill the whole screen? Feb 26 18:54:30 ayor: might using proguard more or less accomplish the same goal? Feb 26 18:56:16 kbs, well, proguard in it's basic form doesn't provide much protection Feb 26 19:21:30 Is there a way to access the R-object from within C-code? Especially the R.id object would be interesting. I could use reflection, but this doesn't have compile-time checks Feb 26 19:28:44 hi Feb 26 19:39:43 I want my app UI to use a 1080x1920 background image which I will flip occasionally and I'll use some other images with alpha to highlight the controls. I found how to do this by loading bitmaps and painting on canvas then setting result to imageview. Although a bit slow, it works well in emulator. Problem is I'm getting out of memory errors in my Feb 26 19:39:43 device. I found several questions on SO addressing the matter and I tried a different approach that allegedly bypasses caching but it didn't work for me. I have scaled down my pictures to a quarter (half width, half height) and got it to run but hit the OOM error again rather soon. So I'm more than lost at the moment and I guess my question is: how Feb 26 19:39:43 do I work around this problem without degrading my pictures too much. Should I try some image handling library? Request heap size increase? Why? How? I got the feeling this is an unresolved recurrent issue ... Feb 26 19:39:56 Hi is anyone here Feb 26 19:41:14 I have 2 devices connected to my PC, I need a way to adb install some apks automatically without specifying the device name Feb 26 19:41:22 I need it in a .bat file so I just click it and it'll install the apks to all connected devices Feb 26 19:41:24 Anyway to do that? Feb 26 19:43:19 I guess you could list the devices and filter the output in BATCH or with some windows tools and use it in a loop to install. But I wouldn't know how to help specifically Feb 26 19:44:16 here's how to loop: http://stackoverflow.com/questions/2591758/batch-script-loop Feb 26 19:44:16 regex the adb devices output? Feb 26 19:44:24 I'll leave the filtering to you Feb 26 19:45:10 him, I'm just driving by Feb 26 20:00:59 How do I fix the ads to not overlab the recyclerview at the bottom, my xml layout: https://nopaste.me/view/b0ff0913 the image of screen: http://imgur.com/eLTpeKb ? Feb 26 21:07:18 Hi. I'm wondering if anyone knows whats wrong with this layout? http://pastebin.com/ReUyRLZr - everything above the icon (ImageView) is just cut off Feb 26 21:28:06 hello all im working on a system and im needing to get a json file from a website, then i need to get the time in hours (00 - 23) and day (as in sunday = 0) then read the json file and get some info from it the file is set out in array format you have the array day which has 12 arrays in it for the time and they have one set of arrays in it with info i.e dj name, show name, and show blurb, how would i be able to get this and fix it), Feb 26 22:16:20 here i am again! :) I have a linearLayout with an Imageview in there Feb 26 22:16:27 it put png images in there Feb 26 22:16:48 but theyā€™re being scaled to way smaller then the room available Feb 26 22:17:08 I tried to fix it using scaleType Feb 26 22:18:31 i know the scaling is off because i turn the background red, huge white boarders Feb 26 22:18:35 borders Feb 26 22:20:21 layout_height=wrap_content was the issueā€¦ believe me i tried before posting hereā€¦. Feb 26 22:37:49 hey guys Feb 26 22:38:04 anybody have an idea / link on how to implement Multi-selection for a recyclerview? Feb 26 22:52:09 ok another android developing newbie questionā€¦ Feb 26 22:52:20 iā€™m trying setClipToOutline(true) Feb 26 22:52:35 but that requires api level 21, iā€™m using 19 Feb 26 22:52:50 because i want to be kitkat compatible Feb 26 22:53:16 canā€™t i use this when the device the software is running on has api level 21 or >? Feb 26 22:56:02 iā€™ ve been reading https://developer.android.com/training/basics/supporting-devices/platforms.html, but iā€™m using java not xml Feb 26 22:57:43 ah it MUST be done like this: if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.LOLLIPOP) Feb 26 22:59:12 hello all im working on a system and im needing to get a json file from a website, then i need to get the time in hours (00 - 23) and day (as in sunday = 0) then read the json file and get some info from it the file is set out in array format you have the array day which has 12 arrays in it for the time and they have one set of arrays in it with info i.e dj name, show name, and show blurb, how would i be able to get this and fix it), Feb 26 23:00:11 sounds like a homework question Feb 26 23:00:27 its not its for my own app, for a radio station Feb 26 23:02:25 so what's your actual question? Feb 26 23:11:13 i have the file https://www.radiobeacononline.com/assets/js/shows.json and i need to be able to get the day and hour in number format i.e 0 = sunday ... 6 = saturday and the hours 0 = midnight and 23 = 11pm. then read the json file and find the [day][hour] and recive djname showname and blurb so i can put this on the screen of the app, but i dont know hoe to do this Feb 26 23:11:54 have a look at gson or some other json serialiser Feb 26 23:12:37 how do i find the UTC time and day in number form? Feb 26 23:16:20 there's no dates or times in this file... Feb 26 23:20:21 it goes by days are 0 - 6 which is sunday to saturday, and the time is hours 0 - 23 which is midnight to 11pm Feb 26 23:21:35 well, it's just an array, so find the position... Feb 26 23:21:46 Silly to start on sunday instead of monday, but yeah, can't you simply use the current weekday/hour as index in a gson-parsed List and display it on the screen? Feb 26 23:22:00 sunday is the first day of the week, so it makes sense... Feb 26 23:22:37 Not everywhere, and it was a joke :) Feb 26 23:23:16 Thorbear, that is what im doing but how do i find the week day and hour in the number format in android in UTC time, so i can then find the right section Feb 26 23:24:06 https://radiobeacononline.com/assets/js/shows.js this is what i have in js for the site Feb 26 23:25:05 Joda-Time has several methods that might aid you. Something like DateTime.now().dayOfWeek() and DateTime.now().hourOfDay() for example Feb 26 23:26:04 For a specific UTC timestamp you would simply use new DateTime(timestamp) in place of DateTime.now() Feb 26 23:26:41 All of this can be done with plain Java too of course Feb 26 23:26:58 i dont need the timestap just the hour and day of the week in number format ie 0-23 and 0-6 but it needs to be for UTC time and not the users time Feb 26 23:27:09 how would i do this ? Feb 26 23:28:33 DateTime.now().withZone(UTC).dayOfWeek() Feb 26 23:29:26 You can even shorten it to DateTime.now(UTC).dayOfWeek() if you want. Feb 26 23:29:40 ok thinks now i just need to find out how to read the json file to get the info Feb 26 23:31:02 You should use something like gson for that, as mentioned before Feb 26 23:32:40 Hi guys! I wonder where can I find refresh button in layout inspector in AS 2.2.3, and why doesn't it refresh the layout automatically after I alter my xmls? Feb 26 23:36:32 How do I make the app not quit when I press the back button? Feb 26 23:41:01 Override onBackPressed() and don't call super Feb 26 23:42:15 Thanks Feb 26 23:48:09 Is HTTPClient deprecated or something? Feb 26 23:48:16 I can't seem to be able to import it, symbol not found :/ Feb 26 23:48:27 Just trying to do a simple HTTP GET request Feb 26 23:54:07 It was deprecated a while ago, you need to enable the legacy import to use it. Feb 26 23:54:44 http://stackoverflow.com/questions/30856785/how-to-add-apache-http-api-legacy-as-compile-time-dependency-to-build-grade-fo Feb 27 00:08:13 is anyone here? Feb 27 00:24:49 Omg... Feb 27 00:24:58 Is there some tutorial I can use to do a simple HTTP Get request using modern methods? Feb 27 00:25:10 Every tutorial I find seems to make things extremely complicated... Feb 27 00:35:24 What libraries can people recommend for a showcase view, to show UI elements the first time someone opens an app? Feb 27 00:35:45 Faizan, what do you mean showcase view? Feb 27 00:35:57 Like, showcasing a home? Feb 27 00:36:01 Realty? Feb 27 00:36:01 https://i.stack.imgur.com/HWhQT.png Feb 27 00:36:22 Like that, but one that allows you to "chain" showcases so you can show multiple, one after another Feb 27 00:40:17 is there a way to emulate a two finger touch in studio? Feb 27 00:43:24 i read that alt+click is supposed to work but it doesn't for me Feb 27 00:56:22 How could I test a Wifi P2P app that requires 2 devices, with only one physical device Feb 27 00:56:26 (Since AVD can't do wifi) Feb 27 00:57:39 ClydeSlims: Did you look through the tutorials offered on d.android.com? https://developer.android.com/training/volley/index.html Feb 27 01:07:44 Redrield, I see multiple Android devices on Ebay with free shipping for ~$15 Feb 27 01:08:34 Ologn, I'm not interested in actually shipping this, it's more a learning experience Feb 27 01:08:40 So I'd prefer not to spend anything Feb 27 01:08:46 Haven't even gotten the license to post to the play sotre Feb 27 01:08:49 store Feb 27 01:14:42 if i have an open AVD and then attach a physical device, how can i run on the physical device? the run button always runs it on the AVD Feb 27 01:15:09 do i have to stop the AVD first? Feb 27 01:41:56 efloid: Run > Edit configurations. Feb 27 01:48:04 Someone? Feb 27 02:21:02 Is it possible to programatically change the checked state in SharedPreferences? Feb 27 02:21:26 e.g. if user selects "Do not show this again" in an app activity, this changes a checkboxes state in SharedPreferences Feb 27 02:26:47 Someone? Feb 27 02:26:49 :/ Feb 27 02:30:40 android p2p wifi? what type device do you have? Feb 27 02:32:59 Nexus 5 Android 7.1.1 Feb 27 02:33:12 My problem is that I need 2 devices, and AVD can't use p2p Feb 27 02:39:31 Redrield wifi direct on android has a bad rep, hope you're ready to test with plenty of devices Feb 27 02:40:31 g00s, Like I said earlier, not planning to actually ship it. Just want to figure out how to test it between 2 devices. Feb 27 02:40:36 Everyone else in my family uses Apple Feb 27 02:52:55 So, what can I do **** ENDING LOGGING AT Mon Feb 27 03:00:01 2017