• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Paul Clapham
  • Tim Cooke
  • Ron McLeod
  • Liutauras Vilda
Sheriffs:
  • Jeanne Boyarsky
  • Devaka Cooray
  • Junilu Lacar
Saloon Keepers:
  • Tim Holloway
  • Carey Brown
  • Stephan van Hulst
  • Peter Rooke
  • Mikalai Zaikin
Bartenders:
  • Himai Minh

DestroyApp() and notifydestroy()

 
Ranch Hand
Posts: 129
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi Folks,
I am very confused in two things.
1) Can we stop user to exiting Game when he/she accidently press Red Button (Exit Button)
2)or if user press accidently Red Button(Exit button) then at next time start i want to start with Game Menu and in that Countinue should be selected. How can i able to know on start that application was exited properly on by accidently.

please help
Thanx

 
Greenhorn
Posts: 8
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
hi,
i am not familiar with MIDP(i am working with CDC profile), but I can give you some general idea, perhaps it helps you out.
To give the continue option,You can just save a flag to keep track wether or not the application was normally terminated.
The value for this flag can be saved and loaded in some text file or cookie(if supported) or what ever user personalization mechanism you choose.
-iftikhar
 
vishwas bhatt
Ranch Hand
Posts: 129
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi Iftikhar,
I was thought for the same ...but some how in MIDP i don't find this approch
good. I know that there is some other way but don't know which way.

thanx for your prompt reply.
 
Replace the word "snake" with "danger noodle" in all tiny ads.
Thread Boost feature
https://coderanch.com/t/674455/Thread-Boost-feature
reply
    Bookmark Topic Watch Topic
  • New Topic