Skip to content

Commit 20efd5c

Browse files
authored
Merge pull request #1730 from fossasia/development
chore: merge dev branch to master
2 parents 82d4d7c + db6b4c7 commit 20efd5c

File tree

107 files changed

+4466
-2273
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

107 files changed

+4466
-2273
lines changed

README.md

+13-5
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
[![Build Status](https://travis-ci.org/fossasia/pslab-android.svg?branch=development)](https://travis-ci.org/fossasia/pslab-android)
77
[![Gitter](https://badges.gitter.im/fossasia/pslab.svg)](https://gitter.im/fossasia/pslab?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge)
88
[![Codacy Badge](https://api.codacy.com/project/badge/Grade/dd728d91bb5743ff916c16c1251f8dd5)](https://www.codacy.com/app/praveenkumar103/pslab-android?utm_source=github.com&utm_medium=referral&utm_content=fossasia/pslab-android&utm_campaign=Badge_Grade)
9-
[![Mailing List](https://img.shields.io/badge/Mailing%20List-FOSSASIA-blue.svg)](mailto:pslab-fossasia@googlegroups.com)
9+
[![Mailing List](https://img.shields.io/badge/Mailing%20List-FOSSASIA-blue.svg)](https://groups.google.com/forum/#!forum/pslab-fossasia)
1010
[![Twitter Follow](https://img.shields.io/twitter/follow/pslabio.svg?style=social&label=Follow&maxAge=2592000?style=flat-square)](https://twitter.com/pslabio)
1111

1212
This repository holds the Android App for performing experiments with [PSLab](https://pslab.io/). PSLab is a tiny pocket science lab that provides an array of equipment for doing science and engineering experiments. It can function like an oscilloscope, waveform generator, frequency counter, programmable voltage and current source and also as a data logger. Our website is at https://pslab.io
@@ -41,7 +41,7 @@ Please join us on the following channels:
4141
<table>
4242
<tr>
4343
<td><img src="/docs/images/view_about_us.png"></td>
44-
<td><img src="/docs/images/view_navigation_drawer.png"></td>
44+
<td><img src="/docs/images/view_not_connected_nav_menu.png" width = "500"></td>
4545
<td><img src="/docs/images/view_pin_layout_front.png"></td>
4646
<td><img src="/docs/images/view_pin_layout_back.png"></td>
4747
</tr>
@@ -72,6 +72,12 @@ Please join us on the following channels:
7272
<td><img src="/docs/images/view_data_logger.png"></td>
7373
</tr>
7474
</table>
75+
<table>
76+
<tr>
77+
<td><img src="/docs/images/instrument_accelerometer_view.png" width = "500"></td>
78+
<td><img src="/docs/images/instrument_compass_view.png" width = "500"></td>
79+
</tr>
80+
</table>
7581

7682
## Video Demo
7783
- [PSLab Android App Overview](https://www.youtube.com/watch?v=JJfsF0b8M8k)
@@ -90,12 +96,14 @@ Please join us on the following channels:
9096
| Wave Generator | Generates arbitrary analog and digital waveforms ||
9197
| Power Source | Generates programmable voltage and currents ||
9298
| Lux Meter | Measures the ambient light intensity ||
93-
94-
99+
| Baro Meter | Measures the Pressure ||
100+
| AcceleroMeter | Measures the acceleration of the device ||
101+
| Gyro Meter | Measures the rate of rotation ||
102+
| Compass | Measures the absolute rotation relative to earth magnetic poles ||
95103
## How to set up the Android app in your development environment
96104

97105
Minimum Android version 4.1 (API Level 16)
98-
106+
99107
Maximum Android version 8.1 (API Level 27)
100108

101109
### Development Setup

app/build.gradle

+3-2
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,8 @@ android {
88
applicationId "io.pslab"
99
minSdkVersion rootProject.ext.minSdkVersion
1010
targetSdkVersion rootProject.ext.targetSdkVersion
11-
versionCode 12
12-
versionName "2.0.11"
11+
versionCode 13
12+
versionName "2.0.12"
1313
multiDexEnabled true
1414
testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner"
1515
}
@@ -67,6 +67,7 @@ dependencies {
6767
implementation "com.squareup.picasso:picasso:$rootProject.picassoVersion"
6868

6969
implementation "com.jakewharton:butterknife:$rootProject.butterKnifeVersion"
70+
implementation 'com.android.support.constraint:constraint-layout:1.1.3'
7071
annotationProcessor "com.jakewharton:butterknife-compiler:$rootProject.butterKnifeVersion"
7172

7273
// Map libraries

app/src/main/AndroidManifest.xml

+7-2
Original file line numberDiff line numberDiff line change
@@ -71,15 +71,20 @@
7171
<activity
7272
android:name=".activity.WaveGeneratorActivity"
7373
android:screenOrientation="userLandscape" />
74-
<activity android:name=".activity.AccelerometerActivity" />
74+
<activity android:name=".activity.AccelerometerActivity"
75+
android:screenOrientation="portrait"/>
7576
<activity android:name=".activity.DataLoggerActivity" />
7677
<activity
7778
android:name=".activity.BarometerActivity"
7879
android:configChanges="keyboardHidden|screenSize|orientation"
79-
android:screenOrientation="portrait"/>
80+
android:screenOrientation="portrait" />
8081
<activity
8182
android:name=".activity.CompassActivity"
8283
android:screenOrientation="portrait" />
84+
<activity
85+
android:name=".activity.GyroscopeActivity"
86+
android:screenOrientation="portrait" />
87+
8388
<activity android:name=".activity.MapsActivity" />
8489

8590
<receiver android:name=".receivers.USBDetachReceiver" />

0 commit comments

Comments
 (0)