Hi
I am trying to write program for a calculator.
can anyone help me in writing the code for adding two numbers and displaying
the solution in the EditTextField.
-A
--
You received this message because you are subscribed to the Google
Groups Android Beginners group.
NEW! Try asking and tagging
* can anyone help me in writing the code for adding two numbers and
displaying the solution in the EditTextField.*
int z = 5 + 6;
EditText textField;
//Do stuff to initialize textField
textField.setText( + z);
Now, I'm going to refer you to two different links that you should read:
Hey I just saw that I forgot s.th. within getCount(), so I changed it to
public int getCount() {
//return mThumbIds.length;
if(vidUris!=null){
return vidUris.length;}
return 0;
}
The thing now is that I still cannot see any
I am based in Germany and publish the Last Call Widget on the
Android Market. I have been steady improving it over time, but one
group of users still complain about it not working on their devices.
My widget listens for the android.intent.action.PHONE_STATE intent,
and then sets an alarm to
: [android-beginners] HELP: A Verizon Droid puzzle.
I am based in Germany and publish the Last Call Widget on the
Android Market. I have been steady improving it over time, but one
group of users still complain about it not working on their devices.
My widget listens
Hi,
I am trying to test my basic applications with Android emulator and have one
issue.
My PC is from stone age (too old) and is appropriately slow.
The emulator locks itself and in the settings I can only see an emulator
display lock setting time of 30 minutes max.
Is it possible to turn this
I am using the following code to do things with gridview(slightly
modified from
http://developer.android.com/resources/tutorials/views/hello-gridview.html).
I want to replace the onClicklistener and the onClick() method with
their touch equivalents i.e. touchlistener and onTouch() so that
when i
Android release: Eclair on TI SDP3430 board
Objective: To integrate the video encoding functionality(H.264 codec)
using proprietary mechanism instead of onboard DSP
Primary code changes: OMX component for video encoding and CameraHal
modified (see below for details)
Files in these directories are
I appologize for the absolute beginner questions, but I am having a
tough time understanding this.
I need some help of how to display the strings that I have marked up
with simple html into a TextView. I have found Spanned
fromHtml(String source), but I don't know how to plug it into my java
hi:all ,i'm seeing same issue .can you help me ?
2009/9/8 preetam_pict preetam.pa...@gmail.com
Hi all
I am trying to write a sample program to record the video (say
camcorder application).
When i run my program using the emulator (I have android-sdk-
windows-1.5_r3) I see
I am trying to convert a C# game to Android and need some help withe
the graphics stuff.
Can anyone show me how to convert this to Java?
using System;
using System.ComponentModel;
using System.Drawing;
using System.Windows.Forms;
using System.Drawing.Drawing2D;
namespace MyGame
{
public
I am working to an aplication who calculate the menstruation of girls.
input: a calendar
- start_day(the start day of menstrual cycle wich is with
red in the calendar )
- end_day(the end day of menstrual cycle wich is with yellow
in the calendar)
-
Hi,
I have developed a game. Now want to make a network version of this
game. So please anybody could help me with how to get 2 emulators to
work, how to check the network and stuff like that. I have no idea
about this so please if anybody could give me a link to some tutorial
or some discussion
Hello,
I tried following the installation steps on
http://developer.android.com/sdk/eclipse-adt.html
but i get the following errors when i reach the last step.
The error i get is the following:
Cannot complete the install because one or more required items could
not be found.
Software being
Hi -
I've been working on a Bluetooth application for about a month. I
used the sample application BlueToothChat as a base. Today while
working on the it I went to deploy to my Droid phone and it started
the AVD emulator. I cannot deploy to this because it does not have a
bluetooth emulator.
Hi everybody, I've been sarching in forums (and google) trying to find
something helpful but I had no luck, so I hope someone here could help
me.
I'm trying to make a simple Piano -like app, so I can press a button
and a sound will be playing as long as I'm pressing it. I would also
like to
Hi Community,
I have problems with,
1. Notifications
2. Linkify
3. Dynamic generation of tables
I have referred to many codes available online, but none of them works for
me.
Please suggest a simple way to enable that in my application.
Thank You in advance.
--
Warm Regards,
Chirayu Dalwadi
I have a really weird problem with my Android emulator. I've installed
Eclipse (3.5.1 Java version), SDK with the android 2.1 platform, and the
ADT plugin. Whenever I run the emulator, it acts strangely. It types =
into text fields at regular intervals and the keyboard automatically pops up
so I
I'm very new to android and java, so I don't have a very good
understanding of how to work through certain problems other than
taking wild stabs here and there.
The problem i'm trying to overcome is generating a simple random
number between 1 and 9 from the click of a button and getting that
Is there a system to make a plug in for contacts? I am seeking to change
sort order if possible programaticaly.
sent on location from my Motorola Droid
--
You received this message because you are subscribed to the Google
Groups Android Beginners group.
NEW! Try asking and tagging your
I'm developing my first Android application. I've got it working, in a
basic, It compiles, it links, and it even accepts input and doesn't
crash, sort of way. I'm seeing a very strange behavior, though, when
I deploy it to my DROID (android version 2.0.1). If I start the app
with the phone held so
Hi,
Happy New Year to all.
I am trying to implement a SAX parser in my android application.
I placed my xml file in res/xml folder and declared my path as
/res/xml/book.xml.
SAXParserFactory spf = SAXParserFactory.newInstance();
try {
SAXParser sp = spf.newSAXParser();
I haven't used SaxParser, but wouldn't what you're doing be relative to the
file in which you're running that code?
So unless your source file is in the same root folder as /res/, I wouldn't
expect that to work.
Hi,
This has been killing me. I finally found examples around the
net for things I wanted to experiment with. I had to go searching cuz
I could find this information anywhere in the API Docs.
I got one answered, but I need help with the other.
1) For listening for broadcast SMS
Hi,
Can anyone help me with some ideas or clues on how to integrate my android
application with facebook.
Thanks in advance,
Yousuf.
--
You received this message because you are subscribed to the Google
Groups Android Beginners group.
To post to this group, send email to
Debug the app on your Droid through Eclipse and look at the logcat info
--
There are only 10 types of people in the world...
Those who know binary and those who don't.
My simple app - with no fancy stuff - just one preferences screen and
simple while loop logic keeps crashing on my droid though it works
fine in the emulator ... I've tried everything I could find online for
possible answers, I think... is there something very basic I'm
missing?
I get a blank
The built-in music player I got can't read Chinese and I couldn't find
one that reads Chinese in the market . . . please help . . . I have no
idea whose/which songs Im playin' or I can choose from since most
titles and artists' names don't show ... Thanks!
--
You received this message because
Hello all,
I just downloaded the SDK for Android yesterday and I'm looking forward in
being part of the community.
The bottom line is I can't choose a Build target in the Eclipse(Galileo) wizard.
Menu item File\new\Project... to the wizard were I select Android\Android
Project next but no build
Hello all,
I just downloaded the SDK for Android yesterday and I'm looking forward in
being part of the community.
The bottom line is I can't choose a Build target in the Eclipse(Galileo) wizard.
Menu item File\new\Project... to the wizard were I select Android\Android
Project next but no build
Hi,
I am new to Android and SQLite. I am trying to query a table on a non
primary key column. Is this possible? FYI, I am able to create, insert
and retrieve all rows. The structure of the table is as follows:
.
private static final String DATABASE_NAME = WordSolver;
private static final
This is my first time developing an app, not just for android, but in
general. Needing some serious help. If anyone would be willing I'm a
quick learner and will try not to ask you the same question twice.
Thanks.
--
You received this message because you are subscribed to the Google
Groups
Hi,
I downloaded android sdk release 3 for mac as per the instructions,
but when I try to download the platforms by running Android SDK and
AVD Manager - I get the following error:
Failed to fetch URL https://dl-ssl.google.com/android/repository/repository.xml,
reason: HTTPS SSL error. You might
Sounds interesting however I think you need to provide more details. Are you
wanting someone to code the app for you? Or do you plan on learning to
program in the process?
On Tue, Nov 10, 2009 at 12:13 PM, Sam sameermat...@gmail.com wrote:
Hi community
I am new to programming...i have this
Hi community
I am new to programming...i have this idea of creating a sport scoring
app
but i have no idea how to do the coding
i knw some basic concepts of object oriented programming
but i want to knw how to layout the structure of the programming
if anyone wants to join me (can share the
let me first say that I'm new to Adroid and SDK
Problem: when I try to download the any platform under the Availible
Packages section of the Android GUI, it doesn't do anything when I
click Install Selected. It will get the list and show me what can be
downloaded, but won't actually download it.
Hi guys,
I am trying to develop and AnalogClock widget on the home screen that
changes depending on the time of day. I am finding problems getting to
the right code to make it happen, and will hope to seek you help and
advise here.
1) Getting the dial resource in AnalogClock to change in code
I
Hello there! I live in Brazil and got a new android dev phone 1. My
carrier (claro) says that in my state (Minas Gerais) they use 2100Mhz
for 3G band. I have a data services packet from them (used to work on
my N95), but I can't get it working on Devphone.
I've registered the APN using the same
Hello,
I am working on a simple application that, for now, just presents a
login page as the starting activity with username and password and a
login button. When you click on the login button, it starts a new
activity after verifying credentials. When I run the application in
the emulator, it
Someone knows how could do to generate a view with 01 TextView and a button
without using the xml (R.java).?
Which method of the view that receives the attributes (TextView and button)?
--
Ray da Costa
The best way to predict the future is to invent it.
Alan Kay
When trying to run my first attempt to an android app I get this error
message concerning the AVD:
[2009-09-30 23:57:00 - Emulator]emulator: ERROR: no search paths found
in this AVD's configuration.
[2009-09-30 23:57:00 - Emulator]Weird, the AVD's config.ini file is
malformed. Try re-creating it.
Hi,
I need to create a view in GridView which will have a checkbox over an
image (on the bottom right corner). so, when someone selects that
image, the checkbox is checked. I know I will have to create a custom
adapter but how do I write the XML for the cell?
Thanks in advance,
Moazzam
this is the problem:
there are 5 EDITTEXT boxes. the value that the user enters into
FIELD1 needs to be retrieved in to a variable called
FIELD1_RETRIEVED. if the user enters 135.98, that number is used in
the calculation process.
once FIELD1 is entered, the CALCULATE button is pressed.
Hello guys, I'm an android beginner developer.
I'm developing an application for Android, and I asked ... a widget
and an application are programmed the sam way?
I'd like to develop a widget that puts an image on your desktop, when
I touch the image, the keyboard should be visible on the
Hi all
I am trying to write a sample program to record the video (say
camcorder application).
When i run my program using the emulator (I have android-sdk-
windows-1.5_r3) I see java.io.IOException: prepare failed. error in
logcat output.
Further I can see that I have came across this error
Where do all the activities go?
What I mean is... My app contains a list. When I click on an item, I
fire up a new activity. Potentially I could do the same again, and
again. Are all these activities still running? If so, how can I switch
between them, or view a list of which activities are
I just got a new laptop with x64 vista and i'm following the
development on setting up my laptop for development but I keep getting
a error when I try to create my AVD.
When i tried to enter the android create avd --name your_avd_name --
target targetID
command into the commandprompt it gives me
Hi Guys,
After a picture is taken in Android, you get a menu to save it, etc.
Is it possible to add a menu item in it saying Upload pic to xyz.com
and then have it launch an activity of my app ?
Thanks,
Moazzam
--~--~-~--~~~---~--~~
You received this message
Hi,
I am relatiely new to both java and Android.
I assume that files opened in user.dir are held in fast battery
backed ram and that /sdcard/ is a slower rom device.
I am attempting to copy a file of about 450k from the sdcard to the
user.dir so that I can have much faster reading/wrting of
Hello All,
I am trying to build the Hello, Android application from the tutorial
on the website on my Macbook pro with OSX Leopard in Eclipse 3.5. I
follow the instructions on the website (http://developer.android.com/
guide/tutorials/hello-world.html) and receive the following error:
Hello All,
I am trying to build the Hello, Android application from the tutorial
on the website on my Macbook pro with OSX Leopard in Eclipse 3.5. I
follow the instructions on the website (http://developer.android.com/
guide/tutorials/hello-world.html) and receive the following error:
hi,
i have been trying to create an app using the accelerometer sensor in
SDK 1.5.
i am using the Sensor class and tried using the getSupportedSensors()
method to get a list of supported sensors. But it gives an error
saying 'The method is undefined for the type Sensor'. Any idea how to
work
Hi guys,
I have a function in my activity that starts a new thread and that
threads send a message back to an event handler. I need to start an
activity after that thread finishes. How can I do that. I keep getting
an error when I try to do this :
class mainClass extends Activity {
Hi,
I was looking for a solution for this concept but as I am new I
cant... please help
I have a child Relative Layout which is inside a linear Layout. This
child Relative layout contains some elements in it.
In my program I need to generate new Relative Layouts like this one 5
times and add it
Hi!
I am begginer of Android Development.
I can create an activity with different views, and can run them
successfully.
The problem is that,
If I have several activities in the android project, it
takes only one to launch.
Can u pls, tell me how to set an activity as Main one which
Hello,
I have a problem with drawing lines between two points on google map.
I get nullpointerexception on this line of code:
canvas.drawLine(p1.x, p1.y, p2.x, p2.y, paint);
I know this is a very basic thing, but I don't know not much about it
and I really really need your help.
here is were i
I m trying to draw the symbols on my map i.e. i cann draw lines
circles ovals etc..
but if i want to remove that symbols what i have to do ??
is there any methods for that ???
Thnx in advance
--~--~-~--~~~---~--~~
You received this message because you are
Hi everyone,
i'm trying to build an application that captures an image shares it...
'm calling the inbuilt camera application with the following code
code
Intent i = new Intent(android.media.action.IMAGE_CAPTURE);
startActivityForResult(i, 0);
/code
N my on activity result is
code
Ok, sorry if this is a double post buy my first post didn't appear to
have posted...
I'm new to andorid programming and trying to run through the
helloworld tutorial provided in the SDK
I'm having trouble and getting an error message when trying to start
the AVD. I did install java and followed
Hi all,
i'm starting an activity that inturn calls a service i
wanna get notified when the service competes...
can anyone temme how i can do this???
--
Regards,
Sujay
Bette Davis http://www.brainyquote.com/quotes/authors/b/bette_davis.html
- Brought up to respect the
Hi all
I am a bit of a beginner, so I apoligise if my coding looks rubbish :)
I have three tabs, and within the first tab's contents, I want to
provide instruction steps.
So for this, I have created two buttons within the first tab.
The trouble I am having is changing the step layout when I
Help,
Back in February I created a website called www.EmailALittleSecret.co.uk
for people to share their Secrets completely anonymously with the
world (It's currently down pending an update tomorrow afternoon; 23
May 2009). I did this so people had somewhere to release the pressure
that is built
Help,
Back in February I created a website called www.EmailALittleSecret.co.uk
for people to share their Secrets completely anonymously with the
world (It's currently down pending an update tomorrow afternoon; 23
May 2009). I did this so people had somewhere to release the pressure
that is built
Hi everyone,
i'm in the process of developing an android
application that helps the user sync his local(camera) pics with his
web album(picasa or flickr or watever's feasible)
i already tried gdata api for java was fed
up with the VerifyErrors
Hi All,
i would like to test 2wayEngine with 324 supprot in opencore with all
flags combinations .
But i have failed to compile the 2Wayengine code with the follwing
flags PV_PLAY_FROM_FILE_SUPPORT, PV_RECORD_TO_FILE_SUPPORT.
i enabled these flags in the /engines/2way/test/build/local.mk
even i
Hi,
I'm pretty new to the whole app developing scene and i've never coded
in Java before, however it doesn't seem that different to c# so I
figured i'd give it a go.
I've been making reasonable process on the app I'm working on, I've
figured out using the main.xml to create a relative layout
Hi everyone,
I am creating android application using eclipse ganemede. The creating
of application hello android was successful, however, when I
compiled and run it, I got stuck at loading the application into the
android emulator.
I can view the emulator screen with the word ANDROID on it but
Hi,
I have installed eclipse successfully. I am trying to install ADT on
top of eclipse using the procedure given.
The eclipse has WST. JDK 6 is also installed.
I choose Help Software Updates, Add Site and type in
http://dl-ssl.google.com/android/eclipse/.
When I click Finish to install, I
Hi,
I am having some problems trying to extend the SimpleCursorAdapter,
the problem I am trying to solve is simple. I have the 'id' of an SMS
message and I want to associate this with the Name of the person who
sent it (if in the contact-book).
Basically I want to get the current cursor
Hello i have a problem with the visualization of map, i have follow
the tutorial of MapView but i don't see the map i have insert api
key but nothing where is the problem?
Please help me.thanks
--~--~-~--~~~---~--~~
You received this message because you are
Hi,
I can hardly understanding why LunarLander save the Canvas and restore
it after rotating the Canvas to simulate the rotation of the rocket.
I commented the 2 lines out and reinstall the apk, but I found nothing
changed.
Could anybody kindly help me understanding what 'matrix' and 'clip'
are
Hi all..
ANDROID , as they say, is a robot which behaves like a human. I don't
know why GOOGLE chose this name for it's mobile platform.. Anyways, i
am new to this platform.. 3 days old.. but havea fair amount of
knowledge in java basics.. i have read the fundamentals of ANDROID
basics as well
Hi everyone
my eclipse version eclipse-java-ganymede-SR1-linux-gtk.tar.gz
my sdk version:android-sdk-linux_x86-1.0_r1.zip
AND i think i have followed the steps in authority google website to install
ADT.
and I think I have successfully set the SDK path in eclipse following the
google website.
I
Specifically - I want to use some of the APIDemos as a jumping off
point to making modifications. In C, I'd just copy the files, include
the headers I want, and go to town. In Java, I'm not clear on how to
do this. Like, I want to copy the fingerpaint app out of the ApiDemos
to expand it, but
Hi folks,
I am having problem with setting a button to start a new UI activity
after clicking. The purpose is for the user to click on the button on
the main page of the app and start the game UI. Every time i click on
the button in the emulator, my app is force closed and Eclipse is
thrown into
I am trying to create a very simple mp3 player with one button that
plays one song. I found misc code here and there as a start. I am
running the application via Eclipse onto my G1 which is attached via
USB. The application runs fine on the phone, screen loads, button
click event gets fired,
Hello,
I accidently deleted my R.java file attached to my project - but
it was re-attached auto-magically. But now when I try to assign
drawables it says its it cannot be resolved.
for example:
cheese_png = context.getResources().getDrawable
(R.drawable.cheese);
I received the G1 android phone for christmas. There's already a gmail
account on the phone. How do I cancel that accoint and put my account
on it?? Cause it keeps asking me for there password and has there
gmail address already saved?? Please help
Hi all,
Could some one help me with the below error logs.. I am running
Android on a PXA platform with a custom wifi driver. when I try to
invoke Wifi Manager from settings, the GUI crashes. I am attaching the
logs below..
Thanks in Advance..
YOU CANNOT CREATE OR CONNECT THE DB explicitly..
as there are no GUI tools for easy database connectivity, it is just
through Database code inside java files.
create SQL db virtually through script.
refer the sample code NotePad.
You can use Sqlite GUI Browser for script generation..
With
hi all,
how to create a database in latest version of android... plz help
me
regards,
Praveen Chandrasekaran.
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google
Groups Android Beginners group.
To post to this group, send
when i try to run eclipse i get this error A Java Runtime Enviroment
(JRE) or Java Development Kit (JDK)
must be available in order to run Eclipse. No Java virtual machine was
found after searching the following locations:
C:\Documents and Settings\TEMP\Desktop\myg1\eclipse-jee-ganymede-SR1-
Hi all, I've been trying to debug this problem all day long and can't seem
to find the breakthrough. I'm using tabhosts to create tabs on the main
screen, then I try to put list inside the other tab.To achieve that, I'm
using setContent(Intent e ) methods.. hoping that the list will be contained
ok everything i run just to test anything after i downloaded and
unzipped the sdk gives me compilation errors and when i try to run the
andriod.jar it wont work either it gives me Failed to load Main-Class
manifest attribute from C:\Documents and Settings\TEMP\Desktop
Hi All,
I'm trying to animate some text and have it scroll across the
screen but I can't seem to figure out how to do it and would like some
help if anyone is able to assist. Basically I just want to have text
that the user entered at another place in the app scroll across the
screen and
Hi Guys,
Iam trying to build android source for omap3430 platform.
After doing all necessary preparations as listed in
source.android.com
and proceeding to build, i have encountered some java related
exception.
I tried googling for some solution, but ended with none.
Here is the error:
target
i want to delete some of the preloaded apps such as amazonmp3 etc.
help please
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google
Groups Android Beginners group.
To post to this group, send email to
I use Netbeans IDE. I wanted to run an indexing operation. But it
needed Lucene. Then I downloaded Lucene. I don't how to incorporate
Lucene now through Netbeans.
Please help!!!
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the
Hi
In my Application i have scenario where the Button Should be in
Pressed mode for few seconds and than it should be in unpressed mode
i have tried using thread But its not working
bt.setPressed(true);
Thread.sleep(2000);
bt.setPressed(false);
this logic is not working... the Button is
Hi All,
First of all i must say that i am very new to android.
I am trying to develop an application which will receive an SMS alert
and notofy the user with some sound. I have written the main
SMSReceiver class as follows;
package com.android.sms;
import android.content.BroadcastReceiver;
Alright, so I have been trying for quite some time now to figure out
how to get an SQLite database in Android to count the instances of a
particular value in a table with no luck. I figured that the SQL
count command would work, but I haven't been able to figure out how to
use it yet.
My
Hi Guys,
I have successfully downloaded the source code of android following
the instruction in the website.
After doing all necessary preparations including mkdir mydroid and cd
mydroid, I tried running make to start building the source code.
Unfortunately, I encountered this error.:
host
hi i have started android working before few day. I am in learning
phase. I am doing small android application and try to run on
emulator. I want to add all contacts from my gmail account to
emulators contacts.
what are steps needed to archive this?
thx in advance
Do I need to install all previous versions of the android software in
order to install the new one.
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google
Groups Android Beginners group.
To post to this group, send email to
Do I need to install all previous versions of the android software
before I can download this one.
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google
Groups Android Beginners group.
To post to this group, send email to
Hi All,
I have some problem when signing app, i'm very new to things like public
key, private key, etc
I try to build my project using ant, but always failed in signing part
(debug.keystore), when i try to build using 'ant release' command, it was
successfull but we still need jarsigner to
Hi all,
This is may be very stupid question, but how do I close an running android
app e.g: browser.
When I press the back button it seems application only minimized not closed.
So I try to list
running app by holding Home button and browser app still running. I'm
running android on emulator.
Hi,
I don't know why it doesn't work,
I'm using eclipse version 3.4
and android sdk0.9beta
Actually, I want to get the html code from a website,
and it throw to EXCEPETION , unknown error.
Then I try a sample code from http://www.anddev.org/working_with_files-t115.html
I found that when it runs
Hi,
I am using eclipse version 3.4
android SDK 0.9Beta.
Actually, I want to get the html from a website. But it throw to
exception with unknow error, I found that when it
run .getInputStream(), then throw exception.
I try a sample from http://www.anddev.org/working_with_files-t115.html,
same
Hi All...!!!
Hey i want to write a application in which i can know the
location of my friend when he is calling me
and the distance between us
To write this kind application do i require any other extra
Configuration to be done (or) any extra plugins...( such
1 - 100 of 106 matches
Mail list logo