While specification states that texture lookup are available for both
vertex shader and fragment shader not all GPU supports VTF (vertex texture
fetch), you can check if GPU supports VTF
by querying GL_MAX_VERTEX_TEXTURE_UNIT (which is allowed by GL ES
specification to be 0).
--
You received
Just a small correction, constant to check VTF support name is:
GL_MAX_VERTEX_TEXTURE_IMAGE_UNITS.
--
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
hi
i have 5 tabspecs with icon one of the icon clicking on it should need
to display with image.text, cursor can an one help me in this
with database or static can any one guide me.
i have used listactivity with simpledapater but i didnt get simple
normal list its displaying is there any way like
I don't know the cause, but I fix it by setOnTouchListener to run
spinner.performClick() to pop up the dialog.
like:
onTouch() {
if MotionEvent.UP {
performClick() ;
return true ;
}
return false;
}
--
You received this message because you are
i have used listactivity with simpledapater but i didnt get simple
normal list its displaying is there any way like that its iphonescreen
its should be like android also
u want to create list view (white color) like iphone ?
--
You received this message because you are subscribed to the
any color that listview should display one of the tab spec clicks on
it should go another scren
image ,text , like this i need can u guide me
On 10/26/11, Ratheesh Valamchuzhy android...@gmail.com wrote:
i have used listactivity with simpledapater but i didnt get simple
normal list its
The person that started the 'Android Debugger is DOG Slow'
http://groups.google.com/group/android-developers/browse_thread/thread/7356e22bdf8c9745/451ad2a638f91dde
thread mentioned that we was seeing this in game code. My code is not
gaming stuff but it is very heavy on floating point
On 26/10/2011 01:14, Doug wrote:
Emulator or device? The emulator is already slow, and it will only
get worse if you attach a debugger to it.
This is on real devices. I'm currently testing on an HTC Desire but this
happens on all our test devices; all of which are rather high end phones
and
TreKing
I should clarify, I have a button in XML, however java setContentView points
to another created java class. It is this class that is meant to be able to
create a canvas colored blue with an image of a cloud 'floating' across it,
(if understand the tutorial). This is the first time I
hi all,
this is my situation: i have a library project, and a project
referencing it. I know that is very simple to redefine any resource in
my project, because in cases where a resource ID is defined in both
the application and the library, the tools ensure that the resource
declared in the
I have a ViewPager widget in every row of a ListView. This provides a
shelf-like UI, so the user can scroll around searching for a shelf
vertically, and then scroll horizontally amongst the contents of a
shelf. This works.
But the scrolling experience is terrible: if I start to drag a shelf's
how to implement top of the back button already bottom tab i have 5tab
spec, how to implement the back button
can any one give me idea
--
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to
On Oct 26, 11:25 am, Zsombor scythe...@gmail.com wrote:
I have a ViewPager widget in every row of a ListView. This provides a
shelf-like UI, so the user can scroll around searching for a shelf
vertically, and then scroll horizontally amongst the contents of a
shelf. This works.
But the
I received an email yesterday informing me that my developer account
has been suspended.
Your Android Market Publisher account has been suspended due to
multiple suspension violations of our terms of service.
I wasn't told what exactly I'd done wrong or which application has
broken the rules.
Declare your activity as abstract class in library and create a new
activity in client apps using that library.
Declare a configuration class with static variables for your library.
Assign resource ids with your local R.ids. If required you can allow
yr client apps can configure required
Hi
I have a surface view and i am drawing some rectangles on surface view
with canvas.drawrect().. Further, I want to add marquee text on
rectangle. Please let me know how i can add marquee text on rectangle
programatically with canvas.
thanks
Chenna
--
You received this message because you
This is the information that I got from Android market support:
Thank you for your note. We're happy to help you, but we don't have
any information to share regarding this matter. If any such
information is published in the future, you'll find it in our Help
Center at
No one?
--
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,
I assume that detach() is called on the UI thread (when it does). If that's
the case, um, you need thread synchronization here.
--
Kostya Vasilyev
26.10.2011 2:53 пользователь Bluemercury joao.ro...@gmail.com написал:
So im using an AsyncTask but i'm getting random null exceptions for the
You'd have to contact the complaining 3rd parties first to resolve the
copyright/trademark-infringement issues. When these are resolved, you can
begin re-instating the apps or your account.
It isn't impossible, but it'll be an uphill battle...
--
You received this message because you are
You cannot just use a reference(be it explicit or implicit to an inner
class definition) to an Activity in the doInBackground of an AsyncTask (or
in any method that is executed on a background thread). You'll get the
problem you see right now.
First, i would suggest trying not to use an
Sorry, you'll not be able to get help here to get your app or account
re-instated.
At best we can be help you try to figure out *why *you got suspended. But
since we don't know anything about your app(s), that'll be difficult.
--
You received this message because you are subscribed to the
Thanks, Chenna, for your reply;
but I have some doubts more... Could you better explain me , with
sample code?
You say: Declare your activity as abstract class in library = ok,
in this way (right?)
**
public abstract class
As per my understanding you have two activities in your library. So
you want to provide your library for another apps to use it. You want
to set text resource from your client app to your library activity. If
you want only resource. Create a class Configurator and declare a
static variable
http://www.androidzoom.com/android_developer/simon-platten_fcwi.html
It's a pretty easy answer: you're charging for copyrighted material
you didn't create..
It makes sense that your account was suspended because you violated
copyright law, right?
Kris
On Wed, Oct 26, 2011 at 9:26 AM, Streets
Yep,
If that's indeed his set of apps, Sy's using images and artwork that are
copyrighted That's a big no-no, even if he wasn't charging for it.
Sy,
unless you can forge a deal with all these companies (Marvel, bunch of
photographers, etc) or unless you create your own artwork, your
In Android, is an SD card always mounted with option nodev?
--
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 have a Activity and from that activtiy I toggle(from a button) the
alarm called OneShotAlarm. When the alarm start,I play a .mp3 for
example,it is playing.
1. How to stop it in the activity side?
2. How can I have a button that stops the media from playing?
3. Is there a way to know that there
For some Android devices, Environment.getExternalStorageDirectory()
does not return the path of the SD card. In fact, there is no API
support that will enumerate SD card mount points.
If you want to see what is mounted, you are left to parsing the
contents of /proc/mounts.
See
On Wed, Oct 26, 2011 at 9:22 AM, Streets Of Boston
flyingdutc...@gmail.com wrote:
First, i would suggest trying not to use an Activity reference in your
doInBackground at all. Maybe you can just use a Context
(activity.getApplicationContext()) instead.
Or, get the data you need out of the
Thank you a lot, also i have an answer from arm mali
--
The specification says that some number of texture units are available
to vertex shaders. There is a query to get the number of vertex shader
Ok, thanks Chenna, for your help ..
maybe i didn't make my self very clear, I'm very sorry...
Setting the text resource from my client app to library was just an
example.. I was actually trying to modify the Activity library
behavior, overwriting it on the client app that is using the library
Ok I got it.
Make your SecondActivity as abstract class in yr library and create a
clientSecondActivity class and extend SecondActivity
OverRide onCreate() method and add required views.
thanks
Chenna
On Oct 26, 7:47 pm, Francesco nolano...@gmail.com wrote:
Ok, thanks Chenna, for your help
On Oct 25, 7:19 pm, HamdiHamZ hamdi.zr...@gmail.com wrote:
Hi Dianne and thank you for your reply,
Sorry, I can't get your point, do you mean that we can't use C++
at all with the NDK? So why we can see cpp classes in the android
sources? is it only to build libs and after that libs
yes the detach is called on the activity thread in the
onReatainNonConfigurationInstance method...:
*@Override*
* public Object onRetainNonConfigurationInstance() {*
* if(task!=null)*
* task.detach();*
*
*
* return(task);*
* }*
And here's the method that attachs the activity back to the
I made some programs, but I saw that only few people rate them on the
market. What's the best method to help the user rate my programs? I
thought that I will add a plus button, which will redirect the user to
the market's site to my application. Is this the best, or is there
anything more better /
I am very happy to remove any offending applications from the market. I
believed 'wrongly' that the images I was using were not copyrighted.
On Wed, Oct 26, 2011 at 3:07 PM, Streets Of Boston
flyingdutc...@gmail.comwrote:
Yep,
If that's indeed his set of apps, Sy's using images and artwork
HI friends,
I just got the code of wheel demo(customized date picker ) from
http://code.google.com/p/android-wheel/source/checkout but the problem is i
am not able to get the selected values.How to get it.
Please reply.
Thanks:)
--
Regards,
Vani Reddy
--
You received this message because you
Well the thing is, this Asynctask is binded to a parent activity, that the
subactivities use when they want to do some background work. They each
implement the method you see in the code i've posted, the *
activity.doBackGroundRequest(); *
I've actually had errors even after the line
Also wouldnt using the activity.getApplicationContext() result in the same
problem??? if activity is null i would stil lget the null exception???
regards,
--
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to
activity#getApplicationContext returns the Application context, which
is a reference to this class,
http://developer.android.com/reference/android/app/Application.html,
and is available for the livetime of your application.
On Oct 26, 11:40 am, Bluemercury joao.ro...@gmail.com wrote:
Also
I don't have any battled tested apps using it at the moment, but I have
been testing it on some internal applications for a company.
The whole process was fairly simple and seems to be reliable so far. Again,
I'm in the testing phase so I'm not sending a large amount of requests a
day. It
yes, but how can i get the method from the activity that contains the logic
to do in the background from the context, is this possible? im getting null
exception for the activity after verifying if the activity is not null:
if(activity!=null){
return
On Wed, Oct 26, 2011 at 1:19 AM, HamdiHamZ hamdi.zr...@gmail.com wrote:
Hi Dianne and thank you for your reply,
Sorry, I can't get your point, do you mean that we can't use C++
at all with the NDK? So why we can see cpp classes in the android
sources? is it only to build libs and after
Can someone help me out please ...
I have tried everything but am unable to run the thread in the code posted
at this question...
Thanks
On Mon, Oct 24, 2011 at 1:48 AM, naman namankoh...@gmail.com wrote:
Hello all,
I am trying to build an app for android and am having issues with HTTP
Regardless of which way you choose to go, configChanges or not, you'll want
to cache any response you receive via HTTP. There are a lot of ways to
cache these items. You could use static variables, save them temporarily
to files on the internal or external (SD Card), add them to a database,
This happens during orientation changes, correct?
What you have is two threads accessing and modifying the same variable
at the same time.
Take some time to learn about multithreaded programming in Java:
concurrent access and modification of a variable is one of the things
that fall under
The way you cache and access that cache can change depending on how you
display the items.
If you have that many images, you may want to make thumbnails of them and
display those first. This would speed up load times. You could load and
hold onto the reference to the full image as the user
I feel like this is a case where they're fairly obviously copyrighted,
and since so many of your apps are in violation, I think you'd be
better off just opening a new account..
Kris
On Wed, Oct 26, 2011 at 11:23 AM, Simon Platten
simonaplat...@googlemail.com wrote:
I am very happy to remove
On Wed, Oct 26, 2011 at 11:31 AM, Bluemercury joao.ro...@gmail.com wrote:
Well the thing is, this Asynctask is binded to a parent activity, that the
subactivities use when they want to do some background work. They each
implement the method you see in the code i've posted,
the
Couple of things here...
1. You are calling run() on the thread, not the one you have defined in
your activity.
2. You don't want to call run() on the thread, you want to call start().
3. You either need to create a Runnable to post to the thread or you need
to extend Thread and insert your own
I'd like to get pixel access to the Bitmap to be able to transmit
graphics over the wire. It seems this could be possible via the
Canvas Bitmap. But since ViewRoot is final I'm not sure where I can
intercept this information in the drawing process. Is there an
appropriate spot in the rendering
Hi,
I posted the topic on stackoverflow 6 days earlier. But I did not get
any response there. Can anyone suggest me where can I get the answer?
Its really important for me now.
Thanks
Mamun
On Oct 20, 11:01 am, Mamun mamu...@gmail.com wrote:
Thank you very much. I posted it in stackoverflow.
How so? each activity launches its own async task with its own specific
logicwhen you rotate you just detach the current activity from the
async task, the activity gets destroyed, a new one is created and attached
to the SAME async task
--
You received this message because you are
Noob question: Can I tell the app to run/transition to a different
java file (from countdown.java to birthday.java) and then have the
next file transition back to the first java file to restart the
countdown?
That doesn't really make sense - a java file is not something you run or
thank you guys ... this works :-) .
DisplayMetrics metrics = new DisplayMetrics();
float _density = metrics.density;
((RelativeLayout)
(app.main_gui.get(RoulleteGlobals.WHEEL_1_3_IDX))).setVisibility(VISIBLE);
((RelativeLayout)
Does anyone know what this alert actually means in the market console?
Is this saying that NEW apps published aren't showing up? Or that ANY
published update will not be visible? Or worse, that ANY published
update might cause the entire app to disappear from the market?
I have an update to
I'm surprised Mark hasn't posted this yet. This may be of help to you,
AsyncTask and Screen Rotation
http://commonsware.com/blog/2010/09/10/asynctask-screen-rotation.html.
On Oct 26, 1:18 pm, Bluemercury joao.ro...@gmail.com wrote:
How so? each activity launches its own async task with its own
This is a good lesson to every developer. Examine closely every single
image and source of data you're currently using in any of your apps. If you
don't have clear permission to use that source, you'll eventually and
rightfully have your apps pulled and your account closed.
Copyright laws have
When I saw the update notes for r14 regarding library projects, I was
ecstatic. It's a dream come true to be able to export a library
project as a JAR file! From the latest release notes, it looks like
things are coming along, however it appears that resources are still
not bundled in the new Jar
Does anybody have good links to tutorials about Augmented Reality on
Android? I tried with Google and ended up with mostly Stackoverflow
questions leading nowhere and one good tutorial by Chris Haseman on devx.
Anybody knows about any others?
Thanks
--
Raghav Sood
The best method is to make your programs more awesome.
--
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
Scratch all that - my whiteboard tells me I'm going about this all
wrong. **NEW QUESTION**:
Here's what I think the code should look like:
...
Time TimerSet = new Time();
TimerSet.set(0, 0, 0, 8, 0, year); // set the date to Jan 8,
(declared year), 12am (a family birthday)
I'm a small publisher that would like to distribute my books via the
Android market... I've searched and searched and can't find out how to
do this.
How do I publish book on the Android eBook store?
If this is the wrong place to ask, my sincerest apologies...
Skipper
--
You received this
Hello all,
I'm doing some calculations on sensor data where I need to use the
timestamp of the sample. See some sample code
here: http://pastebin.com/2X4LzLdC
The problem is, a lot of the time (actually, most of the time), the
timestamp doesn't get updated in the SensorEvent, so the time
I would like the Android tablet, especially with OS honeycomb or ICE
CREAM Sandwith had the support to connect to the internet via WiFi or
Ad-Hoc Bluetooth PAN.
Because many of these tablets do not have the WiFi concção, nor in any
lulgar that there will a WiFi network available.
There are
I am not a developer, but have translated Eyes-free Shell strings.xml into
Dutch and don't know where to send it for it to be included in a future update
of the app. Is there anyone on this list who could give me the address? Thanks
so much.
Tony
--
You received this message because you are
How to remove a context instance from the createPackageContext
method ?
I used below createPackageContext.
context = _context.createPackageContext(package,
Context.CONTEXT_INCLUDE_CODE | Context.CONTEXT_IGNORE_SECURITY);
klass = Class.forName(classpath, true, context.getClassLoader());
instance
Does anyone know if the phone's state changes when Airplane mode is
on? Because if it does, my onServiceStateChanged function isn't
getting triggered. I'm a little confused because here is what Logcat
says when I enter Airplane mode...
10-26 09:44:06.080: ERROR/SML(4691): [PHONESTATUS]
hi frnd, can you send material for android or any e-books... i am very new
to android...
On Wed, Oct 26, 2011 at 7:15 PM, Kristopher Micinski krismicin...@gmail.com
wrote:
http://www.androidzoom.com/android_developer/simon-platten_fcwi.html
It's a pretty easy answer: you're charging for
Hello,
I am porting android to HDK7108 board which is a sh4 architecture CPU.
I have alsa driver/alsa-lib/alsa-utils/alsa_asound compiled into the
system, and when system start up:
If I don't run stop media, alsa_aplay will report device busy.
I stop media, then alsa_aplay works.
then if I
hello sir\madam
am student i want vidio tutorials to learn
developing android applications
i request you plz... send links..
thank you
--
You received this message because you are subscribed to the Google
Groups Android Developers
I'm wondering if there is a way, in code, to trigger the recent task
switcher not just by long pressing home?
--
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
any official upgrades available soon?
--
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
HI all. If i hide and show application i see to my log how activity
restart, (onCreate ... blablabla) . Thereby many function work not
correct. Why activity restart ? How to do hide\show without restart ?
--
You received this message because you are subscribed to the Google
Groups Android
Hi guys,
I need some help about speech recognition on Android.
I would to know if it is a native solution to create and set a grammar
for ASR, or if there are other solutions (api javascript for example)
to achieve this goal.
Best Regards
Nadia C.
--
You received this message because you are
hi am using samsung galaxy pop 2.2 froyo...i need to stop the
automatic update of market
the new version takes more time to load and mobile hangs while laoding
There is no option to stop the updates
Now when ever i use market am uninstalling the updates and then using
pls tel me how to
can anyone help me locate a source code that do something simular to
this. I learn easiest by doing and testing and this is my 2nd day
codeing.
Looking for an app (source code) that do some basic things 1. initial
screen with some text and small picture, click picture to get to next
page 2. the
Happy Diwali Raju...
On Wed, Oct 26, 2011 at 9:43 AM, RAJU V kathiriraj...@gmail.com wrote:
*Wish you Happy Diwali*
~~RAJU~~
~~www.itdoall.co.cc~~
--
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group,
I tried lockNow before and was working in HTC Sense as its locks the
screen straight away and if there is a device password setted
before(pin/password or Pattern) it asks for the same but dont know why
its not working now.Its perfectly working in the emulator.
--
You received this message
I want to do a number of things. I have a Samsung Galaxy 10.1 Tablet
1) I want to make an image and save it on my local machine
2) I want to run that image under virtual box or an emulator (with
Internet connectivity as if I were actually using the device)
3) I want to be able to install the
Hi,
I'm facing a problem with my app running on android 2.2 device. On startup
the log shows: ERROR/PackageManager(5041): Package com.abc.abcd requires
unavailable shared library com.google.android.maps; failing!
I observed that there's no com.google.android.maps.jar at device file system
I have not been successful locating a doc telling me how to publish an
app requiring mp3 files on sd card...
My app needs to publish with 7-8 mp3 files. How do I do this?
--
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group,
On Wed, Oct 26, 2011 at 10:33 AM, newbee12 johan.hjor...@gmail.com wrote:
can anyone help me locate a source code that do something simular to
this. I learn easiest by doing and testing and this is my 2nd day
codeing.
Looking for an app (source code) that do some basic things 1. initial
Maybe try:
http://books.google.com/support/bin/answer.py?answer=185615ctx=tspromo
On Tue, Oct 25, 2011 at 2:09 PM, NwSkipper ad...@bytes4theheart.com wrote:
I'm a small publisher that would like to distribute my books via the
Android market... I've searched and searched and can't find out how
Hey Skyler, thanks for the link. so i need to get rid of activity reference
on the doInBackground...i assume its possible to use the activity reference
in the preExecute and post
--
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post
I would like to change the density configuration so that I can force a
certain size. Specifically I want all 720p screens including xhigh-
density phones AND large medium-density tablets to use the same
bitmap, and to have the same text size relative to the screen
resolution. The result will be
Yes, you can safely use activity references in onPreExecute and
onPostExecute, because those are run on your application's main
thread, the same thread that all framework components run on. So by
referencing your activity in onPreExecute and onPostExecute you wont
need to contend with with any
Hi,
I have a problem using opengl on android to draw a simple rectangle.
This is what I have done.
I drew a simple rectangle with sketchup. I exported the result using
a 3d-model collada .dae file. I then copied the vertices data from
the .dae (xml) file and put in an array. I copied the
Hi again skyler, thanks for the reply, yes the code im using in the
doInBackground deals with the logic i want to do in the background that
each activity has, in this case the method doBackgroundRequest is the
method every activity uses if it wants to use an async task...but it seems
this
This got me thinking about my own app and how Google verifies these things.
Depending on the material, it can be very easy for them to know if the
material is copyrighted and if the developer in question have a license to
use it. In my case, I don't think it's that easy.
I'm developing an app
On Wed, Oct 26, 2011 at 07:10:21AM -0700, aravindak wrote:
hi am using samsung galaxy pop 2.2 froyo...i need to stop the
automatic update of market
I assume you mean the market app itself. As far as I know, the only
way you can prevent that, is to take your device off of WiFi AND
3G/4G
On Wed, Oct 26, 2011 at 08:14:52AM -0700, ricardo garcia wrote:
I would like the Android tablet, especially with OS honeycomb or ICE
CREAM Sandwith had the support to connect to the internet via WiFi or
Ad-Hoc Bluetooth PAN.
Because many of these tablets do not have the WiFi
I've never heard
Your point is a true one, but everyone I've seen so far, when I
*actually* investigated the matter, had a bunch of wallpaper apps they
were charging some small amount for, and not much else. (As in, I
haven't seen somebody who had a complicated application with a minor
infringement, it's pretty
What is the easiest way to specify which activity to launch when an
Android app has multiple activities?
--
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
Ok, I get your point
Thanks for your help
On Oct 26, 5:56 pm, David Turner di...@android.com wrote:
On Wed, Oct 26, 2011 at 1:19 AM, HamdiHamZ hamdi.zr...@gmail.com wrote:
Hi Dianne and thank you for your reply,
Sorry, I can't get your point, do you mean that we can't use C++
at all
You could pack the MP3's in the APK and then copy them from the APK to the
SD card. They will still be in the APK, but you will have them on the SD
card also.
You can also publish the APK without them then check for them when you run,
and if they aren't there, download them from a server.
Is
I believe that the answer is that they do not do any verification.
What happens is that the original author of the copyrighted content
complains to them, then as part of the process of determining who is
right, they suspend your account.
This is all codified in the DMCA, which unfortunately
How exactly do you recycle the list view items correctly? This is...
crazy.
On Wed, Oct 26, 2011 at 2:25 AM, Zsombor scythe...@gmail.com wrote:
I have a ViewPager widget in every row of a ListView. This provides a
shelf-like UI, so the user can scroll around searching for a shelf
In every Activity of the app that I am creating, the bottom 1/4 of the
screen is clipped, nothing will display in that region.
Could there be a simple explanation for why that might happen?
Yes, my parent layouts are set to fill_parent.
--
You received this message because you are subscribed
1 - 100 of 116 matches
Mail list logo