Use azure file share smb with android file manager - android

I have some about Android connect to Azure file share with smb problem.
English isn’t my native language. I apologize for my mistakes.
I would like use azure smb files share with my android phone, I already install app like X-plore File Manager that support smb protocol.
but when I keyin url, stroage account name and stroage account key, app return message "failed authentication".
That url, name and key I think it's correct because I also use in my Windows 10 FileExplore, and it's work.
I didn't open secure-transfer because android only support SMB2.
How can I solve this problem?
Edit:
when I using IOS to connect Azure SMB, there is no problem.
But Android third party application always can't connect, Please see I have try app below.
x-plore file manager
AndSMB (samba client)
File Manager Plus
app return error message like this

With the help of storage account key, we can be able to use SMB, and for this we need to enable Azure Active directory domain services, refer to MS docs for enabling AAD DS. For enabling this we need client machine, with help of storage key we can add to AAD DS.
Thanks to 9to5mac for the blog for enabling SMB connectivity in files app for IOS.
Also, we need to interact with third party application to connect with Android.

Related

Access log files of an Virdi AC 7000 Fingerprint terminal

I need to access the logfiles of an Virdi AC 7000 Fingerprint terminal. There exist 2 SDKs, the UCBioBSP SDK to communicate directly with the device and the UNION COMMUNITY Server SDK which probable only functions in combination with UNIS server (please correct me if I am wrong as the documentation was rather fuzzy on that detail). The UCBioBSP does not provide the functionality to download logs and my client does not want to use UNIS. Is there another way to download the logs from the terminal? As the UNIS server can access them there should be another way to download them (since it runs on android). Maybe ftp, web services or something else. Any advice is apreciated.
Thanks!
You need to use the VIRDI sample code(UCSAPI), provided in C#, C++ or VB.
When you "Start Server", It will open a Listening on port 9870.
The VIRDI AC7000 will connect with this server.
Then you send the command to get the logs, as you can see in the image below.

Download Google doc file to device

I am trying to download a doc.google file to my device, however I can't figure the best way for that..
First: I created an Auth key to my Drive following this tutorial
Then: I am trying to follow this tutorial to download the file, but It is not going well
I want to connect to this Auth key through the app and download/Export the file automatically without prompting the user to choose account or anything..
This is the URL for the doc file:
https://docs.google.com/spreadsheets/d/1QJTna4iz-VivwAzwgq7V5QDs2XbgM2lEFPEG7NqCPdo/
Thanks in advance
Try the method used in this SO post.
It was cited that to overcome the google problem when setting the file publicly. As in the post:
If you set the file permissions to be publicly available and
create/generate a direct access link by using something like the
gdocs2direct tool or just crafting the link yourself:
https://docs.google.com/uc?export=download&id=<your file id>
You will get a cookie based verification code and prompt "Google could
not scan this file" prompt, which won't work for things such as
wget or Vagrantfile configs.
The code that it generates is a simple code that appends GET query
variable ...&confirm=### to the string, but it's per user specific,
so it's not like you can copy/paste that query variable for others.
The specified web page hosting method will suffice.

Chrome Sender Sample App

I am trying to make an app for personal use that has the same functionality of the chrome sender sample app (https://github.com/googlecast/CastHelloText-chrome)
The only thing I am trying to change is the "SAMPLE APP" at the top of the casted screen. I have registered my device via the console and created a new custom receiver in this receiver i have included a URL for a Google drive HTML document I made (Just a black HTML page: https://www.googledrive.com/host/0B7IBRkdKpfYSRmZCYzJaTUpDamM
I then took my newly acquired application id and injected it into the code replacing the Googles sample app ID... I am using Mongoose to host the webpage locally and after I type a message I get no option to connect to my cast device.
Also I have entered my computers local IP and port number (where I am hosting the sender app) under sender details (chrome). I have tried Google's sample code and it works fine the only thing I have changed is the application ID.
Thanks!
I tried the same thing a week ago and the google drive's trick (to host an html page) doesn't work for me.
Your receiver app (your black html page) need to be accessible online, otherwise it's impossible to connect your sender app to your cast device.
So you must put your html file on a server. Do you have a personnal server to host it ?
I pushed your html file on my server and it's connected to a new App ID. Can you try with this App ID : E46DA3D7
If it's working then your probleme is really Google Drive hosting.
Let me know ;)

A filed download doesn't initiate from my Android app

I am currently building an Android app using HTML5. Inside my app, I am providing link to a HTML file available inside tomcat server on my machine.
<div>Beep</div>
The HTML file "sample.html" has link to download a file in same file location, where the sample.html is placed.
sample.html has this --> Click to download
The problem here is, when I run my app on an android mobile, the link stays dumb and it won't initiate the download from the given path.
But, the same URL when I open in a web browser, the download starts.
Could anyone let me know why this URL is not initiating the download inside my app??
I already enabled "Allow installation of non-Market applications" in the settings of my android device.
If you are using real device you must set your url with static ip of your machine like 192.168.0.10 and in emulator 10.0.0.2
See this post.
Use 10.0.2.2 as IP for server running on the same machine as the Android emulator.
Check out following post with similar problem:
Download File inside WebView
Check out this link for setting up the mime type in tomcat.
Copied for reference:
In Tomcat 5.x and 4.x, the default mappings between MIME types and file extensions are stored in the file tomcat_home/conf/web.xml, where tomcat_home is the path under which Tomcat was installed on your server. The mappings specified there are applied to all web / WAP applications hosted on your Tomcat server. Application-specific mappings should be set in the WEB-INF/web.xml file under the directory of your web / WAP application.
Each mapping is specified with the <mime-mapping>, <extension> and <mime-type> tags. Here is an example:
<web-app>
...
<mime-mapping>
<extension>xhtml</extension>
<mime-type>application/vnd.wap.xhtml+xml</mime-type> </mime-mapping>
<mime-mapping>
<extension>wml</extension>
<mime-type>text/vnd.wap.wml</mime-type> </mime-mapping>
<mime-mapping>
<extension>wmls</extension>
<mime-type>text/vnd.wap.wmlscript</mime-type> </mime-mapping>
<mime-mapping>
<extension>wbmp</extension>
<mime-type>image/vnd.wap.wbmp</mime-type> </mime-mapping>
...
</web-app>

e-mail and Android mail account settings from code

Is there a way to create/change an email account from source at android an ios? We would like to provide our customer a way for adding their mail accounts to android and ios devices within in an app.
I've already taken a look at the Android Account Manager but I'm still not sure if I can add System-Mail Accounts with it(example..?) :(
API: Android Account Manager
For IOS up to now i haven't found anything :(
For iOs you will have to create a configuration profile using the iPhone Configuration Utility for Mac OS X or for Windows. Basically those are XML/Plist-Files - only some content is obfuscated (like passwords). But if you don't include passwords you can modify this xml content in your app then you should be able to create a local NSURL and call UIApplication's openURL. if that doesn't work you'll have to deploy your configurations from a webserver - there is a guide for that. In that case you have to create a http-NSURL and pass that to openURL.

Categories

Resources