Using AWS Android TransferUtility in Service

+1 vote

This includes Android SDK’s in S3. Can I use it  service for a particular set, and transfer listener and use it to send updates to application or create notifications too.

 I know that the TransferUtility lets one create a service for its own use.

Please help!

Apr 26, 2018 in Cloud Computing by code_ninja
• 5,900 points
81 views

3 answers to this question.

Your answer

Your name to display (optional):
Privacy: Your email address will only be used for sending these notifications.
+1 vote
I am not certain what you is entirely possible, but you can start a service from another service.

When TransferUtility fails to work  its because Amazon S3 client gets garbage collected before TransferService gets it. Now an object is passed as a parcelable between components. But it is complicated to make S3 client parcelable.

Hence the SDK can actually take an alternate route by passing a weak reference of it stored in a static map. The key is that the caller must keep the S3 client alive before TransferService gets it.
answered Apr 26, 2018 by DragonLord999
• 8,360 points
0 votes

Yes it's possible to start a service from another service.

TransferUtility may fail to work if its Amazon S3 client gets garbage collected before TransferService gets it. Normally an object is passed as a parcelable in an intent between components. However it's quite complicated to make S3 client parcelable. So the SDK takes an alternate route by passing a weak reference of it stored in a static map. The key is that the caller must keeps the S3 client alive before TransferService gets it.

See https://github.com/aws/aws-sdk-android/issues/86 for more information.

answered Aug 21, 2018 by Priyaj
• 56,140 points
0 votes
I found this amazon blog that helps us understand more about the Transfer Utility in service.
https://docs.aws.amazon.com/aws-mobile/latest/developerguide/how-to-transfer-files-with-transfer-utility.html
Hope this helps
answered Sep 4, 2018 by eatcodesleeprepeat
• 4,670 points

Related Questions In Cloud Computing

0 votes
1 answer

What are the different ways to send a request to Simple Storage Service in AWS?

There  are two ways: Using REST API Using AWS ...READ MORE

answered Jul 23, 2018 in Cloud Computing by brat_1
• 7,080 points
24 views
0 votes
1 answer

How do you implement service discovery in AWS?

For an Amazon EC2 hosted service a ...READ MORE

answered Jul 27, 2018 in Cloud Computing by code_ninja
• 5,900 points
44 views
+3 votes
3 answers

Is it possible to delete a API in AWS API Gateway?

Yes, it is possible to delete an ...READ MORE

answered Mar 27, 2018 in Cloud Computing by brat_1
• 7,080 points
460 views
+4 votes
3 answers

Deploy RESTful API with .net framework 4.5 in AWS Lambda

This is an old question (somewhat), but ...READ MORE

answered Jan 16 in Cloud Computing by Kirk Davis
296 views
+3 votes
6 answers

Are the S3 buckets in AWS, Region Specific?

Yes S3 buckets are region specific. When you ...READ MORE

answered Oct 16, 2018 in Cloud Computing by Rijo
365 views
+4 votes
6 answers

Creating Amazon Web Service (AWS) account (trial version) without giving up credit card details

Unfortunately, you can’t create an account on ...READ MORE

answered Mar 29, 2018 in Cloud Computing by brat_1
• 7,080 points
717 views
+4 votes
2 answers

AWS Save & Share while using AWS Calculator

After doing your estimate, click the "Estimate ...READ MORE

answered Oct 11, 2018 in Cloud Computing by findingbugs
• 4,730 points
75 views
+4 votes
3 answers

AWS S3 pricing - data transfer in/out

All traffic FROM mobile phones to S3 ...READ MORE

answered Oct 16, 2018 in Cloud Computing by anish
55 views
+1 vote
2 answers

What if I delete default VPC in AWS?What are the consequences?

If you wish to recreate the default ...READ MORE

answered Apr 20, 2018 in Cloud Computing by DragonLord999
• 8,360 points
75 views
0 votes
2 answers

Maximizing value of max_connections in AWS RDS

Here is the Chart I made telling ...READ MORE

answered Aug 20, 2018 in Cloud Computing by Priyaj
• 56,140 points
128 views

© 2018 Brain4ce Education Solutions Pvt. Ltd. All rights Reserved.
"PMP®","PMI®", "PMI-ACP®" and "PMBOK®" are registered marks of the Project Management Institute, Inc. MongoDB®, Mongo and the leaf logo are the registered trademarks of MongoDB, Inc.