Search found 137 matches

by Paul
Tue May 24, 2016 10:41 am
Forum: Uber for Taxi
Topic: Add Currency
Replies: 1
Views: 2174

Re: Add Currency

Hi,

This would be a customization, as the query which you have asked is for an enhancement to the base script. We can do this as customization for you, please do send a mail to contact@learnsauce.com with your requirement details.
by Paul
Fri Mar 04, 2016 1:37 pm
Forum: General
Topic: Difficult to connect to the camera service
Replies: 1
Views: 2632

Re: Difficult to connect to the camera service

Few things: Why are your use-permissions and use-features tags in your activity tag. Generally, permissions are included as direct children of your <manifest> tag. This could be part of the problem. According to the android camera open documentation, a runtime exception is thrown: if connection to t...
by Paul
Fri Mar 04, 2016 1:36 pm
Forum: General
Topic: How to disable an ImageButton
Replies: 1
Views: 2698

Re: How to disable an ImageButton

If you want to show the button as disabled (if you have that set up in an xml drawable file) doing both setClickable(false) AND setEnabled(false) will do the trick.
by Paul
Fri Mar 04, 2016 1:34 pm
Forum: General
Topic: Uninstalling an android app on the device
Replies: 1
Views: 2387

Re: Uninstalling an android app on the device

Press on the app listed that you want to delete. A screen will appear that will give some details about the app, including how much storage the app consumes, how much of information is stored in your cache file and any default launch settings. Once you are certain that you have selected the correct ...
by Paul
Fri Mar 04, 2016 1:32 pm
Forum: General
Topic: Does the Android 5.0 have Material-styled tabs
Replies: 1
Views: 2307

Re: Does the Android 5.0 have Material-styled tabs

Look at the latest version of Google Play(down below). They are using the SlidingTabsColors(not SlidingTabsBasic) but with colors. You need to look at those two files: SlidingTabLayout.java and SlidingTabStrip.java and simply change the color to match your ActionBar/TooBar color. Also, you will noti...
by Paul
Fri Mar 04, 2016 1:30 pm
Forum: General
Topic: Does the switching between landscape and portrait mode make the Intent to lose values
Replies: 1
Views: 3052

Re: Does the switching between landscape and portrait mode make the Intent to lose values

Write this in your manifest file..in which activity you want this--

android:configChanges="orientation|keyboardHidden"
Edited: Use this one for new APIs versions--

android:configChanges="orientation|keyboardHidden|screenSize"
Definitely it will work..
by Paul
Fri Mar 04, 2016 1:28 pm
Forum: General
Topic: Playing an android notification sound
Replies: 1
Views: 2572

Re: Playing an android notification sound

If anyone's still looking for a solution to this, I found an answer at How to play ringtone/alarm sound in Android try { Uri notification = RingtoneManager.getDefaultUri(RingtoneManager.TYPE_NOTIFICATION); Ringtone r = RingtoneManager.getRingtone(getApplicationContext(), notification); r.play(); } c...
by Paul
Fri Mar 04, 2016 1:27 pm
Forum: General
Topic: can we include *.so library in Android Studio?
Replies: 1
Views: 2651

Re: can we include *.so library in Android Studio?

I had the same problem. Check out the comment in https://gist.github.com/khernyo/4226923#comment-812526

It says:

for gradle android plugin v0.3 use "com.android.build.gradle.tasks.PackageApplication"
That should fix your problem.
by Paul
Fri Mar 04, 2016 1:26 pm
Forum: General
Topic: How to capture a screenshot of a whole View
Replies: 1
Views: 2365

Re: How to capture a screenshot of a whole View

Using @softwaresupply answer causes problem in my case where my view was getting redrawn and getting completely white. There is an easier solution to get screenshot where you don't even have to supply width and height as parameters. Use Drawing Cache. public static Bitmap loadBitmapFromView(View v) ...
by Paul
Fri Feb 26, 2016 12:46 pm
Forum: FreshIM Pro
Topic: snap chat
Replies: 1
Views: 4011

Re: snap chat

Hi,

Here we are reducing the image size to avoid OutOfMemory Exceptions, you can change the quality parameter in the compress funciton.

Go to advanced search