0

I do not understand this really.

example:

alarm: TJAlarmManager;
test: JAlarmManager;

test:= alarm.Create;
alarm.Init(test, z <-???);

What does the pointer in this constructor mean ? alarm:=TJAlarmManager.create(o:alarmmanger,p:pointer)

As I understand it, one must also generate a JPendingIntentClass.

Can someone give a a small code sample how to use this class?

mjn
  • 36,362
  • 28
  • 176
  • 378
  • The pointer links to a procedure that receives the alarm notification. – Johan Oct 01 '13 at 17:52
  • The AlarmManager is a wrapper class around Android's: see here for the android doc: http://developer.android.com/reference/android/app/AlarmManager.html (Although that doesn't look that enlightening vis-a-vis your question) – Johan Oct 01 '13 at 17:55
  • To edit many thanks my post, unfortunately, my English is not so good – user2835804 Oct 01 '13 at 18:05
  • Never mind your English, very few people are native speakers. My Zulu is terrible. Oh and never again apologize for bad English there are 4000 living languages and only 60* million native English speakers. – Johan Oct 01 '13 at 19:05
  • This does not look like valid Delphi code to me: `Create(o:alarmmanager ...)`, this syntax looks like Java. – mjn Oct 03 '13 at 08:48

0 Answers0