Completed

Android BT app add features

This project was successfully completed by zhaozw for $192 USD in 3 days.

Get free quotes for a project like this
Employer working
Completed by:
Skills Required
Project Budget
$30 - $250 USD
Completed In
3 days
Total Bids
9
Project Description

Hi,

There is a working app that do the following:
The app recievs 3 bytes from SPP bluetooth connection and show the data in two ways:
portrait mode -
shows the first number as Pulse R ,
the second number as Flow R,
the third number corresponds to the little man picture: 1= standing 2 = walking 3= running
the hurt beats every time data is recieved

in Landscape mode -
graph of the first number Pulse R
graph of the second number Flow R
little man picture: 1= standing 2 = walking 3= running
the hurt beats every time data is recieved

from the menu you can connect to BT device, setup how many points to see in the X axis and clear the graphs



need to do:
recieve 32 bytes and not 3
add button to the menu- that when it is pressed will start saving the data received (all 32 bytes) in a CSV file:
show a dialog for the user to enter filename, the actual file name will be the name the user entered and the date and time of now.
show in portrait mode and in landscape mode
when it is pressed it turns to a stop button which stops the recording, and change back to record button

in portrait mode:
show 6 numbers and 4 icons in a row:
Icons:
little man picture: from activity byte as it is today 1= standing 2 = walking 3= running.
Touch or no Touch: (need to find image of a finger touching and not touching) from Touch byte, if =1 than show touching, if =0 show not touching
Battery status: from Battery status byte , we get it in percetages and need to show an icon of battery with the percetages we got like in the taskbar on the android system
Chraging status: from Chraging status byte, need to find an image of charging and image of not charging if =1 show charging, if =0 show not charging

numbers:
Pulse R - as it is today (first byte)
Per L - second byte,
Per M - third byte,
Per H - forth byte,
RCO - fifth byte,
SNR - accoring to SNR bytes

In Landscape mode:
put graphs in scroll view and add a graph so there will be 3 graphs:
1) like now Pule R from the first byte
2) Per H - the third byte from the Perfusion bytes (forth byte overall)
3) Wave from -
the wave form we get are 16 bytes:
4 bytes = A1 parameter (long)
4 bytes = A2 parameter (long)
4 bytes = A3 parameter (long)
4 bytes = f parameter (long)
The wave form to show is:
A1*sin(2*[url removed, login to view]*f*t) + A2*sin(2*[url removed, login to view]*2*f*t) + A3*sin(2*[url removed, login to view]*3*f*t) - in radians
t is the sampling rate of 20 hertz (20 times per second)
Need to create a thread that will update the third graph at 20 hertz (20 times per seocnd) and when a BT message is recieved the parameters change and the graph continue to update with the new parameters accrding to the formula.
the X axis is the seconds
4) Icons row same as in portrait (there is a row now of 2 icons).

I have started to do it, made the layout with the new requierments (fields and graph) need to add logic and find images for the new icons.
Freelancer need to be able to test the BT communication using PC and software like docklight (send 32 bytes and test the app) or other BT device.
Project needs to complete within max 2-3 days.

Thanks

Looking to make some money?

  • Set your budget and the timeframe
  • Outline your proposal
  • Get paid for your work

Hire Freelancers who also bid on this project

    • Forbes
    • The New York Times
    • Time
    • Wall Street Journal
    • Times Online