×
Namespaces

Variants
Actions

Talk:Creating Emergency alerting app ("Dead man switches")

From Nokia Developer Wiki
Jump to: navigation, search

Contents

Hamishwillee - Subedited/Reviewed - what done, not done?

Hi Shai

Thanks for this article - it is kind of cool. I've given it a subedit for English and a little for presentation.

Can you please check if it is still accurate? In particular, in the introduction I want to be completely clear about what this does and does not do. I THINK it does not do the remote activation stuff discussed in the "use cases". The summary indicates that it also doesn't send the SMS (is that correct?) In that case, all it does is "alarm" at this time right?

Regards

Hamish

hamishwillee (talk) 13:23, 16 December 2013 (EET)

Hamishwillee - As a matter of style

Large chunks of code do not make great articles. It is usually better to split code into smaller parts and explain it.

hamishwillee (talk) 01:52, 17 December 2013 (EET)

Shai.i - Hi

Hi Hamish,

The app code and the project is fully functional. i.e. it does send the sms with the location to the list of selected contact you have marked via the settings page. it does not currently also post this alert to Facebook due to time limitation.

The push notification feature suggestion is not planned to be implemented because it will require a server stack and too much complicated for this scope of the article and the app.

shai.i (talk) 02:48, 17 December 2013 (EET)

Report - Hi Shai,

Its really a great article. I could not find any MIDlet class after unzipping DMS folder. Could u or anyone in this forum, please tell me how to run this app in Emulator as I was looking for this functionality in my app. Thanks in advance.

report (talk) 10:03, 22 January 2014 (EET)

Report - Hi Shai & Hamishwillee

Oops I m SORRY , I could see the MIDlet class in unzipped DMS. But Please give me some more explanations on how to run this app in emulator.Thanks.

report (talk) 10:15, 22 January 2014 (EET)

Shai.i - running the project code

Hello,

The DMS zip is the project folder of the app, the project is an eclipse based project so you can run it either in eclipse or in Nokia IDE.

Simply import the project into your workspace and run it via the emulator.

shai.i (talk) 11:44, 22 January 2014 (EET)

Report - Thanks Shai

Thanks for the response. I was trying to do it in Netbeans IDE, Anyway will try the code in Eclipse IDE.

report (talk) 11:56, 22 January 2014 (EET)

Report -

Hi Shai

I import your DMS project into my workspace & tried to run in Eclipse Pulsar IDE. This is the error log I am getting. Please go through it & provide me a solution for the problem.

Thanks in advance.


MIDlet Saved: alert.jad inside Memory card://Midlets folder. MIDlet Saved: alert.jar inside Memory card://Midlets folder. check size of file resource usr/_memory_card/Midlets/alert.jar jarFileName is file:///usr/_memory_card/Midlets/alert.jar com.sun.midp.installer.InvalidJadException

- com.sun.midp.installer.Installer.verifyMIDlet(), bci=67
- com.sun.midp.installer.Installer.installStep7(), bci=570
- com.sun.midp.installer.Installer.performInstall(), bci=175
- com.sun.midp.installer.Installer.installJad(), bci=52
- com.sun.midp.installer.FileInstaller.installJad(), bci=35
- com.sun.midp.installer.GraphicalInstaller$BackgroundInstaller.run(), bci=129
- java.lang.Thread.run(), bci=5

Installer Error Code is 36 Report install error msg key = 272 reason = 36

Warning: MIDlet installation failed, please try again!

report (talk) 08:33, 28 January 2014 (EET)

Report - MIDlet Installation Failed

Hi All

I tried to resolve the issue with many options but failed, so anyone please help me to get me out of this, as this App is very... important & useful to me.....

Kindly help.

report (talk) 11:32, 28 January 2014 (EET)

Report - Error preverifying class

Hi Shai

After resolving the previous error, now It shows

Error preverifying class com.future.dms.ui.AboutForm VERIFIER ERROR com/sun/lwuit/

Component.checkAnimation()V: Illegal type in constant pool
Kindly Help, Thanks in advance.

report (talk) 09:23, 29 January 2014 (EET)

Report - Device definition is incomplete

Hi Shai

I resoved the previous issue as there was an error in the project build path, Instead of c:\dev\Nokia\Devices\Nokia_Asha_SDK_1_0\plugins\lwuit\lib\asha1.0

for S40-asha2013.jar, I changed to c:\Nokia\Devices\Nokia_Asha_SDK_1_0\plugins\lwuit\lib\asha1.0 for S40-asha2013.jar , Same change for IO-MIDP.jar   

file too as i installed nokia asha sdk 1.0 under c:\Nokia....

Now I am getting new error as:

The project was not built since the device definition is incomplete. Cannot find the device preverifier no a default one. Fix device definition then try building this project DMS Unknown Java ME Problem

Please help me out.

report (talk) 07:49, 30 January 2014 (EET)

Report - finally got it installed

Hi Shai

Ur App is fabulous. At last i got it installed. Since I am new to mobile app development it tooks me a while to figure out the issues.

Problem was in the Application Descriptor. When I changed the profile from 2.0 to 2.1, device definition error went off.

Any way thanks for the app.

report (talk) 09:13, 30 January 2014 (EET)

 
×