[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 p

[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 http://schemas.android.com/apk/res/android"; package="com.mypackage.service_serv

[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 "Androi

[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)" wrote: > There are some options that may help you do it. I would just google > for "J2ME to Android Porting"  and evaluate them. > > There i

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

2009-07-22 Thread Mina Shokry
  String column1Value = c.getString(1); >                         Log.d("Data",column0Value); >                         Log.d("Display name",column1Value); >                 } > > > Obviously, you can reduce number of columns to the one you need the > mos

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

2009-07-22 Thread Mina Shokry
name > 07-22 12:50:09.983: DEBUG/value(3049): vienna-s-schonbrunn-zoo-and- > giant-ferris-wheel-in-vienna-1.jpg > > If you have got any questions, don't hesitate to ask. > > Greetings! > > On Jul 22, 10:28 am, Mina Shokry wrote: > > > Hello, > > > I

[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 jus

[android-beginners] Developing software libraries

2009-07-03 Thread Mina Shokry
Hi all, I want to develop a class library for android platform. I mean developing a .apk (or jar. it doesn't matter) that doesn't contain activities but just a library that other applications can use its classes. can I? I think this is possible because I see a section in market called "software l

[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
es files. > > Regards, > > Sean > > On Mon, May 25, 2009 at 3:07 PM, Mina Shokry 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

[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 wrote: > Had the same problem: Upgrade to 9.04 and couldn't connect to G1 > anymore. > > Copying the file, as mentioned, worked fine. > > On Apr 27, 12:00 

[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 shar