In windows phone 8, its very easy to add an App Bar and manage it, but now i test new windows phone 8.1 SDK to build a project with new Geofencing feature but i don\'t know how
Create Class with Method
public static void AddNewAppBarinPage(Page myPage)
{
CommandBar cbar = new CommandBar { ClosedDisplayMode = AppBarClosedDisplayMode.Minimal };
AppBarButton appBarButton = new AppBarButton { Label = "Audio" };
cbar.PrimaryCommands.Add(appBarButton);
myPage.BottomAppBar = cbar;
}
use in Page:
AppBarCustom.AddNewAppBarinPage(this);