Skip to content

Archive for

27
Nov

‘Spencer’ the robot is here to help guide lost airline passengers


Meet Spencer. This armless automaton will begin a test run in Schiphol Amsterdam Airport at the end of the month, greeting and guiding harried travellers through the transport hub’s famously confusing terminal system. Navigating it is so challenging, in fact, that KLM airlines donated a large part of the project’s funding because so many of its customers were getting lost and missing flights. To ensure that doesn’t happen anymore, Spencer is equipped with laser range-finding eyes and detailed maps of the airport’s interior.

Source: Phys.org

27
Nov

Daily quote or Chuck Norris joke on your Homescreen – Android customization


Do you remember at the end of our Android customization project last week, when we finished up making a little voice reminder using Tasker, and I said we’d skip Tasker this week? I lied. Join me as we use Tasker’s HTTP Get tool, along with Zooper Widget, to put a daily joke on your Homescreen.

As always, this project is designed to help us learn a few new tools in Tasker, I hope your customization education is coming along. From there, we want to keep it light, as today is Thanksgiving day in the U.S. This project might take some time to build, but it’s really easy, then you can get back to Black Friday shopping.

Before we begin

Tasker – Google Play StoreTasker and Zooper Widget. For some reason I think I’ve written these words before. You have got to know the drill by now, you’ll need Tasker installed on your modern Android device to follow along today. Tasker is $2.99 and is still and again found in the Google Play Store.

Zooper Widget – Google Play StoreZooper Widget has a free version that might get you through today, but for the full project, or to also enjoy some of our other Zooper Widget tutorials, you’re going to want to drop $2.99 on Zooper Widget Pro in the Google Play Store.

Finally, you are going to want to find yourself a site that offers up quotes or jokes in a relatively simple text format. I have an example below, but you’ll need to find a site, possibly with an API, to get your source material. Read on to see what I’m talking about, but consider not actually building your project until you find your content.

Daily Joke on your Homescreen

Our project will proceed very similarly to previous Tasker/Zooper Widget projects. We will perform actions in Tasker, then we’ll transfer the final data over to Zooper Widget to display on your screen.

ChuckNorrisJokesTaskerZooperWidget

The Tasker actions I speak of will be to use the HTTP Get command, much like you may have done in your CMD screen on the PC. We’ll collect a joke from the web, we’ll have to tweak it through variables to strip away extra info, then we’ll save that text into a variable for Zooper Widget.

From there, as before, Zooper Widget will accept the variable from Tasker and simply display the supplied text. You get to choose exactly how you want that info to display. Perhaps you’ll add it into an existing Zooper Widget clock, or create a new widget to get the most out of it.

Finally, we’ll head back to Tasker to create a little Profile that triggers the actions above at least once per day. You may want to wake up to a new joke or quote each day, or maybe you’d prefer a new one every hour, it’s up to you.

Let’s get started.

Tasker HTTP Get

Once you have chosen a site that provides the data you are looking for, the process goes pretty quick. I’ll be using a site that specialized in Chuck Norris one-liner jokes. Not all of them are family friendly, but they’re not too bad. The reason I’ve chosen this site is not so much for the content as because they offer up an API and a simple way to get just a joke in text format. I’ll explain as we go.

Fire up Tasker and head to the Tasks section.

Tap the “+” button to add a new Task. Provide an appropriate name, I’ll call mine “HTTPGetJoke“.

Tap the “+” button to ad your first action.

ChuckNorrisJokesTaskerZooperWidget1

Select Net.

Select HTTP Get.

Enter the Server:Port as required by your web source. Our provider of Chuck Norris jokes are available if you enter “api.icndb.com/jokes/random“.

Scroll down to Output File and enter the name of a new text file. You can head over to manually add the text file if you want, but Tasker can create it for you if it does not yet exist. Just be sure a file by the name you enter does not already exist, or it will be overwritten.

So, Output File, I’ll enter “DailyRandomChuckNorrisJoke.txt“.

Tap the system Back button to save and exit.

Now, tap that “+” button to add another action. We need to read that file into a variable.

ChuckNorrisJokesTaskerZooperWidget2

Select File.

Select Read File.

Under File, enter the name of your text file from above, mine was “DailyRandomChuckNorrisJoke.txt.”

Under To Var, enter a new global variable, I’ll call mine “%HTTPGETJOKE“.

Tap the system Back button to save and exit.

The result now stored in your variable from the HTTP Get command is a text string with the joke and some extra info. For our needs, we’ll need to strip that extra info.

A sample is as follows:

“type”: “success”, “value”: “id”: 448, “joke”: “When Chuck Norris throws exceptions, it’s across the room.”, “categories”: [“nerdy”]

Any idea what to do next? That’s right, we need to use the Variable Split tool to strip away the fluff. Now, you’ll have to carefully identify what characters are required to split the text in the right places. Unfortunately, our example has different characters before and after the actual joke, so we’ll need to Variable Split twice. Let’s do it.

Tap the “+” button to add a new action.

ChuckNorrisJokesTaskerZooperWidget3

Select Variables.

Select Variable Split.

Under Name, enter your “%HTTPGETJOKE” variable name.

Then, under Splitter, we’ll split on “joke”: “” Note the ‘s within the “‘s and the empty space after the colon.

This time, we will turn on Delete Base. This simply deletes the original variable, which saves RAM usage.

Tap the system Back button to save and exit.

That helps us clear away the text leading the joke, now to clear the text after the joke.

Tap the “+” button to add the next split.

ChuckNorrisJokesTaskerZooperWidget4

Select Variables. then select Variable Split.

Under Name, enter the newly created variable from the previous split. For me, that will be “%HTTPGETJOKE2“.

Under Splitter, enter the characters that will split out the joke from the end of the saved text string, that’ll be ““, “” from this site. (That’s quote comma space quote.) Also, that’s not supposed to be an emoji of any sort.

Tap the system Back button to save and exit.

Finally, we save that last split variable into a Zooper Widget variable.

Tap the “+” button to start our last action.

ChuckNorrisJokesTaskerZooperWidget5

Select Plugin.

Select Zooper Widget.

Tap the pencil icon to the right of Configuration.

Enter a Zooper Widget variable name. Mine will be “HTTPGETJOKE“.

Then enter the final split variable that contains your joke, mine is “%HTTPGETJOKE21“.

Hit that Save button in the top right corner. Then hit the system Back button to save and exit.

ChuckNorrisJokesTaskerZooperWidget6

Before you exit out of here, be sure to hit that Run Task (Play arrow) button in the bottom left of your screen. It will be much easier in the next stages if you have a joke pre-loaded.

We’re done in Tasker for a bit, time to hit Zooper Widget.

Add the joke to Zooper Widget

I will leave you to follow along previous tutorial or otherwise create a Zooper Widget widget to work with today.

I recommend using a new Rich Text element, as the normal Text element is a little less flexible.

Add your new Rich Text element, feel free to size it up and adjust its location and when you’re ready we’ll add the joke.

ChuckNorrisJokesTaskerZooperWidget7

Head into Edit text manually.

Enter the value for your Tasker saved variable. Mine will be #THTTPGETJOKE#

Tap OK in the top right to save.

Optionally, you can add another element, or simply use the Module OnTap setting on the text to trigger the Tasker Task again. This way when you tap the text you get a new joke. Pretty slick.

ChuckNorrisJokesTaskerZooperWidget9

I recommend allowing your Rich Text element to span a maximum of at least 3 rows, depending on your design. I have mine set to 5 rows with font size 12. This adequately covers the width of my screen.

Hit that system Back button as needed to save and exit right out of Zooper Widget.

Look at that, if you’ve done everything properly, you will see a Chuck Norris joke on your Homescreen. Or a motivational quote, if that’s what you chose. I wonder if there are Chuck Norris themed motivational quotes out there?

Optional: Trigger a new joke with a tap of the widget. As you see, I added a Bitmap image as my trigger button.

ChuckNorrisJokesTaskerZooperWidget8

If you enabled the Module OnTap function, and that is all you want, you are done. Clean up the widget so that it is perfect and go on your merry way. Otherwise, let’s make this thing auto-update every day.

Update it daily

Head back into Tasker, into the Profiles tab.

Tap the “+” button to add a new Profile.

ChuckNorrisJokesTaskerZooperWidget11

Select Time.

Enter the time of the day you’d like to update. This can be while you are sleeping, or whenever you want.

Enter the same time in both the From and To fields. I’ll use 73. Sorry, I mean 7:30 am.

Optionally, enter a Repeat value if you want more than one update per day.

Hit the system Back button to save.

Choose your HTTPGetJoke Task from the popup list.

That’s it folks. Save and exit and try not to get in trouble with Chuck Norris.

ChuckNorrisJokesTaskerZooperWidget10

What’s next

We simply slapped this joke onto a Zooper Widget widget on the Homescreen. Don’t forget that you can put it on your Lock screen if you want. We’ve handled the basic procedure before.

Honestly, the hardest part of today’s project is going to be finding a quality web source of quotes and jokes. Things can get very complicated with the Variable Split commands, especially if you are trying to extract a single line of text from a full web page. You can do it, just find the appropriate character string for your Split and don’t be afraid to split several times in a row to whittle down to your content.

Next week

I wish this was a little bit more Thanksgiving themed for you, but I hope this Android customization project to put a Chuck Norris joke on your Homescreen was enough for you. Next week we’ll actually be taking a step back from Tasker, we need to dive into a pretty basic user setting on almost all Android devices, Text-to-speech. This will be a beginner’s level tutorial, just something to help the new Android users get the most out of their device.

What do you think, will Chuck Norris approve of this project, or will he roundhouse kick it right off the internet?

27
Nov

Refunds being offered for OnePlus USB Type-C accessories



http://pagead2.googlesyndication.com/pagead/js/adsbygoogle.js

(adsbygoogle = window.adsbygoogle || []).push();

A few weeks ago, a story emerged that alleged that the OnePlus USB Type-C accessories were out of spec according to the Type-C standard. The finding was made by Benson Leung, a Googler who has taken it on himself to test all the available USB Type-C accessories out there to see if they are compliant or not. Since then, we’ve found out that OnePlus’ accessories comply with Type-C 1.0, whereas faster charging devices like the new Nexus 5X and Nexus 6P require the more recent, robust Type-C 1.1. The difference is that Type-C 1.1 is supposed to be capable of charging with 3A and using a non-compliant accessory on a device expecting this kind of current could end in damage to the adapter.

While OnePlus was initially coy about their Type-C accessories, OnePlus co-founder Carl Pei has since responded to the claims in a blog post, again reaffirming that its own OnePlus USB Type-C accessories are fine to be used with the OnePlus 2. However, those who bought the cables and adapters believing they would be usable with other devices are being offered an olive branch – OnePlus has set up a system for people to claim refunds for their accessories, and says that it is going to have updated accessories in the near future.


What do think about the refunds for OnePlus USB Type-C accessories? Let us know your thoughts in the comments below.

Source: OnePlus via XDA

The post Refunds being offered for OnePlus USB Type-C accessories appeared first on AndroidSPIN.

27
Nov

A modular computer for kids lands on Indiegogo


One+Education+Infinity

We have been hearing a lot about modular devices from watches to phones, and now computers. For those unfamiliar with modular devices, they aim at being basically an upgradable device. Rather than using a device for a year or two than buying a new one, you will instead just buy upgradable parts.

Today, we are talking about the Infinity modular laptop by One Education. It combines a laptop and a tablet in one, and is designed for kids. The main thing that sets it apart from other devices is its modular capabilities. You will be able to replace the CPU, camera, battery, and more. It also runs Android, but they are working on a full Linux desktop experience too. This is great for being future proof and keeping upfront cost down.

The base model will come with an 8.9-inch screen, 1.4 GHz processor, 1GB of RAM, 8GB of storage with a microSD card slot, and cameras on the back and front. One Education plans on making new modules like faster hardware, Windows 10 support, better cameras, and stronger Gorilla Glass screens.

If you are interested in picking one of these up, head over to One Education’s Indiegogo page. They are trying to raise $50,000 with early bird prices of $250 each, or if you are a school or large organization, you can buy a 10-pack for $2,390. They are expected to ship the Infinity next September.

Click here to view the embedded video.

Source: Indiegogo

Come comment on this article: A modular computer for kids lands on Indiegogo

27
Nov

The biggest data center in Russia will be nuclear powered


According to the news agency Telecom Daily, the Rosenergoatom power company is building what will be the largest data center in Russia — and they’re plopping it right on top of the Kalinin power station. Located about 120 miles northwest of Moscow, the station will provide the 80 MW that engineers estimate will be needed to power the data center’s 10,000 or so server racks. The construction is projected to cost $975 million, not including the IT buildout.

Via: Datacenter Dynamics

Source: Telecom Daily

27
Nov

Mozilla says it doesn’t need Google’s cash to survive


For many years, Firefox’s survival was tied into how generous the folks over at Google were feeling, since the company effectively bankrolled the browser. Times have changed, and in an interview with CNET, Mozilla’s Denelle Dixon-Thayer said that its financial future is looking better than ever. Back in the day, Google paid to be the search engine of choice within Firefox, but Mozilla now prefers not to put all of its cash-based eggs in a single basket. That’s why it’s signed separate deals with Yahoo, Baidu and Yandex so that each one gets prominence in the US, China and Russia, respectively.

Source: CNET, Mozilla

27
Nov

This is why phones tend to land screen down when we drop them


LG G Flex Drop Test Outdoors AA  (10 of 25)

Buttered toast tends to land butter-side down when you drop it. This piece of wisdom is not just another one of Murphy’s adages. It’s a fact, proven mathematically by Robert Matthews, a physicist and professor at UK’s Aston University.

Now Professor Matthews applied his prodigious physics knowledge to solve another age-old mystery (or, at least, decade-old): why smartphones tend to land screen down when we drop them.

Starting from some basics measurements and some observations about the design of smartphones (many of them are slippery, all of them are primarily held loosely in one hand), Professor Matthews came up with this little formula that approximates the rate at which your phone pivots around your buttery fingers:

Screenshot_1

Looks like Greek to you? No worries, you’re not alone. The gist of it is that yes, smartphones do typically land face down when they slip from our hands, putting those fragile displays in mortal danger. Damn you, physics!

Now, guess which major OEM sent out a press release highlighting this groundbreaking (or just screen-breaking) discovery? If you said Motorola, you’re right on the money, though it’s not a hard guess, considering that Moto has been making a huge deal out of the “shatterproof” screen of the Moto X Force and its American cousin, the Droid Turbo 2.

27
Nov

Some Project Fi subscribers might be getting a Lego kit from Google


project fi lego kit

Google will be giving out this cool Lego kit to some Project Fi subscribers. We don’t currently know if every Project Fi subscriber will get one, or just a lucky few. However, if you are lucky enough to receive the kit, once it is built it becomes a charging station for your Nexus.

Some people have been posting pictures on Google+ showing them off. The picture above shows a completed Lego kit, while the one below is actually charging a phone. Both pictures are courtesy of Jason Lukaszewski (Google+).

project fi lego kit 2

Naturally, the Lego kits are the Project Fi color scheme. Other than the Lego bricks, it comes with instructions and a note that reads, “Thanks for your support. Let’s build on this.”

Via: The Verge

Come comment on this article: Some Project Fi subscribers might be getting a Lego kit from Google