Click here to Skip to main content
15,881,803 members
Please Sign up or sign in to vote.
1.00/5 (3 votes)
See more:
Hello everyone,
I am android developer.I developed one application . in that application every data comes from SQL server but because of that my application is getting too slow. how to handle this? please help me. Thank u in advance.

What I have tried:

What i try for this ? please help. i don't know what to do
Posted
Updated 4-Jul-18 14:27pm
Comments
[no name] 4-Jul-18 2:44am    
Please show us what you have tried. We can't answer a question like this.
Mohibur Rashid 4-Jul-18 3:00am    
What is happening? Query too slow? Network slow? data too big? application processing the data is too slow?
Member 13809462 4-Jul-18 3:04am    
data too big
Mohibur Rashid 4-Jul-18 4:07am    
If possible do the major calculation in the server. If data is big it might be wise to do major calculation in the server side. Think about a 3 Tier application.
Member 13809462 4-Jul-18 5:11am    
can i do it using data synchronization?

1 solution

As @CHill60 said, it is difficult for us to give you idea how to solve this problem, since we are not familiar with your requirement, architecture. You can consider few issues as solution:
1. Paging. Splitting data in smaller chunk and send next chunk when user request. Example of user request can be 'scrolling down' or 'scrolling up', also caching up data in Android device.
2. As I have suggested before do heavy processing can be done in server side.
---------------------      --------------------      --------------------
|                   |      |                  |      |                  |
|  Data tier        |-----\|  Application     |-----\|  Presentation    |
|                   |-----/|  tier            |-----/|  tier            |
|___________________|      |__________________|      |__________________|

Please take a look at the link that well describe this: Three-tier architecture - ManagementMania.com[^]
3. Redefine and optimize what is absolutely necessary for your mobile application.
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900