You need to follow the tutorial I gave you a link to
On Dec 14, 2009 11:43 PM, Ganesh Ram ganesh...@gmail.com wrote:
Hi Justin..,
Here is my code..,
==
private Integer[] gItems = {
R.drawable.l,
R.drawable.b2,
just hard the number in startActivity() and try..
Then you are giving permission in Manifest, right ..
On Dec 15, 10:26 am, AJ amanjsi...@gmail.com wrote:
Thanks... but taht does not help either. It launches but the call
button does not work:
[2009-12-15 00:21:13 - HelloAndroid]Waiting for
Nithin is right, you need to add the following permission to your
AndroidManifest.xml, if it's not there already:
uses-permission id=android.permission.CALL_PHONE/
You'll find that the KEYCODE_CALL button is being ignored, because by
default special buttons like the back/call/home ones are
this is the code. appreciate if anyone can tell me whats wrong.
package info.shouraig.com;
import java.io.IOException;
import android.app.Activity;
import android.media.MediaPlayer;
import android.net.Uri;
import android.os.Bundle;
import android.util.Log;
import android.widget.MediaController;
You are trying to play a WMV format.
http://developer.android.com/guide/appendix/media-formats.html
On Tue, Dec 15, 2009 at 11:42 AM, Valentino XM shourai...@gmail.com wrote:
this is the code. appreciate if anyone can tell me whats wrong.
package info.shouraig.com;
import
Ok, I see all the examples on how to make a hello world program in c,
but all of them have you do an adb shell to run it.
Assume I want to have my c program do the useful things it already does and
use java for the UI, how would I launch my c program?
How do I bundle everything, java, c, into one
Hi,
You cannot use the regular java IO for res/raw. folder.
only if you are using /sd/card you can use regular java.io
here is some code that might help you
FileInputStream fin = context.openFileInput(sitestore);
InputStreamReader br = new InputStreamReader(fin);
String
On Tue, Dec 15, 2009 at 3:26 PM, Michael Dorin bsddo...@gmail.com wrote:
Ok, I see all the examples on how to make a hello world program in c,
but all of them have you do an adb shell to run it.
Assume I want to have my c program do the useful things it already does and
use java for the UI,
Hi Yousuf,
Thank you very much for the answer. However, I don't know in which
directory i should put the file? I don't want to save the file from my
application - it should just be there when the application is
installed. I don't think I can access this file with the
context.openFileInput()
Hi again,
I've just tried putting a simple file with the Hello, world text
into the raw folder, and this works as it should. The other file is
1.1 megabyte. Can the error be caused because of the size?
On 15 Dec., 19:52, Yousuf Syed yousuf.syed@gmail.com wrote:
Hi Kaloer,
The procedure
yes, For sure.
the raw folder has a limit to the amount of data that it can hold.
It cant hold large data files.
Regards,
Yousuf.
On Tue, Dec 15, 2009 at 1:58 PM, kaloer mkal...@gmail.com wrote:
Hi again,
I've just tried putting a simple file with the Hello, world text
into the raw
Oh okay.. But how can I use it them? Do I need to download it from a
server or so? I have tried putting it into the assets folder but this
seems to have the same limit.
On 15 Dec., 20:04, Yousuf Syed yousuf.syed@gmail.com wrote:
yes, For sure.
the raw folder has a limit to the amount of
Hi,
Write another supporting application to download them and save it to the
location used in your main application. then install the main applicaiton.
This should do. but I have not worked on downloading files from server. So
cant help you in this regard. Sorry for that.
Regards,
Yousuf.
On
Thank you very much for your help!
No problem, I know how to do this.
Best regards,
Kaloer
On 15 Dec., 20:22, Yousuf Syed yousuf.syed@gmail.com wrote:
Hi,
Write another supporting application to download them and save it to the
location used in your main application. then install the
Hey can you help me with that.
I am in the middle of developing a video dictionary. the main application is
complete. I am working on the support application for downloading files form
the server.
can you help me with sample code or useful hints in downloading the files.
Thanks in advance.
I am confused in camera application what is use of DPAD_CENTER
public boolean onKeyDown(int keyCode, KeyEvent event)
{
ImageCaptureCallback iccb = null;
if(keyCode == KeyEvent.KEYCODE_DPAD_CENTER) {
try {
String filename = timeStampFormat.format(new Date());
ContentValues values = new
I believe that would be clicking of a trackball on devices with a trackball
or the middle button on devices with a d-pad (directional buttons plus
center button).
--
There are only 10 types of people in the world...
Those who
@afarrell: I agree - thanks for posting this explanation. I was
running through O'Reilly's Android Application Development book and
had tried a couple different versions of Eclipse, with no luck.
Finally I found this post and followed your explanations. The install
process took a while, but
Any android phone users? just thinking this article might be helpful
http://www.all-media-converter.com/knowledge/transfer-itunes-amazon-music-video-dvd-movie-to-motorola-droid-cliq-rival.html#136
--
You received this message because you are subscribed to the Google
Groups Android Beginners
I own a mytouch 3g and have recently rooted my phone. Today I decided
I wanted to partition my SD card and wanted to do it using the adb
feature. I downloaded Android SDK and moved its contents to my C drive
under a folder named android. I created a path named C:/android/tools.
I connected my
Hello,
I am looking to create views containing checkboxes, input fields and
various toggles based on a database schema that I have little control
over. I have gone through the menus example from the API Demos and
it is very close to what I'd like to do, however I am hesitant to
subscribe to the
msysGit is a good option in Windows. I've used it a few times for
cloning things off GitHub.
Here is a tutorial on the setup:
http://github.com/guides/using-git-and-github-for-the-windows-for-newbies
Hope that helps,
adam
On Dec 13, 11:41 am, SandVoiD mitchell.ros...@gmail.com wrote:
Could
Hi,
I'm new to Android.
I'm trying to complie the Home sample, using MotoDev Studio for
Android and SDK 1.5
I have copied the source of that sample, but it failed every time
R.id. in use (R.id.faver_andrecents).
How it can solved?
Thanks and nice to meet,
Eyal.
--
You received this message
Hey, Jason, I found the same problem. Do you think it's a problem from
the latest versions of the SDK?
In the meantime, I've headed to this website (http://www.anddev.org/
viewforum.php?f=8) for additional tutorials.
--
You received this message because you are subscribed to the Google
Groups
Hi folks,
I am working on mouse cursor patch to see mouse cursor on Android
emulator. In STFW, i got few hits like
http://code.google.com/p/patch-hosting-for-android-x86-support/downloads/list?can=2q=mousecolspec=Filename+Summary+Uploaded+Size+DownloadCount.
I applied recommended patches from the
Thanks to all,
Now i have issue same as Denis.
As i have made one application for displaying maps.
It was running fine for first 2 to 3 times then encounter same problem
as Danish.
I have set all the permission of ACCESS_COARSE_LOCATION, INTERNET and
as all of you told and also uses-library
Hi,
I have set all the permissions and also google library as all of you
said.
When i have started it working fine but after 3 to 4 times it shows me
grids same as Denis.
I have not change any settings or not the keystore file.
What will be the problem?
Thanks in Advance
On Dec 14, 3:04 am,
Hi, all
I've read the android document and it say that manifest's
android:versionName can be set with string reference. but when I set
it as following:
android:versionName=@string/version
and in strings.xml I wrote:
string name=version1.2.7/string
and try to read it by code:
hi manigault
android does come with an unofficial JDBC driver,
please see
http://groups.google.com/group/android-developers/browse_thread/thread/cf3dea94d2f6243c#
Kris
On Nov 12, 7:15 pm, manigault manig...@gmail.com wrote:
Hi,
can i open connection tosqlitedatabase usingJDBCand use all the
After taking a photo with:
Camera.takePicture(...);
the live preview begun with:
Camera.startPreview();
is replaced with a preview image of the snapshot just taken.
Currently I'm halting the camera preview and restarting it again after
the snapshot preview is brought up on screen with:
Hi,
I am trying to write a small game application in Android.
Following error is seen when I try to do showDialog().
When I launch the emulator and start the game the first time it works
fine. Then, the second time, it fails with the error. And 3rd, 5th,
7th time it works fine. Whereas it fails
I am an engineer for a small IT consulting company. we have a work
order form that we email to a distribution group and the client. how
would I go about doing this on our moto driod phone? i downloaded the
sdk and have little programming but willing to learn. I have done
access database and
msysGit for Windows works pretty well.
Here is a good setup tutorial.
http://github.com/guides/using-git-and-github-for-the-windows-for-newbies
-adam
On Dec 13, 11:41 am, SandVoiD mitchell.ros...@gmail.com wrote:
Could someone please tell me how I can get a copy of theemailclient
for a
I am having the same problem. I have T-Mobile Pulse device, drivers
are installed, but ADB can not see it when it is connected.
Has anyone been able to solve this?
On Oct 18, 9:02 am, Joshua Schwartz joshuaaschwa...@googlemail.com
wrote:
I have just bought a t-mobilepulse, and am having a few
I'm learning Android quickly but I'm still very much a newbie. Once
I'm up to speed, I have a project in mind that I'd like to try with my
new Droid. I want to interface it with a robot.
I'm brand new to Android development, though I've been doing
electronics for some time now. One of the
I am creating a simple little pong style game, so far the the code
setup is based off of the lunar lander code...that is to say the
canvas drawing is done in a seperate thread. I created a simple simple
simple class within the cavas drawing thread:
public class anim_helper{
Hey all,
I have done a little searching about the capabilities of the audio in
Android. I have a love for iPhone music apps like BeatMaker, iDrum, and
more. I would love to work on something like this, but I fear from what I've
read even in Android 2.0 there is nowhere near the capabilities on
Check out this link
http://www.anddev.org/how_to_send_sms-t552.html
Its what I used to write my first SMS program.
On Fri, Dec 11, 2009 at 4:15 PM, jmccarthy jmccarth...@gmail.com wrote:
There are a couple things I'm not sure how to do.
1. How can I read incoming or recieved SMS
Hi, when I try to run adb shell, I get permitted denied.
On Dec 14, 5:30 pm, Jeffrey Blattman jeffrey.blatt...@gmail.com
wrote:
do you have /system mounted read /
write?http://android-tricks.blogspot.com/2009/01/mount-filesystem-read-writ...
On 12/10/09 7:30 PM, me,Ramesh Yankati wrote:
Hi
I have an engine type application written in portable C++ that I would
like to port to Android and then add a UI to interact with it.
Every book I've looked at on amazon relating to Android development
just concentrates on writing Apps using Java.
And I can find books elsewhere about Linux 2.6
I'm getting the same issue. I've read, in several places, to keep the
emulator running (which is good because the emulator takes FOREVER to
start up). It's a pain when I want to check a small code change
Any thoughts?
On Nov 1, 11:34 pm, kk_Kiran simplyurki...@gmail.com wrote:
Hi,
Can
Dear Android Beginners Group,
I am also wondering if it's possible to get a result from the dialer.
It seems that when you press the hangup button, the phone locks.
There's an issue about it here:
http://code.google.com/p/android/issues/detail?id=3455#c4
I'm using this code
Monday - December 14th, 2009 Oklahoma
Hello everyone,
I have a calculator type app that I've developed in Delphi. I want to
make an Android app out of it but I've never programmed in Java. I
installed Eclipse, got the Android plug-in, the SDK and all that. I've
also set-up my AVD in Eclipse and
hi,
I had 2 activity (called androidGallery and HelloAndroid). i try to
call helloAndroid from the androidGallery when user click on the
button. basically, androidGallery is just to get the onclick event.
The helloAndroid activity will set the text of a textview. however, i
cant get it working.
Anybody have any ideas on this?
All I'm asking is how is one supposed to find this documentation in the
SDK Docs?
Thanks,
Joe
On Thu, Dec 10, 2009 at 11:37 AM, Joe Mihalich jmihal...@gmail.com wrote:
Hi,
This has been killing me. I finally found examples around the
net
hi xavier,
give me the suggestions to a beginner in android
development.
--
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 this group,
Hi there.
--
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 this group, send email to
android-beginners+unsubscr...@googlegroups.com
For more
Sorry if the answer is simple, but I'm new at this.
What are ADP1, ADP2 and ADP.
I'm not developing, I need to run adb push in order to get the google
voice search working.
On Dec 12, 1:01 am, Ryan Beesley ryan.bees...@swypeinc.com wrote:
You need a non-retail device for something like that.
Actually, I think what I meant to ask was: how to I get the dialer to
go to a different activity once the user hangs up? I'm now using
ACTION_CALL rather than ACTION_DIAL and now the dialer immediately
gets started, but, it seems that once the dialer starts, the code
continues running as seen by
Problem solved. Changing from https to http in settings fixed this
problem.
On Dec 9, 8:20 pm, Rick Jones fjjone...@gmail.com wrote:
I have successfully installed and am using sdk API's 2-5 and google
api level 5 from within eclipse. However, I am unable to install
other updates (such as API
hi,,, i' need some simple code to stream my radio
station ...vulive.co.uk
--
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 this group, send email to
Hi,
I am facing problem while launching the emulator from command line.
When i run following command:
~/Android/SDK/android-sdk-linux_86/tools/emulator -system ~/Android/
Code/out/target/product/generic/system.img -kernel ~/Android/Code/
prebuilt/android-arm/kernel/kernel-qemu -data
The directional keypad on the physical keyboard.
Center = the center button.
On Dec 15, 12:38 pm, saurabh sinha saurso...@gmail.com wrote:
I am confused in camera application what is use of DPAD_CENTER
public boolean onKeyDown(int keyCode, KeyEvent event)
{
ImageCaptureCallback iccb =
Hi All,
Can you please provide a code snippet on how develop dictionay in
android.
Is arabic to english and vice-versa is possible in Android.
If So how??
Thanks in Advance
Kumar
--
You received this message because you are subscribed to the Google
Groups Android Beginners group.
To post to
Dear Friends,
I want to ask if there is some way to make a C#.Net program work on
android devices. My C# program uses USB port and SQL server 2005
database. This is running perfect on windows envoironment. I want to
know if there is the way to use the code of C#.NET in Android OS.
I am new here
Hi all,
I just start android app development few days ago since im quite
excited with the google map. But i find problem finding the map api
key for using it in my app. As i know, i need to register the MD5
fingerprint from debug.keystore. However, i have no clue of finding
this file in my
Is it possible to make a call from an application and as soon as the
user hangs up, go directly back to wherever the user was in the
application without viewing any of the call screens that show when you
hang up?
--
You received this message because you are subscribed to the Google
Groups
I'm using Eclipse as my IDE and I can start the emulator and test code
without issue (although it takes FOREVER to start up). I've read that
I should keep the emulator running and retest code changes but, when I
try, I get the following error:
Emulator]emulator: ERROR: the user data image is used
Hi group,
I have an idea, and I was wondering if it was possible to see what
phone numbers are around a single phone.
For example, if I am a Motorola Droid, and there is a Motorola Droid 2
feet away from me, I want to be able to see what phone number that
Droid has.
Anyone have any ideas, or
Hi,
I want to call one web services made in .Net.
I want to consume this server in my Android application.
The method inside Web service will accept one parameter.
I want to pass some value from my application and later want the
response that is given by
web service.
I have tried many options
It's the directional pad on the physical keyboard. Center button.
On Tue, Dec 15, 2009 at 12:38 PM, saurabh sinha saurso...@gmail.com wrote:
I am confused in camera application what is use of DPAD_CENTER
public boolean onKeyDown(int keyCode, KeyEvent event)
{
ImageCaptureCallback iccb =
Hi,
I've just installed eclipse and the android SDK as instructed in the
developers guide.
When running the 'Hello Android' application I get the following
error:
[2009-12-15 13:15:51 - HelloAndroid]--
[2009-12-15 13:15:51 - HelloAndroid]Android Launch!
[2009-12-15
I'm more of a hardware guy myself so I'm familiar with C/C++, but have
no Java or XML experience to speak of. I picked up the O'Reilly book
on Android development and so far it's been great. I had some issues
getting Eclipse to work, but then I can't remember a time when setting
up Eclipse was
Greetings! I have searched this group, read the Common Tasks FAQ,
searched elsewhere, to no avail. Here's what I've got working so far.
Pardon the obvious lack of refactoring. Right now I'm in the make it
work phase of things (vs. make it right and make it fast grin):
For starters, we have a
Hi,
I am trying to write a small game application in Android.
Following error is seen when I try to do showDialog().
When I launch the emulator and start the game the first time it works
fine. Then, the second time, it fails with the error. And 3rd, 5th,
7th time it works fine. Whereas it fails
Hi Ryan,
Thanks, I found a page with online guides on how to root my Pulse:
http://android.modaco.com/content/t-mobile-pulse-pulse-modaco-com/294178/11-12-1-4-rooting-the-pulse-introducing-superboot/
Now I have to work :), but I'll try it this days and write a feedback.
Best Regards,
Zlatko
more than the icon missing , what is concerning is that Geopoint is not
showing the correct location. I know it is Tulsa bcoz i can see the
map/street view.
thanks. any pointers will help.
On Dec 10, 2009 1:05 AM, TreKing treking...@gmail.com wrote:
If the icon is missing how do you know it's
I am working with the zxing intent. I have this much working but I
want to be able to split the string into an array and then a key =
var relationship to enter into text fields. for example I have the
following returned:
Name:Matthew Pickachue;Address:111 Wish I knew java and android
better,
Currently, no. There is no way to get .Net code to run on Android, other
than a web application.
Ryan
On Tue, Dec 15, 2009 at 11:46 AM, J Imran muhammad.imr...@gmail.com wrote:
Dear Friends,
I want to ask if there is some way to make a C#.Net program work on
android devices. My C# program
ADP1 and ADP2 are the Android Dev Phones. You can see more about them here:
http://android.brightstarcorp.com/index.htm
If you are going to be doing development work, these are the reference devices
to use.
/Ryan
-Original Message-
From: android-beginners@googlegroups.com
Check your code for context and change getApplicationContext(); to this
I Guess your context assignment is
Context context = getApplicationContext(); // this give you the
bad token error.
change it to:
*Context context = this;* // this assignment will remove your bad
token
It definitely can be a little maddening, because a lot of them are
out-of-date and/or do not show all the classes that you need to import.
If you are using Eclipse you should be able to get around problems caused by
not importing everything by pressing Ctrl+Shift+O... It will automatically
add
First, I would start by learning Java (not the GUI stuff though). Then look
at the tutorials found in the Dev Guide. When I build my first app, I
started with the Hello World tutorial and then just added onto it from other
tutorials...
If you are using Eclipse you can do this quickly with the Ctrl+Shift+O
shortcut... It will automatically add missing imports and remove those you
don't need.
--
There are only 10 types of people in the world...
Those who know
A couple things:
First, look at the logcat info... it will give more detailed information
about what is going wrong and you might be able to figure it out.
Second, please provide samples of how you are using the anim_helper class...
You gave us the class you are using but not the code used to
I too was pretty Happy with O'Reilly's book until it was time to
import MJAndroid. Following the Authors notes in the Errata section
still was no help.
Hello Android Version 2 is good, but imo your best option is:
The Busy Coder's Guide to ANDROID development go to www.commonsware.com/android
Do this
Intent myIntent = new Intent(androidGallery.this, helloAndroid.class);
startActivity(myIntent);
On Mon, Dec 14, 2009 at 3:56 AM, Lynn Ooi lynnooi@gmail.com wrote:
hi,
I had 2 activity (called androidGallery and HelloAndroid). i try to
call helloAndroid from the androidGallery
Sorry to bump this, but I'm wondering if anyone saw the email.
On Fri, Dec 11, 2009 at 2:05 PM, Adam Olsen arol...@gmail.com wrote:
Take, for example, the built in Alarm application. You are able to
set multiple alarms in it, and the phone will wake up for each of them
to alert you.
In a
* Do this*
* Intent myIntent = new Intent(androidGallery.this, helloAndroid.class);
*
* startActivity(myIntent);*
I may be wrong but I think that your suggestion and the method already being
used are logically equivalent.
If just using startActivity without qualifiers doesn't work:
Force close
Thanks for all your help I will read tutorial and hopefully figure it
out.
On Dec 14, 10:27 am, adam.mokan amo...@gmail.com wrote:
msysGit for Windows works pretty well.
Here is a good setup tutorial.
http://github.com/guides/using-git-and-github-for-the-windows-for-new...
-adam
On Dec
On Dec 14, 11:42 am, Martin Hardman martin.hard...@mobidia.com
wrote:
Is there somewhere that describes how to add services in the kernel
and make them available to the Java layer for apps to use?
Search for information about the Android NDK (native development
kit).
You can post questions to
Unplug your phone from your PC. Next, make sure that the device has debugging
over USB enabled. If it does, grab USBDeview from NirSoft and use it to
uninstall anything that looks like it could be related to your phone, maybe it
says ADB or Android. Then plug your phone back in, when
I have experience with windowsXP when you want to
'savesettings'/'getsettings' using the windows registry, my question
is what would be the BEST way if you would wanted to:
A) save the user input(what was entered)
B) quit the app
C) restart the app
E) AND THEN RETRIEVE THOSE SETTING ?
Thanks
Just out of curiosity, have you even looked over the Dev Guide?
Either an SQLite database or Shared Preferences...
http://developer.android.com/guide/topics/data/data-storage.html
--
There are only 10 types of people in the
ACTION_DIAL works fine and without any changes to the permissions.
thanks a lot
--aj
On Dec 15, 6:40 am, Sean Hodges seanhodge...@googlemail.com wrote:
Nithin is right, you need to add the following permission to your
AndroidManifest.xml, if it's not there already:
uses-permission
somebody tell me
public void onKey(int x,KeyEvent e)
{
if(x==KeyEvent.keycode_dpad_center)
HERE which key is press for keycode_dpad_center
deepak tell me which key is pressed for keycode_dpad_center
--
You received this message because you are subscribed to the Google
Groups Android
This exact same question was asked earlier today Do a search on the
group and you will get the answer.
--
There are only 10 types of people in the world...
Those who know binary and those who don't.
87 matches
Mail list logo