Hi all,
Some of you might know I'm currently working my NubDial (http://forum.xda-developers.com/showthread.php?t=629032) during my free time. However, I've run into a bug that I'm quite lost at.
Basically, whenever I long-press the "Menu" button to get the virtual keyboard to display, it messes up my layout. When I press "Back" or long press "Menu" again to hide the virtual keyboard, my layout remains messed up until I exit the app. See attached files for what I'm saying.
My source code is available here: http://code.google.com/p/nubdial
Any help would be greatly appreciated, thank you!
Update:
Anyone knows how to launch Call log and Favourites using Intent?
The following:
Code:
public Intent getCallLogIntent() {
Intent i = new Intent();
i.setAction(Intent.ACTION_VIEW);
i.setData(android.provider.CallLog.CONTENT_URI);
return i;
}
Works but it launches Dialer instead of Call log -_-. Thanks!
Are you trying to have the android keyboard cover the dialpad or just trying to figure out how to keep the layout from staying messed up after you close the android keyboard?
Only looked for a minute and I'm sure you've tried a lot of things but as for the alignment if you look in finger-layout>main.xml, in the RelativeLayout tag, have you tried changing the android:gravity so that the child table is "prepositioned" if you know what I mean?
JoshHart: I would love to have the keyboard simply cover the layout (similar to default Dialer). Any tips? Thanks for the help!
I'll check out the prepositioned thing later, out now.
On a different note, anyone knows how to launch Call log or Favourites using intent? Thanks
Wysie said:
On a different note, anyone knows how to launch Call log or Favourites using intent? Thanks
Click to expand...
Click to collapse
This seems to work on my Nexus:
Code:
Intent i = new Intent(Intent.ACTION_VIEW);
i.setClassName("com.android.contacts", "com.android.contacts.DialtactsActivity");
i.setType("vnd.android.cursor.dir/calls");
//i.setFlags(Intent.FLAG_ACTIVITY_NEW_TASK);
this.startActivity(i);
Don't know for favorites though, a variation of type might do it, but neither "starred" nor "favorites" worked for me.
illojal: Thanks but I already did that and it worked ! Yeah Favourites is kinda weird.
Hello everyone. I have started to learn making android apps. I have just played wid buttons textviews editTexts layouts.
So now I have planned to make something usefull which can be used by other. I have think of to make app which can take attendance directly in our phone.
For that I need a 1st page just to display the welcome screen and author name etc. then I need a second page in which the actual content will be there I.e my attendance stuff with button etc.
So I have created a splash. xml in which there a custom background which I made in PS , a analog clock in middle of layout and a textView.
the text of textView is "press to continue" and I have set the property clickable to true so that if I press on that textView I want to transfer my control from splash.xml to main_activity.xml.
So my questions is
1. how to transfer control from one .xml to another .xml
2. how to add a list in layout which is scrollable
3. how to store abset and present list separately in sdcard and each time the user save the result it should keep all the record and should not erase the previously saved records
Dear Xda-Developers,
My friends and I are having a bit of fun with the app 'Happening' and i thought that it would be great to select images from your gallery instead of taking it.
So what I actually need to know if there is a way to fake the image_capture intent and replace it by a selected photo from the gallery.
I have tried using the xposed module 'Complete action plus' to add an custom action to the image_capture intent but without any luck.
Is there a way or an app that allows you to do so?
I am fully rooted with custom recovery and Xposed installed on kitkat.
I have a bit experience with Tasker so if there is a way to fake an intent with that I would love some help.
Yours,
Mikhail
I know that there are much tutorials and forum threads about this, but I couldn't find anything helpful for my case.
I'm customizing a ROM (AOSP 4.4.2) and need that some third party apps appear on the home screan each time I reset the device to default - just like phone app or stock browser.
So I'm not developing new apps where I could resolve it with permissions in the manifest and intent in the main activity - this are already compiled third party apps and as I need the possibility to update them through the market I can't do reverse ingeneering and editing them.
I would be thankful for any help.
Hello,
I hope this thread is placed right. If not feel free to move it.
I have a fairly simple idea:
All I want is to add a button to the Android 6 text selection menu that appears on several text fields like this:
developer.android.com/images/android-6.0/text-selection.gif
So far I managed to add my app to the "..." menu by adding text processing intents to my app manifest. But I also want to add a button to the "paste" menu as well so I can alternatively execute my own paste operation. Since I have never customized my Android OS I am not sure where to start. It would be perfect if there was a way to do that using official APIs so I could potentially put my final app into the playstore. Do you have any ideas how to approach this?
My system: OnePlus X, Android 6.0.1, CyanogenMod 13.0-20160819-nightly-onyx
Thank you for your help.
Greetings,
vrcomputing