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

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.

Using Google to track location

Hi I've read about Apps that can track a person's location without them knowing
What id like to know is can this be done or is it a scam
Well your carrier has records of your location simply by triangulating your phone via the cell towers it automatically connects to as you travel around, so as far as that aspect it's not an app installed on your phone, nor is Google involved at all. It's just a basic function your phone provides you that the carriers take advantage of. Turn on Airplane mode and that should disable WiFi, cellular, and Bluetooth connectivity if you really want your phone to be invisible. Remove your SIM card too if you want to go to extremes. Of course that takes away a lot of benefits of even having a smartphone so there is that to consider.

But if you're thinking just anyone can track you just because they feel like it, than no. That's just melodrama from TV and movies. If someone is actually targeting you specifically however, that is a different situation. But they can't just magically install some kind of spyware app on your phone remotely, that's something that needs to be done when they have actual physical possession of your phone without any supervision -- they need to a) crack the lock screen (in a way you don't later notice), b) manually install some kind of spyware app, and c) set it up properly (so it's not obviously detectable) and configured properly (set to communicate with whatever remote tracking source). So it's not a trivial thing to do. Basically, make sure you have a lock screen enabled and don't let other people just borrow your phone unless you can keep an eye on it.

So *$!)%#@! hard on the eyes!

Gotcha, @NightAngel79, and it sounds very cool. But it's strictly by using AF's app, right?, not a browser on a device.

So Jane Doe visits via the app, and if her device's forum already exists, nothing happens? Or is she taken to its forum? Probably not the latter--if she arrived by searching for help with Twitter, she'd want to see threads about Twitter, not just in her device's forum. [I'm basically thinking out loud.]

I like what I'm seeing...well, except for...you know... :rolleyes: I think the links on device boards, like to Amazon to buy the device, are good, and should help in a number of ways. It's fun watching things appear. :)

So yea, only from app. If they land here from twitter (and have the app installed) they would be directed to the thread they were linked to. But part of 'their' channels would be a section for their phone.

Liking the new layout, just need more and more threads posted!!

Widget ID?

Yeah, my library contains apps that are no longer available in the Play Store. And this isn't the sort of app that Google are likely to have deleted from the store themselves (those are usually games that infringe copyright or malware apps, which tend to disguise themselves as "beauty camera filters" these days, though dodgy flashlights remain a hardy perennial).

Filter

Back
Top Bottom