[android-developers] Re: Simultaneous Http Requests

2010-01-13 Thread TrojanSnake12
I have a very similar operation in my application. Personally, the user is using the downloaded files in some sort of sequential order, so I do them one at a time in a single background thread. To be precise, I'm trying to transfer some metadata about the image (which is in a database) as well as

[android-developers] Getting a non-stretched Camera Preview Screen

2009-06-09 Thread TrojanSnake12
Hi all, I am trying to make an activity that (among other things) shows a camera preview screen. I have a translucent ImageView on top of the camera preview, which is unstrechted. The height is 295, so the width should be ~400 pixels. Unfortunately, no matter what I seem to do, I cannot get th

[android-developers] Re: Changing one TextView with onSensorChanged without Redrawing the Entire Layout

2009-06-08 Thread TrojanSnake12
I tried changing to fill_parent, and this did not help. On Jun 8, 6:06 pm, skink wrote: > On 8 Cze, 19:10, TrojanSnake12 wrote: > > > A reiteration of my goal -- I want to update the TextView text without > > the extraneous allocation / garbage collection that is coming

[android-developers] Changing one TextView with onSensorChanged without Redrawing the Entire Layout

2009-06-08 Thread TrojanSnake12
Hello everyone, I am having a bit of trouble with my current application. With a button at the beginning of my app, I send out Intents for two activities, one gets a camera object, and starts a preview screen. On top of that, in a separate layout, there is an activity with a translucent view, w

[android-developers] Writing Lat/Long to Camera EXIF

2009-05-31 Thread TrojanSnake12
Hello everyone. I'm trying to write an application that places a latitude and longitude stamp on all pictures. I can see in the LogCat output that there is someway of altering the EXIF headers in this way. How exactly can this be done? Thanks in advance. 06-01 01:07:04.877: VERBOSE/QualcommC

[android-developers] Re: Updating TextView Values

2009-04-14 Thread TrojanSnake12
Ya, I originally updating the values in onSensorChanged() was not working, but I did manage to get this to work in the end. Thanks very much for your response. On Apr 10, 10:04 am, "ellipsoidmob...@googlemail.com" wrote: > Hi > > You can only modify views from the UI thread - as per the docs: >

[android-developers] Updating TextView Values

2009-04-09 Thread TrojanSnake12
Hello everyone, and thanks in advance for the help. What I'm trying to do is a relatively simple task, but one that doesn't seem to be working. What I'm trying to do is display the Orientation X,Y,Z coordinates on the screen in basic TextView boxes. The sensors are constantly updating my Global

[android-developers] Re: Layout file not recognized as such in eclipse

2009-04-03 Thread TrojanSnake12
Yes, the extra info would help. On Apr 2, 3:11 pm, dan raaka wrote: > posting xml file contents helps to see if there are any errors > > On Thu, Apr 2, 2009 at 2:58 PM, Sheepz wrote: > > > Hi all, pretty simple question: > > I've created a new xml file in my layouts directory using eclipse's >

[android-developers] Displaying a Class Variable on Screen

2009-04-03 Thread TrojanSnake12
Basically, what I want to do is have the Preview screen showing the what the camera is currently pointing at, but I would also like to display the changing X, Y, Z orientation of the phone. Currently I am able to get a handle to the orientation array and its values and store it in a Global class