OS Status Bar

by: dammy
Status: Offline
Joined: 2012-04-26

Hi Marmalade team,
We are currently evaluating Marmalade for developing a non-game application. One thing that we have noticed is that the status bar of the device does not show- this is an important feature for non-game apps. From searching this forum, I found that this has been an issue and the only solution is to develop an iOS EDK which will require one to be a Mac developer (and also means that this feature is only on iOS).

Since I am not able to find anything in these forums, I have to ask if there is any way the status bar of the device can be shown while the app is running. I saw a post as long ago as 2010 (http://www.madewithmarmalade.com/devnet/forum/questions-after-evaluating-airplay-sdk-3) saying this can be added to Marmalade but I don't think this has been done. I will like to know if this feature is available or when it can be expected.
Thanks

by: Josiah
Status: Offline
Joined: 2012-04-09
There is already an extension

There is already an extension to do just this but it was broken sometime ago and has not been fixed yet. It was supposed to be fixed in 6.0.4 but unfortunately was not. I am waiting for this as well:

https://www.madewithmarmalade.com/devnet/forum/unable-run-iosstatusbarapp-my-iphone-3

by: dammy
Status: Offline
Joined: 2012-04-26
Yes I have seen the iOS

Yes I have seen the iOS extension stuff in the documentation. But this means that this feature is only available on iOS. What about other platforms?

by: Samantha C
Status: Offline
Joined: 2011-11-23
FYI - The fix to the

FYI - The fix to the extension should be available in the 6.0.6 release. The bug reference is [MAINT-181].

by: dammy
Status: Offline
Joined: 2012-04-26
Samantha,

Samantha,
Is there any solution to this on Android?

by: Lester-Madden
Status: Offline
Joined: 2012-05-08
There is no Android sample

There is no Android sample for OS Status Bar. This is not a bug, the sample simply doesn't' exist.

We have added a feature request to write one but in the meantime, if you need this functionality you can write an EDK extension to do it.

by: dammy
Status: Offline
Joined: 2012-04-26
Thanks. Is there a reference

Thanks. Is there a reference number for the feature request? If it doesn't come in before we need it I guess we will be writing an EDK.

by: Josiah
Status: Offline
Joined: 2012-04-09
Dammy,

Dammy,

I am not sure if you just wanted the status bar to show while your app is running or if you needed your app to interact with it. I thought you needed the extension to have the status bar show in your app but the extension is only needed to interact with the status bar. I discovered showing the status bar is very simple on iOS and Android:

iOS - Add this to your .plist file:

UIStatusBarHidden

Android- Change this to your AndroidManifest.xml to just show the status bar:

There are lots of other options as well but I can't find the page that lists them all right now, search for Android style and themes

by: Josiah
Status: Offline
Joined: 2012-04-09
Well that didn't work, the

Well that didn't work, the forum butchered the code. Let me try that again:

iOS:
<key>UIStatusBarHidden</key>
<false/>
 
Android:
<application android:icon="@drawable/icon" android:label="@string/app_name" android:theme="@android:style/Theme.NoTitleBar"${EXTRA_ATTRIBS}>
by: dammy
Status: Offline
Joined: 2012-04-26
I haven't tried this on

I haven't tried this on iphone but I changed my Android manifest file to this

<application android:icon="@drawable/icon" android:label="@string/app_name" android:theme="@android:style/Theme.NoTitleBar">
<code/>
 
The app just crashes upon launch. Have you got this to work yet? How does your manifest look like?
by: dammy
Status: Offline
Joined: 2012-04-26
My last post should actually

My last post should actually look like this:

I haven't tried this on iphone but I changed my Android manifest file to this

<application android:icon="@drawable/icon" android:label="@string/app_name" android:theme="@android:style/Theme.NoTitleBar">

The app just crashes upon launch. Have you got this to work yet? How does your manifest look like?

by: Josiah
Status: Offline
Joined: 2012-04-09
Yes it is working for me,

Yes it is working for me, same thing in my manifest file:

<application android:icon="@drawable/icon" android:label="@string/app_name" 
	    android:theme="@android:style/Theme.NoTitleBar"${EXTRA_ATTRIBS}>

You have your .mkb file set to read a custom AndroidManifest.xml?

android-manifest='AndroidManifest.xml'

Latest Posts

Latest Comments

Top Contributors

  • amanda
  • riaan
  • alexand3
  • alexand4
  • alexand7
  • alexand889
  • alexand12191
  • remote9991
  • remote9992
  • test