[android-developers] Re: AlignParentBottom in RelativeLayout (wrap_content)

2011-08-04 Thread Mark Gjøl
Ah, the +. Thank you very much, that solved my problem! - Mark Gjøl On Aug 4, 9:50 am, Kostya Vasilyev wrote: > Yes you can use forward references inside relative layouts (starting with > 1.6). > > Make sure to use @+id the first time a particular view id is needed - view > ref

[android-developers] Re: AlignParentBottom in RelativeLayout (wrap_content)

2011-08-04 Thread Mark Gjøl
;m back to defining the view size manually. - Mark Gjøl On Aug 3, 4:59 pm, Kostya Vasilyev wrote: > Um, android:layout_bottom ? > > 03.08.2011 18:56, Mark Gjøl пишет: > > > That won't achieve what I want. To achieve the result I want it is > > important for the bottom lin

[android-developers] Re: AlignParentBottom in RelativeLayout (wrap_content)

2011-08-03 Thread Mark Gjøl
On Aug 3, 4:09 pm, Kostya Vasilyev wrote: > 03.08.2011 17:25, Mark Gjøl пишет: > Yep, it seems that's how it works, even with Android 1.6, 2.0, etc. > > > Any thoughts? > > Yes, build the layout some other way - such as anchor a view to the top, > then add more v

[android-developers] AlignParentBottom in RelativeLayout (wrap_content)

2011-08-03 Thread Mark Gjøl
I am trying to make a RelativeLayout with an image centered in the bottom, and a line spanning the bottom. The layout should have the height of the image, and fill the width. All of this is in a linear layout with other things in it. See code below for reference. Problem is: As soon as I insert th

[android-developers] Re: Oops, I crashed the phone

2010-08-16 Thread Mark Gjøl
ng about 9 256x256 textures and a single 1024x1024 texture. I am aware that this can be optimized to use less textures, and that may well be the fix to stop the phone from crashing. So I'm not sure the problems are the same, but maybe they're related? - Mark On Aug 16, 9:59 pm, Stri

[android-developers] Re: XML parsing slow ... cache!

2010-08-16 Thread Mark Gjøl
On my first implementation I used a DOM-parser for my XML (Flickr, 500 images), and it easily took about a minute to get through. I now use a SAX-parser, and it's less than a second. The speedup was tremendous, so it can definitely be worth your time, at least to test the difference! -- Mark

[android-developers] Re: Oops, I crashed the phone

2010-08-15 Thread Mark Gjøl
This is what I get from adb logcat until the phone reboots: I/ActivityManager( 88): Start proc dk.nindroid.rss for activity dk.nindroid.rss/.ShowStreams: pid=6295 uid=10046 gids={3003, 1015} I/global ( 6295): Default buffer size used in BufferedOutputStream constructor. It would be better to be

[android-developers] Oops, I crashed the phone

2010-08-15 Thread Mark Gjøl
The current version of Floating Image (version 2.5.0, code 36) randomly crashes Nexus One phones. Obviously I'm looking into fixing this problem, but I though it would be prudent for me to report this. It's always a problem if you can crash the phone. As I'm working with OpenGL I'm guessing this is

[android-developers] Re: Device Seeding Program for Top Android Market Developers

2010-05-11 Thread Mark Gjøl
Fed-ex came, and delivered. For some reason they had been trying to deliver the phone to 21, 5B instead of 215B on the same road, resulting in a two week delay I finally got it, though, and am filled with joy! Thank you Google overlords! :D On May 9, 1:15 am, TreKing wrote: > On Thu, May 6, 2010

[android-developers] Re: Device Seeding Program for Top Android Market Developers

2010-05-04 Thread Mark Gjøl
Still haven't received anything in Denmark. I'm hoping they'll send out the next batch soon. :) On May 4, 1:14 pm, Trygve wrote: > Received mine today in Trondheim, Norway. > Thanks Google! > > -- > You received this message because you are subscribed to the Google > Groups "Android Developers" g

[android-developers] Re: Device Seeding Program for Top Android Market Developers

2010-04-29 Thread Mark Gjøl
How do you see this? What do you search for? On Apr 29, 11:45 am, David Horn wrote: > Fedex UK shows mine in transit and due for delivery tomorrow in the > UK. :-) > > On Apr 29, 10:06 am, Benjamin Rosseaux wrote: > > > > > I got mine now also in Moenchengladbach, Germany. :-) > > > On 29 Apr.,

[android-developers] Re: Device Seeding Program for Top Android Market Developers

2010-04-24 Thread Mark Gjøl
Still haven't received anything, but waiting patiently. :) I got rewarded for "Floating Image" that had about 10K downloads at the time, now about to surpass the big 50K. On Apr 24, 10:55 am, David Horn wrote: > Possibly PHTP over RFC 1149. ;-) > > On Apr 24, 8:45 am, Lim Sim wrote: > > > > > Le

[android-developers] How do I control when to open the context menu myself?

2010-01-08 Thread Mark Gjøl
ect way of manually opening the context menu? Why does onTouchEvent suddenly stop receiving events? Regards, - Mark Gjøl -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-developers

[android-developers] Re: Bug in GL10.texSubImage2D?

2009-09-21 Thread Mark Gjøl
p the fastest way to make a npot texture pot? * Is texSubImage2D broken, in which case I should report it? Regards, Mark Gjøl On Sep 21, 2:32 am, Robert Green wrote: > I'm a little confused by what you're doing. > > You're first calling texImage2D, which uploads mImg to

[android-developers] Bug in GL10.texSubImage2D?

2009-09-20 Thread Mark Gjøl
I am developing an application that dynamically changes the texture of an object. The textures I download from the internet and are of fairly random aspect ratios. I apply these textures to a 2^nth texture using GLUtils.texSubImage2D supplying the bitmap containing the texture, and only use the pa