Litecoin-Java / bitcoin-wallet

Bitcoin Wallet app for your Android device. Standalone Bitcoin node, no centralized backend required.
https://play.google.com/store/apps/details?id=de.schildbach.wallet
31 stars 42 forks source link

Add a "Disconnect" action on the ongoing peer connectivity notification (4.1+ only). #42

Closed santa4nt closed 10 years ago

santa4nt commented 10 years ago

Utilize additional action (button) that can be attached to the peer connectivity notification to disconnect (4.1+ only). Currently, to disconnect from the network, the user has to launch the application's main activity first and then tap the "Disconnect" menu item from the overflow. Using an action button on the notification itself is much more efficient.

Looks like this:

screenshot_2014-01-28-13-38-55

However, this requires android-v4 support library r11+, whereas the current maven configuration pulls from support library r7. I had to comment that out and replace the support library manually (r13 is bundled with the Android SDK). I don't see any maven central repository for this, actually (seems like the ones that are there are not official to begin with).

wtogami commented 10 years ago

Does this break support for 2.3.3+?

hank commented 10 years ago

It shouldn't - just requires a newer support library. I'll try it out soon.