Download the free trial version
Basic4android Video
Features
Tutorials and manuals
Showcase
Screenshots

Go Back   Android Development Forum - Basic4android > Basic4ppc (Windows Mobile) > Questions (Windows Mobile)
Documentation Wiki Register Members List B4P Search Today's Posts Mark Forums Read

Questions (Windows Mobile) Post any question regarding Basic4ppc.

Can i use Basic4PPC to run a program whilst a device is in 'standby'

Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 02-12-2008, 07:01 PM
Newbie
 
Join Date: Feb 2008
Posts: 1
Default Can i use Basic4PPC to run a program whilst a device is in 'standby'

Hi, I'd like to get into development for ppc's, although i've only got experiance with vb, mainly vba, which i have a habbit of going into deep and amazing myself with what i do but no one else!

since having a ppc device and learning that mobile excel doesn't have macro's (which is a pain for me as i'm so used to using vba in excel i'd forgotten how to do things using formula!, excel has been my main development testing for the last few years now, although with the introduction of 2007 I see that coming to an end)

Anyways, at the moment, I've had a little go at this basic, quite impressed so far, made a small program, well a very basic test program that just counts seconds, but i'm very confused about one thing...

basically I want a program to be able to run in the background, at first I was surprised when i pressed the litte x on my ppc it actually closed, secondly, when i put my phone into 'standby' I want to be able to decide weather or not it will run in the background, ie, like you can set windows media player to play audio even in standby or not.

Is it possible using basic4ppc to allow a program to do this, so far i've just made a super simple counting app just to test how it works, now i've never done anything on ppc before, or any thing else other than vb/vba!

I'm a bit confused as sometimes it counts up the seconds when i press the standby button on the device, sometimes it counts up in the background, sometimes it doesn't.

I'm sorry if my post is quite long! i have a bad habbit of writing too much then seeing how much i wrote and being to lazy to edit it
Reply With Quote
  #2 (permalink)  
Old 02-12-2008, 08:48 PM
RandomCoder's Avatar
Basic4ppc Expert
 
Join Date: May 2007
Location: Derbyshire, UK
Posts: 623
Awards Showcase
Beta Tester 
Total Awards: 1
Default

First of all I'd like to welcome you to the forum, you've come to the right place.

Your programs can run with the device in standby.
What you need to understand is that running programs on the device using the B4PPC editor is different to running a compiled B4PPC program.
Clicking the 'x' when running in the IDE will close your program and take you back to the designer, however with a compiled App you can minimise the Form by using the FormLib in which case the Form will just be hidden and you need to provide a way of closing the Form via a button or menu option.
Compiled Apps also run much faster.

Hope this covers your questions.

Regards,
RandomCoder
__________________
"Defeat never comes to any man until he admits it."Josephus Daniels
Reply With Quote
  #3 (permalink)  
Old 02-13-2008, 06:30 AM
Erel's Avatar
Administrator
 
Join Date: Apr 2007
Posts: 15,733
Awards Showcase
Basic4ppc Founder 
Total Awards: 1
Default

What do you mean with standby?
When the device is turned off the CPU stops running and all applications stop.
Reply With Quote
  #4 (permalink)  
Old 08-03-2009, 09:50 PM
Newbie
 
Join Date: Aug 2009
Posts: 2
Default Get audio level

off topic,... sorry i clicked Post Reply, i thing it was "create thread"...

Last edited by cschle : 08-03-2009 at 09:51 PM. Reason: wrong post
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

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

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

Similar Threads
Thread Thread Starter Forum Replies Last Post
running .cab files from a program on the device Louis Questions (Windows Mobile) 3 10-27-2008 08:00 PM
Basic4ppc Program Template alfcen Share Your Creations 3 02-12-2008 02:53 AM
DEVICE, Icon and program association. taximania Share Your Creations 2 01-05-2008 07:20 PM
Pocket PC IRC written entirely in Basic4ppc Shareware Program Louis Share Your Creations 0 06-14-2007 07:36 PM
Open serial port crashes program on device Steve Bug Reports 2 05-23-2007 09:52 PM


All times are GMT. The time now is 06:54 AM.


Powered by vBulletin® Version 3.6.12
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.3.0