Translate

30 Ekim 2015 Cuma

Alphabet divisions are free to return to China, implies Brin

alphabetGoogle has not had the best relationship with China, having argued over censorship and been on the receiving end of hacking cases. As a result, the company has been absent from China since 2010. However, restructuring under the new Alphabet umbrella could mean that divisions are free to return to the country, should they choose to do so.
Speaking on Wednesday, Google co-founder Sergey Brin stated that each Alphabet business is free to make its own decisions about which countries they operate in, which opens the door to divisions going back to work in China or any other region of their choice. Countries, timings or divisions were not specifically mentioned, but the statement came at an event for Google’sProject Loon balloon-based internet service.
“Each Alphabet business can make its own decisions on which countries to operate in,” – Google co-founder Sergey Brin
Brin mentioned that China is one of the countries that is interested in expanding its internet coverage by using Loon technology, which could bring web access to the country’s large rural population. Last month, sources also suggested that Google may be looking at coming back to the Chinese mobile market with a specific Chinese version of the Google Play Store, which may comply with some of the country’s stricter rules on censorship.
Google has been more open about its interests in China since appointing Sundar Pichai as CEO. The reorganization under Alphabet also means that separate projects from advertising, Search, YouTube, and upcoming ideas from Nest of the X Lab now have more autonomy over how they conduct their operations.
Given the fast growth in Chinese smartphone and consumer electronics industries, and many more consumers coming online, Google has good reasons to get back into China.

Over a dozen Google Play apps discounted for Halloween, mostly games

Halloween Android appsHalloween is but a day away, and to celebrate the season several developers are slashing down their apps on Google Play to as low as $.49, with the majority hovering around the $.99 range. Considering that some of these apps price as high as around $7 normally – there’s some great deals here.
Most of these are games not apps, though there are a few fitness apps thrown in, many of which have a game-like twist, such as Zombies Run.
In addition to the games available through this sale, Amazon also has its own offer for those interested. And for those that aren’t necessarily looking for just sale items, be sure to check out Joe’s list of best horror games, and his list of best apps with Halloween in mind. 
What do you think of the apps listed above, any of them you’d recommend? Share your thoughts in the comments.

Apple publishes new Android app for managing Beats Pill+ speakers

beats pillApple has just released their second app for the Google Play Store, and this one allows users to manage their Beats Pill+ speaker. This app follows up their less-than-diplomatic premiereMove to iOS, a release that saw some pretty hilarious responses.
This Beats Pill+ app is far more functional and less passive aggressive than Move to iOS, and it sports features that allow users to synchronize multiple speakers to achieve greater depth of sound and stereo effects, as well as the ability to let more than one user control music playing from a single speaker.
This companion app promises to give you and your friends greater control over your music. It was developed exclusively for the Beats Pill+ speaker, and it uses Bluetooth pairing to manage and control the device from your phone or tablet.
beats-pill-plus
The Beats Pill+ is a small speaker designed by Apple that aims to provide rich, powerful sound in a tiny, sleek package. Advertised as sounding “bigger than its size,” the Beats Pill+ uses a “stereo active 2-way crossover system” that creates an “optimized sound field for dynamic range and clarity across all genres of music.” The device can also function as a speakerphone when connected with a mobile device and has a 12-hour battery life.
Although it’s not the long-awaited Apple Music, Beats Pill+ actually provides Android users who are not interested in swapping operating systems some utility. You can find it in the Google Play Store.

Google tests teen waters with social media app Who’s Down

whosdownGoogle is dipping their toes into teen social media with a new app called Who’s Down. The app serves as a way to broadcast one’s availability and interest so as to bring together equally free and similarly inclined people. The app is currently invite-only, and the sign-up form for Who’s Down asks only for your email address and school, meaning the app is specifically targeting a younger demographic.
Google seems tentative to re-enter the social media scene after their previous experience withGoogle+. Although the Facebook alternative has attracted a number of hardcore fans who were more than ready to leave their Likes behind in favor of +1’s, the social media platform has failed to garner the same level of mass-market appeal enjoyed by its rival and has arguably become more of a niche platform (though one many of us love). Of course, Who’s Down likely isn’t seen by Google as a replacement for Google+, just a way target a different audience. 
Who’s Down looks to be a new angle on the increasingly valuable instant messaging environment, an area of interest where Google has been consistently trailing behind services like Facebook MessengeriMessage, and WhatsApp. Although Google Hangouts is a very effective messaging platform, it hasn’t really ever snared the massive younger messaging audience that it’s low-key name seems to target.
Who’s Down is currently available in the Google Play Store. You need an invitation to use it, but if you don’t have one, you can request one from the app upon signing up.

20 Ekim 2015 Salı

Layout In Android Studio

Prerequisite
If you not understand this lecture Layout in android studio .you should also read my previous lectures.  Project creation using android studio and Open new Activity on button click After read these lecture you will also  able to create layout of your app.
Overview
Layout are elements and panels that control the arrangements size dimensions of view that we are created.one benefit to use layout is that you can organized elements inside the layout.This means that the overall layout automatically resides or auto-sizes according to the window size. This benefits of use layout, such as  you build a user interface (UI) of any application using layout.
Introduction
In this lecture well we describe how to works multiple layouts in android. First we will describe android Layout description.what is layout.After that we will describes Relative layout and Linear Layout.And also describe scenario which option is better to create  Layouts.  After Reading this lecture you will understand Relative and Linear Layout and I hope you  will create layout of your activity and application.Android Layout Description
Layout represented the visual structure of any application.Using layout you can design any activity and     application.Android provides facility to design application according to your choice using layout.if you design any app then you need to know android layouts. Layout is also called view group.All the Buttons text field, text view…etc are used inside the layout.Layouts contained inside the res folder.Android activities are used layouts to show output on the screen. All the application design using layout. Most important  layouts in android.
Linear Layout
  • Relative Layout
First will discussing about  simple interface in androidwe are going to learn  how to create a simple interface in android studio. we will create a simple interface similar to this one. for more detail about  simple interfaceAlt Tag simple interface This layout contains two interface first one is a edit text second is button third task that we perform is the view of component are horizontal lines .Edit text on the left side and button on the right side and also include a hint message which will automatically disappears when user enter a message.Now you will create a new project in android studio.Every project contain two file first is java class file and second is layout XML file.Your first step is open a layout XML file and change relative layout to linear layout.this is a Relative Layout  show in below pic.Alt Tag android relative layoutRelative layout change into Linear layout show in below picAlt Tag android linear layoutAfter change into linear layout you will remove all the padding component in linear layout and set the height and width match parent . Match parent means height and width similar to the parent and also include a property in layout XML file that is (android orientation horizontal ). this property lines the view of  component…..etc edit text and button. First thing we add a edit text and set height and width wrap content after complete this you will add hint message and also include a  hint message into string XML file.So you will find out the value folder expand this value folder and click on string XML file.Alt Tag string .xml imageAdd string resource in string .XML file.  Write this code into string XML file.

In this example we are going to create a simple UI that includes only (Edit text) and (Button)with Different attributes  And Write the following code in layout .XML file:
Now  you open the Graphical layout editor to preview the User Interface that you created.
setp1

Linear layout in android

Linear layout is one of the most important fundamental in android that provides facilities to developer to create there UI. Linear layout  is the layout that aligns all layout in one direction horizontal and vertical. Orientation is available in linear layout.
  1. Horizontal         Alt Tag  android Relative image
  2. vertical
android liner layout image
Note   Default orientation is horizontal if you use linear layout and your UI elements are not show make sure your orientation is  vertical,So you will set orientation vertical.
We are going to learn  how to create a simple  linear layout. you can used linear layout and set the view component vertical and horizontal.So we create linear layout similar to this one that are show in below pis.for more detail about click on simple linear layout.

Alt Tag  android linear layout
This layout contain four view component three edit text and a button these view component are vertical line and each row contain only one component . In this lecture I well show you how to create a layout similar to this one that are show in above pic. So open android studio and create  a  new project in android studio.Every project contain two file first is java class file and second is layout XML file.First of all we will  add string resource  So,going to value folder and open String .XML file.
Alt Tag add value in string resource
Add string resource in string .XML file .Write this code into string XML file.
After this Next step going to open a layout.XML file and change Relative layout into Linear layout .
Alt Tag android linear layout
After this step we will add three edit text and button in layout XML file .And set the height and width match parent . Match parent means height and width similar to the parent .For any view we need to specify its height and width. If not specified, it will cause error. In the below declaration we have made both width and height attribute . we can  use width and height match parents). This means, we are telling the android system that this layout’s width and height is same as that of its parent. As use this property size of activity same as compare to parent activity. and if you will used wrap_content then scenario will change and width and height is equal to text that are enter we need to include also a  property (android orientation vertical) Because view component are vertical.In this example we are going to create a simple UI that includes only (Edit text) and (Button)with Different attributes
 And Write the following code in layout .XML file for simple linear layout:
Layout Weight property
In linear layout we will use property android:layout weight .Assign  weight to each children. for example if you will use two button and one text field then you will assign same weight to each element.if you will assign weight 1 of first two  elements and last one you will not assign weight .then last text field will not show only first two property will show in linear layout .that’s why you will assign equal weight to each elements.
Note  if you set all children of linear layout vertically will equal space then you will set android:height=”0dp” and width also “0dp”for each children then all the element will set equal space .if you set all children of linear layout horizontally will equal space then you will set  width “1dp”  for each  elements then all the element will set equal space.
Now  you open the Graphical layout editor to preview the User Interface that you created.
Alt Tag  output linear layout

Relative Layout

Relative Layout is the basic layout available to design layouts in android.that are used to define child at related position Using Relative Layout you can set position  view to be toLeftOftoRightOf,below or above its siblings.if you design very complex layout in android then you will use Relative layout.Because you can replace a single Relative layout instead of several linear layout.A Relative Layout on the other hand, allows for a more random arrangement of child elements.This allows you to have a more flexible design layout approach.
The following figure should give you an understanding Relative Layout

Alt Tag relative image
or
Alt tag android second image  relative

So  we  will describe relative layout in android.I will explain a example that are describe Relative layout And I hope you will get idea how can use  relative layout in android. if you design a application and layout is  more complex then you will use relative layout.First of  all you will create a new layout . how can create a new layout detail is provides in steps.
Step1=New Layout->Right click ->on layout folder select option ->New ->and click ->Layout resource file->then a new window will appear.
Step2=step1->Writename->
Step3=step1=step2->ChangeRootElement->Relative _Layout->Ok
So a Relative _layout will create in below pic.
Alt Tag android relative layout
After create this layout your first set is set height and width match parent of this layout and add string resource of two buttons and three edit text in string .XML file.So  we open a string resource folder in values folder add string resource in string .XML file show in below pic.
Here i am going to create two buttons and set height and width match . After this  we create a two Edit text and one autocomplete textview also Include a hint message to  Edit text field. we need to assign id to to each elements.In this example we are going to create a simple UI that includes only (Edit text) and (Button)with Different attributes.
Now  you open the Graphical layout editor to preview the User Interface that you created.
Alt Tag  android Relaive Layout

Compare between Linear and relative layout

Linear layout is one of the most important fundamental in android that provides facilities to developer to create there UI. Linear layout  is the layout that aligns all layout in one direction horizontal and vertical. Orientation is available in linear layout. vertical and horizontal. It is used for situation  when children are rendered from left to right and top to bottom.
Relative Layout is the basic layout available to design layouts in android.that are used to define child at related position Using Relative Layout you can set position of view to be toLeftOf,toRightOfbelow or above its siblings .A Relative Layout on the other hand, allows for a more random arrangement of child elements.This allows you to have a more flexible design layout approach.
Thank you  for reading this lecture Hope you got the idea.