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"?> | |
<manifest xmlns:android="http://schemas.android.com/apk/res/android" | |
package="com.gps.sederhana" | |
android:versionCode="1" | |
android:versionName="1.0" > | |
<uses-sdk android:minSdkVersion="8" /> | |
<uses-permission android:name="android.permission.ACCESS_FINE_LOCATION" > | |
</uses-permission> |
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"?> | |
<manifest xmlns:android="http://schemas.android.com/apk/res/android" | |
package="com.map" | |
android:versionCode="1" | |
android:versionName="1.0" > | |
<uses-sdk android:minSdkVersion="8" /> | |
<uses-permission android:name="android.permission.INTERNET" > | |
</uses-permission> | |
<application |
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"?> | |
<manifest xmlns:android="http://schemas.android.com/apk/res/android" | |
package="com.map.marker" | |
android:versionCode="1" | |
android:versionName="1.0" > | |
<uses-sdk android:minSdkVersion="8" /> | |
<uses-permission android:name="android.permission.INTERNET" /> | |
<uses-permission android:name="android.permission.ACCESS_FINE_LOCATION" > |
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.lostmind.kreatip.baru; | |
import javax.microedition.khronos.opengles.GL10; | |
import rajawali.BaseObject3D; | |
import rajawali.animation.Animation3D; | |
import rajawali.animation.RotateAnimation3D; | |
import rajawali.lights.DirectionalLight; | |
import rajawali.materials.SimpleMaterial; | |
import rajawali.math.Matrix4; |
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
#Problem error | |
error: error while loading CharSequence, class file '/usr/lib/jvm/java-8-oracle/jre/lib/rt.jar(java/lang/CharSequence.class)' is broken | |
#requierement | |
- i install scala 2.9.1 version (via console sudo apt-get install scala) | |
and java 8 version on my Ubuntu 12.04. | |
#suspect | |
- scala 2.9.1 version which is not yet support for java 8 |
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
import SJProgressHUD | |
//import anything | |
//we also put SJProgressHUD in almost ViewController which need to render loading view. | |
class LoginVC: UIViewController { | |
func viewDidLoad(){ | |
//other code here... | |
} | |
func buttonTapped(){ | |
//other logic here... | |
SJProgressHUD.show(...) |
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
import SJProgressHUD | |
class UIViewControllerExtension { | |
extension UIViewController { | |
func showWaiting(message: String){ | |
SJProgressHUD.showWaiting(message) | |
} | |
func showError(message: String){ | |
SJProgressHUD.showError(message) | |
} |
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
//no need to import SJProgressHUD | |
class LoginVC:UIViewController{ | |
func viewDidLoad(){ | |
} | |
func buttonTapped(){ | |
//magic here... wa can call it any where on each UIViewController | |
showWaiting("please wait...") | |
} | |
} |
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
class UILoadingViewController: UIViewController{ | |
func showWaiting(message: String){ | |
print("show waiting from UILoadingViewController with message \(message)") | |
} | |
} | |
class LoginVC : UILoadingViewController{ | |
func buttonTapped(){ | |
showWaiting(message: "show me!") | |
} |
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
protocol UILoadingView { | |
func showLoading() | |
func showLoadingWithLabel(title:String?, subtitle:String) | |
func showErrorWithLabel(message: String) | |
func showSuccessWithLabel(message:String) | |
func hideLoading() | |
} |
OlderNewer