Win a copy of Java by Comparison (eBook) this week in the Java in General forum!

Piyush Patel

Ranch Hand
+ Follow
since Feb 24, 2009
Piyush likes ...
Android Firefox Browser Ubuntu
i believe in technology has to reach to all.
Ahmedabad , India
Cows and Likes
Cows
Total received
0
In last 30 days
0
Total given
0
Likes
Total received
0
Received in last 30 days
0
Total given
0
Given in last 30 days
0
Forums and Threads
Scavenger Hunt
expand Ranch Hand Scavenger Hunt
expand Greenhorn Scavenger Hunt

Recent posts by Piyush Patel

vina parmar wrote:Could anyone help me.


This Example on Android Developers is useful to start with.
7 years ago
You can reduce image size by using BitmapFactory.Options



set options.inSampleSize to some what higher value p(i.e 5) which means high compression that will take care of OutofMemory.
this worked for me.

thanks
7 years ago
Man before you ask Google It !! And Have a look at Stackoverflow.
7 years ago

Hardik Trivedi wrote: getListView().setChoiceMode(ListView.CHOICE_MODE_SINGLE);


Since you have used Choice Mode, Use setOnItemSelectedListener

7 years ago
Hi,James

James Elsey : how can I refresh it? Do I need to call onCreate()



you can't call onCreate() method that is Andoird life cycle method. that is being managed by Android OS.

To get refreshed data from another class you can put the code inside onStart() method. that is being called after onCreate().

Go through Android Life Cycle

Thanks :-)

7 years ago
Milk !
Butter Milk ! ( can't take lunch without it )
Fruits !
7 years ago
Have you looked at API demo supplied with Android SDK ? please go through API Demos and there are 6-7 examples of ListActivities.

There is one example in API Demo for list activity that will solve you problems, it shows how to create customized Adapter.

hope this helps.. write back to forum if problem remains..

Regards,
Piyush

7 years ago
Hi, it may be because you are calling prepare in invalid state. please check state diagram on Media Recorder | Android Dev.com follow the states.

if problem persist show your snippet & error log.
Thanks !

7 years ago
can you show us error log..
7 years ago
Hi,James

I faced same situation !
in my case i created Static List<Pojo.Class> myList in Activity #1. &added pojo to List by myList.add(pojoObj);
then retried the Pojos in Activity #2 using Activity1.myList Object ;

Done ! i don't know if this is Optimal solution to the problem !!
neways hope this will help you.

Best Regards,
piyushnp


7 years ago
you need to use SIP protocol for chat user presence & use RTP protocol to send chat message to server. google on JAINSIP.
7 years ago
hi,

This Example will help you ! Click on Example ProgressDialog with a second thread on that page.

Happy AndroiDCoding!!
Regards,
Piyush
7 years ago
hi,

Progress bar counting is implemented using thread (second thread) using Handler.

This example uses a second thread to track the progress of a process (which actually just counts up to 100). The thread sends a Message back to the main Activity through a Handler each time progress is made. The main Activity then updates the ProgressDialog.

View this Example and click on Example ProgressDialog with a second thread. this will help you.


Best regards,
Piyush
7 years ago
IPL
Finally IPL over & Lalit Modi is Out !
And My Fav team CSK won IPL 3.

congrats to CSK..


7 years ago

Rizvan Asgarov wrote:Congratulations Piyush!
By the way, what was the name of your thesis?


Thanks ;)
My Thesis was "Android VoIP Client" uMobility Android Client.

Pankaj Programmer wrote:
Are you confident about the results ??


yup , 'm confident for result..
7 years ago