PPCGeeks Forums HTC Arrive HTC HD2 HTC Thunderbolt HTC Touch Pro 2 HTC Evo 4G HTC Evo 3D Samsung Galaxy S II Motorola Droid X Apple iPhone Blackberry
Go Back   PPCGeeks > Windows Mobile > WM HTC Devices > HTC Apache
Register Community Search

Notices


Reply
 
LinkBack Thread Tools Display Modes
  #41 (permalink)  
Old 04-04-2007, 07:27 PM
andason's Avatar
Halfway to VIP Status
Offline
Pocket PC: HTC Mogul, HTC Apache
Carrier: Sprint
Threadstarter
Location: At Home
 
Join Date: Nov 2006
Posts: 504
Reputation: 210
andason is keeping up the good workandason is keeping up the good workandason is keeping up the good work
Mentioned: 0 Post(s)
Tagged: 0 Thread(s)
Send a message via ICQ to andason
Hey fellers,

I've been in contact with ArianeSoft (forums) regarding some of the issues I was having with the sliding lock and the launcher. I believe I got answers to both for the memory issue and why I couldn't get the launcher to load properly.

Also, I asked them about the possibility of a coupon code for the ppl software which was used by the original author of this sliding lock app.

For those interested you can go to http://www.arianesoft.ca/page.php?1 and download a free trial copy to play with for 30 days i believe?

Afterwards, if you wish to purchase ppl, the prez of arianesoft sent me a coupon code worth 25%. It's valid for only 1 month. I purchased the software with paypal, but I believe other is accepted.

The coupon code # is PPCGEEKS

Now.. understand that I have a big fat zero affliation with arianesoft and I'm only passing this along because their support, so far, has been great and the software is pretty easy to use. The closest I ever came to programming is very little visual basics. Plus, i'd like some help from you all in learning this ; )

I will be playing with the sliding lock and launcher some more this weekend and will try to post what I can do.
Reply With Quote
  #42 (permalink)  
Old 04-04-2007, 08:32 PM
andason's Avatar
Halfway to VIP Status
Offline
Pocket PC: HTC Mogul, HTC Apache
Carrier: Sprint
Threadstarter
Location: At Home
 
Join Date: Nov 2006
Posts: 504
Reputation: 210
andason is keeping up the good workandason is keeping up the good workandason is keeping up the good work
Mentioned: 0 Post(s)
Tagged: 0 Thread(s)
Send a message via ICQ to andason
Oh.. I would recommend buying the pro version.
Reply With Quote
  #43 (permalink)  
Old 04-04-2007, 08:41 PM
blazingwolf's Avatar
VIP Member
Offline
Pocket PC: Samsung Omnia i910
Carrier: Verizon
 
Join Date: Dec 2006
Posts: 2,599
Reputation: 3495
blazingwolf is still contributing even after becoming a VIPblazingwolf is still contributing even after becoming a VIPblazingwolf is still contributing even after becoming a VIPblazingwolf is still contributing even after becoming a VIPblazingwolf is still contributing even after becoming a VIPblazingwolf is still contributing even after becoming a VIPblazingwolf is still contributing even after becoming a VIPblazingwolf is still contributing even after becoming a VIPblazingwolf is still contributing even after becoming a VIPblazingwolf is still contributing even after becoming a VIPblazingwolf is still contributing even after becoming a VIP
Mentioned: 0 Post(s)
Tagged: 0 Thread(s)
Thanks for the leg work on this. I have been thinking about buying PPL and you just made it easier.
__________________
Moto Droid
I make ROMs because I like to. If you want to buy me a Pepsi though: Donate

Follow me on mytabletlife.com
Reply With Quote
  #44 (permalink)  
Old 04-04-2007, 10:37 PM
angel12's Avatar
Regular 'Geeker
Offline
Pocket PC: vogue/titan/omnia/ sprint touch pro gone vzw
Carrier: vzw
Location: New Mexico
 
Join Date: Jan 2007
Posts: 326
Reputation: 90
angel12 is becoming a great contributor
Mentioned: 0 Post(s)
Tagged: 0 Thread(s)
andason: im with you on the very little programing experience, but this program seems pretty easy to use, so thanks to arianesoft for making such a great app!

As for the memory issues/ speed of the loading, i have both the original locker and ppcgeeks launcher in the same folder, and the gfx folder is the one from the original build, and they still both take forever to load up, but the new one takes at least 4 times as long. So im trying to compare the source code of both the builds to see exactly what could be taking it so long to load.

Could part of it be the time it takes for the app to get the recent calls info and the txt message info? the only thing i cant figure out right now is how you fixed teh clock in your build, the code for the time looks exactly the same in both builds, yet the initial build shows the wrong time (time zone info maybe??)

doing all i can to help!

edit: I am 99.9% sure the slowness of the new launcher is from trying to see the last call and text message and any other things that were added as such. I can run the original "slide" app in the ppcgeeks folder and it uses the same backgrounds and such yet loads 4 times as fast. but the clock is wrong, and i believe i found the issue with that too . now i just need to buy ppl and test them on my apache
__________________
The three most dangerous things in the world are a programmer with a soldering iron, a hardware type with a software patch and a user with an idea
Reply With Quote
  #45 (permalink)  
Old 04-04-2007, 10:58 PM
andason's Avatar
Halfway to VIP Status
Offline
Pocket PC: HTC Mogul, HTC Apache
Carrier: Sprint
Threadstarter
Location: At Home
 
Join Date: Nov 2006
Posts: 504
Reputation: 210
andason is keeping up the good workandason is keeping up the good workandason is keeping up the good work
Mentioned: 0 Post(s)
Tagged: 0 Thread(s)
Send a message via ICQ to andason
Any and all help is certainly appreciated, both to get the bugs worked out and just in learning : )

The only change I made to correct the time is on line 85

GetSystemTime(&st$); (original)

GetLocalTime(&st$); (modified)

In regards to the memory load, I was wondering the same about the recent calls and such, but, i believe it started before that. ??

I believe somehow the problem with not being able to maintain the large font of the clock and the memory issue are related - maybe not exact, but related. Ever since I couldn't get the large font, the memory hog started i think.

If you check out the line

font$ = g_loadfont("Arial", 40, RGB(255, 255, 255), NULL);

in the original, you will see my modified is

font$ = g_loadfont("Arial", 14, RGB(255, 255, 255), NULL);


That was the only way I could get it to not give me a font error and actually compile. But I'm totally baffled why the original would work, unless my version of ppl and the one that was used to write this code are the issue.

Also, just to let ya know, the last email I got from arianesoft mentioned something similar after reading this post here at ppcgeeks:

"After reading the thread a bit I can tell you that the memory issue probably has something to do with the g_loadfont, which has been fixed in the latest un-released yet version 1.24."

So, we will see : )

In regards to the launcher app -

I was finally able to get the code to load, but i'm still getting some errors.
(By the way, the time fix should work the same)

Gluck and please share :P
Reply With Quote
  #46 (permalink)  
Old 04-04-2007, 11:21 PM
andason's Avatar
Halfway to VIP Status
Offline
Pocket PC: HTC Mogul, HTC Apache
Carrier: Sprint
Threadstarter
Location: At Home
 
Join Date: Nov 2006
Posts: 504
Reputation: 210
andason is keeping up the good workandason is keeping up the good workandason is keeping up the good work
Mentioned: 0 Post(s)
Tagged: 0 Thread(s)
Send a message via ICQ to andason
By the way.. I agree that the extra code and work for getting the last call, sms and such will increase memory usage, but the amount that 6700yuma reports seems a little much for something as simple - UNLESS my code is incorrect for getting it. : )

p.s.

Here is a post at arianesoft regarding g_font

The reason is because the g_loadfont has to create a surface with all the characters to be displayed. Right now it creates a surface with 4096 characters possible to support unicode character sets. So you definitely run out of memory.

In version 1.24 I am modifying the PPL to have a new function to enable unicode characters. The default will always be 255 characters, this way you won't run into memory problems.
Reply With Quote
  #47 (permalink)  
Old 04-05-2007, 12:46 AM
angel12's Avatar
Regular 'Geeker
Offline
Pocket PC: vogue/titan/omnia/ sprint touch pro gone vzw
Carrier: vzw
Location: New Mexico
 
Join Date: Jan 2007
Posts: 326
Reputation: 90
angel12 is becoming a great contributor
Mentioned: 0 Post(s)
Tagged: 0 Thread(s)
yeah, i just caught the edit you made to the time in the source. Since im unable to compile it (i have no idea what to do with the software to compile it, still on the learning curve.) i am not much use right now. I know some people suggested that the second's countdown could go away, and just leave hours and minutes, that might help (at least i think so) with the loading times
Reply With Quote
  #48 (permalink)  
Old 04-05-2007, 02:27 PM
Perasite's Avatar
Retired Staff
Offline
Pocket PC: HTC Touch Pro
Carrier: Sprint
Location: Yuma, AZ
 
Join Date: Sep 2006
Posts: 1,929
Reputation: 2026
Perasite is a VIPPerasite is a VIPPerasite is a VIPPerasite is a VIPPerasite is a VIPPerasite is a VIPPerasite is a VIPPerasite is a VIPPerasite is a VIPPerasite is a VIPPerasite is a VIP
Mentioned: 0 Post(s)
Tagged: 0 Thread(s)
OK, I've fixed the launcher to show local time (still uses the same graphics as the original iPh... version) It looks like v. 1.23 of the PPL uses a new unicode font process that is causing our errors with the slide lock. v. 1.22 doesn't seem to have that problem, and the developer says 1.24 won't have the problem either. I'm going to try the 1.22 and see if I can get the original slide lock to compile.

Edit: I have fixed the old fish one to show the local time. Load time is now 3-4 seconds (much faster) The TSlauncher.zip now includes the fixed launcher and the fixed fish slide lock.

I also fixed the latest PPCgeeks slide lock. It is attached. 3-4 second load and much smaller memory footprint, about 5.8 MB by my rough measurement.
Attached Files
File Type: zip ppcgeeks_135.zip (523.5 KB, 70 views) Click for barcode!
File Type: zip tslauncher_708.zip (1.19 MB, 88 views) Click for barcode!
__________________
Now with VGA support on all software!

Projects: (PeraStats 1.7) (PeraCount with Clock 1.3) (PeraCount 1.3) (PeraProfiler 1.2) (S2U2Lock 1.1)
Reply With Quote
  #49 (permalink)  
Old 04-05-2007, 05:51 PM
mike1224's Avatar
PPCGeeks Regular
Offline
Pocket PC: Treo 800w
Carrier: Sprint
Location: Aurora, CO
 
Join Date: Nov 2006
Posts: 81
Reputation: 80
mike1224 is becoming a great contributor
Mentioned: 0 Post(s)
Tagged: 0 Thread(s)
could we get a screen shot of the slider please??
Reply With Quote
  #50 (permalink)  
Old 04-05-2007, 07:10 PM
andason's Avatar
Halfway to VIP Status
Offline
Pocket PC: HTC Mogul, HTC Apache
Carrier: Sprint
Threadstarter
Location: At Home
 
Join Date: Nov 2006
Posts: 504
Reputation: 210
andason is keeping up the good workandason is keeping up the good workandason is keeping up the good work
Mentioned: 0 Post(s)
Tagged: 0 Thread(s)
Send a message via ICQ to andason
Thanks 6700yuma.

Did the 1.22 version allow you to fix it? I downloaded two other versions but had errors out of them.

Thanks again!
Reply With Quote
Reply

  PPCGeeks > Windows Mobile > WM HTC Devices > HTC Apache


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


All times are GMT -4. The time now is 10:43 AM.


Powered by vBulletin® ©2000 - 2025, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.6.0
©2012 - PPCGeeks.com