Jourdein

I code, I experienced, I blog and I share my enthusiasm

RSS
people

Submitting app to App Store

images.jpgReally… it was really a tricky tasks making sure that your app is codesign correctly and Apple website accepted your app. As I could remember, I repeat myself more than 7 times doing the same thing, making sure that I did the steps correctly or when changes require you to start from the beginning.

In a simple understanding flow of process, you need to:

1. Create a request for certificate
2. Install the certificate
3. Create App Id
4. Create Provisioning profile
5. Download Provisioning profile
6. Setting XCode to CodeSign using the certificate.
7. Get the binary file, zipped it and upload to Apple website.

So, your target is to get the binary file (.app). That .app file must be signed by XCode using certificate given by Apple. The signing process also requires that you have a valid provisioning profile which you get from Apple, generated from the certificate you’ve requested.

No Comments | Tags: , ,

Wordpress plugin and iPhone app

Default_250x375.shkl.png test_ur_westness.png
wordpress_plugin.png
wp_plugin.png

Successfully finish a wordpress plugin for simple book order and an iPhone app for simple Q&A test.

No Comments | Tags: , , ,

Started development of an iPhone app

kwbear5_125.jpgYesterday was officially the day I’ve started developing my Elance customer iPhone app. I was hoping to give my best through out this period.

Though it was yesterday, I’ve already slowly started developing it after receiving the description and content for the app.

No Comments | Tags: , ,

Re-Enable Edge toggle on iPhone

any_cellular_data_configuration

Last time, my bill goes up over the roof and into the pond.. :p because the iPhone was intelligent enough to figure out the setting for the Edge APN,Username, etc. I found somewhere on the internet to stop this by entering any incorrect information in it.

However, a couple of days ago, I accidentally accept an update on iPhone carrier setting which removed the configuration page. (the page reside under Settings > General > Network > Cellular Data Network). The removal of the config page allow me to to have an internet connection, which I don’t want because I haven’t subscribe to any package, thus the rate would be insane. (I think, this carrier update is applied to Maxis subscriber only since Maxis has launch its iPhone 3G).

I found a way to revert back to re-appear the config page:

  1. SSH to /User/Library/Carrier Bundle.bundle
  2. Sort list by “latest modified” and selecting it will bring you to another folder.
  3. Find MAXIS_my.bundle and delete it (advised if you backup first in case something happen)
  4. Reboot iPhone

Reference:

No Comments | Tags: , ,

Radio Button to UISegmentedControl

There’s no radio button in XCode for iPhone. Following good design practices, if you have 3 or 4 options, it is good to show it all rather than putting in drop down menu. It it is on web application, you can do it as radio button but if for application in iPhone, there is no radio button. However, there’s UISegmentedControl that function as in radio button.

Radio Button for Web App on iPhone

Radio Button for Web App on iPhone

UISegmentedControl

UISegmentedControl

Now, have to convert all algorithm from javascript to objective-c for iphone app. However, I want to test it, rather on iphone simulator, on real iphone but there’s other restrictions to it… “Code Signing”, “IDP (IPhone Developer Program). I did found the workaround but didn’t try yet.

What you need:

  • Jailbreak iPhone
  • Link-Identity-Editor..
  • Certificate..Code Signing or what-not.
  • etc..etc.

Here’s the link for detailed instructions. Better read there coz I don’t applied it yet. You’ll need to read about Code Signing Identify.

Here is another reference but seemed to not work but I think it just missed steps. The other steps is good for reference.

No Comments | Tags: , , , ,

No Radio button for iphone app

Found that there’s no easy way of creating radio button alike field as in web app for iPhone. In native iPhone app development, need to either use the UISegmentedControl or using UITableView with the items as cell and set the checkmark accessory type when user selects a cell.

These are some of the forum that I referred to:

If you like to use the checkbox style, you’d should look at the example from Apple Developer Connection (ADC), Accessory. You need to have access to ADC to be able to download.

In some thread in MacRumors, a member there pointed out that if you’ve 3-8 items, then UISegmentControl is a good replacement for radio buttons but for a larger number of items, UIPickerView is better. I have a small number of items thus UISegmentControl is of my choice. Hmm… let see what will happens.

Development status:

  • Know that, there’s no binding in iPhone development. You’ve to do it manually.
  • Managing different Nib is a lot more easier than in desktop application.
  • Memory management is important because we’re dealing with small system with small memory. IPhone has 20 seconds timer for respond before application force quit itself.
  • Some of things, you need to do programmatically than through IB as it more easier and less complex. (an example is building an interface with nav bar + tab bar and table view)
  • Finished with TabBarController and NavController. Now applying the algorithm to the app. The problem now is the the radio button. But I think I might have found the solution.
No Comments | Tags: , , , ,

I’m on iPhone app development

I’m doing native app development of oncoPDA version right now. My time is squeezed onto learning and developing at the same time but thank goodness that I have past experiences with development of Cocoa application in Objective-C language.

For web iphone version of oncology application, you can visit http://oncopda.com. If you’re developing web app for iphone, you could:

  • Refer to this site http://iwebkit.net that has some basic template/css framework for you to start developing.
  • Or you could go to this site http://code.google.com/p/iphone-universal and download latest css framework developed  by Diego Martín Lafuente.
  • Or else you can develop on Dashcode!!! I know this after I’ve finished developing the iPhone web version for OncoPDA… (the catch is you must install xcode developer for iphone, if I’m not wrong)

Just the sake of putting image into my blog :p, this is my iPhone simulator and XCode on my Mac. Still long way to go…

Developing for iPhone App

No Comments | Tags: , , , , ,

Disable iPhone 2.0 keyboard dictionary autocorrect

Though iPhone dictionary keyboard is an innovative word suggestion but sometimes, I would like the keyboard to be turned off so that I would be able to write in my language. Actually, if it turned off, I would not mind. I think I would be typing faster if the dictionary is disabled.

Thus, I googled on how to disable the dictionary for iPhone 2.0. In iPhone 1.1.4 firmware, they have the tweak called KB that will disabled it. But in 2.0, none of it happened to be anywhere yet. The solution I found required SSH to some folder and renaming it language bundle.

The instruction requires terminal to connect to iPhone through SSH but I prefer using Transmit (FTP app).

So, what you require are:

  • SSHed iPhone
    (I installed OpenSSH from Cydia. This mean that your phone is already jailbroken ‘ed’)
  • FTP App (I use Transmit on MacBook)

Where to start?

  1. Open FTP application. Connect to iPhone using IP address with username:root password:alpine
  2. Point you FTP browser to /System/Library/TextInput/
  3. Rename TextInput_en.bundle to something. I rename to TextInput_en_bak.bundle.
  4. Create a new folder with original name which you have renamed TextInput_en_bak.bundle
  5. Respring or reboot you iPhone to commit changes.

If you would like to see the source of website that I’ve referred to, visit:

http://n00.be/archives/724/

No Comments | Tags: , , ,