Re: [android-beginners] list of best Android Dev forums/discussions
www.codemobiles.com It's just begun, but i will do the best to help you and you help me do tutorial too. Regards + Thanks On Sat, Oct 31, 2009 at 3:13 PM, Marton Kodok pentiu...@gmail.com wrote: Hello, I am looking to a forum or discussion where there is more activity then here. As I have some questions, and I want to get answers for them very quickly, and I don't want to wait days until I get answers. Do you know any Android Developer forums/discussions? -- Márton -- 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.comandroid-beginners%2bunsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-beginners?hl=en -- 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 options, visit this group at http://groups.google.com/group/android-beginners?hl=en
[android-beginners] Re: [android-beginners]
Intent is a kind of message that required action immediately, while pendingIntent is a kind of intent that will allow another application to send the intent bound to pendingintent to send the bound intent. For pendingIntent, let's see this code, you will understand The sendSMS() function is defined as follows: public class SMS extends Activity { //... /** Called when the activity is first created. */ @Override public void onCreate(Bundle savedInstanceState) { //... } //---sends an SMS message to another device--- private void sendSMS(String http://www.google.com/search?hl=enq=allinurl%3AString+java.sun.combtnI=I%27m%20Feeling%20Lucky phoneNumber, String http://www.google.com/search?hl=enq=allinurl%3AString+java.sun.combtnI=I%27m%20Feeling%20Lucky message) { PendingIntent pi = PendingIntent.getActivity(this, 0, new Intent(this, SMS.class), 0); SmsManager sms = SmsManager.getDefault(); sms.sendTextMessage(phoneNumber, null, message, pi, null); } } Note: If you don't still understand it, please let me know, I am welcoem to help you. www.codemobiles.com On Tue, Oct 27, 2009 at 9:35 PM, saurabh sinha saurso...@gmail.com wrote: what is difference intent and pendingIntent in android --~--~-~--~~~---~--~~ 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 options, visit this group at http://groups.google.com/group/android-beginners?hl=en -~--~~~~--~~--~--~---
[android-beginners] Re: Mounting sdcard in Emulator
I don't recommend to start the emulator from the ADT, you should command line. I have created a bat file for setup both native font and mount sdcard to emulator. Let's see the link below, you can modify the bat file to fit your env. http://www.codemobiles.com/forum/viewtopic.php?p=62highlight=make+emulator+display+thai+font#62 On Thu, Oct 22, 2009 at 6:46 PM, Tom tomir...@googlemail.com wrote: I cant seem to mount a SDcard image to the emulator. I have create and image in Command Prompt using the command mkscard 1024m sdcard.iso I have also placed -sdcard C:\path\to\image\sdcard.iso in Addidtional Emulator Commad Line Options for the emulator in eclipse. When i launch the emulator i get the following error 10-22 11:34:36.047: ERROR/vold(534): Cannot start volume '/ sdcard' (volume is not bound) I have searched i cant seem to find anyone who has had the same problem. Please can someone help me. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Beginners group. To post to this group, send email to android-beginners@googlegroups.com To unsubscribe from this group, send email to android-beginners+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-beginners?hl=en -~--~~~~--~~--~--~---
[android-beginners] Re: Mounting sdcard in Emulator
Hi friend 555, if it can help you, please be member of my website too, and if you comment this topic, that will be very good. On Mon, Oct 26, 2009 at 4:28 PM, Chaiyasit T chaiyasi...@gmail.com wrote: I don't recommend to start the emulator from the ADT, you should command line. I have created a bat file for setup both native font and mount sdcard to emulator. Let's see the link below, you can modify the bat file to fit your env. http://www.codemobiles.com/forum/viewtopic.php?p=62highlight=make+emulator+display+thai+font#62 On Thu, Oct 22, 2009 at 6:46 PM, Tom tomir...@googlemail.com wrote: I cant seem to mount a SDcard image to the emulator. I have create and image in Command Prompt using the command mkscard 1024m sdcard.iso I have also placed -sdcard C:\path\to\image\sdcard.iso in Addidtional Emulator Commad Line Options for the emulator in eclipse. When i launch the emulator i get the following error 10-22 11:34:36.047: ERROR/vold(534): Cannot start volume '/ sdcard' (volume is not bound) I have searched i cant seem to find anyone who has had the same problem. Please can someone help me. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Beginners group. To post to this group, send email to android-beginners@googlegroups.com To unsubscribe from this group, send email to android-beginners+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-beginners?hl=en -~--~~~~--~~--~--~---
[android-beginners] Re: Mounting sdcard in Emulator
I just created an example for you, please click the link below to review it http://www.codemobiles.com/forum/viewtopic.php?p=94#94 If it works, please help me comment in this forum too. If you still have the problem, let me know again. Regards + Thanks On Mon, Oct 26, 2009 at 5:31 PM, Tom tomir...@googlemail.com wrote: Cheers. I downloaded the bat file modified it for my Emulator and sdcard image. When i run the bat file it says ### WARNING: SD card files must be at least 8 MB, ignoring 'sdcard.iso' I created the sdcard image user the emulator tools via the command line. Not sure why its not working. The SDcard image itself is 17KB even though i told it to create a 2mb one. On 26 Oct, 09:30, Chaiyasit T chaiyasi...@gmail.com wrote: Hi friend 555, if it can help you, please be member of my website too, and if you comment this topic, that will be very good. On Mon, Oct 26, 2009 at 4:28 PM, Chaiyasit T chaiyasi...@gmail.com wrote: I don't recommend to start the emulator from the ADT, you should command line. I have created a bat file for setup both native font and mount sdcard to emulator. Let's see the link below, you can modify the bat file to fit your env. http://www.codemobiles.com/forum/viewtopic.php?p=62highlight=make+em. .. On Thu, Oct 22, 2009 at 6:46 PM, Tom tomir...@googlemail.com wrote: I cant seem to mount a SDcard image to the emulator. I have create and image in Command Prompt using the command mkscard 1024m sdcard.iso I have also placed -sdcard C:\path\to\image\sdcard.iso in Addidtional Emulator Commad Line Options for the emulator in eclipse. When i launch the emulator i get the following error 10-22 11:34:36.047: ERROR/vold(534): Cannot start volume '/ sdcard' (volume is not bound) I have searched i cant seem to find anyone who has had the same problem. Please can someone help me. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Beginners group. To post to this group, send email to android-beginners@googlegroups.com To unsubscribe from this group, send email to android-beginners+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-beginners?hl=en -~--~~~~--~~--~--~---
[android-beginners] Re: Emulator permission problem
your problem would ge about internet access permission, could you post the error code you see in my website http://www.codemobiles.com/forum/viewforum.php?f=16 I will try to help you. regards On Mon, Oct 26, 2009 at 8:01 PM, Tom tomir...@googlemail.com wrote: Im am trying to download a file via HTTP and save it to phone/SD card. But i keep getting the flowing error. Parent directory of file is not writable: /sdcard/txt.txt I have also tryed downloading straight to the phone but i keep getting the same error. Is it possible to change the permssions on the emulated phone/SD card? If so how do you do that? --~--~-~--~~~---~--~~ 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 options, visit this group at http://groups.google.com/group/android-beginners?hl=en -~--~~~~--~~--~--~---
[android-beginners] How to use IntentReceiver? Where is this class?
Hi all, I see some examples about IntentReceiver, but seem this class is no longer available in the present SDK 1.5,16, anyone can tell me if it's really not available, if so, what class can I use instead of it as well as an example. jaboho www.codemobiles.com --~--~-~--~~~---~--~~ 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 options, visit this group at http://groups.google.com/group/android-beginners?hl=en -~--~~~~--~~--~--~---
[android-beginners] Re: unknown socket error Is anyone know this error??
Hi, I think the problem was about the url convention, Here is my example: * private static final String URL = http://www.codemobiles.com/nusoap/samples/authen_ws.php;; you see full source code of my example from Exam: Web Service Client for Android SDK Ver-1.1,1.5,1.6%20%20private%20static%20final%20String%20URL%20=%20%22http://www.codemobiles.com/nusoap/samples/authen_ws.php%22; * Note: any result, please let me know too. :) Chaiyasit T. www.codemobiles.com* * On Thu, Oct 22, 2009 at 4:00 PM, GreenRiver thong.dom...@gmail.com wrote: what does it means? On Oct 22, 2:37 pm, Samuh samuh.va...@gmail.com wrote: you get that error if you are sitting behind a proxy... On Oct 22, 11:50 am, GreenRiver thong.dom...@gmail.com wrote: Althougt i have added uses-permission android:name=android.permission.INTERNET / in AndroidManifest.xml file but still appears error. I got output in textview Error: Host is unresolve:www.helloandroid.com:80 Is any ideas? --~--~-~--~~~---~--~~ 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 options, visit this group at http://groups.google.com/group/android-beginners?hl=en -~--~~~~--~~--~--~---
[android-beginners] Re: XML Parser error
hi let's try my example : http://www.codemobiles.com/forum/viewtopic.php?t=69 On Wed, Oct 21, 2009 at 4:30 PM, GreenRiver thong.dom...@gmail.com wrote: I get error java.lang.UnsupportedOperation Exception occurred invoking method. when i complied this code line below: xr.parse(new InputSource(url.openStream())) ; any ideas?? Thanks in advance :) --~--~-~--~~~---~--~~ 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 options, visit this group at http://groups.google.com/group/android-beginners?hl=en -~--~~~~--~~--~--~---
[android-beginners] Re: Android Getting started
Hi Let's follow this guideline http://developer.android.com/guide/tutorials/hello-world.html On Tue, Oct 20, 2009 at 1:54 PM, Niamathullah sharief android...@gmail.comwrote: yes i have done this. but i am confused in the fields of properties i dont know exactly what i have to give in that fieldsbut i reached that new android project windoow... On Tue, Oct 20, 2009 at 8:31 AM, Chaiyasit T chaiyasi...@gmail.comwrote: Hi Let's go to the file menu and other and select android project. note: here is my website, if you need to run emulator directly without depedning eclipse, try here http://www.codemobiles.com/forum/viewtopic.php?t=15 regards + thanks On Tue, Oct 20, 2009 at 9:55 AM, Niamathullah sharief android...@gmail.com wrote: yes i already done this and created the new avd.. after that only i am confused On Tue, Oct 20, 2009 at 8:16 AM, Chaiyasit T chaiyasi...@gmail.comwrote: Let's get to the eclipse' preference and open android tree tab, you will the android sdk installation path setup, let's fill-in the path. you have to create a new avd too, have you created it yet? regards + thanks On Tue, Oct 20, 2009 at 9:41 AM, Niamathullah sharief android...@gmail.com wrote: yes i already followed this all steps in new project wizard which has 4 steps. After that only i dont know what to do. On Tue, Oct 20, 2009 at 7:52 AM, Jeffrey Blattman jeffrey.blatt...@gmail.com wrote: http://developer.android.com/guide/developing/eclipse-adt.html On 10/19/09 7:20 PM, Niamathullah sharief wrote: Please Can one help me to get start in eclipse. I already installed adt plugin in aclipse. after that what ahouls i do? Please help me to solve this problem. On Mon, Oct 19, 2009 at 11:58 PM, Niamathullah sharief android...@gmail.com wrote: ok. shall i know how to bring this emulator in eclipse? Can anyone help me... On Mon, Oct 19, 2009 at 11:57 PM, Niamathullah sharief android...@gmail.com wrote: yes thank you chaiyasit. Its working fine now.. Thank you On Mon, Oct 19, 2009 at 2:43 PM, Chaiyasit T chaiyasi...@gmail.com wrote: could you show the path you typed this command in to me? just pwd ex: Last login: Mon Oct 19 20:48:07 on ttys000 MacBook-2:~ admin$ pwd /Users/admin MacBook-2:~ admin$ cd /app/android-sdk-mac_x86-1.5_r3/tools MacBook-2:tools admin$ pwd /app/android-sdk-mac_x86-1.5_r3/tools MacBook-2:tools admin$ ./emulator -avd myandroid1.5 regards + thanks On Mon, Oct 19, 2009 at 4:09 PM, Niamathullah sharief android...@gmail.com wrote: See this. Still i am getting the same error message even when i changed as ./emulator * shar...@sharief-desktop:~/Desktop/SDK/android-sdk-linux_x86-1.5_r3$shar...@sharief-desktop:%7E/Desktop/SDK/android-sdk-linux_x86-1.5_r3$export PATH=${PATH}:/home/sharief/Desktop/SDK/android-sdk-linux_x86-1.5_r3/tools/./emulator shar...@sharief-desktop:~/Desktop/SDK/android-sdk-linux_x86-1.5_r3$shar...@sharief-desktop:%7E/Desktop/SDK/android-sdk-linux_x86-1.5_r3$./emulator -avd sharief bash: ./emulator: No such file or directory shar...@sharief-desktop:~/Desktop/SDK/android-sdk-linux_x86-1.5_r3$shar...@sharief-desktop:%7E/Desktop/SDK/android-sdk-linux_x86-1.5_r3$ * On Mon, Oct 19, 2009 at 1:58 PM, Chaiyasit T chaiyasi...@gmail.com wrote: you typed the wrong command let's change *emulaltor -- ./emulator* On Mon, Oct 19, 2009 at 3:20 PM, Niamathullah sharief android...@gmail.com wrote: oops...me too didnt see that. yes i already changed the directory. for your kind reference i will the exact path of my emulator */home/sharief/Desktop/SDK/android-sdk-linux_x86-1.5_r3/path/* i used the following command to set the path * * *export PATH=$PATH:/home/sharief/Desktop/SDK/android-sdk-linux_x86-1.5_r3/tools/emulator * but still i am getting the following error *bash: ./emulaltor: No such file or directory* On Mon, Oct 19, 2009 at 1:44 PM, Chaiyasit T chaiyasi...@gmail.com wrote: Sorry I typed emulator wrong. let's type this: *./emulator -avd sharief* Note: Let's be sure you already change directory to this emulator command like ../tools/... Regards + Thanks On Mon, Oct 19, 2009 at 3:10 PM, Niamathullah sharief android...@gmail.com wrote: if i type that command i am getting the following error message.. * shar...@sharief-desktop:~/Desktop/SDK/android-sdk-linux_x86-1.5_r3$shar...@sharief-desktop:%7E/Desktop/SDK/android-sdk-linux_x86-1.5_r3$./emulaltor -avd sharief bash: ./emulaltor: No such file or directory shar...@sharief-desktop:~/Desktop/SDK/android-sdk-linux_x86-1.5_r3$shar...@sharief-desktop:%7E/Desktop/SDK/android-sdk-linux_x86-1.5_r3$ * what to do? On Mon, Oct 19, 2009 at 1:31 PM, Chaiyasit T chaiyasi...@gmail.com wrote: On unix context, you must type all commands by starting with ./ Ex: ./emulaltor -avd sharief www.codemoibiles.com Regards + Thanks On Mon, Oct 19, 2009 at 2:47 PM, Niamathullah sharief
[android-beginners] Re: Android Getting started
you're running on unix, so you have to always start with ./ ex: ./android On Tue, Oct 20, 2009 at 7:26 PM, Niamathullah sharief android...@gmail.comwrote: yes i already tried this. in that i am the same error as command not found. i have set the path for android. see below *shar...@sharief-desktop:~/Desktop/SDK/android-sdk-linux_x86-1.5_r3/tools$ export PATH=$PATH:/home/sharief/Desktop/SDK/android-sdk-linux_x86-1.5_r3/tools/android shar...@sharief-desktop:~/Desktop/SDK/android-sdk-linux_x86-1.5_r3/tools$ android create avd --target 2 --name my_avdbash: android: command not found shar...@sharief-desktop:~/Desktop/SDK/android-sdk-linux_x86-1.5_r3/tools$ * On Tue, Oct 20, 2009 at 4:12 PM, Chaiyasit T chaiyasi...@gmail.comwrote: Hi Let's follow this guideline http://developer.android.com/guide/tutorials/hello-world.html On Tue, Oct 20, 2009 at 1:54 PM, Niamathullah sharief android...@gmail.com wrote: yes i have done this. but i am confused in the fields of properties i dont know exactly what i have to give in that fieldsbut i reached that new android project windoow... On Tue, Oct 20, 2009 at 8:31 AM, Chaiyasit T chaiyasi...@gmail.comwrote: Hi Let's go to the file menu and other and select android project. note: here is my website, if you need to run emulator directly without depedning eclipse, try here http://www.codemobiles.com/forum/viewtopic.php?t=15 regards + thanks On Tue, Oct 20, 2009 at 9:55 AM, Niamathullah sharief android...@gmail.com wrote: yes i already done this and created the new avd.. after that only i am confused On Tue, Oct 20, 2009 at 8:16 AM, Chaiyasit T chaiyasi...@gmail.comwrote: Let's get to the eclipse' preference and open android tree tab, you will the android sdk installation path setup, let's fill-in the path. you have to create a new avd too, have you created it yet? regards + thanks On Tue, Oct 20, 2009 at 9:41 AM, Niamathullah sharief android...@gmail.com wrote: yes i already followed this all steps in new project wizard which has 4 steps. After that only i dont know what to do. On Tue, Oct 20, 2009 at 7:52 AM, Jeffrey Blattman jeffrey.blatt...@gmail.com wrote: http://developer.android.com/guide/developing/eclipse-adt.html On 10/19/09 7:20 PM, Niamathullah sharief wrote: Please Can one help me to get start in eclipse. I already installed adt plugin in aclipse. after that what ahouls i do? Please help me to solve this problem. On Mon, Oct 19, 2009 at 11:58 PM, Niamathullah sharief android...@gmail.com wrote: ok. shall i know how to bring this emulator in eclipse? Can anyone help me... On Mon, Oct 19, 2009 at 11:57 PM, Niamathullah sharief android...@gmail.com wrote: yes thank you chaiyasit. Its working fine now.. Thank you On Mon, Oct 19, 2009 at 2:43 PM, Chaiyasit T chaiyasi...@gmail.com wrote: could you show the path you typed this command in to me? just pwd ex: Last login: Mon Oct 19 20:48:07 on ttys000 MacBook-2:~ admin$ pwd /Users/admin MacBook-2:~ admin$ cd /app/android-sdk-mac_x86-1.5_r3/tools MacBook-2:tools admin$ pwd /app/android-sdk-mac_x86-1.5_r3/tools MacBook-2:tools admin$ ./emulator -avd myandroid1.5 regards + thanks On Mon, Oct 19, 2009 at 4:09 PM, Niamathullah sharief android...@gmail.com wrote: See this. Still i am getting the same error message even when i changed as ./emulator * shar...@sharief-desktop:~/Desktop/SDK/android-sdk-linux_x86-1.5_r3$shar...@sharief-desktop:%7E/Desktop/SDK/android-sdk-linux_x86-1.5_r3$export PATH=${PATH}:/home/sharief/Desktop/SDK/android-sdk-linux_x86-1.5_r3/tools/./emulator shar...@sharief-desktop:~/Desktop/SDK/android-sdk-linux_x86-1.5_r3$shar...@sharief-desktop:%7E/Desktop/SDK/android-sdk-linux_x86-1.5_r3$./emulator -avd sharief bash: ./emulator: No such file or directory shar...@sharief-desktop:~/Desktop/SDK/android-sdk-linux_x86-1.5_r3$shar...@sharief-desktop:%7E/Desktop/SDK/android-sdk-linux_x86-1.5_r3$ * On Mon, Oct 19, 2009 at 1:58 PM, Chaiyasit T chaiyasi...@gmail.com wrote: you typed the wrong command let's change *emulaltor -- ./emulator* On Mon, Oct 19, 2009 at 3:20 PM, Niamathullah sharief android...@gmail.com wrote: oops...me too didnt see that. yes i already changed the directory. for your kind reference i will the exact path of my emulator * /home/sharief/Desktop/SDK/android-sdk-linux_x86-1.5_r3/path/* i used the following command to set the path * * *export PATH=$PATH:/home/sharief/Desktop/SDK/android-sdk-linux_x86-1.5_r3/tools/emulator * but still i am getting the following error *bash: ./emulaltor: No such file or directory* On Mon, Oct 19, 2009 at 1:44 PM, Chaiyasit T chaiyasi...@gmail.com wrote: Sorry I typed emulator wrong. let's type this: *./emulator -avd sharief* Note: Let's be sure you already change directory to this emulator command like ../tools/... Regards + Thanks On Mon, Oct 19, 2009 at 3:10 PM
[android-beginners] Re: Android Getting started
On unix context, you must type all commands by starting with ./ Ex: ./emulaltor -avd sharief www.codemoibiles.com Regards + Thanks On Mon, Oct 19, 2009 at 2:47 PM, Niamathullah sharief android...@gmail.comwrote: I think i set the path correctly..now i am getting another error shar...@sharief-desktop:/bin$ locate emulator -avd sharief locate: invalid option -- 'a' shar...@sharief-desktop:/bin$ what to do?help me please On Mon, Oct 19, 2009 at 12:46 PM, Niamathullah sharief android...@gmail.com wrote: i tried to set the path. But it seems wrong shar...@sharief-desktop:~$ export PATH-$PATH:/home/sharief/Desktop/SDK/android-sdk-linux_x86-1.5_r3/tools/emulator bash: export: `PATH-/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/home/sharief/Desktop/SDK/android-sdk-linux_x86-1.5_r3/tools/emulator': not a valid identifier shar...@sharief-desktop:~$ can anyone help me to set the exact path.. On Mon, Oct 19, 2009 at 9:20 AM, Niamathullah sharief android...@gmail.com wrote: No jeffrey. There is no android app in Run as.. On Mon, Oct 19, 2009 at 9:07 AM, Jeffrey Blattman jeffrey.blatt...@gmail.com wrote: if you run asandroid app in eclipse, it will start the emulator, deploy your app, and run it. On 10/18/09 8:34 PM, Niamathullah sharief wrote: OK. and another one is, i have installed eclipse on my system. is this another way to start an android?if yes i have created ADT plugin in eclipse. now how to start an emulator in eclipse? On Mon, Oct 19, 2009 at 8:58 AM, Jeffrey Blattman jeffrey.blatt...@gmail.com wrote: http://www.linuxheadquarters.com/howto/basic/path.shtml On 10/18/09 8:26 PM, Niamathullah sharief wrote: sorry jeffey. I am novice. Could you please tell me how to set the path? Could you please explain me in detail? On Mon, Oct 19, 2009 at 8:54 AM, Jeffrey Blattman jeffrey.blatt...@gmail.com wrote: that means the emulator isn't in your path. add $ANDROID_HOME/tools to your path. On 10/18/09 8:22 PM, Niamathullah sharief wrote: Ok...I am using UBUNTU distribution. In that when i try to start an emulator i am getting the following error.. shar...@sharief-desktop:~/Desktop/SDK/android-sdk-linux_x86-1.5_r3/tools$shar...@sharief-desktop:%7E/Desktop/SDK/android-sdk-linux_x86-1.5_r3/tools$emulator -avd sharief bash: emulator: command not found can anyone tell me why it happens? On Sun, Oct 18, 2009 at 6:11 PM, Mark Murphy mmur...@commonsware.com wrote: Niamathullah sharief wrote: Hi i am new to android. I am having some doubt when i tried to do my first project in android. When i select new new project in eclipse. Is ask some details. In that i saw one option called package name..I don't know what to give in that field. Can anyone help me. I am not much expert in Java. Thank you I recommend spending a bit of time to get familiar with Java *outside* of Android. Android is just unusual enough that learning Java and Android at the same time may prove frustrating. The package that Eclipse is asking for is the main Java package for your application: http://en.wikipedia.org/wiki/Java_package For example, I might use a package of: com.commonsware.android.sample or com.commonsware.android.yes.he.really.posts.a.lot or even com.commonsware.android.and.he.sometimes.gets.a.wee.bit.goofy -- Mark Murphy (a Commons Guy) http://commonsware.com | http://twitter.com/commonsguy Android App Developer Training: http://commonsware.com/training.html -- -- -- --~--~-~--~~~---~--~~ 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 options, visit this group at http://groups.google.com/group/android-beginners?hl=en -~--~~~~--~~--~--~--- image/pnginline: qr-gmail.pngimage/png
[android-beginners] Re: Android Getting started
Sorry I typed emulator wrong. let's type this: *./emulator -avd sharief* Note: Let's be sure you already change directory to this emulator command like ../tools/... Regards + Thanks On Mon, Oct 19, 2009 at 3:10 PM, Niamathullah sharief android...@gmail.comwrote: if i type that command i am getting the following error message.. *shar...@sharief-desktop:~/Desktop/SDK/android-sdk-linux_x86-1.5_r3$ ./emulaltor -avd sharief bash: ./emulaltor: No such file or directory shar...@sharief-desktop:~/Desktop/SDK/android-sdk-linux_x86-1.5_r3$* what to do? On Mon, Oct 19, 2009 at 1:31 PM, Chaiyasit T chaiyasi...@gmail.comwrote: On unix context, you must type all commands by starting with ./ Ex: ./emulaltor -avd sharief www.codemoibiles.com Regards + Thanks On Mon, Oct 19, 2009 at 2:47 PM, Niamathullah sharief android...@gmail.com wrote: I think i set the path correctly..now i am getting another error shar...@sharief-desktop:/bin$ locate emulator -avd sharief locate: invalid option -- 'a' shar...@sharief-desktop:/bin$ what to do?help me please On Mon, Oct 19, 2009 at 12:46 PM, Niamathullah sharief android...@gmail.com wrote: i tried to set the path. But it seems wrong shar...@sharief-desktop:~$ export PATH-$PATH:/home/sharief/Desktop/SDK/android-sdk-linux_x86-1.5_r3/tools/emulator bash: export: `PATH-/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/home/sharief/Desktop/SDK/android-sdk-linux_x86-1.5_r3/tools/emulator': not a valid identifier shar...@sharief-desktop:~$ can anyone help me to set the exact path.. On Mon, Oct 19, 2009 at 9:20 AM, Niamathullah sharief android...@gmail.com wrote: No jeffrey. There is no android app in Run as.. On Mon, Oct 19, 2009 at 9:07 AM, Jeffrey Blattman jeffrey.blatt...@gmail.com wrote: if you run asandroid app in eclipse, it will start the emulator, deploy your app, and run it. On 10/18/09 8:34 PM, Niamathullah sharief wrote: OK. and another one is, i have installed eclipse on my system. is this another way to start an android?if yes i have created ADT plugin in eclipse. now how to start an emulator in eclipse? On Mon, Oct 19, 2009 at 8:58 AM, Jeffrey Blattman jeffrey.blatt...@gmail.com wrote: http://www.linuxheadquarters.com/howto/basic/path.shtml On 10/18/09 8:26 PM, Niamathullah sharief wrote: sorry jeffey. I am novice. Could you please tell me how to set the path? Could you please explain me in detail? On Mon, Oct 19, 2009 at 8:54 AM, Jeffrey Blattman jeffrey.blatt...@gmail.com wrote: that means the emulator isn't in your path. add $ANDROID_HOME/tools to your path. On 10/18/09 8:22 PM, Niamathullah sharief wrote: Ok...I am using UBUNTU distribution. In that when i try to start an emulator i am getting the following error.. shar...@sharief-desktop:~/Desktop/SDK/android-sdk-linux_x86-1.5_r3/tools$shar...@sharief-desktop:%7E/Desktop/SDK/android-sdk-linux_x86-1.5_r3/tools$emulator -avd sharief bash: emulator: command not found can anyone tell me why it happens? On Sun, Oct 18, 2009 at 6:11 PM, Mark Murphy mmur...@commonsware.com wrote: Niamathullah sharief wrote: Hi i am new to android. I am having some doubt when i tried to do my first project in android. When i select new new project in eclipse. Is ask some details. In that i saw one option called package name..I don't know what to give in that field. Can anyone help me. I am not much expert in Java. Thank you I recommend spending a bit of time to get familiar with Java *outside* of Android. Android is just unusual enough that learning Java and Android at the same time may prove frustrating. The package that Eclipse is asking for is the main Java package for your application: http://en.wikipedia.org/wiki/Java_package For example, I might use a package of: com.commonsware.android.sample or com.commonsware.android.yes.he.really.posts.a.lot or even com.commonsware.android.and.he.sometimes.gets.a.wee.bit.goofy -- Mark Murphy (a Commons Guy) http://commonsware.com | http://twitter.com/commonsguy Android App Developer Training: http://commonsware.com/training.html -- -- -- --~--~-~--~~~---~--~~ 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 options, visit this group at http://groups.google.com/group/android-beginners?hl=en -~--~~~~--~~--~--~--- inline: qr-gmail.pngimage/pngimage/png
[android-beginners] Re: Android Getting started
you typed the wrong command let's change *emulaltor -- ./emulator* On Mon, Oct 19, 2009 at 3:20 PM, Niamathullah sharief android...@gmail.comwrote: oops...me too didnt see that. yes i already changed the directory. for your kind reference i will the exact path of my emulator */home/sharief/Desktop/SDK/android-sdk-linux_x86-1.5_r3/path/* i used the following command to set the path * * *export PATH=$PATH:/home/sharief/Desktop/SDK/android-sdk-linux_x86-1.5_r3/tools/emulator * but still i am getting the following error *bash: ./emulaltor: No such file or directory* On Mon, Oct 19, 2009 at 1:44 PM, Chaiyasit T chaiyasi...@gmail.comwrote: Sorry I typed emulator wrong. let's type this: *./emulator -avd sharief* Note: Let's be sure you already change directory to this emulator command like ../tools/... Regards + Thanks On Mon, Oct 19, 2009 at 3:10 PM, Niamathullah sharief android...@gmail.com wrote: if i type that command i am getting the following error message.. *shar...@sharief-desktop:~/Desktop/SDK/android-sdk-linux_x86-1.5_r3$ ./emulaltor -avd sharief bash: ./emulaltor: No such file or directory shar...@sharief-desktop:~/Desktop/SDK/android-sdk-linux_x86-1.5_r3$* what to do? On Mon, Oct 19, 2009 at 1:31 PM, Chaiyasit T chaiyasi...@gmail.comwrote: On unix context, you must type all commands by starting with ./ Ex: ./emulaltor -avd sharief www.codemoibiles.com Regards + Thanks On Mon, Oct 19, 2009 at 2:47 PM, Niamathullah sharief android...@gmail.com wrote: I think i set the path correctly..now i am getting another error shar...@sharief-desktop:/bin$ locate emulator -avd sharief locate: invalid option -- 'a' shar...@sharief-desktop:/bin$ what to do?help me please On Mon, Oct 19, 2009 at 12:46 PM, Niamathullah sharief android...@gmail.com wrote: i tried to set the path. But it seems wrong shar...@sharief-desktop:~$ export PATH-$PATH:/home/sharief/Desktop/SDK/android-sdk-linux_x86-1.5_r3/tools/emulator bash: export: `PATH-/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/home/sharief/Desktop/SDK/android-sdk-linux_x86-1.5_r3/tools/emulator': not a valid identifier shar...@sharief-desktop:~$ can anyone help me to set the exact path.. On Mon, Oct 19, 2009 at 9:20 AM, Niamathullah sharief android...@gmail.com wrote: No jeffrey. There is no android app in Run as.. On Mon, Oct 19, 2009 at 9:07 AM, Jeffrey Blattman jeffrey.blatt...@gmail.com wrote: if you run asandroid app in eclipse, it will start the emulator, deploy your app, and run it. On 10/18/09 8:34 PM, Niamathullah sharief wrote: OK. and another one is, i have installed eclipse on my system. is this another way to start an android?if yes i have created ADT plugin in eclipse. now how to start an emulator in eclipse? On Mon, Oct 19, 2009 at 8:58 AM, Jeffrey Blattman jeffrey.blatt...@gmail.com wrote: http://www.linuxheadquarters.com/howto/basic/path.shtml On 10/18/09 8:26 PM, Niamathullah sharief wrote: sorry jeffey. I am novice. Could you please tell me how to set the path? Could you please explain me in detail? On Mon, Oct 19, 2009 at 8:54 AM, Jeffrey Blattman jeffrey.blatt...@gmail.com wrote: that means the emulator isn't in your path. add $ANDROID_HOME/tools to your path. On 10/18/09 8:22 PM, Niamathullah sharief wrote: Ok...I am using UBUNTU distribution. In that when i try to start an emulator i am getting the following error.. shar...@sharief-desktop:~/Desktop/SDK/android-sdk-linux_x86-1.5_r3/tools$shar...@sharief-desktop:%7E/Desktop/SDK/android-sdk-linux_x86-1.5_r3/tools$emulator -avd sharief bash: emulator: command not found can anyone tell me why it happens? On Sun, Oct 18, 2009 at 6:11 PM, Mark Murphy mmur...@commonsware.com wrote: Niamathullah sharief wrote: Hi i am new to android. I am having some doubt when i tried to do my first project in android. When i select new new project in eclipse. Is ask some details. In that i saw one option called package name..I don't know what to give in that field. Can anyone help me. I am not much expert in Java. Thank you I recommend spending a bit of time to get familiar with Java *outside* of Android. Android is just unusual enough that learning Java and Android at the same time may prove frustrating. The package that Eclipse is asking for is the main Java package for your application: http://en.wikipedia.org/wiki/Java_package For example, I might use a package of: com.commonsware.android.sample or com.commonsware.android.yes.he.really.posts.a.lot or even com.commonsware.android.and.he.sometimes.gets.a.wee.bit.goofy -- Mark Murphy (a Commons Guy) http://commonsware.com | http://twitter.com/commonsguy Android App Developer Training: http://commonsware.com/training.html -- -- -- --~--~-~--~~~---~--~~ You received this message because
[android-beginners] Re: Setting proxy on emulator: Unable to open settings.db
hi I recommend you to login to the the emulaltor's shell before using sqlite3 ex: ./adb shell cd /data/data.../databases sqlite3 you_file_database Regards + Thanks On Mon, Oct 19, 2009 at 3:52 PM, joareiss joare...@googlemail.com wrote: Hello, Does anyone know what I have to do in order to get this run : C:\android-sdk-windows-1.5_r1\toolssqlite3 /data/data/ com.google.android.provid ers.settings/databases/settings.db INSERT INTO system VALUES (99,'http_proxy','123:456:789:8080'); Unable to open database /data/data/ com.google.android.providers.settings/databa ses/settings.db: unable to open database file --~--~-~--~~~---~--~~ 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 options, visit this group at http://groups.google.com/group/android-beginners?hl=en -~--~~~~--~~--~--~---
[android-beginners] Re: Android Getting started
could you show the path you typed this command in to me? just pwd ex: Last login: Mon Oct 19 20:48:07 on ttys000 MacBook-2:~ admin$ pwd /Users/admin MacBook-2:~ admin$ cd /app/android-sdk-mac_x86-1.5_r3/tools MacBook-2:tools admin$ pwd /app/android-sdk-mac_x86-1.5_r3/tools MacBook-2:tools admin$ ./emulator -avd myandroid1.5 regards + thanks On Mon, Oct 19, 2009 at 4:09 PM, Niamathullah sharief android...@gmail.comwrote: See this. Still i am getting the same error message even when i changed as ./emulator *shar...@sharief-desktop:~/Desktop/SDK/android-sdk-linux_x86-1.5_r3$ export PATH=${PATH}:/home/sharief/Desktop/SDK/android-sdk-linux_x86-1.5_r3/tools/./emulator shar...@sharief-desktop:~/Desktop/SDK/android-sdk-linux_x86-1.5_r3$ ./emulator -avd sharief bash: ./emulator: No such file or directory shar...@sharief-desktop:~/Desktop/SDK/android-sdk-linux_x86-1.5_r3$ * On Mon, Oct 19, 2009 at 1:58 PM, Chaiyasit T chaiyasi...@gmail.comwrote: you typed the wrong command let's change *emulaltor -- ./emulator* On Mon, Oct 19, 2009 at 3:20 PM, Niamathullah sharief android...@gmail.com wrote: oops...me too didnt see that. yes i already changed the directory. for your kind reference i will the exact path of my emulator */home/sharief/Desktop/SDK/android-sdk-linux_x86-1.5_r3/path/* i used the following command to set the path * * *export PATH=$PATH:/home/sharief/Desktop/SDK/android-sdk-linux_x86-1.5_r3/tools/emulator * but still i am getting the following error *bash: ./emulaltor: No such file or directory* On Mon, Oct 19, 2009 at 1:44 PM, Chaiyasit T chaiyasi...@gmail.comwrote: Sorry I typed emulator wrong. let's type this: *./emulator -avd sharief* Note: Let's be sure you already change directory to this emulator command like ../tools/... Regards + Thanks On Mon, Oct 19, 2009 at 3:10 PM, Niamathullah sharief android...@gmail.com wrote: if i type that command i am getting the following error message.. *shar...@sharief-desktop:~/Desktop/SDK/android-sdk-linux_x86-1.5_r3$ ./emulaltor -avd sharief bash: ./emulaltor: No such file or directory shar...@sharief-desktop:~/Desktop/SDK/android-sdk-linux_x86-1.5_r3$* what to do? On Mon, Oct 19, 2009 at 1:31 PM, Chaiyasit T chaiyasi...@gmail.comwrote: On unix context, you must type all commands by starting with ./ Ex: ./emulaltor -avd sharief www.codemoibiles.com Regards + Thanks On Mon, Oct 19, 2009 at 2:47 PM, Niamathullah sharief android...@gmail.com wrote: I think i set the path correctly..now i am getting another error shar...@sharief-desktop:/bin$ locate emulator -avd sharief locate: invalid option -- 'a' shar...@sharief-desktop:/bin$ what to do?help me please On Mon, Oct 19, 2009 at 12:46 PM, Niamathullah sharief android...@gmail.com wrote: i tried to set the path. But it seems wrong shar...@sharief-desktop:~$ export PATH-$PATH:/home/sharief/Desktop/SDK/android-sdk-linux_x86-1.5_r3/tools/emulator bash: export: `PATH-/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/home/sharief/Desktop/SDK/android-sdk-linux_x86-1.5_r3/tools/emulator': not a valid identifier shar...@sharief-desktop:~$ can anyone help me to set the exact path.. On Mon, Oct 19, 2009 at 9:20 AM, Niamathullah sharief android...@gmail.com wrote: No jeffrey. There is no android app in Run as.. On Mon, Oct 19, 2009 at 9:07 AM, Jeffrey Blattman jeffrey.blatt...@gmail.com wrote: if you run asandroid app in eclipse, it will start the emulator, deploy your app, and run it. On 10/18/09 8:34 PM, Niamathullah sharief wrote: OK. and another one is, i have installed eclipse on my system. is this another way to start an android?if yes i have created ADT plugin in eclipse. now how to start an emulator in eclipse? On Mon, Oct 19, 2009 at 8:58 AM, Jeffrey Blattman jeffrey.blatt...@gmail.com wrote: http://www.linuxheadquarters.com/howto/basic/path.shtml On 10/18/09 8:26 PM, Niamathullah sharief wrote: sorry jeffey. I am novice. Could you please tell me how to set the path? Could you please explain me in detail? On Mon, Oct 19, 2009 at 8:54 AM, Jeffrey Blattman jeffrey.blatt...@gmail.com wrote: that means the emulator isn't in your path. add $ANDROID_HOME/tools to your path. On 10/18/09 8:22 PM, Niamathullah sharief wrote: Ok...I am using UBUNTU distribution. In that when i try to start an emulator i am getting the following error.. shar...@sharief-desktop:~/Desktop/SDK/android-sdk-linux_x86-1.5_r3/tools$shar...@sharief-desktop:%7E/Desktop/SDK/android-sdk-linux_x86-1.5_r3/tools$emulator -avd sharief bash: emulator: command not found can anyone tell me why it happens? On Sun, Oct 18, 2009 at 6:11 PM, Mark Murphy mmur...@commonsware.com wrote: Niamathullah sharief wrote: Hi i am new to android. I am having some doubt when i tried to do my first project in android. When i select new new project in eclipse. Is ask some details
[android-beginners] Re: Setting proxy on emulator: Unable to open settings.db
it seems you're still stuck on it, right? I am not sure but you should check the folder of the database you are inserting, if it's really available. If you can't change directory to it, so it's possible that your database does not actually exist. Regards + Thanks On Mon, Oct 19, 2009 at 4:18 PM, joareiss joare...@googlemail.com wrote: Thanks for your answer ! I tried the folloing: C:\android-sdk-windows-1.5_r1\toolsadb shell cd /data/data/ com.android.provider s.settings/databases/settings.db cd: can't cd to /data/data/com.android.providers.settings/databases/ settings.db After reading http://developer.android.com/guide/developing/tools/adb.html#sqlite I tried this: C:\android-sdk-windows-1.5_r1\toolssqlite3 /data/data/ com.android.providers.set tings/databases/settings.db SQLite version 3.5.9 Enter .help for instructions sqlite INSERT INTO system VALUES(99,'http_proxy','123.456.789:8080'); Unable to open database /data/data/com.android.providers.settings/ databases/set tings.db: unable to open database file Thank you in advance BR --~--~-~--~~~---~--~~ 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 options, visit this group at http://groups.google.com/group/android-beginners?hl=en -~--~~~~--~~--~--~---
[android-beginners] Re: Android Getting started
Let's get to the eclipse' preference and open android tree tab, you will the android sdk installation path setup, let's fill-in the path. you have to create a new avd too, have you created it yet? regards + thanks On Tue, Oct 20, 2009 at 9:41 AM, Niamathullah sharief android...@gmail.comwrote: yes i already followed this all steps in new project wizard which has 4 steps. After that only i dont know what to do. On Tue, Oct 20, 2009 at 7:52 AM, Jeffrey Blattman jeffrey.blatt...@gmail.com wrote: http://developer.android.com/guide/developing/eclipse-adt.html On 10/19/09 7:20 PM, Niamathullah sharief wrote: Please Can one help me to get start in eclipse. I already installed adt plugin in aclipse. after that what ahouls i do? Please help me to solve this problem. On Mon, Oct 19, 2009 at 11:58 PM, Niamathullah sharief android...@gmail.com wrote: ok. shall i know how to bring this emulator in eclipse? Can anyone help me... On Mon, Oct 19, 2009 at 11:57 PM, Niamathullah sharief android...@gmail.com wrote: yes thank you chaiyasit. Its working fine now.. Thank you On Mon, Oct 19, 2009 at 2:43 PM, Chaiyasit T chaiyasi...@gmail.comwrote: could you show the path you typed this command in to me? just pwd ex: Last login: Mon Oct 19 20:48:07 on ttys000 MacBook-2:~ admin$ pwd /Users/admin MacBook-2:~ admin$ cd /app/android-sdk-mac_x86-1.5_r3/tools MacBook-2:tools admin$ pwd /app/android-sdk-mac_x86-1.5_r3/tools MacBook-2:tools admin$ ./emulator -avd myandroid1.5 regards + thanks On Mon, Oct 19, 2009 at 4:09 PM, Niamathullah sharief android...@gmail.com wrote: See this. Still i am getting the same error message even when i changed as ./emulator *shar...@sharief-desktop:~/Desktop/SDK/android-sdk-linux_x86-1.5_r3$shar...@sharief-desktop:%7E/Desktop/SDK/android-sdk-linux_x86-1.5_r3$export PATH=${PATH}:/home/sharief/Desktop/SDK/android-sdk-linux_x86-1.5_r3/tools/./emulator shar...@sharief-desktop:~/Desktop/SDK/android-sdk-linux_x86-1.5_r3$shar...@sharief-desktop:%7E/Desktop/SDK/android-sdk-linux_x86-1.5_r3$./emulator -avd sharief bash: ./emulator: No such file or directory shar...@sharief-desktop:~/Desktop/SDK/android-sdk-linux_x86-1.5_r3$shar...@sharief-desktop:%7E/Desktop/SDK/android-sdk-linux_x86-1.5_r3$ * On Mon, Oct 19, 2009 at 1:58 PM, Chaiyasit T chaiyasi...@gmail.comwrote: you typed the wrong command let's change *emulaltor -- ./emulator* On Mon, Oct 19, 2009 at 3:20 PM, Niamathullah sharief android...@gmail.com wrote: oops...me too didnt see that. yes i already changed the directory. for your kind reference i will the exact path of my emulator */home/sharief/Desktop/SDK/android-sdk-linux_x86-1.5_r3/path/* i used the following command to set the path * * *export PATH=$PATH:/home/sharief/Desktop/SDK/android-sdk-linux_x86-1.5_r3/tools/emulator * but still i am getting the following error *bash: ./emulaltor: No such file or directory* On Mon, Oct 19, 2009 at 1:44 PM, Chaiyasit T chaiyasi...@gmail.com wrote: Sorry I typed emulator wrong. let's type this: *./emulator -avd sharief* Note: Let's be sure you already change directory to this emulator command like ../tools/... Regards + Thanks On Mon, Oct 19, 2009 at 3:10 PM, Niamathullah sharief android...@gmail.com wrote: if i type that command i am getting the following error message.. * shar...@sharief-desktop:~/Desktop/SDK/android-sdk-linux_x86-1.5_r3$shar...@sharief-desktop:%7E/Desktop/SDK/android-sdk-linux_x86-1.5_r3$./emulaltor -avd sharief bash: ./emulaltor: No such file or directory shar...@sharief-desktop:~/Desktop/SDK/android-sdk-linux_x86-1.5_r3$shar...@sharief-desktop:%7E/Desktop/SDK/android-sdk-linux_x86-1.5_r3$ * what to do? On Mon, Oct 19, 2009 at 1:31 PM, Chaiyasit T chaiyasi...@gmail.com wrote: On unix context, you must type all commands by starting with ./ Ex: ./emulaltor -avd sharief www.codemoibiles.com Regards + Thanks On Mon, Oct 19, 2009 at 2:47 PM, Niamathullah sharief android...@gmail.com wrote: I think i set the path correctly..now i am getting another error shar...@sharief-desktop:/bin$ locate emulator -avd sharief locate: invalid option -- 'a' shar...@sharief-desktop:/bin$ what to do?help me please On Mon, Oct 19, 2009 at 12:46 PM, Niamathullah sharief android...@gmail.com wrote: i tried to set the path. But it seems wrong shar...@sharief-desktop:~$ export PATH-$PATH:/home/sharief/Desktop/SDK/android-sdk-linux_x86-1.5_r3/tools/emulator bash: export: `PATH-/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/home/sharief/Desktop/SDK/android-sdk-linux_x86-1.5_r3/tools/emulator': not a valid identifier shar...@sharief-desktop:~$ can anyone help me to set the exact path.. On Mon, Oct 19, 2009 at 9:20 AM, Niamathullah sharief android...@gmail.com wrote: No jeffrey. There is no android app in Run as.. On Mon, Oct 19, 2009 at 9:07 AM
[android-beginners] Re: Android Getting started
Hi Let's go to the file menu and other and select android project. note: here is my website, if you need to run emulator directly without depedning eclipse, try here http://www.codemobiles.com/forum/viewtopic.php?t=15 regards + thanks On Tue, Oct 20, 2009 at 9:55 AM, Niamathullah sharief android...@gmail.comwrote: yes i already done this and created the new avd.. after that only i am confused On Tue, Oct 20, 2009 at 8:16 AM, Chaiyasit T chaiyasi...@gmail.comwrote: Let's get to the eclipse' preference and open android tree tab, you will the android sdk installation path setup, let's fill-in the path. you have to create a new avd too, have you created it yet? regards + thanks On Tue, Oct 20, 2009 at 9:41 AM, Niamathullah sharief android...@gmail.com wrote: yes i already followed this all steps in new project wizard which has 4 steps. After that only i dont know what to do. On Tue, Oct 20, 2009 at 7:52 AM, Jeffrey Blattman jeffrey.blatt...@gmail.com wrote: http://developer.android.com/guide/developing/eclipse-adt.html On 10/19/09 7:20 PM, Niamathullah sharief wrote: Please Can one help me to get start in eclipse. I already installed adt plugin in aclipse. after that what ahouls i do? Please help me to solve this problem. On Mon, Oct 19, 2009 at 11:58 PM, Niamathullah sharief android...@gmail.com wrote: ok. shall i know how to bring this emulator in eclipse? Can anyone help me... On Mon, Oct 19, 2009 at 11:57 PM, Niamathullah sharief android...@gmail.com wrote: yes thank you chaiyasit. Its working fine now.. Thank you On Mon, Oct 19, 2009 at 2:43 PM, Chaiyasit T chaiyasi...@gmail.comwrote: could you show the path you typed this command in to me? just pwd ex: Last login: Mon Oct 19 20:48:07 on ttys000 MacBook-2:~ admin$ pwd /Users/admin MacBook-2:~ admin$ cd /app/android-sdk-mac_x86-1.5_r3/tools MacBook-2:tools admin$ pwd /app/android-sdk-mac_x86-1.5_r3/tools MacBook-2:tools admin$ ./emulator -avd myandroid1.5 regards + thanks On Mon, Oct 19, 2009 at 4:09 PM, Niamathullah sharief android...@gmail.com wrote: See this. Still i am getting the same error message even when i changed as ./emulator * shar...@sharief-desktop:~/Desktop/SDK/android-sdk-linux_x86-1.5_r3$shar...@sharief-desktop:%7E/Desktop/SDK/android-sdk-linux_x86-1.5_r3$export PATH=${PATH}:/home/sharief/Desktop/SDK/android-sdk-linux_x86-1.5_r3/tools/./emulator shar...@sharief-desktop:~/Desktop/SDK/android-sdk-linux_x86-1.5_r3$shar...@sharief-desktop:%7E/Desktop/SDK/android-sdk-linux_x86-1.5_r3$./emulator -avd sharief bash: ./emulator: No such file or directory shar...@sharief-desktop:~/Desktop/SDK/android-sdk-linux_x86-1.5_r3$shar...@sharief-desktop:%7E/Desktop/SDK/android-sdk-linux_x86-1.5_r3$ * On Mon, Oct 19, 2009 at 1:58 PM, Chaiyasit T chaiyasi...@gmail.com wrote: you typed the wrong command let's change *emulaltor -- ./emulator* On Mon, Oct 19, 2009 at 3:20 PM, Niamathullah sharief android...@gmail.com wrote: oops...me too didnt see that. yes i already changed the directory. for your kind reference i will the exact path of my emulator */home/sharief/Desktop/SDK/android-sdk-linux_x86-1.5_r3/path/* i used the following command to set the path * * *export PATH=$PATH:/home/sharief/Desktop/SDK/android-sdk-linux_x86-1.5_r3/tools/emulator * but still i am getting the following error *bash: ./emulaltor: No such file or directory* On Mon, Oct 19, 2009 at 1:44 PM, Chaiyasit T chaiyasi...@gmail.com wrote: Sorry I typed emulator wrong. let's type this: *./emulator -avd sharief* Note: Let's be sure you already change directory to this emulator command like ../tools/... Regards + Thanks On Mon, Oct 19, 2009 at 3:10 PM, Niamathullah sharief android...@gmail.com wrote: if i type that command i am getting the following error message.. * shar...@sharief-desktop:~/Desktop/SDK/android-sdk-linux_x86-1.5_r3$shar...@sharief-desktop:%7E/Desktop/SDK/android-sdk-linux_x86-1.5_r3$./emulaltor -avd sharief bash: ./emulaltor: No such file or directory shar...@sharief-desktop:~/Desktop/SDK/android-sdk-linux_x86-1.5_r3$shar...@sharief-desktop:%7E/Desktop/SDK/android-sdk-linux_x86-1.5_r3$ * what to do? On Mon, Oct 19, 2009 at 1:31 PM, Chaiyasit T chaiyasi...@gmail.com wrote: On unix context, you must type all commands by starting with ./ Ex: ./emulaltor -avd sharief www.codemoibiles.com Regards + Thanks On Mon, Oct 19, 2009 at 2:47 PM, Niamathullah sharief android...@gmail.com wrote: I think i set the path correctly..now i am getting another error shar...@sharief-desktop:/bin$ locate emulator -avd sharief locate: invalid option -- 'a' shar...@sharief-desktop:/bin$ what to do?help me please On Mon, Oct 19, 2009 at 12:46 PM, Niamathullah sharief android...@gmail.com wrote: i tried to set the path. But it seems wrong shar...@sharief-desktop:~$ export PATH-$PATH:/home/sharief
[android-beginners] Re: How can solve this error? Please help me :)
Hi friend Can you give me your code so that I will review the correctness for you. Regards + Thanks On Mon, Oct 12, 2009 at 11:57 AM, GreenRiver thong.dom...@gmail.com wrote: I installed the older version of Android SDK and ADT but still have that error The method openDatabase(String,null) is underfinded for the type Context. Please help me :) --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Beginners group. To post to this group, send email to android-beginners@googlegroups.com To unsubscribe from this group, send email to android-beginners-unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-beginners?hl=en -~--~~~~--~~--~--~---