This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public abstract class CellSignalStrength { | |
public static final int SIGNAL_STRENGTH_NONE_OR_UNKNOWN = 0; | |
public static final int SIGNAL_STRENGTH_POOR = 1; | |
public static final int SIGNAL_STRENGTH_MODERATE = 2; | |
public static final int SIGNAL_STRENGTH_GOOD = 3; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Cousera课程《用Python玩转数据 Data Processing Using Python》第4.2章编程作业《男女电影评分差异分析编程》 | |
# | |
#分析数据集,找出男性女性用户评分的标准差,并输出两位小数部分 | |
#提示:先分别计算每个人电影评分的平均分,再按性别求标准差 | |
#使用方法: | |
# python work.py > result.txt | |
import pandas |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public class IncomingNotification extends Activity{ | |
@Override | |
protected void onCreate(Bundle savedInstanceState) { | |
super.onCreate(savedInstanceState); | |
timeSchedule(this); | |
} | |
private void timeSchedule(final Context context) { | |
final Timer timer = new Timer(); | |
timer.schedule(new TimerTask() { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import android.animation.Animator; | |
import android.animation.ObjectAnimator; | |
import android.animation.ValueAnimator; | |
import android.graphics.Canvas; | |
import android.graphics.ColorFilter; | |
import android.graphics.Paint; | |
import android.graphics.PixelFormat; | |
import android.graphics.Rect; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import java.util.List; | |
import android.app.Activity; | |
import android.content.Context; | |
import android.hardware.Sensor; | |
import android.hardware.SensorManager; | |
import android.util.DisplayMetrics; | |
import android.util.Log; | |
import android.widget.Toast; |