Showing posts with label build. Show all posts
Showing posts with label build. Show all posts
Sunday, September 24, 2017
Android Developer Story Robinhood uses Android Studio to quickly build and test new features
Android Developer Story Robinhood uses Android Studio to quickly build and test new features

Posted by Christopher Katsaros, Developer Marketing, Android
Robinhood allows users to buy and sell stocks commission-free* in the US. It is designed to make financial investment easy for all users, even if you�ve never traded before.
With a team of two Android developers, the company has relied on fast tools like
Android Studio to
build rich new features, which have helped make Robinhood the highest-rated
stock brokerage app on Google Play.
Watch Robinhoods Joe Binney, VP of Product Engineering, and Dan Hill, Android
Developer, talk about how Android Studio is helping them achieve strong growth
on Android.
The top Android developers use Android Studio to build powerful and successful
apps on Google Play; learn more about the official IDE for Android app
development and get
started for yourself.
Get more tips and watch other success stories in the Playbook for
Developers app.
*Free trading refers to $0 commissions for Robinhood Financial self-directed individual cash or margin brokerage accounts that trade U.S. listed securities via mobile devices. SEC & FINRA regulatory fees may apply.
How useful did you find this blogpost?
? ? ? ? ?

download file now
Friday, September 22, 2017
Install CyanogenMod CM 12 1 build v2 on Zenfone 5
Install CyanogenMod CM 12 1 build v2 on Zenfone 5
Install CyanogenMod CM 12.1 (build v2) on Zenfone 5:
***NOTE***
This will void your warranty.
Do it at your own risk. We will not be responsible for any bricked device
Required files:-
1 TWRP-Philz-AutoInstaller- Click Here
[V3]CM12.1-AutoInstaller- Click Here
3. IntelAndroidDrvSetup1.1.5 - Click Here
Steps:
1. Install IntelAndroidDrvSetup1.1.5 .
2. Connect your phone to pc.
3. Enable USB Debugging.[ The charge should be atleast above 30%]
4. Open TWRP-Philz-AutoInstaller
5. Right click on TWRPRecovery-install and select �Run as administrator� [pic 2]
6. Press any key [pic 3]. Wait for it to complete
7. Now extract the file [V3]CM12.1-AutoInstaller as in pic 4.
8. Now open the folder that u extracted.
9. click on cm12.1-installer as in pic 5
10. Run it as administrator
11. Press any key and let it be complete. [pic 6]
12. Done. Now enjoy!!






download file now
Friday, September 15, 2017
Android Developer Story LinkedIn uses Android Studio to build a performant app
Android Developer Story LinkedIn uses Android Studio to build a performant app

Posted by Christopher Katsaros, Developer Marketing, Android
LinkedIn is the worlds largest social network
for professionals. LinkedIn has 10
apps on Google Play, including the flagship LinkedIn
app, which provides all of the same features users find on the web, so users
can do things like browse and send messages to their professional network with
an improved user experience.
For LinkedIn, and other teams with a large number of developers adding code to a
project, making sure that everyone pays attention to areas that affect
performance is vital for the quality of their app. Thats why the the LinkedIn
mobile team uses Android Studio to
build high quality Android apps.
Watch Pradeepta Dash, Engineering Manager for Infrastructure at LinkedIn, as
well as Drew Hannay, Tech Lead for the Android Infrastructure team, talk about
how Android Studio helps everyone on their team stay focused on these topics
while getting new engineers quickly up and running:
The top Android developers use Android Studio to build powerful, successful apps
for Google Play; you can learn more about the official IDE for Android app
development, and get
started for yourself.
Get more tips and watch more success stories in the Playbook for
Developers app.
How useful did you find this blogpost?
? ? ? ? ?
download file now
Sunday, August 27, 2017
Build flexible layouts with FlexboxLayout
Build flexible layouts with FlexboxLayout
Posted by Takeshi Hagikura, Developer Programs Engineer
At Google I/O last year we announced ConstraintLayout,
which enables you to build complex layouts while maintaining a flat view
hierarchy. It is also fully supported in Android Studios Visual
Layout Editor.
At the same time, we open sourced FlexboxLayout to bring the
same functionalities of the CSS
Flexible Layout module to Android. Here are some cases where
FlexboxLayout is particularly effective.FlexboxLayout can be interpreted as an advanced LinearLayoutbecause both layouts align their child views sequentially. The significant
difference between LinearLayout and
FlexboxLayout is thatFlexboxLayout has a feature for wrapping.That means if you add the flexWrap="wrap" attribute,
FlexboxLayout puts a view to a new line if there is not enoughspace left in the current line as shown in the picture below.

One layout for various screen sizes
With that characteristic in mind, lets take a case where you want to put views
sequentially but have them move to new lines if the available space changes (due
to a device factor, orientation changes or the window resizing in the
multi-window mode).

Nexus5X portrait

Nexus5X landscape

Pixel C with multi window mode enabled, divider line on the left.

Pixel C with multi window mode enabled, divider line on the middle.

Pixel C with multi window mode enabled, divider line on the right.
You would need to define multiple DP-bucket layouts (such as layout-600dp,
layout-720dp, layout-1020dp) to handle various screen sizes with traditional
layouts such as
LinearLayout or RelativeLayout. Butthe dialog above is built with a single
FlexboxLayout.The technique used in the example is setting the
flexWrap="wrap" asexplained above,
<com .google.android.flexbox.flexboxlayout
android_layout_width="match_parent"
android_layout_height="wrap_content"
app_flexwrap="wrap">
then you can get the following layout where child views are aligned to a new
line instead of overflowing its parent.

Another technique Id like to highlight is setting the
layout_flexGrow attribute to an individual child. This helpsimprove the look of the final layout when free space is left over. The
layout_flexGrow attribute works similar to thelayout_weight attribute in LinearLayout. That meansFlexboxLayout will distribute the remaining space according to thelayout_flexGrow value set to each child in the same line.In the example below, it assumes each child has the
layout_flexGrowattribute set to
1, so free space will be evenly distributed toeach of them.
<android .support.design.widget.TextInputLayout
android_layout_width="100dp"
android_layout_height="wrap_content"
app_layout_flexgrow="1">

You can check out the complete layout
xml file in the GitHub repository.
RecyclerView integration
Another advantage of
FlexboxLayout is that it can be integratedwith RecyclerView.
With the latest release of the alpha
version the new
FlexboxLayoutManager extendsRecyclerView.LayoutManager, now you can make use of the Flexboxfunctionalities in a scrollable container in much more memory-efficient way.
Note that you can still achieve a scrollable Flexbox container with
FlexboxLayout wrapped with ScrollView. But, you willbe likely to experience jankiness or even an OutOfMemoryError if the number of
items contained in the layout is large, as
FlexboxLayout doesnttake view recycling into account for the views that go off the screen as the
user scrolls.
(If you would like to learn more about the RecyclerView in details, you can
check out the videos from the Android UI toolkit team such as 1, 2)
A real world example where the
RecyclerView integration is usefulis for apps like the Google Photos app or News apps, both expect large number of
items while needing to handle various width of items.
One example is found in the demo
application in the
FlexboxLayout repository. As you can see inthe repository, each image shown in
RecyclerView has a differentwidth. But by setting the flexWrap setting to wrap,
FlexboxLayoutManager layoutManager = new FlexboxLayoutManager();
layoutManager.setFlexWrap(FlexWrap.WRAP);
and setting the
flexGrow (as you can see, you can configure theattributes through
FlexboxLayoutManager andFlexboxLayoutManager.LayoutParams for child attributes instead ofconfiguring it from xml) attribute to a positive value for each child,
void bindTo(Drawable drawable) {
mImageView.setImageDrawable(drawable);
ViewGroup.LayoutParams lp = mImageView.getLayoutParams();
if (lp instanceof FlexboxLayoutManager.LayoutParams) {
FlexboxLayoutManager.LayoutParams flexboxLp =
(FlexboxLayoutManager.LayoutParams) mImageView.getLayoutParams();
flexboxLp.setFlexGrow(1.0f);
}
}you can see every image fits within the layout nicely regardless of the screen
orientation.

If you would like to see complete FlexboxLayout example, you can check:
- Playground
demo app - usingFlexboxLayoutandFlexboxLayoutManager. - Cat
gallery demo app - usingFlexboxLayoutManager
Whats next?
Check out the full documentation for other
attributes to build flexible layouts tailored for your needs. Were very open to
hear your feedback, if you find any issues or feature requests, please file an
issue on the GitHub
repository.
download file now
Labels:
build,
flexboxlayout,
flexible,
layouts,
with
Wednesday, August 9, 2017
ROM OCT N Z00T OctOS Community Build
ROM OCT N Z00T OctOS Community Build

| Disclaimer: OctOs is a WIP. It has been evaluated as being stable, and is suitable for daily use in most cases. While it may be considered stable, there may be unknown bugs. The development team is not responsible for any damage to your device or your information. |
Team OctOs presents Oct-N.
We maintain a current release record and change-log on our website: http://www.teamoctos.com
We have Gapps here.
http://opengapps.org
***USE Gapps of your choosing, we prefer Open Gapps***
- Please Do Not Mirror our files without talking to us. We can do that ourselves should we desire to. -
We have Gapps here.
http://opengapps.org
***USE Gapps of your choosing, we prefer Open Gapps***
- Please Do Not Mirror our files without talking to us. We can do that ourselves should we desire to. -
Feature List
Quote:
|
Frequently Asked Questions
Q: Is this Android 7 (Nougat)?
A: Yes, this is Android 7.1.1
Q: What code is Oct-N based on?
A: This version of Oct-N is based on LineageOS 14.1
Q: Why isnt there XYZ feature?
A: Shoot us a Suggestion if you want to see something added. While we are not going to promise to implement, we will always look into it
Q: But all the others have..
A: ROM developers, build something they want to use. The ROM developer that includes something they wont run implies less than 100% effort to ensure it does work. As a team, we have similar goals and objectives. If XYZ ROM has a feature you want, and we dont include (or dont want to include), feel free to use XYZ ROM, or build your own custom version of Oct-M.
Q: What about root?
A: Actually this version of OCT-N uses embedded root access which can be enabled in development settings.
Bugs:
Bugs happen. Our testers are very good at breaking things, but no where near as good as the rest of the Android public. In order to investigate and fix issues, we need the help of the users who are going to report them. The Android OS has many nifty features to help us in this, but only if we can engage the user to assist us.
Logs, Logcat, and the Android Debugging Bridge (ADB)
Like any other OS, Android has multiple log files that are generated and record the goings-on of the system. As a user, you have two basic ways to view and pull these to send to us. Without the information in the logfiles, there simply is not a whole lot of information to go on.
Log file APKs
Team OctOs recommends SysLog from the Android Market. This application will allow you to selectively pick any (or all) of the system logs, compress them into a .ZIP file, and allow you to save, email, move to your Copy/DropBox/Cloud Storage account, etc.
ADB Logcat
The Android Debugging Bridge (ADB) is a powerful tool available from Google as part of the Android Software Development Kit (SDK). Used for many things, being able to selectively see, in real-time, what your device is doing cannot be downplayed. While there is more setup involved, if you are doing consistent ROM flashing, you really should invest the time to get setup properly to do it.
ADB Logcat tutorial here: How to create a logcat log
Basic Instructions:
- Download ROM .zip file and MD5 file, and grab your favourite Open Gapps package http://opengapps.org
- Reboot to Recovery (Note: Use Reboot to Recovery from Power Menu, Hardware-based boot to recovery, or adb reboot recovery - ROM Manager or similar software is NOT supported)
--- TWRP is the ONLY recovery Team OctOs uses - We do not support flashing on CWM --- - Factory Reset from TWRP
- Flash ROM and GApps .ZIP files
- Reboot
Download from Team-OctOS web site!
Change log
View change log on Team-OctOS web site!
The foundation of the Android OS is the fact that is it open-source. We have all code we use internally in the creation of Oct-N available on our GitHub repositories.
Unless otherwise specified, all Oct-N builds kernel source can be found on github at Team-OctOS.
Team OctOs GitHub - http://www.github.com/Team-OctOs
Team OctOs Gerrit Review - http://www.teamoctos.com:8080
Team OctOs GPLv2 License - http://www.teamoctos.com/license/
Team OctOs Patreon Campaign - https://www.patreon.com/TOctOs
Paypal - https://www.paypal.com/us/cgi-bin/we...37e57608011f58
Want To Build Your Own?
Check out the ReadMe on our GitHub for Instructions
Quote:
Special thanks to
|
XDA:DevDB Information
[ROM][OCT-N] [Z00T] OctOS Community Build, ROM for the Zenfone 2 Laser
Contributors
OfficerJimLahey, manfromgta
Source Code: https://github.com/LineageOS/android...l_asus_msm8916
ROM OS Version: 7.x Nougat
ROM Kernel: Linux 3.10.x
ROM Firmware Required: Unlocked M Bootloader
Based On: LineageOS
Version Information
Status: Beta
Beta Release Date: 2017-01-15
Created 2017-01-15
Last Updated 2017-01-20
download file now
Subscribe to:
Posts (Atom)