This file contains hidden or 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.kuapay.library.helperClass; | |
| import android.content.Context; | |
| import android.content.SharedPreferences; | |
| public class DefaultTipHelper | |
| { | |
| //region Constant Variables | |
| private static final String TIP_SETTING = "tip_setting"; | |
| private static final String DEFAULT_TIP = "0"; |
This file contains hidden or 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
| public static KuaCustomDialogFragment newInstance(String messageBody, String title, String negativeButtonText, String positiveButtonText, boolean isCancelable) | |
| { | |
| KuaCustomDialogFragment mCustomDialog = new KuaCustomDialogFragment(); | |
| Bundle args = new Bundle(); | |
| args.putString("body", messageBody); | |
| args.putBoolean("cancelable",isCancelable); | |
| if (title!= null) | |
| args.putString("title", title); | |
| if (negativeButtonText == null && positiveButtonText != null) |
This file contains hidden or 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.kuapay.library.fragment; | |
| import android.app.Activity; | |
| import android.app.Dialog; | |
| import android.os.Bundle; | |
| import android.support.v4.app.DialogFragment; | |
| import android.view.LayoutInflater; | |
| import android.view.View; | |
| import android.view.ViewGroup; | |
| import android.view.Window; |
This file contains hidden or 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
| public static int dipToPixels(Context context, float dip) | |
| { | |
| Resources r = context.getResources(); | |
| float px = TypedValue.applyDimension(TypedValue.COMPLEX_UNIT_DIP, dip, r.getDisplayMetrics()); | |
| return (int) px; | |
| } |
This file contains hidden or 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.kuapay.library.activity; | |
| import android.os.Bundle; | |
| import android.view.View; | |
| import android.view.animation.Animation; | |
| import android.view.animation.AnimationUtils; | |
| import android.webkit.CookieManager; | |
| import android.webkit.WebView; | |
| import android.webkit.WebViewClient; | |
| import android.widget.ImageButton; |
This file contains hidden or 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
| <RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android" | |
| android:layout_height="wrap_content" android:layout_width="fill_parent"> | |
| <!-- this can be any layout that you want to mask --> | |
| <LinearLayout android:id="@+id/mainLayout" | |
| android:layout_height="wrap_content" | |
| android:layout_width="fill_parent" android:orientation="vertical" | |
| android:background="@android:color/white"> | |
| <TextView android:layout_height="wrap_content" |
This file contains hidden or 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
| public void replaceProductNotFoundFragment(long id) { | |
| ProductNotFoundFragment frag = ProductNotFoundFragment.newImpl(id); | |
| getSupportFragmentManager().beginTransaction() | |
| .replace(R.id.content_frame, frag, "IMAGE_FRAG") | |
| .commit(); | |
| } |
This file contains hidden or 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
| -02 16:30:57.186: WARN/dalvikvm(10630): threadid=1: thread exiting with uncaught exception (group=0x41560b90) | |
| 12-02 16:30:57.186: ERROR/AndroidRuntime(10630): FATAL EXCEPTION: main | |
| Process: com.biggu.shopsavvy, PID: 10630 | |
| java.lang.IllegalStateException: Not connected. Call connect() and wait for onConnected() to be called. | |
| at com.google.android.gms.internal.de.bc(Unknown Source) | |
| at com.google.android.gms.internal.ez.a(Unknown Source) | |
| at com.google.android.gms.internal.ez$c.bc(Unknown Source) | |
| at com.google.android.gms.internal.ey.getLastLocation(Unknown Source) | |
| at com.google.android.gms.internal.ez.getLastLocation(Unknown Source) | |
| at com.google.android.gms.location.LocationClient.getLastLocation(Unknown Source) |
This file contains hidden or 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
| 12-10 14:41:44.065: ERROR/AndroidRuntime(9590): FATAL EXCEPTION: main | |
| Process: com.biggu.shopsavvy, PID: 9590 | |
| java.lang.RuntimeException: Unable to start activity ComponentInfo{com.biggu.shopsavvy/com.biggu.shopsavvy.LoginTab}: java.lang.IllegalArgumentException: No inject registered for members/com.biggu.shopsavvy.LoginTab. You must explicitly add it to the 'injects' option in one of your modules. | |
| at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2195) | |
| at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2245) | |
| at android.app.ActivityThread.access$800(ActivityThread.java:135) | |
| at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1196) | |
| at android.os.Handler.dispatchMessage(Handler.java:102) | |
| at android.os.Looper.loop(Looper.java:136) | |
| at android.app.ActivityThread.main(ActivityThread.java:5017) |
This file contains hidden or 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-07 13:39:40.227 24247-24306/com.biggu.shopsavvy E/GCMRegistrar﹕ internal error: retry receiver class not set yet | |
| 01-07 13:39:47.824 24247-24247/com.biggu.shopsavvy W/linker﹕ libscanditsdk-android-3.5.2.so has text relocations. This is wasting memory and is a security risk. Please fix. | |
| 01-07 13:39:53.049 24247-24247/com.biggu.shopsavvy W/dalvikvm﹕ threadid=1: thread exiting with uncaught exception (group=0x41d07ba8) | |
| 01-07 13:39:53.049 24247-24247/com.biggu.shopsavvy W/System.err﹕ java.lang.RuntimeException: Fail to get camera info | |
| 01-07 13:39:53.049 24247-24247/com.biggu.shopsavvy W/System.err﹕ at android.hardware.Camera._getCameraInfo(Native Method) | |
| 01-07 13:39:53.049 24247-24247/com.biggu.shopsavvy W/System.err﹕ at android.hardware.Camera.getCameraInfo(Camera.java:208) | |
| 01-07 13:39:53.049 24247-24247/com.biggu.shopsavvy W/System.err﹕ at com.mirasense.scanditsdk.ScanditSDKBarcodePicker.getFirstFrontCamera(ScanditSDKBarcodePicker.java:407) | |
| 01-07 13:39:53.049 24247-24247/com.biggu.shopsavvy W/System.e |
OlderNewer