Now that Android Studio has reached the 1.0 landmark will future versions
of the build tools, support libs, and ADT images continue to be released
for both ADT and AS in tandem or can we expect to start seeing Android
Studio only packages and features? It would be awesome if someone from the
A
Related to this same question, if it is not supported to change the locale
outside of the built-in OS configurations, how can I request a language
specific soft keyboard on-the-fly? I don't necessarily need code, just a
push in the right direction.
--
You received this message because you are
>
> I know this is a pretty old thread, but I'm curious if it is still the
> contention of the team at Google that changing the language at runtime is a
> bad idea? If so, what are my alternatives? I am doing a kisosk
> application for a corporate customer so I can't fire the intent to bring
Hi UI Framework Gurus!
I'm trying to create a drawable list in code to act as the selector for a
button. Because of the special requirements of my application it needs to
happen all in code so I can't use the XML or inflated layouts, which is too
bad because I've seen that approach working. W
One solution I've come across is not to use: for the default state
but rather a solid color such as white. This effectively "fixes" the
demo code, however it still causes issues in my production environment
because the background of the listview itself is a custom graphic and
thus I wanted it to
Howdy UI Gurus!
I am having an issue with a custom list selector. I tried to whittle
the code down to a very small subset that runs independently of my
project in hopes someone more familiar with the UI framework than I
could assist. Basically, I have a custom selector I have been using
for list
extView tv = (TextView)v.findViewById(R.id.grid_item_text);
> tv.setText("Item #"+mItems.get(position));
>
> return v;
>
>
>
>
>
>
>
>
>
> }
> On Tue, Nov 29, 2011 at 5:17 PM, Kumar Bibek wrote:
> > What exactly
Hi Android Framework Gurus!
I am hoping someone out there can answer a question for me about re-
using views in my adapters. My understanding, is that for performance
reasons this is something I should always always always do. Yet in my
experience, doing so always results in the view, whether a
just for completeness
float gb = 0;
NumberFormat dfm = new DecimalFormat.getInstance();
dfm.setMaximumFractionDigits(1);
dfm.setMinimumFractionDigits(1);
float mTotalRamInstalled = (float) new
Float(dfm.format(gb)).floatValue();
--
You received this message because you are subscribed to the Goog
Thanks for pointing me in the right direction! I knew I had to be
doing something wrong :)
--
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 gr
Hello All,
I am running into an issue with some of my European users. To
demonstrate the issue I isolated the following three lines of code:
float gb = 0;
DecimalFormat dfm = new DecimalFormat( "#,###,###,##0.0" );
float mTotalRamInstalled = (float) new
Float(dfm.format(gb)).floatValue();
I am
Hello,
I have a question concerning how classes are loaded at runtime and I
am hoping someone out there has the inside scoop. Basically I am
supporting an app that has a significant following. The app parses
JSON responses from a web server. A handful of users are getting a
JSON parse error. T
You need a lower case "o" when you declare "public boolean
onOptionsItemSelected(MenuItem item){ ". Java is case sensitive and
using an uppercase letter as you are doing now creates a new method
that while valid is not actually hooked to the OS menu framework.
Cheers!
--
You received this messag
No responses so either my question stumped everyone or it was too
obvious for anyone to bother :) Either way I finally got it to work
so if it saves anyone else 4 days of pouring over documentation here
is the code.
if (v.getId()==R.id.add_row) {
mRowCount++;
Does anybody out there have experience formatting table row contents,
(not comments), in code?
--
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
Hi All,
I am hoping someone out there can give me an idea what I am doing
wrong. I wanted to create a table dynamically in my application,
which I did, but also I wanted to be able to set some of the layout
parameters, specifically the gravity and layout_gravity for a couple
text views and one im
And don't forget to turn on USB debugging on your phone under
application settings.
--
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, sen
I encountered a similar problem and found with some testing that
adding:
getWindow().setSoftInputMode(WindowManager.LayoutParams.SOFT_INPUT_STATE_ALWAYS_HIDDEN);
as the last line of the onCreate() for each class that extends
Activity did the trick. P.S. I apologize in advance if this post
shows up
I had similar issues and with some testing found that adding:
getWindow().setSoftInputMode(WindowManager.LayoutParams.SOFT_INPUT_STATE_ALWAYS_HIDDEN);
as the last line of my onCreate() in each class that extends Activity
did the trick. Like you the issue with the soft keyboard popping up
did not s
If you want to use the spinner theme and insure its integrity why not
package that theme with your application? Just move a copy to your /
res folder, rename it, and reference your local version.
--
You received this message because you are subscribed to the Google
Groups "Android Developers" gr
For anyone encountering similar problems Kostya was correct in both of
his suggestions. Using the built-in progress bar works, or if you
need a custom animated icon you can modify the getView method as in my
sample as so:
@Override
public View getView(int position, View convertView, ViewGroup par
ogressBar, that can show the
> standard progress "wheel', and it works well with setVisbiblity, leaving
> no artifacts. Perhaps you could just use that? An added benefit is that
> you'll get vendor-specific customizations automatically.
>
> -- Kostya
>
> 13.05.20
BTW--I think it is interesting that I can show and hide the loading
image/icon correctly, its only when I enable the animation that things
start going wonky on rows other than the view I'm trying to affect.
--
You received this message because you are subscribed to the Google
Groups "Android Deve
Yet the view that gets affected, is not the one being passed into the
function. Meaning I get the callback to update say row 3, and row 3
updates correctly, but the image in row 7 might change as well. Not
the text in row 7 though, and the only code that updated the image
view first updates the t
I am curious what you mean by "make sure you have the states of the
views set up correctly". In my original implementation, I was using
the convertView in the manner I thought was correct. i.e.
View v = convertView;
if (v == null) {
LayoutInflater vi =
(LayoutInflater)c.getSystemService(Conte
Yahel's post got me to thinking. I modified the getView method of my
data adapter to look like this:
@Override
public View getView(int position, View convertView, ViewGroup parent)
{
LayoutInflater vi =
(LayoutInflater)c.getSystemService(Context.LAYOUT_INFLATER_SERVICE);
View v = vi.inflat
Thanks, Yahel. I will give your suggestion a try this morning.
--
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-d
I'm also including a few pics to illustrate the issue in case my text
isn't entirely clear.
[IMG]http://i53.tinypic.com/339oemx.png[/IMG]
(http://tinypic.com/r/339oemx/7)
[IMG]http://i53.tinypic.com/2qjhevo.png[/IMG]
(http://tinypic.com/r/2qjhevo/7)
[IMG]http://i56.tinypic.com/2s1agsp.png[/IMG
Hello Android UI Gurus,
I have been struggling for a few days now with an annoying UI issue.
I've whittled the project down to nothing but a small demonstration of
the problem. I admit I'm pretty new to Android UI work, but at the
same time I'm an experienced, qualified engineer and I just can't
, here is my solution:
http://www.codeproject.com/KB/android/AndroidMenusMyWay.aspx. There
is plenty of room for improvement I realize but hopefully the code
will help save some of my fellow devs some time.
Regards,
authorwjf
--
You received this message because you are subscribed to the Google
Thanks for the suggestions Nicholas & Marcin. I hope to get a chance
to give them both a try tomorrow night. I especially like not having
the overhead of creating the second bitmap. I didn't realize that was
an option. I should have explored the canvas object more closely.
--
You received thi
Howdy Android Gurus!
I am hoping someone out there who is an expert in GFX (or at least not
a n00b like me), can give me some words of wisdom. In my onDraw
callback I am presently displaying a simple bitmap, its just 48x48
pixels. I load it up early on like this:
// during initialization i load
Add:
android:windowSoftInputMode="adjustResize"
to your manifest for each activity that is giving you problems.
--
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 un
"My conclusion is that 0.9.9 is not ready for prime time; I recommend
everyone to avoid it."
Well said, String. I second that. Short of re-installing I found no
way to get the environment operational after the update. Though at
least I am up and running again.
--
You received this message bec
I too have ran into this same issue. I literally selected update from
the Eclipse (3.5.1) menu and allowed the IDE to download and install
the ADT 0.9.9 update and poof my development environment was FUBAR. I
appreciate the work that goes into patches and updates but all of that
takes a back seat
Have you tried increasing some of the memory allocations for Eclipse
up front in your ini file? It maybe sounds counter intuitive but
giving Eclipse a little more memory will save some of the disk
swapping and I/O is where the real slow down is for any desktop
application in my experience.
Basic
m/group/android-developers/browse_thread/thread/3571170253b99d0/92c8a626e08e2574?lnk=gst&q=authorwjf#92c8a626e08e2574
--
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@googleg
In its most basic format, calling a rest service is simply doing an
HTTP call. For example:
public void callSomeApi() throws Exception
{
DefaultHttpClient httpclient = new DefaultHttpClient();
httpclient.getCredentialsProvider().setCredentials(
new AuthSc
http://groups.google.com/group/android-developers/browse_thread/thread/3571170253b99d0/92c8a626e08e2574
On Aug 30, 1:11 pm, Jon Cook wrote:
> Has anyone had any problems with you're Droid 2 to ADB? Things were
> great on the Droid 1. I updated all of the Motorola drivers and so
> forth but no lu
See this thread.
http://groups.google.com/group/android-developers/browse_thread/thread/3571170253b99d0/cf5ff7cdbec6e42d?lnk=gst&q=authorwjf#cf5ff7cdbec6e42d
Might help.
On Aug 26, 7:31 am, Lidia G wrote:
> Hello guys,
>
> I am testing my android application and i want to run
Like you I had similar problems getting my Motroloa DROID to show up
as a device in Android Device Chooser dialog under Eclipse. I am
running the 32-bit version of Windows 7. I found a number of forums
that tried to address this issue, but no one seemed exactly sure what
was happening, and a number
Howdy,
I am sure there is an easy answer for this but I've yet to find it.
Our application requires us to change out a number of the system 9.png
images (okay, actually our marketing dept is requiring as I'm fine
with the orange). Anyhow, I've been successful in getting most
buttons to change by
42 matches
Mail list logo