Loading...
 
Minimalistic Text Wiki » Set Minimalistic Text variables from your own app
Print

Set Minimalistic Text variables from your own app

To set Minimalistic Text variables from your own app you can use a part of the Locale plugin system that Minimalistic Text uses.
You have to send a broadcast that contains the right action, the variable name and the variable content.

Sample Code
private void SendToMinimalisticText(Context context, String varName, String varContent)
{
    Intent sendintent = new Intent("com.twofortyfouram.locale.intent.action.FIRE_SETTING");
    // important that we only target minimalistic text widget, and not all Locale plugins
    sendintent.setClassName("de.devmil.minimaltext", "de.devmil.minimaltext.locale.LocaleFireReceiver");
    sendintent.putExtra("de.devmil.minimaltext.locale.extras.VAR_NAME", varName);
    sendintent.putExtra("de.devmil.minimaltext.locale.extras.VAR_TEXT", varContent);
    
    context.sendBroadcast(sendintent);
}


Minimalistic Text links

Market: Minimalistic Text
Market: Minimalistic Text (donate)
XDA Thread
Devmil on Twitter

Minimalistic Text on Facebook

Image

Donation link

Donate @ Paypal

Tresorit

If you are looking for a secure Cloud Storage and don't mind spending some cash for your privacy then Tresorit is the right place to go. It uses a zero knowledge approach and is based in Europe
Referral link
Image

Old Minimalistic Text version

Minimalistic Text v2.6.3 (Android 1.6)


Show php error messages