• Breaking News

    [Android][timeline][#f39c12]

    Wednesday, April 29, 2020

    Android Studio 4.1 Canary 8 released - Emulator now embedded in the IDE tool window 😃 Android Dev

    Android Studio 4.1 Canary 8 released - Emulator now embedded in the IDE tool window �� Android Dev


    Android Studio 4.1 Canary 8 released - Emulator now embedded in the IDE tool window ��

    Posted: 29 Apr 2020 01:55 PM PDT

    Google terminated my Developer account without warning

    Posted: 29 Apr 2020 04:38 AM PDT

    Google terminated my Developer account without warning

    Hello, readers of Reddit, I'm writing to you from cold Russia:)
    I'm here to share with you one more story of a developer's account lock-out in Google Play. On the 26th of March, in the evening, I received a standard email from Google:

    Letter from Google

    At first I didn't understand what's the problem is and of course I sent a notice of appeal. I received a standard answer. The same was with the next notice of appeal. Now I already have 7 notices of appeal. I don't even receive any automatic answer for the last ones. It seems to me that a few days ago I found out the reason of a possible lock-out. One of my games was tested by the publisher at his account. During this period the game got two warnings as a result of violation with incorrect integration of SDK of the necessary services. The publishers didn't like the game and they returned it to my account. And maybe their rejects came to my account together with the application. I'm not absolutely sure in it, but this is the only rational basis.
    That's why be careful with transference of the application after its rejects on the other people's accounts. I can't understand the politics of Google. Why should I be responsible for the other people's rejects with the help of my account? Whereby their account continues to exist. Is it fair? I also want to add that I'm not a creator of trash applications and games. I had 2 qualitative games on my single account (which is more than two years old). I spent a lot of thousands of dollars, as well as energy and time on each game. And we wanted least of all to violate the rules and somehow be in conflict with the bots from Google.

    My first app was a cute door simulation game. A huge amount of effort was invested in it. It had about 30 thousand installations. Unfortunately, the application could not pass the test at the publisher. And had the status: Reject. This was due to the obsolete Appodeal SDK. I made plans to revive this game and retest the publisher with the hope of a positive result. (I apologize for the screenshots with the text, this is not an advertisement)

    Menu

    Map_1

    Map_2

    The second game was a dark platformer about black substance. This game has gone through many iterations. And during the next test, I got a ban on the whole account. Most likely this particular game didn't please Google bots.

    Substance

    What I have learnt and what I can share with people who are in the same situation is the following:

    • Be careful with the transfers of the applications as you can get application rejects from the other people's accounts and damage your account. (I'm not absolutely sure in it) - the way of searching for the people from Google at LinkedIn + Rocket Reach is useless. I tried to find people working in support with the help of these services during month. Unfortunately, in all the cases I faced up with ignoring. If someone wants to do this, then search for: Appeals Specialist at Google, Play Developer Support Specialist, Developer Support Specialist - Accenture\Vaco at Google, Support Appeals Specialist - Accenture\Vaco at Google. As I understood, Google transfers the part of operations concerning the support of the users to the companies Accenture and Vaco. But these are my personal insights and guesses. You shouldn't accept them at their face-value. Possibly, somebody will be lucky and he or she will find a person who will answer.
    • Sending emails is also quite useless. But here I was lucky and two people replied to me at once. One of them was from Policy Team and the other one was a Developer Advocate. They both told me that they felt sorry but couldn't help me and they gave me a link for a standard form of a notice of appeal.
    • If your account brings you less than 5 thousand dollars per month for inner purchases, then the likelihood that your notice of appeal will be considered by an alive person is about 1%. Especially this situation heated up because of COVID-19. Maybe they don't have enough specialists.
    • The variant of asking for help people who I know and who work in Google also doesn't work (they did an internal inquiry).
    • Writing on the Google Help Forum is also useless.

    Finally, there is only a variant with making this problem well-known. According to the same topics this variant may work and kind people from Google can see and give a break to the developer.Very sadly, that this problem lasts through years and is still relevant in 2020. I'm ready to pay hundreds of dollars per year, and not 25 once, if in hour of need there will be an alive person to help me, but not this useless AI.
    Update: 6 hours after this post my account was unblocked. I thank everyone who supported me. And thank the person who did this. I hope someday Google will expand the support staff and these problems will not have to be solved by reddit.

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

    Jetpack Compose dev10 release is available

    Posted: 29 Apr 2020 10:57 AM PDT

    Use Espresso’s IdlingResource for max Android test speed

    Posted: 29 Apr 2020 10:36 AM PDT

    App Suspended on Google Play due to 'Sensitive Events Policy' - What Now?

    Posted: 29 Apr 2020 10:47 AM PDT

    My casual trivia game was suspended due to Google's Sensitive Events policy. They provided no details of the violation, just a generic description of the policy:

    We don't allow apps that lack reasonable sensitivity towards or capitalize on a natural disaster, atrocity, conflict, death, or other tragic event.

    I don't know what to do next. I think the suspension may be from a joke about COVID-19 in the app description, 'Guaranteed to distract you from coronavirus for at least a few minutes!' but I'm not sure.

    Google will let me upload a new version of the app 'minus the offending content', but I'm not 100% sure that was actually the violation. I don't want to risk uploading another version and having my account banned entirely.

    I have submitted an appeal, but feel stuck in limbo right now.

    What's the best way to handle this?

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

    The Good, The Bad and The Ugly — Three approaches to loading contacts in your Android application

    Posted: 29 Apr 2020 05:45 AM PDT

    Will doing Android TV development hinder my career progression?

    Posted: 29 Apr 2020 02:24 PM PDT

    I've done mobile for a couple years now. Have an opportunity to join tv development. I'm not really sure how different it is though technically. Would it be hard to switch back to mobile down the line?

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

    Implementing motion with Material Design | Google Design Tutorials

    Posted: 29 Apr 2020 12:17 PM PDT

    SAF is so slow

    Posted: 29 Apr 2020 01:45 AM PDT

    I have an app that asks the user for storage permission and cleans all empty folders from it. Because of the privacy changes in Android 10 and Android 11 we have to find another method for storage access because the write storage permission will be removed. I updated the app with SAF. And everything is working and even the sd card scanning which previously was not available. The problem is that it is working very slow. If I select the main storage folder it takes 2 minutes for an operation that was 2 seconds with the previous mechanism. Of course the bad reviews are starting. What should I do? How I can tell my users that this is the right way for the app to continue working? Also I know there will be special permission in Android 11 for some apps to access the full storage but I don't know if my app will be accepted in this program. Regards!

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

    How to write good applications in Android?

    Posted: 29 Apr 2020 05:31 PM PDT

    I want to know resources where I can learn to create apps that are well coded, maintainable, and readable. How to make something that works well and is efficient. I know it's a very general question but tutorials are either very basic and cut corners on things that wouldn't work on actual apps, or are very specific and only talk about one component or feature.

    As someone who's new, it's very frustrating to not know what the good way of doing something is.

    Any ideas? I need some insight into what to search for. I saw the Android Architecture Basic Sample code and there's honestly too many things there which I do not know which makes it hard to understand.

    Let me give you a toy example.

    • There's a group of Zoos and each one has its own animals. Each animal can be of a type, like mammal, reptile, etc.

    • My very simple app is static: the list of zoos and animals is fixed and no cloud or database is needed to retrieve them.

    • There should be a main activity which shows all the animals of the Zoo you're located in. Here you can choose between the animal types as well if you wish.

    • There should be another activity which let's you manually change some things, including the zoo you want to see.

    So the questions are:

    • Where would the dataset be saved? I assume there should be decoupling between UI and state.

    • How would the main activity get the data?

    • When we change the Zoo, how would the main activity be notified that the list should show another set of animals?

    I could go on and on, but I think these three are good

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

    Question: AssistedInject + Multibind + Workmanager + Feature modules?

    Posted: 29 Apr 2020 01:09 PM PDT

    Hi

    I have the following situation:

    The current application is a single module with feature packages, uses WorkManager. I set up it with `WorkerFactory` and `AssistedInject` and adding different workers `IntoMap` using `Dagger`. Individual `Workers` are located in feature packages with their module. Initialization is done in `Application class` via custom worker factory. Pretty common usage as seen in other examples.

    Problem:

    I started to refactor to actual Gradle feature modules. I have `app`, `core`, `features1`, `features`... app requires `core` and other features. and each feature only requires core. uses component dependency, not the subcomponent pattern.

    | ------> [app] | ^ | [feature1] (here is actual worker, `IntoMap` and `usecase`) | ^ <- ----- [core] (WorkerFactory) 

    problem is that in Application class I immediately need WorkerFactory class but it can't create workers because actual Worker is in feature module and component is not initialized yet. If I move everything to `core`, worker module in `core` couldn't see `usecase` dependency which should be injected, because it' in a dependent module.

    I did a lot of searches but couldn't find anything useful. Am I doing something wrong or missing?

    Thanks in advance.

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

    Hey android app crashes giving me a "Attempt to invoke virtual method 'int org.json.JSONArray.length()' on a null object reference". I am trying to do a nearby search for restaurant. here is the method

    Posted: 29 Apr 2020 03:50 PM PDT

    public List<HashMap<String, String>> parse(String jsonData) {
    JSONArray jsonArray = null;
    JSONObject jsonObject;
    try {
    Log.d("Places", "parse");
    jsonObject = new JSONObject((String) jsonData);
    jsonArray = new JSONArray(jsonObject.getJSONArray("results"));
    } catch (JSONException e) {
    Log.d("Places", "parse error");
    e.printStackTrace();
    }
    return getPlaces(jsonArray);
    }

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

    Room Entity's data is stored correctly but is retrieved as null

    Posted: 29 Apr 2020 09:25 AM PDT

    I'm building a weather app using MVVM and i'm using the Places SDK & Room to store a location that the user selects using an AutoCompleteTextView.

    When the app launches each time, i'm prompting the user to use the AutoCompleteTextView and select a location. When that happens, i'm using my Repository class to store that location data using Room and then proceed to use it to fetch new weather data. My issue as described in more detail in this stack post, is that although the Database Inspector shows that the fetched weather data is ssuccessfully stored in my Room db, when i try to fetch the weather data using it, i get a NPE saying that the stored location is null. Can somebody help me figure out what the issue is with the code provided on the attached stack post? I've been stuck at this issue for about a week now and can't seem to find the root cause.

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

    How do I make a appChooser to choose from email apps? (NOT SEND)

    Posted: 29 Apr 2020 03:13 PM PDT

    I can only find information on how to send an email, I'd like to just open email apps, not send an email. Thanks in advance!

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

    WorkManager 2.4.0-alpha03 is now available.

    Posted: 29 Apr 2020 11:27 AM PDT

    WorkManager now officially supports RxJava3. Here is the release notes:

    https://developer.android.com/jetpack/androidx/releases/work#2.4.0-alpha03

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

    Modify RecyclerView adapter to show different layouts

    Posted: 29 Apr 2020 10:27 AM PDT

    I'm trying to create a survey and display the questions in a recyclerView, but all the question types have different layouts, how can I display the correct layout depending on the question type?

    The questions have a method called getResponse_type_id which returns a number between 1-4 which is the type of question. How should I modify the adapter to make this possible.

    My adapter right now is super basic, this is what I have

    public class SurveyQuestionsAdapter extends RecyclerView.Adapter<SurveyQuestionsAdapter.QuestionViewHolder> { private ArrayList<SurveyQuestions> mQuestionList; public static class QuestionViewHolder extends RecyclerView.ViewHolder { public TextView questionTitle; public TextView questionOptional; public TextView questionInstructions; public QuestionViewHolder(@NonNull View itemView) { super(itemView); //these are shared fields in all the question type layouts questionTitle = itemView.findViewById(R.id.question_name); questionOptional = itemView.findViewById(R.id.question_optional); questionInstructions = itemView.findViewById(R.id.question_instructions); } } public SurveyQuestionsAdapter(ArrayList<SurveyQuestions> questions) { mQuestionList = questions; } @NonNull @Override public QuestionViewHolder onCreateViewHolder(@NonNull ViewGroup parent, int viewType) { //this is where the layout gets passed but how can I do it depending on the question type here View view = LayoutInflater.from(parent.getContext()).inflate(R.layout., parent, false); QuestionViewHolder qvh = new QuestionViewHolder(view); return qvh; } @Override public void onBindViewHolder(@NonNull QuestionViewHolder holder, int position) { SurveyQuestions current = mQuestionList.get(position); //I can get the question type here like this current.getResponse_type_id() } @Override public int getItemCount() { return mQuestionList.size(); } } 

    The questions have this info, when sending to the adapter it is a List of questions, below is a single question.

    { "id": 1, "question": "asdf", "instruction": "asdf", "response_type_id": 1, "optional": 0, "num": null, "rank": null, "show_text": null, "survey_question_option": [] }, 
    submitted by /u/msslgomez
    [link] [comments]

    How do you stream audio to and from a phone call?

    Posted: 29 Apr 2020 06:06 AM PDT

    I want to make an app that lets me take and make a phone call from my PC that's on the same LAN network as my phone. I know Microsoft's MyPhone app exists, but frankly, I'm not comfortable with giving them the permissions on my phone and I think it'd be a fun little(?) project to do on my own.

    The closest thing I've found while searching online is this old stackoverflow post saying that it is in fact impossible. But considering the aformentioned MyPhone app exists, I guess this has changed in the meantime.

    Am I also correct in thinking that the best way to stream the audio once I have it over WiFi is using the AudioStream class?

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

    Managing Cookies

    Posted: 29 Apr 2020 09:46 AM PDT

    Hello!

    I have recently started developing my first mobile app and I have a question.

    Where should I put my cookie store? I am using retrofit to make rest requests to my server, should I implement it on the RetrofitClient class (custom) that I created? Should it be on the main activity? How do other activities communicate with it?

    Sorry if its a stupid question but I am having trouble wrapping my mind around it.... Thank you very much!

    EDIT: Do I need to implement a CookieStore AND Interceptors? Is there a better way of doing this?

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

    Shall I use Android Studio Beta for my projects?

    Posted: 29 Apr 2020 07:30 AM PDT

    Hello everyone.

    This question bugging me a lot. I use the stable Android Studio for all of my production level projects. But I also want to get my hands on the latest features early on. So I am thinking to use the beta version (installed side-by-side with stable one) at least for my personal projects.

    Still, I do not want to get blocked because of some bug or issue in the IDE and/or SDK, wait for an updated version with fixes and to continue on my project. I can continue on the stable version until the issue gets resolved. But I think that would be a big hassle because of different versions of plugins & SDKs while going back-and-forth between IDEs.

    So, I want to know your opinion on the same. If you have or are using the beta Android Studio for your projects, tell me how is it? Do you get block very often? Or would you suggest to stick to the stable version only?

    View Poll

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

    How can I fix error: Fatal Exception: java.lang.NoClassDefFoundError

    Posted: 29 Apr 2020 09:13 AM PDT

    How can I fix error: Fatal Exception: java.lang.NoClassDefFoundError

    I constantly get this error in firebase. shows the incorrect method in the screenshot. I didn't understand why he was making a mistake. I don't think there is any error in the line with the method. The purpose of the method is to assign a sharedPreferences data to default values ​​at night. Just that. Thanks in advance.

    https://preview.redd.it/m34ipb267sv41.png?width=1056&format=png&auto=webp&s=c69571de5bc3429c3d8e7a40e94f0135cf230158

     public class AlarmReceiver extends BroadcastReceiver { int notificationID; private SharedPreferences.Editor editor; private SharedPreferences.OnSharedPreferenceChangeListener sharedpreflistener; private SharedPreferences sharedPreferences; private String MAIN_DATA = "com.xxx.xxx.MAIN"; @RequiresApi(api = Build.VERSION_CODES.O) public void createNotification(Context context, String title, String text, String bigtext, int icon, int i, String channelID, int color,int[] saatler,int[] dklar) { Intent myintent = new Intent(context, SplashActivity.class); PendingIntent pendingIntent = PendingIntent.getActivity(context, 0, myintent, PendingIntent.FLAG_UPDATE_CURRENT); NotificationCompat.Builder mbuilder = new NotificationCompat.Builder(context.getApplicationContext(), channelID); NotificationManager notificationManager = (NotificationManager) context.getSystemService(Context.NOTIFICATION_SERVICE); NotificationChannel channel = new NotificationChannel(channelID, channelID, NotificationManager.IMPORTANCE_HIGH); channel.setDescription(channelID); Objects.requireNonNull(notificationManager).createNotificationChannel(channel); mbuilder .setSmallIcon(icon) .setChannelId(channelID) .setContentIntent(pendingIntent) .setAutoCancel(true) .setChannelId(channelID) .setColor(color) .setDefaults(Notification.DEFAULT_ALL) .setWhen(System.currentTimeMillis()) .setContentTitle(title) .setContentText(text) .setDefaults(Notification.DEFAULT_LIGHTS | Notification.DEFAULT_SOUND) .setContentInfo("Info") .setStyle(new NotificationCompat.BigTextStyle() .bigText(bigtext)); notificationManager.notify(i, mbuilder.build()); AlarmHelper alarmHelper=new AlarmHelper(); alarmHelper.helper(context,saatler,dklar); } public void waterDataClear(Context context) { sharedPreferences = context.getSharedPreferences(MAIN_DATA, Context.MODE_PRIVATE); editor = sharedPreferences.edit(); editor.putFloat(SU_KAYIT, 0.0f); editor.putBoolean(SU_DIALOG, true); editor.putInt(SU_ML, 0); editor.apply(); WaterAlarmClear waterClear=new WaterAlarmClear(); waterClear.alarmClear(context); } @RequiresApi(api = Build.VERSION_CODES.O) @Override public void onReceive(Context context, Intent intent) { sharedPreferences = context.getSharedPreferences(MAIN_DATA, Context.MODE_PRIVATE); Bundle extras = intent.getExtras(); notificationID = Objects.requireNonNull(extras).getInt("NotificationID"); if (notificationID == 6) { createNotification(context, context.getString(R.string.tracker_title), trackertxt, trackertxt, R.mipmap.ic_launcher, 6, context.getString(R.string.weight_channel), context.getResources().getColor(R.color.colorhedef), saatler, dklar); notificationID = 0; } if (notificationID == 10) { waterDataClear(context); notificationID = 0; } } 

    Manifest

    <?xml version="1.0" encoding="utf-8"?> <manifest xmlns:android="http://schemas.android.com/apk/res/android" xmlns:tools="http://schemas.android.com/tools" package="com.xxx.xxx" android:installLocation="auto"> <uses-permission android:name="android.permission.INTERNET" /> <uses-permission android:name="android.permission.ACCESS_NETWORK_STATE" /> <uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" /> <uses-permission android:name="android.permission.SET_ALARM" /> <uses-permission android:name="android.permission.WAKE_LOCK" /> <uses-permission android:name="android.permission.REQUEST_IGNORE_BATTERY_OPTIMIZATIONS" /> <uses-permission android:name="android.permission.READ_EXTERNAL_STORAGE" /> <application android:allowBackup="true" android:icon="@mipmap/ic_launcher" android:label="@string/app_name" android:resizeableActivity="false" android:roundIcon="@mipmap/ic_launcher_round" android:supportsRtl="true" android:theme="@style/AppTheme" tools:ignore="AllowBackup,GoogleAppIndexingWarning,InnerclassSeparator,UnusedAttribute" tools:targetApi="n"> <activity android:name=".MainActivity" android:windowSoftInputMode="stateAlwaysHidden"> <intent-filter> <action android:name="android.intent.action.MAIN" /> <category android:name="android.intent.category.DEFAULT" /> </intent-filter> </activity> <receiver android:name=".AlarmReceiver" /> </application> </manifest> 
    submitted by /u/emptyfiles
    [link] [comments]

    How can I add a fade animation to Canvas.drawText()?

    Posted: 29 Apr 2020 09:10 AM PDT

    I'm using canvas.drawText() to display some text on the screen, and want to fade from one text to another as I call the canvas method. How can I accomplish this?

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

    Update object position in database from RecyclerView onMove() method using room

    Posted: 29 Apr 2020 12:50 PM PDT

    Good day!
    I'm having a hard time re-arranging the rowPosition of objects in the database when onMove() method is used. The note object has a PRIORITY Attribute which I tried to update when ever the note is dragged and dropped from the viewHolder.getAdapterPosition() and target.getAdapterPosition(). How do I re-arrange them?

    This is my Room Dao:
    public interface NoteDao {
    u/Insert
    void insert(Note note);
    u/Delete
    void delete(Note note);
    u/Update
    void update(Note note);

    u/Query("DELETE FROM note_table")
    void deleteAll();

    u/Query("SELECT * FROM note_table ORDER BY priority ASC")
    LiveData<List<Note>> getAllNotes();

    }

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

    Does it *critically* matter which frameworks, libraries, languages, architectures, databases, etc, I use for doing Android dev work?

    Posted: 29 Apr 2020 02:51 AM PDT

    The deeper I go into Android dev the more I realize there are multiple methods of doing something.

    For dependency injection I can use Dagger2 or Kodein.

    For setting up an online database I can use Firebase or Heroku.

    For setting up an offline database I can use Room or Realm.

    For the base language I can use Kotlin or Java.

    I can use Synthetic or use ViewBinding to make references to Views in a Fragment/Activity class.

    For the architecture I can go for MVP or MVVM. I mean, I can keep going on and on.

    All choices if used correctly will allow me to develop properly working Android apps. But would it lead me to get alienated in Android job placements just because I prefer using one over the other?

    "Oh, you prefer using Kodein for your dependency injection needs? Sorry we won't hire you. We only use Dagger2 here" I doubt that companies are this picky. Surely I could be trained to use another library easily, as long as I know the core concepts of what dependency injection is in the first place, right? Unless I am mistaken.

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

    Firebase GeoQuery Help

    Posted: 29 Apr 2020 07:44 AM PDT

    So I have been trying for a while now to implement a way in which I can update the user if there are no tradesman found or if there are no tradesman within a maximum radius. So the app basically searches for tradesman available within the Firebase and matches with the closest one based on their latitude&longitude. If none are found within 1 mile, it then increments to 2 and so on.

    What I have been struggling to implement is a way to say if there is no tradesman available within the firebase or if there are no tradesman available within a certain radius so once it increments to say 10 miles stop and return no tradesman found.

    This is the code I have now which searches for the tradesman and increments the radius, but will never stop searching unless I click a button which ends the search, so I need a way to end the search without clicking the button.

    private int radius = 1; // 1 radius (mile or km not sure) private int max_radius = 15; private Boolean tradesmanFound = false; private String tradesmanFoundID; GeoQuery geoQuery; private void getClosestTradesman() { DatabaseReference tradesmanLocation = FirebaseDatabase.getInstance().getReference().child("TradesmanAvailable"); GeoFire geoFire = new GeoFire(tradesmanLocation); geoQuery = geoFire.queryAtLocation(new GeoLocation(customerLocation.latitude, customerLocation.longitude), radius); geoQuery.removeAllListeners(); geoQuery.addGeoQueryEventListener(new GeoQueryEventListener() { @Override public void onKeyEntered(String key, GeoLocation location) { if (!tradesmanFound && requestBol) { DatabaseReference customerDatabase = FirebaseDatabase.getInstance().getReference().child("Users").child("Tradesman").child(key); customerDatabase.addListenerForSingleValueEvent(new ValueEventListener() { @Override public void onDataChange(DataSnapshot dataSnapshot) { if (dataSnapshot.exists() && dataSnapshot.getChildrenCount() > 0) { Map<String, Object> tradesmanMap = (Map<String, Object>) dataSnapshot.getValue(); if (tradesmanFound) { return; } if (tradesmanMap.get("Trade").equals(tradeType)) { tradesmanFound = true; tradesmanFoundID = dataSnapshot.getKey(); DatabaseReference tradesmanRef = FirebaseDatabase.getInstance().getReference().child("Users").child("Tradesman").child(tradesmanFoundID).child("CustomerRequest"); String customerID = FirebaseAuth.getInstance().getCurrentUser().getUid(); HashMap map = new HashMap(); map.put("CustomerRequestID", customerID); tradesmanRef.updateChildren(map); getTradesmanLocation(); getTradesmanInfo(); isRequestFinished(); requestTradesmanBtn.setText("Looking for Tradesman's Location..."); } } } @Override public void onCancelled(DatabaseError databaseError) { } }); } } @Override public void onKeyExited(String key) { } @Override public void onKeyMoved(String key, GeoLocation location) { } @Override public void onGeoQueryReady() { if (!tradesmanFound) { radius++; getClosestTradesman(); } } @Override public void onGeoQueryError(DatabaseError error) { } }); } 

    This has been bugging me for a while as it seems like something pretty simple and straightforward in my head, so any help will relive a lot of stress. Thanks

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

    No comments:

    Post a Comment

    Fashion

    Beauty

    Travel