Hi,
(questions are marked with *?*, where ? is a letter).
I took a while to read all posts about people trying to create
installation approaches for android.
There are basic two approaches:
1. Put app+data it in the apk.
2. Put app in the apk and download data from somewhere
Most of my users
Good morning, Mark (et al).
That depends on where the data is installed. Data on the SD card
survives an uninstall. Everything else is removed.
And can the apk install files in the sd card?
*b* One option i imagine would be to use tar.gz or even zip. Is it
possible to use tar.gz in the
Can a program call the uninstaller of itself?
thx
guich
--
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
Hi,
Can i create a package (apk) that has no activities, but only a View?
If yes, what exactly i have to change in the manifest to allow this?
The view will be in package A, and the activity will be in package B.
How can a class in B instantiate the view in A?
Any tips are welcome.
Ps: package
Hi,
Thanks for the reply. Is there a way to prevent the application list
from displaying an apk?
I'll try to do another approach: use shareUserId and using two
activities, one calling the other. Once (if) i succeed, i'll post the
results here to help others.
guich
--
You received this message
Well... Very strange that Android doesn't support the creation of
application libraries...
I putted this in the xml:
android:sharedUserId=totalcross
But when i run, i get INSTALL_PARSE_FAILED_BAD_SHARED_USER_ID
Seems that it is not correctly formed... any tips of a valid shared
user id?
I thought that the debugging signature (which is the same for all
applications) would work... since i'm using the emulator.
thx
guich
--
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to
Hi,
I used the option wipe user data and tried to reinstall the package.
The problem occurs with the very first installed package using the id.
In other words: the emulator if fully clean, and when i try to install
the first package, the error occurs. It occurs with all packages i try
to install
Also, i just tried to sign with another key and it gives the same
result:
R:\adb install tcvm-android.apk
914 KB/s (614355 bytes in 0.656s)
pkg: /data/local/tmp/tcvm-android.apk
Failure [INSTALL_PARSE_FAILED_BAD_SHARED_USER_ID]
guich
--
You received this message because you are
Got it.
Althought not mentioned anywhere, the id must have dots. Seems to be a
restriction: it must be in the form of a package. So, i used
totalcross.app.sharedid and it succeed.
HTH,
guich
--
You received this message because you are subscribed to the Google
Groups Android Developers
Hi,
This is a really odd bug. Seems that if you try to access the /data/
data folder, the emulator bails out after some seconds.
Try this:
adb shell ls -l /data/data
Wait 1 minute, then try again: it will say: error: device not found.
This happens in eclipse's File Explorer too.
Hope it will
Hi,
I got it working with this:
public class Stub extends Activity
{
/** Called when the activity is first created. */
public void onCreate(Bundle savedInstanceState)
{
//super.onCreate(savedInstanceState);
Intent intent = new Intent(android.intent.action.MAIN);
I have one more question: can i load the view of another package,
instead of calling another activity?
In the sample above, i would call setContentView(LoaderView) someway.
This would be perfect for me.
thx
guich
--
You received this message because you are subscribed to the Google
Groups
Hi,
I've been using System.exit to quit the application. Is
Activity.finish a better approach? What would be the differences?
thx
guich
--
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to
I just found the answer to one more question: how to remove from the
launchers list an application. All you have to do is remove the
category
android:name=android.intent.category.LAUNCHER /
From your AndroidManifest.xml file. Then uninstall the app and install
again (if you
Hi,
I decided to install Ubuntu based on some advices of users in this
forum. After a few problems, i could run eclipse and install the
plugin and the sdk.
However, when i start the emulator, it shows the animated android logo
and the home screen never appears (already waited 30 minutes...).
Hi,
Can you post your solution? It will help others (like me :-))
thx
guich
--
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send
I just got this problem and found the answer.
See this:
http://osdir.com/ml/AndroidDevelopers/2009-04/msg03665.html
and follow the steps commented with
Works fine, but it will be better if Google make the Stack tool
public.
regards
guich
--
You received this message because you are
Side note: this can be done when using only java. But if you call the
blocking dialog from C, then this approach will not work.
IMHO, i think that Google should have provided a way to let we make
them process the events. This way, we could do (like in all other
platforms):
popup dialog
while
Hi,
1. Get rid of all get/set methods.
2. Eliminate some of the System.currentTimeMillis (two consecutive
calls leads to the same number)
3. Save a reference to the current object inside the array instead of
accessing an array lots of times (e.g.: asteroids[i])
4. Most important: don't call
Hi,
I already had about 4 messages deleted from this forum. :-(
They were serious questions that i had and some moderator is simply
deleting them. Now i'm unable to get help to my issues. I have an
important project that must be delivered in Feb 1st and this attitude
of the moderators is
Ah... indeed. now i understand the problem. You're a Java developer...
I think that someone could tell us how to get access to the
libskia.so? If they can tell, i can get you the line numbers. Although
i'm not confident that this will help.
regards
guich
--
You received this message because
Hi,
I know that Google elected Windows XP (eXtra Problems) to be the
minimum operating system, but was anyone here able to run it on win2k?
Being able to run the emulator OR install the native driver (to debug
in the device) would be enough.
I really would not like to have to buy a new computer
Hi,
I remember that i saw the messages when i posted at home, then when i
got at office, i didn't found the messages. I searched for guich (my
nickname) and i didn't find the message anymore.
best regards
guich
--
You received this message because you are subscribed to the Google
Groups
Yes, you can send me it privately the file.
How will you fetch the libskia from Droid?
regards
guich
--
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to android-developers@googlegroups.com
To
Hi Greg,
That's not exactly the kind of answer i wanted... i live in Brazil and
here the good computers are more pricey than in USA (although my
notebook is from usa).
Anyway, i'm a Java developer since 1998 (and a C developer since 1984)
and my win2k notebook really rocks. I love it and i won't
Hi Kevin,
I have a G2. Can ubuntu debug on it? Maybe it will be the solution
thanks
guich
--
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from
Thanks for all suggestions. I'll try to run linux, either in a
partition or in virtualbox.
cheers
guich
--
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to android-developers@googlegroups.com
To
Here are the results:
$ addr2line -f -e libskia.so
0x4a6c4
_ZN8SkBitmapaSERKS_
??:0
0x4a788
_ZN8SkBitmapC1ERKS_
??:0
0x6856c
_ZN8SkDeviceC1ERK8SkBitmap
??:0
0x63cec
_ZN8SkCanvas15setBitmapDeviceERK8SkBitmap
??:0
Seems to be related to bitmap...
good luck
guich
--
You received this message
Thanks, very good document.
I have a question: Note that in order to retain security, only two
applications signed with the same signature (and requesting the same
sharedUserId) will be given the same user ID
Does this means that its impossible to have 3 or more applications
sharing the same
Hi,
I'm not yet familiar with the android terms...
I have a library (a view) that has a simple activity. How can i make
it available to any application?
I can explain in details: i have a virtual machine that is composed of
0.1% java code and 99.9% c code. Basically, the java code process
Hi,
I have the following situation:
library L, and three applications, A ,B and C
A should access data in L and L should access data in A
B should access data in L and L should access data in B
C should access data in L and L should access data in C
However, A, B and C should NOT be able to
Answering my own question:
http://developer.android.com/reference/android/R.attr.html#sharedUserId
.. says that many packages can share the same id. So, i would suggest
that the document should be updated to inform that, instead of saying
that only 2 are allowed.
regards
guichh
--
You
Hi,
I want to install some data files in the data/data/package folder.
These data files are mixed-case. Can apk do this someway?
If this is not possible, i was thinking in the creation of a packages,
like a zip file. Then, when my app first runs, i would decompress the
files into the
The fix to this problem is call:
setFocusableInTouchMode(true);
guich
--
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email
Thanks. Not a big problem for me because my software requires 1.6.
cheers
guich
--
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group,
Hi,
I know that we can safely write to /data/data/app_package... however,
can the application also create folders and maybe access other folders
as well, such as system?
I could easily create an application to test that, but what i really
want to know if the official Android approach to this
Hi,
So, in a production device, we can't access any folder besides the
data/data/package? Not even create a folder at the root?
thanks
guich
--
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to
Hi,
I have one apk that installs at folder data/data/totalcross.android.
Now i have another application that should install the files in that
folder. How can i create a apk that does this?
thanks in advance
guich
ps: dear moderator, if this question should not belong to this forum,
please
Hi,
I have this View:
public class Launcher4A extends SurfaceView implements
SurfaceHolder.Callback, OnKeyListener
{
public Launcher4A(Context context)
{
super(context);
System.loadLibrary(tcvm);
instance = this;
surfHolder = getHolder();
I've opened a bug report.
guich
--
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
Hi,
I have a project thas has this tree:
x/src/tc
x/src/totalcross
I had setup the src folder to x/src, then added to the inclusion list
these: totalcross/A.java and totalcross/android/
Then i added to the exclusion list: tc/
Eclipse correctly ignores the files when they are compiling: in the
Hi,
I already searched for this, but users mostly want to share resources,
and the only resource my app has is an icon.
I have an application and a set of java classes. What would be the
best approach?
1. Application A uses a class B that is inside the library
or
2. Application A calls an
HI Mark,
SuperWaba! I remember you guys! I played around a bit with it way back
when, for Palm OS.
:-)
The eventual Android NDK will hopefully change that:
http://groups.google.com/group/android-ndk
Ahh... that was all i wanted to know!
cheers
guich
Hi Dianne,
Android market does not have such a restriction on apps you put there (you
should read the terms of service to know aht you can and can't do).
Thanks. I'm asking this because i already saw this story before, in
BlackBerry and iPhone. BB only allows Java development, and their API
Hi,
I'm the lead developer of TotalCross, a virtual machine that's just
like the one used in Android, and targetted for small devices.
Currently, using TotalCross, you write programs completely cross-
platform among Palm OS 5, BlackBerry, iPhone, Windows 32, Windows CE
(2,3,4,5,6) and
46 matches
Mail list logo