[android-beginners] What are the concepts are need to develop an application

2009-07-02 Thread Siva
Hi im new for this , pls help me what are concepts must needed to developing of an android application. It may be client-server applications or any please help me. Thanks siva --~--~-~--~~~---~--~~ You received this message because you are subscribed to the

[android-beginners] Re: What are the concepts are need to develop an application

2009-07-02 Thread Naveen Krishna Ch
2009/7/2 Siva siva...@gmail.com Hi im new for this , pls help me what are concepts must needed to developing of an android application. It may be client-server applications or any please help me. Go through the ApiDemos, PlatformLibrary apks in the sdk. Look for detailed documentation on

[android-beginners] Re: Is the emulator good enough for production?

2009-07-02 Thread Carl
Thanks everyone for your good advice. I think I'll wait until I have a device. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Beginners group. To post to this group, send email to

Re: Fwd: [android-beginners] Alarm Manager

2009-07-02 Thread Beth
I hit this issue hard and found the answers sorting through threads on the non-beginner developer group. Here is what I learned... When setting more than one timer/alarm, the second parameter in the Pending Intent call to getBroadcast is important. Your code looks like this: PendingIntent

[android-beginners] World Bestest Hotel

2009-07-02 Thread The Latest computer Free At your home
Just Visit the Web site and click the category below and then get the one month Hotel Stay free with Visa and Ticket Just for One click On any category ''Flora Apartments Dubai'' ''Dublin 30€ per night'' ''Find Low Hotel Prices'' ''Jobs In Dubai'' ''Hotel Apartments in MK'' ''Part Time Online

[android-beginners] Keypad issue

2009-07-02 Thread Chitra
Hi All, I am facing problem with the soft keypad. Initially I booted Android in portrait mode in which the keys appeared to be crammed and not working properly, so I switch to landscape mode, now the keypad works but the keys appear to be misplaced slightly. The letter Q does not work at all.

[android-beginners] Re: Hello World - Can't 'run' android applications in Eclipse

2009-07-02 Thread d3ngar
It's all good thanks for the reply though... It turns out I was doing everything correctly, but it just takes ages for the Android virtual machine to start up... Also, sometimes the virtual machine doesn't start up properly and I have to re-run the application. Thanks, Chris On Jul 1, 2:48 

[android-beginners] Re: Is the emulator good enough for production?

2009-07-02 Thread David Turner
You should definitely try to test on a real device before that. The emulator will never give you more than an approximate experience with regards to physical user experience (e.g. touch screen, track ball, keyboard, etc...) On Thu, Jul 2, 2009 at 6:41 AM, ayush ayushv2...@gmail.com wrote: a

[android-beginners] Re: creating an avd

2009-07-02 Thread David Turner
The command tries to create the file C:\Documents and Settings\Sam\.android\avd\helloIan.ini which contains the AVD's configuration. The error reported is a bit strange but could be implied by the fact that the directory .android or .android\avd could not be created in your HOME directory (which

[android-beginners] Re: How to install and run applications from within another application?

2009-07-02 Thread calleandersson
I have been testing with the 'file://' prefix and got the following results: When saving an .apk file in the private directory of my application and trying to invoke the system installation UI, an parse error occured due to permission issues: 07-02 07:15:27.826: WARN/zipro(726): Unable to open

[android-beginners] Re: How to install and run applications from within another application?

2009-07-02 Thread David Turner
On Wed, Jul 1, 2009 at 6:22 PM, calleandersson calleanders...@hotmail.comwrote: Is there somehow possible to simulate that an application has system rights in the Emulator? No, and very intentionally. --~--~-~--~~~---~--~~ You received this message

Re: Fwd: [android-beginners] Alarm Manager

2009-07-02 Thread Veroland
Thanks, I saw in the documentation that it was not used but tried to set the request code to my alarm's corresponding db entity's id and it looks like its working. I only tried that this morning for the first time. Thanks for the help On Jul 2, 8:42 am, Beth emez...@gmail.com wrote: I hit this

[android-beginners] Re: more experimenting, new view

2009-07-02 Thread Michael Dorin
Redid everything from scratch. Still a blank, dark dark screen. (Except for the hello, Webview on the top) I would really appreciate any ideas. Code is below. Thank you. -Mike package com.example.hellowebview; import android.app.Activity; import android.os.Bundle; import

[android-beginners] Re: more experimenting, new view

2009-07-02 Thread Mark Murphy
Redid everything from scratch. Still a blank, dark dark screen. (Except for the hello, Webview on the top) I would really appreciate any ideas. Does the built-in Browser application work? If not, your emulator probably is having networking woe. -- Mark Murphy (a Commons Guy)

[android-beginners] Re: more experimenting, new view

2009-07-02 Thread Michael Dorin
Yes, built in browser works fine. Did I mess up the manifest? (See below) -Mike ?xml version=1.0 encoding=utf-8? manifest xmlns:android=http://schemas.android.com/apk/res/android; package=com.example.hellowebview android:versionCode=1 android:versionName=1.0 uses-permission

[android-beginners] Re: more experimenting, new view

2009-07-02 Thread Mark Murphy
Yes, built in browser works fine. Did I mess up the manifest? (See below) Not in an obvious way. I'm a lousy code reviewer, though. I would try to find some complete code that works and start from there. Hello, WebView is nice, but without actual files implementing the answer, it is difficult

[android-beginners] Re: How to test Sipdroid using an emulator?

2009-07-02 Thread Personality
Thank you for that response. That worked perfectly. It was my ignorance of how Eclipse works that was a problem. 2009/6/28 Jack Ha jack...@t-mobile.com Assuming you've already downloaded the SipDroid source (not apk). http://code.google.com/p/sipdroid/source/checkout In Eclipse,

[android-beginners] Re: SDK USB driver for Vista SP1 won't install - Solution?

2009-07-02 Thread schwiz
worked fine for me, although i was using 64 bit. go into device manager with your phone connected select the phone and say install driver. Then find your driver in the sdk folder. On Jul 2, 8:32 am, Wayne Wenthin wa...@fuligin.com wrote: This may help.

[android-beginners] Activity / Screen rotation relationship

2009-07-02 Thread csyperski
I have a very simple app activity within an app where there is a single Buttton and an Edit Text used for a user to enter a pin code. Here is my issue, everything works great if the app is kept in portrait mode, but if the screen is rotated to landscape mode it seems like another instance of the

[android-beginners] Re: How to test Sipdroid using an emulator?

2009-07-02 Thread Andrew Burgess
Eclipse can debug an Android project on both an emulator and device. You can't though for an APK, but for a source project, that comes with the plugin On Sat, Jun 27, 2009 at 10:11 PM, Tony Su ton...@su-networking.com wrote: I'm interested in this as well... At least with my experience with

[android-beginners] XML Layout Language

2009-07-02 Thread Mitch
I'm still confused by the XML Layout syntax/semantics. I've asked before but never got a good response. Does anyone know where the specification for the XML Layout exists? I'd like some simple examples, but not like the ones on the android site. They are too dismissive of the specifics of

[android-beginners] Re: XML Layout Language

2009-07-02 Thread Mark Murphy
I'm still confused by the XML Layout syntax/semantics. I've asked before but never got a good response. Does anyone know where the specification for the XML Layout exists? There is no specification per se. Each widget documents its attributes as part of its Javadocs. However, since you can

[android-beginners] Displaying Web Content Using Java Android Application

2009-07-02 Thread Persona
Can someone help? I have looked at this problem and most solutions use servlets, etc. Can someone show me a straightforward way using Java and XML? What I want to learn is how the web content is called, how the connection is handled, and how the content is displayed. Thanks.

[android-beginners] Re: XML Layout Language

2009-07-02 Thread Romain Guy
The closest thing to a DTD is the following: http://android.git.kernel.org/?p=platform/frameworks/base.git;a=blob;f=core/res/res/values/attrs.xml;h=bcd12388157843f6022294a92548d3b2b87a4d13;hb=master On Thu, Jul 2, 2009 at 8:35 AM, Mark Murphymmur...@commonsware.com wrote: I'm still confused by

[android-beginners] Re: Displaying Web Content Using Java Android Application

2009-07-02 Thread Mehdi Achour
Hello, Check the Panoramio application : http://code.google.com/p/apps-for-android/source/browse/trunk/Panoramio/ Bests, Mehdi On Thu, Jul 2, 2009 at 6:39 PM, Persona mr.pers...@gmail.com wrote: Can someone help? I have looked at this problem and most solutions use servlets, etc. Can

[android-beginners] Re: more experimenting, new view

2009-07-02 Thread Michael Dorin
Mark, Thank you for the tip. I got WebViewDemo going...but not being content as to why that works and why mine didn't I dug a bit more. If anybody is interested...I changed the layout (see below for original) wrap_contents to fill_parent, as was done in the WevViewDemo. That works. If

[android-beginners] Re: Activity / Screen rotation relationship

2009-07-02 Thread Jack Ha
When you switch from portrait to landscape mode or vice-versa, your activity's onDestroy() and onCreate() will be called. -- 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

[android-beginners] Re: creating an avd

2009-07-02 Thread ain
Well i discovered what the issue was that prevent eclipse from creating the workspace folders and android SDK from creating the avd. well all these folders were under C:\Documents and Settings\Sam\ and apparently I did not have permission to change anything in the folders, i could create folders

[android-beginners] Loading Acitvity

2009-07-02 Thread Victor Pantoja
Hi I'm trying to create an activity whose purpose is to show some advertisements for a while and then go to another activity, which is a simple menu. The menu activity is already done. What about de first one? Have you guys developed something like that before? It's a kind of loading activity.

[android-beginners] Re: how to create AndroidManifest.xml

2009-07-02 Thread Kenny
?xml version=1.0 encoding=utf-8? manifest xmlns:android=http://schemas.android.com/apk/res/android; package=com.example android:versionCode=1 android:versionName=1.0 application android:icon=@drawable/icon android:label=@string/ app_name activity android:name=.test

[android-beginners] DialerFilter

2009-07-02 Thread BRitchie
Hello all, I am trying to play around with the DialerFilter layout. But I keep getting an IllegalStateException, it is complaining of an EditText child not being named hint. This is the layout code I am using, any suggestions would be welcome. DialerFilter

[android-beginners] Hello world help

2009-07-02 Thread Sonic
Hi, new to Android development, I have sucessfully installed java sdk, eclipse, android sdk etc and all environment variables in XP. Although, when I come to deploy my hello world app either onto a device or emulator all as i get is the following message saying that it has been sucessfully

[android-beginners] Re: G1 Disability Accessibility

2009-07-02 Thread Vytautas Vaitukaitis
Check out the talk of these two guys at Google I/O 2009: http://code.google.com/intl/lt/events/io/sessions/LookingBeyondScreenTextSpeechAndroid.html It discusses what's being done with TTS and eyes-free interaction on Android. Vytautas On 26 Bir, 21:58, mrgushi mrgu...@gmail.com wrote: Need

[android-beginners] Re: creating an avd

2009-07-02 Thread zoerb
You can actually use the Android Virtual Device Manager from Eclipse if you have the android plugin installed. Just go to Window - Android AVD Manager. Or, click on the icon that looks like a phone in the toolbar. From there you can create AVD's. On Jun 30, 3:56 pm, Paul Turchenko

[android-beginners] Slideshow with fading in pictures

2009-07-02 Thread Robi
Hey folks, I'm doing Android since 3 weeks and I really like it, everything was fine but now I really need help. I do a simple slideshow app, I got my pictures in an array (not really array but that doesn't matter now), and I'd like to use transition effect to slide in the next picture. OK, so

[android-beginners] OnItemClickListener not working with Custom ListAdapter

2009-07-02 Thread Hidayath
Hi all, I have... public class SomeAdapter extends BaseAdapter{ ... } In an Activity(not ListActivity), I have a ListView ListView myListView = (ListView) findViewById(R.id.list); myListView.setAdapter(new SomAdapter(...)); myListView.setOnItemClickListener(new OnItemClickListener(){ public

[android-beginners] Flurry Mobile Application Analytics - Industry Pulse, June 2009

2009-07-02 Thread Peter Farago
Hi everyone, Sharing some android app usage stats with you that we've rolled up from our analytics service. We've just published our monthly Pulse for June. In particular, I think it has great stats on Android vs. iPhone application usage and retention, among other things that you may find

[android-beginners] Can we use gcc for compilation in emulator

2009-07-02 Thread ani
Which all compilers are supported in emulator?Actualy i have created native library in .c file and created .so file using gcc and when i am trying to load this .so file in my java file i am getting unable to load .so not found library problem(i have placed .so file in system/ lib using push

[android-beginners] Cache

2009-07-02 Thread Danesh Mondegarian
hey how would u implement CLEAR_APP_CACHE into a program so it clears the cache. ? --~--~-~--~~~---~--~~ 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] ImageView object - How to display image dynamically?

2009-07-02 Thread Meng Meng
Hi, I am trying to use ImageView object and dynamically display the image based on what was returned from the selected item. However this code is not working. It is not able to change the default image to image cabA in the ImageView object when cab_str equal to CabA. Can anyone advise me on how

[android-beginners] Open source or not

2009-07-02 Thread twistadias
Me and a few of my mates from uni want to start on building and selling some android apps. The problem is one of us is really keen to make the whole thing open source. If we do go ahead and make it open, wont anyone be able to download the source and run it on their phone instead of purchasing

[android-beginners] Need help selecting ringtones from a Spinner

2009-07-02 Thread John Reese
Hi all, I apologize if this has been covered somewhere already, but after looking through all the SDK documentation, searching google (and the Android groups), and fruitless requests on #android, I'm stuck asking for help on this list. In my application, I'm sending notifications to the user,

[android-beginners] adb is not detecting my new android phone

2009-07-02 Thread N3vik
Hi I have two G1 phone's, the first one got wet and no longer gets a signal so I had to buy another :( My problem is adb does not detect my new phone :( It can detect my old phone ok, but not the new one. Running adb devices with my old phone connected shows my old phone, but with my new

[android-beginners] Equivalent of Custom JAD property in Android?

2009-07-02 Thread Chris N
Hello, I'm trying to figure out if there is an equivalent feature as the custom JAD property in J2ME. Basically, I would like to pass arguments/ properties to an Application that are not hard-coded in the apk file. The Preferences storage seems like the place to store these properties. But I

[android-beginners] Re: Help needed in error!!

2009-07-02 Thread Mark Murphy
randheersingh wrote: Hi, I am just trying to run the relative example given in the sample code of Google documentation of android. Its just ran. But when I added the background property of relative layout an error is coming. I am giving the code of XML file here and the error. Please tell me

[android-beginners] Problems with android.graphics.camera

2009-07-02 Thread zoerb
I'm trying to use the android.graphics.camera package to do a 3d rotation (about the y-axis) of a playing card on a canvas. Here is the code that does the transformation: camera.save(); camera.rotateY(rotate); rotate += .5f; camera.getMatrix(m); camera.restore();

[android-beginners] Shortcuts

2009-07-02 Thread Danesh Mondegarian
Hey how would yo make ur program go directly to somewhere in the system lets say settings/applications/manage applications ? --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Beginners group. To post to this

[android-beginners] Re: Loading Acitvity

2009-07-02 Thread schwiz
from a user standpoint that sounds really annoying and people are going to hate your app, although it is a neat idea. On Jul 1, 1:01 pm, Victor Pantoja victor.pant...@gmail.com wrote: Hi I'm trying to create an activity whose purpose is to show some advertisements for a while and then go to

[android-beginners] Re: Hello world help

2009-07-02 Thread Roman
I assume that your application is not successfully installed. You can verify with DDMS FileExplorer whether your application is correctly installed. It should be in folder /data/app. Have you already tried to use the adb install command instead of Eclipse install? That's what you should see

[android-beginners] Exception while calling setAdapter on Spinner

2009-07-02 Thread jstoezel
Hi, I'm getting a runtime exception when calling the last line of the following code: Spinner s = (Spinner) findViewById(R.id.samplingTimeSpinner); ArrayAdapter adapter = ArrayAdapter.createFromResource(this, R.array.samplingRate, android.R.layout.simple_spinner_item);

[android-beginners] Re: Exception while calling setAdapter on Spinner

2009-07-02 Thread Jean-Sebastien Stoezel
Thanks for the quick reply. Switching to lower case did not fix the issue. Logcat does not show an exception... Am I suppose to enable the logging of exceptions? The debugger window shows: Thread[3 main] (Suspended (exception RuntimeException)) ZygoteInit$MethodAndArgsCaller.run() line: 788

[android-beginners] Re: Exception while calling setAdapter on Spinner

2009-07-02 Thread Mark Murphy
Jean-Sebastien Stoezel wrote: Logcat does not show an exception... Am I suppose to enable the logging of exceptions? No, but if you have breakpoints or something going in Eclipse, they can interfere with logcat getting the stack trace. Try letting it run to the force-close dialog and see if

[android-beginners] Re: Need help selecting ringtones from a Spinner

2009-07-02 Thread iPaul Pro
The easiest way I know how to do this involves extending PreferenceActivity to load preferences from a xml file by calling addPreferencesFromResource(R.xml.preferences); The preferences.xml entry should be something like: RingtonePreference android:key=ringtone

[android-beginners] Re: Exception while calling setAdapter on Spinner

2009-07-02 Thread Jean-Sebastien Stoezel
Hum... It looks like it generated an exception because the spinner I was trying to display was not in the current view displayed. Thanks for your help Mark. Jean On 2-Jul-09, at 7:27 PM, Mark Murphy wrote: Jean-Sebastien Stoezel wrote: Logcat does not show an exception... Am I suppose

[android-beginners] CheckBox enabled/disabled reality check

2009-07-02 Thread Beth Mezias
Hello, I want to switch a button out of my UI in favor of a CheckBox object. However, the enable = false parameter in my layout does not seem to have any effect on a CheckBox! My plan is to code the CheckBox to be enabled when certain other objects are valid. With a button object, the grayness

[android-beginners] Re: Displaying Web Content Using Java Android Application

2009-07-02 Thread Personality
Thank you. That is quite helpful. It is not very specific- but I think it can be adapted to my needs. Cheers. On Thu, Jul 2, 2009 at 6:46 PM, Mehdi Achour mach...@gmail.com wrote: Hello, Check the Panoramio application :

[android-beginners] Getting images to appear in the Gallery

2009-07-02 Thread Jonathan Daugherty
Hi all, I'm working on a program that acquires camera captures and I'd like them to appear in the Gallery. I'm storing them on the SD card alongside pictures stored by the native camera application and I've verified with adb shell that the images are physically present, but when I open the

[android-beginners] Re: CheckBox enabled/disabled reality check

2009-07-02 Thread Jack Ha
setEnabled(false) works fine for CheckBox. What version of SDK are you using? Can you post your code here? -- 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

[android-beginners] Re: Getting images to appear in the Gallery

2009-07-02 Thread Jack Ha
If your photo data is a Bitmap, you can use the following code segment to insert the photo and it should appear in the Gallery. String uriString = MediaStore.Images.Media.insertImage(getContentResolver(), photo_bitmap, title, description); Uri uri =

[android-beginners] client server communication between two computers

2009-07-02 Thread sumit
hello all , can any body give me full code of client server communication which capable to communicate between two computers in diff emulator like M1 is first machine(PC) on that E1 (emulator) is running with server and on other M2 machine(PC) on that client running on E2 (emulator) .i

[android-beginners] Brisbane HTC Dream Test Run App

2009-07-02 Thread MMC2
Is there anyone in Brisbane Australia who has a HTC Dream Android phone and would allow me to test my Apps on it please? I am nearly finished two apps and I will soon need to give them a test run on a real phone before I place them on the market.