**** BEGIN LOGGING AT Tue Jul 28 02:59:57 2009 Jul 28 03:12:45 * _Auron_ pokes romainguy Jul 28 03:18:11 If there's one book to buy (on Android), what would your vote be ? Jul 28 03:18:52 the one by mark murphy, probably Jul 28 03:19:05 he's on android-developers all the time and seems to know his stuff Jul 28 03:19:22 Manning's Unlocking Android is already dated. No cupcake stuff. Jul 28 03:19:53 @KNY ok. Yes, Mark murphy is everywhere. Will consider that. Jul 28 03:20:30 ashitaka, yeah, I've heard that a lot of the Android books were rushed out and contain bugs and bad examples as well as old API calls Jul 28 03:23:58 In a way, the books just could not keep up with the API. In the future, all books on tech should just be in ebook format. Jul 28 03:27:59 ashitaka, it depends on your preference, imho, the top three books are : "hello android" "Professional Android Application Development" and Murphy's book(s) Jul 28 03:28:56 I have them all and prefer the first two, these two are good enough that i rarely touch murphy's books tho Jul 28 03:30:07 In the Android Market there is a dialog that you can select to enter "my comment" which shows an edit text and an ok button. I'd like to have this same functionality in my app. Does anyone know the dialogs they used to make this functionality? Jul 28 03:30:38 unlocking android seems good too but it's better to stick with one book primarily to learn and use the rest as references Jul 28 03:42:44 Does anyone know if the source code for the Android market screens has been released? Jul 28 03:46:20 source for Android market is not going to be released as open source Jul 28 03:49:23 aunn: thanks. Jul 28 04:58:35 Imagine a scenario where there is a one-to-many relation between Person and Address. So, there is a Person table & an Address table. In JDBC, you can easily get generated key for a NEW person, then use that to create a NEW address (address.person_id is a FK to person._id). How do I do that using the ContentProvider api ? Jul 28 05:02:03 starhub. starhub. wink. wink. Jul 28 05:13:59 Hi anybody know how to disable android Jul 28 05:14:08 auto lock Jul 28 05:50:00 does anybody have Andoid OS .. not the live CD? Jul 28 05:51:28 or where can i find Adroid OS? Jul 28 05:53:55 <_garry_> do you mean the emulator to run the Apps on the PC, or do you mean for uploading to the handset? Jul 28 05:54:37 no.. i need to install android os on my PC Jul 28 05:54:40 http://source.android.com/ Jul 28 05:54:53 i need full installation of Live OS Jul 28 05:56:42 i want to know if anyone has done all the compilation procedure and created an ISO so that i can download Jul 28 07:34:53 hello Jul 28 07:37:19 is there a platform variable for the link and highlight color values? Jul 28 07:37:32 I simply want to read them, not change them.. Jul 28 07:47:30 hello Jul 28 08:10:02 hi all, quick question i cant seem to find on goodle, wonder if anyone know is there way for android to accept contact info via sms sent from nokia phones and so on ? it dont seem to work for me ... Jul 28 08:17:13 fanno: I assume the contact info is sent as vCard? Jul 28 08:18:02 fanno: I think I saw some vcard code in the Android source tree Jul 28 08:22:16 jelg: ya that might what its called Jul 28 08:22:31 when my friend send it fron his nokia nothing happen on my phone at all .. Jul 28 08:22:52 well at least nothing that i can see Jul 28 08:24:49 http://code.google.com/p/android-vcard/ maybe i guess Jul 28 08:27:16 fanno: you cannot open the SMS the usual way and look at it?.. I guess it is sent to a specific SMS port or something Jul 28 08:27:49 jelg: i never thet any sms Jul 28 08:32:07 "thet"? Jul 28 08:32:48 * jelg went to get a sandwich Jul 28 08:45:29 jelg: wops typing to fast i guess Jul 28 08:45:55 jelg: i never get any sms Jul 28 08:46:09 even logcat prints nothing? Jul 28 08:56:26 anyone have any tips to why my eclipse crash everytime I load logcat? Jul 28 09:04:18 hmm only when the phone is connected. Seems to work fine with the emulator Jul 28 09:04:27 linux/win/osx? Jul 28 09:04:33 ubuntu Jul 28 09:04:38 hm Jul 28 09:04:50 and the console adb logcat works great with the device connected? Jul 28 09:05:10 haven't tested console logcat no Jul 28 09:06:06 you could check it out, if it works, its a problem with your eclipse / adt plugin Jul 28 09:07:20 no crashes as well Jul 28 09:08:01 no Jul 28 09:08:15 hmm Jul 28 09:08:22 console logcat works Jul 28 09:08:39 but the ddms app crashed like eclipse Jul 28 09:09:33 http://developer.android.com/guide/developing/device.html <-- you did everything ubuntu-related here, right? Jul 28 09:11:00 hmm didn't add the rule, it found the devices without it Jul 28 09:15:11 it looks like it's working now.. Jul 28 09:15:39 for some reason it got fixed after I /etc/init.d/udev restart && killall adb Jul 28 09:21:31 Finally!! Today the emulator showed up, once I started it myself from the command prompt, martin___ Jul 28 09:21:33 :P Jul 28 09:45:37 Any ideas on how to use the XmlPullParser ? If I'm making a Http call, how do I parse the response inputstream with the XmlPullParser ? Jul 28 09:47:01 I spoke too fast. I found it. Just do XmlPullParser parser = Xml.newPullParser(); Jul 28 09:48:26 anybody here succesfully using MapView? I'm having troubles extending it, the vm complanins about not finding the superclass of my class (MapActivity) Jul 28 09:49:34 * _Auron_ is dealing with the issue of http://a.imagehost.org/0928/normal.png turning into http://a.imagehost.org/0422/broken.png when his activity is resumed Jul 28 09:58:26 tishamer, MapActivity is part of an add on and not readily available on the 1.5 SDK, you should select Google API as target when creating your project on eclipse Jul 28 10:01:44 Exxka: congrats! Jul 28 10:02:32 Thnkas madis :) Jul 28 10:02:35 Thanks* Jul 28 10:02:47 But it still doesn't start up from eclipse :P Jul 28 10:05:37 a question: is it possible to fake a massive memory shortage with the emulator? Jul 28 10:05:56 I would like to test the case where a background service is killed by the system due to memory shortage Jul 28 10:06:50 Well, how about just writing a secound app which sucks a lot of memory ? Jul 28 10:08:06 hmm.. yes, could try. Jul 28 10:09:25 mharkus: i did Jul 28 10:09:36 mharkus: how can i verify if the problem is related to that? Jul 28 10:10:24 i'm using 1.5r3 Jul 28 10:10:29 and in libs i see maps.jar Jul 28 10:11:00 i'm turning crazy here Jul 28 10:11:56 of course i added the uses-library in manifest Jul 28 10:16:27 tishammer, right click on your project > properties then select the Android node, see if the Google APIs checkbox is checked Jul 28 10:26:34 yes, it's checked Jul 28 10:26:36 i actually fixed Jul 28 10:26:56 my uses-library was outside but inside , right before the permission Jul 28 10:29:30 it's complaining about something else now :) Jul 28 10:30:12 java.lang.IllegalStateException: You are only allowed to have a single MapView in a MapActivity Jul 28 10:32:14 hey guys Jul 28 10:32:18 can somebody point me to the source code for the calculator app Jul 28 10:32:22 hey andy Jul 28 10:32:28 i got my superclass issue fixed :) Jul 28 10:32:30 oh Jul 28 10:32:32 SERIOUSLY Jul 28 10:32:32 HOW Jul 28 10:32:37 in my case Jul 28 10:32:41 i put the uses-library Jul 28 10:32:47 outside of Jul 28 10:33:00 right after where the permissions are stated Jul 28 10:33:05 OK Jul 28 10:33:07 i put it inside and how it finds it Jul 28 10:33:14 (but i got a new error :) ) Jul 28 10:33:22 OK Jul 28 10:33:26 whats new one Jul 28 10:33:32 java.lang.IllegalStateException: You are only allowed to have a single MapView in a MapActivity Jul 28 10:33:39 hmm odd Jul 28 10:33:42 so what line EXACTLU Jul 28 10:33:47 do you hav in ur manifest Jul 28 10:33:56 what do you mean? Jul 28 10:34:01 show me your manifest Jul 28 10:34:12 kk one sec Jul 28 10:34:33 http://pastebin.com/m6f8791e7 Jul 28 10:39:42 and you are using google apis 1.5 right? Jul 28 10:39:58 as a build target Jul 28 10:54:59 not sure even this is even possible but is there a way to turn down the brightness in certain areas of the screen? like the status bar for example... Jul 28 10:55:45 tishammer no i changed to google apis Jul 28 10:57:59 so thats all u did Jul 28 10:58:03 u put that line in Jul 28 10:58:08 and u put the google apis 1.5 Jul 28 10:58:10 mine still errors Jul 28 11:00:47 [2009-07-28 11:59:53 - SimpleDriverWidget] Installing SimpleDriverWidget.apk... Jul 28 11:00:47 [2009-07-28 12:00:15 - SimpleDriverWidget] Installation error: INSTALL_FAILED_MISSING_SHARED_LIBRARY Jul 28 11:00:47 [2009-07-28 12:00:15 - SimpleDriverWidget] Please check logcat output for more details. Jul 28 11:00:47 [2009-07-28 12:00:15 - SimpleDriverWidget] Launch canceled! Jul 28 11:01:01 cos i put back to 1.5 Jul 28 11:01:04 so its missing maps.jar Jul 28 11:01:08 so i added it manually Jul 28 11:01:15 do i need ot add something ot manifets for that too Jul 28 11:03:38 hmm. Jul 28 11:03:53 any way to debug the activity stack. see it's contents etc? Jul 28 11:04:54 AndyArmstrong: android 1.5 ships with maps.jar Jul 28 11:04:59 you should have it in libs/ Jul 28 11:05:45 yes i do Jul 28 11:05:47 i'm havin troubles with the main.xml layout now :) Jul 28 11:05:52 so i added it manually Jul 28 11:05:59 but then it gives the above error Jul 28 11:06:03 how did you add it manually? Jul 28 11:06:06 what do you mean? Jul 28 11:06:10 build path Jul 28 11:06:14 add jar to build path Jul 28 11:06:22 ok Jul 28 11:06:50 but that error occured ^^ Jul 28 11:09:27 could somebody please help my layout issues http://pastebin.com/m10b4cc0d Jul 28 11:09:32 i need the image buttons to be in a 2x2 grid Jul 28 11:09:40 2 at top , and 2 directly underneath Jul 28 11:09:43 madis, if you move to the debug perspective you can view what objects your project is currently using (select the emulator, select your package name then select the heap button) Jul 28 11:09:46 however they certainly dont look like that atm Jul 28 11:10:07 martin___, will try it out, thanks Jul 28 11:10:35 AndyArmstrong, TableLayout Jul 28 11:13:47 its an appwidget Jul 28 11:13:57 thought u needed to use relative Jul 28 11:15:20 .. Jul 28 11:17:03 hi Jul 28 11:17:30 AndyArmstrong: have you considered buying a book on programming android ? Jul 28 11:18:41 no Jul 28 11:18:48 no money for that Jul 28 11:20:20 AndyArmstrong: perhaps.. you could find one online , and buy it when you sell your app on the market. Jul 28 11:20:50 ye any recommendations Jul 28 11:21:26 i recommend mark murphys books..http://commonsware.com/warescription.html Jul 28 11:22:07 the only book I own is Hello Android Jul 28 11:23:26 Hello Android is good if you're into creating games.. Jul 28 11:31:37 can someone help me Jul 28 11:32:04 i want this in a 2x2 layout 2 buttons on top of 2 other buttons Jul 28 11:32:07 however it is not right atm Jul 28 11:32:07 http://pastebin.com/m7bd43dd4 Jul 28 11:32:13 its very wrong actually Jul 28 11:32:16 i cannot fix it Jul 28 11:32:18 its an appwidget Jul 28 11:32:24 and must use relative layout i believe Jul 28 11:32:52 why not use a table ? Jul 28 11:33:01 and table row, put the two widgets inside a table row Jul 28 11:33:11 can u do that in an appwidget Jul 28 11:33:31 in a home screen widget ? Jul 28 11:33:31 thought there were restrictions Jul 28 11:33:33 ye Jul 28 11:33:38 never done widgets Jul 28 11:33:47 u cnt Jul 28 11:33:54 needs to b relative Jul 28 11:33:56 i dont think calling me names was called for:P Jul 28 11:34:00 cn u help Jul 28 11:34:06 lol Jul 28 11:38:12 * wmealing looks Jul 28 11:38:17 Andy, when you say android:layout_toRightOf="@id" you also need to say layout_alignBaseline="@id" so that the component will be aligned with respect to their baselines Jul 28 11:54:02 Weird stuff appears to occur when you call into an ARM library from a Thumb binary Jul 28 11:56:16 yes Jul 28 11:56:18 dont do that Jul 28 11:56:30 kRutOn: just recompile as thumb :) Jul 28 11:58:21 wmealing: well, it's not that simple Jul 28 11:59:08 it never is Jul 28 11:59:10 not your lib? Jul 28 12:03:16 it's apparently called by both thumb and arm Jul 28 12:03:36 I can probably do something with alignment to make it work Jul 28 12:06:31 why not build it twice Jul 28 12:06:35 put both on the disk Jul 28 12:06:39 and link it to the right lib ? Jul 28 12:07:24 or just build it statically Jul 28 12:07:25 worst case. Jul 28 12:08:45 hmm Jul 28 12:08:55 i've never had good luck linking between architectures*. Jul 28 12:12:58 so if I want a small db what approach is better, the one in the sample Notepad code or the one in the tutorial? Jul 28 12:13:27 contentprovider vs dbAdapter I guess Jul 28 12:49:01 romainguy_, well done! http://www.engadget.com/2009/07/26/android-team-member-says-donut-isnt-2-0-doesnt-have-multitouc/ Jul 28 13:10:40 if I close a getReadableInstance() of a database, will any cursors pointing to the database be destroyed? Jul 28 13:10:50 *fail to point to anything Jul 28 13:47:14 can anybody point me to some doc about main.xml and layout? Jul 28 13:47:29 every documentation i read advices to write it differently Jul 28 13:49:04 tishammer: how about http://developer.android.com/guide/topics/ui/declaring-layout.html and http://developer.android.com/guide/tutorials/views/index.html ? Jul 28 13:52:22 what if i don't use a main.xml at all? Jul 28 13:54:51 you can do layouts programmatically Jul 28 13:55:14 you can even write your own layout engine if you want... Jul 28 13:55:39 ok, i deleted the main.xml but then of course it breaks my code using R.layout.main Jul 28 13:55:45 tishammer, don't build layouts in code Jul 28 13:55:49 just inflate them from XML Jul 28 13:56:09 KNY: yes, but it's making me crazy Jul 28 13:56:26 trust me, building them in code will make you crazy Jul 28 13:56:29 don't do it Jul 28 13:56:33 tishammer: just read through the two links mikem` posted :) Jul 28 14:00:34 ok ok Jul 28 14:00:36 i'll try that doc Jul 28 14:01:48 KNY: android's XML parser is native? Jul 28 14:03:01 there's pull xml Jul 28 14:05:10 i don't understand Jul 28 14:05:17 isn't pull xml more like concept than implementation? Jul 28 14:05:31 AFAIK it works Jul 28 14:05:46 ok. my bad. Jul 28 14:07:15 http://developer.android.com/reference/org/xmlpull/v1/package-summary.html Jul 28 14:08:10 how do you suggest i can text my application that uses GPS? I'm running everything in the emu ATM. Don't have a physical device yet Jul 28 14:08:24 s/text/test/ Jul 28 14:09:22 buy a device ;) Jul 28 14:09:35 shit Jul 28 14:10:01 there is a way to test gps using mock locations or something Jul 28 14:10:19 not sure, haven't toyed around with deving location-based apps yet Jul 28 14:10:25 check the ddms Jul 28 14:11:11 as far as I know there's a permission that llows you to set locations, then in ddms in eclispe / standalone you can send location updates to the emulator Jul 28 14:14:28 tishammer: ddms has support for sending fake coordinates Jul 28 14:32:54 what is ddms? Jul 28 14:33:19 by the way, what is the fastest way to download an xml document through http? Jul 28 14:33:42 to download it or parse it? Jul 28 14:35:25 I've been parsing xml using SAX, which you can set a stream from a URL as the input source Jul 28 14:36:24 yeah, SAX is definitely the fastest Jul 28 14:36:29 (for parsing) Jul 28 14:46:40 parse it Jul 28 14:46:50 martin___: and it will handle the http ? Jul 28 14:46:59 that would be very handy Jul 28 14:47:14 you can use java.net.URL to get an input stream Jul 28 14:47:15 yes, except in some cases rss things block the user agent beginning with "java" Jul 28 14:47:32 oh, or it'll handle a URL apparently haha Jul 28 14:47:48 it's an input stream Jul 28 14:49:49 jbq, http://groups.google.com/group/android-discuss/browse_thread/thread/81704ad210bab3ea somebody said to show this to you Jul 28 14:51:03 Hmmmm, I have no visibility over the sample code. bug reports or contributions are appreciated. Jul 28 14:52:46 hello Jul 28 14:53:02 anybody worked with custom tabs before? Jul 28 14:53:11 jbq, how would somebody go about filing a bug report? Jul 28 14:53:17 b.android.com Jul 28 14:53:19 i managed to put a background image on the tabs Jul 28 14:53:36 but somehow, a line in the lower part of the tabwidget still appears Jul 28 14:53:57 does anybody know how to set a theme or anything else to make the line disappear? Jul 28 14:54:27 it is like a thick border right under the tab buttons Jul 28 14:55:41 anybody? Jul 28 15:19:36 So when you upload a patch to Gerrit that spans multiple projects, is there anything special you need to do? Set dependencies? Jul 28 15:24:48 does the built in gmail client support multiple inboxes from labs? Jul 28 15:25:31 kRutOn: what is gerrit ? Jul 28 15:26:32 wmealing: r.android.com Jul 28 15:26:48 ah Jul 28 15:26:56 reviewboard ? Jul 28 15:32:28 Yeah, pretty much. Jul 28 15:48:54 i'll ask, in case someone knows, because I can't see an easy way Jul 28 15:49:05 can an app get the users gmail address ? Jul 28 15:53:32 _Auron_: ping. Jul 28 15:53:38 _Auron_: hows it going with that bug Jul 28 15:53:42 _Auron_: get anywhere ? Jul 28 15:54:40 wmealing, there's a permission to be able to access the "accounts service" if that would help? Jul 28 15:55:17 martin___: ive tried setting it.. as ive tried all levels of crazy, what would you look at then ? Jul 28 15:55:52 well I can't find any docs on what the accounts service actually lets you do Jul 28 15:56:00 same problem Jul 28 15:56:45 but these apps like sms backup or w/e it's name is allows sms messages to be backed up to your email address, so it's probably possible Jul 28 16:05:43 sigh, i really wish the market had a feature to let you automatically upgrade apps so long as they dont request additional permissions. Jul 28 16:05:48 just have it do it some time when the phone is idle. Jul 28 16:06:06 i dont like manually going through and trying to update them, it takes forever to download/install Jul 28 16:06:26 similarly, it should hide entries that cant install because the previous package you have is signed differently Jul 28 16:06:33 like Google Maps Jul 28 16:14:03 Hey everyone Jul 28 16:14:49 If I was going to make an icon make a sound when I click on it, would it be best to make it a custom button, or make it a view Jul 28 16:35:56 is there anything like andnav, but opensource? Jul 28 16:36:20 mosquito, buttons are views Jul 28 16:38:38 yea I know Jul 28 16:39:08 I was wondering if I should create it as a view or a button.. Jul 28 16:39:55 actually I was wondering if I should do Jul 28 16:40:13 Simple Graphics Inside a View, or just create a button with a on click trigger Jul 28 16:51:15 mosquito, what about an ImageButton? Jul 28 16:51:58 like that... with more stuff, then set an OnClickListener to play a sounf Jul 28 16:55:47 Yea thats what im doing now Jul 28 16:56:05 only problem is where should I define the sound Jul 28 16:56:10 in the onCLick method? Jul 28 16:56:16 or should I send it through Jul 28 16:57:31 Hi, when changing from portrait to landscape mode, the application is effectively closed and restarted right? How can I make a difference between a clean restart and a restart because of an orientation change? Jul 28 16:57:58 And also is it possible to pass information from the portrait instance to the new landscape instance? Jul 28 16:59:04 mosquito, http://developer.android.com/guide/topics/media/index.html, do this in the onClick method Jul 28 17:00:02 question to all ... looking into running some python code on the android. Anyone have experience with this? Jul 28 17:01:19 I am currently playing with jythonroid, but not sure this is the best option. Jul 28 17:01:26 balachmar: check out onPause onResume onSaveinstance onRestoreinstance Jul 28 17:02:34 aunn: Just for clarification, so the Activity is not destroyed, but merely paused and resumed? I think not, the onCreate was called when changing orientation. Jul 28 17:03:29 balachmar http://developer.android.com/guide/topics/manifest/activity-element.html#lmode Jul 28 17:03:29 aunn: Reading up on Configuration Changes @dev.android.com Jul 28 17:04:25 http://d.android.com/guide/topics/fundamentals.html#lmodes Jul 28 17:04:36 balachmar: read on launchmode Jul 28 17:04:48 aunn: ok thanks will do Jul 28 17:04:56 if u have more question, ask KNY :D Jul 28 17:05:08 haha Jul 28 17:05:31 when a config change happens, the activity gets completely destroyed and rebuilt Jul 28 17:05:43 (unless specified in the configChanges attr) Jul 28 17:08:05 KNY: So, I guess the best way is to let Android do that and pass on information through the onSaveInstanceState(Bundle). Jul 28 17:09:24 Anyone have experience with running a python script with Android Scripting Environment Jul 28 17:10:05 pizzatimer Jul 28 17:13:38 balachmar, if you have a complex object, you can pass it through onRetainNonConfigurationInstance() Jul 28 17:14:36 KNY: Well, I need to pass a Hashtable. Jul 28 17:14:59 yeah, pass it through onRetain... Jul 28 17:15:40 balachmar, http://www.curious-creature.org/2009/02/16/faster-screen-orientation-change-with-android/ Jul 28 17:17:01 dang KNY! you are good! Jul 28 17:17:29 aunn, hardly, I've just been doing development for a while (and I subscribe to romainguy's blog ...) Jul 28 17:17:48 oh tell me , tell me Jul 28 17:17:49 and by "a while" I mean "9 months" which isn't nearly long enough haha Jul 28 17:18:33 Hello! Jul 28 17:18:35 well i started much later than u Jul 28 17:18:45 where is romainguy blog ? Jul 28 17:19:08 is there any way to get the size of a child view from the activity? up until onResume the widgets haven't bene laid out, so the height/width isn't know Jul 28 17:19:57 aunn, I just linked it. Jul 28 17:20:43 oh, the curious creature Jul 28 17:20:45 ok, thx Jul 28 17:20:48 roosmaa: You can get it earlier but then you have to deal with the resizing code. Jul 28 17:21:52 MikHel: isn't what I'm looking for probably, but you got any example of it? (might come useful later in life :)) Jul 28 17:23:24 Actually, I think for what you want, it is simpler. Just override onSizeChanged(int w, int h, int oldh, int oldw) Jul 28 17:23:41 In the view you want. Jul 28 17:23:58 I believe it is called before onResume() Jul 28 17:24:30 WHy have i never read about SlidingDrawer Jul 28 17:24:38 its a great little way of organisiing an app Jul 28 17:25:06 can anyone point me to a good place to learn about styles Jul 28 17:25:41 MikHel: hmm, wouldn't really want to create a dummy view just for that :) Jul 28 17:25:55 Is there a way to get acces to the phone "Log" output a posteriori on a phone not connected to USB? Jul 28 17:26:41 roosmaa: Then I am not sure what your purpose is in this case and why you want to know its size earlier. Mind elaborating? Jul 28 17:29:53 MikHel: to see how much space is available for one view that displays some data; that data is retrieved and processed by the activity, so to optimize and avoid data not fitting on the screen it would be nice to know how much free space there is Jul 28 17:32:38 does anybody know if you can alter or add to the auto text correction facility? Jul 28 17:32:59 http://developer.android.com/reference/android/text/AutoText.html Jul 28 17:33:07 doesnt have the abilit to add as i see it Jul 28 17:34:02 roosmaa: OK. Don't have a good way for you. In fact if it is not a subclass of surfaceView then you would have to play with the resizing code I think, as onSizeChanged is not defined for such Views. Jul 28 17:35:34 AndyArmstrong, the user can create their own dictionary Jul 28 17:35:48 KNY yeah= Jul 28 17:35:50 but what i wana do Jul 28 17:36:00 is if somebody typed ty Jul 28 17:36:04 i wana turn that into thank you Jul 28 17:36:09 how would i do that Jul 28 17:36:23 I don't know. http://source.android.com/ Jul 28 17:36:31 how would that help me Jul 28 17:36:58 i suppose i could write my own messaging application Jul 28 17:37:05 which intercepts the text they type Jul 28 17:37:13 it would help you because then you could find out how it works Jul 28 17:37:15 can i intercrept a message before its sent from the messaging app Jul 28 17:37:18 and you could find out if it's even possible Jul 28 17:37:29 "The computed distance is stored in results[0]. If results has length 2 or greater, the initial bearing is stored in results[1]. If results has length 3 or greater, the final bearing is stored in results[2]. " Could someone explain the difference between the two bearings? Jul 28 17:37:57 balachmar, link? Jul 28 17:38:28 KNY: http://developer.android.com/reference/android/location/Location.html#distanceBetween(double,%20double,%20double,%20double,%20float[]) Jul 28 17:40:16 so you wondering what is different between initial and final bearings? Jul 28 17:40:31 yes Jul 28 17:41:19 balachmar, I would guess that initial is looking at the final position and vice-versa Jul 28 17:41:39 if you were at the starting point, where would you point to get to the final one? Jul 28 17:41:44 that's just my interpretation anyway Jul 28 17:42:10 Hi all.. im having an issue with the Eclipse IDE .. after installing everything (IDE + SDK 1.5) last night and doing an evenings work when i restart the computer this evening eclipse is throwing a lot of errors building the workspace Jul 28 17:42:21 eg: Error instantiating builder 'com.android.ide.eclipse.adt.ResourceManagerBuilder'. Jul 28 17:42:42 ok, seems reasonable. Well, in that case the difference between the two would always be 180 degrees. So that is easy to check. Jul 28 17:43:33 i dont know where to start to attack this.. i have tried chmoding directories and reinstalling the SDK Jul 28 17:43:49 (it wont from within Eclipse as they are already installeD) Jul 28 17:44:15 which eclipse version? Jul 28 17:45:20 balachmar, like I said, that's just my guess. Step through with a debugger and find out :) Jul 28 17:45:32 Eclipse Platform 3.5.0.I20090611-1540 Jul 28 17:45:42 Eclipse IDE for Java Developers 1.2.0.20090619-0620 Jul 28 17:48:42 i cant open the android preferences pain either.. it throws even more erros Jul 28 17:48:46 :( Jul 28 17:49:12 try reinstalling eclipse? Jul 28 17:51:01 i guess i could reextract it fresh, but i dont want to do that every day :) eclipse itself seems to be fine, its more the fact that it cant load anything to do with android Jul 28 17:52:06 I'm not sure if ADT works with eclipse 3.5 Jul 28 17:53:48 kny, i just spent the whole morning yesterday reinstalling stuff, i am using 3.5 Jul 28 17:53:58 hello all Jul 28 17:54:10 3.5 is the one you download from eclipse.org currently Jul 28 17:54:19 thats where android dev guide send s you Jul 28 17:54:30 fadetogrey, like I said, I didn't know Jul 28 17:54:51 deekjx, look at ApiDemos. Jul 28 17:54:53 anyone able to tell me if it is possible and how to include a text file in my adroid app? Jul 28 17:55:22 deekjx, specificy, the Assets part Jul 28 17:55:28 aunn.. where have you extracted eclipse to? Jul 28 17:55:54 thanks, I'll look that up in the dev guide Jul 28 17:56:55 deekjx, it's included with the SDK--just import it into eclipse Jul 28 17:56:59 on my ntfs usb drive Jul 28 17:57:18 maybe dumping it in /etc was a mistake Jul 28 17:57:19 guys does anybody know if i can add things to the auto text function so i can tell if that ur should be turned into you're etc etc instead of something else Jul 28 17:58:16 duh! Jul 28 17:58:28 why do u have to dump there? Jul 28 17:58:33 lol Jul 28 17:58:37 just keep it in ur home dir Jul 28 17:58:38 AndyArmstrong, you already asked that Jul 28 17:58:44 im new to linux to.. used to program files! Jul 28 17:58:58 then develop on windows Jul 28 17:59:09 yeah, you don't need to use linux Jul 28 17:59:16 otherwise learning linux will be unessary overhead for u Jul 28 17:59:17 I found it KNY, thanks Jul 28 17:59:30 excellent, deekjx Jul 28 17:59:44 by the way, ApiDemos is a fantastic resource. Reference it often. Jul 28 17:59:54 unfortunately i do.. but cheers, just reinstalling it all now Jul 28 17:59:59 shouldn't take too long Jul 28 18:00:15 ApiDemos? Jul 28 18:00:19 where do I find those? Jul 28 18:01:03 deekjx, it's included with the SDK--just import it into eclipse Jul 28 18:01:14 it's in one of the samples/ folders Jul 28 18:01:18 I don't remember exactly where Jul 28 18:04:33 thats done the trick.. anyway, as long as it doesnt break again tomorrow evening Jul 28 18:09:14 deekjx: android-sdk-linux_x86-1.5_r3/platforms/android-1.5/samples Jul 28 18:15:00 does anybody know how the minTime parameter in LocationManager's requestLocationUpdates works? Jul 28 18:23:25 cheers guys, all is well now. ill probably on this channel a lot in the next few months, will try and give as much as i take! :-D Jul 28 18:24:11 btw.. is it normal for the emulator to take several minutes to start and boot your app? Jul 28 18:26:10 yes, supposedly takes longer the first time you run it Jul 28 18:26:20 Anybody knows of a way to debug an app that becomes unresponsive? The log does not contain any information about it. I know that I could kill the process to get a trace but in this case I need to debug something running on a customer's phone... Jul 28 18:26:30 but once it's open you can leave it open and it will just reinstall your app on the emulator when you run it Jul 28 18:26:39 that was my next question ;) Jul 28 18:26:40 cheers! Jul 28 18:26:55 MikHel, application not responding? or something else? Jul 28 18:27:58 there's several options, stick a bunch of log messages in to see what bits of your code are reached before it stops responding (or if you get stuck in a loop somewhere or something) Jul 28 18:28:01 does anybody know how the minTime parameter in LocationManager's requestLocationUpdates works? Jul 28 18:28:17 you can debug by setting breakpoints and have a look at what objects are currently held by your project Jul 28 18:28:36 I am parsing a binary file and it is taking over 4 minutes to parse a 300K file. It spends 10 seconds in GC so that is not too much, but it is 3000 records to parse. And the longest takes 0.06s (which is not too bad right?) Any ideas how to speed things up? Jul 28 18:28:53 martin___: Right it is not responding. I have not been able to reproduce the situation and have so far no way of knowing where it is happening. Jul 28 18:29:24 martin___: But I cannot get the log from a remote phone not attached to adb.... :( Jul 28 18:29:37 thanks aunn. found them. Awesome examples. Jul 28 18:30:26 MikHel, somebody reported an error with your app that you can't reproduce? Jul 28 18:30:37 and you don't know what the error was? Jul 28 18:31:51 martin___: Right! Jul 28 18:32:03 well then, you might like to start here: http://developer.android.com/guide/developing/tools/monkey.html Jul 28 18:32:12 She keeps having it happening, but when I try on mine, I do not get it. Jul 28 18:32:31 martin___: I have tried the monkey and it has not showed any problem after running for an hour. Jul 28 18:33:01 could the problem be on her end? Jul 28 18:33:18 martin___: Two people have had the same issue. Jul 28 18:35:46 you and they are running the same version of the app? Jul 28 18:36:22 MikHel, there are apps that will read logcat and allow the user to email it to you from the phone Jul 28 18:36:33 hmm... monkey Jul 28 18:36:48 KNY you know one? Jul 28 18:37:10 MikHel, search log or logcat or bug report on cyrket Jul 28 18:38:36 thx martin___: i learn a new thing, monkey Jul 28 18:42:38 have you ever had a time when you've looked at the code you wrote the night before and made a "O_o" face? Jul 28 18:43:55 martin___, yeah, but said code was usually written when it was 4am, when I was drinking, or both Jul 28 18:45:38 of course, the worst part is that some of that complicated 4am code was actually correct and I wasted more time rewriting it the next day Jul 28 18:49:05 the drunk subconscious mind is at work :) Jul 28 18:50:25 it's a little known fact that drunken coding, not colaboration, was the true driver behind source control Jul 28 18:51:25 therfore, I conclude that the existance of source control at work, is an implied permission ot drink on the job. Jul 28 18:51:25 * jasta scratches his head Jul 28 18:52:15 wlfshmn, no, drunken coding was the driver behind the "revert" feature Jul 28 18:52:56 martin___: I choose to ignore datapoints that aren't conducive to me drawing usefull conclusions. Jul 28 18:53:13 ah, you work in marketing :) Jul 28 18:53:41 jasta, mention it to your boss :) Jul 28 18:53:55 martin___: close, my customers are in marketing ;) Jul 28 18:54:12 also, who said anything about being drunk? Jul 28 18:54:21 I'm merely talking about the ballmer peak Jul 28 18:54:42 this relates to flying chairs, or to hopping around like a monkey? Jul 28 18:54:43 (http://xkcd.com/323/ in case you don't know. And shame on you if you don't) Jul 28 18:55:07 i'm really confused how you can use repo to "stick" on the android-1.5r2 tag. Jul 28 18:55:16 if you run repo sync it seems to update you on the cupcake branch Jul 28 18:56:30 KNY: Thanks for the info about this log collector! Now I got a tool I can work with. Jul 28 18:57:06 MikHel, you can also set Thread.defaultUncaughtHandler() or whatever it's called Jul 28 18:59:03 KNY: I tried that but since it is not an exception but instead it appears to be an infinite loop of some kind, it does not help Jul 28 19:07:40 jbq: you around? Jul 28 19:13:07 MikHel, ah Jul 28 19:14:09 KNY: If the user could get her phone on adb, then we could kill the process to get a trace. Apparently that is possible. But I am not going to ask her to install the android sdk! :D Jul 28 19:15:23 what would be handy is the backtrace stuff like there is in libc Jul 28 19:15:34 print your own stacktrace to the screen when it dies Jul 28 19:24:19 where are the log statements stored...I'd like to be able to do what you said earlier and allow the user to email the log messages Jul 28 19:31:29 I have a new delima. My program worked great reading from a file on the sdcard. It read one line at a time. But I wanted to add the text file to the app itself. Using the info provided here and the info in the API demos, I can now do that but it imports this as one really long string. Is there a way to read one line of a string at a time? Jul 28 19:34:27 I guess i need to build a string parser of some sort to put the data into an array? Jul 28 19:37:07 can't you just split by \n ? Jul 28 19:38:20 you are right, I wasn't familiar with that method Jul 28 19:38:27 ah ok, it is a device Jul 28 19:38:40 you rock. Jul 28 19:41:02 jasta: looking for me? Jul 28 19:41:42 can I directly access /dev/log/main from java code, or do I need to write native code to access it? Jul 28 19:42:27 hmm can i somehow perform a dns srv through android? :) Jul 28 19:48:41 deekjx, don't both bufferedinputreader and scanner have readLine methods? (don't know how you're reading in the file) Jul 28 19:49:13 jbq: yes :) Jul 28 19:49:26 all right, what's up? Jul 28 19:50:05 jbq: so, repo lets you specify a revision (or default revision) for each repository, but it doesn't seem to support tags? Jul 28 19:50:07 is that true? Jul 28 19:50:23 for instance if i repo init -b android-1.5r2, the manifest i get says revision="cupcake"? makes no sense. Jul 28 19:50:40 jasta: I noticed this morning that that manifest was broken :( Jul 28 19:50:53 Anyone know how I can clean out my sqlite db for testing purposes? I tried deleting the db file in the adb shell using rm, but it reports an error due to a read-only filesystem Jul 28 19:50:54 couldnt i juse do revision="refs/tags/android-1.5r2" then? Jul 28 19:50:55 just* Jul 28 19:51:13 thats what i thought, but i could not understand why google set it to revision=cupcake Jul 28 19:53:09 We normally explicitly specify the SHA-1 for each project - check e.g. http://android.git.kernel.org/?p=platform/manifest.git;a=blob;f=default.xml;h=d960fd1dbe5705ac566952075bfe1008079c6fd1;hb=android-1.5 (but we obviously screwed up the 1.5r2 one). I should look into using the tags directly, that'd be cool as well. Jul 28 19:53:26 i just tried it, seems to work Jul 28 19:53:35 repo just told me it was discarding the commits that were ahead (the tip of cupcake) Jul 28 19:53:48 (so far I have only done one tagged push, and I used the instructions of the guy who did them before me). Maybe I'll do that for tagged donut pushes. Jul 28 19:53:57 (but in the meantime I need to fix 1.5r2) Jul 28 19:54:12 (it's now on my todo list) Jul 28 19:54:17 great :) Jul 28 19:55:51 yeah definitely, specifying refs/tags/android-1.5r2 worked great. Jul 28 19:56:41 man, git add --patch is so sexy Jul 28 20:00:23 lol Jul 28 20:09:14 is there a way to force the activity to be displayed only in the portrait display mode? (even if the phone is actually in the landscape) Jul 28 20:09:48 you should ask the question is it possible to stop the landscape from changing to portrait mode :) Jul 28 20:10:01 oh, wait, no, ignore me :D Jul 28 20:10:14 :) Jul 28 20:11:17 roosmaa: yes, it is possible. Jul 28 20:11:20 int he manifest for the activity: Jul 28 20:11:28 android:screenOrientation="portrait" or landscape Jul 28 20:11:42 jasta: cheers pal :) Jul 28 20:11:43 android:configChanges="orientation|keyboardHidden" Jul 28 20:11:54 actually, the latter keyboardHidden probably is not correct Jul 28 20:11:55 try it without :) Jul 28 20:12:23 this configuration is saying two things: one, that your app should start in portrait or landscape mode, and two that if the orientation changes your app has told android it will "handle" that itself Jul 28 20:12:30 if you do nothing to handle it, then obviously it doesn't happen :) Jul 28 20:12:50 has configChanges always been in the SDK? Jul 28 20:12:53 yes Jul 28 20:12:59 sigh Jul 28 20:13:10 getting sick of eclipse locking up. it just gets stuck on 'building' Jul 28 20:13:18 kenleycapps: stop using Eclipse, it's worthless Jul 28 20:13:35 the ADT pluginf ro Eclipse isn't the only way to do android dev :) Jul 28 20:13:57 meh. it's worked fine for me so far. but for some reason lately, i can hardly get a build at all Jul 28 20:15:59 Hey there... im looking for a way/intent to fire up the new walking direction feature between two geopoints... any ideas? Jul 28 20:16:10 oh, I'm talking about maps :) Jul 28 20:19:15 KNY: I think I am on my way to finding a solution to my problem :) Jul 28 20:19:36 MikHel, great! Jul 28 20:20:03 Do you know the /data/anr/traces.txt file? Jul 28 20:20:30 It contains a trace of processes being forced to close. Jul 28 20:20:54 Now I just need to find if there's an app that can send it to me or if I need to write one. Jul 28 20:22:21 does anybody know if it is possible to add words into the auto correct so i could link 'ur' to 'you're' ??? Jul 28 20:22:53 are you trying to correct the grammar of the nation? a noble goal but what if people want to talk like an idiot? :D Jul 28 20:23:27 kenleycapps: where is it stuck ? i have issue with eclipse before also, at that time, i was using logcat inside eclipse. Terrible.... can't do anything. now i am running eclipse in a separate terminal, eclipse is doing fine now Jul 28 20:24:23 martin___ lmao!!! Jul 28 20:24:25 no im being serious tho Jul 28 20:24:27 is it possible Jul 28 20:24:40 cos i know i can access UserDictionary class - i use that in my app 'Lingo' Jul 28 20:24:50 however i now need to add / edit words in the AutoCorrect dictionary Jul 28 20:24:54 aunn, its getting stuck during the build workspace step Jul 28 20:24:59 and it's incredibly annoying. Jul 28 20:25:14 and it only started happening recently. i'm not sure if i updated and botched something or what Jul 28 20:25:24 but i'm just going to clean re-install eclipse on this machine. Jul 28 20:25:37 this is really my secondary anyways, so if it just doesn't work, meh. Jul 28 20:26:14 do you have other projects opened? Jul 28 20:28:10 Things are going great with my program. Just trying to clean up some of the code. I have 3 listeners. Each listener opens the assets textfile, loads it into an array and then does its function. I think cleaner would be to load the data into an array before I call the listeners but I can't seem to pass the array into the listener. Whats the easiest way to accomplish this? Write extended clas Jul 28 20:29:02 static variables? Jul 28 20:30:34 hmmm, that is most likely the answer. Static variables are global? Jul 28 20:32:02 yeps, done, thanks. I tried it earlier but I must have had something out of place because it errored out Jul 28 20:32:16 worked this time Jul 28 20:52:01 when startActivityForResult()'s started activity finish()es, does the calling activity's onResume() get called? Jul 28 20:52:02 Hola and welcome all Jul 28 20:52:38 martin___: yes. Jul 28 20:52:43 as well as onActivityResult, of course. Jul 28 20:52:50 it should, just as if any app had taken the screen Jul 28 20:52:52 which is called first? Jul 28 20:53:05 seeminly onActivityResult() Jul 28 20:53:08 martin___: you shouldn't need to care. Jul 28 20:53:25 I think it would have to call resume first Jul 28 20:53:38 as i said, you shouldn't need to care. Jul 28 20:53:43 what if your app got killed due to lack of memory? Jul 28 20:53:44 if you try to rely on the order, you may be surprised Jul 28 20:53:58 whaledawg: then it would be recreated. Jul 28 20:54:04 I've been closing my database on onPause and opening it again on onResume so as not to cause a leak, I need to access it again after activityresult Jul 28 20:54:23 jasta: which has to happen before activityResult is called Jul 28 20:54:40 martin___: i would just use a flag which indicates whether its opened and use an API like Jul 28 20:54:44 ensureDatabaseIsOpen(); Jul 28 20:54:51 true Jul 28 20:54:54 so that you dont have to care which method is called first Jul 28 20:55:39 does anybody know if it is possible to add words into the auto correct so i could link 'ur' to 'you're' ??? Jul 28 20:55:51 can anybody also point me to a good styles tutorial Jul 28 20:56:00 Anyone here migrate android projects(in Eclipse) across platforms? Jul 28 20:56:07 whaledawg: you could also just use a ContentProvider to get it managed for you Jul 28 20:56:52 err i think i meant martin___ Jul 28 20:57:11 either way, ensureDatabaseIsOpen is a much better API to be using rather than trying to assume one method comes before the other just to get access to resources Jul 28 20:57:16 lol I was about to ask how that helps me move from Linux to Mac Jul 28 20:57:47 jasta, yes, thanks, have implemented it :) Jul 28 20:58:01 anyone.. Jul 28 21:01:18 AndyArmstrong if you want to auto correct you could (this is very ugly) check for key events in the editText and try and match it with a certain regex, then replace ... but there is hopefully a better way Jul 28 21:03:03 can someone tell my why the logs.txt file isn't getting populated in this statement (which is in onCreate for an Activity): Runtime.getRuntime().exec("logcat -d -f "+getCacheDir().getAbsolutePath()+"/logs.txt"); Jul 28 21:03:46 I'm not getting any exceptions either Jul 28 21:04:38 getCacheDir().getAbsolutePath()+"/logs.txt" <-- is this definitely the right path? (there's no // before logs.txt or something?) Jul 28 21:05:21 yeah, I verified it created the file, but no output was dumped to it, but when I run logcat manually, there's stuff in it Jul 28 21:06:19 I just saw someone talking about getting logcat info programmatically earlier, so I wanted to try it since it would be extremely useful if users could send it Jul 28 21:10:07 but for some reason it isn't dumping anything from logcat to the file, but it does create the file Jul 28 21:11:24 and logcat world-executable permissions, so I don't see why it shouldn't work Jul 28 21:12:52 are log calls made when not running in debug mode? Jul 28 21:12:59 maybe you have to turn them on Jul 28 21:13:12 I'm testing on the emulator, so they should be on :) Jul 28 21:13:30 public static final String DIAGNOSTIC : Allows applications to RW to diagnostic resources. <-- this perhaps? Jul 28 21:13:56 maybe it's a permissions thing with the manifest Jul 28 21:14:10 martin___: I would have gotten a permission error, should I have? Jul 28 21:14:23 I would have thought so Jul 28 21:14:34 it ran w/out error, so I don't know, I guess I'll have to read the driver code Jul 28 21:15:53 martin___ how would i listen for key events in the messaging app then!?!? Jul 28 21:16:23 even when I su to my application's user, I am still able to get logcat info... Jul 28 21:18:25 so I don't understand why executing the command would not populate the file Jul 28 21:18:45 have you tried opening/writing to the file? Jul 28 21:20:21 ah, I didn't try the right user Jul 28 21:20:58 $ logcat produces the output "Unable to open log device '/dev/log/main': Permission denied" Jul 28 21:21:59 hmm, log has: drwxr-xr-x root root 2009-07-28 19:03 log Jul 28 21:22:31 but I guess the subdirectories of the device folder requires something Jul 28 21:24:04 hmm, crw-rw--w- root log 10, 60 2009-07-28 19:03 main Jul 28 21:24:42 I wonder what permission would give me access to read it Jul 28 21:25:58 android.permission.READ_LOGS....should have guessed Jul 28 21:26:25 how did I miss that :S Jul 28 21:26:34 i am trying to draw a drawable to the canvas.. i have changing _x and _y values according to the log - but it always appears in the top left corner? Jul 28 21:26:42 Log.i(null, "set bounds: " + _x + " : " + _y); Jul 28 21:26:43 mPlayerShip.setBounds(_x, _y, _x+mPlayerShip.getIntrinsicWidth(), _y+mPlayerShip.getIntrinsicWidth()); Jul 28 21:27:06 it is always drawn at 0,0 irrelevant of what _x and _y are Jul 28 21:28:02 the thing I wonder, however, is whether there is a way to read it without having to resort to the shell...are there java structures for this? Jul 28 21:32:38 any ideas? Jul 28 21:35:31 martin___ Jul 28 21:35:41 how would i go about listeneing for key presses on the messaging app!? Jul 28 21:37:11 AndyArmstrong: I don't think you can, A service wouldn't be able to listen to key events AFAIK Jul 28 21:38:25 really? Jul 28 21:38:50 I bet keypress events already are a service Jul 28 21:38:58 that would be the correct way to do it Jul 28 21:39:06 ... Jul 28 21:39:20 but I've never tried to do it sooo.... Jul 28 21:39:22 bah really CANT get the damn dnsjava to work :< Jul 28 21:39:35 all i want to do is a simple DNS SRV lookup :( Jul 28 21:41:08 herriojr: do you want to be able to view the log file programitcally in a production environment? Doesn't it make sense to just bundle up the log file and automatically upload it for the user? They won't know what to do with it. Jul 28 21:41:38 i feel it's gonna take quite some time to get used to not having visual studio when developing stuff i guess Jul 28 21:42:39 More like visual suckio Jul 28 21:42:49 or something ;) Jul 28 21:43:15 what are you trying to do? Jul 28 21:43:28 which requires more than the use of vim.. ? Jul 28 21:43:28 hmmmmm, so can anyone tell me if its possible to listen to keystrokes in the messageing app Jul 28 21:43:35 vs beats eclipse atleast :P Jul 28 21:43:37 I have a SQLite database that's acting like a column doesn't exist (IllegalArguementException being thrown by managedQuery()).. I do see this column when shelled into the device though Jul 28 21:43:38 when it comes to debugging Jul 28 21:43:40 but yea Jul 28 21:43:49 all i try to do right now, is a simple DNS SRV lookup Jul 28 21:43:54 using the dnsjava-lib Jul 28 21:44:04 but all i get is "network error" Jul 28 21:44:41 AndyArmstrong, look at EditText's methods and it's parent class' methods and find out for yourself Jul 28 21:45:00 TextView has an onKeyDown event or something Jul 28 21:45:06 yeah martin___ Jul 28 21:45:10 but how do i intercept that Jul 28 21:45:14 i cannot modify mesasging Jul 28 21:45:29 AndyArmstrong: usually you would add a listener Jul 28 21:45:30 and id need to then somehow interact with the edit text field in the messaging app Jul 28 21:45:33 you're not using some edit text of your own? Jul 28 21:45:38 no... Jul 28 21:45:46 ah, then ignore this Jul 28 21:45:48 itd be to replace some of the auto dictionary stuff in the messaging app Jul 28 21:46:25 i wana replace stuff so that when somebody types 'ur' instead of offering 'urn' or urgent, i can modify it so it changes ur to you're Jul 28 21:46:37 ideally id be able to edit the auto correct dicitonary mappings Jul 28 21:46:41 phete: so you're using this? http://developer.android.com/reference/java/net/InetAddress.html Jul 28 21:46:46 but i dont think thats available to me Jul 28 21:46:53 hmm Jul 28 21:46:54 nah Jul 28 21:47:11 does the auto correct not learn? Jul 28 21:47:17 ah. This might sound a little heavy but you could grab the source for the app, add your modifications and then bundle the entire thing as a modified version of the messaging app Jul 28 21:47:48 need an SRV lookup Jul 28 21:48:00 :o Jul 28 21:48:01 <-nab Jul 28 21:48:10 martin___ youre missing the point Jul 28 21:48:15 i want to do something quite different Jul 28 21:48:24 i want to take texting lingo , and turn it into proper english Jul 28 21:48:25 automatically Jul 28 21:48:32 ur = you're , k = ok Jul 28 21:48:33 AndyArmstrong, Well, at least you might be able to look at the source like recursv says and see how Messaging handles it and get an idea on what to modify Jul 28 21:48:47 why not do your own messaging window then? sending a text message is easy Jul 28 21:48:52 but that wouldnt allow me to add and change the dictionary would it Jul 28 21:48:57 and you can pull the contacts from it's provider Jul 28 21:49:07 hmm yeah im thinking thats the only way forward for this Jul 28 21:49:08 I'd /think/ that Messaging uses some globally available dictionary Jul 28 21:49:14 it does Jul 28 21:49:18 but u cannot edit it i dont think Jul 28 21:49:25 phete: what? Jul 28 21:49:42 if you made your own messaging app it wouldn't change the onscreen dictionary's suggestions though, but you could change the text before it is sent Jul 28 21:50:17 yeah but it wouldnt be a smooth seemless process Jul 28 21:50:19 its not ideal Jul 28 21:50:28 itd be MUCH better to simply edit the existing dictionary Jul 28 21:50:40 simply change the mappings Jul 28 21:50:43 yes, but good luck as I've no idea how :) Jul 28 21:50:47 then do that Jul 28 21:50:50 whaledawg how Jul 28 21:50:52 thats the question Jul 28 21:50:55 i dont think its possible Jul 28 21:50:57 AndyArmstrong, you can add user replacements... could you right a package that just adds a bunch of them for you as a part of the user dictionary? Jul 28 21:51:05 no oep Jul 28 21:51:07 listen, I can't fix everything for you Jul 28 21:51:09 i have an app which does that Jul 28 21:51:12 'Lingo' Jul 28 21:51:17 however thats not gona help what i do Jul 28 21:51:24 that allows you to add 'ur' to the dictionary Jul 28 21:51:31 not change 'ur' with 'you're Jul 28 21:51:39 I see Jul 28 21:51:52 so essentially all i need is access to the auto correct dictionary mappings Jul 28 21:51:54 add and edit them Jul 28 21:52:55 anyone know where I can see a comparison of char[] string[] and CharSequence Jul 28 21:52:59 <_Auron|G1_> or accept the fact that ur isn't a word Jul 28 21:53:03 Well you're definitely not the first at least.. Jul 28 21:53:24 <_Auron|G1_> also you're means you are. not your. Jul 28 21:53:30 AndyArmstrong, so this maybe a stupid question, but you tried binding an array of strings to a textview, correct? Jul 28 21:54:01 <_Auron|G1_> I hate internet/text shortenings Jul 28 21:54:14 ur 2 crZy @_Auron|G1_ Jul 28 21:54:30 personally I view it as a sign denoting a lack of intelligence :D Jul 28 21:54:38 <_Auron|G1_> :P Jul 28 21:54:40 setBounds is definately getting changing _x and _y values .. is there any reason why doDraw would only update once and not show updates? Jul 28 21:55:20 hi all Jul 28 21:55:51 At least in the case of "ur" the devs could have thought of that and saw it had ambiguous mappings and decided not to add it. But still, custom mappings are always nice. Jul 28 21:56:35 yeah but i need to add custom mappings Jul 28 21:56:47 bdingin an array of strings to a textview...no never done that Jul 28 21:57:34 http://developer.android.com/guide/tutorials/views/hello-autocomplete.html @ AndyArmstrong Jul 28 21:58:19 Sounds like what you'd like is something done globally though I don't know if the API even begins to cover stuff like that. I'd suspect the feature would be requested enough and added in a official update at some point... Jul 28 21:59:14 whaledawg what relevance is this Jul 28 22:00:09 thats a nice little view but nothing to do with what i want im afraid whaledawg Jul 28 22:00:40 OEP hmmm, i dont think the api does cover it, i mean search for dictionary and you get UserDictionary class and AutoComplete i think but u can do little with the latter Jul 28 22:00:42 nothing, I like to bore people with random shit. Or maybe you could start looking at the classes involved and see how they access what is currently being typed to populate the drop down list Jul 28 22:00:49 infact u can do nothing like add Jul 28 22:00:49 question: i have a listview with my own layout for the items. the textview in that layout is nested in two linearlayout views. my problem: the context menu doesn't work with that layout. Jul 28 22:01:01 or just keep asking people in the room Jul 28 22:01:11 whaledawg but listen, im not going to be able to intercept things being typed in the messaging app with that even with that knowledge Jul 28 22:01:29 i need to edit the dictionary Jul 28 22:01:45 someone elses messaging app? Jul 28 22:01:58 the standard one Jul 28 22:02:05 i need to edit this globally Jul 28 22:02:20 so for any auto correcting popups it gives my custom mappings, not the default ones shipped with android Jul 28 22:02:46 oh yeah, that seems secure Jul 28 22:03:01 ....... Jul 28 22:03:11 whats all the security things for ---- there are for less secure things Jul 28 22:03:13 I think android also allows you to bind a button to rm -rf / Jul 28 22:03:28 whaledawg im sorry but ur annoying and not very helpful, your sarcasm blows Jul 28 22:03:34 doesn't that now give a warning? Jul 28 22:03:51 you shouldn't be able to edit a global dictionary. That's a security flaw(if it's allowed) Jul 28 22:04:05 well i think you should Jul 28 22:04:07 on other fones you can Jul 28 22:04:10 its YOUR dictionary Jul 28 22:04:11 your fone Jul 28 22:04:14 your settings Jul 28 22:04:15 phones that hate you Jul 28 22:04:25 no it's your dictionary, somebody else's phone :D Jul 28 22:04:33 exactly Jul 28 22:04:49 it'd be easy to slip that into an app and just hose everyone Jul 28 22:05:16 or use it to drive traffic to your web site by replacing certain search terms with ones you rank highly for Jul 28 22:06:16 gah whatever, so its impossible, shit thats great bang goes my idea Jul 28 22:06:29 id have to make another shitty sms sender which nobody would ever care to use Jul 28 22:06:31 woopee Jul 28 22:07:01 it's like 100 lines of code if you build it on top of the android sms app Jul 28 22:07:35 and it does things securely Jul 28 22:07:54 and they'll be just as eager to use that as to download and alter their dictionary Jul 28 22:08:06 there are enough lazy people who oh so dearly want to type "w8 ur gr8 m8" that people might use yours instead, and like whaledawg says it then wouldn't effect any other apps Jul 28 22:08:57 oh wow Jul 28 22:09:17 "I h8 2 eet on pl8s" Jul 28 22:09:44 so can i just copy the current sms app and edit it and release it as mine!? Jul 28 22:09:49 I feel my hate of text speak was limiting my creativity in my last sentence Jul 28 22:10:14 you must respect it's license Jul 28 22:10:21 which is apache 2/0? Jul 28 22:10:36 ok... Jul 28 22:10:37 you don't have to copy much, look at the android source code and see what widgets it uses/functions it calls Jul 28 22:10:44 yea Jul 28 22:10:48 and just get the bare bones of it Jul 28 22:11:10 can somebody point me to that website where i can view trhe android source for the different apps again Jul 28 22:11:11 i lost it Jul 28 22:11:13 need to fav it Jul 28 22:11:25 http://android.git.kernel.org/ Jul 28 22:11:49 martin___ no not that one i dont wana download a zillion lines Jul 28 22:11:51 theres like a web one Jul 28 22:12:07 I've never seen a web one Jul 28 22:12:08 is there not some way i can checkout just the messaging ap Jul 28 22:12:15 I downloaded the source Jul 28 22:12:16 that's the one you used last night to download just the snapshot Jul 28 22:12:31 martin___ ahh ok - can u help me find the messaging app in there then, i get so dam lost in these things Jul 28 22:12:40 it would be nice if they had a web browsable one Jul 28 22:12:54 is it the mms app? Jul 28 22:13:21 errrr, its the Messaginga pp Jul 28 22:13:24 where i make sms Jul 28 22:13:25 and send em Jul 28 22:13:28 and see all my convo Jul 28 22:13:29 etc Jul 28 22:13:35 is that the mms app? Jul 28 22:13:56 I would think so Jul 28 22:14:01 awesome cheers buddy Jul 28 22:14:07 if you scroll down AndyArmstrong, you can see platform/packages/apps, there you can see the things you want Jul 28 22:14:07 download snapshot :D Jul 28 22:14:42 ahhh yeaaa! Jul 28 22:14:43 wow ok Jul 28 22:15:05 although I don't know if that is the right thing or not Jul 28 22:16:18 me neither Jul 28 22:16:22 dont see anything else it could be tho Jul 28 22:26:11 hi Jul 28 22:26:36 it's possible to center a Bitmap in a canvas? Jul 28 22:28:28 haven't used one before, but can you draw an image at a certain point? Jul 28 22:28:38 martin___: yes I can Jul 28 22:28:45 if you can get the width of the screen Jul 28 22:28:50 and the width of the image Jul 28 22:28:54 then you can center it Jul 28 22:29:12 might be an easier way, but as I said, haven't used a canvas before :) Jul 28 22:29:21 ok Jul 28 22:29:28 that's a solution :) Jul 28 22:29:29 thanks Jul 28 22:35:09 hi everybody Jul 28 22:36:19 patrick91 .. if your using a SurfaceView the method surfaceChanged returns width / height Jul 28 22:36:52 fadetogrey: I'll take a look on this Jul 28 22:36:56 thanks :) Jul 28 22:39:22 Can somebody give me a hint on how to make eclipse remember, that my project is an android app .. and not asking me what it is every time i press the run (or debug) button? (it always wants to know, if my project hasn't magically turned into a java applet, java app or junit test.. and there seems to be no option to permanently tell it, that it's an android app.) Jul 28 22:40:13 just press the small arrow next to the run button Jul 28 22:40:14 Hello everyone Jul 28 22:40:25 click the dropdown and make a launch configuration Jul 28 22:40:57 need some help for making apidemo video work Jul 28 22:40:58 does anyone know how the minTime parameter in the LocationManager's requestLocationUpdates method works? Jul 28 22:41:00 if you double click on the android application thing you can make a new one and give it a name etc Jul 28 22:41:08 inside the launch configuration window Jul 28 22:41:26 jp-ulm: or download motodev Jul 28 22:43:03 setDataSource complain about file throwing ioexception Jul 28 22:43:56 evenif the file exists and debug it just before calling setDataSource(path) Jul 28 22:44:19 sysout file.exists is true Jul 28 22:44:30 Pls help :( Jul 28 22:45:20 martin___: i have a run config, i can make that one even a favorite, if i press the small arrow (dropdown menu) i can select my fav and it will start right away, but just pressing the green arrow (or using strg+f11) still asks how i want to run (as android, java, applet etc.) Jul 28 22:46:44 well, I have just been clicking the dropdown Jul 28 22:46:49 not sure if i have missed something (would like to start with just one click / keypress) or if that'S just the way it is Jul 28 22:47:49 normal eclipse java apps will only ask you once to do a run config and from then on just start when the green arrow is clicked or the shortcut is pressed. that's why I'm wondering. Jul 28 22:49:34 Does anyone here have experience with getting the Smack XMPP library running on Android 1.5? Jul 28 22:50:17 does anyone know how to root a device? Jul 28 22:50:31 I've a samsung galaxy, no root procedure yet :( Jul 28 22:51:26 does anyone know how the minTime parameter in the LocationManager's requestLocationUpdates method works? Jul 28 22:57:39 someone should update the guide on installing the adp plugin for eclipse 3.5 Jul 28 22:57:44 it's different now Jul 28 22:59:06 fangus i think it just ensures the location is attempted to be updated within that alloted time Jul 28 22:59:12 if u want it to update quickly, set both to 0 Jul 28 23:00:23 Hi man Jul 28 23:00:31 it's a very funny chan here Jul 28 23:00:40 y Jul 28 23:00:51 it's a joke man Jul 28 23:00:53 dont worry Jul 28 23:01:05 ok 'man' Jul 28 23:01:08 i kill the times Jul 28 23:01:13 :) Jul 28 23:02:37 good night every one Jul 28 23:09:31 really, everybody using eclipse and the google plugin is clicking 3 times to deploy/start the app in the emulator? .. can't believe it really :) Jul 28 23:09:59 jp-ulm: uhm, no, most people click just once. Jul 28 23:10:49 can you tell me how to make that work? .. i always get ask how i want to run my code when i click the green run button. (and then have to choose Andriod Application, and then click ok) Jul 28 23:10:52 jbq: hmm, i wish someone would have told me that you guys fixed the stupid $(vendor)/*/AndroidProducts.mk line. Jul 28 23:10:59 now i can finally put our products under a products directory Jul 28 23:24:31 java.net.SocketException: Permission denied (maybe missing INTERNET permission) Jul 28 23:24:35 :S Jul 28 23:24:36 wut? Jul 28 23:24:48 Hi, apologies for the cross-post, but I have the emulator for cupcake running, and it seems to be unable to do location emulation. It's as if something isn't (or wasn't) set up correctly. Is there something I need to do to make it work (besides turn it on in settings and in dev settings)? Jul 28 23:24:50 when doing a SocketChannel.open() Jul 28 23:25:33 jp-ulm: I've looked and not been able to find a solution to the same problem. I think the issue is that Eclipse users are used to doing things with the mouse so it doesn't feel slow to start a debug session that way. By the way, i right click on the project, got to run as then choose Android. It's slightly faster. Jul 28 23:25:45 (I posted about this on the platform thread too, but got no response: http://groups.google.com/group/android-platform/browse_thread/thread/6b9ca504a5e65fe0) Jul 28 23:26:18 jp-ulm: If you look around the dev info on the android site, they do explain how to do things outside of eclipse. You could start your debug session from the command line Jul 28 23:27:11 whaledawg: right now i am looking through the few videos about eclipse/android dev on youtube, in one of them it seems to start right after he clicks the green arrow. - but there is no setup shown ^^ -hm, but didn't jasta just say he just have to click once? Jul 28 23:27:25 jasta: if you could tell whaledawg and me how to set that up, it would be great :) Jul 28 23:28:07 nm, just got the permission-stuff Jul 28 23:29:58 jp-ulm: in Eclipse version earlier than 3.4, clicking on the green icon launched the previously launched debug session. this changed in 3.4 but you can set it up to do it again Jul 28 23:30:39 in the eclipse preferences, under Run/Debug > Launching, at the bottom of the pane, choose "Always launch the previously launched application" Jul 28 23:30:51 xavd: sounds great, i am running version: 3.4.2 - i'll check that out right now :) Jul 28 23:32:40 you can also use a short cut (look under General > Keys for the current config. On Mac it's command-F11) Jul 28 23:32:40 xavd: works perfectly, thank you very much Jul 28 23:33:05 ty xavd, iou 100 internets Jul 28 23:33:20 whaledawg, you should see andy about that auto correct ;D Jul 28 23:33:21 yep, that shortcut is working now too. (before it brought up the same menu clicking the green arrow did) Jul 28 23:33:59 jp-ulm: ah interesting from the description of the short cut I would have expected to work no matter the preferences selection Jul 28 23:35:12 now I'm really happy to have worked up the courage to come here and ask this newbie question :) Jul 28 23:35:39 martin__:can i haz nu dictionary, or iz i 2 l8? Jul 28 23:35:50 me eyes! Jul 28 23:35:53 *my -_- Jul 28 23:40:08 romainguy: got a question for the selves activity Jul 28 23:50:56 is there a way to let the emulator use more than 50% of cpu its so slow Jul 28 23:54:52 are you sure it's not your app? Jul 28 23:55:07 <_Auron|G1_> 50%? are you on a dualcore cpu? Jul 28 23:55:21 <_Auron|G1_> emu only uses one core Jul 28 23:56:30 <_Auron|G1_> in my case that's 33% of my cpu Jul 28 23:59:11 yeh im on dual core Jul 28 23:59:26 damn slow Jul 28 23:59:31 shame they didnt spread it acrosss cores Jul 28 23:59:43 trying to record some gameplay for a traielr Jul 29 00:00:34 <_Auron|G1_> ah Jul 29 00:00:36 <_Auron|G1_> yeah.. Jul 29 00:01:41 Gaz`: the emulator emulates an actual phone Jul 29 00:01:42 <_Auron|G1_> I still can't figure out my texture breaking issue Jul 29 00:01:46 it's not going to use more CPU that it needs Jul 29 00:01:57 _Auron|G1_: you're un-banned from the groups, post your question there Jul 29 00:01:59 and Jul 29 00:02:05 I feel like I'm repeating myself Jul 29 00:02:08 *file a bug* Jul 29 00:02:17 <_Auron|G1_> I know I know Jul 29 00:02:29 <_Auron|G1_> have slept since then, haven't had time Jul 29 00:02:30 complaining about it endlessly here is NOT going to help anyone Jul 29 00:02:49 <_Auron|G1_> trying to unstress myself by reading a book Jul 29 00:03:20 irc isn't a book.. Jul 29 00:04:06 <_Auron|G1_> .. Jul 29 00:04:43 <_Auron|G1_> I'm sitting outside with a book in one hand and my phone in the other Jul 29 00:06:58 evenin - i am looking at a custom button from the calculator app - and cannot get it behaving the same in my app, the code as it sits lights the button up red when pressed and should return to black after, but mine doesnt return to black - can anyone help http://pastebin.com/m3cc0c4e6 Jul 29 00:09:30 romainguy, any other solution for capturing game footage? im thinking i play it slow then just speed it up in premier :) Jul 29 00:11:02 anybody please help me Jul 29 00:11:23 the button is meant to light up red, then sorta fade out black like the calculator app, mine lights up - but doesnt fade out - why Jul 29 00:13:26 cant see why hehe Jul 29 00:13:31 code takes soem thought Jul 29 00:13:34 that one Jul 29 00:13:44 ahaaaa Jul 29 00:13:47 figured it out Jul 29 00:13:52 i had two event listeners Jul 29 00:13:57 and one wasnt givin itself up Jul 29 00:14:02 hmm this is gona be tough Jul 29 00:17:02 sweet Jul 29 00:17:07 :) Jul 29 00:21:55 romainguy: got a question anout the ShelvesActivity Jul 29 00:22:29 sure Jul 29 00:23:16 bye, everyone Jul 29 00:23:20 i see that you are getting the book cover from the hashmap in bindview and if its' not in the bind view you load it from the external store right Jul 29 00:24:02 yes Jul 29 00:24:03 i meant if it's not in the hashmap Jul 29 00:25:08 so i am trying to load the contacts photos by usin gthe People.loadCOntactphoto in my bindview which causes the listview to perform really sluggish Jul 29 00:25:29 ok? Jul 29 00:25:40 how come it's not sluggish in ur case? Jul 29 00:25:45 is it the image size? Jul 29 00:25:50 nope Jul 29 00:26:05 wat am i missing then? Jul 29 00:26:50 i assume that people.loadCOntactPhoto would take the same amount of time as you opening a image file from the external store Jul 29 00:26:53 * _Auron_ is setting up a broken texture reproduceable case Jul 29 00:27:52 I load the covers only when I'm almost certain the user is not scrolling Jul 29 00:28:08 otherwise I use a placeholder Jul 29 00:28:30 but when the app first load, it gets all the book covers Jul 29 00:28:36 no Jul 29 00:28:44 only the first 6 or whatever Jul 29 00:28:51 right that's wat i meant Jul 29 00:29:05 and that's done in the bind view? Jul 29 00:29:12 yes it is Jul 29 00:29:34 then as the user starts to scroll you listen for the scroll state == idle then load the current ones? Jul 29 00:29:47 it's more complex than that, but yes Jul 29 00:30:12 yea i am going through the scrolllistener, not understanding everything yet Jul 29 00:30:15 right new problem - my button now works, but seems to ignore my android:layout_x and layout_y positions in absolute layout, i think its to do with the onSizeChanged method can anyone help! http://pastebin.com/m3cc0c4e6 Jul 29 00:30:27 #1. Don't use AbsoluteLayout Jul 29 00:30:57 #2. You're showing the java code, not the XML layout Jul 29 00:31:03 ok Jul 29 00:31:12 ythats because the problem is in onSizeChanged i believe Jul 29 00:31:15 but here is the xml layout Jul 29 00:31:41 onSizeChanged has nothing to do with the placement of views Jul 29 00:31:46 ok Jul 29 00:31:47 http://pastebin.com/ma9ccf6b Jul 29 00:31:54 you are looking at the ColorButton element Jul 29 00:32:03 it seems to sit completely in the wrong place in my app Jul 29 00:32:12 everything else is fine Jul 29 00:32:31 you did not give your button a size? Jul 29 00:32:49 its done in styles i think Jul 29 00:32:51 1 sec Jul 29 00:33:06 http://pastebin.com/m74190504 Jul 29 00:33:56 so you make your button as big as the absolute layout Jul 29 00:34:04 but then move it to 11,164?? Jul 29 00:34:07 that does not make sense : Jul 29 00:34:09 :) Jul 29 00:34:19 ah Jul 29 00:34:25 i need to specify exact dimensions? Jul 29 00:34:29 in styles? Jul 29 00:35:11 or should it just be Jul 29 00:35:13 wrap_content Jul 29 00:35:35 Hi all, I am building an app that needs to locate other android users within 10 meters, I was wondering if there was a way to use any hardware on the g1 other than the gps to locate other users running the same software Jul 29 00:36:09 Brad33 why not use the internet... Jul 29 00:36:15 Brad33: bluetooth? Jul 29 00:36:17 have a service stating all people currently logged on Jul 29 00:36:28 anyway, the GPS is useless for this Jul 29 00:36:29 to ur app Jul 29 00:36:42 bluetooth, but it would be very power consuming scanning all the time Jul 29 00:36:48 you can just about work out whether some people are within half a mile of you, if they happen to have the GPS turned on Jul 29 00:36:56 which most people don't because it eats battery life, yeah Jul 29 00:37:20 Yeah gps seems too costly to me Jul 29 00:37:26 to be trying to loacte users all the time Jul 29 00:37:29 for battery life. Jul 29 00:38:28 romainguy ok wrap_content helps the positiion, but my button seems to have its corners all chopped off Jul 29 00:38:32 any ideas why? Jul 29 00:39:07 What would be ideal is if my app could broadcast something out via bluetooth and have compatible devices with my same app reply Jul 29 00:39:18 But im not sure if bluetooth works like that Jul 29 00:40:16 not on android Jul 29 00:40:33 only a small part of bluetooth is in there right now Jul 29 00:41:03 Do you think support for something like that would be added in the future? Jul 29 00:41:07 near future* Jul 29 00:41:25 anyone? Jul 29 00:41:36 bluetooth is mostly about pairing (poll/exchange seperate freqs to talk on), broadcasting to unknown devices would be kinda of a hack Jul 29 00:41:39 my button seems to have its corners all chopped off like its got something trapping it Jul 29 00:41:40 any ideas Jul 29 00:41:48 cupcake added stereo bluetooth, so I persionally would expect further addons Jul 29 00:42:01 Can somebody tell me, if it Is normal not to be able to start wifi in the emulator? Jul 29 00:42:19 <_Auron_> reproduceable test case is made Jul 29 00:44:03 ahh im tired Jul 29 00:44:05 night ladies Jul 29 00:46:41 is there a performance impact when using an XML gradient compared to a PNG? Jul 29 01:02:14 <_Auron_> romainguy: my issue has been posted on android-devleopers Jul 29 01:02:16 <_Auron_> developers* Jul 29 01:02:47 <_Auron_> includes source of entire example project with screenshots that show before and after Jul 29 01:15:25 zhobbs: xml gradient is probably alot faster Jul 29 01:15:44 jsharkey: neat Jul 29 01:15:51 since its turned into a skia paint, insteaad of being blit'ed Jul 29 01:16:34 was thinking about adopting it in some places instead of png...just wanted to make sure I wasn't going to take a perf hit Jul 29 01:32:26 anyonr have an example app that uses sockets Jul 29 01:36:32 what do you want to do jack? Jul 29 01:37:00 make an irc client Jul 29 01:37:21 just to help me learn android Jul 29 01:39:03 did you google 'android socket tutorial'? Jul 29 01:39:58 no, I used 'android socket example' Jul 29 01:40:43 seems to be pretty much the same Jul 29 01:40:58 the stuff at anddev usually doesn't seem to be helpful Jul 29 01:42:16 a lot of it is dated Jul 29 01:42:34 I've found much better info searching the google groups Jul 29 01:42:49 but for sockets, I think you can use any java socket tutorial Jul 29 01:43:03 because I beleive your just using the java.net library Jul 29 01:43:08 true Jul 29 01:43:43 Jackmordal: i havent read any irc android sources yet but maybe connectbots src helps, they use jsocks. Jul 29 01:56:39 <_Auron_> wow that *HAS* to be a bug Jul 29 01:57:52 late all Jul 29 02:17:35 attention everyone, Merthsoft > _Auron_ Jul 29 02:18:57 congrats? Jul 29 02:19:30 hell yeah congrats Jul 29 02:20:32 whats that about? Jul 29 02:21:00 well he had a bug Jul 29 02:21:06 and i showed him the path to fixing it Jul 29 02:21:10 <_Auron_> a bug I've had for a week and have gone pretty much insane Jul 29 02:21:13 <_Auron_> insane. Jul 29 02:25:26 ah, well congrats anyway :D Jul 29 02:27:58 iam also having a hard time keeping up with issues/changes. and got a little angry recently when hearing the public android tree is 2 month off, while i was reading cupcake sources and thinking about problem that may already beeing solved Jul 29 02:30:06 <_Auron|G1_> google has more documentation to do Jul 29 02:30:18 <_Auron|G1_> or to fix the opengl framework Jul 29 02:34:57 where do the logcat files go? Jul 29 02:35:47 i tried to install my app with the debug key. it said success, but it doesnt appear anywhere in my drawer Jul 29 02:37:47 gitweb,googlecode-issues,repo,android-groups could get glued together and be more github like :( Jul 29 02:39:32 elprespufferfish, do you have a launcher intent? Jul 29 02:40:02 KNY, yes. it works if i do it through debug mode in eclipse Jul 29 02:40:21 right, but you need to have something special to tell android to create an icon for it Jul 29 02:41:34 KNY, i have the for action MAIN and category LAUNCHER Jul 29 02:41:36 do i need anything else? Jul 29 02:41:44 where do the logcat files go? not like when they die but when I'm debugging. Jul 29 02:41:56 elprespufferfish, I don't think so Jul 29 02:43:52 <_Auron|G1_> I just do adb locat > file.txt Jul 29 02:44:04 <_Auron|G1_> logcat* Jul 29 02:45:36 _Auron|G1_: why not let them just dump to the console? Jul 29 02:46:11 holy crap my unit tests work =D Jul 29 02:46:15 <_Auron|G1_> or that. console scrolls to the bottom everytime it updates though Jul 29 02:46:28 <_Auron|G1_> in windows anyhow Jul 29 02:46:48 is there a way to reset the logs? Jul 29 02:47:17 KNY, hah. I forgot i had an AVD running. it was installing to the emulator Jul 29 02:47:53 haha Jul 29 02:48:13 whaledawg: could be wrong here, but the logs are never written onto the device **** ENDING LOGGING AT Wed Jul 29 02:59:57 2009