Which part exactly are you having trouble with? Are you able to create an activity that displays a (Google) map? If you can't get this far, everything else is pointless. Are you able to add a layer to that map with a point/pin on it? Focus on adding one before bothering with dozens or hundreds. Break this project down into 4-5 smaller projects and handle those incrementally rather than trying to solve the larger project all at once.
"One man's wage rise is another man's price increase." - Harold Wilson
"Fireproof doesn't mean the fire will never come. It means when the fire comes that you will be able to withstand it." - Michael Simmons
"You can easily judge the character of a man by how he treats those who can do nothing for him." - James D. Miles
Focus on adding one before bothering with dozens or hundreds. Break this project down into 4-5 smaller projects and handle those incrementally rather than trying to solve the larger project all at once.
I wish this was more common sense.
There are only 10 types of people in the world, those who understand binary and those who don't.
Hi David ,i have finished reading grib2 file,and also have ideas regarding how to draw isobars ,but i want to know which appproach to follow to draw isobar on google map , either use tile overlays or i can use poly lines to draw isobar , or is there any other better way to do this .
And i already break down the job into small parts , like plotting basic map , downloading grib2 file , reading grib2 file , filter pressure data from grib2 file and plotting pressure as isobars on google maps .
So now i am on my last point of plotting isobar on google maps.
If you have some better ideas or findings related to this ,plz share with me .
Now, I have a problem with a collection IList<>
My project use Web Service and the IList<> is fill with a web service, but when I try to delete one Item on IList<>, I get the error: Error Collection is of a fixed size. I have tried to fix this problem but I still can not. I need help !!!
I have implemented an application with auto update function. When I release new version on my server then application downloads new .apk and it starts an intent to install new .apk file.
That is required.
How about, you keep all of the business logic on your server side and just show the results on the Android application? This way, you won't have to push every fix to the Android application but merely the new features only.
Before installing new version, I want that application should be able to uninstall itself.
That is done by default, your previous application is removed by the Google Play Store and then the latest version is installed. But if your application uninstalls itself then I am not sure, Google Play Store would be happy to install the new version of the application, without user intervention. It would require the user to go to Play Store and install the latest version themselves.
Now I'm thinking to remove all file in Android system's folder reserved to this application, but is it a good way?
Of course, if the data is no longer of user, remove it.
Anyways, have a look here, there is way, where you can download the APK related content later, but that is just for the applications where the content is above 100 MB. APK Expansion Files | Android Developers[^]
The sh*t I complain about
It's like there ain't a cloud in the sky and it's raining out - Eminem
~! Firewall !~
Thank you for repaly. Last days I have made some tests. Now I can recal new intent to unistal my application, after downloading and storing new version in Download folder.
I have found the routine to send Intent for installing the new version.
Here is the code for this two procedures:
Uri packageURI = Uri.parse("package:com.example.nameapp");
Intent uninstallIntent = new Intent(Intent.ACTION_DELETE, packageURI);
Intent intent = new Intent(Intent.ACTION_VIEW);
intent.setDataAndType(Uri.fromFile(new File(Environment.getExternalStorageDirectory() + "/download/" + nomeApp)), "application/vnd.android.package-archive");
startActivity(intent);//installation is not working
But when application executes unistallation, it is arrested and it cant't execute the install procedure (loading II intent).
How can I execute II intent after unistallation? Is it possible? How can I do?
Hi,everyone!!!!Can anyone tell me,or better show me ,how can I retrieve my contacts, shown into a list and when the user clicks on a contact to make a call????Please help.It is very important!!!!Everything i find is a bit old and doesnt work!Thank you all!!!!