Reviews S20 Ultra: Great First Impressions by PocketNow
- By NightAngel79
- Smartphones
- 4 Replies
Is that 6 cameras on the back?
No, one is depth sensor, others sensors as well. Only 3 actual camera.
Follow along with the video below to see how to install our site as a web app on your home screen.
Note: This feature may not be available in some browsers.
Is that 6 cameras on the back?
Coming soon... got hit with the "too many things happening at once" bug... ugh.
Once the app is gone, so are its abilities to do anything on your phone. So something else is going on.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!
Attempt to invoke virtual method 'android.text.Editable android.widget.EditText.getText()' on a null object reference.
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;
}
<?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>
EditText name_apero = (EditText) root.findViewById(R.id.edit_apero);
Thanks.Yes, it's telling you what the available action is: if you've not liked a post you can like it, if you have liked it you can remove that like.
We need persistence!!
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()
}
}
}
}
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.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!
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.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, today it is a brisket in brine.The pics speak for themselves. I bet your corned beef is outstanding too.
Check back in after two weeks to see how it comes out, but it is normally pretty good. 
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...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.
![]()