• Breaking News

    Sunday, December 8, 2019

    Android Dev - How to Implement Text To Speech in Android Studio

    Android Dev - How to Implement Text To Speech in Android Studio


    How to Implement Text To Speech in Android Studio

    Posted: 08 Dec 2019 12:00 AM PST

    Most reliable Places API?

    Posted: 07 Dec 2019 04:03 PM PST

    My app requires finding POIs nearby the user (based on their lat/lon).

    I've tried both Mapbox Reverse Geocoding and TomTom Nearby Search and the POIs are unreliable - for example they show restaurants that closed 2 years ago.

    Google Places is too expensive for me - I'm looking at Foursquare so am curious if anyone has used that for nearby locations to the user - or any other API?

    submitted by /u/GerrardSlippedHahaha
    [link] [comments]

    my app Yula doesn't show up in google play search

    Posted: 08 Dec 2019 03:20 AM PST

    It's been 3-4 days since I uploaded it to google play.but when I still search Yula => https://play.google.com/store/apps/details?id=ewy.studio.yula ,my application does not appear anywhere.this is a bit annoying.I mailed and learned that many people like me are sending mail However, the answer I get is to make the app name unique and use google ads.The application step is already unique and I learned from here that google ads do not have a benefit to the index. What should we do ?

    We are already working hard enough to write and design the code of these applications.but they won't let us when we want to finish and publish everything and they're gonna take it from us for $ 25 for nothing.when we mail them to solve this problem, they will make fun of us and suggest things that will not work.If there is a game store due to our applications, we are the ones who keep it alive.but they still don't respect us and listen to us.they have to listen to us and show respect.Because if they set up a game store, it's because of us.

    We must make our voices heard.

    submitted by /u/PrimaryAsparagus
    [link] [comments]

    Has anyone for the love of god figured out how to have a custom gradle test task without modifying the default `gradlew test`?

    Posted: 07 Dec 2019 12:58 PM PST

    Hi, I want to have a tasks which runs only selected tests. Sounds reasonable? My naive gradle brain tells me to

    task myTest(type: Test) { group = "verification" include "com.myapp.foo.MessageManagerTest.class" 

    }

    FAILURE: Build failed with an exception.
    * What went wrong:
    Could not determine the dependencies of task ':myTest'.
    > java.lang.NullPointerException (no error message)

    What?

    I google around, and people modify the default test tasks like this

    def integrationTests = false ... testOptions { unitTests.all { useJUnit() if (integrationTests.toBoolean()) { println "Integration Tests Only for " + it.name options { excludeCategories 'com.example.reactivemvp.categories.UnitTest' } } else { println "Unit Tests Only for " + it.name options { excludeCategories 'com.example.reactivemvp.categories.IntegrationTest' } } } } 

    What?

    Documentation is ofcourse unhelpful as usual with gradle, and or references java plugin. Facepalm

    submitted by /u/ursusino
    [link] [comments]

    Android weekly application

    Posted: 07 Dec 2019 09:41 AM PST

    Color Picker

    Posted: 07 Dec 2019 03:20 PM PST

    Hello guys,
    For a small project of mine, i want to implement/use a color picker, so that the user can pick a color out of a given list.
    I really liked this design with the square buttons/images. But i dont wanna use this in a dialog box. Is there an easy way to implement something like that. Or is there another library that does this already?

    submitted by /u/CrazyKing11
    [link] [comments]

    Any Admob or Ads SDK professionals (have actually published stuff using them) I can talk to directly? Unity 3D knowledge is key as well.

    Posted: 07 Dec 2019 12:39 PM PST

    Not looking for entry level guys here. My team is in the middle of launching and we are in this endless nightmare of Admobs + mediation with other sites but we are constantly encountering issues.

    Let me know if you are interested it would mean alot.

    EDIT: I will pay you for an hour of you time

    submitted by /u/AdamCaveRoberts
    [link] [comments]

    is this a proper way of adding listeners?

    Posted: 07 Dec 2019 10:29 AM PST

    Fragment class button on click method

    views.findViewById(R.id.sign_up_btn).setOnClickListener(view ->
    viewModel.registerUser(signUpEmail.getText().toString(), signUpFullName.getText().toString(), signUpPassword.getText().toString(), new SuccessListener() {
    u/Override
    public void onSuccess() {
    Toast.makeText(getActivity(), "User created successfully", Toast.LENGTH_SHORT).show();
    }

    u/Override
    public void onFailure() {
    Toast.makeText(getActivity(), "Please try again later", Toast.LENGTH_SHORT).show();
    }
    })
    );

    viewmodel class

    public void registerUser(String email, String name, String password, SuccessListener successListener) {
    User user = new User(email,name,password);
    userRepository.registerUser(user, successListener);
    }

    repository class

    public void registerUser(User user, SuccessListener successListener) {
    auth.createUserWithEmailAndPassword(user.getEmail(), user.getPassword()).addOnCompleteListener((@NonNull Task<AuthResult> task) -> {
    if (task.isSuccessful()) {
    currentUser = auth.getCurrentUser();
    if (currentUser != null) {
    UserProfileChangeRequest profile = new UserProfileChangeRequest.Builder()
    .setDisplayName(user.getName())
    .build();
    currentUser.updateProfile(profile).addOnCompleteListener((@NonNull Task<Void> profileTask) -> {
    if (profileTask.isSuccessful()) {
    Log.v(TAG, "PROFILE UPDATED");
    successListener.onSuccess();
    }
    });
    }
    }else {
    Log.w(TAG,task.getException());
    successListener.onFailure();
    }
    });
    }

    is there any other way I know about whether user created successfully?

    submitted by /u/nabeel527
    [link] [comments]

    Apps' icons should have a dark mode version.

    Posted: 07 Dec 2019 09:18 AM PST

    An app launcher icon should look darker when the system is in dark mode. Not sure if doable, or if already done by some apps.

    submitted by /u/Askalany
    [link] [comments]

    Is it possible to re-program an android's native app functions?

    Posted: 07 Dec 2019 12:07 PM PST

    I want my samsung galaxy to be able to start recording video with only the press (or double press) of a button while the phone is off/sleeping.

    The phone does not do this natively. I was wondering if there is a way to re-program native features and program this feature into the phone myself? If so what is this concept called so that I can look more into it? Or any other approaches? I don't have a lot of experience programming with android but am a fast learner and would love to work on this as a learning project.

    If not, I'd also like to simply have some sort of icon at the top of the unlock screen that when pressed opens the camera, at least. Currently, natively, there is a button at the bottom of the screen that when swiped opens up the camera for taking photos.

    Another option is to simply build an app, but I'd want the app to appear on the lock screen or open up automatically at the double press of the phones power button.

    submitted by /u/codeyCode
    [link] [comments]

    No comments:

    Post a Comment