Sha256: 6ace42b83967453ac3b5c3c206671ea1e6c880141f8bd51e430ad20ac918342f
Contents?: true
Size: 461 Bytes
Versions: 11
Compression:
Stored size: 461 Bytes
Contents
require 'ruboto/util/toast' # Services are complicated and don't really make sense unless you # show the interaction between the Service and other parts of your # app. # For now, just take a look at the explanation and example in # online: # http://developer.android.com/reference/android/app/Service.html class SampleService def on_start_command(intent, flags, startId) toast "Hello from the service" android.app.Service::START_NOT_STICKY end end
Version data entries
11 entries across 11 versions & 1 rubygems