Cyanogen OS 12 now rolling out to Micromax Yureka, OTA file available for sideloading

Following the release of the Android Lollipop-based Cyanogen 12 OTA update for the OnePlus One, the same update is now hitting the Micromax Yureka.
Cyanogen OS 12 brings the new features and design tweaks from stock Android 5.0, with a couple of new Cyanogen-made features on top, including App Themer and the new Boxer-based Email app. More details about the changes in Cyanogen 12 can be found here.
Like with the OnePlus One, Yureka users should be getting their OTA within three days, but the more impatient can opt for the relatively straightforward process or sideloading the updated OTA file, which can be downloaded from here.
Yesterday, Cyanogen announced that it will begin bundling its operating system with a number of Microsoft, starting later this year. It’s not clear if existing devices, like the Micromax Yureka, will get the same treatment.
In related news, CyanogenMod 12.1 (Android 5.1) nightlies of CyanogenMod are now available for download.
NASA: nobody’s going to Mars without our help
NASA’s top priority is still bringing humans to Mars and says private companies don’t stand a chance of getting there without its support. Administrator Charles Bolden told a US House budget committee, “our ultimate focus is the journey to Mars and everything comes back to that,” adding that the agency still plans to land there by the 2030s. A manned mission to Mars is crucial because the red planet was likely habitable in the past, and scientists must find out what went wrong to prevent a similar disaster on Earth. Bolden went so far as to say that humans need to “get away from being Earth-reliant… (and) Mars is the planet that is the most like Earth.”
He reiterated that step one of the journey is still the Asteroid Redirect Mission (ARM) — with the crazy goal to put a chunk of asteroid into orbit around the moon — which is scheduled to launch in 2020. NASA will use it to trial critical technology, like Solar Electric Propulsion and autonomous robotic technology. ARM will also be a crucial test of the Space Launch System (SLS) designed to take astronauts and cargo beyond low Earth orbit. Bolden said that astronauts will even land on the moon, which will function as a way-station to Mars. As for private companies like Mars One and SpaceX? Bolden doesn’t see them as any kind of competition to NASA: “No commercial company without the support of NASA and government is going to get to Mars.”
Filed under: Science
Via: Forbes
Samsung expects to sell over 70 million Galaxy S6 and S6 Edge smartphones
If you were in any doubt that the Galaxy S6 and S6 Edge smartphones were hot commodities, those doubts should be banished with Samsung’s announcement that it expects sales of the handsets to go beyond the 70 million mark. That’s an awful lot of phones, even for Samsung.
Ahead of a weekly meeting at Samsung’s Seocho headquarters in southern Seoul, an unnamed executive said that “The Galaxy S6 and S6 Edge are drawing positive responses, and that he had no doubt that they will be the biggest selling Galaxy handset yet.” When asked about sales estimates, the executive replied that “We (Samsung) expect 70 million plus.”
Samsung executives would seem to be optimistic with comments such as “We’re back on track” and even the Vice-Chairman said that the “The Galaxy S6 should well. The first week looks impressive.” Echoing this, company officials reported that the initial stock of the two flagship handsets sold out within hours.
The past year has been troublesome for Samsung, having lost the crown of being the world’s largest smartphone manufacturer to its bitter rival, Apple. The Galaxy S5 didn’t set the world alight, instead it was criticised for being samey and uninspired. Samsung’s rethink in strategy began with the Note 4 and has continued with the release of the S6 and S6 Edge with their metal and glass designs. If you haven’t managed to get your hands on one, you can always download the Galaxy S6 Experience app to get an idea what the handset is all about. Is it too early to wonder what they have planned for the Galaxy Note 5?
Source: KoreaTimes
Come comment on this article: Samsung expects to sell over 70 million Galaxy S6 and S6 Edge smartphones
Amazon kills off its Test Drive service, announces it the day after the fact
Amazon’s Appstore has been around a while now, providing a viable alternative to Google’s Play Store, as well as a couple of quirky features. One of which was the ability to try out apps in your browser before making the decision to install it on your device. That feature was called Test Drive, and according to Amazon’s announcement, it has been swiftly pulled from service as of April 15th.
Amazon has said that although 16,000 apps had been launched via the Test Drive service, there has been a significant decline in customers in recent times. This has been attributed to the increase in popularity of free-to-play business models with In-App-Purchase options. Although the Test Drive service is discontinued, apps that have used the service will still be available, although the Test Drive function has been removed. You may have noticed that Amazon gave zero notice that it was planning on killing off the Test Drive function, basically announcing it a day after they’d already removed it from service. Did you ever use the test Drive service? If so, will you miss it?
Source: Amazon
Come comment on this article: Amazon kills off its Test Drive service, announces it the day after the fact
‘Halo’ hits iOS, but not in the way that you’d expect
Remember that crappy, top-down Halo game that came out a few years ago, Spartan Assault? Well, it got a sequel that’s available on Steam, Windows 8, Windows Phone 8, and as weird as it sounds, even iOS. Anyhow, Halo: Spartan Strike will run you $5.99 or, if you’re using one of Apple’s mobile gizmos or a PC, you can grab the first game and the new one in a bundle for $9.99. Spartan Strike‘s story is a simulation (much like the last one was) set during the events of Halo 2 — but there’s a twist. Remember the cool new enemies from Halo 4, the Prometheans? They’re in this game too, which raises more than a few questions regarding its fiction and timeline.
And in case you haven’t given up hope on The Master Chief Collection, playing the game on Windows 8 devices can unlock an exclusive emblem, nameplate and avatar for last year’s notoriously broken game too. Hopefully Strike‘s delayed appearance — it was supposed to launch last December — helps it sidestep MCC‘s legacy.
Filed under: Gaming, Home Entertainment, HD, Mobile
Via: Xbox Wire
Source: iTunes
Java basics: a tutorial for beginners

If you have ever wanted to write your own Android app, for fun or for profit, you are probably going to need to do some programming. There are lots of different ways to write Android programs but the official language of Android is Java. If you don’t want to try your hand at Java, then I would recommend you read my article: I want to develop Android Apps – What languages should I learn?
Not only is Java the official programming language for app development, Java itself is used by Google for large parts of the Android internals. There are two distinct parts to writing an Android app. One is the Java programming language itself, the other is understanding how to create an app in terms of its user interface, the Android OS, and the Android Software Development Kit (SDK). In this tutorial we will deal with the first of these, the Java programming language.
To start writing Java programs you need a way to compile source code and turn it into an executable for the Java runtime.
Java was first released in the mid-1990s by Sun Microsystems. It was designed to be easy to learn by programmers who already knew C and C++. During 2006 and 2007 Sun released Java as free and open-source software, under the terms of the GNU General Public License (GPL). Sun was bought by Oracle in 2009/2010, and Oracle remains committed to Java.
To start writing Java programs you need a way to compile source code and turn it into an executable for the Java runtime. The normal way to do this is to install the Java Development Kit. At the time of writing the current version of Java is Java 8, however it is relatively new, so Android uses Java 7. If you are unsure about installing the JDK then read this How to Install the Java Software Development Kit tutorial. Oracle also provides a JDK 7 Installation Guide.
However, if you aren’t quite ready to install the JDK, and you want a quick route to trying your first Java program, then I recommend Koding.com. Koding gives you access to a free virtual machine with all the compilers and tools you need to compile and run Java programs as well as develop in other languages like Go, Python, Node, and C. To sign up just visit Koding.com, type in your email address and a password of your choice, and then click “Sign Up”.
The virtual machine (VM) comes with an IDE and command line access. The web view of the virtual machine is divided into four. On the very left if the Koding control panel with access to your account details, the virtual machines you have created and so on. Next to it is a file manager which shows all the files and folders you have on your VM. Next to that the screen is split into two. The top half is an editor, for writing your code; and the bottom half gives you command line access.
From here in I will assume you are using Koding. However, for those who have installed the JDK the process is almost identical except that you will need to use a text editor on your PC rather than the editor inside the Koding IDE.
Cut and paste the following code into the editor:
public class HelloWorld
public static void main(String[] args)
System.out.println("Hello, World");
And save it as HelloWorld.java. In Java the filename of the source code and the class name must be the same. The first line of the code declares a class called HelloWorld, so this source code must be saved in HelloWorld.java.
In Koding to save the file, hover the mouse over the tab for the code (probably called Untitled.txt) and click on the little arrow. Then click “Save As…”, enter HellowWorld.java as the file name and click “Save”.
At the bottom part of the screen is the command line. The virtual machine is running Linux and the terminal is running Bash. If you are unfamiliar with using the Linux command line, try this tutorial: Linux Tutorial for Beginners, especially Tutorial One and Two. So, to compile your first Java program just type:
javac HelloWorld.java
The compile should only take a second or two. Then to run the program type:
java HelloWorld
Your reward is the text “Hello, World” being displayed in the terminal. Congratulations!

What did I just do?
So let’s take a moment to look at what just happened. First the source code. The file does three things. 1) It declares a class called HelloWorld. 2) It defines a method (a function) in the HelloWorld class called main. 3) The main() method calls System.out.println to output some text.
In Java, and in all object orientated programming languages, a class defines an object. An object is a self contained item that interacts with other objects. In Android such object would include elements in the UI, a network connection, some location data, and so on.
Each Java program must define a method called main in at least one class. It is the entry point, where the program starts executing. In the simple example above the main() method has just one line of code, a call to System.out.println to output “Hello, World”. println() is a method that belongs to the PrintStream class and is included as part of the System class. Oracle has lots of information about the System class and the PrintStream class.
To compile and run the program you first called javac and then java. The first is the Java compiler, hence the letter ‘c’ at the end, and the second is the Java virtual machine. Java is architecture-independent which means that a .java file isn’t compiled for a specific processor on a specific OS, like Windows on an Intel x86 chip, or Android on an ARM Cortex-A processor, but rather it is turned into Java bytecode. The job of the Java virtual machine is to run that bytecode on the specific platform.
Variables
When writing computer programs you will need to store some data for temporary use. For example in an Android game you will want to store the score of the current player. These bits of data are stored in variables – a box in which you can put some data and then come back later a retrieve it. Since data comes in different forms a variable needs to be defined with a type, which tells Java what is being stored. Some of Java’s primitive data types include int (for integer), double (for double precision floating point number), and boolean (for a true/false value).
Here is a simple program which sets the value of a variable, prints out the value to the console, changes the variable and then prints it out again:
public class VariableTest
public static void main(String[] args)
int i = 1;
System.out.println("The value of i is: " + i);
i = i + 24;
System.out.println("The value of i is now: " + i);
Save the file as “VariableTest.java”. To compile it type: javac VariableTest.java, and to run it use: java VariableTest. The output of the program will be:
The value of i is: 1 The value of i is now: 25
As you can see the program defines a variable called “i” and gives it an initial value of 1. The value of “i” is printed to the console. Then i is set to the new value of i + 24, or 1 + 24, which is 25. The new value is then printed out.
Try modifying the program to use a “double” rather than an “int”. Set “i” to something like 1.3 and increase its value by another decimal number like 24.9.
If you take a look at the println() method you will see an integer being added to a string: “The value of i is: ” + i. What actually happens here is that Java knows that the first part of the expression is a string, so it generates the string value for i, in this case “1” and then concatenates it to the string giving: “The value of i is: 1″.
Strings
Strings are an important part of any programming language including Java. Unlike int or boolean, a string isn’t a primitive type it is a class. When you create a string variable you are really creating a String object (notice the capital letter S). As an object it has certain properties like its value (the string itself) and its length. Strings can be manipulated in lots of different ways, including being dissected, concatenated, compared, and searched.
Here is an example program that performs a few simple operations on a String:
public class PlayingWithStrings
public static void main(String[] args)
String hello = "Hello, World";
System.out.println(hello);
// Add an ! to the end
hello = hello + "!";
System.out.println(hello);
// Extract the word "Hello" from the String
// i.e. starting at the beginning (0) for 5 characters
String justHello = hello.substring(0,5);
System.out.println(justHello);
// Add some trailing spaces and then remove them with trim()
hello = hello + " ";
hello = hello.trim();
// Now output the string all in UPPERCASE and lowercase
System.out.println(hello.toUpperCase());
System.out.println(hello.toLowerCase());
Save it as PlayingWithStrings.java. Compile it and run it using javac and java as shown previously.
This is a special method called a constructor. The constructor is called only once, at the moment that the object is created.
The first part of the program creates a String object called “hello” and gives it a value of “Hello, World”. Although this make look similar to how you declare and assign an integer or another primitive type, actually there is a lot more going on here. Java allows simple operators like = and + to be assigned simple tasks. So really String hello = “Hello, World”; is actually some like String hello = new String(“Hello, World”);, in other words, create a new object of type String and pass in the value “Hello, World” to the constructor. But we will talk more about that in the Objects section below.
The next part shows how you can concatenate strings, in this case an exclamation point is added to the end of the string. Since String is an object it can have methods. String.substring() is a method which returns part of a string. In this case the first 5 characters. String.trim() is another method which removes leading and trailing spaces. The last part of the program demonstrates the String.toUpperCase() and String.toLowerCase() methods.
The output from the program will be:
Hello, World Hello, World! Hello HELLO, WORLD! hello, world!
You can find out more about the String object in Oracle’s String tutorial and from the Java String documentation.
Loops
If there is one thing a computer is good at, it is doing repetitive tasks. To perform a repetitive task in a programming language you use a construct called a loop – something that loops around again and again.
Java has three types of simple loop: the for loop, the while loop, and the do while loop. Each loop type follows the same basic idea, you need to repeat something over and over again until a certain condition is met.
Here is an example which shows how to print out the numbers 1 to 10, 11 to 20, and 21 to 30, using the three different types of loop:
public class Loops
public static void main(String[] args)
// For loop
for(int i=1; i<=10; i++)
System.out.println("i is: " + i);
// While Loop
int j = 11;
while(j<=20)
System.out.println("j is: " + j);
j++;
// Do While Loop
int x = 21;
do
System.out.println("x is: " + x);
x++;
while (x <=30);
Create a file called Loops.java with the code from above, then compile it and run as shown previously.

The for loop as three parts. First the initialization (int i=1), which is executed only once. In the example above the initialization is used to declare an integer i and set its value to 1. Then comes the test expression (i<=10). This expression will be tested every time the loop executes. If the result of the test is true then the loop will go around again. In this example the test is to check that i is still less than or equal to 10. After each iteration the third section, the iterator, will be executed. In this example it increases the value of i by one. Note that i = i + 1 is the same as i++.
The while loop is similar to the for loop, except it doesn’t contain the initialization phase and the iterator phase. That means that the initialization needs to be done separately, hence the declaration int j = 11;. The iterator also needs to be coded separately. In our example it is the line j++ which is found inside the loop after the println().
A do… while loop is very similar to a while loop with one big difference, the test to see if the loop should continue is at the end of the loop and not at the start. This means that a do… while is guaranteed to execute at least once, but a while loop doesn’t even need to execute at all, if the conditions aren’t met on the entrance into the loop.
Like the while loop, the initialization needs to happen outside the loop, in this case: int x = 21; and the iterator occurs inside the loop: x++. When x goes over 30 the loop will stop.
Objects
As I mentioned before, Java is what is known as an object-orientated (OO) programming language and to really succeed in Java programming and Android programming it is important to understand OO concepts.
At its simplest level an object is a set of methods (functions) that work on a data set. The data and the methods belong to the object, and work for the object.
Here is the source code for a very simple program which creates a counter object:
public class Counter
int count;
public Counter()
count = 0;
public void Increment()
count++;
public int GetCount()
return count;
public static void main(String[] args)
Counter myCounter = new Counter();
System.out.println("mycounter is " + myCounter.GetCount());
myCounter.Increment();
System.out.println("mycounter is " + myCounter.GetCount());
The Counter object has one piece of data, the integer variable count and three methods (other than main): Counter(), Increment(), and GetCount(). Leaving the first method for the moment, you can see that Increment() and GetCount() are very simple. The first adds one to the internal variable count and the second returns the value of count.
Until now all the methods we have declared started with public void but if you notice the GetCount() method starts with public int. We will talk more about public in a moment, but the difference between void and int is this: void declares that the method doesn’t return anything, there will be no result coming back out of the method. But int tells us that the method will return a number, specifically an integer. You can actually create methods that will return all kinds of data, including objects.
Notice that the first method has the same name as the class itself, i.e. Counter(), and it doesn’t have a return type (not even void). This is a special method called a constructor. The constructor is called only once, at the moment that the object is created. It is used to initialize the object with default values and perform any other necessary initialization tasks. In this example it just sets count to zero.
Inheritance
The great thing about classes is that you can create a general class for an abstract idea and then create specific classes which are derived from the original class. For example, you can create a class called Animal and then derive a new class from it for a specific animal, say an Elk.
Here is an example, I will expand on what is happening here in a moment… You are going to need to create two files for this example, Animal.java and Elk.java. Here is Animal.java:
public class Animal
int NumberOfLegs;
public Animal(int n)
NumberOfLegs = n;
public int GetNumLegs()
return NumberOfLegs;
And here is Elk.java:
public class Elk extends Animal
int lengthOfAntlers;
public Elk(int l)
super(4);
lengthOfAntlers = l;
public int GetAntlerLength()
return lengthOfAntlers;
public static void main(String[] args)
Elk myElk = new Elk(30);
System.out.println("Antler: " + myElk.GetAntlerLength());
System.out.println("Legs: " + myElk.GetNumLegs());
To compile the program just type:
javac Elk.java
The Animal class is what is known as a super class, while the derived class Elk is known as a sub-class, because hierarchically it is below the Animal class. When a class is extended (i.e. you create a sub-class) the new class takes on the data and methods of the super class. That is why the program is able to call myElk.GetNumLegs() even though it is part of the Animal class. The new Elk class has two variables: NumberOfLegs and lengthOfAntlers. It also has two methods: GetAntlerLength and GetNumLegs. If we created another sub-class, say Sheep, it would inherit the NumberOfLegs variable and the GetNumLegs method.
When designing objects you will discover that you want some methods to be exposed to the rest of the program, so that they can be called. But other methods you might want to keep private, so that only the object itself has access to it. This is where that word public comes into play. We have been declaring everything as public which means the method can be called from anywhere else in the code. However you can declare methods as private or protected, which will limit the access to those methods. The same access rules can also be applied to the object’s variables. A deeper discussion is beyond the scope of this tutorial, but if you would like some more information then you should read Controlling Access to Members of a Class and Declaring Member Variables from Oracle’s Java documentation.
One other thing worth mentioning is how the constructors work. The Elk() constructor initializes the lengthOfAntlers variable, in this case to 30, the number passed in when the object was created. But before that, it calls the constructor of the super class (i.e. Animal() ) using the special Java notation super.
There is a lot more that can be said about object-orientated programming (OOP), but this should be enough to give you a taste and get you started.
Wrap up
There are lots of online tutorials for learning more about Java. Here are a few from Oracle:
- Getting Started — An introduction to Java technology and lessons on installing Java development software and using it to create a simple program.
- Learning the Java Language — Lessons describing the essential concepts and features of the Java Programming Language.
- Essential Java Classes — Lessons on exceptions, basic input/output, concurrency, regular expressions, and the platform environment.
You might also want to look at the following tutorials:
For those of you who would like an eBook or a printed book on Java programming then you might want to consider the following:
- Java: A Beginner’s Guide
- Head First Java
- Java Programming For Beginners – A Simple Start To Java Programming
Also, good books on Android programming include:
- Android Programming: The Big Nerd Ranch Guide
- The Beginner’s Guide to Android Game Development
- Learning Java by Building Android Games
Android Developer Newsletter
Do you want to know more? Subscribe to our Android Developer Newsletter. Just type in your email address below to get all the top developer news, tips & links once a week in your inbox:
Email:
PS. No spam, ever. Your email address will only ever be used for Android Dev Weekly.
Dawn spacecraft captures a sunlit Ceres on cam
The Dawn spacecraft has recently captured the sharpest pictures of Ceres to date, showing the dwarf planet’s bright, sunlit north pole. NASA’s space probe has been steadily making its way to the celestial body since 2012 after a 14-month stint orbiting the asteroid Vesta. It fired up its ion thrusters in March to slowly approach the Texas-sized proto-planet and settle into orbit, until it reaches an altitude of 233 miles from the surface. Its ultimate goal? To take 3D images and create a high-res map of Ceres, which might harbor some form of water.
These photos (shown as an animation above) were taken on April 10th, while the spacecraft was still 21,000 miles away — for reference, the distance between the Earth and the moon is 238,900 miles. As you can see Ceres looks mighty cratered, just like our own moon. These images won’t be known as the sharpest photos of Ceres for long, though: the spacecraft is bound to take even better ones as it gets closer to the dwarf planet.
[Image credit: NASA/JPL-Caltech/UCLA/MPS/DLR/IDA]
Filed under: Science
Source: NASA
Uber launches in Newcastle, its sixth UK city
Uber is slowly but surely making inroads in Britain. Today, the company is launching its low-cost UberX service in Newcastle, allowing passengers to request a Toyota Prius (or a similarly specced vehicle) to get around town. It’s the sixth UK city for Uber, following London, Manchester, Leeds, Birmingham and Wakefield. Only a week ago the company launched its premium UberExec service in Manchester and Leeds; we wouldn’t be surprised if a similar expansion was already being prepared for “the Toon.” Where will Uber strike next? If its job listings are anything to go by, Glasgow and Edinburgh. Now that the company has a foothold in England, it seems Scotland is next on its hit-list.
Filed under: Transportation
Samsung claims it will sell 70 million Samsung Galaxy S6 and S6 Edge handsets
<ins class="adsbygoogle"
style=”display:block”
data-ad-client=”ca-pub-8150504804865896″
data-ad-slot=”8461248232″
data-ad-format=”auto”>
(adsbygoogle = window.adsbygoogle || []).push();
Not long after Samsung‘s duo of flagship devices was announced, analysts predicted Samsung would sell 50 million handsets. Now, after a full week of global sales, Samsung is claiming that at least 70 million Samsung Galaxy S6 and S6 Edge handsets is an achievable target. Whether this is just a yearly target, or lifetime sales, isn’t known, but The Korea Times quotes Samsung Vice Chairman Kwon Oh-hyun as simply saying “The S6 should do well. The first week looks impressive.”
It’s all possible thanks to an incredible global interest in both the vanilla Galaxy S6 and curved S6 Edge – if there needs to be just one example of the intense fervour, the extreme popularity of these devices in Samsung’s native Korea should be it. The success of the Galaxy S6 and S6 Edge is especially crucial for Samsung who lost substantial ground to Apple and its fellow Android competitors due to the poor performance of its Galaxy S5, but it appears their fortunes have turned around.
What do you think about Samsung staking their claim of at least 70 million Samsung Galaxy S6 and S6 Edge handsets sold? Let us know your thoughts in the comments below.
Source: The Korea Times via Phone Arena
The post Samsung claims it will sell 70 million Samsung Galaxy S6 and S6 Edge handsets appeared first on AndroidSPIN.
Google Chrome for iOS gets easier to use with one hand
Don’t like that Chrome makes you use two hands to comfortably surf the web on your iPhone 6? Your life just got a bit easier. Google has updated Chrome for iOS so that you can pull down to not only refresh web pages, but open and close tabs. At this rate, you might only have to reach up when you want to type in a site address. There’s also a Today View launcher widget that includes voice search, suggested answers for common searches and support for password managers like 1Password and LastPass. All told, you should spend more time browsing and less time stretching your fingers — that’s a worthwhile upgrade in our books.
Filed under: Cellphones, Internet, Software, Mobile, Google
Source: Google Chrome Blog, App Store










