Invocation framework icon problem
Hello
I have this problem, I created a group data model to store the possible news of the APP to invoke to share an image.
I fill out the model of data without problem, include the .label, .name and the icon of each target.
But when I try to use the icon with the url provided by the application target and my app then says it cannot be found.
IM receiving this url for foursquare
"/ apps/com.foursquare.blackberry.gYABgBY3zYaCRi7CDRw5ChZRJ18/public/native/icon.png".
This is the error log:
Aug 09 00:17:16.274 com.example.Camculator.testDev__Camculatorfdc2d092.9199832 default 9000 WARNING Image not found: "/ apps/com.foursquare.blackberry.gYABgBY3zYaCRi7CDRw5ChZRJ18/public/native/icon.png".
And it's happening with all the other objectives inoked, bbm, whatsapp etc.
What could be the problem?
Thank you
OK I found it
I tried with my Z10 and the icon were broadcast, but in the dev is not alpha!
So I checked the dev alpha os version is 10.1.0.1483 and the z10 is 10.0.10.690
The previous version of the os when you try to find a file outside of your app directories you must add "file://" to get there. I knew that, but he never saw the double colon I was trying by "file://", my bad
If the code would be like this
QString direc = "file://"+target.icon().toString(); Add the file://
Entry QVariantMap;
entry ['imageSource'] = Director; Insert int the entry for the groupdatamodel information
m_model-> insert (input); Insert the entry int the datamodel
Director will take this Valley foursquare
'file:///apps/com.foursquare.blackberry.gYABgBY3zYaCRi7CDRw5ChZRJ18/public/native/icon.png '.
then read it in my list in qml item
{To ListView
ID: model
dataModel: model
listItemComponents:]
{ListItemComponent}
{StandardListItem}
Title: ListItemData.label
imageSource: ListItemData.imageSource
}}]} ...
attachedObjects:]
{GroupDataModel}
ID: model
objectName: "modelo".
}
'file:///apps/com.foursquare.blackberry.gYABgBY3zYaCRi7CDRw5ChZRJ18/public/native/icon.png '.
This work!
Thank you
Tags: BlackBerry Developers
Similar Questions
-
Error code 101-752 dotnet framework error, problems to load the new software of the printer
Error code 101-752 dotnet framework error, problems to load the new software of the printer
Hello
(1) have you made changes before the start of this issue?
(2) when you get the error message?
(3) is the specific question of the installation of the printer software?
(4) what is the brand and model of the printer?
It seems that you need to fix .net Framework installed on the computer. Follow this link and see if it helps.
Fix the .net Framework installation
http://support.Microsoft.com/kb/976982/en-us
Note: Important This section, method, or task contains steps that tell you how to modify the registry. However, serious problems can occur if you modify the registry incorrectly. Therefore, make sure that you proceed with caution. For added protection, back up the registry before you edit it. Then you can restore the registry if a problem occurs. For more information about how to back up and restore the registry, click on the number below to view the article in the Microsoft Knowledge Base: 322756 (http://support.microsoft.com/kb/322756 /) how to back up and restore the registry in Windows
See also:
http://Windows.Microsoft.com/en-us/Windows/help/printer-problems-in-Windows
Let us know if that helps.
-
Icon problem - space between icons
original title: icon problem... Please read this post
I don't know what happened to my desktop icons.
It appears like this > [IMG] http://i40.tinypic.com/244xs07.jpg [line]The problem is the spacing or gaps between the icons > [IMG] http://i42.tinypic.com/23mr1xs.jpg [line]Help, please... TNX :)))Hello
I suggest you to go through the steps mentioned in the link and the Coachman.
Perform the steps mentioned below and check if that helps:
Method 1:
(a) right click on the Desktop.
(b) click on Properties.
(c) then click on appearance.
(d) access to the Advanced button.
(e) in the menu item drop-down select icon spacing. (Horizontal and vertical).
Method 2:Step 1:
(a) right click on the desktop
(b) click on organize and make sure you lock web items is unchecked.
Step 2:(a) right click on the Desktop.
(b) click on Properties.
(c) click on the business tab.
(d) go to Customize.
(e) click the Web site tab, make sureto lock desktop items is unchecked.
See also:
How to change the appearance of items on the desktop in Windows XP
http://support.Microsoft.com/kb/310543
I hope this helps.
-
Windows 7 starter system tray icon problem
Hello
Recently, I met a problem with my wifi icon in the system tray. At startup, the icon does not and continues to lead the blue sign loading. On right click, it turns into a different icon with a red x. To the left by clicking on the icon does absolutely nothing however other icons work perfectly well. The section in the control panel associated with networking also does not.
I am able to access the internet on some sites. Some sites like hotmail etc do not load.
I tried to reboot in safe mode, and there is no problem however, troubleshooting doesn't show anything wrong. Enter services.msc, there is nothing to slow down the computer.
Anyone have any ideas on how to solve this problem?
Thank you
Hello
Check out this article to see if it applies.
After you wake a Windows Vista-based computer or a Windows 7 computer
standby or Hibernate, the network icon and the speaker in the notification area icon
do not display the correct state
http://support.Microsoft.com/kb/937477-----------------------------------------------------------------------------------------
You mean that icon Notification network near the clock in the lower-right?
Right-click on the icon - problems.
Also, there is an Animation setting it (probably not here), turn off then back on (twice).
======================================================
Do a 1 Restore Point then you can go back to where you were if necessary.
How to create a System Restore Point in Windows 7
http://www.SevenForums.com/tutorials/697-system-restore-point-create.htmlHow to do a system restore in Windows 7
http://www.SevenForums.com/tutorials/700-system-restore.html------------------------------------------------------
References to Vista also apply to Windows 7.
Control Panel - network - write down of the brand and the model of the Wifi - double click top - tab of the driver - writing version - click on Update Driver (can not do something that MS is far behind the pilots of certification). Even for network (NIC) card - then right click on the devices and UNINSTALL - Reboot - it will refresh the driver stacks.Now go look at the site of the manufacturer of the system for the updated drivers.
After watching the system manufacturer, you can check the manufacturer of the device an even newer version. (Those become your fonts of rescue system manufacturer).
Look at the sites of the manufacturer for drivers - and the manufacturer of the device manually.
http://pcsupport.about.com/od/driverssupport/HT/driverdlmfgr.htmInstallation and update of drivers under Windows 7 (updated drivers manually using the methods above is preferable to ensure that the latest drivers from the manufacturer of system and device manufacturers are located)
http://www.SevenForums.com/tutorials/43216-installing-updating-drivers-7-a.htmlDownload - SAVE - go where you put it - right click – RUN AS ADMIN.
You can download several at once however restart after the installation of each of them.
Repeat for network (NIC) card and is a good time to get the other updated drivers as Windows 7 like the updated drivers.
If you update the drivers manually, then it's a good idea to turn off the pilot facilities in Windows updates, that leaves is to Windows Update, but it will not install the drivers who are generally older and cause problems. If updates offers a new driver and then hide it (right click on it), then go get new ones manually if you wish.
How to stop Windows 7 automatically install drivers
http://support.Microsoft.com/kb/2500967/en-usStop Windows 7 to automatically install device drivers
http://helpdeskgeek.com/Windows-7/stop-Windows-7-from-automatically-installing-device-drivers/How to disable automatic driver Installation in Windows 7 / Vista
http://www.AddictiveTips.com/Windows-Tips/how-to-disable-automatic-driver-installation-in-Windows-Vista/Turn off Windows Update Device Driver search prompt in Windows 7 / Vista (for professionals,
Ultimate and Enterprise)
http://www.AddictiveTips.com/Windows-tips/disable-Windows-Update-device-driver-search-prompt/-----------------------------
Allow you to reset your TCP/IP stack just to make sure:
Start - type in search - ORDER - search box at the top of list and RIGHT CLICK – RUN AS ADMIN
Enter these one at a time (or copy and paste) and press ENTER after each
ipconfig/flushdns
nbtstat-r
nbtstat - RR
netsh int Reinitialis
netsh int ip reset
netsh winsock reset
Reset
---------------------------------
Others.
http://www.how-to-hide-IP.info/2009/05/16/CYBERGHOST-VPN-fixing-network-cable-unplugged-error/
http://www.annoyances.org/exec/Forum/WinXP/1109372091
There are many causes, one of which is the small monitor pays attention to the evil network device. You can try to disable any other network such as WiFi device and reboot to see if that has an effect.
Still a problem of equipment such as a loose network card that is not properly attached to the computer can cause this.
http://compnetworking.about.com/od/WindowsNetworking/f/cableunplugged.htm
I hope this helps.
--------------------------------------------------------------------------------------------
Rob Brown - Microsoft MVP<- profile="" -="" windows="" experience :="" bicycle="" -="" mark="" twain="" said="" it="">-> -
How to share text and image at the same time using Blackberry invocation framework
Hello
I need to share the text and its corresponding picture to FB, Twitter and BBM using the framework of invocation of blackberry. No invocation framework support for images and text sharing simultaneously.
When I use the mime type as text/plain, the url of the image and the text is shared and when it is image/jpeg is used only the image is shared and not the text. Here is the snippet of code used.
ShareDataTo=function shareTo(key) { //shareImage(); var text =""; text = itemObject.myName +"\n My Age : Rs."+itemObject.myAge+"\n Address "+itemObject.address+"\n" try { blackberry.invoke.invoke({ target: key, action: "bb.action.SHARE", type: "text/plain", data:text }); } catch(Error) { //alert('in ShareDataTo error '+ Error); } }
Help, please
Kind regards
Annuk
This is not currently supported. Now, you can make a text or an image, but not both.
-
Attach the file to your e-mail via mailto + invocation framework
I am tryng to attach a file to an e-mail message using the mailto syntax.
The email app is opened by the framework of the call
MailSubject = "Test" MailBody = "Hello!"; // create handler invocation navigator_invoke_invocation_t *invoke = NULL; navigator_invoke_invocation_create(&invoke); // setting the browser as target navigator_invoke_invocation_set_target(invoke, "sys.pim.uib.email.hybridcomposer"); // set invocation action navigator_invoke_invocation_set_action(invoke , "bb.action.OPEN, bb.action.SENDEMAIL"); // Setting URI navigator_invoke_invocation_set_uri(invoke , ("mailto:[email protected][email protected]&subject=" + MailSubject + "&body=" + MailBody + "&attachment=" + "file:///accounts/1000/shared/print/file").toAscii().data() ); // invoke the target navigator_invoke_invocation_send(invoke); // clean up resources navigator_invoke_invocation_destroy(invoke);
I tried to delete file:/// and put / alone but doesn't either.
The file is located in the shared folder and I know is the only way to attach a file to an email.https://developer.BlackBerry.com/native/documentation/core/email.html
There are a few examples, but none of them have pre-compiled field such cc + object + body + attachments together.
Can someone help me?
Thank you
I went from Json to QVariantMap and no, it works without problem. Here is the code:
bb::system::InvokeManager InvokeManager; bb::system::InvokeRequest InvokeRequest; QVariantMap EmailData; QVariantMap EmailDataWrapper; EmailData["to"] = "[email protected]"; EmailData["cc"] = "[email protected]"; EmailData["subject"] = "MailSubject"; EmailData["body"] = "MailBody"; EmailData["attachment"] = "/accounts/1000/shared/print/file"; EmailDataWrapper["data"] = EmailData; InvokeRequest.setTarget("sys.pim.uib.email.hybridcomposer"); InvokeRequest.setAction("bb.action.COMPOSE"); InvokeRequest.setMimeType("message/rfc822"); InvokeRequest.setData(bb::PpsObject::encode(EmailDataWrapper , &bool_result) ); InvokeManager.invoke(InvokeRequest);
-
Hilighting of the XP desktop icon problem (Special!: O)
Hello
The problemBasically, the text on my desktop icons is black hilighted. even if I change the background color of Uni, the text is hilighted in black and the icons are hilighted selected color. I did everything the shadows litters, lock web icons ext. I don't have a web on my desktop icon to my desktop wallpaper show (see below) that says everywhere is the cause of the hilighting. It's certainly a strange case, but I was wondering if you could shed some light on my problem.A bit of historyA few months ago, I downloaded a skin for my laptop (and a patch of registry), everything works perfectly... until I noticed that my desktop background is gone. The problem was the patcher, because even if I use a different skin background disappeared. If I close my background shows explorer.exe. Today I did drag a picture on my desk and it creates a web item, my background shows, but the text is hilighted. If the web icon is removed the builds.Hope that makes a bit of sense (I'm not terrible to descriptive writing)Thank youMikep.s. I'm only 14 so I got banned the face shocked in the titleMicrosoft advised of is not "patch" as you did it. A reinstallation of Windows XP would take you to a 'factory' as if you just bought a new camera.
I couldn't find recovery discs for Windows XP from the links you gave - the second was an error page.
However, the third link led me to this page which tells the story of PC Restore where you can reinstall your system. It does not give a repair option that would let all your personal files intact but will restore the operating system to the original default settings. Downstairs you will find a phone # contact technical support. However, it can be a waste of time to ask about buying recovery CD because Windows XP is no longer sold or taken in charge by Microsoft and their store offers Windows 7 only.
Manual reinstall requires a CD/DVD. I buy a recovery CD just in case there is yet a preinstalled on my unit recovery option. If you can make your own from the link I mentioned earlier, it may be wise to do so.
Windows XP - Dell Support Center
How to partition and format a drive hard using the Windows XP Setup program
http://support.Microsoft.com/kb/313348
Read responses to this topic re: shadow of the icon
http://en.community.Dell.com/support-forums/software-OS/f/3524/p/17667901/17790887.aspx#17790887
Tweak UI Powertoy is also known to eliminate the borders of the icon. You might try to install and use. It's between Office 2010 and Windows 7 on this download page
http://Windows.Microsoft.com/en-us/Windows/downloads/Windows-XP
-
Computer background and icons problem
The background and the icons on the screen of my computer changed to offshore and the greatest by itself after the uninstall, it looks like a 'big boy' and very strange. I don't know how to chang, this return to normal. I would really appreciate if you can tell me how to do step by step.
Thank you very much.
Hello
There are a number of things to try:
see if changing the resolution of the screen, without updating the drivers graphics, work
otherwise:
go to your graphics card manufacturers site or computer and are looking for the driver download section
Search your computer or graphics card model number based on what you have and download and install the latest graphics drivers for vista
then try to make the screen of solution of problems
http://Windows.Microsoft.com/en-us/Windows-Vista/change-screen-resolution
Change the screen resolution
__________________________________________________________
or try a restore of the system before this happened
http://www.windowsvistauserguide.com/system_restore.htm
If necessary do in safe mode
Windows Vista
Using the F8 method:
- Restart your computer.
- When the computer starts, you will see your computer hardware are listed. When you see this information begins to tap theF8 key repeatedly until you are presented with theBoot Options Advanced Windows Vista.
- Select the Safe Mode option with the arrow keys.
- Then press enter on your keyboard to start mode without failure of Vista.
- To start Windows, you'll be a typical logon screen. Connect to your computer and Vista goes into safe mode.
- Do whatever tasks you need and when you are done, reboot to return to normal mode.
-
Remember - this is a public forum so never post private information such as numbers of mail or telephone!
Ideas:
- the desktop icon is covered with white paches, and window gadgets do not work
- Gadget of the window to stop
- nothing
- nothing
Hello
· Since when are you facing issue with the desktop icons?
· Have you tried to change the theme to Windows and checked if the problem persists for the icona Office?
Method 1:
To change the theme follow the link below.
http://Windows.Microsoft.com/en-us/Windows-Vista/change-desktop-theme
Method 2:
This may be caused by corruption of the gadgets. You can try to restore gadgets.
To do:
1. right click on the gadget.
2. go in properties.
3. at the bottom of the window you will find a tab to restore Gadgets installed with Windows, click it.
This will restore it to the default setting. This should get your time and work of Gadget RSS.
Method 3:
If it does not restore gadgets, you can use the (SFC.exe) System File Checker tool to determine which file is causing the problem and then replace the file. To do this, follow the link below.
How to use the System File Checker tool to fix the system files missing or corrupted on Windows Vista or Windows 7
http://support.Microsoft.com/kb/929833
Hope this information is useful.
Amrita M
Microsoft Answers Support Engineer
Visit our Microsoft answers feedback Forum and let us know what you think. -
Added toolbar folder icon problem when locking taskbar
I like the feature to allow you to create a toolbar on the toolbar effectively the content of the folder shortcut to different places. Not sure if this is a new feature of 7, but I just found and take advantage.
I have two, and I've resized the so that only the text of the toolbar and ">" appear.
The problem I have, is that when I chose to lock the taskbar, everything is resized, and I get two full or partial folder icons that come into view. These icons represent the child folder under the folder main toolbar choice.
As an example, I have a folder called "Source Files" I created the toolbar, so it reads Source files > in my taskbar. When I lock the taskbar, then I get a partial folder icon to the right of ">" that links to the first folder in the Source files directory.
Not the end of the world, but sticky.
Does anyone have a suggested fix? Something in the registry, perhaps?
Wow, I'm not, but I could have found the answer to this annoying bug. It worked for me and I was able to reproduce several times.
my setup: I have my toolbars crumpled to the left, right next to my Start button.with the taskbar unlocked, I moved my whole bar vertically on the left side of my screen, so that my departure the button appears in the upper left corner of my screen and my toolbars align underneath.I noticed when I did that I could see partial icons when my taskbar has been unlocked (which wasn't the case when my bar was horizontal at the bottom of my screen).I have re-scrunched up all my icons while my bar is vertical, moved my bar together down again once (horizontal) and closed the taskbar. not more partial icons (at least for me)! -
Windows 7 pro evolution recycle bin icon problem...
Hello
I found a problem on the record icon to recycle, it seems that it will not automatically "Refresh" after that I delete something or empty the trash. I test a lot of times and I found the problem! The trash will not automatically "" cool off more if I change icon of locker to recycle in any other .ico image NOT the default system icon. (if I'm using the default system inside imageres.dll icon it works normally...)Change .exe instead of .ico icon. Who would fix it.
-
Share an image for Facebook or BBM using Invocation Framework?
Hi, is it possible to do?
I finished an Image editing application and would like the user to be able to hit the 'SHARE' button and they would be taken as an option to the place where you can share (BBM, FB, TWITTER).
How do we proceed? Thankssssss
It is possible.
You must use the framework of the invocation, to be precise 'Citing of basic Applications.
-
(bb10) Invocation framework
Hi guys!
It's going to be any kind of invocation for Android Runtime Framework?
I mean, I wish that my application to register as a default application for a file extension and I want the user to have the choice to open this type of file with my application.
This is for the natives and executives of air but what happens with an Android?
This is currently not supported, but is something we are considering for future releases.
Thanks for the comments!
-
When I put my cursor on an icon that has a lot of Windows Open usually I can just drag the cursor to the window, I want to see and left click and it opens. After another reboot my comp is there for that, and then after a short period, it just stops. I put my cursor on the tiles made by with numerous icon opens and when I left click it closed just the glimpse of tiles. If I double click on the pinned icon, nothing happens I have to click straight and say to open a new tab or the occurrence of the programs.
Programs that have only 1 function will not have this problem.
Now, I noticed something else, when the computer works properly an X will be present for me to close programs extra/URL in a window, but when it occurs, the X is not visible look
It's just the strangest thing, I searched on the net and found nothing... and 2nd question what do you call these pop-up windows that show any additional windows you have opened like that?Hello
When you right-click on the preview window options do you see?
Please follow these methods.
Method 1: Run the Aero troubleshooter. To get the procedure run the troubleshooter, please refer to the article below.
Open the Aero Troubleshooter
http://Windows.Microsoft.com/en-us/Windows7/open-the-Aero-TroubleshooterMethod 2: If this does not help, I suggest you to disable and enable Aero and check.
Step 1: To disable Aero, follow these steps.a. right click on the desktop and choose Customize.
b. Select one of the themes in the category of Basic and high contrast themes .To enable Aero, follow these steps.
a. right click on the desktop and choose Customize.
b. Select one of the themes of the category in the category My Themes or Thèmes Aero , if you have registered a custom Aero theme.
Method 3: You could also face this problem because of the higher screen resolution, you can try to reduce the resolution of the screen and check if it helps.
Refer to this article to change the resolution:
http://Windows.Microsoft.com/en-in/Windows7/change-your-screen-resolutionTo answer the question on the taskbar window preview, see this article.
Preview an open window on the desktop using Peek
http://Windows.Microsoft.com/en-in/Windows7/preview-an-open-window-on-the-desktop-using-peekLet us know if it helps. If the problem persists, please answer, we will be happy to help you.
-
I have my files set to large icons, so the small image shows me what is the file (in particular for jpeg files, as I have a lot I would never find otherwise). It works well at the start, but whenever I go on the net, after about 10 minutes or so something weird happens. Images stop loading on all the web pages I visit, and all the large ceases to display icons at the same time.
Can someone tell me what can happen here, and how can I solve the problem?
Delete your browser history,
Click the Start button in the taskbar.
Click on Control Panel,
Click on Internet options / general section / delete button
Check boxes and clear the check box of the very high,
Click on delete.
Use disk cleanup if there is more than one user on the machine system using clean
Maybe you are looking for
-
Tecra M10 - HARD drive upgrade
One sees no problem, replace the 160 GB HARD drive for a disk of 1 to I have already partitioned/formatted and installed XP PRO on the 1 TB HDD in my M-105 satellite and it works very well in there but he would prefer in the fastest latest TECRA lapt
-
Satellite C660 - connection Wi - Fi problems
Hello I have the Satellite C660 with windows 7 64 bit which continually lost the wifi connection. The problem has been compounded in recent weeks. It takes the point a is the only one to connect with a network cable.I updated the driver for the curre
-
"403-Forbidden: access is denied." Update Windows XP SP3
My computer is joined to a corporate domain. I pulled him off the field a week ago by adding it to the workgroup 'WORKGROUP '. Because after you add and then disconnected from the domain, I have not been able to use the Windows update utility. He alw
-
I'm having some trouble with one of my computers and get a certain blue screens - I had two today. I ran WinDbg. Should I join what MEMORY. DMP? I noticed this line: Probably caused by: Unknown_Image (ANALYSIS_INCONCLUSIVE) Any help would be greatly
-
I can't install the updates of Windows on Vista. Error code is that 80246008-Windows Update encountered an unknown error. Help had two suggestions being to check to see if the Background Intelligent Transfer Service is running, and I don't have the