Sha256: 283aa22c473ccf706ec030cc58d13fad4d3c58b0ed846513f3bd14d9e33b65e5

Contents?: true

Size: 216 Bytes

Versions: 4

Compression:

Stored size: 216 Bytes

Contents

require 'ruboto'

# will get called whenever the BroadcastReceiver receives an intent (whenever onReceive is called)
$broadcast_receiver.handle_receive do |context, intent|
  Log.v "MYAPP", intent.getExtras.to_s
end

Version data entries

4 entries across 4 versions & 2 rubygems

Version Path
ruboto-0.5.2 assets/samples/sample_broadcast_receiver.rb
ruboto-core-0.5.1 assets/samples/sample_broadcast_receiver.rb
ruboto-core-0.4.1.rc.4 assets/samples/sample_broadcast_receiver.rb
ruboto-core-0.4.0 assets/samples/sample_broadcast_receiver.rb