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

Help NewBee - LG Aristo 2 and Comcast

This is not critical but: I am 100% Comcast. I use my laptop 90% of the time (as I am now). When I get a call on my home phone, it rings AND my cell phone says I have a call. While I do appreciate my phones due diligence I do't need the extra notice. It's an issue with sync and I found how to kill it on my laptop. On my phone: Settings; Accounts (Auto-sync...) slide gray'd out but in the OFF position (left).
This is the first I've heard of "sync" and know nothing about it. Your assistance will be much appreciated.

Security patch

The other day XDA posted this article on Android security patches, it's a good summary of the situation:
https://www.xda-developers.com/how-android-security-patch-updates-work/
Basically, the Android platform is pretty messed up as far as security updates overall. But for your own peace of mind, just apply some common sense whenever you're using your phone phone to do anything involving online interactions and don't focus too much on the security patch issue. Here's some other articles that are contrary to the conventional media hype you might find worth taking into consideration:
https://www.computerworld.com/article/3268904/android-security-facts.html
https://www.computerworld.com/article/3411440/android-security-scares.html
https://www.computerworld.com/article/3012630/android-security-checkup.html

Perfect I already do be careful with that stuff I just wanted to make sure it was ok even if I couldn't get the update right away, thank you very much 😁

Help Whistle GO pet tracker, anyone?

How's the 'Whistle Pro" and how would you rate this product?
That's kind of hard to answer! Since Joy Noelle never goes outside--except to the vet, and we haven't gone there since she's had it--it's hard to say too much about it.

I can say that it's very cool! It alerts me when its battery needs charging, and it periodically sends me 'progress reports' [like one I posted] on her activity accomplishments. :rolleyes: It's truly remarkable that she can walk FIVE MILES in a week....inside the house...where she spends -most- of her time sleeping--on me. :D

The maps showing her location are always spot-on.

I'd definitely recommend it to any pet parent, even for cats, like Joy Noelle, who are strictly indoors. From what I've seen, it works as it's supposed to. Its $9.95/month fee is well worth the price, considering you'd be able to track and retrieve a lost pet with its service.

Car mount recos?

Has anyone found a good car vent mount yet for the Z Flip?

Will it work with a magnet based mount? I read somewhere that there magnets in the there and cautioned proximity to credit cards, etc.

I have a popsocket on my Note 10+ and vent mount for that, but do not plan on popsocketing my Z Flip.

108MP Camera vs 100X Space Zoom

She makes a good point about the usefulness of 8K video as well. Not many devices have 8K screens so it may seem useless to record in 8K, but it grants you the opportunity to zoom into that footage in post production without losing detail.

My favorite quote from the video (4:25):
"In the past couple of days I've taken an uncomfortable number of selfies" lol

I would take hundreds of zoom shots, hahaha

Plus, 8k video down res'd to 4k or 1080 will look better as well, especially if uploading to YouTube or the like.

Deleted the app, but number still blocked

I added a app to block a number. It would give the caller the recording that the number was disconnected. I have since deleted the app, but the number is still blocked. I'm trying to unblock the number, but since I can't remember the app originally used, I can't!! Please help!
Once the app is gone, so are its abilities to do anything on your phone. So something else is going on.

Regardless, there are a few things you can do. One, in your contacts, make sure that the app didn't mark that number as blocked.

If that wasn't it, delete that entry in contacts [making note of its info first, of course], then add it back. If that solves it, you're done.

Finally, although I do not see how the app could still control your phone after it's uninstalled, you can locate the app by viewing your Play Store history. Using a browser, not the Play Store app, go to My Android Apps. Your apps will be listed with the most recently installed first. Assuming you installed it from Play, it should be there.

How can I access my custom AlertDialog EditText field ?

I created a custom AlertDialog and I want to save the values that the user has set. However I can't access them because
Attempt to invoke virtual method 'android.text.Editable android.widget.EditText.getText()' on a null object reference.

I am in HomeFragment, I created the AlertDialog and set the layout. I did it like this :
Java:
public class HomeFragment extends Fragment implements CustomDialog.CustomDialogListener {

   private HomeViewModel homeViewModel;
   private View root;

   public View onCreateView(@NonNull final LayoutInflater inflater,
                            final ViewGroup container, Bundle savedInstanceState) {
       homeViewModel =
               ViewModelProviders.of(this).get(HomeViewModel.class);
       root = inflater.inflate(R.layout.fragment_home, container, false);
       final TextView textView = root.findViewById(R.id.text_home);
       homeViewModel.getText().observe(getViewLifecycleOwner(), new Observer<String>() {
           @Override
           public void onChanged(@Nullable String s) {
               textView.setText(s);
           }
       });

       Button btn_add_apero = (Button) root.findViewById(R.id.btn_add_apero);
       btn_add_apero.setOnClickListener(new View.OnClickListener() {
           public void onClick(View v) {
               AlertDialog.Builder builder = new AlertDialog.Builder(root.getContext());
               builder.setTitle("Super un nouvel apéro !");
              
               builder.setView(inflater.inflate(R.layout.layout_dialog, null))
                       // Add action buttons
                       .setPositiveButton(R.string.text_add, new DialogInterface.OnClickListener() {
                           @Override
                           public void onClick(DialogInterface dialog, int id) {
                               EditText name_apero = (EditText)root.findViewById(R.id.edit_apero);
                               EditText date_apero = (EditText)root.findViewById(R.id.edit_date);
                               LaperoDatabase db = Room.databaseBuilder(root.getContext(),
                                       LaperoDatabase.class, "lapero_db").allowMainThreadQueries().build();

                               AperoDao dbApero = db.getAperoDao();
                               Apero new_apero = new Apero(name_apero.getText().toString(), date_apero.getText().toString());
                               dbApero.insert(new_apero);
                           }
                       })
                       .setNegativeButton(R.string.text_cancel, new DialogInterface.OnClickListener() {
                           public void onClick(DialogInterface dialog, int id) {
                               dialog.cancel();
                           }
                       });
               builder.show();
           }
       });
       return root;
   }

In my layout_dialog.xml I set the 2 EditText :
Code:
<?xml version="1.0" encoding="utf-8"?>
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
   android:layout_width="match_parent"
   android:layout_height="match_parent"
   android:padding="16dp">

   <EditText
       android:id="@+id/edit_apero"
       android:layout_width="match_parent"
       android:layout_height="wrap_content"
       android:hint="@string/edit_apero" />

   <EditText
       android:id="@+id/edit_date"
       android:layout_width="match_parent"
       android:layout_height="wrap_content"
       android:layout_below="@id/edit_apero"
       android:layout_alignParentStart="true"
       android:hint="@string/edit_date"
       android:layout_alignParentLeft="true" />

</RelativeLayout>

How can I manage to get the value that are in those 2 fields ? I tried with a breakpoint and the R.id.edit_apero in this line
Code:
EditText name_apero = (EditText) root.findViewById(R.id.edit_apero);
has a number but then it assign it as null

Need Help Using Custom Notification Files

In general you put ringtones in the Ringtones folder and notifications in the Notifications folder, both in the phone's internal storage. I don't use Go SMS, but any app should be able to find sounds there as those are the standard locations (every app on my phone that allows custom notifications can use the files I put in these folders).

If that doesn't work then personally I'd change message app: I would not use an app that expected me to do something non-standard just for it. But it really should work.

Root cm11 lucid2 l1v vs870 wip port log/thread

Hi folks after digging around, I discovered a Korean github developer made the kernel source of cm11 for lte2. As we got the lte2 2nd init working, I believe this can be used in our device. It is possible to build kk and beyond. :D We need persistence!!
Ps: This might sounds wired as most ppl put away this device but I use this opportunity to learn rom developing
https://github.com/jameskdev/lge-kernel-msm8960-common

Leagoo Z7 Stuck at Boot

Hi,

I have tried to get some advice from Leagoo, without success, and so, I wondered if anyone on here can help ?

My Leagoo Z7 android phone, suddenly froze on the first page "Powered by Android", and just flashes that page.
I can get the screen to go blank by holding the power button, but plugging it by usb to mains or laptop, and it flashes page again.
Power and Vol - does not get it to go into boot recovery.
Taking Battery out and replacing it has no effect.

Connecting the phone to a laptop by usb, and the Laptop doesn't detect the phone, so I can't use any online software.

Does anyone have any ideas please ?

Android Game Sushi Bird

Hello, and Welcome to the site

Please read the below before posting any app threads.

This site has a procedure for developers to announce their apps.



Below info for instructions on how to properly post your apps.

http://androidforums.com/threads/how-to-post-app-game-announcements.1128134/

Developer Announcement Procedure
Install the Forum for Android app from Play store from link here >>, https://play.google.com/store/apps/details?id=com.tapatalk.androidforumscom

Sign in to the forum using the app and follow below instructions

Go to the forums tab
Select "My Apps & Games"
Select your app from the list
Tap the green icon in the bottom right to start a new thread
Add a thread title / content and hit the post button (right pointing arrow in the top right of the screen)
Once this is done you can use your PC to create or modify threads in your channel

Once you create the channel using the app, one of us staff members will move your thread to the appropriate channel and or approve your post.

If you have any questions, please reply to this message.

Gd LK with the App, and thanks for joining Android Forums.

Don

Null object reference in coder: Geocoder = Geocoder(context)

Hii i have a doubt in maps fragment. i have 8 markers to display in maps. i have done it like this.
This code is working perfectly fine. but i want to implement MVVM in this and i want keep all the location addresses in array list . when i have done that am getting null object reference in getLocationfromaddress() method at this line
val coder: Geocoder = Geocoder(context)

how to place all locations in arraylist

Code:
class MapsActivity :AppCompatActivity(), OnMapReadyCallback, GoogleMap.OnMarkerClickListener
{

    private lateinit var mMap: GoogleMap

    private lateinit var button_res: Button
    lateinit var address: LatLng

    lateinit var pietrasanta: LatLng
    lateinit var Ikea_alexandra: LatLng
    lateinit var candlenut_resturant: LatLng
    lateinit  var MDIS_Dhoby: LatLng
    lateinit  var ridges: LatLng
    lateinit var hilton: LatLng
    lateinit  var library: LatLng
    lateinit var tanglin: LatLng

    companion object {
        private val MY_PERMISSION_FINE_LOCATION = 101
    }

    @RequiresApi(Build.VERSION_CODES.N)
    override fun onCreate(savedInstanceState: Bundle?) {
        super.onCreate(savedInstanceState)
        setContentView(R.layout.activity_maps)

        val mapFragment = supportFragmentManager
            .findFragmentById(R.id.map) as SupportMapFragment
        mapFragment.getMapAsync(this)
    }


    /**
     * Manipulates the map once available.
     * This callback is triggered when the map is ready to be used.
     * This is where we can add markers or lines, add listeners or move the camera. In this case,
     * we just add a marker near Sydney, Australia.
     * If Google Play services is not installed on the device, the user will be prompted to install
     * it inside the SupportMapFragment. This method will only be triggered once the user has
     * installed Google Play services and returned to the app.
     */


    override fun onMapReady(googleMap: GoogleMap) {
        mMap = googleMap

        address = getLocationFromAddress(  this, "ADDRESS 1 " ) //this will be main marker and in the middle of the maps activity
        mMap.addMarker(
            MarkerOptions().position(address/*LatLng(17.373838, 78.533271)*/).title("MDIS")
                .snippet("501 Stirling Rd,Singapore 148951")
                .icon(BitmapDescriptorFactory.fromResource(R.drawable.icon))
        )
            .showInfoWindow()
        mMap.moveCamera(CameraUpdateFactory.newLatLng(address))
        mMap.animateCamera(CameraUpdateFactory.zoomIn())
        mMap.animateCamera(CameraUpdateFactory.zoomTo(15F), 2000, null)
        mMap.uiSettings.setAllGesturesEnabled(true)
        mMap.uiSettings.isCompassEnabled = true

    //the following markers are the nerby markers for address marker
         pietrasanta= getLocationFromAddress(this,"ADDRESS 2")
         Ikea_alexandra= getLocationFromAddress(this,"ADDRESS 3")
         candlenut_resturant = getLocationFromAddress(this, "ADDRESS 4")
         MDIS_Dhoby= getLocationFromAddress(this, " ADDRESS 5  ")
         ridges = getLocationFromAddress(this, "ADDRESS 6")
         hilton =  getLocationFromAddress(this, "ADDRESS 7")
         library= getLocationFromAddress(this, "ADDRESS 8")
         tanglin = getLocationFromAddress(this, "ADDRESS 9")


       mMap.addMarker(MarkerOptions().position(pietrasanta).title("Pietrasanta the Italian Resturant"))

        mMap.addMarker(MarkerOptions().position(Ikea_alexandra).title("Ikea alexandra resturant"))

        mMap.addMarker(MarkerOptions().position(candlenut_resturant).title("Candlenut Resturant"))

        mMap.addMarker(MarkerOptions().position(MDIS_Dhoby).title("MDIS Dhoby Ghaut"))


        mMap.addMarker(MarkerOptions().position(ridges).title("Southern Ridges"))


        mMap.addMarker(MarkerOptions().position(hilton).title("Hilton Singapore"))


        mMap.addMarker(MarkerOptions().position(library).title("Queenstown Public Library"))


        mMap.addMarker(MarkerOptions().position(tanglin).title("Tanglin Halt Food Centre"))




        if (ActivityCompat.checkSelfPermission(
                this,
                Manifest.permission.ACCESS_FINE_LOCATION
            ) == PackageManager.PERMISSION_GRANTED
        ) {
            mMap.isMyLocationEnabled = true

        } else {//condition for Marshmello and above
            if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.M) {
                requestPermissions(
                    arrayOf(Manifest.permission.ACCESS_FINE_LOCATION),
                    MY_PERMISSION_FINE_LOCATION
                )
            }
        }

    
        fun getLocationFromAddress(context: Context, strAddress: String): LatLng {
            val coder: Geocoder = Geocoder(context)
            val address1: List<Address>
            lateinit var p1: LatLng


            try {
                address1 = coder.getFromLocationName(strAddress, 5)
                if (address1 == null) {

                }
                val location: Address = address1.get(0)
                location.latitude
                location.latitude

                p1 = LatLng(location.latitude, location.longitude)


            } catch (e: Exception) {
                e.printStackTrace()
            }

            return p1
        }


    override fun onMarkerClick(p0: Marker?) = true


    override fun onRequestPermissionsResult(
        requestCode: Int,
        permissions: Array<String>,
        grantResults: IntArray
    ) {
        super.onRequestPermissionsResult(requestCode, permissions, grantResults)
        when (requestCode) {
            MY_PERMISSION_FINE_LOCATION -> if (grantResults[0] == PackageManager.PERMISSION_GRANTED) {//permission to access location grant
                if (ActivityCompat.checkSelfPermission(
                        this,
                        Manifest.permission.ACCESS_FINE_LOCATION
                    ) == PackageManager.PERMISSION_GRANTED
                ) {
                    mMap.isMyLocationEnabled = true
                }
            }
            //permission to access location denied
            else {
                Toast.makeText(
                    applicationContext,
                    "This app requires location permissions to be granted",
                    Toast.LENGTH_LONG
                ).show()
                finish()
            }
        }
    }


 
}

Help Calls from a particular number is getting blocked

Hi guys..

Calls from a particular number is getting blocked in my device. That's my Mother's number, so no I haven't blocked that number obviously. I calked up my carrier (Vodafone) customer service; they were also unable to find any solution. Me too have combed each and every settings on my phone but couldn't find any solution. FYI my Mom doesn't use smartphone. Additionally I'm not getting any block notification on my phone. But she can hear my callertune ringing.
So any idea what's causing this whole problem? Pls help!
There are so many variables on this issue. For instance, does your mother or her carrier, withhold her number and is your phone set to block calls from unknown numbers? Have you set a special ringtone for your mother, which may not be working? The list goes on.

Possibly the best way to attempt to resolve this would be to delete your mother's contact details from your phone and reboot and then re-add her contact details and see if that helps.

Filter

Back
Top Bottom