Loading...
Processing Forum
Recent Topics
All Forums
Screen name:
jxtahara
jxtahara's Profile
3
Posts
1
Responses
0
Followers
Activity Trend
Last 30 days
Last 30 days
Date Interval
From Date :
To Date :
Go
Loading Chart...
Posts
Responses
PM
Show:
All
Discussions
Questions
Expanded view
List view
Private Message
the camera can not work ketai lib on GALAXYS2
[0 Replies]
28-Mar-2012 06:24 AM
Forum:
Android Processing
Hello.
I make camera app. I use ketai lib ver 4.
I tested ketai lib's sample code(CameraGettingStarted.pde)
My Question is a camera of GALAXYS2.
My code run on SO-01C (Sony Ericsson). Camera is run. get a picture.
But Galaxy S2's camera can not run.
ketai lib's sample code
// adjust resolution to compensate for sluggishness
cam = new KetaiCamera(this, 640, 480, 24);
I think this value is bad.
Someone have information?
ketai lib can not find sensor
[1 Reply]
05-Sep-2011 06:47 AM
Forum:
Android Processing
Hi I use ketai lib. URL
http://danielsauter.com/display.php?project_id=113
I want to use the sensor of Android(Sony Ericsson SO-01C).
1)GyroscopeSensor
2)OrientationSensor
But, I can not use. Example program(Multisensor.pde) is retruned sensor list.
KetaiSensor sensor: BMA150 accelerometer:1
KetaiSensor sensor: AK8975 Compass:3
KetaiSensor sensor: AK8975 Compass Raw:3
KetaiSensor sensor: AK8975 Magnetic Field:2
KetaiSensor sensor: APDS9702 Proximity:8
KetaiSensor sensor: Gravity Sensor:9
KetaiSensor sensor: Linear Acceleration Sensor:10
KetaiSensor sensor: Rotation Vector Sensor:11
This list don't have GyroscopeSensor & OrientationSensor.
I can not read GyroscopeSensor & OrientationSensor. I can read accelerometer & Magnetic Field.
I try this program. but I can not read OrientationSensor.
Help Me
//Multisensor2.pde program
import edu.uic.ketai.*;
KetaiSensor sensor;
PVector orientation;
void setup()
{
sensor = new KetaiSensor(this);
sensor.start();
sensor.list();
orientation = new PVector();
}
void draw()
{
background(78, 93, 75);
text("Orientation :" + "\n"
+ "x: " + nfp(orientation.x, 4, 2) + "\n"
+ "y: " + nfp(orientation.y, 4, 2) + "\n"
+ "z: " + nfp(orientation.z, 4, 2) + "\n"
, 20, 0);
}
void onOrientationEvent(float x, float y, float z, long time, int accuracy)
{
orientation.set(x, y, z);
}
public void mousePressed() {
if (sensor.isStarted())
sensor.stop();
else
sensor.start();
println("KetaiSensor isStarted: " + sensor.isStarted());
}
help me android gui (control P5)
[10 Replies]
31-Jul-2011 09:31 AM
Forum:
Android Processing
I use Control P5.
Now testing,Android programing !!
Control P5 is error on Android mode. ( stander mode is OK)
I download P5 on
http://www.sojamo.de/libraries/controlP5/
I want new version ControlP5.jar
«Prev
Next »
Moderate user : jxtahara
Forum