**** BEGIN LOGGING AT Wed Jul 22 02:59:56 2009 Jul 22 03:23:52 warewolf: why do you need to fix the package manager?? Jul 22 03:27:41 it resolved itself Jul 22 03:27:56 what was the issue? Jul 22 03:52:25 how does one put a " < " in some text in an xml file ? Jul 22 03:55:11 < Jul 22 03:55:20 well to be technical Jul 22 03:55:37 " < " Jul 22 03:55:38 :P Jul 22 03:56:19 ahha Jul 22 03:57:21 wow, 4 romainguys Jul 22 03:57:27 ya'll must get a lot accomplished Jul 22 04:07:46 ho-hum Jul 22 04:08:10 One of the romainguys is a clone of a clone... he's a little bit screwy. Jul 22 04:08:59 I think that's the one that swears at misbehaving apps on the Market. Jul 22 04:09:26 kRutOn, I thought that was all of them Jul 22 04:09:42 jsharkey: I changed my little Gravatar so you should be able to recognize me now. Jul 22 04:09:52 ooh Jul 22 04:09:56 i think i saw it the other day Jul 22 04:10:06 I just put it up like 10 minutes ago! Jul 22 04:10:08 i wonder if we should do that in gerrit Jul 22 04:10:10 ohlol Jul 22 04:10:14 i could kinda recognize you from it before Jul 22 04:10:24 yarite Jul 22 04:10:52 gravatar? Jul 22 04:11:01 I will probably be hand-holding these IBM guys until 3 AM, so maybe I should put in Gravatar support in Gerrit Jul 22 04:11:10 KNY: Globally recognized avatars Jul 22 04:11:28 zomg http://www.gravatar.com/avatar/e463fd50eb7e72d6f78bcda660844741.jpg Jul 22 04:11:41 they basically do http://gravatar.com/something/(MD5 hash of your email).jpg Jul 22 04:11:50 yea its pretty cool Jul 22 04:11:55 meant for blog comments Jul 22 04:12:10 interesting Jul 22 04:12:48 * kRutOn changes his Twitter avatar. Jul 22 04:23:02 jsharkey: What's so zomg?? Jul 22 04:26:04 are you new to the internet? Jul 22 04:26:34 I've had plenty of internets. Jul 22 04:27:07 Queue29, he asked what's *so* zomg, not "what's zomg?" Jul 22 04:27:31 i skip words Jul 22 04:27:39 Queue29, I had to do a double-take Jul 22 04:27:43 One time on vacation I even saved a bottle-nosed dolphin. It was tangled in an internet! Jul 22 04:29:33 Also there are apparently a lot of bugs fixed in donut but it isn't publicly available. Thus my efforts to fix random bugs are for naught since some of them have already be fixed unbeknownst to me. Jul 22 04:31:34 * KNY wonders when we'll get to peek at donut, and why we can't right now Jul 22 04:32:01 Maybe they're taking a cue from Apple. Jul 22 04:32:24 When they release it, they want to say, "Shazam!" Jul 22 04:32:41 KNY: Oh, is GV open-source? Jul 22 04:32:46 kRutOn, apache 2.0 Jul 22 04:32:58 (yes) Jul 22 04:33:06 Rockin'. Jul 22 04:33:10 http://evancharlton.com/gv http://svn.evancharlton.com/wsvn/GV Jul 22 04:33:13 patches welcome :) Jul 22 04:33:25 Eye patches? Jul 22 04:33:33 those too Jul 22 04:33:51 Well, I have a fake peg leg and an eye patch. You supply the macaw. Jul 22 04:37:07 Are ASE (Python) questions kosher here or is there another channel for that? Jul 22 04:45:59 kRutOn: I've counted 1333 bug fixes in Donut today :) Jul 22 04:46:16 that doesn't include any of your fixes btw Jul 22 04:47:13 my understanding is Android maintains an Activity Stack so that when user clicks 'Back' button, it knows which ACtivity to back to. Can you please tell me where in the android code which handles that functionality? Jul 22 04:47:15 thank you. Jul 22 04:50:12 looking for apps to download fbook? Jul 22 04:53:42 romainguy: well, 1333 is much larger than any number I can come up with Jul 22 04:53:58 I have a list of song titles, what would be the best control to stick them in so a user could scroll and choose one? Jul 22 04:54:28 romainguy: maybe if I worked on fixing bugs for a year straight. Jul 22 04:55:22 I just added IDN support like I was talking about yesterday, but I might abandon it. Jul 22 04:58:10 Spyrorocks: There's always a ListView... Jul 22 04:59:00 romainguy: Actually, maybe you can answer some questions: 1. Is there an upgrade to ICU coming or planned (cupcake has 3.8) 2. Is there any IDN (Internationalized Domain Name) support already underway internally Jul 22 04:59:27 kRutOn: Thanks, ill just need to figure out how to add elements to the listview. Jul 22 05:00:24 Spyrorocks: Look around for examples of a ListView using some kind of Adapter.. CursorAdapter, ArrayAdapter, etc Jul 22 05:00:37 ah ok thanks :) Jul 22 05:19:27 Hmm I have this code Jul 22 05:19:29 Intent myIntent = new Intent(Intent.VIEW_ACTION, Uri.parse("http://www.google.com")); Jul 22 05:19:29 startActivity(myIntent); Jul 22 05:19:39 But Intent.VIEW_ACTION doesnt seem to exist Jul 22 05:19:43 according to eclipse... Jul 22 05:20:29 I installed ASE 0.9-alpha (from http://code.google.com/p/android-scripting/downloads/list), and I'm trying the weather_notify.py thing. I'm getting "RPC error" when it's trying to call droid.notify. Does anyone else have success with Android.notify() ? Jul 22 07:01:38 are there any special security permissions I need to set for launching threads? Jul 22 07:01:49 My app keeps on freezing just after I launch a thread Jul 22 07:02:19 Actually, freezes after I call runOnUiThread(returnRes); from within Jul 22 07:04:32 Spyrorocks: returnRes probably blocks. Jul 22 07:04:38 maybe it gets into a cycle of some sort? Jul 22 07:04:42 (no, there are no special permissions, you're just doing it wrong) Jul 22 07:05:16 This is what my returnres looks like http://pastie.org/private/2ivvxq7ihanac8c7u9a4tq Jul 22 07:05:38 private ArrayList aSongs = null; Jul 22 07:05:50 declared right after my main activity class Jul 22 07:06:13 this looks fine, although pretty silly Jul 22 07:06:45 Im trying to take bits a pieces around off other sites to try to figure out how I should go about doing it Jul 22 07:06:52 so its not pretty at all :P Jul 22 07:06:53 are you familiar with how to debug yoru app? halt the main thread and see where it's blocking. Jul 22 07:07:04 Ill see if I can figure that out Jul 22 07:07:30 do appreciate that copy/paste coding is one of the worst ways to learn btw. Jul 22 07:07:41 really, you'll never get anywhere. Jul 22 07:07:51 Yeah, I am trying to rewrite stuff Jul 22 07:07:52 to work Jul 22 07:07:57 but that's still copy/paste coding. Jul 22 07:08:32 OK so I should pause my main thread? Jul 22 07:08:33 actually one more question, does your app ever throw up an application not responding message? Jul 22 07:08:39 yes Jul 22 07:08:41 eventually it does Jul 22 07:08:45 it hangs Jul 22 07:08:56 ok then yeah, you can find your error by suspending the main thread Jul 22 07:09:07 OK suspended Jul 22 07:09:17 it's really quite simple. debug in Eclipse, then switch to debug perspective, look at the threads on the left once the program opens and click the main thread, then click the pause button Jul 22 07:09:21 and look at the call stack Jul 22 07:09:46 the tip of the stack will help you understand what's blocking the thread. Jul 22 07:10:29 The top of the main thread says Jul 22 07:10:31 ArrayList.size() line: 616 Jul 22 07:10:57 That looks like its in a library Jul 22 07:11:09 look for a function in your program. Jul 22 07:11:53 OK Jul 22 07:11:59 utunez$SongAdapter(ArrayAdapter).getCount() line: 291 Jul 22 07:12:04 that looks more like a func in my app Jul 22 07:12:19 sure does. and the array in question is what? Jul 22 07:12:27 is it...synchronized? :) Jul 22 07:12:49 aSongs.size() Jul 22 07:12:54 I think thats whats bothering it Jul 22 07:13:05 is aSongs synchronized? Jul 22 07:13:14 I do not know what you mean by that Jul 22 07:13:27 can you show me the entire SongAdapter class? Jul 22 07:13:30 yes Jul 22 07:13:34 1 second Jul 22 07:13:34 i will tell you what i mean :) Jul 22 07:13:56 http://pastie.org/private/wtxl0hmebvabc11xytnq Jul 22 07:14:15 Little bit different going from php to java Jul 22 07:14:16 :P Jul 22 07:15:10 why are you using an ArrayAdatper, then storing a handle to the array anyway? Jul 22 07:15:30 the arrayadapter can get you access to the items. for instance, just calling getItem(position) in getView will get you the Song object. Jul 22 07:15:55 Hmmm Jul 22 07:15:59 that was just a side-comment, not a fix Jul 22 07:16:06 Yeah I see Jul 22 07:16:15 Well right now, id like to somehow get this working Jul 22 07:16:21 anyway, can you show me which array is used to construct this? Jul 22 07:16:23 that's what i was really after. Jul 22 07:16:38 so, i would like to see the class that ultiamtely is responsible for new SongAdapter(...) Jul 22 07:16:38 Its constructed dynamically Jul 22 07:16:52 Song song1 = new Song(); Jul 22 07:16:52 song1.setSongTitle( "title" ); Jul 22 07:16:52 song1.setSongURL( "test" ); Jul 22 07:16:52 Song song2 = new Song(); Jul 22 07:16:52 song2.setSongTitle( "titleeee" ); Jul 22 07:16:53 song2.setSongURL( "testttttt" ); Jul 22 07:16:55 aSongs.add( song1 ); Jul 22 07:16:57 aSongs.add( song2 ); Jul 22 07:16:59 In the thread Jul 22 07:17:01 It adds that data Jul 22 07:17:03 this is not what i'm interested in. Jul 22 07:17:03 just for testing Jul 22 07:17:07 Oh Jul 22 07:17:15 really, i need to see the class that declared it. Jul 22 07:17:34 Hi. I'm new to android, I'm poking around native apps (unsurprisingly). - I read C++ support is rather minimal. Especially I read C++ exceptions are not supported. - What does it exactly mean? How can those be killed? Did they patch the GCC/G++ of theirs? Or they mean just std::exception and friends are missing? Jul 22 07:17:35 the whole class -- i want to check for a particular type of error. Jul 22 07:17:39 http://pastie.org/private/rfiobdiry6y0ffnqa9ragq Jul 22 07:17:59 There we go. Jul 22 07:18:09 ok, it seems like you've got a problem here... Jul 22 07:18:28 aSongs is not synchronized, and is thus not thread-safe. does getSongs() interact with aSongs? Jul 22 07:18:35 Yes Jul 22 07:18:39 Ah I see Jul 22 07:18:43 so you have two threads accessing an object which is not thread-safe Jul 22 07:18:50 Oh and that hangs it Jul 22 07:18:59 fortunately, there are two easily solutions for you Jul 22 07:19:30 the first, and recommended one, would be to retool your code to use AsyncTask. this class allows you to run operations in the background and then post them to the main thread to do stuff like publish them to a list adapter and dismiss progress dialogs. Jul 22 07:19:36 it is very handy, very well written, and very easy to understand Jul 22 07:19:42 you can use it to solve all sorts of threading issues on android Jul 22 07:20:02 Interesting, ill take a look at it now Jul 22 07:20:20 there are also many examples of AsyncTask at work, including the author's own usage at http://code.google.com/p/apps-for-android/source/checkout Jul 22 07:20:25 under the app Photostream Jul 22 07:20:34 but really, there are loads of other places this class is used you can examine Jul 22 07:20:42 check the docs online as well -- they are very thorough here Jul 22 07:20:57 Im reading http://developer.android.com/reference/android/os/AsyncTask.html Jul 22 07:20:59 i recommend, therefore, that you not actually modify your list in yoru background thread Jul 22 07:21:15 merely access the data objects (however you want to do that), and publish them as results to the main thread to add to an array and notify the adapter Jul 22 07:21:26 access the array object only from the main thread, then. Jul 22 07:21:38 unless you really want to deal with synchronization issues, and i suspect you do not :) Jul 22 07:22:01 well, id like to show a progress dialog while data is downloaded Jul 22 07:22:12 so id need to publish the results to the main thread Jul 22 07:22:18 then have the main thread add those to the array? Jul 22 07:23:17 those last 2 sentences have nothing to do with the first 1. Jul 22 07:23:38 you can show a progress dialog before you start your asynctask. then, when your asynctask completes, dismiss it. this is fine, and a quite normal flow. Jul 22 07:24:16 the last 2 sentences talk about how to access each Song record and ultimately add it to your list. the former would ideally occur in the background, the latter on the main thread. Jul 22 07:24:41 btw, why does getSongs run in the background? where are these songs coming from? Jul 22 07:25:44 It gets a list from the web Jul 22 07:25:55 and parses the list Jul 22 07:26:09 quite reasonable to be in the background, but if you can, parse each record from the list and publish it to the main thread Jul 22 07:26:25 that's my recommendation, it's not strictly necessary Jul 22 07:26:45 you could easily just build the entire list in the background, then publish the whole thing as your AsyncTask result and use it Jul 22 07:27:15 i'm thinking if the list is large, it might be nice to be able to show some of the items while it downloads. possibly, your choice :) Jul 22 07:27:33 so, i'm curious, what type of app are you building here? Jul 22 07:27:35 only 10 records at a time, so it should be rather fast :) Thanks though Jul 22 07:27:41 Im building a free mp3 downloader Jul 22 07:27:49 hmm. Jul 22 07:28:06 it uses a few mp3 index sites, grabs links depending on your search, and returns a list Jul 22 07:28:10 and you can stream them. Jul 22 07:28:21 streaming them and downloading them at the same time. i doubt that ;) Jul 22 07:28:40 Never mind downloading, I meant streaming, sorry :P Jul 22 07:28:41 i solved that problem, and it was not trivial hehe Jul 22 07:28:50 I just do it very half assed and launch the web browser :P Jul 22 07:28:55 i also wrote an app which downloads music, kind of. Jul 22 07:28:56 for now at least Jul 22 07:29:00 Oh? Jul 22 07:29:04 http://five.googlecode.com Jul 22 07:29:43 Oh I see, streams from your local lan? Jul 22 07:30:20 no, it streams over any connection available to the phone, be it WiFi, 3G, or EDGE. Jul 22 07:30:44 Thats neat Jul 22 07:30:56 edge around here is so terribly slow Jul 22 07:31:08 what kind of 3G speeds do you get in your area? Jul 22 07:31:10 yeah, but this application caches as much data as it can Jul 22 07:31:18 so eventually, streaming is not necessary Jul 22 07:31:26 saved to the sd card? Jul 22 07:31:34 T-Mobile 3G in Seattle is quite fast, around 700kbps+ Jul 22 07:31:41 much more than is necessary to stream music Jul 22 07:31:45 yeah, to the storage card. Jul 22 07:32:12 Oh your in Seattle? Im from Vancouver Jul 22 07:32:18 Canada Jul 22 07:33:32 yawn... i think its bed time for me. Jul 22 07:33:36 good luck solving your issue Jul 22 07:34:51 Thanks for all your help Jul 22 07:34:54 I really appriciate it Jul 22 07:46:53 Phlogi, ping Jul 22 07:47:08 wmealing_: yes? Jul 22 07:47:12 get a chance ? Jul 22 07:48:18 wmealing_: nope, cable not arrived yet... Jul 22 07:48:24 maybe today Jul 22 07:48:40 damn Jul 22 07:48:51 why? Be patient ;) Jul 22 07:48:56 * wmealing_ ponders punting xda-developers Jul 22 07:50:23 =) Jul 22 08:07:11 * wmealing_ yawns.. Jul 22 08:07:19 what the heck, bit of self promotion. Jul 22 08:07:22 http://code.google.com/p/get-a-robot-vpnc/ Jul 22 08:07:32 cisco vpn client for android G1, requires root, and likely the tun module Jul 22 08:07:49 does not do L2TP Jul 22 08:07:51 just normal ipsec Jul 22 08:28:35 The code for vpnc is kind of funny. Jul 22 08:29:40 kRutOn, television funny ? Jul 22 08:29:45 or vpnc_doooeet(i) funny Jul 22 08:30:17 I wrote some changes for it a couple years ago. I just remember it was kind of rigidly linear. Jul 22 08:30:33 * wmealing_ nods Jul 22 08:30:37 very simple Jul 22 08:33:47 oh, I just wrote the SHA-1 group hash code Jul 22 08:34:56 which isn't in there Jul 22 08:51:25 ah, thanks ! Jul 22 08:51:32 * wmealing_ tips his hat Jul 22 08:55:22 I'm trying to create a widget with rounded corners. Does anyone have a clue how to do that? Jul 22 09:09:59 canvas properties? Jul 22 09:10:07 (just supposition) Jul 22 09:16:07 hello, I have a problem Jul 22 09:16:48 when I install a new version of the application on the phone, a reboot is required for the launcher to work :( (in the home screen's applications pane) Jul 22 09:17:12 madis, what happens if you dont reboot Jul 22 09:17:16 does it launch the old version ? Jul 22 09:17:20 no Jul 22 09:17:24 it display's the old label Jul 22 09:17:29 ah, that takes a while to refresh Jul 22 09:17:31 ive noticed that Jul 22 09:17:56 ah, ok, so by waiting a few minutes it should refresh as well? Jul 22 09:19:06 id imagine so, does for me Jul 22 09:19:36 oh, ok Jul 22 09:19:48 is there no way to force a refresh? Jul 22 09:34:18 mornin all Jul 22 09:35:16 nope, been like 17 minutes, it still has the wrong launcher with the wrong label :( Jul 22 09:36:20 I have the same activity entry point, but the intent filter has changed a bit Jul 22 09:57:06 romainguy: hi, have you reviewed http://code.google.com/p/android/issues/detail?id=2788 ? Jul 22 09:57:41 mais you can probably start killing processes at random. Jul 22 09:57:51 see which one it is Jul 22 10:00:29 ok, found my bug :( Jul 22 10:03:22 here goes: when the entry point is changed (refactored to a different package perhaps) then the launcher isn't updated Jul 22 10:03:30 until reboot Jul 22 10:03:38 and it tries to run the activity in the old package Jul 22 10:03:40 however Jul 22 10:03:57 if I keep the entry point the same, then the launcher IS updated and the label is refreshed instantly as well Jul 22 10:04:40 so during the install the launcher is being looked up by the entry point and upgraded only if the entry point remains the same? Jul 22 10:05:16 sounds logical. Jul 22 10:08:55 meaning, I can never refactor the activity that handles the MAIN/LAUNCHER intent or otherwise upgrading will be broken :( Jul 22 10:17:57 are there any good books on the market about developing for android? Jul 22 10:33:52 Professional Android Application Development by Reot Meier is good Jul 22 10:34:13 but also heard good things about "The busy coders guide to android" by Mark Murphy Jul 22 11:31:42 ciao Jul 22 11:31:45 Hi.. where can i find a good example of ListActivity.. Actually i want to set selection on an item of list.. Jul 22 11:33:00 I've got a problem with changing layouts in an app... may I post here the link to the code? It throws me a NullPointer exception... Jul 22 11:34:01 no idea of posting a link.. Jul 22 11:34:13 can you explain the problem in detail Jul 22 11:34:18 ok Jul 22 11:34:21 I'll try to :) Jul 22 11:34:32 well, I've got two layouts: main and second Jul 22 11:34:37 ok Jul 22 11:34:58 setContentView(R.layout.main); is sent to change layout right? Jul 22 11:35:27 yes.. this xml will be displayed Jul 22 11:35:30 well, I've got one botton per layout, they should change the layout according to their pressure Jul 22 11:35:46 I've set two IDs for the two buttons: Jul 22 11:35:52 acc to theie pressure? Jul 22 11:35:52 Button nextButton = (Button)findViewById(R.id.ButtonNext); Jul 22 11:35:59 ok.. Jul 22 11:36:12 ^-- and the other one is backButton ofc Jul 22 11:36:20 ok Jul 22 11:36:26 then I've created a function: Jul 22 11:36:29 final private OnClickListener getCListener(final int layout) { ... } Jul 22 11:36:30 ok Jul 22 11:36:41 in this way I'll be able to create an OnClickListener Jul 22 11:36:51 ok.. Jul 22 11:36:52 (but I've tried also without any function) Jul 22 11:37:02 nextButton.setOnClickListener(getCListener(R.layout.second)); works greate Jul 22 11:37:05 grat* Jul 22 11:37:07 have you setlistener on the button? Jul 22 11:37:09 **great Jul 22 11:37:30 on the first button? Jul 22 11:37:33 try {backButton.setOnClickListener(getCListener(R.layout.main));} catch(Exception e) {myText.append("\n"+e.toString());} <-- this will throw me the NullPointer Jul 22 11:37:37 yes Jul 22 11:39:03 being handled, the exception won't close the app, so I tried: the "nextButton" will work great, but I won't be able to turn back to the first layout (ofc, because of the NullPointer Exception) Jul 22 11:39:03 you want to perform some action on button click? Jul 22 11:39:19 yes, just turn back to the first layout (backButton) Jul 22 11:41:23 let me get clear.. Jul 22 11:41:46 if you want, here are the sources (just a testing app, nothing more than that): http://files.getdropbox.com/u/1512702/test/Test%20Layouts.zip Jul 22 11:46:05 you have one layout in that you have a button Jul 22 11:46:38 and on that button click you need to show another layout Jul 22 11:46:42 right? Jul 22 11:46:50 right Jul 22 11:46:53 that works Jul 22 11:47:01 so what does not work? Jul 22 11:47:08 i am not clear? Jul 22 11:47:10 the problem is in the 2nd button (backButton) Jul 22 11:47:14 *clear Jul 22 11:47:31 ok.. backbutton does not get you to the first layout? Jul 22 11:47:42 not only Jul 22 11:47:46 it throws me the error: Jul 22 11:48:07 ok.. so it does not get you to first layout? Jul 22 11:48:09 java.lang.NullPointerException Jul 22 11:48:13 yes Jul 22 11:48:26 ok.. Jul 22 11:48:39 ^-- that error is thrown starting the application, not during the clicking of the button Jul 22 11:48:50 you can see it just running the app in the emulator ^^ Jul 22 12:11:20 any suggestion? Jul 22 12:20:54 anyone have a problem with their keypresses nto working on the app once its loaded, after a force close/wait they work, also anyone have a game that 1 in 10 times runs 30% slower? Jul 22 12:22:34 elegos... can use backbutton that is already on phone/emulator Jul 22 12:22:50 u can catch the keyevent of back button Jul 22 12:23:01 ok, but that is just an example Jul 22 12:23:11 the main purpose was "go to main menu" Jul 22 12:23:26 I hope I can do the thing like that... Jul 22 12:23:48 public boolean onKeyDown(int i, KeyEvent event) { if (i == KeyEvent.KEYCODE_BACK) { // Toast.makeText(this, "Back Button Pressed......", Toast.LENGTH_LONG).show(); } return false; // propagate this keyevent } Jul 22 12:24:33 in this you can create an intent of the new activity Jul 22 12:25:48 ok, but how can I handle the error I'm getting? I hope I'll be able to handle THAT basic error Jul 22 12:29:32 i am not able to download the zip file Jul 22 12:29:51 some filter on my side are enabled .. Jul 22 12:30:54 this may be a stuipd question but how is libffi involved with jni? is jni on top of libffi? why is it so much more complicated then? Jul 22 12:32:49 smartfish: http://pastebin.ca/1503131 Jul 22 12:36:30 second.xml is this (where backButton is contained): http://pastebin.ca/1503135 Jul 22 12:38:04 ah, so dalvik uses ffi. what about jni? doesnt ffi provide the same native interface? Jul 22 12:38:43 how do i place a button at the bottom of a xml view? Jul 22 12:46:36 lianj: hey, i was doing some setup for androidrecord. Sqlite methods require a context, so currently i have a "manager" object which holds that context, which is then passed to new model objects. Is there a better approach to this that you can think of? Jul 22 12:47:25 any suggestion? Jul 22 12:48:47 mpardo: cool, will pull the src and read it. didnt had the time yesterday, was doing some connectbot ssh-sockt contentprovider tinkering Jul 22 12:49:39 lianj: there's not much of anything in the source right now... i was talking about the method i've used for previous projects. Jul 22 12:53:25 mpardo: its sounds correct to have a query-manager cache/provide that context Jul 22 12:54:01 so something like this makes sense: http://pastebin.com/m1c579e66 Jul 22 12:55:32 other orms don't need this, but I don't think there's any way of getting around it. I guess if I figure it out then i can change it in the future Jul 22 12:58:36 yeah, using a manager is nice. we should implement it as a service Jul 22 13:00:23 can anyone help me with a stupid PointNullException? I'm learning, I don't want alternative solutions... Jul 22 13:00:55 the problem seems to associate a click listener on a button, while it works with another one Jul 22 13:01:06 lianj: why as a service? Jul 22 13:01:20 seems like overkill Jul 22 13:01:51 source: http://pastebin.ca/1503131 ||| second.xml (where the "broken" button is): http://pastebin.ca/1503135 - all the project: http://files.getdropbox.com/u/1512702/test/Test%20Layouts.zip Jul 22 13:01:53 thanks Jul 22 13:02:41 mpardo: other app could use and share this functionality Jul 22 13:03:34 i guess that would be a nice feature. I just want to get it up and running first. isn't that what shared data providers are for? Jul 22 13:06:19 you could be right. so push it out there :) git allows use to branch/change/adapt easily Jul 22 13:07:07 okay, you want commit privileges then? Jul 22 13:09:17 yes, i sent you a pm Jul 22 13:28:48 anyone got a surface based game to resume after a call? :/ Jul 22 13:34:43 What's the closest thing to C's sprintf in the android java environment? Jul 22 13:41:51 System.out.println("hello"); Jul 22 13:41:52 ? Jul 22 13:42:15 android.util.Log Jul 22 13:46:53 Let me rephrase that: I need to convert a double float to display just X.XX. What would perform this conversion in the android java environment? Jul 22 13:49:46 the java Formatter class? Jul 22 13:50:08 java.Formatter? Jul 22 13:50:40 java.util.Formatter Jul 22 13:50:44 http://java.sun.com/javase/6/docs/api/ Jul 22 13:50:53 on the left, find it Jul 22 13:50:55 stupid frames Jul 22 13:52:04 floats arent really recommended for mobile devices, correct= Jul 22 13:54:04 yeh Jul 22 13:54:06 no fpu unit Jul 22 13:54:11 flow Jul 22 13:54:13 Maybe they're not recommended...but I'm reading acclereometer data. Jul 22 13:54:23 And those are floats. Jul 22 13:55:28 Queue29 Thank you for the pointer on Formatter. I appreciate it. Jul 22 13:59:10 i don't think i've ever used that class outside of cs101 Jul 22 13:59:14 heh Jul 22 13:59:38 Well I've got some very long floats that I do not want to display in stock form. Jul 22 13:59:50 So I've got to figure something out. Jul 22 14:01:25 not so much not recommended as they'll be much slower Jul 22 14:01:43 all fpu calcs happen in software mode on this proc Jul 22 14:02:10 so, you can use them, just avoid them for tight loops, etc Jul 22 14:02:21 use int based math if you can Jul 22 14:07:50 Hrm...if I converted a float to an integer, performed math on the integers, then used Formatter to place the decimal point, would that be better than performing floating point math? Jul 22 14:08:09 That seems like a lot of extra work just to avoid floating point math. Jul 22 14:09:54 can you do your calculations with ints? Jul 22 14:11:35 Most likely. Jul 22 14:12:13 If the performance is truly worth it to avoid the fp calculations, then it's probably worth my time. Jul 22 14:12:20 What's the java class for regular expressions? Jul 22 14:12:52 java.util.Regex + java.util.regex.Pattern Jul 22 14:15:17 Queue29 Thank you. Jul 22 14:16:38 hi.. is there a difference between adb forward and redir add on the android consle? Jul 22 14:18:48 i don't believe so Jul 22 14:40:21 if i use forward i can't connect to open sockets on android, if i use redir i can... strange Jul 22 14:47:41 What is the correct way to get the number-on-screen-keyboard for an EditText with android:numeric="integer"? Currently I am using android:phoneNumber="true", which does the trick but might noch be correct. Jul 22 14:48:00 not Jul 22 14:50:21 ulrich, they don't have a numberic IME (to my dismay) Jul 22 14:50:32 I also use phone because I'm too lazy to make my own Jul 22 14:50:37 also, you should be using inputType Jul 22 14:51:26 thx Jul 22 14:51:28 :) Jul 22 14:58:55 can you launch an activity from a view? Jul 22 15:02:19 When creating own widget, is using android.R.attr.colorForeground etc the appropriate way to respect user themes or are there other, better ways? Jul 22 15:07:17 ANDROID.SF contains lots of sha1-digests like this: SHA1-Digest: K7tT+cAFRjsa2be74PqcYTBsNHQ= but that's clearly not just a straight sha1--anyone know what else is done to it? Jul 22 15:52:58 KNY ,aren't you from bayarea? i know romainguy is. are you really an engineer at all being up so early?! ;) Jul 22 15:56:13 is there anyone who could provide me with exemplary trace file? i would like to try out the trace viewer (because of a genuine interest in trace analysis) Jul 22 16:00:52 dunno if anyone's working on it yet, or if it's possibly on the crap hardware - but someone should try to make a police scanner for androids... similar to the one for iphone Jul 22 16:18:18 jpa--: that's done via streaming feed Jul 22 16:18:21 of course it's possible Jul 22 16:48:47 is there anyone who could provide me with exemplary trace file? i would like to try out the trace viewer (because of a genuine interest in trace analysis) Jul 22 16:55:02 anyone else have the problem that first key presses on surfaceview dont work til it does a "force close /wait" ? Jul 22 16:59:10 hello there! Jul 22 16:59:13 (again) Jul 22 16:59:25 can anyone help me with a stupid PointNullException? I'm learning, I don't want alternative solutions... Jul 22 16:59:47 the problem seems to associate a click listener on a button, while it works with another one Jul 22 16:59:48 source: http://pastebin.ca/1503131 ||| second.xml (where the "broken" button is): http://pastebin.ca/1503135 - all the project: http://files.getdropbox.com/u/1512702/test/Test%20Layouts.zip Jul 22 16:59:50 thanks Jul 22 17:00:41 the problem ofc is in line 23 Jul 22 17:10:29 no one? Jul 22 17:11:50 the problem seems to just assign onClickListener to the second button, whatever the function is Jul 22 17:13:19 it seems that the problem is that android can't reach the 2nd button because it's not in the current layout, may it be? Jul 22 17:18:11 elegos: your code shouldn't be compiling, you're referencing IDs that don't exist Jul 22 17:18:17 r.id.ButtonBack isn't in your layout Jul 22 17:18:28 it is... second.xml Jul 22 17:18:49 but I've figured out: the ID that android sees are only the ones of the current layout Jul 22 17:19:02 so I can create a series of functions to be called layout per layout Jul 22 17:19:03 that's not in your all-the-project file, ahh Jul 22 17:19:04 am I wrong? Jul 22 17:19:48 I think that's right. I'm not sure, I pretty new to this too. Jul 22 17:24:22 FYI this is how it works :) http://pastebin.ca/1503406 Jul 22 17:24:30 btw is there a more elegant way to do that? Jul 22 17:25:29 I think the alternative would be to have multiple Activities Jul 22 17:25:38 never did that :P Jul 22 17:25:40 but I'm not sure if that'd be more elegant Jul 22 17:25:41 how to do? Jul 22 17:25:43 yeah, me either Jul 22 17:26:19 Can anyone tell me again what the reasoning was not to include a screenshot key combination in Android like iPhone has? Jul 22 17:26:41 there is indeed a program Autarkis, but you need root Jul 22 17:27:04 Uhm? Jul 22 17:27:20 Yes, uhm ... were was that again? They took it out of the Market I think. Jul 22 17:27:26 It was Koush's I remember. Jul 22 17:27:36 http://www.sizzledcore.com/2009/02/06/take-screenshots-on-android-phone/ Jul 22 17:29:25 how hard is it to get root? I know you get it by default on the dev phone, but I guess for a G1 or a mytouch you'd need to hack it? Jul 22 17:29:44 there are plenty of guides Jul 22 17:29:50 search in google Jul 22 17:29:53 g1 root Jul 22 17:30:47 Thanks. Jul 22 17:36:46 Gaz: you there? Jul 22 17:36:48 is there anyone who could provide me with exemplary trace file? i would like to try out the trace viewer (because of a genuine interest in trace analysis) - the examples don't look complex enough to really make use of it :o Jul 22 17:57:45 i'm setting up my first contentprovider using SQLite. Anyone know why I might get a 'SQLiteException: near "Table": syntax error: DROP TABLE IF EXISTS Table' error when executing the following code in onUpgrade? Jul 22 17:57:47 db.execSQL("DROP TABLE IF EXISTS " + getTableName(tableType) ); Jul 22 17:58:27 OH. I'll bet it's because my table is named Table. Jul 22 18:05:06 ha ha don't do that :) Jul 22 18:05:18 http://xkcd.com/327/ Jul 22 18:05:26 little bobby tables. Jul 22 18:05:45 exactly Jul 22 18:06:03 Jul 22 18:06:33 a friend of a friend of mine named their pet cat 'G33K' (the couple owning the cat are geeks) and confused their vet. Jul 22 18:06:44 "Why did you name your cat a serial number?!" Jul 22 18:06:53 "What kind of people are you?!" Jul 22 18:09:28 heh Jul 22 18:10:19 ctate, we were looking for you in -offtopic earlier :) Jul 22 18:10:33 why? i've never been in that channel :) Jul 22 18:11:35 also heh, nice to be missed Jul 22 18:12:10 ctate, we were talking about nitrous oxide and whether nos and nox and n2o are all the same thing :) Jul 22 18:12:15 like I said, it's -offtopic ;) Jul 22 18:14:05 -offtopic^2 I was at a bar last night that was talking about using liquid nitrogen to force alcohol into fruits (like cucumber), basically replacing most of the water with alcohol without affecting texture or structure Jul 22 18:14:38 interesting Jul 22 18:14:46 i've used LN2 to make ice cream before. it's great. Jul 22 18:15:32 i've only used ice and rocksalt and a shitload of cranking Jul 22 18:16:22 LN2 is awesome because it freezes so fast, you get a very even, fine texture Jul 22 18:16:53 but yes this is all desperately off-topic Jul 22 18:21:11 final word: ctate, IIRC you enjoy cocktails. If you make it up to the city anytime soon there's a relatively new bar called Gitane in the financial district that specializes in variations on french standards. they seem to have a thing for sherry cocktails right now. First time last night, enjoyed it, add it to the Alembic and the rest of your list if you get a chance Jul 22 18:21:25 ooooooooh. Jul 22 18:21:28 noted. Jul 22 18:21:33 haha Jul 22 18:21:42 btw i had an awesome simple cocktail at Oliveto the other day Jul 22 18:22:18 so you should make a trip to oakland :) Jul 22 18:24:32 "Prosecco, Nardini “Aqua di Cedro” citron liqueur, Amaro, Lemon twist" Jul 22 18:24:43 lowball glass with ice and the lemon twist Jul 22 18:25:22 RIGHT enough of that. Jul 22 18:25:31 so, how 'bout them Views? Jul 22 18:25:55 they're having a good year but will probably want to pick up someone before the trading deadline. Jul 22 18:26:36 I hear they'll get a stats boost when the donut season commences. Jul 22 18:27:05 but let's be honest--who won't? Jul 22 18:27:47 Is there a way to have multiple textview elements displayed on a single line? Jul 22 18:28:56 just put them side by side in your layout, no? Jul 22 18:29:17 note of course that you don't have a lot of horizontal space to play with Jul 22 19:06:27 is there anyone who could provide me with exemplary trace file? i would like to try out the trace viewer (because of a genuine interest in trace analysis) - the examples don't look complex enough to really make use of it :o Jul 22 19:44:54 woohoo Jul 22 19:51:13 can someone tell me how to output to logcat? Jul 22 19:52:27 from code? Jul 22 19:52:31 import android.util.Log; Jul 22 19:53:02 Log.i("tag", "message goes here"); // sends something like: I/tag(pid) message goes here Jul 22 20:05:48 is there anyone who could provide me with exemplary trace file? i would like to try out the trace viewer (because of a genuine interest in trace analysis) - the examples don't look complex enough to really make use of it :o Jul 22 20:44:11 herriojr: ping? Jul 22 20:44:24 the one with the appwidget questions is back ;) Jul 22 20:45:40 the_alien: yo :) Jul 22 20:45:47 how is the messagewidget going? Jul 22 20:46:09 going like in how it develops or how the people like it? :) Jul 22 20:46:24 both I guess ;) Jul 22 20:47:31 nearly 4.000 downloads Jul 22 20:47:36 rated 3.5 Jul 22 20:47:57 * the_alien hates people that don't know how to use a widget and rate it 1* Jul 22 20:48:19 most complain about, that it doesn't look like hero or is too big Jul 22 20:48:52 ok Jul 22 20:49:01 from the developer side: i'm doing some big changes in the source code, reuse code of the SMS Popup Jul 22 20:49:12 making it configurable Jul 22 20:49:34 so it's a work in progress to please the customers then :) Jul 22 20:49:45 added a new layout which is black and white with transparency Jul 22 20:49:52 yeah it is... Jul 22 20:50:12 oh and please me and learn about how widgets work and get into coding for android :) Jul 22 20:50:46 getting into it myself as we speak :) Jul 22 20:52:13 what are you doing to get into it? :) Jul 22 20:52:46 WTF? i can crash android.acore with a PendingIntent with FLAG_ONE_SHOT flag Oo Jul 22 20:53:29 I'm just playing around with some views and some sms stuff :P Jul 22 20:53:51 nothing usefull for the public though, it's more of use for me and some guys at work.. Jul 22 20:54:26 had to release the widget, otherwise i would have put it away and did something else without finishing anything ;) Jul 22 20:54:36 I see.. Jul 22 20:55:12 I guess you have to bring some updates, now that you have 4000 downloads :) Jul 22 20:56:20 already did 2 updates. but that were just bugfixes ;) Jul 22 20:56:34 ok, oneshot flag is bad Jul 22 20:56:36 I actually looked at your source for reference on some stuff :) Jul 22 20:58:13 the source is pretty bad. but it works ;) Jul 22 20:58:17 :) Jul 22 20:59:26 trying to get a new working version ready for some betatesting before me holidays Jul 22 20:59:39 18 days sailing in turkey Jul 22 20:59:54 is there anyone who could provide me with exemplary trace file? i would like to try out the trace viewer (because of a genuine interest in trace analysis) - the examples don't look complex enough to really make use of it :o Jul 22 21:00:19 the_alien: sounds really nice.. Two weeks to holiday for me aswell Jul 22 21:01:48 turkey? mm doner kebab Jul 22 21:01:56 sorry, what were you saying? :) Jul 22 21:02:04 hmmm raki! Jul 22 21:02:05 :) Jul 22 21:02:31 self harpooned fish Jul 22 21:08:35 ok Jul 22 21:08:50 i need a little help with some basics Jul 22 21:09:03 i havent programmed in java in a long time Jul 22 21:09:28 i am writing code and i keep getting this error saying i need to intialize my varibles Jul 22 21:09:52 but once i do i get a error in the emulator Jul 22 21:10:42 pastebin it :D Jul 22 21:11:30 System.out.println("Fetching access token..."); Jul 22 21:11:30 Jul 22 21:11:30 Jul 22 21:11:30 Jul 22 21:11:30 Jul 22 21:11:31 try { Jul 22 21:11:33 String authUrl = provider.retrieveRequestToken(OAuth.OUT_OF_BAND); Jul 22 21:11:35 } catch (OAuthMessageSignerException e) { Jul 22 21:11:37 // TODO Auto-generated catch block Jul 22 21:11:39 e.printStackTrace(); Jul 22 21:11:41 } catch (OAuthNotAuthorizedException e) { Jul 22 21:11:43 // TODO Auto-generated catch block Jul 22 21:11:45 e.printStackTrace(); Jul 22 21:11:47 } catch (OAuthExpectationFailedException e) { Jul 22 21:11:49 // TODO Auto-generated catch block Jul 22 21:11:51 e.printStackTrace(); Jul 22 21:11:53 } catch (OAuthCommunicationException e) { Jul 22 21:11:55 // TODO Auto-generated catch block Jul 22 21:11:57 e.printStackTrace(); Jul 22 21:11:59 } Jul 22 21:12:01 Jul 22 21:12:03 Jul 22 21:12:05 System.out.println("Request token: " + consumer.getToken()); Jul 22 21:12:07 System.out.println("Token secret: " + consumer.getTokenSecret()); Jul 22 21:12:07 www.pastbin.com Jul 22 21:12:09 Jul 22 21:12:11 this.startActivity(new Intent(Intent.ACTION_VIEW, Uri.parse(authUrl))); Jul 22 21:12:13 this is where the errors come in Jul 22 21:12:24 you'll get kicked if you spam like that ;) Jul 22 21:12:43 authUrl is a local variable only available in the try block Jul 22 21:13:08 make it String authUrl = null; try {...}.... this.startActivity... Jul 22 21:13:31 i tried null i put null i get errors in the emulator Jul 22 21:14:01 yeah, if it doesn't get a value in the try block Jul 22 21:14:28 have to check if(authUrl == null) befor using it Jul 22 21:15:44 Radzell: check logcat for errors and you'll see WHAT exactly the error is ;) Jul 22 21:16:48 Radzell: you are declaring a local variable no? Jul 22 21:16:59 so you can't use it outside the try block Jul 22 21:18:57 logcat will give you everything Jul 22 21:21:35 frez: thats what i said ;) Jul 22 21:22:02 the_alien: ahh :P Jul 22 21:24:38 where can i find my database tables that i have created.. i mean where should i browse using ADB Jul 22 21:32:18 ping Jul 22 21:32:20 ah Jul 22 21:32:27 smartfish: /data/data ? Jul 22 21:34:55 the_alien: it shows com.androd.... Jul 22 21:34:55 but not what i want Jul 22 21:38:22 smartfish: Emulator/device instances store SQLite3 databases in the folder /data/data//databases/. Jul 22 21:40:52 it says: cd: can't cd to com.android.settings/databases/ Jul 22 21:43:54 in the there is nothing called as databases Jul 22 21:48:22 oh, you want to look at *system* databases. gotta have a root shell to do that. Jul 22 21:51:25 even though, what do you want to do with the naked files? Jul 22 21:54:38 Hello all Jul 22 21:54:57 is there another an unlocked android developers phone Jul 22 21:55:34 the ion Jul 22 21:55:41 but you can't buy that ;) Jul 22 21:55:57 Ok Jul 22 21:56:15 the_alien_ do you mind a couple of more question Jul 22 21:56:34 I am just getting into android programing Jul 22 21:56:36 and I mean just Jul 22 21:56:54 go ahead :) Jul 22 21:57:00 I have only done the hello world program from the developers site Jul 22 21:57:14 two important questions for me Jul 22 21:57:34 Is there a downloadble and searchable .chm file of the aptana api Jul 22 21:57:47 And second is there a good pdf tutorial for beginners Jul 22 21:57:56 I know I can go to the developers site Jul 22 21:58:03 but I want something I can read offline Jul 22 21:58:25 the whole dev site content is bundled in the SDK that you installed, i believe Jul 22 21:58:53 and if that's not good enough, aren't there a couple books that have been written? Jul 22 21:59:35 oh, the website is bundled Jul 22 21:59:46 really Jul 22 21:59:48 what directory Jul 22 21:59:52 doc :D Jul 22 21:59:56 docs Jul 22 22:00:01 offline.html Jul 22 22:00:04 cool Jul 22 22:00:07 that will help Jul 22 22:00:23 fuck. that means i will be coding on our boat Jul 22 22:00:25 :D Jul 22 22:00:29 it would still be good to have a searchable .chm though Jul 22 22:00:45 Say what you will about windows that chm formate for me is great Jul 22 22:00:57 i have to say that android/dalvik is really amazing. apache felix runs fine, with remote-osgi and the on-the-fly stub generation using bytecode engineering with asm and then dx on the phone itself working perfectly. Jul 22 22:01:14 I do not have to go scolling thru a long document to fine the explanation of a method or class Jul 22 22:01:22 just type in the name and viola Jul 22 22:01:29 shaba, what about strg+f ? Jul 22 22:01:38 Shaba1: Jul 22 22:02:11 strg+f? what is that. I bet its a linux command. Jul 22 22:02:22 :) Jul 22 22:02:24 yes I know this is a linux dominated network Jul 22 22:02:36 u can't be serious Oo Jul 22 22:02:38 and I am clearing off room on my hd to install a distro Jul 22 22:02:50 i'm using mac os Jul 22 22:02:51 ;) Jul 22 22:03:33 the_alien_: did you mean to say "Ctrl+F" ? Jul 22 22:03:48 Tianon: oh yeah, its CTRL on the english layout Jul 22 22:03:51 yeah, "strg" is german for "ctrl" Jul 22 22:03:55 heh :) Jul 22 22:03:55 it's strg in germany Jul 22 22:04:08 probably why Shaba1 is confused -- I'm guessing he's not german :P Jul 22 22:04:14 Yeah that works the_alien_ Jul 22 22:04:21 but I just like that .chm formate Jul 22 22:04:40 *looks at his keyboard* my macbook has "ctrl" written on it too... my bad :D Jul 22 22:06:23 aren't there tools available that take html files and create chm files? I mean, they have to create them somehow, and they're just an archive of HTML files in reality Jul 22 22:08:17 I now Jul 22 22:08:19 so if you really love the chm format, you might want to google around and look for something like that :) Jul 22 22:08:22 I use to have a freeware one Jul 22 22:08:33 but I lost it somewhere on my hd or on a flash or somewhere Jul 22 22:08:42 and I cannot find that site online anymore Jul 22 22:08:52 * ctate . o O ( what is .chm ? ) Jul 22 22:09:02 compiled windows help Jul 22 22:09:06 SHUN Jul 22 22:09:11 sorry, that just slipped out Jul 22 22:09:11 indeed Jul 22 22:09:20 haha Jul 22 22:09:26 it's pretty terrible. it's really just html :p Jul 22 22:09:32 haha ctate :D Jul 22 22:13:34 back in my own windows days, I used an editor or two that had excellent support for CHM helpfiles, but nothing else -- very frustrating, indeed Jul 22 22:14:02 I've since ditched the idea of my editor linking to my helpfiles, and use the two tools separately -- much better experience imo :) Jul 22 22:36:19 the_alien_: hey Jul 22 22:36:37 hey herriojr Jul 22 22:36:44 the_alien_: you pinged? Jul 22 22:37:03 yeah, having problems with pending intents being reused Jul 22 22:37:14 everything is fine if i have only 1 widget Jul 22 22:37:40 but if i have more than one, only the last will be updated, no matter on what widget i press the button Jul 22 22:52:41 the_alien_: I'd have to look at it Jul 22 22:53:27 herriojr: that is due to the fact, that i pass the widget id as extra in the intent Jul 22 22:54:35 the_alien_: ah ok, so you might need to use another flag for the pending intent Jul 22 22:54:48 tried FLAG_ONE_SHOT Jul 22 22:54:56 but that caused the android.acore to crash Jul 22 22:56:55 the_alien_: you may try including the widget id as part of the data uri Jul 22 22:57:03 the_alien_: I don't know if that will work, however Jul 22 22:57:14 don't use data uris Jul 22 22:57:30 thought about adding it to the action... Jul 22 22:57:32 dunno Jul 22 22:57:56 the_alien_: I wouldn't add it to the action, b/c that has to be specified in the AndroidManifest which is static Jul 22 22:58:05 ah yeah Jul 22 22:58:18 right, that was why i haven't tried it :D Jul 22 22:58:29 sorry, playing while we talk ;) Jul 22 22:58:46 the_alien_: but putting it in the data uri should make it unique compared to the other widgets of yours on screen Jul 22 22:59:12 ah data in the intent... Jul 22 22:59:16 yeah, sounds good Jul 22 23:03:29 im using linux, and trying to setup my actual device. however the command adb devices doesnt work. it says invalid command. im a bit new to linux, so i tried chmod +x adb, but that didnt work Jul 22 23:03:31 any ideas? Jul 22 23:03:54 sweet, ./adb devices seems to work Jul 22 23:10:20 BoomShaka: put it in your PATH variable for simplicity Jul 22 23:10:36 BoomShaka: what linux distro are you using? Jul 22 23:12:16 ubuntu hardy Jul 22 23:12:21 its working now Jul 22 23:14:51 when i execute adb devices, it shows the devices as HT838324blahblah. is there a way to make that friendlier, or customised it, i.e. phone1 Jul 22 23:16:36 BoomShaka: just use "-d" when you need the device and "-e" for the emulatur Jul 22 23:16:45 s/emulatur/emulator Jul 22 23:21:29 Not a very talkative group here... Jul 22 23:22:23 there's also #android Jul 22 23:22:43 which tends to be more chatty (and a bit more tilted towards platform hackery as opposed to app development) Jul 22 23:23:44 ctate: yeah, I noticed that Jul 22 23:24:19 I'm not real interested in hackery, lol Jul 22 23:30:04 Anybody here developing games? Jul 22 23:37:05 Not I. Jul 22 23:37:17 I have not even gone beyond "Hello Android" Jul 22 23:37:21 But I will Jul 22 23:37:52 _Auron_ has an awesome game he's working on for ADC2 Jul 22 23:38:16 <_Auron|G1_> heh thanks Jul 22 23:38:43 when i load eclipse my android sdk content loader always gets stuck at 60%, i tried a bunch of things.. anyone know a solution to this probleM? Jul 22 23:38:49 _Auron_: I've seen the vids and looking forward to seeing it soon! :) Jul 22 23:39:03 <_Auron|G1_> radix: august 1st hopefully Jul 22 23:40:09 _Auron|G1_: email me a package so I have something to do in the meantime will ya, your last email must have gotten lost somehow.. hehe..*whistles innocently* Jul 22 23:40:10 we need more games Jul 22 23:40:43 <_Auron|G1_> it lacks sound and a bunch of other things, has a few critical bugs too Jul 22 23:40:50 <_Auron|G1_> data is not stored yet either Jul 22 23:41:11 Ahh k.. well if you need a tester before 1 aug, lemme know ;) Jul 22 23:41:32 <_Auron|G1_> okay :) Jul 22 23:42:33 _Auron|G1_: What kind of game? Jul 22 23:44:21 <_Auron|G1_> action game like asteroids where you continually destroy stuff Jul 22 23:44:35 <_Auron|G1_> check youtube for Stroids Score and Swarm Jul 22 23:45:09 cool, will do Jul 22 23:46:12 <_Auron|G1_> it is my android developer challenge entry. and it'll be on the market for 2.99 Jul 22 23:46:47 I wish I had a good idea for adc 2 Jul 22 23:47:08 puppies! Jul 22 23:47:17 figure out a way to OTA a puppy to the phone == instant win Jul 22 23:47:23 <_Auron|G1_> stroids is a game I made in darkbasic pro a few years ago but never finished Jul 22 23:47:31 <_Auron|G1_> lol Jul 22 23:47:40 all my ideas fizzled out Jul 22 23:47:56 <_Auron|G1_> androidogs, like nintendogs Jul 22 23:48:12 ha puppies. :) Jul 22 23:48:18 <_Auron|G1_> totally possible to port actually o.O Jul 22 23:48:42 <_Auron|G1_> android phones are more powerful than the ds is Jul 22 23:48:53 <_Auron|G1_> touchscreen, mic, and better 3d hardware Jul 22 23:49:05 mew. ASE requires python 2.6. Jul 22 23:49:33 <_Auron|G1_> vr too Jul 22 23:49:33 true Jul 22 23:49:37 _Auron|G1_: I'd play it :) Jul 22 23:49:46 <_Auron|G1_> stroids or androidogs? Jul 22 23:50:04 androidogs :D Jul 22 23:50:04 both :) Jul 22 23:50:09 <_Auron|G1_> I'm not into 3d dev :p Jul 22 23:50:25 but think of the puppies! :) Jul 22 23:50:36 I've done very very little 3d Jul 22 23:50:43 <_Auron|G1_> same Jul 22 23:51:15 <_Auron|G1_> I got 2nd in TSA national videogame design my senior year in highschool for making a butchered 3d platformer though Jul 22 23:51:27 I'm just not that good at math Jul 22 23:51:30 <_Auron|G1_> technically 1st.. germany got 1st Jul 22 23:53:29 <_Auron|G1_> I suppose I should throw in my name on the titlescreen and add a credits screen under Extras Jul 22 23:57:56 you see butchered platformer, I see prior experience :) androidogs++ ;) Jul 22 23:59:00 nEx: maybe a free online Chess + Go client, with smooth UI. that would be perfect! Jul 23 00:00:54 10dollar IGS Go app is much to high priced. and merging chess and go in one client that notifies you in the statusbar about recent moved in online sessions youre playing.. so on.. Jul 23 00:01:44 <_Auron|G1_> 10$ go app? lol Jul 23 00:01:47 s/moved/moves Jul 23 00:03:06 _Auron|G1_: yeah, sound like a joke. but its connecting to IGS server (internet go server protocol) which is allready invented and handles all the multiplayer part. Jul 23 00:03:15 <_Auron|G1_> eh Jul 23 00:03:20 there is also a free singleplayer Go on the market Jul 23 00:03:29 <_Auron|G1_> still Jul 23 00:03:40 yeah Jul 23 00:03:56 <_Auron|G1_> breaking the $5 mark for a phone app is very very iffy Jul 23 00:04:13 <_Auron|G1_> market-wise Jul 23 00:16:14 lianj: I've got much of a cribbage app done Jul 23 00:18:03 may utilize app engine and some code of blitz chess game Jul 23 00:19:56 $5 is absolute max id pay for phone app Jul 23 01:57:13 ahh, finally home Jul 23 01:59:37 IRC is your home? Jul 23 02:00:14 Is the ADT incompatible with Galileo and/or 64-bit Ubuntu 9.04? Jul 23 02:00:32 I've added the sdk location in the eclipse preferences and hit apply, but no targets show up Jul 23 02:04:48 well then Jul 23 02:04:59 another reboot for eclipse (???) and it works Jul 23 02:10:50 http://pastebin.com/m62357622 Jul 23 02:11:09 can someone help with my code it probably a very simple thing to fix Jul 23 02:11:34 i keep getting error when i null a varuble for initialtion Jul 23 02:13:28 i keep getting errors in the emulator with my catch try Jul 23 02:16:23 Radzell: can you be more specific? "i keep getting errors" is a pretty shitty way to report an issue. Jul 23 02:25:00 something more descriptive like "it doesn't work" Jul 23 02:45:31 has anyone here received any money at any point for android coding? I'm just curious, thats all. Jul 23 02:46:34 yes, I have Jul 23 02:47:13 cool. Was it monotary? Jul 23 02:47:25 yeah, lol Jul 23 02:47:31 bad spelling oops Jul 23 02:47:55 but not mucj Jul 23 02:47:59 much Jul 23 02:48:00 what is non-monetary money? Jul 23 02:48:08 continous payment Jul 23 02:48:32 like salary Jul 23 02:48:43 or so I think Jul 23 02:48:53 I've gotten one off payments for wotk Jul 23 02:49:02 work Jul 23 02:49:54 I can't type on this darn virtual keyboard Jul 23 02:51:20 yeah they can be a pain Jul 23 02:51:55 I'm glad my phone has a physical keyboard, I just wish it had a little more cpu and ram Jul 23 02:52:40 I really should fire up my G1 just for the keyboard Jul 23 02:52:50 heh Jul 23 02:53:07 what were you using before? Jul 23 02:53:18 G1 Jul 23 02:53:50 you made it sound like you were switching to your G1 Jul 23 02:54:26 oh, i crashed didn't think that made it through Jul 23 02:54:41 I am on Ion Jul 23 02:55:53 great phone but love the G1 keyboard **** ENDING LOGGING AT Thu Jul 23 02:59:57 2009