Click here to Skip to main content
15,907,910 members
Home / Discussions / Mobile
   

Mobile

 
AnswerRe: Handle ListView Scrollbar Event Pin
Pete O'Hanlon30-Oct-12 0:58
mvePete O'Hanlon30-Oct-12 0:58 
GeneralRe: Handle ListView Scrollbar Event Pin
biop.codeproject30-Oct-12 4:29
biop.codeproject30-Oct-12 4:29 
QuestionContent-Play Pin
Shrikant Bhongade28-Oct-12 20:49
Shrikant Bhongade28-Oct-12 20:49 
QuestionSD card CID Pin
Shrikant Bhongade28-Oct-12 20:44
Shrikant Bhongade28-Oct-12 20:44 
AnswerRe: SD card CID Pin
Richard MacCutchan28-Oct-12 22:55
mveRichard MacCutchan28-Oct-12 22:55 
QuestionAuthentication Protocol in mobile web services Pin
Eng.Fatima M28-Oct-12 6:32
Eng.Fatima M28-Oct-12 6:32 
QuestionPayPal Integration with IPhone Native Application Pin
keyur satyadev25-Oct-12 0:25
keyur satyadev25-Oct-12 0:25 
AnswerRe: PayPal Integration with IPhone Native Application Pin
Richard MacCutchan25-Oct-12 1:27
mveRichard MacCutchan25-Oct-12 1:27 
Questionhow retrative data from Swlite3 and display as text Pin
ahrahr23-Oct-12 6:52
ahrahr23-Oct-12 6:52 
QuestionWant to get location from latitude and longitude in Blackberry? Pin
AmanArora198722-Oct-12 22:32
AmanArora198722-Oct-12 22:32 
QuestionAdd new listitem in Listview dynamically Pin
klaydze18-Oct-12 21:29
klaydze18-Oct-12 21:29 
QuestionHTML 5 the future? Pin
kakah100014-Oct-12 8:47
kakah100014-Oct-12 8:47 
AnswerRe: HTML 5 the future? Pin
Richard MacCutchan14-Oct-12 21:03
mveRichard MacCutchan14-Oct-12 21:03 
GeneralRe: HTML 5 the future? Pin
kakah100014-Oct-12 21:41
kakah100014-Oct-12 21:41 
GeneralRe: HTML 5 the future? Pin
Richard MacCutchan15-Oct-12 4:37
mveRichard MacCutchan15-Oct-12 4:37 
GeneralRe: HTML 5 the future? Pin
kakah100015-Oct-12 4:45
kakah100015-Oct-12 4:45 
QuestionMobile Application Development (Windows Platform) Pin
Abdul Rahman Hamidy9-Oct-12 0:10
Abdul Rahman Hamidy9-Oct-12 0:10 
AnswerRe: Mobile Application Development (Windows Platform) Pin
Pete O'Hanlon9-Oct-12 1:23
mvePete O'Hanlon9-Oct-12 1:23 
GeneralRe: Mobile Application Development (Windows Platform) Pin
Abdul Rahman Hamidy9-Oct-12 17:58
Abdul Rahman Hamidy9-Oct-12 17:58 
AnswerRe: Mobile Application Development (Windows Platform) Pin
biop.codeproject31-Oct-12 16:36
biop.codeproject31-Oct-12 16:36 
QuestionAndroid Dev for ICS 4.0.4 Pin
Dana Gibson8-Oct-12 6:55
Dana Gibson8-Oct-12 6:55 
AnswerRe: Android Dev for ICS 4.0.4 Pin
Mike DiGiovanni9-Oct-12 1:44
Mike DiGiovanni9-Oct-12 1:44 
Questionandroid action bar Pin
msh667-Oct-12 1:15
msh667-Oct-12 1:15 
hi guys
I create action bar for android application using c#.net.
my code is:
protected override void OnCreate(Bundle bundle)
{
base.OnCreate(bundle);
SetContentView(Resource.Layout.Main);

Directory.InitializeDirectory();
ActionBar bar = ActionBar;

mActionBarView = LayoutInflater.Inflate(Resource.Layout.action_bar_custom, null);
ActionBar.SetCustomView(mActionBarView, new ActionBar.LayoutParams(WindowManagerLayoutParams.WrapContent, WindowManagerLayoutParams.WrapContent));

var tab1 = ActionBar.NewTab();
tab1.SetText("Login");
tab1.SetTabListener(actionbarInterface);
bar.AddTab(bar.NewTab().SetText("Login").SetTabListener(actionbarInterface));
bar.CustomView = mActionBarView;
bar.DisplayOptions = ActionBarDisplayOptions.ShowCustom | ActionBarDisplayOptions.UseLogo;
bar.NavigationMode = ActionBarNavigationMode.Tabs;
bar.SetDisplayShowHomeEnabled(true);
tab1.TabSelected += delegate
{
TitlesFragment titleFrag = (TitlesFragment)FragmentManager.FindFragmentById(Resource.Id.frag_title);
titleFrag.PopulateTitles(tab1.Position);

titleFrag.SelectPosition(0);
};
but in line tab1.SetTabListener(actionbarInterface)has error Unhandled Exception:

Java.Lang.IllegalStateException
plz help me.
AnswerRe: android action bar Pin
Richard MacCutchan7-Oct-12 1:30
mveRichard MacCutchan7-Oct-12 1:30 
GeneralRe: android action bar Pin
msh667-Oct-12 1:44
msh667-Oct-12 1:44 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.