Android4.0(API14)以降だと、Actionbarを使ってできるみたい(詳細→Adding an Easy Share Action)ですけど、ここでは、暗黙のインテント(?)を使って共有ボタンを仕込みたいと思います。結構簡単。
// Intent shareIntent = new Intent(android.content.Intent.ACTION_SEND); //テキストを指定 shareIntent.setType("text/plain"); //タイトルの指定 shareIntent.putExtra(android.content.Intent.EXTRA_SUBJECT, "Title"); //メッセージ本文の入力 shareIntent.putExtra(android.content.Intent.EXTRA_TEXT, "Message"); //アプリの一覧を表示 startActivity(Intent.createChooser(shareIntent, "Select App"));
TwitterやGoogle+なんかは、うまく表示されるんですけど、Facebookは、なんでか文章が挿入されません。いろいろと試してみたんですけど、なにかしらのリンクのみは反応するみたい・・・。EXTRA_TEXTでhttp://cuuma.publog.jpとリンクのテキストをいれると、ちゃんとリンクは表示されます。が、他にテキストをいれても渡されません・・・。結果、よくわかりません・・・。
コメント
コメント一覧 (77)
Canada Goose Jacket http://www.revuedesign.com/Communications.aspx
piumini moncler http://genefast.com/milano.cfm
mulberry purses http://www.alanrankle.co.uk/verda.asp
Canada Goose Outlet http://www.boltsecurity.net/Variable.aspx
Canada Goose Jacket http://www.abudgetair.com/tmp/spec.php
I did however expertise a few technical points using this site, as I experienced to reload the website many times
previous to I could get it to load properly. I had been wondering
if your web hosting is OK? Not that I am complaining, but slow loading instances times will very frequently affect your placement in google and can damage
your high-quality score if ads and marketing with Adwords.
Anyway I'm adding this RSS to my email and can look out for much more of your respective exciting content.
Ensure that you update this again very soon.
or blogs in this kind of niche. Thankfully I ultimately came across this website.
Reading this info, i am glad I discovered what I wanted.
Thank you for posting.
post was great. I do not know what you do but definitely you are going to
a famous blogger in case you aren’t already All the best!
Your website is very cool. I’m astounded
by the details which you've put on this site. It reveals how
nicely you recognize this subject. Bookmarked
this web page, will come back for a lot more articles.
You, amigo, ROCK! I found simply the information I already searched in all places and
simply couldn’t come across. What an ideal website.
The simple truth is I’m not familiar with this, yet I
think this is an excellent chance to find out more about.
Thanks.
I’ve read several other articles on this subject, however I was puzzled till I read yours.
It’s a great thing you're the writer and you bring fresh ideas to us all.
This is entertaining.
Thank you very much for sharing.
website with us so I came to look it over. I’m undoubtedly
enjoying the information. I’m bookmarking and will be tweeting this to my followers!
Exceptional blog and also superb style and design.
lot for the wonderful post.
me. And i’m pleased reading your post. The website looks great, the articles are superb.
from you fellas. Thank you!
Searching in Search engines I at last came across this website.
Reading through this information made me pleased that I’ve
found exactly what I needed.
be your regular website visitor.
out about this topic. You realize so much its almost tough to argue with you (not that I really would
want to…HaHa). You certainly put a new spin on a subject which has been discussed for many
years. Wonderful stuff, just wonderful!
parajumpers norge http://www.parajumpers-jakke-norge.com
wholesale nfl jerseys china http://www.wholesale-nikenfl.com
It’s very apparent you have performed your homework.
Fantastic job!
what you’re talking about! Thanks for this
post. I totally agree with what you are saying. Keep us posted.
variadores,..
fitflop soldes http://www.spe-france.fr/fitflop-soldes.html
tongs fitflop http://www.vial.fr/tongs-fitflop.html
wholesale nike nfl jerseys http://www.nikejersey.org/nike-nfl-sweaters-c-168/
Michael kors outlet online http://www.mk4us.com/mk-satchels-c-11.html
mackage coats http://www.cscst.ca/mackage.htm
cheap nike nfl jersyes http://www.baym.org/images/jerseys.html
wholesale nike nfl jerseys http://www.hhjackson.org/blog/nfl.html
roger vivier shoes http://www.delsonhinge.com/images/rv.html
Michael kors handbags http://www.docuchart.com/images/mk4us.html
fitflop chaussures http://www.fira.fr/fitflop-soldes.html
roger vivier sandals http://www.vivierparis.com/roger-vivier-sandals-c-4.html
mackage coats http://www.mackagesale.com/mackage-men-c-1/
fitflop sale http://www.villaspaphos.co.uk/images/uk.htm
wholesale nfl jerseys http://www.phlinc.org/images/nike.html
mackage coats http://www.tekpro.ca/images/mackage.html
Michael kors handbags http://www.ernecast.com/images/mk.html
roger vivier outlet http://www.scpcorp.com/images/vivier.html
fitflop sandal http://www.fitflop-sandal.com
roger vivier outlet http://www.rogervivierpairs.com
roger vivier outlet http://www.rogervivierparis.com/roger-vivier-flats-c-2.html
Parajumpers Jakke http://www.sopihop.no/images/jakke.html
parajumpers norge http://www.fornminner.no/Kommuner/pjs.htm
mackage sale http://www.mackagesale.com/mackage-women-c-2/
canada goose sale http://www.canadagoose-us.com/canada-goose-men-c-1/
canada goose outlet http://www.seasonedweb.com/azb/canada.html
canada goose outlet online http://www.quikcheq.com/images/goose.htm
MBT soldes http://www.mbt-france.com
mackage canada http://www.mackagesale.com/mackage-women-c-2/
mackage sale http://www.mackagesale.com/mackage-women-c-2/
parajumpers salg norge http://www.sandvikaror.no/content/pjs3.html
parajumpers jakke salg http://www.slettabarnehave.no/images/pjs5.html
parajumpers jakke norge http://www.preciseresources.no/images/pjs4.html
parajumpers salg norge http://www.kragerovgs.no/images/pjs2.html
MBT Chaussures Hommes http://www.mbt-france.com/mbt-chaussures-hommes-c-4.html
fitflop outlet http://www.fitflopsale-uk.com/womens-fitflop-sandals-c-2.html
fitflop sale http://www.fitflopsale-uk.com/womens-fitflop-sandals-c-2.html
fitflop outlet http://www.fitflopsale-uk.com/womens-fitflop-sandals-c-2.html
fitflop outlet http://www.fitflopsale-uk.com/womens-fitflop-sandals-c-2.html
fitflop sale http://www.fitflopsale-uk.com/womens-fitflop-sandals-c-2.html
fitflop sale http://www.fitflopsale-uk.com/womens-fitflop-sandals-c-2.html
Women Fitflop Sandals http://www.fitflopsale-uk.com/womens-fitflop-sandals-c-2.html
fitflop sale http://www.fitflopsale-uk.com/womens-fitflop-sandals-c-2.html
Thank you for making me realize this. It's great.
โปรโมชั่น<a href="https://www.gclub45.com/">Gclub</a> ของทางทีมงานตอนนี้แจกฟรีโบนัส 50%
เพียงแค่คุณสมัคร <a href="https://www.gclub45.com/sclub.html">Sclub</a> กับทางทีมงานของเราเพียงเท่านั้น
ร่วมมาเป็นส่วนหนึ่งกับเว็บไซต์คาสิโนออนไลน์ของเราได้เลยค่ะ
สมัครสล็อตออนไลน์ >>> <a href="https://www.gclub45.com/goldenslot.html">goldenslot</a>
สนใจร่วมลงทุนกับเรา <a href="https://www.gclub45.com/agent-gclub.html">สมัครเอเย่น Gclub</a> คลิ๊กได้เลย