Re: [android-developers] Streaming Audio From Web

2011-10-18 Thread MComputing Lab
Are you sure that the audio file on the server is being streamed?
On 18 Oct 2011 15:09, "Sunil Mishra"  wrote:

> Hi,
>
> I am trying to play a audio mp3 file which is stored on web
>
> String url = "http://";; // your URL here
> MediaPlayer mediaPlayer = new MediaPlayer();
> mediaPlayer.setAudioStreamType(AudioManager.STREAM_MUSIC);
> mediaPlayer.setDataSource(url);
> mediaPlayer.prepare(); // might take long! (for buffering, etc)
> mediaPlayer.start();
>
> i am not able to play the content, can anyone help me out
>
> --
> You received this message because you are subscribed to the Google
> Groups "Android Developers" group.
> To post to this group, send email to android-developers@googlegroups.com
> To unsubscribe from this group, send email to
> android-developers+unsubscr...@googlegroups.com
> For more options, visit this group at
> http://groups.google.com/group/android-developers?hl=en

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

Re: [android-developers]

2011-10-17 Thread MComputing Lab
Where is your tomcat server?

Where is your excel file?

And where is Android?


On 17 Oct 2011 15:11, "johny basha"  wrote:

> Dear All,
>
> i want an example, how the data can be retrieved from the external file.
> i.e (EXCEL) in TOMCAT server... In android
>
> --
> You received this message because you are subscribed to the Google
> Groups "Android Developers" group.
> To post to this group, send email to android-developers@googlegroups.com
> To unsubscribe from this group, send email to
> android-developers+unsubscr...@googlegroups.com
> For more options, visit this group at
> http://groups.google.com/group/android-developers?hl=en

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

Re: [android-developers] Need to implement socket transmission in Android

2011-10-15 Thread MComputing Lab
Create a server first. This will reside somewhere on internet, a hosted
server or cloud. Ur android app will have a client to communicate with da
server. To send data to another device, u have to send data to server with
address and da server forwards it to the other device which also has your
client app running.

Regards,
Santosh
On 15 Oct 2011 13:25, "krishna kumar"  wrote:

> I need to transfer data(generally text) between two android devices
> using socket implementation, i.e, the device have to receive the data
> & also send the data to the other device. Can anyone suggest me some
> regarding this & also please tell me that, is there any examples
> regarding this Socket Transmission in Android.
>
> Thanks & Regards
> Krishnakumar p
>
> --
> You received this message because you are subscribed to the Google
> Groups "Android Developers" group.
> To post to this group, send email to android-developers@googlegroups.com
> To unsubscribe from this group, send email to
> android-developers+unsubscr...@googlegroups.com
> For more options, visit this group at
> http://groups.google.com/group/android-developers?hl=en

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

Re: [android-developers] Direction help?

2011-09-30 Thread MComputing Lab
Keep a centralized server where the data gets populated. The app retrieves
the data from the data server based on the profile of the user and displays.
On 30 Sep 2011 22:51, "Sam Deleon"  wrote:
> I’m new to android development, I have been reading tutorials online
> and also started reading a beginners book. I already have a app idea
> but I have a question that I searched for but can’t find.
>
> I’m wanting to build a app that when first launched will come to a
> login screen, once logged in, the Data displayed will be specific to
> that user login.
>
> Think of it like Bank Apps or an even better way to think of it is,
> say you have 3 nurses, each with their own device, they all launch the
> same app, when they log in, their screens look the same but the list
> of patients are different for each nurse, and let’s say the list was
> created by another person from another device, with a app that is tied
> to the nurses app but different in the way that is sets up scheduling
> and other stuff.
>
> I want to know if it’s possible and if so if I should be more focused
> on learning something more than other stuff? I know I have lots to
> learn but would doing this type of app have more to do with databases
> rather than android itself?
>
> --
> You received this message because you are subscribed to the Google
> Groups "Android Developers" group.
> To post to this group, send email to android-developers@googlegroups.com
> To unsubscribe from this group, send email to
> android-developers+unsubscr...@googlegroups.com
> For more options, visit this group at
> http://groups.google.com/group/android-developers?hl=en

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

Re: [android-developers] MS SQL Server in Android

2011-09-22 Thread MComputing Lab
Where do you want keep da sql server?
On 22 Sep 2011 18:50, "Muhammad Mengrani"  wrote:

-- 
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] How to connect android device with local network

2011-09-21 Thread MComputing Lab
Try usb tethering
On 21 Sep 2011 17:49, "Gold"  wrote:
> Hi all,
>
> I am using android 2.2 for application development..!
>
> Now I want to communicate with Webservice. The webservice running on
> My laptop and ip is 192.168.1.15..!
>
> But device not communicate.it..
>
> How to communicate with local network..!
>
>
>
> Thanks in advance,
> A. Thangadurai
>
> --
> 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] Market App behaving erratic

2011-09-04 Thread MComputing Lab
I find my market app very erratic since last 3-4 days. I dont see the Paid
Apps/Paid Games section. I only see "Free Apps" and the "Just In" section.

Sometimes I dont see any App at all in the "All Applications" screen.

Has anybody faced this? Will it work if I reset my phone back to Factory
Settings?



Regards,
Santosh

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

Re: [android-developers] Call BroadCast Receiver

2011-09-01 Thread MComputing Lab
You cant call a Broadcast Receiver from a class. Its called automatically
when it receives the matching Broadcast.

if you have written a piece of code inside an existing BroadcastReceiver,
then port it to a class and use this class in your BroadcastReceiver as well
as in your Activity.

Regards,
Santosh
MComputing Lab

On Thu, Sep 1, 2011 at 4:39 PM, Chirag Raval <
chirag.android.develo...@gmail.com> wrote:

> Hello to ereryone
>
> I want to call Brodcast Receiver from my main activity when it satisfy the
> particular condition. How can i achieve this ?
>
> Please help to find this solution . Please give me proper example for that.
>
> Example
> ---
>
> if(condition)
> {
> Here i want to call broadcast receiver
> }
>
> Thanks in advance.
>
> Regards,
> Chirag Raval.
>
>  --
> You received this message because you are subscribed to the Google
> Groups "Android Developers" group.
> To post to this group, send email to android-developers@googlegroups.com
> To unsubscribe from this group, send email to
> android-developers+unsubscr...@googlegroups.com
> For more options, visit this group at
> http://groups.google.com/group/android-developers?hl=en

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

Re: [android-developers] How to run an app while incoming or outgoing call starts

2011-08-29 Thread MComputing Lab
You can create a broadcast Receiver which will listen to
ACTION_PHONE_STATE_CHANGED<http://developer.android.com/reference/android/telephony/TelephonyManager.html#ACTION_PHONE_STATE_CHANGED>
 
andNEW_OUTGOING_CALL<http://developer.android.com/reference/android/content/Intent.html#ACTION_NEW_OUTGOING_CALL>
 broadcast intents.

In your receiver class write the code to create an intent which will
activate your app.

Let me know if its not clear.

Regards,
Santosh
MComputing Lab


On Mon, Aug 29, 2011 at 4:46 PM, GopalaKrishnan D wrote:

>
> How to run an app while incoming or outgoing call starts  and the app end
> with while call end.
> --
> ~* Regards*
> *GopalaKrishnan D*
>
>  --
> 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