run truffle compile
All files that end with .sol in /contracts are turned into .json files in /build/contracts.
| edittext.setOnFocusChangeListener(new View.OnFocusChangeListener() { | |
| @Override | |
| public void onFocusChange(View v, boolean hasFocus) { | |
| if (!hasFocus) { | |
| Log.d("focus", "focus loosed"); | |
| // Do whatever you want here | |
| } else { | |
| Log.d("focus", "focused"); | |
| } | |
| } |
| /* | |
| * Copyright (C) 2017 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 applicable law or agreed to in writing, software |
| function gitPullAllLocal() { | |
| #if there is a passing argument | |
| if [ -z $1 ] | |
| then | |
| GIT_RELATIVE_DIRECTORY="$(pwd)" | |
| else | |
| GIT_RELATIVE_DIRECTORY=$1 | |
| fi | |
| #go to that relative path if exists |
| function gitPullAllLocal() { | |
| #if there is a passing argument | |
| if [ -z $1 ] | |
| then | |
| GIT_RELATIVE_DIRECTORY="$(pwd)" | |
| else | |
| GIT_RELATIVE_DIRECTORY=$1 | |
| fi | |
| #go to that relative path if exists |