Re: [android-developers] Not Getting the Exact value of x and y cordinates

2012-05-02 Thread shihab shiha
Hi..

I tried the idea u gave for testing purpose..and It worked fine..I was able
to get the location and co-ordinates..and yes as u said onTouch will be
invoked only for one view which  touched..but I'm trying to use this
ACTION_POINTER_DOWN and this stuff of x and y co-ordinates..so that I could
implement Multitouch..

I request any one of you to guide me on Multitouch,since all the resources
I found on google didn't work for me atleast..relevant response will be
very much appreciated.

Thanks

On Wed, May 2, 2012 at 5:45 PM, Jason Teagle  wrote:

> OK, a little experiment on my part has yielded the following information.
>
>
>  Also, I'm a little confused - the prototype for the onTouch() method
>> includes a View object - the view that received the event. Why do you need
>> to find the view that was touched when it is being *given* to you in the
>> handler?
>>
>> As far as I know (my Android experience is very limited, so someone may
>> be able to correct me here), events are only dispatched to the widget /
>> view that they occur on,
>>
>
> I can confirm that events, including onTouch(), do *not* go to any view
> *other* than the one on which the handler was set. Therefore, the View
> passed in onTouch() *is* the view that received the event - the button, in
> your case.
>
>
>
>  3.Single pointer (i.e just ACTION_DOWN)also doesn't identify the view.
>>
>
> OK, the documentation is the problem here - it is not good enough. When I
> read the details against getX(), it has AXIS_X as a 'See also', and when
> you go there, it says co-ordinates are given in screen co-ordinates. For
> getX() and getY(), however, this is *incorrect*. Whether it is correct for
> AXIS_X I don't know or care, but for the onTouch event and getX() and
> getY() purposes, the values from those two functions are *relative* to the
> top-left of the view's (button's) client area - in other words if you
> touched at exactly the top-left corner, it would give 0, 0 - if you touched
> exactly at the bottom-right corner, it would give (width - 1, height - 1).
>
> Thus, your test is not really needed, since the correct view is passed to
> you - and even if you wanted to find the view yourself, you can't since you
> are being given relative client co-ordinates, not screen co-ordinates. You
> can't even convert those values to screen since you'd need to know which
> view they are relative to in the first place to be able to convert them!
>
> Hopefully that helps.
>
>
>
> --
> 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] Not Getting the Exact value of x and y cordinates

2012-05-02 Thread shihab shiha
Hi,..
Thanks for your response..

1.Left or touchedView1 is the Button..on which the setOnTouchListener is
called in main Activity.And its Ontouch is in custom class implementing
OnTouchListener..in this class I'm using UI handler thread to access the
button from main Activity.

2.Even after using Rect it doesn't give the desired result.

3.Single pointer (i.e just ACTION_DOWN)also doesn't identify the view.

4.Yes,I do get the finger count and pointer count balanced i.e restricted
to 2...but the rest is not working.


Thanks.

On Wed, May 2, 2012 at 4:07 PM, Jason Teagle  wrote:

>  this is the code
>>
>
> Thank you.
>
> 1. Question: What is 'left' as used here:
>
> ---
> if(location1[0] <= x && x <= (location1[0] +touchedView1.getWidth()) &&
> location1[1] <= y && y <= (location1[1] +  touchedView1 .getHeight())) {
> return touchedView1;
> }
> ---
>
> I assume it is the view itself, but since you appear to be allowing for
> multiple views, I would like to see where 'left' is declared and set -
> especially as you refer to the view itself as 'touchedView1'.
>
>
> 2. I would recommend the following change to code to make it a little
> easier to read and understand:
>
> Rect viewBounds = new Rect(location1[0], location1[1],
>   location1[0] + touchedView1.getWidth(),
>   location1[1] + touchedView1.getHeight() );
>
> if (viewBounds.contains(x, y) )
>   return touchedView1 ;
>
> (or use left.getWidth() and left.getHeight(), if that is more appropriate)
>
>
> 3. If you only touch the screen with one finger, does it then work
> correctly? It would be worth testing with one pointer only to begin with,
> rather than complicate things.
>
> 4. It might be worth gathering the X and Y of all pointers and the screen
> locations and dimensions of all views you are allowing for, and just sanity
> check them to see if there is anything unusual. For example, do you get the
> same number of pointers as fingers that are touching the screen, or does it
> appear to return more? The one with the negative values is the one to watch
> - don't just negate the values, that in itself represents a problem and you
> need to understand why. So try your code as-is for one finger first and
> check that works for various locations. Assuming that works, then try two
> fingers and just touch the screen (don't try gestures at this point) at
> various points and see if the list of X / Y and locations you get make
> sense.
>
> Let us know the results.
>
>
> --
> 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] Not Getting the Exact value of x and y cordinates

2012-05-02 Thread shihab shiha
Hi,


   public boolean onTouch(View view, MotionEvent motionEvent) {

if(motionEvent.getAction == MotionEvent.ACTION_POINTER_DOWN){
for(int ptrIndex = 0; ptrIndex < motionEvent.getPointerCount();
ptrIndex++)
 {

 int id = motionEvent.getPointerId(ptrIndex);
 int x = (int) motionEvent.getX(ptrIndex);
 int y = (int) motionEvent.getY(ptrIndex);

if(x < 0){/* because I was getting negative co-ordinates
when I had more than one pointers */
 x=-x
}
if(y < 0){
 y=-y
}

View v = checkForMatchViews(x,y);
switch(v.getId()) {
case R.id.touchedView1: // Do the action relative to views;
...
...
...
}

}

}

//Method to check the matching views with co-ordinates..


  public View checkViews(int x, int y) {

Log.i("CHECK VIEWS CALLED","CHECK VIEWS CALLED");


int location1[] = new int[2];
...
...

  touchedView1.getLocationOnScreen(location1);
   ...
   ...
   ...//for other views in Activity


if(location1[0] <= x && x <= (location1[0] + left.getWidth()) &&
location1[1] <= y && y <= (location1[1] + left.getHeight()))  {
   return touchedView1;
}






  this is the code


On Wed, May 2, 2012 at 3:15 PM, Jason Teagle  wrote:

>  I tried to get the x and y coordinates of one view. why..getx and gety
>> co-ordinates
>> are not matching the view which is touched
>>
>
> If you want some help with your problem, try posting some code. Presumably
> you're talking about a listener and the methods it contains - so post the
> code that adds the listener, give us a brief idea of what it is being added
> to, and show us the code for the methods the listener implements. *Then* we
> might be able to answer your question. Without a code sample we have
> nothing to go on. The more information you can give, the better chance we
> have of being able to help.
>
>
> --
> 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] Not Getting the Exact value of x and y cordinates

2012-05-01 Thread shihab shiha
Hi All,


I tried to get the x and y coordinates of one view. why..getx and gety
co-ordinates are not matching the view which is touched

-- 
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] multi press

2012-04-26 Thread shihab shiha
Hi All,

 I have been developing a small app that would benefit greatly from a user
being able to press 2 buttons at one time. What is the best method for
achieving this? I dont think that an OnClickListener works like that, and I
have seen examples for doing this with an OnTouch event. However, I do not
know how to set up button presses with an OnTouch event.


Thanking You,
Shihab

-- 
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] Multitouch for two button

2012-04-25 Thread shihab shiha
Hi all,

I need one help. i have two buttons for playing two sound file. i can play
the sound easily but my requirement is holding one button and pressing
another for getting the second button sound .i cannot access second
buttton's id.
Any help appreciated

Thanks

i mentioned all the links which i refered.

http://stackoverflow.com/questions/2528160/multiple-button-presses-for-android-2-x

-- 
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] Multi Touch issues

2012-04-19 Thread shihab shiha
Hi all,

I am struggling with a multitouch problem. I have two button for getting
two sounds. I tried to enable multi touch for these button. But the problem
is If i hold one button and press the second button i am getting the sound
of the first one.  I have tried many examples but not getting. Any help is
 appreciated

-- 
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] retrieving dialogue box value

2012-03-29 Thread shihab shiha
Hi All,

 I want to pass the edittext value in a dialogue box to listview when i
click the save button of the dialogue box.

-- 
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] multi touch

2012-03-15 Thread shihab shiha
so cant be apply it for buttons ?

On Thu, Mar 15, 2012 at 1:04 PM, android developer <
android.developer4...@gmail.com> wrote:

> multitouch works only views concept,
>
> On Thu, Mar 15, 2012 at 12:40 PM, shihab shiha  > wrote:
>
>> Hi ,
>>
>> I have two buttons i want to activate multitouch for these  two buttons.
>> I have two sound files. i want to play these files using the multi touch
>> concept. Pleas give a solution for this.
>>
>> Thanks in advance
>>
>> --
>> 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

-- 
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] multi touch

2012-03-15 Thread shihab shiha
Hi ,

I have two buttons i want to activate multitouch for these  two buttons. I
have two sound files. i want to play these files using the multi touch
concept. Pleas give a solution for this.

Thanks in advance

-- 
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] Action mask

2012-03-15 Thread shihab shiha
Hi all,

Any Body can give the usage of ACTION_MASK

-- 
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] Customizing Button

2012-02-21 Thread shihab shiha
If you have patience to answer my question i will explain it with the help
of an image.
Pleas respond to this mail

On Mon, Feb 20, 2012 at 6:51 PM, TreKing  wrote:

> On Mon, Feb 20, 2012 at 1:09 AM, shihab shiha 
> wrote:
>
>> But what kind of condtion i can give for activate the visible part ?
>
>
> I'm not sure what you're asking.
>
>
>
> -
> 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 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] Customizing Button

2012-02-19 Thread shihab shiha
I think this is the only solution for that. I can access the x and y
cordinates of the image. But what kind of condtion i can give for activate
the visible part ?

On Fri, Feb 17, 2012 at 7:38 PM, TreKing  wrote:

> On Fri, Feb 17, 2012 at 6:46 AM, shihab shiha 
> wrote:
>
>> i want to activate the onclick on the visible part of this image. the
>> problem is if i click near to this image that means it takes as rectangle.
>
>
> How big is this image going to be in practice? It might not be worth the
> effort.
>
>
>> i want to activate only that image potion itself. how can i do it without
>> using canvas . pleas give a solution for this
>
>
> Roughly: you could use the View's touch events to get the exact X / Y
> touch coordinates, then use some fancy math to determine that the point is
> contained within the geometric area represented by the image in question.
>
>
> -
> 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 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] Android Button Customization

2012-02-19 Thread shihab shiha
I tried it with image button also. now also i am getting the same problem

On Fri, Feb 17, 2012 at 8:09 PM, fei ji  wrote:

> I think image button can also be a good choice. You just need to set a
> attribute called android:src which reference to the image file you want to
> use.
> 在 2012-2-17 上午5:24,"value makers" 写道:
>
> Hi All,
>>
>>
>> I am new in android development. I have one problem regarding with my
>> button customization. i would like to customize a button in a semi
>> circular form .
>>
>> --
>> 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
>

-- 
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] Customizing Button

2012-02-17 Thread shihab shiha
Hi all,

I am facing a problem regarding with button customization. i am attaching
the image below. i want to activate the onclick on the visible part of this
image. the problem is if i click near to this image that means it takes as
rectangle. i want to activate only that image potion itself. how can i do
it without using canvas . pleas give a solution for this

-- 
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] Re: How can i export my sqlite database from intellj idea?

2012-02-17 Thread shihab shiha
I am using linux and ide is intellij. i can open ddms using command mode. i
never use ecclipse .

2012/2/17 Duygu Kahraman 

> i can execute adb yes.
>
> 17 Şubat 2012 14:21 tarihinde Duygu Kahraman yazdı:
>
> i am using windows 7
>>
>> 17 Şubat 2012 14:08 tarihinde moktarul anam  yazdı:
>>
>> First tell me r u able to connect adb means check whether ur adb is
>>> connected or not.
>>>
>>> execute --
>>> adb devices
>>>
>>> check whether ur device s there or not
>>> Moktarul
>>>
>>> On Feb 17, 2:54 pm, Duygu Kahraman  wrote:
>>> > intellj is not include ddms and you can not push
>>>  /data/data//
>>> > etc.
>>> >
>>> > Can anybody help me?
>>> >
>>> > 17 Şubat 2012 08:57 tarihinde shihab shiha >> >yazdı:
>>> >
>>> >
>>> >
>>> >
>>> >
>>> >
>>> >
>>> >
>>> >
>>> > > ya but you can open it using command mode. just go command mode and
>>> change
>>> > > your directory into the android sdk .
>>> >
>>> > > android-sdk-linux/tools and type ./ddms then you will get the window
>>> from
>>> > > there you can get the access to the sdcard and all
>>> >
>>> > > On Fri, Feb 17, 2012 at 11:25 AM, moktarul anam >> >wrote:
>>> >
>>> > >> Hi
>>> > >> I think ddms feature  is not there in intellj
>>> >
>>> > >> Moktarul
>>> >
>>> > >> On Feb 17, 10:20 am, shihab shiha 
>>> wrote:
>>> > >> > you can use ./ddms
>>> >
>>> > >> > On Fri, Feb 17, 2012 at 10:37 AM, moktarul anam <
>>> mokta...@gmail.com>
>>> > >> wrote:
>>> > >> > > best way is use adb shell
>>> >
>>> > >> > > 1. adb shell
>>> > >> > > 2. cd /data/data//
>>> > >> > > 3. adb pull  database ./
>>> >
>>> > >> > > Enjoy
>>> > >> > > Moktarul
>>> >
>>> > >> > > On Feb 16, 8:18 pm, Duygu Kahraman 
>>> wrote:
>>> > >> > > > I am using intellj idea and i am working with **ORMLite**.
>>> >
>>> > >> > > > My question is, i create a database but i want to export
>>> > >> database
>>> > >> > > > for looking my data.When i use Eclipse i can export my sqlite
>>> > >> database
>>> > >> > > > a few ways but i have no idea about **intellj**.
>>> >
>>> > >> > > > Can anybody know something about that?
>>> >
>>> > >> > > > THX.
>>> >
>>> > >> > > --
>>> > >> > > 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
>>> >
>>> > >  --
>>> > > 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
>>> >
>>> > --
>>> > ---
>>> > Duygu Kahraman
>>> >
>>> > http://tr.linkedin.com/in/duygukahramann
>>>
>>> --
>>> 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
>>>
>>
>>
>>
>> --
>> ---
>> Duygu Kahraman
>>
>> http://tr.linkedin.com/in/duygukahramann
>>
>>
>
>
> --
> ---
> Duygu Kahraman
>
> http://tr.linkedin.com/in/duygukahramann
>
>  --
> 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] Re: How can i export my sqlite database from intellj idea?

2012-02-17 Thread shihab shiha
which os you are using ?

On Fri, Feb 17, 2012 at 4:48 PM, Duygu Kahraman
wrote:

> where is the ddms in ide?
>
> 17 Şubat 2012 13:15 tarihinde shihab shiha yazdı:
>
> I am using intellij . i can access the sdcard using ddms. i tried it using
>> command mode .
>>
>>
>> On Fri, Feb 17, 2012 at 3:24 PM, Duygu Kahraman <
>> duygu.kahram...@gmail.com> wrote:
>>
>>> intellj is not include ddms and you can not push  /data/data//
>>> etc.
>>>
>>> Can anybody help me?
>>>
>>>
>>> 17 Şubat 2012 08:57 tarihinde shihab shiha 
>>> yazdı:
>>>
>>> ya but you can open it using command mode. just go command mode and
>>>> change your directory into the android sdk .
>>>>
>>>> android-sdk-linux/tools and type ./ddms then you will get the window
>>>> from there you can get the access to the sdcard and all
>>>>
>>>>
>>>>
>>>> On Fri, Feb 17, 2012 at 11:25 AM, moktarul anam wrote:
>>>>
>>>>> Hi
>>>>> I think ddms feature  is not there in intellj
>>>>>
>>>>> Moktarul
>>>>>
>>>>> On Feb 17, 10:20 am, shihab shiha  wrote:
>>>>> > you can use ./ddms
>>>>> >
>>>>> >
>>>>> >
>>>>> >
>>>>> >
>>>>> >
>>>>> >
>>>>> > On Fri, Feb 17, 2012 at 10:37 AM, moktarul anam 
>>>>> wrote:
>>>>> > > best way is use adb shell
>>>>> >
>>>>> > > 1. adb shell
>>>>> > > 2. cd /data/data//
>>>>> > > 3. adb pull  database ./
>>>>> >
>>>>> > > Enjoy
>>>>> > > Moktarul
>>>>> >
>>>>> > > On Feb 16, 8:18 pm, Duygu Kahraman 
>>>>> wrote:
>>>>> > > > I am using intellj idea and i am working with **ORMLite**.
>>>>> >
>>>>> > > > My question is, i create a database but i want to export
>>>>> database
>>>>> > > > for looking my data.When i use Eclipse i can export my sqlite
>>>>> database
>>>>> > > > a few ways but i have no idea about **intellj**.
>>>>> >
>>>>> > > > Can anybody know something about that?
>>>>> >
>>>>> > > > THX.
>>>>> >
>>>>> > > --
>>>>> > > 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
>>>>>
>>>>
>>>>  --
>>>> 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
>>>>
>>>
>>>
>>>
>>> --
>>> ---
>>> Duygu Kahraman
>>>
>>> http://tr.linkedin.com/in/duygukahramann
>>>
>>>  --
>>> 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
>>
>
>
>
> --
> ---
> Duygu Kahraman
>
> http://tr.linkedin.com/in/duygukahramann
>
>  --
> 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] Re: How can i export my sqlite database from intellj idea?

2012-02-17 Thread shihab shiha
I am using intellij . i can access the sdcard using ddms. i tried it using
command mode .

On Fri, Feb 17, 2012 at 3:24 PM, Duygu Kahraman
wrote:

> intellj is not include ddms and you can not push  /data/data//
> etc.
>
> Can anybody help me?
>
>
> 17 Şubat 2012 08:57 tarihinde shihab shiha yazdı:
>
> ya but you can open it using command mode. just go command mode and change
>> your directory into the android sdk .
>>
>> android-sdk-linux/tools and type ./ddms then you will get the window from
>> there you can get the access to the sdcard and all
>>
>>
>>
>> On Fri, Feb 17, 2012 at 11:25 AM, moktarul anam wrote:
>>
>>> Hi
>>> I think ddms feature  is not there in intellj
>>>
>>> Moktarul
>>>
>>> On Feb 17, 10:20 am, shihab shiha  wrote:
>>> > you can use ./ddms
>>> >
>>> >
>>> >
>>> >
>>> >
>>> >
>>> >
>>> > On Fri, Feb 17, 2012 at 10:37 AM, moktarul anam 
>>> wrote:
>>> > > best way is use adb shell
>>> >
>>> > > 1. adb shell
>>> > > 2. cd /data/data//
>>> > > 3. adb pull  database ./
>>> >
>>> > > Enjoy
>>> > > Moktarul
>>> >
>>> > > On Feb 16, 8:18 pm, Duygu Kahraman 
>>> wrote:
>>> > > > I am using intellj idea and i am working with **ORMLite**.
>>> >
>>> > > > My question is, i create a database but i want to export
>>> database
>>> > > > for looking my data.When i use Eclipse i can export my sqlite
>>> database
>>> > > > a few ways but i have no idea about **intellj**.
>>> >
>>> > > > Can anybody know something about that?
>>> >
>>> > > > THX.
>>> >
>>> > > --
>>> > > 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
>>>
>>
>>  --
>> 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
>>
>
>
>
> --
> ---
> Duygu Kahraman
>
> http://tr.linkedin.com/in/duygukahramann
>
>  --
> 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] Re: Android Button Customization

2012-02-17 Thread shihab shiha
2. create cbutton extent Button and override onDraw method and then
instate of button use cbutton
 Can you explain this one little widely. I tried the first one but it
doesnt give the exact solution what i expect
On Fri, Feb 17, 2012 at 1:08 PM, moktarul anam  wrote:

>  you can do this two way
> 1. set background 2 some drawable xml file and then customize there
> 2. create cbutton extent Button and override onDraw method and then
> instate of button use cbutton
>
> Enjoy
> Moktarul
>
> On Feb 16, 1:45 pm, value makers  wrote:
> > Hi All,
> >
> > I am new in android development. I have one problem regarding with my
> > button customization. i would like to customize a button in a semi
> > circular form .
>
> --
> 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] Re: How can i export my sqlite database from intellj idea?

2012-02-16 Thread shihab shiha
ya but you can open it using command mode. just go command mode and change
your directory into the android sdk .

android-sdk-linux/tools and type ./ddms then you will get the window from
there you can get the access to the sdcard and all



On Fri, Feb 17, 2012 at 11:25 AM, moktarul anam  wrote:

> Hi
> I think ddms feature  is not there in intellj
>
> Moktarul
>
> On Feb 17, 10:20 am, shihab shiha  wrote:
> > you can use ./ddms
> >
> >
> >
> >
> >
> >
> >
> > On Fri, Feb 17, 2012 at 10:37 AM, moktarul anam 
> wrote:
> > > best way is use adb shell
> >
> > > 1. adb shell
> > > 2. cd /data/data//
> > > 3. adb pull  database ./
> >
> > > Enjoy
> > > Moktarul
> >
> > > On Feb 16, 8:18 pm, Duygu Kahraman  wrote:
> > > > I am using intellj idea and i am working with **ORMLite**.
> >
> > > > My question is, i create a database but i want to export database
> > > > for looking my data.When i use Eclipse i can export my sqlite
> database
> > > > a few ways but i have no idea about **intellj**.
> >
> > > > Can anybody know something about that?
> >
> > > > THX.
> >
> > > --
> > > 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
>

-- 
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] setting image over a canvas circle

2012-02-16 Thread shihab shiha
Hi All,
How can i set an image over the canvas drawables ? i have one circle i
created it using canvas . i want to put an image over the drawings using
xml file.how can i do that .

-- 
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] Arabic text

2012-02-16 Thread shihab shiha
I am aslo searching for this solution. If you find any thing about this
pleas let me know

Thanks in advance

On Fri, Feb 17, 2012 at 9:30 AM, Areesha kamran  wrote:

> I have to write Islamic verses in android application. Can any one guide
> me what steps should i follow. Should these verses store  in database
>
> --
> 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] Re: How can i export my sqlite database from intellj idea?

2012-02-16 Thread shihab shiha
you can use ./ddms

On Fri, Feb 17, 2012 at 10:37 AM, moktarul anam  wrote:

> best way is use adb shell
>
> 1. adb shell
> 2. cd /data/data//
> 3. adb pull  database ./
>
> Enjoy
> Moktarul
>
> On Feb 16, 8:18 pm, Duygu Kahraman  wrote:
> > I am using intellj idea and i am working with **ORMLite**.
> >
> > My question is, i create a database but i want to export database
> > for looking my data.When i use Eclipse i can export my sqlite database
> > a few ways but i have no idea about **intellj**.
> >
> > Can anybody know something about that?
> >
> > THX.
>
> --
> 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