**** BEGIN LOGGING AT Tue Jun 09 02:59:57 2009 Jun 09 03:35:30 yawn Jun 09 03:36:50 that was what i was thinking Jun 09 03:45:25 Good evening! I'm just getting started in Android development, and I've got a quick question. I'm trying to embed a ListView inside a Tab, and I'm not finding much through a Google search or documentation scan to teach me how to do it. Does anyone have a link to some good reference material that covers that? Jun 09 03:50:36 romainguy_: I'm looking at AsyncTask / UserTask, just curious: why do you declare the inner private classes as static? what does that do? Jun 09 03:50:59 it gets right of the synthetic reference to the outer class' instance Jun 09 03:51:04 -right+rid Jun 09 03:51:08 which pretty much avoid leaks Jun 09 03:51:44 ok, I see Jun 09 03:52:10 I kinda wish that the synthetic reference was a weak reference by defualt Jun 09 03:52:12 default Jun 09 03:54:03 so, it just prevents you from accessing the outer class's members Jun 09 03:54:39 yes Jun 09 03:56:44 thanks... Jun 09 04:38:15 romainguy: if I can bug you a bit more, why do you use the TheadPool for UserTask? It appears that because you can only execute() once, there should only ever be 1 thread? Jun 09 04:39:21 (finally studying java.util.concurrent, and I'm pretty familiar with UserTask's usage, so easy example for me) Jun 09 04:42:24 well, I guess a ThreadPool is the most convenient....I guess the question is why not use a single thread ThreadPool Jun 09 04:47:16 the threadpool is static Jun 09 04:47:22 it's shared amongst all user tasks Jun 09 04:48:19 ahhhh Jun 09 04:50:58 that makes sense... Jun 09 04:51:30 so you can execute a bunch of user tasks simultaneously without launching more than 10 threads...neat Jun 09 04:56:12 yeah if you launch more than 10 at a time, the 11th will wait until a thread is done Jun 09 04:56:36 very cool... Jun 09 04:57:22 definitely. I'm so psyched on AsyncTask even though I can't fully use it's power yet :) Jun 09 04:57:48 KNY: the java file is pretty small, you can just drop it in your project Jun 09 04:58:08 zhobbs_, no, I have 1.5, I'm just not experienced enough with it :) Jun 09 04:58:15 ahh Jun 09 04:58:26 I'm no romainguy ;) Jun 09 04:58:56 it's easy to use...I think I'm going to add some stuff on to it, or work on a more specific NetworkAsyncTask Jun 09 05:26:06 romainguy: you there? Jun 09 05:28:38 nevermind actually Jun 09 05:50:04 does anyone elses g1 think its had its orientation changed when it hasnt? Jun 09 06:17:19 My app downloads an .xml file to retrieve a piece of string.. However, if the user doesnt have network coverage my app hangs for ages before returning the catch error.. and in most cases Android gives a force close message Jun 09 06:17:23 what can I do? Jun 09 06:20:29 i supposed theres some checkForInternets() method somewhere? :) Jun 09 06:20:45 Untouchab1e: Use a service/background thread to avoid the force close, and consider using a timeout if you want to limit the time waiting. Jun 09 06:21:05 Untouchab1e: catch the related exceptions and handle it Jun 09 06:22:43 <[1]Untouchab1e> So how would I implement a timeout? Jun 09 06:23:17 yeah, and catch all other exceptions Jun 09 06:25:42 probably depends on how you do the downloading. HttpConnectionParams has setConnectionTimeout() and setSoTimeout() methods Jun 09 06:30:19 I've restarted my *computer* and yet I cannot grab data from my phone through the eclipse emulator. Jun 09 06:36:15 where are downloaded apps installed Jun 09 06:49:58 hunterp: /data/app Jun 09 06:53:38 jasta: /data is empty Jun 09 06:53:52 i dont have dev phone fyi. does that matteR? Jun 09 07:24:12 anyone have any preferences for deserializing data? speed most important Jun 09 09:04:13 hi Jun 09 09:04:38 is there some way to get android market onto my avd? Jun 09 09:55:43 ugh.. I have a scrollview with height = FILL_PARENT and inside it a LinearLayout with height = FILL_PARENT, both have no paddings, no margins etc.. but the linearlayout is 3px smaller than the scrollview Jun 09 09:57:23 just letting you all know :P Jun 09 09:58:36 aha.. layout inside a scrollview that have height of fillparent don't have a meaning :P Jun 09 10:54:57 (12:45:54) schasch: Hello; I want to rename a folder on the sd...? Jun 09 10:54:58 (12:46:03) schasch: wich imports? Jun 09 10:54:58 (12:46:46) schasch: bOut = new BufferedOutputStream(openFileOutput("location_.dat", MODE_PRIVATE)); Jun 09 10:54:58 (12:46:46) schasch: //bOut.write(R.string.greeting_text); Jun 09 10:54:58 (12:46:46) schasch: //bOut.write("test"); ....does not work eather......... Jun 09 10:55:13 (12:56:38) schasch: building does not work.....bOut = new BufferedOutputStream(openFileOutput("location_.dat", MODE_PRIVATE)); is OK Jun 09 10:55:14 (12:57:09) schasch: bOut.write("test");....should go........but shows an error in the sdk Jun 09 10:55:53 (12:57:50) schasch: I do not even know wich functions,imports I have to use to change a folder-name in android....so I test creating a file... Jun 09 11:16:38 gah, anyone know how to upload to picasa using global credentials? Jun 09 11:35:15 can I execute shell orders ...like system(""); in C ? Jun 09 11:36:18 after a mount -o remount,rw /dev/root / I can do a mkdir Jun 09 11:48:15 hi Jun 09 11:48:37 i'm missing the calendar application on my (newly downloaded) android sdk ... Jun 09 11:48:43 is there some way to retrieve it? Jun 09 11:50:39 i want to write a special widget, but i need the calendar for it first Jun 09 12:23:32 anyone know how to upload pictures to picasa? Jun 09 14:10:07 Is there any way to check if a GL10 is valid? I'm having trouble getting my screen rendering properly. Jun 09 14:22:00 not sure, im having probems with opengl too Jun 09 14:22:05 did u do setContentView(v); ? Jun 09 14:22:57 Yep. Jun 09 14:23:42 Trying to split the AndroidGL tutorial base view into a few different classes. its not going very well. http://pastebin.com/m42c95860 is the code for getting the GL context and GL10 but nothing is rendering to the screen and no GL errors are thrown. Jun 09 14:23:44 ah its pissing me off Jun 09 14:24:01 Same here. Jun 09 14:24:03 i just jept baseview Jun 09 14:24:06 kept Jun 09 14:24:12 Whats your problem Jun 09 14:24:15 Not rendering at all? Jun 09 14:24:20 i just want to draw a dot or something Jun 09 14:24:24 well ican get a triangle to render Jun 09 14:24:37 Is changing the clear color working? Jun 09 14:24:37 but it does all this mad buffer stuff in init and if i adjust that in draw it goes wild Jun 09 14:24:42 yes Jun 09 14:24:48 heelo, How can I write at console for debugging? Jun 09 14:24:51 i just want liek gl.drawDot(); Jun 09 14:25:01 schasch System.out.println("hi"); Jun 09 14:25:09 thanks!! Jun 09 14:25:12 Oh right. You want the GL functions like GL.glBegin and stuff, I miss them too. Jun 09 14:25:14 np Jun 09 14:25:18 yes Jun 09 14:25:30 glvertex or something Jun 09 14:25:37 instead of glvertexpointer Jun 09 14:25:47 only cause im too coded out to be thinking hehe Jun 09 14:26:11 ES Seems to overcomplicate the already complicated process of getting GL rendering :( Jun 09 14:26:18 yeh Jun 09 14:26:24 ive seen some really easy ways to use it Jun 09 14:26:32 in other languages Jun 09 14:27:46 Same. Jun 09 14:28:09 ES Or normal GL you meen? Jun 09 14:28:20 GL Jun 09 14:28:32 SDL With GL is the best in my opinion Jun 09 14:28:41 i dont understand why making a new buffer makes it go weird Jun 09 14:28:48 im passing same data in on each frame Jun 09 14:28:56 Hmm Jun 09 14:28:56 triangleBuff = makeFloatBuffer(new float[] { -0.25f, -0.25f, 0.0f}); Jun 09 14:29:34 i wrote this code in processing in minutes Jun 09 14:29:38 processing is awesome Jun 09 14:29:48 processing is pretty fun for rapid prototyping, yeah Jun 09 14:29:57 the hardware level support is pretty nice too Jun 09 14:30:07 yeh i use it as often as i can get away with it Jun 09 14:30:15 the visuals i write are all done in processing Jun 09 14:30:46 mobile processing has even saved the day at some points, despite being just as bad as j2me since it cant help that Jun 09 14:31:56 Is there any list of OpenGL Errors Jun 09 14:32:02 android OpenGL errors* Jun 09 14:32:46 Gaz`_I put it in my code(syste("....) but I do not see anything in console...should I activate or import something? Jun 09 14:33:40 schasch u using eclipse? do you have a real device? Jun 09 14:33:58 LogCat should work for both, Try using Log.d or Log.v instead. Jun 09 14:34:06 schasch: uh.... what? Jun 09 14:34:49 schasch: Log.d("Your tag", "Your message"); Jun 09 14:35:05 or did you mean for processing Jun 09 14:35:21 no he means android Jun 09 14:35:28 then H Jun 09 14:35:29 er Jun 09 14:35:31 http://developer.android.com/reference/android/util/Log.html Jun 09 14:35:33 fackGL! Jun 09 14:35:48 too complex for me hehe Jun 09 14:35:55 Gaz_: No...eclipse tooo android1.1 Jun 09 14:36:17 schasch i use adb logcat from a cli in androidsdk/tools/ Jun 09 14:37:00 Lol I'm just trying to render a graph with some fancy graphics. How can I work out what OpenGL error 12288 meens? Jun 09 14:37:57 dont ask me i can even draw a dot Jun 09 14:38:00 cant Jun 09 14:38:49 Gaz Dont you just have to make a float Buffer of 3 points to draw a dot? Jun 09 14:38:51 Gaz`.logcat rocks!!!! thankx Jun 09 14:39:04 schasch yes its awesome eh :) np Jun 09 14:39:16 Gaz`: I thought I see it in eclipse.... consolo-tab... Jun 09 14:39:41 Mmjack: i have the 3 floats sitting ready, in processing its just line(x,y,z,x1,y1,z1) Jun 09 14:39:56 schasch yeh i think DDMS does that or something but logcat is better imho Jun 09 14:39:59 vol:where is the resul written? Log.d("Your tag", "Your message"); Jun 09 14:40:21 Mmjack: While "Error 12288" is not standardized in OpenGL, it is commonly used to indicate a corrupted memory profile. Jun 09 14:40:58 Mmjack: i can make the buffer too but something is affecting it, it should be static surely if im remaking it constantly with same vals Jun 09 14:41:31 Mmjack, it works if i make it once, but i want to change the values Jun 09 14:41:37 Oh Jun 09 14:41:43 mainly because i havent found a good enough example to hack yet Jun 09 14:41:59 You seen the AndroidGL and AndroidTunnel examples? Jun 09 14:42:04 yeh Jun 09 14:42:06 using them now Jun 09 14:42:19 vol:OK in logcat too... I saw it! Jun 09 14:43:48 I'm on the verge of giving up....I hate this GL implementation :S Jun 09 14:44:15 hehe Jun 09 14:44:15 can sombody tell me a link of source to rename a directory....I didn't fount at google.... or a functionname...? Jun 09 14:44:17 sounds like me too Jun 09 14:44:39 Mmjack: welcome to the club ;) Jun 09 14:45:00 File.renameTo() doesn't do the job? Jun 09 14:45:18 schasch: http://www.exampledepot.com/egs/java.io/RenameFile.html Jun 09 14:45:21 schasch: Make a file of the directory using File("PathToDirectory) and then use renameTo() Jun 09 14:45:27 Ah damn, too slow Jun 09 14:46:13 Ge0rG:Mmjack:tanksx...I will have a look.... Jun 09 14:46:20 Why is this damned GL implementation so bad :@ Jun 09 14:46:52 i hate placing stuff in 3d and u know its there but u cant see it Jun 09 14:46:59 prob 2,000,000 miles away Jun 09 14:47:08 Ah well, I guess I'll stick to 2D and software rendering. Same Gaz lol. Jun 09 14:47:23 thats what i was thinking back to 2d, and i could fake the 3d Jun 09 14:47:33 seems such a shame tho with h/w acceleration availablwe Jun 09 14:47:38 Yeah... Jun 09 14:47:40 and 2d drags so badly Jun 09 14:47:55 I'll give it on last go. Jun 09 14:48:05 gohna delete move of what i'v done tho Jun 09 14:48:43 yeh im just lookign for the simplest example ever, perhaps a starfield done in opengl Jun 09 14:48:48 android opengl that is Jun 09 14:48:51 All i'm trying to do is visualize a set of Nodes from XML :( Jun 09 14:49:09 u could whip it up in processing in 10 mins :) Jun 09 14:49:49 I know Jun 09 14:51:21 AHh I wish android supported C++ :-( Jun 09 14:51:39 I wish iphone supported java :) Jun 09 14:51:50 Mmjack: you shoudl try the spritemethod sample. openGL makes a big difference when you get a lot of sprites to draw in 2D Jun 09 14:52:14 Gaz`_: why? so that the iPhone devs could be as frustrated as Android devs? ;) Jun 09 14:52:34 sammyF, whats that? can u give me a url for the sprotemethod sampple, im trying to draw many of thesame thing Jun 09 14:52:45 And for the iPhone to be slower :S Jun 09 14:52:45 yeah .. one sec Jun 09 14:53:18 yeh but atleast it wouldnt be closed to many devers Jun 09 14:53:22 not closed but hindered Jun 09 14:53:24 Gaz`_: http://code.google.com/p/apps-for-android/ Jun 09 14:53:58 awesome thx man! Jun 09 14:54:21 Gaz`_: true. I actually started out with the idea to develop for the iPhone ... but I don't own a mac, and I seriously don't feel like shoving money in Apple's throat ;) Jun 09 14:54:26 Gaz`_: np Jun 09 14:54:38 I just wish that GL was eisier to use. Everything else about Android I havnt really minded (I admit I havn't needed to use content providers yet). Jun 09 14:56:16 ah why does nothing just import and run Jun 09 14:58:11 :-( Because google are special. Jun 09 14:58:21 anyone seen this before DateUtils? Jun 09 14:58:28 sammyF its asking for it in those samples Jun 09 15:00:16 Gaz`_: when you try to run them? Jun 09 15:01:48 Object3D doesnt exist either Jun 09 15:01:55 trying to build them in eclipse to run them Jun 09 15:02:42 sounded good too Jun 09 15:02:48 Gaz`_: I only ran the spritemethod thing, and that ran out of the box for me Jun 09 15:03:16 yeh im just not having much luck today :) Jun 09 15:03:25 how hard can it be to draw a dot Jun 09 15:03:43 canvas.drawPoint() ftw ;) Jun 09 15:04:05 yeh but i want to simulate z too Jun 09 15:04:34 in other languages it was simple, even xna Jun 09 15:04:51 actually i think i ended up drawing a 1x1 pixel image Jun 09 15:04:53 lol Jun 09 15:04:56 or something hmm Jun 09 15:09:10 Yes! I have a rendering screen! Jun 09 15:09:24 well done! Jun 09 15:09:31 gratz :) Jun 09 15:09:38 If it gets as hard as that too draw cubes with text on them I'm gohna punch a chicken and probably break my G1. Jun 09 15:10:06 hehe] Jun 09 15:10:11 youll be a master by next week Jun 09 15:10:19 youll have wrapped the mess inside familar calls :) Jun 09 15:10:39 i think i might have fixed mine too hmm Jun 09 15:10:43 will knwo soon Jun 09 15:10:43 hehe Jun 09 15:11:00 At this rate it would be eisier to write my own GL implementation petition to have it accepted into android and then wait for the update. Jun 09 15:11:16 And I havnt got the first clue how I would do any of that :S Jun 09 15:12:04 hehe Jun 09 15:15:55 Now to draw cubes with little lines attached. Jun 09 15:19:54 Any TTF fonts implementation on android? Jun 09 15:21:15 how do you rreset after a translate Mmjack? Jun 09 15:21:50 Push a matrix then pop it Jun 09 15:22:09 gl.glPushMatrix(); Translate and draw gl.glPopMatrix(); Jun 09 15:22:12 ah yes Jun 09 15:22:12 thx Jun 09 15:26:09 hmm so you have to draw before u pop it? Jun 09 15:26:24 so if i drew 8 cubes id have 8 calls to gl.glDrawArrays(GL10.GL_TRIANGLE_STRIP, 0, 4); ? Jun 09 15:28:25 Uhhh Jun 09 15:28:29 Cant you just use a loop? Jun 09 15:28:37 yeh Jun 09 15:28:41 i just mean theoretically Jun 09 15:28:44 Oh right Jun 09 15:28:52 adding a loop right now :) Jun 09 15:28:53 Well if you called glDrawArays once per cube Jun 09 15:29:03 Then yes. Jun 09 15:29:08 But wouldnt it be a square? Jun 09 15:29:15 yes Jun 09 15:29:23 i just want to draw many many pixels really Jun 09 15:29:26 but have it fast Jun 09 15:29:38 Ah ok. Jun 09 15:29:44 i guess im just attempting ot hack it at first Jun 09 15:30:53 Yes my rectangles drawing! just gotta draw a load and in the graphs structure now :D Jun 09 15:31:38 :D Jun 09 15:37:21 :S Whats the easiest way of drawing text in OpenGL on android Jun 09 15:37:52 Gaz`_: did you watch the task on Android and games Jun 09 15:38:23 Gaz`_: http://code.google.com/events/io/sessions/WritingRealTimeGamesAndroid.html Jun 09 15:39:10 no not seen it thx Jun 09 15:39:25 s/task/talk Jun 09 15:41:26 mi looking for that too Mmjack Jun 09 15:41:45 I found a bitmap text example that...didnt work Jun 09 15:41:50 And thats about it. Jun 09 15:42:35 yeh youd assume drawing text was a simple call Jun 09 15:44:36 Nah Jun 09 15:44:57 I didnt, but their are usually TTF ports that are pretty easy to find...Well...there are for everything else... Jun 09 15:58:17 Well that sucks. Jun 09 15:58:39 The bitmap font test ended up drawing a oversized D where it was supposed to draw Hello World. Jun 09 16:01:55 Hmm, whats the quickest way of loading a texture from a android resource? Jun 09 16:05:15 I'm getting thoroughly sick of this already :S Jun 09 16:10:06 hehe me too Jun 09 16:11:52 :S I really want to kill something right now. Jun 09 16:11:57 A simple bitmap renderer wont work ffs. Jun 09 16:29:17 well its just turnesd my birthday and i been coding for 13 hrs Jun 09 16:29:25 co i am giving up in hunt of heinken :) Jun 09 16:30:43 Lol. Jun 09 16:32:38 Yeees! Some minor success. Jun 09 16:33:57 Still its only what I could of got using 2D stuff in 10 mins. Jun 09 16:37:04 Gaz`_: happy birthday man :) Jun 09 16:41:51 question, i have a custom view and set it on the xml but i cannot findViewById on it. I already set the id on the xml, and setContentView on the activity. Is there something i'm missing? tnx Jun 09 16:43:28 almondmendoza: What do you meen? You have a custom view that your loading from XML? Or your using setContentView(R.layout.view); to set the view? Jun 09 16:46:20 i have a class that extends surfaceview, then i have a layout file, on the layout file i input the class path. Then on activity, i set the layout by setContentView(R.id.layout_name) then after that line i findViewById Jun 09 16:46:48 setContentView(R.layout.gameView); Jun 09 16:46:50 dp = (GameView) findViewById(R.id.ANDROID_GAME_VIEW); Jun 09 16:47:54 Oh ok. Jun 09 16:48:04 THats odd. Jun 09 16:48:36 yap, everything that the surface does is okay. finding it is the issue Jun 09 16:49:20 so you did setContentView(LayoutWithGameViewInIt); dp = (GameView) findViewById(R.id.ANDROID_GAME_VIEW); and it didnt work? ... I'm clueless sorry. Jun 09 16:50:35 yap based the codes on this one http://google.com/codesearch/p?hl=en#94zkLTQdUak/trunk/undoer/src/com/juicygames/undoer/Undoer.java&q=ANDROID_GAME_VIEW&exact_package=http://juicygames.googlecode.com/svn Jun 09 16:52:03 All I can think of is check your setting the content view before trying to find the view and check that your Id In the layout is correct...But you'v probably checked both those things. Jun 09 17:01:08 grrr, have 12 items in a grid view on screen slows down dramatically :( Jun 09 17:30:23 WOuld somebody point me to any examples of rendering text in OpenGL on android. Jun 09 17:35:29 Mmjack: wish I knew, I have a game idea I want to do when I get time ;) Jun 09 17:37:21 Mmjack: ApiDemos includes something with the suggestive declaration "public class SpriteTextRenderer implements GLSurfaceView.Renderer..." Jun 09 17:38:00 * kRutOn spams the frameworks/base watchers with changes in Gerrit. Jun 09 17:40:38 Oh, I'v found one :-) thanks anyways. Jun 09 17:41:10 The android GL tuts had one hidden away Jun 09 17:41:20 How can I make my app prevent my phone from sleeping? Jun 09 17:44:52 wakelocks Jun 09 17:46:49 Mmjack: there's a permission for preventing the phone from sleeping, too. Jun 09 17:48:26 Mmjack: read up on http://developer.android.com/reference/android/os/PowerManager.html Jun 09 17:48:45 thanks. Jun 09 17:48:50 Both of you :) Jun 09 17:49:36 Hm, anyone know where resources bundles are stored for dalvik? Jun 09 17:50:26 kRutOn: which resources? Jun 09 17:50:44 The things for the different Locales Jun 09 17:51:40 Yay my wakelock works thanks a load :-) Jun 09 17:52:22 np Jun 09 17:52:57 Why are some things so easy and some things so hard on android :( Jun 09 17:53:08 does android let 3rd party software handle phone calls? Jun 09 17:53:21 i.e. make/terminate calls etc. Jun 09 17:53:59 kRutOn: you mean your files for different locales or the system/ Jun 09 17:54:01 ? Jun 09 17:54:44 the system Jun 09 17:56:01 let me look real quick, I think I know where they are Jun 09 17:57:18 doc_savage, no Jun 09 17:57:22 requires android.permission.WAKE_LOCK I'm getting a really long error with that at the end. I'v put android.permission.WAKE_LOCK into my applications xml info thing so why is it doing it. And why now when It didnt last time I ran the application :S Jun 09 17:57:39 damn!, I wanted to build a phone firewall! damned prank callers! thanks KNY :) Jun 09 17:58:13 doc_savage, yeah, it's kind of annoying but oh well Jun 09 17:59:06 yeah I guess they have their reasons, definitely wouldn't want dodgy software to get a hold of those features Jun 09 17:59:31 Looks like the locale data is from icu4c.. just need to figure out how it hooks up Jun 09 17:59:57 * ctate chimes in on android-platform@ about asynctask and configuration relaunch Jun 09 18:00:34 Argh I hate eclipse! Jun 09 18:00:43 but eclipse LOVES you! Jun 09 18:00:49 it's just trying to help! Jun 09 18:01:13 is there a way to attached a bitmap and send it using ACTION_SEND? Jun 09 18:01:22 It keeps freezing Jun 09 18:01:27 then giving me random error messages Jun 09 18:01:39 That are completely unrelated with anything I'm writing Jun 09 18:01:52 like unable to start project NULL and stuff :S Jun 09 18:02:05 well, project FunnyCharacters Jun 09 18:03:27 Finally...Finally it works Jun 09 18:03:55 kRutOn: it looks like it is in one of the jars in /system/framework Jun 09 18:04:07 AFAIK Jun 09 18:04:14 I can't find it in any of the other locations Jun 09 18:04:26 and I know the res directory for the framework is in core Jun 09 18:05:41 *shrugs* but don't take my word for it Jun 09 18:08:33 06-09 19:05:58.083: ERROR/AndroidRuntime(4190): java.lang.SecurityException: Permission Denial: starting Intent { flags=0x10000000 comp={android.NGINE/android.NGINE.Main} } from null (pid=-1, uid=-1) requires android.permission.WAKE_LOCK Jun 09 18:08:33 Why am I getting this damned error! Its driving me crazy... Jun 09 18:11:06 Mmjack: specifically, look at the end of the error: "requires android.permission.WAKE_LOCK" Jun 09 18:11:33 is android.NGINE inside your app? or is that another app? Jun 09 18:11:47 Mmjack: AndroidManifest.xml, in application section (I think) Jun 09 18:11:58 I'v already added that. Jun 09 18:12:34 I added the uses permission in. Jun 09 18:13:03 hmm... Jun 09 18:18:27 I'm building an app where users can draw stuff, then i want to email the stuff that they had drawn to their contacts. Is there a way to do it without saving the image on their phone and using URI? Jun 09 18:18:44 Mmjack: | Mmjack: there's a permission for preventing the phone from sleeping, too. Jun 09 18:18:49 i did tell you about that :) Jun 09 18:18:49 almondmendoza you can use the internal cache on the phone. Jun 09 18:19:09 Internal memory* Jun 09 18:19:28 Mmjack: when some functionality requires a permission, it means that your app has to request to use that permission Jun 09 18:19:39 it does this by putting the matching entry in its manifest Jun 09 18:19:43 @ctate: I just restarted eclipse and now its working. I think it was just a bad upload or build. Jun 09 18:19:56 @ctate: I know. Jun 09 18:20:01 aha, gotcha Jun 09 18:21:46 sry but do you what do you mean by internal memory? what do i have to search for (no clue at all) Jun 09 18:24:45 there's internal memory for the device, then there's the sdcard Jun 09 18:24:51 think of the memory like you would the hard drive on your computer. Jun 09 18:24:57 s/memory/internal memory/ Jun 09 18:25:13 Jun 09 18:25:13 private static final String kTempFileDirectory = Jun 09 18:25:13 "/data/data/android.NGINE/cache/"; replace the android.NGINE with the path of your application. Jun 09 18:25:46 get it, tnx a lot Jun 09 18:25:54 kRutOn: belated, you're submitting frameworks/base changes to source.android.com ? Jun 09 18:26:02 dangit now i have to start watching that repo :) Jun 09 18:27:08 ctate: yeah.. is that a problem? Jun 09 18:27:15 not at all Jun 09 18:27:22 just means more email i have to read :) Jun 09 18:27:39 I expect these to be approved next year :-D Jun 09 18:28:12 lol Jun 09 18:28:13 oh, docs fixes. le woot. Jun 09 18:28:16 krut: what changes did you make Jun 09 18:28:18 thank'ee mucho Jun 09 18:29:42 Can anybody give me a link to a quick OpenGL Texture loader. My one takes like 10 seconds to load a texture. Jun 09 18:30:01 argh i don't have approve rights in frameworks/base Jun 09 18:30:08 (extern) Jun 09 18:30:50 mmjack: smaller textures Jun 09 18:30:50 ? Jun 09 18:31:02 The texture is small Jun 09 18:31:09 hm Jun 09 18:31:19 ctate: I filed some bugs in the issue tracker before I realized I can just go change them myself Jun 09 18:31:29 s'okay Jun 09 18:31:38 ctate: also the docs in master are out of date versus donut and cupcake for some reason Jun 09 18:32:11 master is sort of the ultimate downstream tree at the moment Jun 09 18:32:18 specifically docs/html/guide/developing/other-ide.html Jun 09 18:32:22 er, jd Jun 09 18:32:24 Hello could someone help me with my problem please? I am using a Sqlite database. I am opening the database in onResume and closing it in onPause. I am not opening or closing it during my activity. When I have the phone in portrait mode and press HOME everything is fine. The db closes fine. But when I enter landscape mode and press HOME I'm getting: http://paste.pocoo.org/show/xlmQitKLbzNaM072RUjg/ Jun 09 18:32:30 What could be the problem for that? Jun 09 18:32:57 ctate: So are those just pending to be merged or ... Jun 09 18:33:26 kRutOn: er uh what? Jun 09 18:33:30 i merged the one i had rights for Jun 09 18:33:36 but can't approve/merge the others Jun 09 18:34:29 ctate: I meant the documentation like when you do: git diff korg/donut -- docs/html/guide/developing/other-ide.jd Jun 09 18:35:09 kRutOn: oh, i see what you mean. at some point there will be another push that will propagate stuff downstream Jun 09 18:35:19 ok Jun 09 18:39:50 * kRutOn tries to sneak a smiley into documentation. Jun 09 18:40:02 lol Jun 09 18:40:11 The name may contain uppercase or lowercase ASCII letters ('A' Jun 09 18:40:12 through 'Z'), numbers, and an underscore ('_'). Jun 09 18:40:13 stick an ascii weiner in there too Jun 09 18:41:20 if(8==D) { Log.d(ROFL,"LOL"); } Jun 09 18:43:35 lol Jun 09 18:44:01 Hi guys.. doing my baby steps with android, and stumbling onto a problem when parsing some XML data using DocumentBuilder. I have run this piece of code on Dalvik and on Sun's RE, and it gives quite different result. On the Sun JRE I get the expected result, while on Dalvik.. well, please take a look: http://pastebin.com/d2440ea53 Jun 09 18:44:18 Anyone see what I might be doing wrong here? Jun 09 18:48:10 Just read about android scripting Jun 09 18:48:12 pretty astounding Jun 09 18:49:19 numb: don't know why this is acting differently. It could be that you're using < and > instead of < > Jun 09 18:58:57 vol: thanks, that thought went through my head as well. I'll try to translate those html entities beforehand and see of that helps! Jun 09 19:06:49 Hi, anyone know a work-around for avoiding the gc to run because of gl.glVertexPointer(2, GL10.GL_SHORT, 0, mVertexBuffer); , filling up garbage? Jun 09 19:07:24 https://review.source.android.com/Gerrit#change,9029 this patch should fix it, but it doesn't seem to be a part of 1.5 as far as I can tell. Jun 09 19:08:49 anyone know how to upload pictures to picasa? Jun 09 19:09:12 mkay, I think it might be about time I buy myself a book or two about Android Development..... soo..... which ones at Amazon is considered to be best? I'm interested in both applications and games. Jun 09 19:09:13 t Jun 09 19:10:16 http://www.amazon.com/s/ref=nb_ss_gw?url=search-alias%3Daps&field-keywords=android+development&x=0&y=0 Jun 09 19:11:56 got another problem. if i save the image on internal memory then email, it doesnt attach with the mail whereas if i save it on sdcard it will attach the image, any permission i need for this? Jun 09 19:14:03 hi everyone Jun 09 19:14:37 im looking for someone to test my application.. it gets forced closed.. but i cant seem to replicate the bug.. its an application to sync windows live contacts to android Jun 09 19:15:57 the source is open Jun 09 19:18:13 Frostshock, you could try using something like this: http://code.google.com/p/android-remote-stacktrace/ Jun 09 19:20:42 KNY: thanks but the problem is that i cant get it to crash on my own phone Jun 09 19:21:27 Frostshock, right, did you look at what I linked? :) Jun 09 19:22:03 KNY: ohh.. Jun 09 19:22:10 i was a little to quick there Jun 09 19:22:30 this is good news indeed.. it posts the stack on crash? :) Jun 09 19:22:46 yeah, I highly recommend deploying it on your own server, though Jun 09 19:23:12 Frostshock, you get a bunch of traces like this: http://trace.nullwire.com/ Jun 09 19:24:08 sweet :) Jun 09 19:24:37 dont have my own server up an running atm though Jun 09 19:24:46 this appears to be both undocumented as well lacking the photo api: http://android.git.kernel.org/?p=platform/external/gdata.git;a=summary Jun 09 19:24:56 does anyone know how to upload photos to picasa? Jun 09 19:26:45 no idea Jun 09 19:27:47 I gitted the Camera app, which includes gallery, but it was not apparent how they were doing it Jun 09 19:28:19 grepping for picasa and upload was not very informative at least Jun 09 19:32:55 Has someone recognized the following bug in ListActivities. When you enter the home screen by pressing the HOME button in landscape mode after onPause the Listview adapter gets called once again. Jun 09 19:33:43 (in portrait mode this doesn't happen) Jun 09 19:36:16 xepra: A lot of stuff has just a kind of plugin API and they use that plugin to do functionality like Picasa Jun 09 19:38:17 KNY: do you know a good place to find testers? Jun 09 19:38:33 market.android.com Jun 09 19:38:57 perhaps somewhere with live feedback? :D Jun 09 19:39:19 craigslist.org? Jun 09 19:40:44 Frostshock: if you say 'tech savvy', KNY will reply /. :P Jun 09 19:40:56 hehe Jun 09 19:40:57 haha Jun 09 19:41:35 that is weird Jun 09 19:42:41 reworking an older application (pinit) ... keyEvent.KEYCODE_BACK isn't captured by onKeyDown nor onKeyUp Jun 09 19:42:45 oO Jun 09 19:43:51 ugh.. this is irritating - I still don't know why my activities are created twice when going from landscape to portrait in emulator (1.5r2) but not on the device (totally clean app that has just one activity with a logging statement in onCreate()) Jun 09 19:45:58 window manager does this for some reason: Jun 09 19:45:58 INFO/WindowManager(583): Config changed: { scale=1.0 imsi=0/0 locale=en_US touch=3 key=2/1/2 nav=3 orien=2 } Jun 09 19:45:58 INFO/WindowManager(583): Config changed: { scale=1.0 imsi=0/0 locale=en_US touch=3 key=2/1/2 nav=3 orien=1 } Jun 09 19:46:15 that's when going from landscape to portrait Jun 09 19:46:45 and activity gets 2x started Jun 09 19:50:33 tauno: the device is also running 1.5 ? Jun 09 19:51:36 sammyF: 'back' handling is done in the base method, so if your key handling isn't calling up to the superclass, you'll break it. Jun 09 19:51:38 yes Jun 09 19:51:45 tauno: wow, curious. Jun 09 19:52:03 when you change orientation, the activity is destroyed and recreated Jun 09 19:52:23 very weird that this is not happening on device Jun 09 19:52:28 I can throw a pastebin of my code but it's really just a Eclipse -> new Android project and nothing more Jun 09 19:52:46 ctate: it was. I only had forgotten to add setFocusableInTouchMode(true); Jun 09 19:52:59 setFocusableInTouchMode(true);!!!!!! Jun 09 19:53:00 @!#@@ Jun 09 19:53:00 @!#@# Jun 09 19:53:01 1!@# Jun 09 19:53:02 !2 Jun 09 19:53:05 sammyF: don't use that. Jun 09 19:53:12 ... Jun 09 19:53:15 hhaah Jun 09 19:53:21 I think romainguy___ just blew a circuit Jun 09 19:53:24 that's a 1.1 application btw Jun 09 19:53:26 if you think you need it, you're probably doing something wrong. Jun 09 19:53:27 (unless you're writing a game) Jun 09 19:53:27 ctate, on the device the activity is destroyed and a new one is created. on emulator the activity is destroyed and a new one is created twice Jun 09 19:53:31 ctate, he is Jun 09 19:53:31 I'm just fixing a few things Jun 09 19:53:36 tauno: TWICE? Jun 09 19:53:37 zomg Jun 09 19:53:38 romainguy: good. I am :P Jun 09 19:53:41 ok Jun 09 19:53:44 then proceed Jun 09 19:53:47 hahaha Jun 09 19:53:47 the rest of you, don't use it :p Jun 09 19:53:58 ha ha ha Jun 09 19:53:59 romainguy___, I've never considered using it, but what's so bad about it? Jun 09 19:54:09 it doesn't do what people think it does, mostly Jun 09 19:54:16 romainguy__: Could you tell me if it is normal that a ListActivity calls the adapters getView() method after you press the HOME key and after the onPause gets called? This only happens in landscape mode. Or is this a bug? Jun 09 19:54:19 there is not supposed to be "focus" in touch mode at all Jun 09 19:54:28 there's no need for it; it's all direct manipulation Jun 09 19:54:36 so why is that there? Jun 09 19:54:42 for things like games Jun 09 19:54:45 ah Jun 09 19:54:53 romainguy can go into more detail but it's pretty messy Jun 09 19:55:04 ctate: yeah ... makes sense for games though, especially those who don't require any (or very little) interaction beside touching Jun 09 19:55:27 anno^da-: it could be, depending on what you're app is doing Jun 09 19:55:33 basically, for things that are presenting something that is really outside the Android standard UI Jun 09 19:55:45 it's for games and input text field Jun 09 19:55:50 that's basically it Jun 09 19:55:54 anno^da-: being paused (or even stopped) is not a guarantee that your code will not be run. Jun 09 19:56:04 ctate: hai Jun 09 19:56:54 ctate: Yeah I know that. But why does the adapter only get called in landscape mode? Jun 09 19:57:00 romainguy: but thanks anyway. good to know that if I ever get into the more serious side of android dev I should forget about it :) Jun 09 19:57:03 ctate: Back at what we were talking about it, just noticed an app in the market that some how uses the "camera" button as a system wide shortcut... Jun 09 19:57:12 So this can't be my own code that causes the adapter to be called. Jun 09 19:57:18 k4r1m: system wide? wtf Jun 09 19:57:40 anno^da-: it's possible that there's an implicit orientation change happening Jun 09 19:57:43 ctate: meaning they could launch the app from whenever using the camera button Jun 09 19:58:15 ctate: its the TaskSwitcher app... just saw it and thought of what you told me with hooks and everything Jun 09 19:58:24 they must be responding to the intent sent by the camera button Jun 09 19:58:30 just like Home responds to the Home intent Jun 09 19:58:32 i suspect they've just found an intent sent when someoen pushes camera Jun 09 19:58:39 ==romainguy Jun 09 19:58:56 ctate: Well I think that it has something to do with the fact that the home screen is portrait only. Jun 09 19:58:56 and I would argue that this is bad and these developers should be ridiculed at the next large conference Jun 09 19:59:04 ctate: aw... well my device doesnt have that so i can't use that lol. but just wanted to know Jun 09 19:59:05 anno^da-: exactly Jun 09 20:01:54 ctate: But well this is pretty annoying since this is not caused by the developers code. If I would call the adapter on my own ok. But this leads to some really funny bugs which are not easy to reproduce. Even in a clean project with only one ListView the adapter gets always called when you leave the application from landscape mode. Jun 09 20:03:07 It makes no real sense to me why the adapter should be called after my app gets paused. Jun 09 20:04:41 anno^da-: also look at what happens when you change orientations while your app is running Jun 09 20:05:21 ctate, http://pastebin.com/d7cc62b06 if you are interested (about activities being created twice in emulator when going from land to port) Jun 09 20:06:06 just want to know if that's normal :) Jun 09 20:08:07 ctate: Yeah I know what happens. onPause/onDestroy and onCreate/onResume get called. But the difference is that I am still in the application. Jun 09 20:08:10 "06-09 19:59:59.373: INFO/WindowManager(583): onOrientationChanged, rotation changed to 0" Jun 09 20:08:16 looks like an emulator bug Jun 09 20:08:39 anno^da-: go Home, close the slider, then go back to your app, and look what happens. Jun 09 20:09:09 ctate: from portrait or landscape? Jun 09 20:09:10 your activity is being rotated into the other orientation because it might need to be there when it comes back, and in practice it's better that it happen first rather than second. Jun 09 20:09:15 I have a custom listadapter that returns views from a hashmap.. the hashmap has a given order that I want to reproduce, but the first element in the hashmap isnt the first element in the list.. any ideas? Jun 09 20:09:29 anno^da-: run in landscape, hit Home, close the slider, then relaunch your app. Jun 09 20:09:29 so that means I'm not going crazy and it's not something that I caused? weee.. Jun 09 20:09:38 Rexxars: hashmaps do not have a guaranteed order Jun 09 20:09:57 if you need an ordered map, you should use TreeMap Jun 09 20:10:07 interesting, thanks for the tip! Jun 09 20:10:16 (also TreeSet vs HashSet) Jun 09 20:10:42 Isnt the whole purpose of a HashMap NOT to be sorted? Jun 09 20:10:50 that's not its purpose no Jun 09 20:10:56 I mean Jun 09 20:11:01 :( Jun 09 20:11:02 but it's definitely a side effect of its implementation Jun 09 20:11:05 Yeah. Jun 09 20:11:41 romainguy, should I file a bug about it? Jun 09 20:13:38 ctate: Here is what I get: http://paste.pocoo.org/show/KQ3eehuhZXlgx1S3l8ga/ Jun 09 20:14:47 anno^da-: this doesn't describe when your adapter is being called, which i thought is what you were curious about Jun 09 20:14:58 ctate: One moment. Jun 09 20:15:11 I just dropped the adapter log message. Wait a sec. Jun 09 20:17:45 ctate: Here we go -> http://paste.pocoo.org/show/njbQxz1b5BJ7bcxT6sjO/ Jun 09 20:18:32 interesting Jun 09 20:18:36 i dunno why it's called :) Jun 09 20:18:51 but like i said, onPause or even onStop are not guarantees that your app's code will not be called Jun 09 20:18:58 you must be prepared for this sort of thing Jun 09 20:19:21 Ok. Yeah I recognized that now and caught the exceptions of the Sqlite database. Jun 09 20:19:47 I was just totally confused why that happens. :) Jun 09 20:20:37 / closing the app by pressing the HOME button Jun 09 20:20:40 that's not closing the app Jun 09 20:20:47 Yeah I know that. Jun 09 20:20:54 Well leaving the app for a moment. :) Jun 09 20:22:32 note that you're paused but not stopped Jun 09 20:22:36 etc. Jun 09 20:22:43 I just didn't know if this is a bug or well normal. Jun 09 20:22:46 nope, not a bug Jun 09 20:22:52 Ok fine. :) Jun 09 20:24:32 Ok thank you very much for your comments on this. Jun 09 20:24:55 It is time now for bed. :) Have a nice day in the US. Jun 09 20:28:42 any suggestions as to what type of data structure I might use for this thing? I just want the entries to be in the same order as they were added in Jun 09 20:30:30 List? :) Jun 09 20:32:43 I was hoping for a key value type of deal Jun 09 20:33:04 nice, there is some copyrighted stuff in the Android issues list Jun 09 20:33:46 http://code.google.com/p/android/issues/detail?id=2418 Jun 09 20:35:48 romainguy___: Can you close Android issues 2366 and 2574 Jun 09 20:37:00 romainguy___: They correspond to gerrit change 10314 and 10313 respectively Jun 09 20:38:26 thanks Jun 09 20:42:49 romain: where do i submit a feature request Jun 09 20:43:03 i need android to support Cards and web os applications Jun 09 20:43:08 romainguy: do the outright documentation additions have to go through some group review or is it just someone else's domain Jun 09 20:43:21 I have a question about AlarmManager.setRepeating... will the PendingIntent still be in queue if the app finishes? Jun 09 20:43:38 romain: where do I submit a feature request? I need android to run windows mobile and symbian applications Jun 09 20:43:40 mpardo: i believe so Jun 09 20:43:50 kny: symbians is lame Jun 09 20:43:56 :) Jun 09 20:44:05 so for example... i start the alarm, the app force quits... the alarm will still go off? Jun 09 20:44:28 i'm just trying to determine if calling setRepeating inside a service is redundant Jun 09 20:45:03 rexxars, LinkedHashMap? TreeMap? Jun 09 20:45:04 if the point of the service is to keep the PendingIntent in queue Jun 09 20:45:24 Am I insane for doing that? Jun 09 20:45:36 i dont think you need to do that Jun 09 20:45:41 i could be wrong, try it? Jun 09 20:45:50 k thanks Jun 09 20:46:28 if you want them in the same order as insertion, LinkedHashMap. if you want them sorted by value somehow, TreeMap Jun 09 20:47:27 i find http://java.sun.com/javase/6/docs/api/index.html helpful, personally Jun 09 20:48:25 arriviste: thanks a ton, LinkedHashMap was what I was looking for! :) Jun 09 20:50:14 part Jun 09 20:54:21 somebody accidentally a word @ activity_task_design.html ("Applications can also from another application.") Jun 09 20:55:04 but a really good doc otherwise :) Jun 09 20:57:03 yowza, lots of layouts Jun 09 20:58:12 * kRutOn gives frameworks/base/core/res/res/layout/alert_dialog.xml the evil eye Jun 09 20:58:23 why? Jun 09 20:59:36 just several layers of LinearLayout Jun 09 21:00:03 it uses empty layouts to layout the buttons at the bottom.. and that looks like a hack (ok ok.. as I understand that theres no other sane way to do it currently?) Jun 09 21:00:38 I'm looking at a bug report to see if I see anything obvious Jun 09 21:00:48 but it's unrelated to the layout Jun 09 21:01:10 kRutOn: oh yeah Jun 09 21:01:12 I hate that layout file Jun 09 21:01:17 but changing it is very risky ^^ Jun 09 21:01:41 bah, who does testing anyway? just check it in and let 'er rip, right? Jun 09 21:01:51 * romainguy slaps KNY Jun 09 21:01:54 romainguy, hey, you do hate a LOT of things :) Jun 09 21:01:56 :) Jun 09 21:01:58 yeah, make JesusFreke build his images with that change and let those people test it! Jun 09 21:02:07 kRutOn, I like the way you think Jun 09 21:02:38 that's what I call partnering with the community Jun 09 21:02:40 kRutOn, you could just adapt linus' backup policy to testing--check it in and let the world be your unit tests! Jun 09 21:03:26 two words: "public beta" Jun 09 21:03:54 I'm looking at the case where a user options the options menu, clicks on a submenu, that opens an alert dialog, and then onOptionsMenuClosed is never called on the Activity. Jun 09 21:04:01 er, opens the options menu Jun 09 21:04:20 yow Jun 09 21:04:24 that's ugly :) Jun 09 21:04:45 my thoughts are with you, kRutOn Jun 09 21:05:57 thank you for your support Jun 09 21:21:34 Can I assign breakpoints on Java methods not in my project hierarchy in Eclipse? Jun 09 21:27:53 kRutOn: as far as I know as long as you include the code as part of the debugging stuff Jun 09 21:28:20 so if you can click on an Android class and view source, and see the code, you should be good Jun 09 21:29:00 yeah, I just wanted to be able to type "bp android.app.Activity.getResources" or something Jun 09 21:31:39 * ctate just has an Eclipse project for the whole source tree :) Jun 09 21:32:12 * kRutOn shakes a fist. Jun 09 21:38:33 anyone have trouble trying to connect a G1 phone to the DDMS? Jun 09 21:38:46 nwmotogeek: nope. what OS? Jun 09 21:39:31 XP Jun 09 21:39:51 it just shows up as a storage device and won't accept the drivers provided in the SDK Jun 09 21:39:53 Aw man, I just cannot create method breakpoint Jun 09 21:43:03 nwmotogeek: sorry. Linux here :/ Jun 09 21:43:10 I have an eclipse project for the whole tree at home, but I can't seem to get it to compile properly under vmware at work Jun 09 21:43:31 as in not have eclipse crap out (and yes, I changed my eclipse.ini settings ;) ) Jun 09 21:45:21 darn Jun 09 21:46:15 nwmotogeek: Do you have the SD shared over the USB currently? Jun 09 21:47:02 I believe it is , when-ever I connect the usb cable it asks me if I want to mount the sdcard Jun 09 21:47:15 undo that and it will probably work Jun 09 21:47:33 eject the disk on Windows and then click the notification that asks if you want to unmount the disk Jun 09 22:32:44 evening gents - how can i make a file on th eandroid, and be sure it wont be deleted and can be accessedin the future by my app? Jun 09 22:36:06 ............... Jun 09 22:38:56 renegadeandy: what? Jun 09 22:40:44 renegadeandy: are you trying to make a settings file? Jun 09 22:43:37 is it possible to interact with things like the contact application and add a custom field that can be set for each contact? Jun 09 22:47:46 herriojr yeah you could call it that Jun 09 22:47:49 id rather not use the database Jun 09 22:47:53 id rather use a little file Jun 09 22:49:50 renegadeandy: what do you need to store? Jun 09 22:50:00 if its only a small amount use SharedPreferences Jun 09 22:50:48 itll be about 10kb max Jun 09 22:50:51 defo max Jun 09 22:51:00 infact thats ridiclus Jun 09 22:51:01 renegadeandy: what kind of information are you saving? Jun 09 22:51:06 itll only be a couple fo key words Jun 09 22:51:10 like last searched item Jun 09 22:51:14 but Jun 09 22:51:18 yeah, use SharedPreferences then Jun 09 22:51:20 i would need to save a specific file Jun 09 22:51:20 use SharedPreferences then Jun 09 22:51:22 as wel Jun 09 22:51:28 ok, but if i wanted to cache a file Jun 09 22:51:32 its a 500kb xml file Jun 09 22:51:33 use the sdcard Jun 09 22:51:37 oh right Jun 09 22:51:58 does the xml file contain configuration information? Jun 09 22:52:14 no, its a data fie Jun 09 22:52:16 *8data file Jun 09 22:53:00 do you know of anyway I can query the remote file and compare it , perhaps its total size to the cached version to see if there is any need to update it also? Jun 09 22:55:23 there are many ways to do it Jun 09 22:55:33 oh right Jun 09 22:55:38 please shoot Jun 09 22:55:44 because i actually dont know any Jun 09 22:56:12 so, you can compare version numbers Jun 09 22:56:43 ok... Jun 09 22:56:53 http://yourwebsite.com/checkfile?version=1 Jun 09 22:57:01 how do you obtain that without actually downloading the file Jun 09 22:57:26 HTTP 304 not modified Jun 09 22:58:35 it depends on how complex you want your server to be Jun 09 22:59:04 so, what you do is save a preference which specifies the current file version Jun 09 22:59:26 then you contact your server and ask what its current version is, if the current version is less than the phone's current version, you download the file Jun 09 22:59:43 herriojr Jun 09 22:59:44 no Jun 09 22:59:45 thats the thing Jun 09 22:59:51 this remote file is on the bbc Jun 09 22:59:54 not my server Jun 09 22:59:59 so its just at a particular address Jun 09 23:00:04 ah ok Jun 09 23:00:10 its a big xml feed of all their rss feeds Jun 09 23:00:25 can you point me to the file on the bbc? Jun 09 23:00:26 so i dont want to have to dl 500kb worth of data inless its been updated Jun 09 23:00:27 sure Jun 09 23:00:28 one sec Jun 09 23:00:44 renegadeandy: Look up the HTTP If-Modified-Since header Jun 09 23:00:49 http://news.bbc.co.uk/rss/feeds.opml Jun 09 23:00:52 there ya go buddy Jun 09 23:03:17 actually, it's already a field on the URLConnection class you can simply set to solve your problem Jun 09 23:03:27 renegadeandy: I guess listen to kRutOn Jun 09 23:04:56 ok kRutOn so i look at the URLConnection class field...getmodifiedsince? Jun 09 23:08:24 ? Jun 09 23:09:03 infact , is it getLastModified? Jun 09 23:11:56 renegadeandy, what IDE are you using? Jun 09 23:13:51 eclipse Jun 09 23:14:26 and yes , i know i could use . - i just like clarification Jun 09 23:14:27 renegadeandy, hit ctrl+space Jun 09 23:14:31 yeah Jun 09 23:14:33 documentation Jun 09 23:14:37 => Jun 09 23:14:49 ho hum, struggling with sharedpreferences Jun 09 23:18:18 the sharedprefs object only has getters Jun 09 23:18:20 no setters Jun 09 23:19:24 fixed it Jun 09 23:19:28 i should just read before speaking Jun 09 23:19:31 but it seems to help me Jun 09 23:19:39 i should have an empty notepad doc next to me Jun 09 23:19:41 and just spam that Jun 09 23:19:44 sigh, null ptr exception at mSettings = PreferenceManager.getDefaultSharedPreferences(mActivity); Jun 09 23:19:44 Jun 09 23:24:25 so for storing files made by my app - context.GetDir and using that file is the best way? Jun 09 23:24:33 whchi wil store my files on the sdcard Jun 09 23:27:23 yes? Jun 09 23:29:42 note that of course there may be no SD card Jun 09 23:29:48 or the user could remove it at any time. Jun 09 23:30:27 but yes, Context.getDir() is explicitly "here is where your app should save its data" Jun 09 23:30:36 it does not point to the sd card. Jun 09 23:30:44 ctate: for adc2, do you think im going to lose any votes by targeting 1.5? Jun 09 23:30:52 blau-mikeDG: no effing clue. Jun 09 23:31:03 damn charley Jun 09 23:31:15 charlie tango out. Jun 09 23:32:13 ctate - could it point to the sdcard though Jun 09 23:32:14 normally? Jun 09 23:32:59 whee, got another bug reporter in Android Issues to submit his own patch Jun 09 23:33:38 howeer it would be fine to use getDir to store a 500kb file Jun 09 23:34:28 you could write explicitly to the sdcard, sure. but you don't get sdcard paths from the Context object. Jun 09 23:34:45 why are you not bundling the file with your application if you require it? Jun 09 23:34:56 or does it need to change periodically? Jun 09 23:36:50 it will change Jun 09 23:38:31 then yeah, look at Context.openFileInput() / openFileOutput(), and getFilesDir() Jun 09 23:38:52 or Context.getDir() if you want to create custom subdir structure for where you put things -- typically you won't need to Jun 09 23:43:16 cheers ctate - brilliant advice Jun 09 23:44:00 now - can anybody tell me how to move my application onto my phone for some real testing as opposed to the emulator - i read as long as its plugged into the usb eclipse should transfer it, but it doesnt! Jun 09 23:49:25 "adb install foo.apk" Jun 09 23:50:56 how do i access this 'adb' from eclipse tho in windows Jun 09 23:52:03 have you enabled USB Debugging on the phone? Jun 09 23:56:56 nope Jun 09 23:56:57 ok i have now Jun 10 00:04:50 so it should work now Jun 10 00:12:27 ok, ima go and try it Jun 10 00:22:12 programming is so repetitive...turn on some music, turn brain off and write yet another List Adapter :) Jun 10 00:22:44 zhobbs_, haha, yeah that happens sometimes Jun 10 00:24:09 for romainguy it's s/List Adapter/Home app/ Jun 10 00:24:50 how many is he writing? Jun 10 00:24:50 :) Jun 10 00:25:03 how many do you need? ;) Jun 10 00:25:03 hah, I'm sure he's had his fair share of List Adapter related programming Jun 10 00:25:18 with widgets I think we need more than 3 desktops...so Jun 10 00:25:26 ctate, well, that replacement would make zhobbs_' statement "yet another Home app" Jun 10 00:25:35 KNY: I wrote 4 or Homes so far Jun 10 00:25:36 zhobbs_, I'll definitely agree with that Jun 10 00:25:50 romainguy___, dang Jun 10 00:26:02 romainguy___: which iteration is this one? Jun 10 00:26:12 the most recent, of course :) Jun 10 00:26:12 which makes me able to tell that none of you could write a correct Home screen without copy/pasting our code :p Jun 10 00:26:19 that's the 4th I wrote Jun 10 00:26:25 romainguy___: we'd better open source it then ;) Jun 10 00:26:28 there were a couple when/before I joined Jun 10 00:26:35 but yeah, Home is very tough to write properly Jun 10 00:26:40 in not-so-obvious ways Jun 10 00:26:45 * ewon is hungry Jun 10 00:26:49 romainguy___, seems to me that it would depend on your definition of "correct" Jun 10 00:26:54 actually my plan is that if I ever have to write Home again, I'll come up with a "Home framework" Jun 10 00:26:55 the kitchen is 2 floors away Jun 10 00:27:04 ewon: aw, izza widda woo Jun 10 00:27:06 I'm always impressed by the dragging/dropping/etc of home...seems like a lot of work Jun 10 00:27:18 the drag and drop is pretty much the easiest thing Home's doing :) Jun 10 00:27:25 what's the hardest? Jun 10 00:27:25 it really is not much code Jun 10 00:27:37 responsive icon list management Jun 10 00:27:46 um, what else is hard Jun 10 00:27:47 widget hosting Jun 10 00:27:52 fast loading Jun 10 00:28:01 oh yeah, launch time Jun 10 00:28:06 with all the crazy combinations of events that can happen at launch Jun 10 00:28:22 (orientation change, MCC/MNC change, package manager events, shortcut intents, etc.) Jun 10 00:28:29 there's an enormous amount of I/O required for Home to build its UI Jun 10 00:28:44 so you can't possibly do it all in onCreate() Jun 10 00:28:46 also fun stuff like Home being killed when the user is in a subactivity choosing a shortcut Jun 10 00:28:58 haha Jun 10 00:29:04 because when Home comes back Jun 10 00:29:08 the database may have changed in between Jun 10 00:29:10 life is fun as the Home app Jun 10 00:29:18 so you're not really sure anymore where exactly you can put the icon Jun 10 00:29:19 etc. Jun 10 00:29:32 "i'll put it where i GODDAMN FEEL LIKE" Jun 10 00:29:41 sometimes it does :) Jun 10 00:29:44 ftw :) Jun 10 00:29:47 seems like the subactivity to choose a shortcut shouldn't be heavy enough to kill home (of course home should be prepared for the worse, but still) Jun 10 00:29:55 oh they can be Jun 10 00:29:58 trust me :) Jun 10 00:30:04 I've noticed that in cupcake, it's a lot harder to get an icon to make Home pan to the next screen when dragging and dropping Jun 10 00:30:14 KNY: we haven't changed that code Jun 10 00:30:32 romainguy___, of course, I got cupcake at the same time that I got a replacement device... Jun 10 00:30:40 here you go :) Jun 10 00:30:50 Home is 12,000 lines of code right now Jun 10 00:30:55 KNY: some G1's I've used have sensitivity issues on the edges of the screen Jun 10 00:30:56 damn Jun 10 00:31:17 romainguy___, is that including comments and whitespace? Jun 10 00:31:18 guys - this method http://pastebin.com/m36238fb9 i used to use a directio inputstreamsource to the bufferedreader, and it worked fine, since changing to the file, it simply freezes and dies on the while loop - any ideas why Jun 10 00:31:23 KNY: yeah Jun 10 00:31:25 just a wc -l Jun 10 00:31:31 but comments... in Home's code... :)) Jun 10 00:31:41 romainguy___, I'd be interested in a `cloc` output if you have it installed Jun 10 00:31:56 I believe it Jun 10 00:31:59 I don't have it Jun 10 00:32:04 it's http://cloc.sf.net * Jun 10 00:32:34 it's neat Jun 10 00:32:57 yeah, running cloc on the whole android git tree is fun Jun 10 00:33:05 haah Jun 10 00:33:12 about as much fun as `make' I bet Jun 10 00:33:21 yeah, takes a while Jun 10 00:36:27 Is LayoutInflater.from(context) expensive? ie, should I save a reference to the inflator in my adapter? Jun 10 00:36:52 can anybody help me determine why guys - this method http://pastebin.com/m36238fb9 i used to use a directio inputstreamsource to the bufferedreader, and it worked fine, since changing to the file, it simply freezes and dies on the while loop - any ideas why Jun 10 00:36:58 it appears there is a null pointer Jun 10 00:37:11 zhobbs_: yes, save a reference Jun 10 00:39:02 "cloc"? Jun 10 00:39:06 oh taggy thing, right Jun 10 00:39:19 cmd-shift-T in eclipse == FTW Jun 10 00:40:10 * romainguy___ gives an IntelliJ license to ctate Jun 10 00:40:21 renegadeandy: read logcat to see what line the error is on Jun 10 00:40:26 or gives ctate an IntelliJ license rather Jun 10 00:40:33 (don't insult my IntelliJ!) Jun 10 00:41:26 Heya Jun 10 00:42:10 evening Svm_invictvs Jun 10 00:42:32 well i am accessing the context by accessing a static Context object of my Main class Jun 10 00:42:35 however it seems to be null Jun 10 00:42:44 even although i am setting it correctly in the onCreate method Jun 10 00:43:47 something in here is returning null Jun 10 00:43:48 FileInputStream in = AndysHTCAPP.context.openFileInput("sports.opml"); Jun 10 00:43:48 Log.e("debug", "w00f"); Jun 10 00:43:48 BufferedReader d = new BufferedReader(new InputStreamReader(in)); Jun 10 00:43:59 even although i did a check to see that sports.opml exists Jun 10 00:43:59 renegadeandy: geez man use a fucking pastebin Jun 10 00:44:07 sorry dude - that was 3 lines.. Jun 10 00:45:54 .,., Jun 10 00:46:01 if that file definitely exists Jun 10 00:46:09 why is the in or the d null Jun 10 00:46:10 .. Jun 10 00:47:02 renegadeandy: I see like 7 lines from you. Jun 10 00:47:11 why are you using a static context object? Jun 10 00:47:12 Where deos the emulator store the avd files? Jun 10 00:47:46 your activity is its own Context Jun 10 00:48:48 because i wanted to access the context from an independant class which is handling downloads Jun 10 00:49:00 er, I found it. Jun 10 00:49:01 and it isnt an activity - it should be , but isnt Jun 10 00:49:04 ok Jun 10 00:49:11 it appears i have a dreadful inefficient download method Jun 10 00:49:14 well, if it's downloading in teh background Jun 10 00:49:16 it should be a Service Jun 10 00:49:32 know what annoys me? Jun 10 00:49:34 perhaps somebody could shade some light on how this could be done better...http://pastebin.com/m4ceada11 Jun 10 00:49:41 when i have a custom layout type defined (extended relativelayout) Jun 10 00:49:45 nyt: lumpy mashed potatoes? Jun 10 00:49:55 and I cant use teh built in editor in the eclipse sdk Jun 10 00:50:00 unless ic hange it from view to relativeview Jun 10 00:50:07 err relativelayout Jun 10 00:51:07 because for a 500kb file, it literally takes about 15 minutes Jun 10 00:51:30 renegadeandy: why are you not bundling it with your app? Jun 10 00:51:38 because it changes often Jun 10 00:51:40 said this before Jun 10 00:51:49 so i run that whenever it changes Jun 10 00:51:59 using the lastmodifieddate from urlConnection Jun 10 00:51:59 you download it again whenever it changes?! Jun 10 00:52:06 yes... Jun 10 00:52:15 owwwww Jun 10 00:52:29 how often does it change? Jun 10 00:52:31 daily? Jun 10 00:52:32 hourly? Jun 10 00:52:34 weekly? Jun 10 00:52:34 daily Jun 10 00:52:36 i think Jun 10 00:52:43 it is dependant on the other service Jun 10 00:52:49 not under my control Jun 10 00:52:54 so it will do for now Jun 10 00:52:58 my main issue is that http://pastebin.com/m4ceada11 Jun 10 00:53:03 this is such a good candidate for a client/server solution :) Jun 10 00:53:06 takes about 15 mins, so i am doing someting wrong Jun 10 00:53:39 uh, how many lines is the file? Jun 10 00:53:47 ah lot Jun 10 00:53:50 lots n lots Jun 10 00:53:53 reading a line at a time is almost always a ridiculously awful way to handle file I/O Jun 10 00:53:59 deeply, deeply bad. Jun 10 00:54:02 yeah it is Jun 10 00:54:06 how would you do what im trying to do Jun 10 00:54:11 you're just copying the file to disk? Jun 10 00:54:14 ye Jun 10 00:54:18 try reading like 32 KB at a time Jun 10 00:54:36 you can't even write to the G1's disk in less than 2K chunks at once Jun 10 00:54:45 25555555 Jun 10 00:54:52 so it's having to thrash the disk really hard to do all those partial-chunk writes Jun 10 00:54:52 i dont know hw to use input stream like that Jun 10 00:54:57 6666666666666666 Jun 10 00:55:03 sorry ... REALLY the cat Jun 10 00:55:13 meoeeoowww Jun 10 00:55:20 don't use BufferedReader Jun 10 00:55:22 ok Jun 10 00:55:55 use BufferedInputStream Jun 10 00:56:01 *Reader is for text Jun 10 00:56:10 you don't care about it as text; you just want all the bytes Jun 10 00:56:37 and then use the read(...) method that takes a byte array and a # of bytes and so on Jun 10 00:56:40 to read big chunks Jun 10 00:57:54 http://d.android.com/reference/java/io/BufferedInputStream.html#read(byte[],%20int,%20int) Jun 10 01:00:08 http://pastebin.com/m29ef422c Jun 10 01:00:14 like that Jun 10 01:00:19 ctate, so you recommend 32K chunks? Jun 10 01:00:29 * KNY goes to fix his buffer size Jun 10 01:00:29 KNY: that number came out of thin air Jun 10 01:00:40 renegadeandy: please read the documentation Jun 10 01:00:44 read() tells you how many bytes it returned Jun 10 01:00:49 you can't assume it's the number you asked for Jun 10 01:01:02 ctate: I recommend : don't say anything without consulting your lawyer, or people will refer to you if downloads are slow ;) Jun 10 01:01:09 ctate, but you recommend at least 2K? Jun 10 01:01:15 he's writing to disk Jun 10 01:01:23 our yaffs has a block size of 2k Jun 10 01:01:34 why would you use less? Jun 10 01:01:42 ctate, alright (I have an app that writes to disk, too) Jun 10 01:01:47 ignorance? (guilty) Jun 10 01:02:07 ok ctate so like this http://pastebin.com/m4ec58ad7 Jun 10 01:02:12 more to the point, he's streaming half a meg of data from the net to disk Jun 10 01:02:52 ctate, that's pretty much exactly what one of my apps does Jun 10 01:02:56 I think I'm writing in 1K chunks Jun 10 01:03:13 renegadeandy: no, you want out.write(temp, offset, read) Jun 10 01:03:41 also, you 3200 != 32K :) Jun 10 01:04:12 no need for the 'offset' variable, btw; you always want to read into the beginning of the buffer, i.e. just pass 0 Jun 10 01:04:54 yeah but surly the bufferedinput stream needs to no the offset to start reading from Jun 10 01:05:21 i did say you should read the documentation that i linked to Jun 10 01:05:46 the 'offset' argument to those read/write methods is the offset *within the byte buffer* at which you want to place the data, or start the write from Jun 10 01:05:53 you're reusing the entire buffer for each chunk Jun 10 01:05:58 hmm Jun 10 01:06:15 voila : http://pastebin.com/m27a5b274 Jun 10 01:06:37 don't reallocate the buffer for each chunk Jun 10 01:06:42 you just reuse it Jun 10 01:07:07 alright Jun 10 01:07:12 so i remove the reinstantiaion of temp Jun 10 01:07:15 and thats me Jun 10 01:07:15 right Jun 10 01:07:30 well, there's more :) Jun 10 01:07:38 haha Jun 10 01:07:51 int read; Jun 10 01:08:11 while ((read = d.read(temp,0, 4096)) >= 0) { Jun 10 01:08:20 that's how you do the loop Jun 10 01:08:25 because read() will return -1 when there's no more data. Jun 10 01:09:09 right enough Jun 10 01:09:13 im learning *a lot* Jun 10 01:11:08 it works Jun 10 01:11:10 legend Jun 10 01:11:33 i was going to use droiddraw.org to get my layouts perfect Jun 10 01:11:53 however its offline this evening - unsure why, is there any other such websites which allow drap and drop and exact positioning of elements to generate xml Jun 10 01:12:00 because the android sdk eclipse one doesnt work for me Jun 10 01:12:51 WYSIWYG will get you into trouble Jun 10 01:12:58 (in my experience) Jun 10 01:13:01 really? Jun 10 01:13:13 i just dont know how to make precise small changes on locations in the xml Jun 10 01:14:06 are you using absolutelayout? Jun 10 01:14:34 no Jun 10 01:14:36 linear Jun 10 01:19:58 i have no idea how well d.available() works for http transfer streams, fwiw Jun 10 01:20:03 may work fine, but i just don't know Jun 10 01:20:20 renegadeandy: it works? and it's much faster than the readline() version? ;) Jun 10 01:23:34 yeah Jun 10 01:23:35 its fantastic Jun 10 01:23:39 thanks so much for your help! Jun 10 01:25:57 KNY just to mention that i just used droiddraw for one of my tab views Jun 10 01:26:00 and it got it perfect first time Jun 10 01:26:03 no issues Jun 10 01:26:14 renegadeandy, sure, so does FrontPage Jun 10 01:26:16 am very impressed with it, because i was able to position controls EXACTLY where i wanted them Jun 10 01:26:20 but the generated code isn't always the best Jun 10 01:26:23 yeah Jun 10 01:26:25 frontpage? Jun 10 01:26:29 not heard of it Jun 10 01:27:44 renegadeandy: what a sheltered happy life you must have been living so far :) Jun 10 01:27:56 haha really! Jun 10 01:28:18 ctate - i enabled the usb developer option - now i plugged it in, and run my eclipse project, still runs in emulator Jun 10 01:28:24 i want to be able to click an app icon in my phone... Jun 10 01:30:03 i understand i need to run adb Jun 10 01:30:05 from my command line Jun 10 01:30:06 so its Jun 10 01:30:31 renegadeandy: frontpage is the equivalent to Dreamweaver, but by Microsoft. Where DW is to handwritten html like a rolls royce (slow, not efficient, but oh so comfortable), Frontpage is to dreamwaver like a tricycle with a broken wheel and no brake. it gets you where you want .. somehow, but you're probably hurting like hell and killed a few grannies on the way Jun 10 01:30:34 adb install Jun 10 01:30:49 ohhhh Jun 10 01:30:51 that frontpage Jun 10 01:30:54 :O Jun 10 01:30:58 haha, all comes flooding back Jun 10 01:31:18 the most disgusting horrible list of crappy code ive ever seen, inline css is absolutely filthy as well Jun 10 01:31:25 car analogies ftw ;) Jun 10 01:31:33 lol! Jun 10 01:31:39 so when i run adb install Jun 10 01:31:47 where the feck is my AndysHTCAPP.apk file Jun 10 01:31:52 because its hidden by eclipse Jun 10 01:33:23 ok found it Jun 10 01:33:30 however when i run the command it says device not found :@( Jun 10 01:33:32 eh Jun 10 01:33:32 lol Jun 10 01:36:43 renegadeandy, now you see my point about WYSIWYG :) Jun 10 01:38:29 haha - yes i do Jun 10 01:38:34 i more thought u meant it doesnt work Jun 10 01:41:03 hmm Jun 10 01:41:08 has anybody installed the usb driver under windows Jun 10 01:41:13 because my system keeps refusing it Jun 10 01:41:24 which is why i think its not liking me doing adb install app.app Jun 10 01:41:27 or app.apk **** ENDING LOGGING AT Wed Jun 10 01:42:29 2009 **** BEGIN LOGGING AT Wed Jun 10 01:42:49 2009 Jun 10 01:45:53 anyone Jun 10 01:45:54 anybody got 5mn and would like to try out the new touchscreen controls in circuits ? Jun 10 01:48:54 anybody knows how long the vibrator vibrates when you press a key on the soft keyboard? Jun 10 01:49:50 probs bout 0.25 seconds Jun 10 01:49:54 heellooo Jun 10 01:50:04 can anybody help me install the usb driver for android on xp Jun 10 01:50:07 cos i cannot do it Jun 10 01:50:07 :@ Jun 10 01:54:42 Hi, can you please tell me where i can find ADT plugin for eclipse 3.5? **** ENDING LOGGING AT Wed Jun 10 01:54:52 2009 **** BEGIN LOGGING AT Wed Jun 10 01:55:15 2009 Jun 10 01:55:30 i have designed one layout including three button with fix layout_height, such as 100dip, then run, the layout use the whole screen, not the desired height, what theme attribute can do it? Jun 10 01:56:37 i only see adt for eclipse 3.4 and 3.3 Jun 10 01:56:40 http://developer.android.com/sdk/1.5_r2/installing.html#installingplugin Jun 10 01:57:43 SNR low Jun 10 01:58:57 holy fuck Jun 10 01:59:13 windows gets itself in such a fuckin mess if you first plugged ur magic in without usb debugging enabled Jun 10 01:59:13 where to get the android:theme details? Jun 10 01:59:23 it completely installs it wrong so you can never gain use of its functionlity Jun 10 01:59:34 you have to edit so many dead keys in the reg before it works Jun 10 01:59:38 seems like that needs fixed Jun 10 02:00:19 is it "indestructible" or "indestructable" ? Jun 10 02:01:00 ible Jun 10 02:01:27 http://dictionary.reference.com/search?q=indestructible Jun 10 02:02:05 Radix_: thanks. Eclipse marks both as unknown words Jun 10 02:08:06 renegadeandy: IIRC what you want to do is disable the default driver for that device, then install the adb debugging driver Jun 10 02:08:18 doesn't the install documentation for windows SDK talk about that? Jun 10 02:09:02 NAH Jun 10 02:09:04 oops Jun 10 02:09:07 nah what happens is Jun 10 02:09:12 if you plug your fone in for the first time Jun 10 02:09:16 without debugging enabled Jun 10 02:09:30 windows screws it up and installs something weird, blocks anything to do with the phone and wont let you change the driver Jun 10 02:09:48 so you gota rewind all that, enable debugging, replugin fone - and then isntall the driver that comes with the sdk Jun 10 02:10:19 man Jun 10 02:11:07 i no Jun 10 02:11:09 bloody farse Jun 10 02:12:22 what does "android:style/Theme" include? Jun 10 02:12:31 is it possible to force close the keyboard view after loosing focus of the editview , cos mine seems ot stay up Jun 10 02:12:53 how to define the display size, not the full size? Jun 10 02:13:02 renegadeandy: press back Jun 10 02:14:34 android:theme="@android:style/Theme.Black.NoTitleBar.Fullscreen", it is fullscreen, but how to be halfscreen, or the 100dip height? Jun 10 02:17:03 yeah - but i want my code to do that Jun 10 02:17:06 thats annoying for a user Jun 10 02:21:31 ctate i think you may cringe if i show you my other method - which processes that big file for some specific text Jun 10 02:21:43 "may"? ;) Jun 10 02:21:47 it is hurrendously slow at doing so - am looking for a more efficient way to do it Jun 10 02:21:52 can u take a look? Jun 10 02:22:03 honestly no; i need to get off irc here for the night Jun 10 02:22:07 i know you are gonna say - XML PARSER Jun 10 02:22:14 heh Jun 10 02:22:14 but i cannot get one working with the opml Jun 10 02:22:27 just a quick peek? Jun 10 02:22:41 a wee sneaky peek Jun 10 02:22:44 wont harm anyone Jun 10 02:22:47 then ill go to bed too Jun 10 02:23:53 http://pastebin.com/m15e0ea5f Jun 10 02:24:06 so, if team == woof there Jun 10 02:24:18 it will need to trawl through hundreds of lines to fail Jun 10 02:24:21 which is epiccly slow Jun 10 02:24:24 like, seriously, its horrible Jun 10 02:24:52 infact i think it may even crash it Jun 10 02:30:02 .. Jun 10 02:38:18 thnk you have gone ctate Jun 10 02:38:19 :'( Jun 10 02:38:29 ill post it on the android beginners group Jun 10 02:38:33 night yall Jun 10 02:38:44 * kRutOn wipes the sweat from his brow. Jun 10 02:44:10 kRutOn: you too? Jun 10 02:44:14 * ctate back, sort of Jun 10 02:51:39 yeah, pretty much Jun 10 02:52:21 I'm totally going to hire him Jun 10 02:53:35 I followed the options submenu issue all over the place and then had to eat dinner. Jun 10 02:56:09 I'm on my netbook now. Has anyone run Eclipse and Android on this without becoming suicidal? Jun 10 02:56:16 er, on a netbook in general. Jun 10 02:56:21 Eclipse + netbook? Jun 10 02:56:27 d00d Jun 10 02:56:39 that right there sounds like an exercise in patience Jun 10 02:57:56 I keep wondering why I have this thing. Jun 10 02:58:06 I want to love it. Jun 10 02:58:29 OOSHINY Jun 10 02:58:39 or wait wait wait Jun 10 02:58:46 ChibiPC! **** ENDING LOGGING AT Wed Jun 10 02:59:57 2009