Bläddra i källkod

Some user guides

master
Chris Smith 14 år sedan
förälder
incheckning
6bab01a439
5 ändrade filer med 389 tillägg och 0 borttagningar
  1. Binär
      reports/contextanalyser-featured.png
  2. Binär
      reports/contextanalyser-menu.png
  3. 389
    0
      reports/final.lyx
  4. Binär
      reports/places-normal.png
  5. Binär
      reports/places-toast.png

Binär
reports/contextanalyser-featured.png Visa fil


Binär
reports/contextanalyser-menu.png Visa fil


+ 389
- 0
reports/final.lyx Visa fil

@@ -2140,6 +2140,48 @@ Mess!
2140 2140
 Activity Recorder application
2141 2141
 \end_layout
2142 2142
 
2143
+\begin_layout Standard
2144
+The Activity Recorder application was the second application published on
2145
+ the market.
2146
+ In contrast to the sensor logger, it only records the two relevant axes
2147
+ of the accelerometer, and all data is kept in memory
2148
+\begin_inset Note Note
2149
+status open
2150
+
2151
+\begin_layout Plain Layout
2152
+on the heap?
2153
+\end_layout
2154
+
2155
+\end_inset
2156
+
2157
+ instead of being written to a file.
2158
+\end_layout
2159
+
2160
+\begin_layout Standard
2161
+The activity recorder consists of a background service which records 128
2162
+ samples of sensor data once every 30 seconds.
2163
+ At all other times, the accelerometer is not accessed to conserve battery
2164
+ power.
2165
+ The samples are then classified using the same model as the Sensor Logger
2166
+ application, and the resulting activity is appended to a list.
2167
+ 
2168
+\begin_inset Note Note
2169
+status open
2170
+
2171
+\begin_layout Plain Layout
2172
+Adjacent
2173
+\end_layout
2174
+
2175
+\end_inset
2176
+
2177
+ samples which are classified as the same activity are merged together.
2178
+\end_layout
2179
+
2180
+\begin_layout Standard
2181
+The user interface displays a list of activities, along with their start
2182
+ time and duration in minutes or hours.
2183
+\end_layout
2184
+
2143 2185
 \begin_layout Part
2144 2186
 Microphone, camera and Bluetooth
2145 2187
 \end_layout
@@ -2326,6 +2368,353 @@ Conclusion
2326 2368
 \end_inset
2327 2369
 
2328 2370
 
2371
+\end_layout
2372
+
2373
+\begin_layout Part
2374
+Appendices
2375
+\end_layout
2376
+
2377
+\begin_layout Section
2378
+\start_of_appendix
2379
+User Guide - Context Analyser
2380
+\end_layout
2381
+
2382
+\begin_layout Standard
2383
+Welcome to the 
2384
+\noun on
2385
+Context Analyser
2386
+\noun default
2387
+.
2388
+ This application analyses your 
2389
+\emph on
2390
+context
2391
+\emph default
2392
+ as you carry your phone around with you performing day-to-day activities.
2393
+ Other applications can query your context information and enhance their
2394
+ behaviour so that they're more relevant to what you're doing.
2395
+\end_layout
2396
+
2397
+\begin_layout Standard
2398
+The context analyser currently provides the following context information:
2399
+\end_layout
2400
+
2401
+\begin_layout Itemize
2402
+Your activity
2403
+\end_layout
2404
+
2405
+\begin_layout Itemize
2406
+Your location
2407
+\end_layout
2408
+
2409
+\begin_layout Itemize
2410
+Your predicted destination, if you're not at a known location
2411
+\end_layout
2412
+
2413
+\begin_layout Standard
2414
+It does this by gathering data from your phone's accelerometers and location
2415
+ provider.
2416
+ Data is recorded for a few seconds once a minute, to preserve your battery
2417
+ life.
2418
+\end_layout
2419
+
2420
+\begin_layout Standard
2421
+For your 'activity', the context analyser tries to detect whether you are
2422
+ walking, sitting, standing, or in a vehicle.
2423
+ It can also expand on these to detect the difference between a car and
2424
+ a bus, and walking normally and walking up or down stairs.
2425
+ Future updates may add more activities.
2426
+\end_layout
2427
+
2428
+\begin_layout Standard
2429
+For your location and destination, the context analyser deals in 'places'.
2430
+ These are locations up to 500m wide where you have spent several minutes
2431
+ not moving.
2432
+ A place could correspond to your home, office, favourite coffee shop or
2433
+ a bus stop you frequently wait at.
2434
+ When you move between places, the context analyser notes which activities
2435
+ it thought you were performing, and stores these as a 'journey' which links
2436
+ the two places.
2437
+ When you next set off from one of these, it can compare your activities
2438
+ and see if it can guess where you're heading.
2439
+\end_layout
2440
+
2441
+\begin_layout Standard
2442
+There is very little you can do with the context analyser on its own.
2443
+ It's built as a tool for other applications to hook into.
2444
+ 
2445
+\begin_inset Float figure
2446
+wide false
2447
+sideways false
2448
+status collapsed
2449
+
2450
+\begin_layout Plain Layout
2451
+\begin_inset Graphics
2452
+	filename contextanalyser-featured.png
2453
+
2454
+\end_inset
2455
+
2456
+
2457
+\end_layout
2458
+
2459
+\begin_layout Plain Layout
2460
+\begin_inset Caption
2461
+
2462
+\begin_layout Plain Layout
2463
+Featured applications
2464
+\begin_inset CommandInset label
2465
+LatexCommand label
2466
+name "fig:Featured-applications"
2467
+
2468
+\end_inset
2469
+
2470
+
2471
+\end_layout
2472
+
2473
+\end_inset
2474
+
2475
+
2476
+\end_layout
2477
+
2478
+\end_inset
2479
+
2480
+You can see some of these featured applications listed when you open the
2481
+ context analyser (see 
2482
+\begin_inset CommandInset ref
2483
+LatexCommand prettyref
2484
+reference "fig:Featured-applications"
2485
+
2486
+\end_inset
2487
+
2488
+) .
2489
+ Simply click on one of them and the Android market will open for you to
2490
+ view or install your chosen app.
2491
+\end_layout
2492
+
2493
+\begin_layout Standard
2494
+\begin_inset Float figure
2495
+wide false
2496
+sideways false
2497
+status collapsed
2498
+
2499
+\begin_layout Plain Layout
2500
+\begin_inset Graphics
2501
+	filename contextanalyser-menu.png
2502
+
2503
+\end_inset
2504
+
2505
+
2506
+\begin_inset Caption
2507
+
2508
+\begin_layout Plain Layout
2509
+Disable service button
2510
+\begin_inset CommandInset label
2511
+LatexCommand label
2512
+name "fig:Disable-service-button"
2513
+
2514
+\end_inset
2515
+
2516
+
2517
+\end_layout
2518
+
2519
+\end_inset
2520
+
2521
+
2522
+\end_layout
2523
+
2524
+\end_inset
2525
+
2526
+The context analyser will run a background service as soon as you open the
2527
+ application, or whenever another application requests data from it.
2528
+ If you wish to disable the background service (which will stop the context
2529
+ analyser from detecting places or determining your activity), press the
2530
+ 
2531
+\noun on
2532
+menu
2533
+\noun default
2534
+ button and select the 
2535
+\noun on
2536
+Disable service
2537
+\noun default
2538
+ option (see 
2539
+\begin_inset CommandInset ref
2540
+LatexCommand prettyref
2541
+reference "fig:Disable-service-button"
2542
+
2543
+\end_inset
2544
+
2545
+).
2546
+ The background service will not run until you repeat the procedure and
2547
+ select 
2548
+\noun on
2549
+Enable service
2550
+\noun default
2551
+.
2552
+\end_layout
2553
+
2554
+\begin_layout Section
2555
+User Guide - Places
2556
+\end_layout
2557
+
2558
+\begin_layout Standard
2559
+The 
2560
+\noun on
2561
+places
2562
+\noun default
2563
+ application shows you all of the places detected by the 
2564
+\noun on
2565
+Context Analyser
2566
+\noun default
2567
+, and the journeys you make in between them.
2568
+ The 
2569
+\noun on
2570
+Context Analyser
2571
+\noun default
2572
+ is a tool which tries to determine your current activity and location,
2573
+ and your destination if you're on the move.
2574
+ If you don't have the 
2575
+\noun on
2576
+Context Analyser
2577
+\noun default
2578
+ installed, you'll be prompted to install it from the market.
2579
+\end_layout
2580
+
2581
+\begin_layout Standard
2582
+\begin_inset Float figure
2583
+wide false
2584
+sideways false
2585
+status collapsed
2586
+
2587
+\begin_layout Plain Layout
2588
+\begin_inset Graphics
2589
+	filename places-normal.png
2590
+
2591
+\end_inset
2592
+
2593
+
2594
+\end_layout
2595
+
2596
+\begin_layout Plain Layout
2597
+\begin_inset Caption
2598
+
2599
+\begin_layout Plain Layout
2600
+Places application
2601
+\begin_inset CommandInset label
2602
+LatexCommand label
2603
+name "fig:Places-application"
2604
+
2605
+\end_inset
2606
+
2607
+
2608
+\end_layout
2609
+
2610
+\end_inset
2611
+
2612
+
2613
+\end_layout
2614
+
2615
+\begin_layout Plain Layout
2616
+
2617
+\end_layout
2618
+
2619
+\end_inset
2620
+
2621
+The places application displays a map and marks each detected place with
2622
+ an orange star.
2623
+ Places you've travelled between are connected with a red line - the thicker
2624
+ the line, the more frequently you make that journey.
2625
+ In 
2626
+\begin_inset CommandInset ref
2627
+LatexCommand prettyref
2628
+reference "fig:Places-application"
2629
+
2630
+\end_inset
2631
+
2632
+, you can see two places with a very frequently made journey between them.
2633
+\end_layout
2634
+
2635
+\begin_layout Standard
2636
+You can pan the map by dragging it around with your finger, or by moving
2637
+ your phone's trackball (if it has one).
2638
+ To zoom in and out, tap the screen and wait two seconds and the zoom controls
2639
+ will appear at the bottom of the map.
2640
+ Simply tap either button to zoom in or out.
2641
+\end_layout
2642
+
2643
+\begin_layout Standard
2644
+\begin_inset Float figure
2645
+wide false
2646
+sideways false
2647
+status collapsed
2648
+
2649
+\begin_layout Plain Layout
2650
+\begin_inset Graphics
2651
+	filename places-toast.png
2652
+
2653
+\end_inset
2654
+
2655
+
2656
+\end_layout
2657
+
2658
+\begin_layout Plain Layout
2659
+\begin_inset Caption
2660
+
2661
+\begin_layout Plain Layout
2662
+Place details
2663
+\begin_inset CommandInset label
2664
+LatexCommand label
2665
+name "fig:Place-details"
2666
+
2667
+\end_inset
2668
+
2669
+
2670
+\end_layout
2671
+
2672
+\end_inset
2673
+
2674
+
2675
+\end_layout
2676
+
2677
+\begin_layout Plain Layout
2678
+
2679
+\end_layout
2680
+
2681
+\end_inset
2682
+
2683
+To see more information about a place, simply tap on its star.
2684
+ A small 
2685
+\emph on
2686
+toast
2687
+\emph default
2688
+ will appear giving you the name of the place, the number of visits, and
2689
+ the date and time of your last visit.
2690
+ Names are determined automatically by geocoding the latitude and longitude
2691
+ to a nearby place name - this could be the name of a street, a nearby landmark
2692
+ or a side alley.
2693
+ 
2694
+\begin_inset CommandInset ref
2695
+LatexCommand prettyref
2696
+reference "fig:Place-details"
2697
+
2698
+\end_inset
2699
+
2700
+ shows the result of tapping one of the stars - the name of the place is
2701
+ 
2702
+\begin_inset Quotes eld
2703
+\end_inset
2704
+
2705
+Rose Alley
2706
+\begin_inset Quotes erd
2707
+\end_inset
2708
+
2709
+, it has been visited 37 times and the last time this happened was in the
2710
+ early hours of July the 10th.
2711
+\end_layout
2712
+
2713
+\begin_layout Standard
2714
+\begin_inset Newpage pagebreak
2715
+\end_inset
2716
+
2717
+
2329 2718
 \begin_inset CommandInset bibtex
2330 2719
 LatexCommand bibtex
2331 2720
 bibfiles "/home/chris/Uni/project/papers/project"

Binär
reports/places-normal.png Visa fil


Binär
reports/places-toast.png Visa fil


Laddar…
Avbryt
Spara