Laman

Sunday, June 30, 2013

Download MailDroid – Email Application 3.13 Apk For Android

MailDroid – Email Application apk

MailDroid – Email Application apkMailDroid – Email Application apk

MailDroid is an ad-supported Webdav/POP3/IMAP Idle Push email client written from the ground up and and not based on the stock Android email client. MailDroid has all the features you could want from a mobile email client and it continues to be built around user feedback. With the ability for IMAP users to sync draft mails, sent mail, deleted mail based on when... Read More

OR

READ MORE - Download MailDroid – Email Application 3.13 Apk For Android

Download GO Locker 1.89 Apk For Android

GO Locker apkGO Locker apk

GO Locker apkGO Locker apk

Lock screen easily and stylishly with the Top downloaded screen locker! *Nearly 50 million downloads, 230,000+ reviews and a 4.4-star rating, that is Go Locker! You may go to SMS messages, call logs and control the music player, all from the Lock Screen. Display current weather with live animation effects on lock screen. Add Everything to your lock screen and... Read More

OR

READ MORE - Download GO Locker 1.89 Apk For Android

Example to use YouTubePlayerFragment of YouTube Android Player API

Example to use YouTubePlayerFragment of YouTube Android Player API

Example to use YouTubePlayerFragment of YouTube Android Player API


Follow the step in "YouTube Android Player API step-by-step" to Download and import YouTube Android Player API, and Register your app using YouTube Android Player API and obtain API Key. To use YouTubePlayerFragment, you have to define android:minSdkVersion="11" or higher in your AndroidManifest.xml.

Modify /res/layout/activity_main.xml to define layout, with <fragment> of "com.google.android.youtube.player.YouTubePlayerFragment".
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:tools="http://schemas.android.com/tools"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:paddingBottom="@dimen/activity_vertical_margin"
android:paddingLeft="@dimen/activity_horizontal_margin"
android:paddingRight="@dimen/activity_horizontal_margin"
android:paddingTop="@dimen/activity_vertical_margin"
android:orientation="vertical"
tools:context=".MainActivity" >

<fragment
android:name="com.google.android.youtube.player.YouTubePlayerFragment"
android:id="@+id/youtubeplayerfragment"
android:layout_width="match_parent"
android:layout_height="wrap_content"/>

<TextView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="http://android-er.blogspot.com/"
android:textStyle="bold"
android:layout_gravity="center_horizontal"
android:autoLink="web" />

<ScrollView
android:layout_width="match_parent"
android:layout_height="match_parent">
<LinearLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:orientation="vertical">

<Button
android:id="@+id/btnviewfullscreen"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:text="View in Full Screen" />
<TextView
android:id="@+id/videolog"
android:layout_width="match_parent"
android:layout_height="wrap_content" />

</LinearLayout>
</ScrollView>

</LinearLayout>


Create /res/layout-land/activity_main.xml to define layout in Landscape orientation.
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:tools="http://schemas.android.com/tools"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:paddingBottom="@dimen/activity_vertical_margin"
android:paddingLeft="@dimen/activity_horizontal_margin"
android:paddingRight="@dimen/activity_horizontal_margin"
android:paddingTop="@dimen/activity_vertical_margin"
android:orientation="horizontal"
tools:context=".MainActivity" >

<fragment
android:name="com.google.android.youtube.player.YouTubePlayerFragment"
android:id="@+id/youtubeplayerfragment"
android:layout_width="0dp"
android:layout_height="wrap_content"
android:layout_weight="3"/>
<LinearLayout
android:layout_width="0dp"
android:layout_height="wrap_content"
android:orientation="vertical"
android:layout_weight="1">
<TextView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="http://android-er.blogspot.com/"
android:textStyle="bold"
android:layout_gravity="center_horizontal"
android:autoLink="web" />

<ScrollView
android:layout_width="match_parent"
android:layout_height="match_parent">
<LinearLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:orientation="vertical">
<Button
android:id="@+id/btnviewfullscreen"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:text="View in Full Screen" />
<TextView
android:id="@+id/videolog"
android:layout_width="match_parent"
android:layout_height="wrap_content" />
</LinearLayout>
</ScrollView>
</LinearLayout>
</LinearLayout>


MainActivity.java
package com.example.androidyoutubeapiplayer;

import com.google.android.youtube.player.YouTubeBaseActivity;
import com.google.android.youtube.player.YouTubeInitializationResult;
import com.google.android.youtube.player.YouTubePlayer;
import com.google.android.youtube.player.YouTubePlayer.PlaybackEventListener;
import com.google.android.youtube.player.YouTubePlayerFragment;
import com.google.android.youtube.player.YouTubePlayer.PlayerStateChangeListener;
import com.google.android.youtube.player.YouTubePlayer.Provider;
import android.os.Bundle;
import android.view.View;
import android.view.View.OnClickListener;
import android.widget.Button;
import android.widget.TextView;
import android.widget.Toast;

public class MainActivity extends YouTubeBaseActivity implements
YouTubePlayer.OnInitializedListener{

public static final String API_KEY = "AIzaSyCe6tORd9Ch4lx-9Ku5SQ476uS9OtZYsWA";
public static final String VIDEO_ID = "o7VVHhK9zf0";

private YouTubePlayer youTubePlayer;
private YouTubePlayerFragment youTubePlayerFragment;
private TextView textVideoLog;
private Button btnViewFullScreen;

private static final int RQS_ErrorDialog = 1;

private MyPlayerStateChangeListener myPlayerStateChangeListener;
private MyPlaybackEventListener myPlaybackEventListener;

String log = "";

@Override
protected void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
setContentView(R.layout.activity_main);

youTubePlayerFragment = (YouTubePlayerFragment)getFragmentManager()
.findFragmentById(R.id.youtubeplayerfragment);
youTubePlayerFragment.initialize(API_KEY, this);

textVideoLog = (TextView)findViewById(R.id.videolog);

myPlayerStateChangeListener = new MyPlayerStateChangeListener();
myPlaybackEventListener = new MyPlaybackEventListener();

btnViewFullScreen = (Button)findViewById(R.id.btnviewfullscreen);
btnViewFullScreen.setOnClickListener(new OnClickListener(){

@Override
public void onClick(View arg0) {
youTubePlayer.setFullscreen(true);
}});
}

@Override
public void onInitializationFailure(Provider provider,
YouTubeInitializationResult result) {

if (result.isUserRecoverableError()) {
result.getErrorDialog(this, RQS_ErrorDialog).show();
} else {
Toast.makeText(this,
"YouTubePlayer.onInitializationFailure(): " + result.toString(),
Toast.LENGTH_LONG).show();
}
}

@Override
public void onInitializationSuccess(Provider provider, YouTubePlayer player,
boolean wasRestored) {

youTubePlayer = player;

Toast.makeText(getApplicationContext(),
"YouTubePlayer.onInitializationSuccess()",
Toast.LENGTH_LONG).show();

youTubePlayer.setPlayerStateChangeListener(myPlayerStateChangeListener);
youTubePlayer.setPlaybackEventListener(myPlaybackEventListener);

if (!wasRestored) {
player.cueVideo(VIDEO_ID);
}

}

private final class MyPlayerStateChangeListener implements PlayerStateChangeListener {

private void updateLog(String prompt){
log += "MyPlayerStateChangeListener" + "\n" +
prompt + "\n\n=====";
textVideoLog.setText(log);
};

@Override
public void onAdStarted() {
updateLog("onAdStarted()");
}

@Override
public void onError(
com.google.android.youtube.player.YouTubePlayer.ErrorReason arg0) {
updateLog("onError(): " + arg0.toString());
}

@Override
public void onLoaded(String arg0) {
updateLog("onLoaded(): " + arg0);
}

@Override
public void onLoading() {
updateLog("onLoading()");
}

@Override
public void onVideoEnded() {
updateLog("onVideoEnded()");
}

@Override
public void onVideoStarted() {
updateLog("onVideoStarted()");
}

}

private final class MyPlaybackEventListener implements PlaybackEventListener {

private void updateLog(String prompt){
log += "MyPlaybackEventListener" + "\n-" +
prompt + "\n\n=====";
textVideoLog.setText(log);
};

@Override
public void onBuffering(boolean arg0) {
updateLog("onBuffering(): " + String.valueOf(arg0));
}

@Override
public void onPaused() {
updateLog("onPaused()");
}

@Override
public void onPlaying() {
updateLog("onPlaying()");
}

@Override
public void onSeekTo(int arg0) {
updateLog("onSeekTo(): " + String.valueOf(arg0));
}

@Override
public void onStopped() {
updateLog("onStopped()");
}

}

}

download filesDownload the files.

Download APK to try on your device.



The tutorial: YouTube Android Player API step-by-step

READ MORE - Example to use YouTubePlayerFragment of YouTube Android Player API

Rizzoli Wallpaper

http://1.bp.blogspot.com/_j9Nc8Ryfous/TKPmGNpxYMI/AAAAAAAAASE/r4hEg9waHmE/s1600/sbwalls-rizzoli-isles-wallpaper004.jpg
rizzoli and isles wallpapers




http://3.bp.blogspot.com/_j9Nc8Ryfous/TLEBiLusT7I/AAAAAAAAASM/TUoNG1Lt-80/s1600/sbwalls-rizzoli-isles-wallpaper005.jpg
rizzoli and isles wallpapers


http://2.bp.blogspot.com/-5VyVFzynZkg/UBCeXktY7XI/AAAAAAAAAWU/l5cfm0lESbY/s1600/sbwalls-rizzoli-isles-catwomanwallpaper002.jpg
Wallpapers by SherrieB: Rizzoli & Isles Meets Catwoman Wallpapers


http://3.bp.blogspot.com/_j9Nc8Ryfous/TGbkxwR_IXI/AAAAAAAAAM8/_2TDneyLJ9U/s1600/wallpaper003.jpg
Wallpapers by SherrieB: Rizzoli and Isles


http://2.bp.blogspot.com/_PP2JKMZKprc/TOqlMKbJEfI/AAAAAAAAAXU/MDir2W-bEWk/s1600/wallpaper10.jpg
RizzlesGirls: Yummy Wallpaper Goodness


http://1.bp.blogspot.com/_j9Nc8Ryfous/TGWziLO1qII/AAAAAAAAAM0/2_XHz0R5DcQ/s1600/wallpaper002.jpg
Wallpapers by SherrieB: Rizzoli and Isles


http://4.bp.blogspot.com/-KqcR7fv3suc/T8pAZfGSB7I/AAAAAAAADx4/QT-64vZs1JQ/s1600/ep302_003.jpg
Rizzoli & Isles Photo Gallery: Rizzoli & Isles Season 3 Stills ...


http://2.bp.blogspot.com/-r9JHWmPvK3Y/TgE9h99OWLI/AAAAAAAAAJk/yvEzc8auGDk/s1600/onset_6-21-11_AngieSleepingHospitalBed.jpg
Rizzoli & Isles Photo Gallery: Sleeping On the Job


http://3.bp.blogspot.com/-t2u7hUn6OeQ/T38cnlEF8KI/AAAAAAAADLE/DowMOs4HjR8/s1600/Wallpaper_Smile_1280x800+copy.jpg
Rizzoli & Isles Photo Gallery: Angie & Sasha Wallpapers from Back in ...


http://4.bp.blogspot.com/-TFy_wIFErPg/TeByGzRCF1I/AAAAAAAAAcY/kj0vZtOGGeA/s1600/Jane-Rizzoli-wallpaper-rizzoli-and-isles-13858281-1280-800.jpg
Jane-Rizzoli-wallpaper-rizzoli-and-isles-13858281-1280-800.jpg


http://4.bp.blogspot.com/-mXbolZ8JtwU/T9klfzj6lAI/AAAAAAAAEN8/-wR23sl7ouY/s1600/Wallpaper_I+wouldnt+leave+her.jpg
Rizzoli & Isles Photo Gallery: Wallpaper Ep302 - I Wouldn't Leave Her


http://4.bp.blogspot.com/_j9Nc8Ryfous/TGcfbz63PxI/AAAAAAAAANE/_lNerariMjw/s1600/covert-affairs-wallpaper001.jpg
rizzoli and isles wallpapers


http://3.bp.blogspot.com/-LA_R8BmgDp4/T_tSayOWQ-I/AAAAAAAAE-8/V3UqcAxCV9g/s1600/RI_TNT_EP308_1200x_10.jpg
Rizzoli & Isles Photo Gallery: Rizzoli & Isles Season 3 Stills Episode ...


http://1.bp.blogspot.com/-lquBoyE43gc/TV-mLvZllTI/AAAAAAAA22M/iP_u0dcoCNU/s1600/Fringe_Wallpaper03_1920x1080_ET.jpg
Fringe - New Official Wallpaper - Olivia & Fauxlivia | Spoilers


http://2.bp.blogspot.com/-xjBpukfF1vo/T_tSehOcr2I/AAAAAAAAE_U/8qFWLbdQA3c/s1600/RI_TNT_EP308_1200x__8.jpg
Rizzoli & Isles Photo Gallery: Rizzoli & Isles Season 3 Stills Episode ...


http://4.bp.blogspot.com/-PAAwf7c0aww/UBCeV_4SHvI/AAAAAAAAAWM/5Y1AkTq9KQI/s1600/sbwalls-rizzoli-isles-catwomanwallpaper001.jpg
Wallpapers by SherrieB: Rizzoli & Isles Meets Catwoman Wallpapers


http://1.bp.blogspot.com/-n2-3J5MUHyA/T3XMStSQn1I/AAAAAAAADI8/9p4Jp-XgMbE/s1600/RI_Season3_PromoSpeedDating_TNT_02_PhDoug+Hyun.jpg
Rizzoli & Isles Photo Gallery: Speed dating promo S3: New TNT Photos


http://2.bp.blogspot.com/-JDIDVggAqJg/TflOGOyKrXI/AAAAAAAABio/I2ZIwyNA83c/s1600/angie-harmon-rizzoli-isles-desktop.jpg
... Harmon: "Rizzoli & Isles" season 2 promo wallpaper by @aNewNickname


http://4.bp.blogspot.com/-THHNEdv8kQ0/Te0H6DqMz_I/AAAAAAAAADc/ewzRSnuGvV0/s1600/Angie-Sasha-rizzoli-and-isles-fanpop4.jpg
Rizzoli & Isles Photo Gallery: TNT Event


http://4.bp.blogspot.com/-0-sFpOBA5Dw/UT0QfXxSsbI/AAAAAAAAAYw/kf25GONpLD4/s1600/sbwalls-rizzoli-isles-wallpaper007.jpg
Kissed a Girl" Wallpapers


http://2.bp.blogspot.com/-IzVvWsE3J7Q/UAMsuZz32HI/AAAAAAAAAV8/5L7f3mm5LF0/s1600/sbwalls-amazingspiderman-wallpaper001.jpg
Wallpapers by SherrieB


http://1.bp.blogspot.com/-vWf9QvFSo5g/TgDZz8SDyNI/AAAAAAAAAA0/95Xvxlul2ug/s1600/wallpaper-rizzoli-and-isles-15410196-1200-800.jpg
... Rizzoli & Isles Season One on DVD. and catch Season 2 july 12th on TNT


http://4.bp.blogspot.com/-_9VjmQzbW8o/Th2pkl3mOJI/AAAAAAAARH8/zzxPBJLTJbg/s1600/sasha-alexander-004-1024.jpg
American actress Sasha Alexander Wallpapers


http://4.bp.blogspot.com/-ValvPlxPCBA/Te0H7MjHR-I/AAAAAAAAADg/UbXSCYC4opg/s1600/Angie-Sasha-rizzoli-and-isles-fanpop3.jpg
Rizzoli & Isles Photo Gallery: TNT Event


http://1.bp.blogspot.com/-4kyd1_a9B2s/TixGPlSQ4NI/AAAAAAAAAbc/ziKNlCiYT4U/s1600/expression_collage.jpg
Rizzoli & Isles Photo Gallery: Sasha Wallpaper - Expression


http://4.bp.blogspot.com/-umCDW_OLJko/Tw4N2cdL3OI/AAAAAAAACTE/UvhWOXgK7tA/s1600/Angie_Craig-Morgan-ThisOleBoy4.jpg
Picture from the music video: (updated 1/11/12)


http://1.bp.blogspot.com/-EXSsqxNZrI4/TffCwrw_pTI/AAAAAAAAAH4/Zm55CaoJSyI/s1600/RI_S2_004.jpg
Rizzoli & Isles Photo Gallery: New Season 2 Character Images


http://2.bp.blogspot.com/_j9Nc8Ryfous/THFUbeGFLKI/AAAAAAAAARc/aFk-qHkjfas/s1600/sbwalls-ncis-wallpaper001.jpg
Wallpapers by SherrieB: NCIS Wallpaper (1600x900)


http://2.bp.blogspot.com/-1Zl2dd9CIL8/UBXqetMxg1I/AAAAAAAAAXM/3JvZqnX8qDA/s1600/sbwalls-greys-wallpaper006.jpg
Wallpapers by SherrieB


http://2.bp.blogspot.com/-6B3MF_k815g/TWvIIj8KW7I/AAAAAAAABr8/oiC4udOsc94/s1600/Rizzoli-Isles-Wallpaper-rizzoli-and-isles-13857979-1280-800.jpg
Rizzoli-Isles-Wallpaper-rizzoli-and-isles-13857979-1280-800.jpg


http://2.bp.blogspot.com/_j9Nc8Ryfous/TGnU5W8xzoI/AAAAAAAAANU/F4Yzaym1jHY/s1600/sbwalls-greys-wallpaper001.jpg
Wallpapers by SherrieB: Grey's Anatomy (1600x900)


http://4.bp.blogspot.com/-1PnQtGgMmEE/TgHeaRMH1RI/AAAAAAAABjQ/DqDbquzePCw/s1600/wallpaper21.jpg
RizzlesGirls: June 2011


http://2.bp.blogspot.com/-3ayW2ygPXnA/TfmeM70viFI/AAAAAAAAAJA/K_SZ9MJJwjE/s1600/onset_6-15-11_AngieRocksMaternity_Back.jpg
Rizzoli & Isles Photo Gallery: Angie Rockin Maternity Dress?


http://2.bp.blogspot.com/-GX6hUEgMdLQ/UBp78Dh0jpI/AAAAAAAAK_s/ng7VWNt05i4/s1600/wallpaper-rizzoli-and-isles-15410217-1280-800.jpg
PODZIM NA PRIMA COOL: LIGA MISTRŮ, THE WALKING DEAD A COOLMEN | BLOG ...


http://2.bp.blogspot.com/-z3iZv9KJK6o/TfaYA0GOFyI/AAAAAAAABf4/Dbee3Ou6I5k/s1600/rizzoli-isles-stills-2.jpg
Absolutely Angie Harmon Rizzoli Isles Season 2 Episodic Stills


http://1.bp.blogspot.com/-vlK0wj775KU/Tw4N3_oCHqI/AAAAAAAACTU/7OmZcfPPWfk/s1600/Angie_Craig-Morgan-ThisOleBoy2.jpg
Rizzoli & Isles Photo Gallery: January 2012


http://3.bp.blogspot.com/_j9Nc8Ryfous/TG_xKlR72qI/AAAAAAAAARU/m-APJAJXWQk/s1600/sbwalls-greys-wallpaper002.jpg
Wallpapers by SherrieB: Grey's Anatomy (1600x900)


http://2.bp.blogspot.com/_j9Nc8Ryfous/TIQGO_Bs5tI/AAAAAAAAAR8/lVmB5HeBMNI/s1600/sbwalls-greys-wallpaper005.jpg
Wallpapers by SherrieB: Greys Anatomy


http://3.bp.blogspot.com/-JJ3mvOFaLcw/ToXQdQ3MHUI/AAAAAAAACVw/rL1V2OHPjDo/s1600/The_Mentalist_Wallpaper.jpg
El Mentalista 4x2 en Sub Español Para ver online y descargar.


http://1.bp.blogspot.com/-AP7nkQjxbCs/UDE5Sqp9-XI/AAAAAAAABiM/1HkLkWJzOk0/s1600/Rizzoli+and+Isles+Wallpaper__yvt2.JPG
Coisas de Amaury


http://25.media.tumblr.com/tumblr_m2nhwf5Tk61qibq3ao1_1280.jpg
rizzoli a rizzoli图片打包下载 a rizzoli照片打包下载


http://25.media.tumblr.com/tumblr_lqgp0uIjCd1qbdk1yo1_1280.jpg
Me and my obsessions., Wallpaper (1024x768) ...


http://24.media.tumblr.com/tumblr_lqidpiBWIs1qbdk1yo1_1280.jpg
Me and my obsessions., Castle Season 4 wallpaper ...


http://24.media.tumblr.com/tumblr_lgd1g1GQXI1qcxvobo1_1280.jpg?.jpg
Dive into it together — freakyx: Castle & Beckett 3x14 Wallpaper


http://25.media.tumblr.com/tumblr_mbcs8t334V1qih5u4o1_1280.jpg
kim jaejoong # jyj # 1366x768 # 1280x800


http://25.media.tumblr.com/tumblr_lvz137sk9y1qbhp9xo1_1280.jpg
Que Sera, Sera.


http://25.media.tumblr.com/tumblr_m0e2srERkq1r8o6n5o1_1280.jpg
revolutionary girl utena # adolescence of utena


http://24.media.tumblr.com/tumblr_m4970dDMDe1qlj0m0o1_r1_1280.jpg
what is my face? | Tumblr


http://25.media.tumblr.com/8f9a30f93ab3dd10aa8e5971c9ac6729/tumblr_mgs8ul5Jti1rtrs3mo1_1280.jpg
love Caskett


http://24.media.tumblr.com/d8bcde198d7db44670ab61e6be2a62b6/tumblr_mi9nfvxglk1s0t05do1_1280.jpg
love Caskett


READ MORE - Rizzoli Wallpaper
Related Posts Plugin for WordPress, Blogger...