**** BEGIN LOGGING AT Sun Aug 09 02:59:57 2009 Aug 09 03:28:41 Anyone know a good way to parse(read) information from a txt file? Aug 09 03:34:29 Minty: if its json, then you can use a json parser Aug 09 03:43:29 so, when a bound service spins up a thread, and the caller unbinds the service, is it safe to leave the thread running (relatively speaking) Aug 09 03:46:46 herriojr my guess is the thread will not be killed Aug 09 03:48:20 yeah, I know it isn't killed (probably unless there's low memory), but the thing I'm worried about is whether the context-based variables/functions will be removed Aug 09 04:35:05 can someone help me stretch an EditText in the xml GUI builder Aug 09 04:40:58 is anyone in this channel that can help me with creating an xml gui Aug 09 04:41:50 is there anyone in this channel at all? Aug 09 07:04:49 Anyone know if you can get a drawable instance by 'path' instead of by id Aug 09 07:05:02 or tell me whatever they do with pngs? :P Aug 09 07:15:36 does anyone know how to parse a string into an int Aug 09 07:15:55 Integer.parseInt() isnt working for me Aug 09 07:16:32 what doesn't work? Aug 09 07:16:37 that's how it's done usually Aug 09 07:17:12 when it try parseInt on my code, my app keeps crashing on that line Aug 09 07:17:21 what's the crash? Aug 09 07:17:32 what string are you trying to parse? Aug 09 07:17:51 umm, let me paste it Aug 09 07:17:58 romainguy: http://nopaste.info/a2eded5188.html <= it works on a 'drawable' png loaded into a bitmap, but not on a png loaded from the asset folder Aug 09 07:18:00 any clues? Aug 09 07:18:10 (its white then) Aug 09 07:18:20 ((EditText) findViewById(R.id.bill_amount)).getText().toString(); Aug 09 07:18:21 you're probably not loading the PNG correctly? Aug 09 07:19:00 when i pass whatever is returned from that line onto parseInt i get an error Aug 09 07:19:11 I'm doing it the same way as I did with the drawable Aug 09 07:19:12 what's the crash? Aug 09 07:19:34 SinnerG: check the bitmap Aug 09 07:19:35 umm what do you mean by crash Aug 09 07:19:40 what's the error? Aug 09 07:19:41 it has the correct size set Aug 09 07:19:43 why is it crashing? Aug 09 07:19:48 the exception Aug 09 07:19:50 what does it say Aug 09 07:19:52 SinnerG: what about the bitmap's config? Aug 09 07:19:56 hmm, let me check the debugger Aug 09 07:20:00 well I first used the same one as drawable Aug 09 07:20:26 being RGB_565 Aug 09 07:20:36 also tried ARGB_8888 Aug 09 07:20:47 what's the result of bitmap.getConfig()? Aug 09 07:20:58 sec Aug 09 07:22:09 ARGB_8888 when that is set Aug 09 07:23:37 ohhh i found the problem, thanks romainguy, the code somehow ran as soon as the program started, and it passed an empty string into parseInt Aug 09 07:23:45 :) Aug 09 08:27:24 meh Aug 09 08:27:26 found it gaah Aug 09 08:27:32 it wasnt loading @ the opengl thread.. Aug 09 09:47:45 _Auron_ what is the equivelant of gl.glVertexPointer(2, GL10.GL_FLOAT, 0, fb) (FB = float tex[] = {0,1, 1,1, 0,0, 1,0};) with GL_FIXED ? Aug 09 11:44:37 Hi Aug 09 11:44:44 How to change the brightness ? Aug 09 11:44:54 i've the current value : String brightness = Settings.System.getString(getContentResolver(), Settings.System.SCREEN_BRIGHTNESS); Aug 09 11:44:55 open or close your window blinds Aug 09 11:45:33 i want to change it Aug 09 11:45:56 from current to 255... Aug 09 11:47:08 Nothing ? Aug 09 11:48:17 ?? Aug 09 12:45:45 hi. are there any plans for making dx faster? it seems it can't work parallel so far and doesn't cache anything. Aug 09 12:46:32 another option for me would be a asm-like library for writing dex directly, but that seems a bit complicated as well :) Aug 09 12:47:22 or is everybody just using proguard? Aug 09 13:13:28 Question Aug 09 13:13:29 when i do: Socket sock = new Socket("irc.freenode.net", 8001); Aug 09 13:13:33 the process ends unexpectedly Aug 09 13:13:40 even though its within a try catch Aug 09 13:13:48 and browsing works fine Aug 09 13:13:53 this is in the emulator btw Aug 09 13:14:01 an ideas? Aug 09 13:14:40 browsing = using the web browser Aug 09 13:14:41 ho hum Aug 09 13:15:16 ante_: it died right on that line? Aug 09 13:15:19 the port as int? Aug 09 13:15:22 maybe sock is null? Aug 09 13:15:23 works if i remove it Aug 09 13:15:31 There is no code after it Aug 09 13:15:37 ante_: considered stepping through it? Aug 09 13:15:37 Just want to make sure that this works Aug 09 13:16:14 hmm, that works in eclipse with adt? Aug 09 13:17:05 ante_: run "adb logcat" when you try to run it Aug 09 13:17:15 have you given the app the INTERNET permission? Aug 09 13:19:42 russellb, i have not given it permission Aug 09 13:19:52 Do i do that inside the emulator? Aug 09 13:20:06 nope, it's something you put in AndroidManifest.xml Aug 09 13:20:44 Aug 09 13:21:39 ah will try Aug 09 13:21:41 hold on :) Aug 09 13:21:58 for more info ... http://developer.android.com/guide/topics/security/security.html Aug 09 13:23:11 russellb, thanks Aug 09 13:23:20 you're welcome. Aug 09 13:27:23 that did the trick Aug 09 13:27:35 but i had to run it twice for it to take effect Aug 09 13:27:41 and yes, i saved changes first Aug 09 13:27:44 :) Aug 09 13:28:58 * russellb wins Aug 09 13:31:15 Now, if there was a clever way to event-ify when data is recieved Aug 09 13:35:10 hi Aug 09 13:35:22 can anyone help me out with using AudioRecord properly so that i dont get buffer overflow messages Aug 09 13:36:00 can anyone help me out with using AudioRecord properly so that i dont get buffer overflow messages Aug 09 13:36:05 no dx love in here? should i be asking somewhere else? (some mailing-list or such?) Aug 09 13:36:47 Fossi, what kind of help u require? Aug 09 13:37:54 i need to know if somebody is either making dx faster, cache/merge libs or if anybody is writing a asm-like library Aug 09 13:39:04 sorry, i wouldnt know anything of that Aug 09 13:39:30 see. i wouldn't know anything about AudioRecord in return ;) Aug 09 13:39:58 fossi, seriously, if i knew anything i would have told you Aug 09 13:40:22 Fossi: JF wrote some dex assembler thing, dont know much aobut it, but is it what you are looking for? Aug 09 13:40:25 i think why ASM, there is NDK for writing cpu intensive code Aug 09 13:44:36 perfinion: dexing files is just frickin slow. and going from clojure to java to dex and having a deployment cycle of a minute is annoying me like hell Aug 09 13:45:04 i have a HashMap loaded with data in a service. after the service has started running, i want to update the contents of the HashMap. how can that be done? Aug 09 13:45:08 so i'd either like to 'pre-dex' the jars (which doesn't seem so hard from the source, actually) Aug 09 13:45:31 or compile to dex from clojure directly, which is prolly (much) harder, but of course even nicer Aug 09 13:45:42 Fossi: i havnt done much app dev, but building the whole android takes literally hours :P Aug 09 13:46:09 yeah, looking at the dex source, it doesn't see to be so smart Aug 09 13:46:18 * wlfshmn thinks people have forgotten the art of ramdisks Aug 09 13:46:51 i doubt that'll help much Aug 09 13:47:11 a beowulf cluster of ramdisks? :P Aug 09 13:47:12 first off, dexing just a few files takes gigabytes of ram itself Aug 09 13:47:52 and the source looks like it would be easily cachable/parallelizable (or whatever the word is) Aug 09 13:48:10 Fossi: im sure they'd appreciate patches :P Aug 09 13:48:17 ClassDefItem clazz = CfTranslator.translate(name, bytes, args.cfOptions); outputDex.add(clazz); Aug 09 13:48:28 where in the source tree is the dexing part? Aug 09 13:48:33 straight from dexer/Main.java Aug 09 13:48:44 platform/dalvik/dex Aug 09 13:48:56 dx actually Aug 09 13:49:26 i don't see why the first call couldn't be cached/made parallel Aug 09 13:49:40 adding to the dex would still be linear of course Aug 09 13:50:16 but since it seems so simple, i feel like i'm missing something big Aug 09 13:53:10 Fossi: seems you'd want to parallelize the call to processClass, not that line directly, but i think you still avhe a point Aug 09 13:53:34 you hsould probably talk to a googler about it, they'd know more ... Aug 09 13:53:56 perfinion: it might be easier to not change the code so much and keep the writing linear Aug 09 13:54:14 but i could at least 'prepare' the parsing Aug 09 13:54:19 which writing? Aug 09 13:54:23 into the .dex file? Aug 09 13:54:27 yeah Aug 09 13:54:37 i'm not sure whether that thing is treadsafe ;) Aug 09 13:54:45 (read: prolly not) Aug 09 13:55:22 perfinion: well, how would one 'talk to a googler about it'? Aug 09 13:55:44 wait till they come online here? or try one of hte mailing lists Aug 09 13:55:46 i guess i'll write a smallish clojure test first to see whether it works at all Aug 09 13:56:05 and making threadsafe in java just requires liberal use of syncronized :P Aug 09 13:56:25 hurray for yak shaving btw ;D Aug 09 13:56:43 * Fossi wanted to write a game and is working on the toolchain. again. Aug 09 13:57:28 perfinion: well, yeah. i bet it's gonna be much faster then if i lock on every call. ;) Aug 09 13:58:10 * perfinion can never think of any good apps to write that dont already exist, so i mainly tweak it and make a customized rom with only the stuff i want for my phone :D Aug 09 13:59:07 monitors are quite :D and java has tehm built in so they require almost no work ... Aug 09 14:00:57 perfinion: clojure just pounds java into the ground when it comes to concurrency :) Aug 09 14:01:28 Fossi: i dont know much about it unfortunately :( Aug 09 14:01:55 oh god, its a dialect of lisp?! ugh Aug 09 14:05:07 yes. and it rocks ;p Aug 09 14:05:27 so, what would be the best fit mailinglist? Aug 09 14:05:58 Is there a permission to allow threads? Aug 09 14:08:04 android-platform i guess Aug 09 15:24:58 Any way to work with objects in the Activity class from a Thread? Aug 09 15:25:07 runOnUiThread doesnt seem to work Aug 09 15:25:45 the Thread class i am starting implements Runnable.. Aug 09 15:29:08 how do i view "my maps" created by the others? I can only view my own maps in my maps editor Aug 09 16:12:19 I have a simple socket test that fails. I want my thread to handle the socket i/o and update a TextView when needed. Aug 09 16:12:33 But i cant call RunOnUiThread from a non Activity class Aug 09 16:12:40 any ideas how to get around this? Aug 09 17:14:06 Solver my problem using a Handler Aug 09 17:14:13 d Aug 09 17:48:49 meh Aug 09 17:48:54 not easy optimizing code for android :/ Aug 09 17:49:00 I got it to do a GC each 2 sec Aug 09 17:49:04 (came from every 300ms) Aug 09 17:49:25 any tools to see what objects its freeing up? Aug 09 18:21:51 that'd be nice. Aug 09 18:21:59 i see the garbage collector go crazy when i'm parsing XML Aug 09 18:22:10 SinnerG, how do you tell how often it's GCing Aug 09 18:22:14 logcat doesn't seem to be timestamped Aug 09 18:30:23 I have a plain-text data file that I used to store different puzzle board-layouts. Where is the best place to store that? res or assets? Aug 09 18:31:04 I put it in res/ under a new subfolder, but eclipse is showing a red "x" over the res folder now. Aug 09 18:38:31 Also, is it not possible to use subfolders in the drawables folder? Aug 09 18:40:15 hi guys, have question about styles. there are some api methods that take styleId as a parameter. my question is if i can somehow create style/styleId in runtime instead of using generated R.style.xxx Aug 09 18:42:42 savid: no, drawables (and layouts, anims etc) folder must be flat Aug 09 18:45:22 oh, bummer :-p ok Aug 09 18:46:08 can I have custom folders under res? e.g. for different categories of drawables? or does the compiled only support certain folders under res/ Aug 09 18:48:08 not sure but the second option is more likely Aug 09 18:48:31 no you cannot Aug 09 18:49:32 romain:is it the answer for my question? Aug 09 18:49:38 yes Aug 09 18:51:27 thanks, does it mean that for some PopupWindow i cannot change enter/exit animation duration based on some runtime value... right? Aug 09 18:52:23 not good Aug 09 18:53:19 er/ Aug 09 18:53:26 what's the link with drawables? Aug 09 18:53:32 you can definitely change the enter/exit animation Aug 09 18:54:17 do i need a special permission to load other apps? Aug 09 18:54:33 but they have to be static (defined in styles.xml) Aug 09 18:57:12 i cannot for example change enter animation duration (unless i create say a 100 styles with different durations ;) Aug 09 19:00:19 hey - how do i get from the android.intent.action.BATTERY_CHANGE intent whether or not the phone is currently charging Aug 09 19:04:48 Andy: probably something to do with registering a broadcast receiver? Aug 09 19:10:02 kaltepuk no no i am receiving the events Aug 09 19:10:10 i just need to withdraw the info from the intent i receive now Aug 09 19:14:09 ... Aug 09 19:15:03 check the extras? Aug 09 19:17:19 yea Aug 09 19:17:20 but where Aug 09 19:17:28 i cannot find a list of the xtras in the docs Aug 09 19:17:31 can u help me find them Aug 09 19:22:26 how do i list the extras and their names and wot the values actualyl mean Aug 09 19:22:44 Intent.getExtras() returns Bundle Aug 09 19:22:57 I haven't explored this yet but perhaps this might help http://developer.android.com/reference/android/os/Bundle.html#keySet() Aug 09 19:23:06 Returns a Set containing the Strings used as keys in this Bundle. Aug 09 19:23:21 Bundle.keySet() return keys Aug 09 19:23:33 oh thats awesome Aug 09 19:23:35 cheers lads Aug 09 19:23:43 i would still have thought these should be documented Aug 09 19:23:46 maybe they are too numerous Aug 09 19:25:03 normally extras are self-descriptive Aug 09 19:25:42 not something like e1, e2 etc Aug 09 19:26:31 hi guys! Aug 09 19:26:50 hi Aug 09 19:26:57 can someone help me with Textview parameters? Aug 09 19:27:11 yes? Aug 09 19:27:32 I set ellipsize="end" and set text in my TextView, but the text is truncate into 2 lines Aug 09 19:27:52 I have try to set minLines="4" but it change nothing :D Aug 09 19:28:24 set simpleLine to true? Aug 09 19:28:39 nop Aug 09 19:28:40 android:inputType="textMultiLine" Aug 09 19:28:40 :) Aug 09 19:29:09 if I remove ellipsize and set max and min lines to 4, it's work and display 4 lines Aug 09 19:30:17 but you want your text to span exactly four lines? Aug 09 19:30:51 yes Aug 09 19:31:02 with "..." where the text is truncate Aug 09 19:31:27 did you try numLines="4" ? Aug 09 19:31:48 i'll try Aug 09 19:32:52 with android:lines="4" Aug 09 19:32:54 same problem Aug 09 19:33:04 my text is truncate at line 2 Aug 09 19:33:04 :( Aug 09 19:33:39 doesn't the layout your textview is in affect it's behavior as well? Aug 09 19:34:24 hum what ? :D Aug 09 19:35:35 http://paste-it.net/public/q134b09/ Aug 09 19:35:40 my layout Aug 09 19:36:02 the textview is @+id/article_content Aug 09 19:42:16 hmm, nothing jumps out at me Aug 09 19:42:38 arf :( Aug 09 19:42:52 it's in a widget, maybe it's the problem ? but why :D Aug 09 19:56:43 I can't find a single tutorial/code sample that actually adds views to a widget without inflating a layout Aug 09 19:57:01 I just want to parse some XML and add some children to the widget layout :/ Aug 09 20:16:10 Hi all Aug 09 20:16:24 hi Aug 09 20:16:53 Any recommended path for android application development Aug 09 20:17:12 subodhchhabra: ?? Aug 09 20:17:34 sorry android applications Aug 09 20:17:35 how do you best learn? Aug 09 20:17:38 download sdk and read guide Aug 09 20:17:45 hmm.. Aug 09 20:17:52 i'm doing that Aug 09 20:18:10 audio/visual/tactile learner? Aug 09 20:18:19 yup Aug 09 20:18:23 which? Aug 09 20:18:37 visual Aug 09 20:18:39 did you read notepad tutirial? Aug 09 20:18:50 not till now Aug 09 20:19:01 still on hello view .. Aug 09 20:19:11 im trying those now Aug 09 20:19:28 then just read the docs/tutorials it is important to read up on activities/services/broadcastreceivers/contentproviders as they are the building blocks Aug 09 20:19:39 k Aug 09 20:19:39 start from tutorial, its quite nice intro Aug 09 20:19:44 ok Aug 09 20:19:53 thanks for advise Aug 09 20:20:05 Do the notepad exercises, read the Application Fundamentals page no less than 20 times, and play around with the emulator capabilties Aug 09 20:20:25 are there any standads that need to follow for enterprise apps. Aug 09 20:20:31 like ext. to those Aug 09 20:20:39 in iphone Aug 09 20:20:46 ok Aug 09 20:20:55 will go through them carefully Aug 09 20:21:04 thanks for advise Aug 09 20:58:09 I have a plain-text data file that I used to store different puzzle board-layouts. Where is the best place to store that? Aug 09 21:03:39 _Auron_ how many textures can you draw / second Aug 09 21:03:43 while still having a good fps? Aug 09 21:03:50 savid: assests Aug 09 21:03:57 <_Auron_> SinnerG: you mean quads? Aug 09 21:04:15 yes Aug 09 21:04:28 <_Auron_> what do you consider a good FPS? Aug 09 21:04:38 20+ Aug 09 21:04:44 @ android that is Aug 09 21:04:45 :P Aug 09 21:04:47 <_Auron_> oh, about 150 Aug 09 21:04:55 <_Auron_> actually Aug 09 21:05:03 <_Auron_> 150-250, haven't done a true benchmark Aug 09 21:05:14 ok I'll try get 150 @ 20 FPS then :p Aug 09 21:05:24 optimizing drawing plenty of ball sprites @ once Aug 09 21:05:41 currently it does a gc every 3-4sec Aug 09 21:05:45 I came from every 300ms Aug 09 21:05:52 so I made alot of progress there :p Aug 09 21:06:20 <_Auron_> oh, as long as you're using openGL calls to draw you're going to have garbage collects until donut is out Aug 09 21:06:26 @ stroids, do you have plenty of gc? Aug 09 21:06:29 yeah Aug 09 21:06:34 <_Auron_> glDrawArrays() leaks Aug 09 21:06:39 ow Aug 09 21:06:45 it generates trash for teh gc? Aug 09 21:06:46 *the Aug 09 21:06:48 <_Auron_> yep. Aug 09 21:06:53 aw.. Aug 09 21:06:56 and glDrawElements? Aug 09 21:07:32 <_Auron_> with VBOs, I don't think so. but glDrawElements isn't as flexible when you have a lot of (seemingly random) objects Aug 09 21:08:21 <_Auron_> there was a patch submitted for the leak though, so donut should have that leak fixed Aug 09 21:10:34 kaltepuk, is it not possible to have subfolders in assets? Aug 09 21:10:57 yes Aug 09 21:12:44 so _Auron_ to lessen the gc Aug 09 21:12:47 its best to limit FPS? Aug 09 21:12:56 instead of getting as much as possible Aug 09 21:17:14 currently its rendering 206 balls @ 6 FPS Aug 09 21:22:42 <_Auron_> SinnerG: Eh Aug 09 21:34:15 ok doubled the fps Aug 09 21:34:19 206 @ 8 FPS Aug 09 21:35:19 _Auron_ http://www.2shared.com/file/7093627/593547a5/android2d.html Aug 09 21:35:22 try that Aug 09 21:35:25 thats my 'test app' :p Aug 09 21:35:29 just 'touch' to add balls :P Aug 09 21:35:44 <_Auron_> err Aug 09 21:36:04 <_Auron_> can't test atm, putting together something important Aug 09 21:36:09 hehe np Aug 09 21:36:16 just test it later and report your fps :P Aug 09 21:36:23 see if it differs (try to add 206 balls :p) Aug 09 21:38:21 <_Auron_> it fluctuates from 30 to 45fps without anything on there Aug 09 21:39:07 and if you push to 200+ ? Aug 09 21:39:13 <_Auron_> 5FPS Aug 09 21:39:55 meh work todo :p Aug 09 21:40:48 what you thiunk so far? Aug 09 21:41:03 I'm cloning chain explosion as a 'test' Aug 09 21:41:03 <_Auron_> lotsa balls Aug 09 21:41:07 yeah ;p Aug 09 21:41:10 <_Auron_> but you got something going at least Aug 09 21:41:41 yeah Aug 09 21:41:52 hmm my fps is good now.. but must be wrong Aug 09 21:41:58 lol need to check my fps calculation Aug 09 21:42:02 found something evil that I fixed :p Aug 09 21:43:05 another 2fps gained :P Aug 09 21:43:10 206 balls / 11FPS Aug 09 21:43:16 well 10-11fps Aug 09 21:43:18 each fps count! Aug 09 21:43:40 <_Auron_> how many quads are you rendering before any balls are made? Aug 09 21:44:06 <_Auron_> your app can't seem to break 41FPS Aug 09 21:44:13 yeah I'm figuring out why Aug 09 21:44:21 <_Auron_> how are you setting the orientation? Aug 09 21:44:24 must be interaction between rendering / game thread Aug 09 21:44:27 sec Aug 09 21:44:45 this.requestWindowFeature(Window.FEATURE_NO_TITLE); Aug 09 21:44:45 this.getWindow().setFlags(WindowManager.LayoutParams.FLAG_FULLSCREEN,WindowManager.LayoutParams.FLAG_FULLSCREEN ); Aug 09 21:44:45 setRequestedOrientation(ActivityInfo.SCREEN_ORIENTATION_LANDSCAPE); Aug 09 21:45:41 <_Auron_> hmm k Aug 09 21:46:11 for a change I'll disable landscape :p Aug 09 21:46:37 <_Auron_> it might be the fact you're using a seperate thread from the gl thread Aug 09 21:46:43 <_Auron_> unfortunately Aug 09 21:46:46 yeah I know Aug 09 21:46:51 but still looking into that Aug 09 21:47:00 it is a bit faster in none-landscape mode Aug 09 21:49:18 might found another evil doer Aug 09 21:50:03 210 @ 12FPS Aug 09 21:50:14 I was doing the random movement calc during the draw Aug 09 21:50:16 baaad :p Aug 09 22:00:11 310 @ 10FPS Aug 09 22:00:27 _Auron_ found out that the text rendering was slowing it down Aug 09 22:00:35 I only 'rerender' it on change of text ofc Aug 09 22:00:38 but still it did alot of harm Aug 09 22:00:46 its still not 20 FPS @ 150 though Aug 09 22:01:15 15-16fps Aug 09 22:01:18 almost there though :P Aug 09 22:05:04 seems like Menu needs an .add(MenuItem) or even better .add(Menu) Aug 09 22:16:20 ok Aug 09 22:16:24 I did enough for today Aug 09 22:16:50 @ final I get 17 FPS @ 150 'ball' draws + a background Aug 09 22:16:54 thats plenty enough Aug 09 22:17:08 tomorrow I'll proceed with the game aspect Aug 09 22:17:09 gn ppl Aug 09 23:23:27 sammyF: hey :) Aug 09 23:49:23 hey Gaz Aug 09 23:52:52 Hey sammyF, check out my app on the store :) "Sonorox" Aug 09 23:52:57 its the one thats been paining me Aug 09 23:52:58 lol Aug 09 23:53:09 right now 50% of ppl are saying theres no sound Aug 09 23:53:22 but it seems to be a bug the media volume needs to be on 100% to work Aug 09 23:54:56 Gaz: sure. one sec Aug 09 23:56:08 Gaz: pay-apps? Aug 09 23:56:25 Gaz: if yes, then I can't see it. I don't get those :/ Aug 09 23:56:46 Gaz: nope... no sound here either.. Aug 09 23:56:49 nm .. mistyped ;) Aug 09 23:57:17 DarkFoxDK: try with media volume up 100% Aug 09 23:57:28 sammyF bothj Aug 09 23:58:12 Gaz: works Aug 09 23:58:14 weirds Aug 09 23:58:51 yes Aug 09 23:58:52 Gaz: may I make a suggestion? Aug 09 23:58:53 so weird Aug 09 23:58:56 yes Aug 09 23:58:59 fire away Aug 09 23:59:06 Gaz: it's ery nice, but disable input during the demo Aug 09 23:59:13 ery=very Aug 09 23:59:16 ah yes Aug 09 23:59:19 gets a bit messy Aug 09 23:59:20 hehehe Aug 09 23:59:34 looks like i have quite a few updates to make Aug 09 23:59:36 already Aug 09 23:59:43 i need to fix the volume thing also Aug 09 23:59:59 Nice besides the volume thing ^^ been looking for an app like this :D Aug 10 00:00:18 awesome! Aug 10 00:00:18 i based it on the yamaha tenori Aug 10 00:00:18 hehe Aug 10 00:00:55 Gaz: another thing : add a switchable visual grid Aug 10 00:01:12 ah yes Aug 10 00:01:24 it looks cool like that, but having a visual cue as to where the ~notes~ are would be nice sometimes Aug 10 00:01:42 yep Aug 10 00:02:03 oh ... and you need something sparkly and flashy, possibly in pink ... to attract the female japanese audience ;) Aug 10 00:02:06 jk Aug 10 00:02:16 not a bad idea! Aug 10 00:02:25 i should release a pink version Aug 10 00:02:43 but yeah ... a few different colour schemes would be nice Aug 10 00:03:01 personally I'm not a big fan of yellow/black/red Aug 10 00:03:37 hehe Aug 10 00:03:40 i like yellow and black Aug 10 00:03:46 I don't suppose changing the colours on the fly should be a big problem Aug 10 00:03:51 but overall, I like it :) Aug 10 00:04:01 nice Aug 10 00:04:02 thx man Aug 10 00:04:08 i`ll make an update within next 24 hrs prob Aug 10 00:04:13 just fixing the sound shit mostly Aug 10 00:04:15 Gaz: don't Aug 10 00:04:23 make an update in 6 or 7 days Aug 10 00:04:25 seriously Aug 10 00:04:37 well its a bit of a bug tho Aug 10 00:04:41 if 50% of ppl cant hear it Aug 10 00:04:54 im relying on them seeing my message in the market Aug 10 00:04:59 yeah.. bug update right away is good.. feature update : wait Aug 10 00:05:01 i dont even know if i can set mesdai volume from code Aug 10 00:05:05 right Aug 10 00:05:09 media Aug 10 00:05:14 can i set medai volume programatically Aug 10 00:05:40 as far as I know you can change the global media volume programatically Aug 10 00:05:54 no idea about the medai volume, but I don't think it's much different :P Aug 10 00:06:13 Why do I keep getting this "Unable to open sync connection!" error when trying to run my app from eclipse? Aug 10 00:06:35 savid: disconnect your phone, reconnect it, Aug 10 00:06:43 shuld fix the problem Aug 10 00:07:14 sammyF, tried it, didn't fix :-( Aug 10 00:07:42 Gaz: another thing : show which instrument is set, even if you switch it with teh trackball Aug 10 00:07:55 I only get the instrument name if I do it through the menu Aug 10 00:07:59 oh Aug 10 00:08:03 should work Aug 10 00:08:34 hmm Aug 10 00:08:48 actually, I can't change it anymoer using the trackball Aug 10 00:08:50 weird Aug 10 00:09:06 dbl press trackball to turn on cursor Aug 10 00:09:12 or just press once to change instrument Aug 10 00:09:24 sammyF, odd.. had to unplug, kill adb, kill eclipse, plug in, start adb, start eclipse :-p Aug 10 00:10:42 Gaz: could it be that the rate isn't 100% constant? Aug 10 00:12:04 could what be Aug 10 00:12:16 the app does slow down yeh Aug 10 00:12:50 Gaz: yep. I must admit that I had a LOT of drums going on though :) Aug 10 00:12:57 hehe Aug 10 00:13:01 its not overly efficient Aug 10 00:13:02 hehe Aug 10 00:14:37 Gaz: sadly that's the probably the phone and Android and less your application :/ Aug 10 00:15:31 ... great. now I can't open one of my custom folders from my home screen anymore Aug 10 00:15:35 gotta ove this Aug 10 00:15:44 oh Aug 10 00:15:50 hopefully not my fault :) Aug 10 00:15:55 Gaz: just android having a cow Aug 10 00:16:04 i hate releasing a demo and a paid one Aug 10 00:16:13 purely becaus eof the annoyance of refectoring and signing etc Aug 10 00:16:23 Gaz: yep. I know the pain Aug 10 00:17:02 Gaz: was actually going to go to the market to rate your app ;) Aug 10 00:17:05 hmm Aug 10 00:17:10 so any app at all would be low sound Aug 10 00:17:14 if media volume was low Aug 10 00:17:20 nice Aug 10 00:53:37 so i think i fixed sound issue Aug 10 00:53:43 if anyon wants to regrab demo :) Aug 10 01:43:10 does android have an api for serial port access? Aug 10 01:44:35 and if so does it allow the setting of none standard baud rates? Aug 10 01:44:57 no and no Aug 10 01:45:54 ah that's thrown a spanner in the works then :) Aug 10 02:11:09 hrm.. all of a sudden my app is using my (real) phone to run rather than the emulator.. is that something I can easily change in eclipse? Aug 10 02:11:21 it was running in the emulator just fine yesterday Aug 10 02:11:38 sure, unplug your phone Aug 10 02:11:57 it was plugged in yesterday :p Aug 10 02:12:44 error: no emulator detected... wtf O.o **** ENDING LOGGING AT Mon Aug 10 02:59:57 2009