• Breaking News

    [Android][timeline][#f39c12]

    Wednesday, November 29, 2017

    My naive attempt at Animated Vector Drawable. Used 'shapeshifter' design tool Android Dev

    My naive attempt at Animated Vector Drawable. Used 'shapeshifter' design tool Android Dev


    My naive attempt at Animated Vector Drawable. Used 'shapeshifter' design tool

    Posted: 29 Nov 2017 05:36 AM PST

    square/sqlbrite 3.0: sqlite support library compatibility

    Posted: 29 Nov 2017 08:12 AM PST

    I'd like to share our experience developing an Instant app

    Posted: 29 Nov 2017 11:35 AM PST

    When multiple subscribeOn()s do have effect

    Posted: 29 Nov 2017 06:30 AM PST

    Automated Migration To Room

    Posted: 29 Nov 2017 06:44 AM PST

    Don't forget to inject Android Room SQL language for syntax highlight and autocomplete!

    Posted: 28 Nov 2017 04:42 PM PST

    Any way to make Android Studio default to creating Kotlin classes?

    Posted: 29 Nov 2017 02:03 PM PST

    I might just be overlooking something, but I've always used New->Java Class in the past, and using Kotlin more often now, there's the similar New->Kotlin File/Class option that brings up a dialog that defaults to creating a Kotlin File unless you switch to Class in the Kind dropdown.

    Is there any shortcut or easier way to directly create a Kotlin Class every time? Seems rare for me to create a Kotlin File over a Kotlin Class.

    On more rare occasions I also miss some of the additional options that the Java Class dialog provides, like superclass and package.

    Edit: This is using Android Studio 3.0 Stable

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

    [Discussion] Solution to Google ACCESSIBILITY SERVICE changes

    Posted: 29 Nov 2017 10:06 AM PST

    How do you solve this problem? As you probably know, google does not allow to apps in the play store to use the Accessibility Service for any other reason than for helping disabled people using the phone.

    My solution is following:

    • I make an extension app, that is a service
    • My app communicates with this app and forwards relevant functions to the extension app
    • I only ask people to install the extension if they really need it
    • I explain why I need to do it this way
    • I make the extension app open source to prove, that I'm not misusing the service for bad things
    • I offer the extension app from the github repo for direct install

    This is quite some work but is working for my use case. Still I have to explain the user why he needs to install an app not available in the play store, but it seems like it's the best option...

    Any other/better ideas?

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

    Introducing AWS AppSync – Build data-driven apps with real-time and off-line capabilities (ie. like Firestore but w/o the lock-in).

    Posted: 28 Nov 2017 07:15 PM PST

    Udacity's Android Developer Nanodegree Program (beginner >>> intermediate)? Is it worth it for a complete beginner? Would love to be job-ready in a year.

    Posted: 28 Nov 2017 09:34 PM PST

    Hey guys!

    I would like to learn developing Android apps. I am really interested in programming. I want to change my career and become an Android app developer in the future. I have no programming experience, I am a complete beginner so I need to start somewhere at the very beginning. The only thing I know is that I need to learn and use Java to develop apps for Android. I have been thinking about this for months now and I feel like I still need some suggestions from you. :)

    I have been looking for information on the web about where I should start studying online. I am not a big fan of those simple and free video courses because I definitely need a mentor/guide to guide me, motivate me and answer my questions throughout my "journey". So I found Udacity's Android Developer Nanodegree Program (beginner). After finishing that beginner program, people can proceed to the intermediate program to be job-ready in approximately 1 year.

    Link: https://www.udacity.com/course/android-basics-nanodegree-by-google--nd803

    I really like the idea that there is a community forum with students and teachers. Also, and most importantly, you get a mentor who can help you to understand things better and review your projects, give you thorough feedback. I am willing to pay that $199 fee per month because I would like to take this seriously and, like I said before, become an app developer. Moreover, Google is in collaboration with Udacity. Hmmm... sounds good? Does that matter? Well, it certainly sounds good.

    Anyway, I have read so many positive reviews about these 2 Nanodegree courses. It really seems like I can finally start somewhere. Actually I am excited about it because this course seems like the one I, along with many other beginners, need. Videos, challenges, quizzes, mentors, forums, community, feedback, reviews, projects and portfolios.

    What do you guys think? Is this a good way to start? Should I enroll? With motivation and perseverance, can I become a job-ready app developer within a year by completing these two courses (beginner and intermediate Nanodegree)?

    Thanks for reading my story and I look forward to your answers, suggestions. I really appreciate it. All kinds of advice are welcome.

    Cheers! Have a lovely day!

    ps. Treehouse' Techdegree is similar to this Nanodegree, seems to be the same kind of course, but they do not have an Android app development course at the moment.

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

    App and server compatibility

    Posted: 29 Nov 2017 12:00 AM PST

    Dear /r/androiddev,

    please help me for I am at a loss. For the project I am working on, there is a requirement that our app (iOS and Android native apps) has to be compatible with multiple versions of our server. The problem starts with older server versions that do not have a required REST API endpoint.

    What would be the best approach to solve this predicament without having to completely rewrite our applications using some javascript or other black magic?

    Edit: To elaborate. The user can choose and change the instance of our server any time he wants to by entering its URL. The instance he chooses may not be up to date and not have the latest version of the API.

    Our first idea was to have white labeled versions of our app deployed separately oh their respective stores but Apple killed that idea with their new 'single generic app' policy (see their terms, sections 4.3 and 4.2.6).

    The only thing that we can think of, that will soften the blow, is a cross platform JavaScript solution, which can hopefully be changed at runtime or even be downloaded from the selected server. That will lead to rewriting our existing native apps which we want to avoid.

    One thing left is to have a version compatibility matrix which will determine what to show in the app with the current server version, but that will exponentially increase our apps complexity and maintenance costs.

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

    Phone - Morse Code Key/Paddle Interface

    Posted: 28 Nov 2017 10:08 PM PST

    I am trying to think of ways in which to interface a morse code key/paddle with a cellphone, however some of my preliminary thoughts have lead to anything fruitful yet.

    A morse code ( CW ) key/paddle typicaly uses a 1/8" headphone jack and depending on if it is a paddle or a straight key depends on if it is a 3 ring, or 2 ring jack. A straight key simply connects the two rings on a 2 ring jack to create the tone in a typical radio. A paddle is basically two straight keys in one device and one sides does a dah and one does a dit.

    To practice ham radio operators typically have a keyer / hardware that will create the tones for practice. Amazon Code Practice Oscillator Kit ( No affiliation ) just example.

    My thought is that since my key/radio is already setup to a 1/8" jack is it possible to use a phone to create a keyer instead of having additional hardware. This would allow me to practice anywhere I wanted instead of having to buy additional hardware/carry extra equipment. Plus allows me to learn more about creating apps/programing.

    Some of the thoughts I have had so far are the following:

    • make use of the pause/play/volume up/down features already present in headphones. However from my preliminary research this appears to be done via resistors etc which would mean additional hardware and not key straight into the jack. Although a few resistors isn't a big deal and could easily be had/created.
    • Possible create a small tone at very low volume to be played into the right/left channels and then when the key is pressed it send the voltage to the mic and the app can determine based off the voltage/tone/etc which side of the paddle is pressed or if pressed at all.
    • maybe short out one side or the other to ground and be able to sense the grounding of the right/left channels and play tones accordingly.
    • Alternatively I could do something with the USB however this seems like it may be harder then a headphone interface.

    Do you have any thoughts on how I might be proceed with this small project? I am not looking to make money as the major apps only have a few thousand sales anyways and it really isn't my goal to make a few bucks.

    Thanks.

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

    How to effectively use 3.0 profiler?

    Posted: 28 Nov 2017 05:06 PM PST

    I've ran into some performance problems when changing fragments in one of my apps, and I tried looking for the issue in the new profiler, but I really have no idea what to do and where to look to find what is taking so long. Anyone have any resource/explanation for using the profiler effectively for us newbie amateur devs?

    Also, is it true that apps run faster in release versions than debug versions? If so, how much of a difference can one expect?

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

    Why and How Did I Implement Own Library for Validation?

    Posted: 28 Nov 2017 11:15 PM PST

    App Guide: How to Turn your Idea into an MVP Quickly [Free eBook]

    Posted: 29 Nov 2017 01:13 AM PST

    So I'm working hard on dealing with issues reported years ago ... YouTubeAndroidPlayerApi is one of the worst thing happened to me :D. Share your experience if you have the same thought.

    Posted: 28 Nov 2017 04:36 PM PST

    No comments:

    Post a Comment

    Fashion

    Beauty

    Travel