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

How to enable dark mode in Motorola G5s Plus

Bro the article is regarding enabling dark mode in Android Pie and not Android Oreo.
ooops could have sworn it said oreo.....sorry
If I'm not mistaken, dark mode is only for android 9 pie and up.
you are right now that i think of it.

edit: it was way too early for me when i found the link......probably was not fully awake....LOL

Note 10 Plus

When I set the Do Not Disturb I only want the alarms to sound off only problem is they do not, no sound and no visual display, only a push pin icon on the lock screen.

I do have alarms turned on in the settings and have them listed as exceptions also. My Note 5 Never did this. What's going on?
did you make sure to allow alarms to sound off?

settings>notifications>do not disturb>allow exceptions>alarms

Creating custom ROM

Hello Eric,

Thank you for your reply. This is my first time working with the Android source. I apologize if my questions seem noob-ish

1) What is the purpose for creating a mirror? I downloaded the source per Google's instructions. I wanted to download the latest version of the source so I didn't specify a branch.

2) What is the client in the context of your description?

3) The link for the local_manifests git that you posted, can I use the same file for builds higher then Android 6?

4) I think that you forgot to post the kernal source. But, if I am compiling Android directly, then is this really needed?

1. Mirror is for just in case the main link site goes down for whatever reason. You HAVE to specify the branch desired or you'll just get the root branch.. Nothing will really build with that.
2. I'm unsure about clients, I'm not aware of ever using them yet..
3. No. Each branch has its own manifest..
4. Yes, you need it but is usually downloaded via the "lineage.dependencies.mk" (makes roomservice.mk during 1st build attempt) or "roomservice.mk" or "local_manifest.mk" for that SPECIFIC device..

Roku TV

You can only get your local channels by using an antenna, which has nothing to do with using a Roku, OR by signing up with a streaming service that has local channels in their plans.
...or by getting basic cable, or by getting DirecTV, but then we're talking paying for it (plus having lots of channels to watch).

Any relatively modern TV should have the built-in ability to scan for local channels, which are all digital now. But an external antenna may be necessary if you're in an area that doesn't get strong signals.

Use the TV's remote and menu, and find its 'scan for channels' feature. Then decide if an antenna is needed.

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: 213

Filter

Back
Top Bottom