2011/9/30 skink <[email protected]>:
>
>
> On Sep 30, 10:01 am, Kristopher Micinski <[email protected]>
> wrote:
>> How are you building your app, with an ant script?
>>
>> I feel like there's probably a task to do this, but I'm still not sure
>> exactly why you'd need this.
>>

>
> Yes there is replace task:
>
> http://devdaily.com/blog/post/java/examples-ant-replace-task-command
>

Combine that with  <tstamp/> or just use <echo/> to create a text file with the
date, version number, etc., copy to assets, read from assets when displaying
the about screen.

If you are using Maven, there used to be a buildnumber plugin or similar.

Not sure if Eclipse or ADT has any pre-build hooks for this.

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Reply via email to