2019年4月13日 星期六

易經算命仙 使用方式

周易六十四卦預測,是起源於周朝時期,是傳統占卜方法的一種,往往和八字等同論,它的別名還有「納甲預測」「周易預測」等,書本上多稱之為周易預測。

每一卦都有深刻的內涵,根據卦的含義就可以推斷世事的吉凶禍福,是殷商時代傳統的佔筮方法,有其神驗之處,也是民間流傳最廣的預測方法之一。​​

簡單的使用說明
占卜問事:
1.先選擇所要占卜的事項
2.長按太極圖二秒來啟動第一爻卦,一共需六次,爻卦期間需誠心默禱所求之事。
3.卦象裡包含現代大儒解卦,簡單易懂,不艱深。

常言道,學會易經,能夠上知天文,下知地理,中通人事。歷史上確也湧現出一些易學運用大家如鬼谷子、諸葛亮、劉伯溫等,留下千古傑作;近人也產生一些精通易數的大家如尚秉和先生。

一般人只能望洋興嘆,難入堂奧。既然易經具有所謂預測的功能,且流傳不衰,具有什麼道理呢,不用人云亦云,其實占卜算卦,准與不准,都有它的道理存在。如有興趣,可以去嘗試求證一下,會充滿著趣味。

iOS App易經算命仙 隱私權政策

Privacy Policy

Effective date: April 13, 2019
iOS App易經算命仙 ("us", "we", or "our") operates the mobile application (hereinafter referred to as the "Service").
This page informs you of our policies regarding the collection, use, and disclosure of personal data when you use our Service and the choices you have associated with that data. Our Privacy Policy for iOS App易經算命仙 is created with the help of the PrivacyPolicies.com Privacy Policy Generator.
We use your data to provide and improve the Service. By using the Service, you agree to the collection and use of information in accordance with this policy. Unless otherwise defined in this Privacy Policy, the terms used in this Privacy Policy have the same meanings as in our Terms and Conditions.

Information Collection And Use

We collect several different types of information for various purposes to provide and improve our Service to you.

Types of Data Collected

Personal Data

While using our Service, we may ask you to provide us with certain personally identifiable information that can be used to contact or identify you ("Personal Data"). Personally identifiable information may include, but is not limited to:
  • Email address
  • Cookies and Usage Data

Usage Data

When you access the Service with a mobile device, we may collect certain information automatically, including, but not limited to, the type of mobile device you use, your mobile device unique ID, the IP address of your mobile device, your mobile operating system, the type of mobile Internet browser you use, unique device identifiers and other diagnostic data ("Usage Data").

Tracking & Cookies Data

We use cookies and similar tracking technologies to track the activity on our Service and hold certain information.
Cookies are files with small amount of data which may include an anonymous unique identifier. Cookies are sent to your browser from a website and stored on your device. Tracking technologies also used are beacons, tags, and scripts to collect and track information and to improve and analyze our Service.
You can instruct your browser to refuse all cookies or to indicate when a cookie is being sent. However, if you do not accept cookies, you may not be able to use some portions of our Service. You can learn more how to manage cookies in the Browser Cookies Guide.
Examples of Cookies we use:
  • Session Cookies. We use Session Cookies to operate our Service.
  • Preference Cookies. We use Preference Cookies to remember your preferences and various settings.
  • Security Cookies. We use Security Cookies for security purposes.

Use of Data

iOS App易經算命仙uses the collected data for various purposes:
  • To provide and maintain the Service
  • To notify you about changes to our Service
  • To allow you to participate in interactive features of our Service when you choose to do so
  • To provide customer care and support
  • To provide analysis or valuable information so that we can improve the Service
  • To monitor the usage of the Service
  • To detect, prevent and address technical issues

Transfer Of Data

Your information, including Personal Data, may be transferred to — and maintained on — computers located outside of your state, province, country or other governmental jurisdiction where the data protection laws may differ than those from your jurisdiction.
If you are located outside Taiwan and choose to provide information to us, please note that we transfer the data, including Personal Data, to Taiwan and process it there.
Your consent to this Privacy Policy followed by your submission of such information represents your agreement to that transfer.
iOS App易經算命仙 will take all steps reasonably necessary to ensure that your data is treated securely and in accordance with this Privacy Policy and no transfer of your Personal Data will take place to an organization or a country unless there are adequate controls in place including the security of your data and other personal information.

Disclosure Of Data

Legal Requirements

iOS App易經算命仙 may disclose your Personal Data in the good faith belief that such action is necessary to:
  • To comply with a legal obligation
  • To protect and defend the rights or property of iOS App易經算命仙
  • To prevent or investigate possible wrongdoing in connection with the Service
  • To protect the personal safety of users of the Service or the public
  • To protect against legal liability

Security Of Data

The security of your data is important to us, but remember that no method of transmission over the Internet, or method of electronic storage is 100% secure. While we strive to use commercially acceptable means to protect your Personal Data, we cannot guarantee its absolute security.

Service Providers

We may employ third party companies and individuals to facilitate our Service ("Service Providers"), to provide the Service on our behalf, to perform Service-related services or to assist us in analyzing how our Service is used.
These third parties have access to your Personal Data only to perform these tasks on our behalf and are obligated not to disclose or use it for any other purpose.

Links To Other Sites

Our Service may contain links to other sites that are not operated by us. If you click on a third party link, you will be directed to that third party's site. We strongly advise you to review the Privacy Policy of every site you visit.
We have no control over and assume no responsibility for the content, privacy policies or practices of any third party sites or services.

Children's Privacy

Our Service does not address anyone under the age of 18 ("Children").
We do not knowingly collect personally identifiable information from anyone under the age of 18. If you are a parent or guardian and you are aware that your Children has provided us with Personal Data, please contact us. If we become aware that we have collected Personal Data from children without verification of parental consent, we take steps to remove that information from our servers.

Changes To This Privacy Policy

We may update our Privacy Policy from time to time. We will notify you of any changes by posting the new Privacy Policy on this page.
We will let you know via email and/or a prominent notice on our Service, prior to the change becoming effective and update the "effective date" at the top of this Privacy Policy.
You are advised to review this Privacy Policy periodically for any changes. Changes to this Privacy Policy are effective when they are posted on this page.

Contact Us

If you have any questions about this Privacy Policy, please contact us:
  • By email: pianovv510@hotmail.com

2019年1月13日 星期日

How to pop a toast message in Service Android



Step1. define function

    public void sentToToast(final String content,final  int type,Handler handler){
        handler = new Handler(Looper.getMainLooper());
        handler.post(new Runnable() {
            @Override
            public void run() {
                Toast.makeText(getApplicationContext(),content,type).show();
            }
        });
    }

Step2. call the function

Handler handler;
String msg = "12345678";
sentToToast(msg,Toast.LENGTH_LONG,handler);


2018年12月28日 星期五

How to remove ACTION BAR in android with android studio

Step1. modify AndroidManifest.xml
Modify theme style to android:theme="@style/AppTheme.NoActionBar">





Step2. modify values\style.xml
Add NoActionBar style


2018年11月3日 星期六

Call AutoML model found error expected one of ('authorized_user', 'service_account').



You can now run predictions on images using your custom vision model. 

python predict.py YOUR_LOCAL_IMAGE_FILE aiyvision-xxx ICNxxxxxxxxxxxxx

When run the command above before, you have to create a JSON file which have enough privileges to invoke the API for inferencing. 


https://console.cloud.google.com/iam-admin/serviceaccounts


Then Create another environment variable that points to the downloaded JSON key.
export GOOGLE_APPLICATION_CREDENTIALS=key-file //Linux set GOOGLE_APPLICATION_CREDENTIALS=key-file //Windows
 If see the error as following, you will need to do the 2 steps.

google.auth.exceptions.DefaultCredentialsError: The file D:\google_images_download\key.json. does not have a valid type. Type is None, expected one of ('authorized_user', 'service_account').



Reference site
https://cloud.google.com/automl/
https://cloud.google.com/iam/docs/creating-managing-service-accounts
https://thenewstack.io/get-started-with-google-cloud-automl-vision-for-image-classification/

2018年10月3日 星期三

加停小幫手/ParkingandRefuelin Privacy Policy

Parking and Refuelin
Use to find the refue station which around you and support parking space information as  台灣聯通, 中興嘟嘟房, 便利停車場, 福慧網, ViVipark

Permission user description

CAMERA: Required to be able to access the camera device. Use to take a photo for recognition.
READ_EXTERNAL_STORAGE: Allows an application to read from external storage. Use to pick a photo from your gallery.
INTERNET: Allows applications to open network sockets. Use to upload the photo to service for recognition via machine learning. 
 
Data collection
The App DO NOT collect any users data.
 
Link
All the links in the app that are secure and no any malicious programs. 
The link in app is used to link tutorial video on YouTube.
 
Contact us
If any privacy policy issue, please contact us by the mail address:
kof0018@gmail.com

2018年5月17日 星期四

Google Cloud vision API 實作Android App 猜吧 - 人工智慧猜圖神器

這是一個利用Google Cloud Vision API應用實例

參考網址 Google Cloud Platform — Cloud Vision API


Vision API主要有幾個分類:

LABEL:
使用這個API, 它會把圖中的物件或元素找出來,並給於一個值,這個值代表信心指數, 例如圖片中含有一台鋼琴,和杯子 label 在這張圖片裡出現的信心程度。假設拍辦公室場景,分析大概就會出現電燈,桌子,椅子,杯子,人...等等
 在App裡的setting裡的動物或交通工具就是用LABEL的API

Web:   
此API 會結合搜尋引擎功能,有點以圖搜圖的概念,App裡的All Detection,就是用此API,
例如,拍名人,拍車子,就會用這張圖來搜尋出這個名人叫什麼,車子是什麼型號

Landmark:
顧名思義, 用來拍知名地標,或知名人造建築,在App裡地標搜尋就是用這個API,
App裡個小功能,在判斷後結果,就會導到地點,適合旅遊時迷路拍一下XD

Logo:
用來搜尋產品logo,如LV, Gucci,可口可樂, 零食品牌等等
 
如果大大們用這個App在實際生活上有什麼酷炫的應用,也歡迎分享給小弟我,也可以加強或實作這個功能給更多人享用


Android App download link:
點擊下載   猜吧 Android App