[android-developers] socket throws npe on activity and not on adapter

2016-08-15 Thread Ricky Manalo
i am making an app that passes some command to a socket. the app has a list of the sockets i can pass commands to. it also has the option to set schedule on when to pass a command to socket/s. passing command from the adapter is ok, but passing from the activity from the schedule throws npe. i

[android-developers] SurfaceView : Zoom Video or Video crop

2015-10-12 Thread Ricky
Hi, I am facing one problem , related to Video Zoom (trying to zoom a portion of video ). For that I have used FrameLayout within that I am placing my SurfaceView. But for every change :Video is still restricted to the device's max width and height. I have tried following things: 1) Changi

[android-developers] Re: Child activity lifetime in background

2012-10-12 Thread Ricky
HI, Use this tag in the manifest for the activities so that it will not get killed after any amount of time... android:alwaysRetainTaskState="true" * * *njoy programming* *:) * On Wednesday, September 15, 2010 12:10:26 PM UTC+5:30, viktor wrote: > > Hi, > > I have next problem, I have got paren

[android-developers] i want to handling in my application, if user click "Clear Data"

2012-09-21 Thread ricky robiansyah
how to handling in my application...if user click "clear data" in manage application. i want back up data in the handling. now if user click "clear data" the all data is lost in my application. some data is critical to the process in my application. please help me to resolve it... thanks -- Yo

[android-developers] Auto accept Bluetooth pairing request

2011-09-26 Thread Ricky
In the Android 2.3.3 BluetoothChat example with with createInsecureRfcommSocketToServiceRecord() API, users are still prompted to accept the pairing request. Even though no PIN code was presented. Is there a way to automate Bluetooth pairing request without user intervention? Or is this never poss

[android-developers] AutoCompleteTextView.isPopupShowing() is always FALSE in onClick()

2011-08-10 Thread ricky
AutoCompleteTextView.isPopupShowing() is always FALSE in onClick(). How can I know that AutoCompleteTextView loose foucs and AutoCompleteTextView's listview opened / closed? thanks. -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To pos

[android-developers] How can App not running after install apk?

2011-06-14 Thread ricky
Hi. I install apk like below.. File file = new File(dir, "App.apk"); Intent intent = new Intent(Intent.ACTION_VIEW); intent.setDataAndType(Uri.fromFile(file), "application/ vnd.android.package-archive"); startActivity(intent); in this way, installed apk run automatically after install. But I do

[android-developers] Nexus S GRI54 cannot update to 2.3.4

2011-05-03 Thread Ricky Law
Hi all, I am using Nexus S with Build Number GRI54, Baseband version I9023XXKB3. And I received the update notification Today. After I push update and waiting, I saw a triangle with exclamation mark during OTA. I hold the power button and volume up button at the same time, and screen show that upd

[android-developers] Mapview ArrayIndexOutOfBoundsException in java.util.Vector.elementAt

2011-03-13 Thread Ricky
I really need some help. I have a report of a force close with this stack trace, and I cant find any information on how to prevent this type of error. java.util.Vector.elementAt(Vector.java:331) com.google.googlenav.map.Map.drawTile(Unknown Source) com.google.googlenav.map.Map.drawMapBackground(U

[android-developers] Re: Reading/writing messages in android application

2010-11-28 Thread Ricky`
On 28 Nov, 11:32, adithya <24adit...@gmail.com> wrote: > Can anyone tell me where can i find the constants for these column > names ? Managing sms is not officially supported thus is not documented but you can take a look on provider's source code on git: http://goo.gl/l7od3 Regards R. -- Y

[android-developers] while onLongClick'ed

2010-02-15 Thread Ricky
iew v) { moreDice(); //return true because event has been handled, do not pass onto any other listeners return true; } }); thanks in advanced, -ricky -- You received this message because you are subsc