Subscribe:

Ads 468x60px

Labels

SnapPower Charger adds USB to your wall outlet

Anyone that has an office at work or home knows that outlets are at a premium. Sometimes plugging in your smartphone to charge means unplugging something else that is using the outlet already. A new outlet cover has turned up that adds a USB port without taking up any of the outlets you need for other items.



The coolest part about the SnapPower charger is that it needs no wiring to work. Once installed the USB charger produces one amp of power. It will charge any USB device that can be charged from 1 Amp devices. That means some tablets needing two amps won't charge.


e677b13e6e4ecc575e9c8b2b88d492a0_original


The key to the easy installation of the device is power prong technology tabs on the back of the face plate. Those prongs touch the points where the power wire inside your walls screws to your outlet.


66d4262f33cbb40de927118246827e42_original

All you need to do for install is to remove the old outlet cover and screw the SnapPower on. SnapPower is on Kickstarter seeking $35,000 and has raised over $330,000 so far with 44 days to go. A pledge of $14 or more will get you a SnapPower with shipping estimated for August 2015.


SOURCE: Kickstarter


This is a crowdfunded project, and as such may not deliver what its creators initially promise. Most crowdfunding sites, like Kickstarter and Indiegogo, have policies about what happens to your money if the project fails to deliver on its goals, but choosing to back a project is inevitably a risk. Android Community's reporting on crowdfunded projects should in no way be seen as an endorsement, unless specifically stated, and we recommend closely examining the terms and conditions to understand your individual rights as a backer before making a pledge.


Google launches Cloud Console app (beta) for developers on the go

If you're an app or program developer and you're traveling somewhere where you don't have access to your desktop, you can have some anxious moments, particularly when something has gone wrong and you need to fix something quickly. If you're hosting your project on Google's Cloud Platform, you now have a mobile solution for that. The tech giant has launched the beta version of the Cloud Console app, which lets you manage said projects even while you're on the go.



On a basic level, the Cloud Console lets you check on the status of your apps, receive alerts for when there are problems or issues, and also manage your performance stats and your resources from the Cloud Platform. If there are incidents on your app or program, you'll also be able to track them through Cloud Monitoring. And if you have a team working for or with you, you can also update them on the status of the issue and what is being done or what should be done.


The App Engine and Compute Engine instances can also be viewed and managed from the app. You can see the details and the graphs, and you'll also be able to do such operations like starting or stopping an instance or even changing the App Engine version.


Since as we mentioned, the app is still in beta version, Google will still be collecting feedback and data from the users in order to better improve the app and to add new features as well. You can download Cloud Console for free from the Google Play Store.


Cloud-Console-798x310


Cloud-Console-2


Cloud-Console-screens


SOURCE: Google


Hungry Mouth HD teaches you to eat healthy food items

The Hungry Mouth HD is a special game that requires the player, a cute little monster with a hungry mouth, to eat only healthy food items. While choosing and eating healthy items are not as challenging, the monster is situated inside a trash can. You're stuck somewhere dark and smelly. Are there any clean food inside? The main goal is to avoid unhealthy ones. Just make sure you eat so you'll grow strong and someday, be able to escape to a better place--anywhere but inside the trash can.



Don't get caught by that annoying, unfriendly boy. His idea of fun is to annoy and catch the hungry mouth monster. You can play this game for hours as long as you're okay with how you control the monster: no tapping on the screen, just tilt the phone left to right. Play the game and you'll get used to the tilting motion after some time. Game has many different challenging levels with different targets and stories so that makes Hungry Mouth HD more interesting.


Eat well and be healthy. You can learn from this game because you'll know how to identify which food item is healthy or not. You're inside a trash can and screws, old sneakers, and flies must not be eaten. Do not eat those non-food items, they're garbage.




Hungry Mouth 1 Hungry Mouth 2 Hungry Mouth 3 Hungry Mouth 4 Hungry Mouth 5


Download Hungry Mouth HD from the Google Play Store





arcad

Game Performance: Layout Qualifiers

Today, we want to share some best practices on using the OpenGL Shading Language (GLSL) that can optimize the performance of your game and simplify your workflow. Specifically, Layout qualifiers make your code more deterministic and increase performance by reducing your work.



Let’s start with a simple vertex shader and change it as we go along.



This basic vertex shader takes position and texture coordinates, transforms the position and outputs the data to the fragment shader:


attribute vec4 vertexPosition;
attribute vec2 vertexUV;

uniform mat4 matWorldViewProjection;

varying vec2 outTexCoord;

void main()
{
outTexCoord = vertexUV;
gl_Position = matWorldViewProjection * vertexPosition;
}

Vertex Attribute Index


To draw a mesh on to the screen, you need to create a vertex buffer and fill it with vertex data, including positions and texture coordinates for this example.



In our sample shader, the vertex data may be laid out like this:


struct Vertex
{
Vector4 Position;
Vector2 TexCoords;
};

Therefore, we defined our vertex shader attributes like this:


attribute vec4 vertexPosition;
attribute vec2 vertexUV;

To associate the vertex data with the shader attributes, a call to glGetAttribLocation will get the handle of the named attribute. The attribute format is then detailed with a call to glVertexAttribPointer .


GLint handleVertexPos = glGetAttribLocation( myShaderProgram, "vertexPosition" );
glVertexAttribPointer( handleVertexPos, 4, GL_FLOAT, GL_FALSE, 0, 0 );

GLint handleVertexUV = glGetAttribLocation( myShaderProgram, "vertexUV" );
glVertexAttribPointer( handleVertexUV, 2, GL_FLOAT, GL_FALSE, 0, 0 );

But you may have multiple shaders with the vertexPosition attribute and calling glGetAttribLocation for every shader is a waste of performance which increases the loading time of your game.



Using layout qualifiers you can change your vertex shader attributes declaration like this:


layout(location = 0) in vec4 vertexPosition;
layout(location = 1) in vec2 vertexUV;

To do so you also need to tell the shader compiler that your shader is aimed at GL ES version 3.1. This is done by adding a version declaration:


#version 300 es

Let’s see how this affects our shader, changes are marked in bold:


#version 300 es

layout(location = 0) in vec4 vertexPosition;
layout(location = 1) in vec2 vertexUV;


uniform mat4 matWorldViewProjection;

out vec2 outTexCoord;

void main()
{
outTexCoord = vertexUV;
gl_Position = matWorldViewProjection * vertexPosition;
}

Note that we also changed outTexCoord from varying to out. The varying keyword is deprecated from version 300 es and requires changing for the shader to work.



Note that Vertex Attribute qualifiers and #version 300 es are supported from OpenGL ES 3.0. The desktop equivalent is supported on OpenGL 3.3 and using #version 330.



Now you know your position attributes always at 0 and your texture coordinates will be at 1 and you can now bind your shader format without using glGetAttribLocation :


const int ATTRIB_POS = 0;
const int ATTRIB_UV = 1;

glVertexAttribPointer( ATTRIB_POS, 4, GL_FLOAT, GL_FALSE, 0, 0 );
glVertexAttribPointer( ATTRIB_UV, 2, GL_FLOAT, GL_FALSE, 0, 0 );

This simple change leads to a cleaner pipeline, simpler code and saved performance during loading time.



To learn more about performance on Android, check out the Android Performance Patterns series.



Posted by Shanee Nishry, Games Developer Advocate


Slayin for Android is an endless RPG to test your gaming skills

For a game to be successful these days, you would think that it would take some kick-ass graphics and complicated gameplay. But really, sometimes it just takes a simple gaming proposition – you play as a hero, you go defeat the baddies. Over and over again. Well, that last point is an addition to a simple formula by a game called “Slayin” – once only for iOS but now on Android. It’s an endless RPG.



With Slayin, users can play as either a Knight, a Wizard, or a Thief – and the point is just to keep on slashing monsters. Really nothing complicated to it. Plus, the seemingly 8-bit graphics adds to the nostalgia of the proposition. The three character types point to three different playing styles. The Knight jumps and jousts monsters to death with a sword – without protection to his backside, compensating with armor and power. The Wizard can’t jump and has virtually zero defense, but he amazingly turns into an invincible tornado in half-second spurts – a very fast-paced character. The Knave/Thief is quite similar to the Knight, but has weapons to the front and back – having some defense to his rear at the cost of armor.


Sl2-620x


Essentially, it’s a side-scrolling game. Each enemy you slay will get you XP – your character levels up in increments of 10. They you fight a boss, and when you beat him, the area and enemies change. Simple enough. Occasionally, you meet a merchant will appear for you to buy weapons and armor. If you die, you start back from the beginning, but the game lets you keep your “fame” which is currency in the game.


The game is free to play, with IAPs that unlock content. The IAPs are not at all intrusive and annoying as in other games. Check out the download link below to get the game.


DOWNLOAD: Google Play Store



Wireless Bluetooth Cloud Buds delivers music any time, anywhere [DEALS]

Looking for a music companion that will be with you wherever you go, taking care of your audio needs in the thick or thin of life? Without entangling your already complex life? Ever wanted this companion to be always there, without making you feel it's there? If you answered yes to all of these, then this pair of earbuds might be for your. The Wireless Bluetooth Cloud buds aims to deliver both quality audio and comfort, without the mess of their wired counterparts.



Built of lightweight materials, the earbuds make you feel they're barely there, which lets you focus on the task at hand, whether be it a few laps over the treadmill or your big work project. Buds and caps of multiple sizes are available, because one size doesn't always fit all. And if you're always worried about them falling off, the optional ear hooks try to offer you some peace of mind.


The earbuds promise crystal clear audio delivered even up to 30 feet away, depending, of course, on the terrain and surrounding structures. More than just a listening apparatus, the headphones include a built-in mic to let you also do the talking. The outer shell features noise cancellation so that you can enjoy your tunes or that intimate conversation in whatever environment you're in.


wireless-bt-cloud-buds-2

The Wireless Bluetooth Cloud Buds can last 6 hours of continuous playback or 50 hours on standby on a single charge. It is compatible with any Bluetooth device capable of streaming audio. For a very short period of time, you can get it for only $24.99, a generous 77 percent discount off the original $109.


Android Community Deals is brought to you in cooperation with StackSocial. Generated revenue helps fund this site. Deals are curated by StackSocial and are not representative of the opinions of the Android Community staff.


Springening comes to Plants vs Zombies 2 (and brought discounts!)

Spring may be the favorite season for a lot of people because of all the flowers blooming and the sun shining not so brightly. But over on Plants vs Zombies land, it is a time for decaying flesh (but well, there's always that when zombies are around) and flowers forcibly torn from their roots. It's time once again for Springening to come to Plants vs Zombies 2, and they even brought discounts with them.



From March 24 until April 9, you will be able to play the Springening special edition in PvZ 2 and you'll be able to experience 17 fun days of spring-costumed zombies that are out to get you via the bunny trail. There is also a special-edition Dandelion plant with floating explosive bombs that will only be available for a limited time. And because we're also celebrating Easter, you get an Eggbreaker mode to the Piñata Party and if you break it, you will get special prizes, including a special costume with special abilities to mark this special occasion.


The update also brings 5 new collectible costumes as well as new level packs (non-Spring related so it will last beyond April 9) New Wild West and Pirate Seas for the Vasebreaker mode. But most importantly, players get 30% off the Gem Packs, one of the most popular in-app purchases, on April 1. And the developers promised that it's not an April Fools' joke.


You can manually update your Plants vs Zombies 2 through its page on Google Play Store. Or if you haven't yet started playing it, now is a good time to download it.