jeudi 11 août 2016

I wanted to start a simple hello world app for AngularJS 2.
When I followed the instructions in the official quickstart the installation created 32,000 files in my project.
I figured this is some mistake or I missed something, so I decided to use angular-cli, but after setting up the project I counted 41,000 files.
Where did I go wrong? Am I missing something really really obvious?


______________________

                                Typical Angular2 Project
NPM Package                       Files (Development)                   Real World Files (Deployment)
@angular                       3,236                             1
rxJS                           1,349                             1*
core-js                        1,341                             2
typings                        1,488                             0
gulp                           1,218                             0
gulp-typescript                1,243                             0
lite-server                    5,654                             0
systemjs-builder               6,470                             0
__________________________________________________________________
Total                         21,999                             3  
Fragments do not have an onRestoreInstanceState method.
You can achieve the same result in onActivityCreated, which receives a bundle with the saved instance state (or null).
Check the source code https://developer.android.com/reference/android/app/Fragment.html#Layout
You may use config mode of the find_package for allow you modules to expose some internal properties to their user (root project).
If each your module provides library target, you may expose that target with property containing Boost version attached and list this property in a special COMPATIBLE_INTERFACE_STRING property.
Your root project will include modules via find_package() calls and will read these properties. When it will try to link libraries, provided by such modules, version compatibility will be automatically performed by CMake:
modA/CMakeLists.txt:
...
find_package(Boost)
add_library(modA_lib ...)
... # Link modA_lib with Boost
# Install modA_lib target and exports it for use in other project.
install(TARGETS modA_lib EXPORT modA_lib)
# Configured -config file is shown below
configure(modA-config.cmake.in modA-config.cmake)
install(EXPORT modA_lib
    DESTINATION share/cmake/modA)
install(FILES ${CMAKE_CURRENT_BINARY_DIR}/modA-config.cmake
    DESTINATION share/cmake/modA)
modA/modA-config.cmake.in:
include(@CMAKE_INSTALL_PREFIX@/share/cmake/modA/modA_lib.cmake) # Include file described library target
# Expose linked version of Boost via target's property.
set_property(TARGET modA_lib PROPERTY INTERFACE_BOOST_VERSION @Boost_VERSION@)
# Mark this property as compatibility requirement
set_property(TARGET modA_lib PROPERTY APPEND COMPATIBLE_INTERFACE_STRING BOOST_VERSION)
(modB is implemented in similar manner)
root/CMakeLists.txt:
find_package(modA) # This imports target modA_lib
find_package(modB) # This imports target modB_lib

add_executable(root_exe <...>)

# Boost version check will be performed here
target_link_libraries(root_exe modA_lib modB_lib)
Additionally, an executable created in the root project may request specific Boost version via setting appropriate property:
add_executable(root_exe <...>)
set_property(TARGET root_exe PROPERTY BOOST_VERSION <...>)
In this case it will be prohibited (by CMake) for its dependencies to use Boost library with other versions.
More info and usage examples see in CMake build system description.
In our list of the best free Android games, we look at the some of the Play Store's most impressive free-to-play titles across a number of genres. The games are sorted by category to make it easy to find the type of games you're looking for. Head to the best free Android strategy games section to see our latest picks. 
androidpit best android racing games 6
Shooters, puzzlers, racers... You'll find the best free games of all genres below. / © ANDROIDPIT
Jump to a section:

Best free Android strategy games

Subterfuge

Subterfuge is one of the best multiplayer gaming experiences you can get. It's challenging, it's nerve-wracking, and it's perfectly suited to smartphones.
Subterfuge is a strategy title where each game takes place over the course of a week. You are charged with taking control of the ocean using a fleet of submarines: the more outposts and factories you control, the more submarines you can generate, which means more firepower to seize further outposts. It's a familiar setup, but because the events take place in real time there is a constant threat that opponents could be sending submarines toward your bases even while you sleep.
It's a race to see which player can generate enough 'Neptunium' (one of the game's resources) first and, to succeed, your diplomacy skills and interactions with other players are as important as your tactical prowess. Don't miss it.   
The speed and simplicity of Chrome, now on your Android phone and tablet.
Search and browse fast with Chrome on your Android phone and tablet. Sign in to sync your personalized Chrome experience from your computer to bring it with you anywhere you go.

Search fast
- Search and navigate fast, directly from the same box. Choose from results that appear as you type.
-  Browse faster with accelerated page loading, scrolling and zooming.
Simple, intuitive experience
- Open and quickly switch between an unlimited number of tabs. On your phone, flip through tabs the way you would fan a deck of cards. On your tablet, swipe from edge to edge to switch tabs.
Sign in
- Sign in to Chrome to sync your open tabs, bookmarks, passwords, and omnibox data from your computer to your phone or tablet.  Pick up right where you left off.
- Send pages from Chrome on your computer to Chrome on your phone or tablet with one click and read them on the go, even when you’re offline.
Privacy
- Browse privately in Incognito mode.

Best Android Apps

The best Android apps are getting harder to find in the increasingly crowded Android Market. We're here to help as we test and rank the top applications available for Android phones.



When T-Mobile launched the very first Android-powered handset – the G1 – back in 2008, the app library to go along with it looked like a minimart beside Apple’s Walmart. But the past few years have been kind to Google. The steady release of high-profile, high-power Android handsets have turned that initial drizzle of apps into a torrent. Though it used to be called the Android Market, the Google Play store offers applications for just about everything. With that in mind, we’ve rounded up what we think are the best Android apps in several different categories. We’ll continue to update this list periodically.

Make sure to check out Best Android games and our picks for The Best Android phones. Multiple members of the Digital Trends staff contributed to this compilation.
Copyright © 2015 Android Developpment| Design by Blogspot Templates | Published by FLYTemplate.