上一页 1 ··· 10 11 12 13 14 15 16 17 18 ··· 44 下一页
摘要: 1. Setting Text to Image On Android2. Adjudt the text font size based on the android resolution3. 文字居中: paint.setTextAlign(Align.CENTER);然后drawText的x坐标设置为width / 2即可privatefloattoPixel(Resourcesres,intdip){floatpx=TypedValue.applyDimension(TypedValue.COMPLEX_UNIT_DIP,dip,res.getDisplayMetrics());re. 阅读全文
posted @ 2012-02-21 16:47 higirle 阅读(354) 评论(0) 推荐(0) 编辑
摘要: 1.方法一Displaydisplay=getWindowManager().getDefaultDisplay();Config.screenWidth=display.getWidth();Config.screenHeight=display.getHeight();2. 方法二:DisplayMetricsmetrics=newDisplayMetrics();getWindowManager().getDefaultDisplay().getMetrics(metrics);intscreenWidth=metrics.widthPixels;intscreenHeight=met. 阅读全文
posted @ 2012-02-21 16:42 higirle 阅读(289) 评论(0) 推荐(0) 编辑
摘要: <Button android:id ="@+id/Image_Button" android:layout_width="wrap_content" android:layout_height="wrap_content" android:drawableTop="@drawable/ic_launcher" android:drawablePadding="-40px" android:text="OK" />One lightweight way of do 阅读全文
posted @ 2012-02-17 18:04 higirle 阅读(141) 评论(0) 推荐(0) 编辑
摘要: Options->Typing and Language ->Language and Input method ->Display language. 阅读全文
posted @ 2012-02-17 12:55 higirle 阅读(234) 评论(0) 推荐(0) 编辑
摘要: http://swdownloads.blackberry.com/Downloads/contactFormPreload.do?code=DC727151E5D55DDE1E950767CF861CA5&dl=9C589A7D215D5454FB860AB26550B88D&check1=A# 阅读全文
posted @ 2012-02-17 12:47 higirle 阅读(220) 评论(0) 推荐(0) 编辑
摘要: 1.Java Sample Appshttp://docs.blackberry.com/en/developers/subcategories/?userType=21&category=Java+Sample+Apps2. Localization demohttp://docs.blackberry.com/en/developers/deliverables/33805/BlackBerry Java Application DevelopmentLocalization demo Sample Application OverviewTo view a complete li 阅读全文
posted @ 2012-02-17 09:35 higirle 阅读(161) 评论(0) 推荐(0) 编辑
摘要: Technical ResourcesFilter: Showing technical resources tagged with Sample:http://developer.android.com/resources/browser.html?tag=sampleHow to import sample Android projects to Eclipse For those beginners like me these are the steps we need to follow:1- In Eclipse->Window->Preferences->Andr 阅读全文
posted @ 2012-02-17 09:30 higirle 阅读(476) 评论(0) 推荐(0) 编辑
摘要: http://blog.boris-wach.de/permalink/61Localizing a Blackberry Java application IT-Stuff Add commentsNov 272011 IntroductionWhen writing an application you should consider localizing it. Especially when planning to roll it out in different coutries. The Blackberry OS supports this as a built in feat. 阅读全文
posted @ 2012-02-16 17:46 higirle 阅读(283) 评论(0) 推荐(0) 编辑
摘要: http://us.blackberry.com/devjournals/resources/journals/sep_2006/localization.jspLocalization is the process by which an application's user interface is adapted to meet the default language that is currently set on a BlackBerry® device. The concept of localization is becoming more important 阅读全文
posted @ 2012-02-16 17:45 higirle 阅读(491) 评论(0) 推荐(0) 编辑
摘要: 1. Localization:http://developer.android.com/guide/topics/resources/localization.html2. demo: http://developer.android.com/resources/tutorials/localization/index.html3. For testing, just need to set the Settings ->Language & keyBoard ->select language(the language is combined both the lang 阅读全文
posted @ 2012-02-16 15:09 higirle 阅读(210) 评论(0) 推荐(0) 编辑
上一页 1 ··· 10 11 12 13 14 15 16 17 18 ··· 44 下一页