[android-developers] org.json.JSONException: Unterminated object at character 33 of [{"Error": "Cannot run program "hadoop": error=2, No such file or directory is not available."}]

2016-03-29 Thread rachana govilkar
I am working on Android Studio.
I have 2 folders(1 for android and 1 for java code) inside 
projectrootfolder/src/main/java

java code contains code to access RESTful web services.
And Android code calls these methods to get response.

When i tried doing same in Eclipse, i get proper JSON response but in 
Studio i get error as
  org.json.JSONException: Unterminated object at character 33 of 
[{"Error": "Cannot run program "hadoop": error=2, No such file or directory 
is not available."}]




-- 
You received this message because you are subscribed to the Google Groups 
"Android Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to android-developers+unsubscr...@googlegroups.com.
To post to this group, send email to android-developers@googlegroups.com.
Visit this group at https://groups.google.com/group/android-developers.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/android-developers/fcb72927-6682-4a26-b2cd-3590880fce2f%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[android-developers] Re: Replace Old DB file

2013-03-18 Thread rachana govilkar
Hello,
Even i am facing similar kind of problem.
Basically my old file consists of 1 table and new file consists of 4 tables.
I just want to replace old file by new file so that i can 
insert/update/delete records on device.
If you found out the solution please let me know as soon as possible.

On Monday, November 9, 2009 9:14:57 AM UTC+5:30, TJ wrote:
>
> Hi, 
> I am having a hard time in DDMS "Push a file onto device" I have an 
> old database file that I like to replace with a new file that I 
> created using sql studio. If anybody have any idea on how to do this 
> please let me know, 
> thanks 
> tj 
>

-- 
-- 
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 unsubscribe from this group and stop receiving emails from it, send an email 
to android-developers+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.




[android-developers] communication between project and library project.

2013-02-17 Thread rachana govilkar
Hello all,
I have a problem and i did search it but couldn't get clear solution.So 
please help me asap.
Scenario is :
I have 2 projects viz project 1 and project 2.
project 1 has 1 activity say activity A and project 2 has activity B & C.
Now project 1 is library project and included in project 2.
Hence i can call Project1.ActivityA from Project2.ActivityB.
Problem is i don't know how to call Prject2.activityC from 
Project1.ActivityA.
If any1 know the solution please let me know.
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 unsubscribe from this group and stop receiving emails from it, send an email 
to android-developers+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.




[android-developers] Refresh current list after receiving notification

2012-04-26 Thread rachana govilkar
Hello,

I have an application in which i display list of messages between two users.
Whenever i receive notification for new message,i have written a code to 
click on that notification and show details of it.
But i don't know how to write a code if i am already on Message List screen 
and notification arrived then refresh that list without clicking on the 
notification.
Please tell me if there is any example of it.


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

Re: [android-developers] Camera preview

2012-03-20 Thread rachana govilkar
Hi,
I am facing problem when i use your sample project code to open Front 
Facing Camera.

Here is my error : Caused by: java.lang.RuntimeException: Fail to connect 
to camera service
on line  : camera=Camera.open(i);

I have written all permissions required for camera and everything.
So can you tell me why I am facing this error?

Also i tested code given here  http://digitaldumptruck.jotabout.com/?p=797 
But still i am not able to use FFC.
Please help me.

On Friday, February 11, 2011 5:50:28 PM UTC+5:30, Mark Murphy wrote:
>
> That example has a flaw -- it hard-wires in /sdcard as the location of
> external storage. Use File.getExternalStorageDirectory() for that
> instead, or some other spot.
>
> Here is another sample project:
>
> https://github.com/commonsguy/cw-advandroid/tree/master/Camera/Picture
>
> This one is more complex, because it uses a front-facing camera on
> Android 2.3+, but otherwise it does the same basic things as the
> example you cited.
>
> On Fri, Feb 11, 2011 at 4:01 AM, Jayanthi  wrote:
> > Hi dude,
> >   I am developing an application using camera preview I have
> > done with  the help of below URL
> >
> > "http://marakana.com/forums/android/examples/39.html"; but the image is
> > not storing in sd card can anyone help please
> >
> > --
> > 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
> >
>
> -- 
> Mark Murphy (a Commons Guy)
> http://commonsware.com | http://github.com/commonsguy
> http://commonsware.com/blog | http://twitter.com/commonsguy
>
> Android App Developer Books: http://commonsware.com/books
>
>

-- 
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] Lock-unlock device during audio recording

2012-03-13 Thread rachana govilkar
nope.it did not work.

On Monday, March 12, 2012 11:55:21 PM UTC+5:30, hooman os wrote:
>
> Maybe start recording in onResume() and stop recording in onPause()
> On 12 Mar 2012 10:11, "rachana govilkar"  
> wrote:
>
>> Hello all,
>> I am developing an application inside which i need to record audio.
>> I implemented code and it is working fine until my tester filed a bug
>> for me.
>> Tester scenario was:
>> 1.open application.
>> 2.start recording audio.
>> 3.lock device.
>> 4.unlock device.
>> 5.recording continues.
>> here if device is locked, after unlocking i want to stop recording and
>> take it to earlier activity.
>> But i am not able to do it.
>> Is there any event need to be handled for this?
>> Like in video recording i had to handle SurfaceDestroyed().
>> Let me know if anyone knows.
>> Thanks.
>>
>> --
>> You received this message because you are subscribed to the Google
>> Groups "Android Developers" group.
>> To post to this group, send email to android-developers@googlegroups.com
>> To unsubscribe from this group, send email to
>> android-developers+unsubscr...@googlegroups.com
>> For more options, visit this group at
>> http://groups.google.com/group/android-developers?hl=en
>
>

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

[android-developers] Lock-unlock device during audio recording

2012-03-12 Thread rachana govilkar
Hello all,
I am developing an application inside which i need to record audio.
I implemented code and it is working fine until my tester filed a bug
for me.
Tester scenario was:
1.open application.
2.start recording audio.
3.lock device.
4.unlock device.
5.recording continues.
here if device is locked, after unlocking i want to stop recording and
take it to earlier activity.
But i am not able to do it.
Is there any event need to be handled for this?
Like in video recording i had to handle SurfaceDestroyed().
Let me know if anyone knows.
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: How does Chronometer work??

2012-01-20 Thread rachana govilkar
hmm not yet.I will check it out.
Thanks for help.

On Jan 20, 1:00 pm, skink  wrote:
> rachana govilkar wrote:
> > I did write this code but its of no use as my Chronometer is not
> > getting displayed only.
> > And hence this time ticking is not taking place.
> > Do I need to add some code in code I mentioned above???
>
> hmm, have you tried:
>
> http://developer.android.com/resources/samples/ApiDemos/src/com/examp...
>
> pskink

-- 
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 does Chronometer work??

2012-01-19 Thread rachana govilkar
I did write this code but its of no use as my Chronometer is not
getting displayed only.
And hence this time ticking is not taking place.
Do I need to add some code in code I mentioned above???


On Jan 19, 7:41 am, Brian Dols  wrote:
> before you call chrono.start(), try adding a tick listener:
>                         chrono.setOnChronometerTickListener(new 
> OnChronometerTickListener()
> {
>
>                                 @Override
>                                 public void onChronometerTick(Chronometer 
> chronometer) {
>                                         long elapsedTime = 
> (System.currentTimeMillis() -
> chronometer.getBase()) / 1000;
>                                         String currentTime = 
> Utils.verboseTime(elapsedTime);
>                                         chronometer.setText(currentTime);
>                                 }
>                         });
>
> On Jan 18, 4:55 am, rachana govilkar 
> wrote:
>
> > Hello All,
>
> > Using MediaRecorder I could capture Video.But I want to show timer to
> > the user exactly same as it shown in
> > built-in Camera app.
> > So i implemented Chronometer logic
>
> > private Chronometer chrono;
> > chrono = (Chronometer)findViewById(R.id.chronometer1);
> > chrono.setBase(SystemClock.elapsedRealtime());
> > chrono.start();
>
> > but no luck.
>
> > Can anybody help me on this issue??

-- 
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 does Chronometer work??

2012-01-19 Thread rachana govilkar


On Jan 18, 4:16 pm, skink  wrote:
> rachana govilkar wrote:
> > Hello All,
>
> > Using MediaRecorder I could capture Video.But I want to show timer to
> > the user exactly same as it shown in
> > built-in Camera app.
> > So i implemented Chronometer logic
>
> > private Chronometer chrono;
> > chrono = (Chronometer)findViewById(R.id.chronometer1);
> > chrono.setBase(SystemClock.elapsedRealtime());
> > chrono.start();
>
> > but no luck.
>
> > Can anybody help me on this issue??
>
> yiu didn't say what your issue is. no luck?

no luck is chronometer is not getting displayed and once it did but
its not showing me time.It just showed 00.00 all the time.
>
> pskink

-- 
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 does Chronometer work??

2012-01-18 Thread rachana govilkar
Hello All,

Using MediaRecorder I could capture Video.But I want to show timer to
the user exactly same as it shown in
built-in Camera app.
So i implemented Chronometer logic

private Chronometer chrono;
chrono = (Chronometer)findViewById(R.id.chronometer1);
chrono.setBase(SystemClock.elapsedRealtime());
chrono.start();

but no luck.

Can anybody help me on this issue??

-- 
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: notifyDataSetChanged() Is not refreshing ArrayAdapter

2012-01-12 Thread rachana govilkar
Thnx vandana,
But hot to remove it?? As I am decreasing count in another activity.
And 1 more thing I noticed if I restart the application it shows me
decreased count but I want this to happen also on click of Back
Button.
Sorry I should have mentioned it in 1st post.

On Jan 12, 6:27 pm, vandana toshniwal 
wrote:
> once u decrease the count...also remove that from the array
> then call notifyDataSetChanged()
>
> On 12 January 2012 18:52, rachana govilkar wrote:
>
>
>
>
>
>
>
> > Hello all,
>
> > I have 3 activities.
> > 1.FriendsList
> > 2.MessageList
> > 3.DisplaySingleMessage.
>
> > Now in FriendsList activity I display count of messages.And then I
> > want to decrease that count as I read messages in DisplaySingleMessage
> > activity.
> > I do set decreased count in DisplaySingleMessage activity.
>
> > So, on FriendsList activity I am using method
> > friendListAdaptor.notifyDataSetChanged().
> > This adapter is arrayadapter but it is not giving proper result.
> > Is there anything I also need to write??
> > Can anybody help me??
> > 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

-- 
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] notifyDataSetChanged() Is not refreshing ArrayAdapter

2012-01-12 Thread rachana govilkar
Hello all,

I have 3 activities.
1.FriendsList
2.MessageList
3.DisplaySingleMessage.

Now in FriendsList activity I display count of messages.And then I
want to decrease that count as I read messages in DisplaySingleMessage
activity.
I do set decreased count in DisplaySingleMessage activity.

So, on FriendsList activity I am using method
friendListAdaptor.notifyDataSetChanged().
This adapter is arrayadapter but it is not giving proper result.
Is there anything I also need to write??
Can anybody help me??
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] Re: problem parsing the package

2011-12-27 Thread rachana govilkar
Thank you for responding Jim.
But i solved that issue just now after debugging a lottt.
And
> First of all, what "package" are you having trouble with?  Your subject
> doesn't seem to match your problem here.  Did you hijack someone else's
> thread?  If so, don't do that...it's extremely rude, at the very least.

No this is my own thread.

> And fill in the missing info on this package you're stuck onYou
> completely left that questio out.

And i have mentioned in 3rd/4th post that i have cleared that issue.

Thank you for your interest.


On Dec 27, 1:33 am, Jim Graham  wrote:
> On Mon, Dec 26, 2011 at 05:19:17AM -0800, rachana govilkar wrote:
> > Hello,
> > I am in a problem related with ListView.
> > I attach my List of users to the ListView and i also have a button.
> > On click of which i need to pass the whole user object of that user to
> > next file.
>
> First of all, what "package" are you having trouble with?  Your subject
> doesn't seem to match your problem here.  Did you hijack someone else's
> thread?  If so, don't do that...it's extremely rude, at the very least.
>
> > userFriendInfoVO = mainFriendList.get(position);
>
> > see here i get whole object but no matter whichever object i click
> > upon, i only get details of user having last position.
> > can anyone help me into it??
>
> If you post a bit more of the relevant code, probably...almost certainly,
> in fact.  From what you describe, "position" is not getting set, or its
> value is being overwritten before you read the results.  If you'd posted
> the relevant code, I could tell you for sure.
>
> And fill in the missing info on this package you're stuck onYou
> completely left that questio out.
>
> Later,
>    --jim
>
> --
> THE SCORE:  ME:  2  CANCER:  0
> 73 DE N5IAL (/4)            MiSTie #49997      < Running FreeBSD 7.0 >
> spooky1...@gmail.com                    ICBM/Hurr.: 30.44406N 86.59909W
>
>          No, I'm not going to explain it.  If you can't figure it
>          out, you didn't want to know anyway...      --Larry Wall
>
> Android Apps Listing athttp://www.jstrack.org/barcodes.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


[android-developers] Re: problem parsing the package

2011-12-26 Thread rachana govilkar
Hello,
I am in a problem related with ListView.
I attach my List of users to the ListView and i also have a button.
On click of which i need to pass the whole user object of that user to
next file.

userFriendInfoVO = mainFriendList.get(position);

see here i get whole object but no matter whichever object i click
upon, i only get details of user having last position.
can anyone help me into it??


On Dec 23, 10:54 pm, Kumar Bibek  wrote:
> Post your manifest file. It's probably that causing the problem.
>
> *Thanks and Regards,
> Kumar Bibek*
> *http://techdroid.kbeanie.comhttp://www.kbeanie.com*

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


[android-developers] Re: problem parsing the package

2011-12-23 Thread rachana govilkar
Did u even write anything

On Dec 23, 7:43 pm, radin  wrote:
> On Nov 28, 2:42 pm, rachana govilkar 
> wrote:
>
>
>
>
>
>
>
> > helo
> > i developd a small application n started testing on LG 2.2 android
> > device.
> > but i am getting this error "there isproblemparsingthepackage"
> > when installing .apk file.
> > i searched this group but i dint get any satisfactory answer.
>
> > 
> > i hope this is not causing erroras 2.2 device has same API
> > level...
> > please reply soon
> > thnk u 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: problem parsing the package

2011-12-18 Thread rachana govilkar
Need help in MMS issue.
This is the flow.
I open my application and after i login i get a screen of writing
message.This message can be SMS/MMS but right now i am concerned about
MMS so i write some text and click on "Add Attachment" button.
Then it shows me another screen of adding image/video/audio.Whenever i
select a image/video/audio it must be displayed on 1st
screen where there is ImageView or whatever.
Here i am not able to see that selected thing.
I use XPERIA ARC n it works in your android way of showing me the
attachment.
But in my application complete flow is working correctly except last
part of showing attachment.
so i am not getting what i must do?can u just explain?
thanks.

On Dec 8, 3:03 pm, rachana govilkar 
wrote:
> hey thank you so much for help
> actually i changed my code.wrote a simple 1 n it is running.
> but i have not solved video select error
> just check this thread..i have mentioned it in previous posts.
> could u help me??
> i wil put my code if you want.
> but do help me as soon as possible
> thanks in advance...
>
> On Dec 5, 5:19 pm, Mukesh Srivastav  wrote:
>
>
>
>
>
>
>
> > Rachna,
>
> > Please call the unlock method immediate after preview display,that helps.
>
> > --
> > Warm Regards,
> > *Mukesh Kumar*,
> > Android Consultant/Freelancer,
> > India,Hyderabad.
>
> > On Mon, Dec 5, 2011 at 5:38 PM, rachana govilkar 
> > > wrote:
> > > hello...
> > > y anybody is not replying on this thread???
> > > anywys plz help this time.am just stuck up at audio recording
> > > i just wrote this program given in android guide..
> > >http://developer.android.com/guide/topics/media/audio-capture.html
> > > but getting error as prepare() is failed..
> > > this error is killing me. plzzz help.
>
> > > On Dec 1, 5:09 pm, rachana govilkar 
> > > wrote:
> > > > hey now am capturing video n getting same error..
> > > > Unable to instantiate activity ComponentInfo{com.privacygram.activity/
> > > > com.privacygram.activity.VideoCapture}:
> > > > java.lang.InstantiationException:
> > > > com.privacygram.activity.VideoCapture
> > > > plz help me...
>
> > > > On Nov 30, 4:41 pm, rachana govilkar 
> > > > wrote:
>
> > > > > hey now i hav aproblemworking on Create Contact.i usedhttp://
> > > developer.android.com/guide/topics/providers/content-providers...
> > > > > this link....
> > > > > but as per given there i could create contact statically
> > > > > but i need to create dynamically as android built-in create contact
> > > > > functionality
> > > > > n also tell me when u save the contact u do save it in Database or
> > > > > smthing else??
> > > > > any help is appreciated.
>
> > > > > On Nov 29, 5:10 pm, rachana govilkar 
> > > > > wrote:
>
> > > > > > Hey Its Working...
> > > > > > yaaay!
> > > > > > i knw it must hv been very simple for u but for me its a start
> > > > > > 1st android program n exception was comingu can guess how sick i
> > > > > > was feeling...
> > > > > > but no more sick now
> > > > > > i just need to focus more on itthnk u for help
>
> > > > > > On Nov 29, 4:08 pm, rachana govilkar 
> > > > > > wrote:
>
> > > > > > > above described was 1 way i tried.
> > > > > > > it was to develop customized camera feature as given in Android
> > > guide/
> > > > > > > camera...
> > > > > > > i also tried another way of using existing camera feature but am
> > > > > > > getting NullPointerException
> > > > > > > can u tel where am going wrong??
>
> > > > > > > On Nov 29, 10:13 am, rachana govilkar 
> > > > > > > wrote:
>
> > > > > > > > hey this is my ImageCapture.java..hope u get idea.
>
> > > > > > > >packagecom.privacygram.activity;
>
> > > > > > > > import android.content.Context;
> > > > > > > > import android.graphics.PixelFormat;
> > > > > > > > import android.hardware.Camera;
> > > > > > > > import android.hardware.Camera.Parameters;
> > > &g

[android-developers] Re: MMS group texting

2011-12-18 Thread rachana govilkar
Ok.I understood what you both meant and I am sorry.(I hope sorry is
fine).
So can we get back to the issue of MMS?
I am posting it on my thread again.Hope you would feel helping me.
Thank you for paying attention.


On Dec 19, 5:55 am, Jim Graham  wrote:
> On Sun, Dec 18, 2011 at 04:33:36PM -0600, TreKing wrote:
> > Yes - but people are more likely to help others that take the time to
> > formulate a well written question and don't write like a 14-year-old girl
> > texting her friends (I'm not saying you are, that's an extreme analogy).
> > Otherwise many people will dismiss you as spam or not take you seriously.
>
> I just wanted to second that.  Personally, if I can't make sense of the
> post without having to try and figure out what the OP meant, I just
> delete it and move on.  That's assuming that the Subject line (or the
> portion of it that doesn't fall off the side of the screen, as that's all
> I see---the first few words matter), I usually don't even bother to read
> it at all.
>
> I also skip posts where what appears to be a question is worded as a
> stateement (usually also with no question mark), or with statements that
> have question marks instead of periods (and this is far too common with
> American-English speakers, too).  Every now and then, if I'm in the mood
> to try to help, I will at least try to figure it out...otherwise, delete
> and move on.
>
> With that, I'm out of here...other stuff to do.
>
> Later,
>    --jim
>
> --
> THE SCORE:  ME:  2  CANCER:  0
> 73 DE N5IAL (/4)        | "Now what *you* need is a proper pint of
> spooky1...@gmail.com    | porter poured in a proper pewter porter
> < Running FreeBSD 7.0 > | pot.."
> ICBM / Hurricane:       |    --Peter Dalgaard in alt.sysadmin.recovery
>    30.44406N 86.59909W  |
>
> Android Apps Listing athttp://www.jstrack.org/barcodes.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


[android-developers] Re: MMS group texting

2011-12-18 Thread rachana govilkar
Hello TreKing,
1.Check this link.This is my thread.
http://groups.google.com/group/android-developers/browse_thread/thread/759edf51479c88d4/4c467d7ecd119f27?lnk=gst&q=problem+parsing+package#4c467d7ecd119f27
But i guess no one is interested in answering my questions there and
so i posted my query here.
2.I thought the person started this thread wrote iPhone mistakenly n
so he/she also might get some help(of course if needed.).
3.I thought we are here to help people about android and not for so
called-english-grammer-mistake-show and so i don't think total 5
question marks and only 1 word "no1" misspelled in my previous post
matter so much to you.
4.Also i started my thread in informal way because i saw some posts
like that and when Mark told me its not right way i said sorry to him
in my thread and i have improved in case of spellings.
But if that is bothering to you also then i am sorry , next time i
will improve.(I guess i have already as i have not written any .
in this post)
And If you think i am being rude in 3rd point then i really can't
help.
Hope you understand.


On Dec 16, 6:09 pm, TreKing  wrote:
> On Thu, Dec 15, 2011 at 11:31 PM, rachana govilkar <
>
> rachana.govil...@gmail.com> wrote:
> > Ya this is ANDROID group so no1 has posted iPhone query here..
> > anyways hey TreKing i have problem in MMS.
>
> How about starting your own thread instead of hijacking another pointless
> one? You'll likely get more help that way.
>
> Oh, and please proofread your post before you submit it. A few capital
> letters, less "???" and "." action, and some correct spelling will
> do *wonders* for people not dismissing your post immediately.
>
> --- 
> --
> TreKing <http://sites.google.com/site/rezmobileapps/treking> - Chicago
> transit tracking app for Android-powered devices

-- 
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: MMS group texting

2011-12-15 Thread rachana govilkar
Ya this is ANDROID group so no1 has posted iPhone query here..
anyways hey TreKing i have problem in MMS.
i will explain flow..
i open my applicationn i get a screen of writing msgit can be
SMS/MMS
but rite now i am concerned about MMS so i write some text and click
on Add Attachment button...
then it shows me another screen of adding image/video/audio...
whenever i select a image/video/audio it must be displayed on 1st
screen where there is imageview or whatever
here i am not able to see that selected thing.
I use XPERIA ARC n it works in your android way of showing me the
attachment.
so in my application complete flow is working correctly except last
part.
so i am not getting what i must do??can u just explain???
thanks.

On Dec 16, 7:29 am, TreKing  wrote:
> On Mon, Dec 12, 2011 at 6:26 PM, jprioleau83  wrote:
> > Has anyone solve the issueo of group texting with iphone users?
>
> Has anyone *reported* an issueo of group texting with iphone users?
>
> -
> TreKing  - Chicago
> transit tracking app for Android-powered devices

-- 
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 pass a web link to a button.

2011-12-14 Thread rachana govilkar
Hello all,
instead of url i want that button to link another page from my
project
that is on clicking that link it will go to some page...
so is it possible using Uri.parse()???
plz let me know
thanks in advance

On Nov 22, 1:00 pm, "Klepon.boy"  wrote:
> use an intent and put it on your button click listener.
>
> ex :
>
> Intent iD = new Intent();
>         iD.setAction(Intent.ACTION_VIEW);
>         iD.setData(Uri.parse("http://www.kaskus.us";));
>         startActivity(iD);
>
> hope it useful for you, and sorry for my english.

-- 
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: Clean files from Temp file

2011-12-12 Thread rachana govilkar
Thank you srihari.i will definitely try this.
and TreKing i previously did go through the link you have given but i
thought u could write/ create a file into that internal storage
area
i didn't know that you can create folder inside that area
i am very much new to this
hope you understand
but thanks by d way


On Dec 13, 4:41 am, TreKing  wrote:
> On Mon, Dec 12, 2011 at 4:47 AM, rachana govilkar <
>
> rachana.govil...@gmail.com> wrote:
> > Can anybody help??
>
> http://developer.android.com/guide/topics/data/data-storage.html
>
> -
> TreKing <http://sites.google.com/site/rezmobileapps/treking> - Chicago
> transit tracking app for Android-powered devices

-- 
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] Clean files from Temp file

2011-12-12 Thread rachana govilkar
Hello,
I want to know how to trace path of SD Card and then i want to create
sub folder inside that SD Card folder.
Is it possible to do??
Also i want to delete all files from that folder when my application
exists.
i guess File.createTempFile() will help me.
But i don't know about 1st problem i mentioned.
Can anybody 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] Re: problem parsing the package

2011-12-08 Thread rachana govilkar
hey thank you so much for help
actually i changed my code.wrote a simple 1 n it is running.
but i have not solved video select error
just check this thread..i have mentioned it in previous posts.
could u help me??
i wil put my code if you want.
but do help me as soon as possible
thanks in advance...

On Dec 5, 5:19 pm, Mukesh Srivastav  wrote:
> Rachna,
>
> Please call the unlock method immediate after preview display,that helps.
>
> --
> Warm Regards,
> *Mukesh Kumar*,
> Android Consultant/Freelancer,
> India,Hyderabad.
>
> On Mon, Dec 5, 2011 at 5:38 PM, rachana govilkar 
>
>
>
>
>
>
> > wrote:
> > hello...
> > y anybody is not replying on this thread???
> > anywys plz help this time.am just stuck up at audio recording
> > i just wrote this program given in android guide..
> >http://developer.android.com/guide/topics/media/audio-capture.html
> > but getting error as prepare() is failed..
> > this error is killing me. plzzz help.
>
> > On Dec 1, 5:09 pm, rachana govilkar 
> > wrote:
> > > hey now am capturing video n getting same error..
> > > Unable to instantiate activity ComponentInfo{com.privacygram.activity/
> > > com.privacygram.activity.VideoCapture}:
> > > java.lang.InstantiationException:
> > > com.privacygram.activity.VideoCapture
> > > plz help me...
>
> > > On Nov 30, 4:41 pm, rachana govilkar 
> > > wrote:
>
> > > > hey now i hav a problem working on Create Contact.i usedhttp://
> > developer.android.com/guide/topics/providers/content-providers...
> > > > this link
> > > > but as per given there i could create contact statically
> > > > but i need to create dynamically as android built-in create contact
> > > > functionality
> > > > n also tell me when u save the contact u do save it in Database or
> > > > smthing else??
> > > > any help is appreciated.
>
> > > > On Nov 29, 5:10 pm, rachana govilkar 
> > > > wrote:
>
> > > > > Hey Its Working...
> > > > > yaaay!
> > > > > i knw it must hv been very simple for u but for me its a start
> > > > > 1st android program n exception was comingu can guess how sick i
> > > > > was feeling...
> > > > > but no more sick now
> > > > > i just need to focus more on itthnk u for help....
>
> > > > > On Nov 29, 4:08 pm, rachana govilkar 
> > > > > wrote:
>
> > > > > > above described was 1 way i tried.
> > > > > > it was to develop customized camera feature as given in Android
> > guide/
> > > > > > camera...
> > > > > > i also tried another way of using existing camera feature but am
> > > > > > getting NullPointerException
> > > > > > can u tel where am going wrong??
>
> > > > > > On Nov 29, 10:13 am, rachana govilkar 
> > > > > > wrote:
>
> > > > > > > hey this is my ImageCapture.java..hope u get idea.
>
> > > > > > > package com.privacygram.activity;
>
> > > > > > > import android.content.Context;
> > > > > > > import android.graphics.PixelFormat;
> > > > > > > import android.hardware.Camera;
> > > > > > > import android.hardware.Camera.Parameters;
> > > > > > > import android.hardware.Camera.PictureCallback;
> > > > > > > import android.hardware.Camera.ShutterCallback;
> > > > > > > import android.view.SurfaceHolder;
> > > > > > > import android.view.SurfaceView;
>
> > > > > > > public class ImageCapture extends SurfaceView{
>
> > > > > > >         SurfaceHolder previewHolder;
> > > > > > >         Camera camera;
> > > > > > >         protected PictureCallback raw;
> > > > > > >         protected ShutterCallback shutter;
> > > > > > >         protected PictureCallback postview;
> > > > > > >         protected PictureCallback jpeg;
>
> > > > > > >         public ImageCapture(Context context) {
> > > > > > >                 super(context);
> > > > > > >                 // TODO Auto-generated constructor stub
> > > > > > >                 previewHold

[android-developers] Re: speech recording

2011-12-05 Thread rachana govilkar
n sorry for bad english.

On Dec 5, 5:25 pm, rachana govilkar 
wrote:
> yes thank u for quick reply :)
> coz i did mention this question on my thread also.
> n yes it is giving me exceptionIllegalStateException
> but y so??
> i mean i have just wrote program same as provided on d link
> my program is...
>
> package com.privacygram.activity;
>
> import java.io.IOException;
>
> import android.app.Activity;
> import android.content.Context;
> import android.media.MediaPlayer;
> import android.media.MediaRecorder;
> import android.os.Bundle;
> import android.os.Environment;
> import android.util.Log;
> import android.view.View;
> import android.view.ViewGroup;
> import android.widget.Button;
> import android.widget.LinearLayout;
>
> public class AudioCapturing extends Activity{
>
>          private static final String LOG_TAG = "AudioRecordTest";
>             private static String mFileName = null;
>
>             private RecordButton mRecordButton = null;
>             private MediaRecorder mRecorder = null;
>
>             private PlayButton   mPlayButton = null;
>             private MediaPlayer   mPlayer = null;
>
>             private void onRecord(boolean start) {
>                 if (start) {
>                     startRecording();
>                 } else {
>                     stopRecording();
>                 }
>             }
>
>             private void onPlay(boolean start) {
>                 if (start) {
>                     startPlaying();
>                 } else {
>                     stopPlaying();
>                 }
>             }
>
>             private void startPlaying() {
>                 mPlayer = new MediaPlayer();
>                 try {
>                     mPlayer.setDataSource(mFileName);
>                     mPlayer.prepare();
>                     mPlayer.start();
>                 } catch (IOException e) {
>                     Log.e(LOG_TAG, "prepare() failed");
>                 }
>             }
>
>             private void stopPlaying() {
>                 mPlayer.release();
>                 mPlayer = null;
>             }
>
>             private void startRecording() {
>                 mRecorder = new MediaRecorder();
>                 mRecorder.setAudioSource(MediaRecorder.AudioSource.MIC);
>
> mRecorder.setOutputFormat(MediaRecorder.OutputFormat.THREE_GPP);
>                 mRecorder.setOutputFile(mFileName);
>                 mRecorder.setAudioEncoder(MediaRecorder.AudioEncoder.AMR_NB);
>
>                 try {
>                     mRecorder.prepare();
>
>                 } catch (IOException e) {
>                     Log.e(LOG_TAG, "prepare() failed");
>
>                 } catch (Exception e) {
>                                 // TODO: handle exception
>                          Log.e(LOG_TAG, "prepare() failed");
>                         }
>
>                 mRecorder.start();
>             }
>
>             private void stopRecording() {
>                 mRecorder.stop();
>                 mRecorder.release();
>                 mRecorder = null;
>             }
>
>             class RecordButton extends Button {
>                 boolean mStartRecording = true;
>
>                 OnClickListener clicker = new OnClickListener() {
>                     public void onClick(View v) {
>                         onRecord(mStartRecording);
>                         if (mStartRecording) {
>                             setText("Stop recording");
>                         } else {
>                             setText("Start recording");
>                         }
>                         mStartRecording = !mStartRecording;
>                     }
>                 };
>
>                 public RecordButton(Context ctx) {
>                     super(ctx);
>                     setText("Start recording");
>                     setOnClickListener(clicker);
>                 }
>             }
>
>             class PlayButton extends Button {
>                 boolean mStartPlaying = true;
>
>                 OnClickListener clicker = new OnClickListener() {
>                     public void onClick(View v) {
>                         onPlay(mStartPlaying);
>                         if (mStartPlaying) {
>                             setText("Stop playing");
>                         } else {
>                             setText("Start playing");
>                         }
>                         mStartPlaying = !mStartPlaying;
>                     }
>

[android-developers] Re: speech recording

2011-12-05 Thread rachana govilkar
yes thank u for quick reply :)
coz i did mention this question on my thread also.
n yes it is giving me exceptionIllegalStateException
but y so??
i mean i have just wrote program same as provided on d link
my program is...

package com.privacygram.activity;

import java.io.IOException;

import android.app.Activity;
import android.content.Context;
import android.media.MediaPlayer;
import android.media.MediaRecorder;
import android.os.Bundle;
import android.os.Environment;
import android.util.Log;
import android.view.View;
import android.view.ViewGroup;
import android.widget.Button;
import android.widget.LinearLayout;

public class AudioCapturing extends Activity{

 private static final String LOG_TAG = "AudioRecordTest";
private static String mFileName = null;

private RecordButton mRecordButton = null;
private MediaRecorder mRecorder = null;

private PlayButton   mPlayButton = null;
private MediaPlayer   mPlayer = null;

private void onRecord(boolean start) {
if (start) {
startRecording();
} else {
stopRecording();
}
}

private void onPlay(boolean start) {
if (start) {
startPlaying();
} else {
stopPlaying();
}
}

private void startPlaying() {
mPlayer = new MediaPlayer();
try {
mPlayer.setDataSource(mFileName);
mPlayer.prepare();
mPlayer.start();
} catch (IOException e) {
Log.e(LOG_TAG, "prepare() failed");
}
}

private void stopPlaying() {
mPlayer.release();
mPlayer = null;
}

private void startRecording() {
mRecorder = new MediaRecorder();
mRecorder.setAudioSource(MediaRecorder.AudioSource.MIC);

mRecorder.setOutputFormat(MediaRecorder.OutputFormat.THREE_GPP);
mRecorder.setOutputFile(mFileName);
mRecorder.setAudioEncoder(MediaRecorder.AudioEncoder.AMR_NB);

try {
mRecorder.prepare();

} catch (IOException e) {
Log.e(LOG_TAG, "prepare() failed");

} catch (Exception e) {
// TODO: handle exception
 Log.e(LOG_TAG, "prepare() failed");
}

mRecorder.start();
}

private void stopRecording() {
mRecorder.stop();
mRecorder.release();
mRecorder = null;
}

class RecordButton extends Button {
boolean mStartRecording = true;

OnClickListener clicker = new OnClickListener() {
public void onClick(View v) {
onRecord(mStartRecording);
if (mStartRecording) {
setText("Stop recording");
} else {
setText("Start recording");
}
mStartRecording = !mStartRecording;
}
};

public RecordButton(Context ctx) {
super(ctx);
setText("Start recording");
setOnClickListener(clicker);
}
}

class PlayButton extends Button {
boolean mStartPlaying = true;

OnClickListener clicker = new OnClickListener() {
public void onClick(View v) {
onPlay(mStartPlaying);
if (mStartPlaying) {
setText("Stop playing");
} else {
setText("Start playing");
}
mStartPlaying = !mStartPlaying;
}
};

public PlayButton(Context ctx) {
super(ctx);
setText("Start playing");
setOnClickListener(clicker);
}
}

public AudioCapturing() {
Log.d("state is:",Environment.getExternalStorageState());
mFileName =
Environment.getExternalStorageDirectory().getAbsolutePath();
mFileName += "/audiorecordtest.3gp";

//mFileName =
"android.provider.MediaStore.Images.Media.INTERNAL_CONTENT_URI";
}


public void onCreate(Bundle icicle) {
super.onCreate(icicle);

LinearLayout ll = new LinearLayout(this);
mRecordButton = new RecordButton(

[android-developers] Re: problem parsing the package

2011-12-05 Thread rachana govilkar
hello...
y anybody is not replying on this thread???
anywys plz help this time.am just stuck up at audio recording
i just wrote this program given in android guide..
http://developer.android.com/guide/topics/media/audio-capture.html
but getting error as prepare() is failed..
this error is killing me. plzzz help.

On Dec 1, 5:09 pm, rachana govilkar 
wrote:
> hey now am capturing video n getting same error..
> Unable to instantiate activity ComponentInfo{com.privacygram.activity/
> com.privacygram.activity.VideoCapture}:
> java.lang.InstantiationException:
> com.privacygram.activity.VideoCapture
> plz help me...
>
> On Nov 30, 4:41 pm, rachana govilkar 
> wrote:
>
>
>
>
>
>
>
> > hey now i hav a problem working on Create Contact.i 
> > usedhttp://developer.android.com/guide/topics/providers/content-providers...
> > this link
> > but as per given there i could create contact statically
> > but i need to create dynamically as android built-in create contact
> > functionality
> > n also tell me when u save the contact u do save it in Database or
> > smthing else??
> > any help is appreciated.
>
> > On Nov 29, 5:10 pm, rachana govilkar 
> > wrote:
>
> > > Hey Its Working...
> > > yaaay!
> > > i knw it must hv been very simple for u but for me its a start
> > > 1st android program n exception was comingu can guess how sick i
> > > was feeling...
> > > but no more sick now
> > > i just need to focus more on itthnk u for help
>
> > > On Nov 29, 4:08 pm, rachana govilkar 
> > > wrote:
>
> > > > above described was 1 way i tried.
> > > > it was to develop customized camera feature as given in Android guide/
> > > > camera...
> > > > i also tried another way of using existing camera feature but am
> > > > getting NullPointerException
> > > > can u tel where am going wrong??
>
> > > > On Nov 29, 10:13 am, rachana govilkar 
> > > > wrote:
>
> > > > > hey this is my ImageCapture.java..hope u get idea.
>
> > > > > package com.privacygram.activity;
>
> > > > > import android.content.Context;
> > > > > import android.graphics.PixelFormat;
> > > > > import android.hardware.Camera;
> > > > > import android.hardware.Camera.Parameters;
> > > > > import android.hardware.Camera.PictureCallback;
> > > > > import android.hardware.Camera.ShutterCallback;
> > > > > import android.view.SurfaceHolder;
> > > > > import android.view.SurfaceView;
>
> > > > > public class ImageCapture extends SurfaceView{
>
> > > > >         SurfaceHolder previewHolder;
> > > > >         Camera camera;
> > > > >         protected PictureCallback raw;
> > > > >         protected ShutterCallback shutter;
> > > > >         protected PictureCallback postview;
> > > > >         protected PictureCallback jpeg;
>
> > > > >         public ImageCapture(Context context) {
> > > > >                 super(context);
> > > > >                 // TODO Auto-generated constructor stub
> > > > >                 previewHolder = this.getHolder();
>
> > > > >                 
> > > > > previewHolder.setType(SurfaceHolder.SURFACE_TYPE_PUSH_BUFFERS);
> > > > >                  previewHolder.addCallback(surfaceHolderListener);
> > > > >         }
>
> > > > >         SurfaceHolder.Callback surfaceHolderListener = new
> > > > >         SurfaceHolder.Callback()
> > > > >                 {
> > > > >                    public void surfaceCreated(SurfaceHolder holder)
> > > > >                    {
> > > > >                            camera=Camera.open();
> > > > >                            try {
> > > > >                            camera.setPreviewDisplay(previewHolder);
> > > > >                            }catch (Exception E ){ }
> > > > >                    }
> > > > >                    public void surfaceDestroyed(SurfaceHolder arg0)
> > > > >                    {
> > > > >                            camera.stopPreview();
> > > > >                            camera.release();
> > > > >                    }
> > > > >        

[android-developers] Re: speech recording

2011-12-05 Thread rachana govilkar
hey hi
even i am facing d same problem
code am writing to capture audio is given in android guide itself
check this link   
http://developer.android.com/guide/topics/media/audio-capture.html

but it is giving me error for prepare method in StartRecording()
LogCat is:

12-05 16:11:39.442: ERROR/AudioRecordTest(309): prepare() failed
12-05 16:11:39.442: ERROR/MediaRecorder(309): start called in an
invalid state: 4
12-05 16:11:39.512: DEBUG/AndroidRuntime(309): Shutting down VM
12-05 16:11:39.512: WARN/dalvikvm(309): threadid=1: thread exiting
with uncaught exception (group=0x4001d800)
12-05 16:11:39.722: ERROR/AndroidRuntime(309): FATAL EXCEPTION: main
12-05 16:11:39.722: ERROR/AndroidRuntime(309):
java.lang.IllegalStateException
12-05 16:11:39.722: ERROR/AndroidRuntime(309): at
android.media.MediaRecorder.start(Native Method)
12-05 16:11:39.722: ERROR/AndroidRuntime(309): at
com.privacygram.activity.AudioCapturing.startRecording(AudioCapturing.java:
74)
12-05 16:11:39.722: ERROR/AndroidRuntime(309): at
com.privacygram.activity.AudioCapturing.onRecord(AudioCapturing.java:
30)
12-05 16:11:39.722: ERROR/AndroidRuntime(309): at
com.privacygram.activity.AudioCapturing.access$0(AudioCapturing.java:
28)
12-05 16:11:39.722: ERROR/AndroidRuntime(309): at
com.privacygram.activity.AudioCapturing$RecordButton
$1.onClick(AudioCapturing.java:88)
12-05 16:11:39.722: ERROR/AndroidRuntime(309): at
android.view.View.performClick(View.java:2408)
12-05 16:11:39.722: ERROR/AndroidRuntime(309): at android.view.View
$PerformClick.run(View.java:8816)
12-05 16:11:39.722: ERROR/AndroidRuntime(309): at
android.os.Handler.handleCallback(Handler.java:587)
12-05 16:11:39.722: ERROR/AndroidRuntime(309): at
android.os.Handler.dispatchMessage(Handler.java:92)
12-05 16:11:39.722: ERROR/AndroidRuntime(309): at
android.os.Looper.loop(Looper.java:123)
12-05 16:11:39.722: ERROR/AndroidRuntime(309): at
android.app.ActivityThread.main(ActivityThread.java:4627)
12-05 16:11:39.722: ERROR/AndroidRuntime(309): at
java.lang.reflect.Method.invokeNative(Native Method)
12-05 16:11:39.722: ERROR/AndroidRuntime(309): at
java.lang.reflect.Method.invoke(Method.java:521)
12-05 16:11:39.722: ERROR/AndroidRuntime(309): at
com.android.internal.os.ZygoteInit
$MethodAndArgsCaller.run(ZygoteInit.java:868)
12-05 16:11:39.722: ERROR/AndroidRuntime(309): at
com.android.internal.os.ZygoteInit.main(ZygoteInit.java:626)
12-05 16:11:39.722: ERROR/AndroidRuntime(309): at
dalvik.system.NativeStart.main(Native Method)

i have written all permissions in manifest.xml
can u plz help me wat am i supposed to do??
thnk u


On Nov 3, 2:47 am, Mike  wrote:
> you need at least these permissions in your AndroidManifest file
>
>          android:name="android.permission.WRITE_EXTERNAL_STORAGE" />
>         
>
> On Nov 2, 7:09 am, ktuluceng  wrote:
>
>
>
>
>
>
>
> > 11-02 11:55:39.647: W/System.err(557): java.io.FileNotFoundException: /
> > mnt/sdcard/gpp/record1.3gp (Permission denied)

-- 
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: problem parsing the package

2011-12-01 Thread rachana govilkar
hey now am capturing video n getting same error..
Unable to instantiate activity ComponentInfo{com.privacygram.activity/
com.privacygram.activity.VideoCapture}:
java.lang.InstantiationException:
com.privacygram.activity.VideoCapture
plz help me...

On Nov 30, 4:41 pm, rachana govilkar 
wrote:
> hey now i hav a problem working on Create Contact.i 
> usedhttp://developer.android.com/guide/topics/providers/content-providers...
> this link
> but as per given there i could create contact statically
> but i need to create dynamically as android built-in create contact
> functionality
> n also tell me when u save the contact u do save it in Database or
> smthing else??
> any help is appreciated.....
>
> On Nov 29, 5:10 pm, rachana govilkar 
> wrote:
>
>
>
>
>
>
>
> > Hey Its Working...
> > yaaay!
> > i knw it must hv been very simple for u but for me its a start
> > 1st android program n exception was comingu can guess how sick i
> > was feeling...
> > but no more sick now
> > i just need to focus more on itthnk u for help
>
> > On Nov 29, 4:08 pm, rachana govilkar 
> > wrote:
>
> > > above described was 1 way i tried.
> > > it was to develop customized camera feature as given in Android guide/
> > > camera...
> > > i also tried another way of using existing camera feature but am
> > > getting NullPointerException
> > > can u tel where am going wrong??
>
> > > On Nov 29, 10:13 am, rachana govilkar 
> > > wrote:
>
> > > > hey this is my ImageCapture.java..hope u get idea.
>
> > > > package com.privacygram.activity;
>
> > > > import android.content.Context;
> > > > import android.graphics.PixelFormat;
> > > > import android.hardware.Camera;
> > > > import android.hardware.Camera.Parameters;
> > > > import android.hardware.Camera.PictureCallback;
> > > > import android.hardware.Camera.ShutterCallback;
> > > > import android.view.SurfaceHolder;
> > > > import android.view.SurfaceView;
>
> > > > public class ImageCapture extends SurfaceView{
>
> > > >         SurfaceHolder previewHolder;
> > > >         Camera camera;
> > > >         protected PictureCallback raw;
> > > >         protected ShutterCallback shutter;
> > > >         protected PictureCallback postview;
> > > >         protected PictureCallback jpeg;
>
> > > >         public ImageCapture(Context context) {
> > > >                 super(context);
> > > >                 // TODO Auto-generated constructor stub
> > > >                 previewHolder = this.getHolder();
>
> > > >                 
> > > > previewHolder.setType(SurfaceHolder.SURFACE_TYPE_PUSH_BUFFERS);
> > > >                  previewHolder.addCallback(surfaceHolderListener);
> > > >         }
>
> > > >         SurfaceHolder.Callback surfaceHolderListener = new
> > > >         SurfaceHolder.Callback()
> > > >                 {
> > > >                    public void surfaceCreated(SurfaceHolder holder)
> > > >                    {
> > > >                            camera=Camera.open();
> > > >                            try {
> > > >                            camera.setPreviewDisplay(previewHolder);
> > > >                            }catch (Exception E ){ }
> > > >                    }
> > > >                    public void surfaceDestroyed(SurfaceHolder arg0)
> > > >                    {
> > > >                            camera.stopPreview();
> > > >                            camera.release();
> > > >                    }
> > > >                    public void surfaceChanged(SurfaceHolder holder, int
> > > > format,
> > > >         int width, int height)
> > > >                    {
> > > >                            Parameters params = camera.getParameters();
> > > >                            params.setPreviewSize(width, height);
> > > >                            params.setPictureFormat(PixelFormat.JPEG);
> > > >                            camera.setParameters(params);
> > > >                            camera.startPreview();
>
> > > >                            camera.takePicture(shutter, raw, postview, 
> > > > jpeg);
> > > >                            camera.stopPreview();
&g

[android-developers] Re: problem parsing the package

2011-11-30 Thread rachana govilkar
hey now i hav a problem working on Create Contact.i used
http://developer.android.com/guide/topics/providers/content-providers.html
this link
but as per given there i could create contact statically
but i need to create dynamically as android built-in create contact
functionality
n also tell me when u save the contact u do save it in Database or
smthing else??
any help is appreciated.

On Nov 29, 5:10 pm, rachana govilkar 
wrote:
> Hey Its Working...
> yaaay!
> i knw it must hv been very simple for u but for me its a start
> 1st android program n exception was comingu can guess how sick i
> was feeling...
> but no more sick now
> i just need to focus more on itthnk u for help
>
> On Nov 29, 4:08 pm, rachana govilkar 
> wrote:
>
>
>
>
>
>
>
> > above described was 1 way i tried.
> > it was to develop customized camera feature as given in Android guide/
> > camera...
> > i also tried another way of using existing camera feature but am
> > getting NullPointerException
> > can u tel where am going wrong??
>
> > On Nov 29, 10:13 am, rachana govilkar 
> > wrote:
>
> > > hey this is my ImageCapture.java..hope u get idea.
>
> > > package com.privacygram.activity;
>
> > > import android.content.Context;
> > > import android.graphics.PixelFormat;
> > > import android.hardware.Camera;
> > > import android.hardware.Camera.Parameters;
> > > import android.hardware.Camera.PictureCallback;
> > > import android.hardware.Camera.ShutterCallback;
> > > import android.view.SurfaceHolder;
> > > import android.view.SurfaceView;
>
> > > public class ImageCapture extends SurfaceView{
>
> > >         SurfaceHolder previewHolder;
> > >         Camera camera;
> > >         protected PictureCallback raw;
> > >         protected ShutterCallback shutter;
> > >         protected PictureCallback postview;
> > >         protected PictureCallback jpeg;
>
> > >         public ImageCapture(Context context) {
> > >                 super(context);
> > >                 // TODO Auto-generated constructor stub
> > >                 previewHolder = this.getHolder();
>
> > >                 
> > > previewHolder.setType(SurfaceHolder.SURFACE_TYPE_PUSH_BUFFERS);
> > >                  previewHolder.addCallback(surfaceHolderListener);
> > >         }
>
> > >         SurfaceHolder.Callback surfaceHolderListener = new
> > >         SurfaceHolder.Callback()
> > >                 {
> > >                    public void surfaceCreated(SurfaceHolder holder)
> > >                    {
> > >                            camera=Camera.open();
> > >                            try {
> > >                            camera.setPreviewDisplay(previewHolder);
> > >                            }catch (Exception E ){ }
> > >                    }
> > >                    public void surfaceDestroyed(SurfaceHolder arg0)
> > >                    {
> > >                            camera.stopPreview();
> > >                            camera.release();
> > >                    }
> > >                    public void surfaceChanged(SurfaceHolder holder, int
> > > format,
> > >         int width, int height)
> > >                    {
> > >                            Parameters params = camera.getParameters();
> > >                            params.setPreviewSize(width, height);
> > >                            params.setPictureFormat(PixelFormat.JPEG);
> > >                            camera.setParameters(params);
> > >                            camera.startPreview();
>
> > >                            camera.takePicture(shutter, raw, postview, 
> > > jpeg);
> > >                            camera.stopPreview();
> > >                            camera.release();
> > >                    }
> > >                 };
>
> > > }
>
> > > On Nov 28, 6:23 pm, Mark Murphy  wrote:
>
> > > > InstantiationException can mean that the activity class is not public
> > > > or lacks a public constructor with the appropriate signature.
>
> > > > On Mon, Nov 28, 2011 at 8:07 AM, Raghav Sood
>
> > > >  wrote:
> > > > > There is a problem in your instantiating your ImageCapture class. 
> > > > > Post the
> > > > > first 30 lines or so, and you may get some help.
> > > &

[android-developers] Re: Programatically adding a contact issue

2011-11-30 Thread rachana govilkar
hey e1 i am working on same Contact thing
n i did check tat link but 
http://developer.android.com/guide/topics/providers/content-providers.html
this link is more helpful
n if u know how to create contacts dynamically plz let me know
i just want to create contact n send msg to him/her
usig the link i referred i am able to create contact via program
but i want to create it dynamically n display d list.
if anybody know plz leme know soon.
thnks


On Nov 24, 2:02 pm, Ali Chousein  wrote:
> Study the ContactsContract API 
> (http://developer.android.com/reference/android/provider/ContactsContr...
> ). All information you need is there.
>
> -
> Ali Chousein
> Weather-Buddyhttp://weatherbuddy.blogspot.com|http://twitter.com/weather_buddy
> Geo-Filtered 
> Assistanthttp://geo-filtered-assistant.blogspot.comhttps://marketplace.cisco.com/apphq/store/products/994

-- 
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: problem parsing the package

2011-11-29 Thread rachana govilkar
Hey Its Working...
yaaay!
i knw it must hv been very simple for u but for me its a start
1st android program n exception was comingu can guess how sick i
was feeling...
but no more sick now
i just need to focus more on itthnk u for help

On Nov 29, 4:08 pm, rachana govilkar 
wrote:
> above described was 1 way i tried.
> it was to develop customized camera feature as given in Android guide/
> camera...
> i also tried another way of using existing camera feature but am
> getting NullPointerException
> can u tel where am going wrong??
>
> On Nov 29, 10:13 am, rachana govilkar 
> wrote:
>
>
>
>
>
>
>
> > hey this is my ImageCapture.java..hope u get idea.
>
> > package com.privacygram.activity;
>
> > import android.content.Context;
> > import android.graphics.PixelFormat;
> > import android.hardware.Camera;
> > import android.hardware.Camera.Parameters;
> > import android.hardware.Camera.PictureCallback;
> > import android.hardware.Camera.ShutterCallback;
> > import android.view.SurfaceHolder;
> > import android.view.SurfaceView;
>
> > public class ImageCapture extends SurfaceView{
>
> >         SurfaceHolder previewHolder;
> >         Camera camera;
> >         protected PictureCallback raw;
> >         protected ShutterCallback shutter;
> >         protected PictureCallback postview;
> >         protected PictureCallback jpeg;
>
> >         public ImageCapture(Context context) {
> >                 super(context);
> >                 // TODO Auto-generated constructor stub
> >                 previewHolder = this.getHolder();
>
> >                 
> > previewHolder.setType(SurfaceHolder.SURFACE_TYPE_PUSH_BUFFERS);
> >                  previewHolder.addCallback(surfaceHolderListener);
> >         }
>
> >         SurfaceHolder.Callback surfaceHolderListener = new
> >         SurfaceHolder.Callback()
> >                 {
> >                    public void surfaceCreated(SurfaceHolder holder)
> >                    {
> >                            camera=Camera.open();
> >                            try {
> >                            camera.setPreviewDisplay(previewHolder);
> >                            }catch (Exception E ){ }
> >                    }
> >                    public void surfaceDestroyed(SurfaceHolder arg0)
> >                    {
> >                            camera.stopPreview();
> >                            camera.release();
> >                    }
> >                    public void surfaceChanged(SurfaceHolder holder, int
> > format,
> >         int width, int height)
> >                    {
> >                            Parameters params = camera.getParameters();
> >                            params.setPreviewSize(width, height);
> >                            params.setPictureFormat(PixelFormat.JPEG);
> >                            camera.setParameters(params);
> >                            camera.startPreview();
>
> >                            camera.takePicture(shutter, raw, postview, jpeg);
> >                            camera.stopPreview();
> >                            camera.release();
> >                    }
> >                 };
>
> > }
>
> > On Nov 28, 6:23 pm, Mark Murphy  wrote:
>
> > > InstantiationException can mean that the activity class is not public
> > > or lacks a public constructor with the appropriate signature.
>
> > > On Mon, Nov 28, 2011 at 8:07 AM, Raghav Sood
>
> > >  wrote:
> > > > There is a problem in your instantiating your ImageCapture class. Post 
> > > > the
> > > > first 30 lines or so, and you may get some help.
> > > > Thanks
>
> > > > On Mon, Nov 28, 2011 at 6:13 PM, rachana govilkar
> > > >  wrote:
>
> > > >> when i test on emulator it gives me error as Your application has
> > > >> stopped unexpectedly.
> > > >> n LogCat is:-
>
> > > >> 11-28 18:10:06.265: E/AndroidRuntime(313): FATAL EXCEPTION: main
> > > >> 11-28 18:10:06.265: E/AndroidRuntime(313): java.lang.RuntimeException:
> > > >> Unable to instantiate activity ComponentInfo{com.privacygram.activity/
> > > >> com.privacygram.activity.ImageCapture}:
> > > >> java.lang.InstantiationException:
> > > >> com.privacygram.activity.ImageCapture
> > > >> 11-28 18:10:06.265: E/AndroidRuntime(313):      at
> > > >> android.app.ActivityThread.perfo

[android-developers] Re: problem parsing the package

2011-11-29 Thread rachana govilkar
above described was 1 way i tried.
it was to develop customized camera feature as given in Android guide/
camera...
i also tried another way of using existing camera feature but am
getting NullPointerException
can u tel where am going wrong??

On Nov 29, 10:13 am, rachana govilkar 
wrote:
> hey this is my ImageCapture.java..hope u get idea.
>
> package com.privacygram.activity;
>
> import android.content.Context;
> import android.graphics.PixelFormat;
> import android.hardware.Camera;
> import android.hardware.Camera.Parameters;
> import android.hardware.Camera.PictureCallback;
> import android.hardware.Camera.ShutterCallback;
> import android.view.SurfaceHolder;
> import android.view.SurfaceView;
>
> public class ImageCapture extends SurfaceView{
>
>         SurfaceHolder previewHolder;
>         Camera camera;
>         protected PictureCallback raw;
>         protected ShutterCallback shutter;
>         protected PictureCallback postview;
>         protected PictureCallback jpeg;
>
>         public ImageCapture(Context context) {
>                 super(context);
>                 // TODO Auto-generated constructor stub
>                 previewHolder = this.getHolder();
>
>                 
> previewHolder.setType(SurfaceHolder.SURFACE_TYPE_PUSH_BUFFERS);
>                  previewHolder.addCallback(surfaceHolderListener);
>         }
>
>         SurfaceHolder.Callback surfaceHolderListener = new
>         SurfaceHolder.Callback()
>                 {
>                    public void surfaceCreated(SurfaceHolder holder)
>                    {
>                            camera=Camera.open();
>                            try {
>                            camera.setPreviewDisplay(previewHolder);
>                            }catch (Exception E ){ }
>                    }
>                    public void surfaceDestroyed(SurfaceHolder arg0)
>                    {
>                            camera.stopPreview();
>                            camera.release();
>                    }
>                    public void surfaceChanged(SurfaceHolder holder, int
> format,
>         int width, int height)
>                    {
>                            Parameters params = camera.getParameters();
>                            params.setPreviewSize(width, height);
>                            params.setPictureFormat(PixelFormat.JPEG);
>                            camera.setParameters(params);
>                            camera.startPreview();
>
>                            camera.takePicture(shutter, raw, postview, jpeg);
>                            camera.stopPreview();
>                            camera.release();
>                    }
>                 };
>
> }
>
> On Nov 28, 6:23 pm, Mark Murphy  wrote:
>
>
>
>
>
>
>
> > InstantiationException can mean that the activity class is not public
> > or lacks a public constructor with the appropriate signature.
>
> > On Mon, Nov 28, 2011 at 8:07 AM, Raghav Sood
>
> >  wrote:
> > > There is a problem in your instantiating your ImageCapture class. Post the
> > > first 30 lines or so, and you may get some help.
> > > Thanks
>
> > > On Mon, Nov 28, 2011 at 6:13 PM, rachana govilkar
> > >  wrote:
>
> > >> when i test on emulator it gives me error as Your application has
> > >> stopped unexpectedly.
> > >> n LogCat is:-
>
> > >> 11-28 18:10:06.265: E/AndroidRuntime(313): FATAL EXCEPTION: main
> > >> 11-28 18:10:06.265: E/AndroidRuntime(313): java.lang.RuntimeException:
> > >> Unable to instantiate activity ComponentInfo{com.privacygram.activity/
> > >> com.privacygram.activity.ImageCapture}:
> > >> java.lang.InstantiationException:
> > >> com.privacygram.activity.ImageCapture
> > >> 11-28 18:10:06.265: E/AndroidRuntime(313):      at
> > >> android.app.ActivityThread.performLaunchActivity(ActivityThread.java:
> > >> 2585)
> > >> 11-28 18:10:06.265: E/AndroidRuntime(313):      at
> > >> android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:
> > >> 2679)
> > >> 11-28 18:10:06.265: E/AndroidRuntime(313):      at
> > >> android.app.ActivityThread.access$2300(ActivityThread.java:125)
> > >> 11-28 18:10:06.265: E/AndroidRuntime(313):      at
> > >> android.app.ActivityThread$H.handleMessage(ActivityThread.java:2033)
> > >> 11-28 18:10:06.265: E/AndroidRuntime(313):      at
> > >> android.os.Handler.dispatchMessage(Handler.java:99)
> > >> 11-28 18:10:06.265: E/AndroidRuntime(313):      at
>

[android-developers] Re: problem parsing the package

2011-11-28 Thread rachana govilkar
hey this is my ImageCapture.java..hope u get idea.


package com.privacygram.activity;

import android.content.Context;
import android.graphics.PixelFormat;
import android.hardware.Camera;
import android.hardware.Camera.Parameters;
import android.hardware.Camera.PictureCallback;
import android.hardware.Camera.ShutterCallback;
import android.view.SurfaceHolder;
import android.view.SurfaceView;

public class ImageCapture extends SurfaceView{

SurfaceHolder previewHolder;
Camera camera;
protected PictureCallback raw;
protected ShutterCallback shutter;
protected PictureCallback postview;
protected PictureCallback jpeg;

public ImageCapture(Context context) {
super(context);
// TODO Auto-generated constructor stub
previewHolder = this.getHolder();

previewHolder.setType(SurfaceHolder.SURFACE_TYPE_PUSH_BUFFERS);
 previewHolder.addCallback(surfaceHolderListener);
}

SurfaceHolder.Callback surfaceHolderListener = new
SurfaceHolder.Callback()
{
   public void surfaceCreated(SurfaceHolder holder)
   {
   camera=Camera.open();
   try {
   camera.setPreviewDisplay(previewHolder);
   }catch (Exception E ){ }
   }
   public void surfaceDestroyed(SurfaceHolder arg0)
   {
   camera.stopPreview();
   camera.release();
   }
   public void surfaceChanged(SurfaceHolder holder, int
format,
int width, int height)
   {
   Parameters params = camera.getParameters();
   params.setPreviewSize(width, height);
   params.setPictureFormat(PixelFormat.JPEG);
   camera.setParameters(params);
   camera.startPreview();

   camera.takePicture(shutter, raw, postview, jpeg);
   camera.stopPreview();
   camera.release();
   }
};
}


On Nov 28, 6:23 pm, Mark Murphy  wrote:
> InstantiationException can mean that the activity class is not public
> or lacks a public constructor with the appropriate signature.
>
> On Mon, Nov 28, 2011 at 8:07 AM, Raghav Sood
>
>
>
>
>
>
>
>
>
>  wrote:
> > There is a problem in your instantiating your ImageCapture class. Post the
> > first 30 lines or so, and you may get some help.
> > Thanks
>
> > On Mon, Nov 28, 2011 at 6:13 PM, rachana govilkar
> >  wrote:
>
> >> when i test on emulator it gives me error as Your application has
> >> stopped unexpectedly.
> >> n LogCat is:-
>
> >> 11-28 18:10:06.265: E/AndroidRuntime(313): FATAL EXCEPTION: main
> >> 11-28 18:10:06.265: E/AndroidRuntime(313): java.lang.RuntimeException:
> >> Unable to instantiate activity ComponentInfo{com.privacygram.activity/
> >> com.privacygram.activity.ImageCapture}:
> >> java.lang.InstantiationException:
> >> com.privacygram.activity.ImageCapture
> >> 11-28 18:10:06.265: E/AndroidRuntime(313):      at
> >> android.app.ActivityThread.performLaunchActivity(ActivityThread.java:
> >> 2585)
> >> 11-28 18:10:06.265: E/AndroidRuntime(313):      at
> >> android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:
> >> 2679)
> >> 11-28 18:10:06.265: E/AndroidRuntime(313):      at
> >> android.app.ActivityThread.access$2300(ActivityThread.java:125)
> >> 11-28 18:10:06.265: E/AndroidRuntime(313):      at
> >> android.app.ActivityThread$H.handleMessage(ActivityThread.java:2033)
> >> 11-28 18:10:06.265: E/AndroidRuntime(313):      at
> >> android.os.Handler.dispatchMessage(Handler.java:99)
> >> 11-28 18:10:06.265: E/AndroidRuntime(313):      at
> >> android.os.Looper.loop(Looper.java:123)
> >> 11-28 18:10:06.265: E/AndroidRuntime(313):      at
> >> android.app.ActivityThread.main(ActivityThread.java:4627)
> >> 11-28 18:10:06.265: E/AndroidRuntime(313):      at
> >> java.lang.reflect.Method.invokeNative(Native Method)
> >> 11-28 18:10:06.265: E/AndroidRuntime(313):      at
> >> java.lang.reflect.Method.invoke(Method.java:521)
> >> 11-28 18:10:06.265: E/AndroidRuntime(313):      at
> >> com.android.internal.os.ZygoteInit
> >> $MethodAndArgsCaller.run(ZygoteInit.java:868)
> >> 11-28 18:10:06.265: E/AndroidRuntime(313):      at
> >> com.android.internal.os.ZygoteInit.main(ZygoteInit.java:

[android-developers] Re: problem parsing the package

2011-11-28 Thread rachana govilkar
when i test on emulator it gives me error as Your application has
stopped unexpectedly.
n LogCat is:-

11-28 18:10:06.265: E/AndroidRuntime(313): FATAL EXCEPTION: main
11-28 18:10:06.265: E/AndroidRuntime(313): java.lang.RuntimeException:
Unable to instantiate activity ComponentInfo{com.privacygram.activity/
com.privacygram.activity.ImageCapture}:
java.lang.InstantiationException:
com.privacygram.activity.ImageCapture
11-28 18:10:06.265: E/AndroidRuntime(313):  at
android.app.ActivityThread.performLaunchActivity(ActivityThread.java:
2585)
11-28 18:10:06.265: E/AndroidRuntime(313):  at
android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:
2679)
11-28 18:10:06.265: E/AndroidRuntime(313):  at
android.app.ActivityThread.access$2300(ActivityThread.java:125)
11-28 18:10:06.265: E/AndroidRuntime(313):  at
android.app.ActivityThread$H.handleMessage(ActivityThread.java:2033)
11-28 18:10:06.265: E/AndroidRuntime(313):  at
android.os.Handler.dispatchMessage(Handler.java:99)
11-28 18:10:06.265: E/AndroidRuntime(313):  at
android.os.Looper.loop(Looper.java:123)
11-28 18:10:06.265: E/AndroidRuntime(313):  at
android.app.ActivityThread.main(ActivityThread.java:4627)
11-28 18:10:06.265: E/AndroidRuntime(313):  at
java.lang.reflect.Method.invokeNative(Native Method)
11-28 18:10:06.265: E/AndroidRuntime(313):  at
java.lang.reflect.Method.invoke(Method.java:521)
11-28 18:10:06.265: E/AndroidRuntime(313):  at
com.android.internal.os.ZygoteInit
$MethodAndArgsCaller.run(ZygoteInit.java:868)
11-28 18:10:06.265: E/AndroidRuntime(313):  at
com.android.internal.os.ZygoteInit.main(ZygoteInit.java:626)
11-28 18:10:06.265: E/AndroidRuntime(313):  at
dalvik.system.NativeStart.main(Native Method)
11-28 18:10:06.265: E/AndroidRuntime(313): Caused by:
java.lang.InstantiationException:
com.privacygram.activity.ImageCapture
11-28 18:10:06.265: E/AndroidRuntime(313):  at
java.lang.Class.newInstanceImpl(Native Method)
11-28 18:10:06.265: E/AndroidRuntime(313):  at
java.lang.Class.newInstance(Class.java:1429)
11-28 18:10:06.265: E/AndroidRuntime(313):  at
android.app.Instrumentation.newActivity(Instrumentation.java:1021)
11-28 18:10:06.265: E/AndroidRuntime(313):  at
android.app.ActivityThread.performLaunchActivity(ActivityThread.java:
2577)
11-28 18:10:06.265: E/AndroidRuntime(313):  ... 11 more


On Nov 28, 4:45 pm, Raghav Sood 
wrote:
> Try installing it via ADB and post the LogCat.
>
> Thanks
>
> On Mon, Nov 28, 2011 at 5:12 PM, rachana govilkar <
>
>
>
>
>
>
>
>
>
> rachana.govil...@gmail.com> wrote:
> > helo
> > i developd a small application n started testing on LG 2.2 android
> > device.
> > but i am getting this error "there is problem parsing the package"
> > when installing .apk file.
> > i searched this group but i dint get any satisfactory answer.
>
> > 
> > i hope this is not causing erroras 2.2 device has same API
> > level...
> > please reply soon
> > thnk u 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
>
> --
> Raghav Soodhttp://www.androidactivist.org/- Authorhttp://www.appaholics.in/- 
> Founder

-- 
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] problem parsing the package

2011-11-28 Thread rachana govilkar
helo
i developd a small application n started testing on LG 2.2 android
device.
but i am getting this error "there is problem parsing the package"
when installing .apk file.
i searched this group but i dint get any satisfactory answer.


i hope this is not causing erroras 2.2 device has same API
level...
please reply soon
thnk u 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: Developing a WhatsApp(Android)

2011-11-25 Thread rachana govilkar
hey helo
even i want it as i am doing chat application sort of like
whatsapp
i just want to show only those who have d app installed n not all
friends in d list
thnks

On Nov 1, 8:21 am, TreKing  wrote:
> On Sat, Oct 29, 2011 at 12:11 AM, Firzan Gulam <
>
> firzan.itechnolo...@gmail.com> wrote:
> > for this what service i have to use???
>
> Try Google.
>
> -
> TreKing  - Chicago
> transit tracking app for Android-powered devices

-- 
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: Encryption of phonebook contacts

2011-11-24 Thread rachana govilkar
hey hieven i am working on Contacts thing...
n i was reading the link when i came across ur post
i knw it is not much related to this thread..

if i open a chat application i just want to show a list of friends who
r using d application n not everybody
like we have in Whatsapp..
can anybody help me on it plz??


On Nov 25, 11:49 am, Chander mourya  wrote:
> Hi Thanks for your response.
> I read this security link provided by you,what i understand is it
> comes under Kernel space.
> you are working in this area can you please give me some directions so
> that i can move forward in this direction.
> my main task is to Encrypt phonebook contacts while saving them.
> if you have tried something on this encryption please share with me so
> that i can understand the flow.
>
> Thanks 
>
> On 11/25/11, BelvCompSvs  wrote:
>
>
>
>
>
>
>
>
>
> > I have been working on this ~ seems to me doing any crypto where
> > Android keeps the contacts is going to be interfering with the
> > operating system's fundamental design but if one wishes to just keep
> > some info in an enciphered / encrypted form then my suggestion for the
> > moment is to start with how to create a File on the SD card as it is
> > rather obvious that saving data on an SD card ( external storage ) in
> > an enciphered form could be a novel approach to using J.C.E. to
> > enhance Android Security Model
>
> > there is an Android Security group that is informed for the crypto
> > stuff but for a place to start I suggest
> >http://developer.android.com/guide/topics/security/security.html
>
> > On Nov 24, 8:34 am, chander  wrote:
> >> Hi I need to encrypt my android phone contacts while saving a contact
> >> in android form i want to encrypt it using any encryption algorithm
> >> with the help of Java Cryptography extensions.
> >> can i embed my encryption algorithm like DES or any algorithm in
> >> phonebook contacts while saving them to my android phone.
>
> >> any help is appreciated.
> >> 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
>
> --
> Chandra Mohan Mourya

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

2011-11-22 Thread rachana govilkar
Hey problem is solved
i was returning null from a function
thnk u for attention btw.
:)

On Nov 22, 2:30 pm, Ratheesh Valamchuzhy  wrote:
> paste the code...

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

2011-11-21 Thread rachana govilkar
yes it is declared in Manifest..


On Nov 22, 5:01 am, TreKing  wrote:
> On Mon, Nov 21, 2011 at 6:47 AM, rachana govilkar <
>
> rachana.govil...@gmail.com> wrote:
> > I am getting this error frequently when i execute my
> > app..RegionStandardMapActivity class does existbut am not
> > getting where i have made a mistake.please anyone can help???
>
> Was it declared in your manifest?
>
> -
> TreKing <http://sites.google.com/site/rezmobileapps/treking> - Chicago
> transit tracking app for Android-powered devices

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

2011-11-21 Thread rachana govilkar
11-21 18:12:52.874: ERROR/AndroidRuntime(282): FATAL EXCEPTION: main
11-21 18:12:52.874: ERROR/AndroidRuntime(282):
java.lang.NoClassDefFoundError:
com.accommodation.activity.RegionStandardMapActivity
11-21 18:12:52.874: ERROR/AndroidRuntime(282): at
com.accommodation.activity.MainRegionDetailsActivity
$1.onClick(MainRegionDetailsActivity.java:59)
11-21 18:12:52.874: ERROR/AndroidRuntime(282): at
android.view.View.performClick(View.java:2408)
11-21 18:12:52.874: ERROR/AndroidRuntime(282): at android.view.View
$PerformClick.run(View.java:8816)
11-21 18:12:52.874: ERROR/AndroidRuntime(282): at
android.os.Handler.handleCallback(Handler.java:587)
11-21 18:12:52.874: ERROR/AndroidRuntime(282): at
android.os.Handler.dispatchMessage(Handler.java:92)
11-21 18:12:52.874: ERROR/AndroidRuntime(282): at
android.os.Looper.loop(Looper.java:123)
11-21 18:12:52.874: ERROR/AndroidRuntime(282): at
android.app.ActivityThread.main(ActivityThread.java:4627)
11-21 18:12:52.874: ERROR/AndroidRuntime(282): at
java.lang.reflect.Method.invokeNative(Native Method)
11-21 18:12:52.874: ERROR/AndroidRuntime(282): at
java.lang.reflect.Method.invoke(Method.java:521)
11-21 18:12:52.874: ERROR/AndroidRuntime(282): at
com.android.internal.os.ZygoteInit
$MethodAndArgsCaller.run(ZygoteInit.java:868)
11-21 18:12:52.874: ERROR/AndroidRuntime(282): at
com.android.internal.os.ZygoteInit.main(ZygoteInit.java:626)
11-21 18:12:52.874: ERROR/AndroidRuntime(282): at
dalvik.system.NativeStart.main(Native Method)


I am getting this error frequently when i execute my
app..RegionStandardMapActivity class does existbut am not
getting where i have made a mistake.please anyone can 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