On Thu, Sep 8, 2011 at 2:14 PM, Greg Donald gdon...@gmail.com wrote:
How can I keep my dismiss() calls from blowing up?
Keep a class-level reference to the dialog and dismiss it if you're being
destroyed. Or use showDialog() / dismissDialog().
The issue (I ran into this):
1 - You show your
Hi!
I'm developing a simple photo gallery application that pulls files
from the Net and uses a ViewFlipper to change Views.
Since I don't know how many Views the ViewFlipper will have, I have to
add all the views in code and not in XML.
My question is: are all the Views of the ViewFlipper loaded
There's a bug where after the logcat buffer gets full it wipes itself
continuously (you'll see one line at the top sometimes). If you hit the
little red X icon in the LogCat view, it will clear it out and let it start
over until it's full again.
On Thu, Sep 8, 2011 at 3:45 PM, Pinheiro rui.c.pinhe...@gmail.com wrote:
I'm developing a simple photo gallery application that pulls files
from the Net and uses a ViewFlipper to change Views.
Since I don't know how many Views the ViewFlipper will have, I have to
add all the views in code and
Thanks for the fast reply, it confirms my fears :-|
AdapterViewFlipper on Honeycomb.
Opsssieee, no can do... the app has to be compatible with 2.2.
--
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to
It's 208x192 on the Xoom. Not square. Other people have noticed this
too.
http://blog.perpetumdesign.com/2011/04/honeycomb-live-wallpaper-icon-mystery.html
Adding an xhdpi drawable doesn't make any difference since the Xoom is
an mdpi device. However, I can add a 208x192 drawable to drawable-
I don't think you can do that.
My users have been understanding of updates that have to go out for
the sake of compatibility with other devices.
I use minor version numbers like 3.0.1, .3.0.2 etc for minor fixes or
compatibility updates, and when they run the app after an update, it
shows what
Hi,
It is better to access sdcard by doing the following :
File SDCardFolder = new File(Environment.getExternalStorageDir()+/
yourfolder);
// test it :
if (SDCardFolder.exists()) String[] contentFolder =
SDCardFolder.list();
Check also if your permissions are well located in your manifest
Hi,
myWebView.setHorizontalScrollBarEnabled(false);?
best,
On Sep 8, 1:43 pm, bob b...@coolgroups.com wrote:
Anyone know how to disable horizontal scrolling on a WebView?
--
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this
You have too many questions, just hire someone to do it for you.
On Sep 7, 5:45 am, NAVI NEW navi44...@gmail.com wrote:
Please help me how to do video frame trans-coding in android
--
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to
Go away.
On Sep 7, 4:16 am, NAVI NEW navi44...@gmail.com wrote:
i have a video which have which containing different video
resolution, i want give it fix resolution by code.It's possible or not
by code
--
You received this message because you are subscribed to the Google
Groups Android
Hi guys,
apologies for the vagueness. We wrote apps using API 4 to run on HTC
G1
development phones that can run at the max Android 1.6. We wanted to
port a number of them to Android 2.2+ without (which was the first
mistake) testing them on actual hardware that does run that OS. Would
such
My new tablet (Archos 101IT) thanks to a friend from college) allows you
to lock the screen orientation in either portrait or landscape, IF you
want to. 99% of the time, I like to keep it in landscape mode. HOWEVER,
there are a few apps which really work best in portrait. As it is now, I
have
Scratch the without (which was the first mistake) testing them on
actual
hardware that does run that OS. We are planning this upgrade now but
we don't have the hardware for it yet so we will be testing them on
emulators.
That was a different posting I had - I cannot see any dev phones on
the
On Thu, Sep 8, 2011 at 4:40 PM, kypriakos demet...@ece.neu.edu wrote:
Would
such phones run apps written with API 4 without major overhaul?
Unless your apps are doing something very strange, they should run
fine. Again, if these app are on the Market, they are probably already
running on newer
On Thu, Sep 8, 2011 at 2:29 PM, TreKing treking...@gmail.com wrote:
On Thu, Sep 8, 2011 at 2:14 PM, Greg Donald gdon...@gmail.com wrote:
How can I keep my dismiss() calls from blowing up?
Keep a class-level reference to the dialog and dismiss it if you're being
destroyed.
Well, I just have
The problem is that you are attempting to update the UI in a foreign thread.
This line: progressDialog.dismiss();
You seem to be using a handler, so just change it to:
handler.postRunnable(new Runnable() {
@Override
public void run() {
progressDialog.dismiss();
});
Don't ever
I was reading about PowerManager API . But, I couldn't understand the
term wavelock. What is a wavelock? What does it exactly do?
--
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to
Actually, don't use a ProgressDialog, use Activity.showDialog()
instead. This handles device orientation.
On Thu, Sep 8, 2011 at 2:41 PM, Miguel Morales therevolti...@gmail.com wrote:
The problem is that you are attempting to update the UI in a foreign thread.
This line:
Can someone tell me how to pop up a dialog with two buttons on it that
say Facebook and Twitter?
--
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
On Thu, Sep 8, 2011 at 4:30 PM, Greg Donald gdon...@gmail.com wrote:
I don't get why if( this != null ) evaluates to true when the stack trace
seems to imply the Activity is gone already.
Be careful - in you code *this* refers to the thread itself, *not* the
Activity. In any case, the parent
Hi,
I have a very simple .aidl file that I am getting error compiling.
Here is my IPresence.aidl:
package com.sample.presence;
import com.sample.presence.StatusMessage;
interface IPresence {
int setStatusMessage(in String msg);
}
I also have StatusMessage.aidl in the package defined
dismiss() can be called from any
thread: http://developer.android.com/reference/android/app/Dialog.html#dismiss()
It just queues the dialog up for cleanup - or something along those lines.
Hmm, I see. I would argue it shouldn't be thread safe, since it
violates the don't touch the UI rule.
Override the dialog class and set your own layout.
I *think* dialog builder also has a method for setting your own layout.
On Thu, Sep 8, 2011 at 3:09 PM, bob b...@coolgroups.com wrote:
Can someone tell me how to pop up a dialog with two buttons on it that
say Facebook and Twitter?
--
You
On Thu, Sep 8, 2011 at 5:42 PM, Sarath Krishna
sarathkrishn...@gmail.com wrote:
I was reading about PowerManager API . But, I couldn't understand the
term wavelock. What is a wavelock? What does it exactly do?
There is no wavelock. There is WakeLock. An acquired WakeLock keeps
the device awake
copied Wakelock documentation below.
Wakelocks
=
A locked wakelock, depending on its type, prevents the system from entering
suspend or other low-power states. When creating a wakelock, you can select
if it prevents suspend or low-power idle states. If the type is set to
Hi
I want to have some information about odex files.
I have never used this in my application, i have always used
classes.dex files.
My questions is
1. What do I need to do to create odex files
2. Is there any problem I can have when upgrading my apps from market
in this case.
Thanks,
Manan
--
Hi
what is this?It retuns null though my org_work_address is entered.
ContactsContract.CommonDataKinds.Organization.OFFICE_LOCATION
Thanks in advance.
Regards
Goutom
--
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group,
A common reason for its disappearance is that Eclipse somehow lost
track of which device it is supposed to be connected to. Clock on the
little 'Device' icon in the DDMS perspective to make it come back.
But this irritating disappearing trick, and a few other
inconveniences, is why for serious
Why is a SocketException being reported as 'WARN'? This is a fatal
error, not a mere warning.
And this trace does not contain enough information for us to see why
it is timing out. You would be better off running Wireshark to see if
you get to the network at all, double check the URL, IP address
Mark is right. Implementing a 'close box' under Android is a bad idea,
because it is misleading to the user. The truth is that the Android OS
does NOT support the notion of 'close' for apps. It implements a
different paradigm, one more like SymbianOS (yechh!) than like
Windows. The user leaves
but I think that there is another way to prompt a user for an input
that shows the softkeyboard automatically.
what is the working method to do this?
On Sep 8, 7:54 pm, TreKing treking...@gmail.com wrote:
On Thu, Sep 8, 2011 at 12:37 PM, sblantipodi
perini.dav...@dpsoftware.orgwrote:
that
store the value of the height and width at startup and compare
the height with the initial value.
On Sep 8, 8:50 pm, guich guiha...@gmail.com wrote:
Hi,
Is there a way to know if the SIM is visible or not? I'm using the
android:windowSoftInputMode=adjustResize in the manifest, but i
can't
On Thu, Sep 8, 2011 at 8:00 PM, sblantipodi perini.dav...@dpsoftware.orgwrote:
what is the working method to do this?
There didn't seem to be one, from what I remember from that last discussion.
-
2011/9/8 ΙΟΥΛΙΑ ΓΡΗΓΟΡΙΑΔΟΥ iouliag...@gmail.com
*Copying your existing database seems like a simple solution.*
Copying? just pick data row-row to a file?
I don't know much about SQLite, but a file is a file so you should be able
to do some standard read-from file-A-then-write-to-file-B
Security concern? Not sure, why?
I just want to display some suggestive info to direct the caller using
the DTMF..
On Sep 8, 8:15 pm, Mark Murphy mmur...@commonsware.com wrote:
On Thu, Sep 8, 2011 at 1:28 AM, xavier bzp1...@gmail.com wrote:
I know that I can't replace the default
Enter your voice mail pin.
Hi, this is your bank, enter your account number.
On Thu, Sep 8, 2011 at 6:36 PM, xavier bzp1...@gmail.com wrote:
Security concern? Not sure, why?
I just want to display some suggestive info to direct the caller using
the DTMF..
On Sep 8, 8:15 pm, Mark Murphy
Hahahahahaahhahaa
On Sep 8, 2011, at 9:51 PM, Dianne Hackborn hack...@android.com wrote:
Enter your voice mail pin.
Hi, this is your bank, enter your account number.
On Thu, Sep 8, 2011 at 6:36 PM, xavier bzp1...@gmail.com wrote:
Security concern? Not sure, why?
I just want to display
Does anyone know how Sharekit shortens URLs? I need to do the same
thing on Android.
--
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,
On Fri, Sep 9, 2011 at 3:38 AM, Paul idi...@gmail.com wrote:
I for one however, do not want to experiment with a top
selling app by attempting to publish something and get an error or
have unexpected results. So I was hoping that someone else had actual
experience trying it and could share.
You should get a new key for each app. Anyway the process of asking
isn't that hard once you've done it.
That said you don't need any keys to use the Twitter Search API that I
mentioned earlier.
On Sep 8, 3:38 pm, saex elpablos...@gmail.com wrote:
You can use the same key secret key in a lot
Hah, how about playing the annc at the same time while display? Isn’t
it better?
On Sep 9, 9:58 am, Matt Powers mtpow...@gmail.com wrote:
Hahahahahaahhahaa
On Sep 8, 2011, at 9:51 PM, Dianne Hackborn hack...@android.com wrote:
Enter your voice mail pin.
Hi, this is your bank, enter
Hi,
I'm surprised, I wrote a snippet tool to cure one of the 5,000 Android
cancer cells running through your veins. Only a 50-100 downloaders.
http://marketplace.eclipse.org/node/113218
This should should feel like heroin. Once a brilliant idea for an OS
now a garbage dump, get whatever you
Hi,
I'm not sure if this is known issue at least I see some problems being
reported in older posts.
I dynamically registered a broadcast receiver in my Service class for
Outgoing call - code snip is below:
onCreate() {
:
IntentFilter ifNum = new IntentFilter();
Is there any easy way to add a cancel button to this?
AlertDialog.Builder builder = new AlertDialog.Builder(this);
builder.setTitle(t);
builder.setMessage(m);
builder.setCancelable(true);
builder.setPositiveButton(Facebook, new OnClickListener() {
Hi,
Are you sure you are using the correct UUID value for your device ?
The default UUID in bluetoothchat usually needs to be changed, see the
Android bluetooth docs.
Regards
On Sep 8, 2:45 pm, darrinps darri...@gmail.com wrote:
I've been fighting this for a long time now and thought I'd ask
Bob, my friends
--
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
android-developers+unsubscr...@googlegroups.com
For more
Sorry wrong thread.
--
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
android-developers+unsubscr...@googlegroups.com
For
hi all,
I am trying to simulate location updates using emulator console using
telnet.
I am using windows vista, and when i am trying to connect to emulator
at port 5554 its showing that telnet is not recognized as internal or
external command.
i am using C:\ telnet localhost emulator 5554
any
hi all,
I am trying to simulate location updates using emulator console using
telnet.
I am using windows vista, and when i am trying to connect to emulator
at port 5554 its showing that telnet is not recognized as internal or
external command.
i am using C:\ telnet localhost emulator 5554
any
ok sori guys.
the thing is that by default telnet doesnot work in vista.
so we need to install the telnet client in vista first for this
command to work
Control panel - programs and features - Turn windows features on or
off - select telnet client
installation takes few minutes. u r done ...
101 - 151 of 151 matches
Mail list logo