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
if(bean !== undefined && bean.length > 0) { | |
var s = ""; | |
for (var i = 0; i < bean.length; i++) { | |
s += "<br>" + bean[i].nome + "<br>"; | |
if(bean[i].gol_fatto > 0) { | |
s += bean[i].gol_fatto + "<img src='../assets/images/ic_event_goal' height='51' width='51'>"; | |
} | |
if(bean[i].gol_subito > 0){ | |
s += bean[i].gol_subito + "<img src='../assets/images/ic_event_lost_goal' height='51' width='51'>"; | |
} |
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
api/v1/formazioni/103374/11/939290 | |
No search results. | |
URL params Headers (5) | |
form-data x-www-form-urlencoded raw binary JSON (application/json) | |
1 | |
Send Save Preview Pre-request script Tests Add to collection Reset | |
BodyCookiesHeaders (8)Tests | |
STATUS 200 OK | |
TIME 74 ms |
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
for (var i = 0; i < jsonResult["content"].count; i++) { | |
var location:CLLocationCoordinate2D = CLLocationCoordinate2DMake(jsonResult["content"][i]["lat"].double!, jsonResult["content"][i]["lng"].double!); | |
var annotation = MKPointAnnotation() | |
annotation.setCoordinate(location) | |
annotation.title = jsonResult["content"][i]["indirizzo1"].string | |
mapView.addAnnotation(annotation) | |
} |
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
01-11 15:57:05.504 26789-26789/org.kontalk E/AndroidRuntime﹕ FATAL EXCEPTION: main | |
Process: org.kontalk, PID: 26789 | |
java.lang.ExceptionInInitializerError | |
at org.kontalk.ui.ComposeMessageFragment.<init>(ComposeMessageFragment.java:216) | |
at java.lang.reflect.Constructor.newInstance(Native Method) | |
at java.lang.Class.newInstance(Class.java:1572) | |
at android.support.v4.app.Fragment.instantiate(Fragment.java:404) | |
at android.support.v4.app.Fragment.instantiate(Fragment.java:379) | |
at android.support.v4.app.FragmentActivity.onCreateView(FragmentActivity.java:284) | |
at android.view.LayoutInflater.createViewFromTag(LayoutInflater.java:727) |
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
/* | |
* Kontalk Android client | |
* Copyright (C) 2014 Kontalk Devteam <devteam@kontalk.org> | |
* This program is free software: you can redistribute it and/or modify | |
* it under the terms of the GNU General Public License as published by | |
* the Free Software Foundation, either version 3 of the License, or | |
* (at your option) any later version. | |
* This program is distributed in the hope that it will be useful, |
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
apply plugin: 'com.android.application' | |
android { | |
compileSdkVersion 21 | |
buildToolsVersion "21.1.2" | |
defaultConfig { | |
applicationId "com.example.andrea.myapplication" | |
minSdkVersion 12 | |
targetSdkVersion 21 |
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
/* | |
* Copyright 2014 Soichiro Kashima | |
* | |
* 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 |
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
/* | |
* Copyright 2014 Soichiro Kashima | |
* | |
* 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 |
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
<!-- | |
Copyright 2014 Soichiro Kashima | |
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 |
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
/* | |
* Copyright 2014 Soichiro Kashima | |
* | |
* 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 |