I am planing to make an android app which download required files from cloud drive Amazon or Google drive.
Details:
Let we have 30 lectures on cloud drive user can download a lecture {according to need/Intrest} from cloud drive using my android app.
Just i need is the public URL of the data stored in cloud drive. Or any API that can do this job {Amazon, google drive...etc}
How to do this ? is there any Cloud API or something that help me ?
There are plenty of APIs available. Amazon's API/SDK is here. Rackspace has one as well, iirc. Google Drive and Dropbox aren't really public-facing cloud-storage, and you would probably want to look very closely at their TOS before utilizing them. For any public-facing services, I generally use a small php-app which talks to the mobile app and delivers the time-limited url for the requested content. This prevents side-loading and allows me to switch CDN providers without changing the app.
To get a more specific answer, you probably need to ask a more specific question.
If you are looking to host a number of video lectures and have any user download them you probably want to use Amazon S3. Cloud drive is for each user of the application to download and upload videos to their (the end user's) cloud drive account. Google drive is similar. Amazon S3 lets you (the developer) hold onto the data and then give it to your users.
The Android SDK for AWS can be found https://aws.amazon.com/mobile/sdk/
A getting started guide is http://docs.aws.amazon.com/mobile/sdkforandroid/developerguide/Welcome.html
Specifically content on uploading and downloading with S3 is http://docs.aws.amazon.com/mobile/sdkforandroid/developerguide/getting-started-store-retrieve-s3-transferutility.html (short version) and http://docs.aws.amazon.com/mobile/sdkforandroid/developerguide/s3transferutility.html (more detail)
You can also find a sample on GitHub (along with a tutorial) https://github.com/awslabs/aws-sdk-android-samples/tree/master/S3TransferUtilitySample
I know this probably sounds like huge overkill, but if anything changes in the future (and it will), this will help you enormously.
I'd probably create a web service that responded with HTTP redirects to a URL where the content currently is. If hosting cost is the issue, you could probably remain within the free tier on GAE pretty easily.
Amazon S3 is probably a decent fit here. Costs will probably be very low unless you start using a ton of bandwidth.
Now amazon have the cloud drive service with unlimited space for ~60$ per year.
Also have api for android.
Related
I'm trying to build a mobile application on Android, and being new to cloud services in development, I was shocked at how many options were thrown at me. The app will only upload store and use pictures from the cloud, there won't be many at once (+-100). Also, I want all of them to be centralized (I guess it's basically a server).
I was met with options like: Google Drive API, Google Cloud Storage, and a few more Google and non-Google services, and I'm a bit confused as to which is the most suitable for my needs.
Preferably it would be a free service, but I work with what I get.
All your suggestions are welcome, and thank you.
I want to use Google Cloud Speech API for clinical purposes.
It is important to know, if Google Cloud Speech save my sound recordings?
Does anyone know that?
I am very thankful for answers!
Greeting
Melanie
To help Cloud Speech-to-Text to better suit your needs, you can opt into the data logging program. The data logging program allows Google to improve the quality of Speech-to-Text through using customer data to refine its speech recognition service. As a benefit for opting in, you gain access to enhanced transcription models that Google has trained by using data collected through the data logging program.
So yes, to improve its service, it might keeping track of your data (even if anonymously).
Your data collected through data logging enjoys the same level of security as all other Google Cloud services. The Google security model is an end-to-end process, built over 15 years of experience and focused on keeping customers safe on Google applications like Gmail, Search and other Apps.
I won't go deeper into this since this is a legal-related question and maybe hasn't its place on this site.
For more information about Google's security policies, see the Google Cloud security whitepaper.
How can I make an online server to access API's and handle requests? Then how can I have my android app access this online server to make requests?
I have an android app that I am building for a school project. This app will need to use multiple APIs to gather information to display to the user. However I don't want to allow people to decompile to source code and take my API keys. My plan is to build an online application that will do all of this work on the server side. This way the user only submits a query and the server sends information in response to their request. This will speed things up for the user and keep the keys from being accessed by other individuals.
Steps I think I need to take.
Set up server to access the API's
Make app access online server through HTTP requests
3....
4...
I have a very general concept in my head, but I'm not sure where to begin. If I'm wrong on any part of this question please correct me.
I do plan on moving this to the app store in the future.
edit: Do you know of tutorials that show the building of the API and then loading it to Amazon AWS or another server?
There are many options when building restful services for api consumption. You could start with php, which is the easiest to start with. Here is a nice tutorial that takes you through the initial stage all the way to the end of building login system for android using mysql and php as the server language. It contains the barebone details of setting up the infrastructure and logic. I think from there you manipulate and go further.
https://www.androidhive.info/2012/01/android-login-and-registration-with-php-mysql-and-sqlite/
check out java rest easy, it is a nice tool to use to build web API's. You can host it for cheap at red shift or amazon using their pay what you use billing.
The cheapest way for you to host your REST API is to use Amazon's API Gateway. You pay for what you use and pay nothing if it is not being used. API Gateway plays very nicely with Amazon's Lambda service that allows you to run discrete code units - again, you only pay for what you use. Lambda itself plays nicely with Amazon's pay-as-you go NoSQL datastores (SimpleDB and DynamoDB).
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.)
I am on the lookout for doing analytics for a desktop application written in Java. I came across two services viz: TrackerBird and DesktopMetrics , but for a small time developer like me , those services are not affordable.
Google analytics has android support. So I was wondering if I could use the same in the desktop application which is on Java.I am looking for a headsup if anyone has implemented the same and tips on how to proceed on using GA on desktop.
the SO link here says no , but I think it can be done.
Here is the link of google code on using GA in android , says it should bind to an application context. I was wondering if I could hack it to work in a desktop app.
There is no Google supported library for GA on desktop Java. The Google Analytics Android library has a lot of dependencies on Android infrastructure (for extracting basic user information, maintaining persistent state, and tracking application lifetime). But, since GA just boils down to HTTP image requests, it should be possible for a desktop Java app to mimic those. I have not used it, but this library looks like what you want: http://code.google.com/p/jgoogleanalytics/
For more details and other useful links see Manually sending data to Google Analytics
Have you thought about using Mixpanel? It gives you 25,000 to 175,000 free data points a month and has a Java integration library:
https://mixpanel.com/docs/integration-libraries/java