Savage F. Morgan

  博客园  :: 首页  :: 新随笔  :: 联系 :: 订阅 订阅  :: 管理
上一页 1 ··· 3 4 5 6 7 8 下一页

2013年3月10日

摘要: 16 March 2010 - 3:18pm — abateI've installed android on my freerunner. I've to say that it works ! very nice and functional interface, finger friendly, voice, sms, wifi work out of the box. I'm very impressed.Following the lead from http://lackingrhoticity.blogspot.com/2010/02/how-to-bui 阅读全文
posted @ 2013-03-10 12:08 罗斯摩根 阅读(790) 评论(0) 推荐(0) 编辑

2013年2月8日

摘要: April 3, 2012So you want to continue to get sensor events in your Android service, even after the screen turns off? Well that’s too damn bad, kid, cause you can’t. No, I’m just kidding.But you’ll probably need a work-around for Android Issue 3708. In this document I describe what I had to do to get 阅读全文
posted @ 2013-02-08 03:41 罗斯摩根 阅读(196) 评论(0) 推荐(0) 编辑

2013年2月7日

摘要: This will be completed...reference link:http://stackoverflow.com/questions/7951730/viewpager-and-fragments-whats-the-right-way-to-store-fragments-state 阅读全文
posted @ 2013-02-07 22:27 罗斯摩根 阅读(252) 评论(2) 推荐(0) 编辑

摘要: Make a bundle object and insert your data (in this example your Category object). Be careful, you can't pass this object directly into the bundle, unless it's serializable. I think it's better to build your object in the fragment, and put only an id or something else into bundle. This is 阅读全文
posted @ 2013-02-07 15:49 罗斯摩根 阅读(1945) 评论(1) 推荐(0) 编辑

2013年2月5日

摘要: As of ADT 14, resource fields cannot be used as switch cases. Invoke this fix to get more information. whats the reason this is used for?Take a look at the official blog post about this:http://tools.android.com/recent/switchstatementconversionhttp://tools.android.com/tips/non-constant-fieldsBasicall 阅读全文
posted @ 2013-02-05 02:11 罗斯摩根 阅读(2012) 评论(0) 推荐(0) 编辑

2013年2月3日

摘要: i started with fragments a few days ago, but it seems wired for me. I dont see the justified advantage for the heavy increase of complexity. I dont know, if i should implement the functionality in my Activity or in my Fragment. First, i tried to put it in the fragments but that often seems to be not 阅读全文
posted @ 2013-02-03 16:26 罗斯摩根 阅读(242) 评论(0) 推荐(0) 编辑

2013年1月31日

摘要: Access level modifiers determine whether other classes can use a particular field or invoke a particular method. There are two levels of access control:At the top level—public, or package-private (no explicit modifier).At the member level—public, private, protected, or package-private (no explicit m 阅读全文
posted @ 2013-01-31 23:39 罗斯摩根 阅读(237) 评论(0) 推荐(0) 编辑

摘要: By john Android, services, singleton 12 commentsPassing data back and forth between activities on the Android platform is one of the more challenging aspects of understanding Android. Understanding how this data is managed by the OS is the difference between getting flooded with Error Reports and ba 阅读全文
posted @ 2013-01-31 01:15 罗斯摩根 阅读(286) 评论(0) 推荐(0) 编辑

2013年1月29日

摘要: Sometimes we need to define global variables accesible from inside our android application to hold some shared values.Simplest way to implement this is to subclass Android.app.Application class and define static variables that will hold our data.Inside your Android project, create class called for e 阅读全文
posted @ 2013-01-29 18:17 罗斯摩根 阅读(662) 评论(0) 推荐(0) 编辑

摘要: Posted on March 8, 2012 by Ram KulkarniIn one of my Android application, I was storing some data in a static member variable. After few hours of inactivity, when I used to open the application, I would see that all the data I had stored in the static member variable was gone.I know about the Android 阅读全文
posted @ 2013-01-29 17:55 罗斯摩根 阅读(356) 评论(0) 推荐(0) 编辑

上一页 1 ··· 3 4 5 6 7 8 下一页