Android Question StdActionBar error

Derek Jee

Active Member
Licensed User
Longtime User
Hello

I have 'started again' after a few months of dev on B4A and am trying to get my stdActionBar to work on a new project with a view to creating apps in both android and iOS.. I get this error when running the app java.lang.NullPointerException: Attempt to invoke virtual method 'void android.app.ActionBar.setSubtitle(java.lang.CharSequence)' on a null object reference

at this point in the code

ActionBar.Subtitle = "Login Page"

This is practically identical in an older app I did a few years ago which works. I have looked over both apps but cannot see the problem.. Can anyone help?

Be gentle I am a reborn newbie :)

Kind regards,


Derek.
 

DonManfred

Expert
Licensed User
Longtime User
Did you expect to get an helpful answer with this less on Information?
Upload a project which shows the Issue.
 
Upvote 0

Derek Jee

Active Member
Licensed User
Longtime User
Hi Manfred..

It is a demo which uses the UltimateListView by informatix.. forgetting it connects to a http endpoint to get some data I am trying to add the stdActionBar to show a menu at the top of the activity. I just zipped up the files in the folder but no sub folders. Is that all that is needed when files get uploaded?

Thank you for your comments..


Derek.
 

Attachments

  • SwipeDemo.zip
    8.7 KB · Views: 155
Upvote 0
Top