• After 15+ years, we've made a big change: Android Forums is now Early Bird Club. Learn more here.

App Icon Not Appearing

We've been developing a new app but when we sideload or use early access the app icon does not show up anywhere on phone.

I have to ask. Did you add the icon in the Manifest?

XML:
android:icon="@drawable/icon"

By the way, we have an app development section where all the devs hangout...
https://androidforums.com/forums/28

Help Fastboot commands freezing

I don't know about Arch, but in Debian based distros the android-tools package contains outdated versions of adb & fastboot.

You should get these tools directly from google's repo...
https://dl.google.com/android/repository/platform-tools-latest-linux.zip

Now, I'm not saying this will fix your issue, but it's worth a look since you have a modern device that may require a more updated fastboot binary.

If you try it, make sure it's in your ${PATH} and that it's called instead of the Arch version.
I am sure that the android-tools in Arch is up to date (because Arch is a rolling release distro). I tried what you said but the situation is mostly the same.
Commands like
Code:
fastboot reboot
now magically works, but the command for flashing the recovery still does not work.

Bluetooth Battery Popup

I'm having the same issue with both my Jabra 45e headphones AND my Bose Soundsports. It has to be a problem with Android as those are both managed by different apps. I'm on a Note 9, this has been happening for almost the entire time I've had the phone. Also, CLEARING THE CACHE DOES NOT WORK, ONLY A FULL REBOOT WILL STOP THE POPUPS.

Need to Know How to Transfer Game Data From iPhone to BlueStacks for Legendary

I found this before: https://n3twork.zendesk.com/hc/en-u...ansfer-my-account-from-one-device-to-another- ; but on my BlueStacks app I see something different: there's no button that says "Link Google Play". I see "Unlink Device" and a button to sign out from my Google Play account. And I know the data isn't transferred because I don't have the same game state (including the cards, relics, and the number of coins and gems) that I do on my iPhone.

Charging Problem

Please state what power adapter are you using. It's the charger that provides the power to recharge the battery, if you're using an older 5 watt adapter (5 volt, 1 amp) that will be a limiting factor. Most newer power adapters are now at least 10 watt (5 volt, 2 amp).
Just to get a sense of scale, an E4 has a 2800 mAh battery (or 2.8 amp/hour) so, to split hairs, even a 2 amp charger will be putting out a slightly less than optimal amount of power to be in parity with battery's capacity, but practically is adequate for most situations.

But if you do have an at least 10w power adapter, has this problem been happening for a while now or did it just start happening recently? If recently, have you restarted your phone? A reboot often solves a lot of one-off glitchy problems.
A plus point with an E4 is has a user-replaceable battery if that becomes a last resort option.

[Game] Powerballs: Treasure Hunt

Powerballs: Treasure hunt - arcade game with puzzle elements

Intro:

In a land far, far away in the east beyond the high mountains and blue hills in a dwarfs realm extends the treasure caves…
These caves are so deep that no ray of sunshine reaches there. In the center of each cave the magic column rises and the one who can cope with the power that is hidden in the column will find unthinkable treasures ...

Game play:

The player sees a luminous column in front of him. Balls with different colors rotates on the side surface the column. The main gameplay is to shoot the column balls with cannonball of relevant color. If the colors matches the ball is charging. Once all the balls are charged, the player can proceed to the next level.
At each level, the player gets a certain number of cannonballs. One for each ball. Also for one gaming session (till complete losing) several additional cannonballs are given. If player spend additional cannonballs they will be restored after some period of time.
By hitting the balls, the player gets points for the leaderboard and experience to raise the player level. Also, the player may receive gold or gems from some balls.
When player hit in an already charged ball, it is discharged. When hit in a ball whose color does not match the color of the cannonball, the player loses the cannonball. If the last additional cannonball is spent, the game starts from the first level. Accumulated gems, gold and experience are not lost.
The player can combine gems and set them in active slots. By combining various gems in active slots, the player must find a combination of them that will make it possible to simplify the gameplay at the current level as much as possible and score maximum points for the leaderboard

Features:

• Unique gameplay
• Simple but colorful 3d graphics
• The ability to continue the game on another device with the same Google Play account
• Free to play
• Available for many phones and tablets
• Suitable for the whole family and almost any age.

https://play.google.com/store/apps/details?id=com.neposeda.powerballs

Pattern password

Here's a great suggestion I just came up with.

This is for Android Pattern Security.

What about a 3 way pattern password system that allows the person to make 3 different patterns, that require a person to get on their phone.

Here's the thing, sound proofing only does so much and when your out and about, you don't people getting a hold of your phone know your pattern password.

There's only so many ways that can made with a pattern lock and the way programming is, you don't want certain people in your stuff for for good reason.

Let's continue.

It would be a great suggestion to set a timer for it, once a day, by our means, to make, create, set a timer for the 3 way pattern daily check in.
It also provides, increased security measures if they, set up their password for when their phone power's off, (just in case it's stolen) and would require whatever that 3 way daily pattern (or more. Should be a limit but around 10 would be cool for some lol) in order to gain access to the phone.

Another great one added with it, would be a freaking, fingerprint scan before or after the pattern sequence lol.


I see your point and understand added security is alway a good idea. Your idea is creative and a unique approach but reputation of the 3 patterns every time to unlock is not very user friendly. Just use fingerprint as the other suggest. Why complicate when theres a better way? As for me, reson I stopped using payter lock was because it frustrated the hell out of me and that was just one. Im not saying your wrong,

Root SMS problems after installing custom ROM

Have an LG SP320 for Sprint unlocked by ebayer using rom for LG M320TV.
Can send sms, make and recieve calls, browse internet but cannot receive text sms.
Tried with Sprint (CDMA) and ATT (GSM) with same results.
I don't see anywhere to enter the "message center number".
Tello (Sprint MVNO) automatically configures the network before I can even get to APN settings.
I can configure APN settings with ATT sim but still don't see anywhere to enter the "message center number".
I am unable to locate stock rom to flash back to stock.

ANDROID STUDIO TELNET DISCONNECT PROBLEM

Hi, my code do the telnet socket disconnection ok, however only after clicking send button, it seems onclick send button calls the disconnect routine.
Follow below the code.

public class MainActivity extends AppCompatActivity {

String host="192.168.0.100",mensaje;
int port=23;

private final String TAG = getClass().getSimpleName();
private Toast fastToast;

// AsyncTask object that manages the connection in a separate thread
WiFiSocketTask wifiTask = null;

// UI elements

EditText editSend;
Button buttonSend;
ToggleButton condesc;
private static TextView inputStreamTextView;
private static TextView outputStreamTextView;

@override
protected void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
setContentView(R.layout.activity_main);
setRequestedOrientation(ActivityInfo.SCREEN_ORIENTATION_PORTRAIT); //orientacion horizontal
getWindow().setSoftInputMode(WindowManager.LayoutParams.SOFT_INPUT_STATE_ALWAYS_HIDDEN); //deshabilita teclado al iniciar aplicacion


inputStreamTextView = (TextView) findViewById(R.id.inputStreamTextView);
inputStreamTextView.setMovementMethod(new ScrollingMovementMethod());
outputStreamTextView = (TextView)findViewById(R.id.outputStreamTextView);
outputStreamTextView.setMovementMethod(new ScrollingMovementMethod());
editSend = (EditText)findViewById(R.id.editSend);
buttonSend = (Button)findViewById(R.id.buttonSend);
condesc = (ToggleButton)findViewById(R.id.condesc);

fastToast = Toast.makeText(this,"", Toast.LENGTH_SHORT);
}


void toastFast(String str) {

fastToast.setText(str);
fastToast.show();
}



/**
* Helper function, print a status to both the UI and program log.
*/
void setStatus(String s) {
Log.v(TAG, s);

//textStatus.setText(s);
}



public void ToggleButtonConectOnClick(View view){


if(condesc.isChecked()){
conectar();
}else{
desconectar();
}

}



/**
* Try to start a connection with the specified remote host.
*/
public void conectar() {

if(wifiTask != null) {
setStatus("ya esta Conectado!");
toastFast("ya esta Conectado!");
return;
}

try {
// Get the remote host from the UI and start the thread
/// String host = editTextAddress.getText().toString();
// int port = Integer.parseInt(editTextPort.getText().toString());

// Start the asyncronous task thread
setStatus("Conectando...");
wifiTask = new WiFiSocketTask(host, port);
wifiTask.execute();

} catch (Exception e) {
e.printStackTrace();
setStatus("Puerto o direccion invalidas!");
toastFast("Puerto o direccion invalidas!");
}
}

/**
* Disconnect from the connection.
*/
public void desconectar() {

if(wifiTask == null) {
setStatus("Desconectado!");
toastFast("Desconectado!");
return;
}

wifiTask.disconnect();
setStatus("Desconectando...");
toastFast("Desconectando...");
}

/**
* Invoked by the AsyncTask when the connection is successfully established.
*/
private void connected() {
setStatus("Conectado.");
toastFast("Conectado.");
buttonSend.setEnabled(true);
}

/**
* Invoked by the AsyncTask when the connection ends..
*/
private void disconnected() {
setStatus("Desconectado.");
toastFast("Desconectado.");
//buttonSend.setEnabled(false);
// inputStream.setText("");

// textTX.setText("");
wifiTask = null;
}


private void colorea(){

if (android.os.Build.VERSION.SDK_INT >= android.os.Build.VERSION_CODES.N) {
inputStreamTextView.append(Html.fromHtml(mensaje,Html.FROM_HTML_MODE_LEGACY));
} else {
inputStreamTextView.append(Html.fromHtml(mensaje));
}
inputStreamTextView.append(""+'\n');

}

/**
* Invocado AsyncTask cuando se recibe una nueva linea.
*/
private void gotMessage(String msg) {

inputStreamTextView.append(msg+'\n');
Log.v(TAG, "[RX] "+msg);
}

/**
* Send the message typed in the input field using the AsyncTask.
*/
@SuppressLint("ResourceAsColor")
public void sendButtonPressed(View v) {

if(wifiTask == null) return;
String msg = editSend.getText().toString();
if(msg.length() == 0) return;
wifiTask.sendMessage(msg);
outputStreamTextView.append(msg+'\n');

mensaje="<font color=#0000FF>Sent --> </font>"+msg; //colorear en azul
colorea();;
Log.v(TAG, "[TX] " );
}

/**
* AsyncTask that connects to a remote host over WiFi and reads/writes the connection
* using a socket. The read loop of the AsyncTask happens in a separate thread, so the
* main UI thread is not blocked. However, the AsyncTask has a way of sending data back
* to the UI thread. Under the hood, it is using Threads and Handlers.
*/
public class WiFiSocketTask extends AsyncTask<Void, String, Void> {

// Location of the remote host
String address;
int port;

// Special messages denoting connection status
private static final String PING_MSG = "SOCKET_PING";
private static final String CONNECTED_MSG = "SOCKET_CONNECTED";
private static final String DISCONNECTED_MSG = "SOCKET_DISCONNECTED";

Socket socket = null;
BufferedReader inStream = null;
OutputStream outStream = null;

// Signal to disconnect from the socket
private boolean disconnectSignal = false;

// Socket timeout - close if no messages received (ms)
private int timeout = 5000;

// Constructor
WiFiSocketTask(String address, int port) {
this.address = address;
this.port = port;
}

/**
* Main method of AsyncTask, opens a socket and continuously reads from it
*/
@override
protected Void doInBackground(Void... arg) {
try {
// Open the socket and connect to it
socket = new Socket();
socket.connect(new InetSocketAddress(address, port), timeout);
// Get the input and output streams
inStream = new BufferedReader(new InputStreamReader(socket.getInputStream()));
outStream = socket.getOutputStream();

// Confirm that the socket opened
if(socket.isConnected()) {
// Make sure the input stream becomes ready, or timeout
long start = System.currentTimeMillis();
while(!inStream.ready()) {
long now = System.currentTimeMillis();
if(now - start > timeout) {
Log.e(TAG, "Input stream timeout, disconnecting!");
disconnectSignal = true;
break;
}
}
} else {
Log.e(TAG, "Socket did not connect!");
disconnectSignal = true;
}

// Read messages in a loop until disconnected
while(!disconnectSignal) {
// Parse a message with a newline character
String msg = inStream.readLine();
// Send it to the UI thread
publishProgress(msg);
}

} catch (Exception e) {
e.printStackTrace();
Log.e(TAG, "Error in socket thread!");
}

// Send a disconnect message
publishProgress(DISCONNECTED_MSG);

// Once disconnected, try to close the streams
try {
if (socket != null) socket.close();
if (inStream != null) inStream.close();
if (outStream != null) outStream.close();
} catch (Exception e) {
e.printStackTrace();
}

return null;
}

/**
* This function runs in the UI thread but receives data from the
* doInBackground() function running in a separate thread when
* publishProgress() is called.
*/
@override
protected void onProgressUpdate(String... values) {
String msg = values[0];
if(msg == null) return;
// Handle meta-messages
if(msg.equals(CONNECTED_MSG)) {
connected();
} else if(msg.equals(DISCONNECTED_MSG))
disconnected();
else if(msg.equals(PING_MSG))
{}

// Invoke the gotMessage callback for all other messages
else
gotMessage(msg);
super.onProgressUpdate(values);
}


/**
* Write a message to the connection. Runs in UI thread.
*/
public void sendMessage(String data) {
try {
outStream.write(data.getBytes());
outStream.write(0x0d);
outStream.write(0x0a);
} catch (Exception e) {
e.printStackTrace();
}
}

/**
* Set a flag to disconnect from the socket.
*/
public void disconnect() {
disconnectSignal = true;
}
}

T-Mobile (USA) update 9.0.14

This is an old build from August 14th 2019.

It has the old August Security patch.

Google Maps are usually updated via the Google Play Store.
I am currently on Maps version 10.27.0 (#1027001040)

Unlike the global model, there is nothing about, "This update will improve the overall system performance to prepare for later versions"

This so-called update would appear to be nothing more than a sop to appease users whilst they wait for Android 10.

Filter

Back
Top Bottom