• Breaking News

    [Android][timeline][#f39c12]

    Monday, November 27, 2017

    Weekly "who's hiring" thread! Android Dev

    Weekly "who's hiring" thread! Android Dev


    Weekly "who's hiring" thread!

    Posted: 27 Nov 2017 04:45 AM PST

    Looking for Android developers? Heard about a cool job posting? Let people know!

    Here is a suggested posting template:

    Company: <Best Company Ever>
    Job: [<Title>](https://example.com/job)
    Location: <City, State, Country>
    Allows remote: <Yes/No>
    Visa: <Yes/No>

    Feel free to include any other information about the job.

    submitted by /u/AutoModerator
    [link] [comments]

    Weekly Questions Thread - November 27, 2017

    Posted: 27 Nov 2017 02:55 AM PST

    This thread is for simple questions that don't warrant their own thread (although we suggest checking the sidebar, the wiki, or Stack Overflow before posting). Examples of questions:

    • How do I pass data between my Activities?
    • Does anyone have a link to the source for the AOSP messaging app?
    • Is it possible to programmatically change the color of the status bar without targeting API 21?

    Important: Downvotes are strongly discouraged in this thread. Sorting by new is strongly encouraged.

    Large code snippets don't read well on reddit and take up a lot of space, so please don't paste them in your comments. Consider linking Gists instead.

    Have a question about the subreddit or otherwise for /r/androiddev mods? We welcome your mod mail!

    Also, please don't link to Play Store pages or ask for feedback on this thread. Save those for the App Feedback threads we host on Saturdays.

    Looking for all the Questions threads? Want an easy way to locate this week's thread? Click this link!

    submitted by /u/AutoModerator
    [link] [comments]

    Final preview of Android 8.1 now available

    Posted: 27 Nov 2017 10:39 AM PST

    Building a layout from Scratch using ConstraintLayout by Rebecca Franks

    Posted: 27 Nov 2017 09:44 AM PST

    Thinking of architecture components for the first time - really confused & need help

    Posted: 27 Nov 2017 10:41 AM PST

    hi guys, im an old school android programmer and am targetting devices in India - so i have support everything all the way up from Android 4.4 even today.

    I'm hesitantly dipping my toes into architecture components now and am very confused. Some of these questions may sound really dumb, but would appreciate some help. I'm coming from a place where I have a legacy app already working, so this is kind of harder for me.

    What all should I be using and not using:

    1. MVVM vs MVP. What parts are absolutely needed ? For example I think ViewModel and LiveData are must have. What about Repositories, etc ?
    2. Room vs plain sqlite (remember that people have already installed my app and have sqlite)
    3. Dagger vs something else (we already use Dagger in our app already).
    4. ButterKnife vs something else
    5. RxJava1 - > RxJava 2 (this im going to do)
    6. My current app is in java. Should I switch to Kotlin while doing this conversion or after ?
    7. is there anything new for backstack and navigation ?
    8. Is everyone using ConstraintLayout now ?
    9. Is View still a good thing ? I'm especially concerned about screen rotation. In the olden days we used to use Retained Fragments and all... I'm confused on how that has changed.
    10. What happens to backstack ? Some places i have read that this is handled in ViewModel ... in other places it seems a no-no. What is the right way ?
    11. Are people still using stuff like Retrofit for APIs ?

    Really appreciate any help.

    submitted by /u/sandys1
    [link] [comments]

    Android camera developer: My experience with Android Camera APIs

    Posted: 27 Nov 2017 10:15 AM PST

    This is my experience after testing camera1 thoroughly with a test app on 4 (older and newer) devices.

    android.hardware.Camera (camera)

    • Isn't it deprecated? Yes, officially - to push developers to the new API, but you better don't believe it! Many devices with SDK version >= 21 (Lollipop or higher) only support the camera2 legacy implementation that internally uses the first API. Many relatively new devices (example: Samsung Galaxy A3 2014/6) still use this implementation, which has some bugs and is slower because streams must be converted to formats compatible with camera2. Additionally, camera1 String parameters supported by manufacturers are not mapped to camera2, so I may be able to set sensor sensibility (ISO) manually on camera1 while never being able to access it on camera2 in legacy mode. (At least I did not come across devices that support this mapping correctly.) camera2 should only be used on devices with hardware level != legacy. Thats it! An alternative would be to implement camera2 as a kind of drop-in-replacement library and to refactor this mapping.
    • focus modes: Different cameras do different things when changing to focus modes. Some set the focus to the closest point, when setting it to macro, others don't change focus. Usually focus should only change when autoFocus() is called in non-continuous AF mode.
    • calling autoFocus() in continuous modes: On some devices the locks are not preserved and focusing starts again after some seconds, on others, the lock persists until cancelAutoFocus() is called.
    • A focus lock gained with autoFocus() in auto/macro mode may persist until the next picture, until preview stops or until camera is released, depending on the device.
    • On some devices, focus areas are less reliable in continuous focus modus. Manual refocusing by changing to AUTO or MACRO and then calling autoFocus() may be necessary to get satisfactory results.
    • There are bad bugs in camera implementations. For example, parameters.getMaxNumMeteringAreas() may return 1, but setting the areas has no effect.
    • Callbacks may be called after camera has been released, and consecutive calls to the camera instance result will fail.
    • The preview callback in takePicture() may be called or not, if given, the other callbacks are always called, if given.
    • parameters.getHorizontal/VerticalViewAngle(): Some devices offer a completely wrong or slightly wrong value.
    • The worst thing: Image data of some second-rate models is made worse by reducing image information, for example, by aggressive denoising or edge-"enhancing" algorithms (which always reduce important details if it is a live algorithm). Some of this may be corrected by tuning certain string parameters. For example, my Galaxy A3 (2014) had less optical resolution with an 8 Mpx sensor than my iPhone 4! After tuning some string parameters (denoising, reducing contrast and sharpness ...) the images had full resolution and had nearly perfect colors. Yes, I needed to reduce sharpness and contrast to accomplish this. This was my motivation to build my own Android app, a camera hack which I preferred to any other camera app available. These manipulations by manufacturers seem to be by intent and are probably a part of a business strategy to make customers choose a more expensive model.

    android.hardware.camera2

    I still haven't much experimented with it. Your points are welcome here.

    submitted by /u/Androidist
    [link] [comments]

    Fragmented Podcast 104: Conversations with GNOME/Mono/Xamarin creator Miguel and VS App Center PM Simina

    Posted: 27 Nov 2017 09:46 AM PST

    Multi-Project Clean Arch TODO app

    Posted: 27 Nov 2017 04:35 AM PST

    Getting into App Development. Whats my next step?

    Posted: 27 Nov 2017 12:58 PM PST

    I'm a web designer looking to getting into android app development. I know HTML, CSS, and JavaScript and wonder what app building programs would best suit my situation. I looked at Android Studio and it seems a bit too complicated for me at the moment.

    I realize that I need to learn this and plan on doing so in the future. Just wondering if there is anything a bit easier where I can begin building some starter apps for myself and learning a bit more about the process. I've seen people advertising Ionic? Is that a good place to start?

    submitted by /u/amindunleashed
    [link] [comments]

    Moving translations to the backend

    Posted: 27 Nov 2017 10:13 AM PST

    Hi. I work for a small startup and we're currently three developers, each working on our own platform (iOS native, Android native and a Web App in Angular 2/4/whatever it is now), where we also do translations separately for all platforms. This means we're repeating these translations three times. Basically the web app translations is a superset of the mobile applications (contains all the same strings and more). The apps should be able to share the exact same translations.

    Does anyone have experience with moving translations out of native apps/the web app and to the backend? I'd imagine it to be a larger upfront cost, but that it's going to be very beneficial in the long run.

    submitted by /u/SelfAnatomist
    [link] [comments]

    Need advice on what's to come and what to learn?

    Posted: 27 Nov 2017 03:09 AM PST

    i thought i'd learn mobile development after becoming decent in web development.

    Well since i know React, go with React Native...

    oh great...start learning it

    realize that there are lot of issues, where people are able to build 98% app but you have to know native programming to do last 2%... -__- might as well learn native than, how hard can it be....

    figure out what to learn

    ios or android

    hmmm i dont have an iphone so lets start with android, cool..

    in android you use java, but wait IOS has new thing swift that apple supports

    maybe there is something for android too since i hate java since college

    turns out there is and andriod studio actually just started to support it great!!!!

    start learning kotlin and android, 2 weeks into it learn google has demoed a new whole operating system Fuchsia OS ... it can replace Android completely

    hmmm dont wanna learn something that's going to be obsolete...lets get advice

    ask google engineers on quora

    they say lot of things learned will be carried over, if gets replaced

    continue learning android but then...

    learn of new thing called Flutter, which Fuchsia OS is using for UI too

    and Flutter can be used to build app for Both platforms right now

    however uses Dart.....

    really wanna learn it, but know too early must wait

    New news Google engineers are adding Swift support to Fuschia OS

    ......

    since Fuchsia OS uses Flutter, does it mean Flutter is getting Swift support beside having Dart.

    does this mean in future you'd be able to create Fuschia, Android/IOS (Flutter) apps using just Swift.

    And learning kotlin/android/java would be if not waste of time, less than ideal way.

    submitted by /u/techsin101
    [link] [comments]

    Inform users about new features without pushing update.

    Posted: 27 Nov 2017 07:56 AM PST

    Let's say I want inform users when something interesting is happening around my app. I don't want spam them with notifications. Perfect solution would be dialog displayed on app start, but I don't want publishing update for each event. What are my options?

    submitted by /u/shavn
    [link] [comments]

    What's New in the Android 8.1 Developer Preview

    Posted: 27 Nov 2017 02:01 PM PST

    Did you ever add ads only on button click in your app and how was your income?

    Posted: 27 Nov 2017 04:06 AM PST

    I'll be adding ads to my app soon. As I don't want to shock my users I was thinking of putting little "tip" icon in the top left corner of the app (even possibly floating button) where on click full screen ad would appear. Anyone did this and was your income better or worse then the normal banner ad?

    submitted by /u/Nvidia1060croatia
    [link] [comments]

    Android Intents Tutorial with Kotlin

    Posted: 27 Nov 2017 12:40 PM PST

    Android Internals For Developers : Part I – AndroidPub

    Posted: 27 Nov 2017 03:34 AM PST

    Know how to use Facebook Litho - a declarative UI framework for Android

    Posted: 26 Nov 2017 09:22 PM PST

    I want to create an app for the sports event of my college. Any ideas or cool libraries that I can use for great UI?

    Posted: 27 Nov 2017 10:16 AM PST

    Looks like latest android emulator images at least partially support wifi emulation.

    Posted: 27 Nov 2017 09:57 AM PST

    Just downloaded latest android-26;google_apis images from canary channel (version 7 for Oreo ones), seems they now support wifi hotspot emulation. Wifi config is now stored in .android/avd/<your_avd>/data/misc/wifi . Good thing for those who run UI tests on real and virtual devices, now you dont need to differentiate connections.

    submitted by /u/serpentward_rd1
    [link] [comments]

    I created a small Android app(side project) for tracking cryptocurrencies using MVP pattern. I want write more beautiful code/apps. A Code Review would be highly appreciated.

    Posted: 27 Nov 2017 03:36 AM PST

    Is it worth to translate app into Swedish, Danish, Norwegian or Hindu language?

    Posted: 27 Nov 2017 01:37 AM PST

    Hello Community I hope this is a proper place to ask such a question if not please let me know :) I am wondering to translate my app to Swedish Danish and Norwegian as well with Hindu (my app has a great potential there) These markets have great understanding of english. But I am wondering if its worth to localize your app on those markets? What is your experience ? Thanks!

    submitted by /u/localhero247
    [link] [comments]

    Wishes to become an android developer!

    Posted: 26 Nov 2017 08:43 PM PST

    Hello developers, I'm a 26 year old man graduated last year with degree in engineering but have no coding experience and have recently wanted to become a android developer. Kotlin

    1. So Java is used mainly for the development and Kotlin which was introduced recently I believe. Is it uncommon to self teach android developing and land an entry level position?

    2. Would Java be a little too overwhelming for someone with no coding experience?

    3. Any additional advice would be great.

    thank you

    submitted by /u/jifewgef
    [link] [comments]

    No comments:

    Post a Comment

    Fashion

    Beauty

    Travel