Re: SCOOP: New GarnetOS (PalmOS) Handhelds Coming From Aceeca!

2010-04-16 Thread Dmitry Grinberg
What are you talking about? I have a 32GB card in mine right now. :)
Google: PowerSDHC


Best Regards,
Dmitry Grinberg
(847) 226 9295


On Thu, Apr 15, 2010 at 12:33 AM, Edward Jones
edward.jo...@nvs-ltd.co.ukwrote:

 Indeed, I have just ordered a Janam XP30 but at over 800GBP that is a lot
 more than the trusty TX's we have out in the field costing about 250GBP. I
 have recently found that the TX wont recognise 4Gb SD cards so hopefully the
 Aceeca (sounds like Access?!) units will? Or is this a limit to Palm OS 5?

 Edward Jones


 On 14/04/2010 20:15, Benjamin wrote:

 None of this matters until we see a link to buy one of these units to
 test for compatibility with our software and to sell them to our
 customers. My customers need a cheaper PDA than the Janam and more
 reliable than old refurbished Tungsten E2's. The PDA32 would fit that
 nitch nicely if I could get a hold of one.

 Benjamin

 On 4/14/2010 1:47 PM, Luc Le Blanc wrote:

 Hi,

 More info is now available on the new PDA32. It won't be QVGA
 (quarter) but HVGA (half) linke in 320x480. More info here:


 http://tamspalm.tamoggemon.com/2010/04/08/aceeca-pda32-new-garnet-os-hardware


 As for the confusing memory specs, I checked with Aceeca who corrected:

 Memory RAM: 64 MB
 Memory ROM: 128 MB
 Memory Expansion: Secure Digital (SD)

 This fast CPU combined with twice the usual battery capacity makes the
 whole thing very exciting!


 --
 Luc Le Blanc
 http://www.speleo.qc.ca/Auriga





 --
 For information on using the ACCESS Developer Forums, or to unsubscribe,
 please see http://www.access-company.com/developers/forums/


-- 
For information on using the ACCESS Developer Forums, or to unsubscribe, please 
see http://www.access-company.com/developers/forums/

Re: How can the emulated program counter be changed?

2010-03-14 Thread Dmitry Grinberg
program counter is PC register...it is a register (so you cannot set a
watchpoint on it in the true meaning of the word). Furthermore it is
written after every instruction is fetched, an so a watchpoint would
be useless. and additionally how do you determine an unwanted write?

pose warning translated into english is: you just attempted to jump to
an address that can under no circumstances have executable code


Best Regards,
Dmitry Grinberg
(847) 226 9295



On Sun, Mar 14, 2010 at 1:46 PM, Luc Le Blanc llebl...@cam.org wrote:
 Never mind. Stepping through my code, I found it was overwriting the
 stack. After I fixed all that, things worked normal. Were there a
 way to set some sort of watchpoint on the program counter to detect
 unwanted writes would have helped pinpoint the problem faster.


 Luc Le Blanc
 --
 For information on using the ACCESS Developer Forums, or to unsubscribe, 
 please see http://www.access-company.com/developers/forums/


-- 
For information on using the ACCESS Developer Forums, or to unsubscribe, please 
see http://www.access-company.com/developers/forums/


Re: Recovering PDBs from NVRAM in a dead T5

2010-03-03 Thread Dmitry Grinberg
in general you can read out the NAND using a microcontroller, then
find (use google) the source code to TargetFFS, use that to mount the
NAND partition, then use alex pruss's code to convert nvfs files to
PDBs

Best Regards,
Dmitry Grinberg
(847) 226 9295



On Wed, Mar 3, 2010 at 2:18 PM, Luc Le Blanc llebl...@cam.org wrote:
 My friend tried replacing the battery, to no avail. Then he
 disconnected and reconnected the LCD and his device turned itself on.
 All is well. Thanks for the suggestions.


 Luc Le Blanc
 http://www.speleo.qc.ca/Auriga
 --
 For information on using the ACCESS Developer Forums, or to unsubscribe, 
 please see http://www.access-company.com/developers/forums/


-- 
For information on using the ACCESS Developer Forums, or to unsubscribe, please 
see http://www.access-company.com/developers/forums/


Re: Progress bar in ProgressDialog ?

2010-02-17 Thread Dmitry Grinberg
http://www.palmpowerups.com/file/ProgressBarLib.zip :)



Best Regards,
Dmitry Grinberg
(847) 226 9295


On Wed, Feb 17, 2010 at 5:00 PM, Don Albertson don.albert...@verizon.netwrote:

 Luc Le Blanc said (on or about) 2/17/2010 17:43:

  Hi,

 Is there a simple way to display a progress bar in a ProgressDialog
 or must I write the whole thing myself?


 Luc Le Blanc
 http://www.speleo.qc.ca/Auriga


 The only time I used one I did it all.  I don't remember if that was
 necessary or because I was just showing the % time elapsed instead of
 something complex like % bytes processed.
 dga

 --
 The world began without the human race and will certainly end without it.



 --
 For information on using the ACCESS Developer Forums, or to unsubscribe,
 please see http://www.access-company.com/developers/forums/


-- 
For information on using the ACCESS Developer Forums, or to unsubscribe, please 
see http://www.access-company.com/developers/forums/

Re: Progress bar in ProgressDialog ?

2010-02-17 Thread Dmitry Grinberg
device only - it's a native arm library

i can build an x86 version for you if you want

Best Regards,
Dmitry Grinberg
(847) 226 9295


On Wed, Feb 17, 2010 at 9:50 PM, Luc Le Blanc llebl...@cam.org wrote:

 Dmitry Grinberg wrote:

  http://www.palmpowerups.com/file/ProgressBarLib.zip :)

 I loaded both the ProgressBarLib.prc and progressBarTest.prc and Simulator
 says:

 ---
 Failed to prepare x86 code resource for execution
 ---
 Could not load ' '
 Would you like to browse for this file?
 ---
 Yes   No
 ---


 Luc Le Blanc
 http://www.speleo.qc.ca/Auriga
 --
 For information on using the ACCESS Developer Forums, or to unsubscribe,
 please see http://www.access-company.com/developers/forums/


-- 
For information on using the ACCESS Developer Forums, or to unsubscribe, please 
see http://www.access-company.com/developers/forums/

Re: SCOOP: New GarnetOS (PalmOS) Handhelds Coming From Aceeca!

2010-02-10 Thread Dmitry Grinberg
any specs? what cpu is being used (part nr), what sound/touchscreen chip?
what pmu?
[asking for obvious reasons: http://dgosblog.blogspot.com/]

Best Regards,
Dmitry Grinberg
(847) 226 9295


On Fri, Jan 15, 2010 at 2:32 PM, David Thacker da...@pocketscience.cawrote:

 Here's some very interesting news for those of you still dealing in
 vertical/industrial markets: Aceeca is bringing several new handhelds to
 market in the next couple months, including models running the GarnetOS
 (aka PalmOS Garnet) operating system!!

 We've just been given clearance to release some info about the new
 devices:

 1. MEZ1500 CE

 This device has been coming soon for almost 2 years, but is finally
 coming to market, scheduled for release the first week of March.  This
 unit runs the Microsoft Windows CE 5.0 operating system.  The MEZ1500
 looks very similar to the MEZ1000, but features a QVGA colour screen,
 larger battery, side buttons, and additional wireless options compared to
 the MEZ1000.  Of course, it features the trademark MZIO expansion port on
 the top of the device, for connecting barcode scanner modules, RFID
 readers, GPS receiver modules, and so on.  It will support SD memory
 expansion also.

 We should have a MEZ1500 CE unit here for testing with Satellite Forms in
 a few weeks.

 List price on the MEZ1500 CE is expected to be $499, plus wireless
 options.


 2. MEZ1500 Garnet

 Aceeca is working with ACCESS (formerly PalmSource) to load the GarnetOS
 on the MEZ1500, which will be the first PalmOS 5.x device from Aceeca.
 Running on the same hardware as the MEZ1500 CE version, the MEZ1500 garnet
 version offers a big speed increase from the MEZ1000, as well as the QVGA
 colour screen, twice the battery capacity, WLAN and Bluetooth options, SD
 memory expansion, and more.  Aceeca expects to have beta units ready for
 testing at about the same time that the MEZ1500 CE version ships.

 Both the CE and Garnet versions of the MEZ1500 are built ultra-tough like
 their older brother the PalmOS 4.x powered MEZ1000.

 List price on the MEZ1500 Garnet is expected to be $499, plus wireless
 options.


 3. PDA32 CE

 This is a brand new handheld that is smaller and less rugged than the
 MEZ1000 or MEZ1500 models.  It is just slightly taller than a Palm TX, and
 about twice as thick.  It has an ARM CPU, colour QVGA screen, but does NOT
 have the MZIO expansion bus, so it will not support add-on modules.  It
 will have SD memory expansion, as well as wireless options.  The first
 version of this device will run the Windows CE 5.0 OS.

 List price on the PDA32 CE is expected to be $199, plus wireless options.
 That is not a typo!!


 4. PDA32 Garnet

 The same hardware as the PDA32 CE version, with the GarnetOS operating
 system!  This will be the first new non-smartphone, non-barcode-scanner
 GarnetOS powered handheld released within the past couple years, with
 multiple wireless options and SD memory expansion.

 List price on the PDA32 CE is expected to be $199, plus wireless options.
 Amazing!!

 The PDA32 models are expected to start shipping in April.

 Regards,

 David Thacker
 http://www.SatelliteForms.net
 The Premier RAD Tool for PalmOS  PocketPC



 --
 For information on using the ACCESS Developer Forums, or to unsubscribe,
 please see http://www.access-company.com/developers/forums/


-- 
For information on using the ACCESS Developer Forums, or to unsubscribe, please 
see http://www.access-company.com/developers/forums/

Re: SCOOP: New GarnetOS (PalmOS) Handhelds Coming From Aceeca!

2010-02-10 Thread Dmitry Grinberg
Any idea of what it'll cost to get a prerelease unit or who to contact about
that?

Best Regards,
Dmitry Grinberg
(847) 226 9295


On Wed, Feb 10, 2010 at 8:32 AM, David Thacker da...@pocketscience.cawrote:

  Hi Dmitry,

 If you look on the Model Comparison page on the Aceeca website, you can
 see which CPU is in the MEZ1500.  I understand the PDA32 will have same
 CPU.  I believe the SDRAM is 128MB not the 64MB shown on that chart.  You'll
 have to ask Aceeca for the other specs.

 I have an MEZ1500 CE pre-release unit on my desk right now.  I have not
 touched any of the Garnet models yet.

 --
 David Thacker
 http://www.SatelliteForms.net
 The Premier RAD Tool for PalmOS  PocketPC

 --
 For information on using the ACCESS Developer Forums, or to unsubscribe, 
 please see http://www.access-company.com/developers/forums/



-- 
For information on using the ACCESS Developer Forums, or to unsubscribe, please 
see http://www.access-company.com/developers/forums/

Re: Aceeca - Linux or Palm or WinCE or...?

2010-02-05 Thread Dmitry Grinberg
it is if you google well

Best Regards,
Dmitry Grinberg
(847) 226 9295


On Thu, Feb 4, 2010 at 8:25 PM, Eric Bresie ebre...@gmail.com wrote:



 On Thu, Feb 4, 2010 at 7:53 PM, David Kenny dke...@davesthisnthat.comwrote:

 Codewarrior is windows based..not Linux..missed the point.. try using a
 Linux OS to write a Palm app..its almost not possible. so why does Palm
 choose to restrict the potential developer market?


 I thought Codewarrior for Palm device was no longer available...
 --
 Eric Bresie
 ebre...@gmail.com

 --
 For information on using the ACCESS Developer Forums, or to unsubscribe, 
 please see http://www.access-company.com/developers/forums/



-- 
For information on using the ACCESS Developer Forums, or to unsubscribe, please 
see http://www.access-company.com/developers/forums/

Re: SCOOP: New GarnetOS (PalmOS) Handhelds Coming From Aceeca!

2010-02-01 Thread Dmitry Grinberg
It is doable, but unlikely. I am busy working on DGOS and on secret
stuff in the startup i work at :)



Best Regards,
Dmitry Grinberg
(847) 226 9295



On Sat, Jan 30, 2010 at 5:13 PM, Lionscribe lionscr...@gmail.com wrote:
 The problem is with the 64 bits version of Windows 7.
 They have no 64 bit driver.
 Maybe if we beg Dimitry, he may come to the rescue...

 --
 For information on using the ACCESS Developer Forums, or to unsubscribe, 
 please see http://www.access-company.com/developers/forums/


-- 
For information on using the ACCESS Developer Forums, or to unsubscribe, please 
see http://www.access-company.com/developers/forums/


Re: SCOOP: New GarnetOS (PalmOS) Handhelds Coming From Aceeca!

2010-01-18 Thread Dmitry Grinberg
What's wrong with the E2 and TX digitizers? The OS driver for them
sucks, digitizers themselves are just fine...

Best Regards,
Dmitry Grinberg
(847) 226 9295



On Mon, Jan 18, 2010 at 10:55 AM, Ben Rittgers britt...@mchsi.com wrote:
 I asked my boss to order some testing units as soon as they become
 available.  Our customers are fed up with the failing digitizers of E2 and
 T|X, yet don't want to pay for the high-priced Janam units.

 Bluetooth is a must as well as some kind of SD feature.  Do you happen to
 know what form the SD cards are in: full-size, mini, or micro?  Can you
 access the SD card without taking the battery out as in the Janam units?

 Benjamin

 David Thacker wrote:

 Luc Le Blanc  wrote in message news:188...@palm-dev-forum...

 David Thacker wrote:

 List price on the PDA32 CE is expected to be $199,
 plus wireless options. Amazing!!

 Amazing indeed! What are the wireless options? Wifi (802.11) or
 Bluetooth? Bluetooth would be most interesting in my case. As for the
 battery, is it field-replaceable?


 Luc Le Blanc
 http://www.speleo.qc.ca/Auriga

 Hi Luc,

 Yes to 802.11b/g WLAN.

 Yes to Bluetooth (Class 1 !).

 Infrared as well.

 Battery is a 2000mAh lithium polymer battery, but I don't yet know if it
 is field replaceable.  I do know that the MEZ1500 battery is field
 replaceable, but not sure with the PDA32.


 --
 For information on using the ACCESS Developer Forums, or to unsubscribe,
 please see http://www.access-company.com/developers/forums/


-- 
For information on using the ACCESS Developer Forums, or to unsubscribe, please 
see http://www.access-company.com/developers/forums/


Re: Preventing auto DIA in form with fields

2009-11-12 Thread Dmitry Grinberg
disable dia trigger

Best Regards,
Dmitry Grinberg
(847) 226 9295



On Thu, Nov 12, 2009 at 2:03 PM, Luc Le Blanc llebl...@cam.org wrote:
 I open a form with lots of text fields. As these fields can be filled with 
 data received over Bluetooth, there is little interest in a Graffiti area 
 (except for rare instances where the user might
 want to override the received data). Hence, on devices with DIA (e.g. TX and 
 T3), I'd like to do away with the DIA and expand the
 form. I call:

 WinSetConstraintsSize( WinGetDisplayWindow(), 160, 480, 480, 160, 320, 320 );
 FrmSetDIAPolicyAttr( form, frmDIAPolicyCustom );
 PINSetInputTriggerState( pinInputTriggerEnabled );
 PINSetInputAreaState( pinInputAreaClosed );

 but somehow, it seems that as soon as I set the focus on a field,
 the OS brings the DIA back. Is there a way to avoid this without
 totally blocking the DIA from the user?


 Luc Le Blanc
 http://www.speleo.qc.ca/Auriga
 --
 For information on using the ACCESS Developer Forums, or to unsubscribe, 
 please see http://www.access-company.com/developers/forums/


-- 
For information on using the ACCESS Developer Forums, or to unsubscribe, please 
see http://www.access-company.com/developers/forums/


Re: TX , ronamatic stroke

2009-10-12 Thread Dmitry Grinberg
it is not turned off :)

Best Regards,
Dmitry Grinberg
(847) 226 9295



On Mon, Oct 12, 2009 at 9:51 AM, Darren adelph...@yahoo.co.uk wrote:
 Hello,

 Problem :
 In the application handler, penUp events were occasionally not being
 sent, on the TX. Further investigation found that it is the
 fault of the 'the ronamatic stroke', the full swipe from grafitti area to top 
 of screen. Each time it was activated no penUpEvents are sent to the 
 application handler.
 Using,
 PrefSetPreference(prefRonamatic, 0x00);
 sets the associated Ronamatic action to null, but the swipe is still detected 
 as 'the ronamatic stroke' and still no penUpEvent is sent.
 Next solution is to alter the event loop and catch the vchr key event before 
 being processed by the event handlers, this method does work, but there are 
 still occasions where the penUpEvent is not being sent.

 How is it turned off please ?

 many thanks and regards
 Darren
 --
 For information on using the ACCESS Developer Forums, or to unsubscribe, 
 please see http://www.access-company.com/developers/forums/


-- 
For information on using the ACCESS Developer Forums, or to unsubscribe, please 
see http://www.access-company.com/developers/forums/


Re: C APIs to read/write PDB records?

2009-10-05 Thread Dmitry Grinberg
No, but I have some code to do that if you want. It is not exactly a
clean API, but it is better than starting from scratch :) Email me if
you want it

Best Regards,
Dmitry Grinberg
(847) 226 9295



On Mon, Oct 5, 2009 at 6:40 AM, Luc Le Blanc llebl...@cam.org wrote:
 I would like to replace my HotSync conduit by a batch PDB-PC file converter 
 that I could recompile on various OSes. Are there documented open-source C 
 APIs to read/write PDB records? That would save me writing code for handling 
 headers, offsets, etc.


 Luc Le Blanc
 --
 For information on using the ACCESS Developer Forums, or to unsubscribe, 
 please see http://www.access-company.com/developers/forums/


-- 
For information on using the ACCESS Developer Forums, or to unsubscribe, please 
see http://www.access-company.com/developers/forums/


Re: CryptoDrvr example on PalmOS 5

2009-10-02 Thread Dmitry Grinberg
ye they are

Best Regards,
Dmitry Grinberg
(847) 226 9295



On Fri, Oct 2, 2009 at 3:42 AM, Kasny J. ka...@blackelement.net wrote:
 It looks, virtual drivers are not supported in PalmOS5.

 - Original Message -
 From: Kasny J.
 To: Palm Developer Forum
 Sent: Tuesday, September 29, 2009 10:11 AM
 Subject: CryptoDrvr example on PalmOS 5
 Hello everybody,

 has any of you an expirience running CryptoDrvr example on the PalmOS 5
 (Treo650)?
 In the Palm emulator it works nice, but on the Treo i don't see the driver
 installed (after the PRC file has been installed).
 Thank you for info.

 Zozo


 --
 For information on using the ACCESS Developer Forums, or to unsubscribe,
 please see http://www.access-company.com/developers/forums/

 

 No virus found in this incoming message.
 Checked by AVG - www.avg.com
 Version: 8.5.409 / Virus Database: 270.13.114/2402 - Release Date: 09/29/09
 05:54:00

 --
 For information on using the ACCESS Developer Forums, or to unsubscribe,
 please see http://www.access-company.com/developers/forums/

-- 
For information on using the ACCESS Developer Forums, or to unsubscribe, please 
see http://www.access-company.com/developers/forums/


Re: Random crash in Armlet via PCENativeCall

2009-08-16 Thread Dmitry Grinberg
just ran that code
runs fine

your computation is f*cked. good luck.

Best Regards,
Dmitry Grinberg
(847) 226 9295



On Sun, Aug 16, 2009 at 5:17 PM, Harryhar...@dechentreiter.net wrote:
 I finally started armlet-pogramming ;-) and run into what probably is a 
 beginners problem. The following small armlet randomly produces a Fat/Ex when 
 called with PceNativeCall:

 /*** ARMLET CODE /
 #include PalmOS.h
 #include PceNativeCall.h
 #include ByteOrderUtils.h

 // parameters for the armlet
 typedef struct {
        UInt8*  buff;
        UInt32  buffSize;
        UInt8   a;
        UInt8   b;
        } myParmType;

 UInt32 ARMlet_Main( const void *emulStateP, myParmType*, Call68KFuncType* );

 UInt32 ARMlet_Main( const void *emulStateP, myParmType *parm, Call68KFuncType 
 *call68KFuncP ) {
        UInt8   *p, *pEnd, a, b;

        p = (UInt8*) Read68KUnaligned32( (parm-buff) );
        pEnd = p + Read68KUnaligned32( (parm-buffSize) );
        a = parm-a;
        b = parm-b;

        do some computation on the buffer
        }

        return 0;
 }

 **

 I am pretty sure the computation on the buffer data is ok because I use the 
 identical code in 68K on the simulator without any problem.

 Anlignment of the parameter 'parm' doesn't matter: the docs say the parameter 
 for the armlet needn't be aligned. I also checked that putting 'parm' on a 
 1,2 or 3 byte boundary does not cause a crash.

 Thanks in advance
 Harry

 --
 For information on using the ACCESS Developer Forums, or to unsubscribe, 
 please see http://www.access-company.com/developers/forums/


-- 
For information on using the ACCESS Developer Forums, or to unsubscribe, please 
see http://www.access-company.com/developers/forums/


Re: TX status bar detection

2009-08-05 Thread Dmitry Grinberg
your options are

1. replace the silk plugin (ARM native lib)
2. write your own silk plugin (ARM native lib)
3. Replace onscreen writing extension (ARM native extension)
4. patchEvetGEtEvent (still slow, native ARM code)
5. use sysNotifyEventDequeuedEvent like a rule-observing 68k developer
6. give up


Best Regards,
Dmitry Grinberg
(847) 226 9295


On Wed, Aug 5, 2009 at 6:20 AM, Darren adelph...@yahoo.co.uk wrote:

 Hello,
 am trying to enable 'Graffiti Anywhere'
 (http://www.escande.org/palm/GrfAnywhere.html)
 instead of the inbuilt onscreen graffiti recognition function
 when the 'onscreen writing icon' on the TX status-bar is tapped.

 (without using a sysNotifyEventDequeuedEvent notif.)

 can anyone please help,
 many thanks
 Darren


 --
 For information on using the ACCESS Developer Forums, or to unsubscribe,
 please see http://www.access-company.com/developers/forums/


-- 
For information on using the ACCESS Developer Forums, or to unsubscribe, please 
see http://www.access-company.com/developers/forums/

Re: strange default resolution on treo pro

2009-07-30 Thread Dmitry Grinberg
so far i've heard zero reports of it working. have you gotten it to?

Best Regards,
Dmitry Grinberg
(847) 226 9295



On Thu, Jul 30, 2009 at 6:48 AM, Regis
St-Gelaisregis.st-gel...@laubrass.com wrote:
Dmitry Grinberg dmitr...@gmail.com a écrit dans le message de news:
187...@palm-dev-forum...
guys, not all that runs PalmOS apps is PalmOS. :)
IT was still a nice mobile platform and API set (IMHO) and it lives on
in Styletap (all WM devices), GarnetVM(nokis devices), and DGOS(soon
all old PalmOS devices)


 You forgot Classic for WebOS

 --
 Regis St-Gelais
 www.laubrass.com



 --
 For information on using the ACCESS Developer Forums, or to unsubscribe, 
 please see http://www.access-company.com/developers/forums/


-- 
For information on using the ACCESS Developer Forums, or to unsubscribe, please 
see http://www.access-company.com/developers/forums/


Re: strange default resolution on treo pro

2009-07-28 Thread Dmitry Grinberg
guys, not all that runs PalmOS apps is PalmOS. :)
IT was still a nice mobile platform and API set (IMHO) and it lives on
in Styletap (all WM devices), GarnetVM(nokis devices), and DGOS(soon
all old PalmOS devices)

Best Regards,
Dmitry Grinberg
(847) 226 9295



On Tue, Jul 28, 2009 at 7:17 AM, Regis
St-Gelaisregis.st-gel...@laubrass.com wrote:
 Ryan Rix phrkonale...@gmail.com a écrit dans le message de news:
 187...@palm-dev-forum...

 Forums SUCK though :)
 Mailing lists are easier to keep track of when it comes to development
 questions, imo.
 I wish Palm had gone that route instead of a craptastic phpBB forum.

 Monitoring email all day is easier than hopping around a forum, imo.

 Ryan



 I second that.

 --
 Regis St-Gelais
 www.laubrass.com



 --
 For information on using the ACCESS Developer Forums, or to unsubscribe, 
 please see http://www.access-company.com/developers/forums/


-- 
For information on using the ACCESS Developer Forums, or to unsubscribe, please 
see http://www.access-company.com/developers/forums/


Re: strange default resolution on treo pro

2009-07-28 Thread Dmitry Grinberg
patience...i still need to finish FAT32 driver and a few pieces of
PalmOs compatibility layer. After that any arm device should run
PalmOS apps :)

Best Regards,
Dmitry Grinberg
(847) 226 9295



On Tue, Jul 28, 2009 at 10:31 AM, Ryan Rixphrkonale...@gmail.com wrote:
 Dmitry Grinberg wrote:

 guys, not all that runs PalmOS apps is PalmOS. :)
 IT was still a nice mobile platform and API set (IMHO) and it lives on
 in Styletap (all WM devices), GarnetVM(nokis devices), and DGOS(soon
 all old PalmOS devices)

 in the same sense that DOSbox can run DOS applications. I would love LOVE to
 see a new device natively support PalmOS applications...


 --
 For information on using the ACCESS Developer Forums, or to unsubscribe,
 please see http://www.access-company.com/developers/forums/


-- 
For information on using the ACCESS Developer Forums, or to unsubscribe, please 
see http://www.access-company.com/developers/forums/


Re: Palm WebOS SDK publicly available

2009-07-17 Thread Dmitry Grinberg
they forgot the last part

oh and thanks for letting us walk all over you and marginalize you
over the 2-3 year long EOL period of PalmOS, please allow us to
continue this now by giving you a javascript-only SDKs that does not
even allow you to distribute your apps outside of our 100%-controlled
appstore



Best Regards,
Dmitry Grinberg
(847) 226 9295



On Fri, Jul 17, 2009 at 3:21 PM, Lionscribelionscr...@gmail.com wrote:
 I just got this email;
 As an applicant for the Palm webOS Mojo SDK early access program, we wanted 
 you to be among the first to know that the Mojo SDK is now publicly available.
 This is a very exciting and important stage for Palm webOS development, and 
 we want you to be part of it.
 We’re opening the doors to the SDK by launching a new developer portal at 
 http://developer.palm.com called webOSdev, where you can download the SDK and 
 accompanying documentation, and join the public webOS community forums.
 I want to thank you for your patience while we allowed a few developers to 
 kick the tires on our APIs, tools and docs before we released them to the 
 rest of the world.
 We’re working hard to ensure that Palm webOS becomes a world-class platform 
 for application development, but we need to do so in a measured and focused 
 way so we can be sure we’re providing a great development experience and 
 attentive developer support.We know that a thriving app marketplace and a 
 vibrant developer ecosystem are critical to the success of Palm webOS, and 
 that relies largely on you. We think we have something amazing here, and 
 we’re inviting you to join the Palm webOS community and help us fulfill the 
 potential of this compelling new platform.
 Welcome!

 --
 For information on using the ACCESS Developer Forums, or to unsubscribe, 
 please see http://www.access-company.com/developers/forums/


-- 
For information on using the ACCESS Developer Forums, or to unsubscribe, please 
see http://www.access-company.com/developers/forums/


Re: Does DmResizeRecord copy record contents when reallocating ?

2009-06-22 Thread Dmitry Grinberg
should keep current contents AFAIK

Best Regards,
Dmitry Grinberg
(847) 226 9295



On Mon, Jun 22, 2009 at 10:07 AM, Luc Le Blancllebl...@cam.org wrote:
 After calling DmResizeRecord, if the record had to be reallocated to fit its 
 new size, is the original record contents copied to the new chunk? If not, 
 how can I do that? Is there a better solution than allocating a temporary 
 chunk to save the current record contents to later write it to the new chunk?


 Luc Le Blanc
 --
 For information on using the ACCESS Developer Forums, or to unsubscribe, 
 please see http://www.access-company.com/developers/forums/


-- 
For information on using the ACCESS Developer Forums, or to unsubscribe, please 
see http://www.access-company.com/developers/forums/


Re: Develop for Palm Now

2009-06-15 Thread Dmitry Grinberg
it is no longer for sale, so your best bet is to find it on line or on
some p2p networks

Best Regards,
Dmitry Grinberg
(847) 226 9295



On Mon, Jun 15, 2009 at 10:17 AM, brad.my...@cs.cmu.edu wrote:
 We last updated our Palm software in 2005, and were using Metrowerks
 Codewarrior. I am thinking of updating our software for the current PalmOS
 devices (Treo, Centro) but can't figure out what to do, since Metrowerks
 Codewarrior seems to be gone, and I can't find any documents about how to
 transition my old Codewarrior code and project files. I hope I don't have to
 rework all of my source code (.c, .h, .rsrc) and .mcp files by hand.

 * Can someone point me to documentation about how to do current development
 with my old project files? Is there a version of Codewarrior I can use with
 SDKs for current PalmOS devices? If so, where do I find it? If not, are
 there scripts or something to transition the files to newer tools? What are
 people using?

 I assume that developing for the Palm Pre means starting over, so we aren't
 thinking about that yet.

 Thanks,

 Brad A. Myers
 School of Computer Science
 Carnegie Mellon University
 5000 Forbes Avenue
 Pittsburgh, PA  15213-3891
 (412) 268-5150
 FAX: (412) 268-1266
 b...@cs.cmu.edu
 http://www.pebbles.hcii.cmu.edu/



 --
 For information on using the ACCESS Developer Forums, or to unsubscribe, 
 please see http://www.access-company.com/developers/forums/


-- 
For information on using the ACCESS Developer Forums, or to unsubscribe, please 
see http://www.access-company.com/developers/forums/


Re: SVG on Palm OS

2009-05-31 Thread Dmitry Grinberg
inkscape is an editor
here is a library that just does rendering: http://librsvg.sourceforge.net/

Best Regards,
Dmitry Grinberg
(847) 226 9295



On Sat, May 30, 2009 at 8:04 PM, Ryan Rix phrkonale...@gmail.com wrote:


 On Sat, May 30, 2009 at 7:48 PM, Luc Le Blanc llebl...@cam.org wrote:

 Can you point me to some C code? I don't have time to re-invent the wheel.
 All I need to implement is:

 - converting a series of points into a vector path
 - displaying a path


 full W3C SVG editor:
 http://downloads.sourceforge.net/inkscape/inkscape-0.46.tar.gz

 --
 Thanks and best regards,
 Ryan Rix
 TamsPalm - The PalmOS Blog
 (623)-239-1103 -- Grand Central, baby!

 Jasmine Bowden - Class of 2009, Marc Rasmussen - Class of 2008, Erica
 Sheffey - Class of 2009, Rest in peace.

 --
 For information on using the ACCESS Developer Forums, or to unsubscribe,
 please see http://www.access-company.com/developers/forums/

-- 
For information on using the ACCESS Developer Forums, or to unsubscribe, please 
see http://www.access-company.com/developers/forums/


Re: dmErrCorruptDatabase and E2

2009-05-28 Thread Dmitry Grinberg
roll your own simple DB engine on top of VFS and for vfa card use
internal storage
it's not hard and works well

Best Regards,
Dmitry Grinberg
(847) 226 9295



On Thu, May 28, 2009 at 4:26 PM,  wil...@hotmail.com wrote:
 We've been struggling with this issue for well over two years, so I am, once 
 again, hoping that someone has some solid information and/or workarounds 
 regarding the NVFS issues apparent on the E2 handheld.

 What we are seeing are seemingly random dmErrCorruptDatabase errors when 
 attempting to open and/or close database(s) on the Tungsten E2.  No problems 
 on the Tungsten E or the newer Tungsten TX!  Not surprisingly, this seems to 
 almost exclusively affect the most dynamic databases in our application suite 
 which are opened, accessed, modified (DmResizeRecord) or added to 
 (DmNewRecord), and closed often, but maintaining and reusing the DmOpenRef 
 has not seemed to help.  These databases can become quite large, but not 
 large enough, even with several other helper databases that could be open, to 
 consume the 10MB of dbcache.

 Also, I have spent days redesigning the affected database in order to save 
 results per user rather than per group of users in order to minimize the 
 database sizes to, at the most, 300-400K, but this did not address the issue. 
  Rather than a single dmErrCorruptDatabase error, I received several - one 
 for each of several users - although not always on the same database.  I've 
 pushed this vast quantity of data through the emulator with no issues.

 Out of many thousands of deployed Palm handhelds (Tungsten E/E2/TX), *ALL* of 
 the handhelds known to have this issue are Tungsten E2 handhelds, so it's 
 difficult not to suspect this is an early implementation of NVFS issue.

 Can anything be done to address or work around the E2 NVFS problems - or is 
 there something obvious I'm missing here!?

 Thanks for any help,

 Russell
 --
 For information on using the ACCESS Developer Forums, or to unsubscribe, 
 please see http://www.access-company.com/developers/forums/


-- 
For information on using the ACCESS Developer Forums, or to unsubscribe, please 
see http://www.access-company.com/developers/forums/


Re: Need some old docs

2009-05-27 Thread Dmitry Grinberg
why?

Best Regards,
Dmitry Grinberg
(847) 226 9295



On Tue, May 26, 2009 at 10:24 PM, Ryan Rix phrkonale...@gmail.com wrote:
 Hi guys,

 I am currently in search of some documents describing various system
 aspects that used to reside at
 http://www.palmos.com/dev/support/docs/protein_books/ but now are
 seemingly invisible because, well, access probably nuked them ;) I
 know that one is system_management.pdf and that is the one that I need
 the most. The others would just be nice to have

 Anyone have an old archive somewhere or a mirror with these pdfs?

 --
 Thanks and best regards,
 Ryan Rix
 TamsPalm - The PalmOS Blog
 (623)-239-1103 -- Grand Central, baby!

 Jasmine Bowden - Class of 2009, Marc Rasmussen - Class of 2008, Erica
 Sheffey - Class of 2009, Rest in peace.

 --
 For information on using the ACCESS Developer Forums, or to unsubscribe, 
 please see http://www.access-company.com/developers/forums/


-- 
For information on using the ACCESS Developer Forums, or to unsubscribe, please 
see http://www.access-company.com/developers/forums/


Re: SD Card disappears on Treo680 and Treo650 when opening a db in the sysAppLaunchCmdSystemReset

2009-05-25 Thread Dmitry Grinberg
alm can easily prevent card stuff. card driver is a rather nasty bugger
ftr should be safe





Best Regards,
Dmitry Grinberg
(847) 226 9295



On Mon, May 25, 2009 at 9:09 AM, Jan Slodicka j...@resco-net.com wrote:
 Hi Dmitry,

 that could explain a lot. BTW, do you think that even such innocent things
 like FtrSet or AlmSetAlarm could prevent card mounting?

 Have a nice day.

 With best regards,
    Jan Slodicka
    Resco, Palm Division

 - Original Message -
 From: Dmitry Grinberg dmitr...@gmail.com
 To: Palm Developer Forum palm-dev-forum@news.palmos.com
 Sent: Sunday, May 24, 2009 10:18 PM
 Subject: Re: SD Card disappears on Treo680 and Treo650 when opening a db in
 the sysAppLaunchCmdSystemReset


 on late nvfs devices it is a very very bad idea to do ANYTHING in
 sysAppLaunchCmdSystemReset  handler.
 Instead in there all you should do is subscribe to the
 sysNotifyResetFinishedEvent notification, and only in there are you ok
 to do anything else


 
 Best Regards,
 Dmitry Grinberg
 (847) 226 9295



 On Sun, May 24, 2009 at 12:54 PM, codemaker kala...@yahoo.com wrote:
 SD Card disappears on Treo680 and Treo650 when opening a db in the
 sysAppLaunchCmdSystemReset part of my program

 I have verified that not global variables are used, and the db exist
 before reset.
 The program works fine on Centro and PalmTX

 This is what it works in Centro and PalmTX
 dbID = DmFindDatabase(cardNo, appDBName);
 if (dbID==0) return 1;
 dbP = DmOpenDatabase(cardNo, dbID, dmModeReadOnly);
 ...

 Any idea why this happen?


 The followings give bad results in any device

 // RESET LOOP
 if (errNone != DmGetNextDatabaseByTypeCreator(true, searchState,
 appDBType,appFileCreator, true, cardNo, dbID))
 {
 
 }

 NOT GOOD EITHER
 dbP = DmOpenDatabaseByTypeCreator(appDBType, appFileCreator,
 dmModeReadOnly);








 --
 For information on using the ACCESS Developer Forums, or to unsubscribe,
 please see http://www.access-company.com/developers/forums/


 --
 For information on using the ACCESS Developer Forums, or to unsubscribe,
 please see http://www.access-company.com/developers/forums/



 --
 For information on using the ACCESS Developer Forums, or to unsubscribe, 
 please see http://www.access-company.com/developers/forums/


-- 
For information on using the ACCESS Developer Forums, or to unsubscribe, please 
see http://www.access-company.com/developers/forums/


Re: SD Card disappears on Treo680 and Treo650 when opening a db in the sysAppLaunchCmdSystemReset

2009-05-24 Thread Dmitry Grinberg
on late nvfs devices it is a very very bad idea to do ANYTHING in
sysAppLaunchCmdSystemReset  handler.
Instead in there all you should do is subscribe to the
sysNotifyResetFinishedEvent notification, and only in there are you ok
to do anything else



Best Regards,
Dmitry Grinberg
(847) 226 9295



On Sun, May 24, 2009 at 12:54 PM, codemaker kala...@yahoo.com wrote:
 SD Card disappears on Treo680 and Treo650 when opening a db in the 
 sysAppLaunchCmdSystemReset part of my program

 I have verified that not global variables are used, and the db exist before 
 reset.
 The program works fine on Centro and PalmTX

 This is what it works in Centro and PalmTX
  dbID = DmFindDatabase(cardNo, appDBName);
  if (dbID==0) return 1;
  dbP = DmOpenDatabase(cardNo, dbID, dmModeReadOnly);
   ...

 Any idea why this happen?


 The followings give bad results in any device

 // RESET LOOP
 if (errNone != DmGetNextDatabaseByTypeCreator(true, searchState, 
 appDBType,appFileCreator, true, cardNo, dbID))
 {
 
 }

 NOT GOOD EITHER
 dbP = DmOpenDatabaseByTypeCreator(appDBType, appFileCreator, dmModeReadOnly);








 --
 For information on using the ACCESS Developer Forums, or to unsubscribe, 
 please see http://www.access-company.com/developers/forums/


-- 
For information on using the ACCESS Developer Forums, or to unsubscribe, please 
see http://www.access-company.com/developers/forums/


Re: TX Status Bar confused with Graffiti area

2009-05-20 Thread Dmitry Grinberg
that's NORMAL
click the center, so no top is normal




Best Regards,
Dmitry Grinberg
(847) 226 9295



On Wed, May 20, 2009 at 3:38 PM, Luc Le Blanc llebl...@cam.org wrote:
 Christopher Stamper wrote:

 There may be a cure (PowerDigi?),

 Almost perfect, except that top and bottom targets are slightly offscreen.

 but I'd advise you to try anything possible to get a refund.

 Hard to do: I bought it from an individual, and it worked at his house (we 
 turned on Bluetooth tapping on the Status Bar)...

 I must now hope it doesn't evolve to worse.


 Luc Le Blanc
 --
 For information on using the ACCESS Developer Forums, or to unsubscribe, 
 please see http://www.access-company.com/developers/forums/


-- 
For information on using the ACCESS Developer Forums, or to unsubscribe, please 
see http://www.access-company.com/developers/forums/


Re: Does a Process Monitor exist?

2009-05-20 Thread Dmitry Grinberg
you can enumerate tasks if you want, but why?
Oh, and Dmitry != Dimitri 
:-)


my code was written with an SDK too
Pp.Palm.Native SDK



Best Regards,
Dmitry Grinberg
(847) 226 9295



On Wed, May 20, 2009 at 8:34 PM, Ben Rittgers britt...@mchsi.com wrote:
 You should have only one process running at a time.  You can't multiprocess.
  On the newer Palms, with phones or MP3 players, that might not be the case.
  To run as a background process, you can't program it with the Palm SDK, so
 I am not sure that there are a lot of programs that can run in the
 background.

 Of course, Dimitri would be the one to ask this.  My code was all written
 with the SDK.

 Benjamin

 Eric Bresie wrote:

 Okay...having had the same palm, apps, data since around Palm
 Professional days, I am suspicious that things over the years have
 been installed and continue to run in some fashion or another (DA,
 background processes:, etc).

 Does there exist some kind of process monitor type tool that can
 show me what may be running, how much memory each is using, and the
 likes?


 --
 For information on using the ACCESS Developer Forums, or to unsubscribe,
 please see http://www.access-company.com/developers/forums/


-- 
For information on using the ACCESS Developer Forums, or to unsubscribe, please 
see http://www.access-company.com/developers/forums/


Re: Classic emulator interface on Palm Pre

2009-05-17 Thread Dmitry Grinberg
Or you could install PowerDiGi on them, which will make them align
100% of the time, and is both much cheaper than Janam and cheaper than
a new device...

Best Regards,
Dmitry Grinberg
(847) 226 9295



On Sat, May 16, 2009 at 10:29 AM, Baxter bax...@baxcode.com wrote:
 Aceeca sells the Meazura Palm starting at $399 USD - and it won't break

 --

 Lee Church lchu...@mobitechsystems.com wrote in message
 news:187...@palm-dev-forum...
 Most of my customers started with E2's to get a low entry price.  But the
 customers we support that have delivery drivers or route salesmen have
 found
 them to be a false economy.  Many of these customer found they were
 replacing units every 6-9 months.  I visited with one customer last month,
 and out of 6 units only one would align the digitizer properly, all due to
 rough handling.  Right now his guys are putting up with it, since he
 cannot
 buy any new units.  But Janam units are in his budget for this summer.  In
 warehouses or restaurant usage I could not image the usage pattern would
 be
 much different.  This is the same discussion I saw back when a Zire was
 available for under $100; it's just penny-wise and pound-foolish in my
 experience.

 snip



 --
 For information on using the ACCESS Developer Forums, or to unsubscribe, 
 please see http://www.access-company.com/developers/forums/


-- 
For information on using the ACCESS Developer Forums, or to unsubscribe, please 
see http://www.access-company.com/developers/forums/


Re: Classic emulator interface on Palm Pre

2009-05-17 Thread Dmitry Grinberg
hardly, if you include human time to replace digitizer :)
Also if the new digitizer has a different resistance it will nto at
ALL work without powerdigi



Best Regards,
Dmitry Grinberg
(847) 226 9295



2009/5/17 Philip Sheard shea...@tiscali.co.uk:
 Or you could import replacement digitizers from China, and fit them instead.
 That is much cheaper than PowerDigi, even for a 480 x 320 display.

 -Original Message-
 From: Dmitry Grinberg [mailto:dmitr...@gmail.com]
 Sent: 17 May 2009 18:56
 To: Palm Developer Forum
 Subject: Re: Classic emulator interface on Palm Pre

 Or you could install PowerDiGi on them, which will make them align
 100% of the time, and is both much cheaper than Janam and cheaper than
 a new device...
 
 Best Regards,
 Dmitry Grinberg
 (847) 226 9295



 On Sat, May 16, 2009 at 10:29 AM, Baxter bax...@baxcode.com wrote:
 Aceeca sells the Meazura Palm starting at $399 USD - and it won't break

 --

 Lee Church lchu...@mobitechsystems.com wrote in message
 news:187...@palm-dev-forum...
 Most of my customers started with E2's to get a low entry price.  But the
 customers we support that have delivery drivers or route salesmen have
 found
 them to be a false economy.  Many of these customer found they were
 replacing units every 6-9 months.  I visited with one customer last
 month,
 and out of 6 units only one would align the digitizer properly, all due
 to
 rough handling.  Right now his guys are putting up with it, since he
 cannot
 buy any new units.  But Janam units are in his budget for this summer.
  In
 warehouses or restaurant usage I could not image the usage pattern would
 be
 much different.  This is the same discussion I saw back when a Zire was
 available for under $100; it's just penny-wise and pound-foolish in my
 experience.

 snip



 --
 For information on using the ACCESS Developer Forums, or to unsubscribe,
 please see http://www.access-company.com/developers/forums/


 --
 For information on using the ACCESS Developer Forums, or to unsubscribe,
 please see http://www.access-company.com/developers/forums/


 --
 For information on using the ACCESS Developer Forums, or to unsubscribe, 
 please see http://www.access-company.com/developers/forums/


-- 
For information on using the ACCESS Developer Forums, or to unsubscribe, please 
see http://www.access-company.com/developers/forums/


Re: Rare crash on an E2

2009-05-05 Thread Dmitry Grinberg
some e2s lose their serial number over time

a new one can be installed using my freeware app SetRomID




Best Regards,
Dmitry Grinberg
(847) 226 9295



On Tue, May 5, 2009 at 12:56 AM, Harry har...@dechentreiter.net wrote:
 Hey guys,

 my E2s show a very rare crash.

 When calling SysGetROMToken (0, sysROMTokenSnum, (UInt8**) ROMToken, len) 
 my app throws a Fatal Exception.

 This happens on only 50% of my devices (or even less). And on those devices 
 the call works fine for the first 1,000 - 10,000 times before it bombs.

 Any ideas what's going on?

 Thanks
 Harry
 --
 For information on using the ACCESS Developer Forums, or to unsubscribe, 
 please see http://www.access-company.com/developers/forums/


-- 
For information on using the ACCESS Developer Forums, or to unsubscribe, please 
see http://www.access-company.com/developers/forums/


Re: Rare crash on an E2

2009-05-05 Thread Dmitry Grinberg
Sorry, forgot to mention that SetRomID PERMANENTLY sets the rom id

Best Regards,
Dmitry Grinberg
(847) 226 9295



On Tue, May 5, 2009 at 1:15 AM, Dmitry Grinberg dmitr...@gmail.com wrote:
 some e2s lose their serial number over time

 a new one can be installed using my freeware app SetRomID



 
 Best Regards,
 Dmitry Grinberg
 (847) 226 9295



 On Tue, May 5, 2009 at 12:56 AM, Harry har...@dechentreiter.net wrote:
 Hey guys,

 my E2s show a very rare crash.

 When calling SysGetROMToken (0, sysROMTokenSnum, (UInt8**) ROMToken, len) 
 my app throws a Fatal Exception.

 This happens on only 50% of my devices (or even less). And on those devices 
 the call works fine for the first 1,000 - 10,000 times before it bombs.

 Any ideas what's going on?

 Thanks
 Harry
 --
 For information on using the ACCESS Developer Forums, or to unsubscribe, 
 please see http://www.access-company.com/developers/forums/



-- 
For information on using the ACCESS Developer Forums, or to unsubscribe, please 
see http://www.access-company.com/developers/forums/


Re: Rare crash on an E2

2009-05-05 Thread Dmitry Grinberg
it does not

Best Regards,
Dmitry Grinberg
(847) 226 9295



On Tue, May 5, 2009 at 1:46 AM, Philip Sheard shea...@tiscali.co.uk wrote:
 I wonder if the OS shadows part of the ROM, by copying it into RAM. Just a 
 thought - I am certainly no expert on Palm OS internals.

 -Original Message-
 From: Harry [mailto:har...@dechentreiter.net]
 Sent: 05 May 2009 09:35
 To: Palm Developer Forum
 Subject: Re: Rare crash on an E2

 The ROM serial is not lost. I can still retrieve it on those devices after 
 the normal reset that follows the Fat/Ex.

 My gut feeling is that it is related to the NAND flash. Maybe some funny 
 wearing off of memory cells that produces read/write errors?

 It seems also, that devices that just had a hard-reset do not produce this 
 error or maybe they produce it just later.


 --
 For information on using the ACCESS Developer Forums, or to unsubscribe, 
 please see http://www.access-company.com/developers/forums/


 --
 For information on using the ACCESS Developer Forums, or to unsubscribe, 
 please see http://www.access-company.com/developers/forums/


-- 
For information on using the ACCESS Developer Forums, or to unsubscribe, please 
see http://www.access-company.com/developers/forums/


Re: Problem catching penDownEvents with sysNotifyEventDequeuedEvent

2009-05-04 Thread Dmitry Grinberg
there is NO 68k device that sends this notification
EVER

and do not bother swapping it on arm devices just to have a 68k endian
version. doing this for every event is slow


just ByteSwap() to test whatever you test, and do minimal work for
events you do not need to avoid slowing down the system




Best Regards,
Dmitry Grinberg
(847) 226 9295



On Mon, May 4, 2009 at 9:01 AM, Luc Le Blanc llebl...@cam.org wrote:
 Lionscribe wrote:

 Make sure ByteSwap16 is a Macro, not a function, as you don't
 want any drag in a deque notification!
 Better yet, just make your own define
 #define penDequeEventArm 0x.

 Actually, I thought of making a global variable to hold the
 current device-dependent encoding of penDownEvent to account for
 68k devices (where I gather bytes must not be swapped.)


 Luc Le Blanc
 --
 For information on using the ACCESS Developer Forums, or to unsubscribe, 
 please see http://www.access-company.com/developers/forums/


-- 
For information on using the ACCESS Developer Forums, or to unsubscribe, please 
see http://www.access-company.com/developers/forums/


Re: Problem catching penDownEvents with sysNotifyEventDequeuedEvent

2009-05-04 Thread Dmitry Grinberg
you CAN modify the event passed in to change its type no nilEvent

Best Regards,
Dmitry Grinberg
(847) 226 9295



On Mon, May 4, 2009 at 11:32 AM, Luc Le Blanc llebl...@cam.org wrote:
 When a screen tap is used to restore screen brightness, can I
 clear this penDownEvent so that it doesn't get processed?
 My notification handler returns an error code, but the doc
 says to leave it at errNone so I understand it's not used to
 determine whether the notification was handled. It's pretty annoying
 to just tap the screen to bighten it up, and then drop down an
 unwanted menu or worse.


 Luc Le Blanc
 --
 For information on using the ACCESS Developer Forums, or to unsubscribe, 
 please see http://www.access-company.com/developers/forums/


-- 
For information on using the ACCESS Developer Forums, or to unsubscribe, please 
see http://www.access-company.com/developers/forums/


Re: UIBrightnessAdjust vs BrightnessFix

2009-05-01 Thread Dmitry Grinberg
You're allowed to bundle brightnessfix with your app, but be careful,
as it has a very precisely-defined set of devices it works on, and
exactly zero checks for not-being-that-device. (The current version -
BrightnessFix.NG works on ALL palms with intel X-scale processors, and
that is it)




Best Regards,
Dmitry Grinberg
(847) 226 9295



On Fri, May 1, 2009 at 5:36 AM, Lionscribe lionscr...@gmail.com wrote:
 Does any system event happen before the UI show?
 If so, you can trap it before SysHandleEvent, and then enque your event.

 --
 For information on using the ACCESS Developer Forums, or to unsubscribe, 
 please see http://www.access-company.com/developers/forums/


-- 
For information on using the ACCESS Developer Forums, or to unsubscribe, please 
see http://www.access-company.com/developers/forums/


Re: UIBrightnessAdjust vs BrightnessFix

2009-04-29 Thread Dmitry Grinberg
brightnessfix is a native arm app/hack/etc, that among other things
messes with memory mapping, hardware access, and palmos globals. it
CANNOT be duplicated on the simulator. But you can replace it with
your own app, that does nothing on the sim, for sim-based testing.



Best Regards,
Dmitry Grinberg
(847) 226 9295



On Wed, Apr 29, 2009 at 4:17 PM, Luc Le Blanc llebl...@cam.org wrote:
 Ryan Rix wrote:

 Also, on that note, why do you need to change the brightness in
 simulator?

 Only so that all features can be tried and tested on Simulator. Convenient 
 both for me and potential users. Nothing else. But if I'm to run Gremlins, I 
 better prevent this from happening.


 Luc Le Blanc
 --
 For information on using the ACCESS Developer Forums, or to unsubscribe, 
 please see http://www.access-company.com/developers/forums/


-- 
For information on using the ACCESS Developer Forums, or to unsubscribe, please 
see http://www.access-company.com/developers/forums/


Re: Notification on screen tap for restoring screen brightness after auto-dimming

2009-04-28 Thread Dmitry Grinberg
use the much-hated (and rightly so) 'hede' notification, and catch penDown event

Best Regards,
Dmitry Grinberg
(847) 226 9295



On Tue, Apr 28, 2009 at 10:48 AM, Luc Le Blanc llebl...@cam.org wrote:
 I want to implement an auto-dimming feature in my app so as to reduce power 
 consumption after x seconds of inactivity (in order to make a device such as 
 an E2 last a full day of cave surveying.)

 My only problem: in order to restore previous brightness, I would need a 
 notification broadcast when the user taps (anywhere) on screen, but there 
 does not seem to be one. Relying on a notification would circumvent those 
 times when my app is not the current event handler (ex. when an alert is 
 displayed.) Did I miss something? Or is there another trick? After all, the 
 OS uses such tap events to reset its auto-off timer.


 Luc Le Blanc
 http://www.speleo.qc.ca/Auriga
 --
 For information on using the ACCESS Developer Forums, or to unsubscribe, 
 please see http://www.access-company.com/developers/forums/


-- 
For information on using the ACCESS Developer Forums, or to unsubscribe, please 
see http://www.access-company.com/developers/forums/


Re: Notification on screen tap for restoring screen brightness after auto-dimming

2009-04-28 Thread Dmitry Grinberg
it's only bad if you rely on a lot of events. In normal use it won't
be a big deal.

Best Regards,
Dmitry Grinberg
(847) 226 9295



On Tue, Apr 28, 2009 at 12:48 PM, Luc Le Blanc llebl...@cam.org wrote:
 Dmitry Grinberg wrote:

 use the much-hated (and rightly so) 'hede' notification,
 and catch penDown event

 Is this too much system overload if I only register for this notification 
 when I dim down the screen, and de-register when I set  back the original 
 screen brightness?


 Luc Le Blanc
 --
 For information on using the ACCESS Developer Forums, or to unsubscribe, 
 please see http://www.access-company.com/developers/forums/


-- 
For information on using the ACCESS Developer Forums, or to unsubscribe, please 
see http://www.access-company.com/developers/forums/


Re: Your opinion on creating registration for a new software

2009-04-10 Thread Dmitry Grinberg
I used to think so, but after the hackers failed to crack powersdhc,
they started buying it  [i monitor the boards, so I heard all the
lamentations, and seen all the i had to buy it too messages]

If you work enough at it, AND your program is useful enough, even
those who would not normally purchase it, will do so anyways.



[PowerSDHC keyfile uses public key cryptography, so it's very
difficult to keygen]




Best Regards,
Dmitry Grinberg
(847) 226 9295



On Fri, Apr 10, 2009 at 10:21 AM, Ben Rittgers britt...@mchsi.com wrote:
 My registration is very simple.  They e-mail me my hotsync ID and I e-mail
 them back their registration key.  It is the most easily guessable key in
 the work anyway.  The way I see it, if they try to find away around
 registering it, then they won't pay me anyway.

 I don't give crippleware.  If it too much to send me $5.00 to buy a key it
 must not be that useful too them.

 My other program, I told them to send money to an organization I support if
 they like the program.  I just had a checkbox that they checked to say they
 donated.  If they checked it, I went on the honor system and changed the
 About screen to Registered user.

 I would worry on this registration stuff if it would still work on the WebOS
 Palm Classic Emulator.

 codemaker wrote:

 Hi Everybody

 I'm trying to create a registration system for a new software and I would
 like to have your opinions on the following issues.

 When you distribute your software to various sites do you provide
 registration mechanism to them?
 At some point when the program checks for registration Key/File it will
 for example set a boolean variable to true. Do you do it other way?

 Is it possible to check if my program is modified and prevent it from
 running?



 --
 For information on using the ACCESS Developer Forums, or to unsubscribe,
 please see http://www.access-company.com/developers/forums/


-- 
For information on using the ACCESS Developer Forums, or to unsubscribe, please 
see http://www.access-company.com/developers/forums/


Re: Your opinion on creating registration for a new software

2009-04-09 Thread Dmitry Grinberg
Hi,

 I'm trying to create a registration system for a new software and I would 
 like to have your opinions on the following issues.
 When you distribute your software to various sites do you provide 
 registration mechanism to them?

Not unless I trust them (that's a no)

 At some point when the program checks for registration Key/File it will for 
 example set a boolean variable to true. Do you do it other way?

Yes, the main points are:
 -inline keychecking func
 -NEVER display any alert or dialog on correct/incorrect key being
entered, this is trivial to find
 -use many many function pointers in structured for keychecking. Makes
it harder to follow the code.
 -If your app is 68k, do a check if it's in the simulator/emulator and
in that case always be Registred to make it harder to use those
tools to hack it

 Is it possible to check if my program is modified and prevent it from running?
 Anything is possible :)
What Ryan suggested works, but is not too hard to circumvent. Instead
you can include RSA public key in your app's code section [preferably
obfuscated], and then sign it, storing the signature in a different
resource. Sign the app when you release. This way nobody can easily
re-sign it without having your private key. Also, do not refuse to run
if modified, and do not tell user app is modified, just run like it's
unregistered. This will have hackers chasing their tails forever. Also
when you do do the checksum, avoid doing things liek
DmGetResource('code',...). the constant 'code' will stand out in the
disassembly. Instead just do something like:

for(i = 0 ;i  DmNumResources(myApps); i++){
   uint32 type;
   uint16 id;




 --
 For information on using the ACCESS Developer Forums, or to unsubscribe, 
 please see http://www.access-company.com/developers/forums/


-- 
For information on using the ACCESS Developer Forums, or to unsubscribe, please 
see http://www.access-company.com/developers/forums/


Re: Classic emulator interface on Palm Pre

2009-04-09 Thread Dmitry Grinberg
giving the c compiler to motion apps, who never produced a single
interesting application (interesting is defined as overstepping
conventionally defined boundaries)
very disappointing, Palm.





Best Regards,
Dmitry Grinberg
(847) 226 9295



On Thu, Apr 9, 2009 at 8:33 AM, Ryan Rix phrkonale...@gmail.com wrote:
 Which means they have access to a C compiler for webOS and a way to port
 windows applications, including dll's to ELF format.

 On Wed, Apr 8, 2009 at 5:35 PM, danny wong toys...@hotmail.com wrote:

 i think all they did was take the simulator source code and ported.


 
 Date: Tue, 7 Apr 2009 09:39:18 -0400
 Subject: Re: Classic emulator interface on Palm Pre
 From: christopherstam...@gmail.com
 To: palm-dev-forum@news.palmos.com



 On Tue, Apr 7, 2009 at 9:31 AM, Luc Le Blanc llebl...@cam.org wrote:

 Edward Jones wrote:

  I wonder how Classic will cope with Bluetooth and SD cards

 ...and conduits and beaming...

 HotSync is not supported, afaik. So no need to wonder about conduits.


 --
 Christopher Stamper

 Email: christopherstam...@gmail.com
 Web: http://tinyurl.com/2ooncg
 gTalk: http://tinyurl.com/6e359r
 Skype: cdstamper

 --
 For information on using the ACCESS Developer Forums, or to unsubscribe,
 please see http://www.access-company.com/developers/forums/

 
 Messenger has tons of new features that make chatting more fun. Click here
 to learn more.

 --
 For information on using the ACCESS Developer Forums, or to unsubscribe,
 please see http://www.access-company.com/developers/forums/


 --
 Thanks and best regards,
 Ryan Rix
 TamsPalm - The PalmOS Blog
 (623)-239-1103 -- Grand Central, baby!

 Jasmine Bowden - Class of 2009, Marc Rasmussen - Class of 2008, Erica
 Sheffey - Class of 2009, Rest in peace.

 --
 For information on using the ACCESS Developer Forums, or to unsubscribe,
 please see http://www.access-company.com/developers/forums/

-- 
For information on using the ACCESS Developer Forums, or to unsubscribe, please 
see http://www.access-company.com/developers/forums/


Re: Classic emulator interface on Palm Pre

2009-04-09 Thread Dmitry Grinberg
At least iPhone lets me program C, and now that everyone is
jailbreaking theirs (for the piracy market) there is market for apps
sold not through apple store.
perhaps a greener pasture :)


Best Regards,
Dmitry Grinberg
(847) 226 9295



On Thu, Apr 9, 2009 at 10:49 AM, Philip Sheard shea...@tiscali.co.uk wrote:
 Good point. They are not the most exciting company in the world, by the look
 of it.

 I am not sure that Palm is targeting the right developers anyway. They seem
 more interested in people who have experience with JavaScript and CSS,
 rather than people who have track records in mobile systems.

 -Original Message-
 From: Dmitry Grinberg [mailto:dmitr...@gmail.com]
 Sent: 09 April 2009 18:37
 To: Palm Developer Forum
 Subject: Re: Classic emulator interface on Palm Pre

 giving the c compiler to motion apps, who never produced a single
 interesting application (interesting is defined as overstepping
 conventionally defined boundaries)
 very disappointing, Palm.




 
 Best Regards,
 Dmitry Grinberg
 (847) 226 9295



 On Thu, Apr 9, 2009 at 8:33 AM, Ryan Rix phrkonale...@gmail.com wrote:
 Which means they have access to a C compiler for webOS and a way to port
 windows applications, including dll's to ELF format.

 On Wed, Apr 8, 2009 at 5:35 PM, danny wong toys...@hotmail.com wrote:

 i think all they did was take the simulator source code and ported.


 
 Date: Tue, 7 Apr 2009 09:39:18 -0400
 Subject: Re: Classic emulator interface on Palm Pre
 From: christopherstam...@gmail.com
 To: palm-dev-forum@news.palmos.com



 On Tue, Apr 7, 2009 at 9:31 AM, Luc Le Blanc llebl...@cam.org wrote:

 Edward Jones wrote:

  I wonder how Classic will cope with Bluetooth and SD cards

 ...and conduits and beaming...

 HotSync is not supported, afaik. So no need to wonder about conduits.


 --
 Christopher Stamper

 Email: christopherstam...@gmail.com
 Web: http://tinyurl.com/2ooncg
 gTalk: http://tinyurl.com/6e359r
 Skype: cdstamper

 --
 For information on using the ACCESS Developer Forums, or to unsubscribe,
 please see http://www.access-company.com/developers/forums/

 
 Messenger has tons of new features that make chatting more fun. Click
 here
 to learn more.

 --
 For information on using the ACCESS Developer Forums, or to unsubscribe,
 please see http://www.access-company.com/developers/forums/


 --
 Thanks and best regards,
 Ryan Rix
 TamsPalm - The PalmOS Blog
 (623)-239-1103 -- Grand Central, baby!

 Jasmine Bowden - Class of 2009, Marc Rasmussen - Class of 2008, Erica
 Sheffey - Class of 2009, Rest in peace.

 --
 For information on using the ACCESS Developer Forums, or to unsubscribe,
 please see http://www.access-company.com/developers/forums/

 --
 For information on using the ACCESS Developer Forums, or to unsubscribe,
 please see http://www.access-company.com/developers/forums/


 --
 For information on using the ACCESS Developer Forums, or to unsubscribe, 
 please see http://www.access-company.com/developers/forums/


-- 
For information on using the ACCESS Developer Forums, or to unsubscribe, please 
see http://www.access-company.com/developers/forums/


Re: Classic emulator interface on Palm Pre

2009-04-09 Thread Dmitry Grinberg
I'm looking for a cheap iphone on ebay. even ones with broken screens
go for 400's...WTF

Best Regards,
Dmitry Grinberg
(847) 226 9295



On Thu, Apr 9, 2009 at 11:36 AM, Christopher Stamper
christopherstam...@gmail.com wrote:
 On Thu, Apr 9, 2009 at 2:24 PM, Dmitry Grinberg dmitr...@gmail.com wrote:

 At least iPhone lets me program C, and now that everyone is
 jailbreaking theirs (for the piracy market) there is market for apps
 sold not through apple store.
 perhaps a greener pasture :)

 I'm a former palm developer  user, that has switched to using iPhone OS
 (not developing yet though). And seriously, as much as I hate to say it, it
 isn't that bad (I don't like Apple).

 The SDK is terribly limited, but in OS 3.0 it will get a little better. At
 any rate, I'd rather start over with iPhone OS than Web OS (JavaScript? You
 gotta be kidding).

 If someone like Dmitry would develop for it, that would be so great...

 ;-)

 --
 Christopher Stamper

 Email: christopherstam...@gmail.com
 Web: http://tinyurl.com/2ooncg
 gTalk: http://tinyurl.com/6e359r
 Skype: cdstamper

 --
 For information on using the ACCESS Developer Forums, or to unsubscribe,
 please see http://www.access-company.com/developers/forums/

-- 
For information on using the ACCESS Developer Forums, or to unsubscribe, please 
see http://www.access-company.com/developers/forums/


Re: Classic emulator interface on Palm Pre

2009-04-09 Thread Dmitry Grinberg
i did play with iTouch, on a jailbroken one, i was able to bring up my
SDHC driver, and using some wires attach an SDHC card to the device
and read it





Best Regards,
Dmitry Grinberg
(847) 226 9295



On Thu, Apr 9, 2009 at 3:13 PM, Jeff Summers j...@smallsyssoft.com wrote:
 Consider an iTouch as an alternative. Basically an iPhone without the phone
 (which makes it an i ?) If you then get into apps that require telephone
 functions you can justify the extra cost.
 Jeff

 Dmitry Grinberg wrote:

 I'm looking for a cheap iphone on ebay. even ones with broken screens
 go for 400's...WTF
 
 Best Regards,
 Dmitry Grinberg
 (847) 226 9295



 On Thu, Apr 9, 2009 at 11:36 AM, Christopher Stamper
 christopherstam...@gmail.com wrote:


 On Thu, Apr 9, 2009 at 2:24 PM, Dmitry Grinberg dmitr...@gmail.com
 wrote:


 At least iPhone lets me program C, and now that everyone is
 jailbreaking theirs (for the piracy market) there is market for apps
 sold not through apple store.
 perhaps a greener pasture :)


 I'm a former palm developer  user, that has switched to using iPhone OS
 (not developing yet though). And seriously, as much as I hate to say it,
 it
 isn't that bad (I don't like Apple).

 The SDK is terribly limited, but in OS 3.0 it will get a little better.
 At
 any rate, I'd rather start over with iPhone OS than Web OS (JavaScript?
 You
 gotta be kidding).

 If someone like Dmitry would develop for it, that would be so great...

 ;-)

 --
 Christopher Stamper

 Email: christopherstam...@gmail.com
 Web: http://tinyurl.com/2ooncg
 gTalk: http://tinyurl.com/6e359r
 Skype: cdstamper

 --
 For information on using the ACCESS Developer Forums, or to unsubscribe,
 please see http://www.access-company.com/developers/forums/





 --
 For information on using the ACCESS Developer Forums, or to unsubscribe,
 please see http://www.access-company.com/developers/forums/


-- 
For information on using the ACCESS Developer Forums, or to unsubscribe, please 
see http://www.access-company.com/developers/forums/


Re: FldHandleEvent crash Chunk under locked

2009-04-08 Thread Dmitry Grinberg
do you assign any text to the field before this? Do you do it using a
handle? [or incorrectly using a pointer]

Best Regards,
Dmitry Grinberg
(847) 226 9295



On Wed, Apr 8, 2009 at 9:53 AM, Ryan Rix phrkonale...@gmail.com wrote:
 Hi,

 An application I am developing consists simply of a Field in which a user is
 able to launch applications and do various other things.

 Due to the dynamic nature of the field I have encountered some issues with
 SysHandleEvent fighting with my field handling code and as a result I have
 set up my application to call SysHandleEvent AFTER my application does its
 field handling. To make sure that everything works okay, and to make sure
 that the field is updated before the mainFormHandler kicks in, I call
 FldHandleEvent( fieldP, event ); at the top of my keyDownEvent handler.
 This works, for the most part, much more reliably than having SysHandleEvent
 at the top of my event handling. I am able to enter 10 characters into my
 field, counting backspaces, until my application dies with a MemoryManager.c
 Chunk under locked crash.

 Does anyone know why this happens or how to get around it? I am not able to
 use SysHandleEvent before my keyDownEvent handler due to stability issues,
 for whatever reason.

 Ryan

 --
 Thanks and best regards,
 Ryan Rix
 TamsPalm - The PalmOS Blog
 (623)-239-1103 -- Grand Central, baby!

 Jasmine Bowden - Class of 2009, Marc Rasmussen - Class of 2008, Erica
 Sheffey - Class of 2009, Rest in peace.

 --
 For information on using the ACCESS Developer Forums, or to unsubscribe,
 please see http://www.access-company.com/developers/forums/

-- 
For information on using the ACCESS Developer Forums, or to unsubscribe, please 
see http://www.access-company.com/developers/forums/


Re: FldHandleEvent crash Chunk under locked

2009-04-08 Thread Dmitry Grinberg
assuming handle is allocated successfully, that looks right.
are you sure erro is not form elsewhere?

Best Regards,
Dmitry Grinberg
(847) 226 9295



On Wed, Apr 8, 2009 at 1:34 PM, Ryan Rix phrkonale...@gmail.com wrote:
 D,
 I assigned a handle that's large enough for the text, but only contains a
 single NULL character at application launch.

 at the top of mainFormInit():
 [snip]
 MemHandle fld = MemHandleNew(128);
 char* fldT = MemHandleLock(fld);
 (*fldT)=0;
 MemHandleUnlock(fld)
 FldSetTextHandle(getObjectPointer(pForm, mainField), fld);
 [/snip]

 Ryan

 On Wed, Apr 8, 2009 at 11:22 AM, Dmitry Grinberg dmitr...@gmail.com wrote:

 do you assign any text to the field before this? Do you do it using a
 handle? [or incorrectly using a pointer]
 
 Best Regards,
 Dmitry Grinberg
 (847) 226 9295



 On Wed, Apr 8, 2009 at 9:53 AM, Ryan Rix phrkonale...@gmail.com wrote:
  Hi,
 
  An application I am developing consists simply of a Field in which a
  user is
  able to launch applications and do various other things.
 
  Due to the dynamic nature of the field I have encountered some issues
  with
  SysHandleEvent fighting with my field handling code and as a result I
  have
  set up my application to call SysHandleEvent AFTER my application does
  its
  field handling. To make sure that everything works okay, and to make
  sure
  that the field is updated before the mainFormHandler kicks in, I call
  FldHandleEvent( fieldP, event ); at the top of my keyDownEvent handler.
  This works, for the most part, much more reliably than having
  SysHandleEvent
  at the top of my event handling. I am able to enter 10 characters into
  my
  field, counting backspaces, until my application dies with a
  MemoryManager.c
  Chunk under locked crash.
 
  Does anyone know why this happens or how to get around it? I am not able
  to
  use SysHandleEvent before my keyDownEvent handler due to stability
  issues,
  for whatever reason.
 
  Ryan
 
  --
  Thanks and best regards,
  Ryan Rix
  TamsPalm - The PalmOS Blog
  (623)-239-1103 -- Grand Central, baby!
 
  Jasmine Bowden - Class of 2009, Marc Rasmussen - Class of 2008, Erica
  Sheffey - Class of 2009, Rest in peace.
 
  --
  For information on using the ACCESS Developer Forums, or to unsubscribe,
  please see http://www.access-company.com/developers/forums/

 --
 For information on using the ACCESS Developer Forums, or to unsubscribe,
 please see http://www.access-company.com/developers/forums/



 --
 Thanks and best regards,
 Ryan Rix
 TamsPalm - The PalmOS Blog
 (623)-239-1103 -- Grand Central, baby!

 Jasmine Bowden - Class of 2009, Marc Rasmussen - Class of 2008, Erica
 Sheffey - Class of 2009, Rest in peace.

 --
 For information on using the ACCESS Developer Forums, or to unsubscribe,
 please see http://www.access-company.com/developers/forums/

-- 
For information on using the ACCESS Developer Forums, or to unsubscribe, please 
see http://www.access-company.com/developers/forums/


Re: creating kernel-level drivers to read the z22 processor serial number

2009-03-27 Thread Dmitry Grinberg
Z22 has two chips that ave unique serial numbers in them
not accessible via the OS, but is accessible via direct hardware access.
that is what he's trying to do



Best Regards,
Dmitry Grinberg
(847) 226 9295



On Fri, Mar 27, 2009 at 4:25 AM, Regis St-Gelais
regis.st-gel...@laubrass.com wrote:
 Guilherme Campos Hazan gu...@superwaba.com.br a écrit dans le message de
 news: 187...@palm-dev-forum...
I am - but that doesn't work on Z22.


 Not all devices have a serial number.
 I don't recall if the Z22 does.

 There are 2 way to get the serial number depending on the device type.

 1- Check if you are on an handspring based device (like the Treos)
  if (FtrGet(hsFtrCreator, hsFtrIDVersion, ulngValue) == errNone)
 if yes, then read the serial using:
 HsGetVersionString(hsVerStrSerialNo, strpSerialNumber, intBufferLen);

 2- if not on an handspring device than use the rom token mothode:
  intResult = SysGetROMToken(0,sysROMTokenSnum, (UInt8**) strpBuffer,
 intBufferLen);

 If after that you still don't have a serial number, than the device does not
 have one.

 One way to manualy check if the device has a serial number if to use the
 launcher main menu: App -- Info... and to select the Version view.
 If the device has a serial it will be display on the 3th line Flash ID:
 ...

 HTH

 --
 Regis St-Gelais
 www.laubrass.com



 --
 For information on using the ACCESS Developer Forums, or to unsubscribe, 
 please see http://www.access-company.com/developers/forums/


-- 
For information on using the ACCESS Developer Forums, or to unsubscribe, please 
see http://www.access-company.com/developers/forums/


Re: cannot clear dmRecAttrDirty bit, help please

2009-03-20 Thread Dmitry Grinberg
you only need to close records you opened.
and stop blaming nvfs, as bad as it may be, YOUR problems are far
greater, and not related to nvfs

Best Regards,
Dmitry Grinberg
(847) 226 9295



On Fri, Mar 20, 2009 at 9:42 AM, Darren adelph...@yahoo.co.uk wrote:
 have tried DmReleaseRecord() in a loop, 0-maxrecords-1,
 before database close which is before application quit.
 -Does not work.
 So have tried using DmSetRecordInfo() to set other record attrs.,
 but they do not work either ?

 So, nvfs(nand), involves the database being backed up to the non-volatile 
 storage on database create, database close and also on
 DmSetRecordInfo(),
 is it perhaps this that is causing the bug ?
 Does anyone know ?

 many thanks for all help
 regards
 Darren




 --
 For information on using the ACCESS Developer Forums, or to unsubscribe, 
 please see http://www.access-company.com/developers/forums/


-- 
For information on using the ACCESS Developer Forums, or to unsubscribe, please 
see http://www.access-company.com/developers/forums/


Re: MemHandleNew, MemPtrNew

2009-03-10 Thread Dmitry Grinberg
GRANULARITY OF THE NAND?



FOR THE LAST TIME:

 YOU ARE not ALLOCATING MEMORY IN THE NAND FLASH!
 YOU ARE NOT ALLOCATING MEMORY IN THE NAND FLASH!
 YOU ARE NOT ALLOCATION MEMORY IN THE NAND FLASH!


am i getting through?




Best Regards,
Dmitry Grinberg
(847) 226 9295



On Tue, Mar 10, 2009 at 8:59 AM, Darren adelph...@yahoo.co.uk wrote:
 Hello and thanks for responses,

 at the moment the function that inits the global list items and variables is 
 storing around 50 * 20 strings, the chunk is allocated at application startup 
 and is set at 8kb (8192) as there was mention somewhere of granularity of the 
 nand.

 therefore is not writing outside the malloc.

 When the pointer being used to store either the locked MemHandle or the 
 MemPtr is displayed as a 4 byte numeral (in other words the address location) 
 after being declared and also just before the items are written to the chunk, 
 they are the same.


 Still have not found a solution. The desk accessory cannot use globals, as no 
 desk accessories can, although there are a few methods around this, Ftr 
 memory, prefs, a typedefed global struct, etc.

 something like so :
 in included header

 typedef struct psuedo_globals {
  // form
  Int16 X;
  Int16 Y;
  Int16 W;
  Int16 H;

  // pen detection
  RectangleType P[MaxPenDetectAreas];

  // DeskHandler
  Coord x_DIFF; // form move coords
  Coord y_DIFF;
  Coord x_STRT;
  Coord y_STRT;
  Coord x_SAV;
  Coord y_SAV;

  // etc., etc...

  }psuedo_globals;



 then in the main.c for the desk accessory would be something like:


 //    
 //start
 Int8 start(void){Deskmain(); return 0x00;


-- 
For information on using the ACCESS Developer Forums, or to unsubscribe, please 
see http://www.access-company.com/developers/forums/


Re: MemHandleNew, MemPtrNew

2009-03-09 Thread Dmitry Grinberg
There is NO special procedure
Did you read my last post - it 100% answered why you have problems...

Best Regards,
Dmitry Grinberg
(847) 226 9295



On Mon, Mar 9, 2009 at 2:42 AM, Darren Barnes adelph...@yahoo.co.uk wrote:

 You are using both MemHandleNew and MemPtrNew to allocate 1 chuck ??
 Use one or the other, not both.

 in reply :

 the three function pairs that are having problems are
 MemHandleNew/MeHandleFree,

 MemPtrNew/MemPtrFree and FtrPtrNew/FtrPtrFree.

 The malloc is for a list during the lifetime of the application, a desk
 accessory, as such is only around 1 to 5 kb.

 Because of resets with one pair of functions the others have been tried,
 without success.

 If FtrPtrNew is used without FtrPtrFree then a list can be retained without
 causing a reset, but that leaves a chunk in storage until next reset.

 The question now is :

 Is there special procedure involved with mallocs on an nvfs enabled device ?

 If so what are those procedures? There is no instruction in the
 documentation.

 many thanks and regards

 Darren

 --
 For information on using the ACCESS Developer Forums, or to unsubscribe,
 please
 see http://www.access-company.com/developers/forums/

 --
 For information on using the ACCESS Developer Forums, or to unsubscribe,
 please see http://www.access-company.com/developers/forums/

-- 
For information on using the ACCESS Developer Forums, or to unsubscribe, please 
see http://www.access-company.com/developers/forums/


Re: MemHandleNew, MemPtrNew

2009-03-06 Thread Dmitry Grinberg
the fact that free causes crashes imply you wrote outside the area you
allocated. fix that

Best Regards,
Dmitry Grinberg
(847) 226 9295



On Fri, Mar 6, 2009 at 6:29 AM, Darren adelph...@yahoo.co.uk wrote:
 Hello,
 am trying to allocate a simple small chunk (2048 bytes)on the dynamic heap 
 using these two calls.
 The application is a 'DAcc' desk accessory, primarily for use on a TX (NAND?) 
 and a TG50.

 Keeps resetting  sometimes when the desk accessory is initially invoked, 
 sometimes when the desk accesory is going through 'cleanup' (MemHandleFree, 
 MemPtrFree, etc.), sometimes after two or three invocations.

 The malloc is for a simple list, that remains in memory during the lifetime 
 of the application.

 Have had some luck with FtrPtrNew, but am still getting resets if the 
 allocation is freed using FtrPtrFree.

 Have trawled through some of the posts here, and now a possible explanation 
 is that the nand nvfs, is the issue.


 The questions are.
 Is it possible to use Memory Manager (dynamic heap) or Data Manager(storage 
 heap) calls to allocate a small, preferably locked chunk, on a TX?
 If so then how please ?

 many thanks and much regards

 Darren


 --
 For information on using the ACCESS Developer Forums, or to unsubscribe, 
 please see http://www.access-company.com/developers/forums/


-- 
For information on using the ACCESS Developer Forums, or to unsubscribe, please 
see http://www.access-company.com/developers/forums/


Re: Copying Tbmp/tAIB resources -- not working?

2009-02-26 Thread Dmitry Grinberg
that may be because you're only copying the header (and not the
complete one at that)

Best Regards,
Dmitry Grinberg
(847) 226 9295



On Thu, Feb 26, 2009 at 8:06 AM, Ryan Rix phrkonale...@gmail.com wrote:
 Hey guys,

 I am writing code to dynamically draw icons for an application launcher.
 I am using a linked list to store all of the entries of the launcher, which
 include both tAIB resource bitmaps (which are just BitmapType written to a
 resource, right?) and generic BitmapTypes, all stored as pointers in my node
 structure as a BitmapPtr icon.

 When I attempt to copy the resource to a static location in memory using

   newLink-icon=MemPtrNew( sizeof(BitmapType));
   DmOpenRef ref=DmOpenDatabase(cn,id,dmModeReadWrite);
   MemHandle h = DmGetResource( 'tAIB', 1000 );
   if(h){
    BitmapPtr oldIcon = MemHandleLock(h);
    MemMove(newLink-icon, oldIcon, sizeof(BitmapType));
    MemHandleUnlock(h);
   }else{
    newLink-icon=NULL;
   }
   DmReleaseResource(h)

 I usually get crap written to the BitmapPtr and when I draw it with
 WinDrawBitmap I usually get either a crash or just crap drawn to the screen,
 I've yet to get a working icon.
 Does anyone have a clue why my code keeps crapping out like this?

 --
 Thanks and best regards,
 Ryan Rix
 TamsPalm - The PalmOS Blog
 (623)-239-1103 -- Grand Central, baby!

 Jasmine Bowden - Class of 2009, Marc Rasmussen - Class of 2008, Erica
 Sheffey - Class of 2009, Rest in peace.

 --
 For information on using the ACCESS Developer Forums, or to unsubscribe,
 please see http://www.access-company.com/developers/forums/

-- 
For information on using the ACCESS Developer Forums, or to unsubscribe, please 
see http://www.access-company.com/developers/forums/


Re: forum heart beat check

2009-02-09 Thread Dmitry Grinberg
Isn't it great how nowhere in that [COMPLETELY CORRECT] explanation of
how things work now there is any mention of the users and what they
want :-)  ?


 But I think all of that is moving into the past.  The current marketing
 paradigm is
 to sell services that use air time.  We don't need to synchronize -- we just
 need
 to send messages over the air.  This may be part of the reason that WebOS is
 so oriented toward HTML/JavaScript -- the more air time used to send data
 back and forth, the more money the mobile service provider gets to bill for.
 They can afford to sell the devices and even the applications as loss
 leaders
 providing that they can use them to increase the revenue stream for the
 mobile
 service.


-- 
For information on using the ACCESS Developer Forums, or to unsubscribe, please 
see http://www.access-company.com/developers/forums/


Re: Getting ready for WebOS

2009-02-09 Thread Dmitry Grinberg
Very likely that you are indeed wasting your time. Seen the SDK? Nor
has anyone else here...



Best Regards,
Dmitry Grinberg
(847) 226 9295



On Mon, Feb 9, 2009 at 4:15 PM, Ben Rittgers britt...@mchsi.com wrote:
 Since WebOS is html, css, and javascript, I decided to start studying them
 in preparation for the SDK.  I learned HTML in 1997.  I am a computer
 programmer, so never bothered with web development.

 Now, I guess I will need to do web apps, so I am doing a crash course in
 XHTML, Javascript, and CSS.  I just hope I am not wasting my time.

 --
 For information on using the ACCESS Developer Forums, or to unsubscribe,
 please see http://www.access-company.com/developers/forums/


-- 
For information on using the ACCESS Developer Forums, or to unsubscribe, please 
see http://www.access-company.com/developers/forums/


Re: Getting ready for WebOS

2009-02-09 Thread Dmitry Grinberg
I got into R/C planes :)



Best Regards,
Dmitry Grinberg
(847) 226 9295



On Mon, Feb 9, 2009 at 8:30 PM, Lionscribe lionscr...@gmail.com wrote:
 Well Dmitry, I understand you are upset,
 but you also seem to be giving up,
 your DGOS blog hasn't been updated in 2 months!.

 --
 For information on using the ACCESS Developer Forums, or to unsubscribe, 
 please see http://www.access-company.com/developers/forums/


-- 
For information on using the ACCESS Developer Forums, or to unsubscribe, please 
see http://www.access-company.com/developers/forums/


Re: Is it possible to disable or enable some functions of Dia?

2009-01-26 Thread Dmitry Grinberg
yes, but not documented :)

Best Regards,
Dmitry Grinberg
(847) 226 9295



On Mon, Jan 26, 2009 at 2:53 PM, codemaker kala...@yahoo.com wrote:
 Is it possible to disable or enable some functions of Dia?
 For example, I don't want the device to rotate and I always want to display 
 some forms in full screen while in another form I always want to display the 
 keyboard.
 How do you set this programmatically?

 --
 For information on using the ACCESS Developer Forums, or to unsubscribe, 
 please see http://www.access-company.com/developers/forums/


-- 
For information on using the ACCESS Developer Forums, or to unsubscribe, please 
see http://www.access-company.com/developers/forums/


Re: Is it possible to disable or enable some functions of Dia?

2009-01-26 Thread Dmitry Grinberg
That SDK is useless, since OS randomly resets DIA state and what is
allowed and not allowed (collapsibility, rotateability, orientation)

as long as you are guaranteed to be running on OS 5.4+ the best way is
to manipulate the fields directly. This causes the DIA to not jerk up
and down. and allows some stranger states to be set in per-form
manner. Eg a form's dia policy can be dia always up, form always
shown in portrait, rotation disabled collapsing enabled) this means
that when form is shown device will rotate to portrait alwasy, open
dia, but allow collapsing and disallow rotation. The parameters are:

orientation: {port,land,rev port, rev land}
collapsibility: {yes, no}
rotateability: {yes, no}
original dia state: {up, down}

thus making for 32 combinations.

If anyone is actually interested, I can share the info




Best Regards,
Dmitry Grinberg
(847) 226 9295



On Mon, Jan 26, 2009 at 3:20 PM, Ben Rittgers britt...@mchsi.com wrote:
 In the Palm SDK look at the DIA example.  It is not well documented.
 Honestly, that is the best example in all of Palm Programming for using the
 DIA.  I tried googling for more info.

 As for preventing rotation look around.  Just make the forms you want to be
 full screen, be full screen.  For the once that you don't want to be full
 screen, just display the keyboard.

 codemaker wrote:

 Is it possible to disable or enable some functions of Dia?
 For example, I don't want the device to rotate and I always want to
 display some forms in full screen while in another form I always want to
 display the keyboard.
 How do you set this programmatically?


 --
 For information on using the ACCESS Developer Forums, or to unsubscribe,
 please see http://www.access-company.com/developers/forums/


-- 
For information on using the ACCESS Developer Forums, or to unsubscribe, please 
see http://www.access-company.com/developers/forums/


Re: C vs C++

2009-01-16 Thread Dmitry Grinberg
if off the top of your head you cannot tell me in what segment vtables
are stored in, do not use C++ on Palm - you're not ready for it; if
you can tell me where they are stored, then you should already know
why not to use it for Palm.




Best Regards,
Dmitry Grinberg
(847) 226 9295



On Fri, Jan 16, 2009 at 11:18 AM, Kent Loobey k...@uoregon.edu wrote:
 Are there any arguments against using C++ for Palm apps when compared
 to C?


 --
 For information on using the ACCESS Developer Forums, or to unsubscribe, 
 please see http://www.access-company.com/developers/forums/


-- 
For information on using the ACCESS Developer Forums, or to unsubscribe, please 
see http://www.access-company.com/developers/forums/


Re: Are you feeling special?

2009-01-15 Thread Dmitry Grinberg
I think android is overhyped. I tried using it, and it just reminded
me yet again what a terrible choice linux is for the mobile device
world. Justbecause it is easy to use and cheap to port does not mean
you should used it. UGH!

I liked PalmOS because ti was simple an efficient.



Best Regards,
Dmitry Grinberg
(847) 226 9295



On Thu, Jan 15, 2009 at 3:18 PM, John Gruenenfelder
jo...@as.arizona.edu wrote:
 On Wed, Jan 14, 2009 at 04:30:12AM -0800, Luc Le Blanc wrote:
Palm has been quick in the past to boast the wide software
offering for Palm OS, yet did very little to actually support the
developers who made their platform attractive, especially
freeware writers, while much of the offering was freeware.
Continued support from developers to migrate their apps to web OS
is just taken for granted after years of uncertainty about OS 6,
ALP and Nova. Today Palm says forget about a compatibility layer, there's no 
adaptation possible, just rebuild your apps from the
ground up with Javascript, HTML or CSS and stay with us, we need
you to make money!

Count me out!

 I completely agree.  At first, everything was just fantastic.  Up through OS
 4.x, I had all of the tools I needed, they all ran under multiple operating
 systems, and they worked very well.

 When Palm OS 5.x came along, that's when the lies and half-truths really
 started to become much more prevalent.  The Simulator will be ported, don't
 worry!  The Simulator bugs will be fixed, don't worry!  Palm OS
 6.x/Garnet/Topaz/Fuschia will be out Real Soon Now(tm), don't worry!

 With the Windows-centric OS 5.x development model, working on my software
 became much more problematic.  POSE was such an amazingly useful tool for
 testing and debugging.  But the Simulator?  Buggy, crash happy, and about 1/10
 as useful.  And having to run it in a Windows virtual machine just made it
 that much more annoying.

 I certainly won't be following Palm into the great beyond this time.
 Personally, the next version of my software will be running on Android.  I
 choose it because it is very likely the next PDA-ish/PDA-capable OS I will be
 using myself and because the user base can only grow for the forseeable
 future.  Of course, unlike many of you, I do not make any money from my
 software and that permits a fair amount of latitude in making these choices.

 I don't envy you in having to weigh Palm's latest offering.


 Or maybe I'm just still pissed over that threatening legalese letter Palm sent
 me some seven years ago over usage of the word Palm in any context...  :)


 --
 --John GruenenfelderSystems Manager, MKS Imaging Technology, LLC.
 Try Weasel Reader for PalmOS  --  http://weaselreader.org
 This is the most fun I've had without being drenched in the blood
 of my enemies!
--Sam of Sam  Max

 --
 For information on using the ACCESS Developer Forums, or to unsubscribe, 
 please see http://www.access-company.com/developers/forums/


-- 
For information on using the ACCESS Developer Forums, or to unsubscribe, please 
see http://www.access-company.com/developers/forums/


Re: Are you feeling special?

2009-01-14 Thread Dmitry Grinberg
no, there were a few sites with access to the sdk that published reviews
personally i feel insulted that nobody with a @palm.com email
address has come here to offer the sdk and apologies. If they expect
developers to make this platform worthwhile, shouldn't they
somehowyou knowbe nice to the abovementioned developers?



Best Regards,
Dmitry Grinberg
(847) 226 9295



On Tue, Jan 13, 2009 at 5:59 PM, Don Albertson
don.albert...@verizon.net wrote:
 Private = Sprint
 dga

 Dmitry Grinberg said (on or about) 01/13/2009 14:00:

 The fact that the SDK is in private beta and nobody on this list was
 invited is enough of a spit in the face to just not bother whit this
 Pre sh*t
 
 Best Regards,
 Dmitry Grinberg
 (847) 226 9295



 On Tue, Jan 13, 2009 at 7:27 AM, Regis St-Gelais
 regis.st-gel...@laubrass.com wrote:


 Doug Reeder reeder...@gmail.com a écrit dans le message de news:
 187...@palm-dev-forum...


 Not yet.

 Program in JavaScript? Pffft, I'd rather program in BASIC.

 Since I doubt the built-in apps are written in JavaScript, but believe
 that they do use HTML and CSS as the GUI layer (via the DOM), I  conclude
 one can write apps for WebOS in a reasonable language that  integrate with
 the built-in apps and OS.   Really, the question is,  what is the
 application language, and how soon will they open it to  developers?


 The litle information we have so far is there:
 http://developer.palm.com/?sssdmh=dm13.189861

 --
 Regis St-Gelais
 www.laubrass.com



 --
 For information on using the ACCESS Developer Forums, or to unsubscribe,
 please see http://www.access-company.com/developers/forums/





 --
 For information on using the ACCESS Developer Forums, or to unsubscribe,
 please see http://www.access-company.com/developers/forums/

-- 
For information on using the ACCESS Developer Forums, or to unsubscribe, please 
see http://www.access-company.com/developers/forums/


Re: Are you feeling special?

2009-01-14 Thread Dmitry Grinberg
 I wish if we could all get together and request from Access the rights of 
 Gardner OS. Most of us don't really need a supper multitasking device in our 
 hands.  If I wanted anything like this I would get Windows in the first place.
 Enough for now. I have work to do.


If you want, join me in the DGOS project. I know more than enough to
make a working OS and compatibility layer. just need more hands and
heads to finish faster
and no need to bother with access/pa1m/anyone

-- 
For information on using the ACCESS Developer Forums, or to unsubscribe, please 
see http://www.access-company.com/developers/forums/


Re: Are you feeling special?

2009-01-13 Thread Dmitry Grinberg
The fact that the SDK is in private beta and nobody on this list was
invited is enough of a spit in the face to just not bother whit this
Pre sh*t

Best Regards,
Dmitry Grinberg
(847) 226 9295



On Tue, Jan 13, 2009 at 7:27 AM, Regis St-Gelais
regis.st-gel...@laubrass.com wrote:
 Doug Reeder reeder...@gmail.com a écrit dans le message de news:
 187...@palm-dev-forum...
 Not yet.

 Program in JavaScript? Pffft, I'd rather program in BASIC.

 Since I doubt the built-in apps are written in JavaScript, but believe
 that they do use HTML and CSS as the GUI layer (via the DOM), I  conclude
 one can write apps for WebOS in a reasonable language that  integrate with
 the built-in apps and OS.   Really, the question is,  what is the
 application language, and how soon will they open it to  developers?

 The litle information we have so far is there:
 http://developer.palm.com/?sssdmh=dm13.189861

 --
 Regis St-Gelais
 www.laubrass.com



 --
 For information on using the ACCESS Developer Forums, or to unsubscribe, 
 please see http://www.access-company.com/developers/forums/


-- 
For information on using the ACCESS Developer Forums, or to unsubscribe, please 
see http://www.access-company.com/developers/forums/


Re: Are you feeling special?

2009-01-13 Thread Dmitry Grinberg
I always liked to think that I did enough for Palm community to matter
as well. Guess not. :(



Best Regards,
Dmitry Grinberg
(847) 226 9295



On Tue, Jan 13, 2009 at 11:27 AM, Philip Sheard shea...@tiscali.co.uk wrote:
 You have got a point there. When I was a Microsoft Gold Certified Partner,
 Microsoft treated me with respect. Palm has barely acknowledged my
 existence.

 -Original Message-
 From: Dmitry Grinberg [mailto:dmitr...@gmail.com]
 Sent: 13 January 2009 19:01
 To: Palm Developer Forum
 Subject: Re: Are you feeling special?

 The fact that the SDK is in private beta and nobody on this list was
 invited is enough of a spit in the face to just not bother whit this
 Pre sh*t
 
 Best Regards,
 Dmitry Grinberg
 (847) 226 9295



 On Tue, Jan 13, 2009 at 7:27 AM, Regis St-Gelais
 regis.st-gel...@laubrass.com wrote:
 Doug Reeder reeder...@gmail.com a écrit dans le message de news:
 187...@palm-dev-forum...
 Not yet.

 Program in JavaScript? Pffft, I'd rather program in BASIC.

 Since I doubt the built-in apps are written in JavaScript, but believe
 that they do use HTML and CSS as the GUI layer (via the DOM), I  conclude
 one can write apps for WebOS in a reasonable language that  integrate
 with
 the built-in apps and OS.   Really, the question is,  what is the
 application language, and how soon will they open it to  developers?

 The litle information we have so far is there:
 http://developer.palm.com/?sssdmh=dm13.189861

 --
 Regis St-Gelais
 www.laubrass.com



 --
 For information on using the ACCESS Developer Forums, or to unsubscribe,
 please see http://www.access-company.com/developers/forums/


 --
 For information on using the ACCESS Developer Forums, or to unsubscribe,
 please see http://www.access-company.com/developers/forums/


 --
 For information on using the ACCESS Developer Forums, or to unsubscribe, 
 please see http://www.access-company.com/developers/forums/


-- 
For information on using the ACCESS Developer Forums, or to unsubscribe, please 
see http://www.access-company.com/developers/forums/


Re: Are you feeling special?

2009-01-12 Thread Dmitry Grinberg
I thought talking for someone else was impolite...

Best Regards,
Dmitry Grinberg
(847) 226 9295



On Mon, Jan 12, 2009 at 5:57 PM, Kent Loobey k...@uoregon.edu wrote:
 The New York Times has a short piece in the paper today on Palm and their
 webOS.  According to Palm what is going to help them win the day is their
 developers and all those applications we are going to write next year after we
 get their SDK late this year.  They have a plan!


 --
 For information on using the ACCESS Developer Forums, or to unsubscribe, 
 please see http://www.access-company.com/developers/forums/


-- 
For information on using the ACCESS Developer Forums, or to unsubscribe, please 
see http://www.access-company.com/developers/forums/


Re: Any Proven way to apply protection and registration to a Palm Application?

2009-01-11 Thread Dmitry Grinberg
use a piece of arm code to verify integrity of 68k code
and use the 68k to verify integrity of arm code

Best Regards,
Dmitry Grinberg
(847) 226 9295



On Sun, Jan 11, 2009 at 12:38 PM, codemaker kala...@yahoo.com wrote:
 I would appreciate if you could give explanation on the following two:
 -use armlet for security and also crc the 68k code
 -user 68k to crc armlet


 --
 For information on using the ACCESS Developer Forums, or to unsubscribe, 
 please see http://www.access-company.com/developers/forums/


-- 
For information on using the ACCESS Developer Forums, or to unsubscribe, please 
see http://www.access-company.com/developers/forums/


Re: Palm webOS makes its appearance

2009-01-10 Thread Dmitry Grinberg
thank you for saying it.
all of you who are so excited can have your web 2.0. HTML and java
script is fun, and all. but at the end of the day - useless.
C is where the work gets done
if I cannot run my C code on it, I am not interested in it. Instead
I'll just get this one:
http://www.pharosgps.com/products/proddetail.asp?prod=001_PTL137_7.90cat=136


Best Regards,
Dmitry Grinberg
(847) 226 9295



On Fri, Jan 9, 2009 at 7:46 PM, Luc Le Blanc llebl...@cam.org wrote:
 Philip Sheard wrote:

 Let us face it chaps, we are dinosaurs.

 I beg to differ. There's more to life than web apps written in JavaScript. 
 Apps like Planetarium and TideTool don't need an internet connection but 
 perform lots of computations requiring mathlib. We'll always need some sort 
 of a handheld computer capable of more than displaying web pages. And leaving 
 out the thousands of PalmOS apps is a sad loss for a Palm device. Hi-res, 
 Bluetooth AND a removable battery? I've been dreaming of such a PalmOS device 
 for years... Will the Pré run my app under DGOS?


 Luc Le Blanc
 http://www.speleo.qc.ca/Auriga
 --
 For information on using the ACCESS Developer Forums, or to unsubscribe, 
 please see http://www.access-company.com/developers/forums/


-- 
For information on using the ACCESS Developer Forums, or to unsubscribe, please 
see http://www.access-company.com/developers/forums/


Re: Any Proven way to apply protection and registration to a Palm Application?

2009-01-10 Thread Dmitry Grinberg
-use rom id  as a unique number
-use armlet for security and also crc the 68k code
-user 68k to crc armlet
-never numerical keys
-always keyfiles (preferably just the unique id, signed using a
lng rsa signature)

makes keygens and hacks hard :)



Best Regards,
Dmitry Grinberg
(847) 226 9295



On Sat, Jan 10, 2009 at 3:34 PM, Doug Reeder reeder...@gmail.com wrote:
 Computers are fundamentally open systems -- you can't prevent people from
 cracking your app, you can only make it more difficult.  Furthermore, there
 are crackers out there, perhaps most of them, who do it because they find it
 personally rewarding, or for status in their subculture.   The harder it is
 to crack, the greater the status from doing so.  Music and movie companies
 spent millions developing content protection system that were broken in
 weeks or months.  And when cracked once, your app is available to anyone
 willing to use a cracked version.

 One can divide users in to three categories: those saints who will pay
 regardless of what measures you take, those freeloaders who won't pay
 regardless, and the largest group, those who will pay if that is a better
 experience than not paying.   Most people value being able to think of
 themselves as honest.  They want the software to be easy to install and use.
  They want to be able to update easily when bug fixes come out.  They want
 technical support.  They expect their software to run when they get new
 hardware.  And they don't want to pay more than a fair price for it.
 (Ideas of what constitute fairness differ.)

 So, you should evaluate every protection measure against the question Does
 this make it a better experience to pay, rather than not pay?.  So, if
 users must do complicated things to activate their software, it tilts the
 equation against you. Making it easy to obtain tech support if you have
 paid, and hard if you haven't, tilts the equation your way.   Making easy
 for paid users to upgrade to a version with new features, vs. waiting for
 the the new version to be cracked, tilts the equation in your favor.

 As a citizen, it may advance the social good to deny software to people who
 won't pay for it, but as a businessman, you shouldn't care -- if they won't
 pay, there's no profit to be made, and it doesn't cost you anything.

 The easier it is to plug a security package or library into an application,
 the easier it is for crackers to unplug.  So, if you're serious about
 technical protection measures, it needs to be intertwined with the
 functioning code.   You need to implement a system where you can vary the
 protection measures with each release, so it can't be cracked the same way
  as previous releases.   The cracker community has spent thirty years
 developing its tactics and tools.   Inform yourself before expending effort
 on technical protection measures.

 One area that does pay off is making it difficult to generate valid license
 codes.  Then, at least black marketeers can't sell licenses for your
 software that work with uncracked software.  A license code is like a
 message from the publisher saying 'it's okay to run given such-and-such
 environment'.  Public key cryptography can make it near-impossible to fake a
 message -- if you dot all your i's and cross all your t's.   But keep in
 mind what you're locking the software to.   Palm OS devices don't all have
 unique hardware IDs, and most customers expect to be able to take their
 software with them to a new model.   You can expect that HotSync names are
 effectively unique -- but there are hacks to change the HotSync name before
 any given app executes, so anyone willing to cheat can use a published
 HotSync name - license code pair and still use their normal HotSync name for
 syncing.

 This is a simplified overview -- there are caveats to almost everything I've
 said above.   But learn about the whole situation before expending effort.




-- 
For information on using the ACCESS Developer Forums, or to unsubscribe, please 
see http://www.access-company.com/developers/forums/


Re: Detecting Time Zones

2009-01-01 Thread Dmitry Grinberg
PrefGetPreference() with prefTimeZone, prefTimeZoneCountry, or
prefDaylightSavingAdjustment

On 12/31/08, Ryan Rix phrkonale...@gmail.com wrote:
 and in particular prefgetpreferences (mind is not together, sorry)

 Thanks and best regards,
 Ryan Rix
 TamsPalm - The PalmOS Blog
 (623)-239-1103 -- Grand Central, baby!

 Jasmine Bowden - Class of 2009, Marc Rasmussen - Class of 2008, Erica
  Sheffey - Class of 2009, Rest in peace.



 On Wed, Dec 31, 2008 at 5:49 PM, Ryan Rix phrkonale...@gmail.com wrote:
  Read docs on system prefs.
 
  Thanks and best regards,
  Ryan Rix
  TamsPalm - The PalmOS Blog
  (623)-239-1103 -- Grand Central, baby!
 
  Jasmine Bowden - Class of 2009, Marc Rasmussen - Class of 2008, Erica
  Sheffey - Class of 2009, Rest in peace.
 
 
 
 
 
 
  On Wed, Dec 31, 2008 at 4:52 PM, Ben Rittgers britt...@mchsi.com wrote:
 
   How do I detect the time zone the handheld is currently in?  Will this
 work on 3.5 devices or just 4.0 and 5.0 devices?
  
   --
   For information on using the ACCESS Developer Forums, or to unsubscribe,
 please see http://www.access-company.com/developers/forums/
  
 
 

  --
 For information on using the ACCESS Developer Forums, or to unsubscribe,
 please see http://www.access-company.com/developers/forums/



-- 

Best Regards,
Dmitry Grinberg
(847) 226 9295

-- 
For information on using the ACCESS Developer Forums, or to unsubscribe, please 
see http://www.access-company.com/developers/forums/


Re: Developing on Palm PDAs - what next?

2008-12-22 Thread Dmitry Grinberg
Well, at least you can take solace in the fact that it was a fun ride :)


Best Regards,
Dmitry Grinberg
(847) 226 9295



On Mon, Dec 22, 2008 at 11:14 AM, Philip Sheard shea...@tiscali.co.uk wrote:
 Palm offered a vision, a possibility of a digital lifestyle, that never 
 became a reality. Those of us who remain on this forum bought in to that 
 dream, but most people never did. The fact is that most people approach 
 unfamiliar technology as they would an unexploded bomb. People go for 
 internet appliances because they are familiar with the concept, while 
 satellite navigation appeals to our love of the motor car. But apart from 
 those examples, the PDA was an utter failure.

 -Original Message-
 From: Don Albertson [mailto:don.albert...@verizon.net]
 Sent: 22 December 2008 18:35
 To: Palm Developer Forum
 Subject: Re: Developing on Palm PDAs - what next?

 I have to agree.

 Historically, PDA's were useful as mobile data stores that could
 synchronize with a master database.  Now that so many wireless devices
 have the ability to connect directly to the master db, there's far less
 need for the ability to store and sync.  The other thing that made Palm
 devices and the Palm OS attractive was the minimalist Zen of Palm
 approach -- the application didn't try to be everything a desktop was
 because the technology couldn't support it.  It's hard to compete with
 things like iPhones and netbook style PC's these days.

 More's the pity.  But then I'm beginning to see the Luddite
 point-of-view more clearly of late.

 dga

 Philip Sheard wrote:
 You are probably right about traditional handhelds as opposed to 
 smartphones. There is very little movement in that direction. On the WM 
 front, you only have the iPAQ 114 and 214, both of which are regarded as 
 oddities. The only other new handhelds around are the iPod Touch (which is 
 an iPhone without the phone), and the Nokia n770/n800/n810 (which will 
 probably morph into phones).

 The only applications that are keeping handhelds going at all are satellite 
 navigation and internet browsing. Although there are a lot of smartphones 
 out there, they are being used very much as phones, and not as PDAs. People 
 are downloading MP3s, ringtones, games and other small apps OTA. They are 
 not syncing with PCs, or installing large apps such as yours and mine. 
 People have moved on, and that window of opportunity has been missed.

 Most of my users now use Treos, and I have learnt to embrace this. It helps 
 that I use a Treo myself. But the future for applications such as ours is 
 bleak.

 -Original Message-
 From: Edward Jones [mailto:edward.jo...@nvs-ltd.co.uk]
 Sent: 22 December 2008 14:10
 To: Palm Developer Forum
 Subject: Re: Developing on Palm PDAs - what next?

 Thanks for the reply. Palm have indeed made an announcement, but it is
 not the one I wanted: Colligan: No New Palm Handhelds as reported on
 Palm InfoCenter -

 http://www.palminfocenter.com/news/9654/colligan-no-new-palm-handhelds/

 Thanks anyway for your response, I will bear you in mind for second hand
 devices and repairs!

 Edward

 Philip Sheard wrote:

 You should not have any problems buying new T|Xs from Amazon UK,
 at least for the time being. Apparently Palm is due to make some
 sort of announcement early next year. It could either be the next
 big thing, or another Foleo. I actually liked the Foleo, but it was
 a marketing disaster.

 If you are looking for second user devices, I may be able to help
 you there, depending on the number that you require. I can also
 carry out repair work, if necessary. I would not recommend
 StyleTap, but that is just my personal opinion.

 If you would like to discuss any of this we me direct, you can call
 me on 07530 574120.






 --
 I have always wished for my computer to be as easy to use as my
 telephone; my wish has come true because I can no longer figure
 out how to use my telephone.


 --
 For information on using the ACCESS Developer Forums, or to unsubscribe, 
 please see http://www.access-company.com/developers/forums/


 --
 For information on using the ACCESS Developer Forums, or to unsubscribe, 
 please see http://www.access-company.com/developers/forums/


-- 
For information on using the ACCESS Developer Forums, or to unsubscribe, please 
see http://www.access-company.com/developers/forums/


Re: Developing on Palm PDAs - what next?

2008-12-22 Thread Dmitry Grinberg
linuxy-craptastic

Best Regards,
Dmitry Grinberg
(847) 226 9295



On Mon, Dec 22, 2008 at 1:32 PM, Eric Bresie ebre...@gmail.com wrote:
 As long as we are talking about Palm vision...

 Is anyone prevy to what the new platform programming environment will
 be like for what is expected at CES on Jan 8?

 (see http://blog.palm.com/palm/2008/12/vote-for-your-favorite-cartoon.html )

 Eric

 --
 For information on using the ACCESS Developer Forums, or to unsubscribe, 
 please see http://www.access-company.com/developers/forums/


-- 
For information on using the ACCESS Developer Forums, or to unsubscribe, please 
see http://www.access-company.com/developers/forums/


Re: Palm OS =4 Source Code

2008-12-08 Thread Dmitry Grinberg
yes
you can obtain said source code by
1. learning assembly for the arm processor
2. learning C well enough to look at a line of C  and know what
assembly it generates
3. buying a good disassembler
4. using one working human brain put the pieces 1 - 3 together



Best Regards,
Dmitry Grinberg
(847) 226 9295



On Mon, Dec 8, 2008 at 12:01 PM, Alphasmart User
[EMAIL PROTECTED] wrote:
 Dose anybody here have the Palm OS source code? I heard that it was available 
 at one time but got removed. does anybody still have source or know anything 
 about it?
 --
 For information on using the ACCESS Developer Forums, or to unsubscribe, 
 please see http://www.access-company.com/developers/forums/


-- 
For information on using the ACCESS Developer Forums, or to unsubscribe, please 
see http://www.access-company.com/developers/forums/


Re: Palm OS =4 Source Code

2008-12-08 Thread Dmitry Grinberg
My main question is why?
why do you even need those?

Best Regards,
Dmitry Grinberg
(847) 226 9295



On Mon, Dec 8, 2008 at 3:54 PM, Jeff Loucks [EMAIL PROTECTED] wrote:
 At one time, PalmWhomever made available PalmOS Limited Sources for OS
 v3.0, v3.5 and v4.0. They were for developer reference and cleansed of
 'secrets'. They might still be mirrored someplace. Or, since many
 developers could have them stashed away someplace, you might be able
 to convince someone to send them to you. However, not knowing the
 legality of such a transaction, convincing may be difficult.
 --
 [Jeff Loucks, Gig Harbor, WA, USA]

 --
 For information on using the ACCESS Developer Forums, or to unsubscribe, 
 please see http://www.access-company.com/developers/forums/


-- 
For information on using the ACCESS Developer Forums, or to unsubscribe, please 
see http://www.access-company.com/developers/forums/


Re: DmReleaseResource does NOT free resource

2008-12-08 Thread Dmitry Grinberg
where do you get the fact that resources are not closed?
Last i checked resources had no concept of opened/closed. All they do
have ia (1) handle lock count and (2)nvfs best-guess
number-of-references count

Best Regards,
Dmitry Grinberg
(847) 226 9295



On Mon, Dec 8, 2008 at 4:47 PM, Tam Hanna [EMAIL PROTECTED] wrote:
 Hello Folks,
 I have a very strange problem: I have a database containing bitmap resources
 which I open and close - but the resources are not closed for no particular
 reason.

 The opening is as follows:
orbs[0].orbH=DmGetResource(bitmapRsc,OrbYellow);
orbs[0].orbP=MemHandleLock(orbs[0].orbH);
orbs[1].orbH=DmGetResource(bitmapRsc,OrbPink);
orbs[1].orbP=MemHandleLock(orbs[1].orbH);
orbs[2].orbH=DmGetResource(bitmapRsc,OrbDarkGrey);
orbs[2].orbP=MemHandleLock(orbs[2].orbH);
orbs[3].orbH=DmGetResource(bitmapRsc,OrbLightBlue);
orbs[3].orbP=MemHandleLock(orbs[3].orbH);
orbs[4].orbH=DmGetResource(bitmapRsc,OrbOrange);
orbs[4].orbP=MemHandleLock(orbs[4].orbH);
orbs[5].orbH=DmGetResource(bitmapRsc,OrbLightGrey);
orbs[5].orbP=MemHandleLock(orbs[5].orbH);


 The closing is then done like this:

for(i=0;i=5;i++)
{
MemHandleUnlock(orbs[i].orbH);
DmReleaseResource(orbs[i].orbH);
}

 Weirdly, the resources are not closed.

 Anyone have any ideas why?

 All the best
 Tam Hanna



 --
 For information on using the ACCESS Developer Forums, or to unsubscribe, 
 please see http://www.access-company.com/developers/forums/


-- 
For information on using the ACCESS Developer Forums, or to unsubscribe, please 
see http://www.access-company.com/developers/forums/


Re: DmReleaseResource does NOT free resource

2008-12-08 Thread Dmitry Grinberg
that would fatal alert, codemaker :-P
read the sdk or reread your code

On 12/8/08, codemaker [EMAIL PROTECTED] wrote:
 for(i=0;i=5;i++)
 {
 MemHandleUnlock(orbs[i].orbH);
 DmReleaseResource(orbs[i].orbH);
 }

  Weirdly, the resources are not closed.

  Anyone have any ideas why?

 Yes

 for(i=0;i6;i++)
 {
 MemPtrUnlock(orbs[i].orbH);
 DmReleaseResource(orbs[i].orbH);
 }



  --

 For information on using the ACCESS Developer Forums, or to unsubscribe, 
 please see http://www.access-company.com/developers/forums/



-- 

Best Regards,
Dmitry Grinberg
(847) 226 9295

-- 
For information on using the ACCESS Developer Forums, or to unsubscribe, please 
see http://www.access-company.com/developers/forums/


Re: Getting information about other application in Palm Os

2008-12-01 Thread Dmitry Grinberg
See here: http://tinyurl.com/5o4pxd

Best Regards,
Dmitry Grinberg
(847) 226 9295



On Mon, Dec 1, 2008 at 7:43 AM, Tiago [EMAIL PROTECTED] wrote:
 I want to know how make a program which show information about the my gprs 
 internet connection, like ip adress, tcp/udp ports, quantity of bytes 
 transmited and received, and others. Then the software metioned above, make 
 any thing similar(count the traffic) and I want make a similar program. I 
 know which the Palm Os don´t have multithread, then it is possible to make 
 this in Palm Os?
 Thank´s for answers!!!

 Sorry for all if I was rugged, I didn´t know how to express!
 --
 For information on using the ACCESS Developer Forums, or to unsubscribe, 
 please see http://www.access-company.com/developers/forums/


-- 
For information on using the ACCESS Developer Forums, or to unsubscribe, please 
see http://www.access-company.com/developers/forums/


Re: Debugging a bus error

2008-11-26 Thread Dmitry Grinberg
only if the prevopis overwrite overwrote a pointer you're using at bus
error site.
Bus error means either accessing memory the does not exist (physical
address) or unaligned access (access word or halfword on non-even
address).
Since you said bus error and not fatan exception I conclude this
is emulator or PACE and thus 68k app.
check all pointer for evennes

Best Regards,
Dmitry Grinberg
(847) 226 9295



On Tue, Nov 25, 2008 at 8:04 PM, Luc Le Blanc [EMAIL PROTECTED] wrote:
 I ported a piece of mathematical C# code to MW C++ and at some point, a 
 perfectly legit API frm call causes a bus error. I suspect the error is 
 caused by some earlier memory overwrite in the ported classes. Are there 
 tricks to detect such overwrites or to test the integrity of the memory?


 Luc Le Blanc
 --
 For information on using the ACCESS Developer Forums, or to unsubscribe, 
 please see http://www.access-company.com/developers/forums/


-- 
For information on using the ACCESS Developer Forums, or to unsubscribe, please 
see http://www.access-company.com/developers/forums/


Re: White screen on app launch

2008-11-26 Thread Dmitry Grinberg
yesdraw something on it...

Best Regards,
Dmitry Grinberg
(847) 226 9295



On Wed, Nov 26, 2008 at 4:15 AM, ini [EMAIL PROTECTED] wrote:
 Hi,
 I am working on a web app. and whenever user launches the app.
 there is a white screen until all initialization ends, is there any way to 
 prevent this screen?
 Thanks, INI
 --
 For information on using the ACCESS Developer Forums, or to unsubscribe, 
 please see http://www.access-company.com/developers/forums/


-- 
For information on using the ACCESS Developer Forums, or to unsubscribe, please 
see http://www.access-company.com/developers/forums/


Re: Seeking info on implementing a vectorial sketching tool

2008-11-26 Thread Dmitry Grinberg
sounds like a topic that would benefit form some academic papers. have
you tried a search for papers on the topic on google scholar?

Best Regards,
Dmitry Grinberg
(847) 226 9295



On Wed, Nov 26, 2008 at 12:56 PM, Luc Le Blanc [EMAIL PROTECTED] wrote:
 I'm working on implementing a freehand sketching tool in my cave survey 
 freeware (http://www.speleo.qc.ca/Auriga). I must implement a small subset of 
 what CAD programs like HandlixDraw (http://www.handlix.com/) can do: recover 
 pen input, compress the series of screen points to skip the less meaningful 
 ones, find knots (inflexion points), turn that into a spline and allow 
 further editing when a knot is tapped and dragged.

 Any tip, code sample, online or book info on the data reduction, line 
 smoothing and knot-finding aspects of the problem would be appreciated. So 
 far, I found plenty of online literature on creating a spline that follows 
 knots, but nothing of the upstream processes that lead to these knots, even 
 less when considering the possibly wobbly line and the uneven dot spacing you 
 may get from sketching on a small PDA screen.


 Luc Le Blanc
 --
 For information on using the ACCESS Developer Forums, or to unsubscribe, 
 please see http://www.access-company.com/developers/forums/


-- 
For information on using the ACCESS Developer Forums, or to unsubscribe, please 
see http://www.access-company.com/developers/forums/


Re: AW: better timing than TimGetTick?

2008-11-18 Thread Dmitry Grinberg
event loop has NOTHING to do with ticks
end of story


Best Regards,
Dmitry Grinberg
(847) 226 9295



On Tue, Nov 18, 2008 at 3:43 AM, Darren Barnes [EMAIL PROTECTED] wrote:
 Thankyou very much, that has answered the question,
 following on from that,
 - it must be possible to get smaller divisions than one-hundredth, dependant
 on the
 the event-loop 'processing' speed and the specific device. Although
 milli-seconds,
 (one thousandth of a second), might not yet be possible using such
 techniques.
 regards
 Darren

 --- On Mon, 17/11/08, Harald Schlangmann [EMAIL PROTECTED]
 wrote:

 From: Harald Schlangmann [EMAIL PROTECTED]
 Subject: AW: better timing than TimGetTick?
 To: Palm Developer Forum palm-dev-forum@news.palmos.com
 Date: Monday, 17 November, 2008, 5:38 PM

 Darren,



 don't know if I get your question right…



 The time the event loop takes for one loop differs by the work that is done…
 A nilEvent will typically take less time (less than a tick) than e. g. a
 redrawing (probably several ticks).

 As I wrote below, a tick in PalmOS is 1/100s, i. e. increments 100 times a
 second, i. e. 100 Hz.



 Grüße, Harald

 -
 [EMAIL PROTECTED]
 http://www.gps-laptimer.de



 Von: Darren Barnes [mailto:[EMAIL PROTECTED]
 Gesendet: Montag, 17. November 2008 10:42
 An: Palm Developer Forum
 Betreff: Re: better timing than TimGetTick?



 Query :

 is the event loop processing being timed at tick intervals, (1 loop pass per
 tick), or

 at clock speed of the specific processor?



 regards

 Darren

 --- On Sat, 15/11/08, Dmitry Grinberg [EMAIL PROTECTED] wrote:

 From: Dmitry Grinberg [EMAIL PROTECTED]
 Subject: Re: better timing than TimGetTick?
 To: Palm Developer Forum palm-dev-forum@news.palmos.com
 Date: Saturday, 15 November, 2008, 8:08 PM

 High-resolution Timers are avilable on all PXA devices.

 See Palm SDK folder hirestimerlib



 On 11/15/08, Harald Schlangmann [EMAIL PROTECTED] wrote:

 Hi,



  one tick is 1/100s. There is no better precision available in PalmOS.



  Grüße, Harald



  -

  [EMAIL PROTECTED]

  http://www.gps-laptimer.de



  -Ursprüngliche Nachricht-

  Von: Hynek Sladky
  [mailto:[EMAIL PROTECTED]

  Gesendet: Samstag, 15. November 2008 17:47

  An: Palm Developer Forum

  Betreff: better timing than TimGetTick?





  Hi,

  I am porting one simulator app to PalmOS and I need to do real speed

  simulation. But I am not able to do it with TimGetTick because it

  usually takes less than one tick between two simulation steps. So I need

  to know more accurate time (eg. microseconds). Final device will always

  be OS5 (because of ARM native code of simulation core).



  Is there any way how to get such information?



  Thanks,

  Hynek Sladky



  --

  For information on
  using the ACCESS Developer Forums, or to unsubscribe,

  please see http://www.access-company.com/developers/forums/







  --

  For information on using the ACCESS Developer Forums, or to unsubscribe,

 please see http://www.access-company.com/developers/forums/







 --

 

 Best Regards,

 Dmitry Grinberg

 (847) 226 9295



 --

 For information on using the ACCESS Developer Forums, or to unsubscribe,
 please

 see http://www.access-company.com/developers/forums/



 --

 For information on using the ACCESS Developer Forums, or to unsubscribe,
 please see http://www.access-company.com/developers/forums/

 --
 For information on using the ACCESS Developer Forums, or to unsubscribe,
 please see http://www.access-company.com/developers/forums/

 --
 For information on using the ACCESS Developer Forums, or to unsubscribe,
 please see http://www.access-company.com/developers/forums/

-- 
For information on using the ACCESS Developer Forums, or to unsubscribe, please 
see http://www.access-company.com/developers/forums/


Re: better timing than TimGetTick?

2008-11-17 Thread Dmitry Grinberg
on 68k devices tick is 100Hz, on emulator it is 100Hz, on mac
simulator it is 60Hz, and in native arm mode it is 1000Hz

Best Regards,
Dmitry Grinberg
(847) 226 9295



On Mon, Nov 17, 2008 at 9:38 AM, Harald Schlangmann
[EMAIL PROTECTED] wrote:
 Darren,



 don't know if I get your question right…



 The time the event loop takes for one loop differs by the work that is done…
 A nilEvent will typically take less time (less than a tick) than e. g. a
 redrawing (probably several ticks).

 As I wrote below, a tick in PalmOS is 1/100s, i. e. increments 100 times a
 second, i. e. 100 Hz.



 Grüße, Harald

 -
 [EMAIL PROTECTED]
 http://www.gps-laptimer.de



 Von: Darren Barnes [mailto:[EMAIL PROTECTED]
 Gesendet: Montag, 17. November 2008 10:42
 An: Palm Developer Forum
 Betreff: Re: better timing than TimGetTick?



 Query :

 is the event loop processing being timed at tick intervals, (1 loop pass per
 tick), or

 at clock speed of the specific processor?



 regards

 Darren

 --- On Sat, 15/11/08, Dmitry Grinberg [EMAIL PROTECTED] wrote:

 From: Dmitry Grinberg [EMAIL PROTECTED]
 Subject: Re: better timing than TimGetTick?
 To: Palm Developer Forum palm-dev-forum@news.palmos.com
 Date: Saturday, 15 November, 2008, 8:08 PM

 High-resolution Timers are avilable on all PXA devices.

 See Palm SDK folder hirestimerlib



 On 11/15/08, Harald Schlangmann [EMAIL PROTECTED] wrote:

 Hi,



  one tick is 1/100s. There is no better precision available in PalmOS.



  Grüße, Harald



  -

  [EMAIL PROTECTED]

  http://www.gps-laptimer.de



  -Ursprüngliche Nachricht-

  Von: Hynek Sladky [mailto:[EMAIL PROTECTED]

  Gesendet: Samstag, 15. November 2008 17:47

  An: Palm Developer Forum

  Betreff: better timing than TimGetTick?





  Hi,

  I am porting one simulator app to PalmOS and I need to do real speed

  simulation. But I am not able to do it with TimGetTick because it

  usually takes less than one tick between two simulation steps. So I need

  to know more accurate time (eg. microseconds). Final device will always

  be OS5 (because of ARM native code of simulation core).



  Is there any way how to get such information?



  Thanks,

  Hynek Sladky



  --

  For information on using the ACCESS Developer Forums, or to unsubscribe,

  please see http://www.access-company.com/developers/forums/







  --

  For information on using the ACCESS Developer Forums, or to unsubscribe,

 please see http://www.access-company.com/developers/forums/







 --

 

 Best Regards,

 Dmitry Grinberg

 (847) 226 9295



 --

 For information on using the ACCESS Developer Forums, or to unsubscribe,
 please

 see http://www.access-company.com/developers/forums/



 --

 For information on using the ACCESS Developer Forums, or to unsubscribe,
 please see http://www.access-company.com/developers/forums/

 --
 For information on using the ACCESS Developer Forums, or to unsubscribe,
 please see http://www.access-company.com/developers/forums/

-- 
For information on using the ACCESS Developer Forums, or to unsubscribe, please 
see http://www.access-company.com/developers/forums/


Re: better timing than TimGetTick?

2008-11-15 Thread Dmitry Grinberg
High-resolution Timers are avilable on all PXA devices.
See Palm SDK folder hirestimerlib

On 11/15/08, Harald Schlangmann [EMAIL PROTECTED] wrote:
 Hi,

  one tick is 1/100s. There is no better precision available in PalmOS.

  Grüße, Harald

  -
  [EMAIL PROTECTED]
  http://www.gps-laptimer.de

  -Ursprüngliche Nachricht-
  Von: Hynek Sladky [mailto:[EMAIL PROTECTED]
  Gesendet: Samstag, 15. November 2008 17:47
  An: Palm Developer Forum
  Betreff: better timing than TimGetTick?


  Hi,
  I am porting one simulator app to PalmOS and I need to do real speed
  simulation. But I am not able to do it with TimGetTick because it
  usually takes less than one tick between two simulation steps. So I need
  to know more accurate time (eg. microseconds). Final device will always
  be OS5 (because of ARM native code of simulation core).

  Is there any way how to get such information?

  Thanks,
  Hynek Sladky

  --
  For information on using the ACCESS Developer Forums, or to unsubscribe,
  please see http://www.access-company.com/developers/forums/



  --
  For information on using the ACCESS Developer Forums, or to unsubscribe, 
 please see http://www.access-company.com/developers/forums/



-- 

Best Regards,
Dmitry Grinberg
(847) 226 9295

-- 
For information on using the ACCESS Developer Forums, or to unsubscribe, please 
see http://www.access-company.com/developers/forums/


Re: Changing Lifedrive LED color

2008-11-10 Thread Dmitry Grinberg
both leds are easily available, BUT the battery charge controller also
controls the LEDs, thus both led's states are the logical  OR of the
charge controller's wishes and yours. Furthermore both colors are used
but the HDD driver (red for write, green for read, yellow for other)

Best Regards,
Dmitry Grinberg
(847) 226 9295



On Sun, Nov 9, 2008 at 5:19 PM, Ryan Rix [EMAIL PROTECTED] wrote:
 Hi,

 According to the HackDev Linux faq on the LD
 (http://trac.hackndev.com/projects/palmld/wiki/HowToLED) the LED on the
 lifedrive consists of two diodes, a red and a green diode which can be
 combined to produce three colors: red green and yellow.

 I assume yellow is the color that the OS uses by default; is there any way to
 change this color from PalmOS userland?

 ~Ryan


 --
 Thanks and best regards,
 Ryan Rix
 TamsPalm - The PalmOS Blog

 What do you want, some witty sig quote?






-- 
For information on using the ACCESS Developer Forums, or to unsubscribe, please 
see http://www.access-company.com/developers/forums/


Re: rookie question: Crash in Disassembly

2008-11-05 Thread Dmitry Grinberg
stack overflow

Best Regards,
Dmitry Grinberg
(847) 226 9295



On Wed, Nov 5, 2008 at 12:54 PM, ini [EMAIL PROTECTED] wrote:
 Hi,
 I'm writnig an app. which worked fine until few days ago when
 it started crashing after pressing the home key.
 after dubugging it, I saw that the crash occurs after code exited
 when the Disassembler tries to unlink.
 What are the possible reasons for such a crash in Disassembly?
 Thanks, In
 --
 For information on using the ACCESS Developer Forums, or to unsubscribe, 
 please see http://www.access-company.com/developers/forums/


-- 
For information on using the ACCESS Developer Forums, or to unsubscribe, please 
see http://www.access-company.com/developers/forums/


Re: new palmos compatible device, anyone knows more detailed information about it?

2008-10-24 Thread Dmitry Grinberg
there is no 16GB of ram. it is 16GB of nand flash...
[jeez, do people not read]

Best Regards,
Dmitry Grinberg
(847) 226 9295



On Fri, Oct 24, 2008 at 9:57 AM, Mikhail Barashkov
[EMAIL PROTECTED] wrote:
 The device will be available unlocked for $750 with 16Gb RAM in Russia and
 later - in Ukraine from March 2009 - that's how they plan it.
 Mikhail Barashkov
 Handydev

 http://www.edelweiss-mobile.com/
 warning, site is in russian only and its flash only
 so google translate probably
 will not help (i didnt tried)

 from specs and images it looks nice, but in general
 there is not much written.
 is here anyone who knows more?



 --
 For information on using the ACCESS Developer Forums, or to unsubscribe,
 please see http://www.access-company.com/developers/forums/


-- 
For information on using the ACCESS Developer Forums, or to unsubscribe, please 
see http://www.access-company.com/developers/forums/


Re: PenEvents and screenX, screenY - help please

2008-10-14 Thread Dmitry Grinberg
I know there are ARM api that do get native coords. I used them all
the time. I guessed those 68k api would call them
guess not.

Best Regards,
Dmitry Grinberg
(847) 226 9295



On Tue, Oct 14, 2008 at 8:17 AM, Luc Le Blanc [EMAIL PROTECTED] wrote:
 Darren Barnes wrote:

 Have come to the conclusion that the touchscreen is configured
 to the original palm specifications, (these must have had direct
 1:1 mapping of touch sensors to screen coordinates at 160x160)
 and when 'high-density' displays were released the touch
 sensors where not updated in line with the new display
 resolutions.

 I concluded the same too. Checking my old code, I see that I must multiply 
 the coords I get from EvtGetPen or EvtGetEvent in order to obtain hi-res 
 coords. Indeed a lack of pen resolution.


 Luc Le Blanc
 --
 For information on using the ACCESS Developer Forums, or to unsubscribe, 
 please see http://www.access-company.com/developers/forums/


-- 
For information on using the ACCESS Developer Forums, or to unsubscribe, please 
see http://www.access-company.com/developers/forums/


Re: PenEvents and screenX, screenY - help please

2008-10-13 Thread Dmitry Grinberg
I haven't programmed in 68k in a long while, but I am pretty sure this will
do the trick:

Err PenGetRawPen(PointType* penP)
SYS_TRAP(*sysTrapPenGetRawPen*);

this will get the RAW ADC outputs for the pen position (as much
precision as there is)
then you can use

Then on that point you can call

Err PenRawToScreen(PointType* penP)
SYS_TRAP(sysTrapPenRawToScreen);

which will convert it to 0-160 coords. This will give you the LINEAR
scale to use to convert
now apply it yourself to the original raw point to get the coordinates
with as much precision as you wish


On 10/13/08, Darren Barnes [EMAIL PROTECTED] wrote:

 The question, more accuratly, is:

 is the touchpad input device that covers the output display configured with
 320x480(TX)
 input sensors (or 320x320, most other newer palms, etc.)

 many thanks
 all help appreciated



 --
 For information on using the ACCESS Developer Forums, or to unsubscribe, 
 please see http://www.access-company.com/developers/forums/




-- 

Best Regards,
Dmitry Grinberg
(847) 226 9295

-- 
For information on using the ACCESS Developer Forums, or to unsubscribe, please 
see http://www.access-company.com/developers/forums/

Re: PenEvents and screenX, screenY - help please

2008-10-11 Thread Dmitry Grinberg
set screen density to 144

On 10/11/08, Darren Barnes [EMAIL PROTECTED] wrote:

 Hello,
 am trying to read accurate coords for a high-resolution screen
 (either 320x320 or 320x480),
 using the coords returned from penDown, penMove, penUp events;
 event-screenX
 event-screenY
 which are single-density coords (0-159, 0-159)
 These values can be multiplied by two to get the high-resolution coords,
 but that means that half the possible values are not available.
 is there a way of returning the high-resolution coords required from the
 pen events.
 many thanks for any help, much regards
 Darren


 --
 For information on using the ACCESS Developer Forums, or to unsubscribe, 
 please see http://www.access-company.com/developers/forums/




-- 

Best Regards,
Dmitry Grinberg
(847) 226 9295

-- 
For information on using the ACCESS Developer Forums, or to unsubscribe, please 
see http://www.access-company.com/developers/forums/

Re: Programmatically dimming down the screen

2008-09-26 Thread Dmitry Grinberg
the tool you used is my app called brightnessFix.NG (or the older
version called brightnessFix.TX)

Best Regards,
Dmitry Grinberg
(847) 226 9295



On Fri, Sep 26, 2008 at 8:29 AM, Michal Seliga [EMAIL PROTECTED] wrote:
 I get strange results on a Tungsten E2. First, the brightness level returned 
 to this API when the UI slider is set on the leftmost position is 64, not 0 
 (but the rightmost position does correspond to 255). But my T3 reaches 0. It 
 must depend on device.

 If I set the slider to high brightness on my E2, calling
 SysLCDBrightness( true, 0 ); does dim the screen, although not as dim as 
 with the leftmost UI slider setting. But if I set the
 slider to lowest brightness, then the same call brings up full brightness 
 (and it gets restored when my computations are over)...

 I know that on T5 minimum brightness was too bright, i had to use some tool to
 allow less then minimal otherwise i thought my eyes will burn while in 
 darkness

 on the other hand on treo680 when you set slider to minimum screen goes
 completely black and nothing is visible

 that's probably reason why its not documented..it works a bit differently on
 every device

 --
 For information on using the ACCESS Developer Forums, or to unsubscribe, 
 please see http://www.access-company.com/developers/forums/


-- 
For information on using the ACCESS Developer Forums, or to unsubscribe, please 
see http://www.access-company.com/developers/forums/


Re: Programmatically dimming down the screen

2008-09-26 Thread Dmitry Grinberg
not on tx, LD, t5, Z72, E2, TC, TT3

Best Regards,
Dmitry Grinberg
(847) 226 9295



On Fri, Sep 26, 2008 at 1:26 PM, Tam Hanna [EMAIL PROTECTED] wrote:
 Hi,
 ok Dmitry, it may not be full.

 BUT: there is a jump in the line - at least it was on my IIIc and IMHO all
 other boxen I tested it on.

 1  2

 While

 2  3

 Get what I try to express?

 Best regards
 Tam Hanna

 Subject: Re: Programmatically dimming down the screen
 From: Dmitry Grinberg [EMAIL PROTECTED]
 Date: Wed, 24 Sep 2008 14:18:08 -0700
 X-Message-Number: 3

 1 is not full


 --
 For information on using the ACCESS Developer Forums, or to unsubscribe, 
 please see http://www.access-company.com/developers/forums/


-- 
For information on using the ACCESS Developer Forums, or to unsubscribe, please 
see http://www.access-company.com/developers/forums/


Re: Programmatically dimming down the screen

2008-09-25 Thread Dmitry Grinberg
it will work. but what device exactly do you plan to support that has
no backlight?



Best Regards,
Dmitry Grinberg
(847) 226 9295



On Thu, Sep 25, 2008 at 2:55 AM, Luc Le Blanc [EMAIL PROTECTED] wrote:
 Jeff Loucks wrote:

 Tam's sample code has the method. Here it is in one statement;

 UInt32 temp;
 Boolean fHasSWBrightnessControl =
   FtrGet(sysFtrCreator,sysFtrNumHwrMiscFlags,temp) == errNone
 
   (temp  hwrMiscFlagHasBacklight) != 0 
   FtrGet(sysFtrCreator,sysFtrNumHwrMiscFlagsExt,temp) ==
 errNone 
   (temp  hwrMiscFlagExtHasSWBright) != 0;


 I assume the first part of the test determines whether there's a backlight. I 
 had this instead, how does it compare?

 if ( SysGetTrapAddress( sysTrapHwrBacklightV33 ) != SysGetTrapAddress( 
 sysTrapSysUnimplemented ) )


 Luc Le Blanc

 --
 For information on using the ACCESS Developer Forums, or to unsubscribe, 
 please see http://www.access-company.com/developers/forums/


-- 
For information on using the ACCESS Developer Forums, or to unsubscribe, please 
see http://www.access-company.com/developers/forums/


Re: Programmatically dimming down the screen

2008-09-24 Thread Dmitry Grinberg
1 is not full

On 9/24/08, Tam Hanna [EMAIL PROTECTED] wrote:
 Hello Luc,
  long time no hear, my old friend!

  The API is a system only one called SysLCDBrightness. PLEASE in the name of
  god try out the values for the UInt8 - 0 means off, 1 means full and then
  its 2 to 255 for higher brightnesses!

  I have tested this on all kinds of HPC ranging from the humble IIIc to the
  cutting edge Centros. Here is some sample code:


 //Brightness module
 if(local.modifyscreen)
 {
 err = FtrGet(sysFtrCreator, sysFtrNumHwrMiscFlags, flags);
 if (!err)
 {
 if ((flags  hwrMiscFlagHasSWContrast))
 {
 if(local.wirelessscreen.snoopcontrast)

  local.wirelessscreen.contrast=SysLCDContrast(true,1);

  SysLCDContrast(true,local.dockedscreen.contrast);
 }
 }
 err = FtrGet(sysFtrCreator, sysFtrNumHwrMiscFlagsExt,
  flags);
 if (!err)
 {
 if ((flags  hwrMiscFlagExtHasSWBright))
 {
 int realbrightness;
 if(local.wirelessscreen.snoopbrightness)
 {

  realbrightness=SysLCDBrightness(false,2);
 switch(realbrightness)
 {
 case 0:

  local.wirelessscreen.brightness=0;
 break;
 case 1:

  local.wirelessscreen.brightness=254;
 break;
 default:
 realbrightness--;

  local.wirelessscreen.brightness=realbrightness;
 break;
 }
 }
 switch(local.dockedscreen.brightness)
 {
 case 0:
 SysLCDBrightness(true,0);
 break;
 case 1:
 SysLCDBrightness(true,2);
 break;
 default:

  realbrightness=local.dockedscreen.brightness + 1;

  SysLCDBrightness(true,realbrightness);
 break;
 }

 }
 }
 }

  All the best

 Tam Hanna



  --
  For information on using the ACCESS Developer Forums, or to unsubscribe, 
 please see http://www.access-company.com/developers/forums/



-- 

Best Regards,
Dmitry Grinberg
(847) 226 9295

-- 
For information on using the ACCESS Developer Forums, or to unsubscribe, please 
see http://www.access-company.com/developers/forums/


Re: Does FileEOF work?

2008-09-18 Thread Dmitry Grinberg
Is file open in write (or any other mode that allows writes) mode?

Best Regards,
Dmitry Grinberg
(847) 226 9295



On Thu, Sep 18, 2008 at 11:22 AM, Luc Le Blanc [EMAIL PROTECTED] wrote:
 Does the FileEOF macro work? I see that after I've read the last byte in the 
 file, FileEOF still returns 0:

 if ( !FileEOF( stream ) )

 Of course, if I attempt a read, I then get an error.

 Must I actually try to read past end-of-file to see that macro work?


 Luc Le Blanc
 --
 For information on using the ACCESS Developer Forums, or to unsubscribe, 
 please see http://www.access-company.com/developers/forums/


-- 
For information on using the ACCESS Developer Forums, or to unsubscribe, please 
see http://www.access-company.com/developers/forums/


Re: Does FileEOF work?

2008-09-18 Thread Dmitry Grinberg
which device and OS?

On 9/18/08, Luc Le Blanc [EMAIL PROTECTED] wrote:
 Dmitry Grinberg wrote:

   Is file open in write (or any other mode that allows writes) mode?


 No. I use fileModeReadOnly in FileOpen.



  Luc Le Blanc
  --
  For information on using the ACCESS Developer Forums, or to unsubscribe, 
 please see http://www.access-company.com/developers/forums/



-- 

Best Regards,
Dmitry Grinberg
(847) 226 9295

-- 
For information on using the ACCESS Developer Forums, or to unsubscribe, please 
see http://www.access-company.com/developers/forums/


Re: Does FileEOF work?

2008-09-18 Thread Dmitry Grinberg
can't help you with the sim. In general sims range between useless
and very useless. if you observe on a real device tell me which and
i'll sic my disassembler on the OS

Best Regards,
Dmitry Grinberg
(847) 226 9295



On Thu, Sep 18, 2008 at 2:05 PM, Luc Le Blanc [EMAIL PROTECTED] wrote:
 Dmitry Grinberg wrote:

 which device and OS?

 It's running on the E2 Simulator. OS 5.4.7 then. I see the problem under CW 
 9.3 running on XP.


 Luc Le Blanc
 --
 For information on using the ACCESS Developer Forums, or to unsubscribe, 
 please see http://www.access-company.com/developers/forums/


-- 
For information on using the ACCESS Developer Forums, or to unsubscribe, please 
see http://www.access-company.com/developers/forums/


Re: locking code

2008-09-09 Thread Dmitry Grinberg
1. Ftr Memory IS in the db cache so your last question is meaningless
2. Allocations ARE NOT guaranteed to be at start of heap unless you ask for
it (hence FtrPtrNEw and MemPtr new are bad for long-term allocations)
3. The code I posted allocates a chink of that size as close to the end of
the heap as possible, marks it as used and locked, and returns a pointer, to
which you may write using DmWrite
Thia way your allocation does not fragment the heap as much


Best Regards,
Dmitry Grinberg
(847) 226 9295


On Tue, Sep 9, 2008 at 6:50 AM, Lionscribe [EMAIL PROTECTED] wrote:

 Dmitry,
 Can you explain the idea behind this to us simple souls.
 I imagine you are trying to imitate MemPtrNew (with allocation at bottom of
 heap) in the dbMemory,
 but please explain.
 Also, wouldn't it be better to use feature memory, so that we can close
 database?
 Lionscribe

 --
 For information on using the ACCESS Developer Forums, or to unsubscribe,
 please see http://www.access-company.com/developers/forums/


-- 
For information on using the ACCESS Developer Forums, or to unsubscribe, please 
see http://www.access-company.com/developers/forums/

Re: locking code

2008-09-05 Thread Dmitry Grinberg
Yes, and do NOT lock it. Allocate a  new chunk and copy it there.
Allocate the new chunk AT THE END of the DbCache heap so that not to
fragment it.

void* newPtr = MemChunkNew(1/*db cache*/,size,0xA00 /* ptr at end of heap*/);
DmWrite(newPtr,0,codePTr,size);



Best Regards,
Dmitry Grinberg
(847) 226 9295



On Fri, Sep 5, 2008 at 9:27 AM, Ryan Rix [EMAIL PROTECTED] wrote:
Lock code resource 1

 Please please please consider placing the callback in its own resource and
 save memory!

 ~Ryan

 On 9/5/08, Lionscribe [EMAIL PROTECTED] wrote:

 To create notification, do not copy function to Feature memory.
 Just reopen application database with the dmModeLeaveOpen flag.
 Lock code resource 1 using DmGetResource  MemHandleLock
 This will really be a second lock, and will prevent the resource from
 being unlocked when application exits.
 Do not unlock it or close database when exiting application.
 Now just pass a pointer to the function (not the resource) when setting
 the notification.
 Lionscribe


 --
 For information on using the ACCESS Developer Forums, or to unsubscribe,
 please see http://www.access-company.com/developers/forums/



 --
 Thanks and best regards,
 Ryan Rix
 TamsPalm - The PalmOS Blog


 Jasmine Bowden - Class of 2009, Marc Rasmussen - Class of 2008, Erica
 Sheffey - Class of 2009, Rest in peace.

 --
 For information on using the ACCESS Developer Forums, or to unsubscribe,
 please see http://www.access-company.com/developers/forums/

-- 
For information on using the ACCESS Developer Forums, or to unsubscribe, please 
see http://www.access-company.com/developers/forums/


Re: locking code

2008-09-03 Thread Dmitry Grinberg
you will terribly fragment dbcache and annoy your users. for the sake
of them I ask you to completely reconsider your problem, because you
are DEFINITELY doing something wrong if your event callback spans
segments...

On 9/3/08, Hynek Sladky [EMAIL PROTECTED] wrote:
 It is because of speed. Notification through PilotMain is terribly slow (if
 it is used for eg. EventDequeuedEvent). So I need to lock all code in memory
 because it seems that sometimes it is moved by system and Palm crashes :-(
 So I am looking for way how to lock it in memory...

  Thanks,
  Hynek Sladky



  Lionscribe wrote:

  Why don't you just use the launch method, and save the hassle.
  If you are doing it to save speed, and you only need the notification in a
 few instances,
  then just have the locked function do the checking if you should handle
 it, and ifyou do then it should send it's own launch code when necessary.
  Lionscribe
 
 

  --
  For information on using the ACCESS Developer Forums, or to unsubscribe,
 please see http://www.access-company.com/developers/forums/



-- 

Best Regards,
Dmitry Grinberg
(847) 226 9295

-- 
For information on using the ACCESS Developer Forums, or to unsubscribe, please 
see http://www.access-company.com/developers/forums/


Re: locking code

2008-09-03 Thread Dmitry Grinberg
the best way (IMHO) is to not lock that much useless code (all the
other code not used by callback). To do this, compile callback to a
separate code resource, and lock that

On 9/3/08, Hynek Sladky [EMAIL PROTECTED] wrote:
 This application is in one segment only so callback function and other
 called functions are in one segment too.
  Is there any description how to write such tasks for PalmOS correctly? I
 suppose that there should be way how to use callbacks but I am not sure if I
 do it right :-)

  Thanks,
  Hynek Sladky



  Dmitry Grinberg wrote:

  you will terribly fragment dbcache and annoy your users. for the sake
  of them I ask you to completely reconsider your problem, because you
  are DEFINITELY doing something wrong if your event callback spans
  segments...
 
  On 9/3/08, Hynek Sladky [EMAIL PROTECTED] wrote:
 
 
   It is because of speed. Notification through PilotMain is terribly slow
 (if
   it is used for eg. EventDequeuedEvent). So I need to lock all code in
 memory
   because it seems that sometimes it is moved by system and Palm crashes
 :-(
   So I am looking for way how to lock it in memory...
  
   Thanks,
   Hynek Sladky
  
  
  
   Lionscribe wrote:
  
  
  
Why don't you just use the launch method, and save the hassle.
If you are doing it to save speed, and you only need the notification
 in a
   
  
   few instances,
  
  
then just have the locked function do the checking if you should
 handle
   
  
   it, and ifyou do then it should send it's own launch code when
 necessary.
  
  
Lionscribe
   
  
 

  --
  For information on using the ACCESS Developer Forums, or to unsubscribe,
 please see http://www.access-company.com/developers/forums/



-- 

Best Regards,
Dmitry Grinberg
(847) 226 9295

-- 
For information on using the ACCESS Developer Forums, or to unsubscribe, please 
see http://www.access-company.com/developers/forums/


  1   2   3   4   >