Re: [android-developers] Re: Cannot get PhoneNumber on Real device but code works in Emulator

2010-03-10 Thread Zeeshan Muhammad
I am also having the same problem. String MSISDN = ((TelephonyManager) this.getSystemService(this.TELEPHONY_SERVICE)).getLine1Number(); returns null. is there any way i can get MSISDN? can i get it by sms? On Wed, Sep 23, 2009 at 6:15 AM, an0 an0...@gmail.com wrote: I've the same

[android-developers] Re: can i use external fonts ?

2009-09-24 Thread Zeeshan Muhammad
thanks On Thu, Sep 24, 2009 at 9:46 AM, Mark Murphy mmur...@commonsware.comwrote: i need to use my external font .ttf file for button's text. can anybody help http://developer.android.com/reference/android/graphics/Typeface.html then, call setTypeface() on your Button. -- Mark

[android-developers] Re: android application enable handset

2009-09-16 Thread Zeeshan Muhammad
i am also looking for the answer. On Wed, Sep 16, 2009 at 11:11 AM, Ajaz Ahmed ajazahme...@gmail.com wrote: Hi, Can any one send me the list of android application enable handset, where i can install my android application? want to know about company,model ?? Regards!

[android-developers] Re: Playing a video file from resource.

2009-08-21 Thread Zeeshan Muhammad
this might help you AssetFileDescriptor afd = getResources().openRawResourceFd(R.raw.video); // Create a new media player and set the listeners mMediaPlayer = new MediaPlayer(); mMediaPlayer.setDataSource(afd.getFileDescriptor(), afd.getStartOffset(),

[android-developers] Re: ParseException: At line 1, column 0: not well-formed (invalid token)

2009-08-21 Thread Zeeshan Muhammad
can anybody help? On Thu, Aug 20, 2009 at 4:58 PM, zeeshan genx...@gmail.com wrote: Hi Dear, i am totally lost in this error: org.apache.harmony.xml.ExpatParser$ParseException: At line 1, column 0: not well-formed (invalid token) i have spent the whole day trying to figure out why i am

[android-developers] Re: Application Resources on SDCARD on install!! MUST HAVE, GOOGLE DO SOMETHING!!

2009-08-19 Thread Zeeshan Muhammad
Hi Tjerk, your thread is really usefull and i appreciate your research. i am trying to implement the downloader you suggested but having some problem. i am wondering which link i needed for private final static String FILE_CONFIG_URL = http://example.com/download.config;; how this config

[android-developers] Re: question regarding download.config

2009-08-19 Thread Zeeshan Muhammad
can anybody help plz On Wed, Aug 19, 2009 at 1:49 PM, zeeshan genx...@gmail.com wrote: Hi Experts, i am trying to download my app resources from web server using the downloder program below.

[android-developers] Re: how to play video from raw folder?

2009-08-13 Thread Zeeshan Muhammad
i followed the media api example MediaPlayerDemo_Video.java Null Eception at setDisplay(holder); private void playVideo() { try { /* * TODO: Set the path variable to a local media file path. */ path =

[android-developers] Re: how to play video from raw folder?

2009-08-13 Thread Zeeshan Muhammad
mMediaPlayer= MediaPlayer.create(this, R.raw.intro); raw folder is the resource folder in the project directory , its not in the sdcard. 2009/8/13 Tang Droid.Dev.Team tang.wi...@gmail.com 抱歉 if(sdcard_raw_dir!=null){ for(String raw_file:sdcard_raw_dir){

[android-developers] Re: Server/Client in different machines

2009-07-17 Thread Zeeshan Muhammad
The views, opinions and statements in this email are those of the author solely in their individual capacity, and do not necessarily represent those of T-Mobile USA, Inc. On Jul 16, 6:19 am, Zeeshan Muhammad mailto:genx...@gmail.com genx...@gmail.com wrote: i have the similar problem

[android-developers] Re: Server/Client in different machines

2009-07-17 Thread Zeeshan Muhammad
The views, opinions and statements in this email are those of the author solely in their individual capacity, and do not necessarily represent those of T-Mobile USA, Inc. On Jul 16, 6:19 am, Zeeshan Muhammad mailto:genx...@gmail.com genx...@gmail.com wrote: i have the similar problem, my

[android-developers] Re: Video with MediaRecorder

2009-07-17 Thread Zeeshan Muhammad
(or more like a snippet) and ill try it locally on my machine. On Jul 13, 11:37 am, Zeeshan Muhammad genx...@gmail.com wrote: Hi Hanged, no it doesn't work on emulator and not even on real device. i dont see anything except application title when i run the above intent

[android-developers] Re: java.net.ConnectException: localhost/127.0.0.1:8000

2009-07-16 Thread Zeeshan Muhammad
Hi Dear, i got the same problem when i run my code below: InetAddress serverAddr = InetAddress.getByName(127.0.0.1); Socket socket = new Socket(serverAddr , 8088 ); i changed the port but same result. anybody help plz On Sat, Apr 18, 2009 at 1:25 AM, Hunter Peress hunt...@gmail.com wrote:

[android-developers] Re: Server/Client in different machines

2009-07-16 Thread Zeeshan Muhammad
i have the similar problem, my main java class listening a server socket at port 8088 now when my client (android) try to connect a socket it refused the conenction InetAddress serverAddr = InetAddress.getByName(127.0.0.1); Socket socket = new Socket(serverAddr , 8088 );

[android-developers] Re: java.net.ConnectException: localhost/127.0.0.1:8000

2009-07-16 Thread Zeeshan Muhammad
thanks for reply Grob, i tried it on both emulator and on my real device (connected to my pc) but i got the same exception both time java.net.ConnectException: 127.0.0.1:8088 http://127.0.0.1:8000/ - Connection refused i changed the connection to Socket socket = new Socket(10.0.2.2 , 8088

[android-developers] Re: java.net.ConnectException: localhost/127.0.0.1:8000

2009-07-16 Thread Zeeshan Muhammad
i am able to connect on emulator but no route to host exception when i try to connect on real device On Thu, Jul 16, 2009 at 3:16 PM, Zeeshan Muhammad genx...@gmail.com wrote: thanks for reply Grob, i tried it on both emulator and on my real device (connected to my pc) but i got the same

[android-developers] Re: Server/Client in different machines

2009-07-16 Thread Zeeshan Muhammad
not necessarily represent those of T-Mobile USA, Inc. On Jul 16, 6:19 am, Zeeshan Muhammad genx...@gmail.com wrote: i have the similar problem, my main java class listening a server socket at port 8088 now when my client (android) try to connect a socket it refused the conenction

[android-developers] Re: Video with MediaRecorder

2009-07-13 Thread Zeeshan Muhammad
:10 am, Zeeshan Muhammad genx...@gmail.com wrote: i am testing it on real device, i can see only the application title. my automatic orientation is already disabled .please let me know if anybody has tested video capture intent? On Sat, Jul 11, 2009 at 10:58 AM, hanged_man majd

[android-developers] Re: Video with MediaRecorder

2009-07-13 Thread Zeeshan Muhammad
problem that i used to have with the camera and i've managed to get around it with the solution that i suggested before. However, you might want to send me your source code (or more like a snippet) and ill try it locally on my machine. On Jul 13, 11:37 am, Zeeshan Muhammad genx...@gmail.com

[android-developers] Re: any help of live video streaming?

2009-07-11 Thread Zeeshan Muhammad
thanks for the quick reply, this is really usefull.can u please guide how can i receive this stream on server side? On Sat, Jul 11, 2009 at 11:40 PM, Mark Murphy mmur...@commonsware.comwrote: zeeshan wrote: i am looking for any help in live video streaming to my server. anybody can

[android-developers] Re: Video with MediaRecorder

2009-07-11 Thread Zeeshan Muhammad
i am testing it on real device, i can see only the application title. my automatic orientation is already disabled .please let me know if anybody has tested video capture intent? On Sat, Jul 11, 2009 at 10:58 AM, hanged_man majd...@gmail.com wrote: @Zeeshan Are you getting a black screen ? if

[android-developers] Re: Video with MediaRecorder

2009-07-10 Thread Zeeshan Muhammad
i tried this intent but it doesn't show anything startActivityForResult(*new* Intent( android.provider.MediaStore.* ACTION_VIDEO_CAPTURE*), 2); On Thu, Jul 9, 2009 at 9:25 AM, hanged_man majd...@gmail.com wrote: i didn't read this whole thread but i think i got a clear idea of your problem,