Apt3kStudio / Phone

2 stars 0 forks source link

Create a Time-Stamp #71

Closed dioscarr closed 5 years ago

dioscarr commented 5 years ago

Time-stamp


Requirement

Release 3.0

Create Phone TimeStamp logic


The phone should know what to do. It should create a time stamp at the moment the watch advertise to the phone. As soon as the phone is notified that the watch has a message the phone should create the time stamp.

The diagram below shows how the watch, phone and web will communication image

Stage 2 - Timestamp

@nvasquedr and @dioscarr how should we follow up on this? is this an actual issue?

[Example 1] Timestamp Class

[get: Android.Runtime.Register("getNanos", "()I", "GetGetNanosHandler")]
[set: Android.Runtime.Register("setNanos", "(I)V", "GetSetNanos_IHandler")]
public virtual int Nanos { get; set; }
[Android.Runtime.Register("compareTo", "(Ljava/sql/Timestamp;)I", "GetCompareTo_Ljava_sql_Timestamp_Handler")]
public virtual int CompareTo (Java.Sql.Timestamp ts);
[Android.Runtime.Register("after", "(Ljava/sql/Timestamp;)Z", "GetAfter_Ljava_sql_Timestamp_Handler")]
public virtual bool After (Java.Sql.Timestamp ts);
[Android.Runtime.Register("equals", "(Ljava/sql/Timestamp;)Z", "GetEquals_Ljava_sql_Timestamp_Handler")]
public virtual bool Equals (Java.Sql.Timestamp ts);
dioscarr commented 5 years ago

Release 4.0

Modify watch communicator class to interact with the phone.

dioscarr commented 5 years ago

Follow Up

We should follow up on the diagram. Steps 2to 3, 3 to 4. @jagomez16