• Breaking News

    Wednesday, November 27, 2019

    Android Dev - Alternative kotlin.jvm annotation name

    Android Dev - Alternative kotlin.jvm annotation name


    Alternative kotlin.jvm annotation name

    Posted: 26 Nov 2019 08:24 PM PST

    My google play developer account was terminated before I got to publish my first app.

    Posted: 26 Nov 2019 11:59 AM PST

    hey everyone, sorry if this isn't the right place to post this. I've been trying to contact google everywhere but i just get the same automated answers.

    so for the last couple months I got into making mobile games using unity, and about a week ago I finally finished a small casual game that seemed good enough to be published.

    I setup the account, pay the fee, and start getting things ready for the app. I tried publishing an alpha but turns out I was using an outdated version of unity so I got an error. No biggie, I'll update unity, get an android app bundle and upload it. But the next day, in my way back home from school, I get an email that my account has been terminated for deceptive behaviour. I went through the policy and there was nothing that I had done. I mean, the email said they don't allow apps that try to deceive the user but I don't even have anything out yet.

    this happened on a friday. my appeal was answered (denied) later that same day. i sent another appeal that was denied yesterday (monday). i tried contacting them on twitter but it's really more of the same.

    i don't really know what to do. should I just try to get an account somewhere else? it feels pretty bad to not even know what i did wrong, there was no warning or anything.

    llink to the twitter thread.

    any help would be really really appreciated 💜

    EDIT: some info about the app!

    it was called "Space Hopper", it was an endless casual game, it was free and had both ads and IAP (one to remove ads, one to unlock all hats in the game)

    screenshots of the app: https://imgur.com/a/sHjqdy5

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

    [Discussion] My Google Play Account was terminated for multiple strikes

    Posted: 26 Nov 2019 08:13 PM PST

    Hello,

    Following a recent change in Google Play Store policy on the notion of repetitive content, several of my applications seem to contradict this regulation.

    The Google Play Store has just removed 3 of them and decided to terminate my developer account active since 2010 for "Multiple Strikes :

    Notification from Google Play

    This is a notification that your Google Play Publisher account has been terminated.

    REASON FOR TERMINATION: Multiple violations of the Developer Program Policies and Developer Distribution Agreement as outlined in previous emails sent to the registered email address of your Publisher account."

    I just appealed the suspension of the account but do you know what is the best way for me to have a chance that my appeal will be considered by a physical person and not just robots?

    Should I try to publish an article on Medium by trying to get visibility on my case for example?

    Thank you in advance for your advice.

    Sylvain

    EDIT: This is a link to AppBrain with the listing of the apps of my developer account : https://www.appbrain.com/dev/Sylvain+Saurel/

    EDIT 2: I explain all the story here on Medium: https://medium.com/@ssaurel/google-just-terminated-my-google-play-publisher-account-in-one-hour-after-10-years-of-loyal-service-7e3185c217b

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

    Is there a way we can simulate/throttle network latency in Android

    Posted: 27 Nov 2019 05:16 AM PST

    Hey was looking for an approach to simulate/throttle network latency in Android. In current scenario we can simulate network by toggling network settings to 2g/3g or LTE.

    Or if you app has an carrier app priviledges then only you can use the hidden apis for throttling network speed. Is there any other than we can simulate network through code in app, unless the phone is rooter

    If any one knows any other approach kindly help, we are trying to build tool that will helps devs/qa to enable in app throttling .

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

    DAGGER 2 Tutorial Part 4 Scope

    Posted: 27 Nov 2019 08:20 AM PST

    Jetpack Compose: What happened to @GenerateView ?

    Posted: 27 Nov 2019 08:15 AM PST

    Hi, guys! I was reading an article about Jetpack Compose and then I found this one: https://android.jlelse.eu/jetpack-compose-ui-part-3of3-73ea81d2ccc

    In some part it mentions the `GenerateView` annotation, which looks really interesting. But the article has some time published and now with the Preview release of Jetpack Compose I can't find it anywhere.

    Do you know what happened with this annotation?

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

    DAGGER 2 Tutorial Part 4 Scope

    Posted: 27 Nov 2019 08:10 AM PST

    Kotlin 1.3.61

    Posted: 26 Nov 2019 03:39 PM PST

    How to use Alarm Manager and Broadcast Receiver in Android

    Posted: 27 Nov 2019 07:44 AM PST

    Creating a custom shortcut in Android.

    Posted: 27 Nov 2019 06:48 AM PST

    OpenVPN connect app can create shortcuts, which when clicked connect to a VPN server directly.
    Hotspot shield app - We can select apps which when opened will trigger hotspot shield first then themself.
    My target is to make it so that when I open a certain app, it connects to the OpenVPN server and then open itself.

    How can I achieve the above aim? Are there any apps that can create custom shortcuts that can serve my purpose?

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

    Communicate between devices without internet

    Posted: 27 Nov 2019 06:44 AM PST

    Hello,

    I'm currently working on an App that should connect 10 devices to a "server". The server would be an Android App aquiring and sending info to the other devices, the client devices would be another app needing to send and aquire informations from the server app.

    The apps should be working offline, and only communicate with each other, the server app should be able to see which client is connected or not.

    Bluetooth isn't possible since it's limited to 7 devices, but we found Android P2P with Wifi Direct and it seems like it could help us achieve this.

    If you have any advice on how to do it i would appreciate :)

    Thanks a lot for reading ! If you need more informations feel free to ask :)

    The devices are only android, and the app would be native.

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

    Sometimes Google is good!

    Posted: 26 Nov 2019 02:52 PM PST

    I wanted to write something good about Google. I know about their terrible support and that developers are basically powerless against their desicions. But somethimes apparently this is not just like that.

    Yesterday I received an email that one of my apps is suspended. That means that it is completely blocked and I can't even update it. This was because of the reason that the app is basically copy of another app. I know why the system detected it like this. This app was something like an expansion or second version of one of my games. The main game is an offline single player card game. The suspended game is the same but online multiplayer version of the same card game. I released them as separate apps because I wanted better controll of the users, feedback, reviews. I didn't want low ratings of the offline version because of people leaving in the middle of the game in the online version and so on. Two versions was better to manage. Although it is the same game, each has different settings, different help screen, different logic because of the AI part of the single player and network part of the multiplayer variant. So the game is really same game as the original, but very different version. And still they both are mine and don't think this is a problem. It's not like I stole the game from someone else and make an online variant. So I wrote Google about this and explained my motives for doing this. So today my app went from Suspended to Removed. Which means that I can add updates to it. A few minutes later I received an email explaining that my appeal was approved and my game is ready to be published again. I published it and now everything is fine. I guess sometimes Google is good and considerate. They saw that the game is providing different experience in each version and decided that I was right to use separate app. I know it is possible to combine them, but at least it is not against the rules. It's not like the same game but reskinned. I'm very thankful to Will from the Google Play Support Team (this was written in the email) and I believe that sometimes we developers have options.

    This story was to give you hope that it's not all finished after some kind of violation or suspension.

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

    Hey Reddit! I've released my first Android game and I would love your opinion.

    Posted: 27 Nov 2019 04:37 AM PST

    I'm excited to release my first game: Truth or Dare! What's making it stand out is that it has no ads or microtransactions and you can play if without an internet connection. Here's the link to Google Play.

    Thank you for your opinions!

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

    Will Google Play approve my SMS Analytics app (requires READ_SMS and READ_CONTACTS)

    Posted: 27 Nov 2019 12:30 AM PST

    I am currently building an app that analyzes a user's SMS statistiics (who they talk to, the fastest responders and the slowest responders, a list of their favorite emojis, and a graph plotting their texting frequency). Will Google Play approve such an app? I recently read in an article ( https://support.google.com/googleplay/android-developer/answer/9047303?hl=en ) that READ_SMS is restricted.

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

    [Question] Simple, isometric CoC style city building game, any Unity (or GameMaker?) tutorials available?

    Posted: 27 Nov 2019 03:38 AM PST

    I want to create a lightweight Unity game that would be isometric city building with zoom like Clash of Clans. No online, just single player, very simple, only city building, nothing else. Choose a building and place it on the map. That's it.

    Are there any simple tutorials for this?

    Most important notes: - Has to be optimised (minimum lag) - Has to have option to export to Android, MacOS, Windows, iOS. - Simple, simple, simple (single player, isometric map, zoom in, zoom out, choose a building and place it or rearrange them)

    And is Unity 2D best fit for this or game maker?

    Any advice would be much appreciated.

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

    Is it true that I can't use `layout_marginHorizontal`and `paddingHorizontal` (and vertical ones) in styles for API 21, but I can do it in layout XML files?

    Posted: 26 Nov 2019 11:52 PM PST

    Is it true that I can't use `layout_marginHorizontal`and `paddingHorizontal` (and vertical ones) in styles for API 21, but I can do it in layout XML files?

    I recently wanted to replace all margins and paddings on the app to use such attributes when possible.

    I've found a weird thing on the IDE and the docs:

    The IDE doesn't mind having those attributes on layout XML files, but when they are used in styles, it tells me those are used only from API 26, while the project is set to support from API 21...

    layout file

    styles file

    So I was thinking maybe I was wrong in trying to use them yet, and I looked at the docs, but they don't say anything about which SDK those attributes are supported:

    - https://developer.android.com/reference/android/view/ViewGroup.MarginLayoutParams.html#attr_android:layout_marginHorizontal

    - https://developer.android.com/reference/android/view/View.html#attr_android:paddingHorizontal

    What's more, I made a POC that includes both versions (in layout and in styles), and indeed only using in the layout worked on the emulator with API 21 (the others were just ignored).

    How could it be?

    Is it safe to use those attributes in layout files, but not in styles files?

    What about special cases that we use layout files, like on app-widgets? Those are the same, right?

    I ask because maybe this is all some weird "magic" from android-x to support those attributes...

    EDIT: after checking, I can see it's not relate to android-x.

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

    How does Android Studio get network usage of specific app?

    Posted: 26 Nov 2019 10:24 PM PST

    Using the profiler, it can show you in real time the CPU, RAM and network usage.

    How does it do it?

    I ask about network, because sadly the official API of networkStatsManager.queryDetailsForUid) can't be used anymore, as it requires IMSI which, even if you got it via root, it won't work. To me this function seems like it should be deprecated, as I don't see it working in any possible way (I tried multiple ways).

    Anyway, which commands via ADB does the IDE use? Is it possible to use them via root right on the device? Or even without root?

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

    Updated metronome app & rolling out open source Android module - PF Seq, a precision timing audio sequencer

    Posted: 26 Nov 2019 03:47 PM PST

    I was trying different approaches in my metronome app and realized that the way to really nail down audio timing precision, in order for the metronome to be good enough to record a production track in time with, is to run a stream and carefully control the data written to the stream. I didn't want to go to all that trouble just for a metronome app so I did it as a module. It works and it's kind of cool, if anyone wants to check it out. I built it with the idea in mind that I could use it for other apps like a beat maker, sampler, sequencer, etc. You can turn it up to 4000 ticks per minute and your samples become a buzz.

    .

    PF Seq, the module, in a demo app. Instructions for producing the AAR are in the readme:

    Github: https://github.com/peoplesfeelings/PF-Seq

    .

    Sample Metronome, the metronome app that is now using the module:

    Play Store: https://play.google.com/store/apps/details?id=peoplesfeelingscode.com.samplemetronomerebuild

    Bit Bucket: https://bitbucket.org/Peoples_Feelings_Code/precise-sample-metronome/src/dev/

    .

    I welcome any feedback on the metronome app. I haven't tested the new module on many devices so if there are any issues, please just let me know.

    I would definitely welcome contributors and feedback on the module repo. I thought some developers may be interested to take a look.

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

    What project management approach do you use to develop apps?

    Posted: 27 Nov 2019 01:15 AM PST

    What project management approach do you use to develop apps?

    https://preview.redd.it/uoykpmag47141.jpg?width=738&format=pjpg&auto=webp&s=6a42591a6eba7a5311085f40f20d1a37e5085fc3

    Agile

    Agile is a modern and flexible approach to the project management process. It makes possible to convert large projects into more manageable tasks that are undertaken in short iterations and sprints. Such a planning system enables the development teams to adapt to quick changes and fast work delivery. As it is said, Agile is the ability to create and respond to the possible changes. According to popular magazine - Forbes, to become an Agile company is essential in today's digital economy. This project provides many values, including:

    • Comprehensive and in-details documentation
    • Customer interaction and collaboration with the overall development process
    • Quick response to the changes

    The Agile project management system provides:

    • Customer satisfaction at any stage of the workflow
    • Implementation of the required changes
    • Participation of the business stakeholder in the teamwork
    • Simplicity
    • Constant meetings and discussions
    • Regular reflection of results

    Such an approach is acceptable for projects that have some level of complexity or uncertainty and require flexibility. Yet, Agile project management offers several frameworks. The most commons are:

    Scrum

    Scrum practice distributes traditional responsibilities (that, as a rule, the project manager takes) among the team members. The Scrum framework includes three main roles: product owner, scrum master, development team.

    The product owner represents all the interests of the customers. This person organizes the workflow, highlighting what tasks are more essential and need to be first implemented. Due to the accuracy of the product owner, the development team focuses on high-priority tasks.

    The Scrum master is the team facilitator. The first and foremost goal for this role representative is to help the development team become self-satisfied and find ways to prompt the progress.

    The development team consists of all the required specialists to deliver the expected product. This team considers a single project during the required period of time. Once the product owner presents the list of the tasks, the team goes on the work.

    Although being an Agile framework, Scrum develops its own guidelines. The approach offers:

    • Openness: Counter collaboration is the key factor.
    • Focus: The possibility of multitasking is excluded.
    • Courage: The development team believe in their power and are passionate about the work.
    • Commitment: To come to a consensus facilitates the development process.
    • Respect: Effective teamwork is based on mutual respect.

    While working with a Scrum approach, we call any goal achievement period "Sprints". Each sprint is carefully planned, implemented, and reviewed. This approach best suits for projects where a small team (consisting no more than 7 people) need a flexible approach to the product delivery.

    Kanban

    The second most popular framework of Agile is Kanban. It has much in common with Scrum, yet the, in the case of Kanban, the emphasis is put on the early release. Kanban project management is implemented using some tools: Kanban Board, Kanban Cards, Kanban Swimlanes.

    The Kanban board is a technique used for visualizing the project development process. It may be either physical (whiteboard, markers, sticky notes) or digital (there are several online tools for project management, for example, Trello). Separate tables are opened and it's easy to follow the status of tasks.

    Kanban Cards are created for separate tasks in the working process. These cards are moved from one list to another (as from the list "To Do" to the list "Done") and facilitates the development process.

    Kanban Swimlanes are horizontal lists created to categorize and distinguish tasks. For example, different swimlanes may be created for app development and app design tasks. This tool offers a better overview of the overall development workflow.

    Like Scrum, Kanban is also preferable for small teams to organize project management and get more done.

    RAD

    RAD (Rapid Application Development) emphasizes working on the software and user feedback rather than strict planning and requirements recording. In simple language, RAD offers less talk and more action. And, of course, a lot of testing. This framework offers the following stages:

    1. Identify the requirements
    2. Build prototypes
    3. Receive user feedback
    4. Make the required changes
    5. Test, test, test
    6. Release the project

    The great advantage the RAD project management framework offers is that it's easy to break the project into small tasks that are more achievable and easy to handle. Constant feedback is possible that makes the idea of the expected product clearer. As a result, the working product is delivered more quickly and matches the users' expectations.

    RAD approach may work perfectly for projects on an emergency that need to be quickly released. Possible edits may be made later. The technique may suit for MVPs.

    Agile also offers other frameworks, including XP (Extreme Programming) and APF (Adaptive Project Framework), but they aren't as popular and effective as Agile Scrum and Agile Kanban.

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

    What is the best framework for me?

    Posted: 26 Nov 2019 08:50 PM PST

    I actually wanted to ask in /r/learnprogramming but from the history, Androod question doesn't get much attention. So here am I.

    Hi! I learn programming casually. I know PHP and Python. I actually wanted to make Android app, but my head went blank when I open Android Studio to learn how to code.

    So I am thinking to use a framework. I use jQuery for building websites instead of learning Javascript directly. While using jQuery, I got to learn basic JS too. This is how I want with Android. Is it possible and is there any framework suit for me and considered to be 1 of the best framework out of there?

    Some of you might dislike this, but I am not inteded to find a job or something like that. I wanted to learn for fun.

    I learned PHP and Python by looking at people's code. I also coded on mobile phone with no syntax highlighting back then. So having the need to use Android Studio is quite confusing for me. I don't know how to proceed since I used to use text editor to code. I watched some courses on Udemy and ended up getting bored and confused because like I said, I learned PHP and Python by looking at people's code, not by followimg ordered tutorial.

    Hopefully someone can help me because I really wanted to learn how to build Android app while learning the basics along the process, but with framework that can ease my learning.

    Thanks. My English is not perfect. If you don't understand any of my explanation, I will try to explain it again to you. Thanks

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

    3D Mobile Application Development using Augmented Reality - iFour Technolab

    Posted: 26 Nov 2019 11:23 PM PST

    Emulator 29.2.11 to Canary

    Posted: 26 Nov 2019 10:41 PM PST

    Testing. Is it worth my time?

    Posted: 26 Nov 2019 08:39 PM PST

    So I'm about to start working for a small startup and to start I will be the only Android dev on the team. My boss hopes the app to be finished in 6 months. I plan on using the suggested best practices (MVVM, jetpack, kotlin, testing, dagger, etc). I want to implement TDD but this will be my first time doing so professionally and I wanted to know will it be worth the time spent writing tests? From what I've researched thus far TDD looks very time consuming and looks like it will slow down the development cycle tremendously.

    The hope is that our team will grow and I will be the lead/senior engineer for this project. Should I make sure to implement TDD to be prepared for the potential growth of the company or hold off on TDD and focus on building the best app in the shortest time frame?

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

    No comments:

    Post a Comment