Hi there everyone,
This is my first post on this forum. I use a Samsung Galaxy S4 running Cyanogenmod 11 nightly.
I've had to break this down into 2 posts as there is a 10,000 character limit and this post runs around 16,000.
What you need:
What you'll end up with:
A 1x1 widget that displays the following information:
Additionally, when you double-tap on the widget, it'll get the latest details and update the widget.
Ok, before we start, the very first thing you need to do is add a new contact to your phone book. The number will be +27840001341 and the contact name should be "CellCAccountBalance".
DISCLAIMER!:
I'm pretty certain that this SMS is free, but I haven't tested it on your phone. Nor have I contacted CellC to verify that it is free. Maybe that should be the first thing you do. Give them a shout and ask if there are any costs involved.
Whenever I say Enter "this text" somewhere, do NOT enter the quote marks as well, unless I say so (I won't).
Ok, lets get started!
In Tasker, lets go ahead and click on Tasks to set up the 2 tasks that we'll need:
1: Tap on the + at the bottom of the screen.
2: Enter the name "Send SMS to get balance" - Don't worry, these SMSs are free.
3: Tap on the check mark to open the new empty task.
4: In the new empty task tap on the + to add an action.
5: Tap on "Phone".
6: Tap on "Compose SMS"
7: Under Recipient(s) enter "14302"
8: Under Message enter "Balance"
9: Tap on the Tasker icon in the top left of the screen to go back to the task.
9: Tap on the Tasker icon AGAIN in the top left of the screen to go back to the task list.
// Running that task as is will send an SMS, and the reply SMS will have the details in it. You can stop here if you want, but I reckon keep going, it's totally worth it
10: Tap on the + at the bottom of the screen to add another action.
11: Let's call this one "Read SMS"
12: Tap on the check mark to open the new empty task.
13: In the new empty task tap on the + to add an action.
14: Tap on "Variables"
15: Tap on "Variable Search Replace" (You might only see "Variable Search...")
16: Under Variable enter "%SMSRB"
17: This is the painful one. Under Search, enter the following line exactly as it is case sensitivity is VERY important:
(\d\d:\d\d:\d\d)|(\d+(?=\.D))\d*+|(\d\d/\d\d/\d{4})|(\d+\.\d{2})
18: Under Store Matches In, enter "%cellusage"
19: Tap on the Tasker icon in the top left of the screen to go back to the task.
// We'll be repeating the next few steps a few (6) times entering slightly different information
// 1
20: Tap on the + to add an action.
21: Tap on "Plugin"
22: Tap on "Minimalistic Text"
23: Next to Configuration, click on the Pencil icon to edit it.
24: Next to Variable name, enter "%timeleft"
25: Next to Variable content, enter "%cellusage(1)"
26: You may have to close your keyboard to tap on "OK"
27: Tap on the Tasker icon in the top left of the screen to go back to the task.
// 2 - I'll only colour the differences in the rest
28: Tap on the + to add an action.
29: Tap on "Plugin"
30: Tap on "Minimalistic Text"
31: Next to Configuration, click on the Pencil icon to edit it.
32: Next to Variable name, enter "%smsleft"
33: Next to Variable content, enter "%cellusage(2)"
34: Tap on "OK"
35: Tap on the Tasker icon in the top left of the screen to go back to the task.
// 3
36: Tap on the + to add an action.
37: Tap on "Plugin"
38: Tap on "Minimalistic Text"
39: Next to Configuration, click on the Pencil icon to edit it.
40: Next to Variable name, enter "%mbleft"
41: Next to Variable content, enter "%cellusage(3)"
42: Tap on "OK"
43: Tap on the Tasker icon in the top left of the screen to go back to the task.
// 4
44: Tap on the + to add an action.
45: Tap on "Plugin"
46: Tap on "Minimalistic Text"
47: Next to Configuration, click on the Pencil icon to edit it.
48: Next to Variable name, enter "%callcost"
49: Next to Variable content, enter "%cellusage(4)"
50: Tap on "OK"
51: Tap on the Tasker icon in the top left of the screen to go back to the task.
// 5
52: Tap on the + to add an action.
53: Tap on "Plugin"
54: Tap on "Minimalistic Text"
55: Next to Configuration, click on the Pencil icon to edit it.
56: Next to Variable name, enter "%nextbill"
57: Next to Variable content, enter "%cellusage(5)"
58: Tap on "OK"
59: Tap on the Tasker icon in the top left of the screen to go back to the task.
// 6
60: Tap on the + to add an action.
61: Tap on "Plugin"
62: Tap on "Minimalistic Text"
63: Next to Configuration, click on the Pencil icon to edit it.
64: Next to Variable name, enter "%duedate"
65: Next to Variable content, enter "%cellusage(6)"
66: Tap on "OK"
67: Tap on the Tasker icon in the top left of the screen to go back to the task.
68: Tap on the Tasker icon in the top left of the screen to go back to the tasks list.
// Phew!
69: Tap on Profiles near the top of the screen
70: Tap on the "+"
71: Tap on "Event"
72: Tap on "Phone"
73: Tap on "Received Text"
74: Under Type, change "Any" to "SMS"
75: Next to Sender, click on the Search magnifying glass
76: Tap on "A Single Contact"
77: Scroll down to find that contact that we created before we started "CellCAccountBalance" and tap on it.
78: Tap on the Tasker icon in the top left of the screen to go back to the profiles list, A list of Tasks you have created will pop up.
79: Tap on the "Read SMS" task.
Ok, we're all done with Tasker and Part 1. Part 2 (Below) deals with the MT widget that will display the information that you get from the SMS from CellC.
This is my first post on this forum. I use a Samsung Galaxy S4 running Cyanogenmod 11 nightly.
I've had to break this down into 2 posts as there is a 10,000 character limit and this post runs around 16,000.
What you need:
- Phone running Android (Root NOT required)
- Be using the CellC network.
- Tasker - About R33 or so ($2.99)
- Minimalistic Text (I refer to it as MT from hereon out) - FREE but if you like it, you can use the "Donate version" which is about R22 ($2.05). Totally worth it!
What you'll end up with:
A 1x1 widget that displays the following information:
- Available Talk-time in Hours:Minutes:Seconds
- Remaining SMS/MMS
- Remaining Data
- Your Usage in Rands this cycle
- Expected payment date
Additionally, when you double-tap on the widget, it'll get the latest details and update the widget.
Ok, before we start, the very first thing you need to do is add a new contact to your phone book. The number will be +27840001341 and the contact name should be "CellCAccountBalance".
DISCLAIMER!:
I'm pretty certain that this SMS is free, but I haven't tested it on your phone. Nor have I contacted CellC to verify that it is free. Maybe that should be the first thing you do. Give them a shout and ask if there are any costs involved.
Whenever I say Enter "this text" somewhere, do NOT enter the quote marks as well, unless I say so (I won't).
Ok, lets get started!
In Tasker, lets go ahead and click on Tasks to set up the 2 tasks that we'll need:
1: Tap on the + at the bottom of the screen.
2: Enter the name "Send SMS to get balance" - Don't worry, these SMSs are free.
3: Tap on the check mark to open the new empty task.
4: In the new empty task tap on the + to add an action.
5: Tap on "Phone".
6: Tap on "Compose SMS"
7: Under Recipient(s) enter "14302"
8: Under Message enter "Balance"
9: Tap on the Tasker icon in the top left of the screen to go back to the task.
9: Tap on the Tasker icon AGAIN in the top left of the screen to go back to the task list.
// Running that task as is will send an SMS, and the reply SMS will have the details in it. You can stop here if you want, but I reckon keep going, it's totally worth it
10: Tap on the + at the bottom of the screen to add another action.
11: Let's call this one "Read SMS"
12: Tap on the check mark to open the new empty task.
13: In the new empty task tap on the + to add an action.
14: Tap on "Variables"
15: Tap on "Variable Search Replace" (You might only see "Variable Search...")
16: Under Variable enter "%SMSRB"
17: This is the painful one. Under Search, enter the following line exactly as it is case sensitivity is VERY important:
(\d\d:\d\d:\d\d)|(\d+(?=\.D))\d*+|(\d\d/\d\d/\d{4})|(\d+\.\d{2})
18: Under Store Matches In, enter "%cellusage"
19: Tap on the Tasker icon in the top left of the screen to go back to the task.
// We'll be repeating the next few steps a few (6) times entering slightly different information
// 1
20: Tap on the + to add an action.
21: Tap on "Plugin"
22: Tap on "Minimalistic Text"
23: Next to Configuration, click on the Pencil icon to edit it.
24: Next to Variable name, enter "%timeleft"
25: Next to Variable content, enter "%cellusage(1)"
26: You may have to close your keyboard to tap on "OK"
27: Tap on the Tasker icon in the top left of the screen to go back to the task.
// 2 - I'll only colour the differences in the rest
28: Tap on the + to add an action.
29: Tap on "Plugin"
30: Tap on "Minimalistic Text"
31: Next to Configuration, click on the Pencil icon to edit it.
32: Next to Variable name, enter "%smsleft"
33: Next to Variable content, enter "%cellusage(2)"
34: Tap on "OK"
35: Tap on the Tasker icon in the top left of the screen to go back to the task.
// 3
36: Tap on the + to add an action.
37: Tap on "Plugin"
38: Tap on "Minimalistic Text"
39: Next to Configuration, click on the Pencil icon to edit it.
40: Next to Variable name, enter "%mbleft"
41: Next to Variable content, enter "%cellusage(3)"
42: Tap on "OK"
43: Tap on the Tasker icon in the top left of the screen to go back to the task.
// 4
44: Tap on the + to add an action.
45: Tap on "Plugin"
46: Tap on "Minimalistic Text"
47: Next to Configuration, click on the Pencil icon to edit it.
48: Next to Variable name, enter "%callcost"
49: Next to Variable content, enter "%cellusage(4)"
50: Tap on "OK"
51: Tap on the Tasker icon in the top left of the screen to go back to the task.
// 5
52: Tap on the + to add an action.
53: Tap on "Plugin"
54: Tap on "Minimalistic Text"
55: Next to Configuration, click on the Pencil icon to edit it.
56: Next to Variable name, enter "%nextbill"
57: Next to Variable content, enter "%cellusage(5)"
58: Tap on "OK"
59: Tap on the Tasker icon in the top left of the screen to go back to the task.
// 6
60: Tap on the + to add an action.
61: Tap on "Plugin"
62: Tap on "Minimalistic Text"
63: Next to Configuration, click on the Pencil icon to edit it.
64: Next to Variable name, enter "%duedate"
65: Next to Variable content, enter "%cellusage(6)"
66: Tap on "OK"
67: Tap on the Tasker icon in the top left of the screen to go back to the task.
68: Tap on the Tasker icon in the top left of the screen to go back to the tasks list.
// Phew!
69: Tap on Profiles near the top of the screen
70: Tap on the "+"
71: Tap on "Event"
72: Tap on "Phone"
73: Tap on "Received Text"
74: Under Type, change "Any" to "SMS"
75: Next to Sender, click on the Search magnifying glass
76: Tap on "A Single Contact"
77: Scroll down to find that contact that we created before we started "CellCAccountBalance" and tap on it.
78: Tap on the Tasker icon in the top left of the screen to go back to the profiles list, A list of Tasks you have created will pop up.
79: Tap on the "Read SMS" task.
Ok, we're all done with Tasker and Part 1. Part 2 (Below) deals with the MT widget that will display the information that you get from the SMS from CellC.