PowerBasic x64

Started by Douglas McDonald, January 17, 2010, 03:00:22 PM

Previous topic - Next topic

Robert Eaton

I have a Droid X and since the Froyo update I've been very happy with the battery life.
I do have to charge nightly but that seems to be par for a smart phone if you use it much. I use the X quite a bit and it lasts all day with no problem.

I get poor reception in my office at work because it's not near any windows. When I first got a Razr the battery would die by 2pm. I had the phone clipped to my belt and I discovered that if I simply moved if from my right side to my left side, the battery would then last all day.  :o

Jim Dunn

Quote from: Cho Sing Kum on January 13, 2011, 11:23:47 AMI am still very new to PureBasic still poking around but I will try to answer.

Kum, I also wanted to ask if PureBasic was working well for you.

I tried it recently, on my Windows 7 box, but the PureBasic 32-bit Demo "Visual Designer" had problems.  I would add a Tab Control, and then click the "+" to add a 2nd tab... and it would jump up to the top left corner of my screen and wouldn't let me move it back, would have to exit to get control.

So I tried to compile just with 1 tab, and got an error " Deprecated Function 'CreateGadgetList()' " which scared me.

I guess their VD hasn't caught up with their IDE...  : (
3.14159265358979323846264338327950
"Ok, yes... I like pie... um, I meant, pi."

Cho Sing Kum


Hi Jim,

"Do the iPhone's need charging every night?"

My kids are in their teens and still schooling so their usage may defer from the normal adult working. I bot the iPhones during their Dec school holidays and they were exploring a lot with the phones and also with apps store and games. The batteries ran down quite fast at that time. Now, its school time and I don't see them charging every night. Do note that the iPhone has a smaller 3.5" screen.

I am a very small user of the phone, so now my HTC only need to be charged maybe 3 days.

Like Robert, I use a Motorola Razr (V3i) for many years. It would go a few days with each charge. When I was on holiday in HK last June, the juice ran out in half a day. On the 3rd day I checked - it kept looking for a connection and that ran down the battery.

So to conserve battery on present smartphones, will need to turn off Wifi, bluetooth, data sync, etc. when not needed.


Rolf Brandt

I have two Android phones at present - an HTC Desire (3.7" screen) and a Samsung Galaxy Tab.

The HTC Desire usually makes 2 to 3 days with mobile UMTS connection on only. If I leave WiFi constantly on it goes down to about 36 hours. So I switch WiFi of when I leave the house.

The Samsung Tablet needs charging every 3 to 4 days with heavy use, with lighter use up to a week. During the first couple of days of course I needed to recharge every two days because of the extreme use (Screen on for several hours). I leave WiFi and mobile connection on all the time. The tablet automatically switches between the two connections, which means it constantly scans for WiFi.

I noticed also that the Desire's processor constantly runs at higher speeds even if nothing is done since I updatet to FroYo. Processor speed seldem goes unter 500 Mhz. With Eclair it went down to below 200 Mhz.

The Samsung tablet (also FroYo) goes down to 100 Mhz when idle.
Rolf Brandt
http://www.rbsoft.eu
http://www.taxifreeware.com
I cook with wine, sometimes I even add it to the food.
(W. C. Fields)

Cho Sing Kum

#19
Hi Jim,

The VD that ships is end-of-life. It was written by Bericko and he no longer has the time. Fred is re-writing it to also work cross-platform native 32-bit and native 64-bit in PureBasic tradition.

http://forums.purebasic.com/english/viewtopic.php?f=22&t=35699&sid=e78bffd97217673caf178b9bf9c3cce1


I see recommendations for PureFORM:

http://forums.purebasic.com/english/viewtopic.php?f=25&t=23529&sid=e78bffd97217673caf178b9bf9c3cce1

http://forums.purebasic.com/english/viewtopic.php?f=22&t=31679&sid=e78bffd97217673caf178b9bf9c3cce1


I have tried coding the GUI by hand. It is actually quite easy and is something like Dialog commands in PowerBASIC.

Edited to add:
I forgot about your Tab control example and adding tabs. You can see how it can be done manually from the Gadget.pb example.

Jim Dunn

#20
Quote from: Cho Sing Kum on March 07, 2011, 03:25:57 AMI have tried coding the GUI by hand. It is actually quite easy and is something like Dialog commands in PowerBASIC.  You can see how it can be done manually from the Gadget.pb example.

Ok, thx!!

EDIT:  Wow, it's quite a bit different from PowerBASIC, but I see that if you buy once, you get lifetime updates free, and they have 32 and 64 bit compilers, and compilers for Windows, Linux, and MAC.  I guess I need to figure out my priorities.
3.14159265358979323846264338327950
"Ok, yes... I like pie... um, I meant, pi."