2228 questions
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...
<application android:name=.CustomStartApp android:allowBackup=true android:icon=@mipmap/ic_launcher android:label=@string/app_name> <activity android:name=.MainActivity android:theme=@style/...
public class MainActivity extends AppCompatActivity { Toolbar toolbar; Fragment fragment1; Fragment fragment2; Fragment fragment3; @Override protected void onCreate(Bundle savedInstanceState) { super...
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...
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...
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...
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...
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 ...
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...
« | - 121 - | » |
© 2024 OneMinuteCode. All rights reserved.