Just had to read the information on SDK online. In case someone else runs in
to this issue, you need to have the following in AndroidManifest.xml from
http://developer.android.com/guide/topics/manifest/supports-screens-element.html
supports-screens
android:resizeable=true
I have a custom adapter for ListView and I need to return LinearLayout
from getView(). The reason I'm doing it is that I have custom
component which extends LinearLayout and need to be created from code.
The problem is that if I return any LinearLayout from getView(), the
application crashes. How
Hi
I want to create a menu as if shown in the below image. Is it a context menu
or something special to attach along with the button which is clicked.
--
- Prakash.
--
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group,
I use jxlapi - very easy to use.
On Aug 20, 1:56 pm, vineeshkc kcvine...@gmail.com wrote:
hai
I need a simple android application that can view and create excel
spreadsheets
any idea or suggestion helpful to me pls
--
You received this message because you are subscribed to the Google
Hi everyone,
Can anyone share Android e books which i can download.
Many 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
On Aug 20, 8:41 am, Sivaprakash sivaprakashshanmu...@gmail.com
wrote:
Hi
I want to create a menu as if shown in the below image. Is it a context menu
or something special to attach along with the button which is clicked.
--
- Prakash.
menu.png
10KViewDownload
See:
hi
check this url
http://iamvijayakumar.blogspot.com/2011/01/android-tutorial-free-download-pdf.html
On Sat, Aug 20, 2011 at 12:32 PM, Jupiterz jupiterfo...@hotmail.com wrote:
Hi everyone,
Can anyone share Android e books which i can download.
Many thanks
--
You received this message
Snowak wrote:
I have a custom adapter for ListView and I need to return LinearLayout
from getView(). The reason I'm doing it is that I have custom
component which extends LinearLayout and need to be created from code.
The problem is that if I return any LinearLayout from getView(), the
That book is by Mark Murphy. Don't use pirated links. Get it from him if you
want it.
On Sat, Aug 20, 2011 at 12:38 PM, vijayakumar M iamvijayaku...@gmail.comwrote:
hi
check this url
http://iamvijayakumar.blogspot.com/2011/01/android-tutorial-free-download-pdf.html
On Sat, Aug 20, 2011
hi
thaks all of you for valuable response
actulaay i am trying to develop android applicaton
that should be compatible with excel functions and include view,write,save
to folder, delete, click any cell to enter edit mode, and click to email as
attachment
thats my requirement
On Sat, Aug 20,
Then why don't you Google the bits and pieces to make your app? We can help
you with a specific problem, not write the entire app. (Unless you are
paying us.)
Thanks
On Sat, Aug 20, 2011 at 1:53 PM, vineeshkc kcvine...@gmail.com wrote:
hi
thaks all of you for valuable response
actulaay i
hai Appaholics
i am not asking to develop the application
simply asked any Appaholics
is any api like jxl.jar is available
On Sat, Aug 20, 2011 at 2:05 PM, Appaholics raghavs...@appaholics.in wrote:
Then why don't you Google the bits and pieces to make your app? We can help
you with a
http://www.vogella.de/articles/JavaExcel/article.html
On Sat, Aug 20, 2011 at 3:04 PM, vineeshkc kcvine...@gmail.com wrote:
hai Appaholics
i am not asking to develop the application
simply asked any Appaholics
is any api like jxl.jar is available
On Sat, Aug 20, 2011 at 2:05 PM,
---
NaveenShrivastva wants to stay in better touch using some of Google's
coolest new
products.
If you already have Gmail or Google Talk, visit:
http://mail.google.com/mail/b-47af872433-f815ac997e-Kz_xY2H8d_0E3xgOClAaTb2m6r8
hi
thanks dear Appaholics
On Sat, Aug 20, 2011 at 3:08 PM, Appaholics raghavs...@appaholics.in wrote:
http://www.vogella.de/articles/JavaExcel/article.html
On Sat, Aug 20, 2011 at 3:04 PM, vineeshkc kcvine...@gmail.com wrote:
hai Appaholics
i am not asking to develop the application
Those books are pirated (AFAIK), but neither the Sams' title nor _Pro
Android_ are mine.
Anyone can get free older copies of my books straight off my Web site:
http://commonsware.com. Click on a book title and choose the Four-to-Free
Guarantee tab.
On Sat, Aug 20, 2011 at 3:53 AM, Appaholics
Sorry I mixed up the two different eBook link threads that are recent. Meant
to post this on the other one.
Thanks
On Sat, Aug 20, 2011 at 3:27 PM, Mark Murphy mmur...@commonsware.comwrote:
Those books are pirated (AFAIK), but neither the Sams' title nor _Pro
Android_ are mine.
Anyone can
Sorry for double posting, but there's one more thing that bothers me
regarding this problem. Dialog requires to pass Activity as a context,
but when changing screen orientation that activity is destroyed. How
can it use the cached dialog with invalid context? Is it setting it to
the new one?
--
The actual dialog objects get destroyed, and re-created around the time
of onRestoreInstanceState in the new activity instance (causing
onCreateDialog / onPrepareDialog to be called).
The problem is
switch (e.getAction())
{
case MotionEvent.ACTION_DOWN:
x=e.getX();
y=e.getY();
requestRender();
break;
case MotionEvent.ACTION_UP:
a=e.getX();
b=e.getY();
Hi I am facing a similar problem what i am doing in my application is
I am trying to move the disc from one place to another place
switch (e.getAction())
{
case MotionEvent.ACTION_DOWN:
x=e.getX();
y=e.getY();
requestRender();
So why does the Drawable fail to repeat? Looks like the problem lies
in restoring the dialog before whole layout is initialized.. which is
quite weird. Is there a way to retrieve the list of opened dialogs
associated to current Activity?
On 20 Sie, 12:11, Kostya Vasilyev kmans...@gmail.com wrote:
Hi All,
What is the best way to check for free RAM memory available for apps ?
adb shell top gives a much lesser value as it does not exclude the
memory being used for caching.
What is the free memory value that Advanced Task Manager gives ?
Regards,
Pradeep
--
You received this message
Hi All,
I realize that this question of mine has already been asked before (probably
not in the same context but similar). However, even after reading a number
of forum threads and looking at online examples, I am still not clear. I
hope one of you can guide me.
Here is the issue that I am
On Sat, Aug 20, 2011 at 7:15 AM, Ash anan...@gmail.com wrote:
My question is how can use myObserver class to update the button in
'myActivity'.
Step #1: have MyObserver hold onto an instance of MyActivity
Step #2: have MyObserver call methods on the MyActivity instance
The function
Hi Mark,
Thanks for the prompt reply.
The onConnect and onDisconnect method will be called by background threads
(running in the third party library). Hence I will have to take the
runOnUIThread approach.
I will try to look for examples in this. If you know of any site that gives
an example
Assuming runOnUIThread is equivalent to AsyncTasks
http://developer.android.com/reference/android/os/AsyncTask.html
--
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to android-developers@googlegroups.com
To
On Sat, Aug 20, 2011 at 7:38 AM, Ash anan...@gmail.com wrote:
Assuming runOnUIThread is equivalent to AsyncTasks
http://developer.android.com/reference/android/os/AsyncTask.html
AsyncTask is a class. runOnUiThread() is a method. You pass a Runnable
to runOnUiThread(), and if you are on a
No accelerated colorspace conversion found from %s to %s. facing this
issue in FFMpeg android.please help me.
--
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
Hi Treking
This is not the answer.
On Fri, Aug 19, 2011 at 5:45 PM, TreKing treking...@gmail.com wrote:
On Fri, Aug 19, 2011 at 7:41 PM, Goutom goutom.sust@gmail.com wrote:
Any help?
Use the adapter that backs the listview.
On Fri, Aug 19, 2011 at 8:41 PM, Goutom goutom.sust@gmail.com wrote:
I want to get all child of a listview.
Why?
int count = listview.getAdapter().getCount();
This is not the number of children of the ListView. getChildCount() on
ListView is the number of children of the
hello everyone,
i have a problem in retrieving data stored in webview by using html
database.
and it is working perfectly on the html page.
as the application involves, there is a demand that i get the stored data
from the webview.
after investigating into the sdk, i didn't find a way to get
Hi All,
On my device DDMS-Sysinfo-Memory Usage shows a pie chart with very
large section named Inactive
Any idea what this refers to ? How is it different from free memory ?
Regards,
Pradeep
--
You received this message because you are subscribed to the Google
Groups Android Developers group.
On Sat, Aug 20, 2011 at 8:18 AM, 李白|字一日 calid...@gmail.com wrote:
hello everyone,
i have a problem in retrieving data stored in webview by using html
database.
and it is working perfectly on the html page.
as the application involves, there is a demand that i get the stored data
from the
There really isn't restoring of dialogs - more like recreation of
dialogs.
As such, it goes through your new activity's onCreateDialog after the
orientation change.
You could try loading the drawable and setting it into the dialog layout
from code. Perhaps calling setTileMode{X/Y/XY} along
thanks,
it seems the sqlite database opening mechanism is very complicated in
android.
even if i specify the file name to 0001.db like the
followings:
1. path = path + /file__0/0001.db;
2. path = path + /../databases/webview.db;
3. path = path +
On Sat, Aug 20, 2011 at 9:15 AM, 李白|字一日 calid...@gmail.com wrote:
because my application is based on webview,
it is not a good way to change it again to java api based which may cause
the data lose for users.
and web apps will be my focus later.
Then don't access it from the Java code. Use
Hi guys,
in many applications that are published out there,
I see that some of them in editText of password and username, there are some
text with gray color (usually) and when user clicked it, the text is gone..
what is the attribute of editText to do it?
Or i must code it manually to response
On Sat, Aug 20, 2011 at 10:59 AM, ndiiie 90 rnd...@gmail.com wrote:
I see that some of them in editText of password and username, there are some
text with gray color (usually) and when user clicked it, the text is gone..
what is the attribute of editText to do it?
android:hint
--
Mark Murphy
thanks,
it seems a quite reasonable way by now.
it adds two questions to me:
1. how to invoke javascript only without loading a webview?
2. how to pass a callback to javascript and make java invocation
synchronous?
would you please give me some advise or hints, Mark?
2011/8/20 Mark
On Sat, Aug 20, 2011 at 11:38 AM, 李白|字一日 calid...@gmail.com wrote:
it adds two questions to me:
1. how to invoke javascript only without loading a webview?
Um, you can't, unless you add Rhino or another JavaScript interpreter
to your project. Moreover, you seem to be missing the point.
You
I removed EditText from my layout and after that i started getting
Force close error. My app is not starting at all. Here is the trace
i captured with logcat;
=
E/AndroidRuntime( 1335): FATAL EXCEPTION: main
E/AndroidRuntime( 1335):
Try cleaning your project (Project Clean from the Eclipse main menu,
or ant clean from the command line). Typically, I find that these
ClassCastExceptions are because the widget IDs are out of sync between
the resources in the APK file and your already-compiled .class files.
Cleaning the project
On Fri, Aug 19, 2011 at 11:56 PM, Snowak psno...@gmail.com wrote:
Let me quote my post:
I'm not interested in forcing it to reload in onPrepareDialog,
because it would require putting this code into every activity which
use this dialog..
Do you really think your solution differ in any
Awesome... :
it worked after cleaning project... thanks Mark
On Aug 20, 12:24 pm, Mark Murphy mmur...@commonsware.com wrote:
Try cleaning your project (Project Clean from the Eclipse main menu,
or ant clean from the command line). Typically, I find that these
ClassCastExceptions are
On Sat, Aug 20, 2011 at 6:57 AM, Goutom goutom.sust@gmail.com wrote:
Hi Treking
This is not the answer.
I respectfully disagree. But hey, it's your app. Good luck.
-
TreKing
On Sat, Aug 20, 2011 at 5:29 AM, rajiv rajiv.di...@gmail.com wrote:
Here the value of X and y and a b are same but when it is Action_up
the co-ordinate of X Y ab should be different Please help me
The little information you posted is not enough for anyone to help you. Try
debugging your
On Friday, August 19, 2011 1:21:51 PM UTC-4, pb wrote:
I noticed that starting the emulator disables DPMS and it is not re-
enabled when the emulator closes. So my monitor was never going to
sleep until I re-enabled DPMS manually. Does anyone know why it does
this and/or how to fix it?
Thank you both, it looks like the Drawable fails to restore it's
tileMode when it's created before layout has been completely
initialized. It's weird, but I've managed to solve it by setting the
tileModeXY via code when creating the dialog.
--
You received this message because you are subscribed
Let's say you have an image, and you want to know the x and y of the
user's click. Anyone know what widget to use?
--
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
thanks a lot, Mark.
but it is really frustrating me.
i was hoping to get a simple resolution to my application..[?]
2011/8/20 Mark Murphy mmur...@commonsware.com
On Sat, Aug 20, 2011 at 11:38 AM, 李白|字一日 calid...@gmail.com wrote:
it adds two questions to me:
1. how to invoke
i'd like to use direct video capture of my apps for making Android
Market promo videos. i know other devs have asked about this before
and up until now i hadn't found a way.
then recently i saw the RenderScript Balls demo on youtube:
http://www.youtube.com/watch?v=uQ5NumRfHN4
and it seems to be
In the latest version of Facebook's Android App, they have a Fish-eye
scrolling menu that pops up when you click Most Recent in the top
right corner of the app. Can someone point me to a resource that has a
tutorial that implements this menu (if you know it)?
--
You received this message because
Dear Bill,
Why would I be getting the following error while trying to compile ?
Exception in thread AWT-EventQueue-0 java.lang.Error: Unresolved
compilation problem:
Type mismatch: cannot convert from AdbBackend to IMonkeyBackend
AM using what you had quoted to initiate the connection to
E/AndroidRuntime( 1335): Caused by: java.lang.ClassCastException:
android.widget
.EditText
E/AndroidRuntime( 1335):at
com.myApp.DashBoard.onCreate(DashBoard.java
:70)
What's at line 70 in DashBoard.java?
On Aug 20, 5:16 pm, Spica spicaneb...@gmail.com wrote:
I removed EditText from my
This is line 70;
Button b = (Button) findViewById(R.id.btnReferesh);
On Aug 20, 4:39 pm, RichardC richard.crit...@googlemail.com wrote:
E/AndroidRuntime( 1335): Caused by: java.lang.ClassCastException:
android.widget
.EditText
E/AndroidRuntime( 1335): at
Wonderful. Thanks a lot for your prompt and detailed replies. I appreciate
your help. I seem to have achieved what I was after (for now initial testing
has given me enough confidence to move forward).
Thanks again Mark.
--
You received this message because you are subscribed to the Google
Let's say you are making an interface.
Do you think it's easier to use widgets or just draw your own stuff?
--
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
4 steps:
(1) break line 70 into two:
View myFoundView = findViewById(R.id.btnReferesh);
Button b = (Button)myFoundView;
(2) Put a breakpoint on the 1st line above
(3) Step over the 1st line and then inspect myFoundView;
(4) Workout why whatever is in myFoundView cannot be cast to a Button
On
hi guys,
i would like to turn off programmatically the screen lock
function ...
how can i do it ?
thanks in advance
Hector
--
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to
I'd say widgets...
On Sat, Aug 20, 2011 at 11:26 PM, bob b...@coolgroups.com wrote:
Let's say you are making an interface.
Do you think it's easier to use widgets or just draw your own stuff?
--
You received this message because you are subscribed to the Google
Groups Android Developers
I have an app on the Market that works well for most users but for a
few of them and very rarely, I get crash reports with exception:
java.lang.NoClassDefFoundError: android.os.AsyncTask
It happens very early in app init when the first AsyncTask is created
on different versions of Android.
Hey, RichardC, this problem is solved, check the third mail of the thread.
--
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
On Sat, Aug 20, 2011 at 7:29 PM, hectordu...@yahoo.com
hectordu...@yahoo.com wrote:
hi guys,
i would like to turn off programmatically the screen lock
function ...
how can i do it ?
3 easy steps.
1. Go to google.com
2. Type: android turn off screen
3. Implement the functionality
Noone?
On Aug 11, 11:21 am, Matyas matyas.b...@gmail.com wrote:
Hi,
The following is giving me a serious headache.
Bitmap mTestMap = Bitmap.createBitmap(20, 20, Config.ALPHA_8);
mTestMap.setPixel(10,10, Color.WHITE);
Log.d(Test, HasAlpha= + mTestMap.hasAlpha() + , IsMutable= +
I have an existing Listview of news article titles, and I need to now
have an image to the left of the title. Anyone know a real easy way
to do this?
--
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to
On Sat, Aug 20, 2011 at 6:02 PM, b0b pujos.mich...@gmail.com wrote:
Does anyone have seen such crash reports in its own apps ?
I've gotten a few randoms that seem impossible like this. My current theory
is a bad install that f***s up the app. Anytime I've gotten emails about
just updated and
On Sat, Aug 20, 2011 at 7:59 PM, bob b...@coolgroups.com wrote:
I have an existing Listview of news article titles, and I need to now have
an image to the left of the title. Anyone know a real easy way to do this?
Stick an Image to the left of the title in your layout?
On Sat, Aug 20, 2011 at 10:03 PM, TreKing treking...@gmail.com wrote:
Stick an Image to the left of the title in your layout?
With glue?
--
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to
you cannot do that if there is one or more security admins on the device
(mostly affects people who use the phone to access their corporate email).
--
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to
On Aug 21, 12:02 am, b0b pujos.mich...@gmail.com wrote:
I have an app on the Market that works well for most users but for a
few of them and very rarely, I get crash reports with exception:
java.lang.NoClassDefFoundError: android.os.AsyncTask
AsyncTask was introduced in api level 3. Any
Sure it is.
The adaptor has all the items. The view has the visible items.
If you want to do something with the visible items you can use the
view.
If you want to do something with all the items you can use the
adaptor.
If the adaptor doesn't have enough information to know the state of
the
On Sat, Aug 20, 2011 at 8:19 PM, Peter Sinnott psinn...@gmail.com wrote:
It would nice if the developer console error page had the Android version
and device in it.
Technically it does, but the information is presented so horribly it's
impossible to determine which app version was running on
I have 23 others , 2 nexus ones and 3 droids. There are I think half a
dozen Android phones called droid and that is an awful lot of phones
tagged other. From a practical point of view I wouldn't consider the
device to be reported. The error reporting was nice when it arrived
but after a couple of
http://developer.android.com/reference/android/view/MotionEvent.html
public boolean onGenericMotionEvent (MotionEvent event)
Since: API Level 12
(From View.)
Kris
On Sat, Aug 20, 2011 at 2:22 PM, bob b...@coolgroups.com wrote:
Let's say you have an image, and you want to know the x and y of
On Sat, Aug 20, 2011 at 8:40 PM, Peter Sinnott psinn...@gmail.com wrote:
I have 23 others , 2 nexus ones and 3 droids. There are I think half
a dozen Android phones called droid and that is an awful lot of
phones tagged other. From a practical point of view I wouldn't consider
the device to
Apart from glue a bit not so easy way would be to create an array adapter
and extends the listview activity with it .Inside the adapater you can add
an image, description ,title to it.Try if it helps or I will paste the code.
Rgds,
Saurabh
..pain is temporary.quitting lasts forever..
On
Using API version 7, this code produces the exact opposite results on
my Evo versus my Galaxy Tab:
switch( getWindowManager().getDefaultDisplay().getOrientation() )
{
case 0:
display_mode = MyApplication.HORIZONTAL;
break;
case 1:
display_mode =
78 matches
Mail list logo