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

Open Beta 23 & 15 for Oneplus 6 & 6T

Still more updates and features for the OnePlus 6 & 6T on Open Beta

OnePlus have just started the Open Beta 23 & 15 OTA roll out for the OnePlus 6 & 6T to test new features and fixes that may or may not, come to future firmware updates. You will only receive this test firmware OTA if you are already on their Open Beta releases.

Changelog

System
  • General bug fixes and stability improvements
Screen Recorder
  • Hide floating widget while recording
  • More options added for resolution, fps and bit rate
OnePlus Laboratory
  • Brand new UI design
  • Added DC dimming feature
Weather
  • Added popular cities for search suggestions

Android Security patch is still, obviously, July 2019

Camera version is now 3.0.43

This is the 15th Open Beta release for the 6T in 204 days = 1 update, on average, every 14 days.

(N.B. Open Beta is NOT available for the T-Mobile (USA) carrier minority variant firmware)

Implementing Search Filter in Adapter that parses a JSON

I would like to implement a search filter in my adapter class (used in a fragment class showing a list of colors), but although I managed to do it for simpler examples, I don't know how to proceed in this class that receives a json array; I would like to filter the search on the colorCode, since I am not using pojo classes I don't know how to filter just using strings in getFilter() method. Thank you.

Java:
package ...

import...

public class ColorListAdapter extends RecyclerView.Adapter {

   private JSONArray colorList;

   public ColorListAdapter(JSONArray json){
       super();
       if(json != null){
           this.colorList = json;
       }
   }

   @NonNull @override
   public RecyclerView.ViewHolder onCreateViewHolder(@NonNull ViewGroup viewGroup, int i) {
       View view = LayoutInflater.from(viewGroup.getContext()).inflate(R.layout.fragment_color_view, viewGroup, false);
       return new ColorListHolder(view);
   }

   @override
   public void onBindViewHolder(@NonNull RecyclerView.ViewHolder viewHolder, int i) {
       try {
           ((ColorListHolder)viewHolder).setContentValue(i);
       } catch (JSONException e) {
           e.printStackTrace();
       }
   }

   @override
   public int getItemCount() {
       return this.colorList.length();
   }

   private class ColorListHolder extends RecyclerView.ViewHolder {

       private TextView colorCodeText;
       private TextView colorNameText;
       private CardView imageView;

       public ColorListHolder(@NonNull View itemView) {
           super(itemView);
           this.colorCodeText = itemView.findViewById(R.id.colorCode_text);
           this.colorNameText = itemView.findViewById(R.id.colorName_text);
           this.imageView = itemView.findViewById(R.id.colorView);
       }

       public void setContentValue(int index) throws JSONException {
           this.colorNameText.setText(((JSONObject)colorList.get(index)).getString("Name"));
           this.colorCodeText.setText(((JSONObject)colorList.get(index)).getString("ColorCode"));
           this.imageView.setCardBackgroundColor(Color.parseColor(((JSONObject)colorList.get(index)).getString("HexString")));
       }
   }

}

Weird noise and muffled music.

hi. So basically I was watching youtube on my phone and suddenly the video paused and my phone made a weird pop, or crack sound. Then muffled music started playing from the speaker. It was some pop or hip pop song I've heard before, can't remember exactly cause it freaked me out haha. So basically I turned off my phone and have been very scared of it haha.. Any suggestions on what to do?

Can't make Toast

I'm following a tutorial to create and edit a simple database/table. All works fine, so I thought I would add a Toast message to let the user know the record had been added. Seemed simple enough, just add

Code:
Toast.makeText(getApplicationContext(), "Record added", Toast.LENGTH_SHORT).show();

after the database update. Thing is, it doesn't seem to understand getApplicationContext(). Every example I've seen for Toast is the same, so I'm stymied.

I don't know if the fact I'm using androidx makes any difference...

Help Galaxy S10+ NO NOTIFICATION SOUND OR POP UP!

I previously had a galaxy S9+ and it randomly stopped showing notifications or playing the sound for them. The only indication is the screen waking up so unless I am looking at the phone when I get a text, facebook message, email, voicemail, etc I won't know about it. We switched from sprint to at&t and got upgrades so now I have a galaxy S10+. I thought this would fix the issue but even with the new phone, the problem persists. The notification settings are turned on and I have tried all fixes from the first 2 pages of google when looking up the issue and tech support was no help. Does anyone know how to fix this?

Rendering graphics in android

Hi everyone. im relatively new to android specifically but i have 20 odd years in differnt programming languages.
For my third attempt i have tried to build an android version of a windows that is like google maps that stitches map tiles together and then rotates it if needed.
I creates a new class extends surfaceview and implements runnable to draw the map. if you just load and draw its laggy and adding rotate on the completed map just cripples the performance to being unusable.
If i then use google maps or other drawing apps like games, it is super smooth and renders fast.
Is there a trick i am missing with android that allows it to render or draw faster?
I have removed all the object creation from the draw loop. removed all the strings and just stripped it down to drawbitmaps and rotate with matrix.

ayuda para localizar mi movil

hola a todos espero y puedan ayudarme me robaron mi samsung galaxy s7 edge con cuentas tanto en samsung como en google ya trate de localizarlo por las dos y no he podido me llego un correo de facebook k kisieron cambiar mi contraseña desde esta direccion ip 2806:1000:8001:5e88:70a7:ccaa:1f2a:41e9 pero por mas k he buscado no he podido ubicarlo agradeceria cualquier ayuda y disculpen si se les hace tonta mi pregunta

Android drawing

Hi everyone. im relatively new to android specifically but i have 20 odd years in differnt programming languages.

For my third attempt i have tried to build an android version of a windows that is like google maps that stitches map tiles together and then rotates it if needed.

I creates a new class extends surfaceview and implements runnable to draw the map. if you just load and draw its laggy and adding rotate on the completed map just cripples the performance to being unusable.

If i then use google maps or other drawing apps like games, it is super smooth and renders fast.

Is there a trick i am missing with android that allows it to render or draw faster?

I have removed all the object creation from the draw loop. removed all the strings and just stripped it down to drawbitmaps and rotate with matrix.

Problem with Android Image classification app start

Hello everyone! While I try to run my custom Image classification app, I am getting a mistake:
Code:
java.lang.IllegalArgumentException: Cannot copy between a TensorFlowLite tensor with shape [1, 30] and a Java object with shape [1, 1].
 at org.tensorflow.lite.Tensor.throwIfShapeIsIncompatible(Tensor.java:282)
 at org.tensorflow.lite.Tensor.throwIfDataIsIncompatible(Tensor.java:249)
 at org.tensorflow.lite.Tensor.copyTo(Tensor.java:141)
 at org.tensorflow.lite.NativeInterpreterWrapper.run(NativeInterpreterWrapper.java:161)
 at org.tensorflow.lite.Interpreter.runForMultipleInputsOutputs(Interpreter.java:275)
 at org.tensorflow.lite.Interpreter.run(Interpreter.java:249)
 at com.example.android.tflitecamerademo.ImageClassifier.classifyFrame(ImageClassifier.java:117)
 at com.example.android.tflitecamerademo.Camera2BasicFragment.classifyFrame(Camera2BasicFragment.java:663)
 at com.example.android.tflitecamerademo.Camera2BasicFragment.access$900(Camera2BasicFragment.java:69)
 at com.example.android.tflitecamerademo.Camera2BasicFragment$5.run(Camera2BasicFragment.java:558)
 at android.os.Handler.handleCallback(Handler.java:873)
 at android.os.Handler.dispatchMessage(Handler.java:99)
 at android.os.Looper.loop(Looper.java:201)
 at android.os.HandlerThread.run(HandlerThread.java:65)

My model parameters are:
Code:
== Input details ==
name: x shape: [  1 256 256   3]
type: <class 'numpy.float32'>
 == Output details ==
name: Identity shape: [ 1 30]
type: <class 'numpy.float32'>

I use .lite format with quantization.
If you know how to help me, please, write! Also, I can show all my codes for rewriting.

Font color problems after system update

I have a Samsung J7 with a purchased Theme. I liked my theme. Just got a system update, and now the colors are weird. The main issue I have with it is that, for example, samsung S20 ultra 5g klingelton
when I go into Settings, the head labels (ie- Display, Wallpaper, Lock Screen, etc) are now all in a black font (over a dark purple background, so they are basically unreadable). How do I keep my theme but change select font colors?? I also do not like that things such as the background of the top (where is says "Settings" is now white with black letters, instead of staying with the theme of dark purple background with green font color. I have tried reapplying the theme, but that didn't work)
galaxy note 10+ ringtone: https://klingeltonemp3.info/samsung-galaxy-note-10-cosmos.htm

Stop app running web view

I have purchased a new tablet (Amazon Fire 7) specifically to run an app for my work. However, the app has now updated and now defaults to webview.

I have made contact with the tech team and they say it will run web view on tablets and only app view on phones. The web view on this small tablet is useless! Very fiddly having to zoom and scroll etc.

My question is...can I trick the app into displaying app view?

Thanks in advance ☺

factory messages app not working properly

Two days ago, out of nowhere and without changing any settings, the factory text/Messages app started acting up. The notification sound will not sound off, the vibration will not vibrate, the app button will not show how many new messages there are, and the notification light will not light up. I have restarted the phone and it fixed nothing. I need help please, I love the factory messaging app and need it work. Is anybody else experiencing this problem, and is there a fix?

Cleaning.. (exciting ha?)

So I'm looking for tips here. We live in a hard water area and our kitchen has been a nightmare to keep clean because of it.

See attached pic. Because we have a dark coloured worktop we can never use harsh chemicals or bleaching products to remove the scale marks.

We have tried a lot of products, even soaking the area in white vinegar over night. Which kind of works, seems to remove 60% of it however after cleaning it up and drying most of the marks return.

So have anyone got some ideas on how to remove these pesky marks?

Attachments

  • 20190721_154757_20190722021416080.jpg
    20190721_154757_20190722021416080.jpg
    265.3 KB · Views: 227

Filter

Back
Top Bottom