Re: [android-developers] Eclipse errors coming out from no where???

2012-05-22 Thread chengdong diao
project-clean, and rebuild.
if still error, project-clean, and restart the Eclipse.


2012/5/22 Fabien R theedge...@free.fr

 On 21/05/12 17:03, Dan Uff wrote:
  Hi all,
  I am developing an Android app and everything was working fine yesterday.
   Now, when I go back into the app, and try to run it, I get the following
  errors:
 
  setContentView(R.layout.contactlanta);
 
 
  [R cannot be resolved or is not a variable]
 
 
 It sounds like the syndrom project-clean...

 --
 You received this message because you are subscribed to the Google
 Groups Android Developers group.
 To post to this group, send email to android-developers@googlegroups.com
 To unsubscribe from this group, send email to
 android-developers+unsubscr...@googlegroups.com
 For more options, visit this group at
 http://groups.google.com/group/android-developers?hl=en


-- 
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Re: [android-developers] AT commands on android emulator

2012-05-21 Thread chengdong diao
echo at  /dev/sdm0
but .usually ,the device name is ttyUSB0,
I used this command in the adb command line. real phone.
2012/5/21 Fotis Ailianos fota...@gmail.com

 Hello,

 Is there any way to send directly AT commands on /dev/sdm0 on Android
 SDK emulator. On real phone it works but I cannot find /dev/smd0 on
 emulator.

 Regards

 --
 You received this message because you are subscribed to the Google
 Groups Android Developers group.
 To post to this group, send email to android-developers@googlegroups.com
 To unsubscribe from this group, send email to
 android-developers+unsubscr...@googlegroups.com
 For more options, visit this group at
 http://groups.google.com/group/android-developers?hl=en

-- 
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Re: [android-developers] AT commands on android emulator

2012-05-21 Thread chengdong diao
I don't know about the emulator.
Does it have a command line in Eclipse?

2012/5/21 Fotis Ailianos fota...@gmail.com

 For the real phone it works. What about the emulator? Is there a modem
 device on emulator?

 Regards

 On Monday, 21 May 2012 11:24:08 UTC+3, dongchengdiao wrote:


 echo at  /dev/sdm0
 but .usually ,the device name is ttyUSB0,
 I used this command in the adb command line. real phone.
 2012/5/21 Fotis Ailianos fota...@gmail.com

 Hello,

 Is there any way to send directly AT commands on /dev/sdm0 on Android
 SDK emulator. On real phone it works but I cannot find /dev/smd0 on
 emulator.

 Regards

 --
 You received this message because you are subscribed to the Google
 Groups Android Developers group.
 To post to this group, send email to android-developers@**
 googlegroups.com android-developers@googlegroups.com
 To unsubscribe from this group, send email to
 android-developers+**unsubscr...@googlegroups.comandroid-developers%2bunsubscr...@googlegroups.com
 For more options, visit this group at
 http://groups.google.com/**group/android-developers?hl=enhttp://groups.google.com/group/android-developers?hl=en


  --
 You received this message because you are subscribed to the Google
 Groups Android Developers group.
 To post to this group, send email to android-developers@googlegroups.com
 To unsubscribe from this group, send email to
 android-developers+unsubscr...@googlegroups.com
 For more options, visit this group at
 http://groups.google.com/group/android-developers?hl=en


-- 
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Re: [android-developers] Re: What can't boot, which delete .git in kernel?

2012-05-15 Thread chengdong diao
如果可以下载非git版的最好。
我对git也不是很熟。如果你删除的是.git的文件夹,估计会出问题的。

2012/5/15 James W. wjn...@gmail.com

 你可以下载,菲git版
 或者将git,导出城tar版

 On Tue, May 15, 2012 at 2:20 PM, wang nungchao nungc...@gmail.com wrote:
  I don't know. I follow TI website to build kernel and generate
  boot.img.
 
  make ARCH=arm uImage
 
  mkbootimg --kernel kernel --ramdisk ramdisk.img --base
 
  I think maybe Makefile of kernel relate with .git, but I can't find.
 
  On 5月15日, 下午12�r09分, chengdong diao diaochengd...@gmail.com wrote:
  after deleted .git,what command have you used?
  maybe some commands related with .git changed the source code.
 
  2012/5/15 wang nungchao nungc...@gmail.com
 
 
 
 
 
 
 
   Because I will commit our svn server, our partners will modify source
   code in our project.
 
   On 5月15日, 上午10�r50分, chengdong diao diaochengd...@gmail.com wrote:
why you delete .git?
 
2012/5/15 wang nungchao nungc...@gmail.com
 
 Hi All
 I use TI platform, and check out source code form TI
 website.(http://
 omappedia.org/wiki/4AI.1.2_OMAP4_Icecream_Sandwich_Release_Notes)
 
 If I delete .git file in kernel and build, I can't booting
 Android.
 
 I trace Makefile in Kernel ,but I haven't search anything about
 git
 key word. So How can I find root cause?
 
 I know if I don't delete .git file, the Kernel Image Name :
 Linux-3.0.21-2-OMAP-Android+ .
 
 If I delete .git file, the Kernel Image Name :
 Linux-3.0.21-2-
 OMAP-Android .
 
 --
 You received this message because you are subscribed to the Google
 Groups Android Developers group.
 To post to this group, send email to
   android-developers@googlegroups.com
 To unsubscribe from this group, send email to
 android-developers+unsubscr...@googlegroups.com
 For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
 
   --
   You received this message because you are subscribed to the Google
   Groups Android Developers group.
   To post to this group, send email to
 android-developers@googlegroups.com
   To unsubscribe from this group, send email to
   android-developers+unsubscr...@googlegroups.com
   For more options, visit this group at
  http://groups.google.com/group/android-developers?hl=en
 
  --
  You received this message because you are subscribed to the Google
  Groups Android Developers group.
  To post to this group, send email to android-developers@googlegroups.com
  To unsubscribe from this group, send email to
  android-developers+unsubscr...@googlegroups.com
  For more options, visit this group at
  http://groups.google.com/group/android-developers?hl=en

 --
 You received this message because you are subscribed to the Google
 Groups Android Developers group.
 To post to this group, send email to android-developers@googlegroups.com
 To unsubscribe from this group, send email to
 android-developers+unsubscr...@googlegroups.com
 For more options, visit this group at
 http://groups.google.com/group/android-developers?hl=en


-- 
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Re: [android-developers] get and set volume of microphone

2012-05-14 Thread chengdong diao
I know in linux ,there is a tool:
amixer


2012/5/15 Ngọc Thủy Đỗ Thị andy.need5sp...@gmail.com

 Hi all! I tried to set the volume of microphone with AudioManager, but
 I'm not able to do that. Is there any way?
 I'm using AudioRecord to record sound from microphone.
 Thanks for help!

 --
 You received this message because you are subscribed to the Google
 Groups Android Developers group.
 To post to this group, send email to android-developers@googlegroups.com
 To unsubscribe from this group, send email to
 android-developers+unsubscr...@googlegroups.com
 For more options, visit this group at
 http://groups.google.com/group/android-developers?hl=en

-- 
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Re: [android-developers] What can't boot, which delete .git in kernel?

2012-05-14 Thread chengdong diao
why you delete .git?

2012/5/15 wang nungchao nungc...@gmail.com

 Hi All
 I use TI platform, and check out source code form TI website.(http://
 omappedia.org/wiki/4AI.1.2_OMAP4_Icecream_Sandwich_Release_Notes)

 If I delete .git file in kernel and build, I can't booting Android.

 I trace Makefile in Kernel ,but I haven't search anything about git
 key word. So How can I find root cause?

 I know if I don't delete .git file, the Kernel Image Name :
 Linux-3.0.21-2-OMAP-Android+ .

 If I delete .git file, the Kernel Image Name : Linux-3.0.21-2-
 OMAP-Android .

 --
 You received this message because you are subscribed to the Google
 Groups Android Developers group.
 To post to this group, send email to android-developers@googlegroups.com
 To unsubscribe from this group, send email to
 android-developers+unsubscr...@googlegroups.com
 For more options, visit this group at
 http://groups.google.com/group/android-developers?hl=en

-- 
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Re: [android-developers] Re: What can't boot, which delete .git in kernel?

2012-05-14 Thread chengdong diao
after deleted .git,what command have you used?
maybe some commands related with .git changed the source code.

2012/5/15 wang nungchao nungc...@gmail.com

 Because I will commit our svn server, our partners will modify source
 code in our project.

 On 5月15日, 上午10時50分, chengdong diao diaochengd...@gmail.com wrote:
  why you delete .git?
 
  2012/5/15 wang nungchao nungc...@gmail.com
 
 
 
 
 
 
 
   Hi All
   I use TI platform, and check out source code form TI website.(http://
   omappedia.org/wiki/4AI.1.2_OMAP4_Icecream_Sandwich_Release_Notes)
 
   If I delete .git file in kernel and build, I can't booting Android.
 
   I trace Makefile in Kernel ,but I haven't search anything about git
   key word. So How can I find root cause?
 
   I know if I don't delete .git file, the Kernel Image Name :
   Linux-3.0.21-2-OMAP-Android+ .
 
   If I delete .git file, the Kernel Image Name : Linux-3.0.21-2-
   OMAP-Android .
 
   --
   You received this message because you are subscribed to the Google
   Groups Android Developers group.
   To post to this group, send email to
 android-developers@googlegroups.com
   To unsubscribe from this group, send email to
   android-developers+unsubscr...@googlegroups.com
   For more options, visit this group at
  http://groups.google.com/group/android-developers?hl=en

 --
 You received this message because you are subscribed to the Google
 Groups Android Developers group.
 To post to this group, send email to android-developers@googlegroups.com
 To unsubscribe from this group, send email to
 android-developers+unsubscr...@googlegroups.com
 For more options, visit this group at
 http://groups.google.com/group/android-developers?hl=en


-- 
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

[android-developers] How to get the network type from the adb command line ?

2012-04-13 Thread chengdong diao
Hi ,
I have add a 3g module to android 2.3. and it showed a G at the top
of the screen .
but I remembered the 3g network will show the 3G . I don't know how
to get the network type on my board.
Can you tell me ?

-- 
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Re: [android-developers] File encryption using AES

2012-01-19 Thread chengdong diao
It seams like you encrypted the files as one file .
maybe you can stop  the encryption after one file is encrypted ,and restart
the encryption when the followed  file comes in.

sorry for my poor english .

2012/1/17 chander mohan.c...@gmail.com

 Hi all,

 I am making a File encryption application,i am using AES encryption
 for doing this. In this, i listed all files stored on the SD card and
 then i gave a checkbox infront of files.

 1- User can select multiple files and on clicking ENCRYPT, these files
 will be encrypted in .enc format, i am storing files for passing
 into encryption algorithm in an Array List.

 2- But now i am decrypting the files in reverse order, i have to
 decrypt all files which are selected by user from .enc extension to
 their orignal extension. how i can move forward to do this, tell me
 the best way for doing decryption here?

 i am confused here at this point, how i decrypt to orignal extension.
 Please suggest me the way so that i can move forward.

 Thanks

 --
 You received this message because you are subscribed to the Google
 Groups Android Developers group.
 To post to this group, send email to android-developers@googlegroups.com
 To unsubscribe from this group, send email to
 android-developers+unsubscr...@googlegroups.com
 For more options, visit this group at
 http://groups.google.com/group/android-developers?hl=en

-- 
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Re: [android-developers] Problem in getting Android source code from Google repo

2011-11-13 Thread chengdong diao
see the http://source.android.com   dowload ,
the url has changed

2011/11/11 srinivasan shanmugam srinivasan@gmail.com

 Hi,

 As specified in the
 i.MX Android R9.4 User Guide

 in section
 2. Build Android for i.MX
 2.1 Get Android Source Code (Android/Kernel/U-Boot)

 While getting the Android source code from Google repo, wen i was
 executing the  following step:

 ubuntu@ubuntu-laptop:~/myandroid$ ./repo init -u
 git://android.git.kernel.org/platform/manifest.git -b android-2.2.1_r1



 I was facing the below problem while downloading the android-2.2.1_r1
 in the terminal window  of ubuntu


 Getting manifest ...
   from git://android.git.kernel.org/platform/manifest.git
 android.git.kernel.org[0: 149.20.4.77]: errno=Connection refused
 fatal: unable to connect a socket (Connection refused)
 fatal: cannot obtain manifest git://
 android.git.kernel.org/platform/manifest.git
 ubuntu@ubuntu-laptop:~/myandroid$



 Could ne body pls kindly do the needful in resolving the above issue
 so that i can proceed further



 ne help would be greatly appreciated



 Awaiting for your replies

 Thanks!

 Srinivasan

 mail id:srinivasan@gmail.com

 --
 You received this message because you are subscribed to the Google
 Groups Android Developers group.
 To post to this group, send email to android-developers@googlegroups.com
 To unsubscribe from this group, send email to
 android-developers+unsubscr...@googlegroups.com
 For more options, visit this group at
 http://groups.google.com/group/android-developers?hl=en

-- 
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en