Tuesday, July 14, 2015

Send Email Using Tasker For Android

Tasker is Best ever application I came through for Automation, This is the one that make every iOS users feel jealous of Android.
So I here share a profile to Send Automatic email whenever I get a text message or Missed calls on My android Phone


 I wanted both missed calls and all text messages to be forwarded to my inbox -- 
since I turn my phone on silent and vibrate is off while I am at work. 
Again, this method requires access to a webserver that will allow you 
to run a sendmail script. In my case, my server runs PHP4 so I use the 
native sendmail protocols. 

Below is the text of my PHP script, saved as "maildroid.php" and in 
the root directory of my server. I made the $headers give  a "From" 
value of  "DROID" so that I could create a label in Gmail if I decided 
to archive or filter and do something with them later, but you could 
just as easily make the "From" value be the actual sender/caller. 
(ie., $headers = "From: " . $_POST["sender"]; ) ...although I have yet 
to figure out how to make the sender's name show up instead of their 
number. I believe that's a limitation of the available variables 
within Tasker. 

<?php 

$to = "youremail@gmail.com"; 
$headers = 'From: DROID'; 
if ($_POST["type"] == "text") { 
        $subject = "SMS from ". $_POST["sender"]; 
        $message = $_POST["text"]; 

if ($_POST["type"] == "missedcall") { 
        $subject = "Missed Call from ". $_POST["sender"]; 
        $message = "No text to read, just check your voice mail or call them 
back when you get a chance!"; 


if (mail($to, $subject, $message, $headers)) { 
  echo(""); 
 } else { 
  echo(""); 
 } 

?> 

Once you have this set up, you need to create two new Profiles within 
Tasker. One I called Missed Call Mail and one I called SMS Mail. 

MISSED CALL MAIL: 
(1) Context Event: Phone -> Missed call 
(2) Task Action: Net -> HTTP Post 
             Server:Port:    www.yourdomain.com 
             Path:             maildroid.php 
             Data:             type=missedcall 
                                  sender=%CNUM 
             Timeout:        30 
             Content Type: application/x-www-form-urlencoded 
             If:                   %VOLR < 2 

NOTE: I set the "If" parameter to check if the volume of the ringer is 
less than 2 but you can change it so that it checks if it's equal to 0 
if you only want it to be activated when sound is completely silent. 

SMS MAIL: 
(1) Context Event: Phone -> Received SMS 
(2) Task Action: Net -> HTTP Post 
             Server:Port:    www.yourdomain.com 
             Path:             maildroid.php 
             Data:             type=text 
                                  sender=%SMSRF 
                                  text=%SMSRB 
             Timeout:        30 
             Content Type: application/x-www-form-urlencoded 
             If:                   %VOLN < 2 



 courtesy:- Google Groups For Tasker

Wednesday, March 25, 2015

How to Update Micromax Unite 2 A 106 to Lollipop [Android 5.0]

Downloads:-

Lollipop Firmware :- Link to moulnisky 

Drivers :- [Download]
courtesy:- Qamrul Haque

Sp Flash Tool :- [Download]
courtesy :-aabidhashmi
Note:- You are only one responsible for what you are doing!!!! Please don't blame me. Follow the steps carefully.


Micromax Unite 2 comes with 8GB and 4GB variants. This tutorial is applicable for both.

I am explaining what I did successfully.

Before Starting Install Drivers for micromax unite 2 in your PC first.

To flash Lollipop firmware :-

Step 1 :- Unzip/extract downloaded firmware. Now you will be having 16 files as shown. 



Step 2 :- Open SP Flash tool and click Scatter-loading



Step 3 :- Select MT6582_Android_scatter.txt from downloaded firmware folder



Step 4 :- Select Firmware Upgrade from drop-down menu.




 Now make sure every thing is loaded same as the image shown above, if not load the missing by clicking on the location field [right of the entry] of that file manually.

Step 5 :- Remove battery from phone [Don't connect it to PC]

Step 6 :- Click Download button in SP flash tool [ Still, Don't connect it to PC]

Step 7 :- Now Connect phone via USB cable [ Obviously, without Battery]

**If phone starts charging battery it means, Phone is not detected by SP Flash tool, if so click Stop in SP Flash Tool. Remove USB cable. Start over from Step 6. 

Now Wait for 3-4 minutes to complete flashing. SP Flash tool will show progress there at the bottom of the tool in Yellow color.

Step 8 :- After successful flashing you'll see a message with green circle. Now remove USB cable and switch on phone normally


*** Note :- First Boot will take time. So don't be panic. Give it some time to boot.

And Now HOORAY !!!!!!. You got Lollipop Now.....


Helpful Links:-

XDA- Forum :- XDA Link 1   || XDA Link 2 

Courtesy Link :- Friend  Qamrul Haque

Feel free to share and Like. Thank you.