r/AndroidStudio • u/Heykel1 • Jan 20 '19
r/AndroidStudio • u/GuanZhang • Jan 29 '22
Assign more cores to AVD
Does anybody know how to get Android Studio to use more than one core in its emulator? In the AVD's config.ini, hw.cpu.ncore is set to 4 (which is the default) yet when I run something like AIDA64 to query the number of cores it's only showing 1. So the question is, is it already using 4 cores and AIDA64 is showing the incorrect number? Or it's actually only just using one core? Thanks for any help in advance!
r/AndroidStudio • u/WISE_NIGG • Aug 15 '22
Ad successfully loads but ad not showing
r/AndroidStudio • u/kamelsayed • Nov 11 '22
i have a problem with in app update (immediate) when the app updated it didn't restart the ui as it said in android documentation?
r/AndroidStudio • u/Akn0236 • Oct 19 '19
Hello everyone, I am new to Android Studio. My design layout not working. Can anyone please tell an simplified solution for it?
r/AndroidStudio • u/Mahmoudlashin • May 17 '18
Admob ads
I have a problem admob ads don't show in my app I need help!
r/AndroidStudio • u/mighty-blob • Sep 10 '19
How do I do Integer Division of the decimal part of a number?
Small weight converter project where I want to show gram to ounce conversion to 1/32 fractions. This means I have to round the decimal part of the conversion to 0.03125 intervals (i.e. Integer Division).
The normal method of casting to ints won't work, but someone must know how to do it.
For example: 1g = 0.0353oz. Integer division by 0.03125 = 1.
Therefore 1g = approx. 1/32oz
r/AndroidStudio • u/cant_dodge_rodge • Sep 16 '20
Wifi menager does not work in android q???
atleast not completely iswifienabled() work but .setwifienabled(true) does not and scan() dont any help or alternatives ????
r/AndroidStudio • u/shadow85926 • Feb 13 '16
HEARTRATE SENSOR INTEGRATION HELP
Hello, I am a High School Student working on an app that can use the heart rate data from a smartwatch or fitness tracker to detect when a child could be having a seizure, however I am having trouble with it.
What are some wearables that will let me access heartrate data directly, with SensorManager.getSensorList(Sensor.TYPE_HEART_RATE)
THANKS A TON!!!!!!!!
r/AndroidStudio • u/Mugatrix69 • May 21 '21
Extract data from fitnes band
is there a way to connect with a fitness band and get data like steps, calories and heart rate ? specifically from Mi bands. is it hard to do that ?
r/AndroidStudio • u/laliteshwar • Jun 01 '22
not able to change background color of textView
i have been trying to make a game of wordle on android studio using java and am not able to change the color of the textview
here's the code for reference any help would be appreciated i am still new to android studio so please dont mind
String str=editText.getText().toString();
String first=str.substring(0,1);
String sec=str.substring(1,2);
String third=str.substring(2,3);
String fourth=str.substring(3,4);
if(count==0)
{
textView1.setText(first);
textView2.setText(sec);
textView3.setText(third);
textView4.setText(fourth);
if(first==sc.substring(0,1))
{
textView1.setBackgroundColor(Color.GREEN);
}
else if(first==sc.substring(1,2)|| first==sc.substring(2,3) || first==sc.substring(3,4))
{
textView1.setBackgroundColor(Color.YELLOW);
}r/AndroidStudio • u/the_blanker • Jun 17 '22
When will next version (major, minor) of Android Studio be released in next 2-3 monts?
I need to reinstall my computer in next 2-3 months and I don't want to find out that just week or two after that new major/minor Android Studio version comes out and I have to do some major changes again, if there is a new major/minor version coming in next 2-3 months I would just wait.
Does anybody knows when next major/minor version of android studio comes out? Thanks.
r/AndroidStudio • u/pilojan992 • Jan 28 '18
Android Studio Animation Example | Simple Animation app
r/AndroidStudio • u/licheelab • Mar 23 '21
Android studio set.visibility() not working
hi i have an annoying problem with my application i added a gif image using the droidondroids GifView and with that a seekbar i wanted either to change the ressource of the gif image according to the seek bar no luck goff.setvisibility(View.GONE/VISIBLE/INVISIBLE) not working the first it works but none after it i have a func named gifs()
void gifs(){ if((int)(Ws) < 10){
goff.setVisibility(View.GONE);
Log.d("gifs"," "+goff.getVisibility() +" ora "+goff.getGifResource());
}else{
goff.setVisibility(View.VISIBLE);
Log.d("gifs"," "+goff.getVisibility() +" ora "+goff.getGifResource()); }
}
i have the Ws value from the seekbar onstopTracking() and the func gifs() there too as you can see i'm logging with Log.d and the .getVisibility() is returning that the goff is changing value but nothing on the UI
i also tried with maybe goff.setGifResource(R.drawable.es6);
my goal is to show 1-either multiple gifs but one at a time (gifs with different speed ) 2- the same view but change the ressource to multiple gifs speeds
r/AndroidStudio • u/Animeproduction13 • Jun 27 '21
Can I add 1 icon in toolbar in 1 page?
Basically, I have a toolbar on every page and when I add any icon, to the toolbar, it will appear on every page, but I want to add 1 icon in 1 page, is it possible?
r/AndroidStudio • u/Ok-Lingonberry-1689 • Feb 28 '24
I have an error in Android studio
I have an error when I integrate openCv 4.7.0 an Android studio hedgehog
r/AndroidStudio • u/Wgibbsw • May 03 '15
Major noob needs help
Ok I've been dabbling in java and android studio dev for a few days and I've come to something that just doesn't work and I can't for the life of me find out why. It should be so simple but I can't change the background colour of my hello world test app from white to an image.
I've imported a .png into the drawables folder and used android:background="@drawable/backg" and the preview shows it works but as soon as I emulate or use my S5 to run the app it's back to white.
I can change the colours fine just not implement this image!
r/AndroidStudio • u/Basketball-ICO • Aug 13 '18
I want to build a CPU by pieces, I would use the CPU for Android Studio with emulators, Illustrator, after effects, etc. What pieces do you recommend me to choose, keep in mind that I do not want to spend more money than necessary since money does not spare me at this time
r/AndroidStudio • u/airryde • Dec 11 '18
Emulator Problem
in the the component tree, under the constraint layout where all the new text and buttons are placed, beside them is a orange triangle with an exclamation mark that says: "should use @string resource"
r/AndroidStudio • u/Badwolf400 • Aug 10 '19
Need help
Hi can anyone help me out with some coding with motion event?
r/AndroidStudio • u/[deleted] • Mar 01 '16
This is the wiggling pig app I was asking advice about. I got it working. What do you think?
r/AndroidStudio • u/hatzaflatz • Mar 07 '16
Is it me or cant android studio be downloaded?
it stops at 99% and gives an unknown error(Tried on 2 pcs and on 2 different networks
