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

App Selection

To be honest I don't know precisely where under the hood this is: I'd have to dig out one of my older (rooted) devices and poke around in /system and see whether I could spot anything. Knowing Android it will be in an sql database somewhere in there.

But I am quite sure that without rooting the phone you will not be able to see it. You'll need administrator access to do something like this.

What file explorer are you using? The one of mine that offers the standard system dialogue for apks is Solid Explorer, and I just checked by setting 'use always' for the system package installer and it has definitely remembered that, even after restarting the device. Now if it's using the system dialogue, rather than handling the intent itself, it shouldn't matter what app you use, but given that my other 2(*) file explorers handle apks differently maybe it is worth trying with a different one just to see.

(*) I also have Google's 'Files' app, which came with the phone, but this is such a mess that I don't count it as a file explorer. It's honestly like they want a file explorer that hides the filesystem from you! Maybe it makes sense to former iPhone users...

Thanks for your help and advice..

Add app to share menu

I create csv and tsv files with no extension, or .txt extension. I want to be able to feed the file into google sheets, but it is not in the list that comes up when i select "share" in my current app. (In fact I'd love to be able to remove some of the choices the menu gives me.)
well all i can say is that apps like google sheets will only except certain types of file. i see no way in forcing an app to except a file extension it was not originally designed for.

maybe somebody with some coding skills might help, but i do not see how you can make an app do this....especially one from google.

have you looked to see if there is another app that accepts those file extensions?

What to commit/push to git

So, I have a repo on GitHub, and I've connected everything together in android studio, but now I don't know what to commit. I originally thought everything updated itself, but then realized you need to push all the changes made to Github. I found out that all the files in red are the one with changes. Once I was connected to github all the files in the project were red, so now I am confused as I don't know if I need to commit/push all the files right now, or leave them be. Also, selecting each file to commit and then pushing them sounds like a lot of unnecessary work when all I want to do is work on a project on my laptop instead of my pc.

REVERT!! 10->9

Ok, I think I know what happened to that "drag the button and hold" gesture. I just tried experimenting with the new gesture navigation (briefly, as it only works with the pixel launcher) and I see that swiping left/right in the gesture area does the same as doing so with the bottom button does now. So I reckon that they've just kept that gesture the same between the two modes rather than preserving the behaviour of the android 9 two-button method. It would be very Google to just focus on their new thing anyway.

The real problem I have with their new navigation, apart from linking it tightly to their own launcher, is that getting to the recent apps list is slow by design: if you have to swipe up and hold to get the app switcher rather than the drawer that is an inherently slow method. So it removes both speed and fluidity from the gesture. And this isn't just a matter of adjustment, it is inherently slow and awkward. Yet there are so many other ways they could have done this that would not have produced this problem. It's just dumb.

Dash style Android ROM/APP

You have an app with these controls you want to use? If so then if the tablet is new enough to support split screen mode (2 apps on display at the same time) you might be able to produce some approximation that way.

Otherwise I think the simplest solution would be an app which provided a small tab or swipe area that you can position on some edge of the screen and use that to pull your controls out when needed. There are various apps that provide little custom menus that work like that, so I know it's possible. And that wouldn't require a custom ROM.

If you really want the controls always on screen, as opposed to always available, then that's harder. They'd interfere with other apps' UIs unless you could shrink those apps to the space above them, which might be possible if the multi-window feature is flexible enough (I almost never use it, so don't know), or else that may need a custom ROM, but a lot more custom than any I've ever met. (I'm assuming here that these controls are larger than could be fitted by some radical customisation of the navigation bar: I know that a degree of customisation of the nav bar can be acheived with an app, but don't ask me how it's done).

Help Server error occurred. Restart Camera.

When I'm using the stock camera app, I often get the error "Server error occurred. Restart Camera."

I then have to close the camera app, and restart it. It's a hassle that often results in missing shots.

I have tried clearing the data and cache for the camera app. I have also updated the stock ROM to the latest Nougat version available.

What is causing this, and what is the solution?

I have been experiencing the same problem take a picture then it returns the error. Has anyone helped you resolve this issue? Were you able to correct this problem?

Can Fingerprint Be Used Without System Lock Screen?

Yes, a fingerprint will unlock it. But you cannot set one up without enabling another unlock method such a PIN or password. This is for two reasons: it gives you a backup if your finger is wet or dirty and the scanner won't work, and as fingerprint is regarded as less secure phones will intermittently ask for a more secure method as verification.

I find fingerprint no inconvenience, as I just put my finger on it as I pick the phone up: I never actually see the lockscreen. So I don't really understand the objection. But android does have other options for disabling the lock screen when e.g. it is connected to a particular Bluetooth device, for those who do find this an issue.

Just got S10 Plus

Any tips or tricks I should know. When setting phone up had like 4 updates on it. Can someone tell me what level of security and update I should have right now. Have this from software info.

Attachments

  • Screenshot_20190906-124945_Settings.jpg
    Screenshot_20190906-124945_Settings.jpg
    131.6 KB · Views: 173
  • Screenshot_20190906-124938_Settings.jpg
    Screenshot_20190906-124938_Settings.jpg
    147.1 KB · Views: 169

[Game][Free] Kitty & Friends: blast of fun

WELCOME TO THE WORLD OF CARTOON ADVENTURE AND HEAD TOY BLASTING FUN!

Kitty & Friends is match 2 game. Blast toon cubes and ton of toys!
Dive into the toon world with our characters Kitty the Leader, Panda the Chef and Doggy the Athlete and many more! Help our characters in learning and discovering new things, by completing different addictive levels in each story!
Blast toon cubes, create bonuses, blast all toy in the whole place!

So, don’t you hesitate and join the adventure and discover new toon things, meet new characters, discover new power-ups and have TOY BLASTING FUN!

Features:
⁃ Complete the match-2 levels and unlock new boosters
⁃ In each story discover new toon objects and blast them!
⁃ Create your team and match with players all over the world!
⁃ Choose your character that you want to play with!
⁃ Share with your friends, give them lives for playing!
⁃ The game is free and easy-peasy to play, but the more you complete the more challenging it gets and more toys you need to blast!
⁃ Free daily spins and chests are waiting for you with stunning rewards!
⁃ The game is totally free to play without any ads!


Kitty & Friends invite you to to help them to blast all toys you can in addictive match 2 game.
Google Play link: Kitty & Friends: blast of fun

2-768x1365.jpg

1-768x1365.jpg

3-768x1365.jpg

Apps How to get the Id of selected database records in spinner

Hi. I am using spinner where it displayes the names of students. There is table studentrecords which stores Student Id, FirstName, LastName and class. The requirement is that when I select the student name, then its Id, FirstName,LastName, Class should be displayed on text box. I have the below code. How should I get the Id of the selected student.
Java:
package com.example.anitaa.studentapplication;

import android.annotation.SuppressLint;
import android.support.v7.app.AppCompatActivity;
import android.os.Bundle;
import android.view.View;
import android.widget.AdapterView;
import android.widget.ArrayAdapter;
import android.widget.Button;
import android.widget.EditText;
import android.widget.Spinner;
import android.widget.Toast;

import com.android.volley.Response;
import com.android.volley.VolleyError;
import com.android.volley.toolbox.JsonArrayRequest;

import org.json.JSONArray;
import org.json.JSONException;
import org.json.JSONObject;

import java.util.ArrayList;
import java.util.Collections;
import java.util.List;

public class UpdateActivity extends AppCompatActivity {
    Spinner spinner;
    ArrayAdapter adapter1;
    EditText Id1,firstname1,lastname1,class1;
    Button button1;
    private JSONArray response;
    String url1 = "http://192.168.1.6/student/web/studentrecords";

    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate ( savedInstanceState );
        setContentView ( R.layout.activity_update );
        spinner = (Spinner) findViewById ( R.id.spinner1 );
        Id1 = (EditText) findViewById ( R.id.studentid );
        firstname1 = (EditText) findViewById ( R.id.firstname );
        lastname1 = (EditText) findViewById ( R.id.lastname );
        class1 = (EditText) findViewById ( R.id.studentclass );
        final List<String> list = new ArrayList<> ();



        JsonArrayRequest request = new JsonArrayRequest ( url1,
                new Response.Listener<JSONArray> () {
                    @Override
                    public void onResponse(JSONArray response) {
                        try {
                            list.add(0,"Select Student");
                            // response is the JSONArray that you need to iterate
                            for (int i = 0; i < response.length (); i++) {
                                JSONObject obj = response.getJSONObject ( i );
                                int StudentId = obj.getInt("Id");
                                String name= obj.getString ( "FirstName" );
                                String lastName = obj.getString ( "LastName" );



                                list.add(name+" "+lastName);




                            }

                            spinner_code ();


                        } catch (JSONException e) {
                            e.printStackTrace ();
                        }
                    }

                    private void spinner_code() {

                        adapter1=new ArrayAdapter ( UpdateActivity.this,android.R.layout.simple_spinner_item, list );
                        adapter1.setDropDownViewResource ( android.R.layout.simple_spinner_dropdown_item);
                        spinner.setAdapter ( adapter1 );
                        spinner.setOnItemSelectedListener ( new AdapterView.OnItemSelectedListener () {
                            @SuppressLint("ResourceType")
                            @Override
                            public void onItemSelected(AdapterView<?> parent, View view, int position, long id) {
                                spinner.setSelection ( position );
                                if(spinner.getSelectedItem ().equals ( "Select Student" )) {
                                    Id1.setText("");

                                }else
                                {
                                   

                                }
                            }


                            @Override
                            public void onNothingSelected(AdapterView<?> parent) {

                            }
                        } );



                    }
                    private int getStudentId(int position)
                    {
                        int Student_Id =0;
                        try
                        {
                            JSONObject json = response.getJSONObject ( position );
                            Student_Id = json.getInt("Id");
                        } catch (JSONException e) {
                            e.printStackTrace ();
                        }
                        return Student_Id;
                    }





                }, new Response.ErrorListener () {
            @Override
            public void onErrorResponse(VolleyError error) {
                error.printStackTrace ();
            }
        } );


        MySingleton.getInstance ( UpdateActivity.this ).addToRequestque ( request );


    }
}

Need the right layout for fixed grid position

Hi.

Is there a layout where i can sort dynamically content in fixed 2d grid?
Like Grid view but i want to sort all items after a x/y coordinate.

x1y1 x2y1 x3y1 x3y1
x1y2 x2y2
x1y3 x2y3 x3y3

and so on.

What i can find the grid view can only be sorted by name or value in rows. so if a item later is added then all items under that is moved.

Hopes it make sence.

Regards Danni.

Filter

Back
Top Bottom