Hello Dave or Blindfold,
So I placed the following lines of code in the ApiDemo graphics-
>Camera Preview application, in the SurfaceCreated routine...
String thing = mCamera.getParameters().flatten();
System.out.println(thing);
Here is the list of parameters it returned,
picture-size
previ
I tried couple of sites. They may have JavaScripts. I don't intend to
run any background services. But may be some of the applications I
downloaded tried to get a piece of my phone's memory. That's a good
clue, I will try to uninstall all of them and run some tests of the
browser. Will send back t
I've already set http-proxy in settings.db, emulator is getting connected to
internet but not the maps.u are saying the same kno?
On 1/19/09, for android wrote:
>
> you need to update the system table with your proxy ip..there are many
> threads which deal as to hot to acheive this..
>
>
you need to update the system table with your proxy ip..there are many
threads which deal as to hot to acheive this..
On Mon, Jan 19, 2009 at 10:47 AM, Pratap wrote:
>
> I'm working behind proxy, whenever i send a req using HTTPclient i
> get a SocketExceptionDoes anybody knows how to so
I'm working behind proxy, whenever i send a req using HTTPclient i
get a SocketExceptionDoes anybody knows how to solve this
problem...
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google
Groups "Android Developer
Yes, this is what I was trying to achieve. The problem is that its almost
like the webview comes up from below the progressbar when the page loads.
On Sat, Jan 17, 2009 at 9:02 AM, Fred Grott(shareme)
wrote:
>
> Do you mean load progress rotating image and once the page loads it
> disappears?
>
This worked for me. I wrote my file to the sdcard.
Intent sendIntent = new Intent(Intent.ACTION_SEND);
sendIntent.putExtra(Intent.EXTRA_SUBJECT, subject);
sendIntent.putExtra(Intent.EXTRA_STREAM, Uri.parse
("file://"+Environment.getExternalStorageDirectory()+"/data.csv"));
sendIntent.setType("te
Hmm. It might work. Question though, what would you recommend for a
SimpleCursorAdapter in this case? What's the best way of telling the
cursor to load more records when it reaches the bottom?
On Jan 18, 11:50 pm, "for android" wrote:
> I guess that is what you need...
>
> On Mon, Jan 19, 2009 a
Hi Barqw,
Am also facing the same problem, Have you got the solution for that
same...
On Dec 29 2008, 1:40 pm, barqw wrote:
> when acallis active including outgoing and incomingcall,how toend
> thecall?
> thanks a lot!
--~--~-~--~~~---~--~~
You received this me
I guess that is what you need...
On Mon, Jan 19, 2009 at 10:08 AM, Torgny wrote:
>
> That's the Slow Adapter that just replaces each list item with a
> temporary item as the list is scrolling. What about actually loading
> data as the bottom of the list is reached?
>
> On Jan 18, 11:33 pm, "for
That's the Slow Adapter that just replaces each list item with a
temporary item as the list is scrolling. What about actually loading
data as the bottom of the list is reached?
On Jan 18, 11:33 pm, "for android" wrote:
> http://code.google.com/android/samples/ApiDemos/src/com/example/andro...
>
What version of the SDK do you use? If it's SDK 1.0 R2, then I don't
think there's an on-screen keyboard. Haven't messed with cupcake yet,
so I don't know if that's what you're looking for. But, to get the
emulator to expose the keyboard hit CTRL+F12 (at least on Linux).
On Jan 18, 11:30 pm, Josh
http://code.google.com/android/samples/ApiDemos/src/com/example/android/apis/view/List13.html
On Mon, Jan 19, 2009 at 9:43 AM, Torgny Bjers wrote:
> The only one that closely resembles this behavior is the Slow Adapter demo
> which only replaces list items with a text during scroll/fling, that's
I would like my application to remain in protrait which i have
achieved by setting the orientation to portrait in the manifest. Is
there a way to ensure that one of my layouts(just one) is only
displayed in landscape mode?
I tried selecting portrait in the orientation dropdown (in the layout
edito
I noticed in the android layout editor that there is a dropdown box to
set the keyboard to exposed. I chose this setting but the keyboard
doesnt seem to show up. what am i doing wrong?
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the
Does the site you browse have a lot of JavaScript and other intensive
things? How many windows do you have open? It could be that you're
just using up all the memory of your phone since the browser does tend
to be a memory hog. Try turning off JavaScript and images as a test
and see if you can rep
I would say create a service. You could interface with your service
via IDL.
Here's the binding activity:
http://code.google.com/android/samples/ApiDemos/src/com/example/android/apis/app/RemoteServiceBinding.html
And here's the remote service:
http://code.google.com/android/samples/ApiDemos/src/
Thanks, Mark.
Now the situation for me is like this: I want to create a WifiControl
class to implement scan aps/connect/disconnec,etc functions. Then I
can call these methods in other activities directly instead of Intend
because I don't want to change the view when I call the methods. So
how to s
Hello,
Can someone help me take a look at some of the code I've written and
tell me what is wrong with my use of managedQuery? My app crashes
whenever I manage to change from landscape to portrait as my adapter
is still loading data from a managed cursor, or by pressing the home
button or opening
Hi Moto,
The code of my ExampleHandler.java file as:
package s.s;
import org.xml.sax.Attributes;
import org.xml.sax.SAXException;
import org.xml.sax.helpers.DefaultHandler;
public class ExampleHandler extends DefaultHandler{
//
The only one that closely resembles this behavior is the Slow Adapter demo
which only replaces list items with a text during scroll/fling, that's not
what I wanted though. I wanted to tell an adapter to load more data when the
end of the list is reached.
On Jan 18, 2009 11:10 PM, "Dianne Hackborn"
If you run the ApiDemos app, go to View and then ListView and you will see a
bunch of different examples. Try them out until you find the one that does
this. (I also seem to recall there being one, but can't remember which.)
On Sun, Jan 18, 2009 at 7:13 AM, Torgny Bjers wrote:
> Where? I've bee
I havn't try the hard reset yet. Was worry about after that I need to
call the customer service again to setup the phone number. (last time
took me 30 minutes and make 5 calls to setup my phone, as some guys
mess up my order).
Anyway, i think I will try the monkey tool first and then hard reset.
Hi,
I am using a patched version of smack api, where the xml parser code
has been changed, if u want a copy, please send me your mail id.
Cheers,
Earlence
On Jan 18, 9:27 pm, "Shahbaz Khalid" wrote:
> We haven't done that as well, but we are also developing a client and need
> to do file tran
There are cards similar to SIM cards on CDMA handsets, these are
called RUIM cards. Although it is possible to have CDMA phones without
any cards at all. Not sure about Verizon since I am not based in US.
But ADP1 will only work on GSM phones, not CDMA.
On Sat, Jan 17, 2009 at 5:38 AM, Jo Rhett
zcj0429 wrote:
> Hi:
>I'm now doubting if it is possible to create an "activity" instance
> using constructor like a common Java class. Then I can call the method
> of the activity directly instead of using intent. I try a few times
> but all failed. Can someone tell me is it possible?
No, th
Hi:
I'm now doubting if it is possible to create an "activity" instance
using constructor like a common Java class. Then I can call the method
of the activity directly instead of using intent. I try a few times
but all failed. Can someone tell me is it possible?
--~--~-~--~~
Thanks. I assume you mean the Google Maps API which isn't included in
the android distribution (i.e. http://code.google.com/apis/maps)
rather than the included version (http://code.google.com/android/
reference/com/google/android/maps/package-summary.html). The reason
I'm assuming that is there
Not necessarily an OS problem, a software problem. I felt that I should fix
that.
On Sun, Jan 18, 2009 at 7:09 PM, Joel Knighton wrote:
> Well, not really sure what to say. If you really think it is a problem of
> the OS handling screen clicks, you could try doing a monkey -v -v -v 5000
> (or w
Well, not really sure what to say. If you really think it is a problem of
the OS handling screen clicks, you could try doing a monkey -v -v -v 5000
(or whatever number you deem to be appropriate). (DISCLAIMER: This is
random events. If this ends up requesting data in anyway and charging you,
do
#1.
I didn't do any O.S. level changed (wish I can :>). I install a lot of
application, and I use the USB debugging quit often.
#2.
It did happen to other applications, but not as often as the browser.
(kind of 30minutes v.s. 2 minutes, or because the browser required
more clicking)
I don't remem
Same here, I need to reboot the phone to get it back. It is getting
worse, if I used the browser. I don't think it hang so often before. I
kind of think it is because I installed some applications or changed
some settings.
Please let's know, if any one get any clue.
Elf
On Jan 16, 10:24 am, cin
Oh, OK.
thanks for the info.
Actually I like your idea, however we are implementing a more professional
grade sound level meter.
It is implemented using signal processing filters and integrators.
For that reason, we require access to the actual samples.
it seems that the only way to get this ha
Does it print something interesting in the logcat?
- Original Message -
From: "Ninad"
To: "Android Developers"
Sent: Saturday, January 17, 2009 8:58 PM
Subject: [android-developers] Re: Media Player surprises me!
Anyone can give answer to my problem!
Help me!!! M still stuck on
There are onCreate(), onPause(), onResume(), onStop(), onRestart() as
described in
http://code.google.com/intl/ru/android/reference/android/app/Activity.html#ActivityLifecycle
you might want to override some of them.
Maybe you might want to perform your loading process in onCreate() ?
- O
On Sun, Jan 18, 2009 at 11:10 AM, Fred Grott(shareme)
wrote:
>
> I think you might be confusing the capabilities of both APIs..
>
> For your task you probably need to use the Google Maps API..that is
> one of the reasons why its included at the Android package level..
You have a lead on how to d
I used a bool, and it definitely works... but I'm thinking there's
just a cleaner way of doing this involving how activities are started
and called from the stack. I'll keep an eye out.
Thanks!
On Jan 18, 2:06 pm, "hmmm" wrote:
> What if you pass some to that activity using Intent.putExtra() an
What if you pass some to that activity using Intent.putExtra() and then in
the activity depending on the data you will decide whether to show a
progress dialog or not?
Or, if you want that progress dialog only once for loading what if you put a
static field say private static boolean isLoaded a
I haven't seen (or heard about) this problem. So, a few quick questions to
maybe clear things up.
1. Any aftermarket modifications made? (example: I'm on a custom kernel
at the moment. Have you left it untinkered with? ;))
2. Has this occurred with any other applications?
3. Are you on RC30
Hi,
I got a Android phone from TMobile. The touch screen stops working
after I used the google browser for 2 minutes each time. After
reboot, every thing will go back to normal, and that’s reason I
suspected it is caused by O.S. instead of hardware.
Any one have same problem?
Thanks.
Elf
--
skink wrote:
>> Of course, it now dawns on me that the padding probably gets rotated
>> too, so I'm leaning more toward using shims or something to set my position.
>
> well, padding is imho shim here, so if you don't use
> android:background in your ImageView, padding is 'transparent' and it
> j
Hi
I am writing an application that involves downloading and uploading
data over the net
I am using the Jakarta library to do that, but my problem is how to
know when the connection is down. Right now I am assuming that the
connection is always ok, so when is not and I'm trying to download/
uplo
I encode my files in UTF-8. It is probably the right choice if you have any
characters that cannot be encoded in a 'normal' text file.CP1252 is a form
of Latin-1, which lacks quite a few characters if you need eastern-European
(and many other languages).(I remember when I changed mine to UTF-8, it
> Of course, it now dawns on me that the padding probably gets rotated
> too, so I'm leaning more toward using shims or something to set my position.
well, padding is imho shim here, so if you don't use
android:background in your ImageView, padding is 'transparent' and it
just works fine - you w
Hi,
A SSH File Transfer Protocol (SFTP) application for Android is
available:
http://www.lysesoft.com/products/andftp/index.html
Have fun.
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
T
On Sun, Jan 18, 2009 at 11:10 AM, Fred Grott(shareme)
wrote:
>
> I think you might be confusing the capabilities of both APIs..
He's not the only one. I came across the same thing yesterday.
So you're saying we shouldn't use Geocoder for reverse geocoding? Is it
only good for getting latlon (
Romain Guy wrote:
> There is absolutely no need to do all these fancy computations
> yourself. Instead you can use the following constructor (or better
> yet, define the animation in XML):
>
> RotateAnimation(float fromDegrees, float toDegrees, int pivotXType,
> float pivotXValue, int pivotYType,
skink wrote:
> ok, i found it.
>
> animation stuff works OK: it rotates tho whole view (not image
> bounds), run hierarchyviewer and
> you'll see that pivot is ok.
>
> if you try to rotate image itself, try this
>
> ImageView iv = (ImageView) findViewById(R.id.iv);
> Matrix matrix = iv.getImage
Hi,
There is absolutely no need to do all these fancy computations
yourself. Instead you can use the following constructor (or better
yet, define the animation in XML):
RotateAnimation(float fromDegrees, float toDegrees, int pivotXType,
float pivotXValue, int pivotYType, float pivotYValue)
Here
Hi,
You have to use the LayoutParams that correspond the your Button's
parent. In this case, you need to use LinearLayout.LayoutParams.
On Sun, Jan 18, 2009 at 7:00 AM, A R wrote:
>
> What exception are you getting? Are you running this code withing a
> handler thread?
>
> On Jan 17, 10:12 pm,
Hi,
Please look at showDialog(int), dismissDialog(int), removeDialog(int),
onPrepareDialog() and onCreateDialog() in the Activity class.
On Sun, Jan 18, 2009 at 7:13 AM, fala70 wrote:
>
> I've an application with a MapActivity used how main activity. I
> inserted an AlertDialog to show and edit
Hi,
Just use getWidth() and getHeight(). You can also use getRight() -
getLeft()/getBottom() - getTop().
On Sun, Jan 18, 2009 at 9:27 AM, Quartz wrote:
>
> Hello,
>
> I have been trying to figure out how to get the actual realized
> dimensions of my view after it has become visible and laid out
Well if the StoryProvider class is inside a subpackage, you have to
add it to the name.
For example if your main package is
com.example.writer and the StoryProvider class is inside
com.example.writer.story then you need to change
android:name="StoryProvider" into android:name=".story.StoryProvide
I don't think I am doing anything "funky".
Basically I have a view composed of two pages, one which is visible
and one which is invisible at any given time. When the visible page is
clicked, the visible page becomes invisible and the invisible page is
made visible.
One page consists of a gallery.
In trying to get my app ready in Polish and Czech, I am running into
the following error trying to save a text file in Eclipse:
"Save could not be completed - some characters cannot be mapped using
Cp1252 character encoding". I am using the Google Translator and
cutting/pasting.
What is the corr
Hello,
I have an activity that links to other activities via buttons. When a
user clicks these buttons, I launch other activities with startActivity
(), which has been working fine.
My problem is, one of my activities displays a progressdialog when it
is loading. I would like to only do this onc
Hello,
I have been trying to figure out how to get the actual realized
dimensions of my view after it has become visible and laid out. By
that I mean the actual view minus the status bar, title bar and
progress bar.
I tried using the information in onMeasure() but that seems to give me
info I al
>
> I was wondering, would the G1 unlocked phone work in a country that
> isn't on the approved delivery list?
> I live in Romania and the closest country where I can get the G1 sent
> to is Hungary.
> Would the phone refuse to work with a Romanian operator SIM from lets
> say Orange? (as in access
We haven't done that as well, but we are also developing a client and need
to do file transfer at some point - so we are interested as well.
Earlence - have you managed to run the davanum code/sample on the emulator,
because we can't run it on the emulator (works on the actual dev phone
though) ?
I think you might be confusing the capabilities of both APIs..
For your task you probably need to use the Google Maps API..that is
one of the reasons why its included at the Android package level..
On Jan 18, 8:38 am, androidian wrote:
> I'm trying to get the street address and/or address's
I know that one can set the locale using
adb shell
echo de-DE > /data/locale;stop;sleep 5;start
but I wanted to know if it is also possible programmatically? (at
least in the emulator?)
Directly performing Runtime.getRuntime().exec("echo de-DE> /data/
locale") shows:
01-18 16:03:26.694: E
Some of you know that I am developing a Loopt clone that uses PhoneGap
and GPS.
I got PhoneGap GPS feature fully working with my modifications but I
would like to switch from manually inputting GPAS coords..
For soem reason when I attempt to load the GPX fiel in Eclipse it doe
snto take:
Eclips
Congrats to get more deserved attention could you make a screenshot
video and upload it to youtube?
Once again congrats
On Jan 18, 9:33 am, gasolin wrote:
> Hello,
>
> Here are some screenshots and instructions shows how to run jythonroid
> (Jython) on Dev Phone, without modify the kernel.
>
Hello,
Here are some screenshots and instructions shows how to run jythonroid
(Jython) on Dev Phone, without modify the kernel.
http://inet6.blogspot.com/2009/01/jythonroid-on-dev-phone.html
We showed it's an possible task to make jython runs in real android
phone, but the sad thing is ClassFoo
I've an application with a MapActivity used how main activity. I
inserted an AlertDialog to show and edit a few infos. When I change
from portrait to landscape for open the keyboard, my AlertDialog is
detroied without replaced, then I must recall the command menu for
show again my AlertDialog.
An
Where? I've been looking like crazy! Can you send a link or the name of the
class that implements that behavior?
On Jan 18, 2009 3:17 AM, "Romain Guy" wrote:
Oh and I think there is an examole of that in the ApiDemos.
On Sat, Jan 17, 2009 at 10:04 PM, Torgny wrote: >
> I want my ListView/Lis
I have asked the almost same question here:
http://groups.google.com/group/android-developers/browse_thread/thread/de088f2f8dd42bff/14244bd62179222d?hl=en
Hopefully next SDK will support *application scope *(not regional
scope) localization.
I can't see Now any ways to implement multilanguage app
What exception are you getting? Are you running this code withing a
handler thread?
On Jan 17, 10:12 pm, Mark Nuetzmann wrote:
> ok, this should be super simple but it is proving difficult.
>
> In my original layout xml I have 2 buttons that I want to take up
> equal space in a LinearLayout
>
>
Did you try FrameLayout?
On Jan 17, 9:02 pm, "Fred Grott(shareme)"
wrote:
> Do you mean load progress rotating image and once the page loads it
> disappears?
>
> On Jan 16, 4:29 pm, "Chris Chiappone" wrote:
>
> > Is there an easy way to show a indeterminate progressBar ontop of a
> > webview.
I'm trying to get the street address and/or address's feature name of
the user's current physical location. If the user is at home, it
should return their street address, but if they're in a shopping mall
I'd expect any of a number of shops or the mall as a whole depending
on which specific locat
Hi,
I was wondering, would the G1 unlocked phone work in a country that
isn't on the approved delivery list?
I live in Romania and the closest country where I can get the G1 sent
to is Hungary.
Would the phone refuse to work with a Romanian operator SIM from lets
say Orange? (as in access market
On 18 Sty, 12:44, Inderjeet Singh wrote:
> Hi,
>
> I wanted to confirm if it is okay to use the same id value for screen
> elements across the screens.
>
>
yes, it's ok, even more: you can have the same ids even in the same
layout but in different subtree
--~--~-~--~~~-
I'm curious how this will impact me and others like me who are English-
speakers but staying in a foreign country. I live in Thailand, and I
often deal with many 'localization' problems.
For example, when I log onto Google groups, it references the
http://groups.google.co.th/, and all the menus
Hi,
I wanted to confirm if it is okay to use the same id value for screen
elements across the screens.
I have two xml files under res/layout both of which have the same
button, called Next. Can I use the same android:id for them:
android:id="@+id/next_button"
It seems to work fine, so I am assu
http://groups.google.com/group/android-developers/web/localizing-android-apps-draft?pli=1
On Sat, Jan 17, 2009 at 6:51 PM, magicpig wrote:
>
> Hi,
> I am wondering if there is such API that provides my current
> location, in country level, such as I am in Japan.
>
> Thanks.
> >
>
--~--~--
Hi,
I use the ItemizedOverlay to display POIs. From time to time I get the
following exception:
01-18 01:53:39.102: ERROR/AndroidRuntime(2348):
java.lang.ArrayIndexOutOfBoundsException
01-18 01:53:39.102: ERROR/AndroidRuntime(2348): at
com.google.android.maps.ItemizedOverlay.getIndexToDraw
(
Works fine with adb. Tnx guys.
--~--~-~--~~~---~--~~
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 e
Mark Murphy wrote:
> Rotate with unknown pivot. If you're seeing a rotation around the center
> point of the View with the parameters I gave you, then obviously there's
> something a wee bit off with my View.
>
> Hmmm...I have paddingRight and paddingTop values in the layout for this
> ImageView
Oh and I think there is an examole of that in the ApiDemos.
On Sat, Jan 17, 2009 at 10:04 PM, Torgny wrote:
>
> I want my ListView/ListActivity to only load a set amount of records--
> let's say 20 out of 1000--but when the user flings/scrolls to the
> bottom of the list more records are loaded
These applications use an OnScrollListener to detect when the last
item is displayed. When this happens, they load more items and add
them to the list adapter.
On Sat, Jan 17, 2009 at 10:04 PM, Torgny wrote:
>
> I want my ListView/ListActivity to only load a set amount of records--
> let's say 2
80 matches
Mail list logo