On Sat, May 5, 2012 at 9:48 AM, BNReddy narayanareddy...@gmail.com wrote:
On Sat, May 5, 2012 at 9:47 AM, BNReddy narayanareddy...@gmail.comwrote:
Yes,
and u dicker the class name in AndroidManifest.xml
activity android:name=. nextActivity
android:label=@string/app_name
hai
i am about to start with an android application.on the way,i stuck at the
point where i needed to display a dialog box while clicking on a comment
link inside a listview...listview already consists of images,like
option,username etccso,,how can i identify the click on
how can i identify the click on my comment option inside each listview???
is it possible???coment is a textview inside listview...please
help
If I understand what you are asking correctly, you should be able to use
setOnClickListener() on the ListView. This has an onItemClick
Thank You...:)..let me try.GOD BLESS YOU..
On Saturday, May 5, 2012 3:04:09 PM UTC+5:30, JTeagle wrote:
how can i identify the click on my comment option inside each listview???
is it possible???coment is a textview inside listview...please
help
If
I have tried to make only a small application, but I have a problem
with its layout file.
After I placed the ad in the code, my layout has been shifted, and the
background too. The edittext went downer and the two buttons too. I
don't know how I can make my layout to be the same after the ad
?xml version=1.0 encoding=utf-8?
RelativeLayout
xmlns:android=http://schemas.android.com/apk/res/android;
android:orientation=vertical
android:layout_width=match_parent
android:layout_height=match_parent
android:background=#fff
!-- put here as ur requirement --
!--
u can do anything .Horizontal or Vertical..
--
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
change in xml file soo that you can check it out ...
On 5 May 2012 18:30, krishna kumar send2mess...@gmail.com wrote:
u can do anything .Horizontal or Vertical..
--
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this
ou can change in xml file ...
change vertical to horizontal
it may work
On 5 May 2012 18:30, krishna kumar send2mess...@gmail.com wrote:
u can do anything .Horizontal or Vertical..
--
You received this message because you are subscribed to the Google
Groups Android
yes xml or code both .
--
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
You are doing it again...
Could you please drop your shitty attitude or stop posting here at
all? You are spreading bad karma here. And you do that in at least
one other thread.
If you are forced to use Java, change project/job or live with it.
Don't take it out on the list.
If you try to be
@ kris
I created my own app using eclipse (a simple hello world app with
nothing in it) and exported it now I want to edit its classes.dex the
other way not through eclipse but the alternetive way but I did not
know how to do it
I goggled it and found out how to convert .dex to .jar but could not
Activities in our application employ use of an OpenGL Surface that is
drawn behind the main content of the activity. Every time, the
activity is entered into a bitmap is captured and rendered on the GL
surface and every time it is paused the bitmap is removed.
It is observed that if we keep
E/ViewRootImpl(10414): IllegalArgumentException locking surface
I notice that it says 'illegal argument' - can you be absolutely sure that
at the point where it fails, the Rect you are passing for the dirty area is
a valid rect? Can you bounds check it against the extents of the surface as
a
That just seems unreasonable, why would you want to do that?
If you are having as much trouble doing this as you are, maybe it's
worth doing it an alternative (easier) way: what's the motivation for
trying to do this.
Kris
On Sat, May 5, 2012 at 9:32 AM, Prathwish Mestha prathwi...@gmail.com
What kind of menu are you trying to create? Options menu? Context Menu? I
do not believe you have access to changing how they are displayed...
http://developer.android.com/guide/topics/ui/menus.html
Thanks,
Justin Anderson
MagouyaWare Developer
http://sites.google.com/site/magouyaware
On Sat,
On May 3, 10:28 am, Streets Of Boston flyingdutc...@gmail.com wrote:
Google can't really do anything about it.
They could do much better than using Proguard.
--
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send
Quick question: are text files that I place in the assets folder
translated to the local language like strings in res/values/strings.xml?
If not, any suggestions for handling text files like help, about, etc.?
Thanks,
--jim
--
THE SCORE: ME: 2 CANCER: 0
73 DE N5IAL (/4)| This
On Sat, May 5, 2012 at 11:14 AM, Jim Graham spooky1...@gmail.com wrote:
Quick question: are text files that I place in the assets folder
translated to the local language like strings in res/values/strings.xml?
No. There is but one assets/ folder.
If not, any suggestions for handling text
It's not supported directly, but you can take a look at the following
StackOverflow threads for how to do it programmatically.
http://bit.ly/JBuT1F
http://bit.ly/IwAuan
Thanks
On Sat, May 5, 2012 at 8:44 PM, Jim Graham spooky1...@gmail.com wrote:
Quick question: are text files that I place
On Sat, May 05, 2012 at 11:19:17AM -0400, Mark Murphy wrote:
On Sat, May 5, 2012 at 11:14 AM, Jim Graham spooky1...@gmail.com wrote:
Quick question: ?are text files that I place in the assets folder
translated to the local language like strings in res/values/strings.xml?
No. There is but
On Sat, May 05, 2012 at 08:51:20PM +0530, Raghav Sood wrote:
It's not supported directly, but you can take a look at the following
StackOverflow threads for how to do it programmatically.
http://bit.ly/JBuT1F
http://bit.ly/IwAuan
Ok, thanks...that's a great start. I particularly like a
Have u include all activity names in tha Mainfest.xml file
--
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
Or you could just use 'raw' resources.
They allow for resource qualifiers (res/raw, res/raw-ru, res/raw-de, etc.)
and text files placed there are compressed.
-- K
2012/5/5 Jim Graham spooky1...@gmail.com
On Sat, May 05, 2012 at 08:51:20PM +0530, Raghav Sood wrote:
It's not supported
On Sat, May 5, 2012 at 12:09 PM, Kostya Vasilyev kmans...@gmail.com wrote:
Or you could just use 'raw' resources.
They allow for resource qualifiers (res/raw, res/raw-ru, res/raw-de, etc.)
and text files placed there are compressed.
Have you had much luck loading those into a WebView, though?
On Sat, May 05, 2012 at 08:09:14PM +0400, Kostya Vasilyev wrote:
Or you could just use 'raw' resources.
They allow for resource qualifiers (res/raw, res/raw-ru, res/raw-de, etc.)
and text files placed there are compressed.
If i'm reading that right, I'd still have to translate my (currently
2012/5/5 Mark Murphy mmur...@commonsware.com
On Sat, May 5, 2012 at 12:09 PM, Kostya Vasilyev kmans...@gmail.com
wrote:
Or you could just use 'raw' resources.
They allow for resource qualifiers (res/raw, res/raw-ru, res/raw-de,
etc.)
and text files placed there are compressed.
Have
Well, HTML files are just text, right? Can't you have them as a giant
string in strings.xml?
I'm making two assumptions here:
The OP's files are intact HTML without any text that won't work in
strings.xml
That Android has no limit to the length of a string in strings.xml
This approach could
2012/5/5 Jim Graham spooky1...@gmail.com
On Sat, May 05, 2012 at 08:09:14PM +0400, Kostya Vasilyev wrote:
Or you could just use 'raw' resources.
They allow for resource qualifiers (res/raw, res/raw-ru, res/raw-de,
etc.)
and text files placed there are compressed.
If i'm reading that
On Sat, May 5, 2012 at 12:25 PM, Kostya Vasilyev kmans...@gmail.com wrote:
Then again, perhaps machine translation to languages other than
Russian produces better results, or perhaps users speaking them are more
tolerant of translation mistakes...
AFAIK, nyet, (or, I guess, нет in Cyrillic, if
On Sat, May 05, 2012 at 12:12:54PM -0400, Mark Murphy wrote:
On Sat, May 5, 2012 at 12:09 PM, Kostya Vasilyev kmans...@gmail.com wrote:
Or you could just use 'raw' resources.
They allow for resource qualifiers (res/raw, res/raw-ru, res/raw-de, etc.)
and text files placed there are
On Sat, May 5, 2012 at 12:33 PM, Jim Graham spooky1...@gmail.com wrote:
On Sat, May 05, 2012 at 12:12:54PM -0400, Mark Murphy wrote:
On Sat, May 5, 2012 at 12:09 PM, Kostya Vasilyev kmans...@gmail.com wrote:
Or you could just use 'raw' resources.
They allow for resource qualifiers
On Sat, May 05, 2012 at 09:50:30PM +0530, Raghav Sood wrote:
Well, HTML files are just text, right? Can't you have them as a giant
string in strings.xml?
That might work ... but it would certainly be, ummm, interesting
The largest (so far) of the files is 8 kB of plain text. That is one
Thanks for the suggestions so far.
I have been looking at multiple other examples and codes, but couldn't
really make sense of them, seeing as there aren't any code example for a
List in a Dialog.
How should I go about splitting this into another activity? Just make an
Activity with a
On Sat, May 05, 2012 at 08:25:41PM +0400, Kostya Vasilyev wrote:
Then again, perhaps machine translation to languages other than
Russian produces better results, or perhaps users speaking them are more
tolerant of translation mistakes...
Based on the translations (user manuals, etc.) that
On Sat, May 5, 2012 at 12:48 PM, Jim Graham spooky1...@gmail.com wrote:
If it would work, it'd certainly be a nice alternative to doing
all of those translations
Um, string resources are not somehow automagically translated. The
resource system has the notion of different resource sets
You have to use the FragmentTabsPager and Fragments to do this. It's hard
though, I'm also working on it.
Reference:
http://developer.android.com/resources/samples/Support4Demos/src/com/example/android/supportv4/app/index.html
On Tuesday, April 17, 2012 3:52:32 PM UTC+2, ang1 wrote:
Hi
On Sat, May 05, 2012 at 12:39:00PM -0400, Mark Murphy wrote:
You may as well then use raw resources, as at least Android handles
the locale choice for you. I assumed (incorrect, as it appears) that
you were going with HTML and a WebView, and assets appear simpler to
use in that scenario.
I
ViewPagerIndicator has swipey tabs as well, AFAIK:
http://viewpagerindicator.com
On Sat, May 5, 2012 at 12:56 PM, Bas Verhoog basverhoo...@gmail.com wrote:
You have to use the FragmentTabsPager and Fragments to do this. It's hard
though, I'm also working on it.
Reference:
On Sat, May 5, 2012 at 12:58 PM, Jim Graham spooky1...@gmail.com wrote:
I didn't know that text in res/raw was translated
If by translated you mean supports language-based resource sets
like res/raw-es/, then yes. *All* resources support *all* resource
set suffixes. Some suffixes are not
Yes it does, but not ActionBar Tabs, right?
On Saturday, May 5, 2012 6:57:55 PM UTC+2, Mark Murphy (a Commons Guy)
wrote:
ViewPagerIndicator has swipey tabs as well, AFAIK:
http://viewpagerindicator.com
On Sat, May 5, 2012 at 12:56 PM, Bas Verhoog wrote:
You have to use the
On Sat, May 05, 2012 at 12:54:44PM -0400, Mark Murphy wrote:
On Sat, May 5, 2012 at 12:48 PM, Jim Graham spooky1...@gmail.com wrote:
If it would work, it'd certainly be a nice alternative to doing
all of those translations
Um, string resources are not somehow automagically translated.
On Sat, May 5, 2012 at 1:07 PM, Bas Verhoog basverhoo...@gmail.com wrote:
Yes it does, but not ActionBar Tabs, right?
Ah, correct, sorry.
--
Mark Murphy (a Commons Guy)
http://commonsware.com | http://github.com/commonsguy
http://commonsware.com/blog | http://twitter.com/commonsguy
_The Busy
On Sat, May 5, 2012 at 1:10 PM, Jim Graham spooky1...@gmail.com wrote:
Strange. I read just the opposite: that you should put strings in
strings.xml so they'll get translated for you, instead of putting them
in the Java code. The implication was that they were automatically
translated, and
Bas,
Splitting complex *statements* is what I was suggesting.
Now, if you wanted to also place classes into separate files, well, that
might be helpful too.
Eclipse can highlight code blocks, matching { and } characters. This
can help you spot mismatches really easily. You can do this by double
Thank you very much for the response. It almost worked.
Please check the following code if I implemented your method as you
intended:
public Spanned setSpeedText(){
StringBuilder hTmlSB = new StringBuilder()
2012/5/5 Jim Graham spooky1...@gmail.com
On Sat, May 05, 2012 at 12:54:44PM -0400, Mark Murphy wrote:
On Sat, May 5, 2012 at 12:48 PM, Jim Graham spooky1...@gmail.com
wrote:
If it would work, it'd certainly be a nice alternative to doing
all of those translations
Um, string
On Sat, May 5, 2012 at 1:23 PM, x300 yib...@gmail.com wrote:
Thank you very much for the response. It almost worked.
Almost who-hoo!
:-)
Please check the following code if I implemented your method as you
intended:
Yeah, you did, but Android messed me up. It can take a Spanned with
font
Haker. stay away from here, we work night and day 365 days per year.
--
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
with the premise that I have NO EXPERIENCE of C language, I would like to
solve a problem that does not allow me to proceed with the publication of
my app.
I have a native function that uses ffmeg for file conversion, which I call
from Android by AsyncTask.
I need to stop the native
I have an app that use a native porting very strong.
My experience during the debug with few devices, is good on good model with
multi process and bad on old devices with bad processor.
I would like to publish the app only for new devices with a good processor,
some suggestion?
--
You
Hi,
Yeah, the statements were your idea. However, the person before you
(Spiral123) suggested splitting the Activities ;).
Thanks for the tip on the Eclipse hightlight, too!
One question, though: How is it tricky to get a Dialog with Listview to
display correctly? Also, would my idea of
No problem. Reading error, you're a human too :).
On Saturday, May 5, 2012 7:14:08 PM UTC+2, Mark Murphy (a Commons Guy)
wrote:
On Sat, May 5, 2012 at 1:07 PM, Bas Verhoog basverhoo...@gmail.com
wrote:
Yes it does, but not ActionBar Tabs, right?
Ah, correct, sorry.
--
Mark Murphy
Maybe exit(0) from stdlib.h could help?
воскресенье, 6 мая 2012 г., 0:42:26 UTC+7 пользователь Giuseppe написал:
with the premise that I have NO EXPERIENCE of C language, I would like to
solve a problem that does not allow me to proceed with the publication of
my app.
I have a native
bad idea... that will kill the app.
You're not looking to kill the *process*, it's running in the same
process, just through the JNI.
kris
On Sat, May 5, 2012 at 2:02 PM, F.Stein dr.frank.st...@gmail.com wrote:
Maybe exit(0) from stdlib.h could help?
воскресенье, 6 мая 2012 г., 0:42:26 UTC+7
You can look at the Google Play filters:
http://developer.android.com/guide/appendix/market-filters.html
But I don't think that there's a filter that allows you to specify the
processor characteristics.
My advice would be to publish on all devices, but warn that the app
will not work on less
2012/5/5 Bas Verhoog basverhoo...@gmail.com
Hi,
Yeah, the statements were your idea. However, the person before you
(Spiral123) suggested splitting the Activities ;).
Thanks for the tip on the Eclipse hightlight, too!
One question, though: How is it tricky to get a Dialog with Listview to
On Sat, May 05, 2012 at 09:31:00PM +0400, Kostya Vasilyev wrote:
And if you ever decide to have a Russian translation, just send me your
XMLs and I'll do them for you.
Thanks. I might just do that, if I go back to the idea of doing
translations. Of course, I'd need a lot more people offering
Is there a level 8 equivalent for this function? I need to write
files to external memory that the user can browse from the desktop via
USB. My app specifies API level 8 and I really don't want to leave
behind users who are on Android 2.2. Currently what happens is I
write the file and it is
setReadable() is not your problem -- all files on external storage are readable.
If you are running into this problem on Android 3.0+ devices, you need
to index your file:
http://commonsware.com/blog/2011/08/31/mtp-external-storage.html
On Sat, May 5, 2012 at 5:05 PM, RLScott
@Jason: thanks for the inputs.
There are two reason for canvas lock; the other is failed to dequeue
GL buffer. THe following is written to the logs when this happens:
W/GraphicBufferMapper(2541): registerBuffer(0x3a2408) failed -14 (Bad
address)
W/Surface(2541): registerBuffer(...) failed -14
Hi,
We already have lots of good tablets outside. Is there anything better
than 16bpp to use? Can i use 24bpp with android, for example, with
galaxy tabs?
thanks
guich
--
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this
This article (http://www.displaymate.com/
Samsung_Galaxy_Tab_ShootOut.htm) says that Galaxy Tab 10.1 has a 24bpp
screen. How can i reach this resolution using the android api?
--
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this
On Sat, May 05, 2012 at 06:09:19PM -0700, guich wrote:
This article (http://www.displaymate.com/
Samsung_Galaxy_Tab_ShootOut.htm) says that Galaxy Tab 10.1 has a 24bpp
screen. How can i reach this resolution using the android api?
What's wrong with ARGB_ (except for the large amount of
Hi,
Unfortunately, no. As i said, it occurs intermitently. Or, in other
words, it works almost always, but this error happens somethimes when
the data reaches the destination, and then the error is returned.
thanks
--
You received this message because you are subscribed to the Google
Groups
not sure if it is really used in android. Some months ago a senior
engineer from Android (forgot her name right now) said that no device
used such configuration.
thanks
--
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group,
On Sat, May 05, 2012 at 06:38:42PM -0700, guich wrote:
not sure if it is really used in android. Some months ago a senior
engineer from Android (forgot her name right now) said that no device
used such configuration.
I've never heard anything like that. What I HAVE heard (ummm, read) is a
lot
On Sat, May 05, 2012 at 07:32:23PM -0700, Romain Guy wrote:
BitmapFactory always loads bitmaps in ARGB as of 2.3.
Ah. Thank you for clearing that up. :-)
Thanks,
--jim
--
THE SCORE: ME: 2 CANCER: 0
73 DE N5IAL (/4)MiSTie #49997 Running FreeBSD 7.0
spooky1...@gmail.com
On May 5, 4:15 pm, Mark Murphy mmur...@commonsware.com wrote:
setReadable() is not your problem -- all files on external storage are
readable.
If you are running into this problem on Android 3.0+ devices, you need
to index your file:
Thanks.
I will play with SpannableString stuff with SizeSpan, and will post
here if something works.
I often get across your post as a solution to similar problems I'm
facing, and want you to know that your efforts are appreciated around
the globe (I am located in Tokyo).
Why don't you write a
70 matches
Mail list logo