Skip to main content
Filter by
Sorted by
Tagged with
0 votes
0 answers
59 views

Android provides the framework to get on device information about calendars, that I can used to see the calendars and events that I've created in Google Calendar. fun getUpcomingEvents(calendarId: ...
Andrew's user avatar
  • 3
1 vote
0 answers
526 views

I am currently developing an Android application using Kotlin and need to implement data synchronization between my app and a server. I want to achieve the following functionalities: Backup Data: ...
codophile's user avatar
0 votes
0 answers
136 views

I want to display my application name and icon on the user contact details like whatsapp icon.I will try to syncAdapter for this purpose.But i can not get in output.If anyone can you help me? ...
NekoSenpai's user avatar
2 votes
0 answers
90 views

I m trying implement code to show my application in native Contacts app like WhatsApp, Skype and other calling app. So user can user my application instead of native Dialer app. I tried to implement ...
Vivek's user avatar
  • 25
0 votes
2 answers
210 views

My app syncs contacts with a custom server, with a lot of custom properties. Because of that, it has a built-in contact editor for its own contacts, and I don't want the native Contacts app to allow ...
user496854's user avatar
  • 6,839
0 votes
1 answer
108 views

I have created a sample app here: https://github.com/lukewo/AndroidSyncApp Is there a way to allow the SyncAdapter to run after the app has been put into a force stopped state or is this not possible ...
Luke Worthington's user avatar
1 vote
1 answer
64 views

What is the usefulness of having Service inherit from Context if it does not use it? For example from the android docs for sync adapter we see: public class SyncService extends Service { // ...
Jim's user avatar
  • 4,529
0 votes
1 answer
149 views

I've trying to acquire changes from android media storage. I've created GallerySyncAdapter with next resource: <?xml version="1.0" encoding="utf-8"?> <sync-adapter xmlns:...
Alexey Nikitin's user avatar
1 vote
1 answer
121 views

I want to sync the data with server between 12 am - 6 am only. I have solutions like WorkManager and sync adapter at my disposal. But some manufactures put restrictions on these work managers and ...
karan vs's user avatar
  • 3,404
2 votes
0 answers
318 views

I am building a Messaging Application Exactly Like WhatsApp, The Technologies I have used are Socket.io, FCM, Node.js, MongoDB. Until now I have achieved Chatting and Notification functionality But ...
Danish Khan's user avatar
1 vote
1 answer
525 views

For my chat app I am looking for a good way to sync messages while the app is in background. At the moment I have a websocket. When the app comes to foreground, messages get synced. This makes the app ...
NoobieNoob's user avatar
1 vote
1 answer
396 views

I have some critical data to be synced with the server every half an hour or so. I tried using WorkManager but turns out that it cannot run reliably even if I have REQUEST_IGNORE_BATTERY_OPTIMIZATIONS....
Anand Goswami's user avatar
6 votes
0 answers
153 views

The problem is as follows. I have a working SyncAdapter and ContentResolver setup. The problem that SyncAdapters onPerformSync is not triggered happens when I have wifi turned on but the wifi does not ...
Tadej Vengust's user avatar
1 vote
0 answers
383 views

I'm having a tough time figuring out why do I observe InterruptedExceptions in the SyncAdapter#onPerformSync method. Brief intro My project originally contained only Java code and had a working ...
NewestUser's user avatar
  • 3,270
1 vote
1 answer
896 views

I want to know that what will be the best approach between Android sync manager and Work manager for doing background related periodic task? Is there any difference in performance?
Hammad Ali Khan's user avatar
1 vote
1 answer
934 views

I want to enable auto sync in account settings in my app programmatically. I've set up the SyncAdapter, declared it in manifest, I added account and after this action I tried: ContentResolver....
Alexey Nikitin's user avatar
0 votes
0 answers
140 views

I am developing an offline-first app that uses a SyncAdapter to load the data to a webserver. Basically, the data is saved to a local SQLite database using greenDao library. Everytime data is added or ...
Apri's user avatar
  • 1,635
1 vote
0 answers
159 views

I have scheduled a sync using SyncAdapter that runs for every 1hour. Post the first successful sync (time t1), I closed the app. After one hour, the sync had been canceled by SyncManager and did not ...
Harini S's user avatar
  • 563
5 votes
1 answer
3k views

I wanted to sync my local DB with my server. In Android we have sync Adapter that does the work and make life easier. I would wonder if we have something similar in Flutter or how can I do that in ...
vikas pandey's user avatar
0 votes
1 answer
65 views

I'm developing an app which contains updating profile picture. What I'm doing is the following: I'm storing the user's profile URI using sharedPreferences, and when the user updates their profile ...
Fahima Mokhtari's user avatar
13 votes
2 answers
2k views

I have data stored locally in sqlite. I have a remote MySql server. In android I could setup SyncAdapter to handle the syncing between the localdb and the remotedb. When a record is saved locally ...
user3718908x100's user avatar
0 votes
0 answers
156 views

I implemented AbstractThreadedSyncAdapter in Android for sync data with the server. But Android prevent less than 15 min period for the automatic sync in API > 24. How can I implement shorter sync ...
Morteza Taghizadeh's user avatar
3 votes
0 answers
268 views

I have use sync adapter for data synchronization and make code for periodic sync in 5 minutes interval but onPerformSync() method not called in this interval on android os version 8 & 9 & mi ...
Mayur Viras's user avatar
0 votes
1 answer
525 views

I have use-case in my app where in for every minute lot of data gets stored in local database from a Producer thread in my app. Now i need a Sync Thread which independently checks local database for ...
SRBhagwat's user avatar
  • 1,531
0 votes
1 answer
184 views

In an android app, I added a custom row to contact details with a custom mimetype to open my app on a specific activity. It works well if I do it to one contact, but if I try to add it to all my ...
Thought's user avatar
  • 5,916
1 vote
0 answers
156 views

I'm using Room Persistence as a database in my project. For using Android SyncAdapter, I have to use ContentProvider to access the database. Now after a few weeks, I see database is locked (code 5) ...
Morteza Taghizadeh's user avatar
0 votes
0 answers
145 views

I am working on an application which allows you to create a contact in the app and you can export it to native contacts DB using contact provider and also i am syncing my contacts to a server using my ...
alphaguy's user avatar
  • 538
4 votes
0 answers
417 views

I have an app that allows users to sign in with google account. A user may be logged in with same account on multiple android devices at the same time. The app on these devices maintain a local ...
Anirudh Gupta's user avatar
1 vote
1 answer
264 views

I have an application which has it's own sets of contacts which is coming from a server. I am exporting this contact to the native contacts database. So that i can access it from the phonebook. ...
alphaguy's user avatar
  • 538
1 vote
0 answers
360 views

I'm trying to create an Android Sync Adapter by following the Android Guides here. However, it is returning the following error: Caused by: java.lang.SecurityException: uid 10081 cannot explicitly ...
Tarcisiofl's user avatar
0 votes
0 answers
67 views

I have an Android Sync adapter to push the local data to server using volley request. I am using a integer variable lastid for checking that last synced data row. Is it okay to use a variable in ...
irfan's user avatar
  • 869
1 vote
0 answers
194 views

I use sync adapter to sync local database with server database. Request is called when device`s data changes to save changes on the server. It can be done when device has no network connectivity. ...
A.Sokol's user avatar
  • 11
0 votes
2 answers
1k views

I've implemented a contacts app, and I would like my application's contact names to be displayed in the device's call log history (Phone app) in case I receive/make a call to these numbers. How could ...
Fivos's user avatar
  • 568
0 votes
1 answer
48 views

I am trying to show multiple rows as my app also support chat and call services. I want to show same like whatsap is doing as shown in below image. I have implemented the sync adapter and all the ...
Ahmad Izaz's user avatar
0 votes
1 answer
64 views

Yesterday I tested my app in some Virtual devices in Genymotion, and I realized some times, App sends infinite sync requests to the server on some devices (all of them were API<21). What's the ...
Morteza Taghizadeh's user avatar
0 votes
1 answer
290 views

I need to refresh my RecyclerView after the SyncAdapter finish a task, When I click some item from my RecyclerView I send the data to a Webserver, my server returns some data and save it in a local db ...
leoLR's user avatar
  • 486
1 vote
1 answer
76 views

If i close app(System.exit) and Service can do background task( with "android:process", so called another process). But what if i don't even use Service, what can be next alternative? Thread can not ...
Knowledge Drilling's user avatar
4 votes
0 answers
639 views

I am building a sync adapter for my app where I want to show notification to users after querying for change in the database every 1 hour even if app will be killed. I have created the sync adapter ...
mdadil2019's user avatar
0 votes
1 answer
194 views

can someone explain me why SyncService is destroyed exactly after 120 seconds after it is created? Also strange thing is that SyncAdapter method onPerformSync is still running after SyncService is ...
patonjo's user avatar
  • 462
0 votes
1 answer
337 views

How to cancel SyncAdapter syncing process? ContentResolver.cancelSync() doesn't cancel it. I need it because I sync a thousand contacts (in onPerformSync()) from the app to Android Contact book (...
Kiryl Ivanou's user avatar
  • 1,053
1 vote
0 answers
232 views

I am new to android. And trying to add sync function in my application. I checked the sync adapter to update app server with local SQLite DB. Checked from: https://github.com/codepath/android_guides/...
JYOTIRMAY GHOSH's user avatar
1 vote
0 answers
189 views

Using SyncAdapter and AbstractThreadedSyncAdapter https://riptutorial.com/android/example/32303/sync-adapter-with-every-min-requesting-value-from-server- I have registered receiver in manifest and ...
Erum's user avatar
  • 790
0 votes
0 answers
57 views

I am facing a problem for a week almost I may have downgrade but if it comes with help it does not bother me. I followed a tutorial that allows me to use Android SyncAdapter to synchronize data ...
user avatar
0 votes
1 answer
445 views

I have implemented AbstractAccountAuthenticator as a requirement to use SyncAdapter hower my application is supporting only 1 account at a time. When the user is trying to add another account via ...
antanas_sepikas's user avatar
2 votes
2 answers
2k views

I am integrating my app with android default Contacts application.I would like to show an option "xyz using MyApp" inside every Contacts Detail.I am able to see my app in Accounts Section with an ...
Android Developer's user avatar
1 vote
0 answers
60 views

I have Periodic interval of 60 Seconds for Every 60 Sec Task should be Updated.Sync Adapter works fine when Internet is there but my issue is When Internet is Disconnected Sync Adapter stops ...
Jaichander's user avatar
1 vote
1 answer
752 views

I would like to know if there is a way to list the syncs that are currently active for an android app and where does android store the interval at which these syncs are scheduled? I want to get this ...
user3400887's user avatar
0 votes
1 answer
912 views

I'm creating a Xamarin (android) app that I want to receive a push message and trigger a update in the application, not show a notification. I first tested the OneSignal like this: ...
Large's user avatar
  • 757
-1 votes
1 answer
67 views

I have Content provider and sync adapter in my project. In my project first i'm going to fetch data from server and then i'm storing it in my database sqlite. Now i'm coming to my issue. Actually i ...
Dinesh S's user avatar
  • 139
-1 votes
1 answer
93 views

As mentioned in Android 7.0 changes, apps targeting Android API 24 or higher do not receive CONNECTIVITY_ACTION broadcasts if they declare their broadcast receiver in the manifest. I implement a sync ...
lukaspp's user avatar
  • 1,149

1
2 3 4 5
13