Former Samsung Bixby development lead joins Google

Samsung

Injong Rhee, a Samsung government that performed a key function within the development of Samsung Bixby, Samsung Pay, and Samsung Knox, is becoming a member of Google. The unconfirmed record comes from ZDNet, which says that Rhee will sign up for Google as an entrepreneur-in-residence, specializing in “IoT projects.”

An entrepreneur-in-residence is a brief and slightly fluid roll, that usually draws the ones wanting to begin a brand new industry. It can, as an example, permit the individual to realize some type of relative enjoy at an organization, whilst letting the corporate get first-look (and doubtlessly first funding alternative) in what the individual is making plans. That’s only one chance, alternatively.

Rhee left Samsung in December just a month after transferring from head of Bixby to a job as Samsung’s Chief Technology Officer. Reports on the time mentioned Rhee had left for private causes.

This isn’t the primary worker Google has taken on from any other Android producer in recent years—the corporate finished the purchase of 1000’s of HTC body of workers participants simply two weeks in the past. Google has been focusing extra at the marketplace up to now couple of years and now has audio system, headphones, smartphones and VR headsets below its belt. With this type of funding in skill, I’d be expecting larger, higher and extra numerous merchandise from Samsung within the close to long run.

Galaxy S7, A5 and Tab S3 Android Oreo update reportedly in development

After finishing its Android eight.zero Oreo beta for the Galaxy S8, Samsung will now be turning its consideration to updating different units—and we would possibly know which of them. While the Galaxy Note eight will without a doubt be Samsung’s new precedence, after that, experiences recommend it is going to paintings on updating the Galaxy S7 and S7 Edge, Galaxy A5 and A3 (2017), and the Galaxy Tab S3.

The information arrives by means of Samsung fansites SamMobile and GalaxyMembership, who’ve collectively showed the plans. However, we haven’t any clue as to when any of those rollouts will start. Samsung is but to deploy the general Oreo device to the Galaxy S8—regardless that it must be taking place in the approaching weeks—and we haven’t heard concerning the Galaxy Note eight update since its take a look at firmware was once leaked in December.

While we may well be looking ahead to some months to look all of those updates arrive, no less than we’ve got some thought of the place Samsung is headed subsequent with its update time table.

The web pages additionally touched at the standing of the Galaxy S6 Oreo update, mentioning that they’ve no knowledge to signify it’s in the works. Giving that the S6 arrived in April 2015, working Android five.zero.2 Lollipop, it will be atypical if Samsung did improve it to Oreo; producers generally tend to ship two primary Android updates to their flagships, and the S6 has already won the ones.

Top tips to make learning Android development easier

Learning to program isn’t simple, and also you shouldn’t let any person else inform you another way! Sure, titles like “Learn to Program in 5 Minutes” would possibly sound interesting (I’m certain I’ve been in charge of this in the future), nevertheless it’s simply no longer that simple.

It’s a lot easier to construct an app through following step by step directions. You can practice certainly one of my 7 minute movies as an example to make a fundamental recreation or quiz (so don’t be get rid of!). That’s very other from greedy all the fine details of the language in query, nevertheless it’s an effective way to get began.

If you wish to have to be told to program in a extra whole sense, then you definately’re going to want to wrap your head round some complicated and summary ideas: object orientated programming, strategies, categories, variables, float keep watch over. The record is going on. Unfortunately, learning to expand for Android is if truth be told one of the most trickier puts to get started. Building Android apps calls for no longer best an figuring out of Java (in itself a tricky language), but in addition mission construction, how the Android SDK works, XML, and extra.

Making an app will also be slightly simple… But that is very other from greedy all the fine details of the language in query.

This unquestionably has led many of us to surrender sooner than they’ve in reality given it a right kind shot, and that’s an enormous disgrace. Once you’ve if truth be told constructed an app, Android is likely one of the easiest platforms for distributing your creations to an enormous target audience.

With that during thoughts, listed below are some best tips to allow you to get began with out leaving a head-shaped dent to your wall. Walls are pricey.

Get a excellent e-book and use it proper

This is apparent, however the most simple manner to be told to make Android apps is solely to get a excellent e-book and provides it a learn. Don’t concern if a few of it is going over your head. Don’t concern about getting slowed down within the later chapters whenever you’ve misplaced the thread. Instead, learn throughout the first few chapters to get conversant in the elemental syntax and ideas. Start considering how chances are you’ll use a few of this in a easy mission, and that can get you able for the next move.

Start with a very simple mission

I realized to program through studying a e-book on a circle of relatives vacation to Greece and making quite a lot of notes in a pad of paper whilst my oldsters chatted at the balcony. That was once BASIC and BASIC is slightly simple.

Trying to be told Android development this fashion will best lead to complications and numerous pens’ price of ink. So as an alternative of attempting to “learn Android,” take a look at to construct a easy first app. This will contextualize the whole lot you’re learning and allow you to to see no longer best the way it all works, however why it’s helpful. It may even stay you motivated and assist construction your learning.

You won’t ever be told the whole lot there’s to find out about Android development. It’s converting always. You can find out how to make X app or Y app, and the abilities you select up alongside the way in which will make the following mission even easier. This is just about what you’ll do each time you method a brand new mission, ceaselessly.

It’s additionally if truth be told the method that creator Josh Kaufman recommends in his e-book for learning anything else briefly, The First 20 Hours. It’s a excellent learn.

Note: “Easy” is the operative phrase right here! Friends who inform me they would like to make an app virtually at all times have loopy ambitions that complex coders would combat with. Build up to your dream app however get started with a calculator, a quiz, a math recreation, or a one thing else small.

Ask a chum

If you’re lucky sufficient to have a chum who is aware of how to code, then ask them to display you the ropes. They’ll allow you to get arrange with the fitting device and be in a position to solution any questions you’ve gotten. An afternoon with any person who understands Android development and is beneficiant with their time is price numerous hours of studying and Googling.

That mentioned…

Use Google and don’t reinvent the wheel

Google is your pal when it comes to development tasks and learning ideas. Not best that, nevertheless it’s additionally a great spot for locating libraries or even snippets of code written through others within the Android development neighborhood.

You want to make certain to stay doing this. When you’re new, you’ll be able to simply spend hours considering of ways to remedy an issue when if truth be told, it will had been solved merely with an present remark or library! Save your self the headache through merely Googling what you wish to have to do. Just make certain  you’ve gotten permission to any code and to come with credit score and attribution the place suitable.

You too can Google error messages whilst attempting to work out why your apps received’t paintings

You too can Google error messages whilst attempting to work out why your apps received’t paintings!

Tip: One of the demanding situations for learning coding typically and Android particularly, is it adjustments always. That way you’ll in finding quite a few out-dated assets, which can best confuse you. To repair that during Google, click on ‘Tools”after which Any Time > Past Year. This must assist make sure that all of the data you in finding up-to-date.

Reverse engineer

Borrowing code or copying out easy methods is a great alternative to be told. Try studying thru some code and figuring out the way it works. Tweak strains to see the way it alters the capability and suitable any parts you assume may well be used somewhere else.

Image credit score: Iron Man

This is opposite engineering: taking one thing aside to see the way it works. It’s an effective way to be told anything else.

Get into excellent conduct

Learning to program is something. Learning to do it smartly is every other. Adopting excellent conduct early on will make your code clearer and easier to perceive, so listen to such things as indentation and naming conventions. Try to search for probably the most chic techniques to accomplish your objectives and stay issues properly organized in strategies and categories. This turns into extra necessary as your code turns into extra complicated, it’s additionally essential whilst you’re simply beginning out.

undertsand how to use the debugger sooner than you get too a long way into your coding adventure

Make certain to spend time studying the fundamentals to lay the principles to your long term learning. If you know how to use the debugger sooner than you get too a long way into your coding adventure, it’ll allow you to work out what goes improper when your code received’t run.

Watch movies

This is in part an issue of private desire, however I feel following a video instructional is considerably easier than learning the similar factor in a e-book. This manner, you’ll be able to actually practice together with exactly what the trainer is doing.

Certain ideas are easier to be told from books and internet sites, however placing the ones issues into follow is easier when following together with a video. Hmm, I ponder the place you’ll be able to discover a ton of significant instructional movies all about Android development…

Better but could be to discover a structured on-line direction that integrated movies. Stay tuned.

Maybe don’t get started with Android

I say “maybe” as a result of this received’t be the case for everybody. If you’re in reality keen to get an app up and operating, chances are you’ll no longer need to spend time with a fully other programming language. Likewise some other folks might in finding beginning with a special programming language if truth be told simply confuses them, because it’ll upload extra syntax to take into accout. It all will depend on your taste of learning.

Python is a straightforward creation into object orientated programming.

For me individually, Android was once an combat. I were given through as a result of I already knew BASIC (one of the readable and beginner-friendly languages) nevertheless it was once best in reality once I’d gotten conversant in Python and C# that I in reality began to “get” Java and Android. BASIC is superb for learning ideas like variables and conditional statements. Python is a straightforward creation to object orientated programming. C# has syntax equivalent to Java. From there it’s only a topic of fixing a couple of statements and methodologies to make the transition.

This received’t be proper for everybody. At the very least, I might extremely suggest you get started out through learning Java with out the added complication of Android. BlueJ is a brilliant little instrument for writing and trying out brief Java scripts (we name this an IDE). It will allow you to snatch the fundamentals sooner than you get started being concerned about XML, Android variations, permissions, and assets.

Try every other IDE/language for Android development

Still caught? You may take a look at taking a special method totally. Android Studio + Java is the respectable manner to create Android apps, however there are many different choices available in the market too. One is to use the now-officially-supported Kotlin. If you’re creating a recreation, you’ll want to additionally pass with Unity. You may even take a look at the lesser-known Basic4Android. All those choices will make it a bit of easier to get began, however after all there are benefits to understanding the respectable “main” method to Android development.

Conclusion

Everyone approaches learning in numerous techniques. But an effective way to get started out for many of us might be:

  • Buy a excellent e-book on Android development and perform a little studying to snatch the fundamentals.
  • Start with a easy mission that motivates you.
  • Ask a chum to assist, if this is an choice
  • Google what you’ll be able to’t do and want to know.
  • Follow movies and tutorials on-line.

Optional:

  • If you combat, take a look at your hand at a easy language like BASIC or Python, or mess around with Java in BlueJ.
  • Try a special programming language/IDE like Kotlin or Unity.

Let me know what methods helped you get began within the feedback down under and excellent success. It would possibly appear difficult, however believe me, it’s price it!

An easy first project for Android development noobs: Math Game

You can examine Android development till you’re blue within the face, however ultimately you in truth must construct one thing if you wish to get a real grab on the way it all works.

In reality, I believe this can be a situation the place the easiest means to be told is by way of doing. Until you in truth dive into Android Studio and get started looking to construct a operating app, you received’t have any context for the guidelines you might be soaking up. You received’t see what it’s for, or the way it all works in combination.

the easiest means to be told is by way of doing

This publish will information you via an easy first Android Studio project. This will display you the entire items of the puzzle as they paintings in combination, and allow you to to in truth check one of the crucial principle you’ve picked up to this point. I’ll be running underneath the idea that you’ve got finished somewhat background studying on Java and Android, however I’ll nonetheless move over the entirety up to conceivable to lead you throughout the procedure. The project must be splendid for any individual new to Android development.

We might be construction a math sport. But that isn’t in reality what’s essential; you’ll simply as simply opposite engineer this to be anything!

Finding your means round

If you haven’t were given a duplicate of Android Studio, move forward and observe this publish for directions on methods to get it.

Once put in, get started a brand new project. Call it no matter you prefer, however ensure that to select “Empty Activity.” This signifies that the app “template” might be empty and devoid of buttons and menus which is able to another way get difficult for a novice. Leave all different choices as default.

Once that has loaded up, you’ll be offered along with your first project. Android Studio has a whole lot of home windows, which will also be lovely daunting whilst you’re beginning out. Don’t fear about them. Instead, merely center of attention on an important two: the window with the code at the proper and the only with the listing at the left.

The window at the proper is the place you enter and edit your code. The window at the left is the place you select which record it’s you need to edit. You too can open more than one recordsdata without delay after which flick between them the use of tabs alongside the highest of the primary window. Right now, you will have two recordsdata open: activity_main.xml and MajorActivity.java. The latter will probably be decided on and also you’ll be capable to see the fundamental code it incorporates.

This code is what we name “boilerplate code” — the default code Android Studio fills out for your behalf. This turns out to be useful code required for nearly all of initiatives, however you’ll forget about it for now.

These two recordsdata are open as a result of they’re an important recordsdata in any new project. An process is any stand on my own display screen in an utility — in some circumstances it’s going to include all the app. This is composed of 2 recordsdata: one to outline what it looks as if, referred to as an XML record, and one to outline the way it behaves, referred to as a java record.

The XML record tells Android the place to position the buttons, the pictures, and every other essential recordsdata. Meanwhile, the Java record defines how those buttons and pictures behave, like what occurs whilst you click on on a button.

You’ll in finding MajorActivity.java in: app > java > [package name of your app] > MajorActivity.

Because the XML record defines a structure, which is graphical in nature, this is a “resource” record. This then is going in: app > res > structure > activity_main.xml. File names can’t have areas and useful resource recordsdata can’t use higher case, which is why the 2 phrases are joined by means of an underscore.

Creating your perspectives

Click at the tab on the best that claims ‘activity_main.xml’ with a purpose to transfer to that record. Make positive you might have the Design tab decided on on the backside of the display screen moderately than the Text tab (which presentations the XML code).

This design view will let you drag and drop parts onto the display screen to set them out on the other hand you prefer. Most Android apps use “views,” that are the entire parts you might be almost certainly conversant in from the use of apps by yourself instrument, like buttons, photographs, and textual content containers. With the design view, we will be able to set those up in reality well and simply; simply in finding the component you need at the left (underneath Palette) after which drag and drop it onto the image of your app.

This design view will let you drag and drop parts onto the display screen to set them out on the other hand you prefer.

You have already got one “textView” in the midst of the display screen which says “HelloWorld.” We’re going to show that into our name. But we additionally need two extra textual contentViews beneath, to turn the 2 numbers we need to provide the consumer, in addition to an “editText” which might be used for them to enter their solution. Use the object in palette referred to as “Number” and this may increasingly confine the enter to numbers on-line.

Lastly, upload a button so they may be able to post their reaction and a last textual contentView to mention in the event that they were given it proper.

You will most likely that those parts could be a little cussed and every now and then refuse to head the place you need them. That’s as a result of we’re the use of one of those structure referred to as “Constrain Layout,” this means that all perspectives are situated relative to each other and the perimeters of the instrument. To transfer your perspectives round, you wish to have to snatch onto the brink of 1, drag it to a hard and fast level, and do the similar for the opposite 3 facets. Once you’ve finished that, you’ll then modify its place between the ones fastened issues.

You must finally end up with one thing that appears a little like this, nevertheless it’s as much as you ways you’d like to place your parts!

Naming and customizing perspectives

Select any of the perspectives and a window at the proper referred to as “attributes” must inform you a little about them.

Here you’ll alternate homes just like the identify of the view or the textual content it presentations. If you select “Hello World!” you’ll alternate this to turn the identify of your app by way of modifying the choice that claims “text.” Let’s alternate that to “Maths Game!.” The s is non-compulsory, I’m British.

Likewise, alternate the textual content at the Button so it says “Submit” and make the others clean.

Now make a selection the first clean textual contentView and alter the choice on the best of the Attributes that claims “ID” to “Number1.” This “ID” received’t be observed by way of the consumer, however moderately it’s used to spot our perspectives from throughout the Java code. If we need to write code to vary the conduct of a view, we want to inform Android which view we’re going to be converting! Call the following one “Number,” name the editText “Attempt,” name the button “Submit” and make contact with the textual content on the backside of the display screen “Answer.”

Finally, click on at the button once more and the place it says “onClick,” write “onSubmitClick.” An “onClick” is a work of code accomplished on every occasion a view will get clicked. This is in a different way for us to with ease consult with our perspectives.

Starting java

Your app is now very lovely nevertheless it doesn’t in reality do a lot as but. To treatment that, head again to the “MainActivity.java” record by way of opting for the tab alongside the highest.

With this web page open, you’ll now get started including code telling the ones buttons and textual contentViews methods to behave.

The first factor to do is alternate the 2 numbers so that they display random textual content. To do this, we want to find them by means of our code.

Remember we mentioned that “boilerplate” code used to be code Android Studio had crammed in for you. That contains the “onCreate” way, which is a bit of code that runs once an process is created. Methods are merely handy bundles of code, that are contained inside of curly brackets.

We can see in right here this line:

setContentView(R.structure.activity_main);

This is what tells Java that activity_main.xml is the place the structure is outlined. It additionally method we will be able to now reference our perspectives from that record by way of the use of the ID.

So, if we need to alternate the textual content of our Number1 view, then lets do the next:

Int value1 = 12;
TextView Number1 = in findingViewByIdentification(R.identity.Number1);
Number1.setText(“” + value1);

If you notice a crimson underline, you’ll want to “import a class.” This is principally telling Android Studio you need to make use of additional options, so simply click on at the offending textual content after which click on “Alt+Enter” as advised to briefly get admission to that function!

What took place here’s we’ve created a variable. This is a “label” that represents a price, on this case the label is value1 and it represents the entire quantity (integer) 12. It is an integer referred to as value1 and it is the same as 12.

We’re then finding the TextView by way of announcing that we need to create a digital TextView, which goes to constitute the TextView with the ID “Number1” from our structure record. Then we’re environment the textual content of that TextView to be no matter value1 represents. This is a TextView, referred to as Number1 and the supply is R.identity.Number1.

Then we will be able to get admission to a ‘feature’ of our TextView to mention “setText.”

The explanation why we are saying “” + value1 is that TextViews be expecting strings of characters, no longer numbers. By the use of the ones empty citation marks, we say ‘no text, plus the number’.

We can do the similar factor for Number2 in the similar means.

Adding interplay

You may well be questioning what that onSubmitClick used to be all about. This tells Android Studio we’re going so as to add some strains of code to pay attention for clicks on that button and we will be able to crew the ones in combination as one way referred to as “onSubmitClick.”

Anything in onCreate occurs when the app begins up and the rest in onSubmitClick occurs when the post button is clicked (as a result of we outlined the process within the design view)! Note although that we want to in finding our perspectives once more with a purpose to get admission to them right here.

Anything in onCreate occurs when the app begins up and the rest in onSubmitClick occurs when the post button is clicked

What occurs when any individual clicks in this button?

First, we need to take a look at what quantity they have got entered into the EditText. Then, if that quantity is the same as value1 + value2, we will be able to inform them they were given it right kind by way of updating the Answer TextView. If they were given it improper, then we will be able to replace the view to replicate this whilst appearing what it must were.

This method finding our perspectives, changing integers (numbers) into strings (phrases) and again once more, and likewise the use of an “If” remark with a purpose to take a look at if the price supplied is right kind. The complete factor looks as if this:

public void onSubmitClick (View view)

This received’t run simply but although, as a result of we will be able to’t get admission to value1 or value2 – they’re in a special way. To repair this downside, pop them out of doors the onCreateMethod and now they’ll be to be had to reference any place on your code. We sadly can’t do the similar factor for our buttons and textual content perspectives as a result of we don’t inform Android the place to seek out the perspectives till the onCreate executes.

We’re getting the TextView and the EditText as we’ve finished earlier than. Then we’re growing an integer referred to as consumerAnswer which makes use of “getText” to retrieve the textual content from Attempt and parseInt with a purpose to flip the ones characters into a bunch.

An if remark works similar to in Excel. As lengthy because the common sense within the brackets is correct, then the code within the curly brackets might be accomplished. So so long as consumerAnswer is equal to value1 + value2 (we used two equals indicators right here as a result of Java), then we set the Answer to ‘”Correct!”

Otherwise, the brackets that observe the phrase “else” will play out.

Don’t fear about all this if it kind of feels difficult — you’ll both opposite engineer this code or simply in finding the related instructions and what all of them do with somewhat Googling. Reading via it’s going to will let you perceive the common sense although.

The complete code must now seem like this:

public magnificence MajorActivity extends AppCompatActivity 


Try and run it by way of plugging your Android instrument into your laptop. Make positive that you’ve got  USB debugging became on earlier than hitting play. You too can check it on an emulator you probably have set one up.

Final touches

If you probably did the entirety proper, then you definitely must now have an overly simple arithmetic sport. When I say elementary, I’m no longer kidding— there’s just one query!

We can alternate that if we would like. It would handiest take clearing the textual content every time the consumer clicked ‘Submit’ and converting the numbers to random values. I’m going to go away you with the code to try this. You must be capable to determine it out from there!

Tip: The code has been added to a brand new way of our personal introduction, which is able to then be referred to any place within the code just by referencing it by way of identify.

public magnificence MajorActivity extends AppCompatActivity 

There it’s! Give it a move and tell us what you consider this first app project within the feedback down beneath. Good good fortune along with your coding!