[android-beginners] draw() vs onDraw()

2010-03-09 Thread Mina Shokry
Hi, I am implementing my custom view in which I extend LinearLayout, add some children, and do some paintings over them. when I override onDraw method, I found my painting is done below children components but I want my painting o be over children component. Instead I tried to override the draw()

[android-beginners] Bluetooth on Android 2.0 emulator

2009-11-16 Thread Mina Shokry
Hello, Have anyone success on trying bluetooth stuff on android 2.0 emulator? If not, could anyone get an android 2.0 image that can run on ADP1 and supports bluetooth? thanks in advance -- You received this message because you are subscribed to the Google Groups Android Beginners group. To

[android-beginners] Re-locating a dialog

2009-11-02 Thread Mina Shokry
Hello, I have an alert dialog which I got using AlertDialog.Builder (context).create(). When I call alertDialog.show(), it appears centered on screen (horizontally and vertically). Can I control its position? for example, I want to make it appear on top of screen to still show its parent window.

[android-beginners] declaring a service

2009-09-25 Thread Mina Shokry
hello, I am trying to run service example. I declare a service in a project and want to call the service from an activity that exists in another project. in first project, my AndroidManifest.xml looks like this manifest xmlns:android=http://schemas.android.com/apk/res/android;

[android-beginners] Get activity current view

2009-08-27 Thread Mina Shokry
Hello all, I am wondering is there a way to ask an activity or dialog for its currently displayed view? I tried getCurrentFocus() but it returns null! any clues? --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups

[android-beginners] Re: RMS in android

2009-07-24 Thread Mina Shokry
Have you looked at MicroEmulator? review this blog it contains many examples http://microemu.blogspot.com/ On Jul 23, 8:27 pm, Balwinder Kaur (T-Mobile) balwinder.k...@t- mobile.com wrote: There are some options that may help you do it. I would just google for J2ME to Android Porting  and

[android-beginners] Get file name from Uri

2009-07-22 Thread Mina Shokry
Hello, I am using content provider to access images in phone gallery and everything works fine except one thing that I want to get the physical file name of images I access. Can I get a java.io.File object from android.net.Uri object? if no, is there any other way to accomplish such a task? I

[android-beginners] Re: Get file name from Uri

2009-07-22 Thread Mina Shokry
, 10:28 am, Mina Shokry minasho...@gmail.com wrote: Hello, I am using content provider to access images in phone gallery and everything works fine except one thing that I want to get the physical file name of images I access. Can I get a java.io.File object from android.net.Uri object

[android-beginners] Re: Get file name from Uri

2009-07-22 Thread Mina Shokry
name,column1Value);                 } /android code Obviously, you can reduce number of columns to the one you need the most. The less number of columns we have to return, the more efficient it will get. On Jul 22, 8:41 pm, Mina Shokry minasho...@gmail.com wrote: thank you for this great

[android-beginners] Rooting ADP1 holiday edition

2009-06-05 Thread Mina Shokry
Hi, I got an ADP1 but not from google (from ebay) and I think it is holiday edition that was with a google employee. when I got it, it was on version 1.1. In my first day with it, it notified me that an upgrade to 1.5 is available and it downloaded and installed it. Now, I found myself don't have

[android-beginners] Re: Android on Ubunty 9.04

2009-05-27 Thread Mina Shokry
25, 2009 at 3:07 PM, Mina Shokry minasho...@gmail.com wrote: I had same on ubuntu 9.04. I did the copy and still doesn't work. I am using 64-bit edition. is this related? On May 25, 1:53 pm, hgschmidt hgschmidt.listarchi...@googlemail.com wrote: Had the same problem: Upgrade to 9.04

[android-beginners] Internet through ad-hoc wifi

2009-05-25 Thread Mina Shokry
Hi all, I saw many threads on web talking about using G1 phone as modem to give internet to laptops. but my problem is the reverse and I can not find any threads on web talking in this. I have a wired internet connection that I use with my laptop and my laptop has a wifi card. I could make a

[android-beginners] Re: Android on Ubunty 9.04

2009-05-25 Thread Mina Shokry
I had same on ubuntu 9.04. I did the copy and still doesn't work. I am using 64-bit edition. is this related? On May 25, 1:53 pm, hgschmidt hgschmidt.listarchi...@googlemail.com wrote: Had the same problem: Upgrade to 9.04 and couldn't connect to G1 anymore. Copying the file, as mentioned,