Cilenco / skipTrackLongPressVolume

MIT License
130 stars 14 forks source link

Any guide regarding how to build it? #4

Closed MrBIMC closed 5 years ago

MrBIMC commented 5 years ago
/**  
     * Listens the volume key long-presses.  
     * @hide  
     */  
    @SystemApi  
    public interface OnVolumeKeyLongPressListener {  
        /**  
         * Called when the volume key is long-pressed.  
         * <p>This will be called for both down and up events.  
         */  
        void onVolumeKeyLongPress(KeyEvent event);  
    }

That interface is hidden inside the MediaSessionManager and thus I can't manage to build this app inside the android studio. Is there a way to build that stuff easily?

indianpoptart commented 5 years ago

Check the gradle version and make sure you are using the hidden-api

android-hidden-api - Issue 46

Cilenco commented 5 years ago

Also check out this README section.