title: Android App that manages multiple Outlook Meeting Rooms
body: <p>I'm developing an Android App that will manage bookings for a few Outlook meeting rooms (users). The idea is just to display their availability and book a room for a certain amount of time.</p>
  
  <p>So far I have had success getting the events just on my own calendar using Outlook SDK Android.</p>
  
  <pre><code>// logon() {
         ...
         mResolver = new DependencyResolver.Builder(
                new OkHttpTransport().setInterceptor(new LoggingInterceptor()),  
                new GsonSerializer(),
                new AuthenticationCredentials() {
                     @Override
                     public Credentials getCredentials() {
                        return new OAuthCredentials(
                                     authenticationResult.getAccessToken()
                        );
                     }
                }).build();
  
  
  // onCreate() {
  
        Futures.addCallback( logon(), new FutureCallback&lt;Boolean&gt;() { 
              @Override
              public void onSuccess(Boolean result) {
                  mClient = new OutlookClient(outlookBaseUrl, mResolver);
                  getCalendars();
              }
  
              @Override
              public void onFailure(Throwable t) {
                  Log.e("logon", t.getMessage());
              }
        });
  
  
        ...
  
        protected void getCalendars() {
            DateTime startDate = new DateTime(   
                DateTime.parse("2016-02-05T00:00:00Z"));
            DateTime endDate = new DateTime(
                DateTime.parse("2016-02-06T00:00:00Z"));
            Futures.addCallback(
                mClient.getMe()
                        .getCalendarView()
                        .addParameter("startDateTime", startDate)
                        .addParameter("endDateTime", endDate)
                        .read(),
  
                new FutureCallback&lt;OrcList&lt;Event&gt;&gt;() {
                    @Override
                    public void onSuccess(final OrcList&lt;Event&gt; result) {
                        runOnUiThread(new Runnable() {
                            @Override
                            public void run() {
                                StringBuilder sb = new StringBuilder();
                                ListIterator&lt;Event&gt; events =
                                            result.listIterator();
                                while (events.hasNext()) {
                                    Event event = events.next();
                                    sb.append(event.getSubject() + "\n");
                                }
                                messagesTextView.setText(sb.toString());
                            }
                        });
                    }
  
                    @Override
                    public void onFailure(Throwable t) {
                        Log.e("Calendar error", t.getLocalizedMessage());
                    }
                }
            );
        }    
  </code></pre>
  
  <p>Or in alternative using <em>getUsers()</em> instead of <em>getMe()</em>: see <a href="https://stackoverflow.com/questions/35585155/get-user-calendar-using-outlookclient">here</a>.</p>
  
  <p>So now next steps are:</p>
  
  <ol>
  <li><p>Do I need an admin user even just to read the meeting rooms calendar or there's some other way?</p></li>
  <li><p>If I won't be allowed to use an admin account can I manage multiple users with a good usability / performance relying on Oauth flow?</p></li>
  <li><p>I'm new to Android, is it easier to deal with Outlook REST API or Microsoft Graph?</p></li>
  </ol>
  
  <p>Thanks</p>