Android Open Source - MyBarr-android Rdio Progress






From Project

Back to project page MyBarr-android.

License

The source code is released under:

/* Copyright (c) 2011 Rdio Inc Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the S...

If you think the Android project MyBarr-android listed in this page is inappropriate, such as containing malicious code/tools or violating the copyright, please email info at java2s dot com, thanks.

Java Source Code

package com.music.mybarr.activities;
//  w  w  w. j  a  v a2  s  .co  m

import com.music.mybarr.R;

import android.app.AlertDialog;
import android.app.Dialog;
import android.app.DialogFragment;
import android.os.Bundle;
import android.view.LayoutInflater;

public class RdioProgress extends DialogFragment {

  @Override
  public Dialog onCreateDialog(Bundle savedInstanceState) {
    LayoutInflater inflater = getActivity().getLayoutInflater();
    AlertDialog.Builder builder = new AlertDialog.Builder(getActivity());

    String message = getArguments().getString("message");
    builder.setMessage(message);
    builder.setView(inflater.inflate(R.layout.dialog_progress, null));

    return builder.create();
  }
}




Java Source Code List

com.music.mybarr.activities.ExampleActivity.java
com.music.mybarr.activities.RdioProgress.java
com.music.mybarr.callbacks.UserCallback.java
com.music.mybarr.controller.ApiController.java
com.music.mybarr.model.BeatUser.java
com.urucas.services.JSONRequestTaskHandler.java
com.urucas.services.JSONRequestTask.java
com.urucas.services.JSONRequest.java
com.urucas.services.RequestTaskHandler.java
com.urucas.services.RequestTask.java
com.urucas.utils.Utils.java