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.cyrilmottier.android.avelov.database; | |
| import android.database.Cursor; | |
| import android.database.CursorWrapper; | |
| import android.os.Bundle; | |
| /** | |
| * A Cursor that completely re-writes the actual Cursor capabilities related to extras. It allows clients to use the setExtras(Bundle) (this | |
| * method is actually hidden in the Android framework). | |
| * |
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.cyrilmottier.test; | |
| public class ClassA { | |
| public ClassA() { | |
| System.out.println("ClassA()"); | |
| method(); | |
| } | |
| public void method() { |
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
| java.lang.NoClassDefFoundError: android.security.MessageDigest | |
| at com.google.android.maps.KeyHelper.getSignatureFingerprint(KeyHelper.java:60) | |
| at com.google.android.maps.MapActivity.createMap(MapActivity.java:552) | |
| at com.google.android.maps.MapActivity.onCreate(MapActivity.java:422) | |
| at com.cyrilmottier.android.polarissample.MainActivity.onCreate(MainActivity.java:92) | |
| at android.app.Activity.performCreate(Activity.java:4492) | |
| at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1049) | |
| at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:1920) | |
| at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:1981) | |
| at android.app.ActivityThread.access$600(ActivityThread.java:123) |
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.cyrilmottier.android.citybikes; | |
| import android.os.Bundle; | |
| import com.cyrilmottier.android.avelov.R; | |
| import com.cyrilmottier.android.citybikes.app.BaseActivity; | |
| public class LicensesActivity extends BaseActivity { | |
| private WebView mWebView; |
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
| private OnPageChangeListener mOnPageChangeListener = new OnPageChangeListener() { | |
| @Override | |
| public void onPageSelected(int position) { | |
| // Do whatever you wan't to do. It's up to you ... not me :) | |
| } | |
| @Override | |
| public void onPageScrolled(int position, float positionOffset, int positionOffsetPixels) { | |
| // Do whatever you wan't to do. It's up to you ... not me :) | |
| } |
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.cyrilmottier.android.tests; | |
| import android.view.View; | |
| import android.view.ViewGroup; | |
| /** | |
| * @author Cyril Mottier | |
| */ | |
| public class ViewAdditions { |
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
| java.lang.RuntimeException: Unable to get provider com.cyrilmottier.android.citybikes.provider.CityBikesProvider: java.lang.ClassNotFoundException: com.cyrilmottier.android.citybikes.provider.CityBikesProvider | |
| at android.app.ActivityThread.installProvider(ActivityThread.java:4780) | |
| at android.app.ActivityThread.installContentProviders(ActivityThread.java:4532) | |
| at android.app.ActivityThread.handleBindApplication(ActivityThread.java:4486) | |
| at android.app.ActivityThread.access$1300(ActivityThread.java:139) | |
| at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1306) | |
| at android.os.Handler.dispatchMessage(Handler.java:99) | |
| at android.os.Looper.loop(Looper.java:156) | |
| at android.app.ActivityThread.main(ActivityThread.java:4977) | |
| at java.lang.reflect.Method.invokeNative(Native Method) |
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.cyrilmottier.android.androidtips; | |
| import android.content.BroadcastReceiver; | |
| import android.content.Context; | |
| import android.content.Intent; | |
| import android.content.IntentFilter; | |
| import android.content.res.Configuration; | |
| import android.os.Build; | |
| import android.util.AttributeSet; | |
| import android.view.View; |
NewerOlder