Profile

Cover photo
Bojan Ilievski
Works at Fridgecheck
Attended FEIT UKIM
Lived in Kumanovo
624 followers|89,654 views
AboutPostsPhotosVideos

Stream

Bojan Ilievski

Shared publicly  - 
 
Get Hype! :D
 
Android Studio 2.0 with Instant Run

One the most requested features we receive is to make app builds and deployment faster in Android Studio. Today at the Android Developer Summit, we’re announcing a preview of Android Studio 2.0 featuring Instant Run that will dramatically improve your development workflow.

Check out the Android Developer Summit Keynote, and watch the Android Studio sessions streamed live from the event for more details.

Android Studio 2.0 is available now in the canary release channel, so we can get your feedback — so let us know what you think!

http://goo.gl/zCpxFb
35 comments on original post
3
Kristijan Ristovski (Kitze)'s profile photo
Add a comment...

Bojan Ilievski

Shared publicly  - 
 
Can't wait :)
 
Lot's of rumors circling the net

We're not quite ready to lift the veils but we can confirm that we have a new hardware partner! 

Stay tuned for more in the coming weeks for info on this next adventure! 
75 comments on original post
1
Add a comment...

Bojan Ilievski

Shared publicly  - 
1
Add a comment...

Bojan Ilievski

Shared publicly  - 
 
http://itsfoss.com/linus-torvalds-to-join-microsoft/
Linus Torvalds To Join Microsoft To Head Windows 9 Project... How could you Linus! :)
1
Add a comment...

Bojan Ilievski

Shared publicly  - 
 
Оваа сабота од 14:00 до 21:00 во Хаклаб темелно ќе се истражува компјутерската сигурност и начините на генерирање на лозинки и нивно трајно чување. Совети како да се заштитите на интернет и како би мо...
1
Add a comment...

Bojan Ilievski

Shared publicly  - 
1
Add a comment...

Bojan Ilievski

Shared publicly  - 
 
 
A flowchart for background work, alarms, and your Android app
Pro-tip by +Ian Lake

For many apps, doing work in the background can be an important part of building a great experience. An alarm registered with AlarmManager (http://goo.gl/FtpShV) is one way to schedule your app to be run sometime in the future, even if your app isn’t in the foreground. What alarm type and API should you use for your app or are alarms even the best option? Let’s go through some of the factors that should influence your opinion:

How often do you want to trigger?
For events less than 60 seconds apart, alarms aren’t the best choice: use the much more efficient Handler (http://goo.gl/CE9vAw) for frequent work.

Want to set a user visible alarm clock?
On API 21+ devices, new APIs allow you to set a user visible alarm via setAlarmClock(): the system UI may display the time/an icon and apps can retrieve the next alarm clock with getNextAlarmClock(). Note that alarms set with setAlarmClock() work even when the device/app is idle (similar to setExactAndAllowWhileIdle()): getting you as close to an exact wake up call as possible. For backward compatibility, you’ll follow the same guide below for a single alarm.

Wake up the device/app while idle (i.e., doze, app standby)?
On Android 6.0+ (API 23) devices, additional power-savings optimizations (http://goo.gl/dVtgz6) have been added in the form of Doze (triggered by a completely stationary, unplugged, and idle device) and App Standby (triggered by an unplugged device on idle apps that haven’t been used recently). You’ll use setAndAllowWhileIdle() for inexact and setExactAndAllowWhileIdle() for exact alarms if you need it to fire an alarm while in these idle states. If it can wait until the user returns to their device/your app, use the standard set() and setExact() to be the best Android citizen and save your user’s battery.

(We’ll be talking more specifically about Doze and App Standby later!)

Just a single alarm?
A single alarm can be set with the aptly named set() method. One thing to keep in mind is that on API 19+ devices when you target API 19+, the system will be treated as inexact, potentially batching alarms together - the alarm will never go off before the time specified, but may go off afterwards. If you have some flexibility in the start time but have a hard deadline, consider using setWindow() to gain more control over the exact time period to be used.

You can use setExact() for a precisely timed single alarms on API 19+ devices, but use these only when the exact timing is required (such as with a calendar reminder).

Need to repeat at a constant rate?
For repeating alarms, batching is the key to good battery life. setInexactRepeating() does exactly that. Prior to API 19, you can use one of the INTERVAL_ constants (such as INTERVAL_HOUR to batch alarms of the same interval. On API 19+ devices, all repeating alarms (no matter what the interval) set with setInexactRepeating() will be batched.

You’ll note there’s also setRepeating() - similar to set() the behavior changes with API 19 from exact to inexact repeating alarms, meaning if you are on an API 19+ device and target API 19+, this functions identically to setInexactRepeating(). If you really need exact repeating alarms on API 19+, set an exact alarm with setExact() and schedule the next alarm once your alarm has triggered - keep in mind the battery implications though!

BUT WAIT: should you even use alarms?
If you want to be as battery efficient as possible (and you should!), consider using JobScheduler (https://goo.gl/CQjbsp) on API 21+ devices or GcmNetworkManager (https://goo.gl/CGNi3p) on all Google Play services enabled devices of API 9+.

Supporting both one off and periodic work, these APIs lack the ability to wake from idle, but gain the ability to wait for network access, wait until the battery is charging, take advantage of automatic backoff and retry, persist across reboots, and batch jobs across the system (meaning lower battery usage!).

That’s a lot of good reasons to use JobScheduler and GcmNetworkManager so consider them strongly in your push to #BuildBetterApps
83 comments on original post
1
alfredo fonseca's profile photo
 
Hey
Add a comment...

Bojan Ilievski

Shared publicly  - 
 
 
A few months ago we introduced an experience on Nexus 5 that made it easier to access all the goodness of Google Now directly from the home screen. Today we’re making that same experience available to more devices when you install the Google Now Launcher on any Nexus or Google Play edition phone or tablet running KitKat.

Google Now Launcher gives you quick access to Google Now, while keeping your apps right where you want them. Just tap home and then swipe right to access Google Now cards that show you just the right information, at just the right time. And anytime you see the search box at the top of your screen, you can say “Ok Google” (if you’re in the US, UK, or Canada), or you can tap the microphone button to trigger voice input. From there, you can ask a question, or tell your phone what to do, like send a message, get directions, or play a song. If you'd rather type your query, tap the Google search box, which now loads faster than ever.

Google Now Launcher also gives you a beautiful, immersive, and simple experience. The full-screen, larger viewing area lets your wallpaper pop from every pixel. And of course you can place your favorite apps anywhere you like.

If you’ve got a Nexus or Google Play edition device with Android 4.4 KitKat, try Google Now Launcher today by getting it from the Google Play Store here:
https://play.google.com/store/apps/details?id=com.google.android.launcher
455 comments on original post
1
Add a comment...
Collections Bojan is following
Work
Occupation
Android developer
Employment
  • Fridgecheck
    Android developer, 2014 - present
  • 4Ward Ltd.
    Junior Software Developer
Places
Map of the places this user has livedMap of the places this user has livedMap of the places this user has lived
Previously
Kumanovo - Skopje
Story
Tagline
geek... :D
Introduction
Android developer, GNU/Linux enthusiast, B.Sc. of Electrical Engineering and Information Technologies...
Education
  • FEIT UKIM
    Computer Science and Engineering, 2012
Basic Information
Gender
Male