We try to create an app and would like to show some information for app on notification bar. I don't know how this is called on android, but some other apps have some widgets in the bar like this
I don't know how this is done and how this is called. We can not close the notification and it is still present there.
At the end we try to do this with a cordova app, but if we know how this is done native by android we can google for it and check if there is always a cordova plugin or if we have to implement this by our own.
Related
I am developing an android music app in ionic framework like gaana.com or saavn.
If any song is playing then one notification should appear (shown in image) with image, buttons or song details. So my problem is, I don't have any idea how to bring it.
Shall I need to use Cordova local Notification plugin? If I use this then how could I add buttons and button events? And one large image? I followed their docs but I didn't get anything to add buttons. (Or am I missing something?)
If cordova local notification is not the solution the what should I use?
I want to add this feature like: user can't close the notification. If song get stopped then only notification gets automatically closed. is that possible ?
May be the question is very very silly.. But I stucked.
I have something in mind that i would like to integrate into my android app and I dont know where to start researching.
I want to create a notification bar just as androids in my app, and hold an activity in it( eg. a menu ) and for it to dropdown when the user pulls it down just like android.
I didnt know what to exactly research about, i tried notification bar in android app but to no success as all the links go to customizing your android notification bar.
Thank you for your time.
I am developing an app for both Android and iOS using Titanium. In iOS there is no default header in the app. The app take full screen. But in Android, there is a default app icon [titanium icon] and app name on each screen. I am using another header for my app so it is looking bad with the app.
Can anyone tell me how to hide the default one?
Thanks!
its called action bar in android and here are methods for removing them
http://www.appcelerator.com/blog/2014/08/hiding-the-android-actionbar/
Thanks
I'm sorry for asking something probably this basic, but since I've never programmed for native android or iOS, only with cordova, I don't even know how to search for this.
How can I add an icon to Android and iOS status bar? And when the status bar is open, how to add a line that once clicked leads to my app?
EDIT: Actually, it looks like "notification bar" is the name I'm looking for
I am using ChildBrowser in a my Android phonegap app. And that app has a title bar. I just want to place the ChildBrowser below that title bar.
There is a js file named childbrowser.js inside the Android plugin. I used its "ChildBrowser.prototype.showWebPage" method, it calls to "showWebPage" method in ChildBrowser.Java. And then child browser is created using a dialog window and but it takes whole screen of the device. I adjusted the size of the dialog window and then I can see my app in the background but to see the app well, I should close the browser window.
How can I integrate that dialog window to my app then child browser will be displayed just below the title bar (not on the top of my app). And I am creating all screens of my app using JavaScript.
Is this possible by modifying the plugin source(like ChildBrowser.java)? If anyone can, please tell me how to modify the source to do this?
Thanks in Advance..!!