id tag

1618 questions


1 answers
23 views
0
I made an Android app for studying I have a question.

I made an application that shares locations with my friends, but the more friends I have, the worse the cell phone heats up and the battery decreases quickly, so I wonder if it's because of the applic...

2 years ago

1 answers
97 views
0
Can the sensor be continuously measured even if the Android activity is pause?

I have a question while studying Android.Is there a way to continuously measure the sensor (acceleration) even if the app presses the home key to pause?Do I have to use the service?

2 years ago

2 answers
97 views
0
I have a question about Android int.

public void getIntentProcess(Intent intent) { String comment = intent.getStringExtra(comment); int rating = Math.round(intent.getFloatExtra(rating, 0.0f)); if (comment != null) { items.add(new Com...

2 years ago

1 answers
33 views
0
Do not get gps speed values (Location Manager settings are complete). If you import and move the current location, you can accumulate the gps distance. But it doesn't get the speed.)

public float getSpeed(){ return speed; }public void setSpeed(float speed){ this.speed = speed;} public void onLocationChanged(Location location) { Log.d(TAG,location.hasSpeed()+); if(location.hasSpee...

2 years ago

1 answers
103 views
0
I wonder why you use this before Android this.findViewById

While I was reading the Android book, I had a question~Usually, you find the ID of the view in the following way.Button startButton = (Button) findViewById(R.id.startButton);In the book, we put this i...

2 years ago

1 answers
98 views
0
Is it possible to change string to integer on Android?

I'd like to change the string to an integer.There's edittext, and the user enters a number here.I received it as String hello, but I want to change it to Integer instead of String.EditText et = (EditT...


1 answers
24 views
0
How to make a loading bar on Android

I'm making an app, but I think it'll stop if the screen stays still while I'm loading the imageI'd like to mark that the image is being loaded, what should I do?

2 years ago

1 answers
23 views
0
OnDraw is not called.

Draw something first on the onDraw of a customized view If I say setBackGroundResource(), onDraw doesn't work So I can't update my screen...What should I do?

2 years ago

1 answers
24 views
0
Method invoking question of another class.

I tried to use the GPS check method below by calling MainActivity, but I couldn't use itIt's bouncing off. I need your advice.===GPS Verification Class===public class CheckGPS extends Activity{public ...

2 years ago

1 answers
25 views
0
I'm going to load the information in the Android address book in db format and display it in the listview.

I'm going to load the information in the Android address book in db format and display it in the listview.How should we approach it?

2 years ago
« - 112 - »

© 2024 OneMinuteCode. All rights reserved.