Re: [android-developers] Re: My First Android App

2013-04-16 Thread Saurav
Admin, block the person please. This isn't the forum for such mails!



Regards,
Saurav Mukherjee.

Twitter 
Facebook 


On Mon, Apr 15, 2013 at 9:37 PM, bob  wrote:

> I like it.
>
> You may want to change the name though as "*Quickly Search Installed Apps*"
> is kind of long and not-so-catchy.
>
> Thanks.
>
>
>
> On Thursday, April 4, 2013 11:27:56 AM UTC-5, Satendra Pratap wrote:
>>
>> Hi All,
>>
>> Please install my first android Free APP : "Quickly" available in Google
>> Play
>> store at :
>>
>> https://play.google.com/store/**apps/details?id=com.in.spd.**
>> quickly.activity&feature=**search_result#?t=**
>> W251bGwsMSwyLDEsImNvbS5pbi5zcG**QucXVpY2tseS5hY3Rpdml0eSJd
>>
>> Please comment and provide rating too. Thank you for your nice comments
>> and nice rating in advance :)
>> You can find user review at the bottom of the page and rating at the
>> right side of App Description.
>>
>> Please forward it to your friends also.
>>
>> It will be a great help.
>>
>> Satendra
>>
>  --
> --
> You received this message because you are subscribed to the Google
> Groups "Android Developers" group.
> To post to this group, send email to android-developers@googlegroups.com
> To unsubscribe from this group, send email to
> android-developers+unsubscr...@googlegroups.com
> For more options, visit this group at
> http://groups.google.com/group/android-developers?hl=en
> ---
> You received this message because you are subscribed to the Google Groups
> "Android Developers" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to android-developers+unsubscr...@googlegroups.com.
> For more options, visit https://groups.google.com/groups/opt_out.
>
>
>

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




[android-developers] Re: Multiple parent for a single child View

2013-04-16 Thread Mikołaj Kąkol
You can resuse single View in multiple Activities, but I would use 
Application Context to create that View. You need to call this 
(ViewGroup(view.getParrent)).removeView(view) onPause or in onStop. Pass 
that view reference to helper class, and from Activity B you can resuse 
that View.



W dniu wtorek, 16 kwietnia 2013 07:06:31 UTC+2 użytkownik Jayu napisał:
>
> Hi,
>
> Need help in understanding the following case,
>
> Say I have a view '*child*' created in Application context, I add '*child*' 
> to a parent '*Parent A*' which is in context of Activity '*A*'.
>
> I switch the activity to Activity '*B*' where I would want to add '*child*' 
> to parent '*Parent B'* which is in context of Activity '*B*'
>
> Tried doing* 'Parent A'.removeview(child)* in onpause of '*A*'
>
> it was of no much help.
>
>
> Question, can we reuse a single view to multiple parents without 
> recreating the view ?
>
>
> Thank you,
>
> Regards,
> Jayanand
>
>
>
>
>

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




Re: [android-developers] Re: Improve data retriveing time from server.

2013-04-16 Thread sree android
thank you friends.

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




[android-developers] Usage of platform/packages/apps/Exchange and patent issues

2013-04-16 Thread Mikołaj Kąkol
Hi,

I'm porting native Android Mail client and I would like to have Exchange 
support. While porting Exchange which I found 
here i 
found that patent 
disclaimerthing.
 What does it really mean for me? Should I be worried that MS will 
hunt on my application?

Microsoft gives for Exchange support this EWS Java 
API, 
should I move to that implementation? What's the difference for MS if I use 
EWS Java (which source code is available) or I use that Google solution?


If anyone can write about experiences about that I'd love to read about 
that.


Best
Mikołaj

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




Re: [android-developers] Re: Improve data retriveing time from server.

2013-04-16 Thread Renuka Deshpande
You can do one thing when you parse your data show it simultaneously update
screen  we can do this...

Thanks & Regards,
Renuka


On Tue, Apr 16, 2013 at 3:31 PM, sree android
wrote:

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

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




[android-developers] How to remove class file editor in the debug perspective in eclipse indigo

2013-04-16 Thread karan hans
Hi, 
Could you please have a look at
http://stackoverflow.com/questions/16033382/how-to-remove-class-file-editor-in-the-debug-perspective-in-eclipse-indigo

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




Re: [android-developers] Re: bitmapfun project possible bug

2013-04-16 Thread tsioularisa
i read this and maybe is this a possible fault as i run the app in 
Gingebird! But except the asynchtask that is being used in the clearCache() 
in  the beginning of the imageWorker in the loadImage the following 
asynctask is being used.

// NOTE: This uses a custom version of AsyncTask that has been pulled from 
the
// framework and slightly modified. Refer to the docs at the 
top of the class
// for more info on what was changed.
task.executeOnExecutor(AsyncTask.DUAL_THREAD_EXECUTOR, data);
}

is this a possible part of code which causes the problem? Which is your 
proposal for clearing the cases every time the user leaves the activity! In 
my app when the user leaves this activity he doesn't totally close the app. 
He navigates back to the home activity? Also how do you explain that the 
problem is being caused only when i switch between wifi and data package 
network and relaunch the app? As you can see from the logcat the previous 
loadimage hasn't been totally cleared? What do i do wrong? 

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




[android-developers] [off-topic] Convite Flisol 2013, Novo Hamburgo 2013

2013-04-16 Thread gabriel.mol...@gmail.com
Venha conhecer o Software Livre e participar de uma comunidade que
controla e compartilha o software que usa. Use todo o potencial do
seu computador sem abrir mão da sua liberdade de executar, copiar,
distribuir, estudar, modificar e aperfeiçoar o software.

* Data: 27/04/2013
* Hora: 13h às 17h
* Local: Campus II da FEEVALE, Salão de Exposições do Prédio
  Arenito - Novo Hamburgo / RS
* Investimento: evento gratuito
* Mais informações: http://wiki.softwarelivre-vs.org/FLISOL2013


Programação

* Demonstração de computadores rodando Software Livre
* Instalação e distribuição de Software Livre
* Open Spaces
* Festa de assinatura de chaves OpenPGP
* Palestras nas seguintes áreas:

  * Desenvolvimento
* Vantagens e Desvantagens wordpress
* Novas possibilidades no desenvolvimento web com a HTML5
* Não Faça Gambiarras, Use Design Patterns!

  * Redes e comunicação
* Instalação de impressora server cups Ubuntu 12.04 LTS
* Como comprar ou montar um ZFS Data Storage Server e sua rede
  SAN iSCSI e rede NAS com Debian, FreeNAS, OpenIndiana, Nexenta
* Zarafa: descubra como a girafa pode colaborar com você!
* Como gerenciar uma nuvem pública ou privada utilizando o
  Openstack

  * Educação
* Mesa Redonda: Software Livre na Educação: Possibilidades,
  experiências e desafios

  * Diversos
* O que é Bitcoin?


FLISOL 2013

O FLISOL (Festival Latino-americano de Instalação de Software
Livre) é o maior evento de difusão de Software Livre da América
Latina. É realizado desde o ano de 2005 e seu principal objetivo é
promover o uso de Software Livre, dando a conhecer ao público em
geral a sua filosofia, alcance, avanços e desenvolvimento.


SoftwareLivreVS

Grupo de Usuários de Software Livre da Região do Vale do Sinos,
unidos para melhor discutirem assuntos relacionados e criarem formas
de expansão do ideal do Software Livre.

http://www.softwarelivre-vs.org
http://wiki.softwarelivre-vs.org


Gravação de CDs/DVDs

Se desejar, traga sua mídia de CD/DVD para gravar uma das diversas
distribuições de sistemas operacionais livres que ofereceremos.

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




Re: [android-developers] Re: bitmapfun project possible bug

2013-04-16 Thread bob
Maybe try changing this line:

public static final Executor SERIAL_EXECUTOR = Utils.hasHoneycomb() ? 
new SerialExecutor() :
Executors.newSingleThreadExecutor(sThreadFactory);

to this:

*public static final Executor SERIAL_EXECUTOR = *
*Executors.newSingleThreadExecutor(sThreadFactory);*

Thanks.




On Tuesday, April 16, 2013 7:35:15 AM UTC-5, tsioularisa wrote:
>
> i read this and maybe is this a possible fault as i run the app in 
> Gingebird! But except the asynchtask that is being used in the clearCache() 
> in  the beginning of the imageWorker in the loadImage the following 
> asynctask is being used.
>
> // NOTE: This uses a custom version of AsyncTask that has been pulled from 
> the
> // framework and slightly modified. Refer to the docs at the 
> top of the class
> // for more info on what was changed.
> task.executeOnExecutor(AsyncTask.DUAL_THREAD_EXECUTOR, data);
> }
>
> is this a possible part of code which causes the problem? Which is your 
> proposal for clearing the cases every time the user leaves the activity! In 
> my app when the user leaves this activity he doesn't totally close the app. 
> He navigates back to the home activity? Also how do you explain that the 
> problem is being caused only when i switch between wifi and data package 
> network and relaunch the app? As you can see from the logcat the previous 
> loadimage hasn't been totally cleared? What do i do wrong? 
>

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




Re: [android-developers] Re: bitmapfun project possible bug

2013-04-16 Thread tsioularisa
The first comments of the asynctask declaration which is being used in this 
project and has been modified are the following:


/**
 * *
 * Copied from JB release framework:
 * 
https://android.googlesource.com/platform/frameworks/base/+/jb-release/core/java/android/os/AsyncTask.java
 *
 * so that threading behavior on all OS versions is the same and we can 
tweak behavior by using
 * executeOnExecutor() if needed.
 *
* * There are 3 changes in this copy of AsyncTask:*
* *-pre-HC a single thread executor is used for serial operation*
* *(Executors.newSingleThreadExecutor) and is the default*
* *-the default THREAD_POOL_EXECUTOR was changed to use 
DiscardOldestPolicy*
* *-a new fixed thread pool called DUAL_THREAD_EXECUTOR was added*
* * **
* **
*
*
so this change probably will not fix the problem!

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




Re: [android-developers] Re: javax.crypto.BadPaddingException: pad block corrupted

2013-04-16 Thread Todd Grigsby
If you want a consistent experience across platforms I would recommend
Chilkat. That's what we use and it makes encryption so much easier.
On Apr 4, 2013 11:58 PM, "Hiren Dabhi"  wrote:

> i don't know the encryption-decryption, you can try to change the last
> line for decrypt as,
>
> c.decrypt(new FileInputStream(fileNameInput)**, new FileOutputStream(**
> fileNameOutput));
>
>
> On Sunday, 18 March 2012 04:20:41 UTC+5:30, Italo Mendonça Rocha wrote:
>>
>> I'm trying to encrypt and decrypt a file using a key that the user typed. All
>> these operations are done in Android. At the moment I decrypt I get a
>> javax.crypto.**BadPaddingException: pad block corrupted. The same code works
>> normally on Windows PC. Why?
>>
>> Here is my code:
>>
>> *The call:*
>> *Encrypt:*
>> String fileNameInput = Environment.**
>> getExternalStorageDirectory().**toString() + File.separator +
>> SAVE_FOLDER + File.separator + "file";
>> String fileNameOutput = Environment.**
>> getExternalStorageDirectory().**toString() + File.separator + AVE_FOLDER
>> + File.separator + "file_crypted";
>> Crypto c = new Crypto(userKey);
>> c.encrypt(new FileInputStream(fileNameInput)**, new
>> FileOutputStream(**fileNameOutput));
>> *Decrypt:*
>> String fileNameInput = Environment.**
>> getExternalStorageDirectory().**toString() + File.separator +
>> SAVE_FOLDER + File.separator + "file_crypted";
>> String fileNameOutput = Environment.**
>> getExternalStorageDirectory().**toString() + File.separator + AVE_FOLDER
>> + File.separator + "file_decrypted";
>> Crypto c = new Crypto(userKey);
>> c.encrypt(new FileInputStream(fileNameInput)**, new
>> FileOutputStream(**fileNameOutput));
>>
>> *The class Crypto:*
>> import java.io.ByteArrayOutputStream;
>> import java.io.FileInputStream;
>> import java.io.FileOutputStream;
>> import java.io.InputStream;
>> import java.io.OutputStream;
>> import java.security.MessageDigest;
>> import java.security.SecureRandom;
>> import java.security.spec.**AlgorithmParameterSpec;
>>
>> import javax.crypto.Cipher;
>> import javax.crypto.**CipherInputStream;
>> import javax.crypto.**CipherOutputStream;
>> import javax.crypto.KeyGenerator;
>> import javax.crypto.SecretKey;
>> import javax.crypto.spec.**IvParameterSpec;
>> import javax.crypto.spec.**SecretKeySpec;
>>
>> import android.graphics.Bitmap;
>> import br.com.italomr.photocrypt.**util.Domain;
>> import br.com.italomr.photocrypt.**util.StringOutputStream;
>>
>> public class Crypto {
>> private Cipher ecipher;
>> private Cipher dcipher;
>>
>> private static final String AES = "AES";
>> private static final String AES_PADDING = "AES/CBC/PKCS5Padding";
>> private static final String MD5 = "MD5";
>> private static final String HEXES = "0123456789ABCDEF";
>>
>> /**
>>  * Input a string that will be md5 hashed to create the key.
>>  *
>>  * @return void, cipher initialized
>>  */
>>
>> public Crypto() {
>> try {
>> KeyGenerator kgen = KeyGenerator.getInstance(AES);
>> kgen.init(128);
>> this.setupCrypto(kgen.**generateKey());
>> } catch (Exception e) {
>> e.printStackTrace();
>> }
>> }
>>
>> public Crypto(String key) {
>> SecretKeySpec skey = new SecretKeySpec(getMD5(key), AES);
>> this.setupCrypto(skey);
>> }
>>
>> private void setupCrypto(SecretKey key) {
>> // Create an 8-byte initialization vector
>> byte[] iv = new byte[] { 0x00, 0x01, 0x02, 0x03, 0x04, 0x05,
>> 0x06, 0x07, 0x08, 0x09, 0x0a, 0x0b, 0x0c, 0x0d, 0x0e, 0x0f };
>>
>> AlgorithmParameterSpec paramSpec = new IvParameterSpec(iv);
>> try {
>> ecipher = Cipher.getInstance(AES_**PADDING);
>> dcipher = Cipher.getInstance(AES_**PADDING);
>>
>> // CBC requires an initialization vector
>> ecipher.init(Cipher.ENCRYPT_**MODE, key, paramSpec);
>> dcipher.init(Cipher.DECRYPT_**MODE, key, paramSpec);
>> } catch (Exception e) {
>> e.printStackTrace();
>> }
>> }
>>
>> // Buffer used to transport the bytes from one stream to another
>> byte[] buf = new byte[1024];
>>
>> public void encrypt(InputStream in, OutputStream out) {
>> try {
>> // Bytes written to out will be encrypted
>> out = new CipherOutputStream(out, ecipher);
>>
>> // Read in the cleartext bytes and write to out to encrypt
>> int numRead = 0;
>> while ((numRead = in.read(buf)) >= 0) {
>> out.write(buf, 0, numRead);
>> }
>> out.close();
>> } catch (java.io.IOException e) {
>> e.printStackTrace();
>> }
>> }
>>
>> public byte[] encrypt(byte[] data) {
>> try {
>> byte[] ciphertext = ecipher.doFinal(data);
>> 

Re: [android-developers] Re: bitmapfun project possible bug

2013-04-16 Thread bob
Okay.  In addition to the first change, try changing this line:

public static final Executor DUAL_THREAD_EXECUTOR =
Executors.newFixedThreadPool(2, sThreadFactory);

to this:

*public static final Executor DUAL_THREAD_EXECUTOR =*
*SERIAL_EXECUTOR;*


Thanks.


On Tuesday, April 16, 2013 11:35:31 AM UTC-5, tsioularisa wrote:
>
> The first comments of the asynctask declaration which is being used in 
> this project and has been modified are the following:
>
>
> /**
>  * *
>  * Copied from JB release framework:
>  * 
> https://android.googlesource.com/platform/frameworks/base/+/jb-release/core/java/android/os/AsyncTask.java
>  *
>  * so that threading behavior on all OS versions is the same and we can 
> tweak behavior by using
>  * executeOnExecutor() if needed.
>  *
> * * There are 3 changes in this copy of AsyncTask:*
> * *-pre-HC a single thread executor is used for serial operation*
> * *(Executors.newSingleThreadExecutor) and is the default*
> * *-the default THREAD_POOL_EXECUTOR was changed to use 
> DiscardOldestPolicy*
> * *-a new fixed thread pool called DUAL_THREAD_EXECUTOR was added*
> * * **
> * **
> *
> *
> so this change probably will not fix the problem!
>

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




Re: [android-developers] Re: bitmapfun project possible bug

2013-04-16 Thread tsioularisa
You are perfect! It seems that it works now. Probably the multithreading 
was causing the problem. The following scenario which happened after these 
changes reinforces the multithreading problem and the guess that some 
asynctask was awake after i exit the activity. The steps of this scenario 
are the following:

1) I opened the app as usual with wifi and everything was working fine.
2) Exit activity -> turn off wifi -> activate data network
3) Images began downloading and i exit the activity after the 4th image 
downloads
4) turn wifi on - > deactivate data network
5) relaunch the activity and then the download of the images continued 
after the 4th image

so it seems that the bitmapworkertask doesn't finish every time i exit the 
activity! That probably was causing the problem! Please confirm me if you 
agree! Finally which is your suggestion about when to call clearCaches()? 
One final question, what will be the impact of these changes in the 
performance of download? 

Thank you very much for your help and your interest!

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




[android-developers] add new api levels to emulator

2013-04-16 Thread John Merlino
I want to create a new target device on the emulator that targets
gingerbread. In Eclipse, I go to Window > AVD Manager > New and under
target I only see api level 15 and 16. What is the process to be able
to add gignerbread 2.3 to this list?

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




Re: [android-developers] add new api levels to emulator

2013-04-16 Thread TreKing
On Tue, Apr 16, 2013 at 2:25 PM, John Merlino  wrote:

> What is the process to be able to add gignerbread 2.3 to this list?
>

Use the SDK manager to download the relevant files for each API level you
want to test against.

-
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
--- 
You received this message because you are subscribed to the Google Groups 
"Android Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to android-developers+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.




Re: [android-developers] Hi use this free apps https://play.google.com/store/apps/details?id=com.manager.folder.jay&feature=search_result#?t=W251bGwsMSwxLDEsImNvbS5tYW5hZ2VyLmZvbGRlci5qYXkiXQ..

2013-04-16 Thread JackN
yes, I did just the application developer. It went very well. but I think my 
marketing is better than his bad attempt.

 
 

On Friday, April 5, 2013 11:11:16 AM UTC-7, parthi wrote:

> Did u developed newly app . What man u put one time thats good how many 
> times ? 
>
>  Thanks & Regards,
> Parthiban.k
> Software Engineer
> Mode FinServer Pvt. Ltd.
> Cell: +7204205850
> Email: parthisoft13...@gmail.com  |parthiban.k
> ...@modefinserver.com 
>
>
> On Fri, Apr 5, 2013 at 6:27 PM, Vinothkumar Apparao 
> 
> > wrote:
>
>> don't post you're personal app over here..  
>> you're spamming...
>>  
>>
>> On Fri, Apr 5, 2013 at 6:26 PM, Jayavelu Viswanathan <
>> android...@gmail.com > wrote:
>>
>>>  Hi use this free apps
>>>
>>> https://play.google.com/store/apps/details?id=com.manager.folder.jay&feature=search_result#?t=W251bGwsMSwxLDEsImNvbS5tYW5hZ2VyLmZvbGRlci5qYXkiXQ
>>> ..
>>>
>>> -- 
>>> -- 
>>> You received this message because you are subscribed to the Google
>>> Groups "Android Developers" group.
>>> To post to this group, send email to 
>>> android-d...@googlegroups.com
>>> To unsubscribe from this group, send email to
>>> android-developers+unsubscr...@googlegroups.com 
>>> For more options, visit this group at
>>> http://groups.google.com/group/android-developers?hl=en
>>> --- 
>>> You received this message because you are subscribed to the Google 
>>> Groups "Android Developers" group.
>>> To unsubscribe from this group and stop receiving emails from it, send 
>>> an email to android-developers+unsubscr...@googlegroups.com
>>> .
>>> For more options, visit https://groups.google.com/groups/opt_out.
>>>  
>>>  
>>>
>>
>>
>>
>> -- 
>>
>>
>> Thanks & Regards
>>
>> Vinoth Kumar A
>>   
>>
>>
>> - - - - - - - - - -
>> "Confidentiality Warning: This message and any attachments are intended 
>> only for the use of the intended recipient(s), are confidential and may be 
>> privileged. If you are not the intended recipient. you are hereby notified 
>> that any review, re-transmission, conversion to hard copy, copying, 
>> circulation or other use of this message and any attachments is strictly 
>> prohibited. If you are not the intended recipient. please notify the sender 
>> immediately by return email, and delete this message and any attachments 
>> from your system.
>>
>> Virus Warning: Although the company has taken reasonable precautions to 
>> ensure no viruses are present in this email, the company cannot accept 
>> responsibility for any loss or damage arising from the use of this email or 
>> attachment."
>>  
>> -- 
>> -- 
>> You received this message because you are subscribed to the Google
>> Groups "Android Developers" group.
>> To post to this group, send email to 
>> android-d...@googlegroups.com
>> To unsubscribe from this group, send email to
>> android-developers+unsubscr...@googlegroups.com 
>> For more options, visit this group at
>> http://groups.google.com/group/android-developers?hl=en
>> --- 
>> You received this message because you are subscribed to the Google Groups 
>> "Android Developers" group.
>> To unsubscribe from this group and stop receiving emails from it, send an 
>> email to android-developers+unsubscr...@googlegroups.com .
>> For more options, visit https://groups.google.com/groups/opt_out.
>>  
>>  
>>
>
>

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




[android-developers] Re: add new api levels to emulator

2013-04-16 Thread John Merlino
After I do that and launch the simulator for gingerbread, the app does
now show up at all on the screen even under managed apps, my app is
not there.

On Apr 16, 3:34 pm, TreKing  wrote:
> On Tue, Apr 16, 2013 at 2:25 PM, John Merlino  wrote:
> > What is the process to be able to add gignerbread 2.3 to this list?
>
> Use the SDK manager to download the relevant files for each API level you
> want to test against.
>
> --- 
> --
> 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
--- 
You received this message because you are subscribed to the Google Groups 
"Android Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to android-developers+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.




[android-developers] Re: Usage of platform/packages/apps/Exchange and patent issues

2013-04-16 Thread RichardC
You are asking for legal advice,  any information you get will be worth 
exactly what you paid for it.

On Tuesday, April 16, 2013 11:17:23 AM UTC+1, Mikołaj Kąkol wrote:
>
> Hi,
>
> I'm porting native Android Mail client and I would like to have Exchange 
> support. While porting Exchange which I found 
> here i 
> found that patent 
> disclaimerthing.
>  What does it really mean for me? Should I be worried that MS will 
> hunt on my application?
>
> Microsoft gives for Exchange support this EWS Java 
> API, 
> should I move to that implementation? What's the difference for MS if I use 
> EWS Java (which source code is available) or I use that Google solution?
>
>
> If anyone can write about experiences about that I'd love to read about 
> that.
>
>
> Best
> Mikołaj
>
>

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




[android-developers] Re: add new api levels to emulator

2013-04-16 Thread John Merlino
I'm seeing this in the console:
Installation error: INSTALL_FAILED_MISSING_SHARED_LIBRARY

Im not sure why this is happening in the SDK Manager, I installed the
Google APIs for api level 10 (gingerbread). This issue doesnt happen
for api level 15 and 16. In those levels, the app shows up on the
emulators. But for gingerbread, I cannot even see the app under
managed apps.

On Apr 16, 3:34 pm, TreKing  wrote:
> On Tue, Apr 16, 2013 at 2:25 PM, John Merlino  wrote:
> > What is the process to be able to add gignerbread 2.3 to this list?
>
> Use the SDK manager to download the relevant files for each API level you
> want to test against.
>
> --- 
> --
> 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
--- 
You received this message because you are subscribed to the Google Groups 
"Android Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to android-developers+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.




Re: [android-developers] add new api levels to emulator

2013-04-16 Thread John Merlino
Even when I use the 2.3.3 Google APIs emulator, still the app not showing 
up in emulator

On Tuesday, April 16, 2013 3:34:14 PM UTC-4, TreKing wrote:
>
> On Tue, Apr 16, 2013 at 2:25 PM, John Merlino 
> > wrote:
>
>> What is the process to be able to add gignerbread 2.3 to this list?
>>
>
> Use the SDK manager to download the relevant files for each API level you 
> want to test against.
>
>
> -
> 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
--- 
You received this message because you are subscribed to the Google Groups 
"Android Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to android-developers+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.




Re: [android-developers] Re: add new api levels to emulator

2013-04-16 Thread TreKing
On Tue, Apr 16, 2013 at 3:50 PM, John Merlino  wrote:

> I'm seeing this in the console:
> Installation error: INSTALL_FAILED_MISSING_SHARED_LIBRARY
>
> Im not sure why this is happening in the SDK Manager, I installed the
> Google APIs for api level 10 (gingerbread).
>

Make sure that when you create the AVD for level 10 you select the one with
the Google API Addons.


On Tue, Apr 16, 2013 at 4:03 PM, John Merlino  wrote:

> Even when I use the 2.3.3 Google APIs emulator, still the app not showing
> up in emulator


You get the same missing shared library error?

-
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
--- 
You received this message because you are subscribed to the Google Groups 
"Android Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to android-developers+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.




[android-developers] Re: add new api levels to emulator

2013-04-16 Thread John Merlino
ok I got it working

On Apr 16, 3:34 pm, TreKing  wrote:
> On Tue, Apr 16, 2013 at 2:25 PM, John Merlino  wrote:
> > What is the process to be able to add gignerbread 2.3 to this list?
>
> Use the SDK manager to download the relevant files for each API level you
> want to test against.
>
> --- 
> --
> 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
--- 
You received this message because you are subscribed to the Google Groups 
"Android Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to android-developers+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.




[android-developers] error message displays on gingerbread emulator but not icecream sandwich emulator

2013-04-16 Thread John Merlino
I have an app which uses google maps api v2. Works fine in api level
15, but in api level 10 (gingerbread) on the real device it says there
is no support. When I try to run on gingerbread emulator, I get the
following error:

04-16 17:42:00.928: E/AndroidRuntime(363): FATAL EXCEPTION: main
04-16 17:42:00.928: E/AndroidRuntime(363): java.lang.RuntimeException:
Unable to start activity ComponentInfo{com.otl.AndroidRemoteApp1/
com.otl.AndroidRemoteApp.ShowMapActivity}:
android.view.InflateException: Binary XML file line #6: Error
inflating class fragment
04-16 17:42:00.928: E/AndroidRuntime(363):  at
android.app.ActivityThread.performLaunchActivity(ActivityThread.java:
1647)
04-16 17:42:00.928: E/AndroidRuntime(363):  at
android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:
1663)
04-16 17:42:00.928: E/AndroidRuntime(363):  at
android.app.ActivityThread.access$1500(ActivityThread.java:117)
04-16 17:42:00.928: E/AndroidRuntime(363):  at
android.app.ActivityThread$H.handleMessage(ActivityThread.java:931)
04-16 17:42:00.928: E/AndroidRuntime(363):  at
android.os.Handler.dispatchMessage(Handler.java:99)
04-16 17:42:00.928: E/AndroidRuntime(363):  at
android.os.Looper.loop(Looper.java:130)
04-16 17:42:00.928: E/AndroidRuntime(363):  at
android.app.ActivityThread.main(ActivityThread.java:3683)
04-16 17:42:00.928: E/AndroidRuntime(363):  at
java.lang.reflect.Method.invokeNative(Native Method)
04-16 17:42:00.928: E/AndroidRuntime(363):  at
java.lang.reflect.Method.invoke(Method.java:507)
04-16 17:42:00.928: E/AndroidRuntime(363):  at
com.android.internal.os.ZygoteInit
$MethodAndArgsCaller.run(ZygoteInit.java:839)
04-16 17:42:00.928: E/AndroidRuntime(363):  at
com.android.internal.os.ZygoteInit.main(ZygoteInit.java:597)
04-16 17:42:00.928: E/AndroidRuntime(363):  at
dalvik.system.NativeStart.main(Native Method)
04-16 17:42:00.928: E/AndroidRuntime(363): Caused by:
android.view.InflateException: Binary XML file line #6: Error
inflating class fragment
04-16 17:42:00.928: E/AndroidRuntime(363):  at
android.view.LayoutInflater.createViewFromTag(LayoutInflater.java:581)
04-16 17:42:00.928: E/AndroidRuntime(363):  at
android.view.LayoutInflater.rInflate(LayoutInflater.java:623)
04-16 17:42:00.928: E/AndroidRuntime(363):  at
android.view.LayoutInflater.inflate(LayoutInflater.java:408)
04-16 17:42:00.928: E/AndroidRuntime(363):  at
android.view.LayoutInflater.inflate(LayoutInflater.java:320)
04-16 17:42:00.928: E/AndroidRuntime(363):  at
android.view.LayoutInflater.inflate(LayoutInflater.java:276)
04-16 17:42:00.928: E/AndroidRuntime(363):  at
com.android.internal.policy.impl.PhoneWindow.setContentView(PhoneWindow.java:
207)
04-16 17:42:00.928: E/AndroidRuntime(363):  at
android.app.Activity.setContentView(Activity.java:1657)
04-16 17:42:00.928: E/AndroidRuntime(363):  at
com.otl.AndroidRemoteApp.ShowMapActivity.onCreate(ShowMapActivity.java:
45)
04-16 17:42:00.928: E/AndroidRuntime(363):  at
android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:
1047)
04-16 17:42:00.928: E/AndroidRuntime(363):  at
android.app.ActivityThread.performLaunchActivity(ActivityThread.java:
1611)
04-16 17:42:00.928: E/AndroidRuntime(363):  ... 11 more
04-16 17:42:00.928: E/AndroidRuntime(363): Caused by:
java.lang.ClassNotFoundException: android.view.fragment in loader
dalvik.system.PathClassLoader[/system/framework/
com.google.android.maps.jar:/data/app/com.otl.AndroidRemoteApp1-2.apk]
04-16 17:42:00.928: E/AndroidRuntime(363):  at
dalvik.system.PathClassLoader.findClass(PathClassLoader.java:240)
04-16 17:42:00.928: E/AndroidRuntime(363):  at
java.lang.ClassLoader.loadClass(ClassLoader.java:551)
04-16 17:42:00.928: E/AndroidRuntime(363):  at
java.lang.ClassLoader.loadClass(ClassLoader.java:511)
04-16 17:42:00.928: E/AndroidRuntime(363):  at
android.view.LayoutInflater.createView(LayoutInflater.java:471)
04-16 17:42:00.928: E/AndroidRuntime(363):  at
android.view.LayoutInflater.onCreateView(LayoutInflater.java:549)
04-16 17:42:00.928: E/AndroidRuntime(363):  at
com.android.internal.policy.impl.PhoneLayoutInflater.onCreateView(PhoneLayoutInflater.java:
66)
04-16 17:42:00.928: E/AndroidRuntime(363):  at
android.view.LayoutInflater.createViewFromTag(LayoutInflater.java:568)
04-16 17:42:00.928: E/AndroidRuntime(363):  ... 20 more

Anyone understands this error message?

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

[android-developers] Upgrades and fixes to my Android OAuth app (BLOA)

2013-04-16 Thread Brion Emde
This last weekend I fixed the problems with my Android OAuth application 
(poorly) named "Brion Learns OAuth" (BLOA)

I just posted a video showing the outcome running on three different 
versions of the OS: 1.6, 2.3.3 and 4.2.2 (latest)

The video is at: 
http://www.youtube.com/watch?v=35bQvv4xGdU&feature=share&list=UU297Ha2XxajL6-TAce4SZLQ

The source code is referenced at the video and can be found at: 
https://github.com/brione/Brion-Learns-OAuth

I made a lot of improvements to the code which hadn't been touched in over 
three years to better reflect my current understanding of writing Android 
apps.

Basically: use compatibility library, ListFragment, CursorLoader, 
ContentProvider, bulk insert with transactions.

Some of the recent problems with Android and Spotlight-based authentication 
are based on the need for to now do token decoding off of the UI thread. 
The updates in this code address that.

I hope someone benefits from this.

Thanks,

Brion

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




[android-developers] In App Billing. Managed and un-managed items question

2013-04-16 Thread LostDev
We have an application that has been using In App Billing Version 2 API and 
have recently upgraded it to Version 3.  When we registered our products 
originally in the Google Play Developer Console, we registered them as 
un-mnaged products.

Under version 3 I understand that all products are managed, and that it is 
up to the developer to decide how they will implement consumable and 
un-consumable products.

If all products are managed under In App Billing Version 3 (and we 
registered them as un-managed under Version 2) are we required to change 
our products from un-managed to managed via the Google Play Developer 
Console when we switch to our Version 3 implementation?

Thanks for your help.

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




[android-developers] Re: single device development scenario with questions

2013-04-16 Thread Lew
rh wrote:

> George Baker  wrote: 
> > In order to make a calendar app you should need to even have to worry 
> > about the source for the Android OS.  What you will need is the 
> > Android SDK which you can get at 
> > http://developer.android.com/sdk/index.html,  You'll want to look 
> > towards the bottom of the page under download for other platforms - 
> > SDK Tools only.  You will also need a copy of JAVA 1.6. 
>
> Yes I did get these already. But I still need to learn how to remove 
> apps that I don't need and in my dabbling I wasn't able to remove 
>

adb uninstall 
 

> them. But I may need to spend more time on this part of the puzzle. 
>
> I think I've read this one but not sure, there's [sic] so many docs it's 
> hard 
> to know. But read below. 
>

The developer.android.com docs are the fundamental ones and not to be 
ignored.

"There's too much documentation" is not a legitimate complaint.

> also some tutorials on the site.  They are for the Eclipse IDE 
> > however. While it is possible to build an Android app without an IDE 
>

And others, such as command line. The docs are not limited to Eclipse.
 

> > it will be very very difficult to do.  This is especially true for 
>

You exaggerate. It's not difficult really.
 

> > the layouts of your calendar app and if you are new to Android 
> > development.  In short not using an IDE will dramatically lengthen 
> > the amount of time development takes because of debugging, layout, 
> > etc...  That being said it can be done.  However, I wouldn't 
> > recommend it.   


I never use the layout features of Eclipse. It's easier just to work with 
the XML.
 

> It turns out that I will do something with a web app. The main reason 
> is that my x86 is 32-bit and anything past froyo has to be 64-bit. Other 
>

That doesn't matter. Java is word-size independent.
 

> reasons are due to the barrier to entry in the form of the terrbile 
> complexity of the dev. env. and sheer size. Also cross-compiling 
> in general is a pain. 
>

What cross-compiling? 

And the "dev. env." is not so very complex - far less than many platforms.
 

> > Finally, as for building it for your phone only the process is 
> > virtually identical if you build it for your device only or many. 
> > About the only difference is you don't have to worry about testing it 
> > on other devices and won't have to upload to the Playstore. 
>
> Good points but the problem I see is that the environment is enormous 
> just to develop for a single device. But it's moot unless I buy a 64-bit 
> system. 
>

I still don't understand this. Maybe it's the fact that any 32-bit system 
will be woefully 
underpowered by today's standards, but the bit width /per se/ is not 
relevant.
 
Java bytecode is Java bytecode is Java bytecode.

Tell us specifically what goes wrong on your woefully underpowered dev box.

-- 
Lew

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




Re: [android-developers] Re: single device development scenario with questions

2013-04-16 Thread Kristopher Micinski
On Tue, Apr 16, 2013 at 11:42 PM, rh  wrote:
> On Tue, 16 Apr 2013 19:33:00 -0700 (PDT)
> Lew  wrote:
>
>> rh wrote:
>>
>> > George Baker  wrote:
>> > > In order to make a calendar app you should need to even have to
>> > > worry about the source for the Android OS.  What you will need is
>> > > the Android SDK which you can get at
>> > > http://developer.android.com/sdk/index.html,  You'll want to look
>> > > towards the bottom of the page under download for other platforms
>> > > - SDK Tools only.  You will also need a copy of JAVA 1.6.
>> >
>> > Yes I did get these already. But I still need to learn how to
>> > remove apps that I don't need and in my dabbling I wasn't able to
>> > remove
>> >
>>
>> adb uninstall 
>
> Tried that but adb gives
> Failure
> echo $?
> 0
>
> tried many different package names, all failed with the same
> error, even nonsense package names. But maybe I didn't find
> the correct secret name.
>

FYI it's impossible to uninstall a system app, so it's no use even
trying.  If you are one of the many users with a stock ROM from some
provider, chances are you won't be able to remove their custom
bloatware without rooting your phone and installing some mod.  (This
is a potentially good idea for other reasons as well: much of that
custom bloatware is overprovisioned and contains potential exploits..)

Kris

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




[android-developers] How to offer new app to existing user base?

2013-04-16 Thread Jungle Jim
I have written a new app that I want to publish this week.

I have a number of existing users who have active installs of another app. 
The new app is likely to be of interest to them, but I don't want to make 
it an upgrade to the existing app.

Is there some facility in Google Play to enables me to offer the new app to 
my existing user base?

Thanks.

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




[android-developers] Re: When to show a dialog from Fragment and when not to

2013-04-16 Thread Piren
Not sure, never worked with dialogFragments so i can't really say, but 
yeah.. fragments are a picky bunch and require more delicate handling. 


On Monday, April 15, 2013 1:22:30 PM UTC+3, William Ferguson wrote:
>
> Hm, thanks.
>
> It just seems strange to need to explicitly check to see if the Fragment 
> isResumed prior to showing a Dialog. Before Fragments, Activity#showDialog 
> would do nothing if the Activity was already torn down. So it seems kind of 
> retrograde. 
>
> I take it all instances of DialogFragment#show that occur from a delayed 
> handler need to first check to make sure the Fragment is still resumed or 
> potentially face the same issue. Or have I missed something?
>
> William
>
> On Monday, April 15, 2013 6:51:09 PM UTC+10, Piren wrote:
>>
>> Errr... we need a damn edit button here. i meant: " since having it as 
>> "started" does **  guarantee that the fragment is visible."  :)
>>
>>
>> On Monday, April 15, 2013 11:47:22 AM UTC+3, Piren wrote:
>>>
>>> After onStart has been called and before onStop. 
>>> You can be more pedantic about the state if needed - using 
>>> isHidden/isVisible/isResumed .. since having it as "started" 
>>> does  guarantee that the fragment is visible.
>>>
>>> On Monday, April 15, 2013 11:32:45 AM UTC+3, William Ferguson wrote:

 Hi Piren, what is an appropriate definition of "Started" in this 
 instance?

 WIlliam

 On Monday, April 15, 2013 1:17:36 AM UTC+10, Piren wrote:
>
> Check the fragment state before showing, it should be Started, if not, 
> keep a flag saying that says this dialog needs to be shown. Check for the 
> flag state during onStart/onResume and show the dialog if needed
>
> On Sunday, April 14, 2013 4:25:03 PM UTC+3, William Ferguson wrote:
>>
>> I have a Fragment that fires an async task to connect to a remote 
>> server. If it fails to connect (eg times out) then I use use a Handler 
>> to 
>> display a dialog to the user.
>>
>> final DialogFragment newFragment = 
>>> AlertDialogFragment.createConnectionFailedDialog(getSupportActivity());
>>> newFragment.show(getFragmentManager());
>>
>>
>> All good except that the async task if the user navigates away from 
>> the Activity hosting that Fragment (eg goes to Preferences) then when 
>> the 
>> time out occurs the Fragment is in a quasi shut down state and the 
>> following exception is thrown.
>>
>> 04-14 23:11:51.407: ERROR/AndroidRuntime(6267): FATAL EXCEPTION: main
>>> java.lang.IllegalStateException: Can not perform this action 
>>> after onSaveInstanceState
>>> at 
>>> android.support.v4.app.FragmentManagerImpl.checkStateLoss(FragmentManager.java:1327)
>>> at 
>>> android.support.v4.app.FragmentManagerImpl.enqueueAction(FragmentManager.java:1338)
>>> at 
>>> android.support.v4.app.BackStackRecord.commitInternal(BackStackRecord.java:595)
>>> at 
>>> android.support.v4.app.BackStackRecord.commit(BackStackRecord.java:574)
>>> at 
>>> org.holoeverywhere.app.DialogFragment.show(DialogFragment.java:369)
>>> at 
>>> org.holoeverywhere.app.DialogFragment.show(DialogFragment.java:350)
>>> at 
>>> org.holoeverywhere.app.DialogFragment.show(DialogFragment.java:329)
>>> at 
>>> au.com.xandar.wirelesstiming.connection.ConnectionFragment.updateUserInterfaceOnClose(ConnectionFragment.java:197)
>>> at 
>>> au.com.xandar.wirelesstiming.connection.ConnectionFragment.access$200(ConnectionFragment.java:26)
>>> at 
>>> au.com.xandar.wirelesstiming.connection.ConnectionFragment$2.run(ConnectionFragment.java:96)
>>> at android.os.Handler.handleCallback(Handler.java:725)
>>> at android.os.Handler.dispatchMessage(Handler.java:92)
>>> at android.os.Looper.loop(Looper.java:137)
>>> at android.app.ActivityThread.main(ActivityThread.java:5041)
>>> at java.lang.reflect.Method.invokeNative(Native Method)
>>> at java.lang.reflect.Method.invoke(Method.java:511)
>>> at 
>>> com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:793)
>>> at 
>>> com.android.internal.os.ZygoteInit.main(ZygoteInit.java:560)
>>> at dalvik.system.NativeStart.main(Native Method)
>>
>>
>> What is the correct way to handle this scenario?
>>
>> Ideally I'd like to always display the dialog, but if that is not an 
>> option, then what do I use to determine whether the dialog should be 
>> displayed or not?
>>
>>
>> William 
>>
>

-- 
-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-deve