• Breaking News

    Wednesday, January 6, 2021

    Android Dev - Since nobody would like to memorize the entire google policy to avoid ban in the play store. I think it would be nice to list in this post: what reasons do you know that led google to ban an app?

    Android Dev - Since nobody would like to memorize the entire google policy to avoid ban in the play store. I think it would be nice to list in this post: what reasons do you know that led google to ban an app?


    Since nobody would like to memorize the entire google policy to avoid ban in the play store. I think it would be nice to list in this post: what reasons do you know that led google to ban an app?

    Posted: 05 Jan 2021 07:40 PM PST

    How long does it take to get app to users for internal testing?

    Posted: 06 Jan 2021 06:19 AM PST

    Sorry if this is dumb I'm really new to deploying android apps. If you setup internal testing does it take time for the testers to actually access that app? Whenever I view the link it says Not Found on the google play store. Sorry again if this is dumb just my first time doing this. Thanks!

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

    Does a Google Play developer account suspension eventually lead to a complete Google account ban ? It seems like it.

    Posted: 05 Jan 2021 11:16 AM PST

    So I had my developer account suspended more than 6 years ago for some dumb mistakes i did as a uni student. It was due to copyright/trademark infringement because I developed and published fan based games. Dumb move on my part and I do thoroughly regret it, but a lifetime ban felt extremely severe. I eventually gave up on repealing since i saw it going nowhere despite willing to go through any measure to remove that red flag slapped on me. If they had a ban of 2 or 5 years as penalty, that might've been more reasonable. Honestly, it's like the company is treating me as some irredeemable scummy criminal and I can potentially harm other's accounts just by vague associations, as well as preventing me from publishing genuine high quality apps.

    But I was reminded of my past mistakes today, when google arbitrarily decided to ban my google payments which i use for buying playstore apps, buying drive storage space etc for many years.

    This was the mail content :

    Please be advised that your Google Payments account has been closed in conjunction with the termination of your Google Play Developer account. Even if your Payments account did not have direct app suspensions associated with it, we may terminate multiple accounts that are associated with a developer who has breached applicable Google Terms of Service, found at http://www.android.com/market/terms.html.

    Now this was honestly frightening. This might mean a silly developer suspension that occurred so many years back might be reason enough to potentially block entire google services. Including gmail, drive, google docs etc which are something i extensively use. This is too draconian.

    I am now trying to re-appeal to them after so many years to bring back my developer account, or to completely nuke my developer account in order for a clean slate so i don't end up getting the bad luck of being locked out of my own gmail one day, just because they can. Everybody matures and realizes their mistakes, especially after so many years.

    Did anyone else had their google services get banned/blocked for any reason ?

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

    Scoped Storage Query

    Posted: 06 Jan 2021 02:51 AM PST

    I have some doubts regarding Scoped Storage. It's really confusing.

    I have a requirement that my app files should retain even after my app is uninstalled. How do I do that?

    Let's say that I add hasFragileUserData in Manifest and my data is retained after uninstallation, but then an ordinary user is not so much knowledgable enough to go inside /Android/data/app.package.name/ and access the files.

    One more thing hasFragileUserData also retains private files like DB etc which I don't need after new installation.

    I don't understand how is WhatsApp and Telegram able to create files on external directory as they have "WhatsApp" and "Telegram" directory.

    Basically I want to save PDF files (which are generated by my app) in external Documents directory(easilty accessible to ordinary user) not in my app's Documents directory.

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

    What is the best alternative to google AdMob?

    Posted: 06 Jan 2021 02:31 AM PST

    Hi,

    I have like 13.3K Impressions per month and my eCPM is on about 0.99 euro's, last month I earned like 13 euros. What is an alternative to this? Does Unity or Facebook perform better?

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

    Animations in Jetpack Compose

    Posted: 06 Jan 2021 04:20 AM PST

    Hello everyone. Hope you're doing well. If you started to learn Jetpack Compose, I weekly wrote posts about it. This weeks topic is Animations. Here is the link to my post about Animations in Jetpack Compose. Hope it will be helpful for you

    Fell free to ask if you have any question

    https://agarasul.medium.com/animations-in-jetpack-compose-bbeaa886210e

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

    What are some examples of past hacks against android that new devs should be aware of?

    Posted: 05 Jan 2021 11:52 PM PST

    In particular, for Firebase. I'm starting my first social media app and I read that it's better to use cloud functions instead of writing all your code on the client for extra security. What other things do I need to know to prevent my app (group chatting) from being exploited?

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

    Using and testing Room Kotlin APIs

    Posted: 06 Jan 2021 05:24 AM PST

    How To Choose a Name For Game/App? 4 Simple & Easy Steps To a Great App Name.

    Posted: 06 Jan 2021 05:23 AM PST

    Android quality tutorial connected with google - I can't find it

    Posted: 06 Jan 2021 04:44 AM PST

    Hello, I'm looking for forget site where been quality android tutorials, connected somehow with google, for exemple there been video version of that course - https://developer.android.com/codelabs/advanced-android-kotlin-training-notifications?hl=en&continue=https%3A%2F%2Fcodelabs.developers.google.com%2F%3Fcat%3Dandroid#0

    but I can not recall name of it.

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

    My First App

    Posted: 05 Jan 2021 09:17 PM PST

    Hi, I'm trying to write my first app. Maybe I chose something that's not suited for a beginner, because I can't figure it out. I've made progress, but I'm stuck.

    It's supposed to eventually be a countdown to wake up time, so I know how many hours of sleep I have left. It helps with my insomnia.

    I made a simple UI with a Button and a TextView. Right now, I am able to print the remaining time to the TextView by clicking the button, but the goal is to have it run continuously; almost like an alarm clock or timer.

    My first attempt was to use a while loop in the Button's onClick listener. That froze the UI and, after further research, I found out that I should create a separate thread. I can't seem to find a way to update the TextView in the main thread with calculations from the working thread. I tried MainActivty.super.runOnUiThread (with a new Runnable) to no avail. The app crashes. I've been reading about using "handler" but I'm not sure how to do that. Any help is appreciated.

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

    When “Compat” libraries won’t save you

    Posted: 05 Jan 2021 09:05 AM PST

    How To Choose a Name For Game/App? 4 Simple & Easy Steps to a Great App Name.

    Posted: 05 Jan 2021 10:16 AM PST

    This is a great read even if you have an app name. Because bad app names will lose you a lot of downloads. And you can fix that easily.

    https://medium.com/augeo/how-to-choose-a-name-for-game-app-4-simple-easy-steps-to-a-great-app-name-56600b021289

    submitted by /u/Story-Line
    [link] [comments]

    It is posible to make an app where i can set it to detect a specific sound, and when the sounds is detected to execute a specific action?

    Posted: 05 Jan 2021 03:22 PM PST

    Hey guys, I'm so new in android programming and i barely have any programming knowledge, but I'm curious and willing to learn.

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

    Xamarin Vs Nativescript – Comparison Of Mobile App Frameworks

    Posted: 05 Jan 2021 10:04 PM PST

    Mobile apps development is not easy as it seems. These days everybody wants to embrace a mobile-first approach as it smoothens business objectives, agile processes, feedback and implementation among complex functions. Now organizations can deliver great customer experiences with mobile apps because of the evolution of frameworks. As a developer you have to gain proficiency with various development environments and languages if you want to deploy a single app to multiple platforms. Frameworks like Xamarin and Nativescript allows developers to target multiple mobile operating systems while still using a programming language that they already know. As there are various frameworks to choose, a big question is, which one is best? So, here we're comparing Xamarin and Nativescript for mobile apps development. Before diving to the comparison Xamarin vs Nativescript , let us, see the What is Xamarin and What is Nativescript?

    What Is Xamarin?

    Xamarin is a well-known cross platform development framework to build native-like and performant apps. In 2016, it was acquired by microsoft. Now, the framework is being used by 15,000+ companies of various industries all over the world. Xamarin uses only one programming language, which is C# and .Net framework to develop mobile apps for various platforms. Also, it makes use of XAML- a markup and data binding language for apps.

    Xamarin acts as an abstraction layer that eases the communication of shared code for platforms. One can write apps and then compile it into native app packages(.ipa for iOS and .apk for Android).

    This platform can be used to develop efficient cross-platform apps, apps with native like performance, apps with access to native APIs, apps with reusable components etc.

    What Is NativeScript?

    It is an open-source framework to build cross-platform apps for ios and android using JavaScript. It transpiles one programming language to another while building native apps using Angular, Vue JS and TypeScript. Dissimilar to other frameworks that use Cordova for rendering a WebView-driven app UI, NativeScript has a rendering engine that provides native performance and user experience. This framework is used to build simple gaming apps, apps with massive server connectivity, real time apps, music or video streaming apps, geolocation apps, apps that can function with default apps of the device.

    Xamarin Vs NativeScript- A Comparison

    1. Architecture-

    Xamarin-

    It is not restricted to a single architecture. There are a chosen few patterns that turn out to be more valuable as compared to others. Model-View-Presenter (MVP) is the best approach to design native mobile applications with Xamarin. Also, you'd want to build Xamarin.Forms applications on the Model-View-View-Model (MVVM) pattern to make the most out of Xamarin's offerings. Singleton, Publish/Subscribe, Command are some of the useful patterns for working in the xamarin ecosystem.

    Nativescript-

    It follows the MVC or MVVM architectural pattern, whereas this framework broadly functions on modules, CLI and Plugins. Structure of nativescript framework is composed with various modules and each of them is responsible to enable certain features. Root module and page module are the most important that make up the architecture. Together, they form an application Module including CSS style code, actual business logic, and XML-based UI codes. Nativescript manages module dialogs because of its MVC friendliness.

    2. Learning Curve-

    Xamarin-

    To be proficient in Xamarin, you must have a knowledge of C#, mobile development and architecture. As C# is a popular programming language, most of the developers can easily adapt to this environment. Microsoft offers learning resources for developers to get familiar with multiple components in Xamarin.

    Nativescript-

    It offers extensive learning because developers can switch between TypeScript, JavaScript or Angular according to their need, feasibility and comfortability. Declarative coding style helps developers to learn nativescript rapidly. A detailed understanding of native performance comes with development experience in Core Modules and design patterns. Available resources and documents might be overwhelming at the beginning but they prove to be more useful.

    3. User Experience-

    Xamarin-

    One can create platform-specific UIs in xamarin and access all native APIs like Bluetooth, SDK etc. to bring apps to life. Developers can include themes, charts, UI controls and graphics from Xamarin's component store. One can use material design components to build custom applications.

    Nativescript-

    You can build enterprise-level business apps with nativescript and this is one of the added benefits of it. Also, you can customize the free, professional grade UI elements of Nativescript. Since each feature is supported by native functionality and native controls, it gives you performance that improves the user experience. Nativescript also tests its libraries, templates and UI elements before implementation to achieve expected user-interface. In reality, you can take your user experience to a next level by using methods like getFrameByld, classes like Frame, and properties like navigationContext.

    4. Code Maintenance-

    Xamarin-

    Code maintenance is important in cross-platform app development. The sheer number of cycles make it complex to implement a basic change across the various platforms. When you work with xamarin, you just need to make changes in the source file and it will automatically reflect across all the apps. This eases updates, adding new features and bug fixes in Xamarin.

    NativeScript-

    As this framework focuses on native functionality, it requires less effort to examine where the problem lies. Here the code is shared between multiple platforms, so it takes fixing of a single codebase to correct multiple issues of devices. Besides, the HTML code shared as modules separates between various platforms by using http.get commands and abstractions. The components reusability for building various features for different devices is high with nativescript. Through this, developers can access more solutions and opportunities to sustain existing codes.

    5. Performance-

    Xamarin-

    Xamarin.Forms-

    It presents 90% code reusability, app performance generally falls behind its native counterparts. Common functions like booting, processing API requests, serialization/deserialization and image loading/saving, Xamarin.Forms' apps showed weak metrics as compared to native apps.

    Xamarin Native-

    Apps developed for android turned out to be comparable with native apps in terms of performance. There are some instances where SQL BulkInser operation where Xamarin.Android seemed to perform better as compared to native apps. Xamarin.Android is a good alternative to native apps.

    Xamarin.iOS apps were not able to keep up with performance metrics of native iOS apps as did Xamarin.Android, however that's a common case for cross platform app development. Various factors affect app performance and Xamarin native lets you to create apps that can't be differentiated from natively developed ones.

    NativeScript-

    Animations built with NativeScript perform good at 60 FPS. Also nativescript provides ability to offload types of long-running processes to maintain a balanced frontend speed for fast performance. Ability to offload in NativeScript is achieved through a multiple-threading model. Performance improvements in nativescript relies upon the use of best practices like merging manual tool instrumentation to optimize performance and tracing of execution time within the app.

    6. Debugging-

    Xamarin-

    It provides debugging through visual studio and xamarin studio too. Xamarin also provides a performance profiler.

    NativeScript-

    It provides an extension for Visual Studio Code and Telerik Platform extension for Visual Studio that provides the same level of debugging functionality inside of Visual Studio. As nativeScript creates full iOS and android projects as part of the build process, native android and iOS profiling tools can be used.

    Pros Of Xamarin-

    • Rapid development- With xamarin, development time reduces because it uses a single tech stack and shareable codebase.
    • Native user experience- It uses native APIs and toolkits that serve to native application design and performance. As it uses system and hardware-specific APIs, it's impossible to distinguish between a Xamarin and native app.
    • Single tech stack- Xamarin creates apps for multiple mobile platforms using just one language that don't require switching between environments because everything can be done in Visual Studio.
    • Simple maintenance- Update changes in the source file and it reflect across different apps.

    Pros Of NativeScript-

    • Programming language- Nativescript makes use of XML- Esque-based markup language like HTML to develop apps with customized features.
    • Developer-friendly CLI- NativeScript CLI allows you to do anything from adding a platform to deploying apps to particular platform or device. Plugin installations and app debugging is rapid and more comfortable.
    • Native functionality- Native script accesses native device API through native components developed with native performance.

    When To Choose Xamarin?

    • You can choose Xamarin to build efficient cross platform apps.
    • Xamarin is good to build iOS, Windows and android apps built with .NET from single shared codebase.
    • Choose xamarin when you want to integrate modern backend services and maximize access to native APIs in your app.

    When To Choose NativeScript?

    • You should go with nativescript when you want to build native apps without writing boilerplate code for native APIs and you want to focus on strengthening business goals.
    • Select nativescript when you have to integrate features of modern Javascript frameworks like Angular and Vue.js to native user interfaces.
    • Choose nativescript to build apps rapidly.
    submitted by /u/SolaceInfotech
    [link] [comments]

    Dev boards?

    Posted: 05 Jan 2021 09:30 AM PST

    we are looking at hiring an android developer to do some work for us and are looking into getting the required hardware. iv noticed quite a few development boards with wide ranging variations in hardware. however i haven't noticed any with regular cell service built in, does anyone have any suggestions for that? would like at least 3 output pins for various LEDs, camera, termp sensor (can use normal IO with a thermal coupler for this) and some sort of trigger sensitive pin. as well as obviously mentioned before. 4g connectivity.

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

    Should I learn Java or Kotlin first?

    Posted: 05 Jan 2021 01:21 PM PST

    Hello! I have some experience with various other languages (c++, python, javascript, haskell), but want to transition to the android platform. I understand Kotlin is very similar to Java, and is the new Google standard, but should I start with java anyway? what would be the benefits of learning the older/more common language first, or should I just embrace the future and skip right to Kotlin?

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

    In-app purchase

    Posted: 05 Jan 2021 09:41 AM PST

    How do in-app purchases work in your app? How do you receive the money ? Did u have to set up special bank account ?

    submitted by /u/Wonderful-Fan-
    [link] [comments]

    No comments:

    Post a Comment