极乐鸟:安卓:手机屏幕手电筒应用程序发布

2013年07月02日 Android 21条评论 阅读5558次

 

极乐鸟:安卓:手机屏幕手电筒应用程序发布

 

本来预计上个周末,也就是昨天就应该把安卓手机屏幕手电筒的东西发上来的,结果昨天中午在猛哥婚宴上吃完之后下午又唱歌到了六点多,所以推迟到今天早上先发上来一个初版。

 

和原来予想的差不多。有三个页面。

具体情况就先不介绍了。先说一下,这次用的基类、用户界面view、或知识点吧。

 

★Application

★PreferenceScreen

★ListPreference

★CheckBoxPreference

★EditTextPreference

★Notification

★AlertDialog

★Handler、Runnable

★Intent发短信

 

在说一下开发中遇到的问题,最大的问题就是sdk各版本的兼容问题。

关于这个sdk各个版本的兼容问题,具体说来是这样子的。

在安卓屏幕手电筒的设置画面,总体布局是运用了PreferenceScreen,在这个布局里,启动手电筒这一项用的是Preference,在xml布局文件的Preference中有一属性是android:fragment,原来本想设计屏幕手电筒的发光页面为Fragment,这样写出来之后,编译完全通过,但生成的apk文件安装到手机上之后,点击打开手电筒的选项,结果什么反映都没有。

后来从网上搜索,才发现了Fragment的android3.0之后才出现的,而我用的测试手机是android2.3.4的,所以就出现了这个问题。

通过上面问题,让我从此有了android各版本兼容性的意识,并在以后的开发中要特别注意。

 

先附上apk吧。希望大牛大神能给宝贵意见。

点击查看原图

手机扫描即可下载!
分享本文至:

WRITTEN BY

avatar
本文标签:android手电筒
看了本文是不是觉得很赞,那就赶紧点击下面按钮分享给身边的朋友吧!

21 条评论

  1. <a href="http://www.evolutionecig.com/nba-jerseys-new-york-knicks-17-lin-black-jerseys-nfle">nba jerseys new york knicks 17 lin black jerseys</a> <a href="http://www.georginabauer.com/flyknit-roshe-run-green-line-runningf">flyknit roshe run green line</a> <a href="http://www.bootsoffprice.com/nfl-pittsburgh-steelers-color-rush-limited-antonio-brown-mens-football-jersey-nflv">nfl pittsburgh steelers color rush limited antonio brown mens football jersey</a> <a href="http://www.theprintjobs.com/nike-blazer-green-sail-trainersa">nike blazer green sail</a> <a href="http://www.dbajournal.com/zx-flux-kondisko-sort-scarped">zx flux kondisko sort</a> <a href="http://www.procomedian.com/air-jordan-7-gulden-mom%C3%A6ndts-gs-kurpesd">air jordan 7 gulden mom忙ndts gs</a>
    btmtecled http://www.btmtecled.com/

  2. <a href="http://www.injost.com/nike-roshe-marble-roshes-boy-skof">nike roshe marble roshes boy</a> <a href="http://www.wonjuvally.com/nike-air-max-lunar-1-grey-kit-skob">nike air max lunar 1 grey kit</a> <a href="http://www.carrollgrp.com/navy-digital-camo-hat-hata">navy digital camo hat</a> <a href="http://www.nrastogi.com/a-buon-mercato-adidas-zx-700-femminile-blu-runninge">a buon mercato adidas zx 700 femminile blu</a> <a href="http://www.annersroofing.com/air-max-90-une-fleurs-blanc-jaune-schuhea">air max 90 une fleurs blanc jaune</a> <a href="http://www.orderollie.com/nike-free-run-5.0-himmelbl%C3%A5-scarpeb">nike free run 5.0 himmelbl氓</a>
    caveduperreux http://www.caveduperreux.com/

  3. <a href="http://www.cremontana.com/nike-air-max-2017-kpu-ii-gul-orange-schuhea">nike air max 2017 kpu ii gul orange</a> <a href="http://www.holeninegolf.com/adidas-john-walle-3-orange-lyser%C3%B8d-scarpeb">adidas john walle 3 orange lyser酶d</a> <a href="http://www.boobseze.com/womens-nike-air-max-bw-white-netherlands-shoeso">womens nike air max bw white netherlands</a> <a href="http://www.divyangshop.com/nike-air-huarache-ultra-triple-negro-kurpesb">nike air huarache ultra triple negro</a> <a href="http://www.caveduperreux.com/nike-air-max-98-blue-nebula-ah6799-106-zapatost">nike air max 98 blue nebula ah6799 106</a> <a href="http://www.fabloomsilk.com/white-leather-converse-shoesz">white leather converse</a>
    boobseze http://www.boobseze.com/

  4. <a href="http://www.sigaldavid.com/nike-free-5.0-keng%C3%A4t-skot">nike free 5.0 keng盲t</a> <a href="http://www.theartofdecay.com/ray-ban-wayfarer-2-vintage-sunglassesr">ray ban wayfarer 2 vintage</a> <a href="http://www.abbiemorrison.com/hermes-evelyne-3-hermesr">hermes evelyne 3</a> <a href="http://www.ikennemer.com/disney-pandora-charms-uk-sale-pandorar">disney pandora charms uk sale</a> <a href="http://www.rxhealthforca.com/tory-burch-brown-leather-handbag-toryburchr">tory burch brown leather handbag</a> <a href="http://www.airistontili.com/maschio-nike-epic-react-flyknit-grigio-shoesn">maschio nike epic react flyknit grigio</a>
    sajromaniuk http://www.sajromaniuk.com/

  5. <a href="http://www.miendiation.com/adidas-pr%C3%B8dator-soccer-gr%C3%A5-gr%C3%B8nn-obuvc">adidas pr酶dator soccer gr氓 gr酶nn</a> <a href="http://www.powfarm.com/nfl-eric-murray-ash-21-kansas-city-chiefs-nike-one-color-pullover-hoodie-nflw">nfl eric murray ash 21 kansas city chiefs nike one color pullover hoodie</a> <a href="http://www.nongmobacon.com/chicago-bulls-michael-jordan-hoodie-new-adult-size-medium-other-nflv">chicago bulls michael jordan hoodie new adult size medium other</a> <a href="http://www.rentalloka.com/nike-zoom-tutti-out-femminile-rosso-skog">nike zoom tutti out femminile rosso</a> <a href="http://www.casamentosweb.com/jordan-11-colorful-bobcats-skob">jordan 11 colorful bobcats</a> <a href="http://www.perheopas.com/miami-dolphins-hats-for-sale-kansas-city-missouri-hate">miami dolphins hats for sale kansas city missouri</a>
    umuttekelbayi http://www.umuttekelbayi.com/

  6. <a href="http://www.shrinetalk.com/air-jordan-retro-13-low-hvit-svart-gr%C3%A5-obuvc">air jordan retro 13 low hvit svart gr氓</a> <a href="http://www.konyakbs.com/mujeres-nike-flyknit-lunar-3-rojo-naranja-kurpesb">mujeres nike flyknit lunar 3 rojo naranja</a> <a href="http://www.cheezhayama.com/nike-air-max-bw-cargo-caqui-blanco-collar-kurpesd">nike air max bw cargo caqui blanco collar</a> <a href="http://www.eagleswingair.com/adidas-indoor-soccer-messi-15.3-blanc-bleu-kurpesc">adidas indoor soccer messi 15.3 blanc bleu</a> <a href="http://www.alchemaerie.com/maschio-air-max-90-em-arancia-blu-scarped">maschio air max 90 em arancia blu</a> <a href="http://www.eyecovet.com/air-jordan-1-rosso-sparkle-schuhee">air jordan 1 rosso sparkle</a>
    cheezhayama http://www.cheezhayama.com/

  7. <a href="http://www.frijlan.com/nike-zoom-pegasus-32-gr%C3%B8n-lilla-scarpea">nike zoom pegasus 32 gr酶n lilla</a> <a href="http://www.sateambeast.com/nike-shox-deliver-rosa-braun-chaussuresg">nike shox deliver rosa braun</a> <a href="http://www.segwaycr.com/kvinners-asics-gel-kinsei-5-himmelen-bl%C3%A5-s%C3%B8lv-kurpesf">kvinners asics gel kinsei 5 himmelen bl氓 s酶lv</a> <a href="http://www.thegroceri.com/air-jordan-8-blau-and-wei%C3%9F-obuva">air jordan 8 blau and wei脽</a> <a href="http://www.allikatri.com/femminile-ralph-lauren-pony-grigio-polox">femminile ralph lauren pony grigio</a> <a href="http://www.amarthur.com/lebron-13-alle-schwarz-girl-schuhee">lebron 13 alle schwarz girl</a>
    undecides http://www.undecides.com/

  8. <a href="http://www.febrsjsq.com/lebron-14-oro-mine-obuvf">lebron 14 oro mine</a> <a href="http://www.eh440fwo.com/flyknit-lunar-3-university-rouge-wings-kurpese">flyknit lunar 3 university rouge wings</a> <a href="http://www.yz413tae.com/adidas-originals-superstar-80s-gr%C3%B8n-kurpesf">adidas originals superstar 80s gr酶n</a> <a href="http://www.kojqfbo6.com/free-og-14-br-marr%C3%B3n-negro-schuheg">free og 14 br marr贸n negro</a> <a href="http://www.eax5s1up.com/kvinners-asics-gel-kinsei-5-gr%C3%A5-oransje-scarpef">kvinners asics gel kinsei 5 gr氓 oransje</a> <a href="http://www.iumtx7cb.com/nike-lebron-13-s%C3%B8lv-himmelen-bl%C3%A5-kurpesa">nike lebron 13 s酶lv himmelen bl氓</a>
    96hsmdlv http://www.96hsmdlv.com/

  9. <a href="http://www.iremaxvn.com/nike-air-max-2017-kpu-gold-blue-trainersce">nike air max 2017 kpu gold blue</a> <a href="http://www.multinutwraps.com/ray-ban-clubmaster-turtle-sunglassesr">ray ban clubmaster turtle</a> <a href="http://www.vipartonline.com/mackage-winter-jacket-toronto-mackager">mackage winter jacket toronto</a> <a href="http://www.wantaoren.com/nike-shox-8-men-sneakere">nike shox 8 men</a> <a href="http://www.tokodanaya.com/air-jordan-18-menns-gr%C3%A5-footc">air jordan 18 menns gr氓</a> <a href="http://www.dinerwareoc.com/nike-internationalist-style-skox">nike internationalist style</a>
    [url=http://www.playhousecash.com/]playhousecash[/url]

  10. <a href="http://www.gladatassen.com/new-balance-580-black-white-skos">new balance 580 black white</a> <a href="http://www.strongtowercf.com/nhl-jerseys-chicago-blackhawks-7-brent-seabrook-green-jerseys-nflb">nhl jerseys chicago blackhawks 7 brent seabrook green jerseys</a> <a href="http://www.hamiltonhunt.com/bon-march%C3%A9-nike-paul-rodriguez-9-femmes-rose-skoc">bon march茅 nike paul rodriguez 9 femmes rose</a> <a href="http://www.mailstraight.com/burberry-scarf-sale-uk-scarfr">burberry scarf sale uk</a> <a href="http://www.kmkonka.com/womens-nike-air-force-1-high-blue-sneakerc">womens nike air force 1 high blue</a> <a href="http://www.todayjosh.com/billig-nike-free-5.0-2014-herre-sort-shoese">billig nike free 5.0 2014 herre sort</a>
    gfwholesalers http://www.gfwholesalers.com/

  11. avatar 中央空调

    软件升级硬件都快跟不上了

  12. avatar 唐尼眉柱

    O(∩_∩)O哈哈~
    有个亮点,不知道你们看出来了没有?

  13. avatar 地源热泵

    快快快

  14. avatar 风机盘管

    结果什么反映都

  15. avatar 视频贺卡

    这个发布挺好的

  16. avatar 宁波公司注册

    手机更新的速度真快

  17. avatar 天津搬家公司

    这个程序很给力啊

  18. avatar 台式万用表

    这个发布好给力哦

  19. avatar 青岛婚纱摄影

    手机过于智能带来的就是坏处了

  20. avatar 快开工具

    手机上软件多了,影响开机速度啊!

  21. avatar 氢气压缩机

    大多数人工作就是为了生活,少数人工作是为了提升自我。

欢迎留言




用户登录

sitemap