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

[App] Wait4Date

kanaiada2

Newbie
Coming soon... A better and more simple dating app...
 

Attachments

  • Screenshot_20190926-202932.png
    Screenshot_20190926-202932.png
    115.4 KB · Views: 132
  • Screenshot_20190926-202937.png
    Screenshot_20190926-202937.png
    227.2 KB · Views: 120
  • Screenshot_20190926-202944.png
    Screenshot_20190926-202944.png
    280.2 KB · Views: 113
  • Screenshot_20190926-202952.png
    Screenshot_20190926-202952.png
    129.7 KB · Views: 138
  • Screenshot_20190926-203004.png
    Screenshot_20190926-203004.png
    253.6 KB · Views: 118
  • Screenshot_20190926-203251.png
    Screenshot_20190926-203251.png
    596.2 KB · Views: 109
  • Screenshot_20190926-221947.png
    Screenshot_20190926-221947.png
    207.9 KB · Views: 113
Hello, I personally don't trust dating apps because some people pretend to be women but are men are some pretend to be a man and are women, so I don't really use them
I actually have check boxes for those.
Man
Woman
Man as a woman
Woman as a man.
Plus ratings for each profile so they get a reputation.
 
We'll easily get rid of pests like this girl from POF.
 

Attachments

  • Screenshot_20190928-004346.png
    Screenshot_20190928-004346.png
    170.9 KB · Views: 206
Yes, they're scripts or bots... At least I think so...
So I just wrote a real app that I control.
I'm publishing it to the play store right now.
 
Be sure to give bots a low rating and comment.
They will self lower themselves on the last to the bottom.
Away from genuine users.
 
I think I may have a sign in bug which doesn't allow you to get further than the sign in screen if you're a new user.
I'll look at it when I get home.
I have bad signal here.
 
The only bug remaining is that I need to ask for 'Storage Permission'.
You can work around this by going to the settings/apps/Wait4Date/permissions and setting 'Storage' to ON.
 
The only bug remaining is that I need to ask for 'Storage Permission'.

This works well for me and might get you sorted as well...

Java:
if (getPermission()) {
  ...
}

// Check if storage permission has been granted. If not, request it.
private boolean getPermission() {
  if (Build.VERSION.SDK_INT >= 23) {
    if (ActivityCompat.checkSelfPermission(this, Manifest.permission.WRITE_EXTERNAL_STORAGE) == PackageManager.PERMISSION_GRANTED) {
      // True if permission granted exists.
      return true;
    } else {
      // We ask for storage permission if it doesn't exist.
      ActivityCompat.requestPermissions(this, new String[]{Manifest.permission.WRITE_EXTERNAL_STORAGE}, WRITE_STORAGE);
      return false;
    }
  } else {
    // True for SDK < 23
    return true;
  }
}

// Check if user granted or denied storage permission when requested and
// run code for either situation. This method is optional, but useful.
@Override
public void onRequestPermissionsResult(int requestCode, @NonNull String[] permissions, @NonNull int[] grantResults) {
  if (requestCode == WRITE_STORAGE) {
    if (grantResults.length > 0 && grantResults[0] == PackageManager.PERMISSION_GRANTED) {
      Toast.makeText(getApplicationContext(), "Permission Granted.", Toast.LENGTH_LONG).show();
    } else {
      Toast.makeText(getApplicationContext(), "Permission Denied!", Toast.LENGTH_LONG).show();
    }
  }
}

Manifest...

XML:
<uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" />
 
Thanks. Exactly what I was looking for on Google.
I was accustomed to the permissions being asked during installation. I realized that changed but didn't think it applied at the time.
 
There must be a simple library for handling this permission stuff I bet... With common simple functions already written.
 
Yeah for added security google introduced runtime permissions which must be explicitly seen and agreed to by the user.

There is a library...
https://github.com/nabinbhandari/Android-Permissions

I try not to use libraries when possible. With a library, if it's not updated, you will have to update it yourself.

Make sure to check the one I linked. It has not been updated since December and google has made some deprecations and changes since.
 
I just created the update. It seems to work well.
I also avoided the camera permission by using a camera intent then immediately after, opening a gallery by intent which shows recent photos etc...
This bypasses that separate crazy thumbnail/full sized image code... Intent for result code...
 
Crash lol
Good thing I only have 1 real user so far...
Yes, camera intent.
It sucks that stuff works in debug then crashes in release mode. So testing must always occur in both.
 
Back
Top Bottom