xjd の回答履歴

全2790件中1~20件表示
  • iPhoneやiPadアプリ開発のサイトを知りたい

    題名の通りなのですが、 iphoneやiPadのアプリを開発したいと思っています。 C言語やHTMLはある程度分かるのですが、 言語の事など分かり易く解説されているサイトや本などがあれば教えていただけると助かります。 お願いいたします。

  • Xcodeでマルチスレッドでなく順処理する方法

    こんにちは。 今Xcode4.2.1を使っております。 さて、今処理としてあるアプリ連携を行う処理を作っているのですが、 マルチスレッドでなく 「処理A」→「処理B」→「処理C」 と順に処理をしたいのですが、スレッド化してうまくいきません。 具体的には [self presentModalViewController: controller animated: YES];(処理A) [処理B] [処理C] : と書いた時に、処理Aがスレッドとして動くので、 処理Aが終了しないうちにB、Cがスタートしてしまいます。   1)順に処理をさせたい(マルチスレッド化しない方法)のですが、     どうやったらよいのでしょうか? もしくは   2)Aの処理がおわるまで監視&制御する(排他制御)方法はあるのでしょうか? 素人質問で申し訳ありません。 些細なことでも結構ですので 宜しくお願い致します。

  • ポートを開ける必要が無いP2P

    私はネットワークについて詳しくないのですが、 Fantasy Earth Zeroというゲームが、サーバーではマッチングだけ行って、 キャラクターの行動等はP2Pでやってるらしいんですが、 インストール時にポートを開ける必要がないんです。 ユーザーがポートを開ける必要がないP2Pなんてあるんでしょうか? 大勢のユーザーが居てもポートの問題はほぼ起こっていないようで、すんなりインストール出来るようです。 これはマルチタームのMassplayerSystem PlayerServerというライブラリで行っているらしい。 どうやって実現しているんだと思いますか?

  • iPhoneアプリ開発でユーザが見れる保存方法

    お世話になります。 どなたか、 iPhoneアプリ開発にてアプリ終了後にも、 ユーザーが見れる形でのファイルの保存を 行う方法をご存知ありませんでしょうか。 ネット上にあります、動画をダウンロードして、 アプリ終了後にも見れるようにして欲しいと、 クライアントから依頼を受けたのですが、 2日ほど探しましたが、うまく見つかりませんでした。 もし、どちら様か、方法ご存知の方がいらっしゃいましたら、 ご教授いただけないでしょうか。 何卒よろしくお願いします。

  • iPhone、android での個体識別

    iPhone、android のゲームサイトを作る事になっています。 これまで DoCoMo、au、softbank の経験があります。 個人の成績やハンドル名を記録する必要があるんですが、これまでの携帯ではたとえばDoCoMoならuid を使って個体の識別をやっていました。 ところが、iPhone や android で同じ事をやろうとしてるのですが、方法がわかりません。 このへんの情報を教えていただければ幸いです。よろしく、お願いいたします。

  • iPhone、android での個体識別

    iPhone、android のゲームサイトを作る事になっています。 これまで DoCoMo、au、softbank の経験があります。 個人の成績やハンドル名を記録する必要があるんですが、これまでの携帯ではたとえばDoCoMoならuid を使って個体の識別をやっていました。 ところが、iPhone や android で同じ事をやろうとしてるのですが、方法がわかりません。 このへんの情報を教えていただければ幸いです。よろしく、お願いいたします。

  • iOS上でgetLatLngの実装について

    iPhoneアプリ開発をしています。 デフォルトで入っているマップアプリのように、地名を入力してその地名の座標を取得したいのですが、CoreLocation や MapKit のフレームワークではできないように思います。 google maps API を使いたい場合には、どのようにするといいのでしょうか。 参考になるサイトなどございましたら教えて頂けますでしょうか。 宜しくお願い致します。

  • 「内容を表示するためのアクセス権」

    Eclipseを導入し、作ったワークスペースの場所(パス)を確認しようと思い、プロパティ→パスを確かめFinderでアクセスしようとしたのですが、以下のようなメッセージが出てしまい開けませんでした。 「内容を表示するためのアクセス権がないため、フォルダ”Eclipse”を開けませんでした」 パスは以下になっています。どうしたら、見られるでしょうか? /Users/hoge/Desktop/eclipse/Eclipse.app/Contents/MacOS/workspace/SampleProj/src/Hoge.java

  • objective-cからのDB接続

    iPhoneアプリを開発しています。 objective-cからデータベースに接続し、 データを取得・更新を行いたいのですが、 可能なのでしょうjか? できるのであれば、どのようにすればできるか、教えてください。 データベースはサーバ上にFilemakerで作成されています。 objective-cからは無理であれば、サーバにPHPファイルを書いておいて、 PHPにアクセスして、データベースへのアクセスでもOKです。 objective-cからのPHP実行に関しても、ご存じの方、教えてください。 宜しくお願いします。。

  • csv ファイルをplistファイルに変換

    csv ファイルをplistファイルに変換ツールありますか? 変換方法教えて下さい。

  • [再]objective-c 描画処理について

    前回質問させて頂きましたが、まだ抜け出せていないので教えて下さい。 ↓↓↓ -------------------------------------------------------------------------------------------------------------- 初心者ですが、iPhoneアプリを作成しています。 画像を並べてスクロールできるように配列で描画処理を行ないたいのですが、うまくいきません。 今のところのコードはこんな感じです↓ - (void)viewDidLoad { [super viewDidLoad]; NSMutableArray* imageList = [NSMutableArray array]; for (int i=1; i < 20; i++) { UIImage* image = [UIImage imageNamed: [NSString stringWithFormat:@"%d.jpg", i+1]]; [imageList addObject:image]; } MyImageView* imageView = [[MyImageView alloc] initWithImage:imageList]; scrollView.contentSize = imageView.bounds.size; [scrollView addSubview:imageView]; [imageView release]; } どなたか分かる方、教えて頂けますよう宜しくお願いします。 -------------------------------------------------------------------------------------------------------------- ↓ NSArray *initWithImage;と引数で渡しましたが、 「MyImageView* imageView = [[MyImageView alloc] initWithImage:imageList];」 の部分で、「Incompatible pointer sending 'NSMutableArray *' to parameter of type 'UIImage *'」とエラー表示され、実行すると、 「Tread1 : Program received signal: "SIGABRT"」で落ちてしまいます。

  • mac ターミナル

    ターミナルでコマンドが全く効かなくなってしまいました。 keytoolを使いたいのですが、なぜか全く反応しません。 -bash: keytool: command not found 何故なのでしょうか??

    • ベストアンサー
    • MASA0901
    • Mac
    • 回答数2
  • Xcode ビルドエラーMSGについて

    これエラーMSGなんですか? 教えて下さい。 CodeSign error: Certificate identity 'iPhone Developer: gao chun (B3G3P866RX)' appears more than once in the keychain. The codesign tool requires there only be one.

  • Androidコンパイル時のエラーについて

    Androidの開発中に下記エラーが出ます。 対処の解る方がおりましたらば教えていただけますでしょう 宜しくお願いいたします。 詳細内容及びソース、XML エラー 2011-05-11 16:09:27 - BMICalculator2] res\layout\main.out.xml:0: Originally defined here. [2011-05-11 16:09:27 - BMICalculator2] C:\workspace\BMICalculator2\res\values\strings.out.xml:1: エラー: Error parsing XML: no element found [2011-05-11 16:09:27 - BMICalculator2] C:\workspace\BMICalculator2\res\layout\main.out.xml:1: エラー: Error parsing XML: no element found [2011-05-11 16:09:27 - BMICalculator2] C:\workspace\BMICalculator2\res\layout\main.xml:38: エラー: エラー: No resource found that matches the given name (at 'id' with value '@id+/button_calculate'). [2011-05-11 16:09:28 - BMICalculator2] res\layout\main.xml:0: エラー: Resource entry main is already defined. [2011-05-11 16:09:28 - BMICalculator2] res\layout\main.out.xml:0: Originally defined here. [2011-05-11 16:09:28 - BMICalculator2] C:\workspace\BMICalculator2\res\values\strings.out.xml:1: エラー: Error parsing XML: no element found [2011-05-11 16:09:28 - BMICalculator2] C:\workspace\BMICalculator2\res\layout\main.out.xml:1: エラー: Error parsing XML: no element found [2011-05-11 16:09:28 - BMICalculator2] C:\workspace\BMICalculator2\res\layout\main.xml:38: エラー: エラー: No resource found that matches the given name (at 'id' with value '@id+/button_calculate'). ソース package com.mamezou.android.bmi.alc; import android.app.Activity; import android.os.Bundle; public class BMICalculatorActivity extends Activity { /** Called when the activity is first created. */ @Override public void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); setContentView(R.layout.main); } } string.XML <?xml version="1.0" encoding="utf-8"?> <resources> <string name="hello">Hello.Wopld.BMICalculatorActivity</string> <string name="app_name">BMI Calculator</string> <string name="label_description">BMIを計算します</string> <string name="label_height">身長(cm)</string> <string name="label_weight">体重(kg)</string> <string name="button_calculate">計算</string> </resources> main.XML <?xml version="1.0" encoding="utf-8"?> <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" android:orientation="vertical" android:layout_width="fill_parent" android:layout_height="fill_parent" > <TextView android:layout_width="fill_parent" android:layout_height="wrap_content" android:text="@string/label_description" /> <TextView android:layout_width="fill_parent" android:layout_height="wrap_content" android:text="@string/label_height" /> <EditText android:id="@+id/text_height" android:layout_width="fill_parent" android:layout_height="wrap_content" android:numeric="integer" android:maxLength="3" android:text="160" /> <TextView android:layout_width="fill_parent" android:layout_height="wrap_content" android:text="@string/label_weight" /> <EditText android:id="@+id/text_weight" android:layout_width="fill_parent" android:layout_height="wrap_content" android:numeric="integer" android:maxLength="3" android:text="50" /> <Button android:id="@+id/button_calculate" android:layout_width="wrap_content" android:layout_height="wrap_content" android:text="@string/button_calculate" /> </LinearLayout>

  • Androidコンパイル時のエラーについて

    Androidの開発中に下記エラーが出ます。 対処の解る方がおりましたらば教えていただけますでしょう 宜しくお願いいたします。 詳細内容及びソース、XML エラー 2011-05-11 16:09:27 - BMICalculator2] res\layout\main.out.xml:0: Originally defined here. [2011-05-11 16:09:27 - BMICalculator2] C:\workspace\BMICalculator2\res\values\strings.out.xml:1: エラー: Error parsing XML: no element found [2011-05-11 16:09:27 - BMICalculator2] C:\workspace\BMICalculator2\res\layout\main.out.xml:1: エラー: Error parsing XML: no element found [2011-05-11 16:09:27 - BMICalculator2] C:\workspace\BMICalculator2\res\layout\main.xml:38: エラー: エラー: No resource found that matches the given name (at 'id' with value '@id+/button_calculate'). [2011-05-11 16:09:28 - BMICalculator2] res\layout\main.xml:0: エラー: Resource entry main is already defined. [2011-05-11 16:09:28 - BMICalculator2] res\layout\main.out.xml:0: Originally defined here. [2011-05-11 16:09:28 - BMICalculator2] C:\workspace\BMICalculator2\res\values\strings.out.xml:1: エラー: Error parsing XML: no element found [2011-05-11 16:09:28 - BMICalculator2] C:\workspace\BMICalculator2\res\layout\main.out.xml:1: エラー: Error parsing XML: no element found [2011-05-11 16:09:28 - BMICalculator2] C:\workspace\BMICalculator2\res\layout\main.xml:38: エラー: エラー: No resource found that matches the given name (at 'id' with value '@id+/button_calculate'). ソース package com.mamezou.android.bmi.alc; import android.app.Activity; import android.os.Bundle; public class BMICalculatorActivity extends Activity { /** Called when the activity is first created. */ @Override public void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); setContentView(R.layout.main); } } string.XML <?xml version="1.0" encoding="utf-8"?> <resources> <string name="hello">Hello.Wopld.BMICalculatorActivity</string> <string name="app_name">BMI Calculator</string> <string name="label_description">BMIを計算します</string> <string name="label_height">身長(cm)</string> <string name="label_weight">体重(kg)</string> <string name="button_calculate">計算</string> </resources> main.XML <?xml version="1.0" encoding="utf-8"?> <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" android:orientation="vertical" android:layout_width="fill_parent" android:layout_height="fill_parent" > <TextView android:layout_width="fill_parent" android:layout_height="wrap_content" android:text="@string/label_description" /> <TextView android:layout_width="fill_parent" android:layout_height="wrap_content" android:text="@string/label_height" /> <EditText android:id="@+id/text_height" android:layout_width="fill_parent" android:layout_height="wrap_content" android:numeric="integer" android:maxLength="3" android:text="160" /> <TextView android:layout_width="fill_parent" android:layout_height="wrap_content" android:text="@string/label_weight" /> <EditText android:id="@+id/text_weight" android:layout_width="fill_parent" android:layout_height="wrap_content" android:numeric="integer" android:maxLength="3" android:text="50" /> <Button android:id="@+id/button_calculate" android:layout_width="wrap_content" android:layout_height="wrap_content" android:text="@string/button_calculate" /> </LinearLayout>

  • Androidコンパイル時のエラーについて

    Androidの開発中に下記エラーが出ます。 対処の解る方がおりましたらば教えていただけますでしょう 宜しくお願いいたします。 詳細内容及びソース、XML エラー 2011-05-11 16:09:27 - BMICalculator2] res\layout\main.out.xml:0: Originally defined here. [2011-05-11 16:09:27 - BMICalculator2] C:\workspace\BMICalculator2\res\values\strings.out.xml:1: エラー: Error parsing XML: no element found [2011-05-11 16:09:27 - BMICalculator2] C:\workspace\BMICalculator2\res\layout\main.out.xml:1: エラー: Error parsing XML: no element found [2011-05-11 16:09:27 - BMICalculator2] C:\workspace\BMICalculator2\res\layout\main.xml:38: エラー: エラー: No resource found that matches the given name (at 'id' with value '@id+/button_calculate'). [2011-05-11 16:09:28 - BMICalculator2] res\layout\main.xml:0: エラー: Resource entry main is already defined. [2011-05-11 16:09:28 - BMICalculator2] res\layout\main.out.xml:0: Originally defined here. [2011-05-11 16:09:28 - BMICalculator2] C:\workspace\BMICalculator2\res\values\strings.out.xml:1: エラー: Error parsing XML: no element found [2011-05-11 16:09:28 - BMICalculator2] C:\workspace\BMICalculator2\res\layout\main.out.xml:1: エラー: Error parsing XML: no element found [2011-05-11 16:09:28 - BMICalculator2] C:\workspace\BMICalculator2\res\layout\main.xml:38: エラー: エラー: No resource found that matches the given name (at 'id' with value '@id+/button_calculate'). ソース package com.mamezou.android.bmi.alc; import android.app.Activity; import android.os.Bundle; public class BMICalculatorActivity extends Activity { /** Called when the activity is first created. */ @Override public void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); setContentView(R.layout.main); } } string.XML <?xml version="1.0" encoding="utf-8"?> <resources> <string name="hello">Hello.Wopld.BMICalculatorActivity</string> <string name="app_name">BMI Calculator</string> <string name="label_description">BMIを計算します</string> <string name="label_height">身長(cm)</string> <string name="label_weight">体重(kg)</string> <string name="button_calculate">計算</string> </resources> main.XML <?xml version="1.0" encoding="utf-8"?> <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" android:orientation="vertical" android:layout_width="fill_parent" android:layout_height="fill_parent" > <TextView android:layout_width="fill_parent" android:layout_height="wrap_content" android:text="@string/label_description" /> <TextView android:layout_width="fill_parent" android:layout_height="wrap_content" android:text="@string/label_height" /> <EditText android:id="@+id/text_height" android:layout_width="fill_parent" android:layout_height="wrap_content" android:numeric="integer" android:maxLength="3" android:text="160" /> <TextView android:layout_width="fill_parent" android:layout_height="wrap_content" android:text="@string/label_weight" /> <EditText android:id="@+id/text_weight" android:layout_width="fill_parent" android:layout_height="wrap_content" android:numeric="integer" android:maxLength="3" android:text="50" /> <Button android:id="@+id/button_calculate" android:layout_width="wrap_content" android:layout_height="wrap_content" android:text="@string/button_calculate" /> </LinearLayout>

  • iOSでxibのoutletを別のxibに繋ぐ方法

    iOSでiPhone向けゲームアプリ作成に挑戦中の初心者です。 ゲームアプリをView-based Applicationテンプレートを使って作りはじめました。 アプリもほぼ完成し、実機を使ってテストしている段階です。 ゲーム中に電話がかかってきた時にゲームを一時中断させるためAppDelegate.mのapplicationWillResignActiveメソッドに必要な処理を書き、AppDelegate.hにそれに必要なIBOutletを書いたところ、MainWindow.xibにそのOutletがあらわれました。 ゲームアプリはViewControler.mに書いてあり、それに必要なIBOutletはViewControler.hに書いてあります。 AppDelegateのOutletをViewControler.xibで表示されるView上のラベルその他のオブジェクトに結び付けたいのですが、その方法がわかりません。 どなたかご存知の方教えて下さい。 もしかすると、繋ぐことはできないのかもしれませんが、その場合View-based Applicationテンプレートを使って作り出したアプリにapplicationWillResignActiveメソッドを使って一時中断の処理を書くにはどうしたらいいのでしょうか。applicationWillResignActiveメソッドは、私の誤解かもしれませんが、ViewController.mには書けないようなので。

  • ipadかandroidか

    システム開発をしている者です。 この度、ユーザーにタブレットPC(ストレートPC)の提案を行っています。 ・ipad2の端末様にソフト開発すべきか ・android製のソフト開発をすべきか 悩んでおります。今後、他のお客様に提案する場合に、覚えた開発言語の方で 提案したいと思っておりますが、世の中の流れがどちらが支流になるのか 分かっておりません。 タブレットPCのシェアは、ipadが9割近くあると聞いていますが、色々なメーカーが android製のタブレットの発売をしてきているのも最近の傾向だと思います。 今後、どちらのシェアが伸びそうでしょうか? また、開発するのに、どちらが楽でしょうか? 無知な者に教えてやって下さい。

  • アイホンデベロッパーで新しいPCから実機を操作する

    新しいMACのPCを買いました。既にデベロッパー登録は古いPCで終わっています。 実機を操作するには、デベロッパーセンターでどの段階から始めればよいのでしょうか。

  • MACのターミナルコマンド教えて!

    Windowsの ”net use z: ¥¥vboxsvr¥共有フォルダ名”を実行 を MACのターミナルでやる場合 はどんなコマンド文になるのでしょうか? わかる方教えてください