Skip to main content

All Questions

Tagged with
4 votes
0 answers
388 views

Android ExoPlayer - How to add points of interest and their callbacks?

I've been successfully using ExoPlayer to play audio in my app. I have a list of points in time (in milliseconds) in which I would like ExoPlayer to raise an event whenever it passes through them ...
Bitcoin Cash - ADA enthusiast's user avatar
0 votes
1 answer
34 views

Android notifications event

I need to detect that user open notifications window during playing our Game (to pause the game for example). I thought that onPause / onResume overrides will be called but it doesn't. I've searched ...
user2443708's user avatar
0 votes
1 answer
123 views

Android version of NSNotificationCenter (event binding)

Is there a way in android to bind to an activity's lifecycle events? I'm making a library and I'd like to hook into onCreate etc. The iOS version of the lib does it like this: - (void)observe { [...
kreek's user avatar
  • 8,814
0 votes
1 answer
590 views

Need to make ViewFlipper invisible after showNext()

I have a ViewFlipper with two ImageViews. I would like for the second ImageView to display for two seconds then make the ViewFlipper invisible. Code similar to this: // ... // flipper is a ...
freestyle's user avatar
2 votes
1 answer
2k views

Android googlemaps v2 finish loading event or callback

I want to do something after the google maps has loaded(maptiles have been filled) is there anyway to achieve that?
nairdat's user avatar
  • 179
0 votes
2 answers
2k views

Android MediaPlayer On Stop Event, or similar, exists?

I have several activities which use several audio features. For that, I have a MediaPlayer in a singleton java class, so the activities interact with that class and just exist on the media player. ...
Rako's user avatar
  • 249
0 votes
2 answers
1k views

Issues with creating custom events in android

I am writing a custom event and would like some help please. Most of what I am about to talk about is based on the help provided at Custom event listener on Android app So here is my issue. I am ...
Lucas Bailey's user avatar
0 votes
1 answer
3k views

Extending an Activity adding a callback method

I'm having a go at extending Activity to define a standard method I can callback to from an AsynchTask. Here's a skeleton code. public class R3Activity extends Activity{ public void ...
user1325094's user avatar
2 votes
2 answers
6k views

How to define custom events and event listeners in Android?

I'm a starter in Android app development, and my experience in Java development is also minimal. I'm working on a very basic context-aware application and I want to understand how can I notify my ...
user1247742's user avatar
2 votes
3 answers
1k views

How does on"XYZ" callback event work?

I'm looking for concept explanations or example code, if possible I'm new to (android) development and from what i've seen, there are a ton of "onEvent()" methods. for example, View.onClickListener(),...
David T.'s user avatar
  • 23.1k
2 votes
2 answers
125 views

Is it meaningful to call a Menu-related event a "callback function"?

I'm going through the android notepad tutorials: http://developer.android.com/resources/tutorials/notepad/notepad-ex2.html In Notepadv2, Step 5, it says: onListItemClick() is a callback method ...
Joseph's user avatar
  • 773