I think the easiest way is to use ADT. Do you know the ADT installed
in Eclipse. Using it is quite easy and you don't have to remember the
so long command parameters.
On Aug 6, 11:52 am, AndroidDev wrote:
> Hi there...
>
> I am quiet new to the Android platform. I am unable to create an AVD
> (
The error is because you defined a TextView inside a ListView. You
know ListView first is an AdapterView. You cannot add a view into
AdapterView because it is not supported. What you can do is to define
an Adapter(such as ArrayAdapter) then set the adapter into the
ListView. Hope this can help you
Are you sure you added android SDK path do you PATH environment variable?
"Optionally, you may want to add the location of the SDK's primary
toolsdirectory to your system PATH. The primary
tools/ directory is located at the root of the SDK folder. Adding tools to
your path lets you run Android Deb
Mitch wrote:
> Is it reasonable/possible to directly share user written code?
Java/Dalvik bytecode? No.
Android Scripting Environment scripts? Probably -- haven't played with
it yet.
SIMPLE language scripts? Perhaps -- haven't played with it either.
Directly using a scripting engine like Beans
But here I can access TextView in my code. Its isn't giving any error
or exception, But when I am trying to add EdtiText above ListView than
it's giving error. My actual XML as under. Declaration of LinearLayout
is Missing at very first.
http://schemas.android.com/apk/res/
android"
andro
Here, I am closing that ListView too.But still I am getting problem.In
xml file I am writing EditText above ListView, that's showing EditText
but when I am trying to setting or getting value in that EditText it's
giving nullpointer exception
On Aug 7, 3:44 am, Shalin wrote:
> But here I can acce
Problem resolved. Thanks for replying.
On Aug 7, 3:58 am, Shalin wrote:
> Here, I am closing that ListView too.But still I am getting problem.In
> xml file I am writing EditText above ListView, that's showing EditText
> but when I am trying to setting or getting value in that EditText it's
> giv
WOW. Thanks Mark for the links and explanation. Was wondering why the
same movie that I have on the SD card plays fine, but when I put it on
a website and accessed over http:// I get "This video can not be
played".
I'm sorry Android Devs, but this is very disappointing. Playing a
video via http://
Hello
Could someone please point me to a discussion of payment for service
in the Android environment. The application is medical, where the user
sends a picture to the service (a real human nurse) and gets an
opinion in return. The nurse needs to get some money out of the deal.
The whole thing i
Hello
Could someone please point me to a discussion of payment for service
in the Android environment. The application is medical, where the user
sends a picture to the service (a real human nurse) and gets an
opinion in return. The nurse needs to get some money out of the deal.
The whole thing i
Where are you trying to read the image from ?
1. If it is packaged with your apk, you can retrieve it by accessing
the Resources.
Resources res = mContext.getResources();
Drawable myImage = res.getDrawable(R.drawable.my_image);
It can also be done all in XML. There is more info here:
http://d
Try this piece of code :
ComponentName c = new ComponentName
("com.android.settings","com.android.settings.SecuritySettings");
Intent i = new Intent(Settings.ACTION_SECURITY_SETTINGS);
i.addCategory(Intent.CATEGORY_LAUNCHER);
i.setComponent(c);
i.setFlags(In
Awesome! Thanks Balwinder, your code works perfectly.
A little exploration: I tried to use Intent.ACTION_MAIN instead of
Settings.ACTION_SECURITY_SETTINGS for the action because that's what
the DDMS seemed to indicate. But the difference is that it first
leads me to the Settings, and then to Se
Traceview is working fine, but still I have trouble of running
dmtracedump.
Has anyone successfully generated a graphical call diagram?
this is the command I typed into my machine:
> dmtracedump -ho -g
actually I tried several combinations of the options, but it always
output the same error mes
Does the emulator accurately mimic the speed and memory of the average
Android phone?
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google
Groups "Android Beginners" group.
To post to this group, send email to android-beginners@g
Does anyone know if there's a way to manually switch from one carrier
to another in code?
I could get actual operator data with serviceState.getOperatorAlphaLong
(); etc, but wasn't able to find a solution to actually switch from
one to another.
Thanks for help
--~--~-~--~~-
Same problem here. Any help could be highly appreciated.
BR,
guido.
On 25 jul, 14:47, Stetze wrote:
> Did you find a solution for that problem?
> I'm facing the same problem since a long time...
>
> On Jun 8, 10:45 pm, chinna Durai wrote:
>
> > Hi,
> > I tried to run the JetBoy sample example
android:number="integer" produces ERROR: no resource identifier found
for attribute 'number'...
On Aug 6, 4:26 pm, Mike Olson wrote:
> I have an EditText that I don't want to force to be a number, but
> chances are it almost always will start with a number (The field is
> "Quantity", and I'd lik
A few questions:
1. I aready set up my G1 with my @gmail.com account but now I want to
set it up with my @mydomain.com account that is hosted in Google Apps.
2. How can I set up so that it uses my Google Apps email account
(custom domain) for email and my gmail for Google Calendar/Google
Voice?
#include
#include
#include
#include "sms_features.h"
static void lose (const char *fmt, ...) G_GNUC_NORETURN G_GNUC_PRINTF
(1, 2);
static void lose_gerror (const char *prefix, GError *error)
G_GNUC_NORETURN;
static void release_val(gpointer data)
{
GValue *val = (GValue *)data;
Hi everyone,
Hope this post does not show up as duplicate but my previous post is
not appearing. Anyway I am thinking of getting a HTC Hero for android
development. I would like to debug applications from Eclipse on the
device. I cannot
find anything to indicate this would be a problem but I just
Hi,
I have this strange problem. I'm placing Autocomplete text box and
ImageButton in the center of screen. Whenever user starts entering
text virtual keyboard is launched. At that time my ImageButton shrinks
to half. I tried to set minimum height attribute but no success. Any
idea what shoul
hello everyone
I am android beginner.I am looking for notification example in android.
can u plz send to me
Seema Sharma
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google
Groups "Android Beginners" group.
To post to this grou
I want to include accelerometer support in my app, but the
documentation seemed pretty spotty. How many axes of rotation does the
accelerometer support, and how do you differentiate between the axes?
Also, do *any* current Android phones actually have a dpad? The
emulator's not as useful as it co
I am just getting started with Android development and I would like to
go over the sample code that it says is included with the sdk.
However, it appears not to be included in the version I downloaded
(android-sdk-windows-1.5r3). There isn't a folder at all for sample
code.
Any one know where I
I am using Virtual PC 2007 to develop under Android using Eclipse
under Windows XP. I am able to debug using the emulator but have not
had any luck to ddms to recognize the device. I was able to intall the
USB driver under the PC, mount the drive, and then share the drive
under virtual PC.
has an
Sorry... must be a very easy question... otherwise I would't be a real
Android Beginner... :-)
How to share the variable pippo between the program that launches the
thread and the thread itself?
@Override
public void onCreate() {
super.onCreate();
int pippo = 5;
new Timer
I need notification example in android
plz send to me
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google
Groups "Android Beginners" group.
To post to this group, send email to android-beginners@googlegroups.com
To unsubscribe fr
I need a service example in android
plz send to me
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google
Groups "Android Beginners" group.
To post to this group, send email to android-beginners@googlegroups.com
To unsubscribe from
Hi guys!
I'm not sure about how to participe in the contest. So the only thing
i need it's to publich my app in the market? or do i have to do a
special thing? is there a web site to upload adc2 apps?
Thanks!
--~--~-~--~~~---~--~~
You received this message becaus
hello I need a notification example in android
plz send to me
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google
Groups "Android Beginners" group.
To post to this group, send email to android-beginners@googlegroups.com
To unsubs
I think you are not using the handler for the updating of the GUI
which is
causing problem.
Take a look at this tutorial that explains the basics of GUI/View
updates.
http://www.anddev.org/the_pizza_timer_-_threading-drawing_on_canvas-t126.html
Hope it helps...
On Jul 28, 5:23 am, Manj
So ive set up eclipse, with android SKD, and im trying to get the test
HelloAndroid to run. My AVD is setup correctly, i did it through the
command prompt. Whenever i go to run my app i get this error.
ERROR: Application does not specify a
android.test.InstrumentationTestRunner instrumentation or
Hi everyone,
I would like to get a HTC Hero for Android development. I could not
find anything
to indicate this would be a bad idea, i.e. I think I should be able to
debug applications
from Eclipse? I just wanted to make sure before I go ahead and buy
one
Any answers much appreciated
Martij
Hello all,
This is my first post in this forum so I'd like to send warm his to
everyone here.
My question is : is it possible to write a piece of code that switches
from one GSM cellular operator to other with or without user's
permission.
Thanks in advance!
Andrzej
--~--~-~--~~--
The folder that should contain the sample code for the Android SDK
does not exist for me. I've downloaded the SDK two times and neither
one contained it.
Any idea where I might find the folder and the corresponding sample
code so I can start figuring out how to program?
Thanks,
Nathan
--~--~--
Hi Google maps team,
Just in case nobody reported the error:
Best Regards,
Zied Hamdi
The Next Street Android Application
http://nextstreet.eu
08-07 19:50:30.538: WARN/System.err(12975):
java.lang.IllegalStateException: Connection pool shut down.
08-07 19:50:30.568: WARN/System.err(12975):
Nathan wrote:
> The folder that should contain the sample code for the Android SDK
> does not exist for me. I've downloaded the SDK two times and neither
> one contained it.
Bear in mind that starting with Android 1.5, the sample code is on a
per-platform basis. So, if you want the 1.5 code, the
I am using VMWare player on my Windows Vista environment and don't
have any problems with any hardware interface. Also recognizing a
connected phone on USB works fine.
You might want to give it a try if you don't have any progress with
Virtual PC 2007.
--
Roman Baumgaertner
Sr. SW Engineer-OSDC
Saurabh Sinha - is that you? You really need to stop spamming the channel (and
the smart regulars!!) begging and demanding for someone to do YOUR work for you
- no matter how many names you use and email accounts you can set up!
From: seema sharma
To: android-beginners@googlegroups.co
Hi there,
I am trying to move an image using finger touch.I tried to find a
tutorial or sample code for it but I couldn't find anything. Could
anyone please help me out here? Thanks in advanced...
--~--~-~--~~~---~--~~
You received this message because you are
Ah, thanks, I was overlooking the platform folder.
On Aug 7, 12:06 pm, Mark Murphy wrote:
> Nathan wrote:
> > The folder that should contain the sample code for the Android SDK
> > does not exist for me. I've downloaded the SDK two times and neither
> > one contained it.
>
> Bear in mind that s
Try setting the Android API version you want your app to use.
Do this by opening the projects "Properties -> Android -> Project Build
Target"
The lower you set it the more poeple can use it because not every phone
has the same version of Android.
The higher you set it the more functionality you c
Samples are under their respective platform versions.
Look into
/platforms//samples/
Xav
On Fri, Aug 7, 2009 at 9:51 AM, Nathan wrote:
>
> I am just getting started with Android development and I would like to
> go over the sample code that it says is included with the sdk.
> However, it appear
Thanks. I will have to look into that. do yo happen to know if VMWare
offers a free product.
thanks
On Aug 7, 2:10 pm, Roman wrote:
> I am using VMWare player on my Windows Vista environment and don't
> have any problems with any hardware interface. Also recognizing a
> connected phone on USB wo
Hi everyone,
Flurry Analytics uses the data collected from now over 200 million montly
tracked user sessions to spot trends in the industry. Sharing the latest
from our July Smartphone Industry Pulse, which we hope you'll find helpful.
http://blog.flurry.com/bid/24465/Smartphone-Industry-Pulse-
No, it's not. Have you considered PayPal?
Yusuf Saib
Android
·T· · ·Mobile· stick together
The views, opinions and statements in this email are those of the
author solely in their individual capacity, and do not necessarily
represent those of T-Mobile USA, Inc.
On Aug 7, 8:36 am, jbrohan
On Friday 07 August 2009 09:51:01 Nathan wrote:
> I am just getting started with Android development and I would like to
> go over the sample code that it says is included with the sdk.
> However, it appears not to be included in the version I downloaded
> (android-sdk-windows-1.5r3). There isn't
If your question is "why even use XML to layout UI?" the answer is
"because some people like it better; they find it easier and cleaner;
other's prefer to do it in Java". As Teal said, you don't have to use
XML if you don't like. I at first found the XML layout method foreign,
and the plethora of
I recommend you look at the rules here: http://code.google.com/android/adc/
And wait for Google to announce when contestants can submit their
entries, hopefully soon.
Yusuf Saib
Android
·T· · ·Mobile· stick together
The views, opinions and statements in this email are those of the
author solel
Exactly my point, it seems like it would be easier to learn Android
that way. It wasn't until I found Mark Murphy's "The Busy Coder's
Guide to Android Development" that I starting feeling a bit more
comfortable with all the XML (lots of examples gradually introduced,
unlike the O'Reilly and Mannin
> Also, Roman Guy replied in another thread, that you can't do the same
> with Java as you can with XML (although that seems odd, all other XML
> view technologies I know of ultimately translates into a Java
> component tree):
> http://groups.google.com/group/android-beginners/browse_thread/thread
Casper Bang wrote:
> It wasn't until I found Mark Murphy's "The Busy Coder's
> Guide to Android Development" that I starting feeling a bit more
> comfortable with all the XML
That is due to the subliminal "angle brackets are your friends" I have
in the watermark on the pages.
;-)
> Also, Roman
I have Eclipse Ganymede and the Android ADT plugin. I'm able to test
code in the emulator, and everything's working fine... except that
when using breakpoints, the debugger will stop working all of a
sudden. Sometimes I can step through a few lines, sometimes it'll do
it right away. When it happen
Thanks guys, I now understand the empathy on XML a little better. :)
/Casper
On 8 Aug., 00:12, Mark Murphy wrote:
> Casper Bang wrote:
> > It wasn't until I found Mark Murphy's "The Busy Coder's
> > Guide to Android Development" that I starting feeling a bit more
> > comfortable with all the XM
On Aug 7, 1:21 am, wook wrote:
> actually I tried several combinations of the options, but it always
> output the same error message
> ERROR: unable to read 216321 bytes from trace file
Sounds like your .trace file is truncated or broken somehow. Do you
see errors if you simply "dmtracedump -h
VMWare player is for free. Also check out the VirtualBox from sun
which is also available for the Windows environment and is also for
free.
Let me know if you have problems with the setup.
--
Roman Baumgaertner
Sr. SW Engineer-OSDC
·T· · ·Mobile· stick together
The views, opinions and statement
this is notification test class and test1 another activity
while running notification I get status msg when I click to start
another activity
activity is not started plz check it your system and tell me where I
am going wrong
import android.app.Activity;
import android.app.Notification;
import a
You can take a look at this tutorial.
http://www.anddev.org/viewtopic.php?p=11603
--
Jack Ha
Open Source Development Center
・T・ ・ ・Mobile・ stick together
The views, opinions and statements in this email are those of
the author solely in their individual capacity, and do not
necessarily repr
Hi there,
I have a GUI question and hope someone can help me out.
I am trying to make a GUI where I have 3 buttons ( start, about,
exit). What I need is to have a background behind these buttons. For
instance Xgalaga game for android. When you start the game there are 3
buttons and behind them i
Thank you so much. That's exactly what I want
On Aug 7, 8:50 pm, Jack Ha wrote:
> You can take a look at this tutorial.
>
> http://www.anddev.org/viewtopic.php?p=11603
>
> --
> Jack Ha
> Open Source Development Center
> ・T・ ・ ・Mobile・ stick together
>
> The views, opinions and statemen
2009/8/7 seema sharma
> hello everyone
>
> I am android beginner.I am looking for notification example in android.
> can u plz send to me
>
Go through the ApiDemos in the SDK..
There is sample code for it
>
> Seema Sharma
>
> >
>
--
Shine bright,
(: Naveen Krishna Ch :)
~~Forgiveness is the e
2009/8/7 seema sharma
> I need a service example in android
> plz send to me
>
ApiDemos in the SDK has a service example for
Local service and Remote service..
Basically we need to have an AIDL file for each (Service and client)
And thier skeletons(Which are interfaces) should be defined by you..
It sounds like you're selecting "Run As > Android JUnit Test" when
attempting to run your app. This will attempt to execute all the JUnit
tests in your project, but your project is not properly configured as
a test project. What you probably want instead is to select "Run As >
Android Application"
Try to reload the project. In the package explorer, right click on
project and select "refresh F5".
On Aug 5, 3:03 pm, sunabozu wrote:
> Hi. I'm trying to write a basic application. Everything goes fine and
> my project works. But when I'm using IOException in my code, Eclipse
> shows me strange
hi!my application have an edittext on main activity and i want as whe my
application will open the virtual keyboard to be open.i tried whith
requestFocus but doesn't work.you think is posible that?and an other
question:is posible tu use the enter key pf virtual keyboard to submit a
form or an other
66 matches
Mail list logo