Obsolete
Status Update
Comments
do...@gmail.com <do...@gmail.com> #2
Digging around a bit, it appears WebKit itself doesn't handle authentication at all.
Instead, it would appear on Android that the package org.apache.http.auth does this.
Instead, it would appear on Android that the package org.apache.http.auth does this.
mg...@gmail.com <mg...@gmail.com> #3
It's definitely not passing through the information. Here's a snippet from my Apache
log:
---
192.168.10.199 - - [20/Nov/2008:20:14:37 -0600] "GET /file.txt HTTP/1.1" 401 401 "-"
"AndroidDownloadManager"
log:
---
192.168.10.199 - - [20/Nov/2008:20:14:37 -0600] "GET /file.txt HTTP/1.1" 401 401 "-"
"AndroidDownloadManager"
sb...@google.com <sb...@google.com> #4
The request to show an error for AIDL files in the wrong place is documented in 56930
hd...@gmail.com <hd...@gmail.com> #5
Any update on this issue?
[Deleted User] <[Deleted User]> #6
Apparently there isn't anything else to say concerning this is there.
l....@gmail.com <l....@gmail.com> #7
Soooo, yeah, just confirmed this on several devices. It would be really nice to be
able to access my server from my phone. That is kind of why I set it up.
able to access my server from my phone. That is kind of why I set it up.
mo...@gmail.com <mo...@gmail.com> #8
Maybe it would work on another browser besides default? Anyone know?
qm...@gmail.com <qm...@gmail.com> #9
So I devised a workaround for this issue if anyone is interested. However, you have
to allow free access from any browser that broadcasts itself as the
AndroidDownloadManager to the folders you want your phone to be able to download.
Here is what you need to enter in the httpd configuration file in apache:
SetEnvIf User-Agent ^AndroidDownloadManager let_me_in
<Directory "FolderWhereYourStuffIs">
Order deny,allow
Deny from all
Allow from env=let_me_in
require valid-user
Satisfy any
I did this for every individual folder, because there are some folders in my root
directory that I do not want to put online and if you put this in the root directory
then you have to share everything because of the satisfy any directive. This
directive will be applied to every sub-folder, and there is not way to stop it.
(Maybe a limit phrase, but I am not advanced enough to figure that out).
to allow free access from any browser that broadcasts itself as the
AndroidDownloadManager to the folders you want your phone to be able to download.
Here is what you need to enter in the httpd configuration file in apache:
SetEnvIf User-Agent ^AndroidDownloadManager let_me_in
<Directory "FolderWhereYourStuffIs">
Order deny,allow
Deny from all
Allow from env=let_me_in
require valid-user
Satisfy any
I did this for every individual folder, because there are some folders in my root
directory that I do not want to put online and if you put this in the root directory
then you have to share everything because of the satisfy any directive. This
directive will be applied to every sub-folder, and there is not way to stop it.
(Maybe a limit phrase, but I am not advanced enough to figure that out).
mo...@gmail.com <mo...@gmail.com> #10
@hunterpritchett:
I tried it with the dolphin browser too and it doesn't work (without the modification
suggested later). My impression is that there is one download manager which handles
file downloads and this is used by dolphin too. When I clicked on the file, dolphin
showed up the download history used by the default browser.
I have posted this problem some time ago also on the google nexus one forums:
http://www.google.com/support/forum/p/android/thread?tid=2a6aeb6741c24a7a&hl=en
where I also add that the credentials are also not passed to any other program. So
even if I download a playlist from the password protected site and I try to play it,
it does not get played as the authentication of the browser is not passed on to the
media player.
It's certainly an issue and I would love to have a solution too, if anyone is
listening :). Apart from a few bugs, very happy with the N1.
I tried it with the dolphin browser too and it doesn't work (without the modification
suggested later). My impression is that there is one download manager which handles
file downloads and this is used by dolphin too. When I clicked on the file, dolphin
showed up the download history used by the default browser.
I have posted this problem some time ago also on the google nexus one forums:
where I also add that the credentials are also not passed to any other program. So
even if I download a playlist from the password protected site and I try to play it,
it does not get played as the authentication of the browser is not passed on to the
media player.
It's certainly an issue and I would love to have a solution too, if anyone is
listening :). Apart from a few bugs, very happy with the N1.
Description
I have copied the .aidl file to com/android/vending/billing and built the project. I get: Gradle: error: package com.android.vending.billing does not exist.
Instruction I found reference to Eclipes' New->package, but AndroidStudio does not have that.
Do I make it a package in Android Studio? Do I modify my AndroidManafest.xml?
<?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="
package="com.company.mikeinappbillingtest"
android:versionCode="3"
android:versionName="1.3" >
<uses-sdk
android:minSdkVersion="8"
android:targetSdkVersion="15" />
<!-- VERY IMPORTANT! Don't forget this permission, or in-app billing won't work. -->
<uses-permission android:name="com.android.vending.BILLING" />
<application
android:allowBackup="true"
android:icon="@drawable/ic_launcher"
android:label="@string/app_name"
android:theme="@style/AppTheme" >
<activity
android:name="com.company.mikeinappbillingtest.MainActivity"
android:label="@string/title_activity_main" >
<intent-filter>
<action android:name="android.intent.action.MAIN" />
<category android:name="android.intent.category.LAUNCHER" />
</intent-filter>
</activity>
</application>
</manifest>