Camera Parameters

by steve2641 » Mon, 02 Mar 2009 21:29:38 GMT


Sponsored Links
 Hi,

Is there, or should there be, a public list of common camera
parameters?  So far the only way we have found out about existing
camera parameters is through the code in the sample camera HAL and
stock camera app.

We have internally specified additional camera parameters for the new
features that we are adding, but there is a concern that our additions
will not be common with the additions made by Google or other
manufacturers.  We desire to stay in common as much as possible in
order to allow 3rd party applications to function on our platform with
few if any changes, but at the moment there does not seem to be a
public list of future camera parameters to allow common development.

Is there a plan to publically release such a list of future camera
parameters?

Steve.
--~--~---------~--~----~------------~-------~--~----~

-~----------~----~----~----~------~----~------~--~---



Camera Parameters

by Prashant J Zaveri » Tue, 03 Mar 2009 03:46:36 GMT


 Hi Steve,

Qualcomm and Zoom has got its own HAL implementation for camera. You can
check out that. Though the parameters supported are same, you will get
better idea of how it is implemented.


Regards,
Prashant Zaveri






--~--~---------~--~----~------------~-------~--~----~

-~----------~----~----~----~------~----~------~--~---


Sponsored Links


Camera Parameters

by steve2641 » Tue, 03 Mar 2009 13:38:04 GMT


 I'm not really interested in someone else's Camera HAL implementation,
I have my own.  What I'm interested in is making sure I stay in sync
with the potential future list of camera parameters.  For instance,
say I want to add a new feature to control flash, so in my
implementation I add a "flash-mode" parameter for this.  There is no
way to know whether "flash-mode" will be a common name that all
manufacturers will use.  Maybe next week the someone will release a
product using "strobe-mode" or "flash-state" or anything that is
different than what I chose.  It seems that the OHA should decide on a
list of camera parameters for the common features that will be likely
added over the next year or two so that all vendors can use them when
adding these common features.  If this doesn't happen then the
developers of camera related apps will have to have platform specific
code to handle the differences in the implementations camera
parameters, which really seems to go against what I perceive as one of
the big benefits of this framework, portability.

Steve.




--~--~---------~--~----~------------~-------~--~----~

-~----------~----~----~----~------~----~------~--~---



Camera Parameters

by may » Wed, 04 Mar 2009 05:45:14 GMT


 quot;Qualcomm and Zoom has got its own HAL implementation for camera."
I just check out Qualcomm's camera HAL code from
http://android.git.kernel.org/platform/hardware/msm7k.git/libcamera.
I can't find Zoom's code.Would you tell me where I can get Zoom's
code?

I have installed Android on My EPC701.But I can't use anything,such as
camera, network(wifi).
So I would like to implementation HAL for UVC Camera(EPC 701).
But I encounter some difficulties.I don't konw how to develop and
debug camera HAL code. I know I need to implement 'class
CameraHardwareInterface'.I hope to I can refer to something about
camera HAL.



On 3 97 steve2641 <steve2...@gmail.com> wrote:
--~--~---------~--~----~------------~-------~--~----~

-~----------~----~----~----~------~----~------~--~---



Camera Parameters

by Dave Sparks » Wed, 04 Mar 2009 06:24:49 GMT


 I agree, Steve. We're getting ready for another round of improvements
to the camera for the next release after Cupcake.

If you have suggestions for parameters you think should be
standardized, please let me know.





--~--~---------~--~----~------------~-------~--~----~

-~----------~----~----~----~------~----~------~--~---



Other Threads

1. Would you at least give us names

I know you have plans, but at least share with us who won in round 1.
Some of us have plans and need to know if they lost so they can start
selling their app or otherwise wait and keep their app free.
Instead of keeping thousands of users in the dark, announce the 200
and let others start planning.

This is really annoying, it's been almost three weeks and you won't
give information, you're delaying the release of the thousands of
application because of this! most developers will be annoyed when they
find out they lost and that they were waiting in vain.


--~--~---------~--~----~------------~-------~--~----~

2. OnLocationChanged never called

Hello there! I'm trying to create a simple app to test GPS
integration. Using the emulator and geo fix commands from telnet I'm
able to get it working as expected. But installing it on a device,
when I click on the first button to start listening for updates I can
see the the GPS is active (by the small radar icon) but, moving
around, It never updates the textfields it were suppose to update.

Any ideas?

package com.furiousbob.android.gps;

import android.app.Activity;
import android.content.Context;
import android.location.Location;
import android.location.LocationListener;
import android.location.LocationManager;
import android.os.Bundle;
import android.sax.TextElementListener;
import android.util.Log;
import android.view.View;
import android.view.View.OnClickListener;
import android.widget.Button;
import android.widget.EditText;
import android.widget.TextView;

public class MainActivity extends Activity {
    /** Called when the activity is first created. */

      private boolean amIListening = false;

    @Override
    public void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.main);
        Button btn = (Button)this.findViewById(R.id.Button01);
        Button btn2 = (Button)this.findViewById(R.id.Button02);


        final LocationManager lm = (LocationManager)getSystemService
(Context.LOCATION_SERVICE);
        final LocationListener gpsListener = new MyGPSListener(this);

        btn.setOnClickListener(new OnClickListener() {

                        @Override
                        public void onClick(View v) {
                                if(!amIListening){
                                        lm.requestLocationUpdates("gps", 5000, 
0, gpsListener);
                                        amIListening = true;
                                }
                        }
                });

        btn2.setOnClickListener(new OnClickListener() {

                        @Override
                        public void onClick(View v) {
                                if(amIListening){
                                        lm.removeUpdates(gpsListener);
                                        amIListening = false;
                                }

                        }
                });
    }

    private class MyGPSListener implements LocationListener{

        private Activity activity;

        public MyGPSListener(Activity parent){
                this.activity = parent;
        }

                @Override
                public void onLocationChanged(Location location) {
                        Double lat = location.getLatitude();
                        Double lon = location.getLongitude();
                        Double alt = location.getAltitude();
                        
((TextView)activity.findViewById(R.id.TextView01)).setText
("Latitude: " + lat);
                        
((TextView)activity.findViewById(R.id.TextView02)).setText
("Longitude: " + lon);
                        
((TextView)activity.findViewById(R.id.TextView03)).setText
("Altitude: " + alt);
                }

                @Override
                public void onProviderDisabled(String provider) {
                        // TODO Auto-generated method stub

                }

                @Override
                public void onProviderEnabled(String provider) {
                        // TODO Auto-generated method stub

                }

                @Override
                public void onStatusChanged(String provider, int status, Bundle
extras) {
                        // TODO Auto-generated method stub

                }

    }
}
--~--~---------~--~----~------------~-------~--~----~

3. Modular packaging - Queries

4. ContentResolver in a Service

5. Will Android apps every make proper money ...

6. make seekbar (un)clickable depending on RadioButton

7. ListViews in tabs