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

2011-08-04 Thread Mark Gjøl
to defining the view size manually. - Mark Gjøl On Aug 3, 4:59 pm, Kostya Vasilyev kmans...@gmail.com 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 line to be placed exactly

[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 kmans...@gmail.com 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

[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

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

2011-08-03 Thread Mark Gjøl
On Aug 3, 4:09 pm, Kostya Vasilyev kmans...@gmail.com 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 views with layout_below

[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 Gjøl

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

2010-08-16 Thread Mark Gjøl
 pm, Mark Gjøl bitflips...@gmail.com wrote: It's always a problem if you can crash the phone. As I'm working with OpenGL I'm guessing this is the problem, as I'm working directly with the hardware. When the phone crashes it hangs for a couple of minutes, Mark, It's not just you. One of my

[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

[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

[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 treking...@gmail.com wrote:

[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 trygv...@gmail.com wrote: Received mine today in Trondheim, Norway. Thanks Google! -- You received this message because you are subscribed to the Google Groups Android

[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 pga...@gmail.com wrote: Fedex UK shows mine in transit and due for delivery tomorrow in the UK. :-) On Apr 29, 10:06 am, Benjamin Rosseaux benja...@rosseaux.com wrote: I got mine now also in Moenchengladbach,

[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 pga...@gmail.com wrote: Possibly PHTP over RFC 1149. ;-) On Apr 24, 8:45 am, Lim Sim

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

2010-01-08 Thread Mark Gjøl
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@googlegroups.com

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

2009-09-21 Thread Mark Gjøl
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 rbgrn@gmail.com wrote: I'm a little confused by what you're doing. You're first calling texImage2D, which uploads mImg to vram as your texture. The very

[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