Monday, April 30, 2012

Homemade “Find My iPhone” for Android – Free

iPhone users can pay $99 per year for a tool to find their lost iPhone. On Android, just under $6.50 (once) lets you build your own GPS-locating, SMS-triggered tracker for your lost-or-stolen Precious. Here's how to do it.

After installing a program and setting up a script, you'll be able to set your phone to watch for an SMS, from a certain number, containing a certain piece of text. When it finds it, you can have your phone buzz, make a sound, even say something like "Help!" out loud, and pop up a text on the screen indicating that something is amiss. That's the warning shot, for those do-gooders who actually return phones. In any case, your phone quietly turns on its GPS and Wi-Fi sensors in the background, then sends you back a text with the best GPS data it could get. You can modify this script to your heart's content, though, to be more obnoxious, send back more info, or run other programs when you send your code.

Check out the video above for a low-rent crime thriller that shows this system in action.

As some regular readers might have guessed, the secret sauce to building this app is Tasker. It's an automation app for Android that costs about $6.25 U.S. at the moment, available both through the Market and the developer's own site. We've previously walked through the basics, explored geekier setups, and highlighted some awesome reader uses. Now we're going to walk through one of the most useful Tasker profiles we've seen, the root setup for which came from Lifehacker reader Eric.

Set Up a Location-Grabbing Profile

clip_image002

Your Android phone does not constantly check its location when GPS is turned on—it'd be kind of scary if it did, not to mention battery murdering. We're going to create a profile that does make the phone grab its coordinates as best it can, using both a GPS fix, if available, and triangulation of nearby Wi-Fi hotspots that Google knows about.

On Tasker's main "Profiles" screen, hit the New button at bottom. Choose the "Location" as your Context—the "if" in your "if/then" automation. Make sure that both Net and GPS are turned on with green highlights, and that the Radius option is set to its closest option, 30 meters. Just hit "Done" here, because we don't actually need to make Tasker find our current location, but simply have a profile that does that when asked to. You'll see what we mean in a minute.

clip_image004

On the next screen, where you're asked to add Tasks to fire off when your Context is met, we're going to add just one simple task. Hit the "+" button in the lower-left, choose the "Tasker" category, then select "Stop" and hit "Done" on the pop-up screen, then "Done" again on the list of Tasks. All we want this profile to do is turn on and get the location. Adding "Stop" merely makes it a one-trick pony.

clip_image006

Back at the main screen, find that location-fixing Profile you've just created, with the flag icon in the left-hand column. Tap once on that flag icon, then expand the arrow next to the "Profile" option. Select the "Name" or "Rename" option, and give it a name that makes sense, like "GetGPSfix." You're done with that profile now, so let's create the real phone-finding automaton.

Build Your Phone-Finding Snitch Profile

clip_image008

Back at Tasker's main Profiles screen, hit the New button again, but this time choose "Event" as your context, pick the "Phone" category, and "Received SMS" as your event.

You'll want to think about the number and message you enter in here. In my case, I use a Google Voice account to manage my SMS, so I effectively have two numbers—the "hard" number that my phone carrier assigns me, and which Tasker is monitoring on the phone, and my Google Voice number, which I can send texts from using any browser. If you're not rolling with Google Voice, you can easily set up the phone of a significant other or very good friend—just make the activation text very unique.

Be sure to format the phone number watched for with a "+1" in front of your full 10-digit number—that's how it works in the U.S., at least. If you're setting up another person's phone as the trigger number, you can press and hold on the field under "Sender" and select that person from your Contacts list, too. In the "Message" field, use a code that nobody's going to send you casually—"SOS" in caps should work fine.

clip_image010
At the Tasks list, it's time for you to set up your actual emergency plan. In general, you're going to create some noise on the phone itself and leave a call-back number (your friend or your Google Voice account), then turn on GPS and Wi-Fi and text yourself with the inside info anyways.

Here's how I set up my list of tasks—the order is somewhat important, but you can add or modify these steps to your liking. If you come up with something good farther down the line, no worries: you can press and hold on any task and drag it up or down the priority list.

Hit the "+" button before each task to create it, then follow these menu options:

§ Alert -> Notify Sound: The "Title" field will show up in your Notifications Bar, along with the "Text" you include. Don't change "Number," but feel free to fire off a custom sound file, if you'd like.

 clip_image012

Alert -> Popup: Enter something like "Help!" in the Title, then fill out the Text as if it were a Post-It note on your phone. My text, derived from Eric's suggestion: "I have been stolen or left somewhere inadvertently. Please contact Kevin at [friend's phone number]." Move the Time slider all the way to the right, to keep that pop-up message for 38 seconds—though, if he was savvy with an Android, the thief or finder could hit the Back or Home buttons to dismiss it. But that's okay, because we're moving ahead!

  • Misc GPS: Set to "On."
  • Net -> WiFi: Set to "On."
  • Tasker -> Profile Status: Long-press on the field under Name, then pick that profile we created above to get the location fix—"GetGPSfix" in my case. Set it to go "On."
  • Tasker -> Wait: Move the Seconds slider over to about 30. We're waiting 30 seconds, after turning on GPS and WiFi, to give the location grabber some time to get a fix, or maybe the thief or reluctant returner to move near a window.

 clip_image014
Phone -> Send SMS: Enter your Google Voice or friends' number in the Number field, then enter this text in the Message. You can change it up, add more variable data, but be sure to include at least the following variables in all caps with a percentage sign in front:

It is %DATE at %TIME. Phone is located at: %LOC. Batt: %BATT.

You'll get back just what it sounds like, but the "%LOC" comes back as a pretty long string of GPS coordinates, so you'll want to keep it relatively simple so as not to break the string into two different texts.

  • Misc -> GPS: Set to Off.

You could have the WiFi turn off at the end, too, or bring up another pop-up message letting the thief know that his location is being constantly monitored—but I like to go the quiet route, rather than have my phone end up smashed or discarded.

Track Your Phone

clip_image016
Click image above for a larger view.

With that profile running on Tasker, your phone is now quietly monitoring incoming SMS messages to see if any come from that one number, with that one message. If it does, it sends back a text similar to what you see above. The nice thing about those GPS coordinates? You can plug them directly into Google Maps and see where your phone went off to—or help the police see.

clip_image018
I took my phone to the Sweet_ness 7 Cafe in Buffalo, placed it on a table a few feet away from a window, and sent myself a text from Google Voice. Lo and behold, the GPS coordinates it sent back were right on the money—even if Street View hadn't been updated there since the cafe renovated the space. Your mileage, vis-a-vis the thief's activities, will certainly vary, but since you're the one with control over your GPS and Wi-Fi toggles, there's a good chance your phone will eventually end up in the great wide open. And if you simply left your phone sitting somewhere, you can get a rough fix on where it is, and see how much battery life it's got left before you'll have to stop trying.


Thanks again to reader Eric for writing in with his awesome use of Tasker, along with a helpful poster in the Android Forums who explained the best way to get a GPS fix in Tasker with separate profiles.

Got questions on the setup? Have a craftier idea for a lost or stolen phone script? We want to hear it all in the comments.

Takem From:  http://lifehacker.com/5611003/build-a-find-my-iphone-clone-for-android

On the Android Market, if you search by “Find My Phone”, you can find apps that do this by default.

Monday, April 23, 2012

Configurações 3G e MMS (Portugal)

Abaixo têm as configurações da internet 3G e MMS extraidas de telemoveis android (http://www.androidpt.info/index.php?title=Categoria:APN).

Com estas é possivel configurar Internet e MMS em vários telemoveis desbloqueados, adicionalmente servem também para configurar PENs 3G desbloqueadas ou ligadas a um router Wifi.

TMN – Internet e MMS

Internet

Name: tmn internet
APN: internet
Dial Number: *99#
Authentication Mode: PAP
Proxy: not set
Port: not set
Username: not set
Password: not set
Server: *
MMSC: not set
MMS proxy: not set
MMS port: not set
MCC: 268
MNC: 06
APN type: default

MMS

Name: mms tmn
APN: mmsc.tmn.pt
Proxy: not set
Port: not set
Username: tmn
Password: tmnnet
Server: *
MMSC: http://mmsc
MMS proxy: 010.111.002.016
MMS port: 8080
MCC: 268
MNC: 06
APN type: mms


Optimus - Internet e MMS

Internet

Name: Optimus;
APN: myconnection; or umts;
Dial Number: *99#; or *99***1#;
Authentication Mode: ???
Proxy: 62.169.66.5;
Port: 8799;
Username: Deixar em branco;
Password: Deixar em branco;
Server: umts;
MMSC: portal.optimus.pt;
MMS Proxy: Deixar em branco;
MMS Port: Deixar em branco;
MCC: 268;
MNC: 03;
APN type: nenhuma;
Prima tecla de Menu;
Seleccione Save.
Desligue e volte a ligar o aparelho.


MMS

Nota: configuração deverá ser efectuada em letra minúscula.
Prima tecla de Menu;
Settings;
Wireless Controls;
Mobile Networks;
Access Point Names;
Prima tecla de Menu;
Seleccione New APN;
Name: Optimus MMS;
APN: umts;
Proxy: 62.169.66.5;
Port: 8799;
Username: Deixar em branco;
Password: Deixar em branco;
Server: umts;
MMSC: mmsc:10021/mmsc;
MMS Proxy: 62.169.66.5;
MMS Port: 8799;
MCC: 268;
MNC: 03;
APN Type: nenhuma;
Prima tecla de Menu;
Seleccione Save;
Desligue e volte a ligar o aparelho.
Envie a primeira MMS para activar recepção.

Existem 3 APN kanguru:
kanguru-portatil - tarifários móveis
kangurufixo - tarifários fixos
kanguru-tempo - tarifários pré-pagos 
  
  
Vodafone - Internet e MMS

Internet

Name: Vodafone Internet
APN: net2.vodafone.pt (ou internet.vodafone.pt)
Dial Number: *99#
Authentication Mode: CHAP
Proxy: not set
Port: not set
Username: vodafone
Password: vodafone
Server: *
MMSC: not set
MMS proxy: not set
MMS port: not set
MCC: 268
MNC: 01
APN type: default


MMS

Name: Vodafone MMS
APN: vas.vodafone.pt
Proxy: not set
Port: not set
Username: vas
Password: vas
Server: *
MMSC: http://mms/servlets/mms
MMS proxy: 213.030.027.063
MMS port: 8799
MCC: 268
MNC: 01
APN type: mms

Nota: Os Magic vendidos pela Vodafone PT têm configurado como APN net2.vodafone.pt.
Definição alternativa de APN
A seguinte configuração também é válida.

Name: Vodafone Net2
APN: net2.vodafone.pt
Proxy: iproxy.vodafone.pt
Port: 80
Username: vodafone
Password: vodafone
Server: <Not set>
MMSC: http://mms.vodafone.pt/servlets/mms
MMS proxy: iproxy.vodafone.pt
MMS port: 80
MCC: 268 MNC: 01
Authentication type: <Not set>
APN type: default,supl,mms

 

Zon Mobile - Internet e MMS

NOTA: Se estas configurações não funcionarem, aconselhamos a que experimente as APNs da Vodafone. Várias fontes indicam que essa configuração funciona para os cartões ZON.

Internet

Name: Zon Internet
APN: internet.zon.pt
Dial Number: *99#
Authentication Mode: CHAP
Proxy: not set
Port: not set
Username: vas
Password: vas
Server: *
MMSC: not set
MMS proxy: not set
MMS port: not set
MCC: 268
MMNC: 01
APN type: default

MMS

Name: Zon MMS
APN: vas.zon.pt
Proxy: not set
Port: not set
Username: vas
Password: vas
Server: *
MMSC: http://mms/servlets/mms
MMS proxy: 213.030.027.063
MMS port: 8799
MCC: 268
MNC: 01
APN type: mms

Baseado em: http://www.androidpt.info/index.php?title=Categoria:APN

Tuesday, April 10, 2012

Lock Your Workstation Using Bluetooth (Phone)

Friday, December 3rd, 2010 by William Edwards

In most enterprise environments, desktop locking is a part of group policy and adds to the security of your network by ensuring that a passer-by can’t use your workstation for nefarious purposes. BlueProximity/BlueLock are the perfect programs to help increase this security to your desktop.  It does so by detecting one of your bluetooth devices, most likely your mobile phone, and keeping track of its distance. If you move away from your computer and the distance is above a certain level (no measurement in meters is possible) for a given time, it automatically locks your desktop (or starts any other shell command you want). You can also use the program to do fun and interesting things such as automatically changing your IM status to away when you leave your computer or playing an audio file to gloriously praise your return.

clip_image004

The process itself it relatively simple. You just need to pair your phone to your computer, and then install either BlueProximity or BlueLock depending on if you’re using Linux or Windows respectively. If you’re using Linux, you can simply install BlueProximity via your distribution’s package manager.

Ubuntu / Debian

sudo apt-get install blueproximity

Windows

Install via SourceForge: http://sourceforge.net/projects/bluelock/

From there you can pair your phone, and have fun!

image

Taken From: http://www.misdivision.com/blog/how-to-wirelessly-lock-your-workstation-using-blueproximitybluelock-with-your-phone