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

python - Subclassed QStyledItemDelegate ignores Stylesheet -

java - HttpClient 3.1 Connection pooling vs HttpClient 4.3.2 -

SQL: Divide the sum of values in one table with the count of rows in another -