I'd like to use Python for develop an app in Android using ASE. My problem is I'm thinking about adding a UI to it but don't know how.
Where can I find some documentation or help?
I'm creating a custom Layout for android.
The layout implementation is exactly the same, but once I need to extend from RelativeLayout, and once from LinearLayout.
class Layout1 extends LinearLayout {
// methods and fields
}
class Layout2 extends RelativeLayout {
// the same EXACT methods and fields
}
How can I use inheritance to avoid DRY and implement my methods once.
Hello, I am trying to run the sms app and I need two instances of emulator on same machine. Eclipse is up and running however, the android-sdk-windowstoolsemulator.exe does not run at all. can anyone help me on this , it is urgent. asap. Thanks in advance.
I understand most Android devices have a 16mb limit (24mb on Nexus One) on the Java heap size. Is there any way a single app can use more memory than that? I know the native SDK doesn't have this limitation but I'd like to stick with Java.
Looking to do iphone, android, and possibly windows phone development on a Mac Pro. What are the pluses and minuses of using a Mac Pro and a dual boot. Unlike most, Windows 7 will be the primary OS since most supporting software will be done with Visual Studio 08/10 over the next year. I have found driver issues from a few years ago. Do any of these issues still exist?
I am having a problem in accessing Locale string in android. The requirement is:-
I have one string in english(values/string.xml) as well as in korean(values-ko/string.xml). Now i want to show my string in both languages in a single activity.
I don't want to change phone Locale or call Locale.setDefault("ko")
I am trying to call following line but it is not working for me.
getString(R.string.mystring, Locale.KOREAN); (My default language is English)
Please help
Hi, i made news applicaion in android using RSS feed and now i want to share some news ie i want to upload links from my app to facebook, twitter etc.Is it possible?
Thanks
Is there way to dump the current screen to a bitmap in Android?
And what about dump screen of other applications? For example, running a service background, the foreground app could send an intent to start the service, and capture the current screen and save as a bitmap.
Hi there, I'm a new in Android and Java and I have the following problem. I want to change standard resources, such as button background, programatically to allow applications using standard buttons be displayed with custom background. My problem is - how shall I identify the path for retrieval resources on phone or emulator? And if we have permissions to access to those resources?
Anyone have idea of parsing the ical calendar file with ical4j API for android app using eclipse as development environment.
I have added ical4j API, to my project, but getting some errors related to API.
In an android application a user can upload a picture to a Tomcat server v6 in (Projet\WebContent\images)
A second user can come at the same time display the picture thing not work it shows me: The requested resource is not available.
I did what? I have to reboot the server? refresh?
in a PHP page I upload pictures and then they are simply viewed by the user, for cons there I find difficulty with JEE
Hi Im new to android.
Currently I have a View which has a AsyncTask class used for decoding.
But eventhough AsyncTask.cancel() is not called within my class, onCancelled() has been called which resulted to some abnormal process in my application.
I would like to ask if what are any instances that AsyncTask.onCancelled() will be called
besides when calling the AsyncTask.cancel()
Any help would be appreciated.
Thanks alot in advance
i am using following
example of date picker
http://developer.android.com/guide/tutorials/views/hello-datepicker.html
now i want to perform some functionality on clicking date picker cancel button but dont see cancel event inside datepickerdialog
can any one guide me how to achieve this.
any help would be appreciated.
hi there,
i just wanted to know if there is some kind of a class to use the multitouch features of android 2.1, or do i always have to measure the distance between to touch-events and calculate the zoom-level on my own??
Thanks,
chris
I am new in android development. I am not getting call onActivityResult method.
@Override
protected void onActivityResult(int requestCode, int resultCode, Intent data) {
System.out.println("================================");
if(resultCode==RESULT_OK) {
Toast.makeText(TaskListActivity.this, "Pass", Toast.LENGTH_LONG).show();
} else{
Toast.makeText(TaskListActivity.this, "Fail", Toast.LENGTH_LONG).show();
}
}
I have a song and its lyrics. The song can be played using MusicPlayer class. But how do I show the lyrics of the song and also highlight them in sync with the audio. Words appear and fade with the playback.
Does Android have anything in-built for such a thing?
How can this be achieved?
Thanks.
hello all,
i have a aplication on the android market , in wich exceptions and errors are catched and sent to me by acra.
But i receive quite a lot out of memory errors..
In different kind of classes...some my app, some general java..
Does this always mean there is a problem in my app, or can it also be the phone ran out of memory due to a other process?
Will users also get a fc dialog ?
thnks
I am doing an app android to login and upload photo to twitter.
I used twitter4j to login and reference some tutorial..I extract that consumer key and consumer secret key are filled correct.But I encountered an error"401: Authentication credential...".Have a solution to fix it is sync time my server with time twitter server..But I don't understand what sync time here and how to extractly..
Can you help me.
Since both iPhone and Android support OpenGL ES, is there any open source or commercial GUI library we can use for these two platforms? Or is it doable (or how difficult) to port an application from one to another platform?
As I know, for iPhone only, libNUI (http://www.libnui.net) is a good choice (dynamic layout & mature), but it only provides GPL & commercial license. Any other open source tool similar with libNUI?
Hello World!
Is their any way to apply a style resource to customize the Item Border in the Gallery Class with Android?
I'm trying to hide or change the color of the default Grey border but by the looks of things this isn't possible?
Any help or tips you can provide would be fantastic.
Appreciated,
Tom
Hi,
I have an activity which launches another activity, via a button click. By default, on newer OS versions of android, the OS will animate the new activity sliding in from right to left.
Is there a way to disable this animation? I just want the new activity to appear without any sort of animation.
Thanks
In the Android open-source qemu code I ran across this line of code:
machine->max_cpus = machine->max_cpus ?: 1; /* Default to UP */
It this just a confusing way of saying:
if (machine->max_cpus) {
; //do nothing
} else {
machine->max_cpus = 1;
}
If so, wouldn't it be clearer as:
if (machine->max_cpus == 0) machine->max_cpus = 1;
Interestingly, this compiles and works fine with gcc, but doesn't compile on http://www.comeaucomputing.com/tryitout/ .
Have any well-documented or open source projects targeted iPhone, Blackberry, and Android? Are there other platforms which are better-suited to such an endeavor? Note that I am particularly asking about client-side software, not web apps, though any information about the difficulties of using web apps across multiple mobile platforms is also interesting.
I am developing one android app in two different languages. When user click on "Change language" button it ask to choose language from two different languages option and change keyboard according to that language.
For example : User choose "Arabic" language then keyboard input language should automatically change from English to Arabic.
Please help me to resolve this issue. It's urgent for me.
Thanks in advance.
hi i am new to android programming, can someone please tell me how to get access to the files in a directory , i am using Environment.getExternalStorageDirectory() method?