I m developing data Entry type of Application. in this i'm having database problem. when i upload the App to mobile and run, it run's normally but when i restart the Mobile all the data from database is removed.. what should i do to save the data permanently.
If you are using SQLiteOpenHelper object then database will be permanent.Two helper methods onCreate (To create DB when it does not exists) and onUpdate (used when db exists but has different version) are available.
I have a question about the scheduling of RTOS, assume I have 10 tasks, each task consumes 3 ms cpu time.
And each task has the folloing structure:
do task things;
My question is, if there were no interrupts, only tasks exists in the context, is the scheduling rule of RTOS let each task run a whole loop? i.e, from statement1 to statement 100. Assume all tasks have the same priority, and they are started at the same time.
I'm looking at possibly developing an application that pushes emergency alerts to specific users. I've seen a number of solutions available for purchase, but nothing quite fits the entire list of what we want, plus it will have to be cross-platform. So while SMS would be the easiest delivery method, I am unaware of any way to make an SMS message which appears in the method we desire.
Most of the requirements they have are easy enough and are things I have done in the past. The problem I am having is creating alerts that are pushed to the device that override anything else the user is doing, outside of using it to make a phone call. This will be used for true emergencies, not kittens up trees. So not a normal push notification.
Anyone in the US who has a smart phone that lives in an area with inclement weather has likely gotten the alerts from the National Weather Service, advising of tornadoes, floods, etc. Which pop up and take up the entire screen with the alert, information about what is going on, plus make noise until you acknowledge the alert, or a predetermined amount of time has passed. At which point the noise stops but the alert retains focus. Even if the screen goes into hibernation, the alert remains when you turn it back on.
I haven't found any documentation on how to do this. Does anyone have any experience with this level of push alert or any idea where to start looking for how to do so? My luck with Google has provided some examples, but nothing quite right. I want this to be mildly obnoxious, impossible to miss, and require user feedback to go away. We want to make certain the user sees the alert.
Dear Member 9465564
I actually worked in project like you ask and no problem there.
you make the site make DB and try it worked fine..
all you want to do that the mobile must connect to same network with your web server and enjoy.
emm some problem you face the web site re-size in mobile phone devices..
The app needs to connect to an asp.net webapplication
In that case you do not need to connect to the web application's database. Further in a poduction environment nobody is going to expose the database in a such a way that it can be directly accessed over internet. The best way to access the data is to create the web services and access those. Following CP articles will get you started in creating web services.
The endpoint descriptor stored in the device specifies the maximum latency period. For low-speed devices, the maximum latency can be any value from 10--255 ms. For full speed, the range is 1--255 ms. for high speed and SuperSpeed, the range is 125 Ms to 4.096 s in increments of 125 Ms. In addition, a high-speed or SuperSpeed interrupt endpoint with a maximum latency of 125 Ms can request 1, 2, or 3 transactions per interval.
I'm assuming that that capital "M" character is supposed to be the greek "mu" letter, i.e.,
or (I hope I count the zeros properly) 0.000125 seconds.
Somebody tell me yes or no. I think the number is supposed to be 125 MicroSeconds.