[android-developers] android ksoap2 Caused by: java.lang.RuntimeException: Cannot seralize (double data type)

2010-09-30 Thread mindus
Hi
In my project i am using ksoap2-android-assembly-2.4-jar-with-
dependencies.jar for web service purpose.

I got able to access the service and passing simple parameters and get
the objects and iterate it.

But the problem is i cant able to send the complex object. Can anybody
know how to pass the complex object with date and double values.

Employee object have string name, int number, double salary and Date
dateOfBirth.

And the employee object implements KvmSerializable
name=Mike
number=2;
salary=2
dateOfBirth = new Date();

and the code is

SOAP_ACTION = http://xysed/GetHRA;;
METHOD_NAME = GetHRA;

TextView authenticate = new TextView(this);

SoapObject request = new SoapObject(NAMESPACE, METHOD_NAME);

PropertyInfo pi = new PropertyInfo();
pi.setName(employee);
Employee e = new Employee();
e.setNumber(4);
e.setName(Ananth);
e.setSalary(2);
e.setDob(new Date());
pi.setValue(e);
pi.setType(Employee.EMPLOYEE_CLASS);
request.addProperty(pi);
request.addProperty(employee, e);


SoapSerializationEnvelope envelope = new
SoapSerializationEnvelope(SoapEnvelope.VER11);
envelope.dotNet = true;
envelope.setOutputSoapObject(request);
Marshal dateMarshal = new MarshalDate();
dateMarshal.register(envelope);
//envelope.addMapping(Employee.NAMESPACE, Employee, new
Employee().getClass());
try {
AndroidHttpTransport androidHttpTransport = new
AndroidHttpTransport(URL);
androidHttpTransport.call(SOAP_ACTION, envelope);

//String fullName = (String)envelope.getResponse();
Log.v(Full String :, envelope.getResponse().toString());
Log.v(body in :, envelope.bodyIn.toString());
Log.v(body out :, envelope.bodyOut.toString());

authenticate.setText(envelope.getResponse().toStri ng());
this.setContentView(authenticate);

} catch (IOException ioe) {
ioe.printStackTrace();
} catch (XmlPullParserException xpe) {
xpe.printStackTrace();
}



I pass this employee object as a request i got an error like

java.lang.RuntimeException: Unable to start activity
ComponentInfo{com.oak.soap.test/com.oak.soap.test.WebserviceDisplay}:
java.lang.RuntimeException: Cannot serialize: 2.0

here 2.0 is a salary ( double value)

ERROR/AndroidRuntime(287): Caused by: java.lang.RuntimeException:
Cannot serialize: 2.0


Can anybody provide samples for how to pass complex object as request
to web service

Thanks
mindus

-- 
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, 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] Cannot install apk of huge size

2010-09-30 Thread monty
Hi everyone
  I have an issue with installing an apk of size 72 MB onto
devices like Samsung Galaxy i7500 and Nexus One .The entire size of
the application is 256 MB.The devices have enough memory say 600MB on
samsung galaxy.But still it does not install saying there is
insufficient storage.
   Do the apk file gets uncompressed to the size of application after
installing.I mean if i am installing this 72 MB apk does it take 256
MB space of apllication.Does it work somewhat like a .zip file?
   Please give me a solution as to why even after having enough memory
i cant install the apk?

Thanks
Neil

-- 
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, 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 store app data to gmail account? Is it possible?

2010-09-30 Thread JonFHancock
It might be better to store the data on your own servers, and use
OAuth so that the user signs in with their gmail account.  You could
make it feel the same, but you have control of the data, and you
aren't at the mercy of Google's APIs.

On Sep 29, 2:32 pm, Moto medicalsou...@gmail.com wrote:
 As you can tell I'm new to this area...  I guess the main idea is to
 sync my applications database to the cloud, and I would like to use
 the users gmail account to store it.

 On Sep 29, 5:25 pm, Moto medicalsou...@gmail.com wrote:







  Well hopefully some people in this forum can help :)  I found
  something that could potentially work BUT... You can't update data,
  you must first delete than upload again, and that can be tricky...

 http://code.google.com/apis/storage/docs/overview.html

  On Sep 29, 5:13 pm, Moto medicalsou...@gmail.com wrote:

   I'm looking for the best way to allow users to sync their data to
   their gmail account.  The idea is to be able to access the same data
   via my other applications for computers, phones, etc...  I need it to
   be a free service...

   The data is a list of items that contains a title tied to a playlist.

   Anyone know of a particular Google lab allowing such data?  Or other
   cloud services?

   Thanks!
   -Moto

-- 
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, 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: Settings.Secure.ANDROID_ID not unique on DROID2?

2010-09-30 Thread mitch
Wow this is really annoying. I hope it geta fixed soon, altough ill
probably have rewritten my app long before then

Thanks motorolla

On Sep 13, 2:48 pm, suzanne.alexandra
suzanne.alexan...@motorola.com wrote:
 Motorola is working on a fix for the ANDROID_ID issue on DROID 2. Any
 fix that becomes available will be upgraded to devices over the air. I
 don't have a timeline though.

 - Suzanne

 On Sep 8, 9:03 pm, gcstang gcst...@gmail.com wrote:



  Permission isn't as big an issue but the non phone part is definitely
  a concern.

  Thank you for you answers

  On Sep 8, 10:56 pm, William Ferguson william.ferguson...@gmail.com
  wrote:

   It also assumes the device is a phone.
   It may be a wifi only tablet, or whatever.

   On Sep 9, 2:09 am, Maps.Huge.Info (Maps API Guru) cor...@gmail.com
   wrote:

Using IMEI requires an additional permission. Using ANDROID_ID
doesn't.

-John Coryat

-- 
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, 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: Settings.Secure.ANDROID_ID not unique on DROID2?

2010-09-30 Thread mitch


On Sep 13, 3:42 pm, Maps.Huge.Info (Maps API Guru)
cor...@gmail.com wrote:
 Suzanne,

 Thanks for keeping us in the loop.

 -John Coryat

 On Sep 13, 1:48 pm, suzanne.alexandra



 suzanne.alexan...@motorola.com wrote:
  Motorola is working on a fix for the ANDROID_ID issue on DROID 2. Any
  fix that becomes available will be upgraded to devices over the air. I
  don't have a timeline though.

  - Suzanne

  On Sep 8, 9:03 pm, gcstang gcst...@gmail.com wrote:

   Permission isn't as big an issue but the non phone part is definitely
   a concern.

   Thank you for you answers

   On Sep 8, 10:56 pm, William Ferguson william.ferguson...@gmail.com
   wrote:

It also assumes the device is a phone.
It may be a wifi only tablet, or whatever.

On Sep 9, 2:09 am, Maps.Huge.Info (Maps API Guru) cor...@gmail.com
wrote:

 Using IMEI requires an additional permission. Using ANDROID_ID
 doesn't.

 -John Coryat

-- 
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, 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] DTMF on ongoing call........

2010-09-30 Thread arindam
Hello everyone,

I am working on one android application... I want to send DTMF tone on
ongoing callafter googling i saw in some post that right now its
not possible... is android build any api for froyo? Normally using ,
I can send DTMF but after call establish how to do? How by default
Dialer is able to send DTMF on ongoing call...HTC also build there own
Dialer..Then How they are doing?




Thanks  regards
Arindam Ghosh

-- 
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, 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] fail to prepare with MediaRecorder

2010-09-30 Thread awwa
Hello,

I have a problem with MediaRecorder. I want to record video. But fail
to prepare the MediaRecorder.
Here is the logs and source code. Is there anything wrong?

In the logs, [Failed to get camera(0x32e58) parameters].
I think that this is due to.
Why failed to get camera parameters?
Also, what should I do?

- Environment
-- Dev phone 1
-- OS 1.6

Thank you.

 source code 
private boolean initializeRecorder() {
Log.i(TAG, initializeRecorder);
try {
releaseMediaRecorder();
mRecorder = new MediaRecorder();
mRecorder.setCamera(mCameraDevice);
mRecorder.setAudioSource(MediaRecorder.AudioSource.MIC);
mRecorder.setVideoSource(MediaRecorder.VideoSource.CAMERA);
 
mRecorder.setOutputFormat(MediaRecorder.OutputFormat.THREE_GPP);
mRecorder.setMaxDuration(3);
mRecorder.setOutputFile(/sdcard/sample.3gp);
mRecorder.setVideoFrameRate(10);
mRecorder.setVideoSize(176, 144);
mRecorder.setVideoEncoder(MediaRecorder.VideoEncoder.H263);
mRecorder.setAudioEncoder(MediaRecorder.AudioEncoder.AMR_NB);
mRecorder.setPreviewDisplay(mSurfaceHolder.getSurface());
mRecorder.setMaxFileSize(5000);
mRecorder.prepare();// - 
occur exception
Log.i(TAG, initializeRecorder prepared);  // - not called
return true;
} catch (IllegalStateException e) {
releaseMediaRecorder();
e.printStackTrace();
} catch (IOException e) {
releaseMediaRecorder();
e.printStackTrace();
}
return false;
}


 logs 

I/ActivityManager(72): Starting activity: Intent
{ cmp=com.wataru.test15/.RecordVideoActivity }
D/test15(1698): test15 onPause()
I/RecordVideoActivity(1698): startPreview
D/CameraService(51): CameraService::connect E (pid 1698, client
0x1c3f8)
D/CameraService(51): Client::Client E (pid 1698)
D/QualcommCameraHardware(51): createInstance: E
D/QualcommCameraHardware(51): createInstance: X created
hardware=0x20068
D/CameraService(51): Client::Client X (pid 1698)
D/CameraService(51): CameraService::connect X
D/CameraService(51): getParameters(antibanding=off;antibanding-
values=off;effect=none;effect-
values=none,mono,negative,solarize,sepia,posterize,whiteboard,blackboard,aqua;jpeg-
quality=100;jpeg-thumbnail-height=384;jpeg-thumbnail-quality=90;jpeg-
thumbnail-width=512;picture-format=jpeg;picture-size=2048x1536;picture-
size-values=2048x1536,1600x1200,1024x768;preview-
format=yuv420sp;preview-frame-rate=15;preview-
size=480x320;whitebalance=auto;whitebalance-
values=auto,incandescent,florescent,daylight,cloudy,twilight,shade)
D/CameraService(51): setParameters(jpeg-thumbnail-
width=512;antibanding-values=off;preview-frame-rate=15;preview-
size=176x144;picture-format=jpeg;antibanding=off;jpeg-thumbnail-
height=384;picture-size=2048x1536;effect=none;whitebalance=auto;jpeg-
thumbnail-quality=90;jpeg-quality=100;whitebalance-
values=auto,incandescent,florescent,daylight,cloudy,twilight,shade;preview-
format=yuv420sp;effect-
values=none,mono,negative,solarize,sepia,posterize,whiteboard,blackboard,aqua;picture-
size-values=2048x1536,1600x1200,1024x768)
D/Camera(1698): app passed NULL surface
D/CameraService(51): setPreviewDisplay(0x0) (pid 1698)
D/CameraService(51): startPreview (pid 1698)
D/CameraService(51): startCameraMode(0) (pid 1698)
D/CameraService(51): mSurface is not set yet.
D/CameraService(51): startPreviewMode (pid 1698)
I/QualcommCameraHardware(51): initPreview E: preview size=176x144
D/QualcommCameraHardware(51): frame_thread E
W/RecordVideoActivity(1698): surfaceCreated
D/CameraService(51): setPreviewDisplay(0x310c8) (pid 1698)
I/RecordVideoActivity(1698): initializeRecorder
D/CameraService(51): getParameters(antibanding=off;antibanding-
values=off;effect=none;effect-
values=none,mono,negative,solarize,sepia,posterize,whiteboard,blackboard,aqua;jpeg-
quality=100;jpeg-thumbnail-height=384;jpeg-thumbnail-quality=90;jpeg-
thumbnail-width=512;picture-format=jpeg;picture-size=2048x1536;picture-
size-values=2048x1536,1600x1200,1024x768;preview-
format=yuv420sp;preview-frame-rate=15;preview-
size=176x144;whitebalance=auto;whitebalance-
values=auto,incandescent,florescent,daylight,cloudy,twilight,shade)
I/RecordVideoActivity(1698): initializeRecorder manually call
camera.getParameters()
I/RecordVideoActivity(1698): releaseMediaRecorder
D/CameraService(51): Client::connect E (pid 51, client 0x32e5c)
W/CameraService(51): Attempt to use locked camera (client 0x1c3f8)
from different process  (old pid 1698, new pid 51)
W/CameraService(51): Tried to connect to locked camera (old pid 1698,
new pid 51)
I/MediaRecorderJNI(1698): prepare: surface=0x1f0be8 (id=2)
I/OMXVenc(51): component_init::292 Initializing component
OMX.qcom.video.encoder.h263
E/OMXVenc(51): get_parameter::922 unsupported index 267887431
E/OMXVenc(51): get_parameter::899 unsupported index 117440523
E/OMXVenc(51): set_parameter::1099 

[android-developers] Re: GREF count going to 301

2010-09-30 Thread Pankaj
Could you be more specific about what you are doing ? For instance
GREF count can go up if you do not close a cursor

On Sep 30, 8:55 am, AAJ sethuraman.ak...@gmail.com wrote:
 hello all,
 I keep getting the GREF count to 301 in the LogCat, when i try to
 run my code. Any solutions or suggestions on how to fix this error
 would be really helpful .

 Thanks
 AAJ

-- 
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, 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] Launching application in Market

2010-09-30 Thread pramod.deore
Hi, I want to launch my application in market. I ahd go to
http://market.android.com/publish/signup but there they are asking for
Website URL. But i don't have any website then what should I enter
there? or is it necessary to have our own website to launch
application in market?

Thanks in advance

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


Re: [android-developers] settings - is this a ListView ?

2010-09-30 Thread Marco Alexander Schmitz
thanks a lot !!!

this was very helpful for many.

best regards,
Marco

2010/9/29 Kostya Vasilyev kmans...@gmail.com

  It's a subclass of PreferenceActivity:



 http://developer.android.com/reference/android/preference/PreferenceActivity.html

 displaying preferences based on an XML file describing them:


 http://developer.android.com/resources/samples/ApiDemos/res/xml/preferences.html

 -- Kostya

 29.09.2010 15:19, Marco Alexander Schmitz пишет:

  Hi,

 as we all know in the emulator under settings we can configure out
 device.

 Are these settings views just ListViews?

 The have headings and almost every row looks different - a normal
 ListView makes all rows look the same ?!

 http://www.webinmotion.de/test/masc/device.png

 Best regards,
 DaRolla



 --
 Kostya Vasilyev -- WiFi Manager + pretty widget --
 http://kmansoft.wordpress.com


 --
 You received this message because you are subscribed to the Google
 Groups Android Developers group.
 To post to this group, send email to android-developers@googlegroups.com
 To unsubscribe from this group, send email to
 android-developers+unsubscr...@googlegroups.comandroid-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

Re: [android-developers] loading an html file from local res directory

2010-09-30 Thread poonam sinha
Hi I wanna to know
difference  application layer and middle layer in android


what is these layer and use
examplain in details

-- 
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, 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]

2010-09-30 Thread poonam sinha
does someone tell me what is application and middle layer in android

I have to know details these 2 layers  and about linux kernal and how is
related to 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

[android-developers] Re: Problem with reading contacts on Samsung Galaxy Europa

2010-09-30 Thread Zarah Dominguez
Yeah, hope we get feedback soon.  Mark Murphy referred me to this:
http://code.google.com/p/android/issues/detail?id=10143


Hi Mike,

How did you handle this on your end?

-Zarah.



On Sep 30, 1:04 pm, mikedroid michan...@gmail.com wrote:
 yes im having this problem also hope they can check it soon

 On Sep 28, 12:45 am, Zarah Dominguez zarah.doming...@gmail.com
 wrote:



  Hi Alberto,

  Sorry, I only saw this thread again today.

  I wasn't able to launch the Phonebook, I just added a small bit of
  code to check if there is someone who can receive the phonebook
  intent.

  PackageManager pkgMgr = getPackageManager();
  ListResolveInfo list = pkgMgr.queryIntentActivities(new
  Intent(Intent.ACTION_VIEW,Contacts.CONTENT_URI),
  PackageManager.MATCH_DEFAULT_ONLY);
  if (list.isEmpty()){
          // I just remove the menu item to access the phonebook
          menu.removeItem(R.id.app_menu_contacts);

  }

  Maybe you can try this approach also.

  Hope this helps,
  Zarah.

  On Aug 28, 3:36 am, Albert albert8...@googlemail.com wrote:

   Hi Zarah,

   I have reports of the app launching a blank screen but not crash. I am
   getting aSamsungSpica this week but you have already stated that it
   works there so that won't be of any use. For my app is wan't so
   critical so I just instructGalaxySusers to insert those details
   manually. The best is probably to contactSamsungdevelopment
   department and find out what mess they have done and from there find a
   suitable solution.

   If you ever find a solution, please let me know.

   Alberto

   On Aug 23, 10:20 am, Zarah Dominguez zarah.doming...@gmail.com
   wrote:

Hi Alberto,

I saw this on theGalaxySalso.  I have tested the app on theGalaxy
Spica (i5700), it is working perfectly.  But when I tested the app on
theGalaxyS, the app crashes.

I haven't found a solution yet, but this is what I found from Logcat:
08-23 17:14:30.394: INFO/ActivityManager(2244): Displayed activity
com.android.contacts/
com.sec.android.app.contacts.PhoneBookTopMenuActivity: 452 ms (total
452 ms)

Versus what is seen from the emulator:
08-23 17:18:08.533: INFO/ActivityManager(52): Displayed activity
com.android.contacts/.DialtactsContactsEntryActivity: 348 ms (total
348 ms)

Looks like theGalaxyShas a different way of handling intents for
the Phonebook.

If you find a solution, please let me know also.

Thanks!
-Zarah

On Aug 12, 7:06 pm, Albert albert8...@googlemail.com wrote:

 I have an user from my app that has reported this issue on aSamsung
GalaxyS. Do you know why it's happening? Did you find a solution?

 -Alberto

 On Aug 6, 1:46 pm, Alok Kulkarni kulsu...@gmail.com wrote:

  yeah it is only happening on that deviuce. But i have found a 
  different
  solution to it which i will put up here tomorrow.

  On Wed, Aug 4, 2010 at 12:51 PM, dan raaka danra...@gmail.com 
  wrote:
   Is this happening only on Europa ?

   -Dan

   On Wed, Aug 4, 2010 at 12:26 PM, Alok Kulkarni 
   kulsu...@gmail.com wrote:

   Hi , i am using
   startActivityForResult(intent,PICK_CONTACT);
   Its working on Android 1.5 to 2.1 except for the 2.1 
   deviceSamsung
   Europa..On that device , i am not able to read thecontacts, its 
   returning
   empty result.
   here is the link i referred for the code
  http://www.droidnova.com/use-intents-to-start-other-activities,76.html
   Is thr something i m missing ?
   --
   You received this message because you are subscribed to the 
   Google
   Groups Android Developers group.
   To post to this group, send email to 
   android-developers@googlegroups.com
   To unsubscribe from this group, send email to
   android-developers+unsubscr...@googlegroups.comandroid-developers%2Bunsubs
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.comandroid-developers%2Bunsubs
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


Re: [android-developers]

2010-09-30 Thread Rocky
may be this ppt give u little bit info
https://noppa.tkk.fi/noppa/kurssi/t-110.../T-110_7111_*android*___bo.ppt

On Thu, Sep 30, 2010 at 1:02 PM, poonam sinha sinhapoon...@gmail.comwrote:

 does someone tell me what is application and middle layer in android

 I have to know details these 2 layers  and about linux kernal and how is
 related to 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.comandroid-developers%2bunsubscr...@googlegroups.com
 For more options, visit this group at
 http://groups.google.com/group/android-developers?hl=en




-- 
Thanks  Regards

Rakesh Kumar Jha
Software Developer
Symphony Services Corp (India) Pvt Ltd
Bangalore
(O) +918030273740
(R) +919886336619

-- 
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, 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]

2010-09-30 Thread Rocky
Hi Poonam,
go thr this two link, u'll find answer

--RKJHA
http://developer.android.com/guide/basics/what-is-android.html
http://developer.android.com/guide/topics/fundamentals.html

On Thu, Sep 30, 2010 at 1:02 PM, poonam sinha sinhapoon...@gmail.comwrote:

 does someone tell me what is application and middle layer in android

 I have to know details these 2 layers  and about linux kernal and how is
 related to 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.comandroid-developers%2bunsubscr...@googlegroups.com
 For more options, visit this group at
 http://groups.google.com/group/android-developers?hl=en




-- 
Thanks  Regards

Rakesh Kumar Jha
Software Developer
Symphony Services Corp (India) Pvt Ltd
Bangalore
(O) +918030273740
(R) +919886336619

-- 
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, 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] Cannot share audio file by MMS, and how to solve this case?

2010-09-30 Thread kevens hao
I use the following code to share audio file by MMS, but always show
Sorry, you cannot add this audio to your message.
By blutooth, can share the audio successfully.

[Code]
String uriString = file://+fileString;
Uri uri = Uri.parse(uriString);

Intent it = new Intent(Intent.ACTION_SEND);
it.putExtra(Intent.EXTRA_STREAM, uri);
it.setType(audio/*);

startActivity(Intent.createChooser(it, Share Audio));

-- 
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, 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 Create ListView within ListView

2010-09-30 Thread Ganapathy.C
Sorry
I Want Clickable MultiHeading List,,
If u know any thing about it means tell me.
Thank you...

On Sep 28, 9:50 pm, Kumar Bibek coomar@gmail.com wrote:
 Try the Expandable List View. I am not sure if that will help you.

 http://techdroid.kbeanie.com/2010/09/expandablelistview-on-android.html

 -Kumar Bibekhttp://techdroid.kbeanie.com

 On Sep 28, 9:28 pm, Ganapathy.C cganapa...@gmail.com wrote:



  Thank U i got it...
  Now i want to Seperate my list into five part with Heading for each
  part..

  On Sep 9, 9:36 pm, Mark Murphy mmur...@commonsware.com wrote:

   AFAIK, you cannot have a ListView inside of a ListView.

   On Thu, Sep 9, 2010 at 6:30 AM, Ganapathy.C cganapa...@gmail.com wrote:
In my project i m parsing xml and i want to put it in xml list with in
list

each list must have different data

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

   Android Training in London:http://skillsmatter.com/go/os-mobile-server

-- 
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, 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: VLC RTSP MPEG-4 stream to Android emulator.

2010-09-30 Thread Doug
I don't get the sense at all the people are complaining about RTSP
malfunctioning in any version of Android.  Even the builtin YouTube
player on Android streams RTSP video with no trouble, and it uses the
Android-provided MediaPlayer components.

Doug

-- 
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, 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: Is anyone's active install % INCREASING lately?

2010-09-30 Thread Doug
On Sep 28, 3:10 pm, JonFHancock jonfhanc...@gmail.com wrote:
 It was.  I went up from 33% to 42%.  Now I'm back down to 39%.

I've only been increasing, now from 44% to 45%.  No change in rank (in
my category).

-- 
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, 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: Cannot install apk of huge size

2010-09-30 Thread Sarwar Erfan


On Sep 30, 12:35 pm, monty neilm30s...@gmail.com wrote:
    Do the apk file gets uncompressed to the size of application after
 installing.I mean if i am installing this 72 MB apk does it take 256
 MB space of apllication.Does it work somewhat like a .zip file?

It is a zip file. Rename .apk to .zip and you can see inside it.

Regards
Sarwar Erfan

-- 
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, 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 Create ListView within ListView

2010-09-30 Thread Kumar Bibek
What exactly do you need?

On Sep 30, 1:37 pm, Ganapathy.C cganapa...@gmail.com wrote:
 Sorry
 I Want Clickable MultiHeading List,,
 If u know any thing about it means tell me.
 Thank you...

 On Sep 28, 9:50 pm, Kumar Bibek coomar@gmail.com wrote:

  Try the Expandable List View. I am not sure if that will help you.

 http://techdroid.kbeanie.com/2010/09/expandablelistview-on-android.html

  -Kumar Bibekhttp://techdroid.kbeanie.com

  On Sep 28, 9:28 pm, Ganapathy.C cganapa...@gmail.com wrote:

   Thank U i got it...
   Now i want to Seperate my list into five part with Heading for each
   part..

   On Sep 9, 9:36 pm, Mark Murphy mmur...@commonsware.com wrote:

AFAIK, you cannot have a ListView inside of a ListView.

On Thu, Sep 9, 2010 at 6:30 AM, Ganapathy.C cganapa...@gmail.com 
wrote:
 In my project i m parsing xml and i want to put it in xml list with in
 list

 each list must have different data

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

Android Training in London:http://skillsmatter.com/go/os-mobile-server

-- 
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, 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: Can I post text to facebook profile from my android application?

2010-09-30 Thread Lance Nanek
Make sure to do some testing and tweaking if you use the official one.
It isn't integrate and forget quality. I had to add a cancel listener
in FbDialog so my app knew when users left by the back button, for
example. Make sure the web view stops loading when they leave as well,
otherwise you get an error later. Also had weird problems with the
sizing when testing various screens/rotations, buttons were offscreen,
etc... Ended up making the thing full screen and scrollable. There's a
bunch of issues on github page you can check out.

On Sep 27, 4:58 am, Zarah Dominguez zarah.doming...@gmail.com wrote:
 Sure you can!

 You can get the official Facebook SDK for Android 
 fromhttp://github.com/facebook/facebook-android-sdk

 There are also examples there to help you get started.

 Good luck!

 -Zarah.

 On Sep 27, 3:52 pm, rokson kiranrepa...@gmail.com wrote:

  Hi Friends,

  This is Rockson,
  I am new to android. Here i am struggling with facebook posts from
  android application.

  I am developing a application in android from which i want to post
  some text to my facebook profile.

  Can i do that? Please help me.

  Thanks and Regards,

  Kiran.

-- 
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, 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: Cordinates provided by geo fix command to emulator are different in location listener

2010-09-30 Thread Mafiozo
I am also having the same problem, sending location through Eclipse
DDMS
works fine, but when i use telnet and geo fix command, precision is
messed up.

On Aug 3, 2:30 pm, tty tan...@hotmail.com wrote:
 Hello,
 I use Android emulator to test my location based application. The
 cordinates are provided bygeofixcommand (for example:geofix
 2.31278 48.9533 10). But when the new location event is fired, the
 cordinates are not the same as those in the command: I got latitude =
 48.9580005334, longitude = 2.30335447 (I use
 Location.getLatitude() and Location.getLongitude() methods). Does
 anyone have an idea of my trouble ?

 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: Cordinates provided by geo fix command to emulator are different in location listener

2010-09-30 Thread Mafiozo
I am also having the same problem, sending location through Eclipse
DDMS
works fine, but when i use telnet and geo fix command, precision is
messed up.

On Aug 3, 2:30 pm, tty tan...@hotmail.com wrote:
 Hello,
 I use Android emulator to test my location based application. The
 cordinates are provided bygeofixcommand (for example:geofix
 2.31278 48.9533 10). But when the new location event is fired, the
 cordinates are not the same as those in the command: I got latitude =
 48.9580005334, longitude = 2.30335447 (I use
 Location.getLatitude() and Location.getLongitude() methods). Does
 anyone have an idea of my trouble ?

 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: How to Create ListView within ListView

2010-09-30 Thread Ganapathy.C

I Need List with three titles .
each title must contain different data.
when we click the item in list it must forward the ctrl to new
Activity

thank you help me..

On Sep 30, 2:47 pm, Kumar Bibek coomar@gmail.com wrote:
 What exactly do you need?

 On Sep 30, 1:37 pm, Ganapathy.C cganapa...@gmail.com wrote:



  Sorry
  I Want Clickable MultiHeading List,,
  If u know any thing about it means tell me.
  Thank you...

  On Sep 28, 9:50 pm, Kumar Bibek coomar@gmail.com wrote:

   Try the Expandable List View. I am not sure if that will help you.

  http://techdroid.kbeanie.com/2010/09/expandablelistview-on-android.html

   -Kumar Bibekhttp://techdroid.kbeanie.com

   On Sep 28, 9:28 pm, Ganapathy.C cganapa...@gmail.com wrote:

Thank U i got it...
Now i want to Seperate my list into five part with Heading for each
part..

On Sep 9, 9:36 pm, Mark Murphy mmur...@commonsware.com wrote:

 AFAIK, you cannot have a ListView inside of a ListView.

 On Thu, Sep 9, 2010 at 6:30 AM, Ganapathy.C cganapa...@gmail.com 
 wrote:
  In my project i m parsing xml and i want to put it in xml list with 
  in
  list

  each list must have different data

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

 Android Training in London:http://skillsmatter.com/go/os-mobile-server

-- 
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, 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: VerifyError reloaded

2010-09-30 Thread Dirk
Thanks for the insights. I broke up the method into several smaller
ones, and now it works !

... at least until it's time to regenerate the class (the class is
automatically generated by ANTLR, a parser generator).

On 29 Sep., 23:15, DanH danhi...@ieee.org wrote:
 Java has some fairly arbitrary restrictions on the size of programs.
 Most are fairly reasonable, but one that isn't so much is the one that
 limits the number of bytecodes in a method to 65535.  (Curiously,
 clinit methods can have more.)

 In general, a verifier should be able to handle any large method up to
 the 65535 limit without choking, but there are a number of oddball
 (and not so oddball) cases where Sun's can't, and most other verifiers
 have similar Achilles heels.  (Eg, I wrote the BigUglyMethod
 testcase that breaks Sun's verifier, even though it's only a few
 hundred lines long.)  (And rather than respond by fixing the verifier,
 Sun did a major redesign of the bytecode file format to circumvent the
 problem.  Though curiously they never did the very minor modifications
 that would have been required to lift the 65535 limitation.)

 Anyway, it's likely that this program is bumping into several limits
 in the Dalvik.  The best thing to do would be to figure out some way
 to break up the mongo method that's causing these problems.

 On Sep 29, 1:32 pm, Dirk dirkb...@googlemail.com wrote:

  Just for the sake of completeness:
  In order to get around the problem, I tried to replace the whole
  switch-statement with lots of if-elseif statements.
  Unfortunately, another problem arose. The Verifyer now says:

  09-29 18:02:44.058: WARN/dalvikvm(450): VFY: arbitrarily rejecting
  large method (regs=127 count=34916)

  There's already another thread on this 
  topic:http://groups.google.com/group/android-developers/browse_thread/threa...

  Maybe one should keep this issue in mind when fixing the Verifier bug,
  cause they seem to go hand in hand.

  Cheers Dirk

  The method has several thousand lines ( ~ 3000 to 9000 lines,
  depending on the formatting) of code
  On 28 Sep., 22:53, fadden fad...@android.com wrote:

   On Sep 28, 11:28 am, Dirk dirkb...@googlemail.com wrote:

Before filing a bug, I would feel much better if someone else could
have a look and approve that there's really something not working as
it should.

   It's a bug in the verifier.  Specifically, dvmCheckSwitchTargets is
   treating the switch table offset as a 16-bit value when it's actually
   a 32-bit value.  The switch statement data starts at 0x8664.

-- 
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, 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] Tablet programming

2010-09-30 Thread { Devdroid }
On 30 September 2010 06:28, pramod.deore deore.pramo...@gmail.com wrote:
 Hi, everybody
           I want to develop application for Android Tablets, Please
 let me know that developing application for Tablets are different than
 Mobile application? It will be great if somebody provide me a link
 that is from where I should start?

No it's not. Beside bigger screen and (probably) some hardware features
that may or may not be available on certan devices you write your app
like for any other Android device

-- 
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, 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] Launching application in Market

2010-09-30 Thread { Devdroid }
On 30 September 2010 09:13, pramod.deore deore.pramo...@gmail.com wrote:
 Hi, I want to launch my application in market. I ahd go to
 http://market.android.com/publish/signup but there they are asking for
 Website URL. But i don't have any website then what should I enter
 there? or is it necessary to have our own website to launch
 application in market?

Get yourself one. It might be useful to promote your app for example.
You may also try putting http://www.i-do-not-have-a-website.com/ there
to pass that step

-- 
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, 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: Avoiding compression on large files

2010-09-30 Thread DanH
Thanks -- that article was helpful, even if it didn't really provide a
good answer besides cheat.  Silly thing is, there's really no need
for the limitation -- a larger file could easily be compressed/
decompressed in chunks, and still be seamlessly readable as a
sequential file.  You probably wouldn't be able to do random access,
but I suspect that's a rare requirement.  (And of course, they could
provide a way to set the options for aapt under Eclipse.)

On Sep 29, 5:32 pm, mkellner m.kin...@gmail.com wrote:
  The issue has nothing to do with speed.  The issue is getting a large
  file to be readable AT ALL.  When you open a compressed file larger
  than 1M you get an exception:  Data exceeds UNCOMPRESS_DATA_MAX

 I called my 3MB .zip file a .jet file to get it to be added to
 the .apk uncompressed.

 I figured that calling it a .zip file would imply that it's
 compressed and figured that it would be added uncompressed. Imagine my
 surprised to find otherwise. .jet is currently set up not to be
 compressed.

 Here is an article which contains a list of the other uncompressible
 filetypes.

 http://ponystyle.com/blog/2010/03/26/dealing-with-asset-compression-i...

 -mk

-- 
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, 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] Icons to support different screens

2010-09-30 Thread Mark Murphy
On Wed, Sep 29, 2010 at 9:30 PM, Brad Gies rbg...@gmail.com wrote:
 For the smaller icons they will be in the typical position in the list view
 on the left side, with text beside them, so this one is simpler, just need
 to choose the correct icon size. From the reading I've done it looks like
 24x24 for small screens, 32x32 for normal and 48x48 for large.

No.

Images should vary by screen *density*, not be screen size. 24x24 for
-ldpi, 32x32 for -mdpi, and 48x48 for -hdpi will then have roughly the
same physical dimensions.

With respect to your larger icons, I have no clue what to tell you.

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

Android Training in Atlanta: http://bignerdranch.com/classes/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


Re: [android-developers] DTMF on ongoing call........

2010-09-30 Thread Mark Murphy
On Thu, Sep 30, 2010 at 2:51 AM, arindam arindam2gh...@gmail.com wrote:
 I am working on one android application... I want to send DTMF tone on
 ongoing callafter googling i saw in some post that right now its
 not possible... is android build any api for froyo?

No, sorry.

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

Android Training in Atlanta: http://bignerdranch.com/classes/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


[android-developers] Hide Partitions From My Computer

2010-09-30 Thread Sami
http://softsami.blogspot.com/2010/09/hide-partitions-from-my-computer.html

-- 
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, 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] Render a number of bitmaps very quickly

2010-09-30 Thread abhay mulye
Hi all,
I am developing the application, where i want to display the images coming
from the server, very quickly on to the device screen.
Its like server will send the updated image around every second  app should
render that images.
What is the best solution for this.
Which control to be used for this purpose : SurfaceView, ImageView,
GLSurfaceView, SurfaceFlingeror Canvas???

Need help on this issue as i could not find any solution till now on any
forum yet. :(.


Regards,
Abhay

-- 
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, 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] Issue in importing apk lib file to application

2010-09-30 Thread Namrata
Hi,

I am trying to integrate ant script into my application as I want to
use progaurd obfuscation. Currently I build from eclipse and it works
fine. In my app I am using one lib which is in a apk format. I added
it in libs/ folder of application. But When I run ant script it shows
many compile time errors related to lib classes. Basically it
considers all those classes are missing. am I missing anything which
is supposed to add in ant script before running it?

Thanks in Advance

Namrata

-- 
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, 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] Issue in importing apk lib file to application

2010-09-30 Thread Mark Murphy
On Thu, Sep 30, 2010 at 9:38 AM, Namrata puranik.namr...@gmail.com wrote:
 I am trying to integrate ant script into my application as I want to
 use progaurd obfuscation. Currently I build from eclipse and it works
 fine. In my app I am using one lib which is in a apk format. I added
 it in libs/ folder of application. But When I run ant script it shows
 many compile time errors related to lib classes. Basically it
 considers all those classes are missing. am I missing anything which
 is supposed to add in ant script before running it?

I am not aware that you can put an APK into the libs/ directory and
have it work, regardless of Proguard or anything else. The libs/
directory is for JARs.

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

Android Training in Atlanta: http://bignerdranch.com/classes/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


[android-developers] Re: Interactive Touchscreen plays sounds twice

2010-09-30 Thread niko20
Make sure you only play the sound when the action is ACTION_DOWN in
the OnTouchListener

-niko

On Sep 29, 5:11 pm, ericmahlon ericmah...@hotmail.com wrote:
 I have an interactive image which uses OnTouchListener to get the
 coordinates.  In doing so...if a user places their finger on the area
 it may hit it multiple times thus getting new coordinates within the
 area that plays the sounds...thus playing the sound twice.  Any
 suggestions on how to clear up this issue?

 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: How to store app data to gmail account? Is it possible?

2010-09-30 Thread gjs
try Google app engine

Regards

On Sep 30, 4:43 pm, JonFHancock jonfhanc...@gmail.com wrote:
 It might be better to store the data on your own servers, and use
 OAuth so that the user signs in with their gmail account.  You could
 make it feel the same, but you have control of the data, and you
 aren't at the mercy of Google's APIs.

 On Sep 29, 2:32 pm, Moto medicalsou...@gmail.com wrote:



  As you can tell I'm new to this area...  I guess the main idea is to
  sync my applications database to the cloud, and I would like to use
  the users gmail account to store it.

  On Sep 29, 5:25 pm, Moto medicalsou...@gmail.com wrote:

   Well hopefully some people in this forum can help :)  I found
   something that could potentially work BUT... You can't update data,
   you must first delete than upload again, and that can be tricky...

  http://code.google.com/apis/storage/docs/overview.html

   On Sep 29, 5:13 pm, Moto medicalsou...@gmail.com wrote:

I'm looking for the best way to allow users to sync their data to
their gmail account.  The idea is to be able to access the same data
via my other applications for computers, phones, etc...  I need it to
be a free service...

The data is a list of items that contains a title tied to a playlist.

Anyone know of a particular Google lab allowing such data?  Or other
cloud services?

Thanks!
-Moto

-- 
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, 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: Render a number of bitmaps very quickly

2010-09-30 Thread Yahel
 Its like server will send the updated image around every second  app should
 render that images.
 What is the best solution for this.
For a picture every second or so the choice is yours, this is not fast
enough that it will choke up even an imageView. If frequency has to be
higher then Canvas is fast enough up to 25-30 frames a second.

Your problem is to be able to download reliably an image a second from
a server.

You might want to implement some kind of buffer, say 10 images, before
you actually start the slideshow.

Yahel
http://www.a-world-of-faces.com

-- 
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, 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: Issue in importing apk lib file to application

2010-09-30 Thread Namrata
ok..so you mean I can't import apk..Is there a way to import complete
code(src folder) of other project to current application? I have code
base for the same apk. Is it possible in ant scripting?

On Sep 30, 6:48 pm, Mark Murphy mmur...@commonsware.com wrote:
 On Thu, Sep 30, 2010 at 9:38 AM, Namrata puranik.namr...@gmail.com wrote:
  I am trying to integrate ant script into my application as I want to
  use progaurd obfuscation. Currently I build from eclipse and it works
  fine. In my app I am using one lib which is in a apk format. I added
  it in libs/ folder of application. But When I run ant script it shows
  many compile time errors related to lib classes. Basically it
  considers all those classes are missing. am I missing anything which
  is supposed to add in ant script before running it?

 I am not aware that you can put an APK into the libs/ directory and
 have it work, regardless of Proguard or anything else. The libs/
 directory is for JARs.

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

 Android Training in Atlanta:http://bignerdranch.com/classes/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


Re: [android-developers] Re: Issue in importing apk lib file to application

2010-09-30 Thread Mark Murphy
On Thu, Sep 30, 2010 at 10:23 AM, Namrata puranik.namr...@gmail.com wrote:
 ok..so you mean I can't import apk..Is there a way to import complete
 code(src folder) of other project to current application?

Put the common code in an Android library project and reference that
library project from both applications:

http://developer.android.com/guide/developing/eclipse-adt.html#libraryProject
http://developer.android.com/guide/developing/other-ide.html#libraryProject

Or, have one project build a JAR that the other project uses, though
this technique does not support the use of resources and other
Android-specific stuff.

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

_The Busy Coder's Guide to *Advanced* Android Development_ Version 1.9
Available!

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


[android-developers] My widget causing ALSA bufffer underrun?

2010-09-30 Thread Tomáš Hubálek
Hello,

I have a widget that has nothing to do with sound and I got report
from one user that my widget causes lags in MP3 playing. He sent me
log where is time relationship between update of my widget update and
ALSA buffer underrun.

To be honest, I have no idea how application can affect ALSA as I
believe that multitasking is matter of Linux/Android and ALSA should
have higher priority than update of home screen widgets. I'm updating
my widget in service so I believe that I can't fix this issue.

Can anybody comment on this and/or explain me how ALSA can be affected
by widget.

Thanks a lot
Tom

- Here is the log fragment -

I/n.h.a.g.GaugeBatteryWidget( 2559): Creating dial painter with scale
1.5
I/n.h.a.g.GaugeBatteryWidget( 2559): updateAppWidget(130,class
net.hubalek.andro
id.gaugebattwidget.widget.BatteryWidget_2x1,ComponentInfo{net.hubalek.android.ga
ugebattwidget/
net.hubalek.android.gaugebattwidget.widget.BatteryWidget_2x1}) cal
led...
I/AlarmManager( 2249): mWakeLock.acquire(500);
D/libgps  ( 2249): sec_gps_inject_location: latitude: 1202315965,
longitude: 107
7554202, accuracy: 370810296
E/ALSALib ( 2185): external/alsa-lib/src/pcm/pcm.c:7231:
(snd_pcm_recover) underr
un occured
D/AudioHardwareALSA( 2185): Write : Error = [0], mHandle =[110704]!!
W/AudioFlinger( 2185): write blocked for 301 msecs, 2 delayed writes,
thread 0x2
84b8
I/POWER_OFF_TEST( 2249): mBatteryLevel = 41   mBatteryDecimalPoint =

-- 
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, 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: Issue in importing apk lib file to application

2010-09-30 Thread Namrata
thanks Mark..will give it a try..thank you very much

On Sep 30, 7:33 pm, Mark Murphy mmur...@commonsware.com wrote:
 On Thu, Sep 30, 2010 at 10:23 AM, Namrata puranik.namr...@gmail.com wrote:
  ok..so you mean I can't import apk..Is there a way to import complete
  code(src folder) of other project to current application?

 Put the common code in an Android library project and reference that
 library project from both applications:

 http://developer.android.com/guide/developing/eclipse-adt.html#librar...http://developer.android.com/guide/developing/other-ide.html#libraryP...

 Or, have one project build a JAR that the other project uses, though
 this technique does not support the use of resources and other
 Android-specific stuff.

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

 _The Busy Coder's Guide to *Advanced* Android Development_ Version 1.9
 Available!

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


[android-developers] PDF Libraries for android

2010-09-30 Thread viktor
Hi,

Is it possible to use third-party libraries for display pdf?

I mean to use custom pdf view, in which I can pass pdf url and view it
in new Activity.

I want include libs into project and use their as resources.

It will be great to do that.

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


Re: [android-developers] how to save the state of checked item in ListView having Checkbox

2010-09-30 Thread TreKing
On Wed, Sep 29, 2010 at 10:11 PM, Rocky rkjhaw1...@gmail.com wrote:

 so is any way so that i can store (print) the all the checked item not the
 last item.


What are you doing now that's not working?

-
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

[android-developers] scrollbarAlwaysDrawVerticalTrack doesn't work with ListView

2010-09-30 Thread jlopeznava...@gmail.com
Hi, I have a ListView and I want it show the vertical scrollbar always
so the user can know there are more options below.
I ha tried the scrollbarAlwaysDrawVerticalTrack=true but it doesn't
work, any idea/suggestion?

Thanks in advance.

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


[android-developers] Re: how to save the state of checked item in ListView having Checkbox

2010-09-30 Thread viktor
Do you use adapter with domain objects?

You can set the state(CheckBox) what you want into object.

While you make your views in a adapter set Tag for every checkboxes
with the item position.

Add listener for checkboxes, when checkbox is checked or unchecked set
this state to the odject.


On 30 Вер, 18:08, TreKing treking...@gmail.com wrote:
 On Wed, Sep 29, 2010 at 10:11 PM, Rocky rkjhaw1...@gmail.com wrote:
  so is any way so that i can store (print) the all the checked item not the
  last item.

 What are you doing now that's not working?

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


[android-developers] Re: PDF Libraries for android

2010-09-30 Thread DanH
Certainly you can install a 3rd-party viewer as a separate app.  I
don't know why you wouldn't be able to install something as a part of
another app.

On Sep 30, 9:44 am, viktor victor.scherb...@gmail.com wrote:
 Hi,

 Is it possible to use third-party libraries for display pdf?

 I mean to use custom pdf view, in which I can pass pdf url and view it
 in new Activity.

 I want include libs into project and use their as resources.

 It will be great to do that.

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


Re: [android-developers] Free version or not?

2010-09-30 Thread TreKing
On Tue, Sep 28, 2010 at 3:34 PM, Darrin Smith darri...@gmail.com wrote:

 Do you offer a slightly crippled free version, go for a full fledged
 version that has nuisance screens that tell people to upgrade, try the fully
 functional but with advertising route, or just release one app for purchase
 only?


Limited version w/ ads for me. Don't do nuisance screens, that'll just annoy
people.

My $0.02. If you're already releasing a paid app, you might as well release
a free version - it's not much more work and you'll get probably around 10X
more people trying your free version - a large pool of potential customers
that will translate to more sales than just having a paid app with no way to
let people test drive it (I'm assuming the number of people that actually
realize there's a refund option is limited).

-
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

[android-developers] Cryptic ANR trace file from Android Market

2010-09-30 Thread LinusOnline
I'm analyzing some ANR traces that were reported by users of my
application via Android Market. I have some questions about ANR traces
in general:

How reliable are the traces? Most the traces I have make sense, but
many don't. There is one which doesn't mention any of my code at all,
like it's been created after my application was closed.

Other traces are missing one or more of the permanent threads of my
program. When, and under what circumstances, could a single thread
within a process be killed by the system? Or could my whole
application have been killed, while part of the trace went through
just before?

-- 
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, 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: PDF Libraries for android

2010-09-30 Thread viktor
Thanks DanH

I cant inform all app users that for viewing pdf from site, will need
download additional application.

It is not very comfortable to download app for simple thing.

If you what to see YouTube video you don't need additional software,
you can yous build-in.

Am I right?



On 30 Вер, 18:21, DanH danhi...@ieee.org wrote:
 Certainly you can install a 3rd-party viewer as a separate app.  I
 don't know why you wouldn't be able to install something as a part of
 another app.

 On Sep 30, 9:44 am, viktor victor.scherb...@gmail.com wrote:



  Hi,

  Is it possible to use third-party libraries for display pdf?

  I mean to use custom pdf view, in which I can pass pdf url and view it
  in new Activity.

  I want include libs into project and use their as resources.

  It will be great to do that.

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


Re: [android-developers] Launching application in Market

2010-09-30 Thread TreKing
On Thu, Sep 30, 2010 at 2:13 AM, pramod.deore deore.pramo...@gmail.comwrote:

 But i don't have any website then what should I enter there? or is it
 necessary to have our own website to launch application in market?


I don't think you need one, but you probably should have one.
Just leave it blank and see what happens. Worst case, you get an error and
have to put in something temporary.

-
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] Re: PDF Libraries for android

2010-09-30 Thread Mark Murphy
On Thu, Sep 30, 2010 at 11:41 AM, viktor victor.scherb...@gmail.com wrote:
 I cant inform all app users that for viewing pdf from site, will need
 download additional application.

 It is not very comfortable to download app for simple thing.

 If you what to see YouTube video you don't need additional software,
 you can yous build-in.

 Am I right?

Sure. On the other hand, I am not aware of a PDF viewing library for
Android. And if one existed, there is a good chance it would be
commercial and priced well beyond your budget.

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

_The Busy Coder's Guide to *Advanced* Android Development_ Version 1.9
Available!

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


[android-developers] Re: Launching application in Market

2010-09-30 Thread Bret Foreman
I create a (free) website for each app and put up a capture of every
screen. Then, as questions come in about a particular screen or
function, I add commends below the relevant screen shot on the
website. After a while, most questions have been answered on the
website and I can just email a link when a repeat question comes in.
Quite useful for reducing support load over 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: PDF Libraries for android

2010-09-30 Thread Alessandro Pellizzari
Il Thu, 30 Sep 2010 11:57:51 -0400, Mark Murphy ha scritto:

 Sure. On the other hand, I am not aware of a PDF viewing library for
 Android.

There are a couple of projects on code.google.com, using mupdf, if I 
remember correctly.

But I think the license is GPL, so you must release your software as GPL 
if you use it.

Bye.

-- 
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, 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: PDF Libraries for android

2010-09-30 Thread Bret Foreman
http://www.icepdf.org/

-- 
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, 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: Is anyone's active install % INCREASING lately?

2010-09-30 Thread OldSkoolMark
I'm wondering what happens to the counts when somebody upgrades to a
new phone, and doesn't reinstall an app that they had on their old
phone. Or does reinstall.

On Sep 30, 2:02 am, Doug beafd...@gmail.com wrote:
 On Sep 28, 3:10 pm, JonFHancock jonfhanc...@gmail.com wrote:

  It was.  I went up from 33% to 42%.  Now I'm back down to 39%.

 I've only been increasing, now from 44% to 45%.  No change in rank (in
 my category).

-- 
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, 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: PDF Libraries for android

2010-09-30 Thread Mark Murphy
On Thu, Sep 30, 2010 at 12:03 PM, Bret Foreman bret.fore...@gmail.com wrote:
 http://www.icepdf.org/

Note that this doesn't support Android, at least based on their list
of supported platforms:

http://www.icepdf.org/product/supported-platforms.html

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

_The Busy Coder's Guide to *Advanced* Android Development_ Version 1.9
Available!

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


[android-developers] ResourceBundle.Control supported?

2010-09-30 Thread Eurig Jones
I have code that subclasses ResourceBundle.Control which allows it to
support XML based property bundles in an external library that I'm
using. Android doesn't like it though even though ResourceBundle
itself is supported...

Unable to resolve superclass of package.util.XMLControl (366)

XMLControl above extends ResourceBundle.Control.


I would suggest that this is a bug, although not completely sure
before reporting it. Anyone?

Regards,
Eurig Jones

-- 
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, 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] Icons to support different screens

2010-09-30 Thread Brad Gies




With respect to your larger icons, I have no clue what to tell you.


Hah... Mark... now you're scaring me... you know as much about screen 
size/density etc. as anyone I know :).


In my case, I absolutely do not have the ability to learn this... my 
brain totally shuts down as soon as image/screen size/density etc. are 
mentioned. I just don't have any interest in graphics or display issues 
:).but ask me to design a web service to move data around... and 
great things happen :). My preferred method of working has always been 
to build it and make it work well, then turn it over to someone with 
some artistic ability and have them make it look nice :).


Actually, just confirmation that the 24, 32 and 48 are the right sizes 
for the smaller icons is quite helpful. I can guess at the correct sizes 
for the larger icons, and then adjust as I test the different AVD's...


Sincerely,

Brad Gies
---
Bistro Bot - Bistro Blurb
http://bgies.com
http://bistroblurb.com
http://ihottonight.com
http://forcethetruth.com
---

Everything in moderation, including abstinence

Never doubt that a small group of thoughtful, committed people can
change the world. Indeed. It is the only thing that ever has - Margaret Mead


On 30/09/2010 4:47 AM, Mark Murphy wrote:

On Wed, Sep 29, 2010 at 9:30 PM, Brad Giesrbg...@gmail.com  wrote:

For the smaller icons they will be in the typical position in the list view
on the left side, with text beside them, so this one is simpler, just need
to choose the correct icon size. From the reading I've done it looks like
24x24 for small screens, 32x32 for normal and 48x48 for large.




--
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, 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] Icons to support different screens

2010-09-30 Thread Mark Murphy
On Thu, Sep 30, 2010 at 12:12 PM, Brad Gies rbg...@gmail.com wrote:
 With respect to your larger icons, I have no clue what to tell you.

 Hah... Mark... now you're scaring me... you know as much about screen
 size/density etc. as anyone I know :).

You need to know more people, then, particularly ones that aren't as
graphically challenged as I. :-)

 In my case, I absolutely do not have the ability to learn this... my brain
 totally shuts down as soon as image/screen size/density etc. are mentioned.

Conversely, the reason I can't give you any more advice is that my
brain shuts down with your proposed UI. I just have no idea how you'll
ever get that to look good across multiple screen sizes. Any UI design
that effectively has to assume certain dimensions scares the heck out
of me.

 My preferred method of working has always been to build it and make it
 work well, then turn it over to someone with some artistic ability and have
 them make it look nice :).

You and me both.

 Actually, just confirmation that the 24, 32 and 48 are the right sizes for
 the smaller icons is quite helpful.

Well, it's more that they are a logical set of sizes if they are
applied to different densities. I can't tell you what is right,
since that applies aesthetics, and there are hamsters with greater
aesthetic sense than I possess. But, they're a good starting point.

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

_The Busy Coder's Guide to Android Development_ Version 3.1 Available!

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


[android-developers] Re: Launching application in Market

2010-09-30 Thread Brion Emde
I created a blog on blogspot.com and write about my apps there and
embed screencast video demonstrations, and stuff like that.

Then I put the address of the blog in field on the Marketplace.



On Sep 30, 3:13 am, pramod.deore deore.pramo...@gmail.com wrote:
 Hi, I want to launch my application in market. I ahd go 
 tohttp://market.android.com/publish/signupbut there they are asking for
 Website URL. But i don't have any website then what should I enter
 there? or is it necessary to have our own website to launch
 application in market?

 Thanks in advance

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


[android-developers] Android Widget

2010-09-30 Thread yenpei
Hi,

When I add a widget, there always the widget label name let's say
Weather widget with HTC as the provider in 2 lines.

How do I add the creator of the widget like HTC. All my current
widget are showing Android as provider. Can we change it to some
other name?

-- 
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, 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 Widget

2010-09-30 Thread Mark Murphy
On Thu, Sep 30, 2010 at 12:34 PM, yenpei yen...@gmail.com wrote:
 When I add a widget, there always the widget label name let's say
 Weather widget with HTC as the provider in 2 lines.

That is a feature of HTC Sense. It does not work that way on all phones.

 How do I add the creator of the widget like HTC. All my current
 widget are showing Android as provider. Can we change it to some
 other name?

I am not aware that HTC has documented any way to specify this. My
guess is that they are simply distinguishing between ones they created
and other ones from elsewhere. Earlier versions of Sense had those in
separate groups rather than intermingled.

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

_The Busy Coder's Guide to Android Development_ Version 3.1 Available!

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


[android-developers] Re: PDF Libraries for android

2010-09-30 Thread Bret Foreman
But it does support Linux so an Android port seems at least feasible.

On Sep 30, 9:07 am, Mark Murphy mmur...@commonsware.com wrote:
 On Thu, Sep 30, 2010 at 12:03 PM, Bret 
 Foremanbegin_of_the_skype_highlighting end_of_the_skype_highlightingbret.fore...@gmail.com
  wrote:
 http://www.icepdf.org/

 Note that this doesn't support Android, at least based on their list
 of supported platforms:

 http://www.icepdf.org/product/supported-platforms.html

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

 _The Busy Coder's Guide to *Advanced* Android Development_ Version 1.9
 Available!

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


Re: [android-developers] Re: PDF Libraries for android

2010-09-30 Thread Mark Murphy
On Thu, Sep 30, 2010 at 12:44 PM, Bret Foreman bret.fore...@gmail.com wrote:
 But it does support Linux so an Android port seems at least feasible.

Oh, no doubt. I'm just making sure the OP doesn't think it's ready for
Android immediately.

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

_The Busy Coder's Guide to Android Development_ Version 3.1 Available!

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


Re: [android-developers] scrollbarAlwaysDrawVerticalTrack doesn't work with ListView

2010-09-30 Thread Romain Guy
The track is not the scrollbar, the track is what the scrollbar
slides into. The default theme does not have a track anymore. The
track is normally shown only when the view can scroll and this
attribute can be used to show the track even when you can't scroll. In
your case I believe you want to disable scrollbars fading instead. Or
you should provide your own scrollbar track drawable.

On Thu, Sep 30, 2010 at 8:10 AM, jlopeznava...@gmail.com
jlopeznava...@gmail.com wrote:
 Hi, I have a ListView and I want it show the vertical scrollbar always
 so the user can know there are more options below.
 I ha tried the scrollbarAlwaysDrawVerticalTrack=true but it doesn't
 work, any idea/suggestion?

 Thanks in advance.

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




-- 
Romain Guy
Android framework engineer
romain...@android.com

Note: please don't send private questions to me, as I don't have time
to provide private support.  All such questions should be posted on
public forums, where I and others can see and answer them

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


[android-developers] Re: Icons to support different screens

2010-09-30 Thread Yahel
I'm not sure this might help you, this is what I use on the server
side for my app 'a World of Faces' : It allows to get an image to a
specified size no matter what. It's very efficient and does not
consume much cpu or memory on the server. I tweaked the code quite a
lot for my purpose but it works fine :

// Smart Image Resizer 1.4.1
http://shiftingpixel.com/2008/03/03/smart-image-resizer/

People can then send you any size of graphics and you'll be able to
use them however you like.

Yahel
http://www.a-world-of-faces.com

-- 
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, 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 show notification while service is running..?

2010-09-30 Thread Gold
Hi,

I want to show notification in service..!

While I click button in my home screen I just call
service.!

That service run every 30 seconds with the help of
timer..! I want to show result to user..!

How can I implement this..! Herewith I attached
code..


HOme screen
--

package com.servicetest;

import java.util.Timer;

import android.app.Activity;
import android.content.Intent;
import android.os.Bundle;
import android.view.View;
import android.view.View.OnClickListener;
import android.widget.Button;
import android.widget.Toast;

public class Home extends Activity
{
private Button btn;
/** Called when the activity is first created. */
@Override
public void onCreate(Bundle savedInstanceState)
{
super.onCreate(savedInstanceState);
setContentView(R.layout.main);
btn = (Button)findViewById(R.id.Button01);

btn.setOnClickListener(new OnClickListener() {

@Override
public void onClick(View v)
{
// TODO Auto-generated method stub
Toast.makeText(getApplicationContext(), Hai,
Toast.LENGTH_SHORT).show();
Intent in = new Intent();
in.setClassName(com.servicetest, 
com.servicetest.ServiceTest);
startService(in);
}
});
}
}


ServiceTest.java
---


package com.servicetest;

import java.util.Date;
import java.util.Timer;
import java.util.TimerTask;

import android.app.AlertDialog;
import android.app.Notification;
import android.app.NotificationManager;
import android.app.Service;
import android.content.Intent;
import android.media.MediaPlayer;
import android.os.IBinder;
import android.util.Log;
import android.widget.Toast;

public class ServiceTest extends Service
{
private Timer timer = new Timer();
private static final String TAG = MyService;
MediaPlayer player;
WebserviceConnect wsConnect = new WebserviceConnect();
String result = ;
boolean flag = true;
private long delay = 1000;
public static final int NOTIFICATION_ID_RECEIVED = 01221;

@Override
public IBinder onBind(Intent intent)
{
return null;
}

@Override
public void onCreate()
{
Toast.makeText(this, My Service Created,
Toast.LENGTH_LONG).show();
Log.d(TAG, onCreate);
}

@Override
public void onDestroy()
{
Toast.makeText(this, My Service Stopped,
Toast.LENGTH_LONG).show();
Log.d(TAG, onDestroy);
}

@Override
public void onStart(Intent intent, int startid) {
Toast.makeText(this, My Service Started,
Toast.LENGTH_LONG).show();
Log.d(TAG, onStart);

timer.scheduleAtFixedRate(new TimerTask()
{

@Override
public void run()
{
// TODO Auto-generated method stub
result = wsConnect.Connect(CheckStatus, ID, 
7x897);
Log.d(TAG,result);
}

}, delay  , delay);

Log.d(TAG,result);
Toast.makeText(getApplicationContext(), result, 5).show();
if (result.equals(Success))
{
timer.cancel();
timer = null;
}
}

}




Thanks  Warm Regards,
Gold

-- 
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, 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] Icons to support different screens

2010-09-30 Thread Kostya Vasilyev

 Brad,

30.09.2010 20:12, Brad Gies пишет:


Actually, just confirmation that the 24, 32 and 48 are the right sizes 
for the smaller icons is quite helpful. I can guess at the correct 
sizes for the larger icons, and then adjust as I test the different 
AVD's...


The reference device densities are: 120 / 160 / 240 for ldpi / mdpi / 
hdpi respectively.


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

This means that if you design the artwork you call larger icons at a 
certain size, then the hdpi version should be 6/4 (== 3/2), and ldpi - 
3/4 the size of the mdpi version (so hdpi artwork is exactly twice as 
tall / wide as ldpi).


The mdpi size should preferably be such it can be scaled to 3/2 and 3/4 
of the original size without producing fractional pixels.


I am another developer who loathes doing graphics for his programs, and 
rightly so, since I'm pretty bad at it.


What I found useful is to design my artwork in Photoshop at mdpi (== 
normal) density first, trying to use shape objects and to avoid 
pixel-based tools as much as possible. This is important for next step: 
scaling the image up in Photoshop to go from mdpi to hdpi, since shapes 
scale up much better than raster data.


At this point I have with two Photoshop files, one for mdpi and one for 
hdpi. I then use File | Save for Web  Devices to export optimized 
.PNG images.


The mdpi and hdpi already have the right dimensions for exporting, so no 
problem there. To create the ldpi version, I export the mdpi file and 
specify smaller dimensions right in the export parameters window. I 
found that Photoshop often produces a better quality reduced size image 
than Android does at runtime, so having pre-built ldpi images is useful. 
Not all images need this, though: for some, it's ok to just have the 
mdpi and hdpi versions, and let Android do the scaling down for ldpi.


This workflow could be simplified by working in Photoshop only at hdpi 
density, and scaling during export for mdpi as well as ldpi. My first 
Android phone was an HTC Hero (mdpi), so I kind of made mdpi the center 
of my artwork-related process.


And finally, the link below lists standard icon sizes for various screen 
densities depending on where and how they are to be used (Launcher, 
Dialog, List View, etc.)


http://developer.android.com/guide/practices/ui_guidelines/icon_design.html

--
Kostya Vasilyev -- WiFi Manager + pretty widget -- http://kmansoft.wordpress.com

--
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, 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: Free version or not?

2010-09-30 Thread Greg Donald
On Wed, Sep 29, 2010 at 5:22 PM, dm1973 david050...@gmail.com wrote:
 Google doesn't set eCPMs. The market does. eCPMs function on a supply/
 demand curve. The supply went way up when they let more developers
 into the program. Hence the eCPM drop. In my experience google pays
 about as well as anyone.

Not for me.  When I first got into the beta program I began making a
lot more than the ad guys I was using before: Greystrip and AdMob.
That huge increase in revenue has since gone away and now I see no
reason to choose AdSense over anyone else.

 And it isn't so much that users don't
 understand about the arrow (that is some of it). It is more that
 developers are no longer getting paid for misclicks.

All my ad integrations were reviewed by Google before launch.  There
was only the tiniest chance of any mis-clicks because my banner
placement was not close to anything else the user would ever click.

 The net is the
 same (you get less money) but it isn't like Google is making more off
 your lower reimbursements. They are making more by cranking up the
 volume of ads they serve. And yeah it sucks as a developer when your
 revenue is cut in 1/3 over 2 days.

I saw a 90% drop in AdSense revenue overall from June and July to now.
 And that's the difference between thinking I could do Android
development fulltime or not.  I can only hope it picks back up before
the holiday season.  It seems more likely that ship has sailed.


-- 
Greg Donald
destiney.com | gregdonald.com

-- 
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, 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: Interactive Touchscreen plays sounds twice

2010-09-30 Thread Sarwar Erfan

Two events are generated...
First : ACTION_DOWN
Second: ACTION_UP

Try something like this in your event handler:

if (event.getAction() == MotionEvent.ACTION_DOWN) {
 //play sound here
}

Regards
Sarwar Erfan

On Sep 30, 4:11 am, ericmahlon ericmah...@hotmail.com wrote:
 I have an interactive image which uses OnTouchListener to get the
 coordinates.  In doing so...if a user places their finger on the area
 it may hit it multiple times thus getting new coordinates within the
 area that plays the sounds...thus playing the sound twice.  Any
 suggestions on how to clear up this issue?

 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: Issue in importing apk lib file to application

2010-09-30 Thread Namrata
Mark,
I tried setting up 2 test projects as per the instructions given in
http://developer.android.com/guide/developing/other-ide.html#libraryP...
TestLib (libray project) and TestApp (application). Setup is done
successfully. ant compile on TestLib works perfectly. When I tried ant
debug/release on TestApp it is giving me following errors.

compile:
[javac] Compiling 4 source files to /home/axa/test/project2/bin/
classes
[javac] /home/axa/backup/project2/src/com/axa/testapp/
TestAppView.java:6: cannot find symbol
[javac] symbol: class TestLib
[javac] public class TestAppView extends TestLib
[javac]  ^
[javac] /home/axa/test/project2/src/com/axa/testapp/
TestAppView.java:12: cannot find symbol
[javac] symbol  : variable super
[javac] location: class com.axa.testapp.TestAppView
[javac] super.onCreate(savedInstanceState);
[javac] ^
[javac] /home/axa/backup/project2/src/com/axa/testapp/
TestAppView.java:13: cannot find symbol
[javac] symbol  : method setContentView(int)
[javac] location: class com.axa.testapp.TestAppView
[javac] setContentView(R.layout.main);
[javac] ^
[javac] /home/axa/backup/project2/src/com/axa/testapp/
TestAppView.java:9: method does not override or implement a method
from a supertype
[javac] @Override
[javac] ^
[javac] 4 errors


Did I missed anything which I supposed to do here?


On Sep 30, 7:41 pm, Namrata puranik.namr...@gmail.com wrote:
 thanks Mark..will give it a try..thank you very much

 On Sep 30, 7:33 pm, Mark Murphy mmur...@commonsware.com wrote:

  On Thu, Sep 30, 2010 at 10:23 AM, Namrata puranik.namr...@gmail.com wrote:
   ok..so you mean I can't import apk..Is there a way to import complete
   code(src folder) of other project to current application?

  Put the common code in an Android library project and reference that
  library project from both applications:

 http://developer.android.com/guide/developing/eclipse-adt.html#librar..

  Or, have one project build a JAR that the other project uses, though
  this technique does not support the use of resources and other
  Android-specific stuff.

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

  _The Busy Coder's Guide to *Advanced* Android Development_ Version 1.9
  Available!

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


Re: [android-developers] Re: Issue in importing apk lib file to application

2010-09-30 Thread Mark Murphy
On Thu, Sep 30, 2010 at 1:16 PM, Namrata puranik.namr...@gmail.com wrote:
 I tried setting up 2 test projects as per the instructions given in
 http://developer.android.com/guide/developing/other-ide.html#libraryP...
 TestLib (libray project) and TestApp (application). Setup is done
 successfully. ant compile on TestLib works perfectly. When I tried ant
 debug/release on TestApp it is giving me following errors.

If I had to guess, TestApp does not reference TestLib:

http://developer.android.com/guide/developing/other-ide.html#libraryReference

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

_The Busy Coder's Guide to Android Development_ Version 3.1 Available!

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


Re: [android-developers] How to show notification while service is running..?

2010-09-30 Thread TreKing
On Thu, Sep 30, 2010 at 12:00 PM, Gold thangadura...@gmail.com wrote:

 I want to show notification in service..!


OK..! http://developer.android.com/reference/android/app/Service.html

-
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

[android-developers] Re: VerifyError reloaded

2010-09-30 Thread fadden
On Sep 29, 11:32 am, Dirk dirkb...@googlemail.com wrote:
 In order to get around the problem, I tried to replace the whole
 switch-statement with lots of if-elseif statements.
 Unfortunately, another problem arose. The Verifyer now says:

 09-29 18:02:44.058: WARN/dalvikvm(450): VFY: arbitrarily rejecting
 large method (regs=127 count=34916)

I fixed that one too while I was at it.  The limit was intended to
prevent the verifier from soaking up huge amounts of memory, but (a)
the limit is too low, and (b) there are better mechanisms in the
system for doing that.  So now it's just a warning that says, hey,
this is huge.

With both fixes in place, the original code passes.

-- 
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, 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: Icons to support different screens

2010-09-30 Thread Brad Gies


Thanks... I'll definitely have a look at that today sometime. Appreciate 
it very much...



Sincerely,

Brad Gies
---
Bistro Bot - Bistro Blurb
http://bgies.com
http://bistroblurb.com
http://ihottonight.com
http://forcethetruth.com
---

Everything in moderation, including abstinence

Never doubt that a small group of thoughtful, committed people can
change the world. Indeed. It is the only thing that ever has - Margaret Mead


On 30/09/2010 9:53 AM, Yahel wrote:

I'm not sure this might help you, this is what I use on the server
side for my app 'a World of Faces' : It allows to get an image to a
specified size no matter what. It's very efficient and does not
consume much cpu or memory on the server. I tweaked the code quite a
lot for my purpose but it works fine :

// Smart Image Resizer 1.4.1
http://shiftingpixel.com/2008/03/03/smart-image-resizer/

People can then send you any size of graphics and you'll be able to
use them however you like.

Yahel
http://www.a-world-of-faces.com



--
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, 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] Hi All, Please help me!!

2010-09-30 Thread Ulzii
When I upload my Android App to market it gives as next message:

The certificate that signed this apk is not valid until the future.
Create a new certificate.

Help me to solve this problem.

I setup my duration 50 years. I have signed my App from Eclippse.

Thanks,
Ulzii

-- 
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, 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] A problem regarding Alarm Clock application in Android

2010-09-30 Thread Tarun S
Hi,
I am pretty new in Android.
I have noticed a problem in Alarm Clock application that comes with
the Android Codebase.
Let me explain the problem first.
Current Time is 12:15 pm. Snooze time is 10 mins.
I have set an alarm at 12:30 pm.
I have set another alarm at 12:35 pm.
When the fist alarm fires I snooze the alarm. It will ring again at
12:40 pm.
In this case the second alarm which I have set at 12:35pm does not
fire.

Please help me in this.
As per I know in Android at a time one alarm can be set using
AlarmManager.set () method. In this case in AlarmReceiver.java class
when on alarm fires it set the next alarm. But if I snooze the alarm
it will overwrite the previous alarm the snooze alarm. I may not be
correct. Please tell me the solution of this problem.

Thanks and Regards,
Tarun S

-- 
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, 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: OpenGL lockups in 2.2

2010-09-30 Thread Jeremy Statz
I've tested this extensively at this point (including a 20-hour run on
an Incredible) and I think you're right, calling glFinish() seems like
it largely fixes the problem.  Wow, I'd really thought that one was
outmoded.

Related to this, the most recent EVO update was causing the
framebuffer to flicker with black squares sometimes on my wallpapers,
and calling glFinish() fixed that too.  And it fixed a similar
corruption I had reported a few days ago on the Nexus one.  It's the
magic HTC fixer-upper!

TimeDilation, you're my hero.


On Sep 21, 3:26 pm, timedilation udayan.k...@gmail.com wrote:
 It was happening between 1 - 45 minutes into the app. Every single
 time.
 Maybe this is not a permanent fix and maybe it has just reduced the
 frequency of freezings. But as I mentioned before, so far I have not
 seen a single freeze since I made that change 2 days ago.

 On Sep 21, 4:05 pm, Robert Green rbgrn@gmail.com wrote:







  And it was happening reliably before?

  On Sep 21, 12:48 pm, timedilation udayan.k...@gmail.com wrote:

   I haven't seen any freeze since making that change (I am only testing
   this on the HTC Desire running 2.2)

   On Sep 21, 1:32 pm, Robert Green rbgrn@gmail.com wrote:

So after finishing with glFinish(), you haven't seen a freeze at all
or you just saw one now?  I'm not sure what to make of the until now
part :)

If you really think that's making a difference, I'll try it out and
see if it makes a difference for my games as well, though I have to
play for about an hour to see it happen.

On Sep 21, 12:10 pm, timedilation udayan.k...@gmail.com wrote:

 Not sure if the following will fix the freezing in all cases but it
 appears to have fixed it in my app. I still have my fingers crossed
 about it although my app hasn't frozen for a while now - even when I
 let it run overnight on an HTC Desire 2.2.

 I first took the source code of GLSurfaceView into my custom class and
 added this line immediately before the eglSwapBuffer() call in the
 EGLHelper class function:

 mEgl.glWaitGL();

 This is a blocking call that waits for all existing GL commands to be
 processed before returning. With this line, the freezing seems to have
 stopped.

 I then realized that the glFinish() function does the same thing. So I
 went back to using the built-in GLSurfaceView and added the glFinish()
 call at the very end of my renderer.onDrawFrame() function. This had
 the same effect and I haven't seen a freeze until now. I suspect this
 call is just making the loop wait explicitly for all GL commands to be
 processed before rendering again. I took a look in the profiler and
 this call did not add any extra overhead (likely because the
 eglSwapBuffers() is also a blocking call and does the same thing -
 except that it freezes randomly).

 If the freezing starts again, I will update this post.
 Hope this works for you all out there too.

 On Sep 17, 7:46 am, String sterling.ud...@googlemail.com wrote:

  It's not all OpenGL implementations, that's for sure. I have 2 apps
  with OpenGL live wallpapers; one has had the lockup problem, the 
  other
  hasn't. Architecturally, they're very similar - I based the later 
  one
  off the earlier. It was by pursuing the differences (like changing
  textures mid-stream, as I discussed in an earlier post) that I've 
  been
  able to stop the lockups so far.

  String

  On Sep 17, 4:26 am, timedilation udayan.k...@gmail.com wrote:

   I have played games like Winds of Steel for hours on my HTC 
   desire.
   Surely they must be using opengl as well (I think). And the FPS is
   also pretty good. How's it that those games do not freeze at all? 
   I
   need to dissect those and see what calls they are making.

   On Sep 15, 12:17 pm, Jeremy Statz jst...@gmail.com wrote:

I just let the same wallpaper run uninterrupted on a Motorola 
Droid
for something like 16 hours and it's still fine.  I would've 
expected
my Incredible to have hit the problem by then.  I also haven't 
heard
any reports of this from folks with a  Galaxy S variant.

On Sep 14, 7:38 pm, timedilation udayan.k...@gmail.com wrote:

 This appears to be an HTC specific bug. My app never freezes 
 on the
 Motorla Droid. EVER. It is very stable on the Droid and I 
 have tested
 it for about 4months without a single freeze. Interestingly 
 though it
 never froze on my G1 either. The G1 I have is the ADP1 phone 
 I bought
 directly from Google.

 All other HTC phones that I have exhibit the freezing - Evo, 
 Desire
 and Nexus One (which is also from HTC I believe).

 Apart from that I tested it for a month on Samsung Moment. 
 There was
 

[android-developers] AndroidHttpClient documentation error - no ability to add interceptor

2010-09-30 Thread Carl H.
The documentation mention that AndroidHttpClient subclass
DefaultHttpClient while it implements HttpClient. Furthermore, it says
that it gives the ability to users to add interceptors which is not
the case. Currently implementing my own until fixed.

Thanks,
Carl

-- 
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, 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: Hi All, Please help me!!

2010-09-30 Thread Andy Burns

Ulzii wrote:


When I upload my Android App to market it gives as next message:
The certificate that signed this apk is not valid until the future.
Create a new certificate.
I setup my duration 50 years. I have signed my App from Eclippse.


Sounds like the problem isn't the expiry time of your certificate, but 
the issued at 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


Re: [android-developers] Re: OpenGL lockups in 2.2

2010-09-30 Thread Leigh McRae
 You might want to look into the eglWait functions that are used to 
synchronize with the native rendering system.


On 9/30/2010 2:07 PM, Jeremy Statz wrote:

I've tested this extensively at this point (including a 20-hour run on
an Incredible) and I think you're right, calling glFinish() seems like
it largely fixes the problem.  Wow, I'd really thought that one was
outmoded.

Related to this, the most recent EVO update was causing the
framebuffer to flicker with black squares sometimes on my wallpapers,
and calling glFinish() fixed that too.  And it fixed a similar
corruption I had reported a few days ago on the Nexus one.  It's the
magic HTC fixer-upper!

TimeDilation, you're my hero.


On Sep 21, 3:26 pm, timedilationudayan.k...@gmail.com  wrote:

It was happening between 1 - 45 minutes into the app. Every single
time.
Maybe this is not a permanent fix and maybe it has just reduced the
frequency of freezings. But as I mentioned before, so far I have not
seen a single freeze since I made that change 2 days ago.

On Sep 21, 4:05 pm, Robert Greenrbgrn@gmail.com  wrote:








And it was happening reliably before?
On Sep 21, 12:48 pm, timedilationudayan.k...@gmail.com  wrote:

I haven't seen any freeze since making that change (I am only testing
this on the HTC Desire running 2.2)
On Sep 21, 1:32 pm, Robert Greenrbgrn@gmail.com  wrote:

So after finishing with glFinish(), you haven't seen a freeze at all
or you just saw one now?  I'm not sure what to make of the until now
part :)
If you really think that's making a difference, I'll try it out and
see if it makes a difference for my games as well, though I have to
play for about an hour to see it happen.
On Sep 21, 12:10 pm, timedilationudayan.k...@gmail.com  wrote:

Not sure if the following will fix the freezing in all cases but it
appears to have fixed it in my app. I still have my fingers crossed
about it although my app hasn't frozen for a while now - even when I
let it run overnight on an HTC Desire 2.2.
I first took the source code of GLSurfaceView into my custom class and
added this line immediately before the eglSwapBuffer() call in the
EGLHelper class function:
mEgl.glWaitGL();
This is a blocking call that waits for all existing GL commands to be
processed before returning. With this line, the freezing seems to have
stopped.
I then realized that the glFinish() function does the same thing. So I
went back to using the built-in GLSurfaceView and added the glFinish()
call at the very end of my renderer.onDrawFrame() function. This had
the same effect and I haven't seen a freeze until now. I suspect this
call is just making the loop wait explicitly for all GL commands to be
processed before rendering again. I took a look in the profiler and
this call did not add any extra overhead (likely because the
eglSwapBuffers() is also a blocking call and does the same thing -
except that it freezes randomly).
If the freezing starts again, I will update this post.
Hope this works for you all out there too.
On Sep 17, 7:46 am, Stringsterling.ud...@googlemail.com  wrote:

It's not all OpenGL implementations, that's for sure. I have 2 apps
with OpenGL live wallpapers; one has had the lockup problem, the other
hasn't. Architecturally, they're very similar - I based the later one
off the earlier. It was by pursuing the differences (like changing
textures mid-stream, as I discussed in an earlier post) that I've been
able to stop the lockups so far.
String
On Sep 17, 4:26 am, timedilationudayan.k...@gmail.com  wrote:

I have played games like Winds of Steel for hours on my HTC desire.
Surely they must be using opengl as well (I think). And the FPS is
also pretty good. How's it that those games do not freeze at all? I
need to dissect those and see what calls they are making.
On Sep 15, 12:17 pm, Jeremy Statzjst...@gmail.com  wrote:

I just let the same wallpaper run uninterrupted on a Motorola Droid
for something like 16 hours and it's still fine.  I would've expected
my Incredible to have hit the problem by then.  I also haven't heard
any reports of this from folks with a  Galaxy S variant.
On Sep 14, 7:38 pm, timedilationudayan.k...@gmail.com  wrote:

This appears to be an HTC specific bug. My app never freezes on the
Motorla Droid. EVER. It is very stable on the Droid and I have tested
it for about 4months without a single freeze. Interestingly though it
never froze on my G1 either. The G1 I have is the ADP1 phone I bought
directly from Google.
All other HTC phones that I have exhibit the freezing - Evo, Desire
and Nexus One (which is also from HTC I believe).
Apart from that I tested it for a month on Samsung Moment. There was
NO freezing there either.
I have been in touch with a Google developer advocate and I have
submitted the bug report to his team. They are looking into this as
well.
On Sep 14, 8:23 pm, Jeremy Statzjst...@gmail.com  wrote:

That's my experience as well.  All my log results say that there's no
loading or anything necessary -- the frame 

[android-developers] Mount sdcard USB Storage through adb.

2010-09-30 Thread Nathan
I can't seem to find a command that will allow me to mount/unmount the
sdcard from the adb prompt.

From the documentation, it appears that this can't be done in an
emulator, so I am trying with a Nexus One.

I would like to simulate the card being mounted or unmounted while my
Activity is active. I can't do this on the Nexus One through the
notification menu, because this will pause and then resume and
activity, during which time storage card broadcast notifications are
not sent.

I know other devices can and do mount the storage without leaving an
Activity, in particular because they will automount the storage
whenever the USB is plugged in (according to users, even if you tell
it not to). For that reason, this is a case I want to test.

Nathan

-- 
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, 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: Java classes not inclded in android

2010-09-30 Thread Fabrizio Giudici

 On 9/28/10 01:49 , Lance Nanek wrote:

I kind of managed this the other day in a hackish sort of way. I
wanted to use an open source RSS library that used java.beans.** Java
classes, which aren't in Android. So I downloaded the source for those
classes from the Apache Harmony project, ripped out all the references
to AWT stuff, and got the library source code imported and compiling
against it. Then I refactored the packages to notjava.beans.**. So
anyway, sometimes you can work out a substitute for the missing Java
classes and alter all references to point to that substitute.
I've answered to this question a number of times recently... The 
quickest way to do this is not by refactoring the classes, but by using 
static bytecode manipulation tools. They are able to replace the 
references directly in bytecode, without need of patching sources and 
recompile them. They are available both for Ant and Maven.


--
Fabrizio Giudici - Java Architect, Project Manager
Tidalwave s.a.s. - We make Java work. Everywhere.
java.net/blog/fabriziogiudici - www.tidalwave.it/people
fabrizio.giud...@tidalwave.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


Re: [android-developers] Hi All, Please help me!!

2010-09-30 Thread TreKing
On Thu, Sep 30, 2010 at 12:56 PM, Ulzii ter...@gmail.com wrote:

 The certificate that signed this apk is not valid until the future.


This usually means the time on your computer, at the time you signed your
app, was ahead of the real current time.

Try manually resetting your system clock to like a day in the past and try
again.

-
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

[android-developers] Re: Is anyone's active install % dropping like a rock lately?

2010-09-30 Thread scott19_68
FYI:  Updated one of my apps that was affected by this issue - active
install percentage holding steady now, but has not returned to
anywhere close to 4 weeks ago.  Would like to know if past cases where
updates were counted as uninstalls are ever going to be corrected...

On Sep 18, 1:37 pm, Peter Sinnott psinn...@gmail.com wrote:
 Received this update this morning :

 Hello,

 We'd like to give you an update on this issue. We've previously stated
 that some application updates are incorrectly being counted as pure
 uninstalls rather than updates, causing the active installs metric to
 drop. We have now identified the root cause, and are working on a fix
 that we hope to release next week. However, due to the nature of the
 interaction between the Market client and our reporting
 infrastructure, it may take up to several weeks for your metrics in
 the Developer Console to return to normal. Again, we apologize for any
 inconvenience, and will keep you posted on our progress.

 Thank you for your continued patience.

-- 
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, 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] Anchors aren't working

2010-09-30 Thread paladin
In an HTML page, I have at one place, a name=updates/a, but in a
WebView, when I click on a href=#updatesupdates/a, it doesn't
jump to the correct place. It works fine if I load that page in a
browser. It does nothing but mark that link as visited in the WebView.
Is there some setting that I'm not correctly configuring?

-- 
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, 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: Is anyone's active install % dropping like a rock lately?

2010-09-30 Thread Greg Donald
On Thu, Sep 30, 2010 at 2:12 PM, scott19_68 sw.cop...@gmail.com wrote:
 FYI:  Updated one of my apps that was affected by this issue - active
 install percentage holding steady now, but has not returned to
 anywhere close to 4 weeks ago.  Would like to know if past cases where
 updates were counted as uninstalls are ever going to be corrected...

Surely Google has log files they can use to fix things.


-- 
Greg Donald
destiney.com | gregdonald.com

-- 
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, 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] Need Ur Suggestion with Remote Service.

2010-09-30 Thread Jatin D Patel
My project is highly dependent on retrieving data via Remote Service.

For that i have one option of writing php scripts for calling via remote
http urls.

1. Is the methodology which i am going to adopt Efficient, bec there will be
almsot 15 php scripts for a single user throught an app.?
2. If Not plz suggest . an alternative.

Thanks for reply.

-- 
Thanks,
Jatin D N Patel
Masters, Computer Sci.
Suny Binghamton Univ, NY.

You Got To Think HIGH to RISE.

-- 
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, 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: Is anyone's active install % dropping like a rock lately?

2010-09-30 Thread Justin Giles
I updated one of my apps on Tuesday.  I have noticed that the active install
numbers were accumulating at a higher rate than my download numbers.  So, I
think as people update the app, it is putting the active installs back to
normal.  So far I've only gone up 1%, but it's nice to see it seemingly go
back to normal.

Justin


On Thu, Sep 30, 2010 at 2:34 PM, Greg Donald gdon...@gmail.com wrote:

 On Thu, Sep 30, 2010 at 2:12 PM, scott19_68 sw.cop...@gmail.com wrote:
  FYI:  Updated one of my apps that was affected by this issue - active
  install percentage holding steady now, but has not returned to
  anywhere close to 4 weeks ago.  Would like to know if past cases where
  updates were counted as uninstalls are ever going to be corrected...

 Surely Google has log files they can use to fix things.


 --
 Greg Donald
 destiney.com | gregdonald.com

 --
 You received this message because you are subscribed to the Google
 Groups Android Developers group.
 To post to this group, send email to android-developers@googlegroups.com
 To unsubscribe from this group, send email to
 android-developers+unsubscr...@googlegroups.comandroid-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

[android-developers] default email

2010-09-30 Thread richie rich
did google write the default email app?

is the source code anywhere?

i guess i'll have to fix it myself, because it is utter crap. loses my
account settings weekly, and now, it is pulling in my gmail account
bodies (that isn't even setup in that client) for the emails in my
exchange account.

brand new phone. shiny 2.1 os

i know this is the dev site, so i'll just fix it myself and roll my
own email client since google apparently is too busy fixing the bugs
in cars nowadays to deliver decent applications that 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


Re: [android-developers] Anchors aren't working

2010-09-30 Thread Greg Donald
On Thu, Sep 30, 2010 at 2:20 PM, paladin quoti...@gmail.com wrote:
 In an HTML page, I have at one place, a name=updates/a, but in a
 WebView, when I click on a href=#updatesupdates/a, it doesn't
 jump to the correct place. It works fine if I load that page in a
 browser. It does nothing but mark that link as visited in the WebView.
 Is there some setting that I'm not correctly configuring?

You might try using full urls and implement you own shouldOverrideUrlLoading():

public class MyWebViewClient extends WebViewClient
{
  public boolean shouldOverrideUrlLoading( WebView view, String url )
  {
view.loadUrl( url );
return true;
  }
}

I'm guessing it's failing because your hrefs to your named anchors
aren't full urls, or you need to tell your webview to follow your
clicks, or both.


-- 
Greg Donald
destiney.com | gregdonald.com

-- 
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, 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: Anchors aren't working

2010-09-30 Thread paladin
OK, found the answer. The WebView was in a ScrollView, when that is
unnecessary, and that was messing up the navigation.

On Sep 30, 3:20 pm, paladin quoti...@gmail.com wrote:
 In an HTML page, I have at one place, a name=updates/a, but in a
 WebView, when I click on a href=#updatesupdates/a, it doesn't
 jump to the correct place. It works fine if I load that page in a
 browser. It does nothing but mark that link as visited in the WebView.
 Is there some setting that I'm not correctly configuring?

-- 
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, 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: Is anyone's active install % dropping like a rock lately?

2010-09-30 Thread Greg Donald
On Thu, Sep 30, 2010 at 2:43 PM, Justin Giles jtgi...@gmail.com wrote:
 I updated one of my apps on Tuesday.  I have noticed that the active install
 numbers were accumulating at a higher rate than my download numbers.  So, I
 think as people update the app, it is putting the active installs back to
 normal.  So far I've only gone up 1%, but it's nice to see it seemingly go
 back to normal.
 Justin

Normal?  You mean like all the way back to December when it broke?
Yeah, that'd be nice.


-- 
Greg Donald
destiney.com | gregdonald.com

-- 
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, 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] default email

2010-09-30 Thread Chris Stewart
I'd love to see your attempt to fix it yourself.  No really, I would...

--
Chris Stewart
http://chriswstewart.com

Fantasy 
Footballhttp://chriswstewart.com/android-applications/fantasy-football/-
Android app for MFL fantasy football owners


On Thu, Sep 30, 2010 at 3:53 PM, richie rich rich.al...@gmail.com wrote:

 did google write the default email app?

 is the source code anywhere?

 i guess i'll have to fix it myself, because it is utter crap. loses my
 account settings weekly, and now, it is pulling in my gmail account
 bodies (that isn't even setup in that client) for the emails in my
 exchange account.

 brand new phone. shiny 2.1 os

 i know this is the dev site, so i'll just fix it myself and roll my
 own email client since google apparently is too busy fixing the bugs
 in cars nowadays to deliver decent applications that 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.comandroid-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

[android-developers] Re: OpenGL lockups in 2.2

2010-09-30 Thread timedilation
Jeremy, Glad to note that is has so far worked out for you.

Leigh, to your point, I also tested this with an explicit call to
eglWaitGL() function in my own version of GLSurfaceView (basically
this call was added just before the eglSwapBuffer() call). This also
fixed the freezing in my case. I just resorted to using glFinish()
because that way I didn't have to use my own version of GLSurfaceView.
So if Google changed their GLSurfaceView in the next release, my code
will not be affected much.

When I mentioned this to a Google developer advocate and he said that
this still needs to be fixed in the OS since it is an OS level bug.
eglSwapBuffers() called glFlush() internally anyways but it ends up
getting deadlocked once in a while on some of these devices we have
seen. Explicitly calling eglWaitGL() or glFinish() in the renderloop
*before* the eglSwapBuffers() appears to have fixed this issue in many
(if not all) cases. I still have users reporting to me that their
phones freezing even with the latest update, albeit much less
frequently.

Let's hope for Google to fix this once and for all in their next
release.



On Sep 30, 2:26 pm, Leigh McRae leigh.mc...@lonedwarfgames.com
wrote:
   You might want to look into the eglWait functions that are used to
 synchronize with the native rendering system.

 On 9/30/2010 2:07 PM, Jeremy Statz wrote:





  I've tested this extensively at this point (including a 20-hour run on
  an Incredible) and I think you're right, calling glFinish() seems like
  it largely fixes the problem.  Wow, I'd really thought that one was
  outmoded.

  Related to this, the most recent EVO update was causing the
  framebuffer to flicker with black squares sometimes on my wallpapers,
  and calling glFinish() fixed that too.  And it fixed a similar
  corruption I had reported a few days ago on the Nexus one.  It's the
  magic HTC fixer-upper!

  TimeDilation, you're my hero.

  On Sep 21, 3:26 pm, timedilationudayan.k...@gmail.com  wrote:
  It was happening between 1 - 45 minutes into the app. Every single
  time.
  Maybe this is not a permanent fix and maybe it has just reduced the
  frequency of freezings. But as I mentioned before, so far I have not
  seen a single freeze since I made that change 2 days ago.

  On Sep 21, 4:05 pm, Robert Greenrbgrn@gmail.com  wrote:

  And it was happening reliably before?
  On Sep 21, 12:48 pm, timedilationudayan.k...@gmail.com  wrote:
  I haven't seen any freeze since making that change (I am only testing
  this on the HTC Desire running 2.2)
  On Sep 21, 1:32 pm, Robert Greenrbgrn@gmail.com  wrote:
  So after finishing with glFinish(), you haven't seen a freeze at all
  or you just saw one now?  I'm not sure what to make of the until now
  part :)
  If you really think that's making a difference, I'll try it out and
  see if it makes a difference for my games as well, though I have to
  play for about an hour to see it happen.
  On Sep 21, 12:10 pm, timedilationudayan.k...@gmail.com  wrote:
  Not sure if the following will fix the freezing in all cases but it
  appears to have fixed it in my app. I still have my fingers crossed
  about it although my app hasn't frozen for a while now - even when I
  let it run overnight on an HTC Desire 2.2.
  I first took the source code of GLSurfaceView into my custom class and
  added this line immediately before the eglSwapBuffer() call in the
  EGLHelper class function:
  mEgl.glWaitGL();
  This is a blocking call that waits for all existing GL commands to be
  processed before returning. With this line, the freezing seems to have
  stopped.
  I then realized that the glFinish() function does the same thing. So I
  went back to using the built-in GLSurfaceView and added the glFinish()
  call at the very end of my renderer.onDrawFrame() function. This had
  the same effect and I haven't seen a freeze until now. I suspect this
  call is just making the loop wait explicitly for all GL commands to be
  processed before rendering again. I took a look in the profiler and
  this call did not add any extra overhead (likely because the
  eglSwapBuffers() is also a blocking call and does the same thing -
  except that it freezes randomly).
  If the freezing starts again, I will update this post.
  Hope this works for you all out there too.
  On Sep 17, 7:46 am, Stringsterling.ud...@googlemail.com  wrote:
  It's not all OpenGL implementations, that's for sure. I have 2 apps
  with OpenGL live wallpapers; one has had the lockup problem, the other
  hasn't. Architecturally, they're very similar - I based the later one
  off the earlier. It was by pursuing the differences (like changing
  textures mid-stream, as I discussed in an earlier post) that I've been
  able to stop the lockups so far.
  String
  On Sep 17, 4:26 am, timedilationudayan.k...@gmail.com  wrote:
  I have played games like Winds of Steel for hours on my HTC desire.
  Surely they must be using opengl as well (I think). And the FPS is
  also pretty 

[android-developers] Unknown group for SyncAdapter

2010-09-30 Thread Stephen Lau
I've built my own SyncAdapter and things seem to work okay, except on 
TouchWiz  Motoblur phones, there seems to be a label set as Unknown


On TouchWiz, this is visible if you look at the linked contacts for a 
contact, it shows Unknown as the provider.  Similarly if I go to the 
Groups tab in Contacts, it calls the group that all my SyncAdapter 
managed contacts are in as Unknown.


It seems like I'm just not setting a label somewhere somehow, but I 
can't figure out where.  Anyone familiar with this?


cheers,
steve
--
stephen lau | st...@grommit.com | http://whacked.net | @stevel

--
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, 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] default email

2010-09-30 Thread Kostya Vasilyev
Take a look at k9mail - it's an open-sourced project based on the built-in
email client, with improvements and fixes. Perhaps it would be a good place
to contribute, or fork your own efforts while leveraging their work.

--
Kostya Vasilyev -- http://kmansoft.wordpress.com

30.09.2010 23:53 пользователь richie rich rich.al...@gmail.com написал:

did google write the default email app?

is the source code anywhere?

i guess i'll have to fix it myself, because it is utter crap. loses my
account settings weekly, and now, it is pulling in my gmail account
bodies (that isn't even setup in that client) for the emails in my
exchange account.

brand new phone. shiny 2.1 os

i know this is the dev site, so i'll just fix it myself and roll my
own email client since google apparently is too busy fixing the bugs
in cars nowadays to deliver decent applications that 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.comandroid-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

[android-developers] Re: Proguard, Android, and the Licensing Server, or...

2010-09-30 Thread Dan Galpin
I'm glad we can finally talk about this.

http://android-developers.blogspot.com/2010/09/more-countries-more-sellers-more-buyers.html

Cheers,
Dan
-
Dan Galpin
Developer Advocate
Google, Inc.
-
If you actually want answers to your questions, it's far better to
post them here, because the collective brain of this forum far exceeds
my own.
-
On Sep 24, 12:54 am, gjs garyjamessi...@gmail.com wrote:
 Hi,

 I'd love to be in a position of being concerned about piracy, LVL,
 Progard  obfuscated stack traces.

 But alas I'm still one of the many dev's situated in a region
 (Australia) were I can buy apps from the Android Market but not
 publish a paid app.

 This is a big ongoing disincentive and leaves me to just publish free
 apps for kudos alone.

 Regards

 Plugs his free app anyway -

 Imageotag is a precision field camera app for Android V1.5+ devices.
 Imageotag snaps 16:9 geo-tagged images, embedding GPS  NET location,
 accelerometer, bearing, compass, date, light lux, magnetic field,
 pitch, proximity, roll, speed, temperature  time data.
 Imageotag creates Google Earth Tours from GPS image sequences.

 http://www.imageotag.com

 On Sep 24, 5:04 pm, Indicator Veritatis mej1...@yahoo.com wrote:

  Google has too long a history of stonewalling and foot dragging. You
  NEED that kind of 'motivation' -- unless you finally learn to take
  responsibility for committing to fix your bugs without such unpleasant
  prodding.

  When, for example, are you going to fix AAC+ support in StageFright?
  When will you fix 5211? It has been open since Dec 4, 2009! And what
  about 2207? It has been open for longer, since March 2009. And it is
  much more serious. You are losing customers because of this bug, yet
  you do nothing.

  Finally, would you consider the previous poster's proposal of running
  for the hills more motivating? Which would you rather have?
  Developers abandoning the Android platform because of the poor
  prognosis for Proguard, or developers who stick with the platform but
  loudly call for badly needed change?

  On Sep 23, 9:34 pm, Dianne Hackborn hack...@android.com wrote:

   On Thu, Sep 23, 2010 at 6:50 PM, Indicator Veritatis 
   mej1...@yahoo.comwrote:

But rather than run for the hills, we should pepper Google with
uncomplimentary speculations concerning their motives for this turd
layering until they 'fess up and give us a release date for a version
of ADT that will allow us to include Proguard in an Eclipse build
WITHOUT these problems.

   You sure know how to motivate people.

   --
   Dianne Hackborn
   Android framework engineer
   hack...@android.com

   Note: please don't send private questions to me, as I don't have time to
   provide private support, and so won't reply to such e-mails.  All such
   questions should be posted on public forums, where I and others can see 
   and
   answer them.

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


[android-developers] JavaScript Debugging

2010-09-30 Thread Dan
Hello,

I've been trying to debug JavaScript in the emulator using the
instructions provided at 
http://developer.android.com/guide/developing/debug-tasks.html#DebuggingWebPages
but it has not worked. I am not using a customized WebView so I have
not overridden  WebView.onConsoleMessage(). Also, the same page works
well in Chrome and Firefox.  Is there anything I could be missing?

-Dan

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


  1   2   >