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
delimiter // | |
CREATE FUNCTION distancia_rota | |
(p_x1 FLOAT, p_y1 FLOAT, p_x2 FLOAT, p_y2 FLOAT) | |
RETURNS FLOAT | |
DETERMINISTIC | |
BEGIN | |
DECLARE v_dist FLOAT; | |
DECLARE A FLOAT; DECLARE B FLOAT; | |
DECLARE C FLOAT; DECLARE D FLOAT; | |
SET v_dist = 0; |
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
<?xml version="1.0" encoding="utf-8"?> | |
<resources> | |
<style name="AppTheme" parent="Theme.AppCompat.Light.NoActionBar"> | |
<item name="colorPrimary">@color/green_color</item> | |
<item name="colorPrimaryDark">@color/green_color</item> | |
<item name="android:statusBarColor">@color/green_color</item> | |
<item name="android:navigationBarColor">@color/green_color</item> | |
<item name="drawerArrowStyle">@style/DrawerArrowStyle</item> | |
</style> |
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
<!-- Base application theme. --> | |
<style name="AppTheme" parent="Theme.AppCompat.Light.NoActionBar"> | |
<item name="colorPrimary">@color/green_color</item> | |
<item name="colorPrimaryDark">@color/green_color</item> | |
<item name="android:windowNoTitle">true</item> | |
<item name="windowActionBar">false</item> | |
<item name="drawerArrowStyle">@style/DrawerArrowStyle</item> | |
</style> |
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 getinfo.net.br.myapplication; | |
import java.util.List; | |
import android.app.Activity; | |
import android.content.Context; | |
import android.view.LayoutInflater; | |
import android.view.View; | |
import android.view.ViewGroup; | |
import android.widget.BaseAdapter; | |
import android.widget.TextView; |
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
08-05 10:10:09.469 2277-2277/br.net.getinfo.treinamentos E/AndroidRuntime﹕ FATAL EXCEPTION: main | |
Process: br.net.getinfo.treinamentos, PID: 2277 | |
java.lang.RuntimeException: Unable to start activity ComponentInfo{br.net.getinfo.treinamentos/br.net.getinfo.treinamentos.activity.MainActivity}: java.lang.UnsupportedOperationException: addView(View) is not supported in AdapterView | |
at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2318) | |
at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2396) | |
at android.app.ActivityThread.access$800(ActivityThread.java:139) | |
at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1293) | |
at android.os.Handler.dispatchMessage(Handler.java:102) | |
at android.os.Looper.loop(Looper.java:149) | |
at android.app.ActivityThread.main(ActivityThread.java:5257) |
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
<?xml version="1.0" encoding="utf-8"?> | |
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" | |
android:layout_width="match_parent" | |
android:layout_height="wrap_content" | |
android:orientation="horizontal" | |
android:weightSum="10"> | |
<LinearLayout | |
android:layout_width="match_parent" | |
android:layout_weight="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
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" | |
xmlns:tools="http://schemas.android.com/tools" | |
android:layout_width="match_parent" | |
android:layout_height="match_parent" | |
android:orientation="vertical" | |
tools:context="br.net.getinfo.treinamentos.fragment.QuizFragment"> | |
<ListView | |
android:id="@+id/lista_quiz" | |
android:layout_width="match_parent" |
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
1- adicionando todos arquivos que foram modificados localmente para serem enviados para o repositório | |
git add . | |
adicionando somente um arquivo | |
git add full_path_file.extensao | |
2- Criando commit e definindo o que foi feito no commit, costuma-se utilizar verbos(add, update, fix...) | |
git commit -m "add function deleteComanda()" | |
3- Enviando o commit para o repositório | |
git push -u origin master ou git push |
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
# files for the dex VM | |
*.dex | |
# Java class files | |
*.class | |
# built native files (uncomment if you build your own) | |
# *.o | |
# *.so |
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
<?xml version="1.0" encoding="utf-8"?> | |
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" | |
android:layout_width="match_parent" | |
android:layout_height="match_parent" | |
android:orientation="vertical"> | |
<LinearLayout | |
android:layout_width="match_parent" | |
android:layout_height="match_parent" | |
android:weightSum="10" |
OlderNewer