**** BEGIN LOGGING AT Sat Mar 15 02:59:58 2014 Mar 15 03:00:05 neato, neato Mar 15 03:00:08 i love me a burrito Mar 15 03:01:32 me too Mar 15 03:01:49 my favorite food ever is the steak burrito at a restaurant called taco burrito mexico in green bay Mar 15 03:02:01 it's pure addiction for $6 Mar 15 03:03:01 Thanks myke Mar 15 03:07:30 myke: ohh Mar 15 03:07:46 green bay wisconsin? Mar 15 03:08:04 I just installed the Kivy app but no console Mar 15 03:09:28 hello all (^_^) Mar 15 03:09:34 hello b0br Mar 15 03:09:44 hello Sharoa Mar 15 03:10:36 all heard of odroid-x3 ? http://www.hardkernel.com/main/main.php Mar 15 03:11:53 quad 1.7ghz in the size of raspberry pie or ardveeno...or however is spelt....hdmi, usbs....i want it! Mar 15 03:11:59 for mah car! (^_^) Mar 15 03:13:12 ok, so android avd question - how can i emulate samsung s4's 1080 x 1920 pixels, 5.0 inches (~441 ppi pixel density) Mar 15 03:14:02 hi i am using lava android tab.in my tab alert messages appearing always Mar 15 03:14:05 google.acore stopped,launcher stopped,google play service stopped alerts appearing always.i cant use my tablet.what causes this problems? how can i solve? Mar 15 03:14:35 sounds bad smartracer Mar 15 03:14:49 why @b0br? Mar 15 03:14:59 if you dont have data maybe you can factory reset? Mar 15 03:15:02 help me friend Mar 15 03:15:16 <3 smartracer Mar 15 03:15:17 is there any other ways other than factory reset? Mar 15 03:15:39 idk, it sounds like a mess. did you root phone and mess with services / listeners etc? Mar 15 03:15:49 i tried to clear cache of apps but its also not working Mar 15 03:15:51 (tablet) Mar 15 03:15:59 no no not even tried to root Mar 15 03:16:00 did you root phone? Mar 15 03:16:02 ok Mar 15 03:16:10 and did you drop it in water? (^_^) Mar 15 03:16:13 lulz Mar 15 03:16:30 no i didn't used my tablet for months Mar 15 03:16:36 can you get google play to update software? Mar 15 03:16:40 (without crash>?) Mar 15 03:16:47 i cant use google play Mar 15 03:16:54 its says its stopped Mar 15 03:17:01 yes i see Mar 15 03:17:15 even i cant go to home when i tries it says launcher stopped Mar 15 03:17:28 i am only having access to settings Mar 15 03:17:37 yes its gone bad, but i am no expert on android...i know a bit linux Mar 15 03:17:48 ok can u get help for me? Mar 15 03:18:11 ok what things will be happen when i do factory reset and what will be erased? Mar 15 03:18:14 did you try to unistall system applications? Mar 15 03:18:19 no not Mar 15 03:18:21 everything will be erase Mar 15 03:18:36 ok, i dont know what cause your problem Mar 15 03:19:05 i know before when i have wrong google apps with my rom...ie. runnning ics google apps on gingerbread. Mar 15 03:19:06 or Mar 15 03:19:21 i try to mess with on event listeners Mar 15 03:19:21 i asked in other android channels too but they are not responding Mar 15 03:19:28 i got the same problem as you Mar 15 03:19:42 then how you solved? Mar 15 03:19:50 so...i dont know how it happen for you, but i thnk i would at this point.....factory restet Mar 15 03:19:53 reset* Mar 15 03:20:15 u did that? Mar 15 03:20:16 but you must try to get photos etc becuase google maybe didnt back them up to your account? you have SD card? Mar 15 03:20:28 no Mar 15 03:20:32 i had similar problem to you yes Mar 15 03:20:41 all apps will be deleted? Mar 15 03:20:44 and for the two reason i say aboive Mar 15 03:21:00 installed apps? Mar 15 03:21:10 what reasons? Mar 15 03:21:17 google account will know which apps you have, if you goto on desktop pc google.com/play and be log into same account as phone then you have list to re-install the apps Mar 15 03:21:53 i know before when i have wrong google apps with my rom...ie. runnning ics google apps on gingerbread or i try to mess with on event listeners <<- these two things cause me same messages as your problem Mar 15 03:22:04 ok ok i know that thanks friend Mar 15 03:22:12 gl Mar 15 03:22:39 i even dnt know what is event listeners Mar 15 03:23:13 i tried to make my phone faster by telling applications not to do stuff when say, sdcard is mounted...or bluetooth state is changed, etc Mar 15 03:23:28 oh ok ok Mar 15 03:23:41 i have old phone ;) Mar 15 03:24:06 when i searched internet some said i have to clear system cache Mar 15 03:24:11 how can i do that? Mar 15 03:25:05 system cache or davick cache or cache partition? Mar 15 03:25:24 it is safer to do fastory reset Mar 15 03:25:29 factory* Mar 15 03:25:40 ok ok.and i have another doubt Mar 15 03:25:42 unless you know what to do*** Mar 15 03:26:10 dalvik******* Mar 15 03:26:12 (^_^) Mar 15 03:26:25 my friend smartracer will add me on twitter? @z0mb1ebob Mar 15 03:26:34 ya ok friend Mar 15 03:26:55 you are the nice'st person on the internet! Mar 15 03:27:01 how old are u? Mar 15 03:27:09 21 Mar 15 03:28:01 32 meh Mar 15 03:28:25 ya making friends is always good thing. Mar 15 03:28:54 fat, old, stress, balding.... but, i like my consciousness and my brain still work so thank you god (^_^) Mar 15 03:29:08 nice Mar 15 03:29:11 :) Mar 15 03:29:13 hehe Mar 15 03:29:33 hey i tried to connect my tab to pc using adb.but i cant Mar 15 03:29:49 did you put tablet in portal and tools mode? Mar 15 03:31:03 b0br android is just going to make you age quicker Mar 15 03:31:12 cholesterol problems, etc Mar 15 03:31:23 hey, it could be worse Mar 15 03:31:49 all that time you could be exercising, you'll be sitting on your ass looking at SO for answers to the docs, etc Mar 15 03:32:03 your blood will clot easier, etc Mar 15 03:32:52 is there a good youtube video on the activity lifecycle? Mar 15 03:33:17 Sharoa yes: put log statement in your onXXX and watch logcat Mar 15 03:33:35 you can be te first to post a movie on youtube ;) Mar 15 03:33:55 lol Mar 15 03:34:02 google.acore stopped,launcher stopped,google play service stopped alerts appearing always.i cant use my tablet.what causes this problems? how can i solve? Mar 15 03:34:18 can any one help with me this friends? Mar 15 03:35:09 help me @g00s Mar 15 03:35:24 i have no idea Mar 15 03:35:39 ok Mar 15 03:36:09 lol Mar 15 03:36:16 g00s tellin it like it is Mar 15 03:47:17 What's the best way to structure an activity like the hierarchical file browser in (Google) Drive? Mar 15 05:21:46 Hi everyone ! Mar 15 05:22:19 What could be reason of getting null when I am trying to fetch the phone number of the first SIM ? Mar 15 05:23:34 TGM! Mar 15 05:24:11 Hey codeguru ! Mar 15 05:24:23 I know you =p Mar 15 05:24:29 hmm Mar 15 05:24:36 y u no SO? Mar 15 05:24:51 nvm...you are on SO Mar 15 05:25:11 hmm Mar 15 05:25:16 sorry I can't help with your question though Mar 15 05:25:26 No problem Mar 15 06:13:37 bankai_ rxjava 0.17.1 has some added android stuff, although i haven't looked at it much yet Mar 15 06:18:09 Any chance anybody here has any experience on how to compile CWM Recovery for a new device and how to define the partitions and all that jazz? Mar 15 06:18:24 FireBreath try #android-root Mar 15 06:18:48 danke Mar 15 06:21:32 anyone here have experience with in app billing V3? Mar 15 06:50:10 hi, how can I get a list of live wallpapers available? Mar 15 06:51:04 I see android.app.WallpaperManager shows the current wallpaper and can launch a chooser to set the default wallpaper Mar 15 06:51:15 I'd like to reference a wallpaper without setting it Mar 15 06:52:50 specifically I'm using Current Wallpaper to display a wallpaper in fullscreen, the app shows the current wallpaper while I'd like to pick one while keeping the default wallpaper a plain image http://goo.gl/wdaXaV Mar 15 06:59:37 hm Mar 15 06:59:41 never done something like that Mar 15 07:07:44 I even thought about pushing a reference to the current wallpaper I want, set the other onw, then on exit pop and re-set the previous one Mar 15 07:07:48 sounds reasonable? Mar 15 07:10:44 could work Mar 15 07:17:29 Anyone here familiar with the amazon store? Mar 15 07:17:38 I have a question about app updates Mar 15 07:56:51 apple741: first of all the "don't ask to ask just ask" rule applies Mar 15 07:57:09 in second place: good choice of nickname for the chan :-) Mar 15 07:58:25 anddam: Hehe thanks :) Mar 15 07:59:18 So the problem is that I just had an update approved but at the top of the screen it says that the Current Version is now Under Review while the Upcoming Version is Approved. Mar 15 07:59:38 I'm not sure why the current version is being reviewed? Mar 15 08:02:26 gooood morning :) Mar 15 08:21:25 Greetings. Mar 15 08:56:20 My Dynamic Text asset is discounted in the Unity Asset Store today. 50% off: https://www.assetstore.unity3d.com/#/content/15320 Mar 15 09:07:00 * cousin_luigi is trying to find out how a certain (free) app works: is dex2jar and jd-gui the best way to go on about it? Mar 15 09:08:38 dunno about jd-gui, I just used baksmali for that kind of thing Mar 15 09:09:07 never heard about it, giving it a try Mar 15 09:15:08 p_l: thanks, that looks very interesting Mar 15 09:20:31 Hello, was just wondering for a fairly complicated app how long a beta period might reasonably last? Mar 15 09:35:13 Lasserix: totally depends.... google spits out betas all the time and keeps them beta as long as they arent confident that its "ready", you might have used a google beta for years already until they finally remove the beta status of it.... one way to aggressively get to market shares Mar 15 09:38:53 guys I am looking for lib which would extract audio/ speech from file and turn it into speech any tips? Mar 15 09:41:46 hmmm Mar 15 09:41:47 well Mar 15 09:43:29 ohcibi: for an app that was rushed in development, a single week long beta is somewhat unreasonable? Mar 15 09:44:39 in the cousera machine learning class that recently started there's an example learner, that is able to extract separate individual audio files from a source audio file containing multiple speakers Mar 15 09:44:48 as well as music and other background "noise" that wasn't speech Mar 15 09:45:03 now that's a long ways from a ready to go library... Mar 15 09:46:06 ahh here's the term i was looking for "release canidate" and "code complete" Mar 15 09:46:17 Lasserix: the point is: an app is technically never out of beta. you will _always_ find bugs and errors after the beta phase no matter how long it took. if you have 1 million of beta testers who are testing heavily one week might be enough but you will only get 1 million of beta testers if you actually release the app to the public (marking it as beta) Mar 15 09:46:36 or as a release candidate yes Mar 15 09:46:48 Ahh right Mar 15 09:46:51 its a matter of communication with your customers Mar 15 09:47:00 be honest and you get a 2 year beta phase for free Mar 15 09:47:17 ? Mar 15 09:47:20 while maybe even gathering market shares Mar 15 09:47:35 ahh i see Mar 15 09:47:50 thats what google does (kinda successful I guess 8-) Mar 15 09:48:25 yeah that is what I had recomended to my boss, which I thought they comprehended but after a week of beta they told me the next morning we need to release it today! Mar 15 09:48:45 thanks for clarifying how they can work though Mar 15 09:48:51 try to communicate that there is nothing wrong with releasing, wrong would be marking it as complete while it isnt Mar 15 09:49:01 percisely Mar 15 09:49:11 Thanks! Mar 15 09:49:14 np Mar 15 09:49:22 as a dev you need to manage your bosses, manage expectations Mar 15 09:49:26 they dont understand how it works Mar 15 09:49:32 true Mar 15 09:49:33 you need to communicate what's possible...and what's not Mar 15 09:50:05 customers need honesty, thats one of the biggest powers you have Mar 15 09:52:45 myke: true, but near impossible currently. Mar 15 09:53:18 ohcibi: by honesty with your customers, you mean in what you represent the app being able to do -- such as on the play store, in a web site about the app, etc? Mar 15 10:07:22 myke: yeah I remember that , I am not familiar with machine learning so I worry it wont be that easy as I want to. Mar 15 10:07:56 myke: I was planning to provide / to work only with good quality audio so I hoped that extracting speech wont be that hard. Mar 15 10:12:10 myke: btw now thinking about it youtube is using for subtitles Mar 15 10:18:30 seems there's no alternative to WallpaperManager.ACTION_CHANGE_LIVE_WALLPAPER that would allow setting a Live Wallpaper without user intervention, can anyone confirm? Mar 15 10:44:33 suppose i have a vertical linearlayout, I want the width to be the largest width of the children textviews. how do i do this? Mar 15 10:50:01 wrap_content Mar 15 11:21:49 Hi there Mar 15 11:22:47 how I can stop calling Draw method in activity? Mar 15 11:22:52 or even break Mar 15 11:34:00 i swear to god, these listview dialogs will be the end of me -.- Mar 15 11:36:44 Hey. Can I download the android docs for offline viewing? Mar 15 11:41:00 Does Speech Recognition need to be on a separate thread ? Mar 15 11:42:31 intuitively, I would say yes Mar 15 11:45:32 im with sonOfRa on that one. "main" thread seems fragile for slow/blocking events Mar 15 11:48:05 TJ_CRS, I could swear I've read you said that already before. Mar 15 11:48:09 Weird dejavu I've just had. Mar 15 11:48:29 s/said/saying Mar 15 11:48:35 lol Mar 15 11:48:48 bizarre. Mar 15 11:48:52 dont tihnk I've said it before, but I sure as hell have thought it many times before Mar 15 11:49:09 Maybe I can read minds. Who knows? Mar 15 11:49:13 now I just run -nothing- in main thread, everything is async and goes through messages Mar 15 11:49:27 could be a new career is dawning on you ? :) Mar 15 11:49:44 Could be. Mar 15 11:50:12 sonOfRa, would use SpeechRecognition as a Service ? Mar 15 11:50:29 I've never done SR, so I don't know what the API looks like Mar 15 11:50:34 TJ_CRS, that's me 10 years in the future http://3.bp.blogspot.com/_3tZ6Tj_S0vM/TO92HEZQdrI/AAAAAAAAAIA/trt9bS9mh6E/s1600/vidente21.jpg Mar 15 11:50:50 it's another glitch in the matrix! Mar 15 11:50:57 duck! Mar 15 11:51:01 Maybe an IntentService that receives the soundbytes and sends out whatever you need as a broadcast afterwards? Mar 15 11:51:03 hehehe Mar 15 11:51:28 lo Mar 15 11:51:29 lol Mar 15 11:51:43 brb, I'm gonna get me a tinfoil hat Mar 15 12:00:51 Can anyone explain how smali relates to java? Mar 15 12:01:07 Or better, to the source that generated the .dex? Mar 15 12:13:26 theres a smali channel Mar 15 12:13:52 thanks Mar 15 12:14:05 cousin_luigi: (bak)smali is a (dis)assembler for DVM bytecode, the stuff that is actually executed by Dalvik Mar 15 12:14:27 dx.jar turns JVM bytecode to DVM Mar 15 12:15:53 p_l: I'm aware of that, but I'm having trouble understanding .smali sources. Mar 15 12:16:00 Is there any way to use Speech Recognition off line with a XML containing the words ? Mar 15 12:27:34 suppose i have a vertical linearlayout, I want the layout width to be the largest width of the child textviews. how do i do this? Mar 15 12:35:21 Hi! How do I start a service, so when the activity is destroyed its service remains running? Mar 15 12:36:01 I use startService(new Intent(this, GPSService.class)); - but it is stopped as soon as the activity is destroyed Mar 15 12:53:59 anyone?.. Mar 15 13:00:37 guys, I'm really confused. I'm considering reading a thick book about interrogation psychology. On the other hand, there's another set of thick books that I also want to read and that's more relevant to what I do (I'm a horse consultant). Now, I'm confused over why I believe I need the interrogation books... because, I don't really need them.. but still, I'm deluding myself somehow that I need them. I'm just confused. I don't even kn Mar 15 13:00:37 ow what I'm asking here (im that confused), but can you help me? Mar 15 13:05:10 Ask a horse. Mar 15 13:08:53 but of course! Mar 15 13:11:57 bbl peeps Mar 15 13:47:04 hey onActivityResult is not being called in my adapter... any clue why here is some code...http://pastebin.com/72uNNT8y Mar 15 13:51:44 Hi, I have a problem with configuraion of android studio. When I'm trying make the application with one activities generated by program I get Mar 15 13:52:04 Error:Execution failed for task ':apapp:mergeDebugResources'. Mar 15 13:52:06 > /home/pawel/AndroidStudioProjects/Pawlissi/apapp/build/exploded-aar/com.android.support/appcompat-v7/19.0.1/res/drawable-hdpi/abc_textfield_search_right_default_holo_light.9.png: Error: Cannot run program "/opt/android-studio/sdk/build-tools/android-4.4.2/aapt": error=2, No such file or directory Mar 15 13:52:38 but program /opt/android-studio/sdk/build-tools/android-4.4.2/aapt exists Mar 15 13:52:46 I would be thankful for help Mar 15 13:52:47 pawell: have you checked the permissions? Mar 15 13:53:02 yes Mar 15 13:53:09 but I'll do it again just in case Mar 15 13:54:20 ok, I set chmod -R 777 /opt and it still doesn't work : | Mar 15 13:56:01 I'm not sure if it helps but when I'm trying manually start aap when I write Error:Execution failed for task ':apapp:mergeDebugResources'. Mar 15 13:57:08 I'm not sure if it helps but when I'm trying manually start aap I write full path /opt/.../aap and it doesn't work then, when I step by step go to the folder cd /opt cd android-studio and so on, then it works Mar 15 13:57:54 It doesn't work then I mean i get no such file or directory Mar 15 13:59:15 and it happens even if I'm root Mar 15 14:03:21 sometimes I feel like I'm the only one using eclipse lol Mar 15 14:03:32 android studio that good ? :) Mar 15 14:06:59 TJ_CRS: It's extremly slow for me but I have to use it because during class we use it Mar 15 14:07:32 TJ_CRS: i use eclipse Mar 15 14:11:37 ah Mar 15 14:12:15 good, was worried I've missed something important lol Mar 15 14:13:03 Guys I am looking for libr for speech recognizition from audio file. Google built in speech recogniition doesnt seem to support offline file processing and so far I found PocketSphinx and ISpeech Mar 15 14:14:20 hi how to make shadowed buttons? Mar 15 14:16:46 goodwin: I think you'll have to design them, i.e. create the shadowed button with gimp or thelike and set it as image resource for an imagebutton, but maybe try to google for "dropshadow view android" Mar 15 14:24:42 i have a listview and a scroll view (the list view is not in the scroll view, but for some reason I cannot get the listview to show or how can I get them all to scroll together nicely? Mar 15 14:45:06 java.lang.NumberFormatException: Invalid int: "5555550201" Mar 15 14:45:27 how is that invalid... Integer phone = Integer.parseInt(onlyNumericText); - that is the code for it... Mar 15 14:46:51 It's larger than the max int value Mar 15 14:48:09 ya changing it to a long Mar 15 14:48:15 didnt know that was the issue Mar 15 14:49:52 how do I call parse on it then to just get the numbers Mar 15 14:50:01 nvm Mar 15 14:50:06 I am just going to put it as a string Mar 15 15:06:09 If I write a few classes in my app that need to access member variables and methods from MainActivity, is it acceptable to create a new instance of MainActivity in these other classes if their constructors don't allow for passing a reference to any existing instance? Would it be better to create a method below the constructed like setMainActivity(MainActivity m)? Or is there a better way entirely? Mar 15 15:06:29 Writing my first app, and this issue seems to come up a lot for me. Might be indicative of a bigger design problem, though. Mar 15 15:12:07 I wouldn't create several instances of mainactivity Mar 15 15:12:21 are you using several threads ? Mar 15 15:18:10 Let's say I'm making an app that gets web stuff and presents some basic information to the phone. If the user clicks on one of the web items, he gets a larger view of the web stuff (i.e. think news), so should I make a second activity for such an instance? Mar 15 15:18:38 TJ_CRS: No. Mar 15 15:19:21 kesroesw1yth: just cheat and get variables using Mainactivity.variablename hehe Mar 15 15:19:28 think it should work Mar 15 15:19:55 Fiji: think Id look into fragments first imho Mar 15 15:20:02 Using static variables isn't always an option, and it's also usually bad practice. Mar 15 15:20:15 very :) Mar 15 15:21:04 what I found to be very challenging at start, was to communicate between threads, there is SO much you cannot do in main/ui thread Mar 15 15:21:04 is it better to have access to public variables than to read / write them through methods(get/set)? Mar 15 15:21:24 HunterD: much much much better Mar 15 15:21:32 cool. thx! Mar 15 15:21:33 MainActivity.Getvariable(); Mar 15 15:21:52 but that too may fall short if you are threading things Mar 15 15:23:07 That is still static. Mar 15 15:23:22 Calling a static getter isn't much better than references a static member directly. Mar 15 15:23:44 not really sure what you want here mate :) Mar 15 15:24:30 Well, there's some solution, I'm sure. Mar 15 15:24:38 what I do is to have a "messageserver" in each instance that "serves" whatever other threads / instances wants Mar 15 15:25:09 That's an idea. Mar 15 15:25:13 tj_crs: ok Mar 15 15:25:13 that way I dont have to care about anything, but it's completely asyncron so it have some other challenges Mar 15 15:25:17 is someone here having problems with DDMS -> System Information -> Frame Render Time ? it rarely shows up 2 bars on the graph and it does not update when pressing 'Update from Device' :| Mar 15 15:26:10 kesroesw1yth: there's many ways to do this, if you look at "loopers" you'll find tons of information Mar 15 15:26:30 however, I stopped using it after I learned about broadcasting Mar 15 15:27:06 it probably have other weaknesses, but haven't really found it yet Mar 15 15:28:12 I think my issue is simpler than what would require these solutions. More of a design flaw on my part, but not sure of the solution. Mar 15 15:28:17 look at "BroadcastReceiver" for examples. I always bundle in where to broadcast in a reply Mar 15 15:28:42 I know, that's why I didn't think I'd mention it, but u seemed to want a grander solution :) Mar 15 15:29:04 eventually, you have no choice but to look into asyn message handling Mar 15 15:29:18 TJ_CRS: is that like a sort of observer pattern? Mar 15 15:30:14 I have one main thread that recieves all broadcasts and operated databases and networking from there. Mar 15 15:30:20 operate* Mar 15 15:30:53 I'm not working directly with threads, so I don't know if that applies, but I'll make note of it either way. Mar 15 15:31:22 I just need a solid and simple way to access the MainActivity instance that runs when the app starts from other classes that are created after the fact. Mar 15 15:31:33 if you ever get to work with network or any other slow/blocking calls, program will crash... and you will wonder for a few hours what the hell happened :) Mar 15 15:31:40 Passing it to a constructor just feels hacky to me. Mar 15 15:32:17 I'm not a fan of passing around references to entire classes just to gain access to one member variable. Mar 15 15:32:33 for tiny hello world programs I wouldn't bother make it more complex than neccesary Mar 15 15:32:52 but that quickly stops when you start a thread Mar 15 15:32:57 Yeah. Mar 15 15:33:17 I've only written one threaded application, and I did not have to deal with concurrency, fortunately. :D Mar 15 15:33:26 it's a nightmare at start Mar 15 15:34:11 but when you get your mindset right it's not so bad. it's less challenging than fork() in linux....of which I struggle with today -.- Mar 15 15:34:45 is there no TabHost in recent versions of Anrdoid? Mar 15 15:34:57 yeah ? Mar 15 15:35:12 I'm using dialogs with tabhosts in my latest program Mar 15 15:38:51 anyone use Retrofit with cookies, I am trying to understand how to retrieve them? Mar 15 15:39:02 kesroesw1yth - give your class an interface and implement that in your activity, noting hackey about that Mar 15 15:39:49 or send out broadcasts and register a receiver in your activity for them Mar 15 15:40:25 bit overkilly if you dont usethreads imo Mar 15 15:40:37 why? Mar 15 15:40:53 nebs: Write an interface for the MainActivity? Mar 15 15:41:04 you mean broadcasts or an interface implementation? Mar 15 15:41:09 broadcasts Mar 15 15:41:43 no, like - say I have a fragment, a dialog fragment, and I want something in the main activity to respond to an action in the dialog Mar 15 15:41:43 i love broadcasts, but it's a bit much to retrieve a unthreaded variable :) Mar 15 15:41:56 yah, I don't use broadcasts unless called for Mar 15 15:42:14 anyway, in that fragment I define an interface, usually FragmentNameCallbacks Mar 15 15:42:23 and have the activity implement that Mar 15 15:42:36 then onAttach, check that the activity is an instance of that interface Mar 15 15:42:57 Hm. Mar 15 15:43:02 if so, use it to call back when the action happens Mar 15 15:43:03 That's an interesting idea. Mar 15 15:44:32 i test my app on another device, when i plug the other device back in adb devices is now empty Mar 15 15:44:44 tried restarting adb server Mar 15 15:44:55 hate it when this happens :( Mar 15 15:47:19 from activity A I use Intent to open the Gallery app intent.setType("image/*"); intent.setAction(Intent.ACTION_GET_CONTENT); Mar 15 15:47:27 http://stackoverflow.com/questions/22425993/how-to-retrieve-cookies-in-android-retrofit Mar 15 15:47:31 how can I pass the selected image to the activity B Mar 15 15:47:35 Anyone know how to answer that Mar 15 15:47:57 @JakeWharton if he is here Mar 15 15:48:27 but if you're talking about a class that isn't a fragment, and you just want to communicate back to the activity without passing the entire activity in (a good idea) you could still use the interface idea but pass in an instance of that interface thats a member of the activity Mar 15 15:49:38 or, you know, anonymous... Mar 15 15:50:39 bubuzzz: you tried broadcasting it ? slow but works Mar 15 15:50:59 or you wondering how to recieve the image that is selected Mar 15 15:51:44 I know how to get the selected image from activity A, I just want to know how to go directly to the activity B and get the returned Image Mar 15 15:51:48 A > Gallery > B Mar 15 15:52:33 not A > Gallery > A (onActivityResult and start B) > B Mar 15 15:53:45 never tried that unfortunately, I'd prefer recieving it where it was sent- then transmitting it to other activity Mar 15 15:54:41 ok, TJ_CRS Mar 15 16:01:33 Anyone know how to enable auto imports in the latest Android Studio? Mar 15 16:02:53 Go to preferences, search for auto import Mar 15 16:11:57 I've got a stacktrace that contains MainActivity$1$1.void run()(Unknown Source) What does the $1$1 mean? Mar 15 16:12:13 nested classes Mar 15 16:12:34 An anonymous class inside an anonymous class inside your mainactivity Mar 15 16:13:08 If I try and deobfuscate (Proguard) in an improved manner will I get more detail? Mar 15 16:13:38 no Mar 15 16:13:38 nvm, they are anonymous classes like an onclick listener or something Mar 15 16:13:43 anonymous classes are anonymous Mar 15 16:14:56 So I have 12 instances of run() in my class. Any way to figure out which one it is? Mar 15 16:15:22 set breakpoints, use a debugger Mar 15 16:15:29 Hello Mar 15 16:15:37 Gonna have to try and get a repro then... Mar 15 16:15:39 Thanks for the help Mar 15 16:19:46 I have stuff like new Thread(new Runnable() { @Override public void run() { } } Mar 15 16:20:42 If I did Thread thread1 = new Thread(Runnable runnable1 = new Runnable() { @Override public void run() { } } then I would not have the $1$1 garbage anymore right? Mar 15 16:22:36 Nope pretty sure that's wrong. Anonymous class refers to the class name being undefined, not the name of the instance of that class. Mar 15 16:23:21 You should just tell proguard to preserve line numbers, instead of having it strip them Mar 15 16:24:56 That seems like it would be useful. Mar 15 16:30:41 anyone know if a broadcastreciever can kill itself ?oO Mar 15 16:31:06 What does that mean Mar 15 16:31:44 I would really like a reciever to die after it's run its cause Mar 15 16:32:02 wouldbe... tidy if I can just do it with a message hehe Mar 15 16:35:59 sure, just unregister and finish()? Mar 15 16:36:16 Yeah I would think running unregister inside the registered method shouldn't be a problem. Mar 15 16:36:43 <- noob Mar 15 16:37:09 taking an android class, haven't done the events programming exercises yet Mar 15 16:38:37 I'm not sure that unregistering in there would guarantee that the receiver only gets called once though Mar 15 16:38:55 If that is what you're going for Mar 15 16:39:22 hi looking for someone who would explaon to me one code. Mar 15 17:03:43 Hi folks, I'm new to Android app development and I'm working through the official "create your first app" tutorial. Mar 15 17:04:36 But I'm not sure what I'm doing wrong; as far as I can tell I should have started out with a mostly blank "Hello World" app... Mar 15 17:05:18 But when I run it from Eclipse, the app installs on my device but does not launch or show up in my app drawer. Mar 15 17:06:19 Also, in Eclipse's log, I see this message while trying to run the app: "No Launcher activity found!" Mar 15 17:06:33 "The launch will only sync the application package on the device!" Mar 15 17:07:07 I'm guessing some file is missing or something? Any ideas what might be wrong? Mar 15 17:07:19 In espresso, what's the right way to perform an assertion on a view that might be not visible (maybe lower in the scrollview or something)? For performing actions there is scrollTo Mar 15 17:10:33 PeterCassetta, you need an activity in your manidest which has the launcher intent Mar 15 17:11:16 Okay, but for some reason the new project doesn't start with that? Mar 15 17:11:39 And where would the code for the activity reside? Mar 15 17:18:00 PeterCassetta: weird indeed, you started an ew project, then right clicked on it in the projects window and ran it as an android appz/ Mar 15 17:18:28 PeterCassetta: tried on an emulator instead od your device? Mar 15 17:19:03 No, I haven't. Mar 15 17:19:44 But doesn't the "No Launcher activity found! The launch will only sync the application package on the device!" suggest that it's something missing in the code? Mar 15 17:20:11 yep Mar 15 17:20:46 what did you change? Mar 15 17:22:00 In the application code? Nothing. Mar 15 17:22:36 Just opened a text file and ran the app as instructed: https://developer.android.com/training/basics/firstapp/running-app.html Mar 15 17:23:53 text file? Mar 15 17:24:07 hmmmm Mar 15 17:24:27 in eclipse, go to file, new android application Mar 15 17:24:38 then right click on it and run it Mar 15 17:26:14 Hmm... was just thinking, and maybe it's possible that something weird was going on with me trying to use the android sdk I already had installed? Mar 15 17:26:38 I'll switch back to the one from the adt bundle and try that. Mar 15 17:31:38 yes I always try adt first Mar 15 17:31:56 Hello, I'd like to add a button to launch an app to read qr code inside a Preference Screen, how may I do that? and is that possible to search for qr code apps installed and show the user an option? or must I force to a specific app? Thanks Mar 15 17:36:15 Okay, I just created the project with the command line tools, and for whatever reason that does have the Hello World Activity and all Mar 15 17:37:19 Weird that I couldn't do the same with Eclipse... Mar 15 17:44:24 Anyway, got it working now. Thanks! Mar 15 17:53:04 hi, what is the best way to create simple app which will periodically check web api for news and show notification? i've tried IntentService and i'm able to create timer (TimerTask), but i'm not able to show notifications using NotificationManager -> http://pastebin.com/hs24ir7h ,any ideas? Mar 15 18:18:50 Hey guys, so is it possible to have both an OpenGL ES 1.1 and an OpenGL ES 2.0 contexts with the same activity native window? Mar 15 18:19:28 The goal being to write OpenGL ES 1.1 code within a QML framework which is based around 2.0... Mar 15 18:31:19 DarkKnightCZ: hey, your NotificationManager.notify()l; id is 0 it needs to be > 0 Mar 15 18:31:58 DarkKnightCZ: you should also use a AsyncLoader Mar 15 18:32:25 oh Mar 15 18:32:33 sorry, i thought you were using AsyncTask Mar 15 18:32:36 ignore that last Mar 15 18:37:04 Napalm: thanks, but even if i set id > 0 (mNotificationManager.notify(123, mBuilder.build());), it isn't showed (and no error/warning in logcat) Mar 15 18:38:21 is there a Glass channel? Or is this it? Mar 15 18:39:26 QbY this certainly isn't it, you could ask mikedg though Mar 15 18:47:31 is it an accurate assumption to say that a GridView containing ImageViews recycles its ImageView objects? so you could scroll down and perhaps the same ImageView object would be used - just with a different image Mar 15 18:48:30 yep Mar 15 18:50:34 hmm, so the 'position' parameter that's passed into an ArrayAdapter<>'s getView() - is it guaranteed for 'position' to be always less than the number of elements in the underlying list? Mar 15 18:50:45 in any case, i'm putting that as an assert statement Mar 15 18:53:27 Yeah, that is guaranteed Mar 15 18:54:15 cool, thanks SimonVT :) Mar 15 18:58:30 you know what's crazy? instantiating a HandlerThread in a fragment callback means that HandlerThread's constructor runs on the main UI thread Mar 15 18:58:39 BUT onLooperPrepared() runs on the handler thread Mar 15 19:01:55 i have a dumb question; lets say i have an activity that can show 5 fragments, and one of those is a PreferenceFragment. my first though, was that the Activity itself would add that as an options menu - but then the preferenceFragment would show with 'Settings' still there. is the solution to remove it from the Activity and have 'Settings' in the individual Fragments /except/ PreferenceFragment ? Mar 15 19:02:26 *my first thought Mar 15 19:02:35 I have to build against android 15. but i keep getting an "unable to execute DX" and BufferOverflowException... Just like http://stackoverflow.com/questions/19741758/bufferoverflowexception-when-building-application/20049583#20049583 -- However, the fix for everyone else doesn't work for me. Any suggestions? Mar 15 19:03:30 QbY using sdk build tools 19.0.3? Mar 15 19:04:02 g00s: i have several build tools installed, should i only use 19.0.3? Mar 15 19:04:08 (which isn't installed) Mar 15 19:04:21 may as well try the latest in case its a bug Mar 15 19:05:46 worked like a charm, thanks g00s Mar 15 19:06:15 ;) Mar 15 19:40:32 JesusFreke, in a minute or in a hour, gradle crashed Mar 15 19:40:49 vmusr: hah, k Mar 15 19:44:29 logcat "DEBUG" shows so much stuff it scrolls off the cmd.exe screen, too many lines. Is there any sort of gui or something for it that works a bit better? Mar 15 19:45:11 Vino: you can finlter it Mar 15 19:45:20 finlter? filter! Mar 15 19:45:33 i'm already filtering by the "DEBUG" channel and it scrolls out Mar 15 19:45:37 because it's a huge crash dump Mar 15 19:45:50 maybe i can tell DEBUG to somehow only give me the backtrace, which is all i care about? Mar 15 19:45:58 you can filter by tag, or with a bit of help by package name Mar 15 19:47:40 Vino: ddms Mar 15 19:48:06 or, something like adb logcat -d > log.txt Mar 15 19:49:18 ddms, very good, thanks Mar 15 19:49:27 DarkKnightCZ: back, did you sort it out? Mar 15 19:49:51 hey anyone know how to deal with cookies, I see there is a java and android Cookiemanager... is it better to use the android.webkit one? Mar 15 19:50:54 DarkKnightCZ: i think i see your problem, its because its an IntentService, inherit from Service. The IntentService is stopping your service once the onHandleIntent returns Mar 15 19:53:09 Napalm: the log messages are printed, so the service is running... i guess there could be issue with invalid context (new NotificationCompat.Builder(context)) Mar 15 19:55:02 have lots of blocking HTTP GET requests to do, some of them nested.. so how should I structure the threading to do that? ideally, i'd fire off requests without blocking, or 1 thread each request, and callback the caller with the results.. Mar 15 19:55:37 non-blocking is probably a better idea Mar 15 19:56:14 Any chance anybody here has any experience on how to compile CWM Recovery for a new device and how to define the partitions and all that jazz? Mar 15 19:56:16 maybe have a small thread-pool to handle the responses, if you expect to have a lot of contention Mar 15 19:56:34 i.e. if you expect to have a lot of responses come in nearly simultaneously Mar 15 19:56:49 also, depends on how long it takes to handle each response, etc. Mar 15 19:57:18 short handling time Mar 15 19:57:28 so what should i use for non-blocking? Mar 15 19:57:38 google just told me asynchhttprequest Mar 15 19:57:40 well, you could look at volley Mar 15 19:57:48 err, asynchhttpclient Mar 15 19:57:51 k Mar 15 20:03:57 mylord: volley is very good for specific things Mar 15 20:04:01 and very bad for the rest Mar 15 20:05:43 mylord you can look at okhttp, retrofit, retrofir-rxjava Mar 15 20:06:36 g00s: okhttp is only the client from what I understand Mar 15 20:06:59 i haven't used okhttp or retrofit; only because my apps don't use http (instead, custom protocols). it wasn't clear if you just needed http or REST, etc Mar 15 20:07:24 well aren't you special Mar 15 20:07:26 :D Mar 15 20:07:31 we use Volley Mar 15 20:07:45 and it can actually be used also for custom protocols if needed Mar 15 20:07:46 * g00s spikes thepoosh Mar 15 20:08:22 i suppose, but i haven't needed it Mar 15 20:08:26 I dived into the code trying to tweak all sorts of shit for us Mar 15 20:09:16 is volley still being worked on ? i guess i would know if i followed the code in aosp, but i don't Mar 15 20:09:17 does anyone know if it is possible to put an @Override method inside of another method that i created? Mar 15 20:10:07 Im trying to find the shortcut for getting method argument completion hints in android studio, but I just can't find it Mar 15 20:10:16 can anyone give a hint? Mar 15 20:10:18 Joozey: ctrl+p Mar 15 20:10:19 jaxon11: @Override is an annotation of rewriting a method in an extending/implementing class Mar 15 20:10:31 g00s: it is to the best of my knowledge Mar 15 20:10:38 just updated the code for this release Mar 15 20:10:49 I Fing hate google code repos Mar 15 20:10:56 find it kinda weird its not in the support library, or something like that Mar 15 20:11:00 anyone here use retrofit? Mar 15 20:11:18 g00s: for the tweaking Mar 15 20:11:29 JesusFreke, many thanks! Mar 15 20:11:35 LoneSoldier728: just ask Mar 15 20:12:01 I am trying to figure out how to use cookies with it? Mar 15 20:12:13 @thepoosh thanks. do you know if onCreateOptionsMenu is called before or after onActivityCreated? Mar 15 20:12:15 http://stackoverflow.com/questions/21244968/retrofit-auth-cookie I see this but do not understand how to implement it Mar 15 20:12:53 jaxon11 i would guess after, but … not cool to have tight timing coupling Mar 15 20:13:37 ok. well i'm trying to hide certain menu items based on a boolean. i'm getting that boolean in a function called from onActivityCreated Mar 15 20:14:21 i thin you want to play with onPrepareOptionsMenu or something Mar 15 20:14:29 jaxon11: http://developer.android.com/reference/android/app/Activity.html#onCreateOptionsMenu(android.view.Menu) Mar 15 20:14:43 oh ok. i hadn't heard of that function Mar 15 20:14:47 onCreateOptionsMenu is called on the first time the menu is being called Mar 15 20:15:09 try reading through docs, they have lots of info Mar 15 20:15:17 and they're not terrifying Mar 15 20:15:37 shit...just heard of picasso after implementing image downloading from scratch Mar 15 20:16:12 Mango_Man: also volley has an image loader Mar 15 20:17:32 wow this post is perfect: http://blog.bignerdranch.com/3177-solving-the-android-image-loading-problem-volley-vs-picasso/ Mar 15 20:18:25 Do you absolutely need root in order to dump the stock recovery? Mar 15 20:19:29 FireBreath: #android Mar 15 20:20:08 probably more #android-root Mar 15 20:20:19 #android-root is a ghost town.. been trying for a couple days :) Mar 15 20:20:40 FireBreath please read our topic Mar 15 20:21:20 well it's sorta dev isn't it? my end goal here is to compile/configure a custom recovery for my device Mar 15 20:21:42 this channel is app dev Mar 15 20:21:57 fair enough, i'll keep harassing em there :) Mar 15 20:23:34 FireBreath: or start dev and AUA Mar 15 20:27:20 American Urological Association? Mar 15 20:28:15 g00s it looks like onPrepareOptionsMenu is exactly what i need. only problem is it keeps saying the return type (boolean) is incompatible with fragment.onPrepareOptionsMenu Mar 15 20:28:15 Ask Us Anything Mar 15 20:28:34 jaxon11: have you read the docs for it? Mar 15 20:28:53 ya. it said you must return true for the menu to show and false for the menu not to show Mar 15 20:29:05 http://developer.android.com/reference/android/app/Fragment.html#onPrepareOptionsMenu(android.view.Menu) Mar 15 20:29:22 they have it listed at boolean return type, but when i added it from the override methods list, the return type was void Mar 15 20:30:15 did you read the link i just posted? Mar 15 20:30:49 ya that one says void. hmm.. this one says boolean http://developer.android.com/reference/android/app/Activity.html#onPrepareOptionsMenu(android.view.Menu) Mar 15 20:30:56 hello Mar 15 20:31:07 where should i store user data? Mar 15 20:31:13 jaxon11: yours is from activity and mine is from fragment Mar 15 20:31:18 sql database or key value store Mar 15 20:31:21 i think i see whats going on now... the void one is for fragment Mar 15 20:31:32 which one are you using? Mar 15 20:31:34 is only for the "save login" data Mar 15 20:31:37 i'm in a fragment Mar 15 20:31:48 so which one is relevant? Mar 15 20:32:18 the fragment one. i had it as void to begin with but it's never getting called. i read through the doc more Mar 15 20:34:57 ok figured it out. had to call setHasOptionsMenu(true); thanks a lot! Mar 15 20:52:29 retrofit really needs to get some more examples up... anyone use other libs for requests (GET/POST) Mar 15 21:12:05 if i have a custom callback response how do I call the different methods on the success... not working... Mar 15 21:12:18 retrofit Mar 15 21:13:17 sup guys Mar 15 21:13:39 do any of you use any prototyping software for UI? Mar 15 21:14:41 nvm got it Mar 15 21:20:42 genymotion for testing opengl games? anyone? Mar 15 21:25:46 Guys, whoever use SDL2 for Android, have you seen an error like that when App lunches on the device ? Mar 15 21:25:51 http://pastebin.com/f6w8vjGg Mar 15 21:27:14 rebelCoder: sounds like a bad build Mar 15 21:28:15 Hmm... I is a fresh build. Mar 15 21:28:38 Bad build of what exactly ? Mar 15 21:29:15 just switched to Android Studio and left Eclipse behind. Mar 15 21:29:25 goodman Mar 15 21:29:35 trying tu run an empty SDL2 windows and app crashes when lunched Mar 15 21:33:40 hey guys Mar 15 21:33:57 i want to make an app look as stock as possible, what type of layout is this? http://asset1.cbsistatic.com/cnwk.1d/i/tim2/2013/11/11/Android_4.4_KitKat_Home_Launcher_Setting_270x476.jpg are there any templates? Mar 15 21:42:47 listview? Mar 15 21:43:39 I am setting some methods in a class what can be the reason for not being able to call it like so ApiCookie.setSessionId .. code here: http://pastebin.com/kmSPhREa Mar 15 21:50:13 still over 10h time to grab my thing with 50% discount from asset store: https://www.assetstore.unity3d.com/#/content/15320 Mar 15 21:52:39 tonic: see /topic Mar 15 21:52:45 specifically re: no advertising Mar 15 22:06:10 I need a retrofit guru bad Mar 15 22:15:40 JesusFreke, sorry Mar 15 23:01:53 hey guys Mar 15 23:02:07 can i load a PreferenceFragment as main activity? Mar 15 23:02:12 instead of main activity? Mar 15 23:02:15 if so how? Mar 15 23:02:29 like i dont want my app to load the main activity i want my app to be a settings app Mar 15 23:03:47 anyone? Mar 15 23:04:01 jareddlc just make the HomeActivity, in onCreate attach it to android.R.id.content. Make the pref Fragment a static inner class, should have on line in its onCreate … loadPrefsFromResources() Mar 15 23:04:20 whole thing should be like 10 lines of code Mar 15 23:04:32 what do u mean Mar 15 23:04:33 mostly }'s :D Mar 15 23:04:37 so load the activity Mar 15 23:05:39 im not followin g00s_ Mar 15 23:06:10 where the hell is AS 'select all' Mar 15 23:06:25 nm Mar 15 23:07:31 jareddlc http://pastebin.com/QdZZXH0Y Mar 15 23:09:56 alright g00s_ let me try Mar 15 23:11:58 woo! looks like that worked g00s_ Mar 15 23:12:38 now can i manage the buttons like i would in a normal acitvity? Mar 15 23:14:00 manage the button? Mar 15 23:18:29 can i make it work as if the clicks where button cliks/ Mar 15 23:18:33 g00s_: Mar 15 23:35:35 hello, is there anyone that can help me with a custom LayoutTransition? Mar 15 23:39:31 what is the definition of drawable image ? What are the requirements ? I get object cannot be convert into drawable every single time. Mar 15 23:40:59 The definition of a drawable is that it extends the Drawable class Mar 15 23:41:35 What are the requirements of converting into Drawable class ? Mar 15 23:42:12 That question doesn't make sense Mar 15 23:42:25 The framework contains a set of Drawable subclasses you can use, or your can create your own Mar 15 23:45:29 If I am making a custom listview (row view?) does the rowview dynamically increase in size as I add more lines of text? (think like instead of 2 lines within a row, 5) Mar 15 23:46:26 simply saying, I added imageView to my activity, double click and I can add src, what kind of src can I add in order to make it work ? Mar 15 23:47:27 https://developer.android.com/guide/topics/resources/drawable-resource.html Mar 15 23:50:33 A bitmap file is a .png, .jpg, or .gif file. Android creates a Drawable resource for any of these files when you save them in the res/drawable/ directory. I tried to add png image and it didn't work. Is my mistake ? I didn't mention, I use android-studio Mar 15 23:50:37 Hello, i need help with a code Mar 15 23:51:23 SimonVT b0t was flooding us with garbage the other day Mar 15 23:51:45 what? Mar 15 23:51:48 We'll see if he continues Mar 15 23:52:12 lol Mar 15 23:52:30 pawell: Well, adding png's to drawable folders works for everyone else :p Mar 15 23:52:31 peace and love Mar 15 23:53:06 http://pastebin.com/2FeLX2Y1 Mar 15 23:53:16 validate this code Mar 15 23:53:23 in ecplipse Mar 15 23:59:03 SimonVT: ok, I got it, thank you for your help ! Mar 15 23:59:26 http://pastebin.com/2FeLX2Y1 Mar 16 00:29:53 what could cause onDraw to not get called in my ViewGroup? Mar 16 00:31:34 That ViewGroups call setWillNotDraw(true) by default Mar 16 00:32:33 Does this look like the proper way to have multiple lines of text within one ListView row? (AXML): https://privatepaste.com/b4f2b82bf8 Mar 16 00:32:45 yeah i just read that, but it's odd because i have another ViewGroup i made that does draw, and i haven't set that to false Mar 16 00:33:20 maybe because i'm setting other properties i've made that call invalidate() Mar 16 00:34:12 but you're right, setting that flag fixed the issue Mar 16 00:35:32 If you're not calling it, something else is Mar 16 00:36:12 invalidate() or setWillNotDraw()? Mar 16 00:36:24 setWillNotDraw Mar 16 00:37:01 does eclipse have a find feature that'll search every document in the project? Mar 16 00:37:08 nm i can look that up Mar 16 00:37:58 mac's finder can do that i suppose, i am not calling setWillNotDraw(false) anywhere for that class, and it draws Mar 16 00:38:14 possibly it draws because i'm setting up properties that call invalidate() before it displays Mar 16 00:38:28 or just after it displays Mar 16 00:42:47 how does one specify a layout subdir for, possibly, merge libraries? e.g something like ? May one use subdirs? Mar 16 00:44:08 hmm. seems not. underscore central then. Mar 16 00:48:27 rgr: http://stackoverflow.com/questions/4930398/can-the-android-layout-folder-contain-subfolders Mar 16 00:48:56 especially the answer at http://stackoverflow.com/a/22426467/1440565 Mar 16 00:51:08 ah yes the gradle res.srcDirs will do it. Mar 16 00:52:10 cheers. I missed that on my first google. Mar 16 00:52:30 Getting to really appreciate Gradle. Mar 16 01:11:39 when I see stuff like res.srcDirs in my build.gradle can I views/see/modify these build script values from within intellij? Mar 16 01:22:39 hey all Mar 16 01:23:26 i have a issue whare eclips isnt genrating a mainactivaty class whean i start a new project Mar 16 01:26:41 who is online Mar 16 01:34:26 me Mar 16 01:34:30 but im a noob Mar 16 01:43:45 can anyone help me out with PreferenceFragment Mar 16 01:56:59 just ask the Q. If someone can I'm sure they will. Mar 16 02:10:37 ugh, the generics in rxjava get me confused as hell Mar 16 02:18:13 hey g00s Mar 16 02:18:35 hello Mar 16 02:20:20 quick question Mar 16 02:20:27 im trying to bind listeners to my preferences Mar 16 02:20:34 i got all to work except on the type preference Mar 16 02:20:46 checkboxpreference and switchpreference work but not just preference Mar 16 02:22:04 hm yeah i can't remember … Preference framework is pretty fiddly; lots of template methods, hooks, stuff has to conform to some weird protocol (sequence of loadining initial values, asking whether the value is valid, etc). all i can recommend is check out the Sttings app which has lots of examples Mar 16 02:22:20 *Settings Mar 16 02:22:30 or look for 'extends Preference' in any of the aosp apps Mar 16 02:23:18 k Mar 16 02:25:51 is it possible for an android device (or any wireless card device for that matter) to both act as a client recieving internet through wifi. and re broad cast it simultaneously? is this common in android devices or cell phones? Mar 16 02:26:17 I basically want a chain of devices recieving wifi from a hot spot, recieving internet from that wifi and then re broadcasting it as well to extend the range of that wifi further than the original hot spot AP reaches. Mar 16 02:33:23 g00s: for reference, i was trying to use a setOnPreferenceChangeListener but it needs to be clicklistener since a preference has no states **** ENDING LOGGING AT Sun Mar 16 02:59:59 2014