get ClassCastException help me please...
public class AutoCompleteFieldDemoScreen extends MainScreen { AutoCompleteField autoCompleteField ; private BasicFilteredList filteredList; Vector vector ; TodayListCallBack todayListCallBack; Event event; ListField listField ; private Bitmap bitmapRight; protected Font font; public AutoCompleteFieldDemoScreen() { this.vector = new Vector(); this.event = new Event(); this.listField = new ListField(); filteredList = new BasicFilteredList(); this.bitmapRight = Bitmap.getBitmapResource("arrow.png"); todayListCallBack = new TodayListCallBack(vector, listField); String url =Util.getUrlForTodayEvents(CurLocationPicker.getLatitude(),CurLocationPicker.getLongitude()); vector =DownloadUtil.ParseEventList(url,AutoCompleteFieldDemoScreen.this,todayListCallBack,null); int size = vector.size(); System.out.println("===============>>>>>>>>>>"+size); Event[] events = new Event[size]; vector.copyInto(events); filteredList.addDataSet(0,events, null); autoCompleteField= new AutoCompleteField(filteredList){ protected void onSelect(Object selection, int type) { Event event = (Event) selection; UiApplication.getUiApplication().pushScreen(new EventDetailScreen(event)); } protected XYEdges getDropMargin() { return new XYEdges(-1,-1,-1,-1); } }; add(autoCompleteField); }
in above code I have the event object Array class when I try to remove object event onselect methos BasiFilterList I get ClassCatException... Please help me...
Hi Peter I solved this thanks for your reply...
HA peter, I get exception to that line only because the selection is an object of type object BasicFilterFieldResult I take a MyEvents this object...
Thanks for your help...
Tags: BlackBerry Developers
Similar Questions
-
My account has been blocked for a week now and I was able to change my password, but it does not help. I have responded to all questions and have received no help simply redirected to a forum. Please help me!
What is a Hotmail account? I can only imagine that you did not. If so, please ask here.
Windows Live Solution Center Hotmail Forum
http://windowslivehelp.com/forums.aspx?ProductID=1 -
I'm a gamer, I mainly use my computer to play games on the internet as though I buy games, etc. I use my computer as an outlet the Dungeon, entertain me, like watch movies on Netflix, play games and connect with friends via Hotmail, Gmail and so on.
From 14/03/2012, my computer has received an update from Microsoft for games or games, but my computer does not except her and instead, I got this error 80070643. I want to know how to fix this error since then and get very frustrated. Please someone who knows the Vista program could help me I am only a single old white lady who fights depression and my computer is my best friend.Hi AnneBest,
Update failed?
Try to install the update in a clean boot state. If a 3rd party program prevents this update of installation, this will remove the conflict.
If you are unable to install the update and you said, the other troubleshooting steps did not resolve the issue, follow the steps in this document to perform an InPlace upgrade. Your current installation of Windows will be reset without affecting your personal information.
Note that it is advisable to make sure you have a recent backup of your data and how to reinstall your software before all the major troubleshooting steps.
-
I get an error cood1197 please help me solve this problem
I get an error cood1197 please help me to solve this problem, help please.
Hello
1. when, exactly, you receive this error message?
2 do you have problems with Windows Media Player?
If you receive this error when you use Windows Media Player, refer to the methods described in the article mentioned below and check.
Windows Media Player C00D1197 error:
http://Windows.Microsoft.com/en-us/Windows7/C00D1197
I hope this helps!
-
I'm getting ready to order to fill through Adobe Reader, I have a special price (if you buy a product cost $11 characters of the same product will cost $9 could help me please to this)
So let's say that the quantity field is called 'Quantity' and the total field is called 'Total '.
You can use this code as the calculation for Total custom script:
var quantity = Number(this.getField("Quantity").value); if (quantity<=1) event.value = quantity*11; else event.value = 11 + (quantity-1)*9;
PS. I'm moving this question on the forum of PDF forms
-
Hello
I deleted the creative cloud of the trial and the DM Dream weaver of the trial, after only using it for about 6 days, I tried to re-download the two tests and nothing happens. Anyone know how I can get this done. Please advise, your help will be greatly appreciated.
Hello
Also see also software Adobe to trial has expired at the beginning
Hope that helps!
Kind regards
Sheena
-
I uninstalled Acrobat Reader DC for permanently froze running on Windows 8.1. I downloaded the older version (Acrobat Reader XI), but now require a serial number to install it. Where can I get this number? Please help
Hello
What exactly are you installing?
Reader is a free software from Adobe and doesn't require any software license serial number.
It seems that you download Acrobat.
There is not Acrobat Reader XI.
He ' Acrobat or Reader XI XI.
Please visit the following link to install the XI player.
Concerning
Sukrit diallo
-
because I get this message when I load my site "may be missing some files on the server or incorrectly" help me please
"Some files on the server may be missing or incorrect" Warning Message
-
My 10 photoshop element stop working, I'm not able to open it more. ? I posted this question a few days ago and I did not get all yer anwer, please help
I have photoshop editor item 10 and organizer first and I have a Macbook pro 10,9,9
When I try to open an image with the Publisher of the item or if I try to open the PS Editor directly I see this
file:///users/main/desktop/screen%20Shot%202014-11-26%20at%201.17.35%20PM.PNG
When I click on edit it does not open and I have this window
file:///users/main/desktop/screen%20Shot%202014-11-26%20at%201.21.07%20PM.PNG
and if I click on REOPEN, I still got the same message
Lucie
-
Programs and files contains no elements of mail.ru.I uninstalled all parts of it. In process of Task Manager, I don't see what may have links to the name of mail.ru.Shortly, I have not now what to do... Help me please.
Looks like you have a third-party program that has been on your search engine, home page, or the value default new tab page. Fortunately, this can be solved easily:
- At the top of the Firefox window, click the Firefox (Tools menu in Windows XP), and then click Add-ons. Open the tab of the Add-ons Manager.
- In the tab of the Add-ons Manager, select the Extensions Panel.
- Select the toolbar you want to delete.
- Click on the button Delete.
- Click "Restart now" if it appears. Your tabs will be saved and restored after the restart.
After restarting Firefox, install the Reset search tool. This will remove the rest of the traces of this program to your Firefox.
For more information, please read delete a toolbar that has supported your Firefox or the home page search.
This helps to your question? Let us know!
-
I used Nectar as my homepage and a toolbar added for many years. I always that it is simple and easy to use (a big plus for aging technophone!) and it is especially useful for letting me know what stores I could shop with through Nectar to increase my Nectar points. Points were also earned to complete the 'research', another useful feature.
In the past months, I have struggled with this up to the point where I contacted the persistent Nectar. They have kindly added 'free' points to my account to compensate for the fact that I had been unable to use the toolbar or to the shop via the Nectar. They suggested uninstalling and reinstalling the improved version of their toolbar. I tried to do several times, but have failed to be able to access online stores through Nectar and also to add to my total points using the Nectar search tool.
After trying again, in vain, to reload the toolbar, I now have to find a message from Firefox saying "Nectar Toolbar could not be verified for use in Firefox. Proceed with caution.
Can you please check this product so that I can continue its use? I don't know how else more to come this problem and would like to make things as simple as they were until this issue has been raised.
I hope someone can help - but please keep in mind of my state of technophobia and explain things in a way very simple for me (IE without using jargon 'computer' and technical writing!).
Thank you and hoping that you can help.
Firefox 40 verification is only a warning message, the new 'signature' feature add-on will keep an extension to work in Firefox 40.
If this Nectar toolbar simply stop working in Firefox 40, I can only imagine that this is due to a deprecated API that uses the extension or another issued compatibility. Add-on developers who are registered with the official website of modules was warned about this, API removed from Firefox 9 to 12 months to give developers time to fix their add-on before Mozilla removed the corresponding code for this API.
Bottom line is the Nectar needs to fix their extension to get it working again, AND they need to submit it to Mozilla Add - ons for the signature.
In 41 Firefox Add - ons that are not "signed" will be disabled, but the user can substitute for it. In Firefox 42 that replace the missing aura of the Beta and Release versions - signature is required for Firefox 42 and subsequently.
-
I downloaded 4 FF and now 5 and nor with my screen looks nothing like it says on the page of FF. For example, I don't have the orange FF tab in the upper left corner, I have no "PIN as app" option, nor do I view. Can someone help me please?
To get the orange FF tab, go to view > toolbars > menu bar. This should uncheck the menu bar giving you the orange button.
Panorama is a box made of 4 gray rectangles which should be on the far right, if not once you activate the orange FF tab, right click anywhere on a toolbar that doesn't has nothing to this topic, and you should get a menu with a list of your toolbars that you can check and uncheck the box. Come on down to personalize everything down and it will open a window with all your buttons. Find groups of panorama/tab button and drag it to the toolbar of your choice.
to pin a tab as an app, right-click on it; It is an option in the context menu.
-
Is there a telephone line or somewhere, I can talk to someone from Microsoft? I am having problems and are not getting any help anywhere...
Hello
Answers can probably help if briefly you questions answers - Windows Forums for your
version of Windows. Please provide all the information we need to help us help you.Answers - Windows Forums
http://answers.Microsoft.com/en-us/Windows/ForumHow to ask a question
http://support.Microsoft.com/kb/555375====================================================================
Call Service customer Microsoft direct-1-800-642-7676-heures 05:00 til time 9 PM PST (USA).
Contact Microsoft Customer Service
http://support.Microsoft.com/kb/295539Microsoft support - contact us
http://support.Microsoft.com/contactus/?ws=support#TAB0Microsoft - Microsoft Technical Support phone numbers
http://support.Microsoft.com/kb/319726/en-usMicrosoft - email us
http://support.Microsoft.com/contactus/cu_sc_selector_email?ws=support%2csupportOptions chat or telephone of the solution - top-right - Windows 7 Center
http://support.Microsoft.com/ph/14019#TAB0Microsoft - product selection solutions centers
http://support.Microsoft.com/select/?target=hubSolutions Microsoft Fixit Center
http://support.Microsoft.com/FixIt/I hope this helps.
Rob Brown - Microsoft MVP<- profile="" -="" windows="" expert="" -="" consumer="" :="" bicycle="">-><- mark="" twain="" said="" it="">->
-
0x02DA1E1c error code. I am trying to download a game. This error happens then it say, drmactivtor applicationn also. Can U help me please.
Hello
Welcome to the community of Windows Vista answers.
You get this error message during the download or installation of the game?
This problem occurs with every game that you are trying to download/install?
If you receive the DRM activator error message do the following to correct the problem.
1 left-click on start
2 - right click on computer
3 - left click on properties 4 - left click on advanced system settings
5 - running, click settings
6. left click on the parameters of Performance data
7 - click TURN DEP FOR ESSENTIAL WINDOWS PROGRAMS AND SETTINGS ONLY.
8. click on apply and then OK.
UAC: (User Account Control)
Open Control Panel and type in the user account in the search box. You will see the link for "turn User Account Control (UAC) or not". Until it clicks. Uncheck the box and restart your computer
Concerning
Marnie. -
"Why what I get"Error contact Service"Please try again later.
Original title: Windows Media Player.
"Why what I get"Error contact Service"Please try again later.
Hello
Welcome to the community forums of Microsoft and thanks for posting the question. Please answer a few questions to refine the question.
1. Once you get this error message?
2. are you aware of changes to the computer before the show?
3. What is the full error message?
4. what version of Windows Media Player installed on the computer?
"Your question contains all the required information necessary for us to help you. Please re - write your question, this time make sure you have all the information necessary and we will try to help. »
See this link for more information on:
http://support.Microsoft.com/kb/555375
Please answer the questions so that we can help you solve the problem that you are facing on the computer.
Maybe you are looking for
-
AT300-101 / AT305 - recovery with root is not possible
@ all We have 2problems: -mini-usb dosnt mount ntfs sticks/drives-umts stick does not work-recoverys with root are blocked I can't root on this unit?a lot of little things you need to root! Thank you!
-
My screen turns dark gray intermittently.
MacBook Air OS X 10.9.5, processor 1.3 GHz Intel Core i5, 4 GB 1600 MHz DDR3, 11 "memory display graphic card Intel 5000 1536 MB In the last few days, my screen went both dark gray. When I click on the button, nothing happens. If I press the Start bu
-
I recently got a "fuser error" status notification of my printer HP LaserJet Pro CP1025NW. Nobody seems to know exactly what that means. HP has NO (typical) information except to reset the machine (power switched off/turned on). Most of "excluded" th
-
upgrade to 8.1 and lost windows keyboard - w700
The subject says it all. I decided that I want to try windows 8.1. now, when I want to use the keyboard case bluetooth it does not work. I hold down the power button on the keyboard until it starts to Flash orange/blue then in windows 8.1 that I have
-
What is the ': QObject (app) "in examples
I was writing my app without it, but a few samples and examples use. Since I'm not a C/QML developer, I don't know if it's something from one of them, or it's something waterfall, someone has a logical explanation for this? It does really? Is there