Hello,
I am using FBConnect in my game to post score on facebook wall. Now login interface has changed , whenever I click on login button the connectToSession method is not executing because it didn't get " auth_token " from url query. Just two days before it was executing properly and delegate method sessionDidLogin also getting exe...
how can we get E-mail receiving notification in android
...
After I either receive a phone call or make one, (and other undocumented interruptions) my application gets a NullPointerException when resuming my activity. Can any explain to me where it is and/or how to fix it?
I have written the code as shown below:
@Override
public void onCreate(Bundle savedInstanceState) {
super.onCr...
hi,everyone ,i have a peoblem here ,when i install a apk the system wiil show a install Dialog ,one is "open",the other one is "done",how can i set the "open" button unusable
and when user click "done",it will show the activity that i want to show?thanks!
...
Hey guys,
Does anyone know how to run the emulator within eclipse without using ADT. All I want to do is run the emulator with -partition-size option of the emulator and you cant do this by default. Im sure there might be a tricky way of doing this but googling doesn't give me any clues. does any one know ?
I also thought about runnin...
I am releasing two versions of an app--free and paid. The differences between the two are few, and I would like to release both using the same codebase (maybe a different constant defined for the other build?). Has anyone done this? Can someone point me in the right direction? Thanks!
...
i create a user-defined toast,and i want to get the xml of layout from the layout package,but if i used the code below,there comes a problem:InflateException,i had used many ways to get the layout but fail.the code is below,thanks
public class ImageTextToast
extends Toast {
private Context context;
private String text;
...
What is difference between the native services (surface flinger, audio flinger) and native daemons (rild)? Normally native service is connected thru IPC and native daemon is connected thru socket. Both are running at native space and provide a specific service then why called by difference name?
...
hai now i am create list view and i want to display name, size,data in the list view now i am stored in my video in this path= /data/Video Thumbnails... i run the program emulator display the empty black screen only....what mistake i made for my coding please help me....reply please....
this is for my coding
ViewVideo.java
package vide...
I tried to resize an image inside a textview (using HTML layout and the image callback), but I could not get the correct width of the view. getWidth() always returns 0 for this view. I am calling the function inside onStart() in the application that contains the TextView.
Thanks for any hints!
RG
...
Hi I’m working on a help section for my application I plan to store the contents within a .txt file. I’m having some trouble when it comes to extracting the text and using set the text of a TextView. Does anyone have any ideas? Why is the text in the .txt document not being added to the text view.
I’m fairly new to this so sorry if it’s ...
Hi.
I have a layout that contains several sub-views all which set height like:
<View android:layout_width="fill_parent"
android:layout_height="18dip"
android:background="#ff000000" />
How can I retrieve the value stored in layout_height in code?
Ultimately, what I would like to do is being able to adjust the size defined in ...
Hi I am using the sqlite in my app.when i am geting the values form db i am getting below error .Please tell me when this type of errors are coming and suggest me for this one.
10-30 15:06:07.584: ERROR/Database(817): Leak found
10-30 15:06:07.584: ERROR/Database(817): java.lang.IllegalStateException: /data/data/com.fitzsoftware.grocess...
Hi,
I am trying to store drawables in a static SoftReferenceMap for a ListView containing progress-bars in every row. Every row has a different progress, but when I set it through setProgress(int) all rows get affected.
I tried doing mDrawable.mutate().setLevel(progress*10000/max), but it still doesn't work.
public void setProgres(int...
Hi!
I have Downloaded an example "MJAndorid" from the O'reilly.
But after importing the project into workspace, m getting the below error log:
Failed to load properties file for project 'MJAndroid'
I am not able to apply the build target, Google API version 3 , in this case.
Also on clicking on android in the properties window of proj...
Hi, I'm trying to find some simple way of queueing tasks on a thread that is NOT the UI-thread.
I have a BroadcastReceiver that responds to Intents each time an image is taken, and notifies my Service each time that happens. The Service will have to do some processing (scaling and rotating an image) and I would like to do this on a new ...
I would like to do something like this.
If the user presses "Pictures" than i can choose either to pick a picture from "Picture folder" or take a new picture,
How can I do this and how can I use the cam?
I have problems useing the cam, Does the cam work in the simulator?
...
Hi,
I am using video view for playing video in android but volume of the video is very low, can I enhance the volume in the code?
Thanks,
Rv
...
I released a free app on Android Market called Pubtran London (it's a London journey planner), what are the best ways to promote it? I mean besides posting about it here ;-).
Users who want the functionality my app provides probably already use some other app, that is possibly worse than my app. How can I make them switch?
...
I have a screen where the user has many items to input so screen space is at a premium.
I want the look of the widget on the screen (before the user presses it) to be similar to an EditText or the left portion of the Spinner widget (without the normal down triangle) on the right side of the Spinner. Then when the user presses the wi...