Android :: IPSEC In NDK Code ?
Mar 29, 2010Does the NDK support IPSEC? I could'nt find the ported ipsec.h in the NDK tree.
View 2 RepliesDoes the NDK support IPSEC? I could'nt find the ported ipsec.h in the NDK tree.
View 2 RepliesI am having trouble installing a CA certificate on my Desire which I need to get access to my company's IPSec VPN.I understand the proper way to do this is to pack user certificate, user key and CA certificate into a single PKCS12 file, put it on the SD card and use the built-in certificate installation tool to unpack and install the certificates.I have my user cert and key packed into a single PEM file and the CA in a separate CRT file.However, when installing the p12 file on the Desire from the SD card, it only installs the user cert and key, ignoring the CA certificate. Thus, I can't set up an IPSec VPN.I also tried putting the CA crt file on a web site and installing it using the browser, but the browser thinks is is a user certificate rather than a CA cert and installs it as such. Is this a bug, or am I doing something wrong? Did anyone even manage to get this to work? Any suggestions would be much appreciated. I already mailed HTC support a few days ago, but didn't get an answer do far.
View 3 Replies View RelatedI wanna to add some code in Camera Apps code , so that it will invoke my Application and do the thing as per my desier. Is it possible to change the Application code? If any one already tried this then plz let me know, how to proceed and build if i change some code. How to integrate my application with camera apps.
View 2 Replies View RelatedI can build a daemon with my algorithm code and main function.I put all files in one folder under /development and make This executable file works successfully
Now I want to separate my algorithm code and main function code. I hope to build a binary library with my algorithm code and main function will link this binary library to use.
Where to put my algorithm code to create binary library and how to link this binary library in main function code?
I am trying to integrate my code to the android Home Screen code. I want to launch my activity frm the HomeScreen by click of a button. I Did the code & then build it but when i click the button i m getting error as Application not installed on phone.
View 7 Replies View RelatedIn an effort to reduce duplication, I have my app's workspace split into 3 projects:
Main (A library project, where all of the common code lives)
Free (To make the free version)
Paid (To make the paid version)
Behavior in the free version and the paid version must differ sometimes. How can I "call into" the final projects from the library project? Here is some sample psuedo-code to illustrate my question: Code...
Could it be at all possible to code an app for the G1 that would allow you to say, slightly jerk the phone to the left or right, and that gesture would act as a phone shortcut? Since the phone is equipped with an accelerometer, it seems like it could be possible to have it behave a certain way, depending on certain movements. So say I wanted to start writing a SMS message. Without even having to touch the screen, or any of the buttons, I simply just jerk the phone slightly to the right (or any sort of gesture), and then up comes the compose SMS message menu.
View 3 Replies View RelatedI have one application developers for SDK 1.5 and after the issues of the 1.6 I want to add some of the new features in my app but continuing to support SDK 1.5, do I need to mantian two different projects and two different source code?
View 3 Replies View RelatedI'm looking for a Bar Code app that not only does the typical scan and search features, but also saves Key Fob bar codes so I don't have to carry a key ring full of them for when I'm shopping at the grocery store etc. Is there one app that does both, or do I have to work with two?
View 4 Replies View RelatedI'm looking if there is an app available that can decode a QR code from a file that is on your android phone. Also is there an app that can generate a QR code straight from your phone? I really wish an app that can scan Bar codes would add to scan from file.
View 5 Replies View RelatedI want to debug android source code in C (WebView part) . Can I debug the android source code in C with the help of ADB? Or how can I use log in C code just the "Log.v" in Java?
View 2 Replies View Related1: Get a cursor that gives all: - ContactID, Name, Phone Number, Phone Type (or some other way to get this information) 2: Get name by phone number 3: Get a cursor that gives: contact_id, (organization, address, im, email), corrosponding type i
- I am trying to find similar functionality as contacts and contact_methods that were there in till 1.6.
Is there any source code repository for Android apps so one can learn by example?
View 5 Replies View RelatedI'm developing an application that must handle multitouch. Basically I want single touch for rotating ( this is no problem ). And multitouch for scrolling.
I have the basic code in, but I'm having problems when the shift from single to multitouch, and vice verca, occur. Basically the movement will jolt because the median position of the multitouch ( two fingers ) and the absolute position of the single finger are at a distance. So if I have two fingers on the screen, they make up a median position, and then lift one finger, it would be like a quick movement from that median position to the absolute single finger position. This will be the movement that I don't want.
This is my code:
CODE:........
The onTouchDown function of the camera just sets the first value of the touch move. That's why I also use it in the up movement to set a new begin value for the single touch movement when coming from a multitouch.
In this article, it talks about android 2.0,
http://gizmodo.com/5383485/android-20-first-look-fresh-face-sick-speed
Is it possible to get the android 2.0 source?
As for as i know that android application can be developed in core java only.But is it possible to code android with J2ME.Please give some example codes.
View 3 Replies View RelatedWho is JPARKS and why did he break it ?
View 4 Replies View RelatedShow me some sample code on how to use an AlarmManager in android.
I have been playing around with some code for a few days and it just won't work...
I need to trigger a block of code after 20 minutes from the AlarmManager being set.
Does somebody send me code of using javascript with android and how to use wallpaper in android?
View 2 Replies View Relatedit failed that i try to get android.R.attr.minSdkVersion. Would you like to let me know how to get SDK version in my application code?
View 2 Replies View RelatedHere I update my world to include the canvas size. world.getViewPort().updateViewPortSize(width,height); Is there a better way to do this? Is there a way that I can automatically update my world object without having to manually call it in the setSurfaceSize method but instead call it from My world class? My guess is that I can use some sort of callback, but I don't understand them!
/* Callback invoked when the surface dimensions change. */
public void setSurfaceSize(int width, int height) {
// synchronized to make sure these all change atomically
synchronized (mSurfaceHolder) {
mCanvasWidth = width;
mCanvasHeight = height;
world.getViewPort().updateViewPortSize(width,height); }
I have an Android application in which I have my preferences in a xml file, which works fine. I've now want to set one of the preferences using code instead of displaying the entire preference screen, how would I go about doing this?
View 1 Replies View RelatedIs there an app that displays the location (state and/or city area) of an area code of a call as it is received? i had a samsung blade (a900 or something) that would display the state of the area code right below the number as the call showed up, and that phone is like 4-5 years old so i know this can't be too hard to do...
View 3 Replies View RelatedIm starting my first Android project so im still kind of n00b and not sure about how to organize some things to have a clean code :P
I have my first screen with a spinner and a button. When you click the button i catch the spinner selection and the app will move to a new screen (Depending on the spinner selection).
So now, i have 2 more .xml for the layout of the new screens, but i dont know if i must continue coding in the same Activitie/.java file, or if i should make a new Activitie and in that case, if i should create this new Activitie into another .java file os stay using the same..
Im not sure if i explained myself right xD. Anyway, if anyone need more info, just tell me and i will try to make it better.
I need to send mms from my code? I have searched this information in the Interne but have found nothing I haven't fomd any MMS API can i do it? Maybe somebody knows external library? maybe it is possible from native code?
View 17 Replies View RelatedCan you please tell me where is the android code which picks the different drawable will be used as background when it has focus? Where is the android code which finds out which drawable it should used for the widget's background?
View 2 Replies View RelatedHow can i get a variable on the imageview that i have defined in a layout.xml in the code?
View 1 Replies View RelatedI met a problem in setting xml attribute at run time.
For example I define a xml layout like this:
CODE:.......................
I want to set android:drawableLeft="@drawable/icon" at runtime.But thers has no setter method for this attribute.
Is there a bar code scanner app that will really list stores that carry the item, price etc? i have tried 4 so far, non will. they search web sites. a friend who has an iphone says hers will do it, but didn't offer to demonstrate.
View 5 Replies View RelatedIn xml we have android:layout_gravity ... how can i set this for any view [say image button] ... from code ...
CODE:......................