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

Why did app come up by itself?

Probably not.

It's impossible to say just from the fact that the app was open what opened it, and even less so when you know nothing about the circumstances. But the most likely was that it was opened by accident when you were putting the phone down, or perhaps while in your pocket (possible if you don't use a security lockscreen, or have some event or trigger that can unlock it such as a "trusted device" or "trusted location"). Even possibly when picking the phone (I always unlock my phone with a fingerprint as I pull it from my pocket, so it's unlocked before I ever see it. This means that if I were using an open-fronted case it would also be possible to accidentally launch an app while picking the phone up). If this is a one-off it is far, far more likely to be something like that than someone hacking your phone and opening the Walmart app (if I were hacking someone's phone I'd be extracting information without alerting them to the fact that I was there, not alerting them to my presence by opening apps on their screen).

How to make API of Android RecyclerView Load More, Endless Scrolling similar as pagination.

Hello, every one i have project of android recyclerview reload more on scroll, endless scroll. i have complete project of this type. but i don't have php server api. i don't know how to create api of android app. i require first time shown only 10 data, but next user when scroll more than display next 10 data. so we have completelly 20 item data available. :rolleyes:

https://www.youtube.com/watch?time_continue=7&v=-JFXwafEVBo

So anythink have an idea of this type api. so please ask me..because we have very requirement ..>> similar as pagination >> :eek::eek:

Search app through icom

Or ask him/her what it is. If you want a quick answer, that's the way to get it.

And if you can't do that, or don't believe the answer, that's a bigger problem than the identity of the app.

(As ocnbrze has said, there are a vast number of apps that use icons like this, so searching is a waste of time. And we also get literally hundreds of these queries - yours was the second new one I spotted yesterday evening alone - and have to disappoint most of them).

What app is this notification icon?

I have saw and heard scuttle but about it snd even stopped into a couple of Metro PCS . STORES AND INQUIRED ABOUT IT !! BUT HAVE ONLY GOT DIFFERENT OPINIONS ABOUT IT FROM ALL IVE ASKED !!! Sorry !! If I do finally get a positive response I will fly you a kite ok ?? If you should discover a true answer please don't hesitate to get me back in the know !! @ or ; good luck !! Have a great day !!

Thank You...

Black screen when playing video on Android 4.4 (API 19) kitkat

Im only getting a black screen when playing video on Android 4.4 (API 19). Not sure what is happening. Works fine on Android 9 (API 28)

Im using Android studio with the mediaplayer library. But im having the same issue using react-native-video with react-native.

I need to install and run this on an older Android version Android 4.4 (API 19) kitkat.

I read this https://developer.android.com/guide/topics/media/media-formats so I changed the profile in my encoding from H.264 AVC Main Profile to H.264 AVC Baseline Profile (BP). But no difference.

Im testing on emulator via android studio. I have got no device with that os. Android 4.4 Version.api: 19 (Google API) and resolution 1920 x 1080

Huawei Honor 10 Lite No 4g LTE

According to this. the international variant Honor 10 Lite you've got does NOT support 4G with MetroPCS, but apparently it does support 3G with that carrier.
https://www.frequencycheck.com/carr...2-hry-l22-huawei-henry/metropcs-united-states

metro.png


As you're only getting 2G EDGE with this phone on Metro, could be carrier doesn't have 3G service in your area?

Does MetroPCS publish any coverage maps for their network? MetroPCS is an MVNO on the T-Mobile network isn't it?

invoke vittual method java.lang.string java. lang.toString ()' on Null object reference

Bonjour à tous,

Je suis nouveau dans le fabuleux monde de la création d'application android. Je débute avec SKETCHWARE et après avoir suivi un tuto pour créer une base de données avec firebase, en lançant l'application et en allant sur une des pages de mon Menu, cette erreur apparaît :

" Attempt To invoke vittual method java.lang.string java. lang.toString ()' on Null object reference
At
Com.my.newProject.ProduitsActivity
$listview1Adapter.getView(ProduitsActivity.java:293) "


Je ne trouve pas mon erreur,

Pourriez vous m'apporter vos lumières s'il vous plait . Je n'arrive plus à avancer dans mon projet.

Merci d'avance.
Charly.

voici mon code :

package com.my.newproject;

import android.app.*;
import android.os.*;
import android.view.*;
import android.view.View.*;
import android.widget.*;
import android.content.*;
import android.graphics.*;
import android.media.*;
import android.net.*;
import android.text.*;
import android.util.*;
import android.webkit.*;
import android.animation.*;
import android.view.animation.*;
import java.util.*;
import java.text.*;
import android.support.v7.app.AppCompatActivity;
import android.widget.LinearLayout;
import android.widget.Button;
import java.util.Timer;
import java.util.TimerTask;
import android.content.Intent;
import android.net.Uri;
import android.animation.ObjectAnimator;
import android.view.animation.LinearInterpolator;
import android.view.animation.AccelerateInterpolator;
import android.view.animation.DecelerateInterpolator;
import android.view.animation.AccelerateDecelerateInterpolator;
import android.view.animation.BounceInterpolator;
import android.view.View;

public class MainActivity extends AppCompatActivity {

private Timer _timer = new Timer();

private double rotation = 0;
private double click = 0;
private double xbk = 0;

private LinearLayout linear1;
private LinearLayout linear2;
private Button menu;
private LinearLayout linear3;
private LinearLayout linear4;
private Button button8;
private Button button2;
private Button button3;
private Button button4;
private Button button5;
private Button button6;

private TimerTask timer;
private Intent intent = new Intent();
private ObjectAnimator ani = new ObjectAnimator();
private Intent show = new Intent();
@override
protected void onCreate(Bundle _savedInstanceState) {
super.onCreate(_savedInstanceState);
setContentView(R.layout.main);
initialize(_savedInstanceState);
initializeLogic();
}

private void initialize(Bundle _savedInstanceState) {

linear1 = (LinearLayout) findViewById(R.id.linear1);
linear2 = (LinearLayout) findViewById(R.id.linear2);
menu = (Button) findViewById(R.id.menu);
linear3 = (LinearLayout) findViewById(R.id.linear3);
linear4 = (LinearLayout) findViewById(R.id.linear4);
button8 = (Button) findViewById(R.id.button8);
button2 = (Button) findViewById(R.id.button2);
button3 = (Button) findViewById(R.id.button3);
button4 = (Button) findViewById(R.id.button4);
button5 = (Button) findViewById(R.id.button5);
button6 = (Button) findViewById(R.id.button6);

menu.setOnClickListener(new View.OnClickListener() {
@override
public void onClick(View _view) {
click++;
if (click == 1) {
ani.setTarget(linear4);
ani.setPropertyName("translationX");
ani.setFloatValues((float)(SketchwareUtil.getDip(getApplicationContext(), (int)(-200)) - SketchwareUtil.getDisplayWidthPixels(getApplicationContext())), (float)(0 - SketchwareUtil.getDisplayWidthPixels(getApplicationContext())));
ani.setDuration((int)(500));
ani.setRepeatMode(ValueAnimator.REVERSE);
ani.setRepeatCount((int)(0));
ani.setInterpolator(new AccelerateInterpolator());
ani.start();
}
else {
if (click == 2) {
ani.setTarget(linear4);
ani.setFloatValues((float)(0 - SketchwareUtil.getDisplayWidthPixels(getApplicationContext())), (float)(SketchwareUtil.getDip(getApplicationContext(), (int)(-200)) - SketchwareUtil.getDisplayWidthPixels(getApplicationContext())));
ani.start();
click = 0;
}
}
}
});

button8.setOnClickListener(new View.OnClickListener() {
@override
public void onClick(View _view) {

}
});

button2.setOnClickListener(new View.OnClickListener() {
@override
public void onClick(View _view) {
intent.setClass(getApplicationContext(), DonneesActivity.class);
startActivity(intent);
}
});

button3.setOnClickListener(new View.OnClickListener() {
@override
public void onClick(View _view) {
intent.setClass(getApplicationContext(), ClientsActivity.class);
startActivity(intent);
}
});

button4.setOnClickListener(new View.OnClickListener() {
@override
public void onClick(View _view) {
intent.setClass(getApplicationContext(), ProduitsActivity.class);
startActivity(intent);
}
});

button5.setOnClickListener(new View.OnClickListener() {
@override
public void onClick(View _view) {
intent.setClass(getApplicationContext(), EditionfactdevActivity.class);
startActivity(intent);
}
});

button6.setOnClickListener(new View.OnClickListener() {
@override
public void onClick(View _view) {
intent.setClass(getApplicationContext(), VisuelfactdevActivity.class);
startActivity(intent);
}
});
}
private void initializeLogic() {
click = 0;
}

@override
protected void onActivityResult(int _requestCode, int _resultCode, Intent _data) {
super.onActivityResult(_requestCode, _resultCode, _data);

switch (_requestCode) {

default:
break;
}
}

@override
public void onBackPressed() {
xbk++;
if (xbk == 2) {
xbk = 2;
finish();
}
else {
SketchwareUtil.showMessage(getApplicationContext(), "Presser 2 fois pour quitter !");
}
}
@Deprecated
public void showMessage(String _s) {
Toast.makeText(getApplicationContext(), _s, Toast.LENGTH_SHORT).show();
}

@Deprecated
public int getLocationX(View _v) {
int _location[] = new int[2];
_v.getLocationInWindow(_location);
return _location[0];
}

@Deprecated
public int getLocationY(View _v) {
int _location[] = new int[2];
_v.getLocationInWindow(_location);
return _location[1];
}

@Deprecated
public int getRandom(int _min, int _max) {
Random random = new Random();
return random.nextInt(_max - _min + 1) + _min;
}

@Deprecated
public ArrayList<Double> getCheckedItemPositionsToArray(ListView _list) {
ArrayList<Double> _result = new ArrayList<Double>();
SparseBooleanArray _arr = _list.getCheckedItemPositions();
for (int _iIdx = 0; _iIdx < _arr.size(); _iIdx++) {
if (_arr.valueAt(_iIdx))
_result.add((double)_arr.keyAt(_iIdx));
}
return _result;
}

@Deprecated
public float getDip(int _input){
return TypedValue.applyDimension(TypedValue.COMPLEX_UNIT_DIP, _input, getResources().getDisplayMetrics());
}

@Deprecated
public int getDisplayWidthPixels(){
return getResources().getDisplayMetrics().widthPixels;
}

@Deprecated
public int getDisplayHeightPixels(){
return getResources().getDisplayMetrics().heightPixels;
}

}

Attachments

  • erreur sketchware 1.jpg
    erreur sketchware 1.jpg
    142.3 KB · Views: 225

Emulator won't display my Hello World app

Since I never seemed to notice any benefit from adding the resources tags and related code, I have removed them. Still I have no ability to bring up my app on the emulator.
Here's my code before removing the resources code: (activity_main.xml)

Code:
<?xml version="1.0" encoding="utf-8"?>

<resources>
    <item name="workouttype" type="id" />
    <item name="txthello" type="id"/>
</resources>

<androidx.constraintlayout.widget.ConstraintLayout xmlns:android="http://schemas.android.com/apk/res/android"
    xmlns:app="http://schemas.android.com/apk/res-auto"
    xmlns:tools="http://schemas.android.com/tools"
    android:layout_width="match_parent"
    android:layout_height="match_parent"
    tools:context=".MainActivity">

    <EditText
        android:id="@+id/editTextFirstName"
        android:layout_width="wrap_content"
        android:layout_height="wrap_content"
        android:layout_marginTop="100dp"
        android:ems="10"
        android:inputType="textPersonName"
        android:text="First Name"
        app:layout_constraintEnd_toEndOf="parent"
        app:layout_constraintStart_toStartOf="parent"
        app:layout_constraintTop_toTopOf="parent" />

    <EditText
        android:id="@+id/editTextLastName"
        android:layout_width="wrap_content"
        android:layout_height="wrap_content"
        android:layout_marginTop="24dp"
        android:ems="10"
        android:inputType="textPersonName"
        android:text="Last Name"
        app:layout_constraintStart_toStartOf="@+id/editTextFirstName"
        app:layout_constraintTop_toBottomOf="@+id/editTextFirstName" />

    <EditText
        android:id="@+id/editTextEmail"
        android:layout_width="wrap_content"
        android:layout_height="wrap_content"
        android:layout_marginTop="24dp"
        android:ems="10"
        android:inputType="textPersonName"
        android:text="Email"
        app:layout_constraintEnd_toEndOf="@+id/editTextLastName"
        app:layout_constraintStart_toStartOf="@+id/editTextLastName"
        app:layout_constraintTop_toBottomOf="@+id/editTextLastName" />

    <Button
        android:id="@+id/btnRegister"
        android:layout_width="wrap_content"
        android:layout_height="wrap_content"
        android:layout_marginTop="100dp"
        android:text="Register"
        app:layout_constraintEnd_toEndOf="@+id/editTextEmail"
        app:layout_constraintStart_toStartOf="@+id/editTextEmail"
        app:layout_constraintTop_toBottomOf="@+id/editTextEmail" />

    <TextView
        android:id="@+id/textViewFirstName"
        android:layout_width="wrap_content"
        android:layout_height="wrap_content"
        android:layout_marginTop="100dp"
        android:text="First Name"
        app:layout_constraintEnd_toEndOf="@+id/btnRegister"
        app:layout_constraintStart_toStartOf="@+id/btnRegister"
        app:layout_constraintTop_toBottomOf="@+id/btnRegister" />

    <TextView
        android:id="@+id/textViewLastName"
        android:layout_width="wrap_content"
        android:layout_height="wrap_content"
        android:layout_marginTop="24dp"
        android:text="Last Name"
        app:layout_constraintEnd_toEndOf="@+id/textViewFirstName"
        app:layout_constraintHorizontal_bias="1.0"
        app:layout_constraintStart_toStartOf="@+id/textViewFirstName"
        app:layout_constraintTop_toBottomOf="@+id/textViewFirstName" />

    <TextView
        android:id="@+id/textViewEmail"
        android:layout_width="wrap_content"
        android:layout_height="wrap_content"
        android:layout_marginTop="24dp"
        android:text="Email"
        app:layout_constraintEnd_toEndOf="@+id/textViewLastName"
        app:layout_constraintStart_toStartOf="@+id/textViewLastName"
        app:layout_constraintTop_toBottomOf="@+id/textViewLastName" />
</androidx.constraintlayout.widget.ConstraintLayout>

How do you delete apps from play store library?

Only one way:!!!

Install “My Phone Explore” in the system.

Install “My Phone Explorer client” from Play Store in your phone

Try to find out the mouse clicking software “AutoMouseKey” or also named as “Automatic Mouse and Keyboard 5.2.9.2” ( find portable cracked version to full access)

Connect the phone via USB ( no other methods wouldn’t works – in Control Phone/Load screen Shot in the My Phone Explore)


After connect the phone go to the phone’s playstore and select the library.

Load screen shot from Tools

Write a script via “Automatic Mouse and Keyboard 5.2.9.2” ( it is very easy ; all are in GUI) (pointing the mouse over the X mark and write delete action via keyboard)

Loop the script, delete all library items one by one.


That’s it..

Help How can I show the time in big numbers while logged-in?

Wait! I got the forum's search feature to work, and I found the answer. You can display the time using a "widget": https://androidforums.com/threads/clock-clock.1119127/

-TC

On Motorola phones that is called the "Time and Weather" widget. Just long-press on the Home screen and scroll down till you see "Time and Weather", then drag it to your home screen.

Android Auto

Im not sure what else would need blue tooth in his case.

You can disable this app. Swipe down, settings, apps&notifications, see all apps, Android Auto

Or there is the "Driving Mode" setting

To set it up on the Pixel 3:

  1. Open the Settings app.
  2. Tap Connected devices > Connection preferences > Driving mode.
  3. Tap Behavior. Choose 'Open Android Auto' or 'Turn on Do Not Disturb'
  4. Tap Turn on Automatically. Choose how you would like your phone to detect driving.

Filter

Back
Top Bottom