Android :: WebView-based Browsers Accessing Protected Resources Through Oracle Access Manager -OAM

Oct 5, 2010

We have a website that makes use of OAM for single sign on (form-based authentication). When we submit credentials to WebGate / Access Server the authorization succeeds, however after the authentication is performed, the form action (as configured in the Authentication Scheme - with passthrough:no) returns a server error instead of redirecting to the originally requested URL.

If we use Mini Opera, we are able to get authenticated and forwarded properly.

This problem happens on numerous Android phones (versions ranging from 1.5-2.2), as well as the Emulator provided with the SDK.

This is proving to be a real problem as the default browser on Android phones is not able to get access to our sites(and this is the only browser that is having this problem).

I have created a WebView-based custom browser with the hope of seeing a client-side error and tried trapping every possible error....none show up....

I have tried to trace all of the http requests and found only a single difference in the requests... the http header for Connection:keep- alive is not sent by the Android WebView.

I have provided some tracing info below...

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

Android :: WebView-based browsers accessing protected resources through Oracle Access Manager -OAM


Android :: Access Oracle Database Directly From Application

Oct 11, 2010

I'm new to the android application development. I found some packages java.sql and javax.sql packages in the API of android while going through it. My doubt is can I access the Oracle Database directly using drivers. So what type of driver is used to connect.

View 11 Replies View Related

Android :: Accessing Raw Resources

May 18, 2010

In J2ME, I've do this like that:
getClass().getResourceAsStream("/raw_resources.dat");

But in android, I always get null on this, why?

View 3 Replies View Related

Android :: Accessing Resources From Other Packages

Jul 27, 2010

I'd like to access resources from other packages installed. Is there any better practice than using getResources() combined with createPackageContext()? Another question is how to use resources from other packages in methods like Notification(int icon, CharSequence tickerText, long when), where 1st argument is just resource id?

View 13 Replies View Related

Android :: Accessing Native Resources From Browser In Froyo

Jun 15, 2010

My understanding says that it is yet not possible with Froyo to access native resources like Camera, Voice etc from Browser. Is that correct ?

View 2 Replies View Related

Android :: How To Access Protected Fields From View Subclass?

Apr 19, 2010

I'm implementing custom widget exdending a View class. But I've found that View's protected field (e.g. mLeft) is not accessible from subClass

View 2 Replies View Related

Android : Access Basic Authentication To View A Protected Url

Apr 6, 2010

I'm trying to do basic authentication to view a protected url. I want to access the protected url which looks like this:

http://api.test.com/userinfo/vid?=1234. So I do the following with a WebView:

mWebView.setHttpAuthUsernamePassword("api.test.com", "", "me@test.com", "my password");
mWebView.loadUrl("http://api.test.com/userinfo/user?uid=53461");

but the authentication doesn't seem to work, I'm just getting an output error page. Am I using the WebView method correctly here?

Update:
Trying with curl: curl -u me@test.com:mypassword http://api.test.com/userinfo/user?uid=53461

and it pulls the page fine. I tried every combination of the host parameter, the owners of the api don't know what I mean by 'realm' though (and neither do I) - what info could I give them to help this along?

View 3 Replies View Related

Android :: How To Reference Resources (images) From HTML Page In Webview?

Sep 18, 2009

How to reference resources (images) from a HTML page in webview? I am trying to display an image in HTML and the image is an android resource. <html> <body> <img src=" ? " /> </body> </html>

View 2 Replies View Related

Android :: Why I Can't Access Protected Member Variables In Droid Classes?

Jun 18, 2009

When I extend a View, I cannot access the protected member variables from my code. Eclipse just says that there exists no variable with that name (for instance mScrollX). Why is that?

View 2 Replies View Related

HTC 4G :: Rooted Evo Cannot Access Copy Protected Apps

Jun 5, 2010

Be aware folks Rooting your Evo makes copy-protected apps "disappear" from the Market. I never had this problem on my rooted N1, however once I rooted Evo - it cannot see apps like NYTimes, bTunes, and basically any other app that's copy protected. I have read on XDA-forums that this has something to do with Market being affiliated with 'build.prop', but unclear as to what the fix for this will be, if any Right now, I am thinking of going back to stock because of this..

View 6 Replies View Related

Accessing WebView Object From Another Class?

Oct 16, 2012

I am creating an Android version of my web browser. I want to be able to load websites from another class using the WebView object that is in my MainActivity class. Basically I want to load a website from a button referenced in the QuickSites class in the WebView object in the MainActivity class.

View 3 Replies View Related

Android :: PNG Quality In WebView Based App

May 10, 2010

I am using WebView to display html content in an app. One of the pages has a rather large PNG image. The image is large and detailed on purpose because the idea is to use it as a map and allow users to zoom in to see the detail. Unfortunately, when the image is displayed with WebView, the quality is horrific. I am assuming that WebView is attempting to do some image optimization to reduce the size of the graphic. Is there anyway to prevent it from doing this? I don't want the image to lose any of its quality. 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 6 Replies View Related

Android :: Access Resources Of An Apk

Apr 20, 2010

I'm thinking at putting a .txt file in res/drawable or in res/layout to have it in the apk when the application is packed, and then after install to open and read from it to perform some tasks . Can this be done ? If yes please let me know how can I access the file ,as I don't know it's path .

View 1 Replies View Related

Android :: Access Resources From Another Application

Jan 28, 2009

I have created a subclass of Activity, 'CustomActivity', that overrides the onCreateOptionsMenu and onOptionsItemSelected methods. In a couple of other applications I have extended this subclass to provider a common menu for each activity. Is it still possible to access the resources from this Subclass? By default it uses the resources from the current activity (Strings, xml layout etc.).

View 7 Replies View Related

General :: Samsung Galaxy Pocket (4.0.4) - Block Access To Other Browsers

Aug 1, 2013

Is there a way to block access to browsers? I would like the user of a Samsung galaxy Pocket (version 4.0.4) to be able to access one browser only.

The browser in use has a blacklist filter which block websites, but indeed you can easily bypass it by installing a new browser.

My past attempts: I have searched for a long time but could not find anything that worked. The browsers I have found which can block other browsers are not compatible with this device.

I have also searched for alternative ways of blocking websites though a blacklist but all of those solutions require rooting the device, which I do not have enough technical confidence to do.

Blocking Play store is not either an option since you would be able to install new browsers in other ways.

View 3 Replies View Related

Android :: WebView For Form Based Local AJAX Application

Feb 18, 2009

I'm thinking of using WebView as a container for "Form" based JavaScript+DHTML applications. This is simple fill-out-forms like you have on the web, but now on mobile like for note taking, order taking, and the like.This is to allow web developers to build the bulk of the application - Javascript will perform validation, computations, etc.On the Java side, I only need to implement database CRUD operations, and a ListView to scroll over the forms.To minimize the learning curve on the JavaScript side, I've been thinking on how to emulate AJAX calls so that the web developers don't need to learn new methods to call on the JavaScript-Java bridge. Of course this isn't possible using XMLHttpRequest, so I'm thinking of adapting JQuery or other Javascript libraries for this purpose.

View 3 Replies View Related

Android :: Comparing Browsers / Pros _ Cons Of Different Browsers

Mar 22, 2010

I've seen plenty of discussion here about different browser apps, but I have yet to see one listing the pros and cons of the different most popular browsers available for android. The main browsers I've been able to identify are the following: If there are any others worth mentioning, please add them to the list. I would love to hear your input regarding the pros and cons of each one.

View 19 Replies View Related

Android :: Access Drawable Resources From ItemizedOverlay?

Jul 3, 2009

I have a method in my ItemizedOverlay class which takes an object as a parameter and depending on it's certain values returns an appropriate icon. What's the best way to access the drawable resource from within ItemizedOverlay as you can't access it directly like in an activity? The only idea I have for now is to pass the resources as a second argument...

View 3 Replies View Related

Android : Access Droid's Native Resources?

Jul 11, 2009

Could someone please tell me how to access android's native resources? In particular, I would like to use the camera icon and shutter sound in my own app.

View 3 Replies View Related

Android :: Core Class Access Resources At The App Layer

Sep 22, 2009

Can a core class such as "AbsListView" access resources, such as xml files, and .png's, in a 3rd party app installed in the normal way (at the app level)?

I realize this is a change in framework code, and that is fine for my purposes. So, for example, if I know that I am going to install an app called "MyApp", could I go into frameworks/base/core/java/android/ widget/AbsListView.java and tell it to use an xml file and .png's that live in that app? Here is the line I would want to modify: setSelector(getResources().getDrawable( com.android.internal.R.drawable.list_selector_background));

View 7 Replies View Related

Android :: Access Drawable Resources From A Not Context Class?

Nov 7, 2010

So I'm defining a class that sets a Drawable attribute in an object. The problem is that I can't access the getResource().getDrawable(int resourceId) method unless I have some Context.
So what I did was to send to that class an activity instance (let's call it "act") and then I did:

act.getResources().getDrawable(R.drawable.whellchair)

but, when executing that line it throws a NullPointerException.

When idea how to accomplish this?

View 2 Replies View Related

Android :: Sprint Hero Android 2.1 Lost Copy Protected Apps Access

Jun 2, 2010

Can somebody please confirm that the Spring Hero used to have access to copy protected apps, however, after the upgrade to Android 2.1, they now don't?If this does get confirmed, is there any alternative to just removing the copy protection?Eg: If a user purchased a copy protected app, then they upgraded to Android 2.1 (which wipes the phone), they can't reinstall the copy protected app they purchased?

View 3 Replies View Related

Samsung Fascinate :: PC Based Contact List Manager?

Nov 26, 2010

Is there a PC based client that can make and transfer contact lists to the Fascinate - besides using Gmail?
I've got a situation where someone wants to put their whole paper based client list on their phone, some 200+ contacts, and they don't use Gmail. So I'm going to have to type this thing up, and integrate emails while doing it. The thought of having to type it in on the phone is not encouraging. Anyone run across something like that before? On another side note, any good way of limiting what contacts you receive from Gmail? It updated my phone and I've got maybe 20 I actually talk with and 350 contacts I don't care about now.

View 2 Replies View Related

Android :: How To Access / Manipulate A Web Based Database?

Jul 18, 2010

I am quite familiar with web programming (HTML, PHP, MySQL) and semi-familiar with Android Java programming, and would like to begin a project that combines the two together. Can someone point me into the right direction for how I would access/manipulate a web-based MySQL database from an android app?

View 1 Replies View Related

Android :: Wifi Networks For Droid Phones Based On Access Point Names?

May 9, 2010

Does anyone knows if the wifi networks for android phones are based on Access Point Names (APN) ? I ask because in my android application I plan to overwrite some fields in all APN's to disable cellular network, but I still want to have available the wifi for the user.

View 1 Replies View Related

General :: Cannot Access Rockchip 2918 Based Tablet Via USB

Jun 28, 2013

I have a noname chinese made Rockchip 2918 based tablet PC that I am trying to root so I can use some tools to increase performance/etc.

I have ADB and the Android SDK installed.

I have the most recent Rockchip drivers installed.

I have Development Mode turned on on the tablet.

When I plug the device into USB, nothing happens other then the windows notification sound to let me know something was plugged in. No "searching for drivers" nothing. When I go to ADB and do a "ADB Shell" command, it says device not found.

If I boot the tablet into Recovery mode, connect USB, and repeat the above procedure, I get the same result.

Is there a seperate USB Recovery mode I need to get into? I read about this on other RK2918 based tablets and I have tried all the methods to no avail. Volume up and Power is the only combination that does something, and that just takes me into normal recovery mode.

Just a side note, If I connect my HTC Evo 4G LTE and try the shell command, it finds it instantly.

View 1 Replies View Related

Android :: Access The String Values Of String Resources Statically

May 5, 2009

If there's anyway way I to access the String values of String resources statically? e.g. a static equivalent of Context.getString(...)?

View 5 Replies View Related

Android :: Access Http Response Headers In WebView?

Jun 28, 2010

Is there a way to view the http response headers in an Activity once a web page has been loaded in a WebView? Seems like this should be possible, but I can't find any methods that expose the headers.

View 1 Replies View Related

Android :: Access Droid's Barcode Scanner From WebView?

Apr 1, 2010

I love the BarCode Scanner application for the Android phone (we're using Motorola's Droid). Is it possible to access the BarCode Scanner from a web application running on the phone? I was thinking of using a WebView, but I'm not sure how I'd access the Scanner API.

View 2 Replies View Related

Android :: Way To Access Audio Of Call Manager?

Sep 19, 2010

I would like to access the audio that my call manager captures while a call is active.
I would like to access it before it is transmitted to the other party.

View 1 Replies View Related







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