Conversion of code from 4.5 to 4.7 (Touch)
Hi BB developers,.
I created an application in 4.5, now I need the code to work in the storm 4.7 unfortunatily I do not have the real device to test. I ran the same code in the Simulator, but when my client has tested in real device many things do not react in contact (storm)
In my im app with buttons, menu, listfied etc.
(4.5) gave the code for the button click button.setChangeListener
in the menu I just call a function
ListField I wrote a function that fires when the listfiled is selecetd.
so my question is how can I manipulate this event in contact
can someone come forward and help me with this problem.
Thank you
sujithRavindran
Which will not solve the problem that I see that people in general.
Search the forum for people having problems with storms-custom buttons.
Here is a good thread:
Tags: BlackBerry Developers
Similar Questions
-
conversion of code from sql server to oracle
Hi all, need help... I have the following sql server code and I need to convert this code in oracle... Please help me with this...
See you soon...
USE [HPSEB]
GO
/ * Object: UserDefinedFunction [dbo]. [ALG_GetData] Script Date: 2011-10-31 18:32:41 * /.
SET ANSI_NULLS
GO
SET QUOTED_IDENTIFIER ON
GO
-Select * from ALG_GetData (31)
ALTER FUNCTION [dbo]. [ALG_GetData] (int @code)
-RETURNS @Results TABLE (value nvarchar (4000))
RETURNS the array @temptb (sno int identity (1,1), meterno varchar (12), METERDATETIME varchar (35),)
eventoccuretime varchar (35), code int, int event_id, duration type varchar (35), int flag)
AS
-This function takes a parameter; It's code int
BEGIN
declare @tempdate datetime
declare @TIME varchar (35)
declare @STATUS int
declare @Duration varchar (20)
declare @METERNUMBER varchar (12)
declare @METERDATE varchar (35)
declare @event_id varchar (35)
declare @sno int
declare @tempmetno varchar (12)
declare @flag int
DECLARE MyCursor cursor static for
Select event_id, TIME, STATUS, duration, METERNUMBER, METERDATE, flag
of Xml_EVENT where CODE = @code and EVENT_Id < =.
(select MAX (EVENT_Id) of xml_event where code = @code and STATUS = 0)
order by METERNUMBER, CONVERT (date, METERDATE, 103), EVENT_Id desc
OPEN mycursor
EXTRACT NEXT FROM mycursor INTO @event_id, @Duration, @TIME, @STATUS
@METERNUMBER, @METERDATE, @flag
While (@FETCH_STATUS = 0)
BEGIN
If (@STATUS = '0')
Start
insert into @temptb (event_id, meterno, METERDATETIME, eventoccuretime, code, flag)
values (@event_id, @METERNUMBER, @METERDATE, @TIME, @code, @flag)
Set @tempdate = convert (datetime,@TIME, 103)
Set @tempmetno = @METERNUMBER
end
on the other
Start
If (@TIME <>")
Start
set @Duration = DATEDIFF (MI, convert (datetime,@tempdate, 103), convert (datetime,@TIME,103))
end
on the other
Start
set @Duration = convert (varchar, (convert (int, substring (@Duration, 5.2)) * 60) +)
(convert (int, substring (@Duration, 8, 2)))
end
Select @sno = max (sno) of @temptb
Update @temptb set Duration = @Duration where sno = @sno and meterno = @tempmetno
end
SET @event_id = "
SET @TIME = "
SET @STATUS = "
SET @Duration = "
SET @METERNUMBER = "
SET @METERDATE = "
FETCH NEXT FROM mycursor INTO @event_id, @TIME, @STATUS, @Duration, @METERNUMBER, @METERDATE, @flag
END
CLOSE MyCursor
DEALLOCATE MyCursor
-update @temptb set eventrestoretime = DATEADD (MINUTE, convert (int, time), CONVERT (datetime, eventoccuretime, 105))
RETURN
ENDtry these below
but you must make a few changes like sno you can use a sequence and each time 'select your_seq.nextval in double sno.
create or replace package pkg_ALG_GetData as
type rw is record
(number (1) number of sno, meterno varchar2 (12), METERDATEv_TIME varchar2 (35),)
eventoccureTIME varchar2 (35), code event_id number, number, duration varchar2 (35), flag of number);type rec_set is ref cursor return rw;
end;
/Create procedure ALG_GetData (code number)
-Results of PERFORMANCE TABLE (value nvarchar2 (4000))
p_ret in the pkg_ALG_GetData.rec_set) as-This function takes a parameter; This is the code number
cursor c_MyCursor is select event_id, v_TIME, STATUS, duration, METERNUMBER, METERDATE, flag
Xml_EVENT where CODE = code and EVENT_Id<>
(select MAX (EVENT_Id) of xml_event where code = code and STATUS = 0)
order of METERNUMBER, to_date (METERDATE, ' dd/mm/yyyy'), EVENT_Id desc;r_MyCursor c_MyCursor % rowtype;
tempdate date;
v_TIME varchar2 (35)
STATE number
Duration varchar2 (20)
METERNUMBER varchar2 (12)
METERDATE varchar2 (35)
event_id varchar2 (35)
number of Sno
tempmetno varchar2 (12)
Indicator number
BEGINOpen c_MyCursor;
loop
Search in r_MyCursor;
When the output c_MyCursor % notfound;
If (STATUS = '0') thenStart
Insert the number of temptb (event_id, meterno, METERDATEv_TIME, eventoccureTIME, code, flag)
values (r_MyCursor.event_id, r_MyCursor.METERNUMBER, r_MyCursor.METERDATE, r_MyCursor.code, r_MyCursor.flag)
tempDate = to_date (v_TIME, ' dd/mm/yyyy');
tempmetno = METERNUMBER;
end;on the other
Start
If (v_TIME <> ")Duration = to_date(tempdate,'dd/mm/yyyy')-to_date(v_TIME,'dd/mm/yyyy');
end;on the other
Duration = to_char (to_number (substr (duration, 5.2)) * 60 +)
TO_NUMBER (substr (duration, 8, 2)))Select max (sno)
in sno temptb;Update temptb set duration = duration where sno = sno and meterno = tempmetno;
end
event_id = ";
v_TIME = ";
STATUS = ";
Duration = ";
METERNUMBER = ";
METERDATE = ";
END
CLOSE C_MyCursor;-update temptb set eventrestorev_TIME = DATEADD (MINUTE, convert (number, duration), CONVERT (datev_TIME, eventoccureTIME, 105))
Open the p_ret for
Select event_id, meterno, METERDATEv_TIME, eventoccureTIME, code, flag
of temptb
where...;
END;
/ -
Shows the code from other sites to the top of my page. - Security Possible question
I'm working on a Web page behind a firewall. I use firebug for firefox script debugger and the IE for IE script debugger. If I go to another site (cnn or reddit), then back to my test page, that there is an error in the code for drop down menu jquery that I wrote, rather than the advice that there is an error in jquery - 1.8.3.js, I get a notice that there is an error in the code on the previous page. For example http://www.redditstatic.com/reddit-init.en.IY9Adp1eOs.js will appear in the error console when I'm on my own test server.
Given that the code on my page tries to run code from someone else, it seems to me that this could be a major security problem. It is perhaps difficult to understand. I have screen shots I try to load.
Thank you
Brita
PS when I debug in IE. I show only the expected jQuery error.I rarely use Firebug, so I have not seen myself. Or simply ignored. I hope someone else here or on the list of Firebug/forum can address this problem.
-
I changed my code from Apple. The new ID and pw are recognized on the site Apple, but my IPhone is always prior using Apple ID. How can I change Apple ID on IPhone?
Hi kenfromstate College
There are several places that you must change your Apple ID:
Settings > iCloud > disconnect and then connect you with the ID of the new
Settings > iTunes and App Store > type your Apple ID > disconnect and then connect you with the ID of the new
Settings > Messages > Send and receive > type your Apple ID > disconnect and then connect you with the ID of the new
FaceTime settings > enter your Apple ID > disconnect and then connect you with the ID of the new
Settings > Game Center > type your Apple ID > disconnect and then connect you with the ID of the new
NOTE: Purchases (content free is taken for granted) made with your old Apple ID will be permanently linked to this change ID of the Apple ID in iTunes and App Store will ask you to enter the old password Apple ID to update these applications, unless you remove the and re-downbload with your new Apple ID.
-
How to disconnect the access code from my iPad 2
How to disconnect the access code from my iPad 2
What do you mean by "disconnect"? If you mean stop using an access code then settings > password (enter your current password) > disable password
-
I get this error in CRM 4.0 "can't execute code from a freed script"
What happens when you click back on the fields that are loaded through research super. The first 2 times ito works without error, then on the third time, you receive "cannot execute code from a freed script. I have searched for information, but have only found messages about it being a bug in 2011.
Hello
Check with the support of Microsoft Dynamics CRM, community and Forums.
Microsoft Dynamics CRM
http://CRM.dynamics.com/en-us/homeMicrosoft Dynamics CRM - Support and community
http://CRM.dynamics.com/en-us/support-overviewMicrosoft Dynamics CRM - Forums
https://community.dynamics.com/product/CRM/f/117.aspxI hope this helps.
Rob Brown - Microsoft MVP<- profile="" -="" windows="" expert="" -="" consumer="" :="" bicycle="">-><- mark="" twain="" said="" it="">->
-
I can not installed any program, not even place dating 8007000 b error code from my windows, and for windows live menssenger error is Microsoft.VC 80.le CRT version 8.0.50727.42
Do a system restore:
http://www.SevenForums.com/tutorials/700-system-restore.htmlTry to repair:
http://www.SevenForums.com/tutorials/3413-repair-install.html -
How to migrate code from one environment to another in the MFT 12 c
Hi all
How to migrate code from one environment to another in the MFT 12 c.
Thank you and best regards,
Tilquin.
MFT has t2p plugin that can be used to migrate the metadata for production test.
There is an export option in the transfer page in the MFT UI that can be used to export metadata data transfer.
This exported zip can be imported in any other environment after making the necessary changes.
-
How to move the code from right to left display panel
How to move the code from right to left display panel
You don't mention what version you have. Go to view > uncheck the box design on the left.
Nancy O.
-
4.0 ai2 - cannot select and copy the code from a package body when opened in read-only mode
4.0 ai2 - cannot select and copy the code from a package body when opened in read-only mode
He was connected/buggy. It is not fixed yet. But it will be.
-
How to integrate the code from Vimeo?
Why can't I mode Code Dreamvewer paste an embed code from Vimeo?
If I try with Iframe, it does not in anything other than the name of the file.
He works in many other editors HTML, such as WordPress.
Addressed to myself! When I have Dreamweaver, select F12 to see the results it does not work, but when I upload it on the server it works. I'm learning as long as I practice.
-
I used my code from adobe, but when I try to install my program it still says I need to buy it. But I already did and I used my code.
You get 'buy' on Creative Cloud App?
If yes then disconnect you from Creative Cloud App and back panel
Sign out, sign in | Creative cloud desktop application
If you get the same status and then check your entries once hosts file
Log, activation, or connection errors. CS5.5 and later versions
-
Moving the B2B Code from one instance to the next instance
Hi Alain,
I have a question to the moving code from the development environment to the next instance. For B2B operations, we did a lot of things in
B2B console as document defnitions, trading partners, listening to the channels. for your information, we do operations entering B2B for now.
As far as I know, we have the same configurations in the following SOA B2B Console instance as same trading partners, same channels listen,
same document defnitions everything. In our Application Composite BPEL, after obtaining the B2B adapter file, called an external Web Service and another local Web service. Can you please what exactly it takes to move the composite applications that involve the B2B as a Service adapter. I know configuration files must be added to the file of SAR while moving the code with Ant Scripts.But here in the plans of the config, I know that some hostname for external web services needs to be changed. And I do not know how to deal with B2B while moving the code. Please help as always!
Thank you
NGOHello, NGO,
You can export only the agreements that you want to move to next environments. It will include the profile information and document of the partner, but also the details of the contract. To do this, you can use the command line or console B2B -.
http://download.Oracle.com/docs/CD/E17904_01/integration.1111/e10229/b2b_imp_exp.htm#BABIGHGA
http://download.Oracle.com/docs/CD/E17904_01/integration.1111/e10229/scrpt_imp_exp_dep.htm#CEGIHBHBYou can consult the section "7.2, which is copied when you import or export from the import/export tab" link - below
http://download.Oracle.com/docs/CD/E17904_01/integration.1111/e10229/b2b_imp_exp.htm#BABIGHGA
So in the middle of the target, you only need to import the configuration using the command line or console B2B. It will automatically create partners, document definitions, agreements etc. After you import, change channel (like the connection details and certificates) details, the details of the contract if necessary (like TP identifiers) and deploy the agreements. You must also enable the channels look. Once the agreements are deployed, go with composite deployment.
Kind regards
AnujPublished by: Anuj Dwivedi on 12 Aug 2011 18:24
-
In order to get best Solutions to move development code to the Test Server: Studio Edition Version 11.1.1.3.0
Development: Hostname: dev; Web logic server: WLSDev; Database: DBDev
Test: Hostname: test; Web logic server: WLSTest; Database: DBTest
Now, how to code the Test environment development environment? Once the code is derived from development, test team may not touch.You cannot create 2 datasources with the same JNDI name (I assume you meant JNDI and not JLDN) in the same field of WLS - you have to use separate domains.
John
-
taskdef class not found during the generation of code from wsdl using Ant
I'm getting a class not found error during the generation of the java code from the wsdl file.
*******************
CU dmwls (338) $ ant generate wsdl
BuildFile: build.xml
++ BUILD FAILED ++
++ file:/ffdt01/resmgt/kul/build.xml:14: taskdef class weblogic.wsee.tools.anttasks.WsdlcTask can not be found ++
Total time: 1 second
CU dmwls (339) $ cat - n build.xml
< default project 'all' = > 1
2 < name = "bea.home property" value="/opt/bea/wls/8.1sp4" / > "
"3 < name ="jdk.home property"value =" ${bea.home} / jdk142_05 "/ >
"4 < name ="weblogic.home property"value =" ${bea.home} / weblogic81 "/ >
5
6 < path id = "weblogic.classpath" >
"7 < fileset dir="${weblogic.home}/server/lib ">
8 < include name = "*.jar" / >
9 < / fileset >
10 < / path >
11
12 < taskdef name = "wsdlc.
13 classname = "weblogic.wsee.tools.anttasks.WsdlcTask"
14 classpathref = "weblogic.classpath" / > "
15
16 < name target = "generate-to-wsdl" >
17 < wsdlc
18 srcWsdl="/ffdt01/resmgt/kul/ksr.wsdl.
19 destJwsDir = ' / ffdt01/resmgt/kul.
20 destImplDir = ' / ffdt01/resmgt/kul.
21 classpathref = "${weblogic.classpath}" "
22 classpath = "${weblogic.classpath}" "
23 packageName = "examples.webservices.wsdlc" / > "
24 < / target >
25 < / project >
*******************
I checked this class in the use of weblogic.jar file unzip command but there is no class "WsdlcTask".
Unzip weblogic.jar-l | grep WsdlcTask - does not result
I am looking WsdlcTask class in all the jars under BEA_HOME directory using below command but not found in class WsdlcTask.
CD $BEA_HOME
To find. -*.jar name-exec unzip {}-l------. grep WsdlcTask - also returned no results
Some required classes does not appear in my weblogic.jar/jar file or there is something wrong with my build.xml file?
Help, please.
KuldeepHi Kuldeep,
WSDLC you use in WLS8.1 ehich is not correct... "weblogic.wsee.tools.anttasks.WsdlcTask" the above taskDef is present WLS9.x leave.
Please use the next task for WLS8.1 (http://download-llnw.oracle.com/docs/cd/E11035_01/wls100/webserv_ref/anttasks.html#wp1075710)
<>
WSDL = "WSDLs/MyService.wsdl"
destDir = "myService/implementation.
packageName="example.ws2j.service"/ >Thank you
Jay Sensharma
http://jaysensharma.WordPress.com/webservices/ (WebLogic wonders are here)Published by: Jay SenSharma on February 16, 2010 13:30
Maybe you are looking for
-
How can I get my drive f return
I accidentally clicked on something next to drive f and it disappeared
-
I can't get my hands on the former owner, what should I do?
I tried to contact the owners but he says that the number is not available, I don't know what to do, it's not a way I can contact them for more information. What should I do?
-
Text marker (lack of a better word) keeps popping up in Firefox
Since yesterday when I click on any text or hover over certain links of this text marker appears boring thingy. You know this line symbolizes where your next letter will pop up when writing texts like this (example: how it's supposed to be ), but it
-
NB500 series - size no standard 10.1 "?
As I said in other post... I measured (in the shop window, so not very presizely :)) size NB500 and NB520, and then I compared with Asus and Samsung 10.1 "display models. It apears, NBs are shorter about 5 mm of height!Could someone explain this to m
-
keep getting dial ras in windows it can not conect wireless how to fix
Keep ras dial in windows this on my netbook can not conect wireless how to fix or there at - there no virus program to do a scan of all the programs I checked is not compatible win this