Let your top level layout be a RelativeLayout or FrameLayout -- these
each permit multiple views to be in the same position. Let the
SlidingDrawer be a direct child of your top level layout.
--
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
T
If your intention is to call another activity in order to perform some
work -- do you control that activity? Start it "for result" rather
than simply starting it. That way you'll get a callback (with its
result) when it finishes.
I agree with Mark, you should not care about what activities outside
I have an app with only 8 ratings, at 4 stars overall. One of the
ratings was a 1 star rating, and it included a comment that states my
app would be better if some feature it doesn't claim to support was
supported, but it's a good app.
Let me rephrase that: it's a good app, but it doesn't support
Have you signed the APK for your app using the platform signing key?
Have you assigned your APK user id to the system id? One or both of
these may be required (and I don't think you can do the second without
also doing the first).
On Aug 30, 1:01 pm, Surfer wrote:
> But you noticed that every oth
Only if your Windows host provides a service (presumably socket-based)
and code on the Android device knows how to talk it into doing its
bidding. You would have to write both halves of that solution.
On Aug 9, 5:47 am, AD wrote:
> Hi,
>
> I want to run some batch scripts to on windows box but my
I don't know if there's a more proper way to do what you need, but it
makes sense that there should be.
In the worst case though, you can solve this through your own
protocol... you can require clients call an initialization to receive
some random value you provide (and store, to associate with th
When pulling in existing projects, I find that often I need to right-
click the project in the work bench, go to the "Android Tools" entry,
and select "Fix Project Properties".
On Jul 20, 6:31 pm, Marc wrote:
> Hi.
>
> I'm an Android development newb, and I got a problem with Eclipse. I
> tried a
No prostrating necessary... all you need to do is build your own
custom Android port. You can't do this on an off-the-shelf system
unless perhaps there's a way to do it by signing your app with the
firmware signing key, and you have the firmware signing key for the
particular off-the-shelf system.
Anyone that tells you they learned C++ in 24 hours has still not
learned C++. This is philosophical, kind of like the statement "Seek
those who seek the truth, avoid those who claim to have found it."
The official Android documentation is indeed very difficult to grasp,
but I there's so much infor
I don't see any reason why Google would prohibit (or even want to
prohibit) AppInventor-based apps. More applications is a good thing
for the proliferation of Android -- at least, if they can provide a
way to filter out the crapps better. (I'd really like it if the market
app let me filter out all
Perhaps http://code.google.com/p/simple-quickactions/ would be a good
place for you to visit.
On Jul 13, 6:47 pm, brian wrote:
> Can anyone tell me if there is a way to make a dialog show up on
> android over a given position and look like the cartoon talk bubble
> used in Gallery3D popupMenu wit
Or you could make use of the AlarmManager.
On Jul 13, 8:59 am, Nadav wrote:
> However you might be able to set up a broadcast receiver for different
> system events that would at least restart your service in case its
> down. For example listening to the boot, phone being plugged into
> power, et
A common "fix-all" I've had to apply when importing existing projects
is to right-click the project in the Eclipse package explorer and
choose Android Tools->Fix Project Properties. Then (assuming your JARs
appear in the build path configuration, if necessary) Project->Clean
to clean the new projec
After the emulator is started, and before you start your PC
application, use this command:
adb forward tcp:12345 tcp:12345
Which will forward TCP packets from the PC's IP space into the
emulator on port 12345.
Then, on the PC, open a connection to localhost (127.0.0.1) on port
12345, and you'll
Socket ports below 1024 require the ROOT user id in order to establish
a server. If you're building an application intended to go on random
devices, you're not going to have any success opening a server on port
80. This is not an Android constraint, it's the way sockets have been
in *nix for a very
You might be able to use the android:sharedUserId attribute in your
manifest, and set the value identically in all applications that need
access to this data. Doing that, if you have one package designated as
the primary one (say, com.example.master), and multiple other packages
(sa, com.example.sl
Perhaps the new Backup Agent (in 2.2:
http://developer.android.com/reference/android/app/backup/BackupAgent.html
) can help with this, as that seems to allow an app to store backed up
data between installs. That being said, I doubt this can be a
guaranteed way to solve your problem, since the data
The Android shell tells you "permission denied" even when the command
you're trying to execute simply doesn't exist on the device.
On May 26, 3:14 pm, Ali Murtaza wrote:
> Hi
>
> I use this code to get the finger print in android emulator i got
> message "keystore: permission denied"
>
> So pleas
; arm-none-linux-gnueabi-gcc -shared -Wl,-soname,libmylib.so -o
> libmylib.so sample.o
>
> even though iam getting the same problem
>
> On May 29, 2:34 am, mah wrote:
>
> > That would likely mean you've compiled your library using an x86
> > compiler. That will no
That would likely mean you've compiled your library using an x86
compiler. That will not run on an ARM processor.
You do not have to use the Android makefile or build system to build
your library, but you do need to use the compiler that comes with the
NDK.
On May 27, 3:05 am, karteek wrote:
> >
Your service could possibly maintain a database with the detail. If
you take that approach, you might also listen for ON_BOOT and, when
received, make sure your database gets reset.
On May 19, 7:11 pm, irbaboon wrote:
> Hi,
>
> I'm developing an application which consists of two different
> activ
I'm not certain that what you say is completely true. I've noticed
that manually putting an APK in /data/app makes it available, however
there are other things that happen during a correct installation which
this method bypasses. Specifically, I've noticed that if the APK
includes any native shared
A search of "mame" on the Android Market shows two items that appear
to be ports. Since both are non-free, I don't guess you'll get many
answers from them, but it seems possible to do at least. I can't speak
to how much effort might be required though.
On May 5, 2:44 am, javame_android wrote:
> H
You cannot link a static native library into a Java application; your
only option is a shared object (.so). Fortunately though, shared
objects can have static libraries linked into them; you'll just need
to provide exports to give access to the items you want Java to
access.
On Apr 30, 3:10 am, Fr
I don't believe the sqlite in Android supports database encryption;
unless that's wrong, your main option is to encrypt the data you put
in your database. That's less than idea though, since it makes it
difficult (or impossible) to perform queries that have typical
clauses. Another option, probably
Use a general purpose data sniffer, like Wireshark.
I haven't looked into what ports the Market uses, but if I allow my
phone to connect to my corporate wifi, whose firewall blocks outbound
connections to most non-well-known ports, I cannot use the Market.
On Apr 22, 7:29 am, Xin Song wrote:
>
As Bob says, standard Java socket code will work correctly -- any
tutorial you feel comfortable with will be fine, nothing Android-
specific is necessary (except the android.permission.INTERNET entry in
your manifest). If using the network over 3G rather than WiFi, you
might need to address things
On the market, there's an application called App Protector, which
seems to effectively block the launching of configured activities
until a password is correctly provided. By default, it blocks access
to itself (not very interesting), Settings, and a few others. I wrote
my own app to launch setting
I had issues getting things to work on Win 7 64, but there are a few
points of failure you could be hitting.
Are you able to install the SDK at all -- meaning you can open its
setup and get your GUI to download and install the driver? (If not,
you probably need to get a 64 bit version of swt.jar a
Unless you're on a rooted device (and you've su'd to the root user) I
do not believe this will work -- Android maintains proper user/group
permissions to prohibit things like one application mingling with an
unrelated application's data, and the "adb shell" doesn't get
privileges that can circumven
I believe you're right. On a Nexus One, if I "adb shell" in and issue
the "mount" command, it shows that /sdcard does indeed include the
noexec flag. It also includes nosuid (is that necessary considering
there's noexec?) and nodev.
On Mar 18, 10:41 am, Tim wrote:
> On Mar 17, 11:20 am, Parse wr
I've been bit by this incorrect documentation as well.
I've just starred your issue, but I see that currently the vote count
on it is very small. I hope that more people will vote to have this
(and any other incorrect documentation) issue addressed; without solid
documentation, the system value di
The apk file is just a zip file; you don't need eclipse to open /
modify it. However, you will probably need to sign it after making
changes (and if you don't have the original signing key, I'm not
certain if you can then load it onto the phone unless you've also
changes the package name).
On Mar
The SDK provides you with what you need for building a 2.1 emulator...
probably easier (and more reliable) to simply try it out.
On Mar 8, 9:35 pm, bluestar wrote:
> I create one static library(alogrithm.a) by using android 2.0
>
> Now I want to use this library to work at android 2.1
>
> Can I
I just went through a similar experience. In my case, I was using a
computer that had reliably attached to several different Nexus One's
previously, but two different Droids failed to be seen by ADB -- even
though the devices enumerated properly (showed up in the device
manager as Android devices)
It looks as if you're issuing the "build/host-setup.sh" command from a
DOS window, instead of a Cygwin BASH window. If so, this is definitely
a no-no... use the BASH shell to run the script, and before running
it, "cd /cygdrive/c/android-ndk-1.6_r1".
On Mar 5, 12:58 pm, Abhi wrote:
> Hi Michael,
Root your phone, perhaps? I'm only guessing; I haven't rooted a device
yet.
If com.lam.recipedisplay is your own app, you could probably add code
to copy the database to/from an alternate location such as /sdcard.
If it's not your app, well... this is why you're not given a root
shell by default
but I definitely noticed that.
On Feb 23, 2:45 pm, greg wrote:
> Thanks. One last question, since you've used the Nexus One outside,
> how would you describe the visibility of its screen in shade and in
> direct sunlight?
>
> Thanks again,
> Greg
>
> On Feb 23, 11:42 am, ma
I have a Nexus One that has never had a SIM installed... I enabled its
GPS and took it outside. It took a while to get a location (as is
expected without A-GPS), but it was able to get a fix. When I walked
within range of a WiFi I attach to, Google Maps then displayed my
accurate location on a map.
39 matches
Mail list logo