This is the default behaviour of Android. If user click on the
EditText, virtual keyboard will appear..
Nithin
On Apr 5, 11:52 am, rajesh chandrasekaran
wrote:
> Hi All,
>
> I am new in android, i am having problem in Virtual Keyboard.
>
> I am having text field. if user click the text field th
Hi All,
I am new in android, i am having problem in Virtual Keyboard.
I am having text field. if user click the text field then virtual
keyboard need to appear. how to do this.
please help me
Thanks
C.Rajesh
--
You received this message because you are subscribed to the Google
Groups "And
You can use audiomanager apis to do what you are trying to do...
--
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-
Thank you for your help .
On Apr 1, 4:54 pm, Mark Murphy wrote:
> elham wrote:
> > Hello , I want to create a table whose primary key will be some
> > other field and not _id . The below table gets created but the value
> > of _id remains null :
>
> > "create table accounts ("+BaseColumns._ID+
Hello Mark,
You are absolutely right: support for reusable components other than
pure Java code (and Java resources) is sorely missed. I personally
think Google should step up and add this kind of support to the
Android eclipse plugin.
In my opinion, the problem of lack of tool support is minor w
Hi Guys,
I am new bee to android.Im trying to add local language to my android
application..
But i don't know how to do that.. I tried with the default languages
in android, those are working fine..
Could any one please help me..
Thanks in advance
Cheers
Uday Kiran Pichika
--
You received thi
I have updated software and ADT in my Eclipse a number of times. I am
unable to run projects above than 1.5.I have the following errors
showing up in my console window after i create a HelloWorld project
with API Level 4 (1.6):
[2010-04-04 22:21:53 - Framework Resource Parser] Collect resource IDs
Hi
even i have same problem,,splash screen appears only once,,,and doesnt show
up when application is restarted on device.
How to solve it?Please tell me.
I hope Dror520 has solved the problem.
Thanks
Kavitha
On Mon, Apr 5, 2010 at 6:43 AM, Dror520 wrote:
> thanks for your answer! i figured
Hi,
I want to have multiple listviews in single activity. But only one
listview should be displayed at one time. The listviews will be loaded
dynamically. So, how can I fill all the four listviews at the same
time and display only one.
If anyone knows the solution then please share it over here.
Hi all,
After spending some time learning about Android´s SDK I´ve finally
"finished" a first version of my first app: a metronome.
It´s a simple app but I´ve faced some problems with AudioTrack, most
trying to syncronize the audio with changes on the UI. In the end I
did all my tests using the An
On Sun, Apr 4, 2010 at 9:38 PM, HeHe wrote:
> my apk stills gets a *false* Config.DEBUG value.
Are you being serious? Which part of Xavier's post did you not understand?
So once again:
On Sun, Apr 4, 2010 at 3:35 PM, Xavier Ducrohet wrote:
> If you are talking about
> http://d.android.com/r
On Sun, Apr 4, 2010 at 8:04 PM, Siva G wrote:
> When I publish update to my app, sometimes, the app does not feature in the
> "Just In". But sometimes it does too. Have anyone faced this issue?
>
Your app will only show up in the Just In list if there's been some time
since the last update (like
Thank you so much folks. I appreciate the help.
Garnet
On Mar 31, 3:05 am, Dan Sherman wrote:
> Downloads, installs, and runs on USA's Sprint HTC Hero as well.
>
> - Dan
>
> On Wed, Mar 31, 2010 at 12:58 AM, ko5tik wrote:
> > German HTC Hero also works
> > (downloads and installs, I do not ha
implement onScrollListeners
public abstract void onScroll
(AbsListView
view,
int firstVisibleItem, int visibleItemCount, int totalItemCount)
Since: API Level
1
Callback method to be invoked when the list or grid has been scrolled. This
will be called after the scroll has completed
ParametersviewT
Does anyone know about this problem?
When I run Browser and create new windows by press button menu key
to
menu->windows->press + New window from time to time Browser die.
I have try to solve this problem but it doesn't works. If anyone
know the solution
please tell me.
Andro
it does not work. here is the setting in my manifest.xml:
my apk stills gets a *false* Config.DEBUG value.
On Apr 4, 6:40 pm, "~ TreKing" wrote:
> On Sun, Apr 4, 2010 at 6:20 PM, HeHe wrote:
> > how can i make a "debug build" in Eclipse IDE?
>
> Use the "debuggable" flag in your manifest
Actualy 8.8.8.8 is google´s open DNS
The second should be 8.8.4.4
On 4 abr, 22:54, Brion Emde wrote:
> That's a funny looking DNS that you're entering. How are you finding
> your DNS?
>
> I'm not saying those are not right, but I suspect that if they were
> right, I your emulator would work.
>
>
I am interested - I have the same issues even sharing with my own
libraries - In some ways the an approach might be to simply import
both the code and the resources into the project if that were possible
- The biggest issue I run across is resources which don't seem to get
imported properly when I
That's a funny looking DNS that you're entering. How are you finding
your DNS?
I'm not saying those are not right, but I suspect that if they were
right, I your emulator would work.
On Apr 4, 7:37 pm, Gabriel Simões wrote:
> Hello,
>
> Right now my app needs to use the device´s (emulator´s) int
On Sun, Apr 4, 2010 at 6:20 PM, HeHe wrote:
> how can i make a "debug build" in Eclipse IDE?
>
Use the "debuggable" flag in your manifest.
> right now, no matter if i use "Run>Run As" or "Run>Debug As" menu
> commands, i always see Config.DEBUG == false.
>
Didn't Xavier just answer this for
Hello,
Right now my app needs to use the device´s (emulator´s) internet
connection. I´ve read before that since my computer has internet the
emulator should be able to access it.
On linux everything works but on windows the emulator can´t find the
DNS I´m using, event if I add -dns-server 8.8.8.8,
Howdy all,
I've developed a camera-based app, but am experiencing apparent white
balance (over balance?) issues on Motorola Droid. I'm using previews
and auto-focus before taking the picture - with takePicture() being
called from a thread within onAutoFocus().
If I pass the camera in front of a b
thanks for your answer! i figured it out it was actually my fault ...
lol
now i'm having a hard time figuring out how to start the mydeals
activity but keep the splashscreen activity showing on the screen and
when the mydeals activity is done move to that activity ...
thanks!
On Apr 3, 7:34 am, Ku
Hi,
When I publish update to my app, sometimes, the app does not feature
in the "Just In". But sometimes it does too. Have anyone faced this
issue?
What might be going wrong?
Thanks in advance for your answer.
--
You received this message because you are subscribed to the Google
Groups "Androi
> Sounds like intents could solve some of the problems if apps and widgets
> are
> developed with reusability in mind.
Widgets, as subclasses of View, do not usually interoperate with Intents.
--
Mark Murphy (a Commons Guy)
http://commonsware.com
Android App Developer Books: http://commonsware.c
hello.
I use ListView.(Adapter is a Custom Adapter) *extends BaseAdapter
I wanto to get selected item, when I click the item in the list.
now, I use OnItemClickListener, OnItemSelectedListener.
but, This program doesn't do the operation for which I hope.
not click. I want to get a selected Item i
Set up the Intent to do video capture and then call StartActivityForResult.
The example has a hard-coded 2 as the identifier.
Intent i = new Intent("android.media.action.VIDEO_CAPTURE");
startActivityForResult(i, 2);
Add an onActivityResult Method
protected void
I'm trying to use the built in camera to capture a video but when I
specify the URI I want the file saved to (using
videoCaptureIntent.putExtra (MediaStore.EXTRA_OUTPUT, Uri.fromFile
(fileLocation)); ) the 'Retake' and 'Play' buttons crash my app. I am
trying to switch and let the Intent store the
Droid does kill people.
On Mar 31, 2:59 pm, Nate wrote:
> There are a few opportunities out there for Android development in the
> military. We'd really like to pull in a developer to help our efforts
> out on some of these projects - the bulk of the work would go to you.
> If you're interested,
yes, i was talking about Config.DEBUG constant.
how can i make a "debug build" in Eclipse IDE?
right now, no matter if i use "Run>Run As" or "Run>Debug As" menu
commands, i always see Config.DEBUG == false.
i am using Eclipse v3.4.1 and Android SDK 1.6.
thanks in advance for further answer!!
O
Hello,
After some weeks learning about Android I´m about to publish my first
app.
Since it´s going to be ad-supported and I decided to go with mobclix
(based on reviews) I´ve finaly signed up for it and then tried to
download it´s android SDK.
Well, the sdk comes with only one extensionless file a
That field is documented as being a bit mask:
http://developer.android.com/intl/fr/reference/android/content/res/Configuration.html#screenLayout
That means that it is one number, but different bits within the number
are being used to indicate different things. To check any particular
thing about i
If your image is a texture, use 9-patch images. This is the
recommended way to manage your images on Android. There's a slight
learning curve, but once you get a hold of it, it will be a breeze.
Thanks and Regards,
Kumar Bibek
On Apr 5, 1:30 am, HippoMan wrote:
> Is there a way to tell Android t
If Jason's suggestion of pushing it to a server is inadequate, you can
buffer events, and only write them out once a minute or 10 minutes or
something. This will put an upper bound on the number of writes
performed.
You can combine the approaches, and push to the server, and only write
to the file
If you are talking about
http://d.android.com/reference/android/util/Config.html#DEBUG
then it's based on whether the device build is a debug build. It has
nothing to do with your app.
BTW, if Config.DEBUG is true, (for example in the emulator), then
putting debuggable=true in your manifest is not
Is there a way to tell Android to do the following when setting the
background image for a TextView?
1. Scale the image so that it's just large enough to fill the the
entire viewing area without any black borders, while still maintaining
its aspect ratio. This might require clipping once the image
I should have said to opt for the simplest thing that actually works!
Or, to put it another way, "as simple as possible, but no simpler".
(Neither phrase is mine, but I can't recall the correct attributions.)
For the fastest result, I'd start off with both listeners. The network
will nearly alway
Thanks!
Have tried to use the GData Java std.
Now saw that they had an Alpha of GData v2 where they included a part
of Android.
Link: http://code.google.com/p/gdata-java-client/downloads/list
On 3 Apr, 16:11, Kumar Bibek wrote:
> You can use the official gdata libraries from google. Whats stoppi
In addition to this fine reason, using the provided symbol will allow
the compiler to catch any typos, while simultaneously making it clear
that you are using a standard value, and allowing you to see the
documentation for that value with the mouse.
It's a big win all around.
On Apr 4, 5:09 am, M
Why not push the data up to a server?
J
On Apr 4, 2010 2:53 PM, "Nadav" wrote:
Thanks Bob and Dianne,
The issue is that I have no choice but do a lot of writing since this
is a research app that constantly logs phone and user activity over
many months... We are dealing ok with battery and proc
Phil-
Meant to send this directly to you not post on the public group [sorry
about going off-topic on your public discussion]!
Whoa.. Had no idea about the official 2.1 update. I rooted and
installed CM after the little snafoo a few weeks back with Motorola
pushing off the update again.. Glad to
I have an EditText that specifies android:digits where all the
specified characters are on the standard symbols soft keyboard.
Unfortunately it seems that just using android:digits is enough to
always cause the qwerty keyboard to pop up. Always having to press the
123? key for that one EditText is
Hi everyone, I need to modify the volume of an AudioTrack, while it is
playing a sound in streaming mode.
I have something like this:
minBufSize=AudioTrack.getMinBufferSize(11025,
AudioFormat.CHANNEL_OUT_STEREO, AudioFormat.ENCODING_PCM_16BIT);
fSound=new AudioTrack(
Thanks Bob and Dianne,
The issue is that I have no choice but do a lot of writing since this
is a research app that constantly logs phone and user activity over
many months... We are dealing ok with battery and processing power
(we only write every several minutes), and the main concern remains
t
There is one file which is present in following mentioned path.
File: FileUtils.java (\frameworks\base\core\java\android\os)
Functon: public static native int setPermissions(String file, int
mode, int uid, int gid); // Native Function
But you can not use in eclipse as it is *not*
Not all files will have the permission to edit/delete. You should
first check for the permission before doing an operation on a file.
Thanks and Regards,
Kumar Bibek
On Apr 4, 8:42 pm, brijesh masrani wrote:
> Hello Everyone
>
> I want to modify a text file using Android program .
> I searched a
> Code is:-
> public class Pwaclient extends Activity {
> public void onCreate(final Bundle savedInstanceState) {
> super.onCreate(savedInstanceState);
> Intent i=new Intent(v.getContext(),Album.class);
>
What is this v in [(v.getContext()] ? Try "this"
Thanks,
AJ
--
You received this messag
This log doesn't have enough info on the error. Please post the whole
log so that people can get the actual error here.
Thanks and Regards,
Kumar Bibek
On Apr 4, 11:56 pm, anushree wrote:
> me and my partners are working on developing a pwa client for android
> Am gettin an error while callin an
Hi, I'm sending data SMS messages with no trouble until one (otherwise
unremarkable) message in particular makes it crash:
E/AndroidRuntime(29764): Caused by: java.lang.NullPointerException
E/AndroidRuntime(29764):at android.telephony.SmsMessage
$SubmitPdu.(SmsMessage.java:100)
E/AndroidRu
Not all resources in the framework are available to applications. There is
a public.xml file that lists the ones that are in the public SDK.
On Sun, Apr 4, 2010 at 10:46 AM, rnstewart wrote:
> I'm trying to understand the whole android.R structure, and it would
> be nice if I knew where the so
me and my partners are working on developing a pwa client for android
Am gettin an error while callin an activity from another activity.the
error is as follows:
WARN/InputManagerService(59): Window already focused, ignoring focus
gain of: com.android.internal.view.IInputMethodClient$Stub
$pr...@43
I'm trying to understand the whole android.R structure, and it would
be nice if I knew where the source of those resources is.
I assume that, like the R object in my own project, it is built from a
resources directory somewhere on my system. That directory should
contain the drawables, layouts, va
Neat. I wonder if the market API could be used to do graphs for free
apps as well:
http://code.google.com/p/android-market-api/
On Apr 4, 1:54 am, kostmo wrote:
> I thought I'd share a script that I've been working
> on:http://www.anddev.org/viewtopic.php?p=30732
>
> It lets you generate paramet
to answer my own question (sort of), there were two objects in the list that
were equal according to my equals / hashcode. as this is a list i am not
sure why this would be a problem, but removing the unnecessary equals /
hashcode made it go away.
On Sun, Apr 4, 2010 at 9:55 AM, Jeffrey Blattman
Hello,
I tracked the behaviour of the different screen sizes when I increased
the position of a graphic by 10 pixel. Unfortunately happened what I
already thought. When the display is bigger, I'm able move a graphic a
lot of times more to get to the bottom of the screen. So the ratio
between the gr
There are competing parameters in a location fix: Availability, Speed
and accuracy. You'll have to determine what level of accuracy is
acceptable before you can decide which fix you want to use.
I've seen network location fixes with 10,000 meter accuracy, is that
good enough for your application?
Thanks a lot. You are right. The x,y for text is lower left.
On Sun, Apr 4, 2010 at 12:14 AM, SoftwareForMe.com SoftwareForMe.com <
softwareforme@gmail.com> wrote:
> I don't recall the exact details in Android, but in almost all graphics
> APIs the Y position for text is either the [baseline]
Hi,
I am getting IllegalArgumentException: Service is not registered when
i try to stop my service by initially calling unbindservice and then
stopService.
Before calling unbindService i first check if my service is still
bound by checking (mBoundService - obtained from the
ServiceConnection) I
Is there any way to programmatically select a ListView item such that
when using a simple_list_item_single_choice layout, it lights up the
radio button? Because setSelection(position) does not seem to have
this effect.
--
You received this message because you are subscribed to the Google
Groups
Ok... it's ugly. Indeed, this was one of the things I found difficult
to do in the same manner in Android 1.x and Android 2.x
I actually found it difficult to have one app exercise both these
interfaces, one of the several reasons I wish I had a separate app for
1.x vs 2.x -- if you've not yet m
Dmitri, thanks for this. You might be right-- the user indicated an
HTC app (not Android, per se) did this sync for him. I think I may
offer an option for including ALL contacts with a simple textual
filter on their display name in an effort to weed out the filth. This
alternative mode would sup
On Mon, Mar 29, 2010 at 10:19 AM, Mark Murphy wrote:
> Creating Android JARs is fairly easy...so long as all you want to do is
> ship Java code. If your Java code needs resources or assets, or offers
> up activities or services, then you have to ship a JAR plus a whole
> bunch of other stuff. And
Hello Everyone
I want to modify a text file using Android program .
I searched about that and i found that I have to copy whole content of file
and than Modify it and save it to other file and than Delete Original file
and rename the Modified one.
I tried file.delete() method But i am getting err
Hey thanks - I'll give it a test run one of these days. I like Kevin's
idea to run it as web app
On Apr 4, 12:57 am, Karl Ostmo wrote:
> The script grabs the cookie from an authenticated session with Google
> Checkout before downloading the purchase records, which requires that the
> user enter
Yep, I'm experiencing the same thing, both personally after upgrading
my Droid to 2.1 and from users who have just upgraded.
I'm assuming there's an easy fix, but does anyone else know why the
update had this effect?
On Feb 10, 2:54 pm, Timothy DeWees wrote:
> Hello,
>
> I have an application on
Thanks!
Please check the attached file from
android-2.1\samples\ApiDemos\src\com\example\android\apis\app folder
/* Display a custom progress bar */
Button progressButton = (Button) findViewById(R.id.progress_button);
progressButton.setOnClickListener(new OnClickListener()
Thank you Mark,
Worked not like a charm at all, but work non the less :D
I found it awfully complicated and not very well documented just to
set a font size, or a layout.
The setAdapter seems to be pretty powerful although I'm not sure I
understood everything.
For future reference, in the onCre
I have a Connection object that is instantiated by the
ConnectionService. I bind to the service in order to access the
Connection object and get information from a controller over TCP/IP.
Again, I launch the service from a splash screen with success. I bind
to the service in my main activity and c
Any clue please regarding my 2 problem
Thanks
AJ
On Apr 3, 7:00 pm, AJ wrote:
> Hi group
>
> Now I am able to insert 3 phone numbers.
>
> But There does not looks a way that How can I enter other phone
> numbers like :- Work Fax, Home Fax, Pager etc.
>
> Any clue please.
>
> Here is the code wh
RMD wrote:
> I had tried LocationManager.GPS_PROVIDER but for some reason I didn't
> work. I can't remember now if I tried it before or after I realized
> the GPS was off :)
>
> LocationManager.GPS_PROVIDER is supposed to use whatever location
> source is available right?
No, LocationManager.GPS
I had tried LocationManager.GPS_PROVIDER but for some reason I didn't
work. I can't remember now if I tried it before or after I realized
the GPS was off :)
LocationManager.GPS_PROVIDER is supposed to use whatever location
source is available right?
Thanks,
RMD
On Apr 3, 8:05 am, Mark Murphy
ReyLith wrote:
> Hi!
>
> I have a problem with my application. During the execution of it, I
> have some buttons which execute other activities when I click on them.
> The way I am realising it is:
>
> private OnClickListener scaleImage = new OnClickListener()
> {
>public void onClick(Vie
Hi!
I have a problem with my application. During the execution of it, I
have some buttons which execute other activities when I click on them.
The way I am realising it is:
private OnClickListener scaleImage = new OnClickListener()
{
public void onClick(View v)
{
Intent i
adag wrote:
> Thanks Mark for your reply,
>
> But my requirement is little different. basically I am changing
> listview android:background Color dynamically. As you know that while
> list gets prepared every time, first it refers to the
> android:cacheColorHint from the cache to draw the list oth
Excellent idea TreKing!
On Apr 3, 12:10 pm, "~ TreKing" wrote:
> On Fri, Apr 2, 2010 at 5:58 PM, Matthew Patience <
>
> matthewj.patie...@gmail.com> wrote:
> > What I want to do is while the user is
> > holding down the fire button to have it keep creating instances of the
> > Laser class like
Whoa.. Had no idea about the official 2.1 update. I rooted and
installed CM after the little snafoo a few weeks back with Motorola
pushing off the update again.. Glad to hear 2.1 is now officially on
the Droid!! Is it the complete Nexus One version? What features does
it have/lack?
-Nick
On Apr
I was thinking about using Guice myself before, but hesitated fearing
to make the overall sluggishness of the platform even worse.
How much of an overhead are talking about in terms of memory footprint
and size of bundled libraries? Any noticeable impacts on speed or
battery life? How often does G
Bob- You're absolutely right. The phone will continue to be a phone,
so the Network listener really isn't an energy consumer as its always
connected to towers. Great analysis, thanks! You say simplicity is
probably the best approach here--my main goal is to get a location as
fast as possible, wheth
Hi,
I modified the Phil's LagTest to run in parallel a busy thread that
just forces the cpu to run at full speed.
With this test on my Nexus One and my G1 the fps is constantly at
60fps. A waste of cpu but just for testing.
It's interesting to see, using the profiler, the scheduling of the
drawing
The script grabs the cookie from an authenticated session with Google
Checkout before downloading the purchase records, which requires that the
user enter their password. It's probably better that the passwords are not
transmitted to my system.
To run the script yourself, you just need an Ubuntu
Hello experts !
I am trying hard for many days to implement authentication facility in
my app by facebuk login id. I tried with fbconnect api but it wasnt
working. I got this code and tried . It works fine on version 1.6 and
connects to my facebook application. But i just need to ensure if
login is
Hi,
Is there any record in Android which keep track of all the numbers to
which SMSes are send? Because for the application I am writing I want
to display the record if possible.
Is there any way I can access and display the numbers SMSes has been
send to?
Thanks In Advance,
Perumal
--
You rec
I don't recall the exact details in Android, but in almost all graphics APIs
the Y position for text is either the [baseline] (bottom of a letter 'o' or
'n') or [baseline + descent] (bottom of the letter 'g' or 'y'). In other
words, (x,y) for bitmaps is top-left, (x,y) for text is lower left.
A q
Nevermind... it turns Verizon has just never heard of the phone and,
thus, doesn't have the free 30-day info.
On Apr 3, 3:07 pm, Jeremy Logan wrote:
> Where are you guys entering *228? I'm stuck on the "activate" screen.
>
> On Apr 1, 8:17 am, Wicked96SS <45gl...@gmail.com> wrote:
>
> > On Mar 3
I like the idea and as far as I know this is already possible to some
extend by using the Maven Android Plugin. However this is really a
suboptimal way in terms of component reuse on the device. Ideally it
would even go further and get to a stage where a app could declare a
dependency to a widget,
85 matches
Mail list logo