oh dear,
i suggest learning java first.
D.
On Thursday, 24 May 2012, HK Tsang hktsan...@gmail.com wrote:
I've passed the code when I add player = new MyPlayer() in onCreate. but
next step, I change it to array:
MyPlayer[] players;
.
.
.
.
onCreate
players = new MyPlayer[4];
No, because there will always have to be something there, it's a
security feature of the system.
kris
On Thu, May 24, 2012 at 1:52 AM, Put_tiMe putt...@gmail.com wrote:
I kind of figured that out, it shows a blank icon. But the draw back is it
still uses up real estate.
Is there no way we
Hello,
my app was released a year ago or so, but now one year later, I get the
following error message:
android.database.sqlite.SQLiteException: no such table: tracking: ,
while compiling: SELECT _id, ...
How can it happen that the table does not exist? In one installation of
thousands?
The
Hello,
how can the following error happens? The app was build and exported via
Eclipse. It has over 2300 installations but one user reports this error.
java.lang.RuntimeException: Unable to instantiate application
de.sportscheck.SportScheckApplication: java.lang.ClassNotFoundException:
On Thu, May 24, 2012 at 1:22 AM, Ralph Bergmann | the4thFloor.eu
ra...@the4thfloor.eu wrote:
It has over 2300 installations but one user reports this error.
It's a fluke, likely caused by a bad install. Ignore it. Haven them
re-install the app if you can.
How can it happen that the table does not exist? In one installation of
thousands?
-- Seems bad installation of app. so, re-install and try.
-- Another reason, phone is on low memory and having no space to create db.
so DB has not created and your query is going to ask about table. So,
Yes you are right. Acturally I'm learning both together right now. I just
can learn it by my-self and find some exsample to study on web. No one can
teach me arround me. Therefore I just can ask something that I don't
understand in here. I know that my knowledge is too a little. But I hope
someone
Hi,
I'm writing a test app which have a operation of click on the
CheckBoxPreference, here is my code:
public class MyActivityTest extends
ActivityInstrumentationTestCase2MyActivity{
.
@UiThreadTest
public void testEnable() {
CheckBoxPreference mMyEnable =
Hello for readers,
I would like to open the android camera to look like this one
Intent cameraIntent = new
Intent(android.provider.MediaStore.INTENT_ACTION_VIDEO_CAMERA);
startActivityForResult(cameraIntent, CAMERA_PIC_REQUEST);
Where user may capture an image, record a video or open
My feeds list conatins both text feeds and audio feeds.
I have a button to view the complete text and a button to play the audio
feeds.
I am checking the the type of the feed to make the appropriate button
visible.
The first four feeds in the list gets the proper buttons but the rest are
not
HK,
I am sorry you feel this way - and don't worry, you have not disturbed me.
I think that you would be much better off, learning Java first,
outside of Android or any other platform.
Simply start some tutorial, going through nuances of Java. Problems
you are having are very easy to fix, once
Hi,
guess you are using PreferenceActivity.
so, check your xml, what have you given android:defaultValue=?, either
true or false?
Hope it will help you.
Regards
Imran Ali
On Thursday, May 24, 2012 2:10:36 PM UTC+5:30, Ira.Han wrote:
Hi,
I'm writing a test app which have a operation of
I declared it in the Manifest's Permissions tab in Eclipse. It's been
declared right, but I couldn't look it up (at someone else's PC for a
second).
On Thursday, May 24, 2012 6:31:59 AM UTC+2, TreKing wrote:
On Tue, May 22, 2012 at 10:54 AM, Bas Verhoog basverhoo...@gmail.comwrote:
Also, I
Daniel,
Thank you for your kindly recommandation.
Anyway, I've find what's the problem there and solved. Thank you very much.
HK
On Thu, May 24, 2012 at 5:29 PM, Daniel Drozdzewski
daniel.drozdzew...@gmail.com wrote:
HK,
I am sorry you feel this way - and don't worry, you have not
can you post part of code where your doing visible/invisible of buttons.
I think you are doing some mistake in getView(...) method of Adapter.
and it is going to mess on scroll of listview.
Regards
Imran Ali
On Thursday, May 24, 2012 2:56:38 PM UTC+5:30, shruthi santosh wrote:
My feeds list
That's right. Note you can use market:// url instead http:// scheme so
the link is opened directly with Google Play.
On 23/05/12 20:34, Bas Verhoog wrote:
Hello,
Good to see that you've found an answer. That means I'm most likely right
:).
--
You received this message because you are
Nice to known that , thanks Treking. Although documentation is very vast
and sometimes it is hard to find what you are looking for if you do not
know where to search exactly. I agree that documentation is my friend,
but most of the time discussion groups are even friendly than docs.
Regards,
On
hi shruthi,
I think you are using if condition inside the getView method to
visible or invisible some buttons.
try if... else condition instead of if , like this
if(condition true)
{
button visible;
}
else
{
button false;
}
it will cure your problem
let me know this
here is the code for getView(),
public View getView(int position, View convertView, ViewGroup parent) {
View row=super.getView(position, convertView, parent);
ViewHolder holder=(ViewHolder)row.getTag();
if (holder==null) {
.h
On May 24, 2012 6:27 PM, shruthi santosh shruthi.shr...@gmail.com wrote:
My feeds list conatins both text feeds and audio feeds.
I have a button to view the complete text and a button to play the audio
feeds.
I am checking the the type of the feed to make the appropriate button
visible.
--
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
i had tried if ...else condition.it did not wok.so i changed it to
if...else if
shruthi
On Thu, May 24, 2012 at 4:22 PM, kalandar kasimk...@gmail.com wrote:
hi shruthi,
I think you are using if condition inside the getView method to
visible or invisible some buttons.
try if...
Hi,
why are you doing this
View row=super.getView(position, convertView, parent);
though you are in getView() Method.
so you will get convertView that is same.
Ok,
follow this,
if(convertview==null){
1. inflate view,
2. check type of data and set visibility
3.set tag
Thank you!
On 5月24日, 上午12時59分, Kostya Vasilyev kmans...@gmail.com wrote:
Androidsources are available here:
http://source.android.com/
For quickly jumping from docs to source, I often use this:
https://chrome.google.com/webstore/detail/hgcbffeicehlpmgmnhnkjbjoldk...
AndroidSDK Reference
Someone please help me with this, it has me stuck for two days.
--
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
Hey gents,
I'm looking for a basic graphing app that will pull a feed from a server.
xml, csv, whatever.
would be nice if it also had a widget that would display latest readings,
also pulled from server (could be in the main dataset, could be separate).
I'm asking more do you guys know of one
Did you ever get this figured out? I'm running into the same problem.
Actually, the current version of my app doesn't use ES 2.0, so I want to
leave this old one up for phones that don't support my new version of the
app, which requires 2.0. When I uploaded the apk and tried to
simultaneously
Hi everybody!
I would like to know, why there is incompatibility problem with my
application in some android devices (like HTC Explorer, Galaxy Mini...).
Here is my manifest:
manifest
xmlns:android=http://schemas.android.com/apk/res/android;
package=com.newin.android
Forgot to include link to same
question:
http://stackoverflow.com/questions/10741980/android-file-download-throwing-errors
--
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to
Hi Droids,
I'm a newbie developer working, looking for some advice.
I'm working on a project with a custom drag and drop, and we can't use the
drag and drop framework. However, many properties will be changing at
once. I'm looking into using the ViewPropertyAnimator setX setY function
ViewPropertyAnimator is designed and implemented to be *faster* than
animating multiple properties with ObjectAnimator, etc. Note that it
only makes sense if you're animating the values.
On Thu, May 24, 2012 at 10:22 AM, duadinam somethingcleve...@gmail.com wrote:
Hi Droids,
I'm a newbie
*
*
*Hello Guys,*
*
*
*I have developed an Android Application in version 2.2. Lately, I have
learnt AdMob for advertisement does not support version 2.2 for developing
an application's adds. **It supports all versions above 3.2. Now I have to
convert my application from 2.2 to 3.2 or 4.0.3.*
*
*
I have a LinkedQueue that stores the calls to anything from the GLES20
class. After loading it up I send a requestRender() call to
GLSurfaceView and in onDrawFrame() I process the queue and call the
actual GLES20 method.
Yet when I call GLES20.glLinkProgram() the function never returns. I
don't
On Thu, May 24, 2012 at 12:31 PM, Anirudh Loya loya.anir...@gmail.comwrote:
Lately, I have learnt AdMob for advertisement does not support version 2.2
for developing an application's adds.
What has given you that impression?
Because AdMob documentation says that !
Even In Android Manifesto files android:confgchanges, I can't
add screenSize|smallestScreenSize !
Check it out .
On Thu, May 24, 2012 at 1:43 PM, TreKing treking...@gmail.com wrote:
On Thu, May 24, 2012 at 12:31 PM, Anirudh Loya
On Thu, May 24, 2012 at 12:47 PM, Anirudh Loya loya.anir...@gmail.comwrote:
Because AdMob documentation says that !
Can you provide a direct link? I just have to question this as the vast
majority of devices are for 2.3.X, so it seem borderline retarded that
AdMob would cut support for all
Adds gets display in all versions above 1.5 !
That is not the issue. When I have developed application in 2.2 version, My
logcat shows
You must have AdActivity declared in AndroidManifest.xml with
configChanges.
Which I have already done.
Can you atleast assist me in changing from 2.2 to 4.0.3
Hi Romain,
Thanks for getting back to me...but I addressed my question to
Droids...and you make Droids...does that you make you some kind of
alien? :)
Here is the other implementation I am thinking of
-
Totally wrong.
You only need to set your build platform to 15, NOT the uses-sdk element
in your manifest.
The current AdMob (6.0.1) still support running on android down to andoird-3
My apps are compiling using platform version 15 with uses-sdk
android:minSdkVersion=4
You only need to set your build platform to 15, NOT the uses-sdk element
in your manifest.
How do i set Build platform to 15 ??
On Thu, May 24, 2012 at 2:27 PM, RichardC richard.crit...@googlemail.comwrote:
Totally wrong.
You only need to set your build platform to 15, NOT the uses-sdk
Have your tried a simple test case? I would suggest a skeleton program
with just 1 fragment and 1 vertex shader and link them into a program.
Are you calling glGetError and logging or aborting after every OpenGL ES
API call?
On Thursday, May 24, 2012 6:37:17 PM UTC+1, sebastian_bugiu wrote:
Well the simple case works. I check after each call and compiling
works.. creating the program works...everything return success. But
when linking it just remains in the native call, never to return.
I suspected that creating the shaders and program in one
requestRender() and then linking in the
This is the vertex shader. I think it's basic enough
uniform mat4 view_proj_matrix;
uniform vec4 view_position;
attribute vec4 vertex;
attribute vec3 normal;
varying vec3 vNormal;
varying vec3 vViewVec;
void main(void)
{
gl_Position = view_proj_matrix * vertex;
vNormal = normal;
ViewPropertyAnimator is optimized to perform animations. It's not
meant to be used to discreetly set properties.
On Thu, May 24, 2012 at 11:26 AM, David Ozersky
somethingcleve...@gmail.com wrote:
Hi Romain,
Thanks for getting back to me...but I addressed my question to
Droids...and you make
In Eclipse:
right click your project properties android [check] Android 4.0.3
[OK]
Then clean your project - from the Eclipse main menus:
Project Clean [check] your project
[OK]
On Thursday, May 24, 2012 6:31:28 PM UTC+1, Anirudh Loya wrote:
*
*
*Hello Guys,*
*
*
*I have
Thanks all ! It works now ..
On Thu, May 24, 2012 at 2:51 PM, RichardC richard.crit...@googlemail.comwrote:
In Eclipse:
right click your project properties android [check] Android 4.0.3
[OK]
Then clean your project - from the Eclipse main menus:
Project Clean [check] your project
There's something in the app that happens in the background
sporadically (daily to weekly). It's CPU intensive, but I don't want
it to slow down the device. Right now, I'm creating a thread with
MIN_PRIORITY, but it doesn't seem to help in anyway from the perceived
slowdown of the phone while
If setting the thread priority does not work, then I can only think of:
- break the job into small chunks and schedule an alarm for each chunk
- and possibly schedule the jobs for what you hope the phone's owner
is asleep
- put lots of sleep(s) in your code - every other line
Just a comment, I can't find android.permission.ACCESS_GPS list in the
docs:
http://developer.android.com/reference/android/Manifest.permission.html
On Thursday, May 24, 2012 5:27:00 PM UTC+1, m3n0R wrote:
Hi everybody!
I would like to know, why there is incompatibility problem with my
Can I launch an Android Application from a Linux service?
If so, do you have sample code 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 android-developers@googlegroups.com
To unsubscribe
I am thinking there is a problem with how the group/child CursorLoaders
are instantiated in onCreateLoader(). For the group CursorLoader i just
want all groups in my phone. The child cursorLoader should contain all
contacts within a group. Does anyone have any ideas what could be the
Do you know for a fact that SimpleCursorTreeAdapter or ExpandableListView
accepts null for the children list cursor? What will it expand in this
case?
Also, are you sure that this cursor/list can be filled in later, as your
code does, after the loader completes, asynchronously?
25.05.2012 2:42
Hi,
I'm trying to start a service from an activity using the intent
action specified in the Android Manifest.
As of now, i have to hard code the intent action while creating the
intent,
Intent serviceIntent = new Intent();
serviceIntent.setAction(com.android.blah);
This
Add
uses-permission android:name=android.permission.INTERNET /
in AndroidManifest.xml under manifest header, before the
application
/application pair.
See http://developer.android.com/reference/android/Manifest.permission.html
On May 23, 7:12 am, kypriakos demet...@ece.neu.edu wrote:
Hi
I want to return a BLOB as a row in a MatrixCursor, however I get the following
error
05-24 19:20:42.850: E/AndroidRuntime(22661):
java.lang.UnsupportedOperationException: getBlob is not supported
on top of this stack trace
05-24 19:20:42.850: E/AndroidRuntime(22661):at
I posted a message about finding the OMX interface from Android, after more
research,
I knew libomx_sharedlibrary.so exists in android 2.x.x, from V4.x.x, the
opencore was
dropped and it won't exist anymore, google provided OMXAL from ndk7, but
only
mediaplayer implemented, I tried to get
On Thu, May 24, 2012 at 7:27 PM, Ubuntu guy sam_...@yahoo.co.in wrote:
I'm trying to start a service from an activity using the intent action
specified in the Android Manifest.
That's not what that's for. The intent information in the manifest is for
the system to find components that match
Hello,
Spinner spIdentification1=(Spinner) findViewById(R.id.spinner1);
Cursor cursorIdentification= *this*.dbH1.getReadableDatabase().query(
MasterIdentifierType,*new* String[] { IdentifierTypeUid _id,
ExternalID,ObjectName, Description, ListOrder,CreatedDate,
CreatedByUid,
This behavior was on Android 4.0.2 .
On Android 4.0.4, even launching settings from notification bar dismisses
the keyguard, which seems logical.
Thanks,
--sarath
On Tue, May 22, 2012 at 4:36 PM, sarath sarath.vippar...@gmail.com wrote:
Hi All,
On ICS, when slide lock is set, and there is a
I have a situation where in I need to have 5 or more services running in
the same package.
Let's call it service A, B, C, D and E
Which is a better way of doing this? Better in terms of memory and CPU
usage (and hence battery usage and efficiency).
1. Have 1 main service running, apart from
Why?
On May 21, 10:07 am, Kristopher Micinski krismicin...@gmail.com
wrote:
On Mon, May 21, 2012 at 9:45 AM, Yan yinor...@gmail.com wrote:
An easier but less graceful way is just to System.exit(0) in the
onPause then start from scratch every time...
You absolutely *should not* be doing
61 matches
Mail list logo