查看完整版本: 如何將Java Store整合到網路商店?
頁: [1]

lovelylovely 發表於 2010-1-20 04:25 PM

如何將Java Store整合到網路商店?

轉貼新聞:(我還沒有權限貼url{:1_newtoo_sad:} )
Java Store是專門用來幫助用戶尋找、獲取Java和JavaFX應用的服務,Sun發言人傑基‧德寇斯特(Jacki DeCoster)說:『本次升級包含多項新功能,例如客戶端賬戶創建、允許美國以外的開發者預覽應用、與PayPal更好的整合,此外還提供其他一些功能、性能提升和漏洞修複。』
  用戶可以借助Java Store下載社交網路、遊戲、辦公工具以及商業應用。由於具備『預覽』功能,因此該服務還能夠幫助用戶在購買前對應用進行測試。
=============================================================================
請問有人有玩過嗎? 怎麼整合到網路商店? 什麼網頁語言比較適合?
謝謝各位大大~~...<div class='locked'><em>瀏覽完整內容,請先 <a href='member.php?mod=register'>註冊</a> 或 <a href='javascript:;' onclick="lsSubmit()">登入會員</a></em></div><div></div>

lemon223 發表於 2010-1-20 05:14 PM

你看一下這網頁

cms.paypal.com/us/cgi-bin/?&cmd=_render-content&content_ID=developer/library_code

/*
* Copyright 2005, 2008 PayPal, Inc. All Rights Reserved.
*/
using System;
using com.paypal.sdk.services;
using com.paypal.soap.api;
using com.paypal.sdk.profiles;
/**
* PayPal .NET SDK sample code
*/
namespace GenerateCodeSOAP
{
/// <summary>
/// Summary description for GetBalance.
/// </summary>
public class GetBalance
{
  public GetBalance()
  {
   //
   // TODO: Add constructor logic here
   //
  }

  public string GetBalanceCode()
  {
   CallerServices caller = new CallerServices();

   IAPIProfile profile = ProfileFactory.createSignatureAPIProfile();
   /*
    WARNING: Do not embed plaintext credentials in your application code.
    Doing so is insecure and against best practices.
    Your API credentials must be handled securely. Please consider
    encrypting them for use in any production environment, and ensure
    that only authorized individuals may view or modify them.
    */
   profile.APIUsername = "sdk-three_api1.sdk.com";
   profile.APIPassword = "QFZCWN5HZM8VBG7Q";
   profile.APISignature = "AVGidzoSQiGWu.lGj3z15HLczXaaAcK6imHawrjefqgclVwBe8imgCHZ";
   profile.Environment="sandbox";
   caller.APIProfile = profile;

   GetBalanceRequestType pp_request=new GetBalanceRequestType();
   pp_request.Version="51.0";
   GetBalanceResponseType pp_response=new GetBalanceResponseType();
   pp_response= (GetBalanceResponseType) caller.Call("GetBalance", pp_request);
   return pp_response.Ack.ToString();
  }

}
}...<div class='locked'><em>瀏覽完整內容,請先 <a href='member.php?mod=register'>註冊</a> 或 <a href='javascript:;' onclick="lsSubmit()">登入會員</a></em></div>

lemon223 發表於 2010-1-20 05:15 PM

sorry 網址後面的 url語法你要刪掉才能閱讀!
頁: [1]