POSTS TAGGED: library

Tired of Users Blocking the Ads in Your App?

android-bucks

Many Android developers make their livings with in-app advertisements. We know that as users, ads can be annoying, but in many cases, these are what pay the bills. Naturally, though, many end users then turn to ad blockers to bypass these ads.

If you are an app developer, you know that fighting with Ad Blockers is often a losing battle. Luckily, there is a light at the end of the tunnel for such developers. XDA Forum Member Droidspirit released an open source library that allows devs to show banners for your own products, or the products of your partners. And when Internet connectivity is not available, this library still shows banners stored within the application.

Naturally, many end users ma. . . READ ON »

1 comment Read On

Add RSS Functionality to Your App with a Simple Library

rssicon1

Mobile devices have become replacements for full sized PCs in a variety of circumstances. Small and easily accessible, our phones are perfect companions for our daily activities. However, mobile network connections aren’t always affordable, and often times, data transfer quotas prove problematic. Because of this, RSS is quite popular on mobile devices.

If you were to try to create a good RSS reader app from scratch, you’d likely find that this is a difficult task. However, XDA Forum Member shirwa decided to make things a bit easier by providing a small, but useful library to bring RSS into your app.

This RSS library lists all the feeds from your selected sources without any imag. . . READ ON »

1 comment Read On

JDroidLib out of Beta, Brings New Package Manager and Greater Command Flexibility

jdroidlib

We first featured XDA Senior Member Beatsleigher‘s JDroidLib back in December of last year, as a Java-based alternative to the C# library AndroidLib. At the time, the JDroidLib library allowed developers to install ADB and fastboot on supported platforms. Then in March of this year, JDroidLib was given a substantial overhaul as it entered its beta stage. This update brought new features such as a revamped installation procedure to fix errors, device detection, the ability to pull device information, reboot methods, and the ability to execute any type of command.

Now, JDroidLib is officially out of beta. And just like the previous two updates described above, it has gained some key n. . . READ ON »

1 comment Read On

Add Swipe Utilities to Your App with SimpleFingerGestures Library

android-finger-race-app

Gestures have become an increasingly important element in smartphone UI navigation. With every swipe, pinch, and drag, we’ve seen the Android user experience grow into something incredibly user friendly and intuitive. Some OEMs have implemented their own UI-specific gestures to activate various features. But despite their prevalence, there aren’t very many developer libraries to help new devs make use of them.

XDA Recognized Developer championswimmer hopes to make it easier for other developers to get started with gesture-based input thanks to his SimpleFingerGestures library. With it, devs can add gesture functionality such as two-finger swipe up, pinch, one-finger swipe . . . READ ON »

1 comment Read On

Major Update to JDroidLib Brings Easier Installation, Device Detection, and Functionality

JDroidLib

You may recall that back in December, we briefly talked about XDA Senior Member Beatsleigher‘s JDroidLib. This library was conceptually based on the previously covered AndroidLib .NET library by Recognized Developer regaw_leinad, but built on Java in order to be compatible with more than .NET languages.

When we previously covered JDroidLib, the project allowed users to easily install ADB and Fastboot on any every supported platform. However, we also noted that more features were in the works. Now, JDroidLib has made it into the beta stage. And as expected, it packs quite a few new features including a revamped installation to fix some errors, device detection, the ability to pull device i. . . READ ON »

3 comments Read On

Fix the Extended ActionBar with a Handy Library

android-kitkat-translucent-status-bar

With KitKat on the Nexus 5, the default Google Experience Launcher displays aesthetically appealing translucent status and navigation bars. This was a long-awaited feature, which was already available in several custom ROMs ever since Froyo or even earlier. Obviously, however, time runs slower for official Android. But after all these years, the launcher finally looks like it should have from the beginning.

Translucent bars look great, but Google didn’t entirely avoid errors when implementing it. One example is when using ActionBar, the car color doesn’t extend behind the status bar itself. Luckily there is an easy fix, and it comes from XDA Forum Member Takhion.

Extended ActionBar is a s. . . READ ON »

no comments Read On

Android Library to Smooth the Progress Bar in Your App

image

If you are an app developer, you more than likely use many external libraries created by other developers. These libraries can be used to beautify your app’s UI or simply add some new features. One of the most visible parts in many different types of applications is the progress bar, which of course can be improved, as practically everything else in the most popular mobile operating system.

Android is not Holo blue only, and can benefit from a variety of colors. And thanks to a library by XDA Forum Member Castorflex, your progress bars can be a testament to this. With SmoothProgressBar, it’s possible to completely change the look of the basic progress bar. The library changes the animation signific. . . READ ON »

no comments Read On

Add Background Gmail Functionality to Your App

p4V3i8f

If you are creating a new application, you may have thought about adding in Gmail connectivity. After all, if the application is a social app, it’s nice to be able to share things with friends. Even if it’s not a social app, there are dozens of other reasons why you would perhaps want to allow for Emails to be sent directly from the app.

In Android, there are various ways of accomplishing this. Most would go about this using the Share intent and then having the selected content automatically populate in a new Gmail message. While this works and is the best solution in a variety of situations, there are other times in which you’d be better off keeping your users within the confines of your own app.

Tha. . . READ ON »

no comments Read On

Modified ViewPager Library Reduces the Size of Your Application

1

The ViewPager class is commonly used in Android, starting from Honeycomb onwards. You can see it in action in the Google Play Store, where you can browse applications or games by category, by simply swiping left or right.

These applications are also often created to be compatible with older versions of Android such as Froyo. However, not many devices run Froyo anymore, as more than 75% of devices run Honeycomb or greater. Keeping compatibility with older versions forces the developer to make the APK bigger and possibly slower.

XDA Senior Member gade12 modified the Google Library to reduce its size by removing compatibility libs. Gade12 removed all unrelated code before API level 11. The ViewPager libra. . . READ ON »

1 comment Read On