Posts

Showing posts with the label android

Sending Mails using Intents

Using ACTION_SEND in intent for mail.. The code written below is using ACTION_SEND in the intent to generate mail which can be used to send the email to the single or multiple  person. firstly we will generate the intent with ACTION_SEND or ACTION_SENDTO. ACTION_SENDTO has one drawback that we can not add the attachment/files to the intent that we are sending. after setting the ACTION we will set up the intent with the type of the data that it is holding, for now we will use "message/rfc822", documentation on the type you can get here ( rfc822 ). Now we will move on to the setting the parameters that we are going to pass to our email using the function putExtras(). after setting up parameters for the mail we will create a chooser and launch our intent. NOTE: The Android device on which application is going to run must have already setup their mailing application. CODE:  Intent emailIntent=new Intent(Intent.ACTION_SEND);   //add the multiple or single re...

Tips and Tweaks for Android and Windows (terminal,MAC Spoofing)

ANDROID TERMINAL AND MAC SPOOFING   1.Portable terminal (save 200mb space on your internal disk of android device to use 1st and 2nd script ) Root your android handset(for rooting go online with your device name to xda-developer) , patch the busy box or download it or askme ,now add any good terminal from android playstore and start using most of the featres of linux terminal. ....now dont bother bringing laptops for linux class . and the many thing you will be able do..for ex:spoofing mac address (just put the mac address of your registered college laptop and use it in phone also..) and more.. 2.This one to help you guys with the commands to spoof your MAC address on you android, and for general knowledge MAC address is a 12 character address given by the device manufacturers (though you all are genius i thought you might need it ).. $~>su ;dont bother about this ,it is just to enable the "superuser"..now next one $~>busybox iplink show eth0 ;this one wi...