[android-developers] Camera2 api

2017-02-20 Thread gonzalo romo
Hello. I think my phone does not capture RAW. But with camera fv5 i can take 
png photos and they look great. But it does not save well all the photos I 
take. I have any possibility of taking photos in another format better than 
jpeg? As PNG .. I have a j7 2016

-- 
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.
To post to this group, send email to android-developers@googlegroups.com.
Visit this group at https://groups.google.com/group/android-developers.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/android-developers/335a7cef-e96d-400b-ae38-fa12e411ad14%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[android-developers] Re: sqlite databases

2016-07-17 Thread Gonzalo Cimma
this is my problem, I make app in android studio, Im using SQLite database, 
but I need refresh the information from application made in visual studio, 
now I have the SQLite in the pc, I need copy to phone, but not all phones 
as rooted, for that I think if can copy the db to sdcard and after from the 
phone app can copy the database

I tried but I cant, if can help me, thanks a lot.

-- 
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.
To post to this group, send email to android-developers@googlegroups.com.
Visit this group at https://groups.google.com/group/android-developers.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/android-developers/c5a90a76-3040-4ba0-97ac-06bebac27280%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[android-developers] sqlite databases

2016-07-14 Thread Gonzalo Cimma
Hi, I make app and use SQLite db, but my phone I can't root, for that I can 
see the db, and need every time update the db, I working in Visual Studio, 
Android Studio, how can update the db, maybe if send db to sdcard in the 
phone and the app have option for update the database, I need help with 
this, thanks.

-- 
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.
To post to this group, send email to android-developers@googlegroups.com.
Visit this group at https://groups.google.com/group/android-developers.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/android-developers/6041e3a8-4903-4cc5-b838-8f3109a22346%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [android-developers] Getting points of interest from a certain location using Google Places API for Android

2016-03-19 Thread Gonzalo Diaz
Sorry if it is unclear. I'm trying to get the top X touristic places from a 
certain city( i.e. Times Square, Central Park...) . That's the 
functionality I was meaning.

On Thursday, March 17, 2016 at 5:45:27 PM UTC-5, TreKing wrote:
>
>
> On Thu, Mar 17, 2016 at 5:21 PM, Gonzalo Diaz  > wrote:
>
>> I'm coding an Android application and I'm trying to get and display a 
>> list of certain points of interest using Google Places API for Android.
>>
> What are "certain points of interest"? What are you trying to find with 
> this API?
>
>> On the other hand, the Google API for web services: 
>> https://developers.google.com/places/web-service/intro does have that 
>> functionality I'm looking for
>>
> What functionality are you looking for? Your question is unclear.
>
>
> -
> 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 unsubscribe from this group and stop receiving emails from it, send an email 
to android-developers+unsubscr...@googlegroups.com.
To post to this group, send email to android-developers@googlegroups.com.
Visit this group at https://groups.google.com/group/android-developers.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/android-developers/3d849549-5965-4017-91c0-98b4a13448d1%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[android-developers] Getting points of interest from a certain location using Google Places API for Android

2016-03-18 Thread Gonzalo Diaz


I'm coding an Android application and I'm trying to get and display a list 
of certain points of interest using Google Places API for Android. However 
I've been checking the docs from here:
https://developers.google.com/places/android-api/signup and I haven't found 
anything similar for Android.


On the other hand, the Google API for web services: 
https://developers.google.com/places/web-service/intro does have that 
functionality I'm looking for but Google says strictly not to use this API 
in an Android app.


I wanted to know if is possible to use this web services API in an Android 
app, and what other alternatives are there for such functionality I want to 
implement.

-- 
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.
To post to this group, send email to android-developers@googlegroups.com.
Visit this group at https://groups.google.com/group/android-developers.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/android-developers/08f15531-5de4-4e57-9ea6-cbbcdd520688%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[android-developers] ususcribe

2011-01-06 Thread Gonzalo Aguilar Delgado
ususcribe

-- 
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] Is there any Dalvik bytecoder available?

2010-07-06 Thread Gonzalo
Hi:
As part of my research I implemented a runtime bytecoder for Java apps
based on Javassist. The idea is to introduce code to execute code
remotely based on current context. Since the context is not the same
at every moment, I need to perform the bytecoding at every execution
(if needed).
I tried to port my code to Android in order to test it on mobile
devices (I already tested it on win mobile and iphone using phoneme
and jamvm respectively). However, I could not find any bytecoding tool
available for Dalvik.
Is there any Dalvik bytecoder available or an ongoing project that I
can join/check that is working on this issue?
If not, is there any other alternative beside running a decompiler for
dex files, and modifying it manually?

Thanks,
--Gonzalo

-- 
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] Re: How to hang an outgoing call? (Revisited, Partly solved here)

2009-07-06 Thread Gonzalo Aguilar Delgado
Spam detection software, running on the system "azul3.aguilardelgado.com", has
identified this incoming email as possible spam.  The original message
has been attached to this so you can view it (if it isn't spam) or label
similar future email.  If you have any questions, see
the administrator of that system for details.

Content preview:  Great! So there is a open end... At least we can try to 
implement
   it and include into the main release next version. That's one solution. [...]
   

Content analysis details:   (7.8 points, 5.0 required)

 pts rule name  description
 -- --
 1.0 EXTRA_MPART_TYPE   Header has extraneous Content-type:...type= entry
 3.1 FH_HOST_EQ_DYNAMICIP   Host is dynamicip
 1.5 HTML_IMAGE_ONLY_28 BODY: HTML: images with 2400-2800 bytes of words
 0.0 HTML_MESSAGE   BODY: HTML included in message
 0.5 RCVD_IN_PBLRBL: Received via a relay in Spamhaus PBL
[83.39.64.181 listed in zen.spamhaus.org]
 1.6 RCVD_IN_SORBS_DUL  RBL: SORBS: sent directly from dynamic IP address
[83.39.64.181 listed in dnsbl.sorbs.net]
 0.1 RDNS_DYNAMIC   Delivered to trusted network by host with
dynamic-looking rDNS
 0.0 DYN_RDNS_AND_INLINE_IMAGE Contains image, and was sent by dynamic
rDNS

The original message was not completely plain text, and may be unsafe to
open with some email clients; in particular, it may contain a virus,
or confirm that your address can receive spam.  If you wish to view
it, it may be safer to save it to a file and open it with an editor.


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

--- Begin Message ---
Great! 

So there is a open end... At least we can try to implement it and
include into the main release next version.

That's one solution. 

I will try to take a look also to the ndk toolkit. Maybe is there other
solutions.

Thank you!








____




  Gonzalo Aguilar Delgado
  Consultor CRM - Ingeniero en
Informática

M. +34 607814276







On mié, 2009-07-01 at 14:46 -0400, Mark Murphy wrote:

> Gonzalo Aguilar Delgado wrote:
> > I'm sorry I didn't explained myself...
> > 
> > What I wanted to say is that It must be another way to hang an outgoing
> > call. Other than the hang button in the phone.
> > Because others are doing it.
> 
> The only example you have cited is a firm (Huwaei) that presumably made
> changes in the firmware to accomplish their ends.
> 
> > So the question still remains. What is the way to hang an outgoing call?
> 
> Via the SDK, you cannot hang up an outgoing call.
> 
> > And I don't find any reason to not allow this.
> 
> It may not be a question of "allow", but a question of engineering time
> to implement the capability in the SDK. Believe it or not, Google does
> not have 999 engineers working on building Android. Hence, you are
> welcome to make a patch that implements this feature and submit it to
> http://source.android.com. Or, hire somebody to make a patch. Or, raise
> funds to hire somebody to make a patch.
> 
> At minimum, I would think it needs a permission, so the user can decide
> whether or not a specific application can forcibly hang up the phone.
> But, hey, that's just me...
> 
> > So... I think this is the group to ask about how to manage this.
> 
> For making changes to the Android open source code, you will be better
> served with a list that pertains to the Android open source code:
> 
> http://source.android.com/discuss
> 
<>--- End Message ---


[android-developers] Re: How to hang an outgoing call? (Revisited, Partly solved here)

2009-07-01 Thread Gonzalo Aguilar Delgado
I'm sorry I didn't explained myself...

What I wanted to say is that It must be another way to hang an outgoing
call. Other than the hang button in the phone.
Because others are doing it.

So the question still remains. What is the way to hang an outgoing call?

I can't believe that that's not possible. For example it will abort any
try to make any of this applications:



Call manager.
On screen buttons to handle the call.
Advanced call management. 
And others


And I don't find any reason to not allow this. 

So... I think this is the group to ask about how to manage this. Maybe
you can help more than others as you know
how this thing will progress.

Thank you in advance








________




  Gonzalo Aguilar Delgado
  Consultor CRM - Ingeniero en
Informática

M. +34 607814276










On mar, 2009-06-30 at 12:08 -0700, Dianne Hackborn wrote:

> I have no idea what Huawei is doing, but manufacturers are free to
> implement this however they want, and it is irrelevant to this group
> on developing apps with the SDK.
> 
> On Tue, Jun 30, 2009 at 12:02 PM, Gonzalo Aguilar Delgado
>  wrote:
> 
> Ok, 
> 
> so how do the manufacturers the hang-up button if the phone
> has no buttons. 
> 
> Huawei Android has no buttons...
> 
> Are you going to let do it in next versions?
> 
> Thank you
> 
> 
> 
> 
> 
> 
> 
> 
> 
> ___
> 
> 
> 
> 
>   Gonzalo Aguilar Delgado
>   Consultor CRM - Ingeniero en
> Informática
> 
> M. +34 607814276
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> On mar, 2009-06-23 at 12:21 -0700, Dianne Hackborn wrote:
> 
> > Sorry, there is no way to do this.
> > 
> > On Mon, Jun 22, 2009 at 1:32 PM, N0m0r3l13s
> >  wrote:
> > 
> > 
> > Hi all,
> > 
> > I'm just doing an application that controls who to
> > call and how many
> > rings let the call do. For example, to not wake up
> > someone in the
> > morning we only do 3 tones...
> > 
> > I'm using the standard BroadcastReceiver method to
> > stop the call from
> > going out.
> > 
> > I explain here for the people who want to do it,
> > also.
> > 
> > [ Manifiest ]
> > 1.- You need enough permissions:
> > > android:name="android.permission.PROCESS_OUTGOING_CALLS" />
> > > android:name="android.permission.CALL_PHONE" />
> > 
> > To make calls and process outgoing calls.
> > 
> > 2.- You need a broadcast receiver that catches the
> > broadcast intent:
> > 
> > > android:name=".receiver.PhoneOutgoingCallReceiver"
> >android:enabled="true" >
> > > android:priority="0">
> > > android:name="android.intent.action.NEW_OUTGOING_CALL" />
> >
> >
> > 
> > [ Code ]
> > 
> > 3.- You controls who can call in the:
> > 
> > @Override
> >public void onReceive(Context context, Intent
> > intent) {
> > 
> > }
> > 
> > 4.- If you don't want to let any call go out you
> > can:
> > 
> > @Override
> >public void onReceive(Context context, Intent
> > int

[android-developers] Re: How to hang an outgoing call? (Revisited, Partly solved here)

2009-06-30 Thread Gonzalo Aguilar Delgado
Ok, 

so how do the manufacturers the hang-up button if the phone has no
buttons. 

Huawei Android has no buttons...

Are you going to let do it in next versions?

Thank you












  Gonzalo Aguilar Delgado
  Consultor CRM - Ingeniero en
Informática

M. +34 607814276







On mar, 2009-06-23 at 12:21 -0700, Dianne Hackborn wrote:

> Sorry, there is no way to do this.
> 
> 
> On Mon, Jun 22, 2009 at 1:32 PM, N0m0r3l13s 
> wrote:
> 
> 
> Hi all,
> 
> I'm just doing an application that controls who to call and
> how many
> rings let the call do. For example, to not wake up someone in
> the
> morning we only do 3 tones...
> 
> I'm using the standard BroadcastReceiver method to stop the
> call from
> going out.
> 
> I explain here for the people who want to do it, also.
> 
> [ Manifiest ]
> 1.- You need enough permissions:
> android:name="android.permission.PROCESS_OUTGOING_CALLS" />
> android:name="android.permission.CALL_PHONE" />
> 
> To make calls and process outgoing calls.
> 
> 2.- You need a broadcast receiver that catches the broadcast
> intent:
> 
> android:name=".receiver.PhoneOutgoingCallReceiver"
>android:enabled="true" >
>
> android:name="android.intent.action.NEW_OUTGOING_CALL" />
>
>
> 
> [ Code ]
> 
> 3.- You controls who can call in the:
> 
> @Override
>public void onReceive(Context context, Intent intent) {
> 
> }
> 
> 4.- If you don't want to let any call go out you can:
> 
> @Override
>public void onReceive(Context context, Intent intent) {
>setResultData(null);
> }
> 
> 5.- Use the to get the call information.
> 
>Bundle extras = intent.getExtras();
> 
>for(Iterator
> it=extras.keySet().iterator(); it.hasNext();)
>{
>String key = it.next();
>Log.d(LOG_TAG, key);
>Log.d(LOG_TAG, "Value:
> " + extras.getString(key));
>}
> 
> BUT!
> 
> With this I can only censure calls, can't control how many
> time the
> ring sounds.
> 
> the question is:
> 
> 
> How can I delay a little bit the call cancellation?
> 
> I want to make it sound, for example, 3 seconds and then hang
> up.
> 
> Thank you all!
> 
> 
> 
> 
> 
> 
> -- 
> Dianne Hackborn
> Android framework engineer
> hack...@android.com
> 
> Note: please don't send private questions to me, as I don't have time
> to provide private support, and so won't reply to such e-mails.  All
> such questions should be posted on public forums, where I and others
> can see and answer 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
-~--~~~~--~~--~--~---

<>

[android-developers] Server and ServerSockets

2008-11-22 Thread Gonzalo

Hi,

I'm would like to connect to android phones with raw sockets but i
can't get it to work. I use the following simple code...


[android activity server]
package org.androidapp.threadserver;

import java.io.IOException;
import java.net.*;

import android.app.Activity;
import android.os.Bundle;
import android.widget.TextView;

public class Server extends Activity {
/** Called when the activity is first created. */

TextView tv;
ServerSocket ss;
Socket s;
int port = 2;

@Override
public void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
setContentView(R.layout.main);
tv = (TextView) findViewById(R.id.info);

Thread thread = new Thread(new Runnable() {
public void run() {
try {
ss = new ServerSocket(port);

tv.setText("Server listening on port "+ 
port +"...\n");
s = ss.accept();
tv.append("Connection established!\n");

// TODO Server-side logic
ss.close();
s.close();
tv.append("Connection closed.");
} catch (IOException e) {
// TODO Auto-generated catch block
tv.setText(e.toString());
}
}
});

thread.start();
}

}



[android activity client]

package org.androidapp.threadclient;

import java.io.IOException;
import java.net.*;

import android.app.Activity;
import android.os.Bundle;
import android.widget.TextView;

public class Client extends Activity {
/** Called when the activity is first created. */

TextView tv;

@Override
public void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
setContentView(R.layout.main);
tv = (TextView)findViewById(R.id.info);

}

public void onStart(){
super.onStart();
Thread thread = new Thread(new Runnable() {
public void run() {
try {
Socket s = new Socket("10.0.2.2",1);
s.getKeepAlive();
tv.setText("Connection established!\n");
// TODO Client-side logic
s.close();
tv.append("Connection closed.\n");
} catch (IOException e) {
// TODO Auto-generated catch block
tv.setText(e.toString());
}
}
});

thread.start();
}

}

I always get the server activity to stop unexpectedly. what am i doing
wrong? could anyone show me some simple android code for establishing
a tcp socket connection between two android's?
Thank you for the help.

Gonzalo.

pd. i do add tcp redirection (redir add tcp:1:2). the client
seems to connect but that make the server stop unexpectedly.

--~--~-~--~~~---~--~~
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
[EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~--~~~~--~~--~--~---