Profile cover photo
Profile photo
Alam Kanak
193 followers
193 followers
About
Alam's posts

Post has attachment
Which one do you think would be a great name for a tech company?
-
votes visible to Public
10%
Virtus: courage
50%
Telos: purpose
20%
Helios: sun
10%
Krona: sounds similar to chrona (time)
10%
Tenus: bound

Post has shared content
Thank you +Roman Nurik
Visually refreshed the Android Asset Studio, and cleaned up the code to make it easier to contribute!

Use it now: http://romannurik.github.io/AndroidAssetStudio/
Source code: https://github.com/romannurik/AndroidAssetStudio
Bugs and requests: https://github.com/romannurik/AndroidAssetStudio/issues

#AndroidDev
Animated Photo

Post has attachment
Wow! Boston dynamics bots! Reminds me of the movie Chappie.

Post has attachment
Got this email today. Really? You want me to spend the valentine's day with my job? And on Sunday? #FacePalm #TerribleMarketing
Photo

Post has attachment
New version of Android Week View library released!

- Pinch to zoom support added
- Support for event location added
- Ability to have different colors for past, future and weekend days added
- Support for "now" line added

https://github.com/alamkanak/Android-Week-View
Photo

Post has shared content
The new Android M Developer Preview 3 boot animation in all its #materiyolo  goodness.

#Marshmallow  
Animated Photo

Post has shared content
Neat API for sharing intents
Use ShareCompat to easily build and read incoming share intents Pro-tip by +Ian Lake

The ‘share’ action is an iconic part of Android apps, providing a standard way of sending and receiving data from other apps - be it a simple text string, an image, any arbitrary content (say, a file from your app), or even multiple items. Constructing and reading these Intents requires either knowing the exact constants to use or using ShareCompat (http://goo.gl/WDegTC).

ShareCompat.IntentBuilder provides a fluent API for constructing ACTION_SEND (http://goo.gl/XTuFzv) and ACTION_SEND_MULTIPLE (http://goo.gl/QVzeg8) intents.

Constructing a simple share intent with text then becomes:
Intent shareIntent = ShareCompat.IntentBuilder.from(activity)
  .setType(“text/plain”)
  .setText(shareText)
  .getIntent();
// Avoid ActivityNotFoundException
if (intent.resolveActivity(getPackageManager()) != null) {
  startActivity(shareIntent);
}

You’ll also find methods for setting the subject, email to/cc/bcc addresses, and an HTML version of your text.

Sharing an image is similar:
Intent shareIntent = ShareCompat.IntentBuilder.from(activity)
  .setType(“image/png”)
  .setStream(uriToImage)
  .getIntent();

Preferably using a URI generated from a FileProvider (https://goo.gl/wdBrnk) to ensure all apps can access the file even if they don’t have storage permissions.

On the receiving side, ShareCompat.IntentReader can be used to retrieve the information from intents:

ShareCompat.IntentReader intentReader = ShareCompat.IntentReader.from(activity);
if (intentReader.isShareIntent()) {
  String[] emailTo = intentReader.getEmailTo();
  String subject = intentReader.getSubject();
  String text = intentReader.getHtmlText();
  // Compose an email
}

While not guaranteed from a security or verification perspective, using ShareCompat also includes information on the sending application which the receiving application can take advantage of through IntentReader.getCallingPackage() or the convenience methods such as getCallingApplicationIcon() and getCallingApplicationLabel() allowing your app to attribute shared content if that data is present.

#BuildBetterApps  

Post has attachment
The #evolution of #software #architecture. Nice way to put it.
Photo

Post has shared content
Neat tool for Android Studio that provides support for SQLite databases. Bravo +Yvonne Price 
Introducing SQLScout: a plugin for Android Studio and IntelliJ IDEA that provides support for SQLite, including:

✓ Ability to connect to SQLite databases in Android devices or the file system
✓ Database schema explorer
✓ SQL editor (syntax highlighting, code completion, reference navigation, refactoring, etc.)
✓ Data console to view query results, edit table data, and export contents to different formats
✓ Database diagrams!

For more details (including demos and beta access) please visit http://www.idescout.com

#AndroidStudio   #sqlite   #androiddev  
Photo

Post has shared content
Waiting for +Mark Allison's new #android #library for #materialdesign theming. It will be fully compatible with the support library.
I'm working on a new Android theming library named Prism. There's still a little bit of work to do but I'm aiming to release it in mid-July. The GIF shows it in action being driven by a ViewPager - the only thing not being coloured by Prism is the text within each page of the ViewPager. It integrates fully with the new design support library and supports custom Views as well.

I'll be giving a sneak peek of Prism at the Londroid meetup this coming Tuesday http://www.meetup.com/android/events/223098440

#PrismLib #gde   #androiddev  
Animated Photo
Wait while more posts are being loaded