How to share files to Airstash programmatically? - java

i'm android software developer, i want to share files to Airstash programmatially without open the Airstash+ application. is there any sdk available for android? please give me any suggestion.

AirStash is also a WebDAV server (also uses http streaming). You can use this standard to access folders & files, create/delete folders & files (rename and move is on the way--see AirStash on Facebook). There are many 3rd party apps that access AirStash utilizing this method.

Recently purchased a RAVPower® FileHub and its great value really worth the money. Main reason was that it is a simple and reliable product with a SD card slot and USB port to connect a multitude of different storage devices. It acts as both a router with the ability to bridge my home or business to access to the internet, and as a device you can add storage devices some external storage for my documents. All these it works great. Wish I would find this before cause it really a MUST.Besides, its 3000Amh external battery help my smartphone a lot when I am outing! It priced only $49.99 makes it more attractive!

Related

How can I know the number of Installs of my android APK?

I have distributed my app through posting the link from google drive where the users can download the .apk file.Now that I haven't published my app in google play how to know how many installs or how many people have installed my application.Is there a way I can increase the count variable in the server or something like that?
Unless you went through the App Store or integrated some third party analytics tool like Fabric you would need to have implemented this in the application with a request to a server with a unique identifier to keep track.
Is there a way I can increase the count variable in the server or something like that?
Well that seems a bit shady. You don't want to lie to people, do you?
When you release an app on the Play Store, Google will keep track of how many users download your app, and update it accordingly. So if people use your app, then your downloads (listed on the Play Store) will reflect that.
To see your current downloads, you should be able to find that information on the "Google Play Developer Console." (I would imagine; I currently don't have access to the dashboard myself.)

Android: share and access a text file over LAN

I am developing an Android application for the guest-relation team for a society. The main idea for the theme is that a single text file will be shared across a LAN. All members of team will have an android device and check the guests who have arrived. I have completed the system, now I want you guys to suggest me:
(I have not studied computer networks subject or anything related, so I hope a detailed answer about technology also)
How to share a text file over LAN?
How to access that file?
How to modify and save it?
Please mention all the tools that I will require.
Thanks.

How can you access USB from cross-platform Java?

I need to copy some files from a PC into a pen drive. I visited JUSB package description, but it is only for windows. So, is there any easy and platform independent way to copy files from computer to USB drive using Java?
You don't need to worry about the fact that it's a USB drive; when the user inserts the device it is recognized by the OS and shows up as a mounted drive in your filesystem. Then you can just use java.io.File and friends to access it. Additional tip: use org.apache.commons.io.FileUtils as a handy toolkit to make many common file-related tasks easier.
If you need to detect the new USB device automatically in Java, that's a bit tricky. See this question.
You can take a look at libUsb Java Bindings a javabinding for libUsb. Btw. the jUSB API seems to support Linux too (package: usb.linux), maybe this article can help you: Access USB devices from Java applications

Crossplatform product and information showing application

Want to create a simple app that runs locally whatever on PC or mobile devices, which shows various products information which would be loaded from local file system (documents, videos, htmls and so on). Furthermore it's able to configured later on.(change source directories, change button label.)
Please suggest what framework is well suited for developing this kind of application. Thanks.

Accessing Windows Mobile device Storage Card from Java?

I'd like to be able to access the contents of my Storage Card which is in my Windows Mobile device. Normally, I'd just remove the card and shove it in a card reader, but its encrypted (and thus, locked to my WM device).
Is there an API or some sort of framework allowing read/write access to the Storage Card (while PDA is docked to PC)?
Reason is: I'm sick of having to create playlists for each album every time I upload to it. I'd like to automate this process.
Any pointers would be greatly appreciated.
When the PDA is connected to the PC you can use RAPI to access files, registry etc on a Windows Mobile device, but I don't know of a Java interface to it. Should be a piece of cake with JNI though... :-)
RAPI (Remote API) is used for accessing the WM device from the desktop, and can be used to access files.
See RAPI and CeCreateFile, or this tutorial on RAPI.
You can point it to files on the storage card by the "\Storage Card\" path.
But, as you notice, this is a C++ API... I'm not aware of any RAPI wrappers for Java, unfortunately.

Categories

Resources