Thank that has sorta worked.
I used getChildAt(int x);
On 7/11/2010, at 6:52 PM, Sarava Kumar wrote:
1. store those each two elements inside single parent such as LinearLayout
2. you can get that ImageView's parent node by calling is getParent like
method
3. then get those
thanks for ur reply.
how can i transfer balance from a recharge sim to other non-recharge
sims?
May i get specific methods, package etc plz?
Istiaque Ahmed
On Oct 30, 8:34 pm, Kostya Vasilyev kmans...@gmail.com wrote:
Can't speak for the whole world, but --
The three Russian cellular
Hello Mike,
The Vibrant is similar to a Galaxy S, right?
On the Galaxy S, you have 2GB of internal storage, and an 8 or 16GB
internal SD card which seems to actually be external storage. The
8/16GB internal SD card can be accessed with the directory /sdcard.
I think you are meant to store your
You can simulate it in the emulator by sending location changes manually
on the DDMS screen (if you're using Eclipse not sure about other IDE's).
But... to do this on a real phone, you will need GPS, and GPS is not
very reliable inside many buildings.
You can do it with the emulator with a
Sounds good.
Please drop me a note when you have this ready or are looking for beta-
testers.
Time allowing, I might even be able to help with some of the
implementation,
if you are interested in sharing the code.
Feel free to contact me directly by email; I don't always watch this
newsgroup too
WebView is powered by WebKit. I know of no way to add protocol
handlers to WebKit via Java. There might be a way to do this via some
sort of WebKit plugin, but I don't know the first thing about that.
Depending on how the URLs are being used, a better choice may be to
use WebViewClient and
The thing is, the BaseAdapter providing the info for the ListView does
not have a list, it retrieves the items directly from the database,
based on an offset. This is needed because the size of this list would
be huge (about 10 entries). I have tried it with adding a lookup
offset to the
One thing you could do is: change the cursor query to where id = word_id -
10, where word_id is the id of the word the user searched for.
Another is to use a count query for the word, to find out its position
within the dictionary, and then setting the list view's position based on
that. This
Depending on what you are trying to accomplish in the end, you might be able
to use Android's built-in support for intent:// scheme.
--
Kostya Vasilyev -- http://kmansoft.wordpress.com
07.11.2010 13:25 пользователь Mark Murphy mmur...@commonsware.com
написал:
WebView is powered by WebKit. I
Take a look at http://www.mopapp.com. I haven't tried their service,
but it looks like what you're after.
String
On Oct 28, 9:40 am, deg d...@degel.com wrote:
On the Market web page, I can see how many copies of my apps have been
installed.
But, this only shows the current total. If I want
Following Romain's suggestion, I changed the code above to look as
below. The interesting thing to note is that the behavior remains
exactly the same. The dialog gets dismissed when the activity is new
but won't dismiss when there is a configuration change. According to
my understanding, the
For me, Tomcat is just an example of a complete implementation. For
our application we just need HTTP, HTTPS, and some basic server
instrumentation and logging to identify problems.
--
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to
This issue is more extensively addressed here:
http://groups.google.com/group/android-developers/browse_thread/thread/eddf5a148d0f3d5f/051169abf6fd05c0#051169abf6fd05c0
--
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group,
I just figured out a slick workaround for this bug. The progress
dialog stuff is clearly hosed so I just brute force it. I do a
setContentView with the resource
R.layout.tellsuserthatworkingisbeingdone, which tells the user to wait
a moment. Then I give the framework 100 mS to update the screen,
Hi all,
I'm in the process of starting a client for a webradio which streams
CC contents (hosted at www.gnufunk.org).
Its stream is Icecast based, and I have actually created a dumb client
by using MediaPlayer on Froyo.
MediaPlayer supports this format, but apparently there's no way of
getting
My AVDs suddenly can't reach the internet. I'm testing using the
browser of the AVD. I haven't changed anything that I think is related
on my development machine and I can still reach the internet from the
development machine. I'm sort of at a loss figuring out how to start
debugging this. Is it
On Sun, Nov 7, 2010 at 2:22 PM, Bret Foreman bret.fore...@gmail.com wrote:
My AVDs suddenly can't reach the internet. I'm testing using the
browser of the AVD. I haven't changed anything that I think is related
on my development machine and I can still reach the internet from the
development
False alarm. I reset my cable modem and the problem went away. Strange
that only some traffic was effected.
On Nov 7, 11:22 am, Bret Foreman bret.fore...@gmail.com wrote:
My AVDs suddenly can't reach the internet. I'm testing using the
browser of the AVD. I haven't changed anything that I think
It doesn't work because you are blocking the UI thread. You are not
streaming the UI at all like I suggested you do. You need to show the
dialog, then build the views by little batches so that you never block the
UI thread for more than a few milliseconds at a time. Otherwise your app
will appear
I'm not blocking the UI thread. In my test I stubbed out doDraw so it
returns immediately and the behavior is the same. It's due to calling
dismissDialog from the runnable.
On Nov 7, 11:51 am, Romain Guy romain...@android.com wrote:
It doesn't work because you are blocking the UI thread. You are
By the way, Romain, you bring up a good point regarding ANRs. And it's
not going to help splitting my work up into small groups of operations
because a busy CPU might make one group of operations last long enough
to trigger an ANR. Instead, I need to break the work into time slices
so that the
I did; it didn't help.
I also went back and changed my code a little bit:
public class NewsChannel implements OnClickListener, OnKeyListener {
.
.
.
news_channel_text =
I am implementing a ListAdapter and in getView, I am returning
@Override
public View getView(int position, View convertView, ViewGroup parent) {
switch (position) {
case 0:
if (title == null) {
title = View.inflate(mContext, R.layout.main_settings_title,
parent);
There should be a more detailed stack trace in logcat.
Other than that, what is title, and what is its relation to
convertView ?
-- Kostya
08.11.2010 0:57, Hendrik Greving ?:
I am implementing a ListAdapter and in getView, I am returning
@Override
*public*View getView(*int*position,
Not sure to understand the nine patch was just a PNG constructed with
the tools. I didn't use any XML file to define properties on the nine
patch. Though the nine patch as background worked fine as long as it
wasn't changed in the code.
I read somewhere about padding that isn't recalculated. But
Hey Kostya,
thank you very much for your patience and your suggestion.
You were correct and that's helped me move my project along.
Thanks again.
On Nov 4, 2:10 pm, Kostya Vasilyev kmans...@gmail.com wrote:
It seems that the place where you are trying to restore the value from a
Settings
Hi all,
I'm writing a game and I'm trying to avoid the GC kicking in and
causing big framerate drops.
I've run DDMS to see what allocations I'm causing and the huge
majority of them seem to fall under 2 categories:
1) class java.lang.String, allocated in java.lang.Integer, allocated
in toString
@String
I use mopapp.com for reporting purposes, great tool, they are in beta.
Today I did a quick data validation vs Checkout and it seems they
overstate figures a bit, we're investigating it.
@Brad
Are you thinking about a tool for free apps only?
Cheers,
Tom
On Nov 7, 5:44 pm, String
I've recently started using the WebView Android / Javascript interface
in my projects (and I think it's pretty cool; article here:
http://developer.android.com/resources/articles/using-webviews.html).
The problem is that when obfuscation is turned on, the callbacks from
Javascript to my Android
Mark and Kostya,
Thanks for the tips guys.
Mark, I could not find a way to get shouldOverrideUrlLoading() to
return objects to the webpage after intercepting them. Do you know of
one?
If not, I guess the only solution then would be a javascript-based
solution, which could even be used in
yes, it is in a try and catch and i run it within a while loop to retry if
it fails. I also log the exception caught when it fails. its just not
consistent. Is there a known issue with geocoder ?
thanks
Sunny.
On Tue, Nov 2, 2010 at 8:03 AM, TreKing treking...@gmail.com wrote:
On Tue, Nov 2,
2010/11/7 paulb pbizan...@gmail.com:
Mark, I could not find a way to get shouldOverrideUrlLoading() to
return objects to the webpage after intercepting them. Do you know of
one?
No, that is for user link clicks, redirections, etc.
--
Mark Murphy (a Commons Guy)
http://commonsware.com |
Hi guys,
I have a spinner successfully working but I am trying to use the
spinner.setSelection method to remember the previous spinner value
when the activity is reloaded.
Outside of setOnItemSelectedListener, is there a function of the
spinner that can give me the selected index?
The following
On Sun, Nov 7, 2010 at 6:09 PM, sisko adeod...@gmail.com wrote:
Hi guys,
I have a spinner successfully working but I am trying to use the
spinner.setSelection method to remember the previous spinner value
when the activity is reloaded.
Outside of setOnItemSelectedListener, is there a
On Sun, Nov 7, 2010 at 10:41 PM, Stephen Jungels sjung...@gmail.com wrote:
I've recently started using the WebView Android / Javascript interface
in my projects (and I think it's pretty cool; article here:
http://developer.android.com/resources/articles/using-webviews.html).
The problem is
Thanks, I followed up on that idea by creating a placeholder
interface; I am limiting this to the problem of WebView callbacks so I
call it JavascriptCallback.
If I follow the convention of implementing this interface wherever
appropriate, the following Proguard rules work:
-
I thought so - that is how I have used it in the past. Thanks for your
help anyway.
On Mon, Nov 8, 2010 at 10:03 AM, Mark Murphy mmur...@commonsware.com wrote:
2010/11/7 paulb pbizan...@gmail.com:
Mark, I could not find a way to get shouldOverrideUrlLoading() to
return objects to the webpage
I saw Dianne's post on Oct 31 regarding this topic. I'm also a co-
author of an Android book that advocated the approach of extending the
Application class. We're currently busy updating in preparation for
Pro Android 3, and I can assure you I've already replaced that section
with one explaining
Hi All
I installed in my Droid 2.2
http://code.google.com/p/cocos2d-android/source/browse/#svn/branches/moandroid/src/org/jbox2d
I got this error:
2010-11-07 19:17:15 - cocos2d_android] Error generating final archive: Debug
certificate expired on 11/4/10 3:23 PM!
How to generate a new Debug
In Eclipse, after I import an existing project, I don't see the
Android 1.5 directory.
I see the libs, src, gen, etc, but I don't know how to get the Android
one.
Q: How do I add that?
Any help appreciated!
-jim
--
You received this message because you are subscribed to the Google
Groups
I think for most mobile applications you probably only want one
download thread in order to prevent saturation of the (possibly slow)
network connection. This thread could simply use a
BlockingLinkedQueue to serialize the incoming requests. You'd also
want to set aggressive timeouts on the
Hi all -
which port is the adb connect host:port referring to when
connecting to a real device? Is that port defaulting to anything
(may be between and 5585 odd #) or not?
Thanks
--
You received this message because you are subscribed to the Google
Groups Android Developers group.
To
Try inflating with parent as null.
On Mon, Nov 8, 2010 at 3:34 AM, Kostya Vasilyev kmans...@gmail.com wrote:
There should be a more detailed stack trace in logcat.
Other than that, what is title, and what is its relation to convertView
?
-- Kostya
08.11.2010 0:57, Hendrik Greving пишет:
Properties-Android Tools-Fix Project Properties. This is a simple way of
doing it. Else, you will have to modify the .classpath variable.
On Mon, Nov 8, 2010 at 7:33 AM, cellurl gpscru...@gmail.com wrote:
In Eclipse, after I import an existing project, I don't see the
Android 1.5 directory.
I
I have a Dialog showing on my application. Right now it is showing in
the center of the device. But i want to see that dialog in Top of
layout. How to move it?
--
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email
Where is the UI state information (used in super.onCreate(Bundle
savedInstanceState)) stored and how can it be deleted from another app
or command line on a rooted phone?
I need to delete the user data (username, password) of both the native
Facebook app (com.facebook.katana) and the stock
It isn't stored anywhere persistent. It is only kept in RAM, and only for
as long as that particular activity instance may need to be launched
again. (That is, if you call finish(), that activity instance is gone, and
any saved state no longer needs to be kept.)
On Sun, Nov 7, 2010 at 8:52 PM,
Hi, in my application I have strings.xml file under values folder.
strings.xml file contain array. Now I want to add element to that
array at runtime. How to do that?
Thanks
--
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this
You cannot..
On Mon, Nov 8, 2010 at 10:37 AM, pramod.deore deore.pramo...@gmail.comwrote:
Hi, in my application I have strings.xml file under values folder.
strings.xml file contain array. Now I want to add element to that
array at runtime. How to do that?
Thanks
--
You received this
Ok. In my case, I cannot call finish() myself since it's a third party
app (Facebook) and the native browser. Therefore I do a kill. Wouldn't
that also end the lifecycle as well, with same effect as a finish() ?
On Nov 8, 12:55 pm, Dianne Hackborn hack...@android.com wrote:
It isn't stored
Ohhh !!! Thanks for your quick reply.
but my problem is that I have a list. The element in list is displayed
after reading the strings.xml file. Now I want to update this list
means suppose I want to add some element to that array. How to do
this?
On Nov 8, 10:09 am, Kumar Bibek
But here in this URL someone had wrote to strings.xml file-
http://stackoverflow.com/questions/3053062
On Nov 8, 10:19 am, pramod.deore deore.pramo...@gmail.com wrote:
Ohhh !!! Thanks for your quick reply.
but my problem is that I have a list. The element in list is displayed
after reading the
You cannot change the strings.xml.
If you want to have such changing and updatable arrays, consider using
SharedPrefs or Databases.
On Mon, Nov 8, 2010 at 10:49 AM, pramod.deore deore.pramo...@gmail.comwrote:
Ohhh !!! Thanks for your quick reply.
but my problem is that I have a list. The
Ok, Thanks for your suggestion.
On Nov 8, 10:26 am, Kumar Bibek coomar@gmail.com wrote:
You cannot change the strings.xml.
If you want to have such changing and updatable arrays, consider using
SharedPrefs or Databases.
On Mon, Nov 8, 2010 at 10:49 AM, pramod.deore
Just for a clarification. The string.xml file is a source file, it's not
part of the apk, hence it is not available at runtime. Instead, the bulid
process translates it into the R class file, which allows the application to
quickly access the strings directly via Java instead of parsing it at
He Frank, Thanks for good clarification.
On Nov 8, 10:42 am, Frank Weiss fewe...@gmail.com wrote:
Just for a clarification. The string.xml file is a source file, it's not
part of the apk, hence it is not available at runtime. Instead, the bulid
process translates it into the R class file,
On a rooted phone, you ought to be able to kill the Linux process. Just
finish or force close may not be secure since the Android OS lazily reclaims
processes that are no longer in use. Although on a non-rooted phone this is
not an issue, since the Android OS relies on Linux process security.
--
1. Enable debug mode on your devices
2. Try to run *adb devices command* in you terminal application, you
should see list of existing emulator or existing real devices which
connected to you computer.
On Mon, Nov 8, 2010 at 11:12 AM, kypriakos demet...@ece.neu.edu wrote:
Hi all -
On Sun, Nov 7, 2010 at 7:30 PM, J Handal jhand...@gmail.com wrote:
How to generate a new Debug certificate???
Delete your existing one.
-
TreKing http://sites.google.com/site/rezmobileapps/treking
That's what I thought. But why is the UI state then not entirely
cleared?
But I found the following difference though doing some more testing -
I found there's a difference whether the activity is in the foreground
or not when I do the kill:
Case 1)
I start the facebook app, I am on the login
when draw YUV frame use opengl 2.0 and shader on nexus one,but the
function glTexImage2D is too slow ,cost 40-60 ms
who can fix it ? the key codes:
-
int CreateSimpleTexture2D()
{
int err, i;
Thanks a lot Alex, I'll check with it..
On Nov 5, 8:58 am, RockNCode alexgarci...@gmail.com wrote:
Hello.
I suggest you go to frameworks/base/libs/audioflinger/AudioFlinger.cpp
and add LOGE prints to functions createTrack and createTrack_l. Could
you check in createTrack_l if you are
Hi, I am new to android and want to know how to connect android
emulator to google account .
can we do so if yes!!! then how.
--
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to
Well, to be honest I didn't read this on your book, but in _the other one_ :-)
In any case, it looks like it's a commonly suggested practice.
Thanks anyway,
Federico
On Mon, Nov 8, 2010 at 1:40 AM, davemac davemac...@gmail.com wrote:
I saw Dianne's post on Oct 31 regarding this topic. I'm also
i have two class as trial.java and ImageWoLab0.java(Image without
lable 0).When i run my application i am getting error as : The
application has stopped unexpectedly!!
public void onClick(View v)
{
switch (v.getId())
{
case R.id.btnSequence:
Intent intent1 = new Intent();
Same as you would on a phone. Menu Settings Accounts sync Add
account.
Note that the emulator instance will need to have been created for the
Google APIs, not base Android. Also, I believe that this was only
added with API level 8, but I'm not certain of that.
String
On Nov 8, 7:06 am,
Title sums it up nicely... I'm looking for a way to determine how much
of the heap my bitmap-heavy app is actually using. It's problematic
since the mapped bits themselves are allocated externally, although
they still count against your heap limit. The
VMRuntime.getExternalBytesAllocated()
bump ..
-Dan
On Thu, Nov 4, 2010 at 8:24 PM, Dan Raaka danra...@gmail.com wrote:
I have a email body in HTML and I need to attach an text file, xml
file and an image to the email. I am starting with xml
In my app with package name com.danraaka.apper
String filePath =
Hi Tom,
Hah, I actually found out about mopapp from your talk at DroidCon
London a couple of weeks ago. Thanks for the update!
String
On Nov 7, 10:41 pm, Tom / HyperBees tomek.ml...@gmail.com wrote:
@String
I use mopapp.com for reporting purposes, great tool, they are in beta.
Today I did a
glTexImage2D simply *is* slow. Moving stuff from system memory to
texture memory simply takes time and usually requires copying stuff
around more than just the obvious traffic through the bus.
In your case, though, I think you could optimize your problem and cut
some glTexImage2D calls by
70 matches
Mail list logo