Hi,
I need to check in my application if the user disabled system notifications
for my application.
I can't find any information in the documentation about that.
Regards,
--
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this
I could'nt find a way in the API to filter applications returned by
the package manager in order to show only 3rd party ones.
Is there a way to do that ?
I am currently relying on a simple blacklisting algorithm, but I may
have missed something in the documentation.
--
You received this message
I already made something similar (limited to the current activity) and
I did not find another way to access the activity instance.
To limit errors, I made my modifications in life cycle callbacks and
users have to inherit my Activity classes (I made a full set for
convenience, there are 9 Activity
Since Android 2.2, we can read the ANDROID_ID from the emulator which
is always 9774D56D682E549C
It breaks a lot of existing code that used to test if the ANDROID_ID
was null to check whether the device was an emulator or not.
I need a future proof way to test a device is an emulator.
--
You
Yeah but what about devices without WIFI ?
On 3 fév, 16:26, Gregg Reno gregg.r...@gmail.com wrote:
How about using the WIFI MAC address in cases where the ANDROID_ID is
null? I believe it should be unique for each device:
WifiManager manager = (WifiManager) getSystemService
://groups.google.com/group/android-developers/msg/42aceb303e8b42f6
On Feb 12, 5:16 am, Guillaume Perrot guillaume.p...@gmail.com wrote:
Is it related to
google apps ?
Not that I am aware of.
I asked this question since we can read in the doc: Identical to that
obtained by calling
I guess we'll have to use some hashing technique of many values like
explained on another thread, but I don't like this solution...
Thanks for the answer anyway.
2010/3/15 Mark Murphy mmur...@commonsware.com
Guillaume Perrot wrote:
In my job, I have to use a unique device ID
This is indeed a good idea.
Instead of PRODUCT, I would rather use MODEL + BRAND as a prefix to the
ANDROID_ID (before rehashing it to obtain an hex string with always the same
length such as SHA1).
2010/3/15 Wayne Wenthin wa...@fuligin.com
If you use it while using items like
I could not find in documentation any information about how the
ANDROID_ID is generated.
Is it related to some carrier or some constructor ? Is it related to
google apps ?
Are we allowed to store these values on application servers without
breaking any privacy policy ? (it does not require
Is it related to
google apps ?
Not that I am aware of.
I asked this question since we can read in the doc: Identical to that
obtained by calling GoogleLoginService.getAndroidId(); which sounds
strange. Spoofing android_id could grant access to the Google account
of someone else ?
--
You
To switch to german in an application:
Resources res = getResources();
Configuration config = new Configuration(res.getConfiguration());
config.locale = Locale.GERMANY;
res.updateConfiguration(config, res.getDisplayMetrics());
On 29 jan, 05:03, Frank Weiss fewe...@gmail.com wrote:
Check this
It seems there is no standard intent for that particular events.
But you could watch mount/unmount via broadcast receivers and then use
FileObserver while the sdcard is mounted, it should make the trick.
On 26 déc, 06:51, manoj manojkumar.m...@gmail.com wrote:
Hi all,
is there any way to let
When using a drawable backed by a bitmap (BitmapDrawable), it makes no
difference (just some abstraction).
If you use a bitmap resource (R.drawable. ) it may be wise to use
setImageDrawable rather than managing the bitmap decompression
yourself.
According to me setImageBitmap is to use when you
In Android we can get the signatures of a package with
getPackageManager().getPackageInfo(packageName,
PackageManager.GET_SIGNATURES).signatures;
We can print a signature by calling
signatures.toCharsString();
How to get the same string with jarsigner or another tool from the APK
file ?
--
Thanks to the Android Source Code, I wrote a little J2SE program that
prints all the signatures of a JAR file (also works with APKs) as
returned by the PackageManager in Android with the
Signature.toCharsString() format.
On 10 déc, 11:50, Guillaume Perrot guillaume.p...@gmail.com wrote
There are only two possible durations, the integer parameter refers to
the possible constants which are LENGTH_LONG and LENGTH_SHORT.
According to me, cancel() just cancels pending toasts in queue, this
may not work on the current one.
On 1 déc, 06:30, Suchand Ghosh chand4andr...@gmail.com wrote:
And you can try mToast.getView().setVisible(View.GONE) for the current
one.
On 1 déc, 06:30, Suchand Ghosh chand4andr...@gmail.com wrote:
what code base you r using? there should be function to hide toast. Hide
generally post a msg to mHandler to hide the Toast.
On Tue, Dec 1, 2009 at 10:50
Thanks for the answer, it make sense now ^^
2009/11/27 Dianne Hackborn hack...@android.com
http://developer.android.com/reference/android/os/Build.VERSION_CODES.html#DONUT
On Thu, Nov 26, 2009 at 4:53 PM, Guillaume Perrot
guillaume.p...@gmail.com wrote:
READ_PHONE_STATE is not a new
When I run any application from Eclipse on my real G1 device (a retail
one, this is not a dev phone), I am granted the READ_PHONE_STATE and
WRITE_EXTERNAL_STORAGE even if i don't declare them in the
AndroidManisfest.xml. I actually can call TelephonyManager.getDeviceID
() to retrieve the IMEI and
Same thing happens with the HTC Magic.
Both phones are on Donut.
I have also have this on Donut emulator but not on cupcake emulator.
On 26 nov, 17:26, Guillaume Perrot guillaume.p...@gmail.com wrote:
When I run any application from Eclipse on my real G1 device (a retail
one, this is not a dev
READ_PHONE_STATE is not a new permission, is it ?
2009/11/26 Dianne Hackborn hack...@android.com
I just replied to this. It's because a of 1.6 these are new permissions
that old applications must be automatically given for compatibility.
On Thu, Nov 26, 2009 at 8:34 AM, Guillaume Perrot
Everything work as expected for me including GTalk and Market.
Maybe because I performed a factory reset after upgrade.
On Oct 1, 12:30 pm, babaroga_srb mikalac...@gmail.com wrote:
Thanks for the reply!
I have checked the group you provided, seems that htc placed wrong
files for download.
Try simulating a configuration change you don't handle in manifest,
your activity will be restarted with the standard save/restore state
mechanism.
On Sep 9, 9:02 am, Dianne Hackborn hack...@android.com wrote:
Another possible one -- call startActivity() to start a new instance of your
in this example is broken, because if
shouldStopService() returns false then it won't unbind, and the next
time
the activity gets resume it will then go and re-build, causing a
growing
number of bindings.
On Sun, Jul 19, 2009 at 7:58 AM, Guillaume Perrot
guillaume.p...@gmail.comwrote
Using both startService and bindService is handy to wait for the
onServiceConnected callback before requesting a singleton reference
that is set in the service's onCreate.
If you do this just after the startService, the reference will be
null.
The startService is needed for the service to
...@commonsware.com
Guillaume Perrot wrote:
Using both startService and bindService is handy to wait for the
onServiceConnected callback before requesting a singleton reference
that is set in the service's onCreate.
If you do this just after the startService, the reference will be
null.
Correct
Actually I use a local service without aidl, I allocate a dummy binder (new
Binder()) in onBind().
This service manages an XMPP connection, even if no screen is shown to user
(there is an ongoing notification with a life cycle corresponding to the
service's one, and so I guess my use of
Hello,
I found in Android source code an interesting but undocumented keyword
for aidl: oneway (before void in a function).
As it sounds, the generated code uses the corresponding flag
http://developer.android.com/reference/android/os/IBinder.html#FLAG_ONEWAY
when performing the remote
The most probable reason is a NAT/gateway timeout caused by idleness.
If you can confirm that this is actually the cause, you'll have to
implement a keep alive mechanism (and use an alarm manager and a wake
lock).
On Jul 17, 4:17 pm, zeeshan genx...@gmail.com wrote:
Hi Dear,
i got this
That is not a problem in my use case [?]
2009/7/17 Marco Nelissen marc...@android.com
On Fri, Jul 17, 2009 at 7:20 AM, Guillaume
Perrotguillaume.p...@gmail.com wrote:
Hello,
I found in Android source code an interesting but undocumented keyword
for aidl: oneway (before void in a
I am developing an android service using aidl.
I realized that the objects returned in Service.onBind() are never
freed (e.g. finalize() is never called) even after onUnbind() and
onDestroy() and playing with the eclipse GC button.
I checked that the memory leak did not come from my Binder
solution.
However I thought soft references were freed only when the VM is near
out of memory which was not my case in my test (only 2MB allocated,
4MB in total heap).
Could anyone explain me the life cycle of a binder object ?
On Jul 16, 10:16 am, Guillaume Perrot guillaume.p...@gmail.com
wrote:
I am
It appears that I have to wait some minutes before I can see the
finalize trace of my binder, but it eventually happens.
Maybe some sort of timeout in android code.
2009/7/16 Guillaume Perrot guillaume.p...@gmail.com:
I eventually saw finalize() (just once) on the Binder object after
many
The aim is not to automatically install the app.
The goal is to go to the application's market page directly (instead
of that annoying search screen with the only result).
I am very surprised that there is no official URI to do that, why such
a design choice ?
Some time ago we could do that
When building an Android project with ant, we can define some
properties in a build.properties file.
There is the attribute source-folder but we can only specify one
folder.
How to deal with several source folders ?
--~--~-~--~~~---~--~~
You received this message
I have the same problem with tabactivity but it's quite random and
rare.
I'll try to simplify the layout...
On 11 mai, 18:51, hina naz hinana...@gmail.com wrote:
*How to earn money please visit my site *
*http://latesttechnologyinfo.com/*
--~--~-~--~~~---~--~~
I have the same bug for all non standard applications, whatever the
phone I tested.
What's going on with this feature ?
On 6 mai, 15:40, Guillaume Perrot guillaume.p...@gmail.com wrote:
I go to the application settings, but the clear defaults button is
always enabled - I meant always disabled
I have the same bug for all non standard applications, whatever the
phone I tested.
What's going on with this feature ?
On 6 mai, 15:40, Guillaume Perrot guillaume.p...@gmail.com wrote:
I go to the application settings, but the clear defaults button is
always enabled - I meant always disabled
For a quick example, download Astro File Manager, click on a image file, you
should see 2 actions:
* ASTRO Image Viewer
* View Picture (standard)
And a check box Use by default for this action, I choosed View Picture.
If you check it, a text explains (ok it does not tell, don't play on
words...) :
Thanks.
According to me, it would be useful to have both the uninstall and the clear
data button.
Thus the documentation is quite confusing with this flag.
2009/5/23 Mark Murphy mmur...@commonsware.com
But my second question remains unsolved: there is an interesting flag in
the
Manifest:
Since cupcake we have a crash with one of our EditText widget when
using a virtual keyboard in landscape, it's random but happens often:
05-19 11:01:54.819: ERROR/AndroidRuntime(21788): Uncaught handler:
thread main exiting due to uncaught exception
05-19 11:01:55.019:
I can see paid applications in France with ADP1 / Cupcake recovery
image!
On 1 avr, 15:50, Eric ericwsch...@gmail.com wrote:
The HTC 1.1 image and instructions that you have linked to is what I
originally put on the phone and still could not see any paid apps, even my
own which are not copy
Example:
I have a button which starts an activity with GET_CONTENT audio/*
I have a menu with choices: Music Track or Sound Recorder and a
checkbox.
I check the box, it tells me that I can clear the setting in
Application - Manage Applications.
I launch the Music Track with the box checked.
I go
I go to the application settings, but the clear defaults button is
always enabled - I meant always disabled.
On 6 mai, 15:39, Guillaume Perrot guillaume.p...@gmail.com wrote:
Example:
I have a button which starts an activity with GET_CONTENT audio/*
I have a menu with choices: Music Track
Nobody can answer me ?
I am still forced to leave the setting to 30s and it drains users
battery.
On 14 avr, 11:55, Guillaume Perrot guillaume.p...@gmail.com wrote:
Hi,
I just wondered which frequency is OK to send whitespace keep alive
packets onto a TCP connection to keep it alive on a T
their keep alive interval to:
private static final long KEEP_ALIVE_INTERVAL = 1000 * 60 * 28;
I'm assuming their optmized for the T-Mobile G1.
On May 5, 5:13 am, Guillaume Perrot guillaume.p...@gmail.com wrote:
Nobody can answer me ?
I am still forced to leave the setting to 30s and it drains users
When looking at the documentation, we can see that the intent whose
action is ACTION_IMAGE_CAPTURE can have the EXTRA_VIDEO_QUALITY
argument:
The name of the Intent-extra used to control the quality of a
recorded video. This is an integer property. Currently value 0 means
low quality, suitable
Eric Chen, what is that build.xml file ? And what exaclty did you modify in
the .classpath and the manifest files ?
Handtwerk, I don't know if the problem also affects the Ant tool chain or
just the Eclipse one, someone should test that.
(When I say switching to J2SE projects, it only affects the
This sounds like a great workaround, so I'll try that next week.
Thanks for the tip.
2009/4/30 JMoger james.mo...@gmail.com
I've got a working solution to this similar to your hint about J2SE
projects. Assuming your lib project is an android project, modify
the .project file to remove all
Android lib projects would be a good feature.
But why not having a dependency system between APKs like debian packages ?
2009/5/1 Xavier Ducrohet x...@android.com
Hello,
Editing the .classpath is a good solution. Let me explain why.
ADT supports referenced projects so that you can have
idea about this?
Best regards,
On Tue, Apr 28, 2009 at 11:14 PM, Guillaume Perrot
guillaume.p...@gmail.com wrote:
We have an application cut into 3 android projects:
* Project REAL (the real android project)
* Project LIB1 (an android project without any activity, just to make
android
path (a pain if you have an SCM and different
setups) and b/ you need to update it each time you update the SDK
(which you probably don't do that often.)
R/
On Tue, Apr 28, 2009 at 8:02 AM, Guillaume Perrot
guillaume.p...@gmail.com wrote:
In the previous SDK releases, we have our
.
Evan JIANG wrote:
Well, I met the same issue.
Does anyone have any idea about this?
Best regards,
On Tue, Apr 28, 2009 at 11:14 PM, Guillaume Perrot
guillaume.p...@gmail.com wrote:
We have an application cut into 3 android projects:
* Project REAL (the real android project
The JDK is clearly not the problem here, I don't know what he's talking
about as there are several causes that can trigger a VerifyError but in this
discussion we deal with the latest ADT Eclipse plugin release.
The problem here is that the ADT plugin tries to upload the referenced
android
In the previous SDK releases, we have our application cut into 3
android projects:
* Project REAL (the real android project)
* Project LIB1 (a non executable android project, just to make android
reusable classes)
* Project LIB2 (same as LIB1)
LIB1 and LIB2 are android projects rather than J2SE
We have an application cut into 3 android projects:
* Project REAL (the real android project)
* Project LIB1 (an android project without any activity, just to make
android reusable classes)
* Project LIB2 (same as LIB1)
LIB1 and LIB2 are android projects rather than J2SE ones because LIB1
and
On Tue, Apr 28, 2009 at 8:02 AM, Guillaume Perrot
guillaume.p...@gmail.com wrote:
In the previous SDK releases, we have our application cut into 3
android projects:
* Project REAL (the real android project)
* Project LIB1 (a non executable android project, just to make android
reusable
info+fram Use different request codes each time in
PendingIntent.getActivity, the documentation is bugged and say this is
not in use but they DO work. There is an old discussion on this one:
I successfully opened gmail with prepopulated content and a file
attachment, it worked when I send it but this file was stored on the
SDCard.
Now I am trying to do the same with a shared application file (with
MODE_WORLD_READABLE) but gmail drops the attachment at sending time
although I saw it
know about
it.
On Feb 17, 10:05 am, Guillaume Perrot guillaume.p...@gmail.com
wrote:
Yes it's exactly what happens since RC33.
Kinda annoying. I have to close sockets in a separate thread when I
receive a connectivity event indicating the network is down or we
Hi,
I just wondered which frequency is OK to send whitespace keep alive
packets onto a TCP connection to keep it alive on a T-Mobile 3G
connectivity (the use case is to maintain an idle XMPP session alive).
On SFR in France, we are disconnected if idle for 3 minutes, but I
guess T-Mobile's
cannot download it, since the problem with my network, hope you can get
it.
On Thu, Feb 19, 2009 at 5:27 AM, E. Litwin elit...@rocketmail.com wrote:
Any update on the Javadoc issue?
On Feb 18, 9:40 am, Guillaume Perrot guillaume.p...@gmail.com wrote:
I have 0.8.0.v200809220836-110569
SDK have been reuploaded with javadoc, you can redownload it !
2009/2/18 E. Litwin elit...@rocketmail.com:
Can anybody from Google comment on the status of supplying an updated
SDK with JavaDoc enabled?
On Feb 17, 12:48 am, Guillaume Perrot guillaume.p...@gmail.com
wrote:
I have the same
making the swtich because I did not want to loose code autocomplete
just yet..
Once again thanks to the Google an OHA Engineers in pushing this out
On Feb 15, 4:53 am, nuno nba...@gmail.com wrote:
Is anyone looking into the javadoc issue?
On Feb 14, 7:17 pm, Guillaume Perrot guillaume.p
I have the same problem too, I am considering rolling back to 1.0
since there isn't any API change (except for the marquee in TextView
and padding offsets which I don't care).
On 16 fév, 23:51, Alexey avolo...@gmail.com wrote:
Nope, just switched back to r1.0
On Feb 16, 11:13 am, g1bb
I had the same problem too.
Plus when I loose connectivity, it's nearly impossible not to block on
socket.close();
It takes forever in that case.
I tried both plain and ssl sockets, same behavior in RC33.
On Feb 17, 1:23 am, Marc gram...@gmail.com wrote:
I've seen inconsistent behavior from
, 7:21 am, Guillaume Perrot guillaume.p...@gmail.com wrote:
I had the same problem too.
Plus when I loose connectivity, it's nearly impossible not to block on
socket.close();
It takes forever in that case.
I tried both plain and ssl sockets, same behavior in RC33.
On Feb 17, 1:23 am, Marc gram
Sadly, the javadoc is not included in the new android.jar, so we can't
have the doc in Eclipse anymore when auto-completing... Is there a way
to restore that ?
On Feb 14, 12:27 am, Mark Murphy mmur...@commonsware.com wrote:
DavidLanz wrote:
do you guys know what's the different from 1.0.r2 to
Maybe a bug with the attached media part.
Did you try without it ?
On Jan 31, 2:02 pm, jj jagtap...@gmail.com wrote:
Hello
I am sending image using following. the image successfully send by
application. But The subject and text r not getting added to email.
I want to add body containing
?
Is there a way to tell the system that this process is kind of
important, even though it has no foreground activity and should only
be killed as a last resort?
Bernhard
--
Guillaume Perrot
Software Engineer at Ubikod
BuddyMob developer
, Guillaume Perrot guillaume.p...@gmail.com wrote:
There is bug in BitmapFactory memory allocation, there are tons of
threads in this mailing list dealing with that.
To sum up:
At a normal time when you create an object, the heap size is
automatically grown if not sufficient enough
From the documentation, I am afraid there is kind of a limitation:
Input: getType() is the MIME type of the data being sent. get*Extra
can have either a EXTRA_TEXT or EXTRA_STREAM field, containing the
data to be sent. If using EXTRA_TEXT, the MIME type should be text/
plain; otherwise it should
I had the problem yesterday, no maps in my phone, even with the
standard maps application.
It's now working.
On Feb 1, 6:48 am, Keiji Ariyama ml_andr...@c-lis.co.jp wrote:
Dave,
Thank you for your reply.
WiFi, 3G/EDGE (what carrier)? Is there anything useful in the log?
Maybe a proxy
Yes, i ran into the very same problem.
From what I understood with documentation and logcat traces, I may be
wrong for some details but here's the general idea:
My background service (I use startService/stopService to handle an
XMPP connection and notifying the user of events when no activity is
There is bug in BitmapFactory memory allocation, there are tons of
threads in this mailing list dealing with that.
To sum up:
At a normal time when you create an object, the heap size is
automatically grown if not sufficient enough (there is an absolute
limit of 16MB per process though, you will
HOME calls onPause then onStop most of the time.
BACK do the same but also calls onDestroy after onStop.
The Acitivity.finish() function do the same as the BACK button.
You can try the following (I didn't test it):
You can have a boolean flag that your set when you press your button.
Then in
HOME calls onPause then onStop most of the time.
BACK do the same but also calls onDestroy after onStop (if you didn't
override the BACK button behavior and no dialog or menu is being
displayed).
The Acitivity.finish() function do the same as the BACK button.
You can try the following (I didn't
If you want to stop a thread that is running long operations, you
should read this: http://g.oswego.edu/dl/cpj/cancel.html.
In your service onDestroy you should not join your thread, just
launch the cancel operation, the trick with all lifecycle methods
(including services) is that they are
For those who were wondering whether the built in GTalk application
was using Smack or not, I found those logs with adb bugreport:
Cmd line: com.google.process.gapps
DALVIK THREADS:
main prio=5 tid=3 WAIT
| group=main sCount=1 dsCount=0 s=0 obj=0x400143a8
| sysTid=119 nice=0 sched=0/0
protected boolean isRouteDisplayed() {
// TODO Auto-generated method stub
return false;
}
}
On 12月26日, 下午8时14分, Guillaume Perrot guillaume.p...@gmail.com wrote:
Why don't you override the onCreateContextMenu directly in
MapActivity ?
On Dec 26, 10:15 am, honglian
/
/intent-filter
/activity
/application
/manifest
On 12月26日, 下午9时56分, Guillaume Perrot guillaume.p...@gmail.com
wrote:
I have the same kind of code, which is working though.
The key difference may be that I call mapView.setLongClickable(true); you
should try it.
2008/12/26
transitions. Keep static images in class
variables. Good luck.
On Dec 24, 5:15 am, Guillaume Perrot guillaume.p...@gmail.com wrote:
I have very short freezes when scrolling a very long list views
containing down sampled images (I use BitmapFactory to produce
thumbnails in background
When we have an OutOfMemoryError (either the MapView or huge images):
we have a message (in logs) like
The VM won't allow us to allocate x bytes or something like VM
budget exceeded
I think it's a VM limitation.
On Dec 8, 11:09 pm, Mark K [EMAIL PROTECTED] wrote:
I've run into similar
One way to achieve this:
@Override
public boolean onPrepareOptionsMenu(Menu menu)
{
super.onPrepareOptionsMenu(menu);
MenuItem item = menu.findItem(R.id.my_item);
item.setVisible(true);
item.setEnabled(false);
return true;
}
You can manipulate the
. If you are not going to use
the
old intent, you should just use FLAG_CANCEL_CURRENT to first cancel the
existing one so it can be replaced with your new one.
On Tue, Nov 25, 2008 at 12:29 AM, Guillaume Perrot
[EMAIL PROTECTED]
wrote:
Yes using request codes is the right thing
Just use a PreferenceActivity and your settings will look the same as
the G1.
You can describe settings in XML with special tags, you can look at
APIDemos.
On Dec 4, 1:20 pm, Mark Murphy [EMAIL PROTECTED] wrote:
ChisterNordvik wrote:
I want to make my settings menu look like the one in
that have been loaded into
tabs for example (where the tabs are created as a separate Activity),
I found that it had no effect.
Maybe this will resolve the problem.
Will
On Nov 17, 1:06 pm, Guillaume Perrot [EMAIL PROTECTED]
wrote:
Your code is quite strange because when you perform UI
the
onOptionsItemSelected, while Exe 2 uses onMenuItemSelected. I am not
quite understand how to get the featurID and pass it to
onMenuItemSelected().
On Nov 29, 9:29 pm, Guillaume Perrot [EMAIL PROTECTED] wrote:
onMenuItemSelected comes from the Window.Callback class.
onOptionsItemSelected is introduced
The only way I know is to extract it from the android source code.
http://source.android.com/
Have fun ^^
On Nov 30, 8:47 pm, bw [EMAIL PROTECTED] wrote:
Hi,
Is there a way to get the NumberPicker widget used in Date and Time
pickers?
-Ben
Mark, the topic says submenu, but if you look at the first post it
does deal with a context menu :
When I long press a contact,
then a sub menu pops up - to let me 'edit','remove' ... he just
called it a submenu (because it looks exactly the same).
So the standard way to do this is like I
Activity.registerContextMenu(View);
Then override onContextMenu methods.
On Nov 29, 11:12 am, zLarry [EMAIL PROTECTED] wrote:
help...
On 11月29日, 下午2时02分, zLarry [EMAIL PROTECTED] wrote:
Like android bundled contact applicaiton. When I long press a contact,
then a sub menu pops up - to
onMenuItemSelected comes from the Window.Callback class.
onOptionsItemSelected is introduced by the Activity class (which
implements Window.Callback) and is called by the implementation of
onMenuItemSelected.
So the difference is the abstracting level.
Copied from doc:
Default implementation of
I have the same problem...
I'd like to have vertical tabs in landscape mode to improve the
overall layout of my application.
I'd also like a vertical Gallery.
Why these simple features are not available ?
On Oct 16, 12:09 am, Rohit Mordani [EMAIL PROTECTED] wrote:
I have the following layout
I have the same problem.
Vertical tabs would be great.
Vertical Gallery would also be neat.
Especially in landscape mode, a vertical version of these widgets
could be extremely useful to improve layout space.
On Oct 16, 12:09 am, Rohit Mordani [EMAIL PROTECTED] wrote:
I have the following
unless I pass unique values into the
mysterious requestCode parameter.
So this begs the question: is using the requestCode in this way
kosher? Is there a better way?
BTW, I'm using PendingIntents for alarms and notifications.
On Nov 21, 2:47 pm, Guillaume Perrot [EMAIL PROTECTED] wrote
We use startService in our application to keep the xmpp connection
alive when the user exits the main activity so that he can be notified
of incoming messages or other events.
We an option in the settings to deactivate the background service
(e.g. the service and the xmpp connection will be
On Nov 24, 1:42 am, Dianne Hackborn [EMAIL PROTECTED] wrote:
On Sun, Nov 23, 2008 at 3:45 AM, Guillaume Perrot
[EMAIL PROTECTED]wrote:
* you can't bind to a service, onServiceConnected will never be
called.
This is a bug that should be fixed in the future. Not documented because we
Why the dalvik VM does not simplify the serialization mechanism to use
the same implementation as Parcelable ?
Using Parcelable is not convenient compared to Serializable (just have
to implement it and specify which fields are transient), is there a
reason to keep Serializable as slow as J2SE ?
According to what I've read from other threads, you can't override the
home key behavior.
But I just found some interesting part of the Activity's
documentation:
public boolean isFinishing()
Check to see whether this activity is in the process of finishing,
either because you called finish() on
I don't think this is the right thing to do.
A good UI should not pop the panel menu programmatically, meaning by
that the user didn't press the menu button and does not expect the
panel to pop (and probably doesn't want to).
You may consider using context menus instead.
For example if you want a
1 - 100 of 231 matches
Mail list logo