PageRenderTime 15ms CodeModel.GetById 7ms app.highlight 4ms RepoModel.GetById 1ms app.codeStats 0ms

/actionslib/src/com/google/android/marvin/commands/impls/LocationCommand.java

http://eyes-free.googlecode.com/
Java | 30 lines | 9 code | 8 blank | 13 comment | 0 complexity | 7b3227b503fd94485bb5d723f231184a MD5 | raw file
 1// Copyright 2010 Google Inc. All Rights Reserved.
 2
 3package com.google.android.marvin.commands.impls;
 4
 5import com.google.android.marvin.commands.CommandExecutor;
 6
 7import android.content.Context;
 8
 9/**
10 * A command that provides the current location.
11 * 
12 * @author clsimon@google.com (Cheryl Simon)
13 *
14 */
15public class LocationCommand implements CommandExecutor {
16
17//    private boolean mUseGpsThisTime = true;
18    
19    @Override
20    public String executeCommand(Context context) {
21        // TODO: Refactor location service to return a single string.
22
23//      Guide mGuide = new Guide(context);
24//      String res = mGuide.speakLocation(mUseGpsThisTime);
25//      mUseGpsThisTime = !mUseGpsThisTime;
26//      return res;
27        return "";
28    }
29
30}