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

simple way to create watchface

Is there an easy way to create a watch face for a Wear OS watch?

I have a Fossil Gen 5 and have not been able to find an Analod/Digital watchface that I like.

I have no problem creating one in Android Studio but do not have a lot of experience with that coding environment.

I also tried a few of the face creator/editor apps and not one worked properly or the developer charged more than I could afford.

Recently I tried Facer but it has issues syncing with my watch and does not have the ability to add a unread notification indicator to a watchface

Any help is greatly appreciated

root device i11 pro

well not sure why you would want to root a phone that has 0 support from developers. to me having a developer community supporting a phone is key. developers are the ones who find ways to root the phone. they make custom recoveries and custom roms....those are all what makes rooting a phone fun. no support means no fun.

having a custom recovery is the key. they are device specific and are essential to rooting phones. once a phone is rooted you can make nandroid backups with a custom recovery. nandroid backups are complete backups of your phone. they are kind of like a save point in a video game. if you mess up, you can always restore back to a previous point. this will be essential especially if the reason you want to root your phone is to delete bloatware or mess around with the os. if you do not know what you are doing, you can easily hard brick it. and without a custom recovery, there will be no way of restoring it.

always do you research first over at the xda website. especially if you know the next phone you get, you want to root it.

Samsung Galaxy s6 - disable SPen's Air Command popup

Hi, is there any way to completely disable annoying and useless Air Commands popup which appears after spen's button is clicked?

Im using Samsung Notes app, and have some commands set for spen button click, but when I click the button it triggers the Air Commands popup instead. Same happens if I accidentally click the button while writing. So, the only workaround I found was to move the pen few inches from the tablet and only then clicking the pen's button triggers the application command set in Samsung Notes configuration.

Just to be clear - I don't need to disable the pen's button for the specific application, I know how to do it. What I need is to disable the system level Air Commands popup.

RecyclerView or ScrollView

Code:
public class NoteMaker extends AppCompatActivity {
    private EditText editTextField;
    boolean isEmpty;
    private String textForUpdating;
    private char imageRecognitionChar = 145;
    private SpannableStringBuilder spannableStringBuilder;

    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.note_maker);
        getSupportActionBar().setDefaultDisplayHomeAsUpEnabled(true);
        spannableStringBuilder = new SpannableStringBuilder();
        editTextField = findViewById(R.id.textID);
        textForUpdating = MainActivity.text;
        if (textForUpdating.equals("")) {
            isEmpty = true;
        } else isEmpty = false;
        findFileNameInText();
    }

    public void onClick(View view) {
        editTextField.setText("");
    }


    @Override
    public boolean onCreateOptionsMenu(Menu menu) {
        getMenuInflater().inflate(R.menu.text, menu);
        return true;
    }

    @Override
    public boolean onOptionsItemSelected(@NonNull MenuItem item) {
        Intent intent;
        switch (item.getItemId()) {
            case R.id.saveBtn:
                intent = new Intent();
                intent.putExtra("editTextField", editTextField.getText().toString());
                if (isEmpty) {
                    setResult(1, intent);
                } else {
                    setResult(2, intent);
                }
                finish();
                break;
            case R.id.addImage:
                intent = new Intent(getApplicationContext(), Gallery.class);
                startActivityForResult(intent, 1);
                break;
        }
        return super.onOptionsItemSelected(item);
    }

    @Override
    protected void onActivityResult(int requestCode, int resultCode, @Nullable Intent data) {
        super.onActivityResult(requestCode, resultCode, data);
        if (data != null) {
            String imageName = data.getStringExtra("image");
            addImageInEditText(getDrawable(imageName), imageName);
        }
    }

    private void addImageInEditText(Drawable drawable, String imageName) {
        imageName = imageRecognitionChar + imageName;
        drawable.setBounds(0, 0, 1000, 500);
        int selectionCursorPos = editTextField.getSelectionStart();
        editTextField.getText().insert(selectionCursorPos, imageName);
        selectionCursorPos = editTextField.getSelectionStart();
        SpannableStringBuilder builder = new SpannableStringBuilder(editTextField.getText());
        int startPos = selectionCursorPos - imageName.length();
        builder.setSpan(new ImageSpan(drawable), startPos, selectionCursorPos, Spannable.SPAN_EXCLUSIVE_EXCLUSIVE);
        editTextField.setText(builder);
        editTextField.setSelection(selectionCursorPos);

    }

    private Drawable getDrawable(String imageFile) {
        Drawable d = null;
        try (InputStream in = getResources().getAssets().open(imageFile)) {
            d = Drawable.createFromStream(in, null);
        } catch (IOException e) {
            e.printStackTrace();
        }
        return d;
    }

    private void findFileNameInText() {
        if (!textForUpdating.contains("" + imageRecognitionChar)) {
            editTextField.setText(textForUpdating);
            return;
        }
        String[] array = textForUpdating.split("" + imageRecognitionChar);
        for (int i = 0; i < array.length; i++) {
            String text = array[i];
            if (!text.contains(".jpg") && !text.contains(".png")) {
                spannableStringBuilder.append(text);
                continue;
            }
            String imageFile = text.substring(0, text.indexOf(".") + 4);
            editTextField.setText(text);
            loadImageToEditTExt(getDrawable(imageFile), imageFile);
        }
        editTextField.setText(spannableStringBuilder);
    }

    private void loadImageToEditTExt(Drawable drawable, String imageFile) {
        drawable.setBounds(0, 0, 1000, 500);
        int startPos = 0;
        editTextField.getText().insert(startPos, "" + imageRecognitionChar);
        int selectionCursorPos = imageFile.length() + 1;
        SpannableStringBuilder builder = new SpannableStringBuilder(editTextField.getText());
        builder.setSpan(new ImageSpan(drawable), startPos, selectionCursorPos, Spanned.SPAN_EXCLUSIVE_EXCLUSIVE);
        spannableStringBuilder.append(builder);
    }

}
Hello everyone. I am going to make a notes app and I want to add to note images ,videos. But I do not know what better to choose for that, RecyclerView or just create one editText field, add Scrollview and use SpannableStringBuilder. I tried two ways and in both ways I had problems. Now I made notes app by SpannableStringBuilder and in my note I can add only text and image. I keep notes in SQLite. Every thing works good but I have a one problem. I do not know how to add one more element to my note , for exemple video. If somebody has done it before please help me. I need to know with what better way to do it.
Thank you

New Game: Animal Crossing: Pocket Camp (Version 3.1.2)

WHAT'S NEW
Changed the app icon.

EXTRA INFO
  • Rating: 4.5
  • Installs: 10,000,000+
  • Download Size: 143M
  • Version: 3.1.2
DESCRIPTION
Find furniture you like and design a campsite that suits your style!

Tents, hammocks, fireplaces, a stuffed-animal sofa...mix and match to your heart's content! Make a trendy open-air café, or line up some microphones and guitars to create an outdoor music festival! In the mood for a little extra fun? Set up a merry-go-round and open a theme park. You can even make a pool, or fill the sky with fireworks!

◆ Design your campsite, camper, and cabin however you want

◆ Collect themed items from Fishing Tourneys and Garden Events that happen throughout the year

◆ More than 1,000 pieces of furniture and 300 pieces of clothing and accessories are available to choose from, with more being added all the time

◆ Features more than 100 animals with quirky personalities

Fulfill animal requests and watch your friendship with them grow! Once you become close enough friends, you can invite them to your campsite. The more the merrier!

Design a show-stopping campsite, invite your favorite animals, and take an in-game photo to show your friends. If your friends like what you've done, they may even give you kudos!

The great outdoors has so much to offer!

Notes: This game is free to start, with in-app purchases available. Internet connectivity is required to play Animal Crossing: Pocket Camp. Data charges may apply. May include advertising.

[ROM] [Stock] C811 M070 firmware ZIP file (4.1.2)

Raw images pulled from EUT server (M040, M050, M070): https://drive.google.com/folderview?id=0B6AGUt-9bvnwZTd4QzJBOWtLSkE&usp=sharing

Tool to extract this image: https://gist.github.com/peremen/71330cbb4a6556358b938e0e353255a6

Modifications welcome as long as it is GPLv3+.

I don't have a computer at the moment so can you extract the files please?

Help Google Chrome Sync Reset - All browser data lost from the device

Hello,

I'm having trouble with synchronization in Google Chrome. I haven't used this option for a long time, but now because of switching to a new phone I decided to use it. I turned on the synchronization of all chrome data on the old phone and the bookmarks went a bit crazy - some of them doubled, the folders got mixed up and some bookmarks which was deleted long time ago were restored - but ok, I didn't lose anything from the current data. After starting the new phone and updating the software, I also turned on chrome data synchronization and all the tabs loaded in the same form as on the old phone after synchronization, but there was no history, passwords etc. I thought there was something wrong with the synchronization, because it was still writing something that synchronization was not working and also I forgot my sync password. To restore the password and solve the problem, I decided to do the only option to restore the password - reset the synchronization, having in mind that I have this data on two phones, and Google clearly indicated that the data on the devices will not be deleted. Meanwhile, after sync reset I immediately lost all the bookmarks on both phones and all other chrome data on the old phone. How can I recover this data now? The old phone is Huawei P8 Lite (Android 6.0, EMUI 4.0.3), and the new is Huawei P Smart 2019 (Android 10, EMUI 10.0.0).

I will be very grateful for any help,
Best wishes

App Inventor Fatal Exception Using external JAR File

Hi,

I am new to android development and tried to use the okhttp3 lib in order to perform a HTTP get command with an app. After importing the JAR according to online tutorials the Compiler throes no mistakes but after installing the app to my device I get an Exception thrown after calling the Constructor 'OkHttpClient()'.

E/AndroidRuntime: FATAL EXCEPTION: main
Process: com.example.httptest, PID: 20614
java.lang.NoClassDefFoundError: Failed resolution of: Lkotlin/jvm/internal/markers/KMappedMarker;
at okhttp3.internal.Util.immutableListOf(Unknown Source:0)
at okhttp3.OkHttpClient.<clinit>(OkHttpClient.kt:1029)
at com.example.http_test.MainActivity.<init>(MainActivity.java:23)
........​

Someone has an idea what I did wrong?

Top ups

Hi all. I put a lycamobile.ie sim into my unlocked phone.its a Tesco phone with whom I no longer have a contract. I'm with three.ie on another phone. I then bought a top up voucher but I can't input it. I don't know how to do it. Any help much appreciated . Cheers tom .

Kingroot

Please how can I root my phone which is Tecno LB7
not sure why you want to......there is no dev community to support your device.

but i did find this:
https://techzbyte.net/2019/10/twrp-for-tecno-pouvoir-3-lb7.html

please read the guide fully before attempting to root. and once you get a custom recovery make sure you make a nandroid backup. make a copy of the backup and save it someplace safe on your computer. this way if something bad happens to your phone, as long as you have your recovery, you can always restore your backup.

How To How to Create and Access Secure Folders

The Galaxy S20 Ultra has a feature called "Secure Folders" that let you keep private apps and files in a folder that can only be accessed with a special pass code. You can set the pass code to be a PIN number, pattern, password, or fingerprint.

Follow these steps to create a Secure Folder on the Galaxy S20 Ultra:
  • Open Settings
  • Tap "Biometrics and Security"
  • Tap "Secure Folder"
  • Agree to the Terms & Conditions
  • Use fingerprint unlock or your account password to proceed
  • Choose what methods can unlock your secure folder
  • Tap "Next" and Confirm your preferred pass code
You can choose your own name and icon for the secured folder by pressing the 3 dots in the top right. Once this is complete your Secure Folder will be added to your Home Screen or you can find it in the full app list by browsing to "Secure Folder" (or whatever custom folder name you provided)

The Secure Folder will automatically lock the next time your screen times out. If you want to lock your folder immediately, you can tap the 3 dots at the top right of the Secure Folder and select "Lock and Exit". Alternatively in the Secure Folder settings you can select "Auto Lock Secure Folder" and choose how often it locks (ranging from immediately to 5/10/30 minutes to when the phone restarts).

How to Access a Secure Folder on the Galaxy S20 Ultra:
There are two ways to open a Secure Folder on the Galaxy S20 Ultra:
  1. Using the pass code with which you created the Secure Folder
  2. Resetting the Secure Folder lock by signing into your Samsung Account
To do the latter you can simply incorrectly enter your Secure Folder pass code and then choose "Reset". You'll be prompted for your Samsung Pass account password or your biometric fingerprint unlock.

How To How to Scan QR Code

The Galaxy S20 Ultra has a barcode scanner built directly into the camera software. There is nothing special you need to do!

To scan a QR code with the Galaxy S20:
  • Open the Camera App
  • Point and focus on QR Code
The camera app will immediately identify the QR code, indicate what it is and where it will take you, and give you the option to tap to view the full details or visit the related website.

You will also find "Scan QR Code" as an option in Quick Settings. Be advised that this does nothing special except launch the camera in photo mode so that you can scan the QR code just like above.

Scan a barcode with the Galaxy S20 Ultra:

If you'd also like to scan barcodes and other things besides QR Codes with the Galaxy S20 Ultra you may want to download a 3rd party app such as the perennial favorite "Barcode Scanner" by ZXing Team.

Just trying the app myself

I don't know why I'm getting all the blame for this.
You look guilty
Good idea. I just brought a wireless Seneo charger to work from the pair I got. I'm getting fast wireless charging using an OEM Pixel 3a cord and Cheotech USB-C charging block. Go figure :p
The Seneo is super picky. Didn't like the ANker 30ws, but likes the 45w.

And NONE actually do 15w, or atleast, when I plug in the Samsung, it shows a much lower time to battery full. Which tells me all the others are only doing 10w. Hopefully the app clears this up for me since all should be able to do 15w.

Filter

Back
Top Bottom