L2TP / PPTP Protocol Implementation For Android Application?

May 16, 2012

If exists a L2TP or PPTP or even OpenVPN protocol implementation (C or Java) which can be used in an Android application?

L2TP / PPTP protocol implementation for Android application?


General :: VPN Client Implementation Specific To Application?

Feb 21, 2012

I wanted to implement the application specific VPN client in android, that is vpn connection once established should be only available to our application and rest of the apps in android device should make use of normal internet connection.

To elaborate my need more, i have an application already which connects to corporate email, files and other data from internet normally but for some security reason we need it to be go through tunnel within our application and access everything within via tunnel basically want we are looking here is security while accessing company corporate network.

Since we are new to something like this we don't have a hint on how to start what protocols to use etc (we are assuming ipsec l2tp for now).

And between we are just looking to send and receive data over tunnel, there is nothing more or need to control computer on the network all we need is to route data through corporate firewall and should support multiple vpn servers such as cisco, microsoft etc. How complex or how feasible to implement it.

View 1 Replies View Related

Android :: Media Player Application - Video Streaming Through RTSP Protocol

Feb 16, 2010

I am writing a media player application in Android when I calling a mp.prepare() it is giving a IllegalStateException. The same RTSP URL working with VLC or quick time Media Player.

View 2 Replies View Related

General :: OSX Lion L2tp VPN Server Connection

Aug 1, 2011

I have set up a VPN server on OSX Lion Server edition.It is using l2tp with preshared key and username/password for login. i(beep) works fine and connects. Laptop works fine and can connect.But...

1. When Iam on local network (same IP segment) I can connect using Android native l2tp VPN connection setup with PSK and user/pass.
2. When I try to connect from external (3G or other WiFi net) I am unable to connect.
3. When I enabe native tether on Android device, and connect i(beep) to the Android AP, I still am able to connect from i(beep).

These three steps tells me it is not a carrier issue, and possibly an Android issue.Kinda like the l2tp connection for security, and also Lion natively does not supply pptp connection.

View 5 Replies View Related

HTC EVO 4G :: PPTP VPN Connection

Jun 11, 2010

Has anyone been able to get PPTP VPN working? While it appears I can connect to my works network, I can't seem to browse to any of the intranet sites. I've tried it with/without DNS Search Domains, and by simply hitting the ip address. One time I got the NTLM Authentication popup in the browser, but It didn't seem to actually connect. I've also tried hitting the internal 10.1.0.* address of the intranet server but that doesn't seem to work either.

View 6 Replies View Related

HTC Desire : Unable To Connect To PPTP VPN Server - Bug Found In 2.1

May 1, 2010

I found bug in Android 2.1 which needs to be fixed in 2.2 version. Bug is in VPN PPTP android client which is not compiled with MMPE encryption enabled , and because of that it is impossible for HTC Desire and other phones using android 2.x to connect to pptp server because this is not enabled in android pptpd by default and because of that connection fails. There is solution for this requiring that you root your phone first than replace original pptpd and ip-up-vpn files with new compiled, but this is really not solution because we need that all this works for clients "out of box"

I tested VPN server from almost all OS-es and I can connect for any regular Windows PC (Vista, Windows 7 and XP) , from Mac-OS and even Iphone and Windows Mobile but not from my HTC Desire with Android 2.1.

View 2 Replies View Related

Android :: Implementation Of Mediaplayer

Feb 22, 2009

I have run mediaplayer in SDK which can play media in res/raw folder successfully on emulator , but now I wanted to run it on my hardware which have already successfully implemented the android kernal and file system and audio, video drivers etc. I have no experience to implement JAVA app . I once implemented mplayer app written in C to my linux OS which only need to copy the final executable file , but now I don't know which files or folder should I copy to my platform because I have no basic knowledge of Java although I have run successfully on my emulator.

View 5 Replies View Related

Android :: LenientPolicy Implementation Of LVL?

Jul 28, 2010

I've been playing around with the new LVL announced yesterday and wanted to write a policy which only stops the user when it is certain that he does not have a license. In other words, the policy will only "dontAllow" the user if the last meaningful response from the licensing service was NOT_LICENSED. Therefore, if the user is offline when they first use the app, then they will be allowed in. The idea behind this is that I don't want genuine paying users to ever (within reason) be inconvenienced by this licensing system. The downside is that all the user needs to do is clear the app data and go offline before restarting the app. The app will continue working until they go online (and restart the app). My thoughts are: 1. Most users won't know about that workaround 2. Those users that are happy to use that workaround, probably wouldn't pay for the app anyway.

View 6 Replies View Related

Android :: Implementation Of OnClickListener

Jun 2, 2010

Create an anonymous implementation of OnClickListener

private OnClickListener mCorkyListener = new OnClickListener() {
public void onClick(View v) {
// do something when the button is clicked}};

View 2 Replies View Related

Android :: Which Is Best Protocol TCP Or UDP?

Nov 3, 2010

Im going to develop one android application which transfer music file, contact exchange, voice chat, text chat etc.through WiFi. Which protocol will suit my application UDP or TCP. Because both protocol having some merits and demerits. Can u give me some suggestion, it will helpful for me.

View 5 Replies View Related

Android :: Potential - Bug In The Implementation Of AppWidgets

Nov 10, 2009

We have discovered a potential bug in the implementation of AppWidgets. Here is a simple reproducer.

Attached is the code for an application containing a TestActivity and a TestWidget. TestActivity extends MapActivity and TestWidget is a simple widget provider which updates a TextView every 2 seconds. Now if the TestActivity is launched with no instance of TestWidget running, it works just fine. But if the TestActivity is launched after placing the TestWidget on the home, it results in ClassNotFoundException. Here is what we get:

CODE:.............

So it seems we have an inconsistency in the way the class loader works for the same apk.

WORKS - Launch the application by itself, without invoking the Widget. DOES NOT WORK - Create a Widget on the Home screen and then launch the application from the launcher.

The source code for this application (http://www.yousendit.com/ download/TzY3ZGVhZy96NE4zZUE9PQ) has been attached. Hope someone from the Android team can shed light on this behavior.

This error is seen on the 1.5r3 SDK. Not sure if this has been addressed in 1.6 and 2.0 SDKs..

View 2 Replies View Related

Android :: Query About SlideShow Implementation

Oct 27, 2010

I'm want to implement Dynamic SlideShow of Images similar to Gallery. On Drag, i Should be able to change to next images. I'm looking into Gallary1.java class from APIDemo Example, i think there is no sufficient information in that, so is there any better code example.

View 2 Replies View Related

Android :: Implementation Of Picture Gallery

Jul 2, 2009

I am trying to implement picture gallery in my application but it's not scrolling smoothly can someone suggest me what could be the reason or how to do it.how it is implmented i the phone.

View 2 Replies View Related

Android :: KeyStore JKS Implementation Not Found

Dec 5, 2009

I am trying to create certificates for users for my program. I am have created a keystore and included the publickeystore.store with my application in the assets folder. I created all the certificates using the keytool program from JAVA. When I try to authenticate the certificate I get the following error: 12-05 17:32:49.962: ERROR/AndroidRuntime(891): Caused by: java.security.KeyStoreException: KeyStore JKS implementation not found

View 3 Replies View Related

Android :: LVL Implementation - Device Fingerprinting

Oct 30, 2010

I'm working on an LVL implementation and I want to use as many different device identifiers as I can. I have considered using IMEI numbers but I've discarded that because a) it's intrusive and b) not all devices will have them.

What might I use to fingerprint a phone for license verification?

As an aside, how have your experiences with LVL been so far? Any pitfalls? I'm not asking for anyone to share their implementation details as that would give the hackers ideas.

View 5 Replies View Related

Android :: SIP Protocol Stack

Oct 12, 2010

How can i implement SIP protocol in android.I want to make video conferencing application using SIP protocol.So is it feasible using SIP protocol and how to start.

View 1 Replies View Related

Android :: How To Include Tab Implementation In DroidDraw Code?

May 5, 2010

Can any one tell me how to include tab implementation in AnDroidDraw code?

View 1 Replies View Related

Android :: Want Quick Contact Tack Implementation

Jan 28, 2010

I would like to implement the similar widget as QuickContactBadge from which I can launch some internal activities. I checked out the source code for QuickContactBadge, QuickContactActivity etc and simplified them to accommodate our requests. It can launch and display at correct position. However, I can not see the original view below the quick contact tack no matter how I try. And I found the window created by QuickContactWindow is quite small and I tried to set the background etc. Nothing works. Who can help or give some guidance about how window works? Say, from Activity A, I click on image, I launch a new activity (or window), how can I make the Window of Activity A is still visible? Or more general, what is the best way to achieve similar behavior like QuickContactBadge?

View 2 Replies View Related

Android :: Get Sms Message From Intent With New Implementation Of Telephony?

Feb 11, 2009

I am using the Telephony class to get messages ( Telephony.Sms.Intents.getMessageFromIntent(Intent intent)). But I can't find the class Telephony from its package(android.provider), there is an error named "The import android.provider.Telephony cannot be resolved" when import android.provider.Telephony.Sms.Intents, the sdk version I'm using is android-sdk-windows-1.0_r2, how can I use this with the new implementation of Telephony?

View 2 Replies View Related

Android :: Asynchronous Sockets Implementation On Droid?

Sep 20, 2010

In iPhone there is Cocoa Asynchronous socket library. Is there a similar library in Java for Android? Can it be done using Java Asynchronous sockets(NIO library) or is there a way I can make use of NDK for Android and use native libraries for asynchronous sockets?

View 1 Replies View Related

Android : OnClickListener Implementation Of Array Of Buttons

Nov 21, 2010

I am writing an Android Application which outputs some array of buttons dynamically.

My question is how to implement onClickListener() functionality for Array Of Buttons. I mean how to recognize the button that is clicked in public void onClick() method ? I need to display a toast based on the button that is clicked.

View 2 Replies View Related

Android :: Need MMSH Protocol Library

Apr 27, 2010

Do you know any way on how to play a stream using mmsh protocol? It seems android at default cannot play mmsh streams. Any idea or inputs on how to start?-- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscribe @googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en

View 2 Replies View Related

Android :: Custom Protocol Handler

Nov 11, 2009

i want to do the following thing - when a user navigates to a web page, I want to have a link in there that looks like this: <p><a href="myprotocol://blah=42">Click here for fun.</a></p> Then when the user clicks on that from the phone browser, I want it to launch my intent with that full url. In my AndroidManifest.xml file, I have the following info: <activity android:name="com.test.MyActivity" style="@style/ MyStyle"> <!-- custom protocol association --><intent-filter><action android:name="android.intent.action.VIEW"></action> <category android:name="android.intent.category.DEFAULT"></category><category android:name="android.intent. category. BROWSABLE"> </category><data android:scheme="myprotocol"/></intent-filter></activity>When I try this, when I click on the link on the web page from the phone browser, it says -- Web page not available The Web page at myprotocol://blah=42 might be temporarily down or it may have moved permanently to a new web address.

View 20 Replies View Related

Android :: Protocol Buffers (protobuf)

Jul 21, 2009

When using Protocol Buffers with Android (running in the Windows VM) I'm noticing that the first time I instantiate a protocol buffer based class Android lags for some time. When I step through it looks like it's spending a lot of time dynamically loading the protocol buffer classes. Is there something I can do to speed up this process? I haven't tested yet on a physical device, so the delay might not be as bad but in the VM it takes about 30 - 45 seconds to load all the classes and get past that first message instantiation. What I did was downloaded the Protocol Buffers source code. Compiled the.java files. Stuffed them into a .jar. Added the .jar as an external library to my Eclipse project. Generated the .java classes from the .proto files. Added the generated .java files to my project. Ran my project. I'm not sure if I'm doing something wrong it terms of how to reference external libraries with an Android project, but 30-45 seconds seems like a very long time to wait on a 2.6GHz machine. Also, I recently learned that android uses Protocol Buffers internally. Will this cause any sort of conflicts with my included .jar that could be the problem? I *think* the namespace is different but I'm not entirely sure. Lastly. Why did Google use Protocol Buffers internally and not make it available to SDK developers. This makes me very sad knowing that it's all right there and I can't use it.

View 20 Replies View Related

Android :: ICAP Protocol Error

Jul 20, 2010

For some reason, my Desire won't access any internet pages this morning. When I select any of my favourites it tries hard, but then flicks to a page that says:ERROR The requested URL could not be retrieved.The following error was encountered while trying to retrieve the URL: www.bbc.co.uk ICAP Protocol error The system returned: [No error]This means that some aspect of the ICAP communication failed.Some possible problems are:The ICAP server is not reachable.An illegal response was received from the ICAP server.I've cleared the cache, cookies and history. I'm with Orange if that helps! I've checked a number of sites. I've tried going via favourites and typing URL directly into the address bar. I use the standard Android browser.

View 30 Replies View Related

Android :: Playing Video Using Mms Protocol

Mar 27, 2010

Using the Android SDK, is it possible to play a video stream using the MMS protocol I am streaming video from a PC using windows media. I can use Windows Media Player to play the stream by just inputting the following URL in Windows Media Player mms://192.168.223.194:8081. Is it possible to play the same stream using the Android SDK?

View 1 Replies View Related

Android :: Can't Decide Between SOAP Or XML-RPC Protocol

Apr 7, 2010

We are designing an internal system that will have a .NET PC base station and many Android mobiles, communicating over WiFi. Can't decide between SOAP or XML-RPC protocol. Primary concerns are maturity, compatibility, and the minimizing of coding/integration, in that order. Which is best?

View 1 Replies View Related

Protocol For Google Talk On Android?

Nov 1, 2011

which protocol Google Talk on Android uses? I know that for the Talk application on Gmail uses the Jabber/XMPP protocol. I need to know what protocol (or if it's the same protocol) that's the protocol being used on port 5228.

The reason being, my organization will open the port to the Android sync and push services but only for that specific protocol (for security purposes obviously).

View 4 Replies View Related

Android :: General Activity Order - Linear Implementation

Jul 17, 2010

First I have my app running currently and its working fine, I just question how I implemented it. I come from a linear C++ background and this Activity/Intent thing is a little new to me. Here is how my app works currently (order of activities started)
("->" = Starts Activity, "<-" = Returns from activity)

MainActivity -> Login Activity <- onActivityResult function displayListOfItems ...
I am wondering if I should switch the starting intent as follows:
LoginActivity MainActivity function displayListOfItems
The issue I had with the second scenario was that pressing the back hard key would take me from the MainActivity back to the LoginActivity and I didn't like this. I guess to sum up my question, is it normal for the MainActivity to handle all subsequent starting of activities or is it common to do a more linear implementation?

View 5 Replies View Related

Android :: TextView Gravity - Implementation Of ViewGroup With Some TextViews In It?

Nov 10, 2010

Has anyone tried to write his own implementation of ViewGroup with some TextViews in it? I have a problem, that TextViews in such an implementation don't respect gravity attribute (TextView.setGravity(Gravity.CENTER);) and text is positioned in the top left corner.

If enyone is interested, I just overwrote method onMeasure() (for all my TextViews) and changed call from super.onMeasure() to setMeasuredDimension(int, int) and gravity started to work normally.

Basically, in my custom layout I use the following class to display text:

CODE:................................

View 2 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved