Sunday, December 13


Wednesday, December 31



Through the use of a devious little prank application, you’ve explored how
intents, intent receivers, services, and activities work together in an
advanced, mostly background, application. i’ll now go over, step by step,
what you did and how you accomplished it.
getting it done
you did the following:
1.   you used an intent receiver with the  right permissions and a system-level
sms intent to arrange for your pranksmsreciever object to be
instantiated each time an sms arrives on  the phone. if your intent receiver
detected a very specific sms payloa d, it would respond by sending an
intent that would start your activity.
2.   this activity, named prankactivity , would listen for the specific intent
action sent by the pranksmsreceiver. when it received that precise
intent action, your activity would  display a “gotcha” message to the
victim. at the same time, the activity  would send out an intent meant to
start up a service. if, at any point the victim/user pressed a key on the
phone, the application would exit,  and the music service would be
terminated.
3.   the service class, called  prankservice, listening for the
prankactivity ’s intent, would start and begin to play an obnoxious,
predefined audio file. it  would continue to play until it was told to stop by
the  prankactivity ’s call to the method  stopservice.
34      android essentials
note  this sample application does not deal with the handset’s native
sms application. because all intent receivers are notified of an incoming
intent, your application will be competing for user attention with android’s
sms inbox application. in production, this may require a substantial timer
and perhaps a trigger text payload, which is a little more subtle than
“0xbadcat0_fire_the_missiles!”
further deviousness
here are a few ways you can explore and extend the prank
application on your own:
   get more evil by taking the activity out of the loop. launch the
prankservice directly from the intent receiver. do not give the
victim a way of shutting off the music.
   add a different text payload to  stop the music. this exercise
would be an excellent one to combine with the previous one.
   customize your “get even” message. create a prefix that triggers
the service and a payload, which is displayed by the main app
activity. pass this payload from the intent receiver to the activity
using a payload within the intent.  taunting, sometimes, needs fine-tuning.
these are just a few ways you can better learn the pieces of android
while at the same time making life miserable for those around you.
moving data in android
finally, to round your knowledge about  android’s application building
blocks, you need to focus on the content resolver. android does not give
the sdk particular access to the phones filesystem, as brew does. nor does
it offer a  recordstore , as does java me. your primary method for
passing data between your activities, intent receivers, and services is going
to be through the contentresolver  superclass. though y ou can store data
through files, preferences, and other da tabases, content re solvers can take
  android essentials       35
many forms, and android ships with  a few important content resolvers
built in. here’s a list, at time of publication, of the major android content
resolvers you’ll probably want to  interact with on a regular basis:
ƒ  browser
ƒ  bookmarks
ƒ  search history
ƒ  phone calls
ƒ  call log
ƒ  recent calls
ƒ  contacts
ƒ  system settings
ƒ  hardware settings (bluetooth, networking settings)
ƒ  software settings
android’s documentation gives an excellent walk-through of using the
contacts content resolver here:  http://code.google.com/android/
devel/data/contentproviders.html#usingacp.
quickly, i’ll walk you through adding a bookmark to the phone browser’s
bookmark list. first, you’ll want to sear ch the current list of bookmarks to
see whether your link is in place. second, you’ll add your bookmark if it
isn’t there.
note  it is possible to create your own content providers as a way to
wrap android’s sqlite implementation for universal access. you’ll get into
how to do this in later chapters. for  now you’re just going to handle the
“client” side of this content resolver interaction.
36      android essentials
android uses a custom implementation of sqlite to store information
locally. if you’re not familiar with the  basics of sql, now might be a good
time to brush up. i’m going to assume,  for the sake of expediency, that you
understand basic sql searching commands. if you need to brush up,
apress has an excellent resource at http://apress.com/book/
catalog?category=145 .
shameless self-promotion
let’s say in the “about” section of your application that you want to have a
button that adds your commercial so ftware page to the user’s web
bookmarks. you want to make sure it isn’t added twice if your user has
clicked the button again by accident. for the sake of this simple
demonstration, you’ll trigger this event in your sample application when
the user presses a key.
note  on an amusing note, if you need proof, as a developer, that
android is still not quite fully baked, you need look no further than the
documentation for  android.content.contentresolver under the
method getdatafilepath,  which states “do not use this function!!
someone added this, and they shouldn't have. you do not have direct
access to files inside of a content provider. don't touch this. go away.” it’s
good to know that even the technical writers for android’s documentation
have a sense of humor.
fetching the user’s bookmarks
it should be obvious, at least at this point, that a developer could do some
fairly nefarious things with access to  a user’s bookmarks. it’s not clear, at
this point, what android will do to keep this sort of thing from happening. i
suppose it’s up to the carriers to lock down or monitor this behavior. in any
case, you’ll use a call to the method  managedquery, which will return a list
of the user’s bookmarks:
  android essentials       37
cursor bookmarks =
    android.provider.browser.getallbookmarks
    (getcontentresolver());
int urlcolumn = bookmarks.getcolumnindex(
android.provider.browser.bookmarkcolumns. url );
cursor results;
string[] proj =  new  string[]
    {
        android.provider.basecolumns._id,
        android.provider.browser.bookmarkcolumns.url,
        android.provider.browser.bookmarkcolumns.title
    };
results =
    managedquery(android.provider.browser.bookmarks_uri,
     proj,  null,
    android.provider.browser.bookmarkcolumns.url
    + " asc");
i’ll now break down what’s happening. y ou’ll first get the column index of
the bookmark url. again, because androi d provides access to most of its
internal data in a sql format, you sh ould get used to referring to your
saved information in a database-centric  way. next you’ll set up the cursor,
an object similar to a java me recordstore  enumerator and set up your
projection string array. because you’re interested only in the columns
containing the url, you can keep  it very simple. the method call
managedquery is the call that will return  your data. you’ll pass in the uri
string for the bookmarks store, hand it  your simple projection array, leave
the  where  section empty, and tell it to sort  the urls in descending order.

Monday, November 10

 Manchester United:
 
Stansted Usa Football Team is definitely an UK professional football team, situated in Outdated Trafford, Larger Stansted that will has within the Top League. Launched because Newton Heath LYR Football team in 1878, the particular club transformed it is brand to Stansted Usa in 1902 along with transferred to Outdated Trafford in 1910 along with is one of the many productive golf clubs in UK soccer. 

Real Madrid:

Real Madrid established itself as a major force in both Spanish and European football during the 1950s.



Barcelona FC

 

Bayern Munich

 

Arsenal

 

Chelsea

 

Manchester City

 

AC Milan

 

Juventus

 

Liverpool


Thursday, November 6




De Villiers, Edwards, Johnson, Mathews, Raj, Sangakkara and Taylor nominated for two main awards each

VNR in the press conference will be accessible for download at ICC Advertising Zone for editorial work with

Australia’s Mitchell Johnson and also Sri Lanka’s Kumar Sangakkara come in line to win their second Sir Garfield Sobers Trophy for your ICC Cricketer of the entire year after they were shortlisted for your LG ICC Awards 2014.

Inside the voting period between twenty six August 2013 and 18 September 2014, Johnson, who won the award last year, claimed 59 wickets inside eight Tests at a notable average of 15. 3. This included two five-wicket then one 10-wicket hauls. The left-arm fast bowler was equally impressive in 50 overs cricket when he notched up 21 wickets in 16 matches at an average of 33. 04 with the economy rate of beneath five runs per more than.

Sangakkara, who won this particular prestigious award in Colombo inside 2012, finished as the cutting edge run-getter during the same period with 1, 502 runs in 11 Tests using four centuries and seven half-centuries. The left-hander averaged simply over 75. In twenty six ODIs, Sangakkara scored 1, 046 in 26 matches at an average of just under 42 using three centuries and several half-centuries.

Since the inception in the LG ICC Awards inside 2004, only Ricky Ponting may be the player who has received this award twice – 2006 and also 2007.

Sri Lanka chief Angelo Mathews, who was the other highest run-getter in Testing with 1, 292 runs at an average of 92. 28 and backed way up this performance with 965 runs in 28 ODIs at an average of just under 54, and also AB de Villiers, who scored 932 runs in 10 Tests at an average of 54. 8 and 963 runs in 20 ODIs at an average of over 60, have already been shortlisted for the merit.

If Mathews or de Villiers get this year’s award, then there could have been 12 different winners within the 11 year history in the LG ICC Awards. Inside 2005, Jacques Kallis and John Flintoff were declared joint winners in the Sir Garfield Sobers Trophy.

Johnson, Mathews and Sangakkara in addition to Australia opener David Warner (1, 066 runs in eight Tests) have also been shortlisted for the ICC Test Cricketer in the Year award. Sangakkara may be the only player in the group to have previously won this merit in 2012.

This year’s LG ICC Prizes include 11 individual awards and also feature selecting the ICC Test and ODI Teams in the Year.

The individual player awards were shortlisted by the academy** of highly credentialed cricket personalities from worldwide, after the long-list nominations were manufactured by a five-person ICC choice panel* led by past India captain and Chairman in the ICC Cricket Committee Anil Kumble.

With the ICC ODI Cricketer in the Year award, Quinton de Kock, de Villiers, Virat Kohli and Dale Steyn are already shortlisted. De Villiers won this award this season, while Kohli won it in 2012.

For the ICC Women’s Cricketer in the Year award, two former winners are already shortlisted. These are England’s women’s chief Charlotte Edwards, winner inside 2008, and two-time winner Stafanie Taylor in the West Indies. They usually are joined by India chief and number-one ranked mixture Mithali Raj and The united kingdom wicketkeeper/batter Sarah Taylor.

The united kingdom duo of Gary Ballance and also Ben Stokes, and New Zealand’s set of Corey Anderson and Jimmy Neeshan are already shortlisted for the ICC Emerging Cricketer in the Year award. To be eligible for a that award, a player must be under the age of 26 and possess played fewer than all 5 Tests and/or 10 ODIs at the beginning of the voting period of time, which is 26 June 2013.

There will be described as a new winner of the ICC Women’s T20I Cricketer in the Year after the previous two awards were received by England’s Sarah Taylor. The players shortlisted this holiday season are: Charlotte Edwards involving England, Meg Lanning involving Australia, India’s Mithali Raj and also West Indies’ Stafanie Taylor.

Alex Hales’s 116 certainly not out against Sri Lanka within the ICC World Twenty20 Bangladesh 2014, Aaron Finch’s 156 versus England and Rangana Herath’s numbers of 3. 3-2-3-5 against New Zealand within the ICC World Twenty20 Bangladesh 2014 include earned them nominations for your ICC Twenty20 International Performance in the Year award.

Two Afghanistan and two Scotland players are already shortlisted for the ICC Affiliate and Affiliate Cricketer in the Year award. These usually are Afghanistan’s Mohammad Nabi and also Samiullah Shenwari, and the Scotland duo Calum MacLeod and also Preston Mommsen.

Overall, seven cricketers are already nominated for two awards each. These include: AB de Villiers, Charlotte Edwards, Mitchell Johnson, Angelo Mathews, Mithali Raj, Kumar Sangakkara and also Stafanie Taylor.

Based for the 13 months between twenty six August 2013 and 18 September 2014, the LG ICC Awards 2014 will bear in mind performances by players in what has become a 2010 remarkable period for the action.

That period includes the ICC World Twenty20 Bangladesh 2014, ICC Cricket Earth Cup Qualifier New Zealand 2014, ICC Earth Twenty20 Qualifier UAE 2013, various rounds in the ICC Intercontinental Cup, numerous Pepsi ICC World Cricket League and Championship fixtures, ICC Women’s Championship as well as some bilateral Test, ODI and also T20I series.

This year marks the 11th year in the LG ICC Awards, and also the winners will be announced by way of a media release on 18 November, while a special Television show will be broadcast upon 15 November. The show will recap the final year in world cricket and may feature interviews with quite a few nominees and winners.

LG ICC Prizes 2014


Shortlist of nominees – Personal Awards


Sir Garfield Sobers Trophy for ICC Cricketer in the Year
AB de Villiers (SA)
Mitchell Johnson (Aus)
Angelo Mathews (SL)
Kumar Sangakkara (SL)

ICC Test Cricketer in the Year
Mitchell Johnson (Aus)
Angelo Mathews (SL)
Kumar Sangakkara (SL)
Brian Warner (Aus)

ICC ODI Cricketer in the Year
Quinton de Kock (SA)
AB de Villiers (SA)
Virat Kohli (Ind)
Dale Steyn (SA)

ICC Women’s ODI Cricketer in the Year
Charlotte Edwards (Eng)
Mithali Raj (Ind)
Debbie Taylor (Eng)
Stafanie Taylor (WI)

ICC Emerging Cricketer in the Year
Corey Anderson (NZ)
Gary Ballance (Eng)
Jimmy Neesham (NZ)
Ben Stokes (Eng)

ICC Associate and Affiliate Cricketer in the Year
Calum MacLeod (Scot)
Preston Mommsen (Scot)
Mohammad Nabi (Afg)
Samiullah Shenwari (Afg)

ICC Twenty20 International Performance in the Year
Alex Hales (Eng) : 116 not out (64b, 11x4, 6x6) v Sri Lanka (WT20), 28 Mar 2014
Aaron Finch (Aus) -156 (63b, 11x4, 14x6) v England, 29 August 2013
Rangana Herath (SL) : 3. 3-2-3-5 v NZ (WT20), 31 Mar 2014

ICC Women’s T20I Cricketer in the Year
Charlotte Edwards (Eng)
Meg Lanning (Aus)
Mithali Raj (Ind)
Stafanie Taylor (WI)

David Shepherd Trophy for ICC Umpire in the Year
All 12 members in the ICC Emirates Elite Screen of ICC Umpires are already nominated

ICC Spirit involving Cricket Award
To possibly be announced on 14 November via ICC media launch.

Wednesday, November 5


1.Running:


It is the most popular sport in athletics today in the world.•It started to be competitive in the Ancient Greece.•It can be traced back in776 in the first recorded Olympic Games in Greece.•During what time there were only four event compared to today’s tens of events.Running gait can be divided into two phases in regard to the lower extremity: stance and swing.Running is both a competition and a type of training for sports that have running or endurance components.


2.Wrestling:

 
This sport was used to decide the strongest man in the society. • Resting represents one of the oldest forms of combat. •It involves the techniques of grappling, throws and take downs on your competitor to gain supremacy. •It can be traced 15,000 back in France and also in ancient Olympics. •Today wrestling is a career and a very famous sport all over the world.





 3.Long Jump:


In this sport, the athlete contest on who leaps the farthest distance from the take-off point. •The game has been contested in the Ancient Olympics of 656 BC as per the records. •It is the only known jumping event in the Ancient Greece Original Olympics. • The long jump emerged probably because it mirrored the crossing of obstacles such as streams and ravines. •Today it is still a very popular game in the modern Olympics.


4. Javelin Throw:

 

It is a track event that involves participant throwing a javelin as far as possible. •It was practiced in the Ancient Mycenaean and Romans where a lighter javelin was used. •It is also mentioned in the records of the Ancient Olympics making it one of the oldest sports It is still a huge event in Modern old games



5.Discuss Throw:


This is can be a  track  AND   box  event  The idea   contains  throwing  a  heavy disc  to be able to  farther distance possible•The sport  is usually  traced back  in the  early fifth century BC  throughout  Europe.•There  are generally   6-8   option  movements  of a  discus throw: wind up, move  with  rhythm, balance,  appropriate  leg engine, orbit,  AND  delivery.•It  is   single   of any  ancient Pentathlons  within  708 BC  so that it is   solitary   of a  oldest sports.    



6.Polo:

 

This can be a  track  AS WELL AS   box  event  That   involves  throwing  a  heavy disc  to  farther distance possible•The sport  is usually  traced back  on the  early fifth century BC  within  Europe.•There  tend to be   six   switch  movements  of a  discus throw: wind up, move  with  rhythm, balance,  right  leg engine, orbit,  AS WELL AS  delivery.•It  will be   sole   of the  ancient Pentathlons  in  708 BC  making it   single   of a  oldest sports.   

  

7.Gymnastics:
 
This is a  track  AS WELL AS   package  event  The idea   includes  throwing  a good  heavy disc  in order to  farther distance possible•The sport  will be  traced back  in the  early fifth century BC  within  Europe.•There  tend to be   six to eight   option  movements  of your  discus throw: wind up, move  inside  rhythm, balance,  appropriate  leg engine, orbit,  AND  delivery.•It  can be   sole   of any  ancient Pentathlons  within  708 BC  turning it into   individual   of an  oldest sports.

8.Boxing:

This can be a  track  IN ADDITION TO   package  event  That   includes  throwing  a good  heavy disc  to help  farther distance possible•The sport  can be  traced back  for the  early fifth century BC  within  Europe.•There  are   six to eight   button  movements  of a  discus throw: wind up, move  with  rhythm, balance,  appropriate  leg engine, orbit,  AS WELL AS  delivery.•It  is actually   sole   of the  ancient Pentathlons  with  708 BC  so that it is   single   of your  oldest sports.         



9.Horse riding:

It is a  track  IN ADDITION TO   field  event  The idea   contains  throwing  a great  heavy disc  to help  farther distance possible•The sport  can be  traced back  in the  early fifth century BC  throughout  Europe.•There  usually are   six   option  movements  of any  discus throw: wind up, move  inside  rhythm, balance,  right  leg engine, orbit,  IN ADDITION TO  delivery.•It  is   single   of the  ancient Pentathlons  within  708 BC  turning it into   one   of any  oldest sports.  
     


10. Hockey  :  

This is the  track  ALONG WITH   container  event  The item   consists of  throwing  a  heavy disc  for you to  farther distance possible•The sport  will be  traced back  in the  early fifth century BC  with  Europe.•There  are usually   6-8   button  movements  of your  discus throw: wind up, move  throughout  rhythm, balance,  correct  leg engine, orbit,  ALONG WITH  delivery.•It  can be   sole   of any  ancient Pentathlons  inside  708 BC  turning it into   sole   of any  oldest sports.                   

Tuesday, November 4

The list of the continents of world (from largest in size to smallest):  

=> Asia
=> Africa
=> North America
=> South America
=> Antarctica
=> Europe
=> Australia.


Number of continents:

There are numerous ways of distinguishing the continents:


 Area and population:

198

 

  
The total land area of all continents is 148,647,000 sq km(5739300 sq mi),or 29.1% of earth's surface(510,065,600 km2 or 196,937,400 sq mi).
A estimate of the total population of all the continents is 7,000,000,000.