uri Questions
6
Solved
The scenario:
I am building an app that allows the user to sign in using their Google account, it's worth noting that this is done using Firebase authentication.
The problem:
The user signs in p...
Hannus asked 3/1, 2018 at 21:14
4
Solved
I got a strange behavior of that method:
import java.net.URI
URI url = new URI("https://pmi_artifacts_prod.s3.amazonaws.com");
System.out.println(url.getHost()); /returns NULL
URI url2 = new U...
8
Solved
I have a URL. How do I retrieve its path part?
For example: Given "http://www.costo.com/test1/test2", how do I get "test1/test2"?
3
Solved
How to construct URI object with query arguments by passing hash?
I can generate query with:
URI::HTTPS.build(host: 'example.com', query: "a=#{hash[:a]}, b=#{[hash:b]}")
which generates
https:...
Farcy asked 21/10, 2015 at 10:45
2
Solved
public class Program
{
public static void Main()
{
Uri baseUri = new Uri("http://localhost:7777/BasePath/");
Uri uri = new Uri(baseUri, "/controller");
Console.WriteLine(uri);
}
}
Is it the...
3
Solved
I'm trying to check if a file exists prior to creating it, using DocumentFile (due to the Storage Access Framework). But DocumentFile().fromTreeUri() removes the non-existant portion of the would-b...
Apogamy asked 2/8, 2018 at 20:6
7
Solved
I've tried to figure out whether the format of an e-mail address can be said to comply with the definition of a URI or not, but I've found no explicit confirmation of this so far. I hope someone ca...
3
Solved
Not sure what could be the reason. Added the following in Web.config also.
maxUrlLength="1024" maxQueryStringLength="1024" requestPathInvalidCharacters="" maxRequestLength="1024" relaxedUrlToFileSy...
Gipps asked 6/11, 2016 at 11:4
11
Solved
I have some URLs, like
http://www.example.com/something?param1=value1&param2=value2&param3=value3
and I would like to extract the parameters from these URLs and get them in a Hash. Obvio...
Rosado asked 23/3, 2010 at 14:0
5
I have cookie value which contains round bracket " e.g: demo (1)"
When I try to encode with encodeURI , the round bracket ( is not encoded to %28 , what is the alternative to encode the special cha...
Bifacial asked 8/6, 2017 at 7:22
27
Solved
I'd like to get the full file path, from a URI. The URI isn't a Image, but it's a music file, but if i do it like the MediaStore Solution, it won't work if the app user selects eg Astro as browser,...
6
Solved
I am trying to get the Uri from a raw file I have included in the project in the raw folder.
But I am getting a FileNotFoundException, no matter what.
The file is a .wav file, also tried it with a...
Measurable asked 28/5, 2013 at 11:55
6
Solved
I have this:
http://127.0.0.1:8000/found-locations/?state=--&km=km
I want this:
found-locations/?state=--&km=km
how do i do this in javascript?
I tried window.location.href but it...
Fillet asked 4/5, 2013 at 16:25
3
Following is the code I have got for location redirect to SMS app when the user is on a mobile browser-
window.onload = function() {
window.location ="sms:12345?body=" + encodeURIComponent("TEST"...
Galvanometer asked 29/5, 2018 at 12:54
6
Solved
A subsystem which I have no control over insists on providing filesystem paths in the form of a uri. Is there a python module/function which can convert this path into the appropriate form expected...
11
Solved
3
Solved
I have a caller app that allows the user to pick up photos for the contacts and audio files for the ringtones from their mobile.
When I pick up the photo, it can be displayed correctly using the UR...
Autoclave asked 8/9, 2021 at 10:8
32
Solved
32
Solved
11
Solved
In my app the user is to select an audio file which the app then handles. The problem is that in order for the app to do what I want it to do with the audio files, I need the URI to be in file form...
9
Solved
I'm trying to pass a URI-Object to my Intent in order to use that URI
in another activity.
How do I pass a URI?
private Uri imageUri;
....
Intent intent = new Intent(this, GoogleActivity.class);
in...
Elenaelenchus asked 5/11, 2011 at 0:57
1
I've a query string in the browser like this https://application.com/loader/?orderNumber=313Q&tracerId=PLM5689.
I wanna keep the keys in the query case-insensitive i.e if the ORDERNUMBER=313Q a...
Hoarsen asked 24/5, 2019 at 17:54
9
Solved
Assuming I am given a URI, and I want to find the file extension of the file that is returned, what do I have to do in Java.
For example the file at http://www.daml.org/2001/08/baseball/baseball-o...
18
I am developing a VideoPlayer. I convert the URI of a launched intent to a string and it gives me content://media/external...... But I need to get the real path.
For example: /storage/extSdcard......
Geibel asked 9/7, 2013 at 10:39
10
Solved
The HttpRequest class in Asp.Net 5 (vNext) contains (amongst other things) parsed details about the URL for the request, such as Scheme, Host, Path etc.
I've haven't spotted anywhere yet that expo...
Dardanelles asked 23/1, 2015 at 23:9
1 Next >
© 2022 - 2024 — McMap. All rights reserved.