Monthly Archives: June 2015

Meizu MX5 is official, packing Helio CPU and 3GB RAM

meizumx5

Meizu is hardly a household name, particularly in the western markets, but the company is still well known among certain circles for its aggressive pricing and Apple-esque looks. In particular, the company is best known for its MX and M Note product lines. The M2 Note was announced at the beginning of the month for just $130, and now Meizu has also formally taken the wraps off the Meizu MX5. Yesterday we covered a leaked report that highlighted many of the specs and details for this flagship, but it’s still nice to get official confirmation.

  • Meizu M1 Note Review

  • Meizu MX4 Pro Review!

  • Meizu MX4 Review!

The new flagship packs a pretty solid punch thanks to its Helio X10 Turbo 8-core processor, PowerVR G6200 GPU, and 3GB RAM. Other specs include 16, 32, or 64GB storage, a 5.5-inch 1080p display, a 20MP camera with a Sony IMX220 sensor and dual-tone LED flash with laser autofocus, a 5MP front cam, a 3150 mAh battery with fast charging tech, and Meizu’s Flyme 4.5 which is based on Android 5.0 Lollipop.

The MX5 might not look substantially different from its predecessors but it does offer a more premium build thanks to a switch to a full metal jacket.

Turning to the aesthetics, the MX5 might not look substantially different from its predecessors but it does offer a more premium build thanks to a switch to a full metal jacket. This differs from the MX4, which had a metal mid-section and a plastic rear. Another change is in the physical key up front, which has been altered slightly to take on a more Samsung-style look. The MX5 is also just 7.6mm thin and weighs 149 grams.

Although many of our readers aren’t so fond of MediaTek chips, most of the specs here are quite good. Design is also solid, even if a little to iPhone-like for most of our tastes. What really makes the MX5 shine, however, is the price tag. The base 16GB model will be offered at 1800 yuan or about $290, with the 32GB model at roughly $322 and the 64GB at $387.

With support for many of the same high-end features you’d get from more expensive flagships — like cat 4 LTE, 4K recording, full metal builds, etc — we have to give Meizu credit here. Of course, we really can’t say how good (or bad) the handset is until we get our hands on it for a full review in the months to come. What do you think of Meizu’s latest? Let us know in the comments.

from Android Authority http://ift.tt/1Iq8w2M

via Blogger http://ift.tt/1R1UF8v

Advertisements

Sony to invest billions in its image sensor business

sony xperia z3 first impressions aa (14 of 17)

Sony’s mobile division has been having a tough time lately, but the company’s image sensors are still proving hugely popular in the smartphone and wider camera markets. In a bid to play to its strengths, Sony is looking to invest heavily in additional production capacity for mobile image sensors.

To raise the necessary funds for this expensive investment, Sony will be issuing new shares for the first time since 1989, which caused an 8.25 percent fall in Sony’s share price. The company is planning to raise around $3.6 billion through a combination of selling new shares and convertible bonds.

Of the total, much of the proceeds are earmarked for investment into additional production capacity for smartphone image sensors, such as those used in Apple and Samsung products, as well as its own handset line-up. Despite high demand for Sony’s cutting edge camera modules, its current production capacity is preventing the company from maximising its revenue.

In April, Sony Chief Financial Officer Kenichiro Yoshida stated that the company would be investing ¥210 billion in image sensors during the current fiscal year and ¥80 billion on camera modules. The company is also expected to more than quadruple its operating profit for the 2016 fiscal year, following a company-wide restructuring program and strong sales of digital sensors.

For Sony, this is part of a broader plan to focus on its strongest products – music, movies, gaming and device components. We will have to see what this means for the company’s struggling mobile hardware business in the coming years, especially as Chief Executive Kazuo Hirai hasn’t ruled out abandoning the market all together.

from Android Authority http://ift.tt/1LSyfjk

via Blogger http://ift.tt/1R1UB8G

Writing your first Android app – everything you need to know

There are lots of reasons why you might want to write an Android app. Maybe you have a great idea and you want to build a prototype, maybe you just want to learn to program for Android, maybe it is part of a school or college course, or maybe you are just curious. Whatever the motivation, building Android apps can be fun and rewarding.

In this tutorial we go through the steps needed to build your very first Android app. But before we start, it is worth mentioning some of the other resources we have related to writing Android apps. You should read I want to develop Android Apps – What languages should I learn? and Java basics: a tutorial for beginners.

Android Studio

To write an app you are going to need to download and install Android Studio. Included in the download are the Software Development Kit, with all the Android libraries and bits that you need to develop an app; and the Android emulator, so that you can initially test you app on your PC without needing to install it on a real device.

However, first you are going to need to download and install the Java Development Kit (JDK) from Oracle. Look for the section called “Java SE Development Kit 7u79″ and download the version for your PC. It is important that you download the right version (32-bit or 64-bit) because if you don’t you can have problems with Android Studio not finding the Java Runtime Environment (JRE).

Note: Oracle will not be posting any updates of Java SE 7 to its public download sites and it is suggested that users move to Java 8, however at the moment Android Studio requites Java 7. This could change in the future.

Once you have installed the JDK you should then install Android Studio. During the install you will need to configure how much memory to reserve for the Android emulator. The emulator runs Android in a kind of virtual machine, as an Android phone with an Intel processor. This is faster than emulating an ARM processor on your PC. However to run this virtual machine the emulator needs to allocate some memory. The installation program will recommend how much memory to reserve and it is probably best to accept the default. However, be aware that the combination of Android Studio, Java, and the emulator can be quite memory hungry, and your PC will slow to a crawl unless you have lots of RAM. Google says that you need 2 GB of RAM as a minimum, and that 4 GB of RAM is recommended, however my main PC has 8GB of RAM and sometimes it struggles!

android-studio-emu-setup

When you first run Android Studio it will perform some initialization including downloading and installing the latest Android SDK. This can take several minutes, you will just need to be patient.

When everything has been downloaded (and whenever you subsequently start Android Studio) you will see a menu which allows you to start a new project, open an existing project, import a project, and so on.

Start a new project

Click “Start a new Android Studio project” and enter a name for your app in the “Application name:” field, I would suggest something like “My First App” (without the quotes). In the “Company Domain” field enter the domain name of your company. If you are an independent developer or a hobbyist, enter your domain name. If you are just experimenting with Android and won’t be publishing your apps on Google Play anytime soon, then just leave the domain as it is, just change “user” to your name (without any spaces).

android-studio-new-project

On the next dialog make sure “Phone and Tablet” is selected and that the “Minimum SDK” is set to API 15: Android 4.0.3. Make sure that “Wear” and “TV” are not checked.

On the “Add an activity to Mobile” dialog,use the default of “Blank Activity” and click “Next.” On the “Customize the Activity” dialog use all the default values and click “Finish.”

android-studio-customize-activity

The Integrated Development Environment (IDE) will now start. This can take several minutes (especially if it is the first time you have created a project). If when the IDE appears you see an error message, “Rendering Problems: Rendering failed with a known bug” then click the “rebuild” link as indicated next to the error.

The default workspace for the IDE is split into three main parts (excluding the toolbars etc). On the upper left is the project tree. To its right is the code editor/designer, and beneath them both are the messages.

At this point it is possible to compile and run the auto-generated app, but it isn’t very interesting and you won’t learn anything about writing an Android app. So instead we are going to add a few little things, not much, but enough to get you started and give you a taste of Android app development!

The project tree

The project tree holds all the different files and resources that are needed to build your Android app. If you are familiar with writing simple programs in Java, C, Python, etc you might think that everything will be contained in just one or possibly two files. However Android app development is a little more complex, however this initial complexity is actually very useful once you start to write your app in earnest.android-studio-project-tree-expanded-840x482

Under the “app” node in the project tree you will see several nodes (like folders) which can be expanded. The top level nodes are “manifests”, “java”, and “res”. The last one is short for “resources.”

Under manifests you will find the file “AndroidManifest.xml,” every application must have one of these. It is an XML file with information about the app including its name. One of the most common things you will add to this file is the list of permissions needed by the app. For this simple test app you won’t need to change anything here.

Under “java” you will find the Java code for the app. It will be under a sub folder called something like “com.example.user.myfirstapp”, which is the reverse of the company domain name you entered earlier, plus the name of the app. Under that folder you will find MainActivity.java. This is the entry point into your app and for our example app this is the only Java file that we will need.

Under “res” there are several different folders for graphics, menus, and the UI. The two that interest us for this example app are “layout” and “values.” Under “layout” is a file called “activity_main.xml.” It is an XML file that describes the user interface. There are two ways to edit this file. The first is to edit the XML code directly, or the second is to use the built-in UI designer.

android-studio-act_main_xml

The “values” folder contains several different XML files, the most important one for this example app is “strings.xml.” Rather than hard coding string values into the Java code, the values are placed into the “strings.xml” file and then referenced using an ID. The advantage of this system is that if a string is used multiple times it can be changed in just once place. It also makes it easier to support multiple languages in the app.

To create this sample app we will need to modify MainActivity.java, activity_main.xml, and strings.xml.

Writing the app

For our example app we will add a Button with the label “Tap Me!”, we will change the default “Hello world!” label to “Tap me if you dare!” plus change its position so that it is in the center. And finally, we will add some code to display a “toast” when the button is tapped!

Let’s start by altering the text of the label and changing its alignment. First find “activity_main.xml” in the project tree and double-click it. Remember, “activity_main.xml” is the file which holds the User Interface definition. At the bottom of the code window there are two tabs, “Design” and “Text.” Make sure you are using the “Design” tab.

Now click in the text “Hello world!” that is shown on the rendering of the phone. If it is too small use the zoom button (the plus sign in a magnifying glass) to enlarge the rendering of the phone.

In the “properties” window just to the right of the phone image, scroll down until you find “layout:centerInParent.” Click the space next to it and select “horizontal.” The “Hello world!” text will now jump to the horizontal center.

android-studio-hello-world-align

Now to change the text. The string “Hello world!” is held in the file “strings.xml” under res->values. If you double-click on the file you will see a few lines of XML that defines the the strings used by the app. Find this line:

<string name="hello_world">Hello world!</string>

And change it to

<string name="hello_world">Tap me if you dare!</string>

To recap. We have aligned the text on the horizontal center and we have changed the text. Now to add a button. Back on the “Design” tab of “activity_main.xml,” find and click on “Button” in the “Palette” list to the left of the phone render. Now click somewhere beneath “Tap me if you dare!” on the phone image, make sure it is in the middle.

Now double-click on the button so that you can change the text. The quick and dirty way is just to change the text and leave it hard coded. However since we have already been introduced to “strings.xml” we should continue using it, as a best practice. At the end of the “text:” field is a button with three dots, click it. In the “Resources” windows click on “New Resource” and then on “New String Value…” In the “Resource name:” enter “tapme” and in the “Resource value:” enter “Tap me!”. Then click OK. The button will now say “Tap me!”

The final step is to add some Java code which reacts to the button being tapped. One of the UI elements of Android is a “toast.” A toast provides simple feedback in a small popup. You will certainly have seen it. For example, in Gmail navigating away from an email before you send it triggers a “Message saved as a draft.” Toasts automatically disappear after a timeout.

For our sample app we will display a toast every time the button is tapped. The first step is to add some Java code. Find MainActivity.java and add the following code beneath “onCreate”:

public void onButtonTap(View v) {
        Toast myToast = Toast.makeText(getApplicationContext(), "Ouch!", Toast.LENGTH_LONG);
        myToast.show();
}

The word “View” in “(View v)” will likely be in red with a message bubble displayed near it. This is Android Studio telling you that you have used a new construct (View) without importing it in the import section, at the top of the Java code. This is easy to fix. Click on the word “View” and then press ALT+ENTER, Android Studio will fix it for you! If the word “Toast” is in red, then do exactly the same thing again. Click on the word Toast and then press ALT+ENTER.

android-studio-set-onButtonTap

Now back in the designer for “activity_main.xml”, click on the button and scroll down through the properties list until you find “onClick”. Click on the box to the right and a list of functions will appear. Click on “onButtonTap”, the function we just added.

So now the “onButtonTap()” function will be called whenever the button is tapped. When it is called it creates a Toast called myToast that will display the message “Ouch!”. To show the Toast we just call myToast.show().

And that’s it, in terms of writing our app, now to test it in the emulator.

Building and testing your app

Under the Tools menu, navigate to Android -> AVD Manager. This tool shows you the list of currently configured Android Virtual Devices. You will have one device configured by default, probably a Nexus 5. Click on the play icon (the triangle) under the actions column. This will start the emulator.

Depending on the performance of your PC and the amount of memory you have, the emulator can take several minutes to start up. Once the emulator is up go to the Tools menu and click on “Run ‘app’”. This will compile the app and send it to the emulator. During this process Android Studio will ask you which emulator to use. You will see your running emulator in the list, it should be the default option, so just click OK.

android-studio-my-first-app-in-emu

The app will appear in the emulator (eventually). Click on the “Tap me!” button and watch for the toast to appear towards the bottom of the emulated device. Congratulations!

What to do next and wrap up

It is also possible to run the app on a real device. The easiest way to do this is to enable “USB debugging” on an Android device and connect it to your PC. The USB debugging option can be found under Settings>Developers options. If you don’ t have a Developers options section then open Settings> About and then tap “Build number” seven times.

With the device connected click on  “Run ‘app’” under the Tools menu, but this time don’t send the app to a virtual device, send it to a real device. If your device isn’t listed it either means that you haven’t enabled USB debugging or you need to install the appropriate USB driver for your device. See the OEM USB Drivers and Google USB Driver sections in Google’s documentation.

Obviously this is just the beginning, but you have successfully created a real Android app with some user interaction. The next thing to do is write your second app and keep going. Google has a lot of Android developer training material, plus there is extensive documentation, and lots of code samples.

You should also subscribe to the Android Authority Dev Weekly newsletter. It is a curated publication full of interesting, relevant links for Android developers. You should also check out the other developer related articles on the Android Authority website, you will find the more technical developer articles in the Android Development category, while general developer focused articles will be tagged for developers.

But most of all you should have fun and keep learning!

from Android Authority http://ift.tt/1NuQfRf

via Blogger http://ift.tt/1GMnrQc

Honor 7 official with 20MP camera and fingerprint sensor

Huawei-Honor-7 (1)

Huawei may sell handsets under its own name but the company also offers devices under the Honor brand in both China and Western developed markets. Honor was initially launched as Huawei’s answer to low-cost competition from the likes of Gionee and Xiaomi but the Honor 6 and Honor 6 Plus from last year represented some of the best mid-range devices on the market.

Today, Huawei has just finished unveiling its next Honor smartphone – the Huawei Honor 7, which comes in three different variants and has a lower price tag that rumors previously suggested.

The price tag is simply phenomenal given the incredible specs included in the handset, which is a mini version of the popular Ascend Mate 7 phablet from last year. The lowest variant of the Honor 7 costs 1999 Yuan ($322) and offers 16GB storage with LTE while the middle option offers the same storage and dual SIM 4G LTE for 2199 Yuan ($354). The top end model offers 64GB internal storage and dual 4G LTE SIM support for 2499 Yuan ($402).

Other than these differences in storage and SIM support, all three models have the same specs. The all-metal device has a 5.2-inch Full HD (1920×1080) display offering a respectable pixel density of 423 pixels per inch and above the display is an 8MP front facing camera with fixed focus and F2.4 aperture.

Switch to the back and the Honor 7 uses a Sony IMX230 camera with 21 megapixels and Phase Detection Auto Focus allowing it to focus on a subject in just 0.1 seconds. Beneath the camera is the fingerprint sensor which initially debuted on the Ascend Mate 7 and can be used to unlock the phone with one tap. The fingerprint sensor can also be used for security measures in some banking and payments applications for additional security.

Huawei-Honor-7

Under the hood, the Honor 7 is powered by an octa-core Kirin 930 processor, which has 4 Cortex A53 cores clocked at 2.2GHz and 4 more clocked at 1.5GHz. There’s also a Mali T628 GPU, 3GB RAM and a microSD card expansion slot allowing you to increase the storage by up to 128GB. The Honor 7 runs Android 5.0 Lollipop with Huawei’s Emotion UI v3.1 on top and is powered by a 3100mAh battery with fast charging allowing you to charge the phone to full in 1 hour and 25 minutes or charge to 50% in just 30 minutes.

Like most Huawei phones, the Honor 7 is rich in connectivity, including NFC, dual-band Wi-Fi (2.4GHz – 5GHz), Bluetooth 4.1, GPS and LTE Cat 6. The Honor 7 is currently only available in China and the LTE bands supported are FDD-LTE B1/B3 but a global variant should be available in a few months supporting all major LTE frequencies (dependent upon market).

Popular Huawei Smartphones:

  • Huawei P8 Lite review

  • Huawei P8 Review!

  • Huawei Honor 6 Plus Review

  • Huawei Ascend Mate 7 Review

The Honor 7 will go on sale in China on July 7th and is available to pre-order now. I personally hope that Honor bring this handset to every market in the world as, on paper at least, it’s a really exciting phone. Having used both the Honor 6 and the Honor 6 Plus, I have high hopes for the Honor 7 but what do you think? Is the feature-rich and stylish Honor 7 smartphone, the one for you? Let us know your views in the comments guys!

from Android Authority http://ift.tt/1BTAiTM

via Blogger http://ift.tt/1GMnueV

6 months free Google Play Music when you buy a Galaxy S6 in Canada

samsung galaxy s6 review aa (6 of 45)

There have been a number of good Samsung Galaxy S6 deals available for US customers recently and now Canadians are receiving a bargain of their own. Google and Samsung have teamed up to offer six months of access to Google Play Music for free when you buy a new Galaxy S6 in Canada.

The offer is also partially extended to other Samsung handsets in the country. Customers will be gifted three months of access to Google’s music service subscription for free with the purchase of any new Samsung smartphone. With over 30 million tracks to listen to, it’s a rather good deal for the music lovers out there.

To help spread the word about the offer, Samsung is dispatching teams to music festivals taking place around Canada, who will be providing Play Music demos.

Should I buy a Galaxy S6?

  • LG G4 vs Samsung Galaxy S6 /…

  • Samsung Galaxy S6 and S6 edg…

  • Samsung Galaxy S6 Review!

Google has also recently launched an ad-supported version of Play Music in the US, which aims to compete with other free ad-based music streaming services, such as the popular Spotify platform. This ad-supported version won’t be arriving in Canada for a little while yet, but a free subscription might help to tide you over.

from Android Authority http://ift.tt/1BTxqq9

via Blogger http://ift.tt/1R1UtpH