I need to create an android app where the user info like (name,phone_no,address,personal_note) should be stored in my sql database on submitting. I need a real time notification when the user submits the data. I did some search on how to implement this and found we can use app-php-sql method. Where I can load the php script on my server which deals with the data coming from app and stores it in my SQL database. Is this reliable when there are like 50-100 requests per day ? And how to implement a real time notification on receiving the data in my database?
or should i go with PARSE ? someone suggested me to use parse and that it can handle all these issues and notify me on there dashboard.
Hello,
a26484306 said:
Where I can load the php script on my server which deals with the data coming from app and stores it in my SQL database.
Click to expand...
Click to collapse
I am not sure to understand your question but I will try to answer.
Upload your PHP script on your website. Up to you to decide where you put the file (which folder). The trick is to refer the script URL in your Android Java code.
a26484306 said:
Is this reliable when there are like 50-100 requests per day ? And how to implement a real time notification on receiving the data in my database?
Click to expand...
Click to collapse
50-100 requests per day ? Of course. Imagine your app is used 24 hours per day : 100 / 24 = 4.16 requests per hour ... :good: I think your website will able to accept that.
a26484306 said:
And how to implement a real time notification on receiving the data in my database?
or should i go with PARSE ? someone suggested me to use parse and that it can handle all these issues and notify me on there dashboard.
Click to expand...
Click to collapse
Parse is a good solution.
You can use as well, a Google solution as GCM (Google Cloud Messaging).
Good luck and regards,
I'd say parse
Related
Hi everyone - been doing a search for a small app that records the outgoing call duration and is resettable but can't find one anywhere. Does anyone know of such an app that will run under WM5?
It's just to make life that bit easier as O2 expect you to call (& pay) their Customer Services to get an update on how many of your free minutes you've used at any point in the month. A bit Dark Ages if you ask me!!!
Any help much appreciated. :lol:
the answer seems to lie in the registry....
HKLM/Software/Microsoft/shell/cumulativecalltimers/line_0/
AllCurrent
AllCurrentNumCalls
AllPhoneLifeTime
AllPhoneLineTimeNumCalls
IncomingVoiceCurrent
IncomingVoiceCurrentNumCalls
IncomingVoicePhoneLifeTime
OutgoingDataCurrent
OutgoingDataCurrentNumCalls
Now all we need is some smart person to write us an app that shows us how many minutes of calls we've made (with an option to reset) and how many bytes of GPRS data we've bought....
OffBeatMammal said:
the answer seems to lie in the registry....
Now all we need is some smart person to write us an app that shows us how many minutes of calls we've made (with an option to reset) and how many bytes of GPRS data we've bought....
Click to expand...
Click to collapse
start -> settings -> system -> device information -> Call duration
Will give you outgoing and incoming call duration.
Have a look at MortScript if you want to make a "tool" to display/reset all the values from the registry.
I thing what you need is Phone Dashboard. Google it, download it and see what info it can give, its great
Regards
This (free) script displays the values from the registry and asks if you want to reset "current" counters.
I can't find the "OutgoingData" counters in my registry. So I can't help you with GPRS counters.
I haven't tested it much, but it seems to work on my K-jam, ROM version 2.16.9.1.
It does mess with the registry so I suggest making a backup first if you want to try it. You also need to install MortScript:
http://www.sto-helit.de/modules/edito/content.php?id=38
search for DKToday. It counts your outgoing minutes and sms and can be set to reset on a specific date. For me, my free minutes are calculated per the 11th of each month, so each 11th of the month my timer will be set to 0. The prog can be found in the forum, just do a search on it.
Show call and data timers (from registry)
a small mod from the great script above...
this one doesn't do a reset (as I didn't want to loose data) but does display the data counts from the registry as well.
don't know if it's specific to the i-mate K-JAM AKU2 ROM and only tested on my unit, but have fun!
Re: Show call and data timers (from registry)
OffBeatMammal said:
a small mod from the great script above...
this one doesn't do a reset (as I didn't want to loose data) but does display the data counts from the registry as well.
don't know if it's specific to the i-mate K-JAM AKU2 ROM and only tested on my unit, but have fun!
Click to expand...
Click to collapse
I want data counters too!
Are you using the same rom as me (I-Mate 2.16.9.1)? I still can't see the data counters in my registry. And I DO use gprs every day.
Have you installed something else that counts gprs trafffic and updates these registry values??
I would like an SMS counter too. I tried searching for it in the registry but couldnt find any.
Maybe I have to change to something else, like DKtoday or something, but i really do not like today plugins or programs that need to run continously.
very strange.
I've not installed any other third party apps to count GPRS data (was looking for a freebie!) or done anything out of the ordinary that I can remember since upgrading.
Do you have your machine set for ActiveSync / Direct Push? I use that as well as browsing the web. On the subject of trawling the web it appears that the CumulativeCallTimers is one of the reigstry keys which can be controlled by OEMs but as the phones are the same I'm surprised if there is any difference
ROM is 2.16.9.1 WWE (ExtROM 2.16.9.101)
What happens if you add the registry entries (BTW - what happens if you run my version of the script that looks up the entries - I've never used MortScript before so wasn't sure... I love Terry Pratchet as well!)
OffBeatMammal said:
very strange.
Do you have your machine set for ActiveSync / Direct Push?
[...]
(BTW - what happens if you run my version of the script that looks up the entries - I've never used MortScript before so wasn't sure... I love Terry Pratchet as well!)
Click to expand...
Click to collapse
I tried creating the registry keys, setting the values to 0. Browsed a bit via gprs but the values don't change...
Maybe its the push mail (that i don't use) that creates these values. Can you check if the values increase if you use internet explorer, or if it's only measuring the push-mail-data?
Your code looks good to me, I've just started using MortScript too, because i wanted an easy way to keep track of what i call "real" uptime, average uptime and total number of reboots.
Where does Terry Pratchet fit in?
the values increase with web browsing as well as the DirectPush mail (did a quick Google search and the numbers went up), only on GPRS not on WiFi (so although it says Data it's not getting confused)
The Terry Pratchet reference... Mort was a character (and the title) of one of his Discworld books. Sto-Helit is the name of a city on Discworld (where Mort, who becomes Deaths apprentice ends up as Duke). They are very funny books
I see. Thanks for testing it.
I dont have an exchange server that supports direct push, so i don't know how to get the counters "started" on my device.
Maybe I should read some of his books then - an ebook perhaps
I found a free pushmail exchange thing (mail2web.com) and set up an account, so now I have my push email set up on the phone too. But still no data counters. I've given up
how have you set this up? read the page, but it is not clear to me how it enables push email...
I didn't think the maIl2web solution was the new DirecgtPush email (as supported by the AKU2 ROM upgrade), more the 'old-school' SMS notification service.
The best (ie has a free 14 day trial and is good value) one I've found for small users without their own Exchange solution is 4SmartPhones (which is who I'm using - I push my normal mail to their hosted Exchange and it appears in my PC Outlook and on my phone by magic THey also have step-by-step instructions to make setup really easy
OffBeatMammal said:
The best (ie has a free 14 day trial and is good value) one I've found for small users without their own Exchange solution is 4SmartPhones (which is who I'm using - I push my normal mail to their hosted Exchange and it appears in my PC Outlook and on my phone by magic THey also have step-by-step instructions to make setup really easy
Click to expand...
Click to collapse
You are probably right, I will try 4smartphones as soon as their webpages start working...
"Firefox has detected that the server is redirecting the request for this address in a way that will never complete."
weird, they've been pretty well behaved in IE.
Try this link or just type in www-dot-4smartphones-dot-net and see if that behaves!
OffBeatMammal said:
weird, they've been pretty well behaved in IE.
Try this link or just type in www-dot-4smartphones-dot-net and see if that behaves!
Click to expand...
Click to collapse
Don't work. Not in IE, not in PIE, not in Firefox...
it's weird... it seems on the first visit to the link it writes a cookie and then redirects to the wrong place, second visit works (at least that's what seemed to happen when I just tried in PIE)
the raw link (to the homepage) should work fine as that's not doing any redirects that I can see
I found something called http://www.4smartphone.no and set up a test account there. Could this be the norwegianified version of "your" 4smartphone service?
They say its "Direct Push", and i can start/stop it using the "direct push" button in the comm manager. Does this mean it's "real" direct push?
This did not do anthing to my data counters though. still at 0...
So there must be something else that starts these counters...
Have you set up the gprs connection by using the imate "select your provider" thing, or have you set it up manually?
Hi there
I've spent a fruitless 6 hours searching the net trying to find any code examples to simply read messages from the Inbox for SMS/MMS inside managed code, i.e. a VB.NET application. (CF2) I want to:
- enumerate messages from the outlook (SMS) inbox
- read the message body and sender's number
So far... ...aside from "Mobile InTheHand" (which I cannot afford), I have found no other code examples of how to do this. I have found some cemapi.dll code, a mapirule.dll example, both of which were built for earlier versions of WM5 - I am using WM6 professional so they won't compile in Vis Studio 2005.
please please please PLEEEEEESE could somebody provide me with a code example. Has anybody built a free mapirule wrapper? I notice that the namespace is there inside the microsoft.windowsmobile.pocketoutlook model, yet the functionality is not included in Compact Framework 2.0. Honestly, anyone would think Microsoft were stalling to avoid doing inTheHand out of their money! Ha! It's not like InTheHand was written by anyone at Microsoft or something... ....oh, wait, hang on, it is.
Carlos
PS: Some extra notes:
1. NO, you cannot do this with OpenCFNet. It lets you intercept messages, but this is not what I want to do.
2. NO, this is not included in the InTheHand community (free) edition.
short answer: you can't.
longer answer: interrop with cemapi. It was so easy and working so well that I rewrote the app in C++.
carlosp_uk said:
Hi there
I've spent a fruitless 6 hours searching the net trying to find any code examples to simply read messages from the Inbox for SMS/MMS inside managed code, i.e. a VB.NET application. (CF2) I want to:
- enumerate messages from the outlook (SMS) inbox
- read the message body and sender's number
So far... ...aside from "Mobile InTheHand" (which I cannot afford), I have found no other code examples of how to do this. I have found some cemapi.dll code, a mapirule.dll example, both of which were built for earlier versions of WM5 - I am using WM6 professional so they won't compile in Vis Studio 2005.
please please please PLEEEEEESE could somebody provide me with a code example. Has anybody built a free mapirule wrapper? I notice that the namespace is there inside the microsoft.windowsmobile.pocketoutlook model, yet the functionality is not included in Compact Framework 2.0. Honestly, anyone would think Microsoft were stalling to avoid doing inTheHand out of their money! Ha! It's not like InTheHand was written by anyone at Microsoft or something... ....oh, wait, hang on, it is.
Carlos
PS: Some extra notes:
1. NO, you cannot do this with OpenCFNet. It lets you intercept messages, but this is not what I want to do.
2. NO, this is not included in the InTheHand community (free) edition.
Click to expand...
Click to collapse
I was looking for the same thing and wanted to write my own MAPI wrapper, but after searching and asking on lots of forums i didn't find a solution, but i found this @ every developers' best friend CodeProject...
http://www.codeproject.com/KB/cs/PocketPCandSmartphone.aspx?msg=2337210
this articles shows you how to read all the message stores, populate their folders, read messages and the developer is improving it...
hope that helps you...
oh btw the sample (and the dll) are written in C#, but the sample is straight forward so u can easily change it to VB.Net
Hi,
I'm looking fo a software that backup the SMS in real time, not scheduled once or twice a day
I mean that the SMS received and sent are stored elsewhere from the poutlook as they arrive
Is there a way to do this ?
I don't know if such a tool exists; however how much cpu and battery time would this take if it was constantly backing up in real time?
WB
I don't think that it would use more that other app'
I mean it stay in memory load as a service or something like that and when an SMS is sent or received (a new entry in the database) the software will just store it in a text file a something like that
I don't mean a complete backup but one by one...
For a simple implementation have a look at this:
http://www.cjcraft.com/blog/2008/06/17/30DaysOfNETWindowsMobileApplicationsDay16SMSLogger.aspx
I'm currently implementing something similar but instead of putting the sms into a text file (like in this example) I'm storing them into a sql table so that further analysis can easily be made (sort/count by sender, ...).
Some feature like autostart after reset would also be nice.
Any other ideas?
P.S.: Unfortunately I still haven't found a way to also get notified when sending messages.
heliosdev said:
For a simple implementation have a look at this:
http://www.cjcraft.com/blog/2008/06/17/30DaysOfNETWindowsMobileApplicationsDay16SMSLogger.aspx
I'm currently implementing something similar but instead of putting the sms into a text file (like in this example) I'm storing them into a sql table so that further analysis can easily be made (sort/count by sender, ...).
Some feature like autostart after reset would also be nice.
Any other ideas?
P.S.: Unfortunately I still haven't found a way to also get notified when sending messages.
Click to expand...
Click to collapse
I know that the sms data are stored in the cemail files in the root of the device.
Scanning the database (it's a database) every x minutes.... (to heavy I think)
There is no event that is catchable like RS232 connect, syncronisation, alarme.... ???
heliosdev said:
For a simple implementation have a look at this:
http://www.cjcraft.com/blog/2008/06/17/30DaysOfNETWindowsMobileApplicationsDay16SMSLogger.aspx
I'm currently implementing something similar but instead of putting the sms into a text file (like in this example) I'm storing them into a sql table so that further analysis can easily be made (sort/count by sender, ...).
Some feature like autostart after reset would also be nice.
Any other ideas?
P.S.: Unfortunately I still haven't found a way to also get notified when sending messages.
Click to expand...
Click to collapse
Hi, can you please share your sql table create/read/update code in VB .NET?
For sent sms notification, there is a way to do this using inthehand api's professional editon.
The Idea is an Application that Autoposts to a Web Page the Current Time, Lat, Long etc to a persons personal Web Handling page....
Thoughts for Preferences Would be something like
FORM FIELDS
Send Lat as: <LAT>
Send Lon as: <LON>
Send Time as: <TIME>
Send Elev as: BLANK
etc., etc.
SEND CRITERIA
Distance Changes >: <10> <mi>
Time Increments : <30> <min>
Dont send if Distance not met in time <checked>
Resend Later if Data Send Fails <checked>
WEBADDRESS
Send to: <http://gis.mymapsite.com/Upload.cfm>
Send as: Form <unchecked> or URL <checked>
The concept is that it sends out on a timed, distance, or time/distance combo bases to this site your URL Position so coders Code write their own server side code to log this data or do whatever with it.
this example would look like http://gis.mymapsite.com/Upload.cfm?LAT=45.6789&LON=-90.45679&TIME=10162008
I've been web app programming for so long that i'm not sure I could just pick up VB as fast as I'd like...if somebody likes this App and is willing to tackle it I will donate both time and money...if Not could somebody tell me What i need to get started programming this myself i.e. Programming apps, SDKs etc...I dont have any Visual tools...so what would be the cheap and easy start?
flipper44 said:
The Idea is an Application that Autoposts to a Web Page the Current Time, Lat, Long etc to a persons personal Web Handling page....
Thoughts for Preferences Would be something like
FORM FIELDS
Send Lat as: <LAT>
Send Lon as: <LON>
Send Time as: <TIME>
Send Elev as: BLANK
etc., etc.
SEND CRITERIA
Distance Changes >: <10> <mi>
Time Increments : <30> <min>
Dont send if Distance not met in time <checked>
Resend Later if Data Send Fails <checked>
WEBADDRESS
Send to: <http://gis.mymapsite.com/Upload.cfm>
Send as: Form <unchecked> or URL <checked>
The concept is that it sends out on a timed, distance, or time/distance combo bases to this site your URL Position so coders Code write their own server side code to log this data or do whatever with it.
this example would look like http://gis.mymapsite.com/Upload.cfm?LAT=45.6789&LON=-90.45679&TIME=10162008
I've been web app programming for so long that i'm not sure I could just pick up VB as fast as I'd like...if somebody likes this App and is willing to tackle it I will donate both time and money...if Not could somebody tell me What i need to get started programming this myself i.e. Programming apps, SDKs etc...I dont have any Visual tools...so what would be the cheap and easy start?
Click to expand...
Click to collapse
Look here: http://forum.xda-developers.com/showthread.php?t=340667
I do need something Diff but That is a Freakin Awesome App
As soon as Alltel has "MY" Diamond in Stock I am so there with that Tool.
My problem is I Want to use my Own code and my Own Geospatial Database for this so i really just need a very tamed down tool for what im thinking...
...I suppose when i get the chance I could see how the submit works and tame it from there and junk his server code for mine...
THANKS FOR THAT POST...I LOVE THE APP
HI,
On my iphone I had an app for my O2 that allowed to me see how many messages and how much call time I had used, and how much was remaining. Is there something similar for the HD2?
Cheers
snerkler said:
HI,
On my iphone I had an app for my O2 that allowed to me see how many messages and how much call time I had used, and how much was remaining. Is there something similar for the HD2?
Cheers
Click to expand...
Click to collapse
This would be something that O2 would need to develop as it would be accessing secure servers on their part to look at your account.
For this reason you may be better of directing the question to them, on their forums.
As far as I'm aware not a single operator has this kind of application on WM (feel free to prove me wrong).
jrrigney said:
As far as I'm aware not a single operator has this kind of application on WM (feel free to prove me wrong).
Click to expand...
Click to collapse
Not an application as such, but Orange do offer this as part of their 'Orange World' website, where you can access your account details including usage and call data. Not always as up to date as it might be though!
NeilM said:
Not an application as such, but Orange do offer this as part of their 'Orange World' website, where you can access your account details including usage and call data. Not always as up to date as it might be though!
Click to expand...
Click to collapse
Sorry I forgot that this is true, in fact i beleive all operators have similar websites where you can check your balance. However as for a seperate application (as specified) i don't think you'll find it.
I would hypothesize that it would be because of security implications and the fact that anyone can install anything on their WM phone making it very suseptable to attacks.
I agree The Orange World thing is linked to the SIM card I think, because putting my SIM in another device still allowed me to access my account details though the OW link that gets created automatically in PIE.
[Sorry Toby- OT ]
jrrigney said:
.
I would hypothesize that it would be because of security implications and the fact that anyone can install anything on their WM phone making it very suseptable to attacks.
Click to expand...
Click to collapse
Ok, I didn't realise that. I'm guessing that accessing my online banking from my HD2 is not a good idea then?
It should be OK as long as it's still using https to connect. There have been a few questions about browsers like Opera, Skyfire etc that use intermediate servers to deliver your content, and whether they pose any security threat, but they've not been answered with any great conviction.
In general terms however, the WM platform is currently not susceptible to trojans and malware that can log your keystrokes so is inherently safer than mainstream PCs
Just send a blank text message to 21202
Neville.Holland said:
Just send a blank text message to 21202
Click to expand...
Click to collapse
Thanks, is that a free service?
It is free however it's only updated once a day so if you had 50 text's left at the beginning of the day you can't try keep track through the day you'll just have to keep an eye on it yourself till the next day. Not sure what time it's updated but guess around midnight so it can log all of your sent messages that day.
AvRS said:
It is free however it's only updated once a day so if you had 50 text's left at the beginning of the day you can't try keep track through the day you'll just have to keep an eye on it yourself till the next day. Not sure what time it's updated but guess around midnight so it can log all of your sent messages that day.
Click to expand...
Click to collapse
Ok, thanks