[android-developers] Android ExoPlayer youtube live streaming support?

2015-11-25 Thread Muhammad Rashid
Hi everybody,

I am currently using Android ExoPlayer to support youtube live streaming. 
However player not works well 

i.e https://www.youtube.com/watch?v=p7t_GWXmgFk


Player stuck on buffering and no more playing stream.

Best regards,

 Muhammad Rashid

-- 
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/d/optout.


[android-developers] Android Taxi Booking App - Payment Mechanism by using Credit Card

2015-03-18 Thread Muhammad Rashid
Dear all,

Currently I am working on an Android Taxi Booking App. We need to implement 
a payment mechanism for fare using credit card info. Fare will be 
calculated on base of distance(miles/km etc).

1. What will be the way for payment?

2. If i use Goolgle In-App Billing Services, how can i mention dynamic FARE?

3. Does Goolgle In-App Billing only allow purchase items that already 
mentioned in Account?

4. Any other way/idea

Kind Regards

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


[android-developers] Interfacing an android device (host mode) directly with a microcontroller via usb

2014-11-30 Thread Muhammad Rashid
Hi everyone,

I would like to ask is there a simplest way to communicate for Android 
Device in Host Mode to a micro controller via USB using wire. Please share 
sample code or working example(s) if possible.

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 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/d/optout.


[android-developers] Move(Translate Animate) all gallery items to right/left of selected gallery item in Android Coverflow(Extended Gallery Control)

2014-06-08 Thread Muhammad Rashid
Hi I am an Android Developer.
 I would like to say that, how to move (translate animate)all gallery items 
to right/left of selected gallery item in Android Coverflow(Extended 
Gallery Control)? 

As Coverflow is an extended control of Galley View. For example Coverflow 
shows some images and we select any image from them.

 1. How to move all images that are right of selected image towards 
selected image?

 2. How to move all images that are left of selected image towards selected 
image?

  May be movement by using translate animation. But how to get distance 
between selected image and other images that should move towards selected 
image?

  I am unable to find the mechanism how to get distance etc...

 Regards

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


Re: [android-developers] Move app to background from main (launcher) activity of App

2014-02-11 Thread Muhammad Rashid
I agreed. Thanks a lot.


On Tue, Feb 11, 2014 at 10:08 PM, TreKing treking...@gmail.com wrote:


 On Tue, Feb 11, 2014 at 12:41 AM, Muhammad Rashid 
 muhammad.rash...@gmail.com wrote:

 Actually I am showing lot of data in the listview of main activity and I
 do not want to reload data for listview on exit. So I am willing to send
 app to background.


 Well, honestly, that's not really a valid case for this. Keeping your app
 running in the background after a user has chosen to leave it is not up to
 you, it's up to the OS. Would *you* want an app on your device to remain
 running eating up a large amount of memory after you thought you'd left it?
 You're just asking for angry users and 1-star complaints.

 Regardless, there's really no way to do this - the OS will kill your app
 eventually whether you want it or not to reclaim memory, and if your app is
 in the background eating a lot of memory, it probably becomes an even
 bigger target for being killed anyway.


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




-- 
Regards,
Muhammad Rashid
+923214917948

-- 
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] Move app to background from main (launcher) activity of App

2014-02-10 Thread Muhammad Rashid
Hi,

I would like to say that how to send app to background from main(launcher) 
activity of app on back press. This function *moveTaskToBack(false)* didn't 
not work all the times.

Regards,
Muhammad Rashid

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


Re: [android-developers] Move app to background from main (launcher) activity of App

2014-02-10 Thread Muhammad Rashid
Thank you very much for your reply. Actually I am showing lot of data in
the listview of main activity and I do not want to reload data for listview
on exit. So I am willing to send app to background.


On Mon, Feb 10, 2014 at 10:39 PM, TreKing treking...@gmail.com wrote:


 On Mon, Feb 10, 2014 at 2:03 AM, Muhammad Rashid 
 muhammad.rash...@gmail.com wrote:

 I would like to say that how to send app to background from
 main(launcher) activity of app on back press.


 What are you trying to do? Pressing back should close / kill the current
 activity. Why do you want it to continue in the background?


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




-- 
Regards,
Muhammad Rashid
+923214917948

-- 
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] AutoCompleteTextView for contacts

2014-01-23 Thread Muhammad Rashid
Hi 

I would like to say that I am developing an android SMS app. I am using 
AutoCompleteTextView for contacts suggestions. Here I am using 
SimpleAdapter with three fields name, phoneNumber and phoneType. 

But when I put any text like m, it suggests all contacts with phoneType 
mobile. Same if I put h, it suggests all contacts with phoneType home.

But I want to get only suggestions for name and phoneNumber not phoneType . 

Regards,

Muhammad Rashid

-- 
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] Phone Number Format Issue

2014-01-20 Thread Muhammad Rashid
Hi,

I would like to say that I am developing an SMS app with own database. I am 
facing an issue to query record with phone number from sqlite db.

For example if a record is saved with phone number +923214917948 and I try 
to fetch this record by 03214917948, it fails to fetch. But ideally it 
should fetch because both are same phone numbers. 

How to standardise a simple phone number to international format or any 
other solution.

Regards,
Muhammad Rashid

-- 
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] Paid app updated free/paid?

2013-01-08 Thread Muhammad Rashid
Hi all,

Please explain below scenario:

I buy paid app for 1.49$, after 2 weeks an update of that paid app comes on 
Google 
Play, then will my app update automatically or do i have
to pay another 1.49$ for this updated version?

Kind Regards,
Muhammad Rashid

-- 
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] Reading image from SDCard with Arabic FileName

2012-08-15 Thread Muhammad Rashid
Dear all,

I want to read images from sdcard. These images are of different names like 
a.jpg and موافق.jpg etc. Some of them are english names and some are with 
arabic names.
The problem is that when I make File as File imageFile = new 
File(pathFromSDCard), It shows file does not exists for all images with 
arabic names. It works for images with english names. Is there any 
workaround? 

Regards

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

[android-developers] Re: Reading image from SDCard with Arabic FileName

2012-08-15 Thread Muhammad Rashid
I get the file path like /mnt/sdcard/DCIM/Camera/حفظ.jpg. Then I made file 
by File file = new File(path). Here it says file does not exists.
I am using Android OS 2.3.6

On Wednesday, August 15, 2012 2:29:27 PM UTC+5, RichardC wrote:

 Did you get the file name by enumerating the directory contents or 
 entering the file name some other way?

 What version of Android are you trying this on?

 On Wednesday, August 15, 2012 9:35:38 AM UTC+1, Muhammad Rashid wrote:

 Dear all,

 I want to read images from sdcard. These images are of different names 
 like a.jpg and موافق.jpg etc. Some of them are english names and some are 
 with arabic names.
 The problem is that when I make File as File imageFile = new 
 File(pathFromSDCard), It shows file does not exists for all images with 
 arabic names. It works for images with english names. Is there any 
 workaround? 

 Regards



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

[android-developers] Re: Reading image from SDCard with Arabic FileName

2012-08-15 Thread Muhammad Rashid
Exactly by enumerating... using listFiles()

On Wednesday, August 15, 2012 2:58:43 PM UTC+5, RichardC wrote:

 How did you get the path name into your program? If you used cut/paste 
 there could be problems with Unicode.  Have you tried enumerating the 
 directory contents from your Android program and opening the file using the 
 path returned from:
 http://developer.android.com/reference/java/io/File.html#listFiles()   ?


 On Wednesday, August 15, 2012 10:38:54 AM UTC+1, Muhammad Rashid wrote:

 I get the file path like /mnt/sdcard/DCIM/Camera/حفظ.jpg. Then I made 
 file by File file = new File(path). Here it says file does not exists.
 I am using Android OS 2.3.6

 On Wednesday, August 15, 2012 2:29:27 PM UTC+5, RichardC wrote:

 Did you get the file name by enumerating the directory contents or 
 entering the file name some other way?

 What version of Android are you trying this on?

 On Wednesday, August 15, 2012 9:35:38 AM UTC+1, Muhammad Rashid wrote:

 Dear all,

 I want to read images from sdcard. These images are of different names 
 like a.jpg and موافق.jpg etc. Some of them are english names and some are 
 with arabic names.
 The problem is that when I make File as File imageFile = new 
 File(pathFromSDCard), It shows file does not exists for all images with 
 arabic names. It works for images with english names. Is there any 
 workaround? 

 Regards



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

[android-developers] Send and Receive Video files to Application Server

2012-08-11 Thread Muhammad Rashid
Hi all,
I would like to say that in my android project I want to send a video file 
from SD Card to our Application Server and also Receive that Video file 
from Server. I need a most efficient solution and best practices 
to achieve this task.



-- 
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] EditText focus problem in Linear layout

2012-07-30 Thread Muhammad Rashid
I am using four EditText in two Linearlayout with horizontal orientation. 
Each linearlayout has 2 edittext. if edittext1 has focus and I press enter 
key, the focus goes to edittext3 instead of edittext2.

Here is my code;
   LinearLayout 
 android:orientation=horizontal
 android:layout_height=wrap_content 
 android:layout_width=fill_parent 
 EditText 
android:id=@+id/editText1 
android:layout_width=fill_parent  
android:layout_height=wrap_content 
android:inputType=textPassword 
android:layout_weight=1.0 
/EditText
  
 
EditText...This
 
edit text does not receive focus
android:id=@+id/ editText2  
android:layout_width=fill_parent  
android:layout_height=wrap_content 
android:inputType=textPassword 
android:layout_weight=1.0 
/EditText
/LinearLayout
LinearLayout 
 android:orientation=horizontal
 android:layout_height=wrap_content 
 android:layout_width=fill_parent 
 EditText 
android:id=@+id/ editText3 
android:layout_width=fill_parent  
android:layout_height=wrap_content 
android:inputType=textPassword 
android:layout_weight=1.0 
/EditText
   EditText
android:id=@+id/ editText4  
android:layout_width=fill_parent  
android:layout_height=wrap_content 
android:inputType=textPassword 
android:layout_weight=1.0 
/EditText
/LinearLayout

Regards

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

[android-developers] Android need to share Image and text together all social medias especially Facebook.

2012-07-23 Thread Muhammad Rashid
Dear all,

I need to share image and text together to all social medias via share 
intent. It works fine for GMail, Twitter etc but does not work for Facebook.
With Facebook it only takes image. But i need both image and text 
for Facebook share.

-- 
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] Some issues related to Google Cloud Messaging Service

2012-07-15 Thread Muhammad Rashid
Hi all,

I would like to say that I am working on a project using Google Cloud
Messaging Service. I am facing two issues;

1. I am not able to get Arabic Text Messages. Only I can receive
English text message.

2. I am not able to receive messages on GPRS. Only I can receive
messages on WIFI.

Waiting your kind response.

Kind Regards,
Muhammad Rashid

-- 
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] Unable to verify SignedData and Signature during inappbilling using Google Play

2012-06-29 Thread Muhammad Rashid
Hi all,
Currently I am working on an app that supports in app billing. It was
working fine but from last two days I am not able to make even test
purchase android.test.purchased by in app billing.

Facing the issue Signature verification failed/signature does not
match data. I tried with sample app also but same issue. Waiting
reply.

Regards,
Muhammad Rashid

-- 
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] Unable to verify SignedData and Signature during inappbilling using Google Play

2012-06-29 Thread Muhammad Rashid
Hi all,
Currently I am working on an app that supports in app billing. It was
working fine but from last two days I am not able to make even test
purchase android.test.purchased by in app billing.

Facing the issue Signature verification failed/signature does not
match data. I tried with sample app also but same issue. Waiting
reply.

Regards,
Muhammad Rashid

-- 
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] Alert Dialog present but unable to look(Looks as a layer of dim color is present on screen). On Back Press it disappears.

2012-06-15 Thread Muhammad Rashid
Hi all,

I would like to say that i am using a alarm service and a broad cast
receiver. OnRecieve method i perform an operation that shows a
progressbar and an alert dialog. Alertdialog appears normally when
application  running foreground. But when i press HOME button and
application is now in background. Now i lock the device. When alarm
received and operation performs, and i run the app again, It should
show alart dialog. But it looks alert dialog is present but unable to
view. It shows as a dim layer is present on screen. When i back press,
it disappears. It mean alert dialog is there but not able to view it.

Regards

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


[android-developers] Alert Dialog present but unable to look(Looks as a layer of dim color is present on screen). On Back Press it disappears.

2012-06-15 Thread Muhammad Rashid
Hi all,

I would like to say that i am using a alarm service and a broad cast
receiver. OnRecieve method i perform an operation that shows a
progressbar and an alert dialog. Alertdialog appears normally when
application  running foreground. But when i press HOME button and
application is now in background. Now i lock the device. When alarm
received and operation performs, and i run the app again, It should
show alart dialog. But it looks alert dialog is present but unable to
view. It shows as a dim layer is present on screen. When i back press,
it disappears. It mean alert dialog is there but not able to view it.

Regards

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