java - making an android activity run without ui -


i have startingactivity on google-glass

i want run silently,

meaning run, communicate server,

get , send data - user won't see app.

the user see static card time time,

but can in context of app.

my tries:

  1. i have thought create service instead of startingactivity,but there many things relays on main ui views

  2. if comment out setcontentview(), code refers view.findviewbyid() fail. no? , besides user see black screen instead of silent run desire.

  3. any other solution silent run, yet running startingactivity fully?


Comments

Popular posts from this blog

node.js - StackOverflow API not returning JSON -

ios - Apple Push Notifications + TestFlight + Enterprise wildcard provisioning profile -

android - Drag and drop in ScrollView -