Dear All,
I am testing some code on a sony xperia z2 tablet. I am having some
problems with the sony software keyboard. Its not calling onEditorAction().
I don't think its a problem with my code. Since when I switch the
keyboard, to for example the hackers keyboard app, my code receives
Hi,
Some mobiles do not always send cookies, especially
when switching from the mobile web browser to the
download manager.
So if your JSP assumes a session, this might fail.
I even tried the ;jsessionid= trick, but this confused
the download manager.
Dunno if this has been fixed.
Bye
Rahul
Hi,
Yes, this is exactly the problem I am facing. Maybe I
should request multiple columns when starting the
intent. One column with some timedate, and another column
with the data blob.
Still not sure how to fabrikate the intent and how
to obtain the result, so that I get both the data and
the
Dear All,
I am using an intent to invoke a file chooser.
Some of the file chooser applications return an
Uri of scheme file others return an Uri of
scheme content.
I need to obtain the last modified date of the
chosen object. How do I do that? I didn't find
an appropriate API. There is some API
Dear All,
I am just read:
Provides a simple ClassLoader implementation that operates
on a list of files and directories in the local file system,
but does not attempt to load classes from the network. Android
uses this class for its system class loader and for its
application
Dear All,
Is there a way to browse who is plusing an app?
Bye
--
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
tete schrieb:
I want to override the OnKeyPreIme method of a EditText got from a
findByView(int id), to make the activitiy finish() when user press back key.
You can override the back key of your activity(*), and make
the finish call dependent on the focused view, i.e. check
whether the user
ehsan azimzadeh schrieb:
Feel free to contact me if you have any questions.
Any free preprint available?
--
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
Satya Komatineni schrieb:
For a UI action in the same thread:
//On my view I call requestLayout()
ViewRoot schedules a traversal
//I don't call invalidate() on my view
So, no rectangle is invalid (I am assuming that is the assertion
because I didn't call invalidate)
Is it possible that the
Dear All,
I am using a single character style in multiple text
locations. I simply did the following:
output = new ForegroundColorSpan(OUTPUT_COLOR);
And then whenever a portion of my text has to
have the above character style, I simply use the
wrap() method to share the style:
Mark Murphy schrieb:
On Thu, Oct 18, 2012 at 5:35 AM, Jan Burse janbu...@fastmail.fm wrote:
How can I change the color?
Use getSpans(), find all occurrences of your span, remove the old
span, and replace it with a span with the new color.
It's possible that there is a more efficient
Mark Murphy schrieb:
SuggestionSpan), meaning that creating your own equivalents would be
at least partially ignored by the rendering code. I'm glad to hear
that this works at least for foreground colors, though.
It works, since characterstyle is supposed to be extensible
in that the method
Keith Wiley schrieb:
I am quite flummoxed. I am aware that Android is requesting and
receiving a GZipInputStream, and I can see the input stream's type in
the debugger, but that seems irrelevant to my issue.
Caching of web server chains can be very elaborate. See
for example here:
Dear All,
Has somebody observed that the return key on
the soft keyboard does something else emit than:
KeyEvent.ACTION_DOWN and KeyEvent.KEYCODE_ENTER.
But nevertheless cause a text component to go to
the next line?
Could this be device/local dependent?
Bye
--
You received this message
Ross Bamford schrieb:
No, it goes directly to Dex. The original interpreter runs on any Java
platform (Deelang was originally intended as a generic scripting
language for embedded devices) but the compiler is strictly Dalvik. It
wouldn't be difficult to transform the Dee VM bytecode to Java
Jan Burse schrieb:
Dear All,
Assume I have a terminal app for Android. How
would I implement history up/down? (*)
On the classical PC one would use the up arrow
and the down arrow, but on Android.
Hints welcome.
Bye
(*)
The up and down already works under the hood,
question is what
Ross Bamford schrieb:
You'll find the project at http://deelang.googlecode.com/ . To get the
native compiler, you'll need to check the DEXCOMPILER branch out of
subversion (a file release is planned soon, but not yet).
Does it take a detour over Java bytecode? If yes,
is this bytecode also
Dear All,
Assume I have a terminal app for Android. How
would I implement history up/down? (*)
On the classical PC one would use the up arrow
and the down arrow, but on Android.
Hints welcome.
Bye
(*)
The up and down already works under the hood,
question is what in the GUI should signal an
Harri Smått schrieb:
While struggling with somewhat similar problematics I ended up utilizing
long-press triggered menu. Don't know if this is an option for you though.
Not sure whether I can use this inside a text component.
Doesn't it trigger the copy/paste function?
Bye
--
You received
Mark Murphy schrieb:
Volume up/down.
Sound good!
--
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
Raghav Sood schrieb:
Why would you use that when you have a perfectly working LogCat class?
What's wrong with Log.i(value = + intName);?
Raghav Sood
Sent from my Galaxy Nexus
Nothing wrong, except that it will not compile.
I guess you would need to put:
Log.i(TAG, value = +
Lew schrieb:
That is not an advantage, and the concomitant
loss of information is a disadvantage.
Oh, you made it from comp.lang.java.programmer to here?
Not enough troll opportunities anymore there?
--
You received this message because you are subscribed to the Google
Groups Android
Harri Smått schrieb:
That's not true. Android supports basic Java Threads and there's no
reason for not to use them when appropriate. But the thing is, you can
not alter UI components outside of UI Thread. In your case it would be
updating the textual contents of TextView. See method named
Most simple approach:
int x;
System.err.println(x=+x);
Will show in LogCat.
mohammed Nuhail schrieb:
How to print integer value in LogCat ?
--
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to
Jan Burse schrieb:
- Runtime Library (free) III: The Android version is now also
available on Google Play.
Update:
Since now, also live on Amazone Appstore for Android.
--
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post
: The Android version is now also
available on Google Play. But the Development Environment and
the Minlog Module are currently not on Google Play.
- Minlog Module (Chart Parser, CLP(FD)): There is now an Android version.
Happy coding!
http://www.jekejeke.ch/
Jan Burse
Sep 3. 2012
--
You received
Mark Murphy schrieb:
On Tue, Aug 28, 2012 at 8:10 AM, karuna vikas kvk2551...@gmail.com wrote:
thanks Murphy,, I got the point what you are saying... In a Single Android
Package, we can use multiple java packages ... Right ?
You can use 1,000 Java packages within an Android app, if the mood
Mark Murphy schrieb:
On Tue, Aug 28, 2012 at 8:56 AM, Jan Burse janbu...@fastmail.fm wrote:
You can also distribute the 1000 java packages across
multiple APK. Then see to it that these APK share process
ID and user ID. Then one APK can access the other APK
withou getting file read errors
Mark Murphy schrieb:
custom signature-level permission
I was googling a little bit and found the following definition:
A permission that the system grants only if the requesting
application is signed with the same certificate as the application that
declared the permission. If the
Jan Burse schrieb:
Mark Murphy schrieb:
custom signature-level permission
I was googling a little bit and found the following definition:
A permission that the system grants only if the requesting
application is signed with the same certificate as the application that
declared
You can store key/value pairs in Accounts, via the Account
Manager. I never did it, but I guess it could fit your needs,
since you anyway seem to plug-in into some Account
validation, right?
http://developer.android.com/reference/android/accounts/AccountManager.html
See getUserData(),
/android/issues/detail?id=2772
Jan Burse schrieb:
The blinker runs in the UI thread. And it is kept alive and
it keeps itself aliver in posting delayed messages. You
find the source code here:
http://grepcode.com/file/repository.grepcode.com/java/ext/com.google.android/android/2.2_r1.1/android
The blinker runs in the UI thread. And it is kept alive and
it keeps itself aliver in posting delayed messages. You
find the source code here:
http://grepcode.com/file/repository.grepcode.com/java/ext/com.google.android/android/2.2_r1.1/android/widget/TextView.java#TextView.Blink
There is a
Hi,
Kostya Vasilyev schrieb:
IIRC, view focusing is only applied if the enclosing window is in
activated state (not sure about the exact name), you might want to
look into this.
Well I checked the state of isFocused() of the text view I am
interested in and which should blink.
I don't see
Hi,
Farhan Tariq schrieb:
quiet irrelevant though but ... can you please cut out on your 'bye's
... don't know about others but, i'm sure its irritating to them too
You should see a mental health professional.
Maybe your epilepsy medication doesn't work.
Bye
--
You received this message
Here is a picture what happens:
The two tabs were made via:
tabHost.addSpec(spec1);
tabHost.clearAllTabs();
tabHost.addSpec(spec1);
tabHost.addSpec(spec2);
Situation 1: The TabHost:
+-+--+
| Tab 1 | Tab 2|
+---+
|
Jan Burse schrieb:
+-+--+
| Tab 1 | Tab 2|
+-
P.S.: The tabs do not stretch to the screen
width, since I have placed the tabwidget
inside a HorizontalScrollView.
--
You received this message because you are subscribed to the Google
Groups Android
Jan Burse schrieb:
tabHost.addSpec(spec1);
tabHost.clearAllTabs();
tabHost.addSpec(spec1);
tabHost.addSpec(spec2);
More precisely:
tabHost.addSpec(spec1);
tabHost.clearAllTabs();
tabHost.addSpec(spec1);
tabHost.addSpec(spec2);
tabHost.setCurrentTab(1
lbendlin schrieb:
You could even refine the approach by first taking the focus away and
then setting it again.
http://developer.android.com/reference/android/view/View.html#requestFocus%28%29
I guess you are not a good listener, didn't grasp how I
described my application.
Since my
Dear All,
Is there some workaround for a null pointer exception
in TabWidget. It basically happens in the following code:
tabHost.clearAllTabs();
tabHost.addTab(spec);
The clearAllTabs sets the mSelectedTab to -1. The problem is
some sloppy code in the Android 2.3.7 version of
Hi,
Just did this. Actually the problem was not a mSelectedTab = -1,
but rather a mSelectedTab = 1 and a getChildCount = 1. This
problem I do not seen on Android 4.0.3.
The workaround code that works for me is:
public class TabWidgetFix extends TabWidget {
private final View dummy;
/**
Dear All,
To manage tabs I use the following code:
tabHost.clearAllTabs();
tabHost.addTab(spec); /* for multiple specs */
I can add and remove tabs this way. Since the
specs contain a tag, sub activities are refound.
When I remove a tab, I also call:
lbendlin schrieb:
Have you tried setting the focus?
--
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
What do you mean by manually set the focus?
For the new tab I call setCurrentTab() when I add it.
The old tabs are focused via the TabHost/TabWidget
interaction, which I do not intercept.
Both the old and the new tab receive the focus. But
the cursor is not blinking for the old tab. You
can
Mostlikely some pause/resume problem I guess...
Jan Burse schrieb:
What do you mean by manually set the focus?
For the new tab I call setCurrentTab() when I add it.
The old tabs are focused via the TabHost/TabWidget
interaction, which I do not intercept.
Both the old and the new tab receive
Dear All,
I was using setEms() to set the width of a text
field. But the text field looks much to wide for
me. So I went into the source code and looked
what is really happening there, and it seems
that Ems is equated with LineHeight:
android.widget.TextView:
if (mMaxWidthMode ==
Dear All
I have an EditText with an InputFilter. The InputFilter
restricts the editable area of the edit text to everything
above inputoffset:
public CharSequence filter(CharSequence source, int start, int end,
Spanned dest, int dstart, int dend) {
if
Jan Burse schrieb:
- Cut Action is enabled, even if selection is above input offset.
Corr.:
- Cut Action is enabled, even if selection is below input offset.
--
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send
Dear All,
I see a strange cipher result. I am using the
following code with a public RSA key:
System.err.println(res = + toHex(res, p, RSA_OUTPUT));
byte[] temp = cipher.doFinal(res, p, RSA_OUTPUT);
System.err.println(temp = + toHex(temp, 0, temp.length));
When I run
Problem resolved:
http://stackoverflow.com/questions/8885261/is-it-possible-for-android-application-to-implement-rsa-none-pkcs1padding-rsa
Jan Burse schrieb:
Dear All,
I see a strange cipher result. I am using the
following code with a public RSA key:
System.err.println(res = + toHex(res, p
BT schrieb:
Can I create multiple .apk's that install ADDITIVELY to the same /data/
apps/MyApp location?
In my particular case I have add-on modules that are built as C++ NDK
share objects: Feature1.so, Feature2.so, Feature3.so, etc. I don't
know what these will be ahead of time and the user
.
Best Regards
Jan Burse schrieb:
Mark Murphy schrieb:
You are missing the point. If I am understanding the documentation for
MemoryPoolMXBean, there cannot be some other lib. I believe that you
will be needing to remove the ties to javax.management, not replace
them.
Since I only need
Dear All,
Just noticed that javax.management is not available
on Android. Any substitute recommendation?
Bye
--
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
Jan Burse schrieb:
Dear All,
Just noticed that javax.management is not available
on Android. Any substitute recommendation?
Bye
I would need:
- javax.management.ListenerNotFoundException;
- javax.management.NotificationEmitter;
- java.lang.management.ManagementFactory
Mark Murphy schrieb:
On Thu, Jan 19, 2012 at 6:42 PM, Jan Bursejanbu...@fastmail.fm wrote:
I would need:
- javax.management.ListenerNotFoundException;
- javax.management.NotificationEmitter;
- java.lang.management.ManagementFactory;
- java.lang.management.MemoryPoolMXBean;
-
Mark Murphy schrieb:
You are missing the point. If I am understanding the documentation for
MemoryPoolMXBean, there cannot be some other lib. I believe that you
will be needing to remove the ties to javax.management, not replace
them.
Since I only need the memory threshold functionality
I
Original Title of Thread was:
Honeycomb (Android 3.2) emulator slow
And it was then hitchhiked by Christopher Van Kirk,
maybe unknowingly, i.e. not mastering his mail tool.
Dianne Hackborn schrieb:
I am an engineer on the core Android frameworks (android.app,
--
You received this message
Dear All,
Is it me or is it the system? I just installed the
Android SDK and were running a virtual device for
Android 3.2. I am using a Windows 7 box.
It seems to me that the emulator has some problems
in building the screen in time. I didn't have the
feeling of smooth interaction.
Android
Mark Murphy schrieb:
Set the Device RAM size to 1024.
Yes, why not, would it help?
Replace the home screen with something faster.
What do you mean by that? I tried already
window scale 96dpi
Which makes the window smaller. But I have
the feeling the whole graphics is broken,
font look
Mark Murphy schrieb:
I have already 4 cores, and one
core goes up with the emulator. The emulator
does not use multiple cores.
I did not say it uses multiple cores. I said: buy a Core i7 with Turbo
Boost to 3.4GHz.
Actually I have already turbo boost. Here are
the specs: HP EliteBook
Mark Murphy schrieb:
On Sat, Sep 3, 2011 at 7:26 PM, Jan Bursejanbu...@fastmail.fm wrote:
Actually I have already turbo boost. Here are
the specs: HP EliteBook 8560p Intel® Core™ i7-2620M @ 2.70GHz
But it is of absolutely no use here. The emulator
just sucks.
It would suck worse with a
Mark Murphy schrieb:
It would suck worse with a slower CPU. I find that the emulator works
tolerably with the configuration I described, and I have the same CPU
in a Dell notebook.
It also works ok here for android 2.3. The issue
is mainly it does not scale to android 3.2.
--
You received
62 matches
Mail list logo