tag:blogger.com,1999:blog-70156965279830331522023-05-03T11:57:45.389+03:00Я.JuniorDeveloperUnknownnoreply@blogger.comBlogger51125tag:blogger.com,1999:blog-7015696527983033152.post-27070039251154993952016-02-01T11:03:00.003+02:002016-02-01T11:03:37.844+02:00Radio Trek updated!<div dir="ltr" style="text-align: left;" trbidi="on">
<b style="background-color: white; color: #222222; font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: 13.2px; line-height: 18.48px;">Радио Трек</b><span style="background-color: white; color: #222222; font-family: "arial" , "tahoma" , "helvetica" , "freesans" , sans-serif; font-size: 13.2px; line-height: 18.48px;"> - Лучшая FM-радиостанция на Ровенщине (Украина) теперь доступна на Android. </span><br />
<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="http://1.bp.blogspot.com/-oTd-2hZ5h1g/Vq5expGFrII/AAAAAAAAMYI/d-YJITrQQcw/s1600/RadioTrek.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" height="351" src="http://1.bp.blogspot.com/-oTd-2hZ5h1g/Vq5expGFrII/AAAAAAAAMYI/d-YJITrQQcw/s400/RadioTrek.png" width="400" /></a></div>
<span style="background-color: white; color: #222222; font-family: arial, tahoma, helvetica, freesans, sans-serif; font-size: 13.2px; line-height: 18.48px;"><br /></span>
<span style="background-color: white; color: #222222; font-family: arial, tahoma, helvetica, freesans, sans-serif; font-size: 13.2px; line-height: 18.48px;">Изменен дизайн и добавлены новости.</span><br />
<div>
<div class="separator" style="clear: both; text-align: center;">
</div>
</div>
<div class="separator" style="clear: both; text-align: center;">
</div>
<div class="separator" style="clear: both; text-align: center;">
</div>
<a name='more'></a><div class="separator" style="clear: both; text-align: center;">
<a href="https://play.google.com/store/apps/details?id=com.FunFoxStudios.apps.RadioTrek&utm_source=global_co&utm_medium=prtnr&utm_content=Mar2515&utm_campaign=PartBadge&pcampaignid=MKT-Other-global-all-co-prtnr-py-PartBadge-Mar2515-1" style="clear: left; float: left; margin-bottom: 1em; margin-right: 1em; text-align: left;"><img alt="Get it on Google Play" height="59" src="https://play.google.com/intl/en_us/badges/images/generic/en-play-badge.png" width="200" /></a></div>
<div>
</div>
</div>
Unknownnoreply@blogger.com0tag:blogger.com,1999:blog-7015696527983033152.post-68141225689499630352015-09-26T00:00:00.000+03:002015-09-26T00:00:29.052+03:00Improving UX through performance<div dir="ltr" style="text-align: left;" trbidi="on">
<script async="" class="speakerdeck-embed" data-id="f8271adb0f47464ba69de969b1fd5366" data-ratio="1.77777777777778" src="//speakerdeck.com/assets/embed.js"></script>
</div>
Unknownnoreply@blogger.com0tag:blogger.com,1999:blog-7015696527983033152.post-83883849658510225122015-09-06T00:52:00.000+03:002015-09-06T00:52:36.622+03:00Permissions patterns<div dir="ltr" style="text-align: left;" trbidi="on">
Permission requests should be simple, transparent, and understandable. When requesting access, apps should ensure that either the feature itself or an explanation provided makes it clear why a permission is needed.<div class="separator" style="clear: both; text-align: center;">
<a href="https://material-design.storage.googleapis.com/publish/material_v_4/material_ext_publish/0Bzhp5Z4wHba3eDc0Zi1ZTlE5NjA/patterns_permissions_denied2.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" height="320" src="https://material-design.storage.googleapis.com/publish/material_v_4/material_ext_publish/0Bzhp5Z4wHba3eDc0Zi1ZTlE5NjA/patterns_permissions_denied2.png" width="180" /></a></div>
<span style="background-color: #fafafa; color: #212121; font-family: RobotoDraft, Roboto, sans-serif; font-size: 20px; line-height: 32px;"><br /></span>
<span style="background-color: #fafafa; font-size: 20px; line-height: 32px;"><span style="color: #212121; font-family: RobotoDraft, Roboto, sans-serif;"><a href="https://www.google.com/design/spec/patterns/permissions.html?utm_campaign=runtime-permissions-827&utm_source=dac&utm_medium=blog#">Permissions patterns</a></span></span></div>
Unknownnoreply@blogger.com1tag:blogger.com,1999:blog-7015696527983033152.post-42851114200647084852015-09-06T00:03:00.000+03:002015-09-06T00:03:24.793+03:00Why runtime permissions shouldn’t scare you<div dir="ltr" style="text-align: left;" trbidi="on">
<div class="separator" style="clear: both; text-align: center;">
<br /></div>
<span style="background-color: white; color: #404040; font-family: Roboto, arial, sans-serif; font-size: 13px; line-height: 18.2px;">Marshmallow introduced </span><b style="background-color: white; color: #404040; font-family: Roboto, arial, sans-serif; font-size: 13px; line-height: 18.2px;">Runtime Permissions</b><span style="background-color: white; color: #404040; font-family: Roboto, arial, sans-serif; font-size: 13px; line-height: 18.2px;">, and that seems to be all anyone is talking about this summer. But that’s because prompting for a long list of permissions at install can intimidate users, and that’s not good for anyone. So apps targeting Marshmallow now have to put these permission requests into a context, by asking for them when the user is trying to use the relevant feature.</span><br style="background-color: white; color: #404040; font-family: Roboto, arial, sans-serif; font-size: 13px; line-height: 18.2px;" /><br style="background-color: white; color: #404040; font-family: Roboto, arial, sans-serif; font-size: 13px; line-height: 18.2px;" /><span style="background-color: white; color: #404040; font-family: Roboto, arial, sans-serif; font-size: 13px; line-height: 18.2px;">As great as this is, I’m sure that you’ve thought to yourself “that’s okay, I just won’t update to Marshmallow until I have to.” Updating your app isn’t as daunting as you might think, though. You simply need add a few lines of code that build in checks and graceful failures. So here’s a handy guide to walk you through it.</span><br style="background-color: white; color: #404040; font-family: Roboto, arial, sans-serif; font-size: 13px; line-height: 18.2px;" /><br /><a href="http://4.bp.blogspot.com/-lYwsOvOFlbs/VeiYniSY-2I/AAAAAAAAG98/JdH1gf1aYm0/w917-h280-no/Screen%2BShot%2B2015-09-03%2Bat%2B11.54.48.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em; text-align: center;"><img border="0" height="121" src="https://4.bp.blogspot.com/-lYwsOvOFlbs/VeiYniSY-2I/AAAAAAAAG98/JdH1gf1aYm0/w917-h280-no/Screen%2BShot%2B2015-09-03%2Bat%2B11.54.48.png" width="400" /></a><br /><br style="background-color: white; color: #404040; font-family: Roboto, arial, sans-serif; font-size: 13px; line-height: 18.2px;" /><b style="background-color: white; color: #404040; font-family: Roboto, arial, sans-serif; font-size: 13px; line-height: 18.2px;">Step 1: check the platform</b><span style="background-color: white; color: #404040; font-family: Roboto, arial, sans-serif; font-size: 13px; line-height: 18.2px;">. If the device is running Lollipop or earlier, then the user granted permission at install time, and you’re good to go. But if the device is running Marshmallow, you can’t be so certain. Clever developers can use the support library, though, which will do this check for you. That’s one less line of code for you to add.</span><br style="background-color: white; color: #404040; font-family: Roboto, arial, sans-serif; font-size: 13px; line-height: 18.2px;" /><br />
<a name='more'></a><br style="background-color: white; color: #404040; font-family: Roboto, arial, sans-serif; font-size: 13px; line-height: 18.2px;" /><span style="background-color: white; color: #404040; font-family: Roboto, arial, sans-serif; font-size: 13px; line-height: 18.2px;">Which brings us to </span><b style="background-color: white; color: #404040; font-family: Roboto, arial, sans-serif; font-size: 13px; line-height: 18.2px;">step 2: check the permission status</b><span style="background-color: white; color: #404040; font-family: Roboto, arial, sans-serif; font-size: 13px; line-height: 18.2px;">. A simple call to</span><i style="background-color: white; color: #404040; font-family: Roboto, arial, sans-serif; font-size: 13px; line-height: 18.2px;">checkSelfPermission()</i><span style="background-color: white; color: #404040; font-family: Roboto, arial, sans-serif; font-size: 13px; line-height: 18.2px;"> (</span><a class="ot-anchor aaTEdf" dir="ltr" href="http://goo.gl/T7vE7b" jslog="10929; track:click" rel="nofollow" style="background-color: white; color: #427fed; cursor: pointer; font-family: Roboto, arial, sans-serif; font-size: 13px; line-height: 18.2px; text-decoration: none; transition: color 0.218s;" target="_blank">http://goo.gl/T7vE7b</a><span style="background-color: white; color: #404040; font-family: Roboto, arial, sans-serif; font-size: 13px; line-height: 18.2px;">) will let you know if the permission is currently granted. The only scary thing here is that you can’t rely on assumptions here, because even if the user granted the permission in the past, they may have revoked it later on. So with one conditional statement, you’ve completed step 2.</span><br style="background-color: white; color: #404040; font-family: Roboto, arial, sans-serif; font-size: 13px; line-height: 18.2px;" /><br style="background-color: white; color: #404040; font-family: Roboto, arial, sans-serif; font-size: 13px; line-height: 18.2px;" /><span style="background-color: white; color: #404040; font-family: Roboto, arial, sans-serif; font-size: 13px; line-height: 18.2px;">If you don’t have permission, you may need </span><b style="background-color: white; color: #404040; font-family: Roboto, arial, sans-serif; font-size: 13px; line-height: 18.2px;">step 3: explain the permission</b><span style="background-color: white; color: #404040; font-family: Roboto, arial, sans-serif; font-size: 13px; line-height: 18.2px;">. In some instances, you’ll want to update the UI to clarify what that permission enables and why the feature needs it. This can be as simple as a toast or as complex as the fanciest layout. The cool thing here is that you don’t need to figure out what those moments are. A call to </span><i style="background-color: white; color: #404040; font-family: Roboto, arial, sans-serif; font-size: 13px; line-height: 18.2px;">shouldShowRequestPermissionRationale()</i><span style="background-color: white; color: #404040; font-family: Roboto, arial, sans-serif; font-size: 13px; line-height: 18.2px;">(</span><a class="ot-anchor aaTEdf" dir="ltr" href="http://goo.gl/bFyfVj" jslog="10929; track:click" rel="nofollow" style="background-color: white; color: #427fed; cursor: pointer; font-family: Roboto, arial, sans-serif; font-size: 13px; line-height: 18.2px; text-decoration: none; transition: color 0.218s;" target="_blank">http://goo.gl/bFyfVj</a><span style="background-color: white; color: #404040; font-family: Roboto, arial, sans-serif; font-size: 13px; line-height: 18.2px;">) will indicate whether this is one of those clarifying moments. Easy enough, right?</span><br style="background-color: white; color: #404040; font-family: Roboto, arial, sans-serif; font-size: 13px; line-height: 18.2px;" /><br style="background-color: white; color: #404040; font-family: Roboto, arial, sans-serif; font-size: 13px; line-height: 18.2px;" /><span style="background-color: white; color: #404040; font-family: Roboto, arial, sans-serif; font-size: 13px; line-height: 18.2px;">And now, the heart of it-- </span><b style="background-color: white; color: #404040; font-family: Roboto, arial, sans-serif; font-size: 13px; line-height: 18.2px;">step 4: request the permission</b><span style="background-color: white; color: #404040; font-family: Roboto, arial, sans-serif; font-size: 13px; line-height: 18.2px;">. The </span><i style="background-color: white; color: #404040; font-family: Roboto, arial, sans-serif; font-size: 13px; line-height: 18.2px;">requestPermissions()</i><span style="background-color: white; color: #404040; font-family: Roboto, arial, sans-serif; font-size: 13px; line-height: 18.2px;">(</span><a class="ot-anchor aaTEdf" dir="ltr" href="http://goo.gl/yNuizg" jslog="10929; track:click" rel="nofollow" style="background-color: white; color: #427fed; cursor: pointer; font-family: Roboto, arial, sans-serif; font-size: 13px; line-height: 18.2px; text-decoration: none; transition: color 0.218s;" target="_blank">http://goo.gl/yNuizg</a><span style="background-color: white; color: #404040; font-family: Roboto, arial, sans-serif; font-size: 13px; line-height: 18.2px;">) method will prompt a dialog to the user to get their answer and then trigger your </span><i style="background-color: white; color: #404040; font-family: Roboto, arial, sans-serif; font-size: 13px; line-height: 18.2px;">onRequestPermissionResult()</i><span style="background-color: white; color: #404040; font-family: Roboto, arial, sans-serif; font-size: 13px; line-height: 18.2px;"> callback to handle the response. This is only two lines of code to add. One to make the call, and one to declare the request code, which is indicative of where the user is in your app and what they are trying to do.</span><br style="background-color: white; color: #404040; font-family: Roboto, arial, sans-serif; font-size: 13px; line-height: 18.2px;" /><br style="background-color: white; color: #404040; font-family: Roboto, arial, sans-serif; font-size: 13px; line-height: 18.2px;" /><span style="background-color: white; color: #404040; font-family: Roboto, arial, sans-serif; font-size: 13px; line-height: 18.2px;">Finally, </span><b style="background-color: white; color: #404040; font-family: Roboto, arial, sans-serif; font-size: 13px; line-height: 18.2px;">step 5: handle the response</b><span style="background-color: white; color: #404040; font-family: Roboto, arial, sans-serif; font-size: 13px; line-height: 18.2px;">. Here is your biggest change, and all it is is overwriting your callback with a switch statement based on that request code. Your request code will help you restore the app to the right state if the permission has been granted. If the user rejected the request, though, you’ll need to update the UI to disable the feature or indicate that it won’t be available without the permission.</span><br style="background-color: white; color: #404040; font-family: Roboto, arial, sans-serif; font-size: 13px; line-height: 18.2px;" /><br style="background-color: white; color: #404040; font-family: Roboto, arial, sans-serif; font-size: 13px; line-height: 18.2px;" /><span style="background-color: white; color: #404040; font-family: Roboto, arial, sans-serif; font-size: 13px; line-height: 18.2px;">So, you see, it isn’t so scary to add support for runtime permissions. Take a crack at it and </span><a class="ot-hashtag aaTEdf" href="https://plus.google.com/s/%23BuildBetterApps" rel="nofollow" style="background-color: white; color: #427fed; cursor: pointer; font-family: Roboto, arial, sans-serif; font-size: 13px; font-weight: bold; line-height: 18.2px; text-decoration: none; transition: color 0.218s;">#BuildBetterApps</a><span style="background-color: white; color: #404040; font-family: Roboto, arial, sans-serif; font-size: 13px; line-height: 18.2px;"> ! And if you want some more context and implementation guidelines, check out the blog post from last week (</span><a class="ot-anchor aaTEdf" dir="ltr" href="http://goo.gl/JMnKQw" jslog="10929; track:click" rel="nofollow" style="background-color: white; color: #427fed; cursor: pointer; font-family: Roboto, arial, sans-serif; font-size: 13px; line-height: 18.2px; text-decoration: none; transition: color 0.218s;" target="_blank">http://goo.gl/JMnKQw</a><span style="background-color: white; color: #404040; font-family: Roboto, arial, sans-serif; font-size: 13px; line-height: 18.2px;">).</span><br />
<span style="background-color: white; color: #404040; font-family: Roboto, arial, sans-serif; font-size: 13px; line-height: 18.2px;"><br /></span>
<a href="https://plus.google.com/+AndroidDevelopers/posts/FqgHUevqHiK">https://plus.google.com/+AndroidDevelopers/posts/FqgHUevqHiK</a></div>
Unknownnoreply@blogger.com0tag:blogger.com,1999:blog-7015696527983033152.post-20873272205602757612015-09-04T10:53:00.002+03:002015-09-04T10:55:18.396+03:00Radio Trek на Google Play<div dir="ltr" style="text-align: left;" trbidi="on">
Запаблишил свою новую програму на <a href="https://play.google.com/store/apps/details?id=com.FunFoxStudios.apps.RadioTrek" target="_blank">Google Play</a>.<br />
<br />
<b>Радио Трек</b> - Лучшая FM-радиостанция на Ровенщине теперь доступна на Android.<br />
<br />
<div>
<div class="separator" style="clear: both; text-align: center;">
<a href="http://2.bp.blogspot.com/-5tWQRacy2EQ/VeizvIqE_PI/AAAAAAAALEY/gAILDQF1UXE/s1600/RadioTrek_01.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" height="320" src="http://2.bp.blogspot.com/-5tWQRacy2EQ/VeizvIqE_PI/AAAAAAAALEY/gAILDQF1UXE/s320/RadioTrek_01.png" width="182" /></a></div>
</div>
<div class="separator" style="clear: both; text-align: center;">
</div>
<div class="separator" style="clear: both; text-align: center;">
</div>
<a name='more'></a><br />
<div class="separator" style="clear: both; text-align: center;">
<br /></div>
<div class="separator" style="clear: both;">
<a href="https://play.google.com/store/apps/details?id=com.FunFoxStudios.apps.RadioTrek" style="clear: left; display: inline !important; margin-bottom: 1em; margin-right: 1em;"><img alt="Android app on Google Play" src="http://developer.android.com/images/brand/en_generic_rgb_wo_60.png" /></a></div>
</div>
Unknownnoreply@blogger.com0tag:blogger.com,1999:blog-7015696527983033152.post-11115492018766004992015-08-18T11:49:00.001+03:002015-11-23T22:16:06.427+02:00Google Testing Blog: Test Sizes<div dir="ltr" style="text-align: left;" trbidi="on">
<a href="http://googletesting.blogspot.com/2010/12/test-sizes.html?spref=bl">Google Testing Blog: Test Sizes</a>: by Simon Stewart What do you call a test that tests your application through its UI? An end-to-end test? A functional test?<br />
<br />
<span style="background-color: white; font-family: Arial; font-size: 14.6667px; line-height: 20.5333px; white-space: pre-wrap;">Googlers like to make decisions based on data, rather than just relying on gut instinct or something that can’t be measured and assessed. Over time we’ve come to agree on a set of data-driven naming conventions for our tests. We call them “Small”, “Medium” and “Large” tests. They differ like so:</span><br />
<br />
<table id="internal-source-marker_0.4822195773012936" style="background-color: white; border-collapse: collapse; border: none; color: #444444; font-family: 'Times New Roman'; line-height: 22.4px;"><tbody>
<tr style="height: 0px;"><td style="border: 1px dotted rgb(170, 170, 170); padding: 7px; vertical-align: top;"><span style="background-color: transparent; color: black; font-family: Arial; font-size: 11pt; font-weight: bold; vertical-align: baseline; white-space: pre-wrap;">Feature</span></td><td style="border: 1px dotted rgb(170, 170, 170); padding: 7px; vertical-align: top;"><span style="background-color: transparent; color: black; font-family: Arial; font-size: 11pt; font-weight: bold; vertical-align: baseline; white-space: pre-wrap;">Small</span></td><td style="border: 1px dotted rgb(170, 170, 170); padding: 7px; vertical-align: top;"><span style="background-color: transparent; color: black; font-family: Arial; font-size: 11pt; font-weight: bold; vertical-align: baseline; white-space: pre-wrap;">Medium</span></td><td style="border: 1px dotted rgb(170, 170, 170); padding: 7px; vertical-align: top;"><span style="background-color: transparent; color: black; font-family: Arial; font-size: 11pt; font-weight: bold; vertical-align: baseline; white-space: pre-wrap;">Large</span><span style="background-color: transparent; color: black; font-family: Arial; font-size: 11pt; vertical-align: baseline; white-space: pre-wrap;"></span></td></tr>
<tr style="height: 32px;"><td style="border: 1px dotted rgb(170, 170, 170); padding: 7px; vertical-align: top;"><span style="background-color: transparent; color: black; font-family: Arial; font-size: 11pt; vertical-align: baseline; white-space: pre-wrap;">Network access</span></td><td style="background-color: #ff6666; border: 1px dotted rgb(170, 170, 170); padding: 7px; vertical-align: top;"><span style="background-color: transparent; color: black; font-family: Arial; font-size: 11pt; vertical-align: baseline; white-space: pre-wrap;">No</span><span style="background-color: transparent; color: #d9ead3; font-family: Arial; font-size: 11pt; vertical-align: baseline; white-space: pre-wrap;"></span></td><td style="background-color: #ffcc99; border: 1px dotted rgb(170, 170, 170); padding: 7px; vertical-align: top;"><span style="background-color: transparent; color: black; font-family: Arial; font-size: 11pt; vertical-align: baseline; white-space: pre-wrap;">localhost only</span></td><td style="background-color: #99ff99; border: 1px dotted rgb(170, 170, 170); padding: 7px; vertical-align: top;"><span style="background-color: transparent; color: black; font-family: Arial; font-size: 11pt; vertical-align: baseline; white-space: pre-wrap;">Yes</span></td></tr>
<tr style="height: 0px;"><td style="border: 1px dotted rgb(170, 170, 170); padding: 7px; vertical-align: top;"><span style="background-color: transparent; color: black; font-family: Arial; font-size: 11pt; vertical-align: baseline; white-space: pre-wrap;">Database</span></td><td style="background-color: #ff6666; border: 1px dotted rgb(170, 170, 170); padding: 7px; vertical-align: top;"><span style="background-color: transparent; color: black; font-family: Arial; font-size: 11pt; vertical-align: baseline; white-space: pre-wrap;">No</span></td><td style="background-color: #99ff99; border: 1px dotted rgb(170, 170, 170); padding: 7px; vertical-align: top;"><span style="background-color: transparent; color: black; font-family: Arial; font-size: 11pt; vertical-align: baseline; white-space: pre-wrap;">Yes</span></td><td style="background-color: #99ff99; border: 1px dotted rgb(170, 170, 170); padding: 7px; vertical-align: top;"><span style="background-color: transparent; color: black; font-family: Arial; font-size: 11pt; vertical-align: baseline; white-space: pre-wrap;">Yes</span></td></tr>
<tr style="height: 0px;"><td style="border: 1px dotted rgb(170, 170, 170); padding: 7px; vertical-align: top;"><span style="background-color: transparent; color: black; font-family: Arial; font-size: 11pt; vertical-align: baseline; white-space: pre-wrap;">File system access</span></td><td style="background-color: #ff6666; border: 1px dotted rgb(170, 170, 170); padding: 7px; vertical-align: top;"><span style="background-color: transparent; color: black; font-family: Arial; font-size: 11pt; vertical-align: baseline; white-space: pre-wrap;">No</span></td><td style="background-color: #99ff99; border: 1px dotted rgb(170, 170, 170); padding: 7px; vertical-align: top;"><span style="background-color: transparent; color: black; font-family: Arial; font-size: 11pt; vertical-align: baseline; white-space: pre-wrap;">Yes</span></td><td style="background-color: #99ff99; border: 1px dotted rgb(170, 170, 170); padding: 7px; vertical-align: top;"><span style="background-color: transparent; color: black; font-family: Arial; font-size: 11pt; vertical-align: baseline; white-space: pre-wrap;">Yes</span></td></tr>
<tr style="height: 0px;"><td style="border: 1px dotted rgb(170, 170, 170); padding: 7px; vertical-align: top;"><span style="background-color: transparent; color: black; font-family: Arial; font-size: 11pt; vertical-align: baseline; white-space: pre-wrap;">Use external systems</span></td><td style="background-color: #ff6666; border: 1px dotted rgb(170, 170, 170); padding: 7px; vertical-align: top;"><span style="background-color: transparent; color: black; font-family: Arial; font-size: 11pt; vertical-align: baseline; white-space: pre-wrap;">No</span></td><td style="background-color: #ffcc99; border: 1px dotted rgb(170, 170, 170); padding: 7px; vertical-align: top;"><span style="background-color: transparent; color: black; font-family: Arial; font-size: 11pt; vertical-align: baseline; white-space: pre-wrap;">Discouraged</span></td><td style="background-color: #99ff99; border: 1px dotted rgb(170, 170, 170); padding: 7px; vertical-align: top;"><span style="background-color: transparent; color: black; font-family: Arial; font-size: 11pt; vertical-align: baseline; white-space: pre-wrap;">Yes</span></td></tr>
<tr style="height: 0px;"><td style="border: 1px dotted rgb(170, 170, 170); padding: 7px; vertical-align: top;"><span style="background-color: transparent; color: black; font-family: Arial; font-size: 11pt; vertical-align: baseline; white-space: pre-wrap;">Multiple threads</span></td><td style="background-color: #ff6666; border: 1px dotted rgb(170, 170, 170); padding: 7px; vertical-align: top;"><span style="background-color: transparent; color: black; font-family: Arial; font-size: 11pt; vertical-align: baseline; white-space: pre-wrap;">No</span></td><td style="background-color: #99ff99; border: 1px dotted rgb(170, 170, 170); padding: 7px; vertical-align: top;"><span style="background-color: transparent; color: black; font-family: Arial; font-size: 11pt; vertical-align: baseline; white-space: pre-wrap;">Yes</span></td><td style="background-color: #99ff99; border: 1px dotted rgb(170, 170, 170); padding: 7px; vertical-align: top;"><span style="background-color: transparent; color: black; font-family: Arial; font-size: 11pt; vertical-align: baseline; white-space: pre-wrap;">Yes</span></td></tr>
<tr style="height: 0px;"><td style="border: 1px dotted rgb(170, 170, 170); padding: 7px; vertical-align: top;"><span style="background-color: transparent; color: black; font-family: Arial; font-size: 11pt; vertical-align: baseline; white-space: pre-wrap;">Sleep statements</span></td><td style="background-color: #ff6666; border: 1px dotted rgb(170, 170, 170); padding: 7px; vertical-align: top;"><span style="background-color: transparent; color: black; font-family: Arial; font-size: 11pt; vertical-align: baseline; white-space: pre-wrap;">No</span></td><td style="background-color: #99ff99; border: 1px dotted rgb(170, 170, 170); padding: 7px; vertical-align: top;"><span style="background-color: transparent; color: black; font-family: Arial; font-size: 11pt; vertical-align: baseline; white-space: pre-wrap;">Yes</span></td><td style="background-color: #99ff99; border: 1px dotted rgb(170, 170, 170); padding: 7px; vertical-align: top;"><span style="background-color: transparent; color: black; font-family: Arial; font-size: 11pt; vertical-align: baseline; white-space: pre-wrap;">Yes</span></td></tr>
<tr style="height: 0px;"><td style="border: 1px dotted rgb(170, 170, 170); padding: 7px; vertical-align: top;"><span style="background-color: transparent; color: black; font-family: Arial; font-size: 11pt; vertical-align: baseline; white-space: pre-wrap;">System properties</span></td><td style="background-color: #ff6666; border: 1px dotted rgb(170, 170, 170); padding: 7px; vertical-align: top;"><span style="background-color: transparent; color: black; font-family: Arial; font-size: 11pt; vertical-align: baseline; white-space: pre-wrap;">No</span></td><td style="background-color: #99ff99; border: 1px dotted rgb(170, 170, 170); padding: 7px; vertical-align: top;"><span style="background-color: transparent; color: black; font-family: Arial; font-size: 11pt; vertical-align: baseline; white-space: pre-wrap;">Yes</span></td><td style="background-color: #99ff99; border: 1px dotted rgb(170, 170, 170); padding: 7px; vertical-align: top;"><span style="background-color: transparent; color: black; font-family: Arial; font-size: 11pt; vertical-align: baseline; white-space: pre-wrap;">Yes</span></td></tr>
<tr style="height: 0px;"><td style="border: 1px dotted rgb(170, 170, 170); padding: 7px; vertical-align: top;"><span style="background-color: transparent; color: black; font-family: Arial; font-size: 11pt; vertical-align: baseline; white-space: pre-wrap;">Time limit (seconds)</span></td><td style="border: 1px dotted rgb(170, 170, 170); padding: 7px; vertical-align: top;"><span style="background-color: transparent; color: black; font-family: Arial; font-size: 11pt; vertical-align: baseline; white-space: pre-wrap;">60</span></td><td style="border: 1px dotted rgb(170, 170, 170); padding: 7px; vertical-align: top;"><span style="background-color: transparent; color: black; font-family: Arial; font-size: 11pt; vertical-align: baseline; white-space: pre-wrap;">300</span></td><td style="border: 1px dotted rgb(170, 170, 170); padding: 7px; vertical-align: top;"><span style="background-color: transparent; color: black; font-family: Arial; font-size: 11pt; vertical-align: baseline; white-space: pre-wrap;">900+</span></td></tr>
</tbody></table>
</div>
Unknownnoreply@blogger.com0tag:blogger.com,1999:blog-7015696527983033152.post-34946013463963492712015-08-04T10:27:00.006+03:002015-08-04T10:27:59.741+03:00FlatBuffers<div dir="ltr" style="text-align: left;" trbidi="on">
<div style="font-family: roboto, sans-serif;">
<b>FlatBuffers </b>is an efficient cross platform serialization library for C++, with support for Java, C# and Go. It was created at Google specifically for game development and other performance-critical applications.</div>
<div style="font-family: roboto, sans-serif;">
<br /></div>
<div class="separator" style="clear: both; text-align: center;">
<iframe width="320" height="266" class="YOUTUBE-iframe-video" data-thumbnail-src="https://i.ytimg.com/vi/iQTxMkSJ1dQ/0.jpg" src="https://www.youtube.com/embed/iQTxMkSJ1dQ?feature=player_embedded" frameborder="0" allowfullscreen></iframe></div>
<div style="font-family: roboto, sans-serif;">
<br /></div>
<div style="font-family: roboto, sans-serif;">
<br /></div>
<div style="font-family: roboto, sans-serif;">
It is available as Open Source on <a href="http://github.com/google/flatbuffers" style="color: #0288d1; text-decoration: none;">GitHub</a> under the Apache license, v2 (see LICENSE.txt).</div>
<div style="font-family: roboto, sans-serif;">
</div>
<a name='more'></a><br />
<h2 style="border-bottom-color: rgb(235, 235, 235); border-bottom-style: solid; border-bottom-width: 1px; color: #212121; font-family: Roboto, sans-serif; font-size: 23px; font-stretch: normal; font-weight: 400; letter-spacing: -0.01em; line-height: 32px; margin: 40px 0px 20px; padding-bottom: 3px;">
Why use FlatBuffers?</h2>
<ul style="font-family: roboto, sans-serif; list-style-position: outside; margin: 0px; padding-left: 40px;">
<li style="margin: 8px 0px; padding: 0px;"><b>Access to serialized data without parsing/unpacking</b> - What sets FlatBuffers apart is that it represents hierarchical data in a flat binary buffer in such a way that it can still be accessed directly without parsing/unpacking, while also still supporting data structure evolution (forwards/backwards compatibility).</li>
<li style="margin: 8px 0px; padding: 0px;"><b>Memory efficiency and speed</b> - The only memory needed to access your data is that of the buffer. It requires 0 additional allocations. FlatBuffers is also very suitable for use with mmap (or streaming), requiring only part of the buffer to be in memory. Access is close to the speed of raw struct access with only one extra indirection (a kind of vtable) to allow for format evolution and optional fields. It is aimed at projects where spending time and space (many memory allocations) to be able to access or construct serialized data is undesirable, such as in games or any other performance sensitive applications. See the <a href="http://google.github.io/flatbuffers/md__benchmarks.html" style="color: #0288d1; text-decoration: none;">benchmarks</a> for details.</li>
<li style="margin: 8px 0px; padding: 0px;"><b>Flexible</b> - Optional fields means not only do you get great forwards and backwards compatibility (increasingly important for long-lived games: don't have to update all data with each new version!). It also means you have a lot of choice in what data you write and what data you don't, and how you design data structures.</li>
<li style="margin: 8px 0px; padding: 0px;"><b>Tiny code footprint</b> - Small amounts of generated code, and just a single small header as the minimum dependency, which is very easy to integrate. Again, see the benchmark section for details.</li>
<li style="margin: 8px 0px; padding: 0px;"><b>Strongly typed</b> - Errors happen at compile time rather than manually having to write repetitive and error prone run-time checks. Useful code can be generated for you.</li>
<li style="margin: 8px 0px; padding: 0px;"><div class="startli" style="margin-bottom: 8px; margin-top: 8px; padding: 0px;">
<b>Convenient to use</b> - Generated C++ code allows for terse access & construction code. Then there's optional functionality for parsing schemas and JSON-like text representations at runtime efficiently if needed (faster and more memory efficient than other JSON parsers).</div>
<div class="startli" style="margin-bottom: 8px; margin-top: 8px; padding: 0px;">
Java and Go code supports object-reuse.</div>
</li>
<li style="margin: 8px 0px; padding: 0px;"><b>Cross platform C++11/Java/C#/Go code with no dependencies</b> - will work with any recent gcc/clang and VS2010. Comes with build files for the tests & samples (Android .mk files, and cmake for all other platforms).</li>
</ul>
<div>
<span style="font-family: roboto, sans-serif;"><a href="http://google.github.io/flatbuffers/">more..</a></span></div>
</div>
Unknownnoreply@blogger.com0tag:blogger.com,1999:blog-7015696527983033152.post-51492170347651453252014-11-12T10:55:00.001+02:002014-11-12T10:55:26.513+02:00AppCompat v21 — Material Design for Pre-Lollipop Devices!<br />Material Design Everywhere: Using AppCompat 21<br /><br /><a href="http://android-developers.blogspot.com/2014/10/appcompat-v21-material-design-for-pre.html">AppCompat v21 — Material Design for Pre-Lollipop Devices! | Android Developers Blog</a>Unknownnoreply@blogger.com0tag:blogger.com,1999:blog-7015696527983033152.post-52840463188292307052013-09-14T00:15:00.000+03:002013-09-14T00:15:18.669+03:00Up 2 The Stars on Google Play!<div dir="ltr" style="text-align: left;" trbidi="on">
<div dir="ltr" trbidi="on">
<div>
Моя новая игра на Google Play!</div>
<div>
<br /></div>
<div class="separator" style="clear: both;">
<a href="http://4.bp.blogspot.com/-yq-IBTzSjZI/UjNnT4EupTI/AAAAAAAAA-Y/-PArbeSS5Rs/s1600/promo.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" height="195" src="http://4.bp.blogspot.com/-yq-IBTzSjZI/UjNnT4EupTI/AAAAAAAAA-Y/-PArbeSS5Rs/s400/promo.png" width="400" /></a></div>
<div>
<br /></div>
<div>
<br /></div>
Up 2 The Stars is an action game for phone and tablets.<br />
<br />
The game sees players in the role of Scrooge.<br />
The main hero saw as aliens stole his bank and going for a pursuit for them on the balloon (aerostat).<br />
<br />
Game mission:<br />
Pickup more coins as possible what was scattered from the bank.<br />
<br />
Obstacles:<br />
thunderclouds and missiles<br />
<br />
******************************************************************<br />
The game is tested and optimized for Android phones and tablets.<br />
<br />
******************************************************************</div>
<div class="separator" style="clear: both;">
<a href="http://play.google.com/store/apps/details?id=com.FunFoxStudios.UpToTheStars" style="clear: left; display: inline !important; margin-bottom: 1em; margin-right: 1em;"><img alt="Android app on Google Play" src="http://developer.android.com/images/brand/en_generic_rgb_wo_60.png" /></a> </div>
<div class="separator" style="clear: both;">
<br /></div>
p.s. If you have some ideas how to make this game more better - feel free to give us a feedback in comments or email.</div>
Unknownnoreply@blogger.com0tag:blogger.com,1999:blog-7015696527983033152.post-3579959857293298672012-12-07T22:44:00.000+02:002013-09-03T20:18:39.723+03:00Игра "Играем в снежки HD" получила Новогоднее обновление!<div dir="ltr" style="text-align: left;" trbidi="on">
Игра "<b>Играем в снежки HD</b>" (<span class="GRcorrect" grcontextid="SnowBall:0" grmarkguid="77603d7b-08fe-4567-9e8f-596d28bfb85f" gruiphraseguid="2fb1c2e9-29ea-4a62-a060-f39d4708906e">SnowBall</span> Fight Winter Game HD) получила Новогоднее обновление!<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="http://3.bp.blogspot.com/-CaYcUCO98NM/UMJQOAKGHUI/AAAAAAAAAwE/r_vwsJ7ViDc/s1600/promo.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" height="195" src="http://3.bp.blogspot.com/-CaYcUCO98NM/UMJQOAKGHUI/AAAAAAAAAwE/r_vwsJ7ViDc/s400/promo.png" width="400" /></a></div>
<div class="" style="clear: both; text-align: justify;">
Добавлено:</div>
<div class="separator" style="clear: both; text-align: justify;">
- 5 новых локаций виртуального города</div>
<div class="" style="clear: both; text-align: justify;">
- Новогодняя ёлка<br />
<br /></div>
Играйте в снежки и получайте украшения к Новогодней <span style="text-align: justify;">ёлке</span><br />
<span style="text-align: justify;"><br /></span>
<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="http://4.bp.blogspot.com/-woOyeNUF1Gs/UMJQQ6EQ-SI/AAAAAAAAAwM/Hu7jBdj4lPA/s1600/SnowBall+Fight+HD+1.2.0_5.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" height="240" src="http://4.bp.blogspot.com/-woOyeNUF1Gs/UMJQQ6EQ-SI/AAAAAAAAAwM/Hu7jBdj4lPA/s400/SnowBall+Fight+HD+1.2.0_5.png" width="400" /></a></div>
<div class="separator" style="clear: both; text-align: center;">
<br /></div>
<div class="separator" style="clear: both; text-align: center;">
<a href="http://3.bp.blogspot.com/-V5j4gyL49J4/UMJQUDlGQMI/AAAAAAAAAwU/F9xO8iZoOcI/s1600/SnowBall+Fight+HD+1.2.0_3.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" height="240" src="http://3.bp.blogspot.com/-V5j4gyL49J4/UMJQUDlGQMI/AAAAAAAAAwU/F9xO8iZoOcI/s400/SnowBall+Fight+HD+1.2.0_3.png" width="400" /></a></div>
<div class="separator" style="clear: both; text-align: justify;">
<br /></div>
<div class="separator" style="clear: both; text-align: justify;">
Игра оптимизирована под Android телефоны и планшеты!</div>
<div class="separator" style="clear: both; text-align: justify;">
Хотите нам что-то сказать - пишите <a href="mailto:fun.fox.studios@gmail.com" target="_blank">email</a> или оставляйте комментарии :)</div>
<div class="separator" style="clear: both; text-align: center;">
<br /></div>
<span style="font-weight: bold;"><span class="GRcorrect" grphrase="52df70791f6cbe018453d30da94432e99c46d4f9" grtype="null" id="GRmark_52df70791f6cbe018453d30da94432e99c46d4f9_SnowBall:0">SnowBall</span> Fight Winter Game HD</span><br />
<span style="font-weight: bold;"><br /></span>
<a href="http://slideme.org/application/snowballs-fight-winter-game-hd">
<img alt="Android app on Google Play" src="http://developer.android.com/images/brand/en_generic_rgb_wo_60.png" />
</a>
<span style="text-align: justify;"><br /></span>
<span style="text-align: justify;"><br /></span></div>
Unknownnoreply@blogger.com2tag:blogger.com,1999:blog-7015696527983033152.post-66030361865859465092012-11-18T02:43:00.000+02:002012-11-18T12:24:08.959+02:00Моя новая Android игра SnowBall Fight Winter Game HD<div dir="ltr" style="text-align: left;" trbidi="on">
<span style="background-color: white; color: #666666; font-family: 'Droid Sans', Arial, sans-serif; font-size: 13px; line-height: 19.5px;"><span class="GingerNoCheckStart"></span><span class="GingerNoCheckStart"></span>Winter Holidays are coming and it's time to remember snow, warm winter hats, gloves and snowball fight game!</span><br />
<span style="background-color: white; color: #666666; font-family: 'Droid Sans', Arial, sans-serif; font-size: 13px; line-height: 19.5px;"><br /></span>
<div class="separator" style="clear: both; text-align: center;">
<a href="http://1.bp.blogspot.com/-M1VoSgfqvzQ/UKi2_c45BHI/AAAAAAAAAt0/w3cN-eYJhgg/s1600/promo.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" height="156" src="http://1.bp.blogspot.com/-M1VoSgfqvzQ/UKi2_c45BHI/AAAAAAAAAt0/w3cN-eYJhgg/s320/promo.png" width="320" /></a></div>
<div class="separator" style="clear: both; text-align: center;">
<br /></div>
<span style="background-color: white; color: #666666; font-family: 'Droid Sans', Arial, sans-serif; font-size: 13px; line-height: 19.5px;">"</span><span class="GRcorrect" grphrase="75cec712b6f88efc74230444161fcc6046e6806b" grtype="null" id="GRmark_75cec712b6f88efc74230444161fcc6046e6806b_SnowBall:0" style="background-color: white; color: #666666; font-family: 'Droid Sans', Arial, sans-serif; font-size: 13px; line-height: 19.5px;">SnowBall</span><span style="background-color: white; color: #666666; font-family: 'Droid Sans', Arial, sans-serif; font-size: 13px; line-height: 19.5px;"> Fight Winter Game HD" - easy to play, FUN and PERFECT GAME to kill some boring time.</span><br />
<span style="background-color: white; color: #666666; font-family: 'Droid Sans', Arial, sans-serif; font-size: 13px; line-height: 19.5px;"><br /></span>
<div class="separator" style="clear: both; text-align: center;">
<a href="http://1.bp.blogspot.com/-YDKHBEQTTDE/UKiuwxXE-4I/AAAAAAAAAs8/DT__hd_hi_8/s1600/SnowBall+Fight+Winter+Game+HD+01.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" height="200" src="http://1.bp.blogspot.com/-YDKHBEQTTDE/UKiuwxXE-4I/AAAAAAAAAs8/DT__hd_hi_8/s320/SnowBall+Fight+Winter+Game+HD+01.png" width="320" /></a></div>
<div class="separator" style="clear: both; text-align: center;">
<br /></div>
<div class="separator" style="clear: both; text-align: center;">
<a href="http://2.bp.blogspot.com/-2pzqa55Mxlg/UKiuyhUZFOI/AAAAAAAAAtE/KkXZrZKZ5SE/s1600/SnowBall+Fight+Winter+Game+HD+02.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" height="200" src="http://2.bp.blogspot.com/-2pzqa55Mxlg/UKiuyhUZFOI/AAAAAAAAAtE/KkXZrZKZ5SE/s320/SnowBall+Fight+Winter+Game+HD+02.png" width="320" /></a></div>
<span style="background-color: white; color: #666666; font-family: 'Droid Sans', Arial, sans-serif; font-size: 13px; line-height: 19.5px;"><br /></span>
<span style="background-color: white; color: #666666; font-family: 'Droid Sans', Arial, sans-serif; font-size: 13px; line-height: 19.5px;">Description - All like in real game :)</span><br />
<div style="background-color: white; border: 0px; color: #666666; font-family: 'Droid Sans', Arial, sans-serif; font-size: 13px; line-height: 19.5px; padding: 0px 0px 1em;">
<br />
<br />
<a name='more'></a><br /><br />
<div class="separator" style="clear: both; text-align: center;">
<a href="http://2.bp.blogspot.com/-ssLG4oaxf24/UKiu0zYK0OI/AAAAAAAAAtM/VYxhVl_bFH0/s1600/SnowBall+Fight+Winter+Game+HD+03.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" height="200" src="http://2.bp.blogspot.com/-ssLG4oaxf24/UKiu0zYK0OI/AAAAAAAAAtM/VYxhVl_bFH0/s320/SnowBall+Fight+Winter+Game+HD+03.png" width="320" /></a></div>
<br />
<div class="separator" style="clear: both; text-align: center;">
</div>
<div class="separator" style="clear: both; text-align: center;">
<a href="http://1.bp.blogspot.com/-990oRHWB-2g/UKiu34BeWGI/AAAAAAAAAtU/ERqXJqfQ_O0/s1600/SnowBall+Fight+Winter+Game+HD+04.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" height="200" src="http://1.bp.blogspot.com/-990oRHWB-2g/UKiu34BeWGI/AAAAAAAAAtU/ERqXJqfQ_O0/s320/SnowBall+Fight+Winter+Game+HD+04.png" width="320" /></a></div>
Some tips:</div>
<div style="background-color: white; border: 0px; padding: 0px 0px 1em;">
<div style="color: #666666; font-family: 'Droid Sans', Arial, sans-serif; font-size: 13px; line-height: 19.5px;">
Tap on screen to bombard the other boys</div>
<div style="color: #666666; font-family: 'Droid Sans', Arial, sans-serif; font-size: 13px; line-height: 19.5px;">
You can defend himself catching <span class="GRcorrect" grphrase="cbaf7ebcab6c5ebc177bd57f08abfe5d19f55b9a" grtype="null" id="GRmark_cbaf7ebcab6c5ebc177bd57f08abfe5d19f55b9a_snowball:0">snowball</span> in the air</div>
<div style="color: #666666; font-family: 'Droid Sans', Arial, sans-serif; font-size: 13px; line-height: 19.5px;">
For more snowballs you can pick up heap-gift<br />
MultiTouch support ;)</div>
<span style="color: #666666; font-family: 'Droid Sans', Arial, sans-serif; font-size: 13px; line-height: 19.5px;"><br /></span>
<span style="color: #666666; font-family: 'Droid Sans', Arial, sans-serif; font-size: 13px; line-height: 19.5px;">If You love to play SNOWBALL FIGHT - Download "</span><span class="GRcorrect" grphrase="6f6d304fa41dbab1ca67f46834f0ad6634c57668" grtype="null" id="GRmark_6f6d304fa41dbab1ca67f46834f0ad6634c57668_SnowBall:0" style="background-color: white; color: #666666; font-family: 'Droid Sans', Arial, sans-serif; font-size: 13px; line-height: 19.5px;">SnowBall</span><span style="color: #666666; font-family: 'Droid Sans', Arial, sans-serif; font-size: 13px; line-height: 19.5px;"> Fight Winter Game HD" Now!</span></div>
<div class="separator" style="clear: both; text-align: center;">
</div>
<span style="background-color: white; color: #666666; font-family: 'Droid Sans', Arial, sans-serif; font-size: 13px; line-height: 19.5px;">Have fun!</span><br />
<span style="background-color: white; color: #666666; font-family: 'Droid Sans', Arial, sans-serif; font-size: 13px; line-height: 19.5px;"><br /></span>
<span style="font-weight: bold;"><span class="GRcorrect" grphrase="52df70791f6cbe018453d30da94432e99c46d4f9" grtype="null" id="GRmark_52df70791f6cbe018453d30da94432e99c46d4f9_SnowBall:0">SnowBall</span> Fight Winter Game HD</span><br />
<span style="font-weight: bold;"><br /></span>
<a href="http://play.google.com/store/apps/details?id=com.FunFoxStudios.WinterGames.Snowballs.HD">
<img alt="Android app on Google Play" src="http://developer.android.com/images/brand/en_generic_rgb_wo_60.png" />
</a>
<br />
<div style="background-color: white; border: 0px; color: #666666; font-family: 'Droid Sans', Arial, sans-serif; font-size: 13px; line-height: 19.5px; padding: 0px 0px 1em;">
<span class="GingerNoCheckEnd"></span><span class="GingerNoCheckEnd"></span><br /></div>
</div>
Unknownnoreply@blogger.com4tag:blogger.com,1999:blog-7015696527983033152.post-78857175386620235632012-11-16T17:04:00.000+02:002012-11-16T17:04:51.089+02:00Как избавится от предупреждения: com.google.ads.m: can’t find referenced class com.google.ads.internal.state.AdState<div dir="ltr" style="text-align: left;" trbidi="on">
<br />
Для истории такое сообщение пришло к нам с AdMob SDK 6.2.1 (for Android):<br />
<br />
<br />
<div class="p1">
<span style="color: #e06666;">Proguard returned with error code 1. See console</span></div>
<div class="p1">
<span style="color: #e06666;">Warning: com.google.ads.m: can't find referenced class com.google.ads.internal.state.AdState</span></div>
<div class="p1">
<span style="color: #e06666;">Warning: com.google.ads.m: can't find referenced class com.google.ads.internal.state.AdState</span></div>
<div class="p1">
<span style="color: #e06666;">You should check if you need to specify additional program jars.</span></div>
<div class="p1">
<span style="color: #e06666;">Warning: there were 2 unresolved references to classes or interfaces.</span></div>
<div class="p1">
<span style="color: #e06666;">You may need to specify additional library jars (using '-libraryjars').</span></div>
<div class="p1">
<span style="color: #e06666;">java.io.IOException: Please correct the above warnings first.</span></div>
<div class="p1">
<span style="color: #e06666;">at proguard.Initializer.execute(Initializer.java:321)</span></div>
<div class="p1">
<span style="color: #e06666;">at proguard.ProGuard.initialize(ProGuard.java:211)</span></div>
<div class="p1">
<span style="color: #e06666;">at proguard.ProGuard.execute(ProGuard.java:86)</span></div>
<div class="p1">
<span style="color: #e06666;">at proguard.ProGuard.main(ProGuard.java:492)</span></div>
<div class="p1">
<br /></div>
<div class="p1">
Страшно? </div>
<div class="p1">
А лечится довольно просто, добавьте строку в <b>proguard.cfg</b> файл Вашего проекта:</div>
<br />
<div class="p1">
<b>-<span class="s1"><span class="GRcorrect" grphrase="90051a4b70dbfb02388fa65a36c7299a97fb69bf" grtype="null" id="GRmark_90051a4b70dbfb02388fa65a36c7299a97fb69bf_dontwarn:0">dontwarn</span></span> <span class="GRcorrect" grphrase="90051a4b70dbfb02388fa65a36c7299a97fb69bf" grtype="null" id="GRmark_90051a4b70dbfb02388fa65a36c7299a97fb69bf_com:1">com</span><span class="GRcorrect" grphrase="90051a4b70dbfb02388fa65a36c7299a97fb69bf" grtype="null" id="GRmark_90051a4b70dbfb02388fa65a36c7299a97fb69bf_.:2">.</span>google<span class="GRcorrect" grphrase="90051a4b70dbfb02388fa65a36c7299a97fb69bf" grtype="null" id="GRmark_90051a4b70dbfb02388fa65a36c7299a97fb69bf_.:3">.</span>ads<span class="GRcorrect" grphrase="90051a4b70dbfb02388fa65a36c7299a97fb69bf" grtype="null" id="GRmark_90051a4b70dbfb02388fa65a36c7299a97fb69bf_.:4">.</span>**</b></div>
<br />
</div>
Unknownnoreply@blogger.com0tag:blogger.com,1999:blog-7015696527983033152.post-33210747098256548772012-11-05T19:02:00.000+02:002012-11-05T19:02:36.447+02:00Если отключается Эмулятор Android от Eclipse<div dir="ltr" style="text-align: left;" trbidi="on">
Боротся с этим довольно просто<br />
<span style="background-color: white; font-family: Arial, 'Liberation Sans', 'DejaVu Sans', sans-serif; font-size: 14px; line-height: 18px;">В <b>Eclipse</b> переходим <b>Window->Show View->Other->Android->Devices</b>. </span><br />
<span style="background-color: white; font-family: Arial, 'Liberation Sans', 'DejaVu Sans', sans-serif; font-size: 14px; line-height: 18px;"><br /></span>
<span style="font-family: Arial, Liberation Sans, DejaVu Sans, sans-serif;"><span style="font-size: 14px; line-height: 18px;">"<b>Reset adb</b>"</span></span><br />
<span style="font-family: Arial, Liberation Sans, DejaVu Sans, sans-serif;"><span style="font-size: 14px; line-height: 18px;"><br /></span></span>
<div class="separator" style="clear: both; text-align: center;">
<a href="http://2.bp.blogspot.com/-Yxn2K6dKdTU/UJfv33fA0gI/AAAAAAAAAQY/reFr69cepyc/s1600/Screen+Shot+2012-11-05+at+18.56.14.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" height="201" src="http://2.bp.blogspot.com/-Yxn2K6dKdTU/UJfv33fA0gI/AAAAAAAAAQY/reFr69cepyc/s400/Screen+Shot+2012-11-05+at+18.56.14.png" width="400" /></a></div>
<span style="font-family: Arial, Liberation Sans, DejaVu Sans, sans-serif;"><span style="font-size: 14px; line-height: 18px;"><br /></span></span>
<span style="background-color: white; font-family: Arial, 'Liberation Sans', 'DejaVu Sans', sans-serif; font-size: 14px; line-height: 18px;">После чего Эмулятор просто пересоиденится и займет это всего несколько секунд</span></div>
Unknownnoreply@blogger.com0tag:blogger.com,1999:blog-7015696527983033152.post-72948163049950884162012-10-31T11:28:00.000+02:002012-10-31T11:28:55.036+02:00Kindle Fire HD 8.9" Эмулятор УЖЕ ДОСТУПНЫЙ!<div dir="ltr" style="text-align: left;" trbidi="on">
<span style="background-color: white; color: #222222; font-family: verdana; font-size: x-small;">The Kindle Fire HD 8.9" emulator is </span><a href="http://www.amazon.com/gp/r.html?R=2LU8TOVUZ3NPU&C=3B5JOEOHY4A0B&H=RSTU4P1VSS8AAAELSO2XQULZRH4A&T=C&U=https%3A%2F%2Fdeveloper.amazon.com%2Fsdk%2Ffire%2Femulator-guide.html%3Fref_%3Dpe_132830_26489330" style="background-color: white; color: #1155cc; font-family: verdana; font-size: small;" target="_blank">now available</a><span style="background-color: white; color: #222222; font-family: verdana; font-size: x-small;">. </span><br style="background-color: white; color: #222222; font-family: verdana; font-size: small;" /><br style="background-color: white; color: #222222; font-family: verdana; font-size: small;" /><span style="background-color: white; color: #222222; font-family: verdana; font-size: x-small;">This emulator will enable you to test and debug your apps in anticipation of the launch of the Kindle Fire HD 8.9" next month. We've also updated the emulators for the Kindle Fire HD 7" and the Kindle Fire (2nd Generation) to reflect the software in the latest over-the-air software update. To learn more about setting up your development environment with Kindle Fire emulators, </span><a href="http://www.amazon.com/gp/r.html?R=2LU8TOVUZ3NPU&C=3B5JOEOHY4A0B&H=RSTU4P1VSS8AAAELSO2XQULZRH4A&T=C&U=https%3A%2F%2Fdeveloper.amazon.com%2Fsdk%2Ffire%2Femulator-guide.html%3Fref_%3Dpe_132830_26489330" style="background-color: white; color: #1155cc; font-family: verdana; font-size: small;" target="_blank">click here</a><span style="background-color: white; color: #222222; font-family: verdana; font-size: x-small;">.</span><br style="background-color: white; color: #222222; font-family: verdana; font-size: small;" /><br style="background-color: white; color: #222222; font-family: verdana; font-size: small;" /><span style="background-color: white; color: #222222; font-family: verdana; font-size: x-small;">The emulator for the Kindle Fire HD 8.9" is currently available as a beta. Be aware that the user interface and functionality of the beta emulator may not match the experience available in the Kindle Fire HD 8.9" when it is released later this year. </span><br style="background-color: white; color: #222222; font-family: verdana; font-size: small;" /><br style="background-color: white; color: #222222; font-family: verdana; font-size: small;" /><span style="background-color: white; color: #222222; font-family: verdana; font-size: x-small;">We've also posted </span><a href="http://www.amazon.com/gp/r.html?R=2LU8TOVUZ3NPU&C=3B5JOEOHY4A0B&H=F7D13EU3XXXIUKUZZAJLGXAV5PGA&T=C&U=https%3A%2F%2Fdeveloper.amazon.com%2Fsdk%2Ffire%2Fspecifications.html%3Fref_%3Dpe_132830_26489330" style="background-color: white; color: #1155cc; font-family: verdana; font-size: small;" target="_blank">technical specifications</a><span style="background-color: white; color: #222222; font-family: verdana; font-size: x-small;"> and </span><a href="http://www.amazon.com/gp/r.html?R=2LU8TOVUZ3NPU&C=3B5JOEOHY4A0B&H=KA03CYR5ZWNXBNTKDGFXDJAO5KKA&T=C&U=https%3A%2F%2Fdeveloper.amazon.com%2Fsdk%2Ffire%2Fbest-practices.html%3Fref_%3Dpe_132830_26489330" style="background-color: white; color: #1155cc; font-family: verdana; font-size: small;" target="_blank">best practices</a><span style="background-color: white; color: #222222; font-family: verdana; font-size: x-small;"> on developing for Kindle Fire tablets, including the Kindle Fire HD 8.9".</span></div>
Unknownnoreply@blogger.com0tag:blogger.com,1999:blog-7015696527983033152.post-26787689931977066802012-10-16T23:23:00.001+03:002012-10-16T23:23:16.097+03:00Android Threads, Handlers and AsyncTask - Tutorial<a href="http://www.vogella.com/articles/AndroidPerformance/article.html#androidbackground">Android Threads, Handlers and AsyncTask - Tutorial</a>: "If you perform a lon"Unknownnoreply@blogger.com1tag:blogger.com,1999:blog-7015696527983033152.post-62189455422631853632012-09-30T22:53:00.000+03:002012-09-30T23:05:19.038+03:00Помощник в бизнесе<div dir="ltr" style="text-align: left;" trbidi="on">
<br />
<div class="MsoNormal" style="text-align: justify;">
<span style="font-family: Verdana, sans-serif;">Сегодняшний рынок технологий вышел далеко вперед, и информации
в интернете столько, что просто голова кругом идет<span lang="RU">. А
бизнесменов, которые хотят продвинуть свой бизнес, или получить юридическую или
финансовою консультацию тоже хоть отбавляй. Они то, появляются то исчезают все
потому что у ни нет надежного помощника. Но решение всегда можно найти, </span> компания <a href="http://www.netokrat24.com./" target="_blank">NETOKRAT24</a>, может помочь с решением <span lang="RU">любых проблем связанных с тем, что бы
найти хороших разработчиков ПО и
потребителей </span><span lang="EN-US">IT</span><span lang="RU">- продуктов. </span><a href="http://www.netokrat24.com./" target="_blank">NETOKRAT24</a> </span><span lang="RU"><span style="font-family: Verdana, sans-serif;">сотрудничает со странами СНГ,
Европы и Америки и помогает своим клиентам продвигать бизнес на всех этапах.</span><o:p></o:p></span></div>
</div>
Unknownnoreply@blogger.com0tag:blogger.com,1999:blog-7015696527983033152.post-48545832231315570502012-09-14T09:52:00.001+03:002012-09-14T09:52:53.063+03:00Google выпускает J2ObjC, open-source конвертер кода Java в Objective-C для iOS-приложений / Хабрахабр<a href="http://habrahabr.ru/post/151466/">Google выпускает J2ObjC, open-source конвертер кода Java в Objective-C для iOS-приложений / Хабрахабр</a>: <br />
<br />
Unknownnoreply@blogger.com0tag:blogger.com,1999:blog-7015696527983033152.post-71473178044940786692012-06-18T00:41:00.002+03:002012-06-18T20:42:02.459+03:00Как получить ID добавленных записей в базу данных MS SQL<div dir="ltr" style="text-align: left;" trbidi="on">
Или ответ на ошибку:<br />
<i>com.microsoft.sqlserver.jdbc.SQLServerException: Инструкция не вернула результирующий набор.</i><br />
<i><br /></i><br />
<span style="font-family: Consolas, Courier, monospace; font-size: 13px;">Пример:</span><br />
<span class="s1">public</span> <span class="s1">static</span> <span class="s1">void</span> executeInsertWithKeys(<span class="s2">Connection</span> con) {<br />
<div class="p1">
<span class="Apple-tab-span"> </span> <span class="s1">try</span> {</div>
<div class="p2">
<span class="s3"><span class="Apple-tab-span"> </span> String SQL = </span>"INSERT INTO TestTable (Col2, Col3) VALUES ('S', 50)"<span class="s3">;</span></div>
<div class="p1">
<span class="Apple-tab-span"> </span> <span class="s2">Statement</span> stmt = con.createStatement();<br />
<br /></div>
<div class="p3">
<b><u><span class="s3"> </span>// <span class="s2">внимательно</span> executeUpdate, а <span class="s2">не</span> exequteQuery !</u></b></div>
<div class="p1">
<span class="Apple-tab-span"> </span> <span class="s1">int</span> count = stmt.executeUpdate(SQL, <span class="s2">Statement</span>.RETURN_GENERATED_KEYS);</div>
<div class="p1">
<span class="Apple-tab-span"> </span> <span class="s2">ResultSet</span> rs = stmt.getGeneratedKeys();</div>
<div class="p4">
<br /></div>
<div class="p1">
<span class="Apple-tab-span"> </span> <span class="s2">ResultSetMetaData</span> rsmd = rs.getMetaData();</div>
<div class="p1">
<span class="Apple-tab-span"> </span> <span class="s1">int</span> columnCount = rsmd.getColumnCount();</div>
<div class="p1">
<span class="Apple-tab-span"> </span> <span class="s1">if</span> (rs.next()) {</div>
<div class="p1">
<span class="Apple-tab-span"> </span> <span class="s1">do</span> {</div>
<div class="p1">
<span class="Apple-tab-span"> </span> <span class="s1">for</span> (<span class="s1">int</span> i=1; i<=columnCount; i++) {</div>
<div class="p1">
<span class="Apple-tab-span"> </span> String key = rs.getString(i);</div>
<div class="p1">
<span class="Apple-tab-span"> </span> System.out.println(<span class="s4">"KEY "</span> + i + <span class="s4">" = "</span> + key);</div>
<div class="p1">
<span class="Apple-tab-span"> </span> }</div>
<div class="p1">
<span class="Apple-tab-span"> </span> } <span class="s1">while</span>(rs.next());</div>
<div class="p1">
<span class="Apple-tab-span"> </span> }</div>
<div class="p1">
<span class="Apple-tab-span"> </span> <span class="s1">else</span> {</div>
<div class="p1">
<span class="Apple-tab-span"> </span> System.out.println(<span class="s4">"NO KEYS WERE GENERATED."</span>);</div>
<div class="p1">
<span class="Apple-tab-span"> </span> }</div>
<div class="p1">
<span class="Apple-tab-span"> </span> rs.close();</div>
<div class="p1">
<span class="Apple-tab-span"> </span> stmt.close();</div>
<div class="p1">
<span class="Apple-tab-span"> </span> }</div>
<div class="p1">
<span class="Apple-tab-span"> </span> <span class="s1">catch</span> (Exception e) {</div>
<div class="p1">
<span class="Apple-tab-span"> </span> e.printStackTrace();</div>
<div class="p1">
<span class="Apple-tab-span"> </span> }</div>
<div class="p1">
<span class="s2">}</span><br />
<span style="font-family: Consolas, Courier, monospace; font-size: 13px;"></span><br />
<a name='more'></a><br />
<span style="font-family: Consolas, Courier, monospace; font-size: 13px;">Возможно это сэкономит Вам немного времени для личной жизни, вместо поиска решения к этой ошибке :)</span></div>
<div>
<br />
п.с. Ошибка для пользователей не русского NetBeans <i>com.microsoft.sqlserver.jdbc.SQLServerException - The statement did not return a result set</i></div>
</div>Unknownnoreply@blogger.com0tag:blogger.com,1999:blog-7015696527983033152.post-74935999017630622152011-12-24T01:27:00.000+02:002011-12-24T01:27:34.163+02:00How to load properties files into Spring and expose to the Java classes | The Coding Bone<a href="http://codingbone.wordpress.com/2010/02/28/how-to-load-properties-files-into-spring-and-expose-to-the-java-classes/">How to load properties files into Spring and expose to the Java classes | The Coding Bone</a>:Unknownnoreply@blogger.com1tag:blogger.com,1999:blog-7015696527983033152.post-33250252099726647242011-11-30T12:27:00.000+02:002011-11-30T12:28:28.497+02:00Download Android SDK standalone for offline installation<div dir="ltr" style="text-align: left;" trbidi="on">
<a href="http://qdevarena.blogspot.com/2010/05/download-android-sdk-standalone-for.html">Download Android SDK standalone for offline installation</a>: "How to install Android SDK without internet connection ?"</div>Unknownnoreply@blogger.com0tag:blogger.com,1999:blog-7015696527983033152.post-4609051236746408982011-10-25T19:13:00.000+03:002011-10-25T19:16:42.998+03:00Overcoming Fear: Mapping Hibernate Entities to Views<div dir="ltr" style="text-align: left;" trbidi="on">
<a href="http://timezra.blogspot.com/2009/05/mapping-hibernate-entities-to-views.html">Overcoming Fear: Mapping Hibernate Entities to Views</a>: " By the end of this tutorial, we will have the tools to map a Hibernate Entity that does not correspond directly to a database table onto structures such as views or query results."<br />
<br />
<a href="https://chrome.google.com/webstore/detail/pengoopmcjnbflcjbmoeodbmoflcgjlk" style="font-size: 13px;">'via Blog this'</a></div>Unknownnoreply@blogger.com0tag:blogger.com,1999:blog-7015696527983033152.post-22491441273040005512011-10-05T01:26:00.000+03:002012-09-30T23:07:10.827+03:00Обработка события нажатия по View. Android<div dir="ltr" style="text-align: left;" trbidi="on">
Делается так:<br />
<span class="Apple-style-span" style="background-color: white; font-size: 14px; line-height: 18px;"></span><br />
<pre class="default prettyprint" style="background-attachment: initial; background-clip: initial; background-color: #eeeeee; background-image: initial; background-origin: initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; font-size: 14px; margin-bottom: 10px; max-height: 600px; overflow-x: auto; overflow-y: auto; padding-bottom: 5px; padding-left: 5px; padding-right: 5px; padding-top: 5px; vertical-align: baseline; width: auto;"><code style="background-attachment: initial; background-clip: initial; background-color: #eeeeee; background-image: initial; background-origin: initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; font-size: 14px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;"><span class="Apple-style-span" style="font-family: 'Helvetica Neue', Arial, Helvetica, sans-serif;"><span class="pln" style="background-attachment: initial; background-clip: initial; background-color: transparent; background-image: initial; background-origin: initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; color: black; font-size: 14px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;"> someView</span><span class="pun" style="background-attachment: initial; background-clip: initial; background-color: transparent; background-image: initial; background-origin: initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; color: black; font-size: 14px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;">.</span><span class="pln" style="background-attachment: initial; background-clip: initial; background-color: transparent; background-image: initial; background-origin: initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; color: black; font-size: 14px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;">setOnTouchListener</span><span class="pun" style="background-attachment: initial; background-clip: initial; background-color: transparent; background-image: initial; background-origin: initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; color: black; font-size: 14px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;">(</span><span class="kwd" style="background-attachment: initial; background-clip: initial; background-color: transparent; background-image: initial; background-origin: initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; color: darkblue; font-size: 14px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;">new</span><span class="pln" style="background-attachment: initial; background-clip: initial; background-color: transparent; background-image: initial; background-origin: initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; color: black; font-size: 14px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;"> </span><span class="typ" style="background-attachment: initial; background-clip: initial; background-color: transparent; background-image: initial; background-origin: initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; color: #2b91af; font-size: 14px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;">View</span><span class="pun" style="background-attachment: initial; background-clip: initial; background-color: transparent; background-image: initial; background-origin: initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; color: black; font-size: 14px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;">.</span><span class="typ" style="background-attachment: initial; background-clip: initial; background-color: transparent; background-image: initial; background-origin: initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; color: #2b91af; font-size: 14px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;">OnTouchListener</span><span class="pun" style="background-attachment: initial; background-clip: initial; background-color: transparent; background-image: initial; background-origin: initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; color: black; font-size: 14px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;">()</span><span class="pln" style="background-attachment: initial; background-clip: initial; background-color: transparent; background-image: initial; background-origin: initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; color: black; font-size: 14px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;"> </span><span class="pun" style="background-attachment: initial; background-clip: initial; background-color: transparent; background-image: initial; background-origin: initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; color: black; font-size: 14px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;">{</span><span class="pln" style="background-attachment: initial; background-clip: initial; background-color: transparent; background-image: initial; background-origin: initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; color: black; font-size: 14px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;">
</span><span class="lit" style="background-attachment: initial; background-clip: initial; background-color: transparent; background-image: initial; background-origin: initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; color: maroon; font-size: 14px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;">@Override</span><span class="pln" style="background-attachment: initial; background-clip: initial; background-color: transparent; background-image: initial; background-origin: initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; color: black; font-size: 14px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;">
</span><span class="kwd" style="background-attachment: initial; background-clip: initial; background-color: transparent; background-image: initial; background-origin: initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; color: darkblue; font-size: 14px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;">public</span><span class="pln" style="background-attachment: initial; background-clip: initial; background-color: transparent; background-image: initial; background-origin: initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; color: black; font-size: 14px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;"> </span><span class="kwd" style="background-attachment: initial; background-clip: initial; background-color: transparent; background-image: initial; background-origin: initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; color: darkblue; font-size: 14px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;">boolean</span><span class="pln" style="background-attachment: initial; background-clip: initial; background-color: transparent; background-image: initial; background-origin: initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; color: black; font-size: 14px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;"> onTouch</span><span class="pun" style="background-attachment: initial; background-clip: initial; background-color: transparent; background-image: initial; background-origin: initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; color: black; font-size: 14px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;">(</span><span class="typ" style="background-attachment: initial; background-clip: initial; background-color: transparent; background-image: initial; background-origin: initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; color: #2b91af; font-size: 14px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;">View</span><span class="pln" style="background-attachment: initial; background-clip: initial; background-color: transparent; background-image: initial; background-origin: initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; color: black; font-size: 14px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;"> arg0</span><span class="pun" style="background-attachment: initial; background-clip: initial; background-color: transparent; background-image: initial; background-origin: initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; color: black; font-size: 14px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;">,</span><span class="pln" style="background-attachment: initial; background-clip: initial; background-color: transparent; background-image: initial; background-origin: initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; color: black; font-size: 14px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;"> </span><span class="typ" style="background-attachment: initial; background-clip: initial; background-color: transparent; background-image: initial; background-origin: initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; color: #2b91af; font-size: 14px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;">MotionEvent</span><span class="pln" style="background-attachment: initial; background-clip: initial; background-color: transparent; background-image: initial; background-origin: initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; color: black; font-size: 14px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;"> arg1</span><span class="pun" style="background-attachment: initial; background-clip: initial; background-color: transparent; background-image: initial; background-origin: initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; color: black; font-size: 14px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;">)</span><span class="pln" style="background-attachment: initial; background-clip: initial; background-color: transparent; background-image: initial; background-origin: initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; color: black; font-size: 14px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;"> </span><span class="pun" style="background-attachment: initial; background-clip: initial; background-color: transparent; background-image: initial; background-origin: initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; color: black; font-size: 14px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;">{</span><span class="pln" style="background-attachment: initial; background-clip: initial; background-color: transparent; background-image: initial; background-origin: initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; color: black; font-size: 14px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;">
</span><span class="kwd" style="background-attachment: initial; background-clip: initial; background-color: transparent; background-image: initial; background-origin: initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; color: darkblue; font-size: 14px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;">if</span><span class="pln" style="background-attachment: initial; background-clip: initial; background-color: transparent; background-image: initial; background-origin: initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; color: black; font-size: 14px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;"> </span><span class="pun" style="background-attachment: initial; background-clip: initial; background-color: transparent; background-image: initial; background-origin: initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; color: black; font-size: 14px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;">(</span><span class="pln" style="background-attachment: initial; background-clip: initial; background-color: transparent; background-image: initial; background-origin: initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; color: black; font-size: 14px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;">arg1</span><span class="pun" style="background-attachment: initial; background-clip: initial; background-color: transparent; background-image: initial; background-origin: initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; color: black; font-size: 14px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;">.</span><span class="pln" style="background-attachment: initial; background-clip: initial; background-color: transparent; background-image: initial; background-origin: initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; color: black; font-size: 14px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;">getAction</span><span class="pun" style="background-attachment: initial; background-clip: initial; background-color: transparent; background-image: initial; background-origin: initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; color: black; font-size: 14px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;">()==</span></span></code>MotionEvent.ACTION_DOWN<span style="background-color: transparent; font-family: 'Helvetica Neue', Arial, Helvetica, sans-serif;">)</span></pre>
<pre class="default prettyprint" style="background-attachment: initial; background-clip: initial; background-color: #eeeeee; background-image: initial; background-origin: initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; font-size: 14px; margin-bottom: 10px; max-height: 600px; overflow-x: auto; overflow-y: auto; padding-bottom: 5px; padding-left: 5px; padding-right: 5px; padding-top: 5px; vertical-align: baseline; width: auto;"><code style="background-attachment: initial; background-clip: initial; background-color: #eeeeee; background-image: initial; background-origin: initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; font-size: 14px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;"><span class="Apple-style-span" style="font-family: 'Helvetica Neue', Arial, Helvetica, sans-serif;"><span class="pln" style="background-attachment: initial; background-clip: initial; background-color: transparent; background-image: initial; background-origin: initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; color: black; font-size: 14px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;"> runEnemy</span><span class="pun" style="background-attachment: initial; background-clip: initial; background-color: transparent; background-image: initial; background-origin: initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; color: black; font-size: 14px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;">();</span><span class="pln" style="background-attachment: initial; background-clip: initial; background-color: transparent; background-image: initial; background-origin: initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; color: black; font-size: 14px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;">
</span><span class="kwd" style="background-attachment: initial; background-clip: initial; background-color: transparent; background-image: initial; background-origin: initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; color: darkblue; font-size: 14px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;">else</span><span class="pln" style="background-attachment: initial; background-clip: initial; background-color: transparent; background-image: initial; background-origin: initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; color: black; font-size: 14px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;">
stopEnemy</span><span class="pun" style="background-attachment: initial; background-clip: initial; background-color: transparent; background-image: initial; background-origin: initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; color: black; font-size: 14px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;">();</span><span class="pln" style="background-attachment: initial; background-clip: initial; background-color: transparent; background-image: initial; background-origin: initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; color: black; font-size: 14px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;">
</span><span class="kwd" style="background-attachment: initial; background-clip: initial; background-color: transparent; background-image: initial; background-origin: initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; color: darkblue; font-size: 14px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;">return</span><span class="pln" style="background-attachment: initial; background-clip: initial; background-color: transparent; background-image: initial; background-origin: initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; color: black; font-size: 14px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;"> </span><span class="kwd" style="background-attachment: initial; background-clip: initial; background-color: transparent; background-image: initial; background-origin: initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; color: darkblue; font-size: 14px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;">true</span><span class="pun" style="background-attachment: initial; background-clip: initial; background-color: transparent; background-image: initial; background-origin: initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; color: black; font-size: 14px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;">;</span><span class="pln" style="background-attachment: initial; background-clip: initial; background-color: transparent; background-image: initial; background-origin: initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; color: black; font-size: 14px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;">
</span><span class="pun" style="background-attachment: initial; background-clip: initial; background-color: transparent; background-image: initial; background-origin: initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; color: black; font-size: 14px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;">}</span><span class="pln" style="background-attachment: initial; background-clip: initial; background-color: transparent; background-image: initial; background-origin: initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; color: black; font-size: 14px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;">
</span><span class="pun" style="background-attachment: initial; background-clip: initial; background-color: transparent; background-image: initial; background-origin: initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; color: black; font-size: 14px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;">});</span></span><span class="pln" style="background-attachment: initial; background-clip: initial; background-color: transparent; background-image: initial; background-origin: initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; color: black; font-family: Consolas, Menlo, Monaco, 'Lucida Console', 'Liberation Mono', 'DejaVu Sans Mono', 'Bitstream Vera Sans Mono', 'Courier New', monospace, serif; font-size: 14px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;">
</span></code></pre>
<br />
<span class="Apple-style-span" style="background-color: white; font-family: Arial, 'Liberation Sans', 'DejaVu Sans', sans-serif; font-size: 14px; line-height: 18px;"></span><br />
<div style="background-attachment: initial; background-clip: initial; background-color: transparent; background-image: initial; background-origin: initial; border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; clear: both; font-size: 14px; margin-bottom: 1em; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline; word-wrap: break-word;">
<br /></div>
</div>
Unknownnoreply@blogger.com0tag:blogger.com,1999:blog-7015696527983033152.post-79355288165323335712011-09-25T14:56:00.003+03:002014-03-10T00:52:42.083+02:00Как программно поменять фон приложения (background в View). Android<div dir="ltr" style="text-align: left;" trbidi="on">
<br />
1) Добавим свою картинку в res/drawable<br />
2) В layout/main.xml добавим с палитры <span style="font-family: Times, 'Times New Roman', serif;">LinearLayout</span><br />
3) Пишем:<br />
<span class="Apple-style-span" style="font-family: Times, 'Times New Roman', serif;"><br /></span>
<span class="Apple-style-span" style="font-family: Times, 'Times New Roman', serif;">BitmapDrawable d = (BitmapDrawable) getResources().getDrawable(R.drawable.background); </span><br />
<span class="Apple-style-span" style="font-family: Times, 'Times New Roman', serif;">LinearLayout layout = (LinearLayout)findViewById(R.id.tableLayout1); </span><br />
<span class="Apple-style-span" style="font-family: Times, 'Times New Roman', serif;">layout.setBackgroundDrawable(d);</span><br />
<span class="Apple-style-span" style="font-family: Times, 'Times New Roman', serif;"><br /></span>
<div class="separator" style="clear: both; text-align: center;">
<a href="http://3.bp.blogspot.com/-hj9Ny47rI-k/Tn8WHDmC-mI/AAAAAAAAAKk/j1LG33bd4YM/s1600/ya-drawable_background_in_view.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" src="http://3.bp.blogspot.com/-hj9Ny47rI-k/Tn8WHDmC-mI/AAAAAAAAAKk/j1LG33bd4YM/s400/ya-drawable_background_in_view.png" height="205" width="400" /></a></div>
<br /></div>
Unknownnoreply@blogger.com0tag:blogger.com,1999:blog-7015696527983033152.post-49149875184590895312011-09-25T14:26:00.000+03:002011-09-25T14:26:35.146+03:00Применение HTML тегов в View. Android<div dir="ltr" style="text-align: left;" trbidi="on">
В Android могут применяться HTML теги для стильного вывода информации с помощью View элементов.<br />
<br />
Пример:<br />
<br />
<span class="Apple-style-span" style="font-family: Times, 'Times New Roman', serif;">Spanned spanText = android.text.Html.fromHtml("<u>My</u> <i>some</i> <b>bold</b> text"); <br />tvTotal = (TextView) findViewById(R.id.tvTotal);<br />tvTotal.setText(spanText);</span><div>
<span class="Apple-style-span" style="font-family: Times, 'Times New Roman', serif;"><br /></span></div>
<div class="separator" style="clear: both; text-align: center;">
<a href="http://1.bp.blogspot.com/-RPvjqqyMkTk/Tn8OxA-Kp2I/AAAAAAAAAKg/Q9HU4MeXSgM/s1600/ya-textview_html.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" height="56" src="http://1.bp.blogspot.com/-RPvjqqyMkTk/Tn8OxA-Kp2I/AAAAAAAAAKg/Q9HU4MeXSgM/s320/ya-textview_html.png" width="320" /></a></div>
<div>
<span class="Apple-style-span" style="font-family: Times, 'Times New Roman', serif;"><br /></span></div>
</div>
Unknownnoreply@blogger.com0tag:blogger.com,1999:blog-7015696527983033152.post-22542216381894623772011-09-20T15:57:00.000+03:002011-09-20T16:01:47.541+03:00Google I/O 2010 - Writing real-time games for Android redux - YouTube<div dir="ltr" style="text-align: left;" trbidi="on">
<div class="separator" style="clear: both; text-align: center;">
<iframe allowfullscreen='allowfullscreen' webkitallowfullscreen='webkitallowfullscreen' mozallowfullscreen='mozallowfullscreen' width='320' height='266' src='https://www.youtube.com/embed/7-62tRHLcHk?feature=player_embedded' frameborder='0'></iframe></div>
<br />
<div>
п.с. Replica Island - мега-крутая опенсоурс игра! </div>
</div>
Unknownnoreply@blogger.com0