If you want to know more about this you need to dig inside the documents and read them from the Intend Service. The battery status is generally taken by the Battery Manager which broadcast all the battery and charging details.
I am getting an an error when I try to display 2 input views. They are captured in one fragment screen and then I try to display them on a second fragment screen. The navigation works but they display as resources?... i do not even know what it is called.
This is the setOnClickListener that calls up that screen. I suspect it has something to go with safeArgs
val username = binding.editTextUsername.toString()
val password = binding.editTextPassword.toString()
val action = LoginFragmentDirections.actionLoginFragmentToWelcomeFragment(username, password) findNavController().navigate(action)
Android Studio related question.. someone might know...
I am watching a tutorial... am curious as to what drives these code insights to show up.
in the images below,.. one is from the tutorial, the other in mine"lixo.frag....."
I have an idea for an app but I'm very confused and don't know where to start I want to program an application to search for contacts by name or phone number use java or kotlin or flutter
The mechanism of its work is when the user installs the application, the contacts are pulled from the phone and then uploaded to an external database. This process is done for all users so that when one of the users tries to search by phone number, it displays all to him from the database the names that are registered in all other users’ phones I ask fellow engineers to help me from where to start and how to program it Thank you from the bottom of my heart
Start by writing down on paper a precise specification of what you want your app to do.
Then research the available languages and frameworks, and pick one that will do what you want.
Learn that language and framework. Write the code for your app. Test and debug until it works.
Then, based on the description of your app, hire the best lawyer you can afford. If it ever gets into an app store, you'll end up being sued for massively breaching your users' - and their contacts' - privacy.
"These people looked deep within my soul and assigned me a number based on the order in which I joined." - Homer
The phone already a contacts database, and your app, as useless as it now is, will need the users permission to get at that database. So your essentially bypassing the security of your contacts database.
Now, try to understand this from the users point of view. "You want to upload all of my contacts to some central database? FOR WHAT NOW?" "F*** that!" Why on earth would anyone want to search the contacts of, say, their ex-gfs phones? I assure you it's for nothing legal.
How are you going to prevent spammers from getting their hands on that data? I'm sure everyone would love to get spammed from your contact database (not!)
Your app idea is going to get you sued the first time it's used for the wrong purpose, and it's really easy to do that! You'll be paying that judgement off for the rest of your life.
Drop the idea. Nobody in their right mind would subscribe to it.
I've never heard of Truecaller, and would never use it. I do NOT expose my contact list to anything or anyone out of respect for the vulnerability of that data, the contacts themselves, and the possibility of its misuse.
I would never trust any 3rd party security keeping that data safe on their systems.
Then you have a long way to go to bring such a project to completion. The default language for Android development is Java, so you should head over to Java Tutorials Learning Paths[^] and start reading.
I have a idea for a project a app, that I think could be a money maker, but even better I think could save lives and make lives better for many? Huge catch, it would require coding I do not know, and business cooperation but I think I have some contacts to begin. I thought about making it open source and no profit but I think if others want to be paid, I could not afford that, so I am working on making a nondisclosure aggreement, then cut percentages for the app? What interests developers, attracts talent? Is this enough? (looking at some months to mature maybe years) I am thinking I could dump into a nonprofit developer site then there is a hardware component I want to add at some point.
I don't think this would be a good idea to attract developers. There is a classical notion of getting paid for the work in terms of salary but yes of course you can get the one who will be really interested in your plan and would work by getting associated with your plan.
Well, I would agree with the basic notion of anyone getting paid for the work they are doing but yes these days people are really interested in doing charity work and also they want to get involved in the project which they like. Therefore you may ask your group or any big influencer who is ready for charity work as their CSR.
System.TypeInitializationException: 'The type initializer for 'Microsoft.Win32.Registry' threw an exception.'
Schweregrad Code Beschreibung Projekt Datei Zeile Unterdrückungszustand
Warnung Konflikt zwischen der Prozessorarchitektur des Projekts "MSIL", das erstellt wird, und der Prozessorarchitektur des Verweises, "C:\Users\user\.nuget\packages\ibm.data.db2.core\184.108.40.2060\lib\netstandard2.1\IBM.Data.DB2.Core.dll", "AMD64". Dieser Konflikt kann zu Laufzeitfehlern führen. Ändern Sie ggf. mithilfe des Konfigurations-Managers die als Ziel angegebene Prozessorarchitektur Ihres Projekts so, dass die Prozessorarchitekturen zwischen Ihrem Projekt und den Verweisen ausgerichtet werden, oder wählen Sie eine Abhängigkeit von Verweisen mit einer Prozessorarchitektur, die der als Ziel angegebene Prozessorarchitektur Ihres Projekts entspricht. XMARIN.Android
My first suggestion would be to trim your code down to just the absolute minimum needed to reproduce the problem. Everything else is just extra noise getting in the way. People here don't mind helping at all, but they can't be expected to wade through a bunch of code that only you understand.
Have you tried using different colors for text and background? Have you tried drawing on the DrawingView canvas itself instead of the canvas that is created from within the onSizeChanged() method? Have you tried stepping through the code using the debugger?
"One man's wage rise is another man's price increase." - Harold Wilson
"Fireproof doesn't mean the fire will never come. It means when the fire comes that you will be able to withstand it." - Michael Simmons
"You can easily judge the character of a man by how he treats those who can do nothing for him." - James D. Miles
I do wonder what your expectation is when posting such a request, from volunteers! You seem to expect someone to go through your entire program and basically mentor you to get what you want to achieve.
You don't post any error, there is no indication where the problem lies, just the entire code with a set of design requirements.
So you should not expect anything but the usual answer. This implies that you have posted such requests before, it seems you do not learn from the usual answer!
Never underestimate the power of human stupidity -
I'm old. I know stuff - JSOP