Android Rss Reader Library gradle integration - android-studio

I am trying to use this Rss reader library in android studio.But the project site does not state any gradle integration link. I searched and followed the link here. However, that link is also not working. Can anyone give me any solution to this?
https://github.com/matshofman/Android-RSS-Reader-Library

This project is very old, and it doesn't have a gradle support.
However it has only 4 classes without dependencies.
The quickest way to integrate in your project is to clone the 4 classes inside your project.

Related

libGDX, project build fail. Could not detemine java version '9.0.1'

I am new to libGDX, just planning to create a new project. but the generation of project fail with this error displayed
"Could not detemine java version '9.0.1'.
I have linked the SDK path like how I linked it in android studio. need help. I found it might be something to do with the gradle version. do you guys know how to let libGDX uses the latest gradle?
Check this issue, already in libgdx issue tracker.
According to this discussion, Gradle update may solve this issue so wait for this issue to be resolved.

Using Zxing Library in my aplication

I have seriously tried to find a method to integrate zxing library for my barcode scanning application and found some examples and tutorials, but they mostly concentrate on the code of integrating the project library. I have understood how to use it but my only issue is I cant seem to find a correct way to copy the new zxing library. Please can anyone guide me through which files to copy where or how to bind the project in Android Studio.
I believe you want to 'add' the zxing library in your Android Studio project.
If you are comfortable with using Gradle, just add the below line in your app's build.gradle file under dependencies.
compile 'com.google.zxing:core:3.2.0'
Build your project and then start integrating zxing by importing the required classes.
I hope this answers your question and solves your problem.

Converting android ndk build files to gradle

Is there any documentation on converting a application.mk/android.mk file to a gradle based build.gradle file?
good links, QArea. Thanks a lot!
At this moment NDK support in Gradle are very limited. If you need to assemble something that gradle not provides that function
I do like this.
I collect the old-fashioned, but to .so-patches automatically picks up the Gradle-plugin:
ndk-build -j4 NDK_LIBS_OUT=src/main/jniLibs
Otherwise, you must wait for next version of gradle 0.13. Devs promise that NDK will fix integration with NDK.
I made a script tool to convert android.mk building system to gradle building system, because I wanted to test the demo source codes in:
https://android.googlesource.com/platform/development/+/05523fb0b48280a5364908b00768ec71edb847a2/samples
But after searching whole internet, I found no one did it yet. So I created this tool by myself. But even with this tool, we couldn't ensure all projects in AndroidSamples could be built and executed successfully because of the API versions and features mismatch. So I created my own projects for https://android.googlesource.com/platform/development/+/05523fb0b48280a5364908b00768ec71edb847a2/samples
And I want to convert those demo projects one by one.
Now the whole source codes are here:
https://github.com/clockzhong/AndroidSamples
I already successfully converted some samples into gradle building system and executed them correctly on my android phones. But I still have some version mismatch issues, anyway, I'll mentioned it in the project check-in comments.

Liferay Plugin SDK and CVS

To those working with Liferay and the Plugin SDK, the tutorials teach you how to create projects from the Plugin SDK directory. Unfortunately, this also keeps the project folder inside of the Plugin SDK directory.
My question is, has anyone figured a way to leverage the Plugin SDK but have your project directory anywhere you choose?
This leads to another issue because with everything contained in the Plugin SDK folder, we have to checkin the entire thing in our CVS. If we didn't do this, then all developers will have to install their Plugin SDK in a controlled manner, and the projects checked out from CVS directly to the Plugin SDK folder.
Any strategies, tips or alternatives are appreciated.
Thanks in advance.
When using ANT based plugins SDK (which is default when you use Liferay IDE or Developer studio), I used to check in entire Plugins SDK to SVN/CVS at the time of starting the project. The entire development team would then check out the plugins sdk and check in their artifacts in appropriate folders i.e. portlets, hooks, themes, etc. It worked really well for us. The SDK itself doesn't have a big footprint, and it really helps organizing your plugins and building them.
Another approach is to maven-ize them. With this approach you don't have to commit your plugins SDK to CVS/SVN, but it Liferay IDE is not configured with Maven based plugins sdk yet (AFAIK).
You can decide the best approach that suits your needs. Hope this helps!

Sharing projects with MonoTouch

I have a class library project (developed in VS) which I want to share with a MonoTouch project I'm working on. The problem is that when I try to add a reference to the library project in MonoDevelop an error is displayed saying 'Incompatible target framework: v.NETFramework,Version=v3.5)'.
From what I've read on the web I have to create another class library project in MonoDevelop and then link all the project files from the original into it...I'll do this if I have to but i'd rather have a cleaner solution to this, if not a simple project file fix then maybe a script I can run...
Regards
Lee
A Portable Class Library would be the way to go, but unfortunately not yet properly supported in the current version of MonoDevelop with MonoTouch. Work seems to be in progress though.
You do have to create a class library project in MonoDevelop. The library has to be compiled with the MonoTouch version of the framework.
The reason for this is MonoTouch framework is based on the Silverlight lightweight version of the .NET framework.
See here http://docs.xamarin.com/ios/about/assemblies for more info.

Resources