LightBlog

lundi 26 septembre 2016

Contributing to Open Source Projects Not Just For the Experts

XDA has long been a proponent of open source development, and we've seen it flourish over the years. In fact, it's one of the main reasons our community has grown as fast as it has over these past 13 years, with Android's core being the driving force. Many people desire to be part of open source and contribute but often don't know how they can, whether because they think they lack the skills or they just don't have the time.

I recently read a good article on RubyGarage which spoke to this, and I thought I would build on it and bring relevance to the XDA community. In the article the author points out that the best way to learn and/or expand your skills is to in fact just start contributing. Now, I hear what you're thinking:

"That's great. Wonderful analysis. Much words. That doesn't help me though. I don't know why I should or where to begin!"

Never fear, dear reader. I am here to give you some reasons why you should, and then we'll move to ways you can begin.

Open Source Basics

In a conversation I had recently with my oldest child, we were discussing how cars have changed over the years. I told him that in many ways the idea of the car wasn't far removed from the horse-drawn carriages of the late 19th / early 20th century. Every car has wheels (usually four), a power source, and a passenger/cargo area. Each manufacturer may dream up, and in some cases implement, new designs, but they haven't gotten away from the core of what Henry Ford based his original vehicle on.

In many ways, the same goes for software:  there's nothing really new under the sun (no matter how many times Apple labels some new feature innovative that everyone else not inside the reality-distortion-filter of Cupertino has had for years), and all these software packages out there tend to reinterpret what has already been into something different and usable for a new audience. And don't get me wrong – that's not a bad thing at all. What it does mean is that you're building on a foundation which has been laid before you.

Open source arose from the Free Software movement, and at its core is an idea that software should be made so that anyone can make use of it's functionality and methodology. This means that developers, bound by the terms of whatever open source license the original software is protected by, may a) take the work and use it for their own; b) contribute fixes, features,  etc. to existing projects; or c) take the work, improve on it, and contribute their changes back (some licenses REQUIRE this like the GPLv3). You're standing on the shoulders of the giants who have come before you – so give back just like they did.

Why should I?

I'll answer this with an answer back – "Why shouldn't you?" I'm being serious here. If you have the ability to, or the desire to lend your assistance, etc. – why wouldn't you just do it? Often what I have found as a blocker for entering open source is a disconnect between what contributing actually is.

Being a contributor to an open source project is often identified as someone who commits actual code to solve an issue, add a new feature, or a new project entirely. But what's frequently forgotten about is that often what a project needs is someone to handle the task of keeping up / translating documentation, reporting bugs, providing user support, etc.

Where do I find a project?

Outside of deciding to start your own project, you can of course help out other projects. With so many to choose from, a good way is to start in the device-specific ROMs, Kernels, Recoveries, & Other Development section on XDA for your device. You can also look for Trending projects on Gitlab or Github or Github's nice way to explore projects solving different types of problems.

How do I start?

It is not uncommon for someone to start reporting bugs and then decide to figure out how to fix them and then commit the fixes to the project. While not the most interesting, reporting bugs/issues can be one of the most important. When you find a bug you should report it using that project's chosen bug tracker, i.e. XDA's DevDB Bug Tracker or the Issues found on Gitlab or Github. Make sure you provide as much information as possible, like the error message, log of the error, steps taken to get to the error, etc. The more information the better.

If you look through the project's bug tracker and you see something that you know how to fix, whether it be code-related or user error, do not hesitate to jump in and assist. If you have the fix, follow the contributing guidelines for the project and submit the fix via the correct steps.

Projects often find themselves heavy on those who can write code, but light on those who can right good documentation. Let's face it – developers don't like writing it, but they sure wish the previous developer did. So if you can document a procedure, modify a current one to make it more "intuitive" (which is a nice way of saying "idiot-proof"), or create or update wiki entries, by all means do it. The project, and its users, will love you.

I hope this has given you some ideas on why and how you can get involved in open source. If you have some experiences with being a contributor, or have a project you would like help on, please let us know in the comments below.

[Featured image courtesy of OpenSource.org]



from xda-developers http://ift.tt/2d0MOvm
via IFTTT

MediaTek LinkIt Smart 7688 & 7688 Duo Development Challenge

With many companies investing heavily in the Internet of Things, there is no reason developers shouldn't join in with the fun as well. With that in mind, we have teamed up with MediaTek to host a development challenge!

Using the MediaTek LinkIt™  Smart 7688 and 7688 Duo HDKs and open source platform, developers can add Wi-Fi to any device. This challenge is your opportunity to pitch your proposal for the best IoT device and bring it to life with a MediaTek LinkIt™  Smart 7688 or 7688 Duo of your own. We'll be awarding these HDKs to the 15 best device proposals in order to give even first time developers a chance to work with the platform. Developers will then have 5 weeks to implement their ideas at the end of which the best as chosen by xda-developers and MediaTek will receive a Grove Starter Kit for LinkIt 7688 Duo worth $49. So without further ado here's how the competition is going to go:

Round 1 (September 19 – October 3, 2016):

1. Developers around the world are invited to submit a proposal for an device they want to build utilizing MediaTek's LinkIt™  Smart 7688 or 7688 Duo before October 3, 2016 (5:00pm Pacific Time).
2. A panel of judges from both XDA and MediaTek will select 15 Finalists, based on the proposal's innovation, ingenuity and originality.
3. The 15 Finalists will each receive one of either the MediaTek LinkIt™  Smart 7688 or 7688 Duo to develop their devices with.

Round 2 (October 3 – December 7, 2016):

1. Finalists have 5 weeks to develop their devices and submit them before December 7, 2016 (5:00pm Pacific Time) for Grand Prize consideration.
2. A panel of judges from both XDA and MediaTek will select 1 Grand Prize winner.
3. The winner will receive a Grove Hardware Kit.

The Grand prize award winner will be announced on December 14, 2016.


To enter the competition all you have to do is fill out the form at the bottom of the page, but to help you get started you can find a playlist with some great tutorials below.

MediaTek LinkIt™  Smart 7688 Duo: Documentation
MediaTek LinkIt™  Smart 7688: Documentation
MediaTek on Github

Loading…



from xda-developers http://ift.tt/2ckSvm9
via IFTTT

Moto M Rumored to Launch with Microsoft Bloatware Pre-Installed

It was just last month when we learned about a cross-licensing patent deal between Microsoft and Lenovo. Microsoft has been making deals with multiple Android OEMs as a way to get some of their core applications pre-loaded onto smartphones and tablets. The deal with Lenovo is just one of their latest, and it promised the same thing. So instead of Lenovo having to pay to license some of Microsoft's patents, they get to use them for free as long as they pre-install certain applications on some of their devices.

Since that agreement was announced, we haven't really heard much about which devices would get these Microsoft applications pre-installed. However, a new rumor claims to give us insight about one of these devices, and it looks like it will be a smartphone from Motorola. If true, we could see the upcoming Moto M launched with a handful of Microsoft's applications installed on it right out of the box.

This Moto M smartphone has been reported on for a few weeks now. We saw the XT1662 variant show up in some photos on China's TENAA website last month, and various specs have been outed in a few rumors this month as well. A GFXBench database entry claims the device will have a 4.6″ 1080p display with 3GB of RAM and a 16MP rear camera paired with an 8MP front camera. However, the TENAA website lists the Moto M with a 5.5″ display and a 3,000mAh capacity battery.

Motorola Moto M

TechDroider says their sources are telling them that the Moto M will launch with 4GB of RAM (as shown in a couple of photographs), along with 32GB of internal storage. They believe the XT1663 variant, which is the international model, will come with Microsoft Office, OneDrive and Skype applications pre-installed as part of this cross-license patent agreement.

Source: TechDroider



from xda-developers http://ift.tt/2dtMQYs
via IFTTT

The Android Cast: Episode 20 – “Allo From The Other Side”

This week on The Android Cast:
——
– The crew discusses their experiences with Google Allo. Being our first look into Google Assistant, we discuss our reactions and look into the implications for the future.
– We then discuss Google's upcoming October 4th event unveiling their new Pixel Phones, Google Home, and other devices.
– Finally we wrap up on a discussion on our experiences going through Samsung's Galaxy Note 7 recall process..

——


The Android Cast will bring you the best news each week from the perspective of the XDA team. Each week you can find our latest episode here, on Stitcher, on Google Play Music Podcasts, on TuneIn, on iTunes, on Youtube and on your favorite podcast app through the RSS feed: http://ift.tt/2cxz4n5.

Audio Version!

 

Video Version!

 

Today's cast includes:

Mario Serrafero: Twitter
Corey Feiock: Twitter
Eric Hulse: Twitter

Check Out XDA on Social Media. Twitter, Facebook and Google+



from xda-developers http://ift.tt/2d3B3SC
via IFTTT

Motorola to Launch the Moto Z Series in India Next Month

When Motorola and Lenovo first announced the Moto Z and Moto Z Force, we were told the Force Droid variant would be a Verizon Wireless exclusive. This is still the case, but we did recently see an unlocked version of the Moto Z go up for pre-order in the United Kingdom last month and this month in the United States. This device still carriers its hefty $700 price tag for those in the US but thankfully there is an alternative for those who don't really need a flagship smartphone right now.

The Moto Z Play is an upper mid-range smartphone with a $450 pre-order price right now in the United States. It comes with a 5.5″ 1080p Super AMOLED display, Qualcomm Snapdragon 625 SoC, 3GB of RAM, 32GB of storage, microSD card slot with a 16MP rear camera and a 5MP front-facing camera. It's going to be hard for the Moto Z Play to compete with the likes of the Axon 7 and the OnePlus 3, but it is an option for those who prefer a Motorola smartphone.

Until now, Motorola had not announced a launch date for any of these devices within the country of India. Over the weekend though, the Moto India Twitter account confirmed at least one of these Moto Z devices would be launching next week. The teaser video doesn't goes into specifics about whether they will be launching the Moto Z, Moto Z Play, or both of them on October 4th. We just get a video with a big Z on it as they highlight the JBL Moto Mod that will enhance the audio capabilities of the device.

We will find out exactly which device(s) Motorola will be launching in India, and we'll also find out how much they will be charging for them. The Moto Z Play has been getting a lot of praise for its impressive battery life so far, so this could be a major selling point for the device.

Source: @Moto_IND



from xda-developers http://ift.tt/2dm641G
via IFTTT

How to Access the Hidden Hardware Diagnostic Tools on your Android Phone

If you're buying a phone secondhand, the first thing you should absolutely do is complete a thorough check of the device's hardware to ensure that everything is working as intended. So you pop in your SIM card, head on over to the Play Store, and download one of the many hardware diagnostic testing apps available for free. But there's no need to install any third-party app, for within most Android smartphones you'll find a hidden hardware diagnostic app.

After all, when you send a phone into the manufacturer, the technicians need a tool to properly assess the state of your phone in order to focus on what parts to refurbish. That's why you'll notice some odd system APKs pre-installed on your phone that on first glance seem to be some kind of inaccessible bloatware, but if you figure out how to access them they will provide you a set of diagnostic tests to run on your phone.

Disclaimer: this is just a fun discovery we're going to share, because in the real world it's far easier to just install a third-party app rather than dig around your phone for a hidden app.


huawei-mmitestHuawei's HwMMITest

 

Do you own a Huawei device, such as the Huawei Mate 8, Huawei Mate S, Huawei P9, or even the Nexus 6P? If so, then when you navigate to Settings –> Apps and enable the option to show all system apps, you'll find an app called HwMMITest. This is an app that is pre-installed on all Huawei devices, and is normally inaccessible from any application launcher.

nexus-6p-bootloader-mmitestIn order to access this secret diagnostic app, you will need to first reboot into the bootloader. How this is done differs between various Huawei devices, but on the Nexus 6P all you need to do is hold Vol Down + Power while the device is shut down. Then when you are within the bootloader menu,  navigate to the Factory option by scrolling through the options with your volume keys and then confirm the option by pressing the power button to trigger the boot process. Alternatively, you can try typing fastboot oem enable-hw-factory through a command prompt.

Once you boot back into Android, you will see two persistent notifications in your notification bar. One is for a secret menu called Project Menu (the purpose of which I'm unsure of) and the second is called MMI Test which when clicked will begin a guided test of the device's hardware, provided that your current battery level is between 55% and 80%.

mmitest-notification

What exactly does the app test? Everything. Here's just a short list:

  • LCD brightness/color test/dead pixel test
  • Touch Screen/digitizer test
  • Front/Back cameras
  • Compass/GPS/Gravity sensor
  • Light sensor
  • Vibration motor
  • Speaker test
  • Microphone/headset test
  • Bluetooth/WiFi/SIM card test
  • etc.
screenshot_20160801-203011 screenshot_20160801-203056 screenshot_20160801-203132 screenshot_20160801-203202 screenshot_20160801-203257 screenshot_20160801-203422 screenshot_20160801-203715 screenshot_20160801-203728

Though the above screenshots were taken from a Nexus 6P, they are only indicative of the hidden diagnostic tool on Huawei devices. There are different steps needed to access the diagnostic tool on devices from other manufacturers. For instance, on the Moto X Pure you can directly access the tool without having to boot into fastboot by launching its hidden activity. Try finding out how to access the tool on your own device, and let us know if you could find it in the comments below!



from xda-developers http://ift.tt/2dm3Yz4
via IFTTT

Signs of Life For Android Pay’s Global Rollout

With rumors swirling about Android Pay's expansion into more countries, Google has started taking steps towards preparing for those launches. Unfortunately, most of the preparations happen behind closed doors where we can't see them (negotiating with banks, helping the banks put forth Requests For Proposals to find implementers, navigating each country's legal framework, etc.), but some are publicly visible.

Android Pay Help Page LanguagesOne such public facing step is the localization of help pages for each country, and Google just added a slew of them. Localization often isn't strictly required (although some countries like Canada can get very prescriptive about requiring support for all official languages), however companies often won't launch a product without it. Localized help pages can be a very small thing, but having the spelling that you are used to on them (not to mention them being in your language) can make a huge difference for how comfortable you are using them, and for customer satisfaction.

While Android Pay has already launched in the United States, the United Kingdom, Singapore, and Australia (and has the appropriate localizations for each of them), both Canada (English and French) and Ireland have been there for a couple months now without any public action being taken on them. That would indicate that talks are in progress for those countries, but are coming along slowly (for Canada in particular, Apple Pay ran into some trouble launching, and Samsung Pay is also seeing some delays compared to when they originally hoped to launch).

The interesting new additions are Spanish, Brazilian Portuguese, Korean, Polish, and Traditional Chinese. This would indicate that Google may be hoping to reach Hong Kong before Samsung pay launches there later this year, and Spain and Brazil are likely also on Google's agenda for the near future (both of which already have Samsung Pay).

The two countries that stand out the most however are South Korea and Poland.

South Korea is Samsung's stronghold. Samsung Pay launched there in August 2015, and Samsung holds around half the smartphone market all by themselves. It'll be interesting to see how Google approaches the South Korean market. Will they focus more on LG (who are supposedly working on their payment solution) and other phone manufacturers? Or will they try to take Samsung head-on?

None of the major smartphone payment solutions have targeted Poland yet, however their high adoption of EMV tap to pay terminals could result in them being a fantastic choice for Android Pay's expansion. We'll have to wait and see if any real announcement about Poland comes forth, but it could be a fantastic first step into continental Europe.

Where do you think will see Android Pay first? What countries should Google target that they haven't yet? Sound off below!

Source: Reddit



from xda-developers http://ift.tt/2d0e3pY
via IFTTT