Re: [android-developers] Could not find a method saveData(View)

2016-09-29 Thread Giuseppe Guarino
Yes, I created the class, but I inserted another name. Could you help me 
with this 
error? https://groups.google.com/forum/#!topic/android-developers/wwiM3NL5rmY

Thanks for your answer

Il giorno giovedì 29 settembre 2016 11:19:54 UTC+2, sardar khan ha scritto:
>
> You should add the method in the activity file. That method is declared as 
> onclick atrribute of the button with the name SaveData.You should implement 
> this method in your activity file.
> For example look at this document.
> https://developer.android.com/reference/android/widget/Button.html
>
> On Thu, Sep 29, 2016 at 11:16 AM, Giuseppe Guarino <giusepp...@gmail.com 
> > wrote:
>
>> Hi, I'm developing an App that should receive data and save them in the 
>> SQLdatabase, but I have a problem. 
>> When I press the Save Button, the App stops the process with this error: 
>> E/AndroidRuntime: FATAL EXCEPTION: main Process: 
>> com.example.giuse.secondly, PID: 2615 java.lang.IllegalStateException: 
>> Could not find a method saveData(View) in the activity class 
>> com.example.giuse.secondly.NewSheet for onClick handler on view class 
>> android.widget.Button with id 'button_save' at 
>> android.view.View$1.onClick(View.java:4007) at 
>> android.view.View.performClick(View.java:4780) at 
>> android.view.View$PerformClick.run(View.java:19866) at 
>> android.os.Handler.handleCallback(Handler.java:739) at 
>> android.os.Handler.dispatchMessage(Handler.java:95) at 
>> android.os.Looper.loop(Looper.java:135) at 
>> android.app.ActivityThread.main(ActivityThread.java:5254) at 
>> java.lang.reflect.Method.invoke(Native Method) at 
>> java.lang.reflect.Method.invoke(Method.java:372) at 
>> com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:903)
>>  
>> at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:698) Caused by: 
>> java.lang.NoSuchMethodException: saveData [class android.view.View] at 
>> java.lang.Class.getMethod(Class.java:664) at 
>> java.lang.Class.getMethod(Class.java:643) at 
>> android.view.View$1.onClick(View.java:4000) at 
>> android.view.View.performClick(View.java:4780)  at 
>> android.view.View$PerformClick.run(View.java:19866)  at 
>> android.os.Handler.handleCallback(Handler.java:739)  at 
>> android.os.Handler.dispatchMessage(Handler.java:95)  at 
>> android.os.Looper.loop(Looper.java:135)  at 
>> android.app.ActivityThread.main(ActivityThread.java:5254)  at 
>> java.lang.reflect.Method.invoke(Native Method)  at 
>> java.lang.reflect.Method.invoke(Method.java:372)  at 
>> com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:903)
>>   
>> at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:698)  
>> Application terminated.
>>
>> When I press the button Save, in the xml file, called add_new_sheet xml, 
>> should save the data that I inserted. 
>>
>> -- 
>> 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-d...@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/c315a942-8ffd-42c3-a146-1ddc4a6d29af%40googlegroups.com
>>  
>> <https://groups.google.com/d/msgid/android-developers/c315a942-8ffd-42c3-a146-1ddc4a6d29af%40googlegroups.com?utm_medium=email_source=footer>
>> .
>> 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 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/caf18992-6938-4c4b-b5cd-1631cda960f4%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[android-developers] DB: “table” has no column named “name column”

2016-09-29 Thread Giuseppe Guarino


I've this problem when I was launching the app, it made me this error:

E/SQLiteLog: (1) table geophysics_table has no column named municipality
E/SQLiteDatabase: Error inserting id_grid=1 culture_type= resolution_survey= 
soil_type= coordinates= finish_date= start_date= municipality= site= software= 
range= ctr= assistans= frequency_feeler= igm= max_depth= instrument_type= 
area_investigated= description_site= n_tab= author= acquisition_method= 
survey_method= ref_geo_map=
  android.database.sqlite.SQLiteException: table 
geophysics_table has no column named municipality (code 1): , while compiling: 
INSERT INTO 
geophysics_table(id_grid,culture_type,resolution_survey,soil_type,coordinates,finish_date,start_date,municipality,site,software,range,ctr,assistans,frequency_feeler,igm,max_depth,instrument_type,area_investigated,description_site,n_tab,author,acquisition_method,survey_method,ref_geo_map)
 VALUES (?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?)
  at 
android.database.sqlite.SQLiteConnection.nativePrepareStatement(Native Method)
  at 
android.database.sqlite.SQLiteConnection.acquirePreparedStatement(SQLiteConnection.java:889)
  at 
android.database.sqlite.SQLiteConnection.prepare(SQLiteConnection.java:500)
  at 
android.database.sqlite.SQLiteSession.prepare(SQLiteSession.java:588)
  at 
android.database.sqlite.SQLiteProgram.(SQLiteProgram.java:58)
  at 
android.database.sqlite.SQLiteStatement.(SQLiteStatement.java:31)
  at 
android.database.sqlite.SQLiteDatabase.insertWithOnConflict(SQLiteDatabase.java:1469)
  at 
android.database.sqlite.SQLiteDatabase.insert(SQLiteDatabase.java:1341)
  at 
com.example.giuse.secondly.DBTools.insertGrid(DBTools.java:85)
  at 
com.example.giuse.secondly.NewSheet.saveData(NewSheet.java:104)
  at java.lang.reflect.Method.invoke(Native Method)
  at java.lang.reflect.Method.invoke(Method.java:372)
  at android.view.View$1.onClick(View.java:4015)
  at android.view.View.performClick(View.java:4780)
  at android.view.View$PerformClick.run(View.java:19866)
  at android.os.Handler.handleCallback(Handler.java:739)
  at android.os.Handler.dispatchMessage(Handler.java:95)
  at android.os.Looper.loop(Looper.java:135)
  at 
android.app.ActivityThread.main(ActivityThread.java:5254)
  at java.lang.reflect.Method.invoke(Native Method)
  at java.lang.reflect.Method.invoke(Method.java:372)
  at 
com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:903)
  at 
com.android.internal.os.ZygoteInit.main(ZygoteInit.java:698)
W/EGL_emulation: eglSurfaceAttrib not implemented
W/OpenGLRenderer: Failed to set EGL_SWAP_BEHAVIOR on surface 0x7fa4f2464180, 
error=EGL_SUCCESS

But I think I've entered the "municipality" in every part. This is the code 
of the db:

@Overridepublic void onCreate(SQLiteDatabase database) {

String query = "CREATE TABLE geophysics_table ( id_grid INTEGER PRIMARY 
KEY, site TEXT, " +
"n_tab TEXT, municipality TEXT, ctr TEXT, igm TEXT, coordinates 
TEXT, ref_geo_map TEXT, description_site TEXT, soil_type TEXT, culture_type 
TEXT, survey_method TEXT, instrument_type TEXT, resolution_survey TEXT, 
area_investigated TEXT, acquisition_method TEXT, frequency_feeler TEXT, range 
TEXT,  max_depth TEXT, software TEXT, author TEXT, assistants TEXT, start_date 
TEXT, finish_date TEXT)";

-- 
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/8a1382d7-2db6-43c0-a85a-950806b83d05%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[android-developers] Could not find a method saveData(View)

2016-09-29 Thread Giuseppe Guarino
Hi, I'm developing an App that should receive data and save them in the 
SQLdatabase, but I have a problem. 
When I press the Save Button, the App stops the process with this error: 
E/AndroidRuntime: FATAL EXCEPTION: main Process: 
com.example.giuse.secondly, PID: 2615 java.lang.IllegalStateException: 
Could not find a method saveData(View) in the activity class 
com.example.giuse.secondly.NewSheet for onClick handler on view class 
android.widget.Button with id 'button_save' at 
android.view.View$1.onClick(View.java:4007) at 
android.view.View.performClick(View.java:4780) at 
android.view.View$PerformClick.run(View.java:19866) at 
android.os.Handler.handleCallback(Handler.java:739) at 
android.os.Handler.dispatchMessage(Handler.java:95) at 
android.os.Looper.loop(Looper.java:135) at 
android.app.ActivityThread.main(ActivityThread.java:5254) at 
java.lang.reflect.Method.invoke(Native Method) at 
java.lang.reflect.Method.invoke(Method.java:372) at 
com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:903) 
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:698) Caused by: 
java.lang.NoSuchMethodException: saveData [class android.view.View] at 
java.lang.Class.getMethod(Class.java:664) at 
java.lang.Class.getMethod(Class.java:643) at 
android.view.View$1.onClick(View.java:4000) at 
android.view.View.performClick(View.java:4780)  at 
android.view.View$PerformClick.run(View.java:19866)  at 
android.os.Handler.handleCallback(Handler.java:739)  at 
android.os.Handler.dispatchMessage(Handler.java:95)  at 
android.os.Looper.loop(Looper.java:135)  at 
android.app.ActivityThread.main(ActivityThread.java:5254)  at 
java.lang.reflect.Method.invoke(Native Method)  at 
java.lang.reflect.Method.invoke(Method.java:372)  at 
com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:903) 
 
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:698)  
Application terminated.

When I press the button Save, in the xml file, called add_new_sheet xml, 
should save the data that I inserted. 

-- 
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/c315a942-8ffd-42c3-a146-1ddc4a6d29af%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[android-developers] Light Sensor and device in standby

2013-09-27 Thread Giuseppe Brando
Hi to everyone,

someone can tell me if is possible to interact with the light sensor when 
the device is in standby?

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 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/groups/opt_out.


[android-developers] Re: insert data from android to sql server though WCF web services

2013-09-17 Thread Giuseppe
Show the server code please

-- 
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/groups/opt_out.


[android-developers] Re: Play store - reviews disappear

2013-08-01 Thread Giuseppe
*Google  Again * yesterday our app have 576 * 5 stars, the day 
after 534  lost 32 reviews ! *and the app get down in position*
*
*
Anyone else same problem ?

-- 
-- 
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/groups/opt_out.




[android-developers] Re: USBConnection: bulkTransfer OUT = after sending 10-15 x Data's every 4 seconds = USB is disconnected, every time.

2013-07-07 Thread Giuseppe
all code please.

-- 
-- 
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/groups/opt_out.




[android-developers] Re: How to compile APK using different constant

2013-04-08 Thread Giuseppe
Probably my question was wrong!

I need to build differents APK for each market.
the only change that I need, is the boolean value.

I am trying to do it with ANT but I don't have too much knowledge for a 
good build.xml

-- 
-- 
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/groups/opt_out.




[android-developers] How to compile APK using different constant

2013-04-07 Thread Giuseppe
I have a Consant.java file that manage few static variable for different 
store:

static private boolean isForGoogleMarket = true;
static private boolean isForOperaMarket = false;
static private boolean isForTStoreMarket = false;
static private boolean isForAmazonMarket = false;
static private boolean isForSamsungMarket = false;
static private boolean isForAndroidPitMarket = false;

When I compile the APK for each market, I need to change the value of the 
const above.

I am looking for a solution to build each apk for each market changing the 
constant automatically.

Probably Marven config can be the solution, but I really don't know how to 
do

-- 
-- 
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/groups/opt_out.




[android-developers] Custom views source

2013-04-04 Thread Giuseppe
Anyone know some source for custom view ?
Actually we looking for a digital VU Meter and we would like to buy it 
instead to write it from zero.

Any suggestion?

-- 
-- 
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/groups/opt_out.




[android-developers] Re: Play store - reviews disappear

2013-01-28 Thread Giuseppe
So what we should do now?
We are losing many time to find what happened and there is no sense on this 
problem.

Should we contact Google ? what we must do?

-- 
-- 
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, send email to 
android-developers+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.




[android-developers] Play store - reviews disappear

2013-01-27 Thread Giuseppe
We are experiencing some review deletion from our play store.
Anybody here is having the same problem?


-- 
-- 
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: Play store - reviews disappear

2013-01-27 Thread Giuseppe
recent.

On Sunday, January 27, 2013 10:03:03 PM UTC+1, John Coryat wrote:

 Are the ones you see missing recent or historical?

 It may be that Google is cleaning up ratings. I see no change, at least in 
 recent reviews.

 -John Coryat, USNaviguide LLC

 On Sunday, January 27, 2013 5:59:21 AM UTC-6, Giuseppe wrote:

 We are experiencing some review deletion from our play store.
 Anybody here is having the same problem?




-- 
-- 
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, send email to 
android-developers+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.




[android-developers] Unable to delete a PendingIntent with AlarmManager

2012-12-30 Thread Giuseppe
I have created a PendingIntent with AlarmManager that send an email every 
minute with following code:

public void SetAlarm(Context context) {
AlarmManager am = (AlarmManager) 
context.getSystemService(Context.ALARM_SERVICE);
Intent i = new Intent(context, Backup_Email_Receiver.class);
PendingIntent pi = PendingIntent.getBroadcast(context, 0, i, 0);
am.setRepeating(AlarmManager.RTC_WAKEUP, System.currentTimeMillis(), 1000 * 
60 * 1, pi); 
}

and now I am trying to remove it using:

public void CancelAlarm(Context context) {
Intent intent = new Intent(context, Backup_Email_Receiver.class);
PendingIntent sender = PendingIntent.getBroadcast(context, 0, intent, 0);
AlarmManager alarmManager = (AlarmManager) 
context.getSystemService(Context.ALARM_SERVICE);
alarmManager.cancel(sender);
}

But there is no way to delete it 
I am getting crazy as I have tried in any way, please any help before I 
wipe the device ?

Also I have create this Pending Intent in different situation, like a Unit 
Test and from a service, and I have already tried to delete it using the 
same system, but no way.



-- 
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: Unable to delete a PendingIntent with AlarmManager

2012-12-30 Thread Giuseppe
I have uninstalled the app and the unit test app too, no way alarm is still 
there.
I have also dump the alarm from adb, my pendingIntent is not there.

I am starting to get crazy

-- 
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] Unable to delete a PendingIntent with AlarmManager

2012-12-30 Thread Giuseppe
Sorry for my English, I will try to write better.

Attached you will find the dump file of alarms on my device, you will see 
that there is no sign of any PendingIntent that have Backup_Email_Receiver 
as class.

I have uninstalled the app, restarted the device, the function is still 
working and every minute sending an email.

Any suggestion is appreciate.

-- 
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=enCurrent Alarm Manager state:

 

  Realtime wakeup (now=2012-12-31 07:40:36):

  RTC_WAKEUP #19: Alarm{42b9fe40 type 0 com.google.android.gsf}

type=0 when=+4d20h20m22s174ms repeatInterval=583306000 count=0

operation=PendingIntent{429eecd8: PendingIntentRecord{42aa4188 
com.google.android.gsf broadcastIntent}}

  RTC_WAKEUP #18: Alarm{424ded48 type 0 com.google.android.gsf}

type=0 when=+4d20h20m22s174ms repeatInterval=583306000 count=0

operation=PendingIntent{424decc8: PendingIntentRecord{42b803e8 
com.google.android.gsf broadcastIntent}}

  RTC_WAKEUP #17: Alarm{42493358 type 0 com.google.android.gsf}

type=0 when=+4d20h20m22s174ms repeatInterval=583306000 count=0

operation=PendingIntent{42097c60: PendingIntentRecord{427f7a58 
com.google.android.gsf broadcastIntent}}

  RTC_WAKEUP #16: Alarm{429e4e90 type 0 com.google.android.partnersetup}

type=0 when=+2d5h17m28s220ms repeatInterval=0 count=0

operation=PendingIntent{429e93a0: PendingIntentRecord{42b02f50 
com.google.android.partnersetup startService}}

  RTC_WAKEUP #15: Alarm{42640118 type 0 com.sec.android.fotaclient}

type=0 when=+1d13h12m39s138ms repeatInterval=0 count=0

operation=PendingIntent{426f6598: PendingIntentRecord{423fa850 
com.sec.android.fotaclient startService}}

  RTC_WAKEUP #14: Alarm{42b85ce0 type 0 org.dayup.gtask}

type=0 when=+16h19m24s603ms repeatInterval=0 count=0

operation=PendingIntent{4245f938: PendingIntentRecord{42715e78 
org.dayup.gtask broadcastIntent}}

  RTC_WAKEUP #13: Alarm{42b86558 type 0 com.android.vending}

type=0 when=+15h15m58s520ms repeatInterval=0 count=0

operation=PendingIntent{4248c960: PendingIntentRecord{42b86128 
com.android.vending startService}}

  RTC_WAKEUP #12: Alarm{426db638 type 0 org.dayup.gtask}

type=0 when=+15h15m49s380ms repeatInterval=0 count=0

operation=PendingIntent{4267b870: PendingIntentRecord{420bf3d8 
org.dayup.gtask broadcastIntent}}

  RTC_WAKEUP #11: Alarm{42b282e0 type 0 com.gau.go.launcherex}

type=0 when=+15h15m13s360ms repeatInterval=0 count=0

operation=PendingIntent{426af858: PendingIntentRecord{428c9920 
com.gau.go.launcherex broadcastIntent}}

  RTC_WAKEUP #10: Alarm{42755e50 type 0 com.android.providers.calendar}

type=0 when=+13h17m1s646ms repeatInterval=0 count=0

operation=PendingIntent{4267b568: PendingIntentRecord{42afe498 
com.android.providers.calendar broadcastIntent}}

  RTC_WAKEUP #9: Alarm{428929e8 type 0 com.google.android.googlequicksearchbox}

type=0 when=+3h29m56s603ms repeatInterval=0 count=0

operation=PendingIntent{42a0f4a0: PendingIntentRecord{42bd7970 
com.google.android.googlequicksearchbox startService}}

  RTC_WAKEUP #8: Alarm{42b19918 type 0 com.gau.go.launcherex}

type=0 when=+2h45m9s571ms repeatInterval=0 count=0

operation=PendingIntent{428d0fe8: PendingIntentRecord{42b02be0 
com.gau.go.launcherex broadcastIntent}}

  RTC_WAKEUP #7: Alarm{42b13418 type 0 com.google.android.googlequicksearchbox}

type=0 when=+2h30m25s87ms repeatInterval=0 count=0

operation=PendingIntent{42b58ba0: PendingIntentRecord{4267a560 
com.google.android.googlequicksearchbox startService}}

  RTC_WAKEUP #6: Alarm{426aa0f0 type 0 com.rectangularsoftware.appmonger}

type=0 when=+50m6s312ms repeatInterval=360 count=0

operation=PendingIntent{426773e8: PendingIntentRecord{42885d80 
com.rectangularsoftware.appmonger startService}}

  RTC_WAKEUP #5: Alarm{4255f940 type 0 android}

type=0 when=+38m23s555ms repeatInterval=3769035 count=1

operation=PendingIntent{41ef22c8: PendingIntentRecord{42480a18 android 
broadcastIntent}}

  RTC_WAKEUP #4: Alarm{42ab2920 type 0 com.google.android.gsf}

type=0 when=+15m24s723ms repeatInterval=180 count=0

operation=PendingIntent{42051778: PendingIntentRecord{42ade118 
com.google.android.gsf broadcastIntent}}

  RTC_WAKEUP #3: Alarm{42afcc70 type 0 com.gau.go.launcherex}

type=0 when=+15m14s660ms repeatInterval=0 count=0

operation=PendingIntent{422cfd70: PendingIntentRecord{42ac1008 
com.gau.go.launcherex broadcastIntent}}

  RTC_WAKEUP #2: Alarm{42ae2898 type 0 com.android.exchange}

type=0 when=+10m56s707ms repeatInterval=0 count=0

operation=PendingIntent{42b19fb8: 

[android-developers] Error: SPAN_EXCLUSIVE_EXCLUSIVE spans cannot have a zero length - very annoing

2012-10-30 Thread Giuseppe
Starting SDK 4.1.1 I have continuously the 
error: E/SpannableStringBuilder(1068): SPAN_EXCLUSIVE_EXCLUSIVE spans 
cannot have a zero length

What is it ? How can I remove it from LogCat ? 

-- 
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] Receive Bluetooth file from a no socket client

2012-10-28 Thread Giuseppe
Till 4.0.3 I was able to receive any bluetooth file using 
the  getContentResolver().query(BluetoothShare.CONTENT_URI, null, null, 
null, BluetoothShare._ID);
Starting 4.1.1 this is not possible, I found only documentation that use 
socket and specific UUID.

I need to receive any file from any device in my app, how to archive it?

-- 
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] Capture audio events

2012-09-20 Thread Giuseppe
There is an application on Samsung Galaxy II  III named S VOICE that can 
be activated using your voice and saying Hello Galaxy

I would like to introduce something similar in our app, but I can't believe 
that we must monitor the Audio stream for all time and wait till it have 
some stream similar to the voice command, so I think that must exist some 
way to do it.

Any suggestion is appreciate.

-- 
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] Google Play DMCA Notice

2012-08-07 Thread Giuseppe Iuculano
Hi,

my app was removed with this reason:  Alleged copyright infringement 
(according to the terms of the Digital Millenium Copyright Act).

My app is a list of free video url, a sort of bookmarks list that when the 
user click on it open a video player with that url.
So it just takes video url and loads it in a video player app.

I always used official free streams url, but an Italian company opened 
a DMCA practice against my app because I open their urls (that are free and 
public, www.rai.tv)

Is this a copyright infringement? I never streamed something, I always used 
official free and public streams and I interpreted my app as a list of 
public links. It is wrong?

I searched on wikipedia about DMCA and found 
this: 
http://en.wikipedia.org/wiki/Digital_Millennium_Copyright_Act#Linking_to_infringing_content
 
but I think this is not my case.

Cheers,
Giuseppe.

-- 
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: Google Play DMCA Notice

2012-08-07 Thread Giuseppe Iuculano
Hi Alessandro,

Il giorno martedì 7 agosto 2012 15:19:28 UTC+2, Alessandro Pellizzari ha 
scritto:



 Short: yes. 

 In the site footer it is clearly stated that all rights are reserved, so 
 you cannot stream their videos inside your app. 

 You can link to their site, and let the standard browser manage it. 



So the problem is who open the link? If that link is opened by the standard 
browser it's not a problem, but if it is opened by a video player (fplayer 
in this case) it is a issue?

Cheers,
Giuseppe. 

-- 
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: Lost Password of Keystore

2012-08-05 Thread Giuseppe Brando
You are Right!! 

...My problem has been that for a lot of months I've stopped to 
develop...this is the reason because I don't remember the keystore password!

Thanks boys

Il giorno sabato 4 agosto 2012 14:05:14 UTC+2, Giuseppe Brando ha scritto:

 Hi Boys,

 I've a big probem, I've lost a passwork of my Kestore and now I can't 
 update my application.

 Can you help me??


Il giorno sabato 4 agosto 2012 14:05:14 UTC+2, Giuseppe Brando ha scritto:

 Hi Boys,

 I've a big probem, I've lost a passwork of my Kestore and now I can't 
 update my application.

 Can you help me??


-- 
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] Lost Password of Keystore

2012-08-04 Thread Giuseppe Brando
Hi Boys,

I've a big probem, I've lost a passwork of my Kestore and now I can't 
update my application.

Can you help me??

-- 
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] Lost Password of Keystore

2012-08-04 Thread Giuseppe Brando
I've a Keystore file but I don't remember the password.

How I recover the password?

Il giorno sabato 4 agosto 2012 14:19:40 UTC+2, Kostya Vasilyev ha scritto:

 But you have backed it up to a usb flash drive, right? Or maybe checked 
 into a remote source control repository? If you have, restoring the key 
 should be really easy. 
 04.08.2012 16:07 пользователь Giuseppe Brando 
 giuseppe.brando...@gmail.com написал:

 Hi Boys,

 I've a big probem, I've lost a passwork of my Kestore and now I can't 
 update my application.

 Can you help me??

 -- 
 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] Lost Password of Keystore

2012-08-04 Thread Giuseppe Brando
I use only secure password!! :'(

Il giorno sabato 4 agosto 2012 14:50:30 UTC+2, RichardC ha scritto:

 If you have used a secure password it is not going to be possible. 
  However if you used an insecure password (short, dictionary, etc) then you 
 could write a brute force password cracker to open your Keystore.

 On Saturday, August 4, 2012 1:40:44 PM UTC+1, Giuseppe Brando wrote:

 I've a Keystore file but I don't remember the password.

 How I recover the password?

 Il giorno sabato 4 agosto 2012 14:19:40 UTC+2, Kostya Vasilyev ha scritto:

 But you have backed it up to a usb flash drive, right? Or maybe checked 
 into a remote source control repository? If you have, restoring the key 
 should be really easy. 
 04.08.2012 16:07 пользователь Giuseppe Brando 
 giuseppe.brando...@gmail.com написал:

 Hi Boys,

 I've a big probem, I've lost a passwork of my Kestore and now I can't 
 update my application.

 Can you help me??

 -- 
 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] Re: Google Cloud Messaging (GCM) issues.

2012-06-30 Thread Giuseppe
I am using it from first IO day, so it work well.

Il giorno venerdì 29 giugno 2012 11:54:51 UTC+2, Elad Nava ha scritto:

 No go for me or others either. It seems like the service is not available 
 yet. It's only 2 days old. Let's give them some time to get it up and 
 running.


 http://stackoverflow.com/questions/11242743/gcm-with-php-google-cloud-messaging/11254071#11254071
  

 On Friday, June 29, 2012 5:22:02 AM UTC+3, RyanMC wrote:

 We are in the final stages of developing an app that had utilized C2DM 
 for push notification, and decided to swap over to the new GCM since we 
 hadn't released yet and it seemed like a good idea. 

 However, this is proving to be a giant headache. We have the JSON and 
 headers formatting correctly and we get back a valid response, but the 
 failed count is always 1 and the error message is UNAVAILABLE. The 
 documentation says to just try again, but this has proved pointless as it 
 always returns the same result. I have seen several posts on stackoverflow 
 and other sites that list a similar problem. Has anyone been able to get 
 the new GCM stuff working? We are using a php backend to handle the push 
 notifications. We are using the standard CURL library, and as far as I can 
 tell the JSON is valid, and works as we do get a result. Prior to swapping 
 out the old message attribute with the new data attribute it would fail to 
 return any result, so I am pretty confident we have it right. 

 Any thoughts would be 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

Re: [android-developers] Re: Proguard returns null pointer exception while adding external restlet jar

2012-06-29 Thread Giuseppe Porcelli
Yes I solved it adding to the proguard file:

-dontwarn org.restlet.**

-libraryjars /libs/org.restlet.ext.atom.jar
-keep class com.myappwhereIusetherestletapi.odata.** { *; }

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

R: [android-developers] How to receive files via Bluetooth?

2012-06-26 Thread Giuseppe Porcelli- FINM
Thank you

 

Da: android-developers@googlegroups.com
[mailto:android-developers@googlegroups.com] Per conto di mike digioia
Inviato: martedì 26 giugno 2012 17:36
A: android-developers@googlegroups.com
Oggetto: Re: [android-developers] How to receive files via Bluetooth?

 

sounds like you need to build a bluetooth server similar to IP based servers
are created with one listener able to receive and process the incoming files
from any BT clients. 

On Mon, Jun 25, 2012 at 11:09 PM, Rahul Radhakrishnanunnithan K
rahu...@whiteovaltechnologies.com wrote:

please refer the sdk example Bluetooth chat ,i think that example is
partially suit for your question

On Mon, Jun 25, 2012 at 5:13 PM, Giuseppe porcelli.giuse...@gmail.com
wrote:

In my app, I would like to add the function to receive files directly into
it via Bluetooth. I know that I can use the Chat sample to connect to
instance of my app on two devices via Bluetooth, but what I am looking for
is to make possible to receive the files from any devices and without to
have my app installed on the sender side.

Any suggestion?

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
mailto:android-developers%2bunsubscr...@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
mailto:android-developers%2bunsubscr...@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] How to receive files via Bluetooth?

2012-06-25 Thread Giuseppe


In my app, I would like to add the function to receive files directly into 
it via Bluetooth. I know that I can use the Chat sample to connect to 
instance of my app on two devices via Bluetooth, but what I am looking for 
is to make possible to receive the files from any devices and without to 
have my app installed on the sender side.

Any suggestion?

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

[android-developers] Re: FFMPEG Android NDK- Images to video

2012-06-22 Thread Giuseppe
Download FFMPEG and all satellite libs, compile it with NDK and use in in 
your Android code !!!

-- 
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] Play market and sales info

2012-06-21 Thread Giuseppe
Dear experts,
We have a Play market account from Italy, and according with Google docs we 
don't have a merchant Key.
We are unable to get info about our sales using the checkOut API, but there 
are services and apps able to do it using our GMAIL username and password, 
so there is some way to get this sales info without CheckOut API.

We would like to collect the orders notifications to store it in our local 
database but we really didn't find anything useful.

Thank you for your time and some suggestion.

-- 
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] Improve market sales

2012-06-20 Thread Giuseppe
Dear all,
We have deployed an app very interesting, our main problem now is to make 
it famous.
Considering what is available on the market today, we believe that our app 
is simple the best.

We don't have any knowledge about promoting, advertising and anything 
else can help the sales, but we are very ready to invest the 
needed resource to get our result.

*We looking for someone that can help to improve our sales, that can take 
care about our marketing situation and share with us the profit.*

To have a look to the app the link is: 
https://play.google.com/store/apps/details?id=com.voicepro

If some developers or marketing expert is interested in our business, we 
can talk privately just mail to us at : devteam at just4facebook dot com

Thank you for your time.
AG Software division


-- 
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 with App crackers

2012-06-18 Thread Giuseppe Porcelli
We are AG we just try to descourage download
Il giorno 18/giu/2012 08:34, Nobu Games dev.nobu.ga...@gmail.com ha
scritto:

 This is very unfortunate but did you read the first comment on that piracy
 forum? Some member called agsoftware says:

 When I install it ask for license


 Google Licensing seems to work. By your description I was already fearing
 that they were able to crack that feature. Maybe you should download that
 cracked app and try it on different 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] Re: Help with App crackers

2012-06-18 Thread Giuseppe
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

[android-developers] Google Checkout order list

2012-06-17 Thread Giuseppe
Dear All
I would like to get info about orders from my Android checkout account.
Any suggestion?
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

Re: [android-developers] Google Checkout order list

2012-06-17 Thread Giuseppe
I would use the API, the problem is that in Italy Google give us only a *
MERCHANT_ID* without the *MERCHANT_KEY* 
So we can't use the API.

-- 
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: Proguard returns null pointer exception while adding external restlet jar

2012-06-16 Thread Giuseppe
Did you solve it?

On Wednesday, November 23, 2011 1:10:51 PM UTC+1, Android Developer wrote:

 Hi,

 Did any one have solution for this? proguard return exception for adding 
 external jar file( restlet jar).  


 Exception.

 Proguard returned with error code 1. 

 See console Unexpected error while performing partial evaluation:
 Class = [org/restlet/engine/local/
 ZipClientHelper]
 Method = 
 [handlePut(Lorg/restlet/Request;Lorg/restlet/Response;Ljava/io/File;Ljava/lang/String;)V]

 Exception = [java.lang.NullPointerException] (null)
 java.lang.NullPointerException

 I did all configurations.

 Default.properties file

 proguard.config=proguard.cfg
 external.libs.dir=lib

 proguard.cfg

 -libraryjars /lib/
 -dontwarn org.restlet.**

 but i got the above exception. It works for all other jar files.

 I did not use any ant build i am generate through eclipse.


 Thanks 
 Mani.



-- 
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: Proguard returns null pointer exception while adding external restlet jar

2012-06-16 Thread Giuseppe Porcelli
Hi Harri,
I am using ADT 20 preview 


2012/6/16 Harri Smått har...@gmail.com

 I had problems with obfuscating one project I had. Updating ADT's Proguard
 to latest one found on SourceForge fixed the problem for me until new ADT
 was published. Maybe updating Proguard worked for you too - I think latest
 version is 4.8 and newer than the one bundled with ADT 19.

 --
 H
 On Jun 16, 2012 12:24 PM, Giuseppe porcelli.giuse...@gmail.com wrote:

 Did you solve it?

 On Wednesday, November 23, 2011 1:10:51 PM UTC+1, Android Developer wrote:

 Hi,

 Did any one have solution for this? proguard return exception for adding
 external jar file( restlet jar).


 Exception.

 Proguard returned with error code 1.

 See console Unexpected error while performing partial evaluation:
 Class = [org/restlet/engine/local/
 ZipClientHelper]
 Method = [handlePut(Lorg/restlet/**Request;Lorg/restlet/Response;**
 Ljava/io/File;Ljava/lang/**String;)V]

 Exception = [java.lang.**NullPointerException] (null)
 java.lang.NullPointerException

 I did all configurations.

 Default.properties file

 proguard.config=proguard.cfg
 external.libs.dir=lib

 proguard.cfg

 -libraryjars /lib/
 -dontwarn org.restlet.**

 but i got the above exception. It works for all other jar files.

 I did not use any ant build i am generate through eclipse.


 Thanks
 Mani.

  --
 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] Re: Proguard returns null pointer exception while adding external restlet jar

2012-06-16 Thread Giuseppe
Updated the Proguard to 4.8, NullPointException still there.
Any suggestion?

-- 
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] Help with App crackers

2012-06-15 Thread Giuseppe
Dear guys,
We work about two months, six people to make possible VOICE 
PROhttps://play.google.com/store/apps/details?id=com.voiceprofeature=more_from_developer#?t=W251bGwsMSwxLDEwMiwiY29tLnZvaWNlcHJvIl0.born.

We use PROGUARD and LICENSING together, but the day after the publication, 
we found the app cracked 
herehttp://sinfulandroid.com/applications-26/voice-pro-v1-0-apk-android-24441/

We are serious upset, we work to hard for months and now the app become 
crack in one night.

Our opinion is that GOOGLE LICENSING system has failed, Google must find a 
different solution to protect our work.

I know that this group is for developers question, but frankly, what to 
develop with this premises ?

Giuseppe Porcelli

-- 
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 with App crackers

2012-06-15 Thread Giuseppe
Hi Justin, nice to meet you.
Yeah I have used the code Google show on the site, probably this is 
my biggest mistake.
Do you want to help me to improve my LVL code?

-- 
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 connect ms sql server management studio in android code

2012-06-13 Thread Giuseppe
you must use a webservice or a WCF service from server side and use 
respectively KSOAP for webservice client side or ODATA4J for Odata client 
side.

GIuseppe

-- 
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: Concatenating two or more audio files in single audio file.

2012-06-11 Thread Giuseppe
Hi Akhilesh,
what kind of Audio format you would like to merge?

look our app, probably can help you: 
https://play.google.com/store/apps/details?id=com.voicepro

-- 
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] Conditional PreferenceScreen

2012-05-14 Thread Giuseppe


I have multiple PreferenceScreen in my Main Preferences and for some of 
them I need to check from a global variable if the user is enable to open 
this.

How can I conditionally block the opening of a PreferenceScreen during the 
onClick Event?

Return false don't work.

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

[android-developers] Re: Problems streaming videos in Android 2.2

2012-05-12 Thread Giuseppe
Hi Kiview,
I have your same problem, did you solved it?

Giuseppe

-- 
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: compile decompiled .jar files back to .dex

2012-05-05 Thread Giuseppe
Haker. stay away from here, we work night and day 365 days per year.

-- 
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] How to stop a native process

2012-05-05 Thread Giuseppe


with the premise that I have NO EXPERIENCE of C language, I would like to 
solve a problem that does not allow me to proceed with the publication of 
my app.

I have a native function that uses ffmeg for file conversion, which I call 
from Android by AsyncTask.

I need to stop the native function, and tried in several ways:

1) I created a function deleteRutine in C which resets all the variables. 
(not working)

2) I added into function of converting a boolean variable, and I set it to 
false via a method from Android (not working)

What else can I try? Any advice?

-- 
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] Limit application by processor

2012-05-05 Thread Giuseppe
I have an app that use a native porting very strong.
My experience during the debug with few devices, is good on good model with 
multi process and bad on old devices with bad processor.
I would like to publish the app only for new devices with a good processor, 
some suggestion?


-- 
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] All APK has cracked by apkcracks.net

2012-05-03 Thread Giuseppe
In our app we use Proguard and License system from Google.

Our app and other thousand of apps are published on this web site 
http://apkcracks.net

Can Google explain what else we must do to protect our night, Sunday and 
holiday's job ?

Giuseppe

-- 
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: Image to Video Converter In android

2012-04-12 Thread Giuseppe
Hi Arun,
I am looking for similar solution but not for facebook, did you found a way?

-- 
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] Problem with RemoteViews

2012-04-12 Thread Giuseppe
Hi TreKing, 
I need two different setting:

1) stop just the timer
2) continue from stop time

-- 
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] Play maket and reviews

2012-04-11 Thread Giuseppe
I have an user that bought our app, didn't understand how to use, then 
wrote a bad review and ask for money back via device.

Result:

app not sold
bad review from incapable user

Google must not allow people that delete orders to write reviews, there are 
many people in the world that in 15 minutes want to understand what a group 
of developers wrote in two years.

Any comment?

-- 
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] Problem with RemoteViews

2012-04-11 Thread Giuseppe
I have a RemoteViews that I use with a notification manager to show elapsed 
time from recording start.

in start code I have:

mChronometerBase = SystemClock.elapsedRealtime();
n.contentView.setChronometer(R.id.chrononotify,mChronometerBase ,  Time: 
(%s), true);
nm.notify(myID, n);

the chronometer start as expected from 00.00 and it's ok.

Now from my activity I need to stop it, and I am using:

mChronometerBase = SystemClock.elapsedRealtime();
n.contentView.setChronometer(R.id.chrononotify, chronometer.getBase(),  
Time: (%s), false);
nm.notify(myID, n);

but this don't work well, the time is wrong.
How can I stop the timer?
How can I reset again to 00.00 the timer?

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

[android-developers] LVL in debug mode

2012-04-07 Thread Giuseppe
Strange very strange !!!

Three application on the market, all three use LVL, but in debug mode two 
get the right answer from license server and one get alway TIMEOUT.
What should I check?

-- 
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] Chronometer save state

2012-04-03 Thread Giuseppe
During the chronometer counting, if the user rotate the screen, the counter 
return to 00.00 and stop !!! how do solve it?

-- 
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: Chronometer save state

2012-04-03 Thread Giuseppe
Yes I know how to tell the system to not do that 
with android:configChanges=orientation|keyboardHidden, but this is not 
useful for our app as this don't change the layout to the different view.
Could you help with save state ?

Il giorno martedì 3 aprile 2012 16:31:41 UTC+2, lbendlin ha scritto:

 Per default the Android OS restarts your activity when the screen 
 orientation changes.  You can either tell the OS not to do that, or you can 
 hook into the event and preserve/re-seed your timer.

 On Tuesday, April 3, 2012 10:09:11 AM UTC-4, Giuseppe wrote:

 During the chronometer counting, if the user rotate the screen, the 
 counter return to 00.00 and stop !!! how do solve it?



-- 
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: Chronometer save state

2012-04-03 Thread Giuseppe
Yes I know how to tell the system to not do that 
with android:configChanges=orientation|keyboardHidden, but this is not 
useful for our app as this don't change the layout to the different view.
Could you help with save state ?

-- 
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] Adb shell from app

2012-03-31 Thread Giuseppe
We need to execute some adb shell command from our app.
Can someone help me to do it?

Giuseppe

-- 
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] Adb shell from app

2012-03-31 Thread Giuseppe
Hi Softy,
I need to change the stock audio.primary.exynos4.so from /system/lib/hw 
folder with a modified version, obviously on rooted device and after the 
user authorize it.
I don't know really how to get the root permission and proceed with the 
copy (probably using adb shell).
Thank you in advance, 

Il giorno sabato 31 marzo 2012 15:39:16 UTC+2, softy ha scritto:

 What are those commands?usual copy move or something else?
 ..pain is temporary.quitting lasts forever..



-- 
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] Adb shell from app

2012-03-31 Thread Giuseppe
Hi Yuvi,
thank you very much for your help.
Thank's to your suggestion I solved my problem.

Giuseppe

-- 
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] Licensing problem

2012-03-25 Thread Giuseppe
Starting yesterday my licensing development response is 291.
I don't know what happened, the server response to me no license instrad in 
my profile I have RETURN LICENSED.


-- 
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] Blocking/changing original Android OS is legal?

2012-03-25 Thread Giuseppe
We must open this discussion here, the only place where we can get the 
position of all Android developers in the world.
We developed 12 month ago a Call Recorder app, we sell it on the market and 
earn good money, also we invest 85% of our time to improve everyday they 
code.

Till today we about 32.400 customers with Samsung Galaxy S2 Europe, but we 
understood that Samsung change something in the .so libs with the new ICS 
update, then now block Audio source 2, 3 and 4 during calls.

Question is... is more illegal to record your own calls or change the 
base code of Android OS where people expect code working based on Android 
source but not working at all as Samsung change it?

Our 32.400 Samsung customers will not be able to use anymore our app to 
record their calls, what do you think?

*Obviously no body here is  discouraged from it*, as we will find the 
solution and will continue to go on with our app.

Please comments are welcome !!!

-- 
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: real time streaming values in android

2012-03-12 Thread Giuseppe
use ODATA insteasd of PHP.

Il giorno sabato 10 marzo 2012 12:34:03 UTC+1, ramalakshmi ha scritto:

 Hi!
   I want to develop an application which connects ms sql to android 
 mobile.In this the table values of sql server should be shown in android 
 mobile.
   For this I connected the sql server though php.the php content is
?php
  header('refresh: 10; url=sample1.php');
 $con = mssql_connect('admin', 'sa', '10$million');
 if(!$con)
 {
  die('Reloding te page ,please wait' .mssql_error());
  header(Location: sample1.php);
 }
 mssql_select_db('SPI',$con)
 or die(Could not select database);
 $arr = array();
 $rs = mssql_query(SELECT Symbol, Bid, Ask FROM Data  WHERE Slno16 AND 
 Slno8 order by Slno);
 while($obj = mssql_fetch_object($rs)) {
 $arr[] = $obj;
 }
 echo '{Data:'.json_encode($arr).'}';
 ?
 the output is 

 {Data:[{Symbol:GOLD,Bid:1712.9,Ask:1713.1},{Symbol:SILVER,Bid:34.27,Ask:34.302},{Symbol:PLATINUM,Bid:1678.3,Ask:1688.3},{Symbol:CRUDE,Bid:107.33,Ask:107.45},{Symbol:DOLLAR,Bid:49.85,Ask:49.86},{Symbol:EURO,Bid:1.3121,Ask:1.3124},{Symbol:YEN,Bid:82.42,Ask:82.47}]}
   
I have wrote two files in eclipse ide.the first one is
 JSONfunctions.java 

 public class JSONfunctions {

 public static JSONObject getJSONfromURL(String url){
 InputStream is = null;
 String result = ;
 JSONObject jArray = null;
 
 //http post
 try{
 HttpClient httpclient = new DefaultHttpClient();
 HttpPost httppost = new HttpPost(url);
 HttpResponse response = httpclient.execute(httppost);
 HttpEntity entity = response.getEntity();
 is = entity.getContent();

 }catch(Exception e){
 Log.e(log_tag, Error in http connection +e.toString());
 }
 
   //convert response to string
 try{
 BufferedReader reader = new BufferedReader(new 
 InputStreamReader(is,iso-8859-1),8);
 StringBuilder sb = new StringBuilder();
 String line = null;
 while ((line = reader.readLine()) != null) {
 sb.append(line + \n);
 }
 is.close();
 result=sb.toString();
 }catch(Exception e){
 Log.e(log_tag, Error converting result +e.toString());
 }
 
 try{
 
 jArray = new JSONObject(result);
 }catch(JSONException e){
 Log.e(log_tag, Error parsing data +e.toString());
 }
 
 return jArray;
 }
 }

 the other one is
 main.java

 public class Main extends ListActivity {
 /** Called when the activity is first created. */
 @Override
 public void onCreate(Bundle savedInstanceState) {
 super.onCreate(savedInstanceState);
 setContentView(R.layout.listplaceholder);
   ArrayListHashMapString, String mylist = new 
 ArrayListHashMapString, String();
JSONObject json = JSONfunctions.getJSONfromURL(
 http://192.168.100.9:8000/sample1.php;);
  try{
 JSONArray  Data = json.getJSONArray(Data);
for(int i=0;iData.length();i++){
 
 HashMapString, String map = new HashMapString, 
 String();
 JSONObject e = Data.getJSONObject(i);
 map.put(Symbol,+e.getString(Symbol));
 map.put(Bid,  + e.getString(Bid));
 map.put(Ask,  +  e.getString(Ask));
 mylist.add(map);
 }
 }catch(JSONException e){
  Log.e(log_tag, Error parsing data +e.toString());
 }
 ListAdapter adapter = new SimpleAdapter(this, mylist, 
 R.layout.main, 
   new String[] { Symbol, Bid, Ask }, 
   new int[] { R.id.item_title, R.id.item_title1, 
 R.id.item_title2});
   setListAdapter(adapter);
  final ListView lv = getListView();
 lv.setTextFilterEnabled(true);
   
 });
 }
 }
 I got the output like this

 now I want to chage the values as it work in ajax.
 that is real time streaming values of the table I want.
 can anybody help.please excuse if there are any gramatical mistakes.
   R u understand my need ?
 -- 
 ramalakshmi



-- 
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] Video for app page

2012-03-07 Thread Giuseppe
Someone can suggest a software to make good video presentation of my app? I 
have no experience in video builders, so looking for some software 
that completely build a good video to introduce my app.

-- 
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] Polarize effect in realtime

2012-02-27 Thread Giuseppe
Someone know if is possible to apply polarize effect in realtime on the 
camera?

-- 
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] Samsung S with Ice cream

2012-01-30 Thread Giuseppe
Mediarecord don't want to work at all on source like VOICE_CALL or UP_LINK.
Did Samsung change something from the original ANDROID code source?

Giuseppe 

-- 
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: Best way to distribute app outside of Market

2012-01-26 Thread Giuseppe
publish your apk to a public server.

send the link via SMS to your user.

all work well.

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

R: [android-developers] How to iterate Class

2012-01-20 Thread Giuseppe Porcelli- FINM
Ok , how?

-Messaggio originale-
Da: android-developers@googlegroups.com
[mailto:android-developers@googlegroups.com] Per conto di Kristopher
Micinski
Inviato: venerdì 20 gennaio 2012 16:51
A: android-developers@googlegroups.com
Oggetto: Re: [android-developers] How to iterate Class

Still doesn't make any sense...  You know the elements you want out of the
class, so just get them, don't write it in some strange hacky way just to
use a for, if you want the values, this has nothing to do with an adapter.

(Theoretically you could use reflection here, but using an array and for is
a really bad design vs just taking the values.)

kris

On Fri, Jan 20, 2012 at 1:12 AM, Giuseppe Porcelli
porcelli.giuse...@gmail.com wrote:
 Want to do a for to create a string array to use with an arrayadaptarer.

 Giuseppe Porcelli

 Il giorno 20/gen/2012, alle ore 01:41, Kristopher Micinski
krismicin...@gmail.com ha scritto:

 What?  Why would you do it inside of a for each?

 Mark already answered this, but this question sounds very confused...

 Don't use a for, just read the values..

 kris

 On Thu, Jan 19, 2012 at 6:38 AM, Giuseppe porcelli.giuse...@gmail.com
wrote:
 I need to get the  MediaRecorder.AudioSource constants list, es.

 CAMCORDER
 DEFAULT
 MIC
 VOICE_CALL
 VOICE_COMMUNICATION
 VOICE_DOWNLINK
 VOICE_RECOGNITION
 DEFAULT
 VOICE_UPLINK

 and their INT value.

 How to do it inside a for each?

 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

 --
 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] How to iterate Class

2012-01-19 Thread Giuseppe
I need to get the  MediaRecorder.AudioSource constants list, es.

CAMCORDER
DEFAULT
MIC
VOICE_CALL
VOICE_COMMUNICATION
VOICE_DOWNLINK
VOICE_RECOGNITION
DEFAULT 
VOICE_UPLINK

and their INT value.

How to do it inside a for each?

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

Re: [android-developers] How to iterate Class

2012-01-19 Thread Giuseppe Porcelli
Want to do a for to create a string array to use with an arrayadaptarer.

Giuseppe Porcelli

Il giorno 20/gen/2012, alle ore 01:41, Kristopher Micinski 
krismicin...@gmail.com ha scritto:

 What?  Why would you do it inside of a for each?
 
 Mark already answered this, but this question sounds very confused...
 
 Don't use a for, just read the values..
 
 kris
 
 On Thu, Jan 19, 2012 at 6:38 AM, Giuseppe porcelli.giuse...@gmail.com wrote:
 I need to get the  MediaRecorder.AudioSource constants list, es.
 
 CAMCORDER
 DEFAULT
 MIC
 VOICE_CALL
 VOICE_COMMUNICATION
 VOICE_DOWNLINK
 VOICE_RECOGNITION
 DEFAULT
 VOICE_UPLINK
 
 and their INT value.
 
 How to do it inside a for each?
 
 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

-- 
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] MediaController with MediaPlayer

2012-01-18 Thread Giuseppe
 I would like to show the mediacontroller for all the playing time of 
mediaplayer, please how to do it?


-- 
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] How to stream audio

2012-01-01 Thread Giuseppe
Dear experts,
I would like to stream one way the audio from device A to device B.
The device could be on mobile network or inside two different wlan.

Please suggest what approach to use and if some example available.

Thank you in advance.
G.

-- 
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] Audio streaming to Java server

2011-12-20 Thread Giuseppe
Dear Experts,
I had now spend 10 days to find an answer to my question, but no way!!!

I understood how to send an audio streaming to a socket using the following 
code, but I don't know how to listen the audio on the server side or how to 
save it in local file.

Any help is welcome.

String hostname = 192.168.1.10;
int port = 8000;

Socket socket = null;
try {
socket = new Socket(InetAddress.getByName(hostname), port);
} catch (UnknownHostException e) {
 e.printStackTrace();
} catch (IOException e) {
 e.printStackTrace();
}

ParcelFileDescriptor pfd = ParcelFileDescriptor.fromSocket(socket);

recorder = new MediaRecorder();
recorder.setAudioSource(MediaRecorder.AudioSource.MIC);

recorder.setOutputFormat(MediaRecorder.OutputFormat.THREE_GPP);
recorder.setAudioEncoder(MediaRecorder.AudioEncoder.AMR_NB);
recorder.setOutputFile(pfd.getFileDescriptor());

try {
recorder.prepare();
} catch (IllegalStateException e) {
 e.printStackTrace();
} catch (IOException e) {
 e.printStackTrace();
}

recorder.start();

-- 
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] Encoder Mp3

2011-12-12 Thread Giuseppe
I am not able to understand how to convert local audio file from 3gp to Mp3.
On the market there are many apps that do it, but I am unable to find how !!

please 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

[android-developers] Re: help:how to play custom encode mp3 file

2011-12-12 Thread Giuseppe
can you supply the code you are using to encode in Mp3?

-- 
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: Encoder Mp3

2011-12-12 Thread Giuseppe
Hi TreKing,
of course I tried Google, I found lame4android, tried with their app
on the market and with their source code, no one can convert WAV file
created by the Android encoder.
I tried also to find something about FFMPEG porting, but nothing!!

Any help?


On Dec 13, 12:41 am, TreKing treking...@gmail.com wrote:
 On Mon, Dec 12, 2011 at 8:41 AM, Giuseppe porcelli.giuse...@gmail.comwrote:

  I am not able to understand how to convert local audio file from 3gp to Mp3

 Have you tried Google?

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


Re: [android-developers] Help: I have git on windows. I just want to a) see b) download a speciifc android repository

2011-11-23 Thread Giuseppe
Hi. Thanks for pointing out directions to the code. 
The next one probably is a silly question, but the answer does not seem 
obvious to me:

Let's say I'd like to peek into ImageView implementation, or ListView, 
whatever.

How do I find which package to download from the whole lot? E.g. starting 
from a known class in Android frameword, how do I figure out the 
package/project to download from that minifest list?

Thanks all

-- 
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 use obtainStyledAttributes to get a String from a Theme

2011-11-22 Thread Giuseppe
Hi, did you solved that issue? How?
I think I'm having exactly the same problem here: custom TextView, custom 
attribute, it works when the attribute is assigned directly in the layout 
where the custom view is instantiated, but it does not work when the 
attribute is assigned in the application theme. By the way, the passed 
string is null in the second case.

-- 
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] Widget not working on spb shell 3d

2011-11-21 Thread Giuseppe
Dear All,
I have developed a widget that work very well on my device.

But the same widget don't wont to work on SPB Shell 3d (home
switcher), the widget is unable to send or receive broadcast.

Please any help is helpfully.

Giuseppe

-- 
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] Convert AMR to MP3

2011-11-21 Thread Giuseppe Porcelli- FINM
Dear All,

someone can help me to convert AMR file to MP3 on the device? No experience
with NDK only JAVA.

 

Thank's

Giuseppe

 

-- 
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] Android - InputStream SQLiteDatabase - How to read more than one xml file

2010-12-24 Thread giuseppe
I'have this code

public class DatabaseHelper extends SQLiteOpenHelper {

public static final String DATABASE_NAME = prova;

protected Context context;

public DatabaseHelper(Context context) {
super(context, DATABASE_NAME, null, 1);
this.context = context;
}

@Override
public void onCreate(SQLiteDatabase db) {
String s;
try {
Toast.makeText(context, 1, 2000).show();
InputStream in =
context.getResources().openRawResource(R.raw.mysql);
DocumentBuilder builder =
DocumentBuilderFactory.newInstance().newDocumentBuilder();
Document doc = builder.parse(in, null);
NodeList statements = doc.getElementsByTagName(st);
for (int i=0; ist.getLength(); i++) {
s = 
st.item(i).getChildNodes().item(0).getNodeValue();
db.execSQL(s);
}
} catch (Throwable t) {
Toast.makeText(context, t.toString(), 5).show();
}
}

@Override
public void onUpgrade(SQLiteDatabase db, int oldVersion, int
newVersion) {
db.execSQL(DROP TABLE IF EXISTS employees);
onCreate(db);
}

}

This class read myxml file and executes sql instruction that are in
the statements .

Because the XML file is about 4MB I'have to split it in three or four
files, but I don't know how to modify the code to do this. Thanks for
any suggestion.

-- 
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: Android - InputStream SQLiteDatabase - How to read more than one xml file

2010-12-24 Thread giuseppe
Thank You for the answer.
I'm new in android so can you explain to me with an example and some
code?

Thanks

On 24 Dic, 14:15, Agus agus.sant...@gmail.com wrote:
 use transactions, it will be much faster







 On Fri, Dec 24, 2010 at 5:39 AM, giuseppe giuma...@gmail.com wrote:
  I'have this code

  public class DatabaseHelper extends SQLiteOpenHelper {

         public static final String DATABASE_NAME = prova;

         protected Context context;

         public DatabaseHelper(Context context) {
                 super(context, DATABASE_NAME, null, 1);
                 this.context = context;
         }

        �...@override
         public void onCreate(SQLiteDatabase db) {
                 String s;
                 try {
                         Toast.makeText(context, 1, 2000).show();
                         InputStream in =
  context.getResources().openRawResource(R.raw.mysql);
                         DocumentBuilder builder =
  DocumentBuilderFactory.newInstance().newDocumentBuilder();
                         Document doc = builder.parse(in, null);
                         NodeList statements = doc.getElementsByTagName(st);
                         for (int i=0; ist.getLength(); i++) {
                                 s = 
  st.item(i).getChildNodes().item(0).getNodeValue();
                                 db.execSQL(s);
                         }
                 } catch (Throwable t) {
                         Toast.makeText(context, t.toString(), 5).show();
                 }
         }

        �...@override
         public void onUpgrade(SQLiteDatabase db, int oldVersion, int
  newVersion) {
                 db.execSQL(DROP TABLE IF EXISTS employees);
                 onCreate(db);
         }

  }

  This class read myxml file and executes sql instruction that are in
  the statements .

  Because the XML file is about 4MB I'have to split it in three or four
  files, but I don't know how to modify the code to do this. Thanks for
  any suggestion.

  --
  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] Re: Installing ADT plugin for eclipse (Debian squeeze)

2010-08-09 Thread Giuseppe Iuculano
Hi,

On Jul 25, 2:39 pm, lui90 sui1...@gmail.com wrote:
 In eclipse I have did exactly like in Downloading the ADT Plugin
 section Eclipse 3.5 (Galileo) , and it was finish succesfully, no
 error

 then, in Configuring the ADT Plugin section, I cant found Android
 from the left panel in Window  Preferences.

 I hope your helps thx.

I got the same issue, did you find a solution?

Cheers,
Giuseppe.

-- 
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] Airplane mode scheduling of PendingIntent(s) problems (Froyo Android OS 2.2).

2010-08-05 Thread Giuseppe Palmeri
Hello, does anyone know if on Android 2.2 if placed in Airplane mode does not 
start scheduled Intent(s) with AlarmManager through PendingIntent(s)?

More simply: An alarm will sound if when play is in airplane mode?
I hope that I explained.
Thanks you!Giuseppe.


  

-- 
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] webview - open html page with a specific select value selected

2010-04-05 Thread giuseppe
I use webview app to open a web page (url). This web page has a form
with a select element to choose. I would like to tell to select a
specific value without click the element. Is that possible?
If not how I could ?

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

To unsubscribe, reply using remove me as the subject.


[android-developers] Re: How to create a simple list of names, with personal image for each row

2009-05-29 Thread Morelli Giuseppe

Thank you Vincent, I've read the link you sent, and it was opening my
mind. Now I've solved the problem inheriting from BaseAdapter. There
are also some methods to ovverride, and the most important is getView
for callback.  Then I created a simple class that inherit from
LynearLayout, to define the layout of each row. So I solved the
problem.

The trouble I have right now, is simpler in my opinion. I've decided
to delegate the loading of data from network to a thread class, that
is started in the main activity with thread.start() passing to it's
constructor the inherited BaseAdapter class, making the thread able to
modify the list itself.
Before launching the new thread the activity starts a ProgressDialog
with pd = ProgressDialog.show(...params...); when the thread ends, it
requests the stop of the ProgressDialog sending a signal to an handler
made for this aim in this way: handler.sendEmptyMessage(0).
Now you will ask: where is the problem?

Well, the problem is that when the thread ends nothing is displayed on
the screen, but the data are there!! The strange thing is that when I
use the Hierarchy Viewer, clicking on the Load View Hierarchy
button, the screen render the list!!!

Can someone help me?? Thank you guys!
--~--~-~--~~~---~--~~
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] How to create a simple list of names, with personal image for each row

2009-05-21 Thread Morelli Giuseppe

Hi guys,
I'm trying to create a simple list for my app extending the
ListActivity Class.
All names the names I want to display are stored in an ArrayList, and
I use ArrayAdapter to link each element of the array with a row in the
list view. This is the code to instatiate the ArrayAdapter:

ArrayList listItems = new ArrayListString();
ArrayAdapter aa = new ArrayAdapterString(this, R.layout.singlerow,
listItems);

where R.layout.singlerow is:

?xml version=1.0 encoding=utf-8?

TextView android:id=@+id/textInfo
xmlns:android=http://schemas.android.com/apk/res/android;
android:layout_width=fill_parent
android:layout_height=wrap_content
/TextView

and my main.xml is:

LinearLayout xmlns:android=http://schemas.android.com/apk/res/
android
android:id=@+id/mainLinearLayout android:layout_width=fill_parent
android:layout_height=wrap_content android:padding=10px
ListView android:id=@android:id/list
android:orientation=horizontal
android:layout_width=fill_parent
android:layout_height=fill_parent
/ListView

/LinearLayout

Now my problem is: how can I add an image for each item in the list?
I've tried a lot of solution, but all are not working. Please help me,
I'm becoming craz!

Thank you guys.

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