[android-developers] Re: how to use multitouch zoom

2010-03-04 Thread longhairedsi
Hi Did you find an answer to this? I have the same requirement Cheers Si On Mar 1, 4:32 pm, euromark wrote: > @Override >                 public boolean onTouchEvent(MotionEvent event) { >                         int numevents = event.getPointerCount(); >                         int action = ev

[android-developers] Re: Hmm... at last ADC2 is out of our way ... tell about your app and experience

2009-09-02 Thread longhairedsi
Hi, I got my app 'MicroJam' finished with 24 hours to spare but with a hugley reduced feature set to my original plan. I've been working on the app on and off in my spare time since january so I deceided to make the ADC my deadline. MicroJam is a simple loop based muic sequencer/remixer and my e

[android-developers] Re: Problems with ADC upload

2009-08-31 Thread longhairedsi
rsion. Lastly, u need to export an unsigned > > version of your app in eclipse before u feed it to jarsigner. > > > Good luck!! > > > On Aug 31, 6:10 am, fhucho wrote: > > > > Is your app signed? But if you tested it on your G1 it probably is... > > > > O

[android-developers] Problems with ADC upload

2009-08-31 Thread longhairedsi
Hi I've been trying to upload my adc submission. I keep getting an error saying "Upload a valid APK." can anyone elaborate on what this means I've followed the checklist for publisihing and tested on my g1 and it all seems fine. Why can't I upload? What constitutes as a valid apk? Thanks Sim

[android-developers] Re: Very nasty error for no reason

2009-08-29 Thread longhairedsi
most efficient way to parse an XML resource is to put it > in res/xml, and retrieve it with Resources.getXml().  This can be literally > a couple orders of magnitude faster than using a pull parser on a raw XML > file. > > On Sat, Aug 29, 2009 at 7:30 AM, longhairedsi > wrote: &

[android-developers] Re: Very nasty error for no reason

2009-08-29 Thread longhairedsi
Sorry, forgot to say that the method builds everything as expected, when inspecting objects in the debugger the xml looks good the JamPack looks good Cheers Simon On Aug 29, 3:30 pm, longhairedsi wrote: > Arggh! it seems to be a random error, it just happned again a few > times. If I

[android-developers] Re: Very nasty error for no reason

2009-08-29 Thread longhairedsi
oundException e) { Thanks, please help! this is driving me nuts ;) Simon On Aug 29, 3:15 pm, longhairedsi wrote: > Ok i found the problem. But don't ask my why this would cause a > problem, I have no idea! > > It stems from me passing the inputstream into a method. This is what

[android-developers] Re: Very nasty error for no reason

2009-08-29 Thread longhairedsi
ngXml = docBuilder.parse(filestream); return songXml; } catch (FileNotFoundException e) { Anyone got an idea why the the original would break things? Thanks Simon On Aug 29, 2:40 pm, longhairedsi wrote: > Hi > > I've just changed my app to load an xml file

[android-developers] Very nasty error for no reason

2009-08-29 Thread longhairedsi
Hi I've just changed my app to load an xml file from a raw resource instead of from the sdcard. Every time i run the app it now fails in a spectacular way. It just closes down, no exceptions. Log output is below. I'm not kidding, all i changed was the way an xml file is loaded. If change back an

[android-developers] Re: Question about assets vs resources

2009-08-29 Thread longhairedsi
g 27, 2009 at 4:35 PM, longhairedsi > wrote: > > > > > Hi > > > I have many ogg files in my app(around 1mb worth). Currently I'm > > loading them from my sdcard from a folder that i manualy coppied > > across. For distribution of my app where should i put th

[android-developers] Question about assets vs resources

2009-08-27 Thread longhairedsi
Hi I have many ogg files in my app(around 1mb worth). Currently I'm loading them from my sdcard from a folder that i manualy coppied across. For distribution of my app where should i put the oggs? I tried adding them as resources(R.) but it seemed to make my app take an age to load, would this ha

[android-developers] Re: in TableRow

2009-05-11 Thread longhairedsi
Ok, I found a solution but I'm still not sure why this doesn't work. I had to use within the included view android:height="100dp" android:width="50dp" instead of android:layout_height="100dp" android:layout_width="50dp" cheers simon On May

[android-developers] in TableRow

2009-05-06 Thread longhairedsi
Hi, I have a problem trying use within a table row. Any android: atributes applied to the widget within the include are ignored. Here's is a test I put together. The two buttons outside the table layout render correctly(adjusted width and height), the one's inside do not. Strangely, the cust

[android-developers] sdcard in avd SDK 1.5

2009-04-28 Thread longhairedsi
Hello, I've been trying to figure out how to use the sdcard that was generated when I created the avd file for the emulator in SDK 1.5 r1. In previous SDKs I set this in the Eclipse run configurations -sdcard c:\android\sd500m.img I could then access the sdcard through DDMS etc. How do i spec

[android-developers] Custom CompoundButton

2009-02-02 Thread longhairedsi
Hi, I need to create a button that has on/off state using the background graphic(drawable) to represent the current state. I think I need to extend CompoundButton but I'm having trouble understanding how I set the two background drawables for on and off. Can anyone shed some light on this? Cheer

[android-developers] Re: Why I cannot see my mail to the group?

2009-02-02 Thread longhairedsi
Hello, I'm having the same problem, posted about 20 hours ago, still not showing up. Lets see if this one arrives! Cheers Simon On Feb 2, 8:48 am, "Jerry Yang" wrote: > Hi, all > > I have send some times, but still cannot see my mail in the group. Can > anyone of you see it? > > Thanks > > Wit

[android-developers] Re: Cupcake branch

2009-01-21 Thread longhairedsi
Hi, I used the steps here: http://ralf.alfray.com/.izumi/AndroidTips.blog It is a bit fiddly though and you wont be able to complile it. I'm think doing a dual boot of ubuntu is the way to go. Cheers Si On Jan 21, 8:57 am, Tez wrote: > Hi, > > I am using a windows system. Can anyone send me

[android-developers] Re: Debugging on actual G1

2009-01-13 Thread longhairedsi
Hi chrispix, Did you manage to solve this? i've followed all the steps and have exactly the same problem here's the relevent part of my log, I think "ERROR: thread attach failed" must be the related problem, but not sure why? 01-13 22:38:14.829: ERROR/AndroidRuntime(1554): ERROR: thread attach