Blackberry - app not showing up on the simulator - blackberry

I am using the Blackberry SDK 4.6 eclipse plugin to create applications. My applications were running fine till some time back when testing on the simulator. Then I ran the clear.bat to remove all applications I had added.
Now whenever I try to compile and run my app from eclipse, it does not show up in the simulator. I tried creating the whole project again but still the same result.

Try using the /clear-flash command in the batch file that launches the simulator, this will reset the sim back to it's 'default' mode.
Are the .cod files being put into the same folder as the simulator? Is the simulator opening up when you run from Eclipse?

Related

Converting a Xamarin.forms iOS app into Xcode app

I am having a problem but can't seem to find the much-needed information online, having trawled through the internet. I have Xamarin.forms iOS app that I want to test. I cannot run iOS in windows so transferred to mac.
To inspect elements in the app, I need to open the app in Xcode or appium inspector, so I created an Xcode project from the source control containing the Xamarin.forms iOS app. I ran the project and the build was successful.
I deployed the compiled app to an iOS simulator and it deployed okay. This is where the problem is - The deployed app open in the simulator as a blank app showing a white screen with only the battery indicator and a clock showing at the top of the blank white screen. The app is not visible.
From research, I read that this blankness is due to the fact that I was trying to open a Xamarin built app in a native Xcode. In this case, how can I convert this Xamarin.forms iOS app into a native Xcode app so I can open it in an Xcode simulator? I will appreciate any helpful input
That is not how it supposed to work, You only need the mac to compile no to run the project. You need to connect your windows machine to the mac using your LAN and just send the code to it to compile it and retrieves back the code ready for you to open it in your windows machine iOS emulator. Then you can debug to inspect your elements as desired.

Steroids JS build app for XCode

I'm using AppGyver Steroids to create an app. I want to build an iOS build of it so that I can open the app in XCode. With regular PhoneGap I can simply run phonegap build. I do not see this in Steroids. I've run phonegap build in the Terminal, but it doesn't show native elements when I run it in the simulator (from XCode) like navigation bar.
Is this possible with Steroids? Thanks!
If you're planning to use Steroids, you need to use the Steroids Build Service. To create an actual build targeting iOS platforms, please consult their guide on how to do this.
If you just are developing, use the deploy command to get the QR code and scan it with the AppGyver scanner application to load it temporarily to your device. Or if you want to run it in the emulator, start a steroids session from the terminal:
steroids connect
then enter
simulator
once you're in the steroids session and that should start the iOS simulator.
Not sure what you'd need xCode for in this. The beauty of steroids is that there is no iOS specific code for you to maintain (before you start messing with PhoneGap plugins, which is a different ballgame.) You can still open your html pages using xCode if you wish.
If you're asking how to have xCode do this stuff for you, then I could be wrong but I do not think there is a way. I believe the simulator that Steroids starts is the same as the xCode simulator.

IBM Worklight 6.0 application not working in Blackberry 7 Simulator

I have installed the Worklight 6.0 and Blackberry 7 SDK + Simulator. When I package and Launch to the Blackberry Simulator, Application is deployed to the simulator. But the app stuck with the IBM Logo[Splash screen].
I have deleted the app re-deployed and restarted the Simulator also.
App working in Ripple,
Suggest a way to solve this problem.
Don't confuse displaying an app in Ripple to actually running it on a device or simulator.
In Ripple you only load the web resources of the application, just like you would do if previewing it via Worklight Console.
When you run the app in a device or simulator, it has been packaged into its native shell.
Edit your question with the full steps you have taken, from creating the project in Eclipse to adding the environment, any changes you've made there, to setup Ripple with the app and finally running it.

Could not load BlackBerry webwork+PhoneGap application in BlackBerry 6.0 simulator

I have my application ready on BlackBerry webwork and PhoneGap.
I successfully run it using eclipse plug-in for BB 5.0 and BB 6.0.
But when I tried to wipe user data from BB 6.0 and tried to directly load .cod file from StandardInstall directory, application does not open. It just display splash screen.
I get error like
"ApplicationRegistry.wait For (0x3bc6259193b4b87c) timeout"
I am wondering that is it a simulator bug or something?
Notes:
I tested both singed and unsigned application.
Above mentioned method works on any simulator for BB 5.0
I also created normal BlackBerry application (without phoneGap and webwork) and I was able to load .cod file in BB 6.0.
I'd also like to present my question regarding difference between OTAInstall and StandardInstall. Check here.
Simulator information: Torch 9800 (6.0.0.227)
There was a simulator cleaning up issue.
I was using Reset option to clean simulator. But this will not work.
You need to run clean.bat file from simpack directory.
My path was:
D:\Eclipse\plugins\net.rim.browser.tools.wcpc_2.0.0.201103231828-18\wcpc\simpack\6.0.0.227
Use a Blackberry specific phonegap.js file. This will clear all the popup related issues.

Can we see code changes without restarting blackberry simulator?

I am using 5.0 BB JDE.
Is there any way around to see your code changes without restarting BB simulator every time. Or any way to see your changes in less time.
Right now i have to restart my project every time.
Looks like there is no other option than to restart simulator.
I use JDE + Eclipse and my usual workflow is:
Make code changes in Eclipse.
Build with JDE (add new files if any).
Restart the simulator (simulator that is bundled with JDE loads new .cod automatically on restart, for other simulator I have to manually upload new .cod after restart).
I don't run the project from JDE since it takes too long to attach debugger, while actually I need debugger very rarely.
There isn't any need to restart your simulator just run your project after applying the changes.It load new .cod automatically.

Resources