I'm getting the error in the subject line using Android studio 2.1.2 on
Win7 x64, on the following lines:
String sep = "\\";
also with
Character sep = '\\';
very strange.
--
You received this message because you are subscribed to the Google Groups
"Android Developers" group.
To
I'm trying to resize a webview in a relativelayout when a user clicks a
button but it's proving to be quite difficult. Here's what I've tried. In
every case the webview simply repositions itself but never resizes.
*protected* *void* toggleMap(){
...
lp*=new*
it.
On Monday, July 2, 2012 8:52:46 PM UTC+1, alex b wrote:
I have an activity that contains a private Vectormyobject, thread safe
version of ArrayList. The activity adds items to the ArrayList, and in
onSaveInstanceState() I save the data (see code below). The problem is
that it looses
onSaveInstanceState()/onRestoreInstanceState() code isn't working
correctly.
On Thursday, July 5, 2012 1:35:07 PM UTC-7, alex b wrote:
I saw the notice about the syncronization of the Vector type, but it
didn't help me find a solution to the problem. What I believe i need to do
is...
lock
Here's a link to the first android tutorial that covers creating a project
and building a hello world app:
http://developer.android.com/training/basics/firstapp/creating-project.html
If you have a problem with the installation that is preventing the new
project wizard from lauching, I would
it doesn't sound like such a new idea, i.e. i think a lot of apps already
do that. So i would guess it's OK to do.
On Thursday, June 28, 2012 7:57:59 AM UTC-7, Oliver wrote:
Hi,
So I have an idea for making my app more popular. It's a free app, but
some functions are not available by
Developer forums are for getting help with code that you have ALREADY
written. It's generally frowned upon to ask the forum to write the code
for you.
What you want to do doesn't sound trivial, but i would guess you'll need to
compare each bit of each bitmap and come up with some kind of
I have an activity that contains a private Vectormyobject, thread safe
version of ArrayList. The activity adds items to the ArrayList, and in
onSaveInstanceState() I save the data (see code below). The problem is
that it looses items and it seems to have after the GC runs. So what am I
I'm trying to use the Android Support package in my Android 2.3.3 eclipse
app. I've downloaded the package, created the \libs folder, copied
'android-support-v7-gridlayout.jar' into that folder, and added it to the
build path, however when I attempt to add a GridLayout tag to my layout I
get
'more precise' is a matter of what you want to know. Do you care about how
many users are using your app (unique visitors), or how much your users are
using the app (visitors)? I can see both numbers being important under
differenct scenarios. I noticed your android app has twice the number
I don't know of any way that an application can communicate with another
app outside of the OS. It's my understanding that in order for an app to
communicate with another app it has to call startActivityForResult() and
then it would get the result of the activity that it started. It can also
It's looking like the latest android upgrade is causing this
I'm getting the error with com.google.gson, after I upgraded the
android sdk too.
I upgraded gson after i began getting this error but that didn't help.
On Apr 5, 1:48 pm, Jens Axelsson jens.axels...@gmail.com wrote:
I have
I received a message yesterday indicating that I had to upgrade to
android sdk v 17+. So I downloaded the latest version (v18) and
installed it. After some pain, I'm now getting the error in the
subject line with com.google.gson.
Upgraded gson to v 2.2.1, but that didn't help.
--
You
The WebView control already does that. I believe if you set the width of
the control to fill_parent all of the html content should fit the screen.
On Monday, May 14, 2012 12:00:05 PM UTC-7, nmoe wrote:
I'm trying to split a HTML file to fit a specific screen and would
like to somehow
Apparently the word on the net is that Navigation is no longer supported in
the Android sdk (sounds like a plot by Google to maintain an unfair
advantage). You can use the Directions service in the Google Maps
javascript api, though.
On Sunday, May 13, 2012 1:51:18 PM UTC-7, tal wrote:
Been going round and round with a webview and javascript in android
2.3. I understand the javascriptinterface doesn't work in this
version of android, fine. Are there also issues with javascript? I
can get the webchromeclient to return alerts from the page
using .LoadUrl() pointed to a local
I've got the following test.htm in the assets directory:
input type=*checkbox* value=check me /
input type=button value=Say hello onClick=showAlert('Hello
Android!') /
script type=text/*javascript*
function showAlert(t) {
alert(t);
}
/script
which I'm loading like so...
I believe you can check the screen size, i.e. if it's greater than 450x600
or something than it's a tablet. I'm not exactly sure where you find that
but it must be passed by the browser because I've seen analytics from
google that show the screen size of the device hitting the site.
On
This xml in my layout file displays a line...
ImageView android:layout_width=320dp
android:layout_height=2dp
android:background=@drawable/bg_line/
This code in my activity fails (notice the similarity to the xml above)
ImageView lbl=new
Thanks Lexxuz. The solution you provided works only in the sense that
it prevents the soft keyboard from revealing itself - but it is still
a hack. Here's why: I have a hint in each of my text fields (EditText
input fields). When I *press* into the fields (i.e. focus them), the
hints disappear -
I'm still trying to figure out how to suppress the soft keyboard from
showing because I have my own custom buttons for input. I have several
EditText input fields, and all of them get filled by the custom on-
screen buttons. I don't want the soft keyboard to show up at all.
Could someone please
Anyone know how to suppress the soft keyboard?
On May 29, 8:59 am, Alex B alexba...@gmail.com wrote:
Actually, there's still a problem.
I only want suppress the softkeyboardfrom showing up -- because I
have a custom on-screen keypad. Consuming the touch event suppresses
the softkeyboard
to suppressing the soft keyboard is a
kind of hack. Is there a graceful way of suppressing the soft
keyboard?
On Jun 1, 7:38 am, Sujay Krishna Suresh sujay.coold...@gmail.com
wrote:
arent u able to use setfocus to give ur keypad the focus???
On Mon, Jun 1, 2009 at 8:03 PM, Alex B alexba
Indeed, Sujay, thank you!
This will disable (suppress) the soft keyboard:
editText_input_field.setOnTouchListener(otl);
private OnTouchListener otl = new OnTouchListener()
{
public boolean onTouch (View v, MotionEvent event)
{
return true; // the listener has
two text
fields, and I want to suppress the keyboard on both, but of course
both fields must still be touchable.
Any idea how to suppress the soft keyboard, but not have the above
mentioned negative side effect?
On May 28, 11:19 pm, Alex B alexba...@gmail.com wrote:
Indeed, Sujay, thank you
Hi Dianne,
How to eat it? I too want to prevent the soft keyboard from showing
when the EditText is touched.
private OnClickListener ocl = new OnClickListener()
{
public void onClick(View v)
{
// how to eat the event?
}
};
On May 13, 9:36 am, Dianne
Hi, Kumar.
See:
http://android.git.kernel.org/?p=platform/frameworks/base.git;a=blob;f=location/java/com/android/internal/location/LocationMasfClient.java
The comment there says: Service to communicate to the Google Location
Server (GLS) via MASF server
and according to a quick web search,
Google employees... any ideas about this? Thanks.
--~--~-~--~~~---~--~~
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
Hello service developers!
At a certain point in my program, when I'm completely done with my
service, my activity executes unbindService() and stopService() -- yet
the process persists. I can tell that it persists because I run ps
in adb -e shell:
USER PID PPID VSIZE RSS WCHANPC
Initially I went to the issues tracker, but the New Issue Description
says NOTE: This form is only for reporting bugs. For questions,
comments, or advice please visit:
http://groups.google.com/group/android-developers;.
As this is not a bug, I posted here. I'm hoping that a Google employee
will
It seems that keywords.html has been removed from the docs as of
1.1_r1.
Even if the developer docs search box was case insensitive (which it
isn't), it would not live up to keywords.html.
I found keywords.html incredibly useful and would like to request that
it gets reincorporated with the
Is it possible to remove files from res/raw once the program is
running? I'd like to include some mp3s in the app I'm making, but if
the user doesn't like them, I'd like to provide the option to delete
those files. Is there a way to delete files from res/raw once the app
is running?
How are you
Marco, I'm really grateful for your reply because you've saved me from
spending any more time trying to figure this out. Is this mentioned in
the docs? If so, I missed it. If not, it should be mentioned as
explicitly as you did. This is a minor set back, but an acceptable one
given the reasoning.
Vladimir, you only need data access for the 5 minute activation
process. Beyond activation, the data plan is only necessary for
always-on-networking; however, if you do not care for always-on-
networking, you can definitely just use Wi-Fi networking
intermittently -- that is, whenever you obtain
Hi!
I am having trouble finding the API call to obtain information about
whether the keyboard is revealed or not.
When I am in portrait mode (keyboard hidden), and I slide the screen
out (to reveal the keyboard), the following line is printed:
I/WindowManager( 51): Input configuration
Solution!
I was able to connect via the *new* Fido SIM cards using the following
APN settings:
Name: Fido
APN: internet.fido.ca
Username: fido
Password: fido
MCC: 302
MNC: 370
* The new SIM cards (3G) use code 370 (three-seven-zero). The old Fido
SIM cards (2G) use mobile network code 37
Has anyone been able to surf the web from their G1 *strictly* via Wi-
Fi?
... how about, the wifi network created by their Mac laptop's Airport
Internet Sharing?
Has anyone in Canada been able to successfully connect via Fido (or
any other carrier)?
I am a developer in Canada -- and we don't
Thank you so much! That is indeed the way to do it!
--~--~-~--~~~---~--~~
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
Hi!
How does one determine the cursor position in an
android.widget.EditText text view?
Example:
User types: quick browm fox.
User realizes the typo (browm).
User touches the text view just after the m, thereby positioning the
cursor there.
Now the view looks like this: quick browm| fox --
Hi!
How does one determine the position of the cursor in
android.widget.EditText?
I am dealing with a situation where the user should be able to touch
the text view, positioning the cursor where their finger touched, and
then be able to press a virtual backspace button (on the screen),
In your Android SDK directory, look inside: tools/lib/res/default/xml/
time_zones_by_country.xml
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to
This is indeed a significant issue. We should be able to check for
space availability -- this is one important source of error
information that we could be passing on to the user.
Supposedly the media is mounted:
android.os.Environment.MEDIA_MOUNTED.equals(mounted)
Supposedly I can write to the
Hi,
Has anyone managed to override onTouchEvent within MapActivity? I
know that overriding onTouchEvent in MapView is possible, and I have
done that, but I need to do it in MapActivity. I see it in the API in
the section Methods inherited from class android.app.Activity. I
have written the
Indeed, you are right. Using dispathTouchEvent worked. Thank you
kindly!
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to
Sorry, I meant dispatchTouchEvent. I'm correcting it in case anyone
searches for that keyword.
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to
45 matches
Mail list logo