d tag

2228 questions


1 answers
85 views
0
Problems with different file sizes when loading and rewriting files to Bitmap

Bring the pictures of the gallery from Android and put them on Bitmap bm.compress(Bitmap.CompressFormat.PNG, SAMPLING, out); bm.compress(Bitmap.CompressFormat.JPEG, SAMPLING, out);What's wrong with th...

2 years ago


2 answers
34 views
0
Android full screen edittext is not working.

<application android:name=.CustomStartApp android:allowBackup=true android:icon=@mipmap/ic_launcher android:label=@string/app_name> <activity android:name=.MainActivity android:theme=@style/...

2 years ago

1 answers
109 views
0
I made Tab Bar using Fragment on Android, but there was an error, so I'm asking you this question.

public class MainActivity extends AppCompatActivity { Toolbar toolbar; Fragment fragment1; Fragment fragment2; Fragment fragment3; @Override protected void onCreate(Bundle savedInstanceState) { super...


2 answers
44 views
0
Methods Used on Android

If you create a method and do not use it, it will appear gray.For example, public class example {...public int usedMethod () { ....}public int notUsedMethod () { ....}...usedMethod();}If it's like thi...

2 years ago

1 answers
109 views
0
[Android] I want to change the screen using fragments in the navigation drawer.

public boolean onNavigationItemSelected(MenuItem item) { // // Handle navigation view item clicks here. int id = item.getItemId(); Fragment fragment = null; String title = getString(R.string.app_nam...

2 years ago

1 answers
141 views
0
Exception handling question when asynctask communicates with the server.

The server has been parsing in JSON format through async asynchronous communication. However, sometimes if the server is being checked or there is a problem with the server, an error appears immediate...


2 answers
26 views
0
I want to know the correct control method such as layout button and text included in the view phaser

Using a viewpager in Mainactivity (aa, bb, cc).You are showing xml.If the button declared in aa.xml public void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); setContentVie...

2 years ago

1 answers
30 views
0
Error using Android next map map library.

I'm using the following map API to create an appIf you try to create and use a method to take a marker, the app keeps turning off.This is the code. public class MainActivity extends AppCompatActivity ...

2 years ago

1 answers
75 views
0
php push notification on/off function question

Currently, there is a php bulletin board, and when registering the notice, we use fcm to send a push through the web app.I want to turn off and turn on the push according to push on and off on the bul...

2 years ago
« - 121 - »

© 2024 OneMinuteCode. All rights reserved.