text
stringlengths
3
1.18M
package Ch12; public class EqualEx2 { public static void main(String[] args) { String str1 = new String("AAA"); String str2 = new String("AAA"); System.out.println(str1 == str2); } }
package Ch12; public class EqualEx3 { public static void main(String[] args) { String str1 = "AAA"; String str2 = "AAA"; System.out.println(str1 == str2); } }
package Ch12; public class ConvertEx1 { public static void main(String[] args) { String str1 = String.valueOf(10); String str2 = String.valueOf('a'); String str3 = String.valueOf(10.3333); String str4 = "" + (true); System.out.println(str1); System.out.println(str2); System.out.println(s...
package Ch12; public class StringEx2 { public static void main(String[] args) { String str2 = new String("Hello"); System.out.println(str2); } }
package cz.cvut.fel.y36mm1.videostreaming; import cz.cvut.fel.y36mm1.videostreaming.devicediscovery.DeviceDiscoverer; import cz.cvut.fel.y36mm1.videostreaming.exceptions.CannotConnectToServerException; import cz.cvut.fel.y36mm1.videostreaming.exceptions.ClientCannotBeServerException; import cz.cvut.fel.y36mm1.videostr...
package cz.cvut.fel.y36mm1.videostreaming.client; import cz.cvut.fel.y36mm1.videostreaming.Commander; import cz.cvut.fel.y36mm1.videostreaming.MainMidlet; import cz.cvut.fel.y36mm1.videostreaming.exceptions.ServerEndedConnectionException; import cz.cvut.fel.y36mm1.videostreaming.exceptions.CannotConnectToServerExcepti...
package cz.cvut.fel.y36mm1.videostreaming.client; import javax.microedition.lcdui.Canvas; import javax.microedition.lcdui.Graphics; import javax.microedition.media.MediaException; import javax.microedition.media.Player; import javax.microedition.media.control.VideoControl; /** * Screen displaying video seen through...
package cz.cvut.fel.y36mm1.videostreaming; import cz.cvut.fel.y36mm1.videostreaming.screens.ErrorScreen; import javax.microedition.lcdui.Displayable; /** * Handles error screens. Singleton. * @author Jiri Chadima, chadij1 */ public class ErrorHandler { private static ErrorHandler instance = null; private MainMi...
package cz.cvut.fel.y36mm1.videostreaming.server; import cz.cvut.fel.y36mm1.videostreaming.Commander; import javax.microedition.lcdui.Canvas; /** * Mother of server screens * @author Jiri Chadima, chadij1 */ public abstract class ServerAbstractScreen extends Canvas { public ServerAbstractScreen() { addCommand...
package cz.cvut.fel.y36mm1.videostreaming.server; import javax.microedition.lcdui.Graphics; import javax.microedition.lcdui.Image; /** * Screen displaying recieved images * @author Jiri Chadima, chadij1 */ public class ServerVideoScreen extends ServerAbstractScreen { Image current = null; /** * Creates new ...
package cz.cvut.fel.y36mm1.videostreaming.server; import javax.microedition.lcdui.Graphics; /** * Screen showing that server awaits connection * @author Jiri Chadima, chadij1 */ public class ServerAwaitingConnectionScreen extends ServerAbstractScreen { public ServerAwaitingConnectionScreen() { super(); } p...
package cz.cvut.fel.y36mm1.videostreaming.server; import cz.cvut.fel.y36mm1.videostreaming.Commander; import cz.cvut.fel.y36mm1.videostreaming.MainMidlet; import java.io.IOException; import java.io.InputStream; import java.io.OutputStream; import javax.bluetooth.BluetoothStateException; import javax.bluetooth.Discover...
package cz.cvut.fel.y36mm1.videostreaming.devicediscovery; import cz.cvut.fel.y36mm1.videostreaming.MainMidlet; import java.io.IOException; import java.util.Hashtable; import javax.bluetooth.BluetoothStateException; import javax.bluetooth.DeviceClass; import javax.bluetooth.DiscoveryAgent; import javax.bluetooth.Disco...
package cz.cvut.fel.y36mm1.videostreaming.devicediscovery; import cz.cvut.fel.y36mm1.videostreaming.Commander; import cz.cvut.fel.y36mm1.videostreaming.screens.*; import javax.microedition.lcdui.ChoiceGroup; import javax.microedition.lcdui.CommandListener; /** * Visual component displaying all found devices * @aut...
package cz.cvut.fel.y36mm1.videostreaming.exceptions; /** * Thrown when server does not respond * @author Jiri Chadima, chadij1 */ public class CannotConnectToServerException extends Exception { }
package cz.cvut.fel.y36mm1.videostreaming.exceptions; /** * When server ends * @author Jiri Chadima, chadij1 */ public class ServerEndedConnectionException extends Exception { }
package cz.cvut.fel.y36mm1.videostreaming.exceptions; /** * Thrown when server specific methods are accessed from client * @author Jiri Chadima, chadij1 */ public class ClientCannotBeServerException extends Exception { public ClientCannotBeServerException(String s) { super(s); } public ClientCannotBeServerE...
package cz.cvut.fel.y36mm1.videostreaming.exceptions; /** * Thrown when client specific methods are accessed from server * @author Jiri Chadima, chadij1 */ public class ServerCannotBeClientException extends Exception { public ServerCannotBeClientException() { } }
package cz.cvut.fel.y36mm1.videostreaming.screens; import cz.cvut.fel.y36mm1.videostreaming.MainMidlet; import javax.microedition.lcdui.Displayable; /** * Screen for displaying errors. If told, remembers where from it was called. * @author Jiri Chadima, chadij1 */ public class ErrorScreen extends AbstractScreen {...
package cz.cvut.fel.y36mm1.videostreaming.screens; import cz.cvut.fel.y36mm1.videostreaming.MainMidlet; import javax.microedition.lcdui.Form; /** * Mother of all normal screens, ensures its title and MainMidlet accessibility * @author Jiri Chadima, chadij1 */ public abstract class AbstractScreen extends Form { ...
package cz.cvut.fel.y36mm1.videostreaming.screens; import cz.cvut.fel.y36mm1.videostreaming.MainMidlet; import java.io.IOException; import javax.microedition.lcdui.Image; /** * Welcom screen, displays some image and info * @author Jiri Chadima, chadij1 */ public class WelcomeScreen extends AbstractScreen { publ...
package cz.cvut.fel.y36mm1.videostreaming; import cz.cvut.fel.y36mm1.videostreaming.devicediscovery.DeviceDiscoverer; import cz.cvut.fel.y36mm1.videostreaming.devicediscovery.DevicesScreen; import cz.cvut.fel.y36mm1.videostreaming.exceptions.ServerCannotBeClientException; import cz.cvut.fel.y36mm1.videostreaming.scre...
package cz.cvut.fel.y36mm1.videostreaming; import cz.cvut.fel.y36mm1.videostreaming.exceptions.ServerCannotBeClientException; import cz.cvut.fel.y36mm1.videostreaming.client.*; import cz.cvut.fel.y36mm1.videostreaming.exceptions.CannotConnectToServerException; import cz.cvut.fel.y36mm1.videostreaming.exceptions.Clien...
package videostreaminglinux.component; import java.awt.Graphics; import java.awt.Image; import java.awt.Toolkit; import java.util.Date; import java.util.logging.Level; import java.util.logging.Logger; import javax.swing.JPanel; /** * * @author Jiri Masek, masekj5 */ public class ImagePanel extends JPanel implemen...
/* * VideoStreamingLinuxAboutBox.java */ package videostreaminglinux; import org.jdesktop.application.Action; /** * * @author Jiri Masek, masekj5 */ public class VideoStreamingLinuxAboutBox extends javax.swing.JDialog { public VideoStreamingLinuxAboutBox(java.awt.Frame parent) { super(parent); ...
package videostreaminglinux.server; import java.io.IOException; import java.io.InputStream; import java.io.OutputStream; import javax.bluetooth.BluetoothStateException; import javax.bluetooth.DiscoveryAgent; import javax.bluetooth.LocalDevice; import javax.microedition.io.Connector; import javax.microedition.io.Stream...
/* * VideoStreamingLinuxApp.java */ package videostreaminglinux; import javax.bluetooth.UUID; import org.jdesktop.application.Application; import org.jdesktop.application.SingleFrameApplication; /** * The main class of the application. * * @author Jiri Masek, masekj5 */ public class VideoStreamingLinuxApp exte...
/* * VideoStreamingLinuxView.java */ package videostreaminglinux; import org.jdesktop.application.Action; import org.jdesktop.application.ResourceMap; import org.jdesktop.application.SingleFrameApplication; import org.jdesktop.application.FrameView; import org.jdesktop.application.TaskMonitor; import java.awt.event...
package videostreamingwindows.component; import java.awt.Graphics; import java.awt.Image; import java.awt.Toolkit; import java.util.Date; import java.util.logging.Level; import java.util.logging.Logger; import javax.swing.JPanel; /** * * @author Jiri Masek, masekj5 */ public class ImagePanel extends JPanel implem...
/* * VideoStreamingWindowsApp.java */ package videostreamingwindows; import javax.bluetooth.UUID; import org.jdesktop.application.Application; import org.jdesktop.application.SingleFrameApplication; /** * The main class of the application. */ public class VideoStreamingWindowsApp extends SingleFrameApplication {...
/* * VideoStreamingWindowsView.java */ package videostreamingwindows; import org.jdesktop.application.Action; import org.jdesktop.application.ResourceMap; import org.jdesktop.application.SingleFrameApplication; import org.jdesktop.application.FrameView; import org.jdesktop.application.TaskMonitor; import java.awt.e...
package videostreamingwindows.server; import java.io.IOException; import java.io.InputStream; import java.io.OutputStream; import javax.bluetooth.BluetoothStateException; import javax.bluetooth.DiscoveryAgent; import javax.bluetooth.LocalDevice; import javax.microedition.io.Connector; import javax.microedition.io.Stre...
/* * VideoStreamingWindowsAboutBox.java */ package videostreamingwindows; import org.jdesktop.application.Action; public class VideoStreamingWindowsAboutBox extends javax.swing.JDialog { public VideoStreamingWindowsAboutBox(java.awt.Frame parent) { super(parent); initComponents(); getR...
/* * Copyright (C) 2009 The Android Open Source Project * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by app...
/* * Copyright (C) 2009 The Android Open Source Project * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by app...
/* * Copyright (C) 2009 The Android Open Source Project * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by app...
/* * Copyright (C) 2009 The Android Open Source Project * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by app...
/* * Copyright (C) 2009 The Android Open Source Project * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by app...
/* * Copyright (C) 2009 The Android Open Source Project * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by app...
/* * Copyright (C) 2009 The Android Open Source Project * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by app...
/* * Copyright (C) 2008 The Android Open Source Project * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by app...
/* * Copyright (C) 2009 The Android Open Source Project * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by app...
/* * Copyright (C) 2009 The Android Open Source Project * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by app...
/* * Copyright (C) 2009 The Android Open Source Project * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by app...
/* * Copyright (C) 2008 The Android Open Source Project * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by app...
/* * Copyright (C) 2009 The Android Open Source Project * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by app...
/* * Copyright (C) 2008 Google Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agree...
/* * Copyright (C) 2008 Google Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agree...
/* * Copyright (C) 2008 Google Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agree...
/* * Copyright (C) 2008 Google Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agree...
/* * Copyright (C) 2008 Google Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agree...
/* * Copyright (C) 2008 Google Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agree...
/* * Copyright (C) 2008 Google Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agree...
/* * Copyright (C) 2008 Google Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agree...
/* * Copyright (C) 2008 Google Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agree...
/* * Copyright (C) 2008 Google Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agree...
/* * Copyright (C) 2008 Google Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agree...
/* * Copyright (C) 2008 Google Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agree...
/* * Copyright (C) 2008 Google Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agree...
/* * Copyright (C) 2008 Google Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); you may not * use this file except in compliance with the License. You may obtain a copy * of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed ...
/* * Copyright (C) 2008 Google Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); you may not * use this file except in compliance with the License. You may obtain a copy * of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed ...
/* * Copyright (C) 2008 Google Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agre...
/* * Copyright (C) 2008 Google Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); you may not * use this file except in compliance with the License. You may obtain a copy * of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed ...
/* * Copyright (C) 2008 Google Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agre...
/* * Copyright (C) 2008 The Android Open Source Project * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by app...
/* * Copyright (C) 2008 Google Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); you may not * use this file except in compliance with the License. You may obtain a copy * of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed ...
/* * Copyright (C) 2009 The Android Open Source Project * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless requir...
package net.clc.bt; import net.clc.bt.Connection.OnConnectionLostListener; import net.clc.bt.Connection.OnConnectionServiceReadyListener; import net.clc.bt.Connection.OnIncomingConnectionListener; import net.clc.bt.Connection.OnMaxConnectionsReachedListener; import net.clc.bt.Connection.OnMessageReceivedListen...
/* * Copyright (C) 2009 The Android Open Source Project * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless requir...
/* * Copyright (C) 2009 The Android Open Source Project * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless requir...
/* * Copyright (C) 2009 The Android Open Source Project * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless requir...
/* * Copyright (C) 2009 The Android Open Source Project * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless requir...
/* * Copyright (C) 2009 The Android Open Source Project * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by app...
/* * Copyright (C) 2009 The Android Open Source Project * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by app...
package net.clc.bt; import net.clc.bt.Connection.OnConnectionLostListener; import net.clc.bt.Connection.OnConnectionServiceReadyListener; import net.clc.bt.Connection.OnIncomingConnectionListener; import net.clc.bt.Connection.OnMaxConnectionsReachedListener; import net.clc.bt.Connection.OnMessageReceivedListen...
/* * Copyright (C) 2008 Google Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agree...
/* * Copyright (C) 2008 Google Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agree...
/* * Copyright (C) 2008 Google Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agree...
/* * Copyright (C) 2008 Google Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agree...
/* * Copyright (C) 2008 Google Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agree...
/* * Copyright (C) 2008 Google Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agree...
/* * Copyright (C) 2008 Google Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agree...
/* * Copyright (C) 2008 Google Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agree...
/* * Copyright (C) 2008 Google Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agree...
/* * Copyright (C) 2008 Google Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agree...
/* * Copyright (C) 2008 Google Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agree...
/* * Copyright (C) 2008 Google Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agree...
/* * Copyright (C) 2008 Google Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agree...
package com.example.android.rings_extended; import android.app.ListActivity; import android.content.AsyncQueryHandler; import android.content.ContentUris; import android.content.Context; import android.content.Intent; import android.database.CharArrayBuffer; import android.database.Cursor; import android.media.AudioMa...
package com.example.android.rings_extended; import android.app.ListActivity; import android.content.ComponentName; import android.content.Context; import android.content.Intent; import android.content.pm.ActivityInfo; import android.content.pm.PackageManager; import android.content.pm.ResolveInfo; import android.graph...
/* * Copyright (C) 2008 Google Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agree...
package com.example.android.rings_extended; import android.content.Context; import android.util.AttributeSet; import android.widget.Checkable; import android.widget.RelativeLayout; /** * A special variation of RelativeLayout that can be used as a checkable object. * This allows it to be used as the top-level view o...
/* * Copyright (C) 2008 Google Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agree...
/* * Copyright (C) 2008 Google Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agree...
/* * Copyright (C) 2008 Google Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agree...
/* * Copyright (C) 2008 Google Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agree...
/* * Copyright (C) 2008 Google Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agree...
/* * Copyright (C) 2008 Google Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agree...
/* * Copyright (C) 2008 Google Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agree...
/* * Copyright (C) 2008 Google Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agree...