New item indicator
Hello.
How can I get the new point indicator to appear next to my App icon? (The red dot with an asterisk inside)
I would like it to appear when a push notification arrives, should I create just a different graphics with the new indicator as part of my icon?
Thank you.
It is not an API for this. You can create a new chart that shows the splat on the top of your icon and the homescreen class allows you to change the icon of your application.
Tags: BlackBerry Developers
Similar Questions
-
cannot find Visatask in 'Add new item in VS2008' using studio measure 8.6
I installed VS2008, VISA and Measurement Studio 8.6 (with visa.net library). When I run a new application in vs2008, I can't chose to don't ask world but the only visa application.
I can't find job Visa when I go to add a new item in vs2008.
Please help I really need this job.
Thank you
I did the job! I uninstalled all software OR, then reinstalled with Feb.09 and it device drivers CD market. I thought that I should post the solution... This might help others.
-
How to refresh the Listview after adding a new item
Hello
I have the following list:
ListView { id: channelsList dataModel: categoryModel listItemComponents: [ ListItemComponent { type: "item" StandardListItem { title: ListItemData.name // Channel name imageSource: ListItemData.imageFile status: ListItemData.id id: channelItemId contextActions: [ ActionSet { //title: contentView.title ActionItem { title: "Add to Favorites" onTriggered: { console.log(ListItemData.id + " will be added to the Favorites"); //categoryModel.addFavorite(ListItemData.name, ListItemData.imageFile, ListItemData.id); channelItemId.ListItem.view.viewTriggered(ListItemData.name, ListItemData.imageFile, ListItemData.id); } } } ] } } ] onTriggered: { var chosenChannel = dataModel.data(indexPath); console.log("indexPath: " + indexPath); var playingPage = playpagedef.createObject(); playingPage.chname = chosenChannel.name; playingPage.cid = chosenChannel.id; playingPage.init(); Qt.nav.push(playingPage); } attachedObjects: [ // The bucket categoryModel is a non visible object so it is set up as an attached object. // The categoryModel itself is a QListDataModel defined in categorymodel.h and registered // as a type in the creation of the application. CategoryModel { id: categoryModel // The path to the JSON file with initial data, this file will be moved to // the data folder on the first launch of the application (in order to // be able to get write access). jsonAssetPath: "models/channels.json" // The filtering is initially set to "Category 1" to show category channels filter: label.text }, ComponentDefinition { id: playpagedef source: "PlayingPage.qml" } ] function viewTriggered(name, imageFile, id) { categoryModel.addFavorite(name, imageFile, id); categoryModel.clear(); } }
and the categoeymodel.h is as follows:
#ifndef _CATEGORYMODEL_H #define _CATEGORYMODEL_H #include
#include #include #include using namespace bb::data; // The category categoryModel is based on the QListDataModel template, which in turn // implements the abstract DataModel class. typedef bb::cascades::QListDataModel CategoryListModel; /* CategoryModel Description: * * CategoryModel class for the Category List application, the data categoryModel * reads and write from a JSON file that keeps all item data * for the list. */ class CategoryModel: public CategoryListModel { Q_OBJECT Q_PROPERTY(QString filter READ filter WRITE setFilter NOTIFY filterChanged) Q_PROPERTY(QString jsonAssetPath READ jsonAssetPath WRITE setJsonAssetPath NOTIFY jsonAssetPathChanged) public: /** * Constructor that sets up the recipe * @param parent The parent Container, if not specified, 0 is used */ CategoryModel(QObject *parent = 0); ~CategoryModel(); QString filter(); void setFilter(const QString filter); QString jsonAssetPath(); void setJsonAssetPath(const QString jsonAssetPath); signals: void filterChanged(QString filter); void jsonAssetPathChanged(QString jsonAssetPath); public slots: void addFavorite(QString channelName, QString channelImageFile, int channelId); private: bool jsonToDataFolder(); // Property variables QString mFilter; QString mJsonAssetsPath; QString mJsonDataPath; // A list containing all data read from the JSON file QVariantList mData; //Invocation variables bb::cascades::Invocation* mInvocation; }; #endif // ifndef _CATEGORYMODEL_H My problem is that the listview is not get automatically updated when a new item is added to the datamodel (a favorite channel is added). I have to exit the application and restart to see the updated list.
categoryModel.addFavorite(name, imageFile, id); categoryModel.clear();
categoryModel.clear ();
does not work. I get:
Asset: / / / hand. QML:180: TypeError: result of expression 'categoryModel.clear' [undefined] is not a function.
I would like to know how to achieve using approach "more correct".
QListDataModel does not expose its internal storage directly. It is possible to reconstruct the map by performing an iteration in a loop (with the help of data() and size() methods), the dataModel entries:
http://developer.BlackBerry.com/Cascades/reference/bb__cascades__qlistdatamodel.html
but I don't see how this could help. If the filtered data is changed, it must be merged with the original sort data.
Why the original approach has not worked?
I could not understand from the description appearance of the interface user, please post a screenshot if possible.
-
BlackBerry Smartphones will not display new message indicator
My turn is receive emails again but not showing is not the new red message flag. What should I do to correct this setting?
PeterH wrote:
Yes. I myself sent to my gmail account.
Because of reconciliation 'read' about the new features in BIS, which will not be recognized as a new message, but a message already "read" and does not trigger the new message indicator.
-
Try installing Adobe Acrobat Version 7.0 on a new PC running Windows 7. Get the error message-
"Attention 20225. Adobe Acrobat7.0 failed to create a new item. Adobe PDF Port / printer. The Adobe PDF printer may be unavailable."
any help appreciated
On behalf of Adobe, no version of Acrobat before 8.1 is completely installable or useable on any version of Windows beyond Windows XP. There are fundamental differences in the way that the Adobe PDF printer is installed and accessible on later (1) Windows Vista and/or (2) 64 - bit versions of Windows. In addition, Acrobat 7 coordinates with all recent versions of all Microsoft Office applications. You need Acrobat DC licenses at this stage.
-Dov
-
Dragging files in a new item, separate tracks
Hello everyone.
I have a video and 4 Audio Clips, if I select all the and drag them into the new item, stay audio in a track. What I like to do is: I want to be able to drag all of the files in new element, so all the Audio is still in separate Tracks.for if I have 10 Audio files I want to have 10 Audio tracks rather than each of them next to each other. I can create new tracks and drag and drop each Audio file in manually separate titles. But I wonder if there is a shortcut for this
Thank you very much
Hi Animationlife,
Sorry, but that isn't possible, you can probably go ahead and place a demand for it.
Thank you
Ilyes Singh
-
InDesign - how to re-enable the button "create a new item of the Index.
When I was creating topics for my index finger, I saved the document after doing a subject - (because I had created topics yesterday and is not saved and lost all of my work) - when I tried to create a new item of the Index, the button wasn't dark - not active, so I was not able to add more topics to my Index. I rebooted my MacBook Pro (Mac OS X Version 10.6.8) and reopened my InDesign (Version 3.0.1) document and the palette Index box still lacks a button "Create a new item of the Index" assets to allow the action. I do not know how to do this - does anyone have any suggestions?
I worked on the range of the Index of reference - adding items to the Index with a subject that I had already entered and when I went back to fashion topic, I noticed that the 'Create a new item of the Index' button is enabled - so I think everything is good now. Thanks for the forum.
-
Add new items to toolbar in 2015 FM
Hi all, would you please let me know how I can add new items in toolbar of direction as (N-to-Persian or Farsi-to-N) and etc within the 2015 FM.
You can find the toolbars in $fmhome\fminit\WorkSpaces\
You can find the direction toolbar for example unstructured FrameMaker in the WYSIWYG here view:
$fmhome\fminit\WorkSpaces\UnStructured\WYSIWYGView\toolbars\direction.xml
However, this file may be replaced by a specific user:
C:\Users\
\AppData\Roaming\Adobe\FrameMaker\13\WorkSpaces\Structured\WYSIWYGView\toolbars\direction.xml It is best to change the user one.
Looks like this:
You can customize this toolbar (by editing the direction.xml file and other files direction.xml for the other display modes). However, as far as I can see there are a NumberUtilityITN/NTI, but not NumberUtilityFTN/NTF. In other words, while there is a function to convert N to the Slovak numbers and back, are there no such a function for N Farsi and back (yet).
-
New items 14 converted 13 items and renamed catalogue catalogue 13 items. Now, I can't get either (1900 photos) how to recover?
bobreie wrote:
New items 14 converted 13 items and renamed catalogue catalogue 13 items. Now, I can't get either (1900 photos) how to recover?
What happens if you try to open the catalog to 14 items? You get a message? You can always start the Organizer while keeping the SHIFT key and choosint of "repair" or use a new catalog.
If you open the former organizer of 13 elements, the catalog should open fine, even if it has been renamed.
-
I bought 3 years new DAP/New Item SPP on February 21, 2015. We don't do not start and strive it now and he arrived at expiration. Please send me an another instructions to get started.
Thank you
Rocky
Can I call the support of aid?
Since this is an open forum, not Adobe support... you must contact Adobe personnel to help
Chat/phone: Mon - Fri 05:00-19:00 (US Pacific Time)Creative cloud support (all creative cloud customer service problems)
http://helpx.Adobe.com/x-productkb/global/service-CCM.html -
With my script ESTK, users select the model numbers in the list and then the script inserts an element with a model number is entered in an attribute, an element for each selected model.
When you add a large number of elements, each element of extra brother takes a little more then the previous item adds. Adding 250 items may take longer than 3-1/2 minutes or more. During the addition of 20, 50 or 75 items happens quickly, without any noticeable length. It is somewhere in the top 110, this is where that starts to get noticed.
I even used $.hiresTimer and writes the value to the console for each time a model has been added. Because the timer is reset to zero (0) whenever it is called, it was easier to notice than the amount that it incremented from one element to the other got progressively bigger.
Any ideas as to why it takes so long or reflections on what I could do to speed it up?
The structure looks like this:
< PartModels >
Text < NoteText > < / NoteText >
< model ModelNumber = "ABC01" / >
< model ModelNumber = "ABC02" / >
< model ModelNumber = "DEF03" / >
< model ModelNumber = "DEF04" / >
…
…
< model ModelNumber = 'XYZ01-A' / >
< model ModelNumber = "XYZ * B" / >
< model ModelNumber = "XYZ500" / >
< / PartModels >The script is quite simple: scroll a selected model numbers table, add a new item for each model number and value of the attribute, the value of the model number. It's the short version:
Function InsertModelElements (modelsToIns, insElemLoc, GVdoc) {}
var newEleId;
var newElemLoc = insElemLoc;
var elemDef is GVdoc.GetNamedElementDef ("Model");.
for (var i = 0; i < modelsToIns.length; i ++) { / / modelsToIns is the selected model range }
newEleId = elemDef.NewElementInHierarchy (newElemLoc); //ElementLoc based on NoteText first, last, or absent
SetAttribute (newEleId, "ModelNumber", null, modelsToIns [i]); //More feature robust to set the attribute
/ * Which also works for the layout attribute * /.
var vattributes = newEleId.GetAttributes ();
vattributes values [0] [0] = modelsToIns [i];
newEleId.Attributes = vattributes;
/ * At one point, I tried to use a new location of the item to the last inserted element, no change * /.
var newElemRange = setElementSelection (GV_doc, EleId); function that returns the range
newElemLoc = newNewElemRange.end;
}
}
Any help is appreciated.
Sincerely,
Trent
Thanks Russ,
I seriously considered trying to copy/paste and started to change the code to do it. But I could not let pass, the answer should be right there in front of me, it's all too long that I worked with this stuff, I am not able to see. Then it dawned on me what's happening.
In a previous test, I put a timer on each action that is closed. For example, I start with a container element that has 200 children of elements, each with a specific/unique model number attribute. All the 200 existing items are deleted and then replaced with 250 new items with a different value for the attribute of model number. The timer was placed after the Element.Delete () and ElementDef.NewElementInHierarchy () methods. What I've noticed with the timer, it's that each deleted item has been removed as fast as the previous item (so it took progressively less and less time to remove an item). And of course the opposite was noted for insert items, each inserted item has taken longer than the previous inserted item.
These elements can be inserted in two areas of the structure, one of the neighborhoods within format rules that affect the formatting and is actually a bit faster. This led me to the cause being ESD format rules. The area that takes more time has quite a few rules of extensible format that apply. Whenever an element is inserted or deleted, FrameMaker through these rules for formatting the content of elements. Given that the rules apply to the parent, first, last, next, previous, etc., FrameMaker must apply the rules of the format to all elements of the structure that the rules (which are extremely complex due to various elements, attribute values, and combinations that can be inserted).
Removal or thinning of the FormatRules in ESD, she becomes faster. But each of the FormatRules are needed. So using app. ApplyFormatRules = false; just before that the elements are deleted and inserted works very well. But the key is to implement ApplyFormatRules return to true before remove the last element should be removed and before inserting the last element to be inserted, so it allows to scroll all the rules of format of ESD for all elements in the hierarchy of these format rules apply to. ApplyFormatRules true and assign the ElementDef until the last item works also [EleId.ElementDef = GV_doc. GetNamedElementDef (insElemType);], but only before all the other functions are performed or different items are added.
doc. Reformat() will not reformat the content correctly after the fact, because the element has been created without the format rules, so it reformats all the contents of the elements without the format rules.
The FDK version which was created 10 years ago had the same problem of slow operation when a large number of items have been inserted, but was still an improvement over having manually insert each item, and then type the value of the attribute, if she had lived with.
He now works surprisingly fast. I hope that my explanation of what I think is happening, including the cause/solution, is understandable.
Sincerely,
Trent Schwartz
-
New items of text on ONE layer
Is it possible to create new items of text on one layer, instead of new layer for each text object?
Them
No, if I understand your question.
I guess you can consider a text layer in Photoshop as analogous to a container of text in Indesign or Illustrator.
-
Hi all
I have an element on the page "Target_date". I want to create a new element that displays the number of days left or late (based on target_date - sysdate).
but I don't know how to create a new item in the apex and apply this calculation. Could someone help me please?Hello
lets say we have two elements: P1_NUMBER_ONE and another article: P1_SUM
the result of P1_SUM is a difference in value P1_NUMBER_ONE and sum...
now, please go to: P1_SUM and open source...
now on the source, there is a calculation of calculation of post which is where the calculation will be made for the calculation of your date:
You can use a function here to do your calculation of post for the result P1_RESULT as item:
function (: P1_SUM);
and he gives a result... to change logic to date now...hope it helps and is what you are looking for...
Concerning
Alex Noel, Makumuli,
Tanzania -
A new item in the inventory iProcurement
Hello
I have created a new master element in the inventory. I want the point to appear in the page shopping iProcurement.
Could someone tell me the steps. I use R12 system.
Thank you
JannatHello
We assume, you have created the item master org and made an assignment made to your required org.In particular, you must do the installation in the inventory and iProcurement to your needs... For the point to appear in the page shopping iProcurement, please follow the steps below...
Inventory:
===========
(1) category codes settings
(2) installation of category sets
(3) assignment of category codeIn iProcurement
================
(1) iProcurement: mapping of categoriesInternet purchase catalog Administration > scheme > category mapping
Create a PO of coverage, including the new item in the BPA line... Go to Iprocurement Resp, mention the number of BPA in the excavation or on the point and start shopping :)
Hope this will help.
Concerning
S.P DASH -
Add_List_Item to search for duplicates, adding new item in a ComboBox
I have a list item combobox with some elements defined in the property at design time.
I add to this, t2 is my element in its when-Valiudate-Item trigger & combobox list, I give it
Add_List_Element ('BLOCK2.t2', 1,: BLOCK2.) T2: BLOCK2. T2);
I can see the list is filled with the new item, but not the next when I opened this form.
what I want is when the user enters a new item, it must re - fill my list when running and
Update forever. so that next time I should be able to post with those added during execution.
but before you have to check if this new value exists or not.
If there is, then it should go forward to the next_item with out adding two copies,
on the other
Add the new & sort the list.You should respond on the realization of the value:
declare ok number:= get_list_element_count( 'passenger_txn.psn_customer' ) ; bFound BOOLEAN:=FALSE; begin for i in 1.. ok loop -- this might also be get_list_element_label, you have to check IF get_list_element_value( 'passenger_txn.psn_customer', i ) = :passenger_txn.psn_customer Then bFound:=TRUE; exit ; End if ; end loop ; IF NOT bFound THEN Add_List_Element('psn_customer',1, :psn_customer,:psn_customer); END IF; end;
Maybe you are looking for
-
I'm playing a Facebook/Zynga Game and it crashes on me. Here are the instructions that I follow:Firefox users, please do the following: Select Options from the Tools menu Click Content Check Enable Javascript Click OK Refresh/reload your browser wind
-
Can I pair Bluetooth headset and my watch on my phone at the same time?
I was curious if I could pair headset and my watch on my phone at the same time.
-
Impossible to update video driver on Satellite L675
Hi all! I have the problem, I bought 675 as for 1099 7 months ago. Since it was the portable games 'up' and as time passes, I updated my Bios. Since everything goes wrong and I've updated my Bios as half year, after 1 month ago when I bought the lapt
-
kb915597 repeated installation and not some other updates can get on
This update kb915597 has infected once more my laptop. No other updates are given. I've checked all my updates and nothing. It's not even appear on my update history. last time this happened, I had to bring my laptop to original factory setting. What
-
SSL - VPN can not connect - Windows 10
Hello Our office has a SonicWall TZ105, with a more recent firmware, and now with Windows 10, we are unable to connect via SSL - VPN. The user name and password are correct, and I can connect with the Android app. But in Windows 10, I tried the Mob