Bundle-Name: Tizen Event Injector Device
Bundle-SymbolicName: org.tizen.device;singleton:=true
Bundle-Version: 1.0.0.qualifier
-Bundle-Vendor: Tizen
+Bundle-Vendor: Samsung
Bundle-RequiredExecutionEnvironment: JavaSE-1.6
Require-Bundle: org.tizen.injector,
org.eclipse.swt;bundle-version="3.6.2",
org.tizen.common,
org.tizen.common.connection,
- org.eclipse.core.runtime;bundle-version="3.7.0"
+ org.eclipse.core.runtime;bundle-version="3.7.0",
+ org.eclipse.core.commands;bundle-version="3.6.0"
Import-Package: org.tizen.sdblib,
org.eclipse.ui.plugin
package org.tizen.device.battery.page;
import org.eclipse.swt.SWT;
+import org.eclipse.swt.events.MouseEvent;
import org.eclipse.swt.events.SelectionAdapter;
import org.eclipse.swt.events.SelectionEvent;
-import org.eclipse.swt.events.SelectionListener;
+//import org.eclipse.swt.events.SelectionListener;
+import org.eclipse.swt.events.MouseListener;
import org.eclipse.swt.layout.GridData;
import org.eclipse.swt.widgets.Button;
import org.eclipse.swt.widgets.Composite;
import org.tizen.injector.protocol.sensor.TestSensorMessage;
import org.tizen.injector.provider.AbstractInjectorItem;
import org.tizen.injector.provider.AbstractInjectorPage;
+import org.tizen.injector.view.InjectorView;
import org.tizen.common.connection.ConnectionPlugin;
import org.tizen.common.connection.ConnectionPlugin.ISelectionListener;
+import org.tizen.common.util.DialogUtil;
import org.tizen.sdblib.FileListingService.FileEntry;
import org.tizen.sdblib.IDevice;
@Override
protected void createContents() {
currentDevice = ConnectionPlugin.getDefault().getCurrentDevice();
- ConnectionPlugin.getDefault().addSelectionListener(this);
+ InjectorView.getDefault().addSelectionListener(this);
sensorOn = 0;
Composite mainComposite = formUtil.createComposite(parent, 3);
gd.widthHint = 24;
sliderText.setLayoutData(gd);
sendData = slider.getSelection();
+ /*
slider.addSelectionListener(new SelectionListener() {
@Override
public void widgetDefaultSelected(SelectionEvent e) {
sendMessage(sendData, sensorOn);
}
});
-
+ */
+ slider.addMouseListener(new MouseListener() {
+ @Override
+ public void mouseDoubleClick(MouseEvent e) {
+ }
+ @Override
+ public void mouseDown(MouseEvent e) {
+ }
+ @Override
+ public void mouseUp(MouseEvent e) {
+ sendData = slider.getSelection();
+ slider.setSelection(sendData);
+ sliderText.setText(Integer.toString(sendData));
+ sendMessage(sendData, sensorOn);
+ }
+ });
+
Composite secondComposite = formUtil.createComposite(parent, 5);
formUtil.createLabel(secondComposite, batteryCharger);
radioButton = new Button[2];
}
}
}
-
+
radioButton[0].addSelectionListener(new SelectionAdapter() {
@Override
public void widgetSelected(SelectionEvent e) {
- for( int i = 0 ; i < radioButton.length ; i++ ) {
+ for( int i = 0 ; i < radioButton.length ; i++ )
+ {
if(radioButton[i].getSelection()) {
if( i == 0 ) { // On
sensorOn = 1;
sensorOn = 0;
}
}
+ }
+
super.widgetSelected(e);
sendMessage(sendData, sensorOn);
- }
}
});
public void connect() {
// TODO Auto-generated method stub
currentDevice = ConnectionPlugin.getDefault().getCurrentDevice();
+
+ slider.setSelection(100);
+ sendData = slider.getSelection();
+ sliderText.setText(Integer.toString(sendData));
+
+ radioButton[0].setSelection(false);
+ radioButton[1].setSelection(true);
}
// @Override
@Override
protected void finalize() throws Throwable {
- ConnectionPlugin.getDefault().removeSelectionListener(this);
+ InjectorView.getDefault().removeSelectionListener(this);
// TargetConnectionControl.removeTargetConnectionListener(this);
super.finalize();
}
import org.tizen.injector.protocol.sensor.TestSensorMessage;
import org.tizen.injector.provider.AbstractInjectorItem;
import org.tizen.injector.provider.AbstractInjectorPage;
+import org.tizen.injector.view.InjectorView;
public class EarjackPage extends AbstractInjectorPage implements ISelectionListener {
@Override
protected void createContents() {
- ConnectionPlugin.getDefault().addSelectionListener(this);
+ InjectorView.getDefault().addSelectionListener(this);
currentDevice = ConnectionPlugin.getDefault().getCurrentDevice();
Composite mainComposite = formUtil.createComposite(parent, 6);
public void connect() {
// TODO Auto-generated method stub
currentDevice = ConnectionPlugin.getDefault().getCurrentDevice();
+
+ radioButton[0].setSelection(false);
+ radioButton[1].setSelection(false);
+ radioButton[2].setSelection(true);
}
// @Override
@Override
protected void finalize() throws Throwable {
- ConnectionPlugin.getDefault().removeSelectionListener(this);
+ InjectorView.getDefault().removeSelectionListener(this);
// TargetConnectionControl.removeTargetConnectionListener(this);
super.finalize();
}
else if (!selectedEntry.getFileListingService().getDevice().isEmulator())
return;
- if(currentDevice == null && selectedEntry.getName() != null)
+ if(currentDevice == null && selectedEntry.getName() != null) {
connect();
- else if(currentDevice == null && selectedEntry.getName() == null)
+ } else if(currentDevice == null && selectedEntry.getName() == null) {
return;
- else if (currentDevice.getSerialNumber() != selectedEntry.getName()) {
+ } else if (currentDevice.getSerialNumber() != selectedEntry.getName()) {
disconnect();
connect();
+ } else if (currentDevice.getSerialNumber() == selectedEntry.getName()) {
+ return;
}
sendMessage(earjack_status);
}
package org.tizen.device.rssi.page;
import org.eclipse.swt.SWT;
-import org.eclipse.swt.events.SelectionEvent;
-import org.eclipse.swt.events.SelectionListener;
+import org.eclipse.swt.events.MouseEvent;
+//import org.eclipse.swt.events.SelectionEvent;
+//import org.eclipse.swt.events.SelectionListener;
+import org.eclipse.swt.events.MouseListener;
import org.eclipse.swt.layout.GridData;
import org.eclipse.swt.widgets.Composite;
import org.eclipse.swt.widgets.Slider;
import org.tizen.injector.protocol.sensor.TestSensorMessage;
import org.tizen.injector.provider.AbstractInjectorItem;
import org.tizen.injector.provider.AbstractInjectorPage;
+import org.tizen.injector.view.InjectorView;
public class RssiPage extends AbstractInjectorPage implements ISelectionListener {
private Text sliderText;
@Override
protected void createContents() {
- ConnectionPlugin.getDefault().addSelectionListener(this);
+ InjectorView.getDefault().addSelectionListener(this);
currentDevice = ConnectionPlugin.getDefault().getCurrentDevice();
Composite mainComposite = formUtil.createComposite(parent, 3);
formUtil.createLabel(mainComposite, rssiLevel);
slider = formUtil.createSlider(mainComposite, SWT.HORIZONTAL);
- slider.setValues(6, 0, 7, 1, 1, 1);
+ slider.setValues(5, 0, 6, 1, 1, 1);
slider.setLayoutData(new GridData(GridData.FILL, GridData.CENTER, true, false));
sliderText = formUtil.createText(mainComposite, Integer.toString(slider.getSelection()));
sliderText.setEditable(false);
gd.widthHint = 10;
sliderText.setLayoutData(gd);
sendData = slider.getSelection();
+ /*
slider.addSelectionListener(new SelectionListener() {
@Override
public void widgetDefaultSelected(SelectionEvent e) {
sendLevelMessage(sendData);
}
});
+ */
+ slider.addMouseListener(new MouseListener() {
+ @Override
+ public void mouseDoubleClick(MouseEvent e) {
+ }
+ @Override
+ public void mouseDown(MouseEvent e) {
+ }
+ @Override
+ public void mouseUp(MouseEvent e) {
+ sendData = slider.getSelection();
+ slider.setSelection(sendData);
+ sliderText.setText(Integer.toString(sendData));
+ sendLevelMessage(sendData);
+ }
+ });
boolean connected = checkDeviceConnectedAlready();
if (connected == true) {
public void connect() {
// TODO Auto-generated method stub
currentDevice = ConnectionPlugin.getDefault().getCurrentDevice();
+
+ slider.setSelection(5);
+ sendData = slider.getSelection();
+ sliderText.setText(Integer.toString(sendData));
}
// @Override
@Override
protected void finalize() throws Throwable {
- ConnectionPlugin.getDefault().removeSelectionListener(this);
+ InjectorView.getDefault().removeSelectionListener(this);
// TargetConnectionControl.removeTargetConnectionListener(this);
super.finalize();
}
import org.tizen.injector.protocol.sensor.TestSensorMessage;
import org.tizen.injector.provider.AbstractInjectorItem;
import org.tizen.injector.provider.AbstractInjectorPage;
+import org.tizen.injector.view.InjectorView;
public class UsbPage extends AbstractInjectorPage implements ISelectionListener {
@Override
protected void createContents() {
- ConnectionPlugin.getDefault().addSelectionListener(this);
+ InjectorView.getDefault().addSelectionListener(this);
currentDevice = ConnectionPlugin.getDefault().getCurrentDevice();
- sensorOn = false;
-
+
Composite mainComposite = formUtil.createComposite(parent, 5);
radioButton = new Button[2];
radioButton[0] = formUtil.createButton(mainComposite, UsbConstants.inject, SWT.RADIO);
radioButton[1] = formUtil.createButton(mainComposite, UsbConstants.remove, SWT.RADIO);
radioButton[1].setSelection(true);
+ sensorOn = false;
+ /*
for( int i = 0 ; i < radioButton.length ; i++ ) {
if(radioButton[i].getSelection()) {
if( i == 0 ) // On
sensorOn = false;
}
}
-
+ */
radioButton[0].addSelectionListener(new SelectionAdapter() {
@Override
public void widgetSelected(SelectionEvent e) {
- for( int i = 0 ; i < radioButton.length ; i++ ) {
- if(radioButton[i].getSelection()) {
- if( i == 0 ) { // On
- sensorOn = true;
- }
- else { // Off
- sensorOn = false;
- }
- }
- super.widgetSelected(e);
- if( sensorOn ) { // On
+ // USB Connect
+ if (radioButton[0].getSelection()) {
+ sensorOn = true;
sendMessage(1);
}
- else { // Off
+ }
+ });
+
+ radioButton[1].addSelectionListener(new SelectionAdapter() {
+ @Override
+ public void widgetSelected(SelectionEvent e) {
+ // USB Disconnect
+ if (radioButton[1].getSelection()) {
+ sensorOn = false;
sendMessage(0);
}
- }
}
});
-
+
boolean connected = checkDeviceConnectedAlready();
if (connected == true) {
connect();
public void connect() {
// TODO Auto-generated method stub
currentDevice = ConnectionPlugin.getDefault().getCurrentDevice();
+
+ // initialize - USB disconnection
+ radioButton[0].setSelection(false);
+ radioButton[1].setSelection(true);
+ sensorOn = false;
}
// @Override
@Override
protected void finalize() throws Throwable {
- ConnectionPlugin.getDefault().removeSelectionListener(this);
+ InjectorView.getDefault().removeSelectionListener(this);
// TargetConnectionControl.removeTargetConnectionListener(this);
super.finalize();
}
else if (!selectedEntry.getFileListingService().getDevice().isEmulator())
return;
- if(currentDevice == null && selectedEntry.getName() != null)
+ if(currentDevice == null && selectedEntry.getName() != null) {
connect();
- else if(currentDevice == null && selectedEntry.getName() == null)
+ } else if(currentDevice == null && selectedEntry.getName() == null) {
return;
- else if (currentDevice.getSerialNumber() != selectedEntry.getName()) {
+ } else if (currentDevice.getSerialNumber() != selectedEntry.getName()) {
disconnect();
connect();
+ } else if (currentDevice.getSerialNumber() == selectedEntry.getName()) {
+ return;
}
if( sensorOn ) // On
sendMessage(1);
<feature
id="org.tizen.eventinjector.feature"
label="Tizen Event Injector"
- version="1.1.0.qualifier"
- provider-name="Tizen"
+ version="1.0.0.qualifier"
+ provider-name="Samsung"
plugin="org.tizen.base.platform"
license-feature="org.tizen.base.feature">
Bundle-ManifestVersion: 2
Bundle-Name: Tizen Event Injector Injector
Bundle-SymbolicName: org.tizen.injector;singleton:=true
-Bundle-Version: 1.3.20.qualifier
-Bundle-Vendor: Tizen
+Bundle-Version: 1.0.0.qualifier
+Bundle-Vendor: Samsung
Require-Bundle: org.eclipse.ui,
org.eclipse.core.runtime,
org.eclipse.ui.ide,
sendInitialize();
isConnected = true;
+ } catch (SocketException e) {
+ return;
} catch (Exception e) {
e.printStackTrace();
throw e;
if (input != null)
input.close();
isConnected = false;
+ } catch (SocketException e) {
+ return;
} catch (Exception e) {
e.printStackTrace();
} finally {
if (socket != null) {
try {
socket.close();
+ } catch (SocketException e) {
+ return;
} catch (IOException e) {
e.printStackTrace();
}
}
private void sendInitialize() throws IOException {
- String str = "telephony\n";
- output.write(str.getBytes(), 0, str.length());
- output.flush();
-
- byte[] abuf = { 0x04, 0x00, 0x40, 0x41 };
- output.write(abuf);
- output.flush();
-
- byte[] bbuf = { 0x16, 0x00, 0x00, 0x00 };
- output.write(bbuf);
- output.flush();
-
- output.write(str.getBytes(), 0, str.length());
- output.flush();
-
- byte[] cbuf = { 0x00, 0x00, 0x40, 0x47 };
- output.write(cbuf);
- output.flush();
-
- byte[] dbuf = { 0x00, 0x00, 0x40, 0x42 };
- output.write(dbuf);
- output.flush();
+ try {
+ String str = "telephony\n";
+ output.write(str.getBytes(), 0, str.length());
+ output.flush();
+
+ byte[] abuf = { 0x04, 0x00, 0x40, 0x41 };
+ output.write(abuf);
+ output.flush();
+
+ byte[] bbuf = { 0x16, 0x00, 0x00, 0x00 };
+ output.write(bbuf);
+ output.flush();
+
+ output.write(str.getBytes(), 0, str.length());
+ output.flush();
+
+ byte[] cbuf = { 0x00, 0x00, 0x40, 0x47 };
+ output.write(cbuf);
+ output.flush();
+
+ byte[] dbuf = { 0x00, 0x00, 0x40, 0x42 };
+ output.write(dbuf);
+ output.flush();
+ } catch (SocketException e) {
+ return;
+ } catch (Exception e) {
+ e.printStackTrace();
+ }
}
public void sendAskData() throws Exception {
if (!isConnected())
connect();
-
- String str = "telephony\n";
- output.write(str.getBytes(), 0, str.length());
- output.flush();
-
- byte[] buf = { 0x00, 0x00, 0x11, 0x5b };
- output.write(buf);
- output.flush();
+ try {
+ String str = "telephony\n";
+ output.write(str.getBytes(), 0, str.length());
+ output.flush();
+
+ byte[] buf = { 0x00, 0x00, 0x11, 0x5b };
+ output.write(buf);
+ output.flush();
+ } catch (SocketException e) {
+ disconnect();
+ return;
+ } catch (Exception e) {
+ e.printStackTrace();
+ disconnect();
+ throw e;
+ }
}
public void sendDispose() throws Exception {
if (!isConnected())
return;
- String str = "telephony\n";
- output.write(str.getBytes(), 0, str.length());
- output.flush();
-
- byte[] abuf = { 0x00, 0x00, 0x10, 0x01 };
- output.write(abuf);
- output.flush();
-
- byte[] bbuf = { 0x00, 0x00, 0x10, 0x02 };
- output.write(bbuf);
- output.flush();
+ try{
+ String str = "telephony\n";
+ output.write(str.getBytes(), 0, str.length());
+ output.flush();
+
+ byte[] abuf = { 0x00, 0x00, 0x10, 0x01 };
+ output.write(abuf);
+ output.flush();
+
+ byte[] bbuf = { 0x00, 0x00, 0x10, 0x02 };
+ output.write(bbuf);
+ output.flush();
+ } catch (SocketException e) {
+ disconnect();
+ return;
+ } catch (Exception e) {
+ e.printStackTrace();
+ disconnect();
+ throw e;
+ }
}
public boolean send(AbstractGA sendObj) throws Exception {
}
output.flush();
result = true;
+ } catch (SocketException e) {
+ disconnect();
+ return false;
} catch (Exception e) {
e.printStackTrace();
disconnect();
byte[] main = sensorMsg.getBytes();
if (main.length > 0) {
-// ByteUtil.printHex(main, "send body");
output.write(main, 0, main.length);
}
output.flush();
result = true;
+ } catch (SocketException e) {
+ disconnect();
+ return false;
} catch (Exception e) {
e.printStackTrace();
disconnect();
byte[] main = locationMsg.getBytes();
if (main.length > 0) {
-// ByteUtil.printHex(main, "send body");
output.write(main, 0, main.length);
}
output.flush();
result = true;
+ } catch (SocketException e) {
+ disconnect();
+ return false;
} catch (Exception e) {
e.printStackTrace();
disconnect();
}
output.flush();
result = true;
+ } catch (SocketException e) {
+ disconnect();
+ return false;
} catch (Exception e) {
e.printStackTrace();
disconnect();
import org.eclipse.ui.forms.widgets.Section;\r
import org.eclipse.ui.part.ViewPart;\r
import org.eclipse.ui.progress.UIJob;\r
-\r
+import org.tizen.common.connection.ConnectionPlugin;\r
+import org.tizen.common.connection.ConnectionPlugin.ISelectionListener;\r
import org.tizen.injector.Injector;\r
import org.tizen.injector.provider.AbstractInjectorItem;\r
-import org.tizen.injector.socket.LocationSocket;\r
-import org.tizen.injector.socket.SensorUDPSocket;\r
import org.tizen.injector.socket.TelephonySocket;\r
import org.tizen.injector.sourceProvider.InjectorStateProvider;\r
import org.tizen.injector.util.FormPageUtil;\r
-import org.tizen.common.connection.ConnectionPlugin;\r
-import org.tizen.common.connection.ConnectionPlugin.ISelectionListener;\r
-import org.tizen.common.util.DialogUtil;\r
import org.tizen.sdblib.FileListingService.FileEntry;\r
import org.tizen.sdblib.IDevice;\r
+import org.tizen.sdblib.Log;\r
\r
public class InjectorView extends ViewPart implements\r
ISelectionListener {\r
private ArrayList<FormPageUtil> formUtilList = new ArrayList<FormPageUtil>();\r
private ArrayList<ArrayList<Composite>> compositeArrayList = new ArrayList<ArrayList<Composite>>();\r
\r
+ private final ArrayList<ISelectionListener> listeners = new ArrayList<ISelectionListener>();\r
+ private static InjectorView view = null;\r
+\r
+ public static InjectorView getDefault() {\r
+ return view;\r
+ }\r
+\r
@Override\r
public void createPartControl(Composite parent) {\r
+ view = this;\r
getCategories();\r
\r
TabFolder tabFolder = createTabFolder(parent);\r
{\r
currentDevice = null;\r
disconnect();\r
+ notifySelectionListeners(selectedEntry);\r
return;\r
- }\r
- else if (!selectedEntry.getFileListingService().getDevice().isEmulator())\r
+ } else if (!selectedEntry.getFileListingService().getDevice().isEmulator()) {\r
return;\r
+ }\r
\r
- if(currentDevice == null && selectedEntry.getName() != null)\r
+ String selectedName = selectedEntry.getFileListingService().getDevice().getSerialNumber();\r
+ if(currentDevice == null && selectedName/*selectedEntry.getName()*/ != null)\r
{\r
connect();\r
currentDevice = ConnectionPlugin.getDefault().getCurrentDevice();\r
- return;\r
- }\r
-\r
- if (currentDevice.getSerialNumber() != selectedEntry.getName()) {\r
+ } else if (currentDevice.getSerialNumber() != selectedName/*selectedEntry.getName()*/) {\r
disconnect_finished = false;\r
disconnect();\r
connect();\r
currentDevice = ConnectionPlugin.getDefault().getCurrentDevice();\r
- return;\r
- }\r
- else if(activated == false)\r
+ } else if(activated == false)\r
{\r
connect();\r
currentDevice = ConnectionPlugin.getDefault().getCurrentDevice();\r
+ } else if (currentDevice.getSerialNumber() == selectedName/*selectedEntry.getName()*/) {\r
return;\r
}\r
+\r
+ notifySelectionListeners(selectedEntry);\r
+ }\r
+\r
+ public void addSelectionListener(ISelectionListener listener) {\r
+ listeners.add(listener);\r
+ }\r
+\r
+ public void removeSelectionListener(ISelectionListener listener) {\r
+ listeners.remove(listener);\r
+ }\r
+ \r
+ public void notifySelectionListeners(FileEntry file) {\r
+ \r
+ ISelectionListener[] listenersCopy = listeners.toArray(\r
+ new ISelectionListener[listeners.size()]);\r
+ \r
+ for (ISelectionListener listener : listenersCopy) {\r
+ try {\r
+ listener.selectionChanged(file); \r
+ } catch (Exception e) {\r
+ Log.e("ConnectionPlugin", e);\r
+ }\r
+ }\r
}\r
}\r
Bundle-ManifestVersion: 2
Bundle-Name: Tizen Event Injector Location Core
Bundle-SymbolicName: org.tizen.location.core;singleton:=true
-Bundle-Version: 1.3.20.qualifier
-Bundle-Vendor: Tizen
+Bundle-Version: 1.0.0.qualifier
+Bundle-Vendor: Samsung
Bundle-RequiredExecutionEnvironment: JavaSE-1.6
Export-Package: org.tizen.location.core.injector,
org.tizen.location.core.model,
import org.tizen.sdblib.SyncService;
import org.tizen.sdblib.SyncService.SyncResult;
//import org.tizen.location.core.injector.DebugLog;
+import org.tizen.injector.view.InjectorView;
import org.tizen.location.core.model.GeoLocationVO;
import org.tizen.location.core.protocol.GeoLocation;
private final String setLogMode = "vconftool set -t int db/location/replay/ReplayMode 1"; // NMEA MODE(LOG MODE)
private final String setManualMode = "vconftool set -t int db/location/replay/ReplayMode 2"; // MANUAL MODE
+ private boolean isChange = false;
+ private GeoLocation location = null;
+
public LocationInjector() {
- ConnectionPlugin.getDefault().addSelectionListener(this);
+ InjectorView.getDefault().addSelectionListener(this);
// TargetConnectionControl.addTargetConnectionListener(this);
}
}
}
+ public void injectChange(GeoLocation location) {
+ this.location = location;
+ this.isChange = true;
+ }
public void inject(GeoLocation location, IProgressMonitor monitor) throws IOException {
if (monitor == null) {
monitor = new NullProgressMonitor();
setStopMode();
return;
}
+
+ if (isChange) {
+ if (!injectLocation(this.location.getLatitude(), this.location.getLongitude())) {
+ monitor.setCanceled(true);
+ return ;
+ }
+ isChange = false;
+ }
}
}
this.monitor = monitor;
}
+ public boolean isCanceld() {
+ return this.monitor.isCanceled();
+ }
//@Override
public void connect() {
}
@Override
protected void finalize() throws Throwable {
- ConnectionPlugin.getDefault().removeSelectionListener(this);
+ InjectorView.getDefault().removeSelectionListener(this);
// TargetConnectionControl.removeTargetConnectionListener(this);
super.finalize();
}
Bundle-ManifestVersion: 2
Bundle-Name: Tizen Event Injector Location Log
Bundle-SymbolicName: org.tizen.location.log;singleton:=true
-Bundle-Version: 1.3.20.qualifier
-Bundle-Vendor: Tizen
+Bundle-Version: 1.0.0.qualifier
+Bundle-Vendor: Samsung
Require-Bundle: org.eclipse.ui,
org.eclipse.core.runtime,
org.eclipse.ui.forms;bundle-version="3.3.103",
org.tizen.common,
- org.tizen.injector;bundle-version="1.3.13",
- org.tizen.location.core;bundle-version="1.0.0"
+ org.tizen.injector,
+ org.tizen.location.core
Bundle-ActivationPolicy: lazy
Bundle-RequiredExecutionEnvironment: JavaSE-1.6
private Button injectButton;
private Button cancelButton;
- private LocationInjector injector;
-
+ private LocationInjector injector = null;
+ private Job injectJob = null;
public LogFile(AbstractInjectorItem item, String name) {
super(item, name);
}
@Override
public void widgetSelected(SelectionEvent e) {
+ if(injector != null) {
+ injector.setCancel(true);
+ if (injectJob != null) {
+ try {
+ injectJob.join();
+ } catch (InterruptedException e1) {
+ // TODO Auto-generated catch block
+ e1.printStackTrace();
+ }
+ }
+ }
+
final File file = new File(filenameText.getText());
if (file.exists()) {
- Job injectJob = new Job("Inject Job") {
-
+ injectJob = new Job("Inject Job") {
+
@Override
protected IStatus run(IProgressMonitor monitor) {
try {
}
} catch (IOException e) {
return Status.CANCEL_STATUS;
+ } finally {
+ injector = null;
}
return Status.OK_STATUS;
}
@Override
public void widgetSelected(SelectionEvent e) {
injector.setCancel(true);
+ if (injectJob != null) {
+ try {
+ injectJob.join();
+ } catch (InterruptedException e1) {
+ // TODO Auto-generated catch block
+ e1.printStackTrace();
+ }
+ }
injectButton.setEnabled(true);
cancelButton.setEnabled(false);
((Log) getParent()).setSiblingsEnabled(true);
Bundle-ManifestVersion: 2
Bundle-Name: Tizen Event Injector Location Manual
Bundle-SymbolicName: org.tizen.location.manual;singleton:=true
-Bundle-Version: 1.3.20.qualifier
-Bundle-Vendor: Tizen
+Bundle-Version: 1.0.0.qualifier
+Bundle-Vendor: Samsung
Require-Bundle: org.eclipse.ui,
org.eclipse.ui.forms,
org.eclipse.core.runtime,
private Button injectButton;
private Button cancelButton;
- private LocationInjector injector;
-
+ private LocationInjector injector = null;
+ private Job injectJob = null;
public Coordinate(AbstractInjectorItem item, String name) {
super(item, name);
}
injectButton.addSelectionListener(new SelectionAdapter() {
@Override
public void widgetSelected(SelectionEvent e) {
- if(injector != null)
- injector.setCancel(true);
+ if(injector != null && !injector.isCanceld()) {
+ injectButton.setEnabled(false);
+ Double latitude = Double.parseDouble(latitudeText.getText().trim());
+ Double longitude = Double.parseDouble(longitudeText.getText().trim());
+ final GeoLocation location = new GeoLocation(latitude, longitude);
+ injector.injectChange(location);
+ return;
+ }
+
Double latitude = Double.parseDouble(latitudeText.getText().trim());
Double longitude = Double.parseDouble(longitudeText.getText().trim());
final GeoLocation location = new GeoLocation(latitude, longitude);
// NMEASentences.add(new NMEA0183_GPRMC(Double.parseDouble(latitudeText.getText().trim()), Double.parseDouble(longitudeText.getText().trim())));
// NMEASentences.add(new NMEA0183_GPGSA());
- Job injectJob = new Job("Inject Job") {
+ injectJob = new Job("Inject Job") {
@Override
protected IStatus run(IProgressMonitor monitor) {
}
} catch (IOException e) {
return Status.CANCEL_STATUS;
+ } finally {
+ injector = null;
}
return Status.OK_STATUS;
}
@Override
public void widgetSelected(SelectionEvent e) {
injector.setCancel(true);
+ if (injectJob != null) {
+ try {
+ injectJob.join();
+ } catch (InterruptedException e1) {
+ // TODO Auto-generated catch block
+ e1.printStackTrace();
+ }
+ }
injectButton.setEnabled(validateValues());
cancelButton.setEnabled(false);
((Manual) getParent()).setSiblingsEnabled(true);
value = Double.parseDouble(latitudeText.getText());
- if (value >= 90 || value <= -90) {
+ if (value > 90 || value < -90) {
return false;
}
value = Double.parseDouble(longitudeText.getText());
- if (value >= 180 || value <= -180) {
+ if (value > 180 || value < -180) {
return false;
}
Bundle-ManifestVersion: 2
Bundle-Name: Tizen Event Injector Location Map
Bundle-SymbolicName: org.tizen.location.map;singleton:=true
-Bundle-Version: 1.3.20.qualifier
-Bundle-Vendor: Tizen
+Bundle-Version: 1.0.0.qualifier
+Bundle-Vendor: Samsung
Require-Bundle: org.eclipse.ui,
org.eclipse.core.runtime,
org.eclipse.core.net;bundle-version="1.2.1",
package org.tizen.location.map.page;
+import java.io.BufferedReader;
import java.io.IOException;
+import java.io.InputStreamReader;
import java.net.HttpURLConnection;
import java.net.URL;
import java.net.UnknownHostException;
private Button resetButton;
private Button cancelButton;
- private LocationInjector injector;
-
+ private LocationInjector injector = null;
+ private Job injectJob = null;
public MapImage(AbstractInjectorItem item, String name,
DefaultTableModel model) {
super(item, name);
URL url = new URL("http://www.google.com");
//open a connection to that source
- HttpURLConnection urlConnect = (HttpURLConnection)url.openConnection();
-
+ HttpURLConnection urlConnect = (HttpURLConnection)url.openConnection();
//trying to retrieve data from the source. If there
//is no connection, this line will fail
- Object objData = urlConnect.getContent();
+ urlConnect.connect();
+ boolean isLoading = false;
+ if (urlConnect.getResponseCode() != -1) {
+ // parsing title
+ BufferedReader in = new BufferedReader (new InputStreamReader(urlConnect.getInputStream()));
+ String line;
+ String pre = "<title>";
+ String tail = "</title>";
+
+ boolean isNextLine = false;
+ while((line = in.readLine()) != null) {
+ if (line.contains(pre) || isNextLine) {
+ if (line.contains("google")) {
+ isLoading = true;
+ }
+ if (!isLoading && !line.contains(tail)) {
+ isNextLine = true;
+ continue;
+ }
+ break;
+ }
+ }
+ in.close();
+ }
+
+ if (!isLoading) {
+ this.googleMapScript = "<html><head></head><body bgcolor=#dcdcdc oncontextmenu='return false'><br><br><br><br>" +
+ "<center>Failed to load the map.<br>Please check the network status!</center></body></html>";
+ return;
+ }
urlConnect.disconnect();
} catch (UnknownHostException e) {
// TODO Auto-generated catch block
- e.printStackTrace();
+ //e.printStackTrace();
this.googleMapScript = "<html><head></head><body bgcolor=#dcdcdc oncontextmenu='return false'><br><br><br><br><center>Can't connect to network.</center></body></html>";
return;
}
catch (IOException e) {
// TODO Auto-generated catch block
- //e.printStackTrace();
+ //e.printStackTrace();
+ this.googleMapScript = "<html><head></head><body bgcolor=#dcdcdc oncontextmenu='return false'><br><br><br><br>" +
+ "<center>Failed to load the map.<br>" + e.getMessage() +
+ "</center></body></html>";
+ return;
}
}
-
+
this.googleMapScript = "<!DOCTYPE html>" //$NON-NLS-1$
+ "<html>" //$NON-NLS-1$
+ "<head>" //$NON-NLS-1$
// NMEASentences.add(new NMEA0183_GPGSA());
// }
- Job injectJob = new Job("Inject Job") {
+ injectJob = new Job("Inject Job") {
@Override
protected IStatus run(IProgressMonitor monitor) {
@Override
public void widgetSelected(SelectionEvent e) {
injector.setCancel(true);
+ if (injectJob != null) {
+ try {
+ injectJob.join();
+ } catch (InterruptedException e1) {
+ // TODO Auto-generated catch block
+ e1.printStackTrace();
+ }
+ }
injectButton.setEnabled(true);
browser.setEnabled(true);
resetButton.setEnabled(true);
Bundle-Name: Tizen Event Injector Nfc
Bundle-SymbolicName: org.tizen.nfc;singleton:=true
Bundle-Version: 1.0.0.qualifier
-Bundle-Vendor: Tizen
+Bundle-Vendor: Samsung
Bundle-RequiredExecutionEnvironment: JavaSE-1.6
Require-Bundle: org.tizen.injector,
org.eclipse.swt;bundle-version="3.6.2",
- org.tizen.common;bundle-version="1.3.20",
- org.tizen.common.connection;bundle-version="1.0.0",
- org.eclipse.core.runtime;bundle-version="3.7.0"
+ org.tizen.common,
+ org.tizen.common.connection,
+ org.eclipse.core.runtime;bundle-version="3.7.0",
+ org.eclipse.core.commands;bundle-version="3.6.0"
Import-Package: org.tizen.sdblib,
org.eclipse.ui.plugin
*
* Copyright (C) 2000 - 2011 Samsung Electronics Co., Ltd. All rights reserved.
*
- * Contact:
- * Sungmin Ha <sungmin82.ha@samsung.com>
- * DongKyun Yun <dk77.yun@samsung.com>
+ * Contact:
* Jihye kim <jihye1128.kim@samsung.com>
+ * Sungmin Ha <sungmin82.ha@samsung.com>
+ * Yeongkyoon Lee <yeongkyoon.lee@samsung.com>
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
*
- * This program and the accompanying materials are made available
- * under the terms of the Eclipse Public License v1.0
- * which accompanies this distribution, and is available at
- * http://www.eclipse.org/legal/epl-v10.html
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
*
* Contributors:
* - S-Core Co., Ltd
- *
*/
package org.tizen.nfc;
+/*
+ * org.tizen.nfc.tag.page
+ *
+ * Copyright (C) 2000 - 2011 Samsung Electronics Co., Ltd. All rights reserved.
+ *
+ * Contact:
+ * Jihye kim <jihye1128.kim@samsung.com>
+ * Sungmin Ha <sungmin82.ha@samsung.com>
+ * Yeongkyoon Lee <yeongkyoon.lee@samsung.com>
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ *
+ * Contributors:
+ * - S-Core Co., Ltd
+ */
+
package org.tizen.nfc.page;
public class NDEFRecord
+/*
+ * org.tizen.nfc.tag.page
+ *
+ * Copyright (C) 2000 - 2011 Samsung Electronics Co., Ltd. All rights reserved.
+ *
+ * Contact:
+ * Jihye kim <jihye1128.kim@samsung.com>
+ * Sungmin Ha <sungmin82.ha@samsung.com>
+ * Yeongkyoon Lee <yeongkyoon.lee@samsung.com>
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ *
+ * Contributors:
+ * - S-Core Co., Ltd
+ */
+
package org.tizen.nfc.page;
public class NfcCommand
+/*
+ * org.tizen.nfc.tag.page
+ *
+ * Copyright (C) 2000 - 2011 Samsung Electronics Co., Ltd. All rights reserved.
+ *
+ * Contact:
+ * Jihye kim <jihye1128.kim@samsung.com>
+ * Sungmin Ha <sungmin82.ha@samsung.com>
+ * Yeongkyoon Lee <yeongkyoon.lee@samsung.com>
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ *
+ * Contributors:
+ * - S-Core Co., Ltd
+ */
+
package org.tizen.nfc.page;
import org.eclipse.swt.SWT;
+/*
+ * org.tizen.nfc.tag.page
+ *
+ * Copyright (C) 2000 - 2011 Samsung Electronics Co., Ltd. All rights reserved.
+ *
+ * Contact:
+ * Jihye kim <jihye1128.kim@samsung.com>
+ * Sungmin Ha <sungmin82.ha@samsung.com>
+ * Yeongkyoon Lee <yeongkyoon.lee@samsung.com>
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ *
+ * Contributors:
+ * - S-Core Co., Ltd
+ */
+
package org.tizen.nfc.page;
import java.util.ArrayList;
/*
* org.tizen.nfc.tag.page
- *
+ *
* Copyright (C) 2000 - 2011 Samsung Electronics Co., Ltd. All rights reserved.
*
* Contact:
* Jihye kim <jihye1128.kim@samsung.com>
* Sungmin Ha <sungmin82.ha@samsung.com>
- * DongKyun Yun <dk77.yun@samsung.com>
+ * Yeongkyoon Lee <yeongkyoon.lee@samsung.com>
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
*
- * This program and the accompanying materials are made available
- * under the terms of the Eclipse Public License v1.0
- * which accompanies this distribution, and is available at
- * http://www.eclipse.org/legal/epl-v10.html
- *
* Contributors:
* - S-Core Co., Ltd
- *
*/
package org.tizen.nfc.page;
import org.eclipse.swt.widgets.Label;
import org.eclipse.swt.widgets.Shell;
import org.eclipse.swt.widgets.Text;
-
-import org.tizen.injector.provider.AbstractInjectorItem;
-import org.tizen.injector.provider.AbstractInjectorPage;
import org.tizen.common.connection.ConnectionPlugin;
import org.tizen.common.connection.ConnectionPlugin.ISelectionListener;
import org.tizen.common.connection.ui.TizenRemoteFileDialog;
import org.tizen.common.connection.ui.TizenRemoteFileDialog.TizenRemoteFileDialogResult;
+import org.tizen.injector.provider.AbstractInjectorItem;
+import org.tizen.injector.provider.AbstractInjectorPage;
+import org.tizen.injector.view.InjectorView;
import org.tizen.sdblib.FileListingService.FileEntry;
import org.tizen.sdblib.IDevice;
import org.tizen.sdblib.MultiLineReceiver;
@Override
protected void createContents()
{
+ InjectorView.getDefault().addSelectionListener(this);
currentDevice = ConnectionPlugin.getDefault().getCurrentDevice();
- ConnectionPlugin.getDefault().addSelectionListener(this);
shell = parent.getShell();
private void Selected(SelectionEvent e) {
int i = cmbRecordFormat.getSelectionIndex();
if (i != -1) {
- checkRecordFormat(i);
+ checkRecordFormat(i + 1);
txtRecordTypeName.setText("");
cmbRecordTypeName.select(0);
txtRecordID.setText("");
if (i != -1) {
NDEFRecord record = RecordList.get(i);
checkRecordFormat(record.getFormat());
- cmbRecordFormat.select(record.getFormat());
+ cmbRecordFormat.select(record.getFormat() - 1);
if (record.getFormat() == 1) {
if (record.getTypeName().compareTo("U") == 0)
{
cmbRecordFormat.setEnabled(true);
- checkRecordFormat(cmbRecordFormat.getSelectionIndex());
+ checkRecordFormat(cmbRecordFormat.getSelectionIndex() + 1);
txtRecordTypeName.setText("");
cmbRecordTypeName.select(0);
txtRecordID.setText("");
{
cmbRecordFormat.setEnabled(true);
- checkRecordFormat(cmbRecordFormat.getSelectionIndex());
+ checkRecordFormat(cmbRecordFormat.getSelectionIndex() + 1);
txtRecordTypeName.setText("");
cmbRecordTypeName.select(0);
txtRecordID.setText("");
break;
case 2: // NDEF_TNF_MIME_MEDIA
cmbRecordTypeName.setEnabled(false);
- txtRecordTypeName.setEnabled(true);
+ txtRecordTypeName.setEnabled(false);
txtRecordTypeName.setEditable(false);
txtRecordID.setEnabled(true);
- txtRecordPayload.setEnabled(true);
+ txtRecordPayload.setEnabled(false);
txtRecordPayload.setEditable(false);
butSelectMediaFile.setEnabled(true);
break;
private void setRecordValue(NDEFRecord record)
{
- record.setFormat(cmbRecordFormat.getSelectionIndex());
+ record.setFormat(cmbRecordFormat.getSelectionIndex() + 1);
- if (cmbRecordFormat.getSelectionIndex() == 1) {
+ if ((cmbRecordFormat.getSelectionIndex() + 1) == 1) {
record.setTypeName(TypeNameList[cmbRecordTypeName.getSelectionIndex()]);
} else {
if (txtRecordTypeName.getText().isEmpty() == true)
return;
}
if (checkFileSize(MediaFilePath) == false) {
- NfcDialog.openErrorDialog(shell, "Size of selected file is too big. Available file size is under of 10.\n");
+ NfcDialog.openErrorDialog(shell, "Size of selected file is too big. Available file size is under of 10KB.\n");
return;
}
txtRecordTypeName.setEnabled(true);
@Override
protected void finalize() throws Throwable
{
- ConnectionPlugin.getDefault().removeSelectionListener(this);
+ InjectorView.getDefault().removeSelectionListener(this);
// TargetConnectionControl.removeTargetConnectionListener(this);
super.finalize();
}
.isEmulator())
return;
- if (currentDevice == null && selectedEntry.getName() != null)
+ if(currentDevice == null && selectedEntry.getName() != null) {
connect();
- else if (currentDevice == null && selectedEntry.getName() == null)
+ } else if(currentDevice == null && selectedEntry.getName() == null) {
return;
- else if (currentDevice.getSerialNumber() != selectedEntry.getName()) {
+ } else if (currentDevice.getSerialNumber() != selectedEntry.getName()) {
disconnect();
connect();
}
+/*
+ * org.tizen.nfc.tag.page
+ *
+ * Copyright (C) 2000 - 2011 Samsung Electronics Co., Ltd. All rights reserved.
+ *
+ * Contact:
+ * Jihye kim <jihye1128.kim@samsung.com>
+ * Sungmin Ha <sungmin82.ha@samsung.com>
+ * Yeongkyoon Lee <yeongkyoon.lee@samsung.com>
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ *
+ * Contributors:
+ * - S-Core Co., Ltd
+ */
+
package org.tizen.nfc.page;
import java.util.ArrayList;
private RecordFormat()
{
- add(0, "NDEF_TNF_EMPTY");
- add(1, "NDEF_TNF_WELL_KNOWN");
- add(2, "NDEF_TNF_MIME_MEDIA");
- add(3, "NDEF_TNF_ABSOLUTE_URI");
- add(4, "NDEF_TNF_EXTERNAL");
- add(5, "NDEF_TNF_UNKNOWN");
+ //add(0, "NDEF_TNF_EMPTY");
+ add(0, "NDEF_TNF_WELL_KNOWN");
+ add(1, "NDEF_TNF_MIME_MEDIA");
+ add(2, "NDEF_TNF_ABSOLUTE_URI");
+ add(3, "NDEF_TNF_EXTERNAL");
+ //add(5, "NDEF_TNF_UNKNOWN");
}
}
Bundle-Name: Tizen Event Injector Sensor Accelerometer
Bundle-SymbolicName: org.tizen.sensor.accelerometer;singleton:=true
Bundle-Version: 1.0.0.qualifier
-Bundle-Vendor: Tizen
+Bundle-Vendor: Samsung
Bundle-RequiredExecutionEnvironment: JavaSE-1.6
Require-Bundle: org.eclipse.ui;bundle-version="3.5.2",
org.tizen.injector,
import org.eclipse.swt.events.SelectionEvent;
import org.eclipse.swt.events.SelectionListener;
import org.eclipse.swt.layout.GridData;
+import org.eclipse.swt.layout.GridLayout;
import org.eclipse.swt.widgets.Button;
import org.eclipse.swt.widgets.Composite;
import org.eclipse.swt.widgets.Shell;
Button checkboxGyro;
Button checkboxGeoMagnetic;
Button checkboxOrientation;
+ Button button01, button02, button03;
private Text dataText;
Timer dataOutputTimer;
+ int button_click_yaw = 180, button_click_pitch = 90, button_click_roll = 180;
+
double north;
double east;
double vertical;
static String accelerometerData;
static String magneticData;
+ static String orientationData;
static String gyroData;
static boolean orientation_active = true;
@Override
protected void createContents() {
- init();
+ //init();
Composite mainComposite = formUtil.createComposite(parent, 2);
// Create Mobile Composite to draw virtual mobile phone
Composite mobileComposite = formUtil.createComposite(mainComposite);
// Create composite containing moving type selection radio buttons
Composite radioComposite = formUtil.createComposite(mobileComposite, 3);
- Button button01 = formUtil.createButton(radioComposite, "Yaw/Pitch", SWT.RADIO);
+ button01 = formUtil.createButton(radioComposite, "Yaw/Pitch", SWT.RADIO);
button01.setSelection(true);
mode = Mode.YAW_PITCH;
button01.addSelectionListener(new SelectionAdapter() {
super.widgetSelected(e);
}
});
- Button button02 = formUtil.createButton(radioComposite, "Roll/Pitch", SWT.RADIO);
+ button02 = formUtil.createButton(radioComposite, "Roll/Pitch", SWT.RADIO);
button02.addSelectionListener(new SelectionAdapter() {
@Override
public void widgetSelected(SelectionEvent e) {
super.widgetSelected(e);
}
});
- Button button03 = formUtil.createButton(radioComposite, "Move", SWT.RADIO);
+ button03 = formUtil.createButton(radioComposite, "Move", SWT.RADIO);
button03.addSelectionListener(new SelectionAdapter() {
@Override
public void widgetSelected(SelectionEvent e) {
DecimalFormat mf = new DecimalFormat("#0.00");
Magnetic magnetic = Magnetic.getInstance();
- if(changed_accel == true){
- if(checkboxAccelerometer.isDisposed())
- dataOutputTimer.stop();
- else if( checkboxAccelerometer.getSelection()){
- accelerometerData = "accelerometer : " + mf.format(panel.read_accelx) + ", "+ mf.format(panel.read_accely) +
- ", "+ mf.format(panel.read_accelz);
+ if(checkboxAccelerometer.isDisposed())
+ {
+ dataOutputTimer.stop();
+ accelerometerData = "accelerometer : Disable";
+ orientationData = "orientation : Disable";
+ }
+ else
+ {
+ if(changed_accel == true){
+ if( checkboxAccelerometer.getSelection()){
+ accelerometerData = "accelerometer : " + mf.format(panel.read_accelx) + ", "+ mf.format(panel.read_accely) +
+ ", "+ mf.format(panel.read_accelz);
+ }
+ else {
+ accelerometerData = "accelerometer : Disable";
+ orientationData = "orientation : Disable";
+ }
+ changed_accel = false;
}
- else {
+ else if(!checkboxAccelerometer.getSelection())
+ {
accelerometerData = "accelerometer : Disable";
+ orientationData = "orientation : Disable";
+ }
+ else
+ {
+ accelerometerData = "accelerometer : " + mf.format(panel.read_accelx) + ", "+ mf.format(panel.read_accely) +
+ ", "+ mf.format(panel.read_accelz);
}
- changed_accel = false;
}
- if(changed_geo == true){
- if(checkboxGeoMagnetic.isDisposed())
- dataOutputTimer.stop();
- else if( checkboxGeoMagnetic.getSelection()) {
- magneticData = "magnetic filed : " + mf.format(magnetic.getReadCompassX()) +
- ", " + mf.format(magnetic.getReadCompassY()) + ", " + mf.format(magnetic.getReadCompassZ()) + "\n" + "orientation : " + mf.format(magnetic.getAzimuth()) +
- ", " + mf.format(magnetic.getPitch()) + ", " + mf.format(magnetic.getRoll());
+
+ if(checkboxGeoMagnetic.isDisposed())
+ {
+ dataOutputTimer.stop();
+ magneticData = "magnetic filed : Disable";
+ orientationData = "orientation : Disable";
+ }
+ else
+ {
+ if(changed_geo == true){
+ if( checkboxGeoMagnetic.getSelection()) {
+ magneticData = "magnetic filed : " + mf.format(magnetic.getReadCompassX()) +
+ ", " + mf.format(magnetic.getReadCompassY()) + ", " + mf.format(magnetic.getReadCompassZ());
+
+ if( checkboxOrientation.getSelection() ) {
+ orientationData = "orientation : " + mf.format(magnetic.getAzimuth()) +
+ ", " + mf.format(magnetic.getPitch()) + ", " + mf.format(magnetic.getRoll());
+ }
+ else
+ orientationData = "orientation : Disable";
+ }
+ else {
+ magneticData = "magnetic filed : Disable";
+ orientationData = "orientation : Disable";
+ }
+ changed_geo = false;
+ }
+ else if(!checkboxGeoMagnetic.getSelection())
+ {
+ magneticData = "magnetic filed : Disable";
+ orientationData = "orientation : Disable";
}
- else {
- magneticData = "magnetic : Disable";
+ else
+ {
+ magneticData = "magnetic filed : " + mf.format(magnetic.getReadCompassX()) +
+ ", " + mf.format(magnetic.getReadCompassY()) + ", " + mf.format(magnetic.getReadCompassZ());
+
+ if( checkboxOrientation.getSelection() ) {
+ orientationData = "orientation : " + mf.format(magnetic.getAzimuth()) +
+ ", " + mf.format(magnetic.getPitch()) + ", " + mf.format(magnetic.getRoll());
+ }
+ else
+ orientationData = "orientation : Disable";
}
- changed_geo = false;
}
- if(changed_gyro == true){
- if(checkboxGyro.isDisposed())
- dataOutputTimer.stop();
- else if( checkboxGyro.getSelection()) {
- gyroData = "gyroscope : " + mf.format(panel.gyroPitch) + ", " + mf.format(panel.gyroRoll) + ", " + mf.format(panel.gyroYaw);
+
+ if(checkboxGyro.isDisposed())
+ {
+ dataOutputTimer.stop();
+ gyroData = "gyroscope : Disable";
+ }
+ else
+ {
+ if(changed_gyro == true){
+
+
+ if( checkboxGyro.getSelection()) {
+ gyroData = "gyroscope : " + mf.format(panel.gyroPitch) + ", " + mf.format(panel.gyroRoll) + ", " + mf.format(panel.gyroYaw);
+ }
+ else {
+ gyroData = "gyroscope : Disable";
+ }
+ changed_gyro = false;
}
- else {
+ else if(!checkboxGyro.getSelection())
+ {
gyroData = "gyroscope : Disable";
}
- changed_gyro = false;
+ else
+ {
+ gyroData = "gyroscope : " + mf.format(panel.gyroPitch) + ", " + mf.format(panel.gyroRoll) + ", " + mf.format(panel.gyroYaw);
+ }
}
+
if(dataText.isDisposed())
dataOutputTimer.stop();
else
- dataText.setText(accelerometerData + "\n" + magneticData + "\n" + gyroData);
+ dataText.setText(accelerometerData + "\n" + magneticData + "\n" +orientationData + "\n" + gyroData);
}
});
}
pitchSlider = formUtil.createSlider(sliderComposite);
setDefaultSlider(pitchSlider);
pitchValue = (int) panel.pitchDegree;
- pitchSlider.setSelection((int) panel.pitchDegree + 180);
+ pitchSlider.setSelection((int) panel.pitchDegree + button_click_pitch);
pitchSlider.addSelectionListener(new SelectionAdapter() {
@Override
public void widgetSelected(SelectionEvent e) {
// TODO : Fix here
- pitchValue = pitchSlider.getSelection() - 180;
+ pitchValue = pitchSlider.getSelection() - button_click_pitch;
panel.pitchDegree = pitchValue;
panel.repaint();
rollSlider = formUtil.createSlider(sliderComposite);
setDefaultSlider(rollSlider);
rollValue = (int) panel.rollDegree;
- rollSlider.setSelection((int) panel.rollDegree + 180);
+ rollSlider.setSelection((int) panel.rollDegree + button_click_roll);
rollSlider.addSelectionListener(new SelectionAdapter() {
@Override
public void widgetSelected(SelectionEvent e) {
// TODO : Fix here
- rollValue = rollSlider.getSelection() - 180;
+ rollValue = rollSlider.getSelection() - button_click_roll;
panel.rollDegree = rollValue;
panel.repaint();
yawSlider = formUtil.createSlider(sliderComposite);
setDefaultSlider(yawSlider);
yawValue = (int) panel.yawDegree;
- yawSlider.setSelection((int) panel.yawDegree + 180);
+ yawSlider.setSelection((int) panel.yawDegree + button_click_yaw);
yawSlider.addSelectionListener(new SelectionAdapter() {
@Override
public void widgetSelected(SelectionEvent e) {
// TODO : Fix here
- yawValue = yawSlider.getSelection() - 180;
+ yawValue = yawSlider.getSelection() - button_click_yaw;
panel.yawDegree = yawValue;
panel.repaint();
sendMessage(panel.read_accelx, panel.read_accely, panel.read_accelz);
// TODO Auto-generated method stub
}
+
+ public void initValues() {
+ panel.rollDegree = 0;
+ panel.pitchDegree = 0;
+ panel.yawDegree = 0;
+
+ panel.setOldGyroRollDegree(0);
+ panel.setOldGyroPitchDegree(0);
+ panel.setOldGyroYawDegree(0);
+
+ yawValue = 0;
+ pitchValue = 0;
+ rollValue = 0;
+ }
+
private void createRotationButton( Composite rotationComposite){
- Button rotation0 = formUtil.createButton(rotationComposite, "Portrait", SWT.PUSH);
- Button rotation90 = formUtil.createButton(rotationComposite, "Landscape", SWT.PUSH);
- Button rotation180 = formUtil.createButton(rotationComposite, "Reverse Portrait", SWT.PUSH);
- Button rotation270 = formUtil.createButton(rotationComposite, "Reverse Landscape", SWT.PUSH);
+ Composite buttonComposite = formUtil.createComposite(rotationComposite);
+ buttonComposite.setLayout(new GridLayout(4, true));
+ Button rotation0 = formUtil.createButton(buttonComposite, "Portrait", SWT.PUSH);
+ rotation0.setLayoutData(new GridData(SWT.FILL, SWT.FILL, true, false));
+ Button rotation90 = formUtil.createButton(buttonComposite, "Landscape", SWT.PUSH);
+ rotation90.setLayoutData(new GridData(SWT.FILL, SWT.FILL, true, false));
+ Button rotation180 = formUtil.createButton(buttonComposite, "Reverse Portrait", SWT.PUSH);
+ rotation180.setLayoutData(new GridData(SWT.FILL, SWT.FILL, true, false));
+ Button rotation270 = formUtil.createButton(buttonComposite, "Reverse Landscape", SWT.PUSH);
+ rotation270.setLayoutData(new GridData(SWT.FILL, SWT.FILL, true, false));
rotation0.addSelectionListener(new SelectionListener(){
@Override
public void widgetDefaultSelected(SelectionEvent e) {
@Override
public void widgetSelected(SelectionEvent e) {
button_click = true;
+
+ pitchSlider.setSelection(90);
+ yawSlider.setSelection(180);
+ rollSlider.setSelection(180);
+
double axisX[] = {1,0,0};
double axisY[] = {0,0,1};
double axisZ[] = {0,-1,0};
panel.setGyroAxisY(axisY);
panel.setGyroAxisZ(axisZ);
panel.repaint();
+
+ button_click_pitch = 90;
+ button_click_yaw = 180;
+ button_click_roll = 180;
+
+ initValues();
}
});
rotation90.addSelectionListener(new SelectionListener(){
@Override
public void widgetSelected(SelectionEvent e) {
button_click = true;
+
+ pitchSlider.setSelection(90);
+ yawSlider.setSelection(270);
+ rollSlider.setSelection(180);
+
double axisX[] = {0,0,1};
double axisY[] = {-1,0,0};
double axisZ[] = {0,-1,0};
panel.setGyroAxisY(axisY);
panel.setGyroAxisZ(axisZ);
panel.repaint();
+
+ button_click_pitch = 90;
+ button_click_yaw = 270;
+ button_click_roll = 180;
+
+ initValues();
}
});
rotation180.addSelectionListener(new SelectionListener(){
@Override
public void widgetSelected(SelectionEvent e) {
button_click = true;
+
+ pitchSlider.setSelection(90);
+ yawSlider.setSelection(360);
+ rollSlider.setSelection(180);
+
double axisX[] = {-1,0,0};
double axisY[] = {0,0,-1};
double axisZ[] = {0,-1,0};
panel.setGyroAxisY(axisY);
panel.setGyroAxisZ(axisZ);
panel.repaint();
+
+ button_click_pitch = 90;
+ button_click_yaw = 360;
+ button_click_roll = 180;
+
+ initValues();
}
});
rotation270.addSelectionListener(new SelectionListener(){
@Override
public void widgetSelected(SelectionEvent e) {
button_click = true;
+ pitchSlider.setSelection(90);
+ yawSlider.setSelection(90);
+ rollSlider.setSelection(180);
+
double axisX[] = {0,0,-1};
double axisY[] = {1,0,0};
double axisZ[] = {0,-1,0};
panel.setGyroAxisY(axisY);
panel.setGyroAxisZ(axisZ);
panel.repaint();
+
+ button_click_pitch = 90;
+ button_click_yaw = 90;
+ button_click_roll = 180;
+
+ initValues();
}
});
}
@Override
public void run() {
- yawSlider.setSelection(yawValue + 180);
+ yawSlider.setSelection(yawValue + button_click_yaw);
}
});
}
@Override
public void run() {
- pitchSlider.setSelection(pitchValue + 180);
+ pitchSlider.setSelection(pitchValue + button_click_pitch);
}
});
}
@Override
public void run() {
- rollSlider.setSelection(rollValue + 180);
+ rollSlider.setSelection(rollValue + button_click_roll);
}
});
}
import org.tizen.common.connection.ConnectionPlugin;
import org.tizen.common.connection.ConnectionPlugin.ISelectionListener;
+import org.tizen.injector.view.InjectorView;
import org.tizen.sdblib.FileListingService.FileEntry;
import org.tizen.sdblib.IDevice;
import org.tizen.sensor.accelerometer.page.Accelerometer.Mode;
private Timer orientationTimer;
private boolean connected = false;
+ public void init_values() {
+ mPage.pitchSlider.setSelection(90);
+ mPage.yawSlider.setSelection(180);
+ mPage.rollSlider.setSelection(180);
+
+ double axisX[] = {1,0,0};
+ double axisY[] = {0,0,1};
+ double axisZ[] = {0,-1,0};
+ mPage.panel.setGyroAxisX(axisX);
+ mPage.panel.setGyroAxisY(axisY);
+ mPage.panel.setGyroAxisZ(axisZ);
+ mPage.panel.repaint();
+
+ mPage.button_click_pitch = 90;
+ mPage.button_click_yaw = 180;
+ mPage.button_click_roll = 180;
+
+ mPage.panel.rollDegree = 0;
+ mPage.panel.pitchDegree = 0;
+ mPage.panel.yawDegree = 0;
+
+ mPage.panel.old_gyro_rollDegree = 0;
+ mPage.panel.old_gyro_pitchDegree = 0;
+ mPage.panel.old_gyro_yawDegree = 0;
+
+ mPage.yawValue = 0;
+ mPage.pitchValue = 0;
+ mPage.rollValue = 0;
+
+ mPage.button01.setSelection(true);
+ mPage.button02.setSelection(false);
+ mPage.button03.setSelection(false);
+ mPage.mode = Mode.YAW_PITCH;
+
+ mPage.checkboxAccelerometer.setSelection(true);
+ mPage.panel.accelerometerTimer(mPage.checkboxAccelerometer.getSelection());
+
+ mPage.checkboxGeoMagnetic.setSelection(true);
+ mPage.panel.geomagneticTimer(mPage.checkboxGeoMagnetic.getSelection());
+
+ mPage.checkboxGyro.setSelection(true);
+ mPage.panel.gyroTimer(mPage.checkboxGyro.getSelection());
+
+ mPage.checkboxOrientation.setSelection(true);
+ mPage.panel.orientationTimer(mPage.checkboxOrientation.getSelection());
+ mPage.orientation_active = true;
+
+ Magnetic magnetic = Magnetic.getInstance();
+ magnetic.setAzimuth(0);
+ magnetic.setPitch(-90);
+ magnetic.setRoll(0);
+
+ // reset average
+ partial_accelx = 0;
+ partial_accely = 0;
+ partial_accelz = 0;
+ partial_accel_n = 0;
+
+ // reset average
+ partial_yaw = 0;
+ partial_pitch = 0;
+ partial_roll = 0;
+ partial_orientation_n = 0;
+ }
+
public MobilePanel(Accelerometer page) {
- ConnectionPlugin.getDefault().addSelectionListener(this);
+ InjectorView.getDefault().addSelectionListener(this);
currentDevice = ConnectionPlugin.getDefault().getCurrentDevice();
// TargetConnectionControl.addTargetConnectionListener(this);
}
});
-
-
addMouseMotionListener(new MouseMotionListener() {
public void mouseDragged(MouseEvent e) {
if (mPage.getMode() == Mode.YAW_PITCH) {
vec.reverserollpitchyaw();
// TODO: Add check condition to figure out selected sensors
-// if (mSensorSimulator.mEnabledAccelerometer.isSelected()) {
accelx = vec.x;
accely = vec.y;
accelz = vec.z;
if (accelz > limit) accelz = limit;
if (accelz < -limit) accelz = -limit;
}
-// } else {
-// accelx = 0;
-// accely = 0;
-// accelz = 0;
-// }
-
- // Orientation is currently not affected:
-// if (mSensorSimulator.mEnabledOrientation.isSelected()) {
- //yaw = Math.toRadians(yawDegree);
- //pitch = Math.toRadians(pitchDegree);
- //roll = Math.toRadians(rollDegree);
- // Since OpenGL uses degree as input,
- // and it seems also more user-friendly,
- // let us stick to degree.
- // (it seems, professional sensors also use
- // degree output.)
+
yaw = yawDegree;
pitch = pitchDegree;
roll = rollDegree;
-// } else {
-// yaw = 0;
-// pitch = 0;
-// roll = 0;
-// }
-
- // TODO: Add check condition for showing acceleration bar
-// if (mSensorSimulator.mShowAcceleration.isSelected()) {
- // We only have to repaint if we show the acceleration,
- // otherwise the phone does not change as long as there is
- // no user interaction.
- repaint();
-// };
+ repaint();
}
/**
if (read_roll >= 180) {
read_roll -= 360;
}
-
}
}
Vector v1 = new Vector(phone[i]);
Vector v2 = new Vector(phone[i+1]);
-// v1.rollpitchyaw(rollDegree, pitchDegree, yawDegree);
-// v2.rollpitchyaw(rollDegree, pitchDegree, yawDegree);
if( i == 0 ) {
v1.setAxisX(gyro_axisX);
v1.setAxisY(gyro_axisY);
v1.setAxisZ(gyro_axisZ);
v1.rollpitchyaw(draw_roll, draw_pitch, draw_yaw);
}
- //v2.rollpitchyaw(draw_roll, draw_pitch, draw_yaw);
+
v1.setPosition();
v2.setPosition();
centery - (v2.z + movez) * centerz / (centerz - v2.y)));
}
-// if (mSensorSimulator.mShowAcceleration.isSelected()) {
- // Now we also draw the acceleration:
+
+ // Now we also draw the acceleration:
g2.setColor(Color.GREEN);
Vector v1 = new Vector(0,0,0);
Vector v2 = new Vector(accelx, accely, accelz);
v2.scale(20 * ginverse);
- //Vector v2 = new Vector(1, 0, 0);
-// v1.rollpitchyaw(rollDegree, pitchDegree, yawDegree);
-// v2.rollpitchyaw(rollDegree, pitchDegree, yawDegree);
v1.setPosition();
v2.setPosition();
g2.draw(new Line2D.Double(
@Override
protected void finalize() throws Throwable {
- ConnectionPlugin.getDefault().removeSelectionListener(this);
+ InjectorView.getDefault().removeSelectionListener(this);
// TargetConnectionControl.removeTargetConnectionListener(this);
super.finalize();
}
public void setGyroAxisZ(double[] axis) {
gyro_axisZ = axis.clone();
}
+
+ public void setOldGyroRollDegree(double dgree) {
+ old_gyro_rollDegree = dgree;
+ }
+
+ public void setOldGyroPitchDegree(double dgree) {
+ old_gyro_pitchDegree = dgree;
+ }
+
+ public void setOldGyroYawDegree(double dgree) {
+ old_gyro_yawDegree = dgree;
+ }
+
// @Override
public void connect() {
connected = true;
mPage.dataOutputTimer.start();
}
currentDevice = ConnectionPlugin.getDefault().getCurrentDevice();
- }
+ init_values();
+}
// @Override
public void disconnect() {
public int getRoll(){
return roll;
}
+
+ public void setAzimuth(int value){
+ azimuth = value;
+ }
+ public void setPitch(int value){
+ pitch = value;
+ }
+ public void setRoll(int value){
+ roll = value;
+ }
+
public void updateSensorReadoutValues() {
long currentTime = System.currentTimeMillis();
if (average_compass) {
Bundle-Name: Tizen Event Injector Sensor Light
Bundle-SymbolicName: org.tizen.sensor.light;singleton:=true
Bundle-Version: 1.0.0.qualifier
-Bundle-Vendor: Tizen
+Bundle-Vendor: Samsung
Bundle-RequiredExecutionEnvironment: JavaSE-1.6
Import-Package:
org.eclipse.swt.widgets,
org.tizen.common.connection,
org.tizen.common.util,
org.tizen.sdblib
-Require-Bundle: org.tizen.injector;bundle-version="1.3.20",
+Require-Bundle: org.tizen.injector,
org.eclipse.swt;bundle-version="3.5.2",
- org.eclipse.core.runtime;bundle-version="3.7.0"
+ org.eclipse.core.runtime;bundle-version="3.7.0",
+ org.eclipse.core.commands;bundle-version="3.6.0"
import org.tizen.injector.protocol.sensor.TestSensorMessage;
import org.tizen.injector.provider.AbstractInjectorItem;
import org.tizen.injector.provider.AbstractInjectorPage;
+import org.tizen.injector.view.InjectorView;
public class LightPage extends AbstractInjectorPage implements ISelectionListener {
private Text sliderText;
@Override
protected void createContents() {
- ConnectionPlugin.getDefault().addSelectionListener(this);
+ InjectorView.getDefault().addSelectionListener(this);
currentDevice = ConnectionPlugin.getDefault().getCurrentDevice();
// Composite mainComposite = formUtil.createComposite(parent, 3);
}
luxData = Integer.parseInt(number);
sendMessage(2, luxData);
+
+ levelData = (luxData / 6554) % 10 + 1;
+ sendMessage(1, levelData);
}
});
@Override
protected void finalize() throws Throwable {
- ConnectionPlugin.getDefault().removeSelectionListener(this);
+ InjectorView.getDefault().removeSelectionListener(this);
// TargetConnectionControl.removeTargetConnectionListener(this);
super.finalize();
}
Bundle-Name: Tizen Event Injector Sensor Motion
Bundle-SymbolicName: org.tizen.sensor.motion;singleton:=true
Bundle-Version: 1.0.0.qualifier
-Bundle-Vendor: Tizen
+Bundle-Vendor: Samsung
Require-Bundle: org.eclipse.core.runtime,
org.eclipse.swt,
org.tizen.injector
Bundle-Name: Tizen Event Injector Sensor Proximity
Bundle-SymbolicName: org.tizen.sensor.proximity;singleton:=true
Bundle-Version: 1.0.0.qualifier
-Bundle-Vendor: Tizen
+Bundle-Vendor: Samsung
Bundle-RequiredExecutionEnvironment: JavaSE-1.6
Require-Bundle: org.tizen.injector,
org.eclipse.swt,
package org.tizen.sensor.proximity.page;
-import org.eclipse.swt.events.SelectionEvent;
-import org.eclipse.swt.events.SelectionListener;
+import org.eclipse.swt.events.MouseEvent;
+//import org.eclipse.swt.events.SelectionEvent;
+//import org.eclipse.swt.events.SelectionListener;
+import org.eclipse.swt.events.MouseListener;
import org.eclipse.swt.layout.GridData;
import org.eclipse.swt.widgets.Composite;
import org.tizen.injector.protocol.sensor.TestSensorMessage;
import org.tizen.injector.provider.AbstractInjectorItem;
import org.tizen.injector.provider.AbstractInjectorPage;
+import org.tizen.injector.view.InjectorView;
public class ProximityPage extends AbstractInjectorPage implements ISelectionListener {
private Text sliderText;
@Override
protected void createContents() {
- ConnectionPlugin.getDefault().addSelectionListener(this);
+ InjectorView.getDefault().addSelectionListener(this);
currentDevice = ConnectionPlugin.getDefault().getCurrentDevice();
Composite mainComposite = formUtil.createComposite(parent, 3);
formUtil.createLabel(mainComposite, proxiDistance);
slider = formUtil.createSlider(mainComposite, SWT.HORIZONTAL);
- slider.setValues(0, 0, 9, 1, 1, 1);
+ slider.setValues(8, 0, 9, 1, 1, 1);
slider.setLayoutData(new GridData(GridData.FILL, GridData.CENTER, true, false));
sliderText = formUtil.createText(mainComposite, Integer.toString(slider.getSelection()));
sliderText.setEditable(false);
gd.widthHint = 20;
sliderText.setLayoutData(gd);
sendData = slider.getSelection();
-
+ /*
slider.addSelectionListener(new SelectionListener() {
@Override
public void widgetDefaultSelected(SelectionEvent e) {
sendMessage(sendData);
}
});
+ */
+
+ slider.addMouseListener(new MouseListener() {
+ @Override
+ public void mouseDoubleClick(MouseEvent e) {
+ }
+ @Override
+ public void mouseDown(MouseEvent e) {
+ }
+ @Override
+ public void mouseUp(MouseEvent e) {
+ sendData = slider.getSelection();
+ slider.setSelection(sendData);
+ sliderText.setText(Integer.toString(sendData));
+ sendMessage(sendData);
+ }
+ });
boolean connected = checkDeviceConnectedAlready();
if (connected == true) {
public void connect() {
// TODO Auto-generated method stub
currentDevice = ConnectionPlugin.getDefault().getCurrentDevice();
+
+ slider.setSelection(8);
+ sendData = slider.getSelection();
+ sliderText.setText(Integer.toString(sendData));
}
// @Override
@Override
protected void finalize() throws Throwable {
- ConnectionPlugin.getDefault().removeSelectionListener(this);
+ InjectorView.getDefault().removeSelectionListener(this);
super.finalize();
}
Package:eventinjector-eplugin
-Version:0.2.6
+Version:0.2.19
OS:linux
Build-host-os:linux
Maintainer:yeongkyoon Lee <yeongkyoon.lee@samsung.com>, sungmin Ha <sungmin82.ha@samsung.com>
Description:EventInjector for emulator
Build-dependency:indigo-pde[linux], common-eplugin[linux]
-Install-dependency:base-ide-product[linux]
+Install-dependency:common-eplugin[linux], base-ide-product[linux]
Source:eventinjector-eplugin
Package:eventinjector-eplugin
-Version:0.2.6
+Version:0.2.19
OS:windows
Build-host-os:linux
Maintainer:yeongkyoon Lee <yeongkyoon.lee@samsung.com>, sungmin Ha <sungmin82.ha@samsung.com>
Description:EventInjector for emulator
Build-dependency:indigo-winpde[windows], common-eplugin[linux]
-Install-dependency:base-ide-product[windows]
+Install-dependency:common-eplugin[windows], base-ide-product[windows]
Source:eventinjector-eplugin