How can I get to Yan Ziling from the passenger transport center
1、webview必须设置支持Javascript
mWebview.getSettings().setJavaScriptEnabled(true);
2、加进一个回调的代理类JavaScriptInterface,并给它一个调用的名称:ncp
mWebView.addJavascriptInterface(new JavaScriptInterface(), "ncp");
final class JavaScriptInterface {
public int callOnJs() {
return 1000;
}
public void callOnJs2(String mode) {
//TODO
}
}
3、JS页面
<script type="text/javascript">
window.onload = function(){
document.getElementById('btn_1').addEventListener('click', onBtnClick, false);
var _int_value = window.ncp.callOnJs();
alert("get int from java:" + _int_value );
}
function onBtnClick() {
window.ncp.callOnJs2("click");
}
</script>
接下来就可以调用js方法了,
1、Java调用js方法
mWebView.loadUrl("javascript:onSaveCallback()");
2、JS访问java方法
window.ncp.callOnJs2("click");
A. free policy: children under 1.2 meters in height are free of charge
B. preferential policy: children between 1.2 meters and 1.5 meters in height can buy children's tickets at half price. Starting from Shanghai, you can take the tourist bus from Shanghai to Tonglu bus station at Hengfeng Road passenger station (75 yuan / person), and take No.1 bus at Tonglu bus station to Fuchunjiang Yiqiao station (1 yuan / person), Then take a taxi to the scenic area or take a minibus to the scenic area
starting from Hangzhou: take the bus from Hangzhou south station or west station to Tonglu (half an hour) to Tonglu long-distance station, the fare is 35 yuan (South Station), 31 yuan (West Station) in 1 hour, or take TONGHANG intercity bus (18 yuan) to Tonglu passenger transport center in Huanglong tourist center. Then take the bus to Fuchunjiang Bridge station. The bus goes directly to the scenic spot, which can be reached in half an hour. Starting from Shanghai: Shanghai Hangzhou Expressway - Hangzhou Ring Expressway - HangQian (Hangxinjing) Expressway - Tonglu exit (Fuchunjiang exit) - scenic spot
starting from Hangzhou: Hangzhou Ring Expressway - HangQian (Hangxinjing) Expressway - Tonglu exit (Fuchunjiang exit) - scenic spot
starting from Nanjing: Airport Expressway - Nanjing Hangzhou Expressway - Hangzhou Ring Road - HangQian (Hangxinjing) Expressway - Tonglu exit (Fuchunjiang exit) - scenic spot< br />
Jiubao
passenger transport center or Huanglong
Tourist Distribution Center, there are buses to Tonglu, and from
Tonglu passenger transport center
taxi to
Barbizon
it's only 10 yuan at most. There are
Daqi mountain
forest park nearby and
Yanziling fishing platform further away.
In ancient China, people had the habit of asking for and solving the divination in temples. In modern life, there are still many devout Buddhists. So what does the 20th sign represent when we go to Guandi temple to get the spirit sign? Let's understand it together
{rrrrrrr}
Guandi Lingqian 20 jieqian
Guandi Lingqian 20: xiayigui Yanziling ascends the Diaoyutai
the world goes from flowing water to the clouds of fame and wealth
when you travel, you should be careful. There may be dangerous obstacles on the way
if you ask about litigation, it's more dangerous than good
if you ask about a disease, you can choose a doctor to cure it
it's still a long way to go
when it comes to marriage, there are many twists and turns, but few chances of success
in the end, everything is not good. You should be careful to keep it safe
emperor Guan's fortune: you can only rush back and be patient when you are at the bottom of the valley
family: family and success, family chaos, failure, although the population is prosperous, must first seek
wealth and profit: the road to wealth, must hold on to the road, fierce hegemony business, own losses
business: it has its own losses, and its credit is consolidated. It is not your clumsiness that the world is like this
promotion: there are many good omens. Be careful of yourself. If you are physically and mentally sound, you will get good results
marriage: it's not suitable to insist on the eight character incompatibility. If it lasts for a long time, it's unfortunate
examination: if you can't do it, it's better to change your career
Health: it has become a chronic disease and should not be taken lightly. Only by careful treatment can it be cured
long distance travel: it's better to stay in the countryside than to go abroad for more business
litigation: you can't do it. If you know you can't, you can stop it. You should know it
lost property: lost in Yangfang, you don't have to look for it, you can't inquire, you can buy it again
emperor Guandi's holy intention
when the lawsuit ends, it is appropriate to stop, fame and wealth are light, the disease is treated, pedestrians are far away, marriage is hesitant, everything is done, and at any time
interpretation of Guandi Lingqian
to whom is the matter of mind. It's cool. No words to tell. Shibatan. It belongs to Ganzhou. I'm afraid. There are many ways to go. Running water. The dead cannot return. Wait for the clouds. Now it's all gone. What is the most important thing. Know the impermanence of fame and wealth. And so on the water floating clouds. That is to say, to whom. On the way out of danger. Every time you meet, you can learn. Is there a great deal of kindness
explanation
although I have a lot of worries, I always have no one to talk to. I have been full of setbacks all the time, and I have to face a very dangerous road in the future, which can only be swallowed by myself. Life is hard to predict, for the misfortune encountered, can only let everything into the water, do not have too much care or nostalgia, want to wait for wealth and fame, it seems that expectations can only fail. Although this sign is not good, if we can prevent it because we know it in advance, or treat it with an ordinary mind, we will be more relieved
Dongpo solution
the mind is unsettled, and should be slow, the situation is vertical auspicious, must rely on God to help
in all things, there is no danger in the end of life, there is more cultivation, and there is a way to succeed
bixianzhu
when the boat is in danger, it needs to be prevented from capsizing, someone remembers to do it, and it is safe to do it
[zhanyan]
one person buys a servant, and after zhanyan, the servant escapes. The word "the world flows with water" should be used
ring the reign of Emperor Guangxu, Anxi County tried all his life, and after that, only Cao asked for 18. This is the second sentence
he was also surnamed Guo in Jinjiang county. He was frustrated when he asked which of his two sons would be admitted to pan. This is the experience of the fourth sentence "wait for floating clouds"
the story of Yan Ziling's landing on diaotai
Yan Guang of Han Dynasty was born in Yuyao. Few of them have a high reputation. They study together with Guangwu. And Guangwu ascended the throne, so he changed his name and became invisible. The emperor ordered him to visit him. Later, the state of Qi wrote that there was a man fishing in ink. The emperor suspected that he was the light, and sent envoys to hire him. Besides advising the officials, he was indomitable and cultivated Fuchun mountain. Emperor Sui his ambition, in order to build diaotai. Gaoshi in the Eastern Han Dynasty was called the first Yan
later, Liu Xiu finally invited him to the palace. He was also moved by Liu Xiu's sincerity, and they talked about the past. We're talking about it. Liu Xiu asked the public for advice on how to run the country, and he told them in good faith. Talking late into the night, Liu Xiu stayed in his palace for the night, and he didn't refuse. Liu Xiu and sleep in the same bed, he spread his feet, deep sleep. In the middle of the night, he put one leg on Liu Xiu's belly. In order not to disturb him, Liu Xiu didn't sleep well all night
the next day, Liu Xiu got up to go to court, and a celestial supervisor came out of the class and said, "I looked up at the sky last night and saw a guest star attacking the throne. I'm afraid it's not good for long live." After hearing this, Liu Xiu laughs: "what guest star has attacked the throne? It's me and my good friend Ziling who are sleeping together. He put one leg on me."
LIU Xiu admires his talent and character. He is determined not to accept him as an admonishment doctor. However, he is well aware of the disadvantageous situation of the imperial court and his own disposition. He leaves Liu Xiu a letter of apology and leaves without saying goodbye. He lives in seclusion by the beautiful Fuchun river< In 41 A.D., Liu Xiu again sent envoys to enlist him as an official in Beijing. When he heard the news, he went back to Yuyao and hid in yuede temple at the foot of Mount Chen. The emissary came after the news. It was snowing heavily that day, and the snow was very thick. In his hurry, he got wise and put on his shoes. Seeing the footprints on the snow, the emissary looked for them at the foot of the mountain, but of course he didn't find them. Later generations have a poem: "to avoid scholars into the hermit, extraordinary ambition, drag mang shoes on Chenshan, guest stars shine high, ancient ferry in, mountains and rivers long, Yang sages."< When Liu Xiu heard the news of his death, he was so sad that the local government paid millions of yuan to bury him in his hometown Chenshan. Fan Zhongyan, a politician and litterateur in the Northern Song Dynasty, admired his high integrity and built a temple for him. He also made a record of Mr. Yan's ancestral hall and praised it: "the cloud mountain is vast, the river is vast, and the wind of Mr. Yan is high and the water is long."
going to the mountain refers to the Yan Gong mountain in front of Yan's ancestral hall, which is generally called Baiyun Mountain. River water refers to the belt around the lake in front of the temple and the Xiahe river flowing westward into the Yaojiang River.
it is recorded in the complete annals of Ruzhou in Zhili by Daoguang of Qing Dynasty that "Fuchun mountain faces Yanzi River, which is said to be the seclusion of Ziling. There is Ziling Cave (Yanzi cave) on the mountain, which was rebuilt by Yang Shun in 1802, the seventh year of Jiaqing period. There is a hill at the foot of the mountain, which is also Diaoyutai. "