Error in OpenVpn android app - android

I have downloaded the openvpn code from
https://code.google.com/p/ics-openvpn/source/checkout
and it compile succesfully but when I create a profile and try to connect it .. it will give me an error "Error writing minivpn binary "
the readme file says
Optional: Copy minivpn from lib/ to assets (if you want your own compiled version)
but I havent found any minivpn or lib like this in the package
please let me know if some has worked on it

You should read the README:
Do ./build-native.sh in the root directory of the project.
The minivpn part is obsolete. Early version used to ship a compiled version in the repository.

Related

Connection with SQLLite on Unity3D using Javascript in Android

How can connect with SQLLite from Android using Unit3D and Javascript?
Someone can'i help me?
Here are the specific steps to getting SQLite set up in your project.
Download SQLite - you'll want the ZIP file with the DLL inside
that's in the Precompiled Binaries for Windows section.
Important Copy sqlite3.dll into your into your project's Plugins folder (make a folder called Plugins if you don't have one).
You won't get a warning if you don't do this, and your project will run fine in the editor, however, it will fail to work when you actually build your project, and will only provide information about this in the log file.
This will give you a License Error if you're using Unity Indie, but it doesn't seem to have an effect on the actual play in the editor, nor does it seem to effect the ability to build stand-alone versions.
Alternately, you can leave it out of your project entirely, but when you build your application, you'll need to include a copy of sqlite3.dll in the same directory as the .exe in order for it to work.
In your project, add in the dbAccess.js file: http://wiki.unity3d.com/index.php/SQLite#dbAccess.js
You should be good to go!
Source (and the above is pretty much copied word-for-word from):
http://wiki.unity3d.com/index.php/SQLite

In android how to get which compiled version(compiled with(library file version)) they used in the project from apk file

In android how to get which compiled version((compiled with)(library file version)) They used in the project By using .apk file
I decompiled the apk and check it. But i can,t able know that.
In AndroidManifest.xml They didn't mentioned like "android:minSdkVersion" and "android:targetSdkVersion".That's Why i am asked this question
Thanks In advance
.apk is just a simple archive file. You can open it with WinRar for example and find the AndroidManifest.xml file inside that archive and you should have a line that starts with android:minSdkVersion and android:targetSdkVersion. The former is what's the oldest version of Android that the application supports and the latter is the target devices i.e. the version of SDK that compiled the code.

The file does not exist for the external tool named SWIG

I am trying to build an application using Android NDK. I have followed all the steps and everything works fine and the .so file is being made. But in eclipse when I try to clean the project I get the following error:
The file does not exist for the external tool named SWIG.
Does anyone have any idea what this might be?
Check Project->Properties->Builders, probably you have an external builder that is not working.

Error in creating a pdf file android

I am new to Android programming,my task was to create a pdf file in adroid
First I created a Java project using Eclipse (projectA) , wrote code in java to generate a pdf file using itext (Added jars to the project) and its working fine.
Now I created another Android project (ProjectB) , and added the itext jars (similar to projectA) and code, but it is not working properly
Error : Error generating final archive: Found duplicate file for APK: com/itextpdf/text/LICENSE.txt
Origin 1: /home/SudheerB/workspace-Ecclipse/NeedAnalyserTool13/libs/itextpdf-5.3.3-sources.jar
Origin 2: /home/SudheerB/workspace-Ecclipse/NeedAnalyserTool13/libs/itext-xtra-5.3.3-sources.jar
Can someone help me on this?
It is very simple. You are using jar files which have some common classes. so during the generation of apk file, duplicates files are being found.
just use one of the jar files. either "itextpdf.jar" or "itextpdf-xtra.jar". your problem will be solved.
Remove the sources jars from your project and at least that error should go away.
Seems like you're using the jars that are available for Java instead of the Android/GAE port. Please switch to using the official port for Android and Google App Engine. That will solve your problem. This port isn't available from SourceForge, you need to fill out the form at http://itextpdf.com/sales/ and they'll send you a link where you can download it.

Is that jar file required or how the apk file executed in android virtual device?

Recently I downloaded the 'android-1.5-cupcake-src.zip' (android source), Can anybody mention the jar file( I mention 'android-1.5-cupcake-src' is for a sample,consider it as a general case ) name corresponding to that source file(ie the implementation jar of 'android.jar' api-android.jar api contains only abstract classes-)? Is that specific jar(if exist) used for android apk file execution? Or is any dex file version of that jar exist? I know there is no class file included in the 'apk' archive. But then how the dex code executed? How the android emulator runs(interacts) with the apk file with out presence of such a jar or dex file? Is DVM byte(?) code can directly interact with dex file to execute the code.I search a lot through the android SDK installation directory for that particular jar file but no result!!. Is that code(jar) never used in any state of android app formation(dex file creation/conversion may possible with android.jar api but how the execution is possible)? If there is no jar(dex?) file exist then what is importance of publishing such a source?
Downloading 'android-1.5-cupcake-src.zip' in 2012 is a bit too late, because we already have android-4.0 and android-5.0 will come out soon. The population of devices using android-1.5 is less than 0.5%, so, please, develop for something more contemporary.
You don't need source code for the mainstream development. Basically, you have to install SDK, Eclipse and development tools, and you are all set for development.
Browse through SDK samples if you need an inspiration.

Categories

Resources