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
language: java | |
jdk: oraclejdk7 | |
before_install: | |
- export TERM=dumb | |
- sudo apt-get install -qq libstdc++6:i386 lib32z1 | |
- export COMPONENTS=build-tools-19.0.3,build-tools-19.1.0,android-19,extra-android-m2repository | |
- curl -L https://raw.github.com/embarkmobile/android-sdk-installer/version-1/android-sdk-installer | bash /dev/stdin --install=$COMPONENTS | |
- source ~/.android-sdk-installer/env |
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
E/SQLiteLog(14234): (1) ambiguous column name: conversation_id | |
D/AndroidRuntime(14234): Shutting down VM | |
E/AndroidRuntime(14234): FATAL EXCEPTION: IntentService[ScribeService] | |
E/AndroidRuntime(14234): Process: com.twitter.android, PID: 14234 | |
E/AndroidRuntime(14234): android.database.sqlite.SQLiteException: ambiguous column name: conversation_id (code 1): , while compiling: CREATE VIEW dm_inbox AS SELECT conversations.conversation_id AS conversation_id,conversations.type AS type,conversations.title AS title,conversations.is_muted AS is_muted,conversations.last_readable_event_id>conversations.last_read_event_id AS is_unread,conversation_entries._id AS _id,conversation_entries.entry_id AS entry_id,conversation_entries.data AS data,conversation_entries.entry_type AS entry_type,conversation_entries.created AS created,most_recent_user.user_id AS user_id,most_recent_user.name AS s_name,most_recent_user.username AS s_username,most_recent_user.image_url AS s_profile_image_url,count(distinct(conversation_participants.u |
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
//def runtimeJars = plugins.findPlugin(com.android.build.gradle.AppPlugin).runtimeJars | |
def runtimeJars = plugins.findPlugin(com.android.build.gradle.AppPlugin).bootClasspath |
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
//Support inner classes | |
findViewById(R.id.button).setOnClickListener(new View.OnClickListener() { | |
@Override | |
@SendEvent(category = "button", action = "click") | |
public void onClick(View v) { | |
onButtonClicked(); | |
} | |
}); |
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
this$0: Lcom/uphyca/galette/GAletteInstrumentationTest$NestedTestClass; | |
this$1: Lcom/uphyca/galette/GAletteInstrumentationTest$NestedNestedTestClass$InnerClass; |
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
String packageName = "com.example.app"; // アプリケーションのパッケージ名(AndroidManifestに書くやつ) | |
int identifier = context.getResources() | |
.getIdentifier("foo", "id", packageName); |
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
Context context = ... | |
String name = context.getResources().getResourceName(R.id.action_bar); |
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
package com.uphyca.fragmenttest; | |
import android.content.Intent; | |
import android.os.Bundle; | |
import android.support.v4.app.Fragment; | |
import android.support.v4.app.FragmentActivity; | |
import android.support.v4.app.FragmentManager; | |
import android.test.ActivityUnitTestCase; | |
import android.view.LayoutInflater; |
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
var backing = MOON.getCurrentPage().backing; | |
var paper = MOON.getPaperJSON(backing); | |
var white = -1; | |
var penColor = (0x00aaff | (0xff000000)); | |
var pressure = 0.5; | |
paper.color = white; | |
paper.strokes = []; |
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
diff --git a/App/MOONBlock/js/block.enchant.js b/App/MOONBlock/js/block.enchant.js | |
index 499ed94..ddcb39e 100755 | |
--- a/App/MOONBlock/js/block.enchant.js | |
+++ b/App/MOONBlock/js/block.enchant.js | |
@@ -1620,6 +1620,11 @@ enchant.block.BlockLabel = enchant.Class.create(enchant.Label, { | |
initialize: function(text) { | |
enchant.Label.call(this, text); | |
}, | |
+ _update: function() { | |
+ var metrics = this.getMetrics(this.text); |