Hi,
I am learning android programming and have taken the task of creating my
own IME.
I am using LatinIME for this and creating my own SWYPE keyboard.
How can I implement the select-text with arrow keys that we have in SWYPE?
I have implemented the arrow-keys and can move the cursor around, but
Earlier you said you update the adapter in onPostExecute (as you should),
now you're saying you're doing it in doInBackground (which is wrong and
will cause this error), so which is it?
On Monday, November 5, 2012 8:01:36 AM UTC+2, Bajrang Asthana wrote:
Hi Piren,
I am creating AsyncTask in
Hi Mark,
I feared already that it's not possible, but still hoped to hear an option
to do that :'(
Thanks a lot!
-Danny
Am Sonntag, 4. November 2012 23:16:11 UTC+1 schrieb Mark Murphy (a Commons
Guy):
AFAIK, this is not possible, sorry.
On Sun, Nov 4, 2012 at 5:05 PM, Danny S.
Thanks Piren!
Actually in doInBackground method - I am fetching icons of all installed
apps and replacing the default icon( which I had set while creating list to
show all installed apps) with new one. Once I am done with this I am simply
notifying to adapter for data set change inside the
try moving mAdapter.setIcons(icons); to onPostExecute (you'll have to
make icons a member of your asynctask)
On Monday, November 5, 2012 10:40:14 AM UTC+2, Bajrang Asthana wrote:
Thanks Piren!
Actually in doInBackground method - I am fetching icons of all installed
apps and replacing the
Yes I did that and work fine. I added all the changes in temporary object
and then updated the content of adapter and notified it in postExecute()
method.
Thanks to All :)
--
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this
On Mon, Nov 5, 2012 at 2:29 AM, Zsolt Vasvari zvasv...@gmail.com wrote:
Wow, has this forum really slowed down... Where have all the posters have
migrated to, I wonder?
StackOverflow gets a few hundred questions per day in the android tag.
I am also starting to build up
Hi ,,
Can anyone help me out for encryption and decryption of images in Android ,
if any sample provide that would be great..
Thanks in Advance
On Wed, Apr 25, 2012 at 8:50 AM, kunlamp kunl...@gmail.com wrote:
hi did you get a encrypt jpeg/png file? I want do a sample about it ,but i
HI friends,
I am using Sherlock library for android
progressDisplay = new LoadingDialog();
progressDisplay.setCancelable(false);
progressDisplay.show(getSherlockActivity().getSupportFragmentManager(),
LoadingDialog);
LoadingDialog is the class which extends SherlockDialogFragment.
When i click
Thanks for comment, but can you please tell where exactly I have to change
in the code for that.
Thank you
Regards,
Rauf Qureshi
On Sun, Nov 4, 2012 at 10:32 PM, TreKing treking...@gmail.com wrote:
On Sun, Nov 4, 2012 at 5:54 AM, rauf qureshi qureshira...@gmail.comwrote:
I got link for
I had the exact same issue. Tried to give the Context of my Activity to the
dialog too, but no luck either. If anyone knows a solution will be of great
help.
On Mon, Nov 5, 2012 at 2:24 PM, vani reddy vani.reddy.bl...@gmail.comwrote:
HI friends,
I am using Sherlock library for android
How much fps can we reach maximum when we record video on samsung galaxy
s3? How can we raise fps?
--
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe
Hi Tarun.
I am not sure about PurchaseToken but google play will keep your purchase
in record and after billing cycle(monthly/yearly) it will charge user
again. If it fails it will inform tour app in onPurchaseStateChange()
callback. It will give you response code as expired.
On Thursday, 6
Hi,
I am trying to execute a javascript function and return a value to java in
Android 2.3 simulator.
I have a class:
*package com.myDomain.myPk;*
*public class JSReturn {
public void returnResult(int ret)
{
Log.d(js,String.valueOf(ret));
}
}*
I try to run from my activity:
got it...just had to send:
sendDownUpKeyEvents(KeyEvent.KEYCODE_SHIFT_LEFT);
On Monday, 5 November 2012 03:14:24 UTC-5, raj wrote:
Hi,
I am learning android programming and have taken the task of creating my
own IME.
I am using LatinIME for this and creating my own SWYPE keyboard.
How
On Mon, Nov 5, 2012 at 8:10 AM, rauf qureshi qureshira...@gmail.com wrote:
Thanks for comment, but can you please tell where exactly I have to
change in the code for that.
Sorry, I don't have time to read your code and solve your problem for you.
It's your problem, the onus is on you to
On Mon, Nov 5, 2012 at 6:24 AM, vani reddy vani.reddy.bl...@gmail.comwrote:
When i click on home button and close it, and again relaunch it on long
press of home press app is force closing in the below line:
progressDisplay.show(getSherlockActivity().getSupportFragmentManager(),
On Mon, Nov 5, 2012 at 3:35 AM, Siva Kumar j.sivakumar...@gmail.com wrote:
What happens in android device.If gps is working for a long time
continously (more than 5 hours)
Plug in your phone, open Google Maps, wait 5 hours, and let us know.
Someone sent me an APK.
It is designed for a phone that has a MENU button. I'm trying to run it on
a tablet that has no such button. Is there any way I can simulate a press
of the MENU button so I can get the app to work right?
--
You received this message because you are subscribed
hi i need help to find way to delete all row from table using content
provider
contentResolver.delete( uri , null , null)
what uri should i pass to delete all row ??
--
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group,
That would be a question for whoever is supplying you with the
ContentProvider. We cannot answer that question in the abstract.
On Mon, Nov 5, 2012 at 1:51 PM, djhacktor deepanshcri...@gmail.com wrote:
hi i need help to find way to delete all row from table using content
provider
long press the Recent Apps button
On Monday, November 5, 2012 1:31:38 PM UTC-5, bob wrote:
Someone sent me an APK.
It is designed for a phone that has a MENU button. I'm trying to run it
on a tablet that has no such button. Is there any way I can simulate a
press of the MENU button so
In order to doubt something, someone else must have made a statement. I
don't see that being the case. You have a thought, or maybe even a
question.
On Monday, November 5, 2012 4:38:23 AM UTC-5, SIVAKUMAR.J wrote:
Dear All,
Im having one doubt.
What happens in android device.If gps
Love the russian text. You may not want to rely on Google Translate that
much, unless you were aiming for chuckles.
On Monday, November 5, 2012 6:30:32 AM UTC-5, Mark Murphy (a Commons Guy)
wrote:
On Mon, Nov 5, 2012 at 2:29 AM, Zsolt Vasvari
zvas...@gmail.comjavascript:
wrote:
Wow,
On Mon, Nov 5, 2012 at 2:11 PM, lbendlin l...@bendlin.us wrote:
Love the russian text. You may not want to rely on Google Translate that
much, unless you were aiming for chuckles.
Well, the announcement tomorrow is calling for better translations of
that text. Alas, I do not speak Russian.
--
Hi,
I want to implement WakeLock in android for a service. I want the device to
keep executing a service, even when it is in sleep mode.
https://github.com/commonsguy/cwac-wakeful provides basic usage/alarm
usage. I am not sure which one I should use.
Can someone suggest me, if I have to use
The horizontal nature comes from the android.widget.Gallery class (which
CoverFlow is derived from):
Class Overview
A view that shows items in a center-locked, horizontally scrolling list.
Please observe this concerning Gallery:
This class was deprecated in API level 16.
This widget is no
That didn't work.
On Monday, November 5, 2012 1:07:27 PM UTC-6, lbendlin wrote:
long press the Recent Apps button
On Monday, November 5, 2012 1:31:38 PM UTC-5, bob wrote:
Someone sent me an APK.
It is designed for a phone that has a MENU button. I'm trying to run it
on a tablet
Sounds like you will want this function in *android.graphics.Bitmap*:
public boolean *compress* (Bitmap.CompressFormat format, int quality,
OutputStream stream)
Added in API level 1
Write a compressed version of the bitmap to the specified outputstream. If
this returns true, the bitmap can be
Hm, I'm under the impression either that or the three-dots button at
the lower right corner of the screen should work for any legacy app...
On Mon, Nov 5, 2012 at 10:36 PM, bob b...@coolfone.comze.com wrote:
That didn't work.
On Monday, November 5, 2012 1:07:27 PM UTC-6, lbendlin wrote:
I have an activity and a service. When the Activity first starts up I
create an Intent for the service and call StartService(i). This properly
starts up the service triggering the services' onCreate event and
onStartCommand events.
Subsequent to that there are times when I want to pass the
I was trying to load the image and set as background of the app. What i
tried is
{
super.onActivityResult(requestCode, resultCode, data);
if (resultCode == Activity.RESULT_OK requestCode == 0) {
Uri photo = data.getData();
ContentResolver resolver = getContentResolver();
On Mon, Nov 5, 2012 at 4:51 PM, Latimerius l4t1m3r...@gmail.com wrote:
Hm, I'm under the impression either that or the three-dots button at
the lower right corner of the screen should work for any legacy app...
Only if that button shows up.
For example, if android:targetSdkVersion=14 or
On Mon, Nov 5, 2012 at 5:02 PM, g...@deanblakely.com
g...@deanblakely.comwrote:
To my surprise the onCreate event of the service executes again!! I would
expect that only the onStartCommand would execute on subsequent
StartService(i) calls. The service was indeed still running when the call
Tried them both with and without. No success.
On Friday, November 2, 2012 6:20:09 PM UTC-5, Kostya Vasilyev wrote:
It's pretty weird to see the \n-s make it into the log as is...
Do your shader files perhaps contain those two symbols (the backslash and
the n) at the end of each line? Are
On Mon, Nov 5, 2012 at 5:27 PM, Numair Qadir numair.qa...@gmail.com wrote:
And it crashes as soon as i select the picture to load. Here is the logcat
error
11-06 04:04:15.002: E/AndroidRuntime(446): java.lang.RuntimeException:
Failure delivering result ResultInfo{who=null, request=0,
On Tue, Nov 6, 2012 at 12:29 AM, Mark Murphy mmur...@commonsware.com wrote:
On Mon, Nov 5, 2012 at 4:51 PM, Latimerius l4t1m3r...@gmail.com wrote:
Hm, I'm under the impression either that or the three-dots button at
the lower right corner of the screen should work for any legacy app...
Only
The ProgressDialog itself returns a bad token exception!
On Mon, Nov 5, 2012 at 8:17 PM, TreKing treking...@gmail.com wrote:
On Mon, Nov 5, 2012 at 6:24 AM, vani reddy vani.reddy.bl...@gmail.comwrote:
When i click on home button and close it, and again relaunch it on long
press of home
I would preffer to apply a 9patch bitmap as background if i was u.
--
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
i think putting the dialog view in a fill_parent translucent view, so its
position can be easily controled.
在 2012年11月1日星期四UTC+8下午3时42分59秒,Dilip Kumar Chaudhary写道:
I have used Dialog for display ad in my Andorid app.But I have to display
this Dialog about 50dp top from buttom so i think
thanks it has been set using layout param
On Tue, Nov 6, 2012 at 9:16 AM, Yu Zhuang guang...@gmail.com wrote:
i think putting the dialog view in a fill_parent translucent view, so its
position can be easily controled.
在 2012年11月1日星期四UTC+8下午3时42分59秒,Dilip Kumar Chaudhary写道:
I have used
Hi all
how can i get height of floor in mobile device
Suppose i in 10 floor building and want to tell user in which floor he is
in .
I wont be getting the location inside building thaty any other solution.
Thanks
Ankur
--
You received this message because you are subscribed to the Google
I've discovered a mistake in my software after upgrading my device from 3.2
to 4.0.4.
In version 3.2 I can check a disabled RadioButton, while in 4.0.4 disabled
RadioButton is never checked. I use the checked option only for presenting
intuitive views to the user.. but now it don't works
Thank you for your response Silvio. I have done in the way you suggested..
and it works!
Il giorno lunedì 22 ottobre 2012 01:14:33 UTC+2, Silvio Gustavo ha scritto:
Hi Marco,
Nested Fragments are not supported by Android.
You could change the activity layout, putting 3 containers to attach
On Friday, 3 August 2012 08:03:44 UTC+5:30, imran wrote:
I got an error of hierarchical parent while i was trying to create a new
project. I am not sure what to give in the hierarchical parent text field
while creating a new project. it shows a red cross but when i give any text
it
thank you, from then on it runs well. i think the jar is comfortable..
在 2012年10月29日星期一UTC+8下午6时36分09秒,Mark Murphy (a Commons Guy)写道:
On Thu, Oct 25, 2012 at 11:59 PM, Yu Zhuang guan...@gmail.comjavascript:
wrote:
i want to know wether this package android-support-v4.jar have a new
On Mon, Nov 5, 2012 at 11:07 PM, ANKUR GOEL ankur1...@gmail.com wrote:
Suppose i in 10 floor building and want to tell user in which floor he is
in .
This is probably quite impossible.
-
TreKing
On 2012-11-05 20:49, Mark Murphy wrote:
On Mon, Nov 5, 2012 at 2:11 PM, lbendlin l...@bendlin.us wrote:
Love the russian text. You may not want to rely on Google Translate that
much, unless you were aiming for chuckles.
Well, the announcement tomorrow is calling for better translations of
You can return START_STICKY to make sure the service is always running
unless the system is low in RAM memory. The system, in that case would
restart your service when memory is available. Relying on ActivityManager
is a dangerous thing to do as written below.
49 matches
Mail list logo