title: Sl4A Broadcasting an Intent to Minimalistic text widget
body: <p>I have been attempting to send variable data directly from SL4A to Minimalistic Text Widget using sendBroadcastIntent much like how I can send variables to Tasker (Using code I found on the SL4A google groups)</p>
  
  <p>Unfortunately my understanding of intents is a little lax and I have found locating tutorials specifically in relation to SL4A almost impossible.</p>
  
  <p><a href="https://code.google.com/p/android-scripting/wiki/ApiReference#makeIntent" rel="nofollow">The SL4A makeintent API Reference</a></p>
  
  <p><a href="http://wiki.devmil.de/tiki-index.php?page=Set%20Minimalistic%20Text%20variables%20from%20your%20own%20app" rel="nofollow">The minimalistic Test Intent example</a></p>
  
  <p>The code I have attempted to use:</p>
  
  <pre><code>import Android
  droid = Android()
  
  activity = "com.twofortyfouram.locale.intent.action.FIRE_SETTING"
  extras = {'de.devmil.minimaltext.locale.extras.VAR_NAME': "Test"; "de.devmil.minimaltext.locale.extras.VAR_TEXT" : "Passed"}
  packagename = 'de.devmil.minimaltext'
  classname = 'de.devmil.minimaltext.locale.LocaleFireReceiver'
  intent = droid.makeIntent(activity, None, None, extras, None, packagename, classname).result
  droid.sendBroadcastIntent(intent)
  </code></pre>