Commit Graph

9 Commits

Author SHA1 Message Date
Branden Archer
562a2bb164 Initial attempt at pairing with child device with address/port
On some networks or some mDNS implementations child discovery may not
work well. As an alternative, allow a parent to connect to a device
directly with an IP Address and port.
2016-01-01 16:20:24 -05:00
Branden Archer
7cb2138d13 Display IP Address and port of child device
Later, the parent will be able to use this information to pair
with the child device, as an alternative to using mDNS
2016-01-01 16:20:24 -05:00
Branden Archer
68d9c69a01 Update versionName to be 0.1 for initial release 2015-12-28 21:01:26 -05:00
Branden Archer
6af9dff004 Prevent screen rotation or resize from destroying activities
If the screen is rotated by default Android destroys the
activity and recreates it. This causes issues if a child and
parent are already paired, as the connection is lost.

To prevent Android from destroying the Activity, instead
invoke a configuration change on an orientation or resize.
2015-12-27 20:50:25 -05:00
Branden Archer
429c3005a9 Use Holo theme 2015-12-27 14:28:54 -05:00
Branden Archer
2e164c0fb2 Add ListenActivity for playing audio from ProtectBabyMonitor services
This activity will eventually receive audio from the MonitorActivity
of another Android device and play it.
2015-12-26 17:51:21 -05:00
Branden Archer
eb9cd75c3a Add DiscoverActivity - lists of baby monitors on the network
This is the stub of the DiscoverActivity, which is responsible for
discovering all available ProtectBabyMonitor services on the
local network.
2015-12-26 17:51:21 -05:00
Branden Archer
11bf3822b6 Add MonitorActivity - for registering on network and sending audio
This commit adds the shell of the MonitorActivity. This activity
will register its service on the local network, wait for a connection,
then send audio data.
2015-12-26 15:49:12 -05:00
Branden Archer
7bd19f2325 Add StartActivity - landing page of baby monitor
The StartActivity is the first activity which will be launched
in the baby monitor, and in the future will list the two main
options: become a monitor or a listener.
2015-12-26 15:48:42 -05:00