Nitpicking newbie frustrations
Greetings,
I did some C, Javascript, VB, Python programming. A bit rusty now, but I intend to develop a few fairly simple BB apps. Got started with the installation of Eclipse (the all-in-one download).
I have a problem that is getting me down. I made Hello world, and a couple of tutorial relies on the web: Tip Calculator, connect dialog box. They work. The basics of the IDE are understandable.
NOW, I'm following a tutorial that uses 4 classes and when I try to launch it, I get only "My Title" on the screen of the Simulator, and an eclipse warning that the main method in the Application class is not invoked:
WARNING! : 'org.mobiledev.bb.fallingFruits.FFmainApp.app (String [])' method not invoked.
I spent hours and hours with Google searches, and/or implemented subtle changes in my code or structure of package and names, try to resolve it.
BTW, I don't understand why most names package that saw him begin with "com" but, I don't think that's the key. The tutorial that I work through them has starting with "org."
Here is my current code of the Main App:
package org.mobiledev.bb.fallingFruits;
Import net.rim.device.api.ui.UiApplication;
SerializableAttribute public class FFmainApp extends UiApplication {}
public FFmainApp() {}
Utility.pushScreen (new StartScreen());
}
public static void app (String [] args) {}
FFmainApp app = new FFmainApp();
app.enterEventDispatcher ();
}
}
I had an another weird prob. I was in one of the tutorials to add a .png image. Apparently never, even if I took pains to make it good:
BitmapField bitmapField;
public UiFunMainScreen() {}
Bitmap logoBitmap = Bitmap.getBitmapResource("res/img/self_portrait_tiny.png");
bitmapField = new BitmapField (logoBitmap, Field.FIELD_HCENTER);
Add (bitmapField);
...
Please help me clear up. I hope that my problems will look pretty stupid, once identified.
Thank you!
I think I know what is happening with Eclipse... who have now implemented a new workspace and a project name, and the package...
Eclipse automatically creates a package named mypackage. I've been following tutorials and create a package as directed, usually starting with com.something.something. But the original mypackage is still there, which, I think, was for a good reason.
When I did a tutorial with the name of the package from org.something.something, it appeared listed alphabetically AFTER mypackage. Apparently, the two packages are running, and the primary method in which runs first, in alphabetical order, is the one that is active and visible, while the other is not.
Then, get rid of mypackage and all is well. Right? I hope that's not there for some esoteric reason, I still don't understand!
So, it works on the following problem...
Tags: BlackBerry Developers
Similar Questions
-
He also told me that a download file could not be opened. It goes through all the steps to download and I get the message at the end.
Get installation costs
review the Installation Guide
-
Lag - lost newbie desperate and a bit frustrated
So I just download Premiere Pro the first time yesterday for a school project. This is my first time using something more advanced than Windows Movie Maker, so I was watching YouTube tutorials on how to use everything.
I feel really terrible lag with audio and video and I can't understand how to fix it. I saw another thread to it a few years ago, where some suggested making audio, and I tried, but nothing improved.
Since I'm still new to this any suggestions of solutions would be appreciated, especially if explained in a way thorough (and honestly pretty dumbed-down), because I'm totally lost, but I'm trying to power through.
I don't know if this is essential information, but I'm working on an HP laptop.
Any help is appreciated great. Thank you!
Your computer is average to low-power to run Premiere Pro.
Please do scroll down and read the articles here:
I suggest that you try to use Premiere Elements instead, but even that can be a struggle:
-
Greetings
After nearly 40 years, using Windows, I ordered an iMac 27 "(renovated)." I had an Apple II at the end of the 1970s beginning in the 1980s and had an iPhone 4 and still have an iPad 2, but my office has always been a windows box. So I'm really a newbie on the Mac. My main job is as an image maker and photographer, using Adobe products. I am become familiar with the software and the new terms and had a few questions.
My Windows workstation had 4 screens and would like to have 3 screens, on the iMac. I understand the port Thunderbolt is what I would use, but don't know if I should get some sort of converter hub and put a Thunderbolt port or run each monitor on its own Port. I don't know, what other material may be used on the stroke, if you want advice from other users. Even if my PC monitors are near the resolution of the iMac, and most of my image work will be done on the main screen, other screens will be used for e-mail, research on the web and others.
I also use a mouse from the ball on my PC (usb) and I was wondering if it will work on the material of the iMac. I have a little of magic, as seems to be quite an easy and intuitive interface.
In any case, I'm sure it's frustrating for users of long-time Mac products to meet a beginner, but advice, links or suggestions would be greatly appreciated.
Thank you very much.
You can use any external screen mini display port. Plug the cable from port mini display on the Thunderbolt on Mac ports, and then you're in business. Connection of external monitors an iMac is extremely simple to do. Apple explains in OS x: how to use several displays with your Mac in Lion mountain and even before - Apple Support. Although this letter of advice is a bit outdated, it should still work properly with your new iMac.
Insofar as your new magic Track Pad, it may take a little 'getting used to' However, after a week or two, you will get the hang of it. You can find the gestures to use multi-touch on your Mac - Apple Support useful too.
There is a plethora of information available for Windows users, go on a Mac. I would like to start with https://www.apple.com/support/macbasics/
Furthermore, to make your messages more readable, use paragraph breaks. We would appreciate that.
-
A few background questions: I'm new cs4, Web page design, so I decided to give it a go and have a bit of frustration but love all the DW. I did not any computer of programming since the BACK on a commodore 128 in high school... Although w3schools, adobe tv and youtube are moving me... lol
I use 3 columns locked with header and footer
1. I added a table to the my content, just below the title of the content and three photos. Each photo (jpg) is taken from my site images folder and inserted in the top row. They were previously seen on the design and mode live view and preview in the browser but now just shows Design view and does not appear in mode live view or seen by Preview in the browser. I deleted and reinserted them without change and I've debugged and have no problem but me being a novice... what I am doing wrong or is - it a bug and some simple, easy for a guy not experienced to understand?
2. can you use the panels reducible spry in a table? I tried earlier and my site got weird on me, so I removed it. I already have my nav, so it would be more than a list of data in the area of the environment page? Can I use the data list instead? I like the idea that it is reducible to a type of menu.
I have also read through the forums and hats help for us newbies
Thank you
I can't see your pictures so I have no way of knowing which ones shows and those who don't. This is why it is so much better for us if you download the page to the web server and that you post a URL for us to see.
In your code, I see problems with path. You have this in the header:
Followed by here later on (notice the first slash images before?):
and this in your footer (no slash leader before the images):
Maybe you are looking for
-
Could not find full download for RC build (30.0 RC2). Update fails. Beta channel has my current build (30.0b9). Channel has version 29. Update always fails on this work a bit locked machine.
-
Are adapters CA / CC for Portege Z930 and Kira-701 compatible?
Hello friends, My boss has a Toshiba Z-930 ultra-livre and power adapters about 10 - 12 for him around the world in his various homes and offices. He now plans on changing his computer. The same power adapters will work on the laptop Toshiba KIRA-701
-
Hello!! All the I have an NI PXI-8464 and I convey the message to high speed in CAN 0 and I connect the wire in the DB9 pin 7 CAN_H and CAN_L 2 Pin port, but I want message in 1 CAN in single wire, but the configuration of the port is even similar CA
-
When I arrived at the center of security via the Control Panel, when it connects, a statement at the top of the page indicates that the Security Center is currently unavailable because the "Security Center" is not started or was stopped. Then tells
-
Windows Mail Contacts: How can I find the names in alphabetical order A - Z?
original title: Windows Messaging Contacts I use Windows Mail in Vista. If I open my Contacts icon, all my names are listed in order alphabetical by last name, except they start from the Z - A instead of A to Z. However, if I click on "New Message",
-