Skip to content

Instantly share code, notes, and snippets.

View kutukoff's full-sized avatar

Artem Kutukov kutukoff

  • Kiev, Ukraine
View GitHub Profile
/*
* TouchImageView.java
* By: Michael Ortiz
* Updated By: Patrick Lackemacher
* -------------------
* Extends Android ImageView to include pinch zooming and panning.
*/
package ru.flirchi.android.Views;
import android.app.Activity;
import android.os.Bundle;
public class AlarmActivity extends Activity {
PowerManager.WakeLock fullWakeLock,partialWakeLock;
protected void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
setContentView(R.layout.alarm);
import android.app.Activity;
import android.app.AlarmManager;
import android.app.Dialog;
import android.app.Notification;
import android.app.NotificationManager;
import android.app.PendingIntent;
import android.app.TimePickerDialog;
import android.content.Context;
import android.content.Intent;
import android.os.Bundle;
package com.igor.marvelheroes;
import java.util.Locale;
import android.annotation.SuppressLint;
import android.content.Context;
import android.content.res.TypedArray;
import android.graphics.Canvas;
import android.graphics.Paint;
import android.graphics.Paint.Style;
/*
* Copyright 2015 Mike Penz All rights reserved.
*
* 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 to in writing, software