• After 15+ years, we've made a big change: Android Forums is now Early Bird Club. Learn more here.

(resolved) Fine volume control

I've got a Moto One Power running latest version of Android P. How can I get fine volume control? Currently the volume level is either too high or too low. Hitting my volume button just once makes it go from too soft to too loud. I've looked at fine volume control apps but they're all very old and haven't been updated in years. How can I get fine volume control on my Android? Let me know if this post needs to go somewhere else. Thanks,

RAM consumption with empty application

Good afternoon.
Moto G5S, Android 8.1, 3GB RAM
An application has been created that displays " Hello, World "in the center of the screen.
Java:
<?xml version="1.0" encoding="utf-8"?>
<android.support.constraint.ConstraintLayout xmlns:android="http://schemas.android.com/apk/res/android"
    xmlns:app="http://schemas.android.com/apk/res-auto"
    xmlns:tools="http://schemas.android.com/tools"
    android:layout_width="match_parent"
    android:layout_height="match_parent"
    tools:context=".MainActivity">
    <TextView
        android:layout_width="wrap_content"
        android:layout_height="wrap_content"
        android:text="Hello World!"
        app:layout_constraintBottom_toBottomOf="parent"
        app:layout_constraintLeft_toLeftOf="parent"
        app:layout_constraintRight_toRightOf="parent"
        app:layout_constraintTop_toTopOf="parent" />
</android.support.constraint.ConstraintLayout>

package com.example.debugtest1;
import android.support.v7.app.AppCompatActivity;
import android.os.Bundle;
public class MainActivity extends AppCompatActivity {
    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.activity_main);
    }
}
At startup, the Profiler shows 32.8 MB of RAM:
Others: 1.5
Code: 5
Stack: 0.3
Graphics: 14.7
Native: 7.4
Java: 3.9
Allocated: N/A

Given that this app is actually empty, is this normal?
Is it possible to reduce memory consumption?

Display Erratically functioning

Dear Forum,
I am having two android phones and two laptops out of which , one Acer Aspire laptop does not have wifi and hence using the laptop with my Sony xperia phone in USB hot spot mode for internet connection..

By the time when I tried to open the other laptop ( Dell Vostro 1510, having wifi facility) with my Samsung J110 smart phone, the phone functions erratically like, display gets jumping,; changed to other pages automatically,
changes the day and date inspite of having automatic setting, making call to a number available in contact list. During that time, no keys will be working to stop it etc.So finally, I have remove the battery .

When I switch of the other laptop, this phone gets alright and I can use it for either in wifi mode or USB hotspot mode.
Tried with debugging not enabled also, had not helped.
Request through the forum whether somebody will help me to set it alright.
Thanks

Introduction

Hello, Android Forum Members,

Feel Happy to join with Android forums.
I am K.Solaimalai, 64, male, from India and retired recently from my mechanical industrial profession.

I am having very basic knowledge in technology and started learning day by day about latest technology, Computer smart phone functions and Very often, I am in trouble with my Laptop and android phones and getting sorted some of the issues through Youtube or with browsing.

Now that , I think,I can enjoy the support of many forum members in resolving many of my issues.
Regards

Help Earphone controls issue

Good day to all,

This is a minor issue, but an issue that I've had for a few years and I thought I would ask here if anyone knows any solutions. Basically, certain earphones/headsets use (volume) controls that work separately from the internal controls of the Android system, and the following problems arise:

1. Usually, according to the manuals of a lot of these headsets, you have to press one of the buttons mutliple times to change the song. This does not work.
2. According to Android, you have to hold the volume button to change the song. This of course also does not work if the headsets use their own controls.
3. More recently, when I restart Spotify or the phone, the volume of the headphones will jump back to 100%, deafening me when I try to play something. I think there were also a few other issues, I can't recall right now.

I am thinking that the easiest solution would be to just force the headphones to use Android's controls, but I don't know if that is possible. Is it?

I could give you the model names but I have had this happen with different phones, different earphones and different Android versions so I know it's a general issue. A law just got instituted where I live that forbids holding a phone while riding a bike and I bike to work, so I can no longer use the phone's buttons, so I would really like to figure this out :)

Apps I'm trying to run a project, but there's this error

Launching lib/main.dart on SM M205F in debug mode...
Initializing gradle...
Resolving dependencies...
* Error running Gradle:
ProcessException: Process "/home/neeltron/Desktop/How-to-Build-a-Biomedical-Startup-master/android/gradlew" exited abnormally:

BUILD FAILED

Total time: 0.825 secs

Failed to notify ProjectEvaluationListener.afterEvaluate(), but primary configuration failure takes precedence.
java.lang.IllegalStateException: buildToolsVersion is not specified.
at com.google.common.base.Preconditions.checkState(Preconditions.java:173)
at com.android.build.gradle.BasePlugin.createAndroidTasks(BasePlugin.java:558)
at com.android.build.gradle.BasePlugin.lambda$null$4(BasePlugin.java:526)
at com.android.builder.profile.ThreadRecorder.record(ThreadRecorder.java:81)
at com.android.build.gradle.BasePlugin.lambda$createTasks$5(BasePlugin.java:522)
at org.gradle.internal.event.BroadcastDispatch$ActionInvocationHandler.dispatch(BroadcastDispatch.java:93)
at org.gradle.internal.event.BroadcastDispatch$ActionInvocationHandler.dispatch(BroadcastDispatch.java:82)
at org.gradle.internal.event.AbstractBroadcastDispatch.dispatch(AbstractBroadcastDispatch.java:44)
at org.gradle.internal.event.BroadcastDispatch.dispatch(BroadcastDispatch.java:79)
at org.gradle.internal.event.BroadcastDispatch.dispatch(BroadcastDispatch.java:30)
at org.gradle.internal.dispatch.ProxyDispatchAdapter$DispatchingInvocationHandler.invoke(ProxyDispatchAdapter.java:93)
at com.sun.proxy.$Proxy15.afterEvaluate(Unknown Source)
at org.gradle.configuration.project.LifecycleProjectEvaluator.notifyAfterEvaluate(LifecycleProjectEvaluator.java:82)
at org.gradle.configuration.project.LifecycleProjectEvaluator.doConfigure(LifecycleProjectEvaluator.java:76)
at org.gradle.configuration.project.LifecycleProjectEvaluator.access$000(LifecycleProjectEvaluator.java:33)
at org.gradle.configuration.project.LifecycleProjectEvaluator$1.execute(LifecycleProjectEvaluator.java:53)
at org.gradle.configuration.project.LifecycleProjectEvaluator$1.execute(LifecycleProjectEvaluator.java:50)
at org.gradle.internal.Transformers$4.transform(Transformers.java:169)
at org.gradle.internal.progress.DefaultBuildOperationExecutor.run(DefaultBuildOperationExecutor.java:106)
at org.gradle.internal.progress.DefaultBuildOperationExecutor.run(DefaultBuildOperationExecutor.java:61)
at org.gradle.configuration.project.LifecycleProjectEvaluator.evaluate(LifecycleProjectEvaluator.java:50)
at org.gradle.api.internal.project.DefaultProject.evaluate(DefaultProject.java:628)
at org.gradle.api.internal.project.DefaultProject.evaluationDependsOn(DefaultProject.java:699)
at org.gradle.api.internal.project.DefaultProject.evaluationDependsOn(DefaultProject.java:691)
at org.gradle.api.Project$evaluationDependsOn.call(Unknown Source)
at build_75n56u0l23gg540dtryo0z527$_run_closure2.doCall(/home/neeltron/Desktop/How-to-Build-a-Biomedical-Startup-master/android/build.gradle:20)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at org.codehaus.groovy.reflection.CachedMethod.invoke(CachedMethod.java:93)
at groovy.lang.MetaMethod.doMethodInvoke(MetaMethod.java:325)
at org.codehaus.groovy.runtime.metaclass.ClosureMetaClass.invokeMethod(ClosureMetaClass.java:294)
at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:1024)
at groovy.lang.Closure.call(Closure.java:414)
at groovy.lang.Closure.call(Closure.java:430)
at org.gradle.api.internal.ClosureBackedAction.execute(ClosureBackedAction.java:70)
at org.gradle.util.ConfigureUtil.configureTarget(ConfigureUtil.java:160)
at org.gradle.util.ConfigureUtil.configure(ConfigureUtil.java:106)
at org.gradle.api.internal.project.DefaultProject.configure(DefaultProject.java:983)
at org.gradle.api.internal.project.DefaultProject.configure(DefaultProject.java:988)
at org.gradle.api.internal.project.DefaultProject.subprojects(DefaultProject.java:971)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at org.codehaus.groovy.reflection.CachedMethod.invoke(CachedMethod.java:93)
at groovy.lang.MetaMethod.doMethodInvoke(MetaMethod.java:325)
at org.gradle.internal.metaobject.BeanDynamicObject$MetaClassAdapter.invokeMethod(BeanDynamicObject.java:382)
at org.gradle.internal.metaobject.BeanDynamicObject.invokeMethod(BeanDynamicObject.java:170)
at org.gradle.internal.metaobject.CompositeDynamicObject.invokeMethod(CompositeDynamicObject.java:96)
at org.gradle.internal.metaobject.MixInClosurePropertiesAsMethodsDynamicObject.invokeMethod(MixInClosurePropertiesAsMethodsDynamicObject.java:30)
at org.gradle.internal.metaobject.AbstractDynamicObject.invokeMethod(AbstractDynamicObject.java:163)
at org.gradle.groovy.scripts.BasicScript.methodMissing(BasicScript.java:83)
at sun.reflect.GeneratedMethodAccessor26.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at org.codehaus.groovy.reflection.CachedMethod.invoke(CachedMethod.java:93)
at groovy.lang.MetaClassImpl.invokeMissingMethod(MetaClassImpl.java:941)
at groovy.lang.MetaClassImpl.invokePropertyOrMissing(MetaClassImpl.java:1264)
at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:1217)
at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:1024)
at org.codehaus.groovy.runtime.callsite.PogoMetaClassSite.callCurrent(PogoMetaClassSite.java:69)
at org.codehaus.groovy.runtime.callsite.AbstractCallSite.callCurrent(AbstractCallSite.java:166)
at build_75n56u0l23gg540dtryo0z527.run(/home/neeltron/Desktop/How-to-Build-a-Biomedical-Startup-master/android/build.gradle:18)
at org.gradle.groovy.scripts.internal.DefaultScriptRunnerFactory$ScriptRunnerImpl.run(DefaultScriptRunnerFactory.java:90)
at org.gradle.configuration.DefaultScriptPluginFactory$ScriptPluginImpl$2.run(DefaultScriptPluginFactory.java:176)
at org.gradle.configuration.ProjectScriptTarget.addConfiguration(ProjectScriptTarget.java:77)
at org.gradle.configuration.DefaultScriptPluginFactory$ScriptPluginImpl.apply(DefaultScriptPluginFactory.java:181)
at org.gradle.configuration.project.BuildScriptProcessor.execute(BuildScriptProcessor.java:39)
at org.gradle.configuration.project.BuildScriptProcessor.execute(BuildScriptProcessor.java:26)
at org.gradle.configuration.project.ConfigureActionsProjectEvaluator.evaluate(ConfigureActionsProjectEvaluator.java:34)
at org.gradle.configuration.project.LifecycleProjectEvaluator.doConfigure(LifecycleProjectEvaluator.java:70)
at org.gradle.configuration.project.LifecycleProjectEvaluator.access$000(LifecycleProjectEvaluator.java:33)
at org.gradle.configuration.project.LifecycleProjectEvaluator$1.execute(LifecycleProjectEvaluator.java:53)
at org.gradle.configuration.project.LifecycleProjectEvaluator$1.execute(LifecycleProjectEvaluator.java:50)
at org.gradle.internal.Transformers$4.transform(Transformers.java:169)
at org.gradle.internal.progress.DefaultBuildOperationExecutor.run(DefaultBuildOperationExecutor.java:106)
at org.gradle.internal.progress.DefaultBuildOperationExecutor.run(DefaultBuildOperationExecutor.java:61)
at org.gradle.configuration.project.LifecycleProjectEvaluator.evaluate(LifecycleProjectEvaluator.java:50)
at org.gradle.api.internal.project.DefaultProject.evaluate(DefaultProject.java:628)
at org.gradle.api.internal.project.DefaultProject.evaluate(DefaultProject.java:129)
at org.gradle.execution.TaskPathProjectEvaluator.configure(TaskPathProjectEvaluator.java:35)
at org.gradle.execution.TaskPathProjectEvaluator.configureHierarchy(TaskPathProjectEvaluator.java:60)
at org.gradle.configuration.DefaultBuildConfigurer.configure(DefaultBuildConfigurer.java:38)
at org.gradle.initialization.DefaultGradleLauncher$1.execute(DefaultGradleLauncher.java:161)
at org.gradle.initialization.DefaultGradleLauncher$1.execute(DefaultGradleLauncher.java:158)
at org.gradle.internal.Transformers$4.transform(Transformers.java:169)
at org.gradle.internal.progress.DefaultBuildOperationExecutor.run(DefaultBuildOperationExecutor.java:106)
at org.gradle.internal.progress.DefaultBuildOperationExecutor.run(DefaultBuildOperationExecutor.java:56)
at org.gradle.initialization.DefaultGradleLauncher.doBuildStages(DefaultGradleLauncher.java:158)
at org.gradle.initialization.DefaultGradleLauncher.doBuild(DefaultGradleLauncher.java:119)
at org.gradle.initialization.DefaultGradleLauncher.run(DefaultGradleLauncher.java:102)
at org.gradle.launcher.exec.GradleBuildController.run(GradleBuildController.java:71)
at org.gradle.tooling.internal.provider.ExecuteBuildActionRunner.run(ExecuteBuildActionRunner.java:28)
at org.gradle.launcher.exec.ChainingBuildActionRunner.run(ChainingBuildActionRunner.java:35)
at org.gradle.launcher.exec.InProcessBuildActionExecuter.execute(InProcessBuildActionExecuter.java:41)
at org.gradle.launcher.exec.InProcessBuildActionExecuter.execute(InProcessBuildActionExecuter.java:26)
at org.gradle.tooling.internal.provider.ContinuousBuildActionExecuter.execute(ContinuousBuildActionExecuter.java:75)
at org.gradle.tooling.internal.provider.ContinuousBuildActionExecuter.execute(ContinuousBuildActionExecuter.java:49)
at org.gradle.tooling.internal.provider.ServicesSetupBuildActionExecuter.execute(ServicesSetupBuildActionExecuter.java:44)
at org.gradle.tooling.internal.provider.ServicesSetupBuildActionExecuter.execute(ServicesSetupBuildActionExecuter.java:29)
at org.gradle.launcher.daemon.server.exec.ExecuteBuild.doBuild(ExecuteBuild.java:67)
at org.gradle.launcher.daemon.server.exec.BuildCommandOnly.execute(BuildCommandOnly.java:36)
at org.gradle.launcher.daemon.server.api.DaemonCommandExecution.proceed(DaemonCommandExecution.java:120)
at org.gradle.launcher.daemon.server.exec.WatchForDisconnection.execute(WatchForDisconnection.java:47)
at org.gradle.launcher.daemon.server.api.DaemonCommandExecution.proceed(DaemonCommandExecution.java:120)
at org.gradle.launcher.daemon.server.exec.ResetDeprecationLogger.execute(ResetDeprecationLogger.java:26)
at org.gradle.launcher.daemon.server.api.DaemonCommandExecution.proceed(DaemonCommandExecution.java:120)
at org.gradle.launcher.daemon.server.exec.RequestStopIfSingleUsedDaemon.execute(RequestStopIfSingleUsedDaemon.java:34)
at org.gradle.launcher.daemon.server.api.DaemonCommandExecution.proceed(DaemonCommandExecution.java:120)
at org.gradle.launcher.daemon.server.exec.ForwardClientInput$2.call(ForwardClientInput.java:74)
at org.gradle.launcher.daemon.server.exec.ForwardClientInput$2.call(ForwardClientInput.java:72)
at org.gradle.util.Swapper.swap(Swapper.java:38)
at org.gradle.launcher.daemon.server.exec.ForwardClientInput.execute(ForwardClientInput.java:72)
at org.gradle.launcher.daemon.server.api.DaemonCommandExecution.proceed(DaemonCommandExecution.java:120)
at org.gradle.launcher.daemon.server.exec.LogAndCheckHealth.execute(LogAndCheckHealth.java:55)
at org.gradle.launcher.daemon.server.api.DaemonCommandExecution.proceed(DaemonCommandExecution.java:120)
at org.gradle.launcher.daemon.server.exec.LogToClient.doBuild(LogToClient.java:60)
at org.gradle.launcher.daemon.server.exec.BuildCommandOnly.execute(BuildCommandOnly.java:36)
at org.gradle.launcher.daemon.server.api.DaemonCommandExecution.proceed(DaemonCommandExecution.java:120)
at org.gradle.launcher.daemon.server.exec.EstablishBuildEnvironment.doBuild(EstablishBuildEnvironment.java:72)
at org.gradle.launcher.daemon.server.exec.BuildCommandOnly.execute(BuildCommandOnly.java:36)
at org.gradle.launcher.daemon.server.api.DaemonCommandExecution.proceed(DaemonCommandExecution.java:120)
at org.gradle.launcher.daemon.server.exec.StartBuildOrRespondWithBusy$1.run(StartBuildOrRespondWithBusy.java:50)
at org.gradle.launcher.daemon.server.DaemonStateCoordinator$1.run(DaemonStateCoordinator.java:297)
at org.gradle.internal.concurrent.ExecutorPolicy$CatchAndRecordFailures.onExecute(ExecutorPolicy.java:54)
at org.gradle.internal.concurrent.StoppableExecutorImpl$1.run(StoppableExecutorImpl.java:40)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
at java.lang.Thread.run(Thread.java:745)

FAILURE: Build failed with an exception.

* Where:
Script '/home/neeltron/development/flutter/packages/flutter_tools/gradle/flutter.gradle' line: 27

* What went wrong:
A problem occurred evaluating script.
> Could not find method google() for arguments [] on repository container.

* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output.
Command: /home/neeltron/Desktop/How-to-Build-a-Biomedical-Startup-master/android/gradlew app:properties

Finished with error: Please review your Gradle project setup in the android/ folder.

Space.. it's big!

This is a daft thread. :cool:

So any sci-fi fan has heard the term "light years away" etc etc and then off zooms the ship with its warp drive and appears at its destination moments later. Now I've always wondered just how far a "light year" is but never got round to it.

I finally did today and it blew my mind..

1 light year is a mere 5,878,625,373,200 miles away!!! :eek:

So with this in mind I thought "how far is Proxima Centauri", our nearest star. Turns out that is 4.22 light years away or 24,807,799,074,904 miles away.. :oops:

These are crazy figures, especially when you think that our furthest probe in space is the Voyger 1 probe that is travelling at around 38,000 miles per hour (in 2014) it would take the probe 17,500 YEARS !! to reach 1 light year away from planet earth at it's current speed.. :eek:

My goodness space is BIG, it's enough to give you an anxiety attack. :p

Android radio on my bmw

Hi,
First of sorry if this is not the right place for my question but I have searched in the forum and couldnt find any other place.
I have installed one of those android radios on my bmw.
I have rear seat monitors also.
My question is the only way I can send video to the rear seat monitors is with the pre instaled app on the radio wich name is only “ video”.
Is there any other apk that allows me to choose the output?!
The android version is 7.1.
Thanks for your help.

missing APN settings in mobile networks

Hi, just got this Verizon phone galaxy note 4 N910V , new out of the box, bought on ebay. android 5.0.1 Got the phone to work but cannot get data to work. Tried to get help from service provider but we cannot see APN settings. When I go to more networks then mobile networks there are no APN choices. Software is missing?
Did some searching on the net, found similar questions form other people but no working answer.

Can I fix this or should I return the phone?

Uber like app with Glide (MVP)

Hello everyone, I am a project manager for years and have always found that when starting a tech company the best thing to do is to launch a product to market and validate that market with the most simple prototype.

Most investors ask for a functioning product in order to take a second look at the business as an investment oportunity.

I don't have much programing experience as to tackle this on with code, so I have been suggested an alternative to creating an uber like trucking/logistics platform in Central America using Glide app, zappier, amd tookan with serverless.

My question is based on many of your experience, would I be able to build at least an mvp or functional prototype to get my business of the ground using these apps?

Devices suddenly repeatedly disconnecting from wifi

In the last week or so I have found that my device continually tries to connect to wifi but fails and galls back to 4G.

I have restarted router and turned off 5GHz network even though devices were connecting fine previously with both 2.4 and 5GHz switched on.

The other thing is that it is not just my device. Others in the house are having the same problem with both apple and android devices.

Has anyone else seen this please?

Apps Hello Everyone

Alright, so fairly new here, last time i tried programming/scriptin/coding whatever you want to call it, i was about 15 years old and fascinated with it, then my parents got involved and well im sure everyone here has heard the old they didnt understand it story, anyways i'm looking to get back into it with phone apps.

Anyways ive read some of the information thats stickied on here and i plan on reading the rest but really what im curious about when i go to launch the app depending on its resources etc... should i host it off my personal PC at first or should i go ahead and spring for a VPS.

for any devs currently whatever your app is on whether its gaming or informational etc... is there any common mistakes people make with their first phone app, like what programs they use/shouldn't use, information they read that may be wrong or outdated, i know a big mistake in games for awhile was they made everything client sided even in mmorpgs like gold etc... so i know a lot of stuff needs to be server sided with regular checks and maybe even anti-cheat programs/algorithms for other variables such as monitoring cool downs or player speed, theres even a few games on the app store ive found lately that have those old issues and the devs havent cranked out a bug fix or anything since 2/18/19 just an example.

anyways any and all assistance on this would be GREATLY appreciated.

also in your opinion what language should i work in and should i even use Android studio

Build versions

I recently implemented ads with adMob in my app. In doing so, in order to get everything working right, I ended up raising the compileSdbVersion to 28 and the min & target versions to 26, base OS Oreo 8.0. Prior to this implementation, I was having no problems running on 7.0

Of course, this means that 7.0 devices can't run the app.

But the downside is that, according to the distribution chart, that means my app only runs on ~40% of devices. That's 60% that I'm missing.

I have a lot of trouble working with all the different configurations in gradle - when I change things, I'm constantly getting build errors or "unable to link resource" errors, stuff like that.

Can anyone point me to a resource or offer some advice on how to (a) have ads and (b) be available to a majority of devices (looks like I need to hit 6.0 for that)? Or even just something to help me understand how to work with gradle better, so I can work around these issues?

Filter

Back
Top Bottom