[android-developers] Re: Strange behaviour with mediaplayer and seekTo (on start-up)
Did you solved this issue? On Wednesday, 16 June 2010 10:23:49 UTC+5:30, Mathias Lin wrote: I'm implementing a custom video player because I need custom video controls. I have an app with only one activity, which on start-up shall starts playing a video right away. Now, the problem I have (on my Nexus One): I don't want the video to start from the beginning, but from a later position. Therefore I do a seekTo(16867). Since seekTo is asynchronous, I place the start call of the mediaplayer (player.start()) in the onSeekComplete of the onSeekCompleteListener. **The strange behaviour I experience though is that I can see/hear the video playing from the beginning for a few millisecs before it actually plays from/jumps to the position I seeked to. But - on the other hand - the Log output I call before the player.start returns the correct position 16867, where I seeked to.** Below is the relevant code section, the complete class is at http://pastebin.com/jqAAFsuX private void playVideo(String url) { try { btnVideoPause.setEnabled(false); if (player==null) { player=new MediaPlayer(); player.setScreenOnWhilePlaying(true); } else { player.stop(); player.reset(); } url = /sdcard/myapp/main/videos/main.mp4; // --- just for test purposes hardcoded here now player.setDataSource(url); player.setDisplay(holder); player.setAudioStreamType(AudioManager.STREAM_MUSIC); player.setOnCompletionListener(this); player.setOnPreparedListener(this); player.setOnSeekCompleteListener(new MediaPlayer.OnSeekCompleteListener() { public void onSeekComplete(MediaPlayer mediaPlayer) { Log.d(APP, current pos... + player.getCurrentPosition() ); player.start(); // -- start playback on seek completed player.setOnSeekCompleteListener(null); } }); player.prepareAsync(); } catch (Throwable t) { Log.e(TAG, Exception in playVideo prep, t); } } public void onPrepared(MediaPlayer mediaplayer) { width=player.getVideoWidth(); height=player.getVideoHeight(); if (width!=0 height!=0) { holder.setFixedSize(width, height); progressBar.setProgress(0); progressBar.setMax(player.getDuration()); player.seekTo(16867); // -- seeking to position } btnVideoPause.setEnabled(true); } -- -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, 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] asterisk sip account
HI, I have to create two asterisk sip account in locally and i set up this account into my android emulators. It's displays the online status. But My problem is when i try call from one emulator to another. The call going to automatically end. Any body else know about the solution please share with me. Thanks, Tamilarasi Sivaraj -- -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, 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: javax.crypto.BadPaddingException: pad block corrupted
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); return ciphertext; } catch (Exception e) { e.printStackTrace(); return null; } } public void decrypt(InputStream in, OutputStream out) { try { // Bytes read from in will be decrypted in = new CipherInputStream(in, dcipher); // Read in the decrypted bytes and write the cleartext to out int numRead = 0; while ((numRead = in.read(buf)) = 0) { out.write(buf,
Re: [android-developers] free trial for a one time purchase with in app v3
On 04/04/2013 16:55, John Coryat wrote: You could use unmanaged items and a server to handle subscriptions. We use that method. We have a five day free trial that works outside of in-app billing. It's clean, efficient and also can be customized to offer longer, shorter or additional free trial days for individual users. The downside is you have to manage the subscriptions on a server. That also, as I see it, is an upside. It seems to be the best option. Thanks, Fabien -- -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, 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 execute some code on app launch and destroy
I have to execute some code when app gets executed and app destroy too.so i wanna know is there is any way through i can manage this.After google I got Application class but this class has not destroy() so how can be recognise. -- *Thanks Regards* Dilip Kumar Chaudhary My Linkedin Profilehttp://in.linkedin.com/pub/dilip-kumar-chaudhary/44/64/55b My Development Blog http://dilipdevelopment.blogspot.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 --- 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 do both Swiping and Zoom In and Out (using setBuilt In Zoom controls) in a Webview Android 2.2?
This is my Code i have done both SWIPING and ZOOM IN and ZOOM OUT functions. But both doesnt worked in my app inside webview. My problem is, If i do comment this line, then Swiping works fine ! webSettings.setBuiltInZoomControls(true); If i don't comment this above line, then Zoom In and Out is working fine but swiping does not works here ! public class ZoomInandOutActivity extends Activity { private GestureDetector gestureDetector; WebView webviewSwiping; WebSettings webSettings; String data1 = html + bodyh1Hello, Android Aspect!/h1/body + /html; String data2 = html + bodyh1Hellos, Android Aspectz!/h1/body + /html; /* The Minimum distance a finger must travel in order to register a swipe event */ private static final int SWIPE_MIN_DISTANCE = 120; private static final int SWIPE_MAX_OFF_PATH = 250; private static final int SWIPE_THRESHOLD_VELOCITY = 200; /** Called when the activity is first created. */@Overridepublic void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); webviewSwiping=new WebView(this); webSettings =webviewSwiping.getSettings(); webviewSwiping.setOnTouchListener(new View.OnTouchListener() {@Override public boolean onTouch(View v, MotionEvent event) { return gestureDetector.onTouchEvent(event); } }); webSettings.setJavaScriptEnabled(true); webSettings.setBuiltInZoomControls(true); // used for Zooming and scrolling /* Gesture Detection */ gestureDetector=new GestureDetector(this, new MyGestureDetector()); setContentView(webviewSwiping);}class MyGestureDetector extends SimpleOnGestureListener{ @Override public boolean onFling(MotionEvent e1, MotionEvent e2, float velocityX, float velocityY) { try { if (Math.abs(e1.getY() - e2.getY()) SWIPE_MAX_OFF_PATH) return false; /* right to left swipe*/ if(e1.getX() - e2.getX() SWIPE_MIN_DISTANCE Math.abs(velocityX) SWIPE_THRESHOLD_VELOCITY) { webviewSwiping.loadData(data1, text/html, UTF-8); Toast.makeText(ZoomInandOutActivity.this, Left Swipe, Toast.LENGTH_LONG).show(); } else if (e2.getX() - e1.getX() SWIPE_MIN_DISTANCE Math.abs(velocityX) SWIPE_THRESHOLD_VELOCITY) { webviewSwiping.loadData(data2, text/html, UTF-8); Toast.makeText(ZoomInandOutActivity.this, Right Swipe, Toast.LENGTH_LONG).show();} } catch (Exception e) { // nothing } return false; }} What i wanted is, If i do left or right swipe at that time zoom in and out should not work. If i do Zoom in and out those webview contents at that time left and right swiping must not work. Like, When i do enable Swiping, Zooming must be disabled and when i do Zooming enabled at this time Swiping event must be disabled ! Moreover, I have a doubt that can i be able to achieve this both events inside webview by using setBuiltInZoom controls in Android 2.2 ? How shall i achieve this both events in webview?? Please kindly anyone help me ! Any help or suggestions would be highly appreciated, 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: How to execute some code on app launch and destroy
Dilip Kumar Chaudhary wrote: I have to execute some code when app gets executed and app destroy too.so i wanna know is there is any way through i can manage this.After google I got Application class but this class has not destroy() so how can be recognise. -- *Thanks Regards* Dilip Kumar Chaudhary My Linkedin Profilehttp://in.linkedin.com/pub/dilip-kumar-chaudhary/44/64/55b My Development Blog http://dilipdevelopment.blogspot.com/ whats wrong wirh onCreate and onPause/onDestroy of your main activity? pskink -- -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en --- You received this message because you are subscribed to the Google Groups Android Developers group. To unsubscribe from this group and stop receiving emails from it, send an email to android-developers+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.
[android-developers] Re: How to execute some code on app launch and destroy
onCreate for the app's main activity can be called multiple times throughout the lifetime of the app, and onDestroy might not be called at all under some conditions. On Apr 5, 6:20 am, skink psk...@gmail.com wrote: Dilip Kumar Chaudhary wrote: I have to execute some code when app gets executed and app destroy too.so i wanna know is there is any way through i can manage this.After google I got Application class but this class has not destroy() so how can be recognise. -- *Thanks Regards* Dilip Kumar Chaudhary My Linkedin Profilehttp://in.linkedin.com/pub/dilip-kumar-chaudhary/44/64/55b My Development Blog http://dilipdevelopment.blogspot.com/ whats wrong wirh onCreate and onPause/onDestroy of your main activity? pskink -- -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, 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: Bizarre launch behavior for a standard launchMode Activity
On Thursday, April 4, 2013 3:35:52 PM UTC-4, skink wrote: plnelson wrote: Note how the LogCat shows* two* instances of the DGraphActivity being started - 2 constructors, 2 onCreates. try to remove *everything* from your DGraphActivity leave onCreate with Log.d() only and see what happens Before I do that could you give me some idea why you think that might help or what you think it might reveal? Keep in mind that with a *single*startActivity, DGraphActivity never gets created or constructed at all. So why would what's inside of it have any effect? -- -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, 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]
Hi use this free apps https://play.google.com/store/apps/details?id=com.manager.folder.jayfeature=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-developers@googlegroups.com To unsubscribe from this group, 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] Hi use this free apps https://play.google.com/store/apps/details?id=com.manager.folder.jayfeature=search_result#?t=W251bGwsMSwxLDEsImNvbS5tYW5hZ2VyLmZvbGRlci5qYXkiXQ..
Hi use this free apps https://play.google.com/store/apps/details?id=com.manager.folder.jayfeature=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-developers@googlegroups.com To unsubscribe from this group, 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] Hi use this free apps https://play.google.com/store/apps/details?id=com.manager.folder.jayfeature=search_result#?t=W251bGwsMSwxLDEsImNvbS5tYW5hZ2VyLmZvbGRlci5qYXkiXQ..
Hi use this free apps https://play.google.com/store/apps/details?id=com.manager.folder.jayfeature=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-developers@googlegroups.com To unsubscribe from this group, 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] Hi use this free apps https://play.google.com/store/apps/details?id=com.manager.folder.jayfeature=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-developers@googlegroups.com To unsubscribe from this group, 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] Hi use this free apps https://play.google.com/store/apps/details?id=com.manager.folder.jayfeature=search_result#?t=W251bGwsMSwxLDEsImNvbS5tYW5hZ2VyLmZvbGRlci5qYXkiXQ..
Hi use this free apps https://play.google.com/store/apps/details?id=com.manager.folder.jayfeature=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-developers@googlegroups.com To unsubscribe from this group, 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] Hi use this free apps https://play.google.com/store/apps/details?id=com.manager.folder.jayfeature=search_result#?t=W251bGwsMSwxLDEsImNvbS5tYW5hZ2VyLmZvbGRlci5qYXkiXQ..
Hi use this free apps https://play.google.com/store/apps/details?id=com.manager.folder.jayfeature=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-developers@googlegroups.com To unsubscribe from this group, 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] Hi use this free apps https://play.google.com/store/apps/details?id=com.manager.folder.jayfeature=search_result#?t=W251bGwsMSwxLDEsImNvbS5tYW5hZ2VyLmZvbGRlci5qYXkiXQ..
Hi use this free apps https://play.google.com/store/apps/details?id=com.manager.folder.jayfeature=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-developers@googlegroups.com To unsubscribe from this group, 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.jayfeature=search_result#?t=W251bGwsMSwxLDEsImNvbS5tYW5hZ2VyLmZvbGRlci5qYXkiXQ..
What is this Thanks Regards, Parthiban.k Software Engineer Mode FinServer Pvt. Ltd. Cell: +7204205850 Email: parthisof...@gmail.com shoaibj...@gmail.com |parthiban.k @modefinserver.com shoai...@modefinserver.com On Fri, Apr 5, 2013 at 6:25 PM, Jayavelu Viswanathan androidjayav...@gmail.com wrote: Hi use this free apps https://play.google.com/store/apps/details?id=com.manager.folder.jayfeature=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-developers@googlegroups.com To unsubscribe from this group, 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.
Re: [android-developers] Hi use this free apps https://play.google.com/store/apps/details?id=com.manager.folder.jayfeature=search_result#?t=W251bGwsMSwxLDEsImNvbS5tYW5hZ2VyLmZvbGRlci5qYXkiXQ..
don't post you're personal app over here.. you're spamming... On Fri, Apr 5, 2013 at 6:26 PM, Jayavelu Viswanathan androidjayav...@gmail.com wrote: Hi use this free apps https://play.google.com/store/apps/details?id=com.manager.folder.jayfeature=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-developers@googlegroups.com To unsubscribe from this group, 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-developers@googlegroups.com To unsubscribe from this group, 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: Bizarre launch behavior for a standard launchMode Activity
plnelson wrote: Before I do that could you give me some idea why you think that might help or what you think it might reveal? Keep in mind that with a *single*startActivity, DGraphActivity never gets created or constructed at all. So why would what's inside of it have any effect? because thousands of devs are starting activities in standard mode without such problems? pskink -- -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, 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: Proper documentation for SQLite usage missing - I need guidance
Hi again I'm still confused about SQLite version(s) in Android, not just that there is no reference to the SQLite 3.4.0 documentation in the Android Developer site. The statement that Android ships with SQLite 3.4.0 is still there, see http://developer.android.com/reference/android/database/sqlite/package-summary.html At the same time there are additions to the SQLiteDatabase in API level 11, e.g. enableWriteAheadLogging()http://developer.android.com/reference/android/database/sqlite/SQLiteDatabase.html#enableWriteAheadLogging%28%29, that hints at level 11 being based on SQLite = 3.7.0, see http://www.sqlite.org/wal.html. Is it really possible that Android have implemented WAL on top of SQLite 3.4.0? If not, why is there no information on the Android Developer site that specifies that you could rely on using SQLite 3.7.0 syntax when you are using level 11 as the minSdkLevel? Regards Jan -- -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, 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] How to execute some code on app launch and destroy
Apps do not get destroyed. Do not structure the logic of your app around it being destroyed, this is not the way apps work. Your app can be killed and restarted around the system. Explain why you want this functionality, it might be possible to explain why it doesn't make sense. Kris On Fri, Apr 5, 2013 at 5:49 AM, Dilip Kumar Chaudhary androiddili...@gmail.com wrote: I have to execute some code when app gets executed and app destroy too.so i wanna know is there is any way through i can manage this.After google I got Application class but this class has not destroy() so how can be recognise. -- Thanks Regards Dilip Kumar Chaudhary My Linkedin Profile My Development Blog -- -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, 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:
I like that image on your app: https://lh5.googleusercontent.com/-ak15ODcLb2w/UV7Z9ohEdpI/AWE/moJ94VohyBk/s1600/appimg.png How did you make that? 3d rendering? Thanks. On Friday, April 5, 2013 7:52:41 AM UTC-5, jayavelu viswanathan wrote: Hi use this free apps https://play.google.com/store/apps/details?id=com.manager.folder.jayfeature=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-developers@googlegroups.com To unsubscribe from this group, 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: Proper documentation for SQLite usage missing - I need guidance
On Fri, Apr 5, 2013 at 9:58 AM, Jan Skarvall jan.skarv...@telia.com wrote: The statement that Android ships with SQLite 3.4.0 is still there, see http://developer.android.com/reference/android/database/sqlite/package-summary.html This is incorrect. At the same time there are additions to the SQLiteDatabase in API level 11, e.g. enableWriteAheadLogging(), that hints at level 11 being based on SQLite = 3.7.0, see http://www.sqlite.org/wal.html. Is it really possible that Android have implemented WAL on top of SQLite 3.4.0? No. API Level 11 is using SQLite 3.7.4: http://stackoverflow.com/a/4377116/115145 If not, why is there no information on the Android Developer site that specifies that you could rely on using SQLite 3.7.0 syntax when you are using level 11 as the minSdkLevel? Because nobody typed up that portion of the documentation. -- 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 4.7 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 --- 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] Loading Images Using HttpURLConnection Concurrently
Hello guys, I'm currently facing an issue that I think should be fairly simple. I have a GridView which will get populated with images. If the image can't be found on the local disk, it will attempt to download the image from the network. Images download successfully, however the problem I am having is that the first image downloads just fine, however the second image that is downloaded is in very poor quality and is a fraction of the size it should be (5KB vs 100KB). This only happens when using mobile data connection. On WiFi, images download perfectly. Here is a link to the exact method that is retrieving these images... https://gist.github.com/alexfu/5319597. Any ideas or suggestions are greatly appreciated! -- -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en --- 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: Bizarre launch behavior for a standard launchMode Activity
OK I tried it. Here's the class ... package com..remote; import android.app.Activity; import android.os.Bundle; import android.util.Log; public class DGraphActivity extends Activity { @Override public void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); Log.d(DGraphActivity, created); } // end onCreate } ... It didn't make any difference but I still don't understand why you thought it would. You can see from the LogCat I posted that Android's not even *trying* to launch it.It does a starting: intent, but it never follows this up with a trying to launch. If there was a compile-time problem inside the class it would have shown up in the build but the build is clean.But if there was a runtime problem inside the class how could this manifest itself if it's not launched? Normally when you do a *startActivity()* Android does a series of steps (intent: starting, trying to launch, etc). So the main question in this thread is why Android would stop after just the first one and how do we get Android to tell us why? This problem has turned out to be a real stumper, both here and StackOverFlow.Does Android/Google have a support forum where actual Android or Google people read the postings and contribute? On Friday, April 5, 2013 8:59:23 AM UTC-4, skink wrote: plnelson wrote: Before I do that could you give me some idea why you think that might help or what you think it might reveal? Keep in mind that with a *single*startActivity, DGraphActivity never gets created or constructed at all. So why would what's inside of it have any effect? because thousands of devs are starting activities in standard mode without such problems? pskink -- -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, 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: Bizarre launch behavior for a standard launchMode Activity
plnelson wrote: OK I tried it. Here's the class ... hmm, really strange... what is the Context you are using? pskink -- -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, 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] Loading Images Using HttpURLConnection Concurrently
Is it possible your carrier is silently downgrading images to save bandwidth? Perhaps try https? On Fri, Apr 5, 2013 at 7:21 AM, Alex Fu alex.fu...@gmail.com wrote: Hello guys, I'm currently facing an issue that I think should be fairly simple. I have a GridView which will get populated with images. If the image can't be found on the local disk, it will attempt to download the image from the network. Images download successfully, however the problem I am having is that the first image downloads just fine, however the second image that is downloaded is in very poor quality and is a fraction of the size it should be (5KB vs 100KB). This only happens when using mobile data connection. On WiFi, images download perfectly. Here is a link to the exact method that is retrieving these images... https://gist.github.com/alexfu/5319597. Any ideas or suggestions are greatly appreciated! -- -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en --- 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.
Re: [android-developers] Loading Images Using HttpURLConnection Concurrently
Didn't think that would be a possibility. These images are less than 1 MB. Whats the reasoning behind using HTTPS? Just out of curiosity. On Apr 5, 2013 11:45 AM, Robert Greenwalt rgreenw...@google.com wrote: Is it possible your carrier is silently downgrading images to save bandwidth? Perhaps try https? On Fri, Apr 5, 2013 at 7:21 AM, Alex Fu alex.fu...@gmail.com wrote: Hello guys, I'm currently facing an issue that I think should be fairly simple. I have a GridView which will get populated with images. If the image can't be found on the local disk, it will attempt to download the image from the network. Images download successfully, however the problem I am having is that the first image downloads just fine, however the second image that is downloaded is in very poor quality and is a fraction of the size it should be (5KB vs 100KB). This only happens when using mobile data connection. On WiFi, images download perfectly. Here is a link to the exact method that is retrieving these images... https://gist.github.com/alexfu/5319597. Any ideas or suggestions are greatly appreciated! -- -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en --- 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 a topic in the Google Groups Android Developers group. To unsubscribe from this topic, visit https://groups.google.com/d/topic/android-developers/zf4czg611ZU/unsubscribe?hl=en . To unsubscribe from this group and all its topics, 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.
Re: [android-developers] Loading Images Using HttpURLConnection Concurrently
I'm not suggesting it as a real fix, just as a test. Using https they won't be able to snoop and rescale the images if that's what's really causing it. On Fri, Apr 5, 2013 at 9:11 AM, Alex Fu alex.fu...@gmail.com wrote: Didn't think that would be a possibility. These images are less than 1 MB. Whats the reasoning behind using HTTPS? Just out of curiosity. On Apr 5, 2013 11:45 AM, Robert Greenwalt rgreenw...@google.com wrote: Is it possible your carrier is silently downgrading images to save bandwidth? Perhaps try https? On Fri, Apr 5, 2013 at 7:21 AM, Alex Fu alex.fu...@gmail.com wrote: Hello guys, I'm currently facing an issue that I think should be fairly simple. I have a GridView which will get populated with images. If the image can't be found on the local disk, it will attempt to download the image from the network. Images download successfully, however the problem I am having is that the first image downloads just fine, however the second image that is downloaded is in very poor quality and is a fraction of the size it should be (5KB vs 100KB). This only happens when using mobile data connection. On WiFi, images download perfectly. Here is a link to the exact method that is retrieving these images... https://gist.github.com/alexfu/5319597. Any ideas or suggestions are greatly appreciated! -- -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en --- 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 a topic in the Google Groups Android Developers group. To unsubscribe from this topic, visit https://groups.google.com/d/topic/android-developers/zf4czg611ZU/unsubscribe?hl=en . To unsubscribe from this group and all its topics, 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. -- -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, 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] Loading Images Using HttpURLConnection Concurrently
I will certainly try that out On Apr 5, 2013 12:22 PM, Robert Greenwalt rgreenw...@google.com wrote: I'm not suggesting it as a real fix, just as a test. Using https they won't be able to snoop and rescale the images if that's what's really causing it. On Fri, Apr 5, 2013 at 9:11 AM, Alex Fu alex.fu...@gmail.com wrote: Didn't think that would be a possibility. These images are less than 1 MB. Whats the reasoning behind using HTTPS? Just out of curiosity. On Apr 5, 2013 11:45 AM, Robert Greenwalt rgreenw...@google.com wrote: Is it possible your carrier is silently downgrading images to save bandwidth? Perhaps try https? On Fri, Apr 5, 2013 at 7:21 AM, Alex Fu alex.fu...@gmail.com wrote: Hello guys, I'm currently facing an issue that I think should be fairly simple. I have a GridView which will get populated with images. If the image can't be found on the local disk, it will attempt to download the image from the network. Images download successfully, however the problem I am having is that the first image downloads just fine, however the second image that is downloaded is in very poor quality and is a fraction of the size it should be (5KB vs 100KB). This only happens when using mobile data connection. On WiFi, images download perfectly. Here is a link to the exact method that is retrieving these images... https://gist.github.com/alexfu/5319597. Any ideas or suggestions are greatly appreciated! -- -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en --- 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 a topic in the Google Groups Android Developers group. To unsubscribe from this topic, visit https://groups.google.com/d/topic/android-developers/zf4czg611ZU/unsubscribe?hl=en . To unsubscribe from this group and all its topics, 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. -- -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, 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 a topic in the Google Groups Android Developers group. To unsubscribe from this topic, visit https://groups.google.com/d/topic/android-developers/zf4czg611ZU/unsubscribe?hl=en . To unsubscribe from this group and all its topics, 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
[android-developers] Fire event when Andorid app goes into background.
Hi, I want to fire an event when android app goes into background like by pressing home key button on device. Is there any better way to do this? 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: Fire event when Andorid app goes into background.
You already get 2 callbacks Activity.onPause() Activity.onStop() What else do you need ? On Friday, April 5, 2013 5:27:10 PM UTC+1, disha wrote: Hi, I want to fire an event when android app goes into background like by pressing home key button on device. Is there any better way to do this? 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: Bizarre launch behavior for a standard launchMode Activity
On Friday, April 5, 2013 11:06:42 AM UTC-4, skink wrote: plnelson wrote: OK I tried it. Here's the class ... hmm, really strange... what is the Context you are using? It's the context of the main Activity for the App. I've tried varying its own launchMode but it makes no difference. This app is a large industrial-control application and and the class this is running in receives communication from a PC over a TCP connection and launches different Activities - approx 12, total, depending on what the PC says.I'm not having any trouble launching any of the other Activities, just this one. Most of the other Activities are not standard launchMode. Where does Google document the steps we can see in LogCat starting: intent..., Trying to launch... , etc.All the documentation I see on the Activity Life Cycle seem to skip over those and start when the Activity is created. I need to know why I'm not getting a trying to launch after the starting: intent. -- -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, 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.jayfeature=search_result#?t=W251bGwsMSwxLDEsImNvbS5tYW5hZ2VyLmZvbGRlci5qYXkiXQ..
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: parthisof...@gmail.com shoaibj...@gmail.com |parthiban.k @modefinserver.com shoai...@modefinserver.com On Fri, Apr 5, 2013 at 6:27 PM, Vinothkumar Apparao iamvinot...@gmail.comwrote: don't post you're personal app over here.. you're spamming... On Fri, Apr 5, 2013 at 6:26 PM, Jayavelu Viswanathan androidjayav...@gmail.com wrote: Hi use this free apps https://play.google.com/store/apps/details?id=com.manager.folder.jayfeature=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-developers@googlegroups.com To unsubscribe from this group, 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-developers@googlegroups.com To unsubscribe from this group, 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.
Re: [android-developers] Re: Fire event when Andorid app goes into background.
But those will be invoked when app starts another activity,dialog or any pop up window. I know there are couple of ways to do it. Like onPause() check the activity stack for number of activities in it.If it has only one activity, in that case we can consider app is going to background. On Fri, Apr 5, 2013 at 12:12 PM, RichardC richard.crit...@googlemail.comwrote: You already get 2 callbacks Activity.onPause() Activity.onStop() What else do you need ? On Friday, April 5, 2013 5:27:10 PM UTC+1, disha wrote: Hi, I want to fire an event when android app goes into background like by pressing home key button on device. Is there any better way to do this? 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. -- -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, 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] Zooming with Google Maps Android API v2
I am using Google Maps Android API v2https://developers.google.com/maps/documentation/android/ in my android app, but there is no way to zoom in and out on the pins on the map. There is no zoom function at all, I press on map or pins and I dont see how to zoom. Here's some of the relevant code: IteratorMapString, String iterator2 = historyData.iterator(); while(iterator2.hasNext()){ MapString, String item = iterator2.next(); double currentLat = Double.parseDouble(item.get(latitude)); double currentLong = Double.parseDouble(item.get(longitude)); mMap.addMarker(new MarkerOptions() .position(new LatLng(currentLat, currentLong)) .title(item.get(address)) .snippet(Alert: + item.get(alert) + , Speed: + item.get( speed)) ) ; if(previousItem != null){ Polyline line = mMap.addPolyline(new PolylineOptions() .add(new LatLng(currentLat, currentLong), newLatLng(Double.parseDouble(previousItem.get( latitude)),Double.parseDouble(previousItem.get(longitude))) ) .width(5) .color(Color.RED)); } if(!iterator2.hasNext()){ currentView = new LatLng(currentLat, currentLong); } previousItem = item; } if(currentView != null){ mMap.getUiSettings().setZoomControlsEnabled(false); mMap.getUiSettings().setAllGesturesEnabled(false); CameraPosition cameraPosition = new CameraPosition.Builder() .target(currentView) .zoom(13) .bearing(90) .build(); mMap.moveCamera(CameraUpdateFactory.newCameraPosition(cameraPosition)); } -- -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, 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: asterisk sip account
Why not just make the call from one *real* device to another? Thanks. On Friday, April 5, 2013 1:46:26 AM UTC-5, Tamilarasi Sivaraj wrote: HI, I have to create two asterisk sip account in locally and i set up this account into my android emulators. It's displays the online status. But My problem is when i try call from one emulator to another. The call going to automatically end. Any body else know about the solution please share with me. Thanks, Tamilarasi Sivaraj -- -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, 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] Loading Images Using HttpURLConnection Concurrently
Are the images JPEG or PNG? If the carrier is messing with the quality of the images, I would expect them to be more likely to do it with JPEG since it is lossy anyway. If using JPEG, maybe try PNG? Thanks. On Friday, April 5, 2013 11:25:13 AM UTC-5, Alex Fu wrote: I will certainly try that out On Apr 5, 2013 12:22 PM, Robert Greenwalt rgree...@google.comjavascript: wrote: I'm not suggesting it as a real fix, just as a test. Using https they won't be able to snoop and rescale the images if that's what's really causing it. On Fri, Apr 5, 2013 at 9:11 AM, Alex Fu alex@gmail.com javascript: wrote: Didn't think that would be a possibility. These images are less than 1 MB. Whats the reasoning behind using HTTPS? Just out of curiosity. On Apr 5, 2013 11:45 AM, Robert Greenwalt rgree...@google.comjavascript: wrote: Is it possible your carrier is silently downgrading images to save bandwidth? Perhaps try https? On Fri, Apr 5, 2013 at 7:21 AM, Alex Fu alex@gmail.comjavascript: wrote: Hello guys, I'm currently facing an issue that I think should be fairly simple. I have a GridView which will get populated with images. If the image can't be found on the local disk, it will attempt to download the image from the network. Images download successfully, however the problem I am having is that the first image downloads just fine, however the second image that is downloaded is in very poor quality and is a fraction of the size it should be (5KB vs 100KB). This only happens when using mobile data connection. On WiFi, images download perfectly. Here is a link to the exact method that is retrieving these images... https://gist.github.com/alexfu/5319597. Any ideas or suggestions are greatly appreciated! -- -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-d...@googlegroups.comjavascript: To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com javascript: 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.comjavascript: . 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-d...@googlegroups.comjavascript: To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com javascript: 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 a topic in the Google Groups Android Developers group. To unsubscribe from this topic, visit https://groups.google.com/d/topic/android-developers/zf4czg611ZU/unsubscribe?hl=en . To unsubscribe from this group and all its topics, send an email to android-developers+unsubscr...@googlegroups.com javascript:. 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-d...@googlegroups.comjavascript: To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com javascript: 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.comjavascript: . 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-d...@googlegroups.comjavascript: To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com javascript: 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 a topic in the Google Groups Android Developers group. To unsubscribe from this topic, visit https://groups.google.com/d/topic/android-developers/zf4czg611ZU/unsubscribe?hl=en . To unsubscribe from this group and all its topics, send an email to android-developers+unsubscr...@googlegroups.com javascript:. For more options, visit https://groups.google.com/groups/opt_out. -- -- You received this
Re: [android-developers] Re: Fire event when Andorid app goes into background.
Why do you need to know if Home was hit? There probably is no obvious way because there is no obvious need. Thanks. On Friday, April 5, 2013 1:27:58 PM UTC-5, disha wrote: But those will be invoked when app starts another activity,dialog or any pop up window. I know there are couple of ways to do it. Like onPause() check the activity stack for number of activities in it.If it has only one activity, in that case we can consider app is going to background. On Fri, Apr 5, 2013 at 12:12 PM, RichardC richard...@googlemail.comjavascript: wrote: You already get 2 callbacks Activity.onPause() Activity.onStop() What else do you need ? On Friday, April 5, 2013 5:27:10 PM UTC+1, disha wrote: Hi, I want to fire an event when android app goes into background like by pressing home key button on device. Is there any better way to do this? 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-d...@googlegroups.comjavascript: To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com javascript: 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 javascript:. 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] Android 4.2 introduced SELinux enabled by default on kernel. am I right?
Dear Expert, 1. As I have understood correctly, Android 4.2 introduced SELinux enabled by default on kernel. am I right. 2. There are some of the apps might not work correctly. Do you know what kind of app is not working? 3. Is there anyway to disable it ? I check on VZW Galaxy Nexus - build JDQ39 - I am not sure what is the Linux version - Either SELinux or Linux. 4. What is the benefit of using SELinux vs Linux? Regards, -- -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, 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: Android 4.2 introduced SELinux enabled by default on kernel. am I right?
DroidMaster wrote: Dear Expert, 1. As I have understood correctly, Android 4.2 introduced SELinux enabled by default on kernel. am I right. http://lmgtfy.com/?q=Did+android+introduce+SELinux+with+4.2 1. There are some of the apps might not work correctly. Do you know what kind of app is not working? http://lmgtfy.com/?q=%2BSELinux+%2Bandroid+problems 1. Is there anyway to disable it ? I check on VZW Galaxy Nexus - build JDQ39 - I am not sure what is the Linux version - Either SELinux or Linux. http://lmgtfy.com/?q=%2BAndroid+disable+%2BSELinux 1. What is the benefit of using SELinux vs Linux? http://lmgtfy.com/?q=SELinux+benefits HTH -- 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] Loading Images Using HttpURLConnection Concurrently
I tested HTTPS and I'm getting a 400 Bad Request error when using mobile data. On WiFi, everything goes through smoothly... wth. On Fri, Apr 5, 2013 at 4:08 PM, bob b...@coolfone.comze.com wrote: Are the images JPEG or PNG? If the carrier is messing with the quality of the images, I would expect them to be more likely to do it with JPEG since it is lossy anyway. If using JPEG, maybe try PNG? Thanks. On Friday, April 5, 2013 11:25:13 AM UTC-5, Alex Fu wrote: I will certainly try that out On Apr 5, 2013 12:22 PM, Robert Greenwalt rgree...@google.com wrote: I'm not suggesting it as a real fix, just as a test. Using https they won't be able to snoop and rescale the images if that's what's really causing it. On Fri, Apr 5, 2013 at 9:11 AM, Alex Fu alex@gmail.com wrote: Didn't think that would be a possibility. These images are less than 1 MB. Whats the reasoning behind using HTTPS? Just out of curiosity. On Apr 5, 2013 11:45 AM, Robert Greenwalt rgree...@google.com wrote: Is it possible your carrier is silently downgrading images to save bandwidth? Perhaps try https? On Fri, Apr 5, 2013 at 7:21 AM, Alex Fu alex@gmail.com wrote: Hello guys, I'm currently facing an issue that I think should be fairly simple. I have a GridView which will get populated with images. If the image can't be found on the local disk, it will attempt to download the image from the network. Images download successfully, however the problem I am having is that the first image downloads just fine, however the second image that is downloaded is in very poor quality and is a fraction of the size it should be (5KB vs 100KB). This only happens when using mobile data connection. On WiFi, images download perfectly. Here is a link to the exact method that is retrieving these images... https://gist.github.**com/alexfu/5319597https://gist.github.com/alexfu/5319597. Any ideas or suggestions are greatly appreciated! -- -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-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=enhttp://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_outhttps://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-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=enhttp://groups.google.com/group/android-developers?hl=en --- You received this message because you are subscribed to a topic in the Google Groups Android Developers group. To unsubscribe from this topic, visit https://groups.google.com/d/** topic/android-developers/**zf4czg611ZU/unsubscribe?hl=enhttps://groups.google.com/d/topic/android-developers/zf4czg611ZU/unsubscribe?hl=en . To unsubscribe from this group and all its topics, send an email to android-developers+**unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/**groups/opt_outhttps://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-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=enhttp://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_outhttps://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-d...@**googlegroups.com To unsubscribe from this group, send email to android-developers+**unsubscr...@googlegroups.com For more options, visit this group at