INSTALL_FAILED_DUPLICATE_PERMISSION… C2D_MESSAGE

I am using Google notifications in my app, and until now I have done below in the manifest: <!– GCM –> <uses-permission android:name=”android.permission.GET_ACCOUNTS” /> <!– GCM requires a Google account. –> <uses-permission android:name=”android.permission.WAKE_LOCK” /> <!– Keeps the processor from sleeping when a message is received. –> <uses-permission android:name=”com.google.android.c2dm.permission.RECEIVE” /> <!– This app has permission to … Read more

Full Screen DialogFragment in Android

I’m trying to show an almost fullscreen DialogFragment. But I’m somehow not able to do so. The way I am showing the Fragment is straight from the android developer documentation FragmentManager f = ((Activity)getContext()).getFragmentManager(); FragmentTransaction ft = f.beginTransaction(); Fragment prev = f.findFragmentByTag(“dialog”); if (prev != null) { ft.remove(prev); } ft.addToBackStack(null); // Create and show the … Read more

Android – shadow on text?

I am wondering how to add shadow on text in android? I have the following code which is applied on a bitmap and I wanted to be shadowed… paint.setColor(Color.BLACK); paint.setTextSize(55); paint.setFakeBoldText(false); paint.setShadowLayer(1, 0, 0, Color.BLACK); //This only shadows my whole view… 6 Answers 6

SSL certificate is not trusted – on mobile only [closed]

Closed. This question is off-topic. It is not currently accepting answers. Want to improve this question? Update the question so it’s on-topic for Stack Overflow. Closed 9 years ago. Improve this question My site is working great over SSL in my desktops (chrome) I have a green lock near the address bar saying “Identity verified” … Read more

Android M Permissions : Confused on the usage of shouldShowRequestPermissionRationale() function

I was going through the official doc about the new Permissions model in Android M. It talks about the shouldShowRequestPermissionRationale() function which returns true if the app has requested this permission previously and the user denied the request. If the user turned down the permission request in the past and chose the Don’t ask again … Read more