Single Development for Blackberry and Nokia Java enabled device with J2ME - netbeans

I have 1+ years development with iOS and now looking for work with Blackberry and Nokia Java enabled devices. Just started work with Netbeans 7.1 IDE with LWUIT.
Issue
Can I Use the file created by Resource Editor (ect.res) in both projects?
if Yes - then please provide some information.
if No - then is there any way for this and which one should be better?
I created one file with Resource Editor (etc.res) then how I can use this resource file with Netbeans in my project? Because after adding the file project showing same as it was without adding.

Yes you can use the same res file to both platforms using lwuit in both apps. Be carefull in BB with the http connections, they need some parameters more than j2me normal app.
To use the res file from the code tou will need to open the res using the Resource object
To do that:
Resources res = Resources.open("path of your res");
later you can use many things of your resource (Containers, fonts, localization...)

I think that you can use for some projects. When you build the project the res file write into binary code that save in dist file. but you need to add the files to project. In my lwuit projects is added under source packages or Resources and is working.
Resources defaultTheme = Resources.open(DEFAULT_THEME_NAME);

Related

Why is my Google Cloud Platform for Eclipse resulting in Error Not Found?

I upgraded Eclipse and moved to Google Cloud Platform for Eclipse for my existing Standard App Engine project. I also moved to Java 8.
Now, when I deploy my app, the size shown in the console is only 7.1mb vs. 220mb prior to the upgrade. And when I try to go to the app after deployment I get an Error: Not Found message.
Is there something in the setup for my new configuration that would be causing this?
Your question is indeed somewhat broad; you'll need to provide all necessary detail. A correspondingly general information page might help here, though, namely Eclipse "How-to Guides".
Have you adapted and re-written your app for Java 8? If so, in which way? Have you edited your app.yaml configuration file accordingly?
Cloud Tools for Eclipse writes out the app-to-be-deployed to a directory in your workspace called <workspace>/.metadata/.plugins/com.google.cloud.tools.eclipse.appengine.deploy/tmp/<timestamp>/staging-work/exploded-war, where <timestamp> is the time of the last two deploys. Look at the exploded-war directory and see what files are missing. You may then get a better sense of what needs to be remediated.

Ionic + IBM MobileFirst

I've found a few post on this topic but have not been able to find the best solution.
Attempted to integrate Ionic into IBM MobileFirst (Worklight).
At the moment - I have built a normal Ionic project and moved the WWW folder in the 'common' folder. Also added in the initOptions, main.js and messages.js.
MobileFirst has an awful build process - I hate having to deploy to a mobilefirst development server + preview app for any code changes. I am hoping to get some type of auto reload working within mobileFirst, or at least develop with ionic normally and hav ea job to bring my changes into my worklight project... something that is better than me current situation.
Does anyone have a sample project that actually auto-builds or picks up code changes automatically?
Any and all help is greatly appreciated.
Not sure what do you mean by "auto-reloading"; if you make any changes to the web resources to your project inside the Studio plug-in (in Eclipse) and reload the preview in the browser, it will show the changes.
You are not required to Run As > Run on MobileFirst Development Server for each change. As long as you work on the resources in your workspace, the "auto-reloading" as you call it, should work (make sure you are using the latest available MobileFirst Studio version from the Eclipse Marketplace).
There is also a rudimentary Starter Application that is based on Ionic.
You can download it from here.
There are also several results on the subject matter when searching in Google.
The need to rebuild in order to see changes in your Web components (CSS, JavaScript, HTML) did used to be an annoyance in early versions of what was then Worklight and is now MobileFirst. I forget when the need for a rebuild was removed but certainly in Worklight 6.2 and beyond you now simply need to refresh in your browser.
UPDATE: If using MobileFirst 6.3 you need to ensure that you are on a
suitable patch level. I find that simple refresh does not work in
6.3.0.00-20150106-1717, but if I update (Help->Check for Updates) to 6.3.0.00-20150214-1702 then edit/save/refresh works as
expected.
My personal practice is always to have Mobile Web environment in my project and then choose that from the Console. This loads the application in the browser-based Mobile Simulator that you can tailor to fit your target form-factor. This has a "Go/Refresh" button that immediately reflects your edits.
Alternatively, some folks these days do not use Studio, instead they use the Command Line Interfacer. Possibly this may be more to your taste. You can download it here.
there is a solution with using staff like ionic-cli serve command + symbolic links that will replace common folder.
check here an example https://www.dropbox.com/s/4pvaulo6yo47kb9/lab_7.2.mp4?dl=0
(you just can disable sound, cause i've recorded it in russian) 7-15 minutes of this video
Other option is to organize live-preview yourself using IDE features and/or nodejs
This will work as long as you are working on front-end (mostly non-worklight api) part.
You need to include this lines in the index.html
<!-- ionic bundle & css -->
<link href="www/ionic/css/ionic.css" rel="stylesheet">
<script src="www/ionic/js/ionic.bundle.js"></script>

Is it possible to use external DLL inside of Metro app

I am a new in developing Metro application. And I have a question regarding external DLL for Metro.
As I understand project which implemented DLL(extension) should be include in solution for Metro application. And I should specify dependency into Package.appxmanifest. Only after that action I can use this extension in my Metro application.
But what about external DLL(extension)?
How to use DLL installed on system (something like load library for Desktop)?
Could somebody clarify this issue?
Thanks in advance.
A Windows Store App is sand boxed and can't access any system DLLs, or DLLs other than the ones provided in your project.
Also DLLs referenced by your project need to be WinRT DLLs built specially for WinRT.

where do we find XMPP framework for iphone?

I want to develop an chat application, in which I successfully added files of DDXML, DDXMLElement, DXMLElementAddition etc., now I need to add XMPP framework files and its libraries, where do i find these files, is there any open source of these files?
I checked the site http://code.google.com/p/xmppframework/wiki/iPhone in which they mentioned which files to be added, but I didnt find those files to include in my project,
if anyone knows please tell me..
Thans in advance...
I think the google repo is officially moved to git at https://github.com/robbiehanson/XMPPFramework
Do you mean the XMPP sources?
Here they are:
http://code.google.com/p/xmppframework/source/checkout
You have to checkout the sources manually, that is the easiest way, or you browse the repository and save all files:
http://code.google.com/p/xmppframework/source/browse/
Other libs are described. AsyncSocket is this one:
http://code.google.com/p/cocoaasyncsocket/source/checkout
Here are their files for the project:
http://code.google.com/p/xmppframework/source/browse/?r=default#hg%2FXcode%2FiPhoneXMPP
And in your XCode project the framework you need to add is CFNetwork
So right click on your Frameworks folder in XCode
Add > Existing Frameworks > Select "CFNetwork"
and everything should be ready to run their iPhone XMPP example.

Coldfusion deploy into Google app with Eclipse

I've download eclipse-jee-galileo-win32.zip and following instruction of this post, http://blog.kukiel.net/2009/09/coldfusion-on-google-app-engine-with.html
After that, I encounter following errors once I've deleted war file and replace openbd's war files into my project.
alt text http://img411.imageshack.us/img411/3479/52229590.png
Please let me know if you have such problem just like me.
Make sure that you are running the latest SDKs (Google Web Toolkit and Google App Engine). I had this same issue until I switched to the latest versions when I first started out as well.
You can see which ones you are using for a particular app by opening up its properties and looking under Google. The latest versions are 1.3.5 (App Engine) and 2.0.4 (Web Toolkit). If you are on older versions look for updates, new features to install the latest.