Wednesday, April 11, 2012
Malayalam Typing Application for iPhone and iPad

You can download it from iTunes http://itunes.apple.com/in/app/varamozhi/id514987251?mt=8
With Varamozhi, you can type in Manglish and you will see text in real Malayalam.
With Varamozhi, you can type in Manglish and you will see text in real Malayalam.
Varamozhi is offline transliteration app in Malayalam that doesn't require an internet connection.
Read more at: http://narayam.in/varamozhi-on-android/
Mozhi scheme overview: https://sites.google.com/site/cibu/mozhi
All credit goes to Varamozhi Team for making such a great tool.
Please visit varamozhi.sourceforge.net for more details.
Thanks
Tuesday, April 10, 2012
How to add fixed space between UIToolBar items
Create Barbutton with UIBarButtonSystemItemFixedSpace
UIBarButtonItem *fixedSpace = [[UIBarButtonItem alloc] initWithBarButtonSystemItem:UIBarButtonSystemItemFixedSpace target:nil action:nil];
fixedSpace.width = 40;
And add this item to the item array
iOS - UDID replacement
Apple deprecated accessing the device identifier and hear that they going to reject apps which using the UDID
Our application is using the UDID to uniquely represent a user per application.
And we need to identify the user even if the user removes the application and install it again.
-------------------------------
The following is our replacement of UDID
- (NSString *)getUUID {
KeychainItemWrapper
*wrapper = [[KeychainItemWrapper alloc] initWithIdentifier:@"mydeviceudid" serviceName:@"myservice" accessGroup:nil];
NSString *newuuid
=
[wrapper objectForKey:(id)kSecAttrAccount]
if(
newuuid
== nil){
CFUUIDRef theUUID = CFUUIDCreate(NULL); CFStringRef newcfuuid = CFUUIDCreateString(NULL, theUUID); CFRelease(theUUID);
newuuid
= [(NSString *)
newcfuuid
autorelease];
[wrapper setObject:
newuuid
forKey:(id)kSecAttrAccount];
}
return
newuuid;
}
references :
http://stackoverflow.com/questions/427180/how-to-create-a-guid-uuid-using-the-iphone-sdk
Friday, March 30, 2012
error: failed to launch -- No such file or directory iOS device xcode
On Xcode, I am getting this error when launch application on Device
Xcode 4.3, Device OS 5.1
Solved:
Quit the Xcode and Reopen the project again solved the issue.
if the error is error: failed to launch,.. failed to get the task for process , please look at the selected profile is correct one
Xcode 4.3, Device OS 5.1
Solved:
Quit the Xcode and Reopen the project again solved the issue.
if the error is error: failed to launch,.. failed to get the task for process , please look at the selected profile is correct one
SVN commands Using with my Mac
use cd command to reach your working folder
1. To import the source to svn at first time
"." represent the current folder
svn import ./ https://xxx.mygooglecode.com/svn/trunk/ -m 'initial import' --username xx@gmail.com --password yy
2. To checkout the source from SVN to our machine
svn checkout https://xxx.mygooglecode.com/svn/trunk/ myprojectfolder --username xx@gmail.com --password yy
3. To commit the changes.
svn commit -m "commentss"
4. Export the source from SVN to our machine. When we do export , the exported source will not exist the svn files.
svn export https://xxx.my.com:8080/svn/sampleproject/trunk ./ExportFolder
To Export a specific revision number (say 522):
svn export -r 522 svn://10.1.4.23/MyProject ./522
Other Terminal commands
A. To show hidden files
defaults write com.apple.Finder AppleShowAllFiles NO
B. To show Library folder under Home folder
chflags nohidden ~/Library/
1. To import the source to svn at first time
"." represent the current folder
svn import ./ https://xxx.mygooglecode.com/svn/trunk/ -m 'initial import' --username xx@gmail.com --password yy
2. To checkout the source from SVN to our machine
svn checkout https://xxx.mygooglecode.com/svn/trunk/ myprojectfolder --username xx@gmail.com --password yy
3. To commit the changes.
svn commit -m "commentss"
4. Export the source from SVN to our machine. When we do export , the exported source will not exist the svn files.
svn export https://xxx.my.com:8080/svn/sampleproject/trunk ./ExportFolder
To Export a specific revision number (say 522):
svn export -r 522 svn://10.1.4.23/MyProject ./522
Other Terminal commands
A. To show hidden files
defaults write com.apple.Finder AppleShowAllFiles NO
B. To show Library folder under Home folder
chflags nohidden ~/Library/
iOS : NSLog is not working on Simulator
Woking on Xcode 4.3.2 and iOS 5.1 , Suddenly my NSLog commands are stopped working..
And it is working with other projects.
Solved:
1. Clean (Xcode menu Product - > Clean)
2. Removed all simulator applications from 5.1 folder and 5.0 folder
<Home>/Library/Application Support/iPhone Simulator/5.0/Applications, and <Home>/Library/Application Support/iPhone Simulator/5.1/Applications
If the Library folder is not visible in your <Home> folder, enter the command "chflags nohidden ~/Library/ " on Terminal(Applications->Utilities->Terminal) application
Thanks for reading.. :)
And it is working with other projects.
Solved:
1. Clean (Xcode menu Product - > Clean)
2. Removed all simulator applications from 5.1 folder and 5.0 folder
<Home>/Library/Application Support/iPhone Simulator/5.0/Applications, and <Home>/Library/Application Support/iPhone Simulator/5.1/Applications
If the Library folder is not visible in your <Home> folder, enter the command "chflags nohidden ~/Library/ " on Terminal(Applications->Utilities->Terminal) application
Thanks for reading.. :)
iOS : How to disable all NSLog for release
1. Rename your all NSLog to MyLog
2. Add this code to your <ProjectName>-Prefix.pch file
#ifdef __OBJC__
#import <Foundation/Foundation.h>
#import <UIKit/UIKit.h>
#ifdef DEBUG
#define MyLog(fmt, ...) NSLog((@"%s [Line %d] " fmt), __PRETTY_FUNCTION__, __LINE__, ##__VA_ARGS__);
#else
#define MyLog(...)
Failed to install error message with Xcode
I installed Xcode 4.3.1 version today,
Getting error message "Failed to install" When I try ti install an adhoc application created by new sdk.
Its fixed by selecting the adhoc profile against the 'Release' code signing identity, Also selected 'Release' on EditScheme - Archieve.
Find out we have a 32bit or 64 bit intel based MAC
1. Choose About This Mac from the Apple () menu in the upper left menu bar, then click More Info.
2. And click System Report in OverView Tab.,
3. And Open the Hardware section see the Processor name
4.
- Compare your Processor Name to information below to determine whether your Mac has a 32-bit or 64-bit processor.
Processor Name | 32- or 64-bit |
Intel Core Solo | 32 bit |
Intel Core Duo | 32 bit |
Intel Core 2 Duo | 64 bit |
Intel Quad-Core Xeon | 64 bit |
Dual-Core Intel Xeon | 64 bit |
Quad-Core Intel Xeon | 64 bit |
Core i3 | 64 bit |
Core i5 | 64 bit |
Core i7 | 64 bit |
Monday, February 20, 2012
Write files to FTP from Mac
two good softwares are Classic FTP and CyberDuck.
I am using Cyberduck-4.2.1 with Lion OS 10.7.2
Thursday, December 1, 2011
Stop opening the iPhoto application when connecting iPhone or iPad
Wednesday, November 30, 2011
Tuesday, September 13, 2011
Info: Apple Store, Kochi, Kerala, India
LASERGRAPHICS - Apple Authorized Resellers & Service provider for Apple Computers in Kerala.
Add: 38/721-B2 ABM Towers
Next to Rajiv Gandhi Indoor Stadium,
Kadavanthara, Cochin 682020
Tel: 0484 2207636, 3248486
Mobile: 9447720031
applecornercoch@eth.net
http://www.lasergraphics.in/
We can find the Apple Product Technical Specifications at
http://www.apple.co.in/store/
Add: 38/721-B2 ABM Towers
Next to Rajiv Gandhi Indoor Stadium,
Kadavanthara, Cochin 682020
Tel: 0484 2207636, 3248486
Mobile: 9447720031
applecornercoch@eth.net
http://www.lasergraphics.in/
We can find the Apple Product Technical Specifications at
http://www.apple.co.in/store/
Thursday, September 1, 2011
How to Remove application from iTunes Connect
From apple documentation:
Since Rights and Pricing settings are app level settings, when you choose to remove all App Store territory
settings for an app, you will be removing the entire app from the App Store and not just a specific version.
To remove your app from sale on the App Store:
1. Click on the 'Rights and Pricing' button from your App Summary Page.
2. Click on the link to view specific stores.
3. Click on 'DeselectAll' to uncheck all App Store territories.
4. Click on the Save button.
After removing all assigned territory checkboxes from your app in the Rights and Pricing section,, the status
changes to Developer Removed from Sale and your app will not be seen on the App Store within 24 hours.
See the Apple Documentation iTunes Connect Developer Guide 7.0 Page 90
NSURLRequest default cookie store will be required for http://...
Running iOS 5 sdk beta 6. So I think the error message is coming due to the beta software.. It may be fix in future release..
Thursday, August 18, 2011
How to Restore iPhone or iPad with given ipsw file
We can get the latest beta iOS version from apple iOS Dev Center page
Currently iOS 5 beta 5 Downloads are available.. Download the needed image for our device..
Also read the 'Read ME section' in that page..
.......
This version of iOS is intended only for installation on development devices registered with Apple's Developer Program. Attempting to install this version of iOS in an unauthorized manner could put your device in an unusable state, which could necessitate an out of warranty repair.
.....
#. We will get ipsw file from the downloaded dmg file (double click the dmg image)
#. To restore the iOS
1. open iTunes,
2. connect the device
3. select device and click Restore Button in the summary page by holding the alt or option button in the keyboard.
4. choose the ipsw file you downloaded..
FYI: --> Library --> iTunes --> iPad/iPhone SoftwareUpdates here you can see the last restored ipsw file..
To update our device OS
From the device, We can do wireless updates, go to settings > General > Software Update
Currently iOS 5 beta 5 Downloads are available.. Download the needed image for our device..
Also read the 'Read ME section' in that page..
.......
This version of iOS is intended only for installation on development devices registered with Apple's Developer Program. Attempting to install this version of iOS in an unauthorized manner could put your device in an unusable state, which could necessitate an out of warranty repair.
.....
#. We will get ipsw file from the downloaded dmg file (double click the dmg image)
#. To restore the iOS
1. open iTunes,
2. connect the device
3. select device and click Restore Button in the summary page by holding the alt or option button in the keyboard.
4. choose the ipsw file you downloaded..
FYI:
Wednesday, August 10, 2011
Understanding and Analyzing iOS Application Crash Reports
Read the App Store Review Guidelines from Apple site.
Read Technical Note TN2151 Understanding and Analyzing Crash Logs
How to symbolicate the crash reports to see the lines in our source code ?
got an answer from stackoverflow
1. Our application need to build with Build Settings -> under Build Options, the value of 'Debug Information Format' key should be "Dwarf with dSYM File"
2. We should keep the source and binary files which we used to submit the application to store
3. Select XCode, window -> organizer. select Archieve. Select the build which we used to submit and 'show in Finder'
4. select the xxx.xarchieve and 'Show contents'. You will get the .dSYM file and the .app file from the contents.
5. put the .app, .dSYM and crash logs files in a folder
6. open Terminal appplication and go to this folder // using cd command
7. execute the command
atos -arch armv7 -o appname.app/appname memory_location_in_the_crashlogs
Read Technical Note TN2151 Understanding and Analyzing Crash Logs
How to symbolicate the crash reports to see the lines in our source code ?
got an answer from stackoverflow
1. Our application need to build with Build Settings -> under Build Options, the value of 'Debug Information Format' key should be "Dwarf with dSYM File"
2. We should keep the source and binary files which we used to submit the application to store
3. Select XCode, window -> organizer. select Archieve. Select the build which we used to submit and 'show in Finder'
4. select the xxx.xarchieve and 'Show contents'. You will get the .dSYM file and the .app file from the contents.
5. put the .app, .dSYM and crash logs files in a folder
6. open Terminal appplication and go to this folder // using cd command
7. execute the command
atos -arch armv7 -o appname.app/appname memory_location_in_the_crashlogs
Subscribe to:
Posts (Atom)