• Breaking News

    Tuesday, May 5, 2020

    Android Dev - Android Studio Emulator killed by Riot Vanguard

    Android Dev - Android Studio Emulator killed by Riot Vanguard


    Android Studio Emulator killed by Riot Vanguard

    Posted: 04 May 2020 09:33 PM PDT

    Just an FYI to anyone who has Riot Vanguard installed as a part of Valorant-- When Vanguard is active it will immediatly terminate your Android Emulation even with a Cold Boot.

    I spent 4 hours pulling my hair out and ultimately uninstalled every package as well as all of Android Studio and didn't see any fix. My emulator was being killed with an error code 0 and no other logs.

    I finally randomly disabled Riot Vanguard because I remembered reading it had kernel level permissions to block certain drivers and the second that I disabled it, my emulation worked perfectly normal.

    If anyone is seeing their emulation randomly die who also has Vanguard installed, please give this a shot and let me know if it works.

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

    The Best Android UI Testing Tool (v2)

    Posted: 05 May 2020 02:55 AM PDT

    Restore RecyclerView scroll position - Android Developers

    Posted: 04 May 2020 08:54 AM PDT

    Some good explanations regarding the use of brand names.

    Posted: 05 May 2020 03:06 AM PDT

    Android Development Interviews Preparation Series

    Posted: 05 May 2020 03:06 AM PDT

    Hi! I want to share my first Android Game! I didn't use any game framework, just pure Java!

    Posted: 05 May 2020 07:51 AM PDT

    My first Medium article: Refactoring my backup and restore feature to comply with Scoped Storage

    Posted: 05 May 2020 03:49 AM PDT

    Fabric Crashlytics deprecated, upgrade to Firebase Crashlytics before November 15 to keep receiving reports

    Posted: 05 May 2020 07:35 AM PDT

    So, as it was announced, Fabric is no longer available from today and now we'll have to use Firebase instead.

    Plus... I've checked the Product Roadmap in their web, and if you hover "Firebase Crashlytics SDKs", now it says:

    The Fabric SDK is now deprecated and will continue reporting your app's crashes until November 15, 2020. To continue receiving crash reports for your app, make sure you upgrade to the generally available Firebase Crashlytics SDK before that date.

    Time to migrate to that SDK!

    Oh, and fun fact: the page is still showing this message.

    The Firebase Crashlytics SDK for Android is a beta release. This means that the functionality might change in backward- incompatible ways. A beta release is not subject to any SLA or deprecation policy and may receive limited or no support.

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

    how to interface with a database from your app

    Posted: 05 May 2020 07:07 AM PDT

    So... I am looking online, and I see people say a few different things...

    1)you should make a server to interface with your db instead.

    I have actually already done this.... but it isn't a web server, it is a java node.js management system. it connects and edits fields as needed, but, it does not have a web interface.... and.... most of these statements don't really tell me how people tend to interface in general...

    2) I found a tutorial that connects directly to a mongoDB in code, and it looks nice, but if the above is true, it is likely due to security... so is this ill advised? link to the tutorial below.

    https://insights.nimblechapps.com/app-development/android-app-development/using-mongodb-storing-retrieving-data-android

    I am making a web crawler that searches your emails for keywords, the utility is less important than learning all the steps i guess X/.

    I already have a java program that deploys node.js bots with alternating credentials that pull the fields from the DB and search email addresses on listing, but i need a way to have the user-side on app insert or delete new search fields.... i want to also have push notifications in the future but im not there yet...

    any advice or link to tutorials would be appreciated!

    would a websocket be better? if so... I still wouldn't know how to interface with it X/

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

    Huawei Mobile Services

    Posted: 05 May 2020 01:04 AM PDT

    So my company would like us to try and implement these services on a parallel build to target users which don't have the Google Play Services on their devices. Anyone has any feedback on using them? What should I expect? Is it worth the effort?

    https://developer.huawei.com/consumer/en/hms

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

    If I want to build a cross-platform app with a Duolingo-like UI/UX, should I go with React Native or learn enough Kotlin (for the Android part) to make it?

    Posted: 05 May 2020 06:36 AM PDT

    How do I handle Fragment Navigation with a Bottom Navigation Drawer using Navigation component?

    Posted: 05 May 2020 05:25 AM PDT

    The menu items can be clicked again after navigating to the destination fragment. This just ends up recreating that fragment.

    Once I am on the destination fragment how do I disable the menu item for this fragment on the navigation drawer?

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

    What are some good GitHub apps for Android?

    Posted: 05 May 2020 03:40 AM PDT

    I am looking for some good 3rd party GitHub apps to improve my workflow. Something which catches sudden increase in apk size, addition of unoptimized images, missing string translations, and lint checks. I have faced all these issues before. Any recommendations?

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

    how hard would it be to develop a ninjump clone game

    Posted: 05 May 2020 03:31 AM PDT

    as the title states I have a final project that I and my partner in the project need to do, I am some what capable with android studio I just don't know if I should make an android ninjump clone game or is that too hard or should I look for another project and we are not allowed to use unity or any other program other then android studio

    the game should look something like this but simpler . any help like doc and useful libraries would be greatly appreciate.

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

    We've just release AppIntro v6.0.0 - Now 100% Kotlin with a lot of new animations & features to help you build introduction for your app in just some seconds

    Posted: 04 May 2020 12:05 PM PDT

    Looking for Feedback: Android Retained Instance library

    Posted: 05 May 2020 02:36 AM PDT

    Hi everyone, I'm looking for feedback about a library concept that I developed a few months ago to retain objects across configuration changes without using VMs but without losing what VMs already offers. As this library has been used only in small side-projects, I would be happy to know what you think and if you see any downside of this approach.

    My main use case is: I want to retain Dagger components across configuration changes and to add the `ViewModelScope` and `SavedStateHandle` inside my graph, as my side-project uses Coroutines all the current jobs will be terminated with the scope (ViewModelScope) and I can still contribute with saving state in case of process death (SavedStateHandle) inside any object.

    Usage example:

    class MyActivity : AppCompatActivity() { private val component: MyComponent by retainInstance { /* create your Dagger component, passing `ViewModelScope` and `SavedStateHandle` to your graph. */ } // called on onCreate. fun onInject() { component.inject(this) } } 

    You can find it here: https://github.com/marcellogalhardo/android-retained-instance

    Thank you in advance.

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

    Keep up to Date With Your Best On-Demand Food Delivery App!

    Posted: 05 May 2020 05:51 AM PDT

    Free Kotlin course for beginners by Donn Felker

    Posted: 04 May 2020 10:02 AM PDT

    Vosk Offline Open Source Speech Recognition Library Supporting 9 Languages

    Posted: 04 May 2020 05:14 PM PDT

    Vosk is an open source speech recognition toolkit. The best things in Vosk are:

    1. Supports 9 languages out of box: English, German, French, Spanish, Portuguese, Chinese, Russian, Turkish, Vietnamese. More will be supported soon.
    2. Supports speaker identification beside simple speech recognition.
    3. Works offline, even on lightweight devices - Android, iOS, Raspberry Pi
    4. Portable per-language models are only 50Mb each, but there are much bigger server models for accurate speech recognition.
    5. Provides streaming API for the best user experience (unlike popular speech-recognition python packages).
    6. Allows quick reconfiguration of the vocabulary for best accuracy.
    7. Implements continuous large vocabulary recognition, not just few commands.

    To try the demo, simply clone the demo project from Github and import into Android Studio.

    https://github.com/alphacep/kaldi-android-demo

    You can also try prebuilt APK.

    For the source code and build instructions visit main library project.

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

    Room DB retrieve single record

    Posted: 05 May 2020 12:24 AM PDT

    Hello,

    i have been playing with room db and i came to the point where i have no idea how properly get the single record from database inside single event (eg button click in mainactivity), i am able to update the recycler view, but in this case i have no idea and to be honest i was not able to find appropriate understandable example for me. Here are I think the most important parts of code.

    Organisation.java

    // Organisation object @Entity(tableName = "Organisations", indices = { @Index(value ={"orgId"}, unique = true), @Index(value = {"orgName"}, unique = false) } ) public class Organisation { @PrimaryKey @ColumnInfo(name = "orgId") private int orgId; @ColumnInfo(name = "orgName") private String orgName; // contructor public Organisation(int orgId, String orgName) { this.orgId = orgId; this.orgName = orgName; } /* getters */ public int getOrgId() { return orgId; } public String getOrgName() { return orgName; } /* setters */ public void setOrgId(int orgId) { this.orgId = orgId; } public void setOrgName(String orgName) { this.orgName = orgName; } @NonNull @Override public String toString() { return "Organization ID: " + orgId + " Organization name: " + orgName; } } 

    DatabaseDao.java

    @Query("SELECT * FROM Organisations WHERE orgId = :idOrg") LiveData<Organisation> getOrganisation(int idOrg); 

    DatabaseRepository.java

     public LiveData<Organisation> getOrganisation(final int orgId) { return databaseDao.getOrganisationById(orgId); } 

    MainActivity.java

    btnViewProduct = findViewById(R.id.btnViewProduct); etViewId = findViewById(R.id.etOrgId); tvViewOrganisation = findViewById(R.id.tvProductContent); btnViewProduct.setOnClickListener(new View.OnClickListener() { @Override public void onClick(View v) { String result = ""; // placeholder for result tvViewOrganisation.setText(result); } }); 

    I will be very grateful if i could get any answer. Or any project where i could see anything I could just follow

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

    A GitHub user tracking app! ��️

    Posted: 05 May 2020 12:19 AM PDT

    A GitHub user tracking app! 🕵️

    screenshot.png

    Spoiler : Another dumb project ahead! 🤪

    So there's this person you follow on GitHub, but you feel like GitHub's feed shows only minimal activities of the user. Then this app is for you

    https://github.com/theapache64/tracktor

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

    Unable to download Android Studio.

    Posted: 04 May 2020 11:28 PM PDT

    I'm using the official site of course, and the moment I click on the download button, it redirects to this site and says "redirector.gvt1.com refused to connect."

    I've tried multiple times even in incognito mode but it just won't download the damn thing, any help?

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

    What popular Android apps use Google APIs?

    Posted: 04 May 2020 01:10 PM PDT

    Working on a new Android App and trying to get a sense of how many existing apps out there actually use Google APIs.

    Obviously apps like Uber/Deliveroo (transport-related) use the Maps API, but are there some really popular apps using Google that people would never really know about? Curious and interested in this!

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

    No comments:

    Post a Comment