DPReview.com is closing April 10th - Find out more

Help! Ant Android Studio gurus out thyere?

Started Jul 19, 2020 | Questions thread
Simon Garrett Veteran Member • Posts: 7,461
Re: Help! Ant Android Studio gurus out thyere?

DickyAus wrote:

At Last! Got it all working

Try hard enough and long enough and you can do anything with Android. To get to where I needed to go involved finding my way through many layers of loosely coupled overlapping system interfaces, and like peeling an onion the more layers I peeled the more I wanted to cry. But I suppose Android does try to be all things to all men so we must wear the burden of hideous inefficiency. Thank heaven for the processing power of modern devices.

Dicky.

Glad you got there!  As you said, I get the impression that OTG is not well supported, and not in a very standardised way.

I've developed a few apps but I'm by no means an expert.  I find the developer.android.com reference section sometimes opaque and incomplete, and the guides and samples rather sparse.  I often rely on Google (usually ending up at stackoverflow).  I have to hope that someone has had the same problem (and solved it) before.

Worse: you get something working only to find that that in the next release of Android some API is "deprecated" or simply doesn't work any more.  An example: I had an app that replicated the UK telephone Speaking Clock and it has a feature to set an alarm, and restart the app when the alarm fires.  Not with Android 10, where the wise Android Gods have severely reduced the functionality of alams, and you can no longer start activities from the background.  You can create a notification or play a sound, but not start an activity any more.

Anyway, glad you solved it.

-- hide signature --

Simon

 Simon Garrett's gear list:Simon Garrett's gear list
Nikon D800
Keyboard shortcuts:
FForum PPrevious NNext WNext unread UUpvote SSubscribe RReply QQuote BBookmark MMy threads
Color scheme? Blue / Yellow