title: Possible to make android watch face a picture from my gallery?
body: <p>Is it possible to make an app that will take a picture from a user's phone's gallery and convert it to a android wearable watch face? </p>
  
  <p>I've been reading up on these Android articles</p>
  
  <p><a href="https://developer.android.com/training/wearables/watch-faces/index.html" rel="nofollow noreferrer">https://developer.android.com/training/wearables/watch-faces/index.html</a></p>
  
  <p><a href="https://developer.android.com/training/wearables/watch-faces/drawing.html" rel="nofollow noreferrer">https://developer.android.com/training/wearables/watch-faces/drawing.html</a></p>
  
  <p>and it seems if I can get a user to select a picture from the gallery and convert it to a bitmap it would then be plausible to set that as the watch face. I'm definitely a beginner programmer when it comes to Android and apks. 
  Confirmation from a more advanced Android developer would be great.</p>
  
  <p>Now where I'm getting confused is if the picking of the picture would happen on the user's phone and send it to the android wearable app or if the wearable app has the ability to access the gallery of the user's phone and select it directly. Does anyone know if wearable apps can access the gallery of a users phone?</p>
  
  <p>Assuming I already have a reference of the image selected it would be something  like this? Correct me if I'm wrong. (Taken from second article under "Initialize watch face elements"</p>
  
  <pre><code>@Override
  public void onCreate(SurfaceHolder holder) {
      super.onCreate(holder);
  
      // configure the system UI (see next section)
      ...
  
      // load the background image
      Resources resources = AnalogWatchFaceService.this.getResources();
      //at this point the user should have already picked the picture they want
      //so set "backgroundDrawable" to the image the user picture
      int idOfUserSelectPicture = GetIdOfUserSelectedPictureSomehow();
      Drawable backgroundDrawable = resources.getDrawable(idOfUserSelectPicture, null);
      //original implementation from article
      //Drawable backgroundDrawable = resources.getDrawable(R.drawable.bg, null);
      mBackgroundBitmap = ((BitmapDrawable) backgroundDrawable).getBitmap();
  
      // create graphic styles
      mHourPaint = new Paint();
      mHourPaint.setARGB(255, 200, 200, 200);
      mHourPaint.setStrokeWidth(5.0f);
      mHourPaint.setAntiAlias(true);
      mHourPaint.setStrokeCap(Paint.Cap.ROUND);
      ...
  
      // allocate a Calendar to calculate local time using the UTC time and time zone
      mCalendar = Calendar.getInstance();
  }
  </code></pre>
  
  <p>Thank you for any and all help. </p>