I have made an application for my fire department where it will send a text message when we get paged out. The only problem right now is that I have to hard code the numbers of the members in until I learn how to do multiple contact selection and code it in.
For right now, myself and 3 other people have the program but I am constantly adding/deleting numbers. How would I go about adding a button that could check a personal server for an application update? I don't want to put this application on the market for the simple fact that it needs to stay private.
Skullmonkey said:
I have made an application for my fire department where it will send a text message when we get paged out. The only problem right now is that I have to hard code the numbers of the members in until I learn how to do multiple contact selection and code it in.
For right now, myself and 3 other people have the program but I am constantly adding/deleting numbers. How would I go about adding a button that could check a personal server for an application update? I don't want to put this application on the market for the simple fact that it needs to stay private.
Click to expand...
Click to collapse
Why not just read the contact info from a web server? Just update it in one place and the clients get it from there.
Skullmonkey said:
I have made an application for my fire department where it will send a text message when we get paged out. The only problem right now is that I have to hard code the numbers of the members in until I learn how to do multiple contact selection and code it in.
For right now, myself and 3 other people have the program but I am constantly adding/deleting numbers. How would I go about adding a button that could check a personal server for an application update? I don't want to put this application on the market for the simple fact that it needs to stay private.
Click to expand...
Click to collapse
I did that on my own app. It downloads the file from my Sourceforge site, takes the MD5 sum of it, and compares it to its own MD5. It's inefficient because it downloads the entire file before deciding if it needs to update, but it works and all I have to do to update it is change the .apk it downloads.
The relevant .java file in my app can be found here and the pertinent method is the update method starting on line 214. It uses the downloadAndInstall() ASyncTask on line 337, as well. Hope it helps!
Related
Does anyone know if it's possible to look at the call history file so that it could be printed out from the host PC ?
Would be useful when filling out expenses claims to list all calls which were business related.
Thanks
Call history
Im looking for the same thing. A way to printout the call history, does anyone know a way or prehaps the Call history file name?
The file name is clog.db in the databases folder. Unfortunately it doesn't appear that the databases on the XDA can be opened.
here are some options as to which programs on pc may be able to open the file with the db extention
http://filext.com/detaillist.php?extdetail=db&goButton=Go
Thnx al lot crippsa and Rudegar, found the clog.db file and am able to open it with DBView.
Hi boeloe44,
I'm interested to know how you accessed the clog.db file with DBView. Is this the ARANAY DBView program ? (DBView V2) or another PPC application of the same name ?
I've tried the Aranay DBView which runs on the host PC and cannot seem to get it to connect to my XDA to read the DB files.
Any assistance you may be able to give would be appreciated.
Thanks
Alan
why not just copy the file to the pc that should make access a bit easier
crippsa said:
I'm interested to know how you accessed the clog.db file
Click to expand...
Click to collapse
Actualy dbview didn't help as i thought it would. I could only view the clog file with it and nothing else.
I found another program and this one did help me, its dbexlporer.
http://www.phatware.com/hpcdbex.html
Here you can download a trail version
With dbexplorer you can export a database to a comma separated file. This file is accessable and you can copy the file from your ppc to a desktop pc and open it with Microsoft Excel.
This is my way for printing out the call history, hoop it helps you crippsa.
To Rudegar: I was unable to find a way to copy the database to my desktop pc. I think the databases are lock or something.
I use Phone Dashboard for this purpose. It also tracks usage overall with some powerful filters such as free mobile-to-mobile plans, night/weekend, etc.
Thanks boeloe44 - DBExplorer is just the job, exports all the fields including the contact name - just what I'm looking for.
Phone Dashboard is good, but you still cant print the call log on the host PC and also it does not show the contact name. It only shows date, time, number and length. Unless of course the trial edition I'm using has less features that the full copy.
I've noticed that the clog.db only holds 50 entries, does anybody know if this can be expanded ?
Thanks,
Alan
The clog.db file certainly will hold thousands of entries. You can change the deletion settings by going to the phone, then call history, click on the tools menu, call timers...
Thanks Carlos - I've since found that Phone Dashboard can export the log file but it still doesn't contain the contact name, which is a pity as having it saves time by not having to look up the number to see if it was a personal or business call.
Thanks for advising how to adjust the deletion time on the clog database.
Alan
I've passed a comment to Hudson Mobile Technolgies (makers of Phone Dashboard) to include the name field in future releases of Dashboard
That would be a good idea. Another idea I sent him was to include the contact's CATEGORY. Then I'd have "client" in the field and would know to bill it. Right now I simply sort in Excel and search on the known billable numbers. Not as accurate or quick.
Overall though, that product is a very nice one to have on my phone. It has saved me money when I've been close to going over my plan. I don't know how it is in Europe, but US carriers screw you on overage (35-40 cents per minute).
Is a very very simple application that allows users to send sms by certain voip accounts...
Its my first app running in a PDA and i hope you enjoy.
TvMSmS_v0.2.rar
simple but lots of potential!
I must say, i like it a lot! there is also someone else developing something like this, his name is skandler. his app has some nice extra features, but i like the fast startup of your app, and the use of standard contact list.
do you see any way to integrate (hook) into the normal sms send subroutine?
also, it would be nice to call the app from commandline, so you could make a shortcut to send to specific people.
sender info doesn't work.
hi,
i found a small bug, when you use voipbusterpro.com, and you enter your correct number in your "from" field, the sms you sent has your login name instead of your (verified) number. i don't know about other accounts, i only use voipbusterpro.
other than that... it's fast! and simply works!
Hi thanks for reporting it.
Bug fixed and url updated...
Even the small apps have the rights to have their bugs
I already thought to put the app running from contact list in a append menu, but im starting with c# /sdk 6 and my knowledge of this is very small.I will keep looking and see if im capable to do that.
country code bug
Hi there,
i found another bug. when a contact already has the phonenumber in international style, your app still writes the countrycode first and then the number;
so you get +31+316.... in the case of a dutch number
You have right again
I will put a function to check if the number already start with + char or something.
thanks for your reports
As we see a very small app could have a lot of bugs (blame the coder )
Phone number with international code will ignore country code in conf...
always "Network error"
other IP SMS tools work & also any program that needs GPRS or 3G. Only TVMSMS fails.
Any ideas?
When "network fail" error appear is something about you configuration( he cant make the request to your voip account).Could you tell me what is your voip provider that you are using in software?
Thank you for this great app
Is the app available elsewhere as the rapidshare link is broken.
Hi Guys,
i'm working hard on a windows mobile application in visual studio 2008 (vb). What i want is that the application retrieve a table from a website.. based on user input.
for example there is a website.. where a text fiel exist wich is called country. when i'm filling that text field with United Kindom and push the button submit, the website is showing me a list of al the cars in the united kingdom.
But how can i fill that text field in my visual basic application and how can i show the results in my visual basic application?
I hope somebody can help me!
cobrawnl said:
Hi Guys,
i'm working hard on a windows mobile application in visual studio 2008 (vb). What i want is that the application retrieve a table from a website.. based on user input.
for example there is a website.. where a text fiel exist wich is called country. when i'm filling that text field with United Kindom and push the button submit, the website is showing me a list of al the cars in the united kingdom.
But how can i fill that text field in my visual basic application and how can i show the results in my visual basic application?
I hope somebody can help me!
Click to expand...
Click to collapse
Hello,
You may have a look at the HTML source code of the page where you have to fill the text field. Look for the FORM tag (to get the name, the method "post or get" and the redirection url), then find the text field and get its name, now find the submit button and take the name (be sure no JScript are executed for the "onclick"), look also for "input type=hidden" fields!
Now the idea is to send a request to the webserver to act "as if you clicked this submit button". For this have a look at the System.Net.WebClient classes, look the HttpWebRequest and HttpWebResponse objects also.
You'll be able to send a POST of data or a GET with a "long" url (?param=value¶m2=value2... where param is the name of hidden and text fields)
I tell you all this from memory since I'm @work I don't have all my source-code under the hands I'll have a look quickly tonight, I made this kind of thing ; for windows not mobile and in c# but the idea should be the same...
Hope this helps!
Dark
PS: have a look in google for "sample + HttpWebRequest + VB.Net" you may find great stuff there...
Thanks dark! Its working fine with httpwebrequest
I am working in android application something like when i speak some particular word over the phone like "help" the application should automatic send message to desired user that is saved on phone....
but i couldn't figure the right way
so thing is that how can i create such application in short time...
help me...
Do you have any code started? If so what do you have?
Hello everyone,
I've used Samsung's Smart Switch several times, to transfer my data from one phone to another. But Smart Switch always fails to transfer my call blocklist, so I have to type the list by hand all over again.
Is there a better way to do this? Via an android app, or even via adb commands? Without root of course.
Thank you.
sam_son said:
always fails to transfer my call blocklist, so I have to type the list by hand all over again.
Thank you.
Click to expand...
Click to collapse
i edited my quote to show just the part that makes me believe that you dont have these phone numbers saved as contacts on your phone. If that is the case, then android doesnt know to transfer the fact that you blocked those numbers not associated with an entry into your contact list over to a different device. Im betting that if you add a single contact on your old phone and then tack all the blocked numbers on to that number, then itll work. You might have to add a few new contact entries as im unsure about how many phone numbers you can add to each contact, but im sure you get the idea.
also, if youre blocking phone numbers of people who youd rather not see their name on your phone, you can make a contact called whatever you like such as "mortuary" or "FBI 'nobody wants' list" and add whatever numbers you need on to that contact
First of all, thanks for taking the time to answer to my question.
Indeed you are right, I am not talking about the Contacts. This is the blocklist in the Phone app. (in older devices it was called Auto reject list, now its called Block list).
Adding phone numbers in the block list does not require a Contact to exist. Adding numbers in the block list is easy, during an incoming call the "block" button adds the incoming call to the list and rejects the call at the same time.
Unfortunately, Smart Switch does not transfer this list, hence my post.
I will try what you suggest and create contact that contains blocked numbers, though I'm not sure how to transfer them from the Phone app to the Contacts app. Lets see...
sam_son said:
First of all, thanks for taking the time to answer to my question.
Indeed you are right, I am not talking about the Contacts. This is the blocklist in the Phone app. (in older devices it was called Auto reject list, now its called Block list).
Adding phone numbers in the block list does not require a Contact to exist. Adding numbers in the block list is easy, during an incoming call the "block" button adds the incoming call to the list and rejects the call at the same time.
Unfortunately, Smart Switch does not transfer this list, hence my post.
I will try what you suggest and create contact that contains blocked numbers, though I'm not sure how to transfer them from the Phone app to the Contacts app. Lets see...
Click to expand...
Click to collapse
once you have the contact stored, youd just export the vcf file to wherever it needs to go. also, i know the blocked call feature is pretty nice, i rarely use it, but im betting samsung overlooked the passing of blocked caller info with smartswitch. One would have to imagine that the blocked numbers list gets stored somewhere on the phone. Hopefully its not in a root protected folder. Best of luck!
Interesting... the vcf export file is missing some information from my Contacts, like the associated image (the one in the vcf is a small thumbnail only). Seems like this method is even worse than Smart Switch.
sam_son said:
Interesting... the vcf export file is missing some information from my Contacts, like the associated image (the one in the vcf is a small thumbnail only). Seems like this method is even worse than Smart Switch.
Click to expand...
Click to collapse
i cant say that im at all familiar with the contents of the VCF file itself. I would have thought that the VCF file was pretty basic as its been the standard for a decade
Well, version 4 of the standard (RFC 6350) clearly states the use of a URI which may be a remote URL or a base64 encoded string, but does not impose any resolution limits.
For whatever reason, Samsung hides the Contacts high-res photos within a root-accessible directory and the exported VCF file contains a small thumbnail as a base64 encoded string. Of course there is a big loss of other data as well. For example historical logs of all the Contacts. I'm guessing VCF export is not a real solution for moving to a new phone, but a solution for sharing contacts.
Maybe "adb backup" is more effective? hmmm... food for thought
sam_son said:
First of all, thanks for taking the time to answer to my question.
Indeed you are right, I am not talking about the Contacts. This is the blocklist in the Phone app. (in older devices it was called Auto reject list, now its called Block list).
Adding phone numbers in the block list does not require a Contact to exist. Adding numbers in the block list is easy, during an incoming call the "block" button adds the incoming call to the list and rejects the call at the same time.
Unfortunately, Smart Switch does not transfer this list, hence my post.
I will try what you suggest and create contact that contains blocked numbers, though I'm not sure how to transfer them from the Phone app to the Contacts app. Lets see...
Click to expand...
Click to collapse
I didn't migrate for me as well.
I have tried adding the blocked number to my contacts, but it it not migrated to the blocked list on my new phone. Have you managed to migrate it?
JP
Unfortunately, even the latest Smart Switch, does not support migration of the block list
So far, I haven't found a way to backup the list, it has to be done manually.
jpp604 said:
I didn't migrate for me as well.
I have tried adding the blocked number to my contacts, but it it not migrated to the blocked list on my new phone. Have you managed to migrate it?
JP
Click to expand...
Click to collapse
search for "Meus Bloqueados" on play store
App: My Blocked
Used it today. Worked great.
ThePieMonster said:
App: My Blocked
Used it today. Worked great.
Click to expand...
Click to collapse
Yep, I used this too! Works good to backup and restore your phone block list.
https://encrypt-the-planet.com/backup-export-import-your-android-phone-number-block-list/
pooyab said:
search for "Meus Bloqueados" on play store
Click to expand...
Click to collapse
Thanks. I had 470+ numbers, and it would not have been easy to type each one out. I exported and imported. Took 5 minutes in total with every task done. Thanks again.
It doesn't work anymore as it says it's for old android version and doesn't let us download it.
Is there an alternative?
vdbhb59 said:
Thanks. I had 470+ numbers, and it would not have been easy to type each one out. I exported and imported. Took 5 minutes in total with every task done. Thanks again.
Click to expand...
Click to collapse