A Mind-BloWing Idea To MaKe MONEY via WEBsites!

What is ‘Google AdSense’?

Google AdSense is an advertising placement service by Google. The program is designed for website publishers who want to display targeted text, video or image advertisements on website pages and earn money when site visitors view or click the ads.
The advertisements are controlled and managed by Google and Web publishers simply need to create a free AdSense account and copy and paste provided code to display the ads. Revenue using AdSense is generated on a per-click or per-impression basis. It is free to become a verified website publisher in the Google AdSense program.

How does AdSense works?

Google AdSense provides a way for website owners to earn money from their online content. AdSense works by matching text and display ads to your site based on your content and visitors. The ads are created and paid for by advertisers who want to promote their products. Since these advertisers pay different prices for different ads the amount you earn will vary.
Here’s how AdSense works in three steps:

1.You make your ad spaces available


You make your ad spaces availableYou make your website ad spaces available by pasting ad code on your site, and choose where you want the ads to appear.

2.The highest paying ads appear on your site


Advertisers bid to show in your ad spaces in a real-time auction. The highest paying ad will show on your site.








3.You get paid

We handle the process of billing all advertisers and networks for the ads on your site, to make sure you receive your payments.









Learn Digital Marketing! 

Switcheroo

I had a typical first-world problem in an affluent society: My wife asked me what I wanted for Christmas and I didn’t have a good answer. We were in the middle of a large electronics store and had just bought an expensive digital camera as my present for her, so she felt she needed to reciprocate. After some thinking and looking around, we settled on a Nintendo Switch for me, in a bundle with Super Mario Odyssey. And of course also bought Zelda, and a few other games. Normally I wouldn’t have bought a console for a few good games, but we are spending Christmas with family, and so the console wouldn’t just be for me, but also to keep the kids busy.

Being game language literate I immediately spotted a potential problem: The bundle doesn’t actually contain the game Super Mario Odyssey. It contains a code to download it. Whatever purists might think of it, you don’t want to unpack game stuff on Christmas and find it isn’t ready to play immediately with kids around. So I unpacked my Christmas present already, to set it up (not to play), charge the batteries, and then pack it again to be ready for the event. That turned out to be a good plan, as even on my ultra-fast VDSL the game needed 37 minutes to download, and over Christmas I will have much lower internet speed.

As this was a spontaneous buy, I hadn’t read up on the Switch. I’ve heard that it was usable both as a console connected to a TV and handheld, but hadn’t pondered that feature any further. It was on unpacking that the truth dawned on me: The Switch isn’t actually a game console, it is a tablet computer. A tablet computer with weird controllers, yes, but at its core a tablet computer. It turned out that for example setting it up and entering text like WiFi passwords, using the touch screen keyboard is far better than trying to type with the controllers.

On the other hand for a tablet computer the Switch has a lousy battery life (not tried myself, just read about it), and rather small screen. I imagine I will end up using it in the stand that turns it more or less into a console far more than handheld. It is a bit annoying that I’ll have to attach the controllers to the tablet after every playing session to recharge them, even if the controllers are reported to have a longer battery life than the handheld tablet.

I’ll report sometimes after Christmas on how playing games on the Switch turns out. I’ll start with a library of 4 games: Super Mario Odyssey (which I got more for the kids than for me, but the reviews are excellent), Mario + Rabbids, Zelda, and Disgaea 5. If you have any advice on good role-playing and strategy games for the Switch, I’m listening.

Must read: top 10 Android stories

This week we reviewed the Razer Phone and BlackBerry Motion, talked to Google about the Google Home Mini, crowned a winner in our Best of Android competition. Here’s the news of the week!


What’s the best Android smartphone on the market? Head to our Best of Android 2017 articles below to find out:

  • Best of Android 2017 – Display
  • Best of Android 2017 – Audio
  • Best of Android 2017 – Which camera looks the best? (camera shootout)
  • Best of Android 2017 – Performance
  • Best of Android 2017 – Which camera is technically the best? (technical comparison)
  • Best of Android 2017 – Battery
  • Best of Android 2017 – User experience
  • The Phone of The Year 2017 is…

Who wants to win a ZTE Axon M?

The ZTE Axon M takes gaming and productivity to the next level. Here’s how you can win one!

10 Android stories we handpicked for you

Razer Phone review Is Razer’s first smartphone a smart buy for everyone, or only for mobile gamers? Find out in our full Razer Phone review!


Google’s plan to take over the home starts with Google Home Mini We talk to Selena Salazar, product manager for Google Home Mini, about Google’s vision for the smart home, Assistant-powered refrigerators, and more.


BlackBerry Motion review: a KEYone without the keyboard Does a BlackBerry without a physical keyboard still feel like a BlackBerry or does it just turn into your average Android phone?


This is the OnePlus 5T Star Wars Edition With the release of much-anticipated Star Wars: The Last Jedi, OnePlus has announced the launch of a Star Wars-branded limited edition of the OnePlus 5T.


Why an (unofficial) anti-Amazon alliance is a very good thing Amazon has become the middle-man of everything, and are the leader of tech’s Big Four companies, over Apple, Google, and Facebook. But the fightback is on.


Which smartphones retain their resale value the best? If you’re looking to swap your flagship smartphone for a new one this year, here’s a list of the handsets with the best resale value.


Google Pixel 2 or Pixel 2 XL: which should you buy? Google released two different sizes of Pixel phones this year. Which should you buy— the Google Pixel 2 or Pixel 2 XL?


The notch is coming to a smartphone near you Get ready to see a lot of iPhone-style notches on future Android smartphones, as the design is going to be used on upcoming bezel-free displays.


How to use AR Stickers on the Google Pixel or Pixel 2 Do you have a Google Pixel or Pixel 2? If so, you can now use AR Stickers! Here’s everything you need to know.


Can the Snapdragon 845 give VR a shot in the arm? The new Qualcomm Snapdragon 845 boasts a number of improvements for virtual reality applications, but is that enough to reinvigorate the market?


Don’t miss these videos

Watch more Android videos on our YouTube channel.

More hot news

  • Google announces Tango will shut down on March 1
  • Amazon announces plans to sell Chromecast and Apple TV again
  • Google Assistant finally headed to Android tablets and more smartphones
  • Synaptics’ in-display fingerprint sensors coming to Vivo phones, not Samsung
  • Zooper Widget has mysteriously disappeared from the Play Store
  • Essential Phone will gain double tap to wake, EIS, and more features in future updates
  • Disney’s purchase of Fox should make Netflix very nervous
  • Grammarly Keyboard for Android hits the Play Store
  • Google launches AR stickers on Pixel phones starring The Last Jedi and Stranger Things characters
  • T-Mobile will launch its own ‘disruptive’ pay TV service in 2018
  • Google Lens looks to get more useful with improvements and AR experiences
  • Android version distribution: Oreo up again, but has Nougat beaten Lollipop yet?
  • Google releases two new experimental photography apps for Android
  • Apple confirms it has officially acquired Shazam

From our network

  • Marshall Stanmore Multi-room speaker review [SoundGuys.com]
  • 2017 Holiday drone buying guide [DroneRush.com]
  • Star Wars: Jedi Challenges VR/AR app to add The Last Jedi content (porgs!) in 2018 [VRSource.com]
Join our newsletters!
Subscribe to our weekly newsletter

Google+ – Posts, Circles, Sparks & Hangouts !!!

Google+ (Google Plus) is an interest-based social networking site owned by Google Inc. Launched in 2011, this platform brings together people with similar interest. Such group of people can build a community and share their ideas through photos and posts.

Google+ is unique in way in that it allows more transparency in what one shares and with whom it is shared. The Google+ menu bar is displayed on other Google services when one logs in the google account.

Some of the most prominent features of Google+ are as follows −

  • Posts where one can update the status.
  • Circles are used to share information with different groups.
  • Sparks offer videos that users might like.
  • Hangouts & Huddles are for video chat with a friend or a group of friends.

Uploading a Post:

We can upload posts on our Google+ profile easily and share it with people in our communities/circles or others who we want to share it with. When we share our post, it is visible on the receiver’s news feed. The post also appears on our profile page and people can comment, like, or share the post. We can also tag people to our post using “+ and their name.

Let’s go step by step and learn how we can upload a post in Google+.

Step 1 − Open your Google+ account.

Step 2 − On the profile page, at right bottom corner click on write icon to write new post.

Step 3 − Write the post. We can also copy paste the content.

Step 4 − Tag anyone if desired. Add the location if needed.

Step 5 − Select whether the post should be public or private.

Step 6 − Once done, click the ‘Post’ option. The post appears on our page as well as on the profile page of the persons tagged to the post.

Google Plus – Circles

Google Circles can be used to group together different people. It may different members of the family, colleagues, or a group of people having similar interest. When we add people to a particular circle, they receive a notification of being added to the circle. Members of a circle can view the posts and photos in the circle. We can also add or remove people from circles at any time. Circles help to share the right information with the right people.
For example, it is a great way to share jokes with ‘friends’ circle, while sharing business matters with ‘work’ circle. People added to circles can also be available on our Google Hangout. By default people and pages added to circles are publicly visible. However, we can change the privacy options from settings. 

How to Create a Circle?

Step 1 − Open Google+ account.

Step 2 − Click ‘People’ from the navigation menu.

Step 3 − Click the ‘Following’ tab as shown in following screenshot.

Step 4 − Scroll down and click New Circle as seen in the above screenshot.

Step 5 − Name the circle and once done, click ‘Create’.

Adding People to Circles

Step 1 − Open the profile of the person who is to be added to the circle.

Step 2 − Click the circle that the person is to be added to.

Step 3 − Click Done.

Removing People From Circles

Step 1 − Open the profile of the person to be removed from the circle.

Step 2 − Click the circle that the person is in and from the menu uncheck the circle.

Step 3 − Click Done.

Google Plus – Hangouts

Google Hangouts is a communication platform developed by Google which includes instant messaging, video chat, SMS and VOIP features. It replaces three messaging products that Google had implemented concurrently within its services, including Google Talk, Google+ Messenger (formerly: Huddle), and Hangouts, a video chat system present within Google+. Google has also stated that Hangouts is designed to be “the future” of its telephony product, Google Voice, and integrated some of the capabilities of Google Voice into Hangouts. Users can be messaged by their Google+ accounts.

This platform also offers “hangouts on Air” option using which we can broadcast live video chatting and discussions to the world through your Google+. These video chats and discussion is accessible to all. It can be edited and a copy of the broadcast can be shared though YouTube channel.

To broadcast our Hangouts on Air, all we need is −

YouTube channel − Make sure to have a YouTube account. Create an account, if there isn’t one.

Google+ profile − Make sure the Google+ page is connected to YouTube account. Nowadays they are automatically connected, however existing users should connect it to Google+ page.

Creating a Hangout

Step 1 − Open Google+ page.

Step 2 − Search for Hangouts in the drop-down menu located on the left side of the page.

Step 3 − Click “+ New Hangout”. Check and add people to be added to Hangouts.

Step 4 : Choose the format for Hangouts, i.e. either video or text hangout. We can also alter text chat to video chat any time by clicking the camera button that appears on the top of the chat window.

We can share emoticons or pictures through Hangouts. We can also add filters to the pictures and videos. When we are done chatting, click the Close (x) button.

Google Plus – Events

Google+ Events page helps in organizing an upcoming event or occasion. It helps anyone using Gmail to add certain events in their calendars. All information about the particular event can be populated with just one click.

The event automatically gets added to Google calendar of those who are invited and are already in the circles. We can invite as many people or even the entire circle/community at the same time. Click ‘+invite name, circles’ and select the privacy as ‘public’. By doing so, anyone can find the event and access the details.

Events automatically get synchronized with guests’ calendars. Everyone attending can share the photos/videos to the shared album. Guests can even inform whether they are going to attend the event or not. If there is a change in the date of the event, guests will be notified by email. They will receive a notification for the change in place, date, time, etc.

Creating a Google+ Event

Step 1 − Open Google+ account.

Step 2 − Click the ‘Events’ tab.

Step 3 − Click ‘Create event’.


Step 4 − Fill all the information about the event such as ‘Title’, ‘start/end date’, ‘location’, ‘description’.

Step 5 − Upload the cover picture. Make sure the cover picture depicts the event.

Step 6 − Check/uncheck the following options.

  • Guests can invite other people.
  • Guests can add photos.
  • Hide guests list.

Step 7 − Add more description via ‘Advanced’ tab.

Step 8 − Invite people who we want to come to the event by clicking the green ‘invite’ button.

Step 9 − Publish the event.

Google Sparks:



Google+ SPARKS is a feature you can use to get all the info about your interests (if you can’t see it by clicking the link, here is a screenshot).
You can click on any of the images (categories) you want, and add it to your interests. I chose to type in my interests instead, and keep up with stuff I am interested in. Creating a spark “Movies” just seems like too much.
Once you chose your interests, you will be able to see a link to each of them under your profile picture. Any time you want to see what is going on in the world, that is related to your interest, click on it and you will get a page filled with news, posts, information.
For example, I can stay up to date with anything related to “blogging”,”Programming” or which ever interest I add, as you can see it in my list of Sparks.

Want To Learn Digital Marketing?

Amazon readying huge Digital Day 2017 discounts on Wonder Woman, WWE 2K18, and more

Amazon has announced that Digital Day will once again threaten our wallets in a final end of year sale chock full of huge savings. The second annual Digital Day is scheduled for December 29th and Amazon says it will be offering over 5,000 deals on movies, TV shows, apps, eBooks, and mobile games.

If you missed out on the first Digital Day sale last year, think of it like Prime Day but exclusively for digital items. As the name suggests, the biggest deals will last for just 24 hours, although some will go live as early as December 26th. You can sign up here to stay up to date with all of the offers, or you can follow #DigitalDay on social media.

Amazon has provided a sneak peek at some of the headline deals which include 60% off the fantastic live-action Wonder Woman movie on Amazon Video, 33% off video games like Sonic Forces, Civilization VI, NBA 2K18, and WWE 2K18, and up to 75% off on Kindle best-selling books like The Girl Who Takes an Eye for an Eye, The Silent Corner, and Modern Romance.

Here are some of the rest of the Digital Day deals set to drop in just over a week, plucked straight from an Amazon press release:

  • $10 Amazon.com credit when you subscribe to HBO NOW on Amazon
  • Save 25% off $49.99 Lapis bundle for Final Fantasy Brave Exvius
  • Save 50% off all in-game items for Marvel Puzzle Quest
  • Save up to 80% off in-game items for Playrix games
  • Save up to 75% off ROBLOX New Year’s Eve themed wearables
  • Save up to 80% off best-selling Marvel graphic novels like Civil War II, House of M, World War Hulk, and Star Wars
  • Three free audiobooks when you sign up for an Audible trial
  • 25% or more off PC software like Rosetta Stone and Adobe Creative Cloud Photography
    First 3 months free in Daily Burn streaming workouts

Digital Day bargains can be purchased via Amazon’s online store, the Amazon App and the Amazon Appstore (exclusively on Android). We’ll be keeping an eye out for any other great Digital Day deals, so be sure to watch this space for updates.

JSON – PHP : work BeaUtifuLLy




JSON or JavaScript Object Notation is a lightweight text-based open standard designed for human-readable data interchange. Conventions used by JSON are known to programmers, which include C, C++, Java, Python, Perl, etc.

  • JSON stands for JavaScript Object Notation.
  • The format was specified by Douglas Crockford.
  • It was designed for human-readable data interchange.
  • It has been extended from the JavaScript scripting language.
  • The filename extension is .json.
  • JSON Internet Media type is application/json.
  • The Uniform Type Identifier is public.json.

Uses of JSON

  • It is used while writing JavaScript based applications that includes browser extensions and websites.
  • JSON format is used for serializing and transmitting structured data over network connection.
  • It is primarily used to transmit data between a server and web applications.
  • Web services and APIs use JSON format to provide public data.
  • It can be used with modern programming languages.

Characteristics of JSON

  • JSON is easy to read and write.
  • It is a lightweight text-based interchange format.
  • JSON is language independent.

Why use JSON?

Since the JSON format is text only, it can easily be sent to and from a server, and used as a data format by any programming language.
JavaScript has a built in function to convert a string, written in JSON format, into native JavaScript objects:
JSON.parse()
So, if you receive data from a server, in JSON format, you can use it like any other JavaScript object.

JSON Syntax:

JSON syntax is derived from JavaScript object notation syntax:
  • Data is in name/value pairs
  • Data is separated by commas
  • Curly braces hold objects
  • Square brackets hold arrays
Below is a simple example −
{
"book": [

{
"language": "Java",
"creator": "James Gosling"
},

{
"language": "PHP",
"creatoR": "Rasmus Lerdorf"
}
]
}


JSON with PHP

Let’s see how to encode and decode JSON objects using PHP programming language.

JSON Functions

PHP has some built-in functions to handle JSON.

Encoding JSON in PHP (json_encode)

PHP json_encode() function is used for encoding JSON in PHP. This function returns the JSON representation of a value on success or FALSE on failure.
Syntax:
string json_encode ( $value [, $options = 0 ] )
Parameters
value − The value being encoded. This function only works with UTF-8 encoded data.
options − This optional value is a bitmask consisting of JSON_HEX_QUOT, JSON_HEX_TAG,         JSON_HEX_AMP, JSON_HEX_APOS, JSON_NUMERIC_CHECK, JSON_PRETTY_PRINT, JSON_UNESCAPED_SLASHES, JSON_FORCE_OBJECT.
Example

The following example shows how to convert an array into JSON with PHP −
php
$myObj->course = "Rocky Jagtiani";
$myObj->age = 39;
$myObj->city = "Chembur";

$Suven = json_encode($myObj);

echo $Suven;

?>
While executing, this will produce the following result −

{"name":"Rocky Jagtiani","age":39,"city":"Chembur"}

PHP Array:
Arrays in PHP will also be converted into JSON when using the PHP function json_encode():
php
$myArr = array("Java", "Web Technology", "Android", "Digital Marketing");

$myJSON = json_encode($myArr);

echo $myJSON;

?>
this will produce the following result −

["Java","Web Technology","Android","Digital Marketing"]

Decoding JSON in PHP (json_decode)
PHP json_decode() function is used for decoding JSON in PHP. This function returns the value decoded from json to appropriate PHP type.
Syntax
mixed json_decode ($json [,$assoc = false [, $depth = 512 [, $options = 0 ]]])

Paramaters
json_string − It is an encoded string which must be UTF-8 encoded data.
assoc − It is a boolean type parameter, when set to TRUE, returned objects will be converted into associative arrays.
depth − It is an integer type parameter which specifies recursion depth
options − It is an integer type bitmask of JSON decode, JSON_BIGINT_AS_STRING is supported.
Example:
The following example shows how PHP can be used to decode JSON objects −
php
$json = '{"a":1,"b":2,"c":3,"d":4,"e":5}';

var_dump(json_decode($json));
var_dump(json_decode($json, true));

?>
While executing, it will produce the following result −
object(stdClass)#1 (5) {
["a"] => int(1)
["b"] => int(2)
["c"] => int(3)
["d"] => int(4)
["e"] => int(5)
}

array(5) {
["a"] => int(1)
["b"] => int(2)
["c"] => int(3)
["d"] => int(4)
["e"] => int(5)
}

Error-Handling and Testing

If the JSON value could not be parsed or a nesting level deeper than the given (or default) depth is found, NULL is returned from json_decode. This means that no exception is raised by json_encode/json_deocde directly.
So how can we identify the cause of the error? The json_last_error function helps here. json_last_error returns an integer error code that can be one of the following constants (taken from here):
JSON_ERROR_NONE: No error has occurred.
JSON_ERROR_DEPTH: The maximum stack depth has been exceeded.
JSON_ERROR_STATE_MISMATCH: Invalid or malformed JSON.
JSON_ERROR_CTRL_CHAR: Control character error, possibly incorrectly encoded.
JSON_ERROR_SYNTAX: Syntax error.
JSON_ERROR_UTF8: Malformed UTF-8 characters, possibly incorrectly encoded (since PHP 5.3.3).

Want to Learn Web Technologies?

Group Known for Stalking and Harassing Climate Advocates Has Been Hired by EPA to Run Media War Room

Definers Public Affairs, a Republican-aligned research group, has been handed a $120,000 contract to help the EPA shape its media coverage.

A Republican-aligned research group with links to a campaign to stalk and intimidate environmental groups, journalists and campaigners has been handed a $120,000 contract to help the EPA shape its media coverage.

Virginia-based Definers Public Affairs was given the 12-month “no bid” contract to provide “news analysis and brief service” to the EPA, as reported by Mother Jones.

Definers is the corporate arm of America Rising LLC, America Rising PAC and its opposition research and tracking service, America Rising Squared—known as AR2.

Republican Activists

Definers Public Affairs was founded and launched in 2015 by America Rising founders Matt Rhoades and Joe Pounder.

Pounder is a Republican strategist and former research director for the Republican National Committee and worked on Marco Rubio’s failed 2016 nomination campaign. Rhoades was Mitt Romney’s campaign manager in 2012.

Green Attack Plan 

America Rising ran a concerted campaign to attack environmentalists and targeted individuals such as climate campaigner Bill McKibben, who was followed and filmed by the group’s trackers. 

Others targeted with attack tactics and adverts include billionaire philanthropist and environmentalist Tom Steyer and New Yorker journalist Jane Mayer, whose work has uncovered the influences of petrochemical billionaires and Republican donors Charles and David Koch.

Brian Rogers, an executive director at AR2 and a senior vice president at Definers, said his campaign would “hold Steyer and the Environmentalist Left accountable for their epic hypocrisy and extreme positions which threaten America’s future prosperity.”

Speaking about the accusations leveled at him, Steyer said: “They have to know they’re lying. It’s completely dishonest, unethical, and pitiful. And it’s creepy.”

America Rising attempted to discredit Mayer by alleging a distant relative that worked for Lehmann Brothers once did business with Nazi Germany—an accusation that was shown to be without any evidence.

One of the group’s earliest targets was 350.org founder McKibben, who wrote about his experience in the New York Times.  Describing the photos and videos taken of him, McKibben wrote:

“In one series, my groceries are being packed into plastic bags, as I’d forgotten to bring cloth ones. In other shots, I am getting in and out of … cars. There are video snippets of me giving talks, or standing on the street. Sometimes I see the cameraman, sometimes I don’t. The images are often posted to Twitter, reminders that I’m being watched.”

America Rising also sent an operative to Texas Tech University to request copies of everything in the 54 boxes that make up an archive of McKibben’s papers. This, said McKibben, “resulted in all kinds of odd things appearing on right-wing corners of the web.”

Global War Room

An EPA spokesperson told Mother Jones the Definers contract was “for media monitoring/newsclip compilation.”

According to Mother Jones, the contract would include EPA using the Definers War Room console that helps clients track media coverage and the output of opponents.

In November 2017, it was announced that Definers had joined law firm Denton’s to launch a global research firm called 3D Global Affairs.

Among the services offered at 3D Global Affairs would be “governmental relations and lobbying support to shape the environment” and “communications and rapid response professionals to direct  the narrative.”

 

Related Stories

  • How the Right-Wing Media Totally Distorted Positive News on Climate Change
  • Scientists Have Just Beaten Down the Best Climate Denial Argument
  • Wall of Shame: Top 10 Climate Deniers in the Trump Administration

What is Ethereum? — a short guide

What is Ethereum EthereumPrice

You may be asking yourself, “What is Ethereum?” Well, Vitalik Buterin, a Canadian programmer born in Russia, invented Ethereum in 2015 by. It’s a cryptocurrency much like Bitcoin that allows you to make payments online. It’s decentralized, offers low transaction fees, and runs on a publicly disclosed blockchain that records each transaction.

Read: What is a blockchain? – Gary Explains

Ethereum’s currency is called Ether and is currently the second largest in the world in market cap, behind Bitcoin. There are reportedly around two million wallets that hold it, up from 1.6 million in May — showing the growing popularity of Ether.

How is it different from Bitcoin? Bitcoin aims to become a globally adopted currency that could improve or even replace conventional money. Ethereum, on the other hand, is more than a cryptocurrency. It’s also a ledger technology used to build decentralized applications (dapps) with smart contracts.

What are smart contracts?

Wikimedia

Smart contracts are programs that automatically execute exactly as they are set up by their creators. Their purpose is to offer more security by removing the middlemen that we would otherwise have to use. Confused? Let’s take a look at a simple example.

Let’s say you want to ship a large gift to your friend and hire a trucker to do the job. For the trucker to know you’ll pay him, and for you to be sure the delivery will be made, you both sign an agreement for shared peace of mind. This takes time and can be expensive, as you need someone who will draw up the paperwork for you, and so forth.

This process can be simplified with a smart contract. You make the payment the day the package is picked up, and the smart contract will automatically transfer the money to the trucker as soon as your friend confirms the delivery has been made.

How is Ether created and where can I get it?

CoinSpectator

Like Bitcoins, Ethers are created through a process called mining. This requires expensive and specialized computers that have to perform complicated calculations. Mining is mainly done by large companies that are compensated for their work with newly minted Ethers.

Editor’s Pick

Unfortunately, you won’t make any money by mining with your personal PC, even if it’s a high-end model. So how can you get your hands on Ethers? You can earn them by providing goods and services to people who can pay you with the digital currency. The second option is to buy them from a marketplace like Coinbase with your credit card.

The Ethers you own are stored in a wallet secured with a private key. You can keep it in the cloud or offline, with the latter being a much safer option. The important thing is that you don’t lose the private key. If that happens, you won’t be able to access your money.

How much does it cost and what determines the price?

Crypto-News

Now that we have figured out the answer to the “What is Ethereum?” question, how much do Ethers really cost? Ethers were cheap when introduced back in 2015 — you could get one for less than a dollar. Their price has risen over the years and currently stands at around $430 each (exact value can be found in widget below). The sharp increase means Ethers can be a great investment, same as Bitcoins and many other cryptocurrencies. For example, if you bought $1,000 worth of Ethers in 2015 when they were worth $0.50 a piece, you would have $860,000 today.

Before you get too excited, keep in mind that investing in cryptocurrencies can be risky.

Before you get too excited, sell your house, and buy as many Ethers as you can get, let me remind you that investing in cryptocurrencies can be risky. Sure, a lot of them have increased in value in recent years, but that doesn’t mean this trend will continue. Cryptocurrencies are volatile, meaning their price can go up and down significantly in a single day. This makes them less stable than standard currencies like the dollar and euro.

How exactly do we determine their value? Like Bitcoins, gold, oranges, and every other item available on the market, supply and demand determine the price of Ethers.

The Merkle


Ethereum can be hard to understand at times. The same goes for Bitcoins and the rest of the cryptocurrencies available. But the fact is that they’re here to stay and might become a more important part of our daily lives in the future.

Many experts believe Ethereum has a lot of potential and could overtake Bitcoin as the largest cryptocurrency somewhere down the line. This is all speculation, though well within the realm of possibility. But like with stocks, gold, and other investments, no one can be 100 percent sure in which direction the price will move.

Hopefully we have given you an answer to the “What is Ethereum?” question. What are your thoughts on Ethereum and cryptocurrencies in general? Let us know in the comments.

SoMe-Things YoU sHould knOw about “PhoneGap”: Android – LeaVe my baThRoom at-least !

PhoneGap Framework

phonegap

Building applications for each platform–iPhone, Android, Windows and more–requires different frameworks and languages. PhoneGap solves this by using standards-based web technologies to bridge web applications and mobile devices. Since PhoneGap apps are standards compliant, they’re future-proofed to work with browsers as they evolve.


The PhoneGap framework was contributed by the Apache Software Foundation (ASF) under the name Apache Cordova and graduated to top-level project status in October 2012. Through the ASF, future PhoneGap development will ensure open stewardship of the project. It will always remain free and open source under the Apache License, Version 2.0.
To develop apps using Phonegap, the developer does not require top have knowledge of mobile programming language but should know languages like, HTML, CSS, JScript.
PhoneGap takes care of rest of the work, such as look and feel of the app and portability among various mobile operating systems and also allows its users to upload the data contents on website and it automatically converts it to various App files.

PhoneGap Environment Setup

Lets see how to setup basic PhoneGap Environment to develop apps easily. PhoneGap supports offline creation of apps using Cordova command line interface and Github, but we concentrate on online creation of apps. As PhoneGap supports only HTML, CSS and JavaScript, it is mandatory that the application should be created using these technologies only. 
An application package must contain following files:
  • Configuration File
  • Icons for App
  • Content (built using web technologies)
Configuration File
App require one configuration file named as “config.xml” that configure all its necessary settings. This file contains all the necessary information required to compile the app.
following is the content of config.xml file
<?xml version="1.0" encoding="UTF-8" ?>
<widget xmlns = "http://www.w3.org/ns/widgets"
xmlns:gap = "http://phonegap.com/ns/1.0"
id = "com.phonegap.example"
versionCode = "10"
version = "1.0.0" >

<!-- versionCode is optional and Android only -->

<name>PhoneGap Example</name>

<description>
An example for phonegap build docs.
</description>

<author href="https://build.phonegap.com" email="[email protected]">
Hardeep Shoker
</author>

</widget>
The widget element must be the root of your XML document.When using PhoneGap Build, ensure you have the following attributes set on your widget element.
id – The unique identifier for your application. To support all supported platforms, this must be reverse-domain name style (e.g. com.yourcompany.yourapp)
version –  for best results, use a major/minor/patch style version, with three numbers, such as 0.0.1
versionCode – (optional) when building for Android, you can set the versionCode by specifying it in your config.xml.
<name> – The name of the application.
<description> – A description for your application.
<author> – The author of the application, either a company or individual (required for Windows 10 builds).
<platform> – You can have zero or more of these elements present in your config.xml. Set the name attribute to one of ios, android, or windows.If you specify none, all platforms will be built.
Icons
It is important to prepare icons of exact shapes and sizes as required by particular mobile operating system. Here we are using the folders res/icon/ios and res/icon/android/drawable-xxxx..To get this work done fast, you can create a logo of size 1024×1024 and log on to makeappicon.com. This website will help you instantly create logos of all sizes for both android and iOS platform.

PhoneGap App Contents

We can create two type of apps. Online app and Offline App. Following is the directory structure for the applications.
Online App
In online app entire information content is loaded from the Internet.
Online app directory structure
The index.html file contains actual links as it contains at the web server and all its links are either absolute or used with base href tag.
Offline App
Offline app will let you create a web application that is downloaded to its entirety to the mobile devices of a user who can access that offline.
offline app directory structure
The config.xml contains app configuration settings. The index.html file contains homepage of web contents. All the HTML files should contain only relative path not absolute path or base href tag.
Once selected your app type, organize files in above mentioned structure and zip it using any standard tool zip tool.

Sign Your App

Android requires that all APKs be digitally signed with a certificate before they can be installed. For this reason, you need to sign your app. You may need keytool which is a part of standard java distribution.Execute the following command in %JAVA_HOME% in your Windows command prompt or Linux Shell:-

keytool -genkey -v -keystore my_keystore.keystore 
   -alias TutorialsPoint -keyalg RSA -keysize 2048 -validity 10000

It should generate one file.

PhoneGap App Compilation

Now we are ready to compile our first web API-based app. PhoneGap accepts user login created on GitHub or using AdobeID. GitHub is a online repository service where users can upload their contents and use them by providing their URL references.
Following steps are required to create Adobe Id and Compile the application.
Create Adobe ID
Got to https://build.phonegap.com/ and register after that login to your account it will display PhoneGap Console as shown in below
phonegap console

Click on ‘Upload a .zip file’ and upload the .zip file we created, which has the entire web content and configurations. You should see the following window after successful upload

Click on the Android icon and the following screen should appear


Click on drop-down option menu next to Android icon that reads No key selected, click on add a key and the following screen should appear
Provide the file created while signing the App. Then click on ‘Rebuild’ button next to it. The app built by this process can be directly uploaded to Google Play. Click on .apk file and you can download your first web-based free app.Before uploading, app should be tested on either virtual or real devices.

sign file submit form

Learn Android Programming?

Which phone manufacturer had the best year in 2017? [Poll of the Week]

Last week’s poll summary: Out of almost 23,800 total votes, 25.1% of our readers said the Galaxy Note 8 is the best Android smartphone of 2017. 18.9% voted for the OnePlus 5T, 18.2% voted Pixel 2 XL, and 11.3% said the Huawei Mate 10 Pro is the top device of the year.

2017 brought us some of the best smartphones we’ve ever seen. It was also the year that we saw many Android OEMs come into their own.

Samsung had a particularly tough year, as it not only had to recover from the Galaxy Note 7 recall, it also had to win the trust back of consumers. Samsung worked hard to bring trust back to its brand, which resulted in the Galaxy S8 and Note 8— two of the best Android smartphones ever made.

OnePlus has also stepped things up this year, particularly with the launch of the OnePlus 5T. The OnePlus 5 felt a little stuck in the past, but the 5T brought an improved camera experience and a fantastic 18:9 OLED display. OnePlus continues to make improvements every year. It’s crazy to think this is the same company that had so many weird missteps a few years back.

See also

Huawei made some huge strides in 2017 with the launch of the Mate 10 Pro. Not only did that phone win our Best of Android 2017 competition, it feels like Huawei is becoming more original than ever before. Some might complain of Huawei’s software being too aggressive in some areas, but the improvements on the design/build front cannot be overstated.

I’d also like to mention HMD Global, the proud owners of the Nokia brand name. The Nokia 8, the company’s 2017 flagship, holds its own against the other competitors on the market. Android Authority actually named HMD Global as the best smartphone brand of 2017.

In your opinion, which smartphone manufacturer had the best year? Cast your vote in the poll below, and speak up in the comments if there’s anything you’d like to add.

Note: There is a poll embedded within this post, please visit the site to participate in this post’s poll.