Here are top 10 mistakes I’d encourage you to avoid.
#1 Creating an Overly Complex App
The first app we created at Pinger was called Pinger Phone. Although this app did get into the top 100 for a short while, its main flaw was that it was way too complex. It had both a social media feed and an IM client. Those who understood it, loved it. Buy many people just didn’t get it.
So when it comes to apps, keep it simple.
#2 Having a Paid Only Strategy
There may be certain apps that don’t work well with a lite version, but I suggest you have a free and paid version if possible. You get double the possible exposure in the app store and you let users try your app before spending money on it.
#3 Using Sub Par Graphics
Just look at the top 100 apps. Some of the icons look like I created them (that’s not a good thing). They are blurry, unprofessional, and don’t stand out. Create the best graphics that your budget allows.
#4 Flipping a Coin to Price your App
The app store is a bit of a garage sale with $.99 tags on many items. Before you just go with the $.99 price, do research. What are your competitor’s apps priced at? Better to price your app a bit high to start. You can always lower the price later. One exception to this is the app Ping! Great app and great strategy. It was free for the first couple days while he marketed it into the top 100. Then he made it $.99. His strategy worked.
So it’s not always one size fits all. Think it through.
#5 Having No or a Last Minute Marketing Plan
I talk to so many developers that start their marketing plan once their app has been approved. Big mistake. While you’re dreaming up your perfect app, you should make your marketing plans.
#6 Not Tracking Everything You Can
At a minimum track downloads, ranking, revenue, and important changes daily. You do this to see what is driving your downloads and what is not. If you get a great review in an app review website, did it drive more downloads? If you spend money on mobile ads, how did that impact your lite and paid downloads?
#7 Not Being Willing to Spend Money
You’ve spent hours and hours building a great app. You should be willing to spend some money to promote your app. I realize it could be a waste of your precious funds, but you may also have a hit on your hands that no one ever finds out about.
#8 Not Doing Keyword Research
Apple gives you 100 characters to enter keyword information about your app. Do your homework. Use Google’s free keyword tool and the iPhone app store search box to figure out what keywords to use.
#9 Not Using your Userbase
If you’ve got a userbase when you launch your first app, announce the app to them. If you don’t, create a way to register or message your users for future updates or other app launches. Happy users you can contact are invaluable.
#10 Not Becoming or Hiring a Marketer
You can’t just be a developer. You need to become a marketer. Either start learning on your own or hire someone who can help you.
In summary, hope this helps you avoid mistakes and have success in the app store!
Wednesday, January 27, 2010
Thursday, July 9, 2009
APIs in J2ME
General APIs
The core APIs are defined by the underlying Connected Limited Device Configuration.
LCDUI also has quite unique approach of abstract operations, called Commands. The placement of commands added to a displayable is completely up to the device implementation of this toolkit. The application programmer uses API specified command types to indicate the usage or purpose of the command in application user interface. Common types are BACK, EXIT, ITEM, SCREEN. The idea of the command abstraction is to make applications more portable between various different mobile device. Application developers should use the command types properly to indicate the purpose of an operation, and device implementation then places the operation to the common location for a given type in device's specific user interface style. This may be e.g. a specific key, like "a back navigation key" for BACK commands or button on screen.
The term LCDUI was actually a joke in JCP Expert Group that created it. It has not been opened up in the MIDP specifications but stands for Limited Capability Device User Interface. The joke was that no-one else really knows what it stands for. Then later the Programming Wireless Devices with the Java 2 Platform, Micro Edition book gave this term out.
Other common definitions have appeared. "Liquid Crystal Display User Interface" would reflect the fact that mobile phones normally use LCD displays; however, the API is not specifically tailored to this particular display technology. It is also said that "LCD UI" stands for "lowest common denominator" due to the fact the specific UI has simplest possible design.
"Record Store"(class) is used to store the Data: RecordEnumeration(Interface) , RecordComparator(Interface), RecordFilter(Interface), are used to apply user queries for sorting,filtering the data of all the data present; and comparison of contents of two or more RecordStores is done by these Interfaces.Data is stored and must be retrieved from the RecordStore using a ByteArray.(i.e; data is stored in Bytes(string.getBytes() and stored in ByteArray Byte a[])
The core APIs are defined by the underlying Connected Limited Device Configuration.
javax.microedition.io
Contains the Java ME-specific classes used for I/O operations.javax.microedition.lcdui
Contains the Java ME-specific classes used for the GUI. LCDUI has a simple screen based approach where a single Displayable is always active at a time in the application user interface. LCDUI API provides a small set of displayables common in mobile device user interfaces: List, Alert, TextBox, Form and Canvas. For all displayables the device MIDP implementation has control over the presentation and layout of the displayable. Canvas is a low-level graphics surface for which an application has full control over what is rendered to it, although normally some space is reserved for system areas like screen title and indicators common in mobile device UIs. Since MIDP 2.0, Canvas also supports a full-screen mode that allows to make full screen graphics, which is especially useful for games.LCDUI also has quite unique approach of abstract operations, called Commands. The placement of commands added to a displayable is completely up to the device implementation of this toolkit. The application programmer uses API specified command types to indicate the usage or purpose of the command in application user interface. Common types are BACK, EXIT, ITEM, SCREEN. The idea of the command abstraction is to make applications more portable between various different mobile device. Application developers should use the command types properly to indicate the purpose of an operation, and device implementation then places the operation to the common location for a given type in device's specific user interface style. This may be e.g. a specific key, like "a back navigation key" for BACK commands or button on screen.
The term LCDUI was actually a joke in JCP Expert Group that created it. It has not been opened up in the MIDP specifications but stands for Limited Capability Device User Interface. The joke was that no-one else really knows what it stands for. Then later the Programming Wireless Devices with the Java 2 Platform, Micro Edition book gave this term out.
Other common definitions have appeared. "Liquid Crystal Display User Interface" would reflect the fact that mobile phones normally use LCD displays; however, the API is not specifically tailored to this particular display technology. It is also said that "LCD UI" stands for "lowest common denominator" due to the fact the specific UI has simplest possible design.
javax.microedition.rms
Provides a form of persistent storage for Java ME. It's like a database for the mobile device."Record Store"(class) is used to store the Data: RecordEnumeration(Interface) , RecordComparator(Interface), RecordFilter(Interface), are used to apply user queries for sorting,filtering the data of all the data present; and comparison of contents of two or more RecordStores is done by these Interfaces.Data is stored and must be retrieved from the RecordStore using a ByteArray.(i.e; data is stored in Bytes(string.getBytes() and stored in ByteArray Byte a[])
javax.microedition.midlet
Contains the base classes for Java ME applications.Specialized APIs added in MIDP 2.0
MIDP 2.0 saw the introduction of gaming and multimedia APIs and some optional packages.javax.microedition.media
Contains the base classes of the multimedia playback. These are approximately a subset of the JSR 135 Java Mobile Media API.javax.microedition.lcdui.game
A gaming API aimed at simple 2D sprite based games.javax.microedition.pki
Authenticate APIs for secure connections.Optional JSRs
The following JSRs are not part of MIDP (1.0 or 2.0) but provide extra functionalities on some handsets. However, there is no guarantee that a MIDP2.0 handset implement such APIsjavax.microedition.messaging
Wireless messaging API (optional), for sending SMS and MMS messages.javax.microedition.pim
Personal information management API (optional), access the device's Address Book , to-do List, Calendar.javax.microedition.io.file
The File Connection Optional Package (FCOP) is one of two optional packages defined by JSR 75 through the Java Community Process. The FileConnection API specified in JSR 75 gives access to the local file systems on devices like PDA. In order to overcome security issues MIDlet needs to include requested file permission in its JAD file under MIDLet-Permission property.Development Tools
There are several different ways to create MIDP applications: Code can be written in a plain text editor, or you can use a more advanced IDE such as NetBeans, IntelliJ (with bundled Java ME plugin), or Eclipse (with plugins such as EclipseME) which has a user interface for graphically laying out any forms you create, as well as providing many other advanced features not available in a simple text editor.Noteworthy Limitations of MIDP 1.0
- MIDP 1.0 has no active rendering APIs
- MIDP 1.0 has no support for direct access to image pixels (RGB data)
- MIDP 1.0 has no support for full screen mode
- MIDP 1.0 has no support for audio
- MIDP 1.0 requires only HTTP support
- MIDP 1.0 cannot query key status (although key events are supported)
- The specifications are not always clear, leading to differences in implementations
- Some limitations may be avoided by using a vendor-specific API or MIDP 2.0, which obviously reduces the portability of the application
Spruce Up Your Table Views
Setting the background color of your table view is very easy. All you need to do is set the backgroundColor property to the color you want to see. For example, I have created a table view here in the app delegate and simply set the background property from here:
UITableViewController *tvc = [[UITableViewController alloc] initWithStyle:UITableViewStyleGrouped];tvc.view.backgroundColor = [UIColor redColor];[window addSubview:tvc.view];[window makeKeyAndVisible];
If you are using sub-classing, you may also rather set this property in the initWithStyle.
You can use also an image as your background to really spice things up.
Here is that code:
UIView *backgroundView = [[UIView alloc] initWithFrame: window.frame];backgroundView.backgroundColor = [UIColor colorWithPatternImage:[UIImage imageNamed:@"TableViewBackground.png"]];[window addSubview:backgroundView];[backgroundView release];yourTableViewController = [[ATableViewController alloc] initWithStyle:UITableViewStyleGrouped];yourTableViewController.view.backgroundColor = [UIColor clearColor];[window addSubview:yourTableViewController.view];[window makeKeyAndVisible];
This one takes a little more code - essentially you are putting an image into a view, inserting that into the app window and then setting the background to a transparent color.
Simply setting the background color of the table view to the image would produce artifacts.
That is it! I hope that this tip will add some more pizazz to your apps!
As you can see, the this array is sorted. There you have it!
Labels:
Code Samples,
development,
iPhone,
TableView
How To Add A Nice Background Image To Your Grouped Table View
Are you tired of your table views having the standard, boring, gray and white striped background?
Adding a nice image or pattern to your table views is one way of putting a little extra gloss to your UI. This is important, because gloss sells… However, if you have tried to do this yourself you already know that simply inserting an image into your table view will produce ugly artifacts.
What you need to do is create a view with your background image and add that view to your app’s window. Then you must set the table view’s background color to “clearColor”.
Here is how you would do that from the app delegate:
Adding a nice image or pattern to your table views is one way of putting a little extra gloss to your UI. This is important, because gloss sells… However, if you have tried to do this yourself you already know that simply inserting an image into your table view will produce ugly artifacts.
What you need to do is create a view with your background image and add that view to your app’s window. Then you must set the table view’s background color to “clearColor”.
Here is how you would do that from the app delegate:
UIView *backgroundView = [[UIView alloc] initWithFrame: window.frame];
backgroundView.backgroundColor = [UIColor colorWithPatternImage:[UIImage imageNamed:@"TableViewBackground.png"]];
[window addSubview:backgroundView];
[backgroundView release];
yourTableViewController = [[ATableViewController alloc] initWithStyle:UITableViewStyleGrouped];
yourTableViewController.view.backgroundColor = [UIColor clearColor];
[window addSubview:yourTableViewController.view];
[window makeKeyAndVisible];
yourTableViewController is declared at the top level of the app delegate and ATableViewController is a subclass of UITableViewController that simply displays the rows and sections in the example.
Thursday, June 25, 2009
iPhone SDK dismiss the keyboard
Set the delegate on the text field that will bring up the keyboard. Add the following selector to the object that you set to be the delegate.
The controller's interface code#import @interface MyViewController : UIViewController { IBOutlet UITextField *textField;}@property (nonatomic, retain) UITextField *textField;@endAnd the controller's implementation code#import "MyViewController.h" @implementation MyViewController @synthesize textField;-(BOOL)textFieldShouldReturn:(UITextField *)theTextField { if (theTextField == textField) { [textField resignFirstResponder]; } return YES;}@endThursday, June 11, 2009
Converting a J2ME MIDlet to a BlackBerry COD
Converting a J2ME MIDlet to a .COD involves the following steps:
To load the application onto the BlackBerry Simulator:
- Download and install the RIM Java Development Environment
- Download and install Java SDK
- Copy the jad & jar files in question to the /bin/ directory of your BlackBerry JDE installation
- From the command line (make sure you are in the bin directory of your RIM JDE installation) type:
rapc import=“$your_JDE_dir\lib\net_rim_api.jar" codename=$your_app -midlet jad=$your_app.jad $your_app.jar
Where,
$your_JDE_dir - is the directory of your RIM JDE installation,
$your_app - is the name of the MIDlet you're trying to convert $your_app.jad - is the name of the MIDlet descriptor and
$your_app.jar - is the name of the MIDlet jar file
- The following files are generated:
$your_app.debug
$your_app.cod
- $your_app.cod is used to load the application onto the BlackBerry
- Launch the BlackBerry Device Simulator by selecting Start => Research In Motion => BlackBerry JDE => Device Simulator.
- Once the simulator is loaded, install the .cod file by selecting File => Load Java Program and load the $YOUR_APP.cod from $JDE/bin/
- On the BlackBerry Simulator desktop find your application and launch it.
Labels:
Blackberry,
COD file creating,
Converting MIDlet
Android Application Lifecycle
In Android, the applications are run as a separate Linux process. So the application lifecycle is closely related to the process lifecycle. The application process lifecycle is handled by the system depending on the current system memory state.
In case of low memory, the Android system kills some less important process. The process importance is decided depending on the state of the process components.
The process types depending on the importance are as follows (from most important to least important):
1. Foreground process: A foreground process is the application process with which the user is currently interacting. The process is considered to be foreground if its Activity is at the top of the Activity stack (its onResume() has been called) or BroadcastReceiver is currently running (onReceive() method is currently getting executed) or its Service is executing callback functions like onCreate(), onStart() or onDestroy() methods.
2. Visible Process: A visible process is the process which has an Activity visible to the user (its onPause() method has been called).
3. Service Process: Service process contains a Service for which startService method is called and the service is running.
4. Background Process: The background process does not have any visible activities to the user. (Activity onStop() method has been called).
5. Empty Process: Empty process is the one that does not have any active application components. These processes are kept on for caching purpose.
It is important that application developers understand lifecycle of the application process. Not using these correctly can result in the system killing the application’s process while it is doing important work.
Labels:
Android,
Application Deployment,
Life cycle,
Mobile app
Thursday, May 28, 2009
The For-Each Loop in Objective-C
Loops are the gears of a
programming language, they help move the program to the next step.
A For-Each loop is generally used when you
want your program to do something to a collection of objects.
//For each loop
//Create an array and add elements to it
NSMutableArray *anArray = [[NSMutableArray alloc] init];
[anArray addObject:@"Element 1"];
[anArray addObject:@"Element 2"];
[anArray addObject:@"Element 3"];
//Use a for each loop to iterate through the array
for (NSString *s in anArray) {
NSLog(s);
}
//Release the array
[anArray release];
That is it!
programming language, they help move the program to the next step.
A For-Each loop is generally used when you
want your program to do something to a collection of objects.
For example, this For-Each loop prints out each string in an
array of strings:
//For each loop
//Create an array and add elements to it
NSMutableArray *anArray = [[NSMutableArray alloc] init];
[anArray addObject:@"Element 1"];
[anArray addObject:@"Element 2"];
[anArray addObject:@"Element 3"];
//Use a for each loop to iterate through the array
for (NSString *s in anArray) {
NSLog(s);
}
//Release the array
[anArray release];
That is it!
Labels:
Application Development,
iPhone,
Objective C
Wednesday, May 27, 2009
For Loop in Objective-C
Loops are the gears of a programming language.
They help move the program to the next step. A For loop is generally used when you want your program to repeat an action a set number of times.
Here is the syntax for the For Loop:
They help move the program to the next step. A For loop is generally used when you want your program to repeat an action a set number of times.
Here is the syntax for the For Loop:
for (int y = 0; y < 3; y++) {
NSLog(@"y = %i", y);
}
NSLog(@"y = %i", y);
}
That is it!
Thursday, May 14, 2009
Sorting An Array in Objective-C
Arrays are structures used to hold a list of objects. Sometimes
though you may want to sort the order that the elements appear.
Doing this is actually pretty simple once you know how,
essentially you will be using the NSArray sortedArrayUsingSelector
method.
For example, if you create an array like so
foreach loop the results will look like this:
Obviously, the contents of the array stay in the same order in
which they were inserted.
What you could do is create another array, sorted, using the
to sort the array.
At any rate, if you run through the array as before and print out
the results to the log you will get this:
As you can see, the this array is sorted. There you have it!
though you may want to sort the order that the elements appear.
Doing this is actually pretty simple once you know how,
essentially you will be using the NSArray sortedArrayUsingSelector
method.
For example, if you create an array like so
and then write out the contents of the array to the log using aNSMutableArray *anArray = [[NSMutableArray alloc] init];[anArray addObject:@"B"];[anArray addObject:@"A"];[anArray addObject:@"C"];
foreach loop the results will look like this:
[Session started at 2009-03-25 16:57:55 -0400.]
2009-03-25 16:57:58.647 SortigArray[3403:20b] B
2009-03-25 16:57:58.648 SortigArray[3403:20b] A
2009-03-25 16:57:58.649 SortigArray[3403:20b] C
Obviously, the contents of the array stay in the same order in
which they were inserted.
What you could do is create another array, sorted, using the
sortedArrayUsingSelector method of NSArray. Here is how:
The odd (for some anyway) piece of this code is theNSArray *sortedArray = [anArray sortedArrayUsingSelector:@selector(caseInsensitiveCompare:)];
@selector(caseInsensitiveCompare:) component of the code. This is
a method passed to the function that instructions NSArray on how to sort the array.
At any rate, if you run through the array as before and print out
the results to the log you will get this:
[Session started at 2009-03-25 17:07:18 -0400.]
2009-03-25 17:07:21.832 SortigArray[3537:20b] A
2009-03-25 17:07:21.833 SortigArray[3537:20b] B
2009-03-25 17:07:21.834 SortigArray[3537:20b] C
As you can see, the this array is sorted. There you have it!
Labels:
Code Samples,
iPhone,
Objective C
Subscribe to:
Posts (Atom)