The Motorola Development Community


Go Back   MotorolaFans.com Forums > Motorola EZX Phones > A1200 General Chat
Notices

A1200 General Chat Motorola A1200 is one of Motorola's most popular EZX phone with a clear transparent flip and 2 megapixel camera.

Reply

MotoFans MODR

rn5a's Avatar

Join Date: Oct 2007
Posts: 209
Thanks: 5
Thanked 3 Times in 3 Posts
Location: Mumbai, India

Quote  
#1
12-08-2007
Question Q: How do I create Startup.txt to run Apps at Startup?

How do I make an app run automatically at startup?

If I am not mistaken, I guess this requires a file named startup1.txt (or is it startup.txt?) in the root of the TF card. I am on 08p which I think supports running apps at startup since there is a file named startup1.txt in the root of the TF card but I don't know what code has to be written in startup1.txt to make an app run automatically at startup. Can someone please help me out with this?

I went through various posts in this forum on this topic but none of them helped me.
__________________
Thanks,

Ron
===================================

IF YOU HAVE AN APPLE & I HAVE AN APPLE AND WE EXCHANGE OUR APPLES, THEN BOTH OF US WILL STILL HAVE ONLY ONE APPLE BUT IF YOU HAVE AN IDEA & I HAVE AN IDEA AND WE EXCHANGE OUR IDEAS, THEN EACH OF US WILL HAVE TWO IDEAS!
------------------------------------
A FEW DAYS BACK, I READ THAT SMOKING IS INJURIOUS TO HEALTH. SINCE THEN, I HAVE STOPPED....READING!
------------------------------------
SAVE WATER....TAKE BATH WITH YOUR NEIGHBOUR'S DAUGHTER!
Reply With Quote


User Information
Current Phone: Motorola A1200
Location: Mumbai, India

rn5a is offlineReport Post
Super Moderator

kiwiguy's Avatar

Join Date: Dec 2006
Posts: 1,103
Thanks: 9
Thanked 253 Times in 119 Posts
Location: New York / New Zealand

Quote  
#2
12-09-2007
Default

See this thread for a detailed discussion of how to get an app (in this case the clock) start up automatically at startup. It has example of code you have to use.

Some thigs to note:
  • Whether the file is called startup.txt or startup1.txt depends on your firmware - I do not have a list of what works on what firmware - so you will have to try both.
  • This may only work if you have one of the modified firmwares installed - it may not work on generic firmware - as looking for a startup file to execute on bootup was added by the writers of the monsterpacks.
__________________
FW1: R532_G_11.00.53P
FW2: R532C2_G_11.30.30P
Service: T-Mobile
Reply With Quote


User Information
Current Phone: A1200
Location: New York / New Zealand

kiwiguy is offlineReport Post
MotoFans MODR

rn5a's Avatar

Join Date: Oct 2007
Posts: 209
Thanks: 5
Thanked 3 Times in 3 Posts
Location: Mumbai, India

Quote  
#3
12-09-2007
Default

Kiwiguy, if I am not mistaken, I believe you are referring to PaulF's thread #10. I have already tried that but it doesn't work on my 08p FW (A1200). What PaulF suggested, that might be for E6 though I am not sure about it.

In fact, I came across this thread at PartialFlashFile: Get startup scripts working on 08p which involves partial flashing A1200 to run apps at startup. I did the partial flash & it does run apps at startup but I undid the partial flash because of a couple of petty problems about which I have mentioned in Q: Anyone done partial flash with CG4308p Firmware?.

Can you please help me resolve the 2 problems? I don't mind partial flashing again if I get a solution to resolve those 2 petty issues.

Moreover after partial flashing, I don't know why PKG apps refuse to install when I try to install them using MPKG (about which I have mentioned in HELP - PKG Apps Refuse To Install) but that's not a major issue since I can install PKG apps using SmartAssistant. Strangely SmartAssistant refuses to install VolumeUp.pkg (to increase the volume of the loudspeaker). When I tap VolumeUp.pkg, SmartAsistant first asks me whether I would like to install VolumeUp or not. When I click Yes, after around 15 seconds, SmartAssistant generates a message saying Non standard MPKG form!
__________________
Thanks,

Ron
===================================

IF YOU HAVE AN APPLE & I HAVE AN APPLE AND WE EXCHANGE OUR APPLES, THEN BOTH OF US WILL STILL HAVE ONLY ONE APPLE BUT IF YOU HAVE AN IDEA & I HAVE AN IDEA AND WE EXCHANGE OUR IDEAS, THEN EACH OF US WILL HAVE TWO IDEAS!
------------------------------------
A FEW DAYS BACK, I READ THAT SMOKING IS INJURIOUS TO HEALTH. SINCE THEN, I HAVE STOPPED....READING!
------------------------------------
SAVE WATER....TAKE BATH WITH YOUR NEIGHBOUR'S DAUGHTER!
Reply With Quote


User Information
Current Phone: Motorola A1200
Location: Mumbai, India

rn5a is offlineReport Post
Reply

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

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


All times are GMT. The time now is 01:16 PM. Search Engine Friendly URLs by vBSEO 3.2.0 Powered by vBulletin® Version 3.7.2
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd. VBulletin Skin by ForumMonkeys.