Hi Andre!
Could you pleasee share the code of your implementation of your
ItemizedOverlay.OnfocusChangeListener? This would be great
Regards
Felix
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google
Groups "Android Developers
This could help you
http://androidguys.com/?p=650
On May 7, 5:37 am, Prajkti wrote:
> Hi all,
> In my application, i want to create multiple tabs.
> For example, i have a button on clicking which should create one more
> tab,(just like Mozilla browser).
> I searched on Internet as well as Andr
Hi Andrew,
Not only lack # symbole but also lack parameter type.
So need to modified it to be following:
* further and longer, when used with {...@link #setFinalX(int)} or
{...@link #setFinalY(int)}.
Is it possible to have an android application (NOT mobile website)
"sign-in" as a user to a web application hosted on the Google App
Engine?
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
Hi All,
Do anyone know if there a way to differentiate between the Android
Simulator and the real device (like iphone sdk has #define etc..)?
Thanks,
Ashish
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google
Groups "Android De
Hi there,
I am doing an experimental project and want to send key events from
one application to another. I know android doesn't allow applications
to interfere each other in this way due to security concern. Is there
any way i could bypass the security check? I've looked into the
WindowManagerSe
hi
I am a newbie.
currently I am trying to make a program using android sensors .
I hope to get accelerations of 3 axis in earth coordinate system.
It is easy to get 3 accelerations and orientation angles in phone
coordinate system.
So I made 3d transformation using equations as
http://planning.
Check out this post here http://negentropiccoder.blogspot.com/
And the code source here http://code.google.com/p/androsql/downloads/list
In this post, I want to expose you AndroSQL, a SQLite framework based
on Enum that I builded to help me in my Android applications
developpement.
I create
Hello,
I'm trying to show an alert dialog when the user exists my application
but it seems that although
i successfully build the Dialog nothing happens and the app. simply
closes.
Is there a way to implement it?
Thanks.
--~--~-~--~~~---~--~~
You received this me
This is a limitation of the hardware, the preview size and encoded
size must be the same.
I'm not sure how you were able to change the preview size though. I'd
like to know the code sequence you used, because it's not supposed to
be possible.
On May 6, 11:11 am, Jason Proctor wrote:
> just a ti
i set orientation=landscape for my capture activity, which seems to
do the right thing most of the time.
every now and then however, the phone ignores it and restarts my
activity if the user rotates the phone. which they have to do,
because the camera only "works" in landscape.
not sure why t
The mic on all current Android devices, why would you want to record
stereo?
On May 7, 3:43 am, l hx wrote:
> can we using channels 2 when recording audio?
>
> On Sat, May 2, 2009 at 12:54 AM, Jean-Michel wrote:
>
> > Hi there,
> > Looks like sipdroid (www.sipdroid.org) is using AudioTrack and
You need to format the mp4 file for streaming. This means that the
moov atom must precede the mdat atom in the file.
On May 7, 5:05 am, N V wrote:
> Hi to all...
>
> I tried for video streaming in sdk 1.5... The video
> format .mp4... But it gives error
> like "This video is not valid f
> Yes there is, it's called a Gallery.
You are correct, my apologies. Whether the Gallery meets the OP's needs is
another matter.
--
Mark Murphy (a Commons Guy)
http://commonsware.com
_The Busy Coder's Guide to Android Development_ Version 2.0 Available!
--~--~-~--~~~
What do you mean by "invoking an apk"? An APK file is essentially a zip
file, normally used to package android applications, and contains the code
and resources for any number of activities, services, broadcastreceivers,
etcetera.
Do you want to run an activity from that other apk? Run a service? T
Yes there is, it's called a Gallery.
On Thu, May 7, 2009 at 6:16 AM, Mark Murphy wrote:
>
>> Is it possible to have, horizontal "listview"?
>> normally the listview scrolls vertically having horizontally rows .
>>
>> is reverse case possible, listview scrolling horizontally and having
>> vertica
It does matter, 0dip is an optimization. If you use something > 0 then
that space will be taken away from other widgets. In this case there's
no reason not to use 0dip.
On Thu, May 7, 2009 at 7:01 AM, Mike wrote:
>
> This words, thanks. However, it appears to me the value you specify
> for the
I have the same problem. They even look a bit funky. Did you happen to
find a solution for it?
Sander
On May 1, 3:21 pm, jarkman wrote:
> We've rebuilt a couple of our apps with the 1.5 SDK (but targeting
> 1.1).
>
> The Market seems to have a bit of trouble with the background of the
> icons.
14 levels is what we consider a very deep hierarchy :)
On Thu, May 7, 2009 at 9:26 AM, Mike wrote:
>
> Thank you very much for answers!
>
> I've seen discussions about view hierarchy depth, but after finding
> out that StackOverflow pops-up exclusively at the moment of text
> wrapping I didn't b
I would recommend using Binder:
http://developer.android.com/reference/android/os/IBinder.html
http://mylifewithandroid.blogspot.com/2008/01/about-binders.html
Yusuf Saib
Android
·T· · ·Mobile· stick together
The views, opinions and statements in this email are those of the
author solely in thei
Thank you very much for answers!
I've seen discussions about view hierarchy depth, but after finding
out that StackOverflow pops-up exclusively at the moment of text
wrapping I didn't believed this is the case.
Hierarchyviewer revealed that my hierarchy is really deep (14), but
it's not as messy
> I'm in a situation where I have to share some resources (i.e. images)
> between several of my apps and I'd like to know if there's a
> standardized and convenient way to do this besides the system-wide
> Media Store.
If they can be packaged as actual resources, resources can be shared among
app
Hello,
I'm in a situation where I have to share some resources (i.e. images)
between several of my apps and I'd like to know if there's a
standardized and convenient way to do this besides the system-wide
Media Store. The reason I don't want to use the MediaStore is that the
resources are rather
Hello,
I have following problem:
I am creating ListAdapter that is used by my ListView.
Task (that I am solving using ListView) relates to displaying files on
SD card. When specific directory is opened, list highlights the first
item in it and selects the item (using setSelection(position) metho
I recently installed SDK 1.5 and updated the Eclipse adt to 0.9. I
tried using the accelerometer sensor but kept getting an error when
registerring the listener. My code is as follows:
class myActivity extends Activity{
SensorManager sm = (SensorManager)getSystemService
(Context.SENSOR_SERVICE)
Based on the code you posted, the "stop called in state 2" is because you
call stop() in your OnCompletionListener, which isn't necessary (it's
already stopped at that point).
I don't see how the other problems could happen with the code you posted,
unless you have multiple threads accidentally usi
> 1. Thumbnail display. When I go back to the first screen of the
> application, I want to show an ImageView of the jpeg that the user has
> just taken. Current code, which doesn't work because it's not looking
> in the SD card:
>
> bmp = BitmapFactory.decodeStream(openFileInput("photo.jpg")
Thanks a lot. :) Very helpful.
On Apr 28, 4:05 am, "Alistair."
wrote:
> Take a look at SpriteMethodTest here
>
> http://code.google.com/p/apps-for-android/
>
> Al.
>
> On Apr 27, 9:51 pm, mcmc wrote:
>
> > I'm trying to compare the difference in speed between software and
> > hardware graphics
Hi all,
I want to invoke musicplayer.apk(this .apk I have already created
and working fine) application from my current application
programmatically. Can anyone please suggest me how to export
musicplayer.apk and the steps to accomplish this task?
Please help. Thanks in advance.
--~--~
Hi Mark,
I've used the camera code from the Advanced Android book and it's
working nicely. Thank you.
Just a couple of basic questions (for Mark, or anyone else) about the
retrieval/URI issue, both assuming the photo is saved on the SD card
as "photo.jpg".
1. Thumbnail display. When I go back t
First, remember that PendingIntents may not be unique w.r.t extra
bundles, which is why you want to use the setData() Uri.
In the Activity or Service that you trigger with the PendingIntent,
you can use getIntent().getData() to read back the Uri used to launch
it, which includes any data you set
I'm facing tha same problem, but with Edge, instead of 3G.
Everytime that wifi get connected to a network, down the edge/gprs/3g
network. This really needs to be optional, not a default. But this is
not the worst: there is no broadcast message that inform that GPRS/
Edge/3G is disconnected,
This words, thanks. However, it appears to me the value you specify
for the height is an arbitrary one. For example, it doesn't seem to
matter if specify 1dip or 100dip, it still sizes the same.
I assume what's going on is that the layout_weight="1.0" tells the
layout manager to give as much re
Question :
Which of these protocols RPC-XML, REST even SOAP are the "best" for
transport data between android and PC?
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group,
Ok thanks,
I'm going to do some searches on these protocols.
--~--~-~--~~~---~--~~
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 unsu
Try putting in xml special characters into the strings you are saving
directly with the editor without xml-escaping them, e.g. &'<>" and see
if this reproduces the problem when you try to read in the saved
preferences after your app has been killed (after a reboot, for
example).
On May 7, 5:24 am
> Is it possible to have, horizontal "listview"?
> normally the listview scrolls vertically having horizontally rows .
>
> is reverse case possible, listview scrolling horizontally and having
> vertical rows.
There is no built-in widget that supports horizontal scrolling. There is
nothing to pre
Hello everybody
Is it possible to have, horizontal "listview"?
normally the listview scrolls vertically having horizontally rows .
is reverse case possible, listview scrolling horizontally and having
vertical rows.
Thank you
--~--~-~--~~~---~--~~
You received
Thanks for all you guys. I've got it and I will check the music player
code. Thanks for the sharing.
On 5月6日, 上午9时58分, "Jonathan Alonso - Softdinet Ltda"
wrote:
> Hi,
>
> I need send mail with format html used intent.EXTRA_TEXT
>
> Intent intent = new Intent(Intent.ACTION_SEND);
> intent.putExtr
Hi Ebin,
this is actually very easy. Real phones (developer and user phones)
come with a preinstalled youtube application that performs very well.
On the emulator, it is not present as far as I remember.
If you want to lauch youtube from within your application, maybe this
thread helps you:
htt
Do you using alsa_sound for recording & playback?
On Fri, May 1, 2009 at 11:00 PM, Scott Slaugh wrote:
>
> Hi,
>
> I have an application that I developed using the Android 1.1 SDK that
> I am trying to port to Android 1.5. In my application, I record a
> sound through the microphone and then do
Hi all,
Is there any mapping among Network Types and Network Interfaces?
I mean, is it possible to found out whether a Network Interface is related
to MOBILE or WIFI network type, for example?
Thanks,
Taísa
Taísa Cristina Costa dos Santos
Computer Engineer
Brazil, SP
55 19 8152-7453
--~--~-
Hi,
Thanks for your timely help. It is working fine. :)
Thanks,
Muthu Kumar K.
On May 7, 12:54 pm, matthias wrote:
> Hi,
>
> not sure about the app dir, but for accessing e.g. the shared_prefs
> directory, you would do something
> like this (in an Activity or Service):
>
> PackageManager
Ended up grabbing the nine-patch image (which is
list_selector_background_focus.9.png) and adding it to my own
drawables. Not the approach I'd be proud of, but it works.
On May 7, 2:07 pm, alex wrote:
> Dianne, thanks for the details.
> Seems like the only option I've got is finding
> list_selec
Hi to all...
I tried for video streaming in sdk 1.5... The video
format .mp4... But it gives error
like "This video is not valid for streaming to this video". But in
http://developer.android.com/sdk/android-1.5-highlights.html .mp4 is
supported for streaming
Thank You
Nithin N V
--
http://code.google.com/p/android/issues/detail?id=857
This problem is because of a bug in the super class Dialog. Once I called
removeDialog before I call showDialog in my code. The problem is completely
solved. So, I am creating the dialog like this from now on:
removeDialog(R.id.display_success)
Hi guys,
I tried to create a custom about dialog using the source code of
http://developer.android.com/guide/topics/ui/dialogs.html#CustomDialog
with the result that I get a BadTokenException and the message that
the view cannot be null. If I understood it correctly, the
custom_dialog.xml is a
On Thu, May 7, 2009 at 12:55 PM, maha lakshmi wrote:
> Hi David,
>
> Thanks for your reply. Let me tell clearly about my requirement. I am
> developing flash plugin for webkit browser. When I click on youtube video,
> my plugin will process the flash content and display it onto the browser.
Now, i use the sdk download from google, it play amr file good,
But when i use the sdk, build by myself, it 't could'nt play amr file.
any one now that's why, tell me,
thanks.
On 4月27日, 下午3时52分, dycl3 wrote:
> dear:
> I am trying play an amr file on android emulate, but
> nothing he
Dianne, thanks for the details.
Seems like the only option I've got is finding
list_selector_background in the sources and seeing if I can create a
similar drawable that won't depend on focus state.
On May 7, 12:47 am, Dianne Hackborn wrote:
> View takes care of updating the drawable state as ap
Hi all,
whenever I call the play() method of MediaPlayer, the UI suffers heavy
glitches (very noticeable if some animation is running for example) even
if it is called from a service or other thread. My question if there is
a way to lower the processing priority of the MediaPlayer call, or if
Hi David,
Thanks for your reply. Let me tell clearly about my requirement. I am
developing flash plugin for webkit browser. When I click on youtube video,
my plugin will process the flash content and display it onto the browser.
I have implemented the same using X11 as UI. There are som
can we using channels 2 when recording audio?
On Sat, May 2, 2009 at 12:54 AM, Jean-Michel wrote:
>
> Hi there,
> Looks like sipdroid (www.sipdroid.org) is using AudioTrack and
> AudioRecord for their SIP client. Go to the "Browse source" page and
> look at trunk > src > org > sipdroid > media >
Hi,
Thanks, I got it to work.
I have one problem though. When I rotate the phone, using automatic
"Orientation" the onDestroy() method of my activity is called, which
effectively also stops capturing. When the activity is recreated, a
new capture starts. This means I will now have two files for
As I said before I have the same issue as Sheepz. It works fine in
runtime, but in layout editor in eclipse there is Exception. For me it
looks like a bug in plugin.
And for forthcoming questions: I am using latest SDK (1.5) and proper
eclipse plugin.
On May 6, 1:34 am, Sheepz wrote:
> if you m
Hi,
I was not able to access maps behind proxy with SDK 1.0.(inspite of adding
proxy to system database or give command line option of -http -proxy)
Does the problem still persist with SDK1.5 or is there a work around?
Thanks in advance.
--~--~-~--~~~---~--~~
You
Thanks
On Thu, May 7, 2009 at 4:57 PM, David Turner wrote:
> Yes, it's a known bug that is being investigated.
>
>
> On Thu, May 7, 2009 at 10:13 AM, npak...@gmail.com wrote:
>
>>
>> Hi all,
>>
>> Now I'm writing a software and using GPS simulator on SDK1.5
>> I use an AVD device by command : an
On Thu, May 7, 2009 at 7:34 AM, Sachin pandhare wrote:
>
> Hello Dianne,
> Which functionality may break in future releases?
> Is it executing the command using runtime?
> "String cmd = "top -n 1";
> process = runtime.exec(cmd);"
>
the format, or even the availability of "top" is very likely to c
On Thu, May 7, 2009 at 9:45 AM, Maha wrote:
>
> Hi,
>
> Is there any way to create window on Android using C++.
No, there isn't and probably never will.
> My ultimate aim is to draw bitmap image on android but using C++
>
You could try drawing into a buffer provided by the Java side of
Ok.
But how to find the id to join it in the intent?
When i update my widget, i do :
updateViews.setOnClickPendingIntent(R.id.widget, pendingIntent);
the pendingintent has an extra value with the widget id. How to get
the widget id?
Charles
On May 7, 12:25 am, Jeff Sharkey wrote:
> When bu
Yes, it's a known bug that is being investigated.
On Thu, May 7, 2009 at 10:13 AM, npak...@gmail.com wrote:
>
> Hi all,
>
> Now I'm writing a software and using GPS simulator on SDK1.5
> I use an AVD device by command : android create avd --target 2 --name
> AVD_15
> My problem is when i change l
Problem solved. It was because the view hierarchy was too deep.
On Tue, May 5, 2009 at 11:45 AM, Android Users wrote:
> Hi,
>
> I have an application that has 2 AutoComplete TextViews on a single screen.
> I have just upgraded the application from 1.0 to 1.5 and I am facing 2
> issues here:
> 1.
I'm facing same issue. Did you got any fix or work around for this ?
On Mar 26, 6:55 pm, jseghers wrote:
> The code that starts the .About activity is:
> protected void startAbout()
> {
> Intent aIntent = new Intent(this, About.class);
> startActivity(aIntent);
> }
Go to
settings -> "Locale & text"
and uncheck "Android keyboard"
On May 6, 4:22 am, MikaSue wrote:
> I have downloaded SDK 1.5 and now when I enter a edittext field, this
> annoying onscreen keyboard pops up. Is there a way to disable it in
> the emulator? It's very annoying and slows my devel
Thank you very much for your comment Mark.
Well at the moment I am prior to redo the whole preferences saving my
settings into a Sqlite database.
I can not find the bug in my code and my app relies on this settings
so I don't see any other chance to get rid of the lost settings bug.
On May 6, 1
Thanks for your answer.
Is this the same for the Manifest file ?
On May 6, 5:39 pm, Romain Guy wrote:
> There is no DTD for the layout files because they use dynamic tag
> names. A DTD cannot be written.
>
>
>
> On Wed, May 6, 2009 at 6:53 AM, a druid wrote:
>
> > Hi,
>
> > Some XML tools re
Hi,
i am wondering how to get noticed once the phone has been
successfully registered to a valid network. Anybody has a point on
this?
Thanks,
Lawrrence
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google
Groups "Android D
I find a way to display the link text:
TextView tv = new TextView(this);
SpannableString str = SpannableString.valueOf("google");
str.setSpan(new URLSpan("http://www.google.com";), 0, 6,
Spannable.SPAN_INCLUSIVE_EXCLUSIVE);
tv.append(str);
but when i click the text, there will not trigger the op
Just like the html a tag, I want dispaly a link text, when user click
the linkView then trigger some evnet( link: open a new page).
for example: display text is:
google
when user click the google text ,then open the google home page:
www.google.com.
I saw the TextView and the Linkify class, b
Hi I am using MediaPlayer to play my sounds below is my another post
http://groups.google.com/group/android-developers/browse_thread/thread/8d1c01b055873f39#
I tried all the possible ways stated in the above post but could not
play sounds accordingly so changed the sound code as below,
Now the
Thank you very much. :)
Here some advice for all the others reading that topic:
private static final String BLUETOOTH_STATE =
"android.bluetooth.intent.BLUETOOTH_STATE";
private static final String BLUETOOTH_PREVIOUS_STATE =
"android.bluetooth.intent.BLUETOOTH_PREVIOUS_STATE";
Regards
On May 6
I see, thx for the help! :-)
--~--~-~--~~~---~--~~
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 ema
Hello,
Today I faced a very weird problem. In my game I create AlertDialog to
show the user next level challenges when one is succeeded. So, the
corresponding code is like this. when the game is succeeded showDialog
(R.id.display_success) is called and the following code is executed.
So, I am exp
do you mean the keyboard is popped up, but the activity is not pushed
aside? right?
i DID meet this issue. seems it's bug of the imf, or windowmanager.
On May 7, 3:15 pm, Yossi wrote:
> Hi Dianne,
>
> Did you find anything wrong with my code?
>
> Thanks,
> Yossi
>
> On May 6, 11:00 am, Yossi wr
Hi all,
Now I'm writing a software and using GPS simulator on SDK1.5
I use an AVD device by command : android create avd --target 2 --name
AVD_15
My problem is when i change location up to the third times, my program
can not receive this change. I do not understand but I can be sure
that my progr
anyone?
--~--~-~--~~~---~--~~
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-develop
Actually yes, you could suggest : )
I've seen many news on how adobe is bringing flash to android or that
Webkit is used as the browser engine.
I am however unable to find what version of CSS, HTML, SSL... is
supported.
Thing is, i'm not sure adroid is using the full capabilities of
webkit, is i
Hi,
not sure about the app dir, but for accessing e.g. the shared_prefs
directory, you would do something
like this (in an Activity or Service):
PackageManager pm = getPackageManager();
ApplicationInfo appInfo = pm.getApplicationInfo(getPackageName
(), 0);
File sharedPre
Just call requestFocus() on that component. Note that it won't work in
touch mode (== after the user touched the screen) because the Android
UI design calls for no focused/selected element in touch mode.
On Thu, May 7, 2009 at 12:35 AM, Raja Nagendra Kumar
wrote:
>
> Hi,
>
> We see API for sayin
Hi,
Is there any way to create window on Android using C++. My
ultimate aim is to draw bitmap image on android but using C++
Thanks
Maha
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google
Groups "Android Developers" grou
Hi,
for accessing e.g. the shared_prefs directory, you would do something
like this (in an Activity or Service):
PackageManager pm = getPackageManager();
ApplicationInfo appInfo = pm.getApplicationInfo(getPackageName
(), 0);
final List list = Arrays.asList(files);
Also, any good place to know how does android framework default
approach to decide on the next focusable component. Does this depend
on Layout.
What is its impact if the view is dynamically generated with certain
view items, either removed, added or hidden based on certain events.
Regards,
Raja
Hi,
We see API for saying which is the next focusable view.. however
during the event handling we want to set the focus to xyz view object
programmatically .
Is that possible..
Regards,
Raja Nagendra Kumar,
C.T.O
www.tejasoft.com
--~--~-~--~~~---~--~~
You receiv
Hi All,
Can any one tell me which is the best way to access the file system in
android device, also i want to list all the files in the application
directory. Please give me your comments.
Thanks in Advance,
Muthu Kumar K.
--~--~-~--~~~---~--~~
You received this m
Hi Dianne,
Did you find anything wrong with my code?
Thanks,
Yossi
On May 6, 11:00 am, Yossi wrote:
> this is the layout
>
>
> http://schemas.android.com/apk/res/
> android"
> android:id="@+android:id/widget_frame"
> android:orientation="vertical"
> android:padding="10px"
There is only one thread to control the entire UI.
On Wed, May 6, 2009 at 10:15 PM, Raja Nagendra Kumar
wrote:
>
> We have a few actions to be taken based on edit and based on focus
> lost on a Text Filed, Hence we made sure this View object listens to
> both some thing like this
>
> fieldEdit.a
101 - 186 of 186 matches
Mail list logo