http://developer.android.com/reference/android/content/Intent.html#FLAG_ACTIVITY_CLEAR_TOP
On Tue, Sep 22, 2009 at 11:26 AM, tauntz wrote:
>
> Hi
>
> Activities:
> A & B are activities that once you have navigated away from them,
> it's not logical that you can get back to them using the back b
super.onCreate(savedInstanceState);
InputMethodManager imm =
(InputMethodManager)getSystemService(Context.INPUT_METHOD_SERVICE);
imm.toggleSoftInput(InputMethodManager.SHOW_FORCED,
InputMethodManager.HIDE_IMPLICIT_ONLY);
On Thu, Sep 17, 2009 at 11:17 PM, Mike Collins wrote:
>
> I have a dialog t
So basically storing private data on the phone is actually impossible? I
must implement a system that needs to store some information at some times
in application lifetime. This information must not be deleted / modified in
any way because of security issues (the user could trick the system).
Is th
There's a post on this groups regarding the resize issue. It seems that
using the FULL_SCREEN flag actually (as it's name suggests) makes the IME
unable to "steal" a part of the screen for display purposes.
And regarding the other problem... try using InputType.TYPE_NULL +
InputMethodManger.showSof
I guess Window.setSoftInputMode() with
http://developer.android.com/reference/android/view/WindowManager.LayoutParams.html#SOFT_INPUT_STATE_ALWAYS_HIDDENshould
do the trick. Haven't tested it though.
On Mon, Sep 7, 2009 at 2:19 PM, kalyan simhan wrote:
> Hi all..
> Is there any way to prevent the
I would recommend using the RelativeLayout instead of the linear layout. You
could place them like this:
- first label aligned top parent (Band)
- second label below first label (Members)
- second edit text (Members list) right of second label, aligned top with
second label and aligned parent right
Maybe this helps:
http://developer.android.com/reference/android/content/Intent.html#FLAG_ACTIVITY_PREVIOUS_IS_TOP
On Mon, Aug 31, 2009 at 4:28 AM, tstanly wrote:
>
> can possiable to verify whether B is exist or not?
> if B exist,so the apps can call finish() to close B,
> if not,don't call B.f
Memory allocation can be very perverse especially if you don't know what
happens behind the curtain. From what I noticed a simple String allocation
implies most of the time an internal char array allocation (pretty obvious)
and many more that I can't now recall.
The rule is simple: If you can avoi
Use save/restore with MATRIX_SAVE_FLAG flag. Before rotating the canvas you
save the current matrix and after the first bitmap is drawn you restore it.
On Wed, Aug 26, 2009 at 2:09 PM, Nithin wrote:
>
> Hi,
>
> I have a View and that has a canvas. I am rotating the canvas, for
> rotating a bitma
If you haven't tried already:
1. Replace the strings that get modified with char[]. Strings are immutable
objects so changing one means memory allocation and leaking.
2. Also check the Allocation Tracker for memory leaking.
3. For the constant strings I would use Picture or some bitmap buffer
mecha
Sure! I built a simple example that looks something like my app layout:
http://schemas.android.com/apk/res/android";>
and the onCreate() method:
public void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
//this.getWindow().addFlags(WindowManager.LayoutParams.
time.
On Fri, Aug 14, 2009 at 7:55 PM, Dianne Hackborn wrote:
> Do the same thing TextView does.
>
> On Fri, Aug 14, 2009 at 8:33 AM, Andrei Bucur wrote:
>
>> Hello!
>> AbsListView implements onCreateInputConnection using an EditText, subclass
>> of TextView :). My q
Hello!
AbsListView implements onCreateInputConnection using an EditText, subclass
of TextView :). My question is how should a custom View implement those
methods so one can display the virtual keyboard.
Andrei.
On Fri, Aug 14, 2009 at 6:23 PM, greg wrote:
>
> I put the following menu option in m
InputStream.read(buffer) doesn't guarantee you'll read exactly buffer.length
bytes. You must use the value returned by read to actualy see how much was
read.
On Tue, Aug 11, 2009 at 9:51 PM, Vermouth wrote:
>
> > you have to check how many bytes in.read() actually read
> Hum...
> I don't underst
This is how I make libraries for Android in Eclipse:
1. I make a new Java project
2. In the project properties, at Java Build Path -> Libraries, I replace the
the JDK library with the android.jar, found in the Android SDK.
>From what I tested, this solution seems to work.
On Mon, Aug 10, 2009 at 2
UPDATE2: I manually uninstalled the package on the phone and then launched
again the debugger in eclipse. Now it works :|. If someone has a possible
explanation for this please feel free to share. My guess is that sometime in
the development process I used the path to create a file (not a folder) a
16 matches
Mail list logo