Pages

Showing posts with label how. Show all posts
Showing posts with label how. Show all posts

Tuesday, May 10, 2016

Android Developing Remove Auto focus from Edit Text

Android Developing: Remove Auto focus from Edit Text: "When start Android application, it always auto focus EditText box. Here we give explain how to remove auto focus from EditText. Add your..."
Read More..

Tuesday, May 3, 2016

How to rotate the Android Emulator

To rotate the Android Emulator, just disable the Num Lock key and and use the 7 and the 9 in the num pad to rotate the emulator and change its layout from portrait to landscape.

If you are working on a laptop you can do the same thing by pressing  Fn(Function)+7 or Fn+9.
Read More..

Friday, April 15, 2016

How Twitter used Doze in Android 6 0 Marshmallow to Improve Notification Performance

Posted by Laurence Moroney, Developer Advocate

In October, we published a blog post about how Google Cloud Messaging (GCM) works with Doze in Android 6.0 Marshmallow to bring performance and usability improvements to the user. In this scenario, normal priority messages allow the device to stay in Doze, while high priority messages take the device out of Doze. For a great example of this capability and best practices on Android, we’ve spoken with the engineering team at Twitter.

Twitter has researched extensively which messages should get high priority -- given that this priority can awaken a device in Doze. To meet their particular need, Twitter wanted Direct Messages to be delivered on high priority, where mentions would be at normal priority.

Luke Millar, Android Engineering Manager at Twitter commented "With Android M we have a greater ability to be good citizens when it comes to conserving battery life. This feature lets us specify which notifications will wake up a device in Doze and which ones wont. Normally, we tell GCM to wait to deliver push notifications until the next time the users phone wakes up. However, users expect to receive some push notifications immediately, like notifications for Direct Messages, so we set those as high priority. Its nice being able to specify when and how those notifications make it to our users."

To test Doze, Twitter’s engineers followed the steps outlined on the Android Developers site. These guide you to use adb commands to simulate doze on either a physical or virtual device. Following this method, Twitter was able to successfully test how their messaging priorities would work in a real-world environment.

One other best practice that Twitter used was in transmitting larger payloads, such as when delivering Twitter Highlights. In this case, they opted to pass metadata in the notification, which was then used to sync the application to get the requested Highlights. In other words, they didn’t transmit the contents of Highlights in a notification, instead triggering a sync mechanism to update the contents of the app.

For more details on using GCM with your app in standby environments, check out the documentation.
You can learn more about Google Cloud Messaging and how to use it for notifications in your Android, iOS and Web Applications at the Google Developers site here.

Read More..

Tuesday, March 22, 2016

Granny Smith v1 3 2 Full

From the makers of Sprinkle!
"Mediocre is proving themselves the Pixar of the mobile gaming scene, and has once again, hit one out of the ballpark." [Phandroid]
"Gaming app of the day" [Kotaku]
"Another great looking release from the Sprinkle crew, one that provides hours of entertainment without a steep learning curve" [JayIsGames]

"Buying the Granny Smith game is the best buck youll spend this week" [Android Central]
Granny Smith loves her apples, but a bewheeled thief is stealing from her precious garden! Help Mrs. Smith as she swiftly skates through farmland and cityscapes, crashing through everything from barns to offices in the pursuit of fruit. Get to the apples before the thief does!
Granny Smith is a fast-paced racing platformer filled with spectacular crashes and amazing stunts. Jump, glide, swing and smash your way through 57 hand-crafted levels in four distinct settings. Just be sure to land on your feet!

Features:
* Spectacular physics – Granny Smith uses some of the most advanced destruction physics in mobile games. Crash through crates and windows and watch the pieces fly all over!
* Dazzling visuals – Zoom through dozens of vibrant, whimsical worlds! Each level is like a fanciful, three-dimensional storybook.
* Intuitive controls – Help Granny pull off crazy moves with simple two-button controls – perfect for both tablets and phones.
* Vintage replays – Watch your best runs in retro movie style with cool camera angles and slow-motion effects!
* Power Granny up – Collect coins and equip Granny with a helmet, banana peels and baseballs. If Granny is getting old, you have two alternative characters to play with – Scruffy and Stanley!
* Additional breakable objects, grass, flowers and dust particles on NVIDIA Tegra 3 devices.
With the apple thief on the loose, Granny is going to need some help. Hop to it!

Whats New
* Leaderboards and achievements through Google Play Game Services. Challenge your friends and collect trophies!
* Resume from lock screen bugfix on some phone models
* Faster switch to main menu

Read Here: How to Install APK

Requirements: Android 2.3+
File Size: 20 MB
Download Link: Mediafire.com
Read More..

Monday, March 21, 2016

Runtastic on Android Wear


By Austin Robison, Product Manager, Android Wear




Fitness apps make  great additions to Android Wear. Let’s take a look at one of our favorites, Runtastic. Runtastic is a fitness app that lets you track your walks, runs, bike rides and more. With Runtastic on Android Wear, youll see your time, distance, and calories burned at a glance on your wrist. You can also start, stop and pause your activity by touch. Tuck your phone away in a pocket or backpack and do everything on your watch.


Its challenging to build user experiences that really come alive on Android Wear because its such a new type of device. Runtastic does a great job of showing the right information and providing just the right controls on the screen on your wrist. Lets dig into some of the Android Wear platform features that Runtastic uses to make such a great user experience.

Voice Actions

Android Wear enables developers to launch their activities with voice. Runtastic responds to “Ok Google, start running” by beginning to track a session and displaying a card with your total time. This means you can start exercising without needing to pull your phone out of a pocket or arm strap. Android Wear is all about bringing you useful information just when you need it and enabling users to quickly and easily take action.


runtastic_01.png


Responding to platform voice intents on Wear is as simple as declaring a standard intent filter to start an activity.  For example, to launch your activity for the “start running” voice action, add the following to your activity’s entry in your AndroidManifest.xml:


<intent-filter>
   <action android_name="vnd.google.fitness.TRACK"/>
   <category android_name="android.intent.category.DEFAULT"/>
   <data android_mimeType="vnd.google.fitness.activity/running"/>
</intent-filter>


Custom Cards

Once a user has started a run, Runtastic inserts a card in the stream as an ongoing notification to ensure it is ranked near the top of the stream during the activity. This card uses the setDisplayIntent() function to display custom UI. It provides quick, glanceable information, showing your activity time. Cool!


When the user swipes to the right of the card to expose its actions, we see some quick and easy to understand options; following the Android Wear style guidelines means that Runtastic has a familiar UI and feels like a natural extension of the watch. There are actions for pausing, stopping, and an action to see more details on the run.  This action launches a full screen Activity where Runtastic draws a completely custom layout.




You’ll notice this data updates live; Runtastic makes use of the Wearable Data Layer API in Google Play Services to synchronize data between the phone and the watch. Its an easy to use API for syncing data between your devices.


Background Services

When a user finishes their run, Runtastic presents them with a special summary card that appears only on the watch. In this case, the notification is generated directly on the watch by a Service. This Service uses the Data Layer to receive information about the completed activity from the phone to the watch, including an image of a map of the user’s run generated through the Google Maps API.


To show that information, the app uses Android Wear’s NotificationManager, which functions just like the NotificationManager on a phone or tablet, except that instead of creating notifications in the pull-down shade, they appear in the stream.




Runtastics implementation on Android Wear is a perfect example of how to take advantage of wearables to make something truly useful for users. For more information on these and other great platform features, please see the developer documentation.


For more inspiring Android Wear user experiences, check out this collection on the Play Store!


Posted by Mano Marks, Google Developer Platform Team
Read More..

Wednesday, March 16, 2016

How to Activate IDM Full Forever without Cracks and Patches

How to Activate IDM (Full Forever) without Cracks and Patches 

source: Click

Activate IDM (Full Forever) without Cracks and Patches


Hello Friends !!

My last Tutorial was about: How to Uninstall IDM Completely ??
If u want to register IDM than first remove the previous one and it's registeries by following
How to Completely Remove IDM [No More Fake Serial Pop-Ups].


Installation IDM

1. First Download the IDM from the given Link . Download IDM
2. Open the setup file.
3. Just do Next Next and Install it.
4. After installation don't restart the PC.
5. Cancel this window if appears.

Activating IDM [Full Version]

Important Step:

Read More..

Friday, March 4, 2016

The 20Time Project how freedom can help prepare students for the future



(Cross-posted on the Google for Education Blog.)

Editors note: Leading up to Education on Air, we asked you what topics you’d like to discuss at the conference. The clear winner was “innovation in schools,” so we asked Kevin Brookhouser, a Google Certified Teacher and director of technology at York School, to share his innovative practice of giving students freedom in what and how they learn. Kevin is the author of the new book The 20Time Project and will share his methods during an Education on Air session on May 9. Register here for the free online conference today.

The 20Time Project stemmed from the collision of several fortunate events: I met a number of inspirational teachers through the Google Teacher Academy, spent time at the Google campus, and read a book by Daniel Pink called Drive: The Surprising Truth About What Motivates Us about how to encourage innovative thinking. Inspired by Pink and Google’s “20 percent time”— a practice that allows employees to take time out of their “day job” to work on a side passion project— I created my own version and applied it to the classroom.
Guest blogger Kevin Brookhouser speaks around the world about empowering students with time and choice. Hell lead a conference session at Education on Air on May 9th


20Time is a simple concept that anyone can execute, as long as you give students the choice to design their own learning experience and support them throughout. Give students one day a week to work on a project of their choosing — one that serves a real audience and solves a real-world problem. Help students discover great ideas, write a thoughtful proposal, blog about their progress, craft an elevator pitch, and demonstrate their work through a final presentation.

20Time affords students the opportunity to follow the three critical ingredients essential to innovation as described in Drive:
  1. Autonomy: freedom in what they learn and how they learn it 
  2. Mastery: the ability to track their learning growth 
  3. Purpose: meeting the needs of an audience outside the walls of the classroom
When given the freedom to control their own learning, it turns out that students can come up with incredible ideas. The experiences they created are bigger than any I could’ve imagined — like Maria’s YouTube channel, which inspires young people to love books, or Maddie’s Recycling Closets project, which spreads awareness about sustainable consumerism.

I’m fortunate to work at a future-oriented school that supported the experimental project from day one. But wherever they teach, I recommend that teachers who want to try 20Time give it a go — dive in and present the reasoning behind it. Transparent communication to parents, students and administrators can go a long way toward getting buy-in. For example, I send this letter to students and parents at the beginning of the year, and welcome other teachers to modify it to fit their needs.

I’ll be sharing more about what I’ve learned about innovating in schools during my session at Education on Air on May 9. Register here to get updates about the conference. You can find 20Time resources, including five steps to get started, at 20Time.org. The 20Time Project is now available on Amazon, and if you’re looking to purchase multiple copies for your school or would like me to speak about 20Time or Google for Education, I welcome you to contact me directly. See you on May 9!
Read More..

Saturday, February 27, 2016

AirDroid Aplikasi Sebagai Penghubung HP Android Ke PC

Read More..

Saturday, February 20, 2016

How to Fix no access to the virtual SD card after Android Lollipop update


This solution is based on the experience with some HTC and Nexus devices, however it will work on any device running Android Lollipop or newer/older Android OS with SELinux (Security-Enhanced Linux) kernel security module.

Whats the problem? Sometimes you might not be able to access the content of the internal userdata memory, also known as "virtual SD card" - located as /data/media/0 on the userdata partition. The "bad" workaround is to boot the device in a recovery mode and gain the access to all files from there, but this doesnt solve the problem at all.

Repair Process
Note: root required!
  1. Download this mini-sdk package and extract it to c:mini-sdk
  2. Connect your device to the PC
  3. Start up the device normally, wait until system is fully loaded
  4. Open a command prompt on the PC (cmd.exe), type and confirm each command with ENTER:
  5. cd /d c:mini-sdk
  6. adb shell
  7. su
  8. restorecon -FR /data/media/0
  9. exit
Whats going to happen? Restorecon is a program used to restore file(s) default SELinux security contexts. It can be run at any time to correct errors or to add support for new policy. With a corrected SELinux security context for the /data/media/0 you will be able to access the content of the virtual SD card again.

Do you have any questions or comments? Feel free to share! Also, if you like this article, please use media sharing buttons (Twitter, G+, Facebook) below this post!


For latest news follow Android Revolution HD on popular social platforms:

Read More..

Saturday, February 13, 2016

How to Use adb sideload on your Android device


Probably every Android power-user at least once in his life used ADB - Android Debug Bridge. It is a versatile command line tool that lets you communicate with an emulator instance or connected Android-powered device. Using ADB shell commands gives you additional control over your device and sometimes it can save your device from being bricked (example: How to: copy ROM zip file to the freshly wiped device). You can find some more basic information about ADB here.

Since Android Jelly Bean there has been a new ADB mode available in the AOSP recovery, incorporated by the Android developer community into custom recoveries too. It is called "ADB sideload" and most of you probably have heard about it already. This is an alternate method to the one I wrote about here - How to: copy ROM zip file to the freshly wiped device. The main difference is that ADB sideload works only with recoveries based on Jelly Bean source or newer. I believe that ADB sideload was created to simplify the process of flashing/restoring Android update.zip packages.

Keep in mind that while using ADB sideload, the regular ADB shell wont work. To be able to use SIDELOAD mode make sure youre running latest ADB drivers from the Android SDK (Platform-tools). Here are the simple steps you need to follow to flash update.zip package using adb sideload mode (based on stock Android recovery):
  1. Place the ZIP package you want to install in the same location where you keep ADB drivers - adb.exe, AdbWinApi.dll and AdbWinUsbApi.dll (usually its SDKplatform-tools)
  2. Make sure you have USB debugging enabled in Settings > Development on your device
  3. Make sure your phone drivers are installed on the PC youre going to use
  4. Boot your device in recovery mode (Android logo with a exclamation mark) and connect your device to PC
  5. Hold down "power" button first, followed quickly by "volume up" button. You should now see the recovery menu
  6. Use the volume up/down keys to select "apply update from ADB," then press power to select it
  7. Open a command prompt on the PC (cmd.exe), type and confirm with ENTER:
  8. cd /d <adb.exe location> (for example: cd /d c:SDKplatform-tools) or you can open your SDK/platform-tools folder, then press SHIFT button and the right-click mouse button and choose “Open command prompt here
  9. adb sideload <filename>.zip (for example: adb sideload update.zip)
  10. The zip package will begin installing. When its done, select "reboot system now."
How is that different from the alternative method? You dont have to manually create the proper folders structure, push the file and later install if from inside the recovery menu. The result is basically the same, because ADB sideload is also transferring the zip file into the device internal memory and later it automatically begins the installation procedure. However, it works only with recoveries based on Android Jelly Bean source.

Have any questions or comments? Feel free to share! Also, if you like this article, please use media sharing buttons (Twitter, G+, Facebook) below this post!
Read More..

Saturday, March 8, 2014

How To Unbrick tecno A

Somehow, you did install some apps after rooting your Tecno A+ and then it bricked, you started sweating, your heart beat increases. Dont worry, it can be fixed, huge thanks to Seun Payne. You can visit his blog here for more personal info
 
Needed Items
1. Stock rom for phantom A+: Download Here

2. Specific flashtool that works on A+: Download Here


3. Drivers for the A+: Here (I would advice that you uninstall any previous drivers for any Tecno you have installed as they might cause a conflict. Or download the zipped file directly here


If you dont know how to install drivers with the .exe file, follow the link in this tutorial.

To test if your drivers are working properly, with the phone off, open your computers device manager and plug the phone. you should see "Mediatek preloader..." come up for about 5 seconds and disappear. if it shows with a yellow arrow on it then the drivers are not installed correctly. If it doesnt have the yellow arrow then you are good to go.)

DISCLAIMER: Follow THESE instructions and Download THESE files for TECNO PHANTOM A+ only. I will not be held for any mishap caused by instructions followed from somewhere else.

HOW TO FLASH:
1. Open the folder where you downloaded the files (everything must be in d same folder)


2. Cut the scatter file out and paste it in another place (anywhere, just make sure its not in the same folder as the other files). The scatter file is the text document starting with MT6589...

3. Open sp flash tools and use the file tab and click Open Scatter Loading File to load DAT scatter file. remember to copy d cwm recovery and overwrite d recovery inside the folder
  Now it should show you a list of things to flash. check only recovery, uboot and system (that means only these 3 should be ticked, see the images). 



5. Now double click on d word recovery and select d cwm recovery you copied there. please make sure everything is in d same folder. Do the same for the uboot and system image u downloaded.

3. Remove the bat3 from the bricked A+. Click download in sp flash tools and plug the bricked f7. flashing will begin and when it ends you should see a green circle. if it doesnt start den remove and plug again. if you try three times and it doesnt flash then you didnt install the drivers correctly.


4. If you see the green circle then congrats you have successfully flashed your phone. now please first things first, after you finish patting yourself on the back about what a wonderful guru you are. put off the phone and wait for it to vibrate. the hold the volume up button and press and hold the power button until it shows you three options. use the volume button to navigate to recovery mode and use the volume down button to select it. cwm should boot. now please backup your phone.


Thank you guys...its been a pleasure.


This is a totally Seun Payne handwork. You can reach him on his blog from this link
Read More..

Thursday, March 6, 2014

How Gracenote is taking control of your TV

In depth The scary interactive future of TV has arrived

 How Gracenote is taking control of your TV 

Gracenote is planning to take control of your TV.

The company, ubiquitous with music metadata services, has developed a suite of technologies that take the concept of interactive TV to an unprecedented level.

From next generation programme guides to personalised ad replacement, via fluff like The Million Second Quiz, the company is reinventing the very foundation of television.

"This is disruptive tech," company president Stephen White tells TechRadar with casual understatement.
At first glance, what Gracenote appears to be doing seems innocuously clever. The company has developed a next generation programme guide, due to make its debut on LG screens this autumn.

Called On Now, it presents a highly graphical interface of whats available to watch. Instead of scrolling through a traditional timeline, the On Now guide presents content by programme, genre, cast or crew. The viewer navigates from there.

"What were trying to do now is move away from the grid," explains White. "The standard TV listing is a very dated navigation paradigm, one that hasnt really changed since the 1960s. So were bringing together all available content, including over the air, Video on Demand and catch-up. The guides not time based because no one watches that way anymore."

In addition to LG, Gracenotes parent Sony, along with Philips TP Vision, Loewe and OEM giant Vestel are all introducing variations of the system.

"One of the things were doing for Philips is providing a personalised recommendation platform, based on a user profile," reveals White.
"We can push things to the front of its guide interface that we know you care about, and push things away that we know you dont."

The algorithm fuelling this knowledge is based on the content descriptors in Gracenotes metadata. "We know things about the show, as you watch it. We can also deliver ads while you browse – the primary engine for all this is content comprehension..."
gracenote
Your device will look for an audio fingerprint to find out what youre watching

Content comprehension

Demonstrations of On Now are certainly compelling, but this is just the start of what Gracenote believes will be an extraordinary change in our relationship with the boob tube.

The company has perfected an Automatic Content Recognition (ACR) platform, known internally as Entourage, which utilises audio fingerprinting to literally monitor what youre watching.

Taking advantage of the built-in microphone in tablets and smart phones, its able to identify a TV show via snippets of dialogue and soundtrack. Its similar in some respects to rival wizardry from Shazam, but with an added important talent for synchronization.

"The idea is that the client on your mobile device is running a Classifier within an app, which listens to the audio or music on a TV show, then cross references it with our database."
Entourage works with any content, says White. "Right now were covering something like two hundred channels in the US, a 100 plus in Europe and 14 in Japan."

Gracenote creates the fingerprints through listening stations around the globe. "Were listening to content as its being broadcast, fingerprinting it and marrying it up to EPG data." Sony is preloading the technology on the Xperia Z1, dubbing it Track ID TV.
gracenote
The new EPG is note organised according to time like a standard system

Whats on

In the US, Entourage ARC provided the interactive backbone to hit game show The Million Second quiz. "Its an industry first," says White. "The studio integrated Entourage synchronisation into the official show app, allowing the audience to play along in real time."

The audience was given exactly the same amount of time to answer the questions as the contestants. High scorers were then brought into the studio to compete the next night. "The idea is to get the best players from the entire audience competing. Its never been done before."

White says theres been a surge from the creative community to leverage the technology, citing NBC Universals SyFy channel as one of the more inventive.

The channel created a companion app for its Face-Off visual effects reality show that syncs with the viewer as they watch and unlocks additional behind-the-scenes content as the show progresses. NBC Universal also used Entourage to serve viewers of Sci-fi holkum Haven an alternative episode ending on their companion device.

However the most contentious development of the technology is yet to come. Gracenote is on the verge of trialling video fingerprinting. For the first time, it will be the TV itself actively monitoring what youre watching, not a companion app. And youll probably not realise its doing it.

The video fingerprinting tech is embedded in the TV itself, reveals White. "It takes live video out of the video buffer, compares it against our database and then fingerprints it. This effectively allows the TV to recognise what shows youre watching."

The system is extraordinarily powerful. Most significantly, it allows Gracenote to profile TV usage, allowing the company to learn specific things about your household.

"If there are cartoons on in the morning, then well know youll have a kid;...
Read the rest of this post --->
Read More..