• Breaking News

    [Android][timeline][#f39c12]

    Wednesday, January 1, 2020

    GitHub - A Pokedex app using ViewModel, LiveData, Room and Navigation Android Dev

    GitHub - A Pokedex app using ViewModel, LiveData, Room and Navigation Android Dev


    GitHub - A Pokedex app using ViewModel, LiveData, Room and Navigation

    Posted: 01 Jan 2020 09:35 AM PST

    Question: Do you know why "Google play services" needs all these permissions?

    Posted: 01 Jan 2020 08:30 AM PST

    Modeling States vs. Facts

    Posted: 01 Jan 2020 01:22 PM PST

    Can anyone identify this device?

    Posted: 01 Jan 2020 01:00 AM PST

    Can anyone identify this device?

    I've been getting this Crash report but can't identify what device this is.

    Any ideas?

    Thanks.

    https://preview.redd.it/20h8fxqgt4841.png?width=708&format=png&auto=webp&s=ab071c7aabf929fcc885394483904bb8e690a33d

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

    Edge-to-Edge: Android library for enabling edge-to-edge content and insetting widgets using simple Kotlin DSL

    Posted: 01 Jan 2020 06:25 AM PST

    AdMob invalid traffic

    Posted: 01 Jan 2020 09:00 AM PST

    Google took away almost €4000 in two months of my AdMob revenue claiming invalid traffic. Never ever had I any problems with this at such a large scale. Does anyone have experience with this or does anyone know someone who can help me because this is absurd.

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

    What's the best way to promote your app?

    Posted: 01 Jan 2020 08:59 AM PST

    Hi there, i have an app on Google Play that i released back in 2018 and i didn't implement everything i wanted or should have back then. So far (1/1/2020) the app has 30K+ downloads but only 2K active installs with the DAU hovering around 300-400. Obviously, since the app wasn't finished yet and i made the mistake of releasing it, things didn't go well as far as user retention or monetization goes (Currently, i'm making around 50 Euros/month with one Interstitial ad using Admob).

    I recently rebuilt the app from scratch( changed the UI completely, added tons of functionality, etc.) and it is now basically the app it should have been back in 2018. I haven't released the big redesign yet because i have some thoughts. Since this is my first actual app, i'm not quite sure where to begin in order to promote it and monetize it correctly. Is there a way to create ads for it on the PlayStore or through Admob? Are reddit ads a good option since my app caters to a specific gaming community here on reddit? Is Admob a viable option for monetizing my app or is there another network like it that offers higher ad filling and/or multiple ad sources*?

    What's your experience with admob monetization and app promotion? Obviously i'm a bit lost here so any advice will do. Thanks in advance

    *I know that Admob supposedly supports multiple ad sources but I've added AdColony as an ad source on Admob for a few months now but their requests are never filled and it keeps on saying optimizing which i don't know if it's intentional.

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

    Bottom Navigation works but (bug?) [Android Java JetPack Navigation]

    Posted: 01 Jan 2020 03:14 PM PST

    Hi! I've been testing the new BottomNavigationView from Jetpack, and at first glance, it works correctly and all but...

    TL;DR: When you edit something in a fragment and then click in the same button as the fragment you're in, it somewhat creates a duplicate fragment.

    Let me explain, in a simple way. This is the structure (Fragment2_Secondary is not important here):

    • [MainActivity]--->{Fragment1_Home, Fragment2_Secondary}
    1. So when app launches, Fragment1_Home shows up, correct. It has a EditText field with a predefined value (for example "A").
    2. We edit that text (for example, we add a letter, so now it's "AB").
    3. Now we click on the Button in Bottom Navigation corresponding Fragment1_Home.
    4. Result: As expected, it stays on the same fragment (Fragment1_Home), BUT now EditText has the previous value ("A") instead of the one we just typed ("AB"). And if we click again, it goes back to the new value ("AB").

    It's like it has duplicated the fragment and when you click it switches between those duplicates.

    I've got the code from the Android Studio example codes. I also researched on the internet and books, and I can't find any error in that code, nor the XML or other files.

    I have a method that restores the input text from SharedPreferences (restore in OnResume, save in OnPause). Maybe the problem is there?

    Code Here (part that sets up bottom controllers and views)

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

    Are there any tutorials or videos to quickly refresh one's knowledge of Android development instead of learning it from the bottom up?

    Posted: 01 Jan 2020 02:52 PM PST

    Something like learn xinyminutes but for android dev instead. All the videos and tutorials take days to finish and is all mostly stuff I know. I want to just get a refresher/cheat sheet type of tutorial to review the most important points.

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

    Question: Want to create soundboard app, don't know where to start

    Posted: 01 Jan 2020 01:51 PM PST

    Greetings r/androiddev, I am looking to create a soundboard app that is ascetically pleasing. In addition, I want to make it so that the sounds can be easily changed (not in app) so that I could create a new app. I know how code works but do not know any languages or where to start in the creation process. Once the app is created, I also don't know where to start as far as App Store Optimization and promotion of the app. Finally, I don't know what it would take but having the ability to port the app to the Apple Store would be beneficial.

    Thanks for any help!

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

    Question: is it according to the terms to make an app that uses Telegram network, but not for chatting?

    Posted: 01 Jan 2020 03:05 AM PST

    According to these links:

    - https://core.telegram.org/api/obtaining_api_id

    - https://core.telegram.org/api/terms

    "1.3. As a client developer, you must make sure that all the basic features of the main Telegram apps function correctly and in an expected way both in your app and when users of your app communicate with other Telegram users. It is forbidden to force users of other Telegram clients to download your app in order to view certain messages and content sent using your app."

    So does it mean that no matter what, an app that uses the API must be a chatting app, with all the features that Telegram offers for chatting?

    Or is it about the case that as an app, you have to implement it all only if your app is a chatting app?

    Is there any way to ask this to whoever made the terms?

    Are there any apps that use Telegram network, but not for chatting?

    submitted by /u/AD-LB
    [link] [comments]

    Android Studio collapsible comments

    Posted: 01 Jan 2020 11:48 AM PST

    I know that comments are important, but now I'm trying to learn from google developer codelabs and their sample code has copyright comments at the beginning of every file. Is there any method to automatically have those comments collapsed by the IDE?

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

    Understanding cross compatibility

    Posted: 01 Jan 2020 10:16 AM PST

    Hi all

    So the goal is this

    • Install global version of current ROM
    • Extract apk+data of phone, phone services, calling screen with Titanium Backup, and create zip
    • Install Chinese variant of current ROM (has better features)
    • Extract contents to system with Titanium Backup
    • Profit?

    My main issue is with the default dialer on the Chinese variant of the ROM I want to use. I can't access voicemail and such, and even though the framework exists to be able to install Google Phone it doesn't work at all either.

    I don't know anything about ROM development (and little about Titanium Backup) so I'm hoping this is possible. This would be a long process because of tricky ADB installs and custom recoveries, etc. Do you think this would even work?

    Details and links for those who are curious/able to probe update.zip files:

    ZTE Nubia Red Magic 3

    Android 9

    Magisk rooted

    TWRP 3.1 custom recovery, Chinese support

    Phone: org.codeaurora.dialer

    Phone and Messaging Storage: com.android.providers.telephony

    Phone Services: com.android.phone

    Global ROM v215

    Chinese ROM v238

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

    How to get all images in Android?

    Posted: 01 Jan 2020 09:49 AM PST

    Suggestions on how to unlock phone with app in front of lock screen

    Posted: 01 Jan 2020 09:48 AM PST

    Hey guys, I have an app which displays its content in front of the lock screen. However, when I have to unlock my device I first have to go to lock screen and then use biometrics. Is there any way that when my app is in front of the lockscreen, I listen for fingerprints/biometrics and when a successful authentication is detected then the activity finishes and goes straight to home screen.

    Any help would be appreciated...

    Thanks in advance

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

    App in playstore but not showing up through search

    Posted: 01 Jan 2020 09:40 AM PST

    My app is now already published in the playstore and I can look it up through a link, but when I search for the name of the app through the search, it isnt showing up, is this normal or did I mess up at any point?

    UPDATE: After I searched for the app on auto for like 3 hours straigth it finnaly appeared, but only with one keyword.

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

    Need help with paste text screen overlay button.

    Posted: 01 Jan 2020 09:38 AM PST

    How to paste text to any input field using floating button or floating widget? What i want to achieve is in my app some fancy utf text is generated and i copied it to clipboard but other app where i want to paste text has no paste/select text/cut/copy option on. So is there any way to paste text there using floating widget?

    One way is to make custom keyboard but people will not download keyboard to just paste text.

    some keyboard has shortcuts to past text but some doesn't.

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

    Looking for professionals' knowledge and experiences

    Posted: 01 Jan 2020 08:17 AM PST

    Hi guys, I'm an IT university student, and I was asked to interview professionals about a job I would like to do at the end of my studies. I always find Android development interesting and thought I could inform myself. So I go for it and here I am, looking for people would like to answer my questions :) The questions will be about your name, studies or degree you made, salary, if you enjoy your work, your work environment, where do you work, ect...

    We could chat in private messages or in the comments :)

    Thanks in advance to all who will answer :D

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

    How many of you migrated from Java to Kotlin ?

    Posted: 01 Jan 2020 07:56 AM PST

    hi folks,

    I haven't programmed an app for years now (4/5) and reading here and there i noticed that Kotlin is becoming popular to develop android apps. Before coming back and use Java. i want to know if it is better to start learning Kotlin and follow this path instead.

    What is your opinion about it ?

    cheers and happy new year!

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

    Simple question about Intents

    Posted: 01 Jan 2020 06:52 AM PST

    Hi guys,

    I'm a freshman in Android Development and have no knowledge in Java. I need a bit of help understanding something - in the below code, I've created a simple button that when clicked redirects to a second activity (MainActivity2).

    What I am trying to understand is the following,

    1.) Why is the 'new' needed whenever to be called when creating an Intent?

    2.) All tutorials firstly instruct to create (declare) an intent and only then call startActivity(intent).

    For example:

    Intent i = new Intent(ActivityMain.this, ActivityMain2.class);
    startActivity(i);

    With a little help and reading I omitted this line, and initiated the activity by calling startActivity. I'd like to understand if there are any advantages / disadvantages to what I did. Here is the full code:

    public class MainActivity extends AppCompatActivity {

    Button go2secondScreen;
    u/Override
    protected void onCreate(Bundle savedInstanceState) {
    super.onCreate(savedInstanceState);
    setContentView(R.layout.activity_main);
    //initialize Button
    go2secondScreen = findViewById(R.id.go2secondScreen);
    // Set new OnclickListener for Button calling View
    go2secondScreen.setOnClickListener(new View.OnClickListener() {
    u/Override
    public void onClick(View v) {
    // Start activity calling a new intent
    startActivity(new Intent(MainActivity.this, MainActivity2.class));
    }
    });
    }
    }

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

    What are SDKs that are used for ride sharing apps?

    Posted: 01 Jan 2020 06:33 AM PST

    Well i use mapbox as a map and I'm trying to figure out how a user can track the vehicle they're going to use

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

    Distance Matrix Api

    Posted: 31 Dec 2019 07:22 PM PST

    Can any one help me to understand how to use distance matrix api? I tried reading documentation but i got confused.

    Or have a link to any video or website that will help to understand

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

    No comments:

    Post a Comment

    Fashion

    Beauty

    Travel