Re: [android-developers] ImageView.getWidth() at the start of my App

2012-05-11 Thread Daniel Hoeggi
At this stage your views aren't measured yet, that's why getWidth/getHeight is always 0. Try ImageView.getViewTreeObserver and register a PreDrawListener there you can call getWidth/getHeight and get the real values. On Thu, May 10, 2012 at 11:44 AM, Lamihck wrote: > Hello, > > I would like t

Re: [android-developers] Re: Arduino vs Io-Io

2012-03-26 Thread Daniel Hoeggi
there is also a comparison of some board over @xda http://forum.xda-developers.com/showthread.php?t=1371750 On Mon, Mar 26, 2012 at 9:02 AM, al wrote: > The ioio is a controller board with USB host and a firmware designed to > communication with android devices (the android devices work as usb d

Re: [android-developers] Launching default messaging app for mms

2012-03-25 Thread Daniel Hoeggi
try this Intent it = new Intent(Intent.ACTION_VIEW); it.setType("vnd.android-dir/mms-sms"); On Sun, Mar 25, 2012 at 11:27 AM, Farhan Tariq wrote: > Hi all, > I am working on an application that allows user to create mms messages > according to a template, for android 2.2. I am done with most of

Re: [android-developers] ListFragment fails on setContentView

2012-03-19 Thread Daniel Hoeggi
If you have a seperate layout.xml for your listfragment, then maybe you are missing @android:id/list as id for your listview? On Mon, Mar 19, 2012 at 11:12 AM, Mark Murphy wrote: > On Sun, Mar 18, 2012 at 9:25 PM, Jim Andresakis > wrote: > > Hey thanks for jumping in Mark. So no matter what subc