**** BEGIN LOGGING AT Sun Sep 09 02:59:58 2012 Sep 09 03:05:10 hrm, I think it's still a bad request... Sep 09 03:26:10 when I add a contact to my peoples app it has a expandable icon next to Name. When I click on this icon it provides addtional input boxes to enter first name Middle Name... How or what do I use in order to make something like this? Sep 09 03:27:21 i am screaming inside. why does my app crash now thinking my edittext is a button? Sep 09 03:28:31 fw0rd: clean clean clean Sep 09 03:29:04 clean what Sep 09 03:29:15 your project Sep 09 03:29:24 it's the layout and an activity Sep 09 03:29:32 i added a linearlayout to the layout Sep 09 03:29:35 then pulled it Sep 09 03:29:39 now my app crashes Sep 09 03:30:30 hey Sep 09 03:31:08 and cleaned your project? Sep 09 03:31:11 when I launch my app (now 17mb in size) from eclipse to my phone (run, not debug) it takes sometimes up to 2-3 minutes before the thing actually starts Sep 09 03:31:18 i ask again, clean what Sep 09 03:31:22 I get no console output or progress, does anyone know what it might be? Sep 09 03:31:44 phone is v4.0.3, app is compatible down to 2.1 Sep 09 03:31:49 Leeds: ok, found that option Sep 09 03:31:55 what does that DO Sep 09 03:31:56 and it's not building the workspace or anything, just launching Sep 09 03:35:41 when I add a contact to my peoples app it has a expandable icon next to Name. When I click on this icon it provides addtional input boxes to enter first name Middle Name... How or what do I use in order to make something like this? Sep 09 03:53:39 tave, you know that app is open source, right? Sep 09 03:55:26 http://pastebin.com/mGSeYGkc http://pastebin.com/B0tNVL2Z I am unable to get the text that is in the useing this code. Any idea what I might be missing? thank you Sep 09 04:00:01 sorry canadiancow, noob. Can't find where that part of the code is. Sep 09 04:17:47 If I'm only drawing 100 or fewer small bitmaps every frame, is it worth it to use a glsurfaceview over a plan surfaceview? I saw the time comparison from io 09, but its almost 13 and I don't think it matters any more on that scale Sep 09 04:18:34 then again, how much battery life savings will I get in pushing it onto the gpu? Sep 09 04:39:38 hey all Sep 09 04:39:54 does anyone know how to set an edittext to look like the 4.0 line edittext? Sep 09 04:40:01 like rather than being a box, its a line? Sep 09 04:40:10 themirror: in many cases, backlight and static costs dominate utterly. Sep 09 04:42:25 anyone have any idea at all? Sep 09 04:42:48 SpeedEvil: could you elaborate on static costs? I optimized my game loop such that most data structures are primitive arrays and no memory allocations or deallocations occur Sep 09 04:44:58 themirror: having the screen on. Sep 09 04:45:06 basically. Sep 09 04:45:13 Lol okay thanks Sep 09 04:45:48 http://wiki.maemo.org/N900_Hardware_Power_Consumption Sep 09 04:46:18 is something I wrote for one phone based on measurements Sep 09 04:47:09 yeah, there are two things in a phone that normally use the most power Sep 09 04:47:15 the CPU and the screen Sep 09 04:47:40 just being on, you don't have to be using either particularly hard Sep 09 04:49:11 Thanks for the info Sep 09 04:51:11 easy way is to measure both ways Sep 09 05:07:29 Does anyone know how to display the Ctrl-C shortcut in Android? Sep 09 05:07:40 I'm modifying ConnectBot so it supports the hardware Ctrl key Sep 09 05:07:55 but Ctrl-C causes Android to recognise a copy command, rather than it being passed straight to ConnectBot as Ctrl-C Sep 09 06:07:30 this is probably really stupid, but this method of sharing an image from an sd card doesnt seem to work for me http://pastebin.com/AgiqbfF9 Sep 09 06:08:00 i think its wrong with how i'm getting the Uri from a file on the sd carf Sep 09 06:08:07 *card Sep 09 06:08:11 Well then... updated my private web page for debugging my httpclient, and post data and cookies are saved just fine. However, for some unforseen reason, the website i NEED to log into won't let me login... Sep 09 06:09:52 so, what would the web page i'm accessing, be looking for besides the data in the
? what could prevent it from logging in =.= Sep 09 06:10:48 I even tried redirects, that works fine too... Sep 09 06:27:14 Hi all. Have an odd question. I'm using the following method to change the content of an imageview based on a string value out of my db. It works fine, but everywhere I saw it, it said that this is not really an appropriate way to do that. Anyone know what the preferred method is? http://pastie.org/4688860 Sep 09 06:30:54 what is CurrentQuestion Sep 09 06:34:31 DaveD0101 anyways, it looks like the code is alright, but without more details, i'm not sure anyone is going to know what you're doing, and where it's causing security flaws? Sep 09 06:36:09 http://stackoverflow.com/questions/2349652/android-open-resource-from-drawable-string Sep 09 06:36:36 Komak57- In truth I don't know why I'm not supposed to use it, just that I've seen a few places say that I shouldn't (without offering alternatives). Sep 09 06:37:03 Komak57- and CurrentQuestion.getResource() returns a string Sep 09 06:37:21 I assumed that... something like drawable/imagename Sep 09 06:38:11 I suppose getting it from a db (depending on where that's at) isn't exactly clean... Sep 09 06:38:25 and the necessity of it is unknown with the limited details... Sep 09 06:39:22 if it's soft-coded, you could always just save the resource id itself? Sep 09 06:40:37 Komak57- Yeah the string would look like "image_name" without a suffix Sep 09 06:43:17 The app is flipping through quiz questions, and if a question's record has a field value of "this_questions_image", it changes the content of the imageview. And the method described works, just saw it noted in a few places that it's bad form for some reason. Sep 09 06:43:58 bad etiquite... Sep 09 06:44:01 unclean. Sep 09 06:44:45 I suppose you'll just have to put a sticky not somewhere that that's the area of code that might cause future issues and just leave it be until a bug is reported. Sep 09 06:45:18 things like that can be exploited with little to no hassle Sep 09 06:48:07 I see. I've been looking for an alternative method to do it, just haven't dug anything up yet. Thanks for taking a look. Sep 09 06:51:29 If anyone knows the answer to http://stackoverflow.com/questions/12337117/capture-all-ctrl-under-android, that would be great. Sep 09 06:51:37 the Ctrl-? handling is the last thing I have to get working Sep 09 06:56:36 I only use an onKey listener for the back button. I wouldn't know about combo-keys? Sep 09 06:58:13 are you looking for all CTRL combos, or just CTRL + ? Sep 09 07:09:49 `z: O: Sep 09 07:09:55 `z: what are you doing here? o: Sep 09 07:12:08 test Sep 09 07:13:15 What's the best way to handle navigation between different layouts if the layouts contain multiple list fragments, using ABS? Sep 09 07:20:32 hi Sep 09 07:20:55 how can create a Custom Button with style programmatically Sep 09 07:24:00 <`z> Snuupy, ohai Sep 09 07:24:01 <`z> :D Sep 09 07:24:10 `z: sup Sep 09 07:24:27 <`z> notmuch Sep 09 07:24:35 <`z> just switched over to my own bnc Sep 09 07:26:36 onice Sep 09 07:29:21 hi, how can i crate a Custom Button passing style? http://pastebin.com/x5PS83BQ Sep 09 07:48:21 @pepigno72: why not pass an "android:style" parameter to a button in your layout? Sep 09 08:03:21 aabluedragon: i wnat create dynamically Sep 09 08:03:43 i can create a CustomButton without xml Sep 09 08:09:27 now i create a setup() method that change every attribute such us background, textColor etc, nut i'd like apply a style Sep 09 08:28:17 How can I get the position in a listview of a row element in the bindview call of a cursoradapter? Sep 09 08:51:14 Is there a method call to invalidate all views in a listview? Sep 09 08:52:09 Silly question, nm Sep 09 08:56:01 hi all. about to embark on some android dev for the first time. have skimmed docs, have some java experience, ready to dive in. i'd like to understand about the architechture, say i want to have four tablets communicating with each other in a peer-to-peer way, can this be done? Sep 09 08:56:16 more specifically, i'm trying to avoid writing a back-end server in tomcat or whatever Sep 09 08:56:43 basically, i want the devices to respond to button presses by performing $some_action Sep 09 08:57:22 some sort of network / socket programming, without a centralized server. is there anything in the platform to support this? some bluetooth functionality perhaps? Sep 09 08:57:46 it would be nice to get away without having a wifi access point as well as not having an application server :D Sep 09 08:57:52 hope that is reasonably clear Sep 09 08:59:36 Hey guys Sep 09 08:59:53 I need help understanding how to implement an inteface Sep 09 09:01:15 I want to set up a listener to a variable...I found this one up http://stackoverflow.com/questions/9879780/android-how-to-make-listener-to-a-custom-variable?rq=1 Sep 09 09:01:43 but I don't understand what variable I use in the main activity to set up the flag... Sep 09 09:06:48 sasson what do you mean? Sep 09 09:09:13 you declare an interface in your class doing the operations, and also declare the interface as a variable in that same class (mInterface mVariableChangeListenerCallBack) Sep 09 09:09:58 you also need to declare a function to set mVariableChangeListenerCallback Sep 09 09:10:07 which you call from your activitiy Sep 09 09:10:38 then in your class doing the opertions, when the variable is changed call mVarChangedCallBack.whatevermethodyoudeclaredintheinterface() Sep 09 09:10:50 that will call the method of the same name in the activity Sep 09 09:10:56 where you can update the ui or whatever Sep 09 09:17:06 if (Build.VERSION.SDK_INT < 11) Sep 09 09:17:26 it check if the API Level of Android is lowest than 11 ? Sep 09 09:18:17 it will return true if SDK_INT is 10 or less Sep 09 09:23:06 Can someone recommend good references for beginning android development for advanced ex=-programmers? Sep 09 09:24:28 thanks lasserix Sep 09 09:24:49 I'm actually attaching a 10 Android Ver Sep 09 09:24:57 The next instrution is : Sep 09 09:24:58 ((android.text.ClipboardManager)paramContext.getSystemService("clipboard")).setText(paramString); Sep 09 09:25:23 The "paramString" is known. Sep 09 09:27:12 I'm not sure are you asking a question? Sep 09 09:29:13 MouseTheLuckyDog mobiletutplus has good tutorials Sep 09 09:33:30 yeah lasserix what does tis instruction meean ? Sep 09 09:34:41 You are trying to get some text from the clipboard and set a textview to display it? Sep 09 09:37:57 how can I get copy/paste from android device Sep 09 09:38:05 http://developer.android.com/guide/topics/text/copy-paste.html Sep 09 09:38:06 thanks lasserix! I was away, I'm implamanting what you wrote and it seems clear now Sep 09 09:38:30 sasson yeah it confused me too at first, something you just got to play around with till it clicks Sep 09 09:39:27 I'm lunching the emulator now, I want to know how can I copy some text at the clipboard Sep 09 09:40:15 Noteworthy check that link, you can scroll down to Copying to the Clipboard and it'll show you exactly how to do Sep 09 09:40:33 thanks lasserix ! Sep 09 10:15:04 How do I insert an upside down question mark in a string in xml? Sep 09 10:27:00 hello, what should PLATFORMPATH contain? Sep 09 10:37:26 Im getting a kind of flicker when calling ActionBar.hide() ... anyone else had this? Sep 09 10:49:54 Hello everybody! Is anybody here from USA ? Sep 09 10:55:47 wtf... Sep 09 10:55:58 what can possibly be the purpose of asking such a question Sep 09 10:56:35 may be a question that is waiting for answer? Sep 09 10:56:47 every question is waiting for an answer Sep 09 10:56:53 more than half of this channel is from the US Sep 09 10:57:00 and if you didn't want to answer, why are you doing it now? Sep 09 10:57:44 then i want ask anybody in what magazines in USA can be bought google nexus? Sep 09 11:05:56 hi guys Sep 09 11:07:21 I was wondering if i can somehow load a custom map for multiple users using a particular app Sep 09 11:08:51 like consider this i take a pic n upload it n comment something on it,when a user does that i add a overlay for that place based on his location Sep 09 11:09:44 another user in the same area using the same should be able to see that older overlay n comment set by the previous user Sep 09 11:09:47 any ideas? Sep 09 11:11:26 every1 slping? Sep 09 11:11:32 i think you shoud ask on forum, couse there are about 622 acc. but nobody want speek with you ;-) Sep 09 11:11:32 That is a very broad question Sep 09 11:12:34 ok u guys know how we add a place of interest on maps n it shows up n ur map right Sep 09 11:12:47 adicool123 yeah that's possible but you're going to be doing a lot of work Sep 09 11:12:49 is thr anyway to share that personal map with users? Sep 09 11:13:17 yeah set up a webserver upload the info to a database and dispatch it to proper users Sep 09 11:13:56 hmmmm that is one way ' Sep 09 11:14:38 Thanks for the answer ;asserix Sep 09 11:14:41 lasserix Sep 09 11:14:43 you could write a service that listens for pings, then Sep 09 11:14:58 when someone updates, it pings friends phone with the info Sep 09 11:15:04 but the problem is what if the friends phone is off? Sep 09 11:15:13 that is why you'd want to do a centralized database Sep 09 11:15:21 and not a p2p thing Sep 09 11:15:25 ya that would be the soln Sep 09 11:15:35 but as u said wud b a lot of coding Sep 09 11:15:43 either way its going to be a lot of coding Sep 09 11:16:00 yup Sep 09 11:16:04 but setting up a webserver to talk to your app has lots of benefits Sep 09 11:16:09 n ya better off with a server Sep 09 11:16:10 you can run stats datamine etc etc Sep 09 11:17:05 or how abt this: depending on users uploads what if add it to a map n save it on the server n then load that map for other users Sep 09 11:17:18 but that wud make it static' Sep 09 11:17:39 dont understand Sep 09 11:18:08 just add all data to a central database, dispatch it depending on uploader id to uploader friend's ids Sep 09 11:18:34 yup Sep 09 11:18:36 dunno what you mean "static" Sep 09 11:18:57 that wud be the only way out Sep 09 11:19:00 if someone wants to remove something? just keep the data but don't dispatch for that node any more Sep 09 11:19:12 still not following, only way out of what? Sep 09 11:20:05 i meant what u suggested seems to b the only way of doing it Sep 09 11:20:29 by static i ws thinking of loadin images instead of actual maps to users Sep 09 11:20:55 why load maps? Sep 09 11:21:01 just use a map api and overlay Sep 09 11:21:32 ya Sep 09 11:21:41 i will do that' Sep 09 11:21:48 does anyone here use maven? or have the ignition-support.jar on hand? Sep 09 11:21:49 i was thinking something else Sep 09 11:21:52 it wont wrk out Sep 09 11:22:04 so ur idea is what i m going to try Sep 09 11:31:41 What's the best way to handle navigation between different layouts if the layouts contain multiple list fragments, using ABS? Sep 09 11:36:02 What's the best way to handle navigation between different layouts if the layouts contain multiple list fragments, using ABS? By handle navigation I mean switch layouts: on the phone I can just use new activities, but for tablets so far I am stuck using repeated calls to setContentView() and just making sure to clean up loss resources on each call. Sep 09 11:37:17 Why are you stuck with calling setcontentview Sep 09 11:37:36 I can't use multiple fragments since you can't have nested fragments. Sep 09 11:38:27 The layouts are fairly involved (ie besides the listfragments, there are many other views) so I'd like to use a xml layout as opposed to hard coding the layouts. Sep 09 11:39:11 And I don't think ABS will support a viewpager where some of its page layouts contain multiple list fragments. Sep 09 11:40:26 Anyways that's why I was asking if there was some other technique Sep 09 11:40:52 Calling setcontentview is probably not the answer Sep 09 11:40:57 Neither is viewpager on a tablet Sep 09 11:41:19 Romainguy said calling setContentView doesn't pose a problem in itself will not cause problems (assuming i make sure to not leak etc) Sep 09 11:41:26 Yeah exactly Sep 09 11:41:51 Sure, it wont pose any problems Sep 09 11:42:02 It's probably a sign of bad design tho Sep 09 11:42:41 Which is why I am trying to avoid it, but still no other alternative? Sep 09 11:43:20 In a fragment based layout, you'd usually just switch out the fragments as the user navigates Sep 09 11:44:30 The problem is my fragments are listfragments so they can't contain the surrounding views like a normal fragment might Sep 09 11:44:40 Then don't use listfragments Sep 09 11:44:53 use listviews inside fragments you mean? Sep 09 11:44:58 yes Sep 09 11:45:44 Just to be sure, I can still use my cursorloaders within the fragment? Sep 09 11:45:51 yes Sep 09 11:46:03 Ahh the joys of refactoring, thanks SimonVT Sep 09 11:48:12 hello, is there any vendor that offers you the complete source to the software you run? for instance if you're not satisfied you can just go in and modify it, recompile and put it back on your phone? Sep 09 11:52:50 anyone know where the drawable for the Loading spinner is when using progress dialogs? Sep 09 12:00:00 lasserix, man I still couldn't get the interface to work... can I bother you again with this stuff? Sep 09 12:15:45 anyone know where i can get a spinning icon for android ? (or where i can find the default drawable) Sep 09 12:16:52 sasson whats up Sep 09 12:24:54 So in your helper class declare an interface with a function public Interface VariableObserver() { public void onVariableChanged() } and among the other fields in this helper now declare a callback to this interface VariableObserver mVariableObserverCallBack and finally in the helper class define a function to set the value of this callback ie public void setVariableObserver(VariableObsver Sep 09 12:24:54 observer) { mVariableObserverCallBack = observer; } Sep 09 12:26:59 ohh and there's one more thing, somewhere in this helper class you have the function doStuff() that is going to change whatever variable you want to be notified of changing, in this function, when the variable changes, make a call to the callback ie doWork() { ++mVariable; mVariableObserverCallback.onVariableChanged(); } Sep 09 12:29:21 lasserix, I tried to make the example of http://stackoverflow.com/questions/9879780/android-how-to-make-listener-to-a-custom-variable?rq=1 Sep 09 12:29:36 adding a "setValue" function to change to value Sep 09 12:30:15 that should call the mListener.onStateChange(isInternetOn) inside mInetMgr.doYourWork(); Sep 09 12:31:06 adding a setvalue function to change to value?! Sep 09 12:31:12 sorry i dont follow Sep 09 12:31:23 what are you trying to achieve? Sep 09 12:31:50 I'm trying to change a value from inside one of my classes that will call a change in the main activity UI Sep 09 12:32:18 the calue is changed durring the run and not from the UI activity Sep 09 12:32:42 oh is this across different threads? Sep 09 12:33:33 Are you changing the value on a different thread? Sep 09 12:33:55 nevermind i am confusing myself. Sep 09 12:34:15 I have a service which recives data, once data is recieved I pass it to a dataAnalyze class, from that class I want to set a flag that will show something on the UI depending on the flag Sep 09 12:34:26 ahh okay Sep 09 12:34:50 so in the dataAnalyze class, the function that accepts the variable, are you making a call to Listener.onStateChanged()? Sep 09 12:36:06 I havn't implemented anything yet, I tried a text application just like the stackoverflow answer showed with some changes to see if I get it but I didn't managed it to work Sep 09 12:36:15 text = test Sep 09 12:36:17 oh can you post your code? Sep 09 12:36:37 it's just like in http://stackoverflow.com/questions/9879780/android-how-to-make-listener-to-a-custom-variable?rq=1 Sep 09 12:37:10 Are you registering your listener? Sep 09 12:37:38 Are you declaring a listener in the helper class and gets set by the registerListener? Sep 09 12:37:51 Are you making a call to your listener after you change your variable? Sep 09 12:37:59 yes, just like the example Sep 09 12:38:03 okay Sep 09 12:38:10 except the last part I think... Sep 09 12:38:24 mListener.onStateChange(isInternetOn); Sep 09 12:38:47 this is crucial as this will propogate to your activity's ovveridden implementation Sep 09 12:38:51 so I do it as well Sep 09 12:39:23 is your listener null? Sep 09 12:40:10 if you are following that example, all i can guess is your listener is not getting registered, might check the else condition on the != null? Sep 09 12:40:36 the only difference from the example code is that I added "mInetMgr.setState();" (which will change the private variable isInternetOn) after mInetMgr.doYourWork() to see if a change will call the listener Sep 09 12:42:27 how do you meean? Sep 09 12:42:41 in the doYourWork method you must make the call to the listener Sep 09 12:42:43 not afterward Sep 09 12:43:08 mListener.onStateChange(isInternetOn); ie this should go in the doYourWork Sep 09 12:44:08 what does setState() do? Sep 09 12:44:31 change isInternetOn from false to true / from true to false Sep 09 12:44:49 then make the call mListener.onStateChange(isInternetOn); inside setstate Sep 09 12:45:09 since that's the whole point of the listener? Sep 09 12:45:43 I think (once again) I got it... Sep 09 12:45:46 will let you know shortly Sep 09 12:45:49 You should rename it to toggleState() if it just toggles it between true/false Sep 09 12:46:24 SimonVT, true, the bad namming is just becuase of testing reason to see if I understand what's going on Sep 09 12:49:02 should I make the InternetManager a global variable (according to the example I'm folowing) so I could set the state from a different class and still call it from the activity? Sep 09 12:49:15 "call it from the activity" = set up the listenet Sep 09 12:49:19 listener Sep 09 12:50:58 umm i'm not sure i follow but as long as you modify the variable through the same function that calls the callback the UI will always be notified Sep 09 12:52:42 so i guess yes? Sep 09 12:53:12 thanks again, will give it another go Sep 09 12:56:27 What happens when try to instantiate a view from a layout if a different layout was called, ie layout-med and layout-large large contains a view that's not in the med. Will it crash or just return null? Sep 09 13:01:46 It wont crash Sep 09 13:01:55 findViewByid will return null if the view doesn't exist Sep 09 13:03:10 Thanks Sep 09 13:06:14 Ahh I was so happy this morning, the end was in sight. And now, now it's down that shoot that spans several levels. Sep 09 13:26:32 Hi guys! I am trying to create an android program that send some chars via bluetooth. But I have a (I would suppose) very newbie java problem: http://pastebin.com/ATwiq4gT (line 64). connection should be final (because it's a inner class), but if it's final I can not set it with my connection... how I should solve this? Sep 09 13:31:42 call setOnClickListener() just after instantiating your connection object that you can declare final in your try ' } lock Sep 09 13:31:45 *block Sep 09 13:34:44 bubbleguuum: something like this? http://pastebin.com/YMTjUHZj Sep 09 13:35:39 Or, just make connection a member variable Sep 09 13:36:48 fucking hell! Thanks SimonVT I didn't realize that I was creating the variable inside the onCreate method and not on the class. Thanks! Sep 09 14:15:23 i have a question about accessing the gps.. i succeeded in getting the last known location, but it does not update.. do i need to create a listener for this? Sep 09 14:38:34 hi all :) Sep 09 14:38:40 hi Sep 09 14:39:55 better Sep 09 14:40:16 hate it when I forget to close a client at work :-( Sep 09 14:41:01 hehe Sep 09 14:47:59 hey guys so i tried the command make -j otapackage and got an error saying wrong version of java when it instructed me to download openjdk6 in the first place Sep 09 14:48:02 how do i go about this Sep 09 14:49:21 add a repository that contains sun jdk? Sep 09 14:49:51 any 1 have experience with ffmpeg ? Sep 09 14:55:45 does anyone know if NETWORK_IDS_CHANGED_ACTION is also supposed to work for a network being removed from configurednetworks? Sep 09 14:56:07 i only get that broadcast when a network is added, but i need to get notified when its removed Sep 09 14:59:18 you guys at Android might want to remove the crap about openJDK6 on the initializing the build environment for android Sep 09 14:59:29 and replace it with sudo add-apt-repository ppa:sun-java-community-team/sun-java6 Sep 09 14:59:30 sudo apt-get update Sep 09 14:59:30 sudo apt-get install sun-java6-jdk Sep 09 14:59:32 sudo update-java-alternatives -s java-6-sun Sep 09 15:00:45 false non-working information on website, its bs.. update it please. Sep 09 15:01:01 and if you use this info, give credit Sep 09 15:01:01 bye Sep 09 15:02:09 O.o Sep 09 15:04:03 :D Sep 09 15:04:55 guys, I want to get into android game development and I've looked around for some good engines and I finally came to Andengine and libgdx, which one should I use ? Sep 09 15:09:08 andengine is easier if you've not done game development before Sep 09 15:09:29 libgdx is a little more complicated but you has cross platform benefit Sep 09 15:09:36 either way you Sep 09 15:10:11 *you're good Sep 09 15:13:06 what's the easiest way to use the stock Android loading spinner programatically? Sep 09 15:13:53 (the thing that spins about usually when something's loading or downloading from the internet) Sep 09 15:21:37 initialize array and pass into adapter for spinner Sep 09 15:22:09 lasserix; o.o what? Sep 09 15:24:26 hi all Sep 09 15:25:49 lasserix; I meant this; http://puu.sh/13vcX Sep 09 15:25:55 how do I do that in my own app Sep 09 15:26:04 well, just the thing in the middle Sep 09 15:27:00 Uhh progress bar? Sep 09 15:27:41 lasserix; no... just the spinning thing. you're telling me you've never seen that spinning around when you've been doing something efore? Sep 09 15:27:42 before* Sep 09 15:29:24 lasserix; go into the foursquare app and press the refresh icon, you'll see it there too. Sep 09 15:29:32 I wanna know how I can get it in my app Sep 09 15:29:34 yeah its a progress bar Sep 09 15:29:47 go into graphical xml editor mode in a layout and look under form widgets Sep 09 15:29:55 you'll see the circular progress bar there Sep 09 15:30:17 oh :S okay, how do I get that programatically then? new ProgressBar()? Sep 09 15:30:19 btw a spinner is the drop down menu Sep 09 15:30:30 probably just google it Sep 09 15:33:21 fantastic, thanks lasserix Sep 09 15:40:04 What is android:orderInCategory ? Sep 09 15:42:02 Hola! Sep 09 15:53:49 Hello. Is there any application which transforms my Android phone into an USB webcam to use without installing any drivers on PC? Sep 09 15:56:37 Aleksander: Check out DroidCam perhaps? I'm actually needing the same thing Sep 09 15:57:44 As I understand it, though, that doesn't make the Android a USB webcam in the same sense as a dedicated USB webcam; it functions by default as an IP camera and you can forward certain ports, via ADB, to the host PC over USB Sep 09 15:58:36 Hodapp, and if I want to make my phone just a "generic webcam" to use with various PC, without installing adb on them etc, is it possible? Sep 09 15:58:43 PCs* Sep 09 16:04:09 Aleksander: I did see one program that seemed to make it a more generic USB webcam, however, it required special drivers on the PC side and looked to be rather unsupported. Sep 09 16:05:06 Hodapp, I think we're talking about USB Webcam, and yeah, it requires PC-side drivers Sep 09 16:06:57 Do you have a link to it? The one I was thinking of is in my work notebook which is inaccessible right now Sep 09 16:07:00 guys, is anybody know app, which can let use android tablet as a touchpad for PC ? Sep 09 16:22:17 Clearing the data for an application on the phone, will that delete the shared preferences values? Sep 09 16:28:27 xarxer: I believe so, yes Sep 09 16:29:09 Leeds: Thanks :) Sep 09 16:29:35 Is there any way to make the Logcat list what's in my apps shared preferences in an easy way? Sep 09 16:31:52 seems like it would take about 10 lines of code to retrieve all preferences and dump them... Sep 09 16:34:53 Still working on an HTTPClient login + clock-in process. I have confirmed POST data is sent properly, as well as it saving cookies. I also found out I don't have to log into the web page if I want to get to the real login page. So I modified my code, and now i'm getting a tad better results (better error messages). Sorry the system could not log you in. (5007) Prior Page invalid, please Sep 09 16:34:53 access this page using the links provided by http://www.paycomonline.com Sep 09 16:35:23 scraping is fragile Sep 09 16:36:45 but are you setting a referrer header? Sep 09 16:38:11 Leeds, me, or someone else? Sep 09 16:38:19 is it a known problem that setSelectAllOnFocus(true) does not have any effect with requestFocus ? Sep 09 16:38:27 api 8 Sep 09 16:38:31 Komak57: I don't see anyone else here :) Sep 09 16:38:49 nobody else asking about scraping and being told their referrer is wrong, anyway Sep 09 16:38:52 http://stackoverflow.com/questions/6392578/android-select-all-text-on-focus-on-editfield - here is this issue Sep 09 16:38:58 and no resolution =( Sep 09 16:39:03 I don't believe I'm setting a header? Sep 09 16:39:26 which would be why it's wrong... Sep 09 16:39:30 Leeds: http://pastie.org/4690950 Sep 09 16:39:53 yeah, I don't need to read your code - I'm answering your question, not debugging your app Sep 09 16:40:42 I see. then i'll do a bit of research on adding headers =.= I'm sending post data properly, and handling cookies properly. Sep 09 16:43:09 Hmmm why wouldn't my fragment be adding? Sep 09 16:44:52 Ahh nm Sep 09 16:45:29 sweet, that worked Leeds, thanks ^.^ Sep 09 16:46:40 Komak57: cool :) Sep 09 16:49:39 Now... the hard part >_> trying to find out which data to manipulate in order to press buttons... without pressing buttons XD pressing them clocks me in for work...... Sep 09 16:55:10 is it possible to connect a computer to an Android device running 2.3 via an RS232 serial port? Sep 09 16:56:52 hey, I'd love to startActivityForResult in order to have the user select a location. Does the maps app handle an intent for selecting a location? Sep 09 16:58:26 Hiraghm, hmmm, you'd probably get kernel console only Sep 09 16:58:37 that'd do. Sep 09 16:59:42 I want to get myself an old R/S model 100 or 102 "laptop" computer to do some text entry on. Would be nice if I could easily xfer it to my phone. Sep 09 16:59:57 would be nicer if I could use it as an external keyboard sometimes, but what the hey. Sep 09 17:01:00 console access would do nicely, but how would I do the actual connection? Sep 09 17:02:14 orospakr, http://stackoverflow.com/questions/8132069/calling-google-map-using-intentuser to choose. Sep 09 17:02:15 Just curious, what about the RS 100 do you enjoy so much? Sep 09 17:03:49 orospakr, oh, I dont see any way to prompt to select, only to view Sep 09 17:04:09 Or do you happen to have dozens of double A batteries lieing around? Sep 09 17:04:25 you could use local search api to return suggestions and let them select in the app Sep 09 17:05:27 mrenouf, ah, well, fair enough. Sep 09 17:05:29 thanks though :) Sep 09 17:09:53 :/ my clock-in page seems to be a little... long. Either the Log.w() is cutting it short, or String str isn't storing the full page? Sep 09 17:14:41 View listeners for fragments should be initialized in onCreateView? Sep 09 17:17:58 I liked the keyboard Sep 09 17:18:09 and the slab form factor Sep 09 17:19:00 3 things I wish it had; more onboard storage, 80 columns, and more RAM. Sep 09 17:19:31 hello Sep 09 17:19:36 i need help Sep 09 17:19:47 there's a hotline for that sort of thing.. Sep 09 17:19:53 :D Sep 09 17:19:54 I've got a netbook I've finally realized I don't use because I don't like the keyboard. And the bluetooth keyboards for tablets aren't any different :( Sep 09 17:20:01 Hiraghm, I hear you. Sep 09 17:20:17 To be honest kind of sounds like a kickstarter project waiting to happen Sep 09 17:20:28 anyway, back to OpenGL ES tutorials :) Sep 09 17:20:44 slab mold with dockable phone/tablet and physical keyboard Sep 09 17:20:52 i develop app with API 8 but i need send music via bluetooth heandsfree Sep 09 17:20:58 that I'd lvoe. Sep 09 17:21:14 goes flat for carrying, comes with optional speaker system or one of those printers or whatever Sep 09 17:22:36 Is it possible to direct all audio output to a bluetooth headset? Sep 09 17:23:18 lasserix: eh, the transformer seems nice. I'd like one of its bases to work with my a500 Sep 09 17:23:52 With surfaceview, is it faster to draw many small bitmaps to the canvas or one big one? Sep 09 17:25:26 tonsofpcs they are really nice! and people think you've broken your labtop when you pop off the tab Sep 09 17:26:50 themirror good question why dont you test it? Sep 09 17:27:27 before we get to that though, I need a decent way to actually boot into linux on my tablet (and have it have full hardware access) Sep 09 17:30:05 themirror smaller bitmaps will give the os more chanes to do other stuff Sep 09 17:30:35 so if you are making a game as long as you manage them all (calling recycle or and using bitmap pool) smaller bitmaps be more efficient Sep 09 17:30:36 ? Sep 09 17:30:55 I think so Sep 09 17:31:07 I think it will be net faster Sep 09 17:31:31 just wondering what other overhead in the method call Sep 09 17:31:34 drawbitmap Sep 09 17:31:59 is probably faster than shuffling around all the memory for a large bitmap? Sep 09 17:32:45 the only way to know is bench it? Sep 09 17:32:52 Honestly it'll be inlined anyway Sep 09 17:32:53 hallo everyone Sep 09 17:32:57 Yeah I will Sep 09 17:33:11 if you do post the results up somewhere seems like a useful info Sep 09 17:35:10 i'm searching for a solution of my problem. in my app an image is shown when starting. this image is downloaded from an url. now my problem: when i change image on my server the new image is downloaded (code is executed) but the old picture is shown. Sep 09 17:37:24 so the download code is executed without any error, but the new image isn downloaded, it's the old one Sep 09 17:37:45 i thought of something like cleaning the cache, but this doesn't help Sep 09 17:38:07 when a reboot my phone an run the app, then the new image is downloaded and shown Sep 09 17:39:44 i already used google, but didn't find useful answers Sep 09 17:44:18 hm noone can help? ok, so i go off and try it another time. good bye! Sep 09 17:50:04 I hate it when I get ClassNotFoundException for no apparent reason. I just booted up my project in Eclipse on Windows Sep 09 17:53:48 Anyone want to take a shot at the issue? I've got the correct package in AndroidManifest.xml, and the file is in the given package too (prefixed with . in the manifest) Sep 09 17:54:44 how would i share in image from the sd card. this is the code i treid, but doesnt seem to work Sep 09 17:54:45 http://pastebin.com/Py7JXUQA Sep 09 17:55:01 file does exist, and shows up in any file manager Sep 09 17:59:55 f2prateek, "image/*" <-- seems fishy Sep 09 18:00:01 Not sure you can use the * there. Sep 09 18:00:29 But maybe you can, I can't say I know for sure. :-) Sep 09 18:01:21 f2prateek, http://stackoverflow.com/questions/5338195/when-sharing-an-image-with-intent-createchooser-my-file-disappears Sep 09 18:01:39 f2prateek, It seems to do the trick! Sep 09 18:13:23 I have a class that has a method/asynctask that takes an ArrayList as a parameter. I pass in four ImageViews via the ArrayList. On onProgressUpdate I attempt to change the ImageView Drawable, however, it is not changing. Sep 09 18:13:33 I'm getting no errors either. Sep 09 18:14:53 dlaroche, Are you invalidating the ImageView? Sep 09 18:15:09 n20: yes I have tried that also with no success Sep 09 18:15:36 dlaroche, Are you sure that onProgressUpdate() is being called? Sep 09 18:15:50 yes I put a Log statement to verify Sep 09 18:16:12 can I use Thread.sleep() within onProgressUpdate()? Sep 09 18:16:25 dlaroche, Could you paste the onProgressUpdate()? :-) Sep 09 18:17:11 http://pastebin.com/qLRTMD7A Sep 09 18:17:38 Hey I was wondering if anyone could recomend a good "getting started" tutorial for android programming? I know java and have eclipse with the ADT installed. I'm porting an unreleased mmorts I made for windows a few years back to android... primarily I need to learn how to draw to the screen (I think I would use canvas? the game has a minimalistic 2D interface) Sep 09 18:18:04 n20: thanks will look at that ;) Sep 09 18:18:07 * :) Sep 09 18:19:15 CodeLion, GLSurfaceView might be useful to look at, as well as following the tutorials at http://d.android.com - they're really good. :-) Sep 09 18:20:30 dlaroche, So, what is values[0] when you get there? :) Sep 09 18:20:31 CodeLion: start with surfaceview. It might be sufficient for your needs Sep 09 18:20:46 n20: the values vary between 0-3 Sep 09 18:21:40 n20, themirror: Thanks for the advice, I'll check out that link. Sep 09 18:22:01 n20: that worked, thanks! this was driving me crazy... Sep 09 18:22:52 dlaroche: The image isn't drawn until it returns from onProgressUpdate Sep 09 18:22:57 Also, don't sleep on the main thread Sep 09 18:23:08 SimonVT, Hello old friend! Sep 09 18:23:15 ok thanks Sep 09 18:23:18 Hello :) Sep 09 18:23:41 romainguy_: is it faster to make 100 calls to canvas drawbitmap with a very small image or to make one call with a bitmap comprised of the 100 Sep 09 18:24:27 * n20 goes to the grocery store, and lets SimonVT take over the active "support cases". Sep 09 18:25:05 >.< Sep 09 18:25:15 How does android know which application to open when i use Intent.ACTION_VIEW Sep 09 18:25:36 themirror: in software, it doesn't matter, in hardware the latter Sep 09 18:25:53 It matches the intent against intent filters apps define Sep 09 18:27:02 SimonVT: what are intent filters? Sep 09 18:27:42 http://developer.android.com/guide/components/intents-filters.html#ifs Sep 09 18:28:12 Ok thanks Sep 09 18:43:34 I do Intent intent = new Intent(Intent.ACTION_ALL_APPS); but get an error when i call it Sep 09 18:50:42 Can anyone recommend me a cursor adapter or loader that is well suited to watching for databse changes and applying them to an ItemizedOverlay? Sep 09 18:54:39 Ankhwatcher: you mean w/o a content provider ? Sep 09 18:55:16 g00s: I don't mind creating a content provider if that will make things easier. Sep 09 18:56:02 Ankhwatcher: i ask only because, if you implement the CP correctly and notify of the uri change, then the loader will automatically update Sep 09 18:56:45 g00s: yeah, I'm just need an example to run with. Sep 09 18:56:48 but if you dont have a cp, then you will have to implement your own CursorLoader that works with a plain cursor, not the Uri … notatation Sep 09 19:00:23 if your db model and query needs are pretty simple, and you think you can impl the Cp in < 100 lines of code, take that path; if the CP just makes things a pita for you, impl your own CursorLoader that extends AsyncTaskLoader Sep 09 19:02:19 iosched does a good job of showing a nicely implemented cp Sep 09 19:09:24 Anyone want to take a shot at the issue? I've got the correct package in AndroidManifest.xml, and the file is in the given package too (prefixed with . in the manifest) Sep 09 19:09:42 I'm getting a ClassNotFoundException when trying to run the app Sep 09 19:10:05 The only change is that I'm not running it via Eclipse in Windows instead of Linux, but the same source from Github. :-) Sep 09 19:12:22 hi Sep 09 19:12:34 warpmobile, Hello world! Sep 09 19:12:45 Is there away to test to see if an phone has certain hardware? Sep 09 19:12:49 g00s: thanks, that's good advice. Sep 09 19:12:56 a way* Sep 09 19:13:14 n20 thanls Sep 09 19:13:17 thanks Sep 09 19:13:43 PrivateAlpha, Google Play can restrict it for you, but I take it you want the check in-app too? :-) Sep 09 19:14:13 does anyone know how to implement foursqaure api, i need only list of place Sep 09 19:14:44 n20: Actually I want to make an app that checks what hardware a phone has so that devs can make accurate AVDs from the resulting info Sep 09 19:14:59 unless that already exists Sep 09 19:15:11 PrivateAlpha, That's a good initiative! Sep 09 19:16:11 n20: I think it would be damn handy, no? Sep 09 19:18:59 PrivateAlpha, look into checking "features" Sep 09 19:19:05 like "nfc" is a "feature" Sep 09 19:19:08 and you can check if it exists Sep 09 19:19:38 Not that you can use that for much when creating an avd Sep 09 19:22:43 Can I use passed context to fire a function in my Activity? Sep 09 19:23:20 anyone know foursquare api? Sep 09 19:23:45 Ankhwatcher: wat Sep 09 19:25:24 canadiancow: oh, I'm just wondering if their is a way to call a function of my Activity from it's Overlay Sep 09 19:25:32 overlay? Sep 09 19:25:52 I could just dump the Overlay declaration into the same file with it, but that seems cluttered. Sep 09 19:26:18 evening Sep 09 19:26:25 canadiancow: A custom ItemizedOverlay for a map. Sep 09 19:26:29 hi Jabo Sep 09 19:27:36 anybody got any experience with the Blobstore? Sep 09 19:29:29 trying to find the documentation for ways to show progress abts with the action bar, anybody has a link? Sep 09 19:29:36 *progress bars Sep 09 19:31:27 What would happen if I try to use a sensor without having declared the permission? Sep 09 19:31:49 would likely crash Sep 09 19:32:23 trying to use the camera or internet without declaring the permission causes a crash Sep 09 19:35:39 Hmm so I would have to declare all the permissions, but then the app store would not allow user without those perms to download the app? Sep 09 19:36:44 no, it's not like that Sep 09 19:37:02 the google play store will show the user what permissions the app is going to request from the device Sep 09 19:37:15 is the user doesn't accept the permissions the user doesn't get to download the app Sep 09 19:38:43 Oh? Awesome, expect an app that lists all the available hardware soon ^^, Sep 09 19:39:11 Well most of it anyway Sep 09 19:40:07 it's deeply annoying much of the android stack doesn't support all hw functions Sep 09 19:40:46 for example, the instantaneous power draw is not supported on the nexus 7 Sep 09 19:41:06 or accelerometer 'tap' interrupts. Sep 09 19:57:33 I have an ArrayList of intents with intent.getParcelableArrayListExtra(Intent.EXTRA_STREAM); trying to get them passed into asynctask. I can change the type to ArrayList, but then progress is updated only after all images will be processed. whats the way to update progress after every single image is processed. Sep 09 20:07:23 I'm getting a ClassNotFoundException when trying to run the app - anyone want to take a shot at the issue? I've got the correct package in AndroidManifest.xml, and the file is in the given package too (prefixed with . in the manifest) Sep 09 20:07:25 :D Sep 09 20:08:32 code? Sep 09 20:08:37 and logcat Sep 09 20:09:47 Well, the code is irrelevant. I just try to boot up the app via MainActivity.class, but it says that it can't find it. :( Sep 09 20:10:28 However, the package is correct, and the file is in the given package. Never had a problem until I swapped over to Windows - something with the Github-thing for Windows maybe? :( Sep 09 20:29:21 Are runnables cleaned up automatically or should I add some code the on onStop for my activity to kill the runnable? Sep 09 20:34:13 They're GCd when you no longer reference them Sep 09 20:35:51 apparently stop() is depricated Sep 09 20:36:04 as is destroy() Sep 09 20:36:21 SimonVT: GCd? Sep 09 20:38:07 garbage collected Sep 09 20:38:13 I suppose you're talking about threads now Sep 09 20:38:30 SimonVT: yeah, I should have said thread instead of runnable Sep 09 20:38:58 the thread is technically running and indefinite while loop, but it seems to be killed as soon as I exit my activity. Sep 09 20:39:10 Yeah, you want to stop that Sep 09 20:39:18 It stops when you return from the run method Sep 09 20:39:56 which bit is returning from the run method? Sep 09 20:44:09 SimonVT: this the Runnable that my thread is running: http://pastebin.com/720WsRQK Sep 09 20:47:42 Yes, when your run method returns, your thread stops Sep 09 20:48:33 so wait, where is that happening and do I need to add any code to make sure this thread isn't waiting indefitely? Sep 09 20:49:13 can anyone help me work out why this code doesnt resume the camera preview after put phone in standby? the preview is frozen upon taking phone out of standby Sep 09 20:49:23 http://paste.org/53864 Sep 09 20:58:08 question on uploading an app to the market place around call permissions. If I enabled call permissions on an app and upload it, will it show for devices without sim slots? Sep 09 20:59:30 Ankhwatcher: You have to make sure your Runnable's run method finishes Sep 09 20:59:37 damn, anyone here Sep 09 21:00:43 not now Sep 09 21:01:24 …… canvs2321 cmon be original, lol :P Sep 09 21:02:23 why would u target devices wout phone capabilities? Sep 09 21:02:41 .. tablets? Sep 09 21:02:49 And no, it wont Sep 09 21:03:21 I am trying to use BitmapFactory.decodeByteArray on a JPEG data (which is valid) but it is returning NULL, I am assuming I can do this though? Sep 09 21:03:34 You have to set it to not required Sep 09 21:03:50 yes, i have an app that has call capabilities on phones but on tablets it doesn't / cant make calls. so i want to upload the app with cell permissions and just disable them for tablets. but someone told me if I enable call permissions when uploading app that devices without sim won't see the app Sep 09 21:04:10 SimonVT: ahhh snap, alright. will look into it, thanks Sep 09 21:06:34 SimonVT: I hate to be that guy, do you have any web info I can look at to see this not required option? I can't seem to find anything, probably not goggling the correct terms :/ Sep 09 21:08:21 SimonVT: nvm, Sep 09 21:08:21 thanks Sep 09 21:08:26 for the direction Sep 09 21:08:36 That's the one :) Sep 09 21:10:28 SimonVT: cool, I did that by setting while to a boolean which is changed by the main thread, and then calling notify() Sep 09 21:23:22 If I only need the capabilities of surfaceview, if I use a glsurfaceview will canvas be hardware accelerated? Sep 09 21:23:40 Do I need to use a renderer? Sep 09 21:26:21 Help Sep 09 21:26:50 Plz suggest me some good book for learning android app development Sep 09 21:27:28 anyone? Sep 09 21:28:00 My question... can someone direct me to a tutorial for creating shapes with GLSurfaceView? I don't understand it at all, although I got it to display and change color. Sep 09 21:32:30 oh wait... I think I just got it :D Sep 09 21:33:06 if (user_button.getText() == "USER 1") Sep 09 21:33:25 Why doesn't this evaluate to true when the text is actually "USER 1" ? Sep 09 21:34:33 ciwolsey: because you're comparing the references for two different string objects and not the values of the string Sep 09 21:34:49 user_button.getText().equals("USER 1") Sep 09 21:35:00 but you should really learn java if that's throwing you off Sep 09 21:35:14 yeah :) Sep 09 21:35:24 thanks Sep 09 21:35:31 Does anyone know where I can find a guide to drawing 2D images with OpenGL ES 2.0? I've already read all the developer.android tutorials Sep 09 21:35:36 np :) Sep 09 21:35:53 would take me a lot of time to go back and learn every little thing about java Sep 09 21:36:08 i move between a lot of language so i find it better to learn all the little differences as i go Sep 09 21:37:59 I have a PreferenceActivity to which I have an associated XML-file describing the preferences. One entry in the preferences XML-file is a PreferenceScreen which launches an activity. Can I launch said activity with a requestCode? Sep 09 21:43:16 anyone know any good science channels? Sep 09 21:43:48 I'd prefer mad science channels Sep 09 21:44:02 are sparks always electricity? Sep 09 21:49:00 ## physics, ##electronics, ##spaxe Sep 09 21:53:36 whats the best tool for unpacking zimage? Sep 09 22:04:56 why does R sometimes get undefined half way through programming? and what is the fix (in eclipse, indigo) Sep 09 22:05:24 I think I fixed it... Sep 09 22:05:34 for some reason I have two different projects in the same workspace Sep 09 22:32:39 is it still better to use java 6 instead of 7 for android dev? Sep 09 22:33:36 better? doesn't really make a difference. android doesn't currently use java 7 features though. Sep 09 22:34:17 I've been hoping for that to change for some time, now that OS X is not holding it back Sep 09 22:36:16 oh noes Bill Moggridge passed away Sep 09 22:36:30 i was just about to pick up his book, weird thing Sep 09 22:37:53 alankila: i really wonder what google's plans are for accepting new java features going forward; also the class library since Harmony is defunct mostly. Sep 09 22:42:08 Eh... what can cause my built-in classes to point to h#ll? Sep 09 22:43:04 All my classes that implement Parcelable are affected, stating that there is no writeToParcel() to override Sep 09 22:45:41 well imho they managed to patch java 5 features into java 6 features at some point in the class library... at least I saw that some stuff that used to be msising no longer is Sep 09 22:46:06 I imagine they can add the key java 7 features also, or just leave those and just add the compiler-level support for 7's features Sep 09 22:51:18 java 8 features will be more extensive; also i think their concurrency libs are old Sep 10 00:11:15 anyone willing to help me? Sep 10 00:12:49 MarMed: what does it say in the channel topic about asking to ask? Sep 10 00:41:25 MarMed: I hope you have enjoyed your #android-dev experience today Sep 10 00:58:16 Why is a push to the emulator on Windows so freaking slow? Sep 10 00:59:46 s/on Windows// Sep 10 00:59:53 s/a push to// Sep 10 00:59:53 hmm ok ;) Why? Sep 10 01:00:09 how do you terminate an app? (finish() wont stop a running http request) Sep 10 01:00:18 :| Sep 10 01:00:19 you DONT terminate an app Sep 10 01:00:26 finish() just finishes an activity Sep 10 01:01:17 sounds like I'll be buying an Android device sooner than I thought :S Sep 10 01:01:18 how do you finish an application then? (problem is that I have an http connection, that if a user closes it, and it returns results in 2 seconds later, I will get an error when its even outside the app) Sep 10 01:01:31 you DONT Sep 10 01:01:37 you write your code to not crash Sep 10 01:01:43 but you dont "terminate an app" Sep 10 01:01:48 that's just a waste of ram Sep 10 01:02:14 error is this: android.view.WindowManager$BadTokenException: Unable to add window -- token android.os.BinderProxy@412b1618 is not valid; is your activity running? Sep 10 01:02:38 so, I'm outside the activity (and the app). but it is still running in the background on its own. Sep 10 01:03:09 so, you need to read up on what an activity is Sep 10 01:03:10 and what an app is Sep 10 01:03:25 and that error is almost certainly caused by trying to show a dialog with an invalid token Sep 10 01:03:31 so dont show a dialog if the activity has finished Sep 10 01:03:44 how do you check if activity is finished? Sep 10 01:03:50 (if its running or not) Sep 10 01:03:58 thats the wrong question Sep 10 01:04:19 the right question is why you arent stopping useless network requests in onPause/onStop/onDestroy or wherever it makes sense to do so Sep 10 01:04:20 there is isFinished() apparently :) Sep 10 01:04:32 but that would be the wrong way of doing it Sep 10 01:04:47 how do you stop an async task? Sep 10 01:05:20 I'm using a third party http library. so, dont even have control on how to stop it Sep 10 01:08:20 canadiancow, yeah I think its the wrong way if I just check for onFinished. but how do you stop an asyntask in the background? Sep 10 01:09:06 or should I implement both a cancel and an onFinished check? Sep 10 01:14:39 canadiancow, figured what to do. thanks for the help :) Sep 10 01:18:42 hey guys, I am trying to figure out what sizes my images should be for my android app… I load cards to be read [so images like sports cards] Sep 10 01:18:51 different devices differ Sep 10 01:19:10 on my 1280x800 toshiba, I bleieve the actual height is 1232 since the bottom bar takes 48? Sep 10 01:23:20 how can i create a setting to autofill an edittext box? Sep 10 01:57:01 Hmm, should loader ids be globally unique to app or just unique to the current context? Sep 10 02:05:03 Can anyone recommend any refereneces to learn about AIDL's ? Sep 10 02:18:20 when writing an android junit test, does that testing have access to all the external/dependent projects? Sep 10 02:20:38 Any recommendations on how to display more data to a user, if the primary Activity's view is already full of elements Sep 10 02:20:41 ? Sep 10 02:20:58 Like in a flashy popup, or perhaps tabs? Sep 10 02:21:13 The main thing is, I wish for it to be compatible with at least Android 2.2 Sep 10 02:27:48 diki: http://developer.android.com/guide/topics/ui/notifiers/index.html **** ENDING LOGGING AT Mon Sep 10 02:59:58 2012