i am Developing app for Blackberry.in button click event i want to hide/invisible verticalFieldManager at run time and show/visible new verticalFieldManager . How i can do this i have'nt any idea. Does any buddy have idea for my issue please send me..
Thanx.
You can do that by replacing the fields
screen.replace(oldField, newField);
Related
I am trying to enable the button in Xamarin iOS based on "HasChanges" property.
Currently, I am using
bindingSet.Bind(submitBtn).For(v => v.Enabled).To(vm => vm.HasChanges). TwoWay();
But it's not enabling the button if the "HasChanges" is true.
Can someone please point out the error in my code?
Thanks.
Never mind,
I got it. All I needed to do was raisePropertyChange event whenever "HasChanges" value was being updated.
I am working on an app for blackberry(jre 6.o & os 7.x) using browse field and app is working fine. One thing I want that, when click on a link in app and link url(domain) is different from the url which is invoked in app using browse field, open link in native blackberry browser. Please help me how to do this. Thanks.
You can extend ProtocolController class and override its handleNavigationRequest() method to do a custom implementation.
usage-
oBrowserField.getConfig().setProperty(BrowserFieldConfig.CONTROLLER,
new CustomProtocolController(oBrowserField));
Where oBrowserField is BrowserField instance
And CustomProtocolController is custom class extending ProtocolController
My game need to show ADs in specificed sense,so I call Flurry's Api displayAdForSpace ,when exit this sense,I need to close AD banner,I called removeAdFromSpace ,banner disappear.but when I call displayAdForSpace ,AD cannot show . so anyone can help me about this , Thank you!
Thanks for sending across this issue to support#flurry.com. Someone will shortly revert back on your request.
(Full disclosure: I work in the Support team at Flurry)
I developed an mobile application using LWUIT and it works fine in devices with J2ME.
I want to run the same application in Blackberry also.
I saw some samples about LWUIT on Blackberry but none of them answered me.
How can I handle the back button on the device to make back movements?
What I mean is that, when I press the back button on the device, I want the application move to the previous screen.
I used regular buttons to handle back movements just for now, but when we think of user side, it is not so friendly.
I dont want to use commands like I did in j2ME app., because it seems not so nice.
Is there anyone who can solve it?
Set a particular back command to the form. For example,
Command backCmd = new Command("Back"){
public void actionPerformed(ActionEvent evt) {
previousForm.show();
}
};
currentForm.setBackCommand(backCmd);
i am working on a application where i have image onwhich when u click it gets navigated to browser with a link but it dont display web page. now i need a code for just displaying a simple web page in blackberry.. is it something to do with simulator and device as i am working with simulator.So kindly help me with it....I am newbie to blackberry.. thank you in advance for help..
The following code will open up the native browser to the URL you specify:
Browser.getDefaultSession().displayPage(url);
String url = "http://www.google.ca";
BrowserSession browserSession = Browser.getDefaultSession();
browserSession.displayPage(url);
browserSession.showBrowser();
There is a known issue where the browser won't automatically display in various firmware versions. To get around this, simply call browserSession.showBrowser()