google-code-export / wificompass

Automatically exported from code.google.com/p/wificompass
1 stars 1 forks source link

Implement MultiTouch GUI Elements #9

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Describe the task:

add the following GUI elements:
current Position (draggable)
Measuring points

Original issue reported on code.google.com by paul.woe...@gmail.com on 14 Feb 2012 at 7:42

GoogleCodeExporter commented 9 years ago
draggables should also be able to display a direction, like a compass. 

Original comment by paul.woe...@gmail.com on 9 Mar 2012 at 9:51

GoogleCodeExporter commented 9 years ago
This issue was updated by revision r56.

Added a User icon and a Measuring Point icon to the Map View.

Original comment by tkon...@gmx.net on 9 Mar 2012 at 10:23

GoogleCodeExporter commented 9 years ago
This issue was updated by revision r58.

Made the User icon draggable. Draggable subobjects are now really draggable. 
The view is now invalidated after every onTouch() call to make sure everything 
is re-painted on touch events.

Original comment by tkon...@gmx.net on 9 Mar 2012 at 2:03

GoogleCodeExporter commented 9 years ago
This issue was updated by revision r60.

The relative position of sub-drawables is now correctly re-calculated when they 
are dragged over the super-drawable.

Original comment by tkon...@gmx.net on 9 Mar 2012 at 3:43

GoogleCodeExporter commented 9 years ago
This issue was updated by revision r61.

added WifiScanResult to MeasuringPoint

Original comment by paul.woe...@gmail.com on 9 Mar 2012 at 4:45

GoogleCodeExporter commented 9 years ago
A few more things to do here:

- Let text in popups scroll when it's too long in Map View
- Remove all popups when
    - another popup is opened
    - the user tips anywhere on the map
- Open popups only when when an "UP" event is triggered (we need to transmit 
the Touch Event Type information somehow to the Drawable)
- Add a button to the Map View: "Snap user to grid" which snaps the current 
user position to an integer value (e.g., 25/40 when the icon was dragged to 
25,23/39,59)

Original comment by tkon...@gmx.net on 10 Mar 2012 at 3:05

GoogleCodeExporter commented 9 years ago
This issue was updated by revision r63.

Refractored some class names in the Project Site activity to make them more 
consistent. Added the ability to snap the user's position to the grid. Fixed 
the "Reset zoom/rotation" functionality, it now works as expected.

Original comment by tkon...@gmx.net on 10 Mar 2012 at 3:57

GoogleCodeExporter commented 9 years ago
- Remove all popups when
    - another popup is opened

I don't think thats a good idea, because maybe the user wants to compare the 
data of these to access points. If all other popups close, there's no way to do 
so. 
I think it's ok to close all popups, if clicked on the map.

Original comment by paul.woe...@gmail.com on 11 Mar 2012 at 11:27

GoogleCodeExporter commented 9 years ago
hmm, comment wasn't added by source checkin, so adding it now.

Update from r65
refactored PopupDrawable code, so the Popup itself can handle, if it should be 
shown or not. Helps make our life easier, because we won't have to implement 
isActive in every superDrawable. This is something which belongs to the Popup, 
so we implement it there.

changed the MeasuringDrawable icon to be a little bigger, to be easier 
touchable. The icon itself wasn't scaled, only the transparent area around

Original comment by paul.woe...@gmail.com on 11 Mar 2012 at 2:27

GoogleCodeExporter commented 9 years ago
This issue was updated by revision r66.

small update for MultiTouchDrawable:
if a relative position is set, recalculate the position from its superDrawable

Original comment by paul.woe...@gmail.com on 11 Mar 2012 at 2:40

GoogleCodeExporter commented 9 years ago
This issue was updated by revision r72.

added some fancy icons for measuring points and APs
made AccesPoints calculation persistent
created layout-land for project site

Original comment by paul.woe...@gmail.com on 11 Mar 2012 at 7:51

GoogleCodeExporter commented 9 years ago
This issue was updated by revision r74.

the height of the popup is adopted to the size of the text and dynamically 
managed.

Original comment by paul.woe...@gmail.com on 12 Mar 2012 at 8:24

GoogleCodeExporter commented 9 years ago
This issue was updated by revision r79.

Changed the measurement point icon to a footprint.

Original comment by tkon...@gmx.net on 12 Mar 2012 at 11:19

GoogleCodeExporter commented 9 years ago
This issue was updated by revision r83.

Changed the popup text of the Access Point icon to show the coordinates of the 
calculated position in meters (considering the grid size of the Map View).

Original comment by tkon...@gmx.net on 13 Mar 2012 at 10:14

GoogleCodeExporter commented 9 years ago
This issue was updated by revision r84.

tried to call onSingleTouch only on MOTION_UP events:

it's hard to find MOTION_UP events, because if the finger does not stay exactly 
on the correct position, 
this will change to dragging and we wont't get the drag end as MOTION_UP

So we just stay on MOTION_DOWN events for now.

Original comment by paul.woe...@gmail.com on 13 Mar 2012 at 10:40

GoogleCodeExporter commented 9 years ago
This issue was updated by revision r85.

DeleteDrawable should only act, if it is active

Original comment by paul.woe...@gmail.com on 13 Mar 2012 at 10:43

GoogleCodeExporter commented 9 years ago
This issue was updated by revision r86.

Added support for setting the scale of the map.

Original comment by tkon...@gmx.net on 13 Mar 2012 at 2:15

GoogleCodeExporter commented 9 years ago
This issue was updated by revision r96.

Updated SiteMapDrawable to prevent flapping of the outermost grid line when an 
exact map size is used.

Original comment by tkon...@gmx.net on 15 Mar 2012 at 10:48

GoogleCodeExporter commented 9 years ago
The TextPopupDrawable hops around the first time the user icon is dragged. I 
have no idea why?!?!?

Any ideas???

Original comment by paul.woe...@gmail.com on 3 Apr 2012 at 7:07

GoogleCodeExporter commented 9 years ago
Problem found: The angle of the Popup should always be 0°, it is not 
automatically rotated with compass, so that's fine.

Original comment by paul.woe...@gmail.com on 4 Apr 2012 at 9:18

GoogleCodeExporter commented 9 years ago
This issue was updated by revision r128.

fixed UserCompassDrawable hopping around

Update issue 11
added Step Size to Calibrate Sensors

Original comment by paul.woe...@gmail.com on 21 Apr 2012 at 10:43

GoogleCodeExporter commented 9 years ago
i think we are finished here for now.

Original comment by paul.woe...@gmail.com on 28 Apr 2012 at 10:21