Android :ppp Change - PAP Auth Is Not Allowed
Apr 1, 2009
Currently in .../external/ppp/pppd/auth.c, function check_passwd, somebody write
{ #if 1 return UPAP_AUTHNAK; #else .....
This basically means PAP auth is not allowed on android. Is there any reason behind this? Can I savely change the #if 1 to #if 0?
View 2 Replies
Apr 5, 2010
I have a Web View. I'd like to show some page from my server, but I require some basic authentication. Is there a way I can specify basic auth credentials when calling Web View.load Data() somehow? I can do this on i phone with the equivalent web view class, thinking maybe same is possible with android?
View 2 Replies
View Related
Oct 13, 2009
I have a WebView in my layout which I want to display a web page in. However the webpage requires Basic Authentication.
If I try to access this web page in the normal android browser, I get prompted for a username and password which then gets remembered and works for the site in future.
I want to do the same thing in my application, but when I load the page into the webview it just comes straigt up with the Unauthorized message without prompting.
I guess the prompting for Authentication is written in code in the android browser. Does anyone know how to inject a username and password into the WebView?
I have done a search arond and found the setHttpAuthUsernamePassword (String host, String realm, String username, String password) Method, But can't seem to get it to work and I can't find anyone else who has either? Not sure if I am giving it the correct parameters as I'm a little confused by what is means as the Realm?
I assumed that if the site was myhost.dyndns.org then the hostname would be myhost and the realm would be dyndns.org? This didn't seem to work. I also tried connecting by IP Address but that makes the Realm setting even more confusing? Any ideas on how I can get this working?
View 4 Replies
View Related
Oct 8, 2010
I am trying to access flickr services from android, to get the full permissions , first of all i fetched forbs using flickr.auth.getFrob method by integrating & converting in MD5
secret + 'api_key' + [api_key] +
'method' + 'flickr.auth.getFrob'
I successfully got the frob , but the problem came when i request a authorized token by integrating & converting in MD5
secret + 'api_key' + [api_key] +
'frob' + [frob] + 'method' +
'flickr.auth.getToken'
but unfortunately i am getting invalid frob , i don't why whats the problem.
View 1 Replies
View Related
Mar 1, 2009
I'm wondering how to use the GData APIs without requiring the user to type their username and password in my app. The user has to login to the phone, so it doesn't make much sense to me that apps would require them to type it in again. The phone's calendar and Gmail apps obviously don't prompt so how is it done?
I found some threads on this which indicate this isn't possible, but they are pretty old and I was wondering if there is any new information (i.e., given that we have a new SDK version 1.1).
View 2 Replies
View Related
Oct 12, 2010
I have an android app I want to connect to a Google App Engine based server. I can get the auth token from the AccountManager. It seems the next thing I am supposed to do is talk to an auth page to get a cookie. Following the awesome instructions here: http://blog.notdot.net/2010/05/Authenticating-against-App-Engine-from-an-Android-app
I think my url should be:
https://MYAPP.appspot.com/_ah/login?continue=http://localhost/&auth=CrAZYl000ngToken
but rather than a redirect, I get a 500 server error:
Error: Server Error
The server encountered an error and could not complete your request. If the problem persists, please report your problem and mention this error message and the query that caused it. What's up with that? What is the URL I am supposed to be going to? Or maybe I'm doing something else wrong?
View 1 Replies
View Related
Mar 3, 2010
I just found out from mobile Defense that the Android OS will not let this app or any of these type apps work as intended, i.e. the OS does not allow the GPS or Data or WiFi to be turned on remotely if off. Kind of kills the whole idea of having these apps, anyone know of a non root work around as the cellular south HTC Hero cannot be rooted without major issues?
View 16 Replies
View Related
Jul 12, 2010
I have the Pantech Matrix for AT&T, I have had it for a year now and I really want an android phone (HTC Aria.) Because this is before my 2 year contract is up am I not allowed to upgrade, or will I just not be able to recieve the upgrade discounts, which i really don't care about. Thanks in advance and please help me.
View 10 Replies
View Related
Aug 3, 2010
Could I get in trouble from verizon by using Tethering apps like EasyTether or PDANet? I want to know because I'm going on vacation next week, and being able to tether my laptop would be really cool
View 10 Replies
View Related
Feb 6, 2009
I get an apk file from somewhere. I tried to install it the emulator successfully. (The emulator is built from the latest code in AOSP which should be cupcake or later). But I can't launch the application from the GUI. It complains "The application xxx has stopped unexpectedly." After checking the logcat, I find the message "access to class not allowed". It seems that that process is not allowed to instantiate the Activity class.
Since I can install the apk successfully, I am curious why I can't launch it as a user.
BTW, I tried two ways to install the app. 1) by copying it to /system/ app and rebuild the system.img 2) by using "adb install". Both getting the same error message.
I tried to extract the AndroidManifest.xml file from the apk. But it seems that the file is scrambled and can't read.
View 5 Replies
View Related
Apr 4, 2009
I'm the lead developer of TotalCross, a virtual machine that's just like the one used in Android, and targetted for small devices. Currently, using TotalCross, you write programs completely cross- platform among Palm OS 5, BlackBerry, iPhone, Windows 32, Windows CE (2,3,4,5,6) and Java-enabled platforms.
We plan to port TotalCross to Android, but i'm concerned about the legal way. I'm aware that there may be hack C APIs for Android, but will these APIs allow the users to sell their applications in a legal fashion?
Btw, what is legal and what's not legal in Android? I could easily port our VM to Android if there were a standard C api on it. However, all i see is Java APIs. I could also port TotalCross to run over the Java API, but i'm concerned about speed. I believe our VM is faster than the one in Android (actually, it is a couple times faster than the BlackBerry VM).
View 6 Replies
View Related
Nov 16, 2010
I have a scenario where I need to control how many retries are allowed per hour for data connection establishment in case of failure? How can this be achieved? There is something like nextReconnectDelay in GsmDataConnectionTracker.java, but can't figure out how to reconfigure this so as to reduce number of reconnection attempts? Also is there any settings so that after n retries of failed 3G data call, Android waits for x hours to initiate next connection.
View 3 Replies
View Related
Aug 8, 2009
Having trouble with permissions. The error I get is this: Not allowed to start service Intent { comp= {com.commonsware.android.service/ com.commonsware.android.service.WeatherPlusService} } without permission private to package I installed the WeatherPlus app from Mark Murphy's dev book. I'm trying to call his weather service from a different app. I think I have an issue with permissions, not really sure how they work. I thought that you could just make your own, and then check against it. With that in mind, listed below is the client manifest, followed by the service manifest. I called my permission "mypermission". Code...
View 3 Replies
View Related
Apr 14, 2010
Will a developer's account be terminated if he travels to an "invalid" country and logs on? I understand that he cannot upload chargable applications from certain countries. But why close his account? Some people are travelling and have half their family in one country and the other half in the USA.
View 2 Replies
View Related
Nov 1, 2010
I would really appreciate if someone could point me to a list of devices/carriers where install from unknown sources is not allowed.
For e.g. I can confirm that HTC Aria (offered by AT&T) does not allow install from sources other than market.
View 8 Replies
View Related
Dec 20, 2009
What is the maximum number of threads allowed per application?
View 2 Replies
View Related
May 27, 2009
What is the maximum size allowed for an android application?
View 8 Replies
View Related
Apr 21, 2010
What special characters are allowed for file names on Android?
~!@#$%^&*()_+/.,
Also, can I save file with Unicode name?
View 2 Replies
View Related
Mar 28, 2012
What sound files is android allowed to play?
View 2 Replies
View Related
Oct 1, 2010
Do any of the alternate email applications - K9, Maildroid, etc. - allow you to delete emails from the inbox? I keep thinking that I must be missing something in the stock Gmail app that I can't figure out how to do that.
View 4 Replies
View Related
Jul 30, 2010
I would like to pop-up an error from the appwidget when one of its background tasks fails, but I don't think that is permissible -- or if it works, that it is safe.
View 1 Replies
View Related
Apr 20, 2009
Google applications do it, and apparently it used to be part of the public API (via android.os.SystemProperties.) How are we supposed to enable/disable sync on the phone? Disabling/enabling roaming is easy, but I'm beating my head against the wall trying to find a non-hack method for disabling auto-sync (much less the granularity that would actually be nice.) Is this intentional by the framework team? Is it a whoopsie that is planned to be changed later?
View 14 Replies
View Related
Apr 4, 2009
Will Android have syncml support?
Specifically some of us want to use our Android devices to talk to our company exchange/syncml servers.. Syncing with google calendar using the various programs isnt allowed..
Syncml works, just like symbian has it.
View 2 Replies
View Related
Aug 25, 2010
I have tried and tried. Got it to mount once with USB debugging turned on. but that was just once and I haven't got it to work again.
View 13 Replies
View Related
Jan 6, 2010
My employer actively prevents us from running Google Calendar Sync. Probably something about copying appointment info to the web. how to get Outlook appointments into your Nexus One without them being copied out into the cloud?
View 18 Replies
View Related
May 27, 2010
Hopefully inspiration for all. Simple rules:
- No discussion
- Only one wallpaper allowed per post [your current wallpaper!]
- Link to wallpaper [or method to obtain it, or allow a 'save as...']
I'll start:
[640x480 as I have a Legend]
View 4 Replies
View Related
Jun 11, 2010
I read about their 3gb policy on here and as I got mine from buy mobile.net I called to check today. I was on the 1gb and they swapped me over and gave me a choice of booster. As i now have all this data I want to spread the love a little! So is it OK to tether assuming there is an app?
View 4 Replies
View Related
Feb 5, 2013
Is there any way to resize a widget more than aklowed? I have a 4x3 widget that can be resized to 4x2, but i want it in 4x1. I don't care if its layout messes up, so, is there any way, trough external apps, mods, or even code hacks to do that?
View 4 Replies
View Related
Nov 17, 2010
I have a Desire and can't live without my swype for typing. My brother also has a Desire but hasn't got swype and the beta is closed. He wants to try and get swype onto his HTC by downloading mine. If he does this, will Swype allow it to be downloaded onto two phones or will they stop it?
View 8 Replies
View Related
Jan 20, 2013
After using a CL purchased At&T Galaxy S3 for 14 days, the phone now says "Phone not allowed MM#6", and does not allow any calls.
I verified the IMEI number with T-Mobile and AT&T and the number is not Blacklisted / Reported Stolen (had to confirm this before I tried anything). AT&T even gave me an unlock code for the phone (no use, as the phone is already unlocked through UMTS/Debug Screen/......./Network Lock settings).I have also refreshed the IMEI data.
View 2 Replies
View Related