Friday, July 19, 2013

[General] Handcent SMS and other recipients of a message


Handcent SMS and other recipients of a message



Does anyone know how to see the *other* recipients of a group text message I receive in Handcent? Example: I receive a text in Handcent to my Note 2 phone. I can see the text message, and above that (in the message's header) it shows the first two recipients, then ",....." indicating there are MORE people who have received the message. Is there any way I can see a complete list of the recipients?



Read more

forum.xda-developers.com



[General] Google Play Store is not working


Google Play Store is not working



Hello!

I'm new to this forum. I have recently received a Daxian XY100S and can't make Google Play Store to work. When it opens, it closes in a second. I can't sign in to Chrome and YouTube. I rooted it and I removed all the Chinese apps and it is still not working. Download Manager has been always enabled.

What else can I do to make it work?

There have been installed an alternative chinese store app, I thought it were conflicting with Play Store but I uninstalled it and it is still not good.

Do you have any idea?

Greetings from Hungary



Read more

forum.xda-developers.com



[General] Internet cannot be switched on automatically/manually after back from abroad/roaming


Internet cannot be switched on automatically/manually after back from abroad/roaming



Hello all,

I have a very simple, but specific problem. However I believe that it may also puzzle other users:

I have switched off roaming internet (both on the phone and by the provider), since I'm travelling a lot between Austria (my home country) and Germany. That works fine. I helped me to avoid spending a fortune on data roaming.

However my phone does not reconnect to the internet after coming back to my home country. I have not found any resolution besides to restart the phone to get a data connection again. Phone connections work as expected.

This problem get's more and more annoying, because there are more and more interesting internet services for driving, e.g. looking for the cheapest gas station via internet.

I have googled a lot, but did neither find a specific description not a solution for this problem.
I have the feeling that the problem is rooting in a bug in Android.

My Phone Details:

Phone: Samsung Note
Android Version: 4.1.2 (but the problem existed already in 4.0.x and in the original delivered OS 3.x)
Telecom Provider: Telering (Austria)
Data Roaming disabled both on Phone and in the user settings by the provider

I experienced the problem mainly by traveling to Germany, but I believe the problem also exists coming back from Italy and other country.

Has anybody experienced the same problem?

Is there a better solution than restarting the phone?

Thank you for your kind help

Wallenstein



Read more

forum.xda-developers.com



[General] Had to Wipe Device: Question


Had to Wipe Device: Question



Open Google Play, tap the menu button, select Settings, then make sure "Auto-add widgets" is checked. It's a bit of a misnomer--"widgets" should be "shortcuts."

Sent from my DROID RAZR using AC Forums mobile app



Read more

forum.xda-developers.com



[android help] AsyncTask with a ProgressDialog and Progress Bar


AsyncTask with a ProgressDialog and Progress Bar



I am attempting to use AsyncTask to load a file of determinate length. My AsyncTask looks something like this:



protected void onPreExecute() {
dialog = ProgressDialog.show(MyActivity.this, null, "Loading", false);
}


protected void onProgressUpdate(Integer... values) {
if (values.length == 2) {
dialog.setProgress(values[0]);
dialog.setMax(values[1]);
}
}


in my doInBackground() implementation I call publishProgress(bytesSoFar, maxBytes); inside my loading loop and in the onPostExecute() I call dialog.dismiss().


However, I can't get the ProgressDialog to show anything but an indeterminate spinner. I want to see a horizontal progress bar that shows the progress as the loading happens. I've debugged and can see that onProgressUpdate() gets called with sane values and that the dialog's methods are getting called.



Read more

stackoverflow.comm



[android help] Youtube Player API doesn't work in android phonegap


Youtube Player API doesn't work in android phonegap



In normal html file, I use below code and it's working great.



var youtube;
var params = { allowScriptAccess: "always" };
var atts = { id: "youtube" };
swfobject.embedSWF("http://www.youtube.com/apiplayer?enablejsapi=1&version=3",
"ytpC", "1", "1", "8", "expressInstall.swf", null, params, atts);

.
.

youtube.loadVideoById(link);


But when I moved this html into android phonegap environment, then it gives 'cannot call loadVideoById method of undefined!'


What is the exact problem? What can I do to get success?



Read more

stackoverflow.comm



[android help] E-mail attachment through intent using `mailto:` scheme


E-mail attachment through intent using `mailto:` scheme



This seems to be fixed in API 17 (Jelly Bean 2), at least on my Galaxy Nexus and Nexus 4.


Specifically:



Intent intent = new Intent(Intent.ACTION_SENDTO, Uri.fromParts("mailto", "email@me.com", null));
intent.putExtra(android.content.Intent.EXTRA_STREAM, Uri.fromFile(attachmentFile));
startActivity(Intent.createChooser(intent, "Send email..."));


This does NOT work in Froyo or Gingerbread. I'm not sure at what point it started working.


Maybe someone else has some details for other API levels?


I would suggest for pre-API17 using ACTION_SEND, otherwise ACTION_SENDTO.



Read more

stackoverflow.comm



[android help] I have followed google map tutorial but keep on getting this answer:Installation error: INSTALL_FAILED_MISSING_SHARED_LIBRARY


I have followed google map tutorial but keep on getting this answer:Installation error: INSTALL_FAILED_MISSING_SHARED_LIBRARY



Ive been following a tutorial regarding google maps, a pretty basic tutorial here http://umut.tekguc.info/en/content/google-android-map-v2-step-step ,I am unable to run the application on the emulator, iv donwloaded and installed the vend.apk and the gms.apk files as well as also have downloaded the google play services from the SDK manager. After doing all this when i finally run my application on the emulator the following error occurrs : "Installation error: INSTALL_FAILED_MISSING_SHARED_LIBRARY".


I also have tried and change the AVD but it does'nt work. I think i am unable to configure the APIs properly with the AVD. Any help would be appreciated, thank you all. Here is my code: MainActivity.java:



package com.example.googlemapsandroidv2;

import android.os.Bundle;
import android.app.Activity;
import android.view.Menu;

import com.google.android.gms.maps.GoogleMap;
import com.google.android.gms.maps.MapFragment;
import com.google.android.gms.maps.model.LatLng;
import com.google.android.gms.maps.model.Marker;
import com.google.android.gms.maps.model.MarkerOptions;

public class MainActivity extends Activity {

private GoogleMap mMap;

@Override
protected void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
setContentView(R.layout.activity_main);
mMap=((MapFragment) getFragmentManager().findFragmentById(R.id.map)).getMap();
mMap.setMapType(GoogleMap.MAP_TYPE_SATELLITE);
final LatLng CIU=new LatLng(35.21843892856462, 33.41662287712097);
Marker ciu=mMap.addMarker(new MarkerOptions().position(CIU).title("My Office"));
}

@Override
public boolean onCreateOptionsMenu(Menu menu) {
// Inflate the menu; this adds items to the action bar if it is present.
getMenuInflater().inflate(R.menu.main, menu);
return true;
}

}


Here is the Manifest:




package="com.example.googlemapsandroidv2"
android:versionCode="1"
android:versionName="1.0" >

android:minSdkVersion="14"
android:targetSdkVersion="17" />

android:name="com.example.googlemapsandroidv2.permission.MAPS_RECEIVE"
android:protectionLevel="signature">


android:name="com.example.googlemapsandroidv2.permission.MAPS_RECEIVE"/>
android:name="com.google.android.providers.gsf.permission.READ_GSERVICES"/>
android:name="android.permission.INTERNET"/>
android:name="android.permission.WRITE_EXTERNAL_STORAGE"/>
android:name="android.permission.ACCESS_COARSE_LOCATION"/>
android:name="android.permission.ACCESS_FINE_LOCATION"/>
android:glEsVersion="0x00020000"
android:required="true"/>


android:allowBackup="true"
android:icon="@drawable/ic_launcher"
android:label="@string/app_name"
android:theme="@style/AppTheme" >
android:name="com.google.android.maps.v2.API_KEY"
android:value="AIzaSyCLhVm6faqwv8gaj1aWZ_Xvlsf4sMal42U"/>
android:name="com.google.android.maps" />
android:name="com.example.googlemapsandroidv2.MainActivity"
android:label="@string/app_name" >











Here is the detail regarding the AVD: Targert:Android 4.0(API level 14) CPU/ABI:ARM(armeabi-v7a)


Here is the console output:


[2013-07-18 14:27:31 - GoogleMapsAndroidV2] Android Launch! [2013-07-18 14:27:31 - GoogleMapsAndroidV2] adb is running normally. [2013-07-18 14:27:31 - GoogleMapsAndroidV2] Performing com.example.googlemapsandroidv2.MainActivity activity launch [2013-07-18 14:27:31 - GoogleMapsAndroidV2] Automatic Target Mode: launching new emulator with compatible AVD 'MapTestAvd' [2013-07-18 14:27:31 - GoogleMapsAndroidV2] Launching a new emulator with Virtual Device 'MapTestAvd' [2013-07-18 14:27:33 - GoogleMapsAndroidV2] New emulator found: emulator-5554 [2013-07-18 14:27:33 - GoogleMapsAndroidV2] Waiting for HOME ('android.process.acore') to be launched... [2013-07-18 14:28:29 - GoogleMapsAndroidV2] HOME is up on device 'emulator-5554' [2013-07-18 14:28:29 - GoogleMapsAndroidV2] Uploading GoogleMapsAndroidV2.apk onto device 'emulator-5554' [2013-07-18 14:28:40 - GoogleMapsAndroidV2] Installing GoogleMapsAndroidV2.apk... [2013-07-18 14:29:26 - GoogleMapsAndroidV2] Installation error: INSTALL_FAILED_MISSING_SHARED_LIBRARY [2013-07-18 14:29:26 - GoogleMapsAndroidV2] Please check logcat output for more details. [2013-07-18 14:29:26 - GoogleMapsAndroidV2] Launch canceled! [2013-07-18 14:34:40 - SDK Manager] Warning: Ignoring add-on 'addon-google_apis-google-14': File not found: manifest.ini [2013-07-18 14:37:09 - SDK Manager] Warning: Ignoring add-on 'addon-google_apis-google-14': File not found: manifest.ini [2013-07-18 14:54:40 - SDK Manager] Warning: Ignoring add-on 'addon-google_apis-google-14': File not found: manifest.ini


THANK YOU ALL FOR YOUR TIME. I really appreciate all sorts of help.



Read more

stackoverflow.comm



[android help] Positioning elements drawn on a canvas


Positioning elements drawn on a canvas



I am working on an application which uses canvas. The user should be allowed to draw something on the canvas and then be able to move it. For example, if a user draws an arrow to point at something, he should then be able to move it to point at something else.



Read more

stackoverflow.comm



[android help] Custom onInterceptTouchEvent in ListView


Custom onInterceptTouchEvent in ListView


android - Custom onInterceptTouchEvent in ListView - Stack Overflow







Tell me more ×

Stack Overflow is a question and answer site for professional and enthusiast programmers. It's 100% free, no registration required.

















How can I implement a custom onInterceptTouchEvent() in a ListView that give the scrolling priority to the child's of the ListView and as soon as they did their scrolling , give it back to the ListView ? I want to give priority to the inner views.


























Try overriding onInterceptTouchEvent() of your children like this:



@Override
public boolean onInterceptTouchEvent(MotionEvent ev) {
if(!isAtTop || !isAtBottom){
getParent().requestDisallowInterceptTouchEvent(true);
}
return super.onInterceptTouchEvent(ev);
}


In onInterceptTouchEvent() calculate if the ListView has scrolled totally to the top or bottom. If it is somewhere in between then ask the parent to not intercept touches.























default






Read more

stackoverflow.comm



[General] SUPER annoying problem on my droid razr m


SUPER annoying problem on my droid razr m



The voicemail notification in my notification bar will not go away. Whenever I try to listen to the voicemail, it says the google subscribe you are trying to reach is not available. I signed up for Google voice but I forgot about it. Please help me with this problem it is really annoying!

Posted via Android Central App



Read more

forum.xda-developers.com



[General] rss feed


rss feed



I have an app that uses rss feed to stream otr's. The problem is the app is kinda glitchey and does not show you the feed or allow you to download it. is there a way that I can use a program to find the feed that it uses. I have tried to find the show on line but no luck. thanks



Read more

forum.xda-developers.com



[General] Looking for some help with a new Camera App


Looking for some help with a new Camera App



Hi all, I've written a camera App that can be configured to access custom settings and features in the camera hardware.
It's designed for use by Photography enthusiasts to get the most they can from the android cameras. No post processing options like borders or filtering after the photo is taken. There a plenty of apps etc to do that sort of thing. This just attempts to allow the user as much control of the camera hardware as possible.

The problem is I can't get access to all the different hardware types out there to see what each device actually has in this area.

If anyone can help me out here that would be greatly appreciated. The app is for Android 4.0 and up.

What you would need to do it download the evaluation version from .
Have a quick look at the on how to add "Custom Group Parameters" and "Custom Range Parameters". (There are in App help pages as well if you need them)
Have a play and see what extra options you can get working on your device.

Thanks is advance to everyone who can give me a hand on this one.

There are three options for additional settings that may be found.


  • Extras for the standard options such as more Scene settings

  • Custom Value/Group based parameters similar to the Focus and Flash etc (One value selected from a list of available options)

  • Custom Range based parameters similar to the Exposure settings (a number setting within a valid range)

As an example the following are the additional options for one device that has a few accessible extras.

------------------------------
HTC Sensation Z710a
------------------------------
Additional Standard Parameters Scene - backlight,flowers
------------------------------
Custom Value/Group Parameters

auto-exposure
auto-exposure-values=frame-average,center-weighted,spot-metering

iso
iso-values=auto,ISO_HJR,ISO100,ISO200,ISO400,ISO800,ISO1600
------------------------------
Custom Range Parameters

contrast
contrast-def=5
contrast-max=10
contrast-min=0

saturation
saturation-def=5
saturation-max=10
saturation-min=1

sharpness
sharpness-def=10
sharpness-max=30
sharpness-min=0


Read more

forum.xda-developers.com



[General] Nexus 7 tablet messed up beyond all belief. In urgent need of assistance!


Nexus 7 tablet messed up beyond all belief. In urgent need of assistance!



Hey Android Central, I desperately need your help. My 6 month old Nexus 7 went to hell in the past 5 days, it started force-closing apps on me, lagging, and finally it started to mess itself up so bad that all I could do was turn it off... Here's where it gets really weird: It won't turn off. I held down the power button, as any sensible person would when their device is acting up, and it just went black, then brings up the colored X. At first I thought that maybe this was an issue caused by my use of a strange app, maybe it was one of the deluge of apps that I'd downloaded with my $25 dollar gift card or some of the free ones I'd gotten that day. I managed to get the tablet back up and running after 25 minutes of BS by holding down the power button and the volume down button. After that I cleared my cache and deleted almost all of the apps I'd downloaded on Sunday night. From that point I took it slow, went on Chrome, checked out some info, read some of Name of the Wind, and then powered off and hit the hay after plugging it in. The next morning it worked like a dream: fast, fluidly, like always. After a few hours of use it began to slow down, then it got weird again, force-closing any app I tried to bring up, and finally getting down to the reset of doom. Once again it became a pitched battle between me, and my tablet. I tried so desperately to get it working... and I did! For now.

The rest of the day passed no issues, until the next morning (this time the battery was at 93 percent, so that pretty much rules out any battery issues that have inflicted this curse upon my tablet and me) it did this same thing twice, messing me over big time. After that I was getting really angry, but that whole, the WHOLE DAY, after that, it worked fine. When finally the next day rolled over I found the issues in my face first thing in the morning. It seemed as though, through all my valiant efforts, I had lost the fight... The X screen appeared, taunting me, it's full battery obviously doing nothing to help... Then it bricked. Black screen and nothing worked. This persisted through part of the day, but eventually was sorted out, and today, after it completely screwing me and giving me issues even getting into safe mode I began to gear up. I equipped myself with every ounce of knowledge I could have: I would perform this exorcism if it was the last thing I ever did with this tablet.

After reading and watching dozens of articles and videos I felt I was ready. From the official Asus and Google pages to the DIY guides of Youtube and Gizmodo, it was time to do this. The Hard Reboot. My hands were shaking as I hooked the USB up to my laptop and began to hold down upon the up, down, and power buttons of the Nexus 7 tablet, ready to win this infernal war as the damnable X laughed at me. I felt as though I had won the first stage, the flayed Android alien laying on the table, ready to be operated on. I made my way to the Recovery Mode and chose to reset it, to clear the all of the data and start over, I had to.

This should have worked... By all measures of Human logic this should have worked. At the main menu, the "Welcome, please select your settings" page, it happened again. I just couldn't shake it "Unfortunately: Setup Wizard has stopped," "Unfortunately: Settings has stopped" I can't even connect it to WiFi now, or sign in with my google account, and once again the colorful X sits across the table from me... Laughing.

Please, Androidcental, I've tried everything. Please read my ridiculously long synopsis of what happened, and PLEASE give me aid.
Thank you SO much, in advance.
~ Hunter D AKA NarcoticDragoon

Oh, EDIT: And thanks to my father who managed to get it running at least five of the times its done this, and his advice of troubleshooting.



Read more

forum.xda-developers.com



[General] samsung galaxy s4 frequency


samsung galaxy s4 frequency



Heya Kelly,
Your model of the S4 does support 1700mhz. You probably need to have the phone "sim unlocked" you'll have to call the carrier the phone was originally sold on and ask for the unlock code and instructions. Alternatively, you can pay some websites around $15us to do the same thing. Good luck!

Sent from my HTC One using AC Forums mobile app



Read more

forum.xda-developers.com



[General] Whether the device admin applications updated itself?


Whether the device admin applications updated itself?



I have a device admin application which published in PlayStore.
When we release new version of this application, whether it is easily upgraded, like any other applications?



Read more

forum.xda-developers.com



[android help] Want to post Json data via Android


Want to post Json data via Android



How to post JSON type of data from android to server via HTTP???


TerminalNumber=17707570&Data={"RequestUniqueID":"125","MethodName":"CsrGenerateSessionID"}



Read more

stackoverflow.comm



[android help] method getfragmentmanager() is undefined


method getfragmentmanager() is undefined



I am making a view pager to make a slide show for images. I took code from Android developers, but I was facing some issues, fragment was not recognized, I think it was because my android was 2.33. So to solve that I imported a jar file android.support.v4.jar My issues were resolved but now I am getting this error that getfragmentmanager() is undefined and another issue "The method invalidateOptionsMenu() is undefined for the type new ViewPager.SimpleOnPageChangeListener(){}"


Here is my code, can any one please help ?? My platform is 2.3.3 and api level is 10 and in manifest I have this



android:minSdkVersion="8"
android:targetSdkVersion="15" />


Code :



package com.example.profilemanagment;

import android.support.v4.app.Fragment;
import android.support.v4.app.*;
import android.content.Intent;
import android.os.Bundle;

import android.support.v4.app.FragmentActivity;
import android.support.v4.app.NavUtils;
import android.support.v4.view.PagerAdapter;
import android.support.v4.view.ViewPager;
import android.view.Menu;
import android.view.MenuItem;



public class ScreenSlideActivity extends FragmentActivity {
/**
* The number of pages (wizard steps) to show in this demo.
*/
private static final int NUM_PAGES = 5;

/**
* The pager widget, which handles animation and allows swiping horizontally to access previous
* and next wizard steps.
*/
private ViewPager mPager;

/**
* The pager adapter, which provides the pages to the view pager widget.
*/
private PagerAdapter mPagerAdapter;

@Override
protected void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
setContentView(R.layout.activity_screen_slide);

// Instantiate a ViewPager and a PagerAdapter.
mPager = (ViewPager) findViewById(R.id.pager);
mPagerAdapter = new ScreenSlidePagerAdapter(getFragmentManager());
mPager.setAdapter(mPagerAdapter);
mPager.setOnPageChangeListener(new ViewPager.SimpleOnPageChangeListener() {
@Override
public void onPageSelected(int position) {
// When changing pages, reset the action bar actions since they are dependent
// on which page is currently active. An alternative approach is to have each
// fragment expose actions itself (rather than the activity exposing actions),
// but for simplicity, the activity provides the actions in this sample.
invalidateOptionsMenu();
}
});
}




/**
* A simple pager adapter that represents 5 {@link ScreenSlidePageFragment} objects, in
* sequence.
*/
private class ScreenSlidePagerAdapter extends FragmentStatePagerAdapter {
public ScreenSlidePagerAdapter(FragmentManager fm) {
super(fm);
}

@Override
public Fragment getItem(int position) {
return ScreenSlidePageFragment.create(position);
}

@Override
public int getCount() {
return NUM_PAGES;
}
}
}


Read more

stackoverflow.comm



[android help] Actionbar tabs + multiple pane view in android


Actionbar tabs + multiple pane view in android


Actionbar tabs + multiple pane view in android - Stack Overflow







Tell me more ×

Stack Overflow is a question and answer site for professional and enthusiast programmers. It's 100% free, no registration required.

















I want to develop android application like Design



I Googled it.I couldn't find out proper solution to this. Please anyone help me. Without page view, i can able to do mutiple pane option.



Please anybody guide me .


Thanks in advance.


























I think you will be needing ViewPager for the two tabs. Then you'll use SlidingMenu for the Stories Category. Inside each created Menu, put a listview with a Customized Array Adapter. You can consider, using fragments also for flexibility of your UI design in small and large screens. I can't provide the codes but these links have all the necessary things you needs specially starting with fragments.


Download the Sample code here:


Effective Navigation -this should help you with your tabs with Pager effect


SlidingMenu Library: Library


Fragments























default






Read more

stackoverflow.comm



[android help] How to make a consistent splash screen in android hybrid app?


How to make a consistent splash screen in android hybrid app?


How to make a consistent splash screen in android hybrid app? - Stack Overflow







Tell me more ×

Stack Overflow is a question and answer site for professional and enthusiast programmers. It's 100% free, no registration required.

















I've splash screen in my application which appears to be working fine. Once the html is loaded the splash screen goes off. Since the html page takes time to load it showed a blank screen. To cope up with the splash screen, I again added the same image into my html and display it to the user till the page is completely loaded. Everything is working fine, except that there is a flickering when the view-port shifts from splash to html image. The problem is when the splash screen is displayed the image seems to be zoomed in and when the html displays the splash it is zoomed out(shows full size). How to maintain a consistency among the splash screen and the image in html?
















Know someone who can answer? Share a link to this question via email, Google+, Twitter, or Facebook.










default






Read more

stackoverflow.comm



[android help] android screen goes black if I open cocos 2d project after getting out of an activity


android screen goes black if I open cocos 2d project after getting out of an activity



My android screen goes black if I open cocos 2d project after getting out of an activity



public static CCScene scene()
{

CCScene scene = CCScene.node();
CCLayer layer = new TemplateLayer();

scene.addChild(layer);

return scene;
}


this is my template layer


In this teplate I am adding several sprites and initializing update selector



protected TemplateLayer(ccColor4B color)
{

super(color);

sensorManager = (SensorManager) CCDirector.sharedDirector()
.getActivity().getSystemService(Context.SENSOR_SERVICE);

if (sensorManager != null)
{
orientation = sensorManager.getDefaultSensor(Sensor.TYPE_ORIENTATION);
}
else
{
orientation = null;
}

this.setIsTouchEnabled(true);

game = new GameActivity();

ball = CCSprite.sprite("rect.png");

x= winSize.width/8;
y= winSize.height/8;


ball.setAnchorPoint(CGPoint.ccp(0, 0));
ball.setPosition(CGPoint.ccp((float)x, (float)y));
addChild(ball);

killerchild = CCSprite.sprite("logo.png");
killerchild.setAnchorPoint(CGPoint.ccp(0, 0));

killerchild.setPosition(CGPoint.ccp(winSize.width/2-killerchild.getContentSize().width/2, winSize.height-killerchild.getContentSize().height));
addChild(killerchild);

boat = CCSprite.sprite("boat.png");
boat.setAnchorPoint(CGPoint.ccp(0, 0));

boat.setPosition(CGPoint.ccp(winSize.width/2-boat.getContentSize().width/2,-boat.getContentSize().height/4));
addChild(boat);


pirates = CCSprite.sprite("Pirates.png");
pirates.setAnchorPoint(CGPoint.ccp(0, 0));

pirates.setPosition(CGPoint.ccp(winSize.width/2-pirates.getContentSize().width/2,winSize.height/2-pirates.getContentSize().height/2));
addChild(pirates,-1);

this.schedule("update");


// this.schedule("moveboat", 0f);



}


Read more

stackoverflow.comm



Google Voice on T-Mobile? [General]

Google Voice on T-Mobile? So I recently switched from a GNex on Verizon to a Moto X DE on T-Mobile. I had always used Google Voice for my v...