[android-beginners] Re: How to run instrumentation?

2009-07-22 Thread Brett Chabot
I think you will need to launch it with the following command: adb shell am instrument -w / On Wed, Jul 22, 2009 at 7:24 PM, Yasser wrote: > > Hi, > > In the instrumentation class description it's given "When running with > instrumentation turned on, this class will be instantiated for you > befo

[android-beginners] Re: how to program on application(not activity) exit ?

2009-07-22 Thread Harshit Mapara
Yeah...it works.. Thanks On Jul 22, 5:55 pm, Mark Murphy wrote: > Mapara,Harshit Nitinkumar wrote: > > while app is running and user presses "home" button, what happens ? is > > application killed ? all activities are destroyed? > > None of the above. The application is still running. > > http:/

[android-beginners] Re: how to program on application(not activity) exit ?

2009-07-22 Thread Mark Murphy
Mapara,Harshit Nitinkumar wrote: > while app is running and user presses "home" button, what happens ? is > application killed ? all activities are destroyed? None of the above. The application is still running. http://developer.android.com/guide/practices/ui_guidelines/activity_task_design.html

[android-beginners] Re: how to program on application(not activity) exit ?

2009-07-22 Thread Mapara,Harshit Nitinkumar
Saving a data is not a problem...I can save it by using File input/ ouput operaions. the problem is saving a data on particular event. And that event is Application exit. while app is running and user presses "home" button, what happens ? is application killed ? all activities are destroyed? I w

[android-beginners] Re: how to program on application(not activity) exit ?

2009-07-22 Thread Balwinder Kaur (T-Mobile)
It seems to me that you may be able to do what you intend to do by using SharedPreferences http://developer.android.com/reference/android/content/SharedPreferences.html The only thing to note is that this class is not supported across multiple processes. The other advantage with using SharedPre

[android-beginners] Re: How to pass User created object between two Activity in same Application?

2009-07-22 Thread Audiodroid
Thanks guys! These two examples are exactly what I was looking for! :-) AudioDroid On Jul 15, 10:57 am, MrChaz wrote: > If your class implements Parcelable then you can use add it to the > intent that you're calling via putExtra() > e.g. > ClassA bar = new ClassA(0, "foo"); > Intent i = new Int

[android-beginners] Re: How to get the text value that has been entered in a dialog box?(AlertDialog)

2009-07-21 Thread Kacper86
Hi, These are my first steps in Android, so my solution might not be perfect, yet it works. First of all, you should create a member in AlertDialogSamples class: private int dialogSingleChoiceOption=0; //"0", because "Map" is the default choice Secondly, you have to act when somebody clic

[android-beginners] Re: how to use adb tool on SAMSUNG GALAXY?

2009-07-20 Thread Olaf Geibig
We are disussing this issues in several threads already. let's please focus and switch to the thread at the android developers froup: http://groups.google.com/group/android-developers/browse_thread/thread/726ea864e89985ec On 17 Jul., 22:41, "ludovic.perrier" wrote: > Hello > > I try to do this a

[android-beginners] Re: How to set the activity as Main ?

2009-07-18 Thread Mark Murphy
Nerj wrote: > Any One... Put that intent filter on the activity that goes in your launcher. For the time being, remove all other intent filters from all other activities. -- Mark Murphy (a Commons Guy) http://commonsware.com | http://twitter.com/commonsguy Android Training

[android-beginners] Re: How to set the activity as Main ?

2009-07-18 Thread Nerj
Any One... On Jul 15, 3:07 pm, Nerj wrote: > Thank you for ur reply, > For your kindly information, I already mention that "action" tag for > "SpinnerTest". > > Pls, suggest me > > On Jul 13, 1:30 pm, golem wrote: > > > You should also move > android:name="android.intent.action.MAIN" /> >

[android-beginners] Re: how to use adb tool on SAMSUNG GALAXY?

2009-07-17 Thread ludovic.perrier
Hello I try to do this also from france on mac regards On 14 juil, 13:11, da yang wrote: > it doesn't work. i have tried it. the devcie can be identified by > system as usb mass storage though. > > 1500 mAh on the galaxy VS 1150 mAh, and AMOLED saves more energy,  you > can judge.  it's OK for

[android-beginners] Re: How to display error messages to the user?

2009-07-17 Thread Naveen Krishna Ch
2009/7/17 Pamplemousse Mk2 > > Hello, > > I'm looking for a way to display error messages. > > When I go to the settings of the emulator, Call Settings\Network > Operators, and I click on "Search network" or "Select automatically", > the emulator displays the message "Error while searching for >

[android-beginners] Re: How to log test results in a file? - logcat error

2009-07-16 Thread Brett Chabot
On Wed, Jul 15, 2009 at 3:35 PM, Yasser wrote: > > Thanks Brett, that helped.. > > The log messages I write in the test code are not included in the > output using -r option? to get those i need to run logcat. Thats correct. > > Also is there a mechanism to send messages from the emulator to > d

[android-beginners] Re: how to separate system & custom intents

2009-07-16 Thread az9702
Mark, Action with namespace works. Thanks. Here is how the application works now. Main activity is "controlled" by SharedPreference changes: * Main activity displays a list of thingies of Type "X" * User selects the Type from a ListPreference in a PreferenceActivity with its own separate scre

[android-beginners] Re: How to run the latest version of the OS

2009-07-16 Thread Mike Lissner
OK, thanks. I've reposted this message here: http://groups.google.com/group/android-framework/browse_thread/thread/4b66d07bec8aca6a M On Jul 16, 3:15 pm, Mark Murphy wrote: > mjlissner wrote: > > Hi, I'm trying to do some work on the location framework, but I can't > > figure out how to install

[android-beginners] Re: How to run the latest version of the OS

2009-07-16 Thread Mark Murphy
mjlissner wrote: > Hi, I'm trying to do some work on the location framework, but I can't > figure out how to install and view my changes. > > I've tried looking this up, but I get the impression I don't know the > right terminology. > > Essentially, what I'd like to do is this: > 1. Download the

[android-beginners] Re: how to separate system & custom intents

2009-07-16 Thread Mark Murphy
az9702 wrote: > "user intent" in this case is an intent supplied by the application > e.g. intent created for startActivityForResult/onActivityResult. OK. > The question is prompted by this scenario: > > My "main" activity has preferences that are set by a separate > PreferenceActivity. > The l

[android-beginners] Re: how to separate system & custom intents

2009-07-16 Thread az9702
Mark, Thanks for the quick reply. "user intent" in this case is an intent supplied by the application e.g. intent created for startActivityForResult/onActivityResult. The question is prompted by this scenario: My "main" activity has preferences that are set by a separate PreferenceActivity. Th

[android-beginners] Re: how to separate system & custom intents

2009-07-16 Thread Mark Murphy
az9702 wrote: > How can I distinguish between intents supplied by Android & intents > created by my application ? Use a namespace in the action (e.g., com.commonsware.android.HEAD_FOR_THE_HILLS). Bear in mind that there are more Intent sources than merely Android and your application: -- Androi

[android-beginners] Re: How to make a Draggable Menu

2009-07-16 Thread Zedge.net Android Developer
I found out. Its simple if I use the SlidingDrawer widget On 3 Jul, 14:12, "Zedge.net Android Developer" wrote: > Hi > > Im wondering how to make a nice snappy menu like the menu on "Home".. > the one with an arrow which you can drag into the screen, presenting > all available applications. > D

[android-beginners] Re: How to kill background applications?

2009-07-15 Thread Roman
For being able to kill whatever processes you have to be root. One possible way to kill applications from Java level would be to implement a JNI interface. You would need to implement a native application which runs as root and is able to handle incoming requests. Your native JNI implementation w

[android-beginners] Re: How to log test results in a file? - logcat error

2009-07-15 Thread Yasser
Thanks Brett, that helped.. The log messages I write in the test code are not included in the output using -r option? to get those i need to run logcat. Also is there a mechanism to send messages from the emulator to desktop? -Yasser On Jul 14, 8:48 pm, Brett Chabot wrote: > If this helps, yo

[android-beginners] Re: How to set the activity as Main ?

2009-07-15 Thread Nerj
Thank you for ur reply, For your kindly information, I already mention that "action" tag for "SpinnerTest". Pls, suggest me On Jul 13, 1:30 pm, golem wrote: > You should also move android:name="android.intent.action.MAIN" /> > to the intent-filter of SpinnerTest. > > Check out how intent-f

[android-beginners] Re: How to pass User created object between two Activity in same Application?

2009-07-15 Thread MrChaz
If your class implements Parcelable then you can use add it to the intent that you're calling via putExtra() e.g. ClassA bar = new ClassA(0, "foo"); Intent i = new Intent(this, Activity.class); i.putExtra("MyClass", bar); An example of implementing Parcelable is below, Serializable also seems to

[android-beginners] Re: How to log test results in a file? - logcat error

2009-07-14 Thread Brett Chabot
If this helps, you can run the instrumentation from the command line with the "-r" option specified. ie adb shell am instrument -w -r .android.test.InstrumentationTestRunner This will output the test results in a format that is intended to be parseable. This is how the Android plugin to Eclipse r

[android-beginners] Re: How to pass User created object between two Activity in same Application?

2009-07-14 Thread Carmen Delessio
This concept comes from the book* Unlocking Android*. http://www.manning.com/ableson/ Create an object for your your application that extends the android.app.Application class *import android.app.Application; public class MyApplication extends Application { ... } * Provide access to ClassA in the

[android-beginners] Re: how to use adb tool on SAMSUNG GALAXY?

2009-07-14 Thread da yang
it doesn't work. i have tried it. the devcie can be identified by system as usb mass storage though. 1500 mAh on the galaxy VS 1150 mAh, and AMOLED saves more energy, you can judge. it's OK for using but not for development, when the adb can be used. On 7月13日, 下午11时45分, Gabriel Branch wrote:

[android-beginners] Re: how to use adb tool on SAMSUNG GALAXY?

2009-07-14 Thread da yang
it doesn't work. i have tried it. the devcie can be identified by system as usb mass storage though. 1500 mAh on the galaxy vs 1150 mAh, and AMOLED saves more energy, you can judge. it's OK for using but not for develop, when the adb can be used. On 7月13日, 下午11时45分, Gabriel Branch wrote: > Tr

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

2009-07-13 Thread QuickFix
Anyway,thers's no way to install without user interaction? I'm developing App for automatic download, install and run. Thanks, BM On Jul 13, 10:27 pm, calleandersson wrote: > Hi Justin, > > Thanks for your answers. > > I didn't realize that a file was be placed in the private directory > when u

[android-beginners] Re: How to log test results in a file? - logcat error

2009-07-13 Thread Yasser
The test results are just visible in the Eclipse IDE. Actually I need to create an automated report after the run parsing the test results. On Jul 13, 6:06 pm, Brett Chabot wrote: > Try piping the output to a file: "adb logcat > " > > But I'm curious why you need to do this rather than just usin

[android-beginners] Re: How to log test results in a file? - logcat error

2009-07-13 Thread Brett Chabot
Try piping the output to a file: "adb logcat > " But I'm curious why you need to do this rather than just using Eclipse with the Android plugins to run your tests and obtain the test results. Brett. On Mon, Jul 13, 2009 at 4:13 PM, Yasser wrote: > > I am getting log messages by logcat command b

[android-beginners] Re: How to log test results in a file? - logcat error

2009-07-13 Thread Yasser
I am getting log messages by logcat command but when I try to use "adb logcat -f ", it gives "could't open output file: read-only file system" error. On Jul 13, 2:36 pm, Yasser wrote: > I can't find the resultinglogfile, where does it get created? > > On Jul 13, 1:55 pm, Radzell wrote: > > > >

[android-beginners] Re: how to use adb tool on SAMSUNG GALAXY?

2009-07-13 Thread Gabriel Branch
Try uninstalling all of your usb devices then let the OS reinstall them all and keep the phone plugged in and debugging on while you do it. How is the battery life on that galaxy? Better than the dream? On Sun, Jul 12, 2009 at 5:24 AM, da yang wrote: > > Hi > i got this new mobilephone this wee

[android-beginners] Re: How to log test results in a file?

2009-07-13 Thread Yasser
I can't find the resulting log file, where does it get created? On Jul 13, 1:55 pm, Radzell wrote: > use the log.i() method > > On Jul 13, 4:37 pm, Yasser wrote: > > > > > Hi, > > > I am using assert methods of JUnit's Assert class on passing/failing > > of a test case. > > > How can I log thes

[android-beginners] Re: How to log test results in a file?

2009-07-13 Thread Radzell
use the log.i() method On Jul 13, 4:37 pm, Yasser wrote: > Hi, > > I am using assert methods of JUnit's Assert class on passing/failing > of a test case. > > How can I log these messages in a file on the desktop so that I can > parse them to know the test results? > > Thanks > Yasser --~--~-

[android-beginners] Re: How to get started for leaningt android ?

2009-07-13 Thread bboyes
I started with these tutorials: http://developer.android.com/guide/tutorials/hello-world.html You might want to start also with a book. I just ordered http://www.amazon.com/Professional-Android-Application-Development-Programmer/dp/0470344717/ref=sr_1_2?ie=UTF8&s=books&qid=1247448461&sr=8-2 I ha

[android-beginners] Re: How to get started for leaningt android ?

2009-07-13 Thread Gabriel Branch
I would first read everything on the google android site. Follow the directions to install your dev environment. Then ask more specific questions when you run into problems On Mon, Jul 13, 2009 at 1:33 PM, Starwalker wrote: > > Hello there, > > I am working in mobile gaming domain of a softw

[android-beginners] Re: How to set title icon on Dialog Theme

2009-07-13 Thread KRD
You probably figured this out already, but I had the same problem and posted my solution at http://www.zunisoft.com/?p=1021 Cheers! On May 31, 11:48 am, RTX wrote: > i want to set aniconon the title of thedialogtheme > i saw it on a few apps > but i dont know how to applay it to mydialog > > th

[android-beginners] Re: How to contact device with ADB from Windows NT

2009-07-13 Thread sr
I have a simple batch file to do this - c:\windows \system32\AndroidSetup.bat Since c:\windows\System32 is already in the path, it works well for me. Your mileage might vary. Just call androidsetup in any command window and we're all set. @echo off set ANDROID_SDK=c:\dev\Google\android-sdk-windo

[android-beginners] Re: How to set title icon on Dialog Theme

2009-07-13 Thread KRD
You probably figured this out already, but I had the same problem and posted my solution here: http://www.zunisoft.com/?p=1021 Cheers! On May 31, 11:48 am, RTX wrote: > i want to set aniconon the title of thedialogtheme > i saw it on a few apps > but i dont know how to applay it to mydialog > >

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

2009-07-13 Thread calleandersson
Hi Justin, Thanks for your answers. I didn't realize that a file was be placed in the private directory when using MODE_WORLD_READABLE. I've been testing using the mode you suggested and this seems to work as intended (meaning, the system install UI is invoked and the application can be installe

[android-beginners] Re: How to set the activity as Main ?

2009-07-13 Thread golem
You should also move to the intent-filter of SpinnerTest. Check out how intent-filters work at this websites: http://developer.android.com/guide/topics/fundamentals.html#ifilters http://developer.android.com/guide/topics/intents/intents-filters.html On Jul 13, 6:11 am, Nerj wrote: > Thanks for

[android-beginners] Re: How to contact device with ADB from Windows NT

2009-07-13 Thread Chenny
Thanks Yusuf! I checked your link for Environment variables in Windows NT. But I am afraid that my question is confused. Actually, I can run adb on Windows NT with emulator. I can debug and logcat with Eclipse for my Android APP. So the environment should be OK for me. My trouble is that: I ca

[android-beginners] Re: How to set the activity as Main ?

2009-07-12 Thread Nerj
Thanks for ur reply, I tried ur suggestion, even through I didn't able to launch the specified activity, see my code for manifest file (.xml) below,

[android-beginners] Re: How to set the activity as Main ?

2009-07-11 Thread Mark Murphy
Nerj wrote: > Pls, Suggest me > Its urgent, I can't get the solution... Only put the LAUNCHER intent filter in the entries in your manifest that you want to have appear as icons in the Launcher. > > On Jul 10, 4:10 pm, Nerj wrote: >> Hi! >> I am begginer of Android Development. >> I can c

[android-beginners] Re: How to set the activity as Main ?

2009-07-10 Thread Nerj
Pls, Suggest me Its urgent, I can't get the solution... On Jul 10, 4:10 pm, Nerj wrote: > 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-beginners] Re: How to install and run applications from within another application?

2009-07-10 Thread Yasser
For getLaunchIntentForPackage(), it says it is undefined for type PackageManager and hence code cannot compile? i can see the other methods when I put . after getPackageManager() except this one. Thanks Yasser On Jul 6, 10:39 am, "Justin (Google Employee)" wrote: > > > How does the process for

[android-beginners] Re: How to programatically launch an installed app?

2009-07-10 Thread Yasser
Thanks a lot Mark, that clarified my doubts. On Jul 10, 4:05 pm, Mark Murphy wrote: > Yasser wrote: > > To know the intent for an activity in order to launch it, do I need to > > have access to the app source code? > > Ideally, you have documentation telling you "hey, it is perfectly > acceptabl

[android-beginners] Re: How to programatically launch an installed app?

2009-07-10 Thread Mark Murphy
Yasser wrote: > To know the intent for an activity in order to launch it, do I need to > have access to the app source code? Ideally, you have documentation telling you "hey, it is perfectly acceptable to use this Intent to launch my application: ...". Now, you can find out possible Intents othe

[android-beginners] Re: How to programatically launch an installed app?

2009-07-10 Thread Yasser
To know the intent for an activity in order to launch it, do I need to have access to the app source code? On Jul 10, 1:23 pm, Mark Murphy wrote: > Yasser wrote: > > I want to launch/start an already installed application like > > Calculator on Android and then send some keystrokes to it. > > Y

[android-beginners] Re: How to contact device with ADB from Windows NT

2009-07-10 Thread Yusuf T. Mobile
The system requirements for the Android SDK on Windows are Windows XP (32-bit) or Vista (32- or 64-bit). But to quote Henry Ford, "Obstacles are those frightful things you see when you take your eyes off your goal." So to set ADBHOST or any environment variable on Windows NT, follow the instructio

[android-beginners] Re: How to programatically launch an installed app?

2009-07-10 Thread Mark Murphy
Yasser wrote: > I want to launch/start an already installed application like > Calculator on Android and then send some keystrokes to it. You cannot send keystrokes to other applications. > Is there a way to programatically launch an app without having access > to its code? If you can find out

[android-beginners] Re: How to prevent an app from switching the layout to landscape.

2009-07-09 Thread Alslayer
I just found the android:screenOrientation="portrait" and it works great. --~--~-~--~~~---~--~~ 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.

[android-beginners] Re: How to prevent an app from switching the layout to landscape.

2009-07-09 Thread Edo Noordhuizen
Thanks a lot guys! I was looking for a method or function while I should have been looking for a manifest.xml setting. :-O Thanks! On Wed, Jul 8, 2009 at 10:16 PM, Scott wrote: > Edo Noordhuizen wrote: >> >> Hi, >> >> I can't seem to find a way to prevent my application from switching to >> land

[android-beginners] Re: How to see paid apps in Market

2009-07-09 Thread Koala Yeung
Oh, sorry. I misunderstood your mail. I though some of paid apps are shown specially for certain region. In fact, this mean ALL paid apps are shown specially for these regions... So sad that this is true :( Koala On 7月9日, 上午1時57分, SonjaM wrote: > If you live outside of >     * Austria >     *

[android-beginners] Re: How to trace/debug two processes with Eclipse?

2009-07-09 Thread Pamplemousse Mk2
Hello, OK, I have made a mistake. I had added "android:process=":remote"" in the manifest file, for the declaration of second service binded by the first service. The second service is never created, perhaps because the two services belong to the same program and thus two processes of the same pr

[android-beginners] Re: How to trace/debug two processes with Eclipse?

2009-07-08 Thread fadden
On Jul 8, 9:06 am, Pamplemousse Mk2 wrote: > I have written a program which start a service which bind to another > service. The two services run in two processes. The problem is that > Eclipse does not stop at the breakpoints of the second service (which > does not run in the main application pr

[android-beginners] Re: How to see paid apps in Market

2009-07-08 Thread SonjaM
If you live outside of * Austria * France * Germany * Italy * Netherlands * Spain * United Kingdom * United States then you will not be able to access any paid apps yet. On Jul 8, 7:16 pm, Koala Yeung wrote: > The problem is: I can see exactly zero paid app in my

[android-beginners] Re: How to see paid apps in Market

2009-07-08 Thread Koala Yeung
The problem is: I can see exactly zero paid app in my Market. I know some games have full edition on Market, they are not shown on my phone. How can that be? Any idea? Koala On 7月8日, 下午11時22分, SonjaM wrote: > Depending on your location paid apps may not be available yet. > > http://market.andr

[android-beginners] Re: How to prevent an app from switching the layout to landscape.

2009-07-08 Thread Mark Murphy
Edo Noordhuizen wrote: > Hi, > > I can't seem to find a way to prevent my application from switching to > landscape orientation when I tilt my G1. > I need to prevent my app from switching to landscape mode so my game > does not become unplayable! :-( > > Can anybody tell me how to prevent this?

[android-beginners] Re: How to see paid apps in Market

2009-07-08 Thread SonjaM
Depending on your location paid apps may not be available yet. http://market.android.com/support/bin/answer.py?answer=138294 -SonjaM On Jul 8, 6:12 am, Koala Yeung wrote: > I cannot see any paid apps in Market (on my phone). > I can only install free apps there. > > Is this a setting problem?

[android-beginners] Re: How to use the aidl by the eclipse step by step?

2009-07-08 Thread Pamplemousse Mk2
Hello, My answer comes perhaps too late for you, but this could somebody else. About the aidl file: 1- write the interface in a file which has the same name. For example if you declare an interface called IMyInterface, your file must be named as IMyInterface.aidl. 2- Then the file must be in the

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

2009-07-06 Thread Justin (Google Employee)
> > How does the process for retrieving system rights look like? Its a matter of signatures. Whoever signs the system is also going to need to sign any app that wants system privileges. > I suppose this problem > shouldn't exist if I was able to save the .apk file in the private > directory of m

[android-beginners] Re: How to use OrientationEventListener

2009-07-06 Thread bobos26
OrientationEventListener don't work on emulator like context.getSystemService (context.SENSOR_SERVIC). OrientationEventListener work well on G1 and development board. I have tested it. below code is a tested code. public Orientation (Context context) { super (context); mListener =

[android-beginners] Re: How to prevent the user to enter nothing to a EditText?

2009-07-05 Thread Christian Polzer
you can try to addTextChangedListener() which disabes/enables the positive button (okbutton), add a hint-text to the textfield or a defaulttext when the dialog is first showing up. also you can manipulate the textcolor of the edittextfield in the textchangedlistener to give feedback to the u

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

2009-07-02 Thread Kenny
http://schemas.android.com/apk/res/android"; package="com.example" android:versionCode="1" android:versionName="1.0"> Use this as a base: Please note that you're going to have to chan

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

2009-07-02 Thread Andrew Burgess
> *From: *Personality > *Sent: *Sat, 6/27/2009 6:16am > *To: *android-beginn...@googlegroups.com ; nikradf...@googlemail.com > *Subject: *[android-beginners] Re: How to test Sipdroid using an emulator? > > Thank you for your response. But intention is to run the applicatio

[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 > > Assuming you've already downloaded the SipDroid source (not apk). > >http://code.google.com/p/sipdroid/source/checkout > > In Eclipse, > >1. Select the

[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 wrote: > > Is there somehow possible to simulate that an application has system > rights in the Emulator? > No, and very intentionally. > > --~--~-~--~~~---~--~~ You received this message because you are subscribed

[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-01 Thread calleandersson
Hi Justin, Thanks for the tips about the 'file://' prefix and SD card, I will look into that tomorrow. How does the process for retrieving system rights look like? Is it the manufacturer of an Android device which decides if an application should have system rights? I suppose that that kind of c

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

2009-07-01 Thread Justin (Google Employee)
The package manager way will not work, you need the permission you referenced, INSTALL_PACKAGES, which only the system has and is not obtainable by user-installed applications. I think your Intent-based method should work, I believe this is more or less what the browser does when you download an

[android-beginners] Re: How to implement HorizontalScrollView

2009-07-01 Thread daniel.benedykt
Hi the HorizontalScrollView can only have one child. For example you can put a LinearLayout and inside, all the items you need You are adding 2 children. Or actually you are adding the same child twice for some reason. Daniel On 4 jun, 11:30, "pri...@web.de" wrote: > Hello, > > how i implemen

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

2009-07-01 Thread subram
since i need to create new android project from existing source On Jul 1, 5:17 pm, Desu Vinod Kumar wrote: > Hi > > i didn't get u > what is actual requirement . > > why u need to create the android manifest.xml > > > > On Wed, Jul 1, 2009 at 5:43 PM, subram wrote: > > > Hi thanks for y

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

2009-07-01 Thread Desu Vinod Kumar
Hi i didn't get u what is actual requirement . why u need to create the android manifest.xml On Wed, Jul 1, 2009 at 5:43 PM, subram wrote: > > Hi thanks for your replies > > Actually if u want to create a new project from existing sources you > need the androidmanifest.xml,java src,i h

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

2009-07-01 Thread subram
Hi thanks for your replies Actually if u want to create a new project from existing sources you need the androidmanifest.xml,java src,i have the java src but i did't have the .xml,how to create,there is an option in eclipse to create new androidmanifest.xml file but its not working,it gives err

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

2009-07-01 Thread Desu Vinod Kumar
I creates default when we create a new project for more details http://developer.android.com/guide/topics/manifest/manifest-intro.html On Wed, Jul 1, 2009 at 5:23 PM, subram wrote: > > Hi there > > I have an doubt regarding creating new androidmanifest.xml > file,since i need to create an an

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

2009-07-01 Thread Naveen Krishna Ch
2009/7/1 subram > > Hi there > > I have an doubt regarding creating new androidmanifest.xml > file,since i need to create an android project from an existing path > that is my .so, What is this .so ??? > when i give like this it shows androidmnifest.xml not > found,kindly suggest how to creat

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

2009-06-28 Thread Jack Ha
Assuming you've already downloaded the SipDroid source (not apk). http://code.google.com/p/sipdroid/source/checkout In Eclipse, 1. Select the File->Import menu item 2. Expand the "General" group and select "Existing Projects into Workspace" 3. Click on the Next button 4. Mak

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

2009-06-27 Thread Tony Su
y From: Personality Sent: Sat, 6/27/2009 6:16am To: android-beginners@googlegroups.com ; nikradf...@googlemail.com Subject: [android-beginners] Re: How to test Sipdroid using an emulator? Thank you for your response. But intention is to run the application using the ADT plugin in Eclipse (whi

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

2009-06-27 Thread Personality
Thank you for your response. But intention is to run the application using the ADT plugin in Eclipse (which includes the emulator). How do I add this application package as an Eclipse project? I think if I can succeed to that point- then I can complete the work. On Sat, Jun 27, 2009 at 8:11 AM, Ni

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

2009-06-27 Thread Nicholas Radford
assuming you have a .apk file adb install example adb install myPackage.apk This will require the emulator to have been started, and no android devices connected via usb. On Fri, Jun 26, 2009 at 2:57 AM, Personality wrote: > Hello. I have downloaded Sipdroid and I want to test how it works s

[android-beginners] Re: How to connect external webcam

2009-06-25 Thread Ivan Soto
I recall reading that one of the things that needs to be done before Android can be seen as a solution for netbooks is the USB host, so I guess you can't connect anything to it. Ivan Soto Fernandez Web Developer http://ivansotof.com On Thu, Jun 25, 2009 at 12:39 PM, wwsean08 wrote: > > I don'

[android-beginners] Re: How to connect external webcam

2009-06-25 Thread wwsean08
I don't think you could, i doubt the g1 could go into host mode, and even if you did, you would need to make a custom driver for it On Jun 24, 1:01 pm, Shivanand wrote: > Hi, > > I am beginner to android development. I want know how to connect > external usb webcam to android device.. > > Thanks

[android-beginners] Re: how to stop sound notification/let it only play once?

2009-06-25 Thread polzifer
OK. And i have to ad, that hte virbation is only vibrating once, because it isn't a notification.vibrate(), but a "private Vibrator vibrator;" As the Flag "FLAG_ONLY_ALERT_ONCE" seemed to be not working. Is the Flag "FLAG_ONLY_ALERT_ONCE" not working? On 25 Jun., 03:34, polzifer wrote: > of co

[android-beginners] Re: how to stop sound notification/let it only play once?

2009-06-24 Thread polzifer
of course when copying and pasteing I accidentally erased the "soundNotification();" from the notifyClient method. Just nobody gets confused... Regards, chris! On 25 Jun., 03:11, polzifer wrote: > Hi, > > while my > > notification.sound = uri > > isn't stopping from looping the sound, the vi

[android-beginners] Re: How to find the text of the selected item in the ListView widget?

2009-06-23 Thread Mark Murphy
frizzo wrote: > In the onListItemClick event, how do I derive the text of the selected > item? Thanks. Who says it is text? You can make a ListView that is purely ImageViews for rows. You get two parameters in onListItemClick() that will help: -- the int position parameter tells you the "row"

[android-beginners] Re: How to store a hashmap in the listview?

2009-06-23 Thread Mark Murphy
frizzo wrote: > Currently I can store an ArrayAdapter in the ListView widget, like so: > > private ArrayAdapter mAdapter; > private ArrayList mPresets = new ArrayList > (); > > mAdapter = new ArrayAdapter(this, > android.R.layout.simple_list_item_1, mPresets); > s

[android-beginners] Re: how to change Widget layout when screen is opend

2009-06-20 Thread kelly
Never mind, I had a short bout of "head made of solid bone." I'm over it... On Jun 20, 4:59 pm, kelly wrote: > I'm stuck with the same issue. I have two layouts for my widget, one > in res/layout/ and one in res/layout-land/, both with the same name. > For some reason, the layout file in layout-

[android-beginners] Re: how to change Widget layout when screen is opend

2009-06-20 Thread kelly
I'm stuck with the same issue. I have two layouts for my widget, one in res/layout/ and one in res/layout-land/, both with the same name. For some reason, the layout file in layout-land/ is being ignored when I create a widget in landscape mode. I can verify this by making some kind of obvious vis

[android-beginners] Re: How to get android 1.1 version source code?

2009-06-18 Thread nurandr...@gmail.com
Hi Roman, I do not want android sdk 1.1,I already downloaded the google android sdk 1.1 from the site mentioned by you ( http://developer.android.com/sdk/1.1_r1/index.html ) but I want to download the source code of android 1.1 version release using repo and git, and want to build sdk 1.1.. If po

[android-beginners] Re: How to create an Eclipse Project for Apps-For-Android

2009-06-18 Thread Raphael
On Thu, Jun 18, 2009 at 7:39 AM, Balwinder Kaur (T-Mobile) wrote: > > I would suggest you just create new Eclipse Projects for each of the > apps.  [ I assume you are referring to  the source code downloaded > from http://code.google.com/p/apps-for-android/source/checkout ] > > Here are the steps

[android-beginners] Re: How to get android 1.1 version source code?

2009-06-18 Thread Roman
This should do it... http://developer.android.com/sdk/1.1_r1/index.html -- Roman Baumgaertner Sr. SW Engineer-OSDC ·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

[android-beginners] Re: How to debug on an actual device?

2009-06-18 Thread Zhijun Sheng
Thank you Wayne! The answer to all your questions is "Yes". On 18-Jun-09, at 5:16 PM, Wayne Wenthin wrote: > This might be a really stupid question but you have loaded the > driver for it correct? Windows recognizes it? Under your device > manager in windows you see the ADB Interface and

[android-beginners] Re: How to debug on an actual device?

2009-06-18 Thread Wayne Wenthin
This might be a really stupid question but you have loaded the driver for it correct? Windows recognizes it? Under your device manager in windows you see the ADB Interface and under that windows see an HTC Dream composite ADB Interface? On Wed, Jun 17, 2009 at 3:08 PM, Zhijun Sheng wrote: >

[android-beginners] Re: How to debug on an actual device?

2009-06-18 Thread Zhijun Sheng
Really frustrating. I have 10+ years of wireless experience and developed great products on other platforms. Got the new Google Dev Phone 2 days ago. It surprised me a lot that me, such a late comer, still got stuck in such a low level problem for many hours already. Thank a lot for all y

[android-beginners] Re: How to enable Google search by voice?

2009-06-18 Thread Koala Yeung
Oops. Dude, that sucks. I'm using Vodafone (Smartone-Vodafone) in Hong Kong. Guess we are both unlucky on this :( Hope Vodafone will soon provide that to us. Koala Yeung On 6月18日, 上午2時52分, Sean Hodges wrote: > Voice search is disabled in the UK as well, from my understanding it has > somethi

[android-beginners] Re: How to create an Eclipse Project for Apps-For-Android

2009-06-18 Thread Balwinder Kaur (T-Mobile)
I would suggest you just create new Eclipse Projects for each of the apps. [ I assume you are referring to the source code downloaded from http://code.google.com/p/apps-for-android/source/checkout ] Here are the steps to do it. Eclipse->File->New Android Project. Within the "Contents" section,

[android-beginners] Re: How to debug on an actual device?

2009-06-17 Thread Mike Garcia
Which OS and version of Eclipse? When you plugged in the device to the computer (if Windows), you didn't mount the device from notifications pane on the device did you? The best setup I have found so far is Windows XP/Vista/7 with Eclipse 3.4.2 installed with the Android Plugin installed. All yo

[android-beginners] Re: How to debug on an actual device?

2009-06-17 Thread Ralf
[adding android-beginners back to the thread] On Wed, Jun 17, 2009 at 9:40 AM, Donald wrote: > Hi, Ralf, > > I'm using Windows XP.  I have the similar problem: the emulator, > instead of the connected google dev phone, is always triggered.  Could > you help me out? Not sure. When you use "adb de

<    1   2   3   4   5   6   7   8   9   10   >