I want to use jmrtd android client - android

I followed the direction of this page
http://sourceforge.net/p/jmrtd/code/1490/tree/trunk/androidclient/
and when I executed the last command ant -f build_jar_deps.xml
I faced the following error,
[exec] svn: E170000: URL 'https://scuba.svn.sourceforge.net/svnroot/scuba/s
cuba_sc_indep' doesn't exist
I visited the above link and I see page not found error
What is the problem ?

I know I'm a bit late with reply, but if anybody is still interested in JMRTD Android app, I have developed a new project from scratch:
https://github.com/tananaev/passport-reader
It's a standard Gradle project, so it's very easy to build from command line or Android Studio. All third party libraries, including JMRTD, are downloaded automatically from Maven.

You have to download the jarjar1.3.jar and change the path.

Related

xamarin.forms, integration with libvlcsharp

did someone know how to solve this?
I created Xamarin.forms project with UWP, Android and IOS
Everytime when I try to run project get this error
"LibVLCSharp.Shared.VLCException: 'Failed to load libvlc.dll, error 126. Please make sure that this library, libvlccore.dll and the plugins are copied to the AppX folder. For that, you can reference the VideoLAN.LibVLC.WindowsRT NuGet package.'"
Yes I added LibVLCSharp and ibVLCSharp.Forms
this is bitbucket repo (public)
https://alekswhite#bitbucket.org/alekswhite/video.git
To allow updates of the libvlc library, it is not installed by default.
Did you install the LibVLC package that corresponds to your platform(in each platform-specific project) ?
See the Readme of the repository for that.
If you did install the LibVLC package, please update your question with a repository with a sample code to reproduce your issue.

How to find which files are using a particular external library in an Android Studio project

The problem
Under "External Libraries" in the project view of an Android Studio project I have these libraries "stax-stax-api:1.0.1#jar" and "xpp3:xpp3:1.1.3.3#jar". They're causing me problems such that I can't build the project. I can't seem to figure out how they got there or where they're being used.
The error message I get when I build right now is:
"Error:Error: xpp3 defines classes that conflict with classes now provided by Android. Solutions include finding newer versions or alternative libraries that don't have the same problem (for example, for httpclient use HttpUrlConnection or okhttp instead), or repackaging the library using something like jarjar. [DuplicatePlatformClasses]"
The error message is good except that it doesn't tell me who's using this lib in the first place.
The question
Is there an easy way to find out where they're being used in the project? Or even a way that it's easy but doesn't require looking at every file? It's a multi module project with lots of files. If I could delete them this would tell me but there's no delete option.
This could be something really simple that I'm overlooking. Any help appreciated. Happy to add more info as requested.
What I've tried
I've tried to "Analyze Dependencies" but it doesn't show me any references that I can see.
Update: I forgot to mention that I've also tried ./gradlew app:dependencies but it only tells me that my project depends on these libraries. I already know this. Is there a way to get some more specific information so I can remove the libraries?
Update 2: The accepted answer does work but I needed to redirect console output.
gradle app:dependencies
It will show you the dependencies tree of your project
At this link it is explained quite well about the command and how to use it.
Use this to redirect console output if it's clipped:
./gradlew app:dependencies > dependencies.txt
Project can be explored in "Project-tool-window" to have a look at the used external libraries which are not visible in "Android tool Window".
https://www.jetbrains.com/help/idea/project-tool-window.html
That way I solve my problem. Hope it help.

How to download a file from FTP and store it locally with Cordova?

I'm struggling for some days to do that. Without success.
I've found two ways that I think reasonably to follow:
1: Plugin cordova-sftp-plugin.
I see that it is writted to deal with 'secure ftp', but why wouldn't work in an ordinary non secure ftp? Nothing was metioned about it.
I've tried so, applying the 'Use Example' from the official page, the code fells in the success callback function, but when I list the local directory, nothing was changed! It gives me no clue about what goes wrong! In true, the software does not detect nothing wrong.
Before the previous steps, I did not forget to precautionally install and enable the 'cordova-plugin-file', 'cordova-plugin-file-transfer' and 'cordova-plugin-network-information' and to add the <uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" /> in the AndroidManifest.xml. Tryied to save files in cordova.file.externalRootDirectory and cordova.file.externalRootDirectory + "/Downloads/. Nothing worked.
2. The macdonst FtpClient plugin.
Searching for my issue, one of the first pages that appears is How to ftp a file over to a server from PhoneGap/webapp?, and beyond some further search I've found another one in a relatively old post mentioned the successful use this plugin in a Cordova application. So I can consider this plugin as a stable choice.
The problem with this method comes earlier: I coundn't even build the application after a manual installation proccess. May it is a problem in the manual installation proccess.
The official plugin documentation teachs to install it in a PhoneGap application, and not a Cordova. The steps was not replicable to Cordova, due to some differences in paths and configuration, and some others links also supports the plugin installation solely in Phonegap, not Cordova.
I also tryied follow the steps in the http://antonylees.blogspot.com.br/2015/01/how-to-manually-add-cordova-plugins-to.html and Manually install Device plugin (and others) into cordova 3.0 to manually add the plugin. The steps in the first link also was not well replicable, and although the second one are more straitfoward, also does not solved the issue.
Building it gives me a java error compilation. The first error output (what uses to cause all the following errors are):
E:\danilo\Documentos\projetos_cordova\ftpDownload3\platforms\android\src\com\phonegap\plugins\ftpclient\FtpClient.java:27:
error: package org.apache.cordova.api does not exist
import org.apache.cordova.api.CallbackContext;
Very strange. May I have to search for the org.apache.cordova.api jar file and put in the lib folder? Also, I did not forget to put the commons-net-2.2.jar in the project libs folder.
Can anyone have some suggestion to succeed this? I just want to download a file through ftp protocol and save locally and so, if there's an alternative method to succeed, it will be appreciated too.
Thanks in advance.

Can't mach build Fennec for Android

i'm following this tutorial from firefox android source code https://wiki.mozilla.org/Mobile/Fennec/Android
but, the problem i can't ./mach build, ./mach package, ./mach install and i already create .mozconfig file in mozilla-central but it's can't found the file.
like this:
i'm using Ubuntu 14.04.2
thx for help
You probably had an error during the initial "mach bootstrap" step. Your screenshot tells us, that mach can't find the android sdk tools. It's looking for them under ~/.mozbuild/android-sdk-linux/.
One thing you could do is to manually put your sdk under that directory and then retry "mach bootstrap" from the source dir to resolve the remaining dependencies.
Also see these steps for manual setup of the build tools: https://wiki.mozilla.org/Mobile/Fennec/Android/Detailed_build_instructions

Steps to implement ANT through eclipse for creating Android Build

I checked out many blogs for creating an ANT build script for an android project.
Many suggested creating it using the command line and quite few explained about creating it using eclipse, but the solutions don't work for me properly.
Can anyone please help me by specifying proper steps to implement ANT through eclipse for creating an Android Build script.
There's no Eclipse way of doing this, you have to use android update project/android create project.
If you elaborate which parts of the command line process failed for you we could probably help you with that.
I used this doc for doing just that. Always did it from command line. Specifically what you need is the "Update a Project" section in here: http://developer.android.com/guide/developing/projects/projects-cmdline.html
The link that #Eli Konki shared was very confusing to me. However I found this article that was pretty straight forward to follow. The only thing that didn't work for me was that I needed to add
<property file="build.properties" />
To my build.xml so that the properties I configured were acknowledged. Hopefully it will prove to be useful for you too.

Categories

Resources