Re: [android-beginners] Custom installation

2010-04-02 Thread Mark Murphy
Vladyslav Namashko wrote:
 Is there a possibility to create custom installation for android app
 with possibilities to:
 1) include user agreement in the installation procedure

No, not using the SDK. You will need to display the user agreement when
the application is run and not let the user proceed in the application
until they accept the agreement.

 2) make one installation for two .apk packages, that should be
 installed successively in appropriate order.

No, not using the SDK. An APK is an APK -- an APK is not two APKs. You
can have an APK download another APK and ask to have it installed, but
the user will then need to go through the screens to review and accept
that second installation, and you will have two entries in the user's
Manage Applications list.

You could also have an APK have another APK inside of it (e.g., in
assets/), but then you will be taking up a *lot* of extra on-board flash
space, which will not make you popular. And, the user will still need to
go through the screens to review and accept that second installation,
and you will still have two entries in the user's Manage Applications
list.

-- 
Mark Murphy (a Commons Guy)
http://commonsware.com | http://twitter.com/commonsguy

Android 2.x Programming Books: http://commonsware.com/books

-- 
You received this message because you are subscribed to the Google
Groups Android Beginners group.

NEW! Try asking and tagging your question on Stack Overflow at
http://stackoverflow.com/questions/tagged/android

To unsubscribe from this group, send email to
android-beginners+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-beginners?hl=en

To unsubscribe, reply using remove me as the subject.


Re: [android-beginners] Custom installation

2010-04-02 Thread Chris Ross

On Apr 2, 2010, at 7:19 AM, Mark Murphy wrote:
 Vladyslav Namashko wrote:
 2) make one installation for two .apk packages, that should be
 installed successively in appropriate order.
 
 No, not using the SDK. An APK is an APK -- an APK is not two APKs. You
 can have an APK download another APK and ask to have it installed, but
 the user will then need to go through the screens to review and accept
 that second installation, and you will have two entries in the user's
 Manage Applications list.
 
 You could also have an APK have another APK inside of it (e.g., in
 assets/), but then you will be taking up a *lot* of extra on-board flash
 space, which will not make you popular. And, the user will still need to
 go through the screens to review and accept that second installation,
 and you will still have two entries in the user's Manage Applications
 list.

  Not that I'm sure of this, but couldn't there be an application that did the 
installation, and after installing the one or two APK's packaged within it, it 
could then delete itself?  That would avoid the extra flash space usage issue.

  There would still be the issue of having to interact with the user for the 
later installation(s), but...

- Chris

-- 
You received this message because you are subscribed to the Google
Groups Android Beginners group.

NEW! Try asking and tagging your question on Stack Overflow at
http://stackoverflow.com/questions/tagged/android

To unsubscribe from this group, send email to
android-beginners+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-beginners?hl=en

To unsubscribe, reply using remove me as the subject.


Re: [android-beginners] Custom installation

2010-04-02 Thread Mark Murphy
Chris Ross wrote:
 Not that I'm sure of this, but couldn't there be an application that
 did the installation, and after installing the one or two APK's
 packaged within it, it could then delete itself?  That would avoid
 the extra flash space usage issue.

I am not aware of a way for an application to delete itself. You can
remove yourself from the launcher by disabling that activity, but you're
still installed.

-- 
Mark Murphy (a Commons Guy)
http://commonsware.com | http://twitter.com/commonsguy

_Beginning Android 2_ from Apress Now Available!

-- 
You received this message because you are subscribed to the Google
Groups Android Beginners group.

NEW! Try asking and tagging your question on Stack Overflow at
http://stackoverflow.com/questions/tagged/android

To unsubscribe from this group, send email to
android-beginners+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-beginners?hl=en