I am using the static fragment library and am getting a
ClassNotFoundException.
android.view.InflateException: Binary XML file line #9: Error
inflating class fragment
java.lang.ClassNotFoundException: android.view.fragment in loader
dalvik.system.PathClassLoader[/data/app/com.kday.lil-2.apk]
Another important thing to not that I forgot: My fragments are
inheriting from FragmentActivity, as required by the static fragment
library.
On Apr 17, 1:42 am, k_day kevin.r@gmail.com wrote:
I am using the static fragment library and am getting a
ClassNotFoundException.
Oh, Sorry for that ! By did not work I mean for many apps background did
not have transparency it was opaque.
On Sun, Apr 17, 2011 at 6:42 AM, Dianne Hackborn hack...@android.comwrote:
Define did not work. In what way did it not work?
On Sat, Apr 16, 2011 at 9:21 AM, Pradeep
Thanks for your suggestion Dianne. In addition to storing the values,
I need to show the evolution on a chart and possibly to export the
data in some format (like CSV) at a later time. With this in mind, I
guess the CP + sqlite back end approach is the easiest for me at this
time. Let's say I need
Hello All
I have two questions regarding progress bar view:
1. Can i change Horizontal progress bar color at run time?
When i tried it my progress disappeared.
2. Is there a vertical progress bar?
I could not find one. Do you recommend changing
android.widget.ProgressBar ?
(i am not
hi lbendlin,
can you suggest me how i can decrypt file to memory and play song from
there?
--
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
um. that's not possible in my mind so far.
but what you could do is decrypt the file into buffer
and utilize the buffer to play.
See reference on something like RTSP by flash.
On 4/17/2011 3:44 AM, Hitendrasinh Gohil wrote:
hi lbendlin,
can you suggest me how i can decrypt file to memory
um. create a file, make a buffer, add the media into the buffer and
apprend to the disk?
something like that?
On 4/16/2011 9:57 PM, Doug wrote:
MediaPlayer can't do that for you, sorry. You will have to fully
implement your own solution.
Doug
On Apr 14, 6:27 pm, Fernando Valente
HI ,
Can any body tell me how should i get phone number of sms sender(i
mean incoming sms phone number)?
Please tell me.
--
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to
Hello,
I just upgraded my eclipse and everything. The issue is that my
googlemaps api doesn't work anymore since it can't find the addon.
Not sure what do do. I did register my api and used the sample code
for the xml.
Thanks
uses-library android:name=com.google.android.maps /
[2011-04-17
I'm very confused on why my fragments refuse to draw in portrait mode and
draw fine in landscape mode.
I'm build a screen with two fragments. in landscape they are side-by-side
and in portrait they are supposed to stack one above the other.
however now matter what I seem to try, the portrait
I should mention i'm using the compatibility library... however it doesn't
show up in the xml view when set to level 11 anyway.
--
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to
Your fragments in landscape mode have wrong width/height. Should be:
width=match_parent, height=0, whereas you have them switched.
17.04.2011 12:42 пользователь Brill Pappin bpap...@sixgreen.com написал:
I'm very confused on why my fragments refuse to draw in portrait mode and
draw fine in
Er, I meant wrong in portrait mode. Where the orientation is vertical.
17.04.2011 12:52 пользователь Kostya Vasilyev kmans...@gmail.com
написал:
Your fragments in landscape mode have wrong width/height. Should be:
width=match_parent, height=0, whereas you have them switched.
17.04.2011 12:42
Dear all,
How to design the function to select the text?
like dolphin browser select Text functions.
The functions can popup menu show copy search share more.
thank for your help.
--
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post
HI,
On Sun, Apr 17, 2011 at 12:42 AM, Kostya Vasilyev kmans...@gmail.com wrote:
My experience is as follows (I went live with in-app billing on Monday the
11th).
Thanks for input.
The issue with 2.1 devices only seems to affect purchases of pre-defined
test items, at least that's what I
17.04.2011 14:24, Nikolay Elenkov пишет:
That's actually my biggest issue, so if it works with 'real'
purchases, it might
give it a try after all.
Run your own test then, by configuring your 2.1 device as a test account
in Dev Console, and installing a release-signed .apk on it.
Just be
Thanks Dianne for your kind reply.
I'm really sorry for making some misunderstanding. com.xxx.xxx just a
sample package name. It's not exist in the real world. But thanks for your
BTW, you're a nice person.
The puzzle I cannot figure out is that in my application, I never send
Notifications as
Aren't you also supposed to specify the orientation of the fragment as well
...so the xml definition is fine but i think u should look at the fragment
definition as well.
On 17 Apr 2011 09:42, Brill Pappin bpap...@sixgreen.com wrote:
I'm very confused on why my fragments refuse to draw in
Hi Laxmi,
To integrate your app with facebook use the fbconnect API, just search in
google you will get the instruction to integrate and the fbconnect jar file.
To integrate with twitter you can just use the following url
http://mobile.twitter.com/home?status=+share;.
In order to share your
On Sun, Apr 17, 2011 at 7:28 PM, Kostya Vasilyev kmans...@gmail.com wrote:
17.04.2011 14:24, Nikolay Elenkov пишет:
That's actually my biggest issue, so if it works with 'real'
purchases, it might
give it a try after all.
Run your own test then, by configuring your 2.1 device as a test
There's no real need for Android support for Facebook, since the
interface is so simple:
http://developers.facebook.com/docs/guides/mobile/#android
On Apr 16, 5:16 pm, Kristopher Micinski krismicin...@gmail.com
wrote:
No. You can try to look for a facebook library, but there's no built in
Are you actually building your project against the Google Maps API 11 ?
--
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
Dear All ;
Anyone can point me *o**pen source XMPP client for android ?*
**I am working on a social network application where I need to handle client
side .I can't know which xmpp client I use for this . .
thanks
---
Regards :
Maybe you can check this out. http://www.beem-project.com/.
On Sun, Apr 17, 2011 at 7:55 PM, Me tonasirin...@gmail.com wrote:
Dear All ;
Anyone can point me *o**pen source XMPP client for android
?*
**I am working on a social network application where I need to handle
client
Important point, I've working on this last week and could only solve the
problems I was having by using the jar in the beem souce, they have fixed
the one from aSmack that doesn't work at all... take that in mind ;)
2011/4/17 A.TNG tang.j...@gmail.com
Maybe you can check this out.
Thanks* luixal and *A.TNG ;
* As I try it to download from SVN
its giving error as ERROR OPTIONS of 'http://www.beem-project.com/hg/trunk':
200 Script output follows (http://www.beem-project.com) .*
*
*
*So I download the beem in zip from that is available
Mort,
I see one issue in the code you posted.
If after bindService, there is an orientation change or the activity is
finished before onServiceConnected is called, myBinder will still be
null, and your code won't call unbindService, despite having called
bindService.
Don't know if this can
just upgraded the packages in eclipse and having major issues. going
to start from scratch
On Apr 17, 4:45 am, lbendlin l...@bendlin.us wrote:
Are you actually building your project against the Google Maps API 11 ?
--
You received this message because you are subscribed to the Google
Hello colleagues.
I am creating an application using Google Maps. To work with the cards
I have received a temporary API Key. Team:
keytool -list -alias androiddebugkey -keystore C:\Users\Andrei
\.android\debug.keystore -storepass android -keypass android
I created my application. And now I want
Thankyou all. Minor typo, for others who find this thread?
AlertDialog.Builder.YourAppNameSettings.this);
Should be
AlertDialog.Builder(YourAppNameSettings.this); //
Anyway, it works great (with that mod), exactly what I wanted, thanks
again.
--
You received this message because you
I am trying to position a button to be at the bottom of a tab screen.
THe top part is a ScrollView that has a Webview as it's child. I
have been able to get the button to be at the bottom but the
ScrollView is behind the button. When I scroll to the bottom the
last 2 lines of the text are
Okay, thanks for the explanation.
I believe this error only comes from calling Service.startForeground() with
a bad notification. Look for wherever you use that method and make sure the
notifications you build are always correct.
Have you tried running on the 2.3.3 emulator?
On Sun, Apr 17,
Also whenever you have problems with the UI not showing correctly,
hierarchyviewer is a very valuable tool to look at what is going on in the
view hierarchy.
Problems like these are very unlikely to be related to fragments, but in how
the view hierarchy has been constructed.
2011/4/17 Kostya
A quick and dirty trick that works very well for me, is to set the
background of a Layout / View in the XML to something really distinct,
like #FF008040, and then switch to the UI editor or run the application.
Not as complete and detailed as the hierarchy viewer, but still very
useful, fast,
mm...
I need to check this really quickly. I thought that using
onRetainNonConfigurationInstance and
getLastNonConfigurationInstancehttp://reference/android/app/Activity.html#getLastNonConfigurationInstance()
is
enough to carry state from one configuration to the other (e.g. when
I'm trying to debug or work around camera driver issues on
Gingerbread. In our app, the camera preview will start up, graba a
few frames, and then crash the camera driver with the following error
message:
liboemcamera: config_proc_ctrl_command: SEVERE ERROR: attempt to
override pending
It might be enough, depending on the activity in question, but they are
somewhat different beasts.
onSaveInstanceState / restore:
Provides automatic persistence of view states (edit control contents,
list view and scroll view positions, etc).
The Bundle is retained by the framework and
On Sun, Apr 17, 2011 at 12:03 PM, Robert rcope...@gmail.com wrote:
I am trying to position a button to be at the bottom of a tab screen.
THe top part is a ScrollView that has a Webview as it's child.
You cannot put a WebView in a ScrollView. WebView already knows how to
scroll -- it does not
On Sun, Apr 17, 2011 at 12:38 PM, Streets Of Boston
flyingdutc...@gmail.com wrote:
mm...
I need to check this really quickly. I thought that using
onRetainNonConfigurationInstance and getLastNonConfigurationInstance is
enough to carry state from one configuration to the other (e.g.
I reinstalled from scratch using google api 2.2 and still have the
same issue. I know I have my xml correct
?xml version=1.0 encoding=utf-8?
LinearLayout xmlns:android=http://schemas.android.com/apk/res/
android
android:layout_width=fill_parent
android:layout_height=fill_parent
I always develop on real devices so i'm not sure I can use the viewer, but I
can give it a shot for this instance.
- Brill
--
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to
Ahh, that was the problem... such a simple mistake (but isn't it always).
--
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
Do you mean in the code for the fragment?
Wouldn't the fragment already know the orientation from the system?
--
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
My app stores screen-data (limited sized data that is shown to the user and
could possibly be modified by the user) in Parcelables. These are assigned
to Intents when starting the activity.
I return this Parcelable in the onRetainNonConfiguration instance and I
assign it to the bundle in
The rules are:
1. onSaveInstanceState()/onCreate(Bundle) should always completely save and
restore your activity's state so the new activity is in the same state as
the old activity.
2. onRetainNonConfigurationInstance() is an *optional* thing you can use to
*optimize* the case where the activity
Thanks!
I think i'm doing that, since I do handle the case in which
getLastNonConfigurationInstance returns null.
Last week I was looking into the LoaderManager. It would have made some of
my app's data loading easier. But it is only for api-level 11 or up. Can't
use it...
--
You received
hello, i'm beginner in android. i wanna know how to allow user to
choose image and display that image on image control (i want to do
this on button click).
thank you
--
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send
Hello,
I want to test ContentProvider that serves data from sqlite database.
How can I initialize ContentProvider using ProviderTestCase2 that it
would read data from certain database file?
My first idea was to add test.db to project assets and in
ProviderTestCase2.setUp()
copy it to location
Hi,
I am developing an Android app with Phonegap http://www.phonegap.com/, but
I ran into a problem... Input has a different background, border and shadow
on focus (see below). It should be noted that this applies only to input
type ‘password’.
http://i.imgur.com/Mj6Gb.png
You should be asking this in the phonegap forums
On 2011-04-18 3:24 AM, František Hába frantisekh...@gmail.com wrote:
Hi,
I am developing an Android app with Phonegap http://www.phonegap.com/, but
I ran into a problem... Input has a different background, border and shadow
on focus (see below).
Thanks very much Mark. That fixed it AND I'm happy to get rid of the
nested views. Every byte saved and executable statement eliminated
are good things.
Robert
--
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send
On Sun, Apr 17, 2011 at 11:53 AM, Streets Of Boston flyingdutc...@gmail.com
wrote:
Last week I was looking into the LoaderManager. It would have made some of
my app's data loading easier. But it is only for api-level 11 or up. Can't
use it...
This is also part of the v4 support library with
Does the MediaPlayer have a setDataSource method that can set the
audio to a .wav file in your resources?
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
Could anyone suggest how to install Adobe AIR Runtime on SDK emulator virtual
device (Nexus One)
Thanks for any suggestions.
-Boyd
--
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to
On Sun, Apr 17, 2011 at 7:29 PM, BOYD SPEER bsp...@shaw.ca wrote:
Could anyone suggest how to install Adobe AIR Runtime on SDK emulator
virtual device (Nexus One)
A trivial Google search turns up:
http://forums.adobe.com/thread/747064
http://forums.adobe.com/thread/760016
**facepalm** yeh i had my lat and longitude mixed up, thanks
On Fri, Apr 15, 2011 at 8:16 PM, TreKing treking...@gmail.com wrote:
On Thu, Apr 14, 2011 at 2:49 PM, matt h matt...@gmail.com wrote:
Hi, I am trying to develop an app to list the bus stops for my local
Public Transit buses on a
what do you mean one overlay per bus line?
what my app is doing is it lists all bus stops in my area, then when i tap a
marker it will open the web browser and display the times the bus comes at
for that stop.
Eventually I will parse the web page and display the times within the dialog
that pops
Let's say you want to compare two bus lines for duration, or location of
stops. This means you would need to be able to individually switch bus line
display on and off on your map. That's what overlays are for.
--
You received this message because you are subscribed to the Google
Groups
Did you export the signed application package?
--
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
you could implement a custom rotation of the standard progress bar or you
could create your own from scratch.
--
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
I like complicated solutions. You could achieve the same with a list view
where the webview is in the single list view cell and the button is in a
custom footer section.
--
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this
Hi Murphy,
I am creating my own WebView application. Using the URI scheme I have
already registered another Android application in the system. But when
I am tring to invoke it from my WebView, I am getting the following
error.
You do not have permission to view the myapp://test
Any idea
Hi,
Is it possible to communicate/use USB devices on Android OS for a
tablet device.
Is there a driver/Java Library for this? Do I need to write drivers all by
myself?
Can you pls point me to discussions/links on this subject?
Thanks
-Santosh
--
You received this message because you are
Hi Dianne,
I've tried on 2.3.3 emulator, still cannot reproduce this issue. Meanwhile,
I search the internet and find another app have same issue and that guy
provide more detail log about the crash.
http://www.miui.com/thread-78164-1-1.html
On Mon, Apr 18, 2011 at 12:11 AM, Dianne Hackborn
Hello,
On 4月17日, 午前12:42, Kostya Vasilyev kmans...@gmail.com wrote:
The issue with 2.1 devices only seems to affect purchases of pre-defined
test items, at least that's what I was
seeing with my Motorola Milestone.
It was not so for me.
I tried buying real items by using In-app billing with
Instead of repeatedly hitting the database to see if something is available,
you could find some way for the service to send the new datum to the
application when it is received from the external device. I think this
could be achieved with an explicit intent. This allows the application to
Dear all,
There have no scrollBg and catBg bitmap in drawable or drawable-***
But, there have scrollBg and catBg id in gen.R.drawable and the
following xml is ok. why??
ScrollView xmlns:android=http://schemas.android.com/apk/res/android;
android:orientation=vertical
Hello All,
My idea is to play videos in order based on accelerometer whether it
moves to left or right. But the difference in play the videos must not
be noticeable. I tried using VideoView and internal memory. But is is
not helping kindly help as soon as possible,
--
You received this message
So i delete the gen folder manually, when eclipse yield the gen, it
still have scrollBg and catBg id.
it is very very strange for me, it make me subversion for my android
knowledge system, very need your help.
Thanks very much.
2011/4/18 a a harvey.a...@gmail.com:
Dear all,
There have no
Well I can tell you what the problem is with the linked error:
E/StatusBarService( 1325): couldn't inflate view for notification
com.lectek.android.ecp/0x0
E/StatusBarService( 1325): android.view.InflateException: Binary XML file
line #8: Error inflating class
I can't figure out how to change the height of an EditBox or a Button.
I have tried setting android:layout_height as well as android:height for
both and have gotten mixed results but not the result I am looking for.
android:layout_height only seems to cut the widget in half as if the size of
the
Flip command in monkey is expected to work only in emulator and Dream
(see MonkeyFlipEvent.java).
On Apr 15, 4:56 pm, Bill Napier nap...@android.com wrote:
Then again, I just tried it with the Nexus S and it doesn't work. It may
work on devices with keyboards like Droid. Here's how I tested
You can use ImageMagick's compare to actually visualize the difference
as described in this post
http://dtmilano.blogspot.com/2011/04/monkeyrunner-visual-image-comparison.html.
On Apr 16, 6:34 pm, lsim001 lim@gmail.com wrote:
Hi guys,
I've actually worked out how to solve the problem.
Yes Dianne. Really thanks for your help. I have found the root cause. One of
our third-party lib have used the AnimatedImageView. It works fine on 2.2
but break on 2.3. That's why we cannot find any clue from our own source
code, because the third-party lib is a JAR file.
The problem is solved.
Hi,
It's depends on which layout you are putting all these objects. If you set
your layout height properly (i.e. layout_height = 'wrap_content') then you
can easily change your object height.
On Mon, Apr 18, 2011 at 8:40 AM, ecforu ecforus...@gmail.com wrote:
I can't figure out how to change
Thanks NJ
On Apr 16, 6:21 am, Nicholas Johnson metthejohn...@gmail.com wrote:
Set your theme at run time in the onCreate() method using setTheme(int). Check
it out
herehttp://developer.android.com/reference/android/view/ContextThemeWrapp...)
.
I do this with my app, and it works very well.
The latest version of the Google Translate app appears to use some online
TTS service (instead of Android's built-in system).
Does anyone know how it does this and whether the service is available to
3rd party apps?
--
You received this message because you are subscribed to the Google
Groups
On Mon, Apr 18, 2011 at 1:29 PM, Mark Carter mjc1...@googlemail.com wrote:
The latest version of the Google Translate app appears to use some online
TTS service (instead of Android's built-in system).
Does anyone know how it does this and whether the service is available to
3rd party apps?
Good morning.
I still did not sign. I want to get APikey for my certificate and I
get it, but why not loading Google Map? I see only a gray square.
On 18 апр, 04:34, lbendlin l...@bendlin.us wrote:
Did you export the signed application package?
--
You received this message because you are
On Apr 18, 3:40 am, lbendlin l...@bendlin.us wrote:
you could implement a custom rotation of the standard progress bar or you
could create your own from scratch.
Can you give me tips how to create a custom rotation? (never did that)
--
You received this message because you are subscribed to
i have created an app, there i have an activity for registration purpose. I
want the particular activity to be shown for the the first time when the app
is been launched in a device and in the next time of use the activity should
not be viewed. How to do this, please help me with an example
The items need to be published, the application uploaded as draft (at
least), the test account listed under your developer profile.
18.04.2011 5:42 пользователь ishihata ishihata.k.t...@gmail.com написал:
Hello,
On 4月17日, 午前12:42, Kostya Vasilyev kmans...@gmail.com wrote:
The issue with 2.1
83 matches
Mail list logo