POSTS TAGGED: library

Easy Add a Rating Popup to Your Application

unrated-app

Every app and game developer undoubtedly knows about importance of having a good Google Play Store rating. These little stars very often determine whether app is commercially successful. Without ratings, many great apps will remain buried in the 20th page of your search results.

Many applications display nag screens, prompting users to leave ratings in the Google Play Store. To use this method, you need a library, which must be included in your app. Thankfully, you don’t have to write such a module yourself, as XDA Forum Member mariosangiorgio has done so already and was kind enough to share it with everybody. The developer carefully explained how to use his library in his Github repository.

If you are . . . READ ON »

no comments Read On

PyAdb Python Library Helps Your PC and Phone Communicate

ADB1

A few days, we talked about AndroPy, a Python library meant to improve communications between your Android device and your *Nix-based PC. While ADB is easy enough to work with for most, many beginners aren’t quite familiar with this vital debugging tool.

XDA Senior Member zantekk‘s AndroPy was only compatible with Linux systems running x86-64 architecture. However, Recognized Developer cybojenix decided to use this idea to make a library that is also compatible with Windows, and so PyAdb was created.

PyAdb allows you to use the standard ADB commands within the terminal or command prompt. Pushing or pulling files is no longer a hard task. The only missing feature is shell integration, but ho. . . READ ON »

1 comment Read On

Share Files Dynamically with Open Source Library

android-sharing

There is an almost infinite wealth of app development knowledge housed within Google’s Developer Pages. However, not every solution presented by Google is the most optimal, and there is still plenty of room for some improvement. A good example is the ShareActionProvider class that is responsible for the share option within apps. You’ve undoubtedly encountered this in apps like Gallery, for example.

XDA Recognized Contributor nikwen noticed that data sharing isn’t done dynamically, so it consumes more time. This is because the application need to identify the file type. Then, it creates the correct sharing activity. Nikwen decided to improve this library by creating his own open . . . READ ON »

no comments Read On

AndroPy Python Library Allows Your Linux PC to Easily Communicate with Your Phone

python

When you get a new Android device, you are undoubtedly extremely excited. More than likely, one of your buddies told you about these so-called “ROMs,” root access, and so on. But you need to start somewhere, and this is how your journey on XDA begins.

For most of you, using ADB is simple like making tea. However, some of less experienced folks may struggle with installing a fully working ADB and fastboot, especially on Linux. Android Debug Bridge is a must when you want to get a log of your device or simply to root it sometimes.

Inspired by JDroidLib, XDA Senior Member zantekk wrote a python equivalent to make the communication between your phone / tablet and Linux PC easier. This library is still . . . READ ON »

1 comment Read On

Improve Your App’s Aesthetics with Header2ActionBar Library

device-2013-12-05-115925

XDA is the place where many amazing projects start. We have seen the first Android builds for the HTC HD2, first root on many devices, and many other epic projects. That’s why we are calling XDA a place for developers, by developers. A few days ago we talked about about JDroidLib, which was meant to improve the communication between PC and phone. Now it’s time to highlight another amazing piece of work.

XDA Recognized Developer AChep (Artem Chepurnoy) wrote a library to replicate the effect seen in Google Music and other Google applications. In these apps, the image visible on top of the screen becomes less visible while scrolling down. Achep was kind enough to demonstrate the functionality of hi. . . READ ON »

1 comment Read On

A New Android Communications Library: JDroidLib Java

JDroidLib

Over a year ago, we talked about AndroidLib, the .NET assembly library written in C# that easily handles communication between a connected Android device and your program. It’s a great and innovative project, but it is unfortunately limited to Windows systems, as .NET works only with C#, F#, Visual C++, Visual Basic, Visual C++, and Visual C++, rather than the cross-platform Java.

Inspired by the AndroidLib idea, XDA Senior Member Beatsleigher started a project to rewrite the project in Java. The idea is simple. This project can now be used with Unix-like systems such as Linux or MacOS. So far, this projects allows users to easily install ADB on every supported platform. The same thing can be done wit. . . READ ON »

16 comments Read On

ReglOLib Helps Your Java App Communicate with the Windows Registry

Capture

If you’re creating certain types of apps in Java that are geared towards Windows users, you may run into some difficulty accessing and making changes to the Windows registry from within your app. Unlike .Net, which has provisions specifically to allow this, Java doesn’t inherently support this type of operation. This is initially what XDA Senior Member Beatsleigher discovered when porting one of his existing applications to Java, but thankfully it didn’t stop him.

When faced with the challenge of porting over one of his applications to Java, he initially found difficulty in accessing the registry. After doing research into what is needed and taking bits of code from various sou. . . READ ON »

1 comment Read On

Remote Metadata Provider Library for Easily Music Controls

music

Recently, we featured a guide by XDA Senior Member Dr.Alexander_Breen aimed at bringing lockscreen-like music controls to your app. However, the method was overly complicated for many users. So in order to make the process easier, Dr.Alexander_Breen has created the open source library Remote Metadata Provider. And since it’s licensed with Apache 2.0, you can use in your projects (commercial or not).

Remote Metadata Provider allows you to create your own remote media controls, which behave similarly to the lock screen music controls described in the developer’s previous guide. However, usage of the Remote Metadata Provider library is much simpler than the last. You first add the libr. . . READ ON »

5 comments Read On

Create Holo-Themed Demo Overlays with ShowcaseView

example

One week ago, we featured a guide by XDA Senior Member marty331 posted in our App Development forums aimed at helping application developers create in-app usage tutorials using transparent demo overlays atop application activities. However, not everybody is a designer able to create aesthetically appealing overlays. Luckily, XDA Senior Member nikwen discovered the open source ShowcaseView library by Alex Curran, which makes it easy to generate Holo-themed demo overlays with ease.

In addition to describing the Apache 2-licensed library, nikwen also put together a quick guide that teaches developers how to showcase views, views in fragments, and parts of the action bar. He a. . . READ ON »

2 comments Read On