text
stringlengths
3
1.18M
/* * Copyright (C) 2010-2011 Josef Hardi <josef.hardi@gmail.com> * Copyright (C) 2010 Piotr Zagawa <piotr.zagawa@gmail.com> * * 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 * * ht...
/* * Copyright (C) 2010-2011 Josef Hardi <josef.hardi@gmail.com> * Copyright (C) 2010 Piotr Zagawa <piotr.zagawa@gmail.com> * * 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 * * ht...
/* * Copyright (c) 2010-2011 Josef Hardi <josef.hardi@gmail.com> * Copyright (c) 2010 Piotr Zagawa <piotr.zagawa@gmail.com> * * 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 * * ht...
/* * Copyright (c) 2010-2011 Josef Hardi <josef.hardi@gmail.com> * Copyright (c) 2010 Piotr Zagawa <piotr.zagawa@gmail.com> * * 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 * * ht...
/* * Copyright (c) 2010-2011 Josef Hardi <josef.hardi@gmail.com> * Copyright (c) 2010 Piotr Zagawa <piotr.zagawa@gmail.com> * * 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 * * ht...
/* * Copyright (c) 2010-2011 Josef Hardi <josef.hardi@gmail.com> * Copyright (c) 2010 Piotr Zagawa <piotr.zagawa@gmail.com> * * 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 * * ht...
/* * Copyright (c) 2010-2011 Josef Hardi <josef.hardi@gmail.com> * Copyright (c) 2010 Piotr Zagawa <piotr.zagawa@gmail.com> * * 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 * * ht...
/* * Copyright (c) 2010-2011 Josef Hardi <josef.hardi@gmail.com> * Copyright (c) 2010 Piotr Zagawa <piotr.zagawa@gmail.com> * * 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 * * ht...
/* * Copyright (c) 2010-2011 Josef Hardi <josef.hardi@gmail.com> * Copyright (c) 2010 Piotr Zagawa <piotr.zagawa@gmail.com> * * 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 * * ht...
/* * Copyright (c) 2010-2011 Josef Hardi <josef.hardi@gmail.com> * Copyright (c) 2010 Piotr Zagawa <piotr.zagawa@gmail.com> * * 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 * * ht...
/* * Copyright (c) 2010-2011 Josef Hardi <josef.hardi@gmail.com> * Copyright (c) 2010 Piotr Zagawa <piotr.zagawa@gmail.com> * * 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 * * ht...
/* * Copyright (c) 2010-2011 Josef Hardi <josef.hardi@gmail.com> * Copyright (c) 2010 Piotr Zagawa <piotr.zagawa@gmail.com> * * 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 * * ht...
/* * Copyright (c) 2010-2011 Josef Hardi <josef.hardi@gmail.com> * Copyright (c) 2010 Piotr Zagawa <piotr.zagawa@gmail.com> * * 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 * * ht...
/* * Copyright (c) 2010-2011 Josef Hardi <josef.hardi@gmail.com> * Copyright (c) 2010 Piotr Zagawa <piotr.zagawa@gmail.com> * * 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 * * ht...
/* * Copyright (c) 2010-2011 Josef Hardi <josef.hardi@gmail.com> * Copyright (c) 2010 Piotr Zagawa <piotr.zagawa@gmail.com> * * 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 * * ht...
/* * Copyright (c) 2010-2011 Josef Hardi <josef.hardi@gmail.com> * Copyright (c) 2010 Piotr Zagawa <piotr.zagawa@gmail.com> * * 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 * * ht...
/* * Copyright (c) 2010-2011 Josef Hardi <josef.hardi@gmail.com> * Copyright (c) 2010 Piotr Zagawa <piotr.zagawa@gmail.com> * * 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 * * ht...
/* * Copyright (c) 2010-2011 Josef Hardi <josef.hardi@gmail.com> * Copyright (c) 2010 Piotr Zagawa <piotr.zagawa@gmail.com> * * 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 * * ht...
/* * Copyright (c) 2010-2011 Josef Hardi <josef.hardi@gmail.com> * Copyright (c) 2010 Piotr Zagawa <piotr.zagawa@gmail.com> * * 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 * * ht...
/* * Copyright (c) 2010-2011 Josef Hardi <josef.hardi@gmail.com> * Copyright (c) 2010 Piotr Zagawa <piotr.zagawa@gmail.com> * * 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 * * ht...
/* * Copyright (c) 2010-2011 Josef Hardi <josef.hardi@gmail.com> * Copyright (c) 2010 Piotr Zagawa <piotr.zagawa@gmail.com> * * 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 * * ht...
/* * Copyright (c) 2010-2011 Josef Hardi <josef.hardi@gmail.com> * Copyright (c) 2010 Piotr Zagawa <piotr.zagawa@gmail.com> * * 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 * * ht...
/* * Copyright (c) 2010-2011 Josef Hardi <josef.hardi@gmail.com> * Copyright (c) 2010 Piotr Zagawa <piotr.zagawa@gmail.com> * * 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 * * ht...
/* * Copyright (c) 2010-2011 Josef Hardi <josef.hardi@gmail.com> * Copyright (c) 2010 Piotr Zagawa <piotr.zagawa@gmail.com> * * 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 * * ht...
/* * Copyright (c) 2010-2011 Josef Hardi <josef.hardi@gmail.com> * Copyright (c) 2010 Piotr Zagawa <piotr.zagawa@gmail.com> * * 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 * * ht...
/* * Copyright (c) 2010-2011 Josef Hardi <josef.hardi@gmail.com> * Copyright (c) 2010 Piotr Zagawa <piotr.zagawa@gmail.com> * * 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 * * ht...
/* * Copyright (C) 2010-2011 Josef Hardi <josef.hardi@gmail.com> * Copyright (C) 2010 Piotr Zagawa <piotr.zagawa@gmail.com> * * 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 * * ht...
/* * Copyright (c) 2010-2011 Josef Hardi <josef.hardi@gmail.com> * Copyright (c) 2010 Piotr Zagawa <piotr.zagawa@gmail.com> * * 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 * * ht...
/* * Copyright (c) 2010-2011 Josef Hardi <josef.hardi@gmail.com> * Copyright (c) 2010 Piotr Zagawa <piotr.zagawa@gmail.com> * * 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 * * ht...
/* * Copyright (c) 2010-2011 Josef Hardi <josef.hardi@gmail.com> * Copyright (c) 2010 Piotr Zagawa <piotr.zagawa@gmail.com> * * 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 * * ht...
/* * Copyright (c) 2010-2011 Josef Hardi <josef.hardi@gmail.com> * Copyright (c) 2010 Piotr Zagawa <piotr.zagawa@gmail.com> * * 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 * * ht...
/* * Copyright (c) 2010-2011 Josef Hardi <josef.hardi@gmail.com> * Copyright (c) 2010 Piotr Zagawa <piotr.zagawa@gmail.com> * * 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 * * ht...
/* * Copyright (c) 2010-2011 Josef Hardi <josef.hardi@gmail.com> * Copyright (c) 2010 Piotr Zagawa <piotr.zagawa@gmail.com> * * 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 * * ht...
/* * Copyright (c) 2010-2011 Josef Hardi <josef.hardi@gmail.com> * Copyright (c) 2010 Piotr Zagawa <piotr.zagawa@gmail.com> * * 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 * * ht...
/* * Copyright (c) 2010-2011 Josef Hardi <josef.hardi@gmail.com> * Copyright (c) 2010 Piotr Zagawa <piotr.zagawa@gmail.com> * * 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 * * ht...
/* * Copyright (c) 2010-2011 Josef Hardi <josef.hardi@gmail.com> * Copyright (c) 2010 Piotr Zagawa <piotr.zagawa@gmail.com> * * 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 * * ht...
/* * Copyright (c) 2010-2011 Josef Hardi <josef.hardi@gmail.com> * Copyright (c) 2010 Piotr Zagawa <piotr.zagawa@gmail.com> * * 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 * * ht...
package com.wwforever.eclipsebuildunity3d; //import android.content.Context; //import android.view.View; //import android.content.Intent; import android.os.Bundle; import com.unity3d.player.UnityPlayer; import com.unity3d.player.UnityPlayerActivity; public class MainActivity1 extends UnityPlayerActivity { //ty...
package com.wwforever.eclipsebuildunity3d; import android.app.Activity; import android.content.Context; import android.content.Intent; import android.os.Bundle; import android.view.View; import android.view.View.OnClickListener; import android.widget.Button; public class MainActivity extends Activity { public stat...
package ktmt.k52.viettts.FileChooser; import java.io.File; import java.util.ArrayList; import java.util.Collections; import java.util.List; import ktmt.k52.viettts.R; import ktmt.k52.viettts.VietnameseTTSMini2440Activity; import android.app.Activity; import android.app.ListActivity; import android.content.Intent; im...
package ktmt.k52.viettts.FileChooser; public class Option implements Comparable<Option>{ private String name; private String data; private String path; public Option(String n,String d,String p) { name = n; data = d; path = p; } public String getName() { return name; } public String getData() { ...
package ktmt.k52.viettts.FileChooser; import java.util.List; import ktmt.k52.viettts.R; import android.app.Activity; import android.content.Context; import android.content.Intent; import android.view.LayoutInflater; import android.view.View; import android.view.ViewGroup; import android.view.View.OnClickListener; im...
package ktmt.k52.viettts; import java.io.File; import java.io.FileInputStream; import java.io.IOException; import java.io.InputStreamReader; import java.net.URL; import java.net.URLConnection; import ktmt.k52.viettts.FileChooser.FileChooser; import org.apache.http.ParseException; import android.app.Activity; import...
/* * Copyright (C) 2010 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 com.helloworld; import android.app.Activity; import android.os.Bundle; import android.widget.TextView; public class HelloWorldActivity extends Activity { TextView tv; /** Called when the activity is first created. */ @Override public void onCreate(Bundle savedInstanceState) { super...
/* * Copyright (C) 2007 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) 2006 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) 2006 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) 2006 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) 2006 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) 2006 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) 2006 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) 2006 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) 2006 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) 2006 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) 2006 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) 2006 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) 2006 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) 2006 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) 2007 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) 2007 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) 2007 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) 2007 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) 2007 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) 2007 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) 2007 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) 2006 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) 2006 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...
/* * To change this template, choose Tools | Templates * and open the template in the editor. */ import a_vcard.android.provider.Contacts; import a_vcard.android.syncml.pim.vcard.ContactStruct; import a_vcard.android.syncml.pim.vcard.VCardComposer; import java.io.FileOutputStream; import java.io.OutputStreamWriter;...
/* * To change this template, choose Tools | Templates * and open the template in the editor. */ import a_vcard.android.syncml.pim.PropertyNode; import a_vcard.android.syncml.pim.VDataBuilder; import a_vcard.android.syncml.pim.VNode; import a_vcard.android.syncml.pim.vcard.VCardException; import a_vcard.android.syn...
/* * wangxiaochen only */ package com.naivesoft.util; import android.app.AlertDialog; import android.content.DialogInterface; import android.content.DialogInterface.OnClickListener; import android.content.Context; import android.os.Bundle; import android.view.KeyEvent; import android.view.LayoutInflater...
package com.naivesoft.lottery; import java.util.List; import com.naivesoft.lottery.util.CustomDialog; import com.naivesoft.lottery.widget.BallPannel; import android.app.Activity; import android.os.Bundle; import android.view.View; import android.view.View.OnClickListener; import android.widget.AnalogClock; import an...
/* * WangXiaochen only */ package com.naivesoft.lottery.widget; import java.util.ArrayList; import java.util.Collections; import java.util.List; import com.naivesoft.lottery.R; import com.naivesoft.lottery.util.DisplayUtil; import com.naivesoft.lottery.util.RandomBalls; import com.naivesoft.lottery.util...
package com.naivesoft.lottery.util; import android.content.Context; import android.util.AttributeSet; import android.widget.GridView; /** * The only different between this class and GridView is that * this static grid view cannot be scrolled. So that it will conflict with ScrollView. * And it can make en...
/* * wangxiaochen only */ package com.naivesoft.lottery.util; import com.naivesoft.lottery.R; import android.app.AlertDialog; import android.content.Context; import android.view.View; import android.widget.Button; import android.widget.TextView; /** * A custom dialog with a better UI */ public cl...
package com.naivesoft.lottery.util; import java.util.ArrayList; import java.util.List; import java.util.Random; public class RandomBalls { public static final List<Integer> getRandomBalls(int maxBalls, int randomBallCount) { Random rand = new Random(); List<Integer> results = new ArrayList<Integer>(); ...
/* * Copyright (C) 2011 The Code Bakers * Authors: Cleuton Sampaio e Francisco Rodrigues * e-mail: thecodebakers@gmail.com * Project: http://code.google.com/p/android-webxpose * Site: http://www.thecodebakers.org * * Licensed under the GNU GPL, Version 3.0 (the "License"); * you may not use this file except in ...
package org.thecodebakers.webxposepro; import android.app.Activity; import android.content.Intent; import android.net.Uri; import android.os.Bundle; import android.view.View; public class WsControllerHelp extends Activity { public void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceStat...
/* * Copyright (C) 2011 The Code Bakers * Authors: Cleuton Sampaio e Francisco Rodrigues * e-mail: thecodebakers@gmail.com * Project: http://code.google.com/p/android-webxpose * Site: http://www.thecodebakers.org * * Licensed under the GNU GPL, Version 3.0 (the "License"); * you may not use this file except in ...
/* * Copyright (C) 2011 The Code Bakers * Authors: Cleuton Sampaio e Francisco Rodrigues * e-mail: thecodebakers@gmail.com * Project: http://code.google.com/p/android-webxpose * Site: http://www.thecodebakers.org * * Licensed under the GNU GPL, Version 3.0 (the "License"); * you may not use this file except in ...
package com.example.test1; import android.os.Bundle; import android.app.Activity; import android.view.Menu; import android.view.View; import android.widget.EditText; import android.widget.TextView; public class MainActivity extends Activity { public void tinhtong(View view){ EditText txt1 = (EditText)...
/** Automatically generated file. DO NOT MODIFY */ package com.example.test1; public final class BuildConfig { public final static boolean DEBUG = true; }
package com.buzzz.localePatternLockSwitch; import android.content.BroadcastReceiver; import android.content.Context; import android.content.Intent; import android.util.Log; public class FireReceiver extends BroadcastReceiver { /** * @param context {@inheritDoc}. * @param intent the incoming {@code Intent}. Thi...
package com.buzzz.localePatternLockSwitch; import android.app.Activity; import android.os.Bundle; import android.widget.CompoundButton; import android.widget.ToggleButton; public class TestMain extends Activity { @Override protected void onCreate(Bundle savedInstanceState) { setContentView(R.layout.main); ...
package com.buzzz.localePatternLockSwitch; import com.twofortyfouram.SharedResources; import android.app.Activity; import android.content.Intent; import android.content.pm.PackageManager; import android.os.Bundle; import android.util.Log; import android.view.Menu; import android.view.MenuItem; import android.widget.L...
package com.buzzz.localePatternLockSwitch; public class Constants { //constant for the extra key to store the setting final static String LOCKSCREEN_SETTING = "com.buzzzsoft.localePatternLockSwitch.SWITCHSETTING"; }
package com.example.temp_app; import android.os.Bundle; import android.app.Activity; import android.view.Menu; public class MainActivity extends Activity { @Override protected void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); setContentView(R.layout.activity_main); } ...
package edu.calpoly.android.lab2; import java.util.ArrayList; import android.app.Activity; import android.content.Context; import android.content.res.Resources; import android.os.Bundle; import android.view.KeyEvent; import android.view.View; import android.view.View.OnClickListener; import android.view.View.OnKeyLis...
package edu.calpoly.android.lab2; /** * * This class encapsulates the data pertaining to a Joke. * */ public class Joke { /** The three possible rating values for jokes **/ public static final int UNRATED = 0; public static final int LIKE = 1; public static final int DISLIKE = 2; /** Conta...
package edu.calpoly.android.lab1jmt; import android.app.Activity; import android.os.Bundle; import android.widget.TextView; public class HelloWorld extends Activity { /** Called when the activity is first created. */ @Override public void onCreate(Bundle savedInstanceState) { super.onCreate(savedI...
package edu.calpoly.android.lab1jmt; import android.app.Activity; import android.content.Intent; import android.os.Bundle; import android.view.View; import android.view.View.OnClickListener; import android.widget.Button; import android.widget.EditText; public class NameGetter extends Activity implements OnC...
package dev.zeno.textgame; import android.app.Activity; import android.os.Bundle; public class UnnamedTextGameActivity extends Activity { /** Called when the activity is first created. */ @Override public void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); setCon...