• Breaking News

    [Android][timeline][#f39c12]

    Monday, August 31, 2020

    Weekly "who's hiring" thread! Android Dev

    Weekly "who's hiring" thread! Android Dev


    Weekly "who's hiring" thread!

    Posted: 31 Aug 2020 05:44 AM PDT

    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 - August 31, 2020

    Posted: 31 Aug 2020 03:56 AM PDT

    This thread is for simple questions that don't warrant their own thread (although we suggest checking the sidebar, the wiki, our Discord, 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]

    Kotlin Multiplatform Mobile goes Alpha – Kotlin Blog

    Posted: 31 Aug 2020 10:07 AM PDT

    A comprehensive list of learning resources for understanding Jetpack Compose in Android.

    Posted: 31 Aug 2020 01:10 PM PDT

    Am I wasting my time with Flutter?

    Posted: 31 Aug 2020 12:32 PM PDT

    At my new work they want me to also contribute to Flutter. I want to spend most of my time getting experience in Android native. That's what I'm working on, yet they want to pull me into Flutter too. Is this a red flag and should I look elsewhere for work, or is it a good skill to have?

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

    Android R One-Time Permission Expiration Sometimes Kills Alarms, Jobs, More

    Posted: 30 Aug 2020 11:55 PM PDT

    Jetpack ViewModel != viewmodel (MVVM)?

    Posted: 31 Aug 2020 12:15 PM PDT

    Awhile back when I first got into Android development, I remember reading that the Jetpack ViewModel is not the same as the viewmodel in the MVVM design pattern. I don't really understand how are they different. The viewmodel in MVVM seems to be the bridge between the model and the view. The Jetpack ViewModel is doing exact is it not?

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

    [Dynamic Feature] App already in Playstore causes problem?

    Posted: 31 Aug 2020 06:33 AM PDT

    Hello,

    My app is already in the Playstore. I want to add a dynamic feature to it.

    Whenever I try to test and see if it works with internal tests, it gives me error -2 and says that it can't find the feature's module. Which is weird because the bundle I uploaded has it.
    Could this be because when it tries to download it, it gets confused by the app that's already in the playstore (Which does not have the module)?

    Thanks.

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

    Android Studio does not run maximized?

    Posted: 31 Aug 2020 12:28 PM PDT

    So I noticed that whenever I open a project, the window is never maximized and I have to do it manually every single time. I've tried setting run to maximize (open file location => properties => run => maximized) and it still doesn't work. Does anyone know how to solve this?

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

    Android Weather Forecast App implemented in MVP Architecture using Kotlin that enable users to have instant access to weather data.

    Posted: 31 Aug 2020 09:44 AM PDT

    How do you synchronize Espresso UI tests? Let's talk!

    Posted: 31 Aug 2020 09:34 AM PDT

    Users are getting more and more pissed off at Admob interstitial ads that have no way of exiting them. Anyone else?

    Posted: 31 Aug 2020 02:58 PM PDT

    Looking for an experienced developer to practice android system design interviews with

    Posted: 31 Aug 2020 07:19 AM PDT

    Title says it all, if you're currently in a process and like to practice android system design and coding questions with like minded peers - reply here =)

    Mods - let me know of the post is ok (looks like it aligns with the rules)

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

    Good project examples / practices

    Posted: 31 Aug 2020 02:43 PM PDT

    Does anyone have a good resource for learning android dev, but for people that already have decent coding experience (java backend in my case)?

    Something like: https://spring.io/guides, but with code repos. You know, best practices.

    The thing is, I'm trying to translate my experience to android, and I simply don't know which frameworks / approaches are unpopular / dead ends. I spent years on MS stacks / C#, and when I got tired of MS abandoning its frameworks I just moved to Java, and never looked back.

    For an example, right now I'm trying to figure out what is the recommended approach to IoC (dependency injection). One candidate is Hilt https://developer.android.com/training/dependency-injection/hilt-android.

    Is there something like Spring for Android?
    This one https://projects.spring.io/spring-android/#quick-start seems to be a "port" of a handful of libs: https://github.com/spring-projects/spring-android-samples. Not a "real" Spring experience.

    The thing is, in java world most project are on Spring, or Java EE (legacy projs in my opinion). But even within Spring there are multiple frameworks that do the same thing. Db layer for an example, be it some implementation of JPA, or jOOQ, MyBatis,... All of them have their usages, but the most popular is Spring Data, as a JPA provider. So you have to know that one.

    Don't know where to start :)

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

    How do I get the app's local directory?

    Posted: 31 Aug 2020 02:14 PM PDT

    I am basically trying to create a file to save PDF files in, and a json file. For that I need the local directory. I tried "filesDir", and I tried "applicationContext.cacheDir", both gave me the save location, when I create a file on them it gives me no error, and checking if it exists works, but when I manually go into the app's local directory it doesn't show me any files, and if I try opening the file in the app it gives me an error saying that I am trying to open a null reference. Any idea what I am doing wrong? I have everything to set up permissions and stuff.

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

    Android Studio 4.1 RC 2 available

    Posted: 31 Aug 2020 10:05 AM PDT

    Structural Class Redefinition

    Posted: 31 Aug 2020 09:43 AM PDT

    Is EncryptedSharedPreferences the way to store sensitive data (username + pw) ?

    Posted: 31 Aug 2020 07:28 AM PDT

    Identify Language of Text on Android Using Google’s ML Kit

    Posted: 31 Aug 2020 11:36 AM PDT

    Identify the language of a text with the power of mobile machine learning Link: https://heartbeat.fritz.ai/identify-language-of-text-on-android-using-googles-ml-kit-edca327222cb

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

    Android PhoneNumberKit Library

    Posted: 31 Aug 2020 10:34 AM PDT

    Android PhoneNumberKit Library

    Hi,

    I published a library to parse and format international phone numbers, it is based on Google's lilPhoneNumber package. It allows us to validate, normalize and extract the elements of any phone number string, get detected country flag of phone number, phone number masking on material editTextLayout and more... I'm developing it recently, I'm open to any advice. Thanks.

    https://github.com/ibrahimsn98/PhoneNumberKit

    Some in-app screenshots:

    https://preview.redd.it/k17mb4iiidk51.jpg?width=270&format=pjpg&auto=webp&s=806966fba428b2f890544f543768bdd108b71465

    https://preview.redd.it/terr31vgidk51.jpg?width=270&format=pjpg&auto=webp&s=8980b15bf26c8a52a664024520de3eff3da0dc38

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

    Is it possible to have an app interact with another app or website on the background.

    Posted: 31 Aug 2020 10:02 AM PDT

    Hi all,

    I've wanted to create an app to automatically sign me up for CrossFit lessons.

    The problem is that signing up for these lessons is only possible at 00:01 the day before and it's rather busy so if I wake up at around 08:00 it's mostly fully booked. So I'm looking to create an app in which I can enter the lesson I want to follow and then that the app will automatically go to the website or app at 00:01 to press the right buttons and sign me up.

    I would like to know if this is possible to do since I can't find the answer anywhere before I go figure out how to do it.

    Thanks in advance!

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

    Try out my new Game ��❤️ Save the CUBE from the angry Eagles �� Shoot, Jump, Hide and Fight ��

    Posted: 31 Aug 2020 12:31 PM PDT

    How do you call a game where you have to guess a picture which slowly reveals itself?

    Posted: 31 Aug 2020 04:30 AM PDT

    Whats your take on mobile ad networks?

    Posted: 31 Aug 2020 04:01 AM PDT

    Rant on ad networks : I have used admob a year ago but then it got terminated in couple of months without payment. They stated own clicks which hadn't done. Then I switched to facebook ad network and after a year they terminated my account too without any reasoning? Like they dont want to pay the devs or what. Moreover I had meager earnings may be around 6$ in a year and now they block me after a year? Like what the hell? Which ad network I am supposed to use now? The worst part is they dont specify reason clearly or dont specify at all. No one is there to help at customer service. Guys need your insights.

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

    Build Conversational Actions for Google Assistant using the new Actions Builder and Actions SDK

    Posted: 31 Aug 2020 03:37 AM PDT

    Build Conversational Actions for Google Assistant using the new Actions Builder and Actions SDK

    Learn how to build chatbots and conversational Actions for the Google Assistant using the new Actions Builder and Actions SDK. Learn directly from the experts on how to build actions from scratch.

    Youtube: Actions Builder and Actions SDK Playlist

    https://preview.redd.it/pj5ny4qqebk51.png?width=1280&format=png&auto=webp&s=931e159367fb7efb2cbdfb44b723b9bd2340339d

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

    SQL LITE syntax error

    Posted: 31 Aug 2020 09:15 AM PDT

    Hello.

    I keep getting this error. no such column: Meditation while compiling: Select habit_time from TimeHabit where habit_name= Meditation AND habit_date= 2020731

    Here is the code.

    public class SQLiteHandler extends SQLiteOpenHelper {
    private Context context;
    private static final String DATABASE_NAME="CalendarHabit.db";
    private static final int DATABASE_VERSION=1;

    private static final String TABLE_NAME="TimeHabit";
    private static final String COLUMN_NAME="habit_name";
    private static final String COLUMN_DATE="habit_date";
    private static final String COLUMN_TIME="habit_time";

    public SQLiteHandler(@Nullable Context context) {
    super(context, DATABASE_NAME, null, DATABASE_VERSION);
    this.context=context;
    }

    u/Override
    public void onCreate(SQLiteDatabase db) {
    String query=
    "CREATE TABLE " + TABLE_NAME +
    " (" + COLUMN_NAME + " TEXT, " +
    COLUMN_DATE + " TEXT, " +
    COLUMN_TIME + " TEXT " + " )";
    db.execSQL(query);

    }

    u/Override
    public void onUpgrade(SQLiteDatabase db, int oldVersion, int newVersion) {
    db.execSQL("DROP TABLE IF EXISTS " + TABLE_NAME);
    onCreate(db);

    }

    void addHabitTime(String name,String date,String time){
    SQLiteDatabase db=this.getWritableDatabase();
    ContentValues cv=new ContentValues();
    cv.put(COLUMN_NAME,name);
    cv.put(COLUMN_DATE,date);
    cv.put(COLUMN_TIME,time);

    long result=db.insert(TABLE_NAME,null,cv);
    if(result==1){
    Toast.makeText(context,"Failed",Toast.LENGTH_SHORT).show();
    }else{
    Toast.makeText(context,"Succesfull", Toast.LENGTH_LONG).show();
    }
    }

    String readDataBase(String name,String date){
    String query="Select " + COLUMN_TIME +" from TimeHabit where " + COLUMN_NAME + "= " + name + " AND " + COLUMN_DATE + "= "+ date;
    try{
    SQLiteDatabase db=this.getWritableDatabase();
    Cursor cursor=db.rawQuery(query,null);
    cursor.moveToFirst();
    return cursor.getString(0);
    }catch (Exception e){
    e.printStackTrace();
    return null;
    }
    }
    }

    submitted by /u/Carstica-Adrian
    [link] [comments]

    No comments:

    Post a Comment

    Fashion

    Beauty

    Travel