<?xml version="1.0" encoding="utf-8" ?><rss version="2.0"><channel><title><![CDATA[luckfox]]></title><description><![CDATA[]]></description><link>https://blog.youkuaiyun.com/luckfox_chang</link><language>zh-cn</language><generator>https://blog.youkuaiyun.com/</generator><copyright><![CDATA[Copyright &copy; luckfox_chang]]></copyright><item><title><![CDATA[讓Mac的finder能顯示隱藏檔]]></title><link>https://blog.youkuaiyun.com/luckfox_chang/article/details/84410816</link><guid>https://blog.youkuaiyun.com/luckfox_chang/article/details/84410816</guid><author>luckfox_chang</author><pubDate>Thu, 21 Mar 2013 17:31:11 +0800</pubDate><description><![CDATA[讓finder能顯示隱藏檔
[code]
defaults write com.apple.finder AppleShowAllFiles -bool true
[/code]
讓finder不能顯示隱藏檔
[code]
defaults write com.apple.finder AppleShowAllFiles -bool false
[/code]...]]></description><category></category></item><item><title><![CDATA[storyBoard的使用,使用performSegueWithIdentifier來切換ViewController]]></title><link>https://blog.youkuaiyun.com/luckfox_chang/article/details/84405992</link><guid>https://blog.youkuaiyun.com/luckfox_chang/article/details/84405992</guid><author>luckfox_chang</author><pubDate>Fri, 08 Mar 2013 17:56:18 +0800</pubDate><description><![CDATA[原本以為使用performSegueWithIdentifier就可以輕鬆切換ViewController,沒想到一直發生錯誤
原來是要在IB中的segue的identifier寫下identifier,否則會錯誤
另外在stept3 的部分可以設定過場的畫面
[code]
- (IBAction)GoViewButton01:(id)sender
{
	[self performSe...]]></description><category></category></item><item><title><![CDATA[一個google map的範例(1)]]></title><link>https://blog.youkuaiyun.com/luckfox_chang/article/details/84405859</link><guid>https://blog.youkuaiyun.com/luckfox_chang/article/details/84405859</guid><author>luckfox_chang</author><pubDate>Fri, 08 Mar 2013 14:25:02 +0800</pubDate><description><![CDATA[[code]
//
//  UIgmapDemoViewController.h
//  UIgmapDemo
//
//  Created by Administrator on 13/3/6.
//  Copyright (c) 2013年 Administrator. All rights reserved.
//

#import 
#import 
@interfa...]]></description><category></category></item><item><title><![CDATA[protocol 和 delegate]]></title><link>https://blog.youkuaiyun.com/luckfox_chang/article/details/84405840</link><guid>https://blog.youkuaiyun.com/luckfox_chang/article/details/84405840</guid><author>luckfox_chang</author><pubDate>Fri, 08 Mar 2013 13:54:44 +0800</pubDate><description><![CDATA[目標:
延續範例http://luckfox.iteye.com/blog/1826126,加上protocol/delegate示範


[code]
//
//  UIStoryboardSubViewController.h
//  StoryboardDemo0
//
//  Created by Administrator on 13/3/7.
//  Copyrig...]]></description><category></category></item><item><title><![CDATA[storyBoard 運用,兩個ViewController之間的資料傳送]]></title><link>https://blog.youkuaiyun.com/luckfox_chang/article/details/84405805</link><guid>https://blog.youkuaiyun.com/luckfox_chang/article/details/84405805</guid><author>luckfox_chang</author><pubDate>Fri, 08 Mar 2013 12:00:18 +0800</pubDate><description><![CDATA[目標: 
1.storyBoard的介紹與使用 
2.在不同viewController間傳送資料 使用storyBoard,

首先要確定是否有存在多個,如果有多個storyBoard,則可以在plist 檔案中的[Main storyboard file base name];則是指出哪一個storyBoard才是我們所使用的,在點選storyBoard,畫面會出現step 1 的按鈕...]]></description><category></category></item><item><title><![CDATA[半手工打造一個Viewer (配合NIB)]]></title><link>https://blog.youkuaiyun.com/luckfox_chang/article/details/84227212</link><guid>https://blog.youkuaiyun.com/luckfox_chang/article/details/84227212</guid><author>luckfox_chang</author><pubDate>Fri, 01 Jun 2012 17:14:58 +0800</pubDate><description><![CDATA[[code]
//
//  main.m
//  
//
//  Created by unknown on 12/6/1.
//  Copyright (c) 2012年 __MyCompanyName__. All rights reserved.
//

#import 

// 好用的列按鈕項目建立巨集
#define BARBUTTON(TITLE, SELECT...]]></description><category></category></item><item><title><![CDATA[手工打造一個Viewer]]></title><link>https://blog.youkuaiyun.com/luckfox_chang/article/details/84227101</link><guid>https://blog.youkuaiyun.com/luckfox_chang/article/details/84227101</guid><author>luckfox_chang</author><pubDate>Fri, 01 Jun 2012 15:27:40 +0800</pubDate><description><![CDATA[[code]

//
//  main.m
//  
//
//  Created by unknown on 12/6/1.
//  Copyright (c) 2012年 __MyCompanyName__. All rights reserved.
//

#import 

// 好用的列按鈕項目建立巨集
#define BARBUTTON(TITLE, SELE...]]></description><category></category></item><item><title><![CDATA[在xcode 4.2中開啟(build setting/project setting)]]></title><link>https://blog.youkuaiyun.com/luckfox_chang/article/details/84157199</link><guid>https://blog.youkuaiyun.com/luckfox_chang/article/details/84157199</guid><author>luckfox_chang</author><pubDate>Wed, 22 Feb 2012 18:25:28 +0800</pubDate><description><![CDATA[如下圖,在a.地方點選右鍵,(Open as/xcode project),在b.地方選擇正確的target
[img]http://dl.iteye.com/upload/attachment/0063/6092/8900aa63-9eac-3ff7-84b4-88f3e406478a.jpg[/img]]]></description><category></category></item><item><title><![CDATA[EXC_BAD_ACCESS 錯誤排除]]></title><link>https://blog.youkuaiyun.com/luckfox_chang/article/details/84157183</link><guid>https://blog.youkuaiyun.com/luckfox_chang/article/details/84157183</guid><author>luckfox_chang</author><pubDate>Wed, 22 Feb 2012 18:00:16 +0800</pubDate><description><![CDATA[在xcode 4.2中,Product/Edit Scheme(或是 &quot;cmd+]]></description><category></category></item><item><title><![CDATA[iphone/ipad]]></title><link>https://blog.youkuaiyun.com/luckfox_chang/article/details/84155693</link><guid>https://blog.youkuaiyun.com/luckfox_chang/article/details/84155693</guid><author>luckfox_chang</author><pubDate>Mon, 20 Feb 2012 13:17:21 +0800</pubDate><description><![CDATA[ 本章將建立一個最簡單的iphone範例程式(xcode 4.2),如同所有的入門範例ㄧ樣
將使用Hello World

1.如下圖,選取第一個選項,&quot;Create a  new xcode project&quot;
[img]http://dl.iteye.com/upload/attachment/0063/4901/7068c7e9-d606-3222-85f3-5ca84cb4258a....]]></description><category></category></item><item><title><![CDATA[如何在ubuntu下的gcc 來編譯object-C]]></title><link>https://blog.youkuaiyun.com/luckfox_chang/article/details/84130726</link><guid>https://blog.youkuaiyun.com/luckfox_chang/article/details/84130726</guid><author>luckfox_chang</author><pubDate>Fri, 20 Jan 2012 14:14:44 +0800</pubDate><description><![CDATA[如何在ubuntu下的gcc 來編譯object-C
&gt;&gt;sudo apt-get install gnustep
&gt;&gt;sudo apt-get install gnustep-devel
安裝完畢後,便可以透過make來編譯
###############################################################################
如...]]></description><category></category></item><item><title><![CDATA[含有ObjectC的Automake操作]]></title><link>https://blog.youkuaiyun.com/luckfox_chang/article/details/84130697</link><guid>https://blog.youkuaiyun.com/luckfox_chang/article/details/84130697</guid><author>luckfox_chang</author><pubDate>Fri, 20 Jan 2012 11:50:48 +0800</pubDate><description><![CDATA[@寫完基本的程式後

hello.m
[code=&quot;c++&quot;]
#import 
int main(int argc,const char *argv[])
{
	printf(&quot;hello world\n&quot;);
	return 0;
}
[/code]
step 1.
&gt;&gt;autoscan
會產生 configure.scan

step 2.
&gt;&gt;mv conf...]]></description><category></category></item><item><title><![CDATA[用intent切換兩個activity]]></title><link>https://blog.youkuaiyun.com/luckfox_chang/article/details/83976539</link><guid>https://blog.youkuaiyun.com/luckfox_chang/article/details/83976539</guid><author>luckfox_chang</author><pubDate>Tue, 26 Jul 2011 15:25:46 +0800</pubDate><description><![CDATA[[code]
//intent_activity_main.java
package android.demo.intent_activity;

import android.app.Activity;
import android.content.Intent;
import android.os.Bundle;
import android.view.View;
import...]]></description><category></category></item><item><title><![CDATA[ToneGenerator+MessageHandler用法]]></title><link>https://blog.youkuaiyun.com/luckfox_chang/article/details/83926082</link><guid>https://blog.youkuaiyun.com/luckfox_chang/article/details/83926082</guid><author>luckfox_chang</author><pubDate>Tue, 24 May 2011 17:21:15 +0800</pubDate><description><![CDATA[[code]
package android.demo.dialtone;

import java.util.HashMap;

import android.app.Activity;
import android.content.Context;
import android.media.AudioManager;
import android.media.ToneGener...]]></description><category></category></item><item><title><![CDATA[取得JAVA下的__LINE__]]></title><link>https://blog.youkuaiyun.com/luckfox_chang/article/details/83920459</link><guid>https://blog.youkuaiyun.com/luckfox_chang/article/details/83920459</guid><author>luckfox_chang</author><pubDate>Fri, 13 May 2011 13:35:05 +0800</pubDate><description><![CDATA[[code]
public class Test10
{
    public static void main(String args[])
    {
        System.out.println(&quot;This is &quot; + getLineInfo());
    }
 
    public static String getLineInfo()
    {
   ...]]></description><category></category></item><item><title><![CDATA[Android用來判斷某個服務是否已經Working]]></title><link>https://blog.youkuaiyun.com/luckfox_chang/article/details/83912677</link><guid>https://blog.youkuaiyun.com/luckfox_chang/article/details/83912677</guid><author>luckfox_chang</author><pubDate>Thu, 28 Apr 2011 13:37:35 +0800</pubDate><description><![CDATA[[code]
/**
     * 用来判断服务是否运行.
     * @param context
     * @param className 判断的服务名字：包名+类名
     * @return true 在运行, false 不在运行
     */
      
    public boolean isServiceRunning(Context context...]]></description><category></category></item><item><title><![CDATA[攔截Android的SMS並且停止轉發]]></title><link>https://blog.youkuaiyun.com/luckfox_chang/article/details/83912022</link><guid>https://blog.youkuaiyun.com/luckfox_chang/article/details/83912022</guid><author>luckfox_chang</author><pubDate>Wed, 27 Apr 2011 13:55:16 +0800</pubDate><description><![CDATA[[code]
//==================================Activity.java
package irdc.EX06_01;

import android.app.Activity;
import android.os.Bundle;
import android.util.Log;
import android.widget.TextView;
...]]></description><category></category></item><item><title><![CDATA[Android以TelephonyManager取得話機狀態]]></title><link>https://blog.youkuaiyun.com/luckfox_chang/article/details/83911954</link><guid>https://blog.youkuaiyun.com/luckfox_chang/article/details/83911954</guid><author>luckfox_chang</author><pubDate>Wed, 27 Apr 2011 11:59:03 +0800</pubDate><description><![CDATA[[code]
package android.demo.phonestate;

import android.app.Activity;
import android.content.Context;
import android.os.Bundle;
import android.telephony.PhoneStateListener;
import android.telep...]]></description><category></category></item><item><title><![CDATA[在Activity下以Intent切換Serivce]]></title><link>https://blog.youkuaiyun.com/luckfox_chang/article/details/83891948</link><guid>https://blog.youkuaiyun.com/luckfox_chang/article/details/83891948</guid><author>luckfox_chang</author><pubDate>Fri, 15 Apr 2011 16:54:01 +0800</pubDate><description><![CDATA[[code]
總共有兩個java檔案,ServiceDemo_Activity.java &amp; MySerivce.java,在ServiceDemo_Activity.java中發送intent去啟動/關閉Service,
但是否有辦法在知道此Service已經驅動,則就不啟動(只有在未啟動時才啟動)?

//-----------------ServiceDemo_Activity.ja...]]></description><category></category></item><item><title><![CDATA[Andorid下進行Log 記錄]]></title><link>https://blog.youkuaiyun.com/luckfox_chang/article/details/83890196</link><guid>https://blog.youkuaiyun.com/luckfox_chang/article/details/83890196</guid><author>luckfox_chang</author><pubDate>Wed, 13 Apr 2011 14:25:30 +0800</pubDate><description><![CDATA[詳細見
http://developer.android.com/reference/android/util/Log.html

simple example:

private static final String TAG = &quot;MyActivity&quot;;

Log.v(TAG, &quot;index=&quot; + i);]]></description><category></category></item></channel></rss>