понедельник, 1 февраля 2016 г.
суббота, 26 сентября 2015 г.
воскресенье, 6 сентября 2015 г.
Permissions patterns
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.
Permissions patterns
Permissions patterns
Why runtime permissions shouldn’t scare you
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.

Step 1: check the platform. 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.
пятница, 4 сентября 2015 г.
Radio Trek на Google Play
Запаблишил свою новую програму на Google Play.
Радио Трек - Лучшая FM-радиостанция на Ровенщине теперь доступна на Android.
Радио Трек - Лучшая FM-радиостанция на Ровенщине теперь доступна на Android.
вторник, 18 августа 2015 г.
Google Testing Blog: Test Sizes
Google Testing Blog: Test Sizes: by Simon Stewart What do you call a test that tests your application through its UI? An end-to-end test? A functional test?
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:
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:
| Feature | Small | Medium | Large |
| Network access | No | localhost only | Yes |
| Database | No | Yes | Yes |
| File system access | No | Yes | Yes |
| Use external systems | No | Discouraged | Yes |
| Multiple threads | No | Yes | Yes |
| Sleep statements | No | Yes | Yes |
| System properties | No | Yes | Yes |
| Time limit (seconds) | 60 | 300 | 900+ |
вторник, 4 августа 2015 г.
FlatBuffers
FlatBuffers 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.
It is available as Open Source on GitHub under the Apache license, v2 (see LICENSE.txt).
среда, 12 ноября 2014 г.
AppCompat v21 — Material Design for Pre-Lollipop Devices!
Material Design Everywhere: Using AppCompat 21
AppCompat v21 — Material Design for Pre-Lollipop Devices! | Android Developers Blog
суббота, 14 сентября 2013 г.
Up 2 The Stars on Google Play!
Моя новая игра на Google Play!
The game sees players in the role of Scrooge.
The main hero saw as aliens stole his bank and going for a pursuit for them on the balloon (aerostat).
Game mission:
Pickup more coins as possible what was scattered from the bank.
Obstacles:
thunderclouds and missiles
******************************************************************
The game is tested and optimized for Android phones and tablets.
******************************************************************
пятница, 7 декабря 2012 г.
Игра "Играем в снежки HD" получила Новогоднее обновление!
Игра "Играем в снежки HD" (SnowBall Fight Winter Game HD) получила Новогоднее обновление!
SnowBall Fight Winter Game HD
Добавлено:
- 5 новых локаций виртуального города
- Новогодняя ёлка
Играйте в снежки и получайте украшения к Новогодней ёлке
Игра оптимизирована под Android телефоны и планшеты!
Хотите нам что-то сказать - пишите email или оставляйте комментарии :)
воскресенье, 18 ноября 2012 г.
пятница, 16 ноября 2012 г.
Как избавится от предупреждения: com.google.ads.m: can’t find referenced class com.google.ads.internal.state.AdState
Для истории такое сообщение пришло к нам с AdMob SDK 6.2.1 (for Android):
Proguard returned with error code 1. See console
Warning: com.google.ads.m: can't find referenced class com.google.ads.internal.state.AdState
Warning: com.google.ads.m: can't find referenced class com.google.ads.internal.state.AdState
You should check if you need to specify additional program jars.
Warning: there were 2 unresolved references to classes or interfaces.
You may need to specify additional library jars (using '-libraryjars').
java.io.IOException: Please correct the above warnings first.
at proguard.Initializer.execute(Initializer.java:321)
at proguard.ProGuard.initialize(ProGuard.java:211)
at proguard.ProGuard.execute(ProGuard.java:86)
at proguard.ProGuard.main(ProGuard.java:492)
Страшно?
А лечится довольно просто, добавьте строку в proguard.cfg файл Вашего проекта:
-dontwarn com.google.ads.**
понедельник, 5 ноября 2012 г.
среда, 31 октября 2012 г.
Kindle Fire HD 8.9" Эмулятор УЖЕ ДОСТУПНЫЙ!
The Kindle Fire HD 8.9" emulator is now available.
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, click here.
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.
We've also posted technical specifications and best practices on developing for Kindle Fire tablets, including the Kindle Fire HD 8.9".
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, click here.
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.
We've also posted technical specifications and best practices on developing for Kindle Fire tablets, including the Kindle Fire HD 8.9".
вторник, 16 октября 2012 г.
воскресенье, 30 сентября 2012 г.
Помощник в бизнесе
Сегодняшний рынок технологий вышел далеко вперед, и информации
в интернете столько, что просто голова кругом идет. А
бизнесменов, которые хотят продвинуть свой бизнес, или получить юридическую или
финансовою консультацию тоже хоть отбавляй. Они то, появляются то исчезают все
потому что у ни нет надежного помощника. Но решение всегда можно найти, компания NETOKRAT24, может помочь с решением любых проблем связанных с тем, что бы
найти хороших разработчиков ПО и
потребителей IT- продуктов. NETOKRAT24 сотрудничает со странами СНГ,
Европы и Америки и помогает своим клиентам продвигать бизнес на всех этапах.
пятница, 14 сентября 2012 г.
понедельник, 18 июня 2012 г.
Как получить ID добавленных записей в базу данных MS SQL
Или ответ на ошибку:
com.microsoft.sqlserver.jdbc.SQLServerException: Инструкция не вернула результирующий набор.
Пример:
public static void executeInsertWithKeys(Connection con) {
com.microsoft.sqlserver.jdbc.SQLServerException: Инструкция не вернула результирующий набор.
Пример:
public static void executeInsertWithKeys(Connection con) {
try {
String SQL = "INSERT INTO TestTable (Col2, Col3) VALUES ('S', 50)";
Statement stmt = con.createStatement();
// внимательно executeUpdate, а не exequteQuery !
int count = stmt.executeUpdate(SQL, Statement.RETURN_GENERATED_KEYS);
ResultSet rs = stmt.getGeneratedKeys();
ResultSetMetaData rsmd = rs.getMetaData();
int columnCount = rsmd.getColumnCount();
if (rs.next()) {
do {
for (int i=1; i<=columnCount; i++) {
String key = rs.getString(i);
System.out.println("KEY " + i + " = " + key);
}
} while(rs.next());
}
else {
System.out.println("NO KEYS WERE GENERATED.");
}
rs.close();
stmt.close();
}
catch (Exception e) {
e.printStackTrace();
}
}
суббота, 24 декабря 2011 г.
среда, 30 ноября 2011 г.
Download Android SDK standalone for offline installation
Download Android SDK standalone for offline installation: "How to install Android SDK without internet connection ?"
Подписаться на:
Сообщения (Atom)










