[android-developers] Re: Anyway to detect if Broadcast Receiver is registered?

2020-02-27 Thread samuel owino
Is there any chance this was resolved. Do you have a workaround? 

On Thursday, March 11, 2010 at 7:23:54 PM UTC+3, Sam wrote:
>
> Hi,
>
> I'm using more than 1 instance of MapActivity in an application that
> look different from each other. I'm running into an issue sometimes
> when leaving a MapActivity doesn't unregister it's BroadcastReceiver
> and going Back to resume the MapActivity page it tries to re-register
> the receiver again, thus receiving an Exception that Receiver already
> registered.
>
> Anyone know of a way to tell if a Broadcastreceiver is registered and
> is listening?
>
> Sam
>
>

-- 
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/android-developers/8daed5a8-3a67-44f0-a1af-4683cbb355c6%40googlegroups.com.


[android-developers] Nixon Mission Android Wear 2.0 Preview

2017-01-28 Thread Samuel Walton
Has anyone attempted flashing the image to the Nixon Mission yet? I have 
started the process but wanted to see if anyone else has done the same.

-- 
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/e4a841f1-4abe-4dfc-be5a-c5d2daaf3726%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[android-developers] Android.telephony.PreciseCallState : Failed and drop calls on On Android

2016-10-13 Thread Samuel COLLIN
Hello Google Team

since Android 5.0 you have implemented a new API :


Class: android.telephony.PreciseCallState and the class 
.PreciseDataConnectionState
This API contain call status : Succes, drops, failed

The problem is : Permission : android.permission.SYSTEM
Why system permission ? this API is for application dedicated for mobile 
measurement on store

I work on a european operator and we need this information on our app
Is it planned to update permissions ?

Thanks
Br,
Samuel

-- 
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/2236dd44-9073-4c41-95d2-bea3471dcafe%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[android-developers] Re: Media Player not working on HTTPS as Data source

2013-04-22 Thread Samuel Jocelyn
Hi 
I am facing the same issue, I changed my url from http to https and my 
media player object is no longer able to play the mp3.
Is there any work around?
I'd like this to be fixed if it is an SDK issue...
The only work around I can think of is to download the file locally and 
have it played, but this will have a long delay before the file can play.
Any other suggestions?
S

On Monday, February 15, 2010 9:34:12 AM UTC-5, Kamal Hasan wrote:
>
> Hi,
>
> I am able to play mp3 files from a HTTP server.I have given the link
> as Datasource and it is working fine.When I
>
> replaced the link with HTTPS then media player is not working.Please
> help to resolve this issue.
>
> Thanks in advance.
>
>
> Cheers,
> Kamal
>
>

-- 
-- 
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] Open custom Camera from browser

2013-02-08 Thread samuel
Hello Developers, i am building a  mobile webpage in which when the user 
clicks on a button it opens the camera in the browser. i tried using HTML5 
as 
 
   

  
  



but it opens the native camera.But i need a custom camera where i can make some 
changes accordingly.i have created a custom camera in java. 


How do i link them , ie the button in the browser to the custom camera of 
android?

-- 
-- 
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] Using of one application Database into another application

2013-01-30 Thread samuel
I have an application which created database from a text file. I have also 
pulled the database from the application [data/data/package name/databases/ 
] .now i would like to use this database in another application for 
searching and displaying the results. Do suggest any solutions. 

-- 
-- 
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] Insert data from text file to database

2013-01-28 Thread samuel
I have a text file data . like Australia-country,america-country,North 
America-continent and the data goes on to a large extent.
i need to create database with three columns one for the the ID number,
the other for names of the places , and other for the type of place


it looks in this way


|   |  |  |   
|  1   | australia | country   | 
|___ _ _|___   |___ | 


i have this complete data in atext file.
How to i insert the data from text file to database?

-- 
-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"Android Developers" group.
To 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] Re: Question: Is it possible to get the RAW camera data?

2012-10-12 Thread Samuel Potter
Hello,

Photographer here to maybe clear up some confusion over what RAW is, and 
why photographers prefer to shoot in RAW.  I'm going to refer to 
whitebalance as WB fyi.

RAW is not TIFF.  RAW allows you to essentially do non-destructive post 
processing to your photos.  This means cleaner sharpness and contrast 
adjustments, WB fixing, and wider dynamic range (shadows and highlights).  

RAW gives you full control over the entire WB spectrum so that no matter 
what WB you shoot in you can correct it in post processing to perfection. 
 If you tried taking an extremely blue(WB too cold) or orange (WB too warm) 
JPEG photo to its correct temperature, you will not have good results(at 
least not nearly as good as RAW).  

While shooting in RAW I am able to recover well over exposed photos back to 
where they should be, as well insanely underexposed photos that most people 
would write off too dark to use.  RAW gives you approximately 2 extra stops 
of exposure in each direction.  I can give examples if need be.

Do any Android phones capture in RAW?  I read some people in this 
discussion denying it was possible.  The HTC One X uses the RAW format to 
capture images and process them in phone, but they don't give you an option 
to save the image to your phone as RAW.  I think with the right developers 
they could give the user access to the RAW images that the One X captures 
and be able to save that to their phone so they could do editing to the 
photo from their computer(or phone) at a later time.

What is the appeal?  I strongly believe that if any android phones could 
capture and save RAW images, it would be a huge appeal to professional and 
hobby photographers.  Not every photographer wants to lug a heavy DSLR 
everywhere (especially in casual situations) with them to get quality 
photos that they can do precision processing to later.  Also RAW would help 
make up for the lack of manual camera settings on android phones by being 
able to recover photos with incorrect exposure or WB.

-Sam

-- 
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: Video (VideoView) flickering and/or doesn't display on ICS (but works fine on Android <= 2.x)

2012-10-12 Thread Deepak Samuel Rajan
even I am facing same problem as stated by Mathias anyone who know the 
solution ?

-- 
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] Get tilt angle from the accelerometer

2012-08-19 Thread Samuel
Hello guys,
I have a class that implements SensorEventListener and Id like to get
the tilt angle of my device using the accelerometer.
I looked a look of examples at internet but they uses
Sensor.TYPE_MAGNETIC_FIELD.
I believe my device dont have this sensor because when I do they
following check
manager.getSensorList(Sensor.TYPE_ACCELEROMETER).size() i get zero.

Is there a way to get the tilt angle just using
Sensor.TYPE_ACCELEROMETER values?

-- 
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 Project" none to be found.

2012-06-30 Thread Samuel EpicWin
I downloaded the SDK and ADT Plugin at Eclipse. When I tried to create a 
Android Project, it pops up other project such as "Android Application 
Project", "Android Project from Existing Code" and etc etc.

I need help, thanks (:

Using ADT 20 & Eclipse Indigo.

-- 
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 Project not showing up.

2012-06-30 Thread Samuel EpicWin
I have installed the Android SDK and ADT Plugin for Eclipse. I do have the 
Android folder when I goto File->Other, but something weird is that, I only 
have options such as "Android Application Project", "Android Project with 
Existing Source" and "Android test Project", yet I do not have Android 
Project. I need some guidance in terms of this factor.

I am running ADT 20 and SDK 20 too. I also checked my Windows -> 
Preferences.

-- 
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] Fragmentation best practices

2012-06-29 Thread Samuel
Hey everyone, I have been working with fragments a lot recently and love 
them, I just have one simple question regarding handsets in landscape mode.

Should I leave it as a two-fragment pane like in landscape on a tablet or 
split it into its activities? If I should be splitting it, how to detect 
this?

Thanks everyone!

Sam

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

2012-06-29 Thread Samuel
hey everyone, I have been working with fragments recently and I was 
wondering what the best practice was for landscape on a handset?

There are really only two options here: keep the fragmented layout (as a 
tablet would) or split into activity (as would in portrait)

any advice would be fantastic, especially on how to split into activities 
in landscape on phones, but not on tablets.

thanks everyone,

Sam

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

2012-05-21 Thread Samuel Caetano
Hello guys, i've been looking for some docs about bluetooth in
android
Can you guy show me some docs about it? 'cause i've been trying to use
the google documents explanations about bluetooth, but that was a full
waste of 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] Re: Regarding emulator

2012-05-01 Thread Samuel

That's not software piracy.
If you have paid for a copy of the software, it doesn't matter which
machine you choose to run it on.

On May 1, 10:40 am, Mark Murphy  wrote:
> On Tue, May 1, 2012 at 10:30 AM, blake  wrote:
> > I seldom argue w/Mark... but in this case I think there is a way to do
> > this.  The application you've downloaded is in the directory /data/app
> > on the device to which you downloaded it.  Use "adb pull" to copy the
> > file to your dev machine.  Now use "adb install" to push it to your
> > emulator.  Bam!  Bob's your uncle...
>
> This is called "software piracy".
>
> --
> Mark Murphy (a Commons 
> Guy)http://commonsware.com|http://github.com/commonsguyhttp://commonsware.com/blog|http://twitter.com/commonsguy
>
> Android App Developer Books:http://commonsware.com/books

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" 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: DeviceMonitor]Failed to start monitoring

2012-03-09 Thread Samuel Pozaicer
Got the same error using an USB 3.0 port, connecting the phone on another 
port solved it for me.

El jueves 5 de agosto de 2010 06:43:55 UTC-5, Rahul Garg escribió:
>
> Hi, 
>
> I am facing this DeviceMonitor]Failed to start monitoring  number> in my eclipse, thats why I not able to launch my application 
> in the device. To make it work I need to restart my system, it works 
> for 2-3 mins and after that it start showing this error. 
>
> Please help me in this issue. 
>
> -- 
> Rahul Garg

-- 
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: MS SQL connection

2012-02-08 Thread Samuel
You should create Web Service, either using SOAP or REST (the last is
most recommended).
You can develop it using ASP.NET.

There are many tutorials how to develop web service using ASP.NET.
Just googling it.


On Feb 4, 4:53 am, Tim  wrote:
> Dear Anand,
>
> There is no need to write layers of convoluted middleware using PHP,
> SOAP or REST.  Android supports full JDBC connectivity to remote
> databases.  There are many free JDBC drivers such as JTDS that can be
> embedded in your Android app to enable direct access to a remote SQL
> Server database.  You then use the SQL Server's native listener
> service rather than creating an extra one yourself and communicate in
> simple SQL from your app back to SQL Server.
>
> This is exactly what we do with our MobiForms Developer tool for
> creating mobile database apps.  The MobiForms Developer is a rapid
> application development tool which dramatically speeds up the
> development of mobile database apps automating database cursor and
> resultset management.  For offline apps we also offer the MobiForms
> Sync Server where you can create an app with an embedded mobile
> database synchronising when comms permit to just about any remote
> database including SQL Server, MySQL, Oracle etc.
>
> For more information go to:http://www.mobiforms.com
>
> Kind regards,
>
> Tim @ MobiForms
>
> On Jan 30, 1:21 pm, anand jh  wrote:
>
>
>
>
>
>
>
> > I need to develop a android application in that I want to access MS
> > SQL from my android application.Can some help as by giveing some
> > code.Advance 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


[android-developers] How to upgrade my own app?

2012-01-29 Thread Samuel
Hi,

I create an application where it always check new version from my
server. If found then it will download the apk file and install it. If
it successful updated, the file in the asset folder should be
changed.

I run the app through Eclipse.
The app has downloaded the apk to the sdcard successfully but nothing
change when install the new apk.

Here is the code :

Intent i = new Intent(Intent.ACTION_VIEW);
i.setDataAndType(Uri.fromFile(new File(Environment
.getExternalStorageDirectory()
+ "/download/"
+ outputFileName)),

"application/vnd.android.package-archive");
startActivity(i);

Is the upgrade will change project file if it runs successfully?
What is the best way to test it in Virtual device?

Thanks in advance,
Samuel



-- 
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 open smm file of samsung galaxy?

2012-01-19 Thread Samuel
Hi,

Do you know a software that can open smm file of samsung galaxy in
Windows or what software can be used to convert the smm file into ms.
word?

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


[android-developers] Re: Giving away my book: "Genius Android Marketing"

2012-01-09 Thread Samuel
Hi,

I'm interested to get that book.

Thanks & God bless.

Samuel

On Jan 9, 7:32 pm, Ali Chousein  wrote:
> I would happily read your book.
>
> -
> Ali 
> Chouseinhttp://www.codeproject.com/KB/android/PayGol-Android.aspxhttp://weatherbuddy.blogspot.com|http://twitter.com/weather_buddyhttp://geo-filtered-assistant.blogspot.comhttps://marketplace.cisco.com/apphq/products/994
>
> On Jan 5, 5:50 pm, scp89  wrote:
>
>
>
>
>
>
>
> > I've recently finished writing the first full-length, android-specific
> > book on Android Marketing. It covers tips, tricks, strategies,
> > competitive analysis, and so much more. Everything I've learned in 2
> > years selling android apps, I've put into this book. It is available
> > via e-book OR softcover:
>
> > E-book:http://www.amazon.com/Genius-Android-Marketing-Outsmarting-ebook/dp/B...
>
> > Softcover:http://www.amazon.com/Genius-Android-Marketing-Outsmarting-Market/dp/...
>
> > GIVEAWAY: I am giving away 3 PDF copies of the book to readers! Simply
> > reply to this thread, and 1 week from today I will randomly select 3
> > members and PM you a link to your free download of the 130 page book.

-- 
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 change ProgressDialog background color

2011-12-28 Thread Samuel
Hi,

I tried changing to background color by implementing a style like
this :


  <item name="android:background">#F7F7F7</item>


The result was the background of LinearLayout and ProgressBar changed
to that color. I only want to change the background color of the
ProgressDialog.

Please help.

Thanks in advance.
Samuel

-- 
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] Want to know about Thread life cycle

2011-12-20 Thread Samuel
Hi,

I would like to know what happen with a thread when the activity pause
or stop. Will the thread still run?

Thanks,
Samuel

-- 
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 install sqllite database browser in android emulator

2011-12-11 Thread Samuel
Thanks guys,

God bless u all.

On Dec 12, 1:36 am, Narendra Singh Rathore 
wrote:
> > Hi,
>
> >> I am developing android application using emulator & I need a tool to
> >> browse the database.
> >> What kind of tool that can work with android emulator & how to use it?
>
> >> Many thanks,
> >> Samuel
>
> Hi Samuel, even I tried to do the same-- installing sqlite browser to
> emulator directly from the android market, but that was of no avail.
> Another option is to use the sqlite browser externally, and to push/pull it
> later using file explorer in DDMS. That will surely work.

-- 
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 install sqllite database browser in android emulator

2011-12-11 Thread Samuel
Hi,

I am developing android application using emulator & I need a tool to
browse the database.
What kind of tool that can work with android emulator & how to use it?

Many thanks,
Samuel

-- 
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: Project that target to Android and Google API

2011-12-07 Thread Samuel
Hi Mark,

Thanks for your response.

So, All I need to do is set the project target to Google API even
though I have few activities do not need implement MapActivity, right?

Cheers,
Samuel

On Dec 7, 11:19 pm, Mark Murphy  wrote:
> On Wed, Dec 7, 2011 at 10:30 AM, Samuel  wrote:
> > Is it possible to have a project that target to Android and Google
> > API?
>
> Yes.
>
> > The project have some activities that few of them use google map.
>
> Then you need to set your build target to be one with the Google APIs.
>
> > The target of main activity is Android. When I put google maps library
> > in the manifest file, I got error.
>
> And your error is... what?
>
> > If I don't put the library in the
> > manifest file, how to run activities that display mapview?
>
> You put the  element in your manifest file.
>
> Here is a sample project demonstrating the use of Google Maps:
>
> https://github.com/commonsguy/cw-android/tree/master/Maps/NooYawk
>
> --
> Mark Murphy (a Commons 
> Guy)http://commonsware.com|http://github.com/commonsguyhttp://commonsware.com/blog|http://twitter.com/commonsguy
>
> Android App Developer Books:http://commonsware.com/books

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" 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] Project that target to Android and Google API

2011-12-07 Thread Samuel
Hi,

Is it possible to have a project that target to Android and Google
API?
The project have some activities that few of them use google map.

The target of main activity is Android. When I put google maps library
in the manifest file, I got error. If I don't put the library in the
manifest file, how to run activities that display mapview?

Thanks,
Samuel

-- 
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 access asp.net webservice with authentication

2011-11-23 Thread Samuel
Hi,

Do you have reference or example how to access secure asp.net
webservice with authentication (user name & password) from android?

thanks in advance,
Samuel

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

2011-10-17 Thread Samuel
Hi,

I would like to start learning database programming in android.
What the best database and also free?
Do you have any recommendations of book regarding android database
programming?

Thanks alot,
Samuel

-- 
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: List Data

2011-08-29 Thread Samuel
You can save parted data in local, if the list you want to load isn't
in local, then you can download the list data from server.


On Aug 25, 5:44 pm, Sivaprakash 
wrote:
> Hi
>
> I have a 200 different list (each list might have 200 items) size of the
> each list will be 100 KB that need to be loaded into ListView. But I'll use
> only one list at a time.
>
> I would like to know which is the best mechanism to deal with the data
>
> 1. Download the list data every time from server (as a JSON) and load also I
> can use caching to remember data for some time
>
> or
>
> 2. Persist in local memory as a file all 200 different lists.
>
> Can someone suggests what approach I should take?
>
> --
> - Prakash.

-- 
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: List Data

2011-08-29 Thread Samuel
You can merge above two mechanism, you can store the total date in
server, but parted "significant" data store in local using SQLite, you
can update dynamically the local list date table from server using
some strategy.

On 8月25日, 下午5时44分, Sivaprakash  wrote:
> Hi
>
> I have a 200 different list (each list might have 200 items) size of the
> each list will be 100 KB that need to be loaded into ListView. But I'll use
> only one list at a time.
>
> I would like to know which is the best mechanism to deal with the data
>
> 1. Download the list data every time from server (as a JSON) and load also I
> can use caching to remember data for some time
>
> or
>
> 2. Persist in local memory as a file all 200 different lists.
>
> Can someone suggests what approach I should take?
>
> --
> - Prakash.

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

2011-08-11 Thread Samuel
Thanks Matheus.

I think I'll buy it.

On Aug 10, 4:46 am, Matheus Bodo  wrote:
> Hi Samuel,
>
> Beginning Android Games is a really good book, and you will learn the base
> to do what you want.
>
> I bought this book last week and till now (30%) it totally worth it.
>
> Cheers,
> Matheus
>
>
>
>
>
>
>
>
>
> On Tue, Aug 9, 2011 at 2:49 AM, Samuel  wrote:
> > Thanks Mohammed,
>
> > Did you have it?
> > Can I found how to create scrolling screen, walking, jumping such as
> > Mario game ?
>
> > Regards..
>
> > On Aug 9, 11:01 am, Mohammed Hossain Doula 
> > wrote:
> > > Beginning Android Games by Mario-Zechner...
>
> > > On Tue, Aug 9, 2011 at 9:59 AM, Samuel  wrote:
> > > > Hi,
>
> > > > I am interested to develop game in android. I'm looking for book about
> > > > developing android game but can't decide which book should I buy.
> > > > I hope through that book I know how to scrolling screen, shooting,
> > > > jumping and other usual game actions.
>
> > > > If you know good book for that, please inform me.
>
> > > > thanks in advance..
> > > > Joseph
>
> > > > --
> > > > 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
>
> > > --
> > > *--
> > > Mohammed Hossain Doula
> > > Software Engineer
> > > desme INC.*
> > > *www:http://www.hossaindoula.com
> > > @: ron...@desme.com*
> > > *facebook:http://www.facebook.com/ROnyWorld*
> > > *twitter:http://www.twitter.com/hossaindoula*
> > > *blogspot: hossaindoula.blogspot.com
> > > GSM: 00880-167-4347101*
>
> > --
> > 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
>
> --
> Matheus Augusto Bodo

-- 
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 find freelancer for creating game picture

2011-08-09 Thread Samuel
Hi,

Do you have any references of good freelance which I can hire to
create picture for android game?

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


[android-developers] Re: android game development

2011-08-08 Thread Samuel
Thanks Mohammed,

Did you have it?
Can I found how to create scrolling screen, walking, jumping such as
Mario game ?

Regards..

On Aug 9, 11:01 am, Mohammed Hossain Doula 
wrote:
> Beginning Android Games by Mario-Zechner...
>
>
>
>
>
>
>
>
>
> On Tue, Aug 9, 2011 at 9:59 AM, Samuel  wrote:
> > Hi,
>
> > I am interested to develop game in android. I'm looking for book about
> > developing android game but can't decide which book should I buy.
> > I hope through that book I know how to scrolling screen, shooting,
> > jumping and other usual game actions.
>
> > If you know good book for that, please inform me.
>
> > thanks in advance..
> > Joseph
>
> > --
> > 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
>
> --
> *--
> Mohammed Hossain Doula
> Software Engineer
> desme INC.*
> *www:http://www.hossaindoula.com
> @: ron...@desme.com*
> *facebook:http://www.facebook.com/ROnyWorld*
> *twitter:http://www.twitter.com/hossaindoula*
> *blogspot: hossaindoula.blogspot.com
> GSM: 00880-167-4347101*

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

2011-08-08 Thread Samuel
Hi,

I am interested to develop game in android. I'm looking for book about
developing android game but can't decide which book should I buy.
I hope through that book I know how to scrolling screen, shooting,
jumping and other usual game actions.

If you know good book for that, please inform me.

thanks in advance..
Joseph

-- 
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: Offline installation of Android packages

2011-07-03 Thread Samuel
Hi, thanks for the response.

But I don't understand it.
Is it possible to install them offline and would you show me the way
how to do it?

regards..

On Jul 3, 6:50 pm, Raghav Sood  wrote:
> You have to download them to install them so offline is not really an option
> unless you download them elsewhere and copy them.
>
>
>
>
>
>
>
>
>
> On Sun, Jul 3, 2011 at 5:17 PM, Samuel  wrote:
> > Hi,
>
> > Is there a way to install Android packages offline.
> > I never success install them through SDK manager since the internet
> > connection in my home is not stable.
>
> > thanks,
> > Samuel
>
> > --
> > You received this message because you are subscribed to the Google
> > Groups "Android Developers" group.
> > To post to this group, send email to android-developers@googlegroups.com
> > To unsubscribe from this group, send email to
> > android-developers+unsubscr...@googlegroups.com
> > For more options, visit this group at
> >http://groups.google.com/group/android-developers?hl=en
>
> --
> Raghav 
> Soodhttp://www.raghavsood.com/http://www.androidappcheck.com/http://www.telstop.tel/

-- 
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] Offline installation of Android packages

2011-07-03 Thread Samuel
Hi,

Is there a way to install Android packages offline.
I never success install them through SDK manager since the internet
connection in my home is not stable.

thanks,
Samuel

-- 
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 sdk insatllation problem?

2011-06-30 Thread Samuel
I found the answer : hit "Back" button and then "Next" button.

Thanks

On Jun 30, 2:19 pm, Samuel  wrote:
> Hi,
>
> In the installed software of control panel, IfoundJava(TM) 6 Update
> 26 andJava(TM)SEDevelopmentkit6 Update 26.
> My OS : windows vista.
> What else should I check out?
>
> I waited for couple of minutes (more than 5 minutes) but still get the
> alert.
>
> thanks,
> Samuel
>
> On Jun 27, 7:30 pm, Harsh Vardhan  wrote:
>
>
>
>
>
>
>
> > make sure you have your environment variables at right place..
>
> > On Mon, Jun 27, 2011 at 2:36 PM, 121914r  wrote:
>
> > > On Jun 26, 10:46 am, SIVAKUMAR  wrote:
> > > > Hi,
>
> > > >   I had a windows xp.I also had jdk6. I downloaded "android insatller
> > > > r11" for windows.When i click the installer.The error message is
> > > > displayed as alertr "Javasedevelopmentkit" isnotfound,Then the
> > > > installation cannot happen. But in my system i had ajavaSE6. I
> > > > cannot find y it isnottake thejava.Please help me
>
> > > > Thanks & Regards,
> > > > Sivakumar.J
>
> > > Just Wait for a few secondsit will detect theJDKif the same
> > > version is present in your system
>
> > > --
> > > 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
>
> > --
> > Regards
> > Harsh Vardhan

-- 
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 sdk insatllation problem?

2011-06-30 Thread Samuel
Hi,

In the installed software of control panel, I found Java(TM) 6 Update
26 and Java(TM) SE Development kit 6 Update 26.
My OS : windows vista.
What else should I check out?

I waited for couple of minutes (more than 5 minutes) but still get the
alert.

thanks,
Samuel

On Jun 27, 7:30 pm, Harsh Vardhan  wrote:
> make sure you have your environment variables at right place..
>
>
>
>
>
>
>
>
>
> On Mon, Jun 27, 2011 at 2:36 PM, 121914r  wrote:
>
> > On Jun 26, 10:46 am, SIVAKUMAR  wrote:
> > > Hi,
>
> > >   I had a windows xp.I also had jdk6. I downloaded "android insatller
> > > r11" for windows.When i click the installer.The error message is
> > > displayed as alertr "Java se development kit" is not found,Then the
> > > installation cannot happen. But in my system i had a java SE 6. I
> > > cannot find y it is not take the java.Please help me
>
> > > Thanks & Regards,
> > > Sivakumar.J
>
> > Just Wait for a few secondsit will detect the JDK if the same
> > version is present in your system
>
> > --
> > 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
>
> --
> Regards
> Harsh Vardhan

-- 
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 sdk insatllation problem?

2011-06-29 Thread Samuel
Hi,

I have similar problem.
I've installed Java(TM) 6 Update 26 and Java(TM) SE Development Kit 6
Update 26 but I got same error message when installing Android SDK
tool installer_r11-windows.exe

thanks in advance.
Samuel

On Jun 27, 4:06 pm, 121914r  wrote:
> On Jun 26, 10:46 am, SIVAKUMAR  wrote:
>
> > Hi,
>
> >   I had a windows xp.I also had jdk6. I downloaded "android insatller
> > r11" for windows.When i click the installer.The error message is
> > displayed as alertr "Java se development kit" is not found,Then the
> > installation cannot happen. But in my system i had a java SE 6. I
> > cannot find y it is not take the java.Please help me
>
> > Thanks & Regards,
> > Sivakumar.J
>
> Just Wait for a few secondsit will detect the JDK if the same
> version is present in your system

-- 
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] Camera preview error while recording

2011-06-07 Thread Samuel V.K
Hello all. Its my first time to get in here.

I hav a issue during using MediaRecorder method.

I'm testing this issue with two target devices HTC Legend(2.2) and
Nexus S(2.3.3).

The root problem is that preview doesn't work on Nexus S.

As U see below source code, I did follow the state diagram till the
prepare.

At this moment, HTC starts show preview but Nexus S.

I cannot understand that lower version works better than later one.

I hope you to know what's the problem and let me know.

Thank you.

[code]

   if (mRecorder == null) {
mRecorder = new MediaRecorder();
   } else {
mRecorder.reset();
   }

   try {
mRecorder.setVideoSource(MediaRecorder.VideoSource.CAMERA);
mRecorder.setAudioSource(MediaRecorder.AudioSource.MIC);
mRecorder.setOutputFormat(MediaRecorder.OutputFormat.THREE_GPP);
mRecorder.setVideoEncoder(MediaRecorder.VideoEncoder.H263);
mRecorder.setAudioEncoder(MediaRecorder.AudioEncoder.AMR_NB);
mRecorder.setVideoFrameRate(16);
mRecorder.setVideoSize(640, 480);
mRecorder.setOutputFile(path);
mRecorder.setPreviewDisplay(mHolder.getSurface());

mRecorder.prepare();
 } catch (IllegalArgumentException e) {
   Toast.makeText(CustomVideoRecord.this,
"IllegalArgumentException", 1).show();
} catch (IllegalStateException e) {
Toast.makeText(CustomVideoRecord.this, "IllegalStateException",
1).show();
} catch (IOException e) {
   Toast.makeText(CustomVideoRecord.this, "IOException",
1).show();
}[/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


Re: [android-developers] Android apps

2011-04-26 Thread Samuel Anandaraj.J
i guess you can register an activity to get notification when boot
completes, this will require permission in the manifest. so you can start
your service from this registered activity.

regards,

Sam

On Tue, Apr 26, 2011 at 1:42 PM, chamith weerasinghe wrote:

> Hi,
>
> I want that service start at phone boot up.and activity when the user click
> the icon.
> can i do this when the both in same project.
> if so please tell me how.
>
> thanks a lot for ur answers Mark.
>
> Thanks.
> Chamith.
>
> On Mon, Apr 25, 2011 at 11:04 PM, Mark Murphy wrote:
>
>> On Mon, Apr 25, 2011 at 1:13 PM, chamith weerasinghe 
>> wrote:
>> > Please tell me how should i do this.
>>
>> Step #1: Move the service and its related classes into the project
>> that has the activity
>>
>> Step #2: Move the  element (and any other required elements)
>> into the manifest of the project that has the activity
>>
>> Step #3: Delete the service-only project
>>
>> --
>> Mark Murphy (a Commons Guy)
>> http://commonsware.com | http://github.com/commonsguy
>> http://commonsware.com/blog | http://twitter.com/commonsguy
>>
>> Android Training in London: http://bit.ly/smand1, http://bit.ly/smand2
>>
>> --
>> 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: How do you counter repeated bogus reviews from competitors?

2011-04-26 Thread Samuel Anandaraj.J
Hi MB,

"respond to comments" seems good idea. can this be raised int the Android
Market 
Support
 forum.

Regards,
Sam

On Tue, Apr 26, 2011 at 1:00 PM, MB  wrote:

> Hi Brill,
>
> Thanks a lot for the response and the suggestions. I updated the app
> description with a one liner indicating what our specific competitor
> has been upto.
>
> Given how sensitive an app's quality perception is based on top
> reviews, I really wish Android market provided their vendors/
> developers a way to respond to comments esp. to  users who frequently
> update/touch their comments.
>
> Thanks,
>
> --MB.
>
> On Apr 24, 9:55 pm, Brill Pappin  wrote:
> > By the way, I just read your "open letter".
> >
> > Maybe a more impartial database needs to be set up listing these
> > jokers.
> > Some way we can all report this kind of thing with rules for how
> > companies get on it and how they get off it.
> >
> > - Brill Pappin
> >
> > On Apr 24, 6:55 pm, MB  wrote:
> >
> >
> >
> >
> >
> >
> >
> > > Hi,
> >
> > > I am the developer of Android app Gps Ski Maps. We are really
> > > frustrated with competitor writing bogus review about our app(by
> > > buying app multiple times under different accounts and repeatedly
> > > touching the reviews).
> >
> > >  I am wondering how do you deal with this? What steps do you take to
> > > prevent such abuse of Android Market?
> > > We expected some bogus reviews, but not at the scale we saw in Android
> > > Market.
> > > Our app is available on both Android and Blackberry. The spammy review
> > > problems has been really a problem only on Android. Blackberry
> > > reviews( both good and bad:-)) have been mostly genuine as far as I
> > > can tell.
> > > The details of our particular case are written here, but I am more
> > > interested in figuring out the counter steps.
> >
> > >  http://goo.gl/pilTF
> >
> > > Thanks,
> >
> > > --MB
> > > (Developer. Gps Ski Maps)
>
> --
> 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] startup application

2011-04-07 Thread Samuel Anandaraj.J
Yes! you can.

   


2011/4/6 आशुतोष हिन्दुस्तानी 

> can i make a autostart or startup application in android.
>
> --
> Thanks
> Ashutosh Mohle
> Software Engineer
> CS-KNIT-2010
>
>
>
>
>
>
>  --
> 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] Cache for mapview on android.

2011-03-28 Thread Samuel Freitas
Somebody know how I can save the cache of mapview on android, do 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: Get timing information about key events

2010-10-06 Thread Samuel Skånberg
I solved it like this:

private View.OnClickListener buttonListener = new
View.OnClickListener() {
@Override
public void onClick(View v) {
end = SystemClock.uptimeMillis();
Log.d("SimpleApp", "onClick: "+v.getHandler());
Log.d("SimpleApp", "time start: " + start);
Log.d("SimpleApp", "time end: " + end);
Log.d("SimpleApp", "time diff: " + (end-start));
}
};

@Override
public boolean dispatchTouchEvent (MotionEvent ev) {
start = ev.getEventTime();
return super.dispatchTouchEvent(ev);
}

getEventTime() will return the time (since boot I think) when the
event was created. This way it should work.

If you have other suggestions, please let me know.


On Oct 5, 10:28 am, Samuel Skånberg  wrote:
> Hello,
>
> I'm doing my thesis work on resource management on android and I want
> to be able to measure the "responsiveness" of an application to figure
> out if the application get enough resources and is scheduled often
> enough.
>
> So what I want is a way to insert timestamps on events, e.g. button
> clicks, when they are created and when they are consumed. This way I
> can get the "responsiveness" of the application. But I have a hard
> time of finding exactly where the events are created and also
> consumed.
>
> In Handler.java there is the handleCallback(Message message) method
> which I can insert the end time stamp. I tried to add a long variable
> in the Message class and that worked well (had to rebuild the api
> though). So my problem is to find the place where the button click is
> generated and where the message that corresponds to that event is
> being created so I can add a time stamp.
>
> I also welcome other suggestions on how to measure the
> "responsiveness" of an application or other way to measure how well an
> application performs.
>
> Kind regards,
> Samuel

-- 
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: Get timing information about key events

2010-10-06 Thread Samuel Skånberg
It looks like that data already exists. For an event there is the
getEventTime() method which will tell you when the event was created.
So I have a simple program that looks like this:


private View.OnClickListener buttonListener = new
View.OnClickListener() {
@Override
public void onClick(View v) {
end = SystemClock.uptimeMillis();
Log.d("SimpleApp", "onClick: "+v.getHandler());
Log.d("SimpleApp", "time start: " + start);
Log.d("SimpleApp", "time end: " + end);
Log.d("SimpleApp", "time diff: " + (end-start));
}
};

@Override
public boolean dispatchTouchEvent (MotionEvent ev) {
start = ev.getEventTime();
return super.dispatchTouchEvent(ev);
}

This will give me the information I want... I think.

If you have any other suggestions, please let me know.


On Oct 5, 10:28 am, Samuel Skånberg  wrote:
> Hello,
>
> I'm doing my thesis work on resource management on android and I want
> to be able to measure the "responsiveness" of an application to figure
> out if the application get enough resources and is scheduled often
> enough.
>
> So what I want is a way to insert timestamps on events, e.g. button
> clicks, when they are created and when they are consumed. This way I
> can get the "responsiveness" of the application. But I have a hard
> time of finding exactly where the events are created and also
> consumed.
>
> In Handler.java there is the handleCallback(Message message) method
> which I can insert the end time stamp. I tried to add a long variable
> in the Message class and that worked well (had to rebuild the api
> though). So my problem is to find the place where the button click is
> generated and where the message that corresponds to that event is
> being created so I can add a time stamp.
>
> I also welcome other suggestions on how to measure the
> "responsiveness" of an application or other way to measure how well an
> application performs.
>
> Kind regards,
> Samuel

-- 
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] Get timing information about key events

2010-10-05 Thread Samuel Skånberg
Hello,

I'm doing my thesis work on resource management on android and I want
to be able to measure the "responsiveness" of an application to figure
out if the application get enough resources and is scheduled often
enough.

So what I want is a way to insert timestamps on events, e.g. button
clicks, when they are created and when they are consumed. This way I
can get the "responsiveness" of the application. But I have a hard
time of finding exactly where the events are created and also
consumed.

In Handler.java there is the handleCallback(Message message) method
which I can insert the end time stamp. I tried to add a long variable
in the Message class and that worked well (had to rebuild the api
though). So my problem is to find the place where the button click is
generated and where the message that corresponds to that event is
being created so I can add a time stamp.

I also welcome other suggestions on how to measure the
"responsiveness" of an application or other way to measure how well an
application performs.

Kind regards,
Samuel

-- 
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] Trigger garbage collector to kill paused/stopped applications

2010-09-07 Thread Samuel Skånberg
Hello,

Is there a way to trigger the garbage collector to kill killable apps
(apps which have executed onPause, onStop, onDestroy) to check onPause/
onResume/onStart/onStop, etc. have to be correctly implemented?

For me I have a lot of memory left on my device so if I execute
another application onPause and onStop will be executed but the memory
for the old application will still be left in memory. I want the
application to be killed so I can see if my onPause/onResume, etc. are
correctly implemented.

I tried to do an application that would allocate a lot of memory but
since there is a limit of 16 mb per application it didn't work.

I also wonder where, in the android source code, the garbage collector
does these operations?

Kind regards,
Samuel

-- 
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: Piracy Breakdown by Country

2010-08-31 Thread Samuel Lawson
Here is a suggestion for Google.

Pirates have very clear buying patterns. Most can be spotted easily.

Analyse the market for buyers who repeatedly buy apps and then get a
refund in under 5 minutes. Then block those users.

I can see these guys normally pirate 2 of my apps in the space of 5
minutes. The guys who do pirate both apps in quick succession really
stand out.

If i were to compare my pirate data with that of other developers i am
sure we could make a nice ranking of "Top pirates" this week, month or
year...

Since Google has all the data, why not do this behind the scenes...



On Tue, Aug 31, 2010 at 6:03 PM, Zsolt Vasvari  wrote:
>> Back to the main topic, the data does not show that "piracy is indeed a
>> significant problem", but shows that many non-paying users are using your
>> app. The big question is would they have paid for your had they not been
>> able to get hold of the pirate version. That's a very difficult question to
>> answer.
>
> I think it's hugely dependent on the app.  If you think a functionally
> simple app like Screebl, which basically either works or doesn't work,
> a pirated copy is as good as a legitamate one.
>
> If you take a more complex app like mine, which is a personal finance
> package, you may need support and new features.  In my 500 paid
> downloads, I'd consider 3% pirated, which I define by getting it
> refunded within 20 mins.  While 500 downloads is not 10,000 like
> Screebl, I think it's still a significant sample.  I record the names
> of all refunds and mark the "pirates" as well.  I get questions and
> feature requests all the time, but I've yet to see a non-legitimate
> user ask for help.  I think it's one thing to pirate, another to have
> the nerve to ask the developer for support.  I believe, if it comes to
> that one of these users need help, they would probably just buy the
> 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

-- 
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: Seems Android Market statistics go wrong again

2010-07-18 Thread Samuel Lawson
I see the download figures have dropped across all apps. Though that
is probably inline with the adjustment described in the blog post.

I believe the market still has "troubles" though - yesterday around
30% of users who tried to purchase my app cancelled - due to their
downloads failing.

On a typical day i might get one cancellation. This points to issues
with the market again. I had customers emailing me complaining they
cannot download their purchase...

On Sun, Jul 18, 2010 at 11:35 PM, croco  wrote:
> Both free and paid affected
>
> On Jul 18, 5:31 pm, croco  wrote:
>> My stats are wrong again! !!! And not is not yet corrected has
>> mentioned on android blog.
>>
>> Lost 2500 downloads and 1500 active users in the night.
>>
>> Is it corrected for you guys? ?
>>
>> Thanks
>>
>> On Jul 17, 8:57 pm, Zsolt Vasvari  wrote:
>>
>>
>>
>> > In my case only the free one dropped, the paid one just shows the
>> > incorrect count as I said a few posts back, but it hasn't dropped per
>> > se.
>>
>> > On Jul 18, 6:17 am, Neilz  wrote:
>>
>> > > No this is all apps, not just paid. Mine is free and down 15%.
>>
>> > > On Jul 17, 1:10 pm, Sam  wrote:
>>
>> > > > Ah ok so the was the explanation all along:
>>
>> > > >http://android-developers.blogspot.com/2010/07/market-statistics-adju...
>>
>> > > > Logically the total download figures would include refunds (since they
>> > > > still downloaded the app) but not failed payment transactions (because
>> > > > they never got to install the app in the first place).
>>
>> > > > On Jul 17, 5:50 pm, Evgeny V  wrote:
>>
>> > > > > Yes. It dropped again about 15%!
>>
>> > > > > On Sat, Jul 17, 2010 at 9:59 AM, Neilz  wrote:
>> > > > > > How annoying. Mine have dropped around 15%.
>>
>> > > > > > And I'd just been boasting to my friends about a certain figure I'd
>> > > > > > reached - I'll have to do it all again in a month or so now :-)
>>
>> > > > > > --
>> > > > > > 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> > > > > >  cr...@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: Android market hiding apps with bluetooth permissions from Android 1.5 and 1.6

2010-07-15 Thread Samuel Lawson
Actually it is nicely explained here:

http://developer.android.com/guide/topics/manifest/uses-sdk-element.html

On Thu, Jul 15, 2010 at 10:08 PM, Samuel Lawson  wrote:
> When you compile you won't be able to use any APIs introduced after
> your target SDK.
>
> It won't prevent your app from appearing on earlier devices, that's
> purely down to the your minimum SDK chosen.
>
> Of course make sure you test on the the minimum SDK you define - to
> check your app behavior and check you haven't used any APIs that were
> introduced in later versions.
>
>
> On Thu, Jul 15, 2010 at 9:32 PM, Pent  wrote:
>>> Why don't you just set your target sdk higher?
>>>
>>
>> I think this may be a 'doh' moment and going slightly off topic. I've
>> been building the cupcake version of my app with the project target 3
>> because if I build it with a higher target eclipse shows a big red
>> cross there when going to install it on the device, which I had
>> assumed meant 'can't install'.
>>
>> I now tried it with project target 8 and it installed fine, also built
>> with Ant.
>>
>> But does it still appear on the Market for cupcake devices then ? Does
>> Market only look at what's stipulated in the manifest and ignore the
>> build target ?
>>
>> In any case, that solved the problem with not being able to specify
>> android:required="false".
>>
>> Pent
>>
>> --
>> You received this message because you are subscribed to the Google
>> Groups "Android Developers" group.
>> To post to this group, send email to android-developers@googlegroups.com
>> To unsubscribe from this group, send email to
>> android-developers+unsubscr...@googlegroups.com
>> For more options, visit this group at
>> http://groups.google.com/group/android-developers?hl=en
>

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en


Re: [android-developers] Re: Android market hiding apps with bluetooth permissions from Android 1.5 and 1.6

2010-07-15 Thread Samuel Lawson
When you compile you won't be able to use any APIs introduced after
your target SDK.

It won't prevent your app from appearing on earlier devices, that's
purely down to the your minimum SDK chosen.

Of course make sure you test on the the minimum SDK you define - to
check your app behavior and check you haven't used any APIs that were
introduced in later versions.


On Thu, Jul 15, 2010 at 9:32 PM, Pent  wrote:
>> Why don't you just set your target sdk higher?
>>
>
> I think this may be a 'doh' moment and going slightly off topic. I've
> been building the cupcake version of my app with the project target 3
> because if I build it with a higher target eclipse shows a big red
> cross there when going to install it on the device, which I had
> assumed meant 'can't install'.
>
> I now tried it with project target 8 and it installed fine, also built
> with Ant.
>
> But does it still appear on the Market for cupcake devices then ? Does
> Market only look at what's stipulated in the manifest and ignore the
> build target ?
>
> In any case, that solved the problem with not being able to specify
> android:required="false".
>
> Pent
>
> --
> You received this message because you are subscribed to the Google
> Groups "Android Developers" group.
> To post to this group, send email to android-developers@googlegroups.com
> To unsubscribe from this group, send email to
> android-developers+unsubscr...@googlegroups.com
> For more options, visit this group at
> http://groups.google.com/group/android-developers?hl=en

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en


Re: [android-developers] Re: Android market hiding apps with bluetooth permissions from Android 1.5 and 1.6

2010-07-15 Thread Samuel Lawson
Why don't you just set your target sdk higher?

On Thu, Jul 15, 2010 at 6:38 PM, Pent  wrote:
>> At any rate, the correct thing for an app developer to do is
>> explicitly state which features they care about, and you can there use
>> android:required="false" to tell Market not to filter your app based on it.
>
> I put this in my manifest:
>
>                        android:name="android.hardware.bluetooth"
>                android:required="false"
>        />
>
> Building against the cupcake or donut SDK  in eclipse or via Ant I
> get:
>
> AndroidManifest.xml:53: ERROR No resource identifier found for
> attribute 'required' in package 'android'
>
> It goes through fine without the android:required attribute. Was
> 'required' introduced in a later SDK ? Can't
> see that in the documentation.
>
> Any ideas anyone ?
>
> Pent
>
> --
> You received this message because you are subscribed to the Google
> Groups "Android Developers" group.
> To post to this group, send email to android-developers@googlegroups.com
> To unsubscribe from this group, send email to
> android-developers+unsubscr...@googlegroups.com
> For more options, visit this group at
> http://groups.google.com/group/android-developers?hl=en



-- 

http://sportstracklive.com

Share your tracks

-- 
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: Scala, Android, Eclipse - not including Scala jar?

2010-05-01 Thread Samuel Tardieu
>>>>> "Bob" == Bob Kerns  writes:

Bob> I would guess in this case that Scala depends on parts of the Java
Bob> J2SE SDK which are not included in Android. I would be rather
Bob> surprised if you can get Scala to run on Android, in fact. If you
Bob> want to try anyway, I may be able to offer suggestions for the
Bob> tricky places.

The HarassMe application is built using Scala (and has just been
open-sourced, see http://git.rfc1149.net/harassme.git). And I know of
several other applications using Scala.

Bob> Scala packaging has certainly improved since I last played with it
Bob> about 3 years ago. I found it to be somewhat flaky then, which
Bob> limited how we could use it...I would expect it's more mature now,
Bob> so I'm curious to take another look.

I encourage you to do that, as writing Scala code is really pleasant.

  Sam
-- 
Samuel Tardieu -- s...@rfc1149.net -- http://www.rfc1149.net/

-- 
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] Transparent option menu buttons

2010-03-15 Thread Samuel Allaby
Hi, is there a way to make the buttons within the option menu
transparent? I'm using icons and no text for my buttons but I really
don't want the nasty grey backgrounds as well, and the techniques
often mentioned for making normal buttons transparent don't seem to be
working...

Any thoughts?

Cheers.

-- 
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 have a horizontal scroll view with multiple buttons?

2009-09-13 Thread Samuel

try HorizontalScrollView

--~--~-~--~~~---~--~~
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: Does cupcake support Webview with Gears ?

2009-08-14 Thread Samuel Michelot

On 13 août, 18:08, String  wrote:
> Have you looked at PhoneGap?http://phonegap.com
>
> I'm not certain about the maturity of their Android support, but I
> know there's at least a foundation, and would give you a real head
> start on this.

Yes, I know phonegap, but it currently doesn't support DB because of
this 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: Does cupcake support Webview with Gears ?

2009-08-13 Thread Samuel Michelot

Yes, we know addJavascriptInterface, but it could be far more simpler
with gears fonctionality in the WebView.
For exemple I have a javascript application using extensively the
html5 database (loading lot of data, updating etc...), and I need to
distribute it in the android market, but it's reasonably not possible
for now because of this limitation. And I know that I am not alone in
this case...


On 12 août, 17:23, "Justin (Google Employee)"  wrote:
> So, Gears, is not support in a WebView, but if you really *need* Gears
> features they're easily addable. WebView.addJavascriptInterface will
> allow you to add arbitrary functionality to a given WebView instance.
> You can add an interface to Javascript which accesses a Java object
> you specify. Gears' storage and geolocation features can be mimicked
> in this way. Obviously great caution needs to be taken here so that
> malicious Javascript isn't allowed to impact the native system.
>
> Certainly it would be easier if we just offered this as part of
> WebView, but for now this is the only way I know to accomplish this
> goal.
>
> Cheers,
> Justin
> Android Team @ Google
>
> On Aug 12, 3:28 am, Samuel Michelot  wrote:
>
>
>
> > I really need this feature also !
>
> > On 17 juin, 12:05, "jfcog...@gsyc.es"  wrote:
>
> > > Yeah, what's the reason, is there anyone in this task? co's it will be
> > > great if this works in the next version, till then I think I have to
> > > look up a provisional solution.
>
> > > thanks ;)
>
> > > On 6 mayo, 23:33, j  wrote:
>
> > > > What is the reasoning behind not supportingGearswithin awebview?
> > > > Is there a security reason?
>
> > > > Thanks
>
> > > > On Apr 14, 3:42 pm, Grace Kloba  wrote:
>
> > > > > Still only forbrowser.
>
> > > > > Grace
>
> > > > > On Monday, April 13, 2009, Kumaravel Kandasami
>
> > > > >  wrote:
> > > > > > Does  anyone know whether Android 1.5 SDK supportsGearssupported 
> > > > > > Apps ?
>
> > > > > > Currently release 1.1, supportsGearsonly on thebrowserapplication 
> > > > > > and we are not able to implementGearsapplication onWebView.
>
> > > > > > Thanks
>
> > > > > > Kumar    _/|\_
> > > > > >www.saisk.com
> > > > > > ku...@saisk.com
> > > > > > "making a profound difference with knowledge and creativity..."
>
> > > > > --
> > > > > thanks,
> > > > > Grace
--~--~-~--~~~---~--~~
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: Does cupcake support Webview with Gears ?

2009-08-12 Thread Samuel Michelot

I really need this feature also !

On 17 juin, 12:05, "jfcog...@gsyc.es"  wrote:
> Yeah, what's the reason, is there anyone in this task? co's it will be
> great if this works in the next version, till then I think I have to
> look up a provisional solution.
>
> thanks ;)
>
> On 6 mayo, 23:33, j  wrote:
>
>
>
> > What is the reasoning behind not supportingGearswithin awebview?
> > Is there a security reason?
>
> > Thanks
>
> > On Apr 14, 3:42 pm, Grace Kloba  wrote:
>
> > > Still only forbrowser.
>
> > > Grace
>
> > > On Monday, April 13, 2009, Kumaravel Kandasami
>
> > >  wrote:
> > > > Does  anyone know whether Android 1.5 SDK supportsGearssupported Apps ?
>
> > > > Currently release 1.1, supportsGearsonly on thebrowserapplication and 
> > > > we are not able to implementGearsapplication onWebView.
>
> > > > Thanks
>
> > > > Kumar    _/|\_
> > > >www.saisk.com
> > > > ku...@saisk.com
> > > > "making a profound difference with knowledge and creativity..."
>
> > > --
> > > thanks,
> > > Grace

--~--~-~--~~~---~--~~
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: Pls give me a hand.....

2009-08-08 Thread Samuel Terre

Thank you !the problem has been resolved~

On Aug 4, 3:45 am, "Balwinder Kaur (T-Mobile)"  wrote:
> Delete R.java from your src/ and let Eclipse pick up the one from
> gen/.
>
> That should resolve your problem.
>
> Balwinder Kaur
> Open Source Development Center
> ·T· · ·Mobile· stick together
>
> The views, opinions and statements in this email are those of the
> author solely in their individual capacity, and do not necessarily
> represent those of T-Mobile USA, Inc.
>
> On Aug 3, 12:52 am, Samuel Terre  wrote:
>
>
>
> > 我不知道为啥老是会出现一个gen [generated java files]的包 里头的r.java和我src文件夹里头的r.java同名
> > 于是老是一把红叉  错误名曰:   the type r is already defined 可是我要是删掉gen  马上它又自动生成
>
> > Hello everyone im a newbie in Android field recently I download an
> > example named "get Splashy",I don't know why there always create a
> > folder named gen[generated java files]  .There is a java file share
> > the same name with the one in src package and noticed there was an
> > error:"the type is already defined".If i delete the folder the Eclipse
> > would recreate this folder with the r.java file again.   I don't know
> > how to handle this nor I will unable to run/debug the program..
> > pls help me- Hide quoted text -
>
> - Show quoted text -
--~--~-~--~~~---~--~~
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: usb cable + failed to start monitoring

2009-08-03 Thread Samuel Terre

Try to plug into another USB interface and see how it going

On 8月3日, 下午5时19分, gunar  wrote:
> Hi!
>
> I don't know if this is the proper forum to put my question, but here
> is goes:
> I have a G1 Dev Phone and I damaged the usb cable that I received with
> the package. I plugged another USB cable that fits in and it charges
> the device, but from eclipse I am getting "failed to start monitoring"
> messages as adb logcat is useless.  Also, my Windows machine reports
> from system manager that the USB cable is working fine. So, it seems
> as it is only an Eclipse issue.
>
> What are my options?
>
> Regards,
> gunar

--~--~-~--~~~---~--~~
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] Pls give me a hand.....

2009-08-03 Thread Samuel Terre

我不知道为啥老是会出现一个gen [generated java files]的包 里头的r.java和我src文件夹里头的r.java同名
于是老是一把红叉  错误名曰:   the type r is already defined 可是我要是删掉gen  马上它又自动生成

Hello everyone im a newbie in Android field recently I download an
example named "get Splashy",I don't know why there always create a
folder named gen[generated java files]  .There is a java file share
the same name with the one in src package and noticed there was an
error:"the type is already defined".If i delete the folder the Eclipse
would recreate this folder with the r.java file again.   I don't know
how to handle this nor I will unable to run/debug the program..
pls 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] distributing an app packaged with just emulator

2009-04-23 Thread Samuel Joseph

Hi All,

[Tried posting this through web interface but didn't show up ... here 
goes via email ...]

I was wondering if anyone has ever been able to distribute their app in 
a bundle with an emulator?

The reason I want to do this is that I have some friends who don't have 
android phones, but I'd like them to be able to play with my app so that 
they can give me feedback.  I've previously sent them screen casts, but 
I'd really like them to be able to get interactive with the app.

Now I could ask them to get all installed with the whole android 
framework, eclipse etc,. but some of them are not so technical.  Ideally 
what I'd like to be able to do is create a package that is the android 
emulator with my app and perhaps 1 or 2 other related apps 
pre-installed, so that they can download it, open it and run it 
interactively on their computers?

Has anyone ever tried this?

So far I found that I can run the emulator standalone, and I assume I 
could probably send them just that and it would run.  However the adb 
tool is needed to install apps.  I could send them that too, and ask the 
to run an 'adb install myapp.apk' from the command line, but at the 
moment I can't even seem to do that myself.

Running the emulator standalone, the adb tool can't seem to see it:

samuel-josephs-computer-2:tools samueljoseph$ sudo ./adb devices
List of devices attached

I just get no list of devices ...

I have previously used the adb tool to install apk files, but that is 
after I had started the emulator from eclipse - of course even then I 
always have to restart eclipse and the emulator two or three times 
before I can get the connection (I am on OSX 10.5.6., eclipse 3.4.1) ...

Any suggestions greatly appreciated.

CHEERS> SAM

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

2008-12-03 Thread samuel
I don't want to join this group now?

Could you delete my account on the list?

Because I always got lots of mail from this group which is bothered me for a
long time.

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