[android-developers] Re: Intel HAXM and windows 8.1

2015-06-06 Thread Ricardo Santos
Ok, thanks! Is it a restriction from 8.1? I think Windows 8 allowed it!

Em sábado, 6 de junho de 2015, Michael Banzon  escreveu:

> Not so far I can tell.
>
> On Sat, Jun 6, 2015, 14:27 Ricardo Santos  > wrote:
>
>> So, HAXM for the android emulator is also not available?
>>
>> Em sábado, 6 de junho de 2015, Michael Banzon > > escreveu:
>>
>>> The non-Pro version of Windows 8.1 does not include virtualization.
>>>
>>> See this chart:
>>> https://www.microsoft.com/en-us/windows/enterprise/products-and-technologies/windows-8-1/compare/default.aspx
>>>
>>> As far as I know it is the missing "Client Hyper-V" under "Management".
>>>
>>> On Sat, Jun 6, 2015 at 6:47 AM Ricardo Santos <
>>> ricardo.c.r.san...@gmail.com> wrote:
>>>
>>>> Hello! My computer is saying that despite being hardware capable of
>>>> installing HAXM, it is not able to do so. The message I get is to enable
>>>> VT-x, but I already have it enabled in the BIOS. I am using Windows 8.1
>>>> Single language and I can't find any Hyper-x control. Does anyone know if
>>>> it is a Windows limitation?
>>>>
>>>> Ricardo Santos
>>>>
>>>>  --
>>>> 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.
>>>>
>>>  --
>>> 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.
>>>
>>  --
>> 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.
>>
>  --
> 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.
>

-- 
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] Re: Intel HAXM and windows 8.1

2015-06-06 Thread Ricardo Santos
So, HAXM for the android emulator is also not available?

Em sábado, 6 de junho de 2015, Michael Banzon  escreveu:

> The non-Pro version of Windows 8.1 does not include virtualization.
>
> See this chart:
> https://www.microsoft.com/en-us/windows/enterprise/products-and-technologies/windows-8-1/compare/default.aspx
>
> As far as I know it is the missing "Client Hyper-V" under "Management".
>
> On Sat, Jun 6, 2015 at 6:47 AM Ricardo Santos <
> ricardo.c.r.san...@gmail.com
> > wrote:
>
>> Hello! My computer is saying that despite being hardware capable of
>> installing HAXM, it is not able to do so. The message I get is to enable
>> VT-x, but I already have it enabled in the BIOS. I am using Windows 8.1
>> Single language and I can't find any Hyper-x control. Does anyone know if
>> it is a Windows limitation?
>>
>> Ricardo Santos
>>
>>  --
>> 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.
>>
>  --
> 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.
>

-- 
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] Intel HAXM and windows 8.1

2015-06-05 Thread Ricardo Santos
Hello! My computer is saying that despite being hardware capable of
installing HAXM, it is not able to do so. The message I get is to enable
VT-x, but I already have it enabled in the BIOS. I am using Windows 8.1
Single language and I can't find any Hyper-x control. Does anyone know if
it is a Windows limitation?

Ricardo Santos

-- 
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] Re: Error with android.support.v7.internal.widget.ActionBarOverlayLayout

2015-06-05 Thread Ricardo Santos
To be straightforward, how can I configure android studio so I do not get
the error regarding  android.support.v7.internal.widget?

Em sexta-feira, 5 de junho de 2015, Justin Anderson 
escreveu:

> I'm not sure what you are asking...
>
> On Fri, Jun 5, 2015, 2:44 PM Ricardo Santos  > wrote:
>
>> Hello everyone! Have anyone solved the problem
>> of android.support.v7.internal.widget.ActionBarOverlayLayout rendering in
>> Android Studio?
>>
>> I am having this problem for a while and have always worked around it. I
>> have serached in the messages for people who might have already solved it,
>> but found none. Can anyone help me?
>>
>> Ricardo Santos
>>
>> --
>> 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.
>>
>  --
> 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.
>

-- 
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] Error with android.support.v7.internal.widget.ActionBarOverlayLayout

2015-06-05 Thread Ricardo Santos
Hello everyone! Have anyone solved the problem
of android.support.v7.internal.widget.ActionBarOverlayLayout rendering in
Android Studio?

I am having this problem for a while and have always worked around it. I
have serached in the messages for people who might have already solved it,
but found none. Can anyone help me?

Ricardo Santos

-- 
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] NDK in MacOS

2012-08-22 Thread Ricardo Santos
Ok, Thanks, going there.

On Wed, Aug 22, 2012 at 5:24 PM, Mark Murphy wrote:

> Questions involving the NDK are best asked on the android-ndk Google Group.
>
> On Wed, Aug 22, 2012 at 4:22 PM, Ricardo Santos
>  wrote:
> > Hello Everyone!
> >
> >   I am trying to compile a code using the ndk on MacOS and I am having a
> > problem with the path, I think.
> >   When I call ndk-build on the project directory, I get the message that
> it
> > can`t find the build-local.mk on my user directory, but it should be
> looking
> > on its own directory. Does anyone knows how to solve this problem?
>
> --
> Mark Murphy (a Commons Guy)
> http://commonsware.com | http://github.com/commonsguy
> http://commonsware.com/blog | http://twitter.com/commonsguy
>
> _The Busy Coder's Guide to Android Development_ Version 4.0 Available!
>
> --
> 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] NDK in MacOS

2012-08-22 Thread Ricardo Santos
Hello Everyone!

  I am trying to compile a code using the ndk on MacOS and I am having a
problem with the path, I think.
  When I call ndk-build on the project directory, I get the message that it
can`t find the build-local.mk on my user directory, but it should be
looking on its own directory. Does anyone knows how to solve this problem?

Ricardo Santos

-- 
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] ListView and Database

2012-04-02 Thread Ricardo Santos
Ok, I have tried a lot of things, and I found out that the best way to do
it is to create a new activity, and extend it from ListActivity and use all
the life saving methods that are already there, just waiting for us...

On Sun, Apr 1, 2012 at 8:16 PM, Ted Scott  wrote:

>  On 4/1/2012 3:19 PM, Ricardo Santos wrote:
>
> Hi Ted,
>Maybe I have understood the theory, now, but my code still do not work.
> So, my code looks like this:
>
> //This is my list view
>
> ListView charList = (ListView)findViewById(R.id.list);
>
> R.id.list needs to be the id of a ListView element...
>
>  //Setting up the from String[]
>
> String[] from = new String[]{"name"};
>
> //Setting up the to int[]
>
> int[] to = new int[]{R.id.lstCharacters};
>
>
>  //Now, I set the SimpleCursorAdapter
>
>  SimpleCursorAdapter simplCursor = new SimpleCursorAdapter(this, R.id.list,
> loadCharacterCursor, from, to);
>
>  the R.id.list should not be a ListView, it should be resource identifier
> of a layout file that defines the views for each row in the list.
>
>  //Setting the adapter do the list - here it crashes.
>
> charList.setAdapter(simplCursor);
>
>  I cant see what I'm doing wrong. Can anyone shed (some) more light to
> the subject?
>
>
> I've never used a list view outside of a class extending ListActivity.
>
>
>  Ricardo
>
>
> On Sun, Apr 1, 2012 at 12:33 AM, Ted Scott  wrote:
>
>> Hi Ricardo,
>>
>> First, I'm sure others will chime in if this is bad advice, but my
>> understanding is that it is better to use the compatibility package and
>> cursor loaders and a load manager. See
>> http://developer.android.com/reference/android/widget/SimpleCursorAdapter.htmland
>>  the base CursorAdapter.
>>
>> That said, from is simply a list of columns in the PROJECTION exposed by
>> the cursor that are of interest to the ListView ids in the to array. This
>> is in order of the two arrays such that the data from from[x] is passed to
>> the view with the id in to[x].
>>
>> Given the list view row definition:
>>
>> 
>> http://schemas.android.com/apk/res/android";
>>  android:layout_width="fill_parent"
>>  android:layout_height="34dp"
>>  android:gravity="bottom"
>>  android:orientation="horizontal">
>>
>> http://schemas.android.com/apk/res/android";
>>android:id="@+id/foo"
>>android:layout_width="100dp"
>>android:layout_height="30dp"
>>android:textSize="16dp"
>>android:gravity="center_vertical"
>>android:paddingLeft="5dip"
>>android:singleLine="true"
>>/>
>> http://schemas.android.com/apk/res/android";
>>android:id="@+id/bar"
>>android:layout_width="50dp"
>>android:layout_height="30dp"
>>android:textSize="20dp"
>>android:gravity="right|center_vertical"
>>android:paddingLeft="5dip"
>>android:singleLine="true"
>>/>
>> 
>>
>> And assuming that you have column1 and column2 in your cursor's
>> projection, and want to map the contents of column1 to the textview foo and
>> column2 to textview bar, from and to would be defined something like:
>>
>> String[] from =  new String[] { "column1" , "coulmn2"};
>> int[] to   = new int[] { R.id.foo , R.id.bar };
>>
>> Clear as mud?
>>
>> -Ted
>>
>>
>> On 3/31/2012 9:36 PM, Ricardo Santos wrote:
>>
>>>  Hello everyone!
>>>
>>>  I have in my application, I hace a list view that needs to be populated
>>> with data from a database, I have tested my database and my app is handling
>>> the data correctly, but I cant populate the list view, I have read about
>>> the SimpleCursorAdapter but I cant understand how to use the class,
>>> specially the from and to fields, does anyone know how to use it?
>>>
>>>  My class is not extending ListActivity, my list view is inside a dialog.
>>>
>>> Ricardo
>>>   --
>>> 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+u

Re: [android-developers] ListView and Database

2012-04-01 Thread Ricardo Santos
Hi Ted,

   Maybe I have understood the theory, now, but my code still do not work.
So, my code looks like this:


//This is my list view

ListView charList = (ListView)findViewById(R.id.list);


//This is the cursor that stores all the DB rows, I tested it and it works
just fine

 Cursor loadCursor = mDbHelper.fetchAllRecords();


//Setting up the from String[]

String[] from = new String[]{"name"};


//Setting up the to int[]

int[] to = new int[]{R.id.lstCharacters};


//Now, I set the SimpleCursorAdapter

 SimpleCursorAdapter simplCursor = new SimpleCursorAdapter(this, R.id.list,
loadCharacterCursor, from, to);


//Setting the adapter do the list - here it crashes.

charList.setAdapter(simplCursor);

I cant see what I'm doing wrong. Can anyone shed (some) more light to the
subject?

Ricardo


On Sun, Apr 1, 2012 at 12:33 AM, Ted Scott  wrote:

> Hi Ricardo,
>
> First, I'm sure others will chime in if this is bad advice, but my
> understanding is that it is better to use the compatibility package and
> cursor loaders and a load manager. See http://developer.android.com/**
> reference/android/widget/**SimpleCursorAdapter.html<http://developer.android.com/reference/android/widget/SimpleCursorAdapter.html>and
>  the base CursorAdapter.
>
> That said, from is simply a list of columns in the PROJECTION exposed by
> the cursor that are of interest to the ListView ids in the to array. This
> is in order of the two arrays such that the data from from[x] is passed to
> the view with the id in to[x].
>
> Given the list view row definition:
>
> 
>  xmlns:android="http://schemas.**android.com/apk/res/android<http://schemas.android.com/apk/res/android>
> "
>  android:layout_width="fill_**parent"
>  android:layout_height="34dp"
>  android:gravity="bottom"
>  android:orientation="**horizontal">
>
>  xmlns:android="http://schemas.**android.com/apk/res/android<http://schemas.android.com/apk/res/android>
> "
>android:id="@+id/foo"
>android:layout_width="100dp"
>android:layout_height="30dp"
>android:textSize="16dp"
>android:gravity="center_**vertical"
>android:paddingLeft="5dip"
>android:singleLine="true"
>/>
>  xmlns:android="http://schemas.**android.com/apk/res/android<http://schemas.android.com/apk/res/android>
> "
>android:id="@+id/bar"
>android:layout_width="50dp"
>android:layout_height="30dp"
>android:textSize="20dp"
>android:gravity="right|center_**vertical"
>android:paddingLeft="5dip"
>android:singleLine="true"
>/>
> 
>
> And assuming that you have column1 and column2 in your cursor's
> projection, and want to map the contents of column1 to the textview foo and
> column2 to textview bar, from and to would be defined something like:
>
> String[] from =  new String[] { "column1" , "coulmn2"};
> int[] to   = new int[] { R.id.foo , R.id.bar };
>
> Clear as mud?
>
> -Ted
>
>
> On 3/31/2012 9:36 PM, Ricardo Santos wrote:
>
>> Hello everyone!
>>
>>  I have in my application, I hace a list view that needs to be populated
>> with data from a database, I have tested my database and my app is handling
>> the data correctly, but I cant populate the list view, I have read about
>> the SimpleCursorAdapter but I cant understand how to use the class,
>> specially the from and to fields, does anyone know how to use it?
>>
>>  My class is not extending ListActivity, my list view is inside a dialog.
>>
>> Ricardo
>> --
>> 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<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<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] ListView and Database

2012-03-31 Thread Ricardo Santos
Hello everyone!

  I have in my application, I hace a list view that needs to be populated
with data from a database, I have tested my database and my app is handling
the data correctly, but I cant populate the list view, I have read about
the SimpleCursorAdapter but I cant understand how to use the class,
specially the from and to fields, does anyone know how to use it?

  My class is not extending ListActivity, my list view is inside a dialog.

Ricardo

-- 
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: Help for android & Micro-controller interface

2012-03-14 Thread Ricardo Santos
Hello, I have read about Amarino but I have never used it, it might be what
you need. If I am not mistaken, it works with Bluetooth, so you don't have
to connect the USB cable...

On Wed, Mar 14, 2012 at 3:31 AM, abhijeet tomar wrote:

> Hello Bhavin,
>
> your question is appreciable and guideable ...i am also wondering for that
> if u have any
> solution's ..please describe on Android Group ...
>
>  --
> 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: UI design

2012-03-08 Thread Ricardo Santos
A table view with three rows would do the job too...

On Wed, Mar 7, 2012 at 6:00 AM, moktarul anam  wrote:

> Hi
> this will be simple listview and use custom adapter
>
> Moktarul anam
>
> On Wednesday, 7 March 2012 11:37:06 UTC+5:30, megha agrawal wrote:
>>
>> Hello All,
>>
>> I want to create a UI for my app as shown in image attached with this
>> mail. I am not getting what type of widget they have used??
>>
>> Can somebody explain, how to go for this type of design?
>>
>> 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

[android-developers] Buttons labels

2012-02-16 Thread Ricardo Santos
Hi everyone!

  I am trying to implement internationalization in my app and I am having a
problem with the button label.
  Because of my button's art, I need to make the label not be centralized,
and I can't find any method on the button class that can help me with that.
Will I have to customize a component?

Ricardo Santos

-- 
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] find out which activity resumed/started my activity?

2012-01-23 Thread Ricardo Santos
I believe you cold put a variable in the database when the activity is
being interrupted, then when resumed, you cold check to see if that
variable is setted on the database.

See the lifecycle on the developer page to know what methods are called and
when.

I have never done anything like that, so if I said nonsense, please anyone
correct me.

Em 23/01/2012 09:50, "Mark Murphy" escreveu:

On Mon, Jan 23, 2012 at 4:46 AM, for android  wrote:
> Is there any way can i ...
No.

--
Mark Murphy (a Commons Guy)
http://commonsware.com | http://github.com/commonsguy
http://commonsware.com/blog | http://twitter.com/commonsguy

Android App Developer Books: http://commonsware.com/books


-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" ...

-- 
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] Augmented Reality

2012-01-20 Thread Ricardo Santos
You will need more than 7 days for that...

My advice it for you to go beyond wikipedia and see some real image
processing books. I had this on college a few years ago and do not remember
the name of the subject, but I know that with some real research you can do
it.

Hope you don't have a deadline to this project... :D

On Fri, Jan 20, 2012 at 8:23 AM, Raghav Sood  wrote:

> This is currently not possible. Unless you are willing to write code that
> can efficiently describe to AndAR how every possible bulb you will be use
> looks from every angle, then I'd suggest you drop it.
>
> Thanks
>
>
> On Thu, Jan 19, 2012 at 10:37 AM, tofeeq ahmad wrote:
>
>> I am working on Augmented Reality from last 7 days.I implement AndAR
>> API library for this purpose.My problem is creating marker.I used some
>> online marker generator.But all has one limitation that every pattern
>> should have black border around it otherwise it will not make a
>> pattern.
>> This is limitation is barrier for my app.I want to detect Physical
>> object like real bulb. If i make pattern for bulb by putting it on
>> black square paper then marker generator generate pattern and AndAR
>> detect bulb with background black square,But if i remove background
>> image then it do not able to detect bulb.
>>
>>
>> My aim to detect physical bulb.And physical bulb does not have any
>> black border around it.So how to make pattern for physical object and
>> then detect them
>>
>> --
>> 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
>
>
>
>
> --
> Raghav Sood
> http://www.androidactivist.org/ - Author
> http://www.appaholics.in/ - Founder
>
>  --
> 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] Newbie question about Content Provider

2012-01-20 Thread Ricardo Santos
Do the notepad tutorial, on the developers page, it will help you a lot.

On Tue, Jan 17, 2012 at 1:37 PM, Lester Quintero wrote:

> Hello everybody,
>
> Its possible with content providers make insert-select in SqlIte
> database.
> would be something like:
>
> Insert into Table(t1, t2)
> Select tx, ty
> From Table
>
> or
>
> Insert into Table(t1, t2)
> Select tx, ty  WHERE NOT EXISTS ...
>
> 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 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] overlay webcam

2012-01-20 Thread Ricardo Santos
I have never done anything similar to it, but I would advise you to
subclass the component you are using and extend the onCanvas() method to
put a circle on the place desired.

But, as I said, I have never done anything like that, so if I said anything
wrong, someone please correct me.

2012/1/18 Etienne Le Néchet 

> Hello,
>
> I develop an application which use camera...but I want an overlay. I
> want draw a circle which allows a person to place his head properly
> for face recognition. What are method to implement 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

-- 
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] How to continously updating data from XML

2012-01-16 Thread Ricardo Santos
Why don't you make a thread that keeps checking for changes on the file,
than, if a change is detected, you can update all the data... Or, create a
button "update data now"...

On Fri, Jan 13, 2012 at 7:16 AM, Cheah Peng Huat wrote:

> I have a problem trying to get dynamic data from XML. I have written
> code to parse data from xml, but the data only update once when i
> execute the application.
> What i want is continuosly update of data.
>
> Can anyone help me on that? Thank you.
>
> --
> 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: hi

2012-01-10 Thread Ricardo Santos
I would suggest you to use a regular expression and create a String array
from the input String, so you can get whatever you want from the array.

It has been a while since I used this technique, but I believe this link
will help:

http://www.regular-expressions.info/java.html

On Tue, Jan 10, 2012 at 10:48 AM, chowdary nani wrote:

> Hi Robin,
> i again need small help
>
> in the same thing i.e, to parse name from this object
>
>
>  {"data":[{"id":"38314877099_10150452362217100","from":{"
> name":"Incipio Technologies"}}]}
>
>
>
> Thanks
> Naveen.
>
>
>>
>  --
> 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] Confused about error for (Button)findViewById(R.id.MyButton)

2012-01-09 Thread Ricardo Santos
If that doesn't help, you can send the error that you are getting, so we
can have a better idea of what is wrong with the code.

2012/1/9 Kostya Vasilyev 

>
> http://developer.android.com/guide/topics/resources/accessing-resources.html
>
> >>>
> When your application is compiled, aapt generates the R class, which
> contains resource IDs for all the resources in your res/ directory. For
> each type of resource, there is an Rsubclass (for example, R.drawable for
> all drawable resources) and for each resource of that type, there is a
> static integer (for example, R.drawable.icon). This integer is the
> resource ID that you can use to retrieve your resource.
> <<<
>
> You need to add the import for your application's R.java file.
>
> In Eclipse, press Ctrl+Shift+O, then select  R.java, if
> prompted.
>
> Or add "import R.java" manually in the imports section, near the top of
> the file.
>
> -- Kostya
>
> 10 января 2012 г. 0:53 пользователь dev0708 написал:
>
> I don't understand the "findViewById(R.id.myWidget)" syntax. I've
>> searched for an explanation and only found more advanced topics.
>>
>> In graphic layout of main.xml I add a button and edit ID to "@+id/
>> myButton" and edit text to a new string.
>>
>> I assume that somewhere an ID is recorded, similar to strings.xml that
>> holds the strings.
>>
>> But in the .java file when I do this:
>>   Button myButton = (Button)findViewById(R.id.myButton);
>> the "id" shows an error (red squiggle).
>>
>> Is my concept of storage of IDs wrong?
>> Where are ID's stored? (Or is this beyond what a beginner should be
>> thinking about?)
>> How can I get the "id" in above line of code to recognize the
>> collection of IDs?
>>
>> Much 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 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] sample android app wont run on eclipse

2012-01-09 Thread Ricardo Santos
Have yuo created a virtual device with the device manager? If you have, ave
you created with the correct Android version?

On Sun, Jan 8, 2012 at 9:53 AM, karan hans  wrote:

> wheb i run helloworld app this is what  i get
> [2012-01-08 17:06:11 - HelloWorld] --
> [2012-01-08 17:06:11 - HelloWorld] Android Launch!
> [2012-01-08 17:06:11 - HelloWorld] adb is running normally.
> [2012-01-08 17:06:11 - HelloWorld] Performing
> com.example.android.rs.helloworld.HelloWorld activity launch
> [2012-01-08 17:06:11 - HelloWorld] Failed to find an AVD compatible
> with target 'Android 4.0.3'.
> [2012-01-08 17:06:43 - HelloWorld] Performing
> com.example.android.rs.helloworld.HelloWorld activity launch
> [2012-01-08 17:08:15 - HelloWorld] Launch canceled!
>  please help newbie here
>
> --
> 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] how to debug the code when using camera of device(mobile)

2012-01-06 Thread Ricardo Santos
I have never used USB deugging, but that should do the trick... Connect
with the USB the device you want to use, and set eclipse to look for a
connection on the USB, instead on the emulator.

Just saying again that I have never used it, if anyone has ever done it,
please add your answer.

In this link I think you might find something interesting.

http://developer.android.com/guide/developing/device.html


On Fri, Jan 6, 2012 at 12:01 PM, muhammad.ume...@hotmail.com <
muhammad.ume...@hotmail.com> wrote:

> hi,
>I want to debug the code when i using the camera of the mobile.
> how can i debug it on a device.
>
> Thanks and Regards
>
> umer
>
> --
> 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 contacts..

2012-01-04 Thread Ricardo Santos
Android has a database that can deal with that...

http://developer.android.com/guide/topics/data/data-storage.html#db

Hope it helps,

Ricardo

P.S.: Do the notepad tutorial too, it will help you a lot.

http://developer.android.com/resources/tutorials/notepad/index.html

On Wed, Jan 4, 2012 at 9:49 AM, vidhin v dev  wrote:

> Hai,
> I am a beginer to android suggest me some android tutorials and
> links..
> i would like to create a new contact list for user that includes
> fields are  phone number, E-mail id,Name of the person, Birthday date,
> photo images etc,,, please Suggest me some ideas
>
> --
> 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] image file and text file

2012-01-04 Thread Ricardo Santos
I believe that customize a component is the answer here.

http://developer.android.com/guide/topics/ui/custom-components.html

Extend view, use a canas and draw the bitmap and the text.

Hope it helps,

Ricardo

On Wed, Jan 4, 2012 at 2:20 PM, chayan chowdhury
wrote:

> how to access image and text in textview .basically i want to display
> imageview with textview detail
>
> --
> 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] How to Plot Line Graph

2012-01-04 Thread Ricardo Santos
Hi there!

I have that difficulty myself, and I tried to make a custom view that could
be used to create a graph plotter. It is a bit tricky (not difficult,
though), and if you decide to try it, it could be interesting.

However, after a some time coding I found that the effort wasn't rewarding
enough for me, so I found a few modules that can solve my (and your)
problem:

Graph View:
http://android.arnodenhond.com/components/graphview

Chart droid:
http://code.google.com/p/chartdroid/

Android plot:
http://androidplot.com/wiki/Home

A Chart Engine:
http://code.google.com/p/achartengine/

Of the above, the only one I have tried is Graph View, and it is simple and
good looking. Too simple for me, however.

Hope it helps,

Ricardo

On Wed, Jan 4, 2012 at 11:52 AM, James Black wrote:

> What have you done on the Canvas class?
> On Jan 4, 2012 4:17 AM, "AndroCraze"  wrote:
>
>> Hi all,
>>I am new to android.Need Help in plotting a graph in linear
>> pattern, it should show two lines in the graph.
>>
>> --
>> 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

Re: [android-developers] Setting textColor in strings.xml file

2012-01-04 Thread Ricardo Santos
In the strings.xml, I don't think so. You Could use a style to make your
job easier.

http://developer.android.com/guide/topics/ui/themes.html

Ricardo

On Mon, Jan 2, 2012 at 10:57 PM, Glenn  wrote:

> Probably a stupid question from a newbie but here goes...
>
> Can I set a color for text in the strings.xml file to be used in the
> layout xml file?
>
> ie... set color in strings.xml
>  #ffdf38
> then reference in the layout file "main.xml"
> android:layout_width="wrap_content"
>   android:textColor="@string/goldText"/>
>
> --
> 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: resoultion issues

2012-01-03 Thread Ricardo Santos
Did you try making a layout to support the different screen types?

http://developer.android.com/guide/practices/screens_support.html

And, post screencaps...

Ricardo

On Tue, Jan 3, 2012 at 3:17 PM, skink  wrote:

>
>
> jaggu wrote:
> > Hi
> >  iam facing issue screen resolution issues
> >   1.samsung galaxy s2 its working fine
> >   2.application when  iam testing different device motorola,htc  facing
> issues.
> >
> > how to solve this issue.to support all the devices screen resolution
> > can any one suggest me about this
>
> Issues? What issues? I dont see any issues...
>
> pskink
>
> --
> 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] onDraw not being called

2012-01-02 Thread Ricardo Santos
Hi everyone!

   I am trying to make a custom component, so for testing purposes I made a 
view that draws a white line. The code for the component follows:


public class CGrafico extends SurfaceView implements SurfaceHolder.Callback{


 public CGrafico(Context context) {

 super(context);

}

 public CGrafico(Context context, AttributeSet attrs) {

 super(context, attrs);

}

 public CGrafico(Context context, AttributeSet attrs, int defStyle) {

 super(context, attrs, defStyle);

}

@Override

protected void onDraw(Canvas canvas)

{

 super.onDraw(canvas);

  Paint estilo = new Paint();

 estilo.setARGB(255, 50, 55, 55);

  canvas.drawLine(0.0f, 0.0f, 10.0f, 10.0f, estilo);

}

@Override

public void surfaceChanged(SurfaceHolder holder, int format, int width, 
intheight) {

  }

@Override

public void surfaceCreated(SurfaceHolder holder) {

  }

@Override

public void surfaceDestroyed(SurfaceHolder holder) {

  }

}


I declared it on the xml layout just with the android:layout_width and the 
android:layout_height properties defined, both set to "fill_parent", and 
the main class of the application just calls setContentView with the XML 
layout as an argument.


My problem is that I have tested and the line the custom view was supposed 
to draw is not appearing, in fact, the onDraw function is not even being 
executed. I have tried to understand the example codes, and the developer 
page on Canvas and drawing, but I am too much of a newbie to see what I am 
doing wrong. Anyone have an idea on how to make it work?


Ricardo

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