Re: [android-developers]

2012-07-12 Thread Vijay Krishnan
yes i know about location listener.my need is whenever my location changes
i want to update it to my server.Is this possible by using service.


On Thu, Jul 12, 2012 at 3:59 PM, pushpa nc nc.pus...@gmail.com wrote:

 Use Locationlistener class to get the location info and upload the data to
 server when location changes. Refer the below link.


 http://developer.android.com/reference/android/location/LocationListener.html


 On Thu, Jul 12, 2012 at 3:54 PM, Vijay Krishnan 
 vijay.vijay...@gmail.comwrote:

 Hi all,
 I want to update my phone location to the server whenever
 location changes.How should i do this?  Is using a service the best way to
 do this?

 Thanks,
 vijay.k

 --
 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]

2012-07-12 Thread Vijay Krishnan
Hi all,
I couldn't install helper libraries for Google Cloud Messaging.

Thanks,
vijay.k

-- 
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]

2012-07-11 Thread Vijay Krishnan
Hi all,
 Anyone know about push notifications, share ur ideas.

Thanks,
vijay.k

-- 
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]

2012-07-10 Thread Vijay Krishnan
Hi all,
 I want to know about push notifications in android.Anyone help on
this.

Thanks,
vijay.k

-- 
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] Call the functions of *.SO from JAVA

2012-07-05 Thread Vijay Krishnan
using java native interface,we can call the function in c or c++.

On Thu, Jul 5, 2012 at 12:12 PM, HideCheck hidech...@gmail.com wrote:

 Hi chainz

 #put .so file.

 eclipse project/libs/armeabi/xxx.so

 #add code

 private native void [method name](args..);


 static {
 System.loadLibrary(so file name);
 }

 Best Regards,

 2012/7/5 chainz roid sangilikumar.muniya...@marudham.co.in:
  Hi everyone
 
 I'm working in ICS and I'm developing own android device.
 Well i
  have vcfsclint.so file its contains more functions.(Ex. EnrollUser,
  IdentifUser etc,..) I want to call this functions from my java
 application.
 
Regarding this where i have to add this .SO file and how can i
  call those function from my java application any one can suggest 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

 --
 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]

2012-06-27 Thread Vijay Krishnan
Hi all,
I have been developing some OCR(Optical Character Recognition)
app.So,i want to process the image and remove the noise on the surface.If
anyone knows about image processing,share ur knowledge.

Thanks,
vijay.k

-- 
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]

2012-06-27 Thread Vijay Krishnan
Hi all,
I have been developing some OCR(Optical Character Recognition)
app.So,i want to process the image and remove the noise on the surface.If
anyone knows about image processing,share ur knowledge.

Thanks,
vijay.k

-- 
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] Dynamic Table layout

2012-06-26 Thread Rahul Vijay
In a last message,

I have display a table in a dynamic way. table header like Name, score  and
time and table row are Ram ,5, 2:15 and again print a another row in
similar way. Yes it is display in a emulator. But it can not display in a
device.

I check it data can show logcat when I run application in a device using a
system.out.println. it show a data. But it cannot show a table in a device.
Also show a xml data in a textview.
No problem in a xml.

whats problem, I can never understand.

-- 
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]

2012-06-26 Thread Vijay Krishnan
Hi all,
 How to resolve the java.lang.OutOfMemoryError while calling
BitmapFactory.decodeStream(stream).

Thanks,
vijay.k

-- 
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]

2012-06-26 Thread Vijay Krishnan
this error occurs when i read the stream for the second time

On Tue, Jun 26, 2012 at 8:15 PM, Francisco M. Marzoa Alonso 
fmmar...@gmail.com wrote:

 Greetings,

 I have had a lot of those.

 You can reduce the sampling as told by Justin, and also use less bits
 per pixel: default is ARGB_, but you have also ARGB_ and
 ARGB_565. You should now anyway that use of ARGB_ is discouraged
 because it may generate a really bad quality output in some cases. I was
 using it to save memory but I have found that several images, specially
 those that includes gradients, looks really ugly in that mode.

 Anyway the BEST way to solve this is to make a more rational use of the
 available memory.

 I used to load ALL my application bitmaps into static members of a class
 at app loading, so they were available for the rest of the session. It
 was not a problem on my first app version, but the app grew and I
 started to have OutOfMemoryError exceptions in some devices.

 So what I do now is freeing those bitmaps that I do not need for a
 while, and load those needed by demand.

 For example, if you have a game with a main menu and a Play button,
 there is no reason to:

 a) Load game bitmaps before the user touches Play button.
 b) Keep main menu bitmaps in memory after the user touches Play button.

 So my advice is to review your code and try to load/recycle bitmaps as
 needed in each different application screen or state.

 Best regards,



 On 26/06/12 14:54, Vijay Krishnan wrote:
  Hi all,
   How to resolve the java.lang.OutOfMemoryError while calling
  BitmapFactory.decodeStream(stream).
 
  Thanks,
  vijay.k
 


 --
 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]

2012-06-25 Thread Vijay Krishnan
Hi all,
   I have eng.traineddata file in my assets directory(inside
tessdata).I got input stream from
assetmanager.open(tessdata/eng.traineddata).when i read input stream
,FileNotFoundException occurs.

Thanks,
vijay.k

-- 
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]

2012-06-25 Thread Vijay Krishnan
this code works for galaxy nexus,but it won't work for  samsung s3.

On Mon, Jun 25, 2012 at 5:03 PM, asheesh arya asheesharya...@gmail.comwrote:

 import all external jar!!

  --
 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] Score Sorting

2012-06-23 Thread Rahul Vijay
Hello Sir,

my question is, in a database some filed
Attempt_id,(Autogenerated),Test_id(foregin key),user_name(varchar),
score(double), time(varchar).
Store a data in a table. I am performed sorting a score, if high score in a
top  lowest score is boottom. and again enter a new high score or
different score, sorting according by time wise. I means table is sorted by
time. if user performed minimum time he reach in a top.

Thank you

-- 
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]

2012-06-21 Thread Vijay Krishnan
how to relocate it?

On Thu, Jun 21, 2012 at 12:43 PM, asheesh arya asheesharya...@gmail.comwrote:

 try to relocate the location of file accurate.

  --
 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]

2012-06-21 Thread Vijay Krishnan
i have connected the device to my PC and checking in my PC.

On Thu, Jun 21, 2012 at 12:04 PM, Harri Smått har...@gmail.com wrote:

 On Jun 21, 2012, at 8:29 AM, Vijay Krishnan wrote:
  but i couldn't able to see that file in my mobile

 Are you using DDMS on host PC - or Gallery/My Files or some other
 application on your phone for checking?

 --
 H

 --
 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]

2012-06-21 Thread Vijay Krishnan
Hi all,
How to exit from the application when backbutton is pressed?

Thanks,
vijay.k

-- 
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]

2012-06-21 Thread Vijay Krishnan
when i call finish(), previous activity is called.

On Thu, Jun 21, 2012 at 7:35 PM, Justin Anderson magouyaw...@gmail.comwrote:

 Call finish()

 Thanks,
 Justin Anderson
 MagouyaWare Developer
 http://sites.google.com/site/magouyaware



 On Thu, Jun 21, 2012 at 7:52 AM, Vijay Krishnan 
 vijay.vijay...@gmail.comwrote:

 Hi all,
 How to exit from the application when backbutton is pressed?

 Thanks,
 vijay.k

 --
 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]

2012-06-20 Thread Vijay Krishnan
Hi all,
i can create and write a file in my android phone,but i couldn't
able to see that file in my mobile.I have given the path as
/mnt/sdcard/Pictures/myfile.bmp.Any one help on this.

Thanks,
vijay.k

-- 
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]

2012-06-15 Thread Vijay Krishnan
Hi all,
 How to call another activity when i press the back button.

Thanks,
vijay.k

-- 
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]

2012-06-14 Thread Vijay Krishnan
Hi all,
 After starting a activity,i want to do some task in
background.After finishing the task,i want to call another activity.How to
do this?

Thanks,
vijay.k

-- 
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]

2012-06-14 Thread Vijay Krishnan
Hi all,
I am using tesseract-3.00 for my android OCR application.But the
accuracy of the text is 90%.I have tried using tesseract-3.01 and i was
unable to compile the source.Is any one used tesseract-3.00 .Give ur
suggestion.

Thanks,
vijay.k

-- 
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]

2012-06-14 Thread Vijay Krishnan
Rahul,
 I had done these things.Problem is that i couldn't view that image.

Thanks,
vijay.k

On Wed, Jun 13, 2012 at 7:22 PM, Rahul Radhakrishnanunnithan K 
rahu...@whiteovaltechnologies.com wrote:

 Refer this link i think that its useful for you

 http://developer.android.com/resources/samples/ApiDemos/src/com/example/android/apis/graphics/CameraPreview.html

 --
 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]

2012-06-14 Thread Vijay Krishnan
Hi all,

I am unable to compile the tesseract-3.01 for my ocr application.If
anybody having knowledge in this,share it.

Thanks,
vijay.k

-- 
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]

2012-06-13 Thread Vijay Krishnan
Hi all,
I could not save my image in phone.Here is my code

 Bitmap imageMap=BitmapFactory.decodeByteArray(data,0,data.length);
 File root = Environment.getExternalStorageDirectory();
File f1 = new File(root.getAbsolutePath()+/DCIM/Camera/,image.jpeg);
FileOutputStream fos=new FileOutputStream(f1);
   imageMap.compress(Bitmap.CompressFormat.JPEG,85,fos);
   fos.flush();
   fos.close();
   Anyone help on this

Thanks,
vijay.k

-- 
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]

2012-06-13 Thread Vijay Krishnan
no.that is for creating thumnail.

On Wed, Jun 13, 2012 at 12:01 PM, vaibs malviya
vaibs.malviy...@gmail.comwrote:

 try this

 *MediaStore.Images.Media.insertImage(getContentResolver(), yourBitmap, 
 yourTitle , yourDescription)*


 On Wed, Jun 13, 2012 at 11:52 AM, Vijay Krishnan vijay.vijay...@gmail.com
  wrote:

 Hi all,
 I could not save my image in phone.Here is my code

  Bitmap
 imageMap=BitmapFactory.decodeByteArray(data,0,data.length);
  File root = Environment.getExternalStorageDirectory();
 File f1 = new
 File(root.getAbsolutePath()+/DCIM/Camera/,image.jpeg);
 FileOutputStream fos=new FileOutputStream(f1);
imageMap.compress(Bitmap.CompressFormat.JPEG,85,fos);
fos.flush();
fos.close();
Anyone help on this

 Thanks,
 vijay.k

 --
 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]

2012-06-13 Thread Vijay Krishnan
Hi all,
I am getting the following runtime exception while using camera
intent

  java.lang.RuntimeException: failure delivering result resultinfo
{who=null request=0 result=-1 data=null}

Thanks,
vijay.k

-- 
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]

2012-06-13 Thread Vijay Krishnan
hi raghav,
 Here is my code
File root =
Environment.getExternalStoragePublicDirectory(Environment.DIRECTORY_PICTURES);
   File f1 = new
File(root.getPath()+File.separator+image.jpeg);
   FileOutputStream fos=new FileOutputStream(f1);
boolean
imgCompress=bitmap.compress(Bitmap.CompressFormat.JPEG,85,fos);
 fos.flush();
fos.close();
 I am trying to save the file under Pictures directory,but i
could not see the file in that directory.And,no exception occurs.
Thanks,
vijay.k

On Wed, Jun 13, 2012 at 6:26 PM, Raghav Sood raghavs...@gmail.com wrote:

 What have you tried so far? What is the error/exception you are getting.

 Also, you should generally wait at least 48 hours before bumping your post.


 On Wed, Jun 13, 2012 at 6:19 PM, Vijay Krishnan 
 vijay.vijay...@gmail.comwrote:

 Hi all,
   I could not save the image taken from my app in my phone.Anyone
 help on this.
 Thanks,
 vijay.k

 --
 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




 --
 Raghav Sood
 Please do not email private questions to me as I do not have time to
 answer them. Instead, post them to public forums where others and I can
 answer and benefit from them.
 http://www.appaholics.in/ - Founder
 http://www.apress.com/9781430239451 - Author
 +91 81 303 77248

 --
 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]

2012-06-13 Thread Vijay Krishnan
raghav,
  i had included this line uses-permission
android:name=android.permission.WRITE_EXTERNAL_STORAGE/ in my
AndroidManifest.xml.But it doesn't work.

On Wed, Jun 13, 2012 at 6:52 PM, Raghav Sood raghavs...@gmail.com wrote:

 Do you have permission to write to the SD Card?


 On Wed, Jun 13, 2012 at 6:50 PM, Vijay Krishnan 
 vijay.vijay...@gmail.comwrote:

 hi raghav,
  Here is my code
 File root =
 Environment.getExternalStoragePublicDirectory(Environment.DIRECTORY_PICTURES);
File f1 = new
 File(root.getPath()+File.separator+image.jpeg);
FileOutputStream fos=new FileOutputStream(f1);
 boolean
 imgCompress=bitmap.compress(Bitmap.CompressFormat.JPEG,85,fos);
  fos.flush();
 fos.close();
  I am trying to save the file under Pictures directory,but i
 could not see the file in that directory.And,no exception occurs.
 Thanks,
 vijay.k

 On Wed, Jun 13, 2012 at 6:26 PM, Raghav Sood raghavs...@gmail.comwrote:

 What have you tried so far? What is the error/exception you are getting.

 Also, you should generally wait at least 48 hours before bumping your
 post.


 On Wed, Jun 13, 2012 at 6:19 PM, Vijay Krishnan 
 vijay.vijay...@gmail.com wrote:

 Hi all,
   I could not save the image taken from my app in my
 phone.Anyone help on this.
 Thanks,
 vijay.k

 --
 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




 --
 Raghav Sood
 Please do not email private questions to me as I do not have time to
 answer them. Instead, post them to public forums where others and I can
 answer and benefit from them.
 http://www.appaholics.in/ - Founder
 http://www.apress.com/9781430239451 - Author
 +91 81 303 77248

 --
 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




 --
 Raghav Sood
 Please do not email private questions to me as I do not have time to
 answer them. Instead, post them to public forums where others and I can
 answer and benefit from them.
 http://www.appaholics.in/ - Founder
 http://www.apress.com/9781430239451 - Author
 +91 81 303 77248

 --
 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]

2012-06-13 Thread Vijay Krishnan
Raghav,
Inside manifest tag and above the application tag

On Wed, Jun 13, 2012 at 7:01 PM, Raghav Sood raghavs...@gmail.com wrote:

 Where did you put it in your manifest?


 On Wed, Jun 13, 2012 at 6:56 PM, Vijay Krishnan 
 vijay.vijay...@gmail.comwrote:

 raghav,
   i had included this line uses-permission
 android:name=android.permission.WRITE_EXTERNAL_STORAGE/ in my
 AndroidManifest.xml.But it doesn't work.


 On Wed, Jun 13, 2012 at 6:52 PM, Raghav Sood raghavs...@gmail.comwrote:

 Do you have permission to write to the SD Card?


 On Wed, Jun 13, 2012 at 6:50 PM, Vijay Krishnan 
 vijay.vijay...@gmail.com wrote:

 hi raghav,
  Here is my code
 File root =
 Environment.getExternalStoragePublicDirectory(Environment.DIRECTORY_PICTURES);
File f1 = new
 File(root.getPath()+File.separator+image.jpeg);
FileOutputStream fos=new FileOutputStream(f1);
 boolean
 imgCompress=bitmap.compress(Bitmap.CompressFormat.JPEG,85,fos);
  fos.flush();
 fos.close();
  I am trying to save the file under Pictures directory,but
 i could not see the file in that directory.And,no exception occurs.
 Thanks,
 vijay.k

 On Wed, Jun 13, 2012 at 6:26 PM, Raghav Sood raghavs...@gmail.comwrote:

 What have you tried so far? What is the error/exception you are
 getting.

 Also, you should generally wait at least 48 hours before bumping your
 post.


 On Wed, Jun 13, 2012 at 6:19 PM, Vijay Krishnan 
 vijay.vijay...@gmail.com wrote:

 Hi all,
   I could not save the image taken from my app in my
 phone.Anyone help on this.
 Thanks,
 vijay.k

 --
 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




 --
 Raghav Sood
 Please do not email private questions to me as I do not have time to
 answer them. Instead, post them to public forums where others and I can
 answer and benefit from them.
 http://www.appaholics.in/ - Founder
 http://www.apress.com/9781430239451 - Author
 +91 81 303 77248

 --
 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




 --
 Raghav Sood
 Please do not email private questions to me as I do not have time to
 answer them. Instead, post them to public forums where others and I can
 answer and benefit from them.
 http://www.appaholics.in/ - Founder
 http://www.apress.com/9781430239451 - Author
 +91 81 303 77248

 --
 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




 --
 Raghav Sood
 Please do not email private questions to me as I do not have time to
 answer them. Instead, post them to public forums where others and I can
 answer and benefit from them.
 http://www.appaholics.in/ - Founder
 http://www.apress.com/9781430239451 - Author
 +91 81 303 77248

 --
 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

[android-developers]

2012-06-12 Thread Vijay Krishnan
Hi all,
I am using tesseract-3.00 and leptonlib-1.66 for android,it is
working.But,i want to compile tesseract-3.01 and leptonlib-1.68.While
trying to compile,it shows some error from Android.mk file.Help on creating
the Android.mk file.

Thanks,
vijay.k

-- 
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]

2012-06-11 Thread Vijay Krishnan
Hi all,
How to load images from gallery in my app.
Thanks,
vijay.k

-- 
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]

2012-06-11 Thread Vijay Krishnan
Thank U Harri


On Mon, Jun 11, 2012 at 6:44 PM, Harri Smått har...@gmail.com wrote:

 Check gallery Intent. Shouln't be a problem to find example code.

 --
 H
 On Jun 11, 2012 4:00 PM, Vijay Krishnan vijay.vijay...@gmail.com
 wrote:

 Hi all,
 How to load images from gallery in my app.
 Thanks,
 vijay.k

  --
 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]

2012-06-11 Thread Vijay Krishnan
i want to load images from gallery without using gallery intent

On Mon, Jun 11, 2012 at 6:45 PM, Vijay Krishnan vijay.vijay...@gmail.comwrote:

 Thank U Harri


 On Mon, Jun 11, 2012 at 6:44 PM, Harri Smått har...@gmail.com wrote:

 Check gallery Intent. Shouln't be a problem to find example code.

 --
 H
 On Jun 11, 2012 4:00 PM, Vijay Krishnan vijay.vijay...@gmail.com
 wrote:

 Hi all,
 How to load images from gallery in my app.
 Thanks,
 vijay.k

  --
 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]

2012-06-11 Thread Vijay Krishnan
Hi all,
I am developing OCR application,so that i want to take clear
picture of business cards.Anyone help on taking a clear picture.

Thanks,
vijay.k

-- 
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]

2012-06-08 Thread Vijay Krishnan
Hi all,
I am using tesseract ocr for converting image to text.while passing
the image ,i didn't get recognized text.Any one help on this.

Thanks,
vijay.k

-- 
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]

2012-06-08 Thread Vijay Krishnan
Hi all,
   Could anyone tell me the way to extract text from image in android.

Thanks,
vijay.k

-- 
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]

2012-06-08 Thread Vijay Krishnan
what about tesseract?


On Fri, Jun 8, 2012 at 7:01 PM, Mark Murphy mmur...@commonsware.com wrote:

 On Fri, Jun 8, 2012 at 9:22 AM, Vijay Krishnan vijay.vijay...@gmail.com
 wrote:
 Could anyone tell me the way to extract text from image in
 android.

 The same way you extract text from image anywhere else: use OCR.
 There is no OCR capability as part of the Android OS, so you will need
 a third-party solution, most likely an expensive commercial one.

 --
 Mark Murphy (a Commons Guy)
 http://commonsware.com | http://github.com/commonsguy
 http://commonsware.com/blog | http://twitter.com/commonsguy

 Android Training... At Your Office: http://commonsware.com/training

 --
 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]

2012-06-06 Thread Vijay Krishnan
Hi all,
  How to get clear picture?

Thanks,
vijay.k

-- 
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]

2012-06-05 Thread Vijay Krishnan
Hi all,
I am using tesseract ocr android tool for card reader
application.Here is my code

   TessBaseAPI baseApi = new TessBaseAPI();
 baseApi.setDebug(true);
 baseApi.setPageSegMode(TessBaseAPI.PSM_SINGLE_LINE);
 baseApi.init(DATA_PATH,eng);
 baseApi.setImage(cropBitImage);
 String mRecognizedText = baseApi.getUTF8Text();

  I am getting this error Bitmap functions not available ; library must be
compiled under android-8 NDK.Any one help on this.

-- 
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]

2012-06-04 Thread Vijay Krishnan
Hi all,
   I want to use tesseract ocr android tool in my app.Anyone help on
using this tool.

Thanks,
vijay.k

-- 
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 with Bluetooth after NFC Handover

2012-05-29 Thread vijay Badawadagi
try to connect via reflection, can solve the problem like below
m = mmDevice.getClass().getMethod(createInsecureRfcommSocket, new
Class[]{int.class});
tmp = (BluetoothSocket)m.invoke(mmDevice, Integer.valueOf(1));


Thanks
Vijay

On Tue, May 29, 2012 at 12:54 PM, Alexei Tchervinsky 
alexey.tchervin...@gmail.com wrote:

 Hi all,

 I have NFC-enabled headset Nokia BH-505 and NFC-enabled smartphone Samsung
 Nexus S. I am writing Android Java application to connect the devices via
 NFC for later Bluetooth connection,

 NFC Static Handover pass ok, but  Bluetooth connect() from phone to
 headset fails with Service Discovery Failure exception.

 Does anybody have a similar experience to discuss my problem in more
 details?

 Any help will be greatly appreciated.

 Thanks in advance,
 Alexei

  --
 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: Mobile to Mobile remote access

2012-05-23 Thread vijay Badawadagi
I was reading this thread out of curiosity :)
then i thought can we not ui cloning feature of wifi direct. With an
additional app to send co-ordinates of the clicks to the listener on the
other side over an RF comm using BT?

just wild guess apologies if its is completely out of context.


Thanks
Vijay

On Tue, Mar 27, 2012 at 9:52 AM, Kristopher Micinski krismicin...@gmail.com
 wrote:

 On Tue, Mar 27, 2012 at 10:50 AM, MadihaKhalid tears.blos...@gmail.com
 wrote:
  Alright.
  Any other solutions
  do you have ?
  Do you thing it can be implement by using any other trick.?
 
 

 If it can be implemented by using a trick then the android platform
 is severely broken, and I'm going to write this as malware so that I
 can control my enemies' phones.

 Kris

 --
 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] Is there a way to Bypass bluetooth and play directly through phone speakers

2012-05-14 Thread vijay Badawadagi
check Audio policy manager in Android, there is priority based routing
changing that should help


Thanks
Vijay

On Mon, May 14, 2012 at 3:23 PM, Tommy Hartz droi...@gmail.com wrote:

 Hi,

 ** **

 I was wondering if it is possible to play audio through the phone speakers
 while a Bluetooth headset is connected. It is important that this audio is
 played through the phone rather than the Bluetooth incase the Bluetooth is
 not in the persons ear.

 ** **

 Thanks in advance,

 ** **

 Tommy

 --
 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] Using a Handler to create a timer

2012-04-11 Thread Rahul Vijay
Hi, android developer
I am facing a new problem.
I am create a handler using a thread  thread.start method to start a
thread,but i am not develop a timer.
Suppose given time is 45 mintus, my timer is start  after 45 mintus
current activity is automatically stoped.

-- 
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] CountDownTimer

2012-04-06 Thread Rahul Vijay
Hi Developer,
Please give me a suggestion,how to develop a count downtimear application
using a sqlite database.
suppose, in a database 45 min, I have countdown time in 45 min then
automatically terminate application.


Thank you

-- 
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] Find The Position of Radio Button

2012-04-05 Thread Rahul Vijay
I have 4 Radio button in a radio group. They are all arrange in vertical
order.
0 option1
0 option2
0 option3
0 option4 like that
I am find it, select any one of the radio button,it give the position.
like that,I have click option3,so it give me corresponding 3 position.
Again I am click option2 it give me corresponding position 2.
and also de- selected option button to click button.

-- 
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] Dynamic check box

2012-03-29 Thread Rahul Vijay
Hi, Friends
I have a new problem,
how to to generate a dynamic checkbox as well as fiind each checkbox
id(Position of checkbox)
for example- There are 4 checkbox in AVD click any one of Checkbox or one
or more check box . it generate a corresponding checked id(position)
Suppose I am select first Check box, it generate 1
suppose I am select first  third check box it generate 1  3

-- 
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] R cannot be resolved to a variable error in intro example code

2012-03-22 Thread Rahul Vijay
On Thu, Mar 22, 2012 at 10:32 PM, Justin Anderson magouyaw...@gmail.comwrote:

 Do you have a file called res/layout/main.xml in your project?

 Thanks,
 Justin Anderson
 MagouyaWare Developer
 http://sites.google.com/site/magouyaware



 On Thu, Mar 22, 2012 at 11:00 AM, firebreather 
 michaelirvingbr...@gmail.com wrote:

   when i try to run the intro example hello world code i get the error

 message R cannot be resolved to a variable, for the
 setContentView(R.layout.main) line of the intro code. since this bug
 is the the android adt's own intro example code everyone would
 encounter this error starting out, and when i do i google search of R
 cannot be resolved to a variable error i get 61,600,000 results of
 newbies running into the same bug as me starting out. there havent
 been many anwers though. one suggestion was:

 While going through the Android sample tutorials, I would often use
 the Ctrl + Shift + O command to Organize Imports and generate any
 missing import statements. Sometimes this would generate the incorrect
 import statement which would hide the R.java class that is
 automatically generated when you build.

 typing Ctrl + Shift + O does indeed make a hidden import
 android.R; command suddenly appear in the example hello world code.
 however, just commenting this out doesnt solve anything, it still
 gives the R cannot be resolved to a variable message and wont
 compile. typing Ctrl + Shift + O again just makes the hidden import
 android.R; message appear again.

 youd think since this is there own hello world example code they'd
 have this bug fixed or addressed.

 --
 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



Remove Import R.layout package in java file  build a project.

-- 
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 display countdowntime with a scroll bar

2012-03-13 Thread Rahul Vijay
Hi,
I am new some problem,I'm not getting text as scroll bar to display
a remaining time.

-- 
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] bluetooth porting, hciattach

2012-03-11 Thread vijay Badawadagi
you will need the hciattach service anyway.
but i believe the hciattach needs to be started something like this


service hciattach /system/bin/hciattach /dev/ttyUSB0 .

so insead of ttys dev node it will be ttyUSB dev node

Thanks
Vijay

On Fri, Mar 9, 2012 at 7:24 AM, enming xie enming@utbm.fr wrote:

 Hello,
Everyone.
I am now doing the Bluetooth porting on Android 4.0.3 for a
 board of Freescale.
The Bluetooth dongle(adapter) is Sitecom USB bluetooth2.0
 class 1 dongle CN-521 with the main chip CSR BC04 (Cambridge
 Silicon Radio Ltd. BlueCore 04) in it.
I read on the Internet some topics about the porting of
 BLuetooth on Android, they say the  hciattach  daemon  should be set
 up.
A bit like this:
service hciattach /system/bin/hciattch -n -s 115200 /dev/ttyS2
 bitecom 115200
user bluetooth
group bluetooth net_bt_admin
disabled

But the hciattach is for the UART serial (Hciattach is used to
 attach a serial UART to  the  Bluetooth  stack  as  HCI  transport
 interface.), right?
 Now the BT adapter is USB mode, so can I still use the
 hciattach to do the same job? or should I use some else service?
Thank you very much!

 Sincerely

 Enming XIE

 --
 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] Expanding Galaxy?

2012-03-09 Thread vijay Badawadagi
I am not sure but try looking at this code may help you to get rid of the
status bar on tablet.
TabletStatusBar.java


On Fri, Mar 9, 2012 at 8:28 AM, bob b...@coolfone.comze.com wrote:

 It is running Android 3.1, so I guess there's nothing I can do?
 Strangely, that function is available in API 11, but the parameters are not
 available till API 14.

 I tried passing in a 0 and 1, but neither did anything.

 Thanks.

 On Thursday, March 8, 2012 11:58:22 AM UTC-8, Mark Murphy (a Commons Guy)
 wrote:

 On Thu, Mar 8, 2012 at 2:50 PM, bob b...@coolfone.comze.com wrote:
  I have the Samsung Galaxy Tab 10.1, and it has a status bar at the
 bottom of
  the screen with the Back, Home, Menu, and Screen Capture button.  Is
 there a
  reasonable way to hide this to play a movie back in complete fullscreen?

 No. See Controls for system UI visibility on:

 http://developer.android.com/**sdk/android-4.0.htmlhttp://developer.android.com/sdk/android-4.0.html

 In short: you can hide it on phones, not tablets (via
 setSystemUiVisibility()), though you can dim it on tablets.

 --
 Mark Murphy (a Commons Guy)
 http://commonsware.com | http://github.com/commonsguy
 http://commonsware.com/blog | http://twitter.com/commonsguy

 Android Training in NYC: 
 http://marakana.com/training/**android/http://marakana.com/training/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

[android-developers] How to get contacts that user either deleted or updated from device contact list in android

2012-02-15 Thread vijay kher
Hi,

I wants  the contact that is either deleted or updated  from device
contact list  by user.


I have try with Content Observer  and notice that onChange() method is
called  with one boolean parameter when contact is either added or
deleted from contacts list.But not able to get contact that is either
deleted or updated.

So is there any listener in android for  getting contact  that is
either deleted or updated by user in device contacts list or any
action fired from system .

please help me

Thanks in advance

-- 
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] Re: How to get outgoing call status

2012-02-15 Thread vijay kher
 Try this 

 TelephonyManager telephonyManager 
=(TelephonyManager)getSystemService(Context.TELEPHONY_SERVICE);

  telephonyManager.listen(new MyPhonestateListener(), 
PhoneStateListener.LISTEN_CALL_STATE);

private class MyPhonestateListener extends PhoneStateListener
{

@Override
public void onCallStateChanged(int state, String incomingNumber) 
{
super.onCallStateChanged(state, incomingNumber);

switch (state) 
{
case TelephonyManager.CALL_STATE_IDLE:

break;

case TelephonyManager.CALL_STATE_OFFHOOK:

break;

case TelephonyManager.CALL_STATE_RINGING:

break;
default:
break;
}


}

may you get some 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

[android-developers] please help to find out deleted or updated contact in android device contact list

2012-02-15 Thread vijay kher
Hi ,

I wants to get contact that is either deleted or updated by user in device 
contact list.

For that i have try with content observer and notice that its onChange() 
method is called  with one boolean parameter when any contact is added or 
deleted.But does not give any information regarding that contact.

So is there any listener in android for getting contact information that is 
either deleted or updated by user in device contact list or any action 
fired from system.

Thanks in advance,

-- 
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] Re: Unable to execute Bluetooth HDP Demo

2012-01-23 Thread vijay
Hi ,

I still see the issue with my Nonin device even on Android 4.0.3.
here is what is see in my log,

using demo sample i am able to connect to the device but i am not
getting any data from the device

Any help?

I//system/bin/bluetoothd( 1198): bluetoothd[1199]: external/bluetooth/
bluez/plugins/hciops.c:conn_complete() status 0x00
I//system/bin/bluetoothd( 1198): bluetoothd[1199]: external/bluetooth/
bluez/src/adapter.c:adapter_get_device() 00:1C:05:00:49:4A
D/BluetoothEventLoop( 1089): Device property changed: 00:1C:
05:00:49:4A property: Connected value: true
I//system/bin/bluetoothd( 1198): bluetoothd[1199]: external/bluetooth/
bluez/plugins/hciops.c:remote_features_information() hci0 status 0
I//system/bin/bluetoothd( 1198): bluetoothd[1199]: external/bluetooth/
bluez/plugins/hciops.c:remote_name_information() hci0 status 0

E/BluetoothEventLoop.cpp( 1089): onHealthDeviceConnectionResult: D-Bus
error: org.bluez.Error.HealthError (No matching MDEP found)

D/BluetoothEventLoop( 1089): onHealthDeviceConnectionResult 1 6001
I//system/bin/bluetoothd( 1198): bluetoothd[1199]: external/bluetooth/
bluez/plugins/hciops.c:disconn_complete() handle 1 status 0x00
I//system/bin/bluetoothd( 1198): bluetoothd[1199]: external/bluetooth/
bluez/src/event.c:btd_event_disconn_complete()
I//system/bin/bluetoothd( 1198): bluetoothd[1199]: external/bluetooth/
bluez/src/adapter.c:adapter_remove_connection()
D/BluetoothEventLoop( 1089): Device property changed: 00:1C:
05:00:49:4A property: Connected value: false
W/ThrottleService( 1089): unable to find stats for iface rmnet0
I/power   ( 1089): *** set_screen_state 0
D/SurfaceFlinger(  125): About to give-up screen, flinger = 0x1420918
W/ProcessStats( 1089): Skipping unknown process pid 1620
W/NetworkManagementSocketTagger( 1089): setKernelCountSet(10048, 0)
failed with errno -2
D/dalvikvm( 1089): GC_CONCURRENT freed 629K, 14% free 8879K/10247K,
paused 5ms+4ms




On Jan 14, 6:07 am, jfernandez jorge.fernandez.gonza...@gmail.com
wrote:
 Hi Fernando,

 I have introduced a change in the implementation of the
 BluetoothHealthCallback mHealthCallback. Exactly, in its method
 onHealthChannelStateChange(...). I detected that the state machine
 during the stablishment of a new HDP connection is: Disconnected-
 Connecting-Connected. However, you can see that the example is
 checking the case Disconnected-Connected, but not the case Connecting-
 Connected. I added this new case Connecting-Connected, and now it
 works and I'm able to read/write data from/to UA-767PBT-C and a board
 that emulates several biomedical devices.

 I hope it help you.

 Regards.

 On 14 ene, 12:35, Fernando Almeida reala...@gmail.com wrote:







  Hi jfernandez... i upgrade my android version to 4.03 and still can't
  connect...

  Could you please show me the changes that you made?

  Thank you

  On 13 Jan, 10:57, jfernandez jorge.fernandez.gonza...@gmail.com
  wrote:

   Hi again,

   Well, after upgrading my Android 4.0 to 4.03, and adding some changes
   to the BluetoothHDPsample, I'm able to connect to the biomedical
   device, as well as I'm able to read/write data from/to theHDP
   channel. So, it seems the problem has been fixed in this new Android
   version.

   Regards.

   On 15 dic 2011, 18:30, jfernandez jorge.fernandez.gonza...@gmail.com
   wrote:

Hi all,

I'm executing theBluetoothHDPDemo [1]  (offered from Android 4.0
Ice Cream Sandwich) in my Android smartphone. When I have registered
the application in order to receive data, and I have paired the
biomedical device with the smartphone, I try to open the channel
connection and I can see that the device starts sending data to the
smartphone. However, the smartphone is unable to open the channel
connectionHDP.

At the end of this message you can see the output obtained in the
LogCat.

Has anybody achieved to run successfully this sample about the use of
theBluetoothHealth Profile API? Any ideas?

Thanks. Regards.

[1]http://developer.android.com/resources/samples/BluetoothHDP/index.html

This is the log that I obtain:

12-15 16:40:54.048: I/BluetoothHDPService(1105): connectChannel()
12-15 16:40:54.068: D/BluetoothService(147): CONNECTION_STATE_CHANGE:
00:80:25:14:A1:BC: 0 - 1
12-15 16:40:55.169: D/ConnectivityService(147):
handleInetConditionHoldEnd: net=1, condition=0, published condition=0
12-15 16:40:59.393: D/BluetoothEventLoop(147): Device property
changed: 00:80:25:14:A1:BC property: Connected value: true
12-15 16:41:00.024: D/BluetoothEventLoop(147): Health Device :
devicePath: /org/bluez/278/hci0/dev_00_80_25_14_A1_BC:channelPath:/org/
   bluez/278/hci0/dev_00_80_25_14_A1_BC/chan3115:existstrue
12-15 16:41:00.034: E/BluetoothService.cpp(147):
getChannelApplicationNative
12-15 16:41:00.044: E/bluetooth_common.cpp(147):
dbus_func_args_timeout_valist: D-Bus error in Acquire:
org.bluez.Error.HealthError (Cannot 

[android-developers] Re: Unable to execute Bluetooth HDP Demo

2012-01-23 Thread vijay
could you please share the changes need to get it working.
connection seems to working but i don't see data coming to device
running Android 4.0.3

On Jan 20, 10:00 am, Raul Ruiz spekwh...@gmail.com wrote:
 Hi all,

 I have Nonin working with HDP, if someone need help tell me.

 On 14 ene, 13:07, jfernandez jorge.fernandez.gonza...@gmail.com
 wrote:







  Hi Fernando,

  I have introduced a change in the implementation of the
  BluetoothHealthCallback mHealthCallback. Exactly, in its method
  onHealthChannelStateChange(...). I detected that the state machine
  during the stablishment of a new HDP connection is: Disconnected-
  Connecting-Connected. However, you can see that the example is
  checking the case Disconnected-Connected, but not the case Connecting-
  Connected. I added this new case Connecting-Connected, and now it
  works and I'm able to read/write data from/to UA-767PBT-C and a board
  that emulates several biomedical devices.

  I hope it help you.

  Regards.

  On 14 ene, 12:35, Fernando Almeida reala...@gmail.com wrote:

   Hi jfernandez... i upgrade my android version to 4.03 and still can't
   connect...

   Could you please show me the changes that you made?

   Thank you

   On 13 Jan, 10:57, jfernandez jorge.fernandez.gonza...@gmail.com
   wrote:

Hi again,

Well, after upgrading my Android 4.0 to 4.03, and adding some changes
to the BluetoothHDPsample, I'm able to connect to the biomedical
device, as well as I'm able to read/write data from/to theHDP
channel. So, it seems the problem has been fixed in this new Android
version.

Regards.

On 15 dic 2011, 18:30, jfernandez jorge.fernandez.gonza...@gmail.com
wrote:

 Hi all,

 I'm executing theBluetoothHDPDemo [1]  (offered from Android 4.0
 Ice Cream Sandwich) in my Android smartphone. When I have registered
 the application in order to receive data, and I have paired the
 biomedical device with the smartphone, I try to open the channel
 connection and I can see that the device starts sending data to the
 smartphone. However, the smartphone is unable to open the channel
 connectionHDP.

 At the end of this message you can see the output obtained in the
 LogCat.

 Has anybody achieved to run successfully this sample about the use of
 theBluetoothHealth Profile API? Any ideas?

 Thanks. Regards.

 [1]http://developer.android.com/resources/samples/BluetoothHDP/index.html

 This is the log that I obtain:

 12-15 16:40:54.048: I/BluetoothHDPService(1105): connectChannel()
 12-15 16:40:54.068: D/BluetoothService(147): CONNECTION_STATE_CHANGE:
 00:80:25:14:A1:BC: 0 - 1
 12-15 16:40:55.169: D/ConnectivityService(147):
 handleInetConditionHoldEnd: net=1, condition=0, published condition=0
 12-15 16:40:59.393: D/BluetoothEventLoop(147): Device property
 changed: 00:80:25:14:A1:BC property: Connected value: true
 12-15 16:41:00.024: D/BluetoothEventLoop(147): Health Device :
 devicePath: 
 /org/bluez/278/hci0/dev_00_80_25_14_A1_BC:channelPath:/org/
bluez/278/hci0/dev_00_80_25_14_A1_BC/chan3115:existstrue
 12-15 16:41:00.034: E/BluetoothService.cpp(147):
 getChannelApplicationNative
 12-15 16:41:00.044: E/bluetooth_common.cpp(147):
 dbus_func_args_timeout_valist: D-Bus error in Acquire:
 org.bluez.Error.HealthError (Cannot reconnect: MDL is not closed)
 12-15 16:41:00.044: E/BluetoothHealthProfileHandler(147): Error
 obtaining fd for channel:/org/bluez/278/hci0/dev_00_80_25_14_A1_BC/
 chan3115
 12-15 16:41:00.074: E/BluetoothService.cpp(147): destroyChannelNative
 12-15 16:41:00.074: E/BluetoothEventLoop.cpp(147):
 onHealthDeviceConnectionResult: D-Bus error:
 org.bluez.Error.HealthError (Mdl is not created)
 12-15 16:41:00.074: D/BluetoothEventLoop(147):
 onHealthDeviceConnectionResult 2 6001
 12-15 16:41:00.214: D/BluetoothEventLoop(147):
 onHealthDeviceConnectionResult 2 6000
 12-15 16:41:00.214: D/BluetoothEventLoop(147): Health Device : Name of
 Property is: MainChannel Value:/org/bluez/278/hci0/
 dev_00_80_25_14_A1_BC/chan3115

-- 
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: Unable to execute Bluetooth HDP Demo

2012-01-23 Thread vijay Badawadagi
HI Jorge,

thanks that solves the problem, now i can see the data from the Nonin.


Regards
Vijay
On Mon, Jan 23, 2012 at 3:13 AM, jfernandez 
jorge.fernandez.gonza...@gmail.com wrote:

 Hi vijay,

 I'm seeing that you obtain the following error:

 onHealthDeviceConnectionResult: D-Bus
 error: org.bluez.Error.HealthError (No matching MDEP found)

 I guess your Nonin device is a pulse oximeter. Are you sure you are
 registering in the HDP code an application interesting in pulse
 oximeter data type (0x1004)?

 Regards.

 On 20 ene, 23:39, vijay vijaybadawad...@gmail.com wrote:
  could you please share the changes need to get it working.
  connection seems to working but i don't see data coming to device
  running Android 4.0.3
 
  On Jan 20, 10:00 am, Raul Ruiz spekwh...@gmail.com wrote:
 
 
 
 
 
 
 
   Hi all,
 
   I have Nonin working withHDP, if someone need help tell me.
 
   On 14 ene, 13:07, jfernandez jorge.fernandez.gonza...@gmail.com
   wrote:
 
Hi Fernando,
 
I have introduced a change in the implementation of the
BluetoothHealthCallback mHealthCallback. Exactly, in its method
onHealthChannelStateChange(...). I detected that the state machine
during the stablishment of a newHDPconnection is: Disconnected-
Connecting-Connected. However, you can see that the example is
checking the case Disconnected-Connected, but not the case
 Connecting-
Connected. I added this new case Connecting-Connected, and now it
works and I'm able to read/write data from/to UA-767PBT-C and a board
that emulates several biomedical devices.
 
I hope it help you.
 
Regards.
 
On 14 ene, 12:35, Fernando Almeida reala...@gmail.com wrote:
 
 Hi jfernandez... i upgrade my android version to 4.03 and still
 can't
 connect...
 
 Could you please show me the changes that you made?
 
 Thank you
 
 On 13 Jan, 10:57, jfernandez jorge.fernandez.gonza...@gmail.com
 wrote:
 
  Hi again,
 
  Well, after upgrading my Android 4.0 to 4.03, and adding some
 changes
  to the BluetoothHDPsample, I'm able to connect to the biomedical
  device, as well as I'm able to read/write data from/to theHDP
  channel. So, it seems the problem has been fixed in this new
 Android
  version.
 
  Regards.
 
  On 15 dic 2011, 18:30, jfernandez 
 jorge.fernandez.gonza...@gmail.com
  wrote:
 
   Hi all,
 
   I'm executing theBluetoothHDPDemo [1]  (offered from Android
 4.0
   Ice Cream Sandwich) in my Android smartphone. When I have
 registered
   the application in order to receive data, and I have paired the
   biomedical device with the smartphone, I try to open the
 channel
   connection and I can see that the device starts sending data
 to the
   smartphone. However, the smartphone is unable to open the
 channel
   connectionHDP.
 
   At the end of this message you can see the output obtained in
 the
   LogCat.
 
   Has anybody achieved to run successfully this sample about the
 use of
   theBluetoothHealth Profile API? Any ideas?
 
   Thanks. Regards.
 
   [1]
 http://developer.android.com/resources/samples/BluetoothHDP/index.html
 
   This is the log that I obtain:
 
   12-15 16:40:54.048: I/BluetoothHDPService(1105):
 connectChannel()
   12-15 16:40:54.068: D/BluetoothService(147):
 CONNECTION_STATE_CHANGE:
   00:80:25:14:A1:BC: 0 - 1
   12-15 16:40:55.169: D/ConnectivityService(147):
   handleInetConditionHoldEnd: net=1, condition=0, published
 condition=0
   12-15 16:40:59.393: D/BluetoothEventLoop(147): Device property
   changed: 00:80:25:14:A1:BC property: Connected value: true
   12-15 16:41:00.024: D/BluetoothEventLoop(147): Health Device :
   devicePath:
 /org/bluez/278/hci0/dev_00_80_25_14_A1_BC:channelPath:/org/
  bluez/278/hci0/dev_00_80_25_14_A1_BC/chan3115:existstrue
   12-15 16:41:00.034: E/BluetoothService.cpp(147):
   getChannelApplicationNative
   12-15 16:41:00.044: E/bluetooth_common.cpp(147):
   dbus_func_args_timeout_valist: D-Bus error in Acquire:
   org.bluez.Error.HealthError (Cannot reconnect: MDL is not
 closed)
   12-15 16:41:00.044: E/BluetoothHealthProfileHandler(147): Error
   obtaining fd for
 channel:/org/bluez/278/hci0/dev_00_80_25_14_A1_BC/
   chan3115
   12-15 16:41:00.074: E/BluetoothService.cpp(147):
 destroyChannelNative
   12-15 16:41:00.074: E/BluetoothEventLoop.cpp(147):
   onHealthDeviceConnectionResult: D-Bus error:
   org.bluez.Error.HealthError (Mdl is not created)
   12-15 16:41:00.074: D/BluetoothEventLoop(147):
   onHealthDeviceConnectionResult 2 6001
   12-15 16:41:00.214: D/BluetoothEventLoop(147):
   onHealthDeviceConnectionResult 2 6000
   12-15 16:41:00.214: D/BluetoothEventLoop(147): Health Device :
 Name of
   Property is: MainChannel Value:/org/bluez/278/hci0/
   dev_00_80_25_14_A1_BC/chan3115

 --
 You received

[android-developers] issues with opensource project AndroidGlobalTime

2012-01-18 Thread vijay katta
I'm using Android 4.0.3 , downloaded a open sorce project
'AndroidGlobalTime' ,
after importing code into my eclipse workbench it's showing error for
two classes..

import android.opengl.Object3D;
import android.pim.DateUtils;

is these packages are available with any android version ?

i found Object3D class in
http://code.google.com/p/netthreads-for-android/source/browse/trunk/bulletml/src/com/netthreads/android/opengl/Object3D.java?r=17
i tried to add this class to my project but it looking some other
dependent classes !!

the above two classes are is the part of the SDK  ?

-- 
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 change PathClassLoader path

2011-11-25 Thread vijay pratap
hiii,
i am trying to customize an android app but on change on the package name,
registration not took place. could any one help me.

logcat errors:
11-26 11:21:26.434: E/SIP SRV(24784): java.lang.NoClassDefFoundError:
com.abc.utils.TimerWrapper

11-26 11:21:26.434: E/SIP SRV(24784): at
org.pjsip.pjsua.pjsuaJNI.create(Native Method)

11-26 11:21:26.434: E/SIP SRV(24784): at
org.pjsip.pjsua.pjsua.create(pjsua.java:62)

11-26 11:21:26.434: E/SIP SRV(24784): at
org.pjsip.pjsua.pjsua.create(pjsua.java:62)
11-26 11:21:26.434: E/SIP SRV(24784): at
com.myapp.service.SipService.startSipStack(SipService.java:1095)

11-26 11:21:26.434: E/SIP SRV(24784): at
com.myapp.service.SipService.access$12(SipService.java:1077)

11-26 11:21:26.434: E/SIP SRV(24784): at
com.myapp.service.SipService$StartRunnable.doRun(SipService.java:1623)

11-26 11:21:26.434: E/SIP SRV(24784): at
com.mobilesoftphone.service.SipService$SipRunnable.run(SipService.java:1697)

11-26 11:21:26.434: E/SIP SRV(24784): at
com.myapp.service.SipService$SipServiceExecutor.executeInternal(SipService.java:1610)

11-26 11:21:26.434: E/SIP SRV(24784): at
com.myapp.service.SipService$SipServiceExecutor.handleMessage(SipService.java:1602)

11-26 11:21:26.434: E/SIP SRV(24784): at
com.myapp.service.SipService$SipServiceExecutor.handleMessage(SipService.java:1602)

11-26 11:21:26.434: E/SIP SRV(24784): at
android.os.Looper.loop(Looper.java:143)

11-26 11:21:26.434: E/SIP SRV(24784): at
android.os.HandlerThread.run(HandlerThread.java:60)

11-26 11:21:26.434: E/SIP SRV(24784): Caused by:
java.lang.ClassNotFoundException: com.abc.utils.TimerWrapper in loader
dalvik.system.PathClassLoader[/data/app/com.myapp-1.apk]

11-26 11:21:26.434: E/SIP SRV(24784): at
dalvik.system.PathClassLoader.findClass(PathClassLoader.java:240)

11-26 11:21:26.434: E/SIP SRV(24784): at
java.lang.ClassLoader.loadClass(ClassLoader.java:551)

11-26 11:21:26.434: E/SIP SRV(24784): at
java.lang.ClassLoader.loadClass(ClassLoader.java:511)


if i don't change the packeage name com.abc.utils, there is no error, and
TimerWraper.java class  is assesable. On changing the package name refrence
is not automatically change.
if anyone can suggest the solution, Please let me know...

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

[android-developers] Re: what is custom rom

2011-10-19 Thread vijay katta
Thanks Kris !!

On Oct 19, 12:56 am, Kristopher Micinski krismicin...@gmail.com
wrote:
 This phrase refers to a custom version of android that you have built
 (or somebody has built) and installed on a system, one that isn't the
 standard android rom.  Although, since most manufacturers put their
 own tweaks on the system anyway, you could argue that there are a
 bunch of custom roms..

 (Though whenever you hear you can do that with a custom rom it's
 read: well, sure, if you get down to the system level you can do
 anything, so build a system and do that, but it's not like people are
 actually be running your system...)

 Kris

 On Tue, Oct 18, 2011 at 1:35 AM,vijaykattakatta.vij...@gmail.com wrote:
  When i was trying to learn android and hardware , i found the word
  custom rom ,
  i did't proper information on it , can any please explain what it is ?

  thanks in advance

  --
  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] what is custom rom

2011-10-18 Thread vijay katta
When i was trying to learn android and hardware , i found the word
custom rom ,
i did't proper information on it , can any please explain what it is ?

thanks in advance

-- 
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] Activity issue

2011-09-19 Thread vijay pratap
Hii.
I have 4 individual activities  in my project. One of them i made tabhost
and other three activities are active on its three tab. It all working  fine
but on pressing device key(Home , Menu, back and search ke) application is
forcefully closing. Error message :Runtime classcastexception.
it is giving error in getCurrentactivity() on tabhost.
 And all of key is working good without merging. I want to marge these
activity by using tab. please help me
thanks thanks a lot

Sincerely
Vijay Pratap Singh

-- 
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

tab activity issue.doc
Description: MS-Word document


[android-developers] how to use tag view in OnClickListeners

2011-08-01 Thread vijay pratap
Hiii
i am trying to add some button, and i use OnClickListener for event. could
you please tell me... is there any way to use made Tag view on click
listeners.
if there is any way, please write me a example.
your last answer was, came out quickly, amazing, thanks.. thanks a lot.

-- 
Sincerely
Vijay

-- 
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] Hi

2011-06-09 Thread vijay Kumar
hi... i am new for 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


[android-developers] Hi

2011-06-09 Thread vijay Kumar
hi.. i am new for 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


[android-developers] JpcapCaptor.getDeviceList() Failes for Android

2011-06-07 Thread Vijay
Hello Everyone,

I'm trying to make a Network sinnfer app on Android.

I have build the libpcap.so. on NDK.
using this .so I have compiled the jpcap-0.7 (C source fiiles) to generate
libjpcap.so. (again on NDK).

Then I have created my Sniffer Application on Android. I have added the
jpcap.jar, jpcap.so and libpcap.so in the lib folder of my Application.

But when I call this line :

*NetworkInterface[] devices = JpcapCaptor.getDeviceList();*

am getting the following runtime error:

 FATAL EXCEPTION: main
 java.lang.UnsatisfiedLinkError: getDeviceList
 at jpcap.JpcapCaptor.getDeviceList(Native Method)
 at com.example.snifferapp.SnifferApp.onCreate(SnifferApp.java:26)
 at
android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1047)
 at
android.app.ActivityThread.performLaunchActivity(ActivityThread.java:1611)
 at
android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:1663)
 at android.app.ActivityThread.access$1500(ActivityThread.java:117)
 at android.app.ActivityThread$H.handleMessage(ActivityThread.java:931)
 at android.os.Handler.dispatchMessage(Handler.java:99)
 at android.os.Looper.loop(Looper.java:123)
 at android.app.ActivityThread.main(ActivityThread.java:3683)
 at java.lang.reflect.Method.invokeNative(Native Method)
 at java.lang.reflect.Method.invoke(Method.java:507)
 at
com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:839)
 at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:597)
 at dalvik.system.NativeStart.main(Native Method)




Can anyone tellme What is going wrong here ?


Thanks.
Vijay

-- 
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] scrolling in multiple custom listview inside a tabhost

2011-06-06 Thread vijay
i having tabhostin my application inside that, i have 3 custom
listview the problem is scrolling is not working in real device but in
emulator it working fine.i ported the application in samsung galaxy
tab with android 2.2.and the emulator also the same.

i don't know the reason any idea about this please i was struggle with
this lot.


Thanks and regards
A.vijay

-- 
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: System.loadLibrary() failes in Android with UnsatisfiedLinkError

2011-06-01 Thread Vijay
Hi,

Thanks for your reply.

But can you please tell me how can I compile the third party opensource
library using NDK.

In my application am using an opensource library called Jpcap, which provide
RAR and .so files.
I' just need to call these APIs from my application. But in those APIs they
are trying to load a library Jpcap
i.e.
System.loadLibrary(jpcap)

at this place am getting a linking error :

* java.lang.UnsatisfiedLinkError: Cannot load library: link_image[1962]:
 32 could not load needed library 'libpcap.so.0.9' for 'libjpcap.so'
(load_library[1104]: Library 'libpcap.so.0.9' not found)*



Please help me to resolve this issue.


thanks  regards,
Vijay


On Tue, May 31, 2011 at 9:42 PM, Chris Stratton cs07...@gmail.com wrote:

 On Tuesday, May 31, 2011 4:27:12 AM UTC-4, Viju wrote:

 I'm developing an application with an open source library (i.e.
 jpcap).


 You are unlikely to get this is to work even when you get the library
 ported, as android applications cannot readily gain the necessary access
 rights to the network interface.

 You will probably do better launching a stand alone executable as root, and
 capturing its output from java.  That's not officially supported, but it
 does work at the moment on rooted devices.
 And many devices seem to ship not only with a copy of tcpdump, but a copy
 that runs itself as root.

 --
 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] System.loadLibrary() failes in Android with UnsatisfiedLinkError

2011-05-31 Thread Vijay
Can you please tellme How can I do that ? (i.e compiling it for ARM?
I'm running my SDK in windows xp.?


regards.
Vijay

On Tue, May 31, 2011 at 2:02 PM, Nikolay Elenkov
nikolay.elen...@gmail.comwrote:

 On Tue, May 31, 2011 at 5:27 PM, Viju mail2vija...@gmail.com wrote:
 
  I have added the lib folder in my project which contains both
  jpcap.dll and libjpcap.so. Also I have given the Native library
  location to this lib folder.
 
  When I try to call this function System.loadLibrary(jpcap) it throws
  UnsatisfiedLinkError and the applications is getting crashed.
 

 You certainly don't need the dll. Did you compile libjpcap.so for
 Android (ARM)?

 --
 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] android jni problem with prebuilt shared library

2011-05-18 Thread ashish vijay
i am new to android. i m developing a android jni application.
i m trying to build shared library(libnkd_1.so)by ndk-build.
 which is using functions from prebuilt shared library (libndk_2.so).
i dont have source code for libndk_2.so. this libndk_2.so is linux gcc
generated.

my android.mk is

LOCAL_PATH := $(call my-dir)
include $(CLEAR_VARS)
LOCAL_MODULE:= ndk_2
NDK_MODULE_PATH := $(LOCAL_PATH)
LOCAL_SRC_FILES := libndk_2.so
include $(PREBUILT_SHARED_LIBRARY)


include $(CLEAR_VARS)
LOCAL_MODULE :=ndk_1
LOCAL_SRC_FILE:=ndk_1.c
LOCAL_SHARED_LIBRARY := ndk_2
include $(BUILD_SHARED_LIBRARY)

when i try to use ndk-build for building shared library it shows the
following error.


#ndk-build
 Install: libndk_1.so = libs/armeabi/libndk_1.so
 Install: libndk_2.so = libs/armeabi/libndk_2.so
 /home/ashish/android-ndk-r5b/toolchains/arm-linux-androideabi-4.4.3/
prebuilt/linux-x86/bin/arm-linux-androideabi-   strip:
Unable to recognise the format of the input file `/root/workspace/ndk1/
libs/armeabi/libndk_2.so'
   make: *** [/root/workspace/ndk1/libs/armeabi/libndk_2.so] Error
1

please help me out.
thanks in advance

-- 
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] upload disabled in webview

2011-04-21 Thread vijay singh
I am opening a webpage in my webview to upload a pic but it says
upload disabled on the upload file button..is there a way to
overcome this issue. i m using android 2.1 platform ??...plz help

and also i want to automatically upload a pic into a webpage by using
javascript.is it possible??? or are there some security issues
doing that ??

-- 
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] Re: how to rotate camera preview by 90 degrees clockwise for android 2.1 application ??

2011-04-06 Thread vijay singh
thanx Adam, I am relativly new to android... can you please help me in
2 things

1) how to run the media scanner after i click an image in my
application...so that it could be shown in the Galary just after i
click it from my application.

2) how to rotate the picture clicked by default camera app to
landscape mode even if it is clicked in protrait mode... as i am
using the default app by intent .



On Apr 5, 1:30 am, Adam Ratana adam.rat...@gmail.com wrote:
 Hi Vijay, I found it helpful to take a look at the 2.1 stock camera
 application source code itself for some ideas.  For 2.1 most people
 that I've spoken to have locked the activity to landscape as that is
 guaranteed to be supported by most phones.  Attempting to rotate to
 portrait may not be supported by all hardware running 2.1?  The stock
 camera activity itself is locked to landscape, and I've yet to see an
 application using the camera preview on my 2.1 device that does not do
 the same...  If anyone has any knowledge to the contrary it would be
 most welcome, for 2.1!

 http://grepcode.com/file/repository.grepcode.com/java/ext/com.google

 On Apr 3, 11:04 am, vijay singh vj61...@gmail.com wrote:







  I am trying to develop an application which uses the camera in a
  devicebut my preview is 90 degrees rotated (anticlockwise) in both
  landscape and portrait mode.I tried mpreview.setRotation(90)
  method but nothing happens.

  I am using the code somewhat similar to cameraPreview.java file
  available with the SDK kit.
  plz 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


[android-developers] how to rotate camera preview by 90 degrees clockwise for android 2.1 application ??

2011-04-04 Thread vijay singh
I am trying to develop an application which uses the camera in a
devicebut my preview is 90 degrees rotated (anticlockwise) in both
landscape and portrait mode.I tried mpreview.setRotation(90)
method but nothing happens.

I am using the code somewhat similar to cameraPreview.java file
available with the SDK kit.
plz 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


[android-developers] how to rotate camera preview by 90 degrees clockwise for android 2.1 application ??

2011-04-04 Thread vijay singh
I am trying to develop an application which uses the camera in a
devicebut my preview is 90 degrees rotated (anticlockwise) in both
landscape and portrait mode.I tried mpreview.setRotation(90)
method but nothing happens.

I am using the code somewhat similar to cameraPreview.java file
available with the SDK kit.
plz 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


[android-developers] out of memory error in android

2011-02-22 Thread vijay kumar
Hi all
 I am getting the value from webservice.my webservice value return
string .mywebservice value is very long .my webservice value are
coming like xml entity referece character   etc .I
want to replace character.I have to replace these value and
parse these values.i am using dom parser for parsing the value  while
replacing the value I am getting out of memory error .I know we can do
with stream .I don't how to use stream .If any body give example how
to do provide code?
my code is replacing character


public  String unescapeXML(String str) {
if (str == null || str.length() == 0)
  return ;

StringBuffer buf = new StringBuffer();
int len = str.length();
for (int i = 0; i  len; ++i) {
  char c = str.charAt(i);
  if (c == '') {
int pos = str.indexOf(;, i);
if (pos == -1) { // Really evil
  buf.append('');
} else if (str.charAt(i + 1) == '#') {
  int val = Integer.parseInt(str.substring(i + 2,
pos), 16);
  buf.append((char) val);
  i = pos;
} else {
  String substr = str.substring(i, pos + 1);
  if (substr.equals())
buf.append('');
  else if (substr.equals())
buf.append('');
  else if (substr.equals())
buf.append('');
  else if (substr.equals())
buf.append('');
  else if (substr.equals('))
buf.append('\'');
  else if (substr.equals( ))
  buf.append( );

  else
// 
buf.append(substr);
  i = pos;
}
  } else {
buf.append(c);
  }
}
return buf.toString();
  }
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


[android-developers] How to avoid out of memory error in android

2011-02-22 Thread vijay kumar
Hi friends I am getting the value from webservice while unescape xml
value .I am storing in stringBuffer . I am getting the lot of value
from webservice .so I am getting out of memoryerror .I am getting
value like  like characters are coming in webservice  .can
any body tell how to avoid that out of memeory error ?

my code to replace


public  String unescapeXML(String str) {
if (str == null || str.length() == 0)
  return ;

StringBuffer buf = new StringBuffer();
int len = str.length();
for (int i = 0; i  len; ++i) {
  char c = str.charAt(i);
  if (c == '') {
int pos = str.indexOf(;, i);
if (pos == -1) { // Really evil
  buf.append('');
} else if (str.charAt(i + 1) == '#') {
  int val = Integer.parseInt(str.substring(i + 2,
pos), 16);
  buf.append((char) val);
  i = pos;
} else {
  String substr = str.substring(i, pos + 1);
  if (substr.equals())
buf.append('');
  else if (substr.equals())
buf.append('');
  else if (substr.equals())
buf.append('');
  else if (substr.equals())
buf.append('');
  else if (substr.equals('))
buf.append('\'');
  else if (substr.equals( ))
  buf.append( );

  else
// 
buf.append(substr);
  i = pos;
}
  } else {
buf.append(c);
  }
}
return buf.toString();
  }


-- 
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] Dotnet developer can develop Android apps

2011-02-11 Thread Vijay
Hi

I am Vijay working as dotnet developer.. I am interested to work on
Android... really I flat for the OS.. So how can I develop Android
applications using dotnet.. please let me know..

My questions..

1. To develop Android applications, is Java knowledge must?
2. Can I develop Android apps on Windows OS using dotnet or Visual
Studio?

-- 
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: When is android market opening to India??

2010-11-22 Thread Vijay Vikrant
But the market is not yet open to Developers in India. Any clue if
that is on cards anytime soon??

Regards,
Vikrant




On Sat, Oct 9, 2010 at 2:43 AM, Pent tas...@dinglisch.net wrote:
 India got paid apps on the 6th and I have since had orders from
 customers in India.

 Ditto, though not many.

 Pent

 --
 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] Adding new item in SMS menu

2010-11-17 Thread Vijay
Can we add a new item in SMS menu which can in turn invoke my
application? If yes, please show me the path.

Will appreciate any help.

Thanks,
Vijay

-- 
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] Add new item in SMS context menu

2010-11-16 Thread Vijay
Can I add a new item in SMS context menu which can in turn invoke my
app/activity ? If yes help will be appreciated.

Thanks,
Vijay

-- 
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] Live wireless display.

2010-10-13 Thread Vijay
Hi,

I want to develop an application(driver if required), to display live
(both video and audio), from an android device to a remote display.
I am a newbee to android development, can anybody suggest me how to go
ahead about it.
Any suggestions are welcome.

-Vijay

-- 
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] When is android market opening to India??

2010-10-06 Thread Vijay Vikrant Balyan


Hello,
  Does anybody know about when exactly is the android market 
opening to India.



Thanks,
Vikrant

--
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] pop-up/toast notification without activity/context

2010-09-22 Thread Vijay Vikrant
Hello everyone,
  Can somebody throw some light on how to display a
pop-up/notification/toast while i am in a broadcast receiver. Toast expects
a context and i don't have a context to pass.
Can somebody help me with this?

-- Vikrant

-- 
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] pop-up/toast notification without activity/context

2010-09-22 Thread Vijay Vikrant
Thanks for responding..

Below is a shabby but simple piece of code that i am experimenting with..
The onReceive function does have a context - But i just register a
phonestate listener in there and then i have to raise a toast while i am in
the phonestatelistener function. What can i change?


package com.android.prankapp;

import android.content.BroadcastReceiver;
import android.content.Context;
import android.content.Intent;
import android.os.Bundle;
import android.telephony.PhoneStateListener;
import android.telephony.TelephonyManager;
import android.util.Log;
import android.content.BroadcastReceiver;
import android.widget.Toast;

public class PrankAApp extends BroadcastReceiver {

@Override
public void onReceive(Context context, Intent intent) {
Log.d(PrankAApp,BEGIN1);
if(intent.getData()!=null)
{
Log.d(PrankAApp,intent.getDataString() );
}
else
{
Log.d(PrankAApp,DataString == NULL );
}
Log.d(PrankAApp,intent.toString());
TelephonyManager myTelManager =
(TelephonyManager)context.getSystemService(context.TELEPHONY_SERVICE);
MyPhoneStateListener myListner = new MyPhoneStateListener();
myTelManager.listen(myListner,
PhoneStateListener.LISTEN_CALL_STATE);
}

private class MyPhoneStateListener extends PhoneStateListener
{
private static final int CALL_STATE_RINGING = 1;
private static final int CALL_STATE_IDLE = 0;

public void onCallStateChanged (int state, String incomingNumber)
{
if (state == CALL_STATE_RINGING) {
resolveNumber(incomingNumber);
}
}
}

private void resolveNumber ( String incomingNumber)
{
int duration = Toast.LENGTH_SHORT;
CharSequence text = incomingNumber;
Toast toast = Toast.makeText(this, text, duration); *=== How do i
get context here*
toast.show();
}
}

-- Vikrant



On Wed, Sep 22, 2010 at 5:08 PM, Mark Murphy mmur...@commonsware.comwrote:

 On Wed, Sep 22, 2010 at 7:35 AM, Vijay Vikrant vijayvikran...@gmail.com
 wrote:
Can somebody throw some light on how to display a
  pop-up/notification/toast while i am in a broadcast receiver. Toast
 expects
  a context and i don't have a context to pass.

 Sure you do. Look at the first parameter to onReceive().

 --
 Mark Murphy (a Commons Guy)
 http://commonsware.com | http://github.com/commonsguy
 http://commonsware.com/blog | http://twitter.com/commonsguy

 _The Busy Coder's Guide to Android Development_ Version 3.1 Available!

 --
 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.comandroid-developers%2bunsubscr...@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] pop-up/toast notification without activity/context

2010-09-22 Thread Vijay Vikrant
got my answers.. sorry for being so stupid..
-- Vikrant



On Wed, Sep 22, 2010 at 5:25 PM, Vijay Vikrant vijayvikran...@gmail.comwrote:

 Thanks for responding..

 Below is a shabby but simple piece of code that i am experimenting with..
 The onReceive function does have a context - But i just register a
 phonestate listener in there and then i have to raise a toast while i am in
 the phonestatelistener function. What can i change?


 package com.android.prankapp;

 import android.content.BroadcastReceiver;
 import android.content.Context;
 import android.content.Intent;
 import android.os.Bundle;
 import android.telephony.PhoneStateListener;
 import android.telephony.TelephonyManager;
 import android.util.Log;
 import android.content.BroadcastReceiver;
 import android.widget.Toast;

 public class PrankAApp extends BroadcastReceiver {

 @Override
 public void onReceive(Context context, Intent intent) {
 Log.d(PrankAApp,BEGIN1);
 if(intent.getData()!=null)
 {
 Log.d(PrankAApp,intent.getDataString() );
 }
 else
 {
 Log.d(PrankAApp,DataString == NULL );
 }
 Log.d(PrankAApp,intent.toString());
 TelephonyManager myTelManager =
 (TelephonyManager)context.getSystemService(context.TELEPHONY_SERVICE);
 MyPhoneStateListener myListner = new MyPhoneStateListener();
 myTelManager.listen(myListner,
 PhoneStateListener.LISTEN_CALL_STATE);
 }

 private class MyPhoneStateListener extends PhoneStateListener
 {
 private static final int CALL_STATE_RINGING = 1;
 private static final int CALL_STATE_IDLE = 0;

 public void onCallStateChanged (int state, String incomingNumber)
 {
 if (state == CALL_STATE_RINGING) {
 resolveNumber(incomingNumber);
 }
 }
 }

 private void resolveNumber ( String incomingNumber)
 {
 int duration = Toast.LENGTH_SHORT;
 CharSequence text = incomingNumber;
 Toast toast = Toast.makeText(this, text, duration); *=== How do i
 get context here*
 toast.show();
 }
 }

 -- Vikrant




 On Wed, Sep 22, 2010 at 5:08 PM, Mark Murphy mmur...@commonsware.comwrote:

 On Wed, Sep 22, 2010 at 7:35 AM, Vijay Vikrant vijayvikran...@gmail.com
 wrote:
Can somebody throw some light on how to display a
  pop-up/notification/toast while i am in a broadcast receiver. Toast
 expects
  a context and i don't have a context to pass.

 Sure you do. Look at the first parameter to onReceive().

 --
 Mark Murphy (a Commons Guy)
 http://commonsware.com | http://github.com/commonsguy
 http://commonsware.com/blog | http://twitter.com/commonsguy

 _The Busy Coder's Guide to Android Development_ Version 3.1 Available!

 --
 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.comandroid-developers%2bunsubscr...@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] uninstall missing..

2010-09-22 Thread Vijay Vikrant
Hello,

I made a test app and installed it on my phone. This app kicks in everytime
i get a incoming call and pops up something. I successfully installed this
app on my phone and it seems to be working as desired. But i don't see it in
the settings-applications list. How do i uninstall this app?

Many Thanks,
Vikrant

-- 
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] best place to host apps that target indian market.

2010-09-22 Thread Vijay Vikrant
Hello,

Since the market is not open to India for paid apps - What will be a
good server/store to host paid apps that target indian audiences?

Many Thanks,
Vikrant

-- 
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] Could not find abc.apk

2010-09-21 Thread vijay kumar
Hi, I'm a totally newbie to the Android SDK. I have been installed
Eclipse 3.4 (Ganymede), Android 2.1 SDK with JRE 6 updated 7.

I need to use external .jar 's, when i load that jar in
eclispe,automatically abc.apk is missing and showing the error like

[2010-09-20 08:33:54 - CodeFinder]warning: Ignoring InnerClasses
attribute for an anonymous inner class that doesn't come with an
associated EnclosingMethod attribute. (This class was probably
produced by a broken compiler.)
[2010-09-20 08:33:54 - CodeFinder]warning: Ignoring InnerClasses
attribute for an anonymous inner class that doesn't come with an
associated EnclosingMethod attribute. (This class was probably
produced by a broken compiler.)
[2010-09-20 08:33:54 - CodeFinder]warning: Ignoring InnerClasses
attribute for an anonymous inner class that doesn't come with an
associated EnclosingMethod attribute. (This class was probably
produced by a broken compiler.)
[2010-09-20 08:33:54 - CodeFinder]warning: Ignoring InnerClasses
attribute for an anonymous inner class that doesn't come with an
associated EnclosingMethod attribute. (This class was probably
produced by a broken compiler.)
[2010-09-20 08:33:54 - CodeFinder]warning: Ignoring InnerClasses
attribute for an anonymous inner class that doesn't come with an
associated EnclosingMethod attribute. (This class was probably
produced by a broken compiler.)
[2010-09-20 08:33:54 - CodeFinder]warning: Ignoring InnerClasses
attribute for an anonymous inner class that doesn't come with an
associated EnclosingMethod attribute. (This class was probably
produced by a broken compiler.)
[2010-09-20 08:33:54 - CodeFinder]warning: Ignoring InnerClasses
attribute for an anonymous inner class that doesn't come with an
associated EnclosingMethod attribute. (This class was probably
produced by a broken compiler.)
[2010-09-20 08:33:54 - CodeFinder]warning: Ignoring InnerClasses
attribute for an anonymous inner class that doesn't come with an
associated EnclosingMethod attribute. (This class was probably
produced by a broken compiler.)
[2010-09-20 08:33:55 - CodeFinder]1 error; aborting
[2010-09-20 08:33:55 - CodeFinder]Conversion to Dalvik format failed
with error 1


if i remove my .jar from build path then automatically abc.apk is
build.so plz help me
how to use external jar in order to run android apps.

Thanks  Regards
Vijay Kumar K.N


-- 
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] Reg: retrieving the phone number on an incoming call

2010-09-07 Thread Vijay Vikrant
Hello,
Does somebody have an example or sample code for retrieving the
phone number on an incoming phone call.

Appreciate your help

-- Adonis

-- 
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 enable sound in android emulator

2010-08-18 Thread vijay katoch
hi all

can any one help me with how to enable sound in android emulator .i am using
fedora 13 .

Thanks

vijay

-- 
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 enable sound in android emulator

2010-08-18 Thread vijay katoch
hi all

can any one help me with how to enable sound in android emulator .i am
using fedora 13 .

Thanks

vijay

-- 
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] error when open a facebook authentication url

2010-04-13 Thread Vijay S
Hi all
I am new to android and i was trying to open a facebook authentication url
in intent

String url = http://www.facebook.com/login.php?api_key=; + API_KEY +
v=1.0auth_token= + auth;
Uri uri = Uri.parse(url);
startActivity(new Intent(Intent.ACTION_VIEW, uri));

it starts activity and opens a browser... but
it gives invalid url error.. please tell me what i am doing wrong.. there
was  w2m  added in url, why it is there ??
The url i passed was www.facebook.com but i see the opened url in logcat as
http://touch.facebook.com/login.php?w2mapi_key=http://www.facebook.com/login.php?api_key=



thanks
Vijay

-- 
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

To unsubscribe, reply using remove me as the subject.


[android-developers] how to remove/invisible the scroll bar

2010-04-13 Thread Vijay S
Hi

i added some buttons in HorizontalScrollView and its working fine..
But I want to remove/invisible the scrollbar, instead of scroll bar i want
to use greater than 
and less than  images of both sides of scrollView, on clicking on that
greater_than image i want to scroll it to right side..
how can i do that..

Thanks  Regards
Vijay

-- 
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

To unsubscribe, reply using remove me as the subject.


[android-developers] Launch timeout has expired

2010-04-13 Thread Vijay S
Hi all I want to call another activity when i longClick on a button..
my code is like this



icbook.setOnLongClickListener(new View.OnLongClickListener(){
 @Override
public boolean onLongClick(View v) {
Intent intent = new
Intent(TestAndroid.this,myPage.class);
startActivity(intent);
return true;
}
 });


in logcat it shows starting activity ..but gives this error
04-10 18:32:26.338: WARN/ActivityManager(55): Launch timeout has expired,
giving up wake lock!
04-10 18:32:26.395: WARN/ActivityManager(55): Activity idle timeout for
HistoryRecord{43c09570 com.test/.myPage}


whats wrong I am doing ..

Thanks  Regards
Vijay

-- 
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

To unsubscribe, reply using remove me as the subject.


[android-developers] Font resizing

2010-02-15 Thread Vijay
Hi,
 I wish to know if Android supports dynamic font resizing at all?
Say, if I have a button with 100dip width and 15px font text in it. If
this button gets a longer text at some time, how can I make font size
smaller so that I can fit in all text.

PS: It just cuts-off the text and doesn't change font dynamically now.

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


[android-developers] Sports Actress

2010-01-28 Thread vijay rajan
Sachin Tendulkar cracks 45th Test hundred - Top Stories - India in ...
Asin| Actress Asin| Tamil Actress Asin Latest Pictures | Hot Asin ...
More info : http://123maza.com/50/rashers/

-- 
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] Movies

2010-01-27 Thread vijay rajan

Iswarya rai - wallpapers, photos and iswarya rai videos, songs ...
MORE info : http://123maza.com/50/rashers/

-- 
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] Two selectable items in each list Item in listView.

2009-12-16 Thread vijay bhushan
The way i want it is, per row there will be a text and is followed by a
right arrow button, so that the user can click on that button to edit the
content of that row. If the user is using the keypad, by using the left and
right buttons on the keypad , he should be able to select the textview or
the Button in that particular row. I have seen this in a couple of apps. The
way i see that working on those apps appear as if they are maintaining two
lists in parallel.  The reason i felt it this way is, if i am on row 1 of
the list, and if i press the right key on the phone keypad, then the right
arrow button will get highlighted and now if i use the down key or if i keep
pressing the down key, then the focus will scroll through that arrow button
only as if that is an another parallel list contructed. I dont know if that
is a good way to do it. Can any one help me in this.

I tried many for getting this to work, but couldn't succeed.

-- 
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] Re: Exception in com.google.android.location.ConfirmAlertActivity

2009-12-08 Thread Vijay
This error is from com.google.android.location.ConfirmAlertActivity.
Its not open source I believe. I use Donut.

Thanks.

On Dec 8, 4:42 am, Dexter#39;s Brain coomar@gmail.com wrote:
 Hi,

 There is an error in your XML file, at line no 54. Check it out. Or
 paste that part of your xml. Also, mention the API version you are
 using.

 Thanks,
 Kumar Bibekhttp://tech-droid.blogspot.com

 On Dec 8, 1:43 am, Vijay vijay.meenakshisunda...@gmail.com wrote:

  I get a ResourceNotFoundException from
  com.google.android.location.ConfirmAlertActivity. But I'm sure
  secondary_text_dark.xml is in my base/core/res/res/color. Does anyone
  know the reason?

  Here is my log:

  E/AndroidRuntime( 5629): Uncaught handler: thread
  android.server.ServerThread exiting due to uncaught exception
  E/AndroidRuntime( 5629): *** EXCEPTION IN SYSTEM PROCESS.  System will
  crash.
  E/AndroidRuntime( 5629): java.lang.RuntimeException: Unable to start
  activity ComponentInfo{com.google.android.location/
  com.google.android.location.ConfirmAlertActivity}:
  android.view.InflateException: Binary XML file line #54: Error
  inflating class java.lang.reflect.Constructor
  E/AndroidRuntime( 5629):        at
  android.app.ActivityThread.performLaunchActivity(ActivityThread.java:
  2401)
  E/AndroidRuntime( 5629):        at
  android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:
  2417)
  E/AndroidRuntime( 5629):        at android.app.ActivityThread.access$2100
  (ActivityThread.java:116)
  E/AndroidRuntime( 5629):        at 
  android.app.ActivityThread$H.handleMessage
  (ActivityThread.java:1794)
  E/AndroidRuntime( 5629):        at android.os.Handler.dispatchMessage
  (Handler.java:99)
  E/AndroidRuntime( 5629):        at android.os.Looper.loop(Looper.java:123)
  E/AndroidRuntime( 5629):        at com.android.server.ServerThread.run
  (SystemServer.java:411)
  E/AndroidRuntime( 5629): Caused by: android.view.InflateException:
  Binary XML file line #54: Error inflating class
  java.lang.reflect.Constructor
  E/AndroidRuntime( 5629):        at android.view.LayoutInflater.createView
  (LayoutInflater.java:512)
  E/AndroidRuntime( 5629):        at
  android.view.LayoutInflater.createViewFromTag(LayoutInflater.java:564)
  E/AndroidRuntime( 5629):        at android.view.LayoutInflater.rInflate
  (LayoutInflater.java:617)
  E/AndroidRuntime( 5629):        at android.view.LayoutInflater.rInflate
  (LayoutInflater.java:620)
  E/AndroidRuntime( 5629):        at android.view.LayoutInflater.rInflate
  (LayoutInflater.java:620)
  E/AndroidRuntime( 5629):        at android.view.LayoutInflater.inflate
  (LayoutInflater.java:407)
  E/AndroidRuntime( 5629):        at android.view.LayoutInflater.inflate
  (LayoutInflater.java:320)
  E/AndroidRuntime( 5629):        at android.view.LayoutInflater.inflate
  (LayoutInflater.java:276)
  E/AndroidRuntime( 5629):        at
  com.android.internal.policy.impl.PhoneWindow.setContentView
  (PhoneWindow.java:334)
  E/AndroidRuntime( 5629):        at
  com.android.internal.app.AlertController.installContent
  (AlertController.java:204)
  E/AndroidRuntime( 5629):        at
  com.android.internal.app.AlertActivity.setupAlert(AlertActivity.java:
  74)
  E/AndroidRuntime( 5629):        at
  com.google.android.location.ConfirmAlertActivity.onCreate
  (ConfirmAlertActivity.java:50)
  E/AndroidRuntime( 5629):        at
  android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:
  1123)
  E/AndroidRuntime( 5629):        at
  android.app.ActivityThread.performLaunchActivity(ActivityThread.java:
  2364)
  E/AndroidRuntime( 5629):        ... 6 more
  E/AndroidRuntime( 5629): Caused by:
  java.lang.reflect.InvocationTargetException
  E/AndroidRuntime( 5629):        at
  com.android.internal.widget.DialogTitle.init(DialogTitle.java:38)
  E/AndroidRuntime( 5629):        at
  java.lang.reflect.Constructor.constructNative(Native Method)
  E/AndroidRuntime( 5629):        at java.lang.reflect.Constructor.newInstance
  (Constructor.java:446)
  E/AndroidRuntime( 5629):        at android.view.LayoutInflater.createView
  (LayoutInflater.java:499)
  E/AndroidRuntime( 5629):        ... 19 more
  E/AndroidRuntime( 5629): Caused by: android.content.res.Resources
  $NotFoundException: File res/color/secondary_text_dark.xml from color
  state list resource ID #0x0
  E/AndroidRuntime( 5629):        at
  android.content.res.Resources.loadColorStateList(Resources.java:1873)
  E/AndroidRuntime( 5629):        at
  android.content.res.TypedArray.getColorStateList(TypedArray.java:303)
  E/AndroidRuntime( 5629):        at android.widget.TextView.init
  (TextView.java:380)
  E/AndroidRuntime( 5629):        at android.widget.TextView.init
  (TextView.java:320)
  E/AndroidRuntime( 5629):        ... 23 more
  E/AndroidRuntime( 5629): Caused by: android.content.res.Resources
  $NotFoundException: File res/color/secondary_text_dark.xml from xml
  type colorstatelist resource ID #0x0
  E/AndroidRuntime( 5629

[android-developers] Exception in com.google.android.location.ConfirmAlertActivity

2009-12-07 Thread Vijay
I get a ResourceNotFoundException from
com.google.android.location.ConfirmAlertActivity. But I'm sure
secondary_text_dark.xml is in my base/core/res/res/color. Does anyone
know the reason?

Here is my log:

E/AndroidRuntime( 5629): Uncaught handler: thread
android.server.ServerThread exiting due to uncaught exception
E/AndroidRuntime( 5629): *** EXCEPTION IN SYSTEM PROCESS.  System will
crash.
E/AndroidRuntime( 5629): java.lang.RuntimeException: Unable to start
activity ComponentInfo{com.google.android.location/
com.google.android.location.ConfirmAlertActivity}:
android.view.InflateException: Binary XML file line #54: Error
inflating class java.lang.reflect.Constructor
E/AndroidRuntime( 5629):at
android.app.ActivityThread.performLaunchActivity(ActivityThread.java:
2401)
E/AndroidRuntime( 5629):at
android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:
2417)
E/AndroidRuntime( 5629):at android.app.ActivityThread.access$2100
(ActivityThread.java:116)
E/AndroidRuntime( 5629):at android.app.ActivityThread$H.handleMessage
(ActivityThread.java:1794)
E/AndroidRuntime( 5629):at android.os.Handler.dispatchMessage
(Handler.java:99)
E/AndroidRuntime( 5629):at android.os.Looper.loop(Looper.java:123)
E/AndroidRuntime( 5629):at com.android.server.ServerThread.run
(SystemServer.java:411)
E/AndroidRuntime( 5629): Caused by: android.view.InflateException:
Binary XML file line #54: Error inflating class
java.lang.reflect.Constructor
E/AndroidRuntime( 5629):at android.view.LayoutInflater.createView
(LayoutInflater.java:512)
E/AndroidRuntime( 5629):at
android.view.LayoutInflater.createViewFromTag(LayoutInflater.java:564)
E/AndroidRuntime( 5629):at android.view.LayoutInflater.rInflate
(LayoutInflater.java:617)
E/AndroidRuntime( 5629):at android.view.LayoutInflater.rInflate
(LayoutInflater.java:620)
E/AndroidRuntime( 5629):at android.view.LayoutInflater.rInflate
(LayoutInflater.java:620)
E/AndroidRuntime( 5629):at android.view.LayoutInflater.inflate
(LayoutInflater.java:407)
E/AndroidRuntime( 5629):at android.view.LayoutInflater.inflate
(LayoutInflater.java:320)
E/AndroidRuntime( 5629):at android.view.LayoutInflater.inflate
(LayoutInflater.java:276)
E/AndroidRuntime( 5629):at
com.android.internal.policy.impl.PhoneWindow.setContentView
(PhoneWindow.java:334)
E/AndroidRuntime( 5629):at
com.android.internal.app.AlertController.installContent
(AlertController.java:204)
E/AndroidRuntime( 5629):at
com.android.internal.app.AlertActivity.setupAlert(AlertActivity.java:
74)
E/AndroidRuntime( 5629):at
com.google.android.location.ConfirmAlertActivity.onCreate
(ConfirmAlertActivity.java:50)
E/AndroidRuntime( 5629):at
android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:
1123)
E/AndroidRuntime( 5629):at
android.app.ActivityThread.performLaunchActivity(ActivityThread.java:
2364)
E/AndroidRuntime( 5629):... 6 more
E/AndroidRuntime( 5629): Caused by:
java.lang.reflect.InvocationTargetException
E/AndroidRuntime( 5629):at
com.android.internal.widget.DialogTitle.init(DialogTitle.java:38)
E/AndroidRuntime( 5629):at
java.lang.reflect.Constructor.constructNative(Native Method)
E/AndroidRuntime( 5629):at java.lang.reflect.Constructor.newInstance
(Constructor.java:446)
E/AndroidRuntime( 5629):at android.view.LayoutInflater.createView
(LayoutInflater.java:499)
E/AndroidRuntime( 5629):... 19 more
E/AndroidRuntime( 5629): Caused by: android.content.res.Resources
$NotFoundException: File res/color/secondary_text_dark.xml from color
state list resource ID #0x0
E/AndroidRuntime( 5629):at
android.content.res.Resources.loadColorStateList(Resources.java:1873)
E/AndroidRuntime( 5629):at
android.content.res.TypedArray.getColorStateList(TypedArray.java:303)
E/AndroidRuntime( 5629):at android.widget.TextView.init
(TextView.java:380)
E/AndroidRuntime( 5629):at android.widget.TextView.init
(TextView.java:320)
E/AndroidRuntime( 5629):... 23 more
E/AndroidRuntime( 5629): Caused by: android.content.res.Resources
$NotFoundException: File res/color/secondary_text_dark.xml from xml
type colorstatelist resource ID #0x0
E/AndroidRuntime( 5629):at
android.content.res.Resources.loadXmlResourceParser(Resources.java:
1980)
E/AndroidRuntime( 5629):at
android.content.res.Resources.loadColorStateList(Resources.java:1868)
E/AndroidRuntime( 5629):... 26 more

-- 
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


<    1   2   3   4   >