Skip to content

Instantly share code, notes, and snippets.

CREATE TABLE `tb_cache_ciclo_dashboard` (
`id_cache_ciclo_dashboard` INT NOT NULL AUTO_INCREMENT ,
`ciclo` VARCHAR( 8 ) NOT NULL COMMENT 'ciclo bajo el que se genero la estructura de laboratorio',
`cache` LONGTEXT NOT NULL COMMENT 'string en base 64 que representa el arreglo de estructura del ciclo',
`fecha_actualizacion` DATETIME NOT NULL COMMENT 'fecha de la ultima actualizacion del cache de este ciclo',
PRIMARY KEY ( `id_cache_ciclo_dashboard` )
) ENGINE = MYISAM ;
<?xml version="1.0" encoding="utf-8"?>
<ViewFlipper
xmlns:android="http://schemas.android.com/apk/res/android"
android:id="@+id/your_flipper"
android:screenOrientation="portrait"
android:orientation="vertical"
android:layout_width="fill_parent"
android:layout_height="fill_parent">
<!-- the second view on the flipper -->
<LinearLayout
public class MAIN extends Activity {
private static final int TAKE_PICTURE_CODE = 100;
private static final int MAX_FACES = 5;
private ViewFlipper mFlippler;
private ImageView mThePicture;
private TextView mTheMessage;
private Bitmap cameraBitmap = null;
<?xml version="1.0" encoding="utf-8"?>
<ViewFlipper
xmlns:android="http://schemas.android.com/apk/res/android"
android:id="@+id/your_flipper"
android:screenOrientation="portrait"
android:orientation="vertical"
android:layout_width="fill_parent"
android:layout_height="fill_parent">
<!-- the second view on the flipper -->
<LinearLayout
JSONArray data = jObject.getJSONArray("data");
JSONObject location = data.getJSONObject(0).getJSONObject("place").getJSONObject("location");
String lat = location.getString("latitude");
String lon = location.getString("longitude");
'''
Feel free to modify and/or enhance this tool. Also feel free to fix bugs you found.
I would be happy if you could share your modified version on the blog, where this tool
was posted.
Blog-URL: http://www.droidnova.com/android-resource-tracker,723.html
Project Page: http://code.google.com/p/androidresourcetracker
This tool is from a developer for developers, so be like a good colleague and share your
improvements to this tool with the others.
07-26 13:11:35.919 30141 30141 I MillennialMediaAdSDK: Last ad wasn't fully downloaded. Download again.
07-26 13:11:35.949 30141 30141 I MillennialMediaAdSDK: Millennial Media Ad View caching request
07-26 13:11:36.019 30141 30141 I MillennialMediaAdSDK: Millennial Media Ad View caching request
07-26 13:11:36.019 30141 30141 I MillennialMediaAdSDK: Millennial restarting or finishing caching ad.
07-26 13:11:39.919 30141 30201 W System.err: java.io.FileNotFoundException: http://media.millennialmedia.com/images/rich/interactive_video/T/test/810/leavebehind.jpg
07-26 13:11:39.919 30141 30201 W System.err: at com.millennialmedia.android.MMAdViewController.downloadComponent(MMAdViewController.java:1393)
07-26 13:11:39.919 30141 30201 W System.err: at com.millennialmedia.android.MMAdViewController.access$1000(MMAdViewController.java:54)
07-26 13:11:39.919 30141 30201 W System.err: at com.millennialmedia.android.MMAdViewController$DownloadAdTask.doInBackground(MMAdViewController.java:1299)
07-26 13:11:39.919 30141
@casidiablo
casidiablo / SimpleCursorLoader.java
Created September 14, 2011 20:03
Used to write apps that run on platforms prior to Android 3.0. When running on Android 3.0 or above, this implementation is still used; it does not try to switch to the framework's implementation. See the framework SDK documentation for a class overview
/*
* Copyright 2012 CodeSlap - Cristian Castiblanco
*
* 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
package com.egoclean.couponkim.ui;
import android.app.Activity;
import android.os.Bundle;
import com.egoclean.couponkim.R;
public class HomeActivityTest extends Activity {
@Override
protected void onCreate(Bundle savedInstanceState) {
#include <Servo.h>
Servo servo1;
int posicion;
void setup() {
servo1.attach(3);
}
void loop() {